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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c83895326cb5f7ada1fba6650909649abe4aaf4e | 104 | py | Python | Chapter 02/ch2_33.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | Chapter 02/ch2_33.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | Chapter 02/ch2_33.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | import math
print(math.radians(1000))
print(math.radians(180))
# using print() to print the result | 20.8 | 36 | 0.721154 | 16 | 104 | 4.6875 | 0.625 | 0.24 | 0.426667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079545 | 0.153846 | 104 | 5 | 36 | 20.8 | 0.772727 | 0.317308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 7 |
239bd39d62dfbdfc95adaa70c1af7b16fd5aed64 | 6,832 | py | Python | tests/test_helpers.py | MITLibraries/transmogrifier | aa9544645b255c68c1239feac51f59e1b016d8aa | [
"Apache-2.0"
] | null | null | null | tests/test_helpers.py | MITLibraries/transmogrifier | aa9544645b255c68c1239feac51f59e1b016d8aa | [
"Apache-2.0"
] | null | null | null | tests/test_helpers.py | MITLibraries/transmogrifier | aa9544645b255c68c1239feac51f59e1b016d8aa | [
"Apache-2.0"
] | null | null | null | import transmogrifier.models as timdex
from transmogrifier.helpers import generate_citation, parse_xml_records
def test_generate_citation_with_required_fields_only():
extracted_data = {
"title": "A Very Important Paper",
"source_link": "https://example.com/paper",
}
assert (
genera... | 36.534759 | 88 | 0.637881 | 734 | 6,832 | 5.743869 | 0.111717 | 0.094877 | 0.079696 | 0.108159 | 0.835389 | 0.807163 | 0.807163 | 0.799099 | 0.777989 | 0.776091 | 0 | 0.013978 | 0.225117 | 6,832 | 186 | 89 | 36.731183 | 0.782395 | 0 | 0 | 0.58125 | 1 | 0 | 0.409104 | 0.019906 | 0 | 0 | 0 | 0 | 0.08125 | 1 | 0.08125 | false | 0 | 0.1625 | 0 | 0.24375 | 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 |
7b1af1d31ef03e2826c5887cdefe1c6632c9ea8b | 2,803 | py | Python | utils/auth.py | john8680/tequila | 23d8a8dae4843bc42cd9dba76d6c07296b0a8632 | [
"Apache-2.0"
] | 3 | 2019-09-27T02:56:54.000Z | 2020-06-15T06:09:54.000Z | utils/auth.py | john8680/tequila | 23d8a8dae4843bc42cd9dba76d6c07296b0a8632 | [
"Apache-2.0"
] | null | null | null | utils/auth.py | john8680/tequila | 23d8a8dae4843bc42cd9dba76d6c07296b0a8632 | [
"Apache-2.0"
] | 2 | 2019-09-27T02:56:59.000Z | 2019-10-15T10:57:36.000Z | # -*- coding: utf-8 -*-
import functools
import urllib.parse as urlparse
from urllib.parse import urlencode
from tornado.web import HTTPError
from database.sql_utils.auth import get_group_by_user
def login_required(method):
@functools.wraps(method)
def wrapper(self, *args, **kwargs):
current_user ... | 34.604938 | 74 | 0.529433 | 311 | 2,803 | 4.636656 | 0.189711 | 0.058252 | 0.068655 | 0.074896 | 0.875173 | 0.875173 | 0.875173 | 0.875173 | 0.875173 | 0.875173 | 0 | 0.010901 | 0.378166 | 2,803 | 81 | 75 | 34.604938 | 0.816408 | 0.059936 | 0 | 0.830769 | 0 | 0 | 0.010262 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.092308 | false | 0 | 0.076923 | 0 | 0.307692 | 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 |
7b2b294164bb1f5984534e2160f5390337a7353b | 2,455 | py | Python | requests_test/6-requests_cookies.py | Adolph-Anthony/study-reptile | d4ce637a25fba88bafb7f967b1813107792deab0 | [
"MIT"
] | null | null | null | requests_test/6-requests_cookies.py | Adolph-Anthony/study-reptile | d4ce637a25fba88bafb7f967b1813107792deab0 | [
"MIT"
] | null | null | null | requests_test/6-requests_cookies.py | Adolph-Anthony/study-reptile | d4ce637a25fba88bafb7f967b1813107792deab0 | [
"MIT"
] | null | null | null | import requests
url = 'https://github.com/Adolph-Anthony'
headers = {
'Cookie': '_octo=GH1.1.73506579.1538137739; _ga=GA1.2.1588836414.1538137744; _device_id=fad5ffb8a3d040a102353882883a84ed; user_session=vbcvPKjl1SaN25unnWZDF0ouw4BB3QmWbI4J23XQVEBwhWNS; __Host-user_session_same_site=vbcvPKjl1SaN25unnWZDF0ouw4BB3... | 76.71875 | 885 | 0.870468 | 177 | 2,455 | 11.898305 | 0.474576 | 0.020893 | 0.007597 | 0.015195 | 0.854226 | 0.827635 | 0.804368 | 0.774929 | 0.774929 | 0.774929 | 0 | 0.164103 | 0.046843 | 2,455 | 32 | 886 | 76.71875 | 0.735897 | 0.087576 | 0 | 0 | 0 | 0.230769 | 0.86009 | 0.741704 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.076923 | 0 | 0.076923 | 0.076923 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 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 | 10 |
9e674edc87bb131a889fc10dad0bc8e5ccbf7d6c | 2,053 | py | Python | src/pose_estimation/pose_estimation/rigid_body_filters.py | frank20a/collaborative-sats | 9d26d3c8f66cf43bbd514f02434851439e746797 | [
"MIT"
] | null | null | null | src/pose_estimation/pose_estimation/rigid_body_filters.py | frank20a/collaborative-sats | 9d26d3c8f66cf43bbd514f02434851439e746797 | [
"MIT"
] | 6 | 2022-03-22T18:54:38.000Z | 2022-03-31T16:42:37.000Z | src/pose_estimation/pose_estimation/rigid_body_filters.py | frank20a/collaborative-sats | 9d26d3c8f66cf43bbd514f02434851439e746797 | [
"MIT"
] | null | null | null | import cv2 as cv
import numpy as np
def const_accel(dt = 1.0/30):
kf = cv.KalmanFilter(18, 6, 0)
state = np.zeros((18, 1), np.float32)
# Transition matrix position/orientation
tmp = np.eye(9, dtype=np.float32)
tmp[0:3, 3:6] = np.eye(3, dtype=np.float32) * dt
tmp[3:6, 6:9] = np.eye(3, dtyp... | 29.753623 | 63 | 0.600585 | 321 | 2,053 | 3.82243 | 0.152648 | 0.146699 | 0.205379 | 0.07172 | 0.899756 | 0.876936 | 0.836186 | 0.800326 | 0.797881 | 0.776691 | 0 | 0.092298 | 0.234778 | 2,053 | 68 | 64 | 30.191176 | 0.688733 | 0.117389 | 0 | 0.454545 | 0 | 0 | 0.011093 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0 | 0.045455 | 0 | 0.136364 | 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 |
c8c66d1efff6255a777ea84e6147ca1d496059f0 | 92,740 | py | Python | raet/road/test/test_keeping.py | renich/raet | 6bd9c268db07d24373db734e63e11b6fff5f3e0e | [
"Apache-2.0"
] | 36 | 2015-02-10T20:39:59.000Z | 2022-01-09T18:36:47.000Z | raet/road/test/test_keeping.py | renich/raet | 6bd9c268db07d24373db734e63e11b6fff5f3e0e | [
"Apache-2.0"
] | 11 | 2016-10-10T17:19:47.000Z | 2020-04-23T16:35:47.000Z | raet/road/test/test_keeping.py | renich/raet | 6bd9c268db07d24373db734e63e11b6fff5f3e0e | [
"Apache-2.0"
] | 5 | 2015-06-01T09:00:00.000Z | 2020-04-23T17:06:20.000Z | # -*- coding: utf-8 -*-
'''
Tests to try out keeping. Potentially ephemeral
'''
# pylint: skip-file
# pylint: disable=C0103
import sys
if sys.version_info < (2, 7):
import unittest2 as unittest
else:
import unittest
import os
import sys
import time
import tempfile
import shutil
import socket
from ioflo.aid.o... | 43.175047 | 124 | 0.559985 | 9,877 | 92,740 | 5.23985 | 0.049509 | 0.081153 | 0.060865 | 0.03194 | 0.879062 | 0.872725 | 0.856456 | 0.846273 | 0.832844 | 0.823318 | 0 | 0.0147 | 0.317091 | 92,740 | 2,147 | 125 | 43.195156 | 0.802473 | 0.100863 | 0 | 0.87796 | 0 | 0 | 0.05112 | 0.000776 | 0 | 0 | 0 | 0 | 0.313904 | 1 | 0.015786 | false | 0.000607 | 0.009715 | 0 | 0.027322 | 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 |
b521c76b71fe5dd968c5beb0e3e917960c7f7e82 | 10,267 | py | Python | services/nris-api/backend/migrations/versions/c86eca21d297_.py | bcgov/mds | 6c427a66a5edb4196222607291adef8fd6677038 | [
"Apache-2.0"
] | 25 | 2018-07-09T19:04:37.000Z | 2022-03-15T17:27:10.000Z | services/nris-api/backend/migrations/versions/c86eca21d297_.py | areyeslo/mds | e8c38e593e09b78e2a57009c0d003d6c4bfa32e6 | [
"Apache-2.0"
] | 983 | 2018-04-25T20:08:07.000Z | 2022-03-31T21:45:20.000Z | services/nris-api/backend/migrations/versions/c86eca21d297_.py | areyeslo/mds | e8c38e593e09b78e2a57009c0d003d6c4bfa32e6 | [
"Apache-2.0"
] | 58 | 2018-05-15T22:35:50.000Z | 2021-11-29T19:40:52.000Z | """empty message
Revision ID: c86eca21d297
Revises: 2db7d022d4f7
Create Date: 2020-07-29 16:08:11.690671
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'c86eca21d297'
down_revision = '2db7d022d4f7'
branch_labels = None
depends_on = None
def upgrade():
# ... | 46.881279 | 79 | 0.628811 | 1,092 | 10,267 | 5.627289 | 0.076007 | 0.093735 | 0.101546 | 0.148413 | 0.959479 | 0.956062 | 0.950203 | 0.950203 | 0.950203 | 0.950203 | 0 | 0.074719 | 0.262199 | 10,267 | 218 | 80 | 47.09633 | 0.736502 | 0.028733 | 0 | 0.95 | 0 | 0 | 0.165677 | 0.065425 | 0 | 0 | 0 | 0 | 0 | 1 | 0.01 | false | 0 | 0.01 | 0 | 0.02 | 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 |
b54ab8d19d27b78434fa2c13f7bde3edfc3130c7 | 9,361 | py | Python | Aliens-fb.py | IBRAHIMTEEEH/hack-ibrahim-teguig | 9961105f34f180f667af674865159d2c621dce12 | [
"Apache-2.0"
] | null | null | null | Aliens-fb.py | IBRAHIMTEEEH/hack-ibrahim-teguig | 9961105f34f180f667af674865159d2c621dce12 | [
"Apache-2.0"
] | null | null | null | Aliens-fb.py | IBRAHIMTEEEH/hack-ibrahim-teguig | 9961105f34f180f667af674865159d2c621dce12 | [
"Apache-2.0"
] | null | null | null | import marshal
exec marshal.loads('c\x00\x00\x00\x00\x00\x00\x00\x00\x16\x00\x00\x00@\x00\x00\x00sh\x01\x00\x00d\x00\x00d\x01\x00l\x00\x00Z\x00\x00e\x00\x00j\x01\x00d\x02\x00\x83\x01\x00\x01d\x03\x00Z\x02\x00d\x04\x00Z\x03\x00d\x05\x00Z\x04\x00d\x06\x00Z\x05\x00d\x07\x00Z\x06\x00d\x08\x00Z\x07\x00d\t\x00Z\x08\x00e\x03\... | 4,680.5 | 9,346 | 0.722252 | 2,004 | 9,361 | 3.344311 | 0.143214 | 0.273948 | 0.128917 | 0.06983 | 0.472844 | 0.37168 | 0.269323 | 0.229335 | 0.209191 | 0.188899 | 0 | 0.347907 | 0.025104 | 9,361 | 2 | 9,346 | 4,680.5 | 0.386478 | 0 | 0 | 0 | 0 | 1 | 0.345866 | 0.31521 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.5 | 0.5 | null | null | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 10 |
b5a80e1c851a4dbf960133db3411bcf5d140860b | 4,839 | py | Python | tests/test_nifcloud_auth.py | NagasawaRiow/py_nifcloud | cfb937a32a1214a554ba956d23a4131a56f65641 | [
"MIT"
] | 4 | 2017-10-29T12:17:46.000Z | 2017-11-04T16:55:14.000Z | tests/test_nifcloud_auth.py | NagasawaRiow/py_nifcloud | cfb937a32a1214a554ba956d23a4131a56f65641 | [
"MIT"
] | 9 | 2017-10-30T04:46:33.000Z | 2020-03-31T03:23:25.000Z | tests/test_nifcloud_auth.py | NagasawaRiow/py_nifcloud | cfb937a32a1214a554ba956d23a4131a56f65641 | [
"MIT"
] | 3 | 2017-10-29T12:54:30.000Z | 2018-09-24T10:14:46.000Z | # -*- encoding:utf-8 -*-
import unittest
import copy
import freezegun
from botocore.credentials import Credentials
from botocore.awsrequest import AWSRequest
from py_nifcloud.auth import NifCloudSigV2Auth, NifCloudSigV1Auth, NifCloudSigV0Auth
@freezegun.freeze_time('2018-01-01 00:00:00')
class TestNifCloudSigV2Auth(u... | 35.321168 | 97 | 0.606324 | 502 | 4,839 | 5.621514 | 0.161355 | 0.066974 | 0.046775 | 0.044649 | 0.843373 | 0.843373 | 0.843373 | 0.831325 | 0.831325 | 0.790928 | 0 | 0.036458 | 0.285803 | 4,839 | 136 | 98 | 35.580882 | 0.780093 | 0.031205 | 0 | 0.731183 | 0 | 0 | 0.189987 | 0.036157 | 0 | 0 | 0 | 0 | 0.096774 | 1 | 0.129032 | false | 0 | 0.064516 | 0 | 0.225806 | 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 |
a931cf6afa99a78429bfcc713df5a4596946bf1e | 107,298 | py | Python | poem/Poem/api/tests/test_users.py | ARGOeu/poem-react-ui | f21ceddf53471fd947d8a296d629782e61489b91 | [
"Apache-2.0"
] | null | null | null | poem/Poem/api/tests/test_users.py | ARGOeu/poem-react-ui | f21ceddf53471fd947d8a296d629782e61489b91 | [
"Apache-2.0"
] | 139 | 2020-04-06T09:22:16.000Z | 2021-08-02T06:39:22.000Z | poem/Poem/api/tests/test_users.py | vrdel/poem-2 | 42672fc066b71b4958168d8031e1da0043ac6d1f | [
"Apache-2.0"
] | 3 | 2019-07-10T09:37:38.000Z | 2020-04-02T10:48:38.000Z | import datetime
from collections import OrderedDict
from Poem.api import views_internal as views
from Poem.poem import models as poem_models
from Poem.tenants.models import Tenant
from Poem.users.models import CustUser
from django_tenants.test.cases import TenantTestCase
from django_tenants.test.client import TenantRe... | 41.588372 | 80 | 0.593012 | 10,113 | 107,298 | 6.108969 | 0.023633 | 0.091049 | 0.067012 | 0.037601 | 0.962965 | 0.955439 | 0.942635 | 0.934267 | 0.922418 | 0.913953 | 0 | 0.011727 | 0.296641 | 107,298 | 2,579 | 81 | 41.604498 | 0.806888 | 0 | 0 | 0.781263 | 0 | 0 | 0.168419 | 0.016049 | 0 | 0 | 0 | 0 | 0.188595 | 1 | 0.04277 | false | 0.013035 | 0.004888 | 0 | 0.049287 | 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 |
8d14e1b09a8626e7f495585ee609369e67238473 | 4,620 | py | Python | _unittests/ut_text/test_templating.py | Pandinosaurus/pyquickhelper | 326276f656cf88989e4d0fcd006ada0d3735bd9e | [
"MIT"
] | 18 | 2015-11-10T08:09:23.000Z | 2022-02-16T11:46:45.000Z | _unittests/ut_text/test_templating.py | Pandinosaurus/pyquickhelper | 326276f656cf88989e4d0fcd006ada0d3735bd9e | [
"MIT"
] | 321 | 2015-06-14T21:34:28.000Z | 2021-11-28T17:10:03.000Z | _unittests/ut_text/test_templating.py | Pandinosaurus/pyquickhelper | 326276f656cf88989e4d0fcd006ada0d3735bd9e | [
"MIT"
] | 10 | 2015-06-20T01:35:00.000Z | 2022-01-19T15:54:32.000Z | # -*- coding: utf-8 -*-
"""
@brief test tree node (time=1s)
"""
import sys
import os
import unittest
from pyquickhelper.loghelper import fLOG
from pyquickhelper.texthelper.templating import apply_template, CustomTemplateException
class TestTemplating(unittest.TestCase):
def test_mako(self):
fLOG(... | 27.664671 | 87 | 0.435281 | 420 | 4,620 | 4.533333 | 0.183333 | 0.088235 | 0.094538 | 0.05042 | 0.816176 | 0.816176 | 0.816176 | 0.816176 | 0.793592 | 0.793592 | 0 | 0.017088 | 0.417316 | 4,620 | 166 | 88 | 27.831325 | 0.690193 | 0.015584 | 0 | 0.838028 | 0 | 0 | 0.265036 | 0 | 0 | 0 | 0 | 0 | 0.119718 | 1 | 0.042254 | false | 0 | 0.035211 | 0 | 0.112676 | 0.126761 | 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 |
8d20dd03168dc512f4e20fef0dfce5ba50baac88 | 45,279 | py | Python | tests/ui_tests/test_activatable_groups_ui_options.py | amleshkov/adcm | 5a6c82a34ef2591cb4952d17ee823c6230aa1d82 | [
"Apache-2.0"
] | null | null | null | tests/ui_tests/test_activatable_groups_ui_options.py | amleshkov/adcm | 5a6c82a34ef2591cb4952d17ee823c6230aa1d82 | [
"Apache-2.0"
] | null | null | null | tests/ui_tests/test_activatable_groups_ui_options.py | amleshkov/adcm | 5a6c82a34ef2591cb4952d17ee823c6230aa1d82 | [
"Apache-2.0"
] | null | null | null | import pytest
# pylint: disable=W0611, W0621, C0302
from adcm_client.objects import ADCMClient
from adcm_pytest_plugin.utils import parametrize_by_data_subdirs
from tests.ui_tests.app.app import ADCMTest
from tests.ui_tests.app.pages import Configuration, LoginPage
@pytest.fixture()
def app(adcm_fs):
return AD... | 36.194245 | 99 | 0.717662 | 5,912 | 45,279 | 5.110115 | 0.015054 | 0.074145 | 0.034954 | 0.042369 | 0.981729 | 0.980471 | 0.980471 | 0.980471 | 0.980471 | 0.980173 | 0 | 0.00293 | 0.186024 | 45,279 | 1,250 | 100 | 36.2232 | 0.816773 | 0.068862 | 0 | 0.917571 | 0 | 0 | 0.094635 | 0.069531 | 0 | 0 | 0 | 0 | 0.253796 | 1 | 0.036876 | false | 0 | 0.005423 | 0.001085 | 0.043384 | 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 |
8d78af81335aa0ce5a573e54848902046802af5a | 115 | py | Python | machina/models/__init__.py | AswinRetnakumar/Machina | 6519935ca4553192ac99fc1c7c1e7cab9dd72693 | [
"MIT"
] | 302 | 2019-03-13T10:21:29.000Z | 2022-03-25T10:01:46.000Z | machina/models/__init__.py | AswinRetnakumar/Machina | 6519935ca4553192ac99fc1c7c1e7cab9dd72693 | [
"MIT"
] | 50 | 2019-03-13T09:45:00.000Z | 2021-12-23T18:32:00.000Z | machina/models/__init__.py | AswinRetnakumar/Machina | 6519935ca4553192ac99fc1c7c1e7cab9dd72693 | [
"MIT"
] | 55 | 2019-03-17T01:59:57.000Z | 2022-03-28T01:13:40.000Z | from machina.models.base import BaseModel
from machina.models.deterministic_state_model import DeterministicSModel
| 38.333333 | 72 | 0.895652 | 14 | 115 | 7.214286 | 0.714286 | 0.217822 | 0.336634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069565 | 115 | 2 | 73 | 57.5 | 0.943925 | 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 |
570df431d6f6a6dcb4cd409bc65ed8a2fbbdc611 | 6,455 | py | Python | src/azure-cli/azure/cli/command_modules/monitor/operations/private_link_scope.py | xaliciayang/azure-cli | 38c80c875e8a79d08d06a2f42ec82fd54934343e | [
"MIT"
] | 4 | 2016-08-23T06:19:01.000Z | 2018-03-20T22:47:15.000Z | src/azure-cli/azure/cli/command_modules/monitor/operations/private_link_scope.py | xaliciayang/azure-cli | 38c80c875e8a79d08d06a2f42ec82fd54934343e | [
"MIT"
] | 120 | 2018-03-27T19:14:40.000Z | 2020-12-10T23:53:35.000Z | src/azure-cli/azure/cli/command_modules/monitor/operations/private_link_scope.py | xaliciayang/azure-cli | 38c80c875e8a79d08d06a2f42ec82fd54934343e | [
"MIT"
] | 11 | 2018-08-23T21:31:06.000Z | 2020-09-03T21:39:51.000Z | # --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------... | 47.814815 | 139 | 0.694191 | 722 | 6,455 | 5.710526 | 0.113573 | 0.124424 | 0.222653 | 0.176085 | 0.808149 | 0.795052 | 0.768858 | 0.759399 | 0.745331 | 0.685423 | 0 | 0 | 0.227266 | 6,455 | 134 | 140 | 48.171642 | 0.826584 | 0.084895 | 0 | 0.481928 | 0 | 0 | 0.012048 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.204819 | false | 0 | 0.012048 | 0.180723 | 0.445783 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 10 |
5725fed5ea7f8f4244435c1d6fbbec28e8c3327c | 4,021 | py | Python | lib/xlayers/super_rl_actor.py | xgmiao/AutoDL-Projects | 0dbbc286c9f56136291590136fffd513af881c36 | [
"MIT"
] | 1 | 2021-05-11T00:41:15.000Z | 2021-05-11T00:41:15.000Z | lib/xlayers/super_rl_actor.py | xgmiao/AutoDL-Projects | 0dbbc286c9f56136291590136fffd513af881c36 | [
"MIT"
] | null | null | null | lib/xlayers/super_rl_actor.py | xgmiao/AutoDL-Projects | 0dbbc286c9f56136291590136fffd513af881c36 | [
"MIT"
] | null | null | null | #####################################################
# Copyright (c) Xuanyi Dong [GitHub D-X-Y], 2021.03 #
#####################################################
# DISABLED / NOT-FINISHED
#####################################################
import torch
import torch.nn as nn
import torch.nn.functional as F
import mat... | 33.231405 | 70 | 0.620244 | 491 | 4,021 | 4.820774 | 0.193483 | 0.069708 | 0.027883 | 0.058302 | 0.834812 | 0.834812 | 0.834812 | 0.834812 | 0.768061 | 0.768061 | 0 | 0.009593 | 0.248197 | 4,021 | 120 | 71 | 33.508333 | 0.773404 | 0.126088 | 0 | 0.795181 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.180723 | false | 0 | 0.096386 | 0.060241 | 0.445783 | 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 |
93a00b2e6a6bad7c43128007fb024906fa09f1c4 | 43 | py | Python | geohunter/__init__.py | adaj/geohunter | fbbb7492f79fa838c2080c90d5e8ac2066d29568 | [
"MIT"
] | 7 | 2019-04-30T14:35:04.000Z | 2021-11-30T21:05:01.000Z | geohunter/__init__.py | adaj/geohunter | fbbb7492f79fa838c2080c90d5e8ac2066d29568 | [
"MIT"
] | 3 | 2019-05-07T19:30:21.000Z | 2021-12-01T13:44:56.000Z | geohunter/__init__.py | adaj/geohunter | fbbb7492f79fa838c2080c90d5e8ac2066d29568 | [
"MIT"
] | null | null | null | import geohunter.osm
import geohunter.util
| 14.333333 | 21 | 0.860465 | 6 | 43 | 6.166667 | 0.666667 | 0.810811 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 2 | 22 | 21.5 | 0.948718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
9e1d859ca0675b706e5a171919a2bff31954e264 | 3,581 | py | Python | test/test_attrset.py | jwodder/morecontext | e2f75ab5797e66410b87984f93d88028015f8df3 | [
"MIT"
] | 1 | 2021-11-30T03:54:02.000Z | 2021-11-30T03:54:02.000Z | test/test_attrset.py | jwodder/morecontext | e2f75ab5797e66410b87984f93d88028015f8df3 | [
"MIT"
] | null | null | null | test/test_attrset.py | jwodder/morecontext | e2f75ab5797e66410b87984f93d88028015f8df3 | [
"MIT"
] | null | null | null | from types import SimpleNamespace
import pytest
from morecontext import attrset
def test_attrset() -> None:
obj = SimpleNamespace(foo=42)
with attrset(obj, "foo", "bar"):
assert obj.foo == "bar"
assert obj.foo == 42
def test_attrset_error() -> None:
obj = SimpleNamespace(foo=42)
with pyt... | 28.420635 | 60 | 0.602346 | 450 | 3,581 | 4.706667 | 0.088889 | 0.07932 | 0.067989 | 0.141643 | 0.929651 | 0.911709 | 0.911709 | 0.904155 | 0.859773 | 0.833805 | 0 | 0.018032 | 0.256632 | 3,581 | 125 | 61 | 28.648 | 0.777611 | 0.008936 | 0 | 0.824742 | 0 | 0 | 0.087398 | 0 | 0 | 0 | 0 | 0 | 0.28866 | 1 | 0.14433 | false | 0 | 0.030928 | 0 | 0.175258 | 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 |
f51676397c0ae6f328be8b79afd8020033f254a8 | 198 | py | Python | swa_tf/__init__.py | JGuillaumin/swa-tf | c76d40c485e4f51bdba923fa547ea93caf307b12 | [
"BSD-2-Clause"
] | 34 | 2019-02-25T03:41:18.000Z | 2021-04-26T12:00:50.000Z | swa_tf/__init__.py | JGuillaumin/swa-tf | c76d40c485e4f51bdba923fa547ea93caf307b12 | [
"BSD-2-Clause"
] | 3 | 2019-05-14T09:34:43.000Z | 2020-10-30T16:55:52.000Z | swa_tf/__init__.py | JGuillaumin/swa-tf | c76d40c485e4f51bdba923fa547ea93caf307b12 | [
"BSD-2-Clause"
] | 9 | 2019-03-17T09:37:22.000Z | 2021-09-30T17:48:22.000Z | from .stochastic_weight_averaging import StochasticWeightAveraging
from .moving_free_batch_normalization import MovingFreeBatchNormalization, moving_free_batch_normalization, moving_free_batch_norm
| 66 | 130 | 0.929293 | 21 | 198 | 8.238095 | 0.571429 | 0.17341 | 0.260116 | 0.323699 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050505 | 198 | 2 | 131 | 99 | 0.920213 | 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 |
f551bf07e51dee8a6a114632884beafb1061853a | 43,598 | py | Python | baselines/ppo2_rudder/policies.py | jingweiz/baselines-rudder | 0eef88e9233e9a65662dc0cec2504fddc122f986 | [
"MIT"
] | 281 | 2018-06-21T08:29:02.000Z | 2021-10-03T12:18:06.000Z | baselines/ppo2_rudder/policies.py | Li-Ming-Fan/baselines-rudder | b3630121c1e101e701e7db88fb816e58b1418650 | [
"MIT"
] | null | null | null | baselines/ppo2_rudder/policies.py | Li-Ming-Fan/baselines-rudder | b3630121c1e101e701e7db88fb816e58b1418650 | [
"MIT"
] | 40 | 2018-06-15T14:16:36.000Z | 2020-12-07T15:28:05.000Z | # -*- coding: utf-8 -*-
"""policies.py: Adaption of baselines.ppo2.policies.py for RUDDER for atari games
Author -- Michael Widrich
Contact -- widrich@bioinf.jku.at
"""
import numpy as np
import tensorflow as tf
from baselines.a2c.utils import conv, fc, conv_to_fc, batch_to_seq, seq_to_batch
from baselines.common.di... | 49.826286 | 119 | 0.597092 | 5,129 | 43,598 | 4.855917 | 0.085007 | 0.040151 | 0.016863 | 0.014454 | 0.905123 | 0.895527 | 0.88023 | 0.873605 | 0.863728 | 0.857785 | 0 | 0.014223 | 0.322698 | 43,598 | 874 | 120 | 49.883295 | 0.829219 | 0.341025 | 0 | 0.798942 | 0 | 0 | 0.016233 | 0.007944 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05291 | false | 0 | 0.015873 | 0.007937 | 0.121693 | 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 |
1968904aa4a7d38c297987d9e5e86c8480e50b2e | 39 | py | Python | scripts/Drums/test3.py | sourav-majumder/qtlab | 96b2a127b1df7b45622c90229bd5ef8a4083614e | [
"MIT"
] | null | null | null | scripts/Drums/test3.py | sourav-majumder/qtlab | 96b2a127b1df7b45622c90229bd5ef8a4083614e | [
"MIT"
] | null | null | null | scripts/Drums/test3.py | sourav-majumder/qtlab | 96b2a127b1df7b45622c90229bd5ef8a4083614e | [
"MIT"
] | null | null | null | a=[[1,2,3,4],[5,6,7,8]]
print(a[1][0]) | 19.5 | 24 | 0.435897 | 13 | 39 | 1.307692 | 0.846154 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.27027 | 0.051282 | 39 | 2 | 25 | 19.5 | 0.189189 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
27301ba714168bbd207cfb269fcc6e0463a19427 | 176 | py | Python | plaso/analyzers/__init__.py | nflexfo/plaso | 5da7aa51c39b593773687fdf20a93ba35fc492b4 | [
"Apache-2.0"
] | 1,253 | 2015-01-02T13:58:02.000Z | 2022-03-31T08:43:39.000Z | plaso/analyzers/__init__.py | nflexfo/plaso | 5da7aa51c39b593773687fdf20a93ba35fc492b4 | [
"Apache-2.0"
] | 3,388 | 2015-01-02T11:17:58.000Z | 2022-03-30T10:21:45.000Z | plaso/analyzers/__init__.py | nflexfo/plaso | 5da7aa51c39b593773687fdf20a93ba35fc492b4 | [
"Apache-2.0"
] | 376 | 2015-01-20T07:04:54.000Z | 2022-03-04T23:53:00.000Z | # -*- coding: utf-8 -*-
"""This file imports Python modules that register analyzers."""
from plaso.analyzers import hashing_analyzer
from plaso.analyzers import yara_analyzer
| 29.333333 | 63 | 0.772727 | 23 | 176 | 5.826087 | 0.73913 | 0.134328 | 0.268657 | 0.358209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006494 | 0.125 | 176 | 5 | 64 | 35.2 | 0.863636 | 0.454545 | 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 |
273f2a489c4cfffcddd6129121499ff2913975c7 | 130 | py | Python | Lesson/Lesson5.py | RikardOledal/Python-Rikard | 7d201acc0b5a9c5dce666787b7a89de63084a20d | [
"MIT"
] | null | null | null | Lesson/Lesson5.py | RikardOledal/Python-Rikard | 7d201acc0b5a9c5dce666787b7a89de63084a20d | [
"MIT"
] | null | null | null | Lesson/Lesson5.py | RikardOledal/Python-Rikard | 7d201acc0b5a9c5dce666787b7a89de63084a20d | [
"MIT"
] | null | null | null | a_list = = [10, 1_0000, 10_000]
a_tuple = (10, 1_000, 10_000)
a_set = {10, 1_000, 10_000}
a_str = "hello"
discounts = [5, 10,15]
| 18.571429 | 31 | 0.630769 | 28 | 130 | 2.571429 | 0.464286 | 0.125 | 0.25 | 0.222222 | 0.333333 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0.367925 | 0.184615 | 130 | 6 | 32 | 21.666667 | 0.311321 | 0 | 0 | 0 | 0 | 0 | 0.03876 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
27760bd51d7579fe80cd6fd41fc1949c989f6192 | 5,371 | py | Python | tests/data/return_annotation_brackets.py | jpy-git/black | 8ed3e3d07ea3e6d62e3e533e69f96a0ff148cd5d | [
"MIT"
] | 2 | 2022-01-13T08:10:07.000Z | 2022-01-13T08:35:37.000Z | tests/data/return_annotation_brackets.py | nafallo/black | fb8dfdeec5fd76cc0c30f881d6fc75851139d80a | [
"MIT"
] | 11 | 2022-02-07T14:19:42.000Z | 2022-03-29T06:07:31.000Z | tests/data/preview/return_annotation_brackets.py | hampuskraft/black | f2d279faed9e545b8d6fbb620fa239dee5e67520 | [
"MIT"
] | null | null | null | # Control
def double(a: int) -> int:
return 2*a
# Remove the brackets
def double(a: int) -> (int):
return 2*a
# Some newline variations
def double(a: int) -> (
int):
return 2*a
def double(a: int) -> (int
):
return 2*a
def double(a: int) -> (
int
):
return 2*a
# Don't lose the comments
d... | 24.085202 | 352 | 0.751071 | 399 | 5,371 | 10.110276 | 0.125313 | 0.06594 | 0.052058 | 0.064452 | 0.997273 | 0.997273 | 0.997273 | 0.997273 | 0.997273 | 0.994546 | 0 | 0.008559 | 0.173338 | 5,371 | 222 | 353 | 24.193694 | 0.9 | 0.103147 | 0 | 0.801418 | 0 | 0 | 0.041345 | 0.040092 | 0 | 0 | 0 | 0 | 0 | 1 | 0.283688 | false | 0.014184 | 0 | 0.269504 | 0.553191 | 0 | 0 | 0 | 1 | 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 | 1 | 1 | 0 | 0 | 11 |
278a5e5330c7222f53996b328010700b89281895 | 128 | py | Python | transcode/containers/matroska/__init__.py | shersonb/python-transcode | db42e82f019ef4c3b7f59f34587576205e19eb96 | [
"MIT"
] | 1 | 2020-06-25T01:00:15.000Z | 2020-06-25T01:00:15.000Z | transcode/containers/matroska/__init__.py | shersonb/python-transcode | db42e82f019ef4c3b7f59f34587576205e19eb96 | [
"MIT"
] | null | null | null | transcode/containers/matroska/__init__.py | shersonb/python-transcode | db42e82f019ef4c3b7f59f34587576205e19eb96 | [
"MIT"
] | null | null | null | from transcode.containers.matroska.reader import MatroskaReader
from transcode.containers.matroska.writer import MatroskaWriter
| 42.666667 | 63 | 0.890625 | 14 | 128 | 8.142857 | 0.642857 | 0.22807 | 0.403509 | 0.54386 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 128 | 2 | 64 | 64 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 |
27b0c981acf591d5d239ebff8b5e7eee147461b7 | 7,700 | py | Python | src/server/ReportGenerator.py | JanCwik/SoftwarePraktikum | d4a2b196f21a5379188cb78b31c59d69f739964f | [
"RSA-MD"
] | 7 | 2020-05-18T14:20:17.000Z | 2020-07-27T17:37:38.000Z | src/server/ReportGenerator.py | JanCwik/SoftwarePraktikum | d4a2b196f21a5379188cb78b31c59d69f739964f | [
"RSA-MD"
] | null | null | null | src/server/ReportGenerator.py | JanCwik/SoftwarePraktikum | d4a2b196f21a5379188cb78b31c59d69f739964f | [
"RSA-MD"
] | 2 | 2020-05-18T14:20:22.000Z | 2020-07-27T17:37:05.000Z | from server.bo.Statistik import Statistik
from server.bo.StatistikHaendler import StatistikHaendler
from server.bo.StatistikZeitraum import StatistikZeitraum
from server.bo.StatistikHuZ import StatistikHuZ
from server.db.ListeneintragMapper import ListeneintragMapper
import collections
class ReportGenerator(object):
... | 41.847826 | 124 | 0.605714 | 891 | 7,700 | 5.171717 | 0.13468 | 0.060764 | 0.020833 | 0.019097 | 0.887153 | 0.881944 | 0.858941 | 0.851128 | 0.841363 | 0.841363 | 0 | 0.014234 | 0.324805 | 7,700 | 183 | 125 | 42.076503 | 0.872091 | 0.30987 | 0 | 0.8 | 0 | 0 | 0.00318 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034783 | false | 0.069565 | 0.052174 | 0 | 0.130435 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
27b58aabe5970f8c987b1da71c7c4f85525d0da3 | 3,656 | py | Python | build/lib.linux-x86_64-2.7/django_grepdb/tests/test_basics.py | exonian/django-grep-db | e0105406b8f3790ba1970abd94b71f2620712667 | [
"MIT"
] | 4 | 2015-10-29T15:14:33.000Z | 2015-11-16T11:28:09.000Z | django_grepdb/tests/test_basics.py | exonian/django-grep-db | e0105406b8f3790ba1970abd94b71f2620712667 | [
"MIT"
] | 11 | 2015-10-26T16:47:36.000Z | 2021-06-10T17:52:39.000Z | django_grepdb/tests/test_basics.py | exonian/django-grep-db | e0105406b8f3790ba1970abd94b71f2620712667 | [
"MIT"
] | 1 | 2020-12-10T15:46:02.000Z | 2020-12-10T15:46:02.000Z | # -*- coding: utf-8 -*-
from django.core.management import call_command
from django.test import TestCase
from django.utils.six import StringIO
from models import TestModel
class TestBasicsEndToEnd(TestCase):
@classmethod
def setUpTestData(cls):
TestModel.objects.create(text_field="The quick brown fox... | 54.567164 | 117 | 0.651805 | 505 | 3,656 | 4.584158 | 0.144554 | 0.077754 | 0.065659 | 0.046652 | 0.836717 | 0.836717 | 0.777538 | 0.777538 | 0.777538 | 0.765443 | 0 | 0.049286 | 0.195295 | 3,656 | 66 | 118 | 55.393939 | 0.737593 | 0.005744 | 0 | 0.363636 | 0 | 0.254545 | 0.439857 | 0.304156 | 0 | 0 | 0 | 0 | 0.127273 | 1 | 0.145455 | false | 0 | 0.072727 | 0 | 0.236364 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
27d7e514b9f7c0555fa25d93e179be0e30f81c78 | 1,263 | py | Python | ChatfuelAPI.py | ranz77/Pytible | cc2b7d006580305d2901446fa02474f0532b8254 | [
"MIT"
] | 1 | 2020-08-30T14:42:54.000Z | 2020-08-30T14:42:54.000Z | ChatfuelAPI.py | minhhieuuet/Pytible | cc2b7d006580305d2901446fa02474f0532b8254 | [
"MIT"
] | null | null | null | ChatfuelAPI.py | minhhieuuet/Pytible | cc2b7d006580305d2901446fa02474f0532b8254 | [
"MIT"
] | 3 | 2019-08-16T19:27:32.000Z | 2021-11-24T08:05:44.000Z | import requests
import os
class ChatfuelAPI():
def sendText(senderId,msg):
r = requests.post('https://api.chatfuel.com/bots/'+os.getenv('BOT_ID')+'/users/'+str(senderId)+'/send?chatfuel_token='+os.getenv('CHATFUEL_TOKEN')+'&chatfuel_block_id='+os.getenv('CHATFUEL_BLOCK_TEXT'), json={"repmsg": msg})
... | 66.473684 | 240 | 0.688044 | 170 | 1,263 | 4.923529 | 0.223529 | 0.114695 | 0.152927 | 0.086022 | 0.820789 | 0.820789 | 0.76583 | 0.703704 | 0.703704 | 0.703704 | 0 | 0 | 0.113222 | 1,263 | 18 | 241 | 70.166667 | 0.747321 | 0 | 0 | 0.266667 | 0 | 0 | 0.39034 | 0.085511 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0.133333 | 0 | 0.733333 | 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 |
27e4d42dcda94c5fbd736fcb735307a9b7bd1e66 | 3,301 | py | Python | h2o-py/tests/testdir_algos/glm/pyunit_PUBDEV_8077_binomial_alpha.py | MikolajBak/h2o-3 | 4f0a24dcc1867521e781e9fd97a49a3e6abd9efb | [
"Apache-2.0"
] | 6,098 | 2015-05-22T02:46:12.000Z | 2022-03-31T16:54:51.000Z | h2o-py/tests/testdir_algos/glm/pyunit_PUBDEV_8077_binomial_alpha.py | Felipe86100201/h2o-3 | 785a4b80f82e7dfdbf3a8d430a1a34c53cd01d58 | [
"Apache-2.0"
] | 2,517 | 2015-05-23T02:10:54.000Z | 2022-03-30T17:03:39.000Z | h2o-py/tests/testdir_algos/glm/pyunit_PUBDEV_8077_binomial_alpha.py | Felipe86100201/h2o-3 | 785a4b80f82e7dfdbf3a8d430a1a34c53cd01d58 | [
"Apache-2.0"
] | 2,199 | 2015-05-22T04:09:55.000Z | 2022-03-28T22:20:45.000Z | #!/usr/bin/env python
# -*- encoding: utf-8 -*-
import h2o
from h2o.estimators.glm import H2OGeneralizedLinearEstimator
from tests import pyunit_utils
# test binomial family with generate_scoring_history on, alpha arrays, lambda search on and off
def test_binomial_alpha():
training_data = h2o.import_file(pyunit_ut... | 58.946429 | 107 | 0.649197 | 442 | 3,301 | 4.680995 | 0.158371 | 0.094248 | 0.138231 | 0.185597 | 0.82262 | 0.82262 | 0.82262 | 0.82262 | 0.82262 | 0.82262 | 0 | 0.069712 | 0.230839 | 3,301 | 55 | 108 | 60.018182 | 0.745175 | 0.124205 | 0 | 0.731707 | 1 | 0 | 0.034327 | 0.009362 | 0 | 0 | 0 | 0 | 0.097561 | 1 | 0.02439 | false | 0 | 0.097561 | 0 | 0.121951 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 9 |
7e0cdd1f013f273b910131f0cb68120fcc9e947a | 42 | py | Python | hiddeneye_reborn/core/config.py | Devil4333/HiddenEye | f2501dfad468caf62cf7e26b16dd19b02eb719b4 | [
"Unlicense"
] | 582 | 2020-09-30T11:39:24.000Z | 2022-03-28T07:12:55.000Z | hiddeneye_reborn/core/config.py | vroxxx/HiddenEyeReborn | f2501dfad468caf62cf7e26b16dd19b02eb719b4 | [
"Unlicense"
] | 65 | 2020-09-23T18:11:40.000Z | 2021-12-23T13:26:18.000Z | hiddeneye_reborn/core/config.py | vroxxx/HiddenEyeReborn | f2501dfad468caf62cf7e26b16dd19b02eb719b4 | [
"Unlicense"
] | 139 | 2020-09-30T18:44:50.000Z | 2022-03-28T07:14:09.000Z | import yaml
# TODO u know, work in it...
| 10.5 | 28 | 0.642857 | 8 | 42 | 3.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 42 | 3 | 29 | 14 | 0.84375 | 0.619048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
fd66c0d8d073473c0e25344553b76f8da4926226 | 14,060 | py | Python | src/peering/azext_peering/generated/custom.py | Mannan2812/azure-cli-extensions | e2b34efe23795f6db9c59100534a40f0813c3d95 | [
"MIT"
] | 207 | 2017-11-29T06:59:41.000Z | 2022-03-31T10:00:53.000Z | src/peering/azext_peering/generated/custom.py | Mannan2812/azure-cli-extensions | e2b34efe23795f6db9c59100534a40f0813c3d95 | [
"MIT"
] | 4,061 | 2017-10-27T23:19:56.000Z | 2022-03-31T23:18:30.000Z | src/peering/azext_peering/generated/custom.py | Mannan2812/azure-cli-extensions | e2b34efe23795f6db9c59100534a40f0813c3d95 | [
"MIT"
] | 802 | 2017-10-11T17:36:26.000Z | 2022-03-31T22:24:32.000Z | # --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incor... | 41.721068 | 89 | 0.510526 | 1,219 | 14,060 | 5.442986 | 0.078753 | 0.160663 | 0.204974 | 0.173625 | 0.775735 | 0.742276 | 0.727506 | 0.70309 | 0.660739 | 0.611002 | 0 | 0 | 0.435562 | 14,060 | 336 | 90 | 41.845238 | 0.836064 | 0.034637 | 0 | 0.678431 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.137255 | false | 0 | 0.003922 | 0.12549 | 0.286275 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 7 |
fd680ba78fb58942d9e85570c38f8f32ce467b6f | 31,534 | py | Python | spark_fhir_schemas/r4/complex_types/requestgroup_action.py | icanbwell/SparkFhirSchemas | 8c828313c39850b65f8676e67f526ee92b7d624e | [
"Apache-2.0"
] | null | null | null | spark_fhir_schemas/r4/complex_types/requestgroup_action.py | icanbwell/SparkFhirSchemas | 8c828313c39850b65f8676e67f526ee92b7d624e | [
"Apache-2.0"
] | null | null | null | spark_fhir_schemas/r4/complex_types/requestgroup_action.py | icanbwell/SparkFhirSchemas | 8c828313c39850b65f8676e67f526ee92b7d624e | [
"Apache-2.0"
] | null | null | null | from typing import Union, List, Optional
from pyspark.sql.types import (
StructType,
StructField,
StringType,
ArrayType,
DataType,
TimestampType,
)
# This file is auto-generated by generate_schema so do not edit it manually
# noinspection PyPep8Naming
class RequestGroup_ActionSchema:
"""
... | 50.293461 | 104 | 0.54484 | 2,810 | 31,534 | 5.837011 | 0.107829 | 0.065114 | 0.041154 | 0.061456 | 0.825509 | 0.820571 | 0.818132 | 0.791977 | 0.772955 | 0.757773 | 0 | 0.003242 | 0.41311 | 31,534 | 626 | 105 | 50.373802 | 0.883017 | 0.236063 | 0 | 0.705508 | 0 | 0 | 0.030255 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002119 | false | 0 | 0.029661 | 0 | 0.038136 | 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 |
fdaab77874ed372127117eabc450794aaa621dec | 197 | py | Python | firebase_dynamic_links/__init__.py | heykarimoff/firebase_dynamic_links | bed465e7d1706095af2f60948f3efdd0a9051875 | [
"MIT"
] | 12 | 2018-07-14T16:31:47.000Z | 2021-11-21T18:58:44.000Z | firebase_dynamic_links/__init__.py | heykarimoff/firebase_dynamic_links | bed465e7d1706095af2f60948f3efdd0a9051875 | [
"MIT"
] | 2 | 2018-07-08T08:17:00.000Z | 2018-11-11T17:14:56.000Z | firebase_dynamic_links/__init__.py | heykarimoff/firebase_dynamic_links | bed465e7d1706095af2f60948f3efdd0a9051875 | [
"MIT"
] | 2 | 2019-02-05T12:49:38.000Z | 2020-06-04T13:30:05.000Z | from .builder import generate_long_link
from .builder import generate_short_link
from .builder import dynamic_link_builder
from .builder import DynamicLinkBuilder
from .client import FirebaseClient | 39.4 | 41 | 0.878173 | 26 | 197 | 6.423077 | 0.423077 | 0.263473 | 0.407186 | 0.299401 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096447 | 197 | 5 | 42 | 39.4 | 0.938202 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 8 |
e31fdc6e19965da817d9ab0bfcd42a7c2481db92 | 106 | py | Python | tests/profile/__main__.py | clabe45/shulkr | bac47b1497415cfccd7d202ecdbfed3adaa25c44 | [
"Apache-2.0"
] | 3 | 2021-12-17T01:44:22.000Z | 2022-03-22T20:56:06.000Z | tests/profile/__main__.py | clabe45/shulkr | bac47b1497415cfccd7d202ecdbfed3adaa25c44 | [
"Apache-2.0"
] | 5 | 2021-12-17T00:04:06.000Z | 2022-01-03T16:51:08.000Z | tests/profile/__main__.py | clabe45/shulkr | bac47b1497415cfccd7d202ecdbfed3adaa25c44 | [
"Apache-2.0"
] | 1 | 2022-03-22T20:56:09.000Z | 2022-03-22T20:56:09.000Z | from . import profile_get_renamed_variables
if __name__ == '__main__':
profile_get_renamed_variables()
| 17.666667 | 43 | 0.811321 | 13 | 106 | 5.538462 | 0.692308 | 0.277778 | 0.472222 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113208 | 106 | 5 | 44 | 21.2 | 0.765957 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
e35f23fe67175da83b66f696f453ac31a0d18f69 | 7,386 | py | Python | flask/Dashapps/compute_util/stockinterface.py | SchneiderDaniel/data | 741f5d912eb9a62b77ec3cecf4fc54f21133784c | [
"MIT"
] | null | null | null | flask/Dashapps/compute_util/stockinterface.py | SchneiderDaniel/data | 741f5d912eb9a62b77ec3cecf4fc54f21133784c | [
"MIT"
] | null | null | null | flask/Dashapps/compute_util/stockinterface.py | SchneiderDaniel/data | 741f5d912eb9a62b77ec3cecf4fc54f21133784c | [
"MIT"
] | null | null | null | import yfinance as yf
import datetime as dt
import pandas as pd
import pandas_datareader.data as web
from flask import url_for, current_app
import os
import sys
import requests
def isTickerValid(ticker):
try:
df = web.DataReader(ticker, 'yahoo', dt.datetime(2020,1,1), dt.datetime.now())
return ... | 31.164557 | 139 | 0.63485 | 942 | 7,386 | 4.951168 | 0.139066 | 0.055746 | 0.034305 | 0.037736 | 0.810034 | 0.790309 | 0.776801 | 0.776801 | 0.767367 | 0.760077 | 0 | 0.023606 | 0.208503 | 7,386 | 236 | 140 | 31.29661 | 0.774205 | 0.045898 | 0 | 0.726027 | 0 | 0.006849 | 0.070861 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.061644 | false | 0 | 0.054795 | 0 | 0.184932 | 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 |
8b55d4923fbef0d1e30a9450b352134982589162 | 235 | py | Python | RetinaNet/preprocessing/__init__.py | sun1638650145/RetinaNet | 357edda03cdc1f976764b6ed4fcad6e639646142 | [
"Apache-2.0"
] | 2 | 2021-09-23T09:32:19.000Z | 2022-02-16T06:59:03.000Z | RetinaNet/preprocessing/__init__.py | sun1638650145/RetinaNet | 357edda03cdc1f976764b6ed4fcad6e639646142 | [
"Apache-2.0"
] | null | null | null | RetinaNet/preprocessing/__init__.py | sun1638650145/RetinaNet | 357edda03cdc1f976764b6ed4fcad6e639646142 | [
"Apache-2.0"
] | null | null | null | from RetinaNet.preprocessing.img_ops import resize_and_pad_image
from RetinaNet.preprocessing.label_ops import AnchorBox
from RetinaNet.preprocessing.load import load_dataset
from RetinaNet.preprocessing.load import load_small_dataset
| 47 | 64 | 0.897872 | 32 | 235 | 6.34375 | 0.46875 | 0.256158 | 0.512315 | 0.295567 | 0.394089 | 0.394089 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068085 | 235 | 4 | 65 | 58.75 | 0.926941 | 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 |
8b78b0fb84277b159a32338fa08651c8578b9d91 | 128 | py | Python | code/check_costs/res/aws_nat_gateway.py | derBroBro/TerraDepot | 185830a7cb9ba3ec068c3965640b9fd055f942a0 | [
"MIT"
] | 61 | 2020-01-19T21:28:05.000Z | 2022-03-16T16:57:47.000Z | code/check_costs/res/aws_nat_gateway.py | derBroBro/terraform-http-backend | 185830a7cb9ba3ec068c3965640b9fd055f942a0 | [
"MIT"
] | 2 | 2021-08-02T17:09:41.000Z | 2021-08-02T17:10:07.000Z | code/check_costs/res/aws_nat_gateway.py | derBroBro/terraform-http-backend | 185830a7cb9ba3ec068c3965640b9fd055f942a0 | [
"MIT"
] | 5 | 2020-01-19T23:13:57.000Z | 2022-01-07T18:08:04.000Z | from ..lib import get_montly_costs
def run(resource):
# eu-central-1, 0,052 USD/h
return get_montly_costs(0.052, "h")
| 18.285714 | 39 | 0.6875 | 23 | 128 | 3.652174 | 0.73913 | 0.214286 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 0.179688 | 128 | 6 | 40 | 21.333333 | 0.714286 | 0.195313 | 0 | 0 | 0 | 0 | 0.009901 | 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 |
8bb825c0bd667ecfb452b453822956cf45a16446 | 279 | py | Python | tables/__init__.py | kanghj/dinner-tables-planner | e71b9ce31f63fc30aa95849b0ffec79cffd5ef05 | [
"MIT"
] | 1 | 2018-07-28T13:20:33.000Z | 2018-07-28T13:20:33.000Z | tables/__init__.py | kanghj/dinner-tables-planner | e71b9ce31f63fc30aa95849b0ffec79cffd5ef05 | [
"MIT"
] | 33 | 2017-10-31T15:55:18.000Z | 2018-02-07T15:48:57.000Z | tables/__init__.py | kanghj/dinner-tables-planner | e71b9ce31f63fc30aa95849b0ffec79cffd5ef05 | [
"MIT"
] | null | null | null | from .solve import create_file_and_upload_to_s3,\
create_staging_file_and_upload_to_s3, \
ans_from_s3_ans_bucket, delete_job
__all__ = ['create_file_and_upload_to_s3',
'create_staging_file_and_upload_to_s3',
'ans_from_s3_ans_bucket', 'delete_job']
| 34.875 | 50 | 0.767025 | 44 | 279 | 4.045455 | 0.340909 | 0.157303 | 0.292135 | 0.337079 | 0.898876 | 0.898876 | 0.898876 | 0.898876 | 0.898876 | 0.898876 | 0 | 0.025641 | 0.16129 | 279 | 7 | 51 | 39.857143 | 0.735043 | 0 | 0 | 0 | 0 | 0 | 0.344086 | 0.308244 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 0 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
8bcf6a38647af42a9e0ae49a951ed9a0bd779afc | 5,104 | py | Python | matroids/construct/closure_function.py | PotassiumIodide/matroid-theory-in-python | 51c06ba728c9d9002234fe98b1bc84bffb86a0cb | [
"MIT"
] | 2 | 2020-11-27T09:51:49.000Z | 2021-11-10T07:16:34.000Z | matroids/construct/closure_function.py | PotassiumIodide/matroid-theory-in-python | 51c06ba728c9d9002234fe98b1bc84bffb86a0cb | [
"MIT"
] | 1 | 2020-11-16T07:22:29.000Z | 2020-11-16T07:22:29.000Z | matroids/construct/closure_function.py | PotassiumIodide/matroid-theory-in-python | 51c06ba728c9d9002234fe98b1bc84bffb86a0cb | [
"MIT"
] | null | null | null | from functools import reduce
from operator import and_
from typing import Callable, TypeVar
import matroids.construct.independent_sets as independent_sets
import matroids.construct.rank_function as rank_function
T = TypeVar('T')
def from_independent_matroid(matroid: tuple[set[T], list[set[T]]]) -> Callable[[set... | 35.943662 | 103 | 0.632837 | 794 | 5,104 | 4.013854 | 0.081864 | 0.100408 | 0.090367 | 0.100408 | 0.781613 | 0.766552 | 0.738312 | 0.720113 | 0.701914 | 0.701914 | 0 | 0 | 0.211991 | 5,104 | 142 | 104 | 35.943662 | 0.787668 | 0.504114 | 0 | 0.166667 | 0 | 0 | 0.000441 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.277778 | false | 0 | 0.138889 | 0 | 0.694444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
479ebc4dc2113dba20b28a99ff29cc527c9e70c9 | 91 | py | Python | finitewave/cpuwave2D/model/aliev_panfilov_2d/__init__.py | ArsOkenov/Finitewave | 14274d74be824a395b47a5c53ba18188798ab70d | [
"MIT"
] | null | null | null | finitewave/cpuwave2D/model/aliev_panfilov_2d/__init__.py | ArsOkenov/Finitewave | 14274d74be824a395b47a5c53ba18188798ab70d | [
"MIT"
] | null | null | null | finitewave/cpuwave2D/model/aliev_panfilov_2d/__init__.py | ArsOkenov/Finitewave | 14274d74be824a395b47a5c53ba18188798ab70d | [
"MIT"
] | 2 | 2021-10-05T13:38:56.000Z | 2022-03-05T15:58:08.000Z | from finitewave.cpuwave2D.model.aliev_panfilov_2d.aliev_panfilov_2d import AlievPanfilov2D
| 45.5 | 90 | 0.912088 | 12 | 91 | 6.583333 | 0.75 | 0.329114 | 0.379747 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045977 | 0.043956 | 91 | 1 | 91 | 91 | 0.862069 | 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 |
47dabb13dac429477d9750bdebb7fdd38244a225 | 50,337 | py | Python | cardano-node-tests/cardano_node_tests/tests/test_scripts.py | MitchellTesla/Cardano-SCK | f394506eb0875622093805c009951f6905261778 | [
"Apache-2.0"
] | 6 | 2021-08-30T00:49:12.000Z | 2022-01-27T07:07:53.000Z | cardano-node-tests/cardano_node_tests/tests/test_scripts.py | c-spider/Cardano-SCK | 1accb0426289489e371eb67422ccb19ffaab5f3c | [
"Apache-2.0"
] | 17 | 2021-08-31T23:27:44.000Z | 2022-03-25T20:35:16.000Z | cardano-node-tests/cardano_node_tests/tests/test_scripts.py | c-spider/Cardano-SCK | 1accb0426289489e371eb67422ccb19ffaab5f3c | [
"Apache-2.0"
] | 3 | 2021-05-20T08:26:00.000Z | 2022-03-27T22:31:36.000Z | """Tests for multisig transactions and scripts.
* multisig
* time locking
* auxiliary scripts
"""
import json
import logging
import random
from pathlib import Path
from typing import List
from typing import Optional
import allure
import cbor2
import pytest
from _pytest.tmpdir import TempdirFactory
from cardano_cluste... | 36.555556 | 100 | 0.645946 | 5,896 | 50,337 | 5.171133 | 0.050543 | 0.052347 | 0.044081 | 0.035521 | 0.899898 | 0.893043 | 0.879301 | 0.862081 | 0.850339 | 0.840828 | 0 | 0.009849 | 0.279874 | 50,337 | 1,376 | 101 | 36.582122 | 0.831251 | 0.107436 | 0 | 0.741224 | 0 | 0 | 0.045711 | 0.019648 | 0 | 0 | 0 | 0.001453 | 0.025075 | 1 | 0.028084 | false | 0 | 0.016048 | 0 | 0.060181 | 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 |
47dfc434289f5df8476ac80b55052f41e5947829 | 6,728 | py | Python | representatives/migrations/0001_initial.py | imhangoo/represent-reps | 464bee39065700bdd4ff0b13612f8df31b6d5688 | [
"MIT"
] | null | null | null | representatives/migrations/0001_initial.py | imhangoo/represent-reps | 464bee39065700bdd4ff0b13612f8df31b6d5688 | [
"MIT"
] | null | null | null | representatives/migrations/0001_initial.py | imhangoo/represent-reps | 464bee39065700bdd4ff0b13612f8df31b6d5688 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class JSONField(models.TextField):
"""Mocks jsonfield 0.92's column-type behaviour"""
def db_type(self, connection):
if connection.vendor == 'postgresql' and connection.pg_version >= 90300:
... | 54.699187 | 173 | 0.587545 | 704 | 6,728 | 5.458807 | 0.203125 | 0.079625 | 0.087952 | 0.103045 | 0.838147 | 0.838147 | 0.838147 | 0.838147 | 0.794952 | 0.747333 | 0 | 0.023047 | 0.271254 | 6,728 | 122 | 174 | 55.147541 | 0.760759 | 0.009958 | 0 | 0.747826 | 0 | 0 | 0.194741 | 0.03441 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008696 | false | 0 | 0.052174 | 0 | 0.113043 | 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 |
9a1c3940ac55cd6d528ad1e07cac16b52b06a0e9 | 14,705 | py | Python | evaluation/hand_calculation/unit_tests/test_score.py | VictorZXY/meowjong | ec71171f7dc2369c55f5e3bd3302cbaa76346561 | [
"MIT"
] | null | null | null | evaluation/hand_calculation/unit_tests/test_score.py | VictorZXY/meowjong | ec71171f7dc2369c55f5e3bd3302cbaa76346561 | [
"MIT"
] | null | null | null | evaluation/hand_calculation/unit_tests/test_score.py | VictorZXY/meowjong | ec71171f7dc2369c55f5e3bd3302cbaa76346561 | [
"MIT"
] | null | null | null | import unittest
from evaluation.hand_calculation.hand_config import HandConfig
from evaluation.hand_calculation.score import Score
from evaluation.hand_calculation.tile_constants import EAST, SOUTH, WEST
class ScoreTestCase(unittest.TestCase):
def test_calculate_ron_score(self):
hand_config = HandConfig(... | 43.505917 | 78 | 0.683237 | 1,922 | 14,705 | 4.980749 | 0.057752 | 0.207876 | 0.204011 | 0.192207 | 0.941607 | 0.938682 | 0.92834 | 0.917476 | 0.900867 | 0.859919 | 0 | 0.058689 | 0.198164 | 14,705 | 337 | 79 | 43.635015 | 0.753202 | 0 | 0 | 0.72766 | 0 | 0 | 0.076505 | 0 | 0 | 0 | 0 | 0 | 0.395745 | 1 | 0.034043 | false | 0 | 0.017021 | 0 | 0.055319 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
d02081ead4079e3d715ed0cef667ad6bd8a1b7f4 | 2,283 | py | Python | ci-scripts/dlrnapi_promoter/test_stage_registries_unit.py | fuzzball81/ci-config | b3a8ff6be780bfae0ae9e3e0511dfa61010695eb | [
"Apache-2.0"
] | 8 | 2016-10-06T13:24:04.000Z | 2021-11-04T20:51:23.000Z | ci-scripts/dlrnapi_promoter/test_stage_registries_unit.py | fuzzball81/ci-config | b3a8ff6be780bfae0ae9e3e0511dfa61010695eb | [
"Apache-2.0"
] | 8 | 2020-02-26T20:11:29.000Z | 2021-09-23T23:23:47.000Z | ci-scripts/dlrnapi_promoter/test_stage_registries_unit.py | fuzzball81/ci-config | b3a8ff6be780bfae0ae9e3e0511dfa61010695eb | [
"Apache-2.0"
] | 9 | 2016-04-08T14:38:06.000Z | 2021-11-01T18:43:30.000Z | import unittest
import pytest
class TestLocalRegistry(unittest.TestCase):
@pytest.mark.xfail(reason="Not Implemented", run=False)
def test_get_base_image_exists(self):
assert False
@pytest.mark.xfail(reason="Not Implemented", run=False)
def test_get_base_image_download(self):
assert... | 27.841463 | 59 | 0.69908 | 298 | 2,283 | 5.181208 | 0.130872 | 0.11658 | 0.17487 | 0.244819 | 0.870466 | 0.870466 | 0.870466 | 0.870466 | 0.870466 | 0.870466 | 0 | 0 | 0.194919 | 2,283 | 81 | 60 | 28.185185 | 0.840044 | 0 | 0 | 0.62069 | 0 | 0 | 0.118265 | 0 | 0 | 0 | 0 | 0 | 0.310345 | 1 | 0.310345 | false | 0 | 0.034483 | 0 | 0.37931 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
d0ac0b6445c3b852c3548dcf85bf0a5ea4f911b8 | 25,763 | py | Python | optionvisualizer/multi_payoffs.py | GBERESEARCH/optionvisualizer | 98830c478f7edbacb18f30d679ee4010c7ed7fe6 | [
"MIT"
] | 8 | 2020-12-08T15:22:02.000Z | 2022-03-26T19:40:38.000Z | optionvisualizer/multi_payoffs.py | GBERESEARCH/optionvisualizer | 98830c478f7edbacb18f30d679ee4010c7ed7fe6 | [
"MIT"
] | null | null | null | optionvisualizer/multi_payoffs.py | GBERESEARCH/optionvisualizer | 98830c478f7edbacb18f30d679ee4010c7ed7fe6 | [
"MIT"
] | 4 | 2020-11-19T23:08:05.000Z | 2021-12-28T08:07:02.000Z | """
Three and Four Option Payoffs
"""
from matplotlib import gridspec
from matplotlib import pylab
import matplotlib.pyplot as plt
from optionvisualizer.option_formulas import Option
# pylint: disable=invalid-name
class MultiPayoff():
"""
Calculate Three and Four Option payoffs - Butterfly / Christmas Tree /
... | 36.23488 | 78 | 0.500563 | 2,892 | 25,763 | 4.327455 | 0.081604 | 0.142229 | 0.062325 | 0.02493 | 0.864722 | 0.848102 | 0.834039 | 0.819257 | 0.803915 | 0.800639 | 0 | 0.036796 | 0.380779 | 25,763 | 710 | 79 | 36.285915 | 0.747696 | 0.318247 | 0 | 0.792614 | 0 | 0 | 0.155886 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017045 | false | 0 | 0.011364 | 0 | 0.03125 | 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 |
d0c7b9647a31b4117643d071cfd3de2787fb854e | 84 | py | Python | strategies/__init__.py | jonahobw/shrinkbench | 2fe04274838cd71dc0eaba1d6250a40d15896993 | [
"MIT"
] | null | null | null | strategies/__init__.py | jonahobw/shrinkbench | 2fe04274838cd71dc0eaba1d6250a40d15896993 | [
"MIT"
] | null | null | null | strategies/__init__.py | jonahobw/shrinkbench | 2fe04274838cd71dc0eaba1d6250a40d15896993 | [
"MIT"
] | null | null | null | from .magnitude import *
from .adversarial_magnitude import *
from .random import *
| 21 | 36 | 0.785714 | 10 | 84 | 6.5 | 0.5 | 0.461538 | 0.584615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 84 | 3 | 37 | 28 | 0.902778 | 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 |
d0e8c2e54952ba94b91dde000917e3352a9923ad | 252 | py | Python | Codewars/7kyu/plus-minus-plus-plus-dot-dot-dot-count/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | 7 | 2017-09-20T16:40:39.000Z | 2021-08-31T18:15:08.000Z | Codewars/7kyu/plus-minus-plus-plus-dot-dot-dot-count/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | Codewars/7kyu/plus-minus-plus-plus-dot-dot-dot-count/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | # Python - 3.6.0
Test.assert_equals(catch_sign_change([1, 3, 4, 5]), 0)
Test.assert_equals(catch_sign_change([1, -3, -4, 0, 5]), 2)
Test.assert_equals(catch_sign_change([]), 0)
Test.assert_equals(catch_sign_change([-47, 84, -30, -11, -5, 74, 77]), 3)
| 36 | 73 | 0.678571 | 48 | 252 | 3.3125 | 0.416667 | 0.251572 | 0.402516 | 0.528302 | 0.836478 | 0.836478 | 0.641509 | 0.440252 | 0.440252 | 0.440252 | 0 | 0.128319 | 0.103175 | 252 | 6 | 74 | 42 | 0.575221 | 0.055556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
ef6f55e41e0e544981772083937c8f5e5d958a87 | 17,321 | py | Python | tests/analyses/snapshots/snap_test_db.py | ColeVoelpel/virtool | 859c8d2516f07343bde47f3bae0247dedd76e6c4 | [
"MIT"
] | 1 | 2019-08-23T00:19:00.000Z | 2019-08-23T00:19:00.000Z | tests/analyses/snapshots/snap_test_db.py | ColeVoelpel/virtool | 859c8d2516f07343bde47f3bae0247dedd76e6c4 | [
"MIT"
] | null | null | null | tests/analyses/snapshots/snap_test_db.py | ColeVoelpel/virtool | 859c8d2516f07343bde47f3bae0247dedd76e6c4 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# snapshottest: v1 - https://goo.gl/zC4yUc
from __future__ import unicode_literals
from snapshottest import GenericRepr, Snapshot
snapshots = Snapshot()
snapshots['TestBLAST.test_update[uvloop-None-None-None-True] 1'] = {
'_id': 'foo',
'results': [
{
'blast': 'bar... | 25.175872 | 88 | 0.373015 | 1,402 | 17,321 | 4.514265 | 0.039943 | 0.102702 | 0.165903 | 0.229104 | 0.967767 | 0.967767 | 0.967767 | 0.967767 | 0.961763 | 0.956707 | 0 | 0.078599 | 0.459385 | 17,321 | 687 | 89 | 25.212518 | 0.597287 | 0.003579 | 0 | 0.621005 | 0 | 0 | 0.345909 | 0.140473 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.003044 | 0 | 0.003044 | 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 |
ef81f40c0b1153c2a5885e54b168715b6c707adb | 60 | py | Python | relay/constants.py | weilbith/relay | ab1fc05cbb0ce664409a055f18a67255917c6959 | [
"MIT"
] | 7 | 2017-07-21T09:13:56.000Z | 2019-03-06T05:38:45.000Z | relay/constants.py | weilbith/relay | ab1fc05cbb0ce664409a055f18a67255917c6959 | [
"MIT"
] | 223 | 2019-06-28T13:49:09.000Z | 2021-10-20T18:04:59.000Z | relay/constants.py | weilbith/relay | ab1fc05cbb0ce664409a055f18a67255917c6959 | [
"MIT"
] | 5 | 2019-04-07T14:31:02.000Z | 2022-03-08T10:25:42.000Z | NULL_ADDRESS = "0x0000000000000000000000000000000000000000"
| 30 | 59 | 0.9 | 3 | 60 | 17.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.719298 | 0.05 | 60 | 1 | 60 | 60 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0.7 | 0.7 | 0 | 0 | 0.7 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
efc93256a8560a62ac48a49e4d7ac218c47702f8 | 13,875 | py | Python | tests/unit/model/music_maze/test_mazeState.py | RegaledSeer/MusicMaze | 5a60fb23694583cfbfde3d19a0aec5292c5aa9cc | [
"MIT"
] | 3 | 2020-02-04T17:32:08.000Z | 2020-03-25T13:52:29.000Z | tests/unit/model/music_maze/test_mazeState.py | RegaledSeer/MusicMaze | 5a60fb23694583cfbfde3d19a0aec5292c5aa9cc | [
"MIT"
] | 24 | 2018-11-09T16:58:13.000Z | 2018-12-30T18:44:51.000Z | tests/unit/model/music_maze/test_mazeState.py | CookieComputing/MusicMaze | 5a60fb23694583cfbfde3d19a0aec5292c5aa9cc | [
"MIT"
] | null | null | null | from unittest import TestCase
from model.music_maze.MazeState import MazeState
from model.music_maze.MusicMaze import MusicMaze
class TestMazeState(TestCase):
def test_two_by_two_get_cell(self):
m = MazeState(MusicMaze(3, 2, 2))
self.assertCountEqual([(0, 0), (0, 1),
... | 36.706349 | 73 | 0.538955 | 1,891 | 13,875 | 3.652565 | 0.03596 | 0.110757 | 0.095555 | 0.130303 | 0.915303 | 0.889388 | 0.852903 | 0.824236 | 0.780368 | 0.716954 | 0 | 0.047877 | 0.322595 | 13,875 | 378 | 74 | 36.706349 | 0.686988 | 0 | 0 | 0.756014 | 0 | 0 | 0.058879 | 0 | 0 | 0 | 0 | 0 | 0.347079 | 1 | 0.061856 | false | 0 | 0.010309 | 0 | 0.075601 | 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 |
efdb6f4dcf59af33752ebf7b70d643dfb8b4dd06 | 102 | py | Python | app/blueprints/sitemaps/__init__.py | Anioko/landingpage_cms | b2d68d28287dd163de7d420b2c20b19050a2326a | [
"MIT"
] | null | null | null | app/blueprints/sitemaps/__init__.py | Anioko/landingpage_cms | b2d68d28287dd163de7d420b2c20b19050a2326a | [
"MIT"
] | null | null | null | app/blueprints/sitemaps/__init__.py | Anioko/landingpage_cms | b2d68d28287dd163de7d420b2c20b19050a2326a | [
"MIT"
] | null | null | null | from app.blueprints.sitemaps.views import sitemaps
from app.blueprints.sitemaps import errors # noqa
| 34 | 50 | 0.833333 | 14 | 102 | 6.071429 | 0.571429 | 0.164706 | 0.4 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107843 | 102 | 2 | 51 | 51 | 0.934066 | 0.039216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 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 | 1 | 0 | 8 |
effaba798ac369e6897765eea80a3c8b224d303b | 45,120 | py | Python | gold nanocluster synthesis/own_package/SNN_setup.py | acceleratedmaterials/NUS_workshop | 8937111a4f4d252ed76e33897fd4be7d9582a491 | [
"MIT"
] | 3 | 2018-11-14T13:13:48.000Z | 2022-01-13T16:49:10.000Z | gold nanocluster synthesis/own_package/SNN_setup.py | acceleratedmaterials/NUS_workshop | 8937111a4f4d252ed76e33897fd4be7d9582a491 | [
"MIT"
] | 17 | 2020-01-28T22:32:32.000Z | 2022-03-11T23:33:24.000Z | gold nanocluster synthesis/own_package/SNN_setup.py | acceleratedmaterials/NUS_workshop | 8937111a4f4d252ed76e33897fd4be7d9582a491 | [
"MIT"
] | 10 | 2018-11-14T13:15:33.000Z | 2022-01-13T16:48:57.000Z | import keras.backend as K
import tensorflow as tf
from keras.models import Sequential, Model, load_model
from keras.layers import Dense, Dropout, Convolution2D, Flatten, merge, Input, Lambda, Concatenate
from keras import regularizers, optimizers
from keras.callbacks import EarlyStopping, ModelCheckpoint
from keras.lay... | 55.361963 | 120 | 0.609951 | 5,722 | 45,120 | 4.56309 | 0.078644 | 0.022405 | 0.020912 | 0.018231 | 0.82884 | 0.813635 | 0.793795 | 0.779548 | 0.77139 | 0.757564 | 0 | 0.012623 | 0.304721 | 45,120 | 814 | 121 | 55.429975 | 0.819674 | 0.209286 | 0 | 0.741935 | 0 | 0 | 0.047449 | 0 | 0 | 0 | 0 | 0 | 0.001698 | 1 | 0.040747 | false | 0 | 0.03056 | 0 | 0.108659 | 0.010187 | 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 |
4bece07496278872ff58c6868d7bb2f2b42d8014 | 289 | py | Python | tlidb/examples/configs/generation_config.py | alon-albalak/TLiDB | 4f3524a3bbe7580e417dd884c4dc8751bdaf8855 | [
"MIT"
] | null | null | null | tlidb/examples/configs/generation_config.py | alon-albalak/TLiDB | 4f3524a3bbe7580e417dd884c4dc8751bdaf8855 | [
"MIT"
] | null | null | null | tlidb/examples/configs/generation_config.py | alon-albalak/TLiDB | 4f3524a3bbe7580e417dd884c4dc8751bdaf8855 | [
"MIT"
] | null | null | null | t5_generation_config = {
"do_sample": True,
"num_beams": 2,
"repetition_penalty": 5.0,
"length_penalty": 1.0,
"num_return_sequences": 1,
}
GPT2_generation_config = {
"do_sample": True,
"num_beams": 2,
"repetition_penalty": 5.0,
"length_penalty": 1.0,
} | 20.642857 | 30 | 0.626298 | 38 | 289 | 4.394737 | 0.473684 | 0.191617 | 0.215569 | 0.287425 | 0.850299 | 0.850299 | 0.850299 | 0.850299 | 0.850299 | 0.850299 | 0 | 0.057269 | 0.214533 | 289 | 14 | 31 | 20.642857 | 0.678414 | 0 | 0 | 0.615385 | 0 | 0 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 8 |
4bfd2f85dfa906bf1c029fd591175cba345b9224 | 5,277 | py | Python | Project Resources/Convert.py | chandler-stevens/scarran-music | bb7d72dbcbc8c96fb59cde54d6a172a8ef8d6867 | [
"MIT"
] | 1 | 2019-11-16T00:56:03.000Z | 2019-11-16T00:56:03.000Z | Project Resources/Convert.py | chandler-stevens/scarran-music | bb7d72dbcbc8c96fb59cde54d6a172a8ef8d6867 | [
"MIT"
] | null | null | null | Project Resources/Convert.py | chandler-stevens/scarran-music | bb7d72dbcbc8c96fb59cde54d6a172a8ef8d6867 | [
"MIT"
] | null | null | null | import json
import sys
import os
from scipy.io import arff
import pandas as pd
with open(populate + ".sql", "w") as filesql:
#opens Band file and uses to iterate.
with open(sys.argv[1], "r") as file:
#open other relevant files here
data = file.readlines()
#write bands here
for line in data:
... | 20.533074 | 69 | 0.627061 | 727 | 5,277 | 4.551582 | 0.148556 | 0.094288 | 0.043215 | 0.051073 | 0.845875 | 0.83016 | 0.789362 | 0.747053 | 0.736476 | 0.726503 | 0 | 0.010111 | 0.250332 | 5,277 | 257 | 70 | 20.533074 | 0.82634 | 0.449877 | 0 | 0.77907 | 0 | 0 | 0.156272 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.05814 | 0 | 0.05814 | 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 |
ef36a54dddfe76433b9112647f837f94967acea5 | 44 | py | Python | WeatherPy/.ipynb_checkpoints/weather_api-checkpoint.py | i-kkwk/PythonAPI_challenge | bd2924e35a64e7f37327f4573abd3ac403d9a019 | [
"ADSL"
] | null | null | null | WeatherPy/.ipynb_checkpoints/weather_api-checkpoint.py | i-kkwk/PythonAPI_challenge | bd2924e35a64e7f37327f4573abd3ac403d9a019 | [
"ADSL"
] | null | null | null | WeatherPy/.ipynb_checkpoints/weather_api-checkpoint.py | i-kkwk/PythonAPI_challenge | bd2924e35a64e7f37327f4573abd3ac403d9a019 | [
"ADSL"
] | null | null | null | api_key = "1d05f4c6d232e227cd0f6779f251c02c" | 44 | 44 | 0.886364 | 3 | 44 | 12.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0.045455 | 44 | 1 | 44 | 44 | 0.404762 | 0 | 0 | 0 | 0 | 0 | 0.711111 | 0.711111 | 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 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
322a85886c95623bbffe576ec5f3ad7f698f2e57 | 98,670 | py | Python | psychology_today1.py | nameverb/programming-final | cb7e1ff1a984508c86622259c517d8c2faba536e | [
"MIT"
] | 1 | 2021-01-16T11:16:56.000Z | 2021-01-16T11:16:56.000Z | psychology_today1.py | nameverb/programming-final | cb7e1ff1a984508c86622259c517d8c2faba536e | [
"MIT"
] | null | null | null | psychology_today1.py | nameverb/programming-final | cb7e1ff1a984508c86622259c517d8c2faba536e | [
"MIT"
] | null | null | null | from bs4 import BeautifulSoup
import pprint
import requests
import json
import collections
import time
import re
pp = pprint.PrettyPrinter(indent=4)
all_my_data = []
headers = {
'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36... | 1,794 | 96,884 | 0.801905 | 13,032 | 98,670 | 6.069061 | 0.014349 | 0.284706 | 0.332157 | 0.363792 | 0.989329 | 0.989329 | 0.989329 | 0.989329 | 0.972033 | 0.236269 | 0 | 0.000989 | 0.016621 | 98,670 | 54 | 96,885 | 1,827.222222 | 0.81414 | 0.001753 | 0 | 0.15 | 0 | 6.55 | 0.938187 | 0.025474 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.175 | 0 | 0.175 | 0.05 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
32592311f1209617b6391dc479c8e61391c8ea31 | 134 | py | Python | drifter_ml/columnar_tests/__init__.py | mc-robinson/drifter_ml | fe9d0d71b57b9bfba7ad67968bb583dab7dc6212 | [
"MIT"
] | 88 | 2019-03-15T01:25:43.000Z | 2022-01-13T05:08:41.000Z | drifter_ml/columnar_tests/__init__.py | mc-robinson/drifter_ml | fe9d0d71b57b9bfba7ad67968bb583dab7dc6212 | [
"MIT"
] | 32 | 2019-03-20T16:16:56.000Z | 2022-01-23T05:06:27.000Z | drifter_ml/columnar_tests/__init__.py | mc-robinson/drifter_ml | fe9d0d71b57b9bfba7ad67968bb583dab7dc6212 | [
"MIT"
] | 8 | 2019-04-02T21:54:42.000Z | 2020-11-05T11:47:15.000Z | from .columnar_tests import DataSanitization
from .columnar_tests import ColumnarData
__all__ = ["DataSanitization", "ColumnarData"]
| 26.8 | 46 | 0.828358 | 13 | 134 | 8.076923 | 0.538462 | 0.228571 | 0.32381 | 0.438095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097015 | 134 | 4 | 47 | 33.5 | 0.867769 | 0 | 0 | 0 | 0 | 0 | 0.208955 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
32aa0ec43775f6acf9540c5ba88c26cf1d79a862 | 61,760 | py | Python | bfd/datastore/tests/test_logic.py | department-of-data-and-coding-affairs/BFD | 36484fc8061e8e4e4b5bbc914905a58af65a4469 | [
"MIT"
] | 3 | 2020-05-13T15:19:25.000Z | 2021-08-06T13:44:20.000Z | bfd/datastore/tests/test_logic.py | department-of-data-and-coding-affairs/BFD | 36484fc8061e8e4e4b5bbc914905a58af65a4469 | [
"MIT"
] | 1 | 2021-09-21T07:19:29.000Z | 2021-09-21T10:22:49.000Z | bfd/datastore/tests/test_logic.py | ntoll/BFD | 36484fc8061e8e4e4b5bbc914905a58af65a4469 | [
"MIT"
] | null | null | null | """
Tests for the datastore logic used to define the behaviour of the API.
Copyright (C) 2020 Nicholas H.Tollervey.
"Commons Clause" License Condition v1.0:
The Software is provided to you by the Licensor under the License, as defined
below, subject to the following condition.
Without limiting other conditions in t... | 38.842767 | 79 | 0.6034 | 7,281 | 61,760 | 4.896992 | 0.046972 | 0.034553 | 0.052924 | 0.033375 | 0.909129 | 0.89289 | 0.879624 | 0.861618 | 0.848408 | 0.836769 | 0 | 0.002955 | 0.309553 | 61,760 | 1,589 | 80 | 38.867212 | 0.833193 | 0.178659 | 0 | 0.747871 | 0 | 0 | 0.09941 | 0.044787 | 0 | 0 | 0 | 0 | 0.198467 | 1 | 0.051107 | false | 0.008518 | 0.003407 | 0 | 0.056218 | 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 |
32c6ac2d1ddac81667e749919fb0dddba9976319 | 1,905 | py | Python | install/app_store/tk-framework-qtwidgets/v2.6.6/python/shotgun_menus/ui/resources_rc.py | JoanAzpeitia/lp_sg | e0ee79555e419dd2ae3a5f31e5515b3f40b22a62 | [
"MIT"
] | null | null | null | install/app_store/tk-framework-qtwidgets/v2.6.6/python/shotgun_menus/ui/resources_rc.py | JoanAzpeitia/lp_sg | e0ee79555e419dd2ae3a5f31e5515b3f40b22a62 | [
"MIT"
] | null | null | null | install/app_store/tk-framework-qtwidgets/v2.6.6/python/shotgun_menus/ui/resources_rc.py | JoanAzpeitia/lp_sg | e0ee79555e419dd2ae3a5f31e5515b3f40b22a62 | [
"MIT"
] | 1 | 2020-02-15T10:42:56.000Z | 2020-02-15T10:42:56.000Z | # -*- coding: utf-8 -*-
# Resource object code
#
# by: The Resource Compiler for PySide (Qt v4.8.7)
#
# WARNING! All changes made in this file will be lost!
from tank.platform.qt import QtCore
qt_resource_data = "\x00\x00\x01q\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00\x0c\x00\x00\x00\x0c\x08\x04\x0... | 90.714286 | 967 | 0.761155 | 378 | 1,905 | 3.777778 | 0.473545 | 0.252101 | 0.176471 | 0.058824 | 0.179272 | 0.17507 | 0.140756 | 0.140756 | 0.121849 | 0.121849 | 0 | 0.295405 | 0.04042 | 1,905 | 20 | 968 | 95.25 | 0.485777 | 0.078215 | 0 | 0 | 0 | 0.333333 | 0.787879 | 0.786735 | 0 | 0 | 0.004574 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
089c6d7a635b0929628c653c9bed2e9e8e63e15e | 170 | py | Python | addons14/date_range/tests/__init__.py | odoochain/addons_oca | 55d456d798aebe16e49b4a6070765f206a8885ca | [
"MIT"
] | 1 | 2021-06-10T14:59:13.000Z | 2021-06-10T14:59:13.000Z | addons14/date_range/tests/__init__.py | odoochain/addons_oca | 55d456d798aebe16e49b4a6070765f206a8885ca | [
"MIT"
] | null | null | null | addons14/date_range/tests/__init__.py | odoochain/addons_oca | 55d456d798aebe16e49b4a6070765f206a8885ca | [
"MIT"
] | 1 | 2021-04-09T09:44:44.000Z | 2021-04-09T09:44:44.000Z | # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from . import test_date_range_type
from . import test_date_range
from . import test_date_range_generator
| 28.333333 | 63 | 0.794118 | 29 | 170 | 4.37931 | 0.62069 | 0.23622 | 0.330709 | 0.425197 | 0.543307 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013245 | 0.111765 | 170 | 5 | 64 | 34 | 0.827815 | 0.358824 | 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 |
08dfaa89c6ed1115fcbf6ef1d0ea1cdf2cd80e45 | 83 | py | Python | release/scripts/presets/framerate/50.py | rbabari/blender | 6daa85f14b2974abfc3d0f654c5547f487bb3b74 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 365 | 2015-02-10T15:10:55.000Z | 2022-03-03T15:50:51.000Z | release/scripts/presets/framerate/50.py | rbabari/blender | 6daa85f14b2974abfc3d0f654c5547f487bb3b74 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 45 | 2015-01-09T15:34:20.000Z | 2021-10-05T14:44:23.000Z | release/scripts/presets/framerate/50.py | rbabari/blender | 6daa85f14b2974abfc3d0f654c5547f487bb3b74 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 172 | 2015-01-25T15:16:53.000Z | 2022-01-31T08:25:36.000Z | import bpy
bpy.context.scene.render.fps = 50
bpy.context.scene.render.fps_base = 1
| 20.75 | 37 | 0.783133 | 15 | 83 | 4.266667 | 0.6 | 0.3125 | 0.46875 | 0.65625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.096386 | 83 | 3 | 38 | 27.666667 | 0.813333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
3eb5f1aa42f2e8a06438db7c3532c490a25081d1 | 608,436 | py | Python | tigershark/parsers/M837_4010_X096_A1.py | pedromtorres/TigerShark | 2790a7c03905a094b126b48387c7919c09cce238 | [
"BSD-3-Clause"
] | 24 | 2015-03-18T10:15:20.000Z | 2022-03-18T13:38:34.000Z | tigershark/parsers/M837_4010_X096_A1.py | tspannhw/TigerShark | 5081641f1b189a43e9eab4813256598cc0a79f6f | [
"BSD-3-Clause"
] | 6 | 2015-03-27T12:36:57.000Z | 2021-04-13T15:01:24.000Z | tigershark/parsers/M837_4010_X096_A1.py | tspannhw/TigerShark | 5081641f1b189a43e9eab4813256598cc0a79f6f | [
"BSD-3-Clause"
] | 21 | 2015-11-21T09:19:47.000Z | 2020-09-17T16:52:50.000Z | #
# Generated by TigerShark.tools.convertPyX12 on 2012-07-10 16:30:01.728840
#
from tigershark.X12.parse import Message, Loop, Segment, Composite, Element, Properties
parsed_837_1000A = Loop( u'1000A', Properties(looptype='',repeat=u'1',pos=u'020',req_sit=u'R',desc=u'Submitter Name'),
Segment( u'NM1', Properties(synta... | 83.040262 | 3,741 | 0.60739 | 116,250 | 608,436 | 3.120292 | 0.015045 | 0.050064 | 0.070071 | 0.032266 | 0.99254 | 0.990437 | 0.990244 | 0.989634 | 0.988948 | 0.988427 | 0 | 0.104593 | 0.124222 | 608,436 | 7,326 | 3,742 | 83.051597 | 0.576144 | 0.000118 | 0 | 0.965583 | 1 | 0 | 0.264023 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.000137 | 0 | 0.000137 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 9 |
3ef38fc805ff204678788398202526e72e423b88 | 1,777 | py | Python | test/test_macro/staging/test_derive_columns.py | NikkaZ/dbtvault_spark | 383723cd2a35a0bc7b82fd4e77fb1eda0f68cb07 | [
"Apache-2.0"
] | null | null | null | test/test_macro/staging/test_derive_columns.py | NikkaZ/dbtvault_spark | 383723cd2a35a0bc7b82fd4e77fb1eda0f68cb07 | [
"Apache-2.0"
] | null | null | null | test/test_macro/staging/test_derive_columns.py | NikkaZ/dbtvault_spark | 383723cd2a35a0bc7b82fd4e77fb1eda0f68cb07 | [
"Apache-2.0"
] | null | null | null | import pytest
from test import dbtvault_harness_utils
macro_name = "derive_columns"
@pytest.mark.macro
def test_derive_columns_correctly_generates_sql_with_source_columns(request, generate_model):
var_dict = {'source_model': 'raw_source', 'columns': {'SOURCE': "!STG_BOOKING", 'EFFECTIVE_FROM': 'LOAD_DATE'}}
... | 37.020833 | 115 | 0.727631 | 219 | 1,777 | 5.43379 | 0.232877 | 0.12605 | 0.168067 | 0.077311 | 0.809244 | 0.809244 | 0.809244 | 0.77563 | 0.77563 | 0.77563 | 0 | 0 | 0.187957 | 1,777 | 47 | 116 | 37.808511 | 0.824671 | 0 | 0 | 0.666667 | 1 | 0 | 0.102983 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.1 | false | 0 | 0.066667 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
411fbc29e0b4e622cde9f62783703580367f665e | 466 | py | Python | json-encoding.py | ccoffrin/py-json-examples | c01bf6994e4480470939621ed0b4b7043b38819f | [
"MIT"
] | null | null | null | json-encoding.py | ccoffrin/py-json-examples | c01bf6994e4480470939621ed0b4b7043b38819f | [
"MIT"
] | null | null | null | json-encoding.py | ccoffrin/py-json-examples | c01bf6994e4480470939621ed0b4b7043b38819f | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import json
data_json = {}
with open('data/json_table_01.json', 'r') as file:
data_json = json.load(file)
print(data_json)
with open('data/json_table_02.json', 'r') as file:
data_json = json.load(file)
print(data_json)
with open('data/json_table_03.json', 'r') as file:
data_j... | 15.533333 | 52 | 0.688841 | 79 | 466 | 3.860759 | 0.240506 | 0.340984 | 0.157377 | 0.209836 | 0.862295 | 0.862295 | 0.862295 | 0.767213 | 0.767213 | 0.767213 | 0 | 0.017812 | 0.156652 | 466 | 29 | 53 | 16.068966 | 0.75827 | 0.045064 | 0 | 0.571429 | 0 | 0 | 0.221219 | 0.21219 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.071429 | 0 | 0.071429 | 0.285714 | 0 | 0 | 0 | null | 1 | 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 | 8 |
f5afe1f3db1816f5b3cc6427cca8d5ce31d6347f | 8,538 | py | Python | FastDSP/tests/test_structures/test_arrays.py | JuanGGO/FastDSP | 652fdadbedd99b934cb6a82e3bfb07d4645425b8 | [
"BSD-3-Clause"
] | null | null | null | FastDSP/tests/test_structures/test_arrays.py | JuanGGO/FastDSP | 652fdadbedd99b934cb6a82e3bfb07d4645425b8 | [
"BSD-3-Clause"
] | null | null | null | FastDSP/tests/test_structures/test_arrays.py | JuanGGO/FastDSP | 652fdadbedd99b934cb6a82e3bfb07d4645425b8 | [
"BSD-3-Clause"
] | null | null | null | import pytest
import numpy as np
from FastDSP.structures import GPUArray
class TestGPUArray:
@classmethod
def setup_class(cls):
cls.rows = 4
cls.cols = 6
cls.array_uint8 = np.ones((cls.rows, cls.cols), dtype=np.uint8)
cls.array_int = np.ones((cls.rows, cls.cols), dtype=np.in... | 48.788571 | 112 | 0.726048 | 1,215 | 8,538 | 4.701235 | 0.050206 | 0.189076 | 0.07598 | 0.084034 | 0.884279 | 0.84944 | 0.80077 | 0.800245 | 0.785889 | 0.744748 | 0 | 0.020821 | 0.17873 | 8,538 | 174 | 113 | 49.068966 | 0.793782 | 0 | 0 | 0.175182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.262774 | 1 | 0.233577 | false | 0 | 0.021898 | 0 | 0.262774 | 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 |
f5d345f1dc956fa0fa8d83dfb38f45feeafe2e3b | 176 | py | Python | message_bot/database/engines/__init__.py | kirillgashkov/message_bot | f29810c36e1ef98946f9f63b9c1c4745596fd584 | [
"MIT"
] | 2 | 2020-03-05T19:28:59.000Z | 2020-03-10T06:01:43.000Z | message_bot/database/engines/__init__.py | kirillgashkov/message_bot | f29810c36e1ef98946f9f63b9c1c4745596fd584 | [
"MIT"
] | 1 | 2021-02-08T20:29:08.000Z | 2021-02-08T20:29:08.000Z | message_bot/database/engines/__init__.py | kirillgashkov/message-bot | f29810c36e1ef98946f9f63b9c1c4745596fd584 | [
"MIT"
] | null | null | null |
from message_bot.database.engines.base import BaseEngine
from message_bot.database.engines.gsheet import GsheetEngine
from message_bot.database.engines.json import JSONEngine
| 35.2 | 60 | 0.875 | 24 | 176 | 6.291667 | 0.5 | 0.218543 | 0.278146 | 0.437086 | 0.576159 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073864 | 176 | 4 | 61 | 44 | 0.92638 | 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 |
de2c50ade5bc2309ad3d5b99f3360fd7b795eb26 | 120 | py | Python | plugins/newrelic/komand_newrelic/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 46 | 2019-06-05T20:47:58.000Z | 2022-03-29T10:18:01.000Z | plugins/newrelic/komand_newrelic/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 386 | 2019-06-07T20:20:39.000Z | 2022-03-30T17:35:01.000Z | plugins/newrelic/komand_newrelic/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 43 | 2019-07-09T14:13:58.000Z | 2022-03-28T12:04:46.000Z | # GENERATED BY KOMAND SDK - DO NOT EDIT
from .list_users.action import ListUsers
from .show_user.action import ShowUser
| 30 | 40 | 0.808333 | 19 | 120 | 5 | 0.842105 | 0.252632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141667 | 120 | 3 | 41 | 40 | 0.92233 | 0.308333 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
deadc051e6c51d230693276318ec1417f4acc97f | 181 | py | Python | modules/trainer/criterion/__init__.py | nobodykid/sinkhorngan-positive | 811f697da4fe02599fc7f0e1bdf77c89d183aba4 | [
"MIT"
] | null | null | null | modules/trainer/criterion/__init__.py | nobodykid/sinkhorngan-positive | 811f697da4fe02599fc7f0e1bdf77c89d183aba4 | [
"MIT"
] | null | null | null | modules/trainer/criterion/__init__.py | nobodykid/sinkhorngan-positive | 811f697da4fe02599fc7f0e1bdf77c89d183aba4 | [
"MIT"
] | null | null | null | from . import mmd
from . import ragan
from . import rawgan
from . import sinkhorn_gan
from . import sinkhorn_sgd
from . import wgan
from . import linear_sinkhorn
from . import sing
| 20.111111 | 29 | 0.779006 | 27 | 181 | 5.111111 | 0.407407 | 0.57971 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176796 | 181 | 8 | 30 | 22.625 | 0.926175 | 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 |
9d382d7dd8b1154c65d4e70cdf947462ca7cbd4e | 65,058 | py | Python | tests/test_radiometer_model.py | EarthObservationSimulator/instruments | 152e51bad70847635081946c23fe9384f9e25809 | [
"Apache-2.0"
] | 1 | 2022-01-14T17:22:05.000Z | 2022-01-14T17:22:05.000Z | tests/test_radiometer_model.py | EarthObservationSimulator/instruments | 152e51bad70847635081946c23fe9384f9e25809 | [
"Apache-2.0"
] | 4 | 2021-06-20T13:45:54.000Z | 2022-02-05T05:55:43.000Z | tests/test_radiometer_model.py | EarthObservationSimulator/instruments | 152e51bad70847635081946c23fe9384f9e25809 | [
"Apache-2.0"
] | 1 | 2022-03-08T19:06:38.000Z | 2022-03-08T19:06:38.000Z | """Unit tests for instrupy.radiometer_model.
References: [1] Chapter 6,7 in "Microwave Radar and Radiometric Remote Sensing," David Gardner Long , Fawwaz T. Ulaby 2014
@TODO Include rectangular antenna tests
"""
import unittest
import json
import numpy as np
import sys, os
from instrupy.radiometer_model import Pr... | 71.570957 | 326 | 0.610532 | 6,278 | 65,058 | 6.179516 | 0.081714 | 0.067663 | 0.068875 | 0.024668 | 0.892306 | 0.875216 | 0.835572 | 0.810749 | 0.780152 | 0.727156 | 0 | 0.072646 | 0.261351 | 65,058 | 908 | 327 | 71.64978 | 0.734658 | 0.060146 | 0 | 0.66891 | 0 | 0.018843 | 0.254836 | 0.068245 | 0 | 0 | 0 | 0.001101 | 0.438762 | 1 | 0.05249 | false | 0 | 0.009421 | 0 | 0.072678 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c23a72d2c41ae5389901b77e85b870a237e24898 | 45,489 | py | Python | vis.py | FernandoRD/NagiosXI_api | fe66043a2dc3139ad7e6f3cc2b027f167078111c | [
"MIT"
] | null | null | null | vis.py | FernandoRD/NagiosXI_api | fe66043a2dc3139ad7e6f3cc2b027f167078111c | [
"MIT"
] | null | null | null | vis.py | FernandoRD/NagiosXI_api | fe66043a2dc3139ad7e6f3cc2b027f167078111c | [
"MIT"
] | null | null | null | import requests
from tkinter import Checkbutton, Tk, filedialog, Message, Entry, StringVar, Text, Scrollbar, scrolledtext, LEFT, RIGHT, Y, END, W, SUNKEN, OUTSIDE
from tkinter import Button, Frame, IntVar, Radiobutton, Widget, OptionMenu, Scrollbar
from tkinter import messagebox
import json
import re
#from tkscro... | 49.230519 | 184 | 0.66238 | 5,864 | 45,489 | 4.8397 | 0.043315 | 0.024101 | 0.030444 | 0.026638 | 0.913918 | 0.905004 | 0.890204 | 0.889253 | 0.881994 | 0.878436 | 0 | 0.034414 | 0.237926 | 45,489 | 924 | 185 | 49.230519 | 0.784255 | 0.060124 | 0 | 0.778571 | 0 | 0 | 0.065156 | 0.001723 | 0 | 0 | 0 | 0 | 0 | 1 | 0.082857 | false | 0 | 0.022857 | 0 | 0.105714 | 0.004286 | 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 |
dfdff78e37a0ef68fde5d90d3e357bd8acb95f35 | 6,724 | py | Python | pynumdiff/optimize/total_variation_regularization/__total_variation_regularization__.py | luckystarufo/PyNumDiff | 99ffeb0c118c6de715414af042020bb268941c99 | [
"MIT"
] | 60 | 2020-09-07T20:39:04.000Z | 2022-03-31T05:49:56.000Z | pynumdiff/optimize/total_variation_regularization/__total_variation_regularization__.py | luckystarufo/PyNumDiff | 99ffeb0c118c6de715414af042020bb268941c99 | [
"MIT"
] | 15 | 2020-11-09T03:58:39.000Z | 2022-03-15T16:35:31.000Z | pynumdiff/optimize/total_variation_regularization/__total_variation_regularization__.py | luckystarufo/PyNumDiff | 99ffeb0c118c6de715414af042020bb268941c99 | [
"MIT"
] | 8 | 2021-02-12T01:50:14.000Z | 2022-03-21T22:48:54.000Z | """
functions for optimizing total variation regularization
"""
import pynumdiff.total_variation_regularization
from pynumdiff.optimize.__optimize__ import __optimize__
####################
# Helper functions #
####################
def __optimize_tvr__(func, x, dt, params, options, dxdt_truth, tvgamma, padding,
... | 41.251534 | 132 | 0.679209 | 748 | 6,724 | 5.81016 | 0.113636 | 0.064427 | 0.128854 | 0.161758 | 0.852278 | 0.83364 | 0.777036 | 0.73746 | 0.730097 | 0.696503 | 0 | 0.020135 | 0.209697 | 6,724 | 162 | 133 | 41.506173 | 0.797704 | 0.25461 | 0 | 0.477612 | 0 | 0 | 0.048837 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.104478 | false | 0 | 0.029851 | 0 | 0.238806 | 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 |
5f0b23e3e78b6904d55314df5fc85c2a41175d92 | 12 | py | Python | bugtests/test218c.py | doom38/jython_v2.2.1 | 0803a0c953c294e6d14f9fc7d08edf6a3e630a15 | [
"CNRI-Jython"
] | null | null | null | bugtests/test218c.py | doom38/jython_v2.2.1 | 0803a0c953c294e6d14f9fc7d08edf6a3e630a15 | [
"CNRI-Jython"
] | null | null | null | bugtests/test218c.py | doom38/jython_v2.2.1 | 0803a0c953c294e6d14f9fc7d08edf6a3e630a15 | [
"CNRI-Jython"
] | null | null | null |
a,b, = 1,2
| 4 | 10 | 0.333333 | 4 | 12 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.333333 | 12 | 2 | 11 | 6 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5f31cc985e6d73e89bc45c6b700c2bf7c866f34e | 2,032 | py | Python | datatrans/migrations/0002_stricter_expiry_validation.py | skioo/django-datatrans | c2159b08935cd0c70355ca6e8ff92bbe86d372cd | [
"MIT"
] | 9 | 2017-09-12T12:45:30.000Z | 2022-03-30T13:53:57.000Z | datatrans/migrations/0002_stricter_expiry_validation.py | skioo/django-datatrans | c2159b08935cd0c70355ca6e8ff92bbe86d372cd | [
"MIT"
] | null | null | null | datatrans/migrations/0002_stricter_expiry_validation.py | skioo/django-datatrans | c2159b08935cd0c70355ca6e8ff92bbe86d372cd | [
"MIT"
] | 1 | 2021-11-08T10:21:01.000Z | 2021-11-08T10:21:01.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.11.5 on 2017-10-26 02:55
from __future__ import unicode_literals
import django.core.validators
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('datatrans', '0001_initial'),
]
operations = [
... | 41.469388 | 165 | 0.65748 | 197 | 2,032 | 6.680203 | 0.274112 | 0.098784 | 0.197568 | 0.132219 | 0.839666 | 0.839666 | 0.832827 | 0.653495 | 0.653495 | 0.653495 | 0 | 0.0259 | 0.220965 | 2,032 | 48 | 166 | 42.333333 | 0.805433 | 0.033465 | 0 | 0.731707 | 1 | 0 | 0.076492 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.073171 | 0 | 0.146341 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 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 |
a043f48aa1bff70024812f15344c570324356f0d | 2,182 | py | Python | _ctfs/wargamesmy-21/easyrsa/chal.py | daniellimws/daniellimws.github.io | 464548e058ca423548cbe95c4ee38f856f9185c2 | [
"MIT"
] | 1 | 2019-01-31T16:50:12.000Z | 2019-01-31T16:50:12.000Z | _ctfs/wargamesmy-21/easyrsa/chal.py | daniellimws/daniellimws.github.io | 464548e058ca423548cbe95c4ee38f856f9185c2 | [
"MIT"
] | null | null | null | _ctfs/wargamesmy-21/easyrsa/chal.py | daniellimws/daniellimws.github.io | 464548e058ca423548cbe95c4ee38f856f9185c2 | [
"MIT"
] | 3 | 2019-03-04T12:46:18.000Z | 2021-05-18T16:10:44.000Z | #!/usr/bin/env python3
from Crypto.Util.number import *
from secret import flag
# Generate public key
p = getStrongPrime(1024)
q = getStrongPrime(1024)
n = p*q
e = 0x10001
# Encrypt the flag
m = bytes_to_long(flag)
c = pow(m, e, n)
print(f"n = {n}")
print(f"c = {c}")
print(f"hint = {p*q-p-q+1}")
# Output:
# n = 18304... | 109.1 | 626 | 0.944088 | 63 | 2,182 | 32.666667 | 0.587302 | 0.002915 | 0.006803 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.880189 | 0.028414 | 2,182 | 20 | 626 | 109.1 | 0.090566 | 0.886343 | 0 | 0 | 1 | 0 | 0.132231 | 0 | 0 | 1 | 0.028926 | 0 | 0 | 1 | 0 | false | 0 | 0.181818 | 0 | 0.181818 | 0.272727 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
cd51dfba16a5cccfa92a662d70bf25cb09724878 | 52,559 | py | Python | velkozz_web_api/apps/social_media_api/migrations/0006_auto_20210329_0700.py | velkoz-data-ingestion/velkozz_web_api | 519a6a90e5fdf5bab8ba2daf637768c5fd424a12 | [
"MIT"
] | null | null | null | velkozz_web_api/apps/social_media_api/migrations/0006_auto_20210329_0700.py | velkoz-data-ingestion/velkozz_web_api | 519a6a90e5fdf5bab8ba2daf637768c5fd424a12 | [
"MIT"
] | null | null | null | velkozz_web_api/apps/social_media_api/migrations/0006_auto_20210329_0700.py | velkoz-data-ingestion/velkozz_web_api | 519a6a90e5fdf5bab8ba2daf637768c5fd424a12 | [
"MIT"
] | null | null | null | # Generated by Django 3.1.3 on 2021-03-29 07:00
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('social_media_api', '0005_auto_20210329_0621'),
]
operations = [
migrations.CreateModel(
name='CanadaPosts',
fields=[... | 53.962012 | 107 | 0.546357 | 4,612 | 52,559 | 6.062012 | 0.034042 | 0.116747 | 0.160527 | 0.189713 | 0.95225 | 0.95225 | 0.95225 | 0.95225 | 0.95225 | 0.895415 | 0 | 0.015769 | 0.306246 | 52,559 | 973 | 108 | 54.017472 | 0.75098 | 0.000856 | 0 | 0.849018 | 1 | 0 | 0.175408 | 0.016625 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.001034 | 0 | 0.004137 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 9 |
cd8e5ff5ebd22514201be60c7d2423412925abd7 | 34,322 | py | Python | nova/tests/unit/api/openstack/compute/test_microversions.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | null | null | null | nova/tests/unit/api/openstack/compute/test_microversions.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | null | null | null | nova/tests/unit/api/openstack/compute/test_microversions.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | 2 | 2017-07-20T17:31:34.000Z | 2020-07-24T02:42:19.000Z | begin_unit
comment|'# Copyright 2014 IBM Corp.'
nl|'\n'
comment|'#'
nl|'\n'
comment|'# Licensed under the Apache License, Version 2.0 (the "License"); you may'
nl|'\n'
comment|'# not use this file except in compliance with the License. You may obtain'
nl|'\n'
comment|'# a copy of the License at'
nl|'\n'
commen... | 13.005684 | 88 | 0.618758 | 5,054 | 34,322 | 4.085081 | 0.043134 | 0.171752 | 0.099293 | 0.068488 | 0.932771 | 0.906277 | 0.8746 | 0.843166 | 0.825681 | 0.81982 | 0 | 0.010288 | 0.088048 | 34,322 | 2,638 | 89 | 13.010614 | 0.649329 | 0 | 0 | 0.959818 | 0 | 0 | 0.390974 | 0.107715 | 0 | 0 | 0 | 0 | 0.0163 | 0 | null | null | 0 | 0.001895 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
26d905bf6f3801f42858aa52d730622b0424190e | 251 | py | Python | dqc/hamilton/intor/__init__.py | Jaikinator/dqc | 47c964c7d1323a35f4f69521d40476c41843810e | [
"Apache-2.0"
] | 39 | 2021-05-31T17:01:23.000Z | 2022-03-23T19:20:35.000Z | dqc/hamilton/intor/__init__.py | Jaikinator/dqc | 47c964c7d1323a35f4f69521d40476c41843810e | [
"Apache-2.0"
] | 14 | 2021-09-01T13:39:11.000Z | 2022-03-13T16:45:39.000Z | dqc/hamilton/intor/__init__.py | Jaikinator/dqc | 47c964c7d1323a35f4f69521d40476c41843810e | [
"Apache-2.0"
] | 6 | 2021-07-16T09:08:29.000Z | 2022-02-24T01:13:54.000Z | from dqc.hamilton.intor.lcintwrap import *
from dqc.hamilton.intor.molintor import *
from dqc.hamilton.intor.pbcintor import *
from dqc.hamilton.intor.pbcftintor import *
from dqc.hamilton.intor.gtoeval import *
from dqc.hamilton.intor.gtoft import *
| 35.857143 | 43 | 0.808765 | 36 | 251 | 5.638889 | 0.305556 | 0.206897 | 0.44335 | 0.591133 | 0.640394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095618 | 251 | 6 | 44 | 41.833333 | 0.894273 | 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 |
f803d717649808e57bd8b16bb41ca2440c813db3 | 28,855 | py | Python | tracker/south_migrations/0001_initial.py | AB-informatica-service/swat4stats.com | c3a7e83953373b8d876a4ca7055b59168f345442 | [
"MIT"
] | 14 | 2015-04-02T06:50:10.000Z | 2021-02-18T13:26:46.000Z | tracker/south_migrations/0001_initial.py | AB-informatica-service/swat4stats.com | c3a7e83953373b8d876a4ca7055b59168f345442 | [
"MIT"
] | 4 | 2016-09-09T19:27:44.000Z | 2020-05-08T17:59:31.000Z | tracker/south_migrations/0001_initial.py | AB-informatica-service/swat4stats.com | c3a7e83953373b8d876a4ca7055b59168f345442 | [
"MIT"
] | 8 | 2015-01-03T02:44:04.000Z | 2022-03-23T19:52:00.000Z | # -*- coding: utf-8 -*-
from south.utils import datetime_utils as datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'Server'
db.create_table('tracker_server', (
(... | 69.196643 | 179 | 0.59851 | 3,110 | 28,855 | 5.446945 | 0.051768 | 0.115702 | 0.201653 | 0.288076 | 0.868949 | 0.852952 | 0.847048 | 0.788843 | 0.706671 | 0.570425 | 0 | 0.007061 | 0.185306 | 28,855 | 417 | 180 | 69.196643 | 0.713544 | 0.037255 | 0 | 0.245665 | 0 | 0 | 0.527372 | 0.355065 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00578 | false | 0 | 0.011561 | 0 | 0.026012 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f8339b05c5a9b4b5f5e1efde7fc270fbae20f7e5 | 13,952 | py | Python | Commands/harddisk.py | BlackZacky/JrBlack | a9e064d85170f9185f7598393d58fe9c58cb85ad | [
"MIT"
] | 5 | 2021-01-05T15:18:16.000Z | 2022-03-13T01:21:05.000Z | Commands/harddisk.py | BlackZacky/JRBlacK | a9e064d85170f9185f7598393d58fe9c58cb85ad | [
"MIT"
] | null | null | null | Commands/harddisk.py | BlackZacky/JRBlacK | a9e064d85170f9185f7598393d58fe9c58cb85ad | [
"MIT"
] | 1 | 2021-01-15T00:14:22.000Z | 2021-01-15T00:14:22.000Z | from discord.ext import commands
from Database import database
from Commands.Utils.icons import getIcon
from Commands.Utils import checks
import discord
IdentityI = getIcon("Identity")
LanguageI = getIcon("Language")
StorageI = getIcon("Storage")
TitleI = getIcon("Name")
WebsiteI = getIcon("Website")
CalendarI ... | 56.258065 | 144 | 0.648581 | 1,755 | 13,952 | 5.117949 | 0.075214 | 0.054108 | 0.102204 | 0.119238 | 0.944222 | 0.944222 | 0.944222 | 0.927076 | 0.927076 | 0.927076 | 0 | 0.041752 | 0.194882 | 13,952 | 248 | 145 | 56.258065 | 0.757856 | 0 | 0 | 0.865672 | 0 | 0 | 0.219093 | 0.041281 | 0 | 0 | 0.030961 | 0 | 0 | 1 | 0.024876 | false | 0 | 0.024876 | 0.014925 | 0.20398 | 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 |
f84fe245d84f78a35bfe612c440c0cb81ad0f0a3 | 2,768 | py | Python | models/LL.py | Tarheel-Formal-Methods/kaa-optimize | 35fe7b580df3b5efe7de9314b821c257f68d74bf | [
"MIT"
] | null | null | null | models/LL.py | Tarheel-Formal-Methods/kaa-optimize | 35fe7b580df3b5efe7de9314b821c257f68d74bf | [
"MIT"
] | 2 | 2020-12-11T17:34:46.000Z | 2020-12-11T21:43:13.000Z | models/LL.py | Tarheel-Formal-Methods/kaa-optimize | 35fe7b580df3b5efe7de9314b821c257f68d74bf | [
"MIT"
] | 1 | 2020-12-11T17:31:16.000Z | 2020-12-11T17:31:16.000Z | import sympy as sp
import numpy as np
from kaa.bundle import Bundle
from kaa.model import Model
class LL(Model):
def __init__(self, delta=0.05, init_box = ((1.19, 1.21), (1.04, 1.06), (1.49, 1.51), (2.39, 2.41), (0.99, 1.01), (0.09, 0.11), (0.44, 0.46), (2.81, 2.87), (2.58, 2.66))):
x1, x2, x3, x4, x5,... | 34.17284 | 174 | 0.460983 | 559 | 2,768 | 2.209302 | 0.143113 | 0.034008 | 0.064777 | 0.068016 | 0.836437 | 0.836437 | 0.836437 | 0.836437 | 0.836437 | 0.836437 | 0 | 0.190816 | 0.291908 | 2,768 | 80 | 175 | 34.6 | 0.439286 | 0 | 0 | 0.703704 | 0 | 0 | 0.011561 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037037 | false | 0 | 0.074074 | 0 | 0.148148 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 | 8 |
f8c9cf54d465477573848ef1797fc0cab6a98a21 | 28,411 | py | Python | pybind/nos/v7_1_0/interface_vlan/interface/ve/ipv6/ipv6_anycast_gateway/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/nos/v7_1_0/interface_vlan/interface/ve/ipv6/ipv6_anycast_gateway/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/nos/v7_1_0/interface_vlan/interface/ve/ipv6/ipv6_anycast_gateway/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 83.561765 | 1,179 | 0.746753 | 3,908 | 28,411 | 5.185773 | 0.055527 | 0.038488 | 0.044212 | 0.028422 | 0.852265 | 0.83085 | 0.820142 | 0.806425 | 0.802181 | 0.794286 | 0 | 0.012498 | 0.115659 | 28,411 | 339 | 1,180 | 83.80826 | 0.794109 | 0.135792 | 0 | 0.439252 | 0 | 0.03271 | 0.408633 | 0.191656 | 0 | 0 | 0 | 0 | 0 | 1 | 0.11215 | false | 0 | 0.046729 | 0 | 0.275701 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3e4c803f9d68cab9165b6dcf52577ce576452cf3 | 3,090 | py | Python | notebooks/feature_selection/embedded_method.py | likweitan/final_year_project | a86059cad92efe4edd85364d21b4ee6a56234b30 | [
"MIT"
] | null | null | null | notebooks/feature_selection/embedded_method.py | likweitan/final_year_project | a86059cad92efe4edd85364d21b4ee6a56234b30 | [
"MIT"
] | null | null | null | notebooks/feature_selection/embedded_method.py | likweitan/final_year_project | a86059cad92efe4edd85364d21b4ee6a56234b30 | [
"MIT"
] | 1 | 2021-07-10T15:54:54.000Z | 2021-07-10T15:54:54.000Z | #import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
#import seaborn as sns
#from sklearn.model_selection import train_test_split
from sklearn.ensemble import RandomForestClassifier, GradientBoostingClassifier #RandomForestRegressor
#from sklearn.feature_selection import SelectFromModel
# 2018.11.... | 40.657895 | 127 | 0.650162 | 420 | 3,090 | 4.616667 | 0.238095 | 0.024755 | 0.021661 | 0.024755 | 0.797318 | 0.797318 | 0.797318 | 0.797318 | 0.764312 | 0.764312 | 0 | 0.025285 | 0.206472 | 3,090 | 76 | 128 | 40.657895 | 0.765498 | 0.256634 | 0 | 0.73913 | 0 | 0 | 0.07645 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043478 | false | 0 | 0.369565 | 0 | 0.456522 | 0.086957 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
3e7ff3055e0ca3e8309002a6e7812070ffe4c1d6 | 102 | py | Python | backend/util/response/models/price_range/__init__.py | willrp/willstores-ws | 62c4f400f40fed1aef4f316c7e73dfecba98d026 | [
"MIT"
] | 4 | 2020-02-19T09:27:23.000Z | 2021-11-26T00:42:06.000Z | backend/util/response/store/models/price_range/__init__.py | willrp/willbuyer | 069836a91c777ede6f62a16daa9f26e555d66bcb | [
"MIT"
] | null | null | null | backend/util/response/store/models/price_range/__init__.py | willrp/willbuyer | 069836a91c777ede6f62a16daa9f26e555d66bcb | [
"MIT"
] | null | null | null | from .price_range_response import PriceRangeResponse
from .price_range_schema import PriceRangeSchema
| 34 | 52 | 0.901961 | 12 | 102 | 7.333333 | 0.666667 | 0.204545 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 102 | 2 | 53 | 51 | 0.93617 | 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 |
e4b00a34702affa3536b4562541395d06fd0f650 | 1,038 | py | Python | RR-BOT-OCR_2020-12-29_08-27-26.py | ClointFusion-Community/CFC-Projects | c6381738ade07e6e8979bbae37400ec2b4e626c5 | [
"MIT"
] | null | null | null | RR-BOT-OCR_2020-12-29_08-27-26.py | ClointFusion-Community/CFC-Projects | c6381738ade07e6e8979bbae37400ec2b4e626c5 | [
"MIT"
] | null | null | null | RR-BOT-OCR_2020-12-29_08-27-26.py | ClointFusion-Community/CFC-Projects | c6381738ade07e6e8979bbae37400ec2b4e626c5 | [
"MIT"
] | null | null | null | import ClointFusion as cf
cf.launch_any_exe_bat_application('notepad')
cf.key_write_enter('RR',key='')
cf.key_press('shift')
cf.mouse_click(*cf.mouse_search_snip_return_coordinates_x_y(img=str(r'C:\Users\mrmay\AppData\Local\Temp\cf_log_jiax0hen_generator\Images\Snips\2-UntitledNotepad-1527_466.png'),conf=0.7))
cf.mouse... | 103.8 | 186 | 0.83526 | 191 | 1,038 | 4.21466 | 0.303665 | 0.086957 | 0.074534 | 0.086957 | 0.759006 | 0.759006 | 0.759006 | 0.759006 | 0.759006 | 0.759006 | 0 | 0.047758 | 0.011561 | 1,038 | 9 | 187 | 115.333333 | 0.736842 | 0 | 0 | 0 | 0 | 0.555556 | 0.488439 | 0.474952 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.111111 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
9049af9533d98f7d1bcbbe74ad2b8de7acdc9408 | 15,451 | py | Python | models/dataset_networks.py | killianlevacher/defenseInvGAN-src | 8fa398536773c5bc00c906562d2d9359572b8157 | [
"MIT"
] | 14 | 2019-12-12T11:28:18.000Z | 2022-03-09T11:56:04.000Z | models/dataset_networks.py | killianlevacher/defenseInvGAN-src | 8fa398536773c5bc00c906562d2d9359572b8157 | [
"MIT"
] | 7 | 2019-12-16T22:20:01.000Z | 2022-02-10T00:45:21.000Z | models/dataset_networks.py | killianlevacher/defenseInvGAN-src | 8fa398536773c5bc00c906562d2d9359572b8157 | [
"MIT"
] | 2 | 2020-04-01T09:02:00.000Z | 2021-08-01T14:27:11.000Z | import tensorflow as tf
from tflib.layers import *
def mnist_generator(z, is_training=True):
net_dim = 64
use_sn = False
update_collection = None
with tf.variable_scope('Generator', reuse=tf.AUTO_REUSE):
output = linear(z, 4*4*4*net_dim, sn=use_sn, name='linear')
output = batch_norm(ou... | 42.215847 | 123 | 0.628827 | 2,272 | 15,451 | 4.065141 | 0.044454 | 0.128194 | 0.078605 | 0.114335 | 0.934062 | 0.899199 | 0.872456 | 0.870182 | 0.862062 | 0.851559 | 0 | 0.041998 | 0.235648 | 15,451 | 365 | 124 | 42.331507 | 0.740051 | 0.019093 | 0 | 0.7603 | 0 | 0 | 0.053164 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.067416 | false | 0 | 0.007491 | 0 | 0.153558 | 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 |
5f42fbc2c20d990473c35df4376188ea0f812e08 | 25,755 | py | Python | python/tassadar_client/gen_py/tassadar/TassadarServer.py | shenfei/tassadar_ocr | f288ce403231979b1557ec8ffb8b54e487b7cabe | [
"Apache-2.0"
] | null | null | null | python/tassadar_client/gen_py/tassadar/TassadarServer.py | shenfei/tassadar_ocr | f288ce403231979b1557ec8ffb8b54e487b7cabe | [
"Apache-2.0"
] | 2 | 2019-02-24T11:20:51.000Z | 2019-03-03T14:24:13.000Z | python/tassadar_client/gen_py/tassadar/TassadarServer.py | shenfei/tassadar_ocr | f288ce403231979b1557ec8ffb8b54e487b7cabe | [
"Apache-2.0"
] | null | null | null | #
# Autogenerated by Thrift Compiler (0.11.0)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
# options string: py
#
from thrift.Thrift import TType, TMessageType, TFrozenDict, TException, TApplicationException
from thrift.protocol.TProtocol import TProtocolException
from thrift.TRecursive impo... | 32.89272 | 134 | 0.595574 | 2,797 | 25,755 | 5.217018 | 0.06364 | 0.015419 | 0.027755 | 0.013158 | 0.844024 | 0.822437 | 0.803111 | 0.778509 | 0.772341 | 0.772341 | 0 | 0.003833 | 0.301029 | 25,755 | 782 | 135 | 32.934783 | 0.806744 | 0.019336 | 0 | 0.780328 | 1 | 0 | 0.037312 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.127869 | false | 0.006557 | 0.013115 | 0.039344 | 0.254098 | 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 |
5f6ebe4b0a4c0951c5ba3ad5663a501c8e4b2be0 | 23,428 | py | Python | fixture/contact.py | Oceanic-815/python_training | fdb6125a5a95536923ede20a1d5e57bdcadaa1be | [
"Apache-2.0"
] | null | null | null | fixture/contact.py | Oceanic-815/python_training | fdb6125a5a95536923ede20a1d5e57bdcadaa1be | [
"Apache-2.0"
] | null | null | null | fixture/contact.py | Oceanic-815/python_training | fdb6125a5a95536923ede20a1d5e57bdcadaa1be | [
"Apache-2.0"
] | null | null | null | from model.contact_properties import Contact_properties
import re
class ContactHelper:
def __init__(self, app):
self.app = app
def add_contact(self, contact_properties):
wd = self.app.wd
# open "Add new contact" page
wd.find_element_by_link_text("add new").click()
... | 55.648456 | 167 | 0.658486 | 3,204 | 23,428 | 4.477216 | 0.074594 | 0.11084 | 0.234716 | 0.264552 | 0.815336 | 0.812757 | 0.774765 | 0.753294 | 0.740049 | 0.734193 | 0 | 0.010269 | 0.197755 | 23,428 | 420 | 168 | 55.780952 | 0.752966 | 0.090703 | 0 | 0.733138 | 0 | 0 | 0.159154 | 0.061844 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043988 | false | 0 | 0.005865 | 0 | 0.067449 | 0 | 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 |
3994ed02d297f7bb3d5f4f2e3654b74b91a792f5 | 2,355 | py | Python | backward_functions.py | wiatrak2/BScThesis | e5dd012fd9052e7088d8464b409dc055dbfcf840 | [
"MIT"
] | null | null | null | backward_functions.py | wiatrak2/BScThesis | e5dd012fd9052e7088d8464b409dc055dbfcf840 | [
"MIT"
] | null | null | null | backward_functions.py | wiatrak2/BScThesis | e5dd012fd9052e7088d8464b409dc055dbfcf840 | [
"MIT"
] | null | null | null | import numpy as np
import torch
import torch.nn as nn
import torch.nn.functional as F
class GRLog(torch.autograd.Function):
def __init__(self, lambd=1., grad_log=None):
self.lambd = lambd
self.grad_log = grad_log
def forward(self, x):
return x
def backward(self, grad_output):
if self.grad_log is not Non... | 26.460674 | 133 | 0.726115 | 389 | 2,355 | 4.159383 | 0.115681 | 0.12979 | 0.122373 | 0.088999 | 0.84487 | 0.84487 | 0.844252 | 0.817676 | 0.817676 | 0.809023 | 0 | 0.007591 | 0.160934 | 2,355 | 89 | 134 | 26.460674 | 0.811235 | 0 | 0 | 0.760563 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.253521 | false | 0 | 0.056338 | 0.084507 | 0.56338 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 9 |
39cd71b8fa5992f87907839dfaef5594e274a3a3 | 80,148 | py | Python | tests/test_client.py | ndexbio/nice-cx-python | f8cf207e439b3afcf77c45ea80792968a2258bfb | [
"BSD-3-Clause"
] | 5 | 2017-12-01T20:19:46.000Z | 2022-03-06T19:22:36.000Z | tests/test_client.py | ndexbio/nice-cx-python | f8cf207e439b3afcf77c45ea80792968a2258bfb | [
"BSD-3-Clause"
] | 77 | 2017-11-20T17:53:38.000Z | 2022-01-26T23:43:34.000Z | tests/test_client.py | ndexbio/nice-cx-python | f8cf207e439b3afcf77c45ea80792968a2258bfb | [
"BSD-3-Clause"
] | 5 | 2017-11-20T17:03:34.000Z | 2021-04-26T20:40:20.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Tests for `ndex2.client` package."""
import os
import sys
import io
import decimal
import unittest
import numpy as np
import json
import requests_mock
from unittest.mock import MagicMock
from requests.exceptions import HTTPError
from ndex2 import client
from ndex2.cli... | 45.001684 | 96 | 0.544655 | 8,517 | 80,148 | 4.882705 | 0.044382 | 0.041552 | 0.055115 | 0.082239 | 0.903357 | 0.887318 | 0.861372 | 0.839345 | 0.82309 | 0.808517 | 0 | 0.018238 | 0.34737 | 80,148 | 1,780 | 97 | 45.026966 | 0.776799 | 0.019002 | 0 | 0.759744 | 0 | 0 | 0.142588 | 0.024808 | 0 | 0 | 0 | 0 | 0.143131 | 1 | 0.067732 | false | 0.024281 | 0.01278 | 0.001917 | 0.083067 | 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 |
84262692638090aebcb7cae60122d2e2a8bf9da0 | 6,545 | py | Python | loldib/getratings/models/NA/na_viktor/na_viktor_bot.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_viktor/na_viktor_bot.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_viktor/na_viktor_bot.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from getratings.models.ratings import Ratings
class NA_Viktor_Bot_Aatrox(Ratings):
pass
class NA_Viktor_Bot_Ahri(Ratings):
pass
class NA_Viktor_Bot_Akali(Ratings):
pass
class NA_Viktor_Bot_Alistar(Ratings):
pass
class NA_Viktor_Bot_Amumu(Ratings):
pass
class NA_Viktor_Bot_Anivia(Ratings):
... | 15.695444 | 46 | 0.766692 | 972 | 6,545 | 4.736626 | 0.151235 | 0.209818 | 0.389661 | 0.479583 | 0.803432 | 0.803432 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169748 | 6,545 | 416 | 47 | 15.733173 | 0.847258 | 0 | 0 | 0.498195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.498195 | 0.00361 | 0 | 0.501805 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 8 |
0837a11e51061f186a3567556baf32766fb84ea3 | 15,868 | py | Python | isi_sdk/apis/auth_users_api.py | Atomicology/isilon_sdk_python | 91039da803ae37ed4abf8d2a3f59c333f3ef1866 | [
"MIT"
] | null | null | null | isi_sdk/apis/auth_users_api.py | Atomicology/isilon_sdk_python | 91039da803ae37ed4abf8d2a3f59c333f3ef1866 | [
"MIT"
] | null | null | null | isi_sdk/apis/auth_users_api.py | Atomicology/isilon_sdk_python | 91039da803ae37ed4abf8d2a3f59c333f3ef1866 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
AuthUsersApi.py
Copyright 2016 SmartBear Software
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... | 39.472637 | 136 | 0.568818 | 1,683 | 15,868 | 5.149138 | 0.124777 | 0.048927 | 0.051235 | 0.027694 | 0.81514 | 0.79033 | 0.741749 | 0.726748 | 0.706785 | 0.700785 | 0 | 0.001447 | 0.346547 | 15,868 | 401 | 137 | 39.571072 | 0.834314 | 0.27672 | 0 | 0.721154 | 0 | 0 | 0.206596 | 0.061052 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024038 | false | 0.043269 | 0.033654 | 0 | 0.081731 | 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 |
f24d25e7420823d060a71660de052dc60fd0626b | 77,666 | py | Python | xapi-storage/python/xapi/storage/api/volume.py | xapi-project/message-switch | 3cfc7f8c556418f0697c27571946a3ddd191cc3f | [
"0BSD"
] | 6 | 2015-05-09T18:10:05.000Z | 2022-02-04T19:09:55.000Z | xapi-storage/python/xapi/storage/api/volume.py | xapi-project/message-switch | 3cfc7f8c556418f0697c27571946a3ddd191cc3f | [
"0BSD"
] | 35 | 2015-04-08T10:32:16.000Z | 2021-11-05T15:17:13.000Z | xapi-storage/python/xapi/storage/api/volume.py | xapi-project/message-switch | 3cfc7f8c556418f0697c27571946a3ddd191cc3f | [
"0BSD"
] | 21 | 2015-06-17T13:55:18.000Z | 2022-02-04T19:13:23.000Z | from xapi import success, Rpc_light_failure, InternalError, UnmarshalException, TypeError, is_long, UnknownMethod
import xapi
import sys
import json
import argparse
import traceback
import logging
class Sr_not_attached(Rpc_light_failure):
def __init__(self, arg_0):
Rpc_light_failure.__init__(self, "Sr_not_a... | 55.199716 | 448 | 0.609404 | 9,430 | 77,666 | 4.930329 | 0.034464 | 0.075495 | 0.05033 | 0.046588 | 0.927667 | 0.900888 | 0.869744 | 0.844149 | 0.824103 | 0.818984 | 0 | 0.006019 | 0.259818 | 77,666 | 1,407 | 449 | 55.199716 | 0.802738 | 0.013558 | 0 | 0.766204 | 0 | 0.010031 | 0.17445 | 0.000937 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.003086 | 0.005401 | null | null | 0.044753 | 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 |
f2b70b5f65ca96f9255ce7d3c0411221753181d9 | 135 | py | Python | src/pipautocompile/utils.py | KSmanis/pip-autocompile | a7f047d82041b6185c69f198a8085894d10bf71f | [
"MIT"
] | 4 | 2021-05-04T11:06:39.000Z | 2021-05-27T14:22:32.000Z | src/pipautocompile/utils.py | KSmanis/pip-autocompile | a7f047d82041b6185c69f198a8085894d10bf71f | [
"MIT"
] | 20 | 2021-05-03T21:05:11.000Z | 2022-03-29T18:47:16.000Z | src/pipautocompile/utils.py | KSmanis/pip-autocompile | a7f047d82041b6185c69f198a8085894d10bf71f | [
"MIT"
] | null | null | null | from __future__ import annotations
from shlex import quote
def quote_args(*args: str) -> str:
return " ".join(map(quote, args))
| 16.875 | 37 | 0.711111 | 19 | 135 | 4.789474 | 0.631579 | 0.197802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 135 | 7 | 38 | 19.285714 | 0.81982 | 0 | 0 | 0 | 0 | 0 | 0.007407 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
f2b79fcab5cc1c605d8ee6ae141e2f2f30176cac | 19,730 | py | Python | tools/apigee-analytics-load-generator-demo/v2/load-generator/consumers/locust-load.py | igalonso/devrel | aecd1d281bc21aedb9d88611a2a61ed46a30f3ed | [
"Apache-2.0"
] | null | null | null | tools/apigee-analytics-load-generator-demo/v2/load-generator/consumers/locust-load.py | igalonso/devrel | aecd1d281bc21aedb9d88611a2a61ed46a30f3ed | [
"Apache-2.0"
] | null | null | null | tools/apigee-analytics-load-generator-demo/v2/load-generator/consumers/locust-load.py | igalonso/devrel | aecd1d281bc21aedb9d88611a2a61ed46a30f3ed | [
"Apache-2.0"
] | null | null | null | import random
import requests
import os
import json
from locust import HttpLocust, TaskSet
token = os.getenv("TOKEN")
apigee_org = os.getenv("APIGEE_ORG")
apigee_url="https://apigee.googleapis.com/v1/organizations/"+apigee_org+"/"
apigee_env = os.getenv("APIGEE_ENV")
hugePayload = {"Content":"Lorem ipsum dolor sit ... | 90.091324 | 9,984 | 0.736036 | 2,699 | 19,730 | 5.369396 | 0.13857 | 0.025669 | 0.00828 | 0.027946 | 0.791471 | 0.762283 | 0.762283 | 0.754002 | 0.74448 | 0.74448 | 0 | 0.029282 | 0.16224 | 19,730 | 219 | 9,985 | 90.091324 | 0.84748 | 0.021591 | 0 | 0.061111 | 0 | 0.072222 | 0.702509 | 0.021775 | 0 | 0 | 0 | 0 | 0 | 1 | 0.116667 | false | 0 | 0.027778 | 0.005556 | 0.205556 | 0.005556 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4bb4f93b9d2de1c3b1932b76f70d51f662ec4090 | 23,976 | py | Python | app/ui/widgets/lcars_widgets.py | aliasmaus/rpi_lcars | 6757432a9bb5584ae351d3ff6bd4c312981b9345 | [
"MIT"
] | null | null | null | app/ui/widgets/lcars_widgets.py | aliasmaus/rpi_lcars | 6757432a9bb5584ae351d3ff6bd4c312981b9345 | [
"MIT"
] | null | null | null | app/ui/widgets/lcars_widgets.py | aliasmaus/rpi_lcars | 6757432a9bb5584ae351d3ff6bd4c312981b9345 | [
"MIT"
] | null | null | null | import pygame
from pygame.font import Font, SysFont
from pygame.locals import *
from ui.utils.sound import Sound
from ui.widgets.sprite import LcarsWidget, PowerWidget, ResetWidget, GeneralWidget
from ui import colours
class ModernButton(LcarsWidget):
def __init__(self, colour, pos, text, handler=None, rectSize=N... | 40.637288 | 202 | 0.606773 | 2,713 | 23,976 | 5.231478 | 0.086989 | 0.048616 | 0.038047 | 0.04312 | 0.814979 | 0.792503 | 0.770168 | 0.759741 | 0.749102 | 0.712041 | 0 | 0.010942 | 0.279571 | 23,976 | 589 | 203 | 40.706282 | 0.810745 | 0.125209 | 0 | 0.719072 | 0 | 0 | 0.041936 | 0.029003 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095361 | false | 0 | 0.015464 | 0 | 0.21134 | 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 |
29c5815fe19b782e9f0685fd8c6c045d1eabe0da | 1,612 | py | Python | data/typing/pandas.io.parquet.py | pydata-apis/python-api-record | 684cffbbb6dc6e81f9de4e02619c8b0ebc557b2b | [
"MIT"
] | 67 | 2020-08-17T11:53:26.000Z | 2021-11-08T20:16:06.000Z | data/typing/pandas.io.parquet.py | data-apis/python-record-api | 684cffbbb6dc6e81f9de4e02619c8b0ebc557b2b | [
"MIT"
] | 36 | 2020-08-17T11:09:51.000Z | 2021-12-15T18:09:47.000Z | data/typing/pandas.io.parquet.py | pydata-apis/python-api-record | 684cffbbb6dc6e81f9de4e02619c8b0ebc557b2b | [
"MIT"
] | 7 | 2020-08-19T05:06:47.000Z | 2020-11-04T05:10:38.000Z | from typing import *
@overload
def read_parquet(path: Literal["/tmp/tmpnp5ngcgq"], columns: None):
"""
usage.koalas: 1
"""
...
@overload
def read_parquet(
path: Literal["/tmp/tmpnp5ngcgq"], columns: List[Literal["i64", "i32"]]
):
"""
usage.koalas: 1
"""
...
@overload
def read_p... | 15.207547 | 88 | 0.551489 | 173 | 1,612 | 5.069364 | 0.184971 | 0.087799 | 0.175599 | 0.22577 | 0.820981 | 0.793615 | 0.751425 | 0.751425 | 0.748005 | 0.572406 | 0 | 0.027984 | 0.246278 | 1,612 | 105 | 89 | 15.352381 | 0.693827 | 0.138337 | 0 | 0.659574 | 0 | 0 | 0.145334 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.234043 | false | 0 | 0.021277 | 0 | 0.255319 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
29c9f1c861eebc7bd2e0f46dd3de792f7528832c | 63,916 | py | Python | OpenGLCffi/FFI/_gles3ffi.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | OpenGLCffi/FFI/_gles3ffi.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | OpenGLCffi/FFI/_gles3ffi.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | # auto-generated file
import _cffi_backend
ffi = _cffi_backend.FFI('FFI._gles3ffi',
_version = 0x2601,
_types = b'\x00\x00\x35\x0D\x00\x00\x08\x01\x00\x00\x07\x01\x00\x00\x07\x01\x00\x00\x00\x0F\x00\x00\x02\x0D\x00\x00\x08\x01\x00\x00\x00\x0F\x00\x00\x02\x0D\x00\x00\x08\x01\x00\x06\xDF\x03\x00\x00\x00\x0F\x00\... | 5,810.545455 | 33,594 | 0.781917 | 12,219 | 63,916 | 4.085604 | 0.08806 | 0.235567 | 0.173611 | 0.111053 | 0.572633 | 0.427066 | 0.421618 | 0.420416 | 0.420296 | 0.420296 | 0 | 0.315934 | 0.000704 | 63,916 | 10 | 33,595 | 6,391.6 | 0.465673 | 0.000297 | 0 | 0 | 1 | 0.125 | 0.919164 | 0.918961 | 0 | 1 | 0.000094 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
29e143c4e50469c772a47b4c38e1242ac3b12205 | 4,568 | py | Python | koku/reporting/migrations/0182_drop_constraints.py | cgoodfred/koku | f1de8bc90d6a818c4f77af710cafe50dc1274700 | [
"Apache-2.0"
] | 2 | 2022-01-12T03:42:39.000Z | 2022-01-12T03:42:40.000Z | koku/reporting/migrations/0182_drop_constraints.py | cgoodfred/koku | f1de8bc90d6a818c4f77af710cafe50dc1274700 | [
"Apache-2.0"
] | null | null | null | koku/reporting/migrations/0182_drop_constraints.py | cgoodfred/koku | f1de8bc90d6a818c4f77af710cafe50dc1274700 | [
"Apache-2.0"
] | 1 | 2021-07-21T09:33:59.000Z | 2021-07-21T09:33:59.000Z | # Generated by Django 3.1.12 on 2021-07-13 11:11
import django.db.models.deletion
from django.db import migrations
from django.db import models
class Migration(migrations.Migration):
dependencies = [("reporting", "0181_auto_20210525_1641")]
operations = [
migrations.AlterField(
model_nam... | 37.138211 | 117 | 0.577058 | 387 | 4,568 | 6.645995 | 0.162791 | 0.052877 | 0.081649 | 0.128305 | 0.858087 | 0.858087 | 0.837481 | 0.784215 | 0.635692 | 0.628694 | 0 | 0.010383 | 0.325306 | 4,568 | 122 | 118 | 37.442623 | 0.82414 | 0.01007 | 0 | 0.82906 | 1 | 0 | 0.190929 | 0.090265 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.025641 | 0 | 0.051282 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 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 |
d9a42070792599346399c7fc157da69637a09e8a | 28,899 | py | Python | neutron/tests/unit/conf/policies/test_router.py | dangervon/neutron | 06ce0c2c94d2256a8f6804a1eacb0733747dcf46 | [
"Apache-2.0"
] | null | null | null | neutron/tests/unit/conf/policies/test_router.py | dangervon/neutron | 06ce0c2c94d2256a8f6804a1eacb0733747dcf46 | [
"Apache-2.0"
] | null | null | null | neutron/tests/unit/conf/policies/test_router.py | dangervon/neutron | 06ce0c2c94d2256a8f6804a1eacb0733747dcf46 | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2021 Red Hat Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writi... | 35.677778 | 77 | 0.635074 | 2,829 | 28,899 | 6.212443 | 0.048074 | 0.088876 | 0.125747 | 0.177525 | 0.91431 | 0.906117 | 0.900427 | 0.897411 | 0.891038 | 0.87431 | 0 | 0.000387 | 0.28475 | 28,899 | 809 | 78 | 35.721879 | 0.849879 | 0.019101 | 0 | 0.912409 | 0 | 0 | 0.1319 | 0.097205 | 0 | 0 | 0 | 0 | 0.189781 | 1 | 0.115328 | false | 0 | 0.005839 | 0 | 0.141606 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 8 |
d9d154649421d0992a506a59dc955806f174e22f | 154 | py | Python | astropy/wcs/wcsapi/__init__.py | jayvdb/astropy | bc6d8f106dd5b60bf57a8e6e29c4e2ae2178991f | [
"BSD-3-Clause"
] | 445 | 2019-01-26T13:50:26.000Z | 2022-03-18T05:17:38.000Z | astropy/wcs/wcsapi/__init__.py | jayvdb/astropy | bc6d8f106dd5b60bf57a8e6e29c4e2ae2178991f | [
"BSD-3-Clause"
] | 242 | 2019-01-29T15:48:27.000Z | 2022-03-31T22:09:21.000Z | astropy/wcs/wcsapi/__init__.py | jayvdb/astropy | bc6d8f106dd5b60bf57a8e6e29c4e2ae2178991f | [
"BSD-3-Clause"
] | 31 | 2019-03-10T09:51:27.000Z | 2022-02-14T23:11:12.000Z | from .low_level_api import *
from .high_level_api import *
from .high_level_wcs_wrapper import *
from .utils import *
from .sliced_low_level_wcs import *
| 25.666667 | 37 | 0.805195 | 25 | 154 | 4.56 | 0.4 | 0.350877 | 0.245614 | 0.315789 | 0.429825 | 0.429825 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12987 | 154 | 5 | 38 | 30.8 | 0.850746 | 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 | 0 | 0 | 0 | 7 |
8a02a6bf6f928e45612e8216fe332b2159e2f34c | 156 | py | Python | boa3_test/test_sc/interop_test/json/JsonSerializeBytes.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | null | null | null | boa3_test/test_sc/interop_test/json/JsonSerializeBytes.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | null | null | null | boa3_test/test_sc/interop_test/json/JsonSerializeBytes.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | null | null | null | from boa3.builtin import public
from boa3.builtin.interop.json import json_serialize
@public
def main() -> bytes:
return json_serialize(b'unit test')
| 19.5 | 52 | 0.769231 | 23 | 156 | 5.130435 | 0.652174 | 0.135593 | 0.254237 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014925 | 0.141026 | 156 | 7 | 53 | 22.285714 | 0.865672 | 0 | 0 | 0 | 0 | 0 | 0.057692 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.