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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
07f3ab5a55517046df006375a0333977d393d6cf | 3,076 | py | Python | FusionIIIT/applications/office_module/migrations/0002_auto_20200522_1851.py | sabhishekpratap5/sonarcubeTest2 | 9bd8105e457f6feb8c38fa94b335e54783fca99e | [
"bzip2-1.0.6"
] | 2 | 2020-06-17T11:59:08.000Z | 2020-07-10T12:17:35.000Z | FusionIIIT/applications/office_module/migrations/0002_auto_20200522_1851.py | sabhishekpratap5/sonarcubeTest2 | 9bd8105e457f6feb8c38fa94b335e54783fca99e | [
"bzip2-1.0.6"
] | 19 | 2019-09-08T06:01:14.000Z | 2020-05-21T09:08:20.000Z | FusionIIIT/applications/office_module/migrations/0002_auto_20200522_1851.py | sabhishekpratap5/sonarcubeTest2 | 9bd8105e457f6feb8c38fa94b335e54783fca99e | [
"bzip2-1.0.6"
] | 14 | 2019-08-31T12:25:42.000Z | 2022-01-12T08:05:33.000Z | # Generated by Django 3.0.6 on 2020-05-22 18:51
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('office_module', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='hostel_guestroom_approval',
nam... | 56.962963 | 245 | 0.63199 | 303 | 3,076 | 6.30363 | 0.217822 | 0.117277 | 0.104712 | 0.121466 | 0.802618 | 0.790576 | 0.790576 | 0.765969 | 0.765969 | 0.765969 | 0 | 0.017637 | 0.207412 | 3,076 | 53 | 246 | 58.037736 | 0.765792 | 0.014629 | 0 | 0.595745 | 1 | 0 | 0.412347 | 0.008254 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.021277 | 0 | 0.085106 | 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 |
ed28afe4b70947e48dcc909ef5065d36a98f49cd | 32,988 | py | Python | OED/MP.py | adrianomundo/II2202-research-methodology-scientific-writing | 39a7a07e1dabbd988f9b3e0c5c41a36a6d292df8 | [
"Apache-2.0"
] | 1 | 2021-01-30T11:03:05.000Z | 2021-01-30T11:03:05.000Z | OED/MP.py | adrianomundo/II2202-research-methodology-scientific-writing | 39a7a07e1dabbd988f9b3e0c5c41a36a6d292df8 | [
"Apache-2.0"
] | null | null | null | OED/MP.py | adrianomundo/II2202-research-methodology-scientific-writing | 39a7a07e1dabbd988f9b3e0c5c41a36a6d292df8 | [
"Apache-2.0"
] | null | null | null | import os
import sys
import numpy as np
import time
import matplotlib.pyplot as plt
import pandas as pd
from utils import *
def sliding_dot_product(q, t):
n = t.size
m = q.size
# Append t with n zeros
ta = np.append(t, np.zeros(n))
# Reverse Q
qr = np.flip(q, 0)
# Append qra
qra = ... | 42.076531 | 180 | 0.479811 | 3,800 | 32,988 | 3.920526 | 0.076053 | 0.040274 | 0.02054 | 0.012082 | 0.819573 | 0.809236 | 0.798631 | 0.77695 | 0.769432 | 0.76225 | 0 | 0.015989 | 0.378138 | 32,988 | 783 | 181 | 42.130268 | 0.710247 | 0.053868 | 0 | 0.809748 | 0 | 0 | 0.076461 | 0.035562 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022013 | false | 0 | 0.015723 | 0 | 0.055031 | 0.213836 | 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 |
ed44b2542ca6d6607d08560167a89868c413592c | 571 | py | Python | naoqipythonlib/qi/path.py | ka2le/pepperflask-1485946909371 | e5278419a82f27f06c6a088df235eb57d6578f3e | [
"Apache-2.0"
] | 8 | 2020-08-01T04:31:50.000Z | 2021-11-01T08:39:11.000Z | naoqipythonlib/qi/path.py | ka2le/pepperflask-1485946909371 | e5278419a82f27f06c6a088df235eb57d6578f3e | [
"Apache-2.0"
] | 3 | 2020-10-26T13:30:06.000Z | 2022-02-18T18:12:44.000Z | old_aldebaran_cplusplus_sdk/lib/qi/path.py | fernandozuher/naoqi_webots | 36aa7b7ed7eb2b305293e860446ca55920d8f92a | [
"Apache-2.0"
] | 4 | 2016-04-01T10:02:39.000Z | 2018-04-14T08:05:20.000Z | from _qi import findBin, findLib, findConf, findData, listData, confPaths, \
dataPaths, binPaths, libPaths, setWritablePath, \
userWritableDataPath, userWritableConfPath, sdkPrefix
__all__ = [ "findBin",
"findLib",
"findConf",
"findData",
... | 30.052632 | 77 | 0.511384 | 30 | 571 | 9.566667 | 0.566667 | 0.097561 | 0.15331 | 0.209059 | 0.947735 | 0.947735 | 0.947735 | 0.947735 | 0.947735 | 0.947735 | 0 | 0 | 0.392294 | 571 | 18 | 78 | 31.722222 | 0.827089 | 0 | 0 | 0 | 0 | 0 | 0.238179 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.0625 | 0 | 0.0625 | 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 |
ed522e3eb92afd0606d4aefe7df2503dd12b3cec | 131 | py | Python | xconsole/__init__.py | quanghuyen1301/xconsole | fdc64f408ef021c8c9c921ae148fb43f886db005 | [
"Unlicense"
] | 1 | 2020-03-20T16:44:27.000Z | 2020-03-20T16:44:27.000Z | xconsole/__init__.py | quanghuyen1301/xconsole | fdc64f408ef021c8c9c921ae148fb43f886db005 | [
"Unlicense"
] | null | null | null | xconsole/__init__.py | quanghuyen1301/xconsole | fdc64f408ef021c8c9c921ae148fb43f886db005 | [
"Unlicense"
] | null | null | null | # __init__.py
from .__main__ import tty
from .__main__ import ssh_tty
from .__main__ import local_tty
from .__main__ import sol_tty | 26.2 | 31 | 0.824427 | 21 | 131 | 4.047619 | 0.428571 | 0.376471 | 0.658824 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129771 | 131 | 5 | 32 | 26.2 | 0.745614 | 0.083969 | 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 |
ed61b52d99a6228733f69b9d71a1ae8f2915c5f7 | 38,644 | py | Python | sdk/python/pulumi_keycloak/openid/user_client_role_protocol_mapper.py | davide-talesco/pulumi-keycloak | 08d66be6f2bf578d4292e29eb6181794375bc4e5 | [
"ECL-2.0",
"Apache-2.0"
] | 13 | 2020-04-28T15:20:56.000Z | 2022-03-24T18:00:17.000Z | sdk/python/pulumi_keycloak/openid/user_client_role_protocol_mapper.py | davide-talesco/pulumi-keycloak | 08d66be6f2bf578d4292e29eb6181794375bc4e5 | [
"ECL-2.0",
"Apache-2.0"
] | 49 | 2020-02-06T17:53:35.000Z | 2022-03-25T19:36:08.000Z | sdk/python/pulumi_keycloak/openid/user_client_role_protocol_mapper.py | davide-talesco/pulumi-keycloak | 08d66be6f2bf578d4292e29eb6181794375bc4e5 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2020-06-09T01:08:56.000Z | 2021-12-07T15:30:37.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 49.863226 | 256 | 0.669858 | 5,039 | 38,644 | 4.892439 | 0.048224 | 0.071391 | 0.060196 | 0.058898 | 0.921713 | 0.913317 | 0.906624 | 0.89555 | 0.891859 | 0.88687 | 0 | 0.005705 | 0.23349 | 38,644 | 774 | 257 | 49.927649 | 0.826576 | 0.410491 | 0 | 0.82801 | 1 | 0 | 0.110585 | 0.022861 | 0 | 0 | 0 | 0 | 0 | 1 | 0.164619 | false | 0.002457 | 0.012285 | 0 | 0.275184 | 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 |
ed73635fb2a0a85b7ba2ea9aff17cd56128b08d0 | 99,028 | py | Python | python/getXSection.py | lucaswiens/Susy1LeptonSkimmer | ab491c9ae8affb6143a17f9a24a2cd82f999eebb | [
"BSD-3-Clause"
] | null | null | null | python/getXSection.py | lucaswiens/Susy1LeptonSkimmer | ab491c9ae8affb6143a17f9a24a2cd82f999eebb | [
"BSD-3-Clause"
] | null | null | null | python/getXSection.py | lucaswiens/Susy1LeptonSkimmer | ab491c9ae8affb6143a17f9a24a2cd82f999eebb | [
"BSD-3-Clause"
] | null | null | null | def GetXSection(fileName): #[pb]
#Cross Section derived from sample name using https://cms-gen-dev.cern.ch/xsdb/
#TODO UL QCD files have PSWeights in their name, but xsdb does not include it in its name
fileName = fileName.replace("PSWeights_", "")
#TODO: UL Single Top xSection only defined for filename without inc... | 105.236982 | 180 | 0.812285 | 14,530 | 99,028 | 5.233517 | 0.072815 | 0.147232 | 0.195258 | 0.066278 | 0.93046 | 0.898242 | 0.817156 | 0.727194 | 0.627684 | 0.488802 | 0 | 0.136066 | 0.066668 | 99,028 | 940 | 181 | 105.348936 | 0.686679 | 0.003504 | 0 | 0 | 0 | 0 | 0.570291 | 0.56799 | 0 | 0 | 0 | 0.001064 | 0 | 1 | 0.001068 | false | 0 | 0 | 0 | 0.002137 | 0.001068 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ed7a53ae0448bee12a00c71c49df313210f6f3c5 | 119,088 | py | Python | electrum_zcash/tests/test_wallet_vertical.py | zebra-lucky/electrum-zcash | 2e66d47fa043d8c5ea536cd27a09dfb9e4ec314b | [
"MIT"
] | 11 | 2018-08-06T22:37:42.000Z | 2021-09-19T12:44:16.000Z | electrum_zcash/tests/test_wallet_vertical.py | zebra-lucky/electrum-zcash | 2e66d47fa043d8c5ea536cd27a09dfb9e4ec314b | [
"MIT"
] | 9 | 2019-04-28T18:33:24.000Z | 2021-07-12T07:17:48.000Z | electrum_zcash/tests/test_wallet_vertical.py | zebra-lucky/electrum-zcash | 2e66d47fa043d8c5ea536cd27a09dfb9e4ec314b | [
"MIT"
] | 14 | 2018-04-29T16:30:44.000Z | 2022-03-25T13:42:40.000Z | import unittest
from unittest import mock
import shutil
import tempfile
from typing import Sequence
import asyncio
import copy
from electrum_zcash import storage, bitcoin, keystore, bip32, wallet
from electrum_zcash import Transaction
from electrum_zcash import SimpleConfig
from electrum_zcash.address_synchronizer imp... | 122.141538 | 7,306 | 0.87175 | 5,258 | 119,088 | 19.537847 | 0.161088 | 0.020588 | 0.005295 | 0.004906 | 0.389662 | 0.379704 | 0.37435 | 0.361501 | 0.357559 | 0.353305 | 0 | 0.455354 | 0.088355 | 119,088 | 974 | 7,307 | 122.26694 | 0.490135 | 0.029348 | 0 | 0.558233 | 0 | 0.002677 | 0.691546 | 0.668838 | 0 | 1 | 0 | 0 | 0.262383 | 1 | 0.056225 | false | 0.025435 | 0.042838 | 0 | 0.13253 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
9c03b3a7e450bffbdf8c3187725f652e4abddb8f | 24,301 | py | Python | ezResearch/glass_lang/generate_glass_blockstate.py | Zoko061602/planar-artifice | 1c64a38b7bffdc46a6b838aa809b4daf8fae6830 | [
"MIT"
] | 3 | 2020-09-23T08:00:56.000Z | 2020-09-30T17:15:51.000Z | ezResearch/glass_lang/generate_glass_blockstate.py | Zoko061602/planar-artifice | 1c64a38b7bffdc46a6b838aa809b4daf8fae6830 | [
"MIT"
] | 5 | 2020-09-26T00:46:20.000Z | 2020-10-03T04:40:18.000Z | ezResearch/glass_lang/generate_glass_blockstate.py | Zoko061602/planar-artifice | 1c64a38b7bffdc46a6b838aa809b4daf8fae6830 | [
"MIT"
] | 1 | 2020-09-26T15:35:21.000Z | 2020-09-26T15:35:21.000Z | variant = ["_clear", "_scratched", "_crystal", "_dim", "_dark", "_bright", "_ghostly", "_ethereal", "_foreboding", "_strong"]
colors = ["white", "orange", "magenta", "light_blue", "yellow", "lime", "pink", "gray", "silver", "cyan", "purple", "blue", "brown", "green", "red", "black"]
for prefix in variant:
with open... | 57.178824 | 157 | 0.489733 | 2,086 | 24,301 | 5.529243 | 0.043624 | 0.101092 | 0.179903 | 0.215883 | 0.966447 | 0.959598 | 0.950321 | 0.94061 | 0.927172 | 0.919456 | 0 | 0.001073 | 0.309452 | 24,301 | 425 | 158 | 57.178824 | 0.686252 | 0.001852 | 0 | 0.626238 | 0 | 0.158416 | 0.826344 | 0.382134 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
9c61623073bbb5cb280ce5b258a6754a2a079d27 | 107 | py | Python | lib/ctlr/__init__.py | g0v/news-diff | 62735843716159a242aef697571f364d61be788f | [
"MIT"
] | 10 | 2015-09-27T14:28:49.000Z | 2022-03-31T05:42:25.000Z | lib/ctlr/__init__.py | g0v/news-diff | 62735843716159a242aef697571f364d61be788f | [
"MIT"
] | null | null | null | lib/ctlr/__init__.py | g0v/news-diff | 62735843716159a242aef697571f364d61be788f | [
"MIT"
] | 4 | 2015-02-19T08:22:31.000Z | 2019-11-13T04:18:41.000Z | # -*- coding: utf-8 -*-
#
# 將子類別提升至此層引用
#
from base import Ctlr_Base
from rss_2_0 import Ctlr_Base_RSS_2_0
| 15.285714 | 37 | 0.728972 | 19 | 107 | 3.736842 | 0.578947 | 0.28169 | 0.394366 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.158879 | 107 | 6 | 38 | 17.833333 | 0.733333 | 0.308411 | 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 |
9c83a21d2eacee07cbbe7e274f0e29646cce1460 | 20,358 | py | Python | broker.all_tenders/load_alltenders.py | lesiavl/Locust-Load-Tests | d76158a0ba55812010b22c53dfb028bb82619c70 | [
"Apache-2.0"
] | null | null | null | broker.all_tenders/load_alltenders.py | lesiavl/Locust-Load-Tests | d76158a0ba55812010b22c53dfb028bb82619c70 | [
"Apache-2.0"
] | null | null | null | broker.all_tenders/load_alltenders.py | lesiavl/Locust-Load-Tests | d76158a0ba55812010b22c53dfb028bb82619c70 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from locust import HttpLocust, TaskSet, task
from locust.clients import HttpSession
import requests
from time import sleep
import arrow
from datetime import timedelta
import logging
# http://www.accept-online.com.ua
requests_log = logging.getLogger("requests")
requests_lo... | 54.725806 | 247 | 0.490028 | 1,804 | 20,358 | 5.35643 | 0.133592 | 0.037669 | 0.033323 | 0.039325 | 0.838352 | 0.812377 | 0.795198 | 0.745835 | 0.728759 | 0.728759 | 0 | 0.034925 | 0.375528 | 20,358 | 371 | 248 | 54.873315 | 0.725006 | 0.003635 | 0 | 0.605351 | 0 | 0 | 0.236034 | 0.035748 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.010033 | 0.023411 | null | null | 0.010033 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
92c0ef3262cd87441bb1e9057bf815ecd9eb45d9 | 11,759 | py | Python | nscl/nn/monet/scene_graph.py | mooninrain/NSCL-PyTorch-Release | ab38e91703e46b70efaa3afc05654f30483258a0 | [
"MIT"
] | null | null | null | nscl/nn/monet/scene_graph.py | mooninrain/NSCL-PyTorch-Release | ab38e91703e46b70efaa3afc05654f30483258a0 | [
"MIT"
] | null | null | null | nscl/nn/monet/scene_graph.py | mooninrain/NSCL-PyTorch-Release | ab38e91703e46b70efaa3afc05654f30483258a0 | [
"MIT"
] | null | null | null | #! /usr/bin/env python3
# -*- coding: utf-8 -*-
# File : scene_graph.py
# Author : Jiayuan Mao
# Email : maojiayuan@gmail.com
# Date : 07/19/2018
#
# This file is part of NSCL-PyTorch.
# Distributed under terms of the MIT license.
"""
Scene Graph generation.
"""
import os
import torch
import torch.nn as nn
impo... | 50.252137 | 147 | 0.693171 | 1,794 | 11,759 | 4.214604 | 0.088071 | 0.026452 | 0.093109 | 0.021161 | 0.929639 | 0.910594 | 0.910462 | 0.902791 | 0.882555 | 0.847242 | 0 | 0.025052 | 0.185305 | 11,759 | 234 | 148 | 50.252137 | 0.764196 | 0.049834 | 0 | 0.764706 | 0 | 0 | 0.004844 | 0.001973 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.047059 | 0.023529 | 0.152941 | 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 |
92ea6e8b44bb31d67e99ba5a0d2e1e68b803aef5 | 5,753 | py | Python | ws2812b/paoma.py | tonghs/RaspberryPi | efb1be9f5425705107a9ef0f65094157db61bbfe | [
"MIT"
] | null | null | null | ws2812b/paoma.py | tonghs/RaspberryPi | efb1be9f5425705107a9ef0f65094157db61bbfe | [
"MIT"
] | null | null | null | ws2812b/paoma.py | tonghs/RaspberryPi | efb1be9f5425705107a9ef0f65094157db61bbfe | [
"MIT"
] | null | null | null | from rpi_ws281x import PixelStrip, Color
from signal import pause
import time
import numpy as np
COLUMN = 32
ROW = 8
# LED strip configuration:
LED_COUNT = ROW*COLUMN # Number of LED pixels.
LED_PIN = 18 # GPIO pin connected to the pixels (18 uses PWM!).
# LED_PIN = 10 # GPIO pin connected to the pixels (10 ... | 51.828829 | 388 | 0.73353 | 639 | 5,753 | 6.524257 | 0.241002 | 0.921084 | 1.208923 | 1.429599 | 0.64284 | 0.64284 | 0.62557 | 0.614056 | 0.614056 | 0.614056 | 0 | 0.485769 | 0.175561 | 5,753 | 110 | 389 | 52.3 | 0.393211 | 0.12098 | 0 | 0.063291 | 0 | 0 | 0.001589 | 0 | 0 | 0 | 0.510723 | 0 | 0 | 1 | 0.088608 | false | 0 | 0.050633 | 0.012658 | 0.189873 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
132660a23820a0455d8a72afb53d43aa1276a3ce | 116 | py | Python | build/api/utils.py | m-housh/cnx_base_microservice | d72ad4a480078730729745d61744601fdcb3a72a | [
"MIT"
] | 1 | 2017-03-28T08:53:57.000Z | 2017-03-28T08:53:57.000Z | build/api/utils.py | m-housh/cnx_base_microservice | d72ad4a480078730729745d61744601fdcb3a72a | [
"MIT"
] | null | null | null | build/api/utils.py | m-housh/cnx_base_microservice | d72ad4a480078730729745d61744601fdcb3a72a | [
"MIT"
] | null | null | null | from .db import DbModel, engine
from .orm import *
def create_all():
DbModel.metadata.create_all(bind=engine)
| 16.571429 | 44 | 0.741379 | 17 | 116 | 4.941176 | 0.647059 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155172 | 116 | 6 | 45 | 19.333333 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
13266bb3cfffcaa367c11686ceb6b3c3caa6625a | 328 | py | Python | icevision/utils/__init__.py | bluseking/-first-agnostic-computer-vision-framework-to-offer-a-curated-collection-with-hundreds-of-high-qualit | 2d91eacfab7fcaf09c93352f1e7816ccb2c252b9 | [
"Apache-2.0"
] | null | null | null | icevision/utils/__init__.py | bluseking/-first-agnostic-computer-vision-framework-to-offer-a-curated-collection-with-hundreds-of-high-qualit | 2d91eacfab7fcaf09c93352f1e7816ccb2c252b9 | [
"Apache-2.0"
] | null | null | null | icevision/utils/__init__.py | bluseking/-first-agnostic-computer-vision-framework-to-offer-a-curated-collection-with-hundreds-of-high-qualit | 2d91eacfab7fcaf09c93352f1e7816ccb2c252b9 | [
"Apache-2.0"
] | 1 | 2021-05-29T12:21:37.000Z | 2021-05-29T12:21:37.000Z | from icevision.utils.utils import *
from icevision.utils.torch_utils import *
from icevision.utils.imageio import *
from icevision.utils.get_files import *
from icevision.utils.download_utils import *
from icevision.utils.data_dir import *
from icevision.utils.capture_stdout import *
from icevision.utils.logger_utils i... | 36.444444 | 44 | 0.829268 | 46 | 328 | 5.782609 | 0.304348 | 0.390977 | 0.541353 | 0.631579 | 0.327068 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 328 | 8 | 45 | 41 | 0.898649 | 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 |
132fa32135959e0dcd3abb5e607254a1448a99c0 | 164 | py | Python | app/route/route.py | Pondok-Diya/bank-soal-backend | 331b9be21594b939118a699e203d0581d79ca6a0 | [
"MIT"
] | null | null | null | app/route/route.py | Pondok-Diya/bank-soal-backend | 331b9be21594b939118a699e203d0581d79ca6a0 | [
"MIT"
] | null | null | null | app/route/route.py | Pondok-Diya/bank-soal-backend | 331b9be21594b939118a699e203d0581d79ca6a0 | [
"MIT"
] | 1 | 2019-11-27T01:31:29.000Z | 2019-11-27T01:31:29.000Z | from app import api
from app.controller.soal import Soal
from app.controller.soal import Jawab
api.add_resource(Soal,'/soal')
api.add_resource(Jawab,'/soal/jawab') | 27.333333 | 37 | 0.79878 | 27 | 164 | 4.777778 | 0.333333 | 0.162791 | 0.263566 | 0.325581 | 0.418605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085366 | 164 | 6 | 38 | 27.333333 | 0.86 | 0 | 0 | 0 | 0 | 0 | 0.09697 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 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 |
132faec196560b9eb89a62cda0ff62133bf015fb | 21,577 | py | Python | smc_no_gui/src/twitter_tweets.py | joaopfonseca/social_media_crawler | 3abce6c850d203805f705e82612d98abf2eb4a47 | [
"MIT"
] | 1 | 2021-11-14T18:45:01.000Z | 2021-11-14T18:45:01.000Z | smc_no_gui/src/twitter_tweets.py | joaopfonseca/social_media_crawler | 3abce6c850d203805f705e82612d98abf2eb4a47 | [
"MIT"
] | 2 | 2021-06-08T19:27:42.000Z | 2021-06-08T19:32:43.000Z | smc_no_gui/src/twitter_tweets.py | joaopfonseca/social_media_crawler | 3abce6c850d203805f705e82612d98abf2eb4a47 | [
"MIT"
] | null | null | null | import tweepy
import csv
import datetime
import pandas as pd
import os
def twitter_csvcreatefile_header(keyword):
directory = 'data/'+keyword
if not os.path.exists(directory):
os.makedirs(directory)
f = open(directory+'/%s_tweets.csv' % keyword, 'w')
with f as file:
w = csv.write... | 46.006397 | 198 | 0.520693 | 2,152 | 21,577 | 4.813662 | 0.08039 | 0.060817 | 0.086591 | 0.099913 | 0.869968 | 0.850082 | 0.845835 | 0.836953 | 0.830196 | 0.830196 | 0 | 0.011343 | 0.362608 | 21,577 | 468 | 199 | 46.104701 | 0.741875 | 0 | 0 | 0.740291 | 0 | 0 | 0.315985 | 0.128609 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024272 | false | 0 | 0.012136 | 0 | 0.050971 | 0.026699 | 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 |
13a42b9b27d4e8edf9a258a5eb14414191237f48 | 87 | py | Python | turf/point_to_line_distance/__init__.py | malroc/pyturf | c89b6ea7094bd5ca26cf589d9dcd15bd819d82e9 | [
"MIT"
] | 11 | 2020-08-26T11:04:55.000Z | 2022-01-26T14:53:10.000Z | turf/point_to_line_distance/__init__.py | malroc/pyturf | c89b6ea7094bd5ca26cf589d9dcd15bd819d82e9 | [
"MIT"
] | 36 | 2020-04-09T16:49:05.000Z | 2020-06-01T14:39:37.000Z | turf/point_to_line_distance/__init__.py | malroc/pyturf | c89b6ea7094bd5ca26cf589d9dcd15bd819d82e9 | [
"MIT"
] | 5 | 2020-07-30T23:37:35.000Z | 2021-08-24T08:10:28.000Z | from turf.point_to_line_distance._point_to_line_distance import point_to_line_distance
| 43.5 | 86 | 0.931034 | 15 | 87 | 4.733333 | 0.466667 | 0.295775 | 0.464789 | 0.802817 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045977 | 87 | 1 | 87 | 87 | 0.855422 | 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 |
13c89ea14b9b755b6b9f2f8295dbf7ba4ca1b4c1 | 1,547 | py | Python | flow/networks/i24_subnetwork.py | kumarms1/flow | 6869f3c14838a1edec3694c3eb85281e71b7cd31 | [
"MIT"
] | null | null | null | flow/networks/i24_subnetwork.py | kumarms1/flow | 6869f3c14838a1edec3694c3eb85281e71b7cd31 | [
"MIT"
] | null | null | null | flow/networks/i24_subnetwork.py | kumarms1/flow | 6869f3c14838a1edec3694c3eb85281e71b7cd31 | [
"MIT"
] | null | null | null | from flow.networks.base import Network
EDGES_DISTRIBUTION = [
# Main Highway
"108162443",
"108162396",
"108162303",
"634155184",
"108162054",
"108161914#0",
"108161914#1",
"108161914#2",
"108161914#3",
"108161914#4",
"108161914#5",
"635462234",
"173720363#0",
... | 25.783333 | 41 | 0.38203 | 95 | 1,547 | 6.189474 | 0.410526 | 0.061224 | 0.091837 | 0.122449 | 0.778912 | 0.778912 | 0.778912 | 0.778912 | 0.778912 | 0.778912 | 0 | 0.601282 | 0.495798 | 1,547 | 60 | 42 | 25.783333 | 0.152564 | 0.007757 | 0 | 0.8 | 0 | 0 | 0.321382 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018182 | false | 0 | 0.018182 | 0.018182 | 0.072727 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 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 |
b9f11b4f6dfee4d444087f2f2d29b685bdc24e98 | 273 | py | Python | test.py | MD-Levitan/hash_extender | a6ff56c1620e8f94986f7725f98d0cc48daa3f3a | [
"BSD-3-Clause"
] | null | null | null | test.py | MD-Levitan/hash_extender | a6ff56c1620e8f94986f7725f98d0cc48daa3f3a | [
"BSD-3-Clause"
] | null | null | null | test.py | MD-Levitan/hash_extender | a6ff56c1620e8f94986f7725f98d0cc48daa3f3a | [
"BSD-3-Clause"
] | null | null | null | import hash_extender
v = hash_extender.hash_extender_default("data", 4, "append", 6, "6036708eba0d11f6ef52ad44e8b74d5b", 32, "md5", 6)
print(v)
# v = hash_extender.hash_extender_default("data", 4, "append", 6, "6036708eba0d11f6ef52ad44e8b74d5b", 32, "md4", 6)
# print(v)
| 34.125 | 115 | 0.736264 | 35 | 273 | 5.542857 | 0.4 | 0.309278 | 0.134021 | 0.175258 | 0.804124 | 0.804124 | 0.804124 | 0.804124 | 0.804124 | 0.804124 | 0 | 0.204082 | 0.102564 | 273 | 7 | 116 | 39 | 0.587755 | 0.446886 | 0 | 0 | 0 | 0 | 0.304054 | 0.216216 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 11 |
b9feedb106be405f8bdeb0cfc44de2e804be19fa | 9,958 | py | Python | examples/tof-viewer/external/newton_host_driver/src/host_api/examples/python/tests/test_maxram.py | rick-yhchen1013/aditof-sdk-rework | 911465dd1e05dd0b1c5107197b3b4dc3a10f77f9 | [
"MIT"
] | 5 | 2021-09-22T10:04:47.000Z | 2022-02-08T17:55:09.000Z | examples/tof-viewer/external/newton_host_driver/src/host_api/examples/python/tests/test_maxram.py | rick-yhchen1013/aditof-sdk-rework | 911465dd1e05dd0b1c5107197b3b4dc3a10f77f9 | [
"MIT"
] | 99 | 2021-02-01T12:45:09.000Z | 2022-03-08T09:54:13.000Z | examples/tof-viewer/external/newton_host_driver/src/host_api/examples/python/tests/test_maxram.py | rick-yhchen1013/aditof-sdk-rework | 911465dd1e05dd0b1c5107197b3b4dc3a10f77f9 | [
"MIT"
] | 4 | 2021-08-09T12:32:55.000Z | 2021-12-13T05:38:55.000Z | #!/usr/bin/env python
""" Python script example
Usage:
test_maxram.py [--target=<ram_target>][--count=<word_count>]
Options:
--help Shows this help message.
"""
from __future__ import print_function
from __future__ import absolute_import
from __future__ import unicode_literals
from docopt import docopt
imp... | 40.479675 | 137 | 0.597409 | 1,303 | 9,958 | 4.330008 | 0.083653 | 0.086849 | 0.068238 | 0.08933 | 0.873449 | 0.870791 | 0.861219 | 0.856434 | 0.848104 | 0.832152 | 0 | 0.0137 | 0.259691 | 9,958 | 245 | 138 | 40.644898 | 0.751628 | 0.016168 | 0 | 0.722513 | 0 | 0 | 0.347262 | 0.102677 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005236 | 0.073298 | 0 | 0.073298 | 0.235602 | 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 |
6a3994dafa887d9011ea571dc37ec25cd34ebb49 | 91 | py | Python | imutils/utils/ResizeRight/resize_right/__init__.py | JacobARose/image-utils | aa0e005c0b4df5198d188b074f4e21f8d8f97962 | [
"MIT"
] | null | null | null | imutils/utils/ResizeRight/resize_right/__init__.py | JacobARose/image-utils | aa0e005c0b4df5198d188b074f4e21f8d8f97962 | [
"MIT"
] | null | null | null | imutils/utils/ResizeRight/resize_right/__init__.py | JacobARose/image-utils | aa0e005c0b4df5198d188b074f4e21f8d8f97962 | [
"MIT"
] | null | null | null | # __all__ = ['interp_methods', 'resize_right']
from . import interp_methods, resize_right
| 22.75 | 46 | 0.758242 | 11 | 91 | 5.545455 | 0.636364 | 0.42623 | 0.622951 | 0.786885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120879 | 91 | 3 | 47 | 30.333333 | 0.7625 | 0.483516 | 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 |
e03db806cfab1bf2129ee162325b3e2b5a3a9d9c | 134 | py | Python | src/spyd/server/metrics/__init__.py | DanSeraf/spyd | af893b7f9c67785613b25754eb2cf150523a9fe4 | [
"Zlib"
] | 4 | 2015-05-05T16:44:42.000Z | 2020-10-27T09:45:23.000Z | src/spyd/server/metrics/__init__.py | DanSeraf/spyd | af893b7f9c67785613b25754eb2cf150523a9fe4 | [
"Zlib"
] | null | null | null | src/spyd/server/metrics/__init__.py | DanSeraf/spyd | af893b7f9c67785613b25754eb2cf150523a9fe4 | [
"Zlib"
] | 2 | 2016-12-13T22:21:08.000Z | 2020-03-14T16:44:20.000Z | from spyd.server.metrics.get_metrics_service import get_metrics_service
from spyd.server.metrics.rate_aggregator import RateAggregator | 67 | 71 | 0.902985 | 19 | 134 | 6.105263 | 0.526316 | 0.137931 | 0.241379 | 0.362069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052239 | 134 | 2 | 72 | 67 | 0.913386 | 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 |
e067318c11387a87d5c5d2af11f570ba41cb095f | 202 | py | Python | tests/core/cube/test_constants.py | jorisvandenbossche/kartothek | 18b11e7b060bb778668ffc4e2f468910120e6385 | [
"MIT"
] | 171 | 2019-05-02T15:47:20.000Z | 2022-02-17T15:12:15.000Z | tests/core/cube/test_constants.py | jorisvandenbossche/kartothek | 18b11e7b060bb778668ffc4e2f468910120e6385 | [
"MIT"
] | 414 | 2019-05-03T09:24:26.000Z | 2022-03-30T21:02:40.000Z | tests/core/cube/test_constants.py | jorisvandenbossche/kartothek | 18b11e7b060bb778668ffc4e2f468910120e6385 | [
"MIT"
] | 57 | 2019-05-03T08:00:18.000Z | 2022-02-16T18:38:22.000Z | from kartothek.core.cube.constants import KTK_CUBE_UUID_SEPERATOR
from kartothek.core.dataset import _validate_uuid
def test_uuid_seperator_valid():
assert _validate_uuid(KTK_CUBE_UUID_SEPERATOR)
| 28.857143 | 65 | 0.861386 | 29 | 202 | 5.551724 | 0.517241 | 0.242236 | 0.21118 | 0.248447 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089109 | 202 | 6 | 66 | 33.666667 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 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 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 9 |
0edd63e79086966238e83d95307097f3919f2d21 | 6,178 | py | Python | experiments/launcher/experiments_mnist_usps.py | mkirchmeyer/adaptation-imputation | 7ef683f2da08699b3f877467fdb0e00d3b02bccc | [
"MIT"
] | 2 | 2021-09-15T14:03:11.000Z | 2022-02-17T15:32:13.000Z | experiments/launcher/experiments_mnist_usps.py | mkirchmeyer/adaptation-imputation | 7ef683f2da08699b3f877467fdb0e00d3b02bccc | [
"MIT"
] | null | null | null | experiments/launcher/experiments_mnist_usps.py | mkirchmeyer/adaptation-imputation | 7ef683f2da08699b3f877467fdb0e00d3b02bccc | [
"MIT"
] | 1 | 2021-09-15T14:03:14.000Z | 2021-09-15T14:03:14.000Z | activate_mse = 1
activate_adaptation_imp = 1
activate_adaptation_d1 = 1
weight_d2 = 1.0
weight_mse = 1.0
refinement = 1
n_epochs_refinement = 10
lambda_regul = [0.01]
lambda_regul_s = [0.01]
threshold_value = [0.95]
compute_variance = False
random_seed = [1985] if not compute_variance else [1985, 2184, 51, 12, 465]
... | 28.869159 | 75 | 0.540952 | 651 | 6,178 | 4.786482 | 0.144393 | 0.03819 | 0.049101 | 0.051348 | 0.832157 | 0.819961 | 0.819961 | 0.79846 | 0.794929 | 0.779204 | 0 | 0.044131 | 0.277436 | 6,178 | 213 | 76 | 29.004695 | 0.653898 | 0 | 0 | 0.811224 | 0 | 0 | 0.34202 | 0.09372 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0.204082 | 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 |
0ee007aab352132504806fe663ad629fdf85d09d | 4,885 | py | Python | tests/components/zwave_js/test_fan.py | tbarbette/core | 8e58c3aa7bc8d2c2b09b6bd329daa1c092d52d3c | [
"Apache-2.0"
] | 1 | 2017-05-30T22:21:05.000Z | 2017-05-30T22:21:05.000Z | tests/components/zwave_js/test_fan.py | tbarbette/core | 8e58c3aa7bc8d2c2b09b6bd329daa1c092d52d3c | [
"Apache-2.0"
] | 58 | 2020-08-03T07:33:02.000Z | 2022-03-31T06:02:05.000Z | tests/components/zwave_js/test_fan.py | tbarbette/core | 8e58c3aa7bc8d2c2b09b6bd329daa1c092d52d3c | [
"Apache-2.0"
] | 2 | 2021-03-22T21:42:48.000Z | 2021-04-12T12:26:39.000Z | """Test the Z-Wave JS fan platform."""
import pytest
from zwave_js_server.event import Event
from homeassistant.components.fan import ATTR_SPEED, SPEED_MEDIUM
FAN_ENTITY = "fan.in_wall_smart_fan_control"
async def test_fan(hass, client, in_wall_smart_fan_control, integration):
"""Test the fan entity."""
nod... | 28.236994 | 73 | 0.544319 | 498 | 4,885 | 5.13253 | 0.190763 | 0.046948 | 0.064554 | 0.094679 | 0.850548 | 0.791862 | 0.780516 | 0.767606 | 0.738263 | 0.6741 | 0 | 0.016939 | 0.323234 | 4,885 | 172 | 74 | 28.401163 | 0.756201 | 0.034596 | 0 | 0.75 | 0 | 0 | 0.232906 | 0.006197 | 0 | 0 | 0 | 0 | 0.145833 | 1 | 0 | false | 0 | 0.020833 | 0 | 0.020833 | 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 |
162d3cf759584feb8fcd2baef9ed9952485105b3 | 12,871 | py | Python | pbs/filters.py | jawaidm/pbs | 87f5c535c976d6a5eccbfbbf2073589b6e366d04 | [
"Apache-2.0"
] | null | null | null | pbs/filters.py | jawaidm/pbs | 87f5c535c976d6a5eccbfbbf2073589b6e366d04 | [
"Apache-2.0"
] | 12 | 2019-10-22T23:16:38.000Z | 2022-03-11T23:17:45.000Z | pbs/filters.py | jawaidm/pbs | 87f5c535c976d6a5eccbfbbf2073589b6e366d04 | [
"Apache-2.0"
] | 5 | 2019-12-19T06:18:42.000Z | 2022-01-07T01:16:18.000Z | from django.contrib.admin import filters
from django.db import models
from django.contrib.admin.util import (get_model_from_relation,)
class ExcludeListFilterMixin(object):
def queryset(self, request, queryset):
queryset = super(ExcludeListFilterMixin,self).queryset(request,queryset)
try:
... | 45.641844 | 156 | 0.580374 | 1,446 | 12,871 | 4.923928 | 0.064315 | 0.161517 | 0.230056 | 0.176124 | 0.826124 | 0.82191 | 0.800281 | 0.78427 | 0.773736 | 0.76559 | 0 | 0.011759 | 0.33929 | 12,871 | 281 | 157 | 45.80427 | 0.825494 | 0 | 0 | 0.780488 | 0 | 0 | 0.004429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04878 | false | 0 | 0.012195 | 0.020325 | 0.117886 | 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 |
1642d59d2b6cb48a18b837cd543ca9ee9091f18d | 19,630 | py | Python | DegenerateArrow/home/views.py | Asura0528/Degenerate-arrow | 7f624027dbfd9345ddcf51bcdc2a5e7161e44f2e | [
"MIT"
] | 1 | 2021-10-20T16:19:15.000Z | 2021-10-20T16:19:15.000Z | DegenerateArrow/home/views.py | Asura0528/Degenerate-arrow | 7f624027dbfd9345ddcf51bcdc2a5e7161e44f2e | [
"MIT"
] | null | null | null | DegenerateArrow/home/views.py | Asura0528/Degenerate-arrow | 7f624027dbfd9345ddcf51bcdc2a5e7161e44f2e | [
"MIT"
] | null | null | null | import re
from django.contrib.auth import login
from django.db import DatabaseError
from django.http import HttpResponseRedirect
from django.shortcuts import render, redirect
from django.views import View
from django.contrib import messages
from django.urls import reverse
from django_redis import get_redis_connection
... | 33.555556 | 113 | 0.563525 | 1,889 | 19,630 | 5.753309 | 0.106406 | 0.038462 | 0.057692 | 0.108944 | 0.839989 | 0.820574 | 0.803828 | 0.793706 | 0.77972 | 0.763894 | 0 | 0.009402 | 0.333571 | 19,630 | 584 | 114 | 33.613014 | 0.821358 | 0.068976 | 0 | 0.811414 | 0 | 0 | 0.104132 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022333 | false | 0.059553 | 0.034739 | 0 | 0.225806 | 0.002481 | 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 |
1683ea61bb13b07a5c1657abe6a80e43841a8728 | 24,005 | py | Python | tests/test_cli.py | zalando-stups/mia | 5521261ef0c4256bb0c0749554b75a6b2360eb25 | [
"Apache-2.0"
] | 9 | 2015-04-07T14:27:33.000Z | 2016-07-28T09:48:35.000Z | tests/test_cli.py | hjacobs/mai | 5521261ef0c4256bb0c0749554b75a6b2360eb25 | [
"Apache-2.0"
] | 25 | 2015-04-10T11:33:13.000Z | 2016-12-14T14:29:56.000Z | tests/test_cli.py | hjacobs/mai | 5521261ef0c4256bb0c0749554b75a6b2360eb25 | [
"Apache-2.0"
] | 4 | 2015-09-23T11:24:25.000Z | 2016-07-25T13:29:37.000Z | from click.testing import CliRunner
from unittest.mock import MagicMock
import yaml
from mai.cli import cli, login_with_profile
import mai
import os
import aws_saml_login.saml
import time
import pytest
TEST_CONFIG = {'example-Administrator': {'saml_identity_provider_url': 'https://auth.example.com',
... | 45.12218 | 150 | 0.64924 | 2,897 | 24,005 | 5.248533 | 0.070763 | 0.035778 | 0.062611 | 0.05656 | 0.87925 | 0.875304 | 0.862085 | 0.851694 | 0.84413 | 0.84413 | 0 | 0.013785 | 0.211248 | 24,005 | 531 | 151 | 45.207156 | 0.788634 | 0.000708 | 0 | 0.679389 | 0 | 0.025445 | 0.35133 | 0.089927 | 0 | 0 | 0 | 0 | 0.282443 | 1 | 0.063613 | false | 0.058524 | 0.022901 | 0 | 0.094148 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
16d2698764481c0a01397f5bf6e99014ebd4698f | 4,790 | py | Python | z2/part2/interactive/jm/random_fuzzy_arrows_1/516629538.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 1 | 2020-04-16T12:13:47.000Z | 2020-04-16T12:13:47.000Z | z2/part2/interactive/jm/random_fuzzy_arrows_1/516629538.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 18 | 2020-03-06T17:50:15.000Z | 2020-05-19T14:58:30.000Z | z2/part2/interactive/jm/random_fuzzy_arrows_1/516629538.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 18 | 2020-03-06T17:45:13.000Z | 2020-06-09T19:18:31.000Z | from part1 import (
gamma_board,
gamma_busy_fields,
gamma_delete,
gamma_free_fields,
gamma_golden_move,
gamma_golden_possible,
gamma_move,
gamma_new,
)
"""
scenario: test_random_actions
uuid: 516629538
"""
"""
random actions, total chaos
"""
board = gamma_new(7, 4, 3, 12)
assert board i... | 32.808219 | 46 | 0.661169 | 878 | 4,790 | 3.447608 | 0.05467 | 0.363396 | 0.386521 | 0.515362 | 0.847043 | 0.83515 | 0.765775 | 0.511067 | 0.420548 | 0.403039 | 0 | 0.131391 | 0.183299 | 4,790 | 145 | 47 | 33.034483 | 0.642382 | 0 | 0 | 0.294574 | 0 | 0 | 0.015313 | 0 | 0 | 0 | 0 | 0 | 0.813953 | 1 | 0 | false | 0 | 0.007752 | 0 | 0.007752 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
16d31c1f0f9ebe2f8d677db11e6889388e12081f | 39,863 | py | Python | pysteps/timeseries/autoregression.py | AFansGH/pysteps | ee5cd10ed9058808f934cb1992913055fbcbb3d2 | [
"BSD-3-Clause"
] | null | null | null | pysteps/timeseries/autoregression.py | AFansGH/pysteps | ee5cd10ed9058808f934cb1992913055fbcbb3d2 | [
"BSD-3-Clause"
] | null | null | null | pysteps/timeseries/autoregression.py | AFansGH/pysteps | ee5cd10ed9058808f934cb1992913055fbcbb3d2 | [
"BSD-3-Clause"
] | null | null | null | """
pysteps.timeseries.autoregression
=================================
Methods related to autoregressive AR(p) models.
.. autosummary::
:toctree: ../generated/
adjust_lag2_corrcoef1
adjust_lag2_corrcoef2
ar_acf
estimate_ar_params_ols
estimate_ar_params_ols_localized
estimate_ar_params_yw... | 32.64783 | 110 | 0.555904 | 6,096 | 39,863 | 3.543307 | 0.058071 | 0.025926 | 0.012222 | 0.022407 | 0.85037 | 0.81463 | 0.77912 | 0.749769 | 0.72625 | 0.694444 | 0 | 0.022967 | 0.308607 | 39,863 | 1,220 | 111 | 32.67459 | 0.760749 | 0.43642 | 0 | 0.527119 | 1 | 0.00678 | 0.067608 | 0.004373 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027119 | false | 0 | 0.00678 | 0 | 0.066102 | 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 |
bc4aba728f28f7c57f8139b67de061a513693c30 | 5,920 | py | Python | src/encoded/tests/test_types_functional_characterization_experiment.py | procha2/encoded | e9f122362b71f3b8641023b8d2d5ad531d3484b7 | [
"MIT"
] | null | null | null | src/encoded/tests/test_types_functional_characterization_experiment.py | procha2/encoded | e9f122362b71f3b8641023b8d2d5ad531d3484b7 | [
"MIT"
] | null | null | null | src/encoded/tests/test_types_functional_characterization_experiment.py | procha2/encoded | e9f122362b71f3b8641023b8d2d5ad531d3484b7 | [
"MIT"
] | null | null | null | import pytest
def test_fcc_replicate_type(
testapp, functional_characterization_experiment, pooled_clone_sequencing
):
res = testapp.get(
functional_characterization_experiment['@id']+'@@index-data'
)
assert res.json['object']['replication_type'] == 'unreplicated'
res = testapp.get(
... | 75.897436 | 292 | 0.759459 | 691 | 5,920 | 6.127352 | 0.109986 | 0.062352 | 0.083137 | 0.19556 | 0.885215 | 0.86018 | 0.814596 | 0.788144 | 0.779169 | 0.762636 | 0 | 0.011351 | 0.09223 | 5,920 | 77 | 293 | 76.883117 | 0.776517 | 0.052027 | 0 | 0.491803 | 0 | 0 | 0.22248 | 0.079215 | 0 | 0 | 0 | 0 | 0.196721 | 1 | 0.081967 | false | 0 | 0.016393 | 0 | 0.098361 | 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 |
bc4e20e407a125e8db054cdc715603ca155902e0 | 1,034 | py | Python | temboo/core/Library/Twitter/Users/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/Twitter/Users/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/Twitter/Users/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | from temboo.Library.Twitter.Users.GetAccountSettings import GetAccountSettings, GetAccountSettingsInputSet, GetAccountSettingsResultSet, GetAccountSettingsChoreographyExecution
from temboo.Library.Twitter.Users.Lookup import Lookup, LookupInputSet, LookupResultSet, LookupChoreographyExecution
from temboo.Library.Twitte... | 129.25 | 191 | 0.905222 | 77 | 1,034 | 12.155844 | 0.441558 | 0.074786 | 0.127137 | 0.179487 | 0.21688 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047389 | 1,034 | 7 | 192 | 147.714286 | 0.950254 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
bc70659378b0bf34e46d6340ab865971e3bf2f6f | 31,342 | py | Python | main_code.py | sjshtura/Code_Snippets | 4f0a3083966c02849fdbeb9f4272013892f08cbf | [
"MIT"
] | null | null | null | main_code.py | sjshtura/Code_Snippets | 4f0a3083966c02849fdbeb9f4272013892f08cbf | [
"MIT"
] | null | null | null | main_code.py | sjshtura/Code_Snippets | 4f0a3083966c02849fdbeb9f4272013892f08cbf | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Functions for estimating electricity prices, eeg levies, remunerations and other components, based on customer type and annual demand
@author: Abuzar and Shakhawat
"""
from typing import ValuesView
import pandas as pd
import matplotlib.pyplot as plt
import numpy as np
from scipy import int... | 52.236667 | 244 | 0.628039 | 4,150 | 31,342 | 4.365301 | 0.053976 | 0.144955 | 0.178406 | 0.194579 | 0.904063 | 0.890042 | 0.864981 | 0.839865 | 0.806635 | 0.781906 | 0 | 0.02431 | 0.26632 | 31,342 | 599 | 245 | 52.323873 | 0.763427 | 0.124466 | 0 | 0.773893 | 0 | 0 | 0.133785 | 0.003184 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009324 | false | 0 | 0.013986 | 0 | 0.027972 | 0.160839 | 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 |
4c15bc3ae6d27342af3401b95744c85e8ac312fb | 2,334 | py | Python | tests/api_test.py | silvermullet/dinghy-ping | 5ad10c20f19eadcf840748e65bef5b9368e9512a | [
"MIT"
] | 20 | 2018-10-19T21:12:38.000Z | 2022-02-15T20:45:49.000Z | tests/api_test.py | silvermullet/dinghy-ping | 5ad10c20f19eadcf840748e65bef5b9368e9512a | [
"MIT"
] | 51 | 2018-10-19T21:09:01.000Z | 2022-03-25T01:03:18.000Z | tests/api_test.py | silvermullet/dinghy-ping | 5ad10c20f19eadcf840748e65bef5b9368e9512a | [
"MIT"
] | 7 | 2018-10-29T09:41:25.000Z | 2019-07-19T18:58:51.000Z | import json
import pytest
import sys
sys.path.insert(0, './dinghy_ping/')
import services.api as service
import models.data as data
with open('tests/multiple_domains.json') as f:
multiple_domains = json.load(f)
@pytest.fixture
def api():
return service.api
@pytest.fixture
def session(api):
return api.... | 35.907692 | 285 | 0.751928 | 356 | 2,334 | 4.685393 | 0.264045 | 0.098921 | 0.029377 | 0.06295 | 0.747602 | 0.728417 | 0.709233 | 0.709233 | 0.709233 | 0.643885 | 0 | 0.082818 | 0.099829 | 2,334 | 64 | 286 | 36.46875 | 0.71109 | 0 | 0 | 0.266667 | 0 | 0.1 | 0.443726 | 0.42044 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.233333 | false | 0 | 0.166667 | 0.066667 | 0.466667 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4c1b53c9854de75f596ad6c9700b82a607f9c70b | 48 | py | Python | lunguka/__init__.py | pyzi/funniest | 5a62792b119f887542a121bb56198cb212789eed | [
"MIT"
] | null | null | null | lunguka/__init__.py | pyzi/funniest | 5a62792b119f887542a121bb56198cb212789eed | [
"MIT"
] | 1 | 2018-01-19T13:11:09.000Z | 2018-01-19T13:11:09.000Z | lunguka/__init__.py | pyzi/funniest | 5a62792b119f887542a121bb56198cb212789eed | [
"MIT"
] | null | null | null | def joke():
return (u'Isto aqui e um joke')
| 16 | 35 | 0.604167 | 9 | 48 | 3.222222 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 48 | 2 | 36 | 24 | 0.805556 | 0 | 0 | 0 | 0 | 0 | 0.395833 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
4c66480ff7fe507853e348dd1b75faef7494f86c | 15,380 | py | Python | crawler/getAllData.py | zp1008611/housePrice | fd5a6322ff6960f64fdea797902debde074a88b5 | [
"MIT"
] | 1 | 2022-01-23T05:23:54.000Z | 2022-01-23T05:23:54.000Z | crawler/getAllData.py | zp1008611/housePrice | fd5a6322ff6960f64fdea797902debde074a88b5 | [
"MIT"
] | null | null | null | crawler/getAllData.py | zp1008611/housePrice | fd5a6322ff6960f64fdea797902debde074a88b5 | [
"MIT"
] | null | null | null | # encoding: utf-8
import pymysql
from getURL import getDayUrl,getUrl
from getJingtaiData import get_jingtai_data
from getCommunityData import get_community_data
from getIpPool import makeIp
import time
import traceback
import random
import datetime
import sys
from conn import get_conn,close_conn
def updat... | 52.491468 | 161 | 0.509428 | 1,401 | 15,380 | 5.508922 | 0.132049 | 0.094325 | 0.105727 | 0.01192 | 0.835709 | 0.828194 | 0.816662 | 0.793859 | 0.772091 | 0.767168 | 0 | 0.003546 | 0.339922 | 15,380 | 293 | 162 | 52.491468 | 0.756698 | 0.025878 | 0 | 0.809187 | 0 | 0.003534 | 0.20361 | 0.062943 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014134 | false | 0.007067 | 0.038869 | 0 | 0.053004 | 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 |
d5b2cad7ea79e1346f51cf6aa1a6bf482e29bbd3 | 5,791 | py | Python | exercise_3/exercise_code/rnn/rnn_nn.py | dilaraadem/I2DL | c9398edfe9978842b40f4dfa08c4b5b0c70714a2 | [
"RSA-MD"
] | null | null | null | exercise_3/exercise_code/rnn/rnn_nn.py | dilaraadem/I2DL | c9398edfe9978842b40f4dfa08c4b5b0c70714a2 | [
"RSA-MD"
] | 6 | 2020-03-24T18:12:41.000Z | 2022-03-12T00:14:26.000Z | exercise_3/exercise_code/rnn/rnn_nn.py | dilaraadem/I2DL | c9398edfe9978842b40f4dfa08c4b5b0c70714a2 | [
"RSA-MD"
] | null | null | null | import torch
import torch.nn as nn
class RNN(nn.Module):
def __init__(self, input_size=1, hidden_size=20, activation="tanh"):
super().__init__()
"""
Inputs:
- input_size: Number of features in input vector
- hidden_size: Dimension of hidden vector
- activation: Nonl... | 44.546154 | 79 | 0.331894 | 427 | 5,791 | 4.316159 | 0.220141 | 0.070537 | 0.065111 | 0.082474 | 0.817146 | 0.816061 | 0.785676 | 0.785676 | 0.761259 | 0.761259 | 0 | 0.006345 | 0.319634 | 5,791 | 129 | 80 | 44.891473 | 0.461421 | 0.372302 | 0 | 0.296296 | 0 | 0 | 0.031052 | 0 | 0 | 0 | 0 | 0.031008 | 0 | 1 | 0.296296 | false | 0 | 0.074074 | 0 | 0.592593 | 0.074074 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 10 |
d5b44aa720df48b794f17d9be64c73f0afa046d2 | 109 | py | Python | tests/test_config.py | weiyangliu/QuLab | f3ff8ff2120be96f57c1d293d9be15df17717526 | [
"MIT"
] | null | null | null | tests/test_config.py | weiyangliu/QuLab | f3ff8ff2120be96f57c1d293d9be15df17717526 | [
"MIT"
] | null | null | null | tests/test_config.py | weiyangliu/QuLab | f3ff8ff2120be96f57c1d293d9be15df17717526 | [
"MIT"
] | null | null | null | import pytest
from qulab.config import *
def test_config_dir():
assert isinstance(config_dir(), Path)
| 13.625 | 41 | 0.743119 | 15 | 109 | 5.2 | 0.733333 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165138 | 109 | 7 | 42 | 15.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
91007b6dd0ef1de7cfce527b9069624a0337dcd5 | 153 | py | Python | boxy/core/views.py | MattyPy/boxy | 6082dbc45512a5fbc2a2d7664613b1e04ba40ddb | [
"MIT"
] | null | null | null | boxy/core/views.py | MattyPy/boxy | 6082dbc45512a5fbc2a2d7664613b1e04ba40ddb | [
"MIT"
] | 1 | 2020-04-30T12:50:58.000Z | 2020-04-30T12:50:58.000Z | boxy/core/views.py | MattyPy/boxy | 6082dbc45512a5fbc2a2d7664613b1e04ba40ddb | [
"MIT"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def add_subscription(request):
return render(request, 'core/add_subscription.html')
| 19.125 | 56 | 0.777778 | 20 | 153 | 5.85 | 0.8 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 153 | 7 | 57 | 21.857143 | 0.886364 | 0.150327 | 0 | 0 | 0 | 0 | 0.203125 | 0.203125 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
9108cf873ec18fba62ad4f29dfaf083a393118f5 | 8,394 | py | Python | pypeln/task/api/flat_map_task_test.py | quarckster/pypeln | f4160d0f4d4718b67f79a0707d7261d249459a4b | [
"MIT"
] | 1,281 | 2018-09-20T05:35:27.000Z | 2022-03-30T01:29:48.000Z | pypeln/task/api/flat_map_task_test.py | webclinic017/pypeln | 5231806f2cac9d2019dacbbcf913484fd268b8c1 | [
"MIT"
] | 78 | 2018-09-18T20:38:12.000Z | 2022-03-30T20:16:02.000Z | pypeln/task/api/flat_map_task_test.py | webclinic017/pypeln | 5231806f2cac9d2019dacbbcf913484fd268b8c1 | [
"MIT"
] | 88 | 2018-09-24T10:46:14.000Z | 2022-03-28T09:34:50.000Z | import asyncio
import sys
import time
import typing as tp
from unittest import TestCase
import cytoolz as cz
import hypothesis as hp
from hypothesis import strategies as st
import pypeln as pl
MAX_EXAMPLES = 10
T = tp.TypeVar("T")
@hp.given(nums=st.lists(st.integers()))
@hp.settings(max_examples=MAX_EXAMPLES)
def ... | 25.436364 | 82 | 0.637241 | 1,375 | 8,394 | 3.642182 | 0.045818 | 0.089856 | 0.058706 | 0.052716 | 0.960264 | 0.960264 | 0.960264 | 0.960264 | 0.960264 | 0.960264 | 0 | 0.016516 | 0.249821 | 8,394 | 329 | 83 | 25.513678 | 0.778784 | 0 | 0 | 0.876 | 0 | 0 | 0.000119 | 0 | 0 | 0 | 0 | 0 | 0.048 | 1 | 0.064 | false | 0 | 0.036 | 0 | 0.104 | 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 |
91532b9c85050bde280f2d35728d9cfc6ed19fc7 | 230 | py | Python | histnd/__init__.py | 6-6-6/histnd | 6c69ed532ff4670a6eadc8c49f28ab798e9bb85a | [
"MIT"
] | null | null | null | histnd/__init__.py | 6-6-6/histnd | 6c69ed532ff4670a6eadc8c49f28ab798e9bb85a | [
"MIT"
] | null | null | null | histnd/__init__.py | 6-6-6/histnd | 6c69ed532ff4670a6eadc8c49f28ab798e9bb85a | [
"MIT"
] | null | null | null |
from .wrapper import histnd_serial, histnd_parallel
from .histnd import histnd_serial_f64, histnd_parallel_f64
from .histnd import histnd_serial_i64, histnd_parallel_i64
from .histnd import histnd_serial_u64, histnd_parallel_u64 | 38.333333 | 58 | 0.873913 | 34 | 230 | 5.5 | 0.264706 | 0.256684 | 0.385027 | 0.352941 | 0.449198 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057416 | 0.091304 | 230 | 6 | 59 | 38.333333 | 0.837321 | 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 |
e66c0a9c3fbb2673a54dc509df7eaf8548faa5de | 27,198 | py | Python | decora_wifi/models/person.py | balloob/python-decora_wifi | 47900ad67002f3655fc4c799518bc4e73293ceb4 | [
"MIT"
] | 33 | 2017-09-02T16:37:15.000Z | 2021-12-28T15:24:39.000Z | decora_wifi/models/person.py | balloob/python-decora_wifi | 47900ad67002f3655fc4c799518bc4e73293ceb4 | [
"MIT"
] | 17 | 2017-09-12T04:53:07.000Z | 2022-01-25T03:31:45.000Z | decora_wifi/models/person.py | balloob/python-decora_wifi | 47900ad67002f3655fc4c799518bc4e73293ceb4 | [
"MIT"
] | 21 | 2018-01-29T22:50:06.000Z | 2022-01-06T02:30:47.000Z | # Leviton Cloud Services API model Person.
# Auto-generated by api_scraper.py.
#
# Copyright 2017 Tim Lyakhovetskiy <tlyakhov@gmail.com>
#
# This code is released under the terms of the MIT license. See the LICENSE
# file for more details.
from decora_wifi.base_model import BaseModel
class Person(BaseModel):
def ... | 37.105048 | 104 | 0.617545 | 3,217 | 27,198 | 5.030463 | 0.041654 | 0.068652 | 0.08132 | 0.098746 | 0.955323 | 0.954026 | 0.94933 | 0.948959 | 0.932893 | 0.919051 | 0 | 0.005903 | 0.265056 | 27,198 | 732 | 105 | 37.155738 | 0.803692 | 0.008273 | 0 | 0.788079 | 1 | 0 | 0.107106 | 0.083667 | 0 | 0 | 0 | 0 | 0 | 1 | 0.157285 | false | 0.004967 | 0.033113 | 0 | 0.347682 | 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 |
e6c9ce81bb07d8d29954a57b28226dffd4ba2fc0 | 202 | py | Python | orlov/libs/adb/__init__.py | coppelia517/orlov | d7ed6c061432b99ab2b75e0262db293e444fe6be | [
"MIT"
] | null | null | null | orlov/libs/adb/__init__.py | coppelia517/orlov | d7ed6c061432b99ab2b75e0262db293e444fe6be | [
"MIT"
] | null | null | null | orlov/libs/adb/__init__.py | coppelia517/orlov | d7ed6c061432b99ab2b75e0262db293e444fe6be | [
"MIT"
] | null | null | null | """ Orlov is Multi-Platform Automation Testing Framework. """
from orlov.libs.adb.module import Android
from orlov.libs.adb.module import PROFILE_PATH
from orlov.libs.adb.factory import AndroidFactory
| 33.666667 | 61 | 0.811881 | 29 | 202 | 5.62069 | 0.586207 | 0.165644 | 0.239264 | 0.294479 | 0.343558 | 0.343558 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10396 | 202 | 5 | 62 | 40.4 | 0.900552 | 0.262376 | 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 |
e6f37c318ecbe88153dbdc550c3e6708b755fd9b | 72,401 | py | Python | src/appservice-kube/azext_appservice_kube/vendored_sdks/azure_mgmt_web/v2020_06_01/operations/_app_service_certificate_orders_operations.py | AzureK8SE/azure-cli-extensions | 71bcff04baeffac02fe3afd7e007c3f6676d62e5 | [
"MIT"
] | 2 | 2021-03-24T21:06:20.000Z | 2021-03-24T21:07:58.000Z | src/appservice-kube/azext_appservice_kube/vendored_sdks/azure_mgmt_web/v2020_06_01/operations/_app_service_certificate_orders_operations.py | AzureK8SE/azure-cli-extensions | 71bcff04baeffac02fe3afd7e007c3f6676d62e5 | [
"MIT"
] | 3 | 2020-05-27T20:16:26.000Z | 2020-07-23T19:46:49.000Z | src/appservice-kube/azext_appservice_kube/vendored_sdks/azure_mgmt_web/v2020_06_01/operations/_app_service_certificate_orders_operations.py | AzureK8SE/azure-cli-extensions | 71bcff04baeffac02fe3afd7e007c3f6676d62e5 | [
"MIT"
] | 5 | 2020-05-09T17:47:09.000Z | 2020-10-01T19:52:06.000Z | # coding=utf-8
# --------------------------------------------------------------------------
# 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 ... | 50.843399 | 226 | 0.691579 | 7,626 | 72,401 | 6.337136 | 0.034881 | 0.044696 | 0.03377 | 0.029797 | 0.940054 | 0.932771 | 0.924204 | 0.913796 | 0.908767 | 0.90227 | 0 | 0.01002 | 0.215632 | 72,401 | 1,423 | 227 | 50.879129 | 0.840973 | 0.291405 | 0 | 0.81686 | 0 | 0.005814 | 0.191231 | 0.116092 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045058 | false | 0 | 0.007267 | 0 | 0.114826 | 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 |
fc8a7223224308f390bb42ff02190edd6c82d30f | 1,661 | py | Python | tests/python/test_stop_grad.py | ppwwyyxx/taichi | ef0c3367bb06ad78b3457b8f93b5370f14b1d9c4 | [
"MIT"
] | 1 | 2020-08-04T05:43:54.000Z | 2020-08-04T05:43:54.000Z | tests/python/test_stop_grad.py | zf38473013/taichi | ad4d7ae04f4e559e84f6dee4a64ad57c3cf0c7fb | [
"MIT"
] | null | null | null | tests/python/test_stop_grad.py | zf38473013/taichi | ad4d7ae04f4e559e84f6dee4a64ad57c3cf0c7fb | [
"MIT"
] | null | null | null | import taichi as ti
@ti.all_archs
def test_normal_grad():
x = ti.var(ti.f32)
loss = ti.var(ti.f32)
n = 128
@ti.layout
def place():
ti.root.dense(ti.i, n).place(x)
ti.root.place(loss)
ti.root.lazy_grad()
@ti.kernel
def func():
for i in range(n):
... | 18.054348 | 50 | 0.499097 | 280 | 1,661 | 2.896429 | 0.164286 | 0.049322 | 0.073983 | 0.135635 | 0.8582 | 0.837238 | 0.768187 | 0.768187 | 0.768187 | 0.768187 | 0 | 0.027675 | 0.347381 | 1,661 | 91 | 51 | 18.252747 | 0.72048 | 0.048164 | 0 | 0.892308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046154 | 1 | 0.138462 | false | 0 | 0.015385 | 0 | 0.153846 | 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 |
5db6d55089e8a5e00249c05e08335f434b160220 | 3,730 | py | Python | poem/Newpoem.py | AllisonW2323/creativecode | e7c276de46d6208505f2bd1c2922a2f0e0bd1ecd | [
"MIT"
] | null | null | null | poem/Newpoem.py | AllisonW2323/creativecode | e7c276de46d6208505f2bd1c2922a2f0e0bd1ecd | [
"MIT"
] | null | null | null | poem/Newpoem.py | AllisonW2323/creativecode | e7c276de46d6208505f2bd1c2922a2f0e0bd1ecd | [
"MIT"
] | null | null | null | import pronouncing
import random
uploaded = files.upload()
for fn in uploaded.keys():
text = uploaded[fn].decode()
wordlist= text.split(" ")
from textblob import TextBlob
blob= TextBlob (text)
random.randint(1,6)
blob= TextBlob (text)
import nltk
nltk.download('averaged_perceptron_t... | 20.053763 | 88 | 0.670241 | 534 | 3,730 | 4.644195 | 0.155431 | 0.062903 | 0.056452 | 0.031048 | 0.840323 | 0.840323 | 0.840323 | 0.840323 | 0.819355 | 0.819355 | 0 | 0.020778 | 0.187131 | 3,730 | 185 | 89 | 20.162162 | 0.797164 | 0.085523 | 0 | 0.827586 | 0 | 0 | 0.062132 | 0.007656 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.043103 | 0 | 0.043103 | 0.206897 | 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 |
5dd783401f7d4b9a0737306ade4ee0e2021cabd5 | 10,226 | py | Python | Algorithm.Python/stubs/QuantConnect/Data/Custom/SEC.py | gaoxiaojun/Lean | 9dca43bccb720d0df91e4bfc1d363b71e3a36cb5 | [
"Apache-2.0"
] | 2 | 2020-12-08T11:27:20.000Z | 2021-04-06T13:21:15.000Z | Algorithm.Python/stubs/QuantConnect/Data/Custom/SEC.py | gaoxiaojun/Lean | 9dca43bccb720d0df91e4bfc1d363b71e3a36cb5 | [
"Apache-2.0"
] | null | null | null | Algorithm.Python/stubs/QuantConnect/Data/Custom/SEC.py | gaoxiaojun/Lean | 9dca43bccb720d0df91e4bfc1d363b71e3a36cb5 | [
"Apache-2.0"
] | 1 | 2020-10-13T00:49:17.000Z | 2020-10-13T00:49:17.000Z | from .__SEC_1 import *
import typing
import System.IO
import System
import QuantConnect.Data.Custom.SEC
import QuantConnect.Data
import QuantConnect
import datetime
# no functions
# classes
class ISECReport(QuantConnect.Data.IBaseData):
"""
Base interface for all SEC report types.
Using an int... | 34.086667 | 178 | 0.711813 | 1,065 | 10,226 | 6.798122 | 0.14554 | 0.172376 | 0.082044 | 0.093232 | 0.773619 | 0.768785 | 0.730111 | 0.722514 | 0.698066 | 0.679834 | 0 | 0.004375 | 0.195384 | 10,226 | 299 | 179 | 34.200669 | 0.875547 | 0.17211 | 0 | 0.668508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.270718 | false | 0.270718 | 0.044199 | 0 | 0.580111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
5def3b33e30f7c47d28fb11e7f095a41815bd14e | 142,783 | py | Python | python/src/ties/test/schema_validation_tests.py | Noblis/ties-lib | e7c6165ebcd80e11b792fd4bcddf6ce634da0c60 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-04-10T19:02:27.000Z | 2020-04-10T19:02:27.000Z | python/src/ties/test/schema_validation_tests.py | Noblis/ties-lib | e7c6165ebcd80e11b792fd4bcddf6ce634da0c60 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | python/src/ties/test/schema_validation_tests.py | Noblis/ties-lib | e7c6165ebcd80e11b792fd4bcddf6ce634da0c60 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | ################################################################################
# Copyright 2019 Noblis, Inc #
# #
# Licensed under the Apache License, Version 2.0 (the "License"); ... | 60.3989 | 226 | 0.697576 | 16,100 | 142,783 | 6.103106 | 0.01913 | 0.155557 | 0.128018 | 0.131651 | 0.945369 | 0.923763 | 0.909577 | 0.890861 | 0.877305 | 0.870721 | 0 | 0.023735 | 0.17112 | 142,783 | 2,363 | 227 | 60.42446 | 0.806515 | 0.007298 | 0 | 0.74988 | 0 | 0.006265 | 0.307065 | 0.12875 | 0 | 0 | 0 | 0 | 0.540723 | 1 | 0.119036 | false | 0.000482 | 0.003373 | 0 | 0.127229 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
5dfcb4944726585326ef2fa76153144014fd29bb | 11,446 | py | Python | tests/st/ops/cpu/test_bitwise_op.py | httpsgithu/mindspore | c29d6bb764e233b427319cb89ba79e420f1e2c64 | [
"Apache-2.0"
] | 1 | 2022-02-23T09:13:43.000Z | 2022-02-23T09:13:43.000Z | tests/st/ops/cpu/test_bitwise_op.py | 949144093/mindspore | c29d6bb764e233b427319cb89ba79e420f1e2c64 | [
"Apache-2.0"
] | null | null | null | tests/st/ops/cpu/test_bitwise_op.py | 949144093/mindspore | c29d6bb764e233b427319cb89ba79e420f1e2c64 | [
"Apache-2.0"
] | null | null | null | # Copyright 2020-2021 Huawei Technologies Co., Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agre... | 38.668919 | 117 | 0.684519 | 1,695 | 11,446 | 4.490855 | 0.097935 | 0.073568 | 0.071729 | 0.03547 | 0.844325 | 0.836048 | 0.824619 | 0.819627 | 0.819627 | 0.819627 | 0 | 0.038993 | 0.153067 | 11,446 | 295 | 118 | 38.8 | 0.746235 | 0.160231 | 0 | 0.774725 | 0 | 0 | 0.017107 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 1 | 0.076923 | false | 0 | 0.043956 | 0.005495 | 0.142857 | 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 |
f8e37c7f431db7fa96e17fbf81cff57810e12cb0 | 4,911 | py | Python | tests/test_app1/securities/test_sec_register.py | loitd/myflask | 276db36c698c440dc4f1af42ca34961294234ab3 | [
"Apache-2.0"
] | null | null | null | tests/test_app1/securities/test_sec_register.py | loitd/myflask | 276db36c698c440dc4f1af42ca34961294234ab3 | [
"Apache-2.0"
] | 4 | 2021-02-08T20:55:21.000Z | 2022-01-06T22:51:00.000Z | tests/test_app1/securities/test_sec_register.py | loitd/myflask | 276db36c698c440dc4f1af42ca34961294234ab3 | [
"Apache-2.0"
] | null | null | null | # https://viblo.asia/p/tim-hieu-ve-sql-injection-testing-RQqKLv90l7z
import pytest
from bs4 import BeautifulSoup as bs
from flask import url_for
def test_register_sqlinjection(app, client):
theurlstr = 'register_blp.reg'
with app.test_request_context():
# Test render without errors
assert clien... | 49.606061 | 117 | 0.618815 | 629 | 4,911 | 4.779014 | 0.157393 | 0.047904 | 0.047904 | 0.07984 | 0.869927 | 0.862608 | 0.862608 | 0.862608 | 0.862608 | 0.852961 | 0 | 0.023104 | 0.250865 | 4,911 | 99 | 118 | 49.606061 | 0.793966 | 0.089595 | 0 | 0.770115 | 0 | 0 | 0.277915 | 0.069647 | 0 | 0 | 0 | 0 | 0.37931 | 1 | 0.011494 | false | 0.103448 | 0.034483 | 0 | 0.045977 | 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 |
5d18273e13675a5fe94f7e9eb409516927ce0940 | 41,436 | py | Python | messagegenerator.py | Smiddie31/aws-health-aware | 3a548794e9e03acce24ea954a354f13396f221d8 | [
"MIT-0"
] | 142 | 2021-03-09T18:10:37.000Z | 2022-03-21T18:04:07.000Z | messagegenerator.py | Smiddie31/aws-health-aware | 3a548794e9e03acce24ea954a354f13396f221d8 | [
"MIT-0"
] | 21 | 2021-03-09T18:15:53.000Z | 2022-03-06T03:59:51.000Z | messagegenerator.py | Smiddie31/aws-health-aware | 3a548794e9e03acce24ea954a354f13396f221d8 | [
"MIT-0"
] | 54 | 2021-03-09T04:51:30.000Z | 2022-03-31T07:57:58.000Z | import json
import boto3
from datetime import datetime, timedelta
from botocore.exceptions import ClientError
import os
import time
def get_message_for_slack(event_details, event_type, affected_accounts, affected_entities, slack_webhook):
message = ""
summary = ""
if slack_webhook == "webhook":
if... | 58.360563 | 290 | 0.530457 | 4,073 | 41,436 | 5.231279 | 0.052787 | 0.113202 | 0.198292 | 0.206223 | 0.976862 | 0.975736 | 0.972779 | 0.969447 | 0.953865 | 0.953865 | 0 | 0.008264 | 0.29916 | 41,436 | 709 | 291 | 58.442877 | 0.725448 | 0.024399 | 0 | 0.849145 | 0 | 0.049767 | 0.410857 | 0.080252 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020218 | false | 0 | 0.009331 | 0 | 0.049767 | 0.015552 | 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 |
5d22984dfa000c0d0693da7c3cb11ce310cdf10f | 154 | py | Python | qdserver/messaging/inapp.py | sipsop/qdserver | 5b372242241eb765cfe2ee57203449717bb81ed2 | [
"BSD-3-Clause"
] | null | null | null | qdserver/messaging/inapp.py | sipsop/qdserver | 5b372242241eb765cfe2ee57203449717bb81ed2 | [
"BSD-3-Clause"
] | null | null | null | qdserver/messaging/inapp.py | sipsop/qdserver | 5b372242241eb765cfe2ee57203449717bb81ed2 | [
"BSD-3-Clause"
] | null | null | null | from qdserver import model
from .types import Message
def send_in_app_message(user_profile : model.UserProfile, message : Message):
# TODO:
pass
| 22 | 77 | 0.75974 | 21 | 154 | 5.380952 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175325 | 154 | 6 | 78 | 25.666667 | 0.889764 | 0.032468 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 1 | 0.25 | false | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
5d27edb9c561e31ec2f0fd41a02aee8b7d26b9a2 | 198 | py | Python | examples/dagster_examples/bay_bikes/gbfs/repository.py | rparrapy/dagster | 453ebedb326eae48b5f8fa2a4a3811d94629dc6e | [
"Apache-2.0"
] | 1 | 2022-02-07T18:07:36.000Z | 2022-02-07T18:07:36.000Z | examples/dagster_examples/bay_bikes/gbfs/repository.py | david-alexander-white/dagster | 1c341500bb2380e14873b59b7e25503270188bda | [
"Apache-2.0"
] | null | null | null | examples/dagster_examples/bay_bikes/gbfs/repository.py | david-alexander-white/dagster | 1c341500bb2380e14873b59b7e25503270188bda | [
"Apache-2.0"
] | null | null | null | from dagster import RepositoryDefinition
from .pipelines import download_gbfs_files
def gbfs_repository():
return RepositoryDefinition('gbfs_repository', pipeline_defs=[download_gbfs_files])
| 24.75 | 87 | 0.838384 | 22 | 198 | 7.227273 | 0.590909 | 0.150943 | 0.213836 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10101 | 198 | 7 | 88 | 28.285714 | 0.893258 | 0 | 0 | 0 | 0 | 0 | 0.075758 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 8 |
5d3c9f4512950fc6ad2e3a6cf54c70fb90b548b6 | 4,540 | py | Python | pyEX/premium/fraudfactors/__init__.py | jmailloux/pyEX | 2101e8c53a9080ea8b00b28a758be441095d5048 | [
"Apache-2.0"
] | null | null | null | pyEX/premium/fraudfactors/__init__.py | jmailloux/pyEX | 2101e8c53a9080ea8b00b28a758be441095d5048 | [
"Apache-2.0"
] | null | null | null | pyEX/premium/fraudfactors/__init__.py | jmailloux/pyEX | 2101e8c53a9080ea8b00b28a758be441095d5048 | [
"Apache-2.0"
] | null | null | null | # *****************************************************************************
#
# Copyright (c) 2020, the pyEX authors.
#
# This file is part of the pyEX library, distributed under the terms of
# the Apache License 2.0. The full license can be found in the LICENSE file.
#
from functools import wraps
from ...common ... | 52.790698 | 332 | 0.735463 | 666 | 4,540 | 4.968468 | 0.273273 | 0.036265 | 0.025385 | 0.029012 | 0.892112 | 0.892112 | 0.875189 | 0.875189 | 0.875189 | 0.875189 | 0 | 0.027726 | 0.173789 | 4,540 | 85 | 333 | 53.411765 | 0.854439 | 0.721145 | 0 | 0.37037 | 0 | 0 | 0.153434 | 0.139161 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.555556 | 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 |
53a65669b13440b04d81827f1a5b8b9276af548b | 96 | py | Python | oil/utils.py | kbougy/oil | d0eb2836f1bc551a50a6dbdc9128bee43d305e39 | [
"MIT"
] | 3 | 2017-11-05T00:02:03.000Z | 2017-11-12T00:20:47.000Z | oil/utils.py | kbougy/oil | d0eb2836f1bc551a50a6dbdc9128bee43d305e39 | [
"MIT"
] | 43 | 2017-10-29T21:06:00.000Z | 2018-02-04T22:40:36.000Z | oil/utils.py | kbougy/oil | d0eb2836f1bc551a50a6dbdc9128bee43d305e39 | [
"MIT"
] | 1 | 2020-01-07T06:51:57.000Z | 2020-01-07T06:51:57.000Z | import arrow
def days_ago(dt_string):
return (arrow.utcnow() - arrow.get(dt_string)).days
| 16 | 55 | 0.71875 | 15 | 96 | 4.4 | 0.666667 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 96 | 5 | 56 | 19.2 | 0.804878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
54fe2bc2379709f3df2f739c667a41f22d580d6e | 5,788 | py | Python | views.py | michael-arroyo/lammy-bot | d4c364d40da7743817b867d040281a770cb84a9e | [
"Apache-2.0"
] | 3 | 2021-10-14T18:20:26.000Z | 2021-10-16T10:02:57.000Z | views.py | michael-arroyo/lammy-bot | d4c364d40da7743817b867d040281a770cb84a9e | [
"Apache-2.0"
] | 8 | 2021-10-19T22:47:58.000Z | 2022-03-21T19:47:29.000Z | views.py | michael-arroyo/lammy-bot | d4c364d40da7743817b867d040281a770cb84a9e | [
"Apache-2.0"
] | 2 | 2021-03-30T22:54:12.000Z | 2021-10-17T20:39:42.000Z | from nextcord import ButtonStyle, Interaction, SelectOption
from nextcord.ui import button, Button, Select, View
from datetime import datetime
from crud import session_scope
from embed_helper import NightmareHelper, SkillHelper, WeaponHelper
from models import Card, CardEvolution, DiscordMessage, Skill
class WeaponV... | 37.830065 | 109 | 0.656012 | 638 | 5,788 | 5.744514 | 0.144201 | 0.096044 | 0.130969 | 0.041473 | 0.831105 | 0.831105 | 0.831105 | 0.799454 | 0.776535 | 0.728513 | 0 | 0.001384 | 0.251209 | 5,788 | 152 | 110 | 38.078947 | 0.844255 | 0 | 0 | 0.787037 | 0 | 0 | 0.006912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037037 | false | 0 | 0.055556 | 0 | 0.12963 | 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 |
0702516c15e425849cdfe85e4eabb8e3239083e8 | 141 | py | Python | shreyas_API/common_account/models/__init__.py | veerpratik/shreyas-app-api | 81efeeabd2ff594efbad1e1fdf7d501fd0aad8f6 | [
"MIT"
] | null | null | null | shreyas_API/common_account/models/__init__.py | veerpratik/shreyas-app-api | 81efeeabd2ff594efbad1e1fdf7d501fd0aad8f6 | [
"MIT"
] | null | null | null | shreyas_API/common_account/models/__init__.py | veerpratik/shreyas-app-api | 81efeeabd2ff594efbad1e1fdf7d501fd0aad8f6 | [
"MIT"
] | null | null | null | from common_account.models.user import User
from common_account.models.vendor import Vendor
from common_account.models.project import Project | 47 | 49 | 0.879433 | 21 | 141 | 5.761905 | 0.380952 | 0.247934 | 0.421488 | 0.570248 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078014 | 141 | 3 | 49 | 47 | 0.930769 | 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 |
070f02843cf1f454ac63ecf6ddd9b30a4e187573 | 1,362 | py | Python | src/otp_messagebird/migrations/0005_throttling.py | arjan-s/django-otp-messagebird | ce39d53ca10cb62493fc3dd2d894d356ffafc35e | [
"BSD-2-Clause"
] | null | null | null | src/otp_messagebird/migrations/0005_throttling.py | arjan-s/django-otp-messagebird | ce39d53ca10cb62493fc3dd2d894d356ffafc35e | [
"BSD-2-Clause"
] | null | null | null | src/otp_messagebird/migrations/0005_throttling.py | arjan-s/django-otp-messagebird | ce39d53ca10cb62493fc3dd2d894d356ffafc35e | [
"BSD-2-Clause"
] | null | null | null | # Generated by Django 3.0.7 on 2020-08-05 07:15
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('otp_messagebird', '0004_messagebirdvoicedevice_language'),
]
operations = [
migrations.AddField(
model_name='messagebirdsmsdevic... | 40.058824 | 174 | 0.669604 | 137 | 1,362 | 6.518248 | 0.408759 | 0.080627 | 0.103024 | 0.120941 | 0.808511 | 0.808511 | 0.808511 | 0.808511 | 0.653975 | 0.653975 | 0 | 0.020192 | 0.236417 | 1,362 | 33 | 175 | 41.272727 | 0.838462 | 0.03304 | 0 | 0.740741 | 1 | 0 | 0.365779 | 0.139924 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037037 | 0 | 0.148148 | 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 |
073b4bd4ec1e4617bdebcc9aab2370488f3937e1 | 88 | py | Python | bookorbooks/school/tests/__init__.py | talhakoylu/SummerInternshipBackend | 4ecedf5c97f73e3d32d5a534769e86aac3e4b6d3 | [
"MIT"
] | 1 | 2021-08-10T22:24:17.000Z | 2021-08-10T22:24:17.000Z | bookorbooks/school/tests/__init__.py | talhakoylu/SummerInternshipBackend | 4ecedf5c97f73e3d32d5a534769e86aac3e4b6d3 | [
"MIT"
] | null | null | null | bookorbooks/school/tests/__init__.py | talhakoylu/SummerInternshipBackend | 4ecedf5c97f73e3d32d5a534769e86aac3e4b6d3 | [
"MIT"
] | null | null | null | from .school_tests import *
from .class_tests import *
from .student_list_tests import * | 29.333333 | 33 | 0.806818 | 13 | 88 | 5.153846 | 0.538462 | 0.492537 | 0.447761 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 88 | 3 | 33 | 29.333333 | 0.87013 | 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 |
db46ebf71103988de1f2915d38e920f288650569 | 8,280 | py | Python | tests/test_recursion.py | sobolevn/icontract | 8dd3c236fd75f74fef722311e2de65d036b9c6a7 | [
"MIT"
] | null | null | null | tests/test_recursion.py | sobolevn/icontract | 8dd3c236fd75f74fef722311e2de65d036b9c6a7 | [
"MIT"
] | null | null | null | tests/test_recursion.py | sobolevn/icontract | 8dd3c236fd75f74fef722311e2de65d036b9c6a7 | [
"MIT"
] | null | null | null | # pylint: disable=missing-docstring
# pylint: disable=no-self-use
import unittest
from typing import List
import icontract
class TestPrecondition(unittest.TestCase):
def test_ok(self) -> None:
order = [] # type: List[str]
@icontract.require(lambda: another_func()) # pylint: disable=unnecessary... | 33.12 | 116 | 0.60471 | 879 | 8,280 | 5.311718 | 0.083049 | 0.150782 | 0.104948 | 0.061898 | 0.912401 | 0.898908 | 0.892482 | 0.892482 | 0.878775 | 0.854359 | 0 | 0.000342 | 0.294203 | 8,280 | 249 | 117 | 33.253012 | 0.798597 | 0.116184 | 0 | 0.869318 | 0 | 0 | 0.090198 | 0.009061 | 0 | 0 | 0 | 0 | 0.068182 | 1 | 0.176136 | false | 0.034091 | 0.017045 | 0 | 0.363636 | 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 |
db88654748eb293dd5bbb0f289114066a483dcb0 | 8,275 | py | Python | tests/orbit/models/test_ktrlite.py | vishalbelsare/orbit | ff628e16d2a53d1fbc094b1a5b3fa5ac049b5172 | [
"Apache-2.0"
] | 1 | 2021-06-29T14:19:56.000Z | 2021-06-29T14:19:56.000Z | tests/orbit/models/test_ktrlite.py | vishalbelsare/orbit | ff628e16d2a53d1fbc094b1a5b3fa5ac049b5172 | [
"Apache-2.0"
] | null | null | null | tests/orbit/models/test_ktrlite.py | vishalbelsare/orbit | ff628e16d2a53d1fbc094b1a5b3fa5ac049b5172 | [
"Apache-2.0"
] | null | null | null | import pytest
import numpy as np
import pandas as pd
from orbit.estimators.stan_estimator import StanEstimatorMAP
from orbit.models.ktrlite import KTRLiteMAP
from orbit.diagnostics.metrics import smape
SMAPE_TOLERANCE = 0.5
@pytest.mark.parametrize(
"seasonality_fs_order", [None, [5]],
ids=['default_order',... | 36.135371 | 110 | 0.709728 | 1,022 | 8,275 | 5.389432 | 0.101761 | 0.052288 | 0.037763 | 0.018882 | 0.866376 | 0.837146 | 0.828613 | 0.806282 | 0.802106 | 0.787219 | 0 | 0.029776 | 0.180181 | 8,275 | 228 | 111 | 36.29386 | 0.782134 | 0 | 0 | 0.719101 | 0 | 0 | 0.10719 | 0.005438 | 0 | 0 | 0 | 0 | 0.202247 | 1 | 0.044944 | false | 0 | 0.033708 | 0 | 0.078652 | 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 |
dbd0a0b3d058ea5d7b8a2a9c4fc3f2470ad13edb | 43,373 | py | Python | model_mtl.py | Ani0203/source_sep_Ani | 40c461e6ba9ce01160368a515d6b9b6783f45be6 | [
"MIT"
] | null | null | null | model_mtl.py | Ani0203/source_sep_Ani | 40c461e6ba9ce01160368a515d6b9b6783f45be6 | [
"MIT"
] | null | null | null | model_mtl.py | Ani0203/source_sep_Ani | 40c461e6ba9ce01160368a515d6b9b6783f45be6 | [
"MIT"
] | null | null | null | from torch.nn import LSTM, Linear, BatchNorm1d, Parameter
import torch
import torch.nn as nn
import torch.nn.functional as F
class NoOp(nn.Module):
def __init__(self):
super().__init__()
def forward(self, x):
return x
class STFT(nn.Module):
def __init__(
self,
n_fft=4096... | 27.520939 | 87 | 0.549835 | 5,559 | 43,373 | 4.076093 | 0.040115 | 0.068405 | 0.030893 | 0.046119 | 0.940377 | 0.93155 | 0.925151 | 0.923607 | 0.922591 | 0.922591 | 0 | 0.02391 | 0.336592 | 43,373 | 1,575 | 88 | 27.538413 | 0.763571 | 0.219584 | 0 | 0.8479 | 0 | 0 | 0.002575 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024972 | false | 0 | 0.00454 | 0.001135 | 0.054484 | 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 |
91a58446eb41c1423605a2a201bf8d4c549f4cb9 | 5,687 | py | Python | demos/aspect_polarity_classification/run_fast_lsa_deberta.py | froth-synthesio/PyABSA | 61406e7a49f93f6c986dfd7e583d730b69c2861c | [
"MIT"
] | 199 | 2021-06-07T15:07:28.000Z | 2022-03-31T11:53:28.000Z | demos/aspect_polarity_classification/run_fast_lsa_deberta.py | froth-synthesio/PyABSA | 61406e7a49f93f6c986dfd7e583d730b69c2861c | [
"MIT"
] | 98 | 2021-06-06T06:01:02.000Z | 2022-03-31T15:48:28.000Z | demos/aspect_polarity_classification/run_fast_lsa_deberta.py | froth-synthesio/PyABSA | 61406e7a49f93f6c986dfd7e583d730b69c2861c | [
"MIT"
] | 55 | 2021-06-10T08:52:17.000Z | 2022-03-31T11:08:58.000Z | # -*- coding: utf-8 -*-
# file: run_fast_lsa_deberta.py
# time: 2021/5/26 0026
# author: yangheng <yangheng@m.scnu.edu.cn>
# github: https://github.com/yangheng95
# Copyright (C) 2021. All Rights Reserved.
#################################################################################################################... | 40.333333 | 120 | 0.714788 | 725 | 5,687 | 5.361379 | 0.208276 | 0.125032 | 0.222279 | 0.056599 | 0.856959 | 0.856959 | 0.856959 | 0.856959 | 0.85027 | 0.85027 | 0 | 0.029539 | 0.184456 | 5,687 | 140 | 121 | 40.621429 | 0.808538 | 0.295938 | 0 | 0.781818 | 0 | 0 | 0.018822 | 0.013444 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.054545 | 0 | 0.054545 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 8 |
5311c3c21a92398445ff2d2daa1bd189b94c8e72 | 100 | py | Python | src/utilities.py | Open-Speech-EkStep/text-to-speech-open-api | 6a441996600829ed5c5b456acb339e14d1f59ac5 | [
"MIT"
] | null | null | null | src/utilities.py | Open-Speech-EkStep/text-to-speech-open-api | 6a441996600829ed5c5b456acb339e14d1f59ac5 | [
"MIT"
] | null | null | null | src/utilities.py | Open-Speech-EkStep/text-to-speech-open-api | 6a441996600829ed5c5b456acb339e14d1f59ac5 | [
"MIT"
] | null | null | null | import os
def get_env_var(var_name=str, default=''):
return os.environ.get(var_name, default)
| 16.666667 | 44 | 0.73 | 17 | 100 | 4.058824 | 0.647059 | 0.202899 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 100 | 5 | 45 | 20 | 0.802326 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
5314c6ef5579ca76148571053b3ee2b9d165c037 | 24,702 | py | Python | jamf/api/patch_policies_preview_api.py | jensenbox/python-jamf | 85213085b1064a00375a7aa7df5e33c19f5178eb | [
"RSA-MD"
] | 1 | 2021-04-20T15:28:57.000Z | 2021-04-20T15:28:57.000Z | jamf/api/patch_policies_preview_api.py | jensenbox/python-jamf | 85213085b1064a00375a7aa7df5e33c19f5178eb | [
"RSA-MD"
] | null | null | null | jamf/api/patch_policies_preview_api.py | jensenbox/python-jamf | 85213085b1064a00375a7aa7df5e33c19f5178eb | [
"RSA-MD"
] | null | null | null | # coding: utf-8
"""
Jamf Pro API
## Overview This is a sample Jamf Pro server which allows for usage without any authentication. The Jamf Pro environment which supports the Try it Out functionality does not run the current beta version of Jamf Pro, thus any newly added endpoints will result in an error and sh... | 43.336842 | 342 | 0.597684 | 2,798 | 24,702 | 5.018585 | 0.080415 | 0.035323 | 0.053838 | 0.030765 | 0.925865 | 0.921592 | 0.919954 | 0.912833 | 0.90329 | 0.896667 | 0 | 0.011946 | 0.335803 | 24,702 | 569 | 343 | 43.413005 | 0.843908 | 0.498705 | 0 | 0.723141 | 0 | 0 | 0.162964 | 0.066074 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03719 | false | 0 | 0.020661 | 0 | 0.095041 | 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 |
533bfccb98e32d56a78d5782e7d99586175c180b | 11,432 | py | Python | pyutilib/misc/tests/test_import.py | PyUtilib/PyUtilib | d99406f2af1fb62268c34453a2fbe6bd4a7348f0 | [
"BSD-3-Clause"
] | 24 | 2016-04-02T10:00:02.000Z | 2021-03-02T16:40:18.000Z | pyutilib/misc/tests/test_import.py | PyUtilib/PyUtilib | d99406f2af1fb62268c34453a2fbe6bd4a7348f0 | [
"BSD-3-Clause"
] | 105 | 2015-10-29T03:29:58.000Z | 2021-12-30T22:00:45.000Z | pyutilib/misc/tests/test_import.py | PyUtilib/PyUtilib | d99406f2af1fb62268c34453a2fbe6bd4a7348f0 | [
"BSD-3-Clause"
] | 22 | 2016-01-21T15:35:25.000Z | 2021-05-15T20:17:44.000Z | #
# Unit Tests for util/misc/import_file
#
#
import os
import sys
from os.path import abspath, dirname
pkgdir = dirname(abspath(__file__)) + os.sep + ".." + os.sep + ".."
currdir = dirname(abspath(__file__)) + os.sep
import pyutilib.misc
import pyutilib.th as unittest
import pyutilib.misc.comparison
try:
import ... | 36.063091 | 80 | 0.5838 | 1,364 | 11,432 | 4.791789 | 0.101906 | 0.080783 | 0.070685 | 0.107711 | 0.805539 | 0.760251 | 0.742809 | 0.71634 | 0.675031 | 0.658201 | 0 | 0.011376 | 0.277204 | 11,432 | 316 | 81 | 36.177215 | 0.77962 | 0.005511 | 0 | 0.63197 | 0 | 0 | 0.154097 | 0.017777 | 0 | 0 | 0 | 0 | 0.185874 | 1 | 0.118959 | false | 0.033457 | 0.39777 | 0 | 0.524164 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
5348589f8d691210630c1ac5a74f6df6075fca76 | 384 | py | Python | ch_1/test_flat.py | 2Clutch/magic | 21bb6dfe725a57ad3fff62931630ef8c54d5e09f | [
"MIT"
] | null | null | null | ch_1/test_flat.py | 2Clutch/magic | 21bb6dfe725a57ad3fff62931630ef8c54d5e09f | [
"MIT"
] | null | null | null | ch_1/test_flat.py | 2Clutch/magic | 21bb6dfe725a57ad3fff62931630ef8c54d5e09f | [
"MIT"
] | null | null | null | from ch_1.flat import Flat
def test_flat():
assert Flat.flat(Flat(), sample_list=[1, 2, [3]]) == [1, 2, 3]
assert Flat.flat(Flat(), sample_list=[1, 2, [3], []]) == [1, 2, 3]
assert Flat.flat(Flat(), sample_list=[1, 2, [3], [3, 4, 5]]) == [1, 2, 3, 3, 4, 5]
assert Flat.flat(Flat(), sample_list=[1, 2, [... | 42.666667 | 112 | 0.505208 | 77 | 384 | 2.441558 | 0.207792 | 0.340426 | 0.12766 | 0.382979 | 0.829787 | 0.829787 | 0.781915 | 0.781915 | 0.781915 | 0.632979 | 0 | 0.148515 | 0.210938 | 384 | 8 | 113 | 48 | 0.471947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.166667 | true | 0 | 0.166667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
726a3b6d56f51e66e1ddd0df8ea70bc4b2fd452e | 25,220 | py | Python | tests/unit/contrib/compilation_infra.py | Xilinx/pyxir | bef661d6d77adcdbd2cf4163f2cf3a1d31d40406 | [
"Apache-2.0"
] | 25 | 2020-06-17T22:41:13.000Z | 2022-03-22T16:28:22.000Z | tests/unit/contrib/compilation_infra.py | Xilinx/pyxir | bef661d6d77adcdbd2cf4163f2cf3a1d31d40406 | [
"Apache-2.0"
] | 25 | 2021-03-16T06:26:44.000Z | 2022-03-18T11:28:33.000Z | tests/unit/contrib/compilation_infra.py | Xilinx/pyxir | bef661d6d77adcdbd2cf4163f2cf3a1d31d40406 | [
"Apache-2.0"
] | 19 | 2020-07-30T10:03:02.000Z | 2021-06-29T01:18:16.000Z | # Copyright 2021 Xilinx 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 writing, ... | 29.428238 | 102 | 0.616217 | 3,396 | 25,220 | 4.295936 | 0.075088 | 0.02495 | 0.017136 | 0.018233 | 0.810542 | 0.790184 | 0.766125 | 0.752759 | 0.740764 | 0.727466 | 0 | 0.03917 | 0.259001 | 25,220 | 856 | 103 | 29.462617 | 0.741492 | 0.061538 | 0 | 0.748252 | 0 | 0 | 0.047059 | 0 | 0 | 0 | 0 | 0.001168 | 0.036364 | 1 | 0.036364 | false | 0 | 0.011189 | 0 | 0.071329 | 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 |
726d849511be626b36a6aa6702b7bbd43a929127 | 1,955 | py | Python | CyberHealth/assessment/migrations/0009_auto_20210513_1301.py | communitiesuk/cyber-health | 1854edf35d7c1f9aa0e5553e72ac7decda69d7c1 | [
"MIT"
] | null | null | null | CyberHealth/assessment/migrations/0009_auto_20210513_1301.py | communitiesuk/cyber-health | 1854edf35d7c1f9aa0e5553e72ac7decda69d7c1 | [
"MIT"
] | 16 | 2021-04-09T11:29:36.000Z | 2021-05-17T16:45:08.000Z | CyberHealth/assessment/migrations/0009_auto_20210513_1301.py | communitiesuk/cyber-health | 1854edf35d7c1f9aa0e5553e72ac7decda69d7c1 | [
"MIT"
] | null | null | null | # Generated by Django 3.2.3 on 2021-05-13 13:01
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('assessment', '0007_pathway_pathwaygroup'),
]
operations = [
migrations.AlterField(
model_name='answer',
name='id',
... | 36.203704 | 111 | 0.607161 | 196 | 1,955 | 5.882653 | 0.219388 | 0.083261 | 0.173461 | 0.201214 | 0.765828 | 0.765828 | 0.765828 | 0.765828 | 0.765828 | 0.765828 | 0 | 0.013371 | 0.273146 | 1,955 | 53 | 112 | 36.886792 | 0.79803 | 0.023018 | 0 | 0.680851 | 1 | 0 | 0.079665 | 0.013103 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.021277 | 0 | 0.085106 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7270727a9b4944d62920d9b2f79d851c0e493b12 | 4,786 | py | Python | python/tests/test_publish_async.py | parasyte/pubnub-python | 4a44c563ea8af7211197d166596be41ede05c179 | [
"MIT"
] | null | null | null | python/tests/test_publish_async.py | parasyte/pubnub-python | 4a44c563ea8af7211197d166596be41ede05c179 | [
"MIT"
] | null | null | null | python/tests/test_publish_async.py | parasyte/pubnub-python | 4a44c563ea8af7211197d166596be41ede05c179 | [
"MIT"
] | null | null | null |
from Pubnub import Pubnub
import time
pubnub = Pubnub("demo","demo")
pubnub_enc = Pubnub("demo", "demo", cipher_key="enigma")
pubnub_pam = Pubnub("pub-c-c077418d-f83c-4860-b213-2f6c77bde29a",
"sub-c-e8839098-f568-11e2-a11a-02ee2ddab7fe", "sec-c-OGU3Y2Q4ZWUtNDQwMC00NTI1LThjNWYtNWJmY2M4OGIwNjEy")
# Publish and re... | 20.899563 | 104 | 0.720017 | 653 | 4,786 | 5.096478 | 0.104135 | 0.054087 | 0.061298 | 0.064904 | 0.852464 | 0.818209 | 0.818209 | 0.807392 | 0.807392 | 0.807392 | 0 | 0.023558 | 0.148558 | 4,786 | 228 | 105 | 20.991228 | 0.793129 | 0.105516 | 0 | 0.789855 | 0 | 0 | 0.070089 | 0.032349 | 0 | 0 | 0 | 0 | 0.173913 | 1 | 0.347826 | false | 0 | 0.014493 | 0 | 0.362319 | 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 | 0 | 0 | 0 | 8 |
72b5665d532c2533d769c337f0fec1cd3c816a6b | 10,932 | py | Python | packages/gtmapi/lmsrvlabbook/tests/snapshots/snap_test_labbook_remote_ops.py | jjwatts/gigantum-client | 88ce0475fb6880322bdd06d987c494e29064f278 | [
"MIT"
] | null | null | null | packages/gtmapi/lmsrvlabbook/tests/snapshots/snap_test_labbook_remote_ops.py | jjwatts/gigantum-client | 88ce0475fb6880322bdd06d987c494e29064f278 | [
"MIT"
] | null | null | null | packages/gtmapi/lmsrvlabbook/tests/snapshots/snap_test_labbook_remote_ops.py | jjwatts/gigantum-client | 88ce0475fb6880322bdd06d987c494e29064f278 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# snapshottest: v1 - https://goo.gl/zC4yUc
from __future__ import unicode_literals
from snapshottest import Snapshot
snapshots = Snapshot()
snapshots['TestLabBookRemoteOperations.test_list_remote_labbooks_az 1'] = {
'data': {
'labbookList': {
'remoteLabbooks': {
... | 38.765957 | 81 | 0.368277 | 546 | 10,932 | 7.305861 | 0.10989 | 0.028077 | 0.056154 | 0.087741 | 0.970419 | 0.970419 | 0.969917 | 0.944848 | 0.944848 | 0.944848 | 0 | 0.116584 | 0.519027 | 10,932 | 281 | 82 | 38.903915 | 0.642069 | 0.005671 | 0 | 0.652985 | 0 | 0 | 0.368179 | 0.203368 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.007463 | 0 | 0.007463 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f41043395753a12d20ee2b8b2b8f48f9d9773f59 | 243 | py | Python | universe/vncdriver/screen/__init__.py | BitJetKit/universe | cc9ce6ec241821bfb0f3b85dd455bd36e4ee7a8c | [
"MIT"
] | 8,120 | 2016-12-05T06:37:45.000Z | 2022-03-21T14:45:20.000Z | universe/vncdriver/screen/__init__.py | BitJetKit/universe | cc9ce6ec241821bfb0f3b85dd455bd36e4ee7a8c | [
"MIT"
] | 213 | 2016-12-05T09:57:37.000Z | 2018-04-05T18:55:14.000Z | universe/vncdriver/screen/__init__.py | BitJetKit/universe | cc9ce6ec241821bfb0f3b85dd455bd36e4ee7a8c | [
"MIT"
] | 1,140 | 2016-12-05T06:50:43.000Z | 2022-03-23T08:28:32.000Z | from universe.vncdriver.screen.base import Screen
from universe.vncdriver.screen.numpy_screen import NumpyScreen
from universe.vncdriver.screen.pyglet_screen import PygletScreen
from universe.vncdriver.screen.screen_buffer import ScreenBuffer
| 48.6 | 64 | 0.884774 | 31 | 243 | 6.83871 | 0.387097 | 0.226415 | 0.396226 | 0.509434 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065844 | 243 | 4 | 65 | 60.75 | 0.933921 | 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 |
f4711b97b145ccdcb223bda2951f4845760728ff | 82 | py | Python | app/public/__init__.py | Anioko/frontcms | 3a39c57881ae4d97b3aa65d033e30719aca648ac | [
"MIT"
] | 1 | 2020-06-26T05:03:48.000Z | 2020-06-26T05:03:48.000Z | app/public/__init__.py | Anioko/frontcms | 3a39c57881ae4d97b3aa65d033e30719aca648ac | [
"MIT"
] | 1 | 2021-06-02T02:15:07.000Z | 2021-06-02T02:15:07.000Z | app/public/__init__.py | Anioko/frontcms | 3a39c57881ae4d97b3aa65d033e30719aca648ac | [
"MIT"
] | null | null | null | from app.public import errors # noqa
from app.public.views import public # noqa
| 20.5 | 42 | 0.768293 | 13 | 82 | 4.846154 | 0.538462 | 0.222222 | 0.412698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 82 | 3 | 43 | 27.333333 | 0.926471 | 0.109756 | 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 |
f488cc03c51c32404c669eb61637158b228d6b70 | 28,535 | py | Python | test/test_analyzer.py | ckyycc/hana_os_monitor_script_v2 | 86c16b320da024caec10bb4bc71a39f55b5923fa | [
"MIT"
] | 6 | 2020-01-08T18:04:49.000Z | 2021-04-25T02:11:12.000Z | test/test_analyzer.py | ckyycc/hana_os_monitor_script_v2 | 86c16b320da024caec10bb4bc71a39f55b5923fa | [
"MIT"
] | null | null | null | test/test_analyzer.py | ckyycc/hana_os_monitor_script_v2 | 86c16b320da024caec10bb4bc71a39f55b5923fa | [
"MIT"
] | null | null | null | from unittest import TestCase
from unittest.mock import MagicMock, call, patch
from util import MonitorUtility as Mu
from util import MonitorConst as Mc
from util import InfoType
from analyzer import DataAnalyzer
class TestAnalyzer(TestCase):
def setUp(self):
self.server_id = 1
self.check_id = "2... | 76.706989 | 120 | 0.617032 | 3,934 | 28,535 | 4.141586 | 0.03635 | 0.18646 | 0.090591 | 0.112318 | 0.958939 | 0.957896 | 0.952495 | 0.952495 | 0.952495 | 0.952495 | 0 | 0.040864 | 0.265043 | 28,535 | 371 | 121 | 76.913747 | 0.736029 | 0.014509 | 0 | 0.82263 | 0 | 0 | 0.04778 | 0 | 0 | 0 | 0 | 0 | 0.021407 | 1 | 0.030581 | false | 0 | 0.018349 | 0 | 0.058104 | 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 |
f48fadd1f777f7eec871da03e4d80ee051cb51ca | 5,011 | py | Python | cisco-ios-xr/ydk/models/_deviate/_cisco_xr_openconfig_if_ip_deviations.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/_deviate/_cisco_xr_openconfig_if_ip_deviations.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/_deviate/_cisco_xr_openconfig_if_ip_deviations.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null |
from enum import Enum
from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST, REFERENCE_IDENTITY_CLASS, REFERENCE_... | 43.198276 | 183 | 0.701656 | 474 | 5,011 | 7.132911 | 0.135021 | 0.196687 | 0.15528 | 0.248447 | 0.883466 | 0.883466 | 0.883466 | 0.867495 | 0.855368 | 0.564034 | 0 | 0.00889 | 0.169427 | 5,011 | 115 | 184 | 43.573913 | 0.80346 | 0 | 0 | 0.3125 | 0 | 0 | 0.669062 | 0.487425 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.044643 | 0 | 0.044643 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
beb2cf87091a47c44ecd2fa6343ddfaee14202f4 | 25,109 | py | Python | Quartz/CoreVideo/_metadata.py | EnjoyLifeFund/py36pkgs | 0ac677fbbfa7b6d8c527fe2c759ba05117b07fd2 | [
"MIT",
"BSD-2-Clause",
"BSD-3-Clause"
] | null | null | null | Quartz/CoreVideo/_metadata.py | EnjoyLifeFund/py36pkgs | 0ac677fbbfa7b6d8c527fe2c759ba05117b07fd2 | [
"MIT",
"BSD-2-Clause",
"BSD-3-Clause"
] | null | null | null | Quartz/CoreVideo/_metadata.py | EnjoyLifeFund/py36pkgs | 0ac677fbbfa7b6d8c527fe2c759ba05117b07fd2 | [
"MIT",
"BSD-2-Clause",
"BSD-3-Clause"
] | null | null | null | # This file is generated by objective.metadata
#
# Last update: Mon Oct 24 11:14:07 2016
import objc, sys
if sys.maxsize > 2 ** 32:
def sel32or64(a, b): return b
else:
def sel32or64(a, b): return a
if sys.byteorder == 'little':
def littleOrBig(a, b): return a
else:
def littleOrBig(a, b): return b
mis... | 896.75 | 12,413 | 0.787726 | 1,921 | 25,109 | 9.84227 | 0.300885 | 0.004549 | 0.035542 | 0.028561 | 0.180145 | 0.142064 | 0.127413 | 0.101232 | 0.095203 | 0.066801 | 0 | 0.041437 | 0.030228 | 25,109 | 27 | 12,414 | 929.962963 | 0.735031 | 0.003744 | 0 | 0.105263 | 1 | 0.315789 | 0.82615 | 0.697321 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.052632 | 0.210526 | 0.263158 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 8 |
beb69c7f8a24205a42871951c66dbdd507d316dd | 15,666 | py | Python | guestroom/tests/test_views.py | YuriyCherniy/just-blog | ea9810a8e4db77f109d211bb45c04fb79d0f1e5c | [
"MIT"
] | 3 | 2022-01-15T18:23:34.000Z | 2022-01-15T20:32:52.000Z | guestroom/tests/test_views.py | YuriyCherniy/just-blog | ea9810a8e4db77f109d211bb45c04fb79d0f1e5c | [
"MIT"
] | null | null | null | guestroom/tests/test_views.py | YuriyCherniy/just-blog | ea9810a8e4db77f109d211bb45c04fb79d0f1e5c | [
"MIT"
] | 1 | 2022-01-19T11:31:52.000Z | 2022-01-19T11:31:52.000Z | from django.db import IntegrityError, transaction
from django.test import Client, TestCase
from django.urls import reverse
from guestroom.models import GuestComment, GuestPost, NewGuestPostCounter
from users.models import BlogUser
class GuestPostListViewTestCase(TestCase):
@classmethod
def setUpTestData(cls)... | 35.52381 | 97 | 0.62358 | 1,734 | 15,666 | 5.410035 | 0.055363 | 0.039441 | 0.058203 | 0.073873 | 0.929538 | 0.908752 | 0.904488 | 0.888605 | 0.856838 | 0.82326 | 0 | 0.021955 | 0.252777 | 15,666 | 440 | 98 | 35.604545 | 0.779429 | 0.035491 | 0 | 0.727778 | 0 | 0 | 0.144892 | 0.030542 | 0 | 0 | 0 | 0 | 0.102778 | 1 | 0.147222 | false | 0.097222 | 0.013889 | 0 | 0.183333 | 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 |
fe2a83d933ab7c857f93768f35f78c1acef19380 | 55 | py | Python | envs/gap_env/block_env/__init__.py | Wangweiyao/causal-manipulation | 8e695a33e5d7cf32ce0d878dd66e5a57fde76b84 | [
"MIT"
] | null | null | null | envs/gap_env/block_env/__init__.py | Wangweiyao/causal-manipulation | 8e695a33e5d7cf32ce0d878dd66e5a57fde76b84 | [
"MIT"
] | null | null | null | envs/gap_env/block_env/__init__.py | Wangweiyao/causal-manipulation | 8e695a33e5d7cf32ce0d878dd66e5a57fde76b84 | [
"MIT"
] | null | null | null | from gap_env.block_env.block_env import SawyerBlockEnv
| 27.5 | 54 | 0.890909 | 9 | 55 | 5.111111 | 0.666667 | 0.347826 | 0.478261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072727 | 55 | 1 | 55 | 55 | 0.901961 | 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 |
fe5576f659f0dc9e63048915f61eb46802f68b2a | 123,016 | py | Python | tinkoff/invest/grpc/marketdata_pb2.py | forked-group/invest-python | 3398391f5bb4a52020c312855de175cfe8cdc021 | [
"Apache-2.0"
] | null | null | null | tinkoff/invest/grpc/marketdata_pb2.py | forked-group/invest-python | 3398391f5bb4a52020c312855de175cfe8cdc021 | [
"Apache-2.0"
] | null | null | null | tinkoff/invest/grpc/marketdata_pb2.py | forked-group/invest-python | 3398391f5bb4a52020c312855de175cfe8cdc021 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: tinkoff/invest/grpc/marketdata.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _mes... | 49.069007 | 12,942 | 0.782199 | 14,969 | 123,016 | 6.097535 | 0.036876 | 0.036374 | 0.060576 | 0.067971 | 0.795342 | 0.76793 | 0.760458 | 0.728258 | 0.711583 | 0.653713 | 0 | 0.034182 | 0.101068 | 123,016 | 2,506 | 12,943 | 49.088587 | 0.791207 | 0.030459 | 0 | 0.677821 | 1 | 0.001716 | 0.251581 | 0.215547 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.003003 | 0 | 0.003003 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
fe5bdcbb6940e2ca8942a4acf06dce1ec53d6ba6 | 5,952 | py | Python | tests/dhcpv4/classification/test_v4_classification_ipxe.py | shawnmullaney/forge | aaaef0a0645f73d24666aab6a400f3604e753aac | [
"0BSD"
] | null | null | null | tests/dhcpv4/classification/test_v4_classification_ipxe.py | shawnmullaney/forge | aaaef0a0645f73d24666aab6a400f3604e753aac | [
"0BSD"
] | null | null | null | tests/dhcpv4/classification/test_v4_classification_ipxe.py | shawnmullaney/forge | aaaef0a0645f73d24666aab6a400f3604e753aac | [
"0BSD"
] | null | null | null | """Client Classification DHCPv4"""
# pylint: disable=invalid-name,line-too-long
import pytest
import srv_control
import misc
import srv_msg
@pytest.mark.v4
@pytest.mark.dhcp4
@pytest.mark.classification
def test_v4_client_classification_iPXE_client_arch():
misc.test_setup()
srv_control.config_srv_subnet('1... | 42.820144 | 90 | 0.737231 | 923 | 5,952 | 4.370531 | 0.127844 | 0.068418 | 0.080317 | 0.059494 | 0.933317 | 0.933317 | 0.933317 | 0.933317 | 0.933317 | 0.933317 | 0 | 0.084086 | 0.106855 | 5,952 | 138 | 91 | 43.130435 | 0.674755 | 0.031754 | 0 | 0.902913 | 0 | 0 | 0.276947 | 0.083623 | 0 | 0 | 0.006259 | 0 | 0 | 1 | 0.029126 | true | 0.058252 | 0.038835 | 0 | 0.067961 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
fe85cd171414ebfd1dc34a43d20a1a3b0957663f | 4,734 | py | Python | run_panoramix.py | NiklasRz/panoramix | fcb2dfe3df48ceee188cea37793da74aa9a05eb6 | [
"MIT"
] | null | null | null | run_panoramix.py | NiklasRz/panoramix | fcb2dfe3df48ceee188cea37793da74aa9a05eb6 | [
"MIT"
] | null | null | null | run_panoramix.py | NiklasRz/panoramix | fcb2dfe3df48ceee188cea37793da74aa9a05eb6 | [
"MIT"
] | null | null | null | import panoramix
"""
Niklas' version to decompile a file of bytecode
add a read-in function to read in the bytecode from the files
add an output function to better format the output
"""
# replace with address and code loader - load from file
address = "0x888666CA69E0f178DED6D75b5726Cee99A87D698"
code = "0x606060405... | 278.470588 | 4,395 | 0.983523 | 49 | 4,734 | 95.020408 | 0.612245 | 0.002577 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.85479 | 0.012252 | 4,734 | 16 | 4,396 | 295.875 | 0.140932 | 0.011196 | 0 | 0 | 0 | 0 | 0.982036 | 0.982036 | 0 | 1 | 0.982036 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
fe8646b0aa17641a186e8f6047bb10ab156435eb | 2,456 | py | Python | tests/test_parser.py | jaywoo123/lux | 52d6b326264ced2f9cf3c380a320fb1856166535 | [
"Apache-2.0"
] | null | null | null | tests/test_parser.py | jaywoo123/lux | 52d6b326264ced2f9cf3c380a320fb1856166535 | [
"Apache-2.0"
] | null | null | null | tests/test_parser.py | jaywoo123/lux | 52d6b326264ced2f9cf3c380a320fb1856166535 | [
"Apache-2.0"
] | null | null | null | import pandas as pd
import lux
def test_case1():
ldf = pd.read_csv("lux/data/car.csv")
ldf.setContext(["Horsepower"])
assert(type(ldf.context[0]) is lux.Spec)
assert(ldf.context[0].attribute == "Horsepower")
def test_case2():
ldf = pd.read_csv("lux/data/car.csv")
ldf.setContext(["Horsepower", lux.Spec("MilesPer... | 37.212121 | 79 | 0.694218 | 356 | 2,456 | 4.755618 | 0.132022 | 0.183107 | 0.170112 | 0.153574 | 0.877732 | 0.877732 | 0.825753 | 0.825753 | 0.825753 | 0.825753 | 0 | 0.01654 | 0.089169 | 2,456 | 66 | 80 | 37.212121 | 0.740277 | 0.012622 | 0 | 0.653846 | 0 | 0 | 0.20009 | 0.013069 | 0 | 0 | 0 | 0.015152 | 0.596154 | 1 | 0.115385 | false | 0 | 0.038462 | 0 | 0.153846 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
22864e8e579e705e8b21e36a4cc7aba9ba4a5c70 | 36,093 | py | Python | automl/tests/unit/gapic/v1/test_auto_ml_client_v1.py | conwaychriscosmo/google-cloud-python | 8e7b7f8a5f4bb04d13f4d88ec3848f017faf834a | [
"Apache-2.0"
] | 1 | 2019-03-26T21:44:51.000Z | 2019-03-26T21:44:51.000Z | automl/tests/unit/gapic/v1/test_auto_ml_client_v1.py | conwaychriscosmo/google-cloud-python | 8e7b7f8a5f4bb04d13f4d88ec3848f017faf834a | [
"Apache-2.0"
] | 1 | 2019-03-29T22:03:48.000Z | 2019-04-02T22:24:45.000Z | automl/tests/unit/gapic/v1/test_auto_ml_client_v1.py | conwaychriscosmo/google-cloud-python | 8e7b7f8a5f4bb04d13f4d88ec3848f017faf834a | [
"Apache-2.0"
] | 1 | 2019-03-29T18:26:16.000Z | 2019-03-29T18:26:16.000Z | # -*- coding: utf-8 -*-
#
# Copyright 2019 Google LLC
#
# 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | 36.384073 | 87 | 0.648713 | 3,715 | 36,093 | 6.061104 | 0.05895 | 0.076742 | 0.043167 | 0.031976 | 0.887596 | 0.872852 | 0.864902 | 0.857708 | 0.840831 | 0.831061 | 0 | 0.02009 | 0.260798 | 36,093 | 991 | 88 | 36.420787 | 0.823876 | 0.068434 | 0 | 0.73542 | 0 | 0 | 0.117145 | 0.072574 | 0 | 0 | 0 | 0 | 0.093883 | 1 | 0.056899 | false | 0.001422 | 0.02845 | 0.001422 | 0.093883 | 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 |
22bc006657037fbcac44d10884f4fef483feaa62 | 76,537 | py | Python | zerver/tests/test_auth_backends.py | GauravVirmani/zulip | 5a204d7c84d60e193f1ea0900d42848c5276a095 | [
"Apache-2.0"
] | null | null | null | zerver/tests/test_auth_backends.py | GauravVirmani/zulip | 5a204d7c84d60e193f1ea0900d42848c5276a095 | [
"Apache-2.0"
] | null | null | null | zerver/tests/test_auth_backends.py | GauravVirmani/zulip | 5a204d7c84d60e193f1ea0900d42848c5276a095 | [
"Apache-2.0"
] | 1 | 2021-06-10T15:12:52.000Z | 2021-06-10T15:12:52.000Z | # -*- coding: utf-8 -*-
from django.conf import settings
from django.http import HttpResponse
from django.test import TestCase, override_settings
from django_auth_ldap.backend import _LDAPUser
from django.test.client import RequestFactory
from typing import Any, Callable, Dict, Optional, Text
from builtins import objec... | 48.257881 | 141 | 0.622496 | 8,440 | 76,537 | 5.399052 | 0.060308 | 0.02019 | 0.029231 | 0.021923 | 0.810174 | 0.786407 | 0.75237 | 0.731083 | 0.702862 | 0.68276 | 0 | 0.006885 | 0.265571 | 76,537 | 1,585 | 142 | 48.288328 | 0.803775 | 0.067823 | 0 | 0.65426 | 0 | 0 | 0.167011 | 0.082261 | 0 | 0 | 0 | 0 | 0.157982 | 1 | 0.103391 | false | 0.054591 | 0.026468 | 0.003309 | 0.16129 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
4322a5c1bde0700443a33fae289f30609ce2d7e0 | 15,061 | py | Python | test_strategies.py | Rebeckky/starter-snake-python | 56861c445c97cca069234bb768de795ffbcfbc44 | [
"MIT"
] | null | null | null | test_strategies.py | Rebeckky/starter-snake-python | 56861c445c97cca069234bb768de795ffbcfbc44 | [
"MIT"
] | null | null | null | test_strategies.py | Rebeckky/starter-snake-python | 56861c445c97cca069234bb768de795ffbcfbc44 | [
"MIT"
] | null | null | null | import global_variables
import strategies
data = {
"game": {
"id": "game-00fe20da-94ad-11ea-bb37",
"ruleset": {"name": "standard", "version": "v.1.2.3"},
"timeout": 500,
},
"turn": 14,
"board": {
"height": 11,
"width": 11,
"food": [{"x": 5, "y": 5}, {"x":... | 32.812636 | 83 | 0.494655 | 1,742 | 15,061 | 3.987945 | 0.060276 | 0.064488 | 0.041457 | 0.077731 | 0.920397 | 0.903124 | 0.88657 | 0.872175 | 0.858212 | 0.849719 | 0 | 0.045252 | 0.344134 | 15,061 | 459 | 84 | 32.812636 | 0.658028 | 0.005644 | 0 | 0.753659 | 0 | 0 | 0.13011 | 0.02705 | 0 | 0 | 0 | 0 | 0.068293 | 1 | 0.039024 | false | 0 | 0.004878 | 0 | 0.043902 | 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 |
4a69ea147eae923ba17b9630ac51531020a65dec | 101 | py | Python | AutoRec/loss/rmse_loss.py | Yangjiaxi/RS-Code | cb2798f1e1e4605b98c445b0a58956de1e901eb5 | [
"MIT"
] | null | null | null | AutoRec/loss/rmse_loss.py | Yangjiaxi/RS-Code | cb2798f1e1e4605b98c445b0a58956de1e901eb5 | [
"MIT"
] | null | null | null | AutoRec/loss/rmse_loss.py | Yangjiaxi/RS-Code | cb2798f1e1e4605b98c445b0a58956de1e901eb5 | [
"MIT"
] | null | null | null | import torch
def RMSELoss(output, target):
return torch.sqrt(torch.mean(output - target) ** 2)
| 16.833333 | 55 | 0.70297 | 14 | 101 | 5.071429 | 0.714286 | 0.338028 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011905 | 0.168317 | 101 | 5 | 56 | 20.2 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
4a6d86165318469f986a57f757bbcd86d1ed8c11 | 11,886 | py | Python | test/test_workspace.py | garv123/remote | c10b12cc5cb26186cb1607805926315635392547 | [
"BSD-2-Clause"
] | null | null | null | test/test_workspace.py | garv123/remote | c10b12cc5cb26186cb1607805926315635392547 | [
"BSD-2-Clause"
] | null | null | null | test/test_workspace.py | garv123/remote | c10b12cc5cb26186cb1607805926315635392547 | [
"BSD-2-Clause"
] | null | null | null | from pathlib import Path
from unittest.mock import ANY, MagicMock, call, patch
import pytest
from remote.configuration import RemoteConfig
from remote.exceptions import InvalidRemoteHostLabel
from remote.workspace import SyncedWorkspace
def test_create_workspace(workspace_config):
working_dir = workspace_config... | 29.715 | 120 | 0.537187 | 1,170 | 11,886 | 5.295727 | 0.118803 | 0.084732 | 0.029374 | 0.040349 | 0.871207 | 0.861846 | 0.853938 | 0.832795 | 0.807134 | 0.805036 | 0 | 0.011464 | 0.339475 | 11,886 | 399 | 121 | 29.789474 | 0.777735 | 0.024651 | 0 | 0.731013 | 0 | 0 | 0.193009 | 0.085441 | 0 | 0 | 0 | 0 | 0.10443 | 1 | 0.037975 | false | 0 | 0.018987 | 0 | 0.056962 | 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 |
4a8866d2bb023ba6e0330662a3e9f88d06f4ee23 | 205 | py | Python | general-practice/Exercises solved/codingbat/Warmup2/array_count.py | lugabrielbueno/Projeto | f012c5bb9ce6f6d7c9e8196cc7986127dba3eba0 | [
"MIT"
] | null | null | null | general-practice/Exercises solved/codingbat/Warmup2/array_count.py | lugabrielbueno/Projeto | f012c5bb9ce6f6d7c9e8196cc7986127dba3eba0 | [
"MIT"
] | null | null | null | general-practice/Exercises solved/codingbat/Warmup2/array_count.py | lugabrielbueno/Projeto | f012c5bb9ce6f6d7c9e8196cc7986127dba3eba0 | [
"MIT"
] | null | null | null | #Given an array of ints, return the number of 9's in the array.
#array_count9([1, 2, 9]) → 1
#array_count9([1, 9, 9]) → 2
#array_count9([1, 9, 9, 3, 9]) → 3
def array_count9(lis):
return lis.count(9) | 25.625 | 63 | 0.634146 | 45 | 205 | 2.866667 | 0.422222 | 0.341085 | 0.27907 | 0.20155 | 0.217054 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120482 | 0.190244 | 205 | 8 | 64 | 25.625 | 0.638554 | 0.726829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
43820c9fd31032ec64d50aadf2490d84c2add51a | 94 | py | Python | Hello-world-Louis-W.py | egriswol/astr-119-section-assignments | 6cbeb0397b6a1a9102e8efa771e8d9ed1d3fab18 | [
"MIT"
] | 2 | 2018-09-28T18:46:05.000Z | 2018-09-28T19:00:27.000Z | Hello-world-Louis-W.py | egriswol/astr-119-section-assignments | 6cbeb0397b6a1a9102e8efa771e8d9ed1d3fab18 | [
"MIT"
] | 67 | 2018-09-26T06:39:43.000Z | 2018-10-03T15:32:12.000Z | Hello-world-Louis-W.py | egriswol/astr-119-section-assignments | 6cbeb0397b6a1a9102e8efa771e8d9ed1d3fab18 | [
"MIT"
] | 62 | 2018-09-27T20:12:32.000Z | 2018-10-03T23:53:47.000Z | #!/usr/bin/env python3
#this program will print "Hello from Louis"
print("Hello from Louis.") | 23.5 | 43 | 0.734043 | 15 | 94 | 4.6 | 0.733333 | 0.289855 | 0.405797 | 0.550725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012195 | 0.12766 | 94 | 4 | 44 | 23.5 | 0.829268 | 0.670213 | 0 | 0 | 0 | 0 | 0.566667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
43b23e4f711dc59ae60e46892af3704e38d38037 | 8,718 | py | Python | examples/dgpr_aep_examples.py | MattAshman/geepee | ae71998579cb80e160f7ea5eb5adfa1c937fb90a | [
"MIT"
] | 24 | 2017-08-16T18:45:22.000Z | 2021-04-28T08:21:36.000Z | examples/dgpr_aep_examples.py | yohanJung/geepee | 4809c4f78efb9134677af57187957d8ba479ddea | [
"MIT"
] | 7 | 2017-05-31T17:09:58.000Z | 2018-05-21T02:26:25.000Z | examples/dgpr_aep_examples.py | yohanJung/geepee | 4809c4f78efb9134677af57187957d8ba479ddea | [
"MIT"
] | 10 | 2017-06-02T08:13:54.000Z | 2021-12-07T13:48:22.000Z | print "importing stuff..."
import numpy as np
import pdb
# import matplotlib
# matplotlib.use('Agg')
import matplotlib.pylab as plt
from scipy import special
from .context import aep
from .datautils import step, spiral
from .context import config
def run_regression_1D():
np.random.seed(42)
print "create dat... | 31.135714 | 76 | 0.516059 | 1,312 | 8,718 | 3.345274 | 0.135671 | 0.031898 | 0.021873 | 0.020506 | 0.80884 | 0.793575 | 0.790157 | 0.790157 | 0.764183 | 0.755525 | 0 | 0.067328 | 0.294678 | 8,718 | 279 | 77 | 31.247312 | 0.646447 | 0.058614 | 0 | 0.763636 | 0 | 0 | 0.070137 | 0.026149 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.036364 | null | null | 0.031818 | 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 |
78e8a450e89afd85d2f2287871dbe35f179f1c49 | 90 | py | Python | mtuq/misfit/__init__.py | ammcpherson/mtuq | aecfb732ea459e0236c082db5b765bf7bda9950a | [
"BSD-2-Clause"
] | 23 | 2019-09-20T16:51:05.000Z | 2022-03-28T18:09:56.000Z | mtuq/misfit/__init__.py | Liang-Ding/mtuq | 2547a7b2684b1c769cea6323f2aac267ccbeaeef | [
"BSD-2-Clause"
] | 14 | 2019-09-25T06:06:43.000Z | 2022-03-10T18:05:46.000Z | mtuq/misfit/__init__.py | Liang-Ding/mtuq | 2547a7b2684b1c769cea6323f2aac267ccbeaeef | [
"BSD-2-Clause"
] | 6 | 2019-12-13T12:55:28.000Z | 2022-02-03T18:10:30.000Z |
from mtuq.misfit.waveform import Misfit
from mtuq.misfit.polarity import PolarityMisfit
| 18 | 47 | 0.844444 | 12 | 90 | 6.333333 | 0.583333 | 0.210526 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 90 | 4 | 48 | 22.5 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 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 |
60346f039c3e508ec28357f4a4a05b1b25f28adb | 5,463 | py | Python | codegen/python/fixtures/client/aiohttp_client/unmarshall_response/users_service.py | feeltheajf/go-raml | 57ce1f4c47bca464efee03cb4a7a28efcd00bea2 | [
"BSD-2-Clause"
] | null | null | null | codegen/python/fixtures/client/aiohttp_client/unmarshall_response/users_service.py | feeltheajf/go-raml | 57ce1f4c47bca464efee03cb4a7a28efcd00bea2 | [
"BSD-2-Clause"
] | null | null | null | codegen/python/fixtures/client/aiohttp_client/unmarshall_response/users_service.py | feeltheajf/go-raml | 57ce1f4c47bca464efee03cb4a7a28efcd00bea2 | [
"BSD-2-Clause"
] | null | null | null | # DO NOT EDIT THIS FILE. This file will be overwritten when re-running go-raml.
from .Address import Address
from .City import City
from .unhandled_api_error import UnhandledAPIError
from .unmarshall_error import UnmarshallError
class UsersService:
_methods = (
"users_userId_address_addressId_get",
... | 26.91133 | 79 | 0.547867 | 586 | 5,463 | 4.957338 | 0.139932 | 0.12117 | 0.082616 | 0.060585 | 0.810327 | 0.784509 | 0.751119 | 0.736317 | 0.736317 | 0.688124 | 0 | 0.003455 | 0.364269 | 5,463 | 202 | 80 | 27.044554 | 0.832997 | 0.014095 | 0 | 0.697987 | 1 | 0 | 0.066582 | 0.007233 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006711 | false | 0 | 0.026846 | 0 | 0.100671 | 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 |
605a315d0aa2cc6dd8e278f71a1a0049934ca0af | 34,521 | py | Python | gluoncv/model_zoo/ssd/presets.py | Rainweic/gluon-cv | 4540edbf7cd6ca40878752e20586f5b87c9e307f | [
"Apache-2.0"
] | 2 | 2020-11-27T01:20:29.000Z | 2020-11-27T01:20:30.000Z | gluoncv/model_zoo/ssd/presets.py | Rainweic/gluon-cv | 4540edbf7cd6ca40878752e20586f5b87c9e307f | [
"Apache-2.0"
] | null | null | null | gluoncv/model_zoo/ssd/presets.py | Rainweic/gluon-cv | 4540edbf7cd6ca40878752e20586f5b87c9e307f | [
"Apache-2.0"
] | 1 | 2020-08-17T09:30:16.000Z | 2020-08-17T09:30:16.000Z | """SSD predefined models."""
from __future__ import absolute_import
import warnings
from .ssd import get_ssd
from .vgg_atrous import vgg16_atrous_300, vgg16_atrous_512
from ...data import VOCDetection
__all__ = ['ssd_300_vgg16_atrous_voc',
'ssd_300_vgg16_atrous_coco',
'ssd_300_vgg16_atrous_custo... | 44.774319 | 98 | 0.615683 | 4,370 | 34,521 | 4.743707 | 0.046453 | 0.074964 | 0.009117 | 0.012156 | 0.981862 | 0.957019 | 0.954269 | 0.950362 | 0.950362 | 0.950362 | 0 | 0.081908 | 0.266504 | 34,521 | 770 | 99 | 44.832468 | 0.73678 | 0.462096 | 0 | 0.78157 | 0 | 0 | 0.10769 | 0.036054 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071672 | false | 0 | 0.05802 | 0 | 0.201365 | 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 |
6090cfa314802c4ca62fb4926fa63c587ee3a9f5 | 105,591 | py | Python | scipy/ndimage/tests/test_morphology.py | lorentzenchr/scipy | 393a05ee927883ad6316b7092c851afea8f16816 | [
"BSD-3-Clause"
] | 9,095 | 2015-01-02T18:24:23.000Z | 2022-03-31T20:35:31.000Z | scipy/ndimage/tests/test_morphology.py | lorentzenchr/scipy | 393a05ee927883ad6316b7092c851afea8f16816 | [
"BSD-3-Clause"
] | 11,500 | 2015-01-01T01:15:30.000Z | 2022-03-31T23:07:35.000Z | scipy/ndimage/tests/test_morphology.py | lorentzenchr/scipy | 393a05ee927883ad6316b7092c851afea8f16816 | [
"BSD-3-Clause"
] | 5,838 | 2015-01-05T11:56:42.000Z | 2022-03-31T23:21:19.000Z | import numpy
from numpy.testing import (assert_, assert_equal, assert_array_equal,
assert_array_almost_equal)
import pytest
from pytest import raises as assert_raises
from scipy import ndimage
from . import types
class TestNdimageMorphology:
@pytest.mark.parametrize('dtype', types)
... | 44.515599 | 79 | 0.381254 | 14,912 | 105,591 | 2.61816 | 0.020722 | 0.233595 | 0.297679 | 0.338815 | 0.91942 | 0.911608 | 0.891322 | 0.87224 | 0.846371 | 0.810819 | 0 | 0.17429 | 0.456895 | 105,591 | 2,371 | 80 | 44.534374 | 0.506513 | 0.009556 | 0 | 0.787935 | 0 | 0 | 0.005471 | 0 | 0 | 0 | 0 | 0 | 0.077494 | 1 | 0.068213 | false | 0.000464 | 0.002784 | 0 | 0.07239 | 0.026914 | 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 |
715ed8dff575dad01c60817da2ebfff4a69b9877 | 41 | py | Python | .history/section4/pp_05_20200731000641.py | KustomApe/python_engineer | cb931f5c685be87ea518c7a0a6dd89154dce03a8 | [
"MIT"
] | null | null | null | .history/section4/pp_05_20200731000641.py | KustomApe/python_engineer | cb931f5c685be87ea518c7a0a6dd89154dce03a8 | [
"MIT"
] | null | null | null | .history/section4/pp_05_20200731000641.py | KustomApe/python_engineer | cb931f5c685be87ea518c7a0a6dd89154dce03a8 | [
"MIT"
] | null | null | null | t = (1, 2, 3, 4, 1, 2)
type(t)
t[0] = 100 | 13.666667 | 22 | 0.414634 | 12 | 41 | 1.416667 | 0.666667 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.268293 | 41 | 3 | 23 | 13.666667 | 0.233333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 7 |
71ca44daabef295113ae1820fef7784588c09e76 | 35 | py | Python | schieber/player/challenge_player/strategy/flags/previously_had_stich_flag.py | JoelNiklaus/pyschieber | 29ef6def16db90765849be7f572ef81f03c5f6fb | [
"MIT"
] | 5 | 2018-01-17T08:11:14.000Z | 2018-11-27T11:37:15.000Z | schieber/player/challenge_player/strategy/flags/previously_had_stich_flag.py | JoelNiklaus/pyschieber | 29ef6def16db90765849be7f572ef81f03c5f6fb | [
"MIT"
] | 4 | 2018-05-09T08:41:05.000Z | 2018-11-16T08:07:39.000Z | schieber/player/challenge_player/strategy/flags/previously_had_stich_flag.py | JoelNiklaus/pyschieber | 29ef6def16db90765849be7f572ef81f03c5f6fb | [
"MIT"
] | 3 | 2018-04-20T07:39:30.000Z | 2018-11-10T12:44:08.000Z | class PreviouslyHadStichFlag: pass
| 17.5 | 34 | 0.885714 | 3 | 35 | 10.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
e0a5f4aad26497f3d6c423265f041bdfe5bf920e | 2,937 | py | Python | great_international/migrations/0065_auto_20190808_1032.py | uktrade/directory-cms | 8c8d13ce29ea74ddce7a40f3dd29c8847145d549 | [
"MIT"
] | 6 | 2018-03-20T11:19:07.000Z | 2021-10-05T07:53:11.000Z | great_international/migrations/0065_auto_20190808_1032.py | uktrade/directory-cms | 8c8d13ce29ea74ddce7a40f3dd29c8847145d549 | [
"MIT"
] | 802 | 2018-02-05T14:16:13.000Z | 2022-02-10T10:59:21.000Z | great_international/migrations/0065_auto_20190808_1032.py | uktrade/directory-cms | 8c8d13ce29ea74ddce7a40f3dd29c8847145d549 | [
"MIT"
] | 6 | 2019-01-22T13:19:37.000Z | 2019-07-01T10:35:26.000Z | # Generated by Django 2.2.3 on 2019-08-08 10:32
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('wagtaildocs', '0010_document_file_hash'),
('great_international', '0064_merge_20190808_0928'),
]
operations... | 48.147541 | 150 | 0.667688 | 320 | 2,937 | 5.878125 | 0.18125 | 0.046784 | 0.074429 | 0.116959 | 0.870813 | 0.870813 | 0.870813 | 0.870813 | 0.870813 | 0.870813 | 0 | 0.015073 | 0.209397 | 2,937 | 60 | 151 | 48.95 | 0.795004 | 0.015322 | 0 | 0.666667 | 1 | 0 | 0.249481 | 0.173702 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037037 | 0 | 0.092593 | 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 |
e0b7fb6385450608845b0f322c93de62da17a49b | 7,311 | py | Python | libvpx/tools/3D-Reconstruction/MotionEST/SearchSmooth.py | juanjp600/webm_mem_plaback | 8e166bf6f0920bc91369db5d8ae1f5462c6ac99b | [
"BSD-3-Clause"
] | 6 | 2021-07-05T16:09:39.000Z | 2022-03-06T22:44:42.000Z | libvpx/tools/3D-Reconstruction/MotionEST/SearchSmooth.py | juanjp600/webm_mem_plaback | 8e166bf6f0920bc91369db5d8ae1f5462c6ac99b | [
"BSD-3-Clause"
] | 7 | 2022-03-15T13:25:39.000Z | 2022-03-15T13:25:44.000Z | libvpx/tools/3D-Reconstruction/MotionEST/SearchSmooth.py | juanjp600/webm_mem_plaback | 8e166bf6f0920bc91369db5d8ae1f5462c6ac99b | [
"BSD-3-Clause"
] | 2 | 2018-10-30T01:48:36.000Z | 2021-05-25T02:39:44.000Z | #!/usr/bin/env python
# coding: utf-8
import numpy as np
import numpy.linalg as LA
from Util import MSE
from MotionEST import MotionEST
"""Search & Smooth Model with Adapt Weights"""
class SearchSmoothAdapt(MotionEST):
"""
Constructor:
cur_f: current frame
ref_f: reference frame
blk_sz: ... | 34.163551 | 77 | 0.530023 | 1,189 | 7,311 | 3.081581 | 0.111018 | 0.094159 | 0.009825 | 0.021834 | 0.895197 | 0.887009 | 0.877729 | 0.877729 | 0.877729 | 0.877729 | 0 | 0.022681 | 0.330598 | 7,311 | 213 | 78 | 34.323944 | 0.725991 | 0.090959 | 0 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.026667 | 0 | 0.133333 | 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 |
e0bd9eac7242ce3eea6a03127dac7cf25e854765 | 3,470 | py | Python | samples/tabletop/configurations.py | fbottarel/Mask_RCNN | 3e2a9152a85a72c589d0fc0b77ddcfed3561d302 | [
"MIT"
] | null | null | null | samples/tabletop/configurations.py | fbottarel/Mask_RCNN | 3e2a9152a85a72c589d0fc0b77ddcfed3561d302 | [
"MIT"
] | 1 | 2019-06-12T08:18:21.000Z | 2019-06-12T08:18:21.000Z | samples/tabletop/configurations.py | fbottarel/Mask_RCNN | 3e2a9152a85a72c589d0fc0b77ddcfed3561d302 | [
"MIT"
] | 1 | 2019-06-11T14:07:18.000Z | 2019-06-11T14:07:18.000Z | ############################################################
# Training Configurations
############################################################
from mrcnn.config import Config
class TabletopConfigTraining(Config):
"""Configuration for training on the synthetic tabletop dataset.
Derives from the base Con... | 27.76 | 90 | 0.668876 | 448 | 3,470 | 5.078125 | 0.207589 | 0.042198 | 0.038681 | 0.031648 | 0.905495 | 0.905495 | 0.891429 | 0.891429 | 0.891429 | 0.891429 | 0 | 0.032687 | 0.241787 | 3,470 | 124 | 91 | 27.983871 | 0.832003 | 0.569741 | 0 | 0.684211 | 0 | 0 | 0.108934 | 0.036834 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.026316 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
460fa4b3c19d1f39c737ecea2ee0d2b4c02ccca2 | 70 | py | Python | src/dataset/mnist.py | ytsmiling/lmt | 31e36e54d858fbc0a1f2eab12d5a86a97284339f | [
"MIT"
] | 32 | 2018-02-13T10:41:09.000Z | 2021-07-07T16:07:40.000Z | src/dataset/mnist.py | ytsmiling/lmt | 31e36e54d858fbc0a1f2eab12d5a86a97284339f | [
"MIT"
] | 4 | 2018-02-16T14:15:04.000Z | 2019-12-14T10:39:06.000Z | src/dataset/mnist.py | ytsmiling/lmt | 31e36e54d858fbc0a1f2eab12d5a86a97284339f | [
"MIT"
] | 6 | 2018-03-22T20:49:39.000Z | 2022-01-08T23:47:17.000Z | import chainer
def mnist():
return chainer.datasets.get_mnist()
| 11.666667 | 39 | 0.728571 | 9 | 70 | 5.555556 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 70 | 5 | 40 | 14 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.