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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dbde993dd5378f1d8831866a544a5cc5e076944d | 117 | py | Python | src/DLMDL/argument_store.py | KAIST-NCL/IDLE | e88aef411ba43a42487202286d743486484f5e17 | [
"BSD-2-Clause"
] | 7 | 2018-11-21T09:19:51.000Z | 2022-01-27T11:55:43.000Z | src/DLMDL/argument_store.py | KAIST-NCL/IDLE | e88aef411ba43a42487202286d743486484f5e17 | [
"BSD-2-Clause"
] | null | null | null | src/DLMDL/argument_store.py | KAIST-NCL/IDLE | e88aef411ba43a42487202286d743486484f5e17 | [
"BSD-2-Clause"
] | 3 | 2019-03-11T11:10:29.000Z | 2021-04-16T16:07:17.000Z |
class ArgumentStore:
def __init__(self):
pass
class Argument:
def __init__(self):
pass
| 9 | 23 | 0.589744 | 12 | 117 | 5.083333 | 0.583333 | 0.229508 | 0.360656 | 0.491803 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.34188 | 117 | 12 | 24 | 9.75 | 0.792208 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
dbe1c0f4ea2093bb8d96d4f8e7e8c6deee75bf78 | 14,825 | py | Python | Logistic Regression/part_a.py | utkarsh1097/Machine-Learning-Assignments | eb535e862bdba63fe44a45b3e06408b8ea856a74 | [
"MIT"
] | null | null | null | Logistic Regression/part_a.py | utkarsh1097/Machine-Learning-Assignments | eb535e862bdba63fe44a45b3e06408b8ea856a74 | [
"MIT"
] | null | null | null | Logistic Regression/part_a.py | utkarsh1097/Machine-Learning-Assignments | eb535e862bdba63fe44a45b3e06408b8ea856a74 | [
"MIT"
] | null | null | null | import pandas as pd
import numpy as np
from scipy.sparse import csr_matrix, vstack
import sys
import math
import re
def sigmoid(Z): #Sigmoid function
return np.exp(Z)/(1+np.exp(Z))
def predictions(weights, X): #Given W and X, return predictions
return sigmoid(csr_matrix.dot(X, weights))
def calc_gradient(X, e):
... | 35.809179 | 153 | 0.673862 | 2,458 | 14,825 | 3.836046 | 0.092758 | 0.066815 | 0.097996 | 0.125994 | 0.822144 | 0.796267 | 0.782055 | 0.778874 | 0.770601 | 0.770601 | 0 | 0.02511 | 0.153794 | 14,825 | 413 | 154 | 35.895884 | 0.726505 | 0.157707 | 0 | 0.67354 | 0 | 0 | 0.027865 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044674 | false | 0 | 0.020619 | 0.010309 | 0.106529 | 0.003436 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dbf8cd193ff4b3a3423ca056e0319ce7fc4c046d | 28,862 | py | Python | _1327/polls/tests.py | gritfessel/1327 | dd3f8d7ebe5a4bade951e658fe29921eedd82a91 | [
"MIT"
] | null | null | null | _1327/polls/tests.py | gritfessel/1327 | dd3f8d7ebe5a4bade951e658fe29921eedd82a91 | [
"MIT"
] | null | null | null | _1327/polls/tests.py | gritfessel/1327 | dd3f8d7ebe5a4bade951e658fe29921eedd82a91 | [
"MIT"
] | null | null | null | import datetime
from django.contrib.auth.models import Group
from django.db import transaction
from django.template.defaultfilters import floatformat
from django.test import TestCase
from django.urls import reverse
from django_webtest import WebTest
from guardian.shortcuts import assign_perm, get_perms
from guardian.u... | 36.955186 | 129 | 0.748008 | 4,222 | 28,862 | 4.925154 | 0.061582 | 0.060017 | 0.045446 | 0.078099 | 0.847889 | 0.820237 | 0.795903 | 0.765654 | 0.752717 | 0.705348 | 0 | 0.013549 | 0.107512 | 28,862 | 780 | 130 | 37.002564 | 0.793703 | 0.005301 | 0 | 0.635332 | 0 | 0 | 0.112207 | 0.00965 | 0 | 0 | 0 | 0 | 0.236629 | 1 | 0.094003 | false | 0 | 0.02269 | 0 | 0.136143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e03c60b7f904c975cbe92e95d66a6a0d9ef4e6c2 | 127 | py | Python | yarx/__init__.py | mahnerak/yarx | aff3f98714fe940966e6e1ad670e10c059d49985 | [
"Apache-2.0"
] | 1 | 2019-08-27T17:38:37.000Z | 2019-08-27T17:38:37.000Z | yarx/__init__.py | mahnerak/yarx | aff3f98714fe940966e6e1ad670e10c059d49985 | [
"Apache-2.0"
] | null | null | null | yarx/__init__.py | mahnerak/yarx | aff3f98714fe940966e6e1ad670e10c059d49985 | [
"Apache-2.0"
] | 1 | 2019-08-18T18:05:07.000Z | 2019-08-18T18:05:07.000Z | from . import data
from . import layers
from . import metrics
from . import models
from . import predictor
from . import utils
| 18.142857 | 23 | 0.76378 | 18 | 127 | 5.388889 | 0.444444 | 0.618557 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188976 | 127 | 6 | 24 | 21.166667 | 0.941748 | 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 | 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 | 6 |
0ecb55419e3d6b5e598dcb8a2adb85520e68c728 | 212 | py | Python | sandbox/finetuning/envs/mujoco/follow/snake_follow_env.py | andrewli77/rllab-finetuning | 2dae9141d0fdc284d04f18931907131d66b43023 | [
"MIT"
] | 23 | 2020-04-27T23:53:44.000Z | 2022-03-10T03:13:16.000Z | sandbox/finetuning/envs/mujoco/follow/snake_follow_env.py | WeiChengTseng/rllab-finetuning | 2dae9141d0fdc284d04f18931907131d66b43023 | [
"MIT"
] | 1 | 2021-11-14T13:30:22.000Z | 2021-11-14T13:30:22.000Z | sandbox/finetuning/envs/mujoco/follow/snake_follow_env.py | WeiChengTseng/rllab-finetuning | 2dae9141d0fdc284d04f18931907131d66b43023 | [
"MIT"
] | 8 | 2020-06-17T03:28:34.000Z | 2022-03-09T03:13:03.000Z | from sandbox.finetuning.envs.mujoco.follow.follow_env import FollowEnv
from sandbox.finetuning.envs.mujoco.snake_env import SnakeEnv
class SnakeFollowEnv(FollowEnv):
MODEL_CLASS = SnakeEnv
ORI_IND = 2
| 23.555556 | 70 | 0.806604 | 28 | 212 | 5.964286 | 0.607143 | 0.131737 | 0.251497 | 0.299401 | 0.371257 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005405 | 0.127358 | 212 | 8 | 71 | 26.5 | 0.897297 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0eea46a44cf8b41cad93447bfdcc21369e41db2a | 43,643 | py | Python | electronicparsers/charmm/metainfo/charmm.py | nomad-coe/electronic-parsers | defb47be6ac22b2e48d4fb9204c85390a3c2f328 | [
"Apache-2.0"
] | null | null | null | electronicparsers/charmm/metainfo/charmm.py | nomad-coe/electronic-parsers | defb47be6ac22b2e48d4fb9204c85390a3c2f328 | [
"Apache-2.0"
] | null | null | null | electronicparsers/charmm/metainfo/charmm.py | nomad-coe/electronic-parsers | defb47be6ac22b2e48d4fb9204c85390a3c2f328 | [
"Apache-2.0"
] | null | null | null | #
# Copyright The NOMAD Authors.
#
# This file is part of NOMAD.
# See https://nomad-lab.eu for further info.
#
# 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/lic... | 25.642186 | 98 | 0.59572 | 4,241 | 43,643 | 5.84532 | 0.099741 | 0.068052 | 0.116781 | 0.155708 | 0.833602 | 0.804518 | 0.766801 | 0.712424 | 0.68217 | 0.663695 | 0 | 0.001952 | 0.307426 | 43,643 | 1,701 | 99 | 25.65726 | 0.818203 | 0.030108 | 0 | 0.764364 | 0 | 0 | 0.33047 | 0.011532 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.003636 | 0 | 0.189818 | 0.000727 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 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 | 6 |
0ef18ca3e21d5b9bcced665509ebddefb45f432e | 18,278 | py | Python | test/test_data_arrowhead.py | philipdarke/torchtime | b0572fe4d4d144884818859d839b500dcf12cc9b | [
"MIT"
] | null | null | null | test/test_data_arrowhead.py | philipdarke/torchtime | b0572fe4d4d144884818859d839b500dcf12cc9b | [
"MIT"
] | null | null | null | test/test_data_arrowhead.py | philipdarke/torchtime | b0572fe4d4d144884818859d839b500dcf12cc9b | [
"MIT"
] | null | null | null | import re
import pytest
import torch
from torchtime.data import UEA
SEED = 456789
RTOL = 1e-4
ATOL = 1e-4
class TestUEAArrowHead:
def test_invalid_split_arg(self):
"""Catch invalid split argument."""
with pytest.raises(
AssertionError,
match=re.escape("argument 'split' m... | 35.015326 | 122 | 0.522705 | 2,200 | 18,278 | 4.237273 | 0.066364 | 0.066938 | 0.058571 | 0.055031 | 0.853787 | 0.825252 | 0.818816 | 0.783737 | 0.712294 | 0.667239 | 0 | 0.049372 | 0.346209 | 18,278 | 521 | 123 | 35.082534 | 0.730711 | 0.078783 | 0 | 0.609481 | 0 | 0.004515 | 0.051175 | 0 | 0 | 0 | 0 | 0 | 0.261851 | 1 | 0.054176 | false | 0 | 0.009029 | 0 | 0.06772 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0efc347d59fa568ddee8d0ab35cbf0890ff8353c | 287 | py | Python | gym_pygame/envs/__init__.py | opent03/gym-games | 47cdbe522d5845676eadab1ec1a21f9c23eb5b95 | [
"MIT"
] | 13 | 2019-08-13T17:24:55.000Z | 2022-02-19T08:39:43.000Z | gym_pygame/envs/__init__.py | opent03/gym-games | 47cdbe522d5845676eadab1ec1a21f9c23eb5b95 | [
"MIT"
] | 3 | 2021-07-05T17:01:39.000Z | 2021-09-29T17:12:59.000Z | gym_pygame/envs/__init__.py | opent03/gym-games | 47cdbe522d5845676eadab1ec1a21f9c23eb5b95 | [
"MIT"
] | 9 | 2020-03-07T19:17:34.000Z | 2022-03-25T21:23:17.000Z | from gym_pygame.envs.base import BaseEnv
from gym_pygame.envs.catcher import CatcherEnv
from gym_pygame.envs.flappybird import FlappyBirdEnv
from gym_pygame.envs.pong import PongEnv
from gym_pygame.envs.pixelcopter import PixelcopterEnv
from gym_pygame.envs.puckworld import PuckWorldEnv | 47.833333 | 54 | 0.878049 | 42 | 287 | 5.857143 | 0.404762 | 0.170732 | 0.317073 | 0.414634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080139 | 287 | 6 | 55 | 47.833333 | 0.931818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 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 | 6 |
161a8a72f524d87cdb1c4ed7a4f6c015001fb11e | 7,253 | py | Python | kurisu/cogs/actions.py | AkioOrg/Akio2.0 | 940388bf58091565f5345f65a6954decbb28921b | [
"MIT"
] | 2 | 2021-08-16T08:22:08.000Z | 2022-01-04T17:30:26.000Z | kurisu/cogs/actions.py | AkioOrg/Akio2.0 | 940388bf58091565f5345f65a6954decbb28921b | [
"MIT"
] | 5 | 2021-08-16T06:45:53.000Z | 2022-01-25T05:45:50.000Z | kurisu/cogs/actions.py | AkioOrg/Akio2.0 | 940388bf58091565f5345f65a6954decbb28921b | [
"MIT"
] | 5 | 2021-08-16T04:38:50.000Z | 2021-09-28T21:20:12.000Z | from discord.ext import commands
from utils.context import KurisuContext
from utils.kurisu import KurisuBot
import discord
np = ""
class Actions(commands.Cog):
"""Roleplay with your friends with this modules assortment of different commands."""
def __init__(self, bot: KurisuBot):
self.bot = bot
... | 38.173684 | 88 | 0.541293 | 828 | 7,253 | 4.704106 | 0.131643 | 0.046727 | 0.052375 | 0.055456 | 0.848524 | 0.765597 | 0.761232 | 0.761232 | 0.74172 | 0.727599 | 0 | 0.005488 | 0.32166 | 7,253 | 189 | 89 | 38.375661 | 0.786179 | 0.010754 | 0 | 0.613924 | 0 | 0 | 0.128213 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012658 | false | 0 | 0.025316 | 0 | 0.044304 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
162e0ce3c0ab490e5cad0ce739c3d386f50f1997 | 211 | py | Python | bert_multitask_learning/data_preprocessing/__init__.py | claudiu-mihaila/bert-multitask-learning | f244543b56c770f3d460189a582dc3c0731d78f0 | [
"MIT"
] | 1 | 2020-04-12T07:32:46.000Z | 2020-04-12T07:32:46.000Z | bert_multitask_learning/data_preprocessing/__init__.py | lijia2019310/bert-multitask-learning | 1e1e12a0d0e77b4a77cbb0d7a1ea46199e37e6be | [
"MIT"
] | null | null | null | bert_multitask_learning/data_preprocessing/__init__.py | lijia2019310/bert-multitask-learning | 1e1e12a0d0e77b4a77cbb0d7a1ea46199e37e6be | [
"MIT"
] | 1 | 2021-04-03T06:18:01.000Z | 2021-04-03T06:18:01.000Z | from .ner_data import *
from .cws_data import *
from .ctb_data import *
from .pos_data import *
from .test_data import *
from .ontonote_data import *
from .emotion_data import *
from .preproc_decorator import *
| 23.444444 | 32 | 0.772512 | 32 | 211 | 4.84375 | 0.375 | 0.451613 | 0.632258 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151659 | 211 | 8 | 33 | 26.375 | 0.865922 | 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 | 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 | 6 |
16535ca9ac3ad77a3e547af4a26cf1d98f3b495b | 5,800 | py | Python | tests/test_cli.py | q-posev/aiida-gaussian-datatypes | 379bbf2280f0c6b156ad8d6d76785a75c3aa97e1 | [
"MIT"
] | 5 | 2022-01-21T08:30:12.000Z | 2022-03-07T10:46:51.000Z | tests/test_cli.py | TREX-CoE/aiida-gaussian-datatypes | 379bbf2280f0c6b156ad8d6d76785a75c3aa97e1 | [
"MIT"
] | null | null | null | tests/test_cli.py | TREX-CoE/aiida-gaussian-datatypes | 379bbf2280f0c6b156ad8d6d76785a75c3aa97e1 | [
"MIT"
] | 2 | 2022-02-26T20:44:45.000Z | 2022-03-03T11:31:22.000Z | import subprocess as sp
from aiida.backends.testbase import AiidaTestCase
from click.testing import CliRunner
from aiida_gaussian_datatypes.basisset.cli import cli as basisset_cli
from aiida_gaussian_datatypes.basisset.cli import (
dump_basisset,
import_basisset,
list_basisset,
)
from aiida_gaussian_datat... | 35.151515 | 120 | 0.600345 | 678 | 5,800 | 5.001475 | 0.143068 | 0.041286 | 0.076674 | 0.100855 | 0.907697 | 0.880861 | 0.867001 | 0.792981 | 0.743439 | 0.733412 | 0 | 0.00479 | 0.280172 | 5,800 | 164 | 121 | 35.365854 | 0.807425 | 0.042241 | 0 | 0.620155 | 0 | 0 | 0.195926 | 0 | 0 | 0 | 0 | 0 | 0.232558 | 1 | 0.093023 | false | 0 | 0.170543 | 0 | 0.27907 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
165f326547170087e8ca0626d2e8d7f96fe1b913 | 24,422 | py | Python | research/astronet/astrowavenet/astrowavenet_model_test.py | kichiro09/object-detection | b7087955bb5f2689b0ef42ab5400931cd8f416b6 | [
"Apache-2.0"
] | 8 | 2019-04-03T09:42:27.000Z | 2020-08-30T16:19:20.000Z | research/astronet/astrowavenet/astrowavenet_model_test.py | bhushan23/models | e498d28503fd4a12d1fa9ade41891f2f9601c674 | [
"Apache-2.0"
] | 1 | 2018-11-19T14:54:19.000Z | 2018-11-19T17:00:41.000Z | research/astronet/astrowavenet/astrowavenet_model_test.py | bhushan23/models | e498d28503fd4a12d1fa9ade41891f2f9601c674 | [
"Apache-2.0"
] | 3 | 2019-08-19T08:24:55.000Z | 2020-09-27T06:26:05.000Z | # Copyright 2018 The TensorFlow Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to ... | 38.642405 | 80 | 0.587913 | 3,038 | 24,422 | 4.507571 | 0.089203 | 0.029356 | 0.036804 | 0.040894 | 0.827808 | 0.814371 | 0.798744 | 0.773697 | 0.760114 | 0.717979 | 0 | 0.086321 | 0.260011 | 24,422 | 631 | 81 | 38.703645 | 0.671425 | 0.061748 | 0 | 0.678967 | 0 | 0 | 0.113756 | 0.071841 | 0 | 0 | 0 | 0 | 0.123616 | 1 | 0.012915 | false | 0 | 0.012915 | 0 | 0.027675 | 0.001845 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
166f339f594cc37ad849fc3bf815b62506790d23 | 12,542 | py | Python | tests/Maps/test_public_tools.py | aperezlebel/meta_analysis | 10f983a4f3a94d385b9cd69a13c36ac610b1be93 | [
"MIT"
] | null | null | null | tests/Maps/test_public_tools.py | aperezlebel/meta_analysis | 10f983a4f3a94d385b9cd69a13c36ac610b1be93 | [
"MIT"
] | null | null | null | tests/Maps/test_public_tools.py | aperezlebel/meta_analysis | 10f983a4f3a94d385b9cd69a13c36ac610b1be93 | [
"MIT"
] | null | null | null | import unittest
import numpy as np
import nibabel as nib
from meta_analysis import Maps
from globals_test import affine, maps
class ApplyMaskTestCase(unittest.TestCase):
def setUp(self):
self.array = np.array([[[1, 2, 3],
[4, 5, 6],
[7, 8, 9... | 40.458065 | 145 | 0.536916 | 1,855 | 12,542 | 3.485714 | 0.053908 | 0.049799 | 0.053356 | 0.045778 | 0.87875 | 0.867925 | 0.844881 | 0.819827 | 0.792298 | 0.759821 | 0 | 0.065896 | 0.282491 | 12,542 | 309 | 146 | 40.588997 | 0.652628 | 0 | 0 | 0.46696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246696 | 1 | 0.162996 | false | 0 | 0.022026 | 0 | 0.211454 | 0.008811 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
169226eded1794ae80c34604ef57765b798b6156 | 153 | py | Python | {{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/__main__.py | squishy-solutions/python-best-practices-cookiecutter | 5a88822c3d276db6ecc5621fedae6c611f0e7b5e | [
"MIT"
] | 384 | 2020-02-02T10:10:20.000Z | 2022-03-30T03:26:05.000Z | {{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/__main__.py | squishy-solutions/python-best-practices-cookiecutter | 5a88822c3d276db6ecc5621fedae6c611f0e7b5e | [
"MIT"
] | 12 | 2020-03-15T22:10:09.000Z | 2022-01-06T21:10:47.000Z | {{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/__main__.py | squishy-solutions/python-best-practices-cookiecutter | 5a88822c3d276db6ecc5621fedae6c611f0e7b5e | [
"MIT"
] | 97 | 2020-02-11T15:02:58.000Z | 2022-03-11T04:30:14.000Z | import sys
from {{cookiecutter.repo_name}}.{{cookiecutter.repo_name}} import fib
if __name__ == "__main__":
n = int(sys.argv[1])
print(fib(n))
| 19.125 | 69 | 0.673203 | 22 | 153 | 4.227273 | 0.636364 | 0.344086 | 0.430108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007752 | 0.156863 | 153 | 7 | 70 | 21.857143 | 0.713178 | 0 | 0 | 0 | 0 | 0 | 0.052288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.4 | null | null | 0.2 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
16c11962ef135287139b3b37c4a7aa6588941aba | 17,665 | py | Python | draughtcraft/tests/controllers/recipes/test_builder.py | ryanpetrello/draughtcraft | 8eba4f659f6623593cf7b015a94552281b11a840 | [
"BSD-3-Clause"
] | null | null | null | draughtcraft/tests/controllers/recipes/test_builder.py | ryanpetrello/draughtcraft | 8eba4f659f6623593cf7b015a94552281b11a840 | [
"BSD-3-Clause"
] | null | null | null | draughtcraft/tests/controllers/recipes/test_builder.py | ryanpetrello/draughtcraft | 8eba4f659f6623593cf7b015a94552281b11a840 | [
"BSD-3-Clause"
] | null | null | null | from json import dumps
from datetime import timedelta
from draughtcraft.tests import TestApp, TestAuthenticatedApp
from draughtcraft import model
class TestAuthenticatedUserRecipeLookup(TestAuthenticatedApp):
def test_lookup(self):
"""
If the recipe has an author, and we're logged in as that aut... | 29.589615 | 79 | 0.48163 | 1,756 | 17,665 | 4.791572 | 0.093394 | 0.087592 | 0.076658 | 0.073806 | 0.80889 | 0.789042 | 0.767293 | 0.76444 | 0.742453 | 0.733183 | 0 | 0.023599 | 0.397905 | 17,665 | 596 | 80 | 29.639262 | 0.767488 | 0.03889 | 0 | 0.668675 | 0 | 0 | 0.155738 | 0.056161 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.042169 | false | 0 | 0.008032 | 0 | 0.064257 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
16d95f845465df5366afcc91bfeff813222af2c9 | 31 | py | Python | nipype/interfaces/mne/__init__.py | demianw/nipype | 52d64c30d96ecd94f1833156e28dce32c4f05ebe | [
"BSD-3-Clause"
] | null | null | null | nipype/interfaces/mne/__init__.py | demianw/nipype | 52d64c30d96ecd94f1833156e28dce32c4f05ebe | [
"BSD-3-Clause"
] | 2 | 2017-10-05T21:08:38.000Z | 2018-10-09T23:01:23.000Z | nipype/interfaces/mne/__init__.py | effigies/nipype | 18fe222557cf3b9627e06b2a66fba589feaca581 | [
"Apache-2.0"
] | 1 | 2016-10-11T19:18:53.000Z | 2016-10-11T19:18:53.000Z | from .base import WatershedBEM
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
16ec3989956f4d471bc43e1d5e65094a3ea1c4c9 | 18,175 | py | Python | colour/models/rgb/transfer_functions/tests/test_canon_log.py | rift-labs-developer/colour | 15112dbe824aab0f21447e0db4a046a28a06f43a | [
"BSD-3-Clause"
] | 1,380 | 2015-01-10T12:30:33.000Z | 2022-03-30T10:19:57.000Z | colour/models/rgb/transfer_functions/tests/test_canon_log.py | rift-labs-developer/colour | 15112dbe824aab0f21447e0db4a046a28a06f43a | [
"BSD-3-Clause"
] | 638 | 2015-01-02T10:49:05.000Z | 2022-03-29T10:16:22.000Z | colour/models/rgb/transfer_functions/tests/test_canon_log.py | rift-labs-developer/colour | 15112dbe824aab0f21447e0db4a046a28a06f43a | [
"BSD-3-Clause"
] | 250 | 2015-01-21T15:27:19.000Z | 2022-03-30T10:23:58.000Z | # -*- coding: utf-8 -*-
"""
Defines the unit tests for the
:mod:`colour.models.rgb.transfer_functions.canon_log` module.
"""
import numpy as np
import unittest
from colour.models.rgb.transfer_functions import (
log_encoding_CanonLog, log_decoding_CanonLog, log_encoding_CanonLog2,
log_decoding_CanonLog2, log_e... | 32.111307 | 78 | 0.629931 | 2,137 | 18,175 | 5.101544 | 0.058961 | 0.072647 | 0.09246 | 0.09246 | 0.875161 | 0.851954 | 0.80022 | 0.778389 | 0.70299 | 0.630068 | 0 | 0.098124 | 0.260963 | 18,175 | 565 | 79 | 32.168142 | 0.71352 | 0.194938 | 0 | 0.616613 | 0 | 0 | 0.028372 | 0.013216 | 0 | 0 | 0 | 0 | 0.210863 | 1 | 0.076677 | false | 0 | 0.01278 | 0 | 0.108626 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bc6b7fc576c7b58bf3cccdcce9c10bcce84a8541 | 183 | py | Python | recipes/Python/523050_Reverting_Columns_2D/recipe-523050.py | tdiprima/code | 61a74f5f93da087d27c70b2efe779ac6bd2a3b4f | [
"MIT"
] | 2,023 | 2017-07-29T09:34:46.000Z | 2022-03-24T08:00:45.000Z | recipes/Python/523050_Reverting_Columns_2D/recipe-523050.py | unhacker/code | 73b09edc1b9850c557a79296655f140ce5e853db | [
"MIT"
] | 32 | 2017-09-02T17:20:08.000Z | 2022-02-11T17:49:37.000Z | recipes/Python/523050_Reverting_Columns_2D/recipe-523050.py | unhacker/code | 73b09edc1b9850c557a79296655f140ce5e853db | [
"MIT"
] | 780 | 2017-07-28T19:23:28.000Z | 2022-03-25T20:39:41.000Z | # the idiom:
def theIdiom(a2Diterable):
return zip(*reversed(zip(*a2Diterable)))
# sample use case:
def invertedDict(aDict):
return dict(zip(*reversed(zip(*aDict.items()))))
| 18.3 | 50 | 0.699454 | 23 | 183 | 5.565217 | 0.652174 | 0.171875 | 0.21875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012579 | 0.131148 | 183 | 9 | 51 | 20.333333 | 0.792453 | 0.147541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
bcb95c7d90a571c60964d0999656e2368c01bca2 | 60 | py | Python | util/django_test_utils.py | eladnoor/equilibrator | b7b7b1651aa605dd117af7654132cab5f83889da | [
"MIT"
] | 12 | 2015-08-05T16:12:29.000Z | 2021-03-05T11:57:49.000Z | util/django_test_utils.py | eladnoor/equilibrator | b7b7b1651aa605dd117af7654132cab5f83889da | [
"MIT"
] | 48 | 2016-07-07T13:10:22.000Z | 2018-05-30T21:38:03.000Z | util/django_test_utils.py | eladnoor/equilibrator | b7b7b1651aa605dd117af7654132cab5f83889da | [
"MIT"
] | 4 | 2016-01-21T10:45:25.000Z | 2017-12-14T14:45:18.000Z | from util import django_utils
import django
django.setup()
| 12 | 29 | 0.816667 | 9 | 60 | 5.333333 | 0.666667 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 60 | 4 | 30 | 15 | 0.923077 | 0 | 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 | 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 | 6 |
bcce4e7513c1757f63a457a22670acc51cb8f03a | 85 | py | Python | electricityLoadForecasting/preprocessing/eCO2mix/__init__.py | BCD65/electricityLoadForecasting | 07a6ed060afaf7cc2906c0389b5c9e9b0fede193 | [
"MIT"
] | null | null | null | electricityLoadForecasting/preprocessing/eCO2mix/__init__.py | BCD65/electricityLoadForecasting | 07a6ed060afaf7cc2906c0389b5c9e9b0fede193 | [
"MIT"
] | null | null | null | electricityLoadForecasting/preprocessing/eCO2mix/__init__.py | BCD65/electricityLoadForecasting | 07a6ed060afaf7cc2906c0389b5c9e9b0fede193 | [
"MIT"
] | null | null | null |
from . import config
from . import process
from . import etc
from .main import main | 14.166667 | 22 | 0.752941 | 13 | 85 | 4.923077 | 0.461538 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 85 | 6 | 22 | 14.166667 | 0.941176 | 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 | 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 | 6 |
bcd329b71e3bb1687d0f928101cacc55603f12d8 | 1,384 | py | Python | gis4wrf/core/__init__.py | mostamndi/gis4wrf | 93eb69e5f2e87e9805dcaf8fee05db0228fd81c4 | [
"MIT"
] | 1 | 2018-09-09T16:40:18.000Z | 2018-09-09T16:40:18.000Z | gis4wrf/core/__init__.py | mostamndi/gis4wrf | 93eb69e5f2e87e9805dcaf8fee05db0228fd81c4 | [
"MIT"
] | null | null | null | gis4wrf/core/__init__.py | mostamndi/gis4wrf | 93eb69e5f2e87e9805dcaf8fee05db0228fd81c4 | [
"MIT"
] | null | null | null | # GIS4WRF (https://doi.org/10.5281/zenodo.1288569)
# Copyright (c) 2018 D. Meyer and M. Riechert. Licensed under MIT.
from gis4wrf.core.constants import *
from gis4wrf.core.downloaders.datasets import *
from gis4wrf.core.downloaders.dist import *
from gis4wrf.core.downloaders.geo import *
from gis4wrf.core.downloaders... | 46.133333 | 67 | 0.828757 | 200 | 1,384 | 5.585 | 0.26 | 0.256043 | 0.34915 | 0.470009 | 0.698299 | 0.310654 | 0.150403 | 0.078782 | 0 | 0 | 0 | 0.03481 | 0.086705 | 1,384 | 29 | 68 | 47.724138 | 0.848892 | 0.081647 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bcef1a7d892296bdfc69bb0df39ae94ca1649936 | 2,587 | py | Python | tests/01-numpy_arrays/003-ndim_attr/test_ndim_attr.py | nandub/nim-pymod | 3e4c49afdfdab2c3325588b6b823c102f22fc588 | [
"MIT"
] | 256 | 2015-11-12T09:25:21.000Z | 2022-02-11T01:59:34.000Z | tests/01-numpy_arrays/003-ndim_attr/test_ndim_attr.py | nandub/nim-pymod | 3e4c49afdfdab2c3325588b6b823c102f22fc588 | [
"MIT"
] | 11 | 2015-11-12T22:48:14.000Z | 2019-03-30T07:44:32.000Z | tests/01-numpy_arrays/003-ndim_attr/test_ndim_attr.py | nandub/nim-pymod | 3e4c49afdfdab2c3325588b6b823c102f22fc588 | [
"MIT"
] | 12 | 2015-11-12T22:28:24.000Z | 2019-01-08T02:15:26.000Z | import array_utils
import numpy
import pytest
def test_0_compile_pymod_test_mod(pmgen_py_compile):
pmgen_py_compile(__name__)
@pytest.mark.parametrize("array_shape", array_utils.all_small_array_shapes)
@pytest.mark.parametrize("input_type", array_utils.all_supported_numpy_types)
def test_returnNdAttr(pymod_... | 34.493333 | 94 | 0.779281 | 382 | 2,587 | 4.861257 | 0.109948 | 0.077544 | 0.103393 | 0.091546 | 0.885299 | 0.849758 | 0.791599 | 0.791599 | 0.791599 | 0.791599 | 0 | 0.006236 | 0.132199 | 2,587 | 74 | 95 | 34.959459 | 0.820935 | 0 | 0 | 0.686275 | 0 | 0 | 0.023589 | 0 | 0 | 0 | 0 | 0 | 0.392157 | 1 | 0.117647 | false | 0 | 0.058824 | 0 | 0.176471 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4c43f29c4540431534771e398bbe0935c259492b | 2,811 | py | Python | tests/test_time.py | evgeni/voltverine | d408cd7e515adeab605253eb9f56e46984fce1ab | [
"MIT"
] | null | null | null | tests/test_time.py | evgeni/voltverine | d408cd7e515adeab605253eb9f56e46984fce1ab | [
"MIT"
] | null | null | null | tests/test_time.py | evgeni/voltverine | d408cd7e515adeab605253eb9f56e46984fce1ab | [
"MIT"
] | null | null | null | import unittest
import sys
import os
import datetime
try:
from unittest import mock
except:
import mock
import voltverine.plugins
class TestTime(unittest.TestCase):
def test_no_time_provided(self):
voltverine_plugin = voltverine.plugins.Time()
(action, info) = voltverine_plugin.analyze()... | 42.590909 | 100 | 0.644966 | 327 | 2,811 | 5.415902 | 0.198777 | 0.124788 | 0.088086 | 0.111801 | 0.851496 | 0.851496 | 0.849238 | 0.844156 | 0.773574 | 0.773574 | 0 | 0.031464 | 0.219851 | 2,811 | 65 | 101 | 43.246154 | 0.776106 | 0.008182 | 0 | 0.62963 | 0 | 0 | 0.045585 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.111111 | false | 0 | 0.12963 | 0 | 0.259259 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4c518a7addcc9f113cabe55cd1ce3010205ca09f | 34 | py | Python | src/about/models/__init__.py | Evgen1177/alco | 04c2b41a8c570e505c44bd5b08895e9be9d10d8d | [
"Apache-2.0"
] | null | null | null | src/about/models/__init__.py | Evgen1177/alco | 04c2b41a8c570e505c44bd5b08895e9be9d10d8d | [
"Apache-2.0"
] | 7 | 2020-06-06T00:08:48.000Z | 2022-02-10T11:23:44.000Z | src/about/models/__init__.py | Evgen1177/alco | 04c2b41a8c570e505c44bd5b08895e9be9d10d8d | [
"Apache-2.0"
] | null | null | null | from .technology import Technology | 34 | 34 | 0.882353 | 4 | 34 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d5c00d5dda6f43a2b465cae407a5c7e44f4477f1 | 179 | py | Python | python/vital/tests/__init__.py | mwoehlke-kitware/kwiver | 614a488bd2b7fe551ac75eec979766d882709791 | [
"BSD-3-Clause"
] | 176 | 2015-07-31T23:33:37.000Z | 2022-03-21T23:42:44.000Z | python/vital/tests/__init__.py | mwoehlke-kitware/kwiver | 614a488bd2b7fe551ac75eec979766d882709791 | [
"BSD-3-Clause"
] | 1,276 | 2015-05-03T01:21:27.000Z | 2022-03-31T15:32:20.000Z | python/vital/tests/__init__.py | mwoehlke-kitware/kwiver | 614a488bd2b7fe551ac75eec979766d882709791 | [
"BSD-3-Clause"
] | 85 | 2015-01-25T05:13:38.000Z | 2022-01-14T14:59:37.000Z | import warnings
warnings.warn(
'`import vital.tests` is deprecated, use import kwiver.vital.tests instead',
DeprecationWarning
)
from kwiver.vital.tests import * # NOQA
| 22.375 | 80 | 0.748603 | 22 | 179 | 6.090909 | 0.590909 | 0.223881 | 0.238806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162011 | 179 | 7 | 81 | 25.571429 | 0.893333 | 0.022346 | 0 | 0 | 0 | 0 | 0.421965 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 0 | 6 |
d5cf66a4c11c850309a27e576cfeb81ff7ef4c8d | 40 | py | Python | dataset/__init__.py | oisc/ChineseDiscourseParser | 1363716cc5caa9e9a82987f2ce76fc8b07b4cdfa | [
"Apache-2.0"
] | 13 | 2019-04-24T11:41:26.000Z | 2022-03-23T03:09:00.000Z | dataset/__init__.py | oisc/ChineseDiscourseParser | 1363716cc5caa9e9a82987f2ce76fc8b07b4cdfa | [
"Apache-2.0"
] | 2 | 2020-04-28T10:22:20.000Z | 2021-01-07T06:28:00.000Z | dataset/__init__.py | oisc/ChineseDiscourseParser | 1363716cc5caa9e9a82987f2ce76fc8b07b4cdfa | [
"Apache-2.0"
] | 5 | 2019-04-24T11:42:01.000Z | 2022-03-27T11:47:31.000Z | # coding: UTF-8
from .cdtb import CDTB
| 10 | 22 | 0.7 | 7 | 40 | 4 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.2 | 40 | 3 | 23 | 13.333333 | 0.84375 | 0.325 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
91028119ca35acf13846d5eac098afbda3b244ae | 7,468 | py | Python | tests/llvm/test_builtins_matrix.py | SamKG/PsyNeuLink | 70558bcd870868e1688cb7a7c424d29ca336f2df | [
"Apache-2.0"
] | null | null | null | tests/llvm/test_builtins_matrix.py | SamKG/PsyNeuLink | 70558bcd870868e1688cb7a7c424d29ca336f2df | [
"Apache-2.0"
] | 77 | 2020-10-01T06:27:19.000Z | 2022-03-31T02:03:33.000Z | tests/llvm/test_builtins_matrix.py | SamKG/PsyNeuLink | 70558bcd870868e1688cb7a7c424d29ca336f2df | [
"Apache-2.0"
] | null | null | null | import ctypes
import numpy as np
import pytest
from psyneulink.core import llvm as pnlvm
from llvmlite import ir
DIM_X = 1000
DIM_Y = 2000
u = np.random.rand(DIM_X, DIM_Y)
v = np.random.rand(DIM_X, DIM_Y)
vector = np.random.rand(DIM_X)
trans_vector = np.random.rand(DIM_Y)
scalar = np.random.rand()
llvm_mat_res = n... | 37.154229 | 97 | 0.686797 | 1,107 | 7,468 | 4.31346 | 0.102078 | 0.058639 | 0.039791 | 0.050262 | 0.872461 | 0.848377 | 0.823037 | 0.784921 | 0.767539 | 0.721885 | 0 | 0.004959 | 0.189877 | 7,468 | 200 | 98 | 37.34 | 0.784298 | 0.013792 | 0 | 0.540881 | 0 | 0 | 0.060462 | 0.028397 | 0 | 0 | 0 | 0 | 0.062893 | 1 | 0.062893 | false | 0 | 0.056604 | 0 | 0.119497 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
912bf3e8870ae4b2fb4dc2afcad843c179917a8f | 35 | py | Python | nicaviz/processsing/__init__.py | nicapotato/nicaviz | e9aaed3559631b98e406ca1e44fcb45ad09c4b9e | [
"MIT"
] | null | null | null | nicaviz/processsing/__init__.py | nicapotato/nicaviz | e9aaed3559631b98e406ca1e44fcb45ad09c4b9e | [
"MIT"
] | null | null | null | nicaviz/processsing/__init__.py | nicapotato/nicaviz | e9aaed3559631b98e406ca1e44fcb45ad09c4b9e | [
"MIT"
] | null | null | null | from .nlp import meta_text_features | 35 | 35 | 0.885714 | 6 | 35 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e6987ba590e9ca2785865f5c46f8bccad85b1e9c | 7,197 | py | Python | bot.py | plasticsummer/EchoToAll-bot | 619bcf01463139a8eddd4fdf7b57f424daac3851 | [
"Apache-2.0"
] | null | null | null | bot.py | plasticsummer/EchoToAll-bot | 619bcf01463139a8eddd4fdf7b57f424daac3851 | [
"Apache-2.0"
] | null | null | null | bot.py | plasticsummer/EchoToAll-bot | 619bcf01463139a8eddd4fdf7b57f424daac3851 | [
"Apache-2.0"
] | null | null | null | # plastisummer (c)
from aiogram import Bot, types
from aiogram.dispatcher import Dispatcher
from aiogram.utils import executor
from config import TOKEN
from data import datab as db
bot = Bot(token=TOKEN, parse_mode=types.ParseMode.HTML)
dp = Dispatcher(bot)
async def on_startup(_):
print('Бот онлайн')
db.sq... | 35.628713 | 108 | 0.597332 | 1,059 | 7,197 | 3.935788 | 0.107649 | 0.019194 | 0.097649 | 0.06238 | 0.771113 | 0.759117 | 0.759117 | 0.75024 | 0.75024 | 0.733445 | 0 | 0.012236 | 0.261915 | 7,197 | 201 | 109 | 35.80597 | 0.772402 | 0.002223 | 0 | 0.72619 | 0 | 0 | 0.16395 | 0.028277 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.029762 | 0 | 0.029762 | 0.14881 | 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 | 0 | 0 | 0 | 0 | 0 | 6 |
fc53b2644cc25eea83e58597815772a5bb657263 | 6,988 | py | Python | seq2seq_construction/dart.py | HKUNLP/UnifiedSKG | 49a2ff950bb312b980c22ad72b11520db72ab6a3 | [
"Apache-2.0"
] | 191 | 2021-12-14T11:33:09.000Z | 2022-03-31T09:20:41.000Z | seq2seq_construction/dart.py | HKUNLP/UnifiedSKG | 49a2ff950bb312b980c22ad72b11520db72ab6a3 | [
"Apache-2.0"
] | 7 | 2022-01-20T05:41:51.000Z | 2022-03-20T06:43:22.000Z | seq2seq_construction/dart.py | HKUNLP/UnifiedSKG | 49a2ff950bb312b980c22ad72b11520db72ab6a3 | [
"Apache-2.0"
] | 22 | 2021-12-14T12:59:42.000Z | 2022-03-29T03:45:51.000Z | import os
import torch
from datasets import DatasetDict
from torch.utils.data import Dataset
from torch.utils.data.dataset import T_co
from tqdm import tqdm
class Constructor(object):
def __init__(self, args):
self.args = args
def to_seq2seq(self, raw_datasets: DatasetDict, cache_root: str):
i... | 39.704545 | 124 | 0.575701 | 842 | 6,988 | 4.472684 | 0.154394 | 0.116835 | 0.078864 | 0.066915 | 0.700212 | 0.700212 | 0.700212 | 0.700212 | 0.700212 | 0.691184 | 0 | 0.001471 | 0.318832 | 6,988 | 175 | 125 | 39.931429 | 0.789706 | 0 | 0 | 0.76378 | 0 | 0 | 0.055717 | 0 | 0 | 0 | 0 | 0 | 0.007874 | 1 | 0.086614 | false | 0 | 0.047244 | 0.023622 | 0.220472 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fc566fb86201980a19cff74a95e482afcd447e52 | 28,851 | py | Python | tests/evolver_test.py | tkchafin/pyvolve | 11605523129ffcbdd251492a62a79f146d5bdd9e | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | tests/evolver_test.py | tkchafin/pyvolve | 11605523129ffcbdd251492a62a79f146d5bdd9e | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | tests/evolver_test.py | tkchafin/pyvolve | 11605523129ffcbdd251492a62a79f146d5bdd9e | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | #! /usr/bin/env python
##############################################################################
## pyvolve: Python platform for simulating evolutionary sequences.
##
## Written by Stephanie J. Spielman (stephanie.spielman@gmail.com)
#############################################################################... | 39.904564 | 325 | 0.608818 | 3,602 | 28,851 | 4.788173 | 0.092449 | 0.033803 | 0.045341 | 0.029222 | 0.802806 | 0.76825 | 0.746913 | 0.72459 | 0.702151 | 0.683307 | 0 | 0.032367 | 0.264324 | 28,851 | 723 | 326 | 39.904564 | 0.780212 | 0.177706 | 0 | 0.520249 | 0 | 0.049844 | 0.24669 | 0.055868 | 0 | 0 | 0 | 0 | 0.174455 | 1 | 0.143302 | false | 0 | 0.012461 | 0 | 0.186916 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fc695f5705535aba3d60f25ab5db52ee7b826905 | 35 | py | Python | utils/hdm05/__init__.py | MagnusAagaard/pb-gcn | fe5a92ae87ff0695a6fc91cf5ff07c1f02c00fe6 | [
"MIT"
] | 32 | 2019-06-12T02:29:14.000Z | 2022-01-03T09:29:27.000Z | utils/hdm05/__init__.py | MagnusAagaard/pb-gcn | fe5a92ae87ff0695a6fc91cf5ff07c1f02c00fe6 | [
"MIT"
] | 12 | 2019-06-17T06:44:30.000Z | 2022-01-13T01:19:34.000Z | utility/hdm05/__init__.py | TYSSSY/Apb-gcn | b7c9324d3ef3baafa2fe85d57fc1f81f24e0b1e7 | [
"MIT"
] | 8 | 2019-06-13T09:53:52.000Z | 2021-06-30T07:33:14.000Z | from .prepare_hdm05 import gendata
| 17.5 | 34 | 0.857143 | 5 | 35 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0.114286 | 35 | 1 | 35 | 35 | 0.870968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5d8bcce3fe2a94e0f3944b3131d79aa4e943e481 | 141 | py | Python | src/libs/django/views/api/exceptions.py | tabetaku/roots | 8a9f91b8b0e0b64a85db2898a537b12be65de753 | [
"MIT"
] | null | null | null | src/libs/django/views/api/exceptions.py | tabetaku/roots | 8a9f91b8b0e0b64a85db2898a537b12be65de753 | [
"MIT"
] | 13 | 2020-06-06T00:21:58.000Z | 2022-02-26T19:43:52.000Z | src/libs/django/views/api/exceptions.py | tabetaku/roots | 8a9f91b8b0e0b64a85db2898a537b12be65de753 | [
"MIT"
] | null | null | null | from libs.base.exceptions import ErrorException
class UseReservedWordException(ErrorException):
# '데이터 필드명 중 예약어가 포함되어 있습니다.'
pass
| 20.142857 | 47 | 0.765957 | 16 | 141 | 6.75 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 141 | 6 | 48 | 23.5 | 0.923077 | 0.191489 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
5d99b09fb223712d998247d0570317073cf80748 | 124 | py | Python | sql_util/utils.py | tfh-galbraith/django-sql-utils | 16827213aa3ef43e630f0fd79de5cc6a4d44366c | [
"MIT"
] | 82 | 2019-04-02T17:42:29.000Z | 2022-01-20T20:32:58.000Z | sql_util/utils.py | tfh-galbraith/django-sql-utils | 16827213aa3ef43e630f0fd79de5cc6a4d44366c | [
"MIT"
] | 9 | 2019-06-19T15:23:41.000Z | 2020-03-04T16:40:26.000Z | sql_util/utils.py | tfh-galbraith/django-sql-utils | 16827213aa3ef43e630f0fd79de5cc6a4d44366c | [
"MIT"
] | 10 | 2019-08-24T20:25:39.000Z | 2022-01-10T12:56:53.000Z | from sql_util.aggregates import SubqueryAggregate, SubqueryCount, SubqueryAvg, SubqueryMax, SubqueryMin, SubquerySum, Exists | 124 | 124 | 0.870968 | 12 | 124 | 8.916667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072581 | 124 | 1 | 124 | 124 | 0.930435 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5da05c7da6852b642cf9f060d47971a03fa7272c | 46 | py | Python | src/bibtefmt/__init__.py | tomokinakamaru/bibtefmt | be00d47e8673f9fb46e88d9c722bbfab4995746c | [
"MIT"
] | null | null | null | src/bibtefmt/__init__.py | tomokinakamaru/bibtefmt | be00d47e8673f9fb46e88d9c722bbfab4995746c | [
"MIT"
] | 1 | 2020-05-29T03:56:25.000Z | 2020-05-29T03:56:25.000Z | src/bibtefmt/__init__.py | tomokinakamaru/bibtefmt | be00d47e8673f9fb46e88d9c722bbfab4995746c | [
"MIT"
] | null | null | null | # flake8: noqa
from .bibtefmt import bibtefmt
| 15.333333 | 30 | 0.782609 | 6 | 46 | 6 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.152174 | 46 | 2 | 31 | 23 | 0.897436 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5da7343e657ec257824ccbec89ef15310075f4e1 | 3,720 | py | Python | extensions/.stubs/clrclasses/System/Net/NetworkInformation/__init__.py | vicwjb/Pycad | 7391cd694b7a91ad9f9964ec95833c1081bc1f84 | [
"MIT"
] | 1 | 2020-03-25T03:27:24.000Z | 2020-03-25T03:27:24.000Z | extensions/.stubs/clrclasses/System/Net/NetworkInformation/__init__.py | vicwjb/Pycad | 7391cd694b7a91ad9f9964ec95833c1081bc1f84 | [
"MIT"
] | null | null | null | extensions/.stubs/clrclasses/System/Net/NetworkInformation/__init__.py | vicwjb/Pycad | 7391cd694b7a91ad9f9964ec95833c1081bc1f84 | [
"MIT"
] | null | null | null | from __clrclasses__.System.Net.NetworkInformation import DuplicateAddressDetectionState
from __clrclasses__.System.Net.NetworkInformation import GatewayIPAddressInformation
from __clrclasses__.System.Net.NetworkInformation import GatewayIPAddressInformationCollection
from __clrclasses__.System.Net.NetworkInformation im... | 77.5 | 96 | 0.911559 | 329 | 3,720 | 9.735562 | 0.161094 | 0.205432 | 0.293475 | 0.337496 | 0.689666 | 0.689666 | 0 | 0 | 0 | 0 | 0 | 0.001416 | 0.050538 | 3,720 | 47 | 97 | 79.148936 | 0.905436 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5dd90b9cf753dd8218684bac4d24fb3474b23f93 | 3,715 | py | Python | EasyRecycle/tests/unittests/authentication/views/test_RegisterUserAPIView.py | YuriyLisovskiy/EasyRecycle | 49f1b84931145a3e95224e411d22ed7701e5bfe0 | [
"MIT"
] | null | null | null | EasyRecycle/tests/unittests/authentication/views/test_RegisterUserAPIView.py | YuriyLisovskiy/EasyRecycle | 49f1b84931145a3e95224e411d22ed7701e5bfe0 | [
"MIT"
] | null | null | null | EasyRecycle/tests/unittests/authentication/views/test_RegisterUserAPIView.py | YuriyLisovskiy/EasyRecycle | 49f1b84931145a3e95224e411d22ed7701e5bfe0 | [
"MIT"
] | null | null | null | from django.urls import reverse
from rest_framework import status
from rest_framework_simplejwt.state import User
from authentication.views import RegisterUserAPIView
from tests.unittests.common import APIFactoryTestCase
class RegisterUserAPITestCase(APIFactoryTestCase):
def setUp(self) -> None:
super(RegisterUse... | 43.705882 | 80 | 0.746972 | 438 | 3,715 | 6.125571 | 0.155251 | 0.077898 | 0.059635 | 0.085725 | 0.789788 | 0.789788 | 0.789788 | 0.789788 | 0.789788 | 0.789788 | 0 | 0.013259 | 0.127052 | 3,715 | 84 | 81 | 44.22619 | 0.814061 | 0.118439 | 0 | 0.596774 | 0 | 0 | 0.192096 | 0.082721 | 0 | 0 | 0 | 0 | 0.16129 | 1 | 0.16129 | false | 0.145161 | 0.080645 | 0 | 0.258065 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
5de15f088ce60fa2b7cefc4381a1d9a304ddd158 | 553 | py | Python | quadruped_gym/quadruped/a1_pybullet/__init__.py | dtch1997/quadruped-gym | e3a3709b8bbcedd75ec6716187a2bd0a55599c5e | [
"MIT"
] | 5 | 2022-01-12T14:59:23.000Z | 2022-01-21T09:01:47.000Z | quadruped_gym/quadruped/a1_pybullet/__init__.py | dtch1997/quadruped-gym | e3a3709b8bbcedd75ec6716187a2bd0a55599c5e | [
"MIT"
] | null | null | null | quadruped_gym/quadruped/a1_pybullet/__init__.py | dtch1997/quadruped-gym | e3a3709b8bbcedd75ec6716187a2bd0a55599c5e | [
"MIT"
] | null | null | null | from quadruped_gym.quadruped.a1_pybullet.actuator import Actuator as A1PyBulletActuator
from quadruped_gym.quadruped.a1_pybullet.perceptor import Perceptor as A1PyBulletPerceptor
from quadruped_gym.quadruped.a1_pybullet.perceptor import RobotObservation as A1PyBulletRobotObservation
from quadruped_gym.quadruped.a1_pybu... | 79 | 104 | 0.902351 | 66 | 553 | 7.378788 | 0.287879 | 0.160164 | 0.197125 | 0.308008 | 0.537988 | 0.537988 | 0.394251 | 0.394251 | 0 | 0 | 0 | 0.023211 | 0.065099 | 553 | 6 | 105 | 92.166667 | 0.918762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 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 | 6 |
5dfc694a0df34e3986f1f6892f777b80997a9b00 | 3,514 | py | Python | SVM_main.py | XiaofanWang1010/FashionMNIST-image-classification | 0e5687c32fde1fdb512959a0ed9e516b7d0eab90 | [
"MIT"
] | 5 | 2020-12-05T07:16:29.000Z | 2021-11-28T22:49:39.000Z | SVM_main.py | XiaofanWang1010/FashionMNIST-image-classification | 0e5687c32fde1fdb512959a0ed9e516b7d0eab90 | [
"MIT"
] | null | null | null | SVM_main.py | XiaofanWang1010/FashionMNIST-image-classification | 0e5687c32fde1fdb512959a0ed9e516b7d0eab90 | [
"MIT"
] | 2 | 2020-07-20T20:39:58.000Z | 2020-11-27T14:39:06.000Z | from sklearn import svm
import time
import utils.mnist_reader
import include.pca_reduction
import include.lda_reduction
import include.test_accuracy
def main():
train_image, train_label = utils.mnist_reader.load_mnist('data/fashion', kind='train')
test_image, test_label = utils.mnist_reader.load_mnist('data/f... | 42.337349 | 99 | 0.713147 | 517 | 3,514 | 4.512573 | 0.092843 | 0.051436 | 0.073296 | 0.068581 | 0.851264 | 0.851264 | 0.835834 | 0.835834 | 0.835834 | 0.797257 | 0 | 0.000675 | 0.156517 | 3,514 | 82 | 100 | 42.853659 | 0.786437 | 0 | 0 | 0.571429 | 0 | 0 | 0.178714 | 0.017075 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014286 | false | 0 | 0.085714 | 0 | 0.1 | 0.3 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5d5f56e42cc7ebaa2d3a5de3e4b8df8de8020729 | 7,821 | py | Python | migrations/versions/c5e276c0d67f_.py | isabella232/comport | 117123862415261095a917ed7f2037c1f986b474 | [
"BSD-3-Clause"
] | 35 | 2015-11-14T18:32:45.000Z | 2022-01-23T15:15:05.000Z | migrations/versions/c5e276c0d67f_.py | codeforamerica/comport | 117123862415261095a917ed7f2037c1f986b474 | [
"BSD-3-Clause"
] | 119 | 2015-11-20T22:45:34.000Z | 2022-02-10T23:02:36.000Z | migrations/versions/c5e276c0d67f_.py | isabella232/comport | 117123862415261095a917ed7f2037c1f986b474 | [
"BSD-3-Clause"
] | 19 | 2015-11-20T20:41:52.000Z | 2022-01-26T04:12:34.000Z | """Adds SRPD and four datasets
Revision ID: c5e276c0d67f
Revises: 77ad8047becf
Create Date: 2017-01-20 03:58:12.333638
"""
# revision identifiers, used by Alembic.
revision = 'c5e276c0d67f'
down_revision = '77ad8047becf'
from alembic import op
import sqlalchemy as sa
def upgrade():
op.create_table(
'u... | 56.266187 | 121 | 0.66769 | 1,001 | 7,821 | 5.096903 | 0.12987 | 0.145825 | 0.219522 | 0.297922 | 0.858291 | 0.844767 | 0.815759 | 0.75637 | 0.660133 | 0.575657 | 0 | 0.035307 | 0.159826 | 7,821 | 138 | 122 | 56.673913 | 0.741135 | 0.019946 | 0 | 0.483871 | 0 | 0 | 0.193679 | 0.027034 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016129 | false | 0 | 0.016129 | 0 | 0.032258 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5d695b8ea2bc7a5a6d3183486c912fff02023db5 | 24 | py | Python | Class B/3._World_wide_express/dinosaurs/yes.py | Mick3460/4semester | 67fb0a3b2bf7338e0822f6584211230404154bc0 | [
"MIT"
] | null | null | null | Class B/3._World_wide_express/dinosaurs/yes.py | Mick3460/4semester | 67fb0a3b2bf7338e0822f6584211230404154bc0 | [
"MIT"
] | null | null | null | Class B/3._World_wide_express/dinosaurs/yes.py | Mick3460/4semester | 67fb0a3b2bf7338e0822f6584211230404154bc0 | [
"MIT"
] | null | null | null |
a, *_ = ("A","B","C")
| 6 | 21 | 0.208333 | 4 | 24 | 1 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 24 | 3 | 22 | 8 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
53701f99ee5293377e91ef6021bc5f8542bbc5cd | 90 | py | Python | ants/selector/__init__.py | wcong/scale-crawl | 52918d18c94a9a69c3b2495286e3384ba57ad6f8 | [
"BSD-3-Clause"
] | 18 | 2015-01-16T02:25:03.000Z | 2018-11-18T03:47:07.000Z | ants/selector/__init__.py | wcong/ants | 52918d18c94a9a69c3b2495286e3384ba57ad6f8 | [
"BSD-3-Clause"
] | 15 | 2015-01-12T02:28:23.000Z | 2015-02-03T03:41:07.000Z | ants/selector/__init__.py | wcong/scale-crawl | 52918d18c94a9a69c3b2495286e3384ba57ad6f8 | [
"BSD-3-Clause"
] | 5 | 2015-01-22T12:38:38.000Z | 2019-06-07T14:35:07.000Z | """
Selectors
"""
from ants.selector.unified import *
from ants.selector.lxmlsel import *
| 15 | 35 | 0.744444 | 11 | 90 | 6.090909 | 0.636364 | 0.238806 | 0.477612 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122222 | 90 | 5 | 36 | 18 | 0.848101 | 0.1 | 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 | 0 | 0 | 0 | 6 |
54d2bb8d5297e8c499b209d02368c6b854a09e23 | 300 | py | Python | hyperbox/datamodules/__init__.py | marsggbo/hyperbox | 91dcd04ad30164bcb12209d818df18961fa3f347 | [
"MIT"
] | 1 | 2022-01-17T00:34:14.000Z | 2022-01-17T00:34:14.000Z | hyperbox/datamodules/__init__.py | marsggbo/hyperbox | 91dcd04ad30164bcb12209d818df18961fa3f347 | [
"MIT"
] | null | null | null | hyperbox/datamodules/__init__.py | marsggbo/hyperbox | 91dcd04ad30164bcb12209d818df18961fa3f347 | [
"MIT"
] | null | null | null | from hyperbox.utils.utils import _module_available
from .cifar_datamodule import *
from .fakedata_datamodule import *
from .mnist_datamodule import *
if _module_available("medmnist"):
from .medmnist_datamodule import *
if _module_available("nvidia.dali"):
from .imagenet_datamodule import *
| 30 | 50 | 0.8 | 36 | 300 | 6.361111 | 0.416667 | 0.349345 | 0.174672 | 0.209607 | 0.28821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123333 | 300 | 9 | 51 | 33.333333 | 0.870722 | 0 | 0 | 0 | 0 | 0 | 0.063333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 0 | 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 | 6 |
54d3c0b863fd42b893a1af929c2ddd1f3e3198f1 | 30,315 | py | Python | robrank/defenses/pnp.py | cdluminate/robrank | 980141400525d295ac9642cd0f978d3e9e85ab90 | [
"Apache-2.0"
] | 22 | 2021-04-13T05:39:04.000Z | 2021-12-03T07:24:40.000Z | robrank/defenses/pnp.py | cdluminate/robrank | 980141400525d295ac9642cd0f978d3e9e85ab90 | [
"Apache-2.0"
] | 12 | 2021-06-15T04:54:42.000Z | 2022-03-09T15:14:05.000Z | robrank/defenses/pnp.py | cdluminate/robrank | 980141400525d295ac9642cd0f978d3e9e85ab90 | [
"Apache-2.0"
] | 3 | 2021-04-13T05:40:48.000Z | 2021-11-14T09:00:35.000Z | '''
Copyright (C) 2019-2021, Mo Zhou <cdluminate@gmail.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | 41.756198 | 107 | 0.553027 | 3,580 | 30,315 | 4.615363 | 0.101117 | 0.015009 | 0.014525 | 0.015433 | 0.799613 | 0.786601 | 0.763723 | 0.744296 | 0.742662 | 0.729771 | 0 | 0.010959 | 0.316708 | 30,315 | 725 | 108 | 41.813793 | 0.786714 | 0.148672 | 0 | 0.80663 | 0 | 0 | 0.030914 | 0.000831 | 0 | 0 | 0 | 0 | 0.001842 | 1 | 0.022099 | false | 0 | 0.016575 | 0 | 0.062615 | 0.022099 | 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 | 0 | 0 | 0 | 0 | 0 | 6 |
54dcfc2501c7b0a5d2379bb8ce65f8bc2a512d50 | 7,326 | py | Python | CalibTracker/SiStripDCS/test/FilterTrackerOn_cfg.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | CalibTracker/SiStripDCS/test/FilterTrackerOn_cfg.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | CalibTracker/SiStripDCS/test/FilterTrackerOn_cfg.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
process = cms.Process("SynchronizeDCSO2O")
process.load("FWCore.MessageService.MessageLogger_cfi")
process.maxEvents = cms.untracked.PSet(
input = cms.untracked.int32(100)
)
process.poolDBESSource = cms.ESSource("PoolDBESSource",
BlobStreamerName = cms.untracked.strin... | 68.46729 | 139 | 0.78433 | 894 | 7,326 | 6.394855 | 0.315436 | 0.070841 | 0.220395 | 0.240686 | 0.546266 | 0.512681 | 0.512681 | 0.49379 | 0.466503 | 0.249781 | 0 | 0.219192 | 0.064019 | 7,326 | 106 | 140 | 69.113208 | 0.614554 | 0.460005 | 0 | 0 | 0 | 0.381818 | 0.697906 | 0.669816 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.018182 | 0 | 0.018182 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
072436b84b11a5bc8feec71d8b13e7d0a5ca4420 | 70 | py | Python | tests/semantic/scripts/lists.py | toddrme2178/pyccel | deec37503ab0c5d0bcca1a035f7909f7ce8ef653 | [
"MIT"
] | null | null | null | tests/semantic/scripts/lists.py | toddrme2178/pyccel | deec37503ab0c5d0bcca1a035f7909f7ce8ef653 | [
"MIT"
] | null | null | null | tests/semantic/scripts/lists.py | toddrme2178/pyccel | deec37503ab0c5d0bcca1a035f7909f7ce8ef653 | [
"MIT"
] | null | null | null | ai = [1,4,5]
bi = ai
ci = ai[1:]
ad = [1.,4.,5.]
bd = ad
cd = ad[1:]
| 8.75 | 15 | 0.4 | 18 | 70 | 1.555556 | 0.5 | 0.214286 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 0.271429 | 70 | 7 | 16 | 10 | 0.392157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 1 | 1 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
073407a49f2ee253527626af6c179423d8ed6346 | 24 | py | Python | semantic/semantic/model/__init__.py | VladimirSiv/semantic-search-system | 96b6581f191aacb1157b1408b2726e317ddc2c49 | [
"MIT"
] | 1 | 2021-07-01T08:53:46.000Z | 2021-07-01T08:53:46.000Z | semantic/semantic/model/__init__.py | VladimirSiv/semantic-search-system | 96b6581f191aacb1157b1408b2726e317ddc2c49 | [
"MIT"
] | null | null | null | semantic/semantic/model/__init__.py | VladimirSiv/semantic-search-system | 96b6581f191aacb1157b1408b2726e317ddc2c49 | [
"MIT"
] | 1 | 2021-12-29T01:18:38.000Z | 2021-12-29T01:18:38.000Z | from .model import model | 24 | 24 | 0.833333 | 4 | 24 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4afb0f799b3f7f6b1b264254bbb8b01cd29bcc34 | 179 | py | Python | pymatflow/qe/qe.py | DeqiTang/pymatflow | bd8776feb40ecef0e6704ee898d9f42ded3b0186 | [
"MIT"
] | 6 | 2020-03-06T16:13:08.000Z | 2022-03-09T07:53:34.000Z | pymatflow/qe/qe.py | DeqiTang/pymatflow | bd8776feb40ecef0e6704ee898d9f42ded3b0186 | [
"MIT"
] | 1 | 2021-10-02T02:23:08.000Z | 2021-11-08T13:29:37.000Z | pymatflow/qe/qe.py | DeqiTang/pymatflow | bd8776feb40ecef0e6704ee898d9f42ded3b0186 | [
"MIT"
] | 1 | 2021-07-10T16:28:14.000Z | 2021-07-10T16:28:14.000Z | from pymatflow.qe.pwscf import PwScf
from pymatflow.qe.dfpt import DfptRun
class Qe:
def __init__(self):
self.pwscf = PwScf()
self.dfpt = DfptRun()
| 19.888889 | 39 | 0.636872 | 23 | 179 | 4.782609 | 0.478261 | 0.236364 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.273743 | 179 | 8 | 40 | 22.375 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ab2465a5f012772400e662639d323fea1d0df0d0 | 123 | py | Python | symmys/__init__.py | klarh/symmys | 13b232a817975a15fa471879fdd8d21de783ecd6 | [
"MIT"
] | null | null | null | symmys/__init__.py | klarh/symmys | 13b232a817975a15fa471879fdd8d21de783ecd6 | [
"MIT"
] | null | null | null | symmys/__init__.py | klarh/symmys | 13b232a817975a15fa471879fdd8d21de783ecd6 | [
"MIT"
] | null | null | null | from .version import __version__
from . import layers
from . import losses
from . import optimization
from . import utils
| 17.571429 | 32 | 0.788618 | 16 | 123 | 5.8125 | 0.4375 | 0.430108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 123 | 6 | 33 | 20.5 | 0.911765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 | 6 |
db89003b99ec12c3e98914ca296176b94a85cbbc | 6,637 | py | Python | NGram/prediction_2104/smartcard_trip_reader.py | mbc96325/IOHMM-for-individual-mobility-prediction | b2d346a12b902581641a0afa8e694ee8ef158195 | [
"MIT"
] | 1 | 2021-09-02T14:16:14.000Z | 2021-09-02T14:16:14.000Z | NGram/prediction_2104/smartcard_trip_reader.py | mbc96325/IOHMM-for-individual-mobility-prediction | b2d346a12b902581641a0afa8e694ee8ef158195 | [
"MIT"
] | null | null | null | NGram/prediction_2104/smartcard_trip_reader.py | mbc96325/IOHMM-for-individual-mobility-prediction | b2d346a12b902581641a0afa8e694ee8ef158195 | [
"MIT"
] | 1 | 2021-09-20T02:59:47.000Z | 2021-09-20T02:59:47.000Z | # -*- coding: utf-8 -*-
"""
Created on Wed Apr 21 17:36:39 2021
@author: zhanzhao
"""
import csv
from trip import trip
from user import user
def stationNameDict(filepath):
rd = csv.reader(open(filepath, 'rU'), delimiter=",")
Dict = {}
for s in rd:
Dict[s[0]] = s[-1]
# Special situations
# Dict["-1"] = "Unkn... | 28.004219 | 71 | 0.679524 | 823 | 6,637 | 5.45079 | 0.190765 | 0.03745 | 0.014044 | 0.014267 | 0.816317 | 0.816317 | 0.816317 | 0.816317 | 0.816317 | 0.816317 | 0 | 0.012607 | 0.21124 | 6,637 | 237 | 72 | 28.004219 | 0.844317 | 0.268645 | 0 | 0.688742 | 0 | 0 | 0.041554 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039735 | false | 0 | 0.033113 | 0 | 0.139073 | 0.02649 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dbcc02f6ab47e8388c167df72cd287ed0c2f17bf | 45,978 | py | Python | aiqc/tests/__init__.py | aiqc/aiqc | 19c468b59fafca1036fa90d0ace50006744e5ac0 | [
"BSD-3-Clause"
] | 17 | 2021-02-07T17:46:10.000Z | 2021-04-08T04:40:46.000Z | aiqc/tests/__init__.py | aiqc/aiqc | 19c468b59fafca1036fa90d0ace50006744e5ac0 | [
"BSD-3-Clause"
] | 49 | 2021-03-19T12:51:31.000Z | 2021-04-09T01:41:38.000Z | aiqc/tests/__init__.py | aiqc/aiqc | 19c468b59fafca1036fa90d0ace50006744e5ac0 | [
"BSD-3-Clause"
] | 6 | 2021-03-01T23:14:05.000Z | 2021-04-02T23:30:44.000Z | import keras
from keras import layers
import torch
import torch.nn as nn
import torchmetrics
from sklearn.preprocessing import *
import numpy as np
import aiqc
from aiqc import *
# Still required even with `*` above.
from aiqc import datum
name = "tests"
def list_test_queues(format:str=None):
queues = [
{
... | 28.434137 | 181 | 0.715494 | 5,877 | 45,978 | 5.341501 | 0.08763 | 0.024943 | 0.017393 | 0.010767 | 0.823617 | 0.79173 | 0.770133 | 0.741144 | 0.702058 | 0.672305 | 0 | 0.014266 | 0.1447 | 45,978 | 1,616 | 182 | 28.451733 | 0.784005 | 0.088542 | 0 | 0.62217 | 0 | 0.001561 | 0.117904 | 0.008365 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032787 | false | 0 | 0.008587 | 0 | 0.074941 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
91690a8900a409c4422cb6358aa607e4be71d44c | 26 | py | Python | test2.py | LiangjunSong/Seed-Grow | eac2691cef3085bbd38b55d1d821d1c01ed552c0 | [
"MIT"
] | null | null | null | test2.py | LiangjunSong/Seed-Grow | eac2691cef3085bbd38b55d1d821d1c01ed552c0 | [
"MIT"
] | null | null | null | test2.py | LiangjunSong/Seed-Grow | eac2691cef3085bbd38b55d1d821d1c01ed552c0 | [
"MIT"
] | null | null | null | print"Hello world again!"
| 13 | 25 | 0.769231 | 4 | 26 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
917aa2590287305225790bd78e0215dbcf569e60 | 1,824 | py | Python | app_venv/Lib/site-packages/phonenumbers/data/region_KY.py | orlandofv/sianna | f07dd6dbc62a9604f31ab800e482e62f14fba766 | [
"MIT"
] | null | null | null | app_venv/Lib/site-packages/phonenumbers/data/region_KY.py | orlandofv/sianna | f07dd6dbc62a9604f31ab800e482e62f14fba766 | [
"MIT"
] | null | null | null | app_venv/Lib/site-packages/phonenumbers/data/region_KY.py | orlandofv/sianna | f07dd6dbc62a9604f31ab800e482e62f14fba766 | [
"MIT"
] | null | null | null | """Auto-generated file, do not edit by hand. KY metadata"""
from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata
PHONE_METADATA_KY = PhoneMetadata(id='KY', country_code=1, international_prefix='011',
general_desc=PhoneNumberDesc(national_number_pattern='(?:345|[58]\\d\\d|900)\\d{7}', possible_l... | 107.294118 | 352 | 0.688048 | 322 | 1,824 | 3.723602 | 0.360248 | 0.116764 | 0.169308 | 0.210175 | 0.23603 | 0.138449 | 0.138449 | 0.138449 | 0.038365 | 0 | 0 | 0.200926 | 0.05318 | 1,824 | 16 | 353 | 114 | 0.493341 | 0.029057 | 0 | 0 | 1 | 0.285714 | 0.369972 | 0.311615 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.071429 | 0 | 0.071429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
918e8289956f10fd166504696758c5edd60bbe8f | 19 | py | Python | plugins/pelican-flickr/pelican-flickr/__init__.py | mohnjahoney/website_source | edc86a869b90ae604f32e736d9d5ecd918088e6a | [
"MIT"
] | 13 | 2020-01-27T09:02:25.000Z | 2022-01-20T07:45:26.000Z | plugins/pelican-flickr/pelican-flickr/__init__.py | mohnjahoney/website_source | edc86a869b90ae604f32e736d9d5ecd918088e6a | [
"MIT"
] | 29 | 2020-03-22T06:57:57.000Z | 2022-01-24T22:46:42.000Z | plugins/pelican-flickr/pelican-flickr/__init__.py | mohnjahoney/website_source | edc86a869b90ae604f32e736d9d5ecd918088e6a | [
"MIT"
] | 6 | 2020-07-10T00:13:30.000Z | 2022-01-26T08:22:33.000Z | from main import *
| 9.5 | 18 | 0.736842 | 3 | 19 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
91bb093649033928e145a1d2c40c85632089ef59 | 307 | py | Python | python/astra/contrib/thecannon/tasks/__init__.py | sdss/astra | ef78c46a579ed0238a4486bcbb1595a22a7f2700 | [
"BSD-3-Clause"
] | 5 | 2019-08-15T23:05:17.000Z | 2022-03-14T19:26:07.000Z | python/astra/contrib/thecannon/tasks/__init__.py | sdss/astra | ef78c46a579ed0238a4486bcbb1595a22a7f2700 | [
"BSD-3-Clause"
] | 2 | 2019-04-22T17:12:50.000Z | 2020-10-30T05:05:26.000Z | python/astra/contrib/thecannon/tasks/__init__.py | sdss/astra | ef78c46a579ed0238a4486bcbb1595a22a7f2700 | [
"BSD-3-Clause"
] | null | null | null | from astra.contrib.thecannon.tasks.train import (
TrainTheCannonGivenTrainingSetTask,
TrainTheCannonGivenTrainingSetTarget
)
from astra.contrib.thecannon.tasks.sdss4 import EstimateStellarLabelsGivenSDSS4ApStarFile
from astra.contrib.thecannon.tasks.sdss5 import EstimateStellarLabelsGivenApStarFile | 51.166667 | 89 | 0.879479 | 25 | 307 | 10.8 | 0.52 | 0.1 | 0.177778 | 0.277778 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010526 | 0.071661 | 307 | 6 | 90 | 51.166667 | 0.936842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 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 | 6 |
91bf26903465512878c19a5a4c087c98fb183c3e | 38 | py | Python | cortex/data/miners/__init__.py | huanglianghua/cortex | 14d21a756fa117b19f10cb7b4b6405c5b78e63b2 | [
"MIT"
] | 8 | 2020-05-01T19:06:02.000Z | 2021-06-17T12:44:15.000Z | cortex/data/miners/__init__.py | huanglianghua/cortex | 14d21a756fa117b19f10cb7b4b6405c5b78e63b2 | [
"MIT"
] | null | null | null | cortex/data/miners/__init__.py | huanglianghua/cortex | 14d21a756fa117b19f10cb7b4b6405c5b78e63b2 | [
"MIT"
] | null | null | null | from .metric_learning_miners import *
| 19 | 37 | 0.842105 | 5 | 38 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
91e2e03ce88a5b8d8b7d2482267fee144ec6c09c | 41 | py | Python | coinmarketcap/__init__.py | nlnsaoadc/py-coinmarketcap | ca1beee578e867fdfd461d2db2dd1fd6969be937 | [
"MIT"
] | null | null | null | coinmarketcap/__init__.py | nlnsaoadc/py-coinmarketcap | ca1beee578e867fdfd461d2db2dd1fd6969be937 | [
"MIT"
] | null | null | null | coinmarketcap/__init__.py | nlnsaoadc/py-coinmarketcap | ca1beee578e867fdfd461d2db2dd1fd6969be937 | [
"MIT"
] | null | null | null | from .coinmarketcap import CoinMarketCap
| 20.5 | 40 | 0.878049 | 4 | 41 | 9 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
91ec1b25f736c6189ceedbb12e8a61de9af0409d | 25 | py | Python | 001285StepikPythonLUC/Stepik001285pythonLUCсh03p01st02TASK01_20200527.py | SafonovMikhail/python_000577 | 739f764e80f1ca354386f00b8e9db1df8c96531d | [
"Apache-2.0"
] | null | null | null | 001285StepikPythonLUC/Stepik001285pythonLUCсh03p01st02TASK01_20200527.py | SafonovMikhail/python_000577 | 739f764e80f1ca354386f00b8e9db1df8c96531d | [
"Apache-2.0"
] | null | null | null | 001285StepikPythonLUC/Stepik001285pythonLUCсh03p01st02TASK01_20200527.py | SafonovMikhail/python_000577 | 739f764e80f1ca354386f00b8e9db1df8c96531d | [
"Apache-2.0"
] | null | null | null | print(assertEqual(1+1,2)) | 25 | 25 | 0.76 | 5 | 25 | 3.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 0 | 25 | 1 | 25 | 25 | 0.64 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
5300715a8e5834e5ce0a3f5b0bff895b29506bc8 | 9,600 | py | Python | raiwidgets/tests/test_cohort.py | kkasravi/responsible-ai-toolbox | b6b3f5c0f60d5ba14300445ced4a42b68f00dfb0 | [
"MIT"
] | null | null | null | raiwidgets/tests/test_cohort.py | kkasravi/responsible-ai-toolbox | b6b3f5c0f60d5ba14300445ced4a42b68f00dfb0 | [
"MIT"
] | null | null | null | raiwidgets/tests/test_cohort.py | kkasravi/responsible-ai-toolbox | b6b3f5c0f60d5ba14300445ced4a42b68f00dfb0 | [
"MIT"
] | null | null | null | # Copyright (c) Microsoft Corporation
# Licensed under the MIT License.
import json
import pytest
from raiwidgets._cohort import (Cohort, CohortFilter, CohortFilterMethods,
cohort_filter_json_converter)
from responsibleai.exceptions import UserConfigValidationException
class TestCoh... | 41.558442 | 79 | 0.5975 | 1,029 | 9,600 | 5.312925 | 0.090379 | 0.066581 | 0.069142 | 0.0878 | 0.855862 | 0.809036 | 0.796598 | 0.736053 | 0.707701 | 0.68191 | 0 | 0.014284 | 0.329063 | 9,600 | 230 | 80 | 41.73913 | 0.834498 | 0.006979 | 0 | 0.671717 | 0 | 0 | 0.113956 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 1 | 0.075758 | false | 0 | 0.020202 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7258d37cb9e14aa4daec6bfd853c0b4f1a704ad3 | 56,836 | py | Python | src/the_tale/the_tale/game/quests/tests/test_prototypes.py | devapromix/the-tale | 2a10efd3270734f8cf482b4cfbc5353ef8f0494c | [
"BSD-3-Clause"
] | 1 | 2020-04-02T11:51:20.000Z | 2020-04-02T11:51:20.000Z | src/the_tale/the_tale/game/quests/tests/test_prototypes.py | devapromix/the-tale | 2a10efd3270734f8cf482b4cfbc5353ef8f0494c | [
"BSD-3-Clause"
] | null | null | null | src/the_tale/the_tale/game/quests/tests/test_prototypes.py | devapromix/the-tale | 2a10efd3270734f8cf482b4cfbc5353ef8f0494c | [
"BSD-3-Clause"
] | null | null | null |
import smart_imports
smart_imports.all()
TEST_FREEDOM = float(666)
class PrototypeTestsBase(utils_testcase.TestCase):
def setUp(self):
super(PrototypeTestsBase, self).setUp()
game_turn.increment()
game_tt_services.debug_clear_service()
self.place_1, self.place_2, self.place_... | 51.575318 | 195 | 0.728887 | 7,635 | 56,836 | 5.092731 | 0.049378 | 0.03868 | 0.02649 | 0.026593 | 0.880539 | 0.847208 | 0.814083 | 0.778309 | 0.75722 | 0.74521 | 0 | 0.013101 | 0.17137 | 56,836 | 1,101 | 196 | 51.622162 | 0.812511 | 0.006879 | 0 | 0.54212 | 0 | 0 | 0.054176 | 0.04512 | 0 | 0 | 0 | 0 | 0.197011 | 1 | 0.150815 | false | 0 | 0.002717 | 0 | 0.164402 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
72818693202d4840d235afd75494342f07378cb5 | 149 | py | Python | src/releasely/compat.py | gordonfierce/releasely | 2dfa84f3eef7f17675a45d87318e1ef15088295b | [
"MIT"
] | 1 | 2020-09-21T17:04:27.000Z | 2020-09-21T17:04:27.000Z | src/releasely/compat.py | gordonfierce/releasely | 2dfa84f3eef7f17675a45d87318e1ef15088295b | [
"MIT"
] | 2 | 2020-09-16T00:24:55.000Z | 2021-12-16T16:57:24.000Z | src/releasely/compat.py | gordonfierce/releasely | 2dfa84f3eef7f17675a45d87318e1ef15088295b | [
"MIT"
] | 1 | 2021-12-16T16:49:20.000Z | 2021-12-16T16:49:20.000Z | try:
from pip._vendor import pytoml
toml_load = pytoml.load
except ImportError:
from pip._vendor import toml
toml_load = toml.load
| 16.555556 | 34 | 0.711409 | 21 | 149 | 4.857143 | 0.47619 | 0.235294 | 0.254902 | 0.372549 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.234899 | 149 | 8 | 35 | 18.625 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
72b69cd2d8dc83c0b8f272d70418c13ad5cc54a8 | 146,577 | py | Python | protos/gen/python/protos/public/modeldb/versioning/VersioningService_pb2.py | alexandermiller702/modeldb | de793c46cd13db78bf250658252e6a2cd883885e | [
"Apache-2.0"
] | null | null | null | protos/gen/python/protos/public/modeldb/versioning/VersioningService_pb2.py | alexandermiller702/modeldb | de793c46cd13db78bf250658252e6a2cd883885e | [
"Apache-2.0"
] | 1 | 2022-02-16T01:17:19.000Z | 2022-02-16T01:17:19.000Z | protos/gen/python/protos/public/modeldb/versioning/VersioningService_pb2.py | alexandermiller702/modeldb | de793c46cd13db78bf250658252e6a2cd883885e | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: protos/public/modeldb/versioning/VersioningService.proto
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.p... | 46.385127 | 20,053 | 0.77592 | 17,289 | 146,577 | 6.300017 | 0.039042 | 0.070547 | 0.049228 | 0.08373 | 0.816114 | 0.766198 | 0.737939 | 0.687985 | 0.645293 | 0.601665 | 0 | 0.037888 | 0.099668 | 146,577 | 3,159 | 20,054 | 46.39981 | 0.787471 | 0.037339 | 0 | 0.677375 | 1 | 0.053999 | 0.270471 | 0.229837 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.003759 | 0 | 0.003759 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
72df51008b53e979e266d4c740fefdbe4a59e59c | 7,825 | py | Python | pyflux/arma/tests/test_arima_normal.py | ThomasHoppe/pyflux | 297f2afc2095acd97c12e827dd500e8ea5da0c0f | [
"BSD-3-Clause"
] | 2,091 | 2016-04-01T02:52:10.000Z | 2022-03-29T11:38:15.000Z | pyflux/arma/tests/test_arima_normal.py | EricSchles/pyflux | 297f2afc2095acd97c12e827dd500e8ea5da0c0f | [
"BSD-3-Clause"
] | 160 | 2016-04-26T14:52:18.000Z | 2022-03-15T02:09:07.000Z | pyflux/arma/tests/test_arima_normal.py | EricSchles/pyflux | 297f2afc2095acd97c12e827dd500e8ea5da0c0f | [
"BSD-3-Clause"
] | 264 | 2016-05-02T14:03:31.000Z | 2022-03-29T07:48:20.000Z | import numpy as np
from pyflux.arma import ARIMA
noise = np.random.normal(0,1,100)
data = np.zeros(100)
for i in range(1,len(data)):
data[i] = 0.9*data[i-1] + noise[i]
def test_no_terms():
"""
Tests an ARIMA model with no AR or MA terms, and that
the latent variable list length is correct, and that t... | 40.968586 | 113 | 0.689585 | 1,113 | 7,825 | 4.773585 | 0.102426 | 0.121965 | 0.16262 | 0.099379 | 0.929418 | 0.918502 | 0.912102 | 0.893281 | 0.884623 | 0.884623 | 0 | 0.026433 | 0.168435 | 7,825 | 190 | 114 | 41.184211 | 0.790072 | 0.173291 | 0 | 0.651376 | 0 | 0 | 0.134606 | 0 | 0 | 0 | 0 | 0 | 0.357798 | 1 | 0.155963 | false | 0 | 0.018349 | 0 | 0.174312 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
72fdc72ca84b7959fa729f75cef5391cfb43bf8a | 251 | py | Python | spotdl/authorize/__init__.py | khjxiaogu/spotify-downloader | a8dcb8d998da0769bbe210f2808d16b346453c23 | [
"MIT"
] | 4,698 | 2017-06-20T22:37:10.000Z | 2022-03-28T13:38:07.000Z | spotdl/authorize/__init__.py | Delgan/spotify-downloader | 8adf3e8d6b98269b1538dd91c9a44ed345c77545 | [
"MIT"
] | 690 | 2017-06-20T20:08:42.000Z | 2022-02-26T23:36:07.000Z | spotdl/authorize/__init__.py | Delgan/spotify-downloader | 8adf3e8d6b98269b1538dd91c9a44ed345c77545 | [
"MIT"
] | 741 | 2017-06-21T23:32:51.000Z | 2022-03-07T12:11:54.000Z | from spotdl.authorize.authorize_base import AuthorizeBase
from spotdl.authorize.exceptions import AuthorizationError
from spotdl.authorize.exceptions import SpotifyAuthorizationError
from spotdl.authorize.exceptions import YouTubeAuthorizationError
| 35.857143 | 65 | 0.896414 | 25 | 251 | 8.96 | 0.4 | 0.178571 | 0.339286 | 0.388393 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071713 | 251 | 6 | 66 | 41.833333 | 0.961373 | 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 | 0 | 0 | 0 | 6 |
f403a6441014f8bbdcb9f5e87ae91815b6f2b383 | 12,337 | py | Python | tests/test_resync_tender.py | ProzorroUKR/prozorro_chronograph | f8a560322259b5bb07035b133f545a614130de73 | [
"Apache-2.0"
] | null | null | null | tests/test_resync_tender.py | ProzorroUKR/prozorro_chronograph | f8a560322259b5bb07035b133f545a614130de73 | [
"Apache-2.0"
] | null | null | null | tests/test_resync_tender.py | ProzorroUKR/prozorro_chronograph | f8a560322259b5bb07035b133f545a614130de73 | [
"Apache-2.0"
] | null | null | null | from uuid import uuid4
from datetime import datetime, timedelta
from unittest.mock import patch, MagicMock, AsyncMock
from freezegun import freeze_time
import json
from prozorro_chronograph.utils import get_now
from prozorro_chronograph.scheduler import resync_tender, push
from prozorro_chronograph.settings import TZ,... | 58.469194 | 116 | 0.682905 | 1,520 | 12,337 | 5.244079 | 0.075658 | 0.054196 | 0.077782 | 0.11178 | 0.919207 | 0.91168 | 0.907289 | 0.885962 | 0.875298 | 0.852465 | 0 | 0.017441 | 0.209938 | 12,337 | 210 | 117 | 58.747619 | 0.800349 | 0 | 0 | 0.651515 | 0 | 0 | 0.241307 | 0.117857 | 0 | 0 | 0 | 0 | 0.232323 | 1 | 0 | false | 0 | 0.045455 | 0 | 0.050505 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f4278734290dee4b58d985c5e90ea979af651b24 | 65 | py | Python | backend/parse_manga/parqser/page/page.py | GroupLe/grouple-face-tagger | 5fd87c074dc50a5fc341e9f30774094a1616a87f | [
"MIT"
] | null | null | null | backend/parse_manga/parqser/page/page.py | GroupLe/grouple-face-tagger | 5fd87c074dc50a5fc341e9f30774094a1616a87f | [
"MIT"
] | 19 | 2021-07-22T11:18:17.000Z | 2021-08-20T10:12:17.000Z | backend/parse_manga/parqser/page/page.py | GroupLe/grouple-face-tagger | 5fd87c074dc50a5fc341e9f30774094a1616a87f | [
"MIT"
] | 1 | 2021-07-29T11:56:03.000Z | 2021-07-29T11:56:03.000Z | from .base import BasePage
class LoadedPage(BasePage):
pass
| 13 | 27 | 0.753846 | 8 | 65 | 6.125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184615 | 65 | 4 | 28 | 16.25 | 0.924528 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
f435584f31c14e1c20c2a3cc1e3c805cf24c19f6 | 57 | py | Python | swagger-4-es development/images/swagger/source/cluster_operations/__init__.py | swarmee/swagger-4-es | 8ee367267c9a4afd9abba5964570d32c44c7ce34 | [
"MIT"
] | 3 | 2021-12-28T08:43:00.000Z | 2022-02-09T14:51:07.000Z | swagger-4-es development/images/swagger/source/cluster_operations/__init__.py | swarmee/swagger-4-es | 8ee367267c9a4afd9abba5964570d32c44c7ce34 | [
"MIT"
] | null | null | null | swagger-4-es development/images/swagger/source/cluster_operations/__init__.py | swarmee/swagger-4-es | 8ee367267c9a4afd9abba5964570d32c44c7ce34 | [
"MIT"
] | null | null | null | from .cluster_operations import api as cluster_operations | 57 | 57 | 0.894737 | 8 | 57 | 6.125 | 0.75 | 0.693878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087719 | 57 | 1 | 57 | 57 | 0.942308 | 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 | 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 | 6 |
f470f0df986b9996c59b29fec83680d74bf02699 | 40 | py | Python | python-package/nefindata/risk_factors/__init__.py | fernandoramacciotti/nefindata | 35742328eba911e5751492e8e588db9f8bfe3369 | [
"MIT"
] | 2 | 2020-04-02T03:18:57.000Z | 2020-12-26T23:16:33.000Z | python-package/nefindata/risk_factors/__init__.py | fernandoramacciotti/nefindata | 35742328eba911e5751492e8e588db9f8bfe3369 | [
"MIT"
] | 2 | 2021-04-28T16:36:41.000Z | 2022-03-11T14:20:49.000Z | python-package/nefindata/risk_factors/__init__.py | fernandoramacciotti/nefindata | 35742328eba911e5751492e8e588db9f8bfe3369 | [
"MIT"
] | null | null | null | from .risk_factors_downloaders import *
| 20 | 39 | 0.85 | 5 | 40 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
be30e3dca3422b88c3bcf09a60f7e87f4e6a8ce6 | 13,370 | py | Python | tests/serve/mock/faker/test_stateful_faker.py | dfioravanti/hmt | df79404076ec7acea0cfb12b636d58e3ffc83bc5 | [
"MIT"
] | 25 | 2020-05-14T13:25:42.000Z | 2021-11-09T10:09:27.000Z | tests/serve/mock/faker/test_stateful_faker.py | dfioravanti/hmt | df79404076ec7acea0cfb12b636d58e3ffc83bc5 | [
"MIT"
] | 19 | 2020-05-05T19:47:41.000Z | 2021-02-05T17:06:53.000Z | tests/serve/mock/faker/test_stateful_faker.py | dfioravanti/hmt | df79404076ec7acea0cfb12b636d58e3ffc83bc5 | [
"MIT"
] | 6 | 2020-05-16T10:02:48.000Z | 2021-10-04T08:03:49.000Z | from http_types import RequestBuilder
from openapi_typed_2 import convert_to_OpenAPIObject
from hmt.serve.mock.faker.stateful_faker import StatefulFaker
from hmt.serve.mock.refs import make_definitions_from_spec
from hmt.serve.mock.request_validation import valid_schema
from hmt.serve.mock.specs import OpenAPISpecific... | 29.84375 | 91 | 0.536051 | 1,282 | 13,370 | 5.465679 | 0.117785 | 0.03996 | 0.064935 | 0.045669 | 0.808335 | 0.788069 | 0.763522 | 0.750535 | 0.726987 | 0.705437 | 0 | 0.010105 | 0.296859 | 13,370 | 447 | 92 | 29.910515 | 0.735241 | 0 | 0 | 0.589333 | 0 | 0 | 0.210172 | 0.011369 | 0 | 0 | 0 | 0 | 0.098667 | 1 | 0.021333 | false | 0 | 0.018667 | 0 | 0.04 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
be73daaa3fb63e9f868ca6f154615b3b5da7aa56 | 27 | py | Python | src/euler_python_package/euler_python/medium/p324.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p324.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p324.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | def problem324():
pass
| 9 | 17 | 0.62963 | 3 | 27 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.259259 | 27 | 2 | 18 | 13.5 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
be742f863159a0380d713873a73ea4d3cb3f6f6e | 313 | py | Python | sequoya/operator/__init__.py | benhid/pyM2SA | e5a123e1a8f20bbfde0c0a17191d5b96c1b24d1b | [
"MIT"
] | 15 | 2019-03-29T10:05:16.000Z | 2022-01-04T10:30:47.000Z | sequoya/operator/__init__.py | benhid/pyM2SA | e5a123e1a8f20bbfde0c0a17191d5b96c1b24d1b | [
"MIT"
] | 2 | 2021-09-23T19:14:46.000Z | 2022-01-26T04:53:25.000Z | sequoya/operator/__init__.py | benhid/pyM2SA | e5a123e1a8f20bbfde0c0a17191d5b96c1b24d1b | [
"MIT"
] | 1 | 2021-03-06T04:16:21.000Z | 2021-03-06T04:16:21.000Z | from .crossover import SPXMSA
from .mutation import ShiftClosedGapGroups, ShiftGapGroup, TwoRandomAdjacentGapGroup, MultipleMSAMutation,\
OneRandomGapInsertion
__all__ = [
'SPXMSA',
'ShiftClosedGapGroups', 'ShiftGapGroup', 'TwoRandomAdjacentGapGroup', 'MultipleMSAMutation', 'OneRandomGapInsertion'
] | 39.125 | 120 | 0.805112 | 19 | 313 | 13.052632 | 0.578947 | 0.266129 | 0.467742 | 0.620968 | 0.790323 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108626 | 313 | 8 | 121 | 39.125 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0.33121 | 0.146497 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.285714 | 0 | 1 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fe2ff9f45a48beb1c59fe08d6e5a0d80191fbf49 | 94 | py | Python | Udemy_Python/my_app.py | harish-kumar-97/Python-Exercises | c3966a75283dec335b83fea53160cf09ba93f9a6 | [
"MIT"
] | null | null | null | Udemy_Python/my_app.py | harish-kumar-97/Python-Exercises | c3966a75283dec335b83fea53160cf09ba93f9a6 | [
"MIT"
] | null | null | null | Udemy_Python/my_app.py | harish-kumar-97/Python-Exercises | c3966a75283dec335b83fea53160cf09ba93f9a6 | [
"MIT"
] | null | null | null | import my_module
print("this is my app!")
print(my_module.my_var)
my_module.my_function() | 18.8 | 25 | 0.755319 | 17 | 94 | 3.882353 | 0.529412 | 0.363636 | 0.30303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 94 | 5 | 26 | 18.8 | 0.804878 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0.5 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
fe945e0ea7a0c08b7defd2f64b8167e482666de8 | 109 | py | Python | game/prefabs/fantasy_game/manager.py | laxertu/rpg-engine | fe48d47964ae47dc9a6545435a40c27595d9fe09 | [
"MIT"
] | 1 | 2019-01-14T15:14:11.000Z | 2019-01-14T15:14:11.000Z | game/prefabs/fantasy_game/manager.py | laxertu/rpg-engine | fe48d47964ae47dc9a6545435a40c27595d9fe09 | [
"MIT"
] | null | null | null | game/prefabs/fantasy_game/manager.py | laxertu/rpg-engine | fe48d47964ae47dc9a6545435a40c27595d9fe09 | [
"MIT"
] | null | null | null | from game.battle.GUI.graphics.pygame.manager import StandardManager
class Manager(StandardManager):
pass | 27.25 | 67 | 0.825688 | 13 | 109 | 6.923077 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100917 | 109 | 4 | 68 | 27.25 | 0.918367 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
229a954e025135ffaee57738d4be105a882622d1 | 39 | py | Python | jesse/strategies/__init__.py | slipperlobster/flipper | 8482edd77604fcec2ea08913f1748c21be80dac7 | [
"MIT"
] | 3,999 | 2018-11-09T10:38:51.000Z | 2022-03-31T12:29:12.000Z | jesse/strategies/__init__.py | slipperlobster/flipper | 8482edd77604fcec2ea08913f1748c21be80dac7 | [
"MIT"
] | 172 | 2020-04-16T16:19:08.000Z | 2022-03-28T13:28:55.000Z | jesse/strategies/__init__.py | pmondal08/jesse | 527952a74bc76f76cf3a2d25755386f8db285885 | [
"MIT"
] | 495 | 2019-03-01T21:48:53.000Z | 2022-03-30T15:35:19.000Z | from .Strategy import cached, Strategy
| 19.5 | 38 | 0.820513 | 5 | 39 | 6.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 1 | 39 | 39 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
22c822da3a5b0505c2e31226f364cc1b6b74b20b | 6,278 | py | Python | gebaeudealter/bin/convert.py | tordans/fis-broker | d60ffc93a4c59332c8e6d114caa0420f366d8acc | [
"MIT"
] | null | null | null | gebaeudealter/bin/convert.py | tordans/fis-broker | d60ffc93a4c59332c8e6d114caa0420f366d8acc | [
"MIT"
] | null | null | null | gebaeudealter/bin/convert.py | tordans/fis-broker | d60ffc93a4c59332c8e6d114caa0420f366d8acc | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding=utf-8
import os
tif_files = (
('images/Gebudealter_1992-93_nordwest_gekachelt_01.tif', '2380', '2260', '16085', '23887', '18105', '25797'),
('images/Gebudealter_1992-93_nordwest_gekachelt\ 02.tif', '2380', '2260','18105', '23887', '20125', '25797'),
('images/Gebudealter_1992-... | 87.194444 | 156 | 0.659127 | 822 | 6,278 | 4.79927 | 0.119221 | 0.206844 | 0.255513 | 0.279848 | 0.570849 | 0.547529 | 0.499366 | 0 | 0 | 0 | 0 | 0.314805 | 0.114527 | 6,278 | 71 | 157 | 88.422535 | 0.394855 | 0.005256 | 0 | 0.047619 | 0 | 0.015873 | 0.659459 | 0.354637 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.015873 | 0 | 0.015873 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
22cc7b078da8abd904882b29a905a24f7916de84 | 103,810 | py | Python | words.py | SRoussel/wordle | c9ec28eeaa3754e59b96f86c6c9f6a075436bb4d | [
"MIT"
] | null | null | null | words.py | SRoussel/wordle | c9ec28eeaa3754e59b96f86c6c9f6a075436bb4d | [
"MIT"
] | null | null | null | words.py | SRoussel/wordle | c9ec28eeaa3754e59b96f86c6c9f6a075436bb4d | [
"MIT"
] | null | null | null | mystery_words = ["cigar","rebut","sissy","humph","awake","blush","focal","evade","naval","serve","heath","dwarf","model","karma","stink","grade","quiet","bench","abate","feign","major","death","fresh","crust","stool","colon","abase","marry","react","batty","pride","floss","helix","croak","staff","paper","unfed","whelp"... | 34,603.333333 | 85,271 | 0.625026 | 12,976 | 103,810 | 5.000154 | 0.999769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000058 | 103,810 | 2 | 85,272 | 51,905 | 0.625043 | 0 | 0 | 0 | 0 | 0 | 0.624795 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.5 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 6 |
22e0320b424a4b72d3e68a83df3dd200031850e7 | 2,268 | py | Python | test/test_fixes_comments.py | psg-mit/latexpp | 0b7b523c9ce147c2d34cc430b1abd39972e33fa9 | [
"MIT"
] | 4 | 2020-08-28T18:41:48.000Z | 2021-11-11T11:23:58.000Z | test/test_fixes_comments.py | psg-mit/latexpp | 0b7b523c9ce147c2d34cc430b1abd39972e33fa9 | [
"MIT"
] | 4 | 2020-07-31T07:34:38.000Z | 2021-11-23T19:05:00.000Z | test/test_fixes_comments.py | psg-mit/latexpp | 0b7b523c9ce147c2d34cc430b1abd39972e33fa9 | [
"MIT"
] | 1 | 2020-07-22T02:44:48.000Z | 2020-07-22T02:44:48.000Z |
import unittest
import helpers
from latexpp.fixes import comments
class TestRemoveComments(unittest.TestCase):
def test_simple_1(self):
latex = r"""Line with % comment here
% line comment on its own
% and a second line
Also a \itshape% comment after a macro
% and also a second line
some ital... | 17.858268 | 77 | 0.605379 | 289 | 2,268 | 4.67474 | 0.214533 | 0.044412 | 0.059215 | 0.082902 | 0.801628 | 0.801628 | 0.801628 | 0.755736 | 0.701702 | 0.665433 | 0 | 0.001244 | 0.291005 | 2,268 | 126 | 78 | 18 | 0.83893 | 0.033069 | 0 | 0.676923 | 0 | 0 | 0.384821 | 0 | 0 | 0 | 0 | 0 | 0.061538 | 1 | 0.061538 | false | 0 | 0.046154 | 0 | 0.123077 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a3c872a6fc849f8c89da943933236770ce2f674e | 81 | py | Python | _3_LISTS_AS_STACKS_AND_QUEUES/_1_Reverse_Strings.py | YordanPetrovDS/Python_Advanced_2020 | f0c56a4a14fee20526d0cd7a78bab05f54a7cd7c | [
"MIT"
] | null | null | null | _3_LISTS_AS_STACKS_AND_QUEUES/_1_Reverse_Strings.py | YordanPetrovDS/Python_Advanced_2020 | f0c56a4a14fee20526d0cd7a78bab05f54a7cd7c | [
"MIT"
] | null | null | null | _3_LISTS_AS_STACKS_AND_QUEUES/_1_Reverse_Strings.py | YordanPetrovDS/Python_Advanced_2020 | f0c56a4a14fee20526d0cd7a78bab05f54a7cd7c | [
"MIT"
] | null | null | null | def reverse_string(text):
return text[::-1]
print(reverse_string(input()))
| 13.5 | 30 | 0.691358 | 11 | 81 | 4.909091 | 0.727273 | 0.481481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014286 | 0.135802 | 81 | 5 | 31 | 16.2 | 0.757143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0.333333 | 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 | 0 | 1 | 1 | 0 | 0 | 6 |
a3d26d8051c1ed839f3840a4d710eb3c8423e24f | 123 | py | Python | pezLogger/__init__.py | YesmynameisPerry/pezLogger | 1b5ff39d4d038463f0fa8d9a8eb9b4bb1d3c0a11 | [
"MIT"
] | null | null | null | pezLogger/__init__.py | YesmynameisPerry/pezLogger | 1b5ff39d4d038463f0fa8d9a8eb9b4bb1d3c0a11 | [
"MIT"
] | null | null | null | pezLogger/__init__.py | YesmynameisPerry/pezLogger | 1b5ff39d4d038463f0fa8d9a8eb9b4bb1d3c0a11 | [
"MIT"
] | null | null | null | from pezLogger.src.logger import Logger
from pezLogger.src.mockLogger import MockLogger
__all__ = ["Logger", "MockLogger"] | 30.75 | 47 | 0.804878 | 15 | 123 | 6.333333 | 0.466667 | 0.273684 | 0.336842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 123 | 4 | 48 | 30.75 | 0.855856 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a3d6d62409a204b0a88184b3a4a778388f87bafe | 45 | py | Python | src/equipments/forms/__init__.py | victormartinez/brewday | 3cb924cb3b08407096bb4b771089e1ecd8d097a4 | [
"Apache-2.0"
] | null | null | null | src/equipments/forms/__init__.py | victormartinez/brewday | 3cb924cb3b08407096bb4b771089e1ecd8d097a4 | [
"Apache-2.0"
] | 4 | 2020-06-06T01:17:45.000Z | 2021-09-08T02:04:22.000Z | src/equipments/forms/__init__.py | victormartinez/brewday | 3cb924cb3b08407096bb4b771089e1ecd8d097a4 | [
"Apache-2.0"
] | null | null | null | from .forms import *
from .formsets import *
| 15 | 23 | 0.733333 | 6 | 45 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 45 | 2 | 24 | 22.5 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a3dbd2ed116254235cf4905b123e96fa227a656d | 159 | py | Python | mysite/blog/views.py | redisread/kunpeng | 9450711abefddb0e884f22d68b775eaacb052ad8 | [
"CC0-1.0"
] | null | null | null | mysite/blog/views.py | redisread/kunpeng | 9450711abefddb0e884f22d68b775eaacb052ad8 | [
"CC0-1.0"
] | null | null | null | mysite/blog/views.py | redisread/kunpeng | 9450711abefddb0e884f22d68b775eaacb052ad8 | [
"CC0-1.0"
] | null | null | null | from django.shortcuts import render
# Create your views here.
from django.http import HttpResponse
def hello(request):
return HttpResponse('Hello,world') | 22.714286 | 38 | 0.786164 | 21 | 159 | 5.952381 | 0.761905 | 0.16 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138365 | 159 | 7 | 38 | 22.714286 | 0.912409 | 0.144654 | 0 | 0 | 0 | 0 | 0.081481 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
a3f390689b60124de7966355945b4c7327239a7f | 408 | py | Python | odin/preprocessing/__init__.py | trungnt13/odin-ai | 9c6986a854e62da39637ea463667841378b7dd84 | [
"MIT"
] | 7 | 2020-12-29T19:35:58.000Z | 2022-01-31T21:01:30.000Z | odin/preprocessing/__init__.py | imito/odin-ai | 9c6986a854e62da39637ea463667841378b7dd84 | [
"MIT"
] | 3 | 2020-02-06T16:44:17.000Z | 2020-09-26T05:26:14.000Z | odin/preprocessing/__init__.py | trungnt13/odin-ai | 9c6986a854e62da39637ea463667841378b7dd84 | [
"MIT"
] | 6 | 2019-02-14T01:36:28.000Z | 2020-10-30T13:16:32.000Z | from odin.preprocessing import (base, sequence, signal, speech, textgrid)
from odin.preprocessing.base import Pipeline, make_pipeline, set_extractor_debug
from odin.preprocessing.processor import (FeatureProcessor, calculate_pca,
validate_features)
# from odin.preprocessing im... | 45.333333 | 80 | 0.752451 | 45 | 408 | 6.711111 | 0.511111 | 0.15894 | 0.417219 | 0.357616 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191176 | 408 | 8 | 81 | 51 | 0.915152 | 0.267157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 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 | 6 |
4301837defdacb1bb7a0da1d4ec2920500a8ce51 | 26 | py | Python | lib/python/qmk/cli/chibios/__init__.py | Crabo-7498/qmk-keyboard-firmware | 6e75441c687cbb179f56e3944ecf23c04a54fb86 | [
"MIT"
] | 2 | 2021-04-16T23:29:01.000Z | 2021-04-17T02:26:22.000Z | lib/python/qmk/cli/chibios/__init__.py | Crabo-7498/qmk-keyboard-firmware | 6e75441c687cbb179f56e3944ecf23c04a54fb86 | [
"MIT"
] | null | null | null | lib/python/qmk/cli/chibios/__init__.py | Crabo-7498/qmk-keyboard-firmware | 6e75441c687cbb179f56e3944ecf23c04a54fb86 | [
"MIT"
] | null | null | null | from . import confmigrate
| 13 | 25 | 0.807692 | 3 | 26 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
43047eb5a7faeb73cb5abf919c42d2a64bff1991 | 449 | py | Python | sdk/python/pulumi_aws/s3/__init__.py | pulumi-bot/pulumi-aws | 756c60135851e015232043c8206567101b8ebd85 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/s3/__init__.py | pulumi-bot/pulumi-aws | 756c60135851e015232043c8206567101b8ebd85 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/s3/__init__.py | pulumi-bot/pulumi-aws | 756c60135851e015232043c8206567101b8ebd85 | [
"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! ***
# Export this package's modules as members:
from bucket import *
from inventory import *
from bucket_metric import *
from bucket_notifi... | 32.071429 | 87 | 0.759465 | 68 | 449 | 4.911765 | 0.617647 | 0.209581 | 0.191617 | 0.113772 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002667 | 0.164811 | 449 | 13 | 88 | 34.538462 | 0.888 | 0.487751 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4a2b637d2592f88c9bf02d898c59b046cb9657db | 34 | py | Python | test_src/test_proj/models/__init__.py | zhanmeiliang/vstutils | 1e6d970b1b7ad1ee7f32f8d8c8374031a23333ee | [
"Apache-2.0"
] | 1 | 2018-07-31T06:45:57.000Z | 2018-07-31T06:45:57.000Z | test_src/test_proj/models/__init__.py | zhanmeiliang/vstutils | 1e6d970b1b7ad1ee7f32f8d8c8374031a23333ee | [
"Apache-2.0"
] | null | null | null | test_src/test_proj/models/__init__.py | zhanmeiliang/vstutils | 1e6d970b1b7ad1ee7f32f8d8c8374031a23333ee | [
"Apache-2.0"
] | null | null | null | from .hosts import Host, HostGroup | 34 | 34 | 0.823529 | 5 | 34 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4a45dbbde48f5ccb5a48b4e92a365c48c3470759 | 97 | py | Python | scraper_extractor/components/helpers.py | jakjus/csgomath_engine | c7fd113f6ce63fa070798ea01b39088bc555fc55 | [
"MIT"
] | null | null | null | scraper_extractor/components/helpers.py | jakjus/csgomath_engine | c7fd113f6ce63fa070798ea01b39088bc555fc55 | [
"MIT"
] | null | null | null | scraper_extractor/components/helpers.py | jakjus/csgomath_engine | c7fd113f6ce63fa070798ea01b39088bc555fc55 | [
"MIT"
] | null | null | null | def text_to_price(text):
return int(text.replace('$', '').replace(',', '').replace('.', ''))
| 32.333333 | 71 | 0.556701 | 11 | 97 | 4.727273 | 0.636364 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113402 | 97 | 2 | 72 | 48.5 | 0.604651 | 0 | 0 | 0 | 0 | 0 | 0.030928 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 0 | 1 | 1 | 0 | 0 | 6 |
4a81b26c2415b4cd4ba4ad3509f6986e4ac614a9 | 39 | py | Python | arxiv_utils/__init__.py | Yuran-Zhao/paper_synchronization | 984105ca2d926d0b3c5cd3225e5c0f106049738f | [
"MIT"
] | null | null | null | arxiv_utils/__init__.py | Yuran-Zhao/paper_synchronization | 984105ca2d926d0b3c5cd3225e5c0f106049738f | [
"MIT"
] | null | null | null | arxiv_utils/__init__.py | Yuran-Zhao/paper_synchronization | 984105ca2d926d0b3c5cd3225e5c0f106049738f | [
"MIT"
] | null | null | null | from .arxiv_manager import arxivManager | 39 | 39 | 0.897436 | 5 | 39 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 39 | 1 | 39 | 39 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
435e6e3b8719fa4cba0a920d7dec3b79dddcb351 | 164 | py | Python | tests/pydecompile-test/baselines/no_nested_events.py | gengxf0505/pxt | eca93a0e0605e68adcfbebce778cc5912a10efcf | [
"MIT"
] | 1 | 2020-11-11T01:47:26.000Z | 2020-11-11T01:47:26.000Z | tests/pydecompile-test/baselines/no_nested_events.py | gengxf0505/pxt | eca93a0e0605e68adcfbebce778cc5912a10efcf | [
"MIT"
] | 3 | 2019-08-13T14:36:05.000Z | 2020-01-18T00:04:19.000Z | tests/pydecompile-test/baselines/no_nested_events.py | gengxf0505/pxt | eca93a0e0605e68adcfbebce778cc5912a10efcf | [
"MIT"
] | 2 | 2019-10-29T06:56:11.000Z | 2021-05-25T10:18:12.000Z | #/ <reference path="./testBlocks/mb.ts" />
i = 0
def function_26():
def function_27():
i += 1
basic.forever(function_27)
i += 1
basic.forever(function_26) | 20.5 | 42 | 0.652439 | 25 | 164 | 4.12 | 0.56 | 0.213592 | 0.213592 | 0.23301 | 0.543689 | 0.543689 | 0.543689 | 0 | 0 | 0 | 0 | 0.080882 | 0.170732 | 164 | 8 | 43 | 20.5 | 0.676471 | 0.25 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0 | 0.285714 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
43b893bc8a542b1d119b545a3e871123ccc68f98 | 32 | py | Python | src/nashpy/integer_pivoting/__init__.py | Fil/Nashpy | 405abe23cb655a084ea4a767b97e03fa24c3d5d2 | [
"MIT"
] | null | null | null | src/nashpy/integer_pivoting/__init__.py | Fil/Nashpy | 405abe23cb655a084ea4a767b97e03fa24c3d5d2 | [
"MIT"
] | null | null | null | src/nashpy/integer_pivoting/__init__.py | Fil/Nashpy | 405abe23cb655a084ea4a767b97e03fa24c3d5d2 | [
"MIT"
] | null | null | null | from .integer_pivoting import *
| 16 | 31 | 0.8125 | 4 | 32 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
43be0dbc94a850937c4b3f594fd222d901e13112 | 109 | py | Python | src/scrapy_statsd_extension/utils.py | zack-wilson/scrapy-statsd | cfa2f40e243da30c7b1078cda16730f95bb79fda | [
"BSD-3-Clause"
] | null | null | null | src/scrapy_statsd_extension/utils.py | zack-wilson/scrapy-statsd | cfa2f40e243da30c7b1078cda16730f95bb79fda | [
"BSD-3-Clause"
] | null | null | null | src/scrapy_statsd_extension/utils.py | zack-wilson/scrapy-statsd | cfa2f40e243da30c7b1078cda16730f95bb79fda | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
def create_stat_key(scrapy_stats_key):
return scrapy_stats_key.replace("/", ".")
| 27.25 | 45 | 0.669725 | 15 | 109 | 4.466667 | 0.733333 | 0.328358 | 0.41791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010526 | 0.12844 | 109 | 3 | 46 | 36.333333 | 0.694737 | 0.192661 | 0 | 0 | 0 | 0 | 0.023256 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
43cf2729562d1a4e611b935e87edbe34c39006eb | 918 | py | Python | pixelfire/index.py | TheMindVirus/webgl-stuff | d47e07add67c0c3048e2af542f655e356d8f97d7 | [
"MIT"
] | null | null | null | pixelfire/index.py | TheMindVirus/webgl-stuff | d47e07add67c0c3048e2af542f655e356d8f97d7 | [
"MIT"
] | null | null | null | pixelfire/index.py | TheMindVirus/webgl-stuff | d47e07add67c0c3048e2af542f655e356d8f97d7 | [
"MIT"
] | null | null | null | def getData(x, y, z):
x /= 8.0
y /= 8.0
z /= 8.0
a = [
x, y, z,
x, y, z,
x, y, z,
x, y, z,
x, y, z,
x, y, z,
x, y, z,
x, y, z,
x, y, z,
x, y, z,
x, y, z,
x, y, z,
x, y, z,
x, y, z,
x... | 15.559322 | 42 | 0.277778 | 160 | 918 | 1.59375 | 0.13125 | 0.298039 | 0.447059 | 0.564706 | 0.517647 | 0.423529 | 0.423529 | 0.423529 | 0.423529 | 0.423529 | 0 | 0.02864 | 0.543573 | 918 | 58 | 43 | 15.827586 | 0.579952 | 0 | 0 | 0.705882 | 0 | 0 | 0.010893 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019608 | false | 0 | 0 | 0 | 0.039216 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 6 |
43d83efb2936d1fc3253474a354e9d24a1b0c901 | 47,375 | py | Python | tests/aat/spec/packet_capture_spec.py | loskutnikov-spirent/openperf | 1f36ad31d6b8ce5d45c835e405ecc4e4b9793fd2 | [
"Apache-2.0"
] | null | null | null | tests/aat/spec/packet_capture_spec.py | loskutnikov-spirent/openperf | 1f36ad31d6b8ce5d45c835e405ecc4e4b9793fd2 | [
"Apache-2.0"
] | null | null | null | tests/aat/spec/packet_capture_spec.py | loskutnikov-spirent/openperf | 1f36ad31d6b8ce5d45c835e405ecc4e4b9793fd2 | [
"Apache-2.0"
] | null | null | null | from mamba import description, before, after
from expects import *
import datetime
import os
import socket
import shutil
import subprocess
import tempfile
import time
import client.api
import client.models
from common import Config, Service
from common.helper import (get_capture_pcap, get_merged_capture_pcap)
from com... | 49.60733 | 123 | 0.544317 | 5,329 | 47,375 | 4.616814 | 0.061362 | 0.048937 | 0.026948 | 0.041458 | 0.801772 | 0.777263 | 0.757184 | 0.731984 | 0.705402 | 0.694143 | 0 | 0.012203 | 0.356538 | 47,375 | 954 | 124 | 49.659329 | 0.794876 | 0.026723 | 0 | 0.649418 | 0 | 0 | 0.064484 | 0.001737 | 0 | 0 | 0 | 0 | 0.001294 | 1 | 0.016818 | false | 0 | 0.020699 | 0 | 0.051746 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
78e276b5e07c97b90c99d488a546c0c89e948aa4 | 2,742 | py | Python | Tests/TestValidZIP.py | facebook/fb-util-for-appx | ad2421e3f744e3d2c31c48ae32f9c7be128f8e6b | [
"BSD-3-Clause"
] | 40 | 2016-03-16T17:23:54.000Z | 2020-01-31T15:58:17.000Z | Tests/TestValidZIP.py | facebookarchive/fb-util-for-appx | ad2421e3f744e3d2c31c48ae32f9c7be128f8e6b | [
"BSD-3-Clause"
] | 8 | 2016-03-17T21:55:34.000Z | 2018-04-12T16:43:44.000Z | Tests/TestValidZIP.py | facebook/fb-util-for-appx | ad2421e3f744e3d2c31c48ae32f9c7be128f8e6b | [
"BSD-3-Clause"
] | 16 | 2016-03-31T01:17:54.000Z | 2019-11-23T18:07:56.000Z | #!/usr/bin/env python2.7
#
# Copyright (c) 2016-present, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
from appx.util import appx_exe
import appx.util
import os
import subprocess
import unittest
... | 40.925373 | 71 | 0.516411 | 343 | 2,742 | 4.026239 | 0.230321 | 0.069515 | 0.115858 | 0.127444 | 0.729182 | 0.729182 | 0.729182 | 0.729182 | 0.729182 | 0.729182 | 0 | 0.004474 | 0.347921 | 2,742 | 66 | 72 | 41.545455 | 0.767897 | 0.094821 | 0 | 0.734694 | 0 | 0 | 0.110569 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 1 | 0.081633 | false | 0 | 0.122449 | 0 | 0.22449 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
78ffda1b19298b9d931f33ef3e2fca9195cf62a3 | 24 | py | Python | Exams/Exam_22_August_2020_TAKE_2/main.py | MNikov/Python-OOP-October-2020 | a53e4555758ec810605e31e7b2c71b65c49b2332 | [
"MIT"
] | null | null | null | Exams/Exam_22_August_2020_TAKE_2/main.py | MNikov/Python-OOP-October-2020 | a53e4555758ec810605e31e7b2c71b65c49b2332 | [
"MIT"
] | null | null | null | Exams/Exam_22_August_2020_TAKE_2/main.py | MNikov/Python-OOP-October-2020 | a53e4555758ec810605e31e7b2c71b65c49b2332 | [
"MIT"
] | null | null | null | print([123, 'das'] * 2 ) | 24 | 24 | 0.5 | 4 | 24 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.166667 | 24 | 1 | 24 | 24 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0.12 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
60173dd2914082f7fa00ce7ff8d72c21a3221923 | 5,319 | py | Python | meerschaum/connectors/api/_users.py | bmeares/Meerschaum | 37bd7a9923efce53e91c6a1d9c31f9533b9b4463 | [
"Apache-2.0"
] | 32 | 2020-09-14T16:29:19.000Z | 2022-03-08T00:51:28.000Z | meerschaum/connectors/api/_users.py | bmeares/Meerschaum | 37bd7a9923efce53e91c6a1d9c31f9533b9b4463 | [
"Apache-2.0"
] | 3 | 2020-10-04T20:03:30.000Z | 2022-02-02T21:04:46.000Z | meerschaum/connectors/api/_users.py | bmeares/Meerschaum | 37bd7a9923efce53e91c6a1d9c31f9533b9b4463 | [
"Apache-2.0"
] | 5 | 2021-04-22T23:49:21.000Z | 2022-02-02T12:59:08.000Z | #! /usr/bin/env python
# -*- coding: utf-8 -*-
# vim:fenc=utf-8
"""
Manage users via the API Connector.
"""
from __future__ import annotations
from meerschaum.utils.typing import Optional, Any, List, SuccessTuple
def get_users(
self,
debug : bool = False,
**kw : Any
) -> List[str]:
""... | 28.44385 | 98 | 0.592029 | 619 | 5,319 | 4.930533 | 0.148627 | 0.06291 | 0.036697 | 0.04194 | 0.787025 | 0.755242 | 0.745413 | 0.745413 | 0.719856 | 0.65498 | 0 | 0.000514 | 0.268096 | 5,319 | 186 | 99 | 28.596774 | 0.783457 | 0.062606 | 0 | 0.714286 | 0 | 0 | 0.174765 | 0.12513 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057143 | false | 0.028571 | 0.114286 | 0 | 0.292857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
602b250e58ca2ab1ad3037b349ad7be4cefed98a | 11,166 | py | Python | models/research/object_detection/utils/per_image_evaluation_test.py | BarracudaPff/code-golf-data-pythpn | 42e8858c2ebc6a061012bcadb167d29cebb85c5e | [
"MIT"
] | null | null | null | models/research/object_detection/utils/per_image_evaluation_test.py | BarracudaPff/code-golf-data-pythpn | 42e8858c2ebc6a061012bcadb167d29cebb85c5e | [
"MIT"
] | null | null | null | models/research/object_detection/utils/per_image_evaluation_test.py | BarracudaPff/code-golf-data-pythpn | 42e8858c2ebc6a061012bcadb167d29cebb85c5e | [
"MIT"
] | null | null | null | """Tests for object_detection.utils.per_image_evaluation."""
import numpy as np
import tensorflow as tf
from object_detection.utils import per_image_evaluation
class SingleClassTpFpWithDifficultBoxesTest(tf.test.TestCase):
def setUp(self):
num_groundtruth_classes = 1
matching_iou_threshold = 0.5
nms_iou_threshol... | 72.506494 | 252 | 0.784256 | 1,762 | 11,166 | 4.603859 | 0.061294 | 0.05609 | 0.106509 | 0.073225 | 0.92431 | 0.906928 | 0.890902 | 0.88215 | 0.862796 | 0.834073 | 0 | 0.038222 | 0.095558 | 11,166 | 154 | 253 | 72.506494 | 0.765026 | 0.004836 | 0 | 0.614379 | 0 | 0 | 0.00072 | 0 | 0 | 0 | 0 | 0 | 0.130719 | 1 | 0.091503 | false | 0 | 0.019608 | 0 | 0.143791 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
602e04052585fd291664f8993df0ccc69283f41c | 23 | py | Python | foo/__init__.py | paulmueller/travisCI-macOSx-cython-wheels | 959d5db52c86edea1fdaa262e2cd499cb8de5ef9 | [
"MIT"
] | null | null | null | foo/__init__.py | paulmueller/travisCI-macOSx-cython-wheels | 959d5db52c86edea1fdaa262e2cd499cb8de5ef9 | [
"MIT"
] | null | null | null | foo/__init__.py | paulmueller/travisCI-macOSx-cython-wheels | 959d5db52c86edea1fdaa262e2cd499cb8de5ef9 | [
"MIT"
] | null | null | null | from .bar import primes | 23 | 23 | 0.826087 | 4 | 23 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6098ee83e70ed8cf1b7a315cb2e4636df21c8565 | 38 | py | Python | env/lib/python3.8/site-packages/plotly/graph_objs/layout/template/data/_heatmap.py | acrucetta/Chicago_COVI_WebApp | a37c9f492a20dcd625f8647067394617988de913 | [
"MIT",
"Unlicense"
] | 11,750 | 2015-10-12T07:03:39.000Z | 2022-03-31T20:43:15.000Z | env/lib/python3.8/site-packages/plotly/graph_objs/layout/template/data/_heatmap.py | acrucetta/Chicago_COVI_WebApp | a37c9f492a20dcd625f8647067394617988de913 | [
"MIT",
"Unlicense"
] | 2,951 | 2015-10-12T00:41:25.000Z | 2022-03-31T22:19:26.000Z | env/lib/python3.8/site-packages/plotly/graph_objs/layout/template/data/_heatmap.py | acrucetta/Chicago_COVI_WebApp | a37c9f492a20dcd625f8647067394617988de913 | [
"MIT",
"Unlicense"
] | 2,623 | 2015-10-15T14:40:27.000Z | 2022-03-28T16:05:50.000Z | from plotly.graph_objs import Heatmap
| 19 | 37 | 0.868421 | 6 | 38 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
60c1ab7bbda844beb7b11d05e974eddc9d61c118 | 27,207 | py | Python | tests/test_kinesis/test_kinesis.py | symroe/moto | 4e106995af6f2820273528fca8a4e9ee288690a5 | [
"Apache-2.0"
] | null | null | null | tests/test_kinesis/test_kinesis.py | symroe/moto | 4e106995af6f2820273528fca8a4e9ee288690a5 | [
"Apache-2.0"
] | 1 | 2022-03-07T07:39:03.000Z | 2022-03-07T07:39:03.000Z | tests/test_kinesis/test_kinesis.py | symroe/moto | 4e106995af6f2820273528fca8a4e9ee288690a5 | [
"Apache-2.0"
] | null | null | null | import datetime
import time
import pytest
import boto3
from botocore.exceptions import ClientError
from dateutil.tz import tzlocal
from moto import mock_kinesis
from moto.core import ACCOUNT_ID
import sure # noqa # pylint: disable=unused-import
@mock_kinesis
def test_describe_non_existent_stream_boto3():
cli... | 35.564706 | 168 | 0.710699 | 3,319 | 27,207 | 5.615547 | 0.092799 | 0.067067 | 0.103015 | 0.06975 | 0.814411 | 0.800247 | 0.783185 | 0.74772 | 0.722717 | 0.691222 | 0 | 0.022446 | 0.169772 | 27,207 | 764 | 169 | 35.611257 | 0.802683 | 0.055243 | 0 | 0.652778 | 0 | 0.003472 | 0.183455 | 0.017301 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052083 | false | 0 | 0.015625 | 0 | 0.067708 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
60dd98ff32100031b4cd34d42b91686ca77f1e5a | 4,962 | py | Python | tconfig/tests/api/resources/test_parameter_resource.py | awwilliams/tconfig | e798ca7d85a61c53df07b61440b321dbd3793350 | [
"MIT"
] | null | null | null | tconfig/tests/api/resources/test_parameter_resource.py | awwilliams/tconfig | e798ca7d85a61c53df07b61440b321dbd3793350 | [
"MIT"
] | null | null | null | tconfig/tests/api/resources/test_parameter_resource.py | awwilliams/tconfig | e798ca7d85a61c53df07b61440b321dbd3793350 | [
"MIT"
] | null | null | null | def test_parameter_select(api_client, api_prefix):
response = api_client.get(f"{api_prefix}/parameters/1")
assert response.status_code == 200
json_dict = response.json
expected = {
"parameter": {
"excluded": [],
"excluded_by": [],
"name": "Colour",
... | 32.644737 | 88 | 0.609835 | 593 | 4,962 | 4.875211 | 0.133221 | 0.108959 | 0.131442 | 0.089934 | 0.926669 | 0.902456 | 0.890003 | 0.849187 | 0.817018 | 0.815981 | 0 | 0.024508 | 0.251713 | 4,962 | 151 | 89 | 32.860927 | 0.754107 | 0 | 0 | 0.671875 | 0 | 0 | 0.352076 | 0.153567 | 0 | 0 | 0 | 0 | 0.140625 | 1 | 0.070313 | false | 0 | 0 | 0 | 0.070313 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.