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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ca1af61d2409c57a792eaf5f0981ff6c182834d6 | 159 | py | Python | py_eegepe/met/__init__.py | jrmxn/py_eegepe | 40d4c20295828f0131b790440be05571df914140 | [
"MIT"
] | 2 | 2020-04-16T04:21:40.000Z | 2021-12-21T06:19:40.000Z | py_eegepe/met/__init__.py | jrmxn/py_eegepe | 40d4c20295828f0131b790440be05571df914140 | [
"MIT"
] | null | null | null | py_eegepe/met/__init__.py | jrmxn/py_eegepe | 40d4c20295828f0131b790440be05571df914140 | [
"MIT"
] | 1 | 2021-12-21T06:19:55.000Z | 2021-12-21T06:19:55.000Z | from . import met_fir, met_net, met_reg, met_ukf, met_net_arch, met_shared, core
__all__ = [met_fir, met_net, met_reg, met_ukf, met_net_arch, met_shared, core] | 79.5 | 80 | 0.786164 | 31 | 159 | 3.451613 | 0.354839 | 0.224299 | 0.168224 | 0.224299 | 0.878505 | 0.878505 | 0.878505 | 0.878505 | 0.878505 | 0.878505 | 0 | 0 | 0.113208 | 159 | 2 | 81 | 79.5 | 0.758865 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 10 |
ca36061a922176672360378229f6851f8950c9cd | 120,308 | py | Python | tests/EVM/test_EVMSSTORE.py | mroll/manticore | d731562f7761ed9437cce406b24c815303de370c | [
"Apache-2.0"
] | null | null | null | tests/EVM/test_EVMSSTORE.py | mroll/manticore | d731562f7761ed9437cce406b24c815303de370c | [
"Apache-2.0"
] | null | null | null | tests/EVM/test_EVMSSTORE.py | mroll/manticore | d731562f7761ed9437cce406b24c815303de370c | [
"Apache-2.0"
] | null | null | null |
import struct
import unittest
import json
from manticore.platforms import evm
from manticore.core import state
from manticore.core.smtlib import Operators, ConstraintSet
import os
class EVMTest_SSTORE(unittest.TestCase):
_multiprocess_can_split_ = True
maxDiff=None
def _execute(self, new_vm):
la... | 43.07483 | 184 | 0.585422 | 9,588 | 120,308 | 7.207655 | 0.018252 | 0.035308 | 0.021098 | 0.046884 | 0.988409 | 0.988409 | 0.988409 | 0.988409 | 0.988409 | 0.988409 | 0 | 0.272916 | 0.339952 | 120,308 | 2,792 | 185 | 43.090258 | 0.59735 | 0.036357 | 0 | 0.880052 | 0 | 0 | 0.051585 | 0.02099 | 0 | 0 | 0.086058 | 0 | 0.105606 | 0 | null | null | 0 | 0.003042 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 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 | 9 |
ca4b6ff7b3ad532c8dcfa0981b80c74adcdab0b7 | 9,358 | py | Python | userbot/modules/fakeload.py | jefa2231/SenturyUbot | c9123ffca263265408280b8fbe1418ba82c36dd4 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | userbot/modules/fakeload.py | jefa2231/SenturyUbot | c9123ffca263265408280b8fbe1418ba82c36dd4 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | userbot/modules/fakeload.py | jefa2231/SenturyUbot | c9123ffca263265408280b8fbe1418ba82c36dd4 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | # Copyright (C) 2019 The Raphielscape Company LLC.
#
# Licensed under the Raphielscape Public License, Version 1.d (the "License");
# you may not use this file except in compliance with the License.
#
# made by @DneZyeK
# Port to UserBot by @MoveAngel
import asyncio
import re
import time
from time import sl... | 28.443769 | 107 | 0.535478 | 1,327 | 9,358 | 4.439337 | 0.144687 | 0.174843 | 0.24478 | 0.288576 | 0.749109 | 0.745205 | 0.745205 | 0.745205 | 0.745205 | 0.745205 | 0 | 0.054895 | 0.20966 | 9,358 | 329 | 108 | 28.443769 | 0.622093 | 0.030348 | 0 | 0.628931 | 0 | 0 | 0.163882 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.018868 | 0 | 0.018868 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ca91ff8158dd55038d64a28ff60e2f577c138762 | 102 | py | Python | pwmodel/__init__.py | guanleustc/pwmodel | c1df703889fe53e82f0f1201c7c6ec75d94b99a0 | [
"Apache-2.0"
] | null | null | null | pwmodel/__init__.py | guanleustc/pwmodel | c1df703889fe53e82f0f1201c7c6ec75d94b99a0 | [
"Apache-2.0"
] | null | null | null | pwmodel/__init__.py | guanleustc/pwmodel | c1df703889fe53e82f0f1201c7c6ec75d94b99a0 | [
"Apache-2.0"
] | null | null | null | from .models import NGramPw, PcfgPw, HistPw
from . import helper
from .models import fast_fuzzysearch
| 25.5 | 43 | 0.813725 | 14 | 102 | 5.857143 | 0.642857 | 0.243902 | 0.390244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 102 | 3 | 44 | 34 | 0.931818 | 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 |
0477a0685f75c7252d34609b0e9bbdfdcdd39c11 | 1,881 | py | Python | congress/migrations/0014_auto_20220123_2028.py | InsiderUnlocked/Backend | efd71d3eb874b9bfdbca89d0aa9e610338f9fa52 | [
"blessing"
] | 3 | 2022-01-22T06:53:52.000Z | 2022-02-13T10:16:29.000Z | congress/migrations/0014_auto_20220123_2028.py | InsiderUnlocked/Backend | efd71d3eb874b9bfdbca89d0aa9e610338f9fa52 | [
"blessing"
] | null | null | null | congress/migrations/0014_auto_20220123_2028.py | InsiderUnlocked/Backend | efd71d3eb874b9bfdbca89d0aa9e610338f9fa52 | [
"blessing"
] | null | null | null | # Generated by Django 3.2.3 on 2022-01-24 01:28
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('congress', '0013_auto_20220121_1356'),
]
operations = [
migrations.AlterField(
model_name='congressperson',
name='fu... | 31.881356 | 72 | 0.574694 | 168 | 1,881 | 6.357143 | 0.27381 | 0.168539 | 0.210674 | 0.244382 | 0.807116 | 0.753745 | 0.669476 | 0.625468 | 0.625468 | 0.625468 | 0 | 0.033102 | 0.30941 | 1,881 | 58 | 73 | 32.431034 | 0.789069 | 0.023923 | 0 | 0.807692 | 1 | 0 | 0.131407 | 0.037623 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.019231 | 0 | 0.076923 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
04fae57a193008bfe50ec4a9d151b9177eb8c5e2 | 29,307 | py | Python | tests/open_alchemy/schemas/validation/property_/relationship/full/test_backref_properties.py | MihailMiller/OpenAlchemy | 55b751c58ca50706ebc46262f50addb7dec34278 | [
"Apache-2.0"
] | 40 | 2019-11-05T06:50:35.000Z | 2022-03-09T01:34:57.000Z | tests/open_alchemy/schemas/validation/property_/relationship/full/test_backref_properties.py | MihailMiller/OpenAlchemy | 55b751c58ca50706ebc46262f50addb7dec34278 | [
"Apache-2.0"
] | 178 | 2019-11-03T04:10:38.000Z | 2022-03-31T00:07:17.000Z | tests/open_alchemy/schemas/validation/property_/relationship/full/test_backref_properties.py | MihailMiller/OpenAlchemy | 55b751c58ca50706ebc46262f50addb7dec34278 | [
"Apache-2.0"
] | 17 | 2019-11-04T07:22:46.000Z | 2022-03-23T05:29:49.000Z | """Tests for full relationship schema checking."""
import pytest
from open_alchemy.schemas.validation.property_.relationship import full
TESTS = [
pytest.param(
{},
"ref_schema",
{"$ref": "#/components/schemas/RefSchema"},
{
"RefSchema": {
"x-tablename"... | 34.357562 | 88 | 0.340055 | 1,816 | 29,307 | 5.446035 | 0.056167 | 0.107988 | 0.129424 | 0.162791 | 0.911527 | 0.903033 | 0.889181 | 0.85541 | 0.816178 | 0.773711 | 0 | 0.001244 | 0.506261 | 29,307 | 852 | 89 | 34.397887 | 0.682239 | 0.007541 | 0 | 0.645238 | 0 | 0 | 0.334756 | 0.031077 | 0 | 0 | 0 | 0 | 0.00119 | 1 | 0.00119 | false | 0 | 0.002381 | 0 | 0.003571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 8 |
b6f3a68ec67d7580988e8b56a652acf82a243e9a | 32,310 | py | Python | sdk/python/pulumi_gcp/notebooks/runtime.py | pjbizon/pulumi-gcp | 0d09cbc1dcf50093a177531f7596c27db11a2e58 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_gcp/notebooks/runtime.py | pjbizon/pulumi-gcp | 0d09cbc1dcf50093a177531f7596c27db11a2e58 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_gcp/notebooks/runtime.py | pjbizon/pulumi-gcp | 0d09cbc1dcf50093a177531f7596c27db11a2e58 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 43.899457 | 176 | 0.627205 | 3,194 | 32,310 | 6.166249 | 0.085786 | 0.059203 | 0.060777 | 0.035745 | 0.899924 | 0.884793 | 0.860015 | 0.838132 | 0.829398 | 0.815842 | 0 | 0.002102 | 0.278675 | 32,310 | 735 | 177 | 43.959184 | 0.842959 | 0.479882 | 0 | 0.701754 | 1 | 0 | 0.137936 | 0.056839 | 0 | 0 | 0 | 0 | 0 | 1 | 0.161404 | false | 0.003509 | 0.024561 | 0 | 0.284211 | 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 |
f3e45bbd5136c95bce872c2460b4822ee7744881 | 3,415 | py | Python | tests/test_provider_ellisdon_oss_azuredevops.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | tests/test_provider_ellisdon_oss_azuredevops.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | tests/test_provider_ellisdon_oss_azuredevops.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # tests/test_provider_ellisdon-oss_azuredevops.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:13:00 UTC)
def test_provider_import():
import terrascript.provider.ellisdon_oss.azuredevops
def test_resource_import():
from terrascript.resource.ellisdon_oss.azuredevops import (
azurede... | 33.811881 | 88 | 0.802343 | 383 | 3,415 | 6.895561 | 0.211488 | 0.141613 | 0.274896 | 0.307459 | 0.811056 | 0.795532 | 0.759939 | 0.755017 | 0.614919 | 0.056797 | 0 | 0.005128 | 0.143485 | 3,415 | 100 | 89 | 34.15 | 0.897778 | 0.156662 | 0 | 0.215686 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01 | 0 | 1 | 0.058824 | true | 0 | 0.647059 | 0 | 0.705882 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 10 |
6d1afebe0ae7729e600f9a8815cf99382e3eb696 | 121 | py | Python | homework3/rabindra_cloudmesh_ex2.py | futuresystems/465-rahulbindra | bcf2ad53a362b894f9547b1af006f1d7bdab76a6 | [
"Apache-2.0"
] | 1 | 2015-04-12T06:50:15.000Z | 2015-04-12T06:50:15.000Z | homework3/rabindra_cloudmesh_ex2.py | futuresystems/465-rahulbindra | bcf2ad53a362b894f9547b1af006f1d7bdab76a6 | [
"Apache-2.0"
] | null | null | null | homework3/rabindra_cloudmesh_ex2.py | futuresystems/465-rahulbindra | bcf2ad53a362b894f9547b1af006f1d7bdab76a6 | [
"Apache-2.0"
] | null | null | null | import cloudmesh
from pprint import pprint
print cloudmesh.shell("cloud on india")
print cloudmesh.shell("cloud list")
| 17.285714 | 39 | 0.793388 | 17 | 121 | 5.647059 | 0.588235 | 0.291667 | 0.395833 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123967 | 121 | 6 | 40 | 20.166667 | 0.90566 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0.75 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 8 |
6d365786d642e18aa770c2c197db874520aeb990 | 3,823 | py | Python | skrmt/covariance/tests/test_metrics.py | parthe/scikit-rmt | fd1d48dd027e3ba5ca3fb3b355ca3de012407286 | [
"BSD-3-Clause"
] | 8 | 2021-05-06T18:34:19.000Z | 2022-02-10T11:21:59.000Z | skrmt/covariance/tests/test_metrics.py | parthe/scikit-rmt | fd1d48dd027e3ba5ca3fb3b355ca3de012407286 | [
"BSD-3-Clause"
] | 1 | 2022-02-02T19:48:36.000Z | 2022-02-03T09:54:22.000Z | skrmt/covariance/tests/test_metrics.py | parthe/scikit-rmt | fd1d48dd027e3ba5ca3fb3b355ca3de012407286 | [
"BSD-3-Clause"
] | 2 | 2021-06-17T03:09:14.000Z | 2022-02-02T19:50:14.000Z | '''Metrics Test module
Testing Metrics module
'''
import numpy as np
import pytest
from skrmt.covariance import sample_estimator
from skrmt.covariance import fsopt_estimator
from skrmt.covariance import loss_frobenius, loss_mv, prial_mv
def test_prial_sample():
'''Testing prial evaluated in sample covariance ... | 40.242105 | 97 | 0.654198 | 518 | 3,823 | 4.679537 | 0.162162 | 0.049505 | 0.033003 | 0.039604 | 0.813531 | 0.785479 | 0.759076 | 0.759076 | 0.757013 | 0.754538 | 0 | 0.306944 | 0.220246 | 3,823 | 94 | 98 | 40.670213 | 0.506206 | 0.11797 | 0 | 0.660377 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056604 | 1 | 0.075472 | false | 0 | 0.09434 | 0 | 0.169811 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 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 |
6d57a8d2892ed0564e965fd301e1159e32d860c3 | 108 | py | Python | statreg/model/__init__.py | mipt-npm/statreg-py | 45bd76599fb139ffcc44493d817ed672954e84a1 | [
"Apache-2.0"
] | null | null | null | statreg/model/__init__.py | mipt-npm/statreg-py | 45bd76599fb139ffcc44493d817ed672954e84a1 | [
"Apache-2.0"
] | null | null | null | statreg/model/__init__.py | mipt-npm/statreg-py | 45bd76599fb139ffcc44493d817ed672954e84a1 | [
"Apache-2.0"
] | null | null | null |
__all__ = []
from .gauss_error import GaussErrorMatrixUnfolder
from .gauss_error import GaussErrorUnfolder | 21.6 | 49 | 0.842593 | 11 | 108 | 7.727273 | 0.636364 | 0.211765 | 0.329412 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 108 | 5 | 50 | 21.6 | 0.885417 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
ed9067859d5d99305bb39d1f331f204b38760bb6 | 22,750 | py | Python | booking/tests.py | naritotakizawa/django-booking-sample | 769650d2c574473cc3e56d7fb7135631ce54f4de | [
"MIT"
] | 4 | 2020-01-01T14:23:08.000Z | 2021-05-24T12:11:35.000Z | booking/tests.py | naritotakizawa/django-booking-sample | 769650d2c574473cc3e56d7fb7135631ce54f4de | [
"MIT"
] | 6 | 2021-04-08T21:17:48.000Z | 2022-01-13T02:03:22.000Z | booking/tests.py | naritotakizawa/django-booking-sample | 769650d2c574473cc3e56d7fb7135631ce54f4de | [
"MIT"
] | 1 | 2021-06-23T05:42:15.000Z | 2021-06-23T05:42:15.000Z | import datetime
from django.shortcuts import resolve_url, get_object_or_404
from django.test import TestCase
from django.template.exceptions import TemplateDoesNotExist
from django.utils import timezone
from .models import Schedule, Staff
batu = '×'
maru = '○'
line = '-'
class StoreListViewTests(TestCase... | 45.318725 | 136 | 0.648044 | 2,674 | 22,750 | 5.385565 | 0.094989 | 0.048608 | 0.056246 | 0.053955 | 0.842719 | 0.828484 | 0.817304 | 0.798 | 0.778557 | 0.735921 | 0 | 0.025057 | 0.215868 | 22,750 | 501 | 137 | 45.409182 | 0.781602 | 0.056703 | 0 | 0.756906 | 0 | 0.008287 | 0.120775 | 0.047203 | 0 | 0 | 0 | 0 | 0.226519 | 1 | 0.124309 | false | 0.069061 | 0.016575 | 0 | 0.201657 | 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 |
edd2dc1d4e2c2868670ee4b7dd5aff4b4eb25a0d | 17,813 | py | Python | bioptim/dynamics/dynamics_functions.py | vennand/BiorbdOptim | 9c741da6366e0c9d5d727da6297a17a599759eb1 | [
"MIT"
] | null | null | null | bioptim/dynamics/dynamics_functions.py | vennand/BiorbdOptim | 9c741da6366e0c9d5d727da6297a17a599759eb1 | [
"MIT"
] | null | null | null | bioptim/dynamics/dynamics_functions.py | vennand/BiorbdOptim | 9c741da6366e0c9d5d727da6297a17a599759eb1 | [
"MIT"
] | null | null | null | from casadi import vertcat, MX
import biorbd
class DynamicsFunctions:
"""
Different dynamics types
"""
@staticmethod
def custom(states, controls, parameters, nlp):
qdot, qddot = nlp.problem_type["dynamic"](states, controls, parameters, nlp)
return vertcat(qdot, qddot)
@static... | 46.267532 | 120 | 0.679897 | 2,146 | 17,813 | 5.450606 | 0.054054 | 0.029922 | 0.029238 | 0.04873 | 0.925024 | 0.918868 | 0.911088 | 0.904249 | 0.901086 | 0.890656 | 0 | 0 | 0.213383 | 17,813 | 384 | 121 | 46.388021 | 0.834784 | 0.219952 | 0 | 0.814815 | 0 | 0 | 0.01956 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.078704 | false | 0 | 0.009259 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
edd6133ec21d64fe6ebd245320a6e855dce7552d | 76 | py | Python | __init__.py | neurodatascience/UKBB_scripts | 4e8b74685028d76f2e45aa83c649c3eeb4134ec2 | [
"Apache-2.0"
] | 1 | 2020-08-28T08:47:33.000Z | 2020-08-28T08:47:33.000Z | __init__.py | neurodatascience/UKBB_scripts | 4e8b74685028d76f2e45aa83c649c3eeb4134ec2 | [
"Apache-2.0"
] | 1 | 2020-01-22T21:31:34.000Z | 2020-01-22T21:31:34.000Z | __init__.py | neurodatascience/UKBB_scripts | 4e8b74685028d76f2e45aa83c649c3eeb4134ec2 | [
"Apache-2.0"
] | 2 | 2020-01-22T18:45:09.000Z | 2020-08-28T08:49:00.000Z | import UKBB_scripts.REL_DICT
import UKBB_scripts.ukbb_structure_conversion
| 19 | 45 | 0.907895 | 11 | 76 | 5.818182 | 0.636364 | 0.3125 | 0.53125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065789 | 76 | 3 | 46 | 25.333333 | 0.901408 | 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 |
61015321a49fb76d16a59f10a69c21f0beb08e6e | 91 | py | Python | aernetworking/utils.py | Aermoss/AerNetworking | a5334e2762be9a32ff1146b2c3b0435a07f9b49e | [
"MIT"
] | 1 | 2021-09-12T11:43:15.000Z | 2021-09-12T11:43:15.000Z | aernetworking/utils.py | Aermoss/AerNetworking | a5334e2762be9a32ff1146b2c3b0435a07f9b49e | [
"MIT"
] | null | null | null | aernetworking/utils.py | Aermoss/AerNetworking | a5334e2762be9a32ff1146b2c3b0435a07f9b49e | [
"MIT"
] | null | null | null | import socket
def get_local_ip():
return socket.gethostbyname(socket.gethostname()) | 22.75 | 53 | 0.758242 | 11 | 91 | 6.090909 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 91 | 4 | 53 | 22.75 | 0.858974 | 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 |
b61f4e6cf3bc674f3901ca5169d9684d35c6d7fa | 9,436 | py | Python | server/lib/python/cartodb_services/test/refactor/service/test_mapzen_geocoder_config.py | digideskio/dataservices-api | 246ec135dbeaa3f9a52717fdac50a4ab040ce22b | [
"BSD-3-Clause"
] | 22 | 2016-03-11T17:33:31.000Z | 2021-02-22T04:00:43.000Z | server/lib/python/cartodb_services/test/refactor/service/test_mapzen_geocoder_config.py | digideskio/dataservices-api | 246ec135dbeaa3f9a52717fdac50a4ab040ce22b | [
"BSD-3-Clause"
] | 338 | 2016-02-16T16:13:13.000Z | 2022-03-30T15:50:17.000Z | server/lib/python/cartodb_services/test/refactor/service/test_mapzen_geocoder_config.py | CartoDB/dataservices-api | d0f28cc002ef11df9f371d5d1fd2d0901c245f97 | [
"BSD-3-Clause"
] | 14 | 2016-09-22T15:29:33.000Z | 2021-02-08T03:46:40.000Z | from unittest import TestCase
from mockredis import MockRedis
from datetime import datetime
from cartodb_services.refactor.service.mapzen_geocoder_config import *
from cartodb_services.refactor.storage.redis_config import *
from cartodb_services.refactor.storage.mem_config import InMemoryConfigStorage
class TestMapze... | 55.181287 | 147 | 0.532323 | 853 | 9,436 | 5.45721 | 0.118406 | 0.070892 | 0.089796 | 0.079055 | 0.906122 | 0.900537 | 0.889366 | 0.844468 | 0.844468 | 0.816327 | 0 | 0.020546 | 0.386181 | 9,436 | 170 | 148 | 55.505882 | 0.783149 | 0 | 0 | 0.768212 | 0 | 0 | 0.085947 | 0 | 0 | 0 | 0 | 0 | 0.192053 | 1 | 0.099338 | false | 0 | 0.039735 | 0 | 0.152318 | 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 |
fcd2b012845b6cc7aab1b0acc7aaa534dcf8eadd | 4,995 | py | Python | gym-foodhunting/gym_foodhunting/__init__.py | yoshi-ono/PyLIS | c6e1df91f4f7828837a4ce0bb04e29adeb450ff3 | [
"Apache-2.0"
] | 18 | 2019-05-15T08:31:01.000Z | 2022-01-22T13:21:54.000Z | gym-foodhunting/gym_foodhunting/__init__.py | yoshi-ono/PyLIS | c6e1df91f4f7828837a4ce0bb04e29adeb450ff3 | [
"Apache-2.0"
] | 2 | 2019-05-08T08:39:58.000Z | 2021-07-28T09:14:27.000Z | gym-foodhunting/gym_foodhunting/__init__.py | yoshi-ono/PyLIS | c6e1df91f4f7828837a4ce0bb04e29adeb450ff3 | [
"Apache-2.0"
] | 7 | 2019-11-24T02:28:11.000Z | 2022-03-14T17:08:51.000Z | from gym.envs.registration import register
from gym_foodhunting.foodhunting.gym_foodhunting import R2D2, R2D2Simple, R2D2Discrete, HSR, HSRSimple, HSRDiscrete
# FoodHunting R2D2
register(
id='FoodHunting-v0',
entry_point='gym_foodhunting.foodhunting:FoodHuntingEnv',
max_episode_steps=50,
kwargs={'rende... | 48.495146 | 210 | 0.722122 | 695 | 4,995 | 4.884892 | 0.07482 | 0.065979 | 0.037113 | 0.098969 | 0.865096 | 0.865096 | 0.865096 | 0.865096 | 0.865096 | 0.865096 | 0 | 0.055027 | 0.115916 | 4,995 | 102 | 211 | 48.970588 | 0.713768 | 0.006406 | 0 | 0.488372 | 0 | 0 | 0.496371 | 0.159073 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.023256 | 0 | 0.023256 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
fcfcc4924a1eea0625c1cba1b47e0c8a3a98edd0 | 11,668 | py | Python | terraform_compliance/steps/then/it_must_contain_something.py | Miouge1/cli | c40a7901f237c5606f3f7afb3c8ad3ef69e716a5 | [
"MIT"
] | 866 | 2017-04-03T09:05:27.000Z | 2021-01-01T07:43:32.000Z | terraform_compliance/steps/then/it_must_contain_something.py | Miouge1/cli | c40a7901f237c5606f3f7afb3c8ad3ef69e716a5 | [
"MIT"
] | 405 | 2017-04-02T16:51:44.000Z | 2021-01-04T10:45:05.000Z | terraform_compliance/steps/then/it_must_contain_something.py | Miouge1/cli | c40a7901f237c5606f3f7afb3c8ad3ef69e716a5 | [
"MIT"
] | 110 | 2017-04-03T08:53:02.000Z | 2020-12-21T14:09:34.000Z | # -*- coding: utf-8 -*-
from terraform_compliance.common.helper import (
seek_key_in_dict, # importing this purely because the unit tests require it to exist in global scope
Null
)
from terraform_compliance.common.error_handling import Error
def it_must_contain_something(_step_obj, something, inherited_valu... | 50.077253 | 163 | 0.52434 | 1,252 | 11,668 | 4.646166 | 0.126198 | 0.057762 | 0.069795 | 0.029053 | 0.862816 | 0.849407 | 0.827059 | 0.826027 | 0.802132 | 0.802132 | 0 | 0.000432 | 0.404268 | 11,668 | 232 | 164 | 50.293103 | 0.836426 | 0.134813 | 0 | 0.872727 | 0 | 0 | 0.043297 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012121 | false | 0.084848 | 0.012121 | 0 | 0.036364 | 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 |
1e00557e5fdea75a7a2c2a7bfca405f20f1f82c1 | 60,259 | py | Python | atomsci/ddm/utils/data_curation_functions.py | vgutta/AMPL | 46759aa84fd6acfc14facad0e14cb05a43d2e309 | [
"MIT"
] | 77 | 2019-11-17T01:15:36.000Z | 2021-10-19T07:51:03.000Z | atomsci/ddm/utils/data_curation_functions.py | vgutta/AMPL | 46759aa84fd6acfc14facad0e14cb05a43d2e309 | [
"MIT"
] | 39 | 2019-12-16T22:21:54.000Z | 2021-09-30T16:31:12.000Z | atomsci/ddm/utils/data_curation_functions.py | vgutta/AMPL | 46759aa84fd6acfc14facad0e14cb05a43d2e309 | [
"MIT"
] | 41 | 2019-11-24T03:40:32.000Z | 2021-08-17T22:06:07.000Z | """
data_curation_functions.py
Extract Kevin's functions for curation of public datasets
Modify them to match Jonathan's curation methods in notebook
01/30/2020
"""
import os
import sys
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
from matplotlib_venn import venn3
import seaborn as sns
impor... | 41.759529 | 256 | 0.663934 | 7,936 | 60,259 | 4.820439 | 0.056326 | 0.032414 | 0.021331 | 0.015919 | 0.875781 | 0.864148 | 0.848255 | 0.840753 | 0.835577 | 0.832336 | 0 | 0.013386 | 0.225178 | 60,259 | 1,442 | 257 | 41.788488 | 0.805954 | 0.473108 | 0 | 0.757877 | 0 | 0 | 0.221692 | 0.005301 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034826 | false | 0 | 0.021559 | 0 | 0.089552 | 0.079602 | 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 |
1e4cbb6b9152cf24398ca23c531f2ad29cd72e9e | 10,340 | py | Python | notebooks/mypysmps/graph/_cm.py | fvanden/SOC-app | 488322c05b6ebe646f003274fa1a2125d993ecd0 | [
"MIT"
] | null | null | null | notebooks/mypysmps/graph/_cm.py | fvanden/SOC-app | 488322c05b6ebe646f003274fa1a2125d993ecd0 | [
"MIT"
] | null | null | null | notebooks/mypysmps/graph/_cm.py | fvanden/SOC-app | 488322c05b6ebe646f003274fa1a2125d993ecd0 | [
"MIT"
] | null | null | null | customcb = {'_smps_flo': ["#000000",
"#000002",
"#000004",
"#000007",
"#000009",
"#00000b",
"#00000d",
"#000010",
"#000012",
"#000014",
"#000016",
"#000019",
"#00001b",
"#00001d",
"#00001f",
"#000021",
"#000024",
"#000026",
"#000028",
"#00002a"... | 16.15625 | 37 | 0.414507 | 744 | 10,340 | 5.754032 | 0.469086 | 0.007475 | 0.013081 | 0.01495 | 0.991824 | 0.991824 | 0.991824 | 0.991824 | 0.991824 | 0.991824 | 0 | 0.457258 | 0.325725 | 10,340 | 639 | 38 | 16.181534 | 0.15677 | 0.05793 | 0 | 0.993711 | 0 | 0 | 0.462304 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 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 | 9 |
1e7a9ad326f8697ef38d7456e4c52ad73d510302 | 16,571 | py | Python | Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/lms/djangoapps/ccx/tests/test_utils.py | osoco/better-ways-of-thinking-about-software | 83e70d23c873509e22362a09a10d3510e10f6992 | [
"MIT"
] | 3 | 2021-12-15T04:58:18.000Z | 2022-02-06T12:15:37.000Z | Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/lms/djangoapps/ccx/tests/test_utils.py | osoco/better-ways-of-thinking-about-software | 83e70d23c873509e22362a09a10d3510e10f6992 | [
"MIT"
] | null | null | null | Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/lms/djangoapps/ccx/tests/test_utils.py | osoco/better-ways-of-thinking-about-software | 83e70d23c873509e22362a09a10d3510e10f6992 | [
"MIT"
] | 1 | 2019-01-02T14:38:50.000Z | 2019-01-02T14:38:50.000Z | """
test utils
"""
import uuid
from smtplib import SMTPException
from unittest import mock
from ccx_keys.locator import CCXLocator
from common.djangoapps.student.models import CourseEnrollment, CourseEnrollmentException
from common.djangoapps.student.roles import CourseCcxCoachRole, CourseInstructorRole, CourseStaf... | 47.345714 | 116 | 0.709553 | 2,172 | 16,571 | 5.090239 | 0.074125 | 0.111795 | 0.039074 | 0.053184 | 0.840358 | 0.819374 | 0.805264 | 0.792059 | 0.763386 | 0.763386 | 0 | 0.00169 | 0.214471 | 16,571 | 349 | 117 | 47.481375 | 0.847661 | 0.126848 | 0 | 0.742991 | 0 | 0 | 0.021378 | 0.004106 | 0 | 0 | 0 | 0 | 0.336449 | 1 | 0.065421 | false | 0.004673 | 0.070093 | 0 | 0.158879 | 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 |
bf53b0f16c36e8a74d4ddbedf4ebe52362a0b391 | 2,255 | py | Python | elytrus.py | Elytrus/elytrus | 3bacb2669bb17b3c10ada423a0edb81432add4ef | [
"MIT"
] | null | null | null | elytrus.py | Elytrus/elytrus | 3bacb2669bb17b3c10ada423a0edb81432add4ef | [
"MIT"
] | null | null | null | elytrus.py | Elytrus/elytrus | 3bacb2669bb17b3c10ada423a0edb81432add4ef | [
"MIT"
] | null | null | null | import time, os # Time for the delay, os to center the text
wait = 0.1 # Delay between each line
width = os.get_terminal_size().columns # Width of the console
# Clear the screen
def clear():
os.system("cls" if os.name == "nt" else "clear")
# Intro
def intro():
print(r""" _ _ _ ... | 60.945946 | 144 | 0.337472 | 148 | 2,255 | 4.141892 | 0.310811 | 0.215334 | 0.293638 | 0.391517 | 0.546493 | 0.546493 | 0.546493 | 0.546493 | 0.546493 | 0.546493 | 0 | 0.002358 | 0.43592 | 2,255 | 37 | 145 | 60.945946 | 0.47956 | 0.082483 | 0 | 0.34375 | 0 | 0.28125 | 0.606693 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0.03125 | 0 | 0.09375 | 0.40625 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
bf5b1636c4e0abae3eb1806ed909afaf40f6a82d | 685 | py | Python | tests/test_utils_path.py | karkason/pywinsandbox | 1316bd046b66abce8c7c565eb55cd26309585e8a | [
"MIT"
] | 82 | 2020-03-24T20:26:10.000Z | 2022-03-16T13:12:39.000Z | tests/test_utils_path.py | karkason/pywinsandbox | 1316bd046b66abce8c7c565eb55cd26309585e8a | [
"MIT"
] | 6 | 2020-03-24T20:46:18.000Z | 2022-01-29T11:10:53.000Z | tests/test_utils_path.py | karkason/pywinsandbox | 1316bd046b66abce8c7c565eb55cd26309585e8a | [
"MIT"
] | 12 | 2020-03-26T06:09:05.000Z | 2021-12-13T04:02:51.000Z | from winsandbox.utils.path import shared_folder_path_in_sandbox, WINDOWS_SANDBOX_DEFAULT_DESKTOP
def test_shared_folder_path_in_sandbox():
assert shared_folder_path_in_sandbox(r"C:\test.txt") == WINDOWS_SANDBOX_DEFAULT_DESKTOP / "test.txt"
assert shared_folder_path_in_sandbox(r"D:\test.txt") == WINDOWS_SANDBO... | 68.5 | 121 | 0.807299 | 104 | 685 | 4.865385 | 0.201923 | 0.13834 | 0.221344 | 0.249012 | 0.851779 | 0.752964 | 0.752964 | 0.752964 | 0.604743 | 0.604743 | 0 | 0 | 0.086131 | 685 | 9 | 122 | 76.111111 | 0.808307 | 0 | 0 | 0 | 0 | 0 | 0.166423 | 0.040876 | 0 | 0 | 0 | 0 | 0.714286 | 1 | 0.142857 | true | 0 | 0.142857 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
449d9a085a43aebe60e9e6d048dc097f17847fd9 | 10,744 | py | Python | baconian/test/tests/test_common/test_data_pre_processing.py | yitongx/baconian-public | a67e23c6bc6bfe7019ec9532a3d18f06aed6bbbb | [
"MIT"
] | 69 | 2020-01-31T17:44:43.000Z | 2022-03-28T13:09:11.000Z | baconian/test/tests/test_common/test_data_pre_processing.py | yitongx/baconian-project | e84508da60877e387344133a11039edaac35c5bf | [
"MIT"
] | 5 | 2019-04-28T07:24:26.000Z | 2020-01-29T01:49:51.000Z | baconian/test/tests/test_common/test_data_pre_processing.py | yitongx/baconian-project | e84508da60877e387344133a11039edaac35c5bf | [
"MIT"
] | 6 | 2019-05-04T02:18:11.000Z | 2019-12-04T22:05:52.000Z | from baconian.envs.gym_env import make
from baconian.core.core import EnvSpec
from baconian.test.tests.set_up.setup import BaseTestCase
from baconian.common.data_pre_processing import *
import numpy as np
class TestDataPreProcessing(BaseTestCase):
def test_min_max(self):
for env in (make('Pendulum-v0'), m... | 54.538071 | 97 | 0.475428 | 1,143 | 10,744 | 4.307962 | 0.097113 | 0.090983 | 0.084484 | 0.063972 | 0.878351 | 0.83753 | 0.832859 | 0.826361 | 0.819456 | 0.791836 | 0 | 0.027877 | 0.429077 | 10,744 | 196 | 98 | 54.816327 | 0.774861 | 0.113738 | 0 | 0.797297 | 0 | 0 | 0.012426 | 0.004844 | 0 | 0 | 0 | 0.005102 | 0.209459 | 1 | 0.013514 | false | 0.013514 | 0.047297 | 0 | 0.067568 | 0.006757 | 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 |
782c50e5987ced0455fdfb81f1be67266c3a6673 | 4,198 | py | Python | z2/part3/updated_part2_batch/jm/parser_errors_2/652951292.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 1 | 2020-04-16T12:13:47.000Z | 2020-04-16T12:13:47.000Z | z2/part3/updated_part2_batch/jm/parser_errors_2/652951292.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 18 | 2020-03-06T17:50:15.000Z | 2020-05-19T14:58:30.000Z | z2/part3/updated_part2_batch/jm/parser_errors_2/652951292.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: 652951292
"""
"""
random actions, total chaos
"""
board = gamma_new(5, 5, 3, 1)
assert board is... | 31.56391 | 46 | 0.652692 | 758 | 4,198 | 3.455145 | 0.047493 | 0.357006 | 0.383734 | 0.511646 | 0.829324 | 0.82016 | 0.777396 | 0.69034 | 0.620848 | 0.593356 | 0 | 0.12252 | 0.183421 | 4,198 | 132 | 47 | 31.80303 | 0.641482 | 0 | 0 | 0.474138 | 0 | 0 | 0.017032 | 0 | 0 | 0 | 0 | 0 | 0.775862 | 1 | 0 | false | 0 | 0.008621 | 0 | 0.008621 | 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 |
7834428fd9aa6819e5b9eb1a6b22e142e2962b05 | 2,734 | py | Python | Rprepper.py | TimNicholsonShaw/BG_GS_Nanopore_Analysis | 6720ebc399cbb6635762998e241670cc078a9869 | [
"MIT"
] | null | null | null | Rprepper.py | TimNicholsonShaw/BG_GS_Nanopore_Analysis | 6720ebc399cbb6635762998e241670cc078a9869 | [
"MIT"
] | null | null | null | Rprepper.py | TimNicholsonShaw/BG_GS_Nanopore_Analysis | 6720ebc399cbb6635762998e241670cc078a9869 | [
"MIT"
] | null | null | null | from tools import samReader, samExtender, filterProperMapped, filterSenseStrand
import pandas as pd
def exportForRAnalysis(sam_file_locs, outFile, metadata=""):
# need to incorporate the ability to add metadata here
# metadata order must match sam_file_locs order
out_df = None
if metadata:
d... | 28.479167 | 79 | 0.554865 | 357 | 2,734 | 4.002801 | 0.165266 | 0.111966 | 0.107768 | 0.041987 | 0.89993 | 0.89993 | 0.89993 | 0.89993 | 0.89993 | 0.89993 | 0 | 0.002252 | 0.350402 | 2,734 | 95 | 80 | 28.778947 | 0.802365 | 0.072056 | 0 | 0.9375 | 0 | 0 | 0.007123 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 1 | 0.03125 | false | 0 | 0.03125 | 0 | 0.09375 | 0.0625 | 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 |
786c26ce39ac33ef2aa6b0d42e9a7b93fab86591 | 13,613 | py | Python | tests/test_add.py | dsei210s19-applied-ml-and-dm/OPTMOD | 85edea79284097cfaeeaa8eb0be3c9595b4a733f | [
"BSD-2-Clause"
] | 3 | 2019-02-14T23:45:06.000Z | 2019-08-23T19:20:31.000Z | tests/test_add.py | dsei210s19-applied-ml-and-dm/OPTMOD | 85edea79284097cfaeeaa8eb0be3c9595b4a733f | [
"BSD-2-Clause"
] | 21 | 2019-01-17T07:30:42.000Z | 2020-04-11T18:26:43.000Z | tests/test_add.py | dsei210s19-applied-ml-and-dm/OPTMOD | 85edea79284097cfaeeaa8eb0be3c9595b4a733f | [
"BSD-2-Clause"
] | 1 | 2022-01-21T23:56:42.000Z | 2022-01-21T23:56:42.000Z | import optmod
import unittest
import numpy as np
class TestAdd(unittest.TestCase):
def test_contruction(self):
x = optmod.variable.VariableScalar(name='x')
f = optmod.function.add([x, optmod.expression.make_Expression(1.)])
self.assertEqual(f.name, 'add')
self.assertEqual(len(f.a... | 40.275148 | 98 | 0.52751 | 1,885 | 13,613 | 3.752785 | 0.048276 | 0.160305 | 0.12553 | 0.091886 | 0.859061 | 0.835171 | 0.802092 | 0.757422 | 0.752474 | 0.739468 | 0 | 0.030873 | 0.293323 | 13,613 | 337 | 99 | 40.394659 | 0.70447 | 0 | 0 | 0.66426 | 0 | 0.028881 | 0.057078 | 0 | 0 | 0 | 0 | 0 | 0.527076 | 1 | 0.032491 | false | 0 | 0.01083 | 0 | 0.046931 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7882f75ee87c271d06ff6a6bfbbaf202f0fec4fe | 27,010 | py | Python | layint_api/apis/analytics_api.py | LayeredInsight/layint_api_python | a5c9a5b24098bd823c5102b7ab9e4745432f19b4 | [
"Apache-2.0"
] | null | null | null | layint_api/apis/analytics_api.py | LayeredInsight/layint_api_python | a5c9a5b24098bd823c5102b7ab9e4745432f19b4 | [
"Apache-2.0"
] | null | null | null | layint_api/apis/analytics_api.py | LayeredInsight/layint_api_python | a5c9a5b24098bd823c5102b7ab9e4745432f19b4 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Layered Insight Assessment, Compliance, Witness & Control
LI Assessment & Compliance performs static vulnerability analysis, license and package compliance. LI Witness provides deep insight and analytics into containerized applications. Control provides dynamic runtime security and analyti... | 40.86233 | 383 | 0.570455 | 2,689 | 27,010 | 5.47936 | 0.086649 | 0.065155 | 0.022804 | 0.02932 | 0.90186 | 0.884146 | 0.870639 | 0.847156 | 0.831818 | 0.824759 | 0 | 0.000343 | 0.35324 | 27,010 | 660 | 384 | 40.924242 | 0.843093 | 0.332729 | 0 | 0.725309 | 0 | 0 | 0.154601 | 0.027971 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040123 | false | 0 | 0.021605 | 0 | 0.12037 | 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 |
789509635ce2f8be8443254e3eeec147a95b9d73 | 84,146 | py | Python | ME-decompiled.py | angelsave/reverse_enginering | 3d6b46e898535ed162cdcb1b03a90761dcb3bce4 | [
"MIT"
] | 7 | 2018-05-04T08:28:58.000Z | 2019-11-06T08:49:02.000Z | ME-decompiled.py | angelsave/reverse_enginering | 3d6b46e898535ed162cdcb1b03a90761dcb3bce4 | [
"MIT"
] | 1 | 2019-09-21T07:29:50.000Z | 2019-09-22T16:53:04.000Z | ME-decompiled.py | angelsave/reverse_enginering | 3d6b46e898535ed162cdcb1b03a90761dcb3bce4 | [
"MIT"
] | 8 | 2018-05-04T08:28:59.000Z | 2020-09-27T17:21:28.000Z | # uncompyle6 version 3.1.3
# Python bytecode 2.7 (62211)
# Decompiled from: Python 3.4.3 (default, Aug 9 2016, 15:36:17)
# [GCC 5.3.1 20160406 (Red Hat 5.3.1-6)]
# Embedded file name: ME.pye
# Compiled at: 2018-02-25 14:25:47
import marshal
exec marshal.loads('c\x00\x00\x00\x00\x00\x00\x00\x001\x00\x00@\x00\x00\x00s\... | 8,414.6 | 83,876 | 0.777292 | 15,825 | 84,146 | 4.125245 | 0.011817 | 0.598021 | 0.573144 | 0.525229 | 0.9273 | 0.888407 | 0.850924 | 0.823152 | 0.784106 | 0.738902 | 0 | 0.377003 | 0.001806 | 84,146 | 9 | 83,877 | 9,349.555556 | 0.400219 | 0.00284 | 0 | 0 | 0 | 15.5 | 0.634763 | 0.633917 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 19 |
78aed7125fd2567620e735b709cded9395ed76f4 | 12,306 | py | Python | tests/test_reshape.py | airbus/decomon | f3668fbd8edd0def4e23aa0634eebfec58349c35 | [
"MIT"
] | 11 | 2021-11-03T12:09:50.000Z | 2022-02-20T21:42:13.000Z | tests/test_reshape.py | airbus/decomon | f3668fbd8edd0def4e23aa0634eebfec58349c35 | [
"MIT"
] | 1 | 2022-02-18T13:40:46.000Z | 2022-02-18T13:40:46.000Z | tests/test_reshape.py | airbus/decomon | f3668fbd8edd0def4e23aa0634eebfec58349c35 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
import pytest
import numpy as np
from . import (
get_standard_values_images_box,
get_tensor_decomposition_images_box,
assert_output_properties_box,
assert_output_properties_box_linear,
)
import tensorflow.python.keras.backend as K
from tensorflow.keras.layers impor... | 27.46875 | 107 | 0.55282 | 1,908 | 12,306 | 3.175052 | 0.055031 | 0.015847 | 0.02377 | 0.019809 | 0.937933 | 0.91796 | 0.91796 | 0.915649 | 0.915649 | 0.915649 | 0 | 0.050423 | 0.28929 | 12,306 | 447 | 108 | 27.530201 | 0.642236 | 0.026247 | 0 | 0.848404 | 0 | 0 | 0.068632 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 1 | 0.015957 | false | 0 | 0.021277 | 0 | 0.037234 | 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 |
1586820887d7cfa183e8c291d8414bf0d285231a | 76 | py | Python | hello.py | Skandagn/pythonTraining | b003e7da1cd68cc72ec7db44fe829c73294efc26 | [
"MIT"
] | null | null | null | hello.py | Skandagn/pythonTraining | b003e7da1cd68cc72ec7db44fe829c73294efc26 | [
"MIT"
] | null | null | null | hello.py | Skandagn/pythonTraining | b003e7da1cd68cc72ec7db44fe829c73294efc26 | [
"MIT"
] | null | null | null | print("Hello")
print("Updating to v1. Modifying V1")
print("Updating to v2") | 25.333333 | 37 | 0.723684 | 12 | 76 | 4.583333 | 0.583333 | 0.472727 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044118 | 0.105263 | 76 | 3 | 38 | 25.333333 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0.61039 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
ec6e6d8c88500addc91ac8be86cfba944c8de570 | 204 | py | Python | examples/doodle/views.py | rudeb0t/tornadio2go | ad618717c6b185fee533928d378c086e273685a9 | [
"BSD-3-Clause"
] | 1 | 2015-02-13T06:36:03.000Z | 2015-02-13T06:36:03.000Z | examples/doodle/views.py | rudeb0t/tornadio2go | ad618717c6b185fee533928d378c086e273685a9 | [
"BSD-3-Clause"
] | 1 | 2016-03-24T16:00:38.000Z | 2016-03-24T16:00:38.000Z | examples/doodle/views.py | rudeb0t/tornadio2go | ad618717c6b185fee533928d378c086e273685a9 | [
"BSD-3-Clause"
] | null | null | null | from django.shortcuts import render_to_response
from django.template import RequestContext
def home(request):
return render_to_response('doodle/index.html', context_instance=RequestContext(request))
| 34 | 92 | 0.838235 | 26 | 204 | 6.384615 | 0.692308 | 0.120482 | 0.192771 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 204 | 5 | 93 | 40.8 | 0.892473 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
ecc3bb32068040d6a9c90c932af414b0c091255a | 17,842 | py | Python | main_code/url.py | Xyerniu/website-finder | 6aef84384ccadee0ed06d1a0db0aac19246fb980 | [
"MIT"
] | null | null | null | main_code/url.py | Xyerniu/website-finder | 6aef84384ccadee0ed06d1a0db0aac19246fb980 | [
"MIT"
] | null | null | null | main_code/url.py | Xyerniu/website-finder | 6aef84384ccadee0ed06d1a0db0aac19246fb980 | [
"MIT"
] | null | null | null | # backend
from selenium import webdriver
import random
import string
import math
user_input = []
words: list[str] = []
with open('lots of uk words.txt', 'r') as f:
re = f.read()
re = re.splitlines()
words = [x for x in re if x.strip()]
def stop():
global x1
x1 = False
def m... | 53.10119 | 121 | 0.442832 | 2,195 | 17,842 | 3.535763 | 0.056036 | 0.119057 | 0.118541 | 0.177812 | 0.898853 | 0.898853 | 0.891122 | 0.887386 | 0.886355 | 0.875532 | 0 | 0.085759 | 0.466708 | 17,842 | 335 | 122 | 53.259701 | 0.7299 | 0.000392 | 0 | 0.873065 | 0 | 0 | 0.013659 | 0.001257 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009288 | false | 0.037152 | 0.012384 | 0 | 0.024768 | 0.021672 | 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 |
eccef7e6b691513b0b734140b7bd40e3bc971d31 | 131 | py | Python | indiecoin/util/__init__.py | fernandolobato/IndieCoin | 4067a0e37b359f879d796c7d7f65e6f0350d2015 | [
"MIT"
] | 5 | 2017-11-20T08:46:38.000Z | 2021-12-28T20:49:16.000Z | indiecoin/util/__init__.py | fernandolobato/IndieCoin | 4067a0e37b359f879d796c7d7f65e6f0350d2015 | [
"MIT"
] | null | null | null | indiecoin/util/__init__.py | fernandolobato/IndieCoin | 4067a0e37b359f879d796c7d7f65e6f0350d2015 | [
"MIT"
] | null | null | null | import os
__all__ = ['default_data_directory']
def default_data_directory():
return os.path.expanduser('~/.indiecoin/data')
| 16.375 | 50 | 0.740458 | 16 | 131 | 5.5625 | 0.6875 | 0.247191 | 0.449438 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122137 | 131 | 7 | 51 | 18.714286 | 0.773913 | 0 | 0 | 0 | 0 | 0 | 0.29771 | 0.167939 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
01f9b53facf43b2f2d83824a304e4c1ddab35dc5 | 273 | py | Python | modules/retrieval/text_classification/libs/loggers/logger_template.py | martinhoang11/vietnamese-ocr-toolbox | 524b4908bedceb0c87b2c7cd7b5e3f6e1126ace5 | [
"Apache-2.0"
] | 14 | 2021-09-05T10:42:14.000Z | 2022-03-10T16:27:26.000Z | modules/retrieval/text_classification/libs/loggers/logger_template.py | martinhoang11/vietnamese-ocr-toolbox | 524b4908bedceb0c87b2c7cd7b5e3f6e1126ace5 | [
"Apache-2.0"
] | 1 | 2021-06-16T11:35:24.000Z | 2021-06-16T11:35:24.000Z | modules/retrieval/text_classification/libs/loggers/logger_template.py | martinhoang11/vietnamese-ocr-toolbox | 524b4908bedceb0c87b2c7cd7b5e3f6e1126ace5 | [
"Apache-2.0"
] | 5 | 2021-09-05T13:26:51.000Z | 2022-03-09T07:49:45.000Z | class LoggerTemplate():
def __init__(self, *args, **kwargs):
raise NotImplementedError
def update_loss(self, phase, value, step):
raise NotImplementedError
def update_metric(self, phase, metric, value, step):
raise NotImplementedError
| 27.3 | 56 | 0.688645 | 28 | 273 | 6.5 | 0.535714 | 0.395604 | 0.296703 | 0.362637 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.223443 | 273 | 9 | 57 | 30.333333 | 0.858491 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0 | 0.571429 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
170dfe8449b9fa4a87333a6c04186ad64bedd78c | 8,381 | py | Python | tests/test_request.py | andrewtholt/python-sonoffdiy | 350ae275fefadd92355741eed0667a5422ea7ac5 | [
"MIT"
] | 3 | 2019-11-09T14:46:52.000Z | 2022-02-11T00:34:29.000Z | tests/test_request.py | andrewtholt/python-sonoffdiy | 350ae275fefadd92355741eed0667a5422ea7ac5 | [
"MIT"
] | 3 | 2020-01-12T12:48:42.000Z | 2021-11-15T17:51:54.000Z | tests/test_request.py | andrewtholt/python-sonoffdiy | 350ae275fefadd92355741eed0667a5422ea7ac5 | [
"MIT"
] | 4 | 2020-04-26T11:38:08.000Z | 2022-02-11T00:34:31.000Z | """Tests for `sonoffdiy.SonoffDIY`."""
import asyncio
import aiohttp
import pytest
from sonoffdiy import SonoffDIY
from sonoffdiy.__version__ import __version__
from sonoffdiy.exceptions import SonoffDIYConnectionError, SonoffDIYError
@pytest.mark.asyncio
async def test_json_request(event_loop, aresponses):
"""T... | 31.86692 | 83 | 0.596826 | 895 | 8,381 | 5.481564 | 0.109497 | 0.060538 | 0.055646 | 0.065634 | 0.857725 | 0.850999 | 0.830412 | 0.828985 | 0.809213 | 0.782307 | 0 | 0.022811 | 0.257249 | 8,381 | 262 | 84 | 31.98855 | 0.765301 | 0.015989 | 0 | 0.736842 | 0 | 0 | 0.1761 | 0.003808 | 0 | 0 | 0 | 0 | 0.047847 | 1 | 0 | false | 0 | 0.028708 | 0 | 0.043062 | 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 |
17145ed2f4257a730804769410aa79f62712ca7a | 8,317 | py | Python | boto3_type_annotations_with_docs/boto3_type_annotations/cloudformation/waiter.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 119 | 2018-12-01T18:20:57.000Z | 2022-02-02T10:31:29.000Z | boto3_type_annotations_with_docs/boto3_type_annotations/cloudformation/waiter.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 15 | 2018-11-16T00:16:44.000Z | 2021-11-13T03:44:18.000Z | boto3_type_annotations_with_docs/boto3_type_annotations/cloudformation/waiter.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 11 | 2019-05-06T05:26:51.000Z | 2021-09-28T15:27:59.000Z | from typing import Dict
from botocore.waiter import Waiter
class ChangeSetCreateComplete(Waiter):
def wait(self, ChangeSetName: str, StackName: str = None, NextToken: str = None, WaiterConfig: Dict = None):
"""
Polls :py:meth:`CloudFormation.Client.describe_change_set` every 30 seconds until a suc... | 44.005291 | 166 | 0.605747 | 938 | 8,317 | 5.359275 | 0.142857 | 0.026258 | 0.031032 | 0.025463 | 0.908494 | 0.888403 | 0.883032 | 0.875075 | 0.875075 | 0.875075 | 0 | 0.020362 | 0.315017 | 8,317 | 188 | 167 | 44.239362 | 0.862033 | 0.74474 | 0 | 0.529412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0.294118 | 0.117647 | 0 | 0.705882 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 9 |
175c6db073f926bfb6161b6e8e6ca6152df52f5a | 222 | py | Python | src/main/python/ipystate/decl.py | mrMakaronka/pyenv | 48702153429019f2176148aaaaa45b3b48080df2 | [
"MIT"
] | null | null | null | src/main/python/ipystate/decl.py | mrMakaronka/pyenv | 48702153429019f2176148aaaaa45b3b48080df2 | [
"MIT"
] | 5 | 2020-11-26T06:02:13.000Z | 2021-11-15T08:52:16.000Z | src/main/python/ipystate/decl.py | mrMakaronka/pyenv | 48702153429019f2176148aaaaa45b3b48080df2 | [
"MIT"
] | null | null | null |
class VarDecl:
def __init__(self, name: str, type: str):
self._name = name
self._type = type
def name(self) -> str:
return self._name
def type(self) -> str:
return self._type
| 18.5 | 45 | 0.563063 | 29 | 222 | 4.034483 | 0.310345 | 0.205128 | 0.222222 | 0.290598 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.328829 | 222 | 11 | 46 | 20.181818 | 0.785235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
179bfeb0335a40653a9adfc96c408f7cec69ec4e | 3,983 | py | Python | main/models.py | iitgswc/IITG-Main-Website | d19c4a2f2c70ee42ccc6246827ca03f613e810e2 | [
"Apache-2.0"
] | null | null | null | main/models.py | iitgswc/IITG-Main-Website | d19c4a2f2c70ee42ccc6246827ca03f613e810e2 | [
"Apache-2.0"
] | null | null | null | main/models.py | iitgswc/IITG-Main-Website | d19c4a2f2c70ee42ccc6246827ca03f613e810e2 | [
"Apache-2.0"
] | null | null | null | from django.db import models
# Navbar
class About(models.Model):
title = models.CharField(max_length=200)
link = models.CharField(max_length=2000, default="#")
is_active = models.BooleanField(default=True)
def __str__(self):
return self.title
class AcademicAffairs(models.Model):
title = models.CharField(max_l... | 30.638462 | 122 | 0.765252 | 534 | 3,983 | 5.481273 | 0.114232 | 0.179365 | 0.215237 | 0.286983 | 0.868124 | 0.858558 | 0.858558 | 0.858558 | 0.858558 | 0.858558 | 0 | 0.035241 | 0.109465 | 3,983 | 130 | 123 | 30.638462 | 0.789963 | 0.012302 | 0 | 0.801887 | 0 | 0 | 0.020611 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.160377 | false | 0 | 0.009434 | 0.160377 | 1 | 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 | 1 | 0 | 0 | 0 | 10 |
bd725afae5260f5f88bfd14cce568eacc753fa63 | 2,674 | py | Python | {{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/common/storages.py | mazdakb/django-naqsh | 1ba19ebe74ed63d96eae9d226f1a0ebcfbb93e84 | [
"BSD-3-Clause"
] | 50 | 2018-05-04T14:03:30.000Z | 2021-08-05T19:29:47.000Z | {{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/common/storages.py | mazdakb/django-naqsh | 1ba19ebe74ed63d96eae9d226f1a0ebcfbb93e84 | [
"BSD-3-Clause"
] | 143 | 2018-05-10T16:51:39.000Z | 2021-02-27T15:25:44.000Z | {{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/common/storages.py | mazdakb/django-naqsh | 1ba19ebe74ed63d96eae9d226f1a0ebcfbb93e84 | [
"BSD-3-Clause"
] | 3 | 2019-05-27T18:15:31.000Z | 2020-04-05T14:31:35.000Z | {% if cookiecutter.cloud_provider == 'AWS' -%}
import os
from django.conf import settings
from django.core.files.storage import FileSystemStorage
from storages.backends.s3boto3 import S3Boto3Storage
class StaticRootS3Boto3Storage(S3Boto3Storage):
location = "static"
default_acl = "public-read"
class MediaR... | 31.093023 | 83 | 0.702319 | 331 | 2,674 | 5.619335 | 0.271903 | 0.032258 | 0.019355 | 0.029032 | 0.794624 | 0.794624 | 0.794624 | 0.794624 | 0.794624 | 0.794624 | 0 | 0.010072 | 0.220269 | 2,674 | 85 | 84 | 31.458824 | 0.882014 | 0.082648 | 0 | 0.707317 | 0 | 0 | 0.029951 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.268293 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
bdbad6b6df06a667c065c9e8614c378d82c5458a | 3,651 | py | Python | query.py | timruet/DBS_Project | 69a28f886c148b9905f0f1facd44e373b416ee43 | [
"MIT"
] | null | null | null | query.py | timruet/DBS_Project | 69a28f886c148b9905f0f1facd44e373b416ee43 | [
"MIT"
] | null | null | null | query.py | timruet/DBS_Project | 69a28f886c148b9905f0f1facd44e373b416ee43 | [
"MIT"
] | null | null | null | import psycopg2
def get_oldest():
conn = None
try:
conn = psycopg2.connect(host="localhost", database="postgres", user="postgres", password="12345")
cur = conn.cursor()
cur.execute("SELECT MAX(age) FROM mfb_user")
result1 = cur.fetchone()[0]
cur.close()
except (Exception, psycopg2.DatabaseError) as e... | 24.668919 | 161 | 0.711586 | 527 | 3,651 | 4.808349 | 0.151803 | 0.028414 | 0.026046 | 0.044988 | 0.832676 | 0.75809 | 0.749803 | 0.745462 | 0.713102 | 0.681531 | 0 | 0.024992 | 0.167078 | 3,651 | 147 | 162 | 24.836735 | 0.808287 | 0 | 0 | 0.588235 | 0 | 0.04902 | 0.278828 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0.058824 | 0.009804 | 0 | 0.127451 | 0.117647 | 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 |
da72940db4da23ca94af175c31771bfeab6d74a4 | 82 | py | Python | example/searcher/__init__.py | crystina-z/profane | b467b0d45d37de856e02eb0afad9ff012d215a42 | [
"Apache-2.0"
] | 9 | 2020-06-05T15:12:01.000Z | 2021-05-28T12:19:02.000Z | example/searcher/__init__.py | crystina-z/profane | b467b0d45d37de856e02eb0afad9ff012d215a42 | [
"Apache-2.0"
] | 7 | 2020-06-11T08:22:00.000Z | 2022-01-28T09:32:20.000Z | example/searcher/__init__.py | crystina-z/profane | b467b0d45d37de856e02eb0afad9ff012d215a42 | [
"Apache-2.0"
] | 4 | 2020-06-10T23:12:16.000Z | 2022-01-27T17:54:36.000Z | from profane import import_all_modules
import_all_modules(__file__, __package__)
| 20.5 | 41 | 0.878049 | 11 | 82 | 5.454545 | 0.636364 | 0.3 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085366 | 82 | 3 | 42 | 27.333333 | 0.8 | 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 |
da794f4a78f30e97561ee99c35198abb0f1eea5d | 9,513 | py | Python | tests/test_recursive_folder.py | yuki-inaho/superannotate-python-sdk | cae3ab09125631ef48d76e6ac017b94a4d7bc4a7 | [
"MIT"
] | null | null | null | tests/test_recursive_folder.py | yuki-inaho/superannotate-python-sdk | cae3ab09125631ef48d76e6ac017b94a4d7bc4a7 | [
"MIT"
] | null | null | null | tests/test_recursive_folder.py | yuki-inaho/superannotate-python-sdk | cae3ab09125631ef48d76e6ac017b94a4d7bc4a7 | [
"MIT"
] | null | null | null | from pathlib import Path
import time
import superannotate as sa
sa.init(Path.home() / ".superannotate" / "config.json")
TEMP_PROJECT_NAME = "test_recursive"
def test_nonrecursive_annotations_folder(tmpdir):
tmpdir = Path(tmpdir)
projects_found = sa.search_projects(
TEMP_PROJECT_NAME + "0", return_m... | 28.14497 | 76 | 0.694628 | 1,142 | 9,513 | 5.437828 | 0.06042 | 0.062802 | 0.079549 | 0.055072 | 0.953301 | 0.953301 | 0.953301 | 0.953301 | 0.953301 | 0.953301 | 0 | 0.007804 | 0.205298 | 9,513 | 337 | 77 | 28.228487 | 0.813624 | 0 | 0 | 0.710843 | 0 | 0 | 0.154315 | 0.125618 | 0 | 0 | 0 | 0 | 0.068273 | 1 | 0.040161 | false | 0 | 0.012048 | 0 | 0.052209 | 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 |
16f6dcfc83c26e466e4ea2a8f2fce8523cdced4a | 330 | py | Python | easyasyncio/constants.py | raph92/EasyAsyncio | 6f2e42ba20cd97577cfeb609bdc479929889c30d | [
"MIT"
] | 1 | 2020-01-14T05:38:17.000Z | 2020-01-14T05:38:17.000Z | easyasyncio/constants.py | raph92/EasyAsyncio | 6f2e42ba20cd97577cfeb609bdc479929889c30d | [
"MIT"
] | null | null | null | easyasyncio/constants.py | raph92/EasyAsyncio | 6f2e42ba20cd97577cfeb609bdc479929889c30d | [
"MIT"
] | null | null | null | class Constants:
HEADERS = {
'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:70.0) '
'Gecko/20100101 Firefox/70.0'
}
HEADERS = {
'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:70.0) '
'Gecko/20100101 Firefox/70.0',
"Connection": ... | 25.384615 | 69 | 0.493939 | 40 | 330 | 4.025 | 0.475 | 0.074534 | 0.198758 | 0.285714 | 0.819876 | 0.819876 | 0.819876 | 0.819876 | 0.819876 | 0.819876 | 0 | 0.205607 | 0.351515 | 330 | 12 | 70 | 27.5 | 0.546729 | 0 | 0 | 0.4 | 0 | 0 | 0.518182 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 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 | 9 |
e5070a1c68a945b03eb5744b7c6cf0262b2938e6 | 6,199 | py | Python | migrations/versions/339c728950cb_.py | datosgobar/georef | 7202acedcebe4705dccf1fde622e9b3b35d92cb5 | [
"MIT"
] | 5 | 2018-10-03T18:36:50.000Z | 2022-01-05T20:59:07.000Z | migrations/versions/339c728950cb_.py | datosgobar/georef-ar-etl | 7202acedcebe4705dccf1fde622e9b3b35d92cb5 | [
"MIT"
] | 34 | 2018-10-03T18:13:46.000Z | 2019-05-31T18:54:49.000Z | migrations/versions/339c728950cb_.py | datosgobar/georef | 7202acedcebe4705dccf1fde622e9b3b35d92cb5 | [
"MIT"
] | 2 | 2019-12-09T16:39:45.000Z | 2020-10-30T02:10:19.000Z | """Initial migration
Revision ID: 339c728950cb
Revises:
Create Date: 2019-04-08 09:30:44.981425
"""
from alembic import op
import sqlalchemy as sa
import geoalchemy2
# revision identifiers, used by Alembic.
revision = '339c728950cb'
down_revision = None
branch_labels = None
depends_on = None
def upgrade():
#... | 48.429688 | 115 | 0.694789 | 751 | 6,199 | 5.619174 | 0.11984 | 0.117536 | 0.216825 | 0.26872 | 0.847393 | 0.842654 | 0.842654 | 0.795735 | 0.766351 | 0.75 | 0 | 0.013588 | 0.121471 | 6,199 | 127 | 116 | 48.811024 | 0.761293 | 0.046298 | 0 | 0.614679 | 0 | 0 | 0.215489 | 0.022468 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018349 | false | 0 | 0.027523 | 0 | 0.045872 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
e582f7e76937d43ff367d0f1dd8ea33e9924baa4 | 5,729 | py | Python | dfirtrack_api/tests/dfirtrack_artifacts/artifactstatus/test_artifactstatus_api_views.py | thomas-kropeit/dfirtrack | b1e0e659af7bc8085cfe2d269ddc651f9f4ba585 | [
"Apache-2.0"
] | 273 | 2018-04-18T22:09:15.000Z | 2021-06-04T09:15:48.000Z | dfirtrack_api/tests/dfirtrack_artifacts/artifactstatus/test_artifactstatus_api_views.py | stuhli/dfirtrack | 9260c91e4367b36d4cb1ae7efe4e2d2452f58e6e | [
"Apache-2.0"
] | 75 | 2018-08-31T11:05:37.000Z | 2021-06-08T14:15:07.000Z | dfirtrack_api/tests/dfirtrack_artifacts/artifactstatus/test_artifactstatus_api_views.py | thomas-kropeit/dfirtrack | b1e0e659af7bc8085cfe2d269ddc651f9f4ba585 | [
"Apache-2.0"
] | 61 | 2018-11-12T22:55:48.000Z | 2021-06-06T15:16:16.000Z | import urllib.parse
from django.contrib.auth.models import User
from django.test import TestCase
from dfirtrack_artifacts.models import Artifactstatus
class ArtifactstatusAPIViewTestCase(TestCase):
"""artifactstatus API view tests"""
@classmethod
def setUpTestData(cls):
# create object
... | 33.30814 | 87 | 0.635189 | 535 | 5,729 | 6.566355 | 0.149533 | 0.135497 | 0.092229 | 0.100199 | 0.845716 | 0.818958 | 0.791631 | 0.77569 | 0.703103 | 0.688016 | 0 | 0.014399 | 0.272648 | 5,729 | 171 | 88 | 33.502924 | 0.828654 | 0.121487 | 0 | 0.5 | 0 | 0 | 0.165993 | 0.048524 | 0 | 0 | 0 | 0 | 0.09 | 1 | 0.1 | false | 0.08 | 0.04 | 0 | 0.15 | 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 |
009bd50f3a057c0c057a987cff77fb8b8daf1a4e | 35,306 | py | Python | tests/test_adaptavist.py | devolo/adaptavist | 8e5e9249d2640850e1f7bf5617a9fad19834e2f5 | [
"MIT"
] | 3 | 2020-06-11T11:37:28.000Z | 2022-03-10T19:27:55.000Z | tests/test_adaptavist.py | devolo/adaptavist | 8e5e9249d2640850e1f7bf5617a9fad19834e2f5 | [
"MIT"
] | 7 | 2020-02-14T13:19:55.000Z | 2021-05-20T15:27:36.000Z | tests/test_adaptavist.py | devolo/adaptavist | 8e5e9249d2640850e1f7bf5617a9fad19834e2f5 | [
"MIT"
] | 9 | 2020-04-21T05:41:48.000Z | 2022-01-09T13:13:17.000Z | """Test the Adaptavist module."""
import json
from io import BytesIO
from unittest.mock import mock_open, patch
from pytest import raises
from requests_mock import Mocker
from adaptavist import Adaptavist
from adaptavist.const import STATUS_FAIL, STATUS_PASS
from . import load_fixture
class TestAdaptavist:
_j... | 64.54479 | 159 | 0.682943 | 4,546 | 35,306 | 5.038055 | 0.056533 | 0.100424 | 0.087325 | 0.060778 | 0.885474 | 0.86993 | 0.85098 | 0.815395 | 0.769463 | 0.749247 | 0 | 0.024009 | 0.189543 | 35,306 | 546 | 160 | 64.663004 | 0.776403 | 0.094432 | 0 | 0.432796 | 0 | 0.034946 | 0.286461 | 0.180416 | 0 | 0 | 0 | 0 | 0.252688 | 1 | 0.094086 | false | 0.120968 | 0.021505 | 0 | 0.123656 | 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 |
00cf437c53a6909117975e46fbd7af7484ec2beb | 3,087 | py | Python | bench/drawingarea.py | Edlward/foc_esc | 58425c0ce5865c077ce313bd672b971380f2edad | [
"MIT"
] | 67 | 2015-07-12T18:08:43.000Z | 2022-03-05T07:05:01.000Z | bench/drawingarea.py | Edlward/foc_esc | 58425c0ce5865c077ce313bd672b971380f2edad | [
"MIT"
] | 1 | 2015-09-08T14:01:46.000Z | 2015-09-09T01:36:22.000Z | bench/drawingarea.py | gtoonstra/foc_esc | 58425c0ce5865c077ce313bd672b971380f2edad | [
"MIT"
] | 44 | 2015-07-17T14:59:07.000Z | 2021-02-20T13:55:14.000Z | from gi.repository import Gtk, Gdk, GObject
class Graph2(Gtk.DrawingArea):
def __init__ (self, ymin, ymax):
Gtk.DrawingArea.__init__(self)
self.set_size_request( 1024, 200 )
self.scale = 200.0 / (ymax+abs(ymin))
self.mid = ymax * self.scale
self.connect("draw", self.draw)
... | 31.824742 | 61 | 0.567217 | 469 | 3,087 | 3.614072 | 0.162047 | 0.049558 | 0.053687 | 0.041298 | 0.940413 | 0.915634 | 0.907375 | 0.907375 | 0.895575 | 0.886136 | 0 | 0.06131 | 0.302559 | 3,087 | 96 | 62 | 32.15625 | 0.725964 | 0.09621 | 0 | 0.84 | 0 | 0 | 0.013654 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.106667 | false | 0 | 0.013333 | 0 | 0.2 | 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 |
dab4579d702a848311339ac8977c14dccf25a458 | 238 | py | Python | balebot/handlers/__init__.py | ehsanbarkhordar/reminder_bot | c72e664c71658dd2ec30bb610ffc836b53f000b9 | [
"MIT"
] | 24 | 2018-07-08T12:17:55.000Z | 2022-03-05T22:00:28.000Z | balebot/handlers/__init__.py | ehsanbarkhordar/reminder_bot | c72e664c71658dd2ec30bb610ffc836b53f000b9 | [
"MIT"
] | 21 | 2018-08-30T03:18:25.000Z | 2022-03-11T23:36:16.000Z | balebot/handlers/__init__.py | ehsanbarkhordar/reminder_bot | c72e664c71658dd2ec30bb610ffc836b53f000b9 | [
"MIT"
] | 12 | 2018-07-07T08:29:12.000Z | 2022-03-05T22:00:05.000Z | from balebot.handlers.handler import Handler
from balebot.handlers.command_handler import CommandHandler
from balebot.handlers.message_handler import MessageHandler
from balebot.handlers.quoted_message_handler import QuotedMessageHandler
| 47.6 | 72 | 0.89916 | 28 | 238 | 7.5 | 0.392857 | 0.209524 | 0.361905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067227 | 238 | 4 | 73 | 59.5 | 0.945946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 |
dadc05745a3021ec9080af010196fd98d5a2a847 | 216 | py | Python | mlprogram/datasets/hearthstone/__init__.py | HiroakiMikami/mlprogram | 573e94c567064705fa65267dd83946bf183197de | [
"MIT"
] | 9 | 2020-05-24T11:25:01.000Z | 2022-03-28T15:32:10.000Z | mlprogram/datasets/hearthstone/__init__.py | HiroakiMikami/mlprogram | 573e94c567064705fa65267dd83946bf183197de | [
"MIT"
] | 87 | 2020-05-09T08:56:55.000Z | 2022-03-31T14:46:45.000Z | mlprogram/datasets/hearthstone/__init__.py | HiroakiMikami/NL2Prog | 573e94c567064705fa65267dd83946bf183197de | [
"MIT"
] | 3 | 2021-02-22T20:38:29.000Z | 2021-11-11T18:48:44.000Z | from mlprogram.datasets.hearthstone.download import download # noqa
from mlprogram.datasets.hearthstone.functions import SplitValue # noqa
from mlprogram.datasets.hearthstone.functions import TokenizeQuery # noqa
| 54 | 74 | 0.847222 | 24 | 216 | 7.625 | 0.416667 | 0.213115 | 0.344262 | 0.52459 | 0.557377 | 0.557377 | 0.557377 | 0 | 0 | 0 | 0 | 0 | 0.097222 | 216 | 3 | 75 | 72 | 0.938462 | 0.064815 | 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 |
daec11661098ac8cb670594f9f557bee239e2ac9 | 146 | py | Python | modules/sr/robot/utils.py | 13ros27/competition-simulator | 4dfea0e92c12fa9e9656ce273db3d240aee34bc4 | [
"MIT"
] | null | null | null | modules/sr/robot/utils.py | 13ros27/competition-simulator | 4dfea0e92c12fa9e9656ce273db3d240aee34bc4 | [
"MIT"
] | null | null | null | modules/sr/robot/utils.py | 13ros27/competition-simulator | 4dfea0e92c12fa9e9656ce273db3d240aee34bc4 | [
"MIT"
] | null | null | null | def map_to_range(old_min, old_max, new_min, new_max, value):
return ((value - old_min) / (old_max - old_min)) * (new_max - new_min) + new_min
| 48.666667 | 84 | 0.691781 | 27 | 146 | 3.296296 | 0.37037 | 0.202247 | 0.202247 | 0.269663 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164384 | 146 | 2 | 85 | 73 | 0.729508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 | 8 |
977fc2a804cfdbabfb3f6020363ede8bc259b052 | 58,714 | py | Python | sdk/python/pulumi_f5bigip/ltm/monitor.py | pulumi/pulumi-f5bigip | 4bce074f8bd7cb42f359ef4814ca5b437230fd1c | [
"ECL-2.0",
"Apache-2.0"
] | 4 | 2018-12-21T23:30:33.000Z | 2021-10-12T16:38:27.000Z | sdk/python/pulumi_f5bigip/ltm/monitor.py | pulumi/pulumi-f5bigip | 4bce074f8bd7cb42f359ef4814ca5b437230fd1c | [
"ECL-2.0",
"Apache-2.0"
] | 61 | 2019-01-09T01:50:19.000Z | 2022-03-31T15:27:17.000Z | sdk/python/pulumi_f5bigip/ltm/monitor.py | pulumi/pulumi-f5bigip | 4bce074f8bd7cb42f359ef4814ca5b437230fd1c | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2019-10-05T10:36:30.000Z | 2019-10-05T10:36:30.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... | 48.564103 | 435 | 0.655823 | 7,254 | 58,714 | 5.183347 | 0.039702 | 0.08484 | 0.078191 | 0.080745 | 0.957553 | 0.951223 | 0.934069 | 0.925479 | 0.924122 | 0.915904 | 0 | 0.002379 | 0.248373 | 58,714 | 1,208 | 436 | 48.604305 | 0.84963 | 0.419423 | 0 | 0.888092 | 1 | 0 | 0.07149 | 0.000866 | 0 | 0 | 0 | 0 | 0 | 1 | 0.167862 | false | 0.034433 | 0.007174 | 0 | 0.275466 | 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 |
9791da6a59f8a2f414b93856dd8cfea232ce18e9 | 6,245 | py | Python | api/tournaments/tests/test_model.py | BerniWittmann/beachanmeldung | 9014dea5c31ea9e26f18d753d8d836741865c38e | [
"Unlicense",
"MIT"
] | null | null | null | api/tournaments/tests/test_model.py | BerniWittmann/beachanmeldung | 9014dea5c31ea9e26f18d753d8d836741865c38e | [
"Unlicense",
"MIT"
] | 5 | 2020-06-05T17:31:08.000Z | 2022-03-11T23:16:12.000Z | api/tournaments/tests/test_model.py | BerniWittmann/beachanmeldung | 9014dea5c31ea9e26f18d753d8d836741865c38e | [
"Unlicense",
"MIT"
] | null | null | null | from django.test import TestCase
from django.utils import timezone
from django.utils.translation import activate
from api.accounts.models import MyUser
from api.enums import TeamStateTypes
from api.team.models import Team
from api.tournaments.models import Tournament
activate('en-us')
class Tournaments(TestCase):
... | 41.357616 | 66 | 0.63795 | 685 | 6,245 | 5.632117 | 0.157664 | 0.203214 | 0.147745 | 0.225505 | 0.798082 | 0.7662 | 0.755832 | 0.74676 | 0.746501 | 0.7338 | 0 | 0.023499 | 0.264051 | 6,245 | 150 | 67 | 41.633333 | 0.815927 | 0 | 0 | 0.561538 | 0 | 0 | 0.039872 | 0 | 0 | 0 | 0 | 0 | 0.315385 | 1 | 0.076923 | false | 0.007692 | 0.053846 | 0 | 0.153846 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8ae6cc94ade51343b5fae69a32caf69b7bbcb66f | 1,009 | py | Python | files and exceptions/files/text files/learning python/learning_python.py | DarkShadow4/python | 4cd94e0cf53ee06c9c31e9272572ca9656697c30 | [
"MIT"
] | null | null | null | files and exceptions/files/text files/learning python/learning_python.py | DarkShadow4/python | 4cd94e0cf53ee06c9c31e9272572ca9656697c30 | [
"MIT"
] | null | null | null | files and exceptions/files/text files/learning python/learning_python.py | DarkShadow4/python | 4cd94e0cf53ee06c9c31e9272572ca9656697c30 | [
"MIT"
] | 1 | 2020-08-19T17:25:22.000Z | 2020-08-19T17:25:22.000Z | filename = "learning_python.txt"
FileNotFoundError = IOError
try:
with open(filename) as file:
wtf = file.read()
print wtf.rstrip()
except FileNotFoundError:
with open(filename, "a") as file:
file.write("FOOL")
try:
with open(filename) as file:
for line in file:
... | 21.934783 | 78 | 0.618434 | 128 | 1,009 | 4.820313 | 0.210938 | 0.103728 | 0.207455 | 0.105348 | 0.844408 | 0.844408 | 0.80389 | 0.80389 | 0.80389 | 0.80389 | 0 | 0 | 0.268583 | 1,009 | 45 | 79 | 22.422222 | 0.836043 | 0 | 0 | 0.815789 | 0 | 0 | 0.054509 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.105263 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
c124a66b91a1e15f2ce51f75eea44abe0d0ecde8 | 2,157 | py | Python | panclassif/binarymerge.py | Kazi1318914/panclassif | 56a57f5411eface902206e0cecf110d478433617 | [
"MIT"
] | 1 | 2021-08-05T10:17:46.000Z | 2021-08-05T10:17:46.000Z | panclassif/binarymerge.py | Zwei-inc/panclassif | 1cfe5434a10572b40ea845e885564b9ebfb88572 | [
"MIT"
] | null | null | null | panclassif/binarymerge.py | Zwei-inc/panclassif | 1cfe5434a10572b40ea845e885564b9ebfb88572 | [
"MIT"
] | 2 | 2021-05-27T10:15:04.000Z | 2021-08-15T06:30:26.000Z | def btrain(names,homepath):
import numpy as np
import pandas as pd
import warnings
warnings.filterwarnings("ignore")
#reading data and doing work
cresult=pd.DataFrame()
nresult=pd.DataFrame()
for index in range(len(names)):
Cancer = pd.read_csv(homepath+"/train_data/cancer/"+
... | 34.790323 | 85 | 0.639314 | 282 | 2,157 | 4.804965 | 0.191489 | 0.035424 | 0.026568 | 0.050185 | 0.987454 | 0.987454 | 0.97417 | 0.960886 | 0.960886 | 0.960886 | 0 | 0.011912 | 0.221604 | 2,157 | 62 | 86 | 34.790323 | 0.795116 | 0.085304 | 0 | 0.772727 | 0 | 0 | 0.138437 | 0.061877 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0 | 0.136364 | 0 | 0.181818 | 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 |
c162c314152224f3b9852862524793f3f43714da | 120 | py | Python | canteenWeb/permissions.py | Atharva1111/canteen-automation-web | 85eabde9f56179da3cc98797fdb7192b79bc5b19 | [
"MIT"
] | null | null | null | canteenWeb/permissions.py | Atharva1111/canteen-automation-web | 85eabde9f56179da3cc98797fdb7192b79bc5b19 | [
"MIT"
] | null | null | null | canteenWeb/permissions.py | Atharva1111/canteen-automation-web | 85eabde9f56179da3cc98797fdb7192b79bc5b19 | [
"MIT"
] | null | null | null | from rest_framework.permissions import IsAuthenticatedOrReadOnly
from rest_framework.permissions import IsAuthenticated
| 40 | 64 | 0.916667 | 12 | 120 | 9 | 0.583333 | 0.148148 | 0.314815 | 0.518519 | 0.62963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 120 | 2 | 65 | 60 | 0.964286 | 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 |
c17989cb161fdac808f4438a1b97f375d296d729 | 174 | py | Python | incasem/pipeline/sources/__init__.py | kirchhausenlab/incasem | ee9e007c5c04571e547e2fb5af5e800bd2d2b435 | [
"BSD-3-Clause"
] | null | null | null | incasem/pipeline/sources/__init__.py | kirchhausenlab/incasem | ee9e007c5c04571e547e2fb5af5e800bd2d2b435 | [
"BSD-3-Clause"
] | null | null | null | incasem/pipeline/sources/__init__.py | kirchhausenlab/incasem | ee9e007c5c04571e547e2fb5af5e800bd2d2b435 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import absolute_import
from .data_sources_semantic import DataSourcesSemantic
from .data_sources_semantic_with_context import DataSourcesSemanticWithContext
| 34.8 | 78 | 0.913793 | 19 | 174 | 7.789474 | 0.578947 | 0.108108 | 0.202703 | 0.310811 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074713 | 174 | 4 | 79 | 43.5 | 0.919255 | 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 |
c1b7ef90deeccbb103879acdd82a168e1f2952ae | 26 | py | Python | variables/var1.py | Anilkumar95/python-75-hackathon | 0cc9304e46ceace826090614b46d8048a068d106 | [
"MIT"
] | null | null | null | variables/var1.py | Anilkumar95/python-75-hackathon | 0cc9304e46ceace826090614b46d8048a068d106 | [
"MIT"
] | null | null | null | variables/var1.py | Anilkumar95/python-75-hackathon | 0cc9304e46ceace826090614b46d8048a068d106 | [
"MIT"
] | 2 | 2019-01-27T16:59:48.000Z | 2019-01-29T13:07:40.000Z | y=v=p=9000
print(y, v, p)
| 8.666667 | 14 | 0.576923 | 8 | 26 | 1.875 | 0.625 | 0.266667 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 0.153846 | 26 | 2 | 15 | 13 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
c1e9aaaf2f9021fdd80b903afd18e1ff88259640 | 13,697 | py | Python | pytorch_lm/rnn/rhn.py | DavidNemeskey/pytorch_lm | 5ef28d863db5da5d88f3d7a6860b75065894c96a | [
"MIT"
] | null | null | null | pytorch_lm/rnn/rhn.py | DavidNemeskey/pytorch_lm | 5ef28d863db5da5d88f3d7a6860b75065894c96a | [
"MIT"
] | 8 | 2018-03-05T15:57:40.000Z | 2019-02-14T13:53:07.000Z | pytorch_lm/rnn/rhn.py | DavidNemeskey/pytorch_lm | 5ef28d863db5da5d88f3d7a6860b75065894c96a | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# vim: set fileencoding=utf-8 :
"""Implements Recurrent Highway Networks from Zilly et al. (2017)."""
import torch
import torch.nn as nn
from torch.autograd import Variable
from pytorch_lm.dropout import create_dropout
class RhnBase(nn.Module):
"""Just the few things that are common to a... | 44.908197 | 86 | 0.575162 | 2,004 | 13,697 | 3.715569 | 0.078842 | 0.063121 | 0.058286 | 0.036933 | 0.877384 | 0.871743 | 0.862342 | 0.856164 | 0.853881 | 0.842734 | 0 | 0.011598 | 0.307586 | 13,697 | 304 | 87 | 45.055921 | 0.773513 | 0.120318 | 0 | 0.752381 | 0 | 0 | 0.009715 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.019048 | 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 |
a9e77b7c562b88797d2751ce704e9dfde52da7c8 | 74 | py | Python | datamol/scaffold/__init__.py | hengwei-chan/fragmentation_and_assemble | 35b56dd1c97cfa6731bcbfd68c3eb01bfcd7668f | [
"Apache-2.0"
] | 130 | 2021-04-08T11:15:27.000Z | 2022-03-25T01:51:47.000Z | datamol/scaffold/__init__.py | hengwei-chan/fragmentation_and_assemble | 35b56dd1c97cfa6731bcbfd68c3eb01bfcd7668f | [
"Apache-2.0"
] | 72 | 2021-04-08T11:46:51.000Z | 2022-03-29T01:27:41.000Z | datamol/scaffold/__init__.py | hengwei-chan/fragmentation_and_assemble | 35b56dd1c97cfa6731bcbfd68c3eb01bfcd7668f | [
"Apache-2.0"
] | 11 | 2021-04-20T10:27:38.000Z | 2022-03-07T07:29:30.000Z | from ._fuzzy import trim_side_chain
from ._fuzzy import fuzzy_scaffolding
| 24.666667 | 37 | 0.864865 | 11 | 74 | 5.363636 | 0.636364 | 0.305085 | 0.508475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 74 | 2 | 38 | 37 | 0.893939 | 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 |
e71648210307ad389e0a0d10d62767d2f521d5f1 | 2,776 | py | Python | tests/test_query.py | billyrrr/firestore-odm | 1a63c51a13a6025d7dd05630091619644c41cba0 | [
"MIT"
] | 1 | 2021-05-01T11:58:52.000Z | 2021-05-01T11:58:52.000Z | tests/test_query.py | billyrrr/firestore-odm | 1a63c51a13a6025d7dd05630091619644c41cba0 | [
"MIT"
] | null | null | null | tests/test_query.py | billyrrr/firestore-odm | 1a63c51a13a6025d7dd05630091619644c41cba0 | [
"MIT"
] | null | null | null | import pytest
from .fixtures import CTX
from .city_fixtures import setup_cities, City
from firestore_odm.cmp import v
@pytest.mark.usefixtures("setup_cities")
def test_query_with_attr_str():
expected_dict = {
'Washington D.C.': {
'cityName': 'Washington D.C.',
'country': 'USA',
... | 28.040404 | 74 | 0.493156 | 283 | 2,776 | 4.646643 | 0.204947 | 0.053232 | 0.073004 | 0.073004 | 0.918631 | 0.918631 | 0.918631 | 0.918631 | 0.918631 | 0.845627 | 0 | 0 | 0.340058 | 2,776 | 98 | 75 | 28.326531 | 0.717795 | 0 | 0 | 0.804878 | 0 | 0 | 0.322883 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 1 | 0.02439 | false | 0 | 0.04878 | 0 | 0.073171 | 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 |
e7a7faae6fcfca06d1450576ae9a1b6fa747e3b6 | 73 | py | Python | django/myvenv/lib/python3.8/site-packages/krwordrank/word/__init__.py | mu1616/relay_06 | 9db6385c88d06cad861245f80c2b1799170be905 | [
"MIT"
] | 4 | 2020-07-27T02:50:37.000Z | 2021-04-06T09:48:30.000Z | django/myvenv/lib/python3.8/site-packages/krwordrank/word/__init__.py | mu1616/relay_06 | 9db6385c88d06cad861245f80c2b1799170be905 | [
"MIT"
] | 2 | 2020-08-07T07:33:37.000Z | 2020-08-16T14:50:56.000Z | django/myvenv/lib/python3.8/site-packages/krwordrank/word/__init__.py | mu1616/relay_06 | 9db6385c88d06cad861245f80c2b1799170be905 | [
"MIT"
] | 11 | 2020-07-31T08:20:43.000Z | 2020-08-21T04:08:29.000Z | from ._word import summarize_with_keywords
from ._word import KRWordRank
| 24.333333 | 42 | 0.863014 | 10 | 73 | 5.9 | 0.7 | 0.271186 | 0.474576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109589 | 73 | 2 | 43 | 36.5 | 0.907692 | 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 |
e7b45320600a71d6d7c3ad6f81e0326bcc545405 | 295 | py | Python | aior/components/__init__.py | Dephin/aior | f0810eb5dadecc3ca2597094a7636509ef69584d | [
"MIT"
] | null | null | null | aior/components/__init__.py | Dephin/aior | f0810eb5dadecc3ca2597094a7636509ef69584d | [
"MIT"
] | null | null | null | aior/components/__init__.py | Dephin/aior | f0810eb5dadecc3ca2597094a7636509ef69584d | [
"MIT"
] | null | null | null | from aior.components.http_exceptions import *
from aior.components.http_handler import *
from aior.components.http_status import *
from aior.components.ws_exceptions import *
from aior.components.ws_handlers import *
from aior.components.stdin_handler import *
from aior.components.dao import *
| 36.875 | 45 | 0.833898 | 41 | 295 | 5.853659 | 0.292683 | 0.233333 | 0.525 | 0.6 | 0.691667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094915 | 295 | 7 | 46 | 42.142857 | 0.898876 | 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 |
e7c1e26930af54df50d0c5f79a0f2444ca975802 | 39,333 | py | Python | sdk/python/pulumi_azure/desktopvirtualization/scaling_plan.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/desktopvirtualization/scaling_plan.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/desktopvirtualization/scaling_plan.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 51.214844 | 343 | 0.661785 | 4,482 | 39,333 | 5.622936 | 0.07519 | 0.07551 | 0.058884 | 0.049758 | 0.927863 | 0.916396 | 0.905325 | 0.895088 | 0.889255 | 0.870883 | 0 | 0.005532 | 0.241731 | 39,333 | 767 | 344 | 51.281617 | 0.839464 | 0.489691 | 0 | 0.775568 | 1 | 0 | 0.10916 | 0.030894 | 0 | 0 | 0 | 0 | 0 | 1 | 0.161932 | false | 0.002841 | 0.019886 | 0 | 0.278409 | 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 |
99bd776d214bf75318cac9ecc8345a43d80fbccb | 172 | py | Python | commands/validate.py | maxachis/city-scrapers-pitt | 63150a522a512d35b64e4068e25169cf46875598 | [
"MIT"
] | 5 | 2020-03-26T05:22:20.000Z | 2021-04-22T12:28:56.000Z | commands/validate.py | maxachis/city-scrapers-pitt | 63150a522a512d35b64e4068e25169cf46875598 | [
"MIT"
] | 109 | 2020-02-09T21:42:36.000Z | 2021-03-06T21:41:18.000Z | commands/validate.py | maxachis/city-scrapers-pitt | 63150a522a512d35b64e4068e25169cf46875598 | [
"MIT"
] | 15 | 2020-05-29T22:43:34.000Z | 2021-02-20T02:59:44.000Z | """Import the "validate" command from the city_scrapers_core project"""
import city_scrapers_core.commands.validate as validate
class Command(validate.Command):
pass
| 24.571429 | 71 | 0.796512 | 23 | 172 | 5.782609 | 0.565217 | 0.225564 | 0.240602 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122093 | 172 | 6 | 72 | 28.666667 | 0.880795 | 0.377907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 8 |
822fe6af386d68d335dbaa910f601172261baec0 | 42,114 | py | Python | carbondesign/tests/test_modal_html.py | dozymoe/django-carbondesign | 34aed0cfdccfa90fcb5bf2bbd347229815f1417b | [
"MIT"
] | null | null | null | carbondesign/tests/test_modal_html.py | dozymoe/django-carbondesign | 34aed0cfdccfa90fcb5bf2bbd347229815f1417b | [
"MIT"
] | null | null | null | carbondesign/tests/test_modal_html.py | dozymoe/django-carbondesign | 34aed0cfdccfa90fcb5bf2bbd347229815f1417b | [
"MIT"
] | null | null | null | # pylint:disable=missing-module-docstring,missing-class-docstring,missing-function-docstring,too-many-lines
from .base import compare_template, SimpleTestCase
class ModalHtmlTest(SimpleTestCase):
maxDiff = None
def test_danger(self):
template = """
{% load carbondesign %}
{% ModalTrigger variant="dang... | 39.994302 | 151 | 0.660802 | 5,695 | 42,114 | 4.861984 | 0.030904 | 0.045758 | 0.062407 | 0.037379 | 0.979559 | 0.978114 | 0.977681 | 0.977681 | 0.972119 | 0.972119 | 0 | 0.032468 | 0.189676 | 42,114 | 1,052 | 152 | 40.032319 | 0.778908 | 0.002493 | 0 | 0.961698 | 0 | 0.099379 | 0.934797 | 0.157426 | 0 | 0 | 0 | 0 | 0.015528 | 1 | 0.015528 | false | 0.008282 | 0.001035 | 0 | 0.018634 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
41ad4d8a263594c618326a8ec9e354b63d83747c | 27,451 | py | Python | tests/test_extractor_api_srpd.py | isabella232/comport | 117123862415261095a917ed7f2037c1f986b474 | [
"BSD-3-Clause"
] | 35 | 2015-11-14T18:32:45.000Z | 2022-01-23T15:15:05.000Z | tests/test_extractor_api_srpd.py | codeforamerica/comport | 117123862415261095a917ed7f2037c1f986b474 | [
"BSD-3-Clause"
] | 119 | 2015-11-20T22:45:34.000Z | 2022-02-10T23:02:36.000Z | tests/test_extractor_api_srpd.py | isabella232/comport | 117123862415261095a917ed7f2037c1f986b474 | [
"BSD-3-Clause"
] | 19 | 2015-11-20T20:41:52.000Z | 2022-01-26T04:12:34.000Z | # -*- coding: utf-8 -*-
import pytest
from comport.department.models import Department, Extractor
from comport.data.models import IncidentsUpdated, OfficerInvolvedShootingSRPD, UseOfForceIncidentSRPD, CitizenComplaintSRPD, PursuitSRPD
from testclient.JSON_test_client import JSONTestClient
@pytest.mark.usefixtures('db'... | 48.585841 | 136 | 0.682635 | 3,468 | 27,451 | 5.234429 | 0.041522 | 0.023798 | 0.03768 | 0.045612 | 0.966562 | 0.956426 | 0.945243 | 0.937311 | 0.936209 | 0.936209 | 0 | 0.008389 | 0.231431 | 27,451 | 564 | 137 | 48.671986 | 0.852024 | 0.259043 | 0 | 0.820144 | 0 | 0 | 0.088351 | 0 | 0 | 0 | 0 | 0 | 0.330935 | 1 | 0.028777 | false | 0.057554 | 0.014388 | 0 | 0.046763 | 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 |
68f790357010088dbe1f74ae361a38867701d162 | 14,765 | py | Python | src/edge/tests/test_crispr.py | pflans/edge | d84de02bd9b334212b7405ecc4e68d3a209add99 | [
"MIT"
] | 32 | 2017-05-15T06:03:46.000Z | 2022-02-18T08:30:19.000Z | src/edge/tests/test_crispr.py | pflans/edge | d84de02bd9b334212b7405ecc4e68d3a209add99 | [
"MIT"
] | 36 | 2017-05-11T01:29:14.000Z | 2022-02-10T07:31:24.000Z | src/edge/tests/test_crispr.py | pflans/edge | d84de02bd9b334212b7405ecc4e68d3a209add99 | [
"MIT"
] | 4 | 2017-09-19T18:10:45.000Z | 2019-11-29T03:38:08.000Z | import os
import json
from django.test import TestCase
from edge.models import Genome, Operation, Fragment, Genome_Fragment
from edge.blastdb import build_all_genome_dbs, fragment_fasta_fn
from edge.crispr import find_crispr_target, crispr_dsb
from Bio.Seq import Seq
class GenomeCrisprDSBTest(TestCase):
def build... | 42.065527 | 91 | 0.618083 | 1,924 | 14,765 | 4.5842 | 0.081601 | 0.201361 | 0.077098 | 0.071429 | 0.888776 | 0.869841 | 0.860431 | 0.814966 | 0.800454 | 0.7822 | 0 | 0.036271 | 0.240027 | 14,765 | 350 | 92 | 42.185714 | 0.749755 | 0.006231 | 0 | 0.685897 | 0 | 0 | 0.09516 | 0.071166 | 0 | 0 | 0 | 0 | 0.36859 | 1 | 0.060897 | false | 0.003205 | 0.022436 | 0 | 0.089744 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ec03bd161822f59fb15461d3fc97fd4e9b0e7932 | 15,197 | py | Python | fnat_testset/testcase/lrg2/static_address.py | lizhouw-netscout/fnat | 684958773379a9205857f1932de443ed0c4334a0 | [
"Apache-2.0"
] | null | null | null | fnat_testset/testcase/lrg2/static_address.py | lizhouw-netscout/fnat | 684958773379a9205857f1932de443ed0c4334a0 | [
"Apache-2.0"
] | null | null | null | fnat_testset/testcase/lrg2/static_address.py | lizhouw-netscout/fnat | 684958773379a9205857f1932de443ed0c4334a0 | [
"Apache-2.0"
] | null | null | null | from fnat_dev import FnatDevice
from lrg2_app import app_lrg2
import time
def setUp():
print('These are Static_ip_address testset')
def tearDown():
print('These are Static_ip_address testset')
def testmethod_1():
'''<case_id>63</case_id>'''
print "Method testmethod_1 in class Static_ip_address_test s... | 38.376263 | 125 | 0.727907 | 2,369 | 15,197 | 4.311102 | 0.050654 | 0.149222 | 0.079702 | 0.123176 | 0.962107 | 0.92627 | 0.913835 | 0.912562 | 0.905121 | 0.899148 | 0 | 0.085302 | 0.142199 | 15,197 | 395 | 126 | 38.473418 | 0.698144 | 0 | 0 | 0.75502 | 0 | 0 | 0.21065 | 0.035501 | 0 | 0 | 0 | 0 | 0.164659 | 0 | null | null | 0 | 0.012048 | null | null | 0.104418 | 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 |
ec3abe09d2474992ff87046d9858c36dbc11e109 | 17,408 | py | Python | sdk/python/pulumi_openstack/compute/keypair.py | pulumi/pulumi-openstack | 945eed22a82784e9f0b3aa56168b2397c2f503e8 | [
"ECL-2.0",
"Apache-2.0"
] | 34 | 2018-09-12T12:37:51.000Z | 2022-02-04T19:32:13.000Z | sdk/python/pulumi_openstack/compute/keypair.py | pulumi/pulumi-openstack | 945eed22a82784e9f0b3aa56168b2397c2f503e8 | [
"ECL-2.0",
"Apache-2.0"
] | 72 | 2018-08-15T13:04:57.000Z | 2022-03-31T15:39:49.000Z | sdk/python/pulumi_openstack/compute/keypair.py | pulumi/pulumi-openstack | 945eed22a82784e9f0b3aa56168b2397c2f503e8 | [
"ECL-2.0",
"Apache-2.0"
] | 7 | 2019-03-14T08:28:49.000Z | 2021-12-29T04:23:55.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... | 42.150121 | 134 | 0.630055 | 2,123 | 17,408 | 4.996703 | 0.080546 | 0.070513 | 0.069947 | 0.072587 | 0.838424 | 0.815422 | 0.790913 | 0.781109 | 0.776301 | 0.755373 | 0 | 0.000637 | 0.278722 | 17,408 | 412 | 135 | 42.252427 | 0.844218 | 0.396484 | 0 | 0.700483 | 1 | 0 | 0.075795 | 0.003558 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15942 | false | 0.004831 | 0.024155 | 0 | 0.280193 | 0.062802 | 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 |
ec42461ec8cb2542453e4675001f770b9463abf9 | 6,011 | py | Python | modules/ESP32/marker.py | ccccmagicboy/MicroPython_fw | d2049bc19e3d5010f5d6d0d17aa13a8693914fbd | [
"MIT"
] | 23 | 2020-01-22T00:40:20.000Z | 2021-08-03T20:42:07.000Z | modules/ESP32/marker.py | ccccmagicboy/MicroPython_fw | d2049bc19e3d5010f5d6d0d17aa13a8693914fbd | [
"MIT"
] | 10 | 2020-02-18T09:57:04.000Z | 2020-03-04T11:39:17.000Z | modules/ESP32/marker.py | ccccmagicboy/MicroPython_fw | d2049bc19e3d5010f5d6d0d17aa13a8693914fbd | [
"MIT"
] | 5 | 2020-02-20T09:35:45.000Z | 2022-01-04T16:23:13.000Z | def glyphs():
return 97
_font =\
b'\x00\x4a\x5a\x00\x4a\x5a\x00\x4a\x5a\x00\x4a\x5a\x00\x4a\x5a'\
b'\x00\x4a\x5a\x00\x4a\x5a\x00\x4a\x5a\x00\x4a\x5a\x00\x4a\x5a'\
b'\x00\x4a\x5a\x00\x4a\x5a\x00\x4a\x5a\x00\x4a\x5a\x00\x4a\x5a'\
b'\x00\x4a\x5a\x00\x4a\x5a\x00\x4a\x5a\x00\x4a\x5a\x00\x4a\x5a'\
b'\x00\x4a\x5a\x00\x4a\x5... | 55.657407 | 65 | 0.70371 | 1,444 | 6,011 | 2.92036 | 0.077562 | 0.099597 | 0.123785 | 0.142281 | 0.652597 | 0.634337 | 0.631492 | 0.631492 | 0.631492 | 0.6258 | 0 | 0.377478 | 0.026452 | 6,011 | 107 | 66 | 56.17757 | 0.343131 | 0 | 0 | 0.11 | 0 | 0.87 | 0.869862 | 0.868031 | 0 | 1 | 0 | 0 | 0 | 1 | 0.03 | false | 0 | 0 | 0.01 | 0.06 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6b99ab243dbdc7a69bfedc4fb8316ef8d9a78d47 | 579 | py | Python | Exercicios-mundo-3/desafio109/moeda.py | talitadeoa/Exercicios-Python | 6ffac5b403ef4636d8b7b37aba7998dade8a88b8 | [
"MIT"
] | null | null | null | Exercicios-mundo-3/desafio109/moeda.py | talitadeoa/Exercicios-Python | 6ffac5b403ef4636d8b7b37aba7998dade8a88b8 | [
"MIT"
] | null | null | null | Exercicios-mundo-3/desafio109/moeda.py | talitadeoa/Exercicios-Python | 6ffac5b403ef4636d8b7b37aba7998dade8a88b8 | [
"MIT"
] | null | null | null |
def aumentar(n,p,formatar=False):
v = n + (n * p / 100)
if formatar:
return moeda(v)
else:
return v
def diminuir(n,p,formatar=False):
v = n - (n * p / 100)
if formatar:
return moeda(v)
else:
return v
def dobro(n,formatar=False):
v = n*2
if... | 18.677419 | 48 | 0.497409 | 83 | 579 | 3.46988 | 0.253012 | 0.027778 | 0.194444 | 0.208333 | 0.770833 | 0.770833 | 0.770833 | 0.770833 | 0.770833 | 0.770833 | 0 | 0.02973 | 0.360967 | 579 | 31 | 48 | 18.677419 | 0.748649 | 0 | 0 | 0.615385 | 0 | 0 | 0.034542 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.192308 | false | 0 | 0 | 0.038462 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
6bc35ece46343c2ebbafdb1fa987096a59fe0110 | 5,664 | py | Python | tests/analyzer/test_measure_mapping.py | CMSgov/qpp-claims-to-quality-public | 1e2da9494faf9e316a17cbe899284db9e61d0902 | [
"CC0-1.0"
] | 13 | 2018-09-28T14:02:59.000Z | 2021-12-07T21:31:54.000Z | tests/analyzer/test_measure_mapping.py | CMSgov/qpp-claims-to-quality-public | 1e2da9494faf9e316a17cbe899284db9e61d0902 | [
"CC0-1.0"
] | 1 | 2018-10-01T17:49:05.000Z | 2018-10-09T01:10:56.000Z | tests/analyzer/test_measure_mapping.py | CMSgov/qpp-claims-to-quality-public | 1e2da9494faf9e316a17cbe899284db9e61d0902 | [
"CC0-1.0"
] | 1 | 2021-02-08T18:32:16.000Z | 2021-02-08T18:32:16.000Z | """Tests for measure_mapping file."""
from claims_to_quality.analyzer import measure_mapping
from claims_to_quality.analyzer.calculation import intersecting_diagnosis_measure
from claims_to_quality.analyzer.calculation.patient_process_measure import PatientProcessMeasure
from claims_to_quality.analyzer.datasource impor... | 43.236641 | 100 | 0.71363 | 652 | 5,664 | 5.937117 | 0.193252 | 0.0558 | 0.031 | 0.024541 | 0.84216 | 0.798243 | 0.77861 | 0.735727 | 0.735727 | 0.735727 | 0 | 0.009768 | 0.222811 | 5,664 | 130 | 101 | 43.569231 | 0.869605 | 0.235523 | 0 | 0.658537 | 0 | 0 | 0.017623 | 0.013813 | 0 | 0 | 0 | 0.023077 | 0.109756 | 1 | 0.146341 | false | 0 | 0.073171 | 0 | 0.243902 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6bc3e461a2c620a6edc793fca36d4ce521d00f0a | 12,093 | py | Python | examples/tests/test_examples.py | grantmjg/beluga | 2b06a1ae3de30f5fb98d78188f40e33cd8b155f1 | [
"MIT"
] | null | null | null | examples/tests/test_examples.py | grantmjg/beluga | 2b06a1ae3de30f5fb98d78188f40e33cd8b155f1 | [
"MIT"
] | null | null | null | examples/tests/test_examples.py | grantmjg/beluga | 2b06a1ae3de30f5fb98d78188f40e33cd8b155f1 | [
"MIT"
] | null | null | null | tol = 1e-3
def test_brachistochrone_shooting():
from math import pi
import beluga
from beluga.ivpsol import Trajectory
from beluga.bvpsol import Solution
ocp = beluga.OCP('brachisto')
# Define independent variables
ocp.independent('t', 's')
# Define equations of motion
ocp.stat... | 31.248062 | 155 | 0.57463 | 1,908 | 12,093 | 3.574948 | 0.095912 | 0.12139 | 0.151297 | 0.086204 | 0.808239 | 0.774227 | 0.753848 | 0.750916 | 0.744172 | 0.741534 | 0 | 0.084064 | 0.235674 | 12,093 | 386 | 156 | 31.329016 | 0.6539 | 0.060117 | 0 | 0.745455 | 0 | 0.003636 | 0.080745 | 0 | 0 | 0 | 0 | 0 | 0.443636 | 1 | 0.021818 | false | 0 | 0.050909 | 0.007273 | 0.08 | 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 |
d4242f62c7592082857aa1423dd2e99d9f4ae7fc | 9,240 | py | Python | ccws/test/test_okex.py | applezjm/testsub | 051348bb852d8e3cefe764a6315f53da66cd413e | [
"MIT"
] | null | null | null | ccws/test/test_okex.py | applezjm/testsub | 051348bb852d8e3cefe764a6315f53da66cd413e | [
"MIT"
] | null | null | null | ccws/test/test_okex.py | applezjm/testsub | 051348bb852d8e3cefe764a6315f53da66cd413e | [
"MIT"
] | null | null | null | from interruptingcow import timeout
from ccws.okex import Okex
from ccws.test.test_base import Test
from ccws.configs import HOME_PATH
class TestOkex(Test, Okex):
def __init__(self, *args, **kwargs):
Okex.__init__(self)
Test.__init__(self, *args, **kwargs)
def test_BTC_USDT_order(self):
... | 31.752577 | 82 | 0.564286 | 999 | 9,240 | 5.025025 | 0.069069 | 0.055777 | 0.047809 | 0.045817 | 0.959761 | 0.947211 | 0.899402 | 0.839243 | 0.839243 | 0.755976 | 0 | 0.025933 | 0.307251 | 9,240 | 290 | 83 | 31.862069 | 0.758319 | 0 | 0 | 0.756303 | 0 | 0 | 0.15368 | 0.051948 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046218 | false | 0.084034 | 0.016807 | 0 | 0.067227 | 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 |
d43298491d2b701dfce0ad75dd31ff8177aecfde | 285 | py | Python | venue/scrapers/exceptions.py | Volentix/venue-server | 9d6b3580516ab321f98c48ce1151671086145841 | [
"MIT"
] | 7 | 2018-08-01T16:30:01.000Z | 2018-12-10T05:12:27.000Z | venue/scrapers/exceptions.py | Volentix/venue-server | 9d6b3580516ab321f98c48ce1151671086145841 | [
"MIT"
] | 103 | 2018-08-02T15:23:02.000Z | 2018-12-13T03:48:15.000Z | venue/scrapers/exceptions.py | Volentix/venue-server | 9d6b3580516ab321f98c48ce1151671086145841 | [
"MIT"
] | null | null | null | class ProfileDoesNotExist(Exception):
def __init__(self, message, info={}):
self.message = message
self.info = info
class ScraperError(Exception):
def __init__(self, message, info={}):
self.message = message
self.info = info
| 21.923077 | 41 | 0.6 | 28 | 285 | 5.821429 | 0.321429 | 0.269939 | 0.196319 | 0.245399 | 0.748466 | 0.748466 | 0.748466 | 0.748466 | 0.748466 | 0.748466 | 0 | 0 | 0.294737 | 285 | 12 | 42 | 23.75 | 0.810945 | 0 | 0 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
d43cebeffb46a8bfcec73af27b4f404262804c7f | 7,887 | py | Python | mechdb_core/migrations/0001_initial.py | hadmiru/mdb | 133f56b6a6ff1600bfe93e227d922f4a22e58832 | [
"Apache-2.0"
] | null | null | null | mechdb_core/migrations/0001_initial.py | hadmiru/mdb | 133f56b6a6ff1600bfe93e227d922f4a22e58832 | [
"Apache-2.0"
] | null | null | null | mechdb_core/migrations/0001_initial.py | hadmiru/mdb | 133f56b6a6ff1600bfe93e227d922f4a22e58832 | [
"Apache-2.0"
] | null | null | null | # Generated by Django 2.0.5 on 2018-05-26 19:41
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUT... | 51.888158 | 152 | 0.614048 | 826 | 7,887 | 5.688862 | 0.118644 | 0.03405 | 0.056608 | 0.088955 | 0.83571 | 0.798255 | 0.770164 | 0.754841 | 0.732709 | 0.721856 | 0 | 0.006766 | 0.250412 | 7,887 | 151 | 153 | 52.231788 | 0.788058 | 0.005706 | 0 | 0.708333 | 1 | 0 | 0.124745 | 0.034439 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.027778 | 0 | 0.055556 | 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 |
d48795a3e619309e0e7885166f714e28cdc95568 | 16,340 | py | Python | tests/integration/test_users.py | langrenn-sprint/user-service | c7b517f5ba600772f673e153b1086fee5278b14a | [
"Apache-2.0"
] | null | null | null | tests/integration/test_users.py | langrenn-sprint/user-service | c7b517f5ba600772f673e153b1086fee5278b14a | [
"Apache-2.0"
] | 2 | 2021-06-30T13:06:34.000Z | 2022-02-01T11:18:15.000Z | tests/integration/test_users.py | langrenn-sprint/user-service | c7b517f5ba600772f673e153b1086fee5278b14a | [
"Apache-2.0"
] | null | null | null | """Integration test cases for the users route."""
import os
from typing import Any
from aiohttp import hdrs
from aiohttp.test_utils import TestClient as _TestClient
import jwt
import pytest
from pytest_mock import MockFixture
ID = "290e70d5-0933-4af0-bb53-1d705ba7eb95"
@pytest.fixture
def token() -> str:
"""Cr... | 28.027444 | 85 | 0.656732 | 1,843 | 16,340 | 5.593597 | 0.074878 | 0.05762 | 0.078572 | 0.115239 | 0.918906 | 0.908721 | 0.905519 | 0.903579 | 0.861383 | 0.831991 | 0 | 0.008835 | 0.224174 | 16,340 | 582 | 86 | 28.075601 | 0.80437 | 0.010649 | 0 | 0.709474 | 0 | 0 | 0.301642 | 0.219547 | 0 | 0 | 0 | 0 | 0.046316 | 1 | 0.004211 | false | 0.029474 | 0.014737 | 0 | 0.029474 | 0.002105 | 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 |
d489075319dbd3c1f5f5ea4b1f97d2b9ec624b4e | 251 | py | Python | tfne/encodings/codeepneat/__init__.py | githealthy18/Tensorflow-Neuroevolution | 15f6e906e8000c64f5c9a60907f53fe835f0b28c | [
"Apache-2.0"
] | 121 | 2019-06-27T17:30:52.000Z | 2022-03-24T07:32:42.000Z | tfne/encodings/codeepneat/__init__.py | githealthy18/Tensorflow-Neuroevolution | 15f6e906e8000c64f5c9a60907f53fe835f0b28c | [
"Apache-2.0"
] | 10 | 2021-01-03T19:52:13.000Z | 2022-02-10T00:15:26.000Z | tfne/encodings/codeepneat/__init__.py | githealthy18/Tensorflow-Neuroevolution | 15f6e906e8000c64f5c9a60907f53fe835f0b28c | [
"Apache-2.0"
] | 31 | 2019-07-31T10:45:53.000Z | 2022-03-21T08:31:09.000Z | # Import CoDeepNEAT module package
from tfne.encodings.codeepneat import modules
# Import modules
from tfne.encodings.codeepneat.codeepneat_genome import CoDeepNEATGenome
from tfne.encodings.codeepneat.codeepneat_blueprint import CoDeepNEATBlueprint
| 35.857143 | 78 | 0.876494 | 28 | 251 | 7.785714 | 0.428571 | 0.110092 | 0.233945 | 0.37156 | 0.33945 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083665 | 251 | 6 | 79 | 41.833333 | 0.947826 | 0.187251 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.333333 | 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 |
2e6b967a9a5f103494a9e2c9e27b85cb559cf16a | 53,197 | py | Python | pyboto3/polly.py | gehad-shaat/pyboto3 | 4a0c2851a8bc04fb1c71c36086f7bb257e48181d | [
"MIT"
] | 91 | 2016-12-31T11:38:37.000Z | 2021-09-16T19:33:23.000Z | pyboto3/polly.py | gehad-shaat/pyboto3 | 4a0c2851a8bc04fb1c71c36086f7bb257e48181d | [
"MIT"
] | 7 | 2017-01-02T18:54:23.000Z | 2020-08-11T13:54:02.000Z | pyboto3/polly.py | gehad-shaat/pyboto3 | 4a0c2851a8bc04fb1c71c36086f7bb257e48181d | [
"MIT"
] | 26 | 2016-12-31T13:11:00.000Z | 2022-03-03T21:01:12.000Z | '''
The MIT License (MIT)
Copyright (c) 2016 WavyCloud
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, p... | 40.484779 | 567 | 0.665489 | 6,951 | 53,197 | 5.081571 | 0.100849 | 0.006795 | 0.025565 | 0.004813 | 0.747608 | 0.728498 | 0.721873 | 0.704802 | 0.690165 | 0.666327 | 0 | 0.011608 | 0.191891 | 53,197 | 1,313 | 568 | 40.515613 | 0.810044 | 0.973946 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
cf0f85f9e709161cf25828cbdd166a5a33e46362 | 2,890 | py | Python | biobb_analysis/test/unitests/test_ambertools/test_cpptraj_rmsf_container.py | bioexcel/biobb_analysis | 794683daf65eb13ddaaaf6cf3c19da6d1322a949 | [
"Apache-2.0"
] | 3 | 2019-05-18T14:52:30.000Z | 2020-10-18T06:20:00.000Z | biobb_analysis/test/unitests/test_ambertools/test_cpptraj_rmsf_container.py | bioexcel/biobb_analysis | 794683daf65eb13ddaaaf6cf3c19da6d1322a949 | [
"Apache-2.0"
] | 7 | 2019-03-04T15:04:28.000Z | 2021-06-17T10:57:25.000Z | biobb_analysis/test/unitests/test_ambertools/test_cpptraj_rmsf_container.py | bioexcel/biobb_analysis | 794683daf65eb13ddaaaf6cf3c19da6d1322a949 | [
"Apache-2.0"
] | null | null | null | from biobb_common.tools import test_fixtures as fx
from biobb_analysis.ambertools.cpptraj_rmsf import cpptraj_rmsf
class TestCpptrajRmsfFirstDocker():
def setUp(self):
fx.test_setup(self,'cpptraj_rmsf_first_docker')
def tearDown(self):
fx.test_teardown(self)
pass
def test_rmsf_fi... | 35.679012 | 97 | 0.721453 | 360 | 2,890 | 5.494444 | 0.108333 | 0.109201 | 0.154702 | 0.133468 | 0.852882 | 0.852882 | 0.852882 | 0.852882 | 0.852882 | 0.852882 | 0 | 0 | 0.171626 | 2,890 | 81 | 98 | 35.679012 | 0.826232 | 0 | 0 | 0.677419 | 0 | 0 | 0.1899 | 0.111034 | 0 | 0 | 0 | 0 | 0.193548 | 1 | 0.290323 | false | 0.096774 | 0.032258 | 0 | 0.419355 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
cf437148f5792bad0d1bb0e21d2e77891b89dd22 | 205 | py | Python | coronavirus/__init__.py | rwright88/coronavirus | bff3bd893f11827cf54ea7a026831c141ad41f32 | [
"MIT"
] | null | null | null | coronavirus/__init__.py | rwright88/coronavirus | bff3bd893f11827cf54ea7a026831c141ad41f32 | [
"MIT"
] | null | null | null | coronavirus/__init__.py | rwright88/coronavirus | bff3bd893f11827cf54ea7a026831c141ad41f32 | [
"MIT"
] | null | null | null | from coronavirus.calc import calc_stats
from coronavirus.data import get_data
from coronavirus.forecast import forecast_all
from coronavirus.plot import map_by_date
from coronavirus.plot import plot_trend
| 34.166667 | 45 | 0.878049 | 31 | 205 | 5.612903 | 0.451613 | 0.431034 | 0.218391 | 0.287356 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 205 | 5 | 46 | 41 | 0.940541 | 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 |
d8805f29432b6812305bad1020bac7d85b4d15f9 | 42,413 | py | Python | src/mbed_cloud/_backends/enrollment/apis/public_api_api.py | GQMai/mbed-cloud-sdk-python | 76ef009903415f37f69dcc5778be8f5fb14c08fe | [
"Apache-2.0"
] | 12 | 2017-12-28T11:18:43.000Z | 2020-10-04T12:11:15.000Z | src/mbed_cloud/_backends/enrollment/apis/public_api_api.py | GQMai/mbed-cloud-sdk-python | 76ef009903415f37f69dcc5778be8f5fb14c08fe | [
"Apache-2.0"
] | 50 | 2017-12-21T12:50:41.000Z | 2020-01-13T16:07:08.000Z | src/mbed_cloud/_backends/enrollment/apis/public_api_api.py | GQMai/mbed-cloud-sdk-python | 76ef009903415f37f69dcc5778be8f5fb14c08fe | [
"Apache-2.0"
] | 8 | 2018-04-25T17:47:29.000Z | 2019-08-29T06:38:27.000Z | # coding: utf-8
"""
Enrollment API
Connect Enrollment Service allows users to claim the ownership of a device which is not yet assigned to an account. A device without an assigned account can be a device purchased from the open market (OEM dealer) or a device transferred from an account to another. More infor... | 50.551847 | 1,061 | 0.641171 | 5,238 | 42,413 | 5.021955 | 0.068156 | 0.040449 | 0.02433 | 0.021897 | 0.960198 | 0.953963 | 0.951302 | 0.941684 | 0.935906 | 0.933701 | 0 | 0.031801 | 0.257115 | 42,413 | 838 | 1,062 | 50.612172 | 0.803066 | 0.461887 | 0 | 0.794643 | 0 | 0.004464 | 0.20019 | 0.0739 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037946 | false | 0 | 0.008929 | 0 | 0.102679 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
d892995b60c5c42b2a079b10bef6d2f69d80e364 | 3,006 | py | Python | menucard/migrations/0002_auto_20201230_1855.py | baniasbaabe/happy-qr | bf44ac19306ea6405cc7c9a100e6f83afca125b4 | [
"MIT"
] | 1 | 2021-01-23T21:42:10.000Z | 2021-01-23T21:42:10.000Z | menucard/migrations/0002_auto_20201230_1855.py | baniasbaabe/happy-qr | bf44ac19306ea6405cc7c9a100e6f83afca125b4 | [
"MIT"
] | null | null | null | menucard/migrations/0002_auto_20201230_1855.py | baniasbaabe/happy-qr | bf44ac19306ea6405cc7c9a100e6f83afca125b4 | [
"MIT"
] | null | null | null | # Generated by Django 3.1.2 on 2020-12-30 17:55
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('menucard', '0001_initial'),
]
operations = [
migrations.AddField(
model_name='alkoholfreiedrinks',
name='zusatzstoff... | 35.785714 | 96 | 0.581171 | 290 | 3,006 | 5.868966 | 0.175862 | 0.074031 | 0.117509 | 0.13631 | 0.823149 | 0.823149 | 0.788484 | 0.762045 | 0.762045 | 0.735018 | 0 | 0.02598 | 0.295742 | 3,006 | 83 | 97 | 36.216867 | 0.777988 | 0.01497 | 0 | 0.87013 | 1 | 0 | 0.109159 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.012987 | 0 | 0.051948 | 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 |
2b28d264548b8bd26f2a1b9be0852a2e085854d0 | 191 | py | Python | django/code/TheSphinx/views/__init__.py | aitalshashank2/The-Meeting-Sphinx | 7825c8f94748298f0c81bb0f40eeac56177526f7 | [
"Apache-2.0"
] | 4 | 2021-05-16T18:02:30.000Z | 2021-05-21T16:32:17.000Z | django/code/TheSphinx/views/__init__.py | aitalshashank2/The-Meeting-Sphinx | 7825c8f94748298f0c81bb0f40eeac56177526f7 | [
"Apache-2.0"
] | 5 | 2021-05-07T16:31:27.000Z | 2021-06-04T12:24:28.000Z | django/code/TheSphinx/views/__init__.py | aitalshashank2/The-Meeting-Sphinx | 7825c8f94748298f0c81bb0f40eeac56177526f7 | [
"Apache-2.0"
] | 2 | 2021-05-24T06:56:53.000Z | 2021-08-05T10:10:58.000Z | from TheSphinx.views.auth import *
from TheSphinx.views.meeting import *
from TheSphinx.views.message import *
from TheSphinx.views.recording import *
from TheSphinx.views.attendee import *
| 31.833333 | 39 | 0.811518 | 25 | 191 | 6.2 | 0.36 | 0.419355 | 0.580645 | 0.619355 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109948 | 191 | 5 | 40 | 38.2 | 0.911765 | 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 |
2b661898ee4b354eed1dcf9d68a082aeda99d3c5 | 106 | py | Python | terl/config/__init__.py | Bouk250/Terl | 1a81955146f2039af164e246a74003a51fc3bc2c | [
"MIT"
] | null | null | null | terl/config/__init__.py | Bouk250/Terl | 1a81955146f2039af164e246a74003a51fc3bc2c | [
"MIT"
] | null | null | null | terl/config/__init__.py | Bouk250/Terl | 1a81955146f2039af164e246a74003a51fc3bc2c | [
"MIT"
] | null | null | null | from .EnvConfigManager import EnvConfigManager
from .EnvConfigManager import config_checker,get_new_config | 53 | 59 | 0.90566 | 12 | 106 | 7.75 | 0.583333 | 0.430108 | 0.55914 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066038 | 106 | 2 | 59 | 53 | 0.939394 | 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 |
990db98862a96c4e36b3818d9bdd378e04c1c292 | 7,542 | py | Python | cycle_2020/migrations/0002_auto_20190123_1949.py | RobBickel/nyt-fec | 802df867c3b31fff8e922be00bab6f40a5db2d00 | [
"Apache-2.0"
] | 17 | 2018-03-27T15:09:58.000Z | 2020-05-13T11:32:43.000Z | cycle_2020/migrations/0002_auto_20190123_1949.py | RobBickel/nyt-fec | 802df867c3b31fff8e922be00bab6f40a5db2d00 | [
"Apache-2.0"
] | 59 | 2018-03-21T17:08:15.000Z | 2021-12-13T19:47:37.000Z | cycle_2020/migrations/0002_auto_20190123_1949.py | RobBickel/nyt-fec | 802df867c3b31fff8e922be00bab6f40a5db2d00 | [
"Apache-2.0"
] | 11 | 2018-09-11T23:18:32.000Z | 2021-12-15T08:43:58.000Z | # Generated by Django 2.1.5 on 2019-01-23 19:49
import django.contrib.postgres.indexes
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('cycle_2020', '0001_squashed_0038_auto_20190115_1828'),
]
operations = [
migrations.RemoveIndex(
... | 37.71 | 128 | 0.608194 | 734 | 7,542 | 5.797003 | 0.158038 | 0.097297 | 0.137485 | 0.162162 | 0.819506 | 0.79577 | 0.79577 | 0.780259 | 0.756522 | 0.400705 | 0 | 0.072982 | 0.280562 | 7,542 | 199 | 129 | 37.899497 | 0.711205 | 0.005967 | 0 | 0.709845 | 1 | 0 | 0.28032 | 0.194663 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.010363 | 0 | 0.025907 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 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 |
9985e828f66d8f690512e605f47c2643c708bd60 | 38,730 | py | Python | unet3d/models/pytorch/autoencoder/variational.py | zjdcts/CSAM-U-Net | 91fae3c6b4fc7247ba9ee2dc6e64b51da569bf2e | [
"MIT"
] | 1 | 2021-07-28T03:36:34.000Z | 2021-07-28T03:36:34.000Z | unet3d/models/pytorch/autoencoder/variational.py | zjdcts/CSAM-U-Net | 91fae3c6b4fc7247ba9ee2dc6e64b51da569bf2e | [
"MIT"
] | null | null | null | unet3d/models/pytorch/autoencoder/variational.py | zjdcts/CSAM-U-Net | 91fae3c6b4fc7247ba9ee2dc6e64b51da569bf2e | [
"MIT"
] | 1 | 2021-07-28T03:36:37.000Z | 2021-07-28T03:36:37.000Z | from functools import partial
import numpy as np
import torch.nn as nn
import torch
from unet3d.models.pytorch.classification.decoder import MyronenkoDecoder, MirroredDecoder
from unet3d.models.pytorch.classification.myronenko import MyronenkoEncoder, MyronenkoConvolutionBlock
from unet3d.models.pytorch.classificatio... | 54.396067 | 120 | 0.603796 | 4,077 | 38,730 | 5.408879 | 0.045622 | 0.042853 | 0.051016 | 0.031834 | 0.835344 | 0.821105 | 0.810629 | 0.804598 | 0.797524 | 0.790087 | 0 | 0.016148 | 0.323625 | 38,730 | 711 | 121 | 54.472574 | 0.82566 | 0.042577 | 0 | 0.75367 | 0 | 0 | 0.006371 | 0.001458 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066884 | false | 0.001631 | 0.011419 | 0.006525 | 0.146819 | 0.008157 | 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 |
99ac908e76f3e53229300ba26ff6e55f50168e5d | 17,397 | py | Python | tests/test_genoquery.py | ethanwtai/ukbrest | c7303e57659ed787f002d2a53a54ca3a3f631a9b | [
"MIT"
] | 34 | 2018-04-17T03:02:38.000Z | 2022-03-22T18:38:46.000Z | tests/test_genoquery.py | ethanwtai/ukbrest | c7303e57659ed787f002d2a53a54ca3a3f631a9b | [
"MIT"
] | 7 | 2019-08-07T10:46:34.000Z | 2021-06-23T13:30:59.000Z | tests/test_genoquery.py | ethanwtai/ukbrest | c7303e57659ed787f002d2a53a54ca3a3f631a9b | [
"MIT"
] | 16 | 2018-08-26T08:08:05.000Z | 2021-09-08T22:30:06.000Z | import os
import unittest
import shutil
from os.path import isfile, isdir
from ukbrest.common.utils.external import qctool
from tests.utils import get_repository_path
from ukbrest.common.genoquery import GenoQuery
class UKBQueryTest(unittest.TestCase):
def test_query_incl_range_lower_and_upper_limits_at_beginni... | 33.584942 | 93 | 0.565385 | 2,345 | 17,397 | 4.120256 | 0.089126 | 0.321569 | 0.351066 | 0.109087 | 0.915338 | 0.856965 | 0.846926 | 0.795591 | 0.79259 | 0.766301 | 0 | 0.105986 | 0.275967 | 17,397 | 517 | 94 | 33.649903 | 0.661083 | 0.024027 | 0 | 0.747191 | 0 | 0 | 0.101033 | 0.008144 | 0 | 0 | 0 | 0 | 0.823034 | 1 | 0.025281 | false | 0 | 0.019663 | 0 | 0.047753 | 0 | 0 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
41f9baea3488032ba404d0c97ee5c19e113fa713 | 105 | py | Python | test/SIM_test_ip/Modified_data/next_level.py | gilbertguoze/trick | f0537efb0fa3cb5c0c84e36b60f055c1d1c60d21 | [
"NASA-1.3"
] | 647 | 2015-05-07T16:08:16.000Z | 2022-03-30T02:33:21.000Z | test/SIM_test_ip/Modified_data/next_level.py | gilbertguoze/trick | f0537efb0fa3cb5c0c84e36b60f055c1d1c60d21 | [
"NASA-1.3"
] | 995 | 2015-04-30T19:44:31.000Z | 2022-03-31T20:14:44.000Z | test/SIM_test_ip/Modified_data/next_level.py | gilbertguoze/trick | f0537efb0fa3cb5c0c84e36b60f055c1d1c60d21 | [
"NASA-1.3"
] | 251 | 2015-05-15T09:24:34.000Z | 2022-03-22T20:39:05.000Z |
test.ip.c_pointer_types.cpp[0][0][0] = ["Cat" , "Dog"]
test.ip.c_pointer_types.cpp[0][0][1] = ["Horse"]
| 26.25 | 54 | 0.619048 | 21 | 105 | 2.904762 | 0.52381 | 0.098361 | 0.229508 | 0.459016 | 0.786885 | 0.786885 | 0.786885 | 0.786885 | 0 | 0 | 0 | 0.0625 | 0.085714 | 105 | 3 | 55 | 35 | 0.572917 | 0 | 0 | 0 | 0 | 0 | 0.105769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
5141a249b4278c073e2e295dc75bc52fecdf5cd7 | 14,120 | py | Python | src/lepus/migrations/0003_auto_20160921_1143.py | Cpaw/lepus-api | 71f68881d5fdcc47d31e2ecab41b24582cb25ebe | [
"MIT"
] | null | null | null | src/lepus/migrations/0003_auto_20160921_1143.py | Cpaw/lepus-api | 71f68881d5fdcc47d31e2ecab41b24582cb25ebe | [
"MIT"
] | null | null | null | src/lepus/migrations/0003_auto_20160921_1143.py | Cpaw/lepus-api | 71f68881d5fdcc47d31e2ecab41b24582cb25ebe | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
from django.conf import settings
class Migration(migrations.Migration):
dependencies = [
('lepus', '0002_auto_20150913_1811'),
]
operations = [
migrations.AlterModelOptions(
... | 44.825397 | 173 | 0.59568 | 1,812 | 14,120 | 4.52649 | 0.084437 | 0.143867 | 0.179834 | 0.208608 | 0.919044 | 0.903438 | 0.830773 | 0.780785 | 0.772373 | 0.749451 | 0 | 0.098526 | 0.250283 | 14,120 | 314 | 174 | 44.968153 | 0.676271 | 0.001487 | 0 | 0.857143 | 0 | 0.149351 | 0.295382 | 0.223097 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.003247 | 0.00974 | 0 | 0.019481 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
515d28619e465b1ea6835dd5a145548797b37368 | 5,665 | py | Python | tests/test_models.py | ksangeeta2429/Edgel3 | b05892cf7c5be079639b8cccd51ead93fe1eae1a | [
"MIT"
] | 3 | 2020-02-14T21:56:09.000Z | 2020-09-08T11:54:05.000Z | tests/test_models.py | ksangeeta2429/Edgel3 | b05892cf7c5be079639b8cccd51ead93fe1eae1a | [
"MIT"
] | 4 | 2020-05-11T17:00:41.000Z | 2021-02-02T22:38:58.000Z | tests/test_models.py | ksangeeta2429/Edgel3 | b05892cf7c5be079639b8cccd51ead93fe1eae1a | [
"MIT"
] | 6 | 2020-03-20T13:54:02.000Z | 2021-03-21T04:51:34.000Z | from edgel3.models import load_embedding_model, load_embedding_model_path
def test_load_embedding_model_path():
# Check for output paths for UST specialized embedding approximated L3 models
embedding_model_path = load_embedding_model_path('sea', 512, 'ft', 95.45)
assert '/'.join(embedding_model_path.split... | 48.836207 | 103 | 0.699029 | 852 | 5,665 | 4.307512 | 0.064554 | 0.308992 | 0.318801 | 0.137875 | 0.968665 | 0.923978 | 0.904087 | 0.880926 | 0.867302 | 0.795095 | 0 | 0.087798 | 0.133451 | 5,665 | 115 | 104 | 49.26087 | 0.659809 | 0.059488 | 0 | 0.178082 | 0 | 0 | 0.208607 | 0.153167 | 0 | 0 | 0 | 0 | 0.479452 | 1 | 0.027397 | false | 0 | 0.013699 | 0 | 0.041096 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
5abcfd6f474a2fb2beab2bdc9a616e4fff97d1c8 | 24,197 | py | Python | cosmo-field/.ipynb_checkpoints/make_2Dfield-checkpoint.py | tlmakinen/imnn | b3f4f3d39ca8ea88a86bc3a4295ff4e15e7e715d | [
"MIT"
] | null | null | null | cosmo-field/.ipynb_checkpoints/make_2Dfield-checkpoint.py | tlmakinen/imnn | b3f4f3d39ca8ea88a86bc3a4295ff4e15e7e715d | [
"MIT"
] | null | null | null | cosmo-field/.ipynb_checkpoints/make_2Dfield-checkpoint.py | tlmakinen/imnn | b3f4f3d39ca8ea88a86bc3a4295ff4e15e7e715d | [
"MIT"
] | null | null | null | import argparse
import sys
import numpy as np
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
from IMNN.utils import TFRecords
from IMNN.LFI.LFI import GaussianApproximation
from FyeldGenerator import generate_field
__version__ = "0.2a5"
__author__ = "Lucas Makinen"
# HERE θ_fid is [A,B], yi... | 37.631415 | 145 | 0.503823 | 2,953 | 24,197 | 3.942093 | 0.071114 | 0.010652 | 0.038485 | 0.029379 | 0.958681 | 0.957478 | 0.951636 | 0.949059 | 0.945795 | 0.945795 | 0 | 0.02186 | 0.370459 | 24,197 | 642 | 146 | 37.690031 | 0.742336 | 0.052445 | 0 | 0.947776 | 0 | 0 | 0.084295 | 0.009701 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046422 | false | 0 | 0.015474 | 0.011605 | 0.104449 | 0.009671 | 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 |
852a0a53e0dbcc3d7ecbe6d5d7fcc5f1a5358859 | 2,180 | py | Python | netutils_linux_monitoring/softnet_stat_test.py | AlexeyAB/netutils-linux | f97a919ecd765c50c364415ba43eeb09e8e829ed | [
"MIT"
] | 1 | 2019-02-09T23:37:41.000Z | 2019-02-09T23:37:41.000Z | netutils_linux_monitoring/softnet_stat_test.py | AlexeyAB/netutils-linux | f97a919ecd765c50c364415ba43eeb09e8e829ed | [
"MIT"
] | null | null | null | netutils_linux_monitoring/softnet_stat_test.py | AlexeyAB/netutils-linux | f97a919ecd765c50c364415ba43eeb09e8e829ed | [
"MIT"
] | 1 | 2020-05-28T07:47:20.000Z | 2020-05-28T07:47:20.000Z | #!/usr/bin/env python
import unittest
from netutils_linux_monitoring.softnet_stat import SoftnetStat
class SoftnetStatTests(unittest.TestCase):
first = """
9d3cbd5e 00000000 0000004d 00000000 00000000 00000000 00000000 00000000 00000000 00000000
301350a8 00000000 00000025 00000000 00000000 00000000 00000... | 53.170732 | 116 | 0.78578 | 242 | 2,180 | 6.983471 | 0.268595 | 0.908876 | 1.136095 | 1.211834 | 0.743195 | 0.743195 | 0.743195 | 0.743195 | 0.743195 | 0.061538 | 0 | 0.685022 | 0.166972 | 2,180 | 40 | 117 | 54.5 | 0.245595 | 0.009174 | 0 | 0.0625 | 0 | 0 | 0.706809 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 1 | 0.03125 | false | 0 | 0.0625 | 0 | 0.1875 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
a401d37a3904e37f2bb54984a0e752e075c0f428 | 133 | py | Python | allennlp_models/lm/util/beam_search_generators/__init__.py | shunk031/allennlp-models | d37c5fadeef9326808a84dda0bcfd210a078d6b1 | [
"Apache-2.0"
] | 402 | 2020-03-11T22:58:35.000Z | 2022-03-29T09:05:27.000Z | allennlp_models/lm/util/beam_search_generators/__init__.py | staceywhitmore-inl/allennlp-models | 1e89d5e51cb45f3e77a48d4983bf980088334fac | [
"Apache-2.0"
] | 116 | 2020-03-11T01:26:57.000Z | 2022-03-25T13:03:56.000Z | allennlp_models/lm/util/beam_search_generators/__init__.py | staceywhitmore-inl/allennlp-models | 1e89d5e51cb45f3e77a48d4983bf980088334fac | [
"Apache-2.0"
] | 140 | 2020-03-11T00:51:35.000Z | 2022-03-29T09:05:36.000Z | from .beam_search_generator import BeamSearchGenerator
from .transformer_beam_search_generator import TransformerBeamSearchGenerator
| 44.333333 | 77 | 0.924812 | 13 | 133 | 9.076923 | 0.615385 | 0.169492 | 0.322034 | 0.423729 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06015 | 133 | 2 | 78 | 66.5 | 0.944 | 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 |
cf9c8d6cacd23591b18e87d6426df08973b59679 | 5,907 | py | Python | test/test_tasks_api.py | cvent/octopus-deploy-api-client | 0e03e842e1beb29b132776aee077df570b88366a | [
"Apache-2.0"
] | null | null | null | test/test_tasks_api.py | cvent/octopus-deploy-api-client | 0e03e842e1beb29b132776aee077df570b88366a | [
"Apache-2.0"
] | null | null | null | test/test_tasks_api.py | cvent/octopus-deploy-api-client | 0e03e842e1beb29b132776aee077df570b88366a | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Octopus Server API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
OpenAPI spec version: 2019.6.7+Branch.tags-2019.6.7.Sha.aa18dc6809953218c66f57eff7d26481d9b23d6a
Generated by: https://github.com/swagger-api... | 37.150943 | 124 | 0.792619 | 753 | 5,907 | 5.568393 | 0.108898 | 0.171715 | 0.190794 | 0.236585 | 0.891009 | 0.87813 | 0.87813 | 0.860005 | 0.832817 | 0.832817 | 0 | 0.012129 | 0.162519 | 5,907 | 158 | 125 | 37.386076 | 0.835456 | 0.454207 | 0 | 0.403846 | 1 | 0 | 0.002648 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.423077 | false | 0.403846 | 0.096154 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 12 |
5c81ff575a85dd75b6fae1367a858461644db3c3 | 10,919 | py | Python | optking/tests/test_deriv_transforms.py | psi-rking/optking | 6f113db58e733b6a56929a2b890f9dae0092995c | [
"BSD-3-Clause"
] | 12 | 2018-02-06T22:02:12.000Z | 2022-01-06T09:26:44.000Z | optking/tests/test_deriv_transforms.py | psi-rking/optking | 6f113db58e733b6a56929a2b890f9dae0092995c | [
"BSD-3-Clause"
] | 51 | 2017-11-22T16:00:02.000Z | 2021-12-23T20:49:56.000Z | optking/tests/test_deriv_transforms.py | psi-rking/optking | 6f113db58e733b6a56929a2b890f9dae0092995c | [
"BSD-3-Clause"
] | 9 | 2017-11-21T19:55:46.000Z | 2022-02-28T06:09:11.000Z | #! Test gradient and Hessian transformations
import psi4
import qcelemental as qcel
import numpy as np
import optking
from optking import bend, stre, tors
#psi4.core.set_output_file('psi-output.dat')
def test_stationary_forces_h2o():
mol = psi4.geometry("""
0 1
O 0.0000000000 -0.0000000000 0... | 34.121875 | 95 | 0.632567 | 1,678 | 10,919 | 3.942789 | 0.091776 | 0.022672 | 0.036276 | 0.014813 | 0.862455 | 0.838271 | 0.83283 | 0.823609 | 0.80925 | 0.7698 | 0 | 0.096061 | 0.225845 | 10,919 | 319 | 96 | 34.22884 | 0.68662 | 0.14342 | 0 | 0.792531 | 0 | 0 | 0.200279 | 0 | 0 | 0 | 0 | 0 | 0.049793 | 1 | 0.029046 | false | 0 | 0.020747 | 0 | 0.049793 | 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 |
7a61352992a693f353306f117c51b40fd97f3259 | 131 | py | Python | Parsers/interface.py | levozavr/finance-ml | efc23e664821861fa03bb91fc94448b6fb14636e | [
"Apache-2.0"
] | null | null | null | Parsers/interface.py | levozavr/finance-ml | efc23e664821861fa03bb91fc94448b6fb14636e | [
"Apache-2.0"
] | 10 | 2018-10-02T07:29:32.000Z | 2018-12-22T16:02:31.000Z | Parsers/interface.py | levozavr/finance-ml | efc23e664821861fa03bb91fc94448b6fb14636e | [
"Apache-2.0"
] | null | null | null | class ParserInterface():
def open(self):
pass
def get_data(self):
pass
def close(self):
pass
| 13.1 | 24 | 0.534351 | 15 | 131 | 4.6 | 0.6 | 0.347826 | 0.318841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.374046 | 131 | 9 | 25 | 14.555556 | 0.841463 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.428571 | 0 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
7a72e186b5a16b56b6ed0e2af9b948f1d3aa32f9 | 135 | py | Python | tests/test_cipher_nkd2120.py | QMSS-G5072-2020/cipher_longuetmarx_nicolas | 68e5c1c462f9207cb120b7de8d93934f3c92df56 | [
"MIT"
] | null | null | null | tests/test_cipher_nkd2120.py | QMSS-G5072-2020/cipher_longuetmarx_nicolas | 68e5c1c462f9207cb120b7de8d93934f3c92df56 | [
"MIT"
] | null | null | null | tests/test_cipher_nkd2120.py | QMSS-G5072-2020/cipher_longuetmarx_nicolas | 68e5c1c462f9207cb120b7de8d93934f3c92df56 | [
"MIT"
] | null | null | null | from cipher_nkd2120 import __version__
from cipher_nkd2120 import cipher_nkd2120
def test_version():
assert __version__ == '3.11'
| 22.5 | 41 | 0.8 | 18 | 135 | 5.333333 | 0.555556 | 0.40625 | 0.354167 | 0.479167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12931 | 0.140741 | 135 | 5 | 42 | 27 | 0.698276 | 0 | 0 | 0 | 0 | 0 | 0.02963 | 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 |
8fb5ce47b7a5ee75f60ec2ad7a4ec5dffa020236 | 349 | py | Python | tests/internal/instance_type/test_instance_type_r6_auto.py | frolovv/aws.ec2.compare | 582805823492f833d65c0441c4a14dce697c12aa | [
"Apache-2.0"
] | null | null | null | tests/internal/instance_type/test_instance_type_r6_auto.py | frolovv/aws.ec2.compare | 582805823492f833d65c0441c4a14dce697c12aa | [
"Apache-2.0"
] | null | null | null | tests/internal/instance_type/test_instance_type_r6_auto.py | frolovv/aws.ec2.compare | 582805823492f833d65c0441c4a14dce697c12aa | [
"Apache-2.0"
] | 1 | 2021-12-15T11:58:22.000Z | 2021-12-15T11:58:22.000Z |
# Testing module instance_type.r6
import pytest
import ec2_compare.internal.instance_type.r6
def test_get_internal_data_instance_type_r6_get_instances_list():
assert len(ec2_compare.internal.instance_type.r6.get_instances_list()) > 0
def test_get_internal_data_instance_type_r6_get():
assert len(ec2_compare.intern... | 34.9 | 76 | 0.848138 | 56 | 349 | 4.839286 | 0.339286 | 0.265683 | 0.309963 | 0.250923 | 0.826568 | 0.826568 | 0.612546 | 0.612546 | 0.612546 | 0 | 0 | 0.034056 | 0.074499 | 349 | 9 | 77 | 38.777778 | 0.804954 | 0.088825 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 10 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.