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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d1c6f7adc9880608e1bfc2ca1228d58adcc82681 | 26,827 | py | Python | util/analysis/goal_optimization.py | joelouismarino/variational_rl | 11dc14bfb56f3ebbfccd5de206b78712a8039a9a | [
"MIT"
] | 15 | 2020-10-20T22:09:36.000Z | 2021-12-24T13:40:36.000Z | util/analysis/goal_optimization.py | joelouismarino/variational_rl | 11dc14bfb56f3ebbfccd5de206b78712a8039a9a | [
"MIT"
] | null | null | null | util/analysis/goal_optimization.py | joelouismarino/variational_rl | 11dc14bfb56f3ebbfccd5de206b78712a8039a9a | [
"MIT"
] | 1 | 2020-10-23T19:48:06.000Z | 2020-10-23T19:48:06.000Z | import comet_ml
import json
import torch
import copy
import pickle
import numpy as np
from torch import optim
from torch.distributions import Normal
from lib import create_agent
from lib.layers import FullyConnectedLayer
from lib.value_estimators import GoalBasedQEstimator
from lib.inference import GradientBasedInferen... | 42.247244 | 166 | 0.650576 | 3,350 | 26,827 | 4.916119 | 0.09194 | 0.027324 | 0.033518 | 0.027931 | 0.83982 | 0.820936 | 0.80861 | 0.792519 | 0.771449 | 0.74455 | 0 | 0.010726 | 0.256272 | 26,827 | 634 | 167 | 42.31388 | 0.814705 | 0.169382 | 0 | 0.714286 | 0 | 0 | 0.07187 | 0.007355 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009524 | false | 0 | 0.038095 | 0 | 0.057143 | 0.038095 | 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 |
d1d59db327690fc8010dfdd1ff50625c6b22d6bd | 3,964 | py | Python | test_autogalaxy/quantity/plot/test_fit_quantity_plotters.py | caoxiaoyue/PyAutoGalaxy | ad2b4b27404f5bf0f65ba9a0cd7c3ee6570e2d05 | [
"MIT"
] | 4 | 2019-10-29T13:27:23.000Z | 2020-03-24T11:13:35.000Z | test_autogalaxy/quantity/plot/test_fit_quantity_plotters.py | caoxiaoyue/PyAutoGalaxy | ad2b4b27404f5bf0f65ba9a0cd7c3ee6570e2d05 | [
"MIT"
] | null | null | null | test_autogalaxy/quantity/plot/test_fit_quantity_plotters.py | caoxiaoyue/PyAutoGalaxy | ad2b4b27404f5bf0f65ba9a0cd7c3ee6570e2d05 | [
"MIT"
] | 3 | 2020-02-12T10:29:59.000Z | 2020-03-24T11:13:53.000Z | from os import path
import pytest
import autogalaxy.plot as aplt
directory = path.dirname(path.realpath(__file__))
@pytest.fixture(name="plot_path")
def make_galaxy_fit_plotter_setup():
return path.join(
"{}".format(path.dirname(path.realpath(__file__))),
"files",
"plots",... | 36.703704 | 89 | 0.719475 | 593 | 3,964 | 4.411467 | 0.121417 | 0.094801 | 0.133792 | 0.165138 | 0.897171 | 0.876529 | 0.860092 | 0.857416 | 0.842125 | 0.842125 | 0 | 0.01335 | 0.187437 | 3,964 | 107 | 90 | 37.046729 | 0.79882 | 0 | 0 | 0.470588 | 0 | 0 | 0.136375 | 0.071558 | 0 | 0 | 0 | 0 | 0.282353 | 1 | 0.035294 | false | 0 | 0.035294 | 0.011765 | 0.082353 | 0.011765 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d1ea781a5ad7017d367882ab6b3bbd23d2918481 | 548 | py | Python | Semana 5/ejemplo2.py | CesarEdmundo/actividades_en_ccss | 8fef4bf10a74eb2424470e7196c8f00e193bb020 | [
"MIT"
] | 8 | 2021-04-06T23:12:32.000Z | 2022-02-24T06:06:13.000Z | Semana 5/ejemplo2.py | CesarEdmundo/actividades_en_ccss | 8fef4bf10a74eb2424470e7196c8f00e193bb020 | [
"MIT"
] | null | null | null | Semana 5/ejemplo2.py | CesarEdmundo/actividades_en_ccss | 8fef4bf10a74eb2424470e7196c8f00e193bb020 | [
"MIT"
] | 5 | 2021-04-18T01:23:02.000Z | 2021-07-08T01:08:36.000Z | def eleva_potencia_cc(a,b):
'''
Eleva número "a" a la "b" potencia.
Insumo (input):
a: número
b: número
Producto (output):
resultado: un número
'''
z_var = 11
c = 10 + z_var
resultado = a**b + c
return resultado
def eleva_potencia_dd(a,b):
'''
Elev... | 18.896552 | 39 | 0.525547 | 74 | 548 | 3.783784 | 0.283784 | 0.028571 | 0.114286 | 0.092857 | 0.871429 | 0.871429 | 0.871429 | 0.871429 | 0.871429 | 0.871429 | 0 | 0.022857 | 0.361314 | 548 | 29 | 40 | 18.896552 | 0.777143 | 0.45438 | 0 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.4 | 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 |
ae1b6cc1b83eecebca194551b36de02a0ba63394 | 93 | py | Python | modularity/__init__.py | akhambhati/modularity | 202e2e1405942844aedc7c76c5c843f19b459848 | [
"MIT"
] | null | null | null | modularity/__init__.py | akhambhati/modularity | 202e2e1405942844aedc7c76c5c843f19b459848 | [
"MIT"
] | null | null | null | modularity/__init__.py | akhambhati/modularity | 202e2e1405942844aedc7c76c5c843f19b459848 | [
"MIT"
] | null | null | null | from . import matrix
from .genlouvain import genlouvain
from .genlouvain import _metanetwork
| 23.25 | 36 | 0.83871 | 11 | 93 | 7 | 0.454545 | 0.363636 | 0.519481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 93 | 3 | 37 | 31 | 0.950617 | 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 |
ae24381236415f1739edc376d2fcbc005533ba05 | 131 | py | Python | txaws/server/tests/fixtures/importerror/amodule.py | vargas/txaws | b75d00e042c6e7e1609c05e01ee54e1c72b1eaf6 | [
"MIT"
] | 24 | 2017-01-09T23:48:30.000Z | 2020-10-07T09:54:45.000Z | txaws/server/tests/fixtures/importerror/amodule.py | vargas/txaws | b75d00e042c6e7e1609c05e01ee54e1c72b1eaf6 | [
"MIT"
] | 85 | 2016-12-16T06:24:51.000Z | 2020-05-29T20:39:37.000Z | txaws/server/tests/fixtures/importerror/amodule.py | vargas/txaws | b75d00e042c6e7e1609c05e01ee54e1c72b1eaf6 | [
"MIT"
] | 12 | 2016-12-26T12:49:57.000Z | 2020-05-11T19:49:32.000Z | from txaws.server.method import Method
from txaws.server.tests.fixtures import method
@method
class TestMethod(Method):
pass
| 16.375 | 46 | 0.793893 | 18 | 131 | 5.777778 | 0.555556 | 0.173077 | 0.288462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137405 | 131 | 7 | 47 | 18.714286 | 0.920354 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
ae2ab95c475bdea0d1aa048d7f244cceebadb9e3 | 283 | py | Python | sources/__init__.py | Groomsha/backup-kvm | fa72a4f45b47f1695652dfc701437bdd51dce1aa | [
"Apache-2.0"
] | null | null | null | sources/__init__.py | Groomsha/backup-kvm | fa72a4f45b47f1695652dfc701437bdd51dce1aa | [
"Apache-2.0"
] | null | null | null | sources/__init__.py | Groomsha/backup-kvm | fa72a4f45b47f1695652dfc701437bdd51dce1aa | [
"Apache-2.0"
] | null | null | null | from .backup.backup_kvm_lvm import *
from .backup.backup_kvm_image import *
from .backup.backup_dir_ssh import *
from .restore.restore_kvm_lvm import *
from .restore.restore_kvm_image import *
from .service.delete_folder_backup import *
from .service.messenger_application import * | 31.444444 | 44 | 0.823322 | 41 | 283 | 5.365854 | 0.341463 | 0.272727 | 0.218182 | 0.172727 | 0.245455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102474 | 283 | 9 | 44 | 31.444444 | 0.866142 | 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 |
884ae5c9e5f9f399b45ef662e76a84a6b052a03f | 4,275 | py | Python | museos/migrations/0005_auto_20180504_1806.py | LydiaGarrido/X-Serv-Practica-Museos | 0089dc0a54d3daacaf91abe1441d5cbbc1f761b2 | [
"Apache-2.0"
] | null | null | null | museos/migrations/0005_auto_20180504_1806.py | LydiaGarrido/X-Serv-Practica-Museos | 0089dc0a54d3daacaf91abe1441d5cbbc1f761b2 | [
"Apache-2.0"
] | null | null | null | museos/migrations/0005_auto_20180504_1806.py | LydiaGarrido/X-Serv-Practica-Museos | 0089dc0a54d3daacaf91abe1441d5cbbc1f761b2 | [
"Apache-2.0"
] | 6 | 2019-05-22T11:52:38.000Z | 2021-07-05T09:46:21.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('museos', '0004_auto_20180502_1405'),
]
operations = [
migrations.AlterField(
model_name='comentarios',
... | 31.666667 | 67 | 0.53614 | 371 | 4,275 | 6.026954 | 0.183288 | 0.214669 | 0.268336 | 0.31127 | 0.818426 | 0.804562 | 0.779964 | 0.747764 | 0.727191 | 0.700358 | 0 | 0.020106 | 0.336842 | 4,275 | 134 | 68 | 31.902985 | 0.768607 | 0.004912 | 0 | 0.726563 | 0 | 0 | 0.113829 | 0.005409 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.015625 | 0 | 0.039063 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
88665d1248f58980060c6a82ed9cdf4373128b43 | 1,811 | py | Python | tests/models/test_pyod_integrations.py | selimfirat/pysad | dff2ff38258eb8a85c9d34cf5f0b876fc1dc9ede | [
"BSD-3-Clause"
] | 155 | 2020-08-17T12:52:38.000Z | 2022-03-19T02:59:26.000Z | tests/models/test_pyod_integrations.py | shubhsoni/pysad | dff2ff38258eb8a85c9d34cf5f0b876fc1dc9ede | [
"BSD-3-Clause"
] | 2 | 2020-10-22T09:50:28.000Z | 2021-02-15T02:01:44.000Z | tests/models/test_pyod_integrations.py | shubhsoni/pysad | dff2ff38258eb8a85c9d34cf5f0b876fc1dc9ede | [
"BSD-3-Clause"
] | 14 | 2020-10-09T17:08:23.000Z | 2022-03-25T11:30:12.000Z |
def test_reference_window(test_path):
from sklearn.utils import shuffle
from pysad.models.integrations import ReferenceWindowModel
from pysad.utils import Data
from pysad.evaluation import AUROCMetric
from pysad.utils import ArrayStreamer
import os
from pyod.models.iforest import IForest
... | 27.439394 | 85 | 0.673661 | 251 | 1,811 | 4.673307 | 0.207171 | 0.037511 | 0.029838 | 0.047741 | 0.783461 | 0.783461 | 0.783461 | 0.783461 | 0.783461 | 0.712702 | 0 | 0.01622 | 0.217007 | 1,811 | 65 | 86 | 27.861538 | 0.811001 | 0 | 0 | 0.818182 | 0 | 0 | 0.044199 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0 | 0.318182 | 0 | 0.363636 | 0.068182 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
88712afa2aec8f2b4ca3a89926710881dd826b79 | 151,488 | py | Python | mythic-docker/app/routes/websocket_routes.py | djhohnstein/Mythic | 22b69c0658c157be109fea9a424145a58b8a4f7a | [
"BSD-3-Clause"
] | 1 | 2020-11-29T02:14:06.000Z | 2020-11-29T02:14:06.000Z | mythic-docker/app/routes/websocket_routes.py | euphrat1ca/Mythic | 2938e08dd26d8044c7586513bca23bb5808beed0 | [
"BSD-3-Clause"
] | null | null | null | mythic-docker/app/routes/websocket_routes.py | euphrat1ca/Mythic | 2938e08dd26d8044c7586513bca23bb5808beed0 | [
"BSD-3-Clause"
] | 2 | 2020-12-29T02:34:13.000Z | 2021-06-24T04:07:38.000Z | from app import mythic, db_objects, use_ssl
import aiopg
import ujson as js
import asyncio
from app.database_models.model import (
Callback,
Payload,
PayloadType,
C2Profile,
Credential,
FileMeta,
Task,
TaskArtifact,
)
from sanic_jwt.decorators import scoped, inject_user
import app.databa... | 49.136555 | 115 | 0.39314 | 12,116 | 151,488 | 4.787224 | 0.038544 | 0.031861 | 0.039447 | 0.028723 | 0.870332 | 0.849747 | 0.828713 | 0.816679 | 0.801093 | 0.790576 | 0 | 0.004782 | 0.534821 | 151,488 | 3,082 | 116 | 49.152498 | 0.818303 | 0.079881 | 0 | 0.726271 | 0 | 0 | 0.065213 | 0.019153 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.00391 | 0.004977 | 0 | 0.026306 | 0.017775 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
ee02f0e401aa2aef241f3cedea211ad078f6acb2 | 39 | py | Python | file01.py | banxiabanxin/basic3 | 811cf4880accc3cece501f587183f6ef6433673d | [
"MIT"
] | null | null | null | file01.py | banxiabanxin/basic3 | 811cf4880accc3cece501f587183f6ef6433673d | [
"MIT"
] | null | null | null | file01.py | banxiabanxin/basic3 | 811cf4880accc3cece501f587183f6ef6433673d | [
"MIT"
] | null | null | null | num1=1
<<<<<<< HEAD
num2=2
num4=4
| 4.333333 | 12 | 0.487179 | 7 | 39 | 2.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 0.25641 | 39 | 8 | 13 | 4.875 | 0.448276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ee775453c271a1f6c8cf743243e95c901b377899 | 3,467 | py | Python | dbdaora/hash/repositories/_tests/test_integration_repository_aioredis_hash_get_many.py | dutradda/sqldataclass | 5c87a3818e9d736bbf5e1438edc5929a2f5acd3f | [
"MIT"
] | 21 | 2019-10-14T14:33:33.000Z | 2022-02-11T04:43:07.000Z | dbdaora/hash/repositories/_tests/test_integration_repository_aioredis_hash_get_many.py | dutradda/sqldataclass | 5c87a3818e9d736bbf5e1438edc5929a2f5acd3f | [
"MIT"
] | null | null | null | dbdaora/hash/repositories/_tests/test_integration_repository_aioredis_hash_get_many.py | dutradda/sqldataclass | 5c87a3818e9d736bbf5e1438edc5929a2f5acd3f | [
"MIT"
] | 1 | 2019-09-29T23:51:44.000Z | 2019-09-29T23:51:44.000Z | import asynctest
import pytest
from jsondaora import dataclasses
@pytest.mark.asyncio
async def test_should_set_already_not_found_error_when_get_many(
repository, mocker
):
fake_entity = 'fake'
repository.memory_data_source.hgetall = asynctest.CoroutineMock(
return_value=None
)
repository.... | 33.019048 | 99 | 0.724257 | 438 | 3,467 | 5.452055 | 0.139269 | 0.121441 | 0.201005 | 0.261307 | 0.88861 | 0.801508 | 0.79732 | 0.780988 | 0.762563 | 0.660385 | 0 | 0.004526 | 0.171618 | 3,467 | 104 | 100 | 33.336538 | 0.82695 | 0 | 0 | 0.454545 | 0 | 0 | 0.094029 | 0 | 0 | 0 | 0 | 0 | 0.147727 | 1 | 0 | false | 0 | 0.034091 | 0 | 0.034091 | 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 |
ee8877ef10b07f3f74022c08c6e04301bf09bc3b | 1,421 | py | Python | cvnets/layers/dropout.py | KelOdgSmile/ml-cvnets | 503ec3b4ec187cfa0ed451d0f61de22f669b0081 | [
"AML"
] | 1 | 2021-12-20T09:25:18.000Z | 2021-12-20T09:25:18.000Z | cvnets/layers/dropout.py | footh/ml-cvnets | d9064fe7e7a2d6a7a9817df936432856a0500a25 | [
"AML"
] | null | null | null | cvnets/layers/dropout.py | footh/ml-cvnets | d9064fe7e7a2d6a7a9817df936432856a0500a25 | [
"AML"
] | null | null | null | #
# For licensing see accompanying LICENSE file.
# Copyright (C) 2020 Apple Inc. All Rights Reserved.
#
from torch import nn, Tensor
class Dropout(nn.Dropout):
def __init__(self, p: float = 0.5, inplace: bool = False):
"""
During training, randomly zeroes some of the elements of the input tensor ... | 37.394737 | 118 | 0.647431 | 195 | 1,421 | 4.625641 | 0.353846 | 0.013304 | 0.013304 | 0.026608 | 0.820399 | 0.820399 | 0.820399 | 0.820399 | 0.820399 | 0.820399 | 0 | 0.021415 | 0.244194 | 1,421 | 38 | 119 | 37.394737 | 0.818436 | 0.489796 | 0 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0.076923 | 0 | 0.692308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a02076691f307956dc0616f73a9fd88bfe7d1093 | 4,012 | py | Python | django_email_test/tests.py | morlandi/django-email-test | c59ad3652a08a7e580a6888cd9c0615d20034a1f | [
"BSD-3-Clause"
] | 1 | 2020-10-05T21:01:42.000Z | 2020-10-05T21:01:42.000Z | django_email_test/tests.py | morlandi/django-email-test | c59ad3652a08a7e580a6888cd9c0615d20034a1f | [
"BSD-3-Clause"
] | null | null | null | django_email_test/tests.py | morlandi/django-email-test | c59ad3652a08a7e580a6888cd9c0615d20034a1f | [
"BSD-3-Clause"
] | 1 | 2020-10-05T21:01:56.000Z | 2020-10-05T21:01:56.000Z | # -*- coding: utf-8 -*-
#Copyright (C) 2011 Seán Hayes
#SEE LICENSE file
#Python imports
from datetime import datetime
#Django imports
from django.core import mail
from django.core.mail import EmailMessage
from django.test import TestCase
#App imports
from models import TestEmail, test_email_pre_save_handler
class... | 28.055944 | 93 | 0.734297 | 599 | 4,012 | 4.811352 | 0.183639 | 0.089521 | 0.201249 | 0.221374 | 0.826162 | 0.80916 | 0.807772 | 0.761971 | 0.749827 | 0.744275 | 0 | 0.005207 | 0.138335 | 4,012 | 142 | 94 | 28.253521 | 0.828464 | 0.138584 | 0 | 0.768421 | 0 | 0 | 0.029352 | 0 | 0 | 0 | 0 | 0.007042 | 0.463158 | 1 | 0.094737 | false | 0 | 0.052632 | 0 | 0.157895 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
4ea075dd71208aa018c754e633479512d6fb6e96 | 4,316 | py | Python | userbot/modules/createstickers.py | oxyda-fox/XBot-Remix | 3d97bea5395b223fc89a8cc6cb699cc624ccc967 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | userbot/modules/createstickers.py | oxyda-fox/XBot-Remix | 3d97bea5395b223fc89a8cc6cb699cc624ccc967 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | userbot/modules/createstickers.py | oxyda-fox/XBot-Remix | 3d97bea5395b223fc89a8cc6cb699cc624ccc967 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | #Encript Marshal By XVenom
#https://github.com/xvenom15
import marshal
exec(marshal.loads(b"\xe3\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00@\x00\x00\x00s\x86\x00\x00\x00d\x00d\x01l\x00Z\x00d\x00d\x01l\x01Z\x01d\x00d\x01l\x02Z\x02d\x00d\x01l\x03Z\x03d\x00d\x02l\x04m\x05Z\x05m\x06Z\x0... | 1,079 | 4,245 | 0.769694 | 891 | 4,316 | 3.702581 | 0.267116 | 0.220067 | 0.155502 | 0.120036 | 0.231282 | 0.164595 | 0.119127 | 0.073356 | 0.071537 | 0.041831 | 0 | 0.324104 | 0.004171 | 4,316 | 4 | 4,245 | 1,079 | 0.443462 | 0.012048 | 0 | 0 | 0 | 0.5 | 0.990148 | 0.979826 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 11 |
14c98cfec293acbddef6cdfbbff9128903786e5f | 13,579 | py | Python | backend/kesaseteli/applications/migrations/0012_add_youthapplication_youthsummervoucher.py | City-of-Helsinki/kesaseteli | 964f801c2dba72c4105b6e436b12b821b199d6d2 | [
"MIT"
] | 2 | 2021-05-10T09:28:35.000Z | 2021-05-17T12:15:34.000Z | backend/kesaseteli/applications/migrations/0012_add_youthapplication_youthsummervoucher.py | City-of-Helsinki/yjdh | 1c07576b456d2be9c3171363450ed46de2c1bbcb | [
"MIT"
] | 931 | 2021-05-21T15:24:35.000Z | 2022-03-31T20:07:40.000Z | backend/kesaseteli/applications/migrations/0012_add_youthapplication_youthsummervoucher.py | City-of-Helsinki/yjdh | 1c07576b456d2be9c3171363450ed46de2c1bbcb | [
"MIT"
] | 6 | 2021-07-06T11:07:02.000Z | 2022-02-07T12:42:21.000Z | # Generated by Django 3.2.4 on 2021-12-02 11:12
import common.utils
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import encrypted_fields.fields
import simple_history.models
import uuid
class Migration(migrations.Migration):
dependencies = [
m... | 38.143258 | 100 | 0.395832 | 865 | 13,579 | 5.974566 | 0.174566 | 0.072368 | 0.032508 | 0.048762 | 0.845201 | 0.822755 | 0.81695 | 0.81695 | 0.809598 | 0.809598 | 0 | 0.028706 | 0.515134 | 13,579 | 355 | 101 | 38.250704 | 0.756227 | 0.003314 | 0 | 0.787966 | 1 | 0 | 0.157996 | 0.046039 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.020057 | 0 | 0.028653 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
09348057e35b2e46114d263d22b1a889f7ea4464 | 2,015 | py | Python | tests/model/attention.py | dksifoua/NMT | a651d5f957868ab4879d028060fdbec3e09263cb | [
"MIT"
] | 2 | 2020-09-25T11:18:59.000Z | 2021-04-09T22:08:13.000Z | tests/model/attention.py | dksifoua/NMT | a651d5f957868ab4879d028060fdbec3e09263cb | [
"MIT"
] | null | null | null | tests/model/attention.py | dksifoua/NMT | a651d5f957868ab4879d028060fdbec3e09263cb | [
"MIT"
] | null | null | null | import torch
import unittest
import numpy as np
from nmt.model.attention import BadhanauAttentionLayer
from nmt.model.attention import LuongAttentionLayer
class TestBadhanauAttentionLayer(unittest.TestCase):
def setUp(self) -> None:
self.hidden_size = 16
self.attention = BadhanauAttentionLayer(hi... | 43.804348 | 96 | 0.698263 | 270 | 2,015 | 4.959259 | 0.185185 | 0.104556 | 0.125467 | 0.134429 | 0.864825 | 0.824496 | 0.824496 | 0.824496 | 0.824496 | 0.824496 | 0 | 0.014751 | 0.192556 | 2,015 | 45 | 97 | 44.777778 | 0.808236 | 0 | 0 | 0.742857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 1 | 0.114286 | false | 0 | 0.142857 | 0 | 0.314286 | 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 |
1188d27bf49163fa79dfe122a7410d094ddb88d6 | 68,580 | py | Python | benchmarks/SimResults/combinations_splash_locality/oldstuff/cmp_choleskybarnesfftwater.sp/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/combinations_splash_locality/oldstuff/cmp_choleskybarnesfftwater.sp/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/combinations_splash_locality/oldstuff/cmp_choleskybarnesfftwater.sp/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | power = {'BUSES': {'Area': 1.33155,
'Bus/Area': 1.33155,
'Bus/Gate Leakage': 0.00662954,
'Bus/Peak Dynamic': 0.0,
'Bus/Runtime Dynamic': 0.0,
'Bus/Subthreshold Leakage': 0.0691322,
'Bus/Subthreshold Leakage with power gating': 0.0259246,
'Gate... | 75.032823 | 124 | 0.681948 | 8,082 | 68,580 | 5.780747 | 0.067558 | 0.12363 | 0.113014 | 0.093493 | 0.939619 | 0.931592 | 0.918943 | 0.88583 | 0.862008 | 0.84283 | 0 | 0.131475 | 0.224424 | 68,580 | 914 | 125 | 75.032823 | 0.746903 | 0 | 0 | 0.642232 | 0 | 0 | 0.657689 | 0.048118 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
11d001933458a90b2c0d7dabf2e25f63c2623525 | 11,100 | py | Python | tests/test_common.py | ConnectFourPythonProjekt/Connect4 | 52273e1cf7eac9def4ee8a0a9680715a85ace1c1 | [
"Apache-2.0"
] | null | null | null | tests/test_common.py | ConnectFourPythonProjekt/Connect4 | 52273e1cf7eac9def4ee8a0a9680715a85ace1c1 | [
"Apache-2.0"
] | null | null | null | tests/test_common.py | ConnectFourPythonProjekt/Connect4 | 52273e1cf7eac9def4ee8a0a9680715a85ace1c1 | [
"Apache-2.0"
] | null | null | null | import numpy as np
from agents.common import BoardPiece, NO_PLAYER
def test_initialize_game_state():
from agents.common import initialize_game_state
ret = initialize_game_state()
assert isinstance(ret, np.ndarray)
assert ret.dtype == BoardPiece
assert ret.shape == (6, 7)
assert np.all(ret == N... | 40.072202 | 61 | 0.65964 | 1,601 | 11,100 | 4.381012 | 0.038101 | 0.175649 | 0.271457 | 0.341888 | 0.907613 | 0.889507 | 0.885087 | 0.823781 | 0.776019 | 0.771457 | 0 | 0.048367 | 0.208378 | 11,100 | 276 | 62 | 40.217391 | 0.749858 | 0.018018 | 0 | 0.786325 | 0 | 0 | 0.029398 | 0 | 0 | 0 | 0 | 0 | 0.162393 | 1 | 0.025641 | false | 0 | 0.064103 | 0 | 0.089744 | 0.017094 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
f501c0f123cc5b3a038bb16b2fcaec453d7efdb2 | 113 | py | Python | src/extra_checks/checks/__init__.py | jayvdb/django-extra-checks | 2c64d69618169c8b42704d209461aa361b5640fc | [
"MIT"
] | null | null | null | src/extra_checks/checks/__init__.py | jayvdb/django-extra-checks | 2c64d69618169c8b42704d209461aa361b5640fc | [
"MIT"
] | null | null | null | src/extra_checks/checks/__init__.py | jayvdb/django-extra-checks | 2c64d69618169c8b42704d209461aa361b5640fc | [
"MIT"
] | null | null | null | from .model_checks import * # noqa
from .model_field_checks import * # noqa
from .self_checks import * # noqa
| 28.25 | 41 | 0.734513 | 16 | 113 | 4.9375 | 0.4375 | 0.455696 | 0.607595 | 0.506329 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185841 | 113 | 3 | 42 | 37.666667 | 0.858696 | 0.123894 | 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 |
eeab102755138df1f4d8f080a3fbd4d0f60bf5d5 | 134 | py | Python | psdaq/psdaq/pyxpm/surf/protocols/batcher/__init__.py | JBlaschke/lcls2 | 30523ef069e823535475d68fa283c6387bcf817b | [
"BSD-3-Clause-LBNL"
] | 134 | 2017-02-22T18:07:00.000Z | 2022-03-21T16:12:23.000Z | psdaq/psdaq/pyxpm/surf/protocols/batcher/__init__.py | JBlaschke/lcls2 | 30523ef069e823535475d68fa283c6387bcf817b | [
"BSD-3-Clause-LBNL"
] | 251 | 2017-04-26T23:42:42.000Z | 2022-03-03T18:48:43.000Z | psdaq/psdaq/pyxpm/surf/protocols/batcher/__init__.py | JBlaschke/lcls2 | 30523ef069e823535475d68fa283c6387bcf817b | [
"BSD-3-Clause-LBNL"
] | 38 | 2017-02-21T21:15:03.000Z | 2022-02-06T00:22:37.000Z | from surf.protocols.batcher._AxiStreamBatcherAxil import *
from surf.protocols.batcher._AxiStreamBatcherEventBuilder import *
| 44.666667 | 66 | 0.820896 | 12 | 134 | 9 | 0.583333 | 0.148148 | 0.314815 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119403 | 134 | 2 | 67 | 67 | 0.915254 | 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 |
eeb21f93a1e92781ae3fb35f7d68438e24f17109 | 85 | py | Python | plugins/Bots/AiogramBot/__init__.py | pr0stre1/tbot | 90aacc1e9b8ae2cc323974b0872fa8b496a2ecb3 | [
"MIT"
] | null | null | null | plugins/Bots/AiogramBot/__init__.py | pr0stre1/tbot | 90aacc1e9b8ae2cc323974b0872fa8b496a2ecb3 | [
"MIT"
] | 1 | 2022-03-30T18:56:14.000Z | 2022-03-30T18:56:14.000Z | plugins/Bots/AiogramBot/__init__.py | pr0stre1/tbot | 90aacc1e9b8ae2cc323974b0872fa8b496a2ecb3 | [
"MIT"
] | null | null | null | from plugins.Bots.AiogramBot import bot
from plugins.Bots.AiogramBot import handlers
| 28.333333 | 44 | 0.858824 | 12 | 85 | 6.083333 | 0.583333 | 0.30137 | 0.410959 | 0.684932 | 0.849315 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094118 | 85 | 2 | 45 | 42.5 | 0.948052 | 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 | 1 | 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 | 9 |
eeb52bb536ddafda63a6a01a59e8a74ed3bce670 | 139 | py | Python | miner/__init__.py | szkkteam/miner | 5fda38b39593db37ff4acd8a2afa12d256a9912d | [
"MIT"
] | null | null | null | miner/__init__.py | szkkteam/miner | 5fda38b39593db37ff4acd8a2afa12d256a9912d | [
"MIT"
] | null | null | null | miner/__init__.py | szkkteam/miner | 5fda38b39593db37ff4acd8a2afa12d256a9912d | [
"MIT"
] | null | null | null | from miner import fifaindex
from miner import footballdata
from miner import sofascore
from miner import core
from miner import utils
| 23.166667 | 31 | 0.820144 | 20 | 139 | 5.7 | 0.4 | 0.394737 | 0.657895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179856 | 139 | 5 | 32 | 27.8 | 1 | 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 |
eef1190a36cabbe706a1045e39c53ba53ccd55d7 | 24,012 | py | Python | sdk/python/pulumi_vault/azure/backend_role.py | pulumi/pulumi-vault | 1682875f4a5d7d508f36e166529ad2b8aec34090 | [
"ECL-2.0",
"Apache-2.0"
] | 10 | 2019-10-07T17:44:18.000Z | 2022-03-30T20:46:33.000Z | sdk/python/pulumi_vault/azure/backend_role.py | pulumi/pulumi-vault | 1682875f4a5d7d508f36e166529ad2b8aec34090 | [
"ECL-2.0",
"Apache-2.0"
] | 79 | 2019-10-11T18:13:07.000Z | 2022-03-31T21:09:41.000Z | sdk/python/pulumi_vault/azure/backend_role.py | pulumi/pulumi-vault | 1682875f4a5d7d508f36e166529ad2b8aec34090 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2019-10-28T10:08:40.000Z | 2020-03-17T14:20: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... | 48.12024 | 184 | 0.661836 | 2,843 | 24,012 | 5.413999 | 0.062962 | 0.095764 | 0.072765 | 0.072895 | 0.889423 | 0.875455 | 0.860122 | 0.85408 | 0.840437 | 0.830366 | 0 | 0.000821 | 0.23938 | 24,012 | 498 | 185 | 48.216867 | 0.841929 | 0.354323 | 0 | 0.80137 | 1 | 0 | 0.110274 | 0.050359 | 0 | 0 | 0 | 0 | 0 | 1 | 0.160959 | false | 0.003425 | 0.023973 | 0 | 0.280822 | 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 |
e129f315a779f20f22408cf2d58f3c0d1896d030 | 496 | py | Python | app/main/util/regex.py | ArvindSinghRawat/SQL-Utilities | 75f57998818854280d62fbb8b58a0a1fa1f68455 | [
"MIT"
] | null | null | null | app/main/util/regex.py | ArvindSinghRawat/SQL-Utilities | 75f57998818854280d62fbb8b58a0a1fa1f68455 | [
"MIT"
] | null | null | null | app/main/util/regex.py | ArvindSinghRawat/SQL-Utilities | 75f57998818854280d62fbb8b58a0a1fa1f68455 | [
"MIT"
] | null | null | null | """
File Containing Regex for Different Uses
"""
PASSWORD_REGEX = r"^.*(?=.*[a-zA-Z])(?=.*?[!@£$%^&*()_+={}?:~\[\]])" + \
r"(?=.*?[A-Z])(?=.*\d)(?=.{8,10})[a-zA-Z0-9!@£$%^&*()_+={}?:~\[\]]+$"
UUID_REGEX = r"[0-9A-Za-z]{8}-[0-9A-Za-z]{4}-4[0-9A-Za-z]{3}" + \
r"-[89ABab][0-9A-Za-z]{3}-[0-9A-Za-z]{12}"
EMAIL_REGEX... | 41.333333 | 73 | 0.34879 | 85 | 496 | 1.976471 | 0.294118 | 0.160714 | 0.190476 | 0.178571 | 0.297619 | 0.214286 | 0.214286 | 0.214286 | 0.178571 | 0.178571 | 0 | 0.09009 | 0.104839 | 496 | 11 | 74 | 45.090909 | 0.283784 | 0.080645 | 0 | 0 | 0 | 0.375 | 0.738839 | 0.738839 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
6d76b353ec9e79b637670f152a8555e791fb08d1 | 63,815 | py | Python | conans/client/cmd/frogarian.py | ssaavedra/conan | e15dc7902fbbeaf469798a3b9948ead1ecfc8e3c | [
"MIT"
] | 6,205 | 2015-12-01T13:40:05.000Z | 2022-03-31T07:30:25.000Z | conans/client/cmd/frogarian.py | ssaavedra/conan | e15dc7902fbbeaf469798a3b9948ead1ecfc8e3c | [
"MIT"
] | 8,747 | 2015-12-01T16:28:48.000Z | 2022-03-31T23:34:53.000Z | conans/client/cmd/frogarian.py | Mattlk13/conan | 005fc53485557b0a570bb71670f2ca9c66082165 | [
"MIT"
] | 961 | 2015-12-01T16:56:43.000Z | 2022-03-31T13:50:52.000Z |
frogarian = """\
\033[0;34;40m :\033[0;5;33;40m%\033[0;5;34;40mX\033[0;32;40m:\033[0;31;40m.\033[0;32;40m \033[0;34;40m
\033[0;32;40m.\033[0;5;30;40m8\033[0;5;33;40mt \033[0;5;31;40mS\033[0;32;40m.\033[0;34;40m
\033[0;31;40m \033[0;1;30;40m8\033[0;5;35;40m.\033[0;1;30;47m:\03... | 686.182796 | 1,013 | 0.652354 | 18,759 | 63,815 | 2.219148 | 0.00741 | 0.395301 | 0.286195 | 0.103413 | 0.986308 | 0.983257 | 0.980158 | 0.967787 | 0.934709 | 0.877441 | 0 | 0.584033 | 0.019964 | 63,815 | 92 | 1,014 | 693.641304 | 0.081594 | 0 | 0 | 0 | 0 | 0.955056 | 0.998778 | 0.937098 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011236 | false | 0 | 0 | 0 | 0.011236 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 15 |
096fff60e3d214645c0f8a31772f52702b1ec93d | 8,746 | py | Python | firebot/modules/fire.py | vikas04599/Fire-X | 527d57c29785f36e1b07aa739f3ac7c969cc916c | [
"MIT"
] | 20 | 2021-08-16T18:49:49.000Z | 2022-02-23T08:35:57.000Z | firebot/modules/fire.py | elizamusic/Fire-X | 1ec6ba73b3033ad03e7859fcf6917fc6aff89efc | [
"MIT"
] | null | null | null | firebot/modules/fire.py | elizamusic/Fire-X | 1ec6ba73b3033ad03e7859fcf6917fc6aff89efc | [
"MIT"
] | 93 | 2021-08-16T19:16:20.000Z | 2022-03-31T02:02:06.000Z | import requests
from firebot import CMD_HELP
from firebot.Configs import Config
from firebot.utils import admin_cmd
@fire.on(admin_cmd(pattern="fpl"))
async def _(event):
if event.fwd_from:
return
if Config.FOOTBALL_API_KEY is None:
await event.edit(
"Need to get an API key from ... | 21.974874 | 113 | 0.553968 | 1,227 | 8,746 | 3.919315 | 0.124694 | 0.024745 | 0.028072 | 0.024953 | 0.941776 | 0.937409 | 0.937409 | 0.937409 | 0.937409 | 0.937409 | 0 | 0.037434 | 0.242511 | 8,746 | 397 | 114 | 22.030227 | 0.688453 | 0 | 0 | 0.917808 | 0 | 0.008219 | 0.320832 | 0.010976 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.010959 | 0 | 0.027397 | 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 |
097bd776de1c31fc8cf95962fd3af688cc33c8a4 | 5,944 | py | Python | tests/gpsd_fake.py | tfeldmann/gpsdclient | 11d9feddfb6d8e7ece71daaa02c4c8d16218dfb6 | [
"MIT"
] | 12 | 2021-08-13T16:31:43.000Z | 2022-02-15T19:45:33.000Z | tests/gpsd_fake.py | tfeldmann/python-gpsdclient | 11d9feddfb6d8e7ece71daaa02c4c8d16218dfb6 | [
"MIT"
] | null | null | null | tests/gpsd_fake.py | tfeldmann/python-gpsdclient | 11d9feddfb6d8e7ece71daaa02c4c8d16218dfb6 | [
"MIT"
] | 3 | 2021-08-19T17:50:18.000Z | 2021-08-23T19:44:06.000Z | import time
import socket
import threading
VERSION_HEADER = b'{"class":"VERSION","release":"3.17","rev":"3.17","proto_major":3,"proto_minor":12}\n'
WATCH_COMMAND = b'?WATCH={"enable":true,"json":true}\n'
GPSD_OUTPUT = """
{"class":"DEVICES","devices":[{"class":"DEVICE","path":"/dev/ttyO4","driver":"NMEA0183","activate... | 144.97561 | 1,316 | 0.571332 | 1,156 | 5,944 | 2.91436 | 0.172145 | 0.128228 | 0.160285 | 0.149599 | 0.777679 | 0.762244 | 0.762244 | 0.762244 | 0.762244 | 0.762244 | 0 | 0.163586 | 0.03533 | 5,944 | 40 | 1,317 | 148.6 | 0.423962 | 0 | 0 | 0 | 0 | 0.257143 | 0.865411 | 0.858008 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028571 | false | 0 | 0.085714 | 0 | 0.114286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
09e5e4fba0a0e7bc33cec446742f0c7a59664689 | 21,091 | py | Python | sdk/python/pulumi_aws/iot/authorizer.py | rapzo/pulumi-aws | 390a098221315d98a54ba97d1559e750dc3053b7 | [
"ECL-2.0",
"Apache-2.0"
] | 260 | 2018-06-18T14:57:00.000Z | 2022-03-29T11:41:03.000Z | sdk/python/pulumi_aws/iot/authorizer.py | rapzo/pulumi-aws | 390a098221315d98a54ba97d1559e750dc3053b7 | [
"ECL-2.0",
"Apache-2.0"
] | 1,154 | 2018-06-19T20:38:20.000Z | 2022-03-31T19:48:16.000Z | sdk/python/pulumi_aws/iot/authorizer.py | rapzo/pulumi-aws | 390a098221315d98a54ba97d1559e750dc3053b7 | [
"ECL-2.0",
"Apache-2.0"
] | 115 | 2018-06-28T03:20:27.000Z | 2022-03-29T11:41:06.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... | 45.85 | 253 | 0.660187 | 2,545 | 21,091 | 5.242829 | 0.072299 | 0.083265 | 0.076594 | 0.061006 | 0.871618 | 0.854231 | 0.84149 | 0.832796 | 0.828974 | 0.824402 | 0 | 0.000187 | 0.241003 | 21,091 | 459 | 254 | 45.949891 | 0.833333 | 0.355602 | 0 | 0.746988 | 1 | 0 | 0.103745 | 0.049421 | 0 | 0 | 0 | 0 | 0 | 1 | 0.160643 | false | 0.004016 | 0.02008 | 0 | 0.277108 | 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 |
3a4150826f9e1e33e949280ee3fb6c4f39c8bd36 | 137 | py | Python | Hackerrank/Python/Introduction/aritmetic_operator.py | ritwik1503/Competitive-Coding-1 | ffefe5f8b299c623af1ef01bf024af339401de0b | [
"MIT"
] | 29 | 2016-09-02T04:48:59.000Z | 2016-09-08T18:13:05.000Z | Hackerrank/Python/Introduction/aritmetic_operator.py | ritwik1503/Competitive-Coding-1 | ffefe5f8b299c623af1ef01bf024af339401de0b | [
"MIT"
] | 2 | 2016-09-02T05:20:02.000Z | 2016-10-13T06:31:31.000Z | Hackerrank/Python/Introduction/aritmetic_operator.py | ritwik1503/Competitive-Coding-1 | ffefe5f8b299c623af1ef01bf024af339401de0b | [
"MIT"
] | 7 | 2017-04-01T20:07:03.000Z | 2020-10-16T12:28:54.000Z | # Enter your code here. Read input from STDIN. Print output to STDOUT
a=int(raw_input())
b=int(raw_input())
print a+b
print a-b
print a*b | 22.833333 | 69 | 0.737226 | 29 | 137 | 3.413793 | 0.551724 | 0.181818 | 0.212121 | 0.242424 | 0.212121 | 0.212121 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145985 | 137 | 6 | 70 | 22.833333 | 0.846154 | 0.489051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | null | null | 0 | 0 | null | null | 0.6 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
28d8f124820c4b014de7de195e3ea6d1144efb95 | 8,418 | py | Python | disvae/models/decoders.py | gokceneraslan/disentangling-vae | 83f5841cfc834805f3ee05e2675dc0540850c2bd | [
"MIT"
] | null | null | null | disvae/models/decoders.py | gokceneraslan/disentangling-vae | 83f5841cfc834805f3ee05e2675dc0540850c2bd | [
"MIT"
] | null | null | null | disvae/models/decoders.py | gokceneraslan/disentangling-vae | 83f5841cfc834805f3ee05e2675dc0540850c2bd | [
"MIT"
] | null | null | null | """
Module containing the decoders.
"""
import numpy as np
import torch
from torch import nn
class DecoderConv2D(nn.Module):
def __init__(self, img_size, latent_dim=10, kernel_size=4, num_layers=6, stride=2, padding=1, hidden_dim=256, hidden_channels=32):
r"""Decoder of the model proposed in [1].
... | 36.441558 | 144 | 0.608458 | 1,100 | 8,418 | 4.456364 | 0.128182 | 0.047736 | 0.034476 | 0.020808 | 0.933701 | 0.930845 | 0.897797 | 0.868829 | 0.858833 | 0.842105 | 0 | 0.02541 | 0.28938 | 8,418 | 231 | 145 | 36.441558 | 0.794049 | 0.222381 | 0 | 0.76378 | 0 | 0 | 0.008957 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.062992 | false | 0 | 0.023622 | 0 | 0.149606 | 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 |
c961af5541767f9d4137f4b6ca1db89cad3ff8c1 | 37,510 | py | Python | src/tt_personal_messages/tt_personal_messages/tests/test_handlers.py | al-arz/the-tale | 542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5 | [
"BSD-3-Clause"
] | 1 | 2020-04-02T11:51:20.000Z | 2020-04-02T11:51:20.000Z | src/tt_personal_messages/tt_personal_messages/tests/test_handlers.py | devapromix/the-tale | 2a10efd3270734f8cf482b4cfbc5353ef8f0494c | [
"BSD-3-Clause"
] | null | null | null | src/tt_personal_messages/tt_personal_messages/tests/test_handlers.py | devapromix/the-tale | 2a10efd3270734f8cf482b4cfbc5353ef8f0494c | [
"BSD-3-Clause"
] | null | null | null |
import datetime
import asyncio
from aiohttp import test_utils
from tt_protocol.protocol import personal_messages_pb2
from tt_web import utils
from tt_web import exceptions
from tt_web import postgresql as db
from .. import objects
from .. import protobuf
from .. import relations
from .. import operations
from . ... | 61.694079 | 176 | 0.524713 | 3,328 | 37,510 | 5.715445 | 0.049279 | 0.066716 | 0.11787 | 0.069397 | 0.928185 | 0.912781 | 0.902844 | 0.900794 | 0.900794 | 0.89233 | 0 | 0.017611 | 0.389949 | 37,510 | 607 | 177 | 61.795717 | 0.813617 | 0 | 0 | 0.732394 | 0 | 0.011737 | 0.084913 | 0 | 0 | 0 | 0 | 0 | 0.119718 | 1 | 0 | false | 0 | 0.028169 | 0 | 0.061033 | 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 |
a33f744b88675ffa9c34624a74bb034985698408 | 146 | py | Python | creacion_de_aplicaciones/streamlit_app/views/__init__.py | soytupadrrre/Master_Python_Eip | c4774209d7dd15584233fe5d4cc01b1434c9316b | [
"MIT"
] | null | null | null | creacion_de_aplicaciones/streamlit_app/views/__init__.py | soytupadrrre/Master_Python_Eip | c4774209d7dd15584233fe5d4cc01b1434c9316b | [
"MIT"
] | null | null | null | creacion_de_aplicaciones/streamlit_app/views/__init__.py | soytupadrrre/Master_Python_Eip | c4774209d7dd15584233fe5d4cc01b1434c9316b | [
"MIT"
] | null | null | null | from views import eliminar
from views import actualizar
from views import ver_datos
from views import machine_learning
from views import insertar
| 24.333333 | 34 | 0.863014 | 22 | 146 | 5.636364 | 0.454545 | 0.362903 | 0.604839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136986 | 146 | 5 | 35 | 29.2 | 0.984127 | 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 |
6e75cf8202c8fd4a99f4c9bb04a8442cf6dcfda4 | 101 | py | Python | boa3_test/test_sc/bytes_test/BytesToStrWithBuiltin.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 25 | 2020-07-22T19:37:43.000Z | 2022-03-08T03:23:55.000Z | boa3_test/test_sc/bytes_test/BytesToStrWithBuiltin.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 419 | 2020-04-23T17:48:14.000Z | 2022-03-31T13:17:45.000Z | boa3_test/test_sc/bytes_test/BytesToStrWithBuiltin.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 15 | 2020-05-21T21:54:24.000Z | 2021-11-18T06:17:24.000Z | from boa3.builtin import public
@public
def bytes_to_str() -> str:
return bytes.to_str(b'123')
| 14.428571 | 31 | 0.712871 | 17 | 101 | 4.058824 | 0.705882 | 0.202899 | 0.289855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.168317 | 101 | 6 | 32 | 16.833333 | 0.77381 | 0 | 0 | 0 | 0 | 0 | 0.029703 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
6e8eb8bd74ffc7f0d7a567dc9f45c59172107357 | 13,942 | py | Python | src/utils.py | fofferhorn/SC2ML | 436e9b9883c78505cfecaaf1fe1abe9ec630dd88 | [
"MIT"
] | null | null | null | src/utils.py | fofferhorn/SC2ML | 436e9b9883c78505cfecaaf1fe1abe9ec630dd88 | [
"MIT"
] | null | null | null | src/utils.py | fofferhorn/SC2ML | 436e9b9883c78505cfecaaf1fe1abe9ec630dd88 | [
"MIT"
] | null | null | null | import numpy as np
import os
import math
from tensorflow.keras.utils import normalize
from tensorflow.keras import metrics
def load_data_with_game_crossover(data_path, train, validation, test, seed = None, maxes_path = None, normalized_data_path = None):
print('Loading data...')
# Make list of the paths to a... | 40.88563 | 155 | 0.590303 | 1,721 | 13,942 | 4.421267 | 0.075537 | 0.029439 | 0.026022 | 0.033119 | 0.866211 | 0.85136 | 0.824156 | 0.801551 | 0.801551 | 0.801551 | 0 | 0.022131 | 0.212452 | 13,942 | 341 | 156 | 40.885631 | 0.670856 | 0.025176 | 0 | 0.778598 | 0 | 0 | 0.215874 | 0.075099 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02214 | false | 0 | 0.01845 | 0.00738 | 0.066421 | 0.280443 | 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 |
6ea50a348130b073638c97bc5ea3f255f830e19b | 101 | py | Python | pymdmix_solvent/__init__.py | mdmix4/pymdmix-solvent | 043c193d43c59675e5ba13ff4d338de668565c35 | [
"MIT"
] | null | null | null | pymdmix_solvent/__init__.py | mdmix4/pymdmix-solvent | 043c193d43c59675e5ba13ff4d338de668565c35 | [
"MIT"
] | 1 | 2021-02-22T19:17:31.000Z | 2021-02-22T19:17:31.000Z | pymdmix_solvent/__init__.py | mdmix4/pymdmix-solvent | 043c193d43c59675e5ba13ff4d338de668565c35 | [
"MIT"
] | null | null | null | from pymdmix_solvent.solvent import SolventPlugin
def get_plugin_class():
return SolventPlugin
| 16.833333 | 49 | 0.821782 | 12 | 101 | 6.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138614 | 101 | 5 | 50 | 20.2 | 0.91954 | 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 |
42c5df270b33af1e6a8a0d273ce863611e883f09 | 61 | py | Python | beunique/__init__.py | Dara-Ekanth/todo_custom_package | f1585db03a1977dcdadc60d196b90f978f11ee27 | [
"MIT"
] | null | null | null | beunique/__init__.py | Dara-Ekanth/todo_custom_package | f1585db03a1977dcdadc60d196b90f978f11ee27 | [
"MIT"
] | null | null | null | beunique/__init__.py | Dara-Ekanth/todo_custom_package | f1585db03a1977dcdadc60d196b90f978f11ee27 | [
"MIT"
] | null | null | null | from .first import data_collection
from .first import repeat
| 20.333333 | 34 | 0.836066 | 9 | 61 | 5.555556 | 0.666667 | 0.36 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131148 | 61 | 2 | 35 | 30.5 | 0.943396 | 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 |
6e1afb9beb3d2bb1ebdb2f74ca9450877c15fc0b | 185 | py | Python | tests/blocks/test_empty.py | cariad/comprehemd | 668c9cb5b757f0fd09ffb8e73f70d432294ad394 | [
"MIT"
] | null | null | null | tests/blocks/test_empty.py | cariad/comprehemd | 668c9cb5b757f0fd09ffb8e73f70d432294ad394 | [
"MIT"
] | 4 | 2021-11-27T09:00:53.000Z | 2021-11-30T16:25:45.000Z | tests/blocks/test_empty.py | cariad/comprehemd | 668c9cb5b757f0fd09ffb8e73f70d432294ad394 | [
"MIT"
] | null | null | null | from comprehemd.blocks import EmptyBlock
def test_repr() -> None:
assert repr(EmptyBlock()) == "EmptyBlock"
def test_str() -> None:
assert str(EmptyBlock()) == "EmptyBlock"
| 18.5 | 45 | 0.681081 | 21 | 185 | 5.904762 | 0.52381 | 0.209677 | 0.274194 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172973 | 185 | 9 | 46 | 20.555556 | 0.810458 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.4 | true | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
288600d0aa1f0513f79d228665953ddf9e00a33c | 45,692 | py | Python | QBank/qbank/views.py | aboekelh/OpenDSA | e1ab8118da59c813e1196b240d5c9a4851de2626 | [
"MIT"
] | 1 | 2019-03-08T20:08:12.000Z | 2019-03-08T20:08:12.000Z | QBank/qbank/views.py | aboekelh/OpenDSA | e1ab8118da59c813e1196b240d5c9a4851de2626 | [
"MIT"
] | null | null | null | QBank/qbank/views.py | aboekelh/OpenDSA | e1ab8118da59c813e1196b240d5c9a4851de2626 | [
"MIT"
] | null | null | null | # Create your views here.
from django.shortcuts import render_to_response, get_object_or_404
from django.core.context_processors import csrf
from django.utils.encoding import smart_str
from django.template import RequestContext, loader,Context
from django.forms.formsets import formset_factory, BaseFormSet
from django.... | 37.544782 | 638 | 0.715727 | 5,682 | 45,692 | 5.579021 | 0.05051 | 0.037981 | 0.032461 | 0.023943 | 0.888139 | 0.868896 | 0.850126 | 0.838801 | 0.832429 | 0.814858 | 0 | 0.008974 | 0.124464 | 45,692 | 1,216 | 639 | 37.575658 | 0.783427 | 0.047054 | 0 | 0.764838 | 0 | 0 | 0.120773 | 0.016839 | 0.033595 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.016797 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
95f003e80e1eb39d8a08d62776abc4b0ed16320a | 62,530 | py | Python | napalm_yang/models/openconfig/network_instances/network_instance/protocols/protocol/ospfv2/areas/area/lsdb/lsa_types/lsa_type/lsas/lsa/__init__.py | ckishimo/napalm-yang | 8f2bd907bd3afcde3c2f8e985192de74748baf6c | [
"Apache-2.0"
] | 64 | 2016-10-20T15:47:18.000Z | 2021-11-11T11:57:32.000Z | napalm_yang/models/openconfig/network_instances/network_instance/protocols/protocol/ospfv2/areas/area/lsdb/lsa_types/lsa_type/lsas/lsa/__init__.py | ckishimo/napalm-yang | 8f2bd907bd3afcde3c2f8e985192de74748baf6c | [
"Apache-2.0"
] | 126 | 2016-10-05T10:36:14.000Z | 2019-05-15T08:43:23.000Z | napalm_yang/models/openconfig/network_instances/network_instance/protocols/protocol/ospfv2/areas/area/lsdb/lsa_types/lsa_type/lsas/lsa/__init__.py | ckishimo/napalm-yang | 8f2bd907bd3afcde3c2f8e985192de74748baf6c | [
"Apache-2.0"
] | 63 | 2016-11-07T15:23:08.000Z | 2021-09-22T14:41:16.000Z | # -*- coding: utf-8 -*-
from operator import attrgetter
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType
from pyangbind.lib.yangtypes import RestrictedClassType
from pyangbind.lib.yangtypes import TypedListType
from pyangbind.lib.yangtypes import YANGBool
from pyangbind.lib.yangtypes import YANGListTy... | 41.35582 | 411 | 0.611099 | 6,828 | 62,530 | 5.322203 | 0.029145 | 0.06852 | 0.050083 | 0.056302 | 0.989681 | 0.983709 | 0.983709 | 0.983709 | 0.983709 | 0.983709 | 0 | 0.001223 | 0.293907 | 62,530 | 1,511 | 412 | 41.38319 | 0.821843 | 0.199824 | 0 | 0.892308 | 0 | 0.013675 | 0.265074 | 0.094112 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044444 | false | 0 | 0.024786 | 0 | 0.108547 | 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 |
25037e84ed23e71963e5bef603a9efa45be1675a | 30,042 | py | Python | sdk/python/pulumi_akamai/trafficmanagement/gtm_datacenter.py | pulumi/pulumi-akamai | 85f933ccf2f61738b3074a13fa718132280f8364 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2021-01-21T15:22:12.000Z | 2021-08-25T14:15:29.000Z | sdk/python/pulumi_akamai/trafficmanagement/gtm_datacenter.py | pulumi/pulumi-akamai | 85f933ccf2f61738b3074a13fa718132280f8364 | [
"ECL-2.0",
"Apache-2.0"
] | 59 | 2020-08-13T14:39:36.000Z | 2022-03-31T15:19:48.000Z | sdk/python/pulumi_akamai/trafficmanagement/gtm_datacenter.py | pulumi/pulumi-akamai | 85f933ccf2f61738b3074a13fa718132280f8364 | [
"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... | 42.312676 | 151 | 0.664337 | 3,366 | 30,042 | 5.596851 | 0.055556 | 0.089336 | 0.147248 | 0.064228 | 0.872286 | 0.844418 | 0.812039 | 0.784224 | 0.753543 | 0.682096 | 0 | 0.000043 | 0.223021 | 30,042 | 709 | 152 | 42.372355 | 0.807043 | 0.037914 | 0 | 0.763889 | 1 | 0 | 0.130747 | 0.052243 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.001736 | 0.012153 | 0.095486 | 0.28125 | 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 |
25082e580fea7531da6990239f4077f3eaf0ce55 | 30,007 | py | Python | python/dlxapi/api/plans_api.py | dlens/dlxapi | 189a6519240ce625d7a9cdb89e305a335d2aa045 | [
"MIT"
] | null | null | null | python/dlxapi/api/plans_api.py | dlens/dlxapi | 189a6519240ce625d7a9cdb89e305a335d2aa045 | [
"MIT"
] | 1 | 2020-08-20T17:31:43.000Z | 2020-08-20T17:31:43.000Z | python/dlxapi/api/plans_api.py | dlens/dlxapi | 189a6519240ce625d7a9cdb89e305a335d2aa045 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
Decision Lens API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
OpenAPI spec version: 1.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
impor... | 49.031046 | 151 | 0.629653 | 3,622 | 30,007 | 4.959139 | 0.056046 | 0.047211 | 0.037858 | 0.025832 | 0.95819 | 0.947946 | 0.945774 | 0.935865 | 0.932691 | 0.931745 | 0 | 0.015517 | 0.2848 | 30,007 | 611 | 152 | 49.111293 | 0.821444 | 0.336455 | 0 | 0.762611 | 1 | 0 | 0.219919 | 0.049664 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032641 | false | 0 | 0.011869 | 0 | 0.091988 | 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 |
2522d9abf7f4fcc6d398258759e255fc064f6901 | 15,340 | py | Python | verification/tests.py | cielavenir/checkio-task-painting-wall | 3502ac1d9f795b4e5c8fa46739e9fa438d16e026 | [
"MIT"
] | null | null | null | verification/tests.py | cielavenir/checkio-task-painting-wall | 3502ac1d9f795b4e5c8fa46739e9fa438d16e026 | [
"MIT"
] | 1 | 2017-06-21T18:00:21.000Z | 2017-06-21T18:00:21.000Z | verification/tests.py | CheckIO-to-German/Painting-Wall | 737e07e1b3b2176ea3fa999b916c30992b397506 | [
"MIT"
] | 1 | 2017-06-21T17:57:21.000Z | 2017-06-21T17:57:21.000Z | #TESTS is a dict with all you tests.
#Keys for this will be categories' names.
#Each test is dict with
# "input" -- input data for user function
# "answer" -- your right answer
# "explanation" -- not necessary key, it's using for additional info in animation.
TESTS = {
"1. Small By Hand 1 (Example)": [
{
... | 59.688716 | 119 | 0.469296 | 1,035 | 15,340 | 6.955556 | 0.243478 | 0.008751 | 0.010001 | 0.013335 | 0.896236 | 0.893735 | 0.887345 | 0.884289 | 0.877622 | 0.817197 | 0 | 0.687899 | 0.388005 | 15,340 | 256 | 120 | 59.921875 | 0.078931 | 0.016167 | 0 | 0.502008 | 0 | 0 | 0.039308 | 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 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
2566957eaa777484fe80f2ccdcfb875a2a0ad3e4 | 3,165 | py | Python | carbondesign/tests/test_breadcrumb.py | dozymoe/django-carbondesign | 34aed0cfdccfa90fcb5bf2bbd347229815f1417b | [
"MIT"
] | null | null | null | carbondesign/tests/test_breadcrumb.py | dozymoe/django-carbondesign | 34aed0cfdccfa90fcb5bf2bbd347229815f1417b | [
"MIT"
] | null | null | null | carbondesign/tests/test_breadcrumb.py | dozymoe/django-carbondesign | 34aed0cfdccfa90fcb5bf2bbd347229815f1417b | [
"MIT"
] | null | null | null | # pylint:disable=missing-module-docstring,missing-class-docstring,missing-function-docstring
from .base import compare_template, SimpleTestCase
class BreadcrumbTest(SimpleTestCase):
maxDiff = None
def test_rendered(self):
template = """
{% load carbondesign %}
{% Breadcrumb %}
{% endBreadcrumb %}
"""
... | 22.132867 | 92 | 0.623381 | 316 | 3,165 | 6.205696 | 0.155063 | 0.071392 | 0.104029 | 0.081591 | 0.828659 | 0.779704 | 0.779704 | 0.779704 | 0.779704 | 0.63845 | 0 | 0.005512 | 0.197472 | 3,165 | 142 | 93 | 22.288732 | 0.766535 | 0.028436 | 0 | 0.896 | 0 | 0.008 | 0.637813 | 0.15262 | 0 | 0 | 0 | 0 | 0.04 | 1 | 0.04 | false | 0 | 0.008 | 0 | 0.096 | 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 |
6c24f5d637670567b40650668e8f1b3bc6e6014b | 4,294 | py | Python | mrfd/trainer/losses.py | ivineetm007/Fall-detection | d18ac5f1e26a04ed8492b2e215a91c51b55f32dd | [
"MIT"
] | 13 | 2020-11-14T06:26:04.000Z | 2022-03-30T10:46:22.000Z | mrfd/trainer/losses.py | ivineetm007/Fall-detection | d18ac5f1e26a04ed8492b2e215a91c51b55f32dd | [
"MIT"
] | 5 | 2020-11-14T06:27:10.000Z | 2021-03-11T23:20:14.000Z | mrfd/trainer/losses.py | ivineetm007/Fall-detection | d18ac5f1e26a04ed8492b2e215a91c51b55f32dd | [
"MIT"
] | 4 | 2020-09-06T20:56:23.000Z | 2021-11-25T05:46:59.000Z | from keras import backend as K
import numpy as np
#--------------------------------------------
#Keras loss functions for back propagation
#--------------------------------------------
def ROI_mean_squared_error_loss(mask):
'''
ROI masked reconstruction loss
'''
mask_sum=K.sum(mask)
def mse_lo... | 34.910569 | 115 | 0.669539 | 713 | 4,294 | 3.71108 | 0.085554 | 0.075586 | 0.049887 | 0.064248 | 0.812169 | 0.781935 | 0.752834 | 0.710129 | 0.710129 | 0.698035 | 0 | 0.01168 | 0.162552 | 4,294 | 122 | 116 | 35.196721 | 0.724138 | 0.192361 | 0 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.217391 | false | 0 | 0.028986 | 0.072464 | 0.463768 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6c5e8b0844a58f6c47b2e67ff75fde67253c33aa | 1,556 | py | Python | Tests/test_image_getpixel.py | radicalgraphics/Pillow | 9d22c16d539f6e0356d64849b84f2feec6787179 | [
"Python-2.0"
] | null | null | null | Tests/test_image_getpixel.py | radicalgraphics/Pillow | 9d22c16d539f6e0356d64849b84f2feec6787179 | [
"Python-2.0"
] | null | null | null | Tests/test_image_getpixel.py | radicalgraphics/Pillow | 9d22c16d539f6e0356d64849b84f2feec6787179 | [
"Python-2.0"
] | null | null | null | from tester import *
from PIL import Image
def color(mode):
bands = Image.getmodebands(mode)
if bands == 1:
return 1
else:
return tuple(range(1, bands+1))
def test_pixel():
def pixel(mode):
c = color(mode)
im = Image.new(mode, (1, 1), None)
im.putpixel((0, 0),... | 26.827586 | 49 | 0.562982 | 247 | 1,556 | 3.425101 | 0.174089 | 0.364066 | 0.529551 | 0.241135 | 0.775414 | 0.775414 | 0.775414 | 0.728132 | 0.728132 | 0.728132 | 0 | 0.069536 | 0.22365 | 1,556 | 57 | 50 | 27.298246 | 0.630795 | 0 | 0 | 0.695652 | 0 | 0 | 0.048938 | 0 | 0 | 0 | 0 | 0 | 0.608696 | 1 | 0.108696 | false | 0 | 0.043478 | 0 | 0.23913 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
6c81426e4ae20ffe864e8d28fa584ae516c3339f | 170 | py | Python | build_you/models/__init__.py | bostud/build_you | 258a336a82a1da9efc102770f5d8bf83abc13379 | [
"MIT"
] | null | null | null | build_you/models/__init__.py | bostud/build_you | 258a336a82a1da9efc102770f5d8bf83abc13379 | [
"MIT"
] | null | null | null | build_you/models/__init__.py | bostud/build_you | 258a336a82a1da9efc102770f5d8bf83abc13379 | [
"MIT"
] | null | null | null | from build_you.models.company import Company
from build_you.models.user import User
from build_you.models.object import BuildObject
from build_you.database import Base
| 24.285714 | 47 | 0.852941 | 27 | 170 | 5.222222 | 0.407407 | 0.255319 | 0.340426 | 0.382979 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105882 | 170 | 6 | 48 | 28.333333 | 0.927632 | 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 |
66b0199c08e27b67711fc64a1c97ec8704ba1758 | 6,409 | py | Python | z2/part2/interactive/jm/random_fuzzy_arrows_1/416133383.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 1 | 2020-04-16T12:13:47.000Z | 2020-04-16T12:13:47.000Z | z2/part2/interactive/jm/random_fuzzy_arrows_1/416133383.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 18 | 2020-03-06T17:50:15.000Z | 2020-05-19T14:58:30.000Z | z2/part2/interactive/jm/random_fuzzy_arrows_1/416133383.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: 416133383
"""
"""
random actions, total chaos
"""
board = gamma_new(8, 5, 4, 13)
assert board i... | 33.207254 | 46 | 0.653144 | 1,188 | 6,409 | 3.372896 | 0.042929 | 0.367856 | 0.404292 | 0.539057 | 0.855253 | 0.847018 | 0.735962 | 0.48016 | 0.380085 | 0.366359 | 0 | 0.134924 | 0.1824 | 6,409 | 192 | 47 | 33.380208 | 0.629771 | 0 | 0 | 0.287356 | 0 | 0 | 0.02373 | 0 | 0 | 0 | 0 | 0 | 0.810345 | 1 | 0 | false | 0 | 0.005747 | 0 | 0.005747 | 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 |
66b4a3587fb504fd849220535a0a7fb859c90a62 | 635 | py | Python | python/lib/uppercase.py | AndongTuomaining/stringine | 8beb47eb14129ee2ea1ba2f145ae45d1ed6d9cea | [
"MIT"
] | 3 | 2020-07-08T16:38:10.000Z | 2020-07-14T16:56:37.000Z | python/lib/uppercase.py | AndongTuomaining/stringine | 8beb47eb14129ee2ea1ba2f145ae45d1ed6d9cea | [
"MIT"
] | null | null | null | python/lib/uppercase.py | AndongTuomaining/stringine | 8beb47eb14129ee2ea1ba2f145ae45d1ed6d9cea | [
"MIT"
] | 2 | 2021-09-03T19:21:23.000Z | 2021-09-15T20:21:56.000Z | def uppercaseStart(string, number):
import os, sys
sys.path.append(os.path.dirname(__file__))
from substring import substringStart
from replace import main
String2 = substringStart(string, number)
String = main(string, String2, String2.upper())
return String
def uppercase... | 27.608696 | 52 | 0.674016 | 72 | 635 | 5.833333 | 0.291667 | 0.114286 | 0.128571 | 0.066667 | 0.833333 | 0.833333 | 0.833333 | 0.833333 | 0.833333 | 0.833333 | 0 | 0.01636 | 0.229921 | 635 | 23 | 53 | 27.608696 | 0.842536 | 0 | 0 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0 | 0.352941 | 0 | 0.588235 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
dd1e075c119a9d85b2c84f2daca530378ec1f833 | 4,447 | py | Python | tests/_java_imports_test.py | xgouchet/AutoMergeTool | d63c057440a99e868e5eb25720f8d89640112f04 | [
"Apache-2.0"
] | 41 | 2017-04-10T10:12:32.000Z | 2022-02-11T09:34:43.000Z | tests/_java_imports_test.py | xgouchet/AutoMergeTool | d63c057440a99e868e5eb25720f8d89640112f04 | [
"Apache-2.0"
] | 14 | 2017-02-17T09:58:57.000Z | 2018-02-12T14:38:51.000Z | tests/_java_imports_test.py | xgouchet/ArachneMergeTool | d63c057440a99e868e5eb25720f8d89640112f04 | [
"Apache-2.0"
] | 5 | 2017-04-11T13:03:20.000Z | 2021-06-23T08:41:10.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
import unittest
from automergetool.solvers.java_imports import *
JI_PATH = 'tests/data/java_imports/{0}.java'
class SolverTest(unittest.TestCase):
def test_is_import(self):
"""Test matching imports"""
# Given a Java Solver and imports
solve... | 31.316901 | 109 | 0.602878 | 509 | 4,447 | 5.078585 | 0.19057 | 0.077369 | 0.058027 | 0.039458 | 0.847969 | 0.847969 | 0.799613 | 0.777176 | 0.777176 | 0.777176 | 0 | 0.000947 | 0.287835 | 4,447 | 141 | 110 | 31.539007 | 0.815283 | 0.146841 | 0 | 0.641975 | 0 | 0 | 0.150187 | 0.025655 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.123457 | false | 0 | 0.407407 | 0 | 0.54321 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
dd2de55f26289dc4091ce642f58c0f7e36459e7e | 126 | py | Python | gsfpy/gsfNavigationError.py | irewolepeter/gsfpy_USM_Implementation | c4614ac3f7d833eb86ea38c7708108b130f96612 | [
"MIT"
] | 7 | 2020-07-01T07:12:19.000Z | 2022-01-20T20:39:57.000Z | gsfpy/gsfNavigationError.py | irewolepeter/gsfpy_USM_Implementation | c4614ac3f7d833eb86ea38c7708108b130f96612 | [
"MIT"
] | 36 | 2020-06-23T09:10:15.000Z | 2022-03-22T10:27:58.000Z | gsfpy/gsfNavigationError.py | irewolepeter/gsfpy_USM_Implementation | c4614ac3f7d833eb86ea38c7708108b130f96612 | [
"MIT"
] | 2 | 2021-02-07T13:21:52.000Z | 2021-06-24T19:16:16.000Z | from gsfpy import mirror_default_gsf_version_submodule
mirror_default_gsf_version_submodule(globals(), "gsfNavigationError")
| 31.5 | 69 | 0.888889 | 15 | 126 | 6.933333 | 0.666667 | 0.25 | 0.307692 | 0.442308 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 126 | 3 | 70 | 42 | 0.87395 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
dd6934be468373da7713fd6d0a1cb534590dae98 | 20,858 | py | Python | tests/test_iterators.py | Gemicai/Gemicai | 1ce3be768979acc7251b4108a59292cba99624d1 | [
"MIT"
] | 5 | 2020-11-16T11:06:51.000Z | 2021-02-23T04:54:30.000Z | tests/test_iterators.py | Gemicai/Gemicai | 1ce3be768979acc7251b4108a59292cba99624d1 | [
"MIT"
] | 1 | 2021-08-24T16:21:30.000Z | 2021-08-24T16:21:30.000Z | tests/test_iterators.py | Gemicai/Gemicai | 1ce3be768979acc7251b4108a59292cba99624d1 | [
"MIT"
] | 1 | 2021-02-23T04:54:31.000Z | 2021-02-23T04:54:31.000Z | import os
import gemicai.data_iterators as test
import torchvision
import unittest
raw_dicom_directory = os.path.join("..", "examples", "dicom", "CT")
raw_dicom_file_path = os.path.join(raw_dicom_directory, "325261597578315993471860132776680.dcm.gz")
wrong_dicom_file_path = os.path.join("..", "000001.gemset")
dicom_d... | 45.049676 | 119 | 0.696232 | 2,131 | 20,858 | 6.564054 | 0.051619 | 0.043537 | 0.07006 | 0.038033 | 0.924149 | 0.915713 | 0.896912 | 0.848442 | 0.800329 | 0.761152 | 0 | 0.005593 | 0.185636 | 20,858 | 462 | 120 | 45.147186 | 0.817909 | 0 | 0 | 0.8 | 0 | 0 | 0.032026 | 0.001918 | 0 | 0 | 0 | 0 | 0.269444 | 1 | 0.241667 | false | 0 | 0.011111 | 0 | 0.266667 | 0.066667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
dd926a2e9e4bb6d2a9e3279506838ad57504fc25 | 123 | py | Python | src/crkeng/app/integration_tests/test_test_db.py | sarahrmoeller/morphodict | 74db04b58076b7be5d9b0742d20e8b2014fb4aaa | [
"Apache-2.0"
] | 8 | 2019-06-06T14:24:40.000Z | 2020-11-11T01:43:11.000Z | src/crkeng/app/integration_tests/test_test_db.py | sarahrmoeller/morphodict | 74db04b58076b7be5d9b0742d20e8b2014fb4aaa | [
"Apache-2.0"
] | 800 | 2019-05-23T15:32:03.000Z | 2021-09-24T15:45:16.000Z | src/crkeng/app/integration_tests/test_test_db.py | sarahrmoeller/morphodict | 74db04b58076b7be5d9b0742d20e8b2014fb4aaa | [
"Apache-2.0"
] | 8 | 2020-12-17T21:57:00.000Z | 2021-09-17T20:03:51.000Z | from morphodict.lexicon.test_db import get_test_words
def test_test_db_words():
assert "wâpamêw" in get_test_words()
| 20.5 | 53 | 0.796748 | 20 | 123 | 4.5 | 0.6 | 0.133333 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130081 | 123 | 5 | 54 | 24.6 | 0.841122 | 0 | 0 | 0 | 0 | 0 | 0.056911 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
06e5890b10a2646477f4e2eeb2c5f277a875fbae | 12,773 | py | Python | python_tools/test/test_create_inputs_from_title_file.py | mskcc/ACCESS-Pipeline | b0f226a9ac5152f3afe0d38c8cd54aa25b8b01cf | [
"MIT"
] | 4 | 2018-08-23T04:37:43.000Z | 2021-07-03T12:49:51.000Z | python_tools/test/test_create_inputs_from_title_file.py | andurill/ACCESS-Pipeline | 3441040dfaecba58150c13a95a6a93657b00778a | [
"MIT"
] | 32 | 2018-06-08T12:44:55.000Z | 2022-01-13T01:29:35.000Z | python_tools/test/test_create_inputs_from_title_file.py | andurill/ACCESS-Pipeline | 3441040dfaecba58150c13a95a6a93657b00778a | [
"MIT"
] | 4 | 2018-05-25T21:43:48.000Z | 2022-01-07T18:51:43.000Z | import unittest
import pandas as pd
from python_tools.constants import *
from python_tools.pipeline_kickoff import create_inputs_from_title_file
def load_bad_title_file():
title_file = pd.read_csv('test_data/bad_title_file.txt', sep='\t')
return title_file
def load_good_title_file_similar_sample_names():
... | 69.043243 | 184 | 0.726219 | 1,863 | 12,773 | 4.441224 | 0.062802 | 0.119652 | 0.22335 | 0.098622 | 0.909838 | 0.903553 | 0.875635 | 0.86234 | 0.848199 | 0.823906 | 0 | 0.030824 | 0.138965 | 12,773 | 184 | 185 | 69.418478 | 0.721495 | 0.017067 | 0 | 0.511628 | 0 | 0 | 0.583013 | 0.516891 | 0 | 0 | 0 | 0 | 0.062016 | 1 | 0.069767 | false | 0 | 0.031008 | 0 | 0.139535 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
b07dcfcdeebf3677b9b85cfc2056f2f1727519dc | 92 | py | Python | reinhardt/utils/__init__.py | cceit/reinhardt | 80cacb3c7d81c7128d3567bb42b75c277f05a53f | [
"BSD-3-Clause"
] | null | null | null | reinhardt/utils/__init__.py | cceit/reinhardt | 80cacb3c7d81c7128d3567bb42b75c277f05a53f | [
"BSD-3-Clause"
] | null | null | null | reinhardt/utils/__init__.py | cceit/reinhardt | 80cacb3c7d81c7128d3567bb42b75c277f05a53f | [
"BSD-3-Clause"
] | null | null | null | from .admin import * # NOQA
from .helpers import * # NOQA
from .reports import * # NOQA
| 18.4 | 30 | 0.663043 | 12 | 92 | 5.083333 | 0.5 | 0.491803 | 0.459016 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.23913 | 92 | 4 | 31 | 23 | 0.871429 | 0.152174 | 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 |
b0b70e2d5fa15fa3099d217a14692042f26d0c28 | 8,058 | py | Python | tests/test_monitor.py | jraygauthier/pytest-monitor | 8480dac0b052d06669fbc717a19d3c816d3f06c4 | [
"MIT"
] | null | null | null | tests/test_monitor.py | jraygauthier/pytest-monitor | 8480dac0b052d06669fbc717a19d3c816d3f06c4 | [
"MIT"
] | null | null | null | tests/test_monitor.py | jraygauthier/pytest-monitor | 8480dac0b052d06669fbc717a19d3c816d3f06c4 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import pathlib
import pytest
import sqlite3
def test_monitor_basic_test(testdir):
"""Make sure that pytest-monitor does the job without impacting user tests."""
# create a temporary pytest test module
testdir.makepyfile("""
import time
def test_ok():
time.... | 28.985612 | 99 | 0.656615 | 1,079 | 8,058 | 4.774791 | 0.114921 | 0.034938 | 0.037267 | 0.029503 | 0.907221 | 0.896739 | 0.869759 | 0.855008 | 0.845497 | 0.836374 | 0 | 0.015176 | 0.231323 | 8,058 | 277 | 100 | 29.090253 | 0.816597 | 0.265078 | 0 | 0.741935 | 0 | 0 | 0.413516 | 0.069461 | 0 | 0 | 0 | 0 | 0.206452 | 1 | 0.051613 | false | 0.103226 | 0.103226 | 0 | 0.154839 | 0.006452 | 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 |
b0da8fe0093bf8a1254eafdadc91b734a1a112f3 | 35 | py | Python | info_modules/wms/__init__.py | HusseinKabbout/qwc-feature-info-service | 3d7cdbc1a3dc4a3725ba0529204848d47c4ed87e | [
"MIT"
] | null | null | null | info_modules/wms/__init__.py | HusseinKabbout/qwc-feature-info-service | 3d7cdbc1a3dc4a3725ba0529204848d47c4ed87e | [
"MIT"
] | null | null | null | info_modules/wms/__init__.py | HusseinKabbout/qwc-feature-info-service | 3d7cdbc1a3dc4a3725ba0529204848d47c4ed87e | [
"MIT"
] | 2 | 2020-03-24T09:13:14.000Z | 2021-09-29T10:43:31.000Z | from .layer_info import layer_info
| 17.5 | 34 | 0.857143 | 6 | 35 | 4.666667 | 0.666667 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
9fe536897918bd1f04d7b48a4e64a1cdbf28e6f8 | 7,896 | py | Python | cogs/Administration.py | LookAtYourSKill/discord-bot | 0ce89c627c260fb6cfed3b74cd1d4bed53dea1d0 | [
"MIT"
] | null | null | null | cogs/Administration.py | LookAtYourSKill/discord-bot | 0ce89c627c260fb6cfed3b74cd1d4bed53dea1d0 | [
"MIT"
] | null | null | null | cogs/Administration.py | LookAtYourSKill/discord-bot | 0ce89c627c260fb6cfed3b74cd1d4bed53dea1d0 | [
"MIT"
] | null | null | null | import asyncio
import json
import disnake as discord
from disnake.ext import commands
class administration(commands.Cog):
"""
`Admin commands`
"""
def __init__(self, bot):
self.bot = bot
@commands.command(name='lock', aliases=['lockdown'])
@commands.has_permissions(administrator=True... | 43.624309 | 159 | 0.564463 | 887 | 7,896 | 4.968433 | 0.1646 | 0.034491 | 0.050828 | 0.088949 | 0.853869 | 0.838212 | 0.837077 | 0.805083 | 0.805083 | 0.784661 | 0 | 0.006942 | 0.306738 | 7,896 | 180 | 160 | 43.866667 | 0.798137 | 0.002026 | 0 | 0.757143 | 0 | 0.042857 | 0.273906 | 0.057664 | 0 | 0 | 0.002116 | 0 | 0 | 1 | 0.014286 | false | 0 | 0.028571 | 0 | 0.064286 | 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 |
b033dad21b692907de9ced613c03e3eb4bddc32b | 145 | py | Python | tests/integration/examples/test_examples.py | datacraft-dsc/starfish-py | 95ff24410f056e8e2d313c3af97439fe003e294a | [
"Apache-2.0"
] | 4 | 2019-02-08T03:47:36.000Z | 2019-10-17T21:45:23.000Z | tests/integration/examples/test_examples.py | datacraft-dsc/starfish-py | 95ff24410f056e8e2d313c3af97439fe003e294a | [
"Apache-2.0"
] | 81 | 2019-02-09T01:01:51.000Z | 2020-07-01T08:35:07.000Z | tests/integration/examples/test_examples.py | oceanprotocol/ocean-py | 318ad0de2519e61d0a301c040a48d1839cd82425 | [
"Apache-2.0"
] | 1 | 2021-01-28T12:14:03.000Z | 2021-01-28T12:14:03.000Z | """"
Test examples
"""
def test_register_upload_asset_remote():
from examples.register_upload_asset_remote_agent import main
main()
| 12.083333 | 64 | 0.744828 | 18 | 145 | 5.555556 | 0.611111 | 0.28 | 0.38 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165517 | 145 | 11 | 65 | 13.181818 | 0.826446 | 0.110345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
c696d6b499c1c84761b2ed272058b978fca818f3 | 1,724 | py | Python | Productions/Statements/Iterative/For.py | Mohsin-Ul-Islam/YAPL | 163da2dfd879fc6dee9bc0e1b1c94972c75935cd | [
"MIT"
] | null | null | null | Productions/Statements/Iterative/For.py | Mohsin-Ul-Islam/YAPL | 163da2dfd879fc6dee9bc0e1b1c94972c75935cd | [
"MIT"
] | null | null | null | Productions/Statements/Iterative/For.py | Mohsin-Ul-Islam/YAPL | 163da2dfd879fc6dee9bc0e1b1c94972c75935cd | [
"MIT"
] | null | null | null | import Nodes.Statements.Iterative.For
import Nodes.Statements.Iterative.LegacyFor
def p_for_01(p):
"iterative_statement : FOR LEFT_PAREN expression TO expression RIGHT_PAREN compound_statement"
p[0] = Nodes.Statements.Iterative.For.Node(p[3], p[5], p[7])
def p_for_02(p):
"iterative_statement : FOR LEFT_... | 40.093023 | 136 | 0.74942 | 268 | 1,724 | 4.641791 | 0.141791 | 0.120579 | 0.192926 | 0.141479 | 0.902733 | 0.883441 | 0.883441 | 0.819936 | 0.819936 | 0.742765 | 0 | 0.036 | 0.12993 | 1,724 | 42 | 137 | 41.047619 | 0.793333 | 0.49942 | 0 | 0.153846 | 0 | 0 | 0.49536 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0.076923 | 0 | 0.384615 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
c6c0026cbb678e4885b1b4ee31f522ffb380eb3a | 44,468 | py | Python | rcnn_dff/symbol/symbol_flow.py | tonysy/mx-rcnn-flow | b78c3c964c802bb874d673170d7452e7a573a998 | [
"Apache-2.0"
] | 2 | 2018-01-31T02:47:42.000Z | 2019-07-05T03:48:54.000Z | rcnn_dff/symbol/symbol_flow.py | tonysy/mx-rcnn-flow | b78c3c964c802bb874d673170d7452e7a573a998 | [
"Apache-2.0"
] | null | null | null | rcnn_dff/symbol/symbol_flow.py | tonysy/mx-rcnn-flow | b78c3c964c802bb874d673170d7452e7a573a998 | [
"Apache-2.0"
] | null | null | null | """
Optical flow for deep feature flow
"""
import sys
import mxnet as mx
import proposal
import proposal_target
from ..config import config
def conv_unit(sym, name, weights, bias):
conv1 = mx.sym.Convolution(data=sym,pad=(3, 3), kernel=(7, 7),stride=(2, 2),num_filter=64,
weight=wei... | 54.031592 | 149 | 0.559751 | 5,914 | 44,468 | 4.051742 | 0.034325 | 0.062808 | 0.023996 | 0.052792 | 0.881103 | 0.866664 | 0.855146 | 0.848719 | 0.846215 | 0.844796 | 0 | 0.076792 | 0.285756 | 44,468 | 822 | 150 | 54.097324 | 0.677655 | 0.015292 | 0 | 0.637795 | 0 | 0 | 0.068034 | 0.002516 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.007874 | null | null | 0.001575 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c6d1a442200bc0e9347f9d476a265d48a19edcfe | 83 | py | Python | fafnir/__init__.py | Kupoman/Fafnir | 4f6c5f76270ce16fd92e67672db5a7e599b83143 | [
"Apache-2.0"
] | 3 | 2018-04-03T02:50:07.000Z | 2019-02-28T13:43:49.000Z | fafnir/__init__.py | Kupoman/fafnir | 4f6c5f76270ce16fd92e67672db5a7e599b83143 | [
"Apache-2.0"
] | null | null | null | fafnir/__init__.py | Kupoman/fafnir | 4f6c5f76270ce16fd92e67672db5a7e599b83143 | [
"Apache-2.0"
] | null | null | null | from .renderer import Renderer
def init(scene_np):
return Renderer(scene_np)
| 13.833333 | 30 | 0.759036 | 12 | 83 | 5.083333 | 0.666667 | 0.229508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168675 | 83 | 5 | 31 | 16.6 | 0.884058 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
05ba95a88cf3830e0b2406dbc118ae6601f4441e | 2,785 | py | Python | test/tests/test_tag.py | denmark/html2markdown | d50646eeabddc563c12c2d01fc5543c6d232329c | [
"MIT"
] | 4 | 2015-09-04T16:17:49.000Z | 2017-08-31T02:50:27.000Z | test/tests/test_tag.py | denmark/html2markdown | d50646eeabddc563c12c2d01fc5543c6d232329c | [
"MIT"
] | null | null | null | test/tests/test_tag.py | denmark/html2markdown | d50646eeabddc563c12c2d01fc5543c6d232329c | [
"MIT"
] | null | null | null | import os
import random
import unittest
import traceback
from html2markdown import Html2MarkdownParser
data_dir = 'data'
def get_input_buf():
s = traceback.extract_stack()[-2][2]
return open(data_dir + '/' + s.split('_')[1] + '.html').read()
def get_output_buf():
s = traceback.extract_stack()[-2][2]
... | 31.647727 | 71 | 0.672531 | 373 | 2,785 | 4.643432 | 0.142091 | 0.196305 | 0.145497 | 0.166282 | 0.830831 | 0.830831 | 0.830831 | 0.830831 | 0.830831 | 0.830831 | 0 | 0.006625 | 0.187074 | 2,785 | 87 | 72 | 32.011494 | 0.758392 | 0 | 0 | 0.523077 | 0 | 0 | 0.007899 | 0 | 0 | 0 | 0 | 0 | 0.246154 | 1 | 0.307692 | false | 0 | 0.076923 | 0 | 0.430769 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
05c56a92cb88c1c614aa4792435f9b185082bd89 | 6,696 | py | Python | ReplicatedBBDIndex/Plotting Indices.py | zhoudanxie/Regulatory-Uncertainty | 5a8e2619c77f3b80f613d306a9649e78e02e3f64 | [
"MIT"
] | 1 | 2020-07-08T22:02:22.000Z | 2020-07-08T22:02:22.000Z | ReplicatedBBDIndex/Plotting Indices.py | zhoudanxie/Regulatory-Uncertainty | 5a8e2619c77f3b80f613d306a9649e78e02e3f64 | [
"MIT"
] | null | null | null | ReplicatedBBDIndex/Plotting Indices.py | zhoudanxie/Regulatory-Uncertainty | 5a8e2619c77f3b80f613d306a9649e78e02e3f64 | [
"MIT"
] | null | null | null | # Author: Zhoudan Xie
# Date: May 12, 2020
# Import packages
import pandas as pd
import os
import re
import numpy as np
import datetime
import matplotlib.pyplot as plt
import matplotlib.dates as mdates
import matplotlib.cbook as cbook
from mpl_toolkits.axes_grid1.inset_locator import inset_axes
from mpl_toolkits.axes_... | 38.705202 | 135 | 0.683393 | 1,049 | 6,696 | 4.290753 | 0.226883 | 0.009998 | 0.026661 | 0.023995 | 0.885359 | 0.872695 | 0.872695 | 0.872695 | 0.852699 | 0.852699 | 0 | 0.059198 | 0.109468 | 6,696 | 173 | 136 | 38.705202 | 0.695623 | 0.158453 | 0 | 0.767857 | 0 | 0.035714 | 0.258658 | 0.007497 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.107143 | 0 | 0.107143 | 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 |
af5c33fe8eab46c65821fef245fb89cf9d31ba52 | 207 | py | Python | backend/pokemons/exceptions.py | jaenia/pokebattle | 760181384ea1c067d40705f120152641156724d8 | [
"MIT"
] | null | null | null | backend/pokemons/exceptions.py | jaenia/pokebattle | 760181384ea1c067d40705f120152641156724d8 | [
"MIT"
] | 4 | 2021-01-05T18:51:30.000Z | 2021-04-07T17:03:08.000Z | backend/pokemons/exceptions.py | jaenia/pokebattle | 760181384ea1c067d40705f120152641156724d8 | [
"MIT"
] | null | null | null | class PokemonNotFound(Exception):
def __init__(self, value):
super().__init__()
self.value = value
def __str__(self):
return "{} was not found in PokeAPI".format(self.value)
| 25.875 | 63 | 0.63285 | 24 | 207 | 4.958333 | 0.666667 | 0.226891 | 0.218487 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246377 | 207 | 7 | 64 | 29.571429 | 0.762821 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
bbab0938f95a09a032bbc8dbb0f73546d90fbacc | 16,128 | py | Python | stats.py | Kayal314/Habitat-Simulation | 0335874dc869ab50ddd846c15f8abcfe5c94f000 | [
"MIT"
] | 1 | 2021-06-09T06:22:13.000Z | 2021-06-09T06:22:13.000Z | stats.py | Kayal314/Habitat-Simulation | 0335874dc869ab50ddd846c15f8abcfe5c94f000 | [
"MIT"
] | null | null | null | stats.py | Kayal314/Habitat-Simulation | 0335874dc869ab50ddd846c15f8abcfe5c94f000 | [
"MIT"
] | null | null | null | import math
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
from scipy import stats
def write_population(rabbit: list, fox: list, grassland: list, forest: list, pond: list, lake: list):
f = open('population_graph', 'w')
size = len(rabbit)
for i in range(0, size):
... | 35.524229 | 110 | 0.611793 | 2,013 | 16,128 | 4.816692 | 0.0616 | 0.086634 | 0.034035 | 0.055693 | 0.948948 | 0.936056 | 0.925639 | 0.915532 | 0.905116 | 0.905116 | 0 | 0.026889 | 0.257502 | 16,128 | 453 | 111 | 35.602649 | 0.782797 | 0 | 0 | 0.861575 | 0 | 0 | 0.036491 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040573 | false | 0 | 0.011933 | 0 | 0.076372 | 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 |
bbb5138a9de59f94e89526eb3539d536ad11119f | 8,721 | py | Python | tests/test_tempest_zigzag.py | rcbops/tempest-zigzag | 12f4bc528c9b88263f04394e5f31755519aa02e8 | [
"Apache-2.0"
] | null | null | null | tests/test_tempest_zigzag.py | rcbops/tempest-zigzag | 12f4bc528c9b88263f04394e5f31755519aa02e8 | [
"Apache-2.0"
] | 2 | 2019-01-14T22:48:35.000Z | 2019-02-25T20:06:06.000Z | tests/test_tempest_zigzag.py | rcbops/tempest-zigzag | 12f4bc528c9b88263f04394e5f31755519aa02e8 | [
"Apache-2.0"
] | 2 | 2019-01-08T20:19:16.000Z | 2019-01-10T22:12:30.000Z | from tempest_zigzag.tempest_zigzag import TempestZigZag
from lxml import etree
class TestTempestZigZag(object):
def test_nothing_to_do(self, file_test_xml_all_pass, file_test_list, tempest_config_file):
"""Tests that when there is nothing to do it will return a string
that is functionally identic... | 56.62987 | 120 | 0.633872 | 1,020 | 8,721 | 5.215686 | 0.126471 | 0.046617 | 0.03515 | 0.035714 | 0.879323 | 0.873872 | 0.866353 | 0.860902 | 0.847744 | 0.847744 | 0 | 0.006312 | 0.29148 | 8,721 | 153 | 121 | 57 | 0.854669 | 0.18358 | 0 | 0.682243 | 0 | 0 | 0.134706 | 0.032318 | 0 | 0 | 0 | 0 | 0.429907 | 1 | 0.065421 | false | 0.037383 | 0.018692 | 0 | 0.093458 | 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 |
bbd02536309812dbd4e3fb83fc758b386478b273 | 53 | py | Python | src/test/pythonFiles/formatting/fileToFormatOnEnter.py | wjt/vscode-python | ece0479102e910e6d75197bf84d9aa1e28eb3f09 | [
"MIT"
] | null | null | null | src/test/pythonFiles/formatting/fileToFormatOnEnter.py | wjt/vscode-python | ece0479102e910e6d75197bf84d9aa1e28eb3f09 | [
"MIT"
] | null | null | null | src/test/pythonFiles/formatting/fileToFormatOnEnter.py | wjt/vscode-python | ece0479102e910e6d75197bf84d9aa1e28eb3f09 | [
"MIT"
] | null | null | null | x=1
"""x=1
"""
# comment
# x=1
x+1 #
@x
x.y
x+"""
| 5.3 | 11 | 0.358491 | 13 | 53 | 1.461538 | 0.307692 | 0.421053 | 0.473684 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0.283019 | 53 | 9 | 12 | 5.888889 | 0.394737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
a539621100d371a9dd5b302280f1cad348d70b62 | 141 | py | Python | mapps/admin.py | fossabot/mendelmd | 5cafebf5336b8854fe71414b3559428e3e401617 | [
"BSD-3-Clause"
] | 33 | 2016-07-22T21:39:09.000Z | 2021-06-24T02:57:02.000Z | mapps/admin.py | fossabot/mendelmd | 5cafebf5336b8854fe71414b3559428e3e401617 | [
"BSD-3-Clause"
] | 41 | 2017-06-20T03:10:33.000Z | 2021-12-24T23:54:41.000Z | mapps/admin.py | fossabot/mendelmd | 5cafebf5336b8854fe71414b3559428e3e401617 | [
"BSD-3-Clause"
] | 8 | 2017-06-14T21:07:47.000Z | 2021-01-12T17:59:49.000Z | from django.contrib import admin
# Register your models here.
from .models import App
# Register your models here.
admin.site.register(App)
| 20.142857 | 32 | 0.787234 | 21 | 141 | 5.285714 | 0.52381 | 0.216216 | 0.324324 | 0.396396 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141844 | 141 | 6 | 33 | 23.5 | 0.917355 | 0.375887 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
a539b8edf374676d211c0ebd8c029a7b79bfad5a | 39 | py | Python | ETPM-SDG/f1aula3_1.py | ayresmajor/Curso-python | 006229cec38ea365bf43b19e3ce93fbd32e1dca6 | [
"MIT"
] | null | null | null | ETPM-SDG/f1aula3_1.py | ayresmajor/Curso-python | 006229cec38ea365bf43b19e3ce93fbd32e1dca6 | [
"MIT"
] | null | null | null | ETPM-SDG/f1aula3_1.py | ayresmajor/Curso-python | 006229cec38ea365bf43b19e3ce93fbd32e1dca6 | [
"MIT"
] | null | null | null | print('\033[1;31;47m Viva Turma\033[m') | 39 | 39 | 0.692308 | 9 | 39 | 3 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.297297 | 0.051282 | 39 | 1 | 39 | 39 | 0.432432 | 0 | 0 | 0 | 0 | 0 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
a53f8d24f7563ede90b131176818e72f7944c131 | 96,147 | py | Python | app.py | geofragkos/RBAC_Decentralized | 7cfcb668d1dead1fab63c713918e5a401da4ec82 | [
"Apache-2.0"
] | null | null | null | app.py | geofragkos/RBAC_Decentralized | 7cfcb668d1dead1fab63c713918e5a401da4ec82 | [
"Apache-2.0"
] | null | null | null | app.py | geofragkos/RBAC_Decentralized | 7cfcb668d1dead1fab63c713918e5a401da4ec82 | [
"Apache-2.0"
] | null | null | null | from flask import Flask, jsonify, request, abort, send_file
from flask_cors import CORS
from web3 import Web3, HTTPProvider
import json
from web3.auto import w3
import subprocess
import rbac_generation
import time
import uuid
import rbac_generation
import sys
import rbac_der_demo_getterv2 as getter
log_file = open("./... | 41.496331 | 184 | 0.654165 | 10,540 | 96,147 | 5.733776 | 0.033966 | 0.034401 | 0.063143 | 0.052024 | 0.877271 | 0.856472 | 0.836317 | 0.795248 | 0.779495 | 0.759109 | 0 | 0.012166 | 0.234037 | 96,147 | 2,316 | 185 | 41.514249 | 0.808446 | 0.059409 | 0 | 0.716867 | 0 | 0 | 0.094474 | 0.011779 | 0 | 0 | 0.003258 | 0 | 0 | 1 | 0.052026 | false | 0.000548 | 0.006572 | 0.002191 | 0.11391 | 0.072289 | 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 |
a5aa33b19e20a2278dbe35c771b96c6dfa4d2875 | 20,996 | py | Python | cone_fitting.py | dartmouthrobotics/escalibr | 10eb5755a1b971374d33c585b616680809e61476 | [
"MIT"
] | 2 | 2021-03-31T17:41:30.000Z | 2021-08-08T23:33:53.000Z | cone_fitting.py | dartmouthrobotics/escalibr | 10eb5755a1b971374d33c585b616680809e61476 | [
"MIT"
] | null | null | null | cone_fitting.py | dartmouthrobotics/escalibr | 10eb5755a1b971374d33c585b616680809e61476 | [
"MIT"
] | 1 | 2019-08-31T03:59:32.000Z | 2019-08-31T03:59:32.000Z | #!/usr/bin/env python
import xml.etree.ElementTree as ET
import numpy as np
from matplotlib import pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
from skimage.measure import LineModelND, ransac
import math
tree = ET.parse('output_6_all_points.xml')
root = tree.getroot()
confidence_level = 100
low_confidence_l... | 27.883134 | 94 | 0.59478 | 3,012 | 20,996 | 3.980412 | 0.049469 | 0.057052 | 0.043373 | 0.038035 | 0.877221 | 0.874218 | 0.868296 | 0.860539 | 0.856535 | 0.856202 | 0 | 0.024165 | 0.256954 | 20,996 | 752 | 95 | 27.920213 | 0.744311 | 0.366546 | 0 | 0.794721 | 0 | 0 | 0.045465 | 0.008954 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.017595 | 0 | 0.017595 | 0.170088 | 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 |
3c1e0206f8756a4ca3e243fc76c329c9aacff075 | 14,321 | py | Python | pmutt/tests/empirical/test_pmutt_empirical_Nasa.py | wittregr/pMuTT | 1678fd3d3a10d8ef5389c02970a7ebaa92fc7344 | [
"MIT"
] | 28 | 2018-10-29T17:44:30.000Z | 2022-03-23T14:20:16.000Z | pmutt/tests/empirical/test_pmutt_empirical_Nasa.py | wittregr/pMuTT | 1678fd3d3a10d8ef5389c02970a7ebaa92fc7344 | [
"MIT"
] | 101 | 2018-10-18T19:49:30.000Z | 2022-01-19T10:59:57.000Z | pmutt/tests/empirical/test_pmutt_empirical_Nasa.py | wittregr/pMuTT | 1678fd3d3a10d8ef5389c02970a7ebaa92fc7344 | [
"MIT"
] | 16 | 2018-12-15T17:01:21.000Z | 2022-01-03T17:42:23.000Z | import unittest
import numpy as np
from ase.build import molecule
from pmutt import constants as c
from pmutt import get_molecular_weight
from pmutt.statmech import StatMech, trans, rot, vib, elec
from pmutt.empirical.nasa import Nasa
class TestNasa(unittest.TestCase):
def setUp(self):
unittest.TestCase.s... | 45.753994 | 79 | 0.46568 | 1,544 | 14,321 | 4.167098 | 0.148964 | 0.047249 | 0.078334 | 0.07678 | 0.831054 | 0.811159 | 0.797016 | 0.795151 | 0.790488 | 0.777432 | 0 | 0.358613 | 0.409818 | 14,321 | 312 | 80 | 45.900641 | 0.402627 | 0.000349 | 0 | 0.486395 | 0 | 0 | 0.021028 | 0.004262 | 0 | 0 | 0 | 0 | 0.102041 | 1 | 0.040816 | false | 0 | 0.02381 | 0 | 0.068027 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
3c507a7f3338ed0569b4f655be8b9f30c1bd7264 | 28 | py | Python | python/testData/refactoring/introduceVariable/invalidElementAccessAfterPostReformatOfUsageSite.after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/refactoring/introduceVariable/invalidElementAccessAfterPostReformatOfUsageSite.after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/refactoring/introduceVariable/invalidElementAccessAfterPostReformatOfUsageSite.after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | a = (1 + 1)
foo = 1 + a + 1
| 9.333333 | 15 | 0.321429 | 7 | 28 | 1.285714 | 0.428571 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.428571 | 28 | 2 | 16 | 14 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3c8c6998b355d0f84615c1e6b1d6415f04f80a73 | 11,130 | py | Python | rucio_jupyterlab/tests/test_config.py | didithilmy/jupyterlab-extension | 3268dccda0a282d96b4411d267a851535a900eca | [
"Apache-2.0"
] | null | null | null | rucio_jupyterlab/tests/test_config.py | didithilmy/jupyterlab-extension | 3268dccda0a282d96b4411d267a851535a900eca | [
"Apache-2.0"
] | null | null | null | rucio_jupyterlab/tests/test_config.py | didithilmy/jupyterlab-extension | 3268dccda0a282d96b4411d267a851535a900eca | [
"Apache-2.0"
] | null | null | null | # Copyright European Organization for Nuclear Research (CERN)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# You may not use this file except in compliance with the License.
# You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
#
# Authors:
# - Muhammad Aditya Hilmy... | 30 | 109 | 0.604672 | 1,206 | 11,130 | 5.192371 | 0.10199 | 0.06228 | 0.030661 | 0.043437 | 0.92207 | 0.919355 | 0.919355 | 0.908176 | 0.903705 | 0.884063 | 0 | 0.003765 | 0.260288 | 11,130 | 370 | 110 | 30.081081 | 0.756832 | 0.02947 | 0 | 0.71831 | 0 | 0 | 0.307977 | 0.028908 | 0 | 0 | 0 | 0 | 0.038732 | 1 | 0.049296 | false | 0 | 0.014085 | 0 | 0.06338 | 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 |
3c9b9550518bb101bfb40fb1856d7f40d9c21d49 | 19,344 | py | Python | JanggiGame/Engine/tests/unit/test_path_generation_strategy.py | MohamedAl-Hussein/janggi-game | 0664a408563b824c0b665d755ff9b232b6f24644 | [
"MIT"
] | null | null | null | JanggiGame/Engine/tests/unit/test_path_generation_strategy.py | MohamedAl-Hussein/janggi-game | 0664a408563b824c0b665d755ff9b232b6f24644 | [
"MIT"
] | null | null | null | JanggiGame/Engine/tests/unit/test_path_generation_strategy.py | MohamedAl-Hussein/janggi-game | 0664a408563b824c0b665d755ff9b232b6f24644 | [
"MIT"
] | null | null | null | from __future__ import annotations
import unittest
from typing import List, TYPE_CHECKING
from helpers import BranchPathStrategy, LinearDiagonalPathStrategy, LinearPathStrategy
from utils import Point2D
if TYPE_CHECKING:
from helpers import IPathGenerationStrategy
class TestIPathGenerationStrategy(unittest.Tes... | 55.746398 | 116 | 0.519127 | 2,574 | 19,344 | 3.815462 | 0.034188 | 0.26311 | 0.118216 | 0.195499 | 0.956725 | 0.939517 | 0.92791 | 0.916913 | 0.901843 | 0.901843 | 0 | 0.123681 | 0.250569 | 19,344 | 346 | 117 | 55.907514 | 0.55377 | 0.134822 | 0 | 0.636 | 0 | 0 | 0.00048 | 0 | 0 | 0 | 0 | 0 | 0.036 | 1 | 0.048 | false | 0.004 | 0.024 | 0 | 0.088 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
590335716cf9b7add8f963994b784d92ed754946 | 4,213 | py | Python | baselines/baselines/common/vec_env/vec_normalize.py | amiranas/flow_rl | 9e6e69991c22bb85a9aeb2d5399bbade1e3bb682 | [
"Apache-2.0"
] | 26 | 2019-01-11T05:20:53.000Z | 2022-03-28T11:25:33.000Z | baselines/baselines/common/vec_env/vec_normalize.py | amiranas/flow_rl | 9e6e69991c22bb85a9aeb2d5399bbade1e3bb682 | [
"Apache-2.0"
] | 1 | 2019-04-19T17:35:31.000Z | 2019-04-30T09:03:23.000Z | baselines/baselines/common/vec_env/vec_normalize.py | amiranas/flow_rl | 9e6e69991c22bb85a9aeb2d5399bbade1e3bb682 | [
"Apache-2.0"
] | 10 | 2019-03-19T08:21:37.000Z | 2022-03-11T09:05:35.000Z | from baselines.common.vec_env import VecEnvWrapper
from baselines.common.running_mean_std import RunningMeanStd
import numpy as np
from os.path import join as p_join
import pickle
class VecNormalize(VecEnvWrapper):
"""
Vectorized environment base class
"""
def __init__(self, venv, ob=True, ret=True, cl... | 36.008547 | 120 | 0.596962 | 548 | 4,213 | 4.463504 | 0.175182 | 0.057236 | 0.047833 | 0.026165 | 0.875715 | 0.868765 | 0.868765 | 0.868765 | 0.849141 | 0.849141 | 0 | 0.006002 | 0.288156 | 4,213 | 116 | 121 | 36.318966 | 0.809603 | 0.10705 | 0 | 0.753086 | 0 | 0 | 0.015525 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.123457 | false | 0 | 0.061728 | 0 | 0.308642 | 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 |
3cb4c635b7c5236209e5db2d7e3ba484d57baa22 | 20,368 | py | Python | examples/handcoded/simmodel.py | aadeshnpn/swarm | 873e5d90de4a3b3f69d4edc8de55eb9311226c2e | [
"MIT"
] | 9 | 2018-03-26T22:22:08.000Z | 2021-08-30T20:45:27.000Z | examples/handcoded/simmodel.py | aadeshnpn/swarm | 873e5d90de4a3b3f69d4edc8de55eb9311226c2e | [
"MIT"
] | 1 | 2021-05-06T12:45:11.000Z | 2021-05-12T07:21:53.000Z | examples/handcoded/simmodel.py | aadeshnpn/swarm | 873e5d90de4a3b3f69d4edc8de55eb9311226c2e | [
"MIT"
] | 1 | 2019-04-22T00:27:09.000Z | 2019-04-22T00:27:09.000Z | """Inherited model class."""
from swarms.lib.model import Model
from swarms.lib.time import SimultaneousActivation
# RandomActivation, StagedActivation
from swarms.lib.space import Grid
from swarms.utils.jsonhandler import JsonData
from swarms.utils.results import Experiment
from swarms.utils.db import Connect
from si... | 33.335516 | 79 | 0.562402 | 2,433 | 20,368 | 4.569667 | 0.085902 | 0.027343 | 0.017539 | 0.019878 | 0.872009 | 0.852312 | 0.835942 | 0.813276 | 0.788361 | 0.777658 | 0 | 0.013969 | 0.328702 | 20,368 | 611 | 80 | 33.335516 | 0.799166 | 0.146455 | 0 | 0.820639 | 0 | 0 | 0.02127 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068796 | false | 0.009828 | 0.031941 | 0 | 0.154791 | 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 |
59898e413aa624e9d2c97dc8d3d3f7b6d1fd4c15 | 8,537 | py | Python | mailchimp/services/app-server/tests/test_app.py | filibuster-testing/filibuster-corpus | 225ee0017005801bee591137f82117fe37a0f899 | [
"Apache-2.0"
] | 7 | 2021-11-01T21:09:47.000Z | 2022-03-16T20:38:57.000Z | mailchimp/services/app-server/tests/test_app.py | filibuster-testing/filibuster-corpus | 225ee0017005801bee591137f82117fe37a0f899 | [
"Apache-2.0"
] | null | null | null | mailchimp/services/app-server/tests/test_app.py | filibuster-testing/filibuster-corpus | 225ee0017005801bee591137f82117fe37a0f899 | [
"Apache-2.0"
] | null | null | null | import requests
import sys
import os
import enum
import sys
if sys.version_info[0] >= 3 and sys.version_info[1] >= 3:
from unittest import mock
else:
import mock
service_path = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
sys.path.append(service_path)
from app-server.app import app
parent_path... | 45.652406 | 213 | 0.746164 | 1,101 | 8,537 | 5.393279 | 0.082652 | 0.074267 | 0.063489 | 0.0581 | 0.880094 | 0.868811 | 0.853654 | 0.829404 | 0.790165 | 0.726339 | 0 | 0.009548 | 0.15345 | 8,537 | 186 | 214 | 45.897849 | 0.812094 | 0.016165 | 0 | 0.493243 | 0 | 0 | 0.079314 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 0 | null | null | 0 | 0.060811 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
59c9447ee634c5cd107fe735ed1ddae5cc02f9ed | 35,243 | py | Python | tests/test_backend_v2.py | liuyu81/datagator-contrib | 813529e211f680732bd1dc9568f5b4f2bdcacdcc | [
"Apache-2.0"
] | 2 | 2015-02-20T02:50:07.000Z | 2017-05-02T19:26:42.000Z | tests/test_backend_v2.py | liuyu81/datagator-contrib | 813529e211f680732bd1dc9568f5b4f2bdcacdcc | [
"Apache-2.0"
] | null | null | null | tests/test_backend_v2.py | liuyu81/datagator-contrib | 813529e211f680732bd1dc9568f5b4f2bdcacdcc | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
tests.test_backend_v2
~~~~~~~~~~~~~~~~~~~~~
:copyright: 2015 by `University of Denver <http://pardee.du.edu/>`_
:license: Apache 2.0, see LICENSE for more details.
:author: `LIU Yu <liuyu@opencps.net>`_
:date: 2015/02/26
"""
from __future__ im... | 35.563068 | 79 | 0.57217 | 3,685 | 35,243 | 5.379104 | 0.083311 | 0.101402 | 0.04722 | 0.047674 | 0.837403 | 0.812481 | 0.795429 | 0.772172 | 0.757895 | 0.751791 | 0 | 0.010428 | 0.29254 | 35,243 | 990 | 80 | 35.59899 | 0.784583 | 0.084811 | 0 | 0.685751 | 0 | 0 | 0.162801 | 0.025539 | 0 | 0 | 0 | 0 | 0.207379 | 1 | 0.061069 | false | 0.072519 | 0.017812 | 0.001272 | 0.092875 | 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 |
ab750c9df59e0ef44a51ba0e90ed23e1e052dc0c | 172 | py | Python | identity_converter/__init__.py | johnrkriter/aad-pod-identity-converter | 8a99e42caf0d4e4e2a743e168fa6558f058bd83f | [
"MIT"
] | 2 | 2020-10-02T08:55:21.000Z | 2020-10-21T04:58:04.000Z | identity_converter/__init__.py | johnrkriter/aad-pod-identity-converter | 8a99e42caf0d4e4e2a743e168fa6558f058bd83f | [
"MIT"
] | 3 | 2020-11-04T09:52:25.000Z | 2020-11-11T07:10:45.000Z | identity_converter/__init__.py | johnrkriter/aad-pod-identity-converter | 8a99e42caf0d4e4e2a743e168fa6558f058bd83f | [
"MIT"
] | null | null | null | from .converter import read_input_csv
from .converter import write_azure_identity
from .converter import write_azure_identity_binding
from .converter import full_conversion | 43 | 51 | 0.889535 | 24 | 172 | 6.041667 | 0.5 | 0.358621 | 0.524138 | 0.331034 | 0.510345 | 0.510345 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087209 | 172 | 4 | 52 | 43 | 0.923567 | 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 |
abaa3b6f303703fe13728063c2e3f13bc5f8cce7 | 4,965 | py | Python | tests/test_functions.py | choiking10/mytorch | 67140b608b14e2ec6ecca1638705af91d2d71b6b | [
"MIT"
] | null | null | null | tests/test_functions.py | choiking10/mytorch | 67140b608b14e2ec6ecca1638705af91d2d71b6b | [
"MIT"
] | null | null | null | tests/test_functions.py | choiking10/mytorch | 67140b608b14e2ec6ecca1638705af91d2d71b6b | [
"MIT"
] | null | null | null | import unittest
import numpy as np
import mytorch.functions as F
from mytorch import as_variable
from tests.utils import FunctionTestMixin, ForwardAndBackwardCheckMixin
class ExpTest(unittest.TestCase, FunctionTestMixin):
def get_function(self):
return F.exp
def get_forward_input_output(self):
... | 25.994764 | 76 | 0.607654 | 715 | 4,965 | 4.051748 | 0.11049 | 0.070072 | 0.082844 | 0.088367 | 0.832931 | 0.817052 | 0.817052 | 0.810148 | 0.801864 | 0.568864 | 0 | 0.045479 | 0.255992 | 4,965 | 190 | 77 | 26.131579 | 0.738766 | 0 | 0 | 0.62406 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.293233 | false | 0 | 0.037594 | 0.090226 | 0.646617 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
abaf2abb8bd6a399991bc83be2b389c123ac5be7 | 122 | py | Python | dqc/api/__init__.py | Jaikinator/dqc | 47c964c7d1323a35f4f69521d40476c41843810e | [
"Apache-2.0"
] | 39 | 2021-05-31T17:01:23.000Z | 2022-03-23T19:20:35.000Z | dqc/api/__init__.py | Jaikinator/dqc | 47c964c7d1323a35f4f69521d40476c41843810e | [
"Apache-2.0"
] | 14 | 2021-09-01T13:39:11.000Z | 2022-03-13T16:45:39.000Z | dqc/api/__init__.py | Jaikinator/dqc | 47c964c7d1323a35f4f69521d40476c41843810e | [
"Apache-2.0"
] | 6 | 2021-07-16T09:08:29.000Z | 2022-02-24T01:13:54.000Z | from dqc.api.loadbasis import *
from dqc.api.getxc import *
from dqc.api.properties import *
from dqc.api.parser import *
| 24.4 | 32 | 0.770492 | 20 | 122 | 4.7 | 0.4 | 0.297872 | 0.425532 | 0.510638 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131148 | 122 | 4 | 33 | 30.5 | 0.886792 | 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 |
e6289f00f51da434ccff305414f458f7ea51cfe4 | 13,987 | py | Python | pyDEA/core/models/envelopment_model.py | rbotter/pyDEA | 2c8b4a70e8c071d580eff26a040efc22fc264045 | [
"MIT"
] | 29 | 2017-10-22T03:03:20.000Z | 2022-03-21T09:15:22.000Z | pyDEA/core/models/envelopment_model.py | rbotter/pyDEA | 2c8b4a70e8c071d580eff26a040efc22fc264045 | [
"MIT"
] | 6 | 2018-07-18T01:40:43.000Z | 2021-04-11T00:38:30.000Z | pyDEA/core/models/envelopment_model.py | rbotter/pyDEA | 2c8b4a70e8c071d580eff26a040efc22fc264045 | [
"MIT"
] | 20 | 2018-01-23T05:50:29.000Z | 2022-02-22T05:04:56.000Z | ''' This module contains concrete implementations of input- and
output-oriented envelopment models as well as the model with
non-discretionary variables.
'''
import pulp
from pyDEA.core.models.input_output_model_bases import InputOrientedModel
from pyDEA.core.models.input_output_model_bases import OutputOrient... | 40.077364 | 78 | 0.621792 | 1,438 | 13,987 | 5.876912 | 0.103616 | 0.051355 | 0.018933 | 0.021299 | 0.836351 | 0.781328 | 0.733286 | 0.707017 | 0.688794 | 0.655899 | 0 | 0.000852 | 0.328448 | 13,987 | 348 | 79 | 40.192529 | 0.898861 | 0.564381 | 0 | 0.613333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026667 | 1 | 0.293333 | false | 0 | 0.04 | 0 | 0.573333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
e6439c865b23669003da1a00c2c6b9b6ce71a605 | 56,644 | py | Python | analysis/thesis.py | Harshavardhan-BV/Cancer-compe-strat | e4decacd5779e85a68c81d0ce3bedf42dea2964f | [
"MIT"
] | 1 | 2020-10-18T15:54:26.000Z | 2020-10-18T15:54:26.000Z | analysis/thesis.py | Harshavardhan-BV/Cancer-compe-strat | e4decacd5779e85a68c81d0ce3bedf42dea2964f | [
"MIT"
] | null | null | null | analysis/thesis.py | Harshavardhan-BV/Cancer-compe-strat | e4decacd5779e85a68c81d0ce3bedf42dea2964f | [
"MIT"
] | null | null | null | import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
from matplotlib.lines import Line2D
import seaborn as sns
import common_fn as cf
plt.rcParams["svg.hashsalt"]=0
plt.rcParams["font.size"]=11
# f_i(res)
fig,axes=plt.subplots(figsize=(5,3))
x=np.linspace(0,1,1000)
lim=np.array([0.2,0.8])
def f(x,lim... | 46.052033 | 137 | 0.632953 | 9,747 | 56,644 | 3.602852 | 0.028522 | 0.008315 | 0.019478 | 0.026654 | 0.967138 | 0.960475 | 0.954951 | 0.943816 | 0.940684 | 0.939944 | 0 | 0.051478 | 0.138179 | 56,644 | 1,229 | 138 | 46.089504 | 0.667882 | 0.031301 | 0 | 0.896491 | 0 | 0 | 0.239971 | 0.073103 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000877 | false | 0 | 0.005263 | 0 | 0.008772 | 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 |
050bd73c0b46e7fbe118b3be2f4661b791d4e37d | 134,911 | py | Python | files/runs_small/cores_8/cholesky/power.py | ST4NSB/sniper-simulator-predictions | 1f0fe2a10fda55fceea053464ea202bfe2effafc | [
"MIT"
] | 1 | 2021-03-08T03:39:23.000Z | 2021-03-08T03:39:23.000Z | files/runs_small/cores_8/cholesky/power.py | ST4NSB/sniper-simulator-predictions | 1f0fe2a10fda55fceea053464ea202bfe2effafc | [
"MIT"
] | null | null | null | files/runs_small/cores_8/cholesky/power.py | ST4NSB/sniper-simulator-predictions | 1f0fe2a10fda55fceea053464ea202bfe2effafc | [
"MIT"
] | null | null | null | power = {'BUSES': {'Area': 3.70399,
'Bus/Area': 3.70399,
'Bus/Gate Leakage': 0.00993673,
'Bus/Peak Dynamic': 2.16944,
'Bus/Runtime Dynamic': 0.23296,
'Bus/Subthreshold Leakage': 0.103619,
'Bus/Subthreshold Leakage with power gating': 0.0388573,
... | 75.622758 | 124 | 0.683843 | 15,928 | 134,911 | 5.786163 | 0.043571 | 0.122458 | 0.114581 | 0.09479 | 0.963759 | 0.962284 | 0.956815 | 0.93493 | 0.923645 | 0.917916 | 0 | 0.129561 | 0.222962 | 134,911 | 1,784 | 125 | 75.622758 | 0.749587 | 0 | 0 | 0.736547 | 0 | 0 | 0.661424 | 0.048921 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
05858328cd879a913771f88a47fdd8b847b6d50d | 9,033 | py | Python | tests/lib2to3/test_convert_parameter.py | AlainMaesNokia/openapi | ea3534efdaeaf82989521d0725773cdf5ed5ea1a | [
"BSD-2-Clause"
] | 64 | 2018-12-13T19:46:47.000Z | 2022-03-25T05:25:56.000Z | tests/lib2to3/test_convert_parameter.py | AlainMaesNokia/openapi | ea3534efdaeaf82989521d0725773cdf5ed5ea1a | [
"BSD-2-Clause"
] | 71 | 2018-12-07T10:18:56.000Z | 2022-01-18T14:31:08.000Z | tests/lib2to3/test_convert_parameter.py | AlainMaesNokia/openapi | ea3534efdaeaf82989521d0725773cdf5ed5ea1a | [
"BSD-2-Clause"
] | 40 | 2018-12-19T22:57:13.000Z | 2022-03-27T14:09:14.000Z | """.convert_parameter() test suite."""
import pytest
import sphinxcontrib.openapi._lib2to3 as lib2to3
@pytest.fixture(scope="function")
def convert_parameter(oas_fragment):
def _wrapper(parameter):
oas2 = oas_fragment(
"""
swagger: "2.0"
info:
title: An ... | 21.10514 | 73 | 0.467951 | 747 | 9,033 | 5.471218 | 0.113788 | 0.134573 | 0.153413 | 0.218008 | 0.850012 | 0.812332 | 0.81013 | 0.787619 | 0.769024 | 0.769024 | 0 | 0.004651 | 0.452563 | 9,033 | 427 | 74 | 21.154567 | 0.82184 | 0.003543 | 0 | 0.512195 | 0 | 0 | 0.014454 | 0 | 0 | 0 | 0 | 0 | 0.130081 | 1 | 0.146341 | false | 0 | 0.01626 | 0 | 0.178862 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
55a8424eddf5f92c49e26eb49f16eaa4798734cf | 110 | py | Python | api/__init__.py | projekt-scope/scope-admin | f8fa536f8a620b8047a34d81c9c3004b4ed0b331 | [
"MIT"
] | 2 | 2020-09-29T14:29:05.000Z | 2021-01-28T12:57:15.000Z | api/__init__.py | projekt-scope/scope-admin | f8fa536f8a620b8047a34d81c9c3004b4ed0b331 | [
"MIT"
] | null | null | null | api/__init__.py | projekt-scope/scope-admin | f8fa536f8a620b8047a34d81c9c3004b4ed0b331 | [
"MIT"
] | 1 | 2021-04-16T09:43:46.000Z | 2021-04-16T09:43:46.000Z | from flask import Blueprint
api_bp = Blueprint("api_bp", __name__, url_prefix="/api")
from api import views
| 18.333333 | 57 | 0.763636 | 17 | 110 | 4.529412 | 0.588235 | 0.311688 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 110 | 5 | 58 | 22 | 0.810526 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 7 |
e9514cf858051c6998683e35fa251af3ff8353b7 | 109 | py | Python | pyforchange/pfcf/__init__.py | PythonForChange/pyforchange | 2cc5afef227ac68147e291e447c57924586a0b12 | [
"MIT"
] | 1 | 2021-06-07T02:10:41.000Z | 2021-06-07T02:10:41.000Z | pyforchange/pfcf/__init__.py | PythonForChange/pyforchange | 2cc5afef227ac68147e291e447c57924586a0b12 | [
"MIT"
] | null | null | null | pyforchange/pfcf/__init__.py | PythonForChange/pyforchange | 2cc5afef227ac68147e291e447c57924586a0b12 | [
"MIT"
] | null | null | null | from pyforchange.pfcf.files import *
from pyforchange.pfcf.read import *
from pyforchange.pfcf.utils import * | 36.333333 | 36 | 0.816514 | 15 | 109 | 5.933333 | 0.466667 | 0.505618 | 0.640449 | 0.561798 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100917 | 109 | 3 | 37 | 36.333333 | 0.908163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
7575f8e81a60c879ee4a219bc690123c0083e6e7 | 102 | py | Python | src/utils/__init__.py | VictorOnink/Wind-Mixing-Diffusion | 3a7051efefb6a6f89035099ac4d50ab11f242881 | [
"MIT"
] | null | null | null | src/utils/__init__.py | VictorOnink/Wind-Mixing-Diffusion | 3a7051efefb6a6f89035099ac4d50ab11f242881 | [
"MIT"
] | null | null | null | src/utils/__init__.py | VictorOnink/Wind-Mixing-Diffusion | 3a7051efefb6a6f89035099ac4d50ab11f242881 | [
"MIT"
] | null | null | null | from utils.utils_filenames import *
from utils.utils_files import *
from utils.utils_physics import *
| 25.5 | 35 | 0.823529 | 15 | 102 | 5.4 | 0.4 | 0.333333 | 0.518519 | 0.493827 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 102 | 3 | 36 | 34 | 0.9 | 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 |
7588acdd6a9b7c21bde39cb2cf0a5cdad9309b80 | 5,289 | py | Python | dJangoAdmin/catalog/numOfLeads.py | topseer/django | bb8e0841b4cbbd6cadf8cd3e29dbb52ba3109e88 | [
"MIT"
] | null | null | null | dJangoAdmin/catalog/numOfLeads.py | topseer/django | bb8e0841b4cbbd6cadf8cd3e29dbb52ba3109e88 | [
"MIT"
] | null | null | null | dJangoAdmin/catalog/numOfLeads.py | topseer/django | bb8e0841b4cbbd6cadf8cd3e29dbb52ba3109e88 | [
"MIT"
] | null | null | null | import pyodbc
import pandas.io.sql as sql
def numOfRouterCalls(startdate,enddate,user_email):
server = '10.203.1.105\\alpha'
database = 'test_yang'
username = 'webuser'
password = 'Changeme1'
cnxn = pyodbc.connect('DRIVER={ODBC Driver 13 for SQL Server};SERVER='+server+';DATABASE='+database+';UID='+user... | 33.264151 | 137 | 0.654755 | 651 | 5,289 | 5.267281 | 0.110599 | 0.052493 | 0.089239 | 0.043745 | 0.874891 | 0.874891 | 0.874891 | 0.874891 | 0.874891 | 0.874891 | 0 | 0.019324 | 0.178106 | 5,289 | 159 | 138 | 33.264151 | 0.769496 | 0 | 0 | 0.814286 | 0 | 0 | 0.487146 | 0.023819 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042857 | false | 0.085714 | 0.014286 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
759267886adaba53259e0ec5e3f82cd4518e458b | 170 | py | Python | src/ndn/security/validator/__init__.py | Zhiyi-Zhang/python-ndn | b05ed72dc7f0190e015edecf81d8949fb2eefe64 | [
"Apache-2.0"
] | null | null | null | src/ndn/security/validator/__init__.py | Zhiyi-Zhang/python-ndn | b05ed72dc7f0190e015edecf81d8949fb2eefe64 | [
"Apache-2.0"
] | null | null | null | src/ndn/security/validator/__init__.py | Zhiyi-Zhang/python-ndn | b05ed72dc7f0190e015edecf81d8949fb2eefe64 | [
"Apache-2.0"
] | null | null | null | from .digest_validator import sha256_digest_checker, params_sha256_checker, union_checker
__all__ = ['sha256_digest_checker', 'params_sha256_checker', 'union_checker']
| 34 | 89 | 0.841176 | 21 | 170 | 6.095238 | 0.428571 | 0.1875 | 0.296875 | 0.390625 | 0.78125 | 0.78125 | 0.78125 | 0.78125 | 0 | 0 | 0 | 0.076433 | 0.076471 | 170 | 4 | 90 | 42.5 | 0.738854 | 0 | 0 | 0 | 0 | 0 | 0.323529 | 0.247059 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 8 |
f9428e75182e917671339d0dae147b9ee5691d62 | 76 | py | Python | src/tests/articles/__init__.py | samrika25/TRAVIS_HEROKU_GIT | bcae6d0422d9a0369810944a91dd03db7df0d058 | [
"MIT"
] | null | null | null | src/tests/articles/__init__.py | samrika25/TRAVIS_HEROKU_GIT | bcae6d0422d9a0369810944a91dd03db7df0d058 | [
"MIT"
] | 4 | 2021-03-30T12:35:36.000Z | 2021-06-10T18:11:24.000Z | src/tests/articles/__init__.py | samrika25/TRAVIS_HEROKU_GIT | bcae6d0422d9a0369810944a91dd03db7df0d058 | [
"MIT"
] | 2 | 2021-02-07T16:16:36.000Z | 2021-07-13T05:26:51.000Z | from .test_article import *
from .test_tag import *
from .test_vote import * | 25.333333 | 27 | 0.776316 | 12 | 76 | 4.666667 | 0.5 | 0.428571 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144737 | 76 | 3 | 28 | 25.333333 | 0.861538 | 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 |
f987a82ed71db745e1aedc9cea40c42ebe558346 | 263,830 | py | Python | metal/models/projects_api.py | displague/metal-python | 96e64e9ac41025d85ff6f61693165e29e1c366db | [
"MIT"
] | null | null | null | metal/models/projects_api.py | displague/metal-python | 96e64e9ac41025d85ff6f61693165e29e1c366db | [
"MIT"
] | 3 | 2021-09-27T05:10:36.000Z | 2021-09-27T06:10:57.000Z | metal/models/projects_api.py | displague/metal-python | 96e64e9ac41025d85ff6f61693165e29e1c366db | [
"MIT"
] | null | null | null | # coding: utf-8
"""
Metal API
This is the API for Equinix Metal. The API allows you to programmatically interact with all of your Equinix Metal resources, including devices, networks, addresses, organizations, projects, and your user account. The official API docs are hosted at <https://metal.equinix.com/dev... | 48.07398 | 858 | 0.604457 | 30,425 | 263,830 | 5.010781 | 0.0141 | 0.041718 | 0.066578 | 0.024795 | 0.981935 | 0.978413 | 0.972615 | 0.96761 | 0.964094 | 0.956439 | 0 | 0.01658 | 0.323079 | 263,830 | 5,487 | 859 | 48.082741 | 0.837059 | 0.477038 | 0 | 0.78221 | 0 | 0.012764 | 0.196006 | 0.045538 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028321 | false | 0 | 0.001994 | 0 | 0.058636 | 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 |
f9acae6d637b169d910d91f5808b26a4420bd437 | 3,240 | py | Python | tests/api_url_test.py | PiyushDeshmukh/camgor | bcf070840fa9e9df62dfceb73166244076bc3f43 | [
"MIT"
] | 2 | 2016-04-03T11:09:17.000Z | 2016-12-25T07:25:28.000Z | tests/api_url_test.py | PiyushDeshmukh/locawecomm | bcf070840fa9e9df62dfceb73166244076bc3f43 | [
"MIT"
] | null | null | null | tests/api_url_test.py | PiyushDeshmukh/locawecomm | bcf070840fa9e9df62dfceb73166244076bc3f43 | [
"MIT"
] | null | null | null | from camgor.camgor import *
"""
Tests whether Camgor can generate the api url corresponding to the
mentioned git url
"""
def test_accepts_contributors():
"""
checks if contributor urls are generated
"""
api_url = get_api_url("https://github.com/python/pythondotorg.git", "contributors")
api_url_wit... | 48.358209 | 100 | 0.729012 | 480 | 3,240 | 4.633333 | 0.091667 | 0.196942 | 0.140288 | 0.172662 | 0.903777 | 0.903777 | 0.903777 | 0.903777 | 0.903777 | 0.863309 | 0 | 0.016824 | 0.119444 | 3,240 | 66 | 101 | 49.090909 | 0.762706 | 0.037037 | 0 | 0.3 | 1 | 0 | 0.430584 | 0 | 0 | 0 | 0 | 0 | 0.3 | 1 | 0.075 | false | 0 | 0.025 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
dded76cb837db208879939476d456f11e028cf8b | 3,731 | py | Python | python/data_structures/tree/fizz_buzz_tree.py | M7madMomani2/data-structures-and-algorithms | 35ba48973d45f6972d097e4aaac7cfb7147a83a2 | [
"MIT"
] | null | null | null | python/data_structures/tree/fizz_buzz_tree.py | M7madMomani2/data-structures-and-algorithms | 35ba48973d45f6972d097e4aaac7cfb7147a83a2 | [
"MIT"
] | null | null | null | python/data_structures/tree/fizz_buzz_tree.py | M7madMomani2/data-structures-and-algorithms | 35ba48973d45f6972d097e4aaac7cfb7147a83a2 | [
"MIT"
] | 1 | 2021-08-29T20:16:19.000Z | 2021-08-29T20:16:19.000Z | class Node:
def __init__(self, value):
self.value = value
self.right = None
self.left = None
class BinaryTree:
def __init__(self):
self.root = None
self.maxVal = 0
def pre_order(self):
output = []
def _walk(node):
output.append(node.val... | 21.32 | 48 | 0.441705 | 371 | 3,731 | 4.309973 | 0.107817 | 0.105066 | 0.097561 | 0.065666 | 0.801126 | 0.801126 | 0.722952 | 0.722952 | 0.722952 | 0.722952 | 0 | 0.001019 | 0.473868 | 3,731 | 174 | 49 | 21.442529 | 0.813551 | 0.004288 | 0 | 0.822581 | 0 | 0 | 0.002694 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153226 | false | 0 | 0 | 0 | 0.282258 | 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 |
34b6a4121a24dd9ada2b5e7bcb6c50ea1f57af84 | 54,795 | py | Python | simulation/Tempo2.py | vivirodrigues/carrinheiros-heuristics | 92c8c4a8384f8e3a86e9c53b41bcb2ab001de5f5 | [
"MIT"
] | null | null | null | simulation/Tempo2.py | vivirodrigues/carrinheiros-heuristics | 92c8c4a8384f8e3a86e9c53b41bcb2ab001de5f5 | [
"MIT"
] | null | null | null | simulation/Tempo2.py | vivirodrigues/carrinheiros-heuristics | 92c8c4a8384f8e3a86e9c53b41bcb2ab001de5f5 | [
"MIT"
] | null | null | null | import json
import scipy.stats
import matplotlib.pyplot as plt
import numpy as np
def open_file(nameFile):
try:
f = open(nameFile + ".json", "r")
dados = json.loads(f.read())
f.close()
except:
dados = 0
pass
return dados
def mean_confidence_interval(data, confide... | 129.539007 | 189 | 0.871594 | 6,516 | 54,795 | 6.698895 | 0.046961 | 0.191753 | 0.089485 | 0.127835 | 0.9652 | 0.95803 | 0.948729 | 0.946896 | 0.944238 | 0.944238 | 0 | 0.380698 | 0.056775 | 54,795 | 423 | 190 | 129.539007 | 0.463857 | 0.006479 | 0 | 0 | 0 | 0 | 0.879207 | 0.875202 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005319 | false | 0.00266 | 0.010638 | 0 | 0.021277 | 0.00266 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
34d2758eee80150f0f5d6c1bd0eead887b4b6947 | 2,924 | py | Python | backend/stock/migrations/0008_dailypricehistory_hourlypricehistory_monthlypricehistory_weeklypricehistory.py | TopWebFullDev/Stock-chart-1 | 947f72fbb71af9762a12aa2b2c7d4aa2824cd165 | [
"MIT"
] | null | null | null | backend/stock/migrations/0008_dailypricehistory_hourlypricehistory_monthlypricehistory_weeklypricehistory.py | TopWebFullDev/Stock-chart-1 | 947f72fbb71af9762a12aa2b2c7d4aa2824cd165 | [
"MIT"
] | null | null | null | backend/stock/migrations/0008_dailypricehistory_hourlypricehistory_monthlypricehistory_weeklypricehistory.py | TopWebFullDev/Stock-chart-1 | 947f72fbb71af9762a12aa2b2c7d4aa2824cd165 | [
"MIT"
] | null | null | null | # Generated by Django 2.2.10 on 2020-09-30 21:58
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('stock', '0007_pricehistory_close'),
]
operations = [
migrations.CreateModel(
name='DailyPriceHistory',
fields=[
... | 37.487179 | 114 | 0.491108 | 224 | 2,924 | 6.276786 | 0.272321 | 0.227596 | 0.071124 | 0.065434 | 0.79872 | 0.719772 | 0.719772 | 0.719772 | 0.719772 | 0.719772 | 0 | 0.014909 | 0.357729 | 2,924 | 77 | 115 | 37.974026 | 0.733759 | 0.015732 | 0 | 0.732394 | 1 | 0 | 0.129346 | 0.015299 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.014085 | 0 | 0.056338 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
551d206c196facc257f726dcaf7f8ae2b096b5cc | 56,597 | py | Python | tests/bugs/core_5970_test.py | FirebirdSQL/firebird-qa | 96af2def7f905a06f178e2a80a2c8be4a4b44782 | [
"MIT"
] | 1 | 2022-02-05T11:37:13.000Z | 2022-02-05T11:37:13.000Z | tests/bugs/core_5970_test.py | FirebirdSQL/firebird-qa | 96af2def7f905a06f178e2a80a2c8be4a4b44782 | [
"MIT"
] | 1 | 2021-09-03T11:47:00.000Z | 2021-09-03T12:42:10.000Z | tests/bugs/core_5970_test.py | FirebirdSQL/firebird-qa | 96af2def7f905a06f178e2a80a2c8be4a4b44782 | [
"MIT"
] | 1 | 2021-06-30T14:14:16.000Z | 2021-06-30T14:14:16.000Z | #coding:utf-8
#
# id: bugs.core_5970
# title: Built-in cryptographic functions
# decription:
# Issues found during implementing this test - see CORE-6185, CORE-6186.
# This test checks only ability to call ENCRYPT()/DECRYPT() functions with different parameters.
# ... | 40.426429 | 234 | 0.635422 | 6,599 | 56,597 | 5.034702 | 0.053493 | 0.099657 | 0.077263 | 0.118168 | 0.909102 | 0.897935 | 0.894805 | 0.891253 | 0.886137 | 0.881682 | 0 | 0.063883 | 0.30855 | 56,597 | 1,399 | 235 | 40.455325 | 0.785097 | 0.012439 | 0 | 0.845415 | 0 | 0.055895 | 0.988706 | 0.236934 | 0 | 0 | 0 | 0 | 0.001747 | 1 | 0.000873 | false | 0 | 0.001747 | 0 | 0.00262 | 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 |
9b9215eb4a23e5091d119468e3e50fb809e78378 | 14,916 | py | Python | stats/ISCs_sign_one_sample_perm/plot_ISC_subplots_T_vals.py | athiede13/free_speech | bde32c2d48724c98f089376876cf9888f67a9f20 | [
"MIT"
] | null | null | null | stats/ISCs_sign_one_sample_perm/plot_ISC_subplots_T_vals.py | athiede13/free_speech | bde32c2d48724c98f089376876cf9888f67a9f20 | [
"MIT"
] | null | null | null | stats/ISCs_sign_one_sample_perm/plot_ISC_subplots_T_vals.py | athiede13/free_speech | bde32c2d48724c98f089376876cf9888f67a9f20 | [
"MIT"
] | null | null | null | """
Plot subplots.
Created on 6.5.2019
@author: Anja Thiede <anja.thiede@helsinki.fi>
"""
import matplotlib.pyplot as plt
#%matplotlib qt
#%matplotlib inline
#to fill
filepath = '/media/cbru/SMEDY/results/ISCs_comp_against_0/'
con = 'speech'
files = ('/media/cbru/SMEDY/results/ISCs_comp_against_0/con_5.000000e-01-... | 57.369231 | 99 | 0.687785 | 2,432 | 14,916 | 3.909539 | 0.072368 | 0.108856 | 0.169331 | 0.253997 | 0.904186 | 0.896403 | 0.886411 | 0.877051 | 0.872949 | 0.855069 | 0 | 0.096849 | 0.161706 | 14,916 | 259 | 100 | 57.590734 | 0.663548 | 0.09158 | 0 | 0.658031 | 0 | 0.082902 | 0.660966 | 0.626684 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.005181 | 0 | 0.005181 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
b5db0d2015d2107e7ea954526af082a93180936f | 6,360 | py | Python | pycql/lextab.py | tomkralidis/pycql | 35cea1ee462e06b75bbe47bf766e8f0bf79b0018 | [
"MIT"
] | 10 | 2019-09-18T13:29:17.000Z | 2021-07-15T18:21:54.000Z | pycql/lextab.py | tomkralidis/pycql | 35cea1ee462e06b75bbe47bf766e8f0bf79b0018 | [
"MIT"
] | 6 | 2019-09-18T14:55:57.000Z | 2021-08-30T21:43:46.000Z | pycql/lextab.py | tomkralidis/pycql | 35cea1ee462e06b75bbe47bf766e8f0bf79b0018 | [
"MIT"
] | 4 | 2020-05-13T12:35:12.000Z | 2021-06-29T10:37:11.000Z | # lextab.py. This file automatically created by PLY (version 3.11). Don't edit!
_tabversion = '3.10'
_lextokens = set(('AFTER', 'AND', 'ATTRIBUTE', 'BBOX', 'BEFORE', 'BETWEEN', 'BEYOND', 'COMMA', 'CONTAINS', 'CROSSES', 'DISJOINT', 'DIVIDE', 'DURATION', 'DURING', 'DWITHIN', 'ENVELOPE', 'EQ', 'EQUALS', 'FLOAT', 'GE'... | 578.181818 | 5,542 | 0.372484 | 1,168 | 6,360 | 1.986301 | 0.092466 | 0.240517 | 0.179741 | 0.236207 | 0.500862 | 0.500862 | 0.4875 | 0.484483 | 0.484483 | 0.469828 | 0 | 0.094739 | 0.040723 | 6,360 | 10 | 5,543 | 636 | 0.285527 | 0.012107 | 0 | 0 | 0 | 0.222222 | 0.832988 | 0.645439 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.