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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
08c1ce03203727ebf7c8655e35027b9c40964b06 | 11,404 | py | Python | opentsp/reducers.py | james-langbein/OpenTSP | 20b8cef4dd0800ad032842d2caa6c6bddafa79e3 | [
"MIT"
] | null | null | null | opentsp/reducers.py | james-langbein/OpenTSP | 20b8cef4dd0800ad032842d2caa6c6bddafa79e3 | [
"MIT"
] | null | null | null | opentsp/reducers.py | james-langbein/OpenTSP | 20b8cef4dd0800ad032842d2caa6c6bddafa79e3 | [
"MIT"
] | null | null | null | from opentsp import helpers
def diamond_prune(instance):
# def list_prune(ls):
# var = True # may not be needed
# while var is True: # may not be needed
# bad_count = 0 # may not be needed
# semi_pruned_ls = [i for i in ls if i.fitness == 'good'] # may not be needed
... | 50.460177 | 118 | 0.514293 | 1,651 | 11,404 | 3.288916 | 0.079346 | 0.092818 | 0.030387 | 0.036464 | 0.819153 | 0.79116 | 0.781768 | 0.775875 | 0.753407 | 0.753407 | 0 | 0.02768 | 0.379078 | 11,404 | 225 | 119 | 50.684444 | 0.739161 | 0.683795 | 0 | 0.1875 | 0 | 0 | 0.056504 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041667 | false | 0.020833 | 0.020833 | 0 | 0.083333 | 0.0625 | 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 |
3e9b47c6499dae36c99eebabc156e1b8d2ff70e5 | 132 | py | Python | raiden_contracts/tests/utils/__init__.py | karlb/raiden-contracts | 944eb6aa4cc0189caab5b735b46bb6fb72ad5658 | [
"MIT"
] | 49 | 2018-03-18T07:25:46.000Z | 2022-03-11T14:07:18.000Z | raiden_contracts/tests/utils/__init__.py | karlb/raiden-contracts | 944eb6aa4cc0189caab5b735b46bb6fb72ad5658 | [
"MIT"
] | 1,378 | 2018-03-13T03:41:06.000Z | 2022-03-28T23:19:12.000Z | raiden_contracts/tests/utils/__init__.py | karlb/raiden-contracts | 944eb6aa4cc0189caab5b735b46bb6fb72ad5658 | [
"MIT"
] | 55 | 2018-03-21T14:37:27.000Z | 2022-02-07T10:31:59.000Z | # flake8: noqa
from .address import *
from .channel import *
from .constants import *
from .contracts import *
from .mock import *
| 16.5 | 24 | 0.727273 | 17 | 132 | 5.647059 | 0.529412 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009259 | 0.181818 | 132 | 7 | 25 | 18.857143 | 0.87963 | 0.090909 | 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 |
3ec4e9bd554a490aa01de9a036092a04cfc87f0a | 29 | py | Python | setup.py | anqurvanillapy/presentaski | d375b888879abe464e70fe1fe7c1082a2a5e0785 | [
"MIT"
] | 24 | 2019-07-20T22:37:09.000Z | 2021-07-07T07:13:56.000Z | setup.py | anqurvanillapy/presentaski | d375b888879abe464e70fe1fe7c1082a2a5e0785 | [
"MIT"
] | 3 | 2021-05-10T05:29:59.000Z | 2022-02-10T00:15:05.000Z | setup.py | anqurvanillapy/presentaski | d375b888879abe464e70fe1fe7c1082a2a5e0785 | [
"MIT"
] | 8 | 2019-08-09T17:30:20.000Z | 2021-12-01T13:27:46.000Z | from setuptools import setup
| 14.5 | 28 | 0.862069 | 4 | 29 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 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 |
4110b685b7c3efb41ed2c84c1dc208a8344732bb | 76 | py | Python | src/quicknlp/callbacks.py | jalajthanaki/quick-nlp | 861a54c9e30de076a2316cb6712d934de4058cc5 | [
"MIT"
] | 287 | 2018-04-10T10:58:09.000Z | 2022-03-22T02:05:40.000Z | src/quicknlp/callbacks.py | scutcyr/quick-nlp | 861a54c9e30de076a2316cb6712d934de4058cc5 | [
"MIT"
] | 1 | 2018-07-03T17:10:03.000Z | 2018-07-03T17:10:03.000Z | src/quicknlp/callbacks.py | scutcyr/quick-nlp | 861a54c9e30de076a2316cb6712d934de4058cc5 | [
"MIT"
] | 51 | 2018-04-10T11:38:02.000Z | 2021-10-17T06:23:43.000Z | from fastai.sgdr import Callback
class CVAELossCallback(Callback):
pass | 15.2 | 33 | 0.802632 | 9 | 76 | 6.777778 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144737 | 76 | 5 | 34 | 15.2 | 0.938462 | 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 |
f5f41b04bdef9371c3382cf0095ebebb32a8196c | 169 | py | Python | airline/flights/admin.py | VToropov1337/django_airline | 295a0f97a65edb0c76a38a5aa903665bf0c01765 | [
"MIT"
] | null | null | null | airline/flights/admin.py | VToropov1337/django_airline | 295a0f97a65edb0c76a38a5aa903665bf0c01765 | [
"MIT"
] | null | null | null | airline/flights/admin.py | VToropov1337/django_airline | 295a0f97a65edb0c76a38a5aa903665bf0c01765 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Airport, Flight, Passenger
admin.site.register(Airport)
admin.site.register(Flight)
admin.site.register(Passenger)
| 24.142857 | 46 | 0.822485 | 23 | 169 | 6.043478 | 0.478261 | 0.194245 | 0.366906 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08284 | 169 | 6 | 47 | 28.166667 | 0.896774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.4 | 0.4 | 0 | 0.4 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
eb18f87f2a6ef17d2166fa2c4f51f0de8e68836c | 143 | py | Python | test/com/facebook/buck/cli/testdata/run-command/cmd/echo_var.py | Unknoob/buck | 2dfc734354b326f2f66896dde7746a11965d5a13 | [
"Apache-2.0"
] | 8,027 | 2015-01-02T05:31:44.000Z | 2022-03-31T07:08:09.000Z | test/com/facebook/buck/cli/testdata/run-command/cmd/echo_var.py | Unknoob/buck | 2dfc734354b326f2f66896dde7746a11965d5a13 | [
"Apache-2.0"
] | 2,355 | 2015-01-01T15:30:53.000Z | 2022-03-30T20:21:16.000Z | test/com/facebook/buck/cli/testdata/run-command/cmd/echo_var.py | Unknoob/buck | 2dfc734354b326f2f66896dde7746a11965d5a13 | [
"Apache-2.0"
] | 1,280 | 2015-01-09T03:29:04.000Z | 2022-03-30T15:14:14.000Z | from __future__ import absolute_import, division, print_function, unicode_literals
import os
print("VAR is '{}'".format(os.environ["VAR"]))
| 20.428571 | 82 | 0.762238 | 19 | 143 | 5.368421 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104895 | 143 | 6 | 83 | 23.833333 | 0.796875 | 0 | 0 | 0 | 0 | 0 | 0.097902 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 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 |
de8042d584231abcb103312139a99500ecfab225 | 100 | py | Python | demo/api/jobs/__init__.py | benranderson/demo | b27834c79b19b478c917edced8e170122a0f7113 | [
"MIT"
] | 1 | 2019-11-01T09:43:19.000Z | 2019-11-01T09:43:19.000Z | demo/api/jobs/__init__.py | benranderson/demo | b27834c79b19b478c917edced8e170122a0f7113 | [
"MIT"
] | 12 | 2019-09-30T22:35:20.000Z | 2019-10-12T23:39:01.000Z | demo/api/jobs/__init__.py | benranderson/demo | b27834c79b19b478c917edced8e170122a0f7113 | [
"MIT"
] | 1 | 2019-11-13T12:19:17.000Z | 2019-11-13T12:19:17.000Z | from flask import Blueprint
jobs_bp = Blueprint("jobs", __name__)
from demo.api.jobs import views
| 16.666667 | 37 | 0.78 | 15 | 100 | 4.866667 | 0.666667 | 0.356164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 100 | 5 | 38 | 20 | 0.848837 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
dec164630cfbc43375279b1efaac08306afb6ace | 303 | py | Python | src/python/WMComponent/DBS3Buffer/Oracle/UpdateAlgo.py | khurtado/WMCore | f74e252412e49189a92962945a94f93bec81cd1e | [
"Apache-2.0"
] | 21 | 2015-11-19T16:18:45.000Z | 2021-12-02T18:20:39.000Z | src/python/WMComponent/DBS3Buffer/Oracle/UpdateAlgo.py | khurtado/WMCore | f74e252412e49189a92962945a94f93bec81cd1e | [
"Apache-2.0"
] | 5,671 | 2015-01-06T14:38:52.000Z | 2022-03-31T22:11:14.000Z | src/python/WMComponent/DBS3Buffer/Oracle/UpdateAlgo.py | khurtado/WMCore | f74e252412e49189a92962945a94f93bec81cd1e | [
"Apache-2.0"
] | 67 | 2015-01-21T15:55:38.000Z | 2022-02-03T19:53:13.000Z | #!/usr/bin/env python
"""
_DBSBuffer.UpdateAlgo_
Add PSetHash to Algo in DBS Buffer
"""
from WMComponent.DBS3Buffer.MySQL.UpdateAlgo import UpdateAlgo as MySQLUpdateAlgo
class UpdateAlgo(MySQLUpdateAlgo):
"""
_DBSBuffer.UpdateAlgo_
Add PSetHash to Algo in DBS Buffer
"""
pass
| 15.15 | 81 | 0.726073 | 35 | 303 | 6.171429 | 0.628571 | 0.175926 | 0.203704 | 0.277778 | 0.435185 | 0.435185 | 0.435185 | 0.435185 | 0.435185 | 0 | 0 | 0.004082 | 0.191419 | 303 | 19 | 82 | 15.947368 | 0.877551 | 0.455446 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
dee8087bc4133c328f5c4ece67a40882bd7c4250 | 342 | py | Python | silversaucer/services/today_service.py | prcutler/silversaucer | aff67757da934c0fe7a8c71c6b239356d737f701 | [
"MIT"
] | 2 | 2020-06-27T13:55:19.000Z | 2021-12-10T17:40:39.000Z | silversaucer/services/today_service.py | prcutler/silversaucer | aff67757da934c0fe7a8c71c6b239356d737f701 | [
"MIT"
] | 23 | 2019-06-20T13:45:34.000Z | 2022-03-10T10:23:21.000Z | silversaucer/services/today_service.py | prcutler/silversaucer | aff67757da934c0fe7a8c71c6b239356d737f701 | [
"MIT"
] | null | null | null | import requests
import silversaucer.data.config as config
class AlbumInfo:
def album_release():
pass
def album_parent_release():
pass
def first_release():
pass
def album_anniversary():
pass
class ArtistInfo:
def artist_birthday():
pass
def artist_... | 13.153846 | 41 | 0.616959 | 37 | 342 | 5.513514 | 0.513514 | 0.137255 | 0.205882 | 0.186275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.318713 | 342 | 25 | 42 | 13.68 | 0.875536 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | true | 0.375 | 0.125 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
723949c7a3257f7818be3e37d8ccd1dd402ec79f | 105,843 | py | Python | nfv/nfv-vim/nfv_vim/event_log/_instance.py | SidneyAn/nfv | 5f0262a5b6ea4be59f977b9c587c483cbe0e373d | [
"Apache-2.0"
] | 2 | 2020-02-07T19:01:36.000Z | 2022-02-23T01:41:46.000Z | nfv/nfv-vim/nfv_vim/event_log/_instance.py | SidneyAn/nfv | 5f0262a5b6ea4be59f977b9c587c483cbe0e373d | [
"Apache-2.0"
] | 1 | 2021-01-14T12:02:25.000Z | 2021-01-14T12:02:25.000Z | nfv/nfv-vim/nfv_vim/event_log/_instance.py | SidneyAn/nfv | 5f0262a5b6ea4be59f977b9c587c483cbe0e373d | [
"Apache-2.0"
] | 2 | 2021-01-13T08:39:21.000Z | 2022-02-09T00:21:55.000Z | #
# Copyright (c) 2015-2016 Wind River Systems, Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
import six
from nfv_common import event_log
# Log Template Definitions
# *** Don't add a period to the end of reason_text, these are not sentences.
_event_templates = {
event_log.EVENT_ID.INSTANCE_RENAMED: {
'... | 45.700777 | 84 | 0.588353 | 11,424 | 105,843 | 5.108193 | 0.020746 | 0.080197 | 0.129652 | 0.083488 | 0.943913 | 0.937007 | 0.928731 | 0.919083 | 0.911286 | 0.905357 | 0 | 0.000133 | 0.290298 | 105,843 | 2,315 | 85 | 45.720518 | 0.776735 | 0.010242 | 0 | 0.613022 | 0 | 0 | 0.399058 | 0.123318 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002751 | false | 0 | 0.055938 | 0.000459 | 0.062357 | 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 |
a0fbd694aac5708b8c216e49c04e1d5622cf0bfb | 36 | py | Python | sparkler/__init__.py | boazjohn/pyspark-job-server | bda2fa454b7875494869be81c9d75802df194feb | [
"BSD-3-Clause"
] | null | null | null | sparkler/__init__.py | boazjohn/pyspark-job-server | bda2fa454b7875494869be81c9d75802df194feb | [
"BSD-3-Clause"
] | null | null | null | sparkler/__init__.py | boazjohn/pyspark-job-server | bda2fa454b7875494869be81c9d75802df194feb | [
"BSD-3-Clause"
] | null | null | null | from context import SparklerContext
| 18 | 35 | 0.888889 | 4 | 36 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 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 |
19d953509b92dd564bf07109682800cdd1f4832c | 27 | py | Python | src/euler_python_package/euler_python/medium/p239.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p239.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p239.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | def problem239():
pass
| 9 | 17 | 0.62963 | 3 | 27 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.259259 | 27 | 2 | 18 | 13.5 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
dfab125bfcfb2993c00b0d0f0cb075a88a8e8909 | 30 | py | Python | avorion/__init__.py | rawbby/Avorion-Toolkit | a90616dd930d96ec1c7fd0035c5036e1c3b35f86 | [
"MIT"
] | null | null | null | avorion/__init__.py | rawbby/Avorion-Toolkit | a90616dd930d96ec1c7fd0035c5036e1c3b35f86 | [
"MIT"
] | null | null | null | avorion/__init__.py | rawbby/Avorion-Toolkit | a90616dd930d96ec1c7fd0035c5036e1c3b35f86 | [
"MIT"
] | null | null | null | import avorion.block as block
| 15 | 29 | 0.833333 | 5 | 30 | 5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dfae5107d8c66460f156fd7304483461711c6404 | 36 | py | Python | app_verifications/__init__.py | kskarbinski/threads-api | c144c1cb51422095922310d278f80e4996c10ea0 | [
"MIT"
] | null | null | null | app_verifications/__init__.py | kskarbinski/threads-api | c144c1cb51422095922310d278f80e4996c10ea0 | [
"MIT"
] | null | null | null | app_verifications/__init__.py | kskarbinski/threads-api | c144c1cb51422095922310d278f80e4996c10ea0 | [
"MIT"
] | null | null | null | from .base_checks import BaseChecks
| 18 | 35 | 0.861111 | 5 | 36 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 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 |
dfca0ff5a5ba58366fb925847d2dc6620830e737 | 1,291 | py | Python | dnm_cohorts/de_novos/__init__.py | jeremymcrae/dnm_cohorts | e968357797d2d370b44904129c32c2e74b36b903 | [
"MIT"
] | 1 | 2020-12-10T05:17:21.000Z | 2020-12-10T05:17:21.000Z | dnm_cohorts/de_novos/__init__.py | jeremymcrae/dnm_cohorts | e968357797d2d370b44904129c32c2e74b36b903 | [
"MIT"
] | null | null | null | dnm_cohorts/de_novos/__init__.py | jeremymcrae/dnm_cohorts | e968357797d2d370b44904129c32c2e74b36b903 | [
"MIT"
] | null | null | null |
from dnm_cohorts.de_novos.de_ligt_nejm import de_ligt_nejm_de_novos
from dnm_cohorts.de_novos.de_rubeis_nature import de_rubeis_nature_de_novos
from dnm_cohorts.de_novos.epi4k_ajhg import epi4k_ajhg_de_novos
from dnm_cohorts.de_novos.gilissen_nature import gilissen_nature_de_novos
from dnm_cohorts.de_novos.iossifov_ne... | 64.55 | 81 | 0.915569 | 222 | 1,291 | 4.810811 | 0.135135 | 0.235955 | 0.235955 | 0.269663 | 0.566479 | 0.566479 | 0.543071 | 0.438202 | 0 | 0 | 0 | 0.001642 | 0.056545 | 1,291 | 19 | 82 | 67.947368 | 0.875205 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5f12a9bdecf1655636126fd3e97971afea085ad6 | 49 | py | Python | run.py | pblan/matse-stundenplan | 5f642d1b0c549407fd4742aa09a6c08f9b222fa2 | [
"MIT"
] | 7 | 2020-09-10T17:31:12.000Z | 2021-09-16T09:06:06.000Z | run.py | pblan/matse-stundenplan | 5f642d1b0c549407fd4742aa09a6c08f9b222fa2 | [
"MIT"
] | 5 | 2020-09-10T13:50:49.000Z | 2021-06-18T09:53:00.000Z | run.py | pblan/matse-stundenplan | 5f642d1b0c549407fd4742aa09a6c08f9b222fa2 | [
"MIT"
] | null | null | null | import matse_stundenplan
matse_stundenplan.run() | 16.333333 | 24 | 0.877551 | 6 | 49 | 6.833333 | 0.666667 | 0.780488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 49 | 3 | 25 | 16.333333 | 0.891304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a06bebf4bb3329532d28e07a48f9f119d7cbf502 | 835 | py | Python | PyFTBot/PyFTBot.py | BlackRouter/PYFTBot | e7cdca979980183ca72c3c33e7c5734440eb031d | [
"MIT"
] | 2 | 2020-01-27T16:31:29.000Z | 2020-03-11T07:57:49.000Z | PyFTBot/PyFTBot.py | BlackRouter/PYFTBot | e7cdca979980183ca72c3c33e7c5734440eb031d | [
"MIT"
] | null | null | null | PyFTBot/PyFTBot.py | BlackRouter/PYFTBot | e7cdca979980183ca72c3c33e7c5734440eb031d | [
"MIT"
] | null | null | null | import requests
def postbot(token,method,arg):
url = "https://script.google.com/macros/s/AKfycbzxgX8puIgB5uXelJ2wNzxa8VbheV463rBm6_SpEau-D2v4g0q1/exec?bot_token=" + token + "&method=" + method + "&args=" + arg
payload = {}
headers = {
'Content-Type': 'application/x-www-form-urlencoded'
}... | 36.304348 | 166 | 0.68024 | 91 | 835 | 6.197802 | 0.428571 | 0.078014 | 0.049645 | 0.070922 | 0.87234 | 0.87234 | 0.87234 | 0.87234 | 0.87234 | 0.87234 | 0 | 0.037518 | 0.17006 | 835 | 22 | 167 | 37.954545 | 0.776335 | 0 | 0 | 0.470588 | 0 | 0 | 0.408383 | 0.079042 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0 | 0.058824 | 0 | 0.294118 | 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 |
a0757c706515e6945e21794bdedac1f4db254814 | 40 | py | Python | problems/pairsum/__init__.py | Benezivas/algobattle-problems | b00b85413893bd1618001a4cdaa0dd7442f4e481 | [
"MIT"
] | null | null | null | problems/pairsum/__init__.py | Benezivas/algobattle-problems | b00b85413893bd1618001a4cdaa0dd7442f4e481 | [
"MIT"
] | null | null | null | problems/pairsum/__init__.py | Benezivas/algobattle-problems | b00b85413893bd1618001a4cdaa0dd7442f4e481 | [
"MIT"
] | null | null | null | from .problem import Pairsum as Problem
| 20 | 39 | 0.825 | 6 | 40 | 5.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 40 | 1 | 40 | 40 | 0.970588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2672fc2cfba5eefb2f25005cdfafe340368b1fdb | 390 | py | Python | testing.py | Programmer-RD-AI/project-sructure-artificial-intelligence | 48ed7f95589173183fb198ea7dd52fae97966b83 | [
"Apache-2.0"
] | 1 | 2021-05-21T18:13:18.000Z | 2021-05-21T18:13:18.000Z | testing.py | Programmer-RD-AI/project-sructure | 48ed7f95589173183fb198ea7dd52fae97966b83 | [
"Apache-2.0"
] | null | null | null | testing.py | Programmer-RD-AI/project-sructure | 48ed7f95589173183fb198ea7dd52fae97966b83 | [
"Apache-2.0"
] | null | null | null | from data_loading.data_loader import *
from data_loading.transforming import *
from models.baseline_model import *
from models.final_model import *
from models.test_model import *
from models.testing_models import *
from models.transfer_learning_models import *
def data_loading():
returned_info = load_all_data()
... | 19.5 | 45 | 0.789744 | 53 | 390 | 5.528302 | 0.415094 | 0.204778 | 0.273038 | 0.215017 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146154 | 390 | 19 | 46 | 20.526316 | 0.87988 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0.076923 | 0.538462 | 0 | 0.769231 | 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 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
26873dfb7a701ba315258308bc0c30d903686db2 | 33 | py | Python | dqo/query_generator/rl/envs/__init__.py | danield137/deep_query_optimzation | 01a25c966338007f15d14dea1b37e388e47bcfe3 | [
"MIT"
] | null | null | null | dqo/query_generator/rl/envs/__init__.py | danield137/deep_query_optimzation | 01a25c966338007f15d14dea1b37e388e47bcfe3 | [
"MIT"
] | null | null | null | dqo/query_generator/rl/envs/__init__.py | danield137/deep_query_optimzation | 01a25c966338007f15d14dea1b37e388e47bcfe3 | [
"MIT"
] | null | null | null | from .db_env import DatabaseEnvV1 | 33 | 33 | 0.878788 | 5 | 33 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.090909 | 33 | 1 | 33 | 33 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
268e3c09b92531fc6760b8b6d2be506f79cafe02 | 367 | py | Python | backend/userapp/serializers.py | Lenend-KPU/LBS-Platform | 75ba24db8969248e74e9d974638977de1c0bc36a | [
"MIT"
] | 15 | 2020-12-23T13:56:49.000Z | 2021-12-10T11:04:23.000Z | backend/userapp/serializers.py | Lenend-KPU/LBS-Platform | 75ba24db8969248e74e9d974638977de1c0bc36a | [
"MIT"
] | 41 | 2021-03-19T07:51:48.000Z | 2021-11-22T09:45:46.000Z | backend/userapp/serializers.py | Lenend-KPU/LBS-Platform | 75ba24db8969248e74e9d974638977de1c0bc36a | [
"MIT"
] | 3 | 2021-03-24T15:18:24.000Z | 2021-09-11T14:51:35.000Z | # For Swagger Documentation
from rest_framework import serializers
class UserBodySerializer(serializers.Serializer):
username = serializers.CharField(help_text="사용자 이름")
email = serializers.CharField(help_text="이메일, 유니크 값, 해당 컬럼으로 로그인")
password = serializers.CharField(help_text="비밀번호, 해당 컬럼으로 로그인")
a... | 36.7 | 70 | 0.768392 | 45 | 367 | 6.155556 | 0.622222 | 0.288809 | 0.34657 | 0.404332 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133515 | 367 | 9 | 71 | 40.777778 | 0.871069 | 0.06812 | 0 | 0 | 0 | 0 | 0.141176 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0.166667 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
cd3f64e3bb017d34c9843830e808ad0ae81361b9 | 104 | py | Python | dizoo/atari/envs/__init__.py | konnase/DI-engine | f803499cad191e9277b10e194132d74757bcfc8e | [
"Apache-2.0"
] | 2 | 2021-07-30T15:55:45.000Z | 2021-07-30T16:35:10.000Z | dizoo/atari/envs/__init__.py | konnase/DI-engine | f803499cad191e9277b10e194132d74757bcfc8e | [
"Apache-2.0"
] | null | null | null | dizoo/atari/envs/__init__.py | konnase/DI-engine | f803499cad191e9277b10e194132d74757bcfc8e | [
"Apache-2.0"
] | null | null | null | from .atari_env import AtariEnv, AtariEnvMR
from .atari_multi_discrete_env import AtariMultiDiscreteEnv
| 34.666667 | 59 | 0.884615 | 13 | 104 | 6.769231 | 0.692308 | 0.204545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086538 | 104 | 2 | 60 | 52 | 0.926316 | 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 |
cd67e1fdd7a149b2a552c34bb798b67786cdd05e | 49 | py | Python | tests/s3bot_/test_freeze.py | jackstanek/s3bot | a0853cdf6de1f022aaa4bb795fc014d077ce76e9 | [
"MIT"
] | null | null | null | tests/s3bot_/test_freeze.py | jackstanek/s3bot | a0853cdf6de1f022aaa4bb795fc014d077ce76e9 | [
"MIT"
] | 6 | 2017-08-15T17:43:32.000Z | 2018-08-10T17:00:03.000Z | tests/s3bot_/test_freeze.py | jackstanek/s3bot | a0853cdf6de1f022aaa4bb795fc014d077ce76e9 | [
"MIT"
] | null | null | null | """Tests for freeze/unfreeze"""
import unittest
| 12.25 | 31 | 0.734694 | 6 | 49 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 49 | 3 | 32 | 16.333333 | 0.837209 | 0.510204 | 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 |
f813b33c4e4700e1c7a577d46b2db90949721c79 | 1,179 | py | Python | code/test_trend.py | baolintian/Timeseries_feature_test | 05b77b743ba268a2985503966fe7cbb02780e24b | [
"MIT"
] | null | null | null | code/test_trend.py | baolintian/Timeseries_feature_test | 05b77b743ba268a2985503966fe7cbb02780e24b | [
"MIT"
] | null | null | null | code/test_trend.py | baolintian/Timeseries_feature_test | 05b77b743ba268a2985503966fe7cbb02780e24b | [
"MIT"
] | null | null | null | import pytest
from feature_judge import *
from util import *
def test_monotone_increase():
timeseries_name = "root.CNNP.QF.1#.QF1RCP604MP"
config_path = "../config/" + timeseries_name
image_path = "../images/" + timeseries_name
timeseries_path = "../data/" + timeseries_name + ".csv"
trend_config, t... | 43.666667 | 101 | 0.694656 | 156 | 1,179 | 4.948718 | 0.25 | 0.049223 | 0.062176 | 0.067358 | 0.80829 | 0.80829 | 0.797927 | 0.797927 | 0.797927 | 0.797927 | 0 | 0.029713 | 0.17218 | 1,179 | 26 | 102 | 45.346154 | 0.76127 | 0 | 0 | 0.521739 | 0 | 0 | 0.102629 | 0.022901 | 0 | 0 | 0 | 0 | 0.086957 | 1 | 0.086957 | false | 0 | 0.130435 | 0 | 0.217391 | 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 |
f869380f817123dbe1b50e8517ed8be79ab95bfe | 4,546 | py | Python | test/unit/test_fix_4.py | dlpezbel/SDS | 43b64744d8011af6ccd62fee394d6af2b11cac68 | [
"MIT"
] | 4 | 2020-05-22T09:42:32.000Z | 2020-09-11T08:00:48.000Z | test/unit/test_fix_4.py | dlpezbel/SDS | 43b64744d8011af6ccd62fee394d6af2b11cac68 | [
"MIT"
] | 24 | 2020-07-11T07:36:26.000Z | 2020-08-30T19:49:10.000Z | test/unit/test_fix_4.py | dlpezbel/SDS | 43b64744d8011af6ccd62fee394d6af2b11cac68 | [
"MIT"
] | null | null | null | import unittest
from project.fix_4 import Fix_4_9
class Check_4_9_Test(unittest.TestCase):
def test_given_result_with_wrong_add_usage_when_fix_then_copy_instruction_returned(self):
check_result = {'evaluation': 'KO',
'code': 'DOCKERFILE_WITH_ADD_INSTRUCTION_NOT_PROPER_USED',
... | 78.37931 | 157 | 0.432248 | 371 | 4,546 | 5.09973 | 0.19407 | 0.057082 | 0.054968 | 0.029598 | 0.882664 | 0.859408 | 0.820296 | 0.806554 | 0.806554 | 0.806554 | 0 | 0.017308 | 0.428069 | 4,546 | 57 | 158 | 79.754386 | 0.710385 | 0 | 0 | 0.693878 | 0 | 0 | 0.338539 | 0.040035 | 0 | 0 | 0 | 0 | 0.102041 | 1 | 0.040816 | false | 0 | 0.040816 | 0 | 0.102041 | 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 |
f8816b77dbeebf8f665669c0185ad76a0af851fd | 218 | py | Python | gym_brt/quanser/__init__.py | Data-Science-in-Mechanical-Engineering/vision-based-furuta-pendulum | 84bfc5a089a2a8ace250f030f0298d45a3f9772f | [
"MIT"
] | 10 | 2018-08-02T20:01:13.000Z | 2021-09-07T18:09:20.000Z | gym_brt/quanser/__init__.py | Data-Science-in-Mechanical-Engineering/vision-based-furuta-pendulum | 84bfc5a089a2a8ace250f030f0298d45a3f9772f | [
"MIT"
] | 4 | 2019-05-20T18:38:34.000Z | 2022-01-24T19:49:42.000Z | gym_brt/quanser/__init__.py | Data-Science-in-Mechanical-Engineering/vision-based-furuta-pendulum | 84bfc5a089a2a8ace250f030f0298d45a3f9772f | [
"MIT"
] | 12 | 2019-04-09T03:56:50.000Z | 2022-02-02T19:01:31.000Z | from gym_brt.quanser.qube_interfaces import QubeSimulator
try:
from gym_brt.quanser.qube_interfaces import QubeHardware
except ImportError:
print("Warning: Can not import QubeHardware in quanser/__init__.py")
| 31.142857 | 72 | 0.816514 | 29 | 218 | 5.862069 | 0.655172 | 0.082353 | 0.117647 | 0.2 | 0.435294 | 0.435294 | 0.435294 | 0 | 0 | 0 | 0 | 0 | 0.123853 | 218 | 6 | 73 | 36.333333 | 0.890052 | 0 | 0 | 0 | 0 | 0 | 0.270642 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3e05ab55dc1476e96fcfbbb7524815995b45b067 | 45 | py | Python | lib/dataset/__init__.py | sunset1995/ExampleResearchProject | c17438163b272647c1e2fcfce6007bd78018ad65 | [
"MIT"
] | null | null | null | lib/dataset/__init__.py | sunset1995/ExampleResearchProject | c17438163b272647c1e2fcfce6007bd78018ad65 | [
"MIT"
] | null | null | null | lib/dataset/__init__.py | sunset1995/ExampleResearchProject | c17438163b272647c1e2fcfce6007bd78018ad65 | [
"MIT"
] | 1 | 2021-12-06T09:10:23.000Z | 2021-12-06T09:10:23.000Z | from .dataset_example import ExampleDataset
| 15 | 43 | 0.866667 | 5 | 45 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 45 | 2 | 44 | 22.5 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3e3932c9a9340ffb69e35319cd52b1460bc35836 | 30 | py | Python | cosmosis/runtime/julia_modules/__init__.py | annis/cosmosis | 55efc1bc2260ca39298c584ae809fa2a8e72a38e | [
"BSD-2-Clause"
] | 2 | 2021-06-18T14:11:59.000Z | 2022-02-23T19:19:36.000Z | cosmosis/runtime/julia_modules/__init__.py | annis/cosmosis | 55efc1bc2260ca39298c584ae809fa2a8e72a38e | [
"BSD-2-Clause"
] | 2 | 2021-11-02T12:44:24.000Z | 2022-03-30T15:09:48.000Z | cosmosis/runtime/julia_modules/__init__.py | annis/cosmosis | 55efc1bc2260ca39298c584ae809fa2a8e72a38e | [
"BSD-2-Clause"
] | 2 | 2022-03-25T21:26:27.000Z | 2022-03-29T06:37:46.000Z | from .julia import JuliaModule | 30 | 30 | 0.866667 | 4 | 30 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3e554313354911582e7fe5703208f0715c44c977 | 28 | py | Python | pyutilx/__init__.py | sarmadgulzar/pyutilx | ca7c61d17fc03dfcad0f9bd14859f59db6fd8c17 | [
"MIT"
] | null | null | null | pyutilx/__init__.py | sarmadgulzar/pyutilx | ca7c61d17fc03dfcad0f9bd14859f59db6fd8c17 | [
"MIT"
] | null | null | null | pyutilx/__init__.py | sarmadgulzar/pyutilx | ca7c61d17fc03dfcad0f9bd14859f59db6fd8c17 | [
"MIT"
] | null | null | null | from pyutilx.utils import *
| 14 | 27 | 0.785714 | 4 | 28 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.916667 | 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 |
3e917a918a2b4335601e2146e095c888305ef904 | 470 | py | Python | temboo/core/Library/PagerDuty/Events/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/PagerDuty/Events/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/PagerDuty/Events/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | from temboo.Library.PagerDuty.Events.AcknowledgeEvent import AcknowledgeEvent, AcknowledgeEventInputSet, AcknowledgeEventResultSet, AcknowledgeEventChoreographyExecution
from temboo.Library.PagerDuty.Events.ResolveEvent import ResolveEvent, ResolveEventInputSet, ResolveEventResultSet, ResolveEventChoreographyExecution
... | 117.5 | 169 | 0.910638 | 33 | 470 | 12.969697 | 0.545455 | 0.070093 | 0.119159 | 0.182243 | 0.224299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044681 | 470 | 3 | 170 | 156.666667 | 0.953229 | 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 |
e44128af074f6e50ae7363ee14705c600acb8473 | 19,490 | py | Python | 2020/029_DaVinci17/davinci17.py | toru-ver4/sample_code | 9165b4cb07a3cb1b3b5a7f6b3a329be081bddabe | [
"BSD-3-Clause"
] | 19 | 2019-11-12T23:34:35.000Z | 2022-03-08T13:21:03.000Z | 2020/029_DaVinci17/davinci17.py | toru-ver4/sample_code | 9165b4cb07a3cb1b3b5a7f6b3a329be081bddabe | [
"BSD-3-Clause"
] | 101 | 2019-08-12T01:20:13.000Z | 2022-03-18T12:17:01.000Z | 2020/029_DaVinci17/davinci17.py | toru-ver4/sample_code | 9165b4cb07a3cb1b3b5a7f6b3a329be081bddabe | [
"BSD-3-Clause"
] | 3 | 2020-06-08T09:48:08.000Z | 2022-03-09T15:35:51.000Z | # -*- coding: utf-8 -*-
"""
==========
"""
# import standard libraries
import os
# import third-party libraries
import numpy as np
import matplotlib.pyplot as plt
from colour import write_image, read_image
# import my libraries
import test_pattern_generator2 as tpg
import transfer_functions as tf
import plot_utili... | 35.436364 | 84 | 0.621601 | 2,833 | 19,490 | 3.969643 | 0.081186 | 0.045527 | 0.024009 | 0.03628 | 0.870799 | 0.847057 | 0.805264 | 0.781789 | 0.756536 | 0.714921 | 0 | 0.10165 | 0.219651 | 19,490 | 549 | 85 | 35.500911 | 0.63778 | 0.257825 | 0 | 0.656069 | 0 | 0 | 0.22785 | 0.111413 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046243 | false | 0 | 0.020231 | 0 | 0.066474 | 0.00578 | 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 |
e45aae8cb9dd8fd2f61809c0abf8fff4d2adb469 | 5,212 | py | Python | nabu/neuralnetworks/loss_computers/pit_loss.py | Darleen2019/Nabu-MSSS | 5e862cbf846d45b8a317f87588533f3fde9f0726 | [
"MIT"
] | 18 | 2017-10-16T13:12:46.000Z | 2022-02-15T01:20:00.000Z | nabu/neuralnetworks/loss_computers/pit_loss.py | Darleen2019/Nabu-MSSS | 5e862cbf846d45b8a317f87588533f3fde9f0726 | [
"MIT"
] | null | null | null | nabu/neuralnetworks/loss_computers/pit_loss.py | Darleen2019/Nabu-MSSS | 5e862cbf846d45b8a317f87588533f3fde9f0726 | [
"MIT"
] | 9 | 2017-10-03T18:10:10.000Z | 2020-11-13T08:26:31.000Z | """@file pit_loss.py
contains the PITLoss"""
import loss_computer
from nabu.neuralnetworks.components import ops
import tensorflow as tf
import warnings
class PITLoss(loss_computer.LossComputer):
"""A loss computer that calculates the loss"""
def __call__(self, targets, logits, seq_length):
"""
Compute the lo... | 30.658824 | 114 | 0.739256 | 725 | 5,212 | 5.132414 | 0.142069 | 0.048374 | 0.041924 | 0.053212 | 0.720505 | 0.720505 | 0.720505 | 0.720505 | 0.720505 | 0.720505 | 0 | 0 | 0.17594 | 5,212 | 169 | 115 | 30.840237 | 0.866356 | 0 | 0 | 0.478873 | 0 | 0 | 0.182571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.056338 | null | null | 0.014085 | 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 |
e48b74217337855e4e9559d5b305851358c2de2b | 4,007 | py | Python | examples/competition_example.py | gcollic/ffai | bb3f6707f86d3c540dca47caf4c594a93f5eac43 | [
"Apache-2.0"
] | null | null | null | examples/competition_example.py | gcollic/ffai | bb3f6707f86d3c540dca47caf4c594a93f5eac43 | [
"Apache-2.0"
] | null | null | null | examples/competition_example.py | gcollic/ffai | bb3f6707f86d3c540dca47caf4c594a93f5eac43 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
from ffai.ai.competition import Competition
import examples.scripted_bot_example
import examples.grodbot
from copy import deepcopy
from ffai.core.load import get_team, get_rule_set, get_config
# Load competition configuration for the bot bowl
config = get_config('ff-11-bot-bowl-i.json')
# scr... | 50.0875 | 183 | 0.788121 | 605 | 4,007 | 5.006612 | 0.120661 | 0.062727 | 0.100363 | 0.071311 | 0.855398 | 0.852096 | 0.852096 | 0.838561 | 0.838561 | 0.828326 | 0 | 0.02416 | 0.101323 | 4,007 | 79 | 184 | 50.721519 | 0.816995 | 0.218118 | 0 | 0.648148 | 0 | 0 | 0.13991 | 0.020309 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.092593 | 0 | 0.092593 | 0.166667 | 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 |
e4e970e8f332bf8a0fc817bda2a03accf3973017 | 28 | py | Python | qrshare/config/__init__.py | mensch272/qrshare | 335f8a96e4fdecc1e520d5dd2900f9860b3a70e8 | [
"Apache-2.0"
] | 3 | 2020-12-23T22:30:39.000Z | 2021-02-17T20:50:28.000Z | qrshare/config/__init__.py | mHaisham/qrshare | 335f8a96e4fdecc1e520d5dd2900f9860b3a70e8 | [
"Apache-2.0"
] | null | null | null | qrshare/config/__init__.py | mHaisham/qrshare | 335f8a96e4fdecc1e520d5dd2900f9860b3a70e8 | [
"Apache-2.0"
] | null | null | null | from .user import UserConfig | 28 | 28 | 0.857143 | 4 | 28 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5f7934e36a83f68750ea5e21300c261a523a77a3 | 2,940 | py | Python | tests/test_uu_events/test_gsm_sms_submit.py | matan1008/srsran-controller | 8389a78976efb7dfe3ef5dc17f5ac14adcae732c | [
"MIT"
] | null | null | null | tests/test_uu_events/test_gsm_sms_submit.py | matan1008/srsran-controller | 8389a78976efb7dfe3ef5dc17f5ac14adcae732c | [
"MIT"
] | null | null | null | tests/test_uu_events/test_gsm_sms_submit.py | matan1008/srsran-controller | 8389a78976efb7dfe3ef5dc17f5ac14adcae732c | [
"MIT"
] | null | null | null | import datetime
from pyshark import FileCapture
from srsran_controller.uu_events.factory import EventsFactory
from srsran_controller.uu_events.gsm_sms_submit import GSM_SMS_SUBMIT_NAME
GSM_SMS_SUBMIT_PCAP_DATA = (
'0a0d0d0ab80000004d3c2b1a01000000ffffffffffffffff02003500496e74656c28522920436f726528544d292069372d... | 63.913043 | 118 | 0.867007 | 120 | 2,940 | 20.975 | 0.55 | 0.016687 | 0.033373 | 0.01907 | 0.305125 | 0 | 0 | 0 | 0 | 0 | 0 | 0.715247 | 0.089796 | 2,940 | 45 | 119 | 65.333333 | 0.225336 | 0 | 0 | 0.15 | 0 | 0 | 0.72449 | 0.696599 | 0 | 1 | 0 | 0 | 0.025 | 1 | 0.025 | false | 0 | 0.1 | 0 | 0.125 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5fd3c753cecd5d2a0610dfd86aaa1b3b41a1e198 | 24 | py | Python | strategies/__init__.py | arrdguez/trade_signals | d81f75d4a62196ef764fd4ef66baeebaacc8999b | [
"MIT"
] | 2 | 2017-08-11T14:38:34.000Z | 2017-08-11T19:36:06.000Z | strategies/__init__.py | arrdguez/trade_signals | d81f75d4a62196ef764fd4ef66baeebaacc8999b | [
"MIT"
] | null | null | null | strategies/__init__.py | arrdguez/trade_signals | d81f75d4a62196ef764fd4ef66baeebaacc8999b | [
"MIT"
] | 1 | 2019-01-22T22:05:36.000Z | 2019-01-22T22:05:36.000Z | from . import strategies | 24 | 24 | 0.833333 | 3 | 24 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3964547e6a0629004643a3325ae5f82d19c2ef23 | 134 | py | Python | app/admin/__init__.py | quanpower/sitp | 082f244dd35c5e881b332a624d4808f3e9e81a96 | [
"Apache-2.0"
] | null | null | null | app/admin/__init__.py | quanpower/sitp | 082f244dd35c5e881b332a624d4808f3e9e81a96 | [
"Apache-2.0"
] | 4 | 2020-03-24T15:46:19.000Z | 2022-03-08T21:09:16.000Z | app/admin/__init__.py | quanpower/sitp | 082f244dd35c5e881b332a624d4808f3e9e81a96 | [
"Apache-2.0"
] | null | null | null | from .user_admin import UserAdminView, UserModelView
from .test_admin import TestAdminView
from .daq_admin import TemperatureModelView | 44.666667 | 52 | 0.880597 | 16 | 134 | 7.1875 | 0.625 | 0.286957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089552 | 134 | 3 | 53 | 44.666667 | 0.942623 | 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 |
399a727e24c644c8ae9cc63eaac653fb13b61329 | 350 | py | Python | anet/tasks/mnist/envs/__init__.py | thomasaunger/Anet | 1d353f280a30c3207fa6d09af91a85c4955bbda4 | [
"BSD-3-Clause"
] | null | null | null | anet/tasks/mnist/envs/__init__.py | thomasaunger/Anet | 1d353f280a30c3207fa6d09af91a85c4955bbda4 | [
"BSD-3-Clause"
] | null | null | null | anet/tasks/mnist/envs/__init__.py | thomasaunger/Anet | 1d353f280a30c3207fa6d09af91a85c4955bbda4 | [
"BSD-3-Clause"
] | null | null | null | from anet.tasks.mnist.envs.mnist_env import MNISTEnv
from anet.tasks.mnist.envs.mnist_env_binary import MNISTEnvBinary
from anet.tasks.mnist.envs.mnist_env_quaternary import MNISTEnvQuaternary
from anet.tasks.mnist.envs.mnist_env_senary import MNISTEnvSenary
from anet.tasks.mnist.envs.mnist_env_octon... | 58.333333 | 73 | 0.825714 | 49 | 350 | 5.714286 | 0.326531 | 0.142857 | 0.232143 | 0.321429 | 0.535714 | 0.535714 | 0.535714 | 0 | 0 | 0 | 0 | 0 | 0.117143 | 350 | 5 | 74 | 70 | 0.906149 | 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 |
39a74f0331b6f192088f410af1d510fb310d89d6 | 569 | py | Python | addons/iap/__init__.py | SHIVJITH/Odoo_Machine_Test | 310497a9872db7844b521e6dab5f7a9f61d365a4 | [
"Apache-2.0"
] | null | null | null | addons/iap/__init__.py | SHIVJITH/Odoo_Machine_Test | 310497a9872db7844b521e6dab5f7a9f61d365a4 | [
"Apache-2.0"
] | null | null | null | addons/iap/__init__.py | SHIVJITH/Odoo_Machine_Test | 310497a9872db7844b521e6dab5f7a9f61d365a4 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import models
from . import tools
# compatibility imports
from odoo.addons.iap.tools.iap_tools import iap_jsonrpc as jsonrpc
from odoo.addons.iap.tools.iap_tools import iap_authorize as authorize
from odoo.addons... | 40.642857 | 74 | 0.817223 | 92 | 569 | 4.934783 | 0.326087 | 0.211454 | 0.185022 | 0.22467 | 0.508811 | 0.508811 | 0.508811 | 0.508811 | 0.429515 | 0 | 0 | 0.001984 | 0.114236 | 569 | 13 | 75 | 43.769231 | 0.89881 | 0.203866 | 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 |
39e2423c1092a361c17f988ec8504186eff2db0c | 37 | py | Python | sonorus/experimental/datasets/__init__.py | imbesat-rizvi/sonorus | 38698d55b00c67fb3bcff4e4349b6c214a29e6f5 | [
"MIT"
] | null | null | null | sonorus/experimental/datasets/__init__.py | imbesat-rizvi/sonorus | 38698d55b00c67fb3bcff4e4349b6c214a29e6f5 | [
"MIT"
] | null | null | null | sonorus/experimental/datasets/__init__.py | imbesat-rizvi/sonorus | 38698d55b00c67fb3bcff4e4349b6c214a29e6f5 | [
"MIT"
] | 2 | 2021-01-17T22:53:02.000Z | 2021-03-03T01:11:43.000Z | from .CommonVoice import CommonVoice
| 18.5 | 36 | 0.864865 | 4 | 37 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 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 |
39e9519a6eff46cac49cf76a44d9d7574984452b | 474 | py | Python | mettler_toledo_device/__init__.py | MNE-collab/mettler_toledo_device_python | f681ab42073d54eb5e9aff43f1c10928b3e26c6d | [
"BSD-3-Clause"
] | 19 | 2016-03-21T18:13:00.000Z | 2022-01-19T04:06:44.000Z | mettler_toledo_device/__init__.py | MNE-collab/mettler_toledo_device_python | f681ab42073d54eb5e9aff43f1c10928b3e26c6d | [
"BSD-3-Clause"
] | 4 | 2015-10-29T18:40:51.000Z | 2021-11-08T14:32:45.000Z | mettler_toledo_device/__init__.py | peterpolidoro/mettler_toledo_device_python | 8d068e53d6176434414bfbe4e1cb6e42bfb4fd66 | [
"BSD-3-Clause"
] | 12 | 2015-09-01T21:18:10.000Z | 2022-03-13T20:14:27.000Z | '''
This Python package (mettler_toledo_device) creates a class named
MettlerToledoDevice, which contains an instance of
serial_device2.SerialDevice and adds methods to it to interface to
Mettler Toledo balances and scales that use the Mettler Toledo
Standard Interface Command Set (MT-SICS).
'''
from .mettler_toledo_de... | 52.666667 | 176 | 0.85443 | 62 | 474 | 6.258065 | 0.693548 | 0.201031 | 0.195876 | 0.118557 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002353 | 0.103376 | 474 | 8 | 177 | 59.25 | 0.910588 | 0.607595 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f2f3e72aef64ecb0b8ef1b952d5c90f43e1e57f3 | 49 | py | Python | ultrafeedparser/__init__.py | kkszysiu/ultrafeedparser | f3f9a53013049a29771743b5e4ec97fb7c39080e | [
"MIT"
] | null | null | null | ultrafeedparser/__init__.py | kkszysiu/ultrafeedparser | f3f9a53013049a29771743b5e4ec97fb7c39080e | [
"MIT"
] | null | null | null | ultrafeedparser/__init__.py | kkszysiu/ultrafeedparser | f3f9a53013049a29771743b5e4ec97fb7c39080e | [
"MIT"
] | null | null | null | from ultrafeedparser.libultrafeedparser import *
| 24.5 | 48 | 0.877551 | 4 | 49 | 10.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 0.955556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
8454d18afa2b2a515f5bc9966bd931bed0d45184 | 693 | py | Python | test.py | johnngnky/luhn | 7b79485b4748e183050998514ea430db3fb5f9e6 | [
"MIT"
] | 40 | 2016-08-06T16:01:12.000Z | 2022-02-21T13:28:09.000Z | test.py | johnngnky/luhn | 7b79485b4748e183050998514ea430db3fb5f9e6 | [
"MIT"
] | 6 | 2017-12-12T22:51:51.000Z | 2021-06-29T15:17:09.000Z | test.py | johnngnky/luhn | 7b79485b4748e183050998514ea430db3fb5f9e6 | [
"MIT"
] | 17 | 2017-02-24T19:47:05.000Z | 2022-03-23T17:41:50.000Z | import luhn
def test_checksum_len1():
assert luhn.checksum('7') == 7
def test_checksum_len2():
assert luhn.checksum('13') == 5
def test_checksum_len3():
assert luhn.checksum('383') == 3
def test_checksum_len4():
assert luhn.checksum('2827') == 3
def test_checksum_len13():
assert luhn.checksum('... | 21.65625 | 60 | 0.702742 | 87 | 693 | 5.413793 | 0.37931 | 0.14862 | 0.191083 | 0.067941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208547 | 0.155844 | 693 | 31 | 61 | 22.354839 | 0.596581 | 0 | 0 | 0 | 0 | 0 | 0.154401 | 0 | 0 | 0 | 0 | 0 | 0.47619 | 1 | 0.47619 | true | 0 | 0.047619 | 0 | 0.52381 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
84629e4d247436e994dec74bd2b6a3ce52eae863 | 45 | py | Python | dgp/genera/load/__init__.py | dataspot/dgp | 553a255a4884b935cf2efecdc761050232f0f066 | [
"MIT"
] | 1 | 2019-07-17T11:34:27.000Z | 2019-07-17T11:34:27.000Z | dgp/genera/load/__init__.py | datahq/dgp | f39592ce20ba67b73b08188f14585b6eb3d43f96 | [
"MIT"
] | 2 | 2019-04-30T12:32:32.000Z | 2019-04-30T12:35:26.000Z | dgp/genera/load/__init__.py | dataspot/dgp | 553a255a4884b935cf2efecdc761050232f0f066 | [
"MIT"
] | null | null | null | from .loader import LoaderDGP, PostLoaderDGP
| 22.5 | 44 | 0.844444 | 5 | 45 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 45 | 1 | 45 | 45 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ffc5644871bbea822c49b55163e4af186877387e | 12,145 | py | Python | apiserver/apiserver/api/tests.py | protodarkstar/spaceport | ce28444765208f6c90bd32dcafed2aa4404e76a0 | [
"MIT"
] | null | null | null | apiserver/apiserver/api/tests.py | protodarkstar/spaceport | ce28444765208f6c90bd32dcafed2aa4404e76a0 | [
"MIT"
] | null | null | null | apiserver/apiserver/api/tests.py | protodarkstar/spaceport | ce28444765208f6c90bd32dcafed2aa4404e76a0 | [
"MIT"
] | null | null | null | import django, sys, os
os.environ['DJANGO_SETTINGS_MODULE'] = 'apiserver.settings'
django.setup()
from django.test import TestCase
import datetime
from dateutil import relativedelta
from rest_framework.exceptions import ValidationError
from apiserver.api import utils, utils_paypal, models
testing_member, _ = models.... | 32.214854 | 91 | 0.679374 | 1,512 | 12,145 | 5.178571 | 0.10582 | 0.075096 | 0.059259 | 0.032567 | 0.877522 | 0.839591 | 0.809962 | 0.790294 | 0.771903 | 0.737931 | 0 | 0.045348 | 0.228324 | 12,145 | 376 | 92 | 32.300532 | 0.79012 | 0 | 0 | 0.561265 | 0 | 0 | 0.022231 | 0.001811 | 0 | 0 | 0 | 0 | 0.189723 | 1 | 0.142292 | false | 0 | 0.023715 | 0 | 0.197628 | 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 |
ffd2ddce31fd10d3479bdbfc3d26fa6f568b338f | 38 | py | Python | monosloth/factory/__init__.py | monosloth/framework | 7121f91aefc14c9b7ee088152282d07ee300ad8f | [
"MIT"
] | null | null | null | monosloth/factory/__init__.py | monosloth/framework | 7121f91aefc14c9b7ee088152282d07ee300ad8f | [
"MIT"
] | null | null | null | monosloth/factory/__init__.py | monosloth/framework | 7121f91aefc14c9b7ee088152282d07ee300ad8f | [
"MIT"
] | null | null | null | from . factory import AbstractFactory
| 19 | 37 | 0.842105 | 4 | 38 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 38 | 1 | 38 | 38 | 0.969697 | 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 |
ffe8643f0f4144b08f6866b18cd401e32143731e | 33 | py | Python | plato_pylib/parseOther/__init__.py | RFogarty1/plato_pylib | b0ab65bfe489c4bb1fd321cc102580bef2b6ff68 | [
"MIT"
] | null | null | null | plato_pylib/parseOther/__init__.py | RFogarty1/plato_pylib | b0ab65bfe489c4bb1fd321cc102580bef2b6ff68 | [
"MIT"
] | null | null | null | plato_pylib/parseOther/__init__.py | RFogarty1/plato_pylib | b0ab65bfe489c4bb1fd321cc102580bef2b6ff68 | [
"MIT"
] | null | null | null | from . import parse_castep_files
| 16.5 | 32 | 0.848485 | 5 | 33 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.896552 | 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 |
fff0e9f5686b72564862947b9ec0132e5d71e610 | 45 | py | Python | wrktoolbox/goals/__init__.py | kishorekumar-kk/wrktoolbox | 20ba73a6dc04c4c1436ed6e3d37095246b3c7392 | [
"MIT"
] | 3 | 2020-04-08T08:54:26.000Z | 2021-07-27T16:29:39.000Z | wrktoolbox/goals/__init__.py | kishorekumar-kk/wrktoolbox | 20ba73a6dc04c4c1436ed6e3d37095246b3c7392 | [
"MIT"
] | 2 | 2019-07-08T13:19:41.000Z | 2021-01-24T21:06:06.000Z | wrktoolbox/goals/__init__.py | kishorekumar-kk/wrktoolbox | 20ba73a6dc04c4c1436ed6e3d37095246b3c7392 | [
"MIT"
] | 2 | 2020-11-03T07:54:53.000Z | 2021-01-22T11:59:05.000Z | from .common import *
from .latency import *
| 15 | 22 | 0.733333 | 6 | 45 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 45 | 2 | 23 | 22.5 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0819dd9ae08806203eee263f6f9ff9e454f6c3ae | 72 | py | Python | selfsupervised3d/dataset/__init__.py | jcreinhold/selfsupervised3d | 735f0b8d0e5344fd7692649523a13a7c04ac2584 | [
"Apache-2.0"
] | 5 | 2020-05-01T15:54:05.000Z | 2021-11-24T11:37:23.000Z | selfsupervised3d/dataset/__init__.py | jcreinhold/selfsupervised3d | 735f0b8d0e5344fd7692649523a13a7c04ac2584 | [
"Apache-2.0"
] | 1 | 2022-01-25T15:05:11.000Z | 2022-01-25T15:05:11.000Z | selfsupervised3d/dataset/__init__.py | jcreinhold/selfsupervised3d | 735f0b8d0e5344fd7692649523a13a7c04ac2584 | [
"Apache-2.0"
] | null | null | null | from .blendowski import *
from .context import *
from .doersch import *
| 18 | 25 | 0.75 | 9 | 72 | 6 | 0.555556 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 72 | 3 | 26 | 24 | 0.9 | 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 |
f260c5bafba124a2ba06f128524f19e1b2f89fd0 | 87 | py | Python | kcwidrp/tests/test_import_pipeline.py | MNBrod/KCWI_DRP | 9331a545879f647ed83ceb9c7d925770b254a8eb | [
"BSD-3-Clause"
] | 5 | 2020-04-09T20:05:52.000Z | 2021-08-04T18:04:28.000Z | kcwidrp/tests/test_import_pipeline.py | MNBrod/KCWI_DRP | 9331a545879f647ed83ceb9c7d925770b254a8eb | [
"BSD-3-Clause"
] | 80 | 2020-03-19T00:35:27.000Z | 2022-03-07T20:08:23.000Z | kcwidrp/tests/test_import_pipeline.py | MNBrod/KCWI_DRP | 9331a545879f647ed83ceb9c7d925770b254a8eb | [
"BSD-3-Clause"
] | 9 | 2021-01-22T02:00:32.000Z | 2022-02-08T19:43:16.000Z | import pytest
def test_import_pipeline():
import kcwidrp.pipelines.kcwi_pipeline
| 14.5 | 42 | 0.804598 | 11 | 87 | 6.090909 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 87 | 5 | 43 | 17.4 | 0.893333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 1 | 0 | 1.333333 | 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 |
4b31fd1cb2734311d191d0b2050d510bb40ced15 | 159 | py | Python | auto_ts/models/ar_based/__init__.py | barrosm/Auto_TS | 9fe2fcaae92209664deaf70b800865eb5e26ece1 | [
"Apache-2.0"
] | 423 | 2020-05-11T10:47:49.000Z | 2022-03-30T14:14:20.000Z | auto_ts/models/ar_based/__init__.py | Moehrenbaum/Auto_TS | e0a6634a727e44b4d5bbf6fbfefde99b6b3e8f86 | [
"Apache-2.0"
] | 70 | 2020-06-05T13:38:49.000Z | 2022-03-17T11:42:25.000Z | auto_ts/models/ar_based/__init__.py | Moehrenbaum/Auto_TS | e0a6634a727e44b4d5bbf6fbfefde99b6b3e8f86 | [
"Apache-2.0"
] | 75 | 2020-02-16T00:55:20.000Z | 2022-03-22T03:55:09.000Z | from .build_arima import BuildArima
from .build_sarimax import BuildSarimax
from .build_autoarimax import BuildAutoSarimax
from .build_var import BuildVAR
| 31.8 | 47 | 0.849057 | 20 | 159 | 6.55 | 0.55 | 0.274809 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125786 | 159 | 4 | 48 | 39.75 | 0.942446 | 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 |
4b67e31ed9929a8d5e10c397b9885043f24920c7 | 170 | py | Python | install/super_prove/lib/pyliveness/__init__.py | ljbrooks/superkb_release | cd8c476ba687dea3cdd979eb4b1a7bd9471ece66 | [
"MIT"
] | null | null | null | install/super_prove/lib/pyliveness/__init__.py | ljbrooks/superkb_release | cd8c476ba687dea3cdd979eb4b1a7bd9471ece66 | [
"MIT"
] | null | null | null | install/super_prove/lib/pyliveness/__init__.py | ljbrooks/superkb_release | cd8c476ba687dea3cdd979eb4b1a7bd9471ece66 | [
"MIT"
] | null | null | null | from stabilizing_constraints import extract_stabilizing_constraints
from liveness_to_safety import extract_liveness_as_safety
from utils import fold_fairness_constraints
| 42.5 | 67 | 0.929412 | 22 | 170 | 6.727273 | 0.545455 | 0.297297 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070588 | 170 | 3 | 68 | 56.666667 | 0.936709 | 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 |
4b9afaa36b8bb43a70fce83537138bc71d4c2082 | 11,476 | py | Python | py_client/algorithm_interface_test/trains/test_update_trajectory.py | sma-software/openviriato.algorithm-platform.py-client | 73d4cf89aa6f4d02ab15b5504d92107848742325 | [
"Apache-2.0"
] | 2 | 2021-06-21T06:50:29.000Z | 2021-06-30T15:58:02.000Z | py_client/algorithm_interface_test/trains/test_update_trajectory.py | sma-software/openviriato.algorithm-platform.py-client | 73d4cf89aa6f4d02ab15b5504d92107848742325 | [
"Apache-2.0"
] | null | null | null | py_client/algorithm_interface_test/trains/test_update_trajectory.py | sma-software/openviriato.algorithm-platform.py-client | 73d4cf89aa6f4d02ab15b5504d92107848742325 | [
"Apache-2.0"
] | null | null | null | import datetime
import unittest
from unittest import mock
import py_client.algorithm_interface_test.test_helper.SessionMockFactory as SessionMockFactory
from py_client.aidm import UpdateStopTimesTrainPathNode, AlgorithmTrain, AlgorithmTrainPathNode, StopStatus, \
UpdateRunTimesTrainPathSegment
from py_clien... | 63.403315 | 134 | 0.610491 | 1,142 | 11,476 | 5.78021 | 0.119089 | 0.053174 | 0.101803 | 0.11271 | 0.850174 | 0.800182 | 0.783972 | 0.769126 | 0.751856 | 0.75125 | 0 | 0.052416 | 0.298449 | 11,476 | 180 | 135 | 63.755556 | 0.767482 | 0 | 0 | 0.572327 | 0 | 0 | 0.07994 | 0.015315 | 0 | 0 | 0 | 0 | 0.226415 | 1 | 0.050314 | false | 0 | 0.044025 | 0 | 0.113208 | 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 |
29a020686cc5c5a57c7c2d502cd9da8c6bf64ffe | 3,008 | py | Python | pykg2vec/test/test_hp_loader.py | baxtree/pykg2vec | 59498ed5aae7cbe44f881b2c807fb02f1b53999d | [
"MIT"
] | 430 | 2019-04-17T19:04:25.000Z | 2022-03-31T12:20:18.000Z | pykg2vec/test/test_hp_loader.py | KonstantinKlepikov/pykg2vec | 658b70a54a371f79252550b0cad7e19578198505 | [
"MIT"
] | 102 | 2019-05-11T04:29:57.000Z | 2022-02-16T12:56:28.000Z | pykg2vec/test/test_hp_loader.py | KonstantinKlepikov/pykg2vec | 658b70a54a371f79252550b0cad7e19578198505 | [
"MIT"
] | 102 | 2019-06-11T08:40:38.000Z | 2022-03-27T09:36:13.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
This module is for testing unit functions of the hyperparameter loader
"""
import os
import pytest
from pykg2vec.common import KGEArgParser
from pykg2vec.common import HyperparameterLoader
def test_load_default_hyperparameter_file():
hp_loader = HyperparameterLoade... | 50.133333 | 124 | 0.751995 | 376 | 3,008 | 5.680851 | 0.228723 | 0.052434 | 0.044944 | 0.11236 | 0.859082 | 0.859082 | 0.799157 | 0.799157 | 0.780431 | 0.776217 | 0 | 0.011756 | 0.123338 | 3,008 | 59 | 125 | 50.983051 | 0.798256 | 0.037566 | 0 | 0.47619 | 0 | 0 | 0.206168 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 1 | 0.142857 | false | 0 | 0.095238 | 0 | 0.238095 | 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 |
29b26df998f0970a50ae05d98bf6fa7a56ec0af0 | 44 | py | Python | Core/__init__.py | Erosion2020/SpaceCore | ba81bf1913461a200f9e88acb7d0d91d7deda8e8 | [
"MIT"
] | 4 | 2022-03-22T08:21:52.000Z | 2022-03-23T12:58:17.000Z | Core/__init__.py | Erosion2020/SpaceCore | ba81bf1913461a200f9e88acb7d0d91d7deda8e8 | [
"MIT"
] | null | null | null | Core/__init__.py | Erosion2020/SpaceCore | ba81bf1913461a200f9e88acb7d0d91d7deda8e8 | [
"MIT"
] | null | null | null | import Core.Start
start = Core.Start.start
| 11 | 24 | 0.772727 | 7 | 44 | 4.857143 | 0.428571 | 0.529412 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 44 | 3 | 25 | 14.666667 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 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 | 0 | 0 | 0 | 6 |
29b817621419b23c57b1f8ee7a56ed180b4a0dcf | 2,148 | py | Python | benchmarks/test_headless_time.py | TheRakeshPurohit/wasmer-python | 2375974d9dc50a2caf29fdd9e07d49fd94537e03 | [
"MIT"
] | 900 | 2019-04-11T01:52:10.000Z | 2020-09-02T11:09:14.000Z | benchmarks/test_headless_time.py | TheRakeshPurohit/wasmer-python | 2375974d9dc50a2caf29fdd9e07d49fd94537e03 | [
"MIT"
] | 172 | 2019-04-15T18:04:55.000Z | 2020-09-01T15:20:06.000Z | benchmarks/test_headless_time.py | TheRakeshPurohit/wasmer-python | 2375974d9dc50a2caf29fdd9e07d49fd94537e03 | [
"MIT"
] | 28 | 2019-04-11T02:49:04.000Z | 2020-08-27T09:47:49.000Z | from wasmer import engine, Store, Module, Instance
from wasmer_compiler_cranelift import Compiler as Cranelift
from wasmer_compiler_llvm import Compiler as LLVM
from wasmer_compiler_singlepass import Compiler as Singlepass
TEST_BYTES = open('benchmarks/nbody.wasm', 'rb').read()
def test_benchmark_headless_time_nbody_... | 32.059701 | 68 | 0.729981 | 231 | 2,148 | 6.549784 | 0.134199 | 0.041639 | 0.06345 | 0.095175 | 0.849967 | 0.849967 | 0.715135 | 0.681428 | 0.681428 | 0.681428 | 0 | 0 | 0.181564 | 2,148 | 66 | 69 | 32.545455 | 0.860637 | 0 | 0 | 0.679245 | 0 | 0 | 0.010708 | 0.009777 | 0 | 0 | 0 | 0 | 0 | 1 | 0.226415 | false | 0.09434 | 0.075472 | 0 | 0.301887 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
29d8a001d6a7ae114b79cc77fcb1a2d992438b85 | 620 | py | Python | bk_monitor/utils/data_name_builder.py | qqqqqie/bk-log | 1765f1901aafaa6fb6a57b8db5d35dd32b3cb5c1 | [
"MIT"
] | 75 | 2021-07-14T09:32:36.000Z | 2022-03-31T15:26:53.000Z | bk_monitor/utils/data_name_builder.py | qqqqqie/bk-log | 1765f1901aafaa6fb6a57b8db5d35dd32b3cb5c1 | [
"MIT"
] | 561 | 2021-07-14T07:45:47.000Z | 2022-03-31T11:41:28.000Z | bk_monitor/utils/data_name_builder.py | qqqqqie/bk-log | 1765f1901aafaa6fb6a57b8db5d35dd32b3cb5c1 | [
"MIT"
] | 41 | 2021-07-14T07:39:50.000Z | 2022-03-25T09:22:18.000Z | # -*- coding: utf-8 -*-
class DataNameBuilder(object):
"""
data_name等拼接工具
"""
def __init__(self, data_name, bk_biz_id, data_name_prefix):
self.data_name = data_name
self.bk_biz_id = bk_biz_id
self.data_name_prefix = data_name_prefix
@property
def name(self):
r... | 24.8 | 98 | 0.656452 | 87 | 620 | 4.218391 | 0.287356 | 0.26158 | 0.294278 | 0.196185 | 0.544959 | 0.544959 | 0.474114 | 0.305177 | 0.305177 | 0.305177 | 0 | 0.002058 | 0.216129 | 620 | 24 | 99 | 25.833333 | 0.753086 | 0.059677 | 0 | 0.357143 | 0 | 0 | 0.253968 | 0.250441 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.214286 | 0.571429 | 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 |
4b1b4518f4b6df57a383c8b9ad9886d33d8473c4 | 35 | py | Python | WeatherCrawler/__init__.py | Venivedivici/WeatherCrawler | 0070b3a7555551f5fae04cfc22251b8b2761b9ca | [
"MIT"
] | 1 | 2019-11-18T09:33:22.000Z | 2019-11-18T09:33:22.000Z | WeatherCrawler/__init__.py | Venivedivici/WeatherCrawler | 0070b3a7555551f5fae04cfc22251b8b2761b9ca | [
"MIT"
] | null | null | null | WeatherCrawler/__init__.py | Venivedivici/WeatherCrawler | 0070b3a7555551f5fae04cfc22251b8b2761b9ca | [
"MIT"
] | 1 | 2019-11-18T09:33:07.000Z | 2019-11-18T09:33:07.000Z | from .Crawler import WeatherCrawler | 35 | 35 | 0.885714 | 4 | 35 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.96875 | 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 |
d99a377f59eb4b1df89ef9046ac2390c669714ea | 162 | py | Python | virtual_finance_api/compat/yfinance/endpoints/__init__.py | hootnot/virtual-yahoofinance-REST-API | 3246d3f4c14821e4ef0f9de57dd759cf03f42681 | [
"Apache-2.0"
] | 1 | 2022-03-18T08:27:34.000Z | 2022-03-18T08:27:34.000Z | virtual_finance_api/compat/yfinance/endpoints/__init__.py | hootnot/virtual-yahoofinance-REST-API | 3246d3f4c14821e4ef0f9de57dd759cf03f42681 | [
"Apache-2.0"
] | null | null | null | virtual_finance_api/compat/yfinance/endpoints/__init__.py | hootnot/virtual-yahoofinance-REST-API | 3246d3f4c14821e4ef0f9de57dd759cf03f42681 | [
"Apache-2.0"
] | 1 | 2021-06-18T02:14:03.000Z | 2021-06-18T02:14:03.000Z | # -*- coding: utf-8 -*-
from .bundle import Financials, History, Holders, Options, Profile
__all__ = ("Financials", "History", "Holders", "Options", "Profile")
| 27 | 68 | 0.67284 | 17 | 162 | 6.176471 | 0.705882 | 0.32381 | 0.457143 | 0.590476 | 0.72381 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007143 | 0.135802 | 162 | 5 | 69 | 32.4 | 0.742857 | 0.12963 | 0 | 0 | 0 | 0 | 0.273381 | 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 |
d9a2b76266ce4dfcd0a606870c00ff37bc7cd936 | 6,436 | py | Python | tests/test_layers.py | lauxley/kraken | 091e902d5c2c20066a2fe25a4df656268a3c928b | [
"Apache-2.0"
] | null | null | null | tests/test_layers.py | lauxley/kraken | 091e902d5c2c20066a2fe25a4df656268a3c928b | [
"Apache-2.0"
] | null | null | null | tests/test_layers.py | lauxley/kraken | 091e902d5c2c20066a2fe25a4df656268a3c928b | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import unittest
from nose.tools import raises
import torch
from kraken.lib import layers
class TestLayers(unittest.TestCase):
"""
Testing custom layer implementations.
"""
def setUp(self):
torch.set_grad_enabled(False)
def test_maxpool(self):
"""
... | 32.670051 | 88 | 0.555469 | 873 | 6,436 | 4.017182 | 0.117984 | 0.014827 | 0.069005 | 0.067864 | 0.872541 | 0.815227 | 0.753636 | 0.704876 | 0.670088 | 0.643285 | 0 | 0.084211 | 0.291485 | 6,436 | 196 | 89 | 32.836735 | 0.684868 | 0.178216 | 0 | 0.373737 | 0 | 0 | 0.002727 | 0 | 0 | 0 | 0 | 0 | 0.262626 | 1 | 0.232323 | false | 0 | 0.040404 | 0 | 0.282828 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d9dec55abc25d0667a679e0acc3dfaf2c34915e1 | 51,951 | py | Python | model_docsum.py | EdinburghNLP/Refresh | 8c2d25e9f770529e0ceb8909b452a080e94fc7cd | [
"BSD-3-Clause"
] | 265 | 2018-04-23T13:13:11.000Z | 2021-12-08T11:24:56.000Z | model_docsum.py | trivago/Refresh | ef721d36e3e700c76fa1afd20116c800c83bc20d | [
"BSD-3-Clause"
] | 38 | 2018-04-25T12:05:32.000Z | 2021-06-11T09:20:03.000Z | model_docsum.py | shashiongithub/Refresh | 8c2d25e9f770529e0ceb8909b452a080e94fc7cd | [
"BSD-3-Clause"
] | 58 | 2018-06-08T13:20:14.000Z | 2021-11-16T15:24:05.000Z | ####################################
# Author: Shashi Narayan
# Date: September 2016
# Project: Document Summarization
# H2020 Summa Project
####################################
"""
Document Summarization Modules and Models
"""
from __future__ import absolute_import
from __future__ import division
from __future__ imp... | 57.277839 | 206 | 0.713018 | 6,857 | 51,951 | 5.058918 | 0.058918 | 0.052351 | 0.075067 | 0.105855 | 0.816051 | 0.78486 | 0.757618 | 0.741474 | 0.72536 | 0.698463 | 0 | 0.006259 | 0.188139 | 51,951 | 906 | 207 | 57.34106 | 0.816203 | 0.616408 | 0 | 0.343096 | 0 | 0 | 0.040117 | 0.013444 | 0 | 0 | 0 | 0 | 0 | 1 | 0.07113 | false | 0 | 0.041841 | 0 | 0.1841 | 0.008368 | 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 |
8a4a8691170a529ee8a70b8a44c2472636ed9e1a | 34 | py | Python | nxtools/tools/__init__.py | aonghus/nxtools | d21a1b26c3116bf2b580a59f82a1690278f4bc7b | [
"BSD-3-Clause"
] | 1 | 2020-01-12T12:04:39.000Z | 2020-01-12T12:04:39.000Z | nxtools/tools/__init__.py | aonghus/nxtools | d21a1b26c3116bf2b580a59f82a1690278f4bc7b | [
"BSD-3-Clause"
] | null | null | null | nxtools/tools/__init__.py | aonghus/nxtools | d21a1b26c3116bf2b580a59f82a1690278f4bc7b | [
"BSD-3-Clause"
] | null | null | null | from nxtools.tools.tools import *
| 17 | 33 | 0.794118 | 5 | 34 | 5.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 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 |
8a7fac079894ebd49d1428005f8826de59161c66 | 81 | py | Python | conv/__init__.py | snj830526/py_invest_helper | ae3240acbb68465b8987e5dda015ca020951ce6d | [
"BSD-2-Clause"
] | null | null | null | conv/__init__.py | snj830526/py_invest_helper | ae3240acbb68465b8987e5dda015ca020951ce6d | [
"BSD-2-Clause"
] | null | null | null | conv/__init__.py | snj830526/py_invest_helper | ae3240acbb68465b8987e5dda015ca020951ce6d | [
"BSD-2-Clause"
] | null | null | null | from .constants import *
from .slack_send_message import *
from .invest import *
| 20.25 | 33 | 0.777778 | 11 | 81 | 5.545455 | 0.636364 | 0.327869 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 81 | 3 | 34 | 27 | 0.884058 | 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 |
8a852fb32f2b21c43efaa22d9ec4c57feb00e533 | 20,925 | py | Python | src/cogs/moderation.py | Arslee-Develop/openmod | 322548212995d1b2fea5defa6c6637767f744a97 | [
"MIT"
] | 5 | 2020-11-07T04:54:58.000Z | 2021-08-31T20:31:22.000Z | src/cogs/moderation.py | Arslee-Develop/openmod | 322548212995d1b2fea5defa6c6637767f744a97 | [
"MIT"
] | 7 | 2021-01-03T08:54:11.000Z | 2021-08-31T02:27:15.000Z | src/cogs/moderation.py | Arslee-Develop/openmod | 322548212995d1b2fea5defa6c6637767f744a97 | [
"MIT"
] | 4 | 2021-04-08T14:33:15.000Z | 2021-06-01T16:21:12.000Z | import asyncio
from typing import NoReturn
import discord
from discord import Member, User
from discord.ext import commands
from discord.ext.commands import Bot, Context, Greedy
from discord_components import Button, ButtonStyle, DiscordComponents
from cogs.utils import Config, Logger, Settings, Strings, Utils
CONFI... | 37.5 | 87 | 0.553548 | 2,099 | 20,925 | 5.398285 | 0.109576 | 0.024711 | 0.028506 | 0.024005 | 0.79031 | 0.759951 | 0.724561 | 0.71856 | 0.706822 | 0.693849 | 0 | 0.008295 | 0.337491 | 20,925 | 557 | 88 | 37.567325 | 0.808122 | 0.003823 | 0 | 0.703625 | 0 | 0 | 0.088265 | 0.006801 | 0 | 0 | 0.005163 | 0.001795 | 0 | 1 | 0.004264 | false | 0.004264 | 0.017058 | 0 | 0.031983 | 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 |
8aafb55d5256078a3136eb2437c10173b73784b3 | 91 | py | Python | examplesFromForkedLibraries/SchusterLabQoc1/quantum_optimal_control/__init__.py | rayonde/yarn | a8259292791b3332e8521baeb6c7ee78afb53ae2 | [
"MIT"
] | 1 | 2020-07-09T13:31:21.000Z | 2020-07-09T13:31:21.000Z | yarn/SchusterLabQoc1/__init__.py | rayonde/yarn | a8259292791b3332e8521baeb6c7ee78afb53ae2 | [
"MIT"
] | null | null | null | yarn/SchusterLabQoc1/__init__.py | rayonde/yarn | a8259292791b3332e8521baeb6c7ee78afb53ae2 | [
"MIT"
] | null | null | null | #IMPORTS
from .core import *
from .helper_functions import *
from .main_grape import * | 22.75 | 32 | 0.736264 | 12 | 91 | 5.416667 | 0.666667 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186813 | 91 | 4 | 33 | 22.75 | 0.878378 | 0.076923 | 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 |
8ab38a7279b9da97ec8c4bfe2bf466de1d0a4e4b | 22,627 | py | Python | colour/models/rgb/ictcp.py | colour-science/colour | 6d9b1b8b9e96b5a3c3e3b64d9954be808e4e37a8 | [
"BSD-3-Clause"
] | 1,380 | 2015-01-10T12:30:33.000Z | 2022-03-30T10:19:57.000Z | colour/models/rgb/ictcp.py | colour-science/colour | 6d9b1b8b9e96b5a3c3e3b64d9954be808e4e37a8 | [
"BSD-3-Clause"
] | 638 | 2015-01-02T10:49:05.000Z | 2022-03-29T10:16:22.000Z | colour/models/rgb/ictcp.py | colour-science/colour | 6d9b1b8b9e96b5a3c3e3b64d9954be808e4e37a8 | [
"BSD-3-Clause"
] | 250 | 2015-01-21T15:27:19.000Z | 2022-03-30T10:23:58.000Z | # -*- coding: utf-8 -*-
"""
:math:`IC_TC_P` Colour Encoding
===============================
Defines the :math:`IC_TC_P` colour encoding related transformations:
- :func:`colour.RGB_to_ICtCp`
- :func:`colour.ICtCp_to_RGB`
- :func:`colour.XYZ_to_ICtCp`
- :func:`colour.ICtCp_to_XYZ`
References
----------
- :c... | 39.147059 | 79 | 0.544571 | 2,786 | 22,627 | 4.268126 | 0.11809 | 0.030948 | 0.045917 | 0.069801 | 0.811286 | 0.784038 | 0.747288 | 0.735851 | 0.723741 | 0.700278 | 0 | 0.101353 | 0.265258 | 22,627 | 577 | 80 | 39.214905 | 0.613895 | 0.709241 | 0 | 0.378641 | 0 | 0 | 0.179487 | 0.050812 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038835 | false | 0 | 0.058252 | 0 | 0.135922 | 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 |
8ad0e06c8b83d2326eeb7a88b1b69f1b8e6d4b97 | 131 | py | Python | tests/test_linux.py | iot-spectator/iot-health | ff5cf5b3613d47fb990751259fab68ad8940b1c4 | [
"MIT"
] | null | null | null | tests/test_linux.py | iot-spectator/iot-health | ff5cf5b3613d47fb990751259fab68ad8940b1c4 | [
"MIT"
] | 22 | 2020-10-05T00:31:31.000Z | 2021-05-15T06:37:37.000Z | tests/test_linux.py | iot-spectator/iot-health | ff5cf5b3613d47fb990751259fab68ad8940b1c4 | [
"MIT"
] | null | null | null | """Unit tests for Linux module."""
from iothealth import linux
def test_basic():
assert linux.Linux().summary() is not None
| 16.375 | 46 | 0.70229 | 19 | 131 | 4.789474 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175573 | 131 | 7 | 47 | 18.714286 | 0.842593 | 0.21374 | 0 | 0 | 0 | 0 | 0 | 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 |
8ad61fc7c648eaf74f1d1b7775a1ad9aa2c945d6 | 23,952 | py | Python | tf_agents/bandits/agents/neural_linucb_agent_test.py | Mdlglobal-atlassian-net/agents | 43c5d4e0b924c45b33291dc73a305d4a8d79c170 | [
"Apache-2.0"
] | 1 | 2020-06-07T06:34:12.000Z | 2020-06-07T06:34:12.000Z | tf_agents/bandits/agents/neural_linucb_agent_test.py | yj1990/agents | ba3817ea48d574d314017542e1e4858566f953f4 | [
"Apache-2.0"
] | null | null | null | tf_agents/bandits/agents/neural_linucb_agent_test.py | yj1990/agents | ba3817ea48d574d314017542e1e4858566f953f4 | [
"Apache-2.0"
] | 2 | 2020-06-05T18:38:16.000Z | 2020-07-08T14:41:42.000Z | # coding=utf-8
# Copyright 2018 The TF-Agents Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | 41.728223 | 110 | 0.7042 | 3,081 | 23,952 | 5.163259 | 0.115547 | 0.028665 | 0.024139 | 0.01911 | 0.784762 | 0.771499 | 0.753395 | 0.742457 | 0.725673 | 0.723032 | 0 | 0.021254 | 0.196602 | 23,952 | 573 | 111 | 41.801047 | 0.805436 | 0.077948 | 0 | 0.719409 | 0 | 0 | 0.016753 | 0 | 0 | 0 | 0 | 0 | 0.018987 | 1 | 0.044304 | false | 0 | 0.042194 | 0.008439 | 0.111814 | 0.00211 | 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 |
76ef8af8e493241c02c12f7735007f17682a26cd | 1,507 | py | Python | client/tests/test_authentication.py | uktrade/directory-forms-api | 078e38ddf7a761d2d34a0e1ab2dc3f20cd32e6aa | [
"MIT"
] | null | null | null | client/tests/test_authentication.py | uktrade/directory-forms-api | 078e38ddf7a761d2d34a0e1ab2dc3f20cd32e6aa | [
"MIT"
] | 77 | 2018-10-29T14:38:37.000Z | 2022-03-23T14:20:39.000Z | client/tests/test_authentication.py | uktrade/directory-forms-api | 078e38ddf7a761d2d34a0e1ab2dc3f20cd32e6aa | [
"MIT"
] | 1 | 2021-08-05T10:20:17.000Z | 2021-08-05T10:20:17.000Z | import pytest
import sigauth
from client import authentication
from client.tests import factories
@pytest.mark.django_db
def test_client_sender_authentication_ok(rf):
authenticator = authentication.ClientSenderIdAuthentication()
client_model_instance = factories.ClientFactory(
name='test',
a... | 25.982759 | 73 | 0.692104 | 157 | 1,507 | 6.388535 | 0.318471 | 0.065803 | 0.113659 | 0.035892 | 0.879362 | 0.879362 | 0.879362 | 0.879362 | 0.879362 | 0.777667 | 0 | 0 | 0.205043 | 1,507 | 57 | 74 | 26.438596 | 0.837229 | 0 | 0 | 0.681818 | 0 | 0 | 0.04645 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 1 | 0.045455 | false | 0 | 0.090909 | 0 | 0.136364 | 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 |
76f03734b197bf0cd5dd50c3c53794ba74f5f546 | 20,562 | py | Python | mpf/devices/segment_display/transitions.py | haggispinball/mpf_fathom_fast | 1035c3fb90bb279de84cc3ed4aa1e1df38d0d563 | [
"MIT"
] | 163 | 2015-01-25T02:19:50.000Z | 2022-03-26T12:00:28.000Z | mpf/devices/segment_display/transitions.py | haggispinball/mpf_fathom_fast | 1035c3fb90bb279de84cc3ed4aa1e1df38d0d563 | [
"MIT"
] | 1,086 | 2015-03-23T19:53:17.000Z | 2022-03-24T20:46:11.000Z | mpf/devices/segment_display/transitions.py | haggispinball/mpf_fathom_fast | 1035c3fb90bb279de84cc3ed4aa1e1df38d0d563 | [
"MIT"
] | 148 | 2015-01-28T02:31:39.000Z | 2022-03-22T13:54:01.000Z | """Text transitions used for segment displays."""
import abc
from typing import Optional, List
from mpf.core.placeholder_manager import TextTemplate
from mpf.core.rgb_color import RGBColor
from mpf.devices.segment_display.segment_display_text import SegmentDisplayText, UncoloredSegmentDisplayText
STEP_OUT_OF_RANGE_ER... | 45.191209 | 118 | 0.608112 | 2,250 | 20,562 | 5.258222 | 0.057778 | 0.059505 | 0.071676 | 0.040571 | 0.83577 | 0.79951 | 0.787085 | 0.761051 | 0.725552 | 0.70459 | 0 | 0.004615 | 0.304494 | 20,562 | 454 | 119 | 45.290749 | 0.82267 | 0.08292 | 0 | 0.678344 | 0 | 0 | 0.01632 | 0 | 0 | 0 | 0 | 0 | 0.041401 | 1 | 0.073248 | false | 0 | 0.015924 | 0 | 0.200637 | 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 |
0a0053fabf01c386213e86f68926dd263ff678d7 | 24,835 | py | Python | tools/notebook/extensions/wstl/magics/wstl_test.py | nwo-strap/healthcare-data-harmonization | 377c316d5ade4a13a8f1b5d2fdd904484d26fb3a | [
"Apache-2.0"
] | 1 | 2022-03-18T16:43:18.000Z | 2022-03-18T16:43:18.000Z | tools/notebook/extensions/wstl/magics/wstl_test.py | nwo-strap/healthcare-data-harmonization | 377c316d5ade4a13a8f1b5d2fdd904484d26fb3a | [
"Apache-2.0"
] | null | null | null | tools/notebook/extensions/wstl/magics/wstl_test.py | nwo-strap/healthcare-data-harmonization | 377c316d5ade4a13a8f1b5d2fdd904484d26fb3a | [
"Apache-2.0"
] | null | null | null | # Copyright 2020 Google LLC.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, soft... | 36.956845 | 84 | 0.625851 | 2,739 | 24,835 | 5.431544 | 0.136546 | 0.044229 | 0.027223 | 0.030853 | 0.798212 | 0.782752 | 0.766552 | 0.751496 | 0.738724 | 0.733616 | 0 | 0.011816 | 0.250292 | 24,835 | 671 | 85 | 37.011923 | 0.787207 | 0.041675 | 0 | 0.686957 | 0 | 0 | 0.165152 | 0.079405 | 0 | 0 | 0 | 0.00149 | 0.073043 | 0 | null | null | 0.001739 | 0.029565 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0a33a0665fd59fb4638092b0f5df73d65d20b6c6 | 948 | py | Python | config.py | itechnotion/flask-boilerplate | cd9c0f469254d81c363e7b142496bf1f1dbdc371 | [
"Apache-2.0"
] | null | null | null | config.py | itechnotion/flask-boilerplate | cd9c0f469254d81c363e7b142496bf1f1dbdc371 | [
"Apache-2.0"
] | null | null | null | config.py | itechnotion/flask-boilerplate | cd9c0f469254d81c363e7b142496bf1f1dbdc371 | [
"Apache-2.0"
] | null | null | null | class Config(object):
DEBUG = False
TESTING = False
SECRET_KEY = "B\xb2?.\xdf\x9f\xa7m\xf8\x8a%,\xf7\xc4\xfa\x91"
MONGO_URI="mongodb://localhost:27017/test"
IMAGE_UPLOADS = "/home/username/projects/my_app/app/static/images/uploads"
SESSION_COOKIE_SECURE = False
class ProductionConfig(Config):
... | 35.111111 | 78 | 0.724684 | 123 | 948 | 5.398374 | 0.349594 | 0.048193 | 0.090361 | 0.144578 | 0.736446 | 0.736446 | 0.724398 | 0.724398 | 0.724398 | 0.724398 | 0 | 0.035936 | 0.148734 | 948 | 27 | 79 | 35.111111 | 0.786865 | 0 | 0 | 0.625 | 0 | 0.041667 | 0.410959 | 0.402529 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0a51f1ff9a22ea232f2fbcffcef0d5952cde5b50 | 34,097 | py | Python | cinder/tests/unit/api/contrib/test_qos_specs_manage.py | ilay09/cinder | 86f084d42f18bd5971cc7a0df3e6d815543a472d | [
"Apache-2.0"
] | null | null | null | cinder/tests/unit/api/contrib/test_qos_specs_manage.py | ilay09/cinder | 86f084d42f18bd5971cc7a0df3e6d815543a472d | [
"Apache-2.0"
] | null | null | null | cinder/tests/unit/api/contrib/test_qos_specs_manage.py | ilay09/cinder | 86f084d42f18bd5971cc7a0df3e6d815543a472d | [
"Apache-2.0"
] | null | null | null | # Copyright 2013 eBay Inc.
# Copyright 2013 OpenStack Foundation
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LIC... | 46.900963 | 79 | 0.622723 | 4,164 | 34,097 | 4.791066 | 0.065562 | 0.101454 | 0.04812 | 0.049474 | 0.831128 | 0.794135 | 0.76802 | 0.737895 | 0.70807 | 0.696241 | 0 | 0.008263 | 0.265331 | 34,097 | 726 | 80 | 46.965565 | 0.788144 | 0.019298 | 0 | 0.59204 | 0 | 0 | 0.139352 | 0.095724 | 0 | 0 | 0 | 0 | 0.129353 | 1 | 0.094527 | false | 0.004975 | 0.021559 | 0.003317 | 0.129353 | 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 |
0a5f301c1cf4a7a4ab22403ddc020d23f8909148 | 3,801 | py | Python | test-framework/test-suites/integration/tests/list/test_list_host_firmware_mapping.py | anooprajendra/stacki | 5e3f51c928ff5367a7441f07bf28f0121e7abdff | [
"BSD-3-Clause"
] | 123 | 2015-05-12T23:36:45.000Z | 2017-07-05T23:26:57.000Z | test-framework/test-suites/integration/tests/list/test_list_host_firmware_mapping.py | anooprajendra/stacki | 5e3f51c928ff5367a7441f07bf28f0121e7abdff | [
"BSD-3-Clause"
] | 177 | 2015-06-05T19:17:47.000Z | 2017-07-07T17:57:24.000Z | test-framework/test-suites/integration/tests/list/test_list_host_firmware_mapping.py | anooprajendra/stacki | 5e3f51c928ff5367a7441f07bf28f0121e7abdff | [
"BSD-3-Clause"
] | 32 | 2015-06-07T02:25:03.000Z | 2017-06-23T07:35:35.000Z | import json
import pytest
@pytest.mark.parametrize(
"hosts, expected_results",
(
(
"",
[
{"host": "backend-0-0", "version": "1.2.3", "make": "mellanox", "model": "m7800"},
{"host": "backend-0-1", "version": "1.2.3.4", "make": "dell", "model": "x1052-software"},
],
),
("backend-0-0", [{"host": ... | 35.194444 | 132 | 0.639042 | 568 | 3,801 | 4.183099 | 0.135563 | 0.087542 | 0.022727 | 0.050505 | 0.919192 | 0.904882 | 0.904882 | 0.904882 | 0.904882 | 0.904882 | 0 | 0.073879 | 0.148908 | 3,801 | 107 | 133 | 35.523364 | 0.660587 | 0.116811 | 0 | 0.645161 | 0 | 0.053763 | 0.464211 | 0.046421 | 0 | 0 | 0 | 0 | 0.086022 | 1 | 0.021505 | false | 0 | 0.021505 | 0 | 0.043011 | 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 |
0a6fa82e8ed05dcf794259b504bf39d910129947 | 158 | py | Python | testcontainers/google/__init__.py | singerjess/testcontainers-python | 24eafa31c785a29877cbf874019adc9fb0e7b02d | [
"Apache-2.0"
] | 465 | 2018-10-09T13:09:40.000Z | 2022-03-31T15:33:23.000Z | testcontainers/google/__init__.py | singerjess/testcontainers-python | 24eafa31c785a29877cbf874019adc9fb0e7b02d | [
"Apache-2.0"
] | 142 | 2018-10-23T14:36:48.000Z | 2022-03-31T17:00:51.000Z | testcontainers/google/__init__.py | singerjess/testcontainers-python | 24eafa31c785a29877cbf874019adc9fb0e7b02d | [
"Apache-2.0"
] | 119 | 2018-11-16T21:13:05.000Z | 2022-03-31T14:12:39.000Z | """
Google Cloud Emulators
======================
Allows to spin up google cloud emulators, such as PubSub.
"""
from .pubsub import PubSubContainer # noqa
| 17.555556 | 57 | 0.639241 | 18 | 158 | 5.611111 | 0.777778 | 0.217822 | 0.39604 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158228 | 158 | 8 | 58 | 19.75 | 0.759399 | 0.696203 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
6a51a3c53ab512c3347b2873b0066a5e7a74d674 | 158 | py | Python | configs/lxmert/lxmert_pretrain.py | inspur-hsslab/iMIX | 99898de97ef8b45462ca1d6bf2542e423a73d769 | [
"Apache-2.0"
] | 23 | 2021-06-26T08:45:19.000Z | 2022-03-02T02:13:33.000Z | configs/lxmert/lxmert_pretrain.py | XChuanLee/iMIX | 99898de97ef8b45462ca1d6bf2542e423a73d769 | [
"Apache-2.0"
] | null | null | null | configs/lxmert/lxmert_pretrain.py | XChuanLee/iMIX | 99898de97ef8b45462ca1d6bf2542e423a73d769 | [
"Apache-2.0"
] | 9 | 2021-06-10T02:36:20.000Z | 2021-11-09T02:18:16.000Z | _base_ = [
'../_base_/models/lxmert/lxmert_pretrain_config.py',
'../_base_/datasets/lxmert/lxmert_pretrain.py',
'../_base_/default_runtime.py',
]
| 26.333333 | 56 | 0.683544 | 18 | 158 | 5.333333 | 0.5 | 0.25 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120253 | 158 | 5 | 57 | 31.6 | 0.690647 | 0 | 0 | 0 | 0 | 0 | 0.765823 | 0.765823 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6a9e4640b30d1ea9e1e970937fa940851128eee9 | 35 | py | Python | pathfinder/terminal/phybeast/utils/extract_rate/__init__.py | pf-core/pf-core | 0caf8abde968b959be2284518f7dc951ba680202 | [
"MIT"
] | null | null | null | pathfinder/terminal/phybeast/utils/extract_rate/__init__.py | pf-core/pf-core | 0caf8abde968b959be2284518f7dc951ba680202 | [
"MIT"
] | null | null | null | pathfinder/terminal/phybeast/utils/extract_rate/__init__.py | pf-core/pf-core | 0caf8abde968b959be2284518f7dc951ba680202 | [
"MIT"
] | null | null | null | from .commands import extract_rate
| 17.5 | 34 | 0.857143 | 5 | 35 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.935484 | 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 |
0ac2ba7ab3515acd4609d17e088cd120fdd0e6f0 | 202 | py | Python | sanic_openapi/swagger.py | artcg/sanic-openapi | ad6064427ca7310dc17d52729b516184d65ab1e3 | [
"MIT"
] | null | null | null | sanic_openapi/swagger.py | artcg/sanic-openapi | ad6064427ca7310dc17d52729b516184d65ab1e3 | [
"MIT"
] | 1 | 2021-03-16T06:45:56.000Z | 2021-03-16T06:45:56.000Z | sanic_openapi/swagger.py | artcg/sanic-openapi | ad6064427ca7310dc17d52729b516184d65ab1e3 | [
"MIT"
] | null | null | null | from .oas3.blueprint import blueprint_factory as oas3_factory
from .swagger2.blueprint import blueprint_factory as swagger_factory
swagger_blueprint = swagger_factory()
oas3_blueprint = oas3_factory()
| 33.666667 | 68 | 0.856436 | 26 | 202 | 6.346154 | 0.307692 | 0.157576 | 0.290909 | 0.375758 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027322 | 0.094059 | 202 | 5 | 69 | 40.4 | 0.874317 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 1 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
0ac414cdd888f20f89112783a1a04f36d217480a | 96 | py | Python | venv/lib/python3.8/site-packages/parso/cache.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/parso/cache.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/parso/cache.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/f5/c1/0f/e7b8b80a368c9841621dc7d1939541c14648fb37079b8f125b2fcda6ba | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.427083 | 0 | 96 | 1 | 96 | 96 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0afc6d83fc7801ed7075cc2cca70b88791ed9ebd | 107,025 | py | Python | google/cloud/managedidentities/v1beta1/managedidentities-v1beta1-py/tests/unit/gapic/managedidentities_v1beta1/test_managed_identities_service.py | googleapis/googleapis-gen | d84824c78563d59b0e58d5664bfaa430e9ad7e7a | [
"Apache-2.0"
] | 7 | 2021-02-21T10:39:41.000Z | 2021-12-07T07:31:28.000Z | google/cloud/managedidentities/v1beta1/managedidentities-v1beta1-py/tests/unit/gapic/managedidentities_v1beta1/test_managed_identities_service.py | googleapis/googleapis-gen | d84824c78563d59b0e58d5664bfaa430e9ad7e7a | [
"Apache-2.0"
] | 6 | 2021-02-02T23:46:11.000Z | 2021-11-15T01:46:02.000Z | google/cloud/managedidentities/v1beta1/managedidentities-v1beta1-py/tests/unit/gapic/managedidentities_v1beta1/test_managed_identities_service.py | googleapis/googleapis-gen | d84824c78563d59b0e58d5664bfaa430e9ad7e7a | [
"Apache-2.0"
] | 4 | 2021-01-28T23:25:45.000Z | 2021-08-30T01:55:16.000Z | # -*- coding: utf-8 -*-
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or... | 39.37638 | 270 | 0.694548 | 12,048 | 107,025 | 5.92007 | 0.038015 | 0.032177 | 0.045426 | 0.023442 | 0.890655 | 0.863835 | 0.84307 | 0.807964 | 0.787844 | 0.763 | 0 | 0.00461 | 0.22576 | 107,025 | 2,717 | 271 | 39.390872 | 0.856148 | 0.184798 | 0 | 0.684794 | 0 | 0 | 0.084845 | 0.037353 | 0 | 0 | 0 | 0.000368 | 0.133052 | 1 | 0.048046 | false | 0.019007 | 0.016367 | 0.001056 | 0.06547 | 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 |
7c1398bb26de687c5ca421fdb5515e5b1eabd34b | 29 | py | Python | app/Voltage/__init__.py | gizmo-cda/g2x | 841364b8ef4ef4197bbb3682f33ff4ddd539619f | [
"MIT"
] | null | null | null | app/Voltage/__init__.py | gizmo-cda/g2x | 841364b8ef4ef4197bbb3682f33ff4ddd539619f | [
"MIT"
] | null | null | null | app/Voltage/__init__.py | gizmo-cda/g2x | 841364b8ef4ef4197bbb3682f33ff4ddd539619f | [
"MIT"
] | null | null | null | from .voltage import Voltage
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7c68708a9d822811f9df6d4ccf901a82123e48dd | 19,327 | py | Python | 3QVeryMuch/lib/lib_creat3Qreport.py | philip-shen/note_python | db0ad84af25464a22ac52e348960107c81e74a56 | [
"MIT"
] | null | null | null | 3QVeryMuch/lib/lib_creat3Qreport.py | philip-shen/note_python | db0ad84af25464a22ac52e348960107c81e74a56 | [
"MIT"
] | 11 | 2021-02-08T20:45:23.000Z | 2022-03-12T01:00:11.000Z | 3QVeryMuch/lib/lib_creat3Qreport.py | philip-shen/note_python | db0ad84af25464a22ac52e348960107c81e74a56 | [
"MIT"
] | null | null | null | # 3/28/2020 Convert Nested JSON to Pandas DataFrame and Flatten List in a Column
# https://gist.github.com/rafaan/4ddc91ae47ea46a46c0b
# 6/25/2020 Initial
# 7/7/2020 Merge test_stort3Qdb.py and test_query3Qtable.py
########################################################
import json
from pandas.io.json import json_n... | 51.265252 | 173 | 0.550008 | 2,151 | 19,327 | 4.635053 | 0.116225 | 0.051153 | 0.040822 | 0.032397 | 0.905015 | 0.880542 | 0.875426 | 0.85667 | 0.845035 | 0.812538 | 0 | 0.036768 | 0.331557 | 19,327 | 376 | 174 | 51.401596 | 0.734964 | 0.175092 | 0 | 0.696078 | 0 | 0 | 0.10842 | 0.006649 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019608 | false | 0 | 0.039216 | 0 | 0.058824 | 0.014706 | 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 |
7cad683cac5ccd06ecc87e158c9648b31fcaeb5c | 25,629 | py | Python | test/test_ip_mcast.py | LabNConsulting/vpp-marvell | 427808849f9db408ef76b1b96df3c56b1c3d0bbf | [
"Apache-2.0"
] | 9 | 2018-07-25T07:43:09.000Z | 2022-03-11T09:55:03.000Z | test/test_ip_mcast.py | LabNConsulting/vpp-marvell | 427808849f9db408ef76b1b96df3c56b1c3d0bbf | [
"Apache-2.0"
] | null | null | null | test/test_ip_mcast.py | LabNConsulting/vpp-marvell | 427808849f9db408ef76b1b96df3c56b1c3d0bbf | [
"Apache-2.0"
] | 15 | 2018-05-07T04:56:40.000Z | 2021-11-21T09:06:29.000Z | #!/usr/bin/env python
import unittest
from framework import VppTestCase, VppTestRunner
from vpp_sub_interface import VppSubInterface, VppDot1QSubint, VppDot1ADSubint
from vpp_ip_route import VppIpMRoute, VppMRoutePath, VppMFibSignal, \
MRouteItfFlags, MRouteEntryFlags, VppIpTable
from scapy.packet import Raw
fro... | 33.678055 | 79 | 0.578329 | 3,240 | 25,629 | 4.307099 | 0.093827 | 0.022644 | 0.017628 | 0.021928 | 0.804156 | 0.792476 | 0.768685 | 0.743891 | 0.730276 | 0.712003 | 0 | 0.057963 | 0.330875 | 25,629 | 760 | 80 | 33.722368 | 0.755788 | 0.150572 | 0 | 0.662971 | 0 | 0 | 0.055916 | 0 | 0 | 0 | 0.00051 | 0 | 0.08204 | 1 | 0.035477 | false | 0 | 0.019956 | 0 | 0.068736 | 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 |
7ce22399ba8b23097688953de356af8ae6fa91fc | 9,351 | py | Python | martypy/ClientGeneric.py | robotical/martypy | afc1f89d471875ca1beb775f375438f97fc33679 | [
"Apache-2.0"
] | 8 | 2017-08-02T11:31:50.000Z | 2022-01-05T14:36:53.000Z | martypy/ClientGeneric.py | robotical/martypy | afc1f89d471875ca1beb775f375438f97fc33679 | [
"Apache-2.0"
] | 17 | 2017-07-24T22:39:43.000Z | 2022-01-05T14:41:20.000Z | martypy/ClientGeneric.py | robotical/martypy | afc1f89d471875ca1beb775f375438f97fc33679 | [
"Apache-2.0"
] | 5 | 2017-11-12T08:51:18.000Z | 2020-11-27T09:28:46.000Z | from abc import ABC, abstractmethod
from typing import Callable, Dict, List, Optional, Union, Tuple
from warnings import warn
class ClientGeneric(ABC):
SIDE_CODES = {
'left' : 0,
'right' : 1,
'forward' : 2,
'back' : 3,
'auto' : 0,
}
EYE_POSES = {
... | 25.831492 | 119 | 0.617902 | 1,079 | 9,351 | 5.191844 | 0.23355 | 0.227597 | 0.214209 | 0.239914 | 0.521064 | 0.428418 | 0.337201 | 0.237237 | 0.179936 | 0.053195 | 0 | 0.008817 | 0.284355 | 9,351 | 361 | 120 | 25.903047 | 0.828302 | 0.014437 | 0 | 0.557196 | 0 | 0 | 0.03111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.291513 | false | 0.01845 | 0.01107 | 0.254613 | 0.583026 | 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 |
7ce6853b6ad2d42cc2fc010dd74ccd6b3fc38a0a | 37 | py | Python | tests/_support/has_modules.py | daobook/invoke | 577faf1c016a69392583046613bfb42356855e8f | [
"BSD-2-Clause"
] | null | null | null | tests/_support/has_modules.py | daobook/invoke | 577faf1c016a69392583046613bfb42356855e8f | [
"BSD-2-Clause"
] | null | null | null | tests/_support/has_modules.py | daobook/invoke | 577faf1c016a69392583046613bfb42356855e8f | [
"BSD-2-Clause"
] | null | null | null | # Not picklable!
import os # noqa
| 12.333333 | 18 | 0.648649 | 5 | 37 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.27027 | 37 | 2 | 19 | 18.5 | 0.888889 | 0.513514 | 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 |
6b0a6cd1eccb677c6bf9760f19a138a800366ac7 | 6,463 | py | Python | recipes/LibriMix/prepare_data.py | anonymspeechbrain/speechbrain | 9a0632ddb066f5bceffb71fb971552fb542f7b7e | [
"Apache-2.0"
] | null | null | null | recipes/LibriMix/prepare_data.py | anonymspeechbrain/speechbrain | 9a0632ddb066f5bceffb71fb971552fb542f7b7e | [
"Apache-2.0"
] | null | null | null | recipes/LibriMix/prepare_data.py | anonymspeechbrain/speechbrain | 9a0632ddb066f5bceffb71fb971552fb542f7b7e | [
"Apache-2.0"
] | null | null | null | """
The functions to create the .csv files for LibriMix
Author
* Anonymous
"""
import os
import csv
def prepare_librimix(
datapath,
savepath,
n_spks=2,
skip_prep=False,
librimix_addnoise=False,
fs=8000,
):
"""
Prepare .csv files for librimix
Arguments:
----------
d... | 30.77619 | 80 | 0.504564 | 730 | 6,463 | 4.172603 | 0.146575 | 0.041366 | 0.036113 | 0.050558 | 0.782994 | 0.782994 | 0.739002 | 0.739002 | 0.727183 | 0.69107 | 0 | 0.024632 | 0.390685 | 6,463 | 209 | 81 | 30.923445 | 0.748857 | 0.083398 | 0 | 0.709877 | 0 | 0 | 0.165012 | 0 | 0 | 0 | 0 | 0 | 0.012346 | 1 | 0.018519 | false | 0 | 0.012346 | 0 | 0.037037 | 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 |
6b233b0618af2c13245a4c15d93d6022540aded8 | 157 | py | Python | Udemy/GeekUniversity/secao_4/ex2.py | SandboxGTASA/Python-1 | bbb5f8bdf7d5110528e457b2a9ebdb2d67e40805 | [
"MIT"
] | null | null | null | Udemy/GeekUniversity/secao_4/ex2.py | SandboxGTASA/Python-1 | bbb5f8bdf7d5110528e457b2a9ebdb2d67e40805 | [
"MIT"
] | null | null | null | Udemy/GeekUniversity/secao_4/ex2.py | SandboxGTASA/Python-1 | bbb5f8bdf7d5110528e457b2a9ebdb2d67e40805 | [
"MIT"
] | null | null | null | # Faça um programa que leia um numero real e imprima
num_real = float(input('Entre com um numero real: '))
print(f'O numero real digitado foi: {num_real}')
| 31.4 | 53 | 0.732484 | 28 | 157 | 4.035714 | 0.678571 | 0.265487 | 0.212389 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165605 | 157 | 4 | 54 | 39.25 | 0.862595 | 0.318471 | 0 | 0 | 0 | 0 | 0.609524 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
6b48f807504030b86fdf539f7cc0b007735576fe | 25,630 | py | Python | tests.py | mthh/smoomapy | a603a62e76592e84509591fddcde8bfb1e826b84 | [
"MIT"
] | 6 | 2017-01-10T16:01:17.000Z | 2021-07-06T12:52:37.000Z | tests.py | mthh/smoomapy | a603a62e76592e84509591fddcde8bfb1e826b84 | [
"MIT"
] | null | null | null | tests.py | mthh/smoomapy | a603a62e76592e84509591fddcde8bfb1e826b84 | [
"MIT"
] | 1 | 2020-02-29T05:08:19.000Z | 2020-02-29T05:08:19.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import unittest
import numpy as np
import random
import sys
from geopandas import GeoDataFrame
from io import StringIO
from smoomapy import (
quick_stewart, quick_idw, SmoothIdw, SmoothStewart,
head_tail_breaks, maximal_breaks, get_opt_nb_class)
from smoomapy.helper... | 43.514431 | 94 | 0.595786 | 2,793 | 25,630 | 5.346939 | 0.11672 | 0.071783 | 0.051359 | 0.079014 | 0.854359 | 0.83628 | 0.795902 | 0.769385 | 0.751373 | 0.732691 | 0 | 0.061321 | 0.296918 | 25,630 | 588 | 95 | 43.588435 | 0.767425 | 0.207686 | 0 | 0.677582 | 0 | 0 | 0.13404 | 0.061522 | 0 | 0 | 0 | 0 | 0.267003 | 1 | 0.065491 | false | 0.005038 | 0.020151 | 0 | 0.093199 | 0.005038 | 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 |
86e127ca6d855b0f3a3f25fb179cc231634a14ba | 22 | py | Python | python/__init__.py | ksloataamp/libplanes | 632fb3bf52838f9bd0531fc2040b3b2ec448f70f | [
"MIT"
] | 2 | 2018-03-13T15:13:16.000Z | 2019-04-23T14:10:46.000Z | python/__init__.py | ksloataamp/libplanes | 632fb3bf52838f9bd0531fc2040b3b2ec448f70f | [
"MIT"
] | 4 | 2019-10-22T11:29:11.000Z | 2021-02-17T17:55:41.000Z | python/__init__.py | ksloataamp/libplanes | 632fb3bf52838f9bd0531fc2040b3b2ec448f70f | [
"MIT"
] | 5 | 2018-10-23T06:04:18.000Z | 2021-02-15T02:46:12.000Z | from .planes import *
| 11 | 21 | 0.727273 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
86e4b4ac35f055169037bd9f25c316ec04298868 | 65 | py | Python | src/oxint/__init__.py | joaquinOnSoft/oxint | c90dc25e0ccd5bb3576c9e9cb61e3a74d695e16a | [
"Apache-2.0"
] | null | null | null | src/oxint/__init__.py | joaquinOnSoft/oxint | c90dc25e0ccd5bb3576c9e9cb61e3a74d695e16a | [
"Apache-2.0"
] | null | null | null | src/oxint/__init__.py | joaquinOnSoft/oxint | c90dc25e0ccd5bb3576c9e9cb61e3a74d695e16a | [
"Apache-2.0"
] | null | null | null | from . import ingest
from . import scraping
from . import utils
| 13 | 22 | 0.753846 | 9 | 65 | 5.444444 | 0.555556 | 0.612245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 65 | 4 | 23 | 16.25 | 0.942308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
86e500f8999d6ac4ba9d8d6bcf1b9628b7615017 | 44 | py | Python | generate_face/__init__.py | evoreign/generate_face | 94cbc89b202c0bc6d2b82e75ec1d414049a90b0b | [
"MIT"
] | null | null | null | generate_face/__init__.py | evoreign/generate_face | 94cbc89b202c0bc6d2b82e75ec1d414049a90b0b | [
"MIT"
] | null | null | null | generate_face/__init__.py | evoreign/generate_face | 94cbc89b202c0bc6d2b82e75ec1d414049a90b0b | [
"MIT"
] | null | null | null | from generate_face.main import FaceGenerator | 44 | 44 | 0.909091 | 6 | 44 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 44 | 1 | 44 | 44 | 0.95122 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
8106e4008358d96852b8c8e65f0e924699d60203 | 70 | py | Python | enthought/pyface/workbench/action/workbench_action.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/pyface/workbench/action/workbench_action.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/pyface/workbench/action/workbench_action.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from pyface.workbench.action.workbench_action import *
| 23.333333 | 54 | 0.828571 | 9 | 70 | 6.333333 | 0.777778 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 70 | 2 | 55 | 35 | 0.904762 | 0.171429 | 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 |
8140583e64e4fe933558cbb7974508986fb8fa9d | 36 | py | Python | mantraml/models/__init__.py | cclauss/mantra | 19e2f72960da8314f11768d9acfe7836629b817c | [
"Apache-2.0"
] | 330 | 2018-09-04T19:07:51.000Z | 2021-09-14T11:21:05.000Z | mantraml/models/__init__.py | cclauss/mantra | 19e2f72960da8314f11768d9acfe7836629b817c | [
"Apache-2.0"
] | 13 | 2018-09-06T06:08:16.000Z | 2018-12-01T17:04:38.000Z | mantraml/models/__init__.py | cclauss/mantra | 19e2f72960da8314f11768d9acfe7836629b817c | [
"Apache-2.0"
] | 20 | 2018-09-06T11:56:07.000Z | 2021-12-03T19:48:21.000Z | from .MantraModel import MantraModel | 36 | 36 | 0.888889 | 4 | 36 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.969697 | 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 |
d48ecb509746ea46df7886601f21149e83979eb2 | 3,834 | py | Python | mak/libs/pyxx/cxx/grammar/declaration/declarator/name.py | motor-dev/Motor | 98cb099fe1c2d31e455ed868cc2a25eae51e79f0 | [
"BSD-3-Clause"
] | null | null | null | mak/libs/pyxx/cxx/grammar/declaration/declarator/name.py | motor-dev/Motor | 98cb099fe1c2d31e455ed868cc2a25eae51e79f0 | [
"BSD-3-Clause"
] | null | null | null | mak/libs/pyxx/cxx/grammar/declaration/declarator/name.py | motor-dev/Motor | 98cb099fe1c2d31e455ed868cc2a25eae51e79f0 | [
"BSD-3-Clause"
] | null | null | null | """
type-id:
type-specifier-seq abstract-declarator?
defining-type-id:
defining-type-specifier-seq abstract-declarator?
abstract-declarator:
ptr-abstract-declarator
noptr-abstract-declarator? parameters-and-qualifiers trailing-return-type
abstract-pack-declarator
ptr-abstract-declarator:
nopt... | 32.218487 | 134 | 0.750391 | 453 | 3,834 | 6.284768 | 0.092715 | 0.265543 | 0.153495 | 0.10432 | 0.890411 | 0.849315 | 0.812785 | 0.684932 | 0.624517 | 0.537759 | 0 | 0.007038 | 0.110589 | 3,834 | 119 | 135 | 32.218487 | 0.827859 | 0.343505 | 0 | 0.362069 | 0 | 0.051724 | 0.590564 | 0.435026 | 0 | 0 | 0 | 0 | 0 | 1 | 0.155172 | false | 0.155172 | 0.068966 | 0 | 0.224138 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
be09500e8b13301e1ed4ad270ce2ac522fb93798 | 202 | py | Python | polyaxon_k8s/exceptions.py | gideonbros/polyaxon-k8s | 60bf1f97b276e84a17462ba904a82aed652f19fe | [
"MIT"
] | 5 | 2017-11-22T21:45:35.000Z | 2020-02-14T19:51:48.000Z | polyaxon_k8s/exceptions.py | gideonbros/polyaxon-k8s | 60bf1f97b276e84a17462ba904a82aed652f19fe | [
"MIT"
] | 3 | 2017-12-18T15:42:03.000Z | 2019-11-19T10:34:39.000Z | polyaxon_k8s/exceptions.py | gideonbros/polyaxon-k8s | 60bf1f97b276e84a17462ba904a82aed652f19fe | [
"MIT"
] | 5 | 2017-12-11T12:49:28.000Z | 2021-12-03T07:11:38.000Z | # -*- coding: utf-8 -*-
from __future__ import absolute_import, division, print_function
class PolyaxonK8SError(Exception):
"""Exception class to raise in case of a Kubernetes issue."""
pass
| 22.444444 | 65 | 0.722772 | 25 | 202 | 5.6 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011976 | 0.173267 | 202 | 8 | 66 | 25.25 | 0.826347 | 0.386139 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0.333333 | 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 |
07d36e66b0ac5221ed421225df73d5d0e847b95f | 154,101 | py | Python | cinder/tests/unit/volume/drivers/dell_emc/powermax/test_powermax_common.py | stackhpc/cinder | 93f0ca4dc9eedee10df2f03dad834a31b7f09847 | [
"Apache-2.0"
] | null | null | null | cinder/tests/unit/volume/drivers/dell_emc/powermax/test_powermax_common.py | stackhpc/cinder | 93f0ca4dc9eedee10df2f03dad834a31b7f09847 | [
"Apache-2.0"
] | null | null | null | cinder/tests/unit/volume/drivers/dell_emc/powermax/test_powermax_common.py | stackhpc/cinder | 93f0ca4dc9eedee10df2f03dad834a31b7f09847 | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2017-2019 Dell Inc. or its subsidiaries.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0... | 49.249281 | 79 | 0.639723 | 18,133 | 154,101 | 5.073843 | 0.03353 | 0.061302 | 0.053802 | 0.023673 | 0.872408 | 0.833116 | 0.78051 | 0.744652 | 0.707947 | 0.677231 | 0 | 0.00752 | 0.266501 | 154,101 | 3,128 | 80 | 49.265026 | 0.806437 | 0.010889 | 0 | 0.639701 | 0 | 0 | 0.095678 | 0.032654 | 0 | 0 | 0 | 0 | 0.112616 | 1 | 0.07484 | false | 0.004633 | 0.006415 | 0 | 0.081611 | 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 |
07d6e38ec524eff4b861d23fedf8a0b0307489a0 | 20 | py | Python | tests/parser/good/multiple-and.py | Nakrez/RePy | 057db55a99eac2c5cb3d622fa1f2e29f6083d8d6 | [
"MIT"
] | 1 | 2020-11-24T05:24:26.000Z | 2020-11-24T05:24:26.000Z | tests/parser/good/multiple-and.py | Nakrez/RePy | 057db55a99eac2c5cb3d622fa1f2e29f6083d8d6 | [
"MIT"
] | null | null | null | tests/parser/good/multiple-and.py | Nakrez/RePy | 057db55a99eac2c5cb3d622fa1f2e29f6083d8d6 | [
"MIT"
] | null | null | null | 1 and 2 and 3 and 4
| 10 | 19 | 0.65 | 7 | 20 | 1.857143 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.307692 | 0.35 | 20 | 1 | 20 | 20 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ed02cac010039e9e725a076a45c86316363a8106 | 22,660 | py | Python | tests/datasource/data_connector/test_runtime_data_connector.py | rpanai/great_expectations | 82c686088c0652a1b2e8e5eb95b5851efed32551 | [
"Apache-2.0"
] | 1 | 2021-07-07T00:22:09.000Z | 2021-07-07T00:22:09.000Z | tests/datasource/data_connector/test_runtime_data_connector.py | rpanai/great_expectations | 82c686088c0652a1b2e8e5eb95b5851efed32551 | [
"Apache-2.0"
] | null | null | null | tests/datasource/data_connector/test_runtime_data_connector.py | rpanai/great_expectations | 82c686088c0652a1b2e8e5eb95b5851efed32551 | [
"Apache-2.0"
] | null | null | null | from typing import List
import pandas as pd
import pytest
from ruamel.yaml import YAML
import great_expectations.exceptions as ge_exceptions
from great_expectations.core.batch import (
BatchDefinition,
BatchRequest,
BatchSpec,
RuntimeBatchRequest,
)
from great_expectations.core.batch_spec import (
... | 34.969136 | 116 | 0.684598 | 2,419 | 22,660 | 5.906986 | 0.069864 | 0.111904 | 0.094478 | 0.151165 | 0.865421 | 0.840857 | 0.818672 | 0.790328 | 0.78074 | 0.770943 | 0 | 0.022286 | 0.231686 | 22,660 | 647 | 117 | 35.023184 | 0.798449 | 0.058782 | 0 | 0.624266 | 0 | 0 | 0.166948 | 0.047243 | 0 | 0 | 0 | 0 | 0.052838 | 1 | 0.027397 | false | 0 | 0.017613 | 0 | 0.04501 | 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 |
ed30117dd50cc97124e6711f817037435b61a9e1 | 15,503 | py | Python | tests/test_sklearn_one_vs_rest_classifier_converter.py | elcolie/sklearn-onnx | 004fa39cb995ada0cde232ae8e30341018f450ac | [
"MIT"
] | 1 | 2021-04-12T12:38:20.000Z | 2021-04-12T12:38:20.000Z | tests/test_sklearn_one_vs_rest_classifier_converter.py | elcolie/sklearn-onnx | 004fa39cb995ada0cde232ae8e30341018f450ac | [
"MIT"
] | null | null | null | tests/test_sklearn_one_vs_rest_classifier_converter.py | elcolie/sklearn-onnx | 004fa39cb995ada0cde232ae8e30341018f450ac | [
"MIT"
] | null | null | null | from distutils.version import StrictVersion
import unittest
from numpy.testing import assert_almost_equal
from onnxruntime import InferenceSession, __version__ as ort_version
from sklearn.ensemble import (
GradientBoostingClassifier,
GradientBoostingRegressor,
)
from sklearn.linear_model import LogisticRegressi... | 37.44686 | 78 | 0.596723 | 1,429 | 15,503 | 6.156753 | 0.104269 | 0.050125 | 0.038645 | 0.050011 | 0.827347 | 0.827347 | 0.827347 | 0.818368 | 0.762787 | 0.71539 | 0 | 0.011716 | 0.30078 | 15,503 | 413 | 79 | 37.53753 | 0.799908 | 0.009482 | 0 | 0.693299 | 0 | 0 | 0.174018 | 0.105376 | 0 | 0 | 0 | 0 | 0.048969 | 1 | 0.046392 | false | 0 | 0.028351 | 0 | 0.082474 | 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 |
ed40bd9562304312050c9da848873a5eb1d3ae09 | 641 | py | Python | hyperion_sat/__init__.py | Stemonitis/Hyperion | 9620ea2a4ebf18e32863e0b2115be1d5e50016ce | [
"MIT"
] | null | null | null | hyperion_sat/__init__.py | Stemonitis/Hyperion | 9620ea2a4ebf18e32863e0b2115be1d5e50016ce | [
"MIT"
] | null | null | null | hyperion_sat/__init__.py | Stemonitis/Hyperion | 9620ea2a4ebf18e32863e0b2115be1d5e50016ce | [
"MIT"
] | null | null | null | from .reading.metadata import *
from .reading.hdf import *
from .atmospheric_correction.making_masks import *
from .atmospheric_correction.putting_together_and_calculating_look_up_tables import *
from .atmospheric_correction.spectral_polishing import *
from .atmospheric_correction.spectral_smile import *
from .atmosphe... | 45.785714 | 85 | 0.862715 | 79 | 641 | 6.620253 | 0.481013 | 0.229446 | 0.240918 | 0.355641 | 0.14914 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081123 | 641 | 13 | 86 | 49.307692 | 0.887946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.