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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
096a609c835de9067629b2750f633954b18a195c | 221 | py | Python | pnl_process/performance_visualize.py | queiyanglim/trading_algorithm | 959de9ecb503b9de97528e06e57d40382dec9a65 | [
"MIT"
] | 4 | 2020-10-11T15:03:02.000Z | 2021-12-13T21:27:44.000Z | pnl_process/performance_visualize.py | queiyanglim/trading_algorithm | 959de9ecb503b9de97528e06e57d40382dec9a65 | [
"MIT"
] | null | null | null | pnl_process/performance_visualize.py | queiyanglim/trading_algorithm | 959de9ecb503b9de97528e06e57d40382dec9a65 | [
"MIT"
] | 2 | 2020-11-03T17:48:46.000Z | 2021-06-30T17:25:19.000Z | from pnl_process import performance_statistics
class PerformancePlot(performance_statistics):
def __init__(self, pnl_vector, risk_free_rate):
super(PerformancePlot, self).__init__(pnl_vector, risk_free_rate) | 36.833333 | 73 | 0.81448 | 27 | 221 | 6.037037 | 0.592593 | 0.257669 | 0.159509 | 0.208589 | 0.257669 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 221 | 6 | 73 | 36.833333 | 0.835897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
09b96feae91d323c16389042ed242b410f56f745 | 5,558 | py | Python | pymatflow/cp2k/base/farming.py | DeqiTang/pymatflow | bd8776feb40ecef0e6704ee898d9f42ded3b0186 | [
"MIT"
] | 6 | 2020-03-06T16:13:08.000Z | 2022-03-09T07:53:34.000Z | pymatflow/cp2k/base/farming.py | DeqiTang/pymatflow | bd8776feb40ecef0e6704ee898d9f42ded3b0186 | [
"MIT"
] | 1 | 2021-10-02T02:23:08.000Z | 2021-11-08T13:29:37.000Z | pymatflow/cp2k/base/farming.py | DeqiTang/pymatflow | bd8776feb40ecef0e6704ee898d9f42ded3b0186 | [
"MIT"
] | 1 | 2021-07-10T16:28:14.000Z | 2021-07-10T16:28:14.000Z | #!/usr/bin/evn python
# _*_ coding: utf-8 _*_
import numpy as np
import sys
import os
import shutil
"""
Usage:
"""
class cp2k_farming_job:
"""
"""
def __init__(self):
self.params = {
}
self.status = False
# basic setting
def ... | 27.514851 | 71 | 0.485966 | 663 | 5,558 | 3.927602 | 0.093514 | 0.122888 | 0.061444 | 0.038018 | 0.852919 | 0.822581 | 0.81682 | 0.804916 | 0.799539 | 0.744624 | 0 | 0.008333 | 0.373875 | 5,558 | 201 | 72 | 27.651741 | 0.739943 | 0.057215 | 0 | 0.676692 | 0 | 0 | 0.060894 | 0.004248 | 0 | 0 | 0 | 0 | 0 | 1 | 0.135338 | false | 0.045113 | 0.030075 | 0 | 0.210526 | 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 |
09ce4c1b39d904862ef333912e0c8a58c8a0c135 | 22,227 | py | Python | PEATDB/Ekin/Ekin_images.py | shambo001/peat | 7a26e896aa9914b084a9064df09ed15df4047cf3 | [
"MIT"
] | 3 | 2016-11-11T06:11:03.000Z | 2021-09-12T22:13:51.000Z | PEATDB/Ekin/Ekin_images.py | shambo001/peat | 7a26e896aa9914b084a9064df09ed15df4047cf3 | [
"MIT"
] | null | null | null | PEATDB/Ekin/Ekin_images.py | shambo001/peat | 7a26e896aa9914b084a9064df09ed15df4047cf3 | [
"MIT"
] | 2 | 2016-02-15T16:10:36.000Z | 2018-02-27T10:33:21.000Z | #!/usr/bin/env python
#
# Protein Engineering Analysis Tool DataBase (PEATDB)
# Copyright (C) 2010 Damien Farrell & Jens Erik Nielsen
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, eit... | 68.390769 | 80 | 0.755253 | 776 | 22,227 | 21.630155 | 0.814433 | 0.257373 | 0.343164 | 0.400357 | 0.155317 | 0.146321 | 0.142985 | 0.09294 | 0.09294 | 0.09294 | 0 | 0.094362 | 0.188509 | 22,227 | 324 | 81 | 68.601852 | 0.836226 | 0.039771 | 0 | 0.155709 | 0 | 0 | 0.767175 | 0.765507 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017301 | false | 0 | 0.017301 | 0 | 0.051903 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
111ba04955cdc47fefffe63e0faf37c4c28f50c8 | 278 | py | Python | DataCollectorError.py | uvmaero/aero-daq-data-collector | 8b7c52ecf9e3d0a13f53dc2d429834235da138b1 | [
"MIT"
] | null | null | null | DataCollectorError.py | uvmaero/aero-daq-data-collector | 8b7c52ecf9e3d0a13f53dc2d429834235da138b1 | [
"MIT"
] | null | null | null | DataCollectorError.py | uvmaero/aero-daq-data-collector | 8b7c52ecf9e3d0a13f53dc2d429834235da138b1 | [
"MIT"
] | null | null | null | class DataCollectorException(Exception):
def __init__(self,*args,**kwargs):
Exception.__init__(self,*args,**kwargs)
class DataCollectorError(DataCollectorException):
def __init__(self,*args,**kwargs):
DataCollectorException.__init__(self,*args,**kwargs) | 39.714286 | 60 | 0.741007 | 26 | 278 | 7.307692 | 0.346154 | 0.168421 | 0.252632 | 0.378947 | 0.221053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122302 | 278 | 7 | 60 | 39.714286 | 0.778689 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
1130911c084c2860f796662326809f733efb6ca8 | 32 | py | Python | pyreadme/__init__.py | maxpumperla/pyreadme | 142c8a9ee79e4e3d26607ab69ba0612fe9dffd0b | [
"MIT"
] | 5 | 2019-02-21T17:09:16.000Z | 2020-05-05T07:54:16.000Z | pyreadme/__init__.py | maxpumperla/pyreadme | 142c8a9ee79e4e3d26607ab69ba0612fe9dffd0b | [
"MIT"
] | null | null | null | pyreadme/__init__.py | maxpumperla/pyreadme | 142c8a9ee79e4e3d26607ab69ba0612fe9dffd0b | [
"MIT"
] | null | null | null | from pyreadme.login import login | 32 | 32 | 0.875 | 5 | 32 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.965517 | 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 |
113f9cd143a7ceb538253b6fcecf43d5401b3fb8 | 64 | py | Python | fandogh_cli/presenter/__init__.py | behroozmirzaie7/fandogh-cli | e23d5c761a85b539b1c5f80bd9c6fd7bd2e5f9f0 | [
"MIT"
] | 131 | 2018-05-14T21:00:40.000Z | 2022-03-29T10:00:54.000Z | fandogh_cli/presenter/__init__.py | behroozmirzaie7/fandogh-cli | e23d5c761a85b539b1c5f80bd9c6fd7bd2e5f9f0 | [
"MIT"
] | 130 | 2018-05-14T19:43:18.000Z | 2021-08-28T08:52:04.000Z | fandogh_cli/presenter/__init__.py | behroozmirzaie7/fandogh-cli | e23d5c761a85b539b1c5f80bd9c6fd7bd2e5f9f0 | [
"MIT"
] | 37 | 2018-05-15T05:59:56.000Z | 2022-03-08T05:26:54.000Z | from .base_presenter import *
from .service_presenter import *
| 16 | 32 | 0.796875 | 8 | 64 | 6.125 | 0.625 | 0.612245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140625 | 64 | 3 | 33 | 21.333333 | 0.890909 | 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 |
114a5628a615fc00be42efe4041e635cccfddd96 | 3,139 | py | Python | tests/test_split_income.py | beancount/fava-plugins | 9675bf239dfb892b28d82946c2a4a5322d8014b0 | [
"MIT"
] | 18 | 2018-02-20T08:29:28.000Z | 2021-08-18T23:09:52.000Z | tests/test_split_income.py | beancount/fava-plugins | 9675bf239dfb892b28d82946c2a4a5322d8014b0 | [
"MIT"
] | 3 | 2018-01-08T12:20:22.000Z | 2020-08-02T21:12:17.000Z | tests/test_split_income.py | beancount/fava-plugins | 9675bf239dfb892b28d82946c2a4a5322d8014b0 | [
"MIT"
] | 3 | 2018-03-13T17:46:39.000Z | 2019-10-05T15:06:51.000Z | from beancount.core import data
from beancount.loader import load_string
def _compare_postings(entry1, entry2):
amounts = {}
for pos in entry1.postings:
amounts[pos.account] = pos.units.number
for pos in entry2.postings:
assert amounts[pos.account] == pos.units.number
def test_split_inco... | 31.39 | 69 | 0.552087 | 378 | 3,139 | 4.465608 | 0.185185 | 0.082938 | 0.065166 | 0.061611 | 0.840047 | 0.840047 | 0.803318 | 0.761848 | 0.761848 | 0.761848 | 0 | 0.100243 | 0.345333 | 3,139 | 99 | 70 | 31.707071 | 0.721168 | 0.257407 | 0 | 0.533333 | 0 | 0 | 0.010563 | 0 | 0 | 0 | 0 | 0 | 0.3 | 1 | 0.1 | false | 0 | 0.066667 | 0 | 0.166667 | 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 |
3a4aae46e188843f76ba4f9e53927887b79c193d | 24,890 | py | Python | src/api/tests/test_userprofile.py | massenergize/api | 0df3368cb763e9160229f48138b7706a9d0569aa | [
"MIT"
] | 2 | 2020-07-24T12:58:17.000Z | 2020-12-17T02:26:13.000Z | src/api/tests/test_userprofile.py | massenergize/api | 0df3368cb763e9160229f48138b7706a9d0569aa | [
"MIT"
] | 214 | 2019-06-26T17:33:54.000Z | 2022-03-26T00:02:34.000Z | src/api/tests/test_userprofile.py | massenergize/api | 0df3368cb763e9160229f48138b7706a9d0569aa | [
"MIT"
] | 6 | 2020-03-13T20:29:06.000Z | 2021-08-20T16:15:08.000Z | from django.test import TestCase, Client
from django.conf import settings as django_settings
from urllib.parse import urlencode
from _main_.settings import BASE_DIR
from _main_.utils.massenergize_response import MassenergizeResponse
from database.models import Team, Community, UserProfile, Action, UserActionRel, TeamMe... | 57.087156 | 288 | 0.630534 | 2,795 | 24,890 | 5.500179 | 0.068336 | 0.078059 | 0.056463 | 0.068562 | 0.839654 | 0.831198 | 0.819033 | 0.818643 | 0.803226 | 0.784297 | 0 | 0.006517 | 0.229409 | 24,890 | 435 | 289 | 57.218391 | 0.794995 | 0.053797 | 0 | 0.596491 | 0 | 0.003509 | 0.252129 | 0.14897 | 0 | 0 | 0 | 0 | 0.235088 | 1 | 0.077193 | false | 0.010526 | 0.05614 | 0 | 0.136842 | 0.003509 | 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 |
3a5b000256cadad6af43a69aef5faae4c531103f | 21 | py | Python | dist/micropy-cli/frozen/select.py | kevindawson/Pico-Stub | 6f9112779d4d81f821a3af273a450b9329ccdbab | [
"Apache-2.0"
] | 19 | 2021-01-25T23:56:09.000Z | 2022-02-21T13:55:16.000Z | dist/micropy-cli/frozen/select.py | kevindawson/Pico-Stub | 6f9112779d4d81f821a3af273a450b9329ccdbab | [
"Apache-2.0"
] | 18 | 2021-02-06T09:03:09.000Z | 2021-10-04T16:36:35.000Z | dist/micropy-cli/frozen/select.py | kevindawson/Pico-Stub | 6f9112779d4d81f821a3af273a450b9329ccdbab | [
"Apache-2.0"
] | 6 | 2021-01-26T08:41:47.000Z | 2021-04-27T11:33:33.000Z | from uselect import * | 21 | 21 | 0.809524 | 3 | 21 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 0.944444 | 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 |
28a665b996ff38916555995dd1151605d3ff9eba | 803 | py | Python | octicons16px/shield_check.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | 1 | 2021-01-28T06:47:39.000Z | 2021-01-28T06:47:39.000Z | octicons16px/shield_check.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | null | null | null | octicons16px/shield_check.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | null | null | null |
OCTICON_SHIELD_CHECK = """
<svg class="octicon octicon-shield-check" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M8.533.133a1.75 1.75 0 00-1.066 0l-5.25 1.68A1.75 1.75 0 001 3.48V7c0 1.566.32 3.182 1.303 4.682.983 1.498 2.585 2.813 5.032 3.855a1.7 1.7 0 00... | 160.6 | 770 | 0.672478 | 223 | 803 | 2.412556 | 0.488789 | 0.033457 | 0.027881 | 0.033457 | 0.070632 | 0.033457 | 0 | 0 | 0 | 0 | 0 | 0.538889 | 0.103362 | 803 | 4 | 771 | 200.75 | 0.208333 | 0 | 0 | 0 | 0 | 0.333333 | 0.962594 | 0.183292 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
28b5ae069e00c5b70052fef3de025135eaf71327 | 118 | py | Python | multiworld/envs/goal_env_ext/hand/__init__.py | ZiwenZhuang/multiworld | f7abbfc45218508c8a37acb9f41735398a2bdfef | [
"MIT"
] | null | null | null | multiworld/envs/goal_env_ext/hand/__init__.py | ZiwenZhuang/multiworld | f7abbfc45218508c8a37acb9f41735398a2bdfef | [
"MIT"
] | null | null | null | multiworld/envs/goal_env_ext/hand/__init__.py | ZiwenZhuang/multiworld | f7abbfc45218508c8a37acb9f41735398a2bdfef | [
"MIT"
] | null | null | null | # Created by Xingyu Lin, 04/09/2018
| 59 | 117 | 0.220339 | 7 | 118 | 3.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 0.745763 | 118 | 1 | 118 | 118 | 0.6 | 0.279661 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e92675f237a037e8bfbf44b8785195c4a7fc7ffd | 200 | py | Python | conf/script/src/build_system/cmd/compiler/host/get_info/version/clang/cli.py | benoit-dubreuil/template-repo-cpp-full-ecosystem | f506dd5e2a61cdd311b6a6a4be4abc59567b4b20 | [
"MIT"
] | null | null | null | conf/script/src/build_system/cmd/compiler/host/get_info/version/clang/cli.py | benoit-dubreuil/template-repo-cpp-full-ecosystem | f506dd5e2a61cdd311b6a6a4be4abc59567b4b20 | [
"MIT"
] | 113 | 2021-02-15T19:22:36.000Z | 2021-05-07T15:17:42.000Z | conf/script/src/build_system/cmd/compiler/host/get_info/version/clang/cli.py | benoit-dubreuil/template-repo-cpp-full-ecosystem | f506dd5e2a61cdd311b6a6a4be4abc59567b4b20 | [
"MIT"
] | null | null | null | __all__ = ['cli_fetch_clang_version']
from build_system.compiler import *
from ..gnu import *
def cli_fetch_clang_version() -> None:
cli_fetch_gnu_version(compiler_family=CompilerFamily.CLANG)
| 22.222222 | 63 | 0.79 | 27 | 200 | 5.296296 | 0.555556 | 0.167832 | 0.181818 | 0.27972 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115 | 200 | 8 | 64 | 25 | 0.80791 | 0 | 0 | 0 | 0 | 0 | 0.115 | 0.115 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e92c5945b1d84dc5ef6cc49711f2737006c177bf | 1,456 | py | Python | resources/panels/seeds/hardboiled_adjective.py | exposit/pythia-oracle | 60e4e806c9ed1627f2649822ab1901d28933daac | [
"MIT"
] | 32 | 2016-08-27T01:31:42.000Z | 2022-03-21T08:59:28.000Z | resources/panels/seeds/hardboiled_adjective.py | exposit/pythia-oracle | 60e4e806c9ed1627f2649822ab1901d28933daac | [
"MIT"
] | 3 | 2016-08-27T00:51:47.000Z | 2019-08-26T13:23:04.000Z | resources/panels/seeds/hardboiled_adjective.py | exposit/pythia-oracle | 60e4e806c9ed1627f2649822ab1901d28933daac | [
"MIT"
] | 10 | 2016-08-28T14:14:41.000Z | 2021-03-18T03:24:22.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# A Simple Art of Murder
chart = ["able", "absent", "absolute", "american", "appear", "arid", "artificial", "artistic", "authentic", "available", "average", "perfect", "aware", "badly-scared", "best", "better", "break", "capable", "careful", "casual", "certain", "classic", ... | 291.2 | 1,384 | 0.64217 | 144 | 1,456 | 6.493056 | 0.986111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000756 | 0.092033 | 1,456 | 4 | 1,385 | 364 | 0.706505 | 0.044643 | 0 | 0 | 0 | 0 | 0.647695 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3a64df06da449dcc10ce523dc57f3d452e458987 | 230 | py | Python | bitmovin_api_sdk/encoding/encodings/input_streams/ingest/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 11 | 2019-07-03T10:41:16.000Z | 2022-02-25T21:48:06.000Z | bitmovin_api_sdk/encoding/encodings/input_streams/ingest/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 8 | 2019-11-23T00:01:25.000Z | 2021-04-29T12:30:31.000Z | bitmovin_api_sdk/encoding/encodings/input_streams/ingest/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 13 | 2020-01-02T14:58:18.000Z | 2022-03-26T12:10:30.000Z | from bitmovin_api_sdk.encoding.encodings.input_streams.ingest.ingest_api import IngestApi
from bitmovin_api_sdk.encoding.encodings.input_streams.ingest.ingest_input_stream_list_query_params import IngestInputStreamListQueryParams
| 76.666667 | 139 | 0.921739 | 30 | 230 | 6.666667 | 0.533333 | 0.12 | 0.15 | 0.18 | 0.59 | 0.59 | 0.59 | 0.59 | 0.59 | 0.59 | 0 | 0 | 0.034783 | 230 | 2 | 140 | 115 | 0.900901 | 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 | 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 | 1 | 0 | 0 | 6 |
3ab35c28be78eb4b5b51d0d2fdd7f446853d6f56 | 198 | py | Python | frappe/integrations/doctype/adhesion_pagos360/adhesion_pagos360.py | fproldan/frappe | 7547bb04d7375b546d9662899dd13c31b8ecc3fb | [
"MIT"
] | null | null | null | frappe/integrations/doctype/adhesion_pagos360/adhesion_pagos360.py | fproldan/frappe | 7547bb04d7375b546d9662899dd13c31b8ecc3fb | [
"MIT"
] | 17 | 2021-03-22T18:47:14.000Z | 2022-03-15T12:21:00.000Z | frappe/integrations/doctype/adhesion_pagos360/adhesion_pagos360.py | fproldan/frappe | 7547bb04d7375b546d9662899dd13c31b8ecc3fb | [
"MIT"
] | null | null | null | # Copyright (c) 2021, Frappe Technologies and contributors
# For license information, please see license.txt
from frappe.model.document import Document
class AdhesionPagos360(Document):
pass
| 22 | 58 | 0.792929 | 24 | 198 | 6.541667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04142 | 0.146465 | 198 | 8 | 59 | 24.75 | 0.887574 | 0.525253 | 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 |
3ac0358344dbcecf71fb6d25978631122ebf1e78 | 21 | py | Python | coco/portal/auth/__init__.py | KaijianYou/CoCo | e5cc86f837bdda85c8f9e77a9952c5c613cac927 | [
"BSD-3-Clause"
] | null | null | null | coco/portal/auth/__init__.py | KaijianYou/CoCo | e5cc86f837bdda85c8f9e77a9952c5c613cac927 | [
"BSD-3-Clause"
] | null | null | null | coco/portal/auth/__init__.py | KaijianYou/CoCo | e5cc86f837bdda85c8f9e77a9952c5c613cac927 | [
"BSD-3-Clause"
] | 1 | 2021-09-20T10:13:55.000Z | 2021-09-20T10:13:55.000Z | from . import routes
| 10.5 | 20 | 0.761905 | 3 | 21 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3aecda267531a126f0c7bda534e8d00502e939e2 | 100 | py | Python | fullcontact/response/verification_response.py | michaelcredera/fullcontact-python-client | 482970b00b134409e6c9f303e7c2a7a6fc4a4685 | [
"Apache-2.0"
] | 8 | 2020-04-13T15:53:43.000Z | 2022-02-04T07:37:17.000Z | fullcontact/response/verification_response.py | michaelcredera/fullcontact-python-client | 482970b00b134409e6c9f303e7c2a7a6fc4a4685 | [
"Apache-2.0"
] | 9 | 2020-06-04T15:30:50.000Z | 2022-02-04T07:36:39.000Z | fullcontact/response/verification_response.py | michaelcredera/fullcontact-python-client | 482970b00b134409e6c9f303e7c2a7a6fc4a4685 | [
"Apache-2.0"
] | 7 | 2020-09-18T16:02:43.000Z | 2022-02-17T09:22:54.000Z | from .base.base import BaseApiResponse
class EmailVerificationResponse(BaseApiResponse):
pass
| 16.666667 | 49 | 0.82 | 9 | 100 | 9.111111 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13 | 100 | 5 | 50 | 20 | 0.942529 | 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 |
a3289294abcf85ff9c75061ef85dc6f472c0a387 | 23,172 | py | Python | tests/test_multidict.py | peopledoc/multipart-reader | 7306cf6e4e69f0a80c37d2b745d56b49c9d1b2d4 | [
"Apache-2.0"
] | 4 | 2018-12-11T14:42:21.000Z | 2021-04-13T01:52:47.000Z | tests/test_multidict.py | peopledoc/multipart-reader | 7306cf6e4e69f0a80c37d2b745d56b49c9d1b2d4 | [
"Apache-2.0"
] | null | null | null | tests/test_multidict.py | peopledoc/multipart-reader | 7306cf6e4e69f0a80c37d2b745d56b49c9d1b2d4 | [
"Apache-2.0"
] | 3 | 2018-02-12T19:41:31.000Z | 2022-03-15T20:49:11.000Z | import sys
import unittest
from multipart_reader.multidict import (MultiDictProxy,
MultiDict,
CIMultiDictProxy,
CIMultiDict)
from multipart_reader import multidict
class _Root:
cls = None
... | 30.250653 | 78 | 0.538365 | 2,818 | 23,172 | 4.284954 | 0.067069 | 0.151553 | 0.083478 | 0.080745 | 0.836522 | 0.816315 | 0.802816 | 0.77971 | 0.745756 | 0.701366 | 0 | 0.015565 | 0.268039 | 23,172 | 765 | 79 | 30.290196 | 0.696362 | 0.006646 | 0 | 0.623636 | 0 | 0 | 0.103911 | 0.001825 | 0 | 0 | 0 | 0 | 0.363636 | 1 | 0.161818 | false | 0 | 0.007273 | 0.007273 | 0.238182 | 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 |
a34418073ad34a552a7a780a01e562c7e8013ef0 | 74 | py | Python | env_load/__init__.py | wcpr740/740.wcpr.org | 14cd31eeda38adc0ad3bd98d2386e92b02f794ff | [
"Apache-2.0"
] | null | null | null | env_load/__init__.py | wcpr740/740.wcpr.org | 14cd31eeda38adc0ad3bd98d2386e92b02f794ff | [
"Apache-2.0"
] | null | null | null | env_load/__init__.py | wcpr740/740.wcpr.org | 14cd31eeda38adc0ad3bd98d2386e92b02f794ff | [
"Apache-2.0"
] | null | null | null | from env_load.config import read_config
from env_load.env import read_env
| 24.666667 | 39 | 0.864865 | 14 | 74 | 4.285714 | 0.428571 | 0.233333 | 0.366667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 74 | 2 | 40 | 37 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 |
a385b6eabe32d8b7206e7c9376e2489fa718981f | 253 | py | Python | webapp/Watcher/app/admin.py | srasool2/SWDV-691-FitnessWatcherServiceLayer | df907e0f5064f9b2c0e44c342b1a9e84178faf94 | [
"MIT"
] | null | null | null | webapp/Watcher/app/admin.py | srasool2/SWDV-691-FitnessWatcherServiceLayer | df907e0f5064f9b2c0e44c342b1a9e84178faf94 | [
"MIT"
] | 7 | 2019-03-30T14:53:23.000Z | 2021-06-10T21:19:13.000Z | webapp/Watcher/app/admin.py | srasool2/SWDV-691-FitnessWatcherServiceLayer | df907e0f5064f9b2c0e44c342b1a9e84178faf94 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Profile, WorkoutPlan, WorkoutPlanDetails, Blogs, ExerciseTrack
admin.site.register(ExerciseTrack)
admin.site.register(Blogs)
admin.site.register(WorkoutPlan)
admin.site.register(WorkoutPlanDetails)
| 28.111111 | 82 | 0.841897 | 29 | 253 | 7.344828 | 0.448276 | 0.169014 | 0.319249 | 0.28169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071146 | 253 | 8 | 83 | 31.625 | 0.906383 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
6e8e3dae5d5d89f010c3801089d691904eebf251 | 2,215 | py | Python | old/stoper.py | Faralaks/the-game | cd08f1f0222eee71916763a11f99ea631dbad578 | [
"MIT"
] | null | null | null | old/stoper.py | Faralaks/the-game | cd08f1f0222eee71916763a11f99ea631dbad578 | [
"MIT"
] | null | null | null | old/stoper.py | Faralaks/the-game | cd08f1f0222eee71916763a11f99ea631dbad578 | [
"MIT"
] | null | null | null | #UTF-8
def stoper(map_number, x_hero, y_hero, side):
stop = True
adres = 'data/stoper/stoper' + str(map_number[0]) + '_' + str(map_number[1]) + '.txt'
try: file = open(adres)
except FileNotFoundError:
return True
else:
for line in file:
if side == 0:
stop_... | 32.101449 | 106 | 0.358014 | 255 | 2,215 | 2.976471 | 0.196078 | 0.147563 | 0.084321 | 0.094862 | 0.740448 | 0.71805 | 0.71805 | 0.71805 | 0.71805 | 0.71805 | 0 | 0.080271 | 0.533183 | 2,215 | 69 | 107 | 32.101449 | 0.653772 | 0.002257 | 0 | 0.64 | 0 | 0 | 0.014027 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02 | false | 0 | 0 | 0 | 0.06 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
42b724db766aa0a7fcbdd30e0f16e46ed489f111 | 184 | py | Python | src/py4geo/setup/setup.py | manuelep/py4geo | ad1b25f89b2f254d7270d05123fb3e6cb91186a9 | [
"Apache-2.0"
] | null | null | null | src/py4geo/setup/setup.py | manuelep/py4geo | ad1b25f89b2f254d7270d05123fb3e6cb91186a9 | [
"Apache-2.0"
] | null | null | null | src/py4geo/setup/setup.py | manuelep/py4geo | ad1b25f89b2f254d7270d05123fb3e6cb91186a9 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from .pgfunctions import setup as pgfunctions_setup
from .pgviews import setup as pgviews_setup
def modelsetup():
pgfunctions_setup()
pgviews_setup()
| 20.444444 | 51 | 0.733696 | 23 | 184 | 5.695652 | 0.478261 | 0.167939 | 0.198473 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006536 | 0.168478 | 184 | 8 | 52 | 23 | 0.849673 | 0.11413 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
42b9701b5c7687373d72adfcee895db67e941a98 | 46 | py | Python | oscurrentpath.py | bjoffficial/Python | 73e6fdc19a1bec18488405c4a60c30ba68581ce5 | [
"Apache-2.0"
] | null | null | null | oscurrentpath.py | bjoffficial/Python | 73e6fdc19a1bec18488405c4a60c30ba68581ce5 | [
"Apache-2.0"
] | null | null | null | oscurrentpath.py | bjoffficial/Python | 73e6fdc19a1bec18488405c4a60c30ba68581ce5 | [
"Apache-2.0"
] | null | null | null | import os
print(os.path.realpath(__file__))
| 15.333333 | 34 | 0.76087 | 7 | 46 | 4.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 46 | 2 | 35 | 23 | 0.756098 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
42c1eb2c16cf25b51549a94183def919d6fca7cc | 696 | py | Python | opytimizer/optimizers/evolutionary/__init__.py | anukaal/opytimizer | 5f1ccc0da80e6a4cabd99578fa24cf4f6466f9b9 | [
"Apache-2.0"
] | 528 | 2018-10-01T20:00:09.000Z | 2022-03-27T11:15:31.000Z | opytimizer/optimizers/evolutionary/__init__.py | anukaal/opytimizer | 5f1ccc0da80e6a4cabd99578fa24cf4f6466f9b9 | [
"Apache-2.0"
] | 17 | 2019-10-30T00:47:03.000Z | 2022-03-21T11:39:28.000Z | opytimizer/optimizers/evolutionary/__init__.py | anukaal/opytimizer | 5f1ccc0da80e6a4cabd99578fa24cf4f6466f9b9 | [
"Apache-2.0"
] | 35 | 2018-10-01T20:03:23.000Z | 2022-03-20T03:54:15.000Z | """An evolutionary package for all common opytimizer modules.
It contains implementations of evolutionary-based optimizers.
"""
from opytimizer.optimizers.evolutionary.bsa import BSA
from opytimizer.optimizers.evolutionary.de import DE
from opytimizer.optimizers.evolutionary.ep import EP
from opytimizer.optimizers.evo... | 46.4 | 81 | 0.849138 | 90 | 696 | 6.566667 | 0.344444 | 0.236887 | 0.406091 | 0.609137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087644 | 696 | 14 | 82 | 49.714286 | 0.930709 | 0.172414 | 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 |
6e35573e008eace95fd321d9e0b3311bd668345a | 191 | py | Python | format/9-Named_placeholders.py | all3g/pieces | bc378fd22ddc700891fe7f34ab0d5b341141e434 | [
"CNRI-Python"
] | 34 | 2016-10-31T02:05:24.000Z | 2018-11-08T14:33:13.000Z | format/9-Named_placeholders.py | join-us/python-programming | bc378fd22ddc700891fe7f34ab0d5b341141e434 | [
"CNRI-Python"
] | 2 | 2017-05-11T03:00:31.000Z | 2017-11-01T23:37:37.000Z | format/9-Named_placeholders.py | join-us/python-programming | bc378fd22ddc700891fe7f34ab0d5b341141e434 | [
"CNRI-Python"
] | 21 | 2016-08-19T09:05:45.000Z | 2018-11-08T14:33:16.000Z |
"""
Named placeholders
"""
data = {'first': 'Hodor', 'last': 'Hodor!'}
print '%(first)s %(last)s' % data
print '{first} {last}'.format(**data)
# Error: print '{first} {last}'.format(data)
| 17.363636 | 44 | 0.591623 | 24 | 191 | 4.708333 | 0.416667 | 0.265487 | 0.247788 | 0.353982 | 0.424779 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136126 | 191 | 10 | 45 | 19.1 | 0.684848 | 0.219895 | 0 | 0 | 0 | 0 | 0.433333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.666667 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
2876bb6e82644f4cdbae04c91a079e3f67ffee63 | 132 | py | Python | mmdet2trt/models/roi_heads/bbox_heads/__init__.py | jackweiwang/mmdetection-to-tensorrt | f988ba8e923764fb1173385a1c7160b8f8b5bd99 | [
"Apache-2.0"
] | 1 | 2021-08-23T10:09:37.000Z | 2021-08-23T10:09:37.000Z | mmdet2trt/models/roi_heads/bbox_heads/__init__.py | gcong18/mmdetection-to-tensorrt | c31c32ee4720ff56010bcda77bacf3a110d0526c | [
"Apache-2.0"
] | null | null | null | mmdet2trt/models/roi_heads/bbox_heads/__init__.py | gcong18/mmdetection-to-tensorrt | c31c32ee4720ff56010bcda77bacf3a110d0526c | [
"Apache-2.0"
] | null | null | null | from .bbox_head import BBoxHeadWraper
from .double_bbox_head import DoubleConvFCBBoxHeadWraper
from .sabl_head import SABLHeadWraper | 44 | 56 | 0.893939 | 16 | 132 | 7.125 | 0.5625 | 0.263158 | 0.245614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 132 | 3 | 57 | 44 | 0.942149 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
289c9d3adcfae360d2d3b78d5cc54e6b3a06b6a1 | 19 | py | Python | nlproc/__init__.py | jgsogo/nlproc_spa | ba0c23a0c974f0be9243eac12d6b152b48c5fa49 | [
"MIT"
] | null | null | null | nlproc/__init__.py | jgsogo/nlproc_spa | ba0c23a0c974f0be9243eac12d6b152b48c5fa49 | [
"MIT"
] | 1 | 2017-07-10T18:39:29.000Z | 2017-07-10T18:39:29.000Z | nlproc/__init__.py | jgsogo/nlproc_spa | ba0c23a0c974f0be9243eac12d6b152b48c5fa49 | [
"MIT"
] | null | null | null |
import nlproc.spa | 6.333333 | 17 | 0.789474 | 3 | 19 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 19 | 3 | 17 | 6.333333 | 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 |
95e9707d7680177d7627377acfa3635c1365e626 | 74 | py | Python | cassiopeia/dto/tft_summoner.py | Crimack/cassiopeia | afe84e747a108110b3c8d9a1167cc56cc33489b6 | [
"MIT"
] | null | null | null | cassiopeia/dto/tft_summoner.py | Crimack/cassiopeia | afe84e747a108110b3c8d9a1167cc56cc33489b6 | [
"MIT"
] | null | null | null | cassiopeia/dto/tft_summoner.py | Crimack/cassiopeia | afe84e747a108110b3c8d9a1167cc56cc33489b6 | [
"MIT"
] | null | null | null | from .common import DtoObject
class TFTSummonerDto(DtoObject):
pass
| 12.333333 | 32 | 0.77027 | 8 | 74 | 7.125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175676 | 74 | 5 | 33 | 14.8 | 0.934426 | 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 |
95f5daa377e368f0bc8ac969055bf355e04970a0 | 37,738 | py | Python | instances/passenger_demand/pas-20210421-2109-int12e/87.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int12e/87.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int12e/87.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 2747
passenger_arriving = (
(7, 8, 9, 3, 3, 0, 4, 6, 4, 4, 3, 0), # 0
(5, 10, 7, 3, 1, 0, 10, 5, 2, 6, 1, 0), # 1
(2, 5, 4, 4, 3, 0, 6, 8, 1, 5, 0, 0), # 2
(2, 2, 8, 3, 1, 0, 3, 6, 5, 3, 0, 0), # 3
(7, 8, 7, 4, 1, 0, 8, 7, 6, 4, 2, 0), # 4
(5, 5, 4, 3, 2, 0, 1, 6, 3, 5, ... | 112.650746 | 213 | 0.72802 | 5,147 | 37,738 | 5.33573 | 0.219351 | 0.314605 | 0.249062 | 0.471908 | 0.331938 | 0.329534 | 0.329534 | 0.329534 | 0.329534 | 0.329534 | 0 | 0.818204 | 0.119614 | 37,738 | 334 | 214 | 112.988024 | 0.008398 | 0.03209 | 0 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.015823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2538d71b86606581a2fd0246708dac56acd845b1 | 18,112 | py | Python | latency_pkl/make_lat_lut_example.py | WZzhaoyi/TF-NAS | f63e9fd3a5ca0d8c6400891baa19c2168b203513 | [
"MIT"
] | 62 | 2020-07-05T11:59:47.000Z | 2022-01-18T08:09:53.000Z | latency_pkl/make_lat_lut_example.py | WZzhaoyi/TF-NAS | f63e9fd3a5ca0d8c6400891baa19c2168b203513 | [
"MIT"
] | 4 | 2020-08-17T09:13:47.000Z | 2021-10-01T03:21:28.000Z | latency_pkl/make_lat_lut_example.py | WZzhaoyi/TF-NAS | f63e9fd3a5ca0d8c6400891baa19c2168b203513 | [
"MIT"
] | 11 | 2020-07-23T06:21:28.000Z | 2021-06-13T20:19:24.000Z | import sys
import time
import torch
import torch.nn as nn
import torch.nn.functional as F
import torch.backends.cudnn as cudnn
from collections import OrderedDict
import pickle
sys.path.append('..')
from tools.utils import measure_latency_in_ms
from models.layers import *
cudnn.enabled = True
cudnn.benchmark = True
... | 33.854206 | 119 | 0.634331 | 3,230 | 18,112 | 3.357895 | 0.048916 | 0.06749 | 0.061774 | 0.091278 | 0.887424 | 0.873686 | 0.863452 | 0.837636 | 0.80638 | 0.806104 | 0 | 0.105756 | 0.198101 | 18,112 | 534 | 120 | 33.917603 | 0.641008 | 0.192414 | 0 | 0.668524 | 0 | 0 | 0.120811 | 0.065784 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002786 | false | 0 | 0.027855 | 0 | 0.033426 | 0.038997 | 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 |
c26d5c3402acabfda6a27c162c709202487ed473 | 107 | py | Python | pornhub/core/__init__.py | LaudateCorpus1/pornhub-dl | ded5d5ce82d816544d400ead68b2d3eb0100e81b | [
"MIT"
] | 204 | 2019-03-28T00:40:55.000Z | 2022-03-31T23:25:59.000Z | pornhub/core/__init__.py | Inncee81/pornhub-dl-1 | ded5d5ce82d816544d400ead68b2d3eb0100e81b | [
"MIT"
] | 15 | 2019-05-01T20:01:20.000Z | 2022-03-17T22:29:51.000Z | pornhub/core/__init__.py | Inncee81/pornhub-dl-1 | ded5d5ce82d816544d400ead68b2d3eb0100e81b | [
"MIT"
] | 40 | 2019-04-07T20:06:05.000Z | 2022-03-29T18:59:56.000Z | from .config import config # noqa
from .db import get_session # noqa
from .logging import logger # noqa
| 26.75 | 35 | 0.747664 | 16 | 107 | 4.9375 | 0.5625 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196262 | 107 | 3 | 36 | 35.666667 | 0.918605 | 0.130841 | 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 |
c2e6547c35b67360b2d5d95855f34f9ca45f0603 | 254 | py | Python | Example Programs/Random Codon.py | necrospiritus/Bioinformatics-Programming | e03f968df1f55bdd8c1050dafe19e91ac2478179 | [
"MIT"
] | null | null | null | Example Programs/Random Codon.py | necrospiritus/Bioinformatics-Programming | e03f968df1f55bdd8c1050dafe19e91ac2478179 | [
"MIT"
] | null | null | null | Example Programs/Random Codon.py | necrospiritus/Bioinformatics-Programming | e03f968df1f55bdd8c1050dafe19e91ac2478179 | [
"MIT"
] | null | null | null | from random import randint
def random_base(RNAflag = False):
return ("UCAG" if RNAflag else "TCAG")[randint(0,3)]
def random_codon(RNAflag = True):
return random_base(RNAflag) + random_base(RNAflag) + random_base(RNAflag)
print(random_codon()) | 28.222222 | 77 | 0.740157 | 36 | 254 | 5.055556 | 0.5 | 0.21978 | 0.373626 | 0.252747 | 0.28022 | 0.28022 | 0 | 0 | 0 | 0 | 0 | 0.009132 | 0.137795 | 254 | 9 | 78 | 28.222222 | 0.821918 | 0 | 0 | 0 | 0 | 0 | 0.031373 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.333333 | 0.833333 | 0.166667 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
6c3600bc0711834f3144adf5b52684237732e8a8 | 9,778 | py | Python | tests/cli/test_scan.py | tolidano/dragoneye | 1340e2b1fdc1c80c7dbce5e8a6c7f4e28b16808d | [
"MIT"
] | 23 | 2021-04-08T16:00:27.000Z | 2022-03-03T22:01:42.000Z | tests/cli/test_scan.py | mirzajb/dragoneye | c7593640093a9178a55dd32c738bbf0b1cf49d5e | [
"MIT"
] | 70 | 2021-04-12T16:37:43.000Z | 2022-01-17T11:33:58.000Z | tests/cli/test_scan.py | mirzajb/dragoneye | c7593640093a9178a55dd32c738bbf0b1cf49d5e | [
"MIT"
] | 7 | 2021-04-29T08:28:43.000Z | 2022-03-03T22:01:45.000Z | import os
import shutil
import unittest
import uuid
from typing import List
from unittest.mock import patch
from click.testing import CliRunner
from mockito import when, unstub, mock
import dragoneye
from dragoneye import AzureAuthorizer, AwsSessionFactory, GcpCredentialsFactory
from dragoneye.scan import scan_cli
... | 51.193717 | 131 | 0.572612 | 1,004 | 9,778 | 5.342629 | 0.126494 | 0.02349 | 0.040268 | 0.03393 | 0.808725 | 0.789523 | 0.782438 | 0.776286 | 0.760813 | 0.760813 | 0 | 0.004737 | 0.309163 | 9,778 | 190 | 132 | 51.463158 | 0.789341 | 0.019125 | 0 | 0.57971 | 0 | 0 | 0.153049 | 0.053981 | 0 | 0 | 0 | 0 | 0.217391 | 1 | 0.130435 | false | 0.007246 | 0.07971 | 0.007246 | 0.224638 | 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 |
6c7f272668d4c9138e56a977d21291a35f27fb35 | 14,678 | py | Python | ascii_art.py | tgruby/goblin-warrior | 2fbf6479efaec8d32da033ded0900091bb243749 | [
"MIT"
] | null | null | null | ascii_art.py | tgruby/goblin-warrior | 2fbf6479efaec8d32da033ded0900091bb243749 | [
"MIT"
] | null | null | null | ascii_art.py | tgruby/goblin-warrior | 2fbf6479efaec8d32da033ded0900091bb243749 | [
"MIT"
] | null | null | null | goblin_warrior_title = \
" _____ _ _ _ __ __ _ _ _ _ \n\
/ ____| | | | (_) \ \ / / (_) | | | | \n\
| | __ ___ | |__ | |_ _ __ \ \ /\ / /_ _ _ __ _ __ _ ___ _ __| | | | \n\
| | |_ |/ _ \| '_ \| | | '_ \ \ \/ \/ / _... | 28.390716 | 84 | 0.118477 | 586 | 14,678 | 1.897611 | 0.133106 | 0.638489 | 0.839029 | 0.985612 | 0.513489 | 0.486511 | 0.473921 | 0.456835 | 0.445144 | 0.41277 | 0 | 0.013882 | 0.58775 | 14,678 | 516 | 85 | 28.445736 | 0.169889 | 0 | 0 | 0.506122 | 0 | 0.010204 | 0.245759 | 0.026504 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
66b2c84641456a5aa04ace74ed03014cedee3ea5 | 133 | py | Python | chan/__init__.py | liuya00/pychan | b83d828ce0badd535c341e3482216e1eaf2e7661 | [
"BSD-3-Clause"
] | 20 | 2015-02-02T08:24:00.000Z | 2021-07-31T02:01:08.000Z | chan/__init__.py | liuya00/pychan | b83d828ce0badd535c341e3482216e1eaf2e7661 | [
"BSD-3-Clause"
] | 2 | 2016-02-08T20:56:21.000Z | 2017-09-18T01:40:15.000Z | chan/__init__.py | liuya00/pychan | b83d828ce0badd535c341e3482216e1eaf2e7661 | [
"BSD-3-Clause"
] | 4 | 2015-12-04T12:09:32.000Z | 2020-10-14T05:57:15.000Z | from .chan import Error, ChanClosed, Timeout
from .chan import Chan, chanselect
from .chan import quickthread
__version__ = '0.3.1'
| 22.166667 | 44 | 0.774436 | 19 | 133 | 5.210526 | 0.631579 | 0.242424 | 0.424242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.142857 | 133 | 5 | 45 | 26.6 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0.037594 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
66bb8bdc60a4cb0bf366525bc0d6ce9a7d7d0e5f | 224 | py | Python | pycorn_logging/__init__.py | bybatkhuu/pycorn_logging | c5aec4c38d2789231b65175a7f75bd1951d12ecc | [
"MIT"
] | 1 | 2022-03-31T06:37:44.000Z | 2022-03-31T06:37:44.000Z | pycorn_logging/__init__.py | bybatkhuu/pycorn_logging | c5aec4c38d2789231b65175a7f75bd1951d12ecc | [
"MIT"
] | null | null | null | pycorn_logging/__init__.py | bybatkhuu/pycorn_logging | c5aec4c38d2789231b65175a7f75bd1951d12ecc | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
try:
from pycorn_logging.logging import logger
from pycorn_logging.__version__ import __version__
except ImportError:
from .logging import logger
from .__version__ import __version__
| 24.888889 | 54 | 0.75 | 26 | 224 | 5.769231 | 0.461538 | 0.133333 | 0.226667 | 0.306667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005464 | 0.183036 | 224 | 8 | 55 | 28 | 0.814208 | 0.09375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.833333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
dd1453c16198001bfcbf17eb12c494841feb3ecf | 2,104 | py | Python | goalee/topic_goals.py | robotics-4-all/goalee | a50185b51ccc28caf1f5dd3ba8603a35b8f0eebb | [
"MIT"
] | null | null | null | goalee/topic_goals.py | robotics-4-all/goalee | a50185b51ccc28caf1f5dd3ba8603a35b8f0eebb | [
"MIT"
] | null | null | null | goalee/topic_goals.py | robotics-4-all/goalee | a50185b51ccc28caf1f5dd3ba8603a35b8f0eebb | [
"MIT"
] | null | null | null | from typing import Any, Optional, Callable
from enum import IntEnum
import time
import uuid
from commlib.node import Node
from goalee.goal import Goal, GoalState
class TopicMessageReceivedGoal(Goal):
def __init__(self,
topic: str,
comm_node: Optional[Node] = None,
... | 30.492754 | 68 | 0.592205 | 226 | 2,104 | 5.176991 | 0.216814 | 0.041026 | 0.066667 | 0.08547 | 0.78547 | 0.78547 | 0.731624 | 0.731624 | 0.731624 | 0.731624 | 0 | 0 | 0.322243 | 2,104 | 68 | 69 | 30.941176 | 0.820477 | 0 | 0 | 0.754717 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.150943 | false | 0 | 0.113208 | 0 | 0.301887 | 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 |
dda140f69bbb72dd20a177f9cd9661fb422a667f | 364 | py | Python | python/featgraph/op/__init__.py | Huyuwei/FeatGraph | f0a380f276f27cdc00f8bc1706a722faf8342474 | [
"Apache-2.0"
] | 59 | 2020-11-14T01:13:20.000Z | 2022-01-30T11:12:46.000Z | python/featgraph/op/__init__.py | yzh119/FeatGraph | e06792cc61ae39500cf7c40979d6c394f53ee362 | [
"Apache-2.0"
] | 8 | 2020-12-01T02:09:00.000Z | 2021-11-03T22:09:18.000Z | python/featgraph/op/__init__.py | yzh119/FeatGraph | e06792cc61ae39500cf7c40979d6c394f53ee362 | [
"Apache-2.0"
] | 11 | 2020-11-15T14:54:34.000Z | 2021-10-30T12:41:22.000Z | from .vanilla_sddmm import vanilla_sddmm, schedule_vanilla_sddmm_x86, \
schedule_vanilla_sddmm_cuda_tree_reduce, schedule_vanilla_sddmm_cuda_single_thread_reduce
from .vanilla_spmm import vanilla_spmm_csr_x86, schedule_vanilla_spmm_csr_x86, \
vanilla_spmm_dds_x86, schedule_vanilla_spmm_dds_x86, \
vanilla_sp... | 60.666667 | 93 | 0.879121 | 54 | 364 | 5.222222 | 0.259259 | 0.27305 | 0.198582 | 0.170213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03003 | 0.085165 | 364 | 5 | 94 | 72.8 | 0.816817 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
06c95988901d371493d450cafcbf4e6e9f1397f6 | 2,014 | py | Python | tests/test_uu_events/test_nas_emm_attach_accept.py | matan1008/srsran-controller | 8389a78976efb7dfe3ef5dc17f5ac14adcae732c | [
"MIT"
] | null | null | null | tests/test_uu_events/test_nas_emm_attach_accept.py | matan1008/srsran-controller | 8389a78976efb7dfe3ef5dc17f5ac14adcae732c | [
"MIT"
] | null | null | null | tests/test_uu_events/test_nas_emm_attach_accept.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.nas_emm_attach_accept import ATTACH_ACCEPT_NAME
ATTACH_ACCEPT_PCAP_DATA_IMSI = (
'0a0d0d0ab80000004d3c2b1a01000000ffffffffffffffff02003600496e74656c28522920436f726528544d... | 57.542857 | 119 | 0.858987 | 109 | 2,014 | 15.59633 | 0.568807 | 0.063529 | 0.028235 | 0.025882 | 0.061176 | 0 | 0 | 0 | 0 | 0 | 0 | 0.592795 | 0.090367 | 2,014 | 34 | 120 | 59.235294 | 0.335153 | 0 | 0 | 0 | 0 | 0 | 0.636048 | 0.607746 | 0 | 1 | 0.004965 | 0 | 0.034483 | 1 | 0.034483 | false | 0 | 0.137931 | 0 | 0.172414 | 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 |
06d221aeec454a5c54b33e13949cbc2952e3ff5c | 2,209 | py | Python | tests/unit/test_offense_county_view.py | EricSchles/crime-data-api | fdc2ec3a151d2c76d43b1dd3bebe56e34aa58757 | [
"CC0-1.0"
] | 51 | 2016-09-16T00:37:56.000Z | 2022-01-22T03:48:24.000Z | tests/unit/test_offense_county_view.py | harrisj/crime-data-api | 9b49b5cc3cd8309dda888f49356ee5168c43851a | [
"CC0-1.0"
] | 605 | 2016-09-15T19:16:49.000Z | 2018-01-18T20:46:39.000Z | tests/unit/test_offense_county_view.py | harrisj/crime-data-api | 9b49b5cc3cd8309dda888f49356ee5168c43851a | [
"CC0-1.0"
] | 12 | 2018-01-18T21:15:34.000Z | 2022-02-17T10:09:40.000Z | import pytest
from crime_data.common.base import ExplorerOffenseMapping
from crime_data.common.cdemodels import OffenseCountView
class TestOffenseCountView:
"""Test the OffenseCountView"""
def test_offense_count_for_a_state(self, app):
ocv = OffenseCountView('weapon_name', year=2014, state_id=3, as_j... | 39.446429 | 113 | 0.650521 | 269 | 2,209 | 5.185874 | 0.271375 | 0.03871 | 0.068817 | 0.05448 | 0.815771 | 0.815771 | 0.815771 | 0.789247 | 0.701792 | 0.64086 | 0 | 0.020095 | 0.234043 | 2,209 | 55 | 114 | 40.163636 | 0.804374 | 0.135808 | 0 | 0.571429 | 0 | 0 | 0.077532 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 1 | 0.142857 | false | 0 | 0.085714 | 0 | 0.257143 | 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 |
06e0b6dd497e82cd5eae2b7aab22e4d7742bd1ab | 56 | py | Python | polar_analyzer/__init__.py | sherifEwis/polar_analyzer | 5d10e2730c7b65224f5a8de280c0cc2c3852d7d5 | [
"MIT",
"Unlicense"
] | null | null | null | polar_analyzer/__init__.py | sherifEwis/polar_analyzer | 5d10e2730c7b65224f5a8de280c0cc2c3852d7d5 | [
"MIT",
"Unlicense"
] | null | null | null | polar_analyzer/__init__.py | sherifEwis/polar_analyzer | 5d10e2730c7b65224f5a8de280c0cc2c3852d7d5 | [
"MIT",
"Unlicense"
] | null | null | null | from polar_analyzer.polar_analyzer import PolarAnalyzer
| 28 | 55 | 0.910714 | 7 | 56 | 7 | 0.714286 | 0.530612 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 56 | 1 | 56 | 56 | 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 |
06e122dc5566127962d9438846a1353441adaea0 | 2,975 | py | Python | seq2seq/keras_context_vector/test.py | zlpmichelle/crackingtensorflow | 66c3517b60c3793ef06f904e5d58e4d044628182 | [
"Apache-2.0"
] | 3 | 2017-10-19T23:41:26.000Z | 2019-10-22T08:59:35.000Z | seq2seq/keras_context_vector/test.py | zlpmichelle/crackingtensorflow | 66c3517b60c3793ef06f904e5d58e4d044628182 | [
"Apache-2.0"
] | null | null | null | seq2seq/keras_context_vector/test.py | zlpmichelle/crackingtensorflow | 66c3517b60c3793ef06f904e5d58e4d044628182 | [
"Apache-2.0"
] | null | null | null | from seq2seq.models import SimpleSeq2Seq, Seq2Seq, AttentionSeq2Seq
import numpy as np
from keras.utils.test_utils import keras_test
input_length = 5
input_dim = 3
output_length = 3
output_dim = 4
samples = 100
hidden_dim = 24
@keras_test
def test_SimpleSeq2Seq():
x = np.random.random((samples, input_length, i... | 41.901408 | 106 | 0.680336 | 391 | 2,975 | 4.877238 | 0.120205 | 0.151023 | 0.125852 | 0.129523 | 0.861038 | 0.843209 | 0.843209 | 0.843209 | 0.843209 | 0.843209 | 0 | 0.015274 | 0.207731 | 2,975 | 71 | 107 | 41.901408 | 0.793806 | 0 | 0 | 0.654545 | 0 | 0 | 0.008065 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054545 | false | 0 | 0.054545 | 0 | 0.109091 | 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 |
06ed08bb79af3383e831daf05e222617a48ea67b | 159 | py | Python | src/prefect/environments/storage/s3.py | vnsn/prefect | 972345597975155dba9e3232bcc430d0a6258a37 | [
"Apache-2.0"
] | 1 | 2021-04-10T16:32:10.000Z | 2021-04-10T16:32:10.000Z | src/prefect/environments/storage/s3.py | vnsn/prefect | 972345597975155dba9e3232bcc430d0a6258a37 | [
"Apache-2.0"
] | 7 | 2021-06-26T08:05:20.000Z | 2022-03-26T08:05:32.000Z | src/prefect/environments/storage/s3.py | vnsn/prefect | 972345597975155dba9e3232bcc430d0a6258a37 | [
"Apache-2.0"
] | 1 | 2021-10-16T08:33:56.000Z | 2021-10-16T08:33:56.000Z | from prefect.storage import S3 as _S3
from prefect.environments.storage.base import _DeprecatedStorageMixin
class S3(_S3, _DeprecatedStorageMixin):
pass
| 22.714286 | 69 | 0.823899 | 19 | 159 | 6.684211 | 0.578947 | 0.173228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028777 | 0.125786 | 159 | 6 | 70 | 26.5 | 0.884892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
6607cdfde0ff871c0ee0a3896bf2c903bb6a14a7 | 82 | py | Python | tornado_router/__init__.py | ginking/tornado_router | 7f8780ba82ea9cf84bd8c0c00d53cc5b57d915e7 | [
"MIT"
] | 4 | 2020-09-23T23:50:51.000Z | 2021-07-19T17:25:57.000Z | tornado_router/__init__.py | ginking/tornado_router | 7f8780ba82ea9cf84bd8c0c00d53cc5b57d915e7 | [
"MIT"
] | null | null | null | tornado_router/__init__.py | ginking/tornado_router | 7f8780ba82ea9cf84bd8c0c00d53cc5b57d915e7 | [
"MIT"
] | 3 | 2017-09-12T02:38:44.000Z | 2021-01-15T12:58:30.000Z | from .router import Router
from .router import BaseHandler
__version__ = '0.1.2'
| 16.4 | 31 | 0.768293 | 12 | 82 | 4.916667 | 0.666667 | 0.338983 | 0.542373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042857 | 0.146341 | 82 | 4 | 32 | 20.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.060976 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6633c0c4609c32ccce04f3bb23fba1813ad7dbd5 | 43 | py | Python | lidar_det/dataset/__init__.py | VisualComputingInstitute/Person_MinkUNet | fa39764245a022740c0a3d8c85026532fff93e74 | [
"MIT"
] | 4 | 2021-10-15T13:40:48.000Z | 2022-03-07T06:24:07.000Z | lidar_det/dataset/__init__.py | VisualComputingInstitute/Person_MinkUNet | fa39764245a022740c0a3d8c85026532fff93e74 | [
"MIT"
] | 2 | 2022-01-29T23:54:01.000Z | 2022-02-14T21:00:57.000Z | lidar_det/dataset/__init__.py | VisualComputingInstitute/Person_MinkUNet | fa39764245a022740c0a3d8c85026532fff93e74 | [
"MIT"
] | 2 | 2021-10-20T13:44:24.000Z | 2022-01-30T00:13:58.000Z | from .builder import *
from .utils import * | 21.5 | 22 | 0.744186 | 6 | 43 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 43 | 2 | 23 | 21.5 | 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 |
664bf3b073359bd4250c75e0b4da79587a638099 | 44 | py | Python | GUI/Settings/__init__.py | LamWS/ArknightsAutoHelper | 7e3231aceaa23728851e90ba1e8937d9b7dabb35 | [
"MIT"
] | 2 | 2021-07-14T04:03:57.000Z | 2022-03-17T03:23:19.000Z | GUI/Settings/__init__.py | AlvISsReimu/ArknightsAutoHelper | 7112b73c01fe381b20314342ba0dfa2f7e01805d | [
"MIT"
] | 1 | 2019-09-10T13:58:24.000Z | 2019-09-10T13:58:24.000Z | GUI/Settings/__init__.py | AlaricGilbert/ArknightsAutoHelper | 9e2db0c4e0d1be30856df731ab192da396121d94 | [
"MIT"
] | null | null | null | from GUI.Settings.load_gui_settings import * | 44 | 44 | 0.863636 | 7 | 44 | 5.142857 | 0.714286 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 44 | 1 | 44 | 44 | 0.878049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b076116eed2b86db9ff2b82f6d52422e4ec2d806 | 59 | py | Python | src/bot/screen.py | achillesrasquinha/bot | d908892a1026af155c81572ef507c05239b2549a | [
"MIT"
] | null | null | null | src/bot/screen.py | achillesrasquinha/bot | d908892a1026af155c81572ef507c05239b2549a | [
"MIT"
] | null | null | null | src/bot/screen.py | achillesrasquinha/bot | d908892a1026af155c81572ef507c05239b2549a | [
"MIT"
] | null | null | null | from bot.base import Object
class Screen(Object):
pass | 14.75 | 27 | 0.745763 | 9 | 59 | 4.888889 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186441 | 59 | 4 | 28 | 14.75 | 0.916667 | 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 |
b0baf37bc8b0fcd48de11eb8e421b7814445b881 | 123 | py | Python | server/processes/exception/__init__.py | CloudReactor/task_manager | 464ca74371064fabb9a21b1f5bacba30360932ab | [
"Fair"
] | null | null | null | server/processes/exception/__init__.py | CloudReactor/task_manager | 464ca74371064fabb9a21b1f5bacba30360932ab | [
"Fair"
] | 6 | 2021-11-01T01:35:40.000Z | 2022-02-11T03:33:06.000Z | server/processes/exception/__init__.py | CloudReactor/task_manager | 464ca74371064fabb9a21b1f5bacba30360932ab | [
"Fair"
] | null | null | null | from .unprocessable_entity import UnprocessableEntity
from .friendly_exception_handler import friendly_exception_handler
| 41 | 67 | 0.902439 | 13 | 123 | 8.153846 | 0.615385 | 0.320755 | 0.45283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081301 | 123 | 2 | 68 | 61.5 | 0.938053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
9fe3bb13dab62c69160b339a04dc4c528578be3c | 38 | py | Python | __init__.py | GuilhermeBaldo/fas-metrics | eb445b4bde02149356fdfa79d249423d815a6dbd | [
"MIT"
] | null | null | null | __init__.py | GuilhermeBaldo/fas-metrics | eb445b4bde02149356fdfa79d249423d815a6dbd | [
"MIT"
] | null | null | null | __init__.py | GuilhermeBaldo/fas-metrics | eb445b4bde02149356fdfa79d249423d815a6dbd | [
"MIT"
] | null | null | null | from .metrics import calculate_metrics | 38 | 38 | 0.894737 | 5 | 38 | 6.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.942857 | 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 |
9fed1656a419c15002a2f0ee8f3e05a41e332b4b | 1,146 | py | Python | Python-Projects/Dice Simulator/Dice_Simulator.py | kuwarkapur/Hacktoberfest-2022 | efaafeba5ce51d8d2e2d94c6326cc20bff946f17 | [
"MIT"
] | 1 | 2021-12-03T09:23:41.000Z | 2021-12-03T09:23:41.000Z | Python-Projects/Dice Simulator/Dice_Simulator.py | kuwarkapur/Hacktoberfest-2022 | efaafeba5ce51d8d2e2d94c6326cc20bff946f17 | [
"MIT"
] | null | null | null | Python-Projects/Dice Simulator/Dice_Simulator.py | kuwarkapur/Hacktoberfest-2022 | efaafeba5ce51d8d2e2d94c6326cc20bff946f17 | [
"MIT"
] | null | null | null | import random
user = input("Do you want to roll the dice ")
while user == "y":
k = random.randint(1,6)
if k == 1:
print(" --------- ")
print("| |")
print("| 0 |")
print("| |")
print(" --------- ")
if k == 2:
print(" ---------... | 22.038462 | 55 | 0.26178 | 98 | 1,146 | 3.061224 | 0.255102 | 0.28 | 0.293333 | 0.28 | 0.736667 | 0.423333 | 0.246667 | 0 | 0 | 0 | 0 | 0.048013 | 0.472949 | 1,146 | 51 | 56 | 22.470588 | 0.448676 | 0 | 0 | 0.731707 | 0 | 0 | 0.34904 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02439 | 0 | 0.02439 | 0.731707 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
b000f5c4db75b229da6593bac234ab1cde91136e | 86 | py | Python | h5Nastran/result/__init__.py | mjredmond/mrNastran | 4fa57c16e93622ad8be3fb2ed221415ed25c5635 | [
"BSD-3-Clause"
] | 3 | 2017-12-02T05:13:05.000Z | 2017-12-07T04:34:13.000Z | h5Nastran/result/__init__.py | mjredmond/mrNastran | 4fa57c16e93622ad8be3fb2ed221415ed25c5635 | [
"BSD-3-Clause"
] | null | null | null | h5Nastran/result/__init__.py | mjredmond/mrNastran | 4fa57c16e93622ad8be3fb2ed221415ed25c5635 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import print_function, absolute_import
from .result import Result
| 21.5 | 55 | 0.825581 | 11 | 86 | 5.909091 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151163 | 86 | 3 | 56 | 28.666667 | 0.890411 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
b00c07dbdcce5153d38970610e137d3f60a71272 | 22 | py | Python | taattack/_datasets/mnli/__init__.py | linerxliner/ValCAT | e62985c6c64f6415bb2bb4716bd02d9686badd47 | [
"MIT"
] | null | null | null | taattack/_datasets/mnli/__init__.py | linerxliner/ValCAT | e62985c6c64f6415bb2bb4716bd02d9686badd47 | [
"MIT"
] | null | null | null | taattack/_datasets/mnli/__init__.py | linerxliner/ValCAT | e62985c6c64f6415bb2bb4716bd02d9686badd47 | [
"MIT"
] | null | null | null | from .mnli import Mnli | 22 | 22 | 0.818182 | 4 | 22 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b00e34af57531e5c139a7a93b617fcd38f2aa495 | 161 | py | Python | Chapter09/filepickle2.py | LuisPereda/Learning_Python | e89e69346c5584be10d991010f39b59329793ba5 | [
"MIT"
] | null | null | null | Chapter09/filepickle2.py | LuisPereda/Learning_Python | e89e69346c5584be10d991010f39b59329793ba5 | [
"MIT"
] | null | null | null | Chapter09/filepickle2.py | LuisPereda/Learning_Python | e89e69346c5584be10d991010f39b59329793ba5 | [
"MIT"
] | null | null | null | import pickle
pickle_file = open("emp1.dat",'r')
name_list = pickle.load(pickle_file)
skill_list =pickle.load(pickle_file)
print name_list ,"\n", skill_list | 32.2 | 37 | 0.751553 | 26 | 161 | 4.384615 | 0.5 | 0.263158 | 0.245614 | 0.350877 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006993 | 0.111801 | 161 | 5 | 38 | 32.2 | 0.79021 | 0 | 0 | 0 | 0 | 0 | 0.067901 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.2 | null | null | 0.2 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b03085674e38c2d6dd4f6c1a05a1a9bdb7204169 | 46 | py | Python | lib/models/__init__.py | murukessanap/Medical-Transformer | 009d762b5cff8cec5760df5895b0d99cffa5e48f | [
"MIT"
] | 484 | 2021-02-23T01:57:12.000Z | 2022-03-30T09:20:33.000Z | lib/models/__init__.py | SuperXiang/axial-deeplab | fe1d0523faa7b3068ee59ab13f222a46c511d0aa | [
"Apache-2.0"
] | 64 | 2021-03-08T03:46:26.000Z | 2022-03-28T02:46:44.000Z | lib/models/__init__.py | SuperXiang/axial-deeplab | fe1d0523faa7b3068ee59ab13f222a46c511d0aa | [
"Apache-2.0"
] | 120 | 2021-02-23T12:45:00.000Z | 2022-03-30T01:50:11.000Z | from .resnet import *
from .axialnet import *
| 15.333333 | 23 | 0.73913 | 6 | 46 | 5.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 24 | 23 | 0.894737 | 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 |
c6616be179deea30c96d901274affa248bc9362b | 4,258 | py | Python | music/views.py | whiteisnick/nickpale | 77ad44fa4f2f3b22d0e04419c9625f0fc2dbda02 | [
"MIT"
] | null | null | null | music/views.py | whiteisnick/nickpale | 77ad44fa4f2f3b22d0e04419c9625f0fc2dbda02 | [
"MIT"
] | 9 | 2018-03-25T18:00:11.000Z | 2022-03-11T23:16:16.000Z | music/views.py | nickpale/nickpale | 77ad44fa4f2f3b22d0e04419c9625f0fc2dbda02 | [
"MIT"
] | null | null | null | from django.shortcuts import get_object_or_404, render
from django.utils import timezone
from django.views import generic
from .models import Outfit, Album, Track
class OutfitIndexView(generic.ListView):
template_name = 'music/outfits.html'
context_object_name = 'outfit_list'
def get_queryset(self):
... | 36.084746 | 78 | 0.592532 | 504 | 4,258 | 4.84127 | 0.214286 | 0.033197 | 0.027869 | 0.034426 | 0.802869 | 0.780738 | 0.734836 | 0.734836 | 0.734836 | 0.734836 | 0 | 0.004168 | 0.323861 | 4,258 | 117 | 79 | 36.393162 | 0.843348 | 0.152889 | 0 | 0.692308 | 0 | 0 | 0.145845 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.089744 | false | 0 | 0.051282 | 0 | 0.423077 | 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 |
c69b9bce2d86c74b89b63343ae6c71101ce11e6f | 109 | py | Python | tests/test_init.py | amgadmadkour/extra-model | 0dd02dc1da0271446aa22646fd67a96499047007 | [
"MIT"
] | 45 | 2021-01-28T13:57:47.000Z | 2022-03-26T03:17:35.000Z | tests/test_init.py | amgadmadkour/extra-model | 0dd02dc1da0271446aa22646fd67a96499047007 | [
"MIT"
] | 246 | 2021-02-01T02:13:57.000Z | 2022-03-31T12:35:04.000Z | tests/test_init.py | amgadmadkour/extra-model | 0dd02dc1da0271446aa22646fd67a96499047007 | [
"MIT"
] | 8 | 2021-03-16T23:33:55.000Z | 2022-01-12T12:31:11.000Z | """Test package init."""
import extra_model
def test_init():
assert extra_model.__version__ == "0.3.0"
| 15.571429 | 45 | 0.688073 | 16 | 109 | 4.25 | 0.6875 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032609 | 0.155963 | 109 | 6 | 46 | 18.166667 | 0.706522 | 0.165138 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c6b189bfd2746028f868083889af57f749da9002 | 29 | py | Python | algorithms/tree/red_black_tree/__init__.py | duncangh/algorithms | 9fa789d91294cb3a8045aa36f74d045db6875388 | [
"MIT"
] | null | null | null | algorithms/tree/red_black_tree/__init__.py | duncangh/algorithms | 9fa789d91294cb3a8045aa36f74d045db6875388 | [
"MIT"
] | null | null | null | algorithms/tree/red_black_tree/__init__.py | duncangh/algorithms | 9fa789d91294cb3a8045aa36f74d045db6875388 | [
"MIT"
] | null | null | null | from .red_black_tree import * | 29 | 29 | 0.827586 | 5 | 29 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.846154 | 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 |
05a6c324605aedbba17b98deeb7a50d1bb2174aa | 123 | py | Python | gururecommender/__init__.py | MCardus/GuruFinder | cfa6b9fb0401a0fd9e637c5549b69d49b6b857e5 | [
"MIT"
] | null | null | null | gururecommender/__init__.py | MCardus/GuruFinder | cfa6b9fb0401a0fd9e637c5549b69d49b6b857e5 | [
"MIT"
] | 1 | 2021-06-01T22:28:57.000Z | 2021-06-01T22:28:57.000Z | gururecommender/__init__.py | MCardus/GuruFinder | cfa6b9fb0401a0fd9e637c5549b69d49b6b857e5 | [
"MIT"
] | null | null | null | from gururecommender.guru_recommender import GuruRecommender
from gururecommender.elasticsearch_cli import ElasticsearcCli
| 41 | 61 | 0.918699 | 12 | 123 | 9.25 | 0.666667 | 0.342342 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065041 | 123 | 2 | 62 | 61.5 | 0.965217 | 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 |
05c02ac33d29857db81b5b31da38d59841196900 | 6,540 | py | Python | parsy-backend/tests/test_exam.py | dstambler17/Parsy.io | 14c4905809f79f191efbbbdfbd0e8d9e838478e7 | [
"MIT"
] | null | null | null | parsy-backend/tests/test_exam.py | dstambler17/Parsy.io | 14c4905809f79f191efbbbdfbd0e8d9e838478e7 | [
"MIT"
] | null | null | null | parsy-backend/tests/test_exam.py | dstambler17/Parsy.io | 14c4905809f79f191efbbbdfbd0e8d9e838478e7 | [
"MIT"
] | null | null | null | import json
from tests.exam_fixtures import *
def test_get_Exam_details_200(test_app, create_cal_course_exam):
(calID, courseIDSem, examID) = create_cal_course_exam
url = 'exam/getExam/' + str(calID) + '/' + str(courseIDSem) + '/' + str(examID)
r = test_app.get(url)
res = json.loads(r.data)
assert... | 39.161677 | 122 | 0.655963 | 929 | 6,540 | 4.389666 | 0.109795 | 0.058362 | 0.110348 | 0.070868 | 0.914174 | 0.892104 | 0.875184 | 0.837175 | 0.80358 | 0.760422 | 0 | 0.030936 | 0.179511 | 6,540 | 166 | 123 | 39.39759 | 0.729035 | 0.01789 | 0 | 0.666667 | 0 | 0 | 0.148303 | 0.005517 | 0 | 0 | 0 | 0 | 0.219512 | 1 | 0.130081 | false | 0 | 0.01626 | 0 | 0.146341 | 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 |
af09a11aea75d4d4ce4704eb0a6d01f5478dd1f3 | 28 | py | Python | project/frontend/__init__.py | infrascloudy/ajax_helpdesk | f50b3ea36c16206ad26c20ab1e5c89e068c54d6e | [
"MIT"
] | 296 | 2015-03-02T15:35:47.000Z | 2022-03-04T20:45:18.000Z | project/frontend/__init__.py | infrascloudy/ajax_helpdesk | f50b3ea36c16206ad26c20ab1e5c89e068c54d6e | [
"MIT"
] | 6 | 2015-11-18T16:07:13.000Z | 2020-01-21T05:38:52.000Z | project/frontend/__init__.py | infrascloudy/ajax_helpdesk | f50b3ea36c16206ad26c20ab1e5c89e068c54d6e | [
"MIT"
] | 116 | 2015-03-15T14:24:17.000Z | 2022-03-28T02:14:58.000Z | from .views import frontend
| 14 | 27 | 0.821429 | 4 | 28 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
af294b689756ef94cb67f3ad28b5c872ae134bf2 | 53,338 | py | Python | classification/train.py | Lifelong-ML/LASEM | c4ec052c850e37f54bc3e6faf6b988a4c5239f10 | [
"MIT"
] | 8 | 2021-07-06T14:35:50.000Z | 2022-03-03T08:45:13.000Z | classification/train.py | Lifelong-ML/LASEM | c4ec052c850e37f54bc3e6faf6b988a4c5239f10 | [
"MIT"
] | null | null | null | classification/train.py | Lifelong-ML/LASEM | c4ec052c850e37f54bc3e6faf6b988a4c5239f10 | [
"MIT"
] | 1 | 2021-07-09T09:26:11.000Z | 2021-07-09T09:26:11.000Z | import os
import timeit
from time import sleep
from random import shuffle
import numpy as np
import tensorflow as tf
from scipy.io import savemat
from classification.gen_data import mnist_data_print_info, cifar_data_print_info, officehome_data_print_info, print_data_info
from utils.utils import savemat_wrap... | 59.595531 | 427 | 0.690652 | 7,202 | 53,338 | 4.711469 | 0.057901 | 0.040228 | 0.018743 | 0.013262 | 0.822645 | 0.784098 | 0.754273 | 0.739361 | 0.716403 | 0.689998 | 0 | 0.00761 | 0.21165 | 53,338 | 894 | 428 | 59.662192 | 0.799353 | 0.053508 | 0 | 0.628788 | 0 | 0.001515 | 0.114756 | 0.013436 | 0 | 0 | 0 | 0 | 0.006061 | 1 | 0.007576 | false | 0 | 0.021212 | 0 | 0.042424 | 0.143939 | 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 |
af6b072540ae82730ded1923682d8862f7dc8f4d | 72 | py | Python | rods/__init__.py | Priler/terraria-autofishing | be7af7d53c9c258316b4ef23626cd8e3c9563a9d | [
"MIT"
] | 18 | 2021-04-16T12:33:49.000Z | 2022-03-29T20:19:34.000Z | rods/__init__.py | HuKuTa-He-4uTaK/terraria-autofishing-rus | ce662580b59c6b3eb18b37c3aa6c196c23712775 | [
"MIT"
] | 4 | 2021-05-31T12:20:57.000Z | 2021-11-25T00:35:03.000Z | rods/__init__.py | HuKuTa-He-4uTaK/terraria-autofishing-rus | ce662580b59c6b3eb18b37c3aa6c196c23712775 | [
"MIT"
] | 12 | 2021-04-17T06:48:21.000Z | 2022-03-29T20:19:12.000Z | from . import sitting_duck_fishing_pole
from . import golden_fishing_rod | 36 | 39 | 0.875 | 11 | 72 | 5.272727 | 0.727273 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097222 | 72 | 2 | 40 | 36 | 0.892308 | 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 |
af6fda0c015ef15bb1b8c6df833758246e5f8d70 | 27 | py | Python | vega/search_space/networks/pytorch/esrbodys/__init__.py | qixiuai/vega | 3e6588ea4aedb03e3594a549a97ffdb86adb88d1 | [
"MIT"
] | 12 | 2020-12-13T08:34:24.000Z | 2022-03-20T15:17:17.000Z | vega/search_space/networks/pytorch/esrbodys/__init__.py | qixiuai/vega | 3e6588ea4aedb03e3594a549a97ffdb86adb88d1 | [
"MIT"
] | 3 | 2021-03-31T20:15:40.000Z | 2022-02-09T23:50:46.000Z | built-in/TensorFlow/Research/cv/image_classification/Darts_for_TensorFlow/automl/vega/search_space/networks/pytorch/esrbodys/__init__.py | Huawei-Ascend/modelzoo | df51ed9c1d6dbde1deef63f2a037a369f8554406 | [
"Apache-2.0"
] | 2 | 2021-07-10T12:40:46.000Z | 2021-12-17T07:55:15.000Z | from .erdb_esr import ESRN
| 13.5 | 26 | 0.814815 | 5 | 27 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.913043 | 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 |
af749dac959d5822e832de4fe1b1172c7a3843e0 | 15,801 | py | Python | src/photos/test/test_functional.py | RubenRubens/acs_backend | 1c3ea3a4f47e8fc3bceb70bc41c3dab80b279f7c | [
"MIT"
] | null | null | null | src/photos/test/test_functional.py | RubenRubens/acs_backend | 1c3ea3a4f47e8fc3bceb70bc41c3dab80b279f7c | [
"MIT"
] | null | null | null | src/photos/test/test_functional.py | RubenRubens/acs_backend | 1c3ea3a4f47e8fc3bceb70bc41c3dab80b279f7c | [
"MIT"
] | null | null | null | from django.contrib.auth.models import User
from django.http import response
from django.test import TestCase
from rest_framework.test import APIClient
from rest_framework.authtoken.models import Token
from django.core.files.uploadedfile import SimpleUploadedFile
from rest_framework import status
import json
from iter... | 37.178824 | 150 | 0.601544 | 1,820 | 15,801 | 5.058242 | 0.108242 | 0.044971 | 0.039539 | 0.061916 | 0.805344 | 0.787856 | 0.765045 | 0.742125 | 0.734304 | 0.713882 | 0 | 0.013085 | 0.269666 | 15,801 | 424 | 151 | 37.266509 | 0.784662 | 0.121638 | 0 | 0.568266 | 0 | 0 | 0.182336 | 0.058066 | 0 | 0 | 0 | 0 | 0.136531 | 1 | 0.051661 | false | 0.02952 | 0.04059 | 0 | 0.110701 | 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 |
af9d38c3a648f74e37186aeed788cd29e78a0fd6 | 127 | py | Python | Year 3/Sem 6/DSL/Week 1/q4.py | ShravyaMallya/CSE-MIT-Manipal | a667bea2b38e57e39b6439b7d73722787514d5fd | [
"MIT"
] | 1 | 2022-03-17T12:31:11.000Z | 2022-03-17T12:31:11.000Z | Year 3/Sem 6/DSL/Week 1/q4.py | ShravyaMallya/CSE-MIT-Manipal | a667bea2b38e57e39b6439b7d73722787514d5fd | [
"MIT"
] | null | null | null | Year 3/Sem 6/DSL/Week 1/q4.py | ShravyaMallya/CSE-MIT-Manipal | a667bea2b38e57e39b6439b7d73722787514d5fd | [
"MIT"
] | null | null | null | str = 'Hello World!'
print(str)
print(str[0])
print(str[2:5])
print(str[2:])
print (str * 2)
print(str * 2)
print(str + "TEST") | 15.875 | 20 | 0.622047 | 24 | 127 | 3.291667 | 0.333333 | 0.708861 | 0.455696 | 0.531646 | 0.443038 | 0.443038 | 0.443038 | 0.443038 | 0 | 0 | 0 | 0.054545 | 0.133858 | 127 | 8 | 21 | 15.875 | 0.663636 | 0 | 0 | 0.25 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.875 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
bba3352d2a66f99a6b6d26d67e7c1a47d92cc72f | 28 | py | Python | batchspawner/__init__.py | dylex/jupyterhub-batchspawner | ce6f09c60c5e6814f44249b71e77f04e802747b9 | [
"BSD-3-Clause"
] | null | null | null | batchspawner/__init__.py | dylex/jupyterhub-batchspawner | ce6f09c60c5e6814f44249b71e77f04e802747b9 | [
"BSD-3-Clause"
] | null | null | null | batchspawner/__init__.py | dylex/jupyterhub-batchspawner | ce6f09c60c5e6814f44249b71e77f04e802747b9 | [
"BSD-3-Clause"
] | 1 | 2018-10-09T10:28:46.000Z | 2018-10-09T10:28:46.000Z | from .batchspawner import *
| 14 | 27 | 0.785714 | 3 | 28 | 7.333333 | 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 |
bbb9d910be4341177e6483bc27bc647d5160a46d | 3,168 | py | Python | tests/test_safeguard.py | wix-chaos-hub/chaostoolkit-addons | 2e59806579a421f9d0a5da384f259f0b857e689e | [
"Apache-2.0"
] | null | null | null | tests/test_safeguard.py | wix-chaos-hub/chaostoolkit-addons | 2e59806579a421f9d0a5da384f259f0b857e689e | [
"Apache-2.0"
] | null | null | null | tests/test_safeguard.py | wix-chaos-hub/chaostoolkit-addons | 2e59806579a421f9d0a5da384f259f0b857e689e | [
"Apache-2.0"
] | null | null | null | from chaoslib.exceptions import InvalidActivity
import pytest
from chaosaddons.controls.safeguards import validate_control
def test_fail_on_invalid_probes():
invalid_type_probe = {
"name": "my control",
"provider": {
"type": "python",
"module": "chaosaddons.controls.safegu... | 30.171429 | 72 | 0.381944 | 202 | 3,168 | 5.747525 | 0.232673 | 0.036176 | 0.108527 | 0.144703 | 0.767442 | 0.761413 | 0.716624 | 0.716624 | 0.716624 | 0.624462 | 0 | 0 | 0.51452 | 3,168 | 104 | 73 | 30.461538 | 0.754876 | 0.005366 | 0 | 0.526316 | 0 | 0 | 0.177573 | 0.03939 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042105 | false | 0 | 0.031579 | 0 | 0.073684 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bbc39f0cff5de969caeb4fd7fe811d878c3e74c5 | 49 | py | Python | cygraphblas/lib/constants/__init__.py | eriknw/cygraphblas | 81ae37591ec38aa698d5f37716464a6c366076f9 | [
"Apache-2.0"
] | 3 | 2020-09-03T21:47:25.000Z | 2021-08-06T20:24:19.000Z | cygraphblas/lib/constants/__init__.py | eriknw/cygraphblas | 81ae37591ec38aa698d5f37716464a6c366076f9 | [
"Apache-2.0"
] | null | null | null | cygraphblas/lib/constants/__init__.py | eriknw/cygraphblas | 81ae37591ec38aa698d5f37716464a6c366076f9 | [
"Apache-2.0"
] | 2 | 2020-09-03T21:47:52.000Z | 2021-08-06T20:24:20.000Z | from . import desc_field, desc_value, info, mode
| 24.5 | 48 | 0.77551 | 8 | 49 | 4.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 49 | 1 | 49 | 49 | 0.857143 | 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 |
bbfdf53d46a0af11688f0fcd916012205d7289e4 | 22,866 | py | Python | tests/test_binary_operators.py | gf712/onnxruntime-numpy | 752ecb90e97295384c96ff339165c461ba4caf87 | [
"MIT"
] | 2 | 2021-04-24T07:50:31.000Z | 2021-09-07T18:56:51.000Z | tests/test_binary_operators.py | gf712/onnxruntime-numpy | 752ecb90e97295384c96ff339165c461ba4caf87 | [
"MIT"
] | null | null | null | tests/test_binary_operators.py | gf712/onnxruntime-numpy | 752ecb90e97295384c96ff339165c461ba4caf87 | [
"MIT"
] | null | null | null | import onnxruntime_numpy as onp
import numpy as np
import pytest
from onnxruntime_numpy.types import (
float_types, numeric_types, bool_types, is_integer, all_types)
from .utils import expect
@pytest.mark.parametrize("type_a", [*float_types, np.int32, np.int64])
def test_add(type_a):
a = onp.array([1, 2, 3], ... | 34.128358 | 82 | 0.614799 | 3,801 | 22,866 | 3.571165 | 0.036043 | 0.085826 | 0.100486 | 0.112347 | 0.931339 | 0.904302 | 0.891557 | 0.878297 | 0.866288 | 0.854722 | 0 | 0.048351 | 0.192294 | 22,866 | 669 | 83 | 34.179372 | 0.68661 | 0.037698 | 0 | 0.637827 | 0 | 0 | 0.012283 | 0 | 0 | 0 | 0 | 0.001495 | 0 | 1 | 0.084507 | false | 0 | 0.01006 | 0 | 0.096579 | 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 |
a5210c0420b8a32fd84abaaf20817febff86673f | 7,731 | py | Python | tests/feature/test_log_commands.py | bbeng89/ntbk | 770ecd9c6223d9579114731a5efa9f9e3c766bad | [
"MIT"
] | 1 | 2021-12-22T19:28:55.000Z | 2021-12-22T19:28:55.000Z | tests/feature/test_log_commands.py | bbeng89/ntbk | 770ecd9c6223d9579114731a5efa9f9e3c766bad | [
"MIT"
] | 16 | 2021-12-22T19:16:25.000Z | 2022-01-26T16:44:57.000Z | tests/feature/test_log_commands.py | bbeng89/ntbk | 770ecd9c6223d9579114731a5efa9f9e3c766bad | [
"MIT"
] | null | null | null | """Tests for log sub-commands"""
# 3rd party imports
import pytest
from freezegun import freeze_time
from colorama import Fore, Style
@freeze_time("2021-12-30")
def test_no_args_opens_today(dispatcher, ntbk_dir):
"""Test calling app without any args opens todays file"""
expected_path = ntbk_dir / 'log/2021/1... | 45.476471 | 100 | 0.724615 | 1,128 | 7,731 | 4.739362 | 0.110816 | 0.092031 | 0.080808 | 0.094276 | 0.863636 | 0.860082 | 0.834643 | 0.811448 | 0.767116 | 0.724467 | 0 | 0.059196 | 0.14125 | 7,731 | 169 | 101 | 45.745562 | 0.746046 | 0.123141 | 0 | 0.646154 | 0 | 0 | 0.217404 | 0.103618 | 0 | 0 | 0 | 0 | 0.230769 | 1 | 0.130769 | false | 0 | 0.023077 | 0 | 0.153846 | 0.107692 | 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 |
3c331a9b51856b0e31cb0a3e2567d7c6ca72365b | 33 | py | Python | app_utils/helpers/pagination/__init__.py | kskarbinski/threads-api | c144c1cb51422095922310d278f80e4996c10ea0 | [
"MIT"
] | null | null | null | app_utils/helpers/pagination/__init__.py | kskarbinski/threads-api | c144c1cb51422095922310d278f80e4996c10ea0 | [
"MIT"
] | null | null | null | app_utils/helpers/pagination/__init__.py | kskarbinski/threads-api | c144c1cb51422095922310d278f80e4996c10ea0 | [
"MIT"
] | null | null | null | from .pagination import Paginate
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 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 |
3c4daeb5c55bc291be420d223826d0d38e9490a5 | 3,433 | py | Python | src/test/scenarios/managed-network/output/src/managed-network/azext_managed_network/generated/action.py | changlong-liu/autorest.az | d6a85324b2849f65ccfef872d0ecb44eb28e16a0 | [
"MIT"
] | null | null | null | src/test/scenarios/managed-network/output/src/managed-network/azext_managed_network/generated/action.py | changlong-liu/autorest.az | d6a85324b2849f65ccfef872d0ecb44eb28e16a0 | [
"MIT"
] | null | null | null | src/test/scenarios/managed-network/output/src/managed-network/azext_managed_network/generated/action.py | changlong-liu/autorest.az | d6a85324b2849f65ccfef872d0ecb44eb28e16a0 | [
"MIT"
] | null | null | null | # --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# -----------------------------------------------------------------... | 39.45977 | 95 | 0.565103 | 361 | 3,433 | 5.185596 | 0.210526 | 0.128205 | 0.115385 | 0.057692 | 0.745727 | 0.745727 | 0.745727 | 0.745727 | 0.745727 | 0.745727 | 0 | 0.001613 | 0.2776 | 3,433 | 86 | 96 | 39.918605 | 0.753226 | 0.140111 | 0 | 0.727273 | 0 | 0 | 0.081933 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.121212 | false | 0 | 0.030303 | 0 | 0.272727 | 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 |
3c94f2dc0df37a115086d3c2d1930b6ab7553999 | 42 | py | Python | coeff.py | RinaldiLuca/FIRfilter_on_FPGA | 296a7e908d0ba4a0ddb008fe15b5bf2f090c4a67 | [
"BSD-2-Clause"
] | null | null | null | coeff.py | RinaldiLuca/FIRfilter_on_FPGA | 296a7e908d0ba4a0ddb008fe15b5bf2f090c4a67 | [
"BSD-2-Clause"
] | null | null | null | coeff.py | RinaldiLuca/FIRfilter_on_FPGA | 296a7e908d0ba4a0ddb008fe15b5bf2f090c4a67 | [
"BSD-2-Clause"
] | null | null | null | import scipy.signal
print(firwin(8,0.1))
| 10.5 | 20 | 0.738095 | 8 | 42 | 3.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 0.095238 | 42 | 3 | 21 | 14 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
b1b63a4d0611443c0b713e39327da6bdcd50729b | 52 | py | Python | logparser_bit/__init__.py | coolestmonkeyinthejungle/logparser_bit | b608cde0243297a474f2f7aaab5330ed1292442f | [
"MIT"
] | null | null | null | logparser_bit/__init__.py | coolestmonkeyinthejungle/logparser_bit | b608cde0243297a474f2f7aaab5330ed1292442f | [
"MIT"
] | null | null | null | logparser_bit/__init__.py | coolestmonkeyinthejungle/logparser_bit | b608cde0243297a474f2f7aaab5330ed1292442f | [
"MIT"
] | null | null | null | from logparser_bit.logparser_bit import string_parse | 52 | 52 | 0.923077 | 8 | 52 | 5.625 | 0.75 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057692 | 52 | 1 | 52 | 52 | 0.918367 | 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 |
b1ee134aedd79b1677f9217d39168cca1f5ee46c | 49 | py | Python | dwave/system/exceptions/__init__.py | bellert/dwave-system | f7e0fdb3ad2a2f72f2a80ff783947b2fb517b084 | [
"Apache-2.0"
] | null | null | null | dwave/system/exceptions/__init__.py | bellert/dwave-system | f7e0fdb3ad2a2f72f2a80ff783947b2fb517b084 | [
"Apache-2.0"
] | null | null | null | dwave/system/exceptions/__init__.py | bellert/dwave-system | f7e0fdb3ad2a2f72f2a80ff783947b2fb517b084 | [
"Apache-2.0"
] | null | null | null | from dwave.system.exceptions.exceptions import *
| 24.5 | 48 | 0.836735 | 6 | 49 | 6.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 0.911111 | 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 |
b1fd7efeaa6c62dcac68c0bf9dcbdcb076ffbbba | 41 | py | Python | snake_game/utils/__init__.py | carlosjasso/pygame-snake | 417f3515b2343a9ed3a1e39f7ca22159faaf3731 | [
"Unlicense"
] | null | null | null | snake_game/utils/__init__.py | carlosjasso/pygame-snake | 417f3515b2343a9ed3a1e39f7ca22159faaf3731 | [
"Unlicense"
] | null | null | null | snake_game/utils/__init__.py | carlosjasso/pygame-snake | 417f3515b2343a9ed3a1e39f7ca22159faaf3731 | [
"Unlicense"
] | null | null | null | from .enum import *
from .types import * | 20.5 | 20 | 0.707317 | 6 | 41 | 4.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195122 | 41 | 2 | 21 | 20.5 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b1fed436af4c3ae9a5cd57f337adc65e04137e24 | 4,197 | py | Python | tests/test_caching.py | MannanB/snap | d0b8d7cb2645dd13b714ac51370e1938bb906e2e | [
"MIT"
] | null | null | null | tests/test_caching.py | MannanB/snap | d0b8d7cb2645dd13b714ac51370e1938bb906e2e | [
"MIT"
] | null | null | null | tests/test_caching.py | MannanB/snap | d0b8d7cb2645dd13b714ac51370e1938bb906e2e | [
"MIT"
] | null | null | null | import time
import random
import unittest
from snap.cache import *
class TestCaching(unittest.TestCase):
def test_fifo(self):
cache = MemoryCache(cache_policy=FIFO, cache_size=10)
for x in range(10):
cache.add_item(f'https://test{x}.com', {'data': f'test{x}'}, params={'x': x}, headers=... | 52.4625 | 125 | 0.568501 | 630 | 4,197 | 3.714286 | 0.111111 | 0.017094 | 0.065385 | 0.05641 | 0.849573 | 0.782051 | 0.782051 | 0.782051 | 0.764103 | 0.746154 | 0 | 0.027043 | 0.198237 | 4,197 | 79 | 126 | 53.126582 | 0.668351 | 0.051704 | 0 | 0.59375 | 0 | 0 | 0.161705 | 0 | 0 | 0 | 0 | 0 | 0.265625 | 1 | 0.09375 | false | 0 | 0.0625 | 0 | 0.171875 | 0.015625 | 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 |
5944ccf8790403468925c4096d90509b3fe2e1c9 | 32 | py | Python | src/Dispatch/__init__.py | NikolayRag/codeg | 2af182aaab3fea7c5f94727569fa65d9adda9de0 | [
"MIT"
] | null | null | null | src/Dispatch/__init__.py | NikolayRag/codeg | 2af182aaab3fea7c5f94727569fa65d9adda9de0 | [
"MIT"
] | null | null | null | src/Dispatch/__init__.py | NikolayRag/codeg | 2af182aaab3fea7c5f94727569fa65d9adda9de0 | [
"MIT"
] | null | null | null | from .DispatchManager import *
| 10.666667 | 30 | 0.78125 | 3 | 32 | 8.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 32 | 2 | 31 | 16 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3cb4ee0c22bcbfaf656f9305cb3ba0f1abe20364 | 21 | py | Python | app/models/__init__.py | peterwade153/flybob | 85fcd401bffed9adb06e7943f0c748be822fac75 | [
"MIT"
] | 1 | 2019-09-09T15:04:07.000Z | 2019-09-09T15:04:07.000Z | app/models/__init__.py | peterwade153/flybob | 85fcd401bffed9adb06e7943f0c748be822fac75 | [
"MIT"
] | 26 | 2019-03-27T16:59:26.000Z | 2021-06-01T23:35:27.000Z | app/models/__init__.py | peterwade153/flybob | 85fcd401bffed9adb06e7943f0c748be822fac75 | [
"MIT"
] | null | null | null | from .base import db
| 10.5 | 20 | 0.761905 | 4 | 21 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
59b3c1c88f033705bf8f2182c85acfbe5ae5fdd6 | 8,552 | py | Python | tensorflow_federated/python/core/impl/compiler/tensorflow_computation_factory_test.py | FreJoe/tff-0.4.0 | 84f5d2f8395682af6e16ab391380ef7e6bc9dc0d | [
"Apache-2.0"
] | null | null | null | tensorflow_federated/python/core/impl/compiler/tensorflow_computation_factory_test.py | FreJoe/tff-0.4.0 | 84f5d2f8395682af6e16ab391380ef7e6bc9dc0d | [
"Apache-2.0"
] | null | null | null | tensorflow_federated/python/core/impl/compiler/tensorflow_computation_factory_test.py | FreJoe/tff-0.4.0 | 84f5d2f8395682af6e16ab391380ef7e6bc9dc0d | [
"Apache-2.0"
] | null | null | null | # Lint as: python3
# Copyright 2019, The TensorFlow Federated 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 ... | 40.150235 | 89 | 0.780402 | 1,045 | 8,552 | 6.072727 | 0.146411 | 0.071699 | 0.050425 | 0.075008 | 0.813741 | 0.786637 | 0.748976 | 0.73826 | 0.711787 | 0.683423 | 0 | 0.01179 | 0.137161 | 8,552 | 212 | 90 | 40.339623 | 0.848218 | 0.068873 | 0 | 0.632258 | 0 | 0 | 0.006417 | 0 | 0 | 0 | 0 | 0 | 0.219355 | 1 | 0.090323 | false | 0 | 0.070968 | 0 | 0.180645 | 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 |
59c556d74cab078d3437d3dec0f27530571f2379 | 1,869 | py | Python | devicequery.py | WareHub/WareHub-API | 4433a181f19dbd9261d0ecabeac4f338d5e62fee | [
"MIT"
] | null | null | null | devicequery.py | WareHub/WareHub-API | 4433a181f19dbd9261d0ecabeac4f338d5e62fee | [
"MIT"
] | null | null | null | devicequery.py | WareHub/WareHub-API | 4433a181f19dbd9261d0ecabeac4f338d5e62fee | [
"MIT"
] | null | null | null | output=open('device2.sql','w')
id1=10000010
for i in range(20):
query="insert into DEVICE(ID,DTYPE,LOCATION,STAT,OVERALL_REVIEW,NUM_REVIEWS,TECH_ID) Values(" + str(id1+i)+ ",'" +'microphone'+str(i)+ "',"+str(i) + "," + '0'+","+ '0'+ "," + '0' + "," +'10000003' + ")"
output.write(query+'\n')
id2=20000010
for i in ra... | 50.513514 | 203 | 0.579989 | 271 | 1,869 | 3.922509 | 0.191882 | 0.052681 | 0.039511 | 0.072437 | 0.836312 | 0.836312 | 0.836312 | 0.836312 | 0.836312 | 0.836312 | 0 | 0.098841 | 0.12306 | 1,869 | 37 | 204 | 50.513514 | 0.549725 | 0 | 0 | 0.482759 | 0 | 0 | 0.43262 | 0.243316 | 0.241379 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 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 |
59c836f9930e2019908a5bcf62023d339640f1f4 | 7,494 | py | Python | src/prefect/triggers.py | skyline-ai/prefect | 92430f2f91215d6c27d92ad67df67ccd639e587c | [
"Apache-2.0"
] | null | null | null | src/prefect/triggers.py | skyline-ai/prefect | 92430f2f91215d6c27d92ad67df67ccd639e587c | [
"Apache-2.0"
] | null | null | null | src/prefect/triggers.py | skyline-ai/prefect | 92430f2f91215d6c27d92ad67df67ccd639e587c | [
"Apache-2.0"
] | null | null | null | """
Triggers are functions that determine if task state should change based on
the state of preceding tasks.
"""
from typing import Callable, Set, Union
from prefect import context
from prefect.engine import signals, state
def all_finished(upstream_states: Set["state.State"]) -> bool:
"""
This task will run ... | 35.349057 | 125 | 0.652522 | 1,027 | 7,494 | 4.644596 | 0.133398 | 0.11153 | 0.057023 | 0.073795 | 0.83543 | 0.830189 | 0.819078 | 0.815723 | 0.78218 | 0.721384 | 0 | 0.00183 | 0.270883 | 7,494 | 211 | 126 | 35.516588 | 0.871157 | 0.468642 | 0 | 0.5 | 0 | 0 | 0.167826 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.121951 | false | 0 | 0.036585 | 0 | 0.304878 | 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 |
ab9be9c2abffb659e48b536be2797757bfec72cb | 434 | py | Python | caipirinha_cmdtools/lib/dicom/__init__.py | rbrecheisen/cairpirinha-cmdtools | 1730f11d8899879abb3a01b3236cd156aecf9820 | [
"MIT"
] | 1 | 2021-02-02T12:26:34.000Z | 2021-02-02T12:26:34.000Z | caipirinha_cmdtools/lib/dicom/__init__.py | rbrecheisen/cairpirinha-cmdtools | 1730f11d8899879abb3a01b3236cd156aecf9820 | [
"MIT"
] | null | null | null | caipirinha_cmdtools/lib/dicom/__init__.py | rbrecheisen/cairpirinha-cmdtools | 1730f11d8899879abb3a01b3236cd156aecf9820 | [
"MIT"
] | null | null | null | from caipirinha_cmdtools.lib.dicom.dcm2masks import Dcm2Masks
from caipirinha_cmdtools.lib.dicom.dcm2nifti import Dcm2Nifti
from caipirinha_cmdtools.lib.dicom.dcm2numpy import Dcm2Numpy
from caipirinha_cmdtools.lib.dicom.nifti2masks import Nifti2Masks
from caipirinha_cmdtools.lib.dicom.tag2dcm import Tag2Dcm
from caipi... | 54.25 | 65 | 0.887097 | 56 | 434 | 6.75 | 0.232143 | 0.259259 | 0.407407 | 0.462963 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0.064516 | 434 | 7 | 66 | 62 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
abbf3062ce7f772fbc240be8b70a20f60ed3b992 | 1,553 | py | Python | src/text_selection_tests/kld/kld_iterator_py/test_get_minimum_kld_keys.py | stefantaubert/text-selection | 4b3b49005cbeb2e9212ed94686d8e871c6c2c368 | [
"MIT"
] | null | null | null | src/text_selection_tests/kld/kld_iterator_py/test_get_minimum_kld_keys.py | stefantaubert/text-selection | 4b3b49005cbeb2e9212ed94686d8e871c6c2c368 | [
"MIT"
] | null | null | null | src/text_selection_tests/kld/kld_iterator_py/test_get_minimum_kld_keys.py | stefantaubert/text-selection | 4b3b49005cbeb2e9212ed94686d8e871c6c2c368 | [
"MIT"
] | null | null | null | import numpy as np
from ordered_set import OrderedSet
from text_selection.kld.kld_iterator import get_minimum_kld_keys
def test_componenttest_without_preselection():
data = np.array([[1, 2], [1, 1], [1, 1], [1, 1], [0, 0]], dtype=np.uint32)
keys = OrderedSet((0, 1, 3, 4))
covered = np.array([0, 0], dtype=np.uin... | 29.865385 | 76 | 0.663232 | 247 | 1,553 | 4 | 0.190283 | 0.063765 | 0.078947 | 0.068826 | 0.855263 | 0.848178 | 0.822874 | 0.822874 | 0.822874 | 0.822874 | 0 | 0.069153 | 0.171281 | 1,553 | 51 | 77 | 30.45098 | 0.698524 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.071429 | false | 0 | 0.071429 | 0 | 0.142857 | 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 |
051f26de31cf7bbc1f54134bd03d03bf7fdeb9ab | 745 | py | Python | tests/models/test_label.py | dpasse/crazy_joe | bb77b2f8ee2cfb26cd8f2c45e0f0da2c2db3f805 | [
"MIT"
] | null | null | null | tests/models/test_label.py | dpasse/crazy_joe | bb77b2f8ee2cfb26cd8f2c45e0f0da2c2db3f805 | [
"MIT"
] | null | null | null | tests/models/test_label.py | dpasse/crazy_joe | bb77b2f8ee2cfb26cd8f2c45e0f0da2c2db3f805 | [
"MIT"
] | null | null | null | import os
import sys
sys.path.insert(0, os.path.abspath('src'))
from crazy_joe.models import Label, Value, Unit
def test_repr_string_format_with_no_unit():
label = Label(names=['H'], value=Value(None))
assert(label.__repr__() == 'Label(names=["H"], value=Value(unit=None), order=1, importance=1)')
def test_... | 35.47619 | 114 | 0.679195 | 114 | 745 | 4.175439 | 0.280702 | 0.113445 | 0.138655 | 0.134454 | 0.762605 | 0.762605 | 0.705882 | 0.573529 | 0.573529 | 0.489496 | 0 | 0.010542 | 0.108725 | 745 | 20 | 115 | 37.25 | 0.706325 | 0 | 0 | 0 | 0 | 0.230769 | 0.307796 | 0.119624 | 0 | 0 | 0 | 0 | 0.230769 | 1 | 0.230769 | false | 0 | 0.461538 | 0 | 0.692308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
554475a945358ee64f0627acc5ee7a47b2ba81d1 | 50 | py | Python | src/045-triangular-pentagonal-and-hexagonal/python/solve.py | xfbs/ProjectEulerRust | e26768c56ff87b029cb2a02f56dc5cd32e1f7c87 | [
"MIT"
] | 1 | 2018-01-26T21:18:12.000Z | 2018-01-26T21:18:12.000Z | src/045-triangular-pentagonal-and-hexagonal/python/solve.py | xfbs/ProjectEulerRust | e26768c56ff87b029cb2a02f56dc5cd32e1f7c87 | [
"MIT"
] | 3 | 2017-12-09T14:49:30.000Z | 2017-12-09T14:59:39.000Z | src/045-triangular-pentagonal-and-hexagonal/python/solve.py | xfbs/ProjectEulerRust | e26768c56ff87b029cb2a02f56dc5cd32e1f7c87 | [
"MIT"
] | null | null | null | import solver
print(solver.solve(285, 165, 143))
| 12.5 | 34 | 0.74 | 8 | 50 | 4.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204545 | 0.12 | 50 | 3 | 35 | 16.666667 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 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 | 1 | 0 | 0 | 1 | 0 | 6 |
55944d5edc991c85326d1f0862017d09c80d045b | 14,072 | py | Python | tests/experiments/test_execution.py | sinc-lab/clustermatch | 8b66b3d7add0150ed1d7888889911233544cedfc | [
"MIT"
] | 6 | 2019-05-10T05:39:28.000Z | 2021-03-16T18:48:27.000Z | tests/experiments/test_execution.py | sinc-lab/clustermatch | 8b66b3d7add0150ed1d7888889911233544cedfc | [
"MIT"
] | 1 | 2021-01-29T19:43:09.000Z | 2021-01-29T19:43:09.000Z | tests/experiments/test_execution.py | sinc-lab/clustermatch | 8b66b3d7add0150ed1d7888889911233544cedfc | [
"MIT"
] | null | null | null | import unittest
from unittest.mock import Mock
import numpy as np
from numbers import Number
from sklearn.metrics import adjusted_rand_score as ari
from experiments.execution import _run_experiment, _run_full_experiment
def _check_expected_noisy_data(data_returned, data_without_noise, noise_obj):
percentage_obj... | 34.660099 | 78 | 0.62365 | 1,767 | 14,072 | 4.680249 | 0.078664 | 0.012092 | 0.013059 | 0.011608 | 0.832285 | 0.782588 | 0.746312 | 0.740024 | 0.715961 | 0.692866 | 0 | 0.0655 | 0.273096 | 14,072 | 405 | 79 | 34.745679 | 0.742986 | 0.016984 | 0 | 0.670034 | 0 | 0 | 0.057664 | 0 | 0 | 0 | 0 | 0 | 0.380471 | 1 | 0.023569 | false | 0 | 0.020202 | 0 | 0.047138 | 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 |
e94a04c01f1480dea45d598d118984fc65f02669 | 28 | py | Python | wallet/airtime/__init__.py | alekaizer/wallet-python | 9d0b54c893b37489dae18a2d94135b24d278b564 | [
"MIT"
] | 1 | 2021-09-29T12:02:58.000Z | 2021-09-29T12:02:58.000Z | wallet/airtime/__init__.py | alekaizer/wallet-python | 9d0b54c893b37489dae18a2d94135b24d278b564 | [
"MIT"
] | null | null | null | wallet/airtime/__init__.py | alekaizer/wallet-python | 9d0b54c893b37489dae18a2d94135b24d278b564 | [
"MIT"
] | null | null | null | from .airtime import Airtime | 28 | 28 | 0.857143 | 4 | 28 | 6 | 0.75 | 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 |
e97c20be6d6897a64b04b29d607044648565b3bd | 203 | py | Python | cloud_functions/exceptions.py | aerosense-ai/data-gateway | 019b8e4a114e16d363a3167171a457cefdbf004f | [
"Apache-2.0"
] | null | null | null | cloud_functions/exceptions.py | aerosense-ai/data-gateway | 019b8e4a114e16d363a3167171a457cefdbf004f | [
"Apache-2.0"
] | 34 | 2021-12-20T14:51:57.000Z | 2022-03-30T16:47:04.000Z | cloud_functions/exceptions.py | aerosense-ai/data-gateway | 019b8e4a114e16d363a3167171a457cefdbf004f | [
"Apache-2.0"
] | null | null | null | class ConfigurationAlreadyExists(BaseException):
pass
class InstallationWithSameNameAlreadyExists(BaseException):
pass
class SensorTypeWithSameReferenceAlreadyExists(BaseException):
pass
| 18.454545 | 62 | 0.832512 | 12 | 203 | 14.083333 | 0.5 | 0.301775 | 0.260355 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123153 | 203 | 10 | 63 | 20.3 | 0.949438 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
e98cfee6a01c25f805acfa54d0043093b314794b | 34 | py | Python | crawler/crawler/services/intervals/__init__.py | amosproj/amos-ss2020-metadata-hub | f8434b27b306332c117a8dd20a8a55a3104d0f89 | [
"MIT"
] | 9 | 2020-04-23T14:22:48.000Z | 2022-02-25T21:35:05.000Z | crawler/crawler/services/intervals/__init__.py | amosproj/amos-ss2020-metadata-hub | f8434b27b306332c117a8dd20a8a55a3104d0f89 | [
"MIT"
] | 42 | 2020-04-24T17:59:33.000Z | 2022-02-16T01:09:23.000Z | crawler/crawler/services/intervals/__init__.py | amosproj/amos-ss2020-metadata-hub | f8434b27b306332c117a8dd20a8a55a3104d0f89 | [
"MIT"
] | 2 | 2020-08-17T11:19:44.000Z | 2021-04-30T08:32:05.000Z | from .typedef import TimeInterval
| 17 | 33 | 0.852941 | 4 | 34 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.966667 | 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 |
e9a657778b8732a9c90ec144b13ba2f56aa1a58a | 78 | py | Python | jacdac/pressure_button/__init__.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | 1 | 2022-02-15T21:30:36.000Z | 2022-02-15T21:30:36.000Z | jacdac/pressure_button/__init__.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | null | null | null | jacdac/pressure_button/__init__.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | 1 | 2022-02-08T19:32:45.000Z | 2022-02-08T19:32:45.000Z | # Autogenerated file.
from .client import PressureButtonClient # type: ignore
| 26 | 55 | 0.807692 | 8 | 78 | 7.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 78 | 2 | 56 | 39 | 0.926471 | 0.410256 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e9b25cdb771c3b01efb3aa3ab792bfe28908e7d4 | 38 | py | Python | airtest_selenium/__init__.py | fakegit/airtest-selenium | 37c2c8af7564a9b788c55239e6597007afce3e23 | [
"Apache-2.0"
] | 41 | 2018-07-11T08:21:23.000Z | 2022-01-08T05:00:08.000Z | airtest_selenium/__init__.py | fakegit/airtest-selenium | 37c2c8af7564a9b788c55239e6597007afce3e23 | [
"Apache-2.0"
] | 12 | 2018-07-18T02:56:25.000Z | 2021-05-24T07:20:05.000Z | airtest_selenium/__init__.py | fakegit/airtest-selenium | 37c2c8af7564a9b788c55239e6597007afce3e23 | [
"Apache-2.0"
] | 16 | 2018-11-24T01:16:45.000Z | 2021-08-18T16:59:50.000Z | from .proxy import WebChrome, Element
| 19 | 37 | 0.815789 | 5 | 38 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 38 | 1 | 38 | 38 | 0.939394 | 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 |
75d308db1abd63ec21a54e903d3f32620c836498 | 40 | py | Python | __init__.py | tanayrastogi/MetaReader | b301302ec8b4cc0be425502801f174daf8fc16b5 | [
"MIT"
] | null | null | null | __init__.py | tanayrastogi/MetaReader | b301302ec8b4cc0be425502801f174daf8fc16b5 | [
"MIT"
] | null | null | null | __init__.py | tanayrastogi/MetaReader | b301302ec8b4cc0be425502801f174daf8fc16b5 | [
"MIT"
] | null | null | null | from .reader import ImageMeta, VideoMeta | 40 | 40 | 0.85 | 5 | 40 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.944444 | 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 |
75e160079638cd582bf1d7017cac2fed45bdf2b9 | 73 | py | Python | veros/setups/acc_basic/__init__.py | AkasDutta/veros | 9f530596a0148a398829050017de3e01a71261a0 | [
"MIT"
] | 115 | 2019-11-23T02:31:30.000Z | 2022-03-29T12:58:30.000Z | veros/setups/acc_basic/__init__.py | AkasDutta/veros | 9f530596a0148a398829050017de3e01a71261a0 | [
"MIT"
] | 207 | 2019-11-21T13:21:22.000Z | 2022-03-31T23:36:09.000Z | veros/setups/acc_basic/__init__.py | AkasDutta/veros | 9f530596a0148a398829050017de3e01a71261a0 | [
"MIT"
] | 21 | 2020-01-28T13:13:39.000Z | 2022-02-02T13:46:33.000Z | from veros.setups.acc_basic.acc_basic import ACCBasicSetup # noqa: F401
| 36.5 | 72 | 0.821918 | 11 | 73 | 5.272727 | 0.818182 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046154 | 0.109589 | 73 | 1 | 73 | 73 | 0.846154 | 0.136986 | 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 |
75ec5cc1f9b115e5b43134ec32aea45174b4f684 | 7,592 | py | Python | backend/errors_backend.py | Bhaskers-Blu-Org1/multicloud-incident-response-navigator | e6ba6322fdcc533b6ed14abb4681470a6bb6bd85 | [
"Apache-2.0"
] | null | null | null | backend/errors_backend.py | Bhaskers-Blu-Org1/multicloud-incident-response-navigator | e6ba6322fdcc533b6ed14abb4681470a6bb6bd85 | [
"Apache-2.0"
] | null | null | null | backend/errors_backend.py | Bhaskers-Blu-Org1/multicloud-incident-response-navigator | e6ba6322fdcc533b6ed14abb4681470a6bb6bd85 | [
"Apache-2.0"
] | 1 | 2020-07-30T10:07:19.000Z | 2020-07-30T10:07:19.000Z | from typing import Tuple
import kubernetes as k8s
import k8s_config, k8s_api, cluster_mode_backend as cmb
# used for type suggestions
V1Pod = k8s.client.models.v1_pod.V1Pod
def pod_state(pod: V1Pod) -> Tuple[int, str]:
"""
Returns pod sev_measure and pod status
:param (V1Pod) pod: pod object
:return:... | 42.177778 | 132 | 0.569152 | 848 | 7,592 | 5.01533 | 0.165094 | 0.079003 | 0.12791 | 0.054079 | 0.747237 | 0.747237 | 0.747237 | 0.729368 | 0.729368 | 0.729368 | 0 | 0.006906 | 0.332455 | 7,592 | 180 | 133 | 42.177778 | 0.832281 | 0.112882 | 0 | 0.793893 | 0 | 0 | 0.047512 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015267 | false | 0 | 0.022901 | 0 | 0.061069 | 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 |
f98be12833ed1e8f49c9d1d2f6e74682cb5af217 | 144 | py | Python | debug.py | nabeelDanish/Urdu-Q-A-System | c4161a68626982230ab9d75f6dc4926774b62c5a | [
"MIT"
] | 1 | 2021-07-15T18:47:25.000Z | 2021-07-15T18:47:25.000Z | debug.py | nabeelDanish/Urdu-Q-A-System | c4161a68626982230ab9d75f6dc4926774b62c5a | [
"MIT"
] | null | null | null | debug.py | nabeelDanish/Urdu-Q-A-System | c4161a68626982230ab9d75f6dc4926774b62c5a | [
"MIT"
] | null | null | null | from prototype import *
# Debugging Part Starts
getAnswer('test/passage.txt', 'test/question.txt', 'test/answer.txt')
# Debugging Part Ends | 28.8 | 70 | 0.736111 | 19 | 144 | 5.578947 | 0.684211 | 0.245283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131944 | 144 | 5 | 71 | 28.8 | 0.848 | 0.284722 | 0 | 0 | 0 | 0 | 0.494845 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
f99e8a7c5f53d3e52b17d7f337e7bcb6f8dd8d3d | 42 | py | Python | pyNSL/__init__.py | MKegler/pyNSL | 43ba95b3fa072b8af35de3999bce586d055acde2 | [
"MIT"
] | 2 | 2022-01-26T19:48:43.000Z | 2022-03-08T12:01:06.000Z | pyNSL/__init__.py | MKegler/pyNSL | 43ba95b3fa072b8af35de3999bce586d055acde2 | [
"MIT"
] | 1 | 2021-07-05T15:19:46.000Z | 2021-07-07T09:46:17.000Z | pyNSL/__init__.py | MKegler/pyNSL | 43ba95b3fa072b8af35de3999bce586d055acde2 | [
"MIT"
] | null | null | null | from .pyNSL import wav2aud, get_filterbank | 42 | 42 | 0.857143 | 6 | 42 | 5.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.095238 | 42 | 1 | 42 | 42 | 0.894737 | 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 |
f99e95a321dd1adc8054278417f2b4eeac6499bb | 32 | py | Python | src/roll/__init__.py | gvso/eleccionespy | f02e5fc66e7b632a108dba94787d4109c996ecf3 | [
"MIT"
] | null | null | null | src/roll/__init__.py | gvso/eleccionespy | f02e5fc66e7b632a108dba94787d4109c996ecf3 | [
"MIT"
] | null | null | null | src/roll/__init__.py | gvso/eleccionespy | f02e5fc66e7b632a108dba94787d4109c996ecf3 | [
"MIT"
] | null | null | null | from .roll import ElectoralRoll
| 16 | 31 | 0.84375 | 4 | 32 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.964286 | 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 |
f9a47041b002ad0e5b94a04f78af5fe26f588ead | 236 | py | Python | docassemble/ReidelIndex/interview_menu.py | nonprofittechy/docassemble-ReidelIndex | 25c71f93c0424afef9bb1dbb6e890f851368df37 | [
"MIT"
] | null | null | null | docassemble/ReidelIndex/interview_menu.py | nonprofittechy/docassemble-ReidelIndex | 25c71f93c0424afef9bb1dbb6e890f851368df37 | [
"MIT"
] | null | null | null | docassemble/ReidelIndex/interview_menu.py | nonprofittechy/docassemble-ReidelIndex | 25c71f93c0424afef9bb1dbb6e890f851368df37 | [
"MIT"
] | null | null | null | def buttons_matching_roles(interview_options, privileges):
return [ {index: button["label"], "image": button["image"]} for index, button in enumerate(interview_options) if any(set(interview_options[index]['roles']) & set(privileges))] | 118 | 177 | 0.762712 | 30 | 236 | 5.833333 | 0.6 | 0.274286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080508 | 236 | 2 | 177 | 118 | 0.806452 | 0 | 0 | 0 | 0 | 0 | 0.084388 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
f9a8dbc6fbc902cbd21f6867f3365a4726aa5878 | 26 | py | Python | stitch/__init__.py | ZAurele/alpha-py | b6330f1e714d07a2010ebe500d5ccdf4cc637998 | [
"MIT"
] | null | null | null | stitch/__init__.py | ZAurele/alpha-py | b6330f1e714d07a2010ebe500d5ccdf4cc637998 | [
"MIT"
] | null | null | null | stitch/__init__.py | ZAurele/alpha-py | b6330f1e714d07a2010ebe500d5ccdf4cc637998 | [
"MIT"
] | null | null | null | from .stitch import Stitch | 26 | 26 | 0.846154 | 4 | 26 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.