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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2044e0f6bddde561c1111e6183bb6d9e3dd28483 | 125 | py | Python | example/dj/apps/issue_tracker/forms.py | druids/django-fperms-iscore | 8e919cdc70ed57e0eb6407469de9ef2441ae06ad | [
"MIT"
] | 1 | 2019-10-07T12:40:38.000Z | 2019-10-07T12:40:38.000Z | example/dj/apps/issue_tracker/forms.py | druids/django-fperms-iscore | 8e919cdc70ed57e0eb6407469de9ef2441ae06ad | [
"MIT"
] | 3 | 2019-08-09T14:10:21.000Z | 2022-02-01T13:48:01.000Z | example/dj/apps/issue_tracker/forms.py | druids/django-fperms-iscore | 8e919cdc70ed57e0eb6407469de9ef2441ae06ad | [
"MIT"
] | null | null | null | from fperms_iscore.forms import PermsFormMixin, GroupsFormMixin
class UserForm(PermsFormMixin, GroupsFormMixin):
pass
| 17.857143 | 63 | 0.824 | 12 | 125 | 8.5 | 0.833333 | 0.568627 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128 | 125 | 6 | 64 | 20.833333 | 0.93578 | 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 | 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 | 1 | 0 | 0 | 7 |
2052a738dc0b09666691db5322b8884c713544af | 116 | py | Python | transcrypt/development/automated_tests/__future__/print_function.py | JMCanning78/Transcrypt | 8a8dabe831240414fdf1d5027fa2b0d71ab45d05 | [
"Apache-2.0"
] | 1 | 2017-08-11T01:51:51.000Z | 2017-08-11T01:51:51.000Z | transcrypt/development/automated_tests/__future__/print_function.py | JMCanning78/Transcrypt | 8a8dabe831240414fdf1d5027fa2b0d71ab45d05 | [
"Apache-2.0"
] | 2 | 2021-03-11T02:24:48.000Z | 2021-05-11T20:29:52.000Z | transcrypt/development/automated_tests/__future__/print_function.py | JMCanning78/Transcrypt | 8a8dabe831240414fdf1d5027fa2b0d71ab45d05 | [
"Apache-2.0"
] | 1 | 2021-02-07T00:22:12.000Z | 2021-02-07T00:22:12.000Z | from __future__ import print_function
def run(test):
test.check("from __future__ import print_function works")
| 23.2 | 61 | 0.793103 | 16 | 116 | 5.125 | 0.625 | 0.243902 | 0.390244 | 0.512195 | 0.707317 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 116 | 4 | 62 | 29 | 0.82 | 0 | 0 | 0 | 0 | 0 | 0.37069 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.666667 | 0 | 1 | 0.666667 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 9 |
644a955d1ad5b9dca1849ec71b49cb194f52e5a6 | 26,871 | py | Python | tvaf/tests/btn_test.py | AllSeeingEyeTolledEweSew/tvaf-ftp | c53ed4b8b6715d10567fca85847000356a2c7793 | [
"0BSD"
] | null | null | null | tvaf/tests/btn_test.py | AllSeeingEyeTolledEweSew/tvaf-ftp | c53ed4b8b6715d10567fca85847000356a2c7793 | [
"0BSD"
] | null | null | null | tvaf/tests/btn_test.py | AllSeeingEyeTolledEweSew/tvaf-ftp | c53ed4b8b6715d10567fca85847000356a2c7793 | [
"0BSD"
] | null | null | null | # Copyright (c) 2020 AllSeeingEyeTolledEweSew
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERC... | 34.53856 | 79 | 0.608202 | 4,005 | 26,871 | 3.931835 | 0.060175 | 0.048771 | 0.040452 | 0.051819 | 0.854829 | 0.849368 | 0.835969 | 0.831269 | 0.826951 | 0.810186 | 0 | 0.050823 | 0.24506 | 26,871 | 777 | 80 | 34.583012 | 0.725426 | 0.074355 | 0 | 0.80212 | 0 | 0 | 0.07275 | 0.001174 | 0 | 0 | 0 | 0.001287 | 0.132509 | 1 | 0.091873 | false | 0 | 0.014134 | 0 | 0.116608 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b3830d0b2b0abda80881bf81dafec3bf6ca201b9 | 164 | py | Python | httpbin/routers/inspection/__init__.py | imleowoo/fastapi-httpbin | 3f563b941df59dd1889434c4416d80979c591832 | [
"MIT"
] | null | null | null | httpbin/routers/inspection/__init__.py | imleowoo/fastapi-httpbin | 3f563b941df59dd1889434c4416d80979c591832 | [
"MIT"
] | null | null | null | httpbin/routers/inspection/__init__.py | imleowoo/fastapi-httpbin | 3f563b941df59dd1889434c4416d80979c591832 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from httpbin.routers.inspection import request as request_inspection
from httpbin.routers.inspection import response as response_inspection
| 41 | 70 | 0.817073 | 21 | 164 | 6.285714 | 0.52381 | 0.166667 | 0.272727 | 0.424242 | 0.515152 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006803 | 0.103659 | 164 | 3 | 71 | 54.666667 | 0.891156 | 0.128049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
b3e385f5c65dd6d3fb5eb3ab2c408c90dbccca0c | 106 | py | Python | pyregex/mod_four/__init__.py | JASTYN/pythonmaster | 46638ab09d28b65ce5431cd0759fe6df272fb85d | [
"Apache-2.0",
"MIT"
] | 3 | 2017-05-02T10:28:13.000Z | 2019-02-06T09:10:11.000Z | pyregex/mod_four/__init__.py | JASTYN/pythonmaster | 46638ab09d28b65ce5431cd0759fe6df272fb85d | [
"Apache-2.0",
"MIT"
] | 2 | 2017-06-21T20:39:14.000Z | 2020-02-25T10:28:57.000Z | pyregex/mod_four/__init__.py | JASTYN/pythonmaster | 46638ab09d28b65ce5431cd0759fe6df272fb85d | [
"Apache-2.0",
"MIT"
] | 2 | 2016-07-29T04:35:22.000Z | 2017-01-18T17:05:36.000Z | import re
def mod(test):
return re.compile('^\[\W?(?:[048]|[0-9]*(?:[02468][048]|[13579][26]))\]$')
| 17.666667 | 78 | 0.509434 | 16 | 106 | 3.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212766 | 0.113208 | 106 | 5 | 79 | 21.2 | 0.361702 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 8 |
b3f9fd803c6fab9357495f4d21cf3bb7870c4b50 | 3,171 | py | Python | hyper_resource/serializers.py | RogerioBorba/kanban | 862b32e415dd93833f26bc651b951085eca969f0 | [
"Apache-2.0"
] | null | null | null | hyper_resource/serializers.py | RogerioBorba/kanban | 862b32e415dd93833f26bc651b951085eca969f0 | [
"Apache-2.0"
] | 9 | 2020-02-11T21:48:08.000Z | 2022-01-13T00:33:58.000Z | hyper_resource/serializers.py | RogerioBorba/kanban | 862b32e415dd93833f26bc651b951085eca969f0 | [
"Apache-2.0"
] | 1 | 2017-11-06T20:27:33.000Z | 2017-11-06T20:27:33.000Z | from rest_framework.serializers import ModelSerializer
from rest_framework_gis.serializers import GeoFeatureModelSerializer
class BusinessSerializer(ModelSerializer):
def get_id_relationship_from_request(self, field_name_relationship):
if field_name_relationship not in self.initial_data:
... | 42.28 | 94 | 0.692211 | 373 | 3,171 | 5.549598 | 0.134048 | 0.138164 | 0.088889 | 0.078261 | 0.903382 | 0.8657 | 0.8657 | 0.8657 | 0.825121 | 0.825121 | 0 | 0.002462 | 0.231473 | 3,171 | 75 | 95 | 42.28 | 0.846943 | 0 | 0 | 0.862069 | 0 | 0 | 0.000646 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.206897 | false | 0 | 0.034483 | 0.103448 | 0.517241 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 10 |
b3fbc6ba26b89612406d3701f1bb28f0a1c2da98 | 88 | py | Python | nougat/context/__init__.py | Riparo/nougat | 8453bc37e0b782f296952f0a418532ebbbcd74f3 | [
"MIT"
] | 12 | 2018-07-14T06:32:34.000Z | 2020-12-23T07:47:33.000Z | nougat/context/__init__.py | Riparo/nougat | 8453bc37e0b782f296952f0a418532ebbbcd74f3 | [
"MIT"
] | 4 | 2018-06-15T13:55:34.000Z | 2021-06-01T22:21:13.000Z | nougat/context/__init__.py | NougatWeb/nougat | 8453bc37e0b782f296952f0a418532ebbbcd74f3 | [
"MIT"
] | 1 | 2020-02-16T17:25:49.000Z | 2020-02-16T17:25:49.000Z | from nougat.context.request import Request
from nougat.context.response import Response
| 29.333333 | 44 | 0.863636 | 12 | 88 | 6.333333 | 0.5 | 0.263158 | 0.447368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 88 | 2 | 45 | 44 | 0.95 | 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 | 1 | 0 | 0 | 7 |
3752feb82eb1732ed0f929df62da380ef2e12f4a | 7,831 | py | Python | Sistema de notas/Main project.py | Vinleit/sys-notas | a0c285cd4b6371157bbb940285537537a5db7f49 | [
"MIT"
] | null | null | null | Sistema de notas/Main project.py | Vinleit/sys-notas | a0c285cd4b6371157bbb940285537537a5db7f49 | [
"MIT"
] | null | null | null | Sistema de notas/Main project.py | Vinleit/sys-notas | a0c285cd4b6371157bbb940285537537a5db7f49 | [
"MIT"
] | null | null | null | from PySimpleGUI import PySimpleGUI as sg
import pandas as pd
import matplotlib.pyplot as plt
import win32com.client as win32
import os.path
#LAYOUT DO INICIO
sg.theme("SystemDefault")
layout_inicio = [
[sg.Text("Turma:" , font="Helvetica") , sg.Input(key="Turma" , size=(35 , 0))],
[sg.Text("Quantas notas?" ,... | 42.102151 | 155 | 0.478611 | 830 | 7,831 | 4.387952 | 0.16747 | 0.037891 | 0.069467 | 0.042834 | 0.869577 | 0.83855 | 0.83855 | 0.82894 | 0.82894 | 0.817957 | 0 | 0.018332 | 0.380028 | 7,831 | 186 | 156 | 42.102151 | 0.731823 | 0.138041 | 0 | 0.712963 | 0 | 0 | 0.113697 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.046296 | 0 | 0.046296 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
807c0b3db5f142b91d54609fbee4af46e42f1680 | 14,509 | py | Python | examples/librispeech/metrics/ctc.py | sundogrd/tensorflow_end2end_speech_recognition | 61e4a65fb5c9f3d9f690d713dcd77a48b1de0a14 | [
"MIT"
] | 351 | 2017-05-27T08:31:27.000Z | 2022-03-03T16:47:27.000Z | examples/librispeech/metrics/ctc.py | eLavin11/tensorflow_end2end_speech_recognition | 65b9728089d5e92b25b92384a67419d970399a64 | [
"MIT"
] | 19 | 2017-07-19T13:12:18.000Z | 2019-06-12T06:07:13.000Z | examples/librispeech/metrics/ctc.py | eLavin11/tensorflow_end2end_speech_recognition | 65b9728089d5e92b25b92384a67419d970399a64 | [
"MIT"
] | 127 | 2017-06-12T16:27:21.000Z | 2021-12-29T02:22:34.000Z | #! /usr/bin/env python
# -*- coding: utf-8 -*-
"""Define evaluation method for CTC model (Librispeech corpus)."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import re
from tqdm import tqdm
from utils.io.labels.character import Idx2char, Char2idx
from... | 38.181579 | 82 | 0.567579 | 1,685 | 14,509 | 4.592285 | 0.121662 | 0.062807 | 0.0252 | 0.011631 | 0.841303 | 0.821272 | 0.809124 | 0.801887 | 0.795425 | 0.781727 | 0 | 0.006574 | 0.34999 | 14,509 | 379 | 83 | 38.282322 | 0.813912 | 0.248742 | 0 | 0.77451 | 0 | 0 | 0.038956 | 0.022998 | 0 | 0 | 0 | 0.005277 | 0.014706 | 1 | 0.014706 | false | 0 | 0.04902 | 0 | 0.078431 | 0.014706 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
80a0ff11317a9dcb6d3dc3128dee6e27a45457c7 | 1,547 | py | Python | code/y_delirium/000_mkdirs.py | data-intelligence-for-health-lab/delirium_prediction | a0a25819ef6c98e32563b4e3b986c1a26fc30ed7 | [
"MIT"
] | null | null | null | code/y_delirium/000_mkdirs.py | data-intelligence-for-health-lab/delirium_prediction | a0a25819ef6c98e32563b4e3b986c1a26fc30ed7 | [
"MIT"
] | null | null | null | code/y_delirium/000_mkdirs.py | data-intelligence-for-health-lab/delirium_prediction | a0a25819ef6c98e32563b4e3b986c1a26fc30ed7 | [
"MIT"
] | null | null | null |
# --- loading libraries -------------------------------------------------------
import os
# ------------------------------------------------------ loading libraries ----
if os.path.exists('/project/M-ABeICU176709/delirium/data/aux/y_delirium/temp') == False:
os.mkdir('/project/M-ABeICU176709/delirium/data/aux/y_d... | 59.5 | 117 | 0.721396 | 211 | 1,547 | 5.175355 | 0.104265 | 0.102564 | 0.25641 | 0.358974 | 0.96337 | 0.96337 | 0.96337 | 0.96337 | 0.96337 | 0.96337 | 0 | 0.057377 | 0.053652 | 1,547 | 25 | 118 | 61.88 | 0.688525 | 0.100194 | 0 | 0 | 0 | 0 | 0.739193 | 0.739193 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.066667 | 0 | 0.066667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
80a90175f3313d5d3ace47f6cf65988396f06277 | 4,394 | py | Python | alaska2/models/srm_filter_kernel.py | simphide/Kaggle-2020-Alaska2 | 3c1f5e8e564c9f04423beef69244fc74168f88ca | [
"MIT"
] | 21 | 2020-08-09T11:30:16.000Z | 2021-06-28T14:15:08.000Z | alaska2/models/srm_filter_kernel.py | simphide/Kaggle-2020-Alaska2 | 3c1f5e8e564c9f04423beef69244fc74168f88ca | [
"MIT"
] | 11 | 2020-08-09T15:30:54.000Z | 2022-02-10T07:34:39.000Z | alaska2/models/srm_filter_kernel.py | simphide/Kaggle-2020-Alaska2 | 3c1f5e8e564c9f04423beef69244fc74168f88ca | [
"MIT"
] | 3 | 2020-08-09T14:29:03.000Z | 2021-05-27T13:07:12.000Z | import numpy as np
filter_class_1 = [
np.array([[1, 0, 0], [0, -1, 0], [0, 0, 0]], dtype=np.float32),
np.array([[0, 1, 0], [0, -1, 0], [0, 0, 0]], dtype=np.float32),
np.array([[0, 0, 1], [0, -1, 0], [0, 0, 0]], dtype=np.float32),
np.array([[0, 0, 0], [1, -1, 0], [0, 0, 0]], dtype=np.float32),
np.ar... | 38.208696 | 115 | 0.507738 | 840 | 4,394 | 2.504762 | 0.032143 | 0.205323 | 0.208175 | 0.18251 | 0.861217 | 0.801806 | 0.721008 | 0.589354 | 0.514259 | 0.459125 | 0 | 0.191976 | 0.234183 | 4,394 | 114 | 116 | 38.54386 | 0.433284 | 0 | 0 | 0.298969 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.010309 | 0 | 0.010309 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0390d074ab92039e7c94aa4f970f5ee7af468623 | 2,714 | py | Python | craynn/viz/img_watcher.py | maxim-borisyak/craynn | fceabd33f5969033fb3605f894778c42c42f3e08 | [
"MIT"
] | null | null | null | craynn/viz/img_watcher.py | maxim-borisyak/craynn | fceabd33f5969033fb3605f894778c42c42f3e08 | [
"MIT"
] | null | null | null | craynn/viz/img_watcher.py | maxim-borisyak/craynn | fceabd33f5969033fb3605f894778c42c42f3e08 | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt
import numpy as np
__all__ = [
'ImgWatcher', 'SImgWatcher'
]
try:
from IPython import display
except ImportError:
display = None
class ImgWatcher(object):
def __init__(self,
n_rows=3, img_size=(128, 128), cmap1=plt.cm.gray_r, cmap2=plt.cm.gray_r, fig_size=3,
... | 27.693878 | 99 | 0.597273 | 426 | 2,714 | 3.657277 | 0.201878 | 0.038511 | 0.023107 | 0.025674 | 0.861361 | 0.861361 | 0.861361 | 0.861361 | 0.861361 | 0.861361 | 0 | 0.024365 | 0.274134 | 2,714 | 98 | 100 | 27.693878 | 0.766497 | 0 | 0 | 0.75 | 0 | 0 | 0.012891 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.075 | false | 0 | 0.05 | 0 | 0.175 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
03ca009e1be1480a1631f2ba6f2265b9cc5638d2 | 7,097 | py | Python | loldib/getratings/models/NA/na_monkeyking/na_monkeyking_sup.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_monkeyking/na_monkeyking_sup.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_monkeyking/na_monkeyking_sup.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from getratings.models.ratings import Ratings
class NA_MonkeyKing_Sup_Aatrox(Ratings):
pass
class NA_MonkeyKing_Sup_Ahri(Ratings):
pass
class NA_MonkeyKing_Sup_Akali(Ratings):
pass
class NA_MonkeyKing_Sup_Alistar(Ratings):
pass
class NA_MonkeyKing_Sup_Amumu(Ratings):
pass
class NA_MonkeyKing... | 17.019185 | 47 | 0.784839 | 972 | 7,097 | 5.304527 | 0.151235 | 0.187355 | 0.455004 | 0.535299 | 0.823701 | 0.823701 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156545 | 7,097 | 416 | 48 | 17.060096 | 0.861343 | 0 | 0 | 0.498195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.498195 | 0.00361 | 0 | 0.501805 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
205c3e709e6d280888ef09aae69a10afc3cd433e | 117,032 | py | Python | tests/test_dtscalibration.py | fprice111/python-dts-calibration | bc972070ab1c9fe43e9ecc85ace30e2877b8cd00 | [
"BSD-3-Clause"
] | 20 | 2019-10-07T15:54:07.000Z | 2022-03-18T07:18:22.000Z | tests/test_dtscalibration.py | fprice111/python-dts-calibration | bc972070ab1c9fe43e9ecc85ace30e2877b8cd00 | [
"BSD-3-Clause"
] | 90 | 2019-01-25T09:41:37.000Z | 2022-03-21T12:45:30.000Z | tests/test_dtscalibration.py | fprice111/python-dts-calibration | bc972070ab1c9fe43e9ecc85ace30e2877b8cd00 | [
"BSD-3-Clause"
] | 9 | 2019-10-16T12:37:59.000Z | 2022-02-18T21:24:29.000Z | # coding=utf-8
import os
import numpy as np
import pytest
import scipy.sparse as sp
from scipy import stats
from dtscalibration import DataStore
from dtscalibration import read_silixa_files
from dtscalibration.calibrate_utils import wls_sparse
from dtscalibration.calibrate_utils import wls_stats
from dtscalibration.c... | 33.409078 | 97 | 0.584567 | 17,198 | 117,032 | 3.715548 | 0.034597 | 0.040313 | 0.04975 | 0.069859 | 0.935759 | 0.91939 | 0.907981 | 0.898685 | 0.892207 | 0.879844 | 0 | 0.049377 | 0.26315 | 117,032 | 3,502 | 98 | 33.418618 | 0.691622 | 0.069255 | 0 | 0.866762 | 0 | 0 | 0.054053 | 0.012291 | 0 | 0 | 0 | 0 | 0.074499 | 1 | 0.013968 | false | 0.011819 | 0.015401 | 0 | 0.030086 | 0.017192 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
207fbbcac03bd201df963127dc8b0d314f47b4ab | 102,712 | py | Python | student_registration.py | Diptyangshu-code/Student-Management-System | e8e6e2fea3c2ac8d9faa32c8ee8163bdf9b3d4e6 | [
"Apache-2.0"
] | null | null | null | student_registration.py | Diptyangshu-code/Student-Management-System | e8e6e2fea3c2ac8d9faa32c8ee8163bdf9b3d4e6 | [
"Apache-2.0"
] | null | null | null | student_registration.py | Diptyangshu-code/Student-Management-System | e8e6e2fea3c2ac8d9faa32c8ee8163bdf9b3d4e6 | [
"Apache-2.0"
] | null | null | null | import os
class check:
def eligibility(s):
print(" Select the caste of the student \n")
print("1. ST (Schedule Tribe) \n")
print("2. SC (Schedule Caste) \n")
print("3. OBC (Other Backword Classes \n ")
print("4. General \n")
... | 60.992874 | 259 | 0.1792 | 4,663 | 102,712 | 3.945958 | 0.046322 | 0.062935 | 0.033261 | 0.035217 | 0.928967 | 0.897446 | 0.881467 | 0.877446 | 0.872554 | 0.86962 | 0 | 0.038658 | 0.737071 | 102,712 | 1,683 | 260 | 61.029115 | 0.642635 | 0 | 0 | 0.913807 | 0 | 0 | 0.147493 | 0.026229 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003192 | false | 0 | 0.000798 | 0 | 0.005587 | 0.323224 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
2094bda4b85ab52673bdd68dad8cf2b7efad4452 | 133 | py | Python | src/utils/paths.py | OpenXAIProject/Variational_Dropouts | 61ac484edb2101115bd5f5a1a0053014e6669183 | [
"Apache-2.0"
] | 13 | 2018-11-30T01:16:32.000Z | 2021-09-10T21:16:22.000Z | src/utils/paths.py | OpenXAIProject/Variational_Dropouts | 61ac484edb2101115bd5f5a1a0053014e6669183 | [
"Apache-2.0"
] | null | null | null | src/utils/paths.py | OpenXAIProject/Variational_Dropouts | 61ac484edb2101115bd5f5a1a0053014e6669183 | [
"Apache-2.0"
] | 6 | 2018-11-30T01:44:20.000Z | 2020-04-26T19:51:05.000Z | MNIST_PATH = "/home/john/datasets/mnist"
CIFAR10_PATH = "/home/john/datasets/cifar10"
CIFAR100_PATH = "/home/john/datasets/cifar100"
| 33.25 | 46 | 0.774436 | 18 | 133 | 5.555556 | 0.388889 | 0.24 | 0.36 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080645 | 0.067669 | 133 | 3 | 47 | 44.333333 | 0.725806 | 0 | 0 | 0 | 0 | 0 | 0.601504 | 0.601504 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
45d8907139c1384c8747f01b635704a11877910a | 2,146 | py | Python | tests/asp/AllAnswerSets/aggregates/count.example9.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 19 | 2015-12-03T08:53:45.000Z | 2022-03-31T02:09:43.000Z | tests/asp/AllAnswerSets/aggregates/count.example9.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 80 | 2017-11-25T07:57:32.000Z | 2018-06-10T19:03:30.000Z | tests/asp/AllAnswerSets/aggregates/count.example9.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 6 | 2015-01-15T07:51:48.000Z | 2020-06-18T14:47:48.000Z | input = """
1 2 3 2 3 4 5
1 3 3 2 2 4 5
1 4 3 2 2 3 5
1 5 0 0
1 6 3 2 7 8 9
1 7 3 2 6 8 9
1 8 3 2 6 7 9
1 9 0 0
1 10 3 2 11 12 13
1 11 3 2 10 12 13
1 12 3 2 10 11 13
1 13 0 0
1 14 1 0 4
1 15 1 0 3
1 16 1 0 2
1 17 1 0 8
1 18 1 0 7
1 19 1 0 6
2 21 3 0 1 16 15 14
1 20 1 0 21
2 23 3 0 1 16 15 14
2 24 3 0 3 16 15 14
1 22 2 ... | 24.953488 | 57 | 0.511184 | 607 | 2,146 | 1.807249 | 0.065898 | 0.221513 | 0.344576 | 0.467639 | 0.730173 | 0.701003 | 0.684594 | 0.684594 | 0.663628 | 0.601641 | 0 | 0.28877 | 0.21575 | 2,146 | 85 | 58 | 25.247059 | 0.363042 | 0 | 0 | 0.023529 | 0 | 0.317647 | 0.985555 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
b3042207f6a1b237db2792be700fe67f8a868c36 | 150 | py | Python | src/survivor_scraping/season/season_load.py | SeanAmmirati/survivor_processing | b4a032ee9e9ad55cf0b15c46ee9a8028be4bafe8 | [
"MIT"
] | null | null | null | src/survivor_scraping/season/season_load.py | SeanAmmirati/survivor_processing | b4a032ee9e9ad55cf0b15c46ee9a8028be4bafe8 | [
"MIT"
] | null | null | null | src/survivor_scraping/season/season_load.py | SeanAmmirati/survivor_processing | b4a032ee9e9ad55cf0b15c46ee9a8028be4bafe8 | [
"MIT"
] | null | null | null | from ..helpers.load_helpers import upsert
def load_seasons(transformed_seasons, eng):
upsert(transformed_seasons, eng, 'season', ['season_id'])
| 25 | 61 | 0.766667 | 19 | 150 | 5.789474 | 0.578947 | 0.327273 | 0.381818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113333 | 150 | 5 | 62 | 30 | 0.827068 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
b30a989f69be5139d101f877b771780c49549dab | 2,544 | py | Python | Compile-pyc-main/compile-v7.py | Zusyaku/Termux-And-Lali-Linux-V2 | b1a1b0841d22d4bf2cc7932b72716d55f070871e | [
"Apache-2.0"
] | 2 | 2021-11-17T03:35:03.000Z | 2021-12-08T06:00:31.000Z | Compile-pyc-main/compile-v7.py | Zusyaku/Termux-And-Lali-Linux-V2 | b1a1b0841d22d4bf2cc7932b72716d55f070871e | [
"Apache-2.0"
] | null | null | null | Compile-pyc-main/compile-v7.py | Zusyaku/Termux-And-Lali-Linux-V2 | b1a1b0841d22d4bf2cc7932b72716d55f070871e | [
"Apache-2.0"
] | 2 | 2021-11-05T18:07:48.000Z | 2022-02-24T21:25:07.000Z | # ENCYPT BY ALDI
# YOUTUBE MR.1557
exec((lambda _ : (__import__('base64').b85decode(_)))(b'BOxz!b8;_YX>KoYd30!RZVDqHEh;S_V{c?>Zf80mb#!JeI3O)5Eed9GZ*3rOd0%61ZE$I9Wguy7aBp&SAY*TBaA|C13TbU{Z*p`XZ*wdlb9r+tAarSMWeN%-EiElAEiElAEiElAEiElAEh7pFBOq#JZfSEMcVTjFVIVOyARr?O3TS5_Js=`nFf%h-Fgr6cZ6Y8e3TSj7Js=`nFf%h-F*`FdZ6Y8e3S(y=Js=`... | 115.636364 | 2,112 | 0.786164 | 405 | 2,544 | 4.869136 | 0.681481 | 0.028398 | 0.017748 | 0.005071 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125152 | 0.029481 | 2,544 | 21 | 2,113 | 121.142857 | 0.673552 | 0.154874 | 0 | 0 | 0 | 1 | 0.965307 | 0.962494 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
b30b70c07dd09d9f9b2f71771c8428b31e140523 | 54 | py | Python | src/metafeatures/__init__.py | mateBakos/autoxgb | c3b3888492b12629a5b196afe97ae667578362ae | [
"BSD-3-Clause"
] | null | null | null | src/metafeatures/__init__.py | mateBakos/autoxgb | c3b3888492b12629a5b196afe97ae667578362ae | [
"BSD-3-Clause"
] | null | null | null | src/metafeatures/__init__.py | mateBakos/autoxgb | c3b3888492b12629a5b196afe97ae667578362ae | [
"BSD-3-Clause"
] | null | null | null | from .test_function_square import test_function_square | 54 | 54 | 0.925926 | 8 | 54 | 5.75 | 0.625 | 0.521739 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 54 | 1 | 54 | 54 | 0.901961 | 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 | 1 | 0 | 0 | 7 |
b35598384808f6de5ef836e79811877dde5ba129 | 31 | py | Python | fa04bb71-5a49-479b-9683-687a3c24908a/456d3bba-1b53-4928-9447-f33107e746e1.py | copyleftdev/top_contrib_lol | 362a5849b04dc2b52a9b0da138d4e9a32eade207 | [
"Apache-2.0"
] | null | null | null | fa04bb71-5a49-479b-9683-687a3c24908a/456d3bba-1b53-4928-9447-f33107e746e1.py | copyleftdev/top_contrib_lol | 362a5849b04dc2b52a9b0da138d4e9a32eade207 | [
"Apache-2.0"
] | null | null | null | fa04bb71-5a49-479b-9683-687a3c24908a/456d3bba-1b53-4928-9447-f33107e746e1.py | copyleftdev/top_contrib_lol | 362a5849b04dc2b52a9b0da138d4e9a32eade207 | [
"Apache-2.0"
] | null | null | null | #N canvas 1029 457 450 300 10;
| 15.5 | 30 | 0.709677 | 7 | 31 | 3.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.625 | 0.225806 | 31 | 1 | 31 | 31 | 0.291667 | 0.935484 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2fdc4f06cda900905eeb84bba9c0e7c37d042623 | 12,268 | py | Python | testing/mesh_test.py | mateusazis/pyctm | 7851d3279ea2ce790e24ea996cf8ce3637823ee7 | [
"MIT"
] | null | null | null | testing/mesh_test.py | mateusazis/pyctm | 7851d3279ea2ce790e24ea996cf8ce3637823ee7 | [
"MIT"
] | null | null | null | testing/mesh_test.py | mateusazis/pyctm | 7851d3279ea2ce790e24ea996cf8ce3637823ee7 | [
"MIT"
] | null | null | null | import io
import unittest
import struct
import sys
from pyctm import mesh
from pyctm import uv_map
from pyctm import attribute_map
from pyctm import mesh_writer
class BufferReader(object):
def __init__(self, buffer):
self.buffer = buffer
def seek(self, position):
self.buffer.seek(position)
def read_i... | 46.29434 | 109 | 0.704027 | 1,692 | 12,268 | 4.92435 | 0.072695 | 0.160826 | 0.285166 | 0.327412 | 0.8741 | 0.842055 | 0.773404 | 0.737398 | 0.648704 | 0.274844 | 0 | 0.058315 | 0.151532 | 12,268 | 264 | 110 | 46.469697 | 0.742146 | 0.041898 | 0 | 0.188841 | 0 | 0 | 0.009475 | 0 | 0 | 0 | 0.010243 | 0 | 0.575107 | 1 | 0.034335 | false | 0 | 0.034335 | 0 | 0.090129 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2febf0abbfad61a15d652f506894d9041b24bc49 | 48,241 | py | Python | tests/panoramic/cli/husky/test/mocks/core/taxonomy.py | kubamahnert/panoramic-cli | 036f45a05d39f5762088ce23dbe367b938192f79 | [
"MIT"
] | 5 | 2020-11-13T17:26:59.000Z | 2021-03-19T15:11:26.000Z | tests/panoramic/cli/husky/test/mocks/core/taxonomy.py | kubamahnert/panoramic-cli | 036f45a05d39f5762088ce23dbe367b938192f79 | [
"MIT"
] | 5 | 2020-10-28T10:22:35.000Z | 2021-01-27T17:33:58.000Z | tests/panoramic/cli/husky/test/mocks/core/taxonomy.py | kubamahnert/panoramic-cli | 036f45a05d39f5762088ce23dbe367b938192f79 | [
"MIT"
] | 3 | 2021-01-26T07:58:03.000Z | 2021-03-11T13:28:34.000Z | from collections import OrderedDict
from typing import Dict, Iterable, List, Optional, Tuple
from panoramic.cli.husky.core.taxonomy.enums import AggregationType
from panoramic.cli.husky.core.taxonomy.exceptions import TaxonsNotFound
from panoramic.cli.husky.core.taxonomy.getters import get_taxon_tel_metadata
from pano... | 31.947682 | 120 | 0.607782 | 4,980 | 48,241 | 5.618072 | 0.048996 | 0.085782 | 0.039317 | 0.09293 | 0.848488 | 0.817035 | 0.786475 | 0.760347 | 0.731432 | 0.706913 | 0 | 0.007231 | 0.271823 | 48,241 | 1,509 | 121 | 31.968854 | 0.789228 | 0.001596 | 0 | 0.788043 | 0 | 0 | 0.23921 | 0.042746 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004755 | false | 0 | 0.006114 | 0.001359 | 0.018342 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
64116fa7a7a9777485b86dc168dca0480e7b54bd | 12,514 | py | Python | app/blueprints/api/presence_summary/views.py | mdazharulhoque7/azureFlaskPG | 4fc3a67f2a38eb4fa8eb3484f332b96b576d3f60 | [
"MIT"
] | null | null | null | app/blueprints/api/presence_summary/views.py | mdazharulhoque7/azureFlaskPG | 4fc3a67f2a38eb4fa8eb3484f332b96b576d3f60 | [
"MIT"
] | null | null | null | app/blueprints/api/presence_summary/views.py | mdazharulhoque7/azureFlaskPG | 4fc3a67f2a38eb4fa8eb3484f332b96b576d3f60 | [
"MIT"
] | null | null | null | from flask import Blueprint, jsonify
# from .models import PresenceLogSummary
# from blueprints.api.access_ponit.models import AssessPoint
blueprint = Blueprint('api_presence_summary_blueprint', __name__,)
@blueprint.route('/',methods=['GET'])
def presence_summary():
# access_points = current_session.query(Ass... | 59.590476 | 187 | 0.501518 | 1,313 | 12,514 | 4.36329 | 0.091394 | 0.080642 | 0.103683 | 0.038401 | 0.842381 | 0.806598 | 0.800663 | 0.776575 | 0.751789 | 0.698726 | 0 | 0.034388 | 0.391162 | 12,514 | 210 | 188 | 59.590476 | 0.717548 | 0.888045 | 0 | 0 | 0 | 0 | 0.039967 | 0.024979 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0.6 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 10 |
6419c4b01be97752aa723c48bc19ae0065b4f0b4 | 122 | py | Python | timewarpy/tests/test_datasets.py | celmore25/TimeWarPY | 09a18120d868eca8167d66e66f9475ee58079817 | [
"BSD-3-Clause"
] | 1 | 2021-12-10T00:21:21.000Z | 2021-12-10T00:21:21.000Z | timewarpy/tests/test_datasets.py | celmore25/TimeWarPY | 09a18120d868eca8167d66e66f9475ee58079817 | [
"BSD-3-Clause"
] | null | null | null | timewarpy/tests/test_datasets.py | celmore25/TimeWarPY | 09a18120d868eca8167d66e66f9475ee58079817 | [
"BSD-3-Clause"
] | null | null | null | from timewarpy import datasets
def test_load_energy_data():
assert datasets.load_energy_data().shape == (19735, 29)
| 20.333333 | 59 | 0.762295 | 17 | 122 | 5.176471 | 0.764706 | 0.227273 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.139344 | 122 | 5 | 60 | 24.4 | 0.771429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
641d2097aa0caafa416d02fad016f21cfaef1a9a | 1,443 | py | Python | bench/test_hpack.py | steamraven/hpack | c76d07a6b07a3473bde21b972353be3863a9b68f | [
"MIT"
] | 55 | 2015-07-07T15:33:23.000Z | 2022-01-23T18:30:21.000Z | bench/test_hpack.py | steamraven/hpack | c76d07a6b07a3473bde21b972353be3863a9b68f | [
"MIT"
] | 69 | 2015-06-29T17:25:39.000Z | 2021-11-20T18:22:12.000Z | bench/test_hpack.py | steamraven/hpack | c76d07a6b07a3473bde21b972353be3863a9b68f | [
"MIT"
] | 28 | 2015-11-12T13:35:53.000Z | 2021-04-29T12:05:59.000Z | from hpack.hpack import (
encode_integer,
decode_integer
)
class TestHpackEncodingIntegersBenchmarks:
def test_encode_small_integer_large_prefix(self, benchmark):
benchmark(encode_integer, integer=120, prefix_bits=7)
def test_encode_small_integer_small_prefix(self, benchmark):
benchma... | 39 | 67 | 0.765073 | 184 | 1,443 | 5.641304 | 0.125 | 0.115607 | 0.146435 | 0.084778 | 0.878613 | 0.828516 | 0.764933 | 0.761079 | 0.761079 | 0.714836 | 0 | 0.03928 | 0.153153 | 1,443 | 36 | 68 | 40.083333 | 0.810147 | 0 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0.038462 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ff3e384dafe96ef3ea1a91a1a05a9ae9d93d84c0 | 13,823 | py | Python | src/attention.py | xunan0812/MultiSentiNet | 1d7ec5d9bcf7bfea9f0b3a654053733dcb944696 | [
"MIT"
] | 16 | 2018-01-09T11:46:44.000Z | 2022-03-02T06:50:19.000Z | src/attention.py | anovier/MultiSentiNet | 1d7ec5d9bcf7bfea9f0b3a654053733dcb944696 | [
"MIT"
] | 4 | 2019-05-05T14:27:25.000Z | 2021-12-16T03:49:32.000Z | src/attention.py | anovier/MultiSentiNet | 1d7ec5d9bcf7bfea9f0b3a654053733dcb944696 | [
"MIT"
] | 8 | 2018-09-11T08:45:51.000Z | 2022-02-13T06:54:40.000Z | import numpy
from keras import backend as K
from keras.engine.topology import Layer, InputSpec
from keras import initializations,regularizers,constraints
from keras.optimizers import SGD, RMSprop, Adagrad
class AttentionWithContext(Layer):
"""
Attention operation, with a context/query vector, for temporal ... | 36.959893 | 93 | 0.547132 | 1,589 | 13,823 | 4.594714 | 0.113908 | 0.065197 | 0.049856 | 0.047939 | 0.843172 | 0.827969 | 0.827969 | 0.82564 | 0.806602 | 0.794001 | 0 | 0.012286 | 0.352311 | 13,823 | 373 | 94 | 37.058981 | 0.803194 | 0.13615 | 0 | 0.736626 | 0 | 0 | 0.011221 | 0 | 0 | 0 | 0 | 0 | 0.016461 | 1 | 0.082305 | false | 0 | 0.020576 | 0.024691 | 0.168724 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4426d87647400769a1c0070ef36aae0b92eb89c4 | 4,438 | py | Python | djstripe/migrations/0017_auto_20180110_0553.py | ComFreight/cmft-stripe-integration | 85a2e14dcd6fffd24e999b1f383dd7eb006606e0 | [
"MIT"
] | null | null | null | djstripe/migrations/0017_auto_20180110_0553.py | ComFreight/cmft-stripe-integration | 85a2e14dcd6fffd24e999b1f383dd7eb006606e0 | [
"MIT"
] | null | null | null | djstripe/migrations/0017_auto_20180110_0553.py | ComFreight/cmft-stripe-integration | 85a2e14dcd6fffd24e999b1f383dd7eb006606e0 | [
"MIT"
] | null | null | null | # Generated by Django 2.0.1 on 2018-01-10 03:53
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('djstripe', '0016_auto_20180109_2057'),
]
operations = [
migrations.RenameField(
model_name='account',
old_name='created',
... | 28.818182 | 48 | 0.521857 | 364 | 4,438 | 6.046703 | 0.129121 | 0.267151 | 0.330759 | 0.381645 | 0.934121 | 0.934121 | 0.934121 | 0.815538 | 0.815538 | 0.815538 | 0 | 0.011115 | 0.371564 | 4,438 | 153 | 49 | 29.006536 | 0.778057 | 0.01014 | 0 | 0.952381 | 1 | 0 | 0.201093 | 0.005238 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.006803 | 0 | 0.027211 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
445013288f73d7f191fc869387e65409058c74f5 | 2,923 | py | Python | bank/src/deposit_app/permissions.py | yuramorozov01/bank_system | 8d0cad692a89b913adb2df9a2a03d1793938a911 | [
"Apache-2.0"
] | null | null | null | bank/src/deposit_app/permissions.py | yuramorozov01/bank_system | 8d0cad692a89b913adb2df9a2a03d1793938a911 | [
"Apache-2.0"
] | null | null | null | bank/src/deposit_app/permissions.py | yuramorozov01/bank_system | 8d0cad692a89b913adb2df9a2a03d1793938a911 | [
"Apache-2.0"
] | null | null | null | from rest_framework import permissions
class CanAddDepositType(permissions.BasePermission):
'''Permission to check if current user has permission to add deposit types.'''
message = 'You don\'t have permissions to add a new deposit type.'
def has_permission(self, request, view):
return bool(reque... | 39.5 | 97 | 0.754362 | 375 | 2,923 | 5.792 | 0.130667 | 0.088398 | 0.128913 | 0.13628 | 0.841621 | 0.841621 | 0.841621 | 0.841621 | 0.841621 | 0.815838 | 0 | 0 | 0.158057 | 2,923 | 73 | 98 | 40.041096 | 0.882568 | 0.209716 | 0 | 0.242424 | 0 | 0 | 0.136624 | 0.108418 | 0 | 0 | 0 | 0 | 0 | 1 | 0.242424 | false | 0 | 0.030303 | 0.242424 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 9 |
4716ebca124223889a0fb994b57ae2d8c7b4bc6a | 16,946 | py | Python | esrl/optimizers.py | JamiesonWarner/High-Dim-ES-RL | 5037fa12c1300884d88eb5cde46999e6cc783674 | [
"MIT"
] | null | null | null | esrl/optimizers.py | JamiesonWarner/High-Dim-ES-RL | 5037fa12c1300884d88eb5cde46999e6cc783674 | [
"MIT"
] | null | null | null | esrl/optimizers.py | JamiesonWarner/High-Dim-ES-RL | 5037fa12c1300884d88eb5cde46999e6cc783674 | [
"MIT"
] | null | null | null |
'''This module contains the following:
LMMAES
An ES for problems in dimensions >> 100.
MAES
An ES for problems in dimensions > 100.
ES
A stripped down version of the LMMAES implementation.
Featuring no CMA or approximation. ES is reasonable to use
in extremely high dimension.
'''
import numpy as np
from m... | 35.084886 | 106 | 0.566682 | 2,256 | 16,946 | 4.172872 | 0.115248 | 0.021776 | 0.022307 | 0.016359 | 0.899405 | 0.882197 | 0.869344 | 0.858721 | 0.850329 | 0.850329 | 0 | 0.015545 | 0.328101 | 16,946 | 482 | 107 | 35.157676 | 0.811259 | 0.431193 | 0 | 0.783069 | 0 | 0 | 0.00064 | 0 | 0 | 0 | 0 | 0 | 0.015873 | 1 | 0.031746 | false | 0 | 0.015873 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5b3ed676b6e61e9634e66548333786246b134d68 | 1,887 | py | Python | cloud-function/signedUrls.py | dolbyio-samples/blog-gcp-media-automations | 7e0dc62fc43c6ff4d6cf18f220d7a1fba19491c8 | [
"CC0-1.0"
] | null | null | null | cloud-function/signedUrls.py | dolbyio-samples/blog-gcp-media-automations | 7e0dc62fc43c6ff4d6cf18f220d7a1fba19491c8 | [
"CC0-1.0"
] | null | null | null | cloud-function/signedUrls.py | dolbyio-samples/blog-gcp-media-automations | 7e0dc62fc43c6ff4d6cf18f220d7a1fba19491c8 | [
"CC0-1.0"
] | null | null | null | # pip install google-cloud-storage
import datetime
import os
from google.cloud import storage
def generate_download_signed_url_v4(bucket_name, blob_name):
# If you don't have the authentication file set to an environment variable
# See: https://cloud.google.com/docs/authentication/getting-started for more in... | 33.105263 | 92 | 0.686804 | 251 | 1,887 | 5.039841 | 0.318725 | 0.042688 | 0.044269 | 0.026877 | 0.828459 | 0.735178 | 0.735178 | 0.735178 | 0.735178 | 0.735178 | 0 | 0.008043 | 0.209327 | 1,887 | 56 | 93 | 33.696429 | 0.839812 | 0.325384 | 0 | 0.514286 | 1 | 0 | 0.224425 | 0.038858 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057143 | false | 0 | 0.085714 | 0 | 0.2 | 0.228571 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5b8a1aef65fbefaf1db792a7f90ccd9a924998c2 | 7,367 | py | Python | tests/integration/test_obtained_bibtex_from_raw_input.py | iluxonchik/rfc-bibtex-deprecated | 8199cb7c6e8d38c734e4cfbca12b5900a5409571 | [
"MIT"
] | 41 | 2018-01-04T06:18:49.000Z | 2022-02-15T07:04:21.000Z | tests/integration/test_obtained_bibtex_from_raw_input.py | iluxonchik/rfc-bibtex-deprecated | 8199cb7c6e8d38c734e4cfbca12b5900a5409571 | [
"MIT"
] | 21 | 2018-04-02T10:57:17.000Z | 2020-10-16T09:50:35.000Z | tests/integration/test_obtained_bibtex_from_raw_input.py | iluxonchik/rfc-bibtex-deprecated | 8199cb7c6e8d38c734e4cfbca12b5900a5409571 | [
"MIT"
] | 4 | 2018-09-19T12:41:18.000Z | 2021-01-17T13:18:26.000Z | """
Integration tests related to reading raw list of RFCs providied in a text file (one per line)
and directly as command-line args.
"""
import vcr
from .base import BaseRFCBibTexIntegrationTestCase
from rfc_bibtex.rfc_bibtex import RFCBibtex
"""
NOTE: the tests are written with the migrations that will be done in con... | 51.880282 | 133 | 0.699742 | 970 | 7,367 | 5.164948 | 0.136082 | 0.143713 | 0.057485 | 0.095808 | 0.846307 | 0.835529 | 0.806587 | 0.786228 | 0.761078 | 0.761078 | 0 | 0.043822 | 0.176055 | 7,367 | 141 | 134 | 52.248227 | 0.781549 | 0.033528 | 0 | 0.762376 | 0 | 0 | 0.313938 | 0.102541 | 0 | 0 | 0 | 0 | 0.653465 | 1 | 0.079208 | false | 0.019802 | 0.029703 | 0 | 0.148515 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
5bfb7923858a4ca33f18cc10a57ed71d652bc07a | 118 | py | Python | det3d/version.py | PatrickChoDev/CSA-3D | 34aa87194d653a93f16834d485738255f55112f0 | [
"Apache-2.0"
] | null | null | null | det3d/version.py | PatrickChoDev/CSA-3D | 34aa87194d653a93f16834d485738255f55112f0 | [
"Apache-2.0"
] | null | null | null | det3d/version.py | PatrickChoDev/CSA-3D | 34aa87194d653a93f16834d485738255f55112f0 | [
"Apache-2.0"
] | null | null | null | # GENERATED VERSION FILE
# TIME: Sat Jul 3 23:57:03 2021
__version__ = '1.0.0rc1+d492845'
short_version = '1.0.0rc1'
| 23.6 | 32 | 0.711864 | 21 | 118 | 3.761905 | 0.761905 | 0.202532 | 0.227848 | 0.329114 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.152542 | 118 | 4 | 33 | 29.5 | 0.54 | 0.449153 | 0 | 0 | 1 | 0 | 0.387097 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f38bc1c10273f193615692fa486a6f10e9d962e0 | 44 | py | Python | disaggregator/build/pandas/pandas/version.py | pjkundert/wikienergy | ac3a13780bccb001c81d6f8ee27d3f5706cfa77e | [
"MIT"
] | 29 | 2015-01-08T19:20:37.000Z | 2021-04-20T08:25:56.000Z | disaggregator/build/pandas/pandas/version.py | afcarl/wikienergy | ac3a13780bccb001c81d6f8ee27d3f5706cfa77e | [
"MIT"
] | null | null | null | disaggregator/build/pandas/pandas/version.py | afcarl/wikienergy | ac3a13780bccb001c81d6f8ee27d3f5706cfa77e | [
"MIT"
] | 17 | 2015-02-01T18:12:04.000Z | 2020-06-15T14:13:04.000Z | version = '0.15.2'
short_version = '0.15.2'
| 14.666667 | 24 | 0.636364 | 9 | 44 | 3 | 0.555556 | 0.592593 | 0.740741 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 0.136364 | 44 | 2 | 25 | 22 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
45f74dbb8b411df38df3c015116ed65e298d96cc | 74,626 | py | Python | tests/test_entities_service.py | CMoncur/launchkey-python | 7bed012c183e5011fbeddd9353ed70fde899f932 | [
"MIT"
] | null | null | null | tests/test_entities_service.py | CMoncur/launchkey-python | 7bed012c183e5011fbeddd9353ed70fde899f932 | [
"MIT"
] | null | null | null | tests/test_entities_service.py | CMoncur/launchkey-python | 7bed012c183e5011fbeddd9353ed70fde899f932 | [
"MIT"
] | null | null | null | import unittest
from mock import MagicMock, patch
from ddt import data, unpack, ddt
from formencode import Invalid
from datetime import time
from launchkey.entities.service import AuthorizationResponse, \
AuthResponseType, AuthResponseReason, GeoFence, TimeFence, \
AuthMethodType, AuthPolicy, AuthorizationReq... | 46.438083 | 1,518 | 0.598103 | 7,494 | 74,626 | 5.803042 | 0.03336 | 0.043782 | 0.04553 | 0.054636 | 0.919012 | 0.913194 | 0.90356 | 0.888636 | 0.875437 | 0.868056 | 0 | 0.032026 | 0.266529 | 74,626 | 1,606 | 1,519 | 46.466999 | 0.762478 | 0 | 0 | 0.746516 | 0 | 0.013271 | 0.304532 | 0.031986 | 0 | 0 | 0 | 0 | 0.246848 | 1 | 0.052422 | false | 0.034506 | 0.005309 | 0 | 0.062376 | 0.042468 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
1b18a0a25fc7da3157e6dfc4b436a13dc71c7c39 | 8,134 | py | Python | env/track.py | cobu93/gym-racetrack | 321d0c1eac388cf55370f045a84daa3e396b0351 | [
"MIT"
] | null | null | null | env/track.py | cobu93/gym-racetrack | 321d0c1eac388cf55370f045a84daa3e396b0351 | [
"MIT"
] | null | null | null | env/track.py | cobu93/gym-racetrack | 321d0c1eac388cf55370f045a84daa3e396b0351 | [
"MIT"
] | 1 | 2022-03-21T06:41:35.000Z | 2022-03-21T06:41:35.000Z | import numpy as np
np.random.seed(0)
test_track = []
for row in range(100):
test_track.append([])
for column in range(50):
if column > 10 and column < 45:
if row >= 1:
value = np.random.choice([2, 3], p=[0.9, 0.1])
test_track[row].append(value)
... | 67.22314 | 108 | 0.331694 | 2,530 | 8,134 | 1.063241 | 0.011858 | 0.858736 | 1.158736 | 1.379926 | 0.936803 | 0.920446 | 0.920446 | 0.920446 | 0.920446 | 0.916729 | 0 | 0.459689 | 0.335136 | 8,134 | 120 | 109 | 67.783333 | 0.037722 | 0 | 0 | 0.679245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.009434 | 0 | 0.009434 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
1b4d3d964fbd150f9b54b97efd009b5188aaf893 | 8,181 | py | Python | utils/data.py | Roozbeh-Bazargani/CPSC-533R-project | 453f093b23d2363f09c61079d1d4fbd878abf3be | [
"MIT"
] | null | null | null | utils/data.py | Roozbeh-Bazargani/CPSC-533R-project | 453f093b23d2363f09c61079d1d4fbd878abf3be | [
"MIT"
] | null | null | null | utils/data.py | Roozbeh-Bazargani/CPSC-533R-project | 453f093b23d2363f09c61079d1d4fbd878abf3be | [
"MIT"
] | null | null | null | import torch
import numpy as np
from torch.utils.data import Dataset
import pickle
from matplotlib import pyplot as plt
#0 left hip
#1 left knee
#2 left foot
#3 right hip
#4 right knee
#5 right foot
#6 middle hip
#7 neck
#8 nose
#9 head
#10 left shoulder
#11 left elbow
#12 left wrist
#13 right shoulder
#14 right elbow... | 44.950549 | 164 | 0.539054 | 1,093 | 8,181 | 3.894785 | 0.120769 | 0.12591 | 0.143528 | 0.16561 | 0.894057 | 0.889594 | 0.870096 | 0.870096 | 0.859056 | 0.859056 | 0 | 0.079097 | 0.269038 | 8,181 | 181 | 165 | 45.198895 | 0.632776 | 0.051705 | 0 | 0.703704 | 0 | 0 | 0.150789 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074074 | false | 0 | 0.061728 | 0.024691 | 0.209877 | 0.049383 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
1b84f7f3c2ef560b5084c77a055242c84bd790a7 | 2,191 | py | Python | src/core_utils/expections.py | MoveBigRocks/core-utils | c167f80059e87db45564bf5e78f10d7e4ce18f21 | [
"MIT"
] | null | null | null | src/core_utils/expections.py | MoveBigRocks/core-utils | c167f80059e87db45564bf5e78f10d7e4ce18f21 | [
"MIT"
] | null | null | null | src/core_utils/expections.py | MoveBigRocks/core-utils | c167f80059e87db45564bf5e78f10d7e4ce18f21 | [
"MIT"
] | null | null | null | __pyarmor__(__name__, __file__, b'\x50\x59\x41\x52\x4d\x4f\x52\x00\x00\x03\x09\x00\x61\x0d\x0d\x0a\x08\x2d\xa0\x01\x00\x00\x00\x00\x01\x00\x00\x00\x40\x00\x00\x00\xda\x01\x00\x00\x00\x00\x00\x10\x3e\xc2\x01\x31\x96\x57\x25\x75\xe3\x57\xfd\x56\xd6\xc4\x44\x11\x00\x00\x00\x00\x00\x00\x00\x00\xca\x0e\x84\x70\x2e\xb2\x3c\x... | 2,191 | 2,191 | 0.749886 | 543 | 2,191 | 3.003683 | 0.40884 | 0.069896 | 0.071735 | 0.05886 | 0.034948 | 0.014715 | 0.014715 | 0 | 0 | 0 | 0 | 0.309872 | 0.001369 | 2,191 | 1 | 2,191 | 2,191 | 0.435558 | 0 | 0 | 0 | 0 | 1 | 0.981752 | 0.981752 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
1bb908858ac8809239e8f6cde9fba30c6f408e44 | 2,661 | py | Python | mautrix/errors/__init__.py | tulir/mautrix-appservice-python | d180603445bb0bc465a7b2ff918c4ac28a5dbfc2 | [
"MIT"
] | 1 | 2018-08-24T13:33:30.000Z | 2018-08-24T13:33:30.000Z | mautrix/errors/__init__.py | tulir/mautrix-appservice-python | d180603445bb0bc465a7b2ff918c4ac28a5dbfc2 | [
"MIT"
] | 4 | 2018-07-10T11:43:46.000Z | 2018-09-03T22:08:02.000Z | mautrix/errors/__init__.py | tulir/mautrix-appservice-python | d180603445bb0bc465a7b2ff918c4ac28a5dbfc2 | [
"MIT"
] | 2 | 2018-07-03T04:07:08.000Z | 2018-09-10T03:13:59.000Z | from .base import IntentError, MatrixConnectionError, MatrixError, MatrixResponseError
from .crypto import (
CryptoError,
DecryptedPayloadError,
DecryptionError,
DeviceValidationError,
DuplicateMessageIndex,
EncryptionError,
MatchingSessionDecryptionError,
MismatchingRoomError,
Sessi... | 22.74359 | 86 | 0.703495 | 130 | 2,661 | 14.315385 | 0.492308 | 0.03439 | 0.046212 | 0.066631 | 0.896292 | 0.896292 | 0.896292 | 0.73079 | 0.73079 | 0.73079 | 0 | 0 | 0.20932 | 2,661 | 116 | 87 | 22.939655 | 0.884506 | 0 | 0 | 0 | 0 | 0 | 0.337843 | 0.128523 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.034783 | 0 | 0.034783 | 0 | 0 | 0 | 1 | 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 | 7 |
942a3605fd252e679b3a9a0af377c06a3833cc1d | 1,566 | py | Python | test/statements/if1.py | kylebarron/MagicPython | da6fa0793e2c85d3bf7709ff1d4f65ccf468db11 | [
"MIT"
] | 1,482 | 2015-10-16T21:59:32.000Z | 2022-03-30T11:44:40.000Z | test/statements/if1.py | kylebarron/MagicPython | da6fa0793e2c85d3bf7709ff1d4f65ccf468db11 | [
"MIT"
] | 226 | 2015-10-15T15:53:44.000Z | 2022-03-25T03:08:27.000Z | test/statements/if1.py | kylebarron/MagicPython | da6fa0793e2c85d3bf7709ff1d4f65ccf468db11 | [
"MIT"
] | 129 | 2015-10-20T02:41:49.000Z | 2022-03-22T01:44:36.000Z | if (a if b else c):
1
elif b or c and d:
2
else:
3
if : keyword.control.flow.python, source.python
: source.python
( : punctuation.parenthesis.begin.python, source.python
a : source.python
: source.python
if : keyword.control.flow.... | 35.590909 | 67 | 0.557471 | 160 | 1,566 | 5.45625 | 0.175 | 0.467354 | 0.57732 | 0.357388 | 0.828179 | 0.828179 | 0.725086 | 0.725086 | 0.562428 | 0.502864 | 0 | 0.005935 | 0.354406 | 1,566 | 43 | 68 | 36.418605 | 0.857567 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 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 | 0 | 0 | 8 |
848a9ebffee8bc1081c71646a7446183489b1d56 | 136 | py | Python | x_rebirth_station_calculator/web/wsgi/run_server.py | Phipsz/XRebirthStationCalculator | ac31c2f5816be34a7df2d7c4eb4bd5e01f7ff835 | [
"MIT"
] | 1 | 2016-04-17T11:00:22.000Z | 2016-04-17T11:00:22.000Z | x_rebirth_station_calculator/web/wsgi/run_server.py | Phipsz/XRebirthStationCalculator | ac31c2f5816be34a7df2d7c4eb4bd5e01f7ff835 | [
"MIT"
] | null | null | null | x_rebirth_station_calculator/web/wsgi/run_server.py | Phipsz/XRebirthStationCalculator | ac31c2f5816be34a7df2d7c4eb4bd5e01f7ff835 | [
"MIT"
] | null | null | null | import x_rebirth_station_calculator.web.http_control
if __name__ == '__main__':
x_rebirth_station_calculator.web.http_control.run()
| 34 | 55 | 0.830882 | 19 | 136 | 5.105263 | 0.631579 | 0.164948 | 0.309278 | 0.515464 | 0.804124 | 0.804124 | 0.804124 | 0 | 0 | 0 | 0 | 0 | 0.080882 | 136 | 3 | 56 | 45.333333 | 0.776 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 9 |
84bdb11907fda0a7aeb514eebf7751ac541b28e0 | 1,359 | py | Python | library/test_reset.py | ianmiell/shutit-openshift-cluster | 09e5b9c63dfa085721f92199b9a7ecd136cf9cfa | [
"MIT"
] | 23 | 2016-11-04T13:50:17.000Z | 2020-01-09T14:06:47.000Z | library/test_reset.py | ianmiell/shutit-openshift-cluster | 09e5b9c63dfa085721f92199b9a7ecd136cf9cfa | [
"MIT"
] | 12 | 2017-02-12T13:25:06.000Z | 2019-01-23T09:19:33.000Z | library/test_reset.py | ianmiell/shutit-openshift-cluster | 09e5b9c63dfa085721f92199b9a7ecd136cf9cfa | [
"MIT"
] | 7 | 2017-02-12T12:27:48.000Z | 2018-12-11T00:56:55.000Z | import time
def do_reset(test_config_module, shutit_sessions, chef_deploy_method):
for machine in test_config_module.machines.keys():
shutit_session = shutit_sessions[machine]
shutit_session.send('systemd stop crond')
time.sleep(300)
for machine in test_config_module.machines.keys():
shutit_session = shutit_s... | 56.625 | 214 | 0.727741 | 207 | 1,359 | 4.608696 | 0.304348 | 0.122642 | 0.106918 | 0.075472 | 0.850105 | 0.850105 | 0.790356 | 0.790356 | 0.767296 | 0.714885 | 0 | 0.011589 | 0.111111 | 1,359 | 23 | 215 | 59.086957 | 0.778146 | 0.089772 | 0 | 0.352941 | 0 | 0.235294 | 0.49147 | 0.285946 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.058824 | 0 | 0.117647 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
84e63f3fc082b9003d7034a0f3f99f00363084e9 | 58 | py | Python | package/__init__.py | PavelFryblik/DeepLearningStreamlit | 0dd52e8af25d0149e25814752f4813796bad5f87 | [
"MIT"
] | null | null | null | package/__init__.py | PavelFryblik/DeepLearningStreamlit | 0dd52e8af25d0149e25814752f4813796bad5f87 | [
"MIT"
] | null | null | null | package/__init__.py | PavelFryblik/DeepLearningStreamlit | 0dd52e8af25d0149e25814752f4813796bad5f87 | [
"MIT"
] | null | null | null | from package import components
from package import agents
| 19.333333 | 30 | 0.862069 | 8 | 58 | 6.25 | 0.625 | 0.44 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 58 | 2 | 31 | 29 | 1 | 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 | 1 | 0 | 0 | 7 |
ca0df50659e708de166acd464f9da03cdef91e13 | 10,841 | py | Python | Colloquiums/2020-2021/Revision_colloquium_1/Exercise_2_tests.py | Szymon-Budziak/ASD_exercises_solutions | 36ccbdae03a6c7e4ad141a2b7b01bef9353574ee | [
"MIT"
] | 7 | 2021-12-28T23:38:42.000Z | 2022-03-29T16:36:16.000Z | Colloquiums/2020-2021/Revision_colloquium_1/Exercise_2_tests.py | Szymon-Budziak/ASD_exercises_solutions | 36ccbdae03a6c7e4ad141a2b7b01bef9353574ee | [
"MIT"
] | null | null | null | Colloquiums/2020-2021/Revision_colloquium_1/Exercise_2_tests.py | Szymon-Budziak/ASD_exercises_solutions | 36ccbdae03a6c7e4ad141a2b7b01bef9353574ee | [
"MIT"
] | 4 | 2021-06-29T20:21:52.000Z | 2022-03-12T10:04:17.000Z | M1 = [[0, 1, 1, 0],
[1, 0, 1, 0],
[1, 1, 0, 1],
[0, 0, 1, 0]]
M2 = [[0, 1, 1, 0, 0, 0, 0, 0, 0],
[1, 0, 1, 0, 0, 0, 0, 0, 0],
[1, 1, 0, 1, 1, 1, 1, 0, 0],
[0, 0, 1, 0, 1, 0, 0, 0, 0],
[0, 0, 1, 1, 0, 0, 0, 0, 0],
[0, 0, 1, 0, 0, 0, 1, 0, 0],
[0, 0, 1, 0,... | 56.170984 | 121 | 0.300249 | 2,958 | 10,841 | 1.099053 | 0.018932 | 0.507536 | 0.451246 | 0.34697 | 0.871424 | 0.871424 | 0.863734 | 0.863734 | 0.863734 | 0.860043 | 0 | 0.438121 | 0.397011 | 10,841 | 192 | 122 | 56.463542 | 0.059201 | 0.003597 | 0 | 0.061111 | 0 | 0 | 0.02491 | 0.00887 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005556 | false | 0 | 0 | 0 | 0.005556 | 0.083333 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
ca3f3fe438e72750d68d8ca2c6dd76fa2230b5b7 | 142 | py | Python | w08/e02.py | Luccifer/PythonCoruseraHSE | 653d6a24325789342f0d033717ba548dc6e90483 | [
"Unlicense"
] | 1 | 2020-01-12T12:55:07.000Z | 2020-01-12T12:55:07.000Z | w08/e02.py | Luccifer/PythonCourseraHSE | 653d6a24325789342f0d033717ba548dc6e90483 | [
"Unlicense"
] | null | null | null | w08/e02.py | Luccifer/PythonCourseraHSE | 653d6a24325789342f0d033717ba548dc6e90483 | [
"Unlicense"
] | null | null | null | # Количество слов в тексте
import sys
print(len(set(sys.stdin.read().split())))
# print(len(set(map(str.strip, sys.stdin.read().split()))))
| 20.285714 | 59 | 0.683099 | 23 | 142 | 4.217391 | 0.652174 | 0.164948 | 0.226804 | 0.350515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091549 | 142 | 6 | 60 | 23.666667 | 0.751938 | 0.577465 | 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 | 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 | 1 | 0 | 7 |
b6d92c3979f5ee7f748476e691946a89d8ca6d91 | 12,265 | py | Python | tests/pipert/core/test_pipeline_manager.py | Elon-Abulafia/PipeRT | fba46d67a6dd546a9d70c3d854c3b7d3910f82ba | [
"MIT"
] | null | null | null | tests/pipert/core/test_pipeline_manager.py | Elon-Abulafia/PipeRT | fba46d67a6dd546a9d70c3d854c3b7d3910f82ba | [
"MIT"
] | null | null | null | tests/pipert/core/test_pipeline_manager.py | Elon-Abulafia/PipeRT | fba46d67a6dd546a9d70c3d854c3b7d3910f82ba | [
"MIT"
] | null | null | null | from unittest.mock import MagicMock
import pytest
from tests.pipert.core.utils.dummy_routine_with_queue import DummyRoutineWithQueue
from tests.pipert.core.utils.dummy_routine import DummyRoutine
from tests.pipert.core.utils.dummy_component import DummyComponent
from pipert.core.pipeline_manager import PipelineManager
... | 42.293103 | 120 | 0.663188 | 1,218 | 12,265 | 6.238916 | 0.096059 | 0.148046 | 0.120016 | 0.176865 | 0.856955 | 0.842216 | 0.80629 | 0.754047 | 0.702856 | 0.660087 | 0 | 0.004128 | 0.24949 | 12,265 | 290 | 121 | 42.293103 | 0.821401 | 0.004403 | 0 | 0.556962 | 0 | 0 | 0.118264 | 0.013759 | 0 | 0 | 0 | 0 | 0.168776 | 1 | 0.101266 | false | 0 | 0.033755 | 0 | 0.164557 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b6dbe07c77c0a97d49d666e837b74ee4de577371 | 4,407 | py | Python | tests/func/test_strict_decorator.py | Arthuchaut/introspector | 4597095b53246157def05c9f513f46a6c88c27d6 | [
"MIT"
] | null | null | null | tests/func/test_strict_decorator.py | Arthuchaut/introspector | 4597095b53246157def05c9f513f46a6c88c27d6 | [
"MIT"
] | 15 | 2021-12-11T23:36:21.000Z | 2021-12-18T12:38:47.000Z | tests/func/test_strict_decorator.py | Arthuchaut/introspector | 4597095b53246157def05c9f513f46a6c88c27d6 | [
"MIT"
] | null | null | null | from typing import Any, Callable
import pytest
from src.introspector.strict import Strict
from src.introspector import strict
class TestStrictClassDecorator:
class Fake:
...
@pytest.mark.parametrize(
'func_name, args, kwargs, expected_ret, throwable',
[
('_lambda_func_1', ... | 22.834197 | 74 | 0.448378 | 524 | 4,407 | 3.59542 | 0.101145 | 0.138004 | 0.019108 | 0.100849 | 0.910828 | 0.910828 | 0.910828 | 0.910828 | 0.910828 | 0.910828 | 0 | 0.052513 | 0.395053 | 4,407 | 192 | 75 | 22.953125 | 0.654164 | 0 | 0 | 0.930233 | 0 | 0 | 0.074427 | 0 | 0 | 0 | 0 | 0 | 0.011628 | 1 | 0.081395 | false | 0 | 0.023256 | 0.069767 | 0.197674 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8e4a64bf27b1696bb9c195d3773fd7355e7f6501 | 115 | py | Python | plugins/url_expander/komand_url_expander/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 46 | 2019-06-05T20:47:58.000Z | 2022-03-29T10:18:01.000Z | plugins/url_expander/komand_url_expander/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 386 | 2019-06-07T20:20:39.000Z | 2022-03-30T17:35:01.000Z | plugins/url_expander/komand_url_expander/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 43 | 2019-07-09T14:13:58.000Z | 2022-03-28T12:04:46.000Z | # GENERATED BY KOMAND SDK - DO NOT EDIT
from .expand.action import Expand
from .expand_all.action import ExpandAll
| 28.75 | 40 | 0.8 | 18 | 115 | 5.055556 | 0.722222 | 0.21978 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147826 | 115 | 3 | 41 | 38.333333 | 0.928571 | 0.321739 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
f3f058f9b5c1124194e8d150af5344a0dadc647a | 2,586 | py | Python | Problems/Largest product in a series.py | Ideflop/Project-Euler | e1fce2d6b5dbb7a6b7eea14b8fe997c85cf7c3da | [
"MIT"
] | null | null | null | Problems/Largest product in a series.py | Ideflop/Project-Euler | e1fce2d6b5dbb7a6b7eea14b8fe997c85cf7c3da | [
"MIT"
] | null | null | null | Problems/Largest product in a series.py | Ideflop/Project-Euler | e1fce2d6b5dbb7a6b7eea14b8fe997c85cf7c3da | [
"MIT"
] | null | null | null | """
The four adjacent digits in the 1000-digit number that have the greatest product are 9 × 9 × 8 × 9 = 5832.
73167176531330624919225119674426574742355349194934
96983520312774506326239578318016984801869478851843
85861560789112949495459501737958331952853208805511
12540698747158523863050715693290963295227443043557
6689... | 63.073171 | 1,014 | 0.910673 | 114 | 2,586 | 20.596491 | 0.561404 | 0.003833 | 0.013629 | 0.016184 | 0.063884 | 0.063884 | 0.051107 | 0.051107 | 0.051107 | 0.051107 | 0 | 0.837883 | 0.064965 | 2,586 | 41 | 1,015 | 63.073171 | 0.131927 | 0.484919 | 0 | 0 | 0 | 0 | 0.760755 | 0.754717 | 0 | 1 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.076923 | 0 | 0.230769 | 0.076923 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6d5a65b90988bb6a8abda2b1d9c85eb859ef587a | 20,343 | py | Python | test/test_is_character_at_index.py | scop/pymarkdown | 562ba8f7857d99ba09e86e42de5a37ec6d9b2c30 | [
"MIT"
] | 20 | 2021-01-14T17:39:09.000Z | 2022-03-14T08:35:22.000Z | test/test_is_character_at_index.py | scop/pymarkdown | 562ba8f7857d99ba09e86e42de5a37ec6d9b2c30 | [
"MIT"
] | 304 | 2020-08-15T23:24:00.000Z | 2022-03-31T23:34:03.000Z | test/test_is_character_at_index.py | scop/pymarkdown | 562ba8f7857d99ba09e86e42de5a37ec6d9b2c30 | [
"MIT"
] | 3 | 2021-08-11T10:26:26.000Z | 2021-11-02T20:41:27.000Z | """
Tests for the various is_character* functions.
"""
from pymarkdown.parser_helper import ParserHelper
def test_is_character_at_index_whitespace_with_empty_string():
"""
Make sure that an empty string is handled properly.
"""
# Arrange
input_string = ""
start_index = 0
expected_output =... | 23.302405 | 104 | 0.695178 | 2,626 | 20,343 | 5.000381 | 0.023991 | 0.085447 | 0.075242 | 0.104181 | 0.993222 | 0.991394 | 0.990328 | 0.990328 | 0.988348 | 0.988348 | 0 | 0.002527 | 0.241262 | 20,343 | 872 | 105 | 23.329128 | 0.848202 | 0.199725 | 0 | 0.758442 | 0 | 0 | 0.029391 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 1 | 0.114286 | false | 0 | 0.002597 | 0 | 0.116883 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
edc3e61f080f2b13337bf42d180640ddcf74678a | 45 | py | Python | API/xml_ops/change_xml_label.py | FirminSun/object_detection | 763318e4775cccaeeecd1d1ad76f53e1e883a346 | [
"Apache-2.0"
] | null | null | null | API/xml_ops/change_xml_label.py | FirminSun/object_detection | 763318e4775cccaeeecd1d1ad76f53e1e883a346 | [
"Apache-2.0"
] | 1 | 2018-11-07T07:44:46.000Z | 2018-11-07T07:44:46.000Z | API/xml_ops/change_xml_label.py | FirminSun/object_detection | 763318e4775cccaeeecd1d1ad76f53e1e883a346 | [
"Apache-2.0"
] | null | null | null | from xml_ops.xml_manager import Xml_manager
| 15 | 43 | 0.866667 | 8 | 45 | 4.5 | 0.625 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 45 | 2 | 44 | 22.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
6129ff014fb7456cdaf2340a9be7a9cf87937e03 | 2,925 | py | Python | 2/bulls_and_cows.py | IronCore864/leetcode | a62a4cdde9814ae48997176debcaad537f7ad01f | [
"Apache-2.0"
] | 4 | 2018-03-07T02:56:03.000Z | 2021-06-15T05:43:31.000Z | 2/bulls_and_cows.py | IronCore864/leetcode | a62a4cdde9814ae48997176debcaad537f7ad01f | [
"Apache-2.0"
] | null | null | null | 2/bulls_and_cows.py | IronCore864/leetcode | a62a4cdde9814ae48997176debcaad537f7ad01f | [
"Apache-2.0"
] | 1 | 2021-09-02T12:05:15.000Z | 2021-09-02T12:05:15.000Z | from collections import defaultdict
class Solution(object):
def getHint(self, secret, guess):
"""
:type secret: str
:type guess: str
:rtype: str
"""
bulls = 0
cows = 0
secret = [c for c in secret]
guess = [c for c in guess]
n = len(... | 63.586957 | 1,008 | 0.817436 | 110 | 2,925 | 21.736364 | 0.4 | 0.012547 | 0.021748 | 0.005855 | 0.011711 | 0.011711 | 0 | 0 | 0 | 0 | 0 | 0.8015 | 0.133675 | 2,925 | 45 | 1,009 | 65 | 0.142068 | 0.015727 | 0 | 0.068966 | 0 | 0 | 0.716097 | 0.704473 | 0 | 1 | 0 | 0 | 0 | 1 | 0.034483 | false | 0 | 0.034483 | 0 | 0.137931 | 0.137931 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b6306e43a7a4cbda5d152dfb491c32c2c832aea5 | 11,508 | py | Python | tests/test_processor.py | JiscSD/rdss-preservica-adaptor | cc8e7fc91e852cfdceb4074f3a59dfe9b08b4c44 | [
"Apache-2.0"
] | 1 | 2019-02-19T14:26:59.000Z | 2019-02-19T14:26:59.000Z | tests/test_processor.py | JiscSD/rdss-preservica-adaptor | cc8e7fc91e852cfdceb4074f3a59dfe9b08b4c44 | [
"Apache-2.0"
] | 5 | 2021-03-31T19:00:36.000Z | 2021-12-13T19:51:12.000Z | tests/test_processor.py | JiscSD/rdss-preservica-adaptor | cc8e7fc91e852cfdceb4074f3a59dfe9b08b4c44 | [
"Apache-2.0"
] | null | null | null | import base64
import boto3
import hashlib
import json
import moto
import pytest
from preservicaservice.processor import (
RecordProcessor,
)
from preservicaservice.config import (
Config,
)
def _get_records(client, stream_name):
shard_id = client.describe_stream(
StreamName=stream_name,
)['Str... | 35.73913 | 100 | 0.63017 | 1,165 | 11,508 | 6.027468 | 0.154506 | 0.042296 | 0.013956 | 0.037881 | 0.833808 | 0.830105 | 0.830105 | 0.830105 | 0.818001 | 0.812589 | 0 | 0.023599 | 0.234098 | 11,508 | 321 | 101 | 35.850467 | 0.773088 | 0.01373 | 0 | 0.702206 | 0 | 0 | 0.255597 | 0.032611 | 0 | 0 | 0 | 0.003115 | 0.066176 | 1 | 0.029412 | false | 0 | 0.029412 | 0 | 0.113971 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b6a72cd4d3809327045665c87ea384e533f8c72a | 22,252 | py | Python | tests/test_processor.py | cnwarden/mico2 | 017c52ef4626649d162904f247f21eec768fafc3 | [
"MIT"
] | null | null | null | tests/test_processor.py | cnwarden/mico2 | 017c52ef4626649d162904f247f21eec768fafc3 | [
"MIT"
] | null | null | null | tests/test_processor.py | cnwarden/mico2 | 017c52ef4626649d162904f247f21eec768fafc3 | [
"MIT"
] | null | null | null | # coding:utf-8
from unittest import TestCase
from processor.common_processor import XueQiuProcessor
class TestProcessor(TestCase):
def setUp(self):
text = u'丁一熊先生是投资界骨灰级的老人了,无论在上海香港的职业圈子,还是在闽发桃仙的草根论坛,丁先生的声音从来都很受关注。投资长期的赢家,都需要一定的人生境界和情怀,当然得有格局,还要幽默,如此才能游走于刀剑江湖。之前整理过丁先生两篇文章,一篇是在一月初,讲的是“水到渠成的下跌”;另外一... | 364.786885 | 18,917 | 0.703353 | 3,424 | 22,252 | 4.556659 | 0.263435 | 0.720933 | 0.876042 | 0.913729 | 0.564735 | 0.557429 | 0.536213 | 0.492373 | 0.205615 | 0.126266 | 0 | 0.017188 | 0.040446 | 22,252 | 61 | 18,918 | 364.786885 | 0.713516 | 0.010426 | 0 | 0.416667 | 0 | 0.041667 | 0.946099 | 0.854987 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0.020833 | 0.041667 | 0 | 0.1875 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
fce8485aca2e663806054fc5b71edcd6c544a52b | 5,306 | py | Python | test.py | smith558/CA-Group-Project | 3056ce993ec63232e552f198a9d4d0a6ebb2f7e8 | [
"MIT"
] | 6 | 2020-03-06T19:10:08.000Z | 2020-07-29T09:49:04.000Z | test.py | smith558/CA-Group-Project | 3056ce993ec63232e552f198a9d4d0a6ebb2f7e8 | [
"MIT"
] | null | null | null | test.py | smith558/CA-Group-Project | 3056ce993ec63232e552f198a9d4d0a6ebb2f7e8 | [
"MIT"
] | null | null | null | import unittest
from ac_math import RL_CIRCUIT
from ac_math import RC_CIRCUIT
from ac_math import RLC_CIRCUIT
class TestRl_circuit(unittest.TestCase):
def test_resistor_voltage(self):
volt = RL_CIRCUIT()
result = volt.get_resistor_voltage(3, 50)
self.assertEqual(result, 150)
def test_... | 32.157576 | 72 | 0.663023 | 664 | 5,306 | 5.043675 | 0.115964 | 0.062705 | 0.188116 | 0.107495 | 0.884145 | 0.845327 | 0.758734 | 0.736339 | 0.664079 | 0.569424 | 0 | 0.088271 | 0.233509 | 5,306 | 164 | 73 | 32.353659 | 0.735186 | 0 | 0 | 0.767442 | 0 | 0 | 0.001508 | 0 | 0 | 0 | 0 | 0 | 0.232558 | 1 | 0.232558 | false | 0 | 0.031008 | 0 | 0.286822 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1e44f22d8de09e94a348c02ef000a447114a86ef | 23,807 | py | Python | testcases/generated/apigateway_test.py | Tanc009/jdcloud-cli | 4e11de77c68501f44e7026c0ad1c24e5d043197e | [
"Apache-2.0"
] | 95 | 2018-06-05T10:49:32.000Z | 2019-12-31T11:07:36.000Z | testcases/generated/apigateway_test.py | Tanc009/jdcloud-cli | 4e11de77c68501f44e7026c0ad1c24e5d043197e | [
"Apache-2.0"
] | 22 | 2018-06-05T10:58:59.000Z | 2020-07-31T12:13:19.000Z | testcases/generated/apigateway_test.py | Tanc009/jdcloud-cli | 4e11de77c68501f44e7026c0ad1c24e5d043197e | [
"Apache-2.0"
] | 21 | 2018-06-04T12:50:27.000Z | 2020-11-05T10:55:28.000Z | # coding=utf8
# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed ... | 33.961484 | 181 | 0.593313 | 2,919 | 23,807 | 4.76259 | 0.050702 | 0.037764 | 0.070134 | 0.091713 | 0.918573 | 0.915839 | 0.907064 | 0.854481 | 0.752122 | 0.686448 | 0 | 0.000629 | 0.265762 | 23,807 | 700 | 182 | 34.01 | 0.79468 | 0.026631 | 0 | 0.708885 | 0 | 0.060491 | 0.251609 | 0.027683 | 0 | 0 | 0 | 0 | 0.141777 | 1 | 0.141777 | false | 0 | 0.005671 | 0 | 0.149338 | 0.141777 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1e8cc1027afeaaa604f07dff4c091f24ff8fd66f | 12,595 | py | Python | labfile2module.py | vikasinder/VS-Module-Demo | e57d215e2a24c275a356f408acafeed31a85603a | [
"MIT"
] | null | null | null | labfile2module.py | vikasinder/VS-Module-Demo | e57d215e2a24c275a356f408acafeed31a85603a | [
"MIT"
] | null | null | null | labfile2module.py | vikasinder/VS-Module-Demo | e57d215e2a24c275a356f408acafeed31a85603a | [
"MIT"
] | null | null | null | # Class is declared That contains all the functions and variable
class Area_parameters_volume:
# Global single variable is declared that gets the calculated result
calculate = 0
# Option function is declared that is called on lab_file1 page
def option(self, value):
# Condition to check value to be ... | 47.889734 | 183 | 0.424295 | 1,150 | 12,595 | 4.644348 | 0.108696 | 0.023591 | 0.055046 | 0.06759 | 0.856581 | 0.813705 | 0.810897 | 0.785808 | 0.770081 | 0.747613 | 0 | 0.011674 | 0.51711 | 12,595 | 262 | 184 | 48.072519 | 0.866491 | 0.146963 | 0 | 0.761905 | 0 | 0.014286 | 0.226887 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019048 | false | 0 | 0 | 0 | 0.1 | 0.128571 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
94e70e1ca4536cb533887ce0f1b2470fd4d66807 | 56,601 | py | Python | drawPlot.py | svarthafnyra/CNN_Visualizations | a17615932519e67c7b7ec4ebaf030047dfd6d1e2 | [
"MIT"
] | 17 | 2019-08-13T06:07:13.000Z | 2021-03-02T22:14:21.000Z | drawPlot.py | svarthafnyra/CAMP-Project | a17615932519e67c7b7ec4ebaf030047dfd6d1e2 | [
"MIT"
] | null | null | null | drawPlot.py | svarthafnyra/CAMP-Project | a17615932519e67c7b7ec4ebaf030047dfd6d1e2 | [
"MIT"
] | 3 | 2019-12-16T09:08:10.000Z | 2020-02-19T10:43:25.000Z | from visualization import runExplain,runGGradCam,runGradCam,runVanillaBP,runsmoothGrad,runGBackProp
from misc_functions import get_params
from matplotlib import pyplot as plt
# for grad cam these are the outputs:
#original_image,gray,color,result,adversarial,gray2,color2,result2
# for explain:
#original_img,heat, mask,... | 47.206839 | 110 | 0.528065 | 6,414 | 56,601 | 4.506704 | 0.032429 | 0.046496 | 0.10074 | 0.131737 | 0.959386 | 0.956999 | 0.953643 | 0.944406 | 0.938075 | 0.93427 | 0 | 0.057494 | 0.35222 | 56,601 | 1,199 | 111 | 47.206839 | 0.730888 | 0.023604 | 0 | 0.932666 | 0 | 0 | 0.111113 | 0.001267 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00364 | false | 0 | 0.00273 | 0 | 0.006369 | 0.00273 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a2062050b4f91a40bd542a06b6dc5f0e6cad99b8 | 35,071 | py | Python | src/bounds.py | StanfordAHA/Configuration | a5d404433d32b0ac20544d5bafa9422c979afc16 | [
"BSD-3-Clause"
] | null | null | null | src/bounds.py | StanfordAHA/Configuration | a5d404433d32b0ac20544d5bafa9422c979afc16 | [
"BSD-3-Clause"
] | null | null | null | src/bounds.py | StanfordAHA/Configuration | a5d404433d32b0ac20544d5bafa9422c979afc16 | [
"BSD-3-Clause"
] | null | null | null | ###############################################################################
# file -- bounds.py --
# Top contributors (to current version):
# Nestan Tsiskaridze
# This file is part of the configuration finder for the Stanford AHA project.
# Copyright (c) 2021 by the authors listed in the file AUTHORS
# in t... | 71.427699 | 266 | 0.699524 | 6,050 | 35,071 | 3.779174 | 0.029587 | 0.256735 | 0.35943 | 0.251924 | 0.924291 | 0.91397 | 0.903254 | 0.897262 | 0.890876 | 0.873819 | 0 | 0.026289 | 0.123635 | 35,071 | 490 | 267 | 71.573469 | 0.717521 | 0.065581 | 0 | 0.798544 | 0 | 0 | 0.005958 | 0 | 0 | 0 | 0 | 0 | 0.043689 | 1 | 0.007282 | false | 0 | 0.007282 | 0 | 0.014563 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
a20aa2c48906a72c37423ee4b6063b363bdaa7ea | 2,299 | py | Python | AdventOfCode2021/Day17/Day17.py | MattTitmas/AdventOfCode | 36be4f6bf973f77ff93b08dc69c977bb11951f27 | [
"MIT"
] | null | null | null | AdventOfCode2021/Day17/Day17.py | MattTitmas/AdventOfCode | 36be4f6bf973f77ff93b08dc69c977bb11951f27 | [
"MIT"
] | null | null | null | AdventOfCode2021/Day17/Day17.py | MattTitmas/AdventOfCode | 36be4f6bf973f77ff93b08dc69c977bb11951f27 | [
"MIT"
] | null | null | null | def part1():
values = [[int(j) for j in i.split("=")[1].split("..")] for i in open("input.txt").read().split(": ")[1].split(", ")]
for i in range(len(values)):
values[i] = list(range(values[i][0], values[i][1]+1))
minX, maxX = min(values[0]), max(values[0])
minY, maxY = min(values[1]), max(valu... | 37.688525 | 121 | 0.477599 | 305 | 2,299 | 3.6 | 0.163934 | 0.065574 | 0.040073 | 0.051002 | 0.81694 | 0.81694 | 0.81694 | 0.81694 | 0.81694 | 0.81694 | 0 | 0.051922 | 0.354937 | 2,299 | 60 | 122 | 38.316667 | 0.688469 | 0 | 0 | 0.769231 | 0 | 0 | 0.040017 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038462 | false | 0 | 0 | 0 | 0.076923 | 0.038462 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a20b9e47fcfa6e66acf6493381ae8c45334eea94 | 3,244 | py | Python | src/data/types/_date.py | Freonius/tranquillity | bb190b4a8facf643d5018a710100b3ff45d6d640 | [
"MIT"
] | null | null | null | src/data/types/_date.py | Freonius/tranquillity | bb190b4a8facf643d5018a710100b3ff45d6d640 | [
"MIT"
] | 20 | 2021-12-31T15:28:20.000Z | 2022-02-15T18:24:16.000Z | src/data/types/_date.py | Freonius/tranquillity | bb190b4a8facf643d5018a710100b3ff45d6d640 | [
"MIT"
] | null | null | null | from datetime import date
from typing import Union, Any
from graphene import DateTime as GqlDateTime, NonNull
from sqlalchemy import Column, Date as SqlDate
from ._dtype import DType
from ._nsdtype import NSDType
from ._datetime import _convert
class Date(DType[date]):
_t = date
_format: str = '%Y-%m-%d'
... | 31.803922 | 86 | 0.547164 | 381 | 3,244 | 4.480315 | 0.141732 | 0.057411 | 0.056239 | 0.037493 | 0.822496 | 0.822496 | 0.822496 | 0.822496 | 0.822496 | 0.822496 | 0 | 0 | 0.344328 | 3,244 | 101 | 87 | 32.118812 | 0.802539 | 0 | 0 | 0.804598 | 0 | 0 | 0.014797 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.114943 | false | 0 | 0.08046 | 0.045977 | 0.356322 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
bf63194649eafa56ce2037a17f715ed2843e82fc | 1,746 | py | Python | RandomForestController.py | iliaskaras/ML-BreastCancer | 5e2bae2d6fd5e76d4164f8be58f9e2951d053d3c | [
"Apache-2.0"
] | null | null | null | RandomForestController.py | iliaskaras/ML-BreastCancer | 5e2bae2d6fd5e76d4164f8be58f9e2951d053d3c | [
"Apache-2.0"
] | null | null | null | RandomForestController.py | iliaskaras/ML-BreastCancer | 5e2bae2d6fd5e76d4164f8be58f9e2951d053d3c | [
"Apache-2.0"
] | 1 | 2020-08-31T22:20:46.000Z | 2020-08-31T22:20:46.000Z | from RandomForestClf import RandomForestClf
#call maxDepth = 20 ================================================
randomForest = RandomForestClf()
randomForest.randomForestClassifier(20,"gini")
randomForest.getCrossValidation()
randomForest = None
randomForest = RandomForestClf()
randomForest.randomForestClassifier(... | 23.28 | 68 | 0.705613 | 117 | 1,746 | 10.529915 | 0.153846 | 0.219156 | 0.316558 | 0.49513 | 0.922078 | 0.710227 | 0.710227 | 0.450487 | 0.450487 | 0 | 0 | 0.014277 | 0.07732 | 1,746 | 74 | 69 | 23.594595 | 0.750466 | 0.190149 | 0 | 0.725 | 0 | 0 | 0.03909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.025 | 0 | 0.025 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
bfa0044ec0927b1da62b05e87a782d8a3df356e8 | 153,855 | py | Python | tests/data/cids.py | gavin-lin/c3-cli | 21820fd9efb8ec35ed4dad61b7042a4132f63aae | [
"BSD-3-Clause"
] | null | null | null | tests/data/cids.py | gavin-lin/c3-cli | 21820fd9efb8ec35ed4dad61b7042a4132f63aae | [
"BSD-3-Clause"
] | 2 | 2019-11-05T03:54:48.000Z | 2021-02-08T20:42:25.000Z | tests/data/cids.py | gavin-lin/c3-cli | 21820fd9efb8ec35ed4dad61b7042a4132f63aae | [
"BSD-3-Clause"
] | 1 | 2021-07-14T02:28:58.000Z | 2021-07-14T02:28:58.000Z | cids_before_shrink = \
{'201702-25401': {'audio_name': 'Lewisburg MROM 0',
'audio_pciid': '8086:a1f0',
'codename': 'Matira 5',
'form_factor': 'Desktop',
'kernel': '4.15.0-1027-oem',
'location': 'ceqa',
'make': 'D... | 51.114618 | 80 | 0.434741 | 14,128 | 153,855 | 4.682899 | 0.053298 | 0.055366 | 0.030336 | 0.033706 | 0.986034 | 0.984462 | 0.979671 | 0.976481 | 0.97166 | 0.967065 | 0 | 0.154225 | 0.407163 | 153,855 | 3,009 | 81 | 51.131605 | 0.571126 | 0 | 0 | 0.937168 | 0 | 0 | 0.503364 | 0.000858 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7812fd3d8be452c007df1df98bf8dea436fc77e9 | 2,139 | py | Python | tests/etl/workflow/treatment_and_component_helper/test_treatment_and_component_helper.py | PDCMFinder/pdcm-etl | df0006e4ad5ca2ddf9c1387e28a0b7fb24f195de | [
"Apache-2.0"
] | 1 | 2022-01-28T16:01:59.000Z | 2022-01-28T16:01:59.000Z | tests/etl/workflow/treatment_and_component_helper/test_treatment_and_component_helper.py | PDCMFinder/pdcm-etl | df0006e4ad5ca2ddf9c1387e28a0b7fb24f195de | [
"Apache-2.0"
] | 37 | 2022-02-09T18:19:13.000Z | 2022-03-29T12:14:19.000Z | tests/etl/workflow/treatment_and_component_helper/test_treatment_and_component_helper.py | PDCMFinder/pdcm-etl | df0006e4ad5ca2ddf9c1387e28a0b7fb24f195de | [
"Apache-2.0"
] | null | null | null | from etl.jobs.transformation.treatment_and_component_helper_transformer_job import \
transform_treatment_and_component_helper
from tests.etl.workflow.treatment_and_component_helper.expected_outputs import *
from tests.etl.workflow.treatment_and_component_helper.input_data import *
from tests.util import convert_to_... | 56.289474 | 115 | 0.886863 | 291 | 2,139 | 5.845361 | 0.130584 | 0.112875 | 0.197531 | 0.253968 | 0.895356 | 0.874192 | 0.860082 | 0.860082 | 0.804821 | 0.804821 | 0 | 0 | 0.073866 | 2,139 | 37 | 116 | 57.810811 | 0.858657 | 0 | 0 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.16 | false | 0 | 0.16 | 0 | 0.32 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
7836cada81f90ded99c58d5942eea4c3477f58fc | 208 | py | Python | ldm/modules/image_degradation/__init__.py | samedii/latent-diffusion | f13bf9bf463d95b5a16aeadd2b02abde31f769f8 | [
"MIT"
] | 563 | 2021-12-21T02:26:38.000Z | 2022-03-31T05:54:51.000Z | ldm/modules/image_degradation/__init__.py | samedii/latent-diffusion | f13bf9bf463d95b5a16aeadd2b02abde31f769f8 | [
"MIT"
] | 23 | 2021-12-22T10:00:00.000Z | 2022-03-24T20:43:49.000Z | ldm/modules/image_degradation/__init__.py | samedii/latent-diffusion | f13bf9bf463d95b5a16aeadd2b02abde31f769f8 | [
"MIT"
] | 51 | 2021-12-21T02:27:04.000Z | 2022-03-23T12:30:31.000Z | from ldm.modules.image_degradation.bsrgan import degradation_bsrgan_variant as degradation_fn_bsr
from ldm.modules.image_degradation.bsrgan_light import degradation_bsrgan_variant as degradation_fn_bsr_light
| 69.333333 | 109 | 0.913462 | 30 | 208 | 5.933333 | 0.4 | 0.382022 | 0.157303 | 0.213483 | 0.94382 | 0.94382 | 0.539326 | 0.539326 | 0 | 0 | 0 | 0 | 0.057692 | 208 | 2 | 110 | 104 | 0.908163 | 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 | 0 | 1 | 1 | 1 | 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 | 9 |
7873892c1e9518e37f309d502ac9defb07e75b07 | 8,223 | py | Python | esgetfamily/tests/test_esgetfamily.py | Saurabh3012/esgetfamily-python | 86f1a6f477deae1f2d240b22b7f463f82430245b | [
"MIT"
] | null | null | null | esgetfamily/tests/test_esgetfamily.py | Saurabh3012/esgetfamily-python | 86f1a6f477deae1f2d240b22b7f463f82430245b | [
"MIT"
] | null | null | null | esgetfamily/tests/test_esgetfamily.py | Saurabh3012/esgetfamily-python | 86f1a6f477deae1f2d240b22b7f463f82430245b | [
"MIT"
] | null | null | null | import unittest
class TestRequirements(unittest.TestCase):
def test01(self):
try:
from elasticsearch import Elasticsearch
except ImportError:
self.assert_(False, "Elasticsearch not installed")
class Test01SingleParent(unittest.TestCase):
def setUp(self):
fro... | 33.70082 | 79 | 0.496048 | 888 | 8,223 | 4.423423 | 0.099099 | 0.101833 | 0.059063 | 0.117108 | 0.92057 | 0.916752 | 0.916752 | 0.914969 | 0.914969 | 0.914969 | 0 | 0.016929 | 0.389396 | 8,223 | 243 | 80 | 33.839506 | 0.765385 | 0.012404 | 0 | 0.756614 | 0 | 0 | 0.081711 | 0 | 0 | 0 | 0 | 0 | 0.079365 | 1 | 0.058201 | false | 0.031746 | 0.047619 | 0 | 0.121693 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
788ee7fdc0cd899a43981d0e5312966277eec428 | 66,675 | py | Python | pirates/leveleditor/worldData/piratesWorld_original.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 81 | 2018-04-08T18:14:24.000Z | 2022-01-11T07:22:15.000Z | pirates/leveleditor/worldData/piratesWorld_original.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 4 | 2018-09-13T20:41:22.000Z | 2022-01-08T06:57:00.000Z | pirates/leveleditor/worldData/piratesWorld_original.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 26 | 2018-05-26T12:49:27.000Z | 2021-09-11T09:11:59.000Z | from pandac.PandaModules import Point3, VBase3, Vec4, Vec3
objectStruct = {'AmbientColors': {0: Vec4(0.207843, 0.243137, 0.447059, 1),2: Vec4(0.666667, 0.721569, 0.792157, 1),4: Vec4(0.721569, 0.611765, 0.619608, 1),6: Vec4(0.207843, 0.243137, 0.447059, 1),8: Vec4(0.384314, 0.419608, 0.564706, 1)},'DirectionalColors': ... | 22,225 | 66,327 | 0.660847 | 9,326 | 66,675 | 4.707377 | 0.122453 | 0.044236 | 0.042368 | 0.040364 | 0.605476 | 0.485 | 0.429034 | 0.424159 | 0.418852 | 0.417621 | 0 | 0.291302 | 0.059753 | 66,675 | 3 | 66,328 | 22,225 | 0.408974 | 0 | 0 | 0 | 0 | 0 | 0.5734 | 0.2864 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 7 |
7890e40e743ec50a5c905d44300364e6c3123d77 | 55,886 | py | Python | python/fmm3dpy/fmm3d.py | LiangJiuyang/FMM3D | 2221ef08ef1b0ee227b6dcade2b2800dc0060c7c | [
"Apache-2.0"
] | 71 | 2019-06-03T21:22:37.000Z | 2022-03-03T01:15:45.000Z | python/fmm3dpy/fmm3d.py | LiangJiuyang/FMM3D | 2221ef08ef1b0ee227b6dcade2b2800dc0060c7c | [
"Apache-2.0"
] | 14 | 2019-08-22T19:58:36.000Z | 2022-02-08T19:01:06.000Z | python/fmm3dpy/fmm3d.py | LiangJiuyang/FMM3D | 2221ef08ef1b0ee227b6dcade2b2800dc0060c7c | [
"Apache-2.0"
] | 23 | 2019-09-13T21:30:35.000Z | 2022-02-26T12:34:42.000Z | from . import hfmm3d_fortran as hfmm
from . import lfmm3d_fortran as lfmm
from . import emfmm3d_fortran as emfmm
from . import stfmm3d_fortran as stfmm
import numpy as np
import numpy.linalg as la
class Output():
pot = None
grad = None
hess = None
pottarg = None
gradtarg = None
hesstarg = None... | 44.213608 | 209 | 0.591776 | 8,501 | 55,886 | 3.82602 | 0.035172 | 0.013928 | 0.021829 | 0.022137 | 0.964735 | 0.961076 | 0.951299 | 0.938263 | 0.925257 | 0.920246 | 0 | 0.027829 | 0.283076 | 55,886 | 1,263 | 210 | 44.248614 | 0.783956 | 0.249723 | 0 | 0.750323 | 0 | 0.027167 | 0.139344 | 0 | 0 | 0 | 0 | 0 | 0.093144 | 1 | 0.011643 | false | 0 | 0.007762 | 0 | 0.072445 | 0.020699 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1531fc431d45203a3d223c9a9c97137da4ec4dc3 | 210 | py | Python | tests/shell/src/shellfoundry_test_driver.py | QualiSystems/Shellfoundry-Traffic | 967a6ab0208116506fcf42822bb3f293c3be18c6 | [
"Apache-2.0"
] | null | null | null | tests/shell/src/shellfoundry_test_driver.py | QualiSystems/Shellfoundry-Traffic | 967a6ab0208116506fcf42822bb3f293c3be18c6 | [
"Apache-2.0"
] | 4 | 2020-10-29T13:16:29.000Z | 2020-11-22T09:00:05.000Z | tests/shell/src/shellfoundry_test_driver.py | QualiSystems/Shellfoundry-Traffic | 967a6ab0208116506fcf42822bb3f293c3be18c6 | [
"Apache-2.0"
] | null | null | null | from cloudshell.shell.core.resource_driver_interface import ResourceDriverInterface
class ShellFoundry1Driver(ResourceDriverInterface):
pass
class ShellFoundry2Driver(ResourceDriverInterface):
pass
| 21 | 83 | 0.852381 | 17 | 210 | 10.411765 | 0.764706 | 0.305085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010638 | 0.104762 | 210 | 9 | 84 | 23.333333 | 0.930851 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.4 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
157b8e1e56804217d32be4c30b01200b16bea713 | 145 | py | Python | spyke/graphics/texturing/texture_proxy.py | m4reQ/spyke | 4b1aa4c01c5c33e050f03eb9e8d396f9716f9e93 | [
"Unlicense"
] | null | null | null | spyke/graphics/texturing/texture_proxy.py | m4reQ/spyke | 4b1aa4c01c5c33e050f03eb9e8d396f9716f9e93 | [
"Unlicense"
] | 4 | 2022-01-24T01:35:28.000Z | 2022-02-10T19:48:35.000Z | spyke/graphics/texturing/texture_proxy.py | m4reQ/spyke | 4b1aa4c01c5c33e050f03eb9e8d396f9716f9e93 | [
"Unlicense"
] | null | null | null | class TextureProxy:
def __init__(self, _id: int):
self._id: int = _id
@property
def id(self) -> int:
return self.id
| 18.125 | 33 | 0.572414 | 19 | 145 | 4 | 0.473684 | 0.236842 | 0.236842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.317241 | 145 | 7 | 34 | 20.714286 | 0.767677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
15bcc095bf40be3757e37468abc981ff700cef34 | 36 | py | Python | Plugins/GUI/VFS_Window/__init__.py | bvbohnen/X4_Customizer | 6f865008690916a66a44c97331d9a2692baedb35 | [
"MIT"
] | 25 | 2018-12-10T12:52:11.000Z | 2022-01-29T14:42:57.000Z | Plugins/GUI/VFS_Window/__init__.py | bvbohnen/X4_Customizer | 6f865008690916a66a44c97331d9a2692baedb35 | [
"MIT"
] | 4 | 2019-08-01T19:09:11.000Z | 2022-01-02T01:47:42.000Z | Plugins/GUI/VFS_Window/__init__.py | bvbohnen/X4_Customizer | 6f865008690916a66a44c97331d9a2692baedb35 | [
"MIT"
] | 6 | 2019-02-16T08:39:04.000Z | 2021-12-21T06:11:58.000Z |
from .VFS_Window import VFS_Window
| 12 | 34 | 0.833333 | 6 | 36 | 4.666667 | 0.666667 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 36 | 2 | 35 | 18 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
ec643d46e5739bc77e2a6dfc64067405326d947a | 115 | py | Python | app/core/helpers.py | NjengaSaruni/Accountant-Web-Server | e77124307f235a4a446e1251d2830d7587cb8719 | [
"MIT"
] | null | null | null | app/core/helpers.py | NjengaSaruni/Accountant-Web-Server | e77124307f235a4a446e1251d2830d7587cb8719 | [
"MIT"
] | 19 | 2018-12-10T20:06:21.000Z | 2021-06-10T21:03:31.000Z | app/core/helpers.py | NjengaSaruni/Accountant-Web-Server | e77124307f235a4a446e1251d2830d7587cb8719 | [
"MIT"
] | null | null | null | import random
def random_color():
return f'#{"".join([random.choice("0123456789ABCDEF") for _ in range(6)])}' | 23 | 79 | 0.678261 | 15 | 115 | 5.066667 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11 | 0.130435 | 115 | 5 | 79 | 23 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0.560345 | 0.37931 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
ec8899065727013d02244db78d25a85de8563c64 | 421 | py | Python | header.py | mejongetje/Dominoes | cefa513ef0b6c2d6cba095b7afa8222388c24b35 | [
"MIT"
] | null | null | null | header.py | mejongetje/Dominoes | cefa513ef0b6c2d6cba095b7afa8222388c24b35 | [
"MIT"
] | null | null | null | header.py | mejongetje/Dominoes | cefa513ef0b6c2d6cba095b7afa8222388c24b35 | [
"MIT"
] | null | null | null | def header():
print(' =================================================== ')
print('|%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%|')
print('|%%%%%%%%%%%%%%%%%% D O M I N O E S %%%%%%%%%%%%%%%%|')
print('|%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%|')
print('|%%%%%%%%%%%%%%%%%%%%%... | 60.142857 | 67 | 0.111639 | 16 | 421 | 2.9375 | 0.625 | 0.851064 | 0.638298 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114014 | 421 | 7 | 68 | 60.142857 | 0.126005 | 0 | 0 | 0.428571 | 0 | 0 | 0.764423 | 0.632212 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0 | 0 | 0.142857 | 0.857143 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 9 |
ec9c6761b54ebd89cf2bba7ab3f434e2808cd24d | 105 | py | Python | app/txdb/__init__.py | tildecross/tildex-txdb | bc32e1875c55cedfbf4ce7d00174b4b7bf68525f | [
"BSD-3-Clause"
] | null | null | null | app/txdb/__init__.py | tildecross/tildex-txdb | bc32e1875c55cedfbf4ce7d00174b4b7bf68525f | [
"BSD-3-Clause"
] | 1 | 2017-10-15T01:11:11.000Z | 2019-10-18T20:02:32.000Z | app/txdb/__init__.py | tildecross/tildex-txdb | bc32e1875c55cedfbf4ce7d00174b4b7bf68525f | [
"BSD-3-Clause"
] | null | null | null | from app.txdb.parser import TxDBParser
from app.txdb.core import TxDBCore
from app.txdb.plugins import *
| 26.25 | 38 | 0.819048 | 17 | 105 | 5.058824 | 0.529412 | 0.244186 | 0.383721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 105 | 3 | 39 | 35 | 0.924731 | 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 | 1 | 0 | 0 | 7 |
ecabb448df5dbf7c040fd25d0cfe19bdf6b67e7e | 40,179 | py | Python | picbackend/views/v2/navigator_views/tools/create_update_delete.py | bbcawodu/careadvisors-backend | 5ebd3c0fc189b2486cea92b2a13c0bd8a0ee3838 | [
"MIT"
] | null | null | null | picbackend/views/v2/navigator_views/tools/create_update_delete.py | bbcawodu/careadvisors-backend | 5ebd3c0fc189b2486cea92b2a13c0bd8a0ee3838 | [
"MIT"
] | null | null | null | picbackend/views/v2/navigator_views/tools/create_update_delete.py | bbcawodu/careadvisors-backend | 5ebd3c0fc189b2486cea92b2a13c0bd8a0ee3838 | [
"MIT"
] | null | null | null | from django import forms
from django.core.validators import validate_email
from django.core.validators import URLValidator
from django.core.exceptions import ValidationError
import datetime
import pytz
from picbackend.views.utils import clean_int_value_from_dict_object
from picbackend.views.utils import clean_list_val... | 39.702569 | 153 | 0.641753 | 4,458 | 40,179 | 5.244729 | 0.030731 | 0.059022 | 0.048373 | 0.070698 | 0.941448 | 0.924982 | 0.905607 | 0.866687 | 0.839742 | 0.814721 | 0 | 0.000424 | 0.295229 | 40,179 | 1,011 | 154 | 39.74184 | 0.825264 | 0 | 0 | 0.700344 | 0 | 0 | 0.146694 | 0.0447 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016073 | false | 0 | 0.011481 | 0 | 0.039036 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ecb5e6b35792099201a91da60705f05da00c1598 | 139 | py | Python | site/ENV/lib/python3.7/site-packages/testapp/views.py | paulohenriquerosa/gnss-iot-server | 6e7ff39bc83276d6ad86121083eb48d134d00f9d | [
"MIT"
] | null | null | null | site/ENV/lib/python3.7/site-packages/testapp/views.py | paulohenriquerosa/gnss-iot-server | 6e7ff39bc83276d6ad86121083eb48d134d00f9d | [
"MIT"
] | null | null | null | site/ENV/lib/python3.7/site-packages/testapp/views.py | paulohenriquerosa/gnss-iot-server | 6e7ff39bc83276d6ad86121083eb48d134d00f9d | [
"MIT"
] | null | null | null | from testapp.websocket import echo
from testapp.websocket.chat import MyChat
from testapp.websocket.module_progressbar import MyProgressBar | 46.333333 | 62 | 0.884892 | 18 | 139 | 6.777778 | 0.555556 | 0.270492 | 0.491803 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079137 | 139 | 3 | 62 | 46.333333 | 0.953125 | 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 | 1 | 0 | 0 | 7 |
01ad6ff56fee17aeed2ea1fe8b8cb8dd65099335 | 99 | py | Python | bindings/python/idocp/solver/__init__.py | z8674558/idocp | 946524db7ae4591b578be2409ca619961572e7be | [
"BSD-3-Clause"
] | 43 | 2020-10-13T03:43:45.000Z | 2021-09-23T05:29:48.000Z | bindings/python/idocp/solver/__init__.py | z8674558/idocp | 946524db7ae4591b578be2409ca619961572e7be | [
"BSD-3-Clause"
] | 32 | 2020-10-21T09:40:16.000Z | 2021-10-24T00:00:04.000Z | bindings/python/idocp/solver/__init__.py | z8674558/idocp | 946524db7ae4591b578be2409ca619961572e7be | [
"BSD-3-Clause"
] | 4 | 2020-10-08T05:47:16.000Z | 2021-10-15T12:15:26.000Z | from .ocp_solver import *
from .unconstr_ocp_solver import *
from .unconstr_parnmpc_solver import * | 33 | 38 | 0.828283 | 14 | 99 | 5.5 | 0.428571 | 0.467532 | 0.38961 | 0.493506 | 0.701299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 99 | 3 | 38 | 33 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
01b74a2fa9fce81fdb95ca5ed4b9d8927283b63f | 81 | py | Python | pyislands/permutation/tsp/__init__.py | sglumac/pyislands | a5eaceb68a0f21bd8bc8586fdf8cf0d9b7a0134f | [
"MIT"
] | null | null | null | pyislands/permutation/tsp/__init__.py | sglumac/pyislands | a5eaceb68a0f21bd8bc8586fdf8cf0d9b7a0134f | [
"MIT"
] | null | null | null | pyislands/permutation/tsp/__init__.py | sglumac/pyislands | a5eaceb68a0f21bd8bc8586fdf8cf0d9b7a0134f | [
"MIT"
] | null | null | null | import pyislands.permutation.tsp.graph
import pyislands.permutation.tsp.mutation
| 27 | 41 | 0.876543 | 10 | 81 | 7.1 | 0.6 | 0.422535 | 0.732394 | 0.816901 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049383 | 81 | 2 | 42 | 40.5 | 0.922078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
bf1496dc5f26400e2f1caf8b44d13ca1e63f3b43 | 87 | py | Python | test/buildd/bf-projects/bf_selfbuild_project/bf_selfbuild_module.py | busunkim96/bigflow | 967e262bf1a0c0958ff41af81191d48f286b43c1 | [
"Apache-2.0"
] | 63 | 2020-08-15T19:02:06.000Z | 2022-03-29T16:19:00.000Z | test/buildd/bf-projects/bf_selfbuild_project/bf_selfbuild_module.py | busunkim96/bigflow | 967e262bf1a0c0958ff41af81191d48f286b43c1 | [
"Apache-2.0"
] | 133 | 2020-08-18T03:51:05.000Z | 2022-03-05T13:43:22.000Z | test/buildd/bf-projects/bf_selfbuild_project/bf_selfbuild_module.py | busunkim96/bigflow | 967e262bf1a0c0958ff41af81191d48f286b43c1 | [
"Apache-2.0"
] | 10 | 2020-08-25T05:19:31.000Z | 2022-02-03T10:33:41.000Z | import bigflow.build.reflect as r
def project_spec():
return r.get_project_spec()
| 17.4 | 33 | 0.758621 | 14 | 87 | 4.5 | 0.785714 | 0.349206 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149425 | 87 | 4 | 34 | 21.75 | 0.851351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 8 |
17699dc7df31ebae7bfd805690d43039644f7a27 | 7,300 | py | Python | micropython/badger2040_modules_py/badge_image.py | nathanmayall/pimoroni-pico | ee12d846a125770a76e7ed331d290ce83f41a0b3 | [
"MIT"
] | 1 | 2022-03-12T13:54:28.000Z | 2022-03-12T13:54:28.000Z | micropython/badger2040_modules_py/badge_image.py | nathanmayall/pimoroni-pico | ee12d846a125770a76e7ed331d290ce83f41a0b3 | [
"MIT"
] | null | null | null | micropython/badger2040_modules_py/badge_image.py | nathanmayall/pimoroni-pico | ee12d846a125770a76e7ed331d290ce83f41a0b3 | [
"MIT"
] | null | null | null | # Code generated by data_to_py.py.
version = '0.1'
_data =\
b'\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x71\x0b\x40\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x09\xfc\x8b\xa8\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x04\xbf\x42\xee\x88\x00\x00\x... | 63.478261 | 68 | 0.709452 | 1,786 | 7,300 | 2.896417 | 0.120941 | 0.164701 | 0.104388 | 0.076551 | 0.088343 | 0.064566 | 0.034216 | 0.034216 | 0.034216 | 0.028223 | 0 | 0.251186 | 0.017808 | 7,300 | 114 | 69 | 64.035088 | 0.470293 | 0.004384 | 0 | 0 | 1 | 0.954128 | 0.91646 | 0.916047 | 0 | 1 | 0 | 0 | 0 | 1 | 0.009174 | false | 0 | 0 | 0.009174 | 0.018349 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
bd9f0d838f96c1f1d71591933aae70bfbeaaab2e | 208 | py | Python | python_modules/libraries/dagster-docker/dagster_docker/__init__.py | dbatten5/dagster | d76e50295054ffe5a72f9b292ef57febae499528 | [
"Apache-2.0"
] | 1 | 2021-07-03T09:05:58.000Z | 2021-07-03T09:05:58.000Z | python_modules/libraries/dagster-docker/dagster_docker/__init__.py | dbatten5/dagster | d76e50295054ffe5a72f9b292ef57febae499528 | [
"Apache-2.0"
] | 1 | 2021-06-21T18:30:02.000Z | 2021-06-25T21:18:39.000Z | python_modules/libraries/dagster-docker/dagster_docker/__init__.py | dbatten5/dagster | d76e50295054ffe5a72f9b292ef57febae499528 | [
"Apache-2.0"
] | 1 | 2021-11-30T21:40:46.000Z | 2021-11-30T21:40:46.000Z | from dagster.core.utils import check_dagster_package_version
from .docker_run_launcher import DockerRunLauncher
from .version import __version__
check_dagster_package_version("dagster-docker", __version__)
| 29.714286 | 60 | 0.875 | 26 | 208 | 6.384615 | 0.461538 | 0.144578 | 0.228916 | 0.313253 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 208 | 6 | 61 | 34.666667 | 0.864583 | 0 | 0 | 0 | 0 | 0 | 0.067308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 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 | 1 | 0 | 0 | 7 |
bda705e98e99df43b5bc9b7328e2966fc163569c | 205 | py | Python | detect_secrets/filters/__init__.py | paulo-sampaio/detect-secrets | 73ffbc35a72cb316d9e1842cc131b6098cf3c36a | [
"Apache-2.0"
] | 2,212 | 2018-04-03T20:58:42.000Z | 2022-03-31T17:58:38.000Z | detect_secrets/filters/__init__.py | paulo-sampaio/detect-secrets | 73ffbc35a72cb316d9e1842cc131b6098cf3c36a | [
"Apache-2.0"
] | 354 | 2018-04-03T16:29:55.000Z | 2022-03-31T18:26:26.000Z | detect_secrets/filters/__init__.py | paulo-sampaio/detect-secrets | 73ffbc35a72cb316d9e1842cc131b6098cf3c36a | [
"Apache-2.0"
] | 298 | 2018-04-02T19:35:15.000Z | 2022-03-28T04:52:14.000Z | from . import allowlist # noqa: F401
from . import gibberish # noqa: F401
from . import heuristic # noqa: F401
from . import regex # noqa: F401
from . import wordlist # noqa: F401
| 34.166667 | 40 | 0.634146 | 25 | 205 | 5.2 | 0.36 | 0.384615 | 0.369231 | 0.553846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 0.292683 | 205 | 5 | 41 | 41 | 0.793103 | 0.263415 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
bdc21f20f0c1fa44dd648a7cdaa5eae113f3db9a | 1,121 | py | Python | tests/odm/documents/test_replace.py | yo-mo/beanie | 1641dd81be64dd1dc11af667deb2e50feb2de2be | [
"Apache-2.0"
] | 574 | 2021-03-16T12:49:12.000Z | 2022-03-30T11:45:33.000Z | tests/odm/documents/test_replace.py | yo-mo/beanie | 1641dd81be64dd1dc11af667deb2e50feb2de2be | [
"Apache-2.0"
] | 148 | 2021-03-16T22:02:37.000Z | 2022-03-31T21:04:47.000Z | tests/odm/documents/test_replace.py | yo-mo/beanie | 1641dd81be64dd1dc11af667deb2e50feb2de2be | [
"Apache-2.0"
] | 53 | 2021-03-16T21:53:14.000Z | 2022-03-31T12:51:51.000Z | from tests.odm.models import Sample
async def test_replace_one(preset_documents):
count_1_before = await Sample.find_many(Sample.integer == 1).count()
count_2_before = await Sample.find_many(Sample.integer == 2).count()
a_2 = await Sample.find_one(Sample.integer == 2)
await Sample.find_one(Sample.int... | 36.16129 | 72 | 0.724353 | 177 | 1,121 | 4.276836 | 0.141243 | 0.159841 | 0.217966 | 0.200793 | 0.852048 | 0.852048 | 0.852048 | 0.72391 | 0.72391 | 0.72391 | 0 | 0.039362 | 0.161463 | 1,121 | 30 | 73 | 37.366667 | 0.765957 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0 | false | 0 | 0.05 | 0 | 0.05 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
da473dbc1afe25ce1d504ecef141a244da6126a2 | 144,597 | py | Python | optimizations/experiments/cse_benchmark.py | andrejjakovljevic/arkouda-optimizations | 233ea5b970cea89c853186a2f297b4bdf11d836d | [
"MIT"
] | null | null | null | optimizations/experiments/cse_benchmark.py | andrejjakovljevic/arkouda-optimizations | 233ea5b970cea89c853186a2f297b4bdf11d836d | [
"MIT"
] | null | null | null | optimizations/experiments/cse_benchmark.py | andrejjakovljevic/arkouda-optimizations | 233ea5b970cea89c853186a2f297b4bdf11d836d | [
"MIT"
] | null | null | null | import arkouda as ak
import math
import time
# Source : https://www.growingwiththeweb.com/sorting/radix-sort-lsd/
def radix_sort(array, radix=10):
"""
Performs an LSD radix sort on an array given a radix.
"""
if len(array) == 0:
return array
# Determine minimum and maximum values
min_v... | 93.955166 | 122 | 0.284121 | 21,874 | 144,597 | 1.874463 | 0.008046 | 0.031316 | 0.029267 | 0.019901 | 0.940247 | 0.929223 | 0.92054 | 0.913663 | 0.907151 | 0.902127 | 0 | 0.207522 | 0.354917 | 144,597 | 1,538 | 123 | 94.016255 | 0.232051 | 0.013659 | 0 | 0.637407 | 0 | 0 | 0.000716 | 0.000168 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003376 | false | 0 | 0.002026 | 0 | 0.008103 | 0.004051 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
da4a47e2a58eecbff008ac5ee5be9c3c69e85b13 | 43 | py | Python | test/include_lv0.py | pavelkukov/fsimport | 7020b941259fe78e20829029b9aa828d2de8300d | [
"MIT"
] | null | null | null | test/include_lv0.py | pavelkukov/fsimport | 7020b941259fe78e20829029b9aa828d2de8300d | [
"MIT"
] | null | null | null | test/include_lv0.py | pavelkukov/fsimport | 7020b941259fe78e20829029b9aa828d2de8300d | [
"MIT"
] | null | null | null | def get_text():
return 'text from lv0'
| 14.333333 | 26 | 0.651163 | 7 | 43 | 3.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.232558 | 43 | 2 | 27 | 21.5 | 0.787879 | 0 | 0 | 0 | 0 | 0 | 0.302326 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
e55f955f4ce84d43e85212b0bc7649d546810e41 | 19,411 | py | Python | spacy/lang/it/tag_map.py | algteam/spacy_zh_model | 0b0cba1a3964aa426e5f96087849c90e69e2a89d | [
"MIT"
] | 5 | 2019-04-19T06:27:29.000Z | 2019-12-02T13:30:47.000Z | spacy/lang/it/tag_map.py | algteam/spacy_zh_model | 0b0cba1a3964aa426e5f96087849c90e69e2a89d | [
"MIT"
] | null | null | null | spacy/lang/it/tag_map.py | algteam/spacy_zh_model | 0b0cba1a3964aa426e5f96087849c90e69e2a89d | [
"MIT"
] | 2 | 2019-04-19T06:27:18.000Z | 2019-10-04T12:39:15.000Z | # coding: utf8
from __future__ import unicode_literals
from ...symbols import POS, PUNCT, SYM, ADJ, NUM, DET, ADV, ADP, X, VERB
from ...symbols import NOUN, PROPN, PART, INTJ, SPACE, PRON, SCONJ, AUX, CONJ
TAG_MAP = {
"AP__Gender=Fem|Number=Plur|Poss=Yes|PronType=Prs": {POS: DET},
"AP__Gender=Fem|Nu... | 59.910494 | 84 | 0.663335 | 3,020 | 19,411 | 4.047682 | 0.036424 | 0.104712 | 0.122546 | 0.086224 | 0.930792 | 0.90126 | 0.873691 | 0.764316 | 0.666558 | 0.605612 | 0 | 0.007715 | 0.131884 | 19,411 | 323 | 85 | 60.095975 | 0.717702 | 0.000618 | 0 | 0 | 0 | 0 | 0.652511 | 0.619797 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.009404 | 0 | 0.009404 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e5b9fc1ed9ccb2e33f860192f1815ce8ad608e3d | 6,644 | py | Python | tests/sapcai/apis/request/models/test_response.py | SAPConversationalAI/SDK-python | 68cf1502ce61d1930db7f3bf623114f7d7990ce5 | [
"MIT"
] | 9 | 2019-02-07T06:57:55.000Z | 2022-02-23T07:18:31.000Z | tests/sapcai/apis/request/models/test_response.py | SAPConversationalAI/SDK-python | 68cf1502ce61d1930db7f3bf623114f7d7990ce5 | [
"MIT"
] | 1 | 2020-06-26T18:31:18.000Z | 2021-08-31T17:23:46.000Z | tests/sapcai/apis/request/models/test_response.py | SAPConversationalAI/SDK-python | 68cf1502ce61d1930db7f3bf623114f7d7990ce5 | [
"MIT"
] | 9 | 2019-01-15T10:40:50.000Z | 2021-06-17T00:10:27.000Z | # coding: utf-8
import json
from sapcai import Response
from sapcai import Intent
from sapcai import Entity
class TestResponse(object):
def test_instanciable(self):
Response(json.dumps({'results': {'uuid': 'db4837b0-8359-4505-9678-c4081a6f2ad8', 'source': 'What is the weather in London tomorrow? And in Paris?'... | 102.215385 | 948 | 0.652017 | 886 | 6,644 | 4.857788 | 0.142212 | 0.094331 | 0.055762 | 0.046004 | 0.828067 | 0.742797 | 0.742797 | 0.742797 | 0.736292 | 0.736292 | 0 | 0.102339 | 0.124925 | 6,644 | 64 | 949 | 103.8125 | 0.637943 | 0.001957 | 0 | 0.109091 | 0 | 0 | 0.45663 | 0.068638 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0.072727 | false | 0 | 0.072727 | 0 | 0.163636 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
e5e7eecbb5c389b0bd104435bdcc130302db71ac | 285 | py | Python | tests/fixtures/devalidation/B.py | Nitnelav/synpp | b2b2136a99701ce77fd4fea939f8efb521f67c21 | [
"MIT"
] | 6 | 2020-04-01T12:06:20.000Z | 2021-11-02T19:10:27.000Z | tests/fixtures/devalidation/B.py | Nitnelav/synpp | b2b2136a99701ce77fd4fea939f8efb521f67c21 | [
"MIT"
] | 26 | 2019-12-08T12:25:39.000Z | 2022-02-28T07:24:56.000Z | tests/fixtures/devalidation/B.py | Nitnelav/synpp | b2b2136a99701ce77fd4fea939f8efb521f67c21 | [
"MIT"
] | 8 | 2020-06-19T15:49:46.000Z | 2021-07-06T10:15:37.000Z | def configure(context):
context.stage("tests.fixtures.devalidation.A1")
context.stage("tests.fixtures.devalidation.A2")
def execute(context):
a1 = context.stage("tests.fixtures.devalidation.A1")
a2 = context.stage("tests.fixtures.devalidation.A2")
return a1 + a2
| 28.5 | 56 | 0.722807 | 35 | 285 | 5.885714 | 0.314286 | 0.23301 | 0.330097 | 0.485437 | 0.76699 | 0.76699 | 0 | 0 | 0 | 0 | 0 | 0.032389 | 0.133333 | 285 | 9 | 57 | 31.666667 | 0.801619 | 0 | 0 | 0 | 0 | 0 | 0.421053 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
970e2d95250579c5f3f3d0215b166d1cf1c473e0 | 6,078 | py | Python | test/api/test_api_actors.py | bplusv/ufs-casting-agency | 87f7835de142d1cf528cfab1d0219258d3938510 | [
"MIT"
] | null | null | null | test/api/test_api_actors.py | bplusv/ufs-casting-agency | 87f7835de142d1cf528cfab1d0219258d3938510 | [
"MIT"
] | 1 | 2020-10-08T18:46:06.000Z | 2020-10-08T18:47:14.000Z | test/api/test_api_actors.py | bplusv/ufs-casting-agency | 87f7835de142d1cf528cfab1d0219258d3938510 | [
"MIT"
] | 1 | 2020-10-13T01:51:00.000Z | 2020-10-13T01:51:00.000Z | from flask_sqlalchemy import SQLAlchemy
from src.models import Actor
from src.auth import UserRole
db = SQLAlchemy()
def test_get_actor(client, auth):
actor_id = 1
res = client.get(f'/api/actors/{actor_id}', headers={
'Authorization': auth.bearer_token(UserRole.CASTING_ASSISTANT)})
data = res.g... | 32.15873 | 79 | 0.65696 | 814 | 6,078 | 4.738329 | 0.103194 | 0.038113 | 0.074669 | 0.093337 | 0.824994 | 0.788955 | 0.788955 | 0.767695 | 0.747472 | 0.747472 | 0 | 0.015231 | 0.211418 | 6,078 | 188 | 80 | 32.329787 | 0.789485 | 0 | 0 | 0.658385 | 0 | 0 | 0.141165 | 0.025173 | 0 | 0 | 0 | 0 | 0.42236 | 1 | 0.074534 | false | 0 | 0.018634 | 0 | 0.093168 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8add1020a6e3068b9d3b313aa6f82e7f1f80fdd7 | 4,032 | py | Python | tarpan/plot/kde_test.py | evgenyneu/tarpan | 34a5dd8d98b09341e28946ef6aa03da03e62cf1c | [
"Unlicense"
] | 2 | 2020-10-12T15:12:09.000Z | 2022-03-01T03:10:12.000Z | tarpan/plot/kde_test.py | evgenyneu/tarpan | 34a5dd8d98b09341e28946ef6aa03da03e62cf1c | [
"Unlicense"
] | 1 | 2022-03-01T13:05:54.000Z | 2022-03-01T13:05:54.000Z | tarpan/plot/kde_test.py | evgenyneu/tarpan | 34a5dd8d98b09341e28946ef6aa03da03e62cf1c | [
"Unlicense"
] | null | null | null | import os
import shutil
import pytest
from pytest import approx
from tarpan.plot.kde import (
gaussian_kde, save_scatter_and_kde, scatter_and_kde)
def test_kde_with_uncerts():
result = gaussian_kde([-10.1, 9.8], [-10, 10], [1.4, 1.8])
assert result.shape[0] == 2
assert result[0] == approx(0.14211638... | 34.758621 | 77 | 0.53373 | 727 | 4,032 | 2.884457 | 0.174691 | 0.018598 | 0.024797 | 0.048641 | 0.831187 | 0.771578 | 0.732475 | 0.719123 | 0.719123 | 0.719123 | 0 | 0.249834 | 0.251488 | 4,032 | 115 | 78 | 35.06087 | 0.444997 | 0.010665 | 0 | 0.675 | 0 | 0 | 0.096839 | 0.015554 | 0 | 0 | 0 | 0 | 0.1 | 1 | 0.075 | false | 0 | 0.0625 | 0 | 0.1375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
c18a8d6533415393ef43e981358d63f791711f25 | 178 | py | Python | selene/api/__init__.py | KalinkinaMaria/selene | 859e1102c85740b52af8d0f08dd6b6490b4bd2ff | [
"MIT"
] | null | null | null | selene/api/__init__.py | KalinkinaMaria/selene | 859e1102c85740b52af8d0f08dd6b6490b4bd2ff | [
"MIT"
] | 1 | 2021-06-02T04:21:17.000Z | 2021-06-02T04:21:17.000Z | selene/api/__init__.py | vkarpenko/selene | 4776357430c940be38f38be9981006dd156f9730 | [
"MIT"
] | null | null | null | from selene import config, browser, browsers
from selene.support.jquery_style_selectors import s, ss
from selene.support import by
from selene.support.conditions import be, have
| 35.6 | 55 | 0.837079 | 27 | 178 | 5.444444 | 0.592593 | 0.272109 | 0.346939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11236 | 178 | 4 | 56 | 44.5 | 0.93038 | 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 | 1 | 0 | 0 | 7 |
c1d004f6223a8592517685b422d9b579431df979 | 54 | py | Python | __init__.py | Hiddenstorm/DiscAPI | 172c535b99f0888a575e2c5b95a5c42333862057 | [
"MIT"
] | 1 | 2022-02-21T21:56:49.000Z | 2022-02-21T21:56:49.000Z | __init__.py | Hiddenstorm/DiscAPI | 172c535b99f0888a575e2c5b95a5c42333862057 | [
"MIT"
] | null | null | null | __init__.py | Hiddenstorm/DiscAPI | 172c535b99f0888a575e2c5b95a5c42333862057 | [
"MIT"
] | null | null | null | from .DiscAPI import Client
from .DiscAPI import Guild | 27 | 27 | 0.833333 | 8 | 54 | 5.625 | 0.625 | 0.488889 | 0.755556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12963 | 54 | 2 | 28 | 27 | 0.957447 | 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 | 1 | 0 | 0 | 7 |
c1fe825a8c2d1e7b9eec6628c87038caa46341b1 | 9 | py | Python | python/testData/psi/QualifiedTarget.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 331 | 2020-05-27T21:54:25.000Z | 2022-03-28T04:26:25.000Z | python/testData/psi/QualifiedTarget.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 187 | 2020-05-24T00:45:12.000Z | 2022-03-30T20:22:05.000Z | python/testData/psi/QualifiedTarget.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 50 | 2020-09-07T06:13:11.000Z | 2022-03-30T19:38:29.000Z | a.b = 23
| 4.5 | 8 | 0.444444 | 3 | 9 | 1.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.333333 | 9 | 1 | 9 | 9 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e707054fbe855d1ddb61f486f3b512f224905251 | 15,310 | py | Python | raiden_contracts/tests/fixtures/channel_test_values.py | marcosmartinez7/lumino-contracts | 700d6cb6b4c90d0173b3d206238fd31a02dcb9bd | [
"MIT"
] | 3 | 2019-06-12T14:50:12.000Z | 2020-12-25T07:25:23.000Z | raiden_contracts/tests/fixtures/channel_test_values.py | marcosmartinez7/lumino-contracts | 700d6cb6b4c90d0173b3d206238fd31a02dcb9bd | [
"MIT"
] | 2 | 2019-12-08T21:06:56.000Z | 2021-01-21T02:44:58.000Z | raiden_contracts/tests/fixtures/channel_test_values.py | marcosmartinez7/lumino-contracts | 700d6cb6b4c90d0173b3d206238fd31a02dcb9bd | [
"MIT"
] | 5 | 2019-06-12T14:02:07.000Z | 2020-12-10T11:21:37.000Z | from raiden_contracts.tests.utils import MAX_UINT256, ChannelValues, LockedAmounts
# We must cover the edge cases documented in
# https://github.com/raiden-network/raiden-contracts/issues/188
# The scope is to make sure that if someone uses an old balance proof, this cannot be used as
# an attack to steal tokens.
# Fo... | 40.183727 | 99 | 0.591182 | 1,429 | 15,310 | 6.229531 | 0.142057 | 0.094361 | 0.119748 | 0.157268 | 0.800045 | 0.793642 | 0.774657 | 0.746686 | 0.717479 | 0.684228 | 0 | 0.052763 | 0.346375 | 15,310 | 380 | 100 | 40.289474 | 0.836814 | 0.302874 | 0 | 0.805369 | 0 | 0 | 0.006231 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.003356 | 0 | 0.003356 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e73ed25eb52a90c0527f857bdddfbb88c84a3e63 | 219 | py | Python | rasa_nlu/extractors/__init__.py | dharampal/rasa_nlu | 202b9041393a3f0e5667e3a33e18c661bd695232 | [
"Apache-2.0"
] | 1 | 2019-06-12T08:21:32.000Z | 2019-06-12T08:21:32.000Z | rasa_nlu/extractors/__init__.py | dharampal/rasa_nlu | 202b9041393a3f0e5667e3a33e18c661bd695232 | [
"Apache-2.0"
] | null | null | null | rasa_nlu/extractors/__init__.py | dharampal/rasa_nlu | 202b9041393a3f0e5667e3a33e18c661bd695232 | [
"Apache-2.0"
] | null | null | null | from __future__ import unicode_literals
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from builtins import object
class EntityExtractor(object):
pass
| 21.9 | 39 | 0.853881 | 27 | 219 | 6.222222 | 0.518519 | 0.238095 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13242 | 219 | 9 | 40 | 24.333333 | 0.884211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.142857 | 0.714286 | 0 | 0.857143 | 0.142857 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 7 |
82163a8090773c006ca92acdb063527b642818c0 | 131 | py | Python | api/src/application/socrata/errors.py | iliaskaras/housing-units | 2b0d78fcb42629ce7530b2da556ebd550cc7bec8 | [
"MIT"
] | null | null | null | api/src/application/socrata/errors.py | iliaskaras/housing-units | 2b0d78fcb42629ce7530b2da556ebd550cc7bec8 | [
"MIT"
] | null | null | null | api/src/application/socrata/errors.py | iliaskaras/housing-units | 2b0d78fcb42629ce7530b2da556ebd550cc7bec8 | [
"MIT"
] | null | null | null | from application.infrastructure.error.errors import ValidationError
class SocrataDatasetDownloadError(ValidationError):
pass
| 21.833333 | 67 | 0.854962 | 11 | 131 | 10.181818 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099237 | 131 | 5 | 68 | 26.2 | 0.949153 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
68bf06663792e6431427bfd9d213fb42644b4d97 | 1,629 | py | Python | kameleon_rks/densities/test_gaussian.py | ingmarschuster/kameleon_rks | 129b8ee4151d310dd7a1bdf454eb58bb80c43435 | [
"MIT"
] | 3 | 2018-08-26T09:09:29.000Z | 2021-04-16T06:08:27.000Z | kameleon_rks/densities/test_gaussian.py | ingmarschuster/kameleon_rks | 129b8ee4151d310dd7a1bdf454eb58bb80c43435 | [
"MIT"
] | null | null | null | kameleon_rks/densities/test_gaussian.py | ingmarschuster/kameleon_rks | 129b8ee4151d310dd7a1bdf454eb58bb80c43435 | [
"MIT"
] | 1 | 2019-10-24T22:22:39.000Z | 2019-10-24T22:22:39.000Z | from numpy.testing.utils import assert_allclose
from kameleon_rks.densities.gaussian import log_gaussian_pdf_multiple, \
log_gaussian_pdf
import numpy as np
def test_log_gaussian_pdf_multiple_equals_log_gaussian_pdf_looped_full_cov():
N = 100
D = 3
X = np.random.randn(N, D)
mu = np.random.ra... | 33.9375 | 111 | 0.70043 | 261 | 1,629 | 4.011494 | 0.195402 | 0.17192 | 0.187202 | 0.152818 | 0.833811 | 0.833811 | 0.833811 | 0.833811 | 0.833811 | 0.833811 | 0 | 0.007734 | 0.206262 | 1,629 | 48 | 112 | 33.9375 | 0.802011 | 0 | 0 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 0 | null | null | 0 | 0.090909 | null | null | 0.060606 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
68c3b3b6e26f4e54ef6d893d76d9ef56ba50d500 | 49,824 | py | Python | server/flaskServer/plotter.py | jufabeck2202/projektarbeit-iobased-login | 61486e8ecef2c66717f1bd0838cba79eed6cd323 | [
"MIT"
] | 1 | 2020-12-30T18:11:27.000Z | 2020-12-30T18:11:27.000Z | server/flaskServer/plotter.py | SiggiSigmann/projektarbeit-iobased-login | 61486e8ecef2c66717f1bd0838cba79eed6cd323 | [
"MIT"
] | null | null | null | server/flaskServer/plotter.py | SiggiSigmann/projektarbeit-iobased-login | 61486e8ecef2c66717f1bd0838cba79eed6cd323 | [
"MIT"
] | null | null | null | import io
import random
import sys
import json
import networkx as nx
import datetime
import matplotlib
import matplotlib.pyplot as plt
from matplotlib import rcParams
from matplotlib import rcParams
from matplotlib.figure import Figure
from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas
impor... | 33.574124 | 244 | 0.548912 | 6,456 | 49,824 | 4.085502 | 0.0522 | 0.035297 | 0.039051 | 0.054671 | 0.838224 | 0.816879 | 0.794093 | 0.762436 | 0.739536 | 0.719366 | 0 | 0.018338 | 0.330182 | 49,824 | 1,483 | 245 | 33.596763 | 0.772001 | 0.151895 | 0 | 0.754135 | 0 | 0.019846 | 0.099314 | 0.002191 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034179 | false | 0 | 0.015436 | 0 | 0.085998 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
68f608ea5ec32d3e2bc7572167f2de3aec5a48a8 | 11,820 | py | Python | tests/test_layer.py | ttomasz/tilekiln | 687d92fee2744d2ec828f3a2e15cc5dc3143c24c | [
"0BSD"
] | 25 | 2020-03-15T00:52:37.000Z | 2022-01-20T01:00:48.000Z | tests/test_layer.py | ttomasz/tilekiln | 687d92fee2744d2ec828f3a2e15cc5dc3143c24c | [
"0BSD"
] | 17 | 2020-04-02T07:03:56.000Z | 2021-08-22T13:46:54.000Z | tests/test_layer.py | ttomasz/tilekiln | 687d92fee2744d2ec828f3a2e15cc5dc3143c24c | [
"0BSD"
] | 4 | 2020-04-06T06:46:11.000Z | 2021-06-07T18:38:32.000Z | from unittest import TestCase
from unittest.mock import Mock
from tilekiln.layer import Layer
from tilekiln.definition import Definition
from tilekiln.database import Database
from fs.memoryfs import MemoryFS
class TestLayer(TestCase):
def test_equals(self):
fs1 = MemoryFS()
fs1.writetext('foo.sql... | 49.045643 | 79 | 0.350508 | 869 | 11,820 | 4.724971 | 0.088608 | 0.070628 | 0.151242 | 0.184121 | 0.818802 | 0.813444 | 0.811008 | 0.811008 | 0.800779 | 0.800779 | 0 | 0.021608 | 0.510575 | 11,820 | 240 | 80 | 49.25 | 0.688159 | 0.008799 | 0 | 0.813397 | 0 | 0 | 0.244704 | 0 | 0 | 0 | 0 | 0 | 0.086124 | 1 | 0.023923 | false | 0 | 0.028708 | 0 | 0.057416 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 | 9 |
ec504b30d86a0a358037081e0cefb86fe41b74b0 | 109 | py | Python | python/module/calc.py | wjiec/packages | 4ccaf8f717265a1f8a9af533f9a998b935efb32a | [
"MIT"
] | null | null | null | python/module/calc.py | wjiec/packages | 4ccaf8f717265a1f8a9af533f9a998b935efb32a | [
"MIT"
] | 1 | 2016-09-15T07:06:15.000Z | 2016-09-15T07:06:15.000Z | python/module/calc.py | wjiec/packages | 4ccaf8f717265a1f8a9af533f9a998b935efb32a | [
"MIT"
] | null | null | null | #!/usr/bin/python35
import calc.calc
# calc.calc.add
# package.module.method
print(calc.calc.add(-2, 100))
| 13.625 | 29 | 0.715596 | 18 | 109 | 4.333333 | 0.666667 | 0.410256 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 0.100917 | 109 | 7 | 30 | 15.571429 | 0.734694 | 0.495413 | 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 | 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 | 1 | 0 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.