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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
01eed648e12bf73244b613907d703275df054c31 | 80 | py | Python | backend/util/response/models/price/__init__.py | willrp/willorders-ws | de0757d8888dab41095c93500a6a88c813755530 | [
"MIT"
] | 4 | 2020-02-19T09:27:23.000Z | 2021-11-26T00:42:06.000Z | backend/util/response/store/models/price/__init__.py | willrp/willbuyer | 069836a91c777ede6f62a16daa9f26e555d66bcb | [
"MIT"
] | null | null | null | backend/util/response/store/models/price/__init__.py | willrp/willbuyer | 069836a91c777ede6f62a16daa9f26e555d66bcb | [
"MIT"
] | null | null | null | from .price_response import PriceResponse
from .price_schema import PriceSchema
| 26.666667 | 41 | 0.875 | 10 | 80 | 6.8 | 0.7 | 0.264706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 80 | 2 | 42 | 40 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
170ba69fa15dd2f600a2137d34e07ef22f56ca1a | 4,989 | py | Python | tests/test_models/test_backbones/test_litehrnet.py | Junjun2016/LiteHRNet | e2b13de52e970215be566067cab7bd880010f062 | [
"Apache-2.0"
] | 12 | 2021-08-31T17:20:18.000Z | 2022-03-10T20:58:59.000Z | tests/test_models/test_backbones/test_litehrnet.py | Junjun2016/LiteHRNet | e2b13de52e970215be566067cab7bd880010f062 | [
"Apache-2.0"
] | null | null | null | tests/test_models/test_backbones/test_litehrnet.py | Junjun2016/LiteHRNet | e2b13de52e970215be566067cab7bd880010f062 | [
"Apache-2.0"
] | null | null | null | import pytest
import torch
from torch.nn.modules.batchnorm import _BatchNorm
from mmseg.models.backbones import LiteHRNet
from mmseg.models.backbones.litehrnet import LiteHRModule
def is_norm(modules):
"""Check if is one of the norms."""
if isinstance(modules, (_BatchNorm, )):
return True
return ... | 28.672414 | 69 | 0.521347 | 650 | 4,989 | 3.861538 | 0.138462 | 0.047809 | 0.066932 | 0.071713 | 0.763745 | 0.739044 | 0.739044 | 0.739044 | 0.730279 | 0.670916 | 0 | 0.096862 | 0.335739 | 4,989 | 173 | 70 | 28.83815 | 0.660531 | 0.033073 | 0 | 0.751773 | 0 | 0 | 0.015388 | 0 | 0 | 0 | 0 | 0 | 0.113475 | 1 | 0.028369 | false | 0 | 0.035461 | 0 | 0.085106 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
170d476718b228ef86095364bb4dbc3f0b2fa3d1 | 19,461 | py | Python | ePyHTML.py | MCTVR/ePyHTML | e1ebcfbafe2c0f1ae8f8d89a891104fe9a65ea2b | [
"MIT"
] | 3 | 2021-02-08T05:15:30.000Z | 2022-01-27T01:09:20.000Z | ePyHTML.py | MCTVR/ePyHTML | e1ebcfbafe2c0f1ae8f8d89a891104fe9a65ea2b | [
"MIT"
] | null | null | null | ePyHTML.py | MCTVR/ePyHTML | e1ebcfbafe2c0f1ae8f8d89a891104fe9a65ea2b | [
"MIT"
] | null | null | null | """
MADE BY MCTVR
MIT LICENSE
GITHUB ONLY
OPEN SOURCED
WILL UPDATE FREQUENTLY
V 0.3
"""
import re
from os import path
def startHTML(name_of_file, extension="", title="", css_path=""):
if extension == "":
name_of_file = str(name_of_file + ".html")
elif "html" in extension:
name_of_file = str(nam... | 41.672377 | 119 | 0.504856 | 2,586 | 19,461 | 3.767981 | 0.057618 | 0.077586 | 0.127771 | 0.136289 | 0.930624 | 0.91564 | 0.906814 | 0.884647 | 0.843801 | 0.784585 | 0 | 0.011228 | 0.304404 | 19,461 | 466 | 120 | 41.761803 | 0.708576 | 0.075022 | 0 | 0.681564 | 0 | 0.01676 | 0.35236 | 0.138509 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030726 | false | 0 | 0.005587 | 0 | 0.315642 | 0.142458 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
170eafb6b391d3c5733b4dc29da917bc5cdf1ba7 | 74 | py | Python | labyrinthe/__init__.py | picnic/labyrinthe | faf0993e1b842bd02ef03446e49649ac0a520bf4 | [
"MIT"
] | 1 | 2019-12-08T20:42:34.000Z | 2019-12-08T20:42:34.000Z | labyrinthe/__init__.py | picnic/labyrinthe | faf0993e1b842bd02ef03446e49649ac0a520bf4 | [
"MIT"
] | null | null | null | labyrinthe/__init__.py | picnic/labyrinthe | faf0993e1b842bd02ef03446e49649ac0a520bf4 | [
"MIT"
] | null | null | null | from labyrinthe.labyrinthe import *
from labyrinthe.generateur import *
| 24.666667 | 36 | 0.810811 | 8 | 74 | 7.5 | 0.5 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 74 | 2 | 37 | 37 | 0.9375 | 0 | 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 | 0 | 0 | 0 | 6 |
1716c86f61c862ce46ad8ee5e8826bf66add8574 | 126 | py | Python | runimports.py | BryceBrown/LinkstrDjango | dc8697419a7a9fb8fe11646bb786fd983ca8d585 | [
"Apache-2.0"
] | null | null | null | runimports.py | BryceBrown/LinkstrDjango | dc8697419a7a9fb8fe11646bb786fd983ca8d585 | [
"Apache-2.0"
] | null | null | null | runimports.py | BryceBrown/LinkstrDjango | dc8697419a7a9fb8fe11646bb786fd983ca8d585 | [
"Apache-2.0"
] | 1 | 2021-12-28T06:50:52.000Z | 2021-12-28T06:50:52.000Z | from DbSetup.setupTestDatabase import *
from DbSetup.importLocationData import *
import os
RunDbSetup()
ImportLocationData() | 18 | 40 | 0.833333 | 12 | 126 | 8.75 | 0.583333 | 0.209524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103175 | 126 | 7 | 41 | 18 | 0.929204 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1716d799b95db43b19d0f5462643f2c036cb6328 | 138 | py | Python | tests/test_os.py | pipizhang/flask-helloworld | d6ec4ec3442269b42e644a825545f0bcf381823a | [
"MIT"
] | null | null | null | tests/test_os.py | pipizhang/flask-helloworld | d6ec4ec3442269b42e644a825545f0bcf381823a | [
"MIT"
] | null | null | null | tests/test_os.py | pipizhang/flask-helloworld | d6ec4ec3442269b42e644a825545f0bcf381823a | [
"MIT"
] | null | null | null | import pytest
import lib.os as o
def test_uname():
assert o.uname() == "Linux"
def test_whoami():
assert o.whoami() == "peter"
| 13.8 | 32 | 0.637681 | 21 | 138 | 4.095238 | 0.619048 | 0.162791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210145 | 138 | 9 | 33 | 15.333333 | 0.788991 | 0 | 0 | 0 | 0 | 0 | 0.072993 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1741b35b7a08aeaf0faddd238aba8ebcd98537fd | 59 | py | Python | SBaaS_models/models_MASS_io.py | dmccloskey/SBaaS_models | 014783370e735719f3a6fc953b7c95af65be0bd6 | [
"MIT"
] | null | null | null | SBaaS_models/models_MASS_io.py | dmccloskey/SBaaS_models | 014783370e735719f3a6fc953b7c95af65be0bd6 | [
"MIT"
] | null | null | null | SBaaS_models/models_MASS_io.py | dmccloskey/SBaaS_models | 014783370e735719f3a6fc953b7c95af65be0bd6 | [
"MIT"
] | null | null | null |
from SBaaS_base.sbaas_template_io import sbaas_template_io | 29.5 | 58 | 0.915254 | 10 | 59 | 4.9 | 0.6 | 0.530612 | 0.612245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 59 | 2 | 58 | 29.5 | 0.890909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
179a12f54dd2c890e833a6bdbca31682cf3e38f6 | 21 | py | Python | other/vovnet/models_vovnet/__init__.py | xiaonanQua/experiment | 19925c9af5cffc73451dc7674bc3afce25abf772 | [
"MIT"
] | null | null | null | other/vovnet/models_vovnet/__init__.py | xiaonanQua/experiment | 19925c9af5cffc73451dc7674bc3afce25abf772 | [
"MIT"
] | null | null | null | other/vovnet/models_vovnet/__init__.py | xiaonanQua/experiment | 19925c9af5cffc73451dc7674bc3afce25abf772 | [
"MIT"
] | null | null | null | from .vovnet import * | 21 | 21 | 0.761905 | 3 | 21 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bd5d52aaf01061f734989912589590e3cd7e405d | 7,094 | py | Python | tests/test_gigaleaf.py | sjcporter/gigaleaf | 0ad302cf8404b9488cb292623aea9376bbe75fee | [
"MIT"
] | 28 | 2020-04-28T20:43:51.000Z | 2021-11-21T23:02:59.000Z | tests/test_gigaleaf.py | sjcporter/gigaleaf | 0ad302cf8404b9488cb292623aea9376bbe75fee | [
"MIT"
] | 7 | 2020-04-07T20:49:10.000Z | 2021-08-09T15:19:17.000Z | tests/test_gigaleaf.py | sjcporter/gigaleaf | 0ad302cf8404b9488cb292623aea9376bbe75fee | [
"MIT"
] | 5 | 2020-07-20T18:13:25.000Z | 2021-08-28T21:25:11.000Z | import pytest
from pathlib import Path
import json
import shutil
from gigaleaf import Gigaleaf
from gigaleaf.gigantum import Gigantum
from tests.fixtures import gigantum_project_fixture
class TestGigaleaf:
def test_empty_sync(self, gigantum_project_fixture):
gigaleaf = Gigaleaf()
# should be a n... | 39.631285 | 120 | 0.637863 | 819 | 7,094 | 5.272283 | 0.125763 | 0.053497 | 0.093793 | 0.13849 | 0.800602 | 0.78578 | 0.776054 | 0.764474 | 0.723715 | 0.723715 | 0 | 0.0083 | 0.235692 | 7,094 | 178 | 121 | 39.853933 | 0.788086 | 0.024951 | 0 | 0.680672 | 0 | 0 | 0.173152 | 0.007088 | 0 | 0 | 0 | 0 | 0.310924 | 1 | 0.067227 | false | 0 | 0.058824 | 0 | 0.134454 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bd6f77bfb53aee8efbb5c51fd51b9b66a33b47a7 | 158 | py | Python | Nodes/Statements/Generic.py | Mohsin-Ul-Islam/YAPL | 163da2dfd879fc6dee9bc0e1b1c94972c75935cd | [
"MIT"
] | null | null | null | Nodes/Statements/Generic.py | Mohsin-Ul-Islam/YAPL | 163da2dfd879fc6dee9bc0e1b1c94972c75935cd | [
"MIT"
] | null | null | null | Nodes/Statements/Generic.py | Mohsin-Ul-Islam/YAPL | 163da2dfd879fc6dee9bc0e1b1c94972c75935cd | [
"MIT"
] | null | null | null | class Node:
def __init__(self, statement):
self.statement = statement
def visit(self, context):
return self.statement.visit(context)
| 22.571429 | 44 | 0.664557 | 18 | 158 | 5.611111 | 0.5 | 0.386139 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.240506 | 158 | 6 | 45 | 26.333333 | 0.841667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
da390196a9b6979764dab94be2730af7dc0881cb | 395 | py | Python | mc/instr/smov.py | iximeow/binja-m16c | debf368e5df90a96d6c8b0bc128626a9d6834bb4 | [
"0BSD"
] | 12 | 2020-01-15T00:51:06.000Z | 2021-10-02T12:45:50.000Z | mc/instr/smov.py | iximeow/binja-m16c | debf368e5df90a96d6c8b0bc128626a9d6834bb4 | [
"0BSD"
] | 2 | 2020-02-03T08:26:26.000Z | 2020-07-01T19:51:44.000Z | mc/instr/smov.py | iximeow/binja-m16c | debf368e5df90a96d6c8b0bc128626a9d6834bb4 | [
"0BSD"
] | 4 | 2020-02-03T07:51:12.000Z | 2021-02-14T19:13:07.000Z | from . import *
__all__ = ['Smovf', 'Smovb', 'Sstr']
class Smovf(InstrLongOpcode, HasSize):
def name(self):
return "SMOVF.{}".format(self.size_suffix())
class Smovb(InstrLongOpcode, HasSize):
def name(self):
return "SMOVB.{}".format(self.size_suffix())
class Sstr(InstrLongOpcode, HasSize... | 19.75 | 52 | 0.643038 | 45 | 395 | 5.488889 | 0.355556 | 0.267206 | 0.303644 | 0.352227 | 0.676113 | 0.473684 | 0 | 0 | 0 | 0 | 0 | 0 | 0.187342 | 395 | 19 | 53 | 20.789474 | 0.76947 | 0 | 0 | 0.272727 | 0 | 0 | 0.093671 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.090909 | 0.272727 | 0.909091 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
da60455028fc1cdbfdf0197b4ca175835a6a6c28 | 157 | py | Python | app/forms/__init__.py | blavian/MySafePlace | b4ce6fc5855f8ff59b48f143c467d39fe81aef88 | [
"MIT"
] | 7 | 2021-03-02T13:57:40.000Z | 2021-04-09T11:39:34.000Z | app/forms/__init__.py | blavian/MySafePlace | b4ce6fc5855f8ff59b48f143c467d39fe81aef88 | [
"MIT"
] | null | null | null | app/forms/__init__.py | blavian/MySafePlace | b4ce6fc5855f8ff59b48f143c467d39fe81aef88 | [
"MIT"
] | null | null | null | from .login_form import LoginForm
from .signup_form import SignUpForm
from .notebook_form import NotebookForm
from .affirmation_form import AffirmationForm
| 26.166667 | 45 | 0.866242 | 20 | 157 | 6.6 | 0.55 | 0.30303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10828 | 157 | 5 | 46 | 31.4 | 0.942857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
00944a47a732b7cef4e57298a5fad236bfe15aac | 64 | py | Python | berliner_intellektuelle_preprocessing/__init__.py | millawell/ibiparser | 70ce1022e396a1fbe1fb2133fcd7b0277863bd6e | [
"MIT"
] | null | null | null | berliner_intellektuelle_preprocessing/__init__.py | millawell/ibiparser | 70ce1022e396a1fbe1fb2133fcd7b0277863bd6e | [
"MIT"
] | null | null | null | berliner_intellektuelle_preprocessing/__init__.py | millawell/ibiparser | 70ce1022e396a1fbe1fb2133fcd7b0277863bd6e | [
"MIT"
] | null | null | null | import parse_xml
import extract_versions
import extract_corpora
| 16 | 23 | 0.90625 | 9 | 64 | 6.111111 | 0.666667 | 0.472727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 64 | 3 | 24 | 21.333333 | 0.948276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
00955ad7401b66bfcaa08938ef7bb2fec25bae66 | 63 | py | Python | GNN_PRP/prp_3_21/adgcl/unsupervised/convs/__init__.py | frankling2020/Self-learn-Repo | 294df18469d6d4ef6d479b1b533f42445cd01ac1 | [
"MIT"
] | 42 | 2021-06-30T21:05:28.000Z | 2022-03-28T09:23:57.000Z | GNN_PRP/prp_3_21/adgcl/unsupervised/convs/__init__.py | frankling2020/Self-learn-Repo | 294df18469d6d4ef6d479b1b533f42445cd01ac1 | [
"MIT"
] | 3 | 2021-11-04T02:49:41.000Z | 2021-12-29T08:41:15.000Z | GNN_PRP/prp_3_21/adgcl/unsupervised/convs/__init__.py | frankling2020/Self-learn-Repo | 294df18469d6d4ef6d479b1b533f42445cd01ac1 | [
"MIT"
] | 3 | 2022-01-25T16:24:17.000Z | 2022-03-24T13:45:57.000Z | from .gine_conv import GINEConv
from .wgin_conv import WGINConv | 31.5 | 31 | 0.857143 | 10 | 63 | 5.2 | 0.7 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 63 | 2 | 32 | 31.5 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
00a0206ce90887f8a899829d3f135e1fd03800ea | 159 | py | Python | tailorpad/admin/doctype/product_options/test_product_options.py | LaganJ/Tailoring | 2c527e229871c5292a9ed7c92967219b756ba99d | [
"MIT"
] | 2 | 2022-03-21T18:09:21.000Z | 2022-03-22T05:47:50.000Z | tailorpad/admin/doctype/product_options/test_product_options.py | LaganJ/Tailoring | 2c527e229871c5292a9ed7c92967219b756ba99d | [
"MIT"
] | null | null | null | tailorpad/admin/doctype/product_options/test_product_options.py | LaganJ/Tailoring | 2c527e229871c5292a9ed7c92967219b756ba99d | [
"MIT"
] | 1 | 2022-03-28T14:28:13.000Z | 2022-03-28T14:28:13.000Z | # Copyright (c) 2022, White Hat Global and Contributors
# See license.txt
# import frappe
import unittest
class TestProductOptions(unittest.TestCase):
pass
| 17.666667 | 55 | 0.786164 | 20 | 159 | 6.25 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.144654 | 159 | 8 | 56 | 19.875 | 0.889706 | 0.522013 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
00bd665da3f2a0679ede403d022cade144bcf81f | 195 | py | Python | flatpages/interfaces.py | LimpidTech/pyramid-flatpages | 86d9483a5cce32baad4c60b78341c128ba9a3fd2 | [
"MIT"
] | null | null | null | flatpages/interfaces.py | LimpidTech/pyramid-flatpages | 86d9483a5cce32baad4c60b78341c128ba9a3fd2 | [
"MIT"
] | null | null | null | flatpages/interfaces.py | LimpidTech/pyramid-flatpages | 86d9483a5cce32baad4c60b78341c128ba9a3fd2 | [
"MIT"
] | null | null | null | from zope.interface import Interface
class IFlatPagesRoot(Interface):
""" Any class that implements this interface will be respected as the root
of our flatpages URI.
"""
pass
| 19.5 | 78 | 0.717949 | 25 | 195 | 5.6 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225641 | 195 | 9 | 79 | 21.666667 | 0.927152 | 0.471795 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
00d434833aa75a55813701adf6684ed7434f62e1 | 68 | py | Python | pipeline/Step5/AlexNet_torch/torchvision/__init__.py | dyning/AlexNet-Prod | 54de9dfcf540997ff227bd92d0c7a73dc73c45aa | [
"Apache-2.0"
] | 17 | 2021-08-11T13:42:03.000Z | 2022-03-30T03:50:27.000Z | pipeline/Step5/AlexNet_torch/torchvision/__init__.py | dyning/AlexNet-Prod | 54de9dfcf540997ff227bd92d0c7a73dc73c45aa | [
"Apache-2.0"
] | 11 | 2021-08-12T06:29:17.000Z | 2021-12-23T03:15:39.000Z | pipeline/Step5/AlexNet_torch/torchvision/__init__.py | dyning/AlexNet-Prod | 54de9dfcf540997ff227bd92d0c7a73dc73c45aa | [
"Apache-2.0"
] | 17 | 2021-08-11T14:12:38.000Z | 2022-03-30T03:50:31.000Z | from . import datasets
from . import models
from . import transforms | 22.666667 | 24 | 0.794118 | 9 | 68 | 6 | 0.555556 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161765 | 68 | 3 | 24 | 22.666667 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
daa14b42838c66e05b982938c1cfbeff4623215b | 339 | py | Python | src/022-names-scores/python/test/test_solver.py | xfbs/ProjectEulerRust | e26768c56ff87b029cb2a02f56dc5cd32e1f7c87 | [
"MIT"
] | 1 | 2018-01-26T21:18:12.000Z | 2018-01-26T21:18:12.000Z | src/022-names-scores/python/test/test_solver.py | xfbs/ProjectEulerRust | e26768c56ff87b029cb2a02f56dc5cd32e1f7c87 | [
"MIT"
] | 3 | 2017-12-09T14:49:30.000Z | 2017-12-09T14:59:39.000Z | src/022-names-scores/python/test/test_solver.py | xfbs/ProjectEulerRust | e26768c56ff87b029cb2a02f56dc5cd32e1f7c87 | [
"MIT"
] | null | null | null | import unittest
import solver
class TestSolution(unittest.TestCase):
def test_worth(self):
self.assertEqual(solver.worth("A"), 1)
self.assertEqual(solver.worth("Z"), 26)
self.assertEqual(solver.worth("COLIN"), 53)
def test_solve(self):
self.assertEqual(solver.solve(["A", "Z", "COLIN"]), ... | 28.25 | 76 | 0.660767 | 47 | 339 | 4.723404 | 0.425532 | 0.27027 | 0.378378 | 0.351351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045936 | 0.165192 | 339 | 11 | 77 | 30.818182 | 0.738516 | 0 | 0 | 0 | 0 | 0 | 0.041298 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 1 | 0.222222 | false | 0 | 0.222222 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
dadda81b78a25cfb63de8c44e61bbe0f2326b396 | 48 | py | Python | docs/conf.py | productsupcom/crate-python | 415ee6d1eb3de2fe55a342e57f46841b769f1d44 | [
"Apache-2.0"
] | null | null | null | docs/conf.py | productsupcom/crate-python | 415ee6d1eb3de2fe55a342e57f46841b769f1d44 | [
"Apache-2.0"
] | null | null | null | docs/conf.py | productsupcom/crate-python | 415ee6d1eb3de2fe55a342e57f46841b769f1d44 | [
"Apache-2.0"
] | null | null | null | from crate.theme.rtd.conf.crate_python import *
| 24 | 47 | 0.8125 | 8 | 48 | 4.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9769e7ceabf68ff83fde8342faf4f19da40db413 | 97 | py | Python | fancy/plotting/__init__.py | uhecr-project/fancy | c6015b21fd88aecfb7e45f2aec438d5bda0df050 | [
"BSD-3-Clause"
] | null | null | null | fancy/plotting/__init__.py | uhecr-project/fancy | c6015b21fd88aecfb7e45f2aec438d5bda0df050 | [
"BSD-3-Clause"
] | null | null | null | fancy/plotting/__init__.py | uhecr-project/fancy | c6015b21fd88aecfb7e45f2aec438d5bda0df050 | [
"BSD-3-Clause"
] | null | null | null | # from .allskymap import *
from .allskymap_cartopy import AllSkyMapCartopy
from .corner import *
| 24.25 | 47 | 0.804124 | 11 | 97 | 7 | 0.545455 | 0.337662 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134021 | 97 | 3 | 48 | 32.333333 | 0.916667 | 0.247423 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
978f987bf11cb682b34718df931e4017c6f3ea35 | 1,776 | py | Python | Tests/PythonTests/test_marching_cubes.py | ADMTec/CubbyFlow | c71457fd04ccfaf3ef22772bab9bcec4a0a3b611 | [
"MIT"
] | 216 | 2017-01-25T04:34:30.000Z | 2021-07-15T12:36:06.000Z | Tests/PythonTests/test_marching_cubes.py | ADMTec/CubbyFlow | c71457fd04ccfaf3ef22772bab9bcec4a0a3b611 | [
"MIT"
] | 323 | 2017-01-26T13:53:13.000Z | 2021-07-14T16:03:38.000Z | Tests/PythonTests/test_marching_cubes.py | ADMTec/CubbyFlow | c71457fd04ccfaf3ef22772bab9bcec4a0a3b611 | [
"MIT"
] | 33 | 2017-01-25T05:05:49.000Z | 2021-06-17T17:30:56.000Z | import pyCubbyFlow
from pytest import approx
from pytest_utils import *
def test_marching_cubes_connectivity():
grid = pyCubbyFlow.VertexCenteredScalarGrid3((1, 1, 1))
grid[(0, 0, 0)] = -0.5
grid[(0, 0, 1)] = -0.5
grid[(0, 1, 0)] = 0.5
grid[(0, 1, 1)] = 0.5
grid[(1, 0, 0)] = -0.5
grid[(1, ... | 37 | 96 | 0.635698 | 245 | 1,776 | 4.526531 | 0.130612 | 0.072137 | 0.073039 | 0.061317 | 0.822362 | 0.762849 | 0.762849 | 0.762849 | 0.762849 | 0.762849 | 0 | 0.087296 | 0.206644 | 1,776 | 47 | 97 | 37.787234 | 0.699787 | 0 | 0 | 0.405405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216216 | 1 | 0.027027 | false | 0 | 0.081081 | 0 | 0.108108 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
97c8ad70039f6118b671ccb42299b0a6a8e9a3d7 | 7,417 | py | Python | code/multi-task_pred_ground_eval.py | bflashcp3f/textlabs-xwlp-code | b099ec7382316f80355c453b4bd4aa742bf68359 | [
"MIT"
] | 2 | 2021-04-23T13:26:24.000Z | 2021-07-21T07:29:38.000Z | code/multi-task_pred_ground_eval.py | bflashcp3f/textlabs-xwlp-code | b099ec7382316f80355c453b4bd4aa742bf68359 | [
"MIT"
] | null | null | null | code/multi-task_pred_ground_eval.py | bflashcp3f/textlabs-xwlp-code | b099ec7382316f80355c453b4bd4aa742bf68359 | [
"MIT"
] | 1 | 2021-07-21T08:23:58.000Z | 2021-07-21T08:23:58.000Z |
import math
import glob
import time
import json
import pickle
import os
import numpy as np
import operator
import time
import torch
import sys
import argparse
from pathlib import Path
from sklearn.model_selection import KFold
from collections import defaultdict, Counter
from utils.multi_task import *
def main(arg... | 36.004854 | 147 | 0.607928 | 1,029 | 7,417 | 4.056365 | 0.130224 | 0.065405 | 0.021562 | 0.049593 | 0.796358 | 0.77839 | 0.769286 | 0.769286 | 0.761859 | 0.761859 | 0 | 0.012879 | 0.288122 | 7,417 | 206 | 148 | 36.004854 | 0.777652 | 0.001079 | 0 | 0.713235 | 0 | 0 | 0.076425 | 0.027275 | 0 | 0 | 0 | 0 | 0.058824 | 1 | 0.007353 | false | 0 | 0.117647 | 0 | 0.125 | 0.022059 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8aeb2ab34b665de58ae88afc5af672778d019318 | 53 | py | Python | ipbes-ndr/src/ipbes_ndr_analysis/__init__.py | richpsharp/ipbes-analysis | 79e5ffefc1a9734d0bfbbc130e82619d769ff1e2 | [
"BSD-3-Clause"
] | 1 | 2019-10-16T17:07:34.000Z | 2019-10-16T17:07:34.000Z | ipbes-ndr/src/ipbes_ndr_analysis/__init__.py | richpsharp/ipbes-analysis | 79e5ffefc1a9734d0bfbbc130e82619d769ff1e2 | [
"BSD-3-Clause"
] | 1 | 2021-03-17T08:17:53.000Z | 2021-03-17T09:58:04.000Z | ipbes-ndr/src/ipbes_ndr_analysis/__init__.py | richpsharp/ipbes-analysis | 79e5ffefc1a9734d0bfbbc130e82619d769ff1e2 | [
"BSD-3-Clause"
] | null | null | null | from ipbes_ndr_analysis.ipbes_ndr_analysis import *
| 26.5 | 52 | 0.867925 | 8 | 53 | 5.25 | 0.625 | 0.380952 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09434 | 53 | 1 | 53 | 53 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
8aecf342e8b841625b976af21dd8653bcc970417 | 158 | py | Python | app/blogengine/blogengine/views.py | USM-F/django-simple-blog | 60b999a8ab640363324c4f269a726bbd2d3724ed | [
"MIT"
] | null | null | null | app/blogengine/blogengine/views.py | USM-F/django-simple-blog | 60b999a8ab640363324c4f269a726bbd2d3724ed | [
"MIT"
] | null | null | null | app/blogengine/blogengine/views.py | USM-F/django-simple-blog | 60b999a8ab640363324c4f269a726bbd2d3724ed | [
"MIT"
] | null | null | null | from django.http import HttpResponse
from django.shortcuts import redirect
def redirect_blog(request):
return redirect('posts_list_url', permanent=True)
| 26.333333 | 53 | 0.816456 | 21 | 158 | 6 | 0.761905 | 0.15873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113924 | 158 | 5 | 54 | 31.6 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.088608 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
c10a7586fe9f7490e38b055394723f8a8211d494 | 37 | py | Python | speedfinder/__init__.py | thomasperrot/speed-finder | dcc8f95de550829729c3f6c339370459f64a2e88 | [
"Apache-2.0"
] | 2 | 2017-02-03T21:13:41.000Z | 2018-02-27T09:57:40.000Z | speedfinder/__init__.py | thomasperrot/speed-finder | dcc8f95de550829729c3f6c339370459f64a2e88 | [
"Apache-2.0"
] | null | null | null | speedfinder/__init__.py | thomasperrot/speed-finder | dcc8f95de550829729c3f6c339370459f64a2e88 | [
"Apache-2.0"
] | null | null | null | from .speedfinder import SpeedFinder
| 18.5 | 36 | 0.864865 | 4 | 37 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c10b4ed842b1207f27d61c30db975928f6118566 | 25,646 | py | Python | suites/DatabaseApi/ContractFeePool/GetContractPoolBalances.py | dbulka/pytests | d2658cff3832293cb1b8abcd970f7df83a2b5035 | [
"MIT"
] | null | null | null | suites/DatabaseApi/ContractFeePool/GetContractPoolBalances.py | dbulka/pytests | d2658cff3832293cb1b8abcd970f7df83a2b5035 | [
"MIT"
] | null | null | null | suites/DatabaseApi/ContractFeePool/GetContractPoolBalances.py | dbulka/pytests | d2658cff3832293cb1b8abcd970f7df83a2b5035 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import random
import lemoncheesecake.api as lcc
from echopy.echoapi.ws.exceptions import RPCError
from lemoncheesecake.matching import check_that_in, check_that, has_length, equal_to, require_that_in, is_
from common.base_test import BaseTest
SUITE = {
"description": "Method 'get_contract... | 60.916865 | 120 | 0.668252 | 3,161 | 25,646 | 5.018981 | 0.061689 | 0.058998 | 0.055783 | 0.092972 | 0.869776 | 0.839458 | 0.816073 | 0.798802 | 0.787898 | 0.773716 | 0 | 0.00376 | 0.232512 | 25,646 | 420 | 121 | 61.061905 | 0.802266 | 0.000819 | 0 | 0.65625 | 0 | 0 | 0.225579 | 0.040471 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0 | 0.014205 | 0.002841 | 0.073864 | 0.005682 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c140c7161af416b4857770998445dd7022e5be88 | 34 | py | Python | examples/math.gcd/ex1.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | examples/math.gcd/ex1.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | examples/math.gcd/ex1.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | import math
print(math.gcd(6, 9))
| 11.333333 | 21 | 0.705882 | 7 | 34 | 3.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.117647 | 34 | 2 | 22 | 17 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
c16b9c435354db7865159f124914236889c7713a | 25,183 | py | Python | suites/DatabaseApi/Contracts/GetContractLogs.py | dbulka/pytests | d2658cff3832293cb1b8abcd970f7df83a2b5035 | [
"MIT"
] | null | null | null | suites/DatabaseApi/Contracts/GetContractLogs.py | dbulka/pytests | d2658cff3832293cb1b8abcd970f7df83a2b5035 | [
"MIT"
] | null | null | null | suites/DatabaseApi/Contracts/GetContractLogs.py | dbulka/pytests | d2658cff3832293cb1b8abcd970f7df83a2b5035 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import random
import lemoncheesecake.api as lcc
from lemoncheesecake.matching import check_that_in, equal_to, is_str, check_that, has_entry, has_length, require_that, \
is_true, is_integer
from common.base_test import BaseTest
SUITE = {
"description": "Method 'get_contract_logs'"
}
... | 57.495434 | 120 | 0.656991 | 3,096 | 25,183 | 4.969638 | 0.064599 | 0.071754 | 0.05167 | 0.055245 | 0.860588 | 0.837515 | 0.808007 | 0.777525 | 0.770831 | 0.760107 | 0 | 0.006041 | 0.244093 | 25,183 | 437 | 121 | 57.627002 | 0.802217 | 0.005202 | 0 | 0.660274 | 0 | 0 | 0.215595 | 0.024753 | 0 | 0 | 0 | 0.002288 | 0 | 1 | 0.057534 | false | 0 | 0.010959 | 0 | 0.093151 | 0.00274 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c1af16a277601e8d13fbec06a95b2fea2a038100 | 90 | py | Python | test/features/steps/include.py | techservicesillinois/shib-in-a-box | e2e5be45d0679b485a4379c4ebbdc95f37bb784d | [
"MIT"
] | 2 | 2020-02-28T05:20:10.000Z | 2020-06-05T20:36:39.000Z | test/features/steps/include.py | techservicesillinois/shib-in-a-box | e2e5be45d0679b485a4379c4ebbdc95f37bb784d | [
"MIT"
] | 1 | 2021-10-19T16:15:43.000Z | 2021-10-19T16:15:43.000Z | test/features/steps/include.py | techservicesillinois/shib-in-a-box | e2e5be45d0679b485a4379c4ebbdc95f37bb784d | [
"MIT"
] | 1 | 2019-04-16T15:31:02.000Z | 2019-04-16T15:31:02.000Z | from sdg.test.behave.core.steps import *
from sdg.test.behave.web.steps.requests import *
| 30 | 48 | 0.788889 | 15 | 90 | 4.733333 | 0.6 | 0.197183 | 0.309859 | 0.478873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 90 | 2 | 49 | 45 | 0.865854 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c1b68770552df1cb64e07068a2be1043d1db88a6 | 9,273 | py | Python | applaud/endpoints/ci_mac_os_versions.py | codinn/applaud | ed168ca67465b5c0acf4ab4f4e285a2ab348c96d | [
"MIT"
] | 3 | 2022-01-22T15:34:13.000Z | 2022-03-22T06:46:48.000Z | applaud/endpoints/ci_mac_os_versions.py | codinn/applaud | ed168ca67465b5c0acf4ab4f4e285a2ab348c96d | [
"MIT"
] | 1 | 2022-03-13T17:13:01.000Z | 2022-03-16T05:04:51.000Z | applaud/endpoints/ci_mac_os_versions.py | codinn/applaud | ed168ca67465b5c0acf4ab4f4e285a2ab348c96d | [
"MIT"
] | 1 | 2022-03-16T02:17:30.000Z | 2022-03-16T02:17:30.000Z | from __future__ import annotations
from .base import Endpoint, IDEndpoint, SortOrder, endpoint
from ..fields import *
from typing import Union
from ..schemas.models import *
from ..schemas.responses import *
from ..schemas.requests import *
from ..schemas.enums import *
class CiMacOsVersionsEndpoint(Endpoint):
pat... | 46.59799 | 222 | 0.709263 | 1,048 | 9,273 | 6.101145 | 0.102099 | 0.023459 | 0.02299 | 0.045981 | 0.808727 | 0.778699 | 0.768689 | 0.755865 | 0.689396 | 0.666719 | 0 | 0.005473 | 0.211906 | 9,273 | 198 | 223 | 46.833333 | 0.869458 | 0.39189 | 0 | 0.513514 | 0 | 0 | 0.094795 | 0.01979 | 0 | 0 | 0 | 0 | 0 | 1 | 0.175676 | false | 0 | 0.108108 | 0.013514 | 0.581081 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
c1cd990952b38198443b74c0b5b3da9f9d43dbc9 | 313 | py | Python | pillow_lut/utils.py | homm/pillow-lut-tools | 6f007559efa778c6078ca7bb672f2e973f16c2cd | [
"MIT"
] | 31 | 2018-05-05T19:29:38.000Z | 2022-03-16T07:36:34.000Z | pillow_lut/utils.py | homm/pillow-lut-tools | 6f007559efa778c6078ca7bb672f2e973f16c2cd | [
"MIT"
] | 7 | 2018-04-02T09:05:44.000Z | 2022-01-01T02:33:46.000Z | pillow_lut/utils.py | homm/pillow-lut-tools | 6f007559efa778c6078ca7bb672f2e973f16c2cd | [
"MIT"
] | 2 | 2020-03-16T18:33:25.000Z | 2022-01-02T01:34:42.000Z | if bytes is str: # pragma: no cover
def isStringType(t):
return isinstance(t, basestring)
def isPath(f):
return isinstance(f, basestring)
else: # pragma: no cover
def isStringType(t):
return isinstance(t, str)
def isPath(f):
return isinstance(f, (bytes, str))
| 22.357143 | 42 | 0.616613 | 40 | 313 | 4.825 | 0.4 | 0.331606 | 0.134715 | 0.165803 | 0.756477 | 0.756477 | 0.476684 | 0.476684 | 0.476684 | 0 | 0 | 0 | 0.277955 | 313 | 13 | 43 | 24.076923 | 0.853982 | 0.105431 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.4 | 0.8 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
e7293818cbf370a9a1c41d1da6badb8a1746b8a4 | 47 | py | Python | test.py | zoomhgtk/hsun_pynet_exercise | 0a645ae1f9bbd20540d79f3944bd6dfd2f1b7506 | [
"Apache-2.0"
] | null | null | null | test.py | zoomhgtk/hsun_pynet_exercise | 0a645ae1f9bbd20540d79f3944bd6dfd2f1b7506 | [
"Apache-2.0"
] | null | null | null | test.py | zoomhgtk/hsun_pynet_exercise | 0a645ae1f9bbd20540d79f3944bd6dfd2f1b7506 | [
"Apache-2.0"
] | null | null | null | print "this is a python file for test purpose"
| 23.5 | 46 | 0.765957 | 9 | 47 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191489 | 47 | 1 | 47 | 47 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0.808511 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
e75b3a052ee510752dbf509438ea08e19354f390 | 15,803 | py | Python | tests/test_ops/test_operations.py | granularai/polyaxon-schemas | 017ae74701f21f12f0b25e75379681ea5d8baa9e | [
"MIT"
] | null | null | null | tests/test_ops/test_operations.py | granularai/polyaxon-schemas | 017ae74701f21f12f0b25e75379681ea5d8baa9e | [
"MIT"
] | null | null | null | tests/test_ops/test_operations.py | granularai/polyaxon-schemas | 017ae74701f21f12f0b25e75379681ea5d8baa9e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import absolute_import, division, print_function
from unittest import TestCase
from marshmallow import ValidationError
from polyaxon_schemas.ops import params as ops_params
from polyaxon_schemas.ops.io import IOTypes
from polyaxon_schemas.ops.operation import BaseOpConfig
cl... | 33.060669 | 92 | 0.445928 | 1,260 | 15,803 | 5.437302 | 0.1 | 0.106554 | 0.106262 | 0.129032 | 0.866735 | 0.849949 | 0.823529 | 0.792439 | 0.781054 | 0.764706 | 0 | 0.022987 | 0.413656 | 15,803 | 477 | 93 | 33.129979 | 0.716382 | 0.006265 | 0 | 0.691589 | 0 | 0 | 0.157811 | 0.037334 | 0 | 0 | 0 | 0 | 0.07243 | 1 | 0.028037 | false | 0.007009 | 0.014019 | 0 | 0.044393 | 0.002336 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e75c3abd1b36fd25627cd165c43c7035dbe2a987 | 75 | py | Python | src/deep_nlp/bilstm_cnn/__init__.py | ENSAE-CKW/nlp_understanding | 8d184666a107679f972a65bbe84374b849242924 | [
"MIT"
] | 3 | 2021-05-02T17:51:18.000Z | 2022-01-17T10:49:23.000Z | src/deep_nlp/bilstm_cnn/__init__.py | ENSAE-CKW/nlp_understanding | 8d184666a107679f972a65bbe84374b849242924 | [
"MIT"
] | 1 | 2021-05-11T14:18:38.000Z | 2021-05-11T14:18:38.000Z | src/deep_nlp/bilstm_cnn/__init__.py | ENSAE-CKW/nlp_understanding | 8d184666a107679f972a65bbe84374b849242924 | [
"MIT"
] | null | null | null | from .bilstmcnn import BilstmCnn
# from .bilstmcnn_gradcam import BilstmCnn | 37.5 | 42 | 0.853333 | 9 | 75 | 7 | 0.444444 | 0.412698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 75 | 2 | 42 | 37.5 | 0.940299 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e78d0f55941f012ddc4345d1af5b4b0bf1d023d1 | 129 | py | Python | tests/pdf/__init__.py | Integreat/cms-v2 | c79a54fd5abb792696420aa6427a5e5a356fa79c | [
"Apache-2.0"
] | 21 | 2018-10-26T20:10:45.000Z | 2020-10-22T09:41:46.000Z | tests/pdf/__init__.py | Integreat/cms-v2 | c79a54fd5abb792696420aa6427a5e5a356fa79c | [
"Apache-2.0"
] | 392 | 2018-10-25T08:34:07.000Z | 2020-11-19T08:20:30.000Z | tests/pdf/__init__.py | Integreat/cms-v2 | c79a54fd5abb792696420aa6427a5e5a356fa79c | [
"Apache-2.0"
] | 23 | 2019-03-06T17:11:35.000Z | 2020-10-16T04:36:41.000Z | """
This package contains tests for the PDF export of both the :mod:`integreat_cms.cms` and the :mod:`integreat_cms.api` app
"""
| 32.25 | 120 | 0.736434 | 22 | 129 | 4.227273 | 0.727273 | 0.129032 | 0.322581 | 0.387097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 129 | 3 | 121 | 43 | 0.837838 | 0.930233 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e7a890211a668201add158f0caa84352a857bec6 | 32 | py | Python | synapse/debugging/__init__.py | brymer-meneses/sparknet | b2978e4926522719c73ee0c15c136d5693a72bcb | [
"Apache-2.0"
] | 1 | 2021-05-04T23:05:22.000Z | 2021-05-04T23:05:22.000Z | synapse/debugging/__init__.py | brymer-meneses/sparknet | b2978e4926522719c73ee0c15c136d5693a72bcb | [
"Apache-2.0"
] | null | null | null | synapse/debugging/__init__.py | brymer-meneses/sparknet | b2978e4926522719c73ee0c15c136d5693a72bcb | [
"Apache-2.0"
] | null | null | null | from .graph import show_parents
| 16 | 31 | 0.84375 | 5 | 32 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
821c6b40bc83ccf9339c961d845d6017d51152ce | 51 | py | Python | cry/flagservice/src/app/secret.py | wani-hackase/wanictf2021-writeup | 67193041a413ab01bb7cfff2618db12a7e525e16 | [
"MIT"
] | 3 | 2021-11-07T16:05:33.000Z | 2021-11-08T03:59:20.000Z | cry/flagservice/src/app/secret.py | wani-hackase/wanictf2021-writeup | 67193041a413ab01bb7cfff2618db12a7e525e16 | [
"MIT"
] | null | null | null | cry/flagservice/src/app/secret.py | wani-hackase/wanictf2021-writeup | 67193041a413ab01bb7cfff2618db12a7e525e16 | [
"MIT"
] | 3 | 2021-11-07T11:36:58.000Z | 2022-03-09T13:55:04.000Z | flag = "FLAG{Fl1p_Flip_Fl1p_Flip_Fl1p____voila!!}"
| 25.5 | 50 | 0.803922 | 8 | 51 | 4.125 | 0.5 | 0.484848 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.058824 | 51 | 1 | 51 | 51 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0.803922 | 0.803922 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
419ab9393a09623725256db6dcd34f961cebbab0 | 11,113 | py | Python | tests/test_markov_proportion.py | 11michalis11/AmbulanceDecisionGame | 45164ba51da0417297f715e41716cb91facc120f | [
"MIT"
] | null | null | null | tests/test_markov_proportion.py | 11michalis11/AmbulanceDecisionGame | 45164ba51da0417297f715e41716cb91facc120f | [
"MIT"
] | 20 | 2020-04-20T09:08:31.000Z | 2021-09-23T11:09:25.000Z | tests/test_markov_proportion.py | 11michalis11/AmbulanceDecisionGame | 45164ba51da0417297f715e41716cb91facc120f | [
"MIT"
] | null | null | null | """
Tests for the functionality of the proportion of individuals within target.
"""
import numpy as np
import pytest
from ambulance_game.markov.proportion import (
general_psi_function,
specific_psi_function,
hypoexponential_cdf,
erlang_cdf,
get_probability_of_waiting_time_in_system_less_than_targ... | 29.954178 | 88 | 0.625304 | 1,540 | 11,113 | 4.163636 | 0.085714 | 0.056145 | 0.098253 | 0.112289 | 0.85262 | 0.810044 | 0.803961 | 0.724735 | 0.701809 | 0.701809 | 0 | 0.085281 | 0.276163 | 11,113 | 370 | 89 | 30.035135 | 0.711835 | 0.123279 | 0 | 0.59854 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091241 | 1 | 0.054745 | false | 0 | 0.010949 | 0 | 0.065693 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
41adf0e7f42c40722423ead409139249c05ff16e | 36 | py | Python | flask_file_upload/__init__.py | ujjwalbe/flask-file-upload | 5b62a42bcdb96ec3395f0049c7d7c70cec655da9 | [
"MIT"
] | 140 | 2020-01-08T09:54:10.000Z | 2022-03-31T04:39:01.000Z | flask_file_upload/__init__.py | ujjwalbe/flask-file-upload | 5b62a42bcdb96ec3395f0049c7d7c70cec655da9 | [
"MIT"
] | 53 | 2020-01-08T10:16:32.000Z | 2021-12-09T21:50:12.000Z | flask_file_upload/__init__.py | ujjwalbe/flask-file-upload | 5b62a42bcdb96ec3395f0049c7d7c70cec655da9 | [
"MIT"
] | 14 | 2020-01-09T14:49:06.000Z | 2021-12-06T06:09:15.000Z | from .file_upload import FileUpload
| 18 | 35 | 0.861111 | 5 | 36 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
41c298baeeda9322eb0d344c3fcb4915cdc44c74 | 34 | py | Python | searcher/__init__.py | GGSDDU-AI/CourseVideoSplit | fc7fa397c2470f4194c148545c93a85e7b631cf1 | [
"Apache-2.0"
] | 1 | 2021-12-26T05:11:56.000Z | 2021-12-26T05:11:56.000Z | searcher/__init__.py | GGSDDU-AI/CourseVideoSplit | fc7fa397c2470f4194c148545c93a85e7b631cf1 | [
"Apache-2.0"
] | null | null | null | searcher/__init__.py | GGSDDU-AI/CourseVideoSplit | fc7fa397c2470f4194c148545c93a85e7b631cf1 | [
"Apache-2.0"
] | 1 | 2020-08-12T15:01:00.000Z | 2020-08-12T15:01:00.000Z | from .searcher import get_details
| 17 | 33 | 0.852941 | 5 | 34 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ec146c0e1a1c5840bc28950b6475c85d3d86ffa6 | 1,154 | py | Python | tests/test_discretize.py | asavinov/prosto | 4c1f81107117eaa0323b0919530e67e23a4efd40 | [
"MIT"
] | 38 | 2020-12-23T10:12:39.000Z | 2022-03-09T12:54:17.000Z | tests/test_discretize.py | prostodata/prosto | 8e274e640861daa816f19b55c20275aa76539290 | [
"MIT"
] | 8 | 2021-07-04T10:17:47.000Z | 2021-07-25T10:56:55.000Z | tests/test_discretize.py | prostodata/prosto | 8e274e640861daa816f19b55c20275aa76539290 | [
"MIT"
] | 1 | 2022-01-26T16:11:21.000Z | 2022-01-26T16:11:21.000Z | import pytest
from prosto.Prosto import *
def test_integers():
ctx = Prosto("My Prosto")
tbl = ctx.populate(
table_name="My table", attributes=["A"],
func="lambda **m: pd.DataFrame({'A': [1, 2, 3, 4, 5, 6, 7, 8, 9]})", tables=[]
)
clm = ctx.discretize(
name="My column", tabl... | 25.086957 | 90 | 0.484402 | 177 | 1,154 | 3.101695 | 0.276836 | 0.025501 | 0.021858 | 0.029144 | 0.819672 | 0.819672 | 0.819672 | 0.794171 | 0.794171 | 0.761384 | 0 | 0.084054 | 0.29896 | 1,154 | 45 | 91 | 25.644444 | 0.594561 | 0.099653 | 0 | 0.571429 | 0 | 0.071429 | 0.227493 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 1 | 0.071429 | false | 0 | 0.071429 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6b4da2732272e5578cc060f2c066b8dfb9a97787 | 349 | py | Python | code/backend/src/database/models/user.py | tobiasclaas/semantic-data-lake | 16fc25a74918c9ac4d95f14bf3c15af053cee53e | [
"MIT"
] | 1 | 2022-02-23T14:32:38.000Z | 2022-02-23T14:32:38.000Z | code/backend/src/database/models/user.py | tobiasclaas/semantic-data-lake | 16fc25a74918c9ac4d95f14bf3c15af053cee53e | [
"MIT"
] | null | null | null | code/backend/src/database/models/user.py | tobiasclaas/semantic-data-lake | 16fc25a74918c9ac4d95f14bf3c15af053cee53e | [
"MIT"
] | null | null | null | from database import database, FlaskDocument
class User(FlaskDocument):
email = database.StringField(max_length=255, unique=True)
firstname = database.StringField(max_length=255)
lastname = database.StringField(max_length=255)
password_hash = database.StringField(max_length=255)
is_admin = databas... | 34.9 | 61 | 0.782235 | 41 | 349 | 6.512195 | 0.512195 | 0.284644 | 0.329588 | 0.419476 | 0.464419 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039474 | 0.12894 | 349 | 9 | 62 | 38.777778 | 0.838816 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.142857 | 0.142857 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
6b4ddc617c33507ab53205262cc6e7e5e61b515e | 85 | py | Python | resources/__init__.py | cringeburger/smart-city-bot-vk | 0c3009b08c7bae7f9dbdb714ee5fe92a562ab0ab | [
"Apache-2.0"
] | null | null | null | resources/__init__.py | cringeburger/smart-city-bot-vk | 0c3009b08c7bae7f9dbdb714ee5fe92a562ab0ab | [
"Apache-2.0"
] | null | null | null | resources/__init__.py | cringeburger/smart-city-bot-vk | 0c3009b08c7bae7f9dbdb714ee5fe92a562ab0ab | [
"Apache-2.0"
] | null | null | null | from resources.keyboards import keyboard
from resources.config import token, group_id | 42.5 | 44 | 0.870588 | 12 | 85 | 6.083333 | 0.75 | 0.356164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094118 | 85 | 2 | 44 | 42.5 | 0.948052 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6b6fee594bec5af5fed440ebbc9cc5c09ee076f1 | 76,776 | py | Python | sources/data/antlr_parsers/javascript/JavaScriptLexer.py | NougatCA/SPT-Code | acc32de4127cc4b73bd49e57e2745ec980ca7802 | [
"MIT"
] | 10 | 2022-01-11T20:21:32.000Z | 2022-03-26T03:42:40.000Z | sources/data/antlr_parsers/javascript/JavaScriptLexer.py | NougatCA/SPT-Code | acc32de4127cc4b73bd49e57e2745ec980ca7802 | [
"MIT"
] | 1 | 2022-01-30T20:34:11.000Z | 2022-02-02T08:57:05.000Z | sources/data/antlr_parsers/javascript/JavaScriptLexer.py | NougatCA/SPT-Code | acc32de4127cc4b73bd49e57e2745ec980ca7802 | [
"MIT"
] | 1 | 2022-02-16T07:48:25.000Z | 2022-02-16T07:48:25.000Z | # Generated from JavaScriptLexer.g4 by ANTLR 4.9.2
from antlr4 import *
from io import StringIO
import sys
if sys.version_info[1] > 5:
from typing import TextIO
else:
from typing.io import TextIO
if __name__ is not None and "." in __name__:
from .JavaScriptLexerBase import JavaScriptLexerBase
else:
fr... | 64.140351 | 103 | 0.603092 | 15,201 | 76,776 | 3.040063 | 0.212881 | 0.078248 | 0.044144 | 0.048559 | 0.205423 | 0.158509 | 0.116745 | 0.106141 | 0.077253 | 0.073184 | 0 | 0.331389 | 0.149226 | 76,776 | 1,196 | 104 | 64.19398 | 0.376093 | 0.000625 | 0 | 0.01677 | 1 | 0.664607 | 0.624746 | 0.585162 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0203 | false | 0 | 0.009709 | 0 | 0.165931 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6b81bd2dc2e03d9395e2e63108a7eed780336dd8 | 105 | py | Python | src/config.py | carolkng/canvas-nn | 2d66d0237d772251a8faab77c4ec888839a702fd | [
"MIT"
] | null | null | null | src/config.py | carolkng/canvas-nn | 2d66d0237d772251a8faab77c4ec888839a702fd | [
"MIT"
] | null | null | null | src/config.py | carolkng/canvas-nn | 2d66d0237d772251a8faab77c4ec888839a702fd | [
"MIT"
] | null | null | null | import yaml
config = yaml.safe_load(open("config.yaml"))
secrets = yaml.safe_load(open("secrets.yaml"))
| 21 | 46 | 0.742857 | 16 | 105 | 4.75 | 0.4375 | 0.263158 | 0.315789 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 105 | 4 | 47 | 26.25 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0.219048 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
6b95db4323fe497664ef5ffa95011aa9e2de8815 | 58 | py | Python | tests/test_simple.py | edpaget/flask-appconfig | 5264719ac9229339070b219a4358a3203ffd05b0 | [
"MIT"
] | 61 | 2015-01-28T21:19:11.000Z | 2020-12-28T10:12:28.000Z | tests/test_simple.py | edpaget/flask-appconfig | 5264719ac9229339070b219a4358a3203ffd05b0 | [
"MIT"
] | 3 | 2016-01-25T00:09:55.000Z | 2017-09-25T11:36:19.000Z | tests/test_simple.py | edpaget/flask-appconfig | 5264719ac9229339070b219a4358a3203ffd05b0 | [
"MIT"
] | 14 | 2015-07-22T12:58:06.000Z | 2021-03-24T02:06:30.000Z | def test_package_importable():
import flask_appconfig
| 19.333333 | 30 | 0.810345 | 7 | 58 | 6.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 58 | 2 | 31 | 29 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 1 | 0 | 1.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6b99c3552dc4f5faa24c259980b76ea93ffebad2 | 211 | py | Python | app/routes.py | michalwilk123/elliot-chat-client | 4256dc78a514b93ef7a325d7ba5ad2674963d74f | [
"MIT"
] | null | null | null | app/routes.py | michalwilk123/elliot-chat-client | 4256dc78a514b93ef7a325d7ba5ad2674963d74f | [
"MIT"
] | null | null | null | app/routes.py | michalwilk123/elliot-chat-client | 4256dc78a514b93ef7a325d7ba5ad2674963d74f | [
"MIT"
] | null | null | null | class ApiRoutes:
ALIVE = "/alive"
USER_OPER = "/user"
CONTACT_OPER = "/contacts"
ONE_TIME_KEY = "/crypto/one-time-key"
ONE_TIME_KEY_LIST = "/crypto/one-time-key-list"
CHAT_OPER = "/chat"
| 26.375 | 51 | 0.63981 | 29 | 211 | 4.37931 | 0.448276 | 0.220472 | 0.314961 | 0.251969 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208531 | 211 | 7 | 52 | 30.142857 | 0.760479 | 0 | 0 | 0 | 0 | 0 | 0.331754 | 0.118483 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
6ba7887133c888c6d557b108ded1929c94a0a59e | 3,860 | py | Python | oarepo_model_builder/property_preprocessors/text_keyword.py | oarepo/oarepo-model-builder | d322a76da28eb900b2898169b205d7559ea4a873 | [
"MIT"
] | null | null | null | oarepo_model_builder/property_preprocessors/text_keyword.py | oarepo/oarepo-model-builder | d322a76da28eb900b2898169b205d7559ea4a873 | [
"MIT"
] | 21 | 2022-01-09T19:09:15.000Z | 2022-03-08T08:06:02.000Z | oarepo_model_builder/property_preprocessors/text_keyword.py | oarepo/oarepo-model-builder | d322a76da28eb900b2898169b205d7559ea4a873 | [
"MIT"
] | 2 | 2021-07-29T07:20:31.000Z | 2021-11-30T13:53:13.000Z | from oarepo_model_builder.builders.jsonschema import JSONSchemaBuilder
from oarepo_model_builder.builders.mapping import MappingBuilder
from oarepo_model_builder.invenio.invenio_record_schema import InvenioRecordSchemaBuilder
from oarepo_model_builder.property_preprocessors import PropertyPreprocessor, process
from oar... | 38.6 | 94 | 0.630829 | 348 | 3,860 | 6.859195 | 0.137931 | 0.075408 | 0.071638 | 0.109342 | 0.819439 | 0.764139 | 0.764139 | 0.764139 | 0.764139 | 0.69669 | 0 | 0 | 0.251036 | 3,860 | 99 | 95 | 38.989899 | 0.825666 | 0.020984 | 0 | 0.649351 | 0 | 0 | 0.124436 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.116883 | false | 0 | 0.077922 | 0 | 0.337662 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6bf253b2956770213dcdf3f42b85558d331d6477 | 172 | py | Python | scitbx/linalg/ext.py | dperl-sol/cctbx_project | b9e390221a2bc4fd00b9122e97c3b79c632c6664 | [
"BSD-3-Clause-LBNL"
] | 155 | 2016-11-23T12:52:16.000Z | 2022-03-31T15:35:44.000Z | scitbx/linalg/ext.py | dperl-sol/cctbx_project | b9e390221a2bc4fd00b9122e97c3b79c632c6664 | [
"BSD-3-Clause-LBNL"
] | 590 | 2016-12-10T11:31:18.000Z | 2022-03-30T23:10:09.000Z | scitbx/linalg/ext.py | dperl-sol/cctbx_project | b9e390221a2bc4fd00b9122e97c3b79c632c6664 | [
"BSD-3-Clause-LBNL"
] | 115 | 2016-11-15T08:17:28.000Z | 2022-02-09T15:30:14.000Z | from __future__ import absolute_import, division, print_function
import boost_adaptbx.boost.python as bp
bp.import_ext("scitbx_linalg_ext")
from scitbx_linalg_ext import *
| 34.4 | 64 | 0.854651 | 26 | 172 | 5.192308 | 0.576923 | 0.177778 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087209 | 172 | 4 | 65 | 43 | 0.859873 | 0 | 0 | 0 | 0 | 0 | 0.098837 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.25 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6bf94d0388ac12b7c282f60966d6d3cdd329b15f | 3,528 | py | Python | ve/unit/testing_params_iterator.py | pybfms/pybfms-core-debug-common | b583f51b784bc510d54b3a5b070ee54b02ec51fa | [
"Apache-2.0"
] | 1 | 2022-03-01T07:18:59.000Z | 2022-03-01T07:18:59.000Z | ve/unit/testing_params_iterator.py | pybfms/pybfms-core-debug-common | b583f51b784bc510d54b3a5b070ee54b02ec51fa | [
"Apache-2.0"
] | null | null | null | ve/unit/testing_params_iterator.py | pybfms/pybfms-core-debug-common | b583f51b784bc510d54b3a5b070ee54b02ec51fa | [
"Apache-2.0"
] | null | null | null | '''
Created on Mar 17, 2021
@author: mballance
'''
import ctypes
from unittest.case import TestCase
from core_debug_common.params_iterator import ParamsIterator
import hvlrpc
class TestingParamsIterator(ParamsIterator):
def __init__(self, tc, params):
self.tc : TestCase = tc
self.params_idx... | 32.971963 | 67 | 0.60119 | 484 | 3,528 | 4.274793 | 0.157025 | 0.275495 | 0.21363 | 0.106332 | 0.735138 | 0.724988 | 0.724988 | 0.714355 | 0.666022 | 0.666022 | 0 | 0.031808 | 0.269274 | 3,528 | 107 | 68 | 32.971963 | 0.770753 | 0.126417 | 0 | 0.586667 | 0 | 0 | 0.004636 | 0 | 0 | 0 | 0 | 0 | 0.293333 | 1 | 0.16 | false | 0 | 0.053333 | 0 | 0.373333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d417beb59b403a6068d958274c437d93b5e23b63 | 103 | py | Python | idgames-extract/src/archives/ziparchivefile.py | GitExl/DoomIdgamesArchive | 6f7124de5c2bab256bb2255b309f50a958780b9d | [
"BSD-2-Clause"
] | 2 | 2019-05-05T02:04:45.000Z | 2019-07-10T18:49:31.000Z | idgames-extract/src/archives/ziparchivefile.py | GitExl/DoomIdgamesArchive | 6f7124de5c2bab256bb2255b309f50a958780b9d | [
"BSD-2-Clause"
] | null | null | null | idgames-extract/src/archives/ziparchivefile.py | GitExl/DoomIdgamesArchive | 6f7124de5c2bab256bb2255b309f50a958780b9d | [
"BSD-2-Clause"
] | 3 | 2016-11-08T21:03:28.000Z | 2019-05-12T21:45:37.000Z | from archives.archivefilebase import ArchiveFileBase
class ZIPArchiveFile(ArchiveFileBase):
pass
| 17.166667 | 52 | 0.834951 | 9 | 103 | 9.555556 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126214 | 103 | 5 | 53 | 20.6 | 0.955556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
d432f8f19f2b5e4d50bef11f339bdd6f253c748f | 7,071 | py | Python | tests/nodes/io/test_json.py | Playfloor/bonobo | feb7ec850566ca3c2ccc139610201dbd237d6083 | [
"Apache-2.0"
] | 1,573 | 2016-12-09T09:28:50.000Z | 2022-03-31T06:16:45.000Z | tests/nodes/io/test_json.py | Playfloor/bonobo | feb7ec850566ca3c2ccc139610201dbd237d6083 | [
"Apache-2.0"
] | 257 | 2016-12-25T06:54:33.000Z | 2022-03-18T22:12:17.000Z | tests/nodes/io/test_json.py | Playfloor/bonobo | feb7ec850566ca3c2ccc139610201dbd237d6083 | [
"Apache-2.0"
] | 153 | 2016-12-09T07:23:58.000Z | 2022-03-18T22:01:23.000Z | import json
from collections import OrderedDict, namedtuple
from unittest import TestCase
import pytest
from bonobo import JsonReader, JsonWriter, LdjsonReader, LdjsonWriter
from bonobo.constants import EMPTY
from bonobo.util.testing import ConfigurableNodeTest, ReaderTest, WriterTest
FOOBAR = {"foo": "bar"}
OD_ABC ... | 29.219008 | 109 | 0.574883 | 806 | 7,071 | 4.91067 | 0.137717 | 0.034866 | 0.088934 | 0.084891 | 0.822132 | 0.814553 | 0.813037 | 0.813037 | 0.813037 | 0.813037 | 0 | 0.009617 | 0.235327 | 7,071 | 241 | 110 | 29.340249 | 0.722397 | 0.063782 | 0 | 0.691824 | 0 | 0 | 0.112475 | 0 | 0.006289 | 0 | 0 | 0 | 0.125786 | 1 | 0.138365 | false | 0 | 0.044025 | 0 | 0.320755 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d44bfbf6fa95402674f2f1e1f3e2234db2fd148d | 77 | py | Python | jacdac/real_time_clock/__init__.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | 1 | 2022-02-15T21:30:36.000Z | 2022-02-15T21:30:36.000Z | jacdac/real_time_clock/__init__.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | null | null | null | jacdac/real_time_clock/__init__.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | 1 | 2022-02-08T19:32:45.000Z | 2022-02-08T19:32:45.000Z | # Autogenerated file.
from .client import RealTimeClockClient # type: ignore
| 25.666667 | 54 | 0.805195 | 8 | 77 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12987 | 77 | 2 | 55 | 38.5 | 0.925373 | 0.415584 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d47364bc1569d53aba50c8a59f5e25c86bd5dbf8 | 34 | py | Python | credentialdigger/models/path_model/__init__.py | Soontao/credential-digger | 365eedca3eaec201503441046ba0c37937db69e1 | [
"Apache-2.0"
] | null | null | null | credentialdigger/models/path_model/__init__.py | Soontao/credential-digger | 365eedca3eaec201503441046ba0c37937db69e1 | [
"Apache-2.0"
] | null | null | null | credentialdigger/models/path_model/__init__.py | Soontao/credential-digger | 365eedca3eaec201503441046ba0c37937db69e1 | [
"Apache-2.0"
] | null | null | null | from .path_model import PathModel
| 17 | 33 | 0.852941 | 5 | 34 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2e16796e5a81e6e530b073d7c125dd13b3c12c5c | 66 | py | Python | libtsm/__init__.py | meinardmueller/libtsm | 8deaedb4999eb586af24a688431e167319ed0063 | [
"MIT"
] | 10 | 2021-06-24T14:48:16.000Z | 2022-02-18T12:30:17.000Z | libtsm/__init__.py | meinardmueller/libtsm | 8deaedb4999eb586af24a688431e167319ed0063 | [
"MIT"
] | 2 | 2021-11-24T16:18:26.000Z | 2022-03-12T12:44:08.000Z | libtsm/__init__.py | meinardmueller/libtsm | 8deaedb4999eb586af24a688431e167319ed0063 | [
"MIT"
] | 1 | 2022-03-17T17:48:39.000Z | 2022-03-17T17:48:39.000Z | from .tsm import *
from .pitchshift import *
from .utils import *
| 16.5 | 25 | 0.727273 | 9 | 66 | 5.333333 | 0.555556 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 66 | 3 | 26 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2e28edb374934a5aa239e2d89652f97b4c739b46 | 20,750 | py | Python | precon_project/precon/migrations/0001_initial.py | kevinr/precon-project | 12975c6c21cfc4b4114c6b88b10ae114a0cf5e89 | [
"MIT"
] | null | null | null | precon_project/precon/migrations/0001_initial.py | kevinr/precon-project | 12975c6c21cfc4b4114c6b88b10ae114a0cf5e89 | [
"MIT"
] | null | null | null | precon_project/precon/migrations/0001_initial.py | kevinr/precon-project | 12975c6c21cfc4b4114c6b88b10ae114a0cf5e89 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'Participant'
db.create_table(u'precon_participant', (
(u'id', self.gf('django.db... | 65.457413 | 289 | 0.61706 | 2,414 | 20,750 | 5.15203 | 0.054681 | 0.06947 | 0.120447 | 0.172067 | 0.856879 | 0.791831 | 0.766664 | 0.726461 | 0.682962 | 0.659323 | 0 | 0.008922 | 0.184337 | 20,750 | 317 | 290 | 65.457413 | 0.725908 | 0.059711 | 0 | 0.371901 | 0 | 0 | 0.459078 | 0.245995 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008264 | false | 0 | 0.016529 | 0 | 0.03719 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2e2c558dc618eb0774273fd5dbfc5a7005d819d6 | 93 | py | Python | modular_flask/routes/__init__.py | locus-ioe/SF21-Deployment | 5388a04e55c59dc0507190745e181040fc50e143 | [
"MIT"
] | 1 | 2021-07-13T01:56:15.000Z | 2021-07-13T01:56:15.000Z | modular_flask/routes/__init__.py | locus-ioe/SF21-Deployment | 5388a04e55c59dc0507190745e181040fc50e143 | [
"MIT"
] | null | null | null | modular_flask/routes/__init__.py | locus-ioe/SF21-Deployment | 5388a04e55c59dc0507190745e181040fc50e143 | [
"MIT"
] | null | null | null | from .. import app, db # noqa
from . import base_routes, forum_routes, name_routes # noqa
| 23.25 | 60 | 0.72043 | 14 | 93 | 4.571429 | 0.642857 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 93 | 3 | 61 | 31 | 0.853333 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2e5e1de7f717ab1880bcb158050e77c1fc73d917 | 99 | py | Python | toLearn/151203a.py | yasokada/python-151113-lineMonitor | 224342d5855d8ee6792fad6ad36399d95fce1b09 | [
"MIT"
] | 1 | 2017-01-13T23:57:21.000Z | 2017-01-13T23:57:21.000Z | toLearn/151203a.py | yasokada/python-151113-lineMonitor | 224342d5855d8ee6792fad6ad36399d95fce1b09 | [
"MIT"
] | 2 | 2015-12-08T23:40:12.000Z | 2015-12-24T22:09:07.000Z | toLearn/151203a.py | yasokada/python-151113-lineMonitor | 224342d5855d8ee6792fad6ad36399d95fce1b09 | [
"MIT"
] | null | null | null | import os
from stat import *
os.chmod('aaa.txt', S_IWUSR | S_IRUSR | S_IRGRP | S_IWOTH | S_IROTH)
| 19.8 | 68 | 0.707071 | 19 | 99 | 3.421053 | 0.684211 | 0.246154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171717 | 99 | 4 | 69 | 24.75 | 0.792683 | 0 | 0 | 0 | 0 | 0 | 0.070707 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2e619b82a6b439b3c378e6dd75850160f695fac1 | 10,932 | py | Python | SimModel_Python_API/simmodel_swig/Release/SimFlowSegment_Pipe_Indoor.py | EnEff-BIM/EnEffBIM-Framework | 6328d39b498dc4065a60b5cc9370b8c2a9a1cddf | [
"MIT"
] | 3 | 2016-05-30T15:12:16.000Z | 2022-03-22T08:11:13.000Z | SimModel_Python_API/simmodel_swig/Release/SimFlowSegment_Pipe_Indoor.py | EnEff-BIM/EnEffBIM-Framework | 6328d39b498dc4065a60b5cc9370b8c2a9a1cddf | [
"MIT"
] | 21 | 2016-06-13T11:33:45.000Z | 2017-05-23T09:46:52.000Z | SimModel_Python_API/simmodel_swig/Release/SimFlowSegment_Pipe_Indoor.py | EnEff-BIM/EnEffBIM-Framework | 6328d39b498dc4065a60b5cc9370b8c2a9a1cddf | [
"MIT"
] | null | null | null | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.7
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info
if version_info >= (2, 6, 0):
def swig_import_helper():
from os.path imp... | 39.182796 | 127 | 0.740395 | 1,240 | 10,932 | 5.954032 | 0.125 | 0.253555 | 0.292564 | 0.174997 | 0.683462 | 0.64337 | 0.598266 | 0.549235 | 0.482324 | 0.429365 | 0 | 0.001896 | 0.180022 | 10,932 | 278 | 128 | 39.323741 | 0.821731 | 0.026894 | 0 | 0.369159 | 1 | 0 | 0.027098 | 0.005081 | 0 | 0 | 0 | 0 | 0 | 1 | 0.182243 | false | 0.009346 | 0.051402 | 0.14486 | 0.574766 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
cf368756d55985dfd44e2013fe7314110ab0868b | 43,882 | py | Python | WebexTeams/test/test_cssm_license.py | bhavanaraya/ciscodashboard | 50ac8fd57e3dbfd215f012bdaa1c8e581f14fcf1 | [
"CECILL-B"
] | 6 | 2019-07-26T14:56:19.000Z | 2020-12-21T13:43:40.000Z | WebexTeams/test/test_cssm_license.py | bhavanaraya/ciscodashboard | 50ac8fd57e3dbfd215f012bdaa1c8e581f14fcf1 | [
"CECILL-B"
] | 4 | 2021-10-06T04:31:59.000Z | 2022-02-18T06:29:50.000Z | WebexTeams/test/test_cssm_license.py | bhavanaraya/ciscodashboard | 50ac8fd57e3dbfd215f012bdaa1c8e581f14fcf1 | [
"CECILL-B"
] | 5 | 2020-07-26T22:53:18.000Z | 2021-07-01T12:57:29.000Z | """
Copyright (c) 2019 Cisco and/or its affiliates.
This software is licensed to you under the terms of the Cisco Sample
Code License, Version 1.0 (the "License"). You may obtain a copy of the
License at
https://developer.cisco.com/docs/licenses
All use of the material herein must be in accordance wi... | 51.384075 | 566 | 0.516795 | 4,168 | 43,882 | 5.211612 | 0.09261 | 0.041525 | 0.022834 | 0.042814 | 0.849784 | 0.831231 | 0.810285 | 0.796612 | 0.77677 | 0.752417 | 0 | 0.045069 | 0.368967 | 43,882 | 853 | 567 | 51.444314 | 0.739374 | 0.026002 | 0 | 0.601318 | 0 | 0 | 0.268812 | 0.045664 | 0 | 0 | 0 | 0 | 0.051071 | 1 | 0.051071 | false | 0 | 0.01318 | 0 | 0.065898 | 0.023064 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cf41ba22f6cb250369fb58563bb27bca9f3bd1ba | 8,676 | py | Python | src/xDLbase/bn.py | AskyJx/xDeepLearning | 98d875a34c6b4f4a51dcb825998028fd36260848 | [
"MIT"
] | 20 | 2019-03-21T18:16:00.000Z | 2022-03-21T12:10:04.000Z | src/xDLbase/bn.py | AskyJx/xDeepLearning | 98d875a34c6b4f4a51dcb825998028fd36260848 | [
"MIT"
] | 1 | 2019-07-17T10:09:23.000Z | 2019-08-10T11:38:29.000Z | src/xDLbase/bn.py | AskyJx/xDeepLearning | 98d875a34c6b4f4a51dcb825998028fd36260848 | [
"MIT"
] | 5 | 2019-06-03T15:26:55.000Z | 2020-12-09T03:06:01.000Z | """
Created: May 2018
@author: JerryX
Find more : https://www.zhihu.com/people/xu-jerry-82
"""
import numpy as np
import time
# import logging.config
# create logger
# import os
# exec_abs = os.getcwd()
# log_conf = exec_abs + '/config/logging.conf'
# logging.config.fileConfig(log_conf)
# logger = lo... | 29.410169 | 109 | 0.565237 | 1,128 | 8,676 | 4.284574 | 0.142731 | 0.014484 | 0.020484 | 0.012415 | 0.808194 | 0.783157 | 0.731844 | 0.731844 | 0.727705 | 0.684254 | 0 | 0.013493 | 0.308091 | 8,676 | 294 | 110 | 29.510204 | 0.791604 | 0.146266 | 0 | 0.59887 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 1 | 0.101695 | false | 0 | 0.011299 | 0 | 0.19209 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cf4d956cdc91cc2a89a539c3af4613efebef3de7 | 197 | py | Python | settings.py | cruise12343/Binancebot | 3374ef6ed08aacd65867108a3ee09d9e5b5e2081 | [
"MIT"
] | null | null | null | settings.py | cruise12343/Binancebot | 3374ef6ed08aacd65867108a3ee09d9e5b5e2081 | [
"MIT"
] | null | null | null | settings.py | cruise12343/Binancebot | 3374ef6ed08aacd65867108a3ee09d9e5b5e2081 | [
"MIT"
] | 1 | 2019-10-12T12:29:28.000Z | 2019-10-12T12:29:28.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import logging
def config_logger():
logging.basicConfig(format='%(asctime)s - %(threadName)s - %(levelname)s - %(message)s', level=logging.INFO)
| 24.625 | 112 | 0.664975 | 26 | 197 | 5 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005814 | 0.126904 | 197 | 7 | 113 | 28.142857 | 0.75 | 0.213198 | 0 | 0 | 0 | 0 | 0.379085 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cf58613a2bf0aac3c3cdd01cc83b22b271cd4d57 | 6,647 | py | Python | IRIS_data_download/IRIS_download_support/obspy/io/gcf/tests/test_core.py | earthinversion/Fnet_IRIS_data_automated_download | 09a6e0c992662feac95744935e038d1c68539fa1 | [
"MIT"
] | 2 | 2020-03-05T01:03:01.000Z | 2020-12-17T05:04:07.000Z | IRIS_data_download/IRIS_download_support/obspy/io/gcf/tests/test_core.py | earthinversion/Fnet_IRIS_data_automated_download | 09a6e0c992662feac95744935e038d1c68539fa1 | [
"MIT"
] | 4 | 2021-03-31T19:25:55.000Z | 2021-12-13T20:32:46.000Z | IRIS_data_download/IRIS_download_support/obspy/io/gcf/tests/test_core.py | earthinversion/Fnet_IRIS_data_automated_download | 09a6e0c992662feac95744935e038d1c68539fa1 | [
"MIT"
] | 2 | 2020-09-08T19:33:40.000Z | 2021-04-05T09:47:50.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
The obspy.io.gcf.core test suite.
"""
from __future__ import (absolute_import, division, print_function,
unicode_literals)
from future.builtins import * # NOQA
import os
import unittest
import numpy as np
from obspy import read
from obspy.cor... | 38.645349 | 76 | 0.598165 | 833 | 6,647 | 4.679472 | 0.166867 | 0.161621 | 0.069779 | 0.129297 | 0.782709 | 0.773987 | 0.743715 | 0.713443 | 0.703951 | 0.702925 | 0 | 0.133185 | 0.257861 | 6,647 | 171 | 77 | 38.871345 | 0.657004 | 0.07793 | 0 | 0.551724 | 0 | 0 | 0.102275 | 0.068239 | 0 | 0 | 0 | 0 | 0.439655 | 1 | 0.077586 | false | 0 | 0.068966 | 0.008621 | 0.163793 | 0.008621 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d84d1c00b8b6beb72bedd94d8c6fd51b4d740301 | 38,091 | py | Python | instances/passenger_demand/pas-20210421-2109-int16e/23.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int16e/23.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int16e/23.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 3644
passenger_arriving = (
(10, 8, 9, 4, 2, 0, 6, 9, 15, 2, 1, 0), # 0
(8, 8, 9, 2, 2, 0, 7, 11, 1, 10, 1, 0), # 1
(7, 6, 11, 5, 0, 0, 4, 12, 2, 4, 0, 0), # 2
(4, 10, 7, 4, 5, 0, 6, 10, 2, 6, 4, 0), # 3
(2, 4, 8, 4, 1, 0, 7, 9, 5, 8, 2, 0), # 4
(2, 6, 8, 7, 2, 0, 13, 8,... | 113.704478 | 214 | 0.73054 | 5,147 | 38,091 | 5.404313 | 0.233728 | 0.310613 | 0.245902 | 0.465919 | 0.325999 | 0.325568 | 0.325568 | 0.325568 | 0.325568 | 0.325568 | 0 | 0.820115 | 0.118506 | 38,091 | 334 | 215 | 114.04491 | 0.008309 | 0.031792 | 0 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.015823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d86155919cf60603f9b6643d755a527f4e6ec72c | 27 | py | Python | gehomesdk/erd/values/ice_maker/__init__.py | ChevySSinSD/gehome | fddfb00749334441a6b57da14fa48ae11e752c2b | [
"MIT"
] | 17 | 2021-05-18T01:58:06.000Z | 2022-03-22T20:49:32.000Z | gehomesdk/erd/values/ice_maker/__init__.py | ChevySSinSD/gehome | fddfb00749334441a6b57da14fa48ae11e752c2b | [
"MIT"
] | 29 | 2021-05-17T21:43:16.000Z | 2022-02-28T22:50:48.000Z | gehomesdk/erd/values/ice_maker/__init__.py | ChevySSinSD/gehome | fddfb00749334441a6b57da14fa48ae11e752c2b | [
"MIT"
] | 9 | 2021-05-17T04:40:58.000Z | 2022-02-02T17:26:13.000Z | from .common_enums import * | 27 | 27 | 0.814815 | 4 | 27 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d88d00f1038d5e692f5575da6a2d8a11cd8a3e82 | 32,714 | py | Python | FileHarvester.py | D-Kats/FileHarvester | 916cdd64bcdf315a78190e7d59f62a368b3a4d1c | [
"MIT"
] | 1 | 2022-02-26T07:21:31.000Z | 2022-02-26T07:21:31.000Z | FileHarvester.py | D-Kats/FileHarvester | 916cdd64bcdf315a78190e7d59f62a368b3a4d1c | [
"MIT"
] | null | null | null | FileHarvester.py | D-Kats/FileHarvester | 916cdd64bcdf315a78190e7d59f62a368b3a4d1c | [
"MIT"
] | null | null | null | # DKats 2020
# This script will take a target folder and collect all files the user chose for harvest. Copied files are
# being renamed if needed and a CSV report file is being created with the original file metadata. Copied files and
# CSV report are being ziped and md5 hashed. A log file is being created after th... | 61.724528 | 191 | 0.677202 | 4,091 | 32,714 | 5.385236 | 0.10462 | 0.02097 | 0.024511 | 0.029413 | 0.793972 | 0.779039 | 0.769915 | 0.750125 | 0.733103 | 0.728973 | 0 | 0.017982 | 0.194259 | 32,714 | 529 | 192 | 61.84121 | 0.817823 | 0.140337 | 0 | 0.769072 | 0 | 0.05567 | 0.447223 | 0.172943 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006186 | false | 0 | 0.014433 | 0 | 0.024742 | 0.228866 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d896c4d8b7973e87b199d4e302386cc3d4b47d1e | 21 | py | Python | python/testData/inspections/PyUnresolvedReferencesInspection/percentStringWithDictElement.py | teddywest32/intellij-community | e0268d7a1da1d318b441001448cdd3e8929b2f29 | [
"Apache-2.0"
] | null | null | null | python/testData/inspections/PyUnresolvedReferencesInspection/percentStringWithDictElement.py | teddywest32/intellij-community | e0268d7a1da1d318b441001448cdd3e8929b2f29 | [
"Apache-2.0"
] | null | null | null | python/testData/inspections/PyUnresolvedReferencesInspection/percentStringWithDictElement.py | teddywest32/intellij-community | e0268d7a1da1d318b441001448cdd3e8929b2f29 | [
"Apache-2.0"
] | 1 | 2020-11-27T10:36:50.000Z | 2020-11-27T10:36:50.000Z | "%s" % dict(a=1)["a"] | 21 | 21 | 0.380952 | 5 | 21 | 1.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.095238 | 21 | 1 | 21 | 21 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 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 | 0 | 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 | 6 |
d8d93802068c5a8fb8f8bd47239ce483caa83fec | 35 | py | Python | venv/Lib/site-packages/notebook/services/config/__init__.py | ajayiagbebaku/NFL-Model | afcc67a85ca7138c58c3334d45988ada2da158ed | [
"MIT"
] | 652 | 2015-07-26T00:00:17.000Z | 2022-02-24T18:30:04.000Z | venv/Lib/site-packages/notebook/services/config/__init__.py | ajayiagbebaku/NFL-Model | afcc67a85ca7138c58c3334d45988ada2da158ed | [
"MIT"
] | 242 | 2019-01-29T15:48:27.000Z | 2022-03-31T22:09:21.000Z | venv/Lib/site-packages/notebook/services/config/__init__.py | ajayiagbebaku/NFL-Model | afcc67a85ca7138c58c3334d45988ada2da158ed | [
"MIT"
] | 40 | 2015-07-24T19:45:08.000Z | 2021-11-01T14:54:56.000Z | from .manager import ConfigManager
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d8dffa70fe2d1bb74d48820d45da97c6f1bbcdee | 181 | py | Python | rlpy/Policies/__init__.py | imanolarrieta/RL | 072a8c328652f45e053baecd640f04adf7f84b49 | [
"BSD-3-Clause"
] | 1 | 2019-12-07T13:47:43.000Z | 2019-12-07T13:47:43.000Z | rlpy/Policies/__init__.py | imanolarrieta/RL | 072a8c328652f45e053baecd640f04adf7f84b49 | [
"BSD-3-Clause"
] | null | null | null | rlpy/Policies/__init__.py | imanolarrieta/RL | 072a8c328652f45e053baecd640f04adf7f84b49 | [
"BSD-3-Clause"
] | null | null | null | from .eGreedy import eGreedy
from .UniformRandom import UniformRandom
from .gibbs import GibbsPolicy
from .FixedPolicy import FixedPolicy
from .FixedPolicy import BasicPuddlePolicy
| 30.166667 | 42 | 0.861878 | 20 | 181 | 7.8 | 0.4 | 0.192308 | 0.269231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110497 | 181 | 5 | 43 | 36.2 | 0.968944 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d8e9751614e20732fde90734330f24c809e33798 | 5,090 | py | Python | appengine/src/greenday_core/tests/test_user_deletion.py | meedan/montage | 4da0116931edc9af91f226876330645837dc9bcc | [
"Apache-2.0"
] | 6 | 2018-07-31T16:48:07.000Z | 2020-02-01T03:17:51.000Z | appengine/src/greenday_core/tests/test_user_deletion.py | meedan/montage | 4da0116931edc9af91f226876330645837dc9bcc | [
"Apache-2.0"
] | 41 | 2018-08-07T16:43:07.000Z | 2020-06-05T18:54:50.000Z | appengine/src/greenday_core/tests/test_user_deletion.py | meedan/montage | 4da0116931edc9af91f226876330645837dc9bcc | [
"Apache-2.0"
] | 1 | 2018-08-07T16:40:18.000Z | 2018-08-07T16:40:18.000Z | """
Tests for :mod:`greenday_core.user_deletion <greenday_core.user_deletion>`
"""
import datetime
import mock
from milkman.dairy import milkman
from django.contrib.auth import get_user_model
from .base import AppengineTestBed
from ..constants import EventKind
from ..models import get_sentinel_user
from ..user_d... | 36.357143 | 119 | 0.669155 | 637 | 5,090 | 5.040816 | 0.177394 | 0.0872 | 0.109623 | 0.164435 | 0.731859 | 0.731859 | 0.714419 | 0.714419 | 0.714419 | 0.714419 | 0 | 0.004117 | 0.236542 | 5,090 | 139 | 120 | 36.618705 | 0.822182 | 0.212181 | 0 | 0.595238 | 0 | 0 | 0.13099 | 0.090522 | 0 | 0 | 0 | 0 | 0.130952 | 1 | 0.071429 | false | 0 | 0.107143 | 0 | 0.190476 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2b6cd5e75609a931b3eb4e1288db000f57d67ae5 | 37 | py | Python | src/proofpoint_tap/__init__.py | drizzo-tech/proofpoint_tap | 18ad8e03c9f3b0de6225bed0f2808f2529a912fd | [
"Apache-2.0"
] | null | null | null | src/proofpoint_tap/__init__.py | drizzo-tech/proofpoint_tap | 18ad8e03c9f3b0de6225bed0f2808f2529a912fd | [
"Apache-2.0"
] | null | null | null | src/proofpoint_tap/__init__.py | drizzo-tech/proofpoint_tap | 18ad8e03c9f3b0de6225bed0f2808f2529a912fd | [
"Apache-2.0"
] | null | null | null | from .proofpoint_tap import TAPClient | 37 | 37 | 0.891892 | 5 | 37 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 1 | 37 | 37 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9942511537eac9ce4ed269a0c6593b3bf2dbae7b | 1,344 | py | Python | Mundo 2/desafios/desafio037 - Conversor de base numerica.py | marioarl/python | 0bd677cdbec87e9603866c09cb8009fef295b89b | [
"MIT"
] | 1 | 2021-11-21T21:04:04.000Z | 2021-11-21T21:04:04.000Z | Mundo 2/desafios/desafio037 - Conversor de base numerica.py | marioarl/python | 0bd677cdbec87e9603866c09cb8009fef295b89b | [
"MIT"
] | null | null | null | Mundo 2/desafios/desafio037 - Conversor de base numerica.py | marioarl/python | 0bd677cdbec87e9603866c09cb8009fef295b89b | [
"MIT"
] | null | null | null | #escreva um programa que leia um numero inteiro qualquer e peça para o usuario escolher qual será
# a base de conversao:
# 1 binario 2 octal 3 hexadecimal
#minha resposta
#num = int(input('Digite um número inteiro:'))
#print('Escolha uma das bases para conversão:')
#print('[ 1 ] converter para BINÁRIO\n[ 2 ] c... | 42 | 100 | 0.666667 | 204 | 1,344 | 4.392157 | 0.303922 | 0.087054 | 0.127232 | 0.087054 | 0.734375 | 0.734375 | 0.734375 | 0.734375 | 0.734375 | 0.734375 | 0 | 0.018902 | 0.173363 | 1,344 | 32 | 101 | 42 | 0.787579 | 0.543899 | 0 | 0 | 0 | 0.083333 | 0.541946 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
997b280e53a8982f88d3d577a18675b29625fa00 | 158 | py | Python | web/admin.py | codeschule/koodikoulu-site | dde9932564f36dce6f4dbfd31e7923f1bae83293 | [
"MIT"
] | 5 | 2015-09-16T10:50:53.000Z | 2016-01-16T09:10:37.000Z | web/admin.py | codeschule/koodikoulu-site | dde9932564f36dce6f4dbfd31e7923f1bae83293 | [
"MIT"
] | 10 | 2015-09-07T05:58:03.000Z | 2019-02-15T10:36:48.000Z | web/admin.py | codeschule/koodikoulu-site | dde9932564f36dce6f4dbfd31e7923f1bae83293 | [
"MIT"
] | 6 | 2015-09-06T19:42:46.000Z | 2019-12-29T21:31:07.000Z | from django.contrib import admin
from web.models import Event, SignUp, User
admin.site.register(Event)
admin.site.register(SignUp)
admin.site.register(User)
| 22.571429 | 42 | 0.810127 | 24 | 158 | 5.333333 | 0.5 | 0.210938 | 0.398438 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088608 | 158 | 6 | 43 | 26.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
99a1d3323647eec9f1c5db3373465c37394b6bc0 | 11,418 | py | Python | Integrations/EDL/EDL_test.py | wwylie89/testDemisto | 63a41b2225895597a9b5e06f17dccbd11c3c2014 | [
"MIT"
] | null | null | null | Integrations/EDL/EDL_test.py | wwylie89/testDemisto | 63a41b2225895597a9b5e06f17dccbd11c3c2014 | [
"MIT"
] | 9 | 2021-02-08T20:51:18.000Z | 2021-09-23T23:27:38.000Z | Integrations/EDL/EDL_test.py | wwylie89/testDemisto | 63a41b2225895597a9b5e06f17dccbd11c3c2014 | [
"MIT"
] | null | null | null | """Imports"""
import json
import pytest
import demistomock as demisto
IOC_RES_LEN = 38
'''Tests'''
@pytest.mark.helper_commands
class TestHelperFunctions:
@pytest.mark.get_edl_ioc_values
def test_get_edl_ioc_values_1(self, mocker):
"""Test on_demand"""
from EDL import get_edl_ioc_values
... | 48.381356 | 109 | 0.66439 | 1,579 | 11,418 | 4.432552 | 0.082964 | 0.065152 | 0.02829 | 0.038577 | 0.850121 | 0.827975 | 0.796257 | 0.763681 | 0.704529 | 0.68224 | 0 | 0.014571 | 0.236644 | 11,418 | 235 | 110 | 48.587234 | 0.788435 | 0.048082 | 0 | 0.542553 | 0 | 0 | 0.137395 | 0.098419 | 0 | 0 | 0 | 0 | 0.117021 | 1 | 0.106383 | false | 0 | 0.138298 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
51109acd563b87558b574d68122cf274753ffff0 | 125 | py | Python | Darlington/phase2/SET/day 55 solution/qtn4.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 6 | 2020-05-23T19:53:25.000Z | 2021-05-08T20:21:30.000Z | Darlington/phase2/SET/day 55 solution/qtn4.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 8 | 2020-05-14T18:53:12.000Z | 2020-07-03T00:06:20.000Z | Darlington/phase2/SET/day 55 solution/qtn4.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 39 | 2020-05-10T20:55:02.000Z | 2020-09-12T17:40:59.000Z | #program to remove item(s) from set.
num_set = set([0, 1, 3, 4, 5])
num_set.pop()
print(num_set)
num_set.pop()
print(num_set) | 20.833333 | 36 | 0.688 | 27 | 125 | 3 | 0.555556 | 0.37037 | 0.222222 | 0.345679 | 0.493827 | 0.493827 | 0 | 0 | 0 | 0 | 0 | 0.045872 | 0.128 | 125 | 6 | 37 | 20.833333 | 0.697248 | 0.28 | 0 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
51449add33316df36c265dbe942de392aec18a11 | 165 | py | Python | project/api/api_utils.py | albalabkin/PyCats | b3fa09e116f38cebbb66faef16785e2795d80aa9 | [
"Apache-2.0"
] | 7 | 2020-06-12T15:16:10.000Z | 2020-06-20T18:42:07.000Z | project/api/api_utils.py | albalabkin/PyCats | b3fa09e116f38cebbb66faef16785e2795d80aa9 | [
"Apache-2.0"
] | 4 | 2020-06-15T20:08:32.000Z | 2020-06-29T16:51:57.000Z | sample/api/api_utils.py | Softeq/SCAF | c71d54ca7fa958c22ca8c78ba9889c6a32b827be | [
"Apache-2.0"
] | 3 | 2020-07-27T10:45:36.000Z | 2021-01-13T12:10:46.000Z | from datetime import datetime
def get_ui_time_from_api(timestamp):
return ":".join(datetime.fromtimestamp(int(timestamp)).time().isoformat().split(":")[0:-1])
| 27.5 | 95 | 0.733333 | 22 | 165 | 5.318182 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013245 | 0.084848 | 165 | 5 | 96 | 33 | 0.761589 | 0 | 0 | 0 | 0 | 0 | 0.012121 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
514a296d2c3033046b0dc8ebc181febbe636ee32 | 44 | py | Python | bfimdm/__init__.py | b10011/BFIMDM | 2fd3c749b0185cea6268f729f0bbb9b419778573 | [
"MIT"
] | null | null | null | bfimdm/__init__.py | b10011/BFIMDM | 2fd3c749b0185cea6268f729f0bbb9b419778573 | [
"MIT"
] | null | null | null | bfimdm/__init__.py | b10011/BFIMDM | 2fd3c749b0185cea6268f729f0bbb9b419778573 | [
"MIT"
] | null | null | null | from bfimdm.bfimdm import Runtime, unindent
| 22 | 43 | 0.840909 | 6 | 44 | 6.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 44 | 1 | 44 | 44 | 0.948718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5a95e5ecf6e3b2dd1b45aaad2fd6915d2e568460 | 6,390 | py | Python | tests/medium/simple/test_master.py | zhangkaizhao/distributed | 2f439d4fd8d1435dd8566d17842a3662eee6a8f7 | [
"MIT"
] | null | null | null | tests/medium/simple/test_master.py | zhangkaizhao/distributed | 2f439d4fd8d1435dd8566d17842a3662eee6a8f7 | [
"MIT"
] | null | null | null | tests/medium/simple/test_master.py | zhangkaizhao/distributed | 2f439d4fd8d1435dd8566d17842a3662eee6a8f7 | [
"MIT"
] | null | null | null | import asyncio
import multiprocessing
import os
import os.path
import random
import tempfile
import unittest
from aiohttp import web
from aiohttp.test_utils import unused_port
from distributed.simple.master import Master
import distributed.simple.worker as simple_worker
from ...util import calc_file_hash
def start... | 37.588235 | 78 | 0.568388 | 767 | 6,390 | 4.477184 | 0.139505 | 0.041934 | 0.061153 | 0.085614 | 0.800524 | 0.800524 | 0.800524 | 0.800524 | 0.768492 | 0.768492 | 0 | 0.058782 | 0.331768 | 6,390 | 169 | 79 | 37.810651 | 0.745433 | 0 | 0 | 0.693878 | 0 | 0 | 0.038498 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 1 | 0.040816 | false | 0 | 0.081633 | 0 | 0.14966 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5aac1e03dd0e83e53b26be33286125fc472f3296 | 21 | py | Python | ariadne_django/tests/__init__.py | drewsynan/ariadne_django | 836b783a7240eed0ee03b7db1bbb7c5ff2843fb4 | [
"BSD-3-Clause"
] | 34 | 2021-04-08T15:36:14.000Z | 2022-03-22T14:30:28.000Z | ariadne_django/tests/__init__.py | drewsynan/ariadne_django | 836b783a7240eed0ee03b7db1bbb7c5ff2843fb4 | [
"BSD-3-Clause"
] | 34 | 2021-04-08T02:17:25.000Z | 2022-03-22T12:25:41.000Z | ariadne_django/tests/__init__.py | drewsynan/ariadne_django | 836b783a7240eed0ee03b7db1bbb7c5ff2843fb4 | [
"BSD-3-Clause"
] | 11 | 2021-04-08T16:47:36.000Z | 2022-03-26T23:25:39.000Z | # flake8: noqa: E501
| 10.5 | 20 | 0.666667 | 3 | 21 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 0.190476 | 21 | 1 | 21 | 21 | 0.588235 | 0.857143 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5ab06327f395d7b986afb92e06447814d7f86912 | 11,879 | py | Python | helium/feed/tests/views/apis/testcaseexternalcalendarviews.py | HeliumEdu/platform | 54b82a40c21fd14d1b7f37d5f2afb51eea2f8cf5 | [
"MIT"
] | 15 | 2018-01-02T00:44:58.000Z | 2022-03-19T21:38:29.000Z | helium/feed/tests/views/apis/testcaseexternalcalendarviews.py | HeliumEdu/platform | 54b82a40c21fd14d1b7f37d5f2afb51eea2f8cf5 | [
"MIT"
] | 327 | 2017-11-24T22:36:07.000Z | 2022-02-10T08:09:08.000Z | helium/feed/tests/views/apis/testcaseexternalcalendarviews.py | HeliumEdu/platform | 54b82a40c21fd14d1b7f37d5f2afb51eea2f8cf5 | [
"MIT"
] | 3 | 2018-05-04T17:57:58.000Z | 2021-11-18T13:58:46.000Z | import json
import os
import mock
from django.urls import reverse
from rest_framework import status
from rest_framework.test import APITestCase
from helium.auth.tests.helpers import userhelper
from helium.common.tests.helpers import commonhelper
from helium.feed.models import ExternalCalendar
from helium.feed.tests.h... | 44.996212 | 116 | 0.673373 | 1,270 | 11,879 | 6.011024 | 0.122047 | 0.092219 | 0.073356 | 0.041918 | 0.851978 | 0.832591 | 0.784517 | 0.746267 | 0.711685 | 0.696227 | 0 | 0.011838 | 0.224851 | 11,879 | 263 | 117 | 45.1673 | 0.817224 | 0.029211 | 0 | 0.566667 | 0 | 0 | 0.14333 | 0.074232 | 0 | 0 | 0 | 0 | 0.183333 | 1 | 0.072222 | false | 0 | 0.055556 | 0 | 0.133333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5ab838efd1b074c2cf8a01a61e46c09e5729830e | 7,629 | py | Python | lepton.py | penguintantin/Flir_lepton | 0803e3c7e6b207da0081baca18f789e04e1ccfe9 | [
"MIT"
] | 3 | 2018-04-07T10:50:45.000Z | 2022-01-12T17:02:46.000Z | lepton.py | penguintantin/Flir_lepton | 0803e3c7e6b207da0081baca18f789e04e1ccfe9 | [
"MIT"
] | null | null | null | lepton.py | penguintantin/Flir_lepton | 0803e3c7e6b207da0081baca18f789e04e1ccfe9 | [
"MIT"
] | 1 | 2021-04-27T10:08:53.000Z | 2021-04-27T10:08:53.000Z | import numpy as np
import time
from mpsse import *
VOSPI_FRAME_SIZE=164
ImageX=80
ImageY=60
TLM=63
LOOP_LIM=1000
maxval=0
minval=0xffff
ZeroK=27315
#LSB=0.05
LSB=5
Ccount=8192
TlmData=[[0 for i in range(VOSPI_FRAME_SIZE)] for j in range(4)]
#For I2C
ADDRESS = 0x2A
WRADDR = 0x54
RDADDR = 0x55
CLK=4
OUT=5
IN=6
chkACK=0
... | 22.637982 | 80 | 0.677808 | 1,336 | 7,629 | 3.773952 | 0.11976 | 0.069814 | 0.061087 | 0.037088 | 0.799484 | 0.770528 | 0.728679 | 0.704086 | 0.690797 | 0.665411 | 0 | 0.062442 | 0.154018 | 7,629 | 336 | 81 | 22.705357 | 0.718779 | 0.128457 | 0 | 0.705036 | 0 | 0 | 0.02364 | 0 | 0 | 0 | 0.020003 | 0 | 0 | 0 | null | null | 0 | 0.010791 | null | null | 0.032374 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5aeae7c23fd4cd5be1eb65439be3163945bab38a | 38 | py | Python | config_explorer/__init__.py | bryant1410/allennlp-server | cb442b5c86f1befab110ffd4ee6ad4e473c6614b | [
"Apache-2.0"
] | null | null | null | config_explorer/__init__.py | bryant1410/allennlp-server | cb442b5c86f1befab110ffd4ee6ad4e473c6614b | [
"Apache-2.0"
] | null | null | null | config_explorer/__init__.py | bryant1410/allennlp-server | cb442b5c86f1befab110ffd4ee6ad4e473c6614b | [
"Apache-2.0"
] | null | null | null | from .config_explorer import make_app
| 19 | 37 | 0.868421 | 6 | 38 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.911765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
51b19fb356985bdd38360fca6c6cf9901bebffdc | 4,874 | py | Python | src/abaqus/PredefinedField/KinematicHardening.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | 7 | 2022-01-21T09:15:45.000Z | 2022-02-15T09:31:58.000Z | src/abaqus/PredefinedField/KinematicHardening.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | src/abaqus/PredefinedField/KinematicHardening.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | from abaqusConstants import *
from .PredefinedField import PredefinedField
from ..Region.Region import Region
class KinematicHardening(PredefinedField):
"""The KinematicHardening object stores the data for initial equivalent Plastic strains
and, if relevant, the initial backstress tensor.
The KinematicHa... | 42.382609 | 129 | 0.660238 | 501 | 4,874 | 6.371257 | 0.239521 | 0.040727 | 0.046992 | 0.053258 | 0.744361 | 0.744361 | 0.744361 | 0.707393 | 0.707393 | 0.707393 | 0 | 0.001148 | 0.285187 | 4,874 | 114 | 130 | 42.754386 | 0.91504 | 0.699015 | 0 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0.133333 | 0.2 | 0 | 0.466667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
51e2df02eb301c7f4b9a880b018ed4286da5fc56 | 33 | py | Python | app/model/__init__.py | seldish-og/Teselium | 3b7f30e767ed8e08a34db03dc3dec55986c32b98 | [
"MIT"
] | 1 | 2022-02-21T10:46:34.000Z | 2022-02-21T10:46:34.000Z | app/model/__init__.py | seldish-og/Teselium | 3b7f30e767ed8e08a34db03dc3dec55986c32b98 | [
"MIT"
] | null | null | null | app/model/__init__.py | seldish-og/Teselium | 3b7f30e767ed8e08a34db03dc3dec55986c32b98 | [
"MIT"
] | null | null | null | from .settings import session_db
| 16.5 | 32 | 0.848485 | 5 | 33 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cf959c9c84a6fb1bf5f955ff248132a0103c0a8c | 10,739 | py | Python | tests/test_transaction_customer.py | Akohrr/django-paystack | ffad26550dfaeecdc53931a00f525d15396b174a | [
"MIT"
] | 22 | 2020-01-11T19:46:57.000Z | 2022-02-15T11:40:06.000Z | tests/test_transaction_customer.py | Akohrr/django-paystack | ffad26550dfaeecdc53931a00f525d15396b174a | [
"MIT"
] | 10 | 2020-03-21T17:15:05.000Z | 2022-01-22T15:49:15.000Z | tests/test_transaction_customer.py | Akohrr/django-paystack | ffad26550dfaeecdc53931a00f525d15396b174a | [
"MIT"
] | 20 | 2019-10-22T17:02:40.000Z | 2022-02-20T23:43:21.000Z | def test_create_customer(post_request, paystack_api, mock_assertion):
api_response = {
"status": True,
"message": "Customer created",
"data": {
"email": "bojack@horsinaround.com",
"integration": 100032,
"domain": "test",
"customer_code": "CUS_x... | 32.641337 | 172 | 0.530403 | 969 | 10,739 | 5.670795 | 0.143447 | 0.058053 | 0.035487 | 0.023658 | 0.861328 | 0.815287 | 0.80273 | 0.767061 | 0.747407 | 0.711556 | 0 | 0.091669 | 0.331595 | 10,739 | 328 | 173 | 32.740854 | 0.673865 | 0 | 0 | 0.634069 | 0 | 0 | 0.325449 | 0.06928 | 0 | 0 | 0 | 0 | 0.129338 | 1 | 0.028391 | false | 0 | 0 | 0 | 0.028391 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cfe66825f77678ec26623f94aff9294cd8e0989e | 213 | py | Python | async_download_file/test/assert_test.py | woshimanong1990/download_file_gui | 385c9a59499ffa9a7c034d303376d9ce41b7303a | [
"MIT"
] | null | null | null | async_download_file/test/assert_test.py | woshimanong1990/download_file_gui | 385c9a59499ffa9a7c034d303376d9ce41b7303a | [
"MIT"
] | null | null | null | async_download_file/test/assert_test.py | woshimanong1990/download_file_gui | 385c9a59499ffa9a7c034d303376d9ce41b7303a | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import absolute_import
from __future__ import unicode_literals
from __future__ import print_function
def main():
assert 1 == 2
if __name__ == '__main__':
main()
| 16.384615 | 39 | 0.713615 | 27 | 213 | 4.777778 | 0.666667 | 0.232558 | 0.372093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017341 | 0.187793 | 213 | 12 | 40 | 17.75 | 0.728324 | 0.098592 | 0 | 0 | 0 | 0 | 0.042105 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.142857 | true | 0 | 0.428571 | 0 | 0.571429 | 0.142857 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3203a2cf34c515a1bd75bc5ec34caa96e230e3c8 | 87 | py | Python | escalate/core/experiment_templates/__init__.py | darkreactions/ESCALATE | 0020da00b81a2dd80d1c9fd72d2edf92b519e605 | [
"MIT"
] | 11 | 2020-09-29T13:59:02.000Z | 2022-03-23T04:57:52.000Z | escalate/core/experiment_templates/__init__.py | darkreactions/ESCALATE | 0020da00b81a2dd80d1c9fd72d2edf92b519e605 | [
"MIT"
] | 95 | 2019-11-18T20:10:49.000Z | 2022-03-31T17:09:49.000Z | escalate/core/experiment_templates/__init__.py | darkreactions/ESCALATE | 0020da00b81a2dd80d1c9fd72d2edf92b519e605 | [
"MIT"
] | 2 | 2021-11-26T18:22:08.000Z | 2022-03-31T11:57:10.000Z | from .liquid_solid_extraction import *
from .resin_weighing import *
from .wf1 import * | 29 | 38 | 0.804598 | 12 | 87 | 5.583333 | 0.666667 | 0.298507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013158 | 0.126437 | 87 | 3 | 39 | 29 | 0.868421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
32115921aa2f70c139f1e8cdeb5805c7059068be | 5,107 | py | Python | timing/migrations/0001_initial.py | uwmadison-chm/breath_web | 751e2281815c88eccd803b862366665ae9e37e1a | [
"MIT"
] | null | null | null | timing/migrations/0001_initial.py | uwmadison-chm/breath_web | 751e2281815c88eccd803b862366665ae9e37e1a | [
"MIT"
] | null | null | null | timing/migrations/0001_initial.py | uwmadison-chm/breath_web | 751e2281815c88eccd803b862366665ae9e37e1a | [
"MIT"
] | null | null | null | # encoding: utf-8
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'Participant'
db.create_table('timing_participant', (
('id', self.gf('django.db... | 56.744444 | 115 | 0.595457 | 575 | 5,107 | 5.13913 | 0.125217 | 0.105584 | 0.180034 | 0.257191 | 0.768866 | 0.729611 | 0.720135 | 0.718105 | 0.689002 | 0.65956 | 0 | 0.007292 | 0.194439 | 5,107 | 89 | 116 | 57.382022 | 0.710987 | 0.031525 | 0 | 0.391304 | 0 | 0 | 0.473674 | 0.278858 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028986 | false | 0 | 0.057971 | 0 | 0.130435 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
32253b2d4cd8e8248616052f9c04e021025a027d | 8,620 | py | Python | src/som/vmobjects/integer.py | smarr/RTruffleSOM | 1efc698577830ff3fcd1607e7155d9c6423e8804 | [
"MIT"
] | 9 | 2015-02-03T23:24:23.000Z | 2020-06-28T23:49:59.000Z | src/som/vmobjects/integer.py | SOM-st/RTruffleSOM | 1efc698577830ff3fcd1607e7155d9c6423e8804 | [
"MIT"
] | null | null | null | src/som/vmobjects/integer.py | SOM-st/RTruffleSOM | 1efc698577830ff3fcd1607e7155d9c6423e8804 | [
"MIT"
] | 2 | 2016-08-28T23:25:20.000Z | 2016-08-30T16:49:50.000Z | from rpython.rlib.rarithmetic import ovfcheck
from rpython.rlib.rbigint import rbigint, _divrem
from rpython.rtyper.lltypesystem import lltype
from rpython.rtyper.lltypesystem.lloperation import llop
from som.vmobjects.abstract_object import AbstractObject
from som.vmobjects.biginteger import BigInteger
from som.vmobj... | 37.973568 | 85 | 0.622158 | 914 | 8,620 | 5.613786 | 0.09628 | 0.140324 | 0.122198 | 0.068408 | 0.821477 | 0.763009 | 0.759306 | 0.725005 | 0.725005 | 0.71487 | 0 | 0 | 0.29536 | 8,620 | 226 | 86 | 38.141593 | 0.844748 | 0.009977 | 0 | 0.584615 | 0 | 0 | 0.001993 | 0 | 0 | 0 | 0 | 0 | 0.005128 | 1 | 0.097436 | false | 0 | 0.041026 | 0.025641 | 0.389744 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5c8a826a85393b9523dd002964b39faa872d7c2e | 172 | py | Python | conf_global.py | jhaapako/tcf | ecd75404459c6fec9d9fa1522b70a8deab896644 | [
"Apache-2.0"
] | 24 | 2018-08-21T18:04:48.000Z | 2022-02-07T22:50:06.000Z | conf_global.py | jhaapako/tcf | ecd75404459c6fec9d9fa1522b70a8deab896644 | [
"Apache-2.0"
] | 16 | 2018-08-21T18:03:52.000Z | 2022-03-01T17:15:42.000Z | conf_global.py | jhaapako/tcf | ecd75404459c6fec9d9fa1522b70a8deab896644 | [
"Apache-2.0"
] | 29 | 2018-08-22T19:40:59.000Z | 2021-12-21T11:13:23.000Z | #! /usr/bin/python3
import tcfl.tc_clear_bbt
tcfl.tc.tc_c.driver_add(tcfl.tc_clear_bbt.tc_clear_bbt_c)
import tcfl.tc_jtreg
tcfl.tc.tc_c.driver_add(tcfl.tc_jtreg.driver)
| 21.5 | 57 | 0.819767 | 36 | 172 | 3.555556 | 0.333333 | 0.28125 | 0.234375 | 0.21875 | 0.375 | 0.375 | 0.375 | 0.375 | 0 | 0 | 0 | 0.006173 | 0.05814 | 172 | 7 | 58 | 24.571429 | 0.783951 | 0.104651 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
5cbbe83ae3d4960b24366be0e83a072b62d2e2a1 | 74,930 | py | Python | tests/test_column_nested.py | rlizzo/hangar-py | a6deb22854a6c9e9709011b91c1c0eeda7f47bb0 | [
"Apache-2.0"
] | 202 | 2019-04-16T06:26:28.000Z | 2022-03-11T19:57:07.000Z | tests/test_column_nested.py | rlizzo/hangar-py | a6deb22854a6c9e9709011b91c1c0eeda7f47bb0 | [
"Apache-2.0"
] | 183 | 2019-04-20T07:09:15.000Z | 2022-03-09T21:59:27.000Z | tests/test_column_nested.py | rlizzo/hangar-py | a6deb22854a6c9e9709011b91c1c0eeda7f47bb0 | [
"Apache-2.0"
] | 30 | 2019-04-21T16:11:21.000Z | 2022-03-03T08:32:28.000Z | """Tests for the class methods contained in the nested subsample column accessor.
"""
import numpy as np
import pytest
from conftest import fixed_shape_backend_params, variable_shape_backend_params
# --------------------------- Setup ------------------------------
def assert_equal(arr, arr2):
assert np.array_eq... | 47.125786 | 120 | 0.648472 | 9,078 | 74,930 | 5.095726 | 0.04935 | 0.048056 | 0.032513 | 0.030805 | 0.855725 | 0.812901 | 0.770791 | 0.746925 | 0.726648 | 0.690655 | 0 | 0.017425 | 0.244068 | 74,930 | 1,589 | 121 | 47.155444 | 0.799266 | 0.053437 | 0 | 0.620313 | 0 | 0 | 0.064485 | 0.005955 | 0 | 0 | 0 | 0 | 0.257813 | 1 | 0.08125 | false | 0 | 0.029688 | 0.002344 | 0.121875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7a2a3bf2f656b9d4a875120763571194caf9dc8c | 22 | py | Python | build/lib/tools/__init__.py | miquelcanyelles/PhDtools | f397261d890d36a6ecaa018fcd0e67959a78c0e9 | [
"MIT"
] | null | null | null | build/lib/tools/__init__.py | miquelcanyelles/PhDtools | f397261d890d36a6ecaa018fcd0e67959a78c0e9 | [
"MIT"
] | null | null | null | build/lib/tools/__init__.py | miquelcanyelles/PhDtools | f397261d890d36a6ecaa018fcd0e67959a78c0e9 | [
"MIT"
] | null | null | null | from tools import pes
| 11 | 21 | 0.818182 | 4 | 22 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7a4b26539105b6cc32cf0d53dfc088184eb57891 | 204 | py | Python | {{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/__main__.py | chandler37/cookiecutter-py | a4e9c1a04f9f168a65de3a98b29714f1e80f3512 | [
"Apache-2.0"
] | 2 | 2021-01-01T18:07:58.000Z | 2021-03-16T16:34:05.000Z | {{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/__main__.py | chandler37/cookiecutter-py | a4e9c1a04f9f168a65de3a98b29714f1e80f3512 | [
"Apache-2.0"
] | null | null | null | {{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/__main__.py | chandler37/cookiecutter-py | a4e9c1a04f9f168a65de3a98b29714f1e80f3512 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""{{cookiecutter.project_slug}}.__main__: executed when {{cookiecutter.project_slug}} directory is called as script."""
from .{{cookiecutter.project_slug}} import main
main()
| 22.666667 | 120 | 0.710784 | 24 | 204 | 5.75 | 0.666667 | 0.413043 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005525 | 0.112745 | 204 | 8 | 121 | 25.5 | 0.756906 | 0.102941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
7a547b28bf5a77998fe3ce46135788bd2654a30b | 27 | py | Python | ocradmin/batch/tests/__init__.py | mikesname/ocropodium | a3e379cca38dc1999349bf4e9b5608e81dc54b10 | [
"Apache-2.0"
] | 1 | 2018-04-18T20:39:02.000Z | 2018-04-18T20:39:02.000Z | ocradmin/batch/tests/__init__.py | mikesname/ocropodium | a3e379cca38dc1999349bf4e9b5608e81dc54b10 | [
"Apache-2.0"
] | null | null | null | ocradmin/batch/tests/__init__.py | mikesname/ocropodium | a3e379cca38dc1999349bf4e9b5608e81dc54b10 | [
"Apache-2.0"
] | null | null | null |
from batch_tests import *
| 9 | 25 | 0.777778 | 4 | 27 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 27 | 2 | 26 | 13.5 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7a5a91b98f03b9bc914dc87cc5aafc684dc1901e | 27 | py | Python | src/euler_python_package/euler_python/medium/p375.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p375.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p375.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | def problem375():
pass
| 9 | 17 | 0.62963 | 3 | 27 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.259259 | 27 | 2 | 18 | 13.5 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
7a7348664a4482a33b38af7fe91725392436b808 | 69 | py | Python | gym_get_orientation/__init__.py | wataru0/gym_get_orientation | 92f1db4f306110e858af0a9b4aabb1b52a4f6305 | [
"MIT"
] | null | null | null | gym_get_orientation/__init__.py | wataru0/gym_get_orientation | 92f1db4f306110e858af0a9b4aabb1b52a4f6305 | [
"MIT"
] | null | null | null | gym_get_orientation/__init__.py | wataru0/gym_get_orientation | 92f1db4f306110e858af0a9b4aabb1b52a4f6305 | [
"MIT"
] | null | null | null | from gym_get_orientation.get_orientation_env import GetOrientationEnv | 69 | 69 | 0.942029 | 9 | 69 | 6.777778 | 0.777778 | 0.459016 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 69 | 1 | 69 | 69 | 0.924242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7ab01b21331fac57527f3a2fd56cc88394bcb034 | 290 | py | Python | {{cookiecutter.project_slug}}/backend/app/app/tests/test_utils.py | mtr/full-stack-fastapi-postgresql | 745570d644dbf57d02fed144afbce0ee850d966f | [
"MIT"
] | 3 | 2022-01-05T20:08:08.000Z | 2022-03-18T12:45:31.000Z | {{cookiecutter.project_slug}}/backend/app/app/tests/test_utils.py | mtr/full-stack-fastapi-postgresql | 745570d644dbf57d02fed144afbce0ee850d966f | [
"MIT"
] | null | null | null | {{cookiecutter.project_slug}}/backend/app/app/tests/test_utils.py | mtr/full-stack-fastapi-postgresql | 745570d644dbf57d02fed144afbce0ee850d966f | [
"MIT"
] | 1 | 2022-01-04T11:18:50.000Z | 2022-01-04T11:18:50.000Z | from app.utils import verify_password_reset_token, generate_password_reset_token
def test_verify_password_reset_token():
test_email = 'test@myapp.com'
token = generate_password_reset_token(test_email)
email = verify_password_reset_token(token)
assert test_email == email
| 29 | 80 | 0.803448 | 40 | 290 | 5.35 | 0.375 | 0.303738 | 0.420561 | 0.336449 | 0.457944 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134483 | 290 | 9 | 81 | 32.222222 | 0.85259 | 0 | 0 | 0 | 1 | 0 | 0.048443 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | false | 0.666667 | 0.166667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
8fa63c5811c71877819d22aab4508b5b99907bf6 | 125 | py | Python | goldclip/programs/__init__.py | bakerwm/goldclip | a1ed8b63d51ed05f165a15cce66a6ace2c3976a9 | [
"MIT"
] | null | null | null | goldclip/programs/__init__.py | bakerwm/goldclip | a1ed8b63d51ed05f165a15cce66a6ace2c3976a9 | [
"MIT"
] | null | null | null | goldclip/programs/__init__.py | bakerwm/goldclip | a1ed8b63d51ed05f165a15cce66a6ace2c3976a9 | [
"MIT"
] | null | null | null | from .trim import *
from .map import *
from .peak import *
from .rtstop import *
from .report import *
from .parser import *
| 17.857143 | 21 | 0.712 | 18 | 125 | 4.944444 | 0.444444 | 0.561798 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192 | 125 | 6 | 22 | 20.833333 | 0.881188 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8ffed50f53cbcd19755490309e357fc958935f6e | 162 | py | Python | 9_Phan_Van_Quan/bai1_2.py | huong-rose/student-practices | 3d0e500a1864665b63247e3b6c96c297c55fceb8 | [
"MIT"
] | null | null | null | 9_Phan_Van_Quan/bai1_2.py | huong-rose/student-practices | 3d0e500a1864665b63247e3b6c96c297c55fceb8 | [
"MIT"
] | null | null | null | 9_Phan_Van_Quan/bai1_2.py | huong-rose/student-practices | 3d0e500a1864665b63247e3b6c96c297c55fceb8 | [
"MIT"
] | 8 | 2020-07-10T14:13:54.000Z | 2020-08-03T08:17:50.000Z | # asks the user for their name and greets them with their name
print("Hello")
name = input("What's your name?")
print("Hello", name)
print("nice to meet you") | 32.4 | 63 | 0.697531 | 28 | 162 | 4.035714 | 0.714286 | 0.238938 | 0.247788 | 0.318584 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17284 | 162 | 5 | 64 | 32.4 | 0.843284 | 0.37037 | 0 | 0 | 0 | 0 | 0.443299 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.75 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
713551322ade4a96553d1923c9b424b0f32ab336 | 86 | py | Python | src/indented_logs/__init__.py | cuongbm/indented_logs | e6053ee840353264196db1137c223514406e908a | [
"MIT"
] | 1 | 2021-07-17T09:17:41.000Z | 2021-07-17T09:17:41.000Z | src/indented_logs/__init__.py | cuongbm/indented_logs | e6053ee840353264196db1137c223514406e908a | [
"MIT"
] | null | null | null | src/indented_logs/__init__.py | cuongbm/indented_logs | e6053ee840353264196db1137c223514406e908a | [
"MIT"
] | null | null | null | from indented_logs.decorators import log_call, log_call_cls, get_all_args_str # noqa
| 43 | 85 | 0.848837 | 15 | 86 | 4.4 | 0.866667 | 0.212121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104651 | 86 | 1 | 86 | 86 | 0.857143 | 0.046512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.