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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d47a8eecc9aab9cdb32976b68d704b9abdee47fc | 9,159 | py | Python | generator.py | tzhong518/Human-Segmentation-with-Dynamic-LiDAR-Data | 5b55b36a48ee95aaa4449e67ad7410466a109ff4 | [
"Apache-2.0"
] | 4 | 2021-08-11T14:00:41.000Z | 2022-01-21T14:10:08.000Z | generator.py | tzhong518/Human-Segmentation-with-Dynamic-LiDAR-Data | 5b55b36a48ee95aaa4449e67ad7410466a109ff4 | [
"Apache-2.0"
] | null | null | null | generator.py | tzhong518/Human-Segmentation-with-Dynamic-LiDAR-Data | 5b55b36a48ee95aaa4449e67ad7410466a109ff4 | [
"Apache-2.0"
] | null | null | null |
from keras import backend as K
import h5py
import numpy as np
import glob
import random
import mtutil
from mtutil import pixelwise_categorical_accuracy
from keras import metrics
from keras.models import load_model
from keras.optimizers import Adam
import xml.etree.ElementTree as ET
class DataGenerator_multi_ver02(ob... | 47.455959 | 108 | 0.477454 | 1,058 | 9,159 | 3.970699 | 0.094518 | 0.047608 | 0.040229 | 0.023566 | 0.871459 | 0.869317 | 0.855749 | 0.855749 | 0.855749 | 0.835753 | 0 | 0.053819 | 0.409652 | 9,159 | 193 | 109 | 47.455959 | 0.723137 | 0.00535 | 0 | 0.814607 | 0 | 0 | 0.010545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02809 | false | 0 | 0.061798 | 0 | 0.095506 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2e10bd4155433eb1541f27a2623b6bf0a8468041 | 3,897 | py | Python | mistral/tests/unit/workflow/test_states.py | soda-research/mistral | 550a3de9c2defc7ce26336cb705d9c8d87bbaddd | [
"Apache-2.0"
] | 205 | 2015-06-21T11:51:47.000Z | 2022-03-05T04:00:04.000Z | mistral/tests/unit/workflow/test_states.py | soda-research/mistral | 550a3de9c2defc7ce26336cb705d9c8d87bbaddd | [
"Apache-2.0"
] | 21 | 2015-04-14T22:41:53.000Z | 2019-02-20T09:30:10.000Z | mistral/tests/unit/workflow/test_states.py | soda-research/mistral | 550a3de9c2defc7ce26336cb705d9c8d87bbaddd | [
"Apache-2.0"
] | 110 | 2015-06-14T03:34:38.000Z | 2021-11-11T12:12:56.000Z | # Copyright 2013 - Mirantis, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | 49.961538 | 77 | 0.715679 | 560 | 3,897 | 4.801786 | 0.158929 | 0.111938 | 0.271848 | 0.281145 | 0.760878 | 0.760878 | 0.760878 | 0.740424 | 0.730755 | 0.433247 | 0 | 0.002481 | 0.172697 | 3,897 | 77 | 78 | 50.61039 | 0.831576 | 0.170644 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.875 | 1 | 0.020833 | false | 0 | 0.041667 | 0 | 0.083333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
cf1c2e1ea2e6f0c5209d4ed5a4540a27a5553050 | 2,317 | py | Python | day1A.py | BookOwl/advent2017 | d9d07dd849fa9b56d636d04fd2de9f6cef4266b5 | [
"Unlicense"
] | 1 | 2017-12-08T22:30:58.000Z | 2017-12-08T22:30:58.000Z | day1A.py | BookOwl/advent2017 | d9d07dd849fa9b56d636d04fd2de9f6cef4266b5 | [
"Unlicense"
] | null | null | null | day1A.py | BookOwl/advent2017 | d9d07dd849fa9b56d636d04fd2de9f6cef4266b5 | [
"Unlicense"
] | null | null | null | def find_matches(s):
s = s + s[0]
m = []
for i in range(0, len(s) - 1):
if s[i] == s[i+1]:
m.append(int(s[i]))
return m
def captcha(s):
return sum(find_matches(s))
if __name__ == '__main__':
s = "428122498997587283996116951397957933569136949848379417125362532269869461185743... | 165.5 | 2,062 | 0.941303 | 46 | 2,317 | 47.195652 | 0.478261 | 0.002764 | 0.011055 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.921147 | 0.036685 | 2,317 | 14 | 2,063 | 165.5 | 0.051523 | 0 | 0 | 0 | 0 | 0 | 0.888697 | 0.885246 | 0 | 1 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0.083333 | 0.333333 | 0.083333 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
cf8482278a89053f33471c89cb401e85783ae963 | 323 | py | Python | src/spaceone/plugin/manager/__init__.py | choonho/plugin | 42961ee4c84495dd2247f4f1792ce2b7c8565086 | [
"Apache-2.0"
] | null | null | null | src/spaceone/plugin/manager/__init__.py | choonho/plugin | 42961ee4c84495dd2247f4f1792ce2b7c8565086 | [
"Apache-2.0"
] | null | null | null | src/spaceone/plugin/manager/__init__.py | choonho/plugin | 42961ee4c84495dd2247f4f1792ce2b7c8565086 | [
"Apache-2.0"
] | null | null | null | from spaceone.plugin.manager.plugin_manager.__init__ import *
from spaceone.plugin.manager.supervisor_manager.__init__ import *
#from spaceone.plugin.manager.supervisor_manager.supervisor_state import *
#from spaceone.plugin.manager.supervisor_ref_manager import *
#from spaceone.plugin.manager.plugin_ref_manager import... | 53.833333 | 74 | 0.857585 | 41 | 323 | 6.365854 | 0.219512 | 0.298851 | 0.344828 | 0.478927 | 0.842912 | 0.582375 | 0.425287 | 0.425287 | 0.425287 | 0 | 0 | 0 | 0.06192 | 323 | 5 | 75 | 64.6 | 0.861386 | 0.585139 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
d85a62d002375b20de2a78ac3f460e81c5942747 | 162 | py | Python | env/Lib/site-packages/mosek/_mskpreload.py | PatrickRatei/eVTOL | 7992e45e59d9c0743857e4b2ddb5ffa2f0298bd4 | [
"MIT"
] | null | null | null | env/Lib/site-packages/mosek/_mskpreload.py | PatrickRatei/eVTOL | 7992e45e59d9c0743857e4b2ddb5ffa2f0298bd4 | [
"MIT"
] | null | null | null | env/Lib/site-packages/mosek/_mskpreload.py | PatrickRatei/eVTOL | 7992e45e59d9c0743857e4b2ddb5ffa2f0298bd4 | [
"MIT"
] | null | null | null | import ctypes,os.path
ctypes.CDLL(os.path.join(os.path.dirname(__file__),"cilkrts20.dll"))
ctypes.CDLL(os.path.join(os.path.dirname(__file__),"mosek64_9_2.dll"))
| 40.5 | 70 | 0.777778 | 28 | 162 | 4.142857 | 0.464286 | 0.258621 | 0.206897 | 0.275862 | 0.637931 | 0.637931 | 0.637931 | 0.637931 | 0.637931 | 0 | 0 | 0.037975 | 0.024691 | 162 | 3 | 71 | 54 | 0.696203 | 0 | 0 | 0 | 0 | 0 | 0.17284 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
d868d231bc5b6193303338f654755f397316b884 | 6,849 | py | Python | surveys/migrations/0001_initial.py | inclusive-design/coop-map-directory-index | b215ea95677dc90fafe60eaa494a4fd6af0431fb | [
"BSD-3-Clause"
] | 1 | 2020-01-28T16:16:49.000Z | 2020-01-28T16:16:49.000Z | surveys/migrations/0001_initial.py | inclusive-design/coop-map-directory-index | b215ea95677dc90fafe60eaa494a4fd6af0431fb | [
"BSD-3-Clause"
] | 114 | 2020-02-12T20:22:07.000Z | 2021-09-22T18:29:50.000Z | surveys/migrations/0001_initial.py | inclusive-design/coop-map-directory-index | b215ea95677dc90fafe60eaa494a4fd6af0431fb | [
"BSD-3-Clause"
] | 4 | 2020-04-21T21:09:25.000Z | 2021-01-08T14:18:58.000Z | # Generated by Django 3.0.3 on 2020-05-03 03:42
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Ecosystem2020Questions',
fields=[
('id', mo... | 57.075 | 114 | 0.552051 | 757 | 6,849 | 4.865258 | 0.175694 | 0.342112 | 0.45072 | 0.540863 | 0.872658 | 0.872658 | 0.872658 | 0.080912 | 0.080912 | 0.080912 | 0 | 0.0573 | 0.283983 | 6,849 | 119 | 115 | 57.554622 | 0.693719 | 0.00657 | 0 | 0.107143 | 1 | 0 | 0.042635 | 0.010879 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.008929 | 0 | 0.044643 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d8b03123dd56f83f663c582008405437e8cf918a | 9,964 | py | Python | guba/guba/user_agent_pool.py | LuWinter/GubaSpider | d460fb0e4d90d0ae362a6481eed4860fb915dfe4 | [
"MIT"
] | 3 | 2021-08-20T02:54:30.000Z | 2022-02-15T03:05:19.000Z | guba/guba/user_agent_pool.py | LuWinter/GubaSpider | d460fb0e4d90d0ae362a6481eed4860fb915dfe4 | [
"MIT"
] | 2 | 2021-08-20T02:42:51.000Z | 2022-02-10T13:11:17.000Z | guba/guba/user_agent_pool.py | LuWinter/GubaSpider | d460fb0e4d90d0ae362a6481eed4860fb915dfe4 | [
"MIT"
] | 1 | 2021-08-20T02:54:34.000Z | 2021-08-20T02:54:34.000Z | UA = ["Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; AcooBrowser; .NET CLR 1.1.4322; .NET CLR 2.0.50727)",
"Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; Acoo Browser; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506)",
"Mozilla/4.0 (compatible; MSIE 7.0; AOL 9.5; AOLBuild 4337.35; Wind... | 110.711111 | 230 | 0.680349 | 2,099 | 9,964 | 3.225822 | 0.091949 | 0.083296 | 0.088613 | 0.073106 | 0.811549 | 0.793827 | 0.761187 | 0.74184 | 0.695909 | 0.654704 | 0 | 0.231017 | 0.128964 | 9,964 | 89 | 231 | 111.955056 | 0.549142 | 0 | 0 | 0.022989 | 0 | 0.885057 | 0.953834 | 0.019671 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
d8ba1dd280a83651a46ea4ebb96df7c587dfa91d | 8,871 | py | Python | SearchEngine.py | RELIANCE-EOSC/UPM-Massive-ROs-Creator | 2110a853bd2360efed9ee7f0b9691f66935519f5 | [
"Apache-2.0"
] | 1 | 2022-01-18T17:58:05.000Z | 2022-01-18T17:58:05.000Z | SearchEngine.py | oeg-upm/Massive-ROs-Creator | 2110a853bd2360efed9ee7f0b9691f66935519f5 | [
"Apache-2.0"
] | null | null | null | SearchEngine.py | oeg-upm/Massive-ROs-Creator | 2110a853bd2360efed9ee7f0b9691f66935519f5 | [
"Apache-2.0"
] | null | null | null | import json
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.support.ui import Select
from selenium.common.exceptions import NoSuchElementException
import time
domain = ""
field = ""
subfield = ""
description_keywords = []
categories = ["Experiment", "Observation"... | 35.91498 | 133 | 0.701274 | 1,345 | 8,871 | 4.317472 | 0.137546 | 0.114689 | 0.197004 | 0.171173 | 0.784915 | 0.768211 | 0.730153 | 0.713621 | 0.69244 | 0.687618 | 0 | 0.01348 | 0.146996 | 8,871 | 246 | 134 | 36.060976 | 0.753932 | 0.139669 | 0 | 0.721519 | 0 | 0 | 0.14263 | 0.039369 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037975 | 0 | 0.037975 | 0.063291 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d8d5d8e7867f3a9b5a4bdf79190859ca3eac6fd1 | 1,516 | py | Python | projects_api/migrations/0033_auto_20210112_0136.py | sorianos/profile-rest-api | 453b326cf067a07455772c32050a17c31b5dc71a | [
"MIT"
] | null | null | null | projects_api/migrations/0033_auto_20210112_0136.py | sorianos/profile-rest-api | 453b326cf067a07455772c32050a17c31b5dc71a | [
"MIT"
] | 5 | 2021-03-19T11:56:51.000Z | 2022-02-10T14:08:09.000Z | projects_api/migrations/0033_auto_20210112_0136.py | sorianos/profile-rest-api | 453b326cf067a07455772c32050a17c31b5dc71a | [
"MIT"
] | 1 | 2020-10-29T17:41:34.000Z | 2020-10-29T17:41:34.000Z | # Generated by Django 2.2 on 2021-01-12 07:36
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('projects_api', '0032_user'),
]
operations = [
migrations.AddField(
model_name='user',
name='email',
field=... | 28.074074 | 62 | 0.53628 | 147 | 1,516 | 5.408163 | 0.272109 | 0.181132 | 0.231447 | 0.271698 | 0.754717 | 0.754717 | 0.710692 | 0.710692 | 0.660377 | 0.660377 | 0 | 0.042084 | 0.341689 | 1,516 | 53 | 63 | 28.603774 | 0.754509 | 0.028364 | 0 | 0.680851 | 1 | 0 | 0.07274 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.021277 | 0.021277 | 0 | 0.085106 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d8fd800d59ed41b71ba0114e2f46c6e041ffd71b | 13,178 | py | Python | test/fixtures.py | kirschbombe/feed_ursus | 7ac05022b539d80f55de0642d2294eb04ca2384d | [
"BSD-3-Clause"
] | 1 | 2019-11-26T00:45:05.000Z | 2019-11-26T00:45:05.000Z | test/fixtures.py | kirschbombe/feed_ursus | 7ac05022b539d80f55de0642d2294eb04ca2384d | [
"BSD-3-Clause"
] | 2 | 2019-12-17T20:37:44.000Z | 2020-03-03T18:50:23.000Z | test/fixtures.py | kirschbombe/feed_ursus | 7ac05022b539d80f55de0642d2294eb04ca2384d | [
"BSD-3-Clause"
] | 1 | 2020-02-13T23:10:30.000Z | 2020-02-13T23:10:30.000Z | # pylint: disable=all
class MockResponse:
def __init__(self, status_code, json_data):
self.json_data = json_data
self.status_code = status_code
def json(self):
return self.json_data
GOOD_MANIFEST = MockResponse(
200,
{
"@context": "http://iiif.io/api/presentation/2/c... | 52.501992 | 160 | 0.403172 | 1,044 | 13,178 | 5.071839 | 0.09387 | 0.083097 | 0.10576 | 0.166195 | 0.967517 | 0.967517 | 0.967517 | 0.967517 | 0.967517 | 0.967517 | 0 | 0.118921 | 0.456974 | 13,178 | 250 | 161 | 52.712 | 0.621017 | 0.001442 | 0 | 0.695833 | 0 | 0.183333 | 0.449909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008333 | false | 0 | 0 | 0.004167 | 0.016667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2b190cb3ed435d18c7ea12a4efd0416e60346d4c | 6,921 | py | Python | db_models/__init__.py | sd5869/Flaskentory | b99ff5059bcb2599033b336af76cfa4ca1e7587d | [
"MIT"
] | null | null | null | db_models/__init__.py | sd5869/Flaskentory | b99ff5059bcb2599033b336af76cfa4ca1e7587d | [
"MIT"
] | null | null | null | db_models/__init__.py | sd5869/Flaskentory | b99ff5059bcb2599033b336af76cfa4ca1e7587d | [
"MIT"
] | null | null | null | from app_init import db
class RawMaterial(db.Model):
id = db.Column(db.Integer, primary_key=True)
name = db.Column(db.String(100), unique=True, nullable=False)
description = db.Column(db.TEXT)
time_created = db.Column(db.TIMESTAMP, server_default=db.func.now())
time_updated = db.Column(
db... | 39.548571 | 88 | 0.691085 | 928 | 6,921 | 4.932112 | 0.071121 | 0.10662 | 0.133275 | 0.111427 | 0.952808 | 0.950404 | 0.942976 | 0.932052 | 0.921564 | 0.921564 | 0 | 0.002935 | 0.162982 | 6,921 | 174 | 89 | 39.775862 | 0.787157 | 0 | 0 | 0.751724 | 0 | 0 | 0.037278 | 0.015316 | 0 | 0 | 0 | 0 | 0 | 1 | 0.075862 | false | 0 | 0.006897 | 0.075862 | 0.737931 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
2b332be5a181bde7ea87bf9cc89fec576f4612ab | 24,906 | py | Python | artssat/scattering/psd/d14.py | simonpf/pARTS | b4d9f4c2ceac594273c5589e44fe6a3a4f8d7028 | [
"MIT"
] | 3 | 2020-09-02T08:20:42.000Z | 2020-12-18T17:19:38.000Z | artssat/scattering/psd/d14.py | simonpf/pARTS | b4d9f4c2ceac594273c5589e44fe6a3a4f8d7028 | [
"MIT"
] | null | null | null | artssat/scattering/psd/d14.py | simonpf/pARTS | b4d9f4c2ceac594273c5589e44fe6a3a4f8d7028 | [
"MIT"
] | null | null | null | r"""
The Delanoë (2014) PSD
======================
The D14 particle size distribution as proposed by Delanoë in :cite:`delanoe2014`
uses a normalized form of the modified gamma distribution, parametrized
as follows:
.. math::
\frac{dN(X)}{dX} = N_0^* \beta \frac{\Gamma(4)}{4^4}
\frac{\Gamma(\frac{\alp... | 33.7023 | 91 | 0.549466 | 3,148 | 24,906 | 4.240152 | 0.084498 | 0.021352 | 0.041954 | 0.021576 | 0.818999 | 0.789407 | 0.752847 | 0.720183 | 0.7043 | 0.679128 | 0 | 0.019621 | 0.349273 | 24,906 | 738 | 92 | 33.747967 | 0.803974 | 0.359793 | 0 | 0.780415 | 0 | 0 | 0.1314 | 0.019052 | 0 | 0 | 0 | 0 | 0 | 1 | 0.091988 | false | 0 | 0.029674 | 0.014837 | 0.20178 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2b5b783edfb8df36ae13d08b9b9f6366017869fa | 14,358 | py | Python | validation/smartnics/tests/graph.py | nerds-ufes/G-PolKA | 9c6bd42167bc333f6421a751c93a88c00841def9 | [
"Apache-2.0",
"MIT"
] | null | null | null | validation/smartnics/tests/graph.py | nerds-ufes/G-PolKA | 9c6bd42167bc333f6421a751c93a88c00841def9 | [
"Apache-2.0",
"MIT"
] | null | null | null | validation/smartnics/tests/graph.py | nerds-ufes/G-PolKA | 9c6bd42167bc333f6421a751c93a88c00841def9 | [
"Apache-2.0",
"MIT"
] | null | null | null | from plotter import Plotter
#####################################################
# Main #
#####################################################
if __name__ == '__main__':
##################################################################################################... | 46.316129 | 118 | 0.487672 | 1,448 | 14,358 | 4.730663 | 0.049724 | 0.081752 | 0.014015 | 0.018686 | 0.994453 | 0.994453 | 0.994453 | 0.994453 | 0.994453 | 0.994453 | 0 | 0.046116 | 0.287157 | 14,358 | 309 | 119 | 46.466019 | 0.623156 | 0.741747 | 0 | 0 | 0 | 0 | 0.002814 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 8 |
997f96c7a573695e7210fafbb29a989b0d8f7862 | 10,639 | py | Python | st2common/tests/integration/test_logging.py | muyouming/st2 | a80fa2b6b0f7ff3281ed8dee8ca6e97910fbd00e | [
"Apache-2.0"
] | 4,920 | 2015-01-01T15:12:17.000Z | 2022-03-31T19:31:15.000Z | st2common/tests/integration/test_logging.py | muyouming/st2 | a80fa2b6b0f7ff3281ed8dee8ca6e97910fbd00e | [
"Apache-2.0"
] | 3,563 | 2015-01-05T19:02:19.000Z | 2022-03-31T19:23:09.000Z | st2common/tests/integration/test_logging.py | muyouming/st2 | a80fa2b6b0f7ff3281ed8dee8ca6e97910fbd00e | [
"Apache-2.0"
] | 774 | 2015-01-01T20:41:24.000Z | 2022-03-31T13:25:29.000Z | # Copyright 2020 The StackStorm Authors.
# Copyright 2019 Extreme Networks, Inc.
#
# 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 ... | 37.329825 | 99 | 0.614343 | 1,314 | 10,639 | 4.856164 | 0.152207 | 0.073343 | 0.087447 | 0.071462 | 0.820404 | 0.811628 | 0.807397 | 0.797054 | 0.789531 | 0.789531 | 0 | 0.030327 | 0.280947 | 10,639 | 284 | 100 | 37.461268 | 0.803791 | 0.173137 | 0 | 0.70297 | 0 | 0 | 0.254566 | 0 | 0 | 0 | 0 | 0 | 0.282178 | 1 | 0.034653 | false | 0 | 0.039604 | 0 | 0.084158 | 0.004951 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
999e82b5427e1cbe9686cd38ed5cb95d14afa33c | 19,232 | py | Python | webapp/app/model/eligibility_data.py | digitalservice4germany/steuerlotse | ef3e094e4d7d4768431a50ac4be60672cd03221d | [
"MIT"
] | 20 | 2021-07-02T07:49:08.000Z | 2022-03-18T22:26:10.000Z | webapp/app/model/eligibility_data.py | digitalservice4germany/steuerlotse | ef3e094e4d7d4768431a50ac4be60672cd03221d | [
"MIT"
] | 555 | 2021-06-28T15:35:15.000Z | 2022-03-31T11:51:55.000Z | webapp/app/model/eligibility_data.py | digitalservice4germany/steuerlotse | ef3e094e4d7d4768431a50ac4be60672cd03221d | [
"MIT"
] | 1 | 2021-07-04T20:34:12.000Z | 2021-07-04T20:34:12.000Z | from typing import Optional
from pydantic import BaseModel, validator
from pydantic.fields import ModelField
from app.model.recursive_data import RecursiveDataModel, PotentialDataModelKeysMixin
class InvalidEligiblityError(ValueError):
"""Exception thrown in case the eligibility check failed."""
pass
def ... | 38.774194 | 116 | 0.78489 | 2,405 | 19,232 | 5.823285 | 0.069023 | 0.033559 | 0.042842 | 0.078686 | 0.781792 | 0.751803 | 0.724384 | 0.721314 | 0.715245 | 0.704248 | 0 | 0 | 0.144291 | 19,232 | 495 | 117 | 38.852525 | 0.851006 | 0.02865 | 0 | 0.640118 | 0 | 0 | 0.091588 | 0.077944 | 0 | 0 | 0 | 0 | 0 | 1 | 0.19764 | false | 0.00295 | 0.011799 | 0.176991 | 0.743363 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
99a13581c139ce98e675c531dd7ace52b2994a4e | 127 | py | Python | qupulse/hardware/dacs/__init__.py | qutech-lab/qc-toolkit | f00e0d0000bdc7a6604ceae2c15b60f4d10c4000 | [
"MIT"
] | 30 | 2018-09-13T02:59:55.000Z | 2022-03-21T04:25:22.000Z | qupulse/hardware/dacs/__init__.py | qutech-lab/qc-toolkit | f00e0d0000bdc7a6604ceae2c15b60f4d10c4000 | [
"MIT"
] | 319 | 2015-03-10T09:37:20.000Z | 2018-09-06T10:11:32.000Z | qupulse/hardware/dacs/__init__.py | qutech-lab/qc-toolkit | f00e0d0000bdc7a6604ceae2c15b60f4d10c4000 | [
"MIT"
] | 14 | 2019-01-08T14:42:36.000Z | 2021-05-21T08:53:06.000Z | from qupulse.hardware.dacs.dac_base import *
try:
from qupulse.hardware.dacs.alazar import *
except ImportError:
pass
| 18.142857 | 46 | 0.755906 | 17 | 127 | 5.588235 | 0.705882 | 0.231579 | 0.4 | 0.484211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165354 | 127 | 6 | 47 | 21.166667 | 0.896226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 9 |
99a637f4c659618ef26fd7ad82dd6f8c7019a830 | 177,451 | py | Python | test/nn/pool/test_dual_primal_edge_pool.py | HarmonJiang/PD-MeshNet | e3f6c01ceff260778daf5fea66125413309e4399 | [
"MIT"
] | 90 | 2020-10-23T13:50:45.000Z | 2022-03-20T02:03:57.000Z | test/nn/pool/test_dual_primal_edge_pool.py | HarmonJiang/PD-MeshNet | e3f6c01ceff260778daf5fea66125413309e4399 | [
"MIT"
] | 9 | 2020-11-04T20:36:38.000Z | 2022-02-17T06:15:58.000Z | test/nn/pool/test_dual_primal_edge_pool.py | HarmonJiang/PD-MeshNet | e3f6c01ceff260778daf5fea66125413309e4399 | [
"MIT"
] | 17 | 2020-10-26T23:06:21.000Z | 2022-03-30T02:41:21.000Z | import numpy as np
import os.path as osp
from torch_geometric.utils.num_nodes import maybe_num_nodes
import torch
import unittest
from pd_mesh_net.nn import DualPrimalEdgePooling
from pd_mesh_net.utils import create_graphs, create_dual_primal_batch
current_dir = osp.dirname(__file__)
class TestDualEdgePooling(unitt... | 49.650532 | 82 | 0.527222 | 23,952 | 177,451 | 3.586966 | 0.011398 | 0.066205 | 0.038131 | 0.022813 | 0.995717 | 0.994238 | 0.990491 | 0.990072 | 0.987301 | 0.987127 | 0 | 0.067688 | 0.341869 | 177,451 | 3,573 | 83 | 49.664428 | 0.667974 | 0.243425 | 0 | 0.945733 | 0 | 0 | 0.002346 | 0.002346 | 0 | 0 | 0 | 0 | 0.140074 | 1 | 0.007421 | false | 0 | 0.003247 | 0 | 0.011132 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
514052c18b71dfee228e220003096bbb9a3c4488 | 3,229 | py | Python | script/zabbix-jsrpc-mysql-exp.py | gaoming136692/POC-T | 509d08cbaaced12bf9bc9aa9dd0748abc73a3c37 | [
"DOC"
] | 6 | 2019-01-20T08:34:30.000Z | 2021-09-14T15:47:42.000Z | script/zabbix-jsrpc-mysql-exp.py | gaoming136692/POC-T | 509d08cbaaced12bf9bc9aa9dd0748abc73a3c37 | [
"DOC"
] | null | null | null | script/zabbix-jsrpc-mysql-exp.py | gaoming136692/POC-T | 509d08cbaaced12bf9bc9aa9dd0748abc73a3c37 | [
"DOC"
] | 4 | 2019-10-01T01:18:40.000Z | 2021-10-01T12:02:20.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Author B0t0w1
"""
ZABBIX jsrpc.php SQL Inject Vulnerability (MySQL Exploit)
Usage:
python POC-T.py -T -m zabbix-jsrpc-mysql-exp --api --dork="zabbix country:us"
"""
import re
import urllib2
def poc(url):
url = url if '://' in url else 'http://' + url
if u... | 53.816667 | 354 | 0.650046 | 406 | 3,229 | 5.093596 | 0.325123 | 0.015474 | 0.01354 | 0.052224 | 0.765474 | 0.765474 | 0.765474 | 0.765474 | 0.765474 | 0.730174 | 0 | 0.086153 | 0.212759 | 3,229 | 59 | 355 | 54.728814 | 0.72738 | 0.026634 | 0 | 0.536585 | 0 | 0.170732 | 0.525645 | 0.427422 | 0 | 0 | 0.006705 | 0 | 0 | 0 | null | null | 0.195122 | 0.04878 | 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 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
5aa3bce140b9893b85cafcabafd90f30757ea3b2 | 233 | py | Python | serial/src/slice_test.py | Choi-Laboratory/SOBIT-Bringup | 89a921ac5922b2963155d80739013c7ef4c67abf | [
"Apache-2.0"
] | null | null | null | serial/src/slice_test.py | Choi-Laboratory/SOBIT-Bringup | 89a921ac5922b2963155d80739013c7ef4c67abf | [
"Apache-2.0"
] | null | null | null | serial/src/slice_test.py | Choi-Laboratory/SOBIT-Bringup | 89a921ac5922b2963155d80739013c7ef4c67abf | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
str=";C8000;C8000;C8005;C0000;C7fcd;C7fce;C8009;C8097;C7ede;C7e56;C8002;C8004;C7fb6;;;;;;T8000;C7849;C776d;C8892;C776d;C9049;T8000;C87b6;C8892;C77ea;C8815;C6ff5\n"
print str
print str.split(";")
##追加しました
| 17.923077 | 163 | 0.733906 | 37 | 233 | 4.621622 | 0.810811 | 0.093567 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.37156 | 0.064378 | 233 | 12 | 164 | 19.416667 | 0.412844 | 0.111588 | 0 | 0 | 0 | 0.333333 | 0.78607 | 0.781095 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.666667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
5aaa049951156245605317fe17c8a221ca2086da | 134 | py | Python | plantman/utils.py | icynewyear/plant-man | 5b54edbab99019aec80d5199b049d40123e54bf0 | [
"MIT"
] | null | null | null | plantman/utils.py | icynewyear/plant-man | 5b54edbab99019aec80d5199b049d40123e54bf0 | [
"MIT"
] | null | null | null | plantman/utils.py | icynewyear/plant-man | 5b54edbab99019aec80d5199b049d40123e54bf0 | [
"MIT"
] | null | null | null | import random
import string
def generate_uid(len: int = 12) -> str:
return "".join(random.choices(string.ascii_uppercase, k=len)) | 26.8 | 65 | 0.731343 | 20 | 134 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0.134328 | 134 | 5 | 65 | 26.8 | 0.810345 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
5afcbfca536f5c836a4060d5eca41c4de5a63310 | 88 | py | Python | GPSTracker/main/__init__.py | borisfoko/IoTLoRaWanFahradSchloss | cf5aa02f8d84218491d81faaf4dc6724a468faff | [
"MIT"
] | null | null | null | GPSTracker/main/__init__.py | borisfoko/IoTLoRaWanFahradSchloss | cf5aa02f8d84218491d81faaf4dc6724a468faff | [
"MIT"
] | null | null | null | GPSTracker/main/__init__.py | borisfoko/IoTLoRaWanFahradSchloss | cf5aa02f8d84218491d81faaf4dc6724a468faff | [
"MIT"
] | null | null | null | from . import ttnClient
#ttnClient.mqtt_client.connect()
#ttnClient.mqtt_client.start() | 22 | 32 | 0.806818 | 11 | 88 | 6.272727 | 0.636364 | 0.376812 | 0.550725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 88 | 4 | 33 | 22 | 0.841463 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
8513b50716ea908b3907388bad727bcb16a0b6c7 | 24,831 | py | Python | haychecker/_test/common/config_test.py | fruttasecca/hay_checker | 2bbf4e8e90e0abc590dd74080fb6e4f445056354 | [
"MIT"
] | 2 | 2019-05-22T08:24:38.000Z | 2020-12-04T13:36:30.000Z | haychecker/_test/common/config_test.py | fruttasecca/hay_checker | 2bbf4e8e90e0abc590dd74080fb6e4f445056354 | [
"MIT"
] | null | null | null | haychecker/_test/common/config_test.py | fruttasecca/hay_checker | 2bbf4e8e90e0abc590dd74080fb6e4f445056354 | [
"MIT"
] | 3 | 2018-09-15T13:40:40.000Z | 2021-06-29T23:31:18.000Z | #!/usr/bin/python3
import unittest
from os.path import expanduser
from haychecker._common.config import Config
home = expanduser("~")
"""
Required arguments (table, inferSchema, output, metrics) have no default value, optional arguments
(delimiter, header, verbose) have default values (',', True, False).
"""
class ... | 31.312736 | 98 | 0.481656 | 2,349 | 24,831 | 5.076203 | 0.069817 | 0.097283 | 0.159343 | 0.265179 | 0.840993 | 0.82682 | 0.819859 | 0.799564 | 0.746394 | 0.722409 | 0 | 0.052999 | 0.348033 | 24,831 | 792 | 99 | 31.352273 | 0.683551 | 0.020499 | 0 | 0.633803 | 0 | 0 | 0.196692 | 0.002156 | 0 | 0 | 0 | 0 | 0.159624 | 1 | 0.023474 | false | 0 | 0.004695 | 0 | 0.029734 | 0.001565 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
851b1edef39594e4f12485b19cec356d5be61023 | 7,793 | py | Python | plenum/test/monitoring/test_request_time_tracker.py | andkononykhin/plenum | 28dc1719f4b7e80d31dafbadb38cfec4da949886 | [
"Apache-2.0"
] | 148 | 2017-07-11T19:05:25.000Z | 2022-03-16T21:31:20.000Z | plenum/test/monitoring/test_request_time_tracker.py | andkononykhin/plenum | 28dc1719f4b7e80d31dafbadb38cfec4da949886 | [
"Apache-2.0"
] | 561 | 2017-06-29T17:59:56.000Z | 2022-03-09T15:47:14.000Z | plenum/test/monitoring/test_request_time_tracker.py | andkononykhin/plenum | 28dc1719f4b7e80d31dafbadb38cfec4da949886 | [
"Apache-2.0"
] | 378 | 2017-06-29T17:45:27.000Z | 2022-03-26T07:27:59.000Z | import pytest
from plenum.server.monitor import RequestTimeTracker
INSTANCE_COUNT = 4
@pytest.fixture(scope="function")
def req_tracker():
instances = set(range(INSTANCE_COUNT))
removed_replica = INSTANCE_COUNT // 2
instances.remove(removed_replica)
return RequestTimeTracker(instances)
def test_re... | 29.518939 | 110 | 0.744386 | 1,124 | 7,793 | 4.870107 | 0.071174 | 0.235659 | 0.144684 | 0.149068 | 0.894045 | 0.883814 | 0.861162 | 0.842711 | 0.821155 | 0.813665 | 0 | 0.009889 | 0.182471 | 7,793 | 263 | 111 | 29.631179 | 0.849317 | 0 | 0 | 0.794444 | 0 | 0 | 0.013345 | 0 | 0 | 0 | 0 | 0 | 0.411111 | 1 | 0.094444 | false | 0 | 0.011111 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
5180a038514f79ae0aee1e02a5975b292b15d7d0 | 7,787 | py | Python | src/mixed-reality/azext_mixed_reality/custom.py | haroonf/azure-cli-extensions | 61c044d34c224372f186934fa7c9313f1cd3a525 | [
"MIT"
] | 207 | 2017-11-29T06:59:41.000Z | 2022-03-31T10:00:53.000Z | src/mixed-reality/azext_mixed_reality/custom.py | haroonf/azure-cli-extensions | 61c044d34c224372f186934fa7c9313f1cd3a525 | [
"MIT"
] | 4,061 | 2017-10-27T23:19:56.000Z | 2022-03-31T23:18:30.000Z | src/mixed-reality/azext_mixed_reality/custom.py | haroonf/azure-cli-extensions | 61c044d34c224372f186934fa7c9313f1cd3a525 | [
"MIT"
] | 802 | 2017-10-11T17:36:26.000Z | 2022-03-31T22:24:32.000Z | # --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incor... | 43.747191 | 87 | 0.566971 | 743 | 7,787 | 5.515478 | 0.118439 | 0.120791 | 0.170083 | 0.128843 | 0.847731 | 0.832113 | 0.802831 | 0.802831 | 0.795998 | 0.767204 | 0 | 0.000397 | 0.352767 | 7,787 | 177 | 88 | 43.99435 | 0.812698 | 0.056376 | 0 | 0.771429 | 0 | 0 | 0.031071 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.014286 | 0 | 0.228571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
51a0b159aa4ea7d0ec08b9b94dd8081d123073bc | 144 | py | Python | roots/test-basic/parser.py | jugmac00/sphinx-argparse-cli | 2e0b6bbffa78bdf4d4bb7bfc4b250e66a182f1eb | [
"MIT"
] | 10 | 2021-02-05T04:04:42.000Z | 2021-05-20T18:41:30.000Z | roots/test-basic/parser.py | jugmac00/sphinx-argparse-cli | 2e0b6bbffa78bdf4d4bb7bfc4b250e66a182f1eb | [
"MIT"
] | 10 | 2021-02-05T12:06:27.000Z | 2021-08-07T09:29:53.000Z | roots/test-basic/parser.py | jugmac00/sphinx-argparse-cli | 2e0b6bbffa78bdf4d4bb7bfc4b250e66a182f1eb | [
"MIT"
] | 4 | 2021-10-12T23:31:53.000Z | 2022-02-16T11:56:44.000Z | from __future__ import annotations
from argparse import ArgumentParser
def make() -> ArgumentParser:
return ArgumentParser(prog="basic")
| 18 | 39 | 0.784722 | 15 | 144 | 7.266667 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 144 | 7 | 40 | 20.571429 | 0.886179 | 0 | 0 | 0 | 0 | 0 | 0.034722 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
51b63b3ce6aef9f1475da51d15b08e3cbfba7028 | 260 | py | Python | nlp/zemberek/__init__.py | fatihint/lugatrap | 868bd34517eb325591eba96af8176bc4ad5b0fb6 | [
"Apache-2.0"
] | 1 | 2021-04-15T16:16:10.000Z | 2021-04-15T16:16:10.000Z | nlp/zemberek/__init__.py | fatihint/lugatrap | 868bd34517eb325591eba96af8176bc4ad5b0fb6 | [
"Apache-2.0"
] | 1 | 2021-11-04T18:48:01.000Z | 2021-11-04T18:48:01.000Z | nlp/zemberek/__init__.py | fatihint/lugatrap | 868bd34517eb325591eba96af8176bc4ad5b0fb6 | [
"Apache-2.0"
] | null | null | null | from . import language_id_pb2
from . import language_id_pb2_grpc
from . import morphology_pb2
from . import morphology_pb2_grpc
from . import normalization_pb2
from . import normalization_pb2_grpc
from . import preprocess_pb2
from . import preprocess_pb2_grpc
| 28.888889 | 36 | 0.846154 | 38 | 260 | 5.421053 | 0.236842 | 0.38835 | 0.252427 | 0.247573 | 0.223301 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035088 | 0.123077 | 260 | 8 | 37 | 32.5 | 0.868421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
cf9d4edac660ccc42c1879b40c54743206644e89 | 24,313 | py | Python | tests/unit/states/test_nftables.py | Noah-Huppert/salt | 998c382f5f2c3b4cbf7d96aa6913ada6993909b3 | [
"Apache-2.0"
] | 19 | 2016-01-29T14:37:52.000Z | 2022-03-30T18:08:01.000Z | tests/unit/states/test_nftables.py | Noah-Huppert/salt | 998c382f5f2c3b4cbf7d96aa6913ada6993909b3 | [
"Apache-2.0"
] | 223 | 2016-03-02T16:39:41.000Z | 2022-03-03T12:26:35.000Z | tests/unit/states/test_nftables.py | Noah-Huppert/salt | 998c382f5f2c3b4cbf7d96aa6913ada6993909b3 | [
"Apache-2.0"
] | 64 | 2016-02-04T19:45:26.000Z | 2021-12-15T02:02:31.000Z | """
:codeauthor: Rahul Handay <rahulha@saltstack.com>
"""
# Import Python Libs
# Import Salt Libs
import salt.states.nftables as nftables
# Import Salt Testing Libs
from tests.support.mixins import LoaderModuleMockMixin
from tests.support.mock import MagicMock, patch
from tests.support.unit import TestCase
cla... | 42.357143 | 103 | 0.354831 | 1,587 | 24,313 | 5.284814 | 0.069313 | 0.04507 | 0.057351 | 0.092643 | 0.864552 | 0.822106 | 0.803029 | 0.747824 | 0.714439 | 0.667104 | 0 | 0.002483 | 0.536215 | 24,313 | 573 | 104 | 42.431065 | 0.741309 | 0.019496 | 0 | 0.568826 | 0 | 0 | 0.162501 | 0.005984 | 0 | 0 | 0 | 0 | 0.066802 | 1 | 0.020243 | false | 0 | 0.008097 | 0.002024 | 0.032389 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
cfb09e9e32836126de842f13dc7d82318b91ca24 | 20,333 | py | Python | ddganAE/models/aae.py | Zeff020/Adversarial_ROM | 8c9e7ff86250e9370e5fdd2018f9ad04ded5f122 | [
"MIT"
] | 1 | 2021-12-27T06:14:32.000Z | 2021-12-27T06:14:32.000Z | ddganAE/models/aae.py | Zeff020/Adversarial_ROM | 8c9e7ff86250e9370e5fdd2018f9ad04ded5f122 | [
"MIT"
] | null | null | null | ddganAE/models/aae.py | Zeff020/Adversarial_ROM | 8c9e7ff86250e9370e5fdd2018f9ad04ded5f122 | [
"MIT"
] | 3 | 2021-08-05T11:17:37.000Z | 2021-09-02T02:37:44.000Z | """
Implementation of two classes with a slightly different version of the
adversarial autoencoder model. The former corresponds to the original paper
on adversarial autoencoders:
https://arxiv.org/abs/1511.05644
and the second is an adaptation with weighted losses inspired by:
https://arxiv.org/abs/2104.06297
"""... | 39.481553 | 79 | 0.530419 | 2,230 | 20,333 | 4.590583 | 0.109865 | 0.032724 | 0.0211 | 0.01856 | 0.846244 | 0.829149 | 0.78226 | 0.775422 | 0.753346 | 0.738595 | 0 | 0.012901 | 0.390056 | 20,333 | 514 | 80 | 39.558366 | 0.81253 | 0.248561 | 0 | 0.714286 | 0 | 0.007326 | 0.05871 | 0.011189 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03663 | false | 0 | 0.021978 | 0 | 0.07326 | 0.010989 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
cfed2f5c041c43ad0dabbc0c2dbeac43955f9472 | 2,879 | py | Python | test_app/tests/test_pjaxr_ready_pjaxr_always.py | jbeee/jquery-pjaxr | 59d9b8a604932d5426500b8524d43e3883d28431 | [
"MIT"
] | 1 | 2015-11-05T17:10:39.000Z | 2015-11-05T17:10:39.000Z | test_app/tests/test_pjaxr_ready_pjaxr_always.py | jbeee/jquery-pjaxr | 59d9b8a604932d5426500b8524d43e3883d28431 | [
"MIT"
] | null | null | null | test_app/tests/test_pjaxr_ready_pjaxr_always.py | jbeee/jquery-pjaxr | 59d9b8a604932d5426500b8524d43e3883d28431 | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
from .helpers import SeleniumTestCase
class PjaxrReadyPjaxrAlwaysTest(SeleniumTestCase):
def test_pjaxr_ready_pjaxr_always(self):
self.browser_get_reverse('index')
self.assertEqual(len(self.browser.find_elements_by_class_name('pjaxr-always-div')), 0)
... | 48.79661 | 115 | 0.733241 | 404 | 2,879 | 4.90099 | 0.113861 | 0.122222 | 0.172727 | 0.190909 | 0.886869 | 0.842424 | 0.842424 | 0.842424 | 0.771212 | 0.771212 | 0 | 0.007235 | 0.135811 | 2,879 | 58 | 116 | 49.637931 | 0.788585 | 0 | 0 | 0.567568 | 0 | 0 | 0.151441 | 0.034387 | 0 | 0 | 0 | 0 | 0.189189 | 1 | 0.054054 | false | 0 | 0.054054 | 0 | 0.135135 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5c606005ac74b95127ed38697aadc73b6e5a364c | 2,951 | py | Python | myapp/tests/test_urls.py | kaido1224/currencytracker | 5fbf77d11746aa7bdfadffcb9511a397df248b1b | [
"MIT"
] | 1 | 2021-12-29T22:17:17.000Z | 2021-12-29T22:17:17.000Z | myapp/tests/test_urls.py | kaido1224/currencytracker | 5fbf77d11746aa7bdfadffcb9511a397df248b1b | [
"MIT"
] | null | null | null | myapp/tests/test_urls.py | kaido1224/currencytracker | 5fbf77d11746aa7bdfadffcb9511a397df248b1b | [
"MIT"
] | null | null | null | from django import test
from django.urls import reverse
# Test page link functionality.
class PageLinksTest(test.TestCase):
def test_home_page(self):
response = self.client.get("/", follow=True)
self.assertEqual(response.status_code, 200)
def test_home_page_by_name(self):
response = ... | 37.35443 | 76 | 0.697052 | 388 | 2,951 | 5.100515 | 0.097938 | 0.063669 | 0.145528 | 0.200101 | 0.933805 | 0.933805 | 0.893886 | 0.868621 | 0.752906 | 0.723598 | 0 | 0.024046 | 0.18265 | 2,951 | 78 | 77 | 37.833333 | 0.796434 | 0.009827 | 0 | 0.315789 | 0 | 0 | 0.072603 | 0 | 0 | 0 | 0 | 0 | 0.315789 | 1 | 0.315789 | false | 0 | 0.035088 | 0 | 0.368421 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
7a23ef5ee248ccc828180985f7019380bc511b6d | 1,911 | py | Python | electrum/gui/qt/qrtextedit.py | JamieDriver/electrum | 2a31f80d0962197780a2f45c279c83236051e4de | [
"MIT"
] | null | null | null | electrum/gui/qt/qrtextedit.py | JamieDriver/electrum | 2a31f80d0962197780a2f45c279c83236051e4de | [
"MIT"
] | null | null | null | electrum/gui/qt/qrtextedit.py | JamieDriver/electrum | 2a31f80d0962197780a2f45c279c83236051e4de | [
"MIT"
] | null | null | null | from electrum.i18n import _
from electrum.plugin import run_hook
from electrum.simple_config import SimpleConfig
from .util import ButtonsTextEdit, MessageBoxMixin
class ShowQRTextEdit(ButtonsTextEdit):
def __init__(self, text=None, *, config: SimpleConfig):
ButtonsTextEdit.__init__(self, text)
... | 36.75 | 100 | 0.707483 | 237 | 1,911 | 5.345992 | 0.206751 | 0.037885 | 0.056827 | 0.037885 | 0.81689 | 0.81689 | 0.776638 | 0.776638 | 0.729282 | 0.639305 | 0 | 0.001285 | 0.185243 | 1,911 | 51 | 101 | 37.470588 | 0.81246 | 0 | 0 | 0.736842 | 0 | 0 | 0.057561 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.157895 | false | 0 | 0.105263 | 0 | 0.342105 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7aaff4c30abf1ec3746de3638e93b6a55f2cb896 | 163 | py | Python | frontera/tests/test_kafka_import.py | TeamHG-Memex/frontera | 06ab4002428528a2d8b67c1e82368cc5988b2228 | [
"BSD-3-Clause"
] | 3 | 2015-11-11T19:37:16.000Z | 2017-03-15T13:33:54.000Z | frontera/tests/test_kafka_import.py | TeamHG-Memex/frontera | 06ab4002428528a2d8b67c1e82368cc5988b2228 | [
"BSD-3-Clause"
] | null | null | null | frontera/tests/test_kafka_import.py | TeamHG-Memex/frontera | 06ab4002428528a2d8b67c1e82368cc5988b2228 | [
"BSD-3-Clause"
] | 2 | 2016-09-08T08:30:24.000Z | 2018-10-02T22:00:47.000Z | # -*- coding: utf-8 -*-
def test_kafka_messagebus_import():
import frontera.contrib.messagebus.kafka
import frontera.contrib.messagebus.kafkabus
pass | 23.285714 | 47 | 0.736196 | 19 | 163 | 6.157895 | 0.631579 | 0.239316 | 0.358974 | 0.529915 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007246 | 0.153374 | 163 | 7 | 48 | 23.285714 | 0.84058 | 0.128834 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0.75 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 10 |
7ac04146eef9e4689369194a0150a21bd897ca6f | 57 | py | Python | python/testData/completion/heavyStarPropagation/lib/_pkg1/_pkg1_1/_pkg1_1_1/_pkg1_1_1_0/__init__.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2018-12-29T09:53:39.000Z | 2018-12-29T09:53:42.000Z | python/testData/completion/heavyStarPropagation/lib/_pkg1/_pkg1_1/_pkg1_1_1/_pkg1_1_1_0/__init__.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/completion/heavyStarPropagation/lib/_pkg1/_pkg1_1/_pkg1_1_1/_pkg1_1_1_0/__init__.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | from ._pkg1_1_1_0_0 import *
from ._pkg1_1_1_0_1 import * | 28.5 | 28 | 0.807018 | 14 | 57 | 2.571429 | 0.357143 | 0.444444 | 0.5 | 0.555556 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.122807 | 57 | 2 | 29 | 28.5 | 0.52 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
64e911f8e0446986aa59a03346656d1e9d90be11 | 331 | py | Python | build/lib/dermoscopy_preprocessing/contrast/__init__.py | ClaudiaOM/Image_Preprocessing_Library | dd1bbbf2170b53a92c1f46053e36d85a97f544f8 | [
"MIT"
] | 3 | 2022-02-04T23:25:29.000Z | 2022-02-21T22:58:10.000Z | dermoscopy_preprocessing/contrast/__init__.py | ClaudiaOM/Image_Preprocessing_Library | dd1bbbf2170b53a92c1f46053e36d85a97f544f8 | [
"MIT"
] | null | null | null | dermoscopy_preprocessing/contrast/__init__.py | ClaudiaOM/Image_Preprocessing_Library | dd1bbbf2170b53a92c1f46053e36d85a97f544f8 | [
"MIT"
] | null | null | null | from .contrast import equalize_histogram
from .contrast import clahe
from .contrast import automatic_brightness_and_contrast
from .contrast import window_enhancement
from .contrast import histogram_bimodality
from .contrast import morphological_contrast_enhancement
from .contrast import reverse_morphological_contrast_e... | 41.375 | 64 | 0.89426 | 39 | 331 | 7.307692 | 0.358974 | 0.294737 | 0.442105 | 0.203509 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084592 | 331 | 7 | 65 | 47.285714 | 0.940594 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
8f438e32751bbd0c49d7a3e9a16e923b804d2178 | 4,402 | bzl | Python | pycross/private/pypi_requirements.bzl | jvolkman/rules_python_cross | 7d6426a9c929c8a789d0edb502f29474ecf8a63c | [
"Apache-2.0"
] | 4 | 2022-03-29T13:58:58.000Z | 2022-03-31T11:10:28.000Z | pycross/private/pypi_requirements.bzl | jvolkman/rules_python_cross | 7d6426a9c929c8a789d0edb502f29474ecf8a63c | [
"Apache-2.0"
] | null | null | null | pycross/private/pypi_requirements.bzl | jvolkman/rules_python_cross | 7d6426a9c929c8a789d0edb502f29474ecf8a63c | [
"Apache-2.0"
] | null | null | null | load("@rules_python//python/pip_install:pip_repository.bzl", "whl_library")
all_requirements = ["@rules_pycross_pypi_deps_build//:pkg", "@rules_pycross_pypi_deps_dacite//:pkg", "@rules_pycross_pypi_deps_installer//:pkg", "@rules_pycross_pypi_deps_packaging//:pkg", "@rules_pycross_pypi_deps_pep517//:pkg", "@rules_pycro... | 97.822222 | 2,006 | 0.787824 | 435 | 4,402 | 7.528736 | 0.248276 | 0.12458 | 0.166107 | 0.207634 | 0.322137 | 0.126718 | 0.076641 | 0.065954 | 0.065954 | 0.065954 | 0 | 0.220782 | 0.088369 | 4,402 | 44 | 2,007 | 100.045455 | 0.595315 | 0.033394 | 0 | 0 | 0 | 0.032258 | 0.71825 | 0.631703 | 0 | 0 | 0 | 0 | 0 | 1 | 0.258065 | false | 0 | 0 | 0.16129 | 0.483871 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 8 |
56b6e2ec4c7f1604e30dd7b06109cc68d618b35c | 6,131 | py | Python | loldib/getratings/models/NA/na_zac/na_zac_top.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_zac/na_zac_top.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_zac/na_zac_top.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from getratings.models.ratings import Ratings
class NA_Zac_Top_Aatrox(Ratings):
pass
class NA_Zac_Top_Ahri(Ratings):
pass
class NA_Zac_Top_Akali(Ratings):
pass
class NA_Zac_Top_Alistar(Ratings):
pass
class NA_Zac_Top_Amumu(Ratings):
pass
class NA_Zac_Top_Anivia(Ratings):
pass
class NA_Z... | 14.702638 | 46 | 0.750938 | 972 | 6,131 | 4.3107 | 0.151235 | 0.230549 | 0.329356 | 0.428162 | 0.784726 | 0.784726 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18121 | 6,131 | 416 | 47 | 14.737981 | 0.834661 | 0 | 0 | 0.498195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.498195 | 0.00361 | 0 | 0.501805 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
56b93ee34726ab7b644661e30a2c82e21a498fd3 | 40,534 | py | Python | maps/tests/test_views.py | lueho/BRIT | 1eae630c4da6f072aa4e2139bc406db4f4756391 | [
"MIT"
] | null | null | null | maps/tests/test_views.py | lueho/BRIT | 1eae630c4da6f072aa4e2139bc406db4f4756391 | [
"MIT"
] | 4 | 2022-03-29T20:52:31.000Z | 2022-03-29T20:52:31.000Z | maps/tests/test_views.py | lueho/BRIT | 1eae630c4da6f072aa4e2139bc406db4f4756391 | [
"MIT"
] | null | null | null | from django.contrib.auth.models import Group, User, Permission
from django.test import TestCase, modify_settings
from django.urls import reverse
from rest_framework.test import APITestCase
from users.models import get_default_owner
from ..models import Attribute, RegionAttributeValue, Catchment, LauRegion, NutsRegion,... | 42.938559 | 120 | 0.675458 | 4,630 | 40,534 | 5.722246 | 0.042333 | 0.047935 | 0.072922 | 0.086472 | 0.921076 | 0.911905 | 0.90379 | 0.868121 | 0.85876 | 0.848909 | 0 | 0.019361 | 0.195959 | 40,534 | 943 | 121 | 42.984093 | 0.793563 | 0.011719 | 0 | 0.802057 | 0 | 0 | 0.144056 | 0.072627 | 0 | 0 | 0 | 0 | 0.113111 | 1 | 0.152956 | false | 0.005141 | 0.007712 | 0 | 0.18509 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
56ff469f4995f00a9d8b9b37ebd1fa2bf4b367ad | 7,315 | py | Python | train_val.py | lmotte/metabolite-identification-with-fused-gromov-wasserstein | 9545045787d3ec30704db0461893e1c3d840fe26 | [
"MIT"
] | null | null | null | train_val.py | lmotte/metabolite-identification-with-fused-gromov-wasserstein | 9545045787d3ec30704db0461893e1c3d840fe26 | [
"MIT"
] | null | null | null | train_val.py | lmotte/metabolite-identification-with-fused-gromov-wasserstein | 9545045787d3ec30704db0461893e1c3d840fe26 | [
"MIT"
] | null | null | null | try:
from time import time
from Methods.method_gromov_wasserstein import FgwEstimator
from Methods.method_graph_kernel import GraphKernelEstimator
from Methods.method_fingerprint import IOKREstimator
from Utils.metabolites_utils import center_gram_matrix, normalize_gram_matrix
from Utils.load_da... | 32.802691 | 120 | 0.632946 | 1,334 | 7,315 | 3.145427 | 0.065217 | 0.047664 | 0.059581 | 0.035748 | 0.935415 | 0.928027 | 0.925643 | 0.925643 | 0.925643 | 0.919209 | 0 | 0.012515 | 0.22447 | 7,315 | 222 | 121 | 32.95045 | 0.727129 | 0.030622 | 0 | 0.832298 | 0 | 0.031056 | 0.142291 | 0.013296 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031056 | false | 0 | 0.093168 | 0 | 0.15528 | 0.167702 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
85a718827cb4be70c0cb7b2db2822aacdeb94b94 | 3,463 | py | Python | pinballbase/ContactParams.py | OpenDisneyGames/PiratesPinball | 411728429083e2f36a691b8db7966f91a1ea6a1f | [
"Apache-2.0"
] | 3 | 2020-07-16T20:18:26.000Z | 2021-04-22T13:01:46.000Z | pinballbase/ContactParams.py | OpenDisneyGames/PiratesPinball | 411728429083e2f36a691b8db7966f91a1ea6a1f | [
"Apache-2.0"
] | null | null | null | pinballbase/ContactParams.py | OpenDisneyGames/PiratesPinball | 411728429083e2f36a691b8db7966f91a1ea6a1f | [
"Apache-2.0"
] | null | null | null | import sgode.pyode
from pinballbase.odeConstructs import *
def getCategoryIndex(category):
for i in range(32):
if category & 1 << i > 0:
return i
return -1
def setupContactParams(worldInfo):
worldInfo.defaultContactParams.surface.mode = sgode.pyode.dContactBounce
worldInfo.defaul... | 48.097222 | 76 | 0.77043 | 373 | 3,463 | 7.104558 | 0.112601 | 0.241509 | 0.138868 | 0.217358 | 0.872075 | 0.852075 | 0.852075 | 0.852075 | 0.852075 | 0.852075 | 0 | 0.02317 | 0.140052 | 3,463 | 72 | 77 | 48.097222 | 0.866689 | 0 | 0 | 0.691176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029412 | false | 0 | 0.029412 | 0 | 0.088235 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
f10423a54f3839319caed71f909b13b715b7dfff | 30,247 | py | Python | tests/test_interface.py | JeffResc/Unmanic-API | a68afccd90ac6fff7ad7eb4abae98fa1e086f239 | [
"MIT"
] | 1 | 2022-03-05T11:52:05.000Z | 2022-03-05T11:52:05.000Z | tests/test_interface.py | JeffResc/Unmanic-API | a68afccd90ac6fff7ad7eb4abae98fa1e086f239 | [
"MIT"
] | null | null | null | tests/test_interface.py | JeffResc/Unmanic-API | a68afccd90ac6fff7ad7eb4abae98fa1e086f239 | [
"MIT"
] | null | null | null | """Tests for Unmanic Interface."""
from typing import List
import pytest
import unmanic_api.models as models
from aiohttp import ClientSession
from unmanic_api import Unmanic, UnmanicError
from . import load_fixture
HOST = "192.168.1.99"
PORT = 8888
MATCH_HOST = f"{HOST}:{PORT}"
@pytest.mark.asyncio
async def tes... | 31.022564 | 91 | 0.617284 | 3,170 | 30,247 | 5.747003 | 0.032808 | 0.025799 | 0.042925 | 0.055549 | 0.969755 | 0.957954 | 0.945054 | 0.944999 | 0.935503 | 0.908223 | 0 | 0.010463 | 0.266936 | 30,247 | 975 | 92 | 31.022564 | 0.811167 | 0.000926 | 0 | 0.837838 | 0 | 0 | 0.134556 | 0.056585 | 0 | 0 | 0 | 0 | 0.047912 | 1 | 0 | false | 0 | 0.007371 | 0 | 0.007371 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f150464b584b3716137f643673f1ec0a46a1800e | 399 | py | Python | Keras_tensorflow_nightly/source2.7/tensorflow/tools/api/generator/api/saved_model/tag_constants/__init__.py | Con-Mi/lambda-packs | b23a8464abdd88050b83310e1d0e99c54dac28ab | [
"MIT"
] | 3 | 2019-04-01T11:03:04.000Z | 2019-12-31T02:17:15.000Z | Keras_tensorflow_nightly/source2.7/tensorflow/tools/api/generator/api/saved_model/tag_constants/__init__.py | Con-Mi/lambda-packs | b23a8464abdd88050b83310e1d0e99c54dac28ab | [
"MIT"
] | 1 | 2021-04-15T18:46:45.000Z | 2021-04-15T18:46:45.000Z | Keras_tensorflow_nightly/source2.7/tensorflow/tools/api/generator/api/saved_model/tag_constants/__init__.py | Con-Mi/lambda-packs | b23a8464abdd88050b83310e1d0e99c54dac28ab | [
"MIT"
] | 1 | 2021-09-23T13:43:07.000Z | 2021-09-23T13:43:07.000Z | """Imports for Python API.
This file is MACHINE GENERATED! Do not edit.
Generated by: tensorflow/tools/api/generator/create_python_api.py script.
"""
from tensorflow.python.saved_model.tag_constants import GPU
from tensorflow.python.saved_model.tag_constants import SERVING
from tensorflow.python.saved_model.tag_consta... | 44.333333 | 73 | 0.847118 | 59 | 399 | 5.559322 | 0.491525 | 0.170732 | 0.243902 | 0.304878 | 0.585366 | 0.585366 | 0.585366 | 0.585366 | 0 | 0 | 0 | 0 | 0.082707 | 399 | 9 | 74 | 44.333333 | 0.896175 | 0.358396 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
74e9b4bc9d331cdc23a714bd3d8200ea88d83015 | 9,183 | py | Python | qiling/tests/test_elf_multithread.py | mrTavas/owasp-fstm-auto | 6e9ff36e46d885701c7419db3eca15f12063a7f3 | [
"CC0-1.0"
] | 2 | 2021-05-05T12:03:01.000Z | 2021-06-04T14:27:15.000Z | qiling/tests/test_elf_multithread.py | mrTavas/owasp-fstm-auto | 6e9ff36e46d885701c7419db3eca15f12063a7f3 | [
"CC0-1.0"
] | null | null | null | qiling/tests/test_elf_multithread.py | mrTavas/owasp-fstm-auto | 6e9ff36e46d885701c7419db3eca15f12063a7f3 | [
"CC0-1.0"
] | 2 | 2021-05-05T12:03:09.000Z | 2021-06-04T14:27:21.000Z | #!/usr/bin/env python3
#
# Cross Platform and Multi Architecture Advanced Binary Emulation Framework
#
import sys, unittest, subprocess, string, random, os
from unicorn import UcError, UC_ERR_READ_UNMAPPED, UC_ERR_FETCH_UNMAPPED
sys.path.append("..")
from qiling import *
from qiling.const import *
from qiling.except... | 34.65283 | 168 | 0.587172 | 1,160 | 9,183 | 4.412931 | 0.103448 | 0.039852 | 0.056261 | 0.084391 | 0.840789 | 0.834733 | 0.800938 | 0.786677 | 0.757765 | 0.757179 | 0 | 0.03071 | 0.294348 | 9,183 | 264 | 169 | 34.784091 | 0.759259 | 0.010345 | 0 | 0.762626 | 0 | 0 | 0.185091 | 0.126954 | 0 | 0 | 0 | 0 | 0.070707 | 1 | 0.131313 | false | 0.060606 | 0.040404 | 0 | 0.176768 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
2d0f06b29f0af7357c7c3850fb4613e9d01108ad | 26,565 | py | Python | sdk/python/pulumi_ec/deployment_extension.py | pulumi/pulumi-ec | 5036647eaa06d7298cae11a593dd22a6ce35a77c | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-11-09T15:35:56.000Z | 2021-11-09T15:35:56.000Z | sdk/python/pulumi_ec/deployment_extension.py | pulumi/pulumi-ec | 5036647eaa06d7298cae11a593dd22a6ce35a77c | [
"ECL-2.0",
"Apache-2.0"
] | 29 | 2021-11-03T12:51:54.000Z | 2022-03-31T15:25:30.000Z | sdk/python/pulumi_ec/deployment_extension.py | pulumi/pulumi-ec | 5036647eaa06d7298cae11a593dd22a6ce35a77c | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import ... | 40.619266 | 345 | 0.624355 | 3,053 | 26,565 | 5.248935 | 0.079921 | 0.077566 | 0.091732 | 0.089236 | 0.866022 | 0.84156 | 0.824337 | 0.805554 | 0.797317 | 0.775039 | 0 | 0.00561 | 0.268549 | 26,565 | 653 | 346 | 40.68147 | 0.819103 | 0.391229 | 0 | 0.70607 | 1 | 0 | 0.084661 | 0.005005 | 0 | 0 | 0 | 0 | 0 | 1 | 0.162939 | false | 0.003195 | 0.015974 | 0 | 0.277955 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
2d0f3baba428e8d2c644479e78ed39f14e0efea6 | 5,061 | py | Python | tests/forums/test_views_threads.py | phiratio/django-forums-app | a8d50b436bc34f74ab8c58234f5f7cf5175e00c5 | [
"MIT"
] | 22 | 2019-10-14T20:57:18.000Z | 2022-01-13T11:32:16.000Z | tests/forums/test_views_threads.py | phiratio/django-forums-app | a8d50b436bc34f74ab8c58234f5f7cf5175e00c5 | [
"MIT"
] | 22 | 2019-10-16T12:21:59.000Z | 2021-12-16T14:05:46.000Z | tests/forums/test_views_threads.py | phiratio/django-forums-app | a8d50b436bc34f74ab8c58234f5f7cf5175e00c5 | [
"MIT"
] | 10 | 2019-10-15T19:55:30.000Z | 2022-02-27T13:53:55.000Z | import json
import pytest
from rest_framework.test import APIClient
from forums.models import Thread
@pytest.mark.django_db
def test_add_thread(add_user, get_user_client, add_forum):
forum = add_forum(title="General Forum", description="This is a general forum")
user = add_user('user', 'user@email.com', 't... | 34.664384 | 112 | 0.660739 | 719 | 5,061 | 4.479833 | 0.100139 | 0.062093 | 0.056504 | 0.047501 | 0.933251 | 0.913691 | 0.913691 | 0.889475 | 0.834213 | 0.783297 | 0 | 0.016365 | 0.203122 | 5,061 | 145 | 113 | 34.903448 | 0.782296 | 0 | 0 | 0.644231 | 0 | 0 | 0.278008 | 0.029638 | 0 | 0 | 0 | 0 | 0.182692 | 1 | 0.076923 | false | 0.086538 | 0.038462 | 0 | 0.115385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
2d21068b53284e3677b50481e441176633992d77 | 17,179 | py | Python | tests/test_backends.py | dkoutsou/hummingbird | cac18789dd284f7eadb3d24b7278610d34e90261 | [
"MIT"
] | null | null | null | tests/test_backends.py | dkoutsou/hummingbird | cac18789dd284f7eadb3d24b7278610d34e90261 | [
"MIT"
] | null | null | null | tests/test_backends.py | dkoutsou/hummingbird | cac18789dd284f7eadb3d24b7278610d34e90261 | [
"MIT"
] | null | null | null | """
Tests Hummingbird's backends.
"""
import unittest
import warnings
import os
import shutil
import numpy as np
from sklearn.ensemble import GradientBoostingClassifier
from sklearn.preprocessing import StandardScaler
from sklearn.preprocessing import OneHotEncoder
from onnxconverter_common.data_types import (
Flo... | 36.014675 | 135 | 0.655219 | 2,308 | 17,179 | 4.692808 | 0.075823 | 0.045241 | 0.026406 | 0.062044 | 0.860031 | 0.843689 | 0.825593 | 0.820423 | 0.817838 | 0.801588 | 0 | 0.031143 | 0.231795 | 17,179 | 476 | 136 | 36.090336 | 0.789573 | 0.074102 | 0 | 0.738372 | 0 | 0 | 0.065692 | 0 | 0 | 0 | 0 | 0 | 0.09593 | 1 | 0.063953 | false | 0 | 0.040698 | 0 | 0.107558 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
746b52aa123cffaae32e179b5e2267f99fc37608 | 4,782 | py | Python | python/tests/netlist_example.py | thrile/cirkopt | b888d5ffa34033281acd58c45df1275425efb899 | [
"MIT"
] | 1 | 2020-12-28T20:03:41.000Z | 2020-12-28T20:03:41.000Z | python/tests/netlist_example.py | thrile/cirkopt | b888d5ffa34033281acd58c45df1275425efb899 | [
"MIT"
] | 46 | 2020-11-01T22:26:01.000Z | 2021-03-19T17:22:33.000Z | python/tests/netlist_example.py | thrile/cirkopt | b888d5ffa34033281acd58c45df1275425efb899 | [
"MIT"
] | null | null | null | TEST_NETLIST = r"""
** Library name: gsclib045
** Cell name: INVX1_3
** View name: schematic
.subckt INVX1_3 A Y VDD VSS
*.PININFO VSS:I VDD:I A:I Y:O
** Above line required by Conformal LEC - DO NOT DELETE
mp0 Y A VDD VDD g45p1svt L=45e-9 W=250e-9 AD=54.6e-15 AS=54.6e-15 PD=1.06e-6 PS=1.06e-6 NRD=358.974e-3 NRS=358.... | 41.947368 | 125 | 0.685905 | 1,173 | 4,782 | 2.760443 | 0.069906 | 0.012353 | 0.03706 | 0.033354 | 0.941322 | 0.854849 | 0.854231 | 0.749228 | 0.738728 | 0.738728 | 0 | 0.255446 | 0.155165 | 4,782 | 113 | 126 | 42.318584 | 0.54604 | 0 | 0 | 0.378641 | 0 | 0.194175 | 0.956504 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
746c39e04925a19e329f478a4ca258e7d72615f8 | 2,576 | py | Python | utl/aqv/__init__.py | angellbelger/Police-Report-BO | 658a3e14e371241ae7c9fa14c4ac3e1a31c1abd7 | [
"MIT"
] | null | null | null | utl/aqv/__init__.py | angellbelger/Police-Report-BO | 658a3e14e371241ae7c9fa14c4ac3e1a31c1abd7 | [
"MIT"
] | null | null | null | utl/aqv/__init__.py | angellbelger/Police-Report-BO | 658a3e14e371241ae7c9fa14c4ac3e1a31c1abd7 | [
"MIT"
] | null | null | null | from utl.lay import colour as cl
def readint(msg):
while True:
try:
x = int(input(msg))
except Exception as error:
print(f'{cl["r"]}{error.__class__}. Try again.{cl["limit"]}')
continue
else:
return x
def titleFor(txt, num1=0):
print... | 25.50495 | 157 | 0.443323 | 321 | 2,576 | 3.495327 | 0.186916 | 0.112299 | 0.071301 | 0.064171 | 0.835116 | 0.796791 | 0.759358 | 0.759358 | 0.729055 | 0.729055 | 0 | 0.005474 | 0.361801 | 2,576 | 101 | 158 | 25.504951 | 0.677007 | 0 | 0 | 0.722222 | 0 | 0.041667 | 0.308886 | 0.161816 | 0 | 0 | 0 | 0 | 0 | 1 | 0.097222 | false | 0 | 0.013889 | 0 | 0.180556 | 0.180556 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
74a9cdcfca1e5479680e26f4ad39ce2a5f343903 | 7,343 | py | Python | PythonMachineLearning/ParkinsonDataSet.py | bedirhansaglam/PythonMachineLearning | 5364ad33698fe0ab0b79bd8bb3e60aea3a44e9e5 | [
"MIT"
] | 1 | 2018-10-12T19:28:33.000Z | 2018-10-12T19:28:33.000Z | PythonMachineLearning/ParkinsonDataSet.py | bedirhansaglam/PythonMachineLearning | 5364ad33698fe0ab0b79bd8bb3e60aea3a44e9e5 | [
"MIT"
] | null | null | null | PythonMachineLearning/ParkinsonDataSet.py | bedirhansaglam/PythonMachineLearning | 5364ad33698fe0ab0b79bd8bb3e60aea3a44e9e5 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Tue Dec 26 21:29:46 2017
@author: Bedirhan
"""
import os
import numpy as np
def saveData(filename,data):
db=np.array(data)
f=open(filename,'w')
for i,a in enumerate(db):
for p,j in enumerate(db[i]):
if p!=(len(db[i])-1):
f.write(j... | 34.966667 | 65 | 0.504971 | 842 | 7,343 | 4.26247 | 0.093824 | 0.062413 | 0.057955 | 0.071329 | 0.904152 | 0.904152 | 0.904152 | 0.903037 | 0.903037 | 0.903037 | 0 | 0.013579 | 0.378183 | 7,343 | 210 | 66 | 34.966667 | 0.772449 | 0.037178 | 0 | 0.859459 | 0 | 0 | 0.048044 | 0.031179 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048649 | false | 0 | 0.010811 | 0 | 0.102703 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7776dabfbee60cb354b3468e21c8f1d14a4bf6d2 | 1,277 | py | Python | gdsfactory/tests/test_min_width.py | jorgepadilla19/gdsfactory | 68e1c18257a75d4418279851baea417c8899a165 | [
"MIT"
] | 42 | 2020-05-25T09:33:45.000Z | 2022-03-29T03:41:19.000Z | gdsfactory/tests/test_min_width.py | jorgepadilla19/gdsfactory | 68e1c18257a75d4418279851baea417c8899a165 | [
"MIT"
] | 133 | 2020-05-28T18:29:04.000Z | 2022-03-31T22:21:42.000Z | gdsfactory/tests/test_min_width.py | jorgepadilla19/gdsfactory | 68e1c18257a75d4418279851baea417c8899a165 | [
"MIT"
] | 17 | 2020-06-30T07:07:50.000Z | 2022-03-17T15:45:27.000Z | from typing import Tuple
import gdsfactory as gf
from gdsfactory.geometry import check_width
def test_wmin_failing(layer: Tuple[int, int] = (1, 0)) -> None:
w = 50
min_width = 50 + 10 # component edges are smaller than min_width
c = gf.components.rectangle(size=(w, w), layer=layer)
gdspath = c.write... | 36.485714 | 75 | 0.70556 | 200 | 1,277 | 4.255 | 0.23 | 0.206816 | 0.116334 | 0.169213 | 0.776733 | 0.776733 | 0.776733 | 0.772033 | 0.772033 | 0.688602 | 0 | 0.018975 | 0.174628 | 1,277 | 34 | 76 | 37.558824 | 0.788425 | 0.328113 | 0 | 0.315789 | 0 | 0 | 0.028269 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 1 | 0.105263 | false | 0.105263 | 0.157895 | 0 | 0.263158 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
77847e9fd796da3bf3903e9d8b98872538ece48b | 100 | py | Python | jsonrouter/__init__.py | Benbentwo-Sandbox/jsonrouter | 7e1d837e590682142e284345086f78402c5c589b | [
"MIT"
] | 2 | 2018-12-07T04:42:15.000Z | 2020-07-17T21:07:27.000Z | jsonrouter/__init__.py | Benbentwo-Sandbox/jsonrouter | 7e1d837e590682142e284345086f78402c5c589b | [
"MIT"
] | 7 | 2018-12-07T00:37:55.000Z | 2018-12-19T17:05:27.000Z | jsonrouter/__init__.py | Benbentwo-Sandbox/jsonrouter | 7e1d837e590682142e284345086f78402c5c589b | [
"MIT"
] | 1 | 2020-05-29T15:19:11.000Z | 2020-05-29T15:19:11.000Z | from .__version__ import __version__
from .__version__ import __version_info__
from .core import *
| 20 | 41 | 0.83 | 12 | 100 | 5.5 | 0.416667 | 0.333333 | 0.515152 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13 | 100 | 4 | 42 | 25 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
778c115746b8d426a7515913089587536dc0adf6 | 13,642 | py | Python | tests/test_types_url_str.py | pydevd/pydantic | cd50601172462b49cdf09e4d988906ba8f14af87 | [
"MIT"
] | 25 | 2019-06-30T04:37:49.000Z | 2022-03-19T19:57:37.000Z | tests/test_types_url_str.py | pydevd/pydantic | cd50601172462b49cdf09e4d988906ba8f14af87 | [
"MIT"
] | 1 | 2018-11-22T15:52:55.000Z | 2018-11-22T15:57:42.000Z | tests/test_types_url_str.py | pydevd/pydantic | cd50601172462b49cdf09e4d988906ba8f14af87 | [
"MIT"
] | 4 | 2021-06-25T06:34:49.000Z | 2022-02-07T01:52:10.000Z | import pytest
from pydantic import BaseModel, ValidationError, urlstr
@pytest.mark.parametrize(
'value', [
'http://example.org',
'https://example.org',
'ftp://example.org',
'ftps://example.org',
'http://example.co.jp',
'http://www.example.com/a%C2%B1b',
'ht... | 26.48932 | 73 | 0.340053 | 1,075 | 13,642 | 4.217674 | 0.113488 | 0.03176 | 0.05558 | 0.061756 | 0.885532 | 0.850684 | 0.838774 | 0.79753 | 0.752095 | 0.73004 | 0 | 0.015674 | 0.508943 | 13,642 | 514 | 74 | 26.540856 | 0.661143 | 0.003885 | 0 | 0.554865 | 0 | 0 | 0.276535 | 0.062785 | 0 | 0 | 0 | 0 | 0.020704 | 1 | 0.016563 | false | 0.00207 | 0.004141 | 0 | 0.062112 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
77aefe507a742328b14bde4c42c73589537b0312 | 25,875 | py | Python | nova/tests/api/openstack/test_flavors.py | armaan/nova | 22859fccb95502efcb73ecf2bd827c45c0886bd3 | [
"Apache-2.0"
] | null | null | null | nova/tests/api/openstack/test_flavors.py | armaan/nova | 22859fccb95502efcb73ecf2bd827c45c0886bd3 | [
"Apache-2.0"
] | null | null | null | nova/tests/api/openstack/test_flavors.py | armaan/nova | 22859fccb95502efcb73ecf2bd827c45c0886bd3 | [
"Apache-2.0"
] | null | null | null | # vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2010 OpenStack LLC.
# 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/... | 33.823529 | 78 | 0.398454 | 2,199 | 25,875 | 4.544338 | 0.106412 | 0.055039 | 0.064645 | 0.039227 | 0.831282 | 0.815971 | 0.804363 | 0.786651 | 0.769439 | 0.753427 | 0 | 0.029923 | 0.466589 | 25,875 | 764 | 79 | 33.867801 | 0.694102 | 0.024812 | 0 | 0.660767 | 0 | 0 | 0.165341 | 0.013176 | 0 | 0 | 0 | 0 | 0.063422 | 0 | null | null | 0 | 0.014749 | null | null | 0.00885 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
bb35e007aaab7d0ad2de79724a48a235b8a0a74a | 145 | py | Python | boa3_test/test_sc/interop_test/crypto/VerifyWithECDsaSecp256r1MismatchedType.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | null | null | null | boa3_test/test_sc/interop_test/crypto/VerifyWithECDsaSecp256r1MismatchedType.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | null | null | null | boa3_test/test_sc/interop_test/crypto/VerifyWithECDsaSecp256r1MismatchedType.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | null | null | null | from boa3.builtin.interop.crypto import verify_with_ecdsa_secp256r1
def Main():
verify_with_ecdsa_secp256r1('unit test', 10, b'signature')
| 24.166667 | 67 | 0.793103 | 21 | 145 | 5.190476 | 0.809524 | 0.183486 | 0.275229 | 0.440367 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085271 | 0.110345 | 145 | 5 | 68 | 29 | 0.75969 | 0 | 0 | 0 | 0 | 0 | 0.124138 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
24d90ccf24bb3fa20c7ca925cb3cda65cb21334a | 18,295 | py | Python | languages/python/tests/test_find.py | robjsliwa/mem_query | 09a1ba736c4d8faadb9df6618934a611fa168647 | [
"MIT"
] | null | null | null | languages/python/tests/test_find.py | robjsliwa/mem_query | 09a1ba736c4d8faadb9df6618934a611fa168647 | [
"MIT"
] | 8 | 2021-03-05T14:42:48.000Z | 2021-04-17T19:20:27.000Z | languages/python/tests/test_find.py | robjsliwa/mem_query | 09a1ba736c4d8faadb9df6618934a611fa168647 | [
"MIT"
] | null | null | null | from unittest import TestCase
from memquery import Collection, create_collection,\
collection
class TestFindAPI(TestCase):
def test_create_collection(self):
create_collection('TestCollection')
test_coll = None
try:
test_coll = collection('TestCollection')
except Exc... | 49.579946 | 106 | 0.47155 | 2,132 | 18,295 | 3.982645 | 0.041745 | 0.113061 | 0.148392 | 0.19079 | 0.955482 | 0.946296 | 0.933341 | 0.933341 | 0.903898 | 0.892474 | 0 | 0.043551 | 0.250724 | 18,295 | 369 | 107 | 49.579946 | 0.575868 | 0 | 0 | 0.761246 | 0 | 0 | 0.209062 | 0 | 0 | 0 | 0 | 0 | 0.204152 | 1 | 0.093426 | false | 0.00692 | 0.00692 | 0 | 0.103806 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
24e5a9c2659a59bbd4212d31fd1249ccfb3a8b94 | 42 | py | Python | tests/test_financial_data.py | alfredoramirez3/financial_data | bf09c9cf51108363246d510d7406524f00503106 | [
"MIT"
] | null | null | null | tests/test_financial_data.py | alfredoramirez3/financial_data | bf09c9cf51108363246d510d7406524f00503106 | [
"MIT"
] | null | null | null | tests/test_financial_data.py | alfredoramirez3/financial_data | bf09c9cf51108363246d510d7406524f00503106 | [
"MIT"
] | null | null | null | from financial_data import financial_data
| 21 | 41 | 0.904762 | 6 | 42 | 6 | 0.666667 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
24e885a6e640fd1a7dcdf95af0eeca6070c4ea76 | 9,410 | py | Python | python/simpleMission.py | dquail/GVFMinecraft | 5eae9ea9974ec604194b32cdb235765ea3fe7fb3 | [
"MIT"
] | null | null | null | python/simpleMission.py | dquail/GVFMinecraft | 5eae9ea9974ec604194b32cdb235765ea3fe7fb3 | [
"MIT"
] | null | null | null | python/simpleMission.py | dquail/GVFMinecraft | 5eae9ea9974ec604194b32cdb235765ea3fe7fb3 | [
"MIT"
] | null | null | null | from constants import *
missionXML = '''<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<Mission xmlns="http://ProjectMalmo.microsoft.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<About>
<Summary>Hello world!</Summary>
</About>
... | 49.267016 | 133 | 0.434857 | 942 | 9,410 | 4.308917 | 0.121019 | 0.068983 | 0.070214 | 0.034491 | 0.979305 | 0.941365 | 0.935452 | 0.935452 | 0.921163 | 0.867948 | 0 | 0.129782 | 0.391605 | 9,410 | 190 | 134 | 49.526316 | 0.579214 | 0 | 1 | 0.802469 | 0 | 0.228395 | 0.974601 | 0.136982 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.018519 | 0.006173 | 0 | 0.006173 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
702b290968d0faad6fa1e1d03c5792c5e9c52190 | 120 | py | Python | pyorama/event/__init__.py | AnishN/Pyorama | e16389336e1c4969165967fe208b5b260188f57f | [
"MIT"
] | null | null | null | pyorama/event/__init__.py | AnishN/Pyorama | e16389336e1c4969165967fe208b5b260188f57f | [
"MIT"
] | null | null | null | pyorama/event/__init__.py | AnishN/Pyorama | e16389336e1c4969165967fe208b5b260188f57f | [
"MIT"
] | null | null | null | from pyorama.event.event_system import *
from pyorama.event.input_events import *
from pyorama.event.listener import * | 40 | 41 | 0.816667 | 17 | 120 | 5.647059 | 0.470588 | 0.34375 | 0.5 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108333 | 120 | 3 | 42 | 40 | 0.897196 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
3b3f657e951e2cae809b3defbf987f18f400cf92 | 3,382 | py | Python | test/expressions/expr6.py | kylebarron/MagicPython | da6fa0793e2c85d3bf7709ff1d4f65ccf468db11 | [
"MIT"
] | 1,482 | 2015-10-16T21:59:32.000Z | 2022-03-30T11:44:40.000Z | test/expressions/expr6.py | kylebarron/MagicPython | da6fa0793e2c85d3bf7709ff1d4f65ccf468db11 | [
"MIT"
] | 226 | 2015-10-15T15:53:44.000Z | 2022-03-25T03:08:27.000Z | test/expressions/expr6.py | kylebarron/MagicPython | da6fa0793e2c85d3bf7709ff1d4f65ccf468db11 | [
"MIT"
] | 129 | 2015-10-20T02:41:49.000Z | 2022-03-22T01:44:36.000Z | a = (a, b(a=1), {c: d(b=1), e: [a, b(z=1)]})
a : source.python
: source.python
= : keyword.operator.assignment.python, source.python
: source.python
( : punctuation.parenthesis.begin.python, source.python
a : source.python
, : pu... | 69.020408 | 134 | 0.666765 | 373 | 3,382 | 6.045576 | 0.08311 | 0.234146 | 0.311308 | 0.234146 | 0.96408 | 0.925942 | 0.877605 | 0.858537 | 0.858537 | 0.858537 | 0 | 0.002269 | 0.218214 | 3,382 | 48 | 135 | 70.458333 | 0.850605 | 0 | 0 | 0.688889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
d9093b74be1c364ab7aa898e4ab62a2db9e182f1 | 3,277 | py | Python | dali/gallery/migrations/0002_auto__chg_field_picture_description__chg_field_gallery_description.py | varikin/dali | 07229a59c577431980588a3ee75cdbf80fc72da6 | [
"Apache-2.0"
] | 1 | 2016-05-08T11:45:54.000Z | 2016-05-08T11:45:54.000Z | dali/gallery/migrations/0002_auto__chg_field_picture_description__chg_field_gallery_description.py | varikin/dali | 07229a59c577431980588a3ee75cdbf80fc72da6 | [
"Apache-2.0"
] | null | null | null | dali/gallery/migrations/0002_auto__chg_field_picture_description__chg_field_gallery_description.py | varikin/dali | 07229a59c577431980588a3ee75cdbf80fc72da6 | [
"Apache-2.0"
] | null | null | null | # encoding: utf-8
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Changing field 'Picture.description'
db.alter_column('gallery_picture', 'description', self.gf('ckeditor... | 57.491228 | 148 | 0.590479 | 338 | 3,277 | 5.627219 | 0.221893 | 0.088328 | 0.147213 | 0.210305 | 0.83123 | 0.802839 | 0.802839 | 0.802839 | 0.774448 | 0.700315 | 0 | 0.007877 | 0.186451 | 3,277 | 56 | 149 | 58.517857 | 0.705551 | 0.049741 | 0 | 0.3 | 0 | 0 | 0.52381 | 0.287645 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05 | false | 0 | 0.1 | 0 | 0.225 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d92f91c0d3365fa039cf0667cc7f1eea0ecf1b45 | 12,095 | py | Python | code/figures/presentation_figures/reg_scenarios_other_organisms.py | gchure/modelling_growth | 764d7aee4d0d562cd5e1b6e21b534ab465d1d672 | [
"MIT"
] | null | null | null | code/figures/presentation_figures/reg_scenarios_other_organisms.py | gchure/modelling_growth | 764d7aee4d0d562cd5e1b6e21b534ab465d1d672 | [
"MIT"
] | null | null | null | code/figures/presentation_figures/reg_scenarios_other_organisms.py | gchure/modelling_growth | 764d7aee4d0d562cd5e1b6e21b534ab465d1d672 | [
"MIT"
] | null | null | null | #%%
import numpy as np
import pandas as pd
import seaborn as sns
import matplotlib.pyplot as plt
import growth.viz
import growth.model
colors, palette = growth.viz.matplotlib_style()
#%%
SHOW_DATA = False
# Load the relevant data
marip = pd.read_csv('../../../data/Mueller2021.csv')
# elong_data = pd.read_csv('../... | 47.431373 | 150 | 0.628028 | 1,784 | 12,095 | 3.942265 | 0.089126 | 0.032419 | 0.056306 | 0.056306 | 0.924072 | 0.917247 | 0.91156 | 0.906441 | 0.905588 | 0.905588 | 0 | 0.038606 | 0.23117 | 12,095 | 254 | 151 | 47.61811 | 0.717712 | 0.181232 | 0 | 0.838509 | 0 | 0 | 0.132284 | 0.029137 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037267 | 0 | 0.037267 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d9401ad8b3280388fb096d20c334fb120c11571e | 801 | py | Python | provisioning/admin.py | luisza/vcl_django | 43d04f7951cb8805502e51f6f6360c7ec63215cc | [
"Apache-2.0"
] | null | null | null | provisioning/admin.py | luisza/vcl_django | 43d04f7951cb8805502e51f6f6360c7ec63215cc | [
"Apache-2.0"
] | null | null | null | provisioning/admin.py | luisza/vcl_django | 43d04f7951cb8805502e51f6f6360c7ec63215cc | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
# Register your models here.
from provisioning.models import (Provisioning,
Provisioningosinstalltype,
Resourcetype,
Resource,
Resourcegroup,... | 38.142857 | 62 | 0.405743 | 32 | 801 | 10.15625 | 0.5625 | 0.227692 | 0.301538 | 0.350769 | 0.707692 | 0.707692 | 0.707692 | 0.707692 | 0 | 0 | 0 | 0 | 0.561798 | 801 | 21 | 63 | 38.142857 | 0.925926 | 0.032459 | 0 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.117647 | 0 | 0.117647 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
79739a95e7de8d0230977c5bc8d42fc4928eb2a5 | 18,363 | py | Python | data/dataloader.py | clovaai/c3_sinet | 636245fd90cd88e5f851b340befee8d48865e965 | [
"MIT"
] | 43 | 2019-12-30T06:20:51.000Z | 2022-01-07T03:30:29.000Z | data/dataloader.py | hwany-j/c3_sinet | b92911b4bcd8edf003da1537b2ab8e0b3169af56 | [
"MIT"
] | 2 | 2020-06-09T19:25:44.000Z | 2021-01-17T12:04:41.000Z | data/dataloader.py | hwany-j/c3_sinet | b92911b4bcd8edf003da1537b2ab8e0b3169af56 | [
"MIT"
] | 16 | 2019-12-30T06:21:04.000Z | 2021-11-24T03:56:30.000Z | import os
import data.CVTransforms as cvTransforms
import data.PILTransform as pilTransforms
from torch.utils import data
from torchvision import datasets
import torchvision.transforms as transforms
import data.DataSet as myDataLoader
import torch
import data.loadData as ld
import pickle
def cityPIL_Doublerandscalecro... | 39.575431 | 121 | 0.656047 | 2,186 | 18,363 | 5.356816 | 0.068161 | 0.036892 | 0.031085 | 0.040991 | 0.906149 | 0.898634 | 0.890094 | 0.885226 | 0.861913 | 0.8462 | 0 | 0.03766 | 0.210478 | 18,363 | 463 | 122 | 39.660907 | 0.770037 | 0.025268 | 0 | 0.752113 | 0 | 0 | 0.085097 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019718 | false | 0 | 0.028169 | 0 | 0.08169 | 0.067606 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
798f96a1ac92dd9263c3561fcfcb91cebd1ff289 | 231 | py | Python | mail/formspree-master/formspree/users/helpers.py | OVERLOADROBOTICA/OVERLOADROBOTICA.github.io | 298cfe1283ca0686eb78a2e14a6275759f03c171 | [
"MIT"
] | null | null | null | mail/formspree-master/formspree/users/helpers.py | OVERLOADROBOTICA/OVERLOADROBOTICA.github.io | 298cfe1283ca0686eb78a2e14a6275759f03c171 | [
"MIT"
] | null | null | null | mail/formspree-master/formspree/users/helpers.py | OVERLOADROBOTICA/OVERLOADROBOTICA.github.io | 298cfe1283ca0686eb78a2e14a6275759f03c171 | [
"MIT"
] | null | null | null | from werkzeug.security import generate_password_hash, check_password_hash
def hash_pwd(password):
return generate_password_hash(password)
def check_password(hashed, password):
return check_password_hash(hashed, password)
| 28.875 | 73 | 0.831169 | 30 | 231 | 6.066667 | 0.4 | 0.263736 | 0.21978 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108225 | 231 | 7 | 74 | 33 | 0.883495 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 1 | 0.2 | 0.4 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 8 |
7990c29af0fff9ce75755c245111d9dd6ce1f7ab | 64,855 | py | Python | dataset.py | SteveCruz/icpr2022-autoencoder-attractors | 0935179b514fd49e1d2410005d91ff49db9978ac | [
"MIT"
] | null | null | null | dataset.py | SteveCruz/icpr2022-autoencoder-attractors | 0935179b514fd49e1d2410005d91ff49db9978ac | [
"MIT"
] | null | null | null | dataset.py | SteveCruz/icpr2022-autoencoder-attractors | 0935179b514fd49e1d2410005d91ff49db9978ac | [
"MIT"
] | null | null | null | ####################################################################################################################################################
####################################################################################################################################################
"""
Dataloader definit... | 36.703452 | 264 | 0.578367 | 7,881 | 64,855 | 4.559827 | 0.054688 | 0.021789 | 0.03548 | 0.035953 | 0.861921 | 0.8435 | 0.826664 | 0.808604 | 0.800339 | 0.784534 | 0 | 0.01167 | 0.297094 | 64,855 | 1,767 | 265 | 36.703452 | 0.775265 | 0.21949 | 0 | 0.707376 | 0 | 0.003628 | 0.045697 | 0.017005 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08948 | false | 0 | 0.020556 | 0.018138 | 0.187424 | 0.029021 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8dc7ce190fcfa4b717cf696ae02ff8d88d5fd1a7 | 51,900 | py | Python | src/genie/libs/parser/nxos/tests/ShowIpOspfDatabaseOpaqueAreaDetail/cli/equal/golden_output_2_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/nxos/tests/ShowIpOspfDatabaseOpaqueAreaDetail/cli/equal/golden_output_2_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/nxos/tests/ShowIpOspfDatabaseOpaqueAreaDetail/cli/equal/golden_output_2_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z |
expected_output = {
'vrf':
{'default':
{'address_family':
{'ipv4':
{'instance':
{'1':
{'areas':
{'0.0.0.0':
{'database':
... | 91.373239 | 125 | 0.15447 | 1,695 | 51,900 | 4.536283 | 0.066667 | 0.158148 | 0.181038 | 0.04682 | 0.938093 | 0.920406 | 0.915073 | 0.896345 | 0.891533 | 0.891533 | 0 | 0.250091 | 0.787206 | 51,900 | 567 | 126 | 91.534392 | 0.446125 | 0 | 0 | 0.863717 | 0 | 0 | 0.142453 | 0.006937 | 0 | 0 | 0.004856 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
8deba84b6f0885a2119882b50a0bbd5bfce310f1 | 36,724 | py | Python | guacamole/migrations/0001_initial.py | NeCTAR-RC/bumblebee | 8ba4c543695c83ea1ca532012203f05189438e23 | [
"Apache-2.0"
] | 3 | 2021-11-19T10:45:17.000Z | 2022-02-15T21:57:58.000Z | guacamole/migrations/0001_initial.py | NeCTAR-RC/bumblebee | 8ba4c543695c83ea1ca532012203f05189438e23 | [
"Apache-2.0"
] | null | null | null | guacamole/migrations/0001_initial.py | NeCTAR-RC/bumblebee | 8ba4c543695c83ea1ca532012203f05189438e23 | [
"Apache-2.0"
] | null | null | null | # Generated by Django 3.2.6 on 2021-08-27 01:35
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import guacamole.fields
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(... | 38.254167 | 256 | 0.643939 | 3,860 | 36,724 | 5.864249 | 0.050518 | 0.045768 | 0.040643 | 0.030041 | 0.892737 | 0.848781 | 0.777611 | 0.714216 | 0.668228 | 0.624801 | 0 | 0.017385 | 0.252859 | 36,724 | 959 | 257 | 38.294056 | 0.807603 | 0.001225 | 0 | 0.580928 | 1 | 0 | 0.67072 | 0.172533 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.033877 | 0.005019 | 0 | 0.010038 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
30a70eba5e6bffa862d4b47834ab6a731ae2d61c | 189 | py | Python | chainladder/core/__init__.py | Aborah30/chainladder-python | c7d3f4f0a5333b6bd34922cc406f252ab9c47e10 | [
"MIT"
] | null | null | null | chainladder/core/__init__.py | Aborah30/chainladder-python | c7d3f4f0a5333b6bd34922cc406f252ab9c47e10 | [
"MIT"
] | null | null | null | chainladder/core/__init__.py | Aborah30/chainladder-python | c7d3f4f0a5333b6bd34922cc406f252ab9c47e10 | [
"MIT"
] | null | null | null | """ core should store the core data structure functionality.
"""
from chainladder.core.triangle import Triangle # noqa (API import)
from chainladder.core.base import IO # noqa (API import)
| 37.8 | 66 | 0.772487 | 26 | 189 | 5.615385 | 0.576923 | 0.205479 | 0.260274 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137566 | 189 | 4 | 67 | 47.25 | 0.895706 | 0.492063 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
30f99e10b9a95e3db488a09898a333f0bc7c3d06 | 4,429 | py | Python | shinrl/solvers/pi/discrete/core/target_mixin.py | qqhann/ShinRL | 5f95f01d8061d1dc3ffdc84f4049ab88daa00758 | [
"MIT"
] | null | null | null | shinrl/solvers/pi/discrete/core/target_mixin.py | qqhann/ShinRL | 5f95f01d8061d1dc3ffdc84f4049ab88daa00758 | [
"MIT"
] | null | null | null | shinrl/solvers/pi/discrete/core/target_mixin.py | qqhann/ShinRL | 5f95f01d8061d1dc3ffdc84f4049ab88daa00758 | [
"MIT"
] | null | null | null | """MixIns to compute the target value of PI-based algorithms.
Author: Toshinori Kitamura
Affiliation: NAIST & OSX
"""
from abc import ABC, abstractmethod
import distrax
from chex import Array
from distrax import Categorical
import shinrl as srl
class TargetMixIn(ABC):
@abstractmethod
def target_pol_dist(se... | 30.544828 | 88 | 0.612779 | 553 | 4,429 | 4.658228 | 0.141049 | 0.07337 | 0.046584 | 0.039596 | 0.878106 | 0.870342 | 0.853649 | 0.833075 | 0.809394 | 0.770575 | 0 | 0.001582 | 0.286521 | 4,429 | 144 | 89 | 30.756944 | 0.813608 | 0.036351 | 0 | 0.786325 | 0 | 0 | 0.008459 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.128205 | false | 0.042735 | 0.042735 | 0.08547 | 0.282051 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a5161b2a735481e78db49a0bebf26950bba539e5 | 18,339 | py | Python | sdk/python/pulumi_keycloak/openid/_inputs.py | davide-talesco/pulumi-keycloak | 08d66be6f2bf578d4292e29eb6181794375bc4e5 | [
"ECL-2.0",
"Apache-2.0"
] | 13 | 2020-04-28T15:20:56.000Z | 2022-03-24T18:00:17.000Z | sdk/python/pulumi_keycloak/openid/_inputs.py | davide-talesco/pulumi-keycloak | 08d66be6f2bf578d4292e29eb6181794375bc4e5 | [
"ECL-2.0",
"Apache-2.0"
] | 49 | 2020-02-06T17:53:35.000Z | 2022-03-25T19:36:08.000Z | sdk/python/pulumi_keycloak/openid/_inputs.py | davide-talesco/pulumi-keycloak | 08d66be6f2bf578d4292e29eb6181794375bc4e5 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2020-06-09T01:08:56.000Z | 2021-12-07T15:30:37.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 37.734568 | 248 | 0.669502 | 2,031 | 18,339 | 5.847858 | 0.069916 | 0.124105 | 0.10373 | 0.094468 | 0.843563 | 0.798518 | 0.773933 | 0.740591 | 0.710028 | 0.69201 | 0 | 0.000069 | 0.21228 | 18,339 | 485 | 249 | 37.812371 | 0.822096 | 0.0879 | 0 | 0.739726 | 1 | 0 | 0.10784 | 0.035745 | 0 | 0 | 0 | 0 | 0 | 1 | 0.205479 | false | 0 | 0.013699 | 0.071233 | 0.336986 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
eb57029032163bc18391effab995c7d84f23da62 | 4,100 | py | Python | src/organizer.py | humble-goat/csv-bridge-to-erp | 9a7ca78f5e49b5a1a465dd65e9a98a0c50e5293c | [
"MIT"
] | null | null | null | src/organizer.py | humble-goat/csv-bridge-to-erp | 9a7ca78f5e49b5a1a465dd65e9a98a0c50e5293c | [
"MIT"
] | null | null | null | src/organizer.py | humble-goat/csv-bridge-to-erp | 9a7ca78f5e49b5a1a465dd65e9a98a0c50e5293c | [
"MIT"
] | null | null | null | from synalaser import make_me_whole
def choice(choose, client):
if choose == 'hlek':
if client == 'alp':
return '70-4287'
elif client == 'tim':
return '70-0087'
else:
pass
elif choose == 'hlen':
if client == 'alp':
return '70-4087... | 43.157895 | 112 | 0.570976 | 496 | 4,100 | 4.568548 | 0.165323 | 0.307149 | 0.435128 | 0.419241 | 0.80053 | 0.702118 | 0.668138 | 0.643866 | 0.643866 | 0.643866 | 0 | 0.041501 | 0.265366 | 4,100 | 95 | 113 | 43.157895 | 0.710823 | 0.009756 | 0 | 0.67033 | 0 | 0 | 0.170732 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021978 | false | 0.054945 | 0.010989 | 0 | 0.120879 | 0.010989 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 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 | 7 |
cceebc9ad721be9bff679253891aed4ce9b4c890 | 47 | py | Python | tests/test.py | c-okelly/passing_distance | 85664aeca58175a4f4a3041393c288a15949bb56 | [
"MIT"
] | 1 | 2020-01-12T12:08:26.000Z | 2020-01-12T12:08:26.000Z | tests/test.py | c-okelly/passing_distance | 85664aeca58175a4f4a3041393c288a15949bb56 | [
"MIT"
] | null | null | null | tests/test.py | c-okelly/passing_distance | 85664aeca58175a4f4a3041393c288a15949bb56 | [
"MIT"
] | null | null | null | import nose
def testA():
assert(1 == 1)
| 6.714286 | 18 | 0.553191 | 7 | 47 | 3.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 0.297872 | 47 | 6 | 19 | 7.833333 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
ccf2543dcb0e3b35c913d3076866e770013799c2 | 124 | py | Python | partools/test/rl/__init__.py | paularnaud2/PyTools | 09accc33e1dcfdde45671ad5962727554648b30c | [
"MIT"
] | null | null | null | partools/test/rl/__init__.py | paularnaud2/PyTools | 09accc33e1dcfdde45671ad5962727554648b30c | [
"MIT"
] | null | null | null | partools/test/rl/__init__.py | paularnaud2/PyTools | 09accc33e1dcfdde45671ad5962727554648b30c | [
"MIT"
] | null | null | null | from .check_log import CL
from .main import reqlist
from .main import left_join_files
from .main import reqlist_interrupted
| 24.8 | 37 | 0.83871 | 20 | 124 | 5 | 0.55 | 0.24 | 0.42 | 0.42 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 124 | 4 | 38 | 31 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
690c188197073b1245e07282e181d4518dd87cac | 2,010 | py | Python | app/errors.py | lootfee/writerrific | e7d4aeb05af7f70db60a045d8814e1ff952483c8 | [
"MIT"
] | null | null | null | app/errors.py | lootfee/writerrific | e7d4aeb05af7f70db60a045d8814e1ff952483c8 | [
"MIT"
] | null | null | null | app/errors.py | lootfee/writerrific | e7d4aeb05af7f70db60a045d8814e1ff952483c8 | [
"MIT"
] | null | null | null | from flask import render_template
from app import app, db
from app.forms import LoginForm, RegistrationForm
@app.errorhandler(404)
def not_found_error(error):
register_form = RegistrationForm()
login_form = LoginForm()
if login_form.login_submit.data:
if login_form.validate_on_submit():
user = User.q... | 42.765957 | 93 | 0.762687 | 292 | 2,010 | 4.989726 | 0.181507 | 0.14825 | 0.115305 | 0.082361 | 0.849691 | 0.849691 | 0.849691 | 0.849691 | 0.849691 | 0.754976 | 0 | 0.01542 | 0.128856 | 2,010 | 47 | 94 | 42.765957 | 0.816676 | 0 | 0 | 0.727273 | 0 | 0 | 0.062595 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068182 | false | 0.136364 | 0.068182 | 0 | 0.340909 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
69114e3811b10988e237f0a44bf61b9719e4a09d | 60 | py | Python | orchestration/tmp.py | wisererik/service_catalog | 792a9cbc50fb3fdfec6cc93bb43f36bcdd3ea96d | [
"Apache-2.0"
] | null | null | null | orchestration/tmp.py | wisererik/service_catalog | 792a9cbc50fb3fdfec6cc93bb43f36bcdd3ea96d | [
"Apache-2.0"
] | null | null | null | orchestration/tmp.py | wisererik/service_catalog | 792a9cbc50fb3fdfec6cc93bb43f36bcdd3ea96d | [
"Apache-2.0"
] | null | null | null | from math import fabs
def get_fabs(x):
return fabs(x)
| 10 | 21 | 0.683333 | 11 | 60 | 3.636364 | 0.727273 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233333 | 60 | 5 | 22 | 12 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
15ea3063cd74f47058aefc56a511836d9a911888 | 150 | py | Python | loldib/getratings/models/NA/na_yorick/__init__.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_yorick/__init__.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_yorick/__init__.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from .na_yorick_top import *
from .na_yorick_jng import *
from .na_yorick_mid import *
from .na_yorick_bot import *
from .na_yorick_sup import *
| 25 | 29 | 0.766667 | 25 | 150 | 4.2 | 0.36 | 0.285714 | 0.571429 | 0.685714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 150 | 5 | 30 | 30 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
c6388de9e2b30fb3adfe7ca3f1159bf01600dac1 | 3,018 | py | Python | tests/login-logout.py | caggri/FOFviz | 776ab387d832a86eea1a1b9064040d9b012494a7 | [
"MIT"
] | 2 | 2020-05-24T22:28:53.000Z | 2020-05-25T21:58:24.000Z | tests/login-logout.py | caggri/FOFviz | 776ab387d832a86eea1a1b9064040d9b012494a7 | [
"MIT"
] | null | null | null | tests/login-logout.py | caggri/FOFviz | 776ab387d832a86eea1a1b9064040d9b012494a7 | [
"MIT"
] | 1 | 2021-10-16T12:26:29.000Z | 2021-10-16T12:26:29.000Z | from selenium import webdriver
import time
import secrets
import string
chromedriver = "C:/Users/deniz/chromedriver/chromedriver"
driver = webdriver.Chrome(chromedriver)
driver.get('http://127.0.0.1:8000/')
usr = "haydar"
pwd = "123"
alphabet = string.ascii_letters + string.digits
password = ''.join(secrets.choice(a... | 30.18 | 90 | 0.792247 | 481 | 3,018 | 4.659044 | 0.162162 | 0.128514 | 0.242749 | 0.271307 | 0.727354 | 0.727354 | 0.727354 | 0.727354 | 0.688532 | 0.684962 | 0 | 0.030335 | 0.049702 | 3,018 | 99 | 91 | 30.484848 | 0.751046 | 0.015573 | 0 | 0.560976 | 0 | 0.012195 | 0.123357 | 0.086619 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.109756 | 0.04878 | 0 | 0.04878 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 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 | 7 |
d6d846ec29fa17c3a9282db16af3f16e422d85fb | 44,437 | py | Python | FinalPython_TaiNgo.py | NoNameGr/NoName | e437ada090612bb44de0524affb66348537eda56 | [
"MIT"
] | null | null | null | FinalPython_TaiNgo.py | NoNameGr/NoName | e437ada090612bb44de0524affb66348537eda56 | [
"MIT"
] | null | null | null | FinalPython_TaiNgo.py | NoNameGr/NoName | e437ada090612bb44de0524affb66348537eda56 | [
"MIT"
] | 2 | 2020-07-30T04:10:37.000Z | 2020-07-30T04:15:10.000Z | from PyQt5 import QtCore, QtGui, QtWidgets
class Version(object):
def setupUi(self, Frame):
Frame.setObjectName("Version")
Frame.resize(452, 296)
self.label_3 = QtWidgets.QLabel(Frame)
self.label_3.setGeometry(QtCore.QRect(110, 100, 91, 81))
font = QtGui.QFont()
fo... | 39.290009 | 124 | 0.643765 | 4,813 | 44,437 | 5.847704 | 0.059215 | 0.062356 | 0.066442 | 0.030698 | 0.893551 | 0.863919 | 0.84157 | 0.805223 | 0.797939 | 0.788524 | 0 | 0.050745 | 0.235457 | 44,437 | 1,130 | 125 | 39.324779 | 0.777683 | 0 | 0 | 0.775225 | 0 | 0 | 0.079866 | 0.013345 | 0 | 0 | 0 | 0 | 0 | 1 | 0.070929 | false | 0.001998 | 0.028971 | 0 | 0.121878 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ba642ca97f36651f21275eb950c157fcd3aedffb | 3,214 | py | Python | test/unit/utils/test_blockchain_message_queue.py | doubleukay/bxgateway | ac01fc9475c039cf4255576dd4ecd6bff6c48f69 | [
"MIT"
] | 21 | 2019-11-06T17:37:41.000Z | 2022-03-28T07:18:33.000Z | test/unit/utils/test_blockchain_message_queue.py | doubleukay/bxgateway | ac01fc9475c039cf4255576dd4ecd6bff6c48f69 | [
"MIT"
] | 4 | 2019-11-06T22:08:00.000Z | 2021-12-08T06:20:51.000Z | test/unit/utils/test_blockchain_message_queue.py | doubleukay/bxgateway | ac01fc9475c039cf4255576dd4ecd6bff6c48f69 | [
"MIT"
] | 10 | 2020-08-05T15:58:16.000Z | 2022-02-07T23:51:10.000Z | import time
from unittest import TestCase
from mock import MagicMock
from bxcommon.messages.bloxroute.ping_message import PingMessage
from bxgateway.utils.blockchain_message_queue import BlockchainMessageQueue
TTL = 10
class BlockchainMessageQueueTest(TestCase):
def setUp(self) -> None:
self.blockchai... | 34.55914 | 75 | 0.722775 | 399 | 3,214 | 5.493734 | 0.135338 | 0.217153 | 0.281022 | 0.320255 | 0.782391 | 0.774179 | 0.755474 | 0.719434 | 0.694799 | 0.670164 | 0 | 0.02163 | 0.194462 | 3,214 | 92 | 76 | 34.934783 | 0.825029 | 0.02458 | 0 | 0.606557 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.295082 | 1 | 0.081967 | false | 0 | 0.081967 | 0 | 0.180328 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
bac853b69c7aff474b90d00ca7bf3954f7dbf900 | 170 | py | Python | databutler/pat/astlib/position.py | rbavishi/databutler | 222263672dae8b519d0592a6bbe68a01dc4ce95d | [
"BSD-2-Clause"
] | null | null | null | databutler/pat/astlib/position.py | rbavishi/databutler | 222263672dae8b519d0592a6bbe68a01dc4ce95d | [
"BSD-2-Clause"
] | 1 | 2022-02-11T06:19:45.000Z | 2022-02-11T06:19:45.000Z | databutler/pat/astlib/position.py | rbavishi/databutler | 222263672dae8b519d0592a6bbe68a01dc4ce95d | [
"BSD-2-Clause"
] | null | null | null | import attr
@attr.s
class NodePosition:
line_start: int = attr.ib()
column_start: int = attr.ib()
line_end: int = attr.ib()
column_end: int = attr.ib()
| 17 | 33 | 0.635294 | 26 | 170 | 4 | 0.423077 | 0.269231 | 0.346154 | 0.269231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.229412 | 170 | 9 | 34 | 18.888889 | 0.793893 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.857143 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
240ecaa9bac8556fb675cccbdfb531ff5a57c2d2 | 107 | py | Python | terrascript/fastly/r.py | GarnerCorp/python-terrascript | ec6c2d9114dcd3cb955dd46069f8ba487e320a8c | [
"BSD-2-Clause"
] | null | null | null | terrascript/fastly/r.py | GarnerCorp/python-terrascript | ec6c2d9114dcd3cb955dd46069f8ba487e320a8c | [
"BSD-2-Clause"
] | null | null | null | terrascript/fastly/r.py | GarnerCorp/python-terrascript | ec6c2d9114dcd3cb955dd46069f8ba487e320a8c | [
"BSD-2-Clause"
] | 1 | 2018-11-15T16:23:05.000Z | 2018-11-15T16:23:05.000Z | from terrascript import _resource
class fastly_service_v1(_resource): pass
service_v1 = fastly_service_v1
| 21.4 | 40 | 0.859813 | 15 | 107 | 5.666667 | 0.6 | 0.317647 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.102804 | 107 | 4 | 41 | 26.75 | 0.854167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
241cebb70b001a893bdf0a7abdd5c6f202e6e69a | 1,849 | py | Python | cart_venv/Lib/site-packages/tensorflow_core/_api/v1/compat/v1/losses/__init__.py | juice1000/Synchronous-vs-Asynchronous-Learning-Tensorflow- | 654be60f7986ac9bb7ce1d080ddee377c3389f93 | [
"MIT"
] | 2 | 2019-08-04T20:28:14.000Z | 2019-10-27T23:26:42.000Z | cart_venv/Lib/site-packages/tensorflow_core/_api/v1/compat/v1/losses/__init__.py | juice1000/Synchronous-vs-Asynchronous-Learning-Tensorflow- | 654be60f7986ac9bb7ce1d080ddee377c3389f93 | [
"MIT"
] | null | null | null | cart_venv/Lib/site-packages/tensorflow_core/_api/v1/compat/v1/losses/__init__.py | juice1000/Synchronous-vs-Asynchronous-Learning-Tensorflow- | 654be60f7986ac9bb7ce1d080ddee377c3389f93 | [
"MIT"
] | 1 | 2020-11-04T03:16:29.000Z | 2020-11-04T03:16:29.000Z | # This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator/create_python_api.py script.
"""Loss operations for use in neural networks.
Note: All the losses are added to the `GraphKeys.LOSSES` collection by default.
"""
from __future__ import print_function as _print_function... | 47.410256 | 86 | 0.850189 | 269 | 1,849 | 5.565056 | 0.312268 | 0.203073 | 0.240481 | 0.261189 | 0.661991 | 0.661991 | 0.661991 | 0.655311 | 0.49833 | 0.152305 | 0 | 0.00059 | 0.083288 | 1,849 | 38 | 87 | 48.657895 | 0.882596 | 0.135749 | 0 | 0 | 1 | 0 | 0.010069 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 0.08 | 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 | 1 | 0 | 0 | 7 |
244fa00a3a503f58fad014c0de641e3905c71dc1 | 121 | py | Python | integration/tests/error_assert_base64.py | youhavethewrong/hurl | 91cc14882a5f1ef7fa86be09a9f5581cef680559 | [
"Apache-2.0"
] | 1,013 | 2020-08-27T12:38:48.000Z | 2022-03-31T23:12:23.000Z | integration/tests/error_assert_base64.py | youhavethewrong/hurl | 91cc14882a5f1ef7fa86be09a9f5581cef680559 | [
"Apache-2.0"
] | 217 | 2020-08-31T11:18:10.000Z | 2022-03-30T17:50:30.000Z | integration/tests/error_assert_base64.py | youhavethewrong/hurl | 91cc14882a5f1ef7fa86be09a9f5581cef680559 | [
"Apache-2.0"
] | 54 | 2020-09-02T09:41:06.000Z | 2022-03-19T15:33:05.000Z | from tests import app
@app.route("/error-assert-base64")
def error_assert_base64():
return 'line1\nline2\r\nline3\n' | 24.2 | 36 | 0.743802 | 19 | 121 | 4.631579 | 0.789474 | 0.25 | 0.386364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064815 | 0.107438 | 121 | 5 | 36 | 24.2 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.352459 | 0.188525 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 9 |
2469e6d51f742f8ffd4f2ac2fc412d507caeb233 | 111 | py | Python | iwg_blog/blog/admin/__init__.py | razortheory/who-iwg-webapp | e2318d286cd9ab87d4d8103bc7b3072cfb99bf76 | [
"MIT"
] | null | null | null | iwg_blog/blog/admin/__init__.py | razortheory/who-iwg-webapp | e2318d286cd9ab87d4d8103bc7b3072cfb99bf76 | [
"MIT"
] | null | null | null | iwg_blog/blog/admin/__init__.py | razortheory/who-iwg-webapp | e2318d286cd9ab87d4d8103bc7b3072cfb99bf76 | [
"MIT"
] | null | null | null | from .base import BaseArticleAdmin, ArticleAdmin, SampleArticleAdmin, CategoryAdmin, TagAdmin, SubscriberAdmin
| 55.5 | 110 | 0.864865 | 9 | 111 | 10.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 111 | 1 | 111 | 111 | 0.941176 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
03440565f61763a51229549378c3f9adf1b8f575 | 29,872 | py | Python | patent.py | DongDong-123/zgg_active | 7b7304bc9391e1d370052087d4ad2e6d05db670c | [
"Apache-2.0"
] | null | null | null | patent.py | DongDong-123/zgg_active | 7b7304bc9391e1d370052087d4ad2e6d05db670c | [
"Apache-2.0"
] | null | null | null | patent.py | DongDong-123/zgg_active | 7b7304bc9391e1d370052087d4ad2e6d05db670c | [
"Apache-2.0"
] | null | null | null | import random
import time
from selenium.webdriver.common.action_chains import ActionChains
from db import DbOperate
from selenium import webdriver
from selenium.webdriver.support.wait import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.common.by import By
from r... | 55.940075 | 124 | 0.49374 | 3,173 | 29,872 | 4.431768 | 0.072487 | 0.124449 | 0.157019 | 0.118049 | 0.865453 | 0.851728 | 0.847888 | 0.839283 | 0.833452 | 0.83075 | 0 | 0.013592 | 0.379318 | 29,872 | 533 | 125 | 56.045028 | 0.744836 | 0.044189 | 0 | 0.776413 | 0 | 0 | 0.098496 | 0.059983 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031941 | false | 0 | 0.031941 | 0 | 0.071253 | 0.051597 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0372e347ea3f86dbf50b7a6a3e388b2ad658bc82 | 120 | py | Python | tests/test_lcm.py | bashirk/lcmfinda | da57e9127367cdd2b24fbb351dc478b2318a2882 | [
"MIT"
] | null | null | null | tests/test_lcm.py | bashirk/lcmfinda | da57e9127367cdd2b24fbb351dc478b2318a2882 | [
"MIT"
] | null | null | null | tests/test_lcm.py | bashirk/lcmfinda | da57e9127367cdd2b24fbb351dc478b2318a2882 | [
"MIT"
] | null | null | null | from lcm import cal_lcm
def test_a():
assert cal_lcm(10, 20) == 20
def test_b():
assert cal_lcm(10, 15) == 30
| 15 | 32 | 0.633333 | 23 | 120 | 3.086957 | 0.565217 | 0.253521 | 0.338028 | 0.394366 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 0.233333 | 120 | 7 | 33 | 17.142857 | 0.641304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.4 | true | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
301a5bf86906325179b8850943cb7081fb41541f | 2,980 | py | Python | modules/nets.py | AlexKhakhlyuk/fixedconv | bf3848c3fd60af2e617f2118064ee6f551b45d95 | [
"Apache-1.1"
] | 1 | 2020-05-05T07:20:25.000Z | 2020-05-05T07:20:25.000Z | modules/nets.py | khakhlyuk/fixedconv | bf3848c3fd60af2e617f2118064ee6f551b45d95 | [
"Apache-1.1"
] | null | null | null | modules/nets.py | khakhlyuk/fixedconv | bf3848c3fd60af2e617f2118064ee6f551b45d95 | [
"Apache-1.1"
] | null | null | null | from modules.resnet import *
from modules.preact_resnet import *
def mini_convnet(num_classes=10):
return MiniConvNet(num_classes)
def resnet20(num_classes=10, k=1, fixed=False, fully_fixed=False):
return ResNet(BasicBlock, [3, 3, 3],
num_classes, k, fixed, fully_fixed)
def resnet32(num_... | 34.651163 | 75 | 0.674161 | 411 | 2,980 | 4.703163 | 0.092457 | 0.175892 | 0.105535 | 0.107605 | 0.944128 | 0.944128 | 0.944128 | 0.944128 | 0.923952 | 0.887739 | 0 | 0.075584 | 0.209732 | 2,980 | 86 | 76 | 34.651163 | 0.745223 | 0 | 0 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.326923 | false | 0 | 0.038462 | 0.326923 | 0.692308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 9 |
307ca93dff9f74315f429f60a9b5d25191b0d3fd | 46,153 | py | Python | venv/lib/python3.8/site-packages/spaceone/api/monitoring/v1/webhook_pb2.py | choonho/plugin-prometheus-mon-webhook | afa7d65d12715fd0480fb4f92a9c62da2d6128e0 | [
"Apache-2.0"
] | null | null | null | venv/lib/python3.8/site-packages/spaceone/api/monitoring/v1/webhook_pb2.py | choonho/plugin-prometheus-mon-webhook | afa7d65d12715fd0480fb4f92a9c62da2d6128e0 | [
"Apache-2.0"
] | null | null | null | venv/lib/python3.8/site-packages/spaceone/api/monitoring/v1/webhook_pb2.py | choonho/plugin-prometheus-mon-webhook | afa7d65d12715fd0480fb4f92a9c62da2d6128e0 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: spaceone/api/monitoring/v1/webhook.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _ref... | 48.327749 | 5,313 | 0.767036 | 5,878 | 46,153 | 5.714869 | 0.05444 | 0.045547 | 0.07862 | 0.082162 | 0.82472 | 0.788819 | 0.760538 | 0.708145 | 0.678316 | 0.661497 | 0 | 0.043577 | 0.109484 | 46,153 | 954 | 5,314 | 48.378407 | 0.773747 | 0.022924 | 0 | 0.695847 | 1 | 0.010101 | 0.237737 | 0.202507 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.008979 | 0 | 0.008979 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
06316700aa8c46181de4407c12a483cdfc146f77 | 58,095 | py | Python | map_label_tool/py_proto/modules/drivers/proto/mobileye_pb2.py | freeclouds/OpenHDMap | b61c159fbdf4f50ae1d1650421596b28863f39be | [
"Apache-2.0"
] | 2 | 2019-03-04T02:11:04.000Z | 2019-04-18T11:19:45.000Z | map_label_tool/py_proto/modules/drivers/proto/mobileye_pb2.py | freeclouds/OpenHDMap | b61c159fbdf4f50ae1d1650421596b28863f39be | [
"Apache-2.0"
] | 1 | 2019-03-15T08:37:53.000Z | 2019-03-15T08:37:53.000Z | py_proto/modules/drivers/proto/mobileye_pb2.py | yujianyi/fusion_localization | c0057e29cbf690d6260f021080fd951c1a6b6baa | [
"Apache-2.0"
] | 1 | 2019-03-04T02:11:09.000Z | 2019-03-04T02:11:09.000Z | # Generated by the protocol buffer compiler. DO NOT EDIT!
# source: modules/drivers/proto/mobileye.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf impo... | 44.517241 | 6,056 | 0.738119 | 8,202 | 58,095 | 4.92258 | 0.041575 | 0.068954 | 0.055579 | 0.065536 | 0.852285 | 0.798786 | 0.758935 | 0.698724 | 0.676186 | 0.662464 | 0 | 0.065696 | 0.135364 | 58,095 | 1,304 | 6,057 | 44.55138 | 0.73809 | 0.019382 | 0 | 0.74288 | 1 | 0.000814 | 0.238125 | 0.203094 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.005696 | 0 | 0.005696 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
06376772db28a435fbbc3171dbf0b49d52a7b209 | 10,275 | py | Python | HW7_Submit/Q4.py | munir-bd/python-machine-learning-basic | b02fc22ce83895b7598bbc3aee9031684db2aa9f | [
"MIT"
] | null | null | null | HW7_Submit/Q4.py | munir-bd/python-machine-learning-basic | b02fc22ce83895b7598bbc3aee9031684db2aa9f | [
"MIT"
] | null | null | null | HW7_Submit/Q4.py | munir-bd/python-machine-learning-basic | b02fc22ce83895b7598bbc3aee9031684db2aa9f | [
"MIT"
] | null | null | null | import tensorflow as tf
import tensorflow.contrib.keras as keras
import numpy as np
import matplotlib.pyplot as plt
# importing mnist dataset
from tensorflow.examples.tutorials.mnist import input_data
epochsNo = 300
mini_batch_size = 10
eta = 0.5
trainingSample = 3000
testingSample = 300
noOfNeuron = 40
... | 35.431034 | 94 | 0.643017 | 1,383 | 10,275 | 4.513377 | 0.091106 | 0.038449 | 0.025633 | 0.036527 | 0.971964 | 0.971964 | 0.96876 | 0.96876 | 0.963794 | 0.963794 | 0 | 0.02539 | 0.244866 | 10,275 | 290 | 95 | 35.431034 | 0.779095 | 0.050511 | 0 | 0.924051 | 0 | 0 | 0.082751 | 0.010159 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.021097 | 0 | 0.021097 | 0.067511 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
06553f21352807ad358f166bcd4e25b74bb569b7 | 80 | py | Python | app/auth/__init__.py | ethanaggor/twitter-clone | 4b6dfadca462fbe73dd7a3f32001e04342e1e5fa | [
"Apache-2.0"
] | null | null | null | app/auth/__init__.py | ethanaggor/twitter-clone | 4b6dfadca462fbe73dd7a3f32001e04342e1e5fa | [
"Apache-2.0"
] | 12 | 2020-11-28T08:21:22.000Z | 2020-12-17T17:49:22.000Z | app/auth/__init__.py | ethanaggor/twitter-clone | 4b6dfadca462fbe73dd7a3f32001e04342e1e5fa | [
"Apache-2.0"
] | 4 | 2020-12-01T00:10:12.000Z | 2020-12-16T12:45:41.000Z | from app.auth.blueprints import * # noqa
from app.auth.models import * # noqa
| 26.666667 | 41 | 0.725 | 12 | 80 | 4.833333 | 0.583333 | 0.241379 | 0.37931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 80 | 2 | 42 | 40 | 0.878788 | 0.1125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 8 |
067886a061b9ae08fda00ccdb502e1875cab4bb8 | 20,537 | py | Python | clients/python/openapi_client/api/schema_api.py | Soluto/tweek-openapi-clients | feee32006743ea4bb815f2608bd95950439388c3 | [
"Apache-2.0"
] | null | null | null | clients/python/openapi_client/api/schema_api.py | Soluto/tweek-openapi-clients | feee32006743ea4bb815f2608bd95950439388c3 | [
"Apache-2.0"
] | null | null | null | clients/python/openapi_client/api/schema_api.py | Soluto/tweek-openapi-clients | feee32006743ea4bb815f2608bd95950439388c3 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Tweek
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
OpenAPI spec version: 0.1.0
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2... | 42.607884 | 145 | 0.635244 | 2,432 | 20,537 | 5.056743 | 0.064556 | 0.054643 | 0.086518 | 0.028623 | 0.945926 | 0.93812 | 0.931859 | 0.923727 | 0.912831 | 0.894454 | 0 | 0.016159 | 0.276817 | 20,537 | 481 | 146 | 42.696466 | 0.811877 | 0.299119 | 0 | 0.761719 | 1 | 0 | 0.211264 | 0.039537 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035156 | false | 0 | 0.015625 | 0 | 0.101563 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
2325aac1ee4d1ec9fb3983416b425abeb3fdb462 | 17,533 | py | Python | stores/apps/sell/migrations/0001_initial.py | diassor/CollectorCity-Market-Place | 892ad220b8cf1c0fc7433f625213fe61729522b2 | [
"Apache-2.0"
] | 135 | 2015-03-19T13:28:18.000Z | 2022-03-27T06:41:42.000Z | stores/apps/sell/migrations/0001_initial.py | dfcoding/CollectorCity-Market-Place | e59acec3d600c049323397b17cae14fdcaaaec07 | [
"Apache-2.0"
] | null | null | null | stores/apps/sell/migrations/0001_initial.py | dfcoding/CollectorCity-Market-Place | e59acec3d600c049323397b17cae14fdcaaaec07 | [
"Apache-2.0"
] | 83 | 2015-01-30T01:00:15.000Z | 2022-03-08T17:25:10.000Z | # encoding: utf-8
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'ShippingData'
db.create_table('sell_shippingdata', (
('id', self.gf('django.db... | 65.913534 | 192 | 0.579422 | 1,894 | 17,533 | 5.257128 | 0.078142 | 0.105253 | 0.182786 | 0.261123 | 0.788189 | 0.779452 | 0.775535 | 0.763081 | 0.732851 | 0.66285 | 0 | 0.007561 | 0.192893 | 17,533 | 265 | 193 | 66.162264 | 0.696064 | 0.027434 | 0 | 0.325792 | 0 | 0 | 0.522487 | 0.308537 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00905 | false | 0.004525 | 0.0181 | 0 | 0.040724 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
233f161e61d3849c21924a34c7bb16d8d2f37f9d | 1,312 | py | Python | pokepy/migrations/0001_initial.py | locolan/pokepy | bc77a4ef338b5575ae0e8245c0fb205016c6c11b | [
"MIT"
] | null | null | null | pokepy/migrations/0001_initial.py | locolan/pokepy | bc77a4ef338b5575ae0e8245c0fb205016c6c11b | [
"MIT"
] | null | null | null | pokepy/migrations/0001_initial.py | locolan/pokepy | bc77a4ef338b5575ae0e8245c0fb205016c6c11b | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
]
operations = [
migrations.CreateModel(
name='Abilities',
fields=[
('id', models.AutoField(ve... | 29.818182 | 114 | 0.53811 | 115 | 1,312 | 5.965217 | 0.295652 | 0.153061 | 0.182216 | 0.167638 | 0.721574 | 0.721574 | 0.721574 | 0.721574 | 0.721574 | 0.721574 | 0 | 0.00114 | 0.331555 | 1,312 | 43 | 115 | 30.511628 | 0.781072 | 0.016006 | 0 | 0.675676 | 0 | 0 | 0.043445 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.054054 | 0 | 0.135135 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
23663ff596c76d94042f411bd9c658d029a7637a | 897 | py | Python | dasilva3.py | yanapermana/metadecryptor | 7c3e11ddb8ae05c19dbebd8ed2c744ff86ceaa2f | [
"BSD-3-Clause"
] | 49 | 2015-07-03T21:21:45.000Z | 2022-03-31T04:04:42.000Z | dasilva3.py | hangetzzu/metadecryptor | 7c3e11ddb8ae05c19dbebd8ed2c744ff86ceaa2f | [
"BSD-3-Clause"
] | 3 | 2015-11-03T03:49:25.000Z | 2019-11-04T16:03:18.000Z | dasilva3.py | hangetzzu/metadecryptor | 7c3e11ddb8ae05c19dbebd8ed2c744ff86ceaa2f | [
"BSD-3-Clause"
] | 17 | 2015-07-05T15:24:18.000Z | 2022-01-17T22:33:26.000Z | from lib3 import *
def Nrev(N):
return int(str(N)[::-1])
def dasilva(N):
Nv = Nrev(N)
stop = False
r = 2
while stop == False:
if gcd(N, Nv+r) != 1:
return gcd(N, Nv+r), int(N/gcd(N, Nv+r))
stop = True
if gcd(N, 2*Nv+r) != 1:
return gcd(N, 2*Nv+r), int(N/gcd(N, 2*Nv+r))
stop = True
if gcd(N, Nv-... | 23 | 47 | 0.523969 | 204 | 897 | 2.264706 | 0.117647 | 0.207792 | 0.233766 | 0.272727 | 0.766234 | 0.766234 | 0.766234 | 0.766234 | 0.766234 | 0.766234 | 0 | 0.048246 | 0.237458 | 897 | 39 | 48 | 23 | 0.627193 | 0 | 0 | 0.222222 | 0 | 0 | 0.008909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.027778 | 0.027778 | 0.333333 | 0.027778 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
001abc3ce3867c4826d43d399caec6da5d81f923 | 71 | py | Python | principal.py | rodzampa/travis2 | 39488bdc49b0570280c3e4ba2e08a658e528ed0d | [
"Apache-2.0"
] | null | null | null | principal.py | rodzampa/travis2 | 39488bdc49b0570280c3e4ba2e08a658e528ed0d | [
"Apache-2.0"
] | null | null | null | principal.py | rodzampa/travis2 | 39488bdc49b0570280c3e4ba2e08a658e528ed0d | [
"Apache-2.0"
] | null | null | null | def mult (x,y):
return (x*y)
def div (x,y):
return (x/y)
| 10.142857 | 16 | 0.464789 | 14 | 71 | 2.357143 | 0.428571 | 0.242424 | 0.484848 | 0.545455 | 0.606061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.338028 | 71 | 7 | 17 | 10.142857 | 0.702128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
cc785922fb6466700bc1c2e7d486b7b2019ee03f | 990 | py | Python | 10_StatePattern/main.py | gama79530/DesignPattern | 707e20a1e379d59b6b41a5fe389935c8caa4b1b1 | [
"MIT"
] | null | null | null | 10_StatePattern/main.py | gama79530/DesignPattern | 707e20a1e379d59b6b41a5fe389935c8caa4b1b1 | [
"MIT"
] | null | null | null | 10_StatePattern/main.py | gama79530/DesignPattern | 707e20a1e379d59b6b41a5fe389935c8caa4b1b1 | [
"MIT"
] | null | null | null | import GumballMachine
if __name__ == "__main__":
gumball_machine = GumballMachine.GumballMachine(10)
print(str(gumball_machine))
gumball_machine.insertQuarter()
gumball_machine.turnCrank()
gumball_machine.insertQuarter()
gumball_machine.turnCrank()
print(str(gumball_machine))
... | 28.285714 | 55 | 0.748485 | 94 | 990 | 7.510638 | 0.12766 | 0.535411 | 0.382436 | 0.481586 | 0.895184 | 0.895184 | 0.895184 | 0.895184 | 0.895184 | 0.895184 | 0 | 0.002398 | 0.157576 | 990 | 35 | 56 | 28.285714 | 0.844125 | 0 | 0 | 0.896552 | 0 | 0 | 0.008073 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.034483 | 0 | 0.034483 | 0.206897 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
cc877ab81a6f101015432789ba34e7edd8723c15 | 8,653 | py | Python | tests/pauli/test_get_norder_paulis.py | BQSKit/qfast | 06df0c7439ae096af2d1fa3e97b44512618f5e4a | [
"BSD-3-Clause-LBNL"
] | 12 | 2020-09-23T17:43:17.000Z | 2022-01-17T18:23:11.000Z | tests/pauli/test_get_norder_paulis.py | edyounis/qfast | 06df0c7439ae096af2d1fa3e97b44512618f5e4a | [
"BSD-3-Clause-LBNL"
] | 3 | 2020-09-26T00:46:55.000Z | 2021-03-15T17:52:54.000Z | tests/pauli/test_get_norder_paulis.py | BQSKit/qfast | 06df0c7439ae096af2d1fa3e97b44512618f5e4a | [
"BSD-3-Clause-LBNL"
] | 2 | 2021-05-31T05:29:20.000Z | 2021-12-06T13:18:22.000Z | import numpy as np
import unittest as ut
from qfast.pauli import get_norder_paulis
class TestGetNorderPaulis ( ut.TestCase ):
def in_array( self, needle, haystack ):
for elem in haystack:
if np.allclose( elem, needle ):
return True
return False
def test_g... | 56.927632 | 81 | 0.571478 | 1,310 | 8,653 | 3.667939 | 0.038931 | 0.179813 | 0.318418 | 0.353798 | 0.9359 | 0.920291 | 0.920291 | 0.89948 | 0.89948 | 0.89948 | 0 | 0.016335 | 0.257136 | 8,653 | 151 | 82 | 57.304636 | 0.731176 | 0 | 0 | 0.179688 | 0 | 0 | 0.000925 | 0 | 0 | 0 | 0 | 0 | 0.703125 | 1 | 0.046875 | false | 0 | 0.023438 | 0 | 0.09375 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
cca496de0509b2adf33f6d4461cf81a0b607772c | 291,243 | py | Python | trait_browser/test_views.py | UW-GAC/pie | 89ae277f5ba1357580d78c3527f26200686308a6 | [
"MIT"
] | null | null | null | trait_browser/test_views.py | UW-GAC/pie | 89ae277f5ba1357580d78c3527f26200686308a6 | [
"MIT"
] | 3 | 2020-01-02T20:17:06.000Z | 2020-01-04T21:13:09.000Z | trait_browser/test_views.py | UW-GAC/pie | 89ae277f5ba1357580d78c3527f26200686308a6 | [
"MIT"
] | 1 | 2021-10-29T22:15:27.000Z | 2021-10-29T22:15:27.000Z | """Test the functions and classes for views.py."""
from copy import copy
from datetime import timedelta
from django.contrib.auth.models import Group
from django.urls import reverse
from django.utils import timezone
from core.utils import (DCCAnalystLoginTestCase, get_autocomplete_view_ids, LoginRequiredTestCase,
... | 52.732754 | 136 | 0.680706 | 36,142 | 291,243 | 5.248464 | 0.017902 | 0.018093 | 0.039949 | 0.043397 | 0.952549 | 0.94103 | 0.929949 | 0.92192 | 0.908983 | 0.897438 | 0 | 0.011941 | 0.217327 | 291,243 | 5,522 | 137 | 52.742304 | 0.820222 | 0.143873 | 0 | 0.845626 | 0 | 0 | 0.073073 | 0.019146 | 0 | 0 | 0 | 0 | 0.223168 | 1 | 0.119149 | false | 0 | 0.003546 | 0.010165 | 0.144681 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
aea2618328ba820b5710c03910e43364d9bca043 | 142 | py | Python | 8KYU/zero_fuel.py | yaznasivasai/python_codewars | 25493591dde4649dc9c1ec3bece8191a3bed6818 | [
"MIT"
] | 4 | 2021-07-17T22:48:03.000Z | 2022-03-25T14:10:58.000Z | 8KYU/zero_fuel.py | yaznasivasai/python_codewars | 25493591dde4649dc9c1ec3bece8191a3bed6818 | [
"MIT"
] | null | null | null | 8KYU/zero_fuel.py | yaznasivasai/python_codewars | 25493591dde4649dc9c1ec3bece8191a3bed6818 | [
"MIT"
] | 3 | 2021-06-14T14:18:16.000Z | 2022-03-16T06:02:02.000Z | def zero_fuel(distance_to_pump: int, mpg: int, fuel_left: int) -> bool:
return True if mpg * fuel_left >= distance_to_pump else False
| 47.333333 | 71 | 0.71831 | 24 | 142 | 3.958333 | 0.625 | 0.210526 | 0.294737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190141 | 142 | 3 | 72 | 47.333333 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
aea2e68a895b6b88ac224f57d79ffde84f87fe07 | 3,038 | py | Python | tests/create_suite.py | robertopreste/pypicsum | 6908245e4d451cbbbc627e9fdaa8b132a1ba1f55 | [
"MIT"
] | 2 | 2020-01-19T09:44:19.000Z | 2020-01-20T04:06:29.000Z | tests/create_suite.py | robertopreste/pypicsum | 6908245e4d451cbbbc627e9fdaa8b132a1ba1f55 | [
"MIT"
] | null | null | null | tests/create_suite.py | robertopreste/pypicsum | 6908245e4d451cbbbc627e9fdaa8b132a1ba1f55 | [
"MIT"
] | 1 | 2020-01-19T10:09:03.000Z | 2020-01-19T10:09:03.000Z | #!/usr/bin/env python
# -*- coding: UTF-8 -*-
# Created by Roberto Preste
import os
from pypicsum import Picsum
IMGDIR = os.path.join(os.path.dirname(os.path.realpath(__file__)), "imgs")
def create_img_500x500_id_3():
pic = Picsum(width=500, height=500, id_=3)
try:
pic.save(path=os.path.join(IMGDIR,... | 31.978947 | 78 | 0.684003 | 473 | 3,038 | 4.05074 | 0.109937 | 0.075157 | 0.114823 | 0.175365 | 0.913883 | 0.89405 | 0.82881 | 0.797495 | 0.73904 | 0.675887 | 0 | 0.119903 | 0.184661 | 3,038 | 94 | 79 | 32.319149 | 0.653613 | 0.022383 | 0 | 0.56338 | 0 | 0 | 0.176946 | 0.112235 | 0 | 0 | 0 | 0 | 0 | 1 | 0.112676 | false | 0 | 0.028169 | 0 | 0.239437 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.