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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8098676a40412eb52c1fff71d39e75e131acacd9 | 117 | py | Python | src/whylogs/src/whylabs/logs/core/statistics/datatypes/__init__.py | bernease/cli-demo-1 | 895d9eddc95ca3dd43b7ae8b33a8fbdedbc855f5 | [
"Apache-2.0"
] | null | null | null | src/whylogs/src/whylabs/logs/core/statistics/datatypes/__init__.py | bernease/cli-demo-1 | 895d9eddc95ca3dd43b7ae8b33a8fbdedbc855f5 | [
"Apache-2.0"
] | null | null | null | src/whylogs/src/whylabs/logs/core/statistics/datatypes/__init__.py | bernease/cli-demo-1 | 895d9eddc95ca3dd43b7ae8b33a8fbdedbc855f5 | [
"Apache-2.0"
] | null | null | null | from .variancetracker import *
from .integertracker import *
from .floattracker import *
from .stringtracker import * | 29.25 | 30 | 0.803419 | 12 | 117 | 7.833333 | 0.5 | 0.319149 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 117 | 4 | 31 | 29.25 | 0.921569 | 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 |
80f5e63a6f85eac6a66c77f8d70bb01c9fb8423d | 3,934 | py | Python | models/autoencoder.py | garedaba/BERMUDA | ad989cbdae03efafe81d1d0aa36673dd6ffa2e14 | [
"MIT"
] | null | null | null | models/autoencoder.py | garedaba/BERMUDA | ad989cbdae03efafe81d1d0aa36673dd6ffa2e14 | [
"MIT"
] | null | null | null | models/autoencoder.py | garedaba/BERMUDA | ad989cbdae03efafe81d1d0aa36673dd6ffa2e14 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding: utf-8
import torch.nn as nn
def init_weights(m):
""" initialize weights of fully connected layer
"""
if type(m) == nn.Linear:
nn.init.xavier_uniform_(m.weight)
m.bias.data.fill_(0.01)
# autoencoder with hidden units 20, latent, 20
# Encoder
class Encoder_2... | 29.578947 | 56 | 0.599898 | 520 | 3,934 | 4.253846 | 0.111538 | 0.085443 | 0.088156 | 0.108499 | 0.879747 | 0.833635 | 0.799277 | 0.753165 | 0.753165 | 0.753165 | 0 | 0.036068 | 0.281139 | 3,934 | 132 | 57 | 29.80303 | 0.74611 | 0.076258 | 0 | 0.628571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.180952 | false | 0 | 0.009524 | 0 | 0.361905 | 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 |
03949e01b1fbab514806269a877f9e68b99adc80 | 17 | py | Python | zfit_physics/unstable/__init__.py | chm-ipmu/zfit-physics | 9e6b1f857fe993fadb888612822c394db4d0f5c5 | [
"BSD-3-Clause"
] | null | null | null | zfit_physics/unstable/__init__.py | chm-ipmu/zfit-physics | 9e6b1f857fe993fadb888612822c394db4d0f5c5 | [
"BSD-3-Clause"
] | null | null | null | zfit_physics/unstable/__init__.py | chm-ipmu/zfit-physics | 9e6b1f857fe993fadb888612822c394db4d0f5c5 | [
"BSD-3-Clause"
] | null | null | null | from . import pdf | 17 | 17 | 0.764706 | 3 | 17 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 17 | 1 | 17 | 17 | 0.928571 | 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 |
03d374576d2ec245ce83ddf40486d33b88e37cfb | 41 | py | Python | src/sas/sascalc/pr/fit/__init__.py | opendatafit/sasview | c470220eecfc9f6d8a0e27e2ea8919dcb1b38e39 | [
"BSD-3-Clause"
] | null | null | null | src/sas/sascalc/pr/fit/__init__.py | opendatafit/sasview | c470220eecfc9f6d8a0e27e2ea8919dcb1b38e39 | [
"BSD-3-Clause"
] | 1 | 2021-09-20T13:20:35.000Z | 2021-09-20T13:20:35.000Z | src/sas/sascalc/pr/fit/__init__.py | opendatafit/sasview | c470220eecfc9f6d8a0e27e2ea8919dcb1b38e39 | [
"BSD-3-Clause"
] | null | null | null | from .AbstractFitEngine import FitHandler | 41 | 41 | 0.902439 | 4 | 41 | 9.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 41 | 1 | 41 | 41 | 0.973684 | 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 |
03d3ede9bf333e5ac91b4bfab7687b8821f0f6c6 | 66 | py | Python | week10/CinemaReservation/hack_cinema/db_schema/__init__.py | HackBulgaria/Programming-101-Python-2020-Spring | 443446028df7fe78fcdd6c37dada0b5cd8ed3c93 | [
"MIT"
] | 30 | 2020-01-22T17:22:43.000Z | 2022-01-26T08:28:57.000Z | week10/CinemaReservation/hack_cinema/db_schema/__init__.py | HackBulgaria/Programming-101-Python-2020-Spring | 443446028df7fe78fcdd6c37dada0b5cd8ed3c93 | [
"MIT"
] | 1 | 2020-01-21T19:50:47.000Z | 2020-03-18T16:18:31.000Z | week10/CinemaReservation/hack_cinema/db_schema/__init__.py | HackBulgaria/Programming-101-Python-2020-Spring | 443446028df7fe78fcdd6c37dada0b5cd8ed3c93 | [
"MIT"
] | 7 | 2019-11-28T15:59:16.000Z | 2020-12-05T08:39:02.000Z | from .users import CREATE_USERS
from .movies import CREATE_MOVIES
| 22 | 33 | 0.848485 | 10 | 66 | 5.4 | 0.5 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 66 | 2 | 34 | 33 | 0.931034 | 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 |
ff04416537a6ec02a7d39411cd2da79a2c52d956 | 843 | py | Python | client_apis/python/test/test_conflict_error.py | alikins/galaxy-api-swaggerhub | 5d6d4070cd6964c6d6217cad6743de89cf4eac24 | [
"MIT"
] | null | null | null | client_apis/python/test/test_conflict_error.py | alikins/galaxy-api-swaggerhub | 5d6d4070cd6964c6d6217cad6743de89cf4eac24 | [
"MIT"
] | 3 | 2020-07-17T10:18:45.000Z | 2022-01-22T05:24:05.000Z | client_apis/python/test/test_conflict_error.py | alikins/galaxy-api-swaggerhub | 5d6d4070cd6964c6d6217cad6743de89cf4eac24 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
Galaxy 3.2 API (wip)
Galaxy 3.2 API (wip) # noqa: E501
The version of the OpenAPI document: 1.2.0
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import unittest
import openapi_client
from openapi_client.models.conflict_error import Con... | 21.075 | 84 | 0.691578 | 101 | 843 | 5.584158 | 0.564356 | 0.092199 | 0.028369 | 0.039007 | 0.163121 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025836 | 0.219454 | 843 | 39 | 85 | 21.615385 | 0.831307 | 0.431791 | 0 | 0.214286 | 1 | 0 | 0.018141 | 0 | 0 | 0 | 0 | 0.025641 | 0 | 1 | 0.214286 | false | 0.214286 | 0.357143 | 0 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
206b7a3d5225ff49bcbb58405bc70465ecf3e182 | 69 | py | Python | sklearnbot/__init__.py | openml/sklearn-bot | 7476dd6e27f087166fc416974fc67a78dd4fa4d2 | [
"BSD-3-Clause"
] | 1 | 2020-05-06T14:54:32.000Z | 2020-05-06T14:54:32.000Z | sklearnbot/__init__.py | openml/sklearn-bot | 7476dd6e27f087166fc416974fc67a78dd4fa4d2 | [
"BSD-3-Clause"
] | 2 | 2018-10-07T17:30:03.000Z | 2018-10-19T00:06:35.000Z | sklearnbot/__init__.py | openml/sklearn-bot | 7476dd6e27f087166fc416974fc67a78dd4fa4d2 | [
"BSD-3-Clause"
] | 1 | 2019-07-03T20:35:22.000Z | 2019-07-03T20:35:22.000Z | from . import bot
from . import config_spaces
from . import sklearn
| 13.8 | 27 | 0.768116 | 10 | 69 | 5.2 | 0.6 | 0.576923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188406 | 69 | 4 | 28 | 17.25 | 0.928571 | 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 |
209515769e0305875dba77990be0750bb976af34 | 9,391 | py | Python | legacy/minimize.py | patrikkj/algorithms | 25799fb57807eca1784202c499fda8a5a94acea3 | [
"MIT"
] | null | null | null | legacy/minimize.py | patrikkj/algorithms | 25799fb57807eca1784202c499fda8a5a94acea3 | [
"MIT"
] | null | null | null | legacy/minimize.py | patrikkj/algorithms | 25799fb57807eca1784202c499fda8a5a94acea3 | [
"MIT"
] | null | null | null | import numpy as np
from .helpers import (step_adam, step_gradient_descent, step_momentum,
step_rmsprop)
def mini_batch_gradient_descent(params, X, y, cost_func, grad_func,
alpha=0.01, epochs=100, k=64, l=0,
step_func=None, **hpar... | 44.933014 | 104 | 0.554041 | 1,115 | 9,391 | 4.587444 | 0.10583 | 0.052786 | 0.031672 | 0.039883 | 0.844184 | 0.833627 | 0.833627 | 0.803519 | 0.79433 | 0.782209 | 0 | 0.029185 | 0.33596 | 9,391 | 208 | 105 | 45.149038 | 0.791052 | 0.637845 | 0 | 0.441558 | 0 | 0 | 0.03215 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.077922 | false | 0 | 0.025974 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
20c0a0ab9c26529031cddba7ba1cc8566c11bc95 | 403 | py | Python | tests/integration/__init__.py | wlan0/docker-py | ae11d81b183db2f6641c6e64329820ac10597a13 | [
"Apache-2.0"
] | null | null | null | tests/integration/__init__.py | wlan0/docker-py | ae11d81b183db2f6641c6e64329820ac10597a13 | [
"Apache-2.0"
] | null | null | null | tests/integration/__init__.py | wlan0/docker-py | ae11d81b183db2f6641c6e64329820ac10597a13 | [
"Apache-2.0"
] | null | null | null | # flake8: noqa
# FIXME: crutch while we transition to the new folder architecture
# Remove imports when merged in master and Jenkins is updated to find the
# tests in the new location.
from .api_test import *
from .build_test import *
from .container_test import *
from .exec_test import *
from .image_test import *
fro... | 28.785714 | 73 | 0.776675 | 62 | 403 | 4.919355 | 0.580645 | 0.262295 | 0.321311 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002976 | 0.166253 | 403 | 13 | 74 | 31 | 0.904762 | 0.436725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
20ce9f12a4dad87f7dc18a01dcf1c6dd8b13d8fa | 26 | py | Python | exercises/transpose/transpose.py | RJTK/python | f9678d629735f75354bbd543eb7f10220a498dae | [
"MIT"
] | 1 | 2021-05-15T19:59:04.000Z | 2021-05-15T19:59:04.000Z | exercises/transpose/transpose.py | RJTK/python | f9678d629735f75354bbd543eb7f10220a498dae | [
"MIT"
] | null | null | null | exercises/transpose/transpose.py | RJTK/python | f9678d629735f75354bbd543eb7f10220a498dae | [
"MIT"
] | 2 | 2018-03-03T08:32:12.000Z | 2019-08-22T11:55:53.000Z | def transpose():
pass
| 8.666667 | 16 | 0.615385 | 3 | 26 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.269231 | 26 | 2 | 17 | 13 | 0.842105 | 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 |
20e671a114b0ec867421494a9b1d41a15f80e320 | 3,777 | py | Python | FastlyPythonCLI/scripts/WAF/emergency.py | hummelm10/FastlyPythonAPI | cf2d880649319c56f38a74bc76ea50c642ad2f11 | [
"MIT"
] | 1 | 2020-05-06T17:07:52.000Z | 2020-05-06T17:07:52.000Z | FastlyPythonCLI/scripts/WAF/emergency.py | hummelm10/FastlyPythonAPI | cf2d880649319c56f38a74bc76ea50c642ad2f11 | [
"MIT"
] | null | null | null | FastlyPythonCLI/scripts/WAF/emergency.py | hummelm10/FastlyPythonAPI | cf2d880649319c56f38a74bc76ea50c642ad2f11 | [
"MIT"
] | null | null | null | import requests
import scripts
import pprint
import pandas
from .listWAFIDs import listWAFIDsNoPrompt
def disableWAF():
print(scripts.bcolors.FAIL + scripts.bcolors.UNDERLINE + "EMERGENCY DISABLE: THIS IS TO BE USED IN AN EMERGENCY ONLY\n(Requires Superuser permissions)" + scripts.bcolors.ENDC + scripts.bcolors.EN... | 55.544118 | 243 | 0.610537 | 455 | 3,777 | 5.059341 | 0.23956 | 0.14596 | 0.093831 | 0.028236 | 0.83927 | 0.83927 | 0.823632 | 0.823632 | 0.787142 | 0.773675 | 0 | 0.002807 | 0.245433 | 3,777 | 68 | 244 | 55.544118 | 0.804912 | 0 | 0 | 0.651515 | 0 | 0.015152 | 0.312335 | 0.02541 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030303 | false | 0 | 0.075758 | 0 | 0.106061 | 0.136364 | 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 |
4561c551d821590b6ee24ff780ae4785a6cc7028 | 38,036 | py | Python | instances/passenger_demand/pas-20210421-2109-int18e/47.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int18e/47.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int18e/47.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 4249
passenger_arriving = (
(2, 15, 5, 3, 2, 0, 9, 9, 8, 5, 1, 0), # 0
(4, 9, 10, 3, 3, 0, 12, 10, 7, 10, 3, 0), # 1
(2, 6, 7, 2, 2, 0, 3, 17, 5, 7, 3, 0), # 2
(6, 13, 7, 7, 4, 0, 7, 14, 5, 7, 2, 0), # 3
(5, 12, 9, 3, 3, 0, 12, 10, 9, 9, 3, 0), # 4
(4, 13, 14, 5, 0, 0, 4... | 113.540299 | 213 | 0.73015 | 5,147 | 38,036 | 5.393627 | 0.239363 | 0.311228 | 0.246389 | 0.466842 | 0.328518 | 0.326645 | 0.326141 | 0.326141 | 0.326141 | 0.326141 | 0 | 0.81982 | 0.118677 | 38,036 | 334 | 214 | 113.88024 | 0.008323 | 0.031838 | 0 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.015823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4599568de9d33307f2941439c89fdd2b50cdda0f | 4,416 | py | Python | tests/test_objects_list.py | omaralvarez/trakt.py | 93a6beb73cdd37ffb354d2e9c1892dc39d9c4baf | [
"MIT"
] | null | null | null | tests/test_objects_list.py | omaralvarez/trakt.py | 93a6beb73cdd37ffb354d2e9c1892dc39d9c4baf | [
"MIT"
] | null | null | null | tests/test_objects_list.py | omaralvarez/trakt.py | 93a6beb73cdd37ffb354d2e9c1892dc39d9c4baf | [
"MIT"
] | null | null | null | from tests.core.helpers import authenticated_response
from trakt import Trakt
import responses
@responses.activate
def test_list_add():
responses.add_callback(
responses.GET, 'http://mock/users/me/lists/movies',
callback=authenticated_response('fixtures/users/me/lists/movies.json'),
conte... | 27.949367 | 79 | 0.643569 | 503 | 4,416 | 5.516899 | 0.109344 | 0.063063 | 0.108108 | 0.116757 | 0.932613 | 0.921081 | 0.921081 | 0.913874 | 0.913874 | 0.86018 | 0 | 0.01406 | 0.210824 | 4,416 | 158 | 80 | 27.949367 | 0.782209 | 0 | 0 | 0.669565 | 0 | 0 | 0.274847 | 0.083767 | 0 | 0 | 0 | 0 | 0.052174 | 1 | 0.052174 | false | 0 | 0.026087 | 0 | 0.078261 | 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 |
45bc50b731cf70112b5aafcabf3780fb8f683029 | 93 | py | Python | probe_ably/core/tasks/utils/__init__.py | ai-systems/Probe-Ably | 45b283ee5068289f9a1844cae9f109c000507723 | [
"MIT"
] | 12 | 2021-03-26T14:56:42.000Z | 2022-02-11T15:37:58.000Z | probe_ably/core/tasks/utils/__init__.py | ai-systems/Probe-Ably | 45b283ee5068289f9a1844cae9f109c000507723 | [
"MIT"
] | 1 | 2021-11-28T13:45:22.000Z | 2021-11-28T13:45:22.000Z | probe_ably/core/tasks/utils/__init__.py | ai-systems/Probe-Ably | 45b283ee5068289f9a1844cae9f109c000507723 | [
"MIT"
] | null | null | null | from .read_input_task import ReadInputTask
from .visualization_task import VisualiaztionTask
| 31 | 49 | 0.892473 | 11 | 93 | 7.272727 | 0.727273 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086022 | 93 | 2 | 50 | 46.5 | 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 |
45d108d58b5811673fd7982ea764cff0e29030a6 | 2,983 | py | Python | plugins/diffusion/tests/test_io.py | bsavelev/medipy | f0da3750a6979750d5f4c96aedc89ad5ae74545f | [
"CECILL-B"
] | null | null | null | plugins/diffusion/tests/test_io.py | bsavelev/medipy | f0da3750a6979750d5f4c96aedc89ad5ae74545f | [
"CECILL-B"
] | null | null | null | plugins/diffusion/tests/test_io.py | bsavelev/medipy | f0da3750a6979750d5f4c96aedc89ad5ae74545f | [
"CECILL-B"
] | 1 | 2022-03-04T05:47:08.000Z | 2022-03-04T05:47:08.000Z | import os
import shutil
import tempfile
import unittest
import numpy
import medipy.base
import medipy.io
import medipy.diffusion
class TestIO(unittest.TestCase):
def test_itk_io(self):
tensors = medipy.base.Image(
data=numpy.arange(10*20*30*6, dtype=numpy.single).reshape((10,20,30,6)),
... | 37.759494 | 89 | 0.642642 | 374 | 2,983 | 4.938503 | 0.184492 | 0.12994 | 0.032485 | 0.030319 | 0.894423 | 0.894423 | 0.881429 | 0.881429 | 0.881429 | 0.881429 | 0 | 0.041885 | 0.231646 | 2,983 | 78 | 90 | 38.24359 | 0.763962 | 0 | 0 | 0.610169 | 0 | 0 | 0.040228 | 0 | 0 | 0 | 0 | 0 | 0.305085 | 1 | 0.033898 | false | 0 | 0.135593 | 0 | 0.186441 | 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 |
2fb0d19430a1dfba3007eefc0c0eb056cf430ea1 | 6,522 | py | Python | tests/scaffold/test_validation.py | haowen-xu/tfsnippet-pre-alpha | 31eb2cf692ac25b95cc815aaca53754d6db42d9f | [
"MIT"
] | null | null | null | tests/scaffold/test_validation.py | haowen-xu/tfsnippet-pre-alpha | 31eb2cf692ac25b95cc815aaca53754d6db42d9f | [
"MIT"
] | null | null | null | tests/scaffold/test_validation.py | haowen-xu/tfsnippet-pre-alpha | 31eb2cf692ac25b95cc815aaca53754d6db42d9f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import os
import unittest
import tensorflow as tf
from tfsnippet.scaffold import early_stopping
from tfsnippet.utils import (TemporaryDirectory,
set_variable_values,
get_variable_values)
from tests.helper import TestCase
def _populate... | 43.771812 | 75 | 0.544312 | 802 | 6,522 | 4.240648 | 0.128429 | 0.024699 | 0.145545 | 0.131726 | 0.779771 | 0.774184 | 0.768303 | 0.752132 | 0.728609 | 0.678624 | 0 | 0.037868 | 0.323827 | 6,522 | 148 | 76 | 44.067568 | 0.733333 | 0.050751 | 0 | 0.652174 | 0 | 0 | 0.017155 | 0 | 0 | 0 | 0 | 0 | 0.417391 | 1 | 0.043478 | false | 0.008696 | 0.052174 | 0 | 0.113043 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2fc73255fc7175f53a2c57f4e7942a5944ee76dd | 5,754 | py | Python | TAE.py | behnamh217rn21/DTC | 4f70d6b24722bd9f8331502d9cae00d35686a4d2 | [
"MIT"
] | 153 | 2019-06-13T12:38:22.000Z | 2022-03-23T02:35:11.000Z | TAE.py | behnamh217rn21/DTC | 4f70d6b24722bd9f8331502d9cae00d35686a4d2 | [
"MIT"
] | 21 | 2019-11-19T11:38:26.000Z | 2022-02-13T21:07:11.000Z | TAE.py | behnamh217rn21/DTC | 4f70d6b24722bd9f8331502d9cae00d35686a4d2 | [
"MIT"
] | 48 | 2019-07-01T07:55:29.000Z | 2022-03-02T21:45:20.000Z | """
Implementation of the Deep Temporal Clustering model
Temporal Autoencoder (TAE)
@author Florent Forest (FlorentF9)
"""
from keras.models import Model
from keras.layers import Input, Conv1D, LeakyReLU, MaxPool1D, CuDNNLSTM, Bidirectional, TimeDistributed, Dense, Reshape
from keras.layers import UpSampling2D, Conv2... | 43.590909 | 181 | 0.715328 | 706 | 5,754 | 5.689802 | 0.154391 | 0.02589 | 0.047299 | 0.05178 | 0.868808 | 0.848643 | 0.836196 | 0.836196 | 0.808066 | 0.771222 | 0 | 0.012818 | 0.172923 | 5,754 | 131 | 182 | 43.923664 | 0.831267 | 0.322558 | 0 | 0.641509 | 0 | 0 | 0.084891 | 0 | 0 | 0 | 0 | 0 | 0.037736 | 1 | 0.037736 | false | 0 | 0.056604 | 0 | 0.132075 | 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 |
2fcde4aa9f5097aba12efe70f82fa5e688a50a08 | 16,582 | py | Python | apl104lib.py | maikeriva/APL104 | fe29a89e8965811313df6d06de8f878b10e7987e | [
"MIT"
] | 2 | 2020-01-10T06:52:02.000Z | 2020-01-14T19:44:47.000Z | apl104lib.py | maikeriva/APL104 | fe29a89e8965811313df6d06de8f878b10e7987e | [
"MIT"
] | null | null | null | apl104lib.py | maikeriva/APL104 | fe29a89e8965811313df6d06de8f878b10e7987e | [
"MIT"
] | null | null | null | """
apl104lib.py
Python library implementation of:
Interdiffusion across solid electrolyte-electrode interface
Applied Physics Letters 104 (2014)
Tested on:
- python 3.6.5
- numpy 1.14.2
- matplotlib 2.2.2
"""
import numpy as np
import matplotlib.pyplot as plt
import time
"""
1D model
""... | 45.554945 | 180 | 0.622301 | 2,603 | 16,582 | 3.925086 | 0.095659 | 0.01429 | 0.024273 | 0.021141 | 0.833023 | 0.796418 | 0.77743 | 0.757169 | 0.725653 | 0.714985 | 0 | 0.040321 | 0.181884 | 16,582 | 363 | 181 | 45.680441 | 0.712811 | 0.131166 | 0 | 0.671875 | 0 | 0 | 0.0339 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105469 | false | 0 | 0.011719 | 0.03125 | 0.199219 | 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 |
64226494c732aeeceef7d12ba018e16839e8d97f | 3,646 | py | Python | old_code/street_cross_exp.py | pulkitag/egomotion | fad2ab94b0c2f5533c79a01d1b0546b8d0c64f19 | [
"BSD-3-Clause"
] | 9 | 2017-11-25T14:24:23.000Z | 2022-03-25T07:08:28.000Z | old_code/street_cross_exp.py | pulkitag/egomotion | fad2ab94b0c2f5533c79a01d1b0546b8d0c64f19 | [
"BSD-3-Clause"
] | null | null | null | old_code/street_cross_exp.py | pulkitag/egomotion | fad2ab94b0c2f5533c79a01d1b0546b8d0c64f19 | [
"BSD-3-Clause"
] | 3 | 2017-10-13T02:30:28.000Z | 2021-06-30T05:55:42.000Z | ##Records/Performs the experiment which evaluate the pose model on the patch task and
## vice-versa.
import street_params as sp
import street_exp as se
import my_exp_ptch as mept
import my_exp_pose as mepo
import my_exp_v2 as mev2
def train_ptch_using_pose(isRun=False, deviceId=[0]):
ptPrms, ptCPrms = mept.smallnetv... | 45.012346 | 135 | 0.765222 | 500 | 3,646 | 5.312 | 0.196 | 0.060241 | 0.033886 | 0.035768 | 0.818901 | 0.791039 | 0.775226 | 0.748117 | 0.746988 | 0.746988 | 0 | 0.04731 | 0.153593 | 3,646 | 80 | 136 | 45.575 | 0.813351 | 0.176906 | 0 | 0.677419 | 0 | 0 | 0.051892 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.080645 | false | 0 | 0.080645 | 0 | 0.241935 | 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 |
ff5b4e0eba6b9304a2a09908cb2a3999b01dd80a | 14,470 | py | Python | koku/reporting/migrations/0103_azurecomputesummary_azurecostsummary_azurecostsummarybyaccount_azurecostsummarybylocation_azurecosts.py | Vasyka/koku | b5aa9ec41c3b0821e74afe9ff3a5ffaedb910614 | [
"Apache-2.0"
] | 2 | 2022-01-12T03:42:39.000Z | 2022-01-12T03:42:40.000Z | koku/reporting/migrations/0103_azurecomputesummary_azurecostsummary_azurecostsummarybyaccount_azurecostsummarybylocation_azurecosts.py | Vasyka/koku | b5aa9ec41c3b0821e74afe9ff3a5ffaedb910614 | [
"Apache-2.0"
] | null | null | null | koku/reporting/migrations/0103_azurecomputesummary_azurecostsummary_azurecostsummarybyaccount_azurecostsummarybylocation_azurecosts.py | Vasyka/koku | b5aa9ec41c3b0821e74afe9ff3a5ffaedb910614 | [
"Apache-2.0"
] | 1 | 2021-07-21T09:33:59.000Z | 2021-07-21T09:33:59.000Z | # Generated by Django 2.2.11 on 2020-03-25 18:52
import django.contrib.postgres.fields
from django.db import migrations
from django.db import models
class Migration(migrations.Migration):
dependencies = [("reporting", "0102_auto_20200228_1812")]
operations = [
migrations.CreateModel(
nam... | 43.716012 | 128 | 0.639737 | 1,662 | 14,470 | 5.291817 | 0.098075 | 0.079591 | 0.05685 | 0.070495 | 0.840819 | 0.780785 | 0.731666 | 0.720068 | 0.699375 | 0.684252 | 0 | 0.012479 | 0.257913 | 14,470 | 330 | 129 | 43.848485 | 0.806575 | 0.003179 | 0 | 0.61165 | 1 | 0.003236 | 0.593746 | 0.125087 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.009709 | 0 | 0.019417 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ff767c05e0464633a3c3327ed0a5c1bfd230ded3 | 65 | py | Python | graphpype/__init__.py | davidmeunier79/graphpype | 800d1f8cbfdf3a18de77558c3b88eeb31735857e | [
"BSD-3-Clause"
] | 17 | 2017-12-26T18:51:43.000Z | 2022-02-25T19:42:09.000Z | graphpype/__init__.py | davidmeunier79/graphpype | 800d1f8cbfdf3a18de77558c3b88eeb31735857e | [
"BSD-3-Clause"
] | 44 | 2017-12-09T19:14:08.000Z | 2021-08-17T14:42:48.000Z | graphpype/__init__.py | davidmeunier79/graphpype | 800d1f8cbfdf3a18de77558c3b88eeb31735857e | [
"BSD-3-Clause"
] | 12 | 2017-05-28T20:38:27.000Z | 2022-03-16T20:57:47.000Z | from . import pipelines # noqa
from . import interfaces # noqa
| 21.666667 | 32 | 0.723077 | 8 | 65 | 5.875 | 0.625 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215385 | 65 | 2 | 33 | 32.5 | 0.921569 | 0.138462 | 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 |
80ff3db18bef9a18287b2733b1c09bd2f373a218 | 13,287 | py | Python | tests/containers/test_AudioContainer.py | gertdekkers/dcase_util | e5b80cc98b28facad2f3fff9acba126487b19879 | [
"MIT"
] | null | null | null | tests/containers/test_AudioContainer.py | gertdekkers/dcase_util | e5b80cc98b28facad2f3fff9acba126487b19879 | [
"MIT"
] | null | null | null | tests/containers/test_AudioContainer.py | gertdekkers/dcase_util | e5b80cc98b28facad2f3fff9acba126487b19879 | [
"MIT"
] | null | null | null | """ Unit tests for AudioContainer """
import nose.tools
import dcase_util
import os
import numpy
import tempfile
def test_load():
# Mono
audio = dcase_util.containers.AudioContainer(
filename=dcase_util.utils.Example.audio_filename()
).load(
mono=True
)
nose.tools.eq_(audio.fs, 4... | 31.117096 | 98 | 0.656657 | 2,001 | 13,287 | 4.131434 | 0.072964 | 0.123019 | 0.143704 | 0.075481 | 0.874803 | 0.841055 | 0.803919 | 0.770412 | 0.738357 | 0.70473 | 0 | 0.055472 | 0.198164 | 13,287 | 426 | 99 | 31.190141 | 0.720481 | 0.03033 | 0 | 0.599379 | 0 | 0 | 0.011774 | 0 | 0 | 0 | 0 | 0 | 0.02795 | 1 | 0.031056 | false | 0.003106 | 0.015528 | 0 | 0.046584 | 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 |
441bf6f5a1be97369c1e6f93074df179605f6411 | 39 | py | Python | mizarlabs/transformers/__init__.py | MizarAI/mizar-labs | c6ec17bc3d9a91ec3f6ee2e7b20017499115fc37 | [
"MIT"
] | 18 | 2021-03-19T15:41:43.000Z | 2022-03-20T14:23:07.000Z | mizarlabs/transformers/__init__.py | MizarAI/mizar-labs | c6ec17bc3d9a91ec3f6ee2e7b20017499115fc37 | [
"MIT"
] | 14 | 2021-03-17T14:16:02.000Z | 2021-05-31T16:51:12.000Z | mizarlabs/transformers/__init__.py | MizarAI/mizar-labs | c6ec17bc3d9a91ec3f6ee2e7b20017499115fc37 | [
"MIT"
] | 3 | 2021-07-02T21:38:06.000Z | 2022-01-10T09:56:18.000Z | from .utils import IdentityTransformer
| 19.5 | 38 | 0.871795 | 4 | 39 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.971429 | 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 |
443d208ce4e7d48d2dc3609083791d96721ec308 | 13,452 | py | Python | tests/test_setup.py | nickzuber/add-reason | c0f902bc59a6b0eca044750d4a1c99c48754971f | [
"MIT"
] | 169 | 2017-12-18T21:48:01.000Z | 2020-05-25T01:19:08.000Z | tests/test_setup.py | nickzuber/add-reason | c0f902bc59a6b0eca044750d4a1c99c48754971f | [
"MIT"
] | 7 | 2017-12-30T05:43:42.000Z | 2018-02-23T02:49:14.000Z | tests/test_setup.py | nickzuber/add-reason | c0f902bc59a6b0eca044750d4a1c99c48754971f | [
"MIT"
] | 2 | 2018-02-08T16:25:17.000Z | 2018-02-08T23:24:40.000Z | import os
import subprocess
from tests.framework.base_command_test_case import BaseCommandTestCase
from tests.framework.context_manager import cd
class TestInit(BaseCommandTestCase):
# This is a portion of the postinstall script we generate that should always be there only once, since
# our script should never ... | 64.363636 | 148 | 0.717291 | 1,842 | 13,452 | 5.053746 | 0.084691 | 0.056719 | 0.030938 | 0.043829 | 0.893329 | 0.88119 | 0.875604 | 0.854979 | 0.847567 | 0.838866 | 0 | 0.000868 | 0.143993 | 13,452 | 208 | 149 | 64.673077 | 0.807555 | 0.040366 | 0 | 0.676301 | 0 | 0.017341 | 0.397953 | 0.070952 | 0 | 0 | 0 | 0 | 0.265896 | 1 | 0.132948 | false | 0.034682 | 0.023121 | 0 | 0.184971 | 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 |
92726e39c726bfb77d4b6e053ffdca72cb2c6fb3 | 96 | py | Python | venv/lib/python3.8/site-packages/rope/base/oi/type_hinting/providers/numpydocstrings.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/rope/base/oi/type_hinting/providers/numpydocstrings.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/rope/base/oi/type_hinting/providers/numpydocstrings.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/04/24/99/6e383995c777d21346cf27bed1be350c26cd82b9bd2745c6a780c01b54 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.458333 | 0 | 96 | 1 | 96 | 96 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
929757bef39e04b4376186e065d1cfa8ca63a044 | 13,187 | py | Python | tests/test_population.py | comic31/MongoDBQueriesManager | 34d2a0bd73777dc12ee860bbd8929254bed48791 | [
"MIT"
] | 2 | 2021-04-29T12:05:36.000Z | 2021-07-15T08:42:40.000Z | tests/test_population.py | comic31/MongoDBQueriesManager | 34d2a0bd73777dc12ee860bbd8929254bed48791 | [
"MIT"
] | null | null | null | tests/test_population.py | comic31/MongoDBQueriesManager | 34d2a0bd73777dc12ee860bbd8929254bed48791 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# coding: utf-8
# Copyright (c) Modos Team, 2020
import pytest
from mongo_queries_manager import mqm, LogicalPopulationError, LogicalSubPopulationError
class TestPopulation:
def test_empty_population(self):
query_result = mqm(string_query="populate=", populate=True)
asser... | 55.407563 | 120 | 0.401911 | 895 | 13,187 | 5.75419 | 0.105028 | 0.127767 | 0.116505 | 0.130485 | 0.866796 | 0.848544 | 0.80233 | 0.777476 | 0.732621 | 0.669515 | 0 | 0.008511 | 0.483203 | 13,187 | 237 | 121 | 55.64135 | 0.747175 | 0.005005 | 0 | 0.522843 | 0 | 0.010152 | 0.248818 | 0.099787 | 0 | 0 | 0 | 0 | 0.086294 | 1 | 0.086294 | false | 0 | 0.010152 | 0 | 0.101523 | 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 |
2bc83f7a6460e5b4c817a612aa26c80f1e0aa5f7 | 1,076 | py | Python | rest_framework_extensions/decorators.py | maryokhin/drf-extensions | 8223db2bdddaf3cd99f951b2291210c5fd5b0e6f | [
"MIT"
] | null | null | null | rest_framework_extensions/decorators.py | maryokhin/drf-extensions | 8223db2bdddaf3cd99f951b2291210c5fd5b0e6f | [
"MIT"
] | null | null | null | rest_framework_extensions/decorators.py | maryokhin/drf-extensions | 8223db2bdddaf3cd99f951b2291210c5fd5b0e6f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import warnings
def link(endpoint=None, is_for_list=False, **kwargs):
"""
Used to mark a method on a ViewSet that should be routed for GET requests.
"""
msg = 'link is pending deprecation. Use detail_route instead.'
warnings.warn(msg, PendingDeprecationWarning, stacklevel=2... | 29.888889 | 79 | 0.671004 | 141 | 1,076 | 4.93617 | 0.333333 | 0.043103 | 0.077586 | 0.048851 | 0.856322 | 0.856322 | 0.856322 | 0.856322 | 0.856322 | 0.856322 | 0 | 0.003663 | 0.238848 | 1,076 | 35 | 80 | 30.742857 | 0.846154 | 0.160781 | 0 | 0.666667 | 0 | 0 | 0.134328 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.190476 | false | 0 | 0.047619 | 0 | 0.428571 | 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 |
2bd6bebfa58de8e850328790a29e3c49bb9c5ebf | 257 | py | Python | container/pyf/schemas/classroom.py | Pompino/react-components-23KB | 3201a417c5160e1b77f29fc1eac74ae9dc10d6ad | [
"MIT"
] | 2 | 2021-10-30T18:18:33.000Z | 2021-12-01T10:21:28.000Z | container/pyf/schemas/classroom.py | Pompino/react-components-23KB | 3201a417c5160e1b77f29fc1eac74ae9dc10d6ad | [
"MIT"
] | null | null | null | container/pyf/schemas/classroom.py | Pompino/react-components-23KB | 3201a417c5160e1b77f29fc1eac74ae9dc10d6ad | [
"MIT"
] | null | null | null | from pydantic import BaseModel as BaseSchema
from simpleschemas import UserGetSimpleSchema, GroupGetSimpleSchema, EventGetSimpleSchema, ClassRoomGetSimpleSchema
class ClassRoomGetSchema(ClassRoomGetSimpleSchema):
class Config:
orm_mode = True | 32.125 | 115 | 0.836576 | 21 | 257 | 10.190476 | 0.809524 | 0.271028 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132296 | 257 | 8 | 116 | 32.125 | 0.959641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 1 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2be0f2e2264d868d4ffaee8e3626c464c7c8ebbf | 217 | py | Python | core/extensions/xtp/__init__.py | yunnant/kungfu | 03dba19c922a5950068bd2d223488b8543ad8dd1 | [
"Apache-2.0"
] | 2,209 | 2017-11-15T07:51:14.000Z | 2021-01-19T03:16:48.000Z | core/extensions/xtp/__init__.py | yunnant/kungfu | 03dba19c922a5950068bd2d223488b8543ad8dd1 | [
"Apache-2.0"
] | 45 | 2017-11-16T04:38:51.000Z | 2021-01-18T22:20:33.000Z | core/extensions/xtp/__init__.py | yunnant/kungfu | 03dba19c922a5950068bd2d223488b8543ad8dd1 | [
"Apache-2.0"
] | 889 | 2017-11-15T08:04:38.000Z | 2021-01-16T12:41:25.000Z | from . import ${PROJECT_NAME} as ext
from extensions import EXTENSION_REGISTRY_MD, EXTENSION_REGISTRY_TD
EXTENSION_REGISTRY_MD.register_extension('xtp', ext.MD)
EXTENSION_REGISTRY_TD.register_extension('xtp', ext.TD)
| 43.4 | 67 | 0.843318 | 31 | 217 | 5.548387 | 0.419355 | 0.395349 | 0.22093 | 0.244186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069124 | 217 | 4 | 68 | 54.25 | 0.851485 | 0 | 0 | 0 | 0 | 0 | 0.02765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
920fd84acb260e96a57d6c63a4c7b8e5cb0ed55a | 17,682 | py | Python | poda/segmentation/InceptionV4ResnetV2.py | gideonmanurung/poda | 0a64cfa474f82acb891454141bc537d81bc77092 | [
"MIT"
] | null | null | null | poda/segmentation/InceptionV4ResnetV2.py | gideonmanurung/poda | 0a64cfa474f82acb891454141bc537d81bc77092 | [
"MIT"
] | 4 | 2020-09-26T01:08:59.000Z | 2022-02-10T01:40:42.000Z | poda/segmentation/InceptionV4ResnetV2.py | gideonmanurung/poda | 0a64cfa474f82acb891454141bc537d81bc77092 | [
"MIT"
] | null | null | null | import tensorflow as tf
from poda.layers.convolutional import *
class InceptionV4ResnetV2(object):
def __init__(self, is_training = True):
"""[summary]
Arguments:
num_classes {[type]} -- [description]
Keyword Arguments:
input_tensor {[type]} -- [des... | 49.391061 | 151 | 0.490499 | 1,720 | 17,682 | 4.713953 | 0.084884 | 0.093241 | 0.037 | 0.042181 | 0.808954 | 0.76554 | 0.749877 | 0.73927 | 0.714726 | 0.699309 | 0 | 0.036208 | 0.406459 | 17,682 | 357 | 152 | 49.529412 | 0.736351 | 0.129567 | 0 | 0.634703 | 0 | 0 | 0.029148 | 0.006078 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031963 | false | 0 | 0.009132 | 0 | 0.073059 | 0.018265 | 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 |
a626c17f1ddc96620ae5513ec6da9897863fb641 | 173 | py | Python | rest_ml/firstApp/admin.py | Binucb/machineLearning_RestAPI | 5ffb51febd9ac31e74977aa20cb1ab8c9e44560a | [
"MIT"
] | null | null | null | rest_ml/firstApp/admin.py | Binucb/machineLearning_RestAPI | 5ffb51febd9ac31e74977aa20cb1ab8c9e44560a | [
"MIT"
] | 4 | 2021-03-19T02:02:07.000Z | 2021-06-04T22:54:44.000Z | rest_ml/firstApp/admin.py | Binucb/machineLearning_RestAPI | 5ffb51febd9ac31e74977aa20cb1ab8c9e44560a | [
"MIT"
] | null | null | null | from django.contrib import admin
from firstApp import models
# Register your models here.
admin.site.register(models.PersonDetail)
admin.site.register(models.MovieRating)
| 21.625 | 40 | 0.82659 | 23 | 173 | 6.217391 | 0.565217 | 0.125874 | 0.237762 | 0.321678 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098266 | 173 | 7 | 41 | 24.714286 | 0.916667 | 0.150289 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 |
a6f78b91c5bbb2598357f86be62fa5d4530bb764 | 177 | py | Python | contact/fields.py | uktrade/great-domestic-ui | e4c1e4783d7321e170ecb6fd5f9eb6c30cd21f4c | [
"MIT"
] | null | null | null | contact/fields.py | uktrade/great-domestic-ui | e4c1e4783d7321e170ecb6fd5f9eb6c30cd21f4c | [
"MIT"
] | 369 | 2019-02-18T15:53:55.000Z | 2021-06-09T13:17:37.000Z | contact/fields.py | uktrade/great-domestic-ui | e4c1e4783d7321e170ecb6fd5f9eb6c30cd21f4c | [
"MIT"
] | 3 | 2019-03-11T12:04:22.000Z | 2020-11-12T15:28:13.000Z | from directory_components.forms import DirectoryComponentsFieldMixin
from django import forms
class IntegerField(DirectoryComponentsFieldMixin, forms.IntegerField):
pass
| 22.125 | 70 | 0.858757 | 16 | 177 | 9.4375 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107345 | 177 | 7 | 71 | 25.285714 | 0.955696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
470ee63186367deeb54b613f36979408b5081240 | 20 | py | Python | __init__.py | rodrigo203203/person_track_yolo_detection | b6210467ca188af44b9c1b513fcbfa8af240a66a | [
"MIT"
] | null | null | null | __init__.py | rodrigo203203/person_track_yolo_detection | b6210467ca188af44b9c1b513fcbfa8af240a66a | [
"MIT"
] | null | null | null | __init__.py | rodrigo203203/person_track_yolo_detection | b6210467ca188af44b9c1b513fcbfa8af240a66a | [
"MIT"
] | null | null | null | from . import prueba | 20 | 20 | 0.8 | 3 | 20 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 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 |
5bbc5268cd81744970ec1919181a5071a75fc258 | 22 | py | Python | writing/__init__.py | akyruu/blender-cartography-addon | 4f34b029d9b6a72619227ab3ceaed9393506934e | [
"Apache-2.0"
] | null | null | null | writing/__init__.py | akyruu/blender-cartography-addon | 4f34b029d9b6a72619227ab3ceaed9393506934e | [
"Apache-2.0"
] | null | null | null | writing/__init__.py | akyruu/blender-cartography-addon | 4f34b029d9b6a72619227ab3ceaed9393506934e | [
"Apache-2.0"
] | null | null | null | from .writer import *
| 11 | 21 | 0.727273 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 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 |
5bc46372f756cc1ca3bfb90fe230442edd601420 | 3,999 | py | Python | mlxtk/doit_analyses/expval.py | f-koehler/mlxtk | 373aed06ab23ab9b70cd99e160228c50b87e939a | [
"MIT"
] | 2 | 2018-12-21T19:41:10.000Z | 2019-11-25T15:26:27.000Z | mlxtk/doit_analyses/expval.py | f-koehler/mlxtk | 373aed06ab23ab9b70cd99e160228c50b87e939a | [
"MIT"
] | 73 | 2017-12-22T13:30:16.000Z | 2022-02-22T04:21:14.000Z | mlxtk/doit_analyses/expval.py | f-koehler/mlxtk | 373aed06ab23ab9b70cd99e160228c50b87e939a | [
"MIT"
] | null | null | null | from pathlib import Path
from typing import List, Union
import matplotlib.pyplot as plt
import numpy
from mlxtk.doit_analyses.collect import collect_values
from mlxtk.doit_analyses.plot import doit_plot_individual
from mlxtk.inout.expval import read_expval_hdf5
from mlxtk.parameter_selection import load_scan
from mlx... | 28.564286 | 88 | 0.636409 | 506 | 3,999 | 4.794466 | 0.173913 | 0.046167 | 0.049464 | 0.026381 | 0.761748 | 0.72094 | 0.72094 | 0.72094 | 0.72094 | 0.72094 | 0 | 0.009804 | 0.234809 | 3,999 | 139 | 89 | 28.769784 | 0.783007 | 0 | 0 | 0.702703 | 0 | 0 | 0.072518 | 0.006002 | 0 | 0 | 0 | 0 | 0 | 1 | 0.072072 | false | 0 | 0.099099 | 0 | 0.243243 | 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 |
752792d2db55ad4d968b8ab127cfa45e80d8b3e6 | 31 | py | Python | invoice2data/__init__.py | GfxKai/invoice2data | caec851578e99d40b989cabba07cfdf61f71ac58 | [
"MIT"
] | 1 | 2018-02-14T17:24:09.000Z | 2018-02-14T17:24:09.000Z | invoice2data/__init__.py | GfxKai/invoice2data | caec851578e99d40b989cabba07cfdf61f71ac58 | [
"MIT"
] | null | null | null | invoice2data/__init__.py | GfxKai/invoice2data | caec851578e99d40b989cabba07cfdf61f71ac58 | [
"MIT"
] | 1 | 2020-08-15T19:38:16.000Z | 2020-08-15T19:38:16.000Z | from .main import extract_data
| 15.5 | 30 | 0.83871 | 5 | 31 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.925926 | 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 |
7537ad02c36716a036312fc684cd33bf734c864a | 26 | py | Python | src/perceptron/Neuron/__init__.py | SweetBubaleXXX/sweet-perceptron | 473f4372fb6821c073da249a35a06b82378357f6 | [
"MIT"
] | 1 | 2022-03-21T14:48:27.000Z | 2022-03-21T14:48:27.000Z | src/perceptron/Neuron/__init__.py | SweetBubaleXXX/sweet-perceptron | 473f4372fb6821c073da249a35a06b82378357f6 | [
"MIT"
] | null | null | null | src/perceptron/Neuron/__init__.py | SweetBubaleXXX/sweet-perceptron | 473f4372fb6821c073da249a35a06b82378357f6 | [
"MIT"
] | null | null | null | from .Neuron import Neuron | 26 | 26 | 0.846154 | 4 | 26 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.956522 | 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 |
7542753a75521d181dd4d8301078e512e589a13d | 125 | py | Python | RiboGraphViz/__init__.py | rkretsch/RiboGraphViz | 5a844dc9857bd4e20218ec65942ffbc899f8956f | [
"MIT"
] | 5 | 2020-09-11T23:32:59.000Z | 2022-03-31T09:01:11.000Z | RiboGraphViz/__init__.py | rkretsch/RiboGraphViz | 5a844dc9857bd4e20218ec65942ffbc899f8956f | [
"MIT"
] | 1 | 2021-08-13T20:40:46.000Z | 2021-08-13T23:15:15.000Z | RiboGraphViz/__init__.py | rkretsch/RiboGraphViz | 5a844dc9857bd4e20218ec65942ffbc899f8956f | [
"MIT"
] | 2 | 2021-07-28T20:03:36.000Z | 2022-01-08T07:11:09.000Z | from .RiboGraphViz import RiboGraphViz as RGV
from .LoopExtruder import LoopExtruder
from .LoopExtruder import StackExtruder
| 31.25 | 45 | 0.864 | 14 | 125 | 7.714286 | 0.5 | 0.296296 | 0.407407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112 | 125 | 3 | 46 | 41.666667 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f33dc56a546a050d746f893b7bec5e3047c2293b | 162 | py | Python | server/tests/__init__.py | natowi/pepi | 22df696209ac2545d1e8e1cf0c8822725acadb29 | [
"Apache-2.0"
] | 4 | 2017-08-30T03:17:34.000Z | 2019-09-24T08:57:41.000Z | server/tests/__init__.py | natowi/pepi | 22df696209ac2545d1e8e1cf0c8822725acadb29 | [
"Apache-2.0"
] | 14 | 2017-09-02T03:53:14.000Z | 2022-03-11T23:19:04.000Z | server/tests/__init__.py | natowi/pepi | 22df696209ac2545d1e8e1cf0c8822725acadb29 | [
"Apache-2.0"
] | 3 | 2019-03-27T18:33:25.000Z | 2021-07-17T02:18:19.000Z | from .test_server import MetaCameraServerContract
from .test_server_over_thrift import MetaCameraServerOverThrift
from .test_camera import AbstractCameraContract
| 40.5 | 63 | 0.907407 | 17 | 162 | 8.352941 | 0.588235 | 0.169014 | 0.197183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 162 | 3 | 64 | 54 | 0.946667 | 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 | 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 |
f364ccac5cd5496ec7276b703ef853b316a142bc | 128 | py | Python | mandala/core/exceptions.py | amakelov/mandala | a9ec051ef730ada4eed216c62a07b033126e78d5 | [
"Apache-2.0"
] | 9 | 2022-02-22T19:24:01.000Z | 2022-03-23T04:46:41.000Z | mandala/core/exceptions.py | amakelov/mandala | a9ec051ef730ada4eed216c62a07b033126e78d5 | [
"Apache-2.0"
] | null | null | null | mandala/core/exceptions.py | amakelov/mandala | a9ec051ef730ada4eed216c62a07b033126e78d5 | [
"Apache-2.0"
] | null | null | null | from ..common_imports import *
class SynchronizationError(Exception):
pass
class VRefNotInMemoryError(Exception):
pass | 18.285714 | 38 | 0.78125 | 12 | 128 | 8.25 | 0.75 | 0.262626 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148438 | 128 | 7 | 39 | 18.285714 | 0.908257 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.4 | 0.2 | 0 | 0.6 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
f38cecc11daf613785082bebda6a274a61e723f2 | 22,356 | py | Python | test/unit/live_cluster/test_manage_controller.py | jfwm2/aerospike-admin | 3ce721bbd249eca73046345620941a6aef325589 | [
"Apache-2.0"
] | null | null | null | test/unit/live_cluster/test_manage_controller.py | jfwm2/aerospike-admin | 3ce721bbd249eca73046345620941a6aef325589 | [
"Apache-2.0"
] | null | null | null | test/unit/live_cluster/test_manage_controller.py | jfwm2/aerospike-admin | 3ce721bbd249eca73046345620941a6aef325589 | [
"Apache-2.0"
] | null | null | null | from lib.base_controller import ShellException
import unittest
from mock import MagicMock, patch
from lib.live_cluster.client.info import ASProtocolError, ASResponse
from lib.live_cluster.manage_controller import (
ManageACLCreateRoleController,
ManageACLCreateUserController,
ManageACLQuotasRoleController,... | 37.447236 | 106 | 0.649803 | 2,641 | 22,356 | 5.189322 | 0.056797 | 0.060197 | 0.082087 | 0.084641 | 0.921343 | 0.916308 | 0.896826 | 0.884276 | 0.871069 | 0.858592 | 0 | 0.013138 | 0.24414 | 22,356 | 596 | 107 | 37.510067 | 0.797905 | 0 | 0 | 0.6639 | 0 | 0.004149 | 0.185632 | 0.03404 | 0 | 0 | 0 | 0 | 0.147303 | 1 | 0.072614 | false | 0.029046 | 0.014523 | 0 | 0.093361 | 0.056017 | 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 |
34346eb8110c90b4aeba3424b6d1fd701f282806 | 253 | py | Python | app/app/admin_views.py | AttiR/Flask-Web-Development | f8d6bf0f16b3858f21df87a3b09ed7dbe5d52636 | [
"MIT"
] | null | null | null | app/app/admin_views.py | AttiR/Flask-Web-Development | f8d6bf0f16b3858f21df87a3b09ed7dbe5d52636 | [
"MIT"
] | null | null | null | app/app/admin_views.py | AttiR/Flask-Web-Development | f8d6bf0f16b3858f21df87a3b09ed7dbe5d52636 | [
"MIT"
] | null | null | null | from app import app
from flask import render_template
@app.route("/admin/dashboard")
def dashboard():
return render_template("admin/dashboard.html")
@app.route("/admin/profile")
def profile():
return render_template("admin/profile.html") | 25.3 | 50 | 0.735178 | 33 | 253 | 5.545455 | 0.393939 | 0.229508 | 0.142077 | 0.273224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 253 | 10 | 51 | 25.3 | 0.831818 | 0 | 0 | 0 | 0 | 0 | 0.267717 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
346e7c5b1137d08aa04255422af6fff0a73b54d3 | 132 | py | Python | defaultindexfile.py | himanshurajora/VChat-Node | b5bca8491248b074607ad222931fa7965823ae09 | [
"MIT"
] | 2 | 2021-05-06T15:12:49.000Z | 2021-05-06T15:16:45.000Z | defaultindexfile.py | himanshurajora/VChat-Node | b5bca8491248b074607ad222931fa7965823ae09 | [
"MIT"
] | null | null | null | defaultindexfile.py | himanshurajora/VChat-Node | b5bca8491248b074607ad222931fa7965823ae09 | [
"MIT"
] | null | null | null | print("hello world")
print("this is another stuff i am gonna write in it")
print("see ya")
print("this is where the new file is") | 33 | 54 | 0.704545 | 25 | 132 | 3.72 | 0.76 | 0.193548 | 0.236559 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174242 | 132 | 4 | 55 | 33 | 0.853211 | 0 | 0 | 0 | 0 | 0 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
346f47182c2c06cb08adcdc75ffcb05376a32e22 | 307 | py | Python | paypalpayoutssdk/core/__init__.py | truthiswill/Payouts-Python-SDK | ba04ffafb8165a1b7cdfd5841f08a96dccdd190b | [
"BSD-Source-Code"
] | 23 | 2020-03-02T13:31:55.000Z | 2022-03-06T11:25:21.000Z | paypalpayoutssdk/core/__init__.py | truthiswill/Payouts-Python-SDK | ba04ffafb8165a1b7cdfd5841f08a96dccdd190b | [
"BSD-Source-Code"
] | 4 | 2020-09-26T08:40:26.000Z | 2022-03-01T17:29:51.000Z | paypalpayoutssdk/core/__init__.py | truthiswill/Payouts-Python-SDK | ba04ffafb8165a1b7cdfd5841f08a96dccdd190b | [
"BSD-Source-Code"
] | 21 | 2020-02-07T10:02:57.000Z | 2021-09-09T18:05:02.000Z | from paypalpayoutssdk.core.access_token import *
from paypalpayoutssdk.core.access_token_request import *
from paypalpayoutssdk.core.refresh_token_request import *
from paypalpayoutssdk.core.environment import *
from paypalpayoutssdk.core.paypal_http_client import *
from paypalpayoutssdk.core.util import * | 51.166667 | 57 | 0.86645 | 37 | 307 | 7 | 0.351351 | 0.46332 | 0.555985 | 0.579151 | 0.57529 | 0.324324 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074919 | 307 | 6 | 58 | 51.166667 | 0.911972 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3473e1d04173dce320ccfad6577589b952c4e190 | 37,934 | py | Python | python/REDSHIFT_DB_ENCRYPTED/REDSHIFT_DB_ENCRYPTED_test.py | UrfTheManatee/aws-config-rules | fbbfede71bf90f14a8b448447d28b12a68a1f20a | [
"CC0-1.0"
] | null | null | null | python/REDSHIFT_DB_ENCRYPTED/REDSHIFT_DB_ENCRYPTED_test.py | UrfTheManatee/aws-config-rules | fbbfede71bf90f14a8b448447d28b12a68a1f20a | [
"CC0-1.0"
] | null | null | null | python/REDSHIFT_DB_ENCRYPTED/REDSHIFT_DB_ENCRYPTED_test.py | UrfTheManatee/aws-config-rules | fbbfede71bf90f14a8b448447d28b12a68a1f20a | [
"CC0-1.0"
] | null | null | null | # Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You may
# not use this file except in compliance with the License. A copy of the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" fi... | 45.267303 | 128 | 0.442242 | 2,281 | 37,934 | 7.199036 | 0.207804 | 0.010962 | 0.044333 | 0.049083 | 0.811705 | 0.779307 | 0.774801 | 0.76932 | 0.76932 | 0.76932 | 0 | 0.040169 | 0.457268 | 37,934 | 837 | 129 | 45.321386 | 0.757432 | 0.021906 | 0 | 0.639429 | 0 | 0.007782 | 0.342689 | 0.088663 | 0 | 0 | 0 | 0 | 0.031128 | 1 | 0.015564 | false | 0 | 0.009079 | 0 | 0.037613 | 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 |
cad462b46d744a7bb97f4a59e074561b900bafaa | 169 | py | Python | app/app/calc.py | josekang/recipe-app-api | 059e5b048d09943ccb11442d584d83a5f4e036df | [
"MIT"
] | null | null | null | app/app/calc.py | josekang/recipe-app-api | 059e5b048d09943ccb11442d584d83a5f4e036df | [
"MIT"
] | null | null | null | app/app/calc.py | josekang/recipe-app-api | 059e5b048d09943ccb11442d584d83a5f4e036df | [
"MIT"
] | null | null | null | def add(x, y):
""" Add two numbers and return their sum"""
return x+y
def subtract(x, y):
""" Subtract to numbers and return their results"""
return x-y | 24.142857 | 55 | 0.621302 | 28 | 169 | 3.75 | 0.464286 | 0.07619 | 0.304762 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.248521 | 169 | 7 | 56 | 24.142857 | 0.826772 | 0.47929 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
1b6f15802051aabf0f363bfe4453b067eb32ef94 | 2,294 | py | Python | epytope/Data/pssms/smmpmbec/mat/A_26_03_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/smmpmbec/mat/A_26_03_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/smmpmbec/mat/A_26_03_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | A_26_03_9 = {0: {'A': 0.049, 'C': -0.208, 'E': -0.569, 'D': -0.387, 'G': 0.127, 'F': -0.129, 'I': 0.311, 'H': -0.25, 'K': 0.62, 'M': 0.204, 'L': 0.206, 'N': -0.038, 'Q': 0.063, 'P': 0.176, 'S': -0.032, 'R': 0.67, 'T': -0.177, 'W': -0.351, 'V': 0.02, 'Y': -0.305}, 1: {'A': -0.372, 'C': 0.11, 'E': 0.235, 'D': 0.145, 'G':... | 2,294 | 2,294 | 0.393636 | 557 | 2,294 | 1.615799 | 0.310592 | 0.02 | 0.011111 | 0.013333 | 0.031111 | 0 | 0 | 0 | 0 | 0 | 0 | 0.372723 | 0.162598 | 2,294 | 1 | 2,294 | 2,294 | 0.095783 | 0 | 0 | 0 | 0 | 0 | 0.079739 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1b9f6f5d303b9ad2ece7d73d6e474d7eef30db56 | 23,567 | py | Python | tests/test_atokaconn.py | openpolis/atokaconn | 071aebfc408e4f661a9cd98ea91daf9e01b87bad | [
"MIT"
] | 1 | 2021-08-13T10:36:34.000Z | 2021-08-13T10:36:34.000Z | tests/test_atokaconn.py | openpolis/atokaconn | 071aebfc408e4f661a9cd98ea91daf9e01b87bad | [
"MIT"
] | null | null | null | tests/test_atokaconn.py | openpolis/atokaconn | 071aebfc408e4f661a9cd98ea91daf9e01b87bad | [
"MIT"
] | null | null | null | import logging
from requests.exceptions import Timeout
from atokaconn import __version__, AtokaObjectDoesNotExist, AtokaResponseError, AtokaMultipleObjectsReturned, \
AtokaException, AtokaTimeoutException
from atokaconn import AtokaConn
from faker import Factory
from unittest import TestCase
from unittest.mock im... | 33.909353 | 115 | 0.622608 | 2,908 | 23,567 | 4.730055 | 0.073246 | 0.051618 | 0.041876 | 0.054962 | 0.838386 | 0.817884 | 0.791567 | 0.771065 | 0.736459 | 0.727154 | 0 | 0.01777 | 0.286036 | 23,567 | 694 | 116 | 33.958213 | 0.799715 | 0.175245 | 0 | 0.669725 | 0 | 0 | 0.068581 | 0.001099 | 0 | 0 | 0 | 0 | 0.103211 | 1 | 0.084862 | false | 0 | 0.020642 | 0.002294 | 0.116972 | 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 |
1baf2fcaf7159ab076b1c4d2870222d7a2a80ece | 245 | py | Python | test/runtime/frontend_test/tensorflow_test/util.py | gunpowder78/webdnn | c659ea49007f91d178ce422a1eebe289516a71ee | [
"MIT"
] | 1 | 2018-07-26T13:52:21.000Z | 2018-07-26T13:52:21.000Z | test/runtime/frontend_test/tensorflow_test/util.py | gunpowder78/webdnn | c659ea49007f91d178ce422a1eebe289516a71ee | [
"MIT"
] | null | null | null | test/runtime/frontend_test/tensorflow_test/util.py | gunpowder78/webdnn | c659ea49007f91d178ce422a1eebe289516a71ee | [
"MIT"
] | null | null | null | import logging
logging.getLogger("tensorflow").setLevel(logging.WARNING)
# noinspection PyUnresolvedReferences
import tensorflow as tf
# noinspection PyUnresolvedReferences
from webdnn.frontend.tensorflow.converter import TensorFlowConverter
| 24.5 | 68 | 0.861224 | 23 | 245 | 9.173913 | 0.652174 | 0.322275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 245 | 9 | 69 | 27.222222 | 0.937778 | 0.289796 | 0 | 0 | 0 | 0 | 0.05848 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1bc0d0c400f5e2c75cba06c90e875d42e90539d7 | 163 | py | Python | apps/responsible_disc/admin.py | blockomat2100/vulnman | 835ff3aae1168d8e2fa5556279bc86efd2e46472 | [
"MIT"
] | null | null | null | apps/responsible_disc/admin.py | blockomat2100/vulnman | 835ff3aae1168d8e2fa5556279bc86efd2e46472 | [
"MIT"
] | 23 | 2021-12-01T10:00:38.000Z | 2021-12-11T11:43:13.000Z | apps/responsible_disc/admin.py | blockomat2100/vulnman | 835ff3aae1168d8e2fa5556279bc86efd2e46472 | [
"MIT"
] | null | null | null | from django.contrib import admin
from apps.responsible_disc import models
admin.site.register(models.Vulnerability)
admin.site.register(models.VulnerabilityLog)
| 23.285714 | 44 | 0.852761 | 21 | 163 | 6.571429 | 0.619048 | 0.130435 | 0.246377 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07362 | 163 | 6 | 45 | 27.166667 | 0.913907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 |
1bc4003a82673af42ffaa542b30d9f8cf9ed719d | 196 | py | Python | braintree/exceptions/too_many_requests_error.py | futureironman/braintree_python | 26bb8a857bc29322a8bca2e8e0fe6d99cfe6a1ac | [
"MIT"
] | 182 | 2015-01-09T05:26:46.000Z | 2022-03-16T14:10:06.000Z | braintree/exceptions/too_many_requests_error.py | futureironman/braintree_python | 26bb8a857bc29322a8bca2e8e0fe6d99cfe6a1ac | [
"MIT"
] | 95 | 2015-02-24T23:29:56.000Z | 2022-03-13T03:27:58.000Z | braintree/exceptions/too_many_requests_error.py | futureironman/braintree_python | 26bb8a857bc29322a8bca2e8e0fe6d99cfe6a1ac | [
"MIT"
] | 93 | 2015-02-19T17:59:06.000Z | 2022-03-19T17:01:25.000Z | from braintree.exceptions.braintree_error import BraintreeError
class TooManyRequestsError(BraintreeError):
"""
Raised when the rate limit request threshold is exceeded.
"""
pass
| 24.5 | 63 | 0.760204 | 20 | 196 | 7.4 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 196 | 7 | 64 | 28 | 0.919255 | 0.290816 | 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 |
1bce3cb96247b723262e79c696c42ce97633e06f | 37 | py | Python | specter/modules/SpecterTools/packagermodule.py | iplo/Specter | e1cfe48c9656efdddb3abbd2ea7d0bfa38d1380e | [
"MIT"
] | 2 | 2017-04-09T19:40:03.000Z | 2017-04-21T16:49:57.000Z | specter/modules/SpecterTools/packagermodule.py | iplo/Specter | e1cfe48c9656efdddb3abbd2ea7d0bfa38d1380e | [
"MIT"
] | 1 | 2017-04-09T19:45:14.000Z | 2017-04-22T12:37:37.000Z | specter/modules/SpecterTools/packagermodule.py | iplo/Specter | e1cfe48c9656efdddb3abbd2ea7d0bfa38d1380e | [
"MIT"
] | null | null | null | def printname():
print("Packager")
| 12.333333 | 18 | 0.675676 | 4 | 37 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 37 | 3 | 19 | 12.333333 | 0.78125 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
59ef67df6b2617a20373d356ccca8f0058036eac | 189 | py | Python | python/test_rel_import/dir3/module3b.py | galdebert/sandbox | 1489ed6dfe0b7e44fbc4dc71942bf1d5377a9de9 | [
"Apache-2.0"
] | 1 | 2015-09-15T21:41:57.000Z | 2015-09-15T21:41:57.000Z | python/test_rel_import/dir3/module3b.py | autodefrost/sandbox | 1489ed6dfe0b7e44fbc4dc71942bf1d5377a9de9 | [
"Apache-2.0"
] | null | null | null | python/test_rel_import/dir3/module3b.py | autodefrost/sandbox | 1489ed6dfe0b7e44fbc4dc71942bf1d5377a9de9 | [
"Apache-2.0"
] | null | null | null | #from . import module3a # ok but pylint makes an error: Attempted relative import beyond top-level package (relative-beyond-top-level)
def func3b():
print('3b')
#module3a.func3a()
| 31.5 | 134 | 0.724868 | 26 | 189 | 5.269231 | 0.769231 | 0.131387 | 0.20438 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031646 | 0.164021 | 189 | 5 | 135 | 37.8 | 0.835443 | 0.78836 | 0 | 0 | 0 | 0 | 0.054054 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
94036ce97154cb2a51f593a1ed2d221389e7c264 | 282 | py | Python | cupy/cuda/memory_hooks/__init__.py | svlandeg/cupy | 484e007d5bf58a0445af2f6e7aa3fdfe0fcc2363 | [
"MIT"
] | 6,180 | 2016-11-01T14:22:30.000Z | 2022-03-31T08:39:20.000Z | cupy/cuda/memory_hooks/__init__.py | svlandeg/cupy | 484e007d5bf58a0445af2f6e7aa3fdfe0fcc2363 | [
"MIT"
] | 6,281 | 2016-12-22T07:42:31.000Z | 2022-03-31T19:57:02.000Z | cupy/cuda/memory_hooks/__init__.py | svlandeg/cupy | 484e007d5bf58a0445af2f6e7aa3fdfe0fcc2363 | [
"MIT"
] | 829 | 2017-02-23T05:46:12.000Z | 2022-03-27T17:40:03.000Z | from cupy.cuda.memory_hooks import debug_print # NOQA
from cupy.cuda.memory_hooks import line_profile # NOQA
# import class and function
from cupy.cuda.memory_hooks.debug_print import DebugPrintHook # NOQA
from cupy.cuda.memory_hooks.line_profile import LineProfileHook # NOQA
| 40.285714 | 71 | 0.826241 | 42 | 282 | 5.357143 | 0.380952 | 0.142222 | 0.213333 | 0.32 | 0.497778 | 0.395556 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120567 | 282 | 6 | 72 | 47 | 0.907258 | 0.159574 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 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 | 0 | 1 | 0 | 6 |
9405276746939238041e75e50590bbaf5faba208 | 20 | py | Python | python/testData/editing/tripleQuotesInsideTripleQuotedStringLiteral.after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/editing/tripleQuotesInsideTripleQuotedStringLiteral.after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/editing/tripleQuotesInsideTripleQuotedStringLiteral.after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | s = '''
'\\''''
'''
| 5 | 7 | 0.05 | 1 | 20 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 20 | 3 | 8 | 6.666667 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
941518d2b2d421b4b85957705d0030fc8262d4b3 | 20,870 | py | Python | src/geocurrency/rates/tests.py | comradekingu/geocurrency | 00131739555438b6926caea7c5b237bb23b9848d | [
"MIT"
] | null | null | null | src/geocurrency/rates/tests.py | comradekingu/geocurrency | 00131739555438b6926caea7c5b237bb23b9848d | [
"MIT"
] | null | null | null | src/geocurrency/rates/tests.py | comradekingu/geocurrency | 00131739555438b6926caea7c5b237bb23b9848d | [
"MIT"
] | null | null | null | import datetime
import uuid
from datetime import date
from django.contrib.auth.models import User
from django.core.cache import cache
from django.conf import settings
from django.test import TestCase
from rest_framework import status
from rest_framework.authtoken.models import Token
from rest_framework.test import API... | 37.468582 | 120 | 0.566459 | 2,196 | 20,870 | 5.197632 | 0.070128 | 0.069388 | 0.036446 | 0.050464 | 0.86061 | 0.841861 | 0.802436 | 0.772998 | 0.764237 | 0.749255 | 0 | 0.026194 | 0.306708 | 20,870 | 556 | 121 | 37.535971 | 0.762665 | 0 | 0 | 0.65251 | 0 | 0 | 0.097604 | 0.0046 | 0 | 0 | 0 | 0 | 0.15444 | 1 | 0.061776 | false | 0.001931 | 0.023166 | 0 | 0.096525 | 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 |
941a3fde75eb9abd61d2da57ff5caf55b245627c | 1,740 | py | Python | moog/env_wrappers/abstract_wrapper.py | juanpablordz/moog.github.io | d7995d3563492378d0877ce8d16f5ca9a8031794 | [
"Apache-2.0",
"MIT"
] | 22 | 2021-02-26T18:19:35.000Z | 2022-03-05T19:01:00.000Z | moog/env_wrappers/abstract_wrapper.py | juanpablordz/moog.github.io | d7995d3563492378d0877ce8d16f5ca9a8031794 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-04-01T06:15:02.000Z | 2021-04-23T13:14:12.000Z | moog/env_wrappers/abstract_wrapper.py | juanpablordz/moog.github.io | d7995d3563492378d0877ce8d16f5ca9a8031794 | [
"Apache-2.0",
"MIT"
] | 2 | 2021-05-02T02:20:39.000Z | 2021-05-06T16:24:35.000Z | """Abstract wrapper.
This file contains AbstractEnvironmentWrapper, an abstract base class for
environment wrappers that mimics the interface of the underlying environment.
"""
import abc
class AbstractEnvironmentWrapper(abc.ABC):
"""Abstract environment wrapper class.
All environment wrappers must inh... | 22.597403 | 77 | 0.683333 | 188 | 1,740 | 6.117021 | 0.239362 | 0.234783 | 0.292174 | 0.326087 | 0.258261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.243103 | 1,740 | 76 | 78 | 22.894737 | 0.873197 | 0.150575 | 0 | 0.234043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.361702 | false | 0 | 0.021277 | 0.340426 | 0.744681 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
9453a06e79f1363f657d9429737a9a558bc3a9e5 | 1,482 | py | Python | pa1-skeleton/pa1-data/8/www.stanford.edu_class_cs221_progAssignments_PA3_analysis.py | yzhong94/cs276-spring-2019 | a4780a9f88b8c535146040fe11bb513c91c5693b | [
"MIT"
] | null | null | null | pa1-skeleton/pa1-data/8/www.stanford.edu_class_cs221_progAssignments_PA3_analysis.py | yzhong94/cs276-spring-2019 | a4780a9f88b8c535146040fe11bb513c91c5693b | [
"MIT"
] | null | null | null | pa1-skeleton/pa1-data/8/www.stanford.edu_class_cs221_progAssignments_PA3_analysis.py | yzhong94/cs276-spring-2019 | a4780a9f88b8c535146040fe11bb513c91c5693b | [
"MIT"
] | null | null | null | analysis py licensing information please do not distribute or publish solutions to this project you are free to use and extend these projects for educational purposes the pacman ai projects were developed at uc berkeley primarily by john denero denero cs berkeley edu and dan klein klein cs berkeley edu for more info se... | 741 | 1,481 | 0.853576 | 217 | 1,482 | 5.792627 | 0.414747 | 0.08751 | 0.063644 | 0.107399 | 0.518695 | 0.518695 | 0.518695 | 0.518695 | 0.518695 | 0.518695 | 0 | 0.03125 | 0.136302 | 1,482 | 1 | 1,482 | 1,482 | 0.950781 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 1 | null | null | 1 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
84cc32ee525f608a0c3d16f25e8391b031a0c411 | 44 | py | Python | python/tinypostman/__init__.py | francc/tinypacks | 96c63e872068ac70222887d6a36b56f01048febb | [
"MIT-0"
] | 23 | 2015-06-16T21:33:44.000Z | 2021-06-20T01:19:10.000Z | python/tinypostman/__init__.py | francc/tinypacks | 96c63e872068ac70222887d6a36b56f01048febb | [
"MIT-0"
] | null | null | null | python/tinypostman/__init__.py | francc/tinypacks | 96c63e872068ac70222887d6a36b56f01048febb | [
"MIT-0"
] | 8 | 2015-09-04T20:07:29.000Z | 2020-06-22T04:48:30.000Z | #!/usr/bin/python
from tinypostman import *
| 14.666667 | 25 | 0.75 | 6 | 44 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 44 | 2 | 26 | 22 | 0.846154 | 0.363636 | 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 |
ca0a7666701e48d9a8acdf35dda9b4f2d842f32c | 46 | py | Python | zgres/tests/test_show.py | jinty/zgres | 88730e94bb543ec4d48c27523d02e3136b332173 | [
"MIT"
] | 12 | 2015-11-08T21:29:52.000Z | 2018-10-25T04:45:58.000Z | zgres/tests/test_show.py | jinty/zgres | 88730e94bb543ec4d48c27523d02e3136b332173 | [
"MIT"
] | null | null | null | zgres/tests/test_show.py | jinty/zgres | 88730e94bb543ec4d48c27523d02e3136b332173 | [
"MIT"
] | 6 | 2015-10-25T05:59:12.000Z | 2021-01-06T08:02:46.000Z | def test_import():
from zgres import show
| 15.333333 | 26 | 0.717391 | 7 | 46 | 4.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 46 | 2 | 27 | 23 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 1 | 0 | 1.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 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
ca171731bedf825af0644d55db11dce2ad1c068e | 102 | py | Python | tests/dd.py | laiyuanliang/myBlog | 0eb3a5e8ba857589a623c087fe2ca696b8339346 | [
"BSD-3-Clause"
] | null | null | null | tests/dd.py | laiyuanliang/myBlog | 0eb3a5e8ba857589a623c087fe2ca696b8339346 | [
"BSD-3-Clause"
] | null | null | null | tests/dd.py | laiyuanliang/myBlog | 0eb3a5e8ba857589a623c087fe2ca696b8339346 | [
"BSD-3-Clause"
] | null | null | null | import os
#direc = os.path.join(os.path.dirname(__file__), 'd.sql')
print(os.path.abspath(__file__))
| 20.4 | 57 | 0.72549 | 17 | 102 | 3.882353 | 0.647059 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 102 | 4 | 58 | 25.5 | 0.702128 | 0.54902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 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 | 0 | 1 | 0 | 6 |
ca30866aa21d788fd9582b7722ca56601dbe7379 | 5,090 | py | Python | output/models/nist_data/list_pkg/id/schema_instance/nistschema_sv_iv_list_id_enumeration_3_xsd/nistschema_sv_iv_list_id_enumeration_3.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 1 | 2021-08-14T17:59:21.000Z | 2021-08-14T17:59:21.000Z | output/models/nist_data/list_pkg/id/schema_instance/nistschema_sv_iv_list_id_enumeration_3_xsd/nistschema_sv_iv_list_id_enumeration_3.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 4 | 2020-02-12T21:30:44.000Z | 2020-04-15T20:06:46.000Z | output/models/nist_data/list_pkg/id/schema_instance/nistschema_sv_iv_list_id_enumeration_3_xsd/nistschema_sv_iv_list_id_enumeration_3.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | null | null | null | from dataclasses import dataclass, field
from enum import Enum
from typing import Optional
__NAMESPACE__ = "NISTSchema-SV-IV-list-ID-enumeration-3-NS"
class NistschemaSvIvListIdEnumeration3Type(Enum):
MLEADERS_FFACT_PRODUC_FAND_MEMORY_THAT_AND_MEA_ACHIEVED_SIGNATURE_P_TCOMPATIBILITY_TO_ABOUT_NETWORKING_ROBUST_FR... | 50.39604 | 333 | 0.729862 | 638 | 5,090 | 5.260188 | 0.363636 | 0.014303 | 0.016687 | 0.021454 | 0.889452 | 0.889452 | 0.889452 | 0.879917 | 0.879917 | 0.841478 | 0 | 0.001695 | 0.188605 | 5,090 | 100 | 334 | 50.9 | 0.810896 | 0 | 0 | 0.10989 | 0 | 0 | 0.363261 | 0.32947 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.032967 | 0 | 0.186813 | 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 |
ca776bb9333fc39e5aa2a696195e371b76534d94 | 138 | py | Python | pyyeti/nastran/__init__.py | twmacro/pyye | c4febd44be836bd87368da13c1fb0cf82838b687 | [
"BSD-3-Clause"
] | 17 | 2016-03-02T18:29:13.000Z | 2022-03-18T08:41:56.000Z | pyyeti/nastran/__init__.py | twmacro/pyye | c4febd44be836bd87368da13c1fb0cf82838b687 | [
"BSD-3-Clause"
] | 2 | 2021-04-15T02:11:10.000Z | 2021-12-06T12:49:57.000Z | pyyeti/nastran/__init__.py | twmacro/pyye | c4febd44be836bd87368da13c1fb0cf82838b687 | [
"BSD-3-Clause"
] | 6 | 2020-06-11T17:09:50.000Z | 2022-02-07T19:15:07.000Z | """
A collection of tools for working with Nastran files
"""
from .bulk import *
from .n2p import *
from .op2 import *
from . import op4
| 15.333333 | 52 | 0.702899 | 21 | 138 | 4.619048 | 0.714286 | 0.309278 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027273 | 0.202899 | 138 | 8 | 53 | 17.25 | 0.854545 | 0.376812 | 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 |
ca9a6019f7e38198676cf58bba1a1504560edd2d | 2,811 | py | Python | yolov2_caffe/udacity_darknet_label_converter.py | dedoogong/asrada | 55fbc6acae562d534ee0dcbc6b2931d77abe5203 | [
"Apache-2.0"
] | 2 | 2018-02-05T08:16:51.000Z | 2020-01-11T08:48:28.000Z | yolov2_caffe/udacity_darknet_label_converter.py | dedoogong/asrada | 55fbc6acae562d534ee0dcbc6b2931d77abe5203 | [
"Apache-2.0"
] | null | null | null | yolov2_caffe/udacity_darknet_label_converter.py | dedoogong/asrada | 55fbc6acae562d534ee0dcbc6b2931d77abe5203 | [
"Apache-2.0"
] | 1 | 2019-06-23T07:03:07.000Z | 2019-06-23T07:03:07.000Z | import os
import cv2 as cv
import csv
import numpy as np
csv_dir_1 = '/media/lee/ETC_300_150GB/FaceDB/object-dataset/labels.csv'
csv_root_dir_1 = '/media/lee/ETC_300_150GB/FaceDB/object-dataset/'
csv_dir_2 = '/media/lee/ETC_300_150GB/FaceDB/object-detection-crowdai/labels.csv'
csv_root_dir_2 = '/media/lee/ETC_300_150... | 33.464286 | 128 | 0.567414 | 421 | 2,811 | 3.510689 | 0.194774 | 0.032476 | 0.028417 | 0.037889 | 0.873478 | 0.774696 | 0.751015 | 0.751015 | 0.751015 | 0.751015 | 0 | 0.037475 | 0.278549 | 2,811 | 84 | 129 | 33.464286 | 0.691322 | 0.009605 | 0 | 0.507463 | 0 | 0 | 0.117541 | 0.081955 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.059701 | 0 | 0.059701 | 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 |
0460fadd2b2a71f8b43a411436e4f494440bcb0c | 139 | py | Python | settings/__init__.py | symeonp/choronzon | a9eed1ea2cab6bf2c3e020adf4951f6d01eecf72 | [
"BSD-3-Clause"
] | null | null | null | settings/__init__.py | symeonp/choronzon | a9eed1ea2cab6bf2c3e020adf4951f6d01eecf72 | [
"BSD-3-Clause"
] | null | null | null | settings/__init__.py | symeonp/choronzon | a9eed1ea2cab6bf2c3e020adf4951f6d01eecf72 | [
"BSD-3-Clause"
] | 1 | 2020-02-29T13:55:25.000Z | 2020-02-29T13:55:25.000Z | import platform
if platform.system() == 'Linux':
from system import *
elif platform.system() == 'Windows':
from winsystem import *
| 23.166667 | 36 | 0.683453 | 16 | 139 | 5.9375 | 0.5625 | 0.294737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18705 | 139 | 5 | 37 | 27.8 | 0.840708 | 0 | 0 | 0 | 0 | 0 | 0.086331 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 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 |
0466266d2220c9c760b9dacf4d32bb0347fb9a33 | 164 | py | Python | opyoid/bindings/self_binding/__init__.py | illuin-tech/opyoid | a2ca485e1820ba0d12a86ba91100aa097a1e5736 | [
"MIT"
] | 37 | 2020-08-25T07:22:41.000Z | 2022-03-18T03:05:53.000Z | opyoid/bindings/self_binding/__init__.py | illuin-tech/opyoid | a2ca485e1820ba0d12a86ba91100aa097a1e5736 | [
"MIT"
] | 18 | 2020-10-04T17:33:24.000Z | 2021-12-16T16:28:35.000Z | opyoid/bindings/self_binding/__init__.py | illuin-tech/opyoid | a2ca485e1820ba0d12a86ba91100aa097a1e5736 | [
"MIT"
] | 2 | 2021-01-26T19:58:15.000Z | 2021-11-30T01:10:25.000Z | from .from_class_provider import FromClassProvider
from .self_binding import SelfBinding
from .self_binding_to_provider_adapter import SelfBindingToProviderAdapter
| 41 | 74 | 0.908537 | 19 | 164 | 7.473684 | 0.578947 | 0.112676 | 0.211268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 164 | 3 | 75 | 54.666667 | 0.934211 | 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 | 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 |
04b62cbb1b4ac4c14a7ab80ed6743b18700bb823 | 24,977 | py | Python | Main Program.py | akri16/adi-mone-buzzer | b49df404eef589b5487b198b7aadf3777b9092d2 | [
"MIT"
] | null | null | null | Main Program.py | akri16/adi-mone-buzzer | b49df404eef589b5487b198b7aadf3777b9092d2 | [
"MIT"
] | null | null | null | Main Program.py | akri16/adi-mone-buzzer | b49df404eef589b5487b198b7aadf3777b9092d2 | [
"MIT"
] | null | null | null | import os
os.startfile('p.mp3')
from random import *
from qa import *
from intro import *
from functions import blank
from RULES import*
def asdf1 (t,h):
t1=eval(''.join((t,'n1')))
t2=eval(''.join((t,'n2')))
s=0
if h==1:
print '(1)',k1
print '(2)',k2
print '(3)',k3
print '(4)',k4
p... | 24.977 | 97 | 0.539016 | 3,573 | 24,977 | 3.726001 | 0.09096 | 0.0655 | 0.068955 | 0.043266 | 0.783895 | 0.761812 | 0.725607 | 0.704574 | 0.688876 | 0.670548 | 0 | 0.064237 | 0.310045 | 24,977 | 999 | 98 | 25.002002 | 0.708292 | 0.001201 | 0 | 0.739744 | 0 | 0 | 0.309308 | 0.005732 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.008974 | null | null | 0.337179 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
04b98009e7a3d9bca27a451c6b65771903ef34d0 | 6,239 | py | Python | tests/test_require_org_member.py | PropelAuth/propelauth-fastapi | 631bcfd923f25967214409ec8f87201096be9230 | [
"MIT"
] | null | null | null | tests/test_require_org_member.py | PropelAuth/propelauth-fastapi | 631bcfd923f25967214409ec8f87201096be9230 | [
"MIT"
] | null | null | null | tests/test_require_org_member.py | PropelAuth/propelauth-fastapi | 631bcfd923f25967214409ec8f87201096be9230 | [
"MIT"
] | null | null | null | from datetime import timedelta
from uuid import uuid4
from fastapi import Depends
from starlette.responses import PlainTextResponse
from tests.auth_helpers import create_access_token, orgs_to_org_id_map, random_org, random_user_id
from tests.conftest import HTTP_BASE_AUTH_URL
from propelauth_fastapi import UserRole
... | 36.91716 | 104 | 0.741946 | 955 | 6,239 | 4.369634 | 0.092147 | 0.062305 | 0.045291 | 0.050324 | 0.816439 | 0.787203 | 0.784807 | 0.784807 | 0.78313 | 0.770189 | 0 | 0.006835 | 0.155794 | 6,239 | 168 | 105 | 37.136905 | 0.785457 | 0.00593 | 0 | 0.663793 | 0 | 0 | 0.087903 | 0.032258 | 0 | 0 | 0 | 0 | 0.137931 | 1 | 0.103448 | false | 0 | 0.060345 | 0.008621 | 0.181034 | 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 |
04dbbb817466a90a9dede798d66c632f8c1fae56 | 147 | py | Python | quizmous_api/version.py | szykol/quizmous-api | b33704701f258752bab0cddff44e7f357d6d5a99 | [
"MIT"
] | 4 | 2020-05-17T19:26:55.000Z | 2021-12-04T17:58:17.000Z | quizmous_api/version.py | szykol/quizmous-api | b33704701f258752bab0cddff44e7f357d6d5a99 | [
"MIT"
] | null | null | null | quizmous_api/version.py | szykol/quizmous-api | b33704701f258752bab0cddff44e7f357d6d5a99 | [
"MIT"
] | null | null | null | from json import load
def get_api_version():
with open('/usr/local/api/version.json', 'r') as version_file:
return load(version_file)
| 24.5 | 66 | 0.70068 | 23 | 147 | 4.304348 | 0.695652 | 0.20202 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176871 | 147 | 5 | 67 | 29.4 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 0.183673 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
b6f98dc527c7501d7e3880fb20d885cc038421f3 | 53 | py | Python | PythonCrashCourse/3List/clip_test.py | dzylikecode/Python_Tutorial | bff425b11d6eeaa5733c1c710a570f83c52e4d97 | [
"MIT"
] | null | null | null | PythonCrashCourse/3List/clip_test.py | dzylikecode/Python_Tutorial | bff425b11d6eeaa5733c1c710a570f83c52e4d97 | [
"MIT"
] | null | null | null | PythonCrashCourse/3List/clip_test.py | dzylikecode/Python_Tutorial | bff425b11d6eeaa5733c1c710a570f83c52e4d97 | [
"MIT"
] | null | null | null | list = [0, 1, 2, 3, 4, 5, 6, 7, 8]
print(list[1:-1])
| 17.666667 | 34 | 0.45283 | 14 | 53 | 1.714286 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.268293 | 0.226415 | 53 | 2 | 35 | 26.5 | 0.317073 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
6d072f189ad7ba990ab26410eca98ffec6db6f31 | 29 | py | Python | crawlino/modules/sources_module/__init__.py | BBVA/crawlino | 685f57e6b3e9356484ead2681bb178f651d2f371 | [
"Apache-2.0"
] | 1 | 2018-11-11T21:07:54.000Z | 2018-11-11T21:07:54.000Z | crawlino/modules/sources_module/__init__.py | BBVA/crawlino | 685f57e6b3e9356484ead2681bb178f651d2f371 | [
"Apache-2.0"
] | null | null | null | crawlino/modules/sources_module/__init__.py | BBVA/crawlino | 685f57e6b3e9356484ead2681bb178f651d2f371 | [
"Apache-2.0"
] | null | null | null | from .plugins_model import *
| 14.5 | 28 | 0.793103 | 4 | 29 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.88 | 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 |
6d4588df711bf8609b1c23abeddd81d4f0629456 | 292 | py | Python | Python/Strings/designer-door-mat.py | mateusnr/hackerrank-solutions | 2fa60bae480d8afb46e3d99929707a7d9d92858f | [
"CC0-1.0"
] | 1 | 2015-08-01T04:03:47.000Z | 2015-08-01T04:03:47.000Z | Python/Strings/designer-door-mat.py | mateusnr/hackerrank-solutions | 2fa60bae480d8afb46e3d99929707a7d9d92858f | [
"CC0-1.0"
] | null | null | null | Python/Strings/designer-door-mat.py | mateusnr/hackerrank-solutions | 2fa60bae480d8afb46e3d99929707a7d9d92858f | [
"CC0-1.0"
] | 4 | 2020-05-04T15:12:21.000Z | 2021-02-18T11:58:30.000Z | N, M = map(int,input().split())
for i in range(1,N,2):
print('-' * int((M-(3*i))/2) + i*'.|.' + '-' * int((M-(3*i))/2))
print('-' * int((M-7)/2) + "WELCOME" + '-' * int((M-7)/2))
for i in range(N-2,-1,-2):
print('-' * int((M - (3 * i)) / 2) + i * '.|.' + '-' * int((M - (3 * i)) / 2)) | 48.666667 | 82 | 0.380137 | 55 | 292 | 2.018182 | 0.290909 | 0.216216 | 0.18018 | 0.216216 | 0.378378 | 0.378378 | 0.378378 | 0.378378 | 0.378378 | 0.378378 | 0 | 0.073276 | 0.205479 | 292 | 6 | 82 | 48.666667 | 0.405172 | 0 | 0 | 0.333333 | 0 | 0 | 0.064846 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
b65a8e8dd9515dcfca09370480910afbd6d840cc | 19 | py | Python | bayesian_networks_intro.py | https-seyhan/Bayesian-Networks | bf69e2cf52eba37ffea5596b767454899422bd9f | [
"MIT"
] | null | null | null | bayesian_networks_intro.py | https-seyhan/Bayesian-Networks | bf69e2cf52eba37ffea5596b767454899422bd9f | [
"MIT"
] | null | null | null | bayesian_networks_intro.py | https-seyhan/Bayesian-Networks | bf69e2cf52eba37ffea5596b767454899422bd9f | [
"MIT"
] | null | null | null | import pymc3 as pm
| 9.5 | 18 | 0.789474 | 4 | 19 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 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 |
b667077f312cf39b99ae8493d597f29204857a42 | 126 | py | Python | mcetl/cli_utils/__init__.py | materials-commons/pymcetl | b4311ba50bb35bc36527b9d313a91778f9550a92 | [
"MIT"
] | null | null | null | mcetl/cli_utils/__init__.py | materials-commons/pymcetl | b4311ba50bb35bc36527b9d313a91778f9550a92 | [
"MIT"
] | null | null | null | mcetl/cli_utils/__init__.py | materials-commons/pymcetl | b4311ba50bb35bc36527b9d313a91778f9550a92 | [
"MIT"
] | null | null | null | try:
from pathlib import Path
Path().expanduser()
except (ImportError, AttributeError):
from pathlib2 import Path
| 21 | 37 | 0.722222 | 14 | 126 | 6.5 | 0.714286 | 0.21978 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009901 | 0.198413 | 126 | 5 | 38 | 25.2 | 0.891089 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 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 |
b686af997b0efadf779a323fd3ef06eed8d7c64f | 143 | py | Python | azure/cognitive/Emotion.py | crwilcox/MicrosoftCognitive | 62913e9c6d04d0b698d4b548c517cea07396eaf3 | [
"Apache-2.0"
] | null | null | null | azure/cognitive/Emotion.py | crwilcox/MicrosoftCognitive | 62913e9c6d04d0b698d4b548c517cea07396eaf3 | [
"Apache-2.0"
] | null | null | null | azure/cognitive/Emotion.py | crwilcox/MicrosoftCognitive | 62913e9c6d04d0b698d4b548c517cea07396eaf3 | [
"Apache-2.0"
] | null | null | null | raise NotImplementedError("Not Implemented. Jupyter Notebooks on these APIs are here: https://github.com/Microsoft/Cognitive-Emotion-Python ")
| 71.5 | 142 | 0.818182 | 18 | 143 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083916 | 143 | 1 | 143 | 143 | 0.89313 | 0 | 0 | 0 | 0 | 1 | 0.79021 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b6a3482ded0b1416ab665e9ddc374c24d4db10ed | 197 | py | Python | subject/contrib/plugins/artifacts_sample/__init__.py | laoyigrace/subject | e6ed989fdc250917a19788112b22322b73b3550f | [
"Apache-2.0"
] | null | null | null | subject/contrib/plugins/artifacts_sample/__init__.py | laoyigrace/subject | e6ed989fdc250917a19788112b22322b73b3550f | [
"Apache-2.0"
] | null | null | null | subject/contrib/plugins/artifacts_sample/__init__.py | laoyigrace/subject | e6ed989fdc250917a19788112b22322b73b3550f | [
"Apache-2.0"
] | null | null | null | from subject.contrib.plugins.artifacts_sample.v1 import artifact as art1
from subject.contrib.plugins.artifacts_sample.v2 import artifact as art2
MY_ARTIFACT = [art1.MyArtifact, art2.MyArtifact]
| 32.833333 | 72 | 0.837563 | 28 | 197 | 5.785714 | 0.535714 | 0.135802 | 0.222222 | 0.308642 | 0.493827 | 0.493827 | 0 | 0 | 0 | 0 | 0 | 0.03352 | 0.091371 | 197 | 5 | 73 | 39.4 | 0.871508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 |
fcc7975a3e747f5bd52d538e404d99777f6c893c | 180 | py | Python | tests/extract_method/test_9.py | Amin-MAG/CodART | a964a506d031f6eea505df081b9ba946f490d021 | [
"MIT"
] | 1 | 2021-10-10T23:56:49.000Z | 2021-10-10T23:56:49.000Z | tests/extract_method/test_9.py | Amin-MAG/CodART | a964a506d031f6eea505df081b9ba946f490d021 | [
"MIT"
] | null | null | null | tests/extract_method/test_9.py | Amin-MAG/CodART | a964a506d031f6eea505df081b9ba946f490d021 | [
"MIT"
] | 1 | 2021-08-21T11:25:49.000Z | 2021-08-21T11:25:49.000Z | """
extracting lines containing method calls
test status: failed
"""
from refactorings.extract_method import extract_method
import os
import errno
def main():
pass
| 12.857143 | 54 | 0.733333 | 22 | 180 | 5.909091 | 0.772727 | 0.2 | 0.292308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205556 | 180 | 13 | 55 | 13.846154 | 0.909091 | 0.338889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0.2 | 0.6 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
1e125e069951aa5943282e8630e9541ec6266a68 | 9,024 | py | Python | openstackinabox/tests/services/keystone/v2/user/test_update.py | BenjamenMeyer/openstackinabox | b5097695719b818dd06e3773899f80a15e7e71c1 | [
"Apache-2.0"
] | 1 | 2017-11-19T20:31:48.000Z | 2017-11-19T20:31:48.000Z | openstackinabox/tests/services/keystone/v2/user/test_update.py | TestInABox/openstackinabox | 00dcac601d14e1cfc240840dd92895ee322caf96 | [
"Apache-2.0"
] | 38 | 2016-05-05T18:03:21.000Z | 2020-04-11T03:33:01.000Z | openstackinabox/tests/services/keystone/v2/user/test_update.py | BenjamenMeyer/openstackinabox | b5097695719b818dd06e3773899f80a15e7e71c1 | [
"Apache-2.0"
] | 1 | 2015-05-28T14:53:46.000Z | 2015-05-28T14:53:46.000Z | """
Stack-In-A-Box: Basic Test
"""
import json
import unittest
import requests
import stackinabox.util.requests_mock.core
from stackinabox.stack import StackInABox
from openstackinabox.services.keystone import KeystoneV2Service
class TestKeystoneV2UserUpdate(unittest.TestCase):
def setUp(self):
super(T... | 47.746032 | 75 | 0.565935 | 976 | 9,024 | 5.039959 | 0.095287 | 0.091075 | 0.136613 | 0.159382 | 0.858711 | 0.810734 | 0.78085 | 0.76174 | 0.747103 | 0.747103 | 0 | 0.011031 | 0.296764 | 9,024 | 188 | 76 | 48 | 0.764103 | 0.002881 | 0 | 0.623529 | 0 | 0 | 0.149611 | 0.002336 | 0 | 0 | 0 | 0 | 0.052941 | 1 | 0.064706 | false | 0.047059 | 0.035294 | 0 | 0.105882 | 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 |
1e7952c2f8bcfb01e23c83ef5580af74e47174fb | 19 | py | Python | clib/__init__.py | bracca95/Probabilistic-Face-Embeddings | 3a4ae6f5e7b0287dbba55f14618cbfaf7ccb7b41 | [
"MIT"
] | 312 | 2019-04-22T03:29:27.000Z | 2022-03-30T07:29:04.000Z | clib/__init__.py | guanfangdong/Probabilistic-Face-Embeddings | 23191e9b068dbf495a37daa071a1383f12f2799b | [
"MIT"
] | 15 | 2019-04-28T20:57:46.000Z | 2021-10-13T07:26:55.000Z | clib/__init__.py | guanfangdong/Probabilistic-Face-Embeddings | 23191e9b068dbf495a37daa071a1383f12f2799b | [
"MIT"
] | 57 | 2019-04-23T02:38:07.000Z | 2022-03-21T13:05:06.000Z | from .mls import *
| 9.5 | 18 | 0.684211 | 3 | 19 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.866667 | 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 |
1ebbc67bb522a03771db9858ec68b68ddccdf463 | 257 | py | Python | trees/tssb/__init__.py | islamazhar/trees | 502565c5bf02503c7bece09cddd93f9368da02c3 | [
"MIT"
] | null | null | null | trees/tssb/__init__.py | islamazhar/trees | 502565c5bf02503c7bece09cddd93f9368da02c3 | [
"MIT"
] | null | null | null | trees/tssb/__init__.py | islamazhar/trees | 502565c5bf02503c7bece09cddd93f9368da02c3 | [
"MIT"
] | null | null | null | from trees.tssb.tssb import TSSB
from trees.tssb.itssb import InteractiveTSSB
from trees.tssb.gibbs import GibbsSampler
from trees.tssb.parameter import GaussianParameterProcess
from trees.tssb.df import DepthFunction, QuadraticDepth
import trees.tssb.util
| 36.714286 | 57 | 0.859922 | 35 | 257 | 6.314286 | 0.4 | 0.244344 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089494 | 257 | 6 | 58 | 42.833333 | 0.944444 | 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 |
9493617586973d6676a50a84d7aa4061b3d71aec | 114 | py | Python | atlas/providers/env.py | citruspi/Atlas | ae9d47e7410e7bb50b8891e6cbe1803620f46588 | [
"Unlicense"
] | null | null | null | atlas/providers/env.py | citruspi/Atlas | ae9d47e7410e7bb50b8891e6cbe1803620f46588 | [
"Unlicense"
] | null | null | null | atlas/providers/env.py | citruspi/Atlas | ae9d47e7410e7bb50b8891e6cbe1803620f46588 | [
"Unlicense"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf8 -*-
import os
def env(variable):
return os.environ.get(variable)
| 11.4 | 35 | 0.640351 | 16 | 114 | 4.5625 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010753 | 0.184211 | 114 | 9 | 36 | 12.666667 | 0.774194 | 0.359649 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 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 |
44f4a198ac8866b45cb790c1bbd52360070ab988 | 165 | py | Python | test1.py | ytyaru/Python.pylangstudy.Subjects.Data.Partial.201705221751 | fd63dd3b7c0e1151365a1c66d32cc15d8c699916 | [
"CC0-1.0"
] | null | null | null | test1.py | ytyaru/Python.pylangstudy.Subjects.Data.Partial.201705221751 | fd63dd3b7c0e1151365a1c66d32cc15d8c699916 | [
"CC0-1.0"
] | null | null | null | test1.py | ytyaru/Python.pylangstudy.Subjects.Data.Partial.201705221751 | fd63dd3b7c0e1151365a1c66d32cc15d8c699916 | [
"CC0-1.0"
] | null | null | null | def Dict1():
return {'key1': 'value1'}
def Dict2():
return {'key2': 'value1'}
# print(Dict1().update(Dict2())) # None
d = Dict1()
d.update(Dict2())
print(d)
| 18.333333 | 39 | 0.587879 | 22 | 165 | 4.409091 | 0.5 | 0.226804 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072464 | 0.163636 | 165 | 8 | 40 | 20.625 | 0.630435 | 0.218182 | 0 | 0 | 0 | 0 | 0.15873 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.285714 | 0.571429 | 0.142857 | 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 |
781153a4c14bf8e15626011bb1b33fe4dddcd3d6 | 141 | py | Python | SimPEG/utils/meshutils.py | prisae/simpeg | 5cdd1b496bddcf3d9acd714b901a57bad6fb1ef9 | [
"MIT"
] | 3 | 2021-08-04T02:27:41.000Z | 2022-01-12T00:20:07.000Z | SimPEG/utils/meshutils.py | thast/simpeg | 8021082b8b53f3c08fa87fc085547bdd56437c6b | [
"MIT"
] | 2 | 2020-06-16T00:11:37.000Z | 2020-07-10T19:45:09.000Z | SimPEG/utils/meshutils.py | thast/simpeg | 8021082b8b53f3c08fa87fc085547bdd56437c6b | [
"MIT"
] | 1 | 2021-12-29T00:06:07.000Z | 2021-12-29T00:06:07.000Z | from .code_utils import deprecate_module
deprecate_module("meshutils", "mesh_utils", "0.16.0", future_warn=True)
from .mesh_utils import *
| 23.5 | 71 | 0.780142 | 21 | 141 | 4.952381 | 0.619048 | 0.211538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031496 | 0.099291 | 141 | 5 | 72 | 28.2 | 0.787402 | 0 | 0 | 0 | 0 | 0 | 0.177305 | 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 |
7821f2a895ed1e8f9878313a8ef1a8553a2f9dd9 | 163 | py | Python | app/auth/__init__.py | luxutao/staffms | 6fe2a263fca4a817fbd18965327bd8ad5326dc6b | [
"Apache-2.0"
] | 1 | 2019-12-25T11:11:33.000Z | 2019-12-25T11:11:33.000Z | app/auth/__init__.py | luxutao/staffms | 6fe2a263fca4a817fbd18965327bd8ad5326dc6b | [
"Apache-2.0"
] | null | null | null | app/auth/__init__.py | luxutao/staffms | 6fe2a263fca4a817fbd18965327bd8ad5326dc6b | [
"Apache-2.0"
] | null | null | null | #!/usr/local/bin/python3
# -*- conding: utf-8 -*-
from flask import Blueprint
auth_api = Blueprint('auth', __name__, url_prefix='/api/auth')
from . import views | 20.375 | 62 | 0.699387 | 23 | 163 | 4.695652 | 0.73913 | 0.240741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 0.128834 | 163 | 8 | 63 | 20.375 | 0.746479 | 0.282209 | 0 | 0 | 0 | 0 | 0.112069 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 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 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
788b6c2d64fc46b3979208b77756c41de2149fb3 | 261 | py | Python | Python/04/Py04_03.py | Pantoofle/Language-Practice | f5d4b3f5eb745f0e9abf50f2ddb08fd902225f07 | [
"MIT"
] | null | null | null | Python/04/Py04_03.py | Pantoofle/Language-Practice | f5d4b3f5eb745f0e9abf50f2ddb08fd902225f07 | [
"MIT"
] | null | null | null | Python/04/Py04_03.py | Pantoofle/Language-Practice | f5d4b3f5eb745f0e9abf50f2ddb08fd902225f07 | [
"MIT"
] | null | null | null | #! /usr/bin/env python3
x = 2.21
print(str(x), "Gigowatts !!!", str(x), "Gigowatts !! Nom de Zeus ! Marty !")
print("%s Gigowatts !!! %s Gigowatts !! Nom de Zeus ! Marty !" %(x, x))
print("{} Gigowatts !!! {} Gigowatts !! Nom de Zeus ! Marty !".format(x, x))
| 32.625 | 76 | 0.578544 | 39 | 261 | 3.871795 | 0.410256 | 0.238411 | 0.278146 | 0.357616 | 0.456954 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018692 | 0.180077 | 261 | 7 | 77 | 37.285714 | 0.686916 | 0.084291 | 0 | 0 | 0 | 0 | 0.651261 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.75 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
78c3a2c3801c686e3f64453a63ceafc93bc89b29 | 812 | py | Python | src/gelanis/sql/_expressions/aggregate/aggregations.py | svaningelgem/gelanis | 12360ead579816e5a2764dc9f995449bacf67ecc | [
"Apache-2.0"
] | 1 | 2021-07-30T11:23:43.000Z | 2021-07-30T11:23:43.000Z | src/gelanis/sql/_expressions/aggregate/aggregations.py | svaningelgem/gelanis | 12360ead579816e5a2764dc9f995449bacf67ecc | [
"Apache-2.0"
] | 3 | 2021-03-05T14:45:38.000Z | 2021-03-10T16:19:38.000Z | src/gelanis/sql/_expressions/aggregate/aggregations.py | svaningelgem/gelanis | 12360ead579816e5a2764dc9f995449bacf67ecc | [
"Apache-2.0"
] | 1 | 2021-03-17T19:43:05.000Z | 2021-03-17T19:43:05.000Z | from .. import Expression
from ...types import ArrayType
class Aggregation(Expression):
@property
def is_an_aggregation(self):
return True
def merge(self, row, schema):
raise NotImplementedError
def mergeStats(self, other, schema):
raise NotImplementedError
def eval(self... | 27.066667 | 116 | 0.660099 | 92 | 812 | 5.782609 | 0.619565 | 0.180451 | 0.203008 | 0.18609 | 0.150376 | 0.150376 | 0 | 0 | 0 | 0 | 0 | 0.006745 | 0.269704 | 812 | 29 | 117 | 28 | 0.890388 | 0.219212 | 0 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0 | 1 | 0.315789 | false | 0 | 0.105263 | 0.105263 | 0.578947 | 0 | 0 | 0 | 0 | null | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
1531fd8a220b7ae58756e479981c53b088532678 | 110 | py | Python | visualization/utils.py | hemiku/Visualization | b21bfc738278c1ce8f2df52e41230dcd58c8913e | [
"MIT"
] | null | null | null | visualization/utils.py | hemiku/Visualization | b21bfc738278c1ce8f2df52e41230dcd58c8913e | [
"MIT"
] | 1 | 2022-02-20T12:37:19.000Z | 2022-02-20T12:37:19.000Z | visualization/utils.py | hemiku/Visualization | b21bfc738278c1ce8f2df52e41230dcd58c8913e | [
"MIT"
] | null | null | null | def letters( input):
return ''.join(filter(str.isalpha, input))
def strip_input_name( input ):
return | 22 | 46 | 0.690909 | 15 | 110 | 4.933333 | 0.666667 | 0.297297 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172727 | 110 | 5 | 47 | 22 | 0.813187 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 |
1543094846a6d68b30a0f9477428ed13a96860d0 | 117 | py | Python | rpd/factories/__init__.py | ooliver1/RPD | e4900eed75ee636385749b883fe63e1cb48d81bd | [
"MIT"
] | null | null | null | rpd/factories/__init__.py | ooliver1/RPD | e4900eed75ee636385749b883fe63e1cb48d81bd | [
"MIT"
] | null | null | null | rpd/factories/__init__.py | ooliver1/RPD | e4900eed75ee636385749b883fe63e1cb48d81bd | [
"MIT"
] | null | null | null | """
rpd.factories
~~~~~~~~~~~~~
Factory Module for RPD.
"""
from .event_factory import *
from .rest_factory import *
| 14.625 | 28 | 0.649573 | 14 | 117 | 5.285714 | 0.642857 | 0.351351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136752 | 117 | 7 | 29 | 16.714286 | 0.732673 | 0.435897 | 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 |
154c05f9fb11353a8fc87e83851f5359f0313358 | 112 | py | Python | lang/py/cookbook/v2/source/cb2_11_15_exm_1.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | lang/py/cookbook/v2/source/cb2_11_15_exm_1.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | lang/py/cookbook/v2/source/cb2_11_15_exm_1.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | # jythonc -w C:\ImageJ\plugins\Jython -C C:\ImageJ\jikes
-J "-bootclasspath C:\ImageJ\jre\lib\rt.jar -nowarn"
| 37.333333 | 56 | 0.705357 | 19 | 112 | 4.157895 | 0.736842 | 0.265823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 112 | 2 | 57 | 56 | 0.79 | 0.482143 | 0 | 0 | 0 | 0 | 0.839286 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
156f5e23167ce4f7b01f9c8ef4c3bd0d428f1aa3 | 164 | py | Python | scripts/mlp/centroidal/muscod.py | stonneau/multicontact-locomotion-planning | a2c5dd35955a44c5a454d114c9dcaf0fec19424f | [
"BSD-2-Clause"
] | null | null | null | scripts/mlp/centroidal/muscod.py | stonneau/multicontact-locomotion-planning | a2c5dd35955a44c5a454d114c9dcaf0fec19424f | [
"BSD-2-Clause"
] | null | null | null | scripts/mlp/centroidal/muscod.py | stonneau/multicontact-locomotion-planning | a2c5dd35955a44c5a454d114c9dcaf0fec19424f | [
"BSD-2-Clause"
] | null | null | null | import mlp.config as cfg
def generateCentroidalTrajectory(cs, cs_initGuess=None, fullBody=None, viewer=None, first_iter = True):
raise NotImplemented("TODO")
| 27.333333 | 103 | 0.780488 | 21 | 164 | 6 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 164 | 5 | 104 | 32.8 | 0.875 | 0 | 0 | 0 | 1 | 0 | 0.02439 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
159bab273e13b63b6ad11de09064927878b70d09 | 7,240 | py | Python | plugin_kube/__init__.py | DNXLabs/plugin-kube | 1c674dd6b5dd8f809bd1b0932c8e22773522556a | [
"Apache-2.0"
] | null | null | null | plugin_kube/__init__.py | DNXLabs/plugin-kube | 1c674dd6b5dd8f809bd1b0932c8e22773522556a | [
"Apache-2.0"
] | null | null | null | plugin_kube/__init__.py | DNXLabs/plugin-kube | 1c674dd6b5dd8f809bd1b0932c8e22773522556a | [
"Apache-2.0"
] | null | null | null | import click
from one.one import cli
from one.docker.container import Container
from one.docker.image import Image
from one.utils.environment.aws import EnvironmentAws
from one.utils.config import get_config_value
container = Container()
image = Image()
environment = EnvironmentAws()
AWS_IMAGE = image.get_image('aws')... | 50.277778 | 124 | 0.715331 | 1,003 | 7,240 | 4.939182 | 0.079761 | 0.065402 | 0.094469 | 0.072669 | 0.8478 | 0.84235 | 0.84235 | 0.833872 | 0.801978 | 0.793904 | 0 | 0.004126 | 0.129558 | 7,240 | 143 | 125 | 50.629371 | 0.781974 | 0 | 0 | 0.675 | 0 | 0 | 0.292127 | 0.093094 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05 | false | 0 | 0.05 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
159c652139885ce492019dbb08e43f59fbd4718f | 19 | py | Python | bad/listOutOfBounds.py | Alberto42/Interpreter | a56c4d905672572734a8470ef607b66727489f15 | [
"BSD-3-Clause"
] | null | null | null | bad/listOutOfBounds.py | Alberto42/Interpreter | a56c4d905672572734a8470ef607b66727489f15 | [
"BSD-3-Clause"
] | null | null | null | bad/listOutOfBounds.py | Alberto42/Interpreter | a56c4d905672572734a8470ef607b66727489f15 | [
"BSD-3-Clause"
] | null | null | null | l = [0]
print(l[1]) | 9.5 | 11 | 0.473684 | 5 | 19 | 1.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0.157895 | 19 | 2 | 11 | 9.5 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 1 | null | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
ec7bf5524ae0b7edeed7e6a2ecd35d8c77cb0f33 | 218 | py | Python | src/myexceptions.py | delete/spymanager | c5886141000ad8b6b8e7c8ae6bc2ad631da33c72 | [
"MIT"
] | 7 | 2017-02-01T00:34:30.000Z | 2022-01-28T22:05:14.000Z | src/myexceptions.py | delete/spymanager | c5886141000ad8b6b8e7c8ae6bc2ad631da33c72 | [
"MIT"
] | 8 | 2017-01-08T21:06:43.000Z | 2020-10-18T13:20:13.000Z | src/myexceptions.py | delete/spylist | c5886141000ad8b6b8e7c8ae6bc2ad631da33c72 | [
"MIT"
] | 1 | 2018-10-24T00:37:08.000Z | 2018-10-24T00:37:08.000Z | class GroupNotFoundException(Exception):
pass
class UserNotFoundException(Exception):
pass
class AlreadyExistsOnDatabaseException(Exception):
pass
class ChatIdOrTextCannotBeEmpty(Exception):
pass
| 14.533333 | 50 | 0.788991 | 16 | 218 | 10.75 | 0.4375 | 0.302326 | 0.313953 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155963 | 218 | 14 | 51 | 15.571429 | 0.934783 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 1 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
ec9ea6c4e8a18d90e2b074f39f761faafa07e859 | 176 | py | Python | markdown_external_link_finder/__main__.py | MatMoore/markdown-external-link-finder | bb04d2573e150d8efe61063deafa3119c5f2ef3f | [
"MIT"
] | null | null | null | markdown_external_link_finder/__main__.py | MatMoore/markdown-external-link-finder | bb04d2573e150d8efe61063deafa3119c5f2ef3f | [
"MIT"
] | 4 | 2019-06-04T22:36:17.000Z | 2021-06-25T15:34:31.000Z | markdown_external_link_finder/__main__.py | MatMoore/markdown-external-link-finder | bb04d2573e150d8efe61063deafa3119c5f2ef3f | [
"MIT"
] | null | null | null | import glob
from .extract import extract_markdown_links
markdown_files = glob.glob('**/*.md', recursive=True)
for url in extract_markdown_links(markdown_files):
print(url) | 29.333333 | 53 | 0.784091 | 25 | 176 | 5.28 | 0.56 | 0.227273 | 0.30303 | 0.424242 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107955 | 176 | 6 | 54 | 29.333333 | 0.840764 | 0 | 0 | 0 | 0 | 0 | 0.039548 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0.2 | 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 |
01a7f4e684575fc5f27ecaaf024bb9c8377dbebd | 69 | py | Python | ui/__init__.py | neuromancer/lisa | 817efdf2ffd69de983f2b4f12d4db2885bd1b308 | [
"Apache-2.0"
] | 2 | 2017-11-05T22:14:19.000Z | 2019-05-07T15:33:06.000Z | ui/__init__.py | kevinmel2000/lisa | 817efdf2ffd69de983f2b4f12d4db2885bd1b308 | [
"Apache-2.0"
] | 1 | 2018-02-26T19:24:54.000Z | 2018-02-26T19:47:08.000Z | ui/__init__.py | kevinmel2000/lisa | 817efdf2ffd69de983f2b4f12d4db2885bd1b308 | [
"Apache-2.0"
] | 4 | 2017-11-05T22:14:23.000Z | 2021-05-21T16:59:24.000Z | from ui.notification import notify
def say(x):
return notify(x)
| 13.8 | 34 | 0.724638 | 11 | 69 | 4.545455 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188406 | 69 | 4 | 35 | 17.25 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 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 |
01b4680ca55594868c63cb44eaf96b1ae3894315 | 3,085 | py | Python | kitchen/tests/test_init.py | honzas83/kitchen | 749953fe28895ed51cd7283800a9bb591c269da2 | [
"BSD-3-Clause"
] | null | null | null | kitchen/tests/test_init.py | honzas83/kitchen | 749953fe28895ed51cd7283800a9bb591c269da2 | [
"BSD-3-Clause"
] | null | null | null | kitchen/tests/test_init.py | honzas83/kitchen | 749953fe28895ed51cd7283800a9bb591c269da2 | [
"BSD-3-Clause"
] | null | null | null | import kitchen
import lasagne
import numpy as np
from sklearn.base import BaseEstimator, clone, is_classifier
from sklearn.utils.testing import assert_equal
from nose.tools import raises
class NetInitNormal(kitchen.Network, kitchen.ADADelta, kitchen.BinaryCrossentropy):
def create_layers(self, X_dim, y_dim, rando... | 39.551282 | 128 | 0.706969 | 432 | 3,085 | 4.905093 | 0.194444 | 0.155734 | 0.096272 | 0.124587 | 0.84285 | 0.84285 | 0.84285 | 0.77631 | 0.77631 | 0.77631 | 0 | 0.039178 | 0.164344 | 3,085 | 77 | 129 | 40.064935 | 0.782777 | 0 | 0 | 0.581818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018182 | 1 | 0.109091 | false | 0 | 0.109091 | 0 | 0.327273 | 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 |
01db0918d6d3710e18091923be0871474e8b909d | 51 | py | Python | _init_.py | devsahu99/hybrid_recommender | 0e1b32de8bda5ababa83a366fa740528c4c63c5d | [
"MIT"
] | 1 | 2021-02-02T09:15:19.000Z | 2021-02-02T09:15:19.000Z | _init_.py | devsahu99/hybrid_recommender | 0e1b32de8bda5ababa83a366fa740528c4c63c5d | [
"MIT"
] | null | null | null | _init_.py | devsahu99/hybrid_recommender | 0e1b32de8bda5ababa83a366fa740528c4c63c5d | [
"MIT"
] | 1 | 2019-05-16T12:46:08.000Z | 2019-05-16T12:46:08.000Z | from .hybrid_recommender import hybrid_recommender
| 25.5 | 50 | 0.901961 | 6 | 51 | 7.333333 | 0.666667 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 51 | 1 | 51 | 51 | 0.93617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 |
bf147825412b56b22c16ab18fb1054a03a991aa6 | 19 | py | Python | part_c/c_constants.py | cconnerolson/aerospace_assignment_6 | adeb4aaee29198cac06321f2a7a23efd20cf56e6 | [
"MIT"
] | 1 | 2020-11-28T05:16:22.000Z | 2020-11-28T05:16:22.000Z | part_c/c_constants.py | cconnerolson/aerospace_assignment_6 | adeb4aaee29198cac06321f2a7a23efd20cf56e6 | [
"MIT"
] | null | null | null | part_c/c_constants.py | cconnerolson/aerospace_assignment_6 | adeb4aaee29198cac06321f2a7a23efd20cf56e6 | [
"MIT"
] | 1 | 2020-11-28T05:16:29.000Z | 2020-11-28T05:16:29.000Z | A_e = 4.478 # m**2 | 19 | 19 | 0.473684 | 6 | 19 | 1.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.357143 | 0.263158 | 19 | 1 | 19 | 19 | 0.214286 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1723ef876c0d25797b84c463a68b426d30239207 | 326 | py | Python | model_field_meta/mixins.py | melvinkcx/django-model-field-meta | 27ba8928bd90eeb3340cccafcc4c99f32a2e1c5e | [
"MIT"
] | 8 | 2019-11-07T08:23:22.000Z | 2022-02-20T12:59:03.000Z | model_field_meta/mixins.py | melvinkcx/django-model-field-meta | 27ba8928bd90eeb3340cccafcc4c99f32a2e1c5e | [
"MIT"
] | 7 | 2019-11-19T01:14:03.000Z | 2021-06-09T18:41:49.000Z | model_field_meta/mixins.py | melvinkcx/django-model-field-meta | 27ba8928bd90eeb3340cccafcc4c99f32a2e1c5e | [
"MIT"
] | 1 | 2020-12-07T02:59:43.000Z | 2020-12-07T02:59:43.000Z | class FieldMetaMixin:
@classmethod
def get_field_meta(cls, field_name):
return cls._meta.get_field(field_name).get_meta()
@classmethod
def has_field_meta(cls, field_name):
return hasattr(cls._meta.get_field(field_name), "_meta") \
and cls.get_field_meta(field_name) is not... | 32.6 | 66 | 0.693252 | 46 | 326 | 4.543478 | 0.347826 | 0.215311 | 0.114833 | 0.162679 | 0.488038 | 0.488038 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211656 | 326 | 9 | 67 | 36.222222 | 0.81323 | 0 | 0 | 0.25 | 0 | 0 | 0.015337 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.625 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
1736c11c89c70a1c7e787faaddd0bcfff5d92330 | 158 | py | Python | sbroccoli/tasks/__init__.py | modamod/special-broccoli | 7b82e15cf9ebef73e7bbb4e251780acddae75428 | [
"MIT"
] | null | null | null | sbroccoli/tasks/__init__.py | modamod/special-broccoli | 7b82e15cf9ebef73e7bbb4e251780acddae75428 | [
"MIT"
] | null | null | null | sbroccoli/tasks/__init__.py | modamod/special-broccoli | 7b82e15cf9ebef73e7bbb4e251780acddae75428 | [
"MIT"
] | null | null | null | from invoke import Collection
from . import utils, aws
ns = Collection()
ns.add_collection(ns.from_module(utils))
ns.add_collection(ns.from_module(aws)) | 26.333333 | 41 | 0.772152 | 24 | 158 | 4.916667 | 0.375 | 0.305085 | 0.254237 | 0.288136 | 0.457627 | 0.457627 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120253 | 158 | 6 | 42 | 26.333333 | 0.848921 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.