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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f6aa480c7353f4e6c5a57528aadd327d4be0c95a | 4,909 | py | Python | cogs/stats.py | NeStell/overbot | f403e0d9c73ebf94fe302ee3b9c8ccb9467c85f9 | [
"MIT"
] | null | null | null | cogs/stats.py | NeStell/overbot | f403e0d9c73ebf94fe302ee3b9c8ccb9467c85f9 | [
"MIT"
] | null | null | null | cogs/stats.py | NeStell/overbot | f403e0d9c73ebf94fe302ee3b9c8ccb9467c85f9 | [
"MIT"
] | null | null | null | from discord.ext import commands
from utils.player import Player, PlayerException
from utils.request import Request, RequestError
from classes.converters import Hero, Platform
class Statistics(commands.Cog):
def __init__(self, bot):
self.bot = bot
@commands.command(aliases=["rank", "sr"])
@comma... | 33.623288 | 86 | 0.608067 | 548 | 4,909 | 5.421533 | 0.184307 | 0.032986 | 0.072703 | 0.030629 | 0.839785 | 0.839785 | 0.839785 | 0.819253 | 0.807472 | 0.794682 | 0 | 0.026087 | 0.297209 | 4,909 | 145 | 87 | 33.855172 | 0.835072 | 0 | 0 | 0.633803 | 0 | 0 | 0.003813 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028169 | false | 0 | 0.056338 | 0 | 0.169014 | 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 |
1000b008f3f1ff459c1c3d2d561178e3f7ee52da | 15,311 | py | Python | MoveSim/code/models/generator.py | tobinsouth/privacy-preserving-synthetic-mobility-data | fd4d1851b47e3e7304761a894b460e8345fae5db | [
"MIT"
] | null | null | null | MoveSim/code/models/generator.py | tobinsouth/privacy-preserving-synthetic-mobility-data | fd4d1851b47e3e7304761a894b460e8345fae5db | [
"MIT"
] | null | null | null | MoveSim/code/models/generator.py | tobinsouth/privacy-preserving-synthetic-mobility-data | fd4d1851b47e3e7304761a894b460e8345fae5db | [
"MIT"
] | null | null | null | # coding: utf-8
import sys
sys.path.append('../')
import pdb
import math
import torch
import bisect
import numpy as np
import torch.nn as nn
from torch.autograd import Variable
from torch.nn import functional as F
from utils import *
def gen_gaussian_dist(sigma=10):
"""Return a single-sided gaussi... | 32.165966 | 114 | 0.546796 | 1,954 | 15,311 | 4.14176 | 0.101331 | 0.044483 | 0.027308 | 0.018905 | 0.838379 | 0.787841 | 0.764982 | 0.741876 | 0.71395 | 0.665637 | 0 | 0.02285 | 0.336882 | 15,311 | 475 | 115 | 32.233684 | 0.774254 | 0.119522 | 0 | 0.664537 | 0 | 0 | 0.007763 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041534 | false | 0 | 0.031949 | 0 | 0.108626 | 0.003195 | 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 |
122646461e5ab9840b0af0e49b2ceebadc56d5bc | 49 | py | Python | sdk/exception/access_denied_exception.py | CLG0125/elemesdk | 344466398bad7cf026e082e47c77d3ca98621ef3 | [
"MIT"
] | 1 | 2021-04-03T05:11:29.000Z | 2021-04-03T05:11:29.000Z | sdk/exception/access_denied_exception.py | CLG0125/elemesdk | 344466398bad7cf026e082e47c77d3ca98621ef3 | [
"MIT"
] | null | null | null | sdk/exception/access_denied_exception.py | CLG0125/elemesdk | 344466398bad7cf026e082e47c77d3ca98621ef3 | [
"MIT"
] | null | null | null |
class AccessDeniedException(Exception):pass
| 16.333333 | 43 | 0.795918 | 4 | 49 | 9.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 49 | 3 | 44 | 16.333333 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
123e8a975f1dd1e9e21acaa85ca40acaf04491e9 | 75 | py | Python | pypress/__init__.py | benjaminaschultz/pypress | 358e088ac361aa4ae808f0a3d05fb6320d62240c | [
"MIT"
] | 2 | 2015-01-25T17:21:53.000Z | 2020-02-15T08:30:26.000Z | pypress/__init__.py | benjaminaschultz/pypress | 358e088ac361aa4ae808f0a3d05fb6320d62240c | [
"MIT"
] | 1 | 2015-04-22T20:36:01.000Z | 2015-04-22T20:36:01.000Z | pypress/__init__.py | benjaminaschultz/pypress | 358e088ac361aa4ae808f0a3d05fb6320d62240c | [
"MIT"
] | null | null | null | from .wp_config import *
from .wp_clients import *
from .wp_media import *
| 18.75 | 25 | 0.76 | 12 | 75 | 4.5 | 0.5 | 0.333333 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 75 | 3 | 26 | 25 | 0.857143 | 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 |
89d1180bd716f43370d5f1f2d3df35433f9e4656 | 46 | py | Python | simulation/priority/__init__.py | salinsiim/petssa-simulation | 8f0f128d462831f86664bb8d246f2c7b659a0b8d | [
"MIT"
] | null | null | null | simulation/priority/__init__.py | salinsiim/petssa-simulation | 8f0f128d462831f86664bb8d246f2c7b659a0b8d | [
"MIT"
] | null | null | null | simulation/priority/__init__.py | salinsiim/petssa-simulation | 8f0f128d462831f86664bb8d246f2c7b659a0b8d | [
"MIT"
] | null | null | null | from priority.utils import calculate_max_green | 46 | 46 | 0.913043 | 7 | 46 | 5.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 46 | 1 | 46 | 46 | 0.930233 | 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 |
89e63215e60f9134c47bd2e4bb0bcc221c161f23 | 262 | py | Python | packages/ccache.py | mhutch/bockbuild | 0d989e2d0259d17d41a195f8d28b3844a4652e7b | [
"MIT"
] | null | null | null | packages/ccache.py | mhutch/bockbuild | 0d989e2d0259d17d41a195f8d28b3844a4652e7b | [
"MIT"
] | null | null | null | packages/ccache.py | mhutch/bockbuild | 0d989e2d0259d17d41a195f8d28b3844a4652e7b | [
"MIT"
] | null | null | null | GitHubPackage ('kumpera', 'ccache', '3.1.9',
revision = '55f1fc61765c96ce5ac90e253bab4d8feddea828',
configure = './autogen.sh --prefix="%{package_prefix}"; CC=cc ./configure --prefix="%{package_prefix}"',
override_properties = { 'build_dependency' : True }
)
| 43.666667 | 105 | 0.71374 | 25 | 262 | 7.32 | 0.76 | 0.142077 | 0.20765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101266 | 0.09542 | 262 | 5 | 106 | 52.4 | 0.670886 | 0 | 0 | 0 | 1 | 0 | 0.622137 | 0.370229 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d6331df9587e55ea3cda70d590b137b2a60bb7ce | 74 | py | Python | src/gh_auth/__init__.py | jasonalantolbert/gh-auth | eafd64d0a04a40caa6470ac0bf29f11acf0351de | [
"MIT"
] | null | null | null | src/gh_auth/__init__.py | jasonalantolbert/gh-auth | eafd64d0a04a40caa6470ac0bf29f11acf0351de | [
"MIT"
] | null | null | null | src/gh_auth/__init__.py | jasonalantolbert/gh-auth | eafd64d0a04a40caa6470ac0bf29f11acf0351de | [
"MIT"
] | null | null | null | from .auth import authenticate_with_github
from gh_auth import exceptions
| 24.666667 | 42 | 0.878378 | 11 | 74 | 5.636364 | 0.727273 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 74 | 2 | 43 | 37 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 |
d6590ef6d8c12f4eeed402671769888d350a8632 | 37 | py | Python | Python/Tests/TestData/Grammar/GlobalStmt.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 695 | 2019-05-06T23:49:37.000Z | 2022-03-30T01:56:00.000Z | Python/Tests/TestData/Grammar/GlobalStmt.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 1,672 | 2019-05-06T21:09:38.000Z | 2022-03-31T23:16:04.000Z | Python/Tests/TestData/Grammar/GlobalStmt.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 186 | 2019-05-13T03:17:37.000Z | 2022-03-31T16:24:05.000Z | def f():
global a
global a, b | 12.333333 | 15 | 0.513514 | 7 | 37 | 2.714286 | 0.714286 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.378378 | 37 | 3 | 15 | 12.333333 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0 | 0.333333 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d6592dce1c22883a2d872cee2de2a35a1f55be5d | 4,817 | py | Python | src/models/train_model.py | keithfleming/fantasy_football | d08ec249e705b4a55f81f6cb97e649a033899d11 | [
"MIT"
] | null | null | null | src/models/train_model.py | keithfleming/fantasy_football | d08ec249e705b4a55f81f6cb97e649a033899d11 | [
"MIT"
] | null | null | null | src/models/train_model.py | keithfleming/fantasy_football | d08ec249e705b4a55f81f6cb97e649a033899d11 | [
"MIT"
] | null | null | null | import pandas as pd
import numpy as np
import fantasy_football.src.data.ff as data
from sklearn import linear_model
from sklearn import metrics
from sklearn.neighbors import KNeighborsRegressor
from sklearn.model_selection import cross_val_score
def linear_regression(training_stats, training_future_points, test_stats... | 43.396396 | 126 | 0.745485 | 677 | 4,817 | 5.076809 | 0.129985 | 0.108234 | 0.093104 | 0.0611 | 0.803026 | 0.79197 | 0.770439 | 0.770439 | 0.757347 | 0.746872 | 0 | 0.004403 | 0.198464 | 4,817 | 111 | 127 | 43.396396 | 0.885781 | 0.429728 | 0 | 0.391304 | 0 | 0 | 0.009046 | 0.009046 | 0 | 0 | 0 | 0 | 0 | 1 | 0.108696 | false | 0 | 0.152174 | 0 | 0.369565 | 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 |
7f06af186c84379046bc338c5ffc342e6f0b8a8d | 108 | py | Python | frameworks/tc_scikit/__init__.py | Asteur/textclassification | 80222e99e1a195031cf8e98bc294a09e498c29a3 | [
"MIT"
] | 5 | 2018-08-12T19:30:30.000Z | 2022-03-04T15:27:31.000Z | frameworks/tc_scikit/__init__.py | Asteur/textclassification | 80222e99e1a195031cf8e98bc294a09e498c29a3 | [
"MIT"
] | null | null | null | frameworks/tc_scikit/__init__.py | Asteur/textclassification | 80222e99e1a195031cf8e98bc294a09e498c29a3 | [
"MIT"
] | 2 | 2018-07-13T02:06:48.000Z | 2020-12-10T13:35:17.000Z | import logging
from frameworks.loggers.config import config_logger
config_logger(log_level=logging.DEBUG)
| 18 | 51 | 0.861111 | 15 | 108 | 6 | 0.666667 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 108 | 5 | 52 | 21.6 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7f0ba86ca9236d4caf9dff222313a554f3381acf | 22 | py | Python | Modules/vms/fabdef/fabdef.py | vmssoftware/cpython | b5d2c7f578d33963798a02ca32f0c151c908aa7c | [
"0BSD"
] | 2 | 2021-10-06T15:46:53.000Z | 2022-01-26T02:58:54.000Z | Modules/vms/fabdef/fabdef.py | vmssoftware/cpython | b5d2c7f578d33963798a02ca32f0c151c908aa7c | [
"0BSD"
] | null | null | null | Modules/vms/fabdef/fabdef.py | vmssoftware/cpython | b5d2c7f578d33963798a02ca32f0c151c908aa7c | [
"0BSD"
] | null | null | null | from _fabdef import *
| 11 | 21 | 0.772727 | 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 |
617f360ad3a47a60efa43e8757b9dcde63c328b3 | 96 | py | Python | venv/lib/python3.8/site-packages/pkginfo/installed.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pkginfo/installed.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pkginfo/installed.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/98/af/99/d8f3066ff66831f7838f689b6fcd3a942e55b62b011851aa430df6be6f | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.427083 | 0 | 96 | 1 | 96 | 96 | 0.46875 | 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 |
618e27dfedd4576e0d2fd98d0c8eaaab1c70fd20 | 422 | py | Python | terrascript/resource/kubernetes_alpha.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | terrascript/resource/kubernetes_alpha.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | terrascript/resource/kubernetes_alpha.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # terrascript/resource/kubernetes_alpha.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:20:48 UTC)
#
# For imports without namespace, e.g.
#
# >>> import terrascript.resource.kubernetes_alpha
#
# instead of
#
# >>> import terrascript.resource.hashicorp.kubernetes_alpha
#
# This is only available f... | 28.133333 | 73 | 0.770142 | 53 | 422 | 6.056604 | 0.679245 | 0.23676 | 0.180685 | 0.211838 | 0.267913 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032345 | 0.120853 | 422 | 14 | 74 | 30.142857 | 0.832884 | 0.791469 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4eef416825788456aedc1f0de6d3b80ac00d2368 | 38,217 | py | Python | dfirtrack_main/tests/system/test_system_exporter_markdown_views.py | thomas-kropeit/dfirtrack | b1e0e659af7bc8085cfe2d269ddc651f9f4ba585 | [
"Apache-2.0"
] | 273 | 2018-04-18T22:09:15.000Z | 2021-06-04T09:15:48.000Z | dfirtrack_main/tests/system/test_system_exporter_markdown_views.py | stuhli/dfirtrack | 9260c91e4367b36d4cb1ae7efe4e2d2452f58e6e | [
"Apache-2.0"
] | 75 | 2018-08-31T11:05:37.000Z | 2021-06-08T14:15:07.000Z | dfirtrack_main/tests/system/test_system_exporter_markdown_views.py | thomas-kropeit/dfirtrack | b1e0e659af7bc8085cfe2d269ddc651f9f4ba585 | [
"Apache-2.0"
] | 61 | 2018-11-12T22:55:48.000Z | 2021-06-06T15:16:16.000Z | import filecmp
import os
import shutil
import urllib.parse
from dateutil.parser import parse
from django.contrib.auth.models import User
from django.contrib.messages import get_messages
from django.test import TestCase
from dfirtrack.settings import BASE_DIR
from dfirtrack_config.models import SystemExporterMarkdownC... | 36.676583 | 133 | 0.609022 | 3,966 | 38,217 | 5.628089 | 0.064801 | 0.075265 | 0.096591 | 0.051073 | 0.871914 | 0.8492 | 0.828726 | 0.812777 | 0.808387 | 0.802473 | 0 | 0.018006 | 0.298113 | 38,217 | 1,041 | 134 | 36.711816 | 0.814122 | 0.106052 | 0 | 0.633548 | 0 | 0.002581 | 0.260932 | 0.192505 | 0 | 0 | 0 | 0 | 0.141935 | 1 | 0.032258 | false | 0.028387 | 0.015484 | 0 | 0.051613 | 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 |
1471f573a8ef4b5bd355bc8a2ce5128395bb3fd6 | 44 | py | Python | agent/odroid_factory_api/__init__.py | charles-park/sbc-jig | c1ef78c3b213a60d4e51286c3794cf68e51bfa77 | [
"MIT"
] | 8 | 2018-07-24T13:32:31.000Z | 2021-09-03T13:52:35.000Z | agent/odroid_factory_api/__init__.py | charles-park/sbc-jig | c1ef78c3b213a60d4e51286c3794cf68e51bfa77 | [
"MIT"
] | 4 | 2018-09-14T09:27:20.000Z | 2021-11-16T04:08:53.000Z | agent/odroid_factory_api/__init__.py | charles-park/sbc-jig | c1ef78c3b213a60d4e51286c3794cf68e51bfa77 | [
"MIT"
] | 6 | 2018-07-28T00:52:38.000Z | 2021-02-07T18:52:19.000Z | from .api import *
from .constants import *
| 14.666667 | 24 | 0.727273 | 6 | 44 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 2 | 25 | 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 |
1488fa06756c697f0dc31b21e908b5b0be1725bb | 5,266 | py | Python | cm/util/comm.py | jmchilton/cloudman | 728c93a3e6f1b68bd678ec0c4ea951b33cb6f6f2 | [
"MIT"
] | null | null | null | cm/util/comm.py | jmchilton/cloudman | 728c93a3e6f1b68bd678ec0c4ea951b33cb6f6f2 | [
"MIT"
] | 1 | 2015-04-13T01:45:41.000Z | 2015-04-17T01:17:01.000Z | cm/util/comm.py | jmchilton/cloudman | 728c93a3e6f1b68bd678ec0c4ea951b33cb6f6f2 | [
"MIT"
] | null | null | null | import amqplib.client_0_8 as amqp
import logging
log = logging.getLogger('cloudman')
DEFAULT_HOST = 'localhost:5672'
class CMMasterComm(object):
def __init__(self, iid='MasterInstance'):
self.instances = []
self.user = 'guest'
self.password = 'guest'
self.host = DEFAULT_HOST
... | 37.347518 | 105 | 0.541967 | 593 | 5,266 | 4.716695 | 0.193929 | 0.086521 | 0.032177 | 0.027172 | 0.777976 | 0.763675 | 0.736146 | 0.736146 | 0.708974 | 0.708974 | 0 | 0.001764 | 0.354159 | 5,266 | 140 | 106 | 37.614286 | 0.820641 | 0.032472 | 0 | 0.669492 | 0 | 0 | 0.117981 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.042373 | 0.016949 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
14968250301db8ffa3bc58be62c1563516570d30 | 43 | py | Python | pvcnn_code/models/shapenet/__init__.py | pahn04/PPConv | 395957b919786bb5b603f37a94ccf9173afce085 | [
"MIT"
] | 1 | 2022-03-29T02:14:57.000Z | 2022-03-29T02:14:57.000Z | pvcnn_code/models/shapenet/__init__.py | pahn04/PPConv | 395957b919786bb5b603f37a94ccf9173afce085 | [
"MIT"
] | null | null | null | pvcnn_code/models/shapenet/__init__.py | pahn04/PPConv | 395957b919786bb5b603f37a94ccf9173afce085 | [
"MIT"
] | 1 | 2022-02-08T05:47:10.000Z | 2022-02-08T05:47:10.000Z | from models.shapenet.ppcnnpp import PPCNN2
| 21.5 | 42 | 0.860465 | 6 | 43 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.093023 | 43 | 1 | 43 | 43 | 0.923077 | 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 |
149b09c4b6086ecb1b613e034357b282caf13fb7 | 100 | py | Python | hovor/runtime/context.py | IBM/contingent-plan-executor | 177c5ec84070a4d0d83beb6622d99ec0fd772c12 | [
"Apache-2.0"
] | 3 | 2020-07-01T03:09:27.000Z | 2021-03-20T03:27:24.000Z | hovor/runtime/context.py | IBM/contingent-plan-executor | 177c5ec84070a4d0d83beb6622d99ec0fd772c12 | [
"Apache-2.0"
] | 1 | 2020-07-09T00:56:14.000Z | 2020-07-09T00:56:14.000Z | hovor/runtime/context.py | IBM/contingent-plan-executor | 177c5ec84070a4d0d83beb6622d99ec0fd772c12 | [
"Apache-2.0"
] | 1 | 2020-12-19T22:06:00.000Z | 2020-12-19T22:06:00.000Z | from hovor.runtime.fields_container import FieldsContainer
class Context(FieldsContainer):
pass | 20 | 58 | 0.84 | 11 | 100 | 7.545455 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11 | 100 | 5 | 59 | 20 | 0.932584 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
14b04c7027e6a22e71c050391d4a097125d27955 | 30 | py | Python | jobs/__init__.py | stevepentland/swarmer | b268ad86dccd7e440d6bb4adf6580d0a37eb6b99 | [
"MIT"
] | null | null | null | jobs/__init__.py | stevepentland/swarmer | b268ad86dccd7e440d6bb4adf6580d0a37eb6b99 | [
"MIT"
] | 9 | 2018-11-20T14:29:54.000Z | 2022-02-11T03:41:37.000Z | jobs/__init__.py | stevepentland/swarmer | b268ad86dccd7e440d6bb4adf6580d0a37eb6b99 | [
"MIT"
] | null | null | null | from .runner import JobRunner
| 15 | 29 | 0.833333 | 4 | 30 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.961538 | 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 |
214d0a87afda3630c95540c2844fd46ad37326c2 | 148 | py | Python | lstm_ee/keras/models/__init__.py | usert5432/lstm_ee | 342ed4f5245311924d6a06b38c4f28eac77778e9 | [
"MIT"
] | 3 | 2020-06-04T17:00:26.000Z | 2022-02-22T16:56:09.000Z | lstm_ee/keras/models/__init__.py | usert5432/lstm_ee | 342ed4f5245311924d6a06b38c4f28eac77778e9 | [
"MIT"
] | null | null | null | lstm_ee/keras/models/__init__.py | usert5432/lstm_ee | 342ed4f5245311924d6a06b38c4f28eac77778e9 | [
"MIT"
] | 1 | 2021-01-17T04:19:41.000Z | 2021-01-17T04:19:41.000Z | """Definitions of `keras` models for the `lstm_ee` training"""
from .models_flat import *
from .models_slice import *
from .models_lstm import *
| 24.666667 | 62 | 0.736486 | 21 | 148 | 5 | 0.619048 | 0.285714 | 0.304762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155405 | 148 | 5 | 63 | 29.6 | 0.84 | 0.378378 | 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 |
214db5f83d7c8b1b729f8064b771bd07e8f04a41 | 58 | py | Python | pylivelinkface/__init__.py | JimWest/PyLiveLinkFace | 7becb1d73fde740873820e75a26f7d606772a263 | [
"MIT"
] | 16 | 2021-12-23T16:47:44.000Z | 2022-03-31T07:23:26.000Z | pylivelinkface/__init__.py | JimWest/PyLiveLinkFace | 7becb1d73fde740873820e75a26f7d606772a263 | [
"MIT"
] | 1 | 2022-03-23T04:55:50.000Z | 2022-03-23T07:06:20.000Z | pylivelinkface/__init__.py | JimWest/PyLiveLinkFace | 7becb1d73fde740873820e75a26f7d606772a263 | [
"MIT"
] | 9 | 2022-01-17T16:58:02.000Z | 2022-03-31T10:24:40.000Z | from .pylivelinkface import PyLiveLinkFace, FaceBlendShape | 58 | 58 | 0.896552 | 5 | 58 | 10.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 58 | 1 | 58 | 58 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dcc94e3a87a95e2d459660420a1c3a91606c6ccf | 23,146 | py | Python | test_autolens/imaging/test_fit_imaging.py | Jammy2211/AutoLens | bc132a21d1a52248f08f198474e29f985e365d85 | [
"MIT"
] | null | null | null | test_autolens/imaging/test_fit_imaging.py | Jammy2211/AutoLens | bc132a21d1a52248f08f198474e29f985e365d85 | [
"MIT"
] | 10 | 2017-12-22T11:39:33.000Z | 2018-01-30T09:13:16.000Z | test_autolens/imaging/test_fit_imaging.py | Jammy2211/AutoLens | bc132a21d1a52248f08f198474e29f985e365d85 | [
"MIT"
] | null | null | null | import numpy as np
import pytest
import autolens as al
def test__model_image__with_and_without_psf_blurring(
masked_imaging_7x7_no_blur, masked_imaging_7x7
):
g0 = al.Galaxy(
redshift=0.5,
light_profile=al.m.MockLightProfile(
image_2d_value=1.0, image_2d_first_value=... | 33.351585 | 96 | 0.66923 | 3,304 | 23,146 | 4.425242 | 0.057506 | 0.012721 | 0.067848 | 0.059845 | 0.919841 | 0.901443 | 0.877984 | 0.853772 | 0.832912 | 0.781615 | 0 | 0.058378 | 0.207379 | 23,146 | 693 | 97 | 33.399711 | 0.738581 | 0.008425 | 0 | 0.589431 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160569 | 1 | 0.030488 | false | 0.002033 | 0.006098 | 0 | 0.036585 | 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 |
dcec3585fb467aad0176e2cf75d61509ead6447b | 247 | py | Python | easydata/__init__.py | easydatapy/easydata | 5e76bf7fc9f368065a82ccc99fca54b17f7e91bd | [
"BSD-3-Clause"
] | 6 | 2020-09-06T19:06:01.000Z | 2020-09-09T23:19:21.000Z | easydata/__init__.py | sitegroove/easydata | 0e347990027b9f6cc06a1072511197f1adb50e5c | [
"BSD-3-Clause"
] | null | null | null | easydata/__init__.py | sitegroove/easydata | 0e347990027b9f6cc06a1072511197f1adb50e5c | [
"BSD-3-Clause"
] | 1 | 2021-07-22T17:59:20.000Z | 2021-07-22T17:59:20.000Z | __version__ = "0.1.4"
from easydata.models import ItemModel, StackedModel # noqa: F401 F403
from easydata.parsers import * # noqa: F401 F403
from easydata.processors import * # noqa: F401 F403
from easydata.queries import * # noqa: F401 F403
| 35.285714 | 70 | 0.748988 | 34 | 247 | 5.323529 | 0.470588 | 0.265193 | 0.265193 | 0.265193 | 0.464088 | 0.331492 | 0 | 0 | 0 | 0 | 0 | 0.131068 | 0.165992 | 247 | 6 | 71 | 41.166667 | 0.747573 | 0.255061 | 0 | 0 | 0 | 0 | 0.027933 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0d474117de85a0a976d5d7a1d2ee3c983d853ae1 | 6,130 | py | Python | pypardot/objects/listmemberships.py | def-mycroft/PyPardot4 | d4e1e40d1d061b4c944f87a484e7f2c13ad864cb | [
"MIT"
] | 51 | 2017-08-23T17:54:46.000Z | 2022-02-14T21:40:16.000Z | pypardot/objects/listmemberships.py | def-mycroft/PyPardot4 | d4e1e40d1d061b4c944f87a484e7f2c13ad864cb | [
"MIT"
] | 34 | 2017-08-16T01:36:22.000Z | 2021-03-05T03:48:57.000Z | pypardot/objects/listmemberships.py | def-mycroft/PyPardot4 | d4e1e40d1d061b4c944f87a484e7f2c13ad864cb | [
"MIT"
] | 39 | 2017-08-16T04:11:49.000Z | 2022-03-06T22:55:36.000Z | from ..errors import PardotAPIArgumentError
class ListMemberships(object):
"""
A class to query and use Pardot list memberships.
Prospect field reference: http://developer.pardot.com/kb/object-field-references#list-membership
"""
def __init__(self, client):
self.client = client
def q... | 48.267717 | 155 | 0.659869 | 828 | 6,130 | 4.771739 | 0.125604 | 0.059226 | 0.048595 | 0.036193 | 0.814224 | 0.800557 | 0.794482 | 0.788408 | 0.723361 | 0.683371 | 0 | 0.003248 | 0.246656 | 6,130 | 126 | 156 | 48.650794 | 0.852317 | 0.312398 | 0 | 0.405797 | 0 | 0 | 0.234858 | 0.05469 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15942 | false | 0 | 0.014493 | 0 | 0.362319 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0d4dcefec2685fa2fec7ea56d214ed9816303c51 | 28 | py | Python | poold/hinters/__init__.py | geflaspohler/poold | 4ddd085597b85e8c737b2f904f504437f728513b | [
"MIT"
] | 7 | 2021-08-02T15:31:01.000Z | 2022-02-11T14:36:46.000Z | poold/hinters/__init__.py | geflaspohler/poold | 4ddd085597b85e8c737b2f904f504437f728513b | [
"MIT"
] | null | null | null | poold/hinters/__init__.py | geflaspohler/poold | 4ddd085597b85e8c737b2f904f504437f728513b | [
"MIT"
] | 1 | 2021-07-15T23:05:02.000Z | 2021-07-15T23:05:02.000Z | from .hinters import Hinter | 28 | 28 | 0.821429 | 4 | 28 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.958333 | 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 |
370725ad597acc8a0fd6b25b588bfa3dcb8dcee5 | 3,300 | py | Python | owl_chat_stats/core/migrations/0001_initial.py | underchemist/owl-chat-stats | c1b4c52056bd72ecb8575a1334d7afdd653c5adc | [
"MIT"
] | null | null | null | owl_chat_stats/core/migrations/0001_initial.py | underchemist/owl-chat-stats | c1b4c52056bd72ecb8575a1334d7afdd653c5adc | [
"MIT"
] | null | null | null | owl_chat_stats/core/migrations/0001_initial.py | underchemist/owl-chat-stats | c1b4c52056bd72ecb8575a1334d7afdd653c5adc | [
"MIT"
] | null | null | null | # Generated by Django 2.2.4 on 2019-08-27 04:59
import django.contrib.postgres.fields.jsonb
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
... | 67.346939 | 747 | 0.616061 | 316 | 3,300 | 6.360759 | 0.414557 | 0.01592 | 0.041791 | 0.049751 | 0.758209 | 0.728358 | 0.728358 | 0.728358 | 0.728358 | 0.685572 | 0 | 0.008365 | 0.20303 | 3,300 | 48 | 748 | 68.75 | 0.755894 | 0.013636 | 0 | 0.487805 | 1 | 0 | 0.334461 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.073171 | 0 | 0.170732 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2eadb2b27d8fb92353ecee70d468534f6b5e94ac | 558 | py | Python | octicons16px/heart_fill.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | 1 | 2021-01-28T06:47:39.000Z | 2021-01-28T06:47:39.000Z | octicons16px/heart_fill.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | null | null | null | octicons16px/heart_fill.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | null | null | null |
OCTICON_HEART_FILL = """
<svg class="octicon octicon-heart-fill" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.655 14.916L8 14.25l.345.666a.752.752 0 01-.69 0zm0 0L8 14.25l.345.666.002-.001.006-.003.018-.01a7.643 7.643 0 00.31-.17 22.08 22.08 0 003.433-2.... | 111.6 | 527 | 0.677419 | 143 | 558 | 2.629371 | 0.58042 | 0.06383 | 0.085106 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.511247 | 0.123656 | 558 | 4 | 528 | 139.5 | 0.257669 | 0 | 0 | 0 | 0 | 0.333333 | 0.949731 | 0.199282 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2eb176b3a79d5f4b52b5c2873fd0dae9ef2c5302 | 145 | py | Python | tracardi/service/storage/drivers/elastic/api_instance.py | suhail34/tracardi | d47f806f13b5a1b7c9bb02d3ed7572941cb40ca0 | [
"MIT"
] | null | null | null | tracardi/service/storage/drivers/elastic/api_instance.py | suhail34/tracardi | d47f806f13b5a1b7c9bb02d3ed7572941cb40ca0 | [
"MIT"
] | null | null | null | tracardi/service/storage/drivers/elastic/api_instance.py | suhail34/tracardi | d47f806f13b5a1b7c9bb02d3ed7572941cb40ca0 | [
"MIT"
] | null | null | null | from tracardi.service.storage.factory import storage_manager
async def load_all():
return await storage_manager('api-instance').load_all()
| 24.166667 | 60 | 0.793103 | 20 | 145 | 5.55 | 0.75 | 0.252252 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110345 | 145 | 5 | 61 | 29 | 0.860465 | 0 | 0 | 0 | 0 | 0 | 0.082759 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 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 |
2ed0425666ec9e9548ffe0324407674cfa057c9f | 31 | py | Python | program/ifstatem/__init__.py | mmsbrggr/polar | 34348baf6992232e47cee7a4d56b5a96567c50b8 | [
"MIT"
] | 2 | 2021-10-06T13:29:24.000Z | 2021-11-11T19:42:43.000Z | program/ifstatem/__init__.py | mmsbrggr/polar | 34348baf6992232e47cee7a4d56b5a96567c50b8 | [
"MIT"
] | 1 | 2022-01-26T15:58:28.000Z | 2022-01-28T13:47:28.000Z | program/ifstatem/__init__.py | mmsbrggr/polar | 34348baf6992232e47cee7a4d56b5a96567c50b8 | [
"MIT"
] | 2 | 2021-10-01T15:08:52.000Z | 2022-03-15T14:10:06.000Z | from .ifstatem import IfStatem
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2590ffc14b26c67a57bf115a82c3305ca3c5ef64 | 3,918 | py | Python | test/send.py | oceotech/RockBLOCK-Python-Tools | 81a1bda5ada89a5771a1a619bf527bad05f48b65 | [
"MIT"
] | 5 | 2020-07-14T16:21:18.000Z | 2022-01-26T02:21:59.000Z | test/send.py | oceotech/RockBLOCK-Python-Tools | 81a1bda5ada89a5771a1a619bf527bad05f48b65 | [
"MIT"
] | 1 | 2021-12-03T15:20:55.000Z | 2021-12-03T15:20:55.000Z | test/send.py | oceotech/RockBLOCK-Python-Tools | 81a1bda5ada89a5771a1a619bf527bad05f48b65 | [
"MIT"
] | 1 | 2021-11-14T01:34:36.000Z | 2021-11-14T01:34:36.000Z | from unittest import TestCase
from requests import put
from rockblock_tools import send
from rockblock_tools.exception import ApiException
FAKE_API_ENDPOINT = 'http://fake_api:1080/'
class SendTestCase(TestCase):
def test_send(self):
# Reset the fake API server
put('{}reset'.format(FAKE_API_ENDPO... | 31.344 | 116 | 0.461715 | 311 | 3,918 | 5.707396 | 0.305466 | 0.047324 | 0.076056 | 0.070986 | 0.763944 | 0.763944 | 0.763944 | 0.763944 | 0.715493 | 0.715493 | 0 | 0.035981 | 0.418326 | 3,918 | 124 | 117 | 31.596774 | 0.74287 | 0.061766 | 0 | 0.673469 | 0 | 0 | 0.231315 | 0.032188 | 0 | 0 | 0 | 0 | 0.05102 | 1 | 0.020408 | false | 0.061224 | 0.040816 | 0 | 0.071429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
d318dd5ed02ee603d56de29fc3e6ea021effcae8 | 11,997 | py | Python | fhir/resources/tests/test_person.py | cstoltze/fhir.resources | 52f99738935b7313089d89daf94d73ce7d167c9d | [
"BSD-3-Clause"
] | 144 | 2019-05-08T14:24:43.000Z | 2022-03-30T02:37:11.000Z | fhir/resources/tests/test_person.py | cstoltze/fhir.resources | 52f99738935b7313089d89daf94d73ce7d167c9d | [
"BSD-3-Clause"
] | 82 | 2019-05-13T17:43:13.000Z | 2022-03-30T16:45:17.000Z | fhir/resources/tests/test_person.py | cstoltze/fhir.resources | 52f99738935b7313089d89daf94d73ce7d167c9d | [
"BSD-3-Clause"
] | 48 | 2019-04-04T14:14:53.000Z | 2022-03-30T06:07:31.000Z | # -*- coding: utf-8 -*-
"""
Profile: http://hl7.org/fhir/StructureDefinition/Person
Release: R4
Version: 4.0.1
Build ID: 9346c8cc45
Last updated: 2019-11-01T09:29:23.356+11:00
"""
from pydantic.validators import bytes_validator # noqa: F401
from .. import fhirtypes # noqa: F401
from .. import person
def impl_perso... | 37.373832 | 87 | 0.660582 | 1,611 | 11,997 | 4.872129 | 0.146493 | 0.193655 | 0.068799 | 0.072239 | 0.853102 | 0.806472 | 0.753344 | 0.706714 | 0.638807 | 0.618295 | 0 | 0.054178 | 0.183046 | 11,997 | 320 | 88 | 37.490625 | 0.746659 | 0.073185 | 0 | 0.5625 | 0 | 0 | 0.219775 | 0.02311 | 0 | 0 | 0 | 0 | 0.632813 | 1 | 0.039063 | false | 0 | 0.011719 | 0 | 0.050781 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d34765a35b956d26d9a1ef014a3dc703bc5312db | 31 | py | Python | autogluon/task/object_detection/__init__.py | TEChopra1000/autogluon | 3f2e3b3e46cc10e01017257b46e8f5992cbc6c00 | [
"Apache-2.0"
] | 2 | 2021-09-14T21:28:54.000Z | 2021-11-17T09:52:41.000Z | autogluon/task/object_detection/__init__.py | CharlotteSean/autogluon | 58c51d4fd5c8abe3db5c509ac94064111cf1198d | [
"Apache-2.0"
] | null | null | null | autogluon/task/object_detection/__init__.py | CharlotteSean/autogluon | 58c51d4fd5c8abe3db5c509ac94064111cf1198d | [
"Apache-2.0"
] | 1 | 2021-09-14T21:28:55.000Z | 2021-09-14T21:28:55.000Z | from .object_detection import * | 31 | 31 | 0.83871 | 4 | 31 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d356a9a1ba26e008f179a364bd0ee0e6e30f59f2 | 45 | py | Python | tests/molecular/topology_graphs/vertex/cases/rotaxane/test_with_position.py | stevenbennett96/stk | 6e5af87625b83e0bfc7243bc42d8c7a860cbeb76 | [
"MIT"
] | 21 | 2018-04-12T16:25:24.000Z | 2022-02-14T23:05:43.000Z | tests/molecular/topology_graphs/vertex/cases/rotaxane/test_with_position.py | stevenbennett96/stk | 6e5af87625b83e0bfc7243bc42d8c7a860cbeb76 | [
"MIT"
] | 8 | 2019-03-19T12:36:36.000Z | 2020-11-11T12:46:00.000Z | tests/molecular/topology_graphs/vertex/cases/rotaxane/test_with_position.py | stevenbennett96/stk | 6e5af87625b83e0bfc7243bc42d8c7a860cbeb76 | [
"MIT"
] | 5 | 2018-08-07T13:00:16.000Z | 2021-11-01T00:55:10.000Z | from ..._test_with_position import * # noqa
| 22.5 | 44 | 0.733333 | 6 | 45 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 1 | 45 | 45 | 0.789474 | 0.088889 | 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 |
6c9ffe00ffd663781a4141681166173f552ff951 | 92 | py | Python | __init__.py | chrisphil335/structlinks | 61aee24ec15c7caab9ce99e1f97ce30e7f21157c | [
"MIT"
] | null | null | null | __init__.py | chrisphil335/structlinks | 61aee24ec15c7caab9ce99e1f97ce30e7f21157c | [
"MIT"
] | null | null | null | __init__.py | chrisphil335/structlinks | 61aee24ec15c7caab9ce99e1f97ce30e7f21157c | [
"MIT"
] | null | null | null | import structlinks.DataStructures as structures
import structlinks.Algorithms as algorithms
| 30.666667 | 47 | 0.891304 | 10 | 92 | 8.2 | 0.6 | 0.414634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 92 | 2 | 48 | 46 | 0.97619 | 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 |
9f2c7e7d7751eaf7c3f4ba05eaac6faf47de5c22 | 35 | py | Python | lib/__init__.py | funa1g/TextAanalyzer | a08646a829e8ac7eb55e4fb0161e127ea017749b | [
"Apache-2.0"
] | null | null | null | lib/__init__.py | funa1g/TextAanalyzer | a08646a829e8ac7eb55e4fb0161e127ea017749b | [
"Apache-2.0"
] | null | null | null | lib/__init__.py | funa1g/TextAanalyzer | a08646a829e8ac7eb55e4fb0161e127ea017749b | [
"Apache-2.0"
] | null | null | null | from .analyzer import TextAnalyzer
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9f33e1bb76de915dd9838b803a4a76ad29eda8d5 | 47 | py | Python | starred_repos/views/__init__.py | andressadotpy/template-projeto-selecao | 5db43dd1326c365645d99f6a16ba106a0a579c56 | [
"MIT"
] | null | null | null | starred_repos/views/__init__.py | andressadotpy/template-projeto-selecao | 5db43dd1326c365645d99f6a16ba106a0a579c56 | [
"MIT"
] | null | null | null | starred_repos/views/__init__.py | andressadotpy/template-projeto-selecao | 5db43dd1326c365645d99f6a16ba106a0a579c56 | [
"MIT"
] | null | null | null | from .repositorios import *
from .tags import * | 23.5 | 27 | 0.765957 | 6 | 47 | 6 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 47 | 2 | 28 | 23.5 | 0.9 | 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 |
4cea0d66b1d706695e2738cd4e68236ca15f1d41 | 188 | py | Python | news/admin.py | sahaliyev/blog_news | 92e0ff70a5586f4fcf224cdbc6207e0534b52784 | [
"MIT"
] | null | null | null | news/admin.py | sahaliyev/blog_news | 92e0ff70a5586f4fcf224cdbc6207e0534b52784 | [
"MIT"
] | null | null | null | news/admin.py | sahaliyev/blog_news | 92e0ff70a5586f4fcf224cdbc6207e0534b52784 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Header, News, About, Form
admin.site.register(Header)
admin.site.register(News)
admin.site.register(About)
admin.site.register(Form)
| 20.888889 | 45 | 0.797872 | 28 | 188 | 5.357143 | 0.428571 | 0.24 | 0.453333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090426 | 188 | 8 | 46 | 23.5 | 0.877193 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 |
4cf44d5f3a01a8b579e9fa96b8d213edde0a4838 | 149 | py | Python | python/armstrong-numbers/armstrong_numbers.py | baduker/exercism.io | 7e1b9ea20aa6f6b0fea947911053cd3e196c0642 | [
"MIT"
] | null | null | null | python/armstrong-numbers/armstrong_numbers.py | baduker/exercism.io | 7e1b9ea20aa6f6b0fea947911053cd3e196c0642 | [
"MIT"
] | null | null | null | python/armstrong-numbers/armstrong_numbers.py | baduker/exercism.io | 7e1b9ea20aa6f6b0fea947911053cd3e196c0642 | [
"MIT"
] | null | null | null | def is_armstrong_number(number):
number_to_str = str(number)
return sum([int(num) ** len(number_to_str) for num in number_to_str]) == number
| 37.25 | 83 | 0.724832 | 25 | 149 | 4 | 0.52 | 0.24 | 0.33 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154362 | 149 | 3 | 84 | 49.666667 | 0.793651 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
e2357fe0718a72f61a66d9c3f83495a22040025e | 22,062 | py | Python | Python/Kinematics.py | zdynamics/zRobotics | aed0beac327710f319b996a34b42df37440d33cd | [
"MIT"
] | 2 | 2021-01-19T10:21:48.000Z | 2021-02-15T14:55:12.000Z | Python/Kinematics.py | zdynamics/zRobotics | aed0beac327710f319b996a34b42df37440d33cd | [
"MIT"
] | null | null | null | Python/Kinematics.py | zdynamics/zRobotics | aed0beac327710f319b996a34b42df37440d33cd | [
"MIT"
] | null | null | null | import DenavitHartenberg as dh
import DualQuaternions as dq
import Dynamics as dy
import Movements as mv
import multiprocessing
import numpy as np
from sympy import *
"""
Kinematics Section
"""
def forwardHTM(robot, m = 0, symbolic = False):
"""
Using Homogeneous Transformation Matrices, thi... | 44.212425 | 286 | 0.644003 | 3,087 | 22,062 | 4.597668 | 0.078393 | 0.02156 | 0.028887 | 0.060664 | 0.83365 | 0.803283 | 0.784753 | 0.755091 | 0.717325 | 0.67026 | 0 | 0.016352 | 0.226634 | 22,062 | 499 | 287 | 44.212425 | 0.815496 | 0.376439 | 0 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.080972 | false | 0 | 0.02834 | 0 | 0.190283 | 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 |
2c377c484a8d1dd82bb2f4957f5db45b191a25a8 | 5,347 | py | Python | tests_unit.py | IanMadlenya/inbestment | 4ba18678f2df6fdbe978f3d22f3eea480ed5c576 | [
"Unlicense"
] | 21 | 2015-03-18T15:16:08.000Z | 2021-06-01T14:31:55.000Z | tests_unit.py | IanMadlenya/inbestment | 4ba18678f2df6fdbe978f3d22f3eea480ed5c576 | [
"Unlicense"
] | 25 | 2015-02-17T23:09:21.000Z | 2015-03-12T01:59:42.000Z | tests_unit.py | at4260/inbestment | 4ba18678f2df6fdbe978f3d22f3eea480ed5c576 | [
"Unlicense"
] | 12 | 2015-10-16T07:31:58.000Z | 2021-11-20T17:03:54.000Z | """
Unittests to check that the results are calculating correctly
based on various user input.
Two main functions are generating the results/priority goals
and associated semi-circle graphs:
utils.calc_financial_results - calculating the "Amount Funded"
utils.calc_max_financials - calculating the "Target Remaining"
""... | 39.607407 | 63 | 0.573593 | 635 | 5,347 | 4.661417 | 0.133858 | 0.063851 | 0.121959 | 0.154054 | 0.836486 | 0.836486 | 0.826689 | 0.80473 | 0.773649 | 0.635135 | 0 | 0.138036 | 0.262951 | 5,347 | 134 | 64 | 39.902985 | 0.613042 | 0.058538 | 0 | 0.514851 | 0 | 0 | 0.171906 | 0 | 0 | 0 | 0 | 0 | 0.188119 | 1 | 0.188119 | false | 0 | 0.019802 | 0 | 0.227723 | 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 |
2c8f1d44c4662345ff4fc0076f70ea4bcc960228 | 22,566 | py | Python | semantique/processor/reducers.py | ZGIS/semantique | 35924bc9d06ee4dd1c4a0474a3b2bb2499d6bb1b | [
"Apache-2.0"
] | 2 | 2021-11-16T21:04:27.000Z | 2021-12-02T08:03:23.000Z | semantique/processor/reducers.py | ZGIS/semantique | 35924bc9d06ee4dd1c4a0474a3b2bb2499d6bb1b | [
"Apache-2.0"
] | 9 | 2021-11-30T16:27:49.000Z | 2021-12-14T08:11:38.000Z | semantique/processor/reducers.py | ZGIS/semantique | 35924bc9d06ee4dd1c4a0474a3b2bb2499d6bb1b | [
"Apache-2.0"
] | null | null | null | import pandas as pd
import numpy as np
from scipy import stats
from semantique.processor.types import TypePromoter
from semantique.processor.utils import np_null, np_allnull, np_null_as_zero
#
# STATISTICAL REDUCERS
#
def mean_(x, dimension, track_types = True, **kwargs):
"""Calculate the mean of a set of values.... | 28.242804 | 84 | 0.660773 | 3,081 | 22,566 | 4.739046 | 0.056475 | 0.046572 | 0.038422 | 0.048901 | 0.919526 | 0.917197 | 0.906171 | 0.887131 | 0.837819 | 0.832477 | 0 | 0.000348 | 0.235576 | 22,566 | 799 | 85 | 28.242804 | 0.846087 | 0.679917 | 0 | 0.64 | 0 | 0 | 0.015592 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.131429 | false | 0 | 0.028571 | 0 | 0.291429 | 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 |
2c9d0cd4190b4c484a80c80136011d385956e516 | 71 | py | Python | src/kako/messaging/__init__.py | tabinfl/kako | d0a51670ff210b6dd9bd61db8f37dda00d38d60f | [
"MIT"
] | 21 | 2017-11-20T02:35:41.000Z | 2021-08-14T07:40:09.000Z | services/kako/src/kako/messaging/__init__.py | m1k1o/iot-honeypot-framework | 6d607845a1321dd9dd6a7fe4f47a0c1ad08f0a9b | [
"Apache-2.0"
] | 8 | 2018-01-07T13:14:09.000Z | 2019-10-29T11:16:25.000Z | services/kako/src/kako/messaging/__init__.py | m1k1o/iot-honeypot-framework | 6d607845a1321dd9dd6a7fe4f47a0c1ad08f0a9b | [
"Apache-2.0"
] | 12 | 2018-01-10T22:10:45.000Z | 2021-12-28T15:27:15.000Z | ''' Implements Kako messaging. '''
from kako.messaging import capture
| 17.75 | 34 | 0.746479 | 8 | 71 | 6.625 | 0.75 | 0.490566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140845 | 71 | 3 | 35 | 23.666667 | 0.868852 | 0.366197 | 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 |
e2c0a1471cdb593b35903773cb04b19a80a2847e | 49,551 | py | Python | analysis/study_definition_ab_repeat.py | opensafely/amr-uom-brit | a46a241a4006e819cf7ba4a02993cb9b5219e063 | [
"MIT"
] | null | null | null | analysis/study_definition_ab_repeat.py | opensafely/amr-uom-brit | a46a241a4006e819cf7ba4a02993cb9b5219e063 | [
"MIT"
] | 48 | 2022-03-03T18:03:41.000Z | 2022-03-31T18:08:07.000Z | analysis/study_definition_ab_repeat.py | opensafely/amr-uom-brit | a46a241a4006e819cf7ba4a02993cb9b5219e063 | [
"MIT"
] | null | null | null | ######################################
# This script provides the formal specification of the study data that will be extracted from
# the OpenSAFELY database.
######################################
# --- IMPORT STATEMENTS ---
## Import code building blocks from cohort extractor package
from cohortextractor import ... | 43.657269 | 376 | 0.623015 | 5,976 | 49,551 | 4.82664 | 0.038487 | 0.039939 | 0.071904 | 0.070864 | 0.911628 | 0.902683 | 0.886112 | 0.88001 | 0.876577 | 0.862779 | 0 | 0.058048 | 0.224012 | 49,551 | 1,135 | 377 | 43.657269 | 0.692102 | 0.468931 | 0 | 0.669776 | 0 | 0 | 0.282084 | 0.030679 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.005597 | 0 | 0.005597 | 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 |
392a7ee932b7d6ad35e9ad8d12c30f312aca7ec2 | 166 | py | Python | i3-workflow/modules/helpers/command_executor.py | lukasvdberk/i3GroupStart | db4d34bc83e3bdff27e21fe9fa65b148c9b1fc68 | [
"MIT"
] | 5 | 2021-07-05T20:38:24.000Z | 2022-02-28T03:37:53.000Z | i3-workflow/modules/helpers/command_executor.py | lukasvdberk/i3GroupStart | db4d34bc83e3bdff27e21fe9fa65b148c9b1fc68 | [
"MIT"
] | null | null | null | i3-workflow/modules/helpers/command_executor.py | lukasvdberk/i3GroupStart | db4d34bc83e3bdff27e21fe9fa65b148c9b1fc68 | [
"MIT"
] | null | null | null | import shlex
import subprocess
def execute_os_command(command: str):
subprocess.Popen(shlex.split(command), stdin=subprocess.DEVNULL, stdout=subprocess.DEVNULL) | 27.666667 | 95 | 0.813253 | 21 | 166 | 6.333333 | 0.619048 | 0.255639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090361 | 166 | 6 | 95 | 27.666667 | 0.880795 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
39485dbb8cf3394f64352db94fb564af2d33940c | 12,232 | py | Python | tests/mesos_client_test.py | b2wdigital/asgard-events-indexer | 880a1d773381d511b31ddafb41ebdcf346f8dc35 | [
"BSD-3-Clause"
] | null | null | null | tests/mesos_client_test.py | b2wdigital/asgard-events-indexer | 880a1d773381d511b31ddafb41ebdcf346f8dc35 | [
"BSD-3-Clause"
] | 16 | 2020-01-14T17:11:19.000Z | 2021-12-13T20:34:24.000Z | tests/mesos_client_test.py | b2wdigital/asgard-events-indexer | 880a1d773381d511b31ddafb41ebdcf346f8dc35 | [
"BSD-3-Clause"
] | null | null | null | import json
from aiohttp.client import ClientError, ClientSession
from aioresponses import aioresponses
from asynctest import TestCase
from indexer.conf import settings
from indexer.connection import HTTPConnection
from indexer.mesos.client import (
CompletedTaskInfo,
MesosClient,
AgentNotFoundException,
... | 42.620209 | 257 | 0.6138 | 1,391 | 12,232 | 5.18404 | 0.141625 | 0.046179 | 0.039662 | 0.024962 | 0.81445 | 0.806268 | 0.801415 | 0.778949 | 0.761198 | 0.752323 | 0 | 0.119864 | 0.277714 | 12,232 | 286 | 258 | 42.769231 | 0.696321 | 0 | 0 | 0.553785 | 0 | 0.059761 | 0.331728 | 0.280923 | 0 | 0 | 0 | 0 | 0.063745 | 1 | 0 | false | 0 | 0.035857 | 0 | 0.043825 | 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 |
394fd4878c022e6f3421baa300d9d33eff5f12db | 100 | py | Python | pensa/preprocessing/__init__.py | NeilJ-Thomson/pensa | f2cc586ad8c4b60177051fc9a5d2da087ac1b6fb | [
"MIT"
] | 55 | 2020-11-18T07:03:46.000Z | 2022-03-29T02:47:10.000Z | pensa/preprocessing/__init__.py | NeilJ-Thomson/pensa | f2cc586ad8c4b60177051fc9a5d2da087ac1b6fb | [
"MIT"
] | 11 | 2020-11-18T16:43:43.000Z | 2022-02-22T20:02:22.000Z | pensa/preprocessing/__init__.py | NeilJ-Thomson/pensa | f2cc586ad8c4b60177051fc9a5d2da087ac1b6fb | [
"MIT"
] | 11 | 2020-11-19T04:34:36.000Z | 2022-03-01T23:48:57.000Z | from .coordinates import *
from .selection import *
from .download import *
from .density import *
| 16.666667 | 26 | 0.75 | 12 | 100 | 6.25 | 0.5 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17 | 100 | 5 | 27 | 20 | 0.903614 | 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 |
1a64456dcb4560e7ce3c5db2770e80617c6d0d65 | 161 | py | Python | shapelib/__init__.py | gesellkammer/shapelib | 7aa9072dfcae4a6477570b499ecbac75625154b6 | [
"BSD-3-Clause"
] | 3 | 2015-11-23T04:06:56.000Z | 2021-03-11T03:15:11.000Z | shapelib/__init__.py | gesellkammer/shapelib | 7aa9072dfcae4a6477570b499ecbac75625154b6 | [
"BSD-3-Clause"
] | 1 | 2017-05-27T10:49:00.000Z | 2017-05-28T07:24:45.000Z | shapelib/__init__.py | gesellkammer/shapelib | 7aa9072dfcae4a6477570b499ecbac75625154b6 | [
"BSD-3-Clause"
] | 1 | 2018-12-18T16:38:37.000Z | 2018-12-18T16:38:37.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import absolute_import
from .core import *
from .matplot import *
from .raster import rasterize
| 16.1 | 38 | 0.720497 | 22 | 161 | 5.045455 | 0.681818 | 0.27027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007407 | 0.161491 | 161 | 9 | 39 | 17.888889 | 0.814815 | 0.26087 | 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 |
1a90c176e16680718056b1b9e7463d5e070ba1b5 | 98,517 | py | Python | tests/unit/test_postgres.py | rubin-morr/target-postgres | d9ff9f77a2c86dd047703f715d25b0e7c6032650 | [
"MIT"
] | 85 | 2018-10-29T20:46:34.000Z | 2022-03-30T05:20:50.000Z | tests/unit/test_postgres.py | rubin-morr/target-postgres | d9ff9f77a2c86dd047703f715d25b0e7c6032650 | [
"MIT"
] | 115 | 2018-10-29T19:55:44.000Z | 2021-10-16T17:15:17.000Z | tests/unit/test_postgres.py | rubin-morr/target-postgres | d9ff9f77a2c86dd047703f715d25b0e7c6032650 | [
"MIT"
] | 67 | 2018-10-31T15:24:54.000Z | 2022-02-28T20:08:10.000Z | from copy import deepcopy
from datetime import datetime
import json
import psycopg2
from psycopg2 import sql
import psycopg2.extras
import pytest
from utils.fixtures import CatStream, CONFIG, db_cleanup, MultiTypeStream, NestedStream, TEST_DB, TypeChangeStream, DogStream
from target_postgres import json_schema, main,... | 46.580142 | 137 | 0.479745 | 9,315 | 98,517 | 4.775201 | 0.043371 | 0.024887 | 0.039747 | 0.0491 | 0.825386 | 0.799757 | 0.762213 | 0.739799 | 0.721184 | 0.697826 | 0 | 0.012287 | 0.398601 | 98,517 | 2,114 | 138 | 46.602176 | 0.738472 | 0.017134 | 0 | 0.6738 | 0 | 0.000578 | 0.195573 | 0.023437 | 0 | 0 | 0 | 0.000473 | 0.116252 | 1 | 0.035859 | false | 0 | 0.005784 | 0.000578 | 0.063042 | 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 |
1a9fe975a6fe73c90ec484db6b7cf928fe6103d9 | 37 | py | Python | class_03/helloworld.py | taoranalex/course_codes | 75f76e61f560fb51e7db7bb3edbefaeaf01ead7e | [
"MIT"
] | 121 | 2020-12-12T02:21:21.000Z | 2022-03-29T06:43:42.000Z | class_03/helloworld.py | taoranalex/course_codes | 75f76e61f560fb51e7db7bb3edbefaeaf01ead7e | [
"MIT"
] | null | null | null | class_03/helloworld.py | taoranalex/course_codes | 75f76e61f560fb51e7db7bb3edbefaeaf01ead7e | [
"MIT"
] | 80 | 2020-12-20T09:41:46.000Z | 2022-03-22T10:00:16.000Z | import requests
print("Hello world") | 12.333333 | 20 | 0.783784 | 5 | 37 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 3 | 20 | 12.333333 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0.289474 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 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 | 0 | 1 | 0 | 6 |
46c37d5e95587831ba417fb9aab83b28f8242208 | 43 | py | Python | examples/convert2tar_helpers.py | Sleepychord/cogdata | 529892512b11bac3e765490e46876bea88c14179 | [
"MIT"
] | 3 | 2021-08-13T14:22:30.000Z | 2021-12-08T09:54:31.000Z | examples/convert2tar_helpers.py | Sleepychord/cogdata | 529892512b11bac3e765490e46876bea88c14179 | [
"MIT"
] | 1 | 2021-12-09T03:14:05.000Z | 2021-12-11T10:07:14.000Z | examples/convert2tar_helpers.py | Sleepychord/cogdata | 529892512b11bac3e765490e46876bea88c14179 | [
"MIT"
] | null | null | null |
def file_collate_fn(data):
return data | 14.333333 | 26 | 0.744186 | 7 | 43 | 4.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 43 | 3 | 27 | 14.333333 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
6457f34644ee9389c935f77a69b8871c39c60374 | 13,413 | py | Python | guillotina/tests/test_security.py | jordic/guillotina | 8845454a784e797b90951580e1ab5fa9172055e1 | [
"BSD-2-Clause"
] | null | null | null | guillotina/tests/test_security.py | jordic/guillotina | 8845454a784e797b90951580e1ab5fa9172055e1 | [
"BSD-2-Clause"
] | null | null | null | guillotina/tests/test_security.py | jordic/guillotina | 8845454a784e797b90951580e1ab5fa9172055e1 | [
"BSD-2-Clause"
] | null | null | null | from guillotina.security.utils import get_principals_with_access_content
from guillotina.security.utils import get_roles_with_access_content
from guillotina.security.utils import settings_for_object
from guillotina.tests import utils
from guillotina.transactions import managed_transaction
from guillotina.auth.users imp... | 35.390501 | 111 | 0.545516 | 1,145 | 13,413 | 6.259389 | 0.10393 | 0.061392 | 0.053021 | 0.078136 | 0.804242 | 0.789452 | 0.759314 | 0.712711 | 0.68062 | 0.68062 | 0 | 0.010969 | 0.347499 | 13,413 | 378 | 112 | 35.484127 | 0.80793 | 0.021397 | 0 | 0.788274 | 0 | 0 | 0.192179 | 0.088962 | 0 | 0 | 0 | 0 | 0.14658 | 1 | 0 | false | 0 | 0.022801 | 0 | 0.022801 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
646e1780226b112954da10f51c8e01250bb1729b | 2,746 | py | Python | C2 Improving Deep Neural Networks - Hyperparameter Tuning, Regularization and Optimization/W1A1/public_tests.py | shubhangkhare/Deep-Learning-Specialization | 4c14548e0936edc72560035354b69e2dfebcf552 | [
"MIT"
] | null | null | null | C2 Improving Deep Neural Networks - Hyperparameter Tuning, Regularization and Optimization/W1A1/public_tests.py | shubhangkhare/Deep-Learning-Specialization | 4c14548e0936edc72560035354b69e2dfebcf552 | [
"MIT"
] | null | null | null | C2 Improving Deep Neural Networks - Hyperparameter Tuning, Regularization and Optimization/W1A1/public_tests.py | shubhangkhare/Deep-Learning-Specialization | 4c14548e0936edc72560035354b69e2dfebcf552 | [
"MIT"
] | null | null | null | import numpy as np
from test_utils import single_test, multiple_test
def initialize_parameters_zeros_test(target):
layer_dims = [3,2,1]
expected_output = {'W1': np.array([[0., 0., 0.],
[0., 0., 0.]]),
'b1': np.array([[0.],
[0.]]),
'W2': np.array([[0., 0.]]),
'b2': np.array([[0.]])}
... | 27.737374 | 82 | 0.471959 | 262 | 2,746 | 4.729008 | 0.21374 | 0.087167 | 0.058111 | 0.138015 | 0.805488 | 0.76594 | 0.76594 | 0.76594 | 0.76594 | 0.732042 | 0 | 0.088788 | 0.36016 | 2,746 | 99 | 83 | 27.737374 | 0.616392 | 0 | 0 | 0.574713 | 0 | 0 | 0.174736 | 0.022934 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034483 | false | 0 | 0.022989 | 0 | 0.057471 | 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 |
648fc242384af5b26fb545f1cb97cc1e2637d762 | 44 | py | Python | waterbutler/providers/swift/__init__.py | KakeruMizuno/RDM-waterbutler | 58ecd801385a7572d1ed56568a31f701291c4e3e | [
"Apache-2.0"
] | null | null | null | waterbutler/providers/swift/__init__.py | KakeruMizuno/RDM-waterbutler | 58ecd801385a7572d1ed56568a31f701291c4e3e | [
"Apache-2.0"
] | 9 | 2018-04-13T04:57:46.000Z | 2019-08-20T13:58:02.000Z | waterbutler/providers/swift/__init__.py | KakeruMizuno/RDM-waterbutler | 58ecd801385a7572d1ed56568a31f701291c4e3e | [
"Apache-2.0"
] | 6 | 2018-09-29T13:49:26.000Z | 2022-01-27T04:35:12.000Z | from .provider import SwiftProvider # noqa
| 22 | 43 | 0.795455 | 5 | 44 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 44 | 1 | 44 | 44 | 0.945946 | 0.090909 | 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 |
64bd5240e6c1558c6bd6fb16a89f55a8a8895cae | 557 | py | Python | core/service/deps/service.py | prorevizor/noc | 37e44b8afc64318b10699c06a1138eee9e7d6a4e | [
"BSD-3-Clause"
] | 84 | 2017-10-22T11:01:39.000Z | 2022-02-27T03:43:48.000Z | core/service/deps/service.py | prorevizor/noc | 37e44b8afc64318b10699c06a1138eee9e7d6a4e | [
"BSD-3-Clause"
] | 22 | 2017-12-11T07:21:56.000Z | 2021-09-23T02:53:50.000Z | core/service/deps/service.py | prorevizor/noc | 37e44b8afc64318b10699c06a1138eee9e7d6a4e | [
"BSD-3-Clause"
] | 23 | 2017-12-06T06:59:52.000Z | 2022-02-24T00:02:25.000Z | # ----------------------------------------------------------------------
# get_service dependency
# ----------------------------------------------------------------------
# Copyright (C) 2007-2021 The NOC Project
# See LICENSE for details
# ----------------------------------------------------------------------
# NOC m... | 29.315789 | 72 | 0.443447 | 45 | 557 | 5.333333 | 0.577778 | 0.208333 | 0.091667 | 0.15 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0.123878 | 557 | 18 | 73 | 30.944444 | 0.47541 | 0.621185 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
64c5c09e3953d4c0872261b6d24d327f82a12cea | 304 | py | Python | hash.py | TomazSpehar/crypto-portal | f7a819ebec16354a391e1fe826b753838fa31c94 | [
"MIT"
] | null | null | null | hash.py | TomazSpehar/crypto-portal | f7a819ebec16354a391e1fe826b753838fa31c94 | [
"MIT"
] | null | null | null | hash.py | TomazSpehar/crypto-portal | f7a819ebec16354a391e1fe826b753838fa31c94 | [
"MIT"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
from flask import redirect, render_template, Blueprint
app = Blueprint('hash', __name__)
@app.route('/')
def index():
return render_template('hash.description.html')
@app.route('/examples')
def examples():
return render_template('hash.examples.html')
| 21.714286 | 54 | 0.700658 | 38 | 304 | 5.421053 | 0.605263 | 0.203884 | 0.194175 | 0.23301 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003745 | 0.121711 | 304 | 13 | 55 | 23.384615 | 0.76779 | 0.125 | 0 | 0 | 0 | 0 | 0.200758 | 0.079545 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.25 | 0.625 | 0.25 | 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 |
64cee852db609f44f55d564a3666bfcc77dd3125 | 258 | py | Python | power_model/setup.py | bekiroguzhan/GreenABR-MMSys22 | 57715746559724a58ccf9157ad0e0068620e738a | [
"BSD-2-Clause"
] | null | null | null | power_model/setup.py | bekiroguzhan/GreenABR-MMSys22 | 57715746559724a58ccf9157ad0e0068620e738a | [
"BSD-2-Clause"
] | null | null | null | power_model/setup.py | bekiroguzhan/GreenABR-MMSys22 | 57715746559724a58ccf9157ad0e0068620e738a | [
"BSD-2-Clause"
] | null | null | null | import os
os.system("pip install keras==2.3.1")
os.system("pip install numpy==1.16.4")
os.system("pip install pandas==0.24.2")
os.system("pip install joblib==1.0.1")
os.system("pip install tensorflow==1.14.0")
os.system("pip install scikit-learn==0.21.2") | 28.666667 | 45 | 0.70155 | 51 | 258 | 3.54902 | 0.411765 | 0.265193 | 0.364641 | 0.596685 | 0.209945 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09322 | 0.085271 | 258 | 9 | 45 | 28.666667 | 0.673729 | 0 | 0 | 0 | 0 | 0 | 0.625483 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b3c1ee996e316c3b26a5d4a277603ae8c288cbb1 | 42 | py | Python | syn/util/log/b/__init__.py | mbodenhamer/syn | aeaa3ad8a49bac8f50cf89b6f1fe97ad43d1d258 | [
"MIT"
] | 1 | 2021-07-15T08:55:12.000Z | 2021-07-15T08:55:12.000Z | syn/util/log/b/__init__.py | mbodenhamer/syn | aeaa3ad8a49bac8f50cf89b6f1fe97ad43d1d258 | [
"MIT"
] | 7 | 2021-01-07T23:51:57.000Z | 2021-12-13T19:50:57.000Z | syn/util/log/b/__init__.py | mbodenhamer/syn | aeaa3ad8a49bac8f50cf89b6f1fe97ad43d1d258 | [
"MIT"
] | 2 | 2016-07-11T08:46:31.000Z | 2017-12-13T13:30:51.000Z | from .base import *
from .events import *
| 14 | 21 | 0.714286 | 6 | 42 | 5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 42 | 2 | 22 | 21 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b3e02d70038ec7dd690da672dbf24e18da3a16ae | 4,937 | py | Python | Incident-Response/Tools/dfirtrack/dfirtrack_api/tests/dfirtrack_main/taskstatus/test_taskstatus_api_views.py | sn0b4ll/Incident-Playbook | cf519f58fcd4255674662b3620ea97c1091c1efb | [
"MIT"
] | 1 | 2021-07-24T17:22:50.000Z | 2021-07-24T17:22:50.000Z | Incident-Response/Tools/dfirtrack/dfirtrack_api/tests/dfirtrack_main/taskstatus/test_taskstatus_api_views.py | sn0b4ll/Incident-Playbook | cf519f58fcd4255674662b3620ea97c1091c1efb | [
"MIT"
] | 2 | 2022-02-28T03:40:31.000Z | 2022-02-28T03:40:52.000Z | Incident-Response/Tools/dfirtrack/dfirtrack_api/tests/dfirtrack_main/taskstatus/test_taskstatus_api_views.py | sn0b4ll/Incident-Playbook | cf519f58fcd4255674662b3620ea97c1091c1efb | [
"MIT"
] | 2 | 2022-02-25T08:34:51.000Z | 2022-03-16T17:29:44.000Z | from django.contrib.auth.models import User
from django.test import TestCase
from dfirtrack_main.models import Taskstatus
import urllib.parse
class TaskstatusAPIViewTestCase(TestCase):
""" taskstatus API view tests """
@classmethod
def setUpTestData(cls):
# create object
Taskstatus.object... | 40.467213 | 114 | 0.67936 | 535 | 4,937 | 6.033645 | 0.149533 | 0.112763 | 0.078067 | 0.081784 | 0.843556 | 0.818154 | 0.789653 | 0.772305 | 0.695787 | 0.680607 | 0 | 0.015468 | 0.2143 | 4,937 | 121 | 115 | 40.801653 | 0.816705 | 0.141787 | 0 | 0.509434 | 0 | 0 | 0.17029 | 0.044444 | 0 | 0 | 0 | 0 | 0.169811 | 1 | 0.188679 | false | 0.150943 | 0.075472 | 0 | 0.283019 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
b60b85f65db02c8be26eb6ae8f6ba599248129f4 | 43 | py | Python | yacms/__init__.py | IsaacHaze/countminsketch | 8b286bd40678ccecb56b03835bc17d9e4d1f0a7a | [
"BSD-3-Clause"
] | 5 | 2016-09-21T11:56:27.000Z | 2020-08-01T15:23:31.000Z | yacms/__init__.py | IsaacHaze/countminsketch | 8b286bd40678ccecb56b03835bc17d9e4d1f0a7a | [
"BSD-3-Clause"
] | null | null | null | yacms/__init__.py | IsaacHaze/countminsketch | 8b286bd40678ccecb56b03835bc17d9e4d1f0a7a | [
"BSD-3-Clause"
] | 3 | 2017-04-10T08:30:57.000Z | 2021-05-29T03:15:46.000Z | from .countminsketch import CountMinSketch
| 21.5 | 42 | 0.883721 | 4 | 43 | 9.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.974359 | 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 |
378f878a5b238603481009ede2e7905f604f9656 | 213 | py | Python | Codewars/8kyu/palindrome-strings/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | 7 | 2017-09-20T16:40:39.000Z | 2021-08-31T18:15:08.000Z | Codewars/8kyu/palindrome-strings/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | Codewars/8kyu/palindrome-strings/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | # Python - 3.6.0
test.assert_equals(is_palindrome('anna'), True)
test.assert_equals(is_palindrome('walter'), False)
test.assert_equals(is_palindrome(12321), True)
test.assert_equals(is_palindrome(123456), False)
| 30.428571 | 50 | 0.788732 | 32 | 213 | 5 | 0.46875 | 0.25 | 0.4 | 0.45 | 0.75 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0.07 | 0.061033 | 213 | 6 | 51 | 35.5 | 0.73 | 0.065728 | 0 | 0 | 0 | 0 | 0.050761 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
37a7bec0ccd991f350b80d0cb7fac38bee7b6783 | 33 | py | Python | src/tests/__init__.py | fortyninemaps/picoraster | b6a3c18c9cb95554738264b67844a28c48281403 | [
"MIT"
] | null | null | null | src/tests/__init__.py | fortyninemaps/picoraster | b6a3c18c9cb95554738264b67844a28c48281403 | [
"MIT"
] | null | null | null | src/tests/__init__.py | fortyninemaps/picoraster | b6a3c18c9cb95554738264b67844a28c48281403 | [
"MIT"
] | null | null | null | from .geotransform_tests import * | 33 | 33 | 0.848485 | 4 | 33 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 0.9 | 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 |
37bfa797bfeff7a348f8fd0d6cf61e00378fc964 | 33,255 | py | Python | misago/misago/threads/tests/test_thread_merge_api.py | vascoalramos/misago-deployment | 20226072138403108046c0afad9d99eb4163cedc | [
"MIT"
] | 2 | 2021-03-06T21:06:13.000Z | 2021-03-09T15:05:12.000Z | misago/misago/threads/tests/test_thread_merge_api.py | vascoalramos/misago-deployment | 20226072138403108046c0afad9d99eb4163cedc | [
"MIT"
] | null | null | null | misago/misago/threads/tests/test_thread_merge_api.py | vascoalramos/misago-deployment | 20226072138403108046c0afad9d99eb4163cedc | [
"MIT"
] | null | null | null | from django.urls import reverse
from .. import test
from ...categories.models import Category
from ...readtracker import poststracker
from ..models import Poll, PollVote, Thread
from ..test import patch_category_acl, patch_other_category_acl
from .test_threads_api import ThreadsApiTestCase
class ThreadMergeApiTests(... | 38.312212 | 88 | 0.628146 | 3,950 | 33,255 | 5.025316 | 0.049367 | 0.133552 | 0.071839 | 0.053602 | 0.902368 | 0.889421 | 0.879345 | 0.862217 | 0.848766 | 0.841058 | 0 | 0.005842 | 0.26393 | 33,255 | 867 | 89 | 38.356401 | 0.80509 | 0.085521 | 0 | 0.657698 | 0 | 0 | 0.082638 | 0.000761 | 0 | 0 | 0 | 0 | 0.188341 | 1 | 0.047833 | false | 0 | 0.010463 | 0 | 0.059791 | 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 |
37ccc89426633a9ba8b9796424f61633b5011abc | 280 | py | Python | app/views/dashboard/pages/__init__.py | Wern-rm/raton.by | 68f862f2bc0551bf2327e9d6352c0cde93f45301 | [
"MIT"
] | null | null | null | app/views/dashboard/pages/__init__.py | Wern-rm/raton.by | 68f862f2bc0551bf2327e9d6352c0cde93f45301 | [
"MIT"
] | null | null | null | app/views/dashboard/pages/__init__.py | Wern-rm/raton.by | 68f862f2bc0551bf2327e9d6352c0cde93f45301 | [
"MIT"
] | null | null | null | from app.views.dashboard.pages.delete import page_delete
from app.views.dashboard.pages.index import pages
from app.views.dashboard.pages.activation import page_activated
from app.views.dashboard.pages.create import page_create
from app.views.dashboard.pages.edit import page_edit | 56 | 63 | 0.860714 | 44 | 280 | 5.386364 | 0.295455 | 0.147679 | 0.253165 | 0.443038 | 0.548523 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067857 | 280 | 5 | 64 | 56 | 0.908046 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8085849f3f564d6c581d66863005e7ff020c43f2 | 87 | py | Python | sortedSquares.py | hazardinho/LeetcodeSolutions | 3f7fee882c1cdc83ecf7c9fd05d2a7f1afb130e6 | [
"MIT"
] | 1 | 2020-05-21T09:29:48.000Z | 2020-05-21T09:29:48.000Z | sortedSquares.py | Ich1goSan/LeetcodeSolutions | 3f7fee882c1cdc83ecf7c9fd05d2a7f1afb130e6 | [
"MIT"
] | null | null | null | sortedSquares.py | Ich1goSan/LeetcodeSolutions | 3f7fee882c1cdc83ecf7c9fd05d2a7f1afb130e6 | [
"MIT"
] | null | null | null | def sortedSquares(self, A: List[int]) -> List[int]:
return sorted([i*i for i in A]) | 43.5 | 51 | 0.643678 | 16 | 87 | 3.5 | 0.6875 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 87 | 2 | 52 | 43.5 | 0.777778 | 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 |
809e8b8bf52a1cd61b0709a689afb739184af895 | 2,265 | py | Python | epytope/Data/pssms/comblibsidney/mat/A_3001_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/comblibsidney/mat/A_3001_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/comblibsidney/mat/A_3001_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | A_3001_9 = {0: {'A': -0.18, 'C': -0.097, 'E': -0.018, 'D': -0.0069, 'G': -0.11, 'F': -0.035, 'I': -0.11, 'H': -0.49, 'K': -0.49, 'M': -0.37, 'L': -0.081, 'N': -0.065, 'Q': -0.063, 'P': -0.0059, 'S': -0.32, 'R': -1.0, 'T': -0.05, 'W': -0.02, 'V': -0.074, 'Y': -0.064}, 1: {'A': -0.89, 'C': -0.15, 'E': -0.025, 'D': -0.012... | 2,265 | 2,265 | 0.34702 | 552 | 2,265 | 1.42029 | 0.208333 | 0.022959 | 0.015306 | 0.019133 | 0.132653 | 0.022959 | 0.022959 | 0 | 0 | 0 | 0 | 0.318206 | 0.163355 | 2,265 | 1 | 2,265 | 2,265 | 0.095515 | 0 | 0 | 0 | 0 | 0 | 0.079435 | 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 |
80a9318b168efb5e45edc22cecf37b7e5a87f8fe | 94 | py | Python | glue/viewers/custom/qt/__init__.py | underchemist/glue | fc7456973d30b95c93440f6b6b05f62db24f8c8c | [
"BSD-3-Clause"
] | 3 | 2015-09-10T22:23:55.000Z | 2019-04-04T18:47:33.000Z | glue/viewers/custom/qt/__init__.py | astrofrog/glue | 4aa8c64a6f65629207e40df9963232473a24c9f6 | [
"BSD-3-Clause"
] | null | null | null | glue/viewers/custom/qt/__init__.py | astrofrog/glue | 4aa8c64a6f65629207e40df9963232473a24c9f6 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import absolute_import, division, print_function
from .custom_viewer import * | 31.333333 | 64 | 0.851064 | 12 | 94 | 6.083333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 94 | 3 | 65 | 31.333333 | 0.869048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 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 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
80dc80f5da8dce19258f6266a945cef4d075a295 | 47 | py | Python | input/shape_util/__init__.py | CUrW-SL/distributed_hechms | 0ae72d55f5b724dd41a5c322ac96804b4bbf1ee2 | [
"MIT"
] | 1 | 2019-04-17T03:21:58.000Z | 2019-04-17T03:21:58.000Z | input/shape_util/__init__.py | hasithadkr7/HecHmsDistributed | c64708d0b19c457aff9ecd0b5f235afad9744e8a | [
"MIT"
] | null | null | null | input/shape_util/__init__.py | hasithadkr7/HecHmsDistributed | c64708d0b19c457aff9ecd0b5f235afad9744e8a | [
"MIT"
] | null | null | null | from .spatial_util import get_voronoi_polygons
| 23.5 | 46 | 0.893617 | 7 | 47 | 5.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.906977 | 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 |
ff0c88bbc9d0b9f8898414a322311ec8cd744d59 | 154 | py | Python | flask app/static/server.py | Benton-Michael/users_crud_mod | b47ddaacf40753d8ef2a69da5f4e53b3472e2477 | [
"MIT"
] | null | null | null | flask app/static/server.py | Benton-Michael/users_crud_mod | b47ddaacf40753d8ef2a69da5f4e53b3472e2477 | [
"MIT"
] | null | null | null | flask app/static/server.py | Benton-Michael/users_crud_mod | b47ddaacf40753d8ef2a69da5f4e53b3472e2477 | [
"MIT"
] | null | null | null | from logging import debug
from flask_app import app
from flask_app.controllers import users
if __name__=="__main__":
app.run(debug=True, port=5001)
| 19.25 | 39 | 0.779221 | 24 | 154 | 4.583333 | 0.625 | 0.163636 | 0.218182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.142857 | 154 | 7 | 40 | 22 | 0.80303 | 0 | 0 | 0 | 0 | 0 | 0.051948 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ff15fe8e98c60e719a60101bc98c605628562c30 | 54,422 | py | Python | api_tests/nodes/views/test_node_comments_list.py | alexschiller/osf.io | 4122d4be152c6189142c2ebb19cfdee09c77035d | [
"Apache-2.0"
] | 1 | 2015-10-02T18:35:53.000Z | 2015-10-02T18:35:53.000Z | api_tests/nodes/views/test_node_comments_list.py | alexschiller/osf.io | 4122d4be152c6189142c2ebb19cfdee09c77035d | [
"Apache-2.0"
] | 4 | 2016-05-13T14:24:16.000Z | 2017-03-30T15:28:31.000Z | api_tests/nodes/views/test_node_comments_list.py | alexschiller/osf.io | 4122d4be152c6189142c2ebb19cfdee09c77035d | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import pytest
import mock
from nose.tools import * # flake8: noqa
from framework.auth import core
from framework.guid.model import Guid
from api.base.settings.defaults import API_BASE
from api.base.settings import osf_settings
from api_tests import utils as test_utils
from tests.base import A... | 51.781161 | 235 | 0.654643 | 6,600 | 54,422 | 5.049394 | 0.038182 | 0.050771 | 0.039489 | 0.04357 | 0.932665 | 0.918592 | 0.899088 | 0.874422 | 0.848617 | 0.825602 | 0 | 0.0053 | 0.230385 | 54,422 | 1,050 | 236 | 51.830476 | 0.790373 | 0.025468 | 0 | 0.578595 | 0 | 0 | 0.104425 | 0.020397 | 0 | 0 | 0 | 0 | 0.152731 | 1 | 0.121516 | false | 0 | 0.012263 | 0.004459 | 0.149387 | 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 |
207ae634c5985e705babf694903db24d7a87d9c3 | 687 | py | Python | t3nsor/__init__.py | onucharles/tensorized-rnn | 69fc031f1efe169ee88327d10bdf5e5bc24f03cf | [
"MIT"
] | 16 | 2020-11-19T16:10:17.000Z | 2021-12-02T13:31:30.000Z | t3nsor/__init__.py | MohamedAbdelsalam9/TT-Transformer | aeef0f0199207121e3e5621bfeb67b15ffbb3d1d | [
"MIT"
] | 2 | 2021-02-26T08:45:16.000Z | 2021-08-11T13:47:43.000Z | t3nsor/__init__.py | kritostudent/tensorized-rnn | 69fc031f1efe169ee88327d10bdf5e5bc24f03cf | [
"MIT"
] | 7 | 2021-01-21T11:24:31.000Z | 2022-03-21T08:59:08.000Z | from t3nsor.tensor_train import TensorTrain
from t3nsor.tensor_train import TensorTrainBatch
from t3nsor.initializers import tensor_ones
from t3nsor.initializers import tensor_zeros
from t3nsor.initializers import random_matrix
from t3nsor.initializers import matrix_with_random_cores
from t3nsor.decompositions import t... | 42.9375 | 56 | 0.885007 | 97 | 687 | 6.092784 | 0.309278 | 0.270728 | 0.22335 | 0.284264 | 0.548223 | 0.115059 | 0 | 0 | 0 | 0 | 0 | 0.027244 | 0.091703 | 687 | 16 | 57 | 42.9375 | 0.919872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
20c754aee95d9bafbe7752041d18f985230bd2c9 | 7,703 | py | Python | python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_conv_bias_fuse_pass.py | L-Net-1992/Paddle | 4d0ca02ba56760b456f3d4b42a538555b9b6c307 | [
"Apache-2.0"
] | 11 | 2016-08-29T07:43:26.000Z | 2016-08-29T07:51:24.000Z | python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_conv_bias_fuse_pass.py | L-Net-1992/Paddle | 4d0ca02ba56760b456f3d4b42a538555b9b6c307 | [
"Apache-2.0"
] | null | null | null | python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_conv_bias_fuse_pass.py | L-Net-1992/Paddle | 4d0ca02ba56760b456f3d4b42a538555b9b6c307 | [
"Apache-2.0"
] | 1 | 2021-12-09T08:59:17.000Z | 2021-12-09T08:59:17.000Z | # Copyright (c) 2020 PaddlePaddle Authors. 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.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... | 40.542105 | 80 | 0.506166 | 718 | 7,703 | 5.260446 | 0.221448 | 0.006354 | 0.013238 | 0.021181 | 0.726767 | 0.713529 | 0.713529 | 0.705586 | 0.697908 | 0.697908 | 0 | 0.037371 | 0.409451 | 7,703 | 189 | 81 | 40.756614 | 0.792922 | 0.081786 | 0 | 0.776224 | 0 | 0 | 0.035006 | 0.008787 | 0 | 0 | 0 | 0 | 0.013986 | 1 | 0.055944 | false | 0.083916 | 0.055944 | 0 | 0.153846 | 0.006993 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
4554862099107789256facadca1eb356c394d838 | 40 | py | Python | software/glasgow/arch/arc/__init__.py | electroniceel/Glasgow | f6d8fda1d5baec006a6c43fa3d2547a33bdee666 | [
"Apache-2.0",
"0BSD"
] | 1,014 | 2019-10-05T16:21:43.000Z | 2022-03-31T09:26:43.000Z | software/glasgow/arch/arc/__init__.py | attie/glasgow | eca2cb278478d9cb9a102e6e99dfc5bd2d77a549 | [
"Apache-2.0",
"0BSD"
] | 113 | 2019-10-06T07:49:37.000Z | 2022-03-24T04:33:08.000Z | software/glasgow/arch/arc/__init__.py | attie/glasgow | eca2cb278478d9cb9a102e6e99dfc5bd2d77a549 | [
"Apache-2.0",
"0BSD"
] | 79 | 2019-10-08T07:36:03.000Z | 2022-03-21T07:00:27.000Z | from .core import *
from .jtag import *
| 13.333333 | 19 | 0.7 | 6 | 40 | 4.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 40 | 2 | 20 | 20 | 0.875 | 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 |
45c3e5532988e6e4d1e1dc11fa30168eb4fdb960 | 6,290 | py | Python | dit_helpdesk/trade_tariff_service/tests/test_commands.py | uktrade/dit-helpdesk | f5127daa46e920d33ec3f0b982136b65bba0353a | [
"MIT"
] | 3 | 2019-10-24T10:39:38.000Z | 2021-07-13T11:46:18.000Z | dit_helpdesk/trade_tariff_service/tests/test_commands.py | uktrade/dit-helpdesk | f5127daa46e920d33ec3f0b982136b65bba0353a | [
"MIT"
] | 20 | 2020-01-22T11:16:24.000Z | 2022-02-02T10:38:54.000Z | dit_helpdesk/trade_tariff_service/tests/test_commands.py | uktrade/dit-helpdesk | f5127daa46e920d33ec3f0b982136b65bba0353a | [
"MIT"
] | null | null | null | import sys
import logging
from django.core.management import call_command
from django.test import override_settings, TestCase
from hierarchy.models import Section, Chapter, Heading, SubHeading
from commodities.models import Commodity
logger = logging.getLogger(__name__)
logging.disable(logging.NOTSET)
logger.setLeve... | 39.3125 | 90 | 0.648967 | 663 | 6,290 | 5.933635 | 0.18552 | 0.122013 | 0.089476 | 0.12303 | 0.893238 | 0.845196 | 0.845196 | 0.845196 | 0.845196 | 0.831469 | 0 | 0.031499 | 0.242925 | 6,290 | 159 | 91 | 39.559748 | 0.794624 | 0.019873 | 0 | 0.544 | 0 | 0 | 0.222493 | 0.063453 | 0 | 0 | 0 | 0 | 0.32 | 1 | 0.016 | false | 0 | 0.048 | 0 | 0.072 | 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 |
afe13a5834b145a4efb7ec7c9c0cc168a15248ec | 243 | py | Python | src/elasticsearch/embedder.py | isspek/FakeNewsDetectionFramework | a22dbc6b835a2c5ef647f033ac04a08789eba408 | [
"MIT"
] | 5 | 2021-01-21T19:37:36.000Z | 2021-11-04T08:46:34.000Z | src/elasticsearch/embedder.py | isspek/FakeNewsDetectionFramework | a22dbc6b835a2c5ef647f033ac04a08789eba408 | [
"MIT"
] | null | null | null | src/elasticsearch/embedder.py | isspek/FakeNewsDetectionFramework | a22dbc6b835a2c5ef647f033ac04a08789eba408 | [
"MIT"
] | 1 | 2020-12-04T02:08:48.000Z | 2020-12-04T02:08:48.000Z | from sentence_transformers import SentenceTransformer
MODEL_NAME = 'bert-base-nli-mean-tokens'
MODEL = SentenceTransformer(MODEL_NAME)
def embed(sentence):
return MODEL.encode(sentence).tolist() # make it compatible with Elasticsearch
| 27 | 83 | 0.802469 | 29 | 243 | 6.62069 | 0.758621 | 0.25 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115226 | 243 | 8 | 84 | 30.375 | 0.893023 | 0.152263 | 0 | 0 | 0 | 0 | 0.122549 | 0.122549 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
b340f11bb2085023e60f9feb314065a42ded4771 | 73 | py | Python | wc_onto/__init__.py | KarrLab/wc_onto | f975ca132268a1f08c5757f366d868b7c4a4617d | [
"MIT"
] | 1 | 2019-08-22T10:30:29.000Z | 2019-08-22T10:30:29.000Z | wc_onto/__init__.py | KarrLab/wc_onto | f975ca132268a1f08c5757f366d868b7c4a4617d | [
"MIT"
] | 2 | 2019-03-28T15:40:44.000Z | 2019-04-20T22:06:54.000Z | wc_onto/__init__.py | KarrLab/wc_onto | f975ca132268a1f08c5757f366d868b7c4a4617d | [
"MIT"
] | null | null | null | # read version
from ._version import __version__
from .core import onto
| 14.6 | 33 | 0.794521 | 10 | 73 | 5.3 | 0.6 | 0.415094 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164384 | 73 | 4 | 34 | 18.25 | 0.868852 | 0.164384 | 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 |
b35fbe425b70da6789d076813b6c163a04e3c581 | 80 | py | Python | app/new_relic.py | uk-gov-mirror/ONSdigital.eq-survey-runner | b3a67a82347d024177f7fa6bf05499f47ece7ea5 | [
"MIT"
] | 27 | 2015-10-02T17:27:54.000Z | 2021-04-05T12:39:16.000Z | app/new_relic.py | uk-gov-mirror/ONSdigital.eq-survey-runner | b3a67a82347d024177f7fa6bf05499f47ece7ea5 | [
"MIT"
] | 1,836 | 2015-09-16T09:59:03.000Z | 2022-03-30T14:27:06.000Z | app/new_relic.py | uk-gov-mirror/ONSdigital.eq-survey-runner | b3a67a82347d024177f7fa6bf05499f47ece7ea5 | [
"MIT"
] | 20 | 2016-09-09T16:56:12.000Z | 2021-11-12T06:09:27.000Z | def setup_newrelic():
import newrelic.agent
newrelic.agent.initialize()
| 20 | 31 | 0.7375 | 9 | 80 | 6.444444 | 0.666667 | 0.448276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1625 | 80 | 3 | 32 | 26.666667 | 0.865672 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 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 |
ff84a5065170a05e99ec1ebbdc34a4b4092ed0cd | 317 | py | Python | python/bbgo/utils/__init__.py | Yukaii/bbgo | 1f1fcdedc450901f9f9dc99bc58eab262003c126 | [
"MIT"
] | null | null | null | python/bbgo/utils/__init__.py | Yukaii/bbgo | 1f1fcdedc450901f9f9dc99bc58eab262003c126 | [
"MIT"
] | null | null | null | python/bbgo/utils/__init__.py | Yukaii/bbgo | 1f1fcdedc450901f9f9dc99bc58eab262003c126 | [
"MIT"
] | null | null | null | from .convert import parse_number
from .convert import parse_time
from .grpc_utils import get_credentials_from_env
from .grpc_utils import get_grpc_cert_file_from_env
from .grpc_utils import get_grpc_key_file_from_env
from .grpc_utils import get_insecure_channel
from .grpc_utils import get_insecure_channel_from_env
| 39.625 | 53 | 0.88959 | 54 | 317 | 4.740741 | 0.296296 | 0.15625 | 0.253906 | 0.371094 | 0.707031 | 0.621094 | 0.621094 | 0.621094 | 0 | 0 | 0 | 0 | 0.088328 | 317 | 7 | 54 | 45.285714 | 0.885813 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4435bec1a5b3c764e901ad668f159e9531750665 | 2,250 | py | Python | tests/unit/experiment/test_utils.py | ethan-asapp/flambe | 70257167058c7b82ee39f74167a6161bd264ad18 | [
"MIT"
] | 1 | 2020-02-28T15:45:19.000Z | 2020-02-28T15:45:19.000Z | tests/unit/experiment/test_utils.py | cle-ros/flambe | 0dc2f5b2b286694defe8abf450fe5be9ae12c097 | [
"MIT"
] | null | null | null | tests/unit/experiment/test_utils.py | cle-ros/flambe | 0dc2f5b2b286694defe8abf450fe5be9ae12c097 | [
"MIT"
] | null | null | null | import pytest
from flambe.compile import Component, yaml
from flambe.experiment.utils import divide_nested_grid_search_options
@pytest.fixture
def make_classes():
class A(Component):
def __init__(self, akw1=0, akw2=None):
self.akw1 = akw1
self.akw2 = akw2
class B(Component):
... | 19.565217 | 76 | 0.635111 | 323 | 2,250 | 4.170279 | 0.170279 | 0.03712 | 0.106904 | 0.146993 | 0.812918 | 0.780995 | 0.766889 | 0.703044 | 0.643653 | 0.643653 | 0 | 0.050691 | 0.228444 | 2,250 | 114 | 77 | 19.736842 | 0.72523 | 0 | 0 | 0.803922 | 0 | 0 | 0.236 | 0 | 0 | 0 | 0 | 0 | 0.039216 | 1 | 0.068627 | false | 0 | 0.029412 | 0 | 0.127451 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
448dbbaa9e3ff49ca89b621562d1f870f24bff10 | 30 | py | Python | enerctl/__init__.py | AdamBromiley/enerctl | fad66fc5ba00aad6c9d2a72d8b72b0aa7a394047 | [
"MIT"
] | null | null | null | enerctl/__init__.py | AdamBromiley/enerctl | fad66fc5ba00aad6c9d2a72d8b72b0aa7a394047 | [
"MIT"
] | null | null | null | enerctl/__init__.py | AdamBromiley/enerctl | fad66fc5ba00aad6c9d2a72d8b72b0aa7a394047 | [
"MIT"
] | null | null | null | from enerctl.enerctl import *
| 15 | 29 | 0.8 | 4 | 30 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.923077 | 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 |
9269d5e36f97d5fc6538190a3af2c7a4ec113cfa | 28 | py | Python | src/pytiktok/__init__.py | muntazir-halim/pytiktok | e90b017c77760b30fb03f3cafddca7570f7dc95a | [
"MIT"
] | 7 | 2021-11-01T09:07:56.000Z | 2022-01-03T15:32:42.000Z | src/pytiktok/__init__.py | muntazir-halim/pytiktok | e90b017c77760b30fb03f3cafddca7570f7dc95a | [
"MIT"
] | null | null | null | src/pytiktok/__init__.py | muntazir-halim/pytiktok | e90b017c77760b30fb03f3cafddca7570f7dc95a | [
"MIT"
] | 2 | 2021-11-01T09:08:52.000Z | 2022-02-15T20:23:05.000Z | from .tiktok import Tikvideo | 28 | 28 | 0.857143 | 4 | 28 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.96 | 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 |
927f363ad6ffaf4290dc08d18872c9188b770ac9 | 2,730 | py | Python | src/olympia/core/tests/test_db_migrations.py | dante381/addons-server | 9702860a19ecca1cb4e4998f37bc43c1b2dd3aa7 | [
"BSD-3-Clause"
] | null | null | null | src/olympia/core/tests/test_db_migrations.py | dante381/addons-server | 9702860a19ecca1cb4e4998f37bc43c1b2dd3aa7 | [
"BSD-3-Clause"
] | null | null | null | src/olympia/core/tests/test_db_migrations.py | dante381/addons-server | 9702860a19ecca1cb4e4998f37bc43c1b2dd3aa7 | [
"BSD-3-Clause"
] | null | null | null | from unittest import mock
import pytest
from waffle.models import Switch
# Note: unit testing custom migration operations is a pain, so we cheat and
# test with mocks for the state and schema editor, passing current app state.
from django.apps.registry import apps
from olympia.core.db.migrations import CreateWaffle... | 33.292683 | 77 | 0.734066 | 365 | 2,730 | 5.265753 | 0.172603 | 0.099896 | 0.081165 | 0.056191 | 0.845473 | 0.845473 | 0.845473 | 0.845473 | 0.845473 | 0.823101 | 0 | 0 | 0.145421 | 2,730 | 81 | 78 | 33.703704 | 0.823832 | 0.054579 | 0 | 0.698413 | 0 | 0 | 0.05353 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 1 | 0.095238 | false | 0 | 0.079365 | 0 | 0.174603 | 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 |
927f79e242619221810ae17ccab34643af30e863 | 132 | py | Python | pythonProject1/Lesson 1 (Task 2).py | Sana-Amir/Python-Lesson-Assignments | 719c9c40a1eed0b5abcd5e56f97d1c9cb9b89ec0 | [
"MIT"
] | null | null | null | pythonProject1/Lesson 1 (Task 2).py | Sana-Amir/Python-Lesson-Assignments | 719c9c40a1eed0b5abcd5e56f97d1c9cb9b89ec0 | [
"MIT"
] | null | null | null | pythonProject1/Lesson 1 (Task 2).py | Sana-Amir/Python-Lesson-Assignments | 719c9c40a1eed0b5abcd5e56f97d1c9cb9b89ec0 | [
"MIT"
] | null | null | null | print("Hello, ", end= ' ' )
print("My name is Sana Amir!")
print("\n")
print("Hey!", sep= '')
print("My name is Sana Amir!") | 18.857143 | 31 | 0.545455 | 20 | 132 | 3.6 | 0.55 | 0.194444 | 0.305556 | 0.361111 | 0.583333 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204545 | 132 | 7 | 32 | 18.857143 | 0.685714 | 0 | 0 | 0.4 | 0 | 0 | 0.440945 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
92b461aa4978f0213fca0fccf6f250c5ec4002be | 73 | py | Python | v0.1/test_count.py | strickyak/pythonine | 7428f4a625c228ebcc582cad4f7f057f625a0561 | [
"MIT"
] | null | null | null | v0.1/test_count.py | strickyak/pythonine | 7428f4a625c228ebcc582cad4f7f057f625a0561 | [
"MIT"
] | null | null | null | v0.1/test_count.py | strickyak/pythonine | 7428f4a625c228ebcc582cad4f7f057f625a0561 | [
"MIT"
] | null | null | null | x = 0
while 1:
print x
x = x + 1
if x > 16000:
x = 0
| 10.428571 | 17 | 0.369863 | 14 | 73 | 1.928571 | 0.5 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.264706 | 0.534247 | 73 | 6 | 18 | 12.166667 | 0.529412 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.166667 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2bd6d084d39f72900ad3c23b584fa0463900d228 | 145 | py | Python | afep/test/test_binding_space.py | yuanqing-wang/AFEP | ef19148fa17bf89d0a61ad29a9510f822cd0c1db | [
"MIT"
] | 1 | 2022-01-24T03:24:42.000Z | 2022-01-24T03:24:42.000Z | afep/test/test_binding_space.py | biocheming/AFEP | ef19148fa17bf89d0a61ad29a9510f822cd0c1db | [
"MIT"
] | null | null | null | afep/test/test_binding_space.py | biocheming/AFEP | ef19148fa17bf89d0a61ad29a9510f822cd0c1db | [
"MIT"
] | 1 | 2021-05-30T09:01:14.000Z | 2021-05-30T09:01:14.000Z | import sys
sys.path.append('/Users/yuanqingwang/anaconda2/envs/py36/lib/python3.6/site-packages/yank')
import analyze
import numpy
import mdtraj
| 24.166667 | 91 | 0.82069 | 22 | 145 | 5.409091 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036765 | 0.062069 | 145 | 5 | 92 | 29 | 0.838235 | 0 | 0 | 0 | 0 | 0.2 | 0.496552 | 0.496552 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a62611dbf7176f005d863cd62e8ee28b5ccc5a92 | 116 | py | Python | role_pattern_nlp/exceptions.py | cyclecycle/slot-pattern | e7bcd2fdb40b14ad9ec9623f321223ad698d3a01 | [
"MIT"
] | 7 | 2019-08-07T04:46:59.000Z | 2021-05-28T12:20:40.000Z | role_pattern_nlp/exceptions.py | cyclecycle/slot-pattern | e7bcd2fdb40b14ad9ec9623f321223ad698d3a01 | [
"MIT"
] | 1 | 2021-06-01T23:44:42.000Z | 2021-06-01T23:44:42.000Z | role_pattern_nlp/exceptions.py | cyclecycle/slot-pattern | e7bcd2fdb40b14ad9ec9623f321223ad698d3a01 | [
"MIT"
] | null | null | null | class FeaturesNotInFeatureDictError(Exception):
pass
class RolePatternDoesNotMatchExample(Exception):
pass | 19.333333 | 48 | 0.818966 | 8 | 116 | 11.875 | 0.625 | 0.273684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12931 | 116 | 6 | 49 | 19.333333 | 0.940594 | 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 | 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 | 0 | 0 | 0 | 6 |
a6397609a99359b581b4f4a10f9c9d3abe438634 | 79 | py | Python | my_utils/__init__.py | RSNirwan/my_utils | 72402acb4d956b365b3d9f2753e6520aa4a7355b | [
"MIT"
] | null | null | null | my_utils/__init__.py | RSNirwan/my_utils | 72402acb4d956b365b3d9f2753e6520aa4a7355b | [
"MIT"
] | null | null | null | my_utils/__init__.py | RSNirwan/my_utils | 72402acb4d956b365b3d9f2753e6520aa4a7355b | [
"MIT"
] | null | null | null | from my_utils.utils import batch, maf
from my_utils.parallel import pmap, pmaf
| 26.333333 | 40 | 0.822785 | 14 | 79 | 4.5 | 0.642857 | 0.190476 | 0.349206 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126582 | 79 | 2 | 41 | 39.5 | 0.913043 | 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 |
a65e61f618a520ebf18edb1eea1e2f675ad32a76 | 60 | py | Python | third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/wpt/wpt/serve.py | wenfeifei/miniblink49 | 2ed562ff70130485148d94b0e5f4c343da0c2ba4 | [
"Apache-2.0"
] | 5,964 | 2016-09-27T03:46:29.000Z | 2022-03-31T16:25:27.000Z | third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/wpt/wpt/serve.py | w4454962/miniblink49 | b294b6eacb3333659bf7b94d670d96edeeba14c0 | [
"Apache-2.0"
] | 459 | 2016-09-29T00:51:38.000Z | 2022-03-07T14:37:46.000Z | third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/wpt/wpt/serve.py | w4454962/miniblink49 | b294b6eacb3333659bf7b94d670d96edeeba14c0 | [
"Apache-2.0"
] | 1,006 | 2016-09-27T05:17:27.000Z | 2022-03-30T02:46:51.000Z | from tools.serve import serve
def main():
serve.main()
| 12 | 29 | 0.683333 | 9 | 60 | 4.555556 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 60 | 4 | 30 | 15 | 0.854167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 | 1 | 0 | 0 | 6 |
a681d1e76aeddb3c5fc3f7b3712cc1c2f89002b9 | 7,555 | py | Python | imcsdk/mometa/adaptor/AdaptorHostFcIf.py | vadimkuznetsov/imcsdk | ed038ce1dbc8031f99d2dfb3ccee3bf0b48309d8 | [
"Apache-2.0"
] | null | null | null | imcsdk/mometa/adaptor/AdaptorHostFcIf.py | vadimkuznetsov/imcsdk | ed038ce1dbc8031f99d2dfb3ccee3bf0b48309d8 | [
"Apache-2.0"
] | null | null | null | imcsdk/mometa/adaptor/AdaptorHostFcIf.py | vadimkuznetsov/imcsdk | ed038ce1dbc8031f99d2dfb3ccee3bf0b48309d8 | [
"Apache-2.0"
] | 1 | 2019-11-10T18:42:04.000Z | 2019-11-10T18:42:04.000Z | """This module contains the general information for AdaptorHostFcIf ManagedObject."""
from ...imcmo import ManagedObject
from ...imccoremeta import MoPropertyMeta, MoMeta
from ...imcmeta import VersionMeta
class AdaptorHostFcIfConsts:
ADMIN_PERSISTENT_BINDINGS_POLICY = "policy"
ADMIN_PERSISTENT_BINDINGS_REBU... | 64.025424 | 250 | 0.612707 | 775 | 7,555 | 5.823226 | 0.156129 | 0.063816 | 0.101928 | 0.021272 | 0.808996 | 0.798803 | 0.746732 | 0.721471 | 0.721471 | 0.721471 | 0 | 0.045994 | 0.197088 | 7,555 | 117 | 251 | 64.57265 | 0.697989 | 0.01456 | 0 | 0.3125 | 0 | 0.041667 | 0.278084 | 0.075071 | 0 | 0 | 0.013454 | 0 | 0 | 1 | 0.010417 | false | 0 | 0.03125 | 0 | 0.1875 | 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 |
a688ea5e6b54f8a621daa25f9b442cf74e06a479 | 48 | py | Python | mmelemental/models/forcefield/bonded/bonds/potentials/__init__.py | ccbiozhaw/mmelemental | 2e3215b3d2291cbc0f346efb05e8ad056516b15d | [
"BSD-3-Clause"
] | 6 | 2020-10-07T22:46:48.000Z | 2021-03-29T22:48:24.000Z | mmelemental/models/forcefield/bonded/bonds/potentials/__init__.py | ccbiozhaw/mmelemental | 2e3215b3d2291cbc0f346efb05e8ad056516b15d | [
"BSD-3-Clause"
] | 5 | 2020-11-03T16:37:40.000Z | 2021-04-07T01:35:14.000Z | mmelemental/models/forcefield/bonded/bonds/potentials/__init__.py | ccbiozhaw/mmelemental | 2e3215b3d2291cbc0f346efb05e8ad056516b15d | [
"BSD-3-Clause"
] | 2 | 2021-06-07T07:23:11.000Z | 2021-09-04T01:32:58.000Z | from .harmonic import *
from .gromos96 import *
| 16 | 23 | 0.75 | 6 | 48 | 6 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.166667 | 48 | 2 | 24 | 24 | 0.85 | 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 |
a689a59370830b2923cee81128ea198b1992317f | 30 | py | Python | DEPENDENCIES/utf/tests/ut_stagedtestsetup_shutdown.py | kevinkenzhao/Repy2 | a7afb4c8ba263c8a74775a6281a50d94880a8d34 | [
"MIT"
] | null | null | null | DEPENDENCIES/utf/tests/ut_stagedtestsetup_shutdown.py | kevinkenzhao/Repy2 | a7afb4c8ba263c8a74775a6281a50d94880a8d34 | [
"MIT"
] | null | null | null | DEPENDENCIES/utf/tests/ut_stagedtestsetup_shutdown.py | kevinkenzhao/Repy2 | a7afb4c8ba263c8a74775a6281a50d94880a8d34 | [
"MIT"
] | null | null | null | #pragma out PASS
print "PASS" | 10 | 16 | 0.733333 | 5 | 30 | 4.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 30 | 3 | 17 | 10 | 0.88 | 0.5 | 0 | 0 | 0 | 0 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 1 | 0 | null | null | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 6 |
a69fa370b164cc64e1f6d37248cb249cb30c63eb | 96 | py | Python | venv/lib/python3.8/site-packages/debugpy/server/attach_pid_injected.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/debugpy/server/attach_pid_injected.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/debugpy/server/attach_pid_injected.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/ef/64/b4/478010dfcde0522dde709098dbae2686772bb35803c8c1d641ad785b37 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.427083 | 0 | 96 | 1 | 96 | 96 | 0.46875 | 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 |
a6c72eeeff00cfa112b11509f00d652514804250 | 32 | py | Python | aiida_symmetry_representation/calculations/__init__.py | Huaguiyuan/aiida_symmetry_representation | e4c8fe0a3f448fef4154976840d065065acaf5b9 | [
"MIT"
] | null | null | null | aiida_symmetry_representation/calculations/__init__.py | Huaguiyuan/aiida_symmetry_representation | e4c8fe0a3f448fef4154976840d065065acaf5b9 | [
"MIT"
] | null | null | null | aiida_symmetry_representation/calculations/__init__.py | Huaguiyuan/aiida_symmetry_representation | e4c8fe0a3f448fef4154976840d065065acaf5b9 | [
"MIT"
] | 1 | 2019-12-08T01:27:44.000Z | 2019-12-08T01:27:44.000Z | from . import filter_symmetries
| 16 | 31 | 0.84375 | 4 | 32 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 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 |
a6ed4f8aad19c06a7658351283d778628b18463a | 23 | py | Python | pylink/game/characters/__init__.py | ProjectPyLink/PyLink | 7859499b5069a451984c8f47c98163fa107eba78 | [
"MIT"
] | 1 | 2018-08-01T13:47:01.000Z | 2018-08-01T13:47:01.000Z | pylink/game/characters/__init__.py | ProjectPyLink/PyLink | 7859499b5069a451984c8f47c98163fa107eba78 | [
"MIT"
] | 9 | 2015-04-20T15:30:22.000Z | 2016-07-23T18:17:41.000Z | pylink/game/characters/__init__.py | ProjectPytron/FreeThePytrons | 7859499b5069a451984c8f47c98163fa107eba78 | [
"MIT"
] | null | null | null | from .hero import Hero
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 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 |
4702d7b5d33bc37e0f73d795cf89324edefa3ccb | 38 | py | Python | teensy/memzip_files/boot.py | willcharlton/micropython | 2097c8b1e16ed2e4a2ed9dd75623f02b42cf805a | [
"MIT"
] | 2 | 2019-04-17T03:56:40.000Z | 2019-04-17T03:56:42.000Z | teensy/memzip_files/boot.py | willcharlton/micropython | 2097c8b1e16ed2e4a2ed9dd75623f02b42cf805a | [
"MIT"
] | null | null | null | teensy/memzip_files/boot.py | willcharlton/micropython | 2097c8b1e16ed2e4a2ed9dd75623f02b42cf805a | [
"MIT"
] | null | null | null | import pyb
print("Executing boot.py")
| 12.666667 | 26 | 0.763158 | 6 | 38 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 2 | 27 | 19 | 0.852941 | 0 | 0 | 0 | 0 | 0 | 0.447368 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 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 | 0 | 1 | 0 | 6 |
5ba449b38d6e9c5872bcfe322e8e0370f2f55be2 | 98 | py | Python | CMDUI/__init__.py | TheBrokenEstate/CMDUI | 2cdd9a0999b3d54086cdf0386f85037d6a4cdba5 | [
"MIT"
] | 3 | 2020-11-13T13:53:27.000Z | 2021-11-15T10:08:43.000Z | CMDUI/__init__.py | danny-burrows/CMDUI | 2cdd9a0999b3d54086cdf0386f85037d6a4cdba5 | [
"MIT"
] | null | null | null | CMDUI/__init__.py | danny-burrows/CMDUI | 2cdd9a0999b3d54086cdf0386f85037d6a4cdba5 | [
"MIT"
] | null | null | null | from .CMDUI import *
from .widgets import *
from .variables import *
from .components import Frame | 24.5 | 29 | 0.77551 | 13 | 98 | 5.846154 | 0.538462 | 0.394737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153061 | 98 | 4 | 29 | 24.5 | 0.915663 | 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 |
5bdf8e43f3a7505538f457b208731bd015d8fc5f | 11,474 | py | Python | tests/nonrealtime/test_nonrealtime_Node_delete.py | butayama/supriya | 0c197324ecee4232381221880d1f40e109bb756c | [
"MIT"
] | null | null | null | tests/nonrealtime/test_nonrealtime_Node_delete.py | butayama/supriya | 0c197324ecee4232381221880d1f40e109bb756c | [
"MIT"
] | null | null | null | tests/nonrealtime/test_nonrealtime_Node_delete.py | butayama/supriya | 0c197324ecee4232381221880d1f40e109bb756c | [
"MIT"
] | null | null | null | import pytest
import uqbar.strings
import supriya.assets.synthdefs
import supriya.nonrealtime
def test_01():
session = supriya.nonrealtime.Session()
with session.at(0):
session.add_group(duration=20)
group = session.add_group(duration=20)
group.add_synth(duration=20)
session.a... | 29.420513 | 91 | 0.414502 | 1,164 | 11,474 | 3.957904 | 0.059278 | 0.020838 | 0.054699 | 0.060777 | 0.905361 | 0.835034 | 0.771218 | 0.766225 | 0.716301 | 0.683525 | 0 | 0.195557 | 0.462524 | 11,474 | 389 | 92 | 29.496144 | 0.551484 | 0 | 0 | 0.591837 | 0 | 0 | 0.127584 | 0.063199 | 0 | 0 | 0 | 0 | 0.065306 | 1 | 0.016327 | false | 0 | 0.016327 | 0 | 0.032653 | 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 |
5be02485fa6e33adfcdeb32984bfdb9dafae1155 | 43 | py | Python | src/twitter_app/__init__.py | silverag-corgi/twitter-lib-for-me | ee5e85ecbe87d91b7c7638225a806d4185fb6fd9 | [
"MIT"
] | null | null | null | src/twitter_app/__init__.py | silverag-corgi/twitter-lib-for-me | ee5e85ecbe87d91b7c7638225a806d4185fb6fd9 | [
"MIT"
] | 1 | 2022-03-18T09:24:31.000Z | 2022-03-26T23:34:44.000Z | src/twitter_app/__init__.py | silverag-corgi/twitter-lib-for-me | ee5e85ecbe87d91b7c7638225a806d4185fb6fd9 | [
"MIT"
] | 1 | 2022-03-27T10:12:46.000Z | 2022-03-27T10:12:46.000Z | from .logic import *
from .util import *
| 14.333333 | 21 | 0.674419 | 6 | 43 | 4.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232558 | 43 | 2 | 22 | 21.5 | 0.878788 | 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 |
34462d6ee0999fc16dfec7042806a59587ee35a2 | 40 | py | Python | pyGameQuery/__init__.py | FelixWolf/pyGameQuery | 4eccabaf78ebe79b1318a1c5e00cd52139a76f3b | [
"MIT"
] | null | null | null | pyGameQuery/__init__.py | FelixWolf/pyGameQuery | 4eccabaf78ebe79b1318a1c5e00cd52139a76f3b | [
"MIT"
] | null | null | null | pyGameQuery/__init__.py | FelixWolf/pyGameQuery | 4eccabaf78ebe79b1318a1c5e00cd52139a76f3b | [
"MIT"
] | null | null | null | from .protocols import source as source
| 20 | 39 | 0.825 | 6 | 40 | 5.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 40 | 1 | 40 | 40 | 0.970588 | 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 |
3479902f6b33c4b21a0714b99ba3911855e5212b | 157 | py | Python | models/__init__.py | nakanoi/GANs | 40212602d49d86f6878723e56a988abd6b7fe5e0 | [
"MIT"
] | 1 | 2021-07-21T06:25:16.000Z | 2021-07-21T06:25:16.000Z | models/__init__.py | nakanoi/GANs | 40212602d49d86f6878723e56a988abd6b7fe5e0 | [
"MIT"
] | null | null | null | models/__init__.py | nakanoi/GANs | 40212602d49d86f6878723e56a988abd6b7fe5e0 | [
"MIT"
] | null | null | null | from models.dcgan import DCGAN
from models.gan import GAN
from models.cyclegan import CycleGAN
from models.wgan import WGAN
from models.wgangp import WGANGP
| 26.166667 | 36 | 0.840764 | 25 | 157 | 5.28 | 0.32 | 0.378788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127389 | 157 | 5 | 37 | 31.4 | 0.963504 | 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 |
caa0df0f165453bc6e30df07ab4479a42cb432db | 81 | py | Python | app/main/__init__.py | sharonmaswai/blog | 24e1f586ac240d26f1277776996388ef7560a9e9 | [
"Unlicense"
] | null | null | null | app/main/__init__.py | sharonmaswai/blog | 24e1f586ac240d26f1277776996388ef7560a9e9 | [
"Unlicense"
] | null | null | null | app/main/__init__.py | sharonmaswai/blog | 24e1f586ac240d26f1277776996388ef7560a9e9 | [
"Unlicense"
] | 1 | 2019-08-13T18:58:31.000Z | 2019-08-13T18:58:31.000Z | from flask import Blueprint
main=Blueprint('main',__name__)
from . import views | 16.2 | 31 | 0.790123 | 11 | 81 | 5.454545 | 0.636364 | 0.433333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123457 | 81 | 5 | 32 | 16.2 | 0.84507 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.