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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f723fdf48d7b23a6b7b5b3707c12e799fe8951e0 | 45 | py | Python | sbody/alignment/mesh_distance/__init__.py | Rubikplayer/flame-fitting | db3d622547b83ab158dceb46a5d049781e6e6c3a | [
"AAL"
] | 394 | 2017-11-25T13:26:27.000Z | 2022-03-28T07:19:05.000Z | sbody/alignment/mesh_distance/__init__.py | Rubikplayer/flame-fitting | db3d622547b83ab158dceb46a5d049781e6e6c3a | [
"AAL"
] | 25 | 2017-11-30T04:26:32.000Z | 2022-03-10T10:27:54.000Z | sbody/alignment/mesh_distance/__init__.py | Rubikplayer/flame-fitting | db3d622547b83ab158dceb46a5d049781e6e6c3a | [
"AAL"
] | 84 | 2017-11-27T05:42:43.000Z | 2022-03-30T02:56:48.000Z | from sbody.alignment.mesh_distance import *
| 22.5 | 44 | 0.822222 | 6 | 45 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 45 | 1 | 45 | 45 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e3ca8a78712cc80b2727497c44278ede6f6822df | 35 | py | Python | livemark/plugins/resource/__init__.py | AyrtonB/livemark | f8c49d449ea6242c674cf345823468aaabea6e6b | [
"MIT"
] | 73 | 2021-06-07T13:28:36.000Z | 2022-03-26T05:37:59.000Z | livemark/plugins/resource/__init__.py | AyrtonB/livemark | f8c49d449ea6242c674cf345823468aaabea6e6b | [
"MIT"
] | 120 | 2021-06-04T12:51:01.000Z | 2022-03-21T11:11:36.000Z | livemark/plugins/resource/__init__.py | AyrtonB/livemark | f8c49d449ea6242c674cf345823468aaabea6e6b | [
"MIT"
] | 7 | 2021-09-22T11:38:26.000Z | 2022-03-26T05:35:58.000Z | from .plugin import ResourcePlugin
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e3fef7897ad2d816b8dc736290ec646048de6951 | 7,860 | py | Python | src/script/copy_.py | amiiiirrrr/TensorRT_keras_model | df2691b75a2de10e4d3db9d5e549f919fe7a8d86 | [
"Apache-2.0"
] | 1 | 2022-01-30T21:42:55.000Z | 2022-01-30T21:42:55.000Z | src/script/copy_.py | amiiiirrrr/TensorRT_keras_model | df2691b75a2de10e4d3db9d5e549f919fe7a8d86 | [
"Apache-2.0"
] | null | null | null | src/script/copy_.py | amiiiirrrr/TensorRT_keras_model | df2691b75a2de10e4d3db9d5e549f919fe7a8d86 | [
"Apache-2.0"
] | null | null | null | import os
# os.environ["CUDA_VISIBLE_DEVICES"]="-1" # コメントアウトを外すとGPUを無効化
os.environ["CUDA_DEVICE_ORDER"] = "PCI_BUS_ID"
os.environ["CUDA_VISIBLE_DEVICES"]="0" #GPU
###GeForce GTX 1660 config###
from tensorflow.compat.v1 import ConfigProto
from tensorflow.compat.v1 import InteractiveSession
config = ConfigProt... | 40.307692 | 147 | 0.720611 | 1,050 | 7,860 | 5.073333 | 0.206667 | 0.043176 | 0.014642 | 0.013516 | 0.818096 | 0.794443 | 0.784682 | 0.784682 | 0.784682 | 0.784682 | 0 | 0.025861 | 0.1243 | 7,860 | 194 | 148 | 40.515464 | 0.748075 | 0.34542 | 0 | 0.485437 | 0 | 0.009709 | 0.138284 | 0.075544 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019417 | false | 0 | 0.174757 | 0 | 0.194175 | 0.106796 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
581601561d0c771280f810b08605de1dd1c74e30 | 58 | py | Python | test.py | machineandme/postblog | 5d9b547916eece4eb03438d709cdbb3c55562376 | [
"MIT"
] | 1 | 2019-12-29T00:12:22.000Z | 2019-12-29T00:12:22.000Z | test.py | machineandme/postblog | 5d9b547916eece4eb03438d709cdbb3c55562376 | [
"MIT"
] | null | null | null | test.py | machineandme/postblog | 5d9b547916eece4eb03438d709cdbb3c55562376 | [
"MIT"
] | null | null | null | from subprocess import Popen, PIPE
def test():
pass
| 9.666667 | 34 | 0.689655 | 8 | 58 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241379 | 58 | 5 | 35 | 11.6 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
584415df99a5d8b3826364751799f716b1201314 | 16,299 | py | Python | mux_python/api/video_views_api.py | moaazsidat/mux-python | 3f03b9dd0761fa1a0cd5bdbeac85ccf4f326508c | [
"MIT"
] | 36 | 2019-02-28T21:18:39.000Z | 2022-03-04T19:58:45.000Z | mux_python/api/video_views_api.py | moaazsidat/mux-python | 3f03b9dd0761fa1a0cd5bdbeac85ccf4f326508c | [
"MIT"
] | 7 | 2019-04-01T14:48:34.000Z | 2022-03-04T16:31:34.000Z | mux_python/api/video_views_api.py | moaazsidat/mux-python | 3f03b9dd0761fa1a0cd5bdbeac85ccf4f326508c | [
"MIT"
] | 9 | 2019-11-29T03:57:58.000Z | 2022-03-02T17:29:25.000Z | # coding: utf-8
"""
Mux API
Mux is how developers build online video. This API encompasses both Mux Video and Mux Data functionality to help you build your video-related projects better and faster than ever before. # noqa: E501
The version of the OpenAPI document: v1
Contact: devex@mux.com
Gener... | 46.702006 | 311 | 0.61648 | 1,973 | 16,299 | 4.868221 | 0.131272 | 0.039146 | 0.062676 | 0.022488 | 0.83748 | 0.825612 | 0.803332 | 0.803332 | 0.760541 | 0.740864 | 0 | 0.016961 | 0.309099 | 16,299 | 348 | 312 | 46.836207 | 0.835983 | 0.52537 | 0 | 0.554054 | 0 | 0 | 0.17256 | 0.02871 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033784 | false | 0 | 0.033784 | 0 | 0.101351 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
586a2d4e2ef3f26f2ac1a2db369bad1208771010 | 2,274 | py | Python | vendor/zebra/migrations/0001_initial.py | louis-pre/NewsBlur | b4e9a56041ff187ef77b38dfd0778daf41b53f4f | [
"MIT"
] | 3,073 | 2015-01-01T07:20:18.000Z | 2022-03-31T20:33:41.000Z | vendor/zebra/migrations/0001_initial.py | louis-pre/NewsBlur | b4e9a56041ff187ef77b38dfd0778daf41b53f4f | [
"MIT"
] | 1,054 | 2015-01-02T13:32:35.000Z | 2022-03-30T04:21:21.000Z | vendor/zebra/migrations/0001_initial.py | louis-pre/NewsBlur | b4e9a56041ff187ef77b38dfd0778daf41b53f4f | [
"MIT"
] | 676 | 2015-01-03T16:40:29.000Z | 2022-03-30T14:00:40.000Z | # Generated by Django 2.0 on 2020-06-17 07:02
from django.db import migrations, models
import django.db.models.deletion
import zebra.mixins
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Customer',
... | 39.894737 | 114 | 0.583113 | 221 | 2,274 | 5.855204 | 0.289593 | 0.059505 | 0.106646 | 0.120556 | 0.714065 | 0.714065 | 0.714065 | 0.714065 | 0.714065 | 0.714065 | 0 | 0.011104 | 0.287159 | 2,274 | 56 | 115 | 40.607143 | 0.787168 | 0.018909 | 0 | 0.55102 | 1 | 0 | 0.091072 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.061224 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5872bd4b30903889f9d283cc1a216940fdde3977 | 160 | py | Python | Binomial/distributions/__init__.py | EliasPapachristos/AWS_ML_Foundations_Course-Udacity | 7e99c33908ca5ac60b220dd989cb44d88d013af4 | [
"Apache-2.0"
] | null | null | null | Binomial/distributions/__init__.py | EliasPapachristos/AWS_ML_Foundations_Course-Udacity | 7e99c33908ca5ac60b220dd989cb44d88d013af4 | [
"Apache-2.0"
] | null | null | null | Binomial/distributions/__init__.py | EliasPapachristos/AWS_ML_Foundations_Course-Udacity | 7e99c33908ca5ac60b220dd989cb44d88d013af4 | [
"Apache-2.0"
] | null | null | null | from .Gaussiandistribution import Gaussian
# TODO: import the Binomial class from the Binomialdistribution module
from .Binomialdistribution import Binomial | 40 | 71 | 0.84375 | 17 | 160 | 7.941176 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13125 | 160 | 4 | 72 | 40 | 0.971223 | 0.425 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5882b7a4a33daab6ee5baa80e7a5b2dcc7d1d3bd | 164 | py | Python | orders/admin.py | mathase/peachpayments | 81a7f6bc71d4e72c7ba0ae1d8f34cf76acac4f4b | [
"MIT"
] | null | null | null | orders/admin.py | mathase/peachpayments | 81a7f6bc71d4e72c7ba0ae1d8f34cf76acac4f4b | [
"MIT"
] | 3 | 2020-02-12T02:57:26.000Z | 2021-06-10T21:40:11.000Z | orders/admin.py | mathase/peachpayments | 81a7f6bc71d4e72c7ba0ae1d8f34cf76acac4f4b | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Order
# Register your models here.
class Admin(admin.ModelAdmin):
pass
admin.site.register(Order, Admin)
| 18.222222 | 33 | 0.77439 | 23 | 164 | 5.521739 | 0.608696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 164 | 8 | 34 | 20.5 | 0.907143 | 0.158537 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
58a8a3005bd54298ae8541e99fcd9fabd2ab100d | 190 | py | Python | tests/test_logging.py | mzpqnxow/logging-extras | 014bce99000f5716317a054169a3c1f51fc0b77a | [
"MIT"
] | 5 | 2021-05-29T11:04:33.000Z | 2021-12-20T07:09:23.000Z | tests/test_logging.py | mzpqnxow/logging-extras | 014bce99000f5716317a054169a3c1f51fc0b77a | [
"MIT"
] | 19 | 2021-06-05T23:12:54.000Z | 2022-01-31T17:53:39.000Z | tests/test_logging.py | mzpqnxow/logging-extras | 014bce99000f5716317a054169a3c1f51fc0b77a | [
"MIT"
] | 3 | 2021-08-08T18:30:55.000Z | 2021-09-11T13:02:58.000Z | # -*- coding: utf-8 -*-
import pytest
import logging_
def test_version():
"""Test fails if version string for package could not be fetched"""
assert len(logging_.__version__) > 0
| 19 | 71 | 0.689474 | 26 | 190 | 4.769231 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013072 | 0.194737 | 190 | 9 | 72 | 21.111111 | 0.797386 | 0.442105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5433be6e510e1c61b3323f33f28fcd6a7dbf44e9 | 12,686 | py | Python | cs-config/cs_config/outputs.py | MaxGhenis/Tax-Cruncher | c06fd06ec4d17cc2795f97a6ff088fcd220d3498 | [
"MIT"
] | 1 | 2019-10-15T04:07:56.000Z | 2019-10-15T04:07:56.000Z | cs-config/cs_config/outputs.py | MaxGhenis/Tax-Cruncher | c06fd06ec4d17cc2795f97a6ff088fcd220d3498 | [
"MIT"
] | null | null | null | cs-config/cs_config/outputs.py | MaxGhenis/Tax-Cruncher | c06fd06ec4d17cc2795f97a6ff088fcd220d3498 | [
"MIT"
] | 1 | 2020-01-03T02:39:54.000Z | 2020-01-03T02:39:54.000Z | from bokeh.embed import components
from bokeh.layouts import column, row, WidgetBox, layout
from bokeh.palettes import Spectral4
from bokeh.plotting import figure
from bokeh.models import ColumnDataSource, CustomJS, Toggle, NumeralTickFormatter, LinearAxis, Range1d, Span, Label
def liability_plot(df_base, df_reform, ... | 51.153226 | 139 | 0.646145 | 1,653 | 12,686 | 4.712644 | 0.095584 | 0.033504 | 0.020539 | 0.030809 | 0.853787 | 0.848652 | 0.838768 | 0.817202 | 0.79371 | 0.783825 | 0 | 0.032777 | 0.220795 | 12,686 | 248 | 140 | 51.153226 | 0.755286 | 0 | 0 | 0.470874 | 0 | 0 | 0.195082 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014563 | false | 0 | 0.024272 | 0 | 0.053398 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
544f1542078eb68ede64361cc4d1c154d472c804 | 10,778 | py | Python | client_mining_p/blockchain.py | juliethrallstewart/Blockchain | 3943e069f10faa54f468fc81772979b778d26a6d | [
"MIT"
] | null | null | null | client_mining_p/blockchain.py | juliethrallstewart/Blockchain | 3943e069f10faa54f468fc81772979b778d26a6d | [
"MIT"
] | null | null | null | client_mining_p/blockchain.py | juliethrallstewart/Blockchain | 3943e069f10faa54f468fc81772979b778d26a6d | [
"MIT"
] | null | null | null | import hashlib
import json
from time import time
from uuid import uuid4
from flask import Flask, jsonify, request
from werkzeug.exceptions import BadRequest
class Blockchain(object):
def __init__(self):
self.chain = []
self.current_transactions = []
self.new_block(previous_hash=1, proof... | 28.664894 | 128 | 0.595843 | 1,259 | 10,778 | 4.968229 | 0.126291 | 0.046043 | 0.053717 | 0.038369 | 0.984492 | 0.984492 | 0.984492 | 0.984492 | 0.970424 | 0.970424 | 0 | 0.015578 | 0.285303 | 10,778 | 375 | 129 | 28.741333 | 0.796443 | 0.604194 | 0 | 0.186275 | 0 | 0 | 0.105066 | 0.005241 | 0 | 0 | 0 | 0.005333 | 0 | 1 | 0.098039 | false | 0 | 0.058824 | 0.009804 | 0.284314 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5475b929caa9b70985f372187d0566fea44a65ce | 199 | py | Python | habits/__init__.py | glenwinters/habits | 870a24c22e0fb3bd089ae14ad706452b9abee2bb | [
"MIT"
] | null | null | null | habits/__init__.py | glenwinters/habits | 870a24c22e0fb3bd089ae14ad706452b9abee2bb | [
"MIT"
] | 12 | 2018-03-11T05:56:59.000Z | 2018-03-17T14:27:50.000Z | habits/__init__.py | glenwinters/habits | 870a24c22e0fb3bd089ae14ad706452b9abee2bb | [
"MIT"
] | null | null | null | from habits.person import Person
from habits.event import SleepEvent, FoodEvent
from habits.exceptions import ScoreError, GoalError
from habits.goal import SleepHoursGoal, WakeTimeGoal, CaloriesGoal
| 39.8 | 66 | 0.859296 | 24 | 199 | 7.125 | 0.583333 | 0.233918 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100503 | 199 | 4 | 67 | 49.75 | 0.955307 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
549c843334e0b286ee9feb09f1f890607bbf8af9 | 208 | py | Python | src/boogie/functions.py | pencil-labs/django-boogie | 79b759617785ce33a24cb6013266a0810b24801c | [
"BSD-3-Clause"
] | null | null | null | src/boogie/functions.py | pencil-labs/django-boogie | 79b759617785ce33a24cb6013266a0810b24801c | [
"BSD-3-Clause"
] | null | null | null | src/boogie/functions.py | pencil-labs/django-boogie | 79b759617785ce33a24cb6013266a0810b24801c | [
"BSD-3-Clause"
] | 2 | 2021-09-16T22:11:35.000Z | 2021-09-25T12:28:27.000Z | from django.conf import settings
def get_config(key, default=None):
"""
Get settings from django.conf if exists or return default value otherwise.
"""
return getattr(settings, key, default)
| 23.111111 | 78 | 0.711538 | 28 | 208 | 5.25 | 0.642857 | 0.136054 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201923 | 208 | 8 | 79 | 26 | 0.885542 | 0.355769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
49ad734452d22545e6150a9581c9c28f3294fb64 | 96 | py | Python | weigh_in/wsgi.py | bq1990/weigh-in | 3d782c26fb64b9301049ff25be61d6d53a52d29c | [
"MIT"
] | null | null | null | weigh_in/wsgi.py | bq1990/weigh-in | 3d782c26fb64b9301049ff25be61d6d53a52d29c | [
"MIT"
] | null | null | null | weigh_in/wsgi.py | bq1990/weigh-in | 3d782c26fb64b9301049ff25be61d6d53a52d29c | [
"MIT"
] | null | null | null | from weigh_in import app
from weigh_in.settings import prod
application = app.create_app(prod) | 19.2 | 34 | 0.822917 | 16 | 96 | 4.75 | 0.5625 | 0.236842 | 0.289474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 96 | 5 | 35 | 19.2 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b727f895eadcb74da7eeaf30ababa4d7c0c9e02d | 36,349 | py | Python | posthog/api/test/test_insight_funnels.py | msnitish/posthog | cb86113f568e72eedcb64b5fd00c313d21e72f90 | [
"MIT"
] | null | null | null | posthog/api/test/test_insight_funnels.py | msnitish/posthog | cb86113f568e72eedcb64b5fd00c313d21e72f90 | [
"MIT"
] | null | null | null | posthog/api/test/test_insight_funnels.py | msnitish/posthog | cb86113f568e72eedcb64b5fd00c313d21e72f90 | [
"MIT"
] | null | null | null | from datetime import datetime
from typing import Any, Dict, List, Union
from django.test.client import Client
from rest_framework import status
from ee.clickhouse.test.test_journeys import journeys_for
from ee.clickhouse.util import ClickhouseTestMixin, snapshot_clickhouse_queries
from posthog.test.base import APIBas... | 42.763529 | 152 | 0.481031 | 3,561 | 36,349 | 4.775344 | 0.073013 | 0.063511 | 0.061747 | 0.036225 | 0.861217 | 0.843634 | 0.821876 | 0.782358 | 0.748427 | 0.720318 | 0 | 0.057304 | 0.34708 | 36,349 | 849 | 153 | 42.813899 | 0.659209 | 0.040166 | 0 | 0.651762 | 0 | 0.001355 | 0.265699 | 0.025904 | 0 | 0 | 0 | 0 | 0.113821 | 1 | 0.028455 | false | 0 | 0.009485 | 0.004065 | 0.044715 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b73f08d0d699a2d35fbe726b34c2eb684a526a01 | 24,527 | py | Python | blueprints/api.py | itekiosu/gulag-web | b65734c1294abd356db4a5372067e2dfe0fc6211 | [
"MIT"
] | 2 | 2021-04-30T10:22:37.000Z | 2021-05-08T14:24:39.000Z | blueprints/api.py | itekiosu/gulag-web | b65734c1294abd356db4a5372067e2dfe0fc6211 | [
"MIT"
] | 3 | 2021-04-24T18:54:06.000Z | 2021-08-05T19:05:24.000Z | blueprints/api.py | itekiosu/gulag-web | b65734c1294abd356db4a5372067e2dfe0fc6211 | [
"MIT"
] | 7 | 2021-03-19T21:21:26.000Z | 2022-02-05T12:44:51.000Z |
# -*- coding: utf-8 -*-
import orjson
import re
from quart import Blueprint, request, Response
from cmyui import log, Ansi
from enum import IntEnum
from datetime import datetime
import timeago
import time
import bbcode
from objects import glob
from objects.utils import convert_mode_int, get_safe_name
__all__ = ()
... | 33.970914 | 214 | 0.617279 | 3,638 | 24,527 | 3.975811 | 0.058824 | 0.04487 | 0.048396 | 0.012583 | 0.787887 | 0.737555 | 0.731471 | 0.725664 | 0.724972 | 0.71156 | 0 | 0.007396 | 0.239287 | 24,527 | 721 | 215 | 34.018031 | 0.767821 | 0.066457 | 0 | 0.705285 | 0 | 0.034553 | 0.410812 | 0.072833 | 0 | 0 | 0 | 0.001387 | 0 | 1 | 0 | false | 0 | 0.022358 | 0 | 0.126016 | 0.004065 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3fbfcf42227c967c0f6226052312bbf49a0211ed | 29 | py | Python | sample_api/__init__.py | Drachenfels/carp-api-sample-project | 04a041c49744bc203e130a9a726479a44a47ed94 | [
"MIT"
] | null | null | null | sample_api/__init__.py | Drachenfels/carp-api-sample-project | 04a041c49744bc203e130a9a726479a44a47ed94 | [
"MIT"
] | null | null | null | sample_api/__init__.py | Drachenfels/carp-api-sample-project | 04a041c49744bc203e130a9a726479a44a47ed94 | [
"MIT"
] | null | null | null | from . import schema # NOQA
| 14.5 | 28 | 0.689655 | 4 | 29 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241379 | 29 | 1 | 29 | 29 | 0.909091 | 0.137931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3ff4eed8db6bb8091b5c8bd9b3c556b0d00b646f | 6,347 | py | Python | inventory/migrations/0001_initial.py | gldecurtins/objector | 49b28224e31741a65e36c0f256c94f9ccd498418 | [
"MIT"
] | null | null | null | inventory/migrations/0001_initial.py | gldecurtins/objector | 49b28224e31741a65e36c0f256c94f9ccd498418 | [
"MIT"
] | 35 | 2022-01-25T02:22:08.000Z | 2022-03-31T02:28:27.000Z | inventory/migrations/0001_initial.py | gldecurtins/objector | 49b28224e31741a65e36c0f256c94f9ccd498418 | [
"MIT"
] | null | null | null | # Generated by Django 4.0.3 on 2022-05-02 14:26
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import inventory.models
import rules.contrib.models
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_... | 72.125 | 286 | 0.650859 | 701 | 6,347 | 5.696148 | 0.164051 | 0.110193 | 0.052592 | 0.049587 | 0.796394 | 0.788129 | 0.763837 | 0.758327 | 0.736289 | 0.700225 | 0 | 0.0109 | 0.204979 | 6,347 | 87 | 287 | 72.954023 | 0.78042 | 0.00709 | 0 | 0.5125 | 1 | 0 | 0.219524 | 0.024762 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.0625 | 0 | 0.1125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b74a7f3254d20088a344903b044f1d8d3118d80d | 18 | py | Python | simulation/device/simulated/pv/__init__.py | LBNL-ETA/LPDM | 3384a784b97e49cd7a801b758717a7107a51119f | [
"BSD-3-Clause-LBNL"
] | 2 | 2019-01-05T02:33:38.000Z | 2020-04-22T16:57:50.000Z | simulation/device/simulated/pv/__init__.py | LBNL-ETA/LPDM | 3384a784b97e49cd7a801b758717a7107a51119f | [
"BSD-3-Clause-LBNL"
] | 3 | 2019-04-17T18:13:08.000Z | 2021-04-23T22:40:23.000Z | simulation/device/simulated/pv/__init__.py | LBNL-ETA/LPDM | 3384a784b97e49cd7a801b758717a7107a51119f | [
"BSD-3-Clause-LBNL"
] | 1 | 2019-01-31T08:37:44.000Z | 2019-01-31T08:37:44.000Z | from pv import Pv
| 9 | 17 | 0.777778 | 4 | 18 | 3.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 18 | 1 | 18 | 18 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b751eeaa90806db350e99a886702d68db7c96edf | 48 | py | Python | seq2seq_construction/web_nlg.py | HKUNLP/UnifiedSKG | 49a2ff950bb312b980c22ad72b11520db72ab6a3 | [
"Apache-2.0"
] | 191 | 2021-12-14T11:33:09.000Z | 2022-03-31T09:20:41.000Z | seq2seq_construction/web_nlg.py | HKUNLP/UnifiedSKG | 49a2ff950bb312b980c22ad72b11520db72ab6a3 | [
"Apache-2.0"
] | 7 | 2022-01-20T05:41:51.000Z | 2022-03-20T06:43:22.000Z | seq2seq_construction/web_nlg.py | HKUNLP/UnifiedSKG | 49a2ff950bb312b980c22ad72b11520db72ab6a3 | [
"Apache-2.0"
] | 22 | 2021-12-14T12:59:42.000Z | 2022-03-29T03:45:51.000Z | # TODO: wait to add the raw -> seq2seq version.
| 24 | 47 | 0.6875 | 8 | 48 | 4.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.208333 | 48 | 1 | 48 | 48 | 0.842105 | 0.9375 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b7f38b27b895f025985886a03a93d89b3da326a7 | 49 | py | Python | tools/__init__.py | philrosenfield/ResolvedStellarPops | ab24083ae5080545165ccf7589d5a22c7989ce75 | [
"BSD-3-Clause"
] | null | null | null | tools/__init__.py | philrosenfield/ResolvedStellarPops | ab24083ae5080545165ccf7589d5a22c7989ce75 | [
"BSD-3-Clause"
] | null | null | null | tools/__init__.py | philrosenfield/ResolvedStellarPops | ab24083ae5080545165ccf7589d5a22c7989ce75 | [
"BSD-3-Clause"
] | null | null | null | from .astrotools import *
from .helpers import *
| 16.333333 | 25 | 0.755102 | 6 | 49 | 6.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 49 | 2 | 26 | 24.5 | 0.902439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4d2b368bb9ddfe582076b9bd1db1b2492cdb2e6e | 1,314 | py | Python | 02-swiss-army-knife/02-matplotlib/05_block_pcolor.py | jameszhan/notes-ml | c633d04e5443eab71bc3b27fff89d57b89d1786c | [
"Apache-2.0"
] | null | null | null | 02-swiss-army-knife/02-matplotlib/05_block_pcolor.py | jameszhan/notes-ml | c633d04e5443eab71bc3b27fff89d57b89d1786c | [
"Apache-2.0"
] | null | null | null | 02-swiss-army-knife/02-matplotlib/05_block_pcolor.py | jameszhan/notes-ml | c633d04e5443eab71bc3b27fff89d57b89d1786c | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import numpy as np
import matplotlib.pyplot as plt
# x = np.arange(5)
# y = np.arange(3)
# X, Y = np.meshgrid(x, y)
# print("X = {0}\nY = {1}".format(X, Y))
#
# C = np.random.randn(len(x), len(y))
# print("C = {0}".format(C))
#
# plt.subplot(2, 2, 1)
# plt.pcolor(X, Y, C.T)
#
# plt.subplot(2, 2... | 21.9 | 40 | 0.544901 | 281 | 1,314 | 2.548043 | 0.120996 | 0.053073 | 0.03771 | 0.134078 | 0.927374 | 0.927374 | 0.927374 | 0.927374 | 0.811453 | 0.811453 | 0 | 0.067952 | 0.171233 | 1,314 | 60 | 41 | 21.9 | 0.589532 | 0.592846 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4d325dafe70972391bfd4b3dcdef9fa8d0541f76 | 934 | py | Python | insaatWeb/include.py | Mustafaseyhanhh/django-insaatdb | b74c02a327313db465f02842e19316d623d24681 | [
"Apache-2.0"
] | null | null | null | insaatWeb/include.py | Mustafaseyhanhh/django-insaatdb | b74c02a327313db465f02842e19316d623d24681 | [
"Apache-2.0"
] | null | null | null | insaatWeb/include.py | Mustafaseyhanhh/django-insaatdb | b74c02a327313db465f02842e19316d623d24681 | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
from . import models
from django.http import HttpResponse,HttpResponseRedirect
from django.shortcuts import render
from django.contrib import messages
from datetime import datetime,date
import random
from insaatWeb.models import Projeler
from insaatWeb.views_ek.login_view import *
fr... | 37.36 | 57 | 0.852248 | 134 | 934 | 5.731343 | 0.246269 | 0.253906 | 0.328125 | 0.364583 | 0.598958 | 0.598958 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094218 | 934 | 24 | 58 | 38.916667 | 0.907801 | 0 | 0 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4d3e6a5fe235a1658d0fa4a576ce7f21d768aee5 | 9,335 | py | Python | pysal/weights/tests/test_spintW.py | cubensys/pysal | 8d50990f6e6603ba79ae1a887a20a1e3a0734e51 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | pysal/weights/tests/test_spintW.py | cubensys/pysal | 8d50990f6e6603ba79ae1a887a20a1e3a0734e51 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | pysal/weights/tests/test_spintW.py | cubensys/pysal | 8d50990f6e6603ba79ae1a887a20a1e3a0734e51 | [
"MIT",
"BSD-3-Clause"
] | 1 | 2021-07-19T01:46:17.000Z | 2021-07-19T01:46:17.000Z | import unittest
import pysal
import numpy as np
from pysal.weights.spintW import ODW, netW, mat2L, vecW
class TestODWeights(unittest.TestCase):
def setUp(self):
self.O = pysal.weights.lat2W(2,2)
self.D = pysal.weights.lat2W(2,2)
self.ODW = np.array(
[[ 0. , 0. , 0. , ... | 53.649425 | 80 | 0.263524 | 1,416 | 9,335 | 1.704096 | 0.051554 | 0.458351 | 0.542064 | 0.570245 | 0.66639 | 0.540821 | 0.476171 | 0.476171 | 0.464981 | 0.445089 | 0 | 0.251686 | 0.459882 | 9,335 | 173 | 81 | 53.959538 | 0.226894 | 0 | 0 | 0.293333 | 0 | 0 | 0.003214 | 0 | 0 | 0 | 0 | 0 | 0.053333 | 1 | 0.073333 | false | 0 | 0.026667 | 0 | 0.12 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4d509362d6eef4db524b953fb15b2e5165362595 | 928 | py | Python | temboo/core/Library/Twitter/Tweets/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/Twitter/Tweets/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/Twitter/Tweets/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | from temboo.Library.Twitter.Tweets.GetRetweeters import GetRetweeters, GetRetweetersInputSet, GetRetweetersResultSet, GetRetweetersChoreographyExecution
from temboo.Library.Twitter.Tweets.GetRetweets import GetRetweets, GetRetweetsInputSet, GetRetweetsResultSet, GetRetweetsChoreographyExecution
from temboo.Library.Twit... | 132.571429 | 162 | 0.909483 | 66 | 928 | 12.787879 | 0.454545 | 0.07109 | 0.120853 | 0.170616 | 0.21327 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045259 | 928 | 6 | 163 | 154.666667 | 0.952596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 6 |
4d5d06aed3524257d779e5c12fd2203e8f07f854 | 285 | py | Python | stable_baselines/aim_td3/__init__.py | iDurugkar/adversarial-intrinsic-motivation | e0ece991fe9b8278596c0ad9c68ccfc98a71e1e2 | [
"MIT"
] | 2 | 2022-03-11T15:26:00.000Z | 2022-03-15T12:20:57.000Z | stable_baselines/aim_td3/__init__.py | iDurugkar/adversarial-intrinsic-motivation | e0ece991fe9b8278596c0ad9c68ccfc98a71e1e2 | [
"MIT"
] | null | null | null | stable_baselines/aim_td3/__init__.py | iDurugkar/adversarial-intrinsic-motivation | e0ece991fe9b8278596c0ad9c68ccfc98a71e1e2 | [
"MIT"
] | null | null | null | from stable_baselines.common.noise import NormalActionNoise, OrnsteinUhlenbeckActionNoise
from stable_baselines.aim_td3.td3 import AIMTD3
from stable_baselines.aim_td3.gail_td3 import GAILTD3
from stable_baselines.aim_td3.policies import MlpPolicy, CnnPolicy, LnMlpPolicy, LnCnnPolicy
| 57 | 92 | 0.887719 | 36 | 285 | 6.805556 | 0.5 | 0.163265 | 0.310204 | 0.269388 | 0.306122 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026415 | 0.070175 | 285 | 4 | 93 | 71.25 | 0.898113 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4dd0782887354aa01efa9c73a2e279c0c5af45ee | 101 | py | Python | src/generate_new_site/__init__.py | aychen99/Excavating-Occaneechi-Town | 6e864ca69ff1881554eb4c88aebed236bafbeaf4 | [
"MIT"
] | 1 | 2020-10-01T01:07:11.000Z | 2020-10-01T01:07:11.000Z | src/generate_new_site/__init__.py | aychen99/Excavating-Occaneechi-Town | 6e864ca69ff1881554eb4c88aebed236bafbeaf4 | [
"MIT"
] | null | null | null | src/generate_new_site/__init__.py | aychen99/Excavating-Occaneechi-Town | 6e864ca69ff1881554eb4c88aebed236bafbeaf4 | [
"MIT"
] | null | null | null | __all__ = ['site_data_structs', 'utilities']
from . import site_data_structs
from . import utilities
| 25.25 | 44 | 0.782178 | 13 | 101 | 5.461538 | 0.538462 | 0.225352 | 0.422535 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118812 | 101 | 3 | 45 | 33.666667 | 0.797753 | 0 | 0 | 0 | 0 | 0 | 0.257426 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
150fe9739df08be3177f16ff4479216ac3f87a96 | 16,480 | py | Python | python/cog_test.py | bencevans/cog | f9f59f02f05d7213f1a571eae2c6ad4ef9b189ca | [
"Apache-2.0"
] | null | null | null | python/cog_test.py | bencevans/cog | f9f59f02f05d7213f1a571eae2c6ad4ef9b189ca | [
"Apache-2.0"
] | null | null | null | python/cog_test.py | bencevans/cog | f9f59f02f05d7213f1a571eae2c6ad4ef9b189ca | [
"Apache-2.0"
] | null | null | null | # pytest cog_test.py
import time
import shutil
import tempfile
import io
import os
from pathlib import Path
import pytest
from flask.testing import FlaskClient
import numpy as np
from PIL import Image
import cog
from cog.server.http import HTTPServer
def make_client(version) -> FlaskClient:
app = HTTPServer(ve... | 29.116608 | 94 | 0.561468 | 2,043 | 16,480 | 4.435144 | 0.098874 | 0.071736 | 0.063569 | 0.079461 | 0.825406 | 0.810175 | 0.783688 | 0.760291 | 0.7295 | 0.709414 | 0 | 0.025472 | 0.292476 | 16,480 | 565 | 95 | 29.168142 | 0.75163 | 0.012318 | 0 | 0.650113 | 0 | 0 | 0.091261 | 0 | 0 | 0 | 0 | 0 | 0.158014 | 1 | 0.198646 | false | 0.027088 | 0.027088 | 0.027088 | 0.363431 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
151db00082ad53b128b5adc06f46d9fe6fcb45a2 | 117 | py | Python | tracemoe/sync_tracemoe/__init__.py | Chrovo/tracemoe.py | 8800f57019b1a8dc5e72fb69d4facebf2763a9a5 | [
"MIT"
] | null | null | null | tracemoe/sync_tracemoe/__init__.py | Chrovo/tracemoe.py | 8800f57019b1a8dc5e72fb69d4facebf2763a9a5 | [
"MIT"
] | null | null | null | tracemoe/sync_tracemoe/__init__.py | Chrovo/tracemoe.py | 8800f57019b1a8dc5e72fb69d4facebf2763a9a5 | [
"MIT"
] | null | null | null | from .tracemoe_s import TraceMoe
from .tracemoe_response import TraceMoeResponse
from .sync_tracemoe_errors import *
| 29.25 | 47 | 0.863248 | 15 | 117 | 6.466667 | 0.533333 | 0.247423 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 117 | 3 | 48 | 39 | 0.92381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
127587d1808d2a45b60d494470167b1f14f0c510 | 29 | py | Python | unified_social_api/__init__.py | kanishkarj/unified-social-api | 85bfd566d18087d0a526288bd297059b1e3dcb74 | [
"MIT"
] | null | null | null | unified_social_api/__init__.py | kanishkarj/unified-social-api | 85bfd566d18087d0a526288bd297059b1e3dcb74 | [
"MIT"
] | null | null | null | unified_social_api/__init__.py | kanishkarj/unified-social-api | 85bfd566d18087d0a526288bd297059b1e3dcb74 | [
"MIT"
] | null | null | null | from .main import get_object
| 14.5 | 28 | 0.827586 | 5 | 29 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
12bd103cace423d688cac0cd7e352a659a1e6090 | 295 | py | Python | Ganglia/RestartGan.py | VibhaBelavadi/Cloud-Computing | de13bddb20c7587488ebc5b49559eebbf2abd92c | [
"MIT"
] | 1 | 2020-07-21T21:07:25.000Z | 2020-07-21T21:07:25.000Z | Ganglia/RestartGan.py | VibhaBelavadi/Cloud-Computing | de13bddb20c7587488ebc5b49559eebbf2abd92c | [
"MIT"
] | null | null | null | Ganglia/RestartGan.py | VibhaBelavadi/Cloud-Computing | de13bddb20c7587488ebc5b49559eebbf2abd92c | [
"MIT"
] | null | null | null | #!/usr/bin/python
import sys
import subprocess
if __name__ == '__main__':
subprocess.check_call("sh /home/node4_a1/Ganglia/RestartGan.sh /home/node4_a1/hostInfo.txt", shell=True)
subprocess.check_call("sh /home/node4_a1/Ganglia/RestartGan.sh /home/node4_a1/Ganglia/VmInfo.txt", shell=True)
| 29.5 | 111 | 0.779661 | 45 | 295 | 4.8 | 0.488889 | 0.111111 | 0.203704 | 0.240741 | 0.606481 | 0.574074 | 0.574074 | 0.574074 | 0.574074 | 0.574074 | 0 | 0.029304 | 0.074576 | 295 | 9 | 112 | 32.777778 | 0.761905 | 0.054237 | 0 | 0 | 0 | 0.2 | 0.532374 | 0.47482 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
12e302afb335dce547616cd76de064ca0a939ea3 | 550 | py | Python | scripts/ppi-benchmark/Experiments/APG/apgconfig.py | AmmarQaseem/CPI-Pipeline-test | 3866883c54d7bd77753ee4b72997949bdcf76359 | [
"PostgreSQL",
"ISC",
"Intel"
] | null | null | null | scripts/ppi-benchmark/Experiments/APG/apgconfig.py | AmmarQaseem/CPI-Pipeline-test | 3866883c54d7bd77753ee4b72997949bdcf76359 | [
"PostgreSQL",
"ISC",
"Intel"
] | null | null | null | scripts/ppi-benchmark/Experiments/APG/apgconfig.py | AmmarQaseem/CPI-Pipeline-test | 3866883c54d7bd77753ee4b72997949bdcf76359 | [
"PostgreSQL",
"ISC",
"Intel"
] | null | null | null | import sys
import os
import locale
locale.setlocale(locale.LC_ALL, '')
path='/home/ammar/CPI-Pipeline-new/CPI-Pipeline-master/scripts/ppi-benchmark/Experiments/APG' #Path where this file is located, updated by "Experiment/make update-apgconfig"
# sample: /vol/home-vol3/wbi/tikk/ppi-benchmark/Experiments/APG
source='/ho... | 68.75 | 173 | 0.801818 | 84 | 550 | 5.238095 | 0.488095 | 0.1 | 0.054545 | 0.090909 | 0.690909 | 0.604545 | 0.604545 | 0.604545 | 0.604545 | 0.604545 | 0 | 0.003868 | 0.06 | 550 | 8 | 174 | 68.75 | 0.847195 | 0.501818 | 0 | 0 | 0 | 0.333333 | 0.656827 | 0.656827 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
12ed37edf6c778d177e4dbcaa33b3f7cbc325256 | 46 | py | Python | lifeMEDeasy/keys.py | PuneetPunamiya/lifeMEDeasy | b3930c0e6410377e939c21a1b68224a2cd9ed7a2 | [
"Apache-2.0"
] | null | null | null | lifeMEDeasy/keys.py | PuneetPunamiya/lifeMEDeasy | b3930c0e6410377e939c21a1b68224a2cd9ed7a2 | [
"Apache-2.0"
] | null | null | null | lifeMEDeasy/keys.py | PuneetPunamiya/lifeMEDeasy | b3930c0e6410377e939c21a1b68224a2cd9ed7a2 | [
"Apache-2.0"
] | null | null | null | encrypt_key = "sjdvsjdksjsvkvdjsssdcdshfbshbf" | 46 | 46 | 0.891304 | 3 | 46 | 13.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 46 | 1 | 46 | 46 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0.638298 | 0.638298 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4218adeba4addd69f3640669fd0b2e98d295e6f6 | 43 | py | Python | viol/__init__.py | feihong/tulip-talk | 1c99db11797bf7209eddfff1767a7e6b948c1ebb | [
"CC-BY-4.0"
] | 6 | 2015-01-19T11:14:03.000Z | 2016-02-22T06:16:51.000Z | viol/__init__.py | feihong/tulip-talk | 1c99db11797bf7209eddfff1767a7e6b948c1ebb | [
"CC-BY-4.0"
] | null | null | null | viol/__init__.py | feihong/tulip-talk | 1c99db11797bf7209eddfff1767a7e6b948c1ebb | [
"CC-BY-4.0"
] | null | null | null | from .app import app, connect, run, Client
| 21.5 | 42 | 0.744186 | 7 | 43 | 4.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 43 | 1 | 43 | 43 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
421c7320e357566142024d890193f1ebf7c08128 | 32 | py | Python | timeseries_pytorch/losses/__init__.py | krzpiesiewicz/timeseries-pytorch | 1e543caf9ea3918fc65fa9d715a75273be99c8ec | [
"MIT"
] | null | null | null | timeseries_pytorch/losses/__init__.py | krzpiesiewicz/timeseries-pytorch | 1e543caf9ea3918fc65fa9d715a75273be99c8ec | [
"MIT"
] | null | null | null | timeseries_pytorch/losses/__init__.py | krzpiesiewicz/timeseries-pytorch | 1e543caf9ea3918fc65fa9d715a75273be99c8ec | [
"MIT"
] | null | null | null | from .step_loss import StepsLoss | 32 | 32 | 0.875 | 5 | 32 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
422cb604f3263a5ec70ef6e54921dbdd47db13ab | 324 | py | Python | Python/Strings/string-validators.py | abhi-kuks/HackerRank | f40d805b639f0371b118f067cbd81ca74a369757 | [
"MIT"
] | null | null | null | Python/Strings/string-validators.py | abhi-kuks/HackerRank | f40d805b639f0371b118f067cbd81ca74a369757 | [
"MIT"
] | null | null | null | Python/Strings/string-validators.py | abhi-kuks/HackerRank | f40d805b639f0371b118f067cbd81ca74a369757 | [
"MIT"
] | null | null | null | Question : https://www.hackerrank.com/challenges/string-validators/problem
if __name__ == '__main__':
s = input()
print(any([l.isalnum() for l in s]))
print(any([l.isalpha() for l in s]))
print(any([l.isdigit() for l in s]))
print(any([l.islower() for l in s]))
print(any([l.isupper() for l in s... | 32.4 | 74 | 0.62037 | 54 | 324 | 3.574074 | 0.444444 | 0.207254 | 0.233161 | 0.181347 | 0.331606 | 0.331606 | 0.331606 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 324 | 9 | 75 | 36 | 0.731061 | 0 | 0 | 0 | 0 | 0 | 0.024691 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.625 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
4232e306e356e85571483ea4c2f749753d1cb8d1 | 67 | py | Python | Assets/WebGLTemplates/ACO/aco/__init__.py | PranavPrakasan07/xPLRun | 296d5e876bb5fb3fda71c1dec80df57d5e3eae4b | [
"MIT"
] | null | null | null | Assets/WebGLTemplates/ACO/aco/__init__.py | PranavPrakasan07/xPLRun | 296d5e876bb5fb3fda71c1dec80df57d5e3eae4b | [
"MIT"
] | null | null | null | Assets/WebGLTemplates/ACO/aco/__init__.py | PranavPrakasan07/xPLRun | 296d5e876bb5fb3fda71c1dec80df57d5e3eae4b | [
"MIT"
] | null | null | null | from aco.map_class import Map
from aco.ant_colony import AntColony
| 22.333333 | 36 | 0.850746 | 12 | 67 | 4.583333 | 0.666667 | 0.254545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119403 | 67 | 2 | 37 | 33.5 | 0.932203 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
42471124a6c98d56a5abc65cc099533e4aee73f7 | 10,989 | py | Python | src/test/scenarios/managed-network/output/src/managed-network/azext_managed_network/_params.py | openapi-env-test/cli-extension-az | f398750226924d878ca80ea1c1865f57c4a907be | [
"MIT"
] | null | null | null | src/test/scenarios/managed-network/output/src/managed-network/azext_managed_network/_params.py | openapi-env-test/cli-extension-az | f398750226924d878ca80ea1c1865f57c4a907be | [
"MIT"
] | null | null | null | src/test/scenarios/managed-network/output/src/managed-network/azext_managed_network/_params.py | openapi-env-test/cli-extension-az | f398750226924d878ca80ea1c1865f57c4a907be | [
"MIT"
] | null | null | null | # --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# -----------------------------------------------------------------... | 75.786207 | 310 | 0.719993 | 1,533 | 10,989 | 4.98304 | 0.092629 | 0.161278 | 0.069381 | 0.097133 | 0.907449 | 0.904045 | 0.883493 | 0.868307 | 0.847362 | 0.82825 | 0 | 0 | 0.161889 | 10,989 | 144 | 311 | 76.3125 | 0.829425 | 0.039403 | 0 | 0.628319 | 0 | 0.026549 | 0.496155 | 0.070454 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00885 | false | 0.00885 | 0.017699 | 0 | 0.026549 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
425418609505f566a6aa3fa959978912412e9d19 | 174 | py | Python | running_modes/enums/ranking_strategy_enum.py | truehanwj/REINVENT | b36b9d206e76590c7d584683fc45de8a74ce6033 | [
"Apache-2.0"
] | null | null | null | running_modes/enums/ranking_strategy_enum.py | truehanwj/REINVENT | b36b9d206e76590c7d584683fc45de8a74ce6033 | [
"Apache-2.0"
] | null | null | null | running_modes/enums/ranking_strategy_enum.py | truehanwj/REINVENT | b36b9d206e76590c7d584683fc45de8a74ce6033 | [
"Apache-2.0"
] | null | null | null | class RankingStrategyEnum:
SEQUENTIAL_FIXED_TIME = "sequential_fixed_time"
SEQUENTIAL_THRESHOLD = "sequential_threshold"
USER_DEFINED_ORDER = "user_defined_order" | 43.5 | 51 | 0.816092 | 18 | 174 | 7.333333 | 0.5 | 0.227273 | 0.287879 | 0.439394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126437 | 174 | 4 | 52 | 43.5 | 0.868421 | 0 | 0 | 0 | 0 | 0 | 0.337143 | 0.12 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
4278262608d1091f5bbb2fbe325c19f96f741ece | 42 | py | Python | uvicore/auth/user_providers/__init__.py | coboyoshi/uvicore | 9cfdeeac83000b156fe48f068b4658edaf51c8de | [
"MIT"
] | null | null | null | uvicore/auth/user_providers/__init__.py | coboyoshi/uvicore | 9cfdeeac83000b156fe48f068b4658edaf51c8de | [
"MIT"
] | null | null | null | uvicore/auth/user_providers/__init__.py | coboyoshi/uvicore | 9cfdeeac83000b156fe48f068b4658edaf51c8de | [
"MIT"
] | null | null | null | from .jwt import Jwt
from .orm import Orm
| 14 | 20 | 0.761905 | 8 | 42 | 4 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 42 | 2 | 21 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
35f18a805bc1050d9d5352a9e0696261ae7cdcf2 | 9,018 | py | Python | test/test_impulse.py | danbar/YaFFT | ba913f33a1e542bc0bba9664e76b0a0d65e76497 | [
"MIT"
] | null | null | null | test/test_impulse.py | danbar/YaFFT | ba913f33a1e542bc0bba9664e76b0a0d65e76497 | [
"MIT"
] | null | null | null | test/test_impulse.py | danbar/YaFFT | ba913f33a1e542bc0bba9664e76b0a0d65e76497 | [
"MIT"
] | null | null | null | import sys
import os
import unittest
import numpy as np
import numpy.testing as npt
from oct2py import octave
sys.path.append(os.path.join(os.path.dirname(__file__), '..', 'build', 'debug'))
sys.path.append(os.path.join(os.path.dirname(__file__), '..', 'build', 'debug', 'swig'))
import yafft
class Test2PointFFT(u... | 32.438849 | 100 | 0.620315 | 1,341 | 9,018 | 4.003729 | 0.063386 | 0.086422 | 0.11734 | 0.156454 | 0.939467 | 0.926057 | 0.924753 | 0.920283 | 0.87968 | 0.866642 | 0 | 0.055596 | 0.244067 | 9,018 | 277 | 101 | 32.555957 | 0.731994 | 0.009869 | 0 | 0.698492 | 0 | 0 | 0.01614 | 0 | 0 | 0 | 0 | 0 | 0.211055 | 1 | 0.075377 | false | 0 | 0.035176 | 0 | 0.125628 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c41579b49f9b4f9e36e3d60c2c1b4e690ffb5a83 | 436 | py | Python | SimCLR/configs.py | MuawizChaudhary/STARTUP | 03f39b34a4ec232f132173b4a1e67ea04165e52b | [
"MIT"
] | 30 | 2021-04-02T17:17:54.000Z | 2022-03-30T13:53:22.000Z | SimCLR/configs.py | MuawizChaudhary/STARTUP | 03f39b34a4ec232f132173b4a1e67ea04165e52b | [
"MIT"
] | 2 | 2021-04-29T23:55:35.000Z | 2022-03-01T21:23:07.000Z | SimCLR/configs.py | MuawizChaudhary/STARTUP | 03f39b34a4ec232f132173b4a1e67ea04165e52b | [
"MIT"
] | 10 | 2021-04-28T01:48:25.000Z | 2022-03-14T02:38:57.000Z |
# TODO: Please set the directory to the target datasets accordingly
miniImageNet_path = '/scratch/datasets/CD-FSL/miniImageNet_test'
tiered_ImageNet_path = '/scratch/datasets/tiered_imagenet/tiered_imagenet/original_split/test'
ISIC_path = "/scratch/datasets/CD-FSL/ISIC"
ChestX_path = "/scratch/datasets/CD-FSL/chestX... | 43.6 | 94 | 0.809633 | 59 | 436 | 5.79661 | 0.423729 | 0.192982 | 0.333333 | 0.307018 | 0.350877 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009877 | 0.071101 | 436 | 9 | 95 | 48.444444 | 0.834568 | 0.149083 | 0 | 0 | 0 | 0 | 0.665761 | 0.665761 | 0 | 0 | 0 | 0.111111 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c417ad7d2c0d4a48215aacd3c811e784e4407c4f | 26,211 | py | Python | notecoin/huobi/client/market.py | notechats/notecoin | 57e1ed71567ce8864158f24c00ed47addbd9851f | [
"Apache-2.0"
] | null | null | null | notecoin/huobi/client/market.py | notechats/notecoin | 57e1ed71567ce8864158f24c00ed47addbd9851f | [
"Apache-2.0"
] | null | null | null | notecoin/huobi/client/market.py | notechats/notecoin | 57e1ed71567ce8864158f24c00ed47addbd9851f | [
"Apache-2.0"
] | 1 | 2022-03-26T11:42:18.000Z | 2022-03-26T11:42:18.000Z | import json
import time
from notecoin.huobi.connection import (RestApiSyncClient, SubscribeClient,
WebSocketReqClient)
from notecoin.huobi.constant import (CandlestickInterval, DepthStep,
HttpMethod, MbpLevel)
from notecoin.huobi.utils import ... | 43.904523 | 119 | 0.633131 | 3,003 | 26,211 | 5.360972 | 0.072927 | 0.044723 | 0.026834 | 0.020871 | 0.838934 | 0.832723 | 0.810982 | 0.785328 | 0.767501 | 0.744643 | 0 | 0.008636 | 0.284308 | 26,211 | 596 | 120 | 43.978188 | 0.849566 | 0.39472 | 0 | 0.575092 | 0 | 0 | 0.04745 | 0.010781 | 0 | 0 | 0 | 0 | 0 | 1 | 0.168498 | false | 0 | 0.025641 | 0.003663 | 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 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c44b4a88e9bd265a2be3b5ceaa814fb3b3622e04 | 48 | py | Python | src/openeo_aggregator/__init__.py | Open-EO/openeo-aggregator | 88bc1ef44b700dd1b13b29e6c50eda0f197280eb | [
"Apache-2.0"
] | 1 | 2021-05-19T10:17:45.000Z | 2021-05-19T10:17:45.000Z | src/openeo_aggregator/__init__.py | Open-EO/openeo-aggregator | 88bc1ef44b700dd1b13b29e6c50eda0f197280eb | [
"Apache-2.0"
] | 32 | 2021-07-19T13:11:26.000Z | 2022-03-24T16:42:05.000Z | src/openeo_aggregator/__init__.py | Open-EO/openeo-aggregator | 88bc1ef44b700dd1b13b29e6c50eda0f197280eb | [
"Apache-2.0"
] | 1 | 2021-10-21T08:20:12.000Z | 2021-10-21T08:20:12.000Z | from openeo_aggregator.about import __version__
| 24 | 47 | 0.895833 | 6 | 48 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c45239d06d98c173d63d3471b84fa3817a2b50a6 | 191 | py | Python | norminette/exceptions.py | ybayart/norminette | 6781fa8684d637d6bd7b48492b0d31a99f4b06ac | [
"MIT"
] | 460 | 2020-11-06T11:08:31.000Z | 2022-03-31T01:56:35.000Z | norminette/exceptions.py | ybayart/norminette | 6781fa8684d637d6bd7b48492b0d31a99f4b06ac | [
"MIT"
] | 275 | 2020-11-12T13:30:54.000Z | 2022-03-30T15:49:06.000Z | norminette/exceptions.py | ybayart/norminette | 6781fa8684d637d6bd7b48492b0d31a99f4b06ac | [
"MIT"
] | 114 | 2020-11-12T11:13:55.000Z | 2022-03-21T18:05:29.000Z | class CParsingError(Exception):
def __init__(self, errmsg):
self.msg = errmsg
def __str__(self):
return self.msg
def __repr__(self):
return self.__str__
| 19.1 | 31 | 0.628272 | 22 | 191 | 4.727273 | 0.5 | 0.134615 | 0.269231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.282723 | 191 | 9 | 32 | 21.222222 | 0.759124 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0.285714 | 0.857143 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
671d24970ee2da8caedbfa112664af778be9a17d | 103,855 | py | Python | sdk/communication/azure-communication-callingserver/azure/communication/callingserver/_generated/models/_models_py3.py | zihzhan-msft/azure-sdk-for-python | f4b3484dbf75ec9db1f0ade2ca568c9bd538d62e | [
"MIT"
] | null | null | null | sdk/communication/azure-communication-callingserver/azure/communication/callingserver/_generated/models/_models_py3.py | zihzhan-msft/azure-sdk-for-python | f4b3484dbf75ec9db1f0ade2ca568c9bd538d62e | [
"MIT"
] | null | null | null | sdk/communication/azure-communication-callingserver/azure/communication/callingserver/_generated/models/_models_py3.py | zihzhan-msft/azure-sdk-for-python | f4b3484dbf75ec9db1f0ade2ca568c9bd538d62e | [
"MIT"
] | null | null | null | # coding=utf-8
# --------------------------------------------------------------------------
# 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 ... | 39.654448 | 244 | 0.678301 | 10,585 | 103,855 | 6.466037 | 0.041285 | 0.044709 | 0.075187 | 0.089739 | 0.857969 | 0.829975 | 0.812881 | 0.773286 | 0.748798 | 0.724618 | 0 | 0.001324 | 0.222031 | 103,855 | 2,618 | 245 | 39.669595 | 0.845784 | 0.502383 | 0 | 0.695427 | 0 | 0 | 0.226675 | 0.06934 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048318 | false | 0 | 0.004314 | 0 | 0.188956 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
672b708c10c203eb6ce832f16e724e1e92ad456b | 14,013 | py | Python | conflowgen/tests/domain_models/test_distribution_validators.py | 1grasse/conflowgen | 142330ab6427254109af3b86102a30a13144ba0c | [
"MIT"
] | null | null | null | conflowgen/tests/domain_models/test_distribution_validators.py | 1grasse/conflowgen | 142330ab6427254109af3b86102a30a13144ba0c | [
"MIT"
] | null | null | null | conflowgen/tests/domain_models/test_distribution_validators.py | 1grasse/conflowgen | 142330ab6427254109af3b86102a30a13144ba0c | [
"MIT"
] | null | null | null | import unittest
from conflowgen import ContainerLength, StorageRequirement
from conflowgen.domain_models.distribution_validators import DistributionHasNoElementsException, \
validate_distribution_with_one_dependent_variable, DistributionElementIsMissingException, \
DistributionProbabilityOutOfRange, Distributi... | 51.708487 | 105 | 0.687076 | 1,414 | 14,013 | 6.528289 | 0.086987 | 0.020799 | 0.090131 | 0.090998 | 0.903586 | 0.900011 | 0.875745 | 0.863828 | 0.853212 | 0.827754 | 0 | 0.042639 | 0.241847 | 14,013 | 270 | 106 | 51.9 | 0.826242 | 0.007707 | 0 | 0.683333 | 0 | 0.033333 | 0.169209 | 0.001583 | 0 | 0 | 0 | 0 | 0.104167 | 1 | 0.054167 | false | 0 | 0.0125 | 0 | 0.075 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
674da0efcec09c6b33878bed3a5ac9622d6b37d9 | 244 | py | Python | start.py | xinlc/auto-test-template | 9210a712f3000008e4af4cd1488dc7f0b88a424c | [
"Apache-2.0"
] | 1 | 2021-08-11T08:50:50.000Z | 2021-08-11T08:50:50.000Z | start.py | xinlc/auto-test-template | 9210a712f3000008e4af4cd1488dc7f0b88a424c | [
"Apache-2.0"
] | null | null | null | start.py | xinlc/auto-test-template | 9210a712f3000008e4af4cd1488dc7f0b88a424c | [
"Apache-2.0"
] | null | null | null | import os
# os.system('pytest -s -v tests/test_baidu_ddt.py --alluredir=./reports/allure_results --clean-alluredir')
os.system('pytest --alluredir ./reports/allure_results --clean-alluredir')
os.system('allure serve ./reports/allure_results')
| 40.666667 | 106 | 0.766393 | 34 | 244 | 5.352941 | 0.5 | 0.131868 | 0.32967 | 0.318681 | 0.56044 | 0.56044 | 0.56044 | 0.56044 | 0 | 0 | 0 | 0 | 0.069672 | 244 | 5 | 107 | 48.8 | 0.801762 | 0.42623 | 0 | 0 | 0 | 0 | 0.710145 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
678473628cb694a00e3563aae109f8765634379b | 3,073 | py | Python | saleor/graphql/page/tests/test_page_types_bulk_delete.py | shannenye/saleor | f6a2d35fd8ae8d614edd952cd5c58adb82e56ab2 | [
"CC-BY-4.0"
] | 2 | 2021-01-31T00:28:42.000Z | 2021-01-31T12:30:46.000Z | saleor/graphql/page/tests/test_page_types_bulk_delete.py | shannenye/saleor | f6a2d35fd8ae8d614edd952cd5c58adb82e56ab2 | [
"CC-BY-4.0"
] | 27 | 2022-02-14T04:30:10.000Z | 2022-03-28T04:56:33.000Z | saleor/graphql/page/tests/test_page_types_bulk_delete.py | shannenye/saleor | f6a2d35fd8ae8d614edd952cd5c58adb82e56ab2 | [
"CC-BY-4.0"
] | 3 | 2021-02-22T16:37:18.000Z | 2021-02-22T18:56:28.000Z | import graphene
from ....page.models import Page
from ...tests.utils import assert_no_permission, get_graphql_content
PAGE_TYPE_BULK_DELETE_MUTATION = """
mutation PageTypeBulkDelete($ids: [ID!]!) {
pageTypeBulkDelete(ids: $ids) {
count
pageErrors {
code
... | 25.608333 | 87 | 0.683046 | 387 | 3,073 | 4.96124 | 0.165375 | 0.145833 | 0.075 | 0.084375 | 0.88125 | 0.867708 | 0.867708 | 0.867708 | 0.83125 | 0.83125 | 0 | 0 | 0.233973 | 3,073 | 119 | 88 | 25.823529 | 0.815633 | 0.020501 | 0 | 0.582278 | 0 | 0 | 0.117117 | 0.015682 | 0 | 0 | 0 | 0 | 0.113924 | 1 | 0.050633 | false | 0 | 0.037975 | 0 | 0.088608 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
67c4fe6f162b21e3862ace4f202e179f137c0e0f | 73 | py | Python | src/detector/evaluation/__init__.py | Idein/chainer-hand-pose | 45c7b629a74bf13da8cc9b47d0ded7099c139e9b | [
"Apache-2.0"
] | 11 | 2019-12-14T07:55:52.000Z | 2021-06-22T06:38:34.000Z | src/detector/evaluation/__init__.py | terasakisatoshi/chainer-hand-pose | a47e0c61c4fea3369db566eea3d539d1c9398bf7 | [
"Apache-2.0"
] | 1 | 2020-06-17T21:39:48.000Z | 2020-06-26T13:16:43.000Z | src/detector/evaluation/__init__.py | terasakisatoshi/chainer-hand-pose | a47e0c61c4fea3369db566eea3d539d1c9398bf7 | [
"Apache-2.0"
] | 3 | 2019-12-11T13:47:54.000Z | 2020-10-23T07:10:15.000Z | from . import detection_coco_evaluator
from . import eval_detection_coco
| 24.333333 | 38 | 0.863014 | 10 | 73 | 5.9 | 0.6 | 0.338983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109589 | 73 | 2 | 39 | 36.5 | 0.907692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
67c732363c59e10277ec2ba7959acce1b067d6df | 42 | py | Python | utils/__init__.py | kaylode/self-driving-car-sim | dc0e991dcf201de7c355917be2dd8c6fce396950 | [
"MIT"
] | 5 | 2021-07-10T14:46:05.000Z | 2021-12-13T01:33:08.000Z | utils/__init__.py | kaylode/mediaeval20-pp | 9c115d8121dbc84d4198ff1d117635a60b177d60 | [
"MIT"
] | null | null | null | utils/__init__.py | kaylode/mediaeval20-pp | 9c115d8121dbc84d4198ff1d117635a60b177d60 | [
"MIT"
] | null | null | null | from .getter import *
from .utils import * | 21 | 21 | 0.738095 | 6 | 42 | 5.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 42 | 2 | 22 | 21 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
67ca4133f5112466e59a845088e449c1ad30b0fb | 109 | py | Python | office365/sharepoint/principal/appprincipal_credential.py | rikeshtailor/Office365-REST-Python-Client | ca7bfa1b22212137bb4e984c0457632163e89a43 | [
"MIT"
] | 544 | 2016-08-04T17:10:16.000Z | 2022-03-31T07:17:20.000Z | office365/sharepoint/principal/appprincipal_credential.py | rikeshtailor/Office365-REST-Python-Client | ca7bfa1b22212137bb4e984c0457632163e89a43 | [
"MIT"
] | 438 | 2016-10-11T12:24:22.000Z | 2022-03-31T19:30:35.000Z | office365/sharepoint/principal/appprincipal_credential.py | rikeshtailor/Office365-REST-Python-Client | ca7bfa1b22212137bb4e984c0457632163e89a43 | [
"MIT"
] | 202 | 2016-08-22T19:29:40.000Z | 2022-03-30T20:26:15.000Z | from office365.sharepoint.base_entity import BaseEntity
class AppPrincipalCredential(BaseEntity):
pass
| 18.166667 | 55 | 0.834862 | 11 | 109 | 8.181818 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.119266 | 109 | 5 | 56 | 21.8 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
db20ed4be708c546de2680e9ffd1b0750fa4bcad | 334 | py | Python | ca_on_fort_erie/people.py | dogooderapp/scrapers-ca | 5e852eea93f05f3f397eec318d3094a3b1b0b458 | [
"MIT"
] | 19 | 2015-05-26T03:18:50.000Z | 2022-01-31T03:27:41.000Z | ca_on_fort_erie/people.py | dogooderapp/scrapers-ca | 5e852eea93f05f3f397eec318d3094a3b1b0b458 | [
"MIT"
] | 119 | 2015-01-09T06:09:35.000Z | 2022-01-20T23:05:05.000Z | ca_on_fort_erie/people.py | dogooderapp/scrapers-ca | 5e852eea93f05f3f397eec318d3094a3b1b0b458 | [
"MIT"
] | 17 | 2015-11-23T05:00:10.000Z | 2021-09-15T16:03:33.000Z | from utils import CSVScraper
class FortEriePersonScraper(CSVScraper):
# https://niagaraopendata.ca/dataset/town-of-fort-erie-elected-officials-2018
csv_url = 'https://niagaraopendata.ca/dataset/0ab66777-7cf7-4e0b-bbbb-5c7c8f025dc5/resource/96120e11-fc21-4b33-baa7-983b0953dd9c/download/fort-erie-elected-offici... | 47.714286 | 179 | 0.811377 | 42 | 334 | 6.428571 | 0.738095 | 0.148148 | 0.162963 | 0.214815 | 0.22963 | 0.22963 | 0 | 0 | 0 | 0 | 0 | 0.146965 | 0.062874 | 334 | 6 | 180 | 55.666667 | 0.715655 | 0.224551 | 0 | 0 | 0 | 0.333333 | 0.634241 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
db279fe955ff4b2d762dac53575439bb35009ca4 | 185 | py | Python | picamera2/encoders/__init__.py | IanTBlack/picamera2 | 4d31a56cdb0d8360e71927e754fc6bef50bec360 | [
"BSD-2-Clause"
] | 71 | 2022-02-15T14:24:34.000Z | 2022-03-29T16:36:46.000Z | picamera2/encoders/__init__.py | IanTBlack/picamera2 | 4d31a56cdb0d8360e71927e754fc6bef50bec360 | [
"BSD-2-Clause"
] | 37 | 2022-02-16T12:35:45.000Z | 2022-03-31T13:18:42.000Z | picamera2/encoders/__init__.py | IanTBlack/picamera2 | 4d31a56cdb0d8360e71927e754fc6bef50bec360 | [
"BSD-2-Clause"
] | 15 | 2022-02-16T12:12:57.000Z | 2022-03-31T15:17:58.000Z | from .encoder import Encoder
from .h264_encoder import H264Encoder
from .jpeg_encoder import JpegEncoder
from .mjpeg_encoder import MJPEGEncoder
from .multi_encoder import MultiEncoder
| 30.833333 | 39 | 0.864865 | 24 | 185 | 6.5 | 0.458333 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036364 | 0.108108 | 185 | 5 | 40 | 37 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e1e97027b48e930b4b75531783ee404753ad39eb | 388 | py | Python | terrascript/resource/wavefront.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | terrascript/resource/wavefront.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | terrascript/resource/wavefront.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # terrascript/resource/wavefront.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:31:10 UTC)
#
# For imports without namespace, e.g.
#
# >>> import terrascript.resource.wavefront
#
# instead of
#
# >>> import terrascript.resource.vmware.wavefront
#
# This is only available for 'official' and 'partn... | 25.866667 | 73 | 0.75 | 49 | 388 | 5.938776 | 0.714286 | 0.261168 | 0.19244 | 0.233677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035608 | 0.131443 | 388 | 14 | 74 | 27.714286 | 0.827893 | 0.798969 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e1ebe0dd10258d2e21e8f5d2723215bb05f05677 | 29 | py | Python | code/tests/test_something.py | andycasey/stellar-twins | 9b3cfbf608e3e15a2358bbd33aa5ae21cfc1d0dd | [
"MIT"
] | null | null | null | code/tests/test_something.py | andycasey/stellar-twins | 9b3cfbf608e3e15a2358bbd33aa5ae21cfc1d0dd | [
"MIT"
] | null | null | null | code/tests/test_something.py | andycasey/stellar-twins | 9b3cfbf608e3e15a2358bbd33aa5ae21cfc1d0dd | [
"MIT"
] | 1 | 2016-09-28T20:47:21.000Z | 2016-09-28T20:47:21.000Z | def test_testing():
pass
| 9.666667 | 19 | 0.655172 | 4 | 29 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241379 | 29 | 2 | 20 | 14.5 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
e1f4365c5a206b8a982df1a1f428609d511aa56c | 1,898 | py | Python | tests/test_response.py | k-vinogradov/osjsonrpc | c14f23e0956b1a639b08cf0f1c6c00609d759d1e | [
"MIT"
] | null | null | null | tests/test_response.py | k-vinogradov/osjsonrpc | c14f23e0956b1a639b08cf0f1c6c00609d759d1e | [
"MIT"
] | null | null | null | tests/test_response.py | k-vinogradov/osjsonrpc | c14f23e0956b1a639b08cf0f1c6c00609d759d1e | [
"MIT"
] | null | null | null | import json
import pytest
from tests.common import Request
@pytest.mark.asyncio
async def test_ping(endpoint):
request = Request(
{"Content-Type": "application/json", "Accept": "application/json"},
json.dumps({"jsonrpc": "2.0", "method": "ping", "id": 1}),
)
response = json.loads((await en... | 32.169492 | 97 | 0.558483 | 213 | 1,898 | 4.920188 | 0.201878 | 0.10687 | 0.068702 | 0.083969 | 0.867366 | 0.867366 | 0.839695 | 0.839695 | 0.80916 | 0.80916 | 0 | 0.027701 | 0.239199 | 1,898 | 58 | 98 | 32.724138 | 0.698061 | 0 | 0 | 0.52 | 0 | 0 | 0.234457 | 0 | 0 | 0 | 0 | 0 | 0.08 | 1 | 0 | false | 0 | 0.06 | 0 | 0.06 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e1f681f65948784b35f931e7e1daef19446b9138 | 199 | py | Python | tests/strings/join.py | chrivers/pyjaco | 8ad793dce34ab7aed3b973aae729d6a943a2381c | [
"MIT"
] | 38 | 2015-01-01T18:08:59.000Z | 2022-02-18T08:57:27.000Z | tests/strings/join.py | chrivers/pyjaco | 8ad793dce34ab7aed3b973aae729d6a943a2381c | [
"MIT"
] | 1 | 2020-01-08T04:32:52.000Z | 2020-01-08T04:32:52.000Z | tests/strings/join.py | chrivers/pyjaco | 8ad793dce34ab7aed3b973aae729d6a943a2381c | [
"MIT"
] | 12 | 2016-03-07T09:30:49.000Z | 2021-09-05T20:38:47.000Z | a = ["a", "b", "c"]
print "".join(a)
print " ".join(a)
print "x".join(a)
print "x ".join(a)
b = ["", "", "foo", "x", "", ""]
print "".join(b)
print " ".join(b)
print "x".join(b)
print " x ".join(b)
| 16.583333 | 32 | 0.467337 | 35 | 199 | 2.657143 | 0.2 | 0.387097 | 0.430108 | 0.322581 | 0.580645 | 0.580645 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175879 | 199 | 11 | 33 | 18.090909 | 0.567073 | 0 | 0 | 0.8 | 0 | 0 | 0.080402 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.8 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
c008cdc45b7dcbbb5eda24f84b348edc2347806b | 65 | py | Python | revgraph/core/functions/operations/__init__.py | shhoalex/revgraph | 7060945aa46fbd9584861715f15b6fc8037ba53f | [
"MIT"
] | 9 | 2020-06-27T07:01:00.000Z | 2020-10-23T13:50:04.000Z | revgraph/core/functions/operations/__init__.py | shinghinho/revgraph | 7060945aa46fbd9584861715f15b6fc8037ba53f | [
"MIT"
] | null | null | null | revgraph/core/functions/operations/__init__.py | shinghinho/revgraph | 7060945aa46fbd9584861715f15b6fc8037ba53f | [
"MIT"
] | null | null | null | from .array import *
from .gradient import *
from .math import *
| 16.25 | 23 | 0.723077 | 9 | 65 | 5.222222 | 0.555556 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184615 | 65 | 3 | 24 | 21.666667 | 0.886792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c00e8907a8f30d1252f1e6bc6a9a6db968edecc0 | 26 | py | Python | sharedcache/__init__.py | pigay/shared-cache | 140342169de5e2ab1a72fa23a5e9bd8543eb2971 | [
"WTFPL"
] | 1 | 2016-03-16T16:26:05.000Z | 2016-03-16T16:26:05.000Z | sharedcache/__init__.py | pigay/shared-cache | 140342169de5e2ab1a72fa23a5e9bd8543eb2971 | [
"WTFPL"
] | null | null | null | sharedcache/__init__.py | pigay/shared-cache | 140342169de5e2ab1a72fa23a5e9bd8543eb2971 | [
"WTFPL"
] | null | null | null | from repofile import Repo
| 13 | 25 | 0.846154 | 4 | 26 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c046323bf861d26c39ac93de37d39a51ddce2af6 | 3,993 | py | Python | tests/unit/test_auth.py | ulamlabs/python-quickbooks | b25449332e0f8bd80479d5e8aca9fb2b3f6b3350 | [
"MIT"
] | 1 | 2019-10-15T15:58:43.000Z | 2019-10-15T15:58:43.000Z | tests/unit/test_auth.py | jstacoder/python-quickbooks | b25449332e0f8bd80479d5e8aca9fb2b3f6b3350 | [
"MIT"
] | null | null | null | tests/unit/test_auth.py | jstacoder/python-quickbooks | b25449332e0f8bd80479d5e8aca9fb2b3f6b3350 | [
"MIT"
] | 1 | 2019-10-15T16:04:13.000Z | 2019-10-15T16:04:13.000Z | import unittest
from quickbooks.exceptions import QuickbooksException
from quickbooks.auth import Oauth1SessionManager
try:
from mock import patch
except ImportError:
from unittest.mock import patch
class Oauth1SessionManagerTest(unittest.TestCase):
def setUp(self):
pass
def test_init(self... | 33.554622 | 85 | 0.643125 | 363 | 3,993 | 6.815427 | 0.129477 | 0.135812 | 0.064673 | 0.094584 | 0.861762 | 0.791835 | 0.725141 | 0.70574 | 0.70574 | 0.70574 | 0 | 0.002779 | 0.278988 | 3,993 | 118 | 86 | 33.838983 | 0.856547 | 0 | 0 | 0.597826 | 0 | 0 | 0.088154 | 0 | 0 | 0 | 0 | 0 | 0.206522 | 1 | 0.076087 | false | 0.01087 | 0.065217 | 0 | 0.152174 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c068ce5720e0591701444eadb6da50166c451750 | 16 | py | Python | python/webrepl_cfg.py | murilopolese/pixel32 | 7d42ca62a19a06bc6d22cd0db6c4a8365b200393 | [
"MIT"
] | 16 | 2018-10-04T03:38:12.000Z | 2020-11-08T15:12:41.000Z | webrepl_cfg.py | luzy6/esp8266-relay-controller | 7b55ad79c94a18c4dd44a0328eb01dca8dec1886 | [
"MIT"
] | 13 | 2018-11-13T20:36:15.000Z | 2022-01-23T02:35:35.000Z | webrepl_cfg.py | luzy6/esp8266-relay-controller | 7b55ad79c94a18c4dd44a0328eb01dca8dec1886 | [
"MIT"
] | 6 | 2019-02-22T00:17:27.000Z | 2022-02-04T06:50:39.000Z | PASS = '123456'
| 8 | 15 | 0.625 | 2 | 16 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.461538 | 0.1875 | 16 | 1 | 16 | 16 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
220a3c9fb8a5e390ca0c42b77e358a1023895a6d | 144 | py | Python | searchRequestion/searchIssue/qywechat/urls.py | jiangwenfan/pythonScripts | c9004944f162af575e111522f98d4de4f59885e6 | [
"Apache-2.0"
] | null | null | null | searchRequestion/searchIssue/qywechat/urls.py | jiangwenfan/pythonScripts | c9004944f162af575e111522f98d4de4f59885e6 | [
"Apache-2.0"
] | null | null | null | searchRequestion/searchIssue/qywechat/urls.py | jiangwenfan/pythonScripts | c9004944f162af575e111522f98d4de4f59885e6 | [
"Apache-2.0"
] | null | null | null | from django.urls import path
from qywechat import views
urlpatterns = [
path('receive',views.receive),
#path('receive',views.receive),
] | 24 | 35 | 0.722222 | 18 | 144 | 5.777778 | 0.5 | 0.211538 | 0.307692 | 0.442308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 144 | 6 | 36 | 24 | 0.845528 | 0.208333 | 0 | 0 | 0 | 0 | 0.061404 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
22300e17b4be627bf44f621c46c5d51da7c06e05 | 110 | py | Python | biggmodeldata/__init__.py | ssokolen/biggmodeldata | 66a4ae8c68480d8510beb00a67fcf5656f0bad4c | [
"BSD-4-Clause-UC"
] | 1 | 2021-05-05T13:29:38.000Z | 2021-05-05T13:29:38.000Z | biggmodeldata/__init__.py | ssokolen/biggmodeldata | 66a4ae8c68480d8510beb00a67fcf5656f0bad4c | [
"BSD-4-Clause-UC"
] | null | null | null | biggmodeldata/__init__.py | ssokolen/biggmodeldata | 66a4ae8c68480d8510beb00a67fcf5656f0bad4c | [
"BSD-4-Clause-UC"
] | null | null | null | from .update import update_reactions
from .schema import *
from . import reactions
from . import metabolites
| 18.333333 | 36 | 0.8 | 14 | 110 | 6.214286 | 0.428571 | 0.298851 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154545 | 110 | 5 | 37 | 22 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2244e37d91a3ddec9c75d2f6ef68f7967efde05d | 10,475 | py | Python | darkchem/training.py | hcji/darkchem | aae706f7e1d0aff1adef8204ba92f82d6485a19e | [
"BSD-3-Clause"
] | 26 | 2019-05-26T00:41:06.000Z | 2021-11-08T11:08:06.000Z | darkchem/training.py | hcji/darkchem | aae706f7e1d0aff1adef8204ba92f82d6485a19e | [
"BSD-3-Clause"
] | 4 | 2019-09-04T18:28:14.000Z | 2020-11-16T13:36:36.000Z | darkchem/training.py | hcji/darkchem | aae706f7e1d0aff1adef8204ba92f82d6485a19e | [
"BSD-3-Clause"
] | 10 | 2019-05-25T12:08:33.000Z | 2021-05-27T14:13:45.000Z | from darkchem.utils import test_train_split, DataGenerator, SMI, savedict
import numpy as np
import pandas as pd
import os
def train(args):
import keras
from darkchem.network import VAE
from darkchem.callbacks import MultiModelCheckpoint, LossHistory
# load data
x = np.load(args.data).astype(np.u... | 46.145374 | 126 | 0.553508 | 1,120 | 10,475 | 5.057143 | 0.13125 | 0.026483 | 0.040607 | 0.05685 | 0.814619 | 0.792726 | 0.771716 | 0.737112 | 0.730932 | 0.721398 | 0 | 0.007565 | 0.343771 | 10,475 | 226 | 127 | 46.349558 | 0.81641 | 0.058998 | 0 | 0.642384 | 0 | 0 | 0.052535 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013245 | false | 0 | 0.066225 | 0 | 0.07947 | 0.013245 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2275b233ccabee7f0fc0b4c0b30725c2d635c976 | 105 | py | Python | test/test_admin.py | Chebi007/selenium_training | f9001dc618a877de13346270d5346957de463671 | [
"Apache-2.0"
] | null | null | null | test/test_admin.py | Chebi007/selenium_training | f9001dc618a877de13346270d5346957de463671 | [
"Apache-2.0"
] | null | null | null | test/test_admin.py | Chebi007/selenium_training | f9001dc618a877de13346270d5346957de463671 | [
"Apache-2.0"
] | null | null | null |
def test_check_left_menu(app):
app.admin.check_left_menu()
app.session.logout_on_admin_page()
| 15 | 38 | 0.752381 | 17 | 105 | 4.176471 | 0.647059 | 0.253521 | 0.366197 | 0.450704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 105 | 6 | 39 | 17.5 | 0.788889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3f00f6ae5eccf4f3ef1fba89f87f94d74d510fdb | 39 | py | Python | tests/type/bad/wrong-number-of-parameter3.py | Nakrez/RePy | 057db55a99eac2c5cb3d622fa1f2e29f6083d8d6 | [
"MIT"
] | 1 | 2020-11-24T05:24:26.000Z | 2020-11-24T05:24:26.000Z | tests/type/bad/wrong-number-of-parameter3.py | Nakrez/RePy | 057db55a99eac2c5cb3d622fa1f2e29f6083d8d6 | [
"MIT"
] | null | null | null | tests/type/bad/wrong-number-of-parameter3.py | Nakrez/RePy | 057db55a99eac2c5cb3d622fa1f2e29f6083d8d6 | [
"MIT"
] | null | null | null | def foo():
return 1
z = foo(1, 2)
| 7.8 | 13 | 0.487179 | 8 | 39 | 2.375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 0.333333 | 39 | 4 | 14 | 9.75 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
3f475ec1596f059dfe62569a225a4eac9ad6bd3b | 31 | py | Python | sdk2-src/samples/yaml/endpoint/test.py | DamovisaOrg/azureml-v2-preview | 9c5ed1003c19f4d5b19dbea4a7c507e101149139 | [
"MIT"
] | 1 | 2021-09-27T07:54:40.000Z | 2021-09-27T07:54:40.000Z | sdk2-src/samples/yaml/endpoint/test.py | DamovisaOrg/azureml-v2-preview | 9c5ed1003c19f4d5b19dbea4a7c507e101149139 | [
"MIT"
] | null | null | null | sdk2-src/samples/yaml/endpoint/test.py | DamovisaOrg/azureml-v2-preview | 9c5ed1003c19f4d5b19dbea4a7c507e101149139 | [
"MIT"
] | null | null | null | print("This is a test script")
| 15.5 | 30 | 0.709677 | 6 | 31 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 31 | 1 | 31 | 31 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.677419 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
3f523c8d0cf5257de5e87246d4c371588a3ec577 | 101 | py | Python | models/__init__.py | ejklektov/dcase20-task3-seld | dd32cb5b23d48f10526f89e4ef1baf09947d6cc5 | [
"MIT"
] | null | null | null | models/__init__.py | ejklektov/dcase20-task3-seld | dd32cb5b23d48f10526f89e4ef1baf09947d6cc5 | [
"MIT"
] | null | null | null | models/__init__.py | ejklektov/dcase20-task3-seld | dd32cb5b23d48f10526f89e4ef1baf09947d6cc5 | [
"MIT"
] | null | null | null | from .CRNNs import *
from .model_utilities import *
#from .VGGs import *
# from .CRNNs_MASK import *
| 20.2 | 30 | 0.732673 | 14 | 101 | 5.142857 | 0.5 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168317 | 101 | 4 | 31 | 25.25 | 0.857143 | 0.445545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
58c81779b62051a8c094e01aea824291b00b8f61 | 4,127 | py | Python | demos/nocloud/client/demo-waf/vs_demo/brokenlink_vs.py | avinetworks/demo-in-a-box | cfdd7c735b01673cd0b9b9ffbf87c2052295549d | [
"MIT"
] | 10 | 2018-09-10T22:02:14.000Z | 2021-01-06T08:05:50.000Z | demos/nocloud/client/demo-waf/vs_demo/brokenlink_vs.py | avinetworks/demo-in-a-box | cfdd7c735b01673cd0b9b9ffbf87c2052295549d | [
"MIT"
] | 2 | 2020-10-28T08:27:47.000Z | 2022-03-24T17:26:15.000Z | demos/nocloud/client/demo-waf/vs_demo/brokenlink_vs.py | avinetworks/demo-in-a-box | cfdd7c735b01673cd0b9b9ffbf87c2052295549d | [
"MIT"
] | 9 | 2018-11-08T23:51:29.000Z | 2022-02-18T10:47:00.000Z | #!/usr/bin/python
import time
import subprocess
import sys
import traceback
from datetime import datetime
ip_list = ["161.98.255.1", "37.60.63.2", "206.223.191.1", "23.26.110.2", "27.113.239.2", "42.97.255.1", "132.247.255.2", "14.192.95.1", "37.16.63.1", "49.213.31.2", "41.67.128.1", "27.97.1.2"]
vs = sys.argv[1]
... | 50.329268 | 192 | 0.56724 | 654 | 4,127 | 3.541284 | 0.244648 | 0.010363 | 0.03886 | 0.082038 | 0.743092 | 0.734456 | 0.734456 | 0.703368 | 0.703368 | 0.699914 | 0 | 0.107722 | 0.237461 | 4,127 | 81 | 193 | 50.950617 | 0.628217 | 0.152411 | 0 | 0.409091 | 0 | 0.075758 | 0.385452 | 0.006586 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.075758 | null | null | 0.227273 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
58d7909145f7f06f883e1494138a892a9cf1034d | 7,476 | py | Python | model/attention.py | leehamw/BertFastRLMM | 51641515f62c8e6ddf5605e6aec2c69a56be4fd2 | [
"MIT"
] | null | null | null | model/attention.py | leehamw/BertFastRLMM | 51641515f62c8e6ddf5605e6aec2c69a56be4fd2 | [
"MIT"
] | null | null | null | model/attention.py | leehamw/BertFastRLMM | 51641515f62c8e6ddf5605e6aec2c69a56be4fd2 | [
"MIT"
] | null | null | null | from torch.nn import functional as F
import torch.nn as nn
import torch
def dot_attention_score(key, query):
"""[B, Tk, D], [(Bs), B, Tq, D] -> [(Bs), B, Tq, Tk]"""
return query.matmul(key.transpose(1, 2))
def prob_normalize(score, mask):
""" [(...), T]
user should handle mask shape"""
score = scor... | 39.555556 | 110 | 0.625334 | 1,056 | 7,476 | 4.216856 | 0.102273 | 0.070739 | 0.032338 | 0.030541 | 0.772288 | 0.757916 | 0.741298 | 0.717269 | 0.717269 | 0.701774 | 0 | 0.018828 | 0.232745 | 7,476 | 189 | 111 | 39.555556 | 0.757497 | 0.43031 | 0 | 0.75641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.089744 | false | 0 | 0.038462 | 0 | 0.217949 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
58f91857e8a97b4f5f855b48d5f8a4112a361121 | 300 | py | Python | Machine Learning Projects/Xeno-Deep Learning library from scratch/xeno/utils/__init__.py | TeacherManoj0131/HacktoberFest2020-Contributions | c7119202fdf211b8a6fc1eadd0760dbb706a679b | [
"MIT"
] | 256 | 2020-09-30T19:31:34.000Z | 2021-11-20T18:09:15.000Z | Machine Learning Projects/Xeno-Deep Learning library from scratch/xeno/utils/__init__.py | TeacherManoj0131/HacktoberFest2020-Contributions | c7119202fdf211b8a6fc1eadd0760dbb706a679b | [
"MIT"
] | 293 | 2020-09-30T19:14:54.000Z | 2021-06-06T02:34:47.000Z | Machine Learning Projects/Xeno-Deep Learning library from scratch/xeno/utils/__init__.py | TeacherManoj0131/HacktoberFest2020-Contributions | c7119202fdf211b8a6fc1eadd0760dbb706a679b | [
"MIT"
] | 1,620 | 2020-09-30T18:37:44.000Z | 2022-03-03T20:54:22.000Z | # -*- coding: utf-8 -*-
# import file
from . import data
from . import random
# data.py
from .data import one_hot
from .data import unhot
# random.py
from .random import get_rng
from .random import set_rng
from .random import set_seed
from .random import get_dtype
from .random import set_dtype
| 15.789474 | 29 | 0.746667 | 49 | 300 | 4.44898 | 0.346939 | 0.229358 | 0.366972 | 0.261468 | 0.201835 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004049 | 0.176667 | 300 | 18 | 30 | 16.666667 | 0.878543 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
450b1934b9e684925128d9d276ebee7abe3ee433 | 9,565 | py | Python | fbs_scraper.py | bamaham93/FBS-Stats-Scraper | c55984f0fc87c57ca337c1ff45453cd28b13a835 | [
"MIT"
] | null | null | null | fbs_scraper.py | bamaham93/FBS-Stats-Scraper | c55984f0fc87c57ca337c1ff45453cd28b13a835 | [
"MIT"
] | 2 | 2020-02-21T00:49:28.000Z | 2020-05-27T13:32:26.000Z | fbs_scraper.py | bamaham93/FBS-Stats-Scraper | c55984f0fc87c57ca337c1ff45453cd28b13a835 | [
"MIT"
] | 1 | 2021-04-22T19:57:23.000Z | 2021-04-22T19:57:23.000Z | # -*- coding: utf-8 -*-
"""FBS_Scraper.py
FBS Scraper Tool
Version 1.1
Introduction
This tool uses BeautifulSoup4 to scrape CFBstats.com to obtain NCAA Div. Ia football statistics.
"""
import requests
from bs4 import BeautifulSoup
import pandas as pd
import time
class Scraper:
def check_page(loc):
try:
... | 84.646018 | 6,237 | 0.710716 | 1,545 | 9,565 | 4.354045 | 0.21165 | 0.215847 | 0.292106 | 0.370001 | 0.634458 | 0.620485 | 0.613647 | 0 | 0 | 0 | 0 | 0.111754 | 0.078515 | 9,565 | 112 | 6,238 | 85.401786 | 0.651464 | 0.03356 | 0 | 0 | 0 | 0 | 0.719012 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.028571 | 0.071429 | null | null | 0.028571 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
188f1240219af64f89d3886cab123073a0125d10 | 37 | py | Python | utils/__init__.py | shan18/Multi-Feature-Hypertension-Detector | 4302510f2fc87f9148c9cfc3c76fa4ea7c9241d7 | [
"MIT"
] | null | null | null | utils/__init__.py | shan18/Multi-Feature-Hypertension-Detector | 4302510f2fc87f9148c9cfc3c76fa4ea7c9241d7 | [
"MIT"
] | null | null | null | utils/__init__.py | shan18/Multi-Feature-Hypertension-Detector | 4302510f2fc87f9148c9cfc3c76fa4ea7c9241d7 | [
"MIT"
] | null | null | null | from .progress_bar import ProgressBar | 37 | 37 | 0.891892 | 5 | 37 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 1 | 37 | 37 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
18b25c3bad23c00a83763b82a1b9b9cd537cdb51 | 129 | py | Python | tests/RunTests/PythonTests/test2011_010.py | maurizioabba/rose | 7597292cf14da292bdb9a4ef573001b6c5b9b6c0 | [
"BSD-3-Clause"
] | 488 | 2015-01-09T08:54:48.000Z | 2022-03-30T07:15:46.000Z | tests/RunTests/PythonTests/test2011_010.py | sujankh/rose-matlab | 7435d4fa1941826c784ba97296c0ec55fa7d7c7e | [
"BSD-3-Clause"
] | 174 | 2015-01-28T18:41:32.000Z | 2022-03-31T16:51:05.000Z | tests/RunTests/PythonTests/test2011_010.py | sujankh/rose-matlab | 7435d4fa1941826c784ba97296c0ec55fa7d7c7e | [
"BSD-3-Clause"
] | 146 | 2015-04-27T02:48:34.000Z | 2022-03-04T07:32:53.000Z | # test asserts. TODO: add better tests when try/except stmts are implemented
assert 1
print "okay 1"
assert 1+0
print "okay 2"
| 16.125 | 76 | 0.744186 | 23 | 129 | 4.173913 | 0.782609 | 0.145833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.186047 | 129 | 7 | 77 | 18.428571 | 0.866667 | 0.573643 | 0 | 0 | 0 | 0 | 0.226415 | 0 | 0 | 0 | 0 | 0.142857 | 0.5 | 0 | null | null | 0 | 0 | null | null | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
18b52c892d475ae1524036477913f0a97eea556d | 24 | py | Python | API/__init__.py | gdssouza/clear-corretora-api | 4c4c442111b090e694e52757849cb9c69beaa2c8 | [
"MIT"
] | 1 | 2021-11-10T14:02:37.000Z | 2021-11-10T14:02:37.000Z | API/__init__.py | gdssouza/clear-corretora-api | 4c4c442111b090e694e52757849cb9c69beaa2c8 | [
"MIT"
] | null | null | null | API/__init__.py | gdssouza/clear-corretora-api | 4c4c442111b090e694e52757849cb9c69beaa2c8 | [
"MIT"
] | 1 | 2021-03-21T18:49:28.000Z | 2021-03-21T18:49:28.000Z | from API.clear import *
| 12 | 23 | 0.75 | 4 | 24 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
18ceebd5939aa16a4962c6519af1120b8f250131 | 68 | py | Python | core/writer/__init__.py | ryanolee/pager-duty-sync | 1fd88634e461b5db647d856bc6b59f990944685e | [
"MIT"
] | null | null | null | core/writer/__init__.py | ryanolee/pager-duty-sync | 1fd88634e461b5db647d856bc6b59f990944685e | [
"MIT"
] | 2 | 2020-09-27T18:19:17.000Z | 2021-06-29T09:21:04.000Z | core/writer/__init__.py | ryanolee/pager-duty-sync | 1fd88634e461b5db647d856bc6b59f990944685e | [
"MIT"
] | null | null | null | from .googleSheetsPagerDutyWriter import GoogleSheetsPagerDutyWriter | 68 | 68 | 0.941176 | 4 | 68 | 16 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044118 | 68 | 1 | 68 | 68 | 0.984615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7a127eacdf908156c58fbe2c25611298f8e2953b | 118 | py | Python | symupy/utils/__init__.py | symuvia/symupy | e6604c59bb4474f594ef5c997508f0407c9b3870 | [
"MIT"
] | 2 | 2019-07-01T09:58:53.000Z | 2020-06-12T12:12:46.000Z | symupy/utils/__init__.py | licit-lab/symupy | 942a17ee78cd12a363a4cd7b7f8363e239ccf7fe | [
"MIT"
] | 33 | 2021-01-18T13:59:01.000Z | 2021-11-29T13:21:10.000Z | symupy/utils/__init__.py | licit-lab/symupy | 942a17ee78cd12a363a4cd7b7f8363e239ccf7fe | [
"MIT"
] | 7 | 2018-07-12T13:34:38.000Z | 2019-10-02T13:37:31.000Z | """Expose specific functions for accessbility"""
from symupy.utils.tools import timer_func, logger_func, printer_time
| 39.333333 | 68 | 0.822034 | 16 | 118 | 5.875 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09322 | 118 | 2 | 69 | 59 | 0.878505 | 0.355932 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
7a177c70b0eb31b885952d82e207445eb1848289 | 43 | py | Python | park/envs/abr_sim/__init__.py | utkarsh5k/park | e7eba74f532204564df42a8e82a65ed025ce3b30 | [
"MIT"
] | 180 | 2019-04-30T05:50:32.000Z | 2022-03-28T01:32:07.000Z | park/envs/abr_sim/__init__.py | utkarsh5k/park | e7eba74f532204564df42a8e82a65ed025ce3b30 | [
"MIT"
] | 21 | 2019-05-03T17:42:54.000Z | 2022-01-25T19:31:42.000Z | park/envs/abr_sim/__init__.py | utkarsh5k/park | e7eba74f532204564df42a8e82a65ed025ce3b30 | [
"MIT"
] | 42 | 2019-05-01T15:15:19.000Z | 2021-11-19T05:27:09.000Z | from park.envs.abr_sim.abr import ABRSimEnv | 43 | 43 | 0.860465 | 8 | 43 | 4.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 43 | 1 | 43 | 43 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e16c799778ffcdd5b21e6229129034374cd2089b | 2,061 | py | Python | modules/ipscan.py | naimkowshik/reyna-eye | f729ec964e586ae3f63ff29fd524f7aed3748a74 | [
"MIT"
] | 4 | 2021-04-22T19:19:13.000Z | 2022-02-10T09:26:58.000Z | modules/ipscan.py | naimkowshik/reyna-eye | f729ec964e586ae3f63ff29fd524f7aed3748a74 | [
"MIT"
] | null | null | null | modules/ipscan.py | naimkowshik/reyna-eye | f729ec964e586ae3f63ff29fd524f7aed3748a74 | [
"MIT"
] | 1 | 2022-02-03T19:29:46.000Z | 2022-02-03T19:29:46.000Z | import json
import os
import sys
import time
import urllib.request
R = " \033[1;31m"
B = "\033[1;34m"
Y = "\033[1;33m"
RS = "\033[0m"
G = "\033[32m"
W = "\033[1;37m"
os.system("clear")
print("\n \033[1;31m [\033[1;33mi\033[1;31m]\033[0m \033[1;33mIP\033[0m" + R + "Address " + Y + "information " "\033[... | 49.071429 | 157 | 0.553615 | 371 | 2,061 | 3.075472 | 0.183288 | 0.185802 | 0.196319 | 0.271692 | 0.532866 | 0.522349 | 0.522349 | 0.493427 | 0.493427 | 0.493427 | 0 | 0.281762 | 0.140708 | 2,061 | 41 | 158 | 50.268293 | 0.362507 | 0 | 0 | 0.054054 | 0 | 0.405405 | 0.564851 | 0.30396 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.135135 | 0 | 0.135135 | 0.432432 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
e1701874b1af0aab3ac6c160408ddb9c57847cb4 | 12,452 | py | Python | src/keri/demo/demoing.py | ntelfer/keripy | 8433bfc35f751d62a413c62b570a7d1983163123 | [
"Apache-2.0"
] | null | null | null | src/keri/demo/demoing.py | ntelfer/keripy | 8433bfc35f751d62a413c62b570a7d1983163123 | [
"Apache-2.0"
] | 4 | 2021-01-27T15:13:33.000Z | 2021-02-28T22:06:28.000Z | src/keri/demo/demoing.py | ntelfer/keripy | 8433bfc35f751d62a413c62b570a7d1983163123 | [
"Apache-2.0"
] | null | null | null | # -*- encoding: utf-8 -*-
"""
KERI
keri.base.directing module
simple direct mode demo support classes
"""
import os
import json
from hio.base import doing
from hio.core import wiring
from hio.core.tcp import clienting, serving
from .. import kering
from ..db import dbing
from ..core import coring, eventing
from ..b... | 35.175141 | 103 | 0.602955 | 1,577 | 12,452 | 4.746988 | 0.152822 | 0.041143 | 0.039941 | 0.052231 | 0.792279 | 0.788672 | 0.788672 | 0.781459 | 0.772642 | 0.763559 | 0 | 0.003769 | 0.2969 | 12,452 | 353 | 104 | 35.274788 | 0.851285 | 0.365564 | 0 | 0.71345 | 0 | 0.005848 | 0.086158 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023392 | false | 0.035088 | 0.05848 | 0 | 0.122807 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e17200ade0c5f7d02b896ac54f7675b34e0b64cf | 837 | py | Python | sob/utilities/__init__.py | davebelais/sob | 0bcf33080f295fb4b9039d8728148f7e5fb3a614 | [
"MIT"
] | null | null | null | sob/utilities/__init__.py | davebelais/sob | 0bcf33080f295fb4b9039d8728148f7e5fb3a614 | [
"MIT"
] | null | null | null | sob/utilities/__init__.py | davebelais/sob | 0bcf33080f295fb4b9039d8728148f7e5fb3a614 | [
"MIT"
] | 1 | 2021-11-10T22:02:02.000Z | 2021-11-10T22:02:02.000Z | from typing import List
from . import io
from . import inspect
from . import string
from . import types
from .inspect import (
calling_function_qualified_name,
calling_functions_qualified_names,
get_source,
parameters_defaults,
properties_values,
qualified_name,
)
from .string import (
cam... | 18.6 | 40 | 0.679809 | 93 | 837 | 5.666667 | 0.354839 | 0.075901 | 0.091082 | 0.106262 | 0.728653 | 0.728653 | 0.728653 | 0.728653 | 0.728653 | 0.728653 | 0 | 0 | 0.224612 | 837 | 44 | 41 | 19.022727 | 0.812018 | 0 | 0 | 0 | 0 | 0 | 0.275986 | 0.108722 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.170732 | 0 | 0.170732 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e17bf342b30a781b4fc187dba9c2944cae03f7d6 | 96 | py | Python | venv/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/factory.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/factory.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/factory.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/85/8b/d3/c8815ec1af275c4cf000bc2b22a0be7afe47351db00e274e9387a286d9 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.40625 | 0 | 96 | 1 | 96 | 96 | 0.489583 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e19466c6439f51032a411a1cfdbd1752d947ae90 | 185 | py | Python | Iterators_Generators/Possible_permutations.py | vasetousa/OOP | e4fedc497dd149c9800613ea11846e0e770d122c | [
"MIT"
] | null | null | null | Iterators_Generators/Possible_permutations.py | vasetousa/OOP | e4fedc497dd149c9800613ea11846e0e770d122c | [
"MIT"
] | null | null | null | Iterators_Generators/Possible_permutations.py | vasetousa/OOP | e4fedc497dd149c9800613ea11846e0e770d122c | [
"MIT"
] | null | null | null | from itertools import permutations
def possible_permutations(sequence):
return (list(per) for per in permutations(sequence))
[print(n) for n in possible_permutations([1, 2, 3])] | 23.125 | 56 | 0.756757 | 26 | 185 | 5.307692 | 0.653846 | 0.289855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0.140541 | 185 | 8 | 57 | 23.125 | 0.849057 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
befb28a6624ddab6341f803e5d5eb66d94875659 | 4,150 | py | Python | Server/tests/views/test_details.py | Jaws-bar/Entry3.0-Admin | b760ef09c5b93b34a38886fc4446b1ee96b0ef09 | [
"MIT"
] | 2 | 2018-08-15T06:32:21.000Z | 2018-09-13T14:55:09.000Z | Server/tests/views/test_details.py | EntryDSM/Entry3.0-AdminSystem | b760ef09c5b93b34a38886fc4446b1ee96b0ef09 | [
"MIT"
] | null | null | null | Server/tests/views/test_details.py | EntryDSM/Entry3.0-AdminSystem | b760ef09c5b93b34a38886fc4446b1ee96b0ef09 | [
"MIT"
] | 1 | 2018-08-15T05:51:11.000Z | 2018-08-15T05:51:11.000Z | from tests.views import SAMPLE_GRADUATE_USER_ID, SAMPLE_GED_USER_ID
from tests.views import SAMPLE_GRADUATE_DETAIL_INFO, SAMPLE_GED_DETAIL_INFO
from tests.views import SAMPLE_GRADUATE_DETAIL_GRADE, SAMPLE_GED_DETAIL_GRADE
def test_view_detail_information(flask_app, create_fake_account):
test_client = flask_app.te... | 33.739837 | 129 | 0.698313 | 524 | 4,150 | 5.255725 | 0.179389 | 0.065359 | 0.050835 | 0.130719 | 0.823893 | 0.814815 | 0.787219 | 0.744735 | 0.744735 | 0.618736 | 0 | 0.02202 | 0.179277 | 4,150 | 122 | 130 | 34.016393 | 0.786553 | 0.114217 | 0 | 0.556962 | 0 | 0 | 0.233752 | 0.099945 | 0 | 0 | 0 | 0 | 0.253165 | 1 | 0.050633 | false | 0 | 0.037975 | 0 | 0.088608 | 0.025316 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
830a8e05b20ab1dddfa5eca9adb8e4e104c326b7 | 201 | py | Python | ifa_smeargle/analysis/__init__.py | scottwedge/IfA_Smeargle | d46a378e534020f8920a801880912aa973daec3b | [
"MIT"
] | null | null | null | ifa_smeargle/analysis/__init__.py | scottwedge/IfA_Smeargle | d46a378e534020f8920a801880912aa973daec3b | [
"MIT"
] | 5 | 2020-06-08T22:19:37.000Z | 2020-08-25T09:10:41.000Z | ifa_smeargle/analysis/__init__.py | scottwedge/IfA_Smeargle | d46a378e534020f8920a801880912aa973daec3b | [
"MIT"
] | 1 | 2020-06-25T02:57:42.000Z | 2020-06-25T02:57:42.000Z |
# These are common functions to all analysis functions.
from ifa_smeargle.analysis import base_functions as base
from ifa_smeargle.analysis import heatmap
from ifa_smeargle.analysis import histogram | 28.714286 | 56 | 0.850746 | 29 | 201 | 5.758621 | 0.517241 | 0.125749 | 0.269461 | 0.413174 | 0.520958 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124378 | 201 | 7 | 57 | 28.714286 | 0.948864 | 0.263682 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
830c0cc99bce915404b1d9acdd2fba917e20a2e3 | 3,341 | py | Python | mmcv/runner/log_buffer.py | innerlee/mmcv | 12f065ac516c476720bc946bdc7343ae234fa3eb | [
"Apache-2.0"
] | 1 | 2021-04-21T07:28:50.000Z | 2021-04-21T07:28:50.000Z | mmcv/runner/log_buffer.py | innerlee/mmcv | 12f065ac516c476720bc946bdc7343ae234fa3eb | [
"Apache-2.0"
] | null | null | null | mmcv/runner/log_buffer.py | innerlee/mmcv | 12f065ac516c476720bc946bdc7343ae234fa3eb | [
"Apache-2.0"
] | null | null | null | from collections import OrderedDict
import numpy as np
class LogBuffer(object):
def __init__(self):
self.val_history = OrderedDict()
self.n_history = OrderedDict()
self.output = OrderedDict()
self.ready = False
def clear(self):
self.val_history.clear()
self.n... | 28.313559 | 65 | 0.539359 | 412 | 3,341 | 4.242718 | 0.140777 | 0.068078 | 0.112128 | 0.058352 | 0.810069 | 0.735698 | 0.721968 | 0.721968 | 0.721968 | 0.721968 | 0 | 0.006292 | 0.334032 | 3,341 | 118 | 66 | 28.313559 | 0.779326 | 0.529782 | 0 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 1 | 0.181818 | false | 0 | 0.045455 | 0 | 0.272727 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
36159048e256999aa1cdfc532468ccc241e0b454 | 164 | py | Python | classifier/exceptions.py | django-stars/django-classifier | d2f207c80b47f755be2e23fc472a838e440088d4 | [
"BSD-3-Clause"
] | 26 | 2016-09-01T05:11:57.000Z | 2021-09-01T03:38:54.000Z | classifier/exceptions.py | django-stars/django-classifier | d2f207c80b47f755be2e23fc472a838e440088d4 | [
"BSD-3-Clause"
] | 2 | 2017-04-01T08:48:58.000Z | 2018-05-02T13:43:16.000Z | classifier/exceptions.py | django-stars/django-classifier | d2f207c80b47f755be2e23fc472a838e440088d4 | [
"BSD-3-Clause"
] | 2 | 2017-04-01T08:45:12.000Z | 2018-05-01T16:40:17.000Z | class ClassifierModelNotFound(Exception):
pass
class ClassifierLabelModelNotFound(Exception):
pass
class NoValueFieldNameSpecified(Exception):
pass
| 14.909091 | 46 | 0.792683 | 12 | 164 | 10.833333 | 0.5 | 0.3 | 0.276923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152439 | 164 | 10 | 47 | 16.4 | 0.935252 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
36749c5c65f9085096e9897f85b3fe8260893090 | 54 | py | Python | vema/__init__.py | episuarez/vema | 615ea8524bd82c9deaf1bcc0bfe7840ef1cc3493 | [
"BSD-3-Clause"
] | null | null | null | vema/__init__.py | episuarez/vema | 615ea8524bd82c9deaf1bcc0bfe7840ef1cc3493 | [
"BSD-3-Clause"
] | null | null | null | vema/__init__.py | episuarez/vema | 615ea8524bd82c9deaf1bcc0bfe7840ef1cc3493 | [
"BSD-3-Clause"
] | null | null | null | from .src.vema import Vema
from .src.page import Page | 27 | 27 | 0.777778 | 10 | 54 | 4.2 | 0.5 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 54 | 2 | 28 | 27 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
36a75c1371655f2bba86dc2e8e778ea4202e7806 | 83 | py | Python | src/data/__init__.py | KatyKasilina/StumbleUpon-Evergreen-DataMining | de8824bb85f00aef5b9ad57690191dbc984b9384 | [
"MIT"
] | null | null | null | src/data/__init__.py | KatyKasilina/StumbleUpon-Evergreen-DataMining | de8824bb85f00aef5b9ad57690191dbc984b9384 | [
"MIT"
] | null | null | null | src/data/__init__.py | KatyKasilina/StumbleUpon-Evergreen-DataMining | de8824bb85f00aef5b9ad57690191dbc984b9384 | [
"MIT"
] | null | null | null | from .make_dataset import split_train_val_data
__all__ = ["split_train_val_data"]
| 20.75 | 46 | 0.831325 | 13 | 83 | 4.461538 | 0.692308 | 0.344828 | 0.448276 | 0.586207 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096386 | 83 | 3 | 47 | 27.666667 | 0.773333 | 0 | 0 | 0 | 0 | 0 | 0.240964 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
36bae09d2ccde04f1dc63a62952071439a4951a9 | 480 | py | Python | clannad.py | c52e/SurvivalcraftMusic | a20838a9d1857a4a87e654de2c6dd7a2c0a2ba5e | [
"MIT"
] | 1 | 2020-12-10T09:53:34.000Z | 2020-12-10T09:53:34.000Z | clannad.py | yumorn/SurvivalcraftMusic | a20838a9d1857a4a87e654de2c6dd7a2c0a2ba5e | [
"MIT"
] | null | null | null | clannad.py | yumorn/SurvivalcraftMusic | a20838a9d1857a4a87e654de2c6dd7a2c0a2ba5e | [
"MIT"
] | null | null | null | from trans_funcs import transToSurvivalCraft
clannad = \
'''
0 0 0 0 0 0*6*5 ^1 0^1 0^2 0^2 0 ^3 0^1 0*5 0*6*5 ^1 0^1 0^2 0^2 0
^3^3^1 0 0 0*6*5 ^1 0^1 0^2^2^1 0 0 0 0 0 0 0*6*5 *1 0*1 0*2 0*2 0
*3 0*1 0+5 0+6+5 *1 0*1 0*2 0*2 0 *3 0*2 0 0 0+6+5 *1 0*1 0*2 0*1 0
0 0 0 0 0 0+6+5 *1 0*1 0*2 0*2 0 *3 0*1 0+... | 34.285714 | 70 | 0.525 | 173 | 480 | 1.450867 | 0.092486 | 0.247012 | 0.286853 | 0.270916 | 0.593626 | 0.593626 | 0.593626 | 0.593626 | 0.585657 | 0.585657 | 0 | 0.472464 | 0.28125 | 480 | 14 | 71 | 34.285714 | 0.255072 | 0.008333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
36bc3f2c9964cc516c5c7b973b9725470ebed701 | 130 | py | Python | src/utils/dict2namedtuple.py | ewanlee/mackrl | 6dd505aa09830f16c35a022f67e255db935c807e | [
"Apache-2.0"
] | 26 | 2019-10-28T09:01:45.000Z | 2021-09-20T08:56:12.000Z | src/utils/dict2namedtuple.py | umersheikh846/WQMIX | 3fbc088273c4ddb6876a352d18f057c50703546c | [
"Apache-1.1"
] | 1 | 2021-11-04T13:17:54.000Z | 2021-11-06T04:42:16.000Z | src/utils/dict2namedtuple.py | umersheikh846/WQMIX | 3fbc088273c4ddb6876a352d18f057c50703546c | [
"Apache-1.1"
] | 7 | 2020-08-05T21:12:11.000Z | 2021-04-12T14:23:43.000Z | from collections import namedtuple
def convert(dictionary):
return namedtuple('GenericDict', dictionary.keys())(**dictionary)
| 32.5 | 69 | 0.784615 | 13 | 130 | 7.846154 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 130 | 3 | 70 | 43.333333 | 0.871795 | 0 | 0 | 0 | 0 | 0 | 0.084615 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
3d214ce14b88a62a168ea9eec8125c588b4ae473 | 114 | py | Python | harvester/harvester/components/adaptors/__init__.py | HammerMuseum/channel-backend | 7c4e4259d6a043daa9f41b9ad5ae0a63fd1c475e | [
"MIT"
] | 3 | 2021-05-05T18:19:27.000Z | 2021-05-28T18:03:28.000Z | harvester/harvester/components/adaptors/__init__.py | HammerMuseum/channel-backend | 7c4e4259d6a043daa9f41b9ad5ae0a63fd1c475e | [
"MIT"
] | 4 | 2021-05-17T14:13:51.000Z | 2021-05-17T14:22:46.000Z | harvester/harvester/components/adaptors/__init__.py | HammerMuseum/channel-backend | 7c4e4259d6a043daa9f41b9ad5ae0a63fd1c475e | [
"MIT"
] | null | null | null | from .ElasticsearchAdaptor import ElasticsearchAdaptor
from .LocalRepositoryAdaptor import LocalRepositoryAdaptor
| 38 | 58 | 0.912281 | 8 | 114 | 13 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070175 | 114 | 2 | 59 | 57 | 0.981132 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3d2f71274e0065838dc8140b62c69eba3f52bf6b | 15,680 | py | Python | fault_tolerant_flight_control_drl/tools/plot_training.py | kdally/fault-tolerant-flight-control-drl | 800a1c9319b44ab2b1d17f6e19266c2392d6e57b | [
"MIT"
] | 8 | 2021-02-27T09:49:57.000Z | 2022-03-21T16:28:08.000Z | fault_tolerant_flight_control_drl/tools/plot_training.py | kdally/fault-tolerant-flight-control-drl | 800a1c9319b44ab2b1d17f6e19266c2392d6e57b | [
"MIT"
] | null | null | null | fault_tolerant_flight_control_drl/tools/plot_training.py | kdally/fault-tolerant-flight-control-drl | 800a1c9319b44ab2b1d17f6e19266c2392d6e57b | [
"MIT"
] | 2 | 2021-03-04T07:24:35.000Z | 2021-11-17T04:21:08.000Z | import numpy as np
import pandas as pd
import plotly.graph_objects as go
pd.set_option('mode.chained_assignment', None)
def plot_training(ID: str, task_type: str):
"""
plot the training progress of one controller
"""
df = pd.read_csv(f'fault_tolerant_flight_control_drl/agent/trained/{task_type}_{ID}... | 37.156398 | 125 | 0.578763 | 2,353 | 15,680 | 3.646409 | 0.099448 | 0.020979 | 0.029371 | 0.033217 | 0.872145 | 0.830653 | 0.793939 | 0.779487 | 0.766084 | 0.705711 | 0 | 0.075173 | 0.215242 | 15,680 | 421 | 126 | 37.244656 | 0.622105 | 0.279209 | 0 | 0.606557 | 0 | 0 | 0.203551 | 0.080972 | 0 | 0 | 0 | 0 | 0.008197 | 1 | 0.016393 | false | 0 | 0.012295 | 0 | 0.028689 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e9e4605e3eea6f82b44adf07c626d49fd1e52172 | 107 | py | Python | pypy/rlib/rsre/test/test_rsre_platform.py | woodrow/pyoac | b5dc59e6a38e7912db47f26fb23ffa4764a3c0e7 | [
"MIT"
] | 1 | 2019-05-27T00:58:46.000Z | 2019-05-27T00:58:46.000Z | pypy/rlib/rsre/test/test_rsre_platform.py | woodrow/pyoac | b5dc59e6a38e7912db47f26fb23ffa4764a3c0e7 | [
"MIT"
] | null | null | null | pypy/rlib/rsre/test/test_rsre_platform.py | woodrow/pyoac | b5dc59e6a38e7912db47f26fb23ffa4764a3c0e7 | [
"MIT"
] | null | null | null |
from pypy.rlib.rsre._rsre_platform import *
def test_tolower():
assert tolower(ord('A')) == ord('a')
| 17.833333 | 43 | 0.672897 | 16 | 107 | 4.3125 | 0.75 | 0.115942 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149533 | 107 | 5 | 44 | 21.4 | 0.758242 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e9f667b861669872738bd84c539621a64d25ef0b | 124 | py | Python | src/frames/__init__.py | deplanty/toovico | 6ff5e01cc8705569e22ac8261e2bbd8fd9720b8c | [
"MIT"
] | null | null | null | src/frames/__init__.py | deplanty/toovico | 6ff5e01cc8705569e22ac8261e2bbd8fd9720b8c | [
"MIT"
] | null | null | null | src/frames/__init__.py | deplanty/toovico | 6ff5e01cc8705569e22ac8261e2bbd8fd9720b8c | [
"MIT"
] | null | null | null | from .main_ui import MainUI
from .convert_video_tab import ConvertVideoTab
from .image_to_video_tab import ImageToVideoTab
| 24.8 | 47 | 0.870968 | 18 | 124 | 5.666667 | 0.666667 | 0.156863 | 0.27451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104839 | 124 | 4 | 48 | 31 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
185fcd9e604f56d92107e7c796a6c4dd6dbdd6fd | 159 | py | Python | applications/baseapp/views/__init__.py | ajitjasrotia/django-project-skeleton | 70e3e06384dfb018f59b1af8c7c3febf2bbcd47c | [
"MIT"
] | 48 | 2018-01-10T11:21:35.000Z | 2021-09-08T23:28:07.000Z | applications/baseapp/views/__init__.py | ajitjasrotia/django-project-skeleton | 70e3e06384dfb018f59b1af8c7c3febf2bbcd47c | [
"MIT"
] | 26 | 2018-04-20T10:46:00.000Z | 2019-09-21T06:47:13.000Z | applications/baseapp/views/__init__.py | ajitjasrotia/django-project-skeleton | 70e3e06384dfb018f59b1af8c7c3febf2bbcd47c | [
"MIT"
] | 20 | 2019-03-09T19:46:10.000Z | 2022-03-27T14:57:03.000Z | # isort:skip_file
# flake8: noqa
from .index import IndexView
from .http_errors import custom_400_error, custom_403_error, custom_404_error, custom_500_error
| 26.5 | 95 | 0.836478 | 25 | 159 | 4.92 | 0.68 | 0.268293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091549 | 0.106918 | 159 | 5 | 96 | 31.8 | 0.774648 | 0.176101 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a1982f64810c5c5d8d3fd318a2d72ad7dfee6f65 | 13,963 | py | Python | skdecide/builders/domain/events.py | emilienDespres/scikit-decide | 2a3dd2d93e5e6d07984e1bc02b6e969261aeefbc | [
"MIT"
] | 27 | 2020-11-23T11:45:31.000Z | 2022-03-22T08:08:00.000Z | skdecide/builders/domain/events.py | emilienDespres/scikit-decide | 2a3dd2d93e5e6d07984e1bc02b6e969261aeefbc | [
"MIT"
] | 94 | 2021-02-24T09:50:23.000Z | 2022-02-27T10:07:15.000Z | skdecide/builders/domain/events.py | emilienDespres/scikit-decide | 2a3dd2d93e5e6d07984e1bc02b6e969261aeefbc | [
"MIT"
] | 12 | 2020-12-08T10:38:26.000Z | 2021-10-01T09:17:04.000Z | # Copyright (c) AIRBUS and its affiliates.
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
from __future__ import annotations
import functools
from typing import Optional, Union
from skdecide.core import D, EmptySpace, Space, autocastable
_... | 39.894286 | 120 | 0.673208 | 1,836 | 13,963 | 4.961874 | 0.086601 | 0.012514 | 0.017563 | 0.013831 | 0.910209 | 0.854446 | 0.830845 | 0.821515 | 0.821515 | 0.816136 | 0 | 0 | 0.256105 | 13,963 | 349 | 121 | 40.008596 | 0.877058 | 0.620067 | 0 | 0.546392 | 0 | 0 | 0.007974 | 0 | 0 | 0 | 0 | 0.002865 | 0 | 1 | 0.195876 | false | 0 | 0.041237 | 0.020619 | 0.443299 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a1d3fa801143392c06e8243ccd650eeceb71a3fe | 44 | py | Python | ggacha/ext/__init__.py | wmyfelix/genshin-gacha-kit | 1828004ae2807b4f99b6b879545f344b60b01013 | [
"MIT"
] | 3 | 2021-06-21T04:21:46.000Z | 2021-08-10T22:28:33.000Z | ggacha/ext/__init__.py | wmyfelix/genshin-gacha-kit | 1828004ae2807b4f99b6b879545f344b60b01013 | [
"MIT"
] | 1 | 2021-07-27T14:28:49.000Z | 2022-02-21T16:15:19.000Z | ggacha/ext/__init__.py | wmyfelix/genshin-gacha-kit | 1828004ae2807b4f99b6b879545f344b60b01013 | [
"MIT"
] | 1 | 2021-07-29T12:40:14.000Z | 2021-07-29T12:40:14.000Z | from ggacha.ext.storage import save_as_xlsx
| 22 | 43 | 0.863636 | 8 | 44 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b802ec72f0dd0f660f26416bbbb05c7e5d3aa320 | 775 | py | Python | tests/utils.py | d53dave/reverb-custom-search | df001aa85368fdd19b82febf69dde4429b96d05d | [
"MIT"
] | null | null | null | tests/utils.py | d53dave/reverb-custom-search | df001aa85368fdd19b82febf69dde4429b96d05d | [
"MIT"
] | 6 | 2021-03-09T23:41:49.000Z | 2022-02-26T20:21:41.000Z | tests/utils.py | d53dave/reverb-custom-search | df001aa85368fdd19b82febf69dde4429b96d05d | [
"MIT"
] | null | null | null | import json
from flask import Response
from werkzeug.utils import cached_property
class JSONResponse(Response):
@cached_property
def json(self):
return json.loads(self.get_data(as_text=True))
@cached_property
def conflict(self):
return self.status_code == 409
@cached_property
... | 19.375 | 54 | 0.665806 | 101 | 775 | 4.920792 | 0.425743 | 0.225352 | 0.239437 | 0.241449 | 0.297787 | 0.104628 | 0 | 0 | 0 | 0 | 0 | 0.041237 | 0.249032 | 775 | 39 | 55 | 19.871795 | 0.812715 | 0 | 0 | 0.259259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.296296 | false | 0.037037 | 0.111111 | 0.259259 | 0.703704 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.