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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7dfe28ce643b7b9dfdc6deb719836b6a27612627 | 1,116 | py | Python | mmdet/core/loss/__init__.py | mmoghadam11/ReDet | 917d370c827b65f0dc3618899290fd9288f30f64 | [
"Apache-2.0"
] | 1 | 2021-08-04T11:30:08.000Z | 2021-08-04T11:30:08.000Z | mmdet/core/loss/__init__.py | mmoghadam11/ReDet | 917d370c827b65f0dc3618899290fd9288f30f64 | [
"Apache-2.0"
] | null | null | null | mmdet/core/loss/__init__.py | mmoghadam11/ReDet | 917d370c827b65f0dc3618899290fd9288f30f64 | [
"Apache-2.0"
] | null | null | null | from .losses import (weighted_nll_loss, weighted_cross_entropy,
weighted_binary_cross_entropy, sigmoid_focal_loss,
py_sigmoid_focal_loss, weighted_sigmoid_focal_loss,
mask_cross_entropy, smooth_l1_loss, weighted_smoothl1,
balanced_l1_lo... | 48.521739 | 76 | 0.590502 | 104 | 1,116 | 5.721154 | 0.25 | 0.201681 | 0.161345 | 0.077311 | 0.963025 | 0.963025 | 0.963025 | 0.870588 | 0.668908 | 0.668908 | 0 | 0.009524 | 0.247312 | 1,116 | 22 | 77 | 50.727273 | 0.69881 | 0.106631 | 0 | 0 | 0 | 0 | 0.311644 | 0.141553 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.066667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b41af3d3d722674d7784f8ea226aa920425c976f | 516 | py | Python | src/modules/Reshape.py | ychnlgy/TIMIT-diarization | 1fbf410cbb643de60201d2d351f1654273885674 | [
"MIT"
] | 1 | 2021-08-19T14:28:45.000Z | 2021-08-19T14:28:45.000Z | src/modules/Reshape.py | ychnlgy/TIMIT-diarization | 1fbf410cbb643de60201d2d351f1654273885674 | [
"MIT"
] | null | null | null | src/modules/Reshape.py | ychnlgy/TIMIT-diarization | 1fbf410cbb643de60201d2d351f1654273885674 | [
"MIT"
] | 1 | 2022-03-11T07:20:06.000Z | 2022-03-11T07:20:06.000Z | import torch
class Reshape(torch.nn.Module):
def __init__(self, *size, contiguous=False):
super(Reshape, self).__init__()
if not contiguous:
self.make_contiguous = self._make_contiguous
self.size = size
def forward(self, X):
X = self.make_contiguous(X)... | 22.434783 | 56 | 0.575581 | 61 | 516 | 4.622951 | 0.360656 | 0.248227 | 0.255319 | 0.198582 | 0.382979 | 0.205674 | 0.205674 | 0 | 0 | 0 | 0 | 0 | 0.312016 | 516 | 22 | 57 | 23.454545 | 0.794366 | 0.02907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.071429 | 0.142857 | 0.642857 | 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 |
b41cf710f9aa7f75b77954e884c6563c458d2a84 | 205 | py | Python | speedexcourier/generalzone/admin.py | sunilkrbajpai/Django-Speedex-website | a5ad05354b74885ad29c2f6a60028c0b546df82e | [
"bzip2-1.0.6"
] | null | null | null | speedexcourier/generalzone/admin.py | sunilkrbajpai/Django-Speedex-website | a5ad05354b74885ad29c2f6a60028c0b546df82e | [
"bzip2-1.0.6"
] | null | null | null | speedexcourier/generalzone/admin.py | sunilkrbajpai/Django-Speedex-website | a5ad05354b74885ad29c2f6a60028c0b546df82e | [
"bzip2-1.0.6"
] | null | null | null | from django.contrib import admin
from .models import Enquiry,Complain,Career,LoginInfo
admin.site.register(Enquiry)
admin.site.register(Complain)
admin.site.register(Career)
admin.site.register(LoginInfo) | 29.285714 | 53 | 0.839024 | 28 | 205 | 6.142857 | 0.428571 | 0.209302 | 0.395349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058537 | 205 | 7 | 54 | 29.285714 | 0.891192 | 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 |
b41d8d7e202c89cb60f3385f2084245425aa3c4b | 4,461 | py | Python | game/settings.py | mikeanthony321/PacMan_Learner | 7eda0150e581870e66223f9c078087e3b0efd2c0 | [
"MIT"
] | null | null | null | game/settings.py | mikeanthony321/PacMan_Learner | 7eda0150e581870e66223f9c078087e3b0efd2c0 | [
"MIT"
] | 6 | 2021-02-04T00:24:01.000Z | 2021-03-30T02:54:49.000Z | game/settings.py | mikeanthony321/PacMan_Learner | 7eda0150e581870e66223f9c078087e3b0efd2c0 | [
"MIT"
] | 2 | 2021-05-04T00:00:34.000Z | 2021-07-28T19:11:28.000Z | import pygame
vec = pygame.math.Vector2
# interface settings
WIDTH, HEIGHT = 560, 715
PAD_TOP, PAD_BOT = 25, 50
GRID_PIXEL_H = HEIGHT - PAD_TOP - PAD_BOT
GRID_W, GRID_H = 28, 32
CELL_W, CELL_H = WIDTH // GRID_W, GRID_PIXEL_H // GRID_H
FPS = 60
SHOW_GRID = False
# db
HIGH_SCORE: int = open("db/hs.txt", "r").readline(... | 39.477876 | 90 | 0.454382 | 1,160 | 4,461 | 1.67931 | 0.109483 | 0.447639 | 0.489733 | 0.533881 | 0.459959 | 0.444559 | 0.444559 | 0.444559 | 0.444559 | 0.444559 | 0 | 0.322795 | 0.290966 | 4,461 | 113 | 91 | 39.477876 | 0.293076 | 0.047971 | 0 | 0.325581 | 0 | 0 | 0.009209 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.011628 | 0.011628 | 0 | 0.011628 | 0 | 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 |
b4576ae394bd1fc8ff8d17a4647bb41670b7c981 | 144 | py | Python | achievement/admin.py | Alt90/Student_progress_bar | c2f4f059a8487a58c7c321ed5005b336888fe4eb | [
"MIT"
] | null | null | null | achievement/admin.py | Alt90/Student_progress_bar | c2f4f059a8487a58c7c321ed5005b336888fe4eb | [
"MIT"
] | 6 | 2017-03-15T17:28:26.000Z | 2017-11-14T21:11:19.000Z | achievement/admin.py | Alt90/Student_progress_bar | c2f4f059a8487a58c7c321ed5005b336888fe4eb | [
"MIT"
] | 1 | 2017-11-14T18:58:14.000Z | 2017-11-14T18:58:14.000Z | from django.contrib import admin
from achievement import models
admin.site.register(models.Student)
admin.site.register(models.StudentsGroup) | 20.571429 | 41 | 0.840278 | 19 | 144 | 6.368421 | 0.578947 | 0.14876 | 0.280992 | 0.380165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 144 | 7 | 41 | 20.571429 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b4583cc20db642edcea06690d2d07c87cd5e56b2 | 135 | py | Python | app/android_default/__init__.py | DigitME2/oee_server | 450df961ad6eaae3b20e043629089988b5f9e438 | [
"Apache-2.0"
] | 2 | 2020-07-14T12:45:04.000Z | 2022-03-21T05:44:09.000Z | app/android_default/__init__.py | DigitME2/oee_server | 450df961ad6eaae3b20e043629089988b5f9e438 | [
"Apache-2.0"
] | 5 | 2022-01-25T00:37:38.000Z | 2022-03-17T17:18:06.000Z | app/android_default/__init__.py | DigitME2/oee_server | 450df961ad6eaae3b20e043629089988b5f9e438 | [
"Apache-2.0"
] | 2 | 2020-07-14T12:45:16.000Z | 2020-12-27T00:44:10.000Z | from flask import Blueprint
bp = Blueprint('android_default', __name__)
# noinspection PyPep8
from app.android_default import routes
| 19.285714 | 43 | 0.814815 | 17 | 135 | 6.117647 | 0.705882 | 0.269231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008475 | 0.125926 | 135 | 6 | 44 | 22.5 | 0.872881 | 0.140741 | 0 | 0 | 0 | 0 | 0.131579 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
c3378812b6b3cab2444207aca7220816e582a7a3 | 608 | py | Python | csvHelper.py | CollinHemeltjen/morse | 01456a7e48afc243e09c6346a80af59b601a6f59 | [
"MIT"
] | null | null | null | csvHelper.py | CollinHemeltjen/morse | 01456a7e48afc243e09c6346a80af59b601a6f59 | [
"MIT"
] | null | null | null | csvHelper.py | CollinHemeltjen/morse | 01456a7e48afc243e09c6346a80af59b601a6f59 | [
"MIT"
] | null | null | null | import csv
# helper method to create a morse dictionairy from a csv file
# where the key is the morse code
def csv_to_dictionairy_morse(csv_file, dictionairy):
with open(csv_file, mode='r') as infile:
reader = csv.reader(infile)
dictionairy.update({rows[1]:rows[0] for rows in reader})
# helper met... | 38 | 64 | 0.720395 | 98 | 608 | 4.367347 | 0.336735 | 0.098131 | 0.065421 | 0.093458 | 0.714953 | 0.714953 | 0.714953 | 0.714953 | 0.714953 | 0.714953 | 0 | 0.00813 | 0.190789 | 608 | 15 | 65 | 40.533333 | 0.861789 | 0.310855 | 0 | 0.444444 | 0 | 0 | 0.004831 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c34446e26b2c7bc42ed7d7eaa26d557f8645d1d4 | 22 | py | Python | app/wsgi.py | ahmedhisham73/switching_to_torch | 5240abc46ee787471bf161006e24038b0ce6e837 | [
"Apache-2.0"
] | null | null | null | app/wsgi.py | ahmedhisham73/switching_to_torch | 5240abc46ee787471bf161006e24038b0ce6e837 | [
"Apache-2.0"
] | null | null | null | app/wsgi.py | ahmedhisham73/switching_to_torch | 5240abc46ee787471bf161006e24038b0ce6e837 | [
"Apache-2.0"
] | null | null | null | from main import app
| 11 | 21 | 0.772727 | 4 | 22 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 22 | 1 | 22 | 22 | 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 |
c35fa26359822985efa1bfc1680742335db7cf6f | 7,801 | py | Python | huaweicloud-sdk-ces/huaweicloudsdkces/v1/__init__.py | wuchen-huawei/huaweicloud-sdk-python-v3 | 3683d703f4320edb2b8516f36f16d485cff08fc2 | [
"Apache-2.0"
] | 64 | 2020-06-12T07:05:07.000Z | 2022-03-30T03:32:50.000Z | huaweicloud-sdk-ces/huaweicloudsdkces/v1/__init__.py | wuchen-huawei/huaweicloud-sdk-python-v3 | 3683d703f4320edb2b8516f36f16d485cff08fc2 | [
"Apache-2.0"
] | 11 | 2020-07-06T07:56:54.000Z | 2022-01-11T11:14:40.000Z | huaweicloud-sdk-ces/huaweicloudsdkces/v1/__init__.py | wuchen-huawei/huaweicloud-sdk-python-v3 | 3683d703f4320edb2b8516f36f16d485cff08fc2 | [
"Apache-2.0"
] | 24 | 2020-06-08T11:42:13.000Z | 2022-03-04T06:44:08.000Z | # coding: utf-8
from __future__ import absolute_import
# import CesClient
from huaweicloudsdkces.v1.ces_client import CesClient
from huaweicloudsdkces.v1.ces_async_client import CesAsyncClient
# import models into sdk package
from huaweicloudsdkces.v1.model.additional_info import AdditionalInfo
from huaweicloudsdkces... | 77.237624 | 105 | 0.913729 | 884 | 7,801 | 7.808824 | 0.165158 | 0.28292 | 0.309865 | 0.369115 | 0.524989 | 0.469361 | 0.301898 | 0.085035 | 0.015645 | 0 | 0 | 0.012686 | 0.050122 | 7,801 | 100 | 106 | 78.01 | 0.918893 | 0.00782 | 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 |
6f6313266bdbacf1959edb85efd500cb3def3604 | 25 | py | Python | __init__.py | mhawry/auquantoolbox | f88b052d04baa81575b6886f829bca71d9425196 | [
"Apache-2.0"
] | 91 | 2020-07-31T13:57:49.000Z | 2022-01-21T14:16:47.000Z | __init__.py | mhawry/auquantoolbox | f88b052d04baa81575b6886f829bca71d9425196 | [
"Apache-2.0"
] | 3 | 2021-02-26T14:43:10.000Z | 2022-01-12T14:58:01.000Z | __init__.py | mhawry/auquantoolbox | f88b052d04baa81575b6886f829bca71d9425196 | [
"Apache-2.0"
] | 30 | 2020-07-30T13:48:00.000Z | 2022-03-09T14:20:36.000Z | from backtester import *
| 12.5 | 24 | 0.8 | 3 | 25 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
48cf73cbfcab92b9f944a6068e47f294f15979d4 | 148 | py | Python | src/werkzeug/__init__.py | salva-imm/werkzeug | 44866cc6419dd1742b86a0b7bccd32ba2eb58f77 | [
"BSD-3-Clause"
] | 1 | 2021-04-03T16:49:38.000Z | 2021-04-03T16:49:38.000Z | src/werkzeug/__init__.py | salva-imm/werkzeug | 44866cc6419dd1742b86a0b7bccd32ba2eb58f77 | [
"BSD-3-Clause"
] | null | null | null | src/werkzeug/__init__.py | salva-imm/werkzeug | 44866cc6419dd1742b86a0b7bccd32ba2eb58f77 | [
"BSD-3-Clause"
] | null | null | null | from .serving import run_simple
from .test import Client
from .wrappers import Request
from .wrappers import Response
__version__ = "2.0.0rc2.dev"
| 21.142857 | 31 | 0.797297 | 22 | 148 | 5.136364 | 0.681818 | 0.212389 | 0.318584 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.135135 | 148 | 6 | 32 | 24.666667 | 0.851563 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
48d11978f6b933a18257cb32ed895d32fe42455b | 122 | py | Python | dindin_attendance/models/__init__.py | redblow/odooDingDing | d5bea9d69889615819d82d94924a5d54b498db03 | [
"Apache-2.0"
] | 6 | 2019-10-04T01:57:03.000Z | 2021-10-25T00:53:27.000Z | dindin_attendance/models/__init__.py | redblow/odooDingDing | d5bea9d69889615819d82d94924a5d54b498db03 | [
"Apache-2.0"
] | null | null | null | dindin_attendance/models/__init__.py | redblow/odooDingDing | d5bea9d69889615819d82d94924a5d54b498db03 | [
"Apache-2.0"
] | 1 | 2022-03-22T09:23:48.000Z | 2022-03-22T09:23:48.000Z | # -*- coding: utf-8 -*-
from . import simplegroups
from . import attendance_list # 已弃用 原考勤列表
from . import hr_attendance | 24.4 | 42 | 0.721311 | 16 | 122 | 5.375 | 0.6875 | 0.348837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009901 | 0.172131 | 122 | 5 | 43 | 24.4 | 0.841584 | 0.254098 | 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 |
48f758e17cde991395d08cba48e5ddae38f301a7 | 25,116 | py | Python | test/network.py | namjiwon1023/Code_With_RL | 37beec975b1685e9f6cf991abed491b854b78173 | [
"MIT"
] | 3 | 2021-08-12T15:11:28.000Z | 2021-09-27T16:04:16.000Z | test/network.py | namjiwon1023/Code_With_RL | 37beec975b1685e9f6cf991abed491b854b78173 | [
"MIT"
] | null | null | null | test/network.py | namjiwon1023/Code_With_RL | 37beec975b1685e9f6cf991abed491b854b78173 | [
"MIT"
] | 1 | 2021-08-05T07:20:57.000Z | 2021-08-05T07:20:57.000Z | # Copyright (c) 2021: Zhiyuan Nan (namjw@hanyang.ac.kr).
#
# This work is licensed under the terms of the MIT license.
# For a copy, see <https://opensource.org/licenses/MIT>.
import torch as T
import torch.nn as nn
import torch.nn.functional as F
import os
import numpy as np
import math
from torch.distributions impor... | 35.225806 | 175 | 0.565217 | 2,960 | 25,116 | 4.545946 | 0.067568 | 0.088288 | 0.101442 | 0.051501 | 0.870764 | 0.859542 | 0.850624 | 0.814284 | 0.800981 | 0.784037 | 0 | 0.010986 | 0.333134 | 25,116 | 713 | 176 | 35.225806 | 0.792406 | 0.04308 | 0 | 0.7 | 0 | 0 | 0.001087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.094444 | false | 0 | 0.016667 | 0.003704 | 0.198148 | 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 |
d2b73f64f1b6b9923070d2bfeee19c3b007f334c | 5,300 | py | Python | kml_callbacks.py | jricheimer/keras-metric-learning | 847828324ca877472cb9ffd3268ebceaee2525b9 | [
"MIT"
] | 12 | 2018-02-21T18:09:09.000Z | 2020-12-30T13:40:57.000Z | kml_callbacks.py | jricheimer/keras-metric-learning | 847828324ca877472cb9ffd3268ebceaee2525b9 | [
"MIT"
] | 1 | 2019-09-25T15:30:40.000Z | 2019-09-25T15:30:40.000Z | kml_callbacks.py | jricheimer/keras-metric-learning | 847828324ca877472cb9ffd3268ebceaee2525b9 | [
"MIT"
] | null | null | null | """Useful Callbacks for training Metric Learning models.
"""
from keras.models import Model
from keras.callbacks import Callback
import numpy as np
from types import GeneratorType
from kml_utils import recall_at_k, nmi
class RecallAtK(Callback):
"""Callback that computes the Recall@k metric for a given validation... | 44.915254 | 117 | 0.642075 | 681 | 5,300 | 4.853157 | 0.195301 | 0.101664 | 0.087141 | 0.033888 | 0.77882 | 0.742814 | 0.728896 | 0.728896 | 0.707716 | 0.680182 | 0 | 0.004149 | 0.272453 | 5,300 | 118 | 118 | 44.915254 | 0.852956 | 0.111509 | 0 | 0.328125 | 0 | 0 | 0.072796 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.078125 | null | null | 0.03125 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d2e40c85612f3c2ce10db59006c7ee7c411dd971 | 70 | py | Python | xastropy/xguis/__init__.py | bpholden/xastropy | 66aff0995a84c6829da65996d2379ba4c946dabe | [
"BSD-3-Clause"
] | 3 | 2015-08-23T00:32:58.000Z | 2020-12-31T02:37:52.000Z | xastropy/xguis/__init__.py | Kristall-WangShiwei/xastropy | 723fe56cb48d5a5c4cdded839082ee12ef8c6732 | [
"BSD-3-Clause"
] | 104 | 2015-07-17T18:31:54.000Z | 2018-06-29T17:04:09.000Z | xastropy/xguis/__init__.py | Kristall-WangShiwei/xastropy | 723fe56cb48d5a5c4cdded839082ee12ef8c6732 | [
"BSD-3-Clause"
] | 16 | 2015-07-17T15:50:37.000Z | 2019-04-21T03:42:47.000Z | #import img_widgets
import utils
import spec_widgets
import spec_guis
| 14 | 19 | 0.871429 | 11 | 70 | 5.272727 | 0.545455 | 0.448276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 70 | 4 | 20 | 17.5 | 0.935484 | 0.257143 | 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 |
96111885bbc8b3a66e668f8b00dc75bc5c0e0406 | 10,091 | py | Python | include/decoder.py | chenhepupu/MR_DD | 4b2572fb5e1327a781d2bed9bca74132e24efa6d | [
"Apache-1.1"
] | null | null | null | include/decoder.py | chenhepupu/MR_DD | 4b2572fb5e1327a781d2bed9bca74132e24efa6d | [
"Apache-1.1"
] | null | null | null | include/decoder.py | chenhepupu/MR_DD | 4b2572fb5e1327a781d2bed9bca74132e24efa6d | [
"Apache-1.1"
] | null | null | null | import torch
import torch.nn as nn
import numpy as np
def add_module(self, module):
self.add_module(str(len(self) + 1), module)
torch.nn.Module.add = add_module
def conv(in_f, out_f, kernel_size, stride=1, pad='zero',bias=False):
padder = None
to_pad = int((kernel_size - 1) / 2)
if pad == 'reflectio... | 32.551613 | 182 | 0.591418 | 1,454 | 10,091 | 3.879642 | 0.099725 | 0.138451 | 0.163623 | 0.062046 | 0.822904 | 0.808367 | 0.774863 | 0.75749 | 0.732849 | 0.71849 | 0 | 0.029764 | 0.280844 | 10,091 | 309 | 183 | 32.656958 | 0.747554 | 0.100386 | 0 | 0.644231 | 0 | 0 | 0.012788 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057692 | false | 0 | 0.014423 | 0 | 0.125 | 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 |
9616157e8d53581affdd0fa2148bdf433fb0d642 | 87 | py | Python | wp2latex/__init__.py | bairaelyn/wordpress-to-latex | 184b66f43ce985d7083fc7c1500806440eaa15ec | [
"MIT"
] | null | null | null | wp2latex/__init__.py | bairaelyn/wordpress-to-latex | 184b66f43ce985d7083fc7c1500806440eaa15ec | [
"MIT"
] | 1 | 2021-03-31T19:40:24.000Z | 2021-03-31T19:40:24.000Z | wp2latex/__init__.py | bairaelyn/wordpress-to-latex | 184b66f43ce985d7083fc7c1500806440eaa15ec | [
"MIT"
] | null | null | null | from .parse import extract_blog_from_XML
from . import parse
from . import latexwrite
| 17.4 | 40 | 0.816092 | 13 | 87 | 5.230769 | 0.538462 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149425 | 87 | 4 | 41 | 21.75 | 0.918919 | 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 |
82b9f90943f1a035b553ace64060109fad23763c | 10,483 | py | Python | test/functions/test_inv_quad_log_det.py | julieli/gpytorch | 21f08b6067a3733ffd9d729a1ce25487976f927e | [
"MIT"
] | 1 | 2018-05-30T07:32:29.000Z | 2018-05-30T07:32:29.000Z | test/functions/test_inv_quad_log_det.py | julieli/gpytorch | 21f08b6067a3733ffd9d729a1ce25487976f927e | [
"MIT"
] | null | null | null | test/functions/test_inv_quad_log_det.py | julieli/gpytorch | 21f08b6067a3733ffd9d729a1ce25487976f927e | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
import os
import torch
import unittest
import gpytorch
from torch.autograd import Variable
from gpytorch.lazy import NonLazyVariable
from gpytorch.utils import approx_equ... | 34.483553 | 85 | 0.6087 | 1,332 | 10,483 | 4.465465 | 0.075826 | 0.06002 | 0.04035 | 0.051446 | 0.901648 | 0.893746 | 0.889375 | 0.873067 | 0.841459 | 0.816409 | 0 | 0.016453 | 0.286845 | 10,483 | 303 | 86 | 34.59736 | 0.77916 | 0.016694 | 0 | 0.592 | 0 | 0 | 0.007774 | 0 | 0 | 0 | 0 | 0 | 0.1 | 1 | 0.048 | false | 0 | 0.044 | 0 | 0.1 | 0.004 | 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 |
82bb62c1468342b44aba31c707b7296a211ce2d6 | 11,519 | py | Python | tests/test_conformity.py | dcslagel/lascheck | 4df427a56db14d8e0c64ccea852f1c3e6460e416 | [
"MIT"
] | 8 | 2020-01-27T19:29:37.000Z | 2021-10-02T17:55:01.000Z | tests/test_conformity.py | dcslagel/lascheck | 4df427a56db14d8e0c64ccea852f1c3e6460e416 | [
"MIT"
] | 7 | 2020-06-18T11:42:50.000Z | 2020-09-27T13:22:51.000Z | tests/test_conformity.py | dcslagel/lascheck | 4df427a56db14d8e0c64ccea852f1c3e6460e416 | [
"MIT"
] | 6 | 2020-05-16T14:03:27.000Z | 2021-08-05T15:00:29.000Z | import os, sys
sys.path.insert(0, os.path.dirname(os.path.dirname(__file__)))
import logging
import lascheck
from lascheck import spec
test_dir = os.path.dirname(__file__)
readfromexamples = lambda fn: os.path.join(os.path.dirname(__file__), "examples", fn)
logger = logging.getLogger(__name__)
# tod... | 39.72069 | 124 | 0.712649 | 1,457 | 11,519 | 5.323953 | 0.085106 | 0.060333 | 0.068068 | 0.175841 | 0.884878 | 0.841434 | 0.763311 | 0.677324 | 0.612737 | 0.562718 | 0 | 0.000318 | 0.17979 | 11,519 | 289 | 125 | 39.858131 | 0.820703 | 0.011112 | 0 | 0.385417 | 0 | 0.010417 | 0.255271 | 0.091278 | 0 | 0 | 0 | 0.00346 | 0.447917 | 1 | 0.229167 | false | 0 | 0.020833 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
82c85b6ca689894b1416e36e5fb9b52ebe6dbef7 | 151 | py | Python | testflaskbower/views.py | fruboes/testflaskbower | fbd44e3f279e4476061a8872b9723bac1f1a7bb3 | [
"BSD-3-Clause"
] | null | null | null | testflaskbower/views.py | fruboes/testflaskbower | fbd44e3f279e4476061a8872b9723bac1f1a7bb3 | [
"BSD-3-Clause"
] | null | null | null | testflaskbower/views.py | fruboes/testflaskbower | fbd44e3f279e4476061a8872b9723bac1f1a7bb3 | [
"BSD-3-Clause"
] | null | null | null | from testflaskbower import app
from flask import render_template
@app.route("/")
def index_b():
return render_template("bowertest.html")
| 12.583333 | 44 | 0.721854 | 19 | 151 | 5.578947 | 0.736842 | 0.264151 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178808 | 151 | 11 | 45 | 13.727273 | 0.854839 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
82cd97420191c9c49fe209e7bdd5306ceb8bb54b | 63 | py | Python | #3 Mundo/#16/tempCodeRunnerFile.py | Henrique-Navarro/phyton | 26d66847afa2b15c254677a36eb22f7558816b59 | [
"MIT"
] | null | null | null | #3 Mundo/#16/tempCodeRunnerFile.py | Henrique-Navarro/phyton | 26d66847afa2b15c254677a36eb22f7558816b59 | [
"MIT"
] | null | null | null | #3 Mundo/#16/tempCodeRunnerFile.py | Henrique-Navarro/phyton | 26d66847afa2b15c254677a36eb22f7558816b59 | [
"MIT"
] | null | null | null | t(input('Digite um numero: '), int(input('Digite um numero: ')) | 63 | 63 | 0.666667 | 10 | 63 | 4.2 | 0.6 | 0.52381 | 0.619048 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 63 | 1 | 63 | 63 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7d72fc17fbbcb156ce9887550f18970a5a0b5707 | 181 | py | Python | TWT/apps/challenges/admin.py | akionsight/twtcodejam.net | a15f16657980e8baf5613ff2d0d339478cb321d1 | [
"MIT"
] | 3 | 2020-11-17T11:03:57.000Z | 2021-06-12T12:24:41.000Z | TWT/apps/challenges/admin.py | akionsight/twtcodejam.net | a15f16657980e8baf5613ff2d0d339478cb321d1 | [
"MIT"
] | null | null | null | TWT/apps/challenges/admin.py | akionsight/twtcodejam.net | a15f16657980e8baf5613ff2d0d339478cb321d1 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models.challenge import Challenge
from .models.custom_pages import CustomPage
admin.site.register(Challenge)
admin.site.register(CustomPage)
| 25.857143 | 43 | 0.845304 | 24 | 181 | 6.333333 | 0.5 | 0.131579 | 0.223684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082873 | 181 | 6 | 44 | 30.166667 | 0.915663 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7d7d2131224ae5918e8d61b691f46e3a54a88424 | 40 | py | Python | tests/test_objs/__init__.py | FI18-Trainees/FISocketChat | a3c9f9ec502e1b7961716ac4f8ccb14e145e4f86 | [
"MIT"
] | 4 | 2019-09-19T12:46:52.000Z | 2019-12-02T13:51:13.000Z | tests/test_objs/__init__.py | FI18-Trainees/FISocketChat | a3c9f9ec502e1b7961716ac4f8ccb14e145e4f86 | [
"MIT"
] | 102 | 2019-09-20T06:56:15.000Z | 2021-12-19T23:33:06.000Z | tests/test_objs/__init__.py | FI18-Trainees/FISocketChat | a3c9f9ec502e1b7961716ac4f8ccb14e145e4f86 | [
"MIT"
] | null | null | null | from .sockets import SocketIOConnection
| 20 | 39 | 0.875 | 4 | 40 | 8.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.972222 | 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 |
7da6e113b103c58489ecc4b29b5a16946c351dc6 | 93 | py | Python | effective_manager/core/tests/test_models.py | Gordi91/effective-manager | 6d57a6de0c333f89b56fca08d5e049ba68d49bc4 | [
"MIT"
] | null | null | null | effective_manager/core/tests/test_models.py | Gordi91/effective-manager | 6d57a6de0c333f89b56fca08d5e049ba68d49bc4 | [
"MIT"
] | null | null | null | effective_manager/core/tests/test_models.py | Gordi91/effective-manager | 6d57a6de0c333f89b56fca08d5e049ba68d49bc4 | [
"MIT"
] | null | null | null | import unittest
def sample_user(email='test@gmail.com', password='testpass123'):
pass
| 13.285714 | 64 | 0.731183 | 12 | 93 | 5.583333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0375 | 0.139785 | 93 | 6 | 65 | 15.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.271739 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.666667 | 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 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
7daf0d4906ee9649a0a09e5e530f4f677fa83560 | 23 | py | Python | pybot/strings/__init__.py | NEK-RA/py-runner-bot | 37d425da1a7210be54b0e433a5fdd38793a64d6a | [
"MIT"
] | 1 | 2019-08-13T18:49:27.000Z | 2019-08-13T18:49:27.000Z | pybot/strings/__init__.py | NEK-RA/py-runner-bot | 37d425da1a7210be54b0e433a5fdd38793a64d6a | [
"MIT"
] | 1 | 2020-03-27T12:53:11.000Z | 2020-04-25T15:36:28.000Z | pybot/strings/__init__.py | NEK-RA/py-runner-bot | 37d425da1a7210be54b0e433a5fdd38793a64d6a | [
"MIT"
] | 3 | 2019-09-20T18:47:24.000Z | 2020-06-04T12:06:49.000Z | from .strings import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7dd4285115b8a1b5033b857a358bf89b789b2a2d | 3,782 | py | Python | test/programytest/aiml_tests/hash_tests/test_hash_aiml.py | motazsaad/fit-bot-fb-clt | 580477aa1ec91855b621d9ae276f2705962f6a87 | [
"MIT"
] | null | null | null | test/programytest/aiml_tests/hash_tests/test_hash_aiml.py | motazsaad/fit-bot-fb-clt | 580477aa1ec91855b621d9ae276f2705962f6a87 | [
"MIT"
] | null | null | null | test/programytest/aiml_tests/hash_tests/test_hash_aiml.py | motazsaad/fit-bot-fb-clt | 580477aa1ec91855b621d9ae276f2705962f6a87 | [
"MIT"
] | 4 | 2019-04-01T15:42:23.000Z | 2020-11-05T08:14:27.000Z | import unittest
import os
from programytest.client import TestClient
class HashAIMLTestClient(TestClient):
def __init__(self):
TestClient.__init__(self)
def load_storage(self):
super(HashAIMLTestClient, self).load_storage()
self.add_default_stores()
self.add_categories_store... | 38.989691 | 98 | 0.710206 | 458 | 3,782 | 5.552402 | 0.152838 | 0.125836 | 0.207236 | 0.147464 | 0.764451 | 0.764451 | 0.764451 | 0.719229 | 0.6744 | 0.529296 | 0 | 0.004551 | 0.186674 | 3,782 | 96 | 99 | 39.395833 | 0.822172 | 0 | 0 | 0.30137 | 0 | 0 | 0.082232 | 0 | 0 | 0 | 0 | 0 | 0.410959 | 1 | 0.232877 | false | 0 | 0.041096 | 0 | 0.30137 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c4a313ecf741745eef315af916b95309a108468a | 71 | py | Python | logcabin/inputs/input.py | srault95/logcabin | 27f0e589284923d49e9255494bb1e7c23da82ca2 | [
"Apache-2.0"
] | null | null | null | logcabin/inputs/input.py | srault95/logcabin | 27f0e589284923d49e9255494bb1e7c23da82ca2 | [
"Apache-2.0"
] | null | null | null | logcabin/inputs/input.py | srault95/logcabin | 27f0e589284923d49e9255494bb1e7c23da82ca2 | [
"Apache-2.0"
] | null | null | null | from ..common import SpawnedStage
class Input(SpawnedStage):
pass
| 14.2 | 33 | 0.760563 | 8 | 71 | 6.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169014 | 71 | 4 | 34 | 17.75 | 0.915254 | 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 |
c4c850b9cb4b5f1428e956d91850c9db2696861b | 93 | py | Python | fluentmail/__init__.py | shinvdu/fluentmail | f785ad650145af175b1cf152fd9bc33cf37858a4 | [
"MIT"
] | 40 | 2015-02-16T12:15:20.000Z | 2021-08-18T18:51:58.000Z | fluentmail/__init__.py | shinvdu/fluentmail | f785ad650145af175b1cf152fd9bc33cf37858a4 | [
"MIT"
] | 7 | 2015-03-31T17:09:37.000Z | 2018-12-08T21:01:03.000Z | fluentmail/__init__.py | shinvdu/fluentmail | f785ad650145af175b1cf152fd9bc33cf37858a4 | [
"MIT"
] | 13 | 2015-01-17T06:31:15.000Z | 2020-11-25T14:19:03.000Z | # -*- coding: utf-8 -*-
from .backends import *
from .message import *
from .utils import *
| 15.5 | 23 | 0.645161 | 12 | 93 | 5 | 0.666667 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013333 | 0.193548 | 93 | 5 | 24 | 18.6 | 0.786667 | 0.225806 | 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 |
c4cfdb5e295347b3ad7b872feb7fe31f79a2764c | 120 | py | Python | typhoon/contrib/transformations/files.py | typhoon-data-org/typhoon-orchestrator | f24c4807b0e1ee38713ba1468db761119724dcf2 | [
"Apache-2.0"
] | 21 | 2021-04-10T20:57:49.000Z | 2022-03-24T06:45:30.000Z | typhoon/contrib/transformations/files.py | biellls/typhoon-orchestrator | f8e40c905fda8143562fc286359233f29d30c6bb | [
"Apache-2.0"
] | 7 | 2021-11-06T16:10:41.000Z | 2021-12-12T11:41:32.000Z | typhoon/contrib/transformations/files.py | biellls/typhoon-orchestrator | f8e40c905fda8143562fc286359233f29d30c6bb | [
"Apache-2.0"
] | 1 | 2022-03-08T21:22:33.000Z | 2022-03-08T21:22:33.000Z | from pathlib import Path
from typing import Union
def name(path: Union[str, Path]) -> str:
return Path(path).name
| 17.142857 | 40 | 0.716667 | 19 | 120 | 4.526316 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183333 | 120 | 6 | 41 | 20 | 0.877551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
c4e457fe6997260d8fe4dc647582bd2e7a250138 | 32 | py | Python | 10个编程技巧/lambda.py | shao1chuan/pythonbook | cd9877d04e1e11422d38cc051e368d3d9ce2ab45 | [
"MulanPSL-1.0"
] | 95 | 2020-10-11T04:45:46.000Z | 2022-02-25T01:50:40.000Z | 10个编程技巧/lambda.py | shao1chuan/pythonbook | cd9877d04e1e11422d38cc051e368d3d9ce2ab45 | [
"MulanPSL-1.0"
] | null | null | null | 10个编程技巧/lambda.py | shao1chuan/pythonbook | cd9877d04e1e11422d38cc051e368d3d9ce2ab45 | [
"MulanPSL-1.0"
] | 30 | 2020-11-05T09:01:00.000Z | 2022-03-08T05:58:55.000Z | p = lambda x,y:x+y
print(p(4,6)) | 16 | 18 | 0.59375 | 10 | 32 | 1.9 | 0.7 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.125 | 32 | 2 | 19 | 16 | 0.607143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
c4f41658f632aa8adae489184b22402490ff9035 | 6,877 | py | Python | skills/dff_friendship_skill/scenario/weekend_response.py | deepmipt/assistant-base | ab2dcbdc4c31cd52ca336022003bf69fa80c9189 | [
"Apache-2.0"
] | 7 | 2020-12-07T19:59:16.000Z | 2020-12-24T16:20:47.000Z | skills/dff_friendship_skill/scenario/weekend_response.py | deepmipt/assistant-base | ab2dcbdc4c31cd52ca336022003bf69fa80c9189 | [
"Apache-2.0"
] | null | null | null | skills/dff_friendship_skill/scenario/weekend_response.py | deepmipt/assistant-base | ab2dcbdc4c31cd52ca336022003bf69fa80c9189 | [
"Apache-2.0"
] | null | null | null | import logging
import random
import sentry_sdk
from os import getenv
from typing import Tuple
import common.dff.integration.condition as int_cnd
import common.dff.integration.context as int_ctx
import common.greeting as common_greeting
import common.scenarios.weekend as common_weekend
from common.constants import CAN_... | 35.632124 | 102 | 0.777083 | 951 | 6,877 | 5.256572 | 0.126183 | 0.070414 | 0.070414 | 0.083617 | 0.812362 | 0.812362 | 0.812362 | 0.812362 | 0.812362 | 0.812362 | 0 | 0.003051 | 0.142068 | 6,877 | 192 | 103 | 35.817708 | 0.844237 | 0.124618 | 0 | 0.55 | 0 | 0 | 0.012195 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.11 | false | 0 | 0.11 | 0 | 0.33 | 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 |
c4f6e9bf3877ed7267d66a6c1ea2049800044709 | 35 | py | Python | electrumsv_sdk/builtin_components/status_monitor/__init__.py | electrumsv/electrumsv-sdk | 2d4b9474b2e2fc5518bba10684c5d5130ffb6328 | [
"OML"
] | 4 | 2020-07-06T12:13:14.000Z | 2021-07-29T12:45:27.000Z | electrumsv_sdk/builtin_components/status_monitor/__init__.py | electrumsv/electrumsv-sdk | 2d4b9474b2e2fc5518bba10684c5d5130ffb6328 | [
"OML"
] | 62 | 2020-07-04T04:50:27.000Z | 2021-08-19T21:06:10.000Z | electrumsv_sdk/builtin_components/status_monitor/__init__.py | electrumsv/electrumsv-sdk | 2d4b9474b2e2fc5518bba10684c5d5130ffb6328 | [
"OML"
] | 3 | 2021-01-21T09:22:45.000Z | 2021-06-12T10:16:03.000Z | from .status_monitor import Plugin
| 17.5 | 34 | 0.857143 | 5 | 35 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.935484 | 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 |
f21968a813d4ba036357a8bfb4d6998864f551e4 | 6,868 | py | Python | sodium/model/model.py | Keerthi001/PySodium | 761598d8a129ce95a42404898b7f16ddcae568d9 | [
"MIT"
] | 22 | 2020-05-16T08:15:48.000Z | 2021-12-30T14:38:31.000Z | sodium/model/model.py | Keerthi001/PySodium | 761598d8a129ce95a42404898b7f16ddcae568d9 | [
"MIT"
] | 1 | 2020-09-07T17:10:41.000Z | 2020-09-09T20:51:31.000Z | sodium/model/model.py | Keerthi001/PySodium | 761598d8a129ce95a42404898b7f16ddcae568d9 | [
"MIT"
] | 43 | 2020-03-07T22:08:41.000Z | 2022-03-16T21:07:30.000Z | import torch.nn as nn
import torch.nn.functional as F
from sodium.utils import setup_logger
from sodium.base import BaseModel
logger = setup_logger(__name__)
class MNISTModel(BaseModel):
def __init__(self, dropout_value=0.08):
self.dropout_value = dropout_value # dropout value
super(MNISTMod... | 32.704762 | 77 | 0.541206 | 819 | 6,868 | 4.395604 | 0.108669 | 0.015 | 0.038333 | 0.094444 | 0.884444 | 0.880278 | 0.867222 | 0.84 | 0.765556 | 0.727778 | 0 | 0.067658 | 0.343623 | 6,868 | 209 | 78 | 32.861244 | 0.730923 | 0.089983 | 0 | 0.677019 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024845 | false | 0 | 0.024845 | 0 | 0.074534 | 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 |
1ef9c75b473c06d95ce1421d1f9c9a0d6760be20 | 39 | py | Python | exchanges/twse/handlers/__init__.py | shwang-bk/fin4crawl | 3c86add7c30817b1d739e510c321f631a43b9c71 | [
"MIT"
] | 1 | 2020-03-26T14:46:55.000Z | 2020-03-26T14:46:55.000Z | exchanges/twse/handlers/__init__.py | shwang-bk/fin4crawl | 3c86add7c30817b1d739e510c321f631a43b9c71 | [
"MIT"
] | null | null | null | exchanges/twse/handlers/__init__.py | shwang-bk/fin4crawl | 3c86add7c30817b1d739e510c321f631a43b9c71 | [
"MIT"
] | 1 | 2021-04-10T00:53:14.000Z | 2021-04-10T00:53:14.000Z | from .branch import StockBranchHandler
| 19.5 | 38 | 0.871795 | 4 | 39 | 8.5 | 1 | 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 |
480dac83956f4619481adb62eb504c55d6e3023d | 249 | py | Python | tests/test_service/__init__.py | amih90/bacpypes | 27ab4f18aa252ceb6ffdc32d53af2995a2e92647 | [
"MIT"
] | 240 | 2015-07-17T16:27:54.000Z | 2022-03-29T13:53:06.000Z | tests/test_service/__init__.py | amih90/bacpypes | 27ab4f18aa252ceb6ffdc32d53af2995a2e92647 | [
"MIT"
] | 400 | 2015-07-23T05:37:52.000Z | 2022-03-29T12:32:30.000Z | tests/test_service/__init__.py | amih90/bacpypes | 27ab4f18aa252ceb6ffdc32d53af2995a2e92647 | [
"MIT"
] | 143 | 2015-07-17T18:22:27.000Z | 2022-03-22T01:21:24.000Z | #!/usr/bin/python
"""
Test Services
"""
from . import test_cov
from . import test_cov_av
from . import test_cov_bv
from . import test_cov_pc
from . import test_device
from . import test_device_2
from . import test_file
from . import test_object
| 14.647059 | 27 | 0.759036 | 41 | 249 | 4.317073 | 0.365854 | 0.451977 | 0.632768 | 0.384181 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004808 | 0.164659 | 249 | 16 | 28 | 15.5625 | 0.846154 | 0.120482 | 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 |
4883314efc2c59871df1db49f568219542a48870 | 2,471 | py | Python | tests/unit/butterfree/dataframe_service/test_repartition.py | fossabot/butterfree | 8a7da8c540b51c6560b2825cb926c40a351f202b | [
"Apache-2.0"
] | 208 | 2020-07-17T18:46:10.000Z | 2022-03-21T12:44:12.000Z | tests/unit/butterfree/dataframe_service/test_repartition.py | fossabot/butterfree | 8a7da8c540b51c6560b2825cb926c40a351f202b | [
"Apache-2.0"
] | 124 | 2020-07-17T19:42:47.000Z | 2021-07-21T00:38:05.000Z | tests/unit/butterfree/dataframe_service/test_repartition.py | fossabot/butterfree | 8a7da8c540b51c6560b2825cb926c40a351f202b | [
"Apache-2.0"
] | 30 | 2020-07-17T20:24:09.000Z | 2022-03-17T00:50:37.000Z | from pyspark.sql.functions import spark_partition_id
from butterfree.dataframe_service import repartition_df, repartition_sort_df
class TestRepartition:
def test_repartition_df(self, input_df):
result_df = repartition_df(dataframe=input_df, partition_by=["timestamp"])
# Only one partition id, me... | 41.183333 | 82 | 0.674221 | 298 | 2,471 | 5.298658 | 0.154362 | 0.111463 | 0.111463 | 0.139329 | 0.896137 | 0.882204 | 0.850538 | 0.835339 | 0.835339 | 0.835339 | 0 | 0.011506 | 0.226224 | 2,471 | 59 | 83 | 41.881356 | 0.814331 | 0.169567 | 0 | 0.486486 | 0 | 0 | 0.035277 | 0 | 0 | 0 | 0 | 0 | 0.27027 | 1 | 0.135135 | false | 0 | 0.054054 | 0 | 0.216216 | 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 |
6f89a6d91f2bcdda2debdef85d393053dde424e6 | 4,034 | py | Python | pojson/test_convert.py | cederigo/pojson | c3c64cac712f8c70fc12f50463ac4d6f1499db93 | [
"BSD-3-Clause"
] | null | null | null | pojson/test_convert.py | cederigo/pojson | c3c64cac712f8c70fc12f50463ac4d6f1499db93 | [
"BSD-3-Clause"
] | null | null | null | pojson/test_convert.py | cederigo/pojson | c3c64cac712f8c70fc12f50463ac4d6f1499db93 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
import os
from pojson import convert, po2dict
import polib
def test_po2dict():
po = polib.POFile()
po.metadata = {}
entry = polib.POEntry(
msgid=u'Hello world',
msgstr=u'Hallo wereld')
po.append(entry)
result = po2dict(po)
assert result == {'... | 24.597561 | 87 | 0.571145 | 493 | 4,034 | 4.596349 | 0.200811 | 0.027802 | 0.045896 | 0.052957 | 0.815975 | 0.775816 | 0.775816 | 0.775816 | 0.721094 | 0.721094 | 0 | 0.006509 | 0.276401 | 4,034 | 163 | 88 | 24.748466 | 0.769784 | 0.096678 | 0 | 0.669492 | 0 | 0 | 0.227235 | 0 | 0 | 0 | 0 | 0 | 0.076271 | 1 | 0.084746 | false | 0 | 0.025424 | 0 | 0.118644 | 0.033898 | 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 |
6faceab6d8e0c488980f8e5d6e78feb126d2c2c0 | 7,202 | py | Python | sshportal_api/resources/userroles.py | Whyrl35/sshportal-api | 1aa437e746f01ba1df48de904466f91a103a11ad | [
"MIT"
] | 1 | 2021-07-06T21:11:06.000Z | 2021-07-06T21:11:06.000Z | sshportal_api/resources/userroles.py | Whyrl35/sshportal-api | 1aa437e746f01ba1df48de904466f91a103a11ad | [
"MIT"
] | null | null | null | sshportal_api/resources/userroles.py | Whyrl35/sshportal-api | 1aa437e746f01ba1df48de904466f91a103a11ad | [
"MIT"
] | null | null | null | from flask_restful import Resource
from flask_jwt_extended import jwt_required
from sshportal_api import api
from sshportal_api.models import UserModel, UserRolesModel, UserUserRolesModel
from flask_restful_swagger_3 import swagger
class UserRoles(Resource):
@swagger.doc({
'security': [{'bearerAuth': []}]... | 38.308511 | 87 | 0.386837 | 516 | 7,202 | 5.248062 | 0.182171 | 0.026588 | 0.035451 | 0.057607 | 0.722304 | 0.722304 | 0.707533 | 0.707533 | 0.707533 | 0.707533 | 0 | 0.07805 | 0.50722 | 7,202 | 187 | 88 | 38.513369 | 0.684982 | 0 | 0 | 0.621302 | 0 | 0 | 0.218134 | 0.049847 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017751 | false | 0.017751 | 0.029586 | 0 | 0.08284 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 |
b513c9e9933b1d5d06d26fc69bd5f00070c530af | 10,642 | py | Python | core/tests/test_tables.py | lttga/test | 9f0125b3e0daf1dfbec4d7083b331206e85b02fc | [
"BSD-3-Clause"
] | null | null | null | core/tests/test_tables.py | lttga/test | 9f0125b3e0daf1dfbec4d7083b331206e85b02fc | [
"BSD-3-Clause"
] | 2 | 2021-03-18T08:07:54.000Z | 2021-04-09T11:17:33.000Z | core/tests/test_tables.py | lttga/test | 9f0125b3e0daf1dfbec4d7083b331206e85b02fc | [
"BSD-3-Clause"
] | null | null | null | import errno
import pytest
from django.conf import settings
from rest_framework import status
from core.tests.utils import create_data_selection
@pytest.mark.django_db
class TestTableViews:
url_prefix = "/uploads/" if not settings.API_PREFIX else f"/{settings.API_PREFIX}uploads/"
@pytest.fixture(autouse=Tr... | 46.675439 | 129 | 0.646213 | 1,248 | 10,642 | 5.300481 | 0.098558 | 0.06198 | 0.076644 | 0.061376 | 0.879063 | 0.863492 | 0.863492 | 0.863492 | 0.850642 | 0.850642 | 0 | 0.007467 | 0.207198 | 10,642 | 227 | 130 | 46.881057 | 0.776579 | 0 | 0 | 0.666667 | 0 | 0.078125 | 0.341383 | 0.267901 | 0 | 0 | 0 | 0 | 0.15625 | 1 | 0.057292 | false | 0 | 0.026042 | 0 | 0.09375 | 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 |
b5157a4c95839b7b9d10010e5042730d3bec1af9 | 260 | py | Python | json_ref_dict/exceptions.py | RangelReale/json-ref-dict | 1ed1c96707359b5d648bafd3062a4446b469b682 | [
"MIT"
] | 9 | 2020-06-25T13:05:22.000Z | 2022-02-21T15:32:47.000Z | json_ref_dict/exceptions.py | RangelReale/json-ref-dict | 1ed1c96707359b5d648bafd3062a4446b469b682 | [
"MIT"
] | 7 | 2020-03-20T16:36:58.000Z | 2021-09-10T09:55:28.000Z | json_ref_dict/exceptions.py | RangelReale/json-ref-dict | 1ed1c96707359b5d648bafd3062a4446b469b682 | [
"MIT"
] | 8 | 2020-10-30T13:58:21.000Z | 2021-09-06T09:05:04.000Z | class JSONRefParseError(Exception):
"""Base exception for failures when parsing."""
class DocumentParseError(JSONRefParseError):
"""Failed to parse a document."""
class ReferenceParseError(JSONRefParseError):
"""Failed to parse a reference."""
| 23.636364 | 51 | 0.738462 | 25 | 260 | 7.68 | 0.64 | 0.239583 | 0.260417 | 0.3125 | 0.322917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146154 | 260 | 10 | 52 | 26 | 0.864865 | 0.376923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
d20183b3fde2aa257945634822e51f9bcf8b4bb1 | 27,532 | py | Python | tests/test_cfg_cls.py | KonnexionsGmbH/dcr | 3b58be5df66831e5389558599cf1d234da605aeb | [
"CNRI-Python",
"Naumen",
"Condor-1.1",
"MS-PL"
] | 2 | 2022-02-24T15:13:23.000Z | 2022-03-28T00:45:31.000Z | tests/test_cfg_cls.py | KonnexionsGmbH/dcr | 3b58be5df66831e5389558599cf1d234da605aeb | [
"CNRI-Python",
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | tests/test_cfg_cls.py | KonnexionsGmbH/dcr | 3b58be5df66831e5389558599cf1d234da605aeb | [
"CNRI-Python",
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | # pylint: disable=unused-argument
"""Testing Module cfg.cls_..."""
import os
import cfg.cls_setup
import cfg.glob
import pytest
# -----------------------------------------------------------------------------
# Constants & Globals.
# -----------------------------------------------------------------------------
# pylin... | 36.955705 | 114 | 0.570064 | 2,947 | 27,532 | 4.885307 | 0.036308 | 0.059179 | 0.107731 | 0.155588 | 0.958116 | 0.92561 | 0.889421 | 0.8806 | 0.865389 | 0.854831 | 0 | 0.002273 | 0.153095 | 27,532 | 744 | 115 | 37.005376 | 0.615173 | 0.249891 | 0 | 0.559653 | 0 | 0 | 0.076901 | 0.042163 | 0 | 0 | 0 | 0 | 0.093275 | 1 | 0.036876 | false | 0 | 0.008677 | 0 | 0.045553 | 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 |
d20808e25d95837d0f9f3f594f2630f73b403812 | 317 | py | Python | source/window/__init__.py | whitegreyblack/PyWin | 78f3637b4c03c11d7f6ef15b20a1acf699d4be24 | [
"MIT"
] | null | null | null | source/window/__init__.py | whitegreyblack/PyWin | 78f3637b4c03c11d7f6ef15b20a1acf699d4be24 | [
"MIT"
] | null | null | null | source/window/__init__.py | whitegreyblack/PyWin | 78f3637b4c03c11d7f6ef15b20a1acf699d4be24 | [
"MIT"
] | null | null | null | from source.window.base import Window
from source.window.display import DisplayWindow
from source.window.help import HelpWindow
from source.window.scrollable import ScrollableWindow, keypress_up, keypress_down, keypress_a
from source.window.property import WindowProperty
from source.window.prompt import PromptWindow | 52.833333 | 93 | 0.870662 | 42 | 317 | 6.5 | 0.452381 | 0.21978 | 0.351648 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082019 | 317 | 6 | 94 | 52.833333 | 0.938144 | 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 |
d275ca3cfb4b132e112eaee9ad51ad67b84b073a | 94 | py | Python | ansible_var_checker/jinja/visitors/__init__.py | KlutzyBubbles/jinja2schema | 6e04e8b2b1cdef6dbecab80f0d28129873d3f82b | [
"BSD-3-Clause"
] | null | null | null | ansible_var_checker/jinja/visitors/__init__.py | KlutzyBubbles/jinja2schema | 6e04e8b2b1cdef6dbecab80f0d28129873d3f82b | [
"BSD-3-Clause"
] | null | null | null | ansible_var_checker/jinja/visitors/__init__.py | KlutzyBubbles/jinja2schema | 6e04e8b2b1cdef6dbecab80f0d28129873d3f82b | [
"BSD-3-Clause"
] | null | null | null | from .util import visit, visit_many
from .expr import visit_expr
from .stmt import visit_stmt
| 23.5 | 35 | 0.819149 | 16 | 94 | 4.625 | 0.4375 | 0.445946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138298 | 94 | 3 | 36 | 31.333333 | 0.91358 | 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 |
d283ba2d7482ed610ea1ddf6cbe8b70775d3efeb | 47 | py | Python | timm/models/vit/__init__.py | Hanson0910/Pytorch-RIADD | 6dfacf729ffcdfb88631f24ae1b88db20b418e5b | [
"Apache-2.0"
] | 22 | 2021-02-28T21:51:35.000Z | 2022-03-25T08:44:47.000Z | timm/models/vit/__init__.py | Ravimk07/Pytorch-RIADD | 6dfacf729ffcdfb88631f24ae1b88db20b418e5b | [
"Apache-2.0"
] | 2 | 2021-04-25T03:23:33.000Z | 2022-03-17T06:07:30.000Z | timm/models/vit/__init__.py | Ravimk07/Pytorch-RIADD | 6dfacf729ffcdfb88631f24ae1b88db20b418e5b | [
"Apache-2.0"
] | 2 | 2021-09-12T14:12:26.000Z | 2022-03-25T08:44:49.000Z | from .modeling import VisionTransformer,CONFIGS | 47 | 47 | 0.893617 | 5 | 47 | 8.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 47 | 1 | 47 | 47 | 0.954545 | 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 |
962dfe23b0c666eaf50a680fa470a59d6502ed22 | 182 | py | Python | bin/freebox_show_status.py | ngraziano/freeboxv5-status | 77f58dae1d55ae081ea18f1d30ca9c73cbb92a7c | [
"MIT"
] | null | null | null | bin/freebox_show_status.py | ngraziano/freeboxv5-status | 77f58dae1d55ae081ea18f1d30ca9c73cbb92a7c | [
"MIT"
] | null | null | null | bin/freebox_show_status.py | ngraziano/freeboxv5-status | 77f58dae1d55ae081ea18f1d30ca9c73cbb92a7c | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf8 -*-
import freebox_v5_status.freeboxstatus
import pprint
fbx = freebox_v5_status.freeboxstatus.FreeboxStatus()
pprint.pprint( fbx.status )
| 20.222222 | 53 | 0.769231 | 23 | 182 | 5.913043 | 0.565217 | 0.132353 | 0.220588 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018405 | 0.104396 | 182 | 8 | 54 | 22.75 | 0.815951 | 0.225275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
9661efbd57c0d3724b91578ae1802b46d72f41dc | 27 | py | Python | strategy/__init__.py | hermian/startetf | 70c2fb1ead50db470141712b73b4f9f8579faa08 | [
"MIT"
] | 6 | 2022-01-27T13:24:13.000Z | 2022-03-27T07:39:26.000Z | strategy/__init__.py | hermian/startetf | 70c2fb1ead50db470141712b73b4f9f8579faa08 | [
"MIT"
] | null | null | null | strategy/__init__.py | hermian/startetf | 70c2fb1ead50db470141712b73b4f9f8579faa08 | [
"MIT"
] | 4 | 2022-01-24T08:44:34.000Z | 2022-03-27T07:39:28.000Z | from .long_only_ew import * | 27 | 27 | 0.814815 | 5 | 27 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.833333 | 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 |
969ad901af56a94fb9eefcda418e075ea062fc12 | 51 | py | Python | figuregen/util/units.py | Mira-13/figure-gen | fd1b8814423dd34973a3fafe68ff5c0f95c08590 | [
"MIT"
] | 75 | 2020-09-17T17:17:17.000Z | 2022-01-21T14:28:14.000Z | figuregen/util/units.py | neshume/figure-gen | e4cb1d9ea1841980b4dc90953325e1a8c6dfb510 | [
"MIT"
] | 3 | 2020-09-29T11:51:35.000Z | 2020-10-22T15:27:40.000Z | figuregen/util/units.py | neshume/figure-gen | e4cb1d9ea1841980b4dc90953325e1a8c6dfb510 | [
"MIT"
] | 2 | 2020-10-24T05:57:49.000Z | 2022-03-14T17:06:02.000Z | def mm_to_inches(mm):
return mm * 0.03937007874 | 25.5 | 29 | 0.72549 | 9 | 51 | 3.888889 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 0.176471 | 51 | 2 | 29 | 25.5 | 0.547619 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
96a0236b085ebe21fddc39bea97188f039639cf3 | 27,935 | py | Python | google/cloud/securitycenter_v1/proto/securitycenter_service_pb2_grpc.py | tdh911/python-securitycenter | 54263c36adc26549933e0e9b1b8055b69eb81489 | [
"Apache-2.0"
] | null | null | null | google/cloud/securitycenter_v1/proto/securitycenter_service_pb2_grpc.py | tdh911/python-securitycenter | 54263c36adc26549933e0e9b1b8055b69eb81489 | [
"Apache-2.0"
] | null | null | null | google/cloud/securitycenter_v1/proto/securitycenter_service_pb2_grpc.py | tdh911/python-securitycenter | 54263c36adc26549933e0e9b1b8055b69eb81489 | [
"Apache-2.0"
] | null | null | null | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import grpc
from google.cloud.securitycenter_v1.proto import (
finding_pb2 as google_dot_cloud_dot_securitycenter__v1_dot_proto_dot_finding__pb2,
)
from google.cloud.securitycenter_v1.proto import (
notification_config_pb2 as google_dot_clou... | 60.596529 | 166 | 0.78092 | 2,855 | 27,935 | 7.086515 | 0.070403 | 0.113434 | 0.056742 | 0.068901 | 0.838325 | 0.819197 | 0.804765 | 0.747924 | 0.663157 | 0.657374 | 0 | 0.010382 | 0.15869 | 27,935 | 460 | 167 | 60.728261 | 0.850481 | 0.062789 | 0 | 0.347339 | 1 | 0 | 0.112991 | 0.064164 | 0 | 0 | 0 | 0 | 0 | 1 | 0.070028 | false | 0.02521 | 0.030812 | 0 | 0.106443 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
96b8abd938923b406142627d88a67ec597ee7ef1 | 98 | py | Python | tests/test_version.py | chrisburr/hist | d10132ab8d03f41152f0b934a18291ce699453b2 | [
"BSD-3-Clause"
] | null | null | null | tests/test_version.py | chrisburr/hist | d10132ab8d03f41152f0b934a18291ce699453b2 | [
"BSD-3-Clause"
] | null | null | null | tests/test_version.py | chrisburr/hist | d10132ab8d03f41152f0b934a18291ce699453b2 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
import hist
def test_version():
assert hist.__version__ is not None
| 14 | 39 | 0.663265 | 14 | 98 | 4.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012821 | 0.204082 | 98 | 6 | 40 | 16.333333 | 0.75641 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7376f1b489f6ba8ffc11f50949e1f02e0088a9bc | 174 | py | Python | utils.py | pedrofracassi/insper-dessoft-ep2 | 510571e77d0d9d406a110b80b04d7e819a01cb2d | [
"MIT"
] | null | null | null | utils.py | pedrofracassi/insper-dessoft-ep2 | 510571e77d0d9d406a110b80b04d7e819a01cb2d | [
"MIT"
] | null | null | null | utils.py | pedrofracassi/insper-dessoft-ep2 | 510571e77d0d9d406a110b80b04d7e819a01cb2d | [
"MIT"
] | null | null | null | import os
# Função retirada da resposta de poke, no StackOverflow
# https://stackoverflow.com/a/2084628
def limpa_tela():
os.system('cls' if os.name == 'nt' else 'clear')
| 24.857143 | 55 | 0.718391 | 27 | 174 | 4.592593 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04698 | 0.143678 | 174 | 6 | 56 | 29 | 0.785235 | 0.511494 | 0 | 0 | 0 | 0 | 0.121951 | 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 |
73a1ad79f96208e06000c13f53b01ac445f70d36 | 3,656 | py | Python | corehq/apps/data_dictionary/tests/test_util.py | dimagilg/commcare-hq | ea1786238eae556bb7f1cbd8d2460171af1b619c | [
"BSD-3-Clause"
] | 471 | 2015-01-10T02:55:01.000Z | 2022-03-29T18:07:18.000Z | corehq/apps/data_dictionary/tests/test_util.py | dimagilg/commcare-hq | ea1786238eae556bb7f1cbd8d2460171af1b619c | [
"BSD-3-Clause"
] | 14,354 | 2015-01-01T07:38:23.000Z | 2022-03-31T20:55:14.000Z | corehq/apps/data_dictionary/tests/test_util.py | dimagilg/commcare-hq | ea1786238eae556bb7f1cbd8d2460171af1b619c | [
"BSD-3-Clause"
] | 175 | 2015-01-06T07:16:47.000Z | 2022-03-29T13:27:01.000Z | import uuid
from django.test import TestCase
from mock import patch
from corehq.apps.data_dictionary.models import CaseProperty, CaseType
from corehq.apps.data_dictionary.util import generate_data_dictionary
@patch('corehq.apps.data_dictionary.util._get_all_case_properties')
class GenerateDictionaryTest(TestCase):... | 41.545455 | 95 | 0.701039 | 436 | 3,656 | 5.692661 | 0.135321 | 0.112812 | 0.128928 | 0.152297 | 0.812651 | 0.776793 | 0.7361 | 0.678082 | 0.643433 | 0.643433 | 0 | 0.009546 | 0.169037 | 3,656 | 87 | 96 | 42.022989 | 0.807439 | 0 | 0 | 0.507937 | 1 | 0 | 0.047593 | 0.015591 | 0 | 0 | 0 | 0 | 0.412698 | 1 | 0.142857 | false | 0 | 0.079365 | 0 | 0.253968 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
73c51dd60e06da955872ea447174fbd8d1071941 | 685 | py | Python | quantlib/pricingengines/api.py | yuyingfeng/pyql | ceb838581ad4db73a0208bc51bde2771bb534e5f | [
"BSD-3-Clause"
] | null | null | null | quantlib/pricingengines/api.py | yuyingfeng/pyql | ceb838581ad4db73a0208bc51bde2771bb534e5f | [
"BSD-3-Clause"
] | null | null | null | quantlib/pricingengines/api.py | yuyingfeng/pyql | ceb838581ad4db73a0208bc51bde2771bb534e5f | [
"BSD-3-Clause"
] | 2 | 2016-08-24T20:56:14.000Z | 2022-01-03T05:58:42.000Z | from .vanilla.vanilla import VanillaOptionEngine, AnalyticEuropeanEngine
from .vanilla.vanilla import AnalyticHestonEngine
from .vanilla.vanilla import AnalyticBSMHullWhiteEngine
from .vanilla.vanilla import AnalyticHestonHullWhiteEngine
from .vanilla.vanilla import BaroneAdesiWhaleyApproximationEngine
from .vanilla.v... | 48.928571 | 78 | 0.890511 | 58 | 685 | 10.517241 | 0.327586 | 0.180328 | 0.295082 | 0.393443 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072993 | 685 | 13 | 79 | 52.692308 | 0.96063 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fb7ecd1f310747b09d0e8db1451eb712e036f0b4 | 279 | py | Python | SimCalorimetry/HGCalSimProducers/python/hgcHitAssociation_cfi.py | yihui-lai/cmssw | ec61da59bdebc84a58d07d7e6d993b74bb7709ee | [
"Apache-2.0"
] | 1 | 2020-06-09T10:12:27.000Z | 2020-06-09T10:12:27.000Z | SimCalorimetry/HGCalSimProducers/python/hgcHitAssociation_cfi.py | yihui-lai/cmssw | ec61da59bdebc84a58d07d7e6d993b74bb7709ee | [
"Apache-2.0"
] | null | null | null | SimCalorimetry/HGCalSimProducers/python/hgcHitAssociation_cfi.py | yihui-lai/cmssw | ec61da59bdebc84a58d07d7e6d993b74bb7709ee | [
"Apache-2.0"
] | 2 | 2020-03-20T18:46:13.000Z | 2021-03-12T09:23:07.000Z | from SimCalorimetry.HGCalAssociatorProducers.layerClusterAssociatorByEnergyScore_cfi import layerClusterAssociatorByEnergyScore as lcAssocByEnergyScoreProducer
from RecoLocalCalo.HGCalRecProducers.hgcalRecHitMapProducer_cfi import hgcalRecHitMapProducer as hgcRecHitMapProducer
| 69.75 | 159 | 0.939068 | 18 | 279 | 14.444444 | 0.666667 | 0.069231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046595 | 279 | 3 | 160 | 93 | 0.977444 | 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 |
fb848fe8a13a551de237382bb5c8c47106ed32c2 | 40 | py | Python | tensorstock/feature/ma/__init__.py | Hourout/tensorstock | 7c7fa3a47bfd4b8eb505368d018a2a493cb734b6 | [
"Apache-2.0"
] | null | null | null | tensorstock/feature/ma/__init__.py | Hourout/tensorstock | 7c7fa3a47bfd4b8eb505368d018a2a493cb734b6 | [
"Apache-2.0"
] | null | null | null | tensorstock/feature/ma/__init__.py | Hourout/tensorstock | 7c7fa3a47bfd4b8eb505368d018a2a493cb734b6 | [
"Apache-2.0"
] | null | null | null | from tensorstock.feature.ma._ma import * | 40 | 40 | 0.825 | 6 | 40 | 5.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.864865 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fba3fa6b15b2a5a02c9b5423b7bf90a9b561cfec | 97 | py | Python | netbuffer/abm/__init__.py | bstabler/netbuffer | 25fb44804f160a92c8bee80f9f6b44b8f97b2b16 | [
"BSD-3-Clause"
] | null | null | null | netbuffer/abm/__init__.py | bstabler/netbuffer | 25fb44804f160a92c8bee80f9f6b44b8f97b2b16 | [
"BSD-3-Clause"
] | 15 | 2018-03-08T19:06:01.000Z | 2020-05-07T23:44:48.000Z | netbuffer/abm/__init__.py | bstabler/netbuffer | 25fb44804f160a92c8bee80f9f6b44b8f97b2b16 | [
"BSD-3-Clause"
] | 3 | 2018-03-19T19:32:52.000Z | 2019-10-31T17:47:12.000Z | from netbuffer.core import network
from . import misc
from . import tables
from . import models
| 16.166667 | 34 | 0.783505 | 14 | 97 | 5.428571 | 0.571429 | 0.394737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175258 | 97 | 5 | 35 | 19.4 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fbc93e55c27fce299e046a634a4a1ac9e2f0d605 | 404 | py | Python | tests/test_bookops_nypl_platform.py | BookOps-CAT/bookops-nypl-platform | a5db62f4ca13c5775283ccc2cec24eba970030c4 | [
"MIT"
] | null | null | null | tests/test_bookops_nypl_platform.py | BookOps-CAT/bookops-nypl-platform | a5db62f4ca13c5775283ccc2cec24eba970030c4 | [
"MIT"
] | 4 | 2020-10-14T03:35:48.000Z | 2022-02-07T04:46:16.000Z | tests/test_bookops_nypl_platform.py | BookOps-CAT/bookops-nypl-platform | a5db62f4ca13c5775283ccc2cec24eba970030c4 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from bookops_nypl_platform import __version__, __title__
def test_version():
assert __version__ == "0.2.1"
def test_title():
assert __title__ == "bookops-nypl-platform"
def test_PlatfromToken_top_level_import():
from bookops_nypl_platform import PlatformToken
def test_Platfo... | 20.2 | 56 | 0.769802 | 50 | 404 | 5.58 | 0.42 | 0.157706 | 0.272401 | 0.247312 | 0.412186 | 0.308244 | 0.308244 | 0.308244 | 0 | 0 | 0 | 0.011594 | 0.14604 | 404 | 19 | 57 | 21.263158 | 0.797101 | 0.05198 | 0 | 0 | 0 | 0 | 0.068241 | 0.055118 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.444444 | true | 0 | 0.555556 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
838ff9fdb9f7fa86b3215dc88031e6de0f7aef9b | 32,459 | py | Python | fhir/resources/testreport.py | cstoltze/fhir.resources | 52f99738935b7313089d89daf94d73ce7d167c9d | [
"BSD-3-Clause"
] | 144 | 2019-05-08T14:24:43.000Z | 2022-03-30T02:37:11.000Z | fhir/resources/testreport.py | cstoltze/fhir.resources | 52f99738935b7313089d89daf94d73ce7d167c9d | [
"BSD-3-Clause"
] | 82 | 2019-05-13T17:43:13.000Z | 2022-03-30T16:45:17.000Z | fhir/resources/testreport.py | cstoltze/fhir.resources | 52f99738935b7313089d89daf94d73ce7d167c9d | [
"BSD-3-Clause"
] | 48 | 2019-04-04T14:14:53.000Z | 2022-03-30T06:07:31.000Z | # -*- coding: utf-8 -*-
"""
Profile: http://hl7.org/fhir/StructureDefinition/TestReport
Release: R4
Version: 4.0.1
Build ID: 9346c8cc45
Last updated: 2019-11-01T09:29:23.356+11:00
"""
import typing
from pydantic import Field, root_validator
from pydantic.error_wrappers import ErrorWrapper, ValidationError
from pydanti... | 37.786962 | 93 | 0.612927 | 3,346 | 32,459 | 5.830245 | 0.09743 | 0.019684 | 0.030859 | 0.030193 | 0.825713 | 0.796904 | 0.763994 | 0.756766 | 0.736211 | 0.730418 | 0 | 0.003267 | 0.302197 | 32,459 | 858 | 94 | 37.831002 | 0.858013 | 0.238978 | 0 | 0.63167 | 0 | 0 | 0.198643 | 0.008839 | 0 | 0 | 0 | 0 | 0.02926 | 1 | 0.030981 | false | 0.032702 | 0.008606 | 0.006885 | 0.187608 | 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 |
f7ad87792c2a0dad382583551ee316c8f12a8cc7 | 71 | py | Python | run/metrics_shapenet_lm.py | crazy-zxx/3d-lmnet-update | 7739fbfaedc59828378f233f53f3a919f8f0e328 | [
"MIT"
] | null | null | null | run/metrics_shapenet_lm.py | crazy-zxx/3d-lmnet-update | 7739fbfaedc59828378f233f53f3a919f8f0e328 | [
"MIT"
] | null | null | null | run/metrics_shapenet_lm.py | crazy-zxx/3d-lmnet-update | 7739fbfaedc59828378f233f53f3a919f8f0e328 | [
"MIT"
] | null | null | null | import os
os.system('cd .. \n bash ./scripts/metrics_shapenet_lm.sh')
| 17.75 | 59 | 0.71831 | 12 | 71 | 4.083333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112676 | 71 | 3 | 60 | 23.666667 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.647887 | 0.450704 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f7c6e6d86193663603c1b2019f1925caf5252cf8 | 2,595 | py | Python | _sample_suites/many_tests/test_1.py | yaelmi3/backslash | edf39caf97af2c926da01c340a83648f4874e97e | [
"BSD-3-Clause"
] | 17 | 2015-11-25T13:02:38.000Z | 2021-12-14T20:18:36.000Z | _sample_suites/many_tests/test_1.py | yaelmi3/backslash | edf39caf97af2c926da01c340a83648f4874e97e | [
"BSD-3-Clause"
] | 533 | 2015-11-24T12:47:13.000Z | 2022-02-12T07:59:08.000Z | _sample_suites/many_tests/test_1.py | parallelsystems/backslash | 577cdd18d5f665a8b493c4b2e2a605b7e0f6e11b | [
"BSD-3-Clause"
] | 15 | 2015-11-22T13:25:54.000Z | 2022-02-16T19:23:11.000Z | import slash
def test_0():
pass
def test_1():
pass
def test_2():
pass
def test_3():
pass
def test_4():
pass
def test_5():
slash.logger.warning("this is a sample warning")
def test_6():
pass
def test_7():
pass
def test_8():
pass
def test_9():
pass
def test_10():
pas... | 8.564356 | 55 | 0.566474 | 417 | 2,595 | 3.285372 | 0.266187 | 0.510949 | 0.778832 | 0.032117 | 0.055474 | 0.055474 | 0.055474 | 0.055474 | 0 | 0 | 0 | 0.107123 | 0.312909 | 2,595 | 302 | 56 | 8.592715 | 0.661245 | 0 | 0 | 0.487562 | 0 | 0 | 0.019661 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.497512 | true | 0.487562 | 0.004975 | 0 | 0.502488 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
f71327a3a8d91361d562cf3cb209adc3828acd01 | 122 | py | Python | sub_call/file_call.py | jyhh1992/test_algorithm | 1e6ec7dbdd6881f0c60fbf7c6d7d6f8f4a5b2168 | [
"Apache-2.0"
] | null | null | null | sub_call/file_call.py | jyhh1992/test_algorithm | 1e6ec7dbdd6881f0c60fbf7c6d7d6f8f4a5b2168 | [
"Apache-2.0"
] | null | null | null | sub_call/file_call.py | jyhh1992/test_algorithm | 1e6ec7dbdd6881f0c60fbf7c6d7d6f8f4a5b2168 | [
"Apache-2.0"
] | null | null | null | class response():
def __init__(self) -> None:
self.num = 5
def call_result(self):
return(self.num) | 24.4 | 31 | 0.581967 | 16 | 122 | 4.125 | 0.6875 | 0.212121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011494 | 0.286885 | 122 | 5 | 32 | 24.4 | 0.747126 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
f725afde370dd3d08133a4a847cf11682d4bc65e | 30 | py | Python | py_yahoo/__init__.py | satheshrgs/py_yahoo | c18d680a9c75bb28364b95ada8b4dead0302d6ed | [
"MIT"
] | null | null | null | py_yahoo/__init__.py | satheshrgs/py_yahoo | c18d680a9c75bb28364b95ada8b4dead0302d6ed | [
"MIT"
] | null | null | null | py_yahoo/__init__.py | satheshrgs/py_yahoo | c18d680a9c75bb28364b95ada8b4dead0302d6ed | [
"MIT"
] | null | null | null | from .py_yahoo import YWeather | 30 | 30 | 0.866667 | 5 | 30 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f76322719d8f35345f67905088e40b6faf89a356 | 179 | py | Python | vega/networks/pytorch/__init__.py | zjzh/vega | aa6e7b8c69024262fc483ee06113b4d1bd5156d8 | [
"Apache-2.0"
] | null | null | null | vega/networks/pytorch/__init__.py | zjzh/vega | aa6e7b8c69024262fc483ee06113b4d1bd5156d8 | [
"Apache-2.0"
] | null | null | null | vega/networks/pytorch/__init__.py | zjzh/vega | aa6e7b8c69024262fc483ee06113b4d1bd5156d8 | [
"Apache-2.0"
] | null | null | null | from . import backbones
from . import heads
from . import blocks
from . import customs
from . import detectors
from . import necks
from . import losses
from . import cyclesrbodys
| 19.888889 | 26 | 0.776536 | 24 | 179 | 5.791667 | 0.416667 | 0.57554 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178771 | 179 | 8 | 27 | 22.375 | 0.945578 | 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 |
f7639b27eccebca8b7b8777b43cef3efbac0cb11 | 150 | py | Python | rllib/util/losses/__init__.py | sebimarkgraf/rllib | a00052ae735f4f7160055ebb42c83f69486df948 | [
"MIT"
] | null | null | null | rllib/util/losses/__init__.py | sebimarkgraf/rllib | a00052ae735f4f7160055ebb42c83f69486df948 | [
"MIT"
] | null | null | null | rllib/util/losses/__init__.py | sebimarkgraf/rllib | a00052ae735f4f7160055ebb42c83f69486df948 | [
"MIT"
] | null | null | null | """Losses utilities used in algorithms."""
from .entropy_loss import EntropyLoss
from .kl_loss import KLLoss
from .pathwise_loss import PathwiseLoss
| 25 | 42 | 0.813333 | 20 | 150 | 5.95 | 0.7 | 0.252101 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 150 | 5 | 43 | 30 | 0.901515 | 0.24 | 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 |
f766dcb78eac26578e373d2ffa860880ae375600 | 2,279 | py | Python | datagokr/scripts.py | uujei/datagokr | 308f5151f819010f2c4e174a6ef84d83d3bea922 | [
"MIT"
] | null | null | null | datagokr/scripts.py | uujei/datagokr | 308f5151f819010f2c4e174a6ef84d83d3bea922 | [
"MIT"
] | null | null | null | datagokr/scripts.py | uujei/datagokr | 308f5151f819010f2c4e174a6ef84d83d3bea922 | [
"MIT"
] | null | null | null | import json
import click
from .airkorea import MsrstnAcctoRltmMesureDnsty
from .kma import UltraSrtFcst, UltraSrtNcst, VilageFcst, WthrDataList
def _out(records):
for record in records:
print(record.dict())
@click.group()
def datagokr():
pass
@datagokr.command()
@click.option("-s", "--service-ke... | 30.797297 | 76 | 0.618254 | 314 | 2,279 | 4.372611 | 0.178344 | 0.120175 | 0.163875 | 0.07866 | 0.825929 | 0.825929 | 0.825929 | 0.825929 | 0.825929 | 0.825929 | 0 | 0 | 0.181659 | 2,279 | 73 | 77 | 31.219178 | 0.736193 | 0 | 0 | 0.688525 | 0 | 0 | 0.147433 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.081967 | false | 0.016393 | 0.065574 | 0 | 0.147541 | 0.016393 | 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 |
f769552d4f2831c615647c2b60050c8abcc4f65b | 27 | py | Python | src/euler_python_package/euler_python/medium/p263.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p263.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p263.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | def problem263():
pass
| 9 | 17 | 0.62963 | 3 | 27 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.259259 | 27 | 2 | 18 | 13.5 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
e3adcb3156f64db461d5da8ab56f594dc55f3387 | 10,169 | py | Python | xbasin/tests/test_remapping.py | BenniSchmiedel/xbasin | 63781db7e61914d998f7f1dfa4d3a7cd179ccc91 | [
"MIT"
] | null | null | null | xbasin/tests/test_remapping.py | BenniSchmiedel/xbasin | 63781db7e61914d998f7f1dfa4d3a7cd179ccc91 | [
"MIT"
] | null | null | null | xbasin/tests/test_remapping.py | BenniSchmiedel/xbasin | 63781db7e61914d998f7f1dfa4d3a7cd179ccc91 | [
"MIT"
] | null | null | null | import xarray as xr
import xgcm
import numpy as np
import warnings
import pytest
from xbasin._remapping import remap_vertical
_error = 1e-10
_metrics = {
("X",): ["e1t", "e1u", "e1v", "e1f"], # X distances
("Y",): ["e2t", "e2u", "e2v", "e2f"], # Y distances
("Z",): ["e3t_0", "e3u_0", "e3v_0", "e3f_0", "e... | 29.054286 | 100 | 0.633199 | 1,670 | 10,169 | 3.466467 | 0.088623 | 0.138193 | 0.030402 | 0.025911 | 0.81724 | 0.789946 | 0.765417 | 0.759026 | 0.727414 | 0.727414 | 0 | 0.031531 | 0.223424 | 10,169 | 349 | 101 | 29.137536 | 0.701532 | 0.012292 | 0 | 0.614286 | 0 | 0.003571 | 0.092177 | 0.028201 | 0 | 0 | 0 | 0 | 0.067857 | 1 | 0.060714 | false | 0.003571 | 0.021429 | 0 | 0.092857 | 0.014286 | 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 |
e3c7a2273db3950f3293ec4e81fa4ec5f39550dd | 124 | py | Python | prototype/back-end/adminapi/admin.py | nWo-deHack/CNAP | f4ece37bdf148627d686cda5134f6a0991ae4cfe | [
"Unlicense"
] | null | null | null | prototype/back-end/adminapi/admin.py | nWo-deHack/CNAP | f4ece37bdf148627d686cda5134f6a0991ae4cfe | [
"Unlicense"
] | null | null | null | prototype/back-end/adminapi/admin.py | nWo-deHack/CNAP | f4ece37bdf148627d686cda5134f6a0991ae4cfe | [
"Unlicense"
] | null | null | null | from django.contrib import admin
# Register your models here.
from adminapi.models import Admin
admin.site.register(Admin) | 20.666667 | 33 | 0.814516 | 18 | 124 | 5.611111 | 0.611111 | 0.217822 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120968 | 124 | 6 | 34 | 20.666667 | 0.926606 | 0.209677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
542a037bf49d401ef744bdde7202d9a50fd044b1 | 101 | py | Python | terrascript/cobbler/__init__.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | terrascript/cobbler/__init__.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | terrascript/cobbler/__init__.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # terrascript/cobbler/__init__.py
import terrascript
class cobbler(terrascript.Provider):
pass
| 14.428571 | 36 | 0.792079 | 11 | 101 | 6.909091 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128713 | 101 | 6 | 37 | 16.833333 | 0.863636 | 0.306931 | 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 |
581089c6cc8651311d9e51c9f3648af48b975b8e | 46 | py | Python | Luna/test/__init__.py | Mikfr83/Luna | b72f381f32d26eee9625f928acb05064aa84f8b5 | [
"MIT"
] | null | null | null | Luna/test/__init__.py | Mikfr83/Luna | b72f381f32d26eee9625f928acb05064aa84f8b5 | [
"MIT"
] | null | null | null | Luna/test/__init__.py | Mikfr83/Luna | b72f381f32d26eee9625f928acb05064aa84f8b5 | [
"MIT"
] | null | null | null | from Luna.test.maya_unit_test import TestCase
| 23 | 45 | 0.869565 | 8 | 46 | 4.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 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 |
58876400a9a65243a188aa407e847165f7e1c859 | 127 | py | Python | electronic_station/acceptable_password_2.py | NigrumAquila/py_checkio | df437c2c3ad325d84714665000e3299a70e91f32 | [
"MIT"
] | null | null | null | electronic_station/acceptable_password_2.py | NigrumAquila/py_checkio | df437c2c3ad325d84714665000e3299a70e91f32 | [
"MIT"
] | null | null | null | electronic_station/acceptable_password_2.py | NigrumAquila/py_checkio | df437c2c3ad325d84714665000e3299a70e91f32 | [
"MIT"
] | null | null | null | def is_acceptable_password(password: str) -> bool:
return len(password)>6 and len([c for c in password if c.isdigit()]) > 0 | 63.5 | 76 | 0.708661 | 22 | 127 | 4 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018692 | 0.15748 | 127 | 2 | 76 | 63.5 | 0.803738 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 1 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
545569ce5a604b99b7c200f05bb0b26bd36f56bd | 123 | py | Python | 0x05-python-exceptions/5-raise_exception.py | oluwaseun-ebenezer/holbertonschool-higher_level_programming | e830f969d3ca71abf0a2f6d4f7c64a82337eccd7 | [
"MIT"
] | null | null | null | 0x05-python-exceptions/5-raise_exception.py | oluwaseun-ebenezer/holbertonschool-higher_level_programming | e830f969d3ca71abf0a2f6d4f7c64a82337eccd7 | [
"MIT"
] | null | null | null | 0x05-python-exceptions/5-raise_exception.py | oluwaseun-ebenezer/holbertonschool-higher_level_programming | e830f969d3ca71abf0a2f6d4f7c64a82337eccd7 | [
"MIT"
] | null | null | null | #!/usr/bin/python3
""" 5. Raise exception """
def raise_exception():
""" raise_exception """
raise TypeError
| 12.3 | 28 | 0.609756 | 13 | 123 | 5.615385 | 0.615385 | 0.575342 | 0.520548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 0.219512 | 123 | 9 | 29 | 13.666667 | 0.739583 | 0.447154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5466b42855a96978250bf3e13ca21891c05cf8a8 | 168 | py | Python | launcher/api/python/status.py | davidvoler/ate_meteor | d7ac20638a30e941e0ca8740499743bc26dd57be | [
"MIT"
] | null | null | null | launcher/api/python/status.py | davidvoler/ate_meteor | d7ac20638a30e941e0ca8740499743bc26dd57be | [
"MIT"
] | 2 | 2015-08-06T14:08:39.000Z | 2015-09-29T09:47:26.000Z | launcher/api/python/status.py | davidvoler/ate_meteor | d7ac20638a30e941e0ca8740499743bc26dd57be | [
"MIT"
] | null | null | null | __author__ = 'davidl'
def set_status(execution_id, process_id, uut, test, verdict):
pass
def set_results(execution_id, process_id, uut, test, results):
pass
| 18.666667 | 62 | 0.732143 | 24 | 168 | 4.708333 | 0.541667 | 0.106195 | 0.318584 | 0.353982 | 0.477876 | 0.477876 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 168 | 8 | 63 | 21 | 0.807143 | 0 | 0 | 0.4 | 0 | 0 | 0.035714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.4 | 0 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
54961d193abf04943dd852615a776760729d2852 | 8,001 | py | Python | foxlink/me_zrl_evolvers.py | lamsoa729/FoXlink | 3c061b02968cdab1def752d5c145a6df4615504b | [
"BSD-3-Clause"
] | null | null | null | foxlink/me_zrl_evolvers.py | lamsoa729/FoXlink | 3c061b02968cdab1def752d5c145a6df4615504b | [
"BSD-3-Clause"
] | null | null | null | foxlink/me_zrl_evolvers.py | lamsoa729/FoXlink | 3c061b02968cdab1def752d5c145a6df4615504b | [
"BSD-3-Clause"
] | 2 | 2019-06-18T16:48:03.000Z | 2019-06-20T23:50:02.000Z | #!/usr/bin/env python
"""@package docstring
File: me_zrl_evolvers.py
Author: Adam Lamson
Email: adam.lamson@colorado.edu
Description:
"""
import numpy as np
# from scipy.integrate import dblquad
from .me_helpers import rod_geom_derivs, convert_sol_to_geom
from .me_zrl_odes import (rod_geom_derivs_zrl, calc_moment_der... | 43.248649 | 90 | 0.663917 | 1,325 | 8,001 | 3.699623 | 0.150189 | 0.022848 | 0.007344 | 0.009792 | 0.819053 | 0.814157 | 0.804162 | 0.781314 | 0.763158 | 0.763158 | 0 | 0.006319 | 0.248344 | 8,001 | 184 | 91 | 43.483696 | 0.80878 | 0.425947 | 0 | 0.632184 | 0 | 0 | 0.076593 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034483 | false | 0 | 0.057471 | 0 | 0.126437 | 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 |
5497991ccc14802c28869353d0c9d5de8729c708 | 42 | py | Python | mainEmberrite/races/__init__.py | evvanErb/Emberrite | 1e65ef69188619684e093f01febc6f92f8b02716 | [
"Apache-2.0"
] | null | null | null | mainEmberrite/races/__init__.py | evvanErb/Emberrite | 1e65ef69188619684e093f01febc6f92f8b02716 | [
"Apache-2.0"
] | null | null | null | mainEmberrite/races/__init__.py | evvanErb/Emberrite | 1e65ef69188619684e093f01febc6f92f8b02716 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
from raceClass import * | 14 | 23 | 0.738095 | 6 | 42 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 42 | 3 | 23 | 14 | 0.837838 | 0.380952 | 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 |
54bf184e2c8ddba2369cdbf545c0b8068989edb2 | 202 | py | Python | skorecard/reporting/__init__.py | satya-pattnaik/skorecard | ba31821799985052ffb498569b41e969034ea28e | [
"MIT"
] | null | null | null | skorecard/reporting/__init__.py | satya-pattnaik/skorecard | ba31821799985052ffb498569b41e969034ea28e | [
"MIT"
] | null | null | null | skorecard/reporting/__init__.py | satya-pattnaik/skorecard | ba31821799985052ffb498569b41e969034ea28e | [
"MIT"
] | null | null | null | """Import required create_report."""
from .report import build_bucket_table, psi, iv
from .plotting import (
plot_bucket_table,
)
__all__ = ["build_bucket_table", "plot_bucket_table", "psi", "iv"]
| 25.25 | 66 | 0.732673 | 27 | 202 | 5 | 0.481481 | 0.325926 | 0.237037 | 0.237037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128713 | 202 | 7 | 67 | 28.857143 | 0.767045 | 0.148515 | 0 | 0 | 0 | 0 | 0.240964 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 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 |
49b3ee72784b1181f13b5b8d9085035b9bea998c | 13,125 | py | Python | tests/components/homekit/test_type_humidifiers.py | andersop91/core | 0e0ef0aa17073609eae7c974cf4c73306b7c414b | [
"Apache-2.0"
] | 22,481 | 2020-03-02T13:09:59.000Z | 2022-03-31T23:34:28.000Z | tests/components/homekit/test_type_humidifiers.py | andersop91/core | 0e0ef0aa17073609eae7c974cf4c73306b7c414b | [
"Apache-2.0"
] | 31,101 | 2020-03-02T13:00:16.000Z | 2022-03-31T23:57:36.000Z | tests/components/homekit/test_type_humidifiers.py | andersop91/core | 0e0ef0aa17073609eae7c974cf4c73306b7c414b | [
"Apache-2.0"
] | 11,411 | 2020-03-02T14:19:20.000Z | 2022-03-31T22:46:07.000Z | """Test different accessory types: HumidifierDehumidifier."""
from pyhap.const import (
CATEGORY_HUMIDIFIER,
HAP_REPR_AID,
HAP_REPR_CHARS,
HAP_REPR_IID,
HAP_REPR_VALUE,
)
from homeassistant.components.homekit.const import (
ATTR_VALUE,
CONF_LINKED_HUMIDITY_SENSOR,
PROP_MAX_VALUE,
PR... | 30.523256 | 88 | 0.682971 | 1,645 | 13,125 | 5.073556 | 0.077204 | 0.060388 | 0.080997 | 0.063743 | 0.834771 | 0.794393 | 0.781572 | 0.761443 | 0.742272 | 0.725377 | 0 | 0.014814 | 0.233676 | 13,125 | 429 | 89 | 30.594406 | 0.814973 | 0.009448 | 0 | 0.601156 | 0 | 0 | 0.043235 | 0.02433 | 0 | 0 | 0 | 0 | 0.219653 | 1 | 0 | false | 0 | 0.020231 | 0 | 0.020231 | 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 |
b71b85145e4f95521f3be31f1ed3f39ab0c160a7 | 982 | py | Python | lambda-sns-notify/data.py | aws-samples/rekognition-crowded-demo | f33cd6453f4d367e7669326da99e8aa4c8890d1d | [
"Apache-2.0"
] | 5 | 2020-07-01T02:23:01.000Z | 2020-08-16T20:38:28.000Z | lambda-sns-notify/data.py | aws-samples/rekognition-crowded-demo | f33cd6453f4d367e7669326da99e8aa4c8890d1d | [
"Apache-2.0"
] | null | null | null | lambda-sns-notify/data.py | aws-samples/rekognition-crowded-demo | f33cd6453f4d367e7669326da99e8aa4c8890d1d | [
"Apache-2.0"
] | 2 | 2020-06-29T18:52:08.000Z | 2021-03-27T00:25:42.000Z | message = {'Records': [{'messageId': 'a7d764c8-0c85-4175-abe1-3bb2e95cc1da', 'receiptHandle': 'AQEBrrfcxbhCLX1aTC9hKVpXMJIjg+YOBM8SKWZe6B+qWI9ycNzffVrP2zSasx0axTc0AfpgCbf3Zmcr3pihgPSDOl/He50aMjPjuYZd/Ciy1KN3br8PHz3ahi1ZxPGdz8QdJP5sZlO2CAZxDeI6AEluXz91S5BzOSDZOPtubvvsHdjWOwJt5f9Bgb55sgmjVjsC2H84ka8iIhRiVmBunQq5iZPRGdeeS... | 982 | 982 | 0.824847 | 67 | 982 | 12.089552 | 0.895522 | 0.014815 | 0.017284 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148109 | 0.03055 | 982 | 1 | 982 | 982 | 0.702731 | 0 | 0 | 0 | 0 | 1 | 0.876907 | 0.66531 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3fa1172da0a0d1e69abb3000e6a0998505e5be11 | 10,442 | py | Python | heat/core/relational.py | shssf/heat | 9db0a936c92491fa5aa862f558cb385c9916216b | [
"MIT"
] | 105 | 2018-05-18T11:34:03.000Z | 2022-03-29T06:37:23.000Z | heat/core/relational.py | shssf/heat | 9db0a936c92491fa5aa862f558cb385c9916216b | [
"MIT"
] | 909 | 2018-05-18T07:50:26.000Z | 2022-03-31T20:16:30.000Z | heat/core/relational.py | shssf/heat | 9db0a936c92491fa5aa862f558cb385c9916216b | [
"MIT"
] | 28 | 2018-05-24T14:39:18.000Z | 2022-03-31T19:18:47.000Z | """
Functions for relational oprations, i.e. equal/no equal...
"""
from __future__ import annotations
import torch
from typing import Union
from .communication import MPI
from .dndarray import DNDarray
from . import _operations
from . import dndarray
from . import types
__all__ = [
"eq",
"equal",
"ge",
... | 29.497175 | 189 | 0.592703 | 1,401 | 10,442 | 4.282655 | 0.087794 | 0.007 | 0.042 | 0.049 | 0.807 | 0.791 | 0.784333 | 0.774333 | 0.771667 | 0.771667 | 0 | 0.015236 | 0.264604 | 10,442 | 353 | 190 | 29.580737 | 0.766115 | 0.552768 | 0 | 0.465116 | 0 | 0 | 0.014907 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054264 | false | 0 | 0.062016 | 0 | 0.170543 | 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 |
3fa82d5e41296f7549d42ad22cc3d7eb72613c7d | 72,747 | py | Python | tests/dbusmock_templates/bluez_scan.py | garretthagen21/bluepi | 042b77ee383c65b185c6a52afd32b0336aa887dd | [
"MIT"
] | 296 | 2016-01-07T22:45:13.000Z | 2022-03-30T13:28:08.000Z | tests/dbusmock_templates/bluez_scan.py | garretthagen21/bluepi | 042b77ee383c65b185c6a52afd32b0336aa887dd | [
"MIT"
] | 267 | 2016-01-10T21:41:59.000Z | 2022-03-21T17:19:12.000Z | tests/dbusmock_templates/bluez_scan.py | garretthagen21/bluepi | 042b77ee383c65b185c6a52afd32b0336aa887dd | [
"MIT"
] | 120 | 2016-01-22T09:47:49.000Z | 2022-02-22T01:23:38.000Z | # -*- coding: utf-8 -*-
'''bluetoothd mock template
This creates the expected methods and properties of the object manager
org.bluez object (/), the manager object (/org/bluez), but no adapters or
devices.
This supports BlueZ 5 only.
'''
# This program is free software; you can redistribute it and/or modify it unde... | 64.779163 | 159 | 0.475566 | 6,465 | 72,747 | 5.118175 | 0.092498 | 0.047387 | 0.053311 | 0.047387 | 0.817371 | 0.797667 | 0.780018 | 0.765874 | 0.728127 | 0.715767 | 0 | 0.138092 | 0.40403 | 72,747 | 1,122 | 160 | 64.836898 | 0.625118 | 0.055947 | 0 | 0.481808 | 0 | 0 | 0.36002 | 0.278645 | 0 | 0 | 0.000118 | 0 | 0 | 1 | 0.015436 | false | 0 | 0.003308 | 0 | 0.024256 | 0.00441 | 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 |
3fc5436df505057ccf615b687f2af0bfb9782961 | 288 | py | Python | chariot/transformer/__init__.py | Y-Kuro-u/chariot | 032f3eecdd55b30c65351e1e636c939c4b20919e | [
"Apache-2.0"
] | 134 | 2018-06-11T01:40:14.000Z | 2021-11-15T12:34:38.000Z | chariot/transformer/__init__.py | Y-Kuro-u/chariot | 032f3eecdd55b30c65351e1e636c939c4b20919e | [
"Apache-2.0"
] | 10 | 2018-06-17T10:45:50.000Z | 2021-04-05T05:51:11.000Z | chariot/transformer/__init__.py | Y-Kuro-u/chariot | 032f3eecdd55b30c65351e1e636c939c4b20919e | [
"Apache-2.0"
] | 8 | 2019-02-23T06:43:21.000Z | 2021-02-18T06:05:11.000Z | from .tokenizer import Tokenizer
from .vocabulary import Vocabulary
# dummy import to call from chariot.transformer module
from .formatter.base import BaseFormatter
from .text.base import BasePreprocessor
from .token.base import BasePreprocessor
from .generator.base import BaseGenerator
| 36 | 54 | 0.847222 | 36 | 288 | 6.777778 | 0.5 | 0.163934 | 0.213115 | 0.245902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 288 | 7 | 55 | 41.142857 | 0.953125 | 0.180556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3fd7b49eb5b968aba7ba8ea3f992e1b7b7f87380 | 48 | py | Python | cupy_alias/linalg/decomposition.py | fixstars/clpy | 693485f85397cc110fa45803c36c30c24c297df0 | [
"BSD-3-Clause"
] | 142 | 2018-06-07T07:43:10.000Z | 2021-10-30T21:06:32.000Z | cupy_alias/linalg/decomposition.py | fixstars/clpy | 693485f85397cc110fa45803c36c30c24c297df0 | [
"BSD-3-Clause"
] | 282 | 2018-06-07T08:35:03.000Z | 2021-03-31T03:14:32.000Z | cupy_alias/linalg/decomposition.py | fixstars/clpy | 693485f85397cc110fa45803c36c30c24c297df0 | [
"BSD-3-Clause"
] | 19 | 2018-06-19T11:07:53.000Z | 2021-05-13T20:57:04.000Z | from clpy.linalg.decomposition import * # NOQA
| 24 | 47 | 0.770833 | 6 | 48 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 48 | 1 | 48 | 48 | 0.902439 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3fdfdca518555f7c381ddf9305c53b666f01ca35 | 6,801 | py | Python | controller/prometheus/PerformanceDataPicker.py | baiyanquan/k8sTools | 882a30f2a19dffb0900efd5be61826400080a6ef | [
"Apache-2.0"
] | null | null | null | controller/prometheus/PerformanceDataPicker.py | baiyanquan/k8sTools | 882a30f2a19dffb0900efd5be61826400080a6ef | [
"Apache-2.0"
] | 1 | 2019-12-18T12:23:34.000Z | 2019-12-18T12:23:34.000Z | controller/prometheus/PerformanceDataPicker.py | baiyanquan/k8sTools | 882a30f2a19dffb0900efd5be61826400080a6ef | [
"Apache-2.0"
] | 3 | 2019-10-09T06:23:39.000Z | 2019-10-20T02:39:14.000Z | # -*- coding: utf-8 -*
import requests
import logging
import datetime
from utils.SockConfig import SockConfig
class PerformanceDataPicker(object):
def __init__(self):
pass
@staticmethod
def build_entity_metrics(query_config):
entity_metrics = []
# conbine entityNames and entityM... | 45.34 | 127 | 0.489193 | 576 | 6,801 | 5.567708 | 0.142361 | 0.06517 | 0.037418 | 0.033676 | 0.843467 | 0.822887 | 0.806673 | 0.768631 | 0.717805 | 0.717805 | 0 | 0.005838 | 0.420673 | 6,801 | 149 | 128 | 45.644295 | 0.808122 | 0.076312 | 0 | 0.697479 | 0 | 0 | 0.045962 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05042 | false | 0.02521 | 0.033613 | 0 | 0.134454 | 0.042017 | 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 |
3ff2fd0bb8c886e20a9c79a3ad91c263b53903f4 | 1,334 | py | Python | parseXml.py | xmh645214784/SceneDatabase | eabc00b1564c2c81bb7e3bd3882f12abaa8a3dd5 | [
"MIT"
] | null | null | null | parseXml.py | xmh645214784/SceneDatabase | eabc00b1564c2c81bb7e3bd3882f12abaa8a3dd5 | [
"MIT"
] | null | null | null | parseXml.py | xmh645214784/SceneDatabase | eabc00b1564c2c81bb7e3bd3882f12abaa8a3dd5 | [
"MIT"
] | null | null | null | import xml.dom.minidom
import numpy as np
def parseXml_RetPathAndMatrixPair(xmlPath):
domtree=xml.dom.minidom.parse(xmlPath)
collection=domtree.documentElement
shapes = collection.getElementsByTagName("shape")
result=[]
for each in shapes:
if each.hasAttribute("type") and each.getAttribute("... | 47.642857 | 117 | 0.682909 | 140 | 1,334 | 6.485714 | 0.314286 | 0.105727 | 0.079295 | 0.105727 | 0.830396 | 0.830396 | 0.830396 | 0.830396 | 0.830396 | 0.830396 | 0 | 0.009091 | 0.175412 | 1,334 | 28 | 118 | 47.642857 | 0.816364 | 0.071214 | 0 | 0.64 | 0 | 0 | 0.072006 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08 | false | 0 | 0.08 | 0 | 0.24 | 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 |
3ffef4bb618acda8920bc2fea422cd1736ec9be3 | 17,648 | py | Python | skbot/ignition/sdformat/bindings/v16/state.py | FirefoxMetzger/ropy | c1bcebda223f3af0b6d35e3f4c26d8fd9d26577a | [
"Apache-2.0"
] | 6 | 2021-03-24T05:54:45.000Z | 2021-07-20T21:03:21.000Z | skbot/ignition/sdformat/bindings/v16/state.py | FirefoxMetzger/scikit-bot | ee6f1d3451a3c61a6fa122cc42efc4dd67afc9c9 | [
"Apache-2.0"
] | 31 | 2021-08-12T08:12:58.000Z | 2022-03-21T23:16:36.000Z | skbot/ignition/sdformat/bindings/v16/state.py | FirefoxMetzger/scikit-bot | ee6f1d3451a3c61a6fa122cc42efc4dd67afc9c9 | [
"Apache-2.0"
] | 1 | 2021-07-20T20:13:49.000Z | 2021-07-20T20:13:49.000Z | from dataclasses import dataclass, field
from typing import List, Optional
from .light import Light
from .model import Model as ModelModel
__NAMESPACE__ = "sdformat/v1.6/state.xsd"
@dataclass
class Model:
"""
Model state.
Parameters
----------
joint: Joint angle
model: A nested model state e... | 28.464516 | 157 | 0.398289 | 1,548 | 17,648 | 4.521318 | 0.087855 | 0.023718 | 0.025718 | 0.02286 | 0.8034 | 0.798114 | 0.798114 | 0.767824 | 0.746392 | 0.73039 | 0 | 0.01213 | 0.44413 | 17,648 | 619 | 158 | 28.510501 | 0.701325 | 0.218098 | 0 | 0.637232 | 0 | 0.023866 | 0.221589 | 0.100072 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.009547 | 0 | 0.093079 | 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 |
b756323a1971a5f4731157fb9fc2ba6ea804c63b | 1,193 | py | Python | summer2020py/__init__.py | dllahr/summer2020 | 4c8204f72ecdd8c44d2abb1e3e2669d1e6a478e8 | [
"MIT"
] | null | null | null | summer2020py/__init__.py | dllahr/summer2020 | 4c8204f72ecdd8c44d2abb1e3e2669d1e6a478e8 | [
"MIT"
] | null | null | null | summer2020py/__init__.py | dllahr/summer2020 | 4c8204f72ecdd8c44d2abb1e3e2669d1e6a478e8 | [
"MIT"
] | null | null | null | import os.path
default_config_filepath = os.path.expanduser("~/.summer2020py.cfg")
default_config_section = "test"
morpheus_heatmap_template = '{"colorScheme":{"valueToColorScheme":{"null":{"fractions":[0,0.5,1],"colors":["#0000ff","#ffffff","#ff0000"],"min":0.6487475633621216,"max":1,"missingColor":"#c0c0c0","scaling... | 198.833333 | 1,076 | 0.710813 | 108 | 1,193 | 7.768519 | 0.768519 | 0.014303 | 0.038141 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078747 | 0.010059 | 1,193 | 5 | 1,077 | 238.6 | 0.631668 | 0 | 0 | 0 | 0 | 0.25 | 0.89606 | 0.876781 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b76b4651479427e7fc836073b6b54b4591a2064d | 8,000 | py | Python | rlkit/examples/dqn_and_double_dqn.py | jesbu1/rlkit | a651a8dacee3d2b79b29974092af14f4a314ec25 | [
"MIT"
] | null | null | null | rlkit/examples/dqn_and_double_dqn.py | jesbu1/rlkit | a651a8dacee3d2b79b29974092af14f4a314ec25 | [
"MIT"
] | null | null | null | rlkit/examples/dqn_and_double_dqn.py | jesbu1/rlkit | a651a8dacee3d2b79b29974092af14f4a314ec25 | [
"MIT"
] | null | null | null | """
Run DQN on CartPole-v0.
"""
import gym
import gym_minigrid
import sys
import random
from torch import nn as nn
from rlkit.exploration_strategies.base import \
PolicyWrappedWithExplorationStrategy
from rlkit.exploration_strategies.epsilon_greedy import EpsilonGreedy
from rlkit.policies.argmax import ArgmaxDisc... | 69.565217 | 4,308 | 0.474 | 1,756 | 8,000 | 2.088838 | 0.076879 | 0.3506 | 0.331243 | 0.273719 | 0.44602 | 0.445202 | 0.427481 | 0.426118 | 0.417666 | 0.404308 | 0 | 0.236977 | 0.26575 | 8,000 | 114 | 4,309 | 70.175439 | 0.38747 | 0.039375 | 0 | 0.12 | 0 | 0 | 0.027372 | 0.011992 | 0 | 0 | 0 | 0 | 0 | 1 | 0.01 | false | 0 | 0.16 | 0 | 0.17 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b7caae044fbf3d158090a0108aafd7da09f78081 | 64 | py | Python | pywolf/views/pywolf/entry/__init__.py | tevawolf/pywolf | 94e3c26d8c3b279990624f23658e22ab00eead46 | [
"BSD-3-Clause"
] | null | null | null | pywolf/views/pywolf/entry/__init__.py | tevawolf/pywolf | 94e3c26d8c3b279990624f23658e22ab00eead46 | [
"BSD-3-Clause"
] | null | null | null | pywolf/views/pywolf/entry/__init__.py | tevawolf/pywolf | 94e3c26d8c3b279990624f23658e22ab00eead46 | [
"BSD-3-Clause"
] | null | null | null | from .entry import entry
from .entry_cancel import entry_cancel
| 21.333333 | 38 | 0.84375 | 10 | 64 | 5.2 | 0.4 | 0.346154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 64 | 2 | 39 | 32 | 0.928571 | 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 |
4d1e52d67176af840316529db9bcc75976c8d6e4 | 9,281 | py | Python | noscrypto/tests/tests.py | morsisko/NosCrypto | 9f22c8b9f4c89f21f85710b0a3dfaf7130ae2922 | [
"MIT"
] | 11 | 2020-09-12T09:07:29.000Z | 2021-08-30T18:10:21.000Z | noscrypto/tests/tests.py | morsisko/NosCrypto | 9f22c8b9f4c89f21f85710b0a3dfaf7130ae2922 | [
"MIT"
] | 4 | 2020-09-22T23:49:08.000Z | 2022-01-25T17:30:55.000Z | noscrypto/tests/tests.py | morsisko/NosCrypto | 9f22c8b9f4c89f21f85710b0a3dfaf7130ae2922 | [
"MIT"
] | 1 | 2020-10-22T13:08:19.000Z | 2020-10-22T13:08:19.000Z | import unittest
import string
import random
from noscrypto import Client, Server, Utils
def getPseudoRandomString(length=20):
return "".join([random.choice(string.printable) for i in range(length)])
class TestClientLogin(unittest.TestCase):
def test_auto_endline(self):
self.assertEqual(Cli... | 84.372727 | 1,027 | 0.716625 | 1,577 | 9,281 | 4.153456 | 0.173748 | 0.022443 | 0.008244 | 0.00916 | 0.782595 | 0.71145 | 0.652824 | 0.58626 | 0.538931 | 0.499389 | 0 | 0.270889 | 0.120569 | 9,281 | 110 | 1,028 | 84.372727 | 0.53161 | 0 | 0 | 0.210526 | 0 | 0.236842 | 0.580835 | 0.494604 | 0 | 0 | 0 | 0 | 0.276316 | 1 | 0.289474 | false | 0 | 0.052632 | 0.013158 | 0.434211 | 0.013158 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4d4c9936e22bd173ce2a2b15d8f5c38a840f9fb5 | 313 | py | Python | src/exceptions.py | headout/dagen-airflow | e4c2745180b9f71d1b67420df4a06a452854667c | [
"MIT"
] | 2 | 2021-05-31T05:47:53.000Z | 2021-07-04T10:04:24.000Z | src/exceptions.py | headout/dagen-airflow | e4c2745180b9f71d1b67420df4a06a452854667c | [
"MIT"
] | null | null | null | src/exceptions.py | headout/dagen-airflow | e4c2745180b9f71d1b67420df4a06a452854667c | [
"MIT"
] | 2 | 2020-09-26T20:26:12.000Z | 2021-07-17T15:02:46.000Z | class TemplateNotFoundError(FileNotFoundError):
def __init__(self, template_id, *args, **kwargs):
super().__init__(*args, **kwargs)
self.template_id = template_id
self.detail = f'Template not found with Template ID - "{template_id}"'
def __str__(self):
return self.detail
| 34.777778 | 78 | 0.670927 | 36 | 313 | 5.388889 | 0.5 | 0.257732 | 0.14433 | 0.206186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214058 | 313 | 8 | 79 | 39.125 | 0.788618 | 0 | 0 | 0 | 0 | 0 | 0.169329 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
4df682572cdb6c53daebc7ae74c7e1e968876c1c | 86 | py | Python | tensorbreeze/image_encoder/__init__.py | mingruimingrui/TensorBreeze | 5373ab1d10f276b1e9c08c75af471ff74da635fe | [
"MIT"
] | null | null | null | tensorbreeze/image_encoder/__init__.py | mingruimingrui/TensorBreeze | 5373ab1d10f276b1e9c08c75af471ff74da635fe | [
"MIT"
] | null | null | null | tensorbreeze/image_encoder/__init__.py | mingruimingrui/TensorBreeze | 5373ab1d10f276b1e9c08c75af471ff74da635fe | [
"MIT"
] | null | null | null | from .image_encoder import add_image_encoder_ops
__all__ = ['add_image_encoder_ops']
| 21.5 | 48 | 0.837209 | 13 | 86 | 4.692308 | 0.538462 | 0.590164 | 0.491803 | 0.590164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 86 | 3 | 49 | 28.666667 | 0.782051 | 0 | 0 | 0 | 0 | 0 | 0.244186 | 0.244186 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
421b034d43218dd7e00cb01e16bbdf3a08ff16f8 | 89 | py | Python | POO1 - Encapsulamento e publico_privado/teste.py | PedroHAlvesS/Exercicios-Python-Curso-em-video | 7ab187d65ddada252450b048608dc4898e5c67c8 | [
"MIT"
] | null | null | null | POO1 - Encapsulamento e publico_privado/teste.py | PedroHAlvesS/Exercicios-Python-Curso-em-video | 7ab187d65ddada252450b048608dc4898e5c67c8 | [
"MIT"
] | null | null | null | POO1 - Encapsulamento e publico_privado/teste.py | PedroHAlvesS/Exercicios-Python-Curso-em-video | 7ab187d65ddada252450b048608dc4898e5c67c8 | [
"MIT"
] | null | null | null |
from Conta import Conta
print(Conta.codigo_banco())
print(Conta.codigos_bancos()["BB"]) | 17.8 | 35 | 0.764045 | 13 | 89 | 5.076923 | 0.692308 | 0.30303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 89 | 5 | 35 | 17.8 | 0.804878 | 0 | 0 | 0 | 0 | 0 | 0.022472 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
421bf4cb0efa9e0cefd382aab4ca723c1f24d2f3 | 5,633 | py | Python | tests/test_registrar_name/test_create_record_delete_record.py | plato79/UnofficialDDNSnix | 4a2a67cc06a6346f90726c33ee388374b7922f2e | [
"MIT"
] | 3 | 2015-10-18T09:14:59.000Z | 2018-02-25T09:41:58.000Z | tests/test_registrar_name/test_create_record_delete_record.py | plato79/UnofficialDDNSnix | 4a2a67cc06a6346f90726c33ee388374b7922f2e | [
"MIT"
] | 3 | 2015-02-05T00:52:30.000Z | 2020-04-17T06:21:00.000Z | tests/test_registrar_name/test_create_record_delete_record.py | plato79/UnofficialDDNSnix | 4a2a67cc06a6346f90726c33ee388374b7922f2e | [
"MIT"
] | 3 | 2016-01-09T04:36:10.000Z | 2020-04-17T06:57:47.000Z | #!/usr/bin/env python2.6
import textwrap
import time
from tests.test_registrar_name.test_request_json import initialize_simulation
def _heavy_lifting(response, log_file, session, capsys, stdout_expected, stderr_expected, log_expected, delete):
initialize_simulation(response)
with open(log_file.name, 'r') as f... | 54.68932 | 240 | 0.660927 | 761 | 5,633 | 4.725361 | 0.140604 | 0.070078 | 0.080089 | 0.100111 | 0.861235 | 0.854561 | 0.842603 | 0.797831 | 0.797831 | 0.78059 | 0 | 0.04789 | 0.188177 | 5,633 | 103 | 241 | 54.68932 | 0.738465 | 0.004083 | 0 | 0.576087 | 0 | 0.076087 | 0.596435 | 0.164706 | 0 | 0 | 0 | 0 | 0.032609 | 1 | 0.043478 | false | 0 | 0.032609 | 0 | 0.076087 | 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 |
421ee5c72aab346eda94c460623084ecf4ee9c02 | 77 | py | Python | 1. Dive into Python/1.3. Division.py | ahmetutkuozkan/my_ceng240_exercises_solutions | 167bb9938515870ec1f01853933edc3b55937bff | [
"MIT"
] | null | null | null | 1. Dive into Python/1.3. Division.py | ahmetutkuozkan/my_ceng240_exercises_solutions | 167bb9938515870ec1f01853933edc3b55937bff | [
"MIT"
] | null | null | null | 1. Dive into Python/1.3. Division.py | ahmetutkuozkan/my_ceng240_exercises_solutions | 167bb9938515870ec1f01853933edc3b55937bff | [
"MIT"
] | null | null | null | x=int(input()); y=int(input()); print(str(int(x/y)) + "\n" + str(int(x%y)))
| 38.5 | 76 | 0.519481 | 16 | 77 | 2.5 | 0.4375 | 0.4 | 0.35 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103896 | 77 | 1 | 77 | 77 | 0.57971 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
423caa6f7c5688bba91a0b16fcff0a7034fcf6f7 | 62 | py | Python | integration_tests/test-packages/python/testpkgdos/testpkgdos/__init__.py | franklinen/doppel-cli | 959041ceec578b63fa507b0d71e2ce9e752fb5b7 | [
"BSD-3-Clause"
] | 5 | 2019-03-11T12:44:59.000Z | 2021-02-01T08:10:41.000Z | integration_tests/test-packages/python/testpkgdos/testpkgdos/__init__.py | franklinen/doppel-cli | 959041ceec578b63fa507b0d71e2ce9e752fb5b7 | [
"BSD-3-Clause"
] | 174 | 2019-01-20T03:08:44.000Z | 2021-11-03T04:25:56.000Z | integration_tests/test-packages/python/testpkgdos/testpkgdos/__init__.py | franklinen/doppel-cli | 959041ceec578b63fa507b0d71e2ce9e752fb5b7 | [
"BSD-3-Clause"
] | 17 | 2019-04-16T18:23:53.000Z | 2021-10-01T15:01:40.000Z | # flake8: noqa
from testpkgdos.add_numbers import add_numbers
| 20.666667 | 46 | 0.83871 | 9 | 62 | 5.555556 | 0.777778 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018182 | 0.112903 | 62 | 2 | 47 | 31 | 0.890909 | 0.193548 | 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 |
4251399f559f14d774ca9a605b3315f85df0a48b | 316 | py | Python | budgethelper/models/source.py | Preocts/budgethelper | 160fc575e969a3cd009874bf295c50421cdcd999 | [
"MIT"
] | null | null | null | budgethelper/models/source.py | Preocts/budgethelper | 160fc575e969a3cd009874bf295c50421cdcd999 | [
"MIT"
] | null | null | null | budgethelper/models/source.py | Preocts/budgethelper | 160fc575e969a3cd009874bf295c50421cdcd999 | [
"MIT"
] | null | null | null | import dataclasses
import datetime
from typing import Optional
@dataclasses.dataclass(frozen=True)
class Source:
"""Model of Source Table row"""
name: str
created_on: datetime.datetime = datetime.datetime.now()
updated_on: datetime.datetime = datetime.datetime.now()
uid: Optional[int] = None
| 22.571429 | 59 | 0.734177 | 39 | 316 | 5.897436 | 0.615385 | 0.417391 | 0.417391 | 0.226087 | 0.321739 | 0.321739 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167722 | 316 | 13 | 60 | 24.307692 | 0.874525 | 0.079114 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.888889 | 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 |
4278c449382f6c797cc95c897df2633a8ccc679e | 113 | py | Python | pipy/pipeline/__init__.py | rhsmits91/pipy | b38100203711fad715078a00c6074ea63af06893 | [
"MIT"
] | null | null | null | pipy/pipeline/__init__.py | rhsmits91/pipy | b38100203711fad715078a00c6074ea63af06893 | [
"MIT"
] | null | null | null | pipy/pipeline/__init__.py | rhsmits91/pipy | b38100203711fad715078a00c6074ea63af06893 | [
"MIT"
] | null | null | null | from pipy.pipeline._base import Pipeline, Skippy, Step
from pipy.pipeline import extract, load, model, transform
| 37.666667 | 57 | 0.814159 | 16 | 113 | 5.6875 | 0.6875 | 0.175824 | 0.351648 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115044 | 113 | 2 | 58 | 56.5 | 0.91 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
42a75320961c345cea2b0d8f7335c9139b1b0f60 | 119 | py | Python | src/postprocess/__init__.py | jwpttcg66/ExcelToTransfer | 3afc0cf088f4c991bbf4dc2d6d1f395a71cbc3c7 | [
"Apache-2.0"
] | 47 | 2017-06-23T07:47:50.000Z | 2022-03-07T22:36:19.000Z | xl2code/postprocess/__init__.py | twjitm/ExcelToCode | d160c75b9b7a305f4b3367d85ee0550572869d3e | [
"MIT"
] | 1 | 2019-03-12T06:12:50.000Z | 2019-04-03T00:50:01.000Z | xl2code/postprocess/__init__.py | twjitm/ExcelToCode | d160c75b9b7a305f4b3367d85ee0550572869d3e | [
"MIT"
] | 23 | 2017-05-12T07:46:07.000Z | 2022-01-22T03:19:50.000Z |
from java_file_enum_processor import JavaFileEnumProcessor
from java_file_list_processor import JavaFileListProcessor
| 29.75 | 58 | 0.92437 | 14 | 119 | 7.428571 | 0.642857 | 0.153846 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07563 | 119 | 3 | 59 | 39.666667 | 0.945455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c4406df242575a500f382b83626997be9e4a727f | 191 | py | Python | src/unit/au.py | mountain/planetarium | 14c5a75f9ac0be36f28d059c7bf7a77635d617da | [
"MIT"
] | 1 | 2018-03-03T18:58:01.000Z | 2018-03-03T18:58:01.000Z | src/unit/au.py | mountain/planetarium | 14c5a75f9ac0be36f28d059c7bf7a77635d617da | [
"MIT"
] | null | null | null | src/unit/au.py | mountain/planetarium | 14c5a75f9ac0be36f28d059c7bf7a77635d617da | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
G = 0.01720209895 * 0.01720209895
def fromSI_L(l):
return l / 149597870700
def fromSI_T(t):
return t / 86400
def fromSI_M(m):
return m / 1.98892e30 | 11.9375 | 33 | 0.617801 | 30 | 191 | 3.833333 | 0.533333 | 0.234783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.347222 | 0.246073 | 191 | 16 | 34 | 11.9375 | 0.451389 | 0.109948 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0.428571 | 0.857143 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
c475067d3f2c0226ae6986ad24bed5cbfc5ae5e7 | 85 | py | Python | machida/lib/wallaroo/experimental/base_meta3.py | pvmsikrsna/wallaroo | a08ef579ec809e5bf4ffe10937b2be20059a0530 | [
"Apache-2.0"
] | 1,459 | 2017-09-16T13:13:15.000Z | 2020-10-05T06:19:50.000Z | machida/lib/wallaroo/experimental/base_meta3.py | pvmsikrsna/wallaroo | a08ef579ec809e5bf4ffe10937b2be20059a0530 | [
"Apache-2.0"
] | 1,413 | 2017-09-14T18:18:14.000Z | 2020-09-28T08:10:30.000Z | machida/lib/wallaroo/experimental/base_meta3.py | pvmsikrsna/wallaroo | a08ef579ec809e5bf4ffe10937b2be20059a0530 | [
"Apache-2.0"
] | 80 | 2017-09-27T23:16:23.000Z | 2020-06-02T09:18:53.000Z | from abc import ABCMeta, abstractmethod
class BaseMeta(metaclass=ABCMeta):
pass
| 17 | 39 | 0.788235 | 10 | 85 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152941 | 85 | 4 | 40 | 21.25 | 0.930556 | 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 |
c48024e940d0b65d4a24846e74f7d97b3f1fcade | 181 | py | Python | nbdev/core.py | foca13/nbdev | 76352fb5452aad8e2dae0a0a87ccdf85c80dc79d | [
"Apache-2.0"
] | null | null | null | nbdev/core.py | foca13/nbdev | 76352fb5452aad8e2dae0a0a87ccdf85c80dc79d | [
"Apache-2.0"
] | 1 | 2022-02-26T06:50:16.000Z | 2022-02-26T06:50:16.000Z | nbdev/core.py | foca13/nbdev | 76352fb5452aad8e2dae0a0a87ccdf85c80dc79d | [
"Apache-2.0"
] | null | null | null | # AUTOGENERATED! DO NOT EDIT! File to edit: 00_core.ipynb (unless otherwise specified).
__all__ = ['first_function']
# Cell
def first_function(nom):
return(f'{nom} ets burro') | 25.857143 | 87 | 0.723757 | 26 | 181 | 4.769231 | 0.846154 | 0.209677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012987 | 0.149171 | 181 | 7 | 88 | 25.857143 | 0.792208 | 0.497238 | 0 | 0 | 1 | 0 | 0.325843 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.