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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ff8204ea6cd7505292b14f3ef759a40db098e045 | 109 | py | Python | conan/tools/system/__init__.py | bb010g/conan | 652fc219f50cd823550d180618e2b0e86f690129 | [
"MIT"
] | null | null | null | conan/tools/system/__init__.py | bb010g/conan | 652fc219f50cd823550d180618e2b0e86f690129 | [
"MIT"
] | null | null | null | conan/tools/system/__init__.py | bb010g/conan | 652fc219f50cd823550d180618e2b0e86f690129 | [
"MIT"
] | null | null | null | from conan.tools.system.package_manager import Apt, Yum, Dnf, Brew, Pkg, PkgUtil, Chocolatey, PacMan, Zypper
| 54.5 | 108 | 0.788991 | 16 | 109 | 5.3125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110092 | 109 | 1 | 109 | 109 | 0.876289 | 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 |
442549d74a3bbb83a29028654f37dd1b8a51a153 | 276 | py | Python | python/anyascii/_data/_2ca.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_2ca.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_2ca.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | b=' Mao Qi Yang Nian Gong Kai Wan Tian Zang Pi Ge You Xu Hui Sang Guang Chao Bei Huo Xun Lai Mao Yu Zhan Nong Guang' | 276 | 276 | 0.315217 | 27 | 276 | 3.222222 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.673913 | 276 | 1 | 276 | 276 | 0.966667 | 0 | 0 | 0 | 0 | 1 | 0.981949 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
443a43bae0914112158a6eebd1eb144fe5b977ae | 199 | py | Python | ocr/augmentation/__init__.py | RoadoneP/Korean_license_plate_recognition | 2a07c21a5c50c5fbb214bd587ab2c95ce5b6ef65 | [
"MIT"
] | 7 | 2021-12-26T13:08:16.000Z | 2022-02-21T02:27:47.000Z | ocr/augmentation/__init__.py | RoadoneP/Korean_license_plate_recognition | 2a07c21a5c50c5fbb214bd587ab2c95ce5b6ef65 | [
"MIT"
] | null | null | null | ocr/augmentation/__init__.py | RoadoneP/Korean_license_plate_recognition | 2a07c21a5c50c5fbb214bd587ab2c95ce5b6ef65 | [
"MIT"
] | null | null | null | from .geometric_distortion import RandomTranslation, RandomScalingAndRotation, RandomShearing
from .color_distortion import ColorDistorion, GaussianBlur
from .augmentation import SequentialTransform
| 49.75 | 93 | 0.894472 | 17 | 199 | 10.352941 | 0.705882 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075377 | 199 | 3 | 94 | 66.333333 | 0.956522 | 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 |
4451bb84485ddae7e733c3a4fc29b92f90268a3a | 172 | py | Python | app/main/errors.py | imajiayu/TJ-LOVE-website | d8eefc9ffc61853aa206fccab89852fe20122f1e | [
"MIT"
] | null | null | null | app/main/errors.py | imajiayu/TJ-LOVE-website | d8eefc9ffc61853aa206fccab89852fe20122f1e | [
"MIT"
] | null | null | null | app/main/errors.py | imajiayu/TJ-LOVE-website | d8eefc9ffc61853aa206fccab89852fe20122f1e | [
"MIT"
] | null | null | null | from flask import render_template
from . import main
#404路由
@main.app_errorhandler(404)
def page_not_found(e):
return render_template('main/404.html'), 404
| 17.2 | 49 | 0.726744 | 25 | 172 | 4.8 | 0.68 | 0.233333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 0.180233 | 172 | 9 | 50 | 19.111111 | 0.765957 | 0.02907 | 0 | 0 | 0 | 0 | 0.083871 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
447703d381b8b1f5bab81ae1d70a847d09e1738c | 21 | py | Python | convokit/parser/__init__.py | lucasvanbramer/Cornell-Conversational-Analysis-Toolkit | e5194f8518bc086ad15048d66f663cc7c1d68dff | [
"MIT"
] | 53 | 2019-10-04T20:23:57.000Z | 2022-03-30T02:56:00.000Z | convokit/parser/__init__.py | lucasvanbramer/Cornell-Conversational-Analysis-Toolkit | e5194f8518bc086ad15048d66f663cc7c1d68dff | [
"MIT"
] | 13 | 2020-04-12T07:13:45.000Z | 2022-03-22T02:38:35.000Z | convokit/parser/__init__.py | lucasvanbramer/Cornell-Conversational-Analysis-Toolkit | e5194f8518bc086ad15048d66f663cc7c1d68dff | [
"MIT"
] | 11 | 2020-01-01T17:10:43.000Z | 2022-01-15T05:53:13.000Z | from .parser import * | 21 | 21 | 0.761905 | 3 | 21 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 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 |
924c02f05950088f3224b0a8050eeab9e12ff0d7 | 1,498 | py | Python | data/contacts.py | ValeriyMenshikov/Address-book-tests | 83e36dfd88861773c5c58edf57017dfd287ce3b7 | [
"Apache-2.0"
] | 1 | 2020-10-16T07:40:11.000Z | 2020-10-16T07:40:11.000Z | data/contacts.py | ValeriyMenshikov/Python_for_testers | 83e36dfd88861773c5c58edf57017dfd287ce3b7 | [
"Apache-2.0"
] | 2 | 2021-03-31T19:30:18.000Z | 2021-12-13T20:36:15.000Z | data/contacts.py | ValeriyMenshikov/Address-book-tests | 83e36dfd88861773c5c58edf57017dfd287ce3b7 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from model.contact import Contact
test_data = [
Contact(firstname='Степан ', middlename='Иванович ',
lastname='Петров ', nickname='Иваныч ',
title='title', company='ОАО ОмПО Радиозавод им. А.С.Попова(РЕЛЕРО) ',
address='г. Омск ул.Ленина д.1 кв. 99', home... | 53.5 | 98 | 0.594126 | 176 | 1,498 | 5.096591 | 0.397727 | 0.107023 | 0.031215 | 0.053512 | 0.822742 | 0.822742 | 0.822742 | 0.822742 | 0.822742 | 0.822742 | 0 | 0.140734 | 0.236315 | 1,498 | 27 | 99 | 55.481481 | 0.636364 | 0.014019 | 0 | 0.64 | 0 | 0 | 0.397288 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.04 | 0 | 0.04 | 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 |
92781d7d70220fa3f51368577f35d8febf7896f2 | 37 | py | Python | accounts/clients/__init__.py | ssa17021992/djrest | ba85b511be16b66434be99624e1da6378dcc8d88 | [
"Xnet",
"X11"
] | null | null | null | accounts/clients/__init__.py | ssa17021992/djrest | ba85b511be16b66434be99624e1da6378dcc8d88 | [
"Xnet",
"X11"
] | null | null | null | accounts/clients/__init__.py | ssa17021992/djrest | ba85b511be16b66434be99624e1da6378dcc8d88 | [
"Xnet",
"X11"
] | null | null | null | from .facebook import FacebookClient
| 18.5 | 36 | 0.864865 | 4 | 37 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 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 |
2bee48e3c471ebe58165b132209a7624c67fc0ab | 29 | py | Python | drl_grasping/control/__init__.py | Tiamat-Tech/drl_grasping | e67efee1cdbeeb3cb1e4d028890bbfc601e7840c | [
"BSD-3-Clause"
] | 126 | 2020-11-02T11:08:07.000Z | 2022-03-31T16:25:06.000Z | drl_grasping/control/__init__.py | Tiamat-Tech/drl_grasping | e67efee1cdbeeb3cb1e4d028890bbfc601e7840c | [
"BSD-3-Clause"
] | 68 | 2020-11-02T13:18:29.000Z | 2022-02-27T17:38:50.000Z | drl_grasping/control/__init__.py | Tiamat-Tech/drl_grasping | e67efee1cdbeeb3cb1e4d028890bbfc601e7840c | [
"BSD-3-Clause"
] | 27 | 2021-01-20T16:15:41.000Z | 2022-03-15T10:44:43.000Z | from .moveit2 import MoveIt2
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0.137931 | 29 | 1 | 29 | 29 | 0.88 | 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 |
a63a687eb0d031decd1b71107297630b7a1702a5 | 1,958 | py | Python | admin/actions.py | frissyn/Replit-TCG | 28a11e98a24e359389fd58a31314e6cb1969015e | [
"MIT"
] | 8 | 2021-05-01T19:48:38.000Z | 2021-05-02T19:35:40.000Z | admin/actions.py | frissyn/rtcg-design | 28a11e98a24e359389fd58a31314e6cb1969015e | [
"MIT"
] | null | null | null | admin/actions.py | frissyn/rtcg-design | 28a11e98a24e359389fd58a31314e6cb1969015e | [
"MIT"
] | 1 | 2021-05-01T19:49:09.000Z | 2021-05-01T19:49:09.000Z | import os
import flask
import requests
import urllib.parse
base = "https://api.rtcg.repl.co"
def all_cards():
return requests.get(f"{base}/cards").json()
def add(req, temp: str):
r = requests.post(
base + "/card/add",
headers={"X-API-TOKEN": os.getenv("TOKEN")},
data={
"n... | 31.580645 | 81 | 0.52809 | 243 | 1,958 | 4.238683 | 0.251029 | 0.108738 | 0.15534 | 0.032039 | 0.830097 | 0.774757 | 0.774757 | 0.752427 | 0.752427 | 0.752427 | 0 | 0.006118 | 0.248723 | 1,958 | 61 | 82 | 32.098361 | 0.694086 | 0 | 0 | 0.530612 | 0 | 0 | 0.304903 | 0.053626 | 0 | 0 | 0 | 0 | 0 | 1 | 0.081633 | false | 0 | 0.081633 | 0.020408 | 0.244898 | 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 |
a65ea8918d653177777f1007c6cca51512cc7697 | 88 | py | Python | ssl_keys/gen_ssl_keys.py | chrisbinsunny/face_rec_api | 57910d571babe6be16b8a2d4e3c47351f170e1d2 | [
"MIT"
] | 14 | 2019-10-21T02:38:05.000Z | 2021-09-22T01:51:57.000Z | ssl_keys/gen_ssl_keys.py | chrisbinsunny/face_rec_api | 57910d571babe6be16b8a2d4e3c47351f170e1d2 | [
"MIT"
] | 5 | 2020-06-06T01:28:04.000Z | 2021-06-10T19:46:53.000Z | ssl_keys/gen_ssl_keys.py | danruiyot/face-recongition-flask | 77bda6d663c5c2758925275367baf66b26005e25 | [
"MIT"
] | 7 | 2019-10-17T18:21:31.000Z | 2021-06-16T17:56:17.000Z | from werkzeug.serving import make_ssl_devcert
make_ssl_devcert('key', host='localhost') | 44 | 46 | 0.829545 | 13 | 88 | 5.307692 | 0.769231 | 0.202899 | 0.405797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 88 | 2 | 47 | 44 | 0.841463 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a665bf9f0f3df3e8d3b8992579d4fcab3bc18162 | 297 | py | Python | forge_sdk/rpc/__init__.py | ArcBlock/forge-python-sdk | 4e72d75d3c06b16554d660860708732c83b5f8b2 | [
"Apache-2.0"
] | 9 | 2019-05-08T01:30:22.000Z | 2020-05-08T22:11:40.000Z | forge_sdk/rpc/__init__.py | ArcBlock/forge-python-sdk | 4e72d75d3c06b16554d660860708732c83b5f8b2 | [
"Apache-2.0"
] | 22 | 2019-05-14T18:36:17.000Z | 2019-12-24T10:09:42.000Z | forge_sdk/rpc/__init__.py | ArcBlock/forge-python-sdk | 4e72d75d3c06b16554d660860708732c83b5f8b2 | [
"Apache-2.0"
] | null | null | null | from .forge_rpc.chain import ForgeChainRpc
from .forge_rpc.event import ForgeEventRpc
from .forge_rpc.file import ForgeFileRpc
from .forge_rpc.state import ForgeStateRpc
from .forge_rpc.statistic import ForgeStatsRpc
from .forge_rpc.wallet import ForgeWalletRpc
from .helper import ForgeRpcHelper
| 37.125 | 46 | 0.861953 | 40 | 297 | 6.25 | 0.45 | 0.216 | 0.288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094276 | 297 | 7 | 47 | 42.428571 | 0.929368 | 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 |
470b2e7d1a37595725985eb2dd0ac99e3845a9b1 | 2,903 | py | Python | tests/test_pushpull.py | vycezhong/ray-ps | e04091ef1f1fb016d63a3c71b72fbab4e2028e7a | [
"MIT"
] | 2 | 2021-06-09T08:33:37.000Z | 2022-01-24T03:34:20.000Z | tests/test_pushpull.py | vycezhong/ray-ps | e04091ef1f1fb016d63a3c71b72fbab4e2028e7a | [
"MIT"
] | 1 | 2021-05-12T02:48:50.000Z | 2021-06-12T00:08:19.000Z | tests/test_pushpull.py | vycezhong/rayps | e04091ef1f1fb016d63a3c71b72fbab4e2028e7a | [
"MIT"
] | null | null | null | import unittest
import numpy as np
import ray
from torchvision.models import resnet50
import rayps
import rayps.ps
from rayps.utils import shard
class TestPushPull(unittest.TestCase):
@classmethod
def setUpClass(cls):
ray.init()
def test_single_worker_pushpull(self):
model = resnet50()
... | 32.988636 | 69 | 0.572511 | 351 | 2,903 | 4.578348 | 0.213675 | 0.050404 | 0.031736 | 0.046671 | 0.813939 | 0.813939 | 0.797138 | 0.797138 | 0.741755 | 0.741755 | 0 | 0.020346 | 0.32277 | 2,903 | 87 | 70 | 33.367816 | 0.79705 | 0 | 0 | 0.666667 | 0 | 0 | 0.002756 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 1 | 0.057971 | false | 0 | 0.101449 | 0 | 0.173913 | 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 |
471ea4ddb2dc469a52575bf6fa5d5906a5c8f258 | 80 | py | Python | music_trees/utils/__init__.py | hugofloresgarcia/music-trees | 51c47f1fc924936c25b84bf35edff52d88e9cccd | [
"MIT"
] | 25 | 2021-07-16T10:24:35.000Z | 2022-03-25T04:46:25.000Z | music_trees/utils/__init__.py | loretoparisi/music-trees | 0ea3f49c2bafa97efd7352728ca687d7fee9e025 | [
"MIT"
] | 4 | 2021-11-12T10:25:29.000Z | 2021-12-01T16:11:13.000Z | music_trees/utils/__init__.py | loretoparisi/music-trees | 0ea3f49c2bafa97efd7352728ca687d7fee9e025 | [
"MIT"
] | 3 | 2021-11-09T02:40:03.000Z | 2022-03-04T19:26:39.000Z | from . import data
from . import effects
from . import audio
from . import train | 20 | 21 | 0.7625 | 12 | 80 | 5.083333 | 0.5 | 0.655738 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 80 | 4 | 22 | 20 | 0.938462 | 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 |
5b74c760019d3caf6170a1a3db0e7481cd8caa1f | 8,240 | py | Python | python/test/server/protocol/test_comm_handler.py | scrutinydebugger/scrutiny | 7530790ae40f20c3008fe196e39cab07c4b73445 | [
"MIT"
] | 1 | 2021-04-18T02:58:59.000Z | 2021-04-18T02:58:59.000Z | python/test/server/protocol/test_comm_handler.py | scrutinydebugger/scrutiny | 7530790ae40f20c3008fe196e39cab07c4b73445 | [
"MIT"
] | null | null | null | python/test/server/protocol/test_comm_handler.py | scrutinydebugger/scrutiny | 7530790ae40f20c3008fe196e39cab07c4b73445 | [
"MIT"
] | null | null | null | import unittest
import time
from scrutiny.server.protocol.comm_handler import CommHandler
from scrutiny.server.protocol import Request, Response
from scrutiny.server.protocol.commands import DummyCommand
from scrutiny.server.device.links.dummy_link import DummyLink
class TestCommHandler(unittest.TestCase):
def se... | 49.047619 | 144 | 0.709345 | 942 | 8,240 | 5.968153 | 0.111465 | 0.127179 | 0.170758 | 0.074707 | 0.843828 | 0.841515 | 0.835468 | 0.81021 | 0.773924 | 0.711491 | 0 | 0.031668 | 0.183738 | 8,240 | 167 | 145 | 49.341317 | 0.804193 | 0 | 0 | 0.671429 | 0 | 0 | 0.005826 | 0 | 0 | 0 | 0.019541 | 0 | 0.228571 | 1 | 0.064286 | false | 0 | 0.042857 | 0 | 0.114286 | 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 |
751a7cf2cd3a5afb1d69486aee76d13d9cf06420 | 36 | py | Python | nnet/__init__.py | jackklys/wake-sleep-modifications | f3e515eea8f683bf32bf3cfeed31a237bfcc2347 | [
"MIT"
] | 2 | 2018-06-11T03:41:09.000Z | 2019-11-25T09:39:01.000Z | nnet/__init__.py | jackklys/wake-sleep-modifications | f3e515eea8f683bf32bf3cfeed31a237bfcc2347 | [
"MIT"
] | null | null | null | nnet/__init__.py | jackklys/wake-sleep-modifications | f3e515eea8f683bf32bf3cfeed31a237bfcc2347 | [
"MIT"
] | 3 | 2017-07-21T08:40:21.000Z | 2020-10-04T21:15:53.000Z | from nn import *
from dist import * | 18 | 18 | 0.722222 | 6 | 36 | 4.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 36 | 2 | 18 | 18 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7526af6a936a0cdfe7cbb0d05543195f048deb39 | 3,578 | py | Python | rllab/sampler/utils.py | jturner65/Getup-rllab | 84217e1727be700343c225ecb572ebb45f3f6420 | [
"MIT"
] | null | null | null | rllab/sampler/utils.py | jturner65/Getup-rllab | 84217e1727be700343c225ecb572ebb45f3f6420 | [
"MIT"
] | null | null | null | rllab/sampler/utils.py | jturner65/Getup-rllab | 84217e1727be700343c225ecb572ebb45f3f6420 | [
"MIT"
] | null | null | null | import numpy as np
from rllab.misc import tensor_utils
import time
#modified rollout function to handle broken sim- Added by JT
def rollout(env, agent, max_path_length=np.inf, animated=False, speedup=1, always_return_paths=False):
observations = []
actions = []
rewards = []
agent_infos = []
env_inf... | 37.663158 | 149 | 0.642817 | 456 | 3,578 | 4.800439 | 0.214912 | 0.073093 | 0.073093 | 0.100503 | 0.82275 | 0.804477 | 0.801279 | 0.801279 | 0.801279 | 0.801279 | 0 | 0.005665 | 0.259922 | 3,578 | 95 | 150 | 37.663158 | 0.820997 | 0.522359 | 0 | 0.095238 | 0 | 0 | 0.02657 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02381 | false | 0 | 0.071429 | 0 | 0.142857 | 0.02381 | 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 |
f3ac569c951cdc8420792f5b92ee159d5a5b4b56 | 33 | py | Python | livemark/plugins/topics/__init__.py | AyrtonB/livemark | f8c49d449ea6242c674cf345823468aaabea6e6b | [
"MIT"
] | 73 | 2021-06-07T13:28:36.000Z | 2022-03-26T05:37:59.000Z | livemark/plugins/topics/__init__.py | AyrtonB/livemark | f8c49d449ea6242c674cf345823468aaabea6e6b | [
"MIT"
] | 120 | 2021-06-04T12:51:01.000Z | 2022-03-21T11:11:36.000Z | livemark/plugins/topics/__init__.py | AyrtonB/livemark | f8c49d449ea6242c674cf345823468aaabea6e6b | [
"MIT"
] | 7 | 2021-09-22T11:38:26.000Z | 2022-03-26T05:35:58.000Z | from .plugin import TopicsPlugin
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 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 |
f3caa8832edd340f1077d0811a0d4f700a6393d1 | 52 | py | Python | fractal/core/event_sourcing/event_bus.py | douwevandermeij/fractal | 66b04892b4d6fd8ee6a0c07b6e230f4321165085 | [
"MIT"
] | 2 | 2021-08-12T05:19:08.000Z | 2022-01-29T16:22:37.000Z | fractal/core/event_sourcing/event_bus.py | douwevandermeij/fractal | 66b04892b4d6fd8ee6a0c07b6e230f4321165085 | [
"MIT"
] | null | null | null | fractal/core/event_sourcing/event_bus.py | douwevandermeij/fractal | 66b04892b4d6fd8ee6a0c07b6e230f4321165085 | [
"MIT"
] | null | null | null | from abc import ABC
class EventBus(ABC):
pass
| 8.666667 | 20 | 0.692308 | 8 | 52 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 52 | 5 | 21 | 10.4 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
34437c70c6c501241e05af546d3795df34d2bd67 | 6,257 | py | Python | Utils/update_version.py | Xiloe/kino | 1e6455e9e939d6a46bd06431c76b044f2dad5fa2 | [
"MIT"
] | null | null | null | Utils/update_version.py | Xiloe/kino | 1e6455e9e939d6a46bd06431c76b044f2dad5fa2 | [
"MIT"
] | null | null | null | Utils/update_version.py | Xiloe/kino | 1e6455e9e939d6a46bd06431c76b044f2dad5fa2 | [
"MIT"
] | null | null | null | def replace_mod_version(file_path):
import re
from tempfile import mkstemp
from shutil import move, copymode
from os import fdopen, remove
import version
print('Updating version for: ' + file_path)
fh, abs_path = mkstemp()
with fdopen(fh, 'w') as new_file:
with open(file_path) a... | 37.244048 | 105 | 0.549465 | 750 | 6,257 | 4.38 | 0.109333 | 0.058447 | 0.065753 | 0.072451 | 0.835312 | 0.835312 | 0.818265 | 0.780822 | 0.723288 | 0.630746 | 0 | 0.001698 | 0.341058 | 6,257 | 167 | 106 | 37.467066 | 0.795052 | 0 | 0 | 0.643357 | 0 | 0 | 0.111555 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034965 | false | 0 | 0.146853 | 0 | 0.181818 | 0.027972 | 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 |
345c62ff08996bce231a29d60727090c91d6de7b | 131 | py | Python | 2_linear/runB.py | jakobmoss/numeric | f2b45fca74c155e93474a485cb2d061c0759cd8e | [
"MIT"
] | null | null | null | 2_linear/runB.py | jakobmoss/numeric | f2b45fca74c155e93474a485cb2d061c0759cd8e | [
"MIT"
] | null | null | null | 2_linear/runB.py | jakobmoss/numeric | f2b45fca74c155e93474a485cb2d061c0759cd8e | [
"MIT"
] | null | null | null | from __future__ import print_function
from mainB import mainB
import sys
#
# Main (different cases)
#
mainB(sys.argv[1].lower())
| 13.1 | 37 | 0.755725 | 19 | 131 | 4.947368 | 0.684211 | 0.234043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008929 | 0.145038 | 131 | 9 | 38 | 14.555556 | 0.830357 | 0.167939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0.25 | 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 |
346c474d6f6a3d1f80c00ae0fc9344840d1d2223 | 30 | py | Python | args_parser/hyunjungkim_01.py | SanghunOh/share_5GUAV_2021 | bdcc272da4bce5e3e56ff7842bff7fb0c802f083 | [
"Apache-2.0"
] | null | null | null | args_parser/hyunjungkim_01.py | SanghunOh/share_5GUAV_2021 | bdcc272da4bce5e3e56ff7842bff7fb0c802f083 | [
"Apache-2.0"
] | null | null | null | args_parser/hyunjungkim_01.py | SanghunOh/share_5GUAV_2021 | bdcc272da4bce5e3e56ff7842bff7fb0c802f083 | [
"Apache-2.0"
] | 3 | 2021-11-30T07:49:08.000Z | 2021-12-01T08:57:48.000Z | import os
os.getcwd()
pass
| 5 | 11 | 0.666667 | 5 | 30 | 4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233333 | 30 | 5 | 12 | 6 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.333333 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
1b3b97d7be326a763220262b94e76152330ba4a1 | 11,438 | py | Python | tests/api/test_schema.py | MarcosEnevo/connexion | d6c4d47beeeead0da7de53ed6ac15b9636de62a1 | [
"Apache-2.0"
] | null | null | null | tests/api/test_schema.py | MarcosEnevo/connexion | d6c4d47beeeead0da7de53ed6ac15b9636de62a1 | [
"Apache-2.0"
] | null | null | null | tests/api/test_schema.py | MarcosEnevo/connexion | d6c4d47beeeead0da7de53ed6ac15b9636de62a1 | [
"Apache-2.0"
] | null | null | null | import json
def test_schema(schema_app):
app_client = schema_app.app.test_client()
headers = {'Content-type': 'application/json'}
empty_request = app_client.post('/v1.0/test_schema', headers=headers, data=json.dumps({})) # type: flask.Response
assert empty_request.status_code == 400
assert empty... | 49.301724 | 120 | 0.667162 | 1,443 | 11,438 | 5.049203 | 0.05544 | 0.05188 | 0.072331 | 0.097859 | 0.878671 | 0.851084 | 0.828713 | 0.828713 | 0.828713 | 0.810047 | 0 | 0.021188 | 0.20362 | 11,438 | 231 | 121 | 49.515152 | 0.77868 | 0.071254 | 0 | 0.550265 | 0 | 0 | 0.212651 | 0.103915 | 0 | 0 | 0 | 0 | 0.365079 | 1 | 0.05291 | false | 0 | 0.005291 | 0 | 0.058201 | 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 |
1bd2d659a9ccf07e4c1d26e7430aa1779dd75c9b | 30 | py | Python | to_nwb/extensions/time_frequency/__init__.py | mpompolas/to_nwb | 1317f0ee0f4d80dde451d60d8eb5c6a544e214fe | [
"BSD-3-Clause"
] | 1 | 2020-03-31T20:02:01.000Z | 2020-03-31T20:02:01.000Z | to_nwb/extensions/time_frequency/__init__.py | mpompolas/to_nwb | 1317f0ee0f4d80dde451d60d8eb5c6a544e214fe | [
"BSD-3-Clause"
] | 2 | 2020-08-27T18:16:04.000Z | 2020-09-08T18:43:34.000Z | to_nwb/extensions/time_frequency/__init__.py | mpompolas/to_nwb | 1317f0ee0f4d80dde451d60d8eb5c6a544e214fe | [
"BSD-3-Clause"
] | 5 | 2018-04-04T21:27:23.000Z | 2019-04-01T13:40:00.000Z | from .time_frequency import *
| 15 | 29 | 0.8 | 4 | 30 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.884615 | 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 |
94220bb24aaa035fce7193ceb5b5b0116bcdfbaf | 4,984 | py | Python | NNMM.py | krishmulls/Mathematical-Modelling-of-NN-C-Windows-FormUI | 5bf8fc48194d580dc1e14889970d1975454b5693 | [
"Apache-2.0"
] | null | null | null | NNMM.py | krishmulls/Mathematical-Modelling-of-NN-C-Windows-FormUI | 5bf8fc48194d580dc1e14889970d1975454b5693 | [
"Apache-2.0"
] | null | null | null | NNMM.py | krishmulls/Mathematical-Modelling-of-NN-C-Windows-FormUI | 5bf8fc48194d580dc1e14889970d1975454b5693 | [
"Apache-2.0"
] | null | null | null | import numpy as np
import sys
def NNMM():
WS = float(sys.argv[1])
CS = float(sys.argv[2])
LS = float(sys.argv[3])
PS = float(sys.argv[4])
GS = float(sys.argv[5])
HLB = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]]
if WS <= 50:
HLB[0][0] = 1
else:
H... | 27.843575 | 119 | 0.325441 | 912 | 4,984 | 1.769737 | 0.089912 | 0.436183 | 0.572491 | 0.666667 | 0.513011 | 0.490706 | 0.386617 | 0.354399 | 0.335192 | 0.335192 | 0 | 0.26949 | 0.464687 | 4,984 | 178 | 120 | 28 | 0.335457 | 0.004213 | 0 | 0.283951 | 0 | 0 | 0.028655 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012346 | false | 0 | 0.012346 | 0 | 0.030864 | 0.024691 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9440098c105b6edcc5e091f58b9738e7acd9d58e | 1,870 | py | Python | snakemake/common/tbdstring.py | vinisalazar/snakemake | fdab604686e4e3699747933c3d5be8449924a7bb | [
"MIT"
] | null | null | null | snakemake/common/tbdstring.py | vinisalazar/snakemake | fdab604686e4e3699747933c3d5be8449924a7bb | [
"MIT"
] | null | null | null | snakemake/common/tbdstring.py | vinisalazar/snakemake | fdab604686e4e3699747933c3d5be8449924a7bb | [
"MIT"
] | null | null | null | # A string that prints as TBD
# whatever interaction happens on this class, <TBD> shall be returned
class TBDString(str):
# the second arg is necessary to avoid problems when pickling
def __new__(cls, _=None):
return str.__new__(cls, "<TBD>")
def __getitem__(self, __item):
return self
... | 18.7 | 69 | 0.606417 | 216 | 1,870 | 4.449074 | 0.342593 | 0.312175 | 0.3923 | 0.276795 | 0.320499 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000787 | 0.320856 | 1,870 | 99 | 70 | 18.888889 | 0.755906 | 0.082888 | 0 | 0.461538 | 0 | 0 | 0.002922 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.492308 | false | 0 | 0 | 0.492308 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
944669fce83cd307c98289a6bd7a2a6260342bd8 | 6,812 | py | Python | test/tbl/cs3/test_status_p.py | nnguyen259/SenSchema | 3a8439155b4e531a3b08e98c593657dbe52c67ed | [
"MIT"
] | 3 | 2021-11-10T12:04:13.000Z | 2021-11-13T16:04:56.000Z | test/tbl/cs3/test_status_p.py | nnguyen259/SenSchema | 3a8439155b4e531a3b08e98c593657dbe52c67ed | [
"MIT"
] | 5 | 2021-12-26T11:30:54.000Z | 2022-02-26T23:10:53.000Z | test/tbl/cs3/test_status_p.py | nnguyen259/SenSchema | 3a8439155b4e531a3b08e98c593657dbe52c67ed | [
"MIT"
] | 2 | 2021-11-13T16:05:12.000Z | 2022-02-12T21:49:41.000Z | import struct
import unittest
import cs3tbl
def cast_to_float(x):
# Python floats are doubles while the tbls contain single-precision floats, so we need to do correct rounding explicitely
return struct.unpack("f", struct.pack("f", x))[0]
class TestCS3StatusP(unittest.TestCase):
def setUp(self):
... | 57.728814 | 125 | 0.72431 | 943 | 6,812 | 5.054083 | 0.163309 | 0.30214 | 0.394461 | 0.473353 | 0.818506 | 0.787033 | 0.625262 | 0.273815 | 0.057281 | 0.057281 | 0 | 0.036643 | 0.158691 | 6,812 | 117 | 126 | 58.222222 | 0.794975 | 0.017469 | 0 | 0 | 0 | 0 | 0.009117 | 0.003139 | 0 | 0 | 0 | 0 | 0.872727 | 1 | 0.036364 | false | 0 | 0.027273 | 0.009091 | 0.081818 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9479306af01b3c8963d9cf66e2173403de4ace8f | 128 | py | Python | test/run/t536.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | test/run/t536.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | test/run/t536.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | def f():
pool = (8, 9)
print type(pool)
yield list(pool[i] for i in range(2))
print type(pool)
print list(f())
| 16 | 41 | 0.5625 | 23 | 128 | 3.130435 | 0.608696 | 0.25 | 0.361111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.273438 | 128 | 7 | 42 | 18.285714 | 0.741935 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
847046857eba786827ae9ee25741d212030ffc8d | 7,584 | py | Python | tests/test_passwords.py | lfaraone/grouper | 7df5eda8003a0b4a9ba7f0dcb044ae1e4710b171 | [
"Apache-2.0"
] | null | null | null | tests/test_passwords.py | lfaraone/grouper | 7df5eda8003a0b4a9ba7f0dcb044ae1e4710b171 | [
"Apache-2.0"
] | 1 | 2016-02-18T18:55:29.000Z | 2016-02-18T18:55:29.000Z | tests/test_passwords.py | lfaraone/grouper | 7df5eda8003a0b4a9ba7f0dcb044ae1e4710b171 | [
"Apache-2.0"
] | null | null | null | import json
from urllib import urlencode
import pytest
from tornado.httpclient import HTTPError
from fixtures import standard_graph, graph, users, groups, session, permissions # noqa
from fixtures import fe_app as app # noqa
from grouper import public_key
from grouper.model_soup import User, Request, AsyncNotificat... | 54.561151 | 140 | 0.707278 | 1,058 | 7,584 | 4.941399 | 0.127599 | 0.057383 | 0.087988 | 0.105585 | 0.792846 | 0.774675 | 0.774675 | 0.745218 | 0.730681 | 0.730681 | 0 | 0.008978 | 0.162843 | 7,584 | 138 | 141 | 54.956522 | 0.814459 | 0.015691 | 0 | 0.666667 | 0 | 0 | 0.275335 | 0.029893 | 0 | 0 | 0 | 0 | 0.314815 | 1 | 0.027778 | false | 0.518519 | 0.101852 | 0 | 0.12963 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
84a129b9900a7ed42db9e8262ab328f8b3df60d6 | 11,149 | py | Python | tests/qepsi4/_psi4_test.py | jamesclark-Zapata/qe-psi4 | 2bd6aaff8e6d6bf3d6f7a33d420f49a67b10ba2c | [
"Apache-2.0"
] | null | null | null | tests/qepsi4/_psi4_test.py | jamesclark-Zapata/qe-psi4 | 2bd6aaff8e6d6bf3d6f7a33d420f49a67b10ba2c | [
"Apache-2.0"
] | null | null | null | tests/qepsi4/_psi4_test.py | jamesclark-Zapata/qe-psi4 | 2bd6aaff8e6d6bf3d6f7a33d420f49a67b10ba2c | [
"Apache-2.0"
] | null | null | null | from qepsi4 import select_active_space, run_psi4
from openfermion import (
jordan_wigner,
jw_get_ground_state_at_particle_number,
qubit_operator_sparse,
)
import numpy as np
import math
import psi4
hydrogen_geometry = {
"sites": [
{"species": "H", "x": 0, "y": 0, "z": 0},
{"species": "H... | 32.791176 | 150 | 0.670912 | 1,505 | 11,149 | 4.69103 | 0.127575 | 0.049858 | 0.033711 | 0.01983 | 0.853683 | 0.820963 | 0.78711 | 0.738669 | 0.720113 | 0.69221 | 0 | 0.038313 | 0.21105 | 11,149 | 339 | 151 | 32.887906 | 0.764325 | 0.136335 | 0 | 0.605042 | 0 | 0 | 0.079754 | 0 | 0 | 0 | 0 | 0 | 0.260504 | 1 | 0.058824 | false | 0.008403 | 0.021008 | 0 | 0.084034 | 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 |
84a8b2e712faf363777ef84ef90e13e64fd32e45 | 6,326 | py | Python | src/utils_func.py | lkk688/MyPseudoLidar | 399fddfa608bcfdf8bddc6f01ebafa8b110fdcb7 | [
"MIT"
] | 474 | 2019-06-10T19:50:09.000Z | 2022-03-31T23:27:34.000Z | src/utils_func.py | yuanmartin/Pseudo_Lidar_V2 | f26755a43fc26a22f891107ad0bcd2919264a522 | [
"MIT"
] | 26 | 2019-07-13T03:23:50.000Z | 2022-01-05T15:00:41.000Z | src/utils_func.py | yuanmartin/Pseudo_Lidar_V2 | f26755a43fc26a22f891107ad0bcd2919264a522 | [
"MIT"
] | 110 | 2019-06-25T00:50:04.000Z | 2022-03-31T14:02:40.000Z | import torch
class AverageMeter(object):
"""Computes and stores the average and current value"""
def __init__(self):
self.reset()
def reset(self):
self.val = 0
self.avg = 0
self.sum = 0
self.count = 0
def update(self, val, n=1):
self.val = val
... | 46.175182 | 134 | 0.599115 | 818 | 6,326 | 4.512225 | 0.105134 | 0.058521 | 0.070442 | 0.07586 | 0.864806 | 0.850176 | 0.850176 | 0.850176 | 0.850176 | 0.850176 | 0 | 0.01557 | 0.238539 | 6,326 | 136 | 135 | 46.514706 | 0.750675 | 0.016124 | 0 | 0.675439 | 0 | 0.017544 | 0.049542 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.131579 | false | 0 | 0.008772 | 0.017544 | 0.201754 | 0.017544 | 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 |
84b4d294668009f7c90ed488129e603d7e44d09f | 43 | py | Python | skrl/agents/torch/ddpg/__init__.py | simonbogh/skrl | 4ca483c7d24fdf020bdbd9422927ef5737c9dec4 | [
"MIT"
] | 43 | 2021-12-19T07:47:43.000Z | 2022-03-31T05:24:42.000Z | skrl/agents/torch/ddpg/__init__.py | simonbogh/skrl | 4ca483c7d24fdf020bdbd9422927ef5737c9dec4 | [
"MIT"
] | 5 | 2022-01-05T07:54:13.000Z | 2022-03-08T21:00:39.000Z | skrl/agents/torch/ddpg/__init__.py | simonbogh/skrl | 4ca483c7d24fdf020bdbd9422927ef5737c9dec4 | [
"MIT"
] | 1 | 2022-01-31T17:53:52.000Z | 2022-01-31T17:53:52.000Z | from .ddpg import DDPG, DDPG_DEFAULT_CONFIG | 43 | 43 | 0.860465 | 7 | 43 | 5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.897436 | 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 |
84e1c8fd495dc4dac669f244eca2c4b1980bf9f2 | 397 | py | Python | python/hackerrank/variables/Gradebook/task.py | 3keepmovingforward3/ENGR1102 | b4f38a70560fc695d70706279047b1dec9f5c7f4 | [
"MIT"
] | null | null | null | python/hackerrank/variables/Gradebook/task.py | 3keepmovingforward3/ENGR1102 | b4f38a70560fc695d70706279047b1dec9f5c7f4 | [
"MIT"
] | null | null | null | python/hackerrank/variables/Gradebook/task.py | 3keepmovingforward3/ENGR1102 | b4f38a70560fc695d70706279047b1dec9f5c7f4 | [
"MIT"
] | null | null | null | # Task
# Declare a variable and set it as "Penguin".
# Declare a second variable and set it as the numerical value # # 6.
# Declare a third variable and set it as Boolean False.
# Declare a fourth variable but give it no value.
# Declare a fifth variable and assign it a float value
# Print the 5 variables separately t... | 26.466667 | 68 | 0.712846 | 65 | 397 | 4.338462 | 0.569231 | 0.141844 | 0.148936 | 0.170213 | 0.191489 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006557 | 0.231738 | 397 | 14 | 69 | 28.357143 | 0.918033 | 0.84131 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
ca2d6db612824ceeb4a83b20c8640b8dc00a6a97 | 29 | py | Python | app/hello.py | Milan-Chicago/MLOps-and-Systems | 7551654116af7d7bcba432ff99176a538ad82631 | [
"MIT"
] | null | null | null | app/hello.py | Milan-Chicago/MLOps-and-Systems | 7551654116af7d7bcba432ff99176a538ad82631 | [
"MIT"
] | null | null | null | app/hello.py | Milan-Chicago/MLOps-and-Systems | 7551654116af7d7bcba432ff99176a538ad82631 | [
"MIT"
] | null | null | null | print("Hello ML Ops World")
| 9.666667 | 27 | 0.689655 | 5 | 29 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 29 | 2 | 28 | 14.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
04ad2efaa01f243839315f44e79e2ae5587e3b77 | 7,194 | py | Python | tests/test_dms/test_dms.py | gtourkas/moto | 307104417b579d23d02f670ff55217a2d4a16bee | [
"Apache-2.0"
] | 5,460 | 2015-01-01T01:11:17.000Z | 2022-03-31T23:45:38.000Z | tests/test_dms/test_dms.py | gtourkas/moto | 307104417b579d23d02f670ff55217a2d4a16bee | [
"Apache-2.0"
] | 4,475 | 2015-01-05T19:37:30.000Z | 2022-03-31T13:55:12.000Z | tests/test_dms/test_dms.py | gtourkas/moto | 307104417b579d23d02f670ff55217a2d4a16bee | [
"Apache-2.0"
] | 1,831 | 2015-01-14T00:00:44.000Z | 2022-03-31T20:30:04.000Z | from botocore.exceptions import ClientError
import boto3
import sure # noqa # pylint: disable=unused-import
import pytest
from moto import mock_dms
@mock_dms
def test_create_and_get_replication_task():
client = boto3.client("dms", region_name="us-east-1")
client.create_replication_task(
Replication... | 35.791045 | 81 | 0.702669 | 734 | 7,194 | 6.713896 | 0.13624 | 0.097403 | 0.030438 | 0.040584 | 0.86039 | 0.845982 | 0.812703 | 0.772321 | 0.767451 | 0.744318 | 0 | 0.003978 | 0.161384 | 7,194 | 200 | 82 | 35.97 | 0.812863 | 0.004865 | 0 | 0.64375 | 0 | 0 | 0.261179 | 0.055198 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05625 | false | 0 | 0.03125 | 0 | 0.0875 | 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 |
b6bf75fe5b714a6d1c5b2e0293aaa7316e262b62 | 69 | py | Python | jsonexcel/__init__.py | taKana671/JsonEditor | 8bba8a5a83ffc51e4159c1798c67299062000c9c | [
"MIT"
] | 4 | 2020-12-09T14:20:38.000Z | 2021-01-17T14:13:58.000Z | jsonexcel/__init__.py | taKana671/JsonExcel | 8bba8a5a83ffc51e4159c1798c67299062000c9c | [
"MIT"
] | null | null | null | jsonexcel/__init__.py | taKana671/JsonExcel | 8bba8a5a83ffc51e4159c1798c67299062000c9c | [
"MIT"
] | null | null | null | from jsonexcel.convert import *
from jsonexcel.fast_convert import * | 34.5 | 36 | 0.826087 | 9 | 69 | 6.222222 | 0.555556 | 0.464286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 69 | 2 | 36 | 34.5 | 0.918033 | 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 |
b6e9c284c553b45c68425e72cbb047a58ebbaddf | 90 | py | Python | osysid/__init__.py | haozhg/osysid | 61cd07538de87c0fdba294c5d849ac284e06bdff | [
"MIT"
] | 10 | 2021-02-19T02:47:36.000Z | 2022-02-08T02:45:20.000Z | osysid/__init__.py | haozhg/osysid | 61cd07538de87c0fdba294c5d849ac284e06bdff | [
"MIT"
] | null | null | null | osysid/__init__.py | haozhg/osysid | 61cd07538de87c0fdba294c5d849ac284e06bdff | [
"MIT"
] | 2 | 2021-03-15T04:42:41.000Z | 2021-03-18T00:48:26.000Z | from ._online_model import OnlineModel
from ._online_linear_model import OnlineLinearModel | 45 | 51 | 0.9 | 11 | 90 | 6.909091 | 0.636364 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077778 | 90 | 2 | 51 | 45 | 0.915663 | 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 |
8e04b86363583b930d5743724539b3ab40c52cc8 | 25 | py | Python | __init__.py | toni-heittola/pelican-bsponsors | 0128b10dfde6310a147f6acb384a56772a9a326c | [
"MIT"
] | null | null | null | __init__.py | toni-heittola/pelican-bsponsors | 0128b10dfde6310a147f6acb384a56772a9a326c | [
"MIT"
] | null | null | null | __init__.py | toni-heittola/pelican-bsponsors | 0128b10dfde6310a147f6acb384a56772a9a326c | [
"MIT"
] | null | null | null | from .bsponsors import *
| 12.5 | 24 | 0.76 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 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 |
8e2ba7a98955c399f8359b5062bbc5b87ec92050 | 114 | py | Python | batchglm/api/models/tf2/glm_nb.py | le-ander/batchglm | 31b905b99b6baa7c94b82550d6a74f00d81966ea | [
"BSD-3-Clause"
] | null | null | null | batchglm/api/models/tf2/glm_nb.py | le-ander/batchglm | 31b905b99b6baa7c94b82550d6a74f00d81966ea | [
"BSD-3-Clause"
] | null | null | null | batchglm/api/models/tf2/glm_nb.py | le-ander/batchglm | 31b905b99b6baa7c94b82550d6a74f00d81966ea | [
"BSD-3-Clause"
] | null | null | null | from batchglm.models.glm_nb import InputDataGLM, Model, Simulator
from batchglm.train.tf2.glm_nb import Estimator
| 38 | 65 | 0.850877 | 17 | 114 | 5.588235 | 0.705882 | 0.252632 | 0.231579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009615 | 0.087719 | 114 | 2 | 66 | 57 | 0.903846 | 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 |
8e449c17d88e12ac595243c759199e5bb1c5730a | 223 | py | Python | archive_box/processing/text/summary.py | fyhuang/archive_box | 1cbbd839012fed5e12341b78027d132c72dd01df | [
"BSD-3-Clause"
] | null | null | null | archive_box/processing/text/summary.py | fyhuang/archive_box | 1cbbd839012fed5e12341b78027d132c72dd01df | [
"BSD-3-Clause"
] | null | null | null | archive_box/processing/text/summary.py | fyhuang/archive_box | 1cbbd839012fed5e12341b78027d132c72dd01df | [
"BSD-3-Clause"
] | null | null | null | from typing import List
from .summary_gensim import *
def text_to_summary(text: str) -> str:
return text_to_summary_gensim(text)
def text_to_keywords(text: str) -> List[str]:
return text_to_keywords_gensim(text)
| 22.3 | 45 | 0.762332 | 35 | 223 | 4.542857 | 0.342857 | 0.150943 | 0.113208 | 0.188679 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147982 | 223 | 9 | 46 | 24.777778 | 0.836842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
6d1035574f3d3601d26a5c5eccd8c32672286d0f | 124 | py | Python | python/fusion_engine_client/messages/core.py | jimenezjose/fusion-engine-client | 2de4dbccfb6b9a0746b7f3ef5a170f1332f93bea | [
"MIT"
] | 8 | 2020-08-29T22:03:37.000Z | 2022-01-31T00:54:56.000Z | python/fusion_engine_client/messages/core.py | jimenezjose/fusion-engine-client | 2de4dbccfb6b9a0746b7f3ef5a170f1332f93bea | [
"MIT"
] | 8 | 2020-09-06T05:32:18.000Z | 2022-01-16T20:34:21.000Z | python/fusion_engine_client/messages/core.py | jimenezjose/fusion-engine-client | 2de4dbccfb6b9a0746b7f3ef5a170f1332f93bea | [
"MIT"
] | 8 | 2020-09-18T19:05:58.000Z | 2021-12-29T20:55:36.000Z | from .configuration import *
from .control import *
from .defs import *
from .measurements import *
from .solution import *
| 20.666667 | 28 | 0.758065 | 15 | 124 | 6.266667 | 0.466667 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 124 | 5 | 29 | 24.8 | 0.903846 | 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 |
6d344f52b33a4bba381d5e2024291aded46131ac | 35 | py | Python | vnpy_ost/gateway/__init__.py | Edanflame/vnpy_ost | 400cd33307d98c1a15a8a1de1c8006da96642b84 | [
"MIT"
] | 1 | 2022-03-23T14:47:19.000Z | 2022-03-23T14:47:19.000Z | vnpy_ost/gateway/__init__.py | Edanflame/vnpy_ost | 400cd33307d98c1a15a8a1de1c8006da96642b84 | [
"MIT"
] | null | null | null | vnpy_ost/gateway/__init__.py | Edanflame/vnpy_ost | 400cd33307d98c1a15a8a1de1c8006da96642b84 | [
"MIT"
] | 1 | 2022-02-21T06:29:41.000Z | 2022-02-21T06:29:41.000Z | from .ost_gateway import OstGateway | 35 | 35 | 0.885714 | 5 | 35 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 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 |
edaca9886c3ad22e39ad88ac5a038cff169472c8 | 148 | py | Python | tests/contrib/django/testapp/tasks.py | lyrixderaven/apm-agent-python | e21b306da70995ca1582666378b7059495ff1bee | [
"BSD-3-Clause"
] | 2 | 2019-02-15T20:23:39.000Z | 2019-02-15T20:26:06.000Z | tests/contrib/django/testapp/tasks.py | lyrixderaven/apm-agent-python | e21b306da70995ca1582666378b7059495ff1bee | [
"BSD-3-Clause"
] | null | null | null | tests/contrib/django/testapp/tasks.py | lyrixderaven/apm-agent-python | e21b306da70995ca1582666378b7059495ff1bee | [
"BSD-3-Clause"
] | null | null | null | from ..testapp.celery import app
@app.task()
def successful_task():
return "OK"
@app.task()
def failing_task():
raise ValueError("foo")
| 12.333333 | 32 | 0.668919 | 20 | 148 | 4.85 | 0.7 | 0.14433 | 0.206186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175676 | 148 | 11 | 33 | 13.454545 | 0.795082 | 0 | 0 | 0.285714 | 0 | 0 | 0.033784 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | true | 0 | 0.142857 | 0.142857 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
edb0288a1028453ddf9208a2bfcffd5777b3b885 | 101 | py | Python | office365/sharepoint/utilities/wopi_properties.py | rikeshtailor/Office365-REST-Python-Client | ca7bfa1b22212137bb4e984c0457632163e89a43 | [
"MIT"
] | 544 | 2016-08-04T17:10:16.000Z | 2022-03-31T07:17:20.000Z | office365/sharepoint/utilities/wopi_properties.py | rikeshtailor/Office365-REST-Python-Client | ca7bfa1b22212137bb4e984c0457632163e89a43 | [
"MIT"
] | 438 | 2016-10-11T12:24:22.000Z | 2022-03-31T19:30:35.000Z | office365/sharepoint/utilities/wopi_properties.py | rikeshtailor/Office365-REST-Python-Client | ca7bfa1b22212137bb4e984c0457632163e89a43 | [
"MIT"
] | 202 | 2016-08-22T19:29:40.000Z | 2022-03-30T20:26:15.000Z | from office365.runtime.client_value import ClientValue
class WopiProperties(ClientValue):
pass
| 16.833333 | 54 | 0.821782 | 11 | 101 | 7.454545 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034091 | 0.128713 | 101 | 5 | 55 | 20.2 | 0.897727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
edbfc8013963b16abf293298d8114b0a57b6f619 | 32,112 | py | Python | dummy_data/dummy_data.py | Lakith-Rambukkanage/dm_rasa_chatbot | 81866ec337dd93e3eabc352696e3f997ebe37cb1 | [
"MIT"
] | null | null | null | dummy_data/dummy_data.py | Lakith-Rambukkanage/dm_rasa_chatbot | 81866ec337dd93e3eabc352696e3f997ebe37cb1 | [
"MIT"
] | null | null | null | dummy_data/dummy_data.py | Lakith-Rambukkanage/dm_rasa_chatbot | 81866ec337dd93e3eabc352696e3f997ebe37cb1 | [
"MIT"
] | null | null | null | # product_category -> product_sku -> product(product_name, product_category, brand, size, colour, material)
products_list = [
{
"product_category": "පිරිමි",
"sku": "mens_shirt_1",
"product_name": "කමිසය",
"brand": "ලුයිස්",
"size": "කුඩා",
"colour": "සුදු",
"... | 24.217195 | 107 | 0.382723 | 4,910 | 32,112 | 2.686762 | 0.021385 | 0.152365 | 0.05003 | 0.072771 | 0.983626 | 0.983626 | 0.983399 | 0.981883 | 0.971346 | 0.968769 | 0 | 0.033266 | 0.370921 | 32,112 | 1,325 | 108 | 24.235472 | 0.549626 | 0.005605 | 0 | 0.698941 | 0 | 0 | 0.409408 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
edc817b8f43dd0d0a5362459a1c801160c074fb2 | 29 | py | Python | model/keras_mlp/__init__.py | Programish/ascii | 6f946fead975d93908b82744a402fd8918643742 | [
"MIT"
] | null | null | null | model/keras_mlp/__init__.py | Programish/ascii | 6f946fead975d93908b82744a402fd8918643742 | [
"MIT"
] | null | null | null | model/keras_mlp/__init__.py | Programish/ascii | 6f946fead975d93908b82744a402fd8918643742 | [
"MIT"
] | null | null | null | from .model import OcrModel
| 14.5 | 28 | 0.793103 | 4 | 29 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 29 | 1 | 29 | 29 | 0.958333 | 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 |
6114c2faf7eed1148756d64ff7297eaee5353ad7 | 11,920 | py | Python | tests/unit/html_elements_test_io/html_elements_3_functions_io.py | MickyHCorbett/MorfLess | 9761197d7767c250cc27262e1ab41adf21c59333 | [
"MIT"
] | null | null | null | tests/unit/html_elements_test_io/html_elements_3_functions_io.py | MickyHCorbett/MorfLess | 9761197d7767c250cc27262e1ab41adf21c59333 | [
"MIT"
] | null | null | null | tests/unit/html_elements_test_io/html_elements_3_functions_io.py | MickyHCorbett/MorfLess | 9761197d7767c250cc27262e1ab41adf21c59333 | [
"MIT"
] | null | null | null | #
import libraries.constants as ct
import libraries.globals as gb
import libraries.schematics as sch
from collections import OrderedDict
#
test_values_1 = [\
{ 'remark': 'Test Case 1:pcom_process_n_box_command - empty syntax',
'syntax': '',
'custom_class': '',
'placement': '',
'no_boxes': 2,
's... | 23.60396 | 126 | 0.54052 | 1,572 | 11,920 | 4 | 0.072519 | 0.038168 | 0.045802 | 0.054389 | 0.829676 | 0.803117 | 0.779262 | 0.739663 | 0.664122 | 0.61848 | 0 | 0.017578 | 0.260235 | 11,920 | 504 | 127 | 23.650794 | 0.695509 | 0 | 0 | 0.674359 | 0 | 0.061538 | 0.775885 | 0.118308 | 0 | 0 | 0 | 0 | 0.066667 | 1 | 0 | false | 0 | 0.010256 | 0 | 0.010256 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b61b23dddcd9a125f62c6e9a9e9c675f61487415 | 87 | py | Python | mushroom_rl_meta/algorithms/__init__.py | MushroomRL/mushroom-rl-meta | 08c13bd8115c81aba083ec62672956026e7ddd8a | [
"MIT"
] | null | null | null | mushroom_rl_meta/algorithms/__init__.py | MushroomRL/mushroom-rl-meta | 08c13bd8115c81aba083ec62672956026e7ddd8a | [
"MIT"
] | null | null | null | mushroom_rl_meta/algorithms/__init__.py | MushroomRL/mushroom-rl-meta | 08c13bd8115c81aba083ec62672956026e7ddd8a | [
"MIT"
] | null | null | null | from .shared_ddpg import SharedDDPG
from .shared_dqn import SharedDQN, SharedDoubleDQN
| 29 | 50 | 0.862069 | 11 | 87 | 6.636364 | 0.727273 | 0.273973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 87 | 2 | 51 | 43.5 | 0.935897 | 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 |
b676034793c27e3bb62fe7b8be3d6bf2e8b1505f | 339 | py | Python | examples/pybullet/gym/pybullet_envs/baselines/__init__.py | frk2/bullet3 | 225d823e4dc3f952c6c39920c3f87390383e0602 | [
"Zlib"
] | 51 | 2018-11-11T12:47:38.000Z | 2022-03-06T08:39:43.000Z | examples/pybullet/gym/pybullet_envs/baselines/__init__.py | frk2/bullet3 | 225d823e4dc3f952c6c39920c3f87390383e0602 | [
"Zlib"
] | 2 | 2019-11-15T03:21:45.000Z | 2020-09-10T11:53:58.000Z | examples/pybullet/gym/pybullet_envs/baselines/__init__.py | frk2/bullet3 | 225d823e4dc3f952c6c39920c3f87390383e0602 | [
"Zlib"
] | 14 | 2018-12-12T09:12:14.000Z | 2021-10-17T14:30:25.000Z | from . import enjoy_kuka_grasping
from . import enjoy_pybullet_cartpole
from . import enjoy_pybullet_racecar
from . import enjoy_pybullet_zed_racecar
from . import train_kuka_cam_grasping
from . import train_kuka_grasping
from . import train_pybullet_cartpole
from . import train_pybullet_racecar
from . import train_pyb... | 30.818182 | 40 | 0.864307 | 48 | 339 | 5.666667 | 0.229167 | 0.330882 | 0.275735 | 0.253676 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109145 | 339 | 10 | 41 | 33.9 | 0.900662 | 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 | 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 |
fce6642f624323d12f7a2a33ebd87282907a0207 | 57 | py | Python | handybelt/originalFiles/command_line.py | charleskawczynski/handybelt | 9596ee67ca3d06637068472c3962090db09fba41 | [
"MIT"
] | null | null | null | handybelt/originalFiles/command_line.py | charleskawczynski/handybelt | 9596ee67ca3d06637068472c3962090db09fba41 | [
"MIT"
] | null | null | null | handybelt/originalFiles/command_line.py | charleskawczynski/handybelt | 9596ee67ca3d06637068472c3962090db09fba41 | [
"MIT"
] | null | null | null | import screenshot
def main():
screenshot.screenshot()
| 11.4 | 25 | 0.754386 | 6 | 57 | 7.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140351 | 57 | 4 | 26 | 14.25 | 0.877551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1e75f7a6ea3559df64cb8d0dd2c72e46c160ea9b | 112 | py | Python | envs/__init__.py | abhayraw1/planet-torch | 656189e060f24e262c09eb754e4bf99bed8662b7 | [
"RSA-MD"
] | 1 | 2022-02-02T14:52:01.000Z | 2022-02-02T14:52:01.000Z | envs/__init__.py | abhayraw1/planet-torch | 656189e060f24e262c09eb754e4bf99bed8662b7 | [
"RSA-MD"
] | null | null | null | envs/__init__.py | abhayraw1/planet-torch | 656189e060f24e262c09eb754e4bf99bed8662b7 | [
"RSA-MD"
] | null | null | null | from . import payload_env_g2g
from . import payload_env_gym
CUSTOM_ENVS = ['PayloadEnv-v0', 'PayloadEnvG2G-v0'] | 28 | 51 | 0.785714 | 16 | 112 | 5.1875 | 0.6875 | 0.240964 | 0.409639 | 0.481928 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.107143 | 112 | 4 | 51 | 28 | 0.79 | 0 | 0 | 0 | 0 | 0 | 0.256637 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
1e8a3d92dab3d8ed20d5b595f922b6871220cd5f | 130 | py | Python | mystem/__init__.py | mvasilkov/python-mystem | bfed3b22bff57c839dd61aacdcc8c5f7214f3c78 | [
"MIT"
] | 1 | 2021-07-28T19:01:19.000Z | 2021-07-28T19:01:19.000Z | mystem/__init__.py | mvasilkov/python-mystem | bfed3b22bff57c839dd61aacdcc8c5f7214f3c78 | [
"MIT"
] | null | null | null | mystem/__init__.py | mvasilkov/python-mystem | bfed3b22bff57c839dd61aacdcc8c5f7214f3c78 | [
"MIT"
] | null | null | null | from .install import install, is_installed, is_usable, uninstall
__all__ = ('install', 'is_installed', 'is_usable', 'uninstall')
| 32.5 | 64 | 0.753846 | 16 | 130 | 5.625 | 0.5 | 0.2 | 0.4 | 0.444444 | 0.777778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107692 | 130 | 3 | 65 | 43.333333 | 0.775862 | 0 | 0 | 0 | 0 | 0 | 0.284615 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
1e9367c6e3015ac5e96b182f92ddefa20fe5bdb3 | 41 | py | Python | segmate/widgets/__init__.py | justacid/segmate | 7b66b207ca353805f7ad9c7e003645cd2cbc227a | [
"MIT"
] | null | null | null | segmate/widgets/__init__.py | justacid/segmate | 7b66b207ca353805f7ad9c7e003645cd2cbc227a | [
"MIT"
] | null | null | null | segmate/widgets/__init__.py | justacid/segmate | 7b66b207ca353805f7ad9c7e003645cd2cbc227a | [
"MIT"
] | null | null | null | from .mainwindow import MainWindowWidget
| 20.5 | 40 | 0.878049 | 4 | 41 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.972973 | 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 |
a221abd024ec0da605b96705681bfd20ef854916 | 147 | py | Python | Python/django/testexample/mainApp/views.py | GeorgiyDemo/scrapheap | 1d298eb63e0e6a8fc92ab84a05372d2ed33beba1 | [
"MIT"
] | null | null | null | Python/django/testexample/mainApp/views.py | GeorgiyDemo/scrapheap | 1d298eb63e0e6a8fc92ab84a05372d2ed33beba1 | [
"MIT"
] | null | null | null | Python/django/testexample/mainApp/views.py | GeorgiyDemo/scrapheap | 1d298eb63e0e6a8fc92ab84a05372d2ed33beba1 | [
"MIT"
] | 1 | 2019-03-14T15:48:23.000Z | 2019-03-14T15:48:23.000Z | from django.shortcuts import render
from django.http import HttpResponse
def index(request):
return render(request, "mainApp/homepage.html")
| 21 | 51 | 0.789116 | 19 | 147 | 6.105263 | 0.736842 | 0.172414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129252 | 147 | 6 | 52 | 24.5 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0.142857 | 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 |
bf6ad6e3f3035ab96259b26f7d820bdb8d3afcd5 | 31 | py | Python | kgbase/__init__.py | cuppajoeman/kgbase-client | 12b51d540c1f3e39dfa921cdb87cb91c2da9e82a | [
"MIT"
] | 4 | 2021-01-18T14:09:00.000Z | 2022-03-26T17:59:44.000Z | kgbase/__init__.py | cuppajoeman/kgbase-client | 12b51d540c1f3e39dfa921cdb87cb91c2da9e82a | [
"MIT"
] | 3 | 2019-02-15T04:49:49.000Z | 2021-02-02T13:25:14.000Z | kgbase/__init__.py | cuppajoeman/kgbase-client | 12b51d540c1f3e39dfa921cdb87cb91c2da9e82a | [
"MIT"
] | 1 | 2021-08-24T22:00:20.000Z | 2021-08-24T22:00:20.000Z | from kgbase.Query import Query
| 15.5 | 30 | 0.83871 | 5 | 31 | 5.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bf9a35c5810f086053d4634915c38c6689b6880a | 342 | py | Python | Ex_Files_Python_Standard_Library_EssT/Exercise Files/Chapter 3/03_05/zipfile_start.py | steveayers124/PythonStandardLibraryEssentialTraining | 93cbd9f16975f06e5778d83757a4da9489b77470 | [
"BSD-2-Clause"
] | 1 | 2019-07-06T08:41:43.000Z | 2019-07-06T08:41:43.000Z | Ex_Files_Python_Standard_Library_EssT/Exercise Files/Chapter 3/03_05/zipfile_start.py | steveayers124/PythonStandardLibraryEssentialTraining | 93cbd9f16975f06e5778d83757a4da9489b77470 | [
"BSD-2-Clause"
] | null | null | null | Ex_Files_Python_Standard_Library_EssT/Exercise Files/Chapter 3/03_05/zipfile_start.py | steveayers124/PythonStandardLibraryEssentialTraining | 93cbd9f16975f06e5778d83757a4da9489b77470 | [
"BSD-2-Clause"
] | 1 | 2019-07-06T08:41:43.000Z | 2019-07-06T08:41:43.000Z | # Working with ZIP files in Python
import zipfile
# TODO: Create a new ZIP archive
# TODO: Check validity of the file
# TODO: Read the properties of a ZIP archive
# TODO: Read the properties of ZIP contents
# TODO: Extract ZIP file contents
# zfile.extract("file2.txt")
# zfile.extractall()
# TODO: Ensure th... | 14.869565 | 44 | 0.725146 | 53 | 342 | 4.679245 | 0.566038 | 0.080645 | 0.112903 | 0.169355 | 0.185484 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003676 | 0.204678 | 342 | 22 | 45 | 15.545455 | 0.908088 | 0.865497 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bfbae6880d1cf0001818466c79dcaf36ae31a225 | 38 | py | Python | dsvfile/__init__.py | phoenixx-666/dsvread | 8a073c12343b2f0d34f9b728282dfefe10999f24 | [
"MIT"
] | 2 | 2021-03-01T19:57:20.000Z | 2021-08-02T20:54:48.000Z | dsvfile/__init__.py | phoenixx-666/dsvread | 8a073c12343b2f0d34f9b728282dfefe10999f24 | [
"MIT"
] | null | null | null | dsvfile/__init__.py | phoenixx-666/dsvread | 8a073c12343b2f0d34f9b728282dfefe10999f24 | [
"MIT"
] | null | null | null | from .Models.GameSave import GameSave
| 19 | 37 | 0.842105 | 5 | 38 | 6.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bfd3c3a9d3e9e9f78890be90a49a4321d707af62 | 6,434 | py | Python | tests/conftest.py | oss-spanish-geoserver/carto-etl | 8b3199b730900b50830f9e7012e8533f62239ca5 | [
"BSD-3-Clause"
] | 15 | 2017-02-15T10:52:08.000Z | 2021-06-01T05:01:52.000Z | tests/conftest.py | oss-spanish-geoserver/carto-etl | 8b3199b730900b50830f9e7012e8533f62239ca5 | [
"BSD-3-Clause"
] | 6 | 2017-09-06T08:11:39.000Z | 2021-03-31T18:27:56.000Z | tests/conftest.py | oss-spanish-geoserver/carto-etl | 8b3199b730900b50830f9e7012e8533f62239ca5 | [
"BSD-3-Clause"
] | 3 | 2018-02-25T18:13:06.000Z | 2020-01-17T14:49:20.000Z | import pytest
from etl.etl import UploadJob
config = {
"carto": {
"base_url": "http://wronguser123456.carto.com",
"api_key": "",
"table_name": "MYTABLE",
"delimiter": ",",
"columns": "",
"date_columns": "date_col,date_col2,date_col3,date_col4,wrong_date_col,wrong_da... | 29.787037 | 393 | 0.56963 | 775 | 6,434 | 4.44129 | 0.141935 | 0.024404 | 0.034863 | 0.026148 | 0.808542 | 0.808542 | 0.794596 | 0.762347 | 0.762347 | 0.762347 | 0 | 0.042303 | 0.246814 | 6,434 | 215 | 394 | 29.925581 | 0.667974 | 0 | 0 | 0.613065 | 0 | 0 | 0.375194 | 0.088592 | 0 | 0 | 0 | 0 | 0 | 1 | 0.050251 | false | 0 | 0.01005 | 0.020101 | 0.110553 | 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 |
44c98562419f44aad286719bfe609a826864bc39 | 150 | py | Python | python-flask/routes.py | PinZhang/Boilerplates | af423d3ce8b1d1b722a7fcebab5d4f89e9170648 | [
"Apache-2.0"
] | null | null | null | python-flask/routes.py | PinZhang/Boilerplates | af423d3ce8b1d1b722a7fcebab5d4f89e9170648 | [
"Apache-2.0"
] | null | null | null | python-flask/routes.py | PinZhang/Boilerplates | af423d3ce8b1d1b722a7fcebab5d4f89e9170648 | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2016 Acadine Technologies
# All rights reserved.
from app import app
@app.route('/')
def hello_world():
return 'Hello, world!'
| 15 | 41 | 0.693333 | 20 | 150 | 5.15 | 0.8 | 0.194175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03252 | 0.18 | 150 | 9 | 42 | 16.666667 | 0.804878 | 0.4 | 0 | 0 | 0 | 0 | 0.162791 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
780e520e2559037a02e0e6f60156163c58abc454 | 26 | py | Python | loyalpy/__init__.py | joshloyal/loyalpy | 014ed88226628d826b496e7d5fb0b80993a7c38a | [
"MIT"
] | null | null | null | loyalpy/__init__.py | joshloyal/loyalpy | 014ed88226628d826b496e7d5fb0b80993a7c38a | [
"MIT"
] | null | null | null | loyalpy/__init__.py | joshloyal/loyalpy | 014ed88226628d826b496e7d5fb0b80993a7c38a | [
"MIT"
] | null | null | null | from loyalpy import plots
| 13 | 25 | 0.846154 | 4 | 26 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
78150e8369e582f28ecbd7bfeea5953c5f214064 | 767 | py | Python | Platforms/Web/Processing/Api/Discord/__init__.py | The-CJ/Phaazebot | 83a9563d210718071d4e2cdcca3b212c87abaf51 | [
"MIT"
] | 2 | 2017-09-14T08:07:55.000Z | 2021-05-18T05:05:05.000Z | Platforms/Web/Processing/Api/Discord/__init__.py | The-CJ/Phaazebot | 83a9563d210718071d4e2cdcca3b212c87abaf51 | [
"MIT"
] | 111 | 2018-04-15T14:32:14.000Z | 2021-03-28T21:06:29.000Z | Platforms/Web/Processing/Api/Discord/__init__.py | The-CJ/Phaazebot | 83a9563d210718071d4e2cdcca3b212c87abaf51 | [
"MIT"
] | 1 | 2018-04-15T13:24:44.000Z | 2018-04-15T13:24:44.000Z | import Platforms.Web.Processing.Api.Discord.Assignroles as Assignroles
import Platforms.Web.Processing.Api.Discord.Commands as Commands
import Platforms.Web.Processing.Api.Discord.Configs as Configs
import Platforms.Web.Processing.Api.Discord.Levels as Levels
import Platforms.Web.Processing.Api.Discord.Logs as Logs
imp... | 54.785714 | 72 | 0.857888 | 108 | 767 | 6.092593 | 0.175926 | 0.273556 | 0.328267 | 0.510638 | 0.693009 | 0.693009 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063885 | 767 | 13 | 73 | 59 | 0.916435 | 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 | 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 |
78c2bba69d61a0415f6b7fe825c1b90862e2f7e0 | 23 | py | Python | vhinny/__init__.py | vhinny-investing/api | 8439e759cee6069411d19cc4f15d6a4ded919d75 | [
"MIT"
] | null | null | null | vhinny/__init__.py | vhinny-investing/api | 8439e759cee6069411d19cc4f15d6a4ded919d75 | [
"MIT"
] | 1 | 2020-06-01T04:09:40.000Z | 2020-06-01T04:09:40.000Z | vhinny/__init__.py | vhinny-investing/api | 8439e759cee6069411d19cc4f15d6a4ded919d75 | [
"MIT"
] | null | null | null | from .api import Vhinny | 23 | 23 | 0.826087 | 4 | 23 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 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 |
152c809a3c50b207e95040c48f28200b765d0c7f | 182 | py | Python | 122A Lucky Division/solve.py | FahimFBA/Codeforces-Problem-Solution-by-FBA | de7b5b11b978fb28d9817832fec56ddfea02f7a9 | [
"Apache-2.0"
] | 1 | 2020-11-12T13:06:09.000Z | 2020-11-12T13:06:09.000Z | 122A Lucky Division/solve.py | FahimFBA/Codeforces-Problem-Solution-by-FBA | de7b5b11b978fb28d9817832fec56ddfea02f7a9 | [
"Apache-2.0"
] | null | null | null | 122A Lucky Division/solve.py | FahimFBA/Codeforces-Problem-Solution-by-FBA | de7b5b11b978fb28d9817832fec56ddfea02f7a9 | [
"Apache-2.0"
] | 1 | 2021-10-17T05:08:47.000Z | 2021-10-17T05:08:47.000Z | n=int(input())
if (n%4==0 or n%7==0 or n%47==0 or n%74==0 or n%444==0 or n%447==0 or n%474==0 or n%744==0 or n%477==0 or n%747==0 or n%777==0):
print("YES")
else:
print("NO") | 36.4 | 128 | 0.543956 | 52 | 182 | 1.903846 | 0.403846 | 0.30303 | 0.40404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.255034 | 0.181319 | 182 | 5 | 129 | 36.4 | 0.409396 | 0 | 0 | 0 | 0 | 0 | 0.027322 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 0 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1536b90434c49a0e64f788306b520c0737b46431 | 33,628 | py | Python | CalcGUI/SideMenu.py | AMSZ-BMEGPK/Aream | 0573ef9a9380a239f26da05d7a7422940d038884 | [
"MIT"
] | null | null | null | CalcGUI/SideMenu.py | AMSZ-BMEGPK/Aream | 0573ef9a9380a239f26da05d7a7422940d038884 | [
"MIT"
] | null | null | null | CalcGUI/SideMenu.py | AMSZ-BMEGPK/Aream | 0573ef9a9380a239f26da05d7a7422940d038884 | [
"MIT"
] | null | null | null | import tkinter as tk
from tkinter import ttk
from tkinter.constants import FLAT
from PlotFunctions import plot
class SideMenu(tk.Frame):
def __init__(self, root):
super().__init__(root,width=40, bg=root.colors['secondary_color'])
self.root = root
self.shape = None
# DEFINE SIDEMENU OBJECTS ... | 63.449057 | 225 | 0.638337 | 4,744 | 33,628 | 4.412521 | 0.051223 | 0.064921 | 0.051498 | 0.069507 | 0.814838 | 0.773038 | 0.764105 | 0.738833 | 0.71576 | 0.695361 | 0 | 0.024704 | 0.17304 | 33,628 | 529 | 226 | 63.568998 | 0.728038 | 0.063994 | 0 | 0.45122 | 0 | 0 | 0.110329 | 0.028251 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041463 | false | 0 | 0.009756 | 0 | 0.053659 | 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 |
157c5b9b1ea3865c422186507c3890e74ff0a7ec | 99 | py | Python | Draft/String slicer.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | 6 | 2020-09-03T09:32:25.000Z | 2020-12-07T04:10:01.000Z | Draft/String slicer.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | 1 | 2021-12-13T15:30:21.000Z | 2021-12-13T15:30:21.000Z | Draft/String slicer.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | null | null | null | def string_slicer(string, size):
return [string[i:i+size] for i in range(0, len(string), size)] | 49.5 | 66 | 0.69697 | 18 | 99 | 3.777778 | 0.611111 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011765 | 0.141414 | 99 | 2 | 66 | 49.5 | 0.788235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
eca8e6d7a0d8bd05f662ef7b3f514de3e899714d | 72 | py | Python | transformations2log/__init__.py | danilown/transformations2log | b21b76a225752a8a318047aeaceb1969cc095c92 | [
"MIT"
] | null | null | null | transformations2log/__init__.py | danilown/transformations2log | b21b76a225752a8a318047aeaceb1969cc095c92 | [
"MIT"
] | null | null | null | transformations2log/__init__.py | danilown/transformations2log | b21b76a225752a8a318047aeaceb1969cc095c92 | [
"MIT"
] | null | null | null | from transformations2log.transformations2log import transformations2log
| 36 | 71 | 0.930556 | 5 | 72 | 13.4 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044118 | 0.055556 | 72 | 1 | 72 | 72 | 0.941176 | 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 |
eca903f0658534e65d4a56a026dd3501a8fc5693 | 58 | py | Python | app/depends.py | Bloodielie/controller_checker_bot | 0463101417f6ffac084e4873a0457b92b0556665 | [
"Apache-2.0"
] | 1 | 2021-10-30T17:10:09.000Z | 2021-10-30T17:10:09.000Z | app/depends.py | Bloodielie/controller_checker_bot | 0463101417f6ffac084e4873a0457b92b0556665 | [
"Apache-2.0"
] | 4 | 2021-06-08T22:07:15.000Z | 2022-03-12T00:43:37.000Z | app/depends.py | Bloodielie/controller_checker_bot | 0463101417f6ffac084e4873a0457b92b0556665 | [
"Apache-2.0"
] | null | null | null | def get_locale(data: dict):
return data.get("locale")
| 19.333333 | 29 | 0.689655 | 9 | 58 | 4.333333 | 0.666667 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155172 | 58 | 2 | 30 | 29 | 0.795918 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
01cdf709180fbdd398205a73eab7d17a868c19dd | 47 | py | Python | mouse_location.py | kubicki14/ChipotleNow | 04c7354d3f9fcd5f47a3f9aeebf11b678315c49c | [
"MIT"
] | null | null | null | mouse_location.py | kubicki14/ChipotleNow | 04c7354d3f9fcd5f47a3f9aeebf11b678315c49c | [
"MIT"
] | null | null | null | mouse_location.py | kubicki14/ChipotleNow | 04c7354d3f9fcd5f47a3f9aeebf11b678315c49c | [
"MIT"
] | null | null | null | import autopy
print(autopy.mouse.location())
| 15.666667 | 31 | 0.765957 | 6 | 47 | 6 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 47 | 2 | 32 | 23.5 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
01f97adb7752b809abb252cc909d50d84ebd5ad3 | 199 | py | Python | smarthome_kvant/remote_control/admin.py | S1r0pchik/SmartHome_Kvant | e0f32214b236340d34a37bcfde3438de0249a90e | [
"MIT"
] | 6 | 2020-10-24T19:59:09.000Z | 2021-02-06T16:23:02.000Z | smarthome_kvant/remote_control/admin.py | S1r0pchik/SmartHome_Kvant | e0f32214b236340d34a37bcfde3438de0249a90e | [
"MIT"
] | null | null | null | smarthome_kvant/remote_control/admin.py | S1r0pchik/SmartHome_Kvant | e0f32214b236340d34a37bcfde3438de0249a90e | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Termometr, Led, PosTerm, Users
admin.site.register(Termometr),
admin.site.register(Led),
admin.site.register(PosTerm),
admin.site.register(Users) | 28.428571 | 50 | 0.80402 | 28 | 199 | 5.714286 | 0.428571 | 0.225 | 0.425 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075377 | 199 | 7 | 51 | 28.428571 | 0.869565 | 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 |
bf31a1dcf3c7e52d112bafd3bc83946c7443540f | 36 | py | Python | pywren_ibm_cloud/storage/backends/ibm_cos/__init__.py | class-euproject/lithops | acf381817673c29db0e9e143001029357890a39b | [
"Apache-2.0"
] | 1 | 2020-08-04T08:16:31.000Z | 2020-08-04T08:16:31.000Z | pywren_ibm_cloud/storage/backends/ibm_cos/__init__.py | class-euproject/lithops | acf381817673c29db0e9e143001029357890a39b | [
"Apache-2.0"
] | null | null | null | pywren_ibm_cloud/storage/backends/ibm_cos/__init__.py | class-euproject/lithops | acf381817673c29db0e9e143001029357890a39b | [
"Apache-2.0"
] | null | null | null | from .ibm_cos import StorageBackend
| 18 | 35 | 0.861111 | 5 | 36 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 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 |
1779ef7513faa9991017057f04caff67df0204f5 | 3,051 | py | Python | graphtheory/hamiltonian/tspnn.py | gitter-badger/graphs-dict | 2be1a5b140feb050eec799d6cadf6de5eef01745 | [
"BSD-3-Clause"
] | 36 | 2015-09-20T20:55:39.000Z | 2021-09-20T05:49:03.000Z | graphtheory/hamiltonian/tspnn.py | gitter-badger/graphs-dict | 2be1a5b140feb050eec799d6cadf6de5eef01745 | [
"BSD-3-Clause"
] | 6 | 2016-03-25T21:41:46.000Z | 2020-02-12T03:18:59.000Z | graphtheory/hamiltonian/tspnn.py | gitter-badger/graphs-dict | 2be1a5b140feb050eec799d6cadf6de5eef01745 | [
"BSD-3-Clause"
] | 9 | 2016-09-12T07:57:27.000Z | 2022-03-21T16:15:39.000Z | #!/usr/bin/python
try:
integer_types = (int, long)
except NameError: # Python 3
integer_types = (int,)
xrange = range
class NearestNeighborTSPWithEdges:
"""The nearest neighbor algorithm for TSP.
Attributes
----------
graph : input weighted complete graph
hamiltonian_cycle : li... | 33.163043 | 95 | 0.603736 | 355 | 3,051 | 5.073239 | 0.230986 | 0.08995 | 0.077735 | 0.028873 | 0.817879 | 0.79789 | 0.761799 | 0.761799 | 0.761799 | 0.761799 | 0 | 0.002322 | 0.29433 | 3,051 | 91 | 96 | 33.527473 | 0.834185 | 0.224517 | 0 | 0.679245 | 0 | 0 | 0.018559 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.075472 | false | 0 | 0 | 0 | 0.113208 | 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 |
bd573b671e0e162940549191fe8cb05683bad76b | 20 | py | Python | src/jupyter/ipfs-client/src/jcipfsclient/__init__.py | tiredcoder/jovian-colab | b5ae632fd5373d227fa84c9df77a226f70a1c1db | [
"BSD-3-Clause"
] | null | null | null | src/jupyter/ipfs-client/src/jcipfsclient/__init__.py | tiredcoder/jovian-colab | b5ae632fd5373d227fa84c9df77a226f70a1c1db | [
"BSD-3-Clause"
] | null | null | null | src/jupyter/ipfs-client/src/jcipfsclient/__init__.py | tiredcoder/jovian-colab | b5ae632fd5373d227fa84c9df77a226f70a1c1db | [
"BSD-3-Clause"
] | null | null | null | from .ipfs 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 |
bd95657d2c9b3bd67ad32ca0a20ba625ac3e68f7 | 28 | py | Python | i2c-display/__init__.py | foxdb/raspberry-resources | e4b3f899f0f1b5ac21e5bbbbaa8a7e80404455f6 | [
"MIT"
] | null | null | null | i2c-display/__init__.py | foxdb/raspberry-resources | e4b3f899f0f1b5ac21e5bbbbaa8a7e80404455f6 | [
"MIT"
] | null | null | null | i2c-display/__init__.py | foxdb/raspberry-resources | e4b3f899f0f1b5ac21e5bbbbaa8a7e80404455f6 | [
"MIT"
] | null | null | null | from .driver import display
| 14 | 27 | 0.821429 | 4 | 28 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.958333 | 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 |
da176d55f71972499fa1b6148ed2969f71960a09 | 9,706 | py | Python | tests/test_annotations.py | Bilonan/django-binder | d2d9b504a92029a0afc616be81a08f0deddd5b64 | [
"MIT"
] | 14 | 2016-08-15T13:08:55.000Z | 2021-11-17T11:43:20.000Z | tests/test_annotations.py | Bilonan/django-binder | d2d9b504a92029a0afc616be81a08f0deddd5b64 | [
"MIT"
] | 141 | 2016-08-14T15:36:35.000Z | 2022-02-17T08:53:52.000Z | tests/test_annotations.py | Bilonan/django-binder | d2d9b504a92029a0afc616be81a08f0deddd5b64 | [
"MIT"
] | 18 | 2016-10-01T21:30:22.000Z | 2022-03-28T10:51:41.000Z | from django.test import TestCase, Client
from django.contrib.auth.models import User
from binder.json import jsonloads, jsondumps
from .testapp.models import Animal, Caretaker, Zoo
class AnnotationTestCase(TestCase):
def setUp(self):
super().setUp()
u = User(username='testuser', is_active=True, is_superuser=Tr... | 31.309677 | 131 | 0.699155 | 1,300 | 9,706 | 5.094615 | 0.082308 | 0.044693 | 0.051336 | 0.054356 | 0.87483 | 0.835573 | 0.801449 | 0.801449 | 0.790427 | 0.754945 | 0 | 0.014957 | 0.118277 | 9,706 | 309 | 132 | 31.411003 | 0.758939 | 0 | 0 | 0.678862 | 0 | 0 | 0.200907 | 0.064805 | 0 | 0 | 0 | 0 | 0.321138 | 1 | 0.077236 | false | 0.01626 | 0.01626 | 0 | 0.101626 | 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 |
da64626117803c9accf87d8437f09d47ca7f4d3b | 2,104 | py | Python | pyaz/acr/connected_registry/permissions/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/acr/connected_registry/permissions/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/acr/connected_registry/permissions/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | 1 | 2022-02-03T09:12:01.000Z | 2022-02-03T09:12:01.000Z | from .... pyaz_utils import _call_az
def update(name, registry, add=None, remove=None, resource_group=None):
'''
Add and remove repository permissions accross all the necessary connected registry sync scope maps.
Required Parameters:
- name -- Name for the connected registry. Name must be between 5 to... | 65.75 | 284 | 0.732414 | 294 | 2,104 | 5.197279 | 0.319728 | 0.089005 | 0.026178 | 0.034031 | 0.755236 | 0.755236 | 0.722513 | 0.67801 | 0.67801 | 0.67801 | 0 | 0.00579 | 0.179183 | 2,104 | 31 | 285 | 67.870968 | 0.878981 | 0.80846 | 0 | 0 | 0 | 0 | 0.266254 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
da83a31fcfd52d25234d4bb2047f0231116f5178 | 40 | py | Python | src/apps/blindingkeys/__init__.py | nolim1t/specter-diy | 4663d1916143a4e0e8ace26789259a19e949e94f | [
"MIT"
] | 279 | 2019-08-31T02:26:24.000Z | 2022-03-30T06:34:33.000Z | src/apps/blindingkeys/__init__.py | nolim1t/specter-diy | 4663d1916143a4e0e8ace26789259a19e949e94f | [
"MIT"
] | 125 | 2019-09-17T10:48:57.000Z | 2022-03-11T11:06:51.000Z | src/apps/blindingkeys/__init__.py | nolim1t/specter-diy | 4663d1916143a4e0e8ace26789259a19e949e94f | [
"MIT"
] | 58 | 2019-09-03T17:11:13.000Z | 2022-03-31T03:17:40.000Z | from .app import BlindingKeysApp as App
| 20 | 39 | 0.825 | 6 | 40 | 5.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 40 | 1 | 40 | 40 | 0.970588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e516f67a49b6c70b8fd95c35f179d756e4e3fa71 | 2,408 | py | Python | models/s_pyramid_net.py | HLinShan/vision_networks | e328e8e056837a1a6eaa21fad3940c0b3825dfa6 | [
"MIT"
] | 2 | 2019-12-12T12:00:22.000Z | 2019-12-12T12:08:34.000Z | models/s_pyramid_net.py | Jimwi/vision_networks | e328e8e056837a1a6eaa21fad3940c0b3825dfa6 | [
"MIT"
] | null | null | null | models/s_pyramid_net.py | Jimwi/vision_networks | e328e8e056837a1a6eaa21fad3940c0b3825dfa6 | [
"MIT"
] | null | null | null | import tensorflow as tf
from tensorflow.contrib import slim
from models.pyramid_net import PyramidNet
class SPyramidNet(PyramidNet):
def __init__(self, data_provider, model_type, depth, dataset,
alpha, weight_decay, nesterov_momentum,
should_save_logs, should_save_model,
... | 42.245614 | 102 | 0.557309 | 294 | 2,408 | 4.306122 | 0.234694 | 0.07188 | 0.023697 | 0.025276 | 0.834123 | 0.791469 | 0.754344 | 0.752765 | 0.704581 | 0.704581 | 0 | 0.030266 | 0.327658 | 2,408 | 56 | 103 | 43 | 0.751699 | 0.024502 | 0 | 0.553191 | 0 | 0 | 0.011504 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.06383 | false | 0 | 0.06383 | 0 | 0.191489 | 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 |
e55beb8565b75e054533c67df9a5b40971d726cc | 101 | py | Python | abc/050/a/answer.py | TakuyaNoguchi/atcoder | d079402e6fe9c9aaf3a6fc9272331ee71fc497da | [
"MIT"
] | null | null | null | abc/050/a/answer.py | TakuyaNoguchi/atcoder | d079402e6fe9c9aaf3a6fc9272331ee71fc497da | [
"MIT"
] | null | null | null | abc/050/a/answer.py | TakuyaNoguchi/atcoder | d079402e6fe9c9aaf3a6fc9272331ee71fc497da | [
"MIT"
] | null | null | null | A, op, B = input().split()
if op == '+':
print(int(A) + int(B))
else:
print(int(A) - int(B)) | 16.833333 | 26 | 0.475248 | 18 | 101 | 2.666667 | 0.5 | 0.333333 | 0.375 | 0.5 | 0.541667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.237624 | 101 | 6 | 27 | 16.833333 | 0.623377 | 0 | 0 | 0 | 0 | 0 | 0.009804 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.4 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f901c45c181e6e332e9d45cf3418028aada3884e | 82 | py | Python | window/__init__.py | Sanek63/cryptography_ui | fc3623b144a8f7d2a350c17d421b69cfc7025bc1 | [
"MIT"
] | null | null | null | window/__init__.py | Sanek63/cryptography_ui | fc3623b144a8f7d2a350c17d421b69cfc7025bc1 | [
"MIT"
] | null | null | null | window/__init__.py | Sanek63/cryptography_ui | fc3623b144a8f7d2a350c17d421b69cfc7025bc1 | [
"MIT"
] | null | null | null | from .receive_panel import MainReceivePanel
from .send_panel import MainSendPanel
| 27.333333 | 43 | 0.878049 | 10 | 82 | 7 | 0.7 | 0.314286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 82 | 2 | 44 | 41 | 0.945946 | 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 |
f92a199611267dc790ef033a974da6b419e137c6 | 236 | py | Python | apps/forms.py | hibbie/old-site | 0378624d6665175fed1bc4efa41f479617ef4c1b | [
"MIT"
] | null | null | null | apps/forms.py | hibbie/old-site | 0378624d6665175fed1bc4efa41f479617ef4c1b | [
"MIT"
] | null | null | null | apps/forms.py | hibbie/old-site | 0378624d6665175fed1bc4efa41f479617ef4c1b | [
"MIT"
] | null | null | null | from django import forms
class LlamaContactForm(forms.Form):
name = forms.CharField(required=True)
email= forms.EmailField(required=True)
content = forms.CharField(
required=True,
widget=forms.Textarea
) | 26.222222 | 42 | 0.699153 | 26 | 236 | 6.346154 | 0.615385 | 0.218182 | 0.266667 | 0.315152 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207627 | 236 | 9 | 43 | 26.222222 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.625 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
daabf5c2c4539e3e9fd045e24ab1ea55908897df | 169 | py | Python | utils/__init__.py | lulindev/UNet-pytorch | cf91e251891a2926f46b628985ebdda66bc637a2 | [
"MIT"
] | 3 | 2021-04-07T08:05:44.000Z | 2021-06-25T16:55:56.000Z | utils/__init__.py | lulindev/UNet-pytorch | cf91e251891a2926f46b628985ebdda66bc637a2 | [
"MIT"
] | null | null | null | utils/__init__.py | lulindev/UNet-pytorch | cf91e251891a2926f46b628985ebdda66bc637a2 | [
"MIT"
] | 2 | 2021-08-19T10:23:32.000Z | 2021-12-15T03:26:11.000Z | import utils.builder
import utils.hooks
import utils.loss
import utils.lr_scheduler
import utils.metrics
import utils.state_dict_converter
import utils.train_interupter
| 21.125 | 33 | 0.87574 | 25 | 169 | 5.76 | 0.52 | 0.534722 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08284 | 169 | 7 | 34 | 24.142857 | 0.929032 | 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 |
daffb3a71900b6a98b765ff494a4f1618b33eab6 | 13,814 | py | Python | test/algorithms/classifiers/test_neural_network_classifier.py | epelaaez/qiskit-machine-learning | 04f359f7dcd1186ece17640df1168a0c7ff9a3e8 | [
"Apache-2.0"
] | 1 | 2021-08-28T20:35:40.000Z | 2021-08-28T20:35:40.000Z | test/algorithms/classifiers/test_neural_network_classifier.py | epelaaez/qiskit-machine-learning | 04f359f7dcd1186ece17640df1168a0c7ff9a3e8 | [
"Apache-2.0"
] | null | null | null | test/algorithms/classifiers/test_neural_network_classifier.py | epelaaez/qiskit-machine-learning | 04f359f7dcd1186ece17640df1168a0c7ff9a3e8 | [
"Apache-2.0"
] | null | null | null | # This code is part of Qiskit.
#
# (C) Copyright IBM 2018, 2021.
#
# This code is licensed under the Apache License, Version 2.0. You may
# obtain a copy of this license in the LICENSE.txt file in the root directory
# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.
#
# Any modifications or derivat... | 34.277916 | 95 | 0.593745 | 1,480 | 13,814 | 5.371622 | 0.147973 | 0.050943 | 0.036226 | 0.021887 | 0.791572 | 0.791572 | 0.778113 | 0.761887 | 0.742138 | 0.729686 | 0 | 0.009767 | 0.288475 | 13,814 | 402 | 96 | 34.363184 | 0.799064 | 0.105328 | 0 | 0.752613 | 0 | 0 | 0.12612 | 0.002036 | 0 | 0 | 0 | 0 | 0.045296 | 1 | 0.038328 | false | 0 | 0.038328 | 0.010453 | 0.090592 | 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 |
971e4437fba30ca880fc5f1fb1e4242ac92f680e | 3,616 | py | Python | tests/recorder/test_bootstrap.py | QualiSystems/cloudshell-recorder | bad4836240a607e9da502264aac2f365290632cf | [
"Apache-2.0"
] | null | null | null | tests/recorder/test_bootstrap.py | QualiSystems/cloudshell-recorder | bad4836240a607e9da502264aac2f365290632cf | [
"Apache-2.0"
] | 7 | 2018-10-22T15:17:09.000Z | 2020-01-16T13:55:51.000Z | tests/recorder/test_bootstrap.py | QualiSystems/cloudshell-recorder | bad4836240a607e9da502264aac2f365290632cf | [
"Apache-2.0"
] | null | null | null | from unittest import TestCase
from click.testing import CliRunner
from mock import patch, Mock
from cloudshell.recorder.bootstrap import new, version
class TestBootstrap(TestCase):
def setUp(self):
self.runner = CliRunner()
@patch("cloudshell.recorder.bootstrap.RecorderOrchestrator")
def test_n... | 45.772152 | 115 | 0.627765 | 422 | 3,616 | 5.13981 | 0.172986 | 0.082988 | 0.116183 | 0.033195 | 0.748271 | 0.738589 | 0.707238 | 0.707238 | 0.707238 | 0.707238 | 0 | 0.028634 | 0.246681 | 3,616 | 78 | 116 | 46.358974 | 0.767621 | 0.02323 | 0 | 0.462963 | 0 | 0 | 0.243757 | 0.114926 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.12963 | false | 0.074074 | 0.074074 | 0 | 0.222222 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
97513925200703828d50bc1d41b9d3e5e5d07a6d | 170 | py | Python | handlers/responses.py | cstieg/Item-Catalog | 7e91c268872a6aaea231b979fdd27a666aab1764 | [
"MIT"
] | null | null | null | handlers/responses.py | cstieg/Item-Catalog | 7e91c268872a6aaea231b979fdd27a666aab1764 | [
"MIT"
] | null | null | null | handlers/responses.py | cstieg/Item-Catalog | 7e91c268872a6aaea231b979fdd27a666aab1764 | [
"MIT"
] | null | null | null | """HTTP Responses"""
import json
def success():
"""Returns success HTTP response"""
return json.dumps({'success':True}), 200, {'ContentType':'application/json'} | 24.285714 | 80 | 0.670588 | 19 | 170 | 6 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 0.135294 | 170 | 7 | 80 | 24.285714 | 0.755102 | 0.258824 | 0 | 0 | 0 | 0 | 0.293103 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
975a2a51ddb0ccc8c8ac73975c926004c0e561f0 | 640 | py | Python | drgpy/_icd9to10.py | mederrata/drgpy | 66f7c535592d0b40d6cf3f3c9c9ff05489613e13 | [
"Apache-2.0"
] | 1 | 2021-01-31T01:12:36.000Z | 2021-01-31T01:12:36.000Z | drgpy/_icd9to10.py | mederrata/drgpy | 66f7c535592d0b40d6cf3f3c9c9ff05489613e13 | [
"Apache-2.0"
] | null | null | null | drgpy/_icd9to10.py | mederrata/drgpy | 66f7c535592d0b40d6cf3f3c9c9ff05489613e13 | [
"Apache-2.0"
] | null | null | null | import csv
from pkg_resources import resource_filename as rscfn
def read_dx(fn):
fn = rscfn(__name__, fn)
with open(fn, mode='r') as f:
d = {}
for row in csv.reader(f, delimiter='|'):
d[row[0].replace('.', '')] = row[1].replace('.', '')
return d
def read_pr(fn):
fn = rscfn(__name__, fn)
with open(fn, mod... | 22.857143 | 55 | 0.5875 | 109 | 640 | 3.284404 | 0.311927 | 0.058659 | 0.075419 | 0.108939 | 0.756983 | 0.756983 | 0.756983 | 0.756983 | 0.756983 | 0.756983 | 0 | 0.01165 | 0.195313 | 640 | 28 | 56 | 22.857143 | 0.683495 | 0 | 0 | 0.72 | 0 | 0 | 0.015601 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.12 | false | 0 | 0.08 | 0 | 0.32 | 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 |
977dce9fd85de41381ac4819395b0f301059be42 | 1,212 | py | Python | tfConstrainedGauss/net_common.py | smrfeld/tf-constrained-gauss | d25ab67de1c55999d25644a0b2ed90443cbb96f2 | [
"MIT"
] | null | null | null | tfConstrainedGauss/net_common.py | smrfeld/tf-constrained-gauss | d25ab67de1c55999d25644a0b2ed90443cbb96f2 | [
"MIT"
] | null | null | null | tfConstrainedGauss/net_common.py | smrfeld/tf-constrained-gauss | d25ab67de1c55999d25644a0b2ed90443cbb96f2 | [
"MIT"
] | null | null | null | import tensorflow as tf
@tf.keras.utils.register_keras_serializable(package="physDBD")
def unit_mat_sym(n: int, i: int, j: int):
"""Construct the symmetric unit matrix of size nxn
1 at (i,j) AND (j,i)
0 elsewhere
Args:
n (int): Size of square matrix
i (int): First idx
j (... | 28.857143 | 78 | 0.60066 | 201 | 1,212 | 3.547264 | 0.263682 | 0.067321 | 0.02244 | 0.02805 | 0.949509 | 0.938289 | 0.938289 | 0.924264 | 0.856943 | 0.856943 | 0 | 0.015837 | 0.270627 | 1,212 | 42 | 79 | 28.857143 | 0.790724 | 0.424917 | 0 | 0.571429 | 0 | 0 | 0.057096 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.071429 | 0 | 0.357143 | 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 |
97823113250aad482520215a90cbe1066a91bf89 | 82 | py | Python | src/context/cache.py | hvuhsg/OpenAPIGateway | 76413c69e2f35a2febf899f161ddc4da4b0ea354 | [
"MIT"
] | 1 | 2022-01-29T17:50:38.000Z | 2022-01-29T17:50:38.000Z | src/context/cache.py | hvuhsg/OpenAPIGateway | 76413c69e2f35a2febf899f161ddc4da4b0ea354 | [
"MIT"
] | null | null | null | src/context/cache.py | hvuhsg/OpenAPIGateway | 76413c69e2f35a2febf899f161ddc4da4b0ea354 | [
"MIT"
] | null | null | null | from db.redis import RedisDB
def get_cache():
return RedisDB.get_instance()
| 13.666667 | 33 | 0.743902 | 12 | 82 | 4.916667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 82 | 5 | 34 | 16.4 | 0.867647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
978be59939c008ab5e2e948d208ae2ec982c41a6 | 17,719 | py | Python | src/ssh/azext_ssh/tests/latest/test_ssh_utils.py | bgrainger/azure-cli-extensions | 86680f7a592c659456feb605104809efa5fae353 | [
"MIT"
] | null | null | null | src/ssh/azext_ssh/tests/latest/test_ssh_utils.py | bgrainger/azure-cli-extensions | 86680f7a592c659456feb605104809efa5fae353 | [
"MIT"
] | null | null | null | src/ssh/azext_ssh/tests/latest/test_ssh_utils.py | bgrainger/azure-cli-extensions | 86680f7a592c659456feb605104809efa5fae353 | [
"MIT"
] | null | null | null | # --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------... | 48.412568 | 157 | 0.644224 | 2,280 | 17,719 | 4.662281 | 0.07807 | 0.056726 | 0.063217 | 0.079022 | 0.859737 | 0.831138 | 0.801881 | 0.786077 | 0.76143 | 0.725212 | 0 | 0.012351 | 0.195779 | 17,719 | 365 | 158 | 48.545205 | 0.733614 | 0.018963 | 0 | 0.677524 | 0 | 0 | 0.221372 | 0.010991 | 0 | 0 | 0 | 0 | 0.198697 | 1 | 0.068404 | false | 0.003257 | 0.026059 | 0 | 0.09772 | 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 |
97c1282042d9cdc306f039be5c5081a8baab5d43 | 229 | py | Python | week09/authentication/hash_example.py | cbchoi/sit32006 | 746481d0c03d5aad6096338b077c3d032eeb3775 | [
"MIT"
] | null | null | null | week09/authentication/hash_example.py | cbchoi/sit32006 | 746481d0c03d5aad6096338b077c3d032eeb3775 | [
"MIT"
] | null | null | null | week09/authentication/hash_example.py | cbchoi/sit32006 | 746481d0c03d5aad6096338b077c3d032eeb3775 | [
"MIT"
] | null | null | null | from werkzeug.security import generate_password_hash, check_password_hash
password = 'a'
password_hash = generate_password_hash(password)
print(password_hash)
res = check_password_hash(password_hash, password)
print(res) | 28.625 | 74 | 0.820961 | 30 | 229 | 5.9 | 0.366667 | 0.474576 | 0.451977 | 0.282486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10917 | 229 | 8 | 75 | 28.625 | 0.867647 | 0 | 0 | 0 | 1 | 0 | 0.004484 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.833333 | 0.166667 | 0 | 0.166667 | 0.333333 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
97ce100cd3b45ccfdfd7a81b5983d8624b8457b5 | 33 | py | Python | AsyncOWM_py/__init__.py | JoshPaulie/AsyncOWM-py | 80850f4718d4a2639289cd27aece943774018d89 | [
"MIT"
] | null | null | null | AsyncOWM_py/__init__.py | JoshPaulie/AsyncOWM-py | 80850f4718d4a2639289cd27aece943774018d89 | [
"MIT"
] | null | null | null | AsyncOWM_py/__init__.py | JoshPaulie/AsyncOWM-py | 80850f4718d4a2639289cd27aece943774018d89 | [
"MIT"
] | null | null | null | from .core import AsyncOWMClient
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 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 |
c19a90951c6ed211dcd3ca20ff2f20e6c9f3545f | 73 | py | Python | Projects/Ensembling/SVHN/models/__init__.py | AkibMashrur/Research | a981e3410917216e03e09431c837607543905d83 | [
"Apache-2.0"
] | null | null | null | Projects/Ensembling/SVHN/models/__init__.py | AkibMashrur/Research | a981e3410917216e03e09431c837607543905d83 | [
"Apache-2.0"
] | null | null | null | Projects/Ensembling/SVHN/models/__init__.py | AkibMashrur/Research | a981e3410917216e03e09431c837607543905d83 | [
"Apache-2.0"
] | null | null | null | from .resnet import *
from .sdenet import *
from .resnet_dropout import * | 24.333333 | 29 | 0.767123 | 10 | 73 | 5.5 | 0.5 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150685 | 73 | 3 | 29 | 24.333333 | 0.887097 | 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 |
c19e2abbedc29546be724ef825b45448d3641542 | 1,464 | py | Python | tests/apps/slack_integration/api/slash_command_test.py | BinSquare/busy-beaver | b8063a7e434eb47e638697719896880781f9783f | [
"MIT"
] | null | null | null | tests/apps/slack_integration/api/slash_command_test.py | BinSquare/busy-beaver | b8063a7e434eb47e638697719896880781f9783f | [
"MIT"
] | null | null | null | tests/apps/slack_integration/api/slash_command_test.py | BinSquare/busy-beaver | b8063a7e434eb47e638697719896880781f9783f | [
"MIT"
] | null | null | null | import pytest
pytest_plugins = ("tests._utilities.fixtures.slack",)
###################
# Integration Tests
###################
@pytest.mark.integration
def test_slack_command_valid_command(
client, create_slack_headers, generate_slash_command_request
):
data = generate_slash_command_request("help")
head... | 31.826087 | 78 | 0.747268 | 186 | 1,464 | 5.564516 | 0.225806 | 0.104348 | 0.104348 | 0.156522 | 0.882126 | 0.882126 | 0.882126 | 0.843478 | 0.843478 | 0.843478 | 0 | 0.028103 | 0.125 | 1,464 | 45 | 79 | 32.533333 | 0.779859 | 0.011612 | 0 | 0.689655 | 0 | 0 | 0.119403 | 0.022033 | 0 | 0 | 0 | 0 | 0.206897 | 1 | 0.103448 | false | 0 | 0.034483 | 0 | 0.137931 | 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 |
de0767c596087a8583ca729fbfc73fc6577f4363 | 23,860 | py | Python | sources/cont_dep_models.py | armandrotaru/TeamAndi-LCP | c3f3091e22d7a303117409493a24f6e4979bf75f | [
"MIT"
] | null | null | null | sources/cont_dep_models.py | armandrotaru/TeamAndi-LCP | c3f3091e22d7a303117409493a24f6e4979bf75f | [
"MIT"
] | null | null | null | sources/cont_dep_models.py | armandrotaru/TeamAndi-LCP | c3f3091e22d7a303117409493a24f6e4979bf75f | [
"MIT"
] | null | null | null | import numpy as np
import pandas as pd
from time import time
from transformers import AlbertConfig, AlbertTokenizer, AlbertModel
from transformers import BertConfig, BertTokenizer, BertModel
from transformers import DebertaConfig, DebertaTokenizer, DebertaModel
from transformers import ElectraConfig, ElectraTokenizer,... | 36.261398 | 175 | 0.689019 | 3,061 | 23,860 | 5.119242 | 0.075466 | 0.037524 | 0.042884 | 0.027377 | 0.852776 | 0.805361 | 0.785131 | 0.744352 | 0.733886 | 0.733886 | 0 | 0.003422 | 0.22829 | 23,860 | 658 | 176 | 36.261398 | 0.847608 | 0.41622 | 0 | 0.575916 | 0 | 0 | 0.028166 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.062827 | false | 0 | 0.04712 | 0 | 0.172775 | 0.020942 | 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 |
a9ad409f2f1c0e8231f2c6912694269abc4a7e0a | 109 | py | Python | tnj/__init__.py | Samurais/thrift-converter | 1920c7b853ab6713242c7b552230481786262143 | [
"MIT"
] | null | null | null | tnj/__init__.py | Samurais/thrift-converter | 1920c7b853ab6713242c7b552230481786262143 | [
"MIT"
] | null | null | null | tnj/__init__.py | Samurais/thrift-converter | 1920c7b853ab6713242c7b552230481786262143 | [
"MIT"
] | null | null | null | from .json_thrift_converter import JsonThriftConverter
from .thrift_json_converter import ThriftJsonConverter | 54.5 | 54 | 0.917431 | 12 | 109 | 8 | 0.583333 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06422 | 109 | 2 | 55 | 54.5 | 0.941176 | 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 |
e70f5a5f541ff57b0e8238f599f44d59fc57ca1e | 39 | py | Python | frarch/modules/__init__.py | victorbadenas/frarch | e75e2a63aaf14cf797ffffc901ca382b3d88b7b0 | [
"Apache-2.0"
] | 1 | 2021-12-21T11:00:28.000Z | 2021-12-21T11:00:28.000Z | frarch/modules/__init__.py | vbadenas/frarch | 3ce8cfad90b09153cbd22dee975731cae13e3ba7 | [
"Apache-2.0"
] | 5 | 2021-11-23T11:08:28.000Z | 2021-12-21T14:02:14.000Z | frarch/modules/__init__.py | vbadenas/frarch | 3ce8cfad90b09153cbd22dee975731cae13e3ba7 | [
"Apache-2.0"
] | 1 | 2022-03-20T23:47:16.000Z | 2022-03-20T23:47:16.000Z | from .checkpointer import Checkpointer
| 19.5 | 38 | 0.871795 | 4 | 39 | 8.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e72bdcfe49a96de509398f4fd3b1f4510f28d8db | 85 | py | Python | firebirdsql/compat.py | vehas/pyfirebirdsql | 9c0ee09ca556d9c8d0fe979d80ee72b75523c4e4 | [
"BSD-2-Clause"
] | null | null | null | firebirdsql/compat.py | vehas/pyfirebirdsql | 9c0ee09ca556d9c8d0fe979d80ee72b75523c4e4 | [
"BSD-2-Clause"
] | null | null | null | firebirdsql/compat.py | vehas/pyfirebirdsql | 9c0ee09ca556d9c8d0fe979d80ee72b75523c4e4 | [
"BSD-2-Clause"
] | null | null | null | import sys
import firebirdsql
def register():
sys.modules['fdb'] = firebirdsql
| 12.142857 | 36 | 0.717647 | 10 | 85 | 6.1 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 85 | 6 | 37 | 14.166667 | 0.871429 | 0 | 0 | 0 | 0 | 0 | 0.035294 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e79188e3ebcc56c03fdee53810dd4d2c46729901 | 548 | py | Python | Draft/moe.py | AixMoon/LearnigRepo | ee98fb352735e2b4f97304847b6c0311bc30195e | [
"MIT"
] | 11 | 2020-05-02T20:06:07.000Z | 2021-06-24T10:01:29.000Z | Draft/moe.py | AixMoon/LearnigRepo | ee98fb352735e2b4f97304847b6c0311bc30195e | [
"MIT"
] | null | null | null | Draft/moe.py | AixMoon/LearnigRepo | ee98fb352735e2b4f97304847b6c0311bc30195e | [
"MIT"
] | 6 | 2020-06-04T04:29:28.000Z | 2020-11-15T08:15:01.000Z | import sys
import re
rule = "(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|\"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*\")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-... | 78.285714 | 437 | 0.436131 | 108 | 548 | 2.194444 | 0.333333 | 0.126582 | 0.168776 | 0.168776 | 0.649789 | 0.649789 | 0.649789 | 0.472574 | 0.472574 | 0.472574 | 0 | 0.187135 | 0.063869 | 548 | 7 | 438 | 78.285714 | 0.274854 | 0 | 0 | 0 | 0 | 0.166667 | 0.617486 | 0.617486 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.166667 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e7d4dc007cbe2a18a5859a637c83d56752bfcae7 | 24 | py | Python | utils/__init__.py | AYaddaden/attention-learn-to-route | 74c2d6533d9e0faae80fa85f6bee2df2142708ba | [
"MIT"
] | 540 | 2019-02-07T13:52:30.000Z | 2022-03-31T12:51:46.000Z | utils/__init__.py | AYaddaden/attention-learn-to-route | 74c2d6533d9e0faae80fa85f6bee2df2142708ba | [
"MIT"
] | 113 | 2019-03-05T16:13:32.000Z | 2021-11-10T13:53:32.000Z | utils/__init__.py | AYaddaden/attention-learn-to-route | 74c2d6533d9e0faae80fa85f6bee2df2142708ba | [
"MIT"
] | 227 | 2019-02-15T09:25:02.000Z | 2022-03-27T10:42:21.000Z | from .functions import * | 24 | 24 | 0.791667 | 3 | 24 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.904762 | 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 |
99dd1803f76466857999227757f40e47e3ba0a41 | 66 | py | Python | deeptrack/models/gnns/__init__.py | HarshithBachimanchi/DeepTrack-2.0 | 5983f5224b75aef4ce3932662bd15723f13841a0 | [
"MIT"
] | null | null | null | deeptrack/models/gnns/__init__.py | HarshithBachimanchi/DeepTrack-2.0 | 5983f5224b75aef4ce3932662bd15723f13841a0 | [
"MIT"
] | null | null | null | deeptrack/models/gnns/__init__.py | HarshithBachimanchi/DeepTrack-2.0 | 5983f5224b75aef4ce3932662bd15723f13841a0 | [
"MIT"
] | null | null | null | from .models import *
from .graphs import *
from .utils import *
| 13.2 | 21 | 0.712121 | 9 | 66 | 5.222222 | 0.555556 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19697 | 66 | 4 | 22 | 16.5 | 0.886792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
820eee641375c9b9276d43aa71279891e3c4b195 | 8,625 | py | Python | analytics/test.py | g-harel/cards-amusing-humanity | 2b1a15009fab53ea6e81e7cb11eab8c7a1de1faf | [
"MIT"
] | 1 | 2019-05-08T23:12:44.000Z | 2019-05-08T23:12:44.000Z | analytics/test.py | g-harel/cards-amusing-humanity | 2b1a15009fab53ea6e81e7cb11eab8c7a1de1faf | [
"MIT"
] | null | null | null | analytics/test.py | g-harel/cards-amusing-humanity | 2b1a15009fab53ea6e81e7cb11eab8c7a1de1faf | [
"MIT"
] | null | null | null | import unittest
from unittest.mock import patch, ANY
import json
import jwt
from main import app as tested_app
class StatusResponse:
def __init__(self, status_code):
self.status_code = status_code
class TestApp(unittest.TestCase):
def setUp(self):
self.app = tested_app.test_client()
... | 46.370968 | 125 | 0.700754 | 1,061 | 8,625 | 5.463713 | 0.080113 | 0.045541 | 0.063481 | 0.049163 | 0.848542 | 0.821632 | 0.821632 | 0.815939 | 0.795929 | 0.769881 | 0 | 0.022306 | 0.142377 | 8,625 | 185 | 126 | 46.621622 | 0.76139 | 0 | 0 | 0.453782 | 0 | 0 | 0.247072 | 0.120928 | 0 | 0 | 0 | 0 | 0.201681 | 1 | 0.142857 | false | 0 | 0.042017 | 0 | 0.201681 | 0.008403 | 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 |
82348026a2bc394fa8a8c62203747a7d58dfb581 | 257 | py | Python | Trakttv.bundle/Contents/Code/interface/__init__.py | disrupted/Trakttv.bundle | 24712216c71f3b22fd58cb5dd89dad5bb798ed60 | [
"RSA-MD"
] | 1,346 | 2015-01-01T14:52:24.000Z | 2022-03-28T12:50:48.000Z | Trakttv.bundle/Contents/Code/interface/__init__.py | alcroito/Plex-Trakt-Scrobbler | 4f83fb0860dcb91f860d7c11bc7df568913c82a6 | [
"RSA-MD"
] | 474 | 2015-01-01T10:27:46.000Z | 2022-03-21T12:26:16.000Z | Trakttv.bundle/Contents/Code/interface/__init__.py | alcroito/Plex-Trakt-Scrobbler | 4f83fb0860dcb91f860d7c11bc7df568913c82a6 | [
"RSA-MD"
] | 191 | 2015-01-02T18:27:22.000Z | 2022-03-29T10:49:48.000Z | import sys
import m_sync
sys.modules['interface.m_sync'] = m_sync
import m_messages
sys.modules['interface.m_messages'] = m_messages
import m_main
sys.modules['interface.m_main'] = m_main
import resources
sys.modules['interface.resources'] = resources
| 17.133333 | 48 | 0.785992 | 39 | 257 | 4.948718 | 0.230769 | 0.207254 | 0.393782 | 0.310881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105058 | 257 | 14 | 49 | 18.357143 | 0.83913 | 0 | 0 | 0 | 0 | 0 | 0.276265 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.555556 | 0 | 0.555556 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.