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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e3c8c4ab21bfc32860481768ba00b47689728664 | 1,029 | py | Python | tests/fixtures/responses.py | myslak71/dmt | fcf892391656c02118733db6680d9e4e33b59495 | [
"MIT"
] | 1 | 2019-01-30T14:05:25.000Z | 2019-01-30T14:05:25.000Z | tests/fixtures/responses.py | myslak71/dmt | fcf892391656c02118733db6680d9e4e33b59495 | [
"MIT"
] | null | null | null | tests/fixtures/responses.py | myslak71/dmt | fcf892391656c02118733db6680d9e4e33b59495 | [
"MIT"
] | null | null | null | fixed_time_entries = [{'stop': '2018-03-05T18:08:21+00:00', 'at': '2018-03-05T18:08:21+00:00', 'duration': 70,
'guid': '68c5136314e9680a54d0a28508139836', 'start': '2018-03-05T18:08:15+00:00', 'id': 1,
'description': 'task-1', 'duronly': False, 'uid': 2488778, 'billable': F... | 102.9 | 117 | 0.536443 | 126 | 1,029 | 4.365079 | 0.253968 | 0.098182 | 0.18 | 0.212727 | 0.867273 | 0.867273 | 0.867273 | 0.867273 | 0.785455 | 0.785455 | 0 | 0.381258 | 0.242954 | 1,029 | 9 | 118 | 114.333333 | 0.324775 | 0 | 0 | 0 | 0 | 0 | 0.495627 | 0.311953 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
e3e39704e6e4d3c55660e7f0481b47f4fb734d77 | 11,728 | py | Python | tests/test_elastic.py | tfcollins/test-results-manager | 38c9a9c28afaea67b6d73d4eb567a460dcfd276a | [
"BSD-3-Clause"
] | null | null | null | tests/test_elastic.py | tfcollins/test-results-manager | 38c9a9c28afaea67b6d73d4eb567a460dcfd276a | [
"BSD-3-Clause"
] | 5 | 2022-01-26T13:28:03.000Z | 2022-03-02T19:08:23.000Z | tests/test_elastic.py | sdgtt/telemetry | 38c9a9c28afaea67b6d73d4eb567a460dcfd276a | [
"BSD-3-Clause"
] | null | null | null | import pytest
import os
import telemetry
import time
import datetime
server = os.environ.get("SERVER") if "SERVER" in os.environ else "alpine"
@pytest.fixture(autouse=True)
def run_around_tests():
# Before test
res = telemetry.elastic(server=server)
res.index_name = "dummy"
res.delete_index()
yie... | 31.442359 | 127 | 0.639836 | 1,534 | 11,728 | 4.638201 | 0.147327 | 0.043851 | 0.044273 | 0.053127 | 0.845257 | 0.833591 | 0.830358 | 0.811103 | 0.796627 | 0.790864 | 0 | 0.063222 | 0.217769 | 11,728 | 372 | 128 | 31.526882 | 0.712339 | 0.010573 | 0 | 0.714286 | 0 | 0.012422 | 0.300078 | 0.07088 | 0 | 0 | 0 | 0 | 0.102484 | 1 | 0.055901 | false | 0 | 0.024845 | 0 | 0.080745 | 0.003106 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5819067099605c281f435a3dad4f6c284961eb24 | 3,694 | py | Python | tests/llvm/static/test.py | ganeshutah/FPChecker | 53a471429762ace13f69733cb2f8b7227fc15b9f | [
"Apache-2.0"
] | 19 | 2019-09-28T16:15:45.000Z | 2022-02-15T15:11:28.000Z | tests/llvm/static/test.py | tanmaytirpankar/FPChecker | d3fe4bd9489c5705df58a67dbbc388ac1ebf56bf | [
"Apache-2.0"
] | 16 | 2020-02-01T18:43:00.000Z | 2021-12-22T14:47:39.000Z | tests/llvm/static/test.py | tanmaytirpankar/FPChecker | d3fe4bd9489c5705df58a67dbbc388ac1ebf56bf | [
"Apache-2.0"
] | 5 | 2020-07-27T18:15:36.000Z | 2021-11-01T18:43:34.000Z | #!/usr/bin/env python
import test_config
import subprocess
import os
import sys
def main():
print "* Static Tests *"
###########################################################################
t = "Test: find instrumentation functions"
testTarget = test_config.textWidth.format(t)
sys.stdout.... | 41.044444 | 82 | 0.479426 | 328 | 3,694 | 5.265244 | 0.155488 | 0.086856 | 0.113492 | 0.117545 | 0.82513 | 0.82513 | 0.82513 | 0.82513 | 0.82513 | 0.82513 | 0 | 0 | 0.135084 | 3,694 | 89 | 83 | 41.505618 | 0.540532 | 0.005414 | 0 | 0.666667 | 0 | 0 | 0.19634 | 0.065193 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.063492 | null | null | 0.015873 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
588c7b60ead93b3b3f3300d29b0e672ec555a4a2 | 18,545 | py | Python | startup/users/30-user-McNeil.py | mrakitin/profile_collection-smi | 1eea45a3b886b2c0daeec715ce94f27da24d0ba3 | [
"BSD-3-Clause"
] | null | null | null | startup/users/30-user-McNeil.py | mrakitin/profile_collection-smi | 1eea45a3b886b2c0daeec715ce94f27da24d0ba3 | [
"BSD-3-Clause"
] | null | null | null | startup/users/30-user-McNeil.py | mrakitin/profile_collection-smi | 1eea45a3b886b2c0daeec715ce94f27da24d0ba3 | [
"BSD-3-Clause"
] | null | null | null | def waxs_S_edge_guil(t=1):
dets = [pil300KW]
names = ['sample02', 'sample03', 'sample04', 'sample05', 'sample06', 'sample07', 'sample08', 'sample09', 'sample10', 'sample11', 'sample12']
x = [26500, 21500, 16000, 10500, 5000, 0, -5500, -10500, 16000, -21000, -26500]#, -34000, -41000]
y = [600, 600,... | 33.234767 | 197 | 0.54144 | 2,774 | 18,545 | 3.525595 | 0.088681 | 0.172086 | 0.213497 | 0.173211 | 0.87546 | 0.855215 | 0.849182 | 0.845501 | 0.840695 | 0.836503 | 0 | 0.13037 | 0.3134 | 18,545 | 558 | 198 | 33.234767 | 0.637713 | 0.029765 | 0 | 0.818653 | 0 | 0 | 0.071669 | 0.024152 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018135 | false | 0 | 0 | 0 | 0.018135 | 0.031088 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
5455ebcc430ceab97bee5eae3b35ccb133680914 | 12,990 | py | Python | tests/api/v3_0_0/test_sponsor_group.py | CiscoISE/ciscoisesdk | 860b0fc7cc15d0c2a39c64608195a7ab3d5f4885 | [
"MIT"
] | 36 | 2021-05-18T16:24:19.000Z | 2022-03-05T13:44:41.000Z | tests/api/v3_0_0/test_sponsor_group.py | CiscoISE/ciscoisesdk | 860b0fc7cc15d0c2a39c64608195a7ab3d5f4885 | [
"MIT"
] | 15 | 2021-06-08T19:03:37.000Z | 2022-02-25T14:47:33.000Z | tests/api/v3_0_0/test_sponsor_group.py | CiscoISE/ciscoisesdk | 860b0fc7cc15d0c2a39c64608195a7ab3d5f4885 | [
"MIT"
] | 6 | 2021-06-10T09:32:01.000Z | 2022-01-12T08:34:39.000Z | # -*- coding: utf-8 -*-
"""IdentityServicesEngineAPI sponsor_group API fixtures and tests.
Copyright (c) 2021 Cisco and/or its affiliates.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without ... | 33.222506 | 425 | 0.711008 | 1,490 | 12,990 | 5.911409 | 0.145638 | 0.108992 | 0.052452 | 0.059946 | 0.821866 | 0.820504 | 0.818801 | 0.814941 | 0.811989 | 0.796776 | 0 | 0.015076 | 0.208545 | 12,990 | 390 | 426 | 33.307692 | 0.84165 | 0.089222 | 0 | 0.703947 | 0 | 0 | 0.134303 | 0.089479 | 0 | 0 | 0 | 0 | 0.118421 | 1 | 0.098684 | false | 0.006579 | 0.023026 | 0 | 0.200658 | 0.019737 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
54bd4be82b2a42329aede2359d2d5d9f389c156d | 7,026 | py | Python | pdf_ocr.py | im47cn/pdfOCR | b8ce65c62752824046607b95d21c741e97f634f0 | [
"Apache-2.0"
] | null | null | null | pdf_ocr.py | im47cn/pdfOCR | b8ce65c62752824046607b95d21c741e97f634f0 | [
"Apache-2.0"
] | null | null | null | pdf_ocr.py | im47cn/pdfOCR | b8ce65c62752824046607b95d21c741e97f634f0 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import os
import fitz
import time
from paddleocr import PaddleOCR, draw_ocr
def pdf2png_tbo(pdfPath, imgPath, zoom_x=2, zoom_y=2, rotation_angle=0):
'''
# 将PDF转化为图片
pdfPath pdf文件的路径
imgPath 图像要保存的文件夹
zoom_x x方向的缩放系数
zoom_y y方向的缩放系数
rotation_angle 旋转角度
'''
t... | 27.880952 | 82 | 0.561771 | 914 | 7,026 | 4.191466 | 0.157549 | 0.038371 | 0.057687 | 0.084312 | 0.833986 | 0.833986 | 0.826677 | 0.826677 | 0.826677 | 0.826677 | 0 | 0.056254 | 0.30928 | 7,026 | 251 | 83 | 27.992032 | 0.733155 | 0.200968 | 0 | 0.732824 | 0 | 0 | 0.050819 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030534 | false | 0 | 0.030534 | 0 | 0.091603 | 0.038168 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
54c0f339696f8692840ba44f55fc9be7f91836e4 | 299 | py | Python | {{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/core/views.py | pythdasch/cookiecutter-django | c998afe16cc7632af329e623d29e7fb7e6b3795a | [
"BSD-3-Clause"
] | null | null | null | {{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/core/views.py | pythdasch/cookiecutter-django | c998afe16cc7632af329e623d29e7fb7e6b3795a | [
"BSD-3-Clause"
] | null | null | null | {{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/core/views.py | pythdasch/cookiecutter-django | c998afe16cc7632af329e623d29e7fb7e6b3795a | [
"BSD-3-Clause"
] | null | null | null | from django.contrib.auth import get_user_model
from django.contrib.auth.mixins import LoginRequiredMixin
from django.urls import reverse
from django.views.generic import DetailView, RedirectView, UpdateView
from django.contrib import messages
from django.utils.translation import ugettext_lazy as _
| 42.714286 | 69 | 0.862876 | 41 | 299 | 6.195122 | 0.560976 | 0.23622 | 0.200787 | 0.165354 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093645 | 299 | 6 | 70 | 49.833333 | 0.937269 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 7 |
54c51b24b61f37011b617fdccb5bb0d0fd562013 | 1,752 | py | Python | depend.py | Google1234/NLP | 393ed1131c07ca55aaadf144b74251a466b3d418 | [
"Apache-2.0"
] | 1 | 2016-07-05T13:11:18.000Z | 2016-07-05T13:11:18.000Z | depend.py | Google1234/NLP | 393ed1131c07ca55aaadf144b74251a466b3d418 | [
"Apache-2.0"
] | null | null | null | depend.py | Google1234/NLP | 393ed1131c07ca55aaadf144b74251a466b3d418 | [
"Apache-2.0"
] | null | null | null | #-*- coding: UTF-8 -*-
class quick_sort():
a=[]
def __init__(self,data):
self.a=data[:]
def sort(self,left,right):
if left!=right:
mid=left+int((right-left)/2)
self.sort(left,mid)
self.sort(mid+1,right)
b=[]
i=0
for i in... | 26.953846 | 42 | 0.384703 | 233 | 1,752 | 2.841202 | 0.150215 | 0.090634 | 0.054381 | 0.099698 | 0.903323 | 0.903323 | 0.903323 | 0.903323 | 0.903323 | 0.903323 | 0 | 0.033514 | 0.472032 | 1,752 | 65 | 43 | 26.953846 | 0.682162 | 0.011986 | 0 | 0.935484 | 0 | 0 | 0.002311 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.096774 | false | 0 | 0 | 0 | 0.193548 | 0.032258 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3f7730e63139c8af678a4948c000165bd6e5b7b3 | 7,501 | py | Python | tests/test_crystal.py | davidtangGT/mol2vector | 081f06eca5d66279853c24bf2de698edee689261 | [
"MIT"
] | 57 | 2017-03-17T02:41:20.000Z | 2022-02-21T04:29:26.000Z | tests/test_crystal.py | davidtangGT/mol2vector | 081f06eca5d66279853c24bf2de698edee689261 | [
"MIT"
] | 7 | 2019-05-23T18:32:40.000Z | 2020-10-13T20:43:46.000Z | tests/test_crystal.py | davidtangGT/mol2vector | 081f06eca5d66279853c24bf2de698edee689261 | [
"MIT"
] | 20 | 2017-03-17T02:41:53.000Z | 2020-10-07T07:06:20.000Z | import unittest
import numpy
from molml.molecule import Connectivity
from molml.crystal import GenerallizedCrystal
from molml.crystal import EwaldSumMatrix, SineMatrix
H_ELES = ['H']
H_NUMS = [1]
H_COORDS = numpy.array([[0.0, 0.0, 0.0]])
H_UNIT = numpy.array([
[2., .5, 0.],
[.25, 1., 0.],
[0., .3, 1.],
... | 29.648221 | 67 | 0.556859 | 910 | 7,501 | 4.405495 | 0.096703 | 0.04016 | 0.047393 | 0.07109 | 0.861312 | 0.860065 | 0.830881 | 0.782739 | 0.758294 | 0.747319 | 0 | 0.071596 | 0.318491 | 7,501 | 252 | 68 | 29.765873 | 0.712637 | 0 | 0 | 0.779817 | 0 | 0 | 0.004933 | 0 | 0 | 0 | 0 | 0 | 0.16055 | 1 | 0.105505 | false | 0 | 0.022936 | 0 | 0.142202 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3fd7cbdeddb359ba677ec43426fa7ed1dcddbb98 | 6,088 | py | Python | libs/fully_connected_opt_weight_generation.py | achenbachsven/learningSkript | 7af067cbf0c8d7eed010806923f8af2e38977be2 | [
"BSD-3-Clause"
] | null | null | null | libs/fully_connected_opt_weight_generation.py | achenbachsven/learningSkript | 7af067cbf0c8d7eed010806923f8af2e38977be2 | [
"BSD-3-Clause"
] | 3 | 2020-03-24T15:59:06.000Z | 2022-02-10T01:53:37.000Z | libs/fully_connected_opt_weight_generation.py | achenbachsven/learningSkript | 7af067cbf0c8d7eed010806923f8af2e38977be2 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
import numpy as np
def convert_to_x4_q7_weights(weights):
[r, h, w, c] = weights.shape
weights = np.reshape(weights, (r, h*w*c))
num_of_rows = r
num_of_cols = h*w*c
new_weights = np.copy(weights)
new_weights = np.reshape(new_weights, (r*h*w*c))
counter = 0
for i ... | 40.586667 | 83 | 0.64931 | 964 | 6,088 | 3.856846 | 0.106846 | 0.150619 | 0.201183 | 0.058096 | 0.895643 | 0.886767 | 0.839161 | 0.800968 | 0.800968 | 0.768424 | 0 | 0.034974 | 0.21567 | 6,088 | 149 | 84 | 40.85906 | 0.743665 | 0.060611 | 0 | 0.635593 | 0 | 0 | 0.032942 | 0.009813 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025424 | false | 0 | 0.008475 | 0 | 0.059322 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 7 |
3fe8590f0de37e670e206f9cfe46d5785e6ac0a9 | 631 | py | Python | electricity_api/models.py | gbakthavatchalam/electricity-api | 5f8e8c9a813ffc059db8fb39d4022fb9a00f216b | [
"Apache-2.0"
] | null | null | null | electricity_api/models.py | gbakthavatchalam/electricity-api | 5f8e8c9a813ffc059db8fb39d4022fb9a00f216b | [
"Apache-2.0"
] | null | null | null | electricity_api/models.py | gbakthavatchalam/electricity-api | 5f8e8c9a813ffc059db8fb39d4022fb9a00f216b | [
"Apache-2.0"
] | null | null | null | from django.db import models
class Days(models.Model):
class Meta:
db_table = "days"
day_id = models.IntegerField(primary_key=True)
user_id = models.IntegerField()
timestamp_raw = models.TextField(db_column="timestamp")
consumption = models.IntegerField()
temperature = models.IntegerF... | 26.291667 | 59 | 0.709984 | 71 | 631 | 6.140845 | 0.352113 | 0.330275 | 0.183486 | 0.091743 | 0.857798 | 0.857798 | 0.733945 | 0.733945 | 0.733945 | 0.733945 | 0 | 0 | 0.187005 | 631 | 23 | 60 | 27.434783 | 0.849903 | 0 | 0 | 0.588235 | 0 | 0 | 0.044374 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.882353 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 8 |
3fef40fcd20ff41a32204e723549c85b6402b10b | 9,762 | py | Python | robotframework-onap/tests/ONAPLibrary/JSONKeywordsTest.py | onap/testsuite-python-testing-utils | 84d2f0e4e68862b8cbfd5b1aec7fea747507d501 | [
"Apache-2.0"
] | 2 | 2019-04-30T23:50:46.000Z | 2019-05-22T13:45:42.000Z | robotframework-onap/tests/ONAPLibrary/JSONKeywordsTest.py | onap/testsuite-python-testing-utils | 84d2f0e4e68862b8cbfd5b1aec7fea747507d501 | [
"Apache-2.0"
] | null | null | null | robotframework-onap/tests/ONAPLibrary/JSONKeywordsTest.py | onap/testsuite-python-testing-utils | 84d2f0e4e68862b8cbfd5b1aec7fea747507d501 | [
"Apache-2.0"
] | 1 | 2021-10-15T15:32:51.000Z | 2021-10-15T15:32:51.000Z | # Copyright 2019 Samsung Electronics Co., Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | 47.619512 | 99 | 0.775866 | 1,230 | 9,762 | 5.713821 | 0.097561 | 0.101024 | 0.050085 | 0.056773 | 0.865822 | 0.858139 | 0.85074 | 0.823136 | 0.823136 | 0.810615 | 0 | 0.007547 | 0.158472 | 9,762 | 204 | 100 | 47.852941 | 0.847961 | 0.081746 | 0 | 0.583333 | 0 | 0 | 0.012079 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.229167 | false | 0 | 0.020833 | 0 | 0.326389 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b2092a0dd4d5965d46c3866ca3cf0f46f54a9264 | 416,844 | py | Python | 1andi.py | Fahsaiiii2608/tk | 44b4a14de11a328a9fa2ca6d0c23b1f52850adff | [
"MIT"
] | null | null | null | 1andi.py | Fahsaiiii2608/tk | 44b4a14de11a328a9fa2ca6d0c23b1f52850adff | [
"MIT"
] | null | null | null | 1andi.py | Fahsaiiii2608/tk | 44b4a14de11a328a9fa2ca6d0c23b1f52850adff | [
"MIT"
] | 2 | 2018-11-04T11:17:46.000Z | 2019-01-20T14:10:48.000Z | # -*- coding: utf-8 -*-
import LINETCR
from LINETCR.lib.curve.ttypes import *
from datetime import datetime
from bs4 import BeautifulSoup
from threading import Thread
from googletrans import Translator
import requests
from io import StringIO
from threading import Thread
from urllib import urlopen
from gtts import gTTS... | 60.072633 | 5,653 | 0.390472 | 40,423 | 416,844 | 5.245553 | 0.048685 | 0.026033 | 0.038992 | 0.051971 | 0.847407 | 0.812296 | 0.793644 | 0.773784 | 0.751001 | 0.740748 | 0 | 0.025772 | 0.368051 | 416,844 | 6,938 | 5,654 | 60.081291 | 0.590185 | 0.097492 | 0 | 0.68933 | 0 | 0.008392 | 0.287396 | 0.170941 | 0.000685 | 0 | 0 | 0 | 0 | 0 | null | null | 0.011132 | 0.002398 | null | null | 0.012845 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
b748a3cc3285ef24b55771ad910c03e9fc22692b | 161 | py | Python | ExPyBR/ExESPy001.py | us19861229c/Meu-aprendizado-Python | 575c0714ac5377ff3122f4cb57952969e07ba89b | [
"Unlicense"
] | 1 | 2021-12-11T19:53:41.000Z | 2021-12-11T19:53:41.000Z | ExPyBR/ExESPy001.py | us19861229c/Meu-aprendizado-Python | 575c0714ac5377ff3122f4cb57952969e07ba89b | [
"Unlicense"
] | null | null | null | ExPyBR/ExESPy001.py | us19861229c/Meu-aprendizado-Python | 575c0714ac5377ff3122f4cb57952969e07ba89b | [
"Unlicense"
] | null | null | null | """
1.Faça um Programa que mostre a mensagem "Alo mundo" na tela.
"""
print("Faça um Programa que mostre a mensagem 'Alo mundo' na tela.")
print("Olá mundo!")
| 20.125 | 68 | 0.689441 | 27 | 161 | 4.111111 | 0.518519 | 0.108108 | 0.252252 | 0.306306 | 0.918919 | 0.918919 | 0.918919 | 0.918919 | 0.918919 | 0.918919 | 0 | 0.007519 | 0.173913 | 161 | 7 | 69 | 23 | 0.827068 | 0.378882 | 0 | 0 | 0 | 0 | 0.758242 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 13 |
b7a4e2f3cee59f7116f4802eab2b319ea0a41ced | 116 | py | Python | chitra/import_utils.py | aniketmaurya/Chitra | e040311c25ccf2e101df5596662450ae532bee08 | [
"Apache-2.0"
] | 158 | 2020-01-27T05:35:35.000Z | 2021-12-24T16:15:23.000Z | chitra/import_utils.py | aniketmaurya/Chitra | e040311c25ccf2e101df5596662450ae532bee08 | [
"Apache-2.0"
] | 112 | 2020-02-15T15:12:38.000Z | 2021-12-22T13:18:14.000Z | chitra/import_utils.py | aniketmaurya/Chitra | e040311c25ccf2e101df5596662450ae532bee08 | [
"Apache-2.0"
] | 33 | 2020-09-25T13:49:17.000Z | 2021-12-01T13:05:23.000Z | import importlib
def is_installed(module_name: str):
return importlib.util.find_spec(module_name) is not None
| 19.333333 | 60 | 0.793103 | 18 | 116 | 4.888889 | 0.777778 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 116 | 5 | 61 | 23.2 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.666667 | 0.333333 | 1.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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
b7bb022e4dc3d6ffc2cb21f4a8136d6152cc60af | 23 | py | Python | stepik/3559/66578/step_8/script.py | tshemake/Software-Development | e6dff82dffa49e66dc5fa5650af775437ebb6a9b | [
"Unlicense"
] | null | null | null | stepik/3559/66578/step_8/script.py | tshemake/Software-Development | e6dff82dffa49e66dc5fa5650af775437ebb6a9b | [
"Unlicense"
] | null | null | null | stepik/3559/66578/step_8/script.py | tshemake/Software-Development | e6dff82dffa49e66dc5fa5650af775437ebb6a9b | [
"Unlicense"
] | null | null | null | print('2 + 2 =', 2 + 2) | 23 | 23 | 0.391304 | 5 | 23 | 1.8 | 0.4 | 0.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 0.26087 | 23 | 1 | 23 | 23 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 10 |
4d67b494d9c1fc452f91a2bdcc88950041e1c07f | 68,652 | py | Python | benchmarks/SimResults/combinations_spec_ml_fulltrained/oldstuff/cmp_bwavesgccmcfleslie3d/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/combinations_spec_ml_fulltrained/oldstuff/cmp_bwavesgccmcfleslie3d/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/combinations_spec_ml_fulltrained/oldstuff/cmp_bwavesgccmcfleslie3d/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | power = {'BUSES': {'Area': 1.33155,
'Bus/Area': 1.33155,
'Bus/Gate Leakage': 0.00662954,
'Bus/Peak Dynamic': 0.0,
'Bus/Runtime Dynamic': 0.0,
'Bus/Subthreshold Leakage': 0.0691322,
'Bus/Subthreshold Leakage with power gating': 0.0259246,
'Gate... | 75.111597 | 124 | 0.682282 | 8,082 | 68,652 | 5.789656 | 0.067805 | 0.12344 | 0.11284 | 0.093349 | 0.938109 | 0.930244 | 0.916866 | 0.886369 | 0.862156 | 0.841533 | 0 | 0.132649 | 0.224189 | 68,652 | 914 | 125 | 75.111597 | 0.745893 | 0 | 0 | 0.642232 | 0 | 0 | 0.657 | 0.048068 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4d67b9f4c0a74112bc719ff63b7ae344e9dd1f5d | 27,052 | py | Python | run_nerf_helpers.py | songrise/nerf | 474786b476a8b51f960481d50c8136b4782239d3 | [
"MIT"
] | null | null | null | run_nerf_helpers.py | songrise/nerf | 474786b476a8b51f960481d50c8136b4782239d3 | [
"MIT"
] | null | null | null | run_nerf_helpers.py | songrise/nerf | 474786b476a8b51f960481d50c8136b4782239d3 | [
"MIT"
] | null | null | null | # %%
import os
import sys
import tensorflow as tf
import numpy as np
import imageio
import json
# Misc utils
def img2mse(x, y): return tf.reduce_mean(tf.square(x - y))
def mse2psnr(x): return -10.*tf.log(x)/tf.log(10.)
def to8b(x): return (255*np.clip(x, 0, 1)).astype(np.uint8)
# Positional encoding
class Emb... | 35.877984 | 108 | 0.596333 | 4,067 | 27,052 | 3.812392 | 0.093189 | 0.029797 | 0.026314 | 0.014447 | 0.942083 | 0.937762 | 0.928604 | 0.924347 | 0.922477 | 0.922477 | 0 | 0.028941 | 0.260461 | 27,052 | 753 | 109 | 35.925631 | 0.746076 | 0.41106 | 0 | 0.840361 | 0 | 0 | 0.022681 | 0 | 0 | 0 | 0 | 0.002656 | 0 | 1 | 0.105422 | false | 0 | 0.018072 | 0.033133 | 0.207831 | 0.012048 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4d8fdac259eac6060900f5e627a3027a8869a495 | 337,287 | py | Python | Tests/test_Entrez.py | eoc21/biopython | c0f8db8f55a506837c320459957a0ce99b0618b6 | [
"PostgreSQL"
] | 3 | 2017-10-23T21:53:57.000Z | 2019-09-23T05:14:12.000Z | Tests/test_Entrez.py | eoc21/biopython | c0f8db8f55a506837c320459957a0ce99b0618b6 | [
"PostgreSQL"
] | null | null | null | Tests/test_Entrez.py | eoc21/biopython | c0f8db8f55a506837c320459957a0ce99b0618b6 | [
"PostgreSQL"
] | 6 | 2020-02-26T16:34:20.000Z | 2020-03-04T15:34:00.000Z | '''Testing code for Bio.Entrez parsers.
'''
import unittest
from Bio import Entrez
class EInfoTest(unittest.TestCase):
'''Tests for parsing XML output returned by EInfo
'''
def test_list(self):
'''Test parsing database list returned by EInfo
'''
# To create the XML file, use
... | 81.687333 | 1,931 | 0.635895 | 37,865 | 337,287 | 5.636789 | 0.09864 | 0.25258 | 0.344757 | 0.254492 | 0.812361 | 0.758528 | 0.71177 | 0.675975 | 0.588 | 0.32261 | 0 | 0.091919 | 0.133246 | 337,287 | 4,128 | 1,932 | 81.707122 | 0.638167 | 0.031196 | 0 | 0.116914 | 0 | 0.007688 | 0.369863 | 0.02588 | 0 | 1 | 0 | 0 | 0.954666 | 1 | 0.01087 | false | 0.00053 | 0.00053 | 0 | 0.013521 | 0.000795 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
4da07ff5a8a72a696cea0339cf1734f1958fa8ec | 97 | py | Python | overtime/tests/algorithms/__init__.py | overtime3/overtime | ed3ae6877894f4d2c9f8473a885698e1622be3bd | [
"MIT"
] | 9 | 2020-10-15T13:53:36.000Z | 2022-03-08T12:08:09.000Z | overtime/tests/algorithms/__init__.py | overtime3/overtime | ed3ae6877894f4d2c9f8473a885698e1622be3bd | [
"MIT"
] | 6 | 2021-02-07T15:43:12.000Z | 2021-04-24T04:03:39.000Z | overtime/tests/algorithms/__init__.py | overtime3/overtime | ed3ae6877894f4d2c9f8473a885698e1622be3bd | [
"MIT"
] | 7 | 2020-10-15T13:55:12.000Z | 2022-03-12T03:54:02.000Z | from overtime.tests.algorithms.centrality import *
from overtime.tests.algorithms.paths import * | 48.5 | 51 | 0.835052 | 12 | 97 | 6.75 | 0.583333 | 0.296296 | 0.419753 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082474 | 97 | 2 | 52 | 48.5 | 0.910112 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 | 8 |
4dae00e9c146c73b2c7e1e4325efd52153f46f67 | 18,791 | py | Python | Fujitsu/benchmarks/resnet/implementations/mxnet/3rdparty/tvm/topi/python/topi/intel_graphics/conv2d.py | mengkai94/training_results_v0.6 | 43dc3e250f8da47b5f8833197d74cb8cf1004fc9 | [
"Apache-2.0"
] | 64 | 2021-05-02T14:42:34.000Z | 2021-05-06T01:35:03.000Z | topi/python/topi/intel_graphics/conv2d.py | clhne/tvm | d59320c764bd09474775e1b292f3c05c27743d24 | [
"Apache-2.0"
] | 23 | 2019-07-29T05:21:52.000Z | 2020-08-31T18:51:42.000Z | topi/python/topi/intel_graphics/conv2d.py | clhne/tvm | d59320c764bd09474775e1b292f3c05c27743d24 | [
"Apache-2.0"
] | 51 | 2019-07-12T05:10:25.000Z | 2021-07-28T16:19:06.000Z | # pylint: disable=invalid-name,unused-variable,unused-argument,no-else-return, too-many-arguments, too-many-locals, too-many-statements, no-member, too-many-branches
"""conv2d schedule on Intel Graphics"""
from __future__ import absolute_import as _abs
import tvm
from .. import generic
from .. import util
from .. im... | 33.435943 | 165 | 0.616093 | 3,007 | 18,791 | 3.624875 | 0.081809 | 0.030275 | 0.01211 | 0.009908 | 0.875321 | 0.860642 | 0.838532 | 0.836789 | 0.825138 | 0.816514 | 0 | 0.021625 | 0.251876 | 18,791 | 561 | 166 | 33.495544 | 0.753735 | 0.117822 | 0 | 0.804569 | 0 | 0 | 0.048183 | 0 | 0 | 0 | 0 | 0 | 0.01269 | 1 | 0.030457 | false | 0 | 0.027919 | 0 | 0.07868 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4de5188918f29f59fce02f7f1bf4c3caa3e6d7db | 34,117 | py | Python | python3/lib/python3.6/site-packages/tensorflow/core/profiler/tfprof_output_pb2.py | TruongThuyLiem/keras2tensorflow | 726f2370160701081cb43fbd8b56154c10d7ad63 | [
"MIT"
] | 3 | 2020-10-12T15:47:01.000Z | 2022-01-14T19:51:26.000Z | python3/lib/python3.6/site-packages/tensorflow/core/profiler/tfprof_output_pb2.py | TruongThuyLiem/keras2tensorflow | 726f2370160701081cb43fbd8b56154c10d7ad63 | [
"MIT"
] | null | null | null | python3/lib/python3.6/site-packages/tensorflow/core/profiler/tfprof_output_pb2.py | TruongThuyLiem/keras2tensorflow | 726f2370160701081cb43fbd8b56154c10d7ad63 | [
"MIT"
] | 2 | 2020-08-03T13:02:06.000Z | 2020-11-04T03:15:44.000Z | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: tensorflow/core/profiler/tfprof_output.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _m... | 50.394387 | 3,447 | 0.759826 | 4,396 | 34,117 | 5.605551 | 0.059827 | 0.058761 | 0.04748 | 0.063307 | 0.80935 | 0.760653 | 0.721208 | 0.690528 | 0.674742 | 0.659037 | 0 | 0.044051 | 0.123018 | 34,117 | 676 | 3,448 | 50.468935 | 0.779545 | 0.021661 | 0 | 0.713386 | 1 | 0.001575 | 0.24232 | 0.21034 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.011024 | 0 | 0.011024 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
129758836690e6cf83c058208d8e2242c72374b3 | 128,517 | py | Python | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_infra_rsi_cfg.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_infra_rsi_cfg.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_infra_rsi_cfg.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | """ Cisco_IOS_XR_infra_rsi_cfg
This module contains a collection of YANG definitions
for Cisco IOS\-XR infra\-rsi package configuration.
This module contains definitions
for the following management objects\:
vrfs\: VRF configuration
global\-af\: global af
srlg\: srlg
vrf\-groups\: vrf groups
selective\-vr... | 37.966617 | 371 | 0.444393 | 11,974 | 128,517 | 4.548271 | 0.023718 | 0.048916 | 0.061145 | 0.050128 | 0.877197 | 0.85474 | 0.823121 | 0.802225 | 0.779181 | 0.763574 | 0 | 0.01389 | 0.47845 | 128,517 | 3,384 | 372 | 37.977837 | 0.798621 | 0.208292 | 0 | 0.799238 | 0 | 0.017154 | 0.118715 | 0.064007 | 0 | 0 | 0 | 0 | 0 | 1 | 0.16709 | false | 0 | 0.053367 | 0.006353 | 0.513977 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
12c47e702ad012acb9a419fdb316d00879b4f724 | 1,083 | py | Python | __main__.py | Fxcilities/one-line-dpy | 469a616ed4ab31c1b3adf526a60149346fdac433 | [
"MIT"
] | 2 | 2020-12-12T14:57:45.000Z | 2021-08-24T03:54:45.000Z | __main__.py | Fxcilities/one-line-dpy | 469a616ed4ab31c1b3adf526a60149346fdac433 | [
"MIT"
] | null | null | null | __main__.py | Fxcilities/one-line-dpy | 469a616ed4ab31c1b3adf526a60149346fdac433 | [
"MIT"
] | null | null | null | import os; from dotenv import load_dotenv; load_dotenv(); import asyncio; import discord; from discord.ext import commands; bot = commands.Bot(command_prefix=">"); bot.remove_command('help'); exec('@bot.event\nasync def on_ready():\n print(f"Bot Ready as {bot.user} ({bot.user.id}) - Created by fxcilities#4728")'); e... | 541.5 | 1,082 | 0.713758 | 168 | 1,083 | 4.583333 | 0.535714 | 0.031169 | 0.044156 | 0.057143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.113573 | 1,083 | 1 | 1,083 | 1,083 | 0.771875 | 0 | 0 | 0 | 0 | 2 | 0.786704 | 0.207756 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 1 | 0 | 1 | 1 | 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 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 8 |
420bad47675c7d8c8695896d762524fe7209159b | 164 | py | Python | tsfel/classification/__init__.py | TSFDlib/TSFEL | a4c30acc93dd3717bf93b19e59c3dc927903caf2 | [
"MIT"
] | 1 | 2020-08-02T03:26:32.000Z | 2020-08-02T03:26:32.000Z | tsfel/classification/__init__.py | TSFDlib/TSFEL | a4c30acc93dd3717bf93b19e59c3dc927903caf2 | [
"MIT"
] | null | null | null | tsfel/classification/__init__.py | TSFDlib/TSFEL | a4c30acc93dd3717bf93b19e59c3dc927903caf2 | [
"MIT"
] | null | null | null | from TSFEL.tsfel.classification.supervised_learning import find_best_slclassifier
from TSFEL.tsfel.classification.hyperparameters_tunning import hyperparam_tunning
| 54.666667 | 81 | 0.914634 | 19 | 164 | 7.631579 | 0.631579 | 0.124138 | 0.193103 | 0.386207 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 164 | 2 | 82 | 82 | 0.929487 | 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 | 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 | 7 |
426c0589709796fbb313d1826d2d931f2356a1ce | 14,142 | py | Python | enCount/integration/experiments_mock.py | mstrazar/enCount | dcff565ce96afe37aa8a41995637d00cce02360d | [
"MIT"
] | null | null | null | enCount/integration/experiments_mock.py | mstrazar/enCount | dcff565ce96afe37aa8a41995637d00cce02360d | [
"MIT"
] | null | null | null | enCount/integration/experiments_mock.py | mstrazar/enCount | dcff565ce96afe37aa8a41995637d00cce02360d | [
"MIT"
] | null | null | null | # Mock return of URL fetch for ID
def get_online_list(sample_name):
return {sample_name: [{'Controlled by': '/files/ENCFF667EXM/', 'Experiment target': 'TARDBP-human', 'Library size range': '>200', 'Library made from': 'polyadenylated mRNA', 'Biosample life stage': 'adult', 'Audit INTERNAL_ACTION': 'inconsistent as... | 4,714 | 14,074 | 0.706477 | 1,604 | 14,142 | 6.201372 | 0.104115 | 0.009651 | 0.024128 | 0.028953 | 0.901076 | 0.901076 | 0.901076 | 0.901076 | 0.901076 | 0.900573 | 0 | 0.058936 | 0.108542 | 14,142 | 3 | 14,074 | 4,714 | 0.730071 | 0.002192 | 0 | 0 | 0 | 0 | 0.776754 | 0.018143 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 13 |
42b0f11116931d50a7ec6c70ea5951ccc01c0a48 | 52 | py | Python | tests/test_canvenom.py | robotpy/robotpy-playingwithfusion | 1afa00bc88e50f2c3c25ac1fc92ce40e70d41305 | [
"Apache-2.0"
] | 1 | 2021-03-21T11:16:52.000Z | 2021-03-21T11:16:52.000Z | tests/test_canvenom.py | robotpy/robotpy-playingwithfusion | 1afa00bc88e50f2c3c25ac1fc92ce40e70d41305 | [
"Apache-2.0"
] | 4 | 2021-03-20T23:29:49.000Z | 2022-03-04T21:28:31.000Z | tests/test_canvenom.py | robotpy/robotpy-playingwithfusion | 1afa00bc88e50f2c3c25ac1fc92ce40e70d41305 | [
"Apache-2.0"
] | null | null | null | import playingwithfusion
def test_pwf():
pass
| 8.666667 | 24 | 0.730769 | 6 | 52 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211538 | 52 | 5 | 25 | 10.4 | 0.902439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | 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 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
c4176a387685389413ae4cecf5901b7594e1c2bb | 2,072 | py | Python | akdigitalpy/TwosComplement.py | AbhijeetJK/akdigitalpy | 94b0739cff1b37c838b13857b8d08a5a7c5243f9 | [
"MIT"
] | null | null | null | akdigitalpy/TwosComplement.py | AbhijeetJK/akdigitalpy | 94b0739cff1b37c838b13857b8d08a5a7c5243f9 | [
"MIT"
] | null | null | null | akdigitalpy/TwosComplement.py | AbhijeetJK/akdigitalpy | 94b0739cff1b37c838b13857b8d08a5a7c5243f9 | [
"MIT"
] | null | null | null | def TwosComplementOf(n):
if isinstance(n,str) == True:
binintnum = int(n)
binmun = int("{0:08b}".format(binintnum))
strnum = str(binmun)
size = len(strnum)
idx = size -1
while idx >= 0:
... | 35.724138 | 58 | 0.29971 | 144 | 2,072 | 4.3125 | 0.173611 | 0.225443 | 0.057971 | 0.135266 | 0.89211 | 0.830918 | 0.830918 | 0.830918 | 0.830918 | 0.830918 | 0 | 0.037688 | 0.61583 | 2,072 | 57 | 59 | 36.350877 | 0.742462 | 0 | 0 | 0.895833 | 0 | 0 | 0.011952 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020833 | false | 0 | 0 | 0 | 0.104167 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
c4309663ebb58238547f6314f533c8e102b28a13 | 138 | py | Python | src/glip/__init__.py | anibali/glip | 50359cdab0064ce233f368039439f4ac1e39e0f9 | [
"Apache-2.0"
] | null | null | null | src/glip/__init__.py | anibali/glip | 50359cdab0064ce233f368039439f4ac1e39e0f9 | [
"Apache-2.0"
] | null | null | null | src/glip/__init__.py | anibali/glip | 50359cdab0064ce233f368039439f4ac1e39e0f9 | [
"Apache-2.0"
] | null | null | null | from glip.config import *
from glip.gl.context import *
from glip.gl.input import *
from glip.gl.objects import *
from glip.math import *
| 23 | 29 | 0.76087 | 23 | 138 | 4.565217 | 0.391304 | 0.380952 | 0.533333 | 0.457143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144928 | 138 | 5 | 30 | 27.6 | 0.889831 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 | 8 |
671768bd470e73b0ee10cd4ef69156114c10a7b9 | 162 | py | Python | hulusubs_dl/__init__.py | HacDan/Hulusubs_dl | e8b5faeb8197aaf897c06b35da34942155a94c16 | [
"MIT"
] | 42 | 2015-09-29T06:07:17.000Z | 2020-12-27T19:34:47.000Z | hulusubs_dl/__init__.py | HacDan/Hulusubs_dl | e8b5faeb8197aaf897c06b35da34942155a94c16 | [
"MIT"
] | 19 | 2016-07-10T18:14:37.000Z | 2020-12-29T07:33:12.000Z | hulusubs_dl/__init__.py | HacDan/Hulusubs_dl | e8b5faeb8197aaf897c06b35da34942155a94c16 | [
"MIT"
] | 14 | 2016-07-06T02:56:16.000Z | 2020-12-09T00:50:57.000Z | # #!/usr/bin/env python
# # -*- coding: utf-8 -*-
#
# from hulusubs_dl import cust_utils
# from hulusubs_dl import __version__
# from hulusubs_dl import hulu_api
| 23.142857 | 37 | 0.722222 | 24 | 162 | 4.5 | 0.666667 | 0.333333 | 0.388889 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007299 | 0.154321 | 162 | 6 | 38 | 27 | 0.781022 | 0.907407 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
67481025eda9a1c51f39055430b7b416b714a56e | 183 | py | Python | sc2/constants.py | drakonnan1st/JackBot | 345df784098cb9eb055b3901fe7455807c58a4e1 | [
"MIT"
] | null | null | null | sc2/constants.py | drakonnan1st/JackBot | 345df784098cb9eb055b3901fe7455807c58a4e1 | [
"MIT"
] | null | null | null | sc2/constants.py | drakonnan1st/JackBot | 345df784098cb9eb055b3901fe7455807c58a4e1 | [
"MIT"
] | null | null | null | """Groups the constants from sc2"""
from .ids.ability_id import *
from .ids.buff_id import *
from .ids.effect_id import *
from .ids.unit_typeid import *
from .ids.upgrade_id import *
| 26.142857 | 35 | 0.748634 | 30 | 183 | 4.4 | 0.466667 | 0.265152 | 0.393939 | 0.340909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006329 | 0.136612 | 183 | 6 | 36 | 30.5 | 0.829114 | 0.15847 | 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 | 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 | 7 |
674a98c7857812beebf20317b2a821bd0a835b08 | 2,134 | py | Python | tests/types/test_string_annotations.py | nyejon/strawberry | 664fde292fe2186c3e33e8cae79964b866fa5822 | [
"MIT"
] | 1 | 2021-05-26T18:31:11.000Z | 2021-05-26T18:31:11.000Z | tests/types/test_string_annotations.py | nyejon/strawberry | 664fde292fe2186c3e33e8cae79964b866fa5822 | [
"MIT"
] | 43 | 2021-07-05T22:51:03.000Z | 2022-03-29T10:44:58.000Z | tests/types/test_string_annotations.py | nyejon/strawberry | 664fde292fe2186c3e33e8cae79964b866fa5822 | [
"MIT"
] | null | null | null | # type: ignore
from typing import List, Optional
import strawberry
def test_basic_types():
@strawberry.type
class Query:
name: "str"
age: "int"
definition = Query._type_definition
assert definition.name == "Query"
assert len(definition.fields) == 2
assert definition.fields... | 24.25 | 58 | 0.683693 | 271 | 2,134 | 5.273063 | 0.132841 | 0.291113 | 0.338698 | 0.273618 | 0.779566 | 0.740378 | 0.730581 | 0.730581 | 0.730581 | 0.6676 | 0 | 0.015366 | 0.207123 | 2,134 | 87 | 59 | 24.528736 | 0.829196 | 0.005623 | 0 | 0.627119 | 0 | 0 | 0.044811 | 0 | 0 | 0 | 0 | 0 | 0.508475 | 1 | 0.067797 | false | 0 | 0.033898 | 0 | 0.305085 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
67636e67b5e0674a32f8d82c33f6a254559aada6 | 27,278 | py | Python | python/deprecated/analysis/plt_times.py | JimmyZhang12/predict-T | 8ae818b0791104de20633ce91e6d633cda7445b3 | [
"MIT"
] | 1 | 2020-05-25T00:33:59.000Z | 2020-05-25T00:33:59.000Z | python/deprecated/analysis/plt_times.py | JimmyZhang12/predict-T | 8ae818b0791104de20633ce91e6d633cda7445b3 | [
"MIT"
] | 13 | 2020-01-30T22:34:13.000Z | 2020-06-25T13:54:57.000Z | python/deprecated/analysis/plt_times.py | JimmyZhang12/predict-T | 8ae818b0791104de20633ce91e6d633cda7445b3 | [
"MIT"
] | 1 | 2020-10-13T05:58:58.000Z | 2020-10-13T05:58:58.000Z | import pandas as pd
import glob
import numpy as np
import math
import sys
import matplotlib.pyplot as plt
import argparse
#------------------------------------------------------------------------------------------------
# Base Systems for Characterization:
# 4 Mechanism, [decor, sensor, uarch, signature]
# 7 Benchmar... | 55.218623 | 148 | 0.63696 | 3,909 | 27,278 | 4.391916 | 0.121514 | 0.01398 | 0.010135 | 0.059762 | 0.858225 | 0.854322 | 0.844886 | 0.844886 | 0.844886 | 0.844886 | 0 | 0.088925 | 0.126439 | 27,278 | 493 | 149 | 55.330629 | 0.631541 | 0.053376 | 0 | 0.744344 | 0 | 0 | 0.21052 | 0.007985 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.015837 | 0 | 0.015837 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
677f2c1379f69c3827b0bbb5bff618981bc47106 | 13,584 | py | Python | devel/lib/python2.7/dist-packages/polled_camera/srv/_GetPolledImage.py | EveVengerov/Gesture-Controlling-Drone | 8fe38dbfdc496472e13e76bcdb55b471f51b42ea | [
"MIT"
] | 2 | 2021-09-22T19:06:19.000Z | 2021-09-22T20:22:40.000Z | devel/lib/python2.7/dist-packages/polled_camera/srv/_GetPolledImage.py | EveVengerov/Gesture-Controlling-Drone | 8fe38dbfdc496472e13e76bcdb55b471f51b42ea | [
"MIT"
] | null | null | null | devel/lib/python2.7/dist-packages/polled_camera/srv/_GetPolledImage.py | EveVengerov/Gesture-Controlling-Drone | 8fe38dbfdc496472e13e76bcdb55b471f51b42ea | [
"MIT"
] | null | null | null | # This Python file uses the following encoding: utf-8
"""autogenerated by genpy from polled_camera/GetPolledImageRequest.msg. Do not edit."""
import codecs
import sys
python3 = True if sys.hexversion > 0x03000000 else False
import genpy
import struct
import genpy
import sensor_msgs.msg
class GetPolledImageRequest(gen... | 34.741688 | 197 | 0.656876 | 1,879 | 13,584 | 4.558808 | 0.116019 | 0.029886 | 0.023115 | 0.019846 | 0.782979 | 0.77294 | 0.768737 | 0.768737 | 0.758697 | 0.754611 | 0 | 0.016195 | 0.222688 | 13,584 | 390 | 198 | 34.830769 | 0.795056 | 0.183009 | 0 | 0.753571 | 1 | 0 | 0.171541 | 0.033542 | 0 | 0 | 0.001869 | 0 | 0 | 1 | 0.060714 | false | 0 | 0.039286 | 0 | 0.207143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
67819e29fb60bf9f0a1b2da25e369636f3b7f863 | 31,386 | py | Python | capybara/node/matchers.py | dwt/capybara.py | eafd9ac50d02e8b57ef90d767493c8fa2be0739a | [
"MIT"
] | null | null | null | capybara/node/matchers.py | dwt/capybara.py | eafd9ac50d02e8b57ef90d767493c8fa2be0739a | [
"MIT"
] | null | null | null | capybara/node/matchers.py | dwt/capybara.py | eafd9ac50d02e8b57ef90d767493c8fa2be0739a | [
"MIT"
] | null | null | null | from functools import wraps
import capybara
from capybara.compat import Hashable
from capybara.exceptions import ExpectationNotMet
from capybara.helpers import expects_none, matches_count
from capybara.selector import selectors
from capybara.queries.selector_query import SelectorQuery
from capybara.queries.style_query... | 34.115217 | 110 | 0.612247 | 3,846 | 31,386 | 4.910296 | 0.075663 | 0.021181 | 0.046704 | 0.062378 | 0.857718 | 0.8278 | 0.79947 | 0.774689 | 0.735504 | 0.687742 | 0 | 0.001446 | 0.294749 | 31,386 | 919 | 111 | 34.15234 | 0.851728 | 0.584783 | 0 | 0.326203 | 0 | 0 | 0.028399 | 0 | 0 | 0 | 0 | 0 | 0.213904 | 1 | 0.272727 | false | 0 | 0.048128 | 0 | 0.625668 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
67f89c358e93a036c5c1a6f1c5ed4be3f114e428 | 3,919 | py | Python | .c9/metadata/workspace/notMyRIOT.py | zb9c/LeargueDataAnalysis | 669e95c5012fa621be9ec5c7fbc56239e174b661 | [
"MIT"
] | null | null | null | .c9/metadata/workspace/notMyRIOT.py | zb9c/LeargueDataAnalysis | 669e95c5012fa621be9ec5c7fbc56239e174b661 | [
"MIT"
] | null | null | null | .c9/metadata/workspace/notMyRIOT.py | zb9c/LeargueDataAnalysis | 669e95c5012fa621be9ec5c7fbc56239e174b661 | [
"MIT"
] | null | null | null | {"changed":true,"filter":false,"title":"notMyRIOT.py","tooltip":"/notMyRIOT.py","value":"import requests\nimport json\nimport io\ntry:\n to_unicode = unicode\nexcept NameError:\n to_unicode = str\nimport xlsxwriter\nimport time\n\ndef getID(sumName):\n URL = \"https://na1.api.riotgames.com/lol/summoner/v3/summ... | 3,919 | 3,919 | 0.622097 | 559 | 3,919 | 4.332737 | 0.352415 | 0.009909 | 0.043353 | 0.044591 | 0.341453 | 0.272089 | 0.241536 | 0.241536 | 0.182081 | 0.182081 | 0 | 0.046559 | 0.117632 | 3,919 | 1 | 3,919 | 3,919 | 0.653846 | 0 | 0 | 0 | 0 | 7 | 0.719388 | 0.12551 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 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 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 9 |
67ff9fc3f7cbae9c2768c511a1d34bb8b325af72 | 155,288 | py | Python | sdk/lusid/api/portfolio_groups_api.py | mneedham/lusid-sdk-python | edabec16b357ba3fc48a53f3faacb4f94b18843e | [
"MIT"
] | null | null | null | sdk/lusid/api/portfolio_groups_api.py | mneedham/lusid-sdk-python | edabec16b357ba3fc48a53f3faacb4f94b18843e | [
"MIT"
] | null | null | null | sdk/lusid/api/portfolio_groups_api.py | mneedham/lusid-sdk-python | edabec16b357ba3fc48a53f3faacb4f94b18843e | [
"MIT"
] | null | null | null | # coding: utf-8
"""
LUSID API
FINBOURNE Technology # noqa: E501
The version of the OpenAPI document: 0.11.2808
Contact: info@finbourne.com
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility lib... | 61.451524 | 550 | 0.644892 | 19,297 | 155,288 | 4.994818 | 0.021869 | 0.043658 | 0.071173 | 0.028718 | 0.978067 | 0.975318 | 0.972848 | 0.968698 | 0.965181 | 0.961498 | 0 | 0.01585 | 0.273138 | 155,288 | 2,526 | 551 | 61.475851 | 0.838075 | 0.466314 | 0 | 0.7856 | 1 | 0.072 | 0.308479 | 0.087935 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0296 | false | 0 | 0.004 | 0 | 0.0632 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
db090c564c3149498b75a1c0932152d88c3d7046 | 182 | py | Python | tests/test_classical/__init__.py | infinitemugen/genrl | 602587417ce167380c90a726764a3efa4643dc38 | [
"MIT"
] | null | null | null | tests/test_classical/__init__.py | infinitemugen/genrl | 602587417ce167380c90a726764a3efa4643dc38 | [
"MIT"
] | null | null | null | tests/test_classical/__init__.py | infinitemugen/genrl | 602587417ce167380c90a726764a3efa4643dc38 | [
"MIT"
] | null | null | null | from tests.test_classical.test_common import TestTrainer, TestModels
from tests.test_classical.test_bandits import TestBandit
from tests.test_classical.test_agents import TestAgents
| 45.5 | 68 | 0.89011 | 25 | 182 | 6.24 | 0.48 | 0.173077 | 0.25 | 0.423077 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 182 | 3 | 69 | 60.666667 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 | 7 |
c040f6ee38cd450de39f9b43f73efed874ded3e1 | 19,375 | py | Python | pynos/versions/base/yang/brocade_fcoe.py | bdeetz/pynos | bd8a34e98f322de3fc06750827d8bbc3a0c00380 | [
"Apache-2.0"
] | 12 | 2015-09-21T23:56:09.000Z | 2018-03-30T04:35:32.000Z | pynos/versions/base/yang/brocade_fcoe.py | bdeetz/pynos | bd8a34e98f322de3fc06750827d8bbc3a0c00380 | [
"Apache-2.0"
] | 10 | 2016-09-15T19:03:27.000Z | 2017-07-17T23:38:01.000Z | pynos/versions/base/yang/brocade_fcoe.py | bdeetz/pynos | bd8a34e98f322de3fc06750827d8bbc3a0c00380 | [
"Apache-2.0"
] | 6 | 2015-08-14T08:05:23.000Z | 2022-02-03T15:33:54.000Z | #!/usr/bin/env python
import xml.etree.ElementTree as ET
class brocade_fcoe(object):
"""Auto generated class.
"""
def __init__(self, **kwargs):
self._callback = kwargs.pop('callback')
def fcoe_fsb_fcoe_fsb_enable(self, **kwargs):
"""Auto Generated Code
"""
... | 49.55243 | 114 | 0.677781 | 2,630 | 19,375 | 4.656274 | 0.020152 | 0.135228 | 0.176221 | 0.080516 | 0.989384 | 0.989384 | 0.989384 | 0.989384 | 0.989384 | 0.989384 | 0 | 0 | 0.19969 | 19,375 | 391 | 115 | 49.55243 | 0.789759 | 0.044335 | 0 | 0.985294 | 1 | 0 | 0.203037 | 0.093081 | 0 | 0 | 0 | 0 | 0 | 1 | 0.106618 | false | 0 | 0.003676 | 0 | 0.216912 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
c0567dc47314bcaa4a712ac3fe3a0180b2592eb0 | 799 | py | Python | tests/test_commandline_history.py | sameerkhurana10/Montreal-Forced-Aligner | b64b6bf4aa0394d59236510a05453740e7e7ebf5 | [
"MIT"
] | null | null | null | tests/test_commandline_history.py | sameerkhurana10/Montreal-Forced-Aligner | b64b6bf4aa0394d59236510a05453740e7e7ebf5 | [
"MIT"
] | null | null | null | tests/test_commandline_history.py | sameerkhurana10/Montreal-Forced-Aligner | b64b6bf4aa0394d59236510a05453740e7e7ebf5 | [
"MIT"
] | null | null | null | from montreal_forced_aligner.command_line.mfa import parser, print_history
def test_mfa_history(
multilingual_ipa_tg_corpus_dir, english_ipa_acoustic_model, english_us_ipa_dictionary, temp_dir
):
command = ["history", "--depth", "60"]
args, unknown = parser.parse_known_args(command)
print_history(arg... | 28.535714 | 99 | 0.739675 | 104 | 799 | 5.269231 | 0.307692 | 0.120438 | 0.124088 | 0.160584 | 0.806569 | 0.806569 | 0.806569 | 0.806569 | 0.806569 | 0.806569 | 0 | 0.0059 | 0.151439 | 799 | 27 | 100 | 29.592593 | 0.80236 | 0 | 0 | 0.631579 | 0 | 0 | 0.062578 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0 | 0.052632 | 0 | 0.157895 | 0.263158 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 7 |
c05c0f0212eb35a5145d50c8092904defe4d0772 | 3,580 | py | Python | app/forms.py | SeulYoung/ContractManagement | 4a5ae774c340df6718aaa9af8b9f291924fb8a33 | [
"BSD-3-Clause"
] | 2 | 2018-12-11T02:51:51.000Z | 2020-11-17T13:42:18.000Z | app/forms.py | SeulYoung/ContractManagement | 4a5ae774c340df6718aaa9af8b9f291924fb8a33 | [
"BSD-3-Clause"
] | 6 | 2020-02-11T23:29:03.000Z | 2022-02-10T10:27:38.000Z | app/forms.py | SeulYoung/ContractManagement | 4a5ae774c340df6718aaa9af8b9f291924fb8a33 | [
"BSD-3-Clause"
] | 1 | 2019-07-12T09:07:42.000Z | 2019-07-12T09:07:42.000Z | from django import forms
from django.contrib.auth.models import User
from django.core.exceptions import ValidationError
from django.db.models import Q
class RegistrationForm(forms.Form):
username = forms.CharField(label='Username', max_length=40)
email = forms.EmailField(label='Email')
password1 = forms.C... | 36.907216 | 85 | 0.667318 | 382 | 3,580 | 6.17801 | 0.175393 | 0.059322 | 0.148305 | 0.076271 | 0.783475 | 0.733475 | 0.733475 | 0.733475 | 0.715254 | 0.715254 | 0 | 0.023585 | 0.230168 | 3,580 | 96 | 86 | 37.291667 | 0.832729 | 0 | 0 | 0.7375 | 0 | 0 | 0.075698 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0.35 | 0.05 | 0 | 0.4375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
fbfeda7759d4eae6c6cbe29577b1a67f0ef08511 | 4,055 | py | Python | resources/migrations/0091_add_two_permissions.py | mskoskel/respa | b1e148021b36e7153b9da60cff4a4a1167d23c90 | [
"MIT"
] | 49 | 2015-10-21T06:25:31.000Z | 2022-03-20T07:24:20.000Z | resources/migrations/0091_add_two_permissions.py | mskoskel/respa | b1e148021b36e7153b9da60cff4a4a1167d23c90 | [
"MIT"
] | 728 | 2015-06-24T13:26:54.000Z | 2022-03-24T12:18:41.000Z | resources/migrations/0091_add_two_permissions.py | digipointtku/respa | a529e0df4d3f072df7801adb5bf97a5f4abd1243 | [
"MIT"
] | 46 | 2015-06-26T10:52:57.000Z | 2021-12-17T09:38:25.000Z | # Generated by Django 2.2.10 on 2020-03-25 10:40
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('resources', '0090_more_changes_to_resource_price_fields'),
]
operations = [
migrations.AlterModelOptions(
name='resourcegroup',
... | 184.318182 | 1,845 | 0.778052 | 509 | 4,055 | 5.907662 | 0.165029 | 0.05587 | 0.119721 | 0.038244 | 0.819421 | 0.813435 | 0.732291 | 0.732291 | 0.589957 | 0.52012 | 0 | 0.005504 | 0.103822 | 4,055 | 21 | 1,846 | 193.095238 | 0.821959 | 0.011344 | 0 | 0.266667 | 1 | 0 | 0.795857 | 0.372099 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.133333 | 0.066667 | 0 | 0.266667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
220ddd7b2680d607a7991a6c8b74cf2908d31a24 | 362 | py | Python | product_management_models/product_supplies/views.py | reimibeta/django-product-management-models | f51e94cc6ae605ea21706ffe2baedc53b980112f | [
"Apache-2.0"
] | null | null | null | product_management_models/product_supplies/views.py | reimibeta/django-product-management-models | f51e94cc6ae605ea21706ffe2baedc53b980112f | [
"Apache-2.0"
] | null | null | null | product_management_models/product_supplies/views.py | reimibeta/django-product-management-models | f51e94cc6ae605ea21706ffe2baedc53b980112f | [
"Apache-2.0"
] | null | null | null | # product supply
from product_management_models.product_supplies.class_views.product_supply_view_set import *
# product supply stock
from product_management_models.product_supplies.class_views.product_supply_stock_view_set import *
# product supply delivery
from product_management_models.product_supplies.class_views.... | 40.222222 | 101 | 0.889503 | 49 | 362 | 6.102041 | 0.265306 | 0.26087 | 0.210702 | 0.270903 | 0.826087 | 0.652174 | 0.652174 | 0.652174 | 0.652174 | 0.652174 | 0 | 0 | 0.069061 | 362 | 8 | 102 | 45.25 | 0.88724 | 0.162983 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 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 | 9 |
224e52df1f90b29102d137741bcfefaf8b203f92 | 142 | py | Python | Oefeningen/standalone/functions_8.py | Seviran/Python_3 | e30ead250129d25bbc0a7ee2f6298775b2f4529a | [
"MIT"
] | null | null | null | Oefeningen/standalone/functions_8.py | Seviran/Python_3 | e30ead250129d25bbc0a7ee2f6298775b2f4529a | [
"MIT"
] | null | null | null | Oefeningen/standalone/functions_8.py | Seviran/Python_3 | e30ead250129d25bbc0a7ee2f6298775b2f4529a | [
"MIT"
] | null | null | null |
def multiple_letter_count(string):
return {letter: string.count(letter) for letter in string}
print(multiple_letter_count('awesome'))
| 20.285714 | 62 | 0.767606 | 19 | 142 | 5.526316 | 0.526316 | 0.266667 | 0.361905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126761 | 142 | 7 | 63 | 20.285714 | 0.846774 | 0 | 0 | 0 | 0 | 0 | 0.049296 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
224fa58f5d04d462331d8cccd967419c7638905c | 23,156 | py | Python | cronus/tests/test_cronus.py | ryanmwhitephd/cronus | 7b0b995977789540e77d9a672a2ac40d7420938a | [
"Apache-2.0"
] | null | null | null | cronus/tests/test_cronus.py | ryanmwhitephd/cronus | 7b0b995977789540e77d9a672a2ac40d7420938a | [
"Apache-2.0"
] | 1 | 2020-05-22T15:47:01.000Z | 2020-05-29T18:22:31.000Z | cronus/tests/test_cronus.py | ryanmwhitephd/cronus | 7b0b995977789540e77d9a672a2ac40d7420938a | [
"Apache-2.0"
] | null | null | null | #! /usr/bin/env python
# -*- coding: utf-8 -*-
# vim:fenc=utf-8
#
# Copyright © Her Majesty the Queen in Right of Canada, as represented
# by the Minister of Statistics Canada, 2019.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# ... | 35.734568 | 87 | 0.563785 | 2,396 | 23,156 | 5.316778 | 0.11227 | 0.031635 | 0.019625 | 0.032028 | 0.831462 | 0.818746 | 0.817019 | 0.802182 | 0.79394 | 0.785776 | 0 | 0.008707 | 0.320522 | 23,156 | 647 | 88 | 35.789799 | 0.800877 | 0.058473 | 0 | 0.804264 | 0 | 0 | 0.062012 | 0.02611 | 0 | 0 | 0 | 0 | 0.027132 | 1 | 0.021318 | false | 0.003876 | 0.023256 | 0 | 0.046512 | 0.071705 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
225b8ec6e0023088ba05f8100946997b3cbd3685 | 358 | py | Python | nighres/data/__init__.py | marcobarilari/nighres | e503bb96a6a73f73020c5d9d7b540bc5f17699a8 | [
"Apache-2.0"
] | 41 | 2017-08-15T12:23:31.000Z | 2022-02-28T15:12:22.000Z | nighres/data/__init__.py | marcobarilari/nighres | e503bb96a6a73f73020c5d9d7b540bc5f17699a8 | [
"Apache-2.0"
] | 130 | 2017-07-27T11:09:09.000Z | 2022-03-31T10:05:07.000Z | nighres/data/__init__.py | marcobarilari/nighres | e503bb96a6a73f73020c5d9d7b540bc5f17699a8 | [
"Apache-2.0"
] | 35 | 2017-08-17T17:05:41.000Z | 2022-03-28T12:22:14.000Z | from nighres.data.download_data import download_7T_TRT
from nighres.data.download_data import download_DTI_2mm
from nighres.data.download_data import download_DOTS_atlas
from nighres.data.download_data import download_MASSP_atlas
from nighres.data.download_data import download_MP2RAGEME_sample
from nighres.data.downloa... | 51.142857 | 64 | 0.899441 | 54 | 358 | 5.62963 | 0.296296 | 0.217105 | 0.296053 | 0.453947 | 0.842105 | 0.842105 | 0.842105 | 0.302632 | 0 | 0 | 0 | 0.008982 | 0.067039 | 358 | 6 | 65 | 59.666667 | 0.901198 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 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 | 10 |
2274ca6476f1e50112da58a409d41b44bf844021 | 2,491 | py | Python | tests/integration/users/test_authentication.py | e-dang/Autogarden | b15217e5d4755fc028b8dc4255cbdcb77ead80f4 | [
"MIT"
] | null | null | null | tests/integration/users/test_authentication.py | e-dang/Autogarden | b15217e5d4755fc028b8dc4255cbdcb77ead80f4 | [
"MIT"
] | null | null | null | tests/integration/users/test_authentication.py | e-dang/Autogarden | b15217e5d4755fc028b8dc4255cbdcb77ead80f4 | [
"MIT"
] | null | null | null | import pytest
from django.http import HttpRequest
from users.authentication import EmailBackend
@pytest.mark.integration
class TestEmailBackend:
@pytest.mark.django_db
def test_authenticate_returns_none_when_email_does_not_belong_to_any_user(self, create_user, test_password):
request = HttpRequest()
... | 32.350649 | 131 | 0.718988 | 321 | 2,491 | 5.196262 | 0.174455 | 0.083933 | 0.067146 | 0.07554 | 0.814149 | 0.814149 | 0.755396 | 0.755396 | 0.71223 | 0.61271 | 0 | 0.000507 | 0.20835 | 2,491 | 76 | 132 | 32.776316 | 0.845335 | 0 | 0 | 0.679245 | 0 | 0 | 0.013649 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 1 | 0.132075 | false | 0.169811 | 0.056604 | 0 | 0.207547 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
97e26b8a239b14375b224fa6ad990e5f15461370 | 21,030 | py | Python | src/tf_transformers/models/t5/convert.py | legacyai/tf-transformers | 65a5f9a4bcb3236483daa598a37b91673f56cb97 | [
"Apache-2.0"
] | 116 | 2021-03-15T09:48:41.000Z | 2022-03-24T05:15:51.000Z | src/tf_transformers/models/t5/convert.py | legacyai/tf-transformers | 65a5f9a4bcb3236483daa598a37b91673f56cb97 | [
"Apache-2.0"
] | 4 | 2021-03-20T11:20:57.000Z | 2022-01-05T04:59:07.000Z | src/tf_transformers/models/t5/convert.py | legacyai/tf-transformers | 65a5f9a4bcb3236483daa598a37b91673f56cb97 | [
"Apache-2.0"
] | 9 | 2021-03-17T04:14:48.000Z | 2021-09-13T07:15:31.000Z | import numpy as np
import tensorflow as tf
from absl import logging
from tf_transformers.core import keras_utils
def convert_t5_pt(model, config, model_name):
"""PT converter
Args:
model_hf: HuggingFace Model (TF)
model: tf_transformers model/layer
config: dict
Returns:
a ... | 46.423841 | 120 | 0.677699 | 2,621 | 21,030 | 5.109119 | 0.074781 | 0.07632 | 0.064521 | 0.055858 | 0.968636 | 0.964752 | 0.911657 | 0.896199 | 0.872228 | 0.812262 | 0 | 0.016334 | 0.208179 | 21,030 | 452 | 121 | 46.526549 | 0.787833 | 0.070756 | 0 | 0.710843 | 0 | 0 | 0.430726 | 0.367422 | 0 | 0 | 0 | 0 | 0.048193 | 1 | 0.006024 | false | 0 | 0.033133 | 0 | 0.039157 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
97f49d5c7e6cd996f56f9673f760ded621c3606f | 58,780 | py | Python | models.py | LucasCTN/Pupil-locator | 981c900c5d06aa783406b6c24ee0e8ee140195f1 | [
"MIT"
] | 32 | 2019-03-15T12:13:31.000Z | 2022-03-24T03:30:32.000Z | models.py | LucasCTN/Pupil-locator | 981c900c5d06aa783406b6c24ee0e8ee140195f1 | [
"MIT"
] | 3 | 2020-05-14T04:48:06.000Z | 2022-02-10T01:18:38.000Z | models.py | LucasCTN/Pupil-locator | 981c900c5d06aa783406b6c24ee0e8ee140195f1 | [
"MIT"
] | 14 | 2019-04-09T02:36:45.000Z | 2022-03-24T03:27:11.000Z | import tensorflow
import tensorflow.compat.v1 as tf
import tensorflow_hub as hub
from base_model import BaseModel
tf.disable_v2_behavior()
class Simple(object):
"""
Convolution model:
"""
def __init__(self, model_name, cfg, logger):
super(Simple, self).__init__(model_name, cfg, logger)
... | 51.561404 | 112 | 0.434961 | 5,664 | 58,780 | 4.290784 | 0.061617 | 0.023042 | 0.036909 | 0.085051 | 0.891166 | 0.843476 | 0.834177 | 0.801136 | 0.796033 | 0.791301 | 0 | 0.045578 | 0.46213 | 58,780 | 1,139 | 113 | 51.606673 | 0.723115 | 0.050306 | 0 | 0.729216 | 0 | 0 | 0.057906 | 0 | 0 | 0 | 0 | 0 | 0.002375 | 1 | 0.024941 | false | 0.004751 | 0.004751 | 0 | 0.048694 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3f3fa5a4b7dd46b50af7b24f6c980656320e67a5 | 194 | py | Python | test/test_triangle_construction.py | erichaase/topcoder-python | de285d8092a94f2ec1b5c0c33eba55b5c27a5390 | [
"MIT"
] | 1 | 2017-03-25T17:40:57.000Z | 2017-03-25T17:40:57.000Z | test/test_triangle_construction.py | erichaase/topcoder-python | de285d8092a94f2ec1b5c0c33eba55b5c27a5390 | [
"MIT"
] | null | null | null | test/test_triangle_construction.py | erichaase/topcoder-python | de285d8092a94f2ec1b5c0c33eba55b5c27a5390 | [
"MIT"
] | null | null | null | from test.assert_json import assert_json
from topcoder.triangle_construction import solution
def test_triangle_construction ():
assert_json('triangle_construction', solution)
| 32.333333 | 54 | 0.783505 | 22 | 194 | 6.590909 | 0.454545 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164948 | 194 | 5 | 55 | 38.8 | 0.895062 | 0 | 0 | 0 | 0 | 0 | 0.108247 | 0.108247 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 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 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
3f6d51c0eb68bf7beee6b900802689bf93708af8 | 22,204 | py | Python | gym-dubins-airplane/gym_dubins_airplane/envs/agent.py | Cenderme/super-octo-waddle | 723b838487dd8127f79b4797f76d427c928f56da | [
"MIT"
] | null | null | null | gym-dubins-airplane/gym_dubins_airplane/envs/agent.py | Cenderme/super-octo-waddle | 723b838487dd8127f79b4797f76d427c928f56da | [
"MIT"
] | null | null | null | gym-dubins-airplane/gym_dubins_airplane/envs/agent.py | Cenderme/super-octo-waddle | 723b838487dd8127f79b4797f76d427c928f56da | [
"MIT"
] | 1 | 2021-03-28T16:06:47.000Z | 2021-03-28T16:06:47.000Z | <<<<<<< HEAD
import numpy as np
import random
from model import QNetwork
from replay_buffer import ReplayBuffer
import torch
import torch.nn as nn
import torch.nn.functional as F
import torch.optim as optim
import math
import operator
BUFFER_SIZE = int(1e5)
BATCH_SIZE = 256 # minibatch size
GAMMA = 0... | 41.580524 | 153 | 0.608854 | 2,724 | 22,204 | 4.79185 | 0.103524 | 0.01379 | 0.024822 | 0.022064 | 0.836743 | 0.829081 | 0.818969 | 0.804106 | 0.800812 | 0.796369 | 0 | 0.011707 | 0.288281 | 22,204 | 533 | 154 | 41.658537 | 0.814276 | 0.276887 | 0 | 0.926531 | 0 | 0 | 0.003524 | 0 | 0 | 0 | 0 | 0.003752 | 0 | 0 | null | null | 0 | 0.122449 | null | null | 0.004082 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
58dad9d6e3852b2eedeceb86ac2f0d5f64da6302 | 43,068 | py | Python | day20/data.py | ogun/advent-of-code-2020 | 1dcf268f9f1f6cd7c46d442b6aaa9b19ec5b2cf1 | [
"MIT"
] | 4 | 2020-12-03T13:22:12.000Z | 2020-12-22T21:51:49.000Z | day20/data.py | ogun/advent-of-code-2020 | 1dcf268f9f1f6cd7c46d442b6aaa9b19ec5b2cf1 | [
"MIT"
] | null | null | null | day20/data.py | ogun/advent-of-code-2020 | 1dcf268f9f1f6cd7c46d442b6aaa9b19ec5b2cf1 | [
"MIT"
] | 1 | 2020-12-12T13:41:12.000Z | 2020-12-12T13:41:12.000Z | INPUT = {
2647: [
list("#....#####"),
list(".##......#"),
list("##......##"),
list(".....#..#."),
list(".........#"),
list(".....#..##"),
list("#.#....#.."),
list("#......#.#"),
list("#....##..#"),
list("...##....."),
],
1283: [... | 24.880416 | 27 | 0.147232 | 1,585 | 43,068 | 4.000631 | 0.092114 | 1.635073 | 2.180098 | 2.543447 | 0.908374 | 0.908374 | 0.908374 | 0.908374 | 0.908374 | 0.908374 | 0 | 0.020196 | 0.337791 | 43,068 | 1,730 | 28 | 24.894798 | 0.202139 | 0 | 0 | 0.763006 | 0 | 0 | 0.334355 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
453f5032c66fbc0cd7fe41bafbb9d5b22a41c276 | 164 | py | Python | ms_deisotope/test/test_library.py | mstim/ms_deisotope | 29f4f466e92e66b65a2d21eca714aa627caa21db | [
"Apache-2.0"
] | 18 | 2017-09-01T12:26:12.000Z | 2022-02-23T02:31:29.000Z | ms_deisotope/test/test_library.py | mstim/ms_deisotope | 29f4f466e92e66b65a2d21eca714aa627caa21db | [
"Apache-2.0"
] | 19 | 2017-03-12T20:40:36.000Z | 2022-03-31T22:50:47.000Z | ms_deisotope/test/test_library.py | mstim/ms_deisotope | 29f4f466e92e66b65a2d21eca714aa627caa21db | [
"Apache-2.0"
] | 14 | 2016-05-06T02:25:30.000Z | 2022-03-31T14:40:06.000Z | import ms_deisotope
import ms_peak_picker
def test_c_extensions_load():
assert ms_peak_picker.check_c_extensions()
assert ms_deisotope.check_c_extensions() | 27.333333 | 46 | 0.835366 | 25 | 164 | 4.96 | 0.48 | 0.266129 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109756 | 164 | 6 | 47 | 27.333333 | 0.849315 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 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 | 1 | 0 | 0 | 7 |
18bc050913b93c60b163305750204405919fa44b | 183 | py | Python | lambda-function.py | unbiased-coder/python-create-lambda-layer | f7bcf02a08a6a3e6dbf44ee2879cd9f95d3e729c | [
"Unlicense"
] | null | null | null | lambda-function.py | unbiased-coder/python-create-lambda-layer | f7bcf02a08a6a3e6dbf44ee2879cd9f95d3e729c | [
"Unlicense"
] | null | null | null | lambda-function.py | unbiased-coder/python-create-lambda-layer | f7bcf02a08a6a3e6dbf44ee2879cd9f95d3e729c | [
"Unlicense"
] | null | null | null | # layer is located in Python directory
import json
from layer import unbiased_coder_test_layer_function
def lambda_handler(event, context):
unbiased_coder_test_layer_function()
| 22.875 | 52 | 0.836066 | 26 | 183 | 5.538462 | 0.692308 | 0.180556 | 0.236111 | 0.305556 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125683 | 183 | 7 | 53 | 26.142857 | 0.9 | 0.196721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0 | 0.75 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
7a0826bfd470d08b1181ca0b314522c9c02dbbe5 | 132 | py | Python | src/hommmer/metrics/dummy_median.py | hammer-mt/hommmer | a02cb87841395f30911242a019f28f6ac15f27ec | [
"MIT"
] | 4 | 2021-11-09T21:27:30.000Z | 2021-11-23T00:38:20.000Z | src/hommmer/metrics/dummy_median.py | hammer-mt/hommmer | a02cb87841395f30911242a019f28f6ac15f27ec | [
"MIT"
] | null | null | null | src/hommmer/metrics/dummy_median.py | hammer-mt/hommmer | a02cb87841395f30911242a019f28f6ac15f27ec | [
"MIT"
] | null | null | null | import numpy as np
def dummy_median(y_actual):
# dummy median predictor
return np.full(y_actual.shape, np.median(y_actual)) | 26.4 | 55 | 0.75 | 22 | 132 | 4.318182 | 0.590909 | 0.221053 | 0.273684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 132 | 5 | 55 | 26.4 | 0.855856 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 8 |
e136455ed18f5c117b45a154de97ce26c3e0d90d | 15,020 | py | Python | baselines/herhrl/actor_critic.py | knowledgetechnologyuhh/goal_conditioned_RL_baselines | 915fc875fd8cc75accd0804d99373916756f726e | [
"MIT"
] | 15 | 2020-07-01T16:16:09.000Z | 2021-12-20T21:56:33.000Z | baselines/herhrl/actor_critic.py | knowledgetechnologyuhh/goal_conditioned_RL_baselines | 915fc875fd8cc75accd0804d99373916756f726e | [
"MIT"
] | 14 | 2020-09-25T22:41:20.000Z | 2022-03-12T00:38:44.000Z | baselines/herhrl/actor_critic.py | knowledgetechnologyuhh/goal_conditioned_RL_baselines | 915fc875fd8cc75accd0804d99373916756f726e | [
"MIT"
] | 2 | 2020-07-01T16:19:08.000Z | 2020-11-28T10:45:59.000Z | import tensorflow as tf
from baselines.util import store_args, nn
import math
import uuid
@tf.RegisterGradient("HeavisideGrad")
def _heaviside_grad(unused_op: tf.Operation, grad: tf.Tensor):
return tf.maximum(0.0, 1.0 - tf.abs(unused_op.inputs[0])) * grad
def heaviside(x: tf.Tensor, g: tf.Graph = tf.get_default_... | 49.245902 | 188 | 0.617177 | 2,087 | 15,020 | 4.269765 | 0.103498 | 0.026933 | 0.02424 | 0.02626 | 0.825833 | 0.812255 | 0.81001 | 0.801032 | 0.791606 | 0.783526 | 0 | 0.007851 | 0.279161 | 15,020 | 304 | 189 | 49.407895 | 0.815184 | 0.373901 | 0 | 0.754839 | 0 | 0 | 0.02035 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058065 | false | 0 | 0.025806 | 0.006452 | 0.167742 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e198fb68c680f8491f12365f6f0a9226dc81426e | 271 | py | Python | bpl_api/api/__init__.py | DuneRoot/bpl-api | 41470cf75c15b034636828fa476fd6e6a35880c6 | [
"MIT"
] | null | null | null | bpl_api/api/__init__.py | DuneRoot/bpl-api | 41470cf75c15b034636828fa476fd6e6a35880c6 | [
"MIT"
] | null | null | null | bpl_api/api/__init__.py | DuneRoot/bpl-api | 41470cf75c15b034636828fa476fd6e6a35880c6 | [
"MIT"
] | null | null | null | from bpl_api.api import Accounts
from bpl_api.api import Blocks
from bpl_api.api import Delegates
from bpl_api.api import Loader
from bpl_api.api import Multisignatures
from bpl_api.api import Peers
from bpl_api.api import Signatures
from bpl_api.api import Transactions
| 30.111111 | 39 | 0.852399 | 48 | 271 | 4.645833 | 0.25 | 0.251121 | 0.358744 | 0.466368 | 0.681614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118081 | 271 | 8 | 40 | 33.875 | 0.933054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 7 |
e1bde951309ff9bdd2597c2e51a3da17338d87cd | 16,733 | py | Python | port/modules/font/dvsmb_16.py | diskman88/mpython-desktop-robot | 01cd15fbeeba521ab874cf66f94d3909c4f8c39a | [
"MIT"
] | 53 | 2018-10-15T12:01:24.000Z | 2019-11-22T09:31:02.000Z | port/modules/font/dvsmb_16.py | diskman88/mpython-desktop-robot | 01cd15fbeeba521ab874cf66f94d3909c4f8c39a | [
"MIT"
] | 10 | 2018-10-17T13:42:19.000Z | 2019-11-25T06:42:40.000Z | port/modules/font/dvsmb_16.py | diskman88/mpython-desktop-robot | 01cd15fbeeba521ab874cf66f94d3909c4f8c39a | [
"MIT"
] | 26 | 2018-12-04T03:53:39.000Z | 2019-11-22T03:40:05.000Z | # Code generated by font-to-py.py.
# Font: dsmb.ttf
version = '0.26'
def height():
return 16
def max_width():
return 9
def hmap():
return True
def reverse():
return False
def monospaced():
return False
def min_ch():
return 32
def max_ch():
return 126
_font =\... | 62.204461 | 78 | 0.695392 | 3,989 | 16,733 | 2.911507 | 0.045876 | 0.586361 | 0.692785 | 0.700534 | 0.799552 | 0.752282 | 0.723696 | 0.697348 | 0.664371 | 0.639745 | 0 | 0.400934 | 0.039921 | 16,733 | 268 | 79 | 62.436567 | 0.322004 | 0.002809 | 0 | 0.094488 | 1 | 0.897638 | 0.890283 | 0.888943 | 0 | 1 | 0 | 0 | 0 | 1 | 0.031496 | false | 0 | 0 | 0.027559 | 0.062992 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 13 |
83204304c2f735e91218db683272b9bcc5d80e1b | 52,410 | py | Python | venv/lib/python3.6/site-packages/ansible_collections/junipernetworks/junos/plugins/module_utils/network/junos/argspec/bgp_address_family/bgp_address_family.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | 1 | 2020-01-22T13:11:23.000Z | 2020-01-22T13:11:23.000Z | venv/lib/python3.6/site-packages/ansible_collections/junipernetworks/junos/plugins/module_utils/network/junos/argspec/bgp_address_family/bgp_address_family.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | 12 | 2020-02-21T07:24:52.000Z | 2020-04-14T09:54:32.000Z | venv/lib/python3.6/site-packages/ansible_collections/junipernetworks/junos/plugins/module_utils/network/junos/argspec/bgp_address_family/bgp_address_family.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | null | null | null | #
# -*- coding: utf-8 -*-
# Copyright 2019 Red Hat
# GNU General Public License v3.0+
# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
#############################################
# WARNING #
#############################################
#
# This file is auto generated by ... | 58.558659 | 93 | 0.144457 | 1,456 | 52,410 | 4.993132 | 0.152473 | 0.128748 | 0.059422 | 0.07923 | 0.915131 | 0.907978 | 0.906465 | 0.906465 | 0.906465 | 0.906465 | 0 | 0.003002 | 0.777562 | 52,410 | 894 | 94 | 58.624161 | 0.620604 | 0.011906 | 0 | 0.674797 | 0 | 0 | 0.135692 | 0.0272 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001161 | false | 0.001161 | 0.004646 | 0 | 0.00813 | 0.001161 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
832e8297c3514e8c5a13c40b9e560fa2b232e673 | 11,776 | py | Python | weatherdata/notebook.py | godmac/weather | ad95110f0d4838037e56c934e6a96cc90f6bf27d | [
"Apache-2.0"
] | null | null | null | weatherdata/notebook.py | godmac/weather | ad95110f0d4838037e56c934e6a96cc90f6bf27d | [
"Apache-2.0"
] | null | null | null | weatherdata/notebook.py | godmac/weather | ad95110f0d4838037e56c934e6a96cc90f6bf27d | [
"Apache-2.0"
] | null | null | null | #! /usr/bin/python
# coding = utf-8
from Tkinter import *
class Notebook(Frame):
def __init__(self, parent, activerelief = SOLID, inactiverelief = SOLID, xpad = 4, ypad = 4, activefg = 'black',activebg='green',inactivebg='grey',bd=1,inactivefg = 'black', **kw): ... | 173.176471 | 7,811 | 0.779637 | 482 | 11,776 | 19.012448 | 0.510373 | 0.021606 | 0.011785 | 0.00993 | 0.029136 | 0.017678 | 0.004583 | 0 | 0 | 0 | 0 | 0.09814 | 0.173658 | 11,776 | 67 | 7,812 | 175.761194 | 0.843593 | 0.002802 | 0 | 0.035088 | 0 | 0.017544 | 0.673436 | 0.666324 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0.017544 | null | null | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
83653be6051c139ff35b1b646caf954226430577 | 10,739 | py | Python | python/dqTools/recordDB.py | WhiteTshirtXI/subgrid | 724dfd543c19563bd7874cf952c21f25dd7d1352 | [
"MIT"
] | null | null | null | python/dqTools/recordDB.py | WhiteTshirtXI/subgrid | 724dfd543c19563bd7874cf952c21f25dd7d1352 | [
"MIT"
] | 3 | 2018-10-22T08:35:17.000Z | 2018-11-07T16:14:36.000Z | python/dqTools/recordDB.py | otbrown/subgrid | 724dfd543c19563bd7874cf952c21f25dd7d1352 | [
"MIT"
] | 1 | 2020-05-07T07:48:02.000Z | 2020-05-07T07:48:02.000Z | """A simple library for serializing data to disk and allowing random
access.
Probably best not to use this-- either straightforward pickling or a
"proper" scientific format like netCDF or HDF.
I don't think any subgrid runs use this, but I can't be sure.
"""
import cPickle
import os.path
# i.e. 0.5GB
MAXFILESIZE = ... | 26.71393 | 78 | 0.495763 | 1,280 | 10,739 | 4.115625 | 0.142969 | 0.052392 | 0.03227 | 0.031891 | 0.812642 | 0.812642 | 0.812642 | 0.812642 | 0.812642 | 0.794609 | 0 | 0.012424 | 0.385418 | 10,739 | 401 | 79 | 26.780549 | 0.785758 | 0.11705 | 0 | 0.863014 | 0 | 0 | 0.024171 | 0 | 0 | 0 | 0 | 0 | 0.082192 | 1 | 0.109589 | false | 0.010274 | 0.006849 | 0.010274 | 0.226027 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
55e0cc112266db53f5499fa90a7d42f520af95c8 | 160 | py | Python | hass/triggers.py | drejkim/potter-pi | c900cf82877b0ef462f999e1620523b845faf45c | [
"MIT"
] | 5 | 2019-10-21T20:29:23.000Z | 2019-12-13T23:34:46.000Z | hass/triggers.py | drejkim/potter-pi | c900cf82877b0ef462f999e1620523b845faf45c | [
"MIT"
] | 8 | 2020-09-25T19:51:22.000Z | 2022-02-10T00:29:04.000Z | hass/triggers.py | estherjk/potter-pi | c900cf82877b0ef462f999e1620523b845faf45c | [
"MIT"
] | null | null | null | triggers = {
'lumos': 'automation.potter_pi_spell_lumos',
'nox': 'automation.potter_pi_spell_nox',
'revelio': 'automation.potter_pi_spell_revelio'
} | 32 | 51 | 0.725 | 19 | 160 | 5.631579 | 0.421053 | 0.448598 | 0.504673 | 0.64486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13125 | 160 | 5 | 52 | 32 | 0.769784 | 0 | 0 | 0 | 0 | 0 | 0.689441 | 0.596273 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
36306d9af175e649b8e9ba89c460c4df1038467f | 117 | py | Python | Beginner/2172.py | LorranSutter/URI-Online-Judge | aef885b9a7caa83484cf172e29eea8ec92fc3627 | [
"MIT"
] | null | null | null | Beginner/2172.py | LorranSutter/URI-Online-Judge | aef885b9a7caa83484cf172e29eea8ec92fc3627 | [
"MIT"
] | null | null | null | Beginner/2172.py | LorranSutter/URI-Online-Judge | aef885b9a7caa83484cf172e29eea8ec92fc3627 | [
"MIT"
] | null | null | null | X, M = tuple(map(int,input().split()))
while X != 0 or M != 0:
print(X*M)
X, M = tuple(map(int,input().split()))
| 19.5 | 40 | 0.547009 | 23 | 117 | 2.782609 | 0.478261 | 0.09375 | 0.21875 | 0.3125 | 0.71875 | 0.71875 | 0.71875 | 0 | 0 | 0 | 0 | 0.020833 | 0.179487 | 117 | 5 | 41 | 23.4 | 0.645833 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3640f43e6e97b1279d048873fb4e3a64fbfb7ac9 | 6,244 | py | Python | code/week0/ship.py | aaditgupta21/aaditgupta-tri3 | b37b113fd0c911e1f12163b3c037d4a2d750602d | [
"MIT"
] | null | null | null | code/week0/ship.py | aaditgupta21/aaditgupta-tri3 | b37b113fd0c911e1f12163b3c037d4a2d750602d | [
"MIT"
] | 4 | 2022-03-14T21:08:38.000Z | 2022-03-28T21:14:59.000Z | code/week0/ship.py | aaditgupta21/aaditgupta-tri3 | b37b113fd0c911e1f12163b3c037d4a2d750602d | [
"MIT"
] | 2 | 2022-03-17T21:35:49.000Z | 2022-03-28T06:27:41.000Z | #prefuncy.py
import time
import os
Color34 = "\u001b[34m"
Color37 = "\u001b[37m"
# As you can see, its not very optimal
def ship1():
print(" |\ ")
print(" |/ ")
print("\__ |__/ ")
print(" \____/ ")
print("\u001b[34m -------------------------------------------- \u001b[37m")
def ship2():
... | 26.570213 | 79 | 0.299968 | 397 | 6,244 | 4.314861 | 0.120907 | 0.467017 | 0.525394 | 0.467017 | 0.793929 | 0.793929 | 0.511967 | 0.511967 | 0.511967 | 0.488033 | 0 | 0.07985 | 0.402306 | 6,244 | 234 | 80 | 26.683761 | 0.379153 | 0.007687 | 0 | 0.756614 | 0 | 0 | 0.582916 | 0.142096 | 0 | 0 | 0 | 0 | 0 | 1 | 0.10582 | false | 0 | 0.010582 | 0 | 0.116402 | 0.534392 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
364e33cdd0396009d1d801788153717ed9c495b5 | 9,026 | py | Python | userbot/plugins/maskit.py | justteen/BUZZ-USERBOT | 55651cce150e1d04d2c61efb2565ef9f46b42933 | [
"BSL-1.0"
] | null | null | null | userbot/plugins/maskit.py | justteen/BUZZ-USERBOT | 55651cce150e1d04d2c61efb2565ef9f46b42933 | [
"BSL-1.0"
] | null | null | null | userbot/plugins/maskit.py | justteen/BUZZ-USERBOT | 55651cce150e1d04d2c61efb2565ef9f46b42933 | [
"BSL-1.0"
] | null | null | null | """
Kanged from Dark Cobra userbot
thanks to hellboy atul and his team
"""
import os
from PIL import Image
from userbot.utils import lightning_cmd
if not os.path.isdir("./dcobra/"):
os.makedirs("./dcobra/")
# made by @THE_B_LACK_HAT Some errors solved by Sh1vam
@borg.on(lightning_cmd(pattern=r".cmask"))
asy... | 22.397022 | 84 | 0.651562 | 1,155 | 9,026 | 5.015584 | 0.110823 | 0.036251 | 0.070085 | 0.077335 | 0.882099 | 0.882099 | 0.877611 | 0.877611 | 0.877611 | 0.877611 | 0 | 0.037185 | 0.225349 | 9,026 | 402 | 85 | 22.452736 | 0.790332 | 0.013406 | 0 | 0.840517 | 0 | 0 | 0.177925 | 0.044397 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.043103 | 0 | 0.043103 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
367b4206d0a7c802cde179041a8c565c2a07954c | 17 | py | Python | tests/inputs/if-branching/17-mergin-with-nonexistent.py | helq/pytropos | 497ed5902e6e4912249ca0a46b477f9bfa6ae80a | [
"MIT"
] | 4 | 2019-10-06T18:01:24.000Z | 2020-07-03T05:27:35.000Z | tests/inputs/if-branching/17-mergin-with-nonexistent.py | helq/pytropos | 497ed5902e6e4912249ca0a46b477f9bfa6ae80a | [
"MIT"
] | 5 | 2021-06-07T15:50:04.000Z | 2021-06-07T15:50:06.000Z | tests/inputs/if-branching/17-mergin-with-nonexistent.py | helq/pytropos | 497ed5902e6e4912249ca0a46b477f9bfa6ae80a | [
"MIT"
] | null | null | null | if _:
l = 21
| 5.666667 | 10 | 0.352941 | 3 | 17 | 1.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.529412 | 17 | 2 | 11 | 8.5 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
36844291ff3d0cd8be56a3c30b58711ae344f700 | 5,892 | py | Python | muarch/funcs/moments.py | DanielBok/muarch | c9bf60e3e029a443646fa35479ca2ed0dd23c31e | [
"MIT"
] | 14 | 2019-03-14T10:10:17.000Z | 2022-01-31T19:44:24.000Z | muarch/funcs/moments.py | DanielBok/muarch | c9bf60e3e029a443646fa35479ca2ed0dd23c31e | [
"MIT"
] | 2 | 2020-04-30T13:35:42.000Z | 2021-08-12T07:52:06.000Z | muarch/funcs/moments.py | DanielBok/muarch | c9bf60e3e029a443646fa35479ca2ed0dd23c31e | [
"MIT"
] | 11 | 2019-05-27T15:55:10.000Z | 2021-06-25T16:59:32.000Z | from typing import Union
import numpy as np
from scipy.stats import kurtosis, skew
from .time_unit import get_integer_time_unit
__all__ = ["get_annualized_kurtosis", "get_annualized_mean", "get_annualized_sd", "get_annualized_skew"]
def get_annualized_kurtosis(data: np.ndarray, time_unit: Union[int, str] = 'monthl... | 40.634483 | 114 | 0.683299 | 887 | 5,892 | 4.467869 | 0.137542 | 0.064598 | 0.042897 | 0.055514 | 0.845067 | 0.830936 | 0.824375 | 0.797376 | 0.767348 | 0.767348 | 0 | 0.011173 | 0.240496 | 5,892 | 144 | 115 | 40.916667 | 0.874413 | 0.66463 | 0 | 0.076923 | 0 | 0 | 0.084988 | 0.014268 | 0 | 0 | 0 | 0 | 0.038462 | 1 | 0.192308 | false | 0 | 0.153846 | 0 | 0.576923 | 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 | 1 | 0 | 0 | 7 |
36c35ae84774de6132db9626e3e3eca1b1ecd0c2 | 58,083 | py | Python | lib/load_mersi.py | NingAnMe/snow_cover_of_remote_sensing | aabd0f4754eb5200203fc8a90f06b603dcd260a8 | [
"Apache-2.0"
] | 1 | 2020-08-19T08:34:53.000Z | 2020-08-19T08:34:53.000Z | lib/load_mersi.py | NingAnMe/snow_cover_of_remote_sensing | aabd0f4754eb5200203fc8a90f06b603dcd260a8 | [
"Apache-2.0"
] | null | null | null | lib/load_mersi.py | NingAnMe/snow_cover_of_remote_sensing | aabd0f4754eb5200203fc8a90f06b603dcd260a8 | [
"Apache-2.0"
] | 1 | 2020-07-01T16:32:15.000Z | 2020-07-01T16:32:15.000Z | # -*- coding: utf-8 -*-
from datetime import datetime
import os
import re
import h5py
from lib.pb_io import attrs2dict
from lib.pb_sat import planck_r2t
from lib.read_base import ReadL1
import numpy as np
import pandas as pd
__description__ = 'MERSI传感器读取类'
__author__ = 'wangpeng'
__date__ = '2018-08-28'
__version__... | 36.370069 | 119 | 0.469845 | 6,516 | 58,083 | 3.977747 | 0.066912 | 0.042671 | 0.034724 | 0.055558 | 0.806628 | 0.788996 | 0.764381 | 0.739535 | 0.731664 | 0.709672 | 0 | 0.065202 | 0.42305 | 58,083 | 1,596 | 120 | 36.392857 | 0.708245 | 0.100305 | 0 | 0.721495 | 0 | 0.000935 | 0.091434 | 0.019499 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039252 | false | 0.000935 | 0.008411 | 0 | 0.083178 | 0.019626 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
36c5fe93bceb2ad1716f1173accb1e652c56a768 | 23,500 | py | Python | tensorflow/python/ops/gen_linalg_ops.py | shishaochen/TensorFlow-0.8-Win | 63221dfc4f1a1d064308e632ba12e6a54afe1fd8 | [
"Apache-2.0"
] | 1 | 2017-09-14T23:59:05.000Z | 2017-09-14T23:59:05.000Z | tensorflow/python/ops/gen_linalg_ops.py | shishaochen/TensorFlow-0.8-Win | 63221dfc4f1a1d064308e632ba12e6a54afe1fd8 | [
"Apache-2.0"
] | 1 | 2016-10-19T02:43:04.000Z | 2016-10-31T14:53:06.000Z | tensorflow/python/ops/gen_linalg_ops.py | shishaochen/TensorFlow-0.8-Win | 63221dfc4f1a1d064308e632ba12e6a54afe1fd8 | [
"Apache-2.0"
] | 8 | 2016-10-23T00:50:02.000Z | 2019-04-21T11:11:57.000Z | """Python wrappers around Brain.
This file is MACHINE GENERATED! Do not edit.
"""
from google.protobuf import text_format
from tensorflow.core.framework import op_def_pb2
from tensorflow.python.framework import op_def_registry
from tensorflow.python.framework import ops
from tensorflow.python.ops import op_def_libra... | 27.262181 | 130 | 0.617532 | 3,282 | 23,500 | 4.335161 | 0.094455 | 0.027059 | 0.023405 | 0.020101 | 0.849592 | 0.82668 | 0.805032 | 0.77467 | 0.751898 | 0.734467 | 0 | 0.006903 | 0.254128 | 23,500 | 861 | 131 | 27.293844 | 0.804827 | 0.591915 | 0 | 0.596349 | 1 | 0 | 0.660158 | 0.018409 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032454 | false | 0 | 0.010142 | 0 | 0.075051 | 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 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
36cb5d1c4b7bec5e622a27a676bcc79456f406f1 | 271 | py | Python | source/assetmgr_nuke/specifications.py | IngenuityEngine/ftrack-connect-foundry | a0d5ba788e3dc5c1536ebe9740bcf4393e3f5e1d | [
"MIT"
] | 1 | 2019-10-22T06:33:08.000Z | 2019-10-22T06:33:08.000Z | source/assetmgr_nuke/specifications.py | IngenuityEngine/ftrack-connect-foundry | a0d5ba788e3dc5c1536ebe9740bcf4393e3f5e1d | [
"MIT"
] | null | null | null | source/assetmgr_nuke/specifications.py | IngenuityEngine/ftrack-connect-foundry | a0d5ba788e3dc5c1536ebe9740bcf4393e3f5e1d | [
"MIT"
] | null | null | null | from FnAssetAPI.specifications import FileSpecification
from FnAssetAPI.specifications.Specification import TypedProperty as P
__all__ = ['NukeScriptSpecification',]
## @todo clean up code that uses these
from FnAssetAPI.specifications import NukeScriptSpecification
| 27.1 | 70 | 0.845018 | 27 | 271 | 8.333333 | 0.666667 | 0.186667 | 0.373333 | 0.302222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107011 | 271 | 9 | 71 | 30.111111 | 0.929752 | 0.129151 | 0 | 0 | 0 | 0 | 0.099567 | 0.099567 | 0 | 0 | 0 | 0.111111 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
36cc684054c5a101956b321c2173093b607d6120 | 298 | py | Python | pynumdiff/optimize/kalman_smooth/__init__.py | luckystarufo/PyNumDiff | 99ffeb0c118c6de715414af042020bb268941c99 | [
"MIT"
] | 60 | 2020-09-07T20:39:04.000Z | 2022-03-31T05:49:56.000Z | pynumdiff/optimize/kalman_smooth/__init__.py | luckystarufo/PyNumDiff | 99ffeb0c118c6de715414af042020bb268941c99 | [
"MIT"
] | 15 | 2020-11-09T03:58:39.000Z | 2022-03-15T16:35:31.000Z | pynumdiff/optimize/kalman_smooth/__init__.py | luckystarufo/PyNumDiff | 99ffeb0c118c6de715414af042020bb268941c99 | [
"MIT"
] | 8 | 2021-02-12T01:50:14.000Z | 2022-03-21T22:48:54.000Z | """
import useful functions from __kalman_smooth__
"""
from pynumdiff.optimize.kalman_smooth.__kalman_smooth__ import constant_velocity
from pynumdiff.optimize.kalman_smooth.__kalman_smooth__ import constant_acceleration
from pynumdiff.optimize.kalman_smooth.__kalman_smooth__ import constant_jerk
| 42.571429 | 84 | 0.885906 | 36 | 298 | 6.611111 | 0.333333 | 0.352941 | 0.264706 | 0.340336 | 0.743697 | 0.743697 | 0.743697 | 0.743697 | 0.743697 | 0 | 0 | 0 | 0.063758 | 298 | 6 | 85 | 49.666667 | 0.853047 | 0.154362 | 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 | 1 | 1 | 1 | 1 | 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 | 10 |
7fe690dececc6e447ca3ca49651f8dab323121e6 | 27,196 | py | Python | test/test_introspect.py | datakaveri/iudx-auth-server | c1ffc770f604e512aab332d89688ebbc6216f387 | [
"MIT"
] | null | null | null | test/test_introspect.py | datakaveri/iudx-auth-server | c1ffc770f604e512aab332d89688ebbc6216f387 | [
"MIT"
] | 7 | 2020-10-13T12:38:40.000Z | 2021-02-16T13:17:13.000Z | test/test_introspect.py | datakaveri/iudx-auth-server | c1ffc770f604e512aab332d89688ebbc6216f387 | [
"MIT"
] | 4 | 2020-09-03T09:29:57.000Z | 2020-12-21T07:55:10.000Z | import os
import pytest
from init import consumer
from init import provider
from init import resource_server
from init import catalogue_server
from init import file_server
from init import expect_failure
# for registration and resetting roles
from access import *
from consent import role_reg
# for setting session I... | 40.896241 | 127 | 0.502868 | 2,749 | 27,196 | 4.787559 | 0.064387 | 0.070207 | 0.071271 | 0.08396 | 0.87972 | 0.864296 | 0.852899 | 0.84021 | 0.832763 | 0.822354 | 0 | 0.053152 | 0.371856 | 27,196 | 664 | 128 | 40.957831 | 0.717263 | 0.01298 | 0 | 0.784906 | 0 | 0.009434 | 0.217306 | 0.065406 | 0 | 0 | 0 | 0 | 0.326415 | 1 | 0.037736 | false | 0 | 0.024528 | 0.001887 | 0.064151 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e9e2b9e0b229db108387b5c215ceee9a47ba4fab | 3,178 | py | Python | tests/test_converter_bad_request.py | NHSDigital/fhir-converter | 02d3650dd328eb6ccd52b2fbabcc2b38e95625fc | [
"MIT"
] | null | null | null | tests/test_converter_bad_request.py | NHSDigital/fhir-converter | 02d3650dd328eb6ccd52b2fbabcc2b38e95625fc | [
"MIT"
] | 53 | 2021-09-22T09:34:31.000Z | 2022-03-28T15:18:09.000Z | tests/test_converter_bad_request.py | NHSDigital/fhir-converter | 02d3650dd328eb6ccd52b2fbabcc2b38e95625fc | [
"MIT"
] | null | null | null | import pytest
import requests
from .example_loader import load_example, load_error
class TestConverterBadRequest:
@pytest.fixture()
def url(self, proxy_url: str) -> str:
return f"{proxy_url}/$convert"
@pytest.mark.parametrize("accept", [
# "application/fhir+json; fhirVersion=4.0" -> vali... | 36.113636 | 95 | 0.637193 | 354 | 3,178 | 5.567797 | 0.169492 | 0.106545 | 0.115677 | 0.167428 | 0.863014 | 0.808219 | 0.77169 | 0.752917 | 0.731608 | 0.686961 | 0 | 0.021776 | 0.248584 | 3,178 | 87 | 96 | 36.528736 | 0.803601 | 0.05129 | 0 | 0.590164 | 0 | 0 | 0.297369 | 0.094239 | 0 | 0 | 0 | 0 | 0.131148 | 1 | 0.081967 | false | 0 | 0.04918 | 0.016393 | 0.163934 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 7 |
e9e364c5a69decd3ab711e4c1dfade27dd507d1b | 34,433 | py | Python | validitysensor/blobs_9d.py | hmatrjp/python-validity | 5bf6b2bd10444fef1ed1552e71e9a08bf12d1b8b | [
"MIT"
] | 510 | 2019-05-19T15:49:40.000Z | 2022-03-29T19:57:39.000Z | validitysensor/blobs_9d.py | hmatrjp/python-validity | 5bf6b2bd10444fef1ed1552e71e9a08bf12d1b8b | [
"MIT"
] | 114 | 2020-03-31T20:38:21.000Z | 2022-03-28T17:16:55.000Z | validitysensor/blobs_9d.py | hmatrjp/python-validity | 5bf6b2bd10444fef1ed1552e71e9a08bf12d1b8b | [
"MIT"
] | 56 | 2019-07-30T11:25:40.000Z | 2022-03-18T18:16:24.000Z | from .util import unhex
init_hardcoded = unhex('''
06020000014a231406e5542fc6dc3b1aedebe68f55596ad3ca13f6e019994c6f71672fff756fbde0511d09d45978b12ba415b3694a0e763
48c8cfe9dbb9abf86813fc0c67c1005519a6f87360c2fb3e12bd0a9e012b06d9f5c9b44ccc6645b0fbd47afe45c8c874fcb88fbfd18fb7a
9b3241351f256acce689f9586a52b01f8fdcb66cdf3b... | 106.934783 | 111 | 0.989284 | 327 | 34,433 | 104.149847 | 0.981651 | 0.000763 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.627577 | 0.009642 | 34,433 | 321 | 112 | 107.267913 | 0.371133 | 0 | 0 | 0.012618 | 0 | 0 | 0.995324 | 0.986263 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.003155 | 0 | 0.003155 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
18070e5e5294df43ad07237dbd5eb6d1bc6ac667 | 5,717 | py | Python | spec/codecs/netflow_stress.py | andsel/logstash-codec-netflow | bce0308260ebcd72af825cd52f48b0af88dfe66d | [
"Apache-2.0"
] | 85 | 2015-04-12T01:22:25.000Z | 2021-11-09T10:55:58.000Z | spec/codecs/netflow_stress.py | andsel/logstash-codec-netflow | bce0308260ebcd72af825cd52f48b0af88dfe66d | [
"Apache-2.0"
] | 186 | 2015-01-12T20:51:46.000Z | 2022-01-27T13:31:33.000Z | spec/codecs/netflow_stress.py | andsel/logstash-codec-netflow | bce0308260ebcd72af825cd52f48b0af88dfe66d | [
"Apache-2.0"
] | 107 | 2015-01-12T19:42:20.000Z | 2021-11-03T11:08:57.000Z | import socket
import sys
import time
import random
## Standalone Netflow v9 stressor
## Used to reproduce issue 91 https://github.com/logstash-plugins/logstash-codec-netflow/issues/91
host = 'host02'
port = 2055
tpl = '\x00\t\x00\x01e\x9c\xc0_XF\x8eU\x01u\xc7\x03\x00\x00\x08\x81\x00\x00\x00d\x01\x04\x00\x17\x00\x0... | 184.419355 | 4,680 | 0.729404 | 1,347 | 5,717 | 3.093541 | 0.16778 | 0.5054 | 0.468683 | 0.449244 | 0.564195 | 0.533237 | 0.515959 | 0.447564 | 0.411087 | 0.403888 | 0 | 0.369154 | 0.020115 | 5,717 | 30 | 4,681 | 190.566667 | 0.374688 | 0.023789 | 0 | 0 | 0 | 0.105263 | 0.929865 | 0.916771 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.210526 | 0 | 0.210526 | 0.105263 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
180da8e8d342ff97d31fc39f55105a5257216d9a | 4,202 | py | Python | map/migrations/0002_auto_20190426_2013.py | KushalVijay/DSCSolution-Step-to-Cure-India | d452e46b3e2879bdd7f80461cb42814795584783 | [
"MIT"
] | 1 | 2020-04-26T06:35:08.000Z | 2020-04-26T06:35:08.000Z | map/migrations/0002_auto_20190426_2013.py | KushalVijay/DSCSolution-Step-to-Cure-India | d452e46b3e2879bdd7f80461cb42814795584783 | [
"MIT"
] | null | null | null | map/migrations/0002_auto_20190426_2013.py | KushalVijay/DSCSolution-Step-to-Cure-India | d452e46b3e2879bdd7f80461cb42814795584783 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.17 on 2019-04-26 14:43
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('map', '0001_initial'),
]
operations = [
migrations.AlterFiel... | 33.349206 | 74 | 0.535697 | 378 | 4,202 | 5.809524 | 0.169312 | 0.200364 | 0.250455 | 0.290528 | 0.882969 | 0.882969 | 0.86612 | 0.86612 | 0.86612 | 0.844262 | 0 | 0.01207 | 0.349357 | 4,202 | 125 | 75 | 33.616 | 0.791149 | 0.016421 | 0 | 0.745763 | 1 | 0 | 0.107865 | 0.023471 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.016949 | 0 | 0.042373 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
1816a03089b5de39cd8afc1b0bdbe2730768077a | 22,557 | py | Python | bombbomb/apis/files_api.py | bombbomb/bombbomb-python-openapi | d1623cb06e58fdc83b04603a589e9d30e7eb3fdf | [
"Apache-2.0"
] | null | null | null | bombbomb/apis/files_api.py | bombbomb/bombbomb-python-openapi | d1623cb06e58fdc83b04603a589e9d30e7eb3fdf | [
"Apache-2.0"
] | null | null | null | bombbomb/apis/files_api.py | bombbomb/bombbomb-python-openapi | d1623cb06e58fdc83b04603a589e9d30e7eb3fdf | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
BombBomb
We make it easy to build relationships using simple videos.
OpenAPI spec version: 2.0.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compl... | 39.093588 | 113 | 0.56488 | 2,426 | 22,557 | 5.039571 | 0.095218 | 0.065434 | 0.022902 | 0.029445 | 0.892361 | 0.88091 | 0.865042 | 0.846475 | 0.837069 | 0.828562 | 0 | 0.00158 | 0.354524 | 22,557 | 576 | 114 | 39.161458 | 0.838118 | 0.34885 | 0 | 0.741445 | 1 | 0 | 0.152338 | 0.042985 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041825 | false | 0 | 0.026616 | 0 | 0.129278 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
186089ac079fe93691c5ed9c3d718790ce31b13d | 4,021 | py | Python | interpreter/definitions/truth_table.py | dragonoverlord3000/PropLogic | 583ef0e4beef8500d29ba54c1a4c7071d2a4fddc | [
"MIT"
] | 2 | 2021-09-12T08:46:12.000Z | 2022-01-14T09:07:46.000Z | interpreter/definitions/truth_table.py | dragonoverlord3000/PropLogic | 583ef0e4beef8500d29ba54c1a4c7071d2a4fddc | [
"MIT"
] | null | null | null | interpreter/definitions/truth_table.py | dragonoverlord3000/PropLogic | 583ef0e4beef8500d29ba54c1a4c7071d2a4fddc | [
"MIT"
] | null | null | null | from interpreter.definitions.tokens import Token, TokenType
# The important part is the `truth_table_dict` at the bottom
"""
These functions take TokenType.TRUE and TokenType.FALSE as input and returns a new
Token of either type TRUE or type FALSE, depending on the input.
"""
# Negation '~'
def negation_truth_tabl... | 38.663462 | 100 | 0.684158 | 539 | 4,021 | 5.048237 | 0.102041 | 0.200662 | 0.113194 | 0.124954 | 0.740537 | 0.740537 | 0.740537 | 0.732819 | 0.732819 | 0.732819 | 0 | 0 | 0.194728 | 4,021 | 103 | 101 | 39.038835 | 0.840334 | 0.050982 | 0 | 0.746479 | 0 | 0.070423 | 0.124897 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.084507 | false | 0 | 0.014085 | 0 | 0.408451 | 0.084507 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
187261d20befd8b3efc31210e376c8d3c5a80ec1 | 12,233 | py | Python | tests/test_encryption.py | 00mjk/pypsrp | 540bad3ad2a9c2c12408ccf787db67ba76377566 | [
"MIT"
] | 1 | 2022-03-11T20:07:11.000Z | 2022-03-11T20:07:11.000Z | tests/test_encryption.py | 00mjk/pypsrp | 540bad3ad2a9c2c12408ccf787db67ba76377566 | [
"MIT"
] | null | null | null | tests/test_encryption.py | 00mjk/pypsrp | 540bad3ad2a9c2c12408ccf787db67ba76377566 | [
"MIT"
] | 1 | 2022-03-11T20:07:12.000Z | 2022-03-11T20:07:12.000Z | import collections
import pytest
from pypsrp.encryption import WinRMEncryption
from pypsrp.exceptions import WinRMError
WrapIOVResult = collections.namedtuple("WrapIOVResult", ["buffers"])
WrapResult = collections.namedtuple("WrapResult", ["data"])
class MockAuth:
def __init__(self, padding=False):
sel... | 45.988722 | 118 | 0.64702 | 1,398 | 12,233 | 5.602289 | 0.080114 | 0.025536 | 0.10572 | 0.111593 | 0.896578 | 0.894152 | 0.890449 | 0.870531 | 0.825077 | 0.794305 | 0 | 0.027506 | 0.230279 | 12,233 | 265 | 119 | 46.162264 | 0.804269 | 0.006867 | 0 | 0.735683 | 0 | 0.039648 | 0.459537 | 0.312752 | 0 | 0 | 0 | 0 | 0.096916 | 1 | 0.079295 | false | 0 | 0.017621 | 0.008811 | 0.114537 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
43e67ce55c58b7e5112e786b6b49b1c852d329f1 | 95 | py | Python | contrib/wydget/wydget/dialogs/__init__.py | bitcraft/pyglet | 144257c365ca85528c6a4c5bed8141e683d7a9b6 | [
"BSD-3-Clause"
] | 15 | 2015-01-21T12:29:01.000Z | 2018-12-09T09:17:33.000Z | contrib/wydget/wydget/dialogs/__init__.py | bitcraft/pyglet | 144257c365ca85528c6a4c5bed8141e683d7a9b6 | [
"BSD-3-Clause"
] | null | null | null | contrib/wydget/wydget/dialogs/__init__.py | bitcraft/pyglet | 144257c365ca85528c6a4c5bed8141e683d7a9b6 | [
"BSD-3-Clause"
] | 9 | 2015-12-12T09:12:46.000Z | 2021-12-26T13:29:14.000Z | from wydget.dialogs.question import Question, Message
from wydget.dialogs.file import FileOpen
| 31.666667 | 53 | 0.852632 | 13 | 95 | 6.230769 | 0.615385 | 0.246914 | 0.419753 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094737 | 95 | 2 | 54 | 47.5 | 0.94186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
43fa6a88b8f50a6b63b608fb0c534077b53f0078 | 1,420 | py | Python | utility_calculation/value_iterator.py | veeral-agarwal/value-iteration | e33b01a62616972e0202f3c1557c55999cd723ec | [
"MIT"
] | null | null | null | utility_calculation/value_iterator.py | veeral-agarwal/value-iteration | e33b01a62616972e0202f3c1557c55999cd723ec | [
"MIT"
] | null | null | null | utility_calculation/value_iterator.py | veeral-agarwal/value-iteration | e33b01a62616972e0202f3c1557c55999cd723ec | [
"MIT"
] | null | null | null | A = [0]
B = [0]
C = [0]
# change your R here
R = [16.6]
for i in range(1,4):
# For A
print("V"+str(i)+"(A) = max(0.8(-1+γ("+str(B[i-1])+")) + 0.2(-1+γ("+str(A[i-1])+"))," + "0.8(-1+γ("+str(C[i-1])+")) + 0.2(-1+γ("+str(A[i-1])+"))")
print("= max(" + str( (0.8*(-1+(0.2*B[i-1]))) + 0.2*(-1+(0.2*A[i-1])) ) +" ... | 61.73913 | 150 | 0.352817 | 357 | 1,420 | 1.403361 | 0.07563 | 0.155689 | 0.191617 | 0.095808 | 0.816367 | 0.736527 | 0.696607 | 0.642715 | 0.620758 | 0.620758 | 0 | 0.168576 | 0.139437 | 1,420 | 22 | 151 | 64.545455 | 0.241408 | 0.016901 | 0 | 0 | 0 | 0 | 0.165111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.529412 | 0 | 0 | 1 | null | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 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 | 1 | 0 | 7 |
a1047b92f74f6c074da4af1b0ec1142a0104b41b | 239 | py | Python | clay/utils/__init__.py | lucuma/Clay | 07923ddb5b710cdea21fd7c4667e4189ebc0640e | [
"Apache-2.0"
] | 35 | 2015-02-12T15:34:47.000Z | 2021-09-27T17:16:04.000Z | clay/utils/__init__.py | lucuma/Clay | 07923ddb5b710cdea21fd7c4667e4189ebc0640e | [
"Apache-2.0"
] | 11 | 2015-01-11T20:48:49.000Z | 2020-12-23T18:52:22.000Z | clay/utils/__init__.py | lucuma/Clay | 07923ddb5b710cdea21fd7c4667e4189ebc0640e | [
"Apache-2.0"
] | 10 | 2015-02-27T19:48:46.000Z | 2018-06-24T09:39:27.000Z | from .active import * # noqa
from .jinja_render import * # noqa
from .jinja_includewith import * # noqa
from .load_config import * # noqa
from .make_matcher import * # noqa
from .multidict import * # noqa
from .urls import * # noqa
| 29.875 | 40 | 0.707113 | 32 | 239 | 5.15625 | 0.40625 | 0.424242 | 0.509091 | 0.230303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205021 | 239 | 7 | 41 | 34.142857 | 0.868421 | 0.142259 | 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 | 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 | 7 |
a13704fd85c90d0c743e4cf5aa349240d8b903a2 | 26,837 | py | Python | sdk/python/pulumi_azure/datashare/dataset_data_lake_gen2.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/datashare/dataset_data_lake_gen2.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/datashare/dataset_data_lake_gen2.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 53.248016 | 242 | 0.682118 | 3,511 | 26,837 | 5.013956 | 0.061521 | 0.042718 | 0.068394 | 0.057941 | 0.896842 | 0.882584 | 0.872188 | 0.858668 | 0.855771 | 0.824074 | 0 | 0.008341 | 0.236129 | 26,837 | 503 | 243 | 53.353877 | 0.85039 | 0.499013 | 0 | 0.677291 | 1 | 0 | 0.104665 | 0.006521 | 0 | 0 | 0 | 0 | 0 | 1 | 0.159363 | false | 0.003984 | 0.01992 | 0 | 0.2749 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a15c2e7ccc904deef243667fd0f9632cd183ce42 | 17,312 | py | Python | networkapi/api_network/tests/v3/sanity/networkipv4/sync/test_put.py | treviza153/GloboNetworkAPI | 9ca8ba7febdef0eb716514196b1bda1afdccd851 | [
"Apache-2.0"
] | 73 | 2015-04-13T17:56:11.000Z | 2022-03-24T06:13:07.000Z | networkapi/api_network/tests/v3/sanity/networkipv4/sync/test_put.py | treviza153/GloboNetworkAPI | 9ca8ba7febdef0eb716514196b1bda1afdccd851 | [
"Apache-2.0"
] | 99 | 2015-04-03T01:04:46.000Z | 2021-10-03T23:24:48.000Z | networkapi/api_network/tests/v3/sanity/networkipv4/sync/test_put.py | treviza153/GloboNetworkAPI | 9ca8ba7febdef0eb716514196b1bda1afdccd851 | [
"Apache-2.0"
] | 64 | 2015-08-05T21:26:29.000Z | 2022-03-22T01:06:28.000Z | # -*- coding: utf-8 -*-
import json
from django.test.client import Client
from networkapi.test.test_case import NetworkApiTestCase
class NetworkIPv4PutSuccessTestCase(NetworkApiTestCase):
fixtures = [
'networkapi/system/fixtures/initial_variables.json',
'networkapi/usuario/fixtures/initial_usua... | 42.957816 | 91 | 0.701941 | 2,019 | 17,312 | 5.743437 | 0.072313 | 0.111073 | 0.095291 | 0.122111 | 0.959555 | 0.956795 | 0.938772 | 0.922301 | 0.91704 | 0.913677 | 0 | 0.011627 | 0.195183 | 17,312 | 402 | 92 | 43.064677 | 0.820642 | 0.059901 | 0 | 0.855556 | 0 | 0 | 0.481943 | 0.444271 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0.011111 | 0.011111 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
a193e96bb4198b60322ca46c6e10fb184a154ef6 | 18,878 | py | Python | discovery-provider/alembic/versions/6b5186e7d28f_replace_aggregate_plays_mat_view_with_.py | Tenderize/audius-protocol | aa15844e3f12812fe8aaa81e2cb6e5c5fa89ff51 | [
"Apache-2.0"
] | 1 | 2022-03-27T21:40:36.000Z | 2022-03-27T21:40:36.000Z | discovery-provider/alembic/versions/6b5186e7d28f_replace_aggregate_plays_mat_view_with_.py | Tenderize/audius-protocol | aa15844e3f12812fe8aaa81e2cb6e5c5fa89ff51 | [
"Apache-2.0"
] | null | null | null | discovery-provider/alembic/versions/6b5186e7d28f_replace_aggregate_plays_mat_view_with_.py | Tenderize/audius-protocol | aa15844e3f12812fe8aaa81e2cb6e5c5fa89ff51 | [
"Apache-2.0"
] | null | null | null | """Replace aggregate_plays mat view with table
Revision ID: 6b5186e7d28f
Revises: 36eac5ed00bf
Create Date: 2021-11-19 20:54:17.596441
"""
from alembic import op
# revision identifiers, used by Alembic.
revision = '6b5186e7d28f'
down_revision = '36eac5ed00bf'
branch_labels = None
depends_on = None
def upgrade():
... | 40.51073 | 114 | 0.471448 | 2,065 | 18,878 | 4.061985 | 0.079903 | 0.047926 | 0.032427 | 0.045303 | 0.841202 | 0.833929 | 0.827015 | 0.811636 | 0.800668 | 0.800668 | 0 | 0.010691 | 0.484691 | 18,878 | 465 | 115 | 40.597849 | 0.851563 | 0.009111 | 0 | 0.864055 | 0 | 0 | 0.985453 | 0.075837 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004608 | false | 0 | 0.002304 | 0 | 0.006912 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
a1b20ae37f1f0b68baa57075525d760225dacef3 | 8,905 | py | Python | api/resources.py | annevandalfsen/screenbird | 38b70302be3b3dc0c74b6aae8e09666115592aef | [
"MIT",
"Unlicense"
] | 121 | 2015-01-01T23:31:36.000Z | 2021-05-27T04:24:44.000Z | api/resources.py | annevandalfsen/screenbird | 38b70302be3b3dc0c74b6aae8e09666115592aef | [
"MIT",
"Unlicense"
] | 1 | 2021-06-10T23:44:37.000Z | 2021-06-10T23:44:37.000Z | api/resources.py | annevandalfsen/screenbird | 38b70302be3b3dc0c74b6aae8e09666115592aef | [
"MIT",
"Unlicense"
] | 31 | 2015-01-13T00:23:33.000Z | 2017-05-13T21:50:29.000Z | from django.core.urlresolvers import reverse
from djangorestframework.compat import View
from djangorestframework.mixins import ResponseMixin
from djangorestframework.renderers import JSONRenderer
from django.contrib.auth.models import User
from djangorestframework.resources import ModelResource
from djangorestframewor... | 39.229075 | 104 | 0.428636 | 712 | 8,905 | 5.217697 | 0.125 | 0.077524 | 0.07537 | 0.074293 | 0.832571 | 0.831225 | 0.831225 | 0.811306 | 0.791386 | 0.791386 | 0 | 0.013541 | 0.502414 | 8,905 | 226 | 105 | 39.402655 | 0.82487 | 0.036159 | 0 | 0.837696 | 0 | 0 | 0.026779 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026178 | false | 0.041885 | 0.04712 | 0 | 0.162304 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
a1d654cdbf9f078019f0d284acb1af615b604380 | 1,239 | py | Python | tests/test_core_parser_base.py | ejoerns/flamingo | 1d61c99c9ad34dd0a2a652f80783226051e07238 | [
"Apache-2.0"
] | null | null | null | tests/test_core_parser_base.py | ejoerns/flamingo | 1d61c99c9ad34dd0a2a652f80783226051e07238 | [
"Apache-2.0"
] | null | null | null | tests/test_core_parser_base.py | ejoerns/flamingo | 1d61c99c9ad34dd0a2a652f80783226051e07238 | [
"Apache-2.0"
] | null | null | null | def test_base_parser_import():
from flamingo.core.parser import ContentParser # NOQA
def test_meta_data_parsing():
from io import StringIO
from flamingo.core.parser import ContentParser
from flamingo.core.data_model import Content
raw_content = StringIO("""
a: content of a
b: content of... | 21.736842 | 79 | 0.599677 | 158 | 1,239 | 4.607595 | 0.196203 | 0.098901 | 0.024725 | 0.06044 | 0.821429 | 0.821429 | 0.708791 | 0.708791 | 0.708791 | 0.708791 | 0 | 0 | 0.252623 | 1,239 | 56 | 80 | 22.125 | 0.786177 | 0.02502 | 0 | 0.888889 | 0 | 0 | 0.255814 | 0 | 0 | 0 | 0 | 0 | 0.277778 | 1 | 0.055556 | false | 0 | 0.138889 | 0 | 0.194444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a1f58e5f63b2bbee8b0c6e6daf3639345ffeee47 | 167 | py | Python | python/testData/surround/CustomFoldingRegionSeveralMethods_after.py | teddywest32/intellij-community | e0268d7a1da1d318b441001448cdd3e8929b2f29 | [
"Apache-2.0"
] | null | null | null | python/testData/surround/CustomFoldingRegionSeveralMethods_after.py | teddywest32/intellij-community | e0268d7a1da1d318b441001448cdd3e8929b2f29 | [
"Apache-2.0"
] | null | null | null | python/testData/surround/CustomFoldingRegionSeveralMethods_after.py | teddywest32/intellij-community | e0268d7a1da1d318b441001448cdd3e8929b2f29 | [
"Apache-2.0"
] | 1 | 2020-11-27T10:36:50.000Z | 2020-11-27T10:36:50.000Z | class C:
def m1(self):
pass
# <editor-fold desc="Description">
def m2(self):
pass
def m3(self):
pass
# </editor-fold> | 15.181818 | 38 | 0.479042 | 20 | 167 | 4 | 0.6 | 0.3 | 0.35 | 0.45 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.389222 | 167 | 11 | 39 | 15.181818 | 0.754902 | 0.281437 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.428571 | 0 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
62983c086dd7e849d4f05d580b280f039ed2b429 | 18,686 | py | Python | tests/test_decompressor_stream_reader.py | odidev/python-zstandard | 477776e6019478ca1c0b5777b073afbec70975f5 | [
"BSD-3-Clause"
] | 316 | 2016-09-04T19:00:27.000Z | 2022-03-30T09:52:10.000Z | tests/test_decompressor_stream_reader.py | odidev/python-zstandard | 477776e6019478ca1c0b5777b073afbec70975f5 | [
"BSD-3-Clause"
] | 154 | 2016-09-30T03:12:16.000Z | 2022-03-02T21:08:55.000Z | tests/test_decompressor_stream_reader.py | odidev/python-zstandard | 477776e6019478ca1c0b5777b073afbec70975f5 | [
"BSD-3-Clause"
] | 67 | 2016-11-04T13:03:20.000Z | 2022-03-28T22:19:51.000Z | import io
import os
import unittest
import zstandard as zstd
from .common import (
CustomBytesIO,
)
class TestDecompressor_stream_reader(unittest.TestCase):
def test_context_manager(self):
dctx = zstd.ZstdDecompressor()
with dctx.stream_reader(b"foo") as reader:
with self.assert... | 31.510961 | 79 | 0.595205 | 2,116 | 18,686 | 5.1862 | 0.095463 | 0.112083 | 0.114817 | 0.078185 | 0.848369 | 0.809732 | 0.781757 | 0.746309 | 0.710042 | 0.694369 | 0 | 0.017762 | 0.288933 | 18,686 | 592 | 80 | 31.564189 | 0.808158 | 0.043776 | 0 | 0.757075 | 0 | 0 | 0.041349 | 0 | 0 | 0 | 0 | 0 | 0.339623 | 1 | 0.054245 | false | 0.011792 | 0.011792 | 0 | 0.068396 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
62aa2c2465ec06df3dd23e72da9632b91edb5253 | 5,358 | py | Python | Freeze/setup_basic.py | wert23239/Meta-MarIO-2 | 54e19f4ba166180e3ede026d87824e8ee8877520 | [
"MIT"
] | 17 | 2017-07-05T15:00:33.000Z | 2020-08-14T01:14:57.000Z | Freeze/setup_basic.py | wert23239/Meta-MarIO-2 | 54e19f4ba166180e3ede026d87824e8ee8877520 | [
"MIT"
] | null | null | null | Freeze/setup_basic.py | wert23239/Meta-MarIO-2 | 54e19f4ba166180e3ede026d87824e8ee8877520 | [
"MIT"
] | 7 | 2017-07-18T03:22:32.000Z | 2021-11-26T00:54:18.000Z | # -*- coding: utf-8 -*-
# A very simple setup script to create a single executable
#
# hello.py is a very simple 'Hello, world' type script which also displays the
# environment in which the script runs
# Run the build process by running the command 'python setup.py build'
#
# If everything works well you shou... | 71.44 | 143 | 0.688503 | 709 | 5,358 | 5.132581 | 0.180536 | 0.067601 | 0.123935 | 0.202803 | 0.756801 | 0.739214 | 0.739214 | 0.739214 | 0.739214 | 0.739214 | 0 | 0.007517 | 0.081374 | 5,358 | 74 | 144 | 72.405405 | 0.731816 | 0.075961 | 0 | 0 | 0 | 0.694915 | 0.847781 | 0.820666 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.033898 | 0 | 0.033898 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
62b247dfe10ae2876917d349f541300f80deeedb | 6,902 | py | Python | smtbx/refinement/restraints/tests/test_adp_restraints.py | rimmartin/cctbx_project | 644090f9432d9afc22cfb542fc3ab78ca8e15e5d | [
"BSD-3-Clause-LBNL"
] | null | null | null | smtbx/refinement/restraints/tests/test_adp_restraints.py | rimmartin/cctbx_project | 644090f9432d9afc22cfb542fc3ab78ca8e15e5d | [
"BSD-3-Clause-LBNL"
] | null | null | null | smtbx/refinement/restraints/tests/test_adp_restraints.py | rimmartin/cctbx_project | 644090f9432d9afc22cfb542fc3ab78ca8e15e5d | [
"BSD-3-Clause-LBNL"
] | null | null | null | from __future__ import absolute_import, division, print_function
from libtbx.test_utils import approx_equal
from smtbx.refinement.restraints import adp_restraints
from smtbx import development
from cctbx.array_family import flex
from cctbx import crystal
def get_pair_sym_table(xray_structure):
asu_mappings = xray_s... | 38.132597 | 75 | 0.688061 | 1,005 | 6,902 | 4.446766 | 0.100498 | 0.06601 | 0.069814 | 0.085925 | 0.855672 | 0.854777 | 0.848512 | 0.836205 | 0.808906 | 0.797941 | 0 | 0.06681 | 0.188931 | 6,902 | 180 | 76 | 38.344444 | 0.731511 | 0.023616 | 0 | 0.811765 | 0 | 0 | 0.000297 | 0 | 0 | 0 | 0 | 0 | 0.164706 | 1 | 0.029412 | false | 0 | 0.035294 | 0 | 0.070588 | 0.005882 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
62f272a3adb4038b3f712a93a6fe7ba468ed8288 | 5,786 | py | Python | deeprob/spn/learning/splitting/cluster.py | fedelux3/deeprob-kit | 3bae5ab1a36b13ee1317f650e68e2d310dbf403c | [
"MIT"
] | null | null | null | deeprob/spn/learning/splitting/cluster.py | fedelux3/deeprob-kit | 3bae5ab1a36b13ee1317f650e68e2d310dbf403c | [
"MIT"
] | null | null | null | deeprob/spn/learning/splitting/cluster.py | fedelux3/deeprob-kit | 3bae5ab1a36b13ee1317f650e68e2d310dbf403c | [
"MIT"
] | null | null | null | import warnings
import numpy as np
from typing import Union, Type, List
from sklearn import mixture, cluster
from sklearn.exceptions import ConvergenceWarning
from deeprob.spn.structure.leaf import Leaf, LeafType
from deeprob.utils.data import mixed_ohe_data
def gmm(
data: np.ndarray,
distributions: List[Ty... | 36.620253 | 106 | 0.699965 | 769 | 5,786 | 5.208062 | 0.152146 | 0.057678 | 0.017978 | 0.050936 | 0.882896 | 0.870911 | 0.860924 | 0.860924 | 0.860924 | 0.84819 | 0 | 0.003717 | 0.209471 | 5,786 | 157 | 107 | 36.853503 | 0.871885 | 0.420498 | 0 | 0.75 | 0 | 0 | 0.051118 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.069444 | false | 0 | 0.097222 | 0 | 0.236111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1a019fe1d5c6c3295069517b9ad8eac7282f6fa9 | 1,241 | py | Python | src/Problem8.py | BrunoMNDantas/ProjectEuler | d7548931c8c450fc8c53a939df349575b9994702 | [
"MIT"
] | null | null | null | src/Problem8.py | BrunoMNDantas/ProjectEuler | d7548931c8c450fc8c53a939df349575b9994702 | [
"MIT"
] | null | null | null | src/Problem8.py | BrunoMNDantas/ProjectEuler | d7548931c8c450fc8c53a939df349575b9994702 | [
"MIT"
] | null | null | null | from functools import reduce
num = """731671765313306249192251196744265747423553491949349698352031277450632623957831801698480186947885184385861560789112949495459501737958331952853208805511125406987471585238630507156932909632952274430435576689664895044524452316173185640309871112172238311362229893423380308135336276614... | 73 | 1,012 | 0.923449 | 38 | 1,241 | 30.157895 | 0.605263 | 0.00349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.85182 | 0.048348 | 1,241 | 16 | 1,013 | 77.5625 | 0.118544 | 0 | 0 | 0 | 0 | 0 | 0.805802 | 0.805802 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0.111111 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c52c15da86e136ba16cf05ec84de30ca4ebdcc4d | 8,634 | py | Python | changelog_generator/tests/test_generator.py | nghialt/gitlab-changelog-generator | d9af4baa1d76ab9436548e47842eb80935f9a8bd | [
"MIT"
] | 3 | 2019-11-01T15:13:31.000Z | 2020-02-03T06:27:16.000Z | changelog_generator/tests/test_generator.py | nghialt/gitlab-changelog-generator | d9af4baa1d76ab9436548e47842eb80935f9a8bd | [
"MIT"
] | 19 | 2018-06-17T21:07:32.000Z | 2020-06-04T07:07:41.000Z | changelog_generator/tests/test_generator.py | nghialt/gitlab-changelog-generator | d9af4baa1d76ab9436548e47842eb80935f9a8bd | [
"MIT"
] | 5 | 2018-11-24T08:04:39.000Z | 2020-10-28T19:54:29.000Z | import datetime
import mock
import unittest
from changelog_generator.generator import (
generate_changelog,
get_closed_issues_since_last_tag,
)
class TestGenerator(unittest.TestCase):
@mock.patch(
"changelog_generator.generator.get_closed_issues_since_last_tag"
)
@mock.patch("os.path.isfi... | 35.240816 | 79 | 0.548066 | 921 | 8,634 | 4.827362 | 0.11835 | 0.040486 | 0.091093 | 0.08502 | 0.91408 | 0.908007 | 0.901934 | 0.892263 | 0.883941 | 0.883941 | 0 | 0.073486 | 0.328585 | 8,634 | 244 | 80 | 35.385246 | 0.693462 | 0 | 0 | 0.665198 | 1 | 0 | 0.328585 | 0.164582 | 0 | 0 | 0 | 0 | 0.048458 | 1 | 0.022026 | false | 0 | 0.017621 | 0 | 0.044053 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c53fc1094ee2b1d2deb48f45954b6913c7d8c311 | 1,977 | py | Python | portfolio/migrations/0001_initial.py | aru456/Personal-Portfolio-Website | 32979eb1b006285c93ac6381ca4e557e189ef0e3 | [
"MIT"
] | null | null | null | portfolio/migrations/0001_initial.py | aru456/Personal-Portfolio-Website | 32979eb1b006285c93ac6381ca4e557e189ef0e3 | [
"MIT"
] | null | null | null | portfolio/migrations/0001_initial.py | aru456/Personal-Portfolio-Website | 32979eb1b006285c93ac6381ca4e557e189ef0e3 | [
"MIT"
] | null | null | null | # Generated by Django 3.0.5 on 2020-05-28 18:48
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='about',
fields=[
('id', models.AutoField(au... | 35.303571 | 114 | 0.534143 | 175 | 1,977 | 5.914286 | 0.308571 | 0.101449 | 0.120773 | 0.111111 | 0.758454 | 0.758454 | 0.758454 | 0.758454 | 0.758454 | 0.758454 | 0 | 0.022455 | 0.324229 | 1,977 | 55 | 115 | 35.945455 | 0.752246 | 0.022762 | 0 | 0.729167 | 1 | 0 | 0.082902 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.020833 | 0 | 0.104167 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3d9cf3fda194225eabfc1173613f5513f5c3043d | 192 | py | Python | Utils/__init__.py | Silvrash/codeForMe | b520d99c33b85df7ada14ccd2215bcd2df0d8a0c | [
"Apache-2.0"
] | null | null | null | Utils/__init__.py | Silvrash/codeForMe | b520d99c33b85df7ada14ccd2215bcd2df0d8a0c | [
"Apache-2.0"
] | null | null | null | Utils/__init__.py | Silvrash/codeForMe | b520d99c33b85df7ada14ccd2215bcd2df0d8a0c | [
"Apache-2.0"
] | null | null | null | import os
def is_in_development_environment():
'''
Return True if code is running in a development environment
'''
return 'prod' if os.environ.get('DATABASE_URI') else 'dev'
| 21.333333 | 63 | 0.692708 | 27 | 192 | 4.777778 | 0.740741 | 0.341085 | 0.434109 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 192 | 8 | 64 | 24 | 0.848684 | 0.307292 | 0 | 0 | 0 | 0 | 0.162393 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
3da3d0b693e3db9d790a6c4318bdc60f34e0a606 | 24,159 | py | Python | aw_nas/weights_manager/ofa_backbone.py | A-LinCui/Discriminator-Guiding-Knowledge-Distillation-MAR | e8caad8de2a559b9c9532448bdcdedd566cb2cfa | [
"MIT"
] | null | null | null | aw_nas/weights_manager/ofa_backbone.py | A-LinCui/Discriminator-Guiding-Knowledge-Distillation-MAR | e8caad8de2a559b9c9532448bdcdedd566cb2cfa | [
"MIT"
] | null | null | null | aw_nas/weights_manager/ofa_backbone.py | A-LinCui/Discriminator-Guiding-Knowledge-Distillation-MAR | e8caad8de2a559b9c9532448bdcdedd566cb2cfa | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Base class definition of OFA Backbone."""
import abc
import copy
import torch
from torch import nn
from aw_nas import Component
from aw_nas.ops import *
from aw_nas.ops.baseline_ops import MobileNetV2Block, MobileNetV3Block
from aw_nas.utils import make_divisible, feature_level_to_stage_in... | 32.959072 | 98 | 0.519103 | 2,652 | 24,159 | 4.525641 | 0.090121 | 0.029995 | 0.028329 | 0.011081 | 0.806532 | 0.785869 | 0.764206 | 0.751208 | 0.723213 | 0.694301 | 0 | 0.027356 | 0.384163 | 24,159 | 732 | 99 | 33.004098 | 0.779339 | 0.003974 | 0 | 0.741433 | 0 | 0 | 0.01995 | 0.001084 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043614 | false | 0 | 0.014019 | 0.003115 | 0.104361 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3da89b4ccbef0142ba6d237579edc093e8a90052 | 4,882 | py | Python | tests/geomol_featurization_tests.py | boltzmannlabs/boltpro | 3ddebbeb10191150a29fc81ef4336ec2dbe88092 | [
"Apache-2.0"
] | 4 | 2022-02-21T12:01:04.000Z | 2022-03-10T04:30:55.000Z | tests/geomol_featurization_tests.py | boltzmannlabs/boltpro | 3ddebbeb10191150a29fc81ef4336ec2dbe88092 | [
"Apache-2.0"
] | null | null | null | tests/geomol_featurization_tests.py | boltzmannlabs/boltpro | 3ddebbeb10191150a29fc81ef4336ec2dbe88092 | [
"Apache-2.0"
] | 2 | 2022-03-11T07:58:58.000Z | 2022-03-15T05:17:59.000Z |
from geomol.data import drugs_confs as drugs_featuriter
from geomol.data import qm9_confs as qm9_featurizer
###### tests for drugs data featurization ###########
dataset = 'drugs'
files_path = r"molpro/geomol/sample_data/drugs"
split_path = r"molpro/geomol/sample_data/sample_data/drugs_split.npy"
featurizer = drug... | 26.677596 | 98 | 0.725932 | 747 | 4,882 | 4.337349 | 0.084337 | 0.077778 | 0.083333 | 0.111111 | 0.932716 | 0.932716 | 0.932716 | 0.932716 | 0.932716 | 0.932716 | 0 | 0.003695 | 0.168578 | 4,882 | 183 | 99 | 26.677596 | 0.794531 | 0.013929 | 0 | 0.934579 | 0 | 0 | 0.074299 | 0.035161 | 0 | 0 | 0 | 0 | 0.280374 | 1 | 0.280374 | false | 0 | 0.018692 | 0 | 0.299065 | 0.009346 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
9a990ac5679228f5c4423b2de82661fa8dd0ae60 | 1,144 | py | Python | test/item_updater_test.py | dkalaxdk/IssueTableGenerator | a2999e3417c2514292b1197d8cfe83435f6f1b8d | [
"MIT"
] | null | null | null | test/item_updater_test.py | dkalaxdk/IssueTableGenerator | a2999e3417c2514292b1197d8cfe83435f6f1b8d | [
"MIT"
] | null | null | null | test/item_updater_test.py | dkalaxdk/IssueTableGenerator | a2999e3417c2514292b1197d8cfe83435f6f1b8d | [
"MIT"
] | null | null | null | from classes.pull_requests import Pr
from helpers.item_updater import *
from classes.issues import Issue
def test_write_pr_written():
test_number = 5
pr = Pr()
pr.number = test_number
pull_requests = []
first_len = len(pull_requests)
write_pr(pr, pull_requests)
second_len = len(pull_reques... | 23.833333 | 53 | 0.697552 | 162 | 1,144 | 4.567901 | 0.154321 | 0.145946 | 0.064865 | 0.097297 | 0.872973 | 0.841892 | 0.841892 | 0.841892 | 0.783784 | 0.783784 | 0 | 0.004484 | 0.22028 | 1,144 | 47 | 54 | 24.340426 | 0.825112 | 0 | 0 | 0.717949 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 1 | 0.102564 | false | 0 | 0.076923 | 0 | 0.179487 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9a9950ad5d3e77303d5c4acb84e5bdc303a9e596 | 147 | py | Python | models/slimmable/__init__.py | haolibai/dmcp | 7d9e88230850d8094a040d8c4eaf8b0d0393a210 | [
"CC-BY-4.0"
] | 119 | 2020-05-08T01:05:50.000Z | 2022-03-02T07:36:24.000Z | models/slimmable/__init__.py | haolibai/dmcp | 7d9e88230850d8094a040d8c4eaf8b0d0393a210 | [
"CC-BY-4.0"
] | 13 | 2020-05-08T08:57:33.000Z | 2021-09-02T09:14:51.000Z | models/slimmable/__init__.py | haolibai/dmcp | 7d9e88230850d8094a040d8c4eaf8b0d0393a210 | [
"CC-BY-4.0"
] | 23 | 2020-05-08T03:18:24.000Z | 2021-08-28T16:04:31.000Z | # -*- coding:utf-8 -*-
from models.slimmable.us_resnet import us_resnet18, us_resnet50
from models.slimmable.us_mobilenet import us_mobilenet_v2
| 29.4 | 63 | 0.802721 | 22 | 147 | 5.090909 | 0.590909 | 0.178571 | 0.339286 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.102041 | 147 | 4 | 64 | 36.75 | 0.80303 | 0.142857 | 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 | 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 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.