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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
834d7d80737561e04b4fc7112c3661611e80b59c | 199 | py | Python | setup.py | UbuhingaVizion/ihela-pyhton-client | a5f808a0c138ef407416f0d8548e1ddf8957a12a | [
"MIT"
] | 2 | 2020-12-10T13:20:37.000Z | 2021-11-15T02:44:16.000Z | setup.py | UbuhingaVizion/ihela-pyhton-client | a5f808a0c138ef407416f0d8548e1ddf8957a12a | [
"MIT"
] | 3 | 2020-09-19T20:05:23.000Z | 2021-06-02T00:46:53.000Z | setup.py | UbuhingaVizion/ihela-pyhton-client | a5f808a0c138ef407416f0d8548e1ddf8957a12a | [
"MIT"
] | 4 | 2020-09-09T16:40:10.000Z | 2021-08-03T09:48:34.000Z | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup
setup(setup_cfg=True)
| 16.583333 | 39 | 0.748744 | 27 | 199 | 5.37037 | 0.555556 | 0.193103 | 0.275862 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190955 | 199 | 11 | 40 | 18.090909 | 0.900621 | 0.100503 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
55d197f76f27cf4fd77bdcdad5363a4e10ec53a4 | 59,235 | py | Python | welleng/errors/tool_errors.py | mkamyab/welleng | 0ab73440e5ac3ad9a67d880658f9cdde33c0e0e7 | [
"Apache-2.0"
] | 50 | 2020-12-02T13:53:24.000Z | 2022-03-30T15:17:47.000Z | welleng/errors/tool_errors.py | mkamyab/welleng | 0ab73440e5ac3ad9a67d880658f9cdde33c0e0e7 | [
"Apache-2.0"
] | 27 | 2020-11-27T13:43:47.000Z | 2022-02-18T01:54:02.000Z | welleng/errors/tool_errors.py | mkamyab/welleng | 0ab73440e5ac3ad9a67d880658f9cdde33c0e0e7 | [
"Apache-2.0"
] | 20 | 2020-12-03T18:59:02.000Z | 2022-02-16T13:20:55.000Z | import numpy as np
from numpy import sin, cos, tan, pi, sqrt
from numpy.core.defchararray import index
import yaml
import os
from collections import OrderedDict
# import imp
# import welleng.error
from ..utils import NEV_to_HLA
# since this is running on different OS flavors
PATH = os.path.dirname(__file__)
TOOL_INDE... | 29.237414 | 94 | 0.526074 | 7,624 | 59,235 | 3.910677 | 0.047613 | 0.169344 | 0.044676 | 0.06272 | 0.840047 | 0.830756 | 0.819587 | 0.810599 | 0.801643 | 0.797149 | 0 | 0.033181 | 0.325872 | 59,235 | 2,025 | 95 | 29.251852 | 0.713463 | 0.04212 | 0 | 0.656881 | 0 | 0 | 0.044935 | 0.003054 | 0 | 0 | 0 | 0.000494 | 0.001223 | 1 | 0.04159 | false | 0 | 0.004281 | 0 | 0.093578 | 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 |
55ddad3ef2d8bd73c07b4436b88d53cd4aca1f2e | 37,737 | py | Python | instances/passenger_demand/pas-20210421-2109-int12e/45.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int12e/45.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int12e/45.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 2757
passenger_arriving = (
(3, 9, 6, 2, 3, 0, 9, 5, 3, 3, 1, 0), # 0
(2, 11, 10, 1, 1, 0, 2, 4, 2, 2, 0, 0), # 1
(1, 10, 5, 3, 2, 0, 5, 12, 6, 3, 1, 0), # 2
(5, 8, 7, 2, 1, 0, 6, 7, 5, 5, 1, 0), # 3
(3, 5, 5, 3, 2, 0, 9, 8, 4, 0, 1, 0), # 4
(1, 9, 11, 4, 1, 0, 7, 7, 6, ... | 112.647761 | 213 | 0.728012 | 5,147 | 37,737 | 5.335535 | 0.221877 | 0.314617 | 0.249071 | 0.471925 | 0.332532 | 0.330639 | 0.329692 | 0.329692 | 0.329692 | 0.329692 | 0 | 0.818198 | 0.119617 | 37,737 | 334 | 214 | 112.98503 | 0.008398 | 0.032091 | 0 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.015823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
364586a9386eababb789e1d7acc8b1a28ee598c8 | 1,992 | py | Python | template.py | vipul43/algorithms | 86b74b5e618f98ee6b6a20cb7c5b9513453c3a49 | [
"MIT"
] | null | null | null | template.py | vipul43/algorithms | 86b74b5e618f98ee6b6a20cb7c5b9513453c3a49 | [
"MIT"
] | null | null | null | template.py | vipul43/algorithms | 86b74b5e618f98ee6b6a20cb7c5b9513453c3a49 | [
"MIT"
] | null | null | null | ##HEADING: [PROBLEM NAME]
#PROBLEM STATEMENT:
"""
[PROBLEM STATEMENT LINE1]
[PROBLEM STATEMENT LINE1]
[PROBLEM STATEMENT LINE1]
"""
#SOLUTION-1: ([METHOD DESCRIPTION LIKE BRUTE_FORCE, DP_ALGORITHM, GREEDY_ALGORITHM, ITERATIVE_ALGORITHM, RECURSIVE_ALGORITHM]) --> [TIME COMPLEXITY LIKE O(n), O(log2(n)), O(n... | 30.646154 | 218 | 0.649598 | 288 | 1,992 | 4.423611 | 0.180556 | 0.056515 | 0.042386 | 0.037677 | 0.766091 | 0.766091 | 0.716641 | 0.716641 | 0.716641 | 0.716641 | 0 | 0.031138 | 0.161647 | 1,992 | 65 | 219 | 30.646154 | 0.731737 | 0.657631 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
366227bc61d1a89a3e2394e39765a398ae255034 | 215 | py | Python | views/systemview.py | KDerec/chesstournamentmanager | 2b57d2703d654e4ffc3c44293a031bd596463ba0 | [
"MIT"
] | null | null | null | views/systemview.py | KDerec/chesstournamentmanager | 2b57d2703d654e4ffc3c44293a031bd596463ba0 | [
"MIT"
] | null | null | null | views/systemview.py | KDerec/chesstournamentmanager | 2b57d2703d654e4ffc3c44293a031bd596463ba0 | [
"MIT"
] | null | null | null | """Display system message."""
def display_exit_message():
"""Display exit message and return a user choice."""
print("Tapez la lettre \"q\" pour confirmez l'arrêt de l'application : ")
return input()
| 23.888889 | 77 | 0.669767 | 29 | 215 | 4.896552 | 0.758621 | 0.15493 | 0.253521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190698 | 215 | 8 | 78 | 26.875 | 0.816092 | 0.325581 | 0 | 0 | 0 | 0 | 0.447761 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0 | 0.666667 | 0.333333 | 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 |
369dfa16b7a73fcaadbd3384df0b610ba1be1446 | 685 | py | Python | main.py | pythonyhd/pratt_project | 5babd7769bc3bb8f7facb32076c6147746fab947 | [
"Apache-2.0"
] | 2 | 2019-11-11T11:35:19.000Z | 2019-11-22T08:29:05.000Z | main.py | pythonyhd/pratt_project | 5babd7769bc3bb8f7facb32076c6147746fab947 | [
"Apache-2.0"
] | null | null | null | main.py | pythonyhd/pratt_project | 5babd7769bc3bb8f7facb32076c6147746fab947 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# @Time : 2019/11/11 11:47
# @Author : Yasaka.Yu
# @File : main.py
from scrapy import cmdline
# cmdline.execute('scrapy crawl wxapp'.split()) # 不下载列表页图片
# cmdline.execute('scrapy crawl wxapp_with_img'.split()) # 下载列表页图片
# cmdline.execute('scrapy crawl wxapp_signal'.split()) # 测试偏移量
#... | 45.666667 | 81 | 0.724088 | 84 | 685 | 5.821429 | 0.488095 | 0.229039 | 0.327198 | 0.408998 | 0.374233 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021667 | 0.124088 | 685 | 15 | 82 | 45.666667 | 0.793333 | 0.842336 | 0 | 0 | 0 | 0 | 0.213483 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
36ca690cdebc0d40814075b2c7086c5353c4f4ea | 196 | py | Python | job/admin.py | HuwangWenjing/online-expirement-project | fcddbead974c79b0077e02a33ddb36c674627a1b | [
"MIT"
] | null | null | null | job/admin.py | HuwangWenjing/online-expirement-project | fcddbead974c79b0077e02a33ddb36c674627a1b | [
"MIT"
] | null | null | null | job/admin.py | HuwangWenjing/online-expirement-project | fcddbead974c79b0077e02a33ddb36c674627a1b | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import sign, teacher, student, course
admin.site.register(sign)
admin.site.register(teacher)
admin.site.register(student)
admin.site.register(course) | 28 | 50 | 0.816327 | 28 | 196 | 5.714286 | 0.428571 | 0.225 | 0.425 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076531 | 196 | 7 | 51 | 28 | 0.883978 | 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 |
36ccdccada8922d1f390d11a0d01196312e75c70 | 338 | py | Python | quickscms/routines/template/scripts/official/rcf.py | GabeCordo/python_node_tor | 8d06dda51d8472c84fb1f9a8d00128bc376d59ca | [
"MIT"
] | 1 | 2021-01-19T02:41:54.000Z | 2021-01-19T02:41:54.000Z | quickscms/routines/template/scripts/official/rcf.py | GabeCordo/python_node_tor | 8d06dda51d8472c84fb1f9a8d00128bc376d59ca | [
"MIT"
] | 3 | 2021-05-21T00:20:55.000Z | 2021-05-21T13:52:21.000Z | common/collection/template/scripts/official/rcf.py | GabeCordo/py-acyclic-network | eaef31e819fdc527927b0f10854ec6ac2bf30d26 | [
"MIT"
] | 1 | 2021-01-14T02:44:45.000Z | 2021-01-14T02:44:45.000Z | ###############################
# python imports
###############################
from sys import path
###############################
# python imports
###############################
path.append('../custom/')
import custom #import all the custom scripts here
###############################
# rcf
#############... | 21.125 | 49 | 0.304734 | 20 | 338 | 5.15 | 0.65 | 0.252427 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106509 | 338 | 16 | 50 | 21.125 | 0.34106 | 0.213018 | 0 | 0 | 0 | 0 | 0.133333 | 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 | 0 | 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 |
36d6f22f67d7f006dffa292ba46691552258f7bc | 260 | py | Python | npipes/triggers/uri.py | praxik/nPipes | 4edf8fa0d0467e3455941c46e960fdf3f43e2d31 | [
"Apache-2.0"
] | null | null | null | npipes/triggers/uri.py | praxik/nPipes | 4edf8fa0d0467e3455941c46e960fdf3f43e2d31 | [
"Apache-2.0"
] | null | null | null | npipes/triggers/uri.py | praxik/nPipes | 4edf8fa0d0467e3455941c46e960fdf3f43e2d31 | [
"Apache-2.0"
] | null | null | null | # -*- mode: python;-*-
from ..message.header import Message
from ..outcome import Outcome, Success, Failure
def sendMessageGet(uri, message:Message) -> Outcome[str, None]:
pass
def sendMessagePost(uri, message:Message) -> Outcome[str, None]:
pass
| 20 | 64 | 0.703846 | 31 | 260 | 5.903226 | 0.516129 | 0.10929 | 0.185792 | 0.262295 | 0.382514 | 0.382514 | 0.382514 | 0 | 0 | 0 | 0 | 0 | 0.157692 | 260 | 12 | 65 | 21.666667 | 0.835616 | 0.076923 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
3d47d8e580f35d8c00c882ea0de6e744941e33e1 | 88 | py | Python | src/utils/__init__.py | taonguyen740/flask_based_3tier_framework | f02e492eff0206e661925dddcf0ba978ead38b5e | [
"MIT"
] | null | null | null | src/utils/__init__.py | taonguyen740/flask_based_3tier_framework | f02e492eff0206e661925dddcf0ba978ead38b5e | [
"MIT"
] | null | null | null | src/utils/__init__.py | taonguyen740/flask_based_3tier_framework | f02e492eff0206e661925dddcf0ba978ead38b5e | [
"MIT"
] | null | null | null | from .decorator_all_methods import decorate_all_methods
from .exec_time import exec_time | 44 | 55 | 0.897727 | 14 | 88 | 5.214286 | 0.571429 | 0.273973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079545 | 88 | 2 | 56 | 44 | 0.901235 | 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 |
3d5fa2101502e7de9ca80bf5be6d3888e879841a | 9,869 | py | Python | notebooks/mnist/parse.py | formigone/machine-learning-research | df33eb2ddc9442abc169dc5cc7bc2a8e09712ea4 | [
"MIT"
] | null | null | null | notebooks/mnist/parse.py | formigone/machine-learning-research | df33eb2ddc9442abc169dc5cc7bc2a8e09712ea4 | [
"MIT"
] | null | null | null | notebooks/mnist/parse.py | formigone/machine-learning-research | df33eb2ddc9442abc169dc5cc7bc2a8e09712ea4 | [
"MIT"
] | null | null | null | import numpy as np
import matplotlib.pyplot as plt
from PIL import Image
import sys
if len(sys.argv) < 2:
print('Usage: %s <file-to-classify>' % sys.argv[0])
file = sys.argv[1]
print('Parsing file %s' % file)
img = Image.open(file)
img = img.resize((28, 28))
img = np.array(img) * 255
# print(img.shape)
# print(i... | 68.062069 | 89 | 0.205695 | 988 | 9,869 | 2.054656 | 0.110324 | 0.657143 | 0.95468 | 1.231527 | 0.527094 | 0.47734 | 0.47734 | 0.44532 | 0.44532 | 0.44532 | 0 | 0.465872 | 0.625899 | 9,869 | 144 | 90 | 68.534722 | 0.083965 | 0.005472 | 0 | 0.639098 | 0 | 0 | 0.004383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.030075 | 0 | 0.030075 | 0.022556 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
18710972a72793fd618de5a5c9d69bf04c134f38 | 142 | py | Python | tests/test_ratpy.py | dimatura/ratpy | 70e14eec331bf3126821904d7e90b93d1d79a196 | [
"MIT"
] | 2 | 2019-06-19T15:15:32.000Z | 2021-12-22T21:33:58.000Z | tests/test_ratpy.py | dimatura/ratpy | 70e14eec331bf3126821904d7e90b93d1d79a196 | [
"MIT"
] | null | null | null | tests/test_ratpy.py | dimatura/ratpy | 70e14eec331bf3126821904d7e90b93d1d79a196 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Tests for `ratpy` package."""
import pytest
from ratpy import ratpy
from ratpy import cli
| 14.2 | 32 | 0.669014 | 21 | 142 | 4.52381 | 0.714286 | 0.189474 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008475 | 0.169014 | 142 | 9 | 33 | 15.777778 | 0.79661 | 0.485915 | 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 |
a10caf6baec75c9705f34dd01a128c617feca32a | 16,948 | py | Python | extra/slothclasses/db_commands.py | costaluu/sloth-bot | 48727aff5859ec96c48691a638b3b8c0a90c70f9 | [
"MIT"
] | null | null | null | extra/slothclasses/db_commands.py | costaluu/sloth-bot | 48727aff5859ec96c48691a638b3b8c0a90c70f9 | [
"MIT"
] | null | null | null | extra/slothclasses/db_commands.py | costaluu/sloth-bot | 48727aff5859ec96c48691a638b3b8c0a90c70f9 | [
"MIT"
] | null | null | null | import discord
from discord.ext import commands
from mysqldb import the_database
class SlothClassDatabaseCommands(commands.Cog):
""" A class for organizing the bot's table creation/drop/delete/check commands. """
# ======== SlothSkills =========
@commands.command(hidden=True)
@commands.has_permissions... | 40.448687 | 165 | 0.634765 | 1,962 | 16,948 | 5.33945 | 0.076453 | 0.069492 | 0.041237 | 0.050115 | 0.844311 | 0.819588 | 0.762314 | 0.733772 | 0.725181 | 0.71659 | 0 | 0.004368 | 0.256962 | 16,948 | 419 | 166 | 40.448687 | 0.827523 | 0.017052 | 0 | 0.558824 | 0 | 0.003268 | 0.357384 | 0.002855 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.009804 | 0 | 0.111111 | 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 |
a15f6c0da2e1b17bde96258a612a766266e306d9 | 7,900 | py | Python | testing/modules/sparsegpregression_test.py | jnkm/MXFusion | cfe90d22b8359dbbdac23714c06fda150eb8851e | [
"Apache-2.0"
] | null | null | null | testing/modules/sparsegpregression_test.py | jnkm/MXFusion | cfe90d22b8359dbbdac23714c06fda150eb8851e | [
"Apache-2.0"
] | null | null | null | testing/modules/sparsegpregression_test.py | jnkm/MXFusion | cfe90d22b8359dbbdac23714c06fda150eb8851e | [
"Apache-2.0"
] | null | null | null | import pytest
import mxnet as mx
import numpy as np
from mxfusion.models import Model
from mxfusion.modules.gp_modules import SparseGPRegression
from mxfusion.components.distributions.gp.kernels import RBF
from mxfusion.components import Variable
from mxfusion.inference import Inference, MAP, ModulePredictionAlgorithm,... | 46.470588 | 154 | 0.661899 | 1,169 | 7,900 | 4.326775 | 0.112062 | 0.069197 | 0.040925 | 0.012653 | 0.813167 | 0.788454 | 0.788454 | 0.788454 | 0.776987 | 0.752471 | 0 | 0.020218 | 0.198608 | 7,900 | 169 | 155 | 46.745562 | 0.778708 | 0.017468 | 0 | 0.68254 | 0 | 0 | 0.004513 | 0 | 0 | 0 | 0 | 0.005917 | 0.071429 | 1 | 0.02381 | false | 0 | 0.095238 | 0 | 0.126984 | 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 |
a18b8847929d442afe840a57650ba173dd1412b3 | 3,046 | py | Python | TSSystem/apps/graduation_design/models.py | LittleBai0606/TeachingSecretarySystem | c9067b83f8e1edaf06974db73b7cc47a5b49e0d4 | [
"MIT"
] | null | null | null | TSSystem/apps/graduation_design/models.py | LittleBai0606/TeachingSecretarySystem | c9067b83f8e1edaf06974db73b7cc47a5b49e0d4 | [
"MIT"
] | 5 | 2020-06-05T18:13:28.000Z | 2022-02-11T03:39:14.000Z | TSSystem/apps/graduation_design/models.py | WhiteBrownBottle/TeachingSecretarySystem | c9067b83f8e1edaf06974db73b7cc47a5b49e0d4 | [
"MIT"
] | null | null | null | from django.db import models
from django.utils import timezone
from student.models import Student
from teacher.models import Teacher
# Create your models here.
class ModelFile(models.Model):
"""
文档模板
"""
file_name = models.CharField(blank=True, null=True, max_length=100, default='暂未命名' , verbose_nam... | 32.063158 | 129 | 0.700591 | 414 | 3,046 | 4.929952 | 0.164251 | 0.161685 | 0.129348 | 0.083293 | 0.784909 | 0.77462 | 0.77462 | 0.77462 | 0.77462 | 0.753062 | 0 | 0.008337 | 0.173014 | 3,046 | 94 | 130 | 32.404255 | 0.801906 | 0.014773 | 0 | 0.6 | 0 | 0 | 0.048481 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.08 | 0.08 | 0.78 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
a1affdbf6cc8e4481db9f321e2c1f41aaf894d7e | 49 | py | Python | tf_tensor_dumper/__init__.py | samikama/tf_tensor_dumper | c6b91612e995c7f2de2b65aca09dd5c577f42013 | [
"Apache-2.0"
] | null | null | null | tf_tensor_dumper/__init__.py | samikama/tf_tensor_dumper | c6b91612e995c7f2de2b65aca09dd5c577f42013 | [
"Apache-2.0"
] | null | null | null | tf_tensor_dumper/__init__.py | samikama/tf_tensor_dumper | c6b91612e995c7f2de2b65aca09dd5c577f42013 | [
"Apache-2.0"
] | null | null | null | from .tensor_dumper import add_dumper, get_dumper | 49 | 49 | 0.877551 | 8 | 49 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 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 |
a1ca161a19ccdd01d456623a562c4d8d3337c3e6 | 111 | py | Python | temboo/core/Library/Socrata/SODA/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/Socrata/SODA/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/Socrata/SODA/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | from temboo.Library.Socrata.SODA.Query import Query, QueryInputSet, QueryResultSet, QueryChoreographyExecution
| 55.5 | 110 | 0.873874 | 11 | 111 | 8.818182 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063063 | 111 | 1 | 111 | 111 | 0.932692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a1cb3fed643d4be0bac1c59fbe716bfd17d2f116 | 37 | py | Python | serverless_secrets/__init__.py | trek10inc/serverless-secrets-python | 503bf75a587d9b58613c9dc04df0e97d6e131391 | [
"MIT"
] | 5 | 2017-09-24T06:21:00.000Z | 2020-12-19T07:32:48.000Z | serverless_secrets/__init__.py | imbi7py/serverless-secrets-python | 503bf75a587d9b58613c9dc04df0e97d6e131391 | [
"MIT"
] | 1 | 2017-10-25T14:30:31.000Z | 2017-10-25T14:30:31.000Z | serverless_secrets/__init__.py | imbi7py/serverless-secrets-python | 503bf75a587d9b58613c9dc04df0e97d6e131391 | [
"MIT"
] | 3 | 2017-10-19T13:46:14.000Z | 2020-12-19T07:35:11.000Z | from serverless_secrets.lib import *
| 18.5 | 36 | 0.837838 | 5 | 37 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a1e3cf9ccb63e9b8cccb6b6d13c283146df8f691 | 1,950 | py | Python | src/nuclipy/banners.py | prasant-paudel/nuclei-python | 53174821f93e4e5a48708b6ac832cf2f74bfa63d | [
"MIT"
] | 2 | 2022-01-06T10:59:22.000Z | 2022-03-11T07:16:32.000Z | src/nuclipy/banners.py | prasant-paudel/nuclei-python | 53174821f93e4e5a48708b6ac832cf2f74bfa63d | [
"MIT"
] | 1 | 2021-08-18T19:15:24.000Z | 2021-12-25T14:49:50.000Z | src/nuclipy/banners.py | prasant-paudel/nuclei-python | 53174821f93e4e5a48708b6ac832cf2f74bfa63d | [
"MIT"
] | 1 | 2021-07-26T07:03:23.000Z | 2021-07-26T07:03:23.000Z | BANNERS = '''
___
____ __ _______/ (_)___ __ __
/ __ \/ / / / ___/ / / __ \/ / / /
/ / / / /_/ / /__/ / / /_/ / /_/ /
/_/ /_/\__,_/\___/_/_/ .___/\__, /
/_/ /____/
---split---
__ _
... | 29.104478 | 54 | 0.135897 | 119 | 1,950 | 3.151261 | 0.252101 | 0.208 | 0.248 | 0.245333 | 0.168 | 0.117333 | 0.096 | 0.064 | 0.042667 | 0.042667 | 0 | 0 | 0.510256 | 1,950 | 67 | 55 | 29.104478 | 0.106806 | 0 | 0 | 0.166667 | 0 | 0.075758 | 0.990981 | 0.077454 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a1e76027227de03e172178b7cac6899461baf120 | 115 | py | Python | project/__init__.py | jlazic/glog-sms-gateway | 03fea3715470c19c757e85adf1778fbb086bf8ba | [
"MIT"
] | 1 | 2016-09-02T19:35:32.000Z | 2016-09-02T19:35:32.000Z | project/__init__.py | jlazic/glog-sms-gateway | 03fea3715470c19c757e85adf1778fbb086bf8ba | [
"MIT"
] | null | null | null | project/__init__.py | jlazic/glog-sms-gateway | 03fea3715470c19c757e85adf1778fbb086bf8ba | [
"MIT"
] | 1 | 2018-02-28T23:39:52.000Z | 2018-02-28T23:39:52.000Z | from __future__ import absolute_import
try:
from .celery import app as celery_app
except ImportError:
pass | 19.166667 | 41 | 0.782609 | 16 | 115 | 5.25 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191304 | 115 | 6 | 42 | 19.166667 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
62e0b1b4c36b47c4cbbe7f896e51e398dc21a7f1 | 22 | py | Python | openacademy/__init__.py | Erzihark/openacademy-project | 1731af91c55d1d77b8c41ed9b17a0760d1b79e68 | [
"Apache-2.0"
] | null | null | null | openacademy/__init__.py | Erzihark/openacademy-project | 1731af91c55d1d77b8c41ed9b17a0760d1b79e68 | [
"Apache-2.0"
] | null | null | null | openacademy/__init__.py | Erzihark/openacademy-project | 1731af91c55d1d77b8c41ed9b17a0760d1b79e68 | [
"Apache-2.0"
] | null | null | null | from . import model
| 5.5 | 19 | 0.681818 | 3 | 22 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 22 | 3 | 20 | 7.333333 | 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 |
62f8542f9fb7ec5bf18dc7494046c3e37c0e91d5 | 48 | py | Python | string_h/reverse.py | hanlingzhi/PackageToPypi-Demo | fcc645279e78d9f0b8b5186f585da2ff41f85dcd | [
"MIT"
] | 1 | 2020-03-10T14:50:32.000Z | 2020-03-10T14:50:32.000Z | string_h/reverse.py | hanlingzhi/PackageToPypi-Demo | fcc645279e78d9f0b8b5186f585da2ff41f85dcd | [
"MIT"
] | null | null | null | string_h/reverse.py | hanlingzhi/PackageToPypi-Demo | fcc645279e78d9f0b8b5186f585da2ff41f85dcd | [
"MIT"
] | null | null | null |
def str_reverse(a:str)->str:
return a[::-1] | 16 | 28 | 0.604167 | 9 | 48 | 3.111111 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.166667 | 48 | 3 | 29 | 16 | 0.675 | 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 |
1a0dd924b41ad3199947af991065f5bce166b6bc | 202 | py | Python | flax/error.py | chunkybanana/flax | 16ae5432bee26fa5241259c2b5aec9cba2b33df0 | [
"MIT"
] | null | null | null | flax/error.py | chunkybanana/flax | 16ae5432bee26fa5241259c2b5aec9cba2b33df0 | [
"MIT"
] | null | null | null | flax/error.py | chunkybanana/flax | 16ae5432bee26fa5241259c2b5aec9cba2b33df0 | [
"MIT"
] | null | null | null | import sys
from prompt_toolkit import print_formatted_text, HTML
def error(msg, exit_status=1):
print_formatted_text(HTML("<ansired>" + msg + "</ansired>"), file=sys.stderr)
exit(exit_status)
| 25.25 | 81 | 0.737624 | 29 | 202 | 4.896552 | 0.62069 | 0.197183 | 0.253521 | 0.309859 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005714 | 0.133663 | 202 | 7 | 82 | 28.857143 | 0.805714 | 0 | 0 | 0 | 0 | 0 | 0.094059 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0.4 | 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 |
1a0eea123487cb9d26c063f74b8aede0f84ef73c | 1,047 | py | Python | tests/test_extract.py | Mark-McAdam/kondoboard-etl | e3d36b87693f71a02f1d295c6b6f9291eb1c5006 | [
"MIT"
] | 2 | 2020-05-14T19:53:08.000Z | 2020-05-18T17:22:45.000Z | tests/test_extract.py | Mark-McAdam/kondoboard-etl | e3d36b87693f71a02f1d295c6b6f9291eb1c5006 | [
"MIT"
] | null | null | null | tests/test_extract.py | Mark-McAdam/kondoboard-etl | e3d36b87693f71a02f1d295c6b6f9291eb1c5006 | [
"MIT"
] | 3 | 2020-05-27T18:11:10.000Z | 2020-08-31T15:45:05.000Z | from src.app.extract import adzuna, jobsearcher, monster_scraper
import pandas as pd
def test_adzuna():
df = adzuna()
assert list(df.columns) == [
"id",
"post_url",
"title",
"title_keyword",
"tags",
"description",
"company",
"publication_date",
... | 18.368421 | 64 | 0.468004 | 86 | 1,047 | 5.534884 | 0.372093 | 0.044118 | 0.07563 | 0.119748 | 0.710084 | 0.710084 | 0.710084 | 0.710084 | 0.710084 | 0.710084 | 0 | 0 | 0.387775 | 1,047 | 56 | 65 | 18.696429 | 0.74259 | 0 | 0 | 0.78 | 0 | 0 | 0.26361 | 0 | 0 | 0 | 0 | 0 | 0.06 | 1 | 0.06 | false | 0 | 0.04 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c52ed76e903daa07b7f916c7ed6177d65109206d | 83 | py | Python | npnlp/__init__.py | msparapa/npnlp | 9158f47def6e6583e662b913ae46be49dafca4f8 | [
"MIT"
] | null | null | null | npnlp/__init__.py | msparapa/npnlp | 9158f47def6e6583e662b913ae46be49dafca4f8 | [
"MIT"
] | null | null | null | npnlp/__init__.py | msparapa/npnlp | 9158f47def6e6583e662b913ae46be49dafca4f8 | [
"MIT"
] | null | null | null | from .npnlp import minimize, kkt_multipliers
from npnlp.release import __version__
| 27.666667 | 44 | 0.855422 | 11 | 83 | 6 | 0.727273 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108434 | 83 | 2 | 45 | 41.5 | 0.891892 | 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 |
c53947a6856398971cf84c83418ea06a15edf9b0 | 268 | py | Python | src/security_webcam/__init__.py | hsuanhauliu/security-webcam | 0f9a972002508074d8a7397e017c7438d2c3680a | [
"MIT"
] | 2 | 2019-08-13T12:49:33.000Z | 2020-10-08T12:56:59.000Z | src/security_webcam/__init__.py | hsuanhauliu/security-webcam | 0f9a972002508074d8a7397e017c7438d2c3680a | [
"MIT"
] | null | null | null | src/security_webcam/__init__.py | hsuanhauliu/security-webcam | 0f9a972002508074d8a7397e017c7438d2c3680a | [
"MIT"
] | null | null | null | from security_webcam.camera_control import CameraControl
from security_webcam.motion_detector import MotionDetector
from security_webcam.parser import parse_inputs
from security_webcam.video_buffer import VideoBuffer, TemporaryBuffer
from security_webcam import utils
| 44.666667 | 69 | 0.902985 | 34 | 268 | 6.852941 | 0.529412 | 0.257511 | 0.386266 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078358 | 268 | 5 | 70 | 53.6 | 0.94332 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
c54876e834d5ae416f203c11447a480c93df1d6d | 56 | py | Python | pyia/setup_package.py | alexji/pyia | 12ca2636cfccaccdea1461101c7fb3dd2d0b57d4 | [
"MIT"
] | 15 | 2018-04-24T17:14:26.000Z | 2021-05-14T19:28:10.000Z | pyia/setup_package.py | alexji/pyia | 12ca2636cfccaccdea1461101c7fb3dd2d0b57d4 | [
"MIT"
] | 4 | 2019-03-11T22:59:36.000Z | 2021-10-17T14:37:24.000Z | pyia/setup_package.py | alexji/pyia | 12ca2636cfccaccdea1461101c7fb3dd2d0b57d4 | [
"MIT"
] | 7 | 2018-04-24T04:15:34.000Z | 2021-10-15T21:14:59.000Z | def get_package_data():
return {'pyia': ['data/*']}
| 18.666667 | 31 | 0.589286 | 7 | 56 | 4.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160714 | 56 | 2 | 32 | 28 | 0.659574 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 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 |
c56d25ef382780458c58a73ce6bd95341666226b | 168 | py | Python | pages/admin.py | mixnix/subject_rate | 224fdc7c17afd972596c628bda65a384274ed4a1 | [
"MIT"
] | null | null | null | pages/admin.py | mixnix/subject_rate | 224fdc7c17afd972596c628bda65a384274ed4a1 | [
"MIT"
] | null | null | null | pages/admin.py | mixnix/subject_rate | 224fdc7c17afd972596c628bda65a384274ed4a1 | [
"MIT"
] | null | null | null | from django.contrib import admin
from . import models
admin.site.register(models.Review)
admin.site.register(models.Professor)
admin.site.register(models.CourseName)
| 21 | 38 | 0.821429 | 23 | 168 | 6 | 0.478261 | 0.195652 | 0.369565 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077381 | 168 | 7 | 39 | 24 | 0.890323 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3d6a47b9828d84e08534381333da11fea5de687b | 32,019 | py | Python | snip-tensorflow/network.py | isabuster/snip | 8e7644edd1f4dcca0f833666cf54474bcacf2aea | [
"MIT"
] | 1 | 2020-09-13T09:18:13.000Z | 2020-09-13T09:18:13.000Z | snip-tensorflow/network.py | isabuster/snip | 8e7644edd1f4dcca0f833666cf54474bcacf2aea | [
"MIT"
] | null | null | null | snip-tensorflow/network.py | isabuster/snip | 8e7644edd1f4dcca0f833666cf54474bcacf2aea | [
"MIT"
] | null | null | null | import tensorflow as tf
from functools import reduce
from helpers import static_size
def load_network(
datasource, arch, num_classes,
initializer_w_bp, initializer_b_bp, initializer_w_ap, initializer_b_ap,
):
networks = {
'lenet300': lambda: LeNet300(
initializer_w_bp,... | 55.015464 | 137 | 0.571817 | 4,240 | 32,019 | 4.153066 | 0.070519 | 0.074507 | 0.093134 | 0.093021 | 0.818786 | 0.791413 | 0.778693 | 0.764268 | 0.728094 | 0.6972 | 0 | 0.067881 | 0.255567 | 32,019 | 581 | 138 | 55.110155 | 0.670876 | 0.052531 | 0 | 0.553785 | 0 | 0 | 0.05765 | 0 | 0 | 0 | 0 | 0 | 0.001992 | 1 | 0.047809 | false | 0.00996 | 0.005976 | 0.00996 | 0.103586 | 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 |
3d6dae3d660b4f079b286cd4dab43a1cb7235a05 | 258,287 | py | Python | instances/passenger_demand/pas-20210422-1717-int1/31.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int1/31.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int1/31.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 19048
passenger_arriving = (
(2, 7, 5, 2, 8, 1, 2, 1, 2, 1, 0, 1, 0, 11, 2, 3, 4, 3, 0, 0, 0, 1, 0, 0, 0, 0), # 0
(10, 5, 4, 4, 7, 4, 2, 0, 1, 3, 0, 0, 0, 6, 8, 4, 3, 2, 3, 5, 3, 1, 1, 0, 0, 0), # 1
(8, 6, 11, 4, 2, 2, 4, 3, 3, 0, 1, 1, 0, 4, 4, 5, 3, 6, 1, 1, 0, 4, 0, 2, 0, 0... | 276.242781 | 494 | 0.769543 | 32,987 | 258,287 | 6.025161 | 0.216904 | 0.358638 | 0.344147 | 0.652069 | 0.376444 | 0.367911 | 0.365008 | 0.364273 | 0.364112 | 0.364112 | 0 | 0.849799 | 0.095762 | 258,287 | 934 | 495 | 276.538544 | 0.001195 | 0.015529 | 0 | 0.200873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3dc9d67e179aef854c1b01040ce903f476ccf04c | 192 | py | Python | 0301-0400/0383-Ransom Note/0383-Ransom Note.py | jiadaizhao/LeetCode | 4ddea0a532fe7c5d053ffbd6870174ec99fc2d60 | [
"MIT"
] | 49 | 2018-05-05T02:53:10.000Z | 2022-03-30T12:08:09.000Z | 0301-0400/0383-Ransom Note/0383-Ransom Note.py | jolly-fellow/LeetCode | ab20b3ec137ed05fad1edda1c30db04ab355486f | [
"MIT"
] | 11 | 2017-12-15T22:31:44.000Z | 2020-10-02T12:42:49.000Z | 0301-0400/0383-Ransom Note/0383-Ransom Note.py | jolly-fellow/LeetCode | ab20b3ec137ed05fad1edda1c30db04ab355486f | [
"MIT"
] | 28 | 2017-12-05T10:56:51.000Z | 2022-01-26T18:18:27.000Z | import collections
class Solution:
def canConstruct(self, ransomNote: 'str', magazine: 'str') -> 'bool':
return not collections.Counter(ransomNote) - collections.Counter(magazine)
| 38.4 | 82 | 0.729167 | 20 | 192 | 7 | 0.7 | 0.257143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151042 | 192 | 4 | 83 | 48 | 0.858896 | 0 | 0 | 0 | 0 | 0 | 0.052083 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
3dd953d7cbf961786ed0a3c8fb1ebf70972afdb9 | 138 | py | Python | katas/kyu_7/random_case.py | the-zebulan/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 40 | 2016-03-09T12:26:20.000Z | 2022-03-23T08:44:51.000Z | katas/kyu_7/random_case.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | null | null | null | katas/kyu_7/random_case.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 36 | 2016-11-07T19:59:58.000Z | 2022-03-31T11:18:27.000Z | from random import choice
UP_LOW = (str.upper, str.lower)
def random_case(strng):
return ''.join(choice(UP_LOW)(a) for a in strng)
| 17.25 | 52 | 0.702899 | 24 | 138 | 3.916667 | 0.708333 | 0.170213 | 0.234043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 138 | 7 | 53 | 19.714286 | 0.817391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
9ac59074cc96c2f9c915fb7c81432eaa598edb01 | 37 | py | Python | pyavro/field/__init__.py | mitchelllisle/pavro | b60368d21c1bbc5216d3aa8e6cbe4f873111ef0f | [
"MIT"
] | null | null | null | pyavro/field/__init__.py | mitchelllisle/pavro | b60368d21c1bbc5216d3aa8e6cbe4f873111ef0f | [
"MIT"
] | null | null | null | pyavro/field/__init__.py | mitchelllisle/pavro | b60368d21c1bbc5216d3aa8e6cbe4f873111ef0f | [
"MIT"
] | 1 | 2020-03-15T19:59:02.000Z | 2020-03-15T19:59:02.000Z | from pyavro.field.field import Field
| 18.5 | 36 | 0.837838 | 6 | 37 | 5.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.939394 | 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 |
9ac69ca0b8530c2b9af8e029aedd7c6d9aea7a34 | 20 | py | Python | keras/wrappers/__init__.py | NPoe/keras | 298553d6018d3644d0e865015499b9405e3d6a2c | [
"MIT"
] | 1 | 2018-07-22T03:59:02.000Z | 2018-07-22T03:59:02.000Z | keras/wrappers/__init__.py | NPoe/keras | 298553d6018d3644d0e865015499b9405e3d6a2c | [
"MIT"
] | null | null | null | keras/wrappers/__init__.py | NPoe/keras | 298553d6018d3644d0e865015499b9405e3d6a2c | [
"MIT"
] | 1 | 2022-03-18T03:19:36.000Z | 2022-03-18T03:19:36.000Z | from .lime import *
| 10 | 19 | 0.7 | 3 | 20 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.875 | 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 |
9ad7fef74069e39d59d1676ff27c054f9532bbfa | 49 | py | Python | src/python/bd/common/__init__.py | BombDash/BombDash-server | 2403c5396145ea8a3a63bd2089dd7276ef723085 | [
"MIT"
] | 8 | 2020-06-12T19:29:32.000Z | 2021-11-10T14:06:46.000Z | src/python/bd/common/__init__.py | BombDash/BombDash-server | 2403c5396145ea8a3a63bd2089dd7276ef723085 | [
"MIT"
] | 2 | 2021-01-20T05:15:13.000Z | 2021-12-21T08:33:01.000Z | src/python/bd/common/__init__.py | BombDash/BombDash-server | 2403c5396145ea8a3a63bd2089dd7276ef723085 | [
"MIT"
] | 2 | 2021-02-05T22:30:16.000Z | 2021-03-16T05:49:45.000Z | from . import glowing_profiles, fatality, prefix
| 24.5 | 48 | 0.816327 | 6 | 49 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 49 | 1 | 49 | 49 | 0.906977 | 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 |
9aed292b16d87ffe08e71c855fa80effa9c5c425 | 27 | py | Python | py/exts/assetimport_maya/__init__.py | ddesmond/assetexchange | 0f8133b449b41595e22f27f3970bec7ebeee19c1 | [
"MIT"
] | null | null | null | py/exts/assetimport_maya/__init__.py | ddesmond/assetexchange | 0f8133b449b41595e22f27f3970bec7ebeee19c1 | [
"MIT"
] | null | null | null | py/exts/assetimport_maya/__init__.py | ddesmond/assetexchange | 0f8133b449b41595e22f27f3970bec7ebeee19c1 | [
"MIT"
] | null | null | null | from .pushservice import *
| 13.5 | 26 | 0.777778 | 3 | 27 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.913043 | 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 |
b108db7055698904073f51b0221b982a66fb0b88 | 376 | py | Python | tests/snippets/hash.py | ypyf/RustPython | 86103bfd0187a6073cab91142f698cb6b0a0de51 | [
"MIT"
] | 1 | 2021-09-03T15:59:36.000Z | 2021-09-03T15:59:36.000Z | tests/snippets/hash.py | ypyf/RustPython | 86103bfd0187a6073cab91142f698cb6b0a0de51 | [
"MIT"
] | null | null | null | tests/snippets/hash.py | ypyf/RustPython | 86103bfd0187a6073cab91142f698cb6b0a0de51 | [
"MIT"
] | null | null | null |
from testutils import assertRaises
class A:
pass
assert type(hash(None)) is int
assert type(hash(object())) is int
assert type(hash(A())) is int
assert type(hash(1)) is int
assert type(hash(1.1)) is int
assert type(hash("")) is int
with assertRaises(TypeError):
hash({})
with assertRaises(TypeError):
... | 15.666667 | 34 | 0.68883 | 56 | 376 | 4.625 | 0.321429 | 0.23166 | 0.324324 | 0.289575 | 0.378378 | 0.23166 | 0 | 0 | 0 | 0 | 0 | 0.009615 | 0.170213 | 376 | 23 | 35 | 16.347826 | 0.820513 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | true | 0.066667 | 0.066667 | 0 | 0.133333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
b11b881476430e3b5ca078a0c8415b80c727919a | 9,280 | py | Python | tests/unit/plugins/modules/test_managed_serviceaccount_rbac.py | hanqiuzh/ocmplus.cm | 98079701c86ea0d3aa4085642eb978caca1e6203 | [
"Apache-2.0"
] | 12 | 2021-11-01T19:15:56.000Z | 2021-12-14T16:05:37.000Z | tests/unit/plugins/modules/test_managed_serviceaccount_rbac.py | dtrieu80/ocmplus.cm | 972831dc85fd09757ad6e1cb165371948da41ce9 | [
"Apache-2.0"
] | 92 | 2022-01-05T16:47:27.000Z | 2022-03-31T17:43:02.000Z | tests/unit/plugins/modules/test_managed_serviceaccount_rbac.py | dtrieu80/ocmplus.cm | 972831dc85fd09757ad6e1cb165371948da41ce9 | [
"Apache-2.0"
] | 16 | 2022-01-04T18:49:36.000Z | 2022-03-24T17:07:36.000Z | from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
import unittest
import string
import random
from unittest.mock import MagicMock
from pathlib import Path
import ansible_collections.ocmplus.cm.plugins.modules.managed_serviceaccount_rbac as msa_rbac
class TestGetRBACTemplateFil... | 40.881057 | 102 | 0.687716 | 1,188 | 9,280 | 4.979798 | 0.091751 | 0.089249 | 0.0524 | 0.08215 | 0.873225 | 0.858519 | 0.858519 | 0.848715 | 0.819642 | 0.805105 | 0 | 0.00313 | 0.208082 | 9,280 | 226 | 103 | 41.061947 | 0.801878 | 0 | 0 | 0.671875 | 0 | 0 | 0.152694 | 0.126724 | 0 | 0 | 0 | 0 | 0.270833 | 1 | 0.140625 | false | 0 | 0.036458 | 0 | 0.197917 | 0.005208 | 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 |
b152100d1670c9c7cd1bc43739595460d03127f3 | 122 | py | Python | TVpy/Layers/all.py | Jitrixis/2ARC-Network-stack | f0f7f68b989c5c6eaca3be46554dd5c7010e1551 | [
"MIT"
] | 1 | 2017-08-22T20:44:12.000Z | 2017-08-22T20:44:12.000Z | TVpy/Layers/all.py | Jitrixis/2ARC-Network-stack | f0f7f68b989c5c6eaca3be46554dd5c7010e1551 | [
"MIT"
] | null | null | null | TVpy/Layers/all.py | Jitrixis/2ARC-Network-stack | f0f7f68b989c5c6eaca3be46554dd5c7010e1551 | [
"MIT"
] | null | null | null | __author__ = 'jitrixis'
from Data.all import *
from Frame.all import *
from Packet.all import *
from Segment.all import * | 20.333333 | 25 | 0.754098 | 18 | 122 | 4.888889 | 0.5 | 0.409091 | 0.443182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155738 | 122 | 6 | 25 | 20.333333 | 0.854369 | 0 | 0 | 0 | 0 | 0 | 0.065041 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b15ce1ab6f2c6345a514b30cb8c5d14e4506aabd | 35 | py | Python | beluga/numeric/data_classes/__init__.py | doublefloyd/beluga | 740bda376634945ef51bf1cf946fcbe002e9bc7f | [
"MIT"
] | 20 | 2017-10-02T13:09:58.000Z | 2022-03-28T20:50:35.000Z | beluga/numeric/data_classes/__init__.py | doublefloyd/beluga | 740bda376634945ef51bf1cf946fcbe002e9bc7f | [
"MIT"
] | 187 | 2018-02-04T20:35:03.000Z | 2021-01-27T15:04:18.000Z | beluga/numeric/data_classes/__init__.py | doublefloyd/beluga | 740bda376634945ef51bf1cf946fcbe002e9bc7f | [
"MIT"
] | 12 | 2018-01-19T04:00:09.000Z | 2022-03-28T16:44:17.000Z | from .Trajectory import Trajectory
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 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 |
b162a2edfb255c6f79bada717cd082369aa6c2eb | 11,827 | py | Python | gr-gsm/python/qa_burst_timeslot_splitter.py | ossiemarks/hackrf-gsm | fc3d690354e3bed8b7f8b2f70c3eaf0ecb74d88c | [
"MIT"
] | 6 | 2021-12-19T07:16:38.000Z | 2022-03-19T17:50:51.000Z | gr-gsm/python/qa_burst_timeslot_splitter.py | mapennell/hackrf-gsm | fc3d690354e3bed8b7f8b2f70c3eaf0ecb74d88c | [
"MIT"
] | null | null | null | gr-gsm/python/qa_burst_timeslot_splitter.py | mapennell/hackrf-gsm | fc3d690354e3bed8b7f8b2f70c3eaf0ecb74d88c | [
"MIT"
] | 5 | 2019-09-05T05:49:35.000Z | 2021-07-10T20:42:11.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# @file
# @author Roman Khassraf <rkhassraf@gmail.com>
# @section LICENSE
#
# Gr-gsm is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your... | 73.006173 | 237 | 0.817705 | 590 | 11,827 | 16.133898 | 0.332203 | 0.023532 | 0.008509 | 0.015128 | 0.048114 | 0.027734 | 0 | 0 | 0 | 0 | 0 | 0.721347 | 0.136129 | 11,827 | 161 | 238 | 73.459627 | 0.210336 | 0.069587 | 0 | 0.295652 | 0 | 0 | 0.656898 | 0.651328 | 0 | 1 | 0 | 0 | 0.069565 | 1 | 0.026087 | false | 0 | 0.026087 | 0 | 0.06087 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b16ace4eeb4180d51795b5167c78ac6994100d59 | 9,375 | py | Python | pbj/electrostatics/pb_formulation/formulations.py | kstylesc/PBJ | 0a4440b684c1d028341762a275fb3d51956b8301 | [
"MIT"
] | null | null | null | pbj/electrostatics/pb_formulation/formulations.py | kstylesc/PBJ | 0a4440b684c1d028341762a275fb3d51956b8301 | [
"MIT"
] | null | null | null | pbj/electrostatics/pb_formulation/formulations.py | kstylesc/PBJ | 0a4440b684c1d028341762a275fb3d51956b8301 | [
"MIT"
] | null | null | null | import numpy as np
import bempp.api
def direct(dirichl_space, neumann_space, q, x_q, ep_in, ep_out, kappa, operator_assembler):
from bempp.api.operators.boundary import sparse, laplace, modified_helmholtz
identity = sparse.identity(dirichl_space, dirichl_space, dirichl_space)
slp_in = laplace.singl... | 45.731707 | 136 | 0.693013 | 1,480 | 9,375 | 4.131081 | 0.067568 | 0.143278 | 0.11122 | 0.125613 | 0.900556 | 0.859339 | 0.833497 | 0.806183 | 0.774289 | 0.745175 | 0 | 0.033065 | 0.16448 | 9,375 | 205 | 137 | 45.731707 | 0.747479 | 0.005867 | 0 | 0.421769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095238 | false | 0 | 0.054422 | 0 | 0.190476 | 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 |
492c4742de47fef56ab716bf9df548bbb54cdf64 | 62 | py | Python | what/models/detection/ssd/ssd/__init__.py | wuhanstudio/whitebox-adversarial-toolbox | 3c6eaecc130fa987bc470225e259d0b4b58017ce | [
"MIT"
] | 2 | 2022-02-06T17:25:31.000Z | 2022-03-25T13:39:48.000Z | what/models/detection/ssd/ssd/__init__.py | wuhanstudio/whitebox-adversarial-toolbox | 3c6eaecc130fa987bc470225e259d0b4b58017ce | [
"MIT"
] | null | null | null | what/models/detection/ssd/ssd/__init__.py | wuhanstudio/whitebox-adversarial-toolbox | 3c6eaecc130fa987bc470225e259d0b4b58017ce | [
"MIT"
] | null | null | null |
from what.models.detection.ssd.ssd.ssd import SSD, GraphPath
| 20.666667 | 60 | 0.806452 | 10 | 62 | 5 | 0.7 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 62 | 2 | 61 | 31 | 0.892857 | 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 |
496e706ce2281410ec0594641f157d57b584ded4 | 45 | py | Python | __init__.py | projectgus/solar_usage | d283ee8a6ef91b6169219a5978e7e7dc180c8214 | [
"MIT"
] | 1 | 2022-02-01T01:15:26.000Z | 2022-02-01T01:15:26.000Z | __init__.py | projectgus/solar_usage | d283ee8a6ef91b6169219a5978e7e7dc180c8214 | [
"MIT"
] | null | null | null | __init__.py | projectgus/solar_usage | d283ee8a6ef91b6169219a5978e7e7dc180c8214 | [
"MIT"
] | null | null | null | from . import solar_usage
solar_usage.main()
| 15 | 25 | 0.8 | 7 | 45 | 4.857143 | 0.714286 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 45 | 2 | 26 | 22.5 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4970f299e77842368cbe5730084d4662a3265355 | 42 | py | Python | bumpfontversion/__init__.py | m4rc1e/bumpfontversion | 2cfb5b779875d84edc80154a27d6a28f5907ebb1 | [
"Apache-2.0"
] | 1 | 2021-07-16T14:41:23.000Z | 2021-07-16T14:41:23.000Z | bumpfontversion/__init__.py | m4rc1e/bumpfontversion | 2cfb5b779875d84edc80154a27d6a28f5907ebb1 | [
"Apache-2.0"
] | 5 | 2021-08-05T10:57:21.000Z | 2022-03-30T11:26:40.000Z | bumpfontversion/__init__.py | m4rc1e/bumpfontversion | 2cfb5b779875d84edc80154a27d6a28f5907ebb1 | [
"Apache-2.0"
] | null | null | null | from bumpfontversion.__main__ import main
| 21 | 41 | 0.880952 | 5 | 42 | 6.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.868421 | 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 |
498530866a5b5c6de0552eaf419abf3ca8e45b13 | 14,588 | py | Python | src/onevision/cv/imgproc/color/yuv.py | phlong3105/onevision | 90552b64df7213e7fbe23c80ffd8a89583289433 | [
"MIT"
] | 2 | 2022-03-28T09:46:38.000Z | 2022-03-28T14:12:32.000Z | src/onevision/cv/imgproc/color/yuv.py | phlong3105/onevision | 90552b64df7213e7fbe23c80ffd8a89583289433 | [
"MIT"
] | null | null | null | src/onevision/cv/imgproc/color/yuv.py | phlong3105/onevision | 90552b64df7213e7fbe23c80ffd8a89583289433 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""YUV color space.
"""
from __future__ import annotations
import cv2
import numpy as np
import torch
from multipledispatch import dispatch
from torch import nn
from torch import Tensor
from torch.nn import functional as F
from onevision.cv.imgproc.color.rgb import bgr_... | 31.304721 | 88 | 0.596312 | 2,310 | 14,588 | 3.674459 | 0.076623 | 0.019793 | 0.007776 | 0.042413 | 0.85721 | 0.829995 | 0.821277 | 0.801602 | 0.777804 | 0.746701 | 0 | 0.043679 | 0.273375 | 14,588 | 465 | 89 | 31.372043 | 0.757075 | 0.38703 | 0 | 0.430769 | 0 | 0 | 0.177396 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.102564 | false | 0 | 0.076923 | 0.041026 | 0.323077 | 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 |
b8e9de306e49f06b80af3d03b16cbcef69839dd7 | 166 | py | Python | app/meda_sync_search/transformers/str_transformer.py | DEV3L/meda-sync-search | c67feb2f2b54ba153dc50e9aba5058d4e7948c92 | [
"Beerware"
] | null | null | null | app/meda_sync_search/transformers/str_transformer.py | DEV3L/meda-sync-search | c67feb2f2b54ba153dc50e9aba5058d4e7948c92 | [
"Beerware"
] | null | null | null | app/meda_sync_search/transformers/str_transformer.py | DEV3L/meda-sync-search | c67feb2f2b54ba153dc50e9aba5058d4e7948c92 | [
"Beerware"
] | null | null | null | import fuzzy
class StrTransformer:
def __init__(self, _str):
self._str = _str
@property
def fuzzy(self):
return fuzzy.nysiis(self._str)
| 16.6 | 38 | 0.638554 | 20 | 166 | 4.9 | 0.55 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.271084 | 166 | 9 | 39 | 18.444444 | 0.809917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 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 |
b8eebc26344e767d2761ad6061ca3cf443574d9c | 253 | py | Python | mmseg/models/segmentors/__init__.py | XDong18/mmsegmentation | 9a14288a654b66babfdfe4f6fa77edc4cd127d41 | [
"Apache-2.0"
] | null | null | null | mmseg/models/segmentors/__init__.py | XDong18/mmsegmentation | 9a14288a654b66babfdfe4f6fa77edc4cd127d41 | [
"Apache-2.0"
] | null | null | null | mmseg/models/segmentors/__init__.py | XDong18/mmsegmentation | 9a14288a654b66babfdfe4f6fa77edc4cd127d41 | [
"Apache-2.0"
] | null | null | null | from .cascade_encoder_decoder import CascadeEncoderDecoder
from .encoder_decoder import EncoderDecoder
from .multi_head_encoder_decoder import Multi_head_EncoderDecoder
__all__ = ['EncoderDecoder', 'CascadeEncoderDecoder', 'Multi_head_EncoderDecoder']
| 42.166667 | 82 | 0.873518 | 26 | 253 | 7.961538 | 0.384615 | 0.202899 | 0.289855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071146 | 253 | 5 | 83 | 50.6 | 0.880851 | 0 | 0 | 0 | 0 | 0 | 0.237154 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b8ffd2ff85c47bef29fcdada2125d014ad9faa81 | 4,973 | py | Python | src/parsing/arg-kp.py | UKPLab/acl2022-structure-batches | d7e116c1254ad00d8b59da3116043424a30f6f64 | [
"Apache-2.0"
] | null | null | null | src/parsing/arg-kp.py | UKPLab/acl2022-structure-batches | d7e116c1254ad00d8b59da3116043424a30f6f64 | [
"Apache-2.0"
] | null | null | null | src/parsing/arg-kp.py | UKPLab/acl2022-structure-batches | d7e116c1254ad00d8b59da3116043424a30f6f64 | [
"Apache-2.0"
] | null | null | null | import glob
import pandas
from parsing.parsing_util import save_topic_folds
fold_topics = [
[
['we should ban the use of child actors', 'we should ban private military companies', 'we should subsidize space exploration', 'we should end affirmative action', 'we should adopt an austerity regime', 'we shoul... | 118.404762 | 706 | 0.751056 | 679 | 4,973 | 5.481591 | 0.163476 | 0.214938 | 0.035465 | 0.015046 | 0.907845 | 0.896024 | 0.764643 | 0.585975 | 0.414025 | 0.270822 | 0 | 0.00048 | 0.162678 | 4,973 | 41 | 707 | 121.292683 | 0.893372 | 0 | 0 | 0.090909 | 0 | 0 | 0.819626 | 0.007842 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 0.090909 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
77028038be2afbb9f871b101ee70e5bab977f5fd | 28 | py | Python | __init__.py | FarmCodeGary/pelican-yaml-metadata | b26634656ef33197e27ff1eb4e13733cc97647c8 | [
"MIT"
] | null | null | null | __init__.py | FarmCodeGary/pelican-yaml-metadata | b26634656ef33197e27ff1eb4e13733cc97647c8 | [
"MIT"
] | null | null | null | __init__.py | FarmCodeGary/pelican-yaml-metadata | b26634656ef33197e27ff1eb4e13733cc97647c8 | [
"MIT"
] | null | null | null | from .yamlmetadata import *
| 14 | 27 | 0.785714 | 3 | 28 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.916667 | 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 |
7743f60c6077222d7cbbde52915a7d7598bbb39f | 149 | py | Python | docs/conf.py | parth-choudhary/drum | fd62cfc1d7ca36fe2767c7eda9a65f15c74afb34 | [
"BSD-2-Clause"
] | 265 | 2015-01-01T10:51:39.000Z | 2022-01-29T22:42:52.000Z | docs/conf.py | parth-choudhary/drum | fd62cfc1d7ca36fe2767c7eda9a65f15c74afb34 | [
"BSD-2-Clause"
] | 39 | 2015-01-20T01:23:42.000Z | 2018-05-28T04:11:08.000Z | docs/conf.py | parth-choudhary/drum | fd62cfc1d7ca36fe2767c7eda9a65f15c74afb34 | [
"BSD-2-Clause"
] | 104 | 2015-01-20T01:13:20.000Z | 2022-03-26T20:54:10.000Z | from __future__ import unicode_literals
# This file is automatically generated via sphinx-me
from sphinx_me import setup_conf; setup_conf(globals())
| 37.25 | 55 | 0.838926 | 22 | 149 | 5.318182 | 0.727273 | 0.136752 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114094 | 149 | 3 | 56 | 49.666667 | 0.886364 | 0.33557 | 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 |
7746f99f85eee310d406451a5b733a129379c77c | 48 | py | Python | src/ralph/urls/__init__.py | DoNnMyTh/ralph | 97b91639fa68965ad3fd9d0d2652a6545a2a5b72 | [
"Apache-2.0"
] | 1 | 2021-09-14T01:52:23.000Z | 2021-09-14T01:52:23.000Z | src/ralph/urls/__init__.py | hq-git/ralph | e2448caf02d6e5abfd81da2cff92aefe0a534883 | [
"Apache-2.0"
] | 1 | 2019-05-27T11:57:15.000Z | 2019-05-27T11:57:15.000Z | src/ralph/urls/__init__.py | hq-git/ralph | e2448caf02d6e5abfd81da2cff92aefe0a534883 | [
"Apache-2.0"
] | null | null | null | from ralph.urls.base import urlpatterns # noqa
| 24 | 47 | 0.791667 | 7 | 48 | 5.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 48 | 1 | 48 | 48 | 0.926829 | 0.083333 | 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 |
77565c10408044c9941d17b23c0cd1ff3ae92b91 | 3,396 | py | Python | common/utilities/tests/test_certs.py | tomzo/integration-adaptors | d4f296d3e44475df6f69a78a27fac6ed5b67513b | [
"Apache-2.0"
] | 15 | 2019-08-06T16:08:12.000Z | 2021-05-24T13:14:39.000Z | common/utilities/tests/test_certs.py | tomzo/integration-adaptors | d4f296d3e44475df6f69a78a27fac6ed5b67513b | [
"Apache-2.0"
] | 179 | 2020-07-01T08:53:50.000Z | 2022-03-11T14:18:39.000Z | common/utilities/tests/test_certs.py | tomzo/integration-adaptors | d4f296d3e44475df6f69a78a27fac6ed5b67513b | [
"Apache-2.0"
] | 7 | 2019-11-12T15:26:34.000Z | 2021-04-11T07:23:56.000Z | import pathlib
import tempfile
import unittest
from utilities import certs
_TEST_FILE_CONTENTS = 'test-file-contents'
class TestCerts(unittest.TestCase):
def test_create_certs_files_creates_folders(self):
with tempfile.TemporaryDirectory() as temp_dir:
certs.Certs.create_certs_files(temp_dir... | 55.672131 | 119 | 0.716137 | 421 | 3,396 | 5.315914 | 0.123515 | 0.071492 | 0.121537 | 0.0563 | 0.852994 | 0.810098 | 0.771224 | 0.718052 | 0.718052 | 0.718052 | 0 | 0.004417 | 0.199941 | 3,396 | 60 | 120 | 56.6 | 0.819286 | 0 | 0 | 0.377778 | 0 | 0 | 0.068316 | 0 | 0 | 0 | 0 | 0 | 0.288889 | 1 | 0.111111 | false | 0 | 0.088889 | 0 | 0.222222 | 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 |
620c292634ed75d83bd9cecaf7e5c207135220fb | 160 | py | Python | frontend/views.py | dark0ghost/tp_django_react_test | 86df391c272e17b45a1595c7c3536c535055119f | [
"MIT"
] | 2 | 2021-06-13T17:29:02.000Z | 2021-11-29T08:18:20.000Z | frontend/views.py | dark0ghost/rgram | e459fe7ba1542993473bc0eb2c610d7f7d433d6d | [
"MIT"
] | 1 | 2021-04-15T20:14:36.000Z | 2021-04-15T20:14:36.000Z | frontend/views.py | dark0ghost/rgram | e459fe7ba1542993473bc0eb2c610d7f7d433d6d | [
"MIT"
] | null | null | null | from django.http import HttpRequest
from django.shortcuts import render
def get_react(request: HttpRequest):
return render(request, "./build/index.html")
| 22.857143 | 48 | 0.78125 | 21 | 160 | 5.904762 | 0.714286 | 0.16129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 160 | 6 | 49 | 26.666667 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0.1125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 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 |
623e58a64fd2e785caf37aa5623238f9af7ddac2 | 56 | py | Python | qt_material/resources/__init__.py | 5yutan5/qt-material | 63caf6755d1d00ea66c37d6583077c376a764435 | [
"BSD-2-Clause"
] | 692 | 2020-12-06T17:30:05.000Z | 2022-03-31T14:12:40.000Z | qt_material/resources/__init__.py | 5yutan5/qt-material | 63caf6755d1d00ea66c37d6583077c376a764435 | [
"BSD-2-Clause"
] | 43 | 2020-12-06T04:19:02.000Z | 2022-03-16T15:20:34.000Z | qt_material/resources/__init__.py | 5yutan5/qt-material | 63caf6755d1d00ea66c37d6583077c376a764435 | [
"BSD-2-Clause"
] | 93 | 2020-12-10T08:26:25.000Z | 2022-03-29T08:46:46.000Z | from .generate import ResourseGenerator, RESOURCES_PATH
| 28 | 55 | 0.875 | 6 | 56 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089286 | 56 | 1 | 56 | 56 | 0.941176 | 0 | 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 |
6251f762661c2e82e27ec9486e83e9f89cebb517 | 489 | py | Python | test_pyship/test_module_info.py | daobook/pyship | 31b8e0b4c1cfc7677d418024f27642183cb1966d | [
"MIT"
] | 16 | 2020-10-28T02:49:39.000Z | 2022-03-18T16:50:11.000Z | test_pyship/test_module_info.py | daobook/pyship | 31b8e0b4c1cfc7677d418024f27642183cb1966d | [
"MIT"
] | 4 | 2020-12-07T23:20:09.000Z | 2020-12-18T03:25:49.000Z | test_pyship/test_module_info.py | daobook/pyship | 31b8e0b4c1cfc7677d418024f27642183cb1966d | [
"MIT"
] | 1 | 2022-01-26T11:26:00.000Z | 2022-01-26T11:26:00.000Z | from semver import VersionInfo
from test_pyship import TstAppDirs, TST_APP_NAME
def test_module_info():
# todo: use TargetAppInfo's get_module_info()
# for version_string in ["0.0.1", "0.0.2"]:
# version = VersionInfo.parse(version_string)
# tst_app_dirs = TstAppDirs(TST_APP_NAME, version)
... | 28.764706 | 74 | 0.699387 | 67 | 489 | 4.791045 | 0.492537 | 0.093458 | 0.093458 | 0.124611 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015464 | 0.206544 | 489 | 16 | 75 | 30.5625 | 0.811856 | 0.670757 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0 | 1 | 0.25 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
65a5f3d23cd25aee90d56e7f1071bf1547268236 | 278 | py | Python | batchglm/api/data.py | le-ander/batchglm | 31b905b99b6baa7c94b82550d6a74f00d81966ea | [
"BSD-3-Clause"
] | null | null | null | batchglm/api/data.py | le-ander/batchglm | 31b905b99b6baa7c94b82550d6a74f00d81966ea | [
"BSD-3-Clause"
] | null | null | null | batchglm/api/data.py | le-ander/batchglm | 31b905b99b6baa7c94b82550d6a74f00d81966ea | [
"BSD-3-Clause"
] | null | null | null | from batchglm.data import design_matrix
from batchglm.data import constraint_matrix_from_dict, constraint_matrix_from_string, string_constraints_from_dict, \
constraint_system_from_star
from batchglm.data import view_coef_names, preview_coef_names, bin_continuous_covariate
| 55.6 | 117 | 0.888489 | 39 | 278 | 5.846154 | 0.487179 | 0.157895 | 0.210526 | 0.289474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079137 | 278 | 4 | 118 | 69.5 | 0.890625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 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 |
029669fb1c907cfc00872204ba351fb30da19646 | 30 | py | Python | odoo_vps/__init__.py | mario21ic/odoo_vps | b18e4adf879ca781334042b546f2e3d065e90349 | [
"MIT"
] | null | null | null | odoo_vps/__init__.py | mario21ic/odoo_vps | b18e4adf879ca781334042b546f2e3d065e90349 | [
"MIT"
] | null | null | null | odoo_vps/__init__.py | mario21ic/odoo_vps | b18e4adf879ca781334042b546f2e3d065e90349 | [
"MIT"
] | null | null | null | import res_partner
import pdg
| 10 | 18 | 0.866667 | 5 | 30 | 5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 2 | 19 | 15 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f30960c9f871efa41d32a96a569dbebb64fef9c8 | 390 | py | Python | pydow/signals/__init__.py | gijswobben/pydow-2 | e04c1fc37f344988b3a07c4f39b3c43edf3d5bba | [
"MIT"
] | null | null | null | pydow/signals/__init__.py | gijswobben/pydow-2 | e04c1fc37f344988b3a07c4f39b3c43edf3d5bba | [
"MIT"
] | null | null | null | pydow/signals/__init__.py | gijswobben/pydow-2 | e04c1fc37f344988b3a07c4f39b3c43edf3d5bba | [
"MIT"
] | null | null | null | from blinker import signal
signal_navigation_event = signal("signal_navigation_event")
signal_state_update = signal("signal_state_update")
signal_clear_input_field_event = signal("signal_clear_input_field_event")
signal_default_event = signal("signal_default_event")
__all__ = ["signal_navigation_event", "signal_sta... | 35.454545 | 118 | 0.846154 | 51 | 390 | 5.803922 | 0.254902 | 0.260135 | 0.212838 | 0.273649 | 0.851351 | 0.739865 | 0.739865 | 0.52027 | 0.331081 | 0 | 0 | 0 | 0.066667 | 390 | 10 | 119 | 39 | 0.813187 | 0 | 0 | 0 | 0 | 0 | 0.471795 | 0.271795 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b261679480f1c75cd9d6c501b09a4ab9d2891893 | 330 | py | Python | Codewars/8kyu/return-the-day/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | 7 | 2017-09-20T16:40:39.000Z | 2021-08-31T18:15:08.000Z | Codewars/8kyu/return-the-day/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | Codewars/8kyu/return-the-day/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | # Python - 3.6.0
test.describe('Fixed tests')
test.assert_equals(whatday(1), 'Sunday')
test.assert_equals(whatday(2), 'Monday')
test.assert_equals(whatday(3), 'Tuesday')
test.assert_equals(whatday(8), 'Wrong, please enter a number between 1 and 7')
test.assert_equals(whatday(20), 'Wrong, please enter a number between ... | 36.666667 | 79 | 0.745455 | 54 | 330 | 4.462963 | 0.481481 | 0.207469 | 0.33195 | 0.477178 | 0.290456 | 0.290456 | 0.290456 | 0.290456 | 0.290456 | 0 | 0 | 0.043771 | 0.1 | 330 | 8 | 80 | 41.25 | 0.767677 | 0.042424 | 0 | 0 | 0 | 0 | 0.375796 | 0 | 0 | 0 | 0 | 0 | 0.833333 | 1 | 0 | true | 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 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a238c06b26a018246a47faa9f7469c99f51710b2 | 181 | py | Python | rpython/memory/test/test_generational_gc.py | nanjekyejoannah/pypy | e80079fe13c29eda7b2a6b4cd4557051f975a2d9 | [
"Apache-2.0",
"OpenSSL"
] | 381 | 2018-08-18T03:37:22.000Z | 2022-02-06T23:57:36.000Z | rpython/memory/test/test_generational_gc.py | nanjekyejoannah/pypy | e80079fe13c29eda7b2a6b4cd4557051f975a2d9 | [
"Apache-2.0",
"OpenSSL"
] | 16 | 2018-09-22T18:12:47.000Z | 2022-02-22T20:03:59.000Z | rpython/memory/test/test_generational_gc.py | nanjekyejoannah/pypy | e80079fe13c29eda7b2a6b4cd4557051f975a2d9 | [
"Apache-2.0",
"OpenSSL"
] | 55 | 2015-08-16T02:41:30.000Z | 2022-03-20T20:33:35.000Z | from rpython.memory.test import test_semispace_gc
class TestGenerationalGC(test_semispace_gc.TestSemiSpaceGC):
from rpython.memory.gc.generation import GenerationGC as GCClass
| 36.2 | 68 | 0.856354 | 23 | 181 | 6.565217 | 0.608696 | 0.145695 | 0.225166 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093923 | 181 | 4 | 69 | 45.25 | 0.920732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 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 |
a23d70e1ba3afebfe9ebb568d1da68ea55764115 | 28,425 | py | Python | src/the_tale/the_tale/game/cards/tests/test_requests.py | serhii73/the-tale | ee69b033f57fae5004c14afb51f4a6679b189410 | [
"BSD-3-Clause"
] | null | null | null | src/the_tale/the_tale/game/cards/tests/test_requests.py | serhii73/the-tale | ee69b033f57fae5004c14afb51f4a6679b189410 | [
"BSD-3-Clause"
] | 1 | 2022-01-18T12:04:47.000Z | 2022-01-18T12:04:47.000Z | src/the_tale/the_tale/game/cards/tests/test_requests.py | serhii73/the-tale | ee69b033f57fae5004c14afb51f4a6679b189410 | [
"BSD-3-Clause"
] | null | null | null |
import smart_imports
smart_imports.all()
class CardsRequestsTestsBase(utils_testcase.TestCase):
def setUp(self):
super(CardsRequestsTestsBase, self).setUp()
self.place_1, self.place_2, self.place_3 = game_logic.create_test_map()
self.account = self.accounts_factory.create_account()
... | 42.552395 | 153 | 0.669974 | 3,684 | 28,425 | 4.849349 | 0.062432 | 0.045564 | 0.029835 | 0.026868 | 0.852617 | 0.826756 | 0.812035 | 0.792387 | 0.770613 | 0.753149 | 0 | 0.008234 | 0.218153 | 28,425 | 667 | 154 | 42.616192 | 0.795626 | 0.004327 | 0 | 0.662037 | 0 | 0 | 0.053467 | 0.029295 | 0 | 0 | 0 | 0 | 0.150463 | 1 | 0.125 | false | 0 | 0.00463 | 0 | 0.157407 | 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 |
0c00eb36574ccb0512daf5ec46cf007ed601e93f | 3,231 | py | Python | nature_datasets/cifar.py | DSciLab/nature_datasets | 20644200e5ba8af0439ca6c37f579559ac253292 | [
"MIT"
] | null | null | null | nature_datasets/cifar.py | DSciLab/nature_datasets | 20644200e5ba8af0439ca6c37f579559ac253292 | [
"MIT"
] | null | null | null | nature_datasets/cifar.py | DSciLab/nature_datasets | 20644200e5ba8af0439ca6c37f579559ac253292 | [
"MIT"
] | null | null | null | import os
from torchvision import datasets
from torchvision import transforms
from torchvision.transforms.transforms import Resize
from .utils import LinearNormalize
normalize_fn = transforms.Normalize(mean=[0.485, 0.456, 0.406],
std=[0.229, 0.224, 0.225])
linear_normalize_fn = Linea... | 37.569767 | 72 | 0.501393 | 264 | 3,231 | 5.935606 | 0.212121 | 0.063178 | 0.045948 | 0.097001 | 0.783663 | 0.783663 | 0.783663 | 0.745373 | 0.745373 | 0.745373 | 0 | 0.026882 | 0.424327 | 3,231 | 85 | 73 | 38.011765 | 0.815591 | 0 | 0 | 0.760563 | 0 | 0 | 0.022594 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028169 | false | 0 | 0.070423 | 0 | 0.126761 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0c3f7faa319c414c3ca4285127a690a3d365d76b | 40 | py | Python | rest-api/flask_app/long_task/__init__.py | sinedie/Flask-Svelte-Websockets-Nginx-Docker | 76daeec2c76f9f27ca526f53393ab4363020b92b | [
"WTFPL"
] | 4 | 2021-11-21T14:04:15.000Z | 2022-03-20T15:28:14.000Z | rest-api/flask_app/long_task/__init__.py | sinedie/Utimate-flask-websocket-template | 76daeec2c76f9f27ca526f53393ab4363020b92b | [
"WTFPL"
] | null | null | null | rest-api/flask_app/long_task/__init__.py | sinedie/Utimate-flask-websocket-template | 76daeec2c76f9f27ca526f53393ab4363020b92b | [
"WTFPL"
] | null | null | null | from flask_app.long_task.routes import * | 40 | 40 | 0.85 | 7 | 40 | 4.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.864865 | 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 |
0c63fef5822d7b4b3f9e2df4bf61a5b7098baab9 | 60 | py | Python | skforecast/ForecasterAutoregCustom/__init__.py | JoaquinAmatRodrigo/skforecaster | 3ab526d63bbb94ae4bd18ae964197042a675a34a | [
"MIT"
] | 86 | 2021-02-25T08:56:45.000Z | 2022-03-31T01:33:53.000Z | skforecast/ForecasterAutoregCustom/__init__.py | hdiazsqlr/skforecast | 5ee79a51960a27db9e169706014528eae403e1c2 | [
"MIT"
] | 5 | 2021-11-30T22:30:45.000Z | 2022-03-29T10:21:36.000Z | skforecast/ForecasterAutoregCustom/__init__.py | hdiazsqlr/skforecast | 5ee79a51960a27db9e169706014528eae403e1c2 | [
"MIT"
] | 24 | 2021-04-04T09:58:26.000Z | 2022-03-09T15:55:44.000Z | from .ForecasterAutoregCustom import ForecasterAutoregCustom | 60 | 60 | 0.933333 | 4 | 60 | 14 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 60 | 1 | 60 | 60 | 0.982456 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a76fa9b357630943e305f4985792533e00971285 | 240 | py | Python | src/mobot_client/models/exceptions.py | mobilecoinofficial/mobot | 4872e4308beb5305d88dcace94394aaa251f65e1 | [
"MIT"
] | 6 | 2021-07-28T13:49:16.000Z | 2022-02-16T22:08:03.000Z | src/mobot_client/models/exceptions.py | mobilecoinofficial/mobot | 4872e4308beb5305d88dcace94394aaa251f65e1 | [
"MIT"
] | 10 | 2021-08-18T15:18:34.000Z | 2021-09-27T21:40:24.000Z | src/mobot_client/models/exceptions.py | mobilecoinofficial/mobot | 4872e4308beb5305d88dcace94394aaa251f65e1 | [
"MIT"
] | 3 | 2021-07-28T01:17:06.000Z | 2021-09-20T21:19:50.000Z | # Copyright (c) 2021 MobileCoin. All rights reserved.
from django.db.transaction import DatabaseError
class ConcurrentModificationException(DatabaseError):
"""Raise if we're unable to update a coin with optimistic locking"""
pass | 34.285714 | 72 | 0.779167 | 29 | 240 | 6.448276 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.15 | 240 | 7 | 73 | 34.285714 | 0.897059 | 0.483333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
a776c1673c0efd0315b927220e0403b3ebfa93e6 | 2,642 | py | Python | lemur/tests/test_domains.py | bunjiboys/lemur | b5fd8020055d8af07bd6f82f4dd38246dca8d0c5 | [
"Apache-2.0"
] | null | null | null | lemur/tests/test_domains.py | bunjiboys/lemur | b5fd8020055d8af07bd6f82f4dd38246dca8d0c5 | [
"Apache-2.0"
] | 2 | 2020-04-03T09:28:20.000Z | 2020-04-04T04:56:35.000Z | lemur/tests/test_domains.py | scriptsrc/lemur | 914de78576baf66d8f4c0365d8cedb27c6f70663 | [
"Apache-2.0"
] | null | null | null | import pytest
from lemur.domains.views import * # noqa
from .vectors import VALID_ADMIN_HEADER_TOKEN, VALID_USER_HEADER_TOKEN
@pytest.mark.parametrize("token,status", [
(VALID_USER_HEADER_TOKEN, 200),
(VALID_ADMIN_HEADER_TOKEN, 200),
('', 401)
])
def test_domain_get(client, token, status):
assert ... | 30.022727 | 104 | 0.71726 | 358 | 2,642 | 4.994413 | 0.111732 | 0.166107 | 0.089485 | 0.11745 | 0.940157 | 0.919463 | 0.919463 | 0.919463 | 0.919463 | 0.919463 | 0 | 0.037538 | 0.132854 | 2,642 | 87 | 105 | 30.367816 | 0.742907 | 0.001514 | 0 | 0.681818 | 0 | 0 | 0.040971 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 1 | 0.136364 | false | 0 | 0.045455 | 0 | 0.181818 | 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 |
a7c8a4dbb99ebccd4aefe3170c0e80a9a26db499 | 47 | py | Python | learnhtml/__init__.py | nikitautiu/deephtml | 9ef580132feefd862246e8bc1f594329ddd742b0 | [
"Apache-2.0"
] | 28 | 2018-12-03T15:41:43.000Z | 2021-09-17T10:41:46.000Z | learnhtml/__init__.py | microvn/learnhtml | 9ef580132feefd862246e8bc1f594329ddd742b0 | [
"Apache-2.0"
] | 1 | 2019-10-23T06:52:14.000Z | 2019-10-23T07:59:00.000Z | learnhtml/__init__.py | microvn/learnhtml | 9ef580132feefd862246e8bc1f594329ddd742b0 | [
"Apache-2.0"
] | 5 | 2020-04-11T06:37:22.000Z | 2021-03-02T12:28:05.000Z | from . import features, model_selection, utils
| 23.5 | 46 | 0.808511 | 6 | 47 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 47 | 1 | 47 | 47 | 0.902439 | 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 |
a7d4b02feaa2510e27d0cf92281a56b358cb7d3d | 141 | py | Python | shiyanlou_cs596-1805f3c438/mymodule/bars.py | tongxindao/shiyanlou | 1d002ea342deb69066c287db9935f77f49f0a09e | [
"Apache-2.0"
] | null | null | null | shiyanlou_cs596-1805f3c438/mymodule/bars.py | tongxindao/shiyanlou | 1d002ea342deb69066c287db9935f77f49f0a09e | [
"Apache-2.0"
] | null | null | null | shiyanlou_cs596-1805f3c438/mymodule/bars.py | tongxindao/shiyanlou | 1d002ea342deb69066c287db9935f77f49f0a09e | [
"Apache-2.0"
] | null | null | null | """
Bars Module
"""
def starbar(num):
print('*' * num)
def hashbar(num):
print('#' * num)
def simplebar(num):
print('-' * num)
| 11.75 | 20 | 0.531915 | 17 | 141 | 4.411765 | 0.470588 | 0.32 | 0.44 | 0.373333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.234043 | 141 | 11 | 21 | 12.818182 | 0.694444 | 0.078014 | 0 | 0 | 0 | 0 | 0.02459 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
38fe67d26781d71f4e3d156fdcbde14f85fb3266 | 2,930 | py | Python | tests/utils/test_audio.py | toddrme2178/audiomate | 14e932ce9c0b0bebb895d496cb6054521fc80ab1 | [
"MIT"
] | null | null | null | tests/utils/test_audio.py | toddrme2178/audiomate | 14e932ce9c0b0bebb895d496cb6054521fc80ab1 | [
"MIT"
] | null | null | null | tests/utils/test_audio.py | toddrme2178/audiomate | 14e932ce9c0b0bebb895d496cb6054521fc80ab1 | [
"MIT"
] | null | null | null | import os
import numpy as np
import librosa
from audiomate.utils import audio
def test_read_blocks(tmpdir):
wav_path = os.path.join(tmpdir.strpath, 'file.wav')
wav_content = np.random.random(10000)
librosa.output.write_wav(wav_path, wav_content, 16000)
data = [x for x in audio.read_blocks(wav_path,... | 34.069767 | 102 | 0.679863 | 475 | 2,930 | 4.054737 | 0.162105 | 0.083074 | 0.040498 | 0.051921 | 0.847871 | 0.840602 | 0.836449 | 0.807373 | 0.73001 | 0.681205 | 0 | 0.084507 | 0.176109 | 2,930 | 85 | 103 | 34.470588 | 0.713339 | 0 | 0 | 0.655738 | 0 | 0 | 0.016382 | 0 | 0 | 0 | 0 | 0 | 0.360656 | 1 | 0.081967 | false | 0 | 0.065574 | 0 | 0.147541 | 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 |
ac395fec13ccaa2a4986eb9c70df628b4d6a14e7 | 84 | py | Python | service1/create.py | pstyp/fortuneteller | c6e3bdcdb6ff2330965a4adc875576575d19293b | [
"MIT"
] | null | null | null | service1/create.py | pstyp/fortuneteller | c6e3bdcdb6ff2330965a4adc875576575d19293b | [
"MIT"
] | null | null | null | service1/create.py | pstyp/fortuneteller | c6e3bdcdb6ff2330965a4adc875576575d19293b | [
"MIT"
] | null | null | null | from application import db
from application.models import Fortune
db.create_all()
| 16.8 | 39 | 0.821429 | 12 | 84 | 5.666667 | 0.666667 | 0.441176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130952 | 84 | 4 | 40 | 21 | 0.931507 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
3ba99c834c7b68bd0ed17ce8925b4382af2e050c | 27,843 | py | Python | optimization/pre_optimization/no_gg_sdeta_plots/ma_files/Output/Histos/MadAnalysis5job_0/selection_0.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | optimization/pre_optimization/no_gg_sdeta_plots/ma_files/Output/Histos/MadAnalysis5job_0/selection_0.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | optimization/pre_optimization/no_gg_sdeta_plots/ma_files/Output/Histos/MadAnalysis5job_0/selection_0.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | def selection_0():
# Library import
import numpy
import matplotlib
import matplotlib.pyplot as plt
import matplotlib.gridspec as gridspec
# Library version
matplotlib_version = matplotlib.__version__
numpy_version = numpy.__version__
# Histo binning
xBinning = numpy.lin... | 143.520619 | 1,125 | 0.756564 | 5,396 | 27,843 | 3.768347 | 0.243514 | 0.165732 | 0.242992 | 0.316514 | 0.404642 | 0.404642 | 0.403167 | 0.399331 | 0.397462 | 0.397462 | 0 | 0.505021 | 0.059333 | 27,843 | 193 | 1,126 | 144.264249 | 0.271353 | 0.049743 | 0 | 0.185841 | 0 | 0.00885 | 0.039437 | 0.007569 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00885 | false | 0 | 0.035398 | 0 | 0.044248 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3bb042b059d140b2ca24d651b9f81ffa05bffed2 | 41 | py | Python | spvcm/both_levels/generic/__init__.py | weikang9009/spvcm | 00ec35331e0e1a67bcd841a6b3761a23099617f7 | [
"MIT"
] | 14 | 2017-05-21T08:29:08.000Z | 2021-09-22T00:29:15.000Z | spvcm/both_levels/generic/__init__.py | weikang9009/spvcm | 00ec35331e0e1a67bcd841a6b3761a23099617f7 | [
"MIT"
] | 12 | 2018-05-11T11:13:21.000Z | 2020-02-07T14:23:12.000Z | spvcm/both_levels/generic/__init__.py | weikang9009/spvcm | 00ec35331e0e1a67bcd841a6b3761a23099617f7 | [
"MIT"
] | 8 | 2017-05-20T00:55:40.000Z | 2020-07-02T14:52:49.000Z | from .model import Generic, Base_Generic
| 20.5 | 40 | 0.829268 | 6 | 41 | 5.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 41 | 1 | 41 | 41 | 0.916667 | 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 |
3bd689e55d3fc1fd7cdb42709809f2ada575b55b | 743 | py | Python | src/py/Mapping.py | gul2u/decipher | 512a9860f625472cc0ada0c69f822b8cdcc33d43 | [
"MIT"
] | null | null | null | src/py/Mapping.py | gul2u/decipher | 512a9860f625472cc0ada0c69f822b8cdcc33d43 | [
"MIT"
] | 1 | 2021-06-11T19:53:25.000Z | 2021-06-11T19:53:25.000Z | src/py/Mapping.py | gul2u/decipher | 512a9860f625472cc0ada0c69f822b8cdcc33d43 | [
"MIT"
] | 1 | 2017-10-09T10:54:00.000Z | 2017-10-09T10:54:00.000Z | #!/usr/bin/env python
""" generated source for module Mapping """
class Mapping(object):
""" generated source for class Mapping """
key = []
def __init__(self):
""" generated source for method __init__ """
self.key = ["#"]*26
@classmethod
def fromTranslation(self, cipher, translati... | 27.518519 | 62 | 0.581427 | 82 | 743 | 5.109756 | 0.390244 | 0.214797 | 0.257757 | 0.229117 | 0.210024 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009346 | 0.279946 | 743 | 26 | 63 | 28.576923 | 0.773832 | 0.327052 | 0 | 0 | 1 | 0 | 0.006494 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
3bfcd517f16a12784f8b4c18b2b187cc31e2580b | 44 | py | Python | venv/Lib/site-packages/bilibili_api/user.py | Lparksi/bot | 8a38953d09436b60e8edff4ebe86bf19fe3b7046 | [
"MIT"
] | 3 | 2020-03-31T10:36:31.000Z | 2020-04-23T12:01:10.000Z | bilibili_api/user.py | DeSireFire/bilibili_api | 23fc1b982cbb7b4a2afbb350fa6fae1b05a41df5 | [
"MIT"
] | 1 | 2020-07-16T14:51:26.000Z | 2020-07-30T12:46:55.000Z | bilibili_api/user.py | DeSireFire/bilibili_api | 23fc1b982cbb7b4a2afbb350fa6fae1b05a41df5 | [
"MIT"
] | null | null | null | from .src.user import UserInfo, UserOperate
| 22 | 43 | 0.818182 | 6 | 44 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 44 | 1 | 44 | 44 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0218b3113ab8415a9b8afa092eabf915ad20827c | 22,888 | py | Python | purequant/trade/bitmex.py | cyqdev/PureQuant | ebaac21c2d263ad4632a4318ed0bf92e718b78c2 | [
"MIT"
] | null | null | null | purequant/trade/bitmex.py | cyqdev/PureQuant | ebaac21c2d263ad4632a4318ed0bf92e718b78c2 | [
"MIT"
] | null | null | null | purequant/trade/bitmex.py | cyqdev/PureQuant | ebaac21c2d263ad4632a4318ed0bf92e718b78c2 | [
"MIT"
] | 1 | 2020-12-09T06:42:44.000Z | 2020-12-09T06:42:44.000Z | """
bitmex
Author: Gary-Hertel
Date: 2020/10/27
email: purequant@foxmail.com
"""
import time
from purequant.exchange.bitmex.bitmex import Bitmex
from purequant.config import config
from purequant.exceptions import *
class BITMEX:
def __init__(self, access_key, secret_key, instrument_id, leverage=None, testing=... | 49.434125 | 116 | 0.517258 | 2,248 | 22,888 | 5.04226 | 0.102758 | 0.118306 | 0.051875 | 0.067755 | 0.789149 | 0.775562 | 0.761094 | 0.752448 | 0.723335 | 0.715395 | 0 | 0.005436 | 0.373034 | 22,888 | 463 | 117 | 49.434125 | 0.78446 | 0.102281 | 0 | 0.781407 | 0 | 0 | 0.065855 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035176 | false | 0 | 0.01005 | 0 | 0.21608 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
021ae2ac2f22937831f2234fa4818ce632b624f2 | 45 | py | Python | PersianStemmer/__init__.py | MrHTZ/PersianStemmer-Python | 0fed1e51d11bc718608e42daad4685e1fc50a955 | [
"BSD-2-Clause"
] | 44 | 2017-02-16T03:56:08.000Z | 2022-02-27T17:31:47.000Z | PersianStemmer/__init__.py | MrHTZ/PersianStemmer-Python | 0fed1e51d11bc718608e42daad4685e1fc50a955 | [
"BSD-2-Clause"
] | 4 | 2017-03-18T07:07:52.000Z | 2021-06-20T10:15:43.000Z | PersianStemmer/__init__.py | MrHTZ/PersianStemmer-Python | 0fed1e51d11bc718608e42daad4685e1fc50a955 | [
"BSD-2-Clause"
] | 13 | 2017-02-16T03:30:06.000Z | 2022-01-27T21:34:12.000Z | from .persian_stemmer import PersianStemmer
| 15 | 43 | 0.866667 | 5 | 45 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 45 | 2 | 44 | 22.5 | 0.95 | 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 |
0230456d4eca9070c12d4f497a54b24929a4c7e6 | 3,072 | py | Python | generativepy/drawing3d.py | LloydTao/generativepy | 8bf6afed57200cbebd3163e4fdc730fc8761e753 | [
"MIT"
] | 58 | 2019-06-15T16:09:28.000Z | 2022-03-25T03:24:26.000Z | generativepy/drawing3d.py | LloydTao/generativepy | 8bf6afed57200cbebd3163e4fdc730fc8761e753 | [
"MIT"
] | 1 | 2021-09-09T16:12:18.000Z | 2021-09-09T18:13:05.000Z | generativepy/drawing3d.py | LloydTao/generativepy | 8bf6afed57200cbebd3163e4fdc730fc8761e753 | [
"MIT"
] | 4 | 2020-07-26T10:54:19.000Z | 2021-11-17T17:24:13.000Z | # Author: Martin McBride
# Created: 2021-019-01
# Copyright (C) 2018, Martin McBride
# License: MIT
import moderngl
import numpy as np
from PIL import Image
from generativepy.color import Color
def make_3dimage(outfile, draw, width, height, background=Color(0), channels=3):
'''
Create a PNG file using moder... | 30.415842 | 85 | 0.655599 | 409 | 3,072 | 4.885086 | 0.217604 | 0.055055 | 0.044044 | 0.064064 | 0.847848 | 0.834835 | 0.802803 | 0.734234 | 0.734234 | 0.708208 | 0 | 0.019583 | 0.235352 | 3,072 | 100 | 86 | 30.72 | 0.830992 | 0.38151 | 0 | 0.571429 | 0 | 0 | 0.009292 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095238 | false | 0 | 0.095238 | 0 | 0.214286 | 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 |
0253f2d791e34784a2716988f07264ef04a2e9f7 | 23 | py | Python | examples/pytorch/transformer/optims/__init__.py | ketyi/dgl | a1b859c29b63a673c148d13231a49504740e0e01 | [
"Apache-2.0"
] | 9,516 | 2018-12-08T22:11:31.000Z | 2022-03-31T13:04:33.000Z | examples/pytorch/transformer/optims/__init__.py | ketyi/dgl | a1b859c29b63a673c148d13231a49504740e0e01 | [
"Apache-2.0"
] | 2,494 | 2018-12-08T22:43:00.000Z | 2022-03-31T21:16:27.000Z | examples/pytorch/transformer/optims/__init__.py | ketyi/dgl | a1b859c29b63a673c148d13231a49504740e0e01 | [
"Apache-2.0"
] | 2,529 | 2018-12-08T22:56:14.000Z | 2022-03-31T13:07:41.000Z | from .noamopt 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 |
02580c94d5bd172f63846fe2186b41ccecc18df3 | 2,871 | py | Python | huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v1/model/__init__.py | handsome-baby/huaweicloud-sdk-python-v3 | 6cdcf1da8b098427e58fc3335a387c14df7776d0 | [
"Apache-2.0"
] | 1 | 2021-04-16T07:59:28.000Z | 2021-04-16T07:59:28.000Z | huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v1/model/__init__.py | Lencof/huaweicloud-sdk-python-v3 | d13dc4e2830a83e295be6e4de021999b3376e34e | [
"Apache-2.0"
] | null | null | null | huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v1/model/__init__.py | Lencof/huaweicloud-sdk-python-v3 | d13dc4e2830a83e295be6e4de021999b3376e34e | [
"Apache-2.0"
] | 1 | 2022-01-17T02:24:18.000Z | 2022-01-17T02:24:18.000Z | # coding: utf-8
from __future__ import absolute_import
# import models into model package
from huaweicloudsdkmoderation.v1.model.check_result_items_body import CheckResultItemsBody
from huaweicloudsdkmoderation.v1.model.check_result_result_body import CheckResultResultBody
from huaweicloudsdkmoderation.v1.model.check... | 84.441176 | 124 | 0.925113 | 300 | 2,871 | 8.533333 | 0.203333 | 0.30625 | 0.328125 | 0.382813 | 0.564844 | 0.549219 | 0.402734 | 0.180469 | 0 | 0 | 0 | 0.010569 | 0.044235 | 2,871 | 33 | 125 | 87 | 0.922376 | 0.016022 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
025b41bb8183cef7680fc9922ad47c596b8c661c | 2,547 | py | Python | epytope/Data/pssms/smmpmbec/mat/B_15_01_10.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/smmpmbec/mat/B_15_01_10.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/smmpmbec/mat/B_15_01_10.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | B_15_01_10 = {0: {'A': 0.021, 'C': 0.026, 'E': 0.281, 'D': 0.246, 'G': 0.122, 'F': -0.243, 'I': -0.322, 'H': -0.032, 'K': 0.025, 'M': -0.21, 'L': -0.24, 'N': 0.097, 'Q': 0.141, 'P': 0.331, 'S': 0.061, 'R': -0.192, 'T': 0.154, 'W': -0.088, 'V': -0.018, 'Y': -0.16}, 1: {'A': -0.027, 'C': 0.239, 'E': -0.229, 'D': 0.338, '... | 2,547 | 2,547 | 0.393404 | 618 | 2,547 | 1.616505 | 0.291262 | 0.02002 | 0.008008 | 0.01001 | 0.04004 | 0 | 0 | 0 | 0 | 0 | 0 | 0.372714 | 0.162544 | 2,547 | 1 | 2,547 | 2,547 | 0.09564 | 0 | 0 | 0 | 0 | 0 | 0.07967 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
028b5381922ead5eb2768a8b8b2cf59ad08210fe | 294 | py | Python | RecoParticleFlow/PFClusterProducer/python/particleFlowBadHcalPseudoCluster_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 6 | 2017-09-08T14:12:56.000Z | 2022-03-09T23:57:01.000Z | RecoParticleFlow/PFClusterProducer/python/particleFlowBadHcalPseudoCluster_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 545 | 2017-09-19T17:10:19.000Z | 2022-03-07T16:55:27.000Z | RecoParticleFlow/PFClusterProducer/python/particleFlowBadHcalPseudoCluster_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 14 | 2017-10-04T09:47:21.000Z | 2019-10-23T18:04:45.000Z | from RecoParticleFlow.PFClusterProducer.particleFlowBadHcalPseudoCluster_cfi import *
# OFF by default, turned on via modifier
from Configuration.Eras.Modifier_pf_badHcalMitigation_cff import pf_badHcalMitigation
pf_badHcalMitigation.toModify(particleFlowBadHcalPseudoCluster, enable = True)
| 42 | 85 | 0.884354 | 29 | 294 | 8.758621 | 0.724138 | 0.224409 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07483 | 294 | 6 | 86 | 49 | 0.933824 | 0.129252 | 0 | 0 | 0 | 0 | 0 | 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 |
5a29cd056bc93e8690bbfd371e1b73176e0ce932 | 14,657 | py | Python | multiple-languages/python/ros-cdk-cas-1.0.4/src/ros_cdk_cas/__init__.py | piotr-kalanski/Resource-Orchestration-Service-Cloud-Development-Kit | 2a12deea757ac69e69708dd9fd159fba12cfba0e | [
"Apache-2.0"
] | null | null | null | multiple-languages/python/ros-cdk-cas-1.0.4/src/ros_cdk_cas/__init__.py | piotr-kalanski/Resource-Orchestration-Service-Cloud-Development-Kit | 2a12deea757ac69e69708dd9fd159fba12cfba0e | [
"Apache-2.0"
] | null | null | null | multiple-languages/python/ros-cdk-cas-1.0.4/src/ros_cdk_cas/__init__.py | piotr-kalanski/Resource-Orchestration-Service-Cloud-Development-Kit | 2a12deea757ac69e69708dd9fd159fba12cfba0e | [
"Apache-2.0"
] | null | null | null | '''
## Aliyun ROS CAS Construct Library
This module is part of the AliCloud ROS Cloud Development Kit (ROS CDK) project.
```python
import * as CAS from '@alicloud/ros-cdk-cas';
```
'''
import abc
import builtins
import datetime
import enum
import typing
import jsii
import publication
import typing_extensions
from .... | 37.200508 | 125 | 0.651361 | 1,763 | 14,657 | 5.257516 | 0.080545 | 0.038839 | 0.058259 | 0.111015 | 0.84076 | 0.836013 | 0.816917 | 0.812385 | 0.812385 | 0.784119 | 0 | 0 | 0.225762 | 14,657 | 393 | 126 | 37.295165 | 0.816796 | 0.209252 | 0 | 0.668016 | 0 | 0 | 0.090826 | 0.028332 | 0 | 0 | 0 | 0 | 0.024292 | 1 | 0.149798 | false | 0 | 0.040486 | 0.032389 | 0.315789 | 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 |
5a2ee27552d1f96d324017b48d32b0254604716e | 4,165 | py | Python | notebook/pandas_index.py | vhn0912/python-snippets | 80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038 | [
"MIT"
] | 174 | 2018-05-30T21:14:50.000Z | 2022-03-25T07:59:37.000Z | notebook/pandas_index.py | vhn0912/python-snippets | 80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038 | [
"MIT"
] | 5 | 2019-08-10T03:22:02.000Z | 2021-07-12T20:31:17.000Z | notebook/pandas_index.py | vhn0912/python-snippets | 80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038 | [
"MIT"
] | 53 | 2018-04-27T05:26:35.000Z | 2022-03-25T07:59:37.000Z | import pandas as pd
df = pd.read_csv('data/src/sample_pandas_normal.csv', index_col=0)
print(df)
# age state point
# name
# Alice 24 NY 64
# Bob 42 CA 92
# Charlie 18 CA 70
# Dave 68 TX 70
# Ellen 24 CA 88
# Frank 30 NY 5... | 21.921053 | 66 | 0.482833 | 563 | 4,165 | 3.564831 | 0.101243 | 0.076731 | 0.082212 | 0.119581 | 0.849028 | 0.78575 | 0.78575 | 0.743896 | 0.667663 | 0.666667 | 0 | 0.107184 | 0.37503 | 4,165 | 189 | 67 | 22.037037 | 0.663849 | 0.694838 | 0 | 0 | 0 | 0 | 0.149293 | 0.029152 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.026316 | 0 | 0.026316 | 0.947368 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
5a41a4ffbc0d091352cde5c55ba7ea8a74121e44 | 48 | py | Python | home_server/__init__.py | wwakabobik/home | 518167bb705a18e5697bb261942dc1e10eac5bf0 | [
"MIT"
] | null | null | null | home_server/__init__.py | wwakabobik/home | 518167bb705a18e5697bb261942dc1e10eac5bf0 | [
"MIT"
] | null | null | null | home_server/__init__.py | wwakabobik/home | 518167bb705a18e5697bb261942dc1e10eac5bf0 | [
"MIT"
] | 1 | 2021-12-01T08:34:05.000Z | 2021-12-01T08:34:05.000Z | from .home_server import db, secure_data, pages
| 24 | 47 | 0.8125 | 8 | 48 | 4.625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 48 | 1 | 48 | 48 | 0.880952 | 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 |
5a64afc4a130bda947c81ebe572c99d40d2afbaf | 600 | py | Python | temboo/core/Library/Google/Drive/Comments/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/Google/Drive/Comments/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/Google/Drive/Comments/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | from temboo.Library.Google.Drive.Comments.Delete import Delete, DeleteInputSet, DeleteResultSet, DeleteChoreographyExecution
from temboo.Library.Google.Drive.Comments.Get import Get, GetInputSet, GetResultSet, GetChoreographyExecution
from temboo.Library.Google.Drive.Comments.Insert import Insert, InsertInputSet, Inser... | 100 | 124 | 0.875 | 60 | 600 | 8.75 | 0.45 | 0.095238 | 0.161905 | 0.219048 | 0.342857 | 0.342857 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058333 | 600 | 5 | 125 | 120 | 0.929204 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ce68278280d2e05ebea1096dd1e6a3a7ce5bee68 | 7,371 | py | Python | runs/run_server_Icons.py | aliborji/ShapeDefence | 92da19bb195b5161d997f6ee1cc777b07a714f6f | [
"MIT"
] | null | null | null | runs/run_server_Icons.py | aliborji/ShapeDefence | 92da19bb195b5161d997f6ee1cc777b07a714f6f | [
"MIT"
] | 1 | 2022-03-12T00:40:21.000Z | 2022-03-12T00:40:21.000Z | runs/run_server_Icons.py | aliborji/ShapeDefense | 92da19bb195b5161d997f6ee1cc777b07a714f6f | [
"MIT"
] | null | null | null | from lib import *
from config import *
from model import build_model, build_model_resNet
from utils import *
import torchattacks
from torchattacks import PGD, FGSM
import os
from torch.utils.data import Dataset, DataLoader
import pandas as pd
from os.path import isfile, join, abspath, exists, isdir, expanduser
from os... | 41.178771 | 175 | 0.669923 | 998 | 7,371 | 4.659319 | 0.114228 | 0.045161 | 0.065376 | 0.07914 | 0.832903 | 0.824301 | 0.809462 | 0.808602 | 0.782366 | 0.777204 | 0 | 0.006055 | 0.148555 | 7,371 | 178 | 176 | 41.410112 | 0.734863 | 0.133903 | 0 | 0.45098 | 0 | 0 | 0.219727 | 0.029998 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.137255 | 0 | 0.137255 | 0.098039 | 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 |
ce70d9449a471ef6867f6ac5b22a0ff0c870e188 | 165 | py | Python | backend/handlers/graphql/action_deserializers/template_deserializer.py | al-indigo/vmemperor | 80eb6d47d839a4736eb6f9d2fcfad35f0a7b3bb1 | [
"Apache-2.0"
] | null | null | null | backend/handlers/graphql/action_deserializers/template_deserializer.py | al-indigo/vmemperor | 80eb6d47d839a4736eb6f9d2fcfad35f0a7b3bb1 | [
"Apache-2.0"
] | 8 | 2017-10-11T13:26:10.000Z | 2021-12-13T20:27:52.000Z | backend/handlers/graphql/action_deserializers/template_deserializer.py | ispras/vmemperor | 80eb6d47d839a4736eb6f9d2fcfad35f0a7b3bb1 | [
"Apache-2.0"
] | 4 | 2017-07-27T12:25:42.000Z | 2018-01-28T02:06:26.000Z | from handlers.graphql.types.template import TemplateActions
class TemplateDeserializer:
def __init__(self, is_default):
self.is_default = is_default
| 18.333333 | 59 | 0.769697 | 19 | 165 | 6.315789 | 0.736842 | 0.225 | 0.216667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169697 | 165 | 8 | 60 | 20.625 | 0.875912 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 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 |
ce8fe1aa282a90ee89f3d228e07b444cb13635d3 | 199 | py | Python | TODO.py | OsciiArt/Cookpad | b2245f84db0650d6282c97c98600de825c6ed6e0 | [
"MIT"
] | null | null | null | TODO.py | OsciiArt/Cookpad | b2245f84db0650d6282c97c98600de825c6ed6e0 | [
"MIT"
] | null | null | null | TODO.py | OsciiArt/Cookpad | b2245f84db0650d6282c97c98600de825c6ed6e0 | [
"MIT"
] | null | null | null | # TODO cycle learning
# TODO mix like DSB
# TODO noise mix up
# TODO more simple model
# TODO GAN aug
# TODO remove aug in valid
# TODO
# TODO
# TODO
# TODO
# TODO
# TODO
# TODO
# TODO
# TODO
# TODO
| 11.705882 | 26 | 0.673367 | 33 | 199 | 4.060606 | 0.484848 | 0.537313 | 0.716418 | 0.835821 | 0.298507 | 0.298507 | 0.298507 | 0.298507 | 0.298507 | 0 | 0 | 0 | 0.246231 | 199 | 16 | 27 | 12.4375 | 0.893333 | 0.834171 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.0625 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
cea79ca204fa1d322506ad9d667ab45bf7b5817c | 96 | py | Python | venv/lib/python3.8/site-packages/pip/_internal/models/candidate.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pip/_internal/models/candidate.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pip/_internal/models/candidate.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/6f/66/a2/b9f843e63644234ce111a327fe8d5546575513627e30fb2a3e9718d83b | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.479167 | 0 | 96 | 1 | 96 | 96 | 0.416667 | 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 |
ceb9ffae0467bc42363389809940ed67164f6617 | 82 | py | Python | bgcArgoDMQC/util/__init__.py | ArgoCanada/BGC-QC | c058f3e1a1992fc961ce2c4d5862d426725c1e43 | [
"MIT"
] | null | null | null | bgcArgoDMQC/util/__init__.py | ArgoCanada/BGC-QC | c058f3e1a1992fc961ce2c4d5862d426725c1e43 | [
"MIT"
] | 16 | 2020-07-15T12:26:26.000Z | 2020-10-14T14:28:04.000Z | bgcArgoDMQC/util/__init__.py | ArgoCanada/bgcArgo | 500cd10526e5b88393310d457eebaef19d49e4d8 | [
"MIT"
] | 1 | 2020-08-30T02:40:33.000Z | 2020-08-30T02:40:33.000Z |
from .array import *
from .geo import *
from .stats import *
from .util import *
| 13.666667 | 20 | 0.695122 | 12 | 82 | 4.75 | 0.5 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207317 | 82 | 5 | 21 | 16.4 | 0.876923 | 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 |
cebea34fd924c5f022bc61c2b7d1ad8d37a5abd2 | 230 | py | Python | algorithms/search/__init__.py | zhengli0817/algorithms | 3c98813f0329d9a5fff1107dbcd40e7f38d2275d | [
"MIT"
] | null | null | null | algorithms/search/__init__.py | zhengli0817/algorithms | 3c98813f0329d9a5fff1107dbcd40e7f38d2275d | [
"MIT"
] | null | null | null | algorithms/search/__init__.py | zhengli0817/algorithms | 3c98813f0329d9a5fff1107dbcd40e7f38d2275d | [
"MIT"
] | null | null | null | from .binary_search import *
from .first_occurance import *
from .last_occurance import *
from .search_insert import *
from .two_sum import *
from .search_range import *
from .find_min_rotate import *
from .search_rotate import *
| 25.555556 | 30 | 0.791304 | 33 | 230 | 5.242424 | 0.424242 | 0.404624 | 0.277457 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13913 | 230 | 8 | 31 | 28.75 | 0.873737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
cebeb8fd8b1515ec6fed7278950597724fdf1da8 | 64 | py | Python | timesformer_pytorch/__init__.py | halixness/generative_timesformer_pytorch | c91989f804f3d0c9821b14e2f2e77c48ef47f5f0 | [
"MIT"
] | 565 | 2021-02-11T04:18:16.000Z | 2022-03-31T03:54:49.000Z | timesformer_pytorch/__init__.py | halixness/generative_timesformer_pytorch | c91989f804f3d0c9821b14e2f2e77c48ef47f5f0 | [
"MIT"
] | 20 | 2021-02-11T17:53:25.000Z | 2021-11-09T09:35:12.000Z | timesformer_pytorch/__init__.py | halixness/generative_timesformer_pytorch | c91989f804f3d0c9821b14e2f2e77c48ef47f5f0 | [
"MIT"
] | 73 | 2021-02-11T23:46:08.000Z | 2022-02-01T13:48:31.000Z | from timesformer_pytorch.timesformer_pytorch import TimeSformer
| 32 | 63 | 0.921875 | 7 | 64 | 8.142857 | 0.571429 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 64 | 1 | 64 | 64 | 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 | 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 |
0b44c4ac26a16debef16f60723fc74ab637a02a6 | 27,461 | py | Python | flash/audio/speech_recognition/data.py | dudeperf3ct/lightning-flash | a855cd14cf1cd0301b4a2f82c0c95e4d8d986650 | [
"Apache-2.0"
] | 1 | 2022-03-09T22:40:05.000Z | 2022-03-09T22:40:05.000Z | flash/audio/speech_recognition/data.py | dudeperf3ct/lightning-flash | a855cd14cf1cd0301b4a2f82c0c95e4d8d986650 | [
"Apache-2.0"
] | null | null | null | flash/audio/speech_recognition/data.py | dudeperf3ct/lightning-flash | a855cd14cf1cd0301b4a2f82c0c95e4d8d986650 | [
"Apache-2.0"
] | null | null | null | # Copyright The PyTorch Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to i... | 49.479279 | 119 | 0.627326 | 3,053 | 27,461 | 5.438257 | 0.083197 | 0.012949 | 0.021141 | 0.027104 | 0.862013 | 0.833464 | 0.819009 | 0.805035 | 0.78799 | 0.768596 | 0 | 0.008373 | 0.264994 | 27,461 | 554 | 120 | 49.568592 | 0.814209 | 0.649467 | 0 | 0.597222 | 0 | 0 | 0.020376 | 0.018112 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027778 | false | 0 | 0.069444 | 0 | 0.152778 | 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 |
0b8d614176f053126ea25cc222a3f9f4e44ba447 | 4,353 | py | Python | testsuite/splineinverse-knots-ascend-reg/run.py | luyatshimbalanga/OpenShadingLanguage | 2120647911af732f0d12d70e2f7f4e1ebe8fadcb | [
"BSD-3-Clause"
] | 1,105 | 2015-01-02T20:47:19.000Z | 2021-01-25T13:20:56.000Z | testsuite/splineinverse-knots-ascend-reg/run.py | luyatshimbalanga/OpenShadingLanguage | 2120647911af732f0d12d70e2f7f4e1ebe8fadcb | [
"BSD-3-Clause"
] | 696 | 2015-01-07T23:42:08.000Z | 2021-01-25T03:55:08.000Z | testsuite/splineinverse-knots-ascend-reg/run.py | luyatshimbalanga/OpenShadingLanguage | 2120647911af732f0d12d70e2f7f4e1ebe8fadcb | [
"BSD-3-Clause"
] | 248 | 2015-01-05T13:41:28.000Z | 2021-01-24T23:29:55.000Z | #!/usr/bin/env python
# Copyright Contributors to the Open Shading Language project.
# SPDX-License-Identifier: BSD-3-Clause
# https://github.com/AcademySoftwareFoundation/OpenShadingLanguage
command += testshade("-t 1 -g 64 64 --center -od uint8 -o Fout splineinverse_c_float_v_floatarray.tif test_splineinverse_c_flo... | 77.732143 | 187 | 0.828164 | 672 | 4,353 | 4.949405 | 0.08631 | 0.14071 | 0.016236 | 0.02706 | 0.938966 | 0.938966 | 0.938966 | 0.687011 | 0.489477 | 0.489477 | 0 | 0.02845 | 0.079485 | 4,353 | 55 | 188 | 79.145455 | 0.801597 | 0.048243 | 0 | 0 | 0 | 0.236842 | 0.791878 | 0.539521 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f02747ff47115ba774a4c8feaed53ea19288b2a4 | 83 | py | Python | utils/__init__.py | DK-Darkness/Bing-Linkedin-Crawler | 00d35c4f62816e23c18449a0fd97b08e03730c2f | [
"Apache-2.0"
] | 1 | 2020-09-17T07:29:04.000Z | 2020-09-17T07:29:04.000Z | utils/__init__.py | DK-Darkness/Bing-Linkedin-Crawler | 00d35c4f62816e23c18449a0fd97b08e03730c2f | [
"Apache-2.0"
] | null | null | null | utils/__init__.py | DK-Darkness/Bing-Linkedin-Crawler | 00d35c4f62816e23c18449a0fd97b08e03730c2f | [
"Apache-2.0"
] | 1 | 2020-09-17T07:29:06.000Z | 2020-09-17T07:29:06.000Z | from .bingSpider import *
from .linkedinSpider import *
from .nameGuessing import * | 27.666667 | 29 | 0.795181 | 9 | 83 | 7.333333 | 0.555556 | 0.30303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13253 | 83 | 3 | 30 | 27.666667 | 0.916667 | 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 |
f04dac056f012ac2112c994e89ee8cea9fb42239 | 46 | py | Python | pdip/dependency/provider/__init__.py | ahmetcagriakca/pdip | c4c16d5666a740154cabdc6762cd44d98b7bdde8 | [
"MIT"
] | 2 | 2021-12-09T21:07:46.000Z | 2021-12-11T22:18:01.000Z | pdip/dependency/provider/__init__.py | fmuyilmaz/pdip | f7e30b0c04d9e85ef46b0b7094fafd3ce18bccab | [
"MIT"
] | null | null | null | pdip/dependency/provider/__init__.py | fmuyilmaz/pdip | f7e30b0c04d9e85ef46b0b7094fafd3ce18bccab | [
"MIT"
] | 3 | 2021-11-15T00:47:00.000Z | 2021-12-17T11:35:45.000Z | from .service_provider import ServiceProvider
| 23 | 45 | 0.891304 | 5 | 46 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f05690f058f7e6cfee91bd2f2ebf1116cd197c27 | 138 | py | Python | market_maker/utils/errors.py | mwithi/sample-market-maker | 92d20ae6f1bb52ff0373183f916aba9a90dae70c | [
"Apache-2.0"
] | 1,524 | 2016-08-25T07:07:58.000Z | 2022-03-30T19:51:39.000Z | market_maker/utils/errors.py | mwithi/sample-market-maker | 92d20ae6f1bb52ff0373183f916aba9a90dae70c | [
"Apache-2.0"
] | 222 | 2016-12-13T13:48:18.000Z | 2022-03-10T07:30:13.000Z | market_maker/utils/errors.py | mwithi/sample-market-maker | 92d20ae6f1bb52ff0373183f916aba9a90dae70c | [
"Apache-2.0"
] | 930 | 2016-08-16T13:05:44.000Z | 2022-03-31T15:29:00.000Z | class AuthenticationError(Exception):
pass
class MarketClosedError(Exception):
pass
class MarketEmptyError(Exception):
pass
| 15.333333 | 37 | 0.768116 | 12 | 138 | 8.833333 | 0.5 | 0.367925 | 0.339623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 138 | 8 | 38 | 17.25 | 0.921739 | 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 |
f0730c45bb9c4968c86a0758632c4310be1797e1 | 148 | py | Python | jointly/__init__.py | hpi-dhc/jointly | b56fca228b2705cf795ae453cd1d77c0567f099e | [
"MIT"
] | 7 | 2020-10-14T11:57:35.000Z | 2021-12-28T11:32:45.000Z | jointly/__init__.py | hpi-dhc/jointly | b56fca228b2705cf795ae453cd1d77c0567f099e | [
"MIT"
] | 5 | 2021-08-18T09:04:16.000Z | 2021-12-27T19:24:24.000Z | jointly/__init__.py | hpi-dhc/jointly | b56fca228b2705cf795ae453cd1d77c0567f099e | [
"MIT"
] | 1 | 2021-05-06T07:57:38.000Z | 2021-05-06T07:57:38.000Z | from .abstract_extractor import *
from .shake_extractor import *
from .synchronizer import *
from .helpers import *
from .helpers_plotting import *
| 24.666667 | 33 | 0.797297 | 18 | 148 | 6.388889 | 0.444444 | 0.347826 | 0.330435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 148 | 5 | 34 | 29.6 | 0.898438 | 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 |
b2f83b81f0bb3a61ff834b5aa6b2cffba155bd2f | 119 | py | Python | ditat_etl/utils/entity_resolution/__init__.py | ditat-llc/ditat_etl | 3d4846ecb9663f9d3de2473aaf4bbcf52f735beb | [
"MIT"
] | 4 | 2021-08-11T23:05:37.000Z | 2022-03-22T18:43:35.000Z | ditat_etl/utils/entity_resolution/__init__.py | ditat-llc/ditat_etl | 3d4846ecb9663f9d3de2473aaf4bbcf52f735beb | [
"MIT"
] | null | null | null | ditat_etl/utils/entity_resolution/__init__.py | ditat-llc/ditat_etl | 3d4846ecb9663f9d3de2473aaf4bbcf52f735beb | [
"MIT"
] | null | null | null | from .matcher import Matcher
from .industry_standard import IndustryStandard
from .industry_naics import NaicsStandard
| 29.75 | 47 | 0.87395 | 14 | 119 | 7.285714 | 0.571429 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10084 | 119 | 3 | 48 | 39.666667 | 0.953271 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.