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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
41cd8d56f4d24e6552e6fd98e710360e73235678 | 54 | py | Python | tianshou/core/value_function/__init__.py | Suffoquer-fang/tianshou | d59d6cafe9f5d75789bdbed7fad4cd4b79877f4f | [
"MIT"
] | null | null | null | tianshou/core/value_function/__init__.py | Suffoquer-fang/tianshou | d59d6cafe9f5d75789bdbed7fad4cd4b79877f4f | [
"MIT"
] | null | null | null | tianshou/core/value_function/__init__.py | Suffoquer-fang/tianshou | d59d6cafe9f5d75789bdbed7fad4cd4b79877f4f | [
"MIT"
] | null | null | null | from .state_value import *
from .action_value import * | 27 | 27 | 0.796296 | 8 | 54 | 5.125 | 0.625 | 0.536585 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12963 | 54 | 2 | 27 | 27 | 0.87234 | 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 |
ec2ad7313826be3642c4e71d012a07623282fc8c | 6,257 | py | Python | tests/test_api.py | jbrentfoster/wae-epnm-collector | 93315ee286084232d823c2bd66a850c13bdee838 | [
"MIT"
] | null | null | null | tests/test_api.py | jbrentfoster/wae-epnm-collector | 93315ee286084232d823c2bd66a850c13bdee838 | [
"MIT"
] | null | null | null | tests/test_api.py | jbrentfoster/wae-epnm-collector | 93315ee286084232d823c2bd66a850c13bdee838 | [
"MIT"
] | 2 | 2019-02-18T16:43:55.000Z | 2020-02-21T23:54:57.000Z | # Tests to check the api calls being made by the script
import pytest
import requests
import json
import time
import logging
import responses
from collectioncode import utils, collect
from mock import Mock, patch
# Setting up the vars for use in the api calls
baseurl = "https://10.135.7.222/restconf"
# uri = "/data/v1... | 35.551136 | 182 | 0.717756 | 797 | 6,257 | 5.441656 | 0.217064 | 0.079548 | 0.068942 | 0.074706 | 0.794789 | 0.774037 | 0.767581 | 0.732534 | 0.724464 | 0.658981 | 0 | 0.030431 | 0.164935 | 6,257 | 176 | 183 | 35.551136 | 0.799617 | 0.271376 | 0 | 0.616162 | 0 | 0.030303 | 0.219788 | 0.0861 | 0 | 0 | 0 | 0 | 0.10101 | 1 | 0.111111 | false | 0.131313 | 0.080808 | 0 | 0.191919 | 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 |
ec453f872527424f3ec293e836241fd17a4d2f99 | 2,022 | py | Python | done/flask-greet-calc/calc/app.py | demohack/yute | 2fb136118733394e3595bf707cb32f1b7b2aede0 | [
"MIT"
] | null | null | null | done/flask-greet-calc/calc/app.py | demohack/yute | 2fb136118733394e3595bf707cb32f1b7b2aede0 | [
"MIT"
] | 17 | 2021-03-24T14:59:50.000Z | 2022-03-05T23:52:31.000Z | done/flask-greet-calc/calc/app.py | demohack/yute | 2fb136118733394e3595bf707cb32f1b7b2aede0 | [
"MIT"
] | null | null | null | from flask import Flask, request
app = Flask(__name__)
@app.route('/add', methods = ['POST', 'GET'])
def add(a=0, b=0):
"""Adds a and b and returns result as the body"""
if request.method == 'POST':
a = request.form['a']
b = request.form['b']
elif request.method == 'GET':
a = req... | 21.741935 | 58 | 0.505935 | 308 | 2,022 | 3.308442 | 0.136364 | 0.039254 | 0.088322 | 0.083415 | 0.757606 | 0.757606 | 0.757606 | 0.757606 | 0.757606 | 0.757606 | 0 | 0.005587 | 0.29179 | 2,022 | 92 | 59 | 21.978261 | 0.706006 | 0.109298 | 0 | 0.714286 | 0 | 0 | 0.088501 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.079365 | false | 0 | 0.015873 | 0 | 0.174603 | 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 |
6b5ac85ed72f00bfbd2708c78bfacbc994471bff | 265 | py | Python | soli/aria/views/__init__.py | rcdixon/soli | d29c77c1d391dfcc3c0dd0297ecf93fa9aa046ab | [
"MIT"
] | null | null | null | soli/aria/views/__init__.py | rcdixon/soli | d29c77c1d391dfcc3c0dd0297ecf93fa9aa046ab | [
"MIT"
] | null | null | null | soli/aria/views/__init__.py | rcdixon/soli | d29c77c1d391dfcc3c0dd0297ecf93fa9aa046ab | [
"MIT"
] | null | null | null | from .index import index
from aria.views.create.crop import createCrop
from aria.views.create.plot import createPlot, createPlotAjax, deletePlotsAjax
from aria.views.create.species import createSpecies, createGenus
from aria.views.display.crops import displayCrops
| 44.166667 | 78 | 0.85283 | 35 | 265 | 6.457143 | 0.514286 | 0.141593 | 0.230089 | 0.252212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086792 | 265 | 5 | 79 | 53 | 0.933884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6b66a490a312f1667a8a53ad91c17cf69c48e1f8 | 33 | py | Python | tests/fixtures/__init__.py | DimonLuk/django-boilerplate | ce629e3d32d3a121932d21aa78e83c34e78a9bf0 | [
"MIT"
] | 9 | 2020-01-31T17:29:21.000Z | 2020-03-07T12:32:36.000Z | tests/fixtures/__init__.py | DimonLuk/django-boilerplate | ce629e3d32d3a121932d21aa78e83c34e78a9bf0 | [
"MIT"
] | 8 | 2020-02-20T16:53:45.000Z | 2020-06-03T07:26:57.000Z | tests/fixtures/__init__.py | DimonLuk/django-boilerplate | ce629e3d32d3a121932d21aa78e83c34e78a9bf0 | [
"MIT"
] | null | null | null | from .general import app # NOQA
| 16.5 | 32 | 0.727273 | 5 | 33 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 33 | 1 | 33 | 33 | 0.923077 | 0.121212 | 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 |
6b9359a45e7b8da6ab66afdfc209556c3bace758 | 8,533 | py | Python | cottonformation/res/cloud9.py | gitter-badger/cottonformation-project | 354f1dce7ea106e209af2d5d818b6033a27c193c | [
"BSD-2-Clause"
] | null | null | null | cottonformation/res/cloud9.py | gitter-badger/cottonformation-project | 354f1dce7ea106e209af2d5d818b6033a27c193c | [
"BSD-2-Clause"
] | null | null | null | cottonformation/res/cloud9.py | gitter-badger/cottonformation-project | 354f1dce7ea106e209af2d5d818b6033a27c193c | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
This module
"""
import attr
import typing
from ..core.model import (
Property, Resource, Tag, GetAtt, TypeHint, TypeCheck,
)
from ..core.constant import AttrMeta
#--- Property declaration ---
@attr.s
class EnvironmentEC2Repository(Property):
"""
AWS Object Type = "AWS::Cloud... | 59.256944 | 200 | 0.757998 | 949 | 8,533 | 6.717597 | 0.084299 | 0.181961 | 0.048314 | 0.074667 | 0.896157 | 0.896157 | 0.875451 | 0.86102 | 0.86102 | 0.86102 | 0 | 0.016006 | 0.106762 | 8,533 | 143 | 201 | 59.671329 | 0.820388 | 0.326614 | 0 | 0.3125 | 0 | 0 | 0.05982 | 0.02991 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025 | false | 0 | 0.05 | 0 | 0.3 | 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 |
6bd1d7ade4329b168050502a59c89e79ea866a92 | 7,748 | py | Python | autolens/model/inversion/util/mapper_util.py | AshKelly/PyAutoLens | 043795966338a655339e61782253ad67cc3c14e6 | [
"MIT"
] | null | null | null | autolens/model/inversion/util/mapper_util.py | AshKelly/PyAutoLens | 043795966338a655339e61782253ad67cc3c14e6 | [
"MIT"
] | null | null | null | autolens/model/inversion/util/mapper_util.py | AshKelly/PyAutoLens | 043795966338a655339e61782253ad67cc3c14e6 | [
"MIT"
] | null | null | null | import numpy as np
from autolens import decorator_util
@decorator_util.jit()
def mapping_matrix_from_sub_to_pix(sub_to_pix, pixels, regular_pixels, sub_to_regular, sub_grid_fraction):
"""Computes the mapping matrix, by iterating over the known mappings between the sub-grid and pixelization.
Parameters
---... | 48.425 | 120 | 0.696825 | 1,052 | 7,748 | 4.831749 | 0.129278 | 0.062955 | 0.061971 | 0.055086 | 0.838481 | 0.794806 | 0.769034 | 0.731458 | 0.720047 | 0.681094 | 0 | 0.007031 | 0.247419 | 7,748 | 160 | 121 | 48.425 | 0.864689 | 0.431466 | 0 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05 | false | 0 | 0.033333 | 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 |
6bf775113f8745c071d87610893e8b61a508ce8f | 150 | py | Python | pymgl/tests/conftest.py | brendan-ward/pymgl | c88e652023601736b73bd60f5fb7df6359255f28 | [
"MIT"
] | 3 | 2022-03-01T21:38:38.000Z | 2022-03-03T02:10:07.000Z | pymgl/tests/conftest.py | brendan-ward/pymgl | c88e652023601736b73bd60f5fb7df6359255f28 | [
"MIT"
] | 1 | 2022-03-07T21:25:17.000Z | 2022-03-08T20:27:11.000Z | pymgl/tests/conftest.py | brendan-ward/pymgl | c88e652023601736b73bd60f5fb7df6359255f28 | [
"MIT"
] | null | null | null | import pytest
from .common import read_style
@pytest.fixture(scope="session")
def empty_style():
return read_style("example-style-empty.json")
| 16.666667 | 49 | 0.76 | 21 | 150 | 5.285714 | 0.666667 | 0.162162 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 150 | 8 | 50 | 18.75 | 0.840909 | 0 | 0 | 0 | 0 | 0 | 0.206667 | 0.16 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 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 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
d40e7a60ff68e0ff2cf1ef106526416a64c5b152 | 126 | py | Python | keepachangelog/__init__.py | Mulugruntz/keepachangelog | 3538c5b4beb433293352d084f4df7bcce4d02bf1 | [
"MIT"
] | null | null | null | keepachangelog/__init__.py | Mulugruntz/keepachangelog | 3538c5b4beb433293352d084f4df7bcce4d02bf1 | [
"MIT"
] | null | null | null | keepachangelog/__init__.py | Mulugruntz/keepachangelog | 3538c5b4beb433293352d084f4df7bcce4d02bf1 | [
"MIT"
] | null | null | null | from keepachangelog.version import __version__
from keepachangelog._changelog import to_dict, to_raw_dict, release, from_dict
| 42 | 78 | 0.873016 | 17 | 126 | 5.941176 | 0.529412 | 0.356436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087302 | 126 | 2 | 79 | 63 | 0.878261 | 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 |
2e0b8e695c44701040a1b322561549feb15f5d85 | 23,570 | py | Python | tests/structures/test_java.py | cherub96/voc | 2692d56059e4d4a52768270feaf5179b23609b04 | [
"BSD-3-Clause"
] | null | null | null | tests/structures/test_java.py | cherub96/voc | 2692d56059e4d4a52768270feaf5179b23609b04 | [
"BSD-3-Clause"
] | null | null | null | tests/structures/test_java.py | cherub96/voc | 2692d56059e4d4a52768270feaf5179b23609b04 | [
"BSD-3-Clause"
] | null | null | null | from unittest import expectedFailure
from ..utils import TranspileTestCase
class JavaTests(TranspileTestCase):
def test_multiple_constructors(self):
"The appropriate constructor for a native Java class can be interpolated from args"
self.assertJavaExecution(
"""
from java... | 37.833066 | 180 | 0.492193 | 2,169 | 23,570 | 5.289534 | 0.047026 | 0.095877 | 0.056306 | 0.028763 | 0.885557 | 0.82838 | 0.780964 | 0.724048 | 0.697115 | 0.643249 | 0 | 0.010753 | 0.427917 | 23,570 | 622 | 181 | 37.893891 | 0.840107 | 0.03636 | 0 | 0.647619 | 0 | 0.019048 | 0.868689 | 0.108597 | 0 | 0 | 0 | 0 | 0.030476 | 1 | 0.030476 | false | 0 | 0.030476 | 0 | 0.062857 | 0.182857 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2e458d4962853fad9989501b67826e3c9c8360aa | 170 | py | Python | tracker/ticket/views.py | okin006/tracker | 82fc7b658f2e5be9e7447881e893cfb1186fe2b1 | [
"MIT"
] | null | null | null | tracker/ticket/views.py | okin006/tracker | 82fc7b658f2e5be9e7447881e893cfb1186fe2b1 | [
"MIT"
] | null | null | null | tracker/ticket/views.py | okin006/tracker | 82fc7b658f2e5be9e7447881e893cfb1186fe2b1 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse
# Create your views here.
def home(request):
return HttpResponse("Bonjour tout le monde !")
| 24.285714 | 50 | 0.776471 | 23 | 170 | 5.73913 | 0.826087 | 0.151515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152941 | 170 | 6 | 51 | 28.333333 | 0.916667 | 0.135294 | 0 | 0 | 0 | 0 | 0.158621 | 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 |
2e4713f0833f32c9b3c0c22cdf397f03e0bbcfe7 | 132 | py | Python | meta-cube/recipes-support/overc-system-agent/files/overc-system-agent-1.2/Overc/__init__.py | sajal-wr/meta-overc | 6e65720884144d320960b8fe737b1e20bf53f555 | [
"MIT"
] | 14 | 2016-03-23T20:44:11.000Z | 2022-02-03T13:58:49.000Z | meta-cube/recipes-support/overc-system-agent/files/overc-system-agent-1.2/Overc/__init__.py | sajal-wr/meta-overc | 6e65720884144d320960b8fe737b1e20bf53f555 | [
"MIT"
] | 242 | 2016-03-24T18:06:33.000Z | 2021-10-20T19:29:30.000Z | meta-cube/recipes-support/overc-system-agent/files/overc-system-agent-1.2/Overc/__init__.py | sajal-wr/meta-overc | 6e65720884144d320960b8fe737b1e20bf53f555 | [
"MIT"
] | 32 | 2016-02-19T20:54:01.000Z | 2021-03-26T04:24:38.000Z | from Overc.overc import Overc
from Overc.utils import Utils
from Overc.package import Package
from Overc.container import Container
| 26.4 | 37 | 0.848485 | 20 | 132 | 5.6 | 0.3 | 0.321429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 132 | 4 | 38 | 33 | 0.965517 | 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 |
2e654e2871524b40a1baf0a7ffeaec3f4b6323d6 | 2,535 | py | Python | place2planet/place2geojson.py | AndreaChlebikova/hacktober2018 | edfcab5c6d6f11e269643c9180ffc0108b15e1e0 | [
"Apache-2.0"
] | 2 | 2018-10-17T13:52:42.000Z | 2020-05-06T22:56:13.000Z | place2planet/place2geojson.py | AndreaChlebikova/hacktober2018 | edfcab5c6d6f11e269643c9180ffc0108b15e1e0 | [
"Apache-2.0"
] | null | null | null | place2planet/place2geojson.py | AndreaChlebikova/hacktober2018 | edfcab5c6d6f11e269643c9180ffc0108b15e1e0 | [
"Apache-2.0"
] | 1 | 2018-10-25T16:00:08.000Z | 2018-10-25T16:00:08.000Z | import json
import requests
import shapely
import shapely.geometry as geom
from shapely.geometry import Point, box, Polygon, MultiPoint
def search(place,local):
if (',') in place:
place.split(',')
real=''.join(place)
r=requests.get('https://nominatim.openstreetmap.org/search?q='+real+'&form... | 43.706897 | 94 | 0.523077 | 276 | 2,535 | 4.800725 | 0.26087 | 0.067925 | 0.036226 | 0.045283 | 0.795472 | 0.795472 | 0.795472 | 0.795472 | 0.795472 | 0.655094 | 0 | 0.015682 | 0.345957 | 2,535 | 57 | 95 | 44.473684 | 0.783474 | 0.028797 | 0 | 0.727273 | 0 | 0 | 0.106461 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018182 | false | 0 | 0.145455 | 0 | 0.163636 | 0.090909 | 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 |
2e79e11e6dcb606f01d7111ada80d56f25925607 | 935 | py | Python | 2.4.py | ChichaSasha/A-SD_DZ | 536fa3f16cfcab1256b569140978227a06bd42e4 | [
"Apache-2.0"
] | 2 | 2020-11-05T14:18:16.000Z | 2020-11-16T18:32:12.000Z | 2.4.py | ChichaSasha/A-SD_DZ | 536fa3f16cfcab1256b569140978227a06bd42e4 | [
"Apache-2.0"
] | null | null | null | 2.4.py | ChichaSasha/A-SD_DZ | 536fa3f16cfcab1256b569140978227a06bd42e4 | [
"Apache-2.0"
] | null | null | null |
def n_to_m(n):
n_2 = ""
# to base 2
while n > 0:
n_2 += str(n % 2)
n = n // 2
max_num = "0"
for i in range(len(n_2)):
n_2 = n_2[1:] + n_2[0]
if n_2 > max_num:
max_num = n_2
# to base 10
step = 1
ans_num = 0
for i in range(len(n_2) - 1, -... | 17.980769 | 41 | 0.432086 | 173 | 935 | 2.115607 | 0.156069 | 0.131148 | 0.04918 | 0.10929 | 0.844262 | 0.81694 | 0.806011 | 0.754098 | 0.644809 | 0.63388 | 0 | 0.092421 | 0.42139 | 935 | 51 | 42 | 18.333333 | 0.584104 | 0.04385 | 0 | 0.552632 | 0 | 0 | 0.004505 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.078947 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5ce89784fe658efb4afcac5418c00424f42aee60 | 3,058 | py | Python | plotGMM.py | BatyaGG/Time-Series-Gaussian-Mixture-Regression_using_only_numpy_and_scipy | c2f6c7d10e7dba6754541a3e6be6bcc77d78d65c | [
"MIT"
] | 41 | 2017-09-14T19:09:03.000Z | 2022-01-10T14:51:12.000Z | plotGMM.py | BatyaGG/Time-Series-Gaussian-Mixture-Regression_using_only_numpy_and_scipy | c2f6c7d10e7dba6754541a3e6be6bcc77d78d65c | [
"MIT"
] | null | null | null | plotGMM.py | BatyaGG/Time-Series-Gaussian-Mixture-Regression_using_only_numpy_and_scipy | c2f6c7d10e7dba6754541a3e6be6bcc77d78d65c | [
"MIT"
] | 16 | 2018-12-05T11:01:13.000Z | 2021-04-07T12:31:13.000Z | import numpy as np
from matplotlib.path import Path
import matplotlib.patches as patches
import scipy.linalg as lin
import matplotlib.pyplot as plt
def plotGMM(Mu, Sigma, color,display_mode, ax):
a, nbData = np.shape(Mu)
lightcolor = np.asarray(color) + np.asarray([0.6,0.6,0.6])
a = np.nonzero(lightcolor >... | 35.55814 | 88 | 0.466972 | 394 | 3,058 | 3.601523 | 0.200508 | 0.016913 | 0.038055 | 0.019732 | 0.742777 | 0.742777 | 0.742777 | 0.742777 | 0.742777 | 0.742777 | 0 | 0.033473 | 0.374755 | 3,058 | 86 | 89 | 35.55814 | 0.708682 | 0.046109 | 0 | 0.72973 | 0 | 0 | 0.000687 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013514 | false | 0 | 0.067568 | 0 | 0.081081 | 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 |
cf3b7bb1d1b78311acff99e85f1adf3fc9c281d5 | 22 | py | Python | swilite/__init__.py | EdTsft/swilite | b53e6167d599314b751887563fee4274335374ff | [
"MIT"
] | null | null | null | swilite/__init__.py | EdTsft/swilite | b53e6167d599314b751887563fee4274335374ff | [
"MIT"
] | null | null | null | swilite/__init__.py | EdTsft/swilite | b53e6167d599314b751887563fee4274335374ff | [
"MIT"
] | null | null | null | from .prolog import *
| 11 | 21 | 0.727273 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cf461f774843015f42cd085c7d58792c3688a1a1 | 64 | py | Python | callback.py | Roger-Heathcote/py3-http-server-skeleton | b776b2866ad30038511619ceae99436dd4a582df | [
"MIT"
] | null | null | null | callback.py | Roger-Heathcote/py3-http-server-skeleton | b776b2866ad30038511619ceae99436dd4a582df | [
"MIT"
] | null | null | null | callback.py | Roger-Heathcote/py3-http-server-skeleton | b776b2866ad30038511619ceae99436dd4a582df | [
"MIT"
] | null | null | null | def callback(*req):
print(req)
print(getattr(req, 'data', '')) | 21.333333 | 32 | 0.640625 | 9 | 64 | 4.555556 | 0.666667 | 0.390244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109375 | 64 | 3 | 32 | 21.333333 | 0.719298 | 0 | 0 | 0 | 0 | 0 | 0.061538 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0 | 0.333333 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
cf474df45d57ef28fe7cb364155caf6e1aaab00b | 182 | py | Python | items/base_item.py | voidrank/alchemy | 854c9b867d21514b43dcd97e1b223a75435c3d81 | [
"MIT"
] | 5 | 2016-12-26T07:56:14.000Z | 2017-02-04T05:11:22.000Z | items/base_item.py | voidrank/alchemy | 854c9b867d21514b43dcd97e1b223a75435c3d81 | [
"MIT"
] | null | null | null | items/base_item.py | voidrank/alchemy | 854c9b867d21514b43dcd97e1b223a75435c3d81 | [
"MIT"
] | 1 | 2018-08-05T14:51:06.000Z | 2018-08-05T14:51:06.000Z | import numpy as np
class Field(object):
def __init__(self, **kwargs):
self._kwargs = kwargs
class BaseItem(object):
def __init__(self, **kwargs):
pass
| 12.133333 | 33 | 0.620879 | 22 | 182 | 4.727273 | 0.590909 | 0.288462 | 0.25 | 0.326923 | 0.442308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.269231 | 182 | 14 | 34 | 13 | 0.781955 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.142857 | 0.142857 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
cf4c0cbaafaad67f4f6c0ee209cdb7ef43acfd24 | 22,157 | py | Python | Q5293.py | Linchin/python_leetcode_git | 3d08ab04bbdbd2ce268f33c501fbb149662872c7 | [
"MIT"
] | null | null | null | Q5293.py | Linchin/python_leetcode_git | 3d08ab04bbdbd2ce268f33c501fbb149662872c7 | [
"MIT"
] | null | null | null | Q5293.py | Linchin/python_leetcode_git | 3d08ab04bbdbd2ce268f33c501fbb149662872c7 | [
"MIT"
] | null | null | null | """
contest 12/21/2019
"""
class Solution:
def maxFreq(self, s: str, maxLetters: int, minSize: int, maxSize: int) -> int:
freq = {}
count_dict = {}
def count_letters(word):
if word in count_dict:
return count_dict[word]
unq = {}
for i... | 363.229508 | 10,006 | 0.971837 | 136 | 22,157 | 158.279412 | 0.367647 | 0.002091 | 0.001812 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001247 | 0.022927 | 22,157 | 61 | 10,007 | 363.229508 | 0.993071 | 0.000812 | 0 | 0.045455 | 0 | 0 | 0.948852 | 0.948852 | 0 | 1 | 0 | 0 | 0 | 1 | 0.045455 | false | 0 | 0 | 0 | 0.181818 | 0.045455 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cf50f93bd8ae6d0b9850d85104a513ea858110bf | 33 | py | Python | test.py | TheCulliganMan/ether_watch | ce8c56976bad77cab2a4b3511fe3ceea6085b4cf | [
"MIT"
] | null | null | null | test.py | TheCulliganMan/ether_watch | ce8c56976bad77cab2a4b3511fe3ceea6085b4cf | [
"MIT"
] | null | null | null | test.py | TheCulliganMan/ether_watch | ce8c56976bad77cab2a4b3511fe3ceea6085b4cf | [
"MIT"
] | null | null | null | import .etherwatch
print(main())
| 11 | 18 | 0.757576 | 4 | 33 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 2 | 19 | 16.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
cf50ff81a62ce68b1342250fbc363f80d83ab94d | 81 | py | Python | sortingview/experimental/__init__.py | magland/sortingview | 0b1be9d55048cd4b8a0b6b6733bd7d35cb440aa7 | [
"Apache-2.0"
] | 2 | 2021-11-19T04:51:42.000Z | 2022-03-12T23:36:19.000Z | sortingview/experimental/__init__.py | magland/sortingview | 0b1be9d55048cd4b8a0b6b6733bd7d35cb440aa7 | [
"Apache-2.0"
] | 172 | 2021-05-10T17:39:15.000Z | 2022-03-18T21:46:15.000Z | sortingview/experimental/__init__.py | magland/sortingview | 0b1be9d55048cd4b8a0b6b6733bd7d35cb440aa7 | [
"Apache-2.0"
] | 2 | 2021-08-29T20:13:57.000Z | 2022-03-12T23:36:34.000Z | from .load_recording import load_recording
from .load_sorting import load_sorting | 40.5 | 42 | 0.888889 | 12 | 81 | 5.666667 | 0.416667 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08642 | 81 | 2 | 43 | 40.5 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
cf7dc9a82d51c0f19eb3af7ed066ed85be0b6744 | 334 | py | Python | models/__init__.py | huangleiBuaa/XBNBlock | c33650aa470fc5fd6da9b9f5491002b1bd70be2f | [
"BSD-2-Clause"
] | 13 | 2022-03-23T17:52:53.000Z | 2022-03-30T12:57:34.000Z | models/__init__.py | huangleiBuaa/XBNBlock | c33650aa470fc5fd6da9b9f5491002b1bd70be2f | [
"BSD-2-Clause"
] | null | null | null | models/__init__.py | huangleiBuaa/XBNBlock | c33650aa470fc5fd6da9b9f5491002b1bd70be2f | [
"BSD-2-Clause"
] | 1 | 2022-03-25T02:16:00.000Z | 2022-03-25T02:16:00.000Z | from .resnet import *
from .resnet_XBNBlock_P1 import *
from .resnet_XBNBlock_P2 import *
from .resnet_XBNBlock_P3 import *
from .resnext_XBNBlock_P2 import *
from .resnext import *
from .resnext_forGN import *
from .mobilenetV2 import *
from .mobilenetV2_XBNBlock import *
from .shuffleV2 import *
from .shuffleV2_XBNBl... | 25.692308 | 35 | 0.799401 | 44 | 334 | 5.818182 | 0.25 | 0.390625 | 0.1875 | 0.28125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027682 | 0.134731 | 334 | 12 | 36 | 27.833333 | 0.858131 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d872011661142c20ba20eced2cb7c4c0d63041ef | 235 | py | Python | models/news_model.py | ismdeep/jxust-news-monitor | a5dc6ba689a21e85e9e44847dbbd4d6ed02a3d34 | [
"MIT"
] | null | null | null | models/news_model.py | ismdeep/jxust-news-monitor | a5dc6ba689a21e85e9e44847dbbd4d6ed02a3d34 | [
"MIT"
] | null | null | null | models/news_model.py | ismdeep/jxust-news-monitor | a5dc6ba689a21e85e9e44847dbbd4d6ed02a3d34 | [
"MIT"
] | null | null | null | class NewsModel:
title = None
url = None
def __init__(self, __title__, __url__):
self.title = __title__
self.url = __url__
def __str__(self):
return '''["%s", "%s"]''' % (self.title, self.url)
| 21.363636 | 58 | 0.557447 | 27 | 235 | 3.962963 | 0.407407 | 0.252336 | 0.224299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.289362 | 235 | 10 | 59 | 23.5 | 0.640719 | 0 | 0 | 0 | 0 | 0 | 0.051064 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.125 | 0.75 | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
d89d9a6538f430ec2c12f02401156cb0d4fedbdf | 61 | py | Python | acq4/devices/Scanner/__init__.py | aleonlein/acq4 | 4b1fcb9ad2c5e8d4595a2b9cf99d50ece0c0f555 | [
"MIT"
] | 47 | 2015-01-05T16:18:10.000Z | 2022-03-16T13:09:30.000Z | acq4/devices/Scanner/__init__.py | aleonlein/acq4 | 4b1fcb9ad2c5e8d4595a2b9cf99d50ece0c0f555 | [
"MIT"
] | 48 | 2015-04-19T16:51:41.000Z | 2022-03-31T14:48:16.000Z | acq4/devices/Scanner/__init__.py | sensapex/acq4 | 9561ba73caff42c609bd02270527858433862ad8 | [
"MIT"
] | 32 | 2015-01-15T14:11:49.000Z | 2021-07-15T13:44:52.000Z | from __future__ import print_function
from .Scanner import *
| 20.333333 | 37 | 0.836066 | 8 | 61 | 5.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131148 | 61 | 2 | 38 | 30.5 | 0.867925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
d8b16fd2d43764b728355c8d455e183a202ed9d8 | 2,154 | py | Python | tests/user_message_test.py | zixia/python-wechaty | 1aa6cf12f0d050761c58b016a4f3a8341373e5d2 | [
"Apache-2.0"
] | 1 | 2021-12-10T06:48:33.000Z | 2021-12-10T06:48:33.000Z | tests/user_message_test.py | zixia/python-wechaty | 1aa6cf12f0d050761c58b016a4f3a8341373e5d2 | [
"Apache-2.0"
] | 1 | 2022-01-17T04:02:36.000Z | 2022-01-17T04:02:36.000Z | tests/user_message_test.py | zixia/python-wechaty | 1aa6cf12f0d050761c58b016a4f3a8341373e5d2 | [
"Apache-2.0"
] | null | null | null | import pytest
from wechaty.wechaty import Wechaty
@pytest.mark.asyncio
async def test_mention_text_without_mentions(test_bot: Wechaty) -> None:
"""Test extracting mention text from a message without mentions"""
msg = await test_bot.Message.find(message_id="no_mention")
await msg.ready()
text = await m... | 37.789474 | 91 | 0.748375 | 311 | 2,154 | 4.926045 | 0.135048 | 0.129243 | 0.06658 | 0.086162 | 0.898172 | 0.898172 | 0.898172 | 0.898172 | 0.898172 | 0.894256 | 0 | 0.006583 | 0.153668 | 2,154 | 56 | 92 | 38.464286 | 0.83379 | 0 | 0 | 0.473684 | 0 | 0 | 0.136519 | 0.051195 | 0 | 0 | 0 | 0 | 0.157895 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.052632 | 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 |
d8b27b02a0810630d1da2294aef39c2b7af46094 | 113 | py | Python | freenom_dns_updater/exception/add_error.py | anhdhbn/Freenom-dns-updater | ec928755d7e18efa00bcc9aed20ad0b3eb093239 | [
"MIT"
] | 160 | 2016-02-27T15:20:24.000Z | 2022-03-13T17:27:49.000Z | freenom_dns_updater/exception/add_error.py | anhdhbn/Freenom-dns-updater | ec928755d7e18efa00bcc9aed20ad0b3eb093239 | [
"MIT"
] | 31 | 2016-02-12T21:25:35.000Z | 2022-03-03T19:24:59.000Z | freenom_dns_updater/exception/add_error.py | anhdhbn/Freenom-dns-updater | ec928755d7e18efa00bcc9aed20ad0b3eb093239 | [
"MIT"
] | 56 | 2016-03-05T14:39:21.000Z | 2022-02-11T01:21:15.000Z | from .dns_record_base_exception import DnsRecordBaseException
class AddError(DnsRecordBaseException):
pass
| 18.833333 | 61 | 0.849558 | 11 | 113 | 8.454545 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115044 | 113 | 5 | 62 | 22.6 | 0.93 | 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 |
d8f732cb67734321bc333dc189fe2106d1f622ee | 51,726 | py | Python | nova/network/security_group/neutron_driver.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | null | null | null | nova/network/security_group/neutron_driver.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | null | null | null | nova/network/security_group/neutron_driver.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | 2 | 2017-07-20T17:31:34.000Z | 2020-07-24T02:42:19.000Z | begin_unit
comment|'# Copyright 2013 Nicira, Inc.'
nl|'\n'
comment|'# All Rights Reserved'
nl|'\n'
comment|'#'
nl|'\n'
comment|'# Licensed under the Apache License, Version 2.0 (the "License"); you may'
nl|'\n'
comment|'# not use this file except in compliance with the License. You may obtain'
nl|'\n'
comment|'# ... | 13.533752 | 359 | 0.598519 | 7,602 | 51,726 | 3.968166 | 0.05538 | 0.121726 | 0.104422 | 0.048531 | 0.814825 | 0.762381 | 0.716535 | 0.669495 | 0.609991 | 0.566333 | 0 | 0.002041 | 0.128369 | 51,726 | 3,821 | 360 | 13.537294 | 0.667036 | 0 | 0 | 0.949751 | 0 | 0.000785 | 0.667053 | 0.080849 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.000523 | 0.003926 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2b1f04bfe2228a33cee5aa9e411acc723320493e | 169 | py | Python | global_finprint/core/context_processors.py | GlobalFinPrint/global_finprint | 8a91ceaaed42aaa716d8c9f27518ba673ebf351c | [
"Apache-2.0"
] | null | null | null | global_finprint/core/context_processors.py | GlobalFinPrint/global_finprint | 8a91ceaaed42aaa716d8c9f27518ba673ebf351c | [
"Apache-2.0"
] | 6 | 2020-06-05T18:42:32.000Z | 2022-01-13T00:48:57.000Z | global_finprint/core/context_processors.py | GlobalFinPrint/global_finprint | 8a91ceaaed42aaa716d8c9f27518ba673ebf351c | [
"Apache-2.0"
] | null | null | null | from global_finprint.core.mixins import UserAllowedMixin
def user_allowed_processor(request):
return {'user_allowed': UserAllowedMixin.user_allowed(request.user)}
| 28.166667 | 72 | 0.828402 | 20 | 169 | 6.75 | 0.65 | 0.244444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088757 | 169 | 5 | 73 | 33.8 | 0.876623 | 0 | 0 | 0 | 0 | 0 | 0.071006 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0.333333 | 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 | 1 | 1 | 0 | 0 | 0 | 6 |
996ebb92d834e1c5709b8abc492539e4a9c76ae1 | 156 | py | Python | hanibal/ans_reporte/report/__init__.py | Christian-Castro/castro_odoo8 | 8247fdb20aa39e043b6fa0c4d0af509462ab3e00 | [
"Unlicense"
] | null | null | null | hanibal/ans_reporte/report/__init__.py | Christian-Castro/castro_odoo8 | 8247fdb20aa39e043b6fa0c4d0af509462ab3e00 | [
"Unlicense"
] | null | null | null | hanibal/ans_reporte/report/__init__.py | Christian-Castro/castro_odoo8 | 8247fdb20aa39e043b6fa0c4d0af509462ab3e00 | [
"Unlicense"
] | null | null | null | # -*- coding: utf-8 -*-
import reporte_cobranza_alumnos_mensualidades
import reporte_financiero
import reporte_tutor_resumen
import reporte_gestion_cobranza | 31.2 | 45 | 0.865385 | 19 | 156 | 6.684211 | 0.631579 | 0.409449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006944 | 0.076923 | 156 | 5 | 46 | 31.2 | 0.875 | 0.134615 | 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 |
99915a1c6293d2fee9b15a2227b3d2c590eef622 | 21 | py | Python | couch/__init__.py | specialunderwear/tornado-couchdb | b1f1d15b1f52c5de124a58c1353797a3ed04cea3 | [
"MIT"
] | null | null | null | couch/__init__.py | specialunderwear/tornado-couchdb | b1f1d15b1f52c5de124a58c1353797a3ed04cea3 | [
"MIT"
] | null | null | null | couch/__init__.py | specialunderwear/tornado-couchdb | b1f1d15b1f52c5de124a58c1353797a3ed04cea3 | [
"MIT"
] | null | null | null | from .couch import *
| 10.5 | 20 | 0.714286 | 3 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.882353 | 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 |
41f1c92a83a44b49e2fc8744fce947b6b03385ba | 7,354 | py | Python | tests/test_cli.py | ipadjen/cjio | b91ca46cab7829b21193a175c2a09de6fad93e7b | [
"MIT"
] | 17 | 2018-06-04T23:15:39.000Z | 2019-10-21T15:28:45.000Z | tests/test_cli.py | ipadjen/cjio | b91ca46cab7829b21193a175c2a09de6fad93e7b | [
"MIT"
] | 25 | 2018-10-24T13:52:21.000Z | 2019-10-28T16:30:37.000Z | tests/test_cli.py | ipadjen/cjio | b91ca46cab7829b21193a175c2a09de6fad93e7b | [
"MIT"
] | 4 | 2019-10-02T07:45:16.000Z | 2019-10-25T00:01:39.000Z | import os
import os.path
from click.testing import CliRunner
import json
from cjio import cjio
class TestCLI:
def test_crs_assign_cli(self, delft_path, data_output_dir):
p_out = os.path.join(data_output_dir, 'crs_assign.json')
runner = CliRunner()
result = runner.invoke(cjio.cli,
... | 36.587065 | 81 | 0.458798 | 733 | 7,354 | 4.321965 | 0.085948 | 0.060606 | 0.098485 | 0.127841 | 0.851957 | 0.845328 | 0.845328 | 0.827652 | 0.827652 | 0.827652 | 0 | 0.005471 | 0.453223 | 7,354 | 200 | 82 | 36.77 | 0.782392 | 0 | 0 | 0.679487 | 0 | 0 | 0.060239 | 0.008567 | 0 | 0 | 0 | 0 | 0.173077 | 1 | 0.096154 | false | 0 | 0.032051 | 0 | 0.134615 | 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 |
41faf16276781283285b01345d74d50ee2557b26 | 3,605 | py | Python | src/si/supervised/linreg.py | ALex99-bot/SIB | fe2bbc6ebdd39fcab8a93937d688adaee1243da3 | [
"Apache-2.0"
] | null | null | null | src/si/supervised/linreg.py | ALex99-bot/SIB | fe2bbc6ebdd39fcab8a93937d688adaee1243da3 | [
"Apache-2.0"
] | null | null | null | src/si/supervised/linreg.py | ALex99-bot/SIB | fe2bbc6ebdd39fcab8a93937d688adaee1243da3 | [
"Apache-2.0"
] | null | null | null | from .model import Model
from ..util.metrics import mse, accuracy_score
from ..util.util import add_intersect
import numpy as np
class LinearRegression(Model):
"""Regressão linear sem regularização"""
def __init__(self, gd=False, epochs=1000, lr=0.001):
super(LinearRegression, self).__init__()
... | 31.077586 | 80 | 0.554785 | 553 | 3,605 | 3.544304 | 0.168174 | 0.073469 | 0.018367 | 0.039796 | 0.761224 | 0.761224 | 0.761224 | 0.731633 | 0.702551 | 0.638265 | 0 | 0.014865 | 0.30957 | 3,605 | 115 | 81 | 31.347826 | 0.772599 | 0.095146 | 0 | 0.7375 | 0 | 0 | 0.022286 | 0 | 0 | 0 | 0 | 0 | 0.025 | 1 | 0.15 | false | 0 | 0.05 | 0 | 0.275 | 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 |
513a79328f993b1c234148a0782d02cbbf7a4c3f | 334 | py | Python | cride/rides/permissions/rides.py | jesusRL96/curso_platzi_django_adv | 870596b1ba7285a25777e14c031c9026a5d0f754 | [
"MIT"
] | null | null | null | cride/rides/permissions/rides.py | jesusRL96/curso_platzi_django_adv | 870596b1ba7285a25777e14c031c9026a5d0f754 | [
"MIT"
] | null | null | null | cride/rides/permissions/rides.py | jesusRL96/curso_platzi_django_adv | 870596b1ba7285a25777e14c031c9026a5d0f754 | [
"MIT"
] | null | null | null | from rest_framework.permissions import BasePermission
class IsRideOwner(BasePermission):
def has_object_permission(self, request, view, obj):
return request.user == obj.offered_by
class IsNotRideOwner(BasePermission):
def has_object_permission(self, request, view, obj):
return request.user != ... | 37.111111 | 56 | 0.766467 | 40 | 334 | 6.225 | 0.525 | 0.136546 | 0.160643 | 0.208835 | 0.666667 | 0.666667 | 0.666667 | 0.666667 | 0.666667 | 0.666667 | 0 | 0 | 0.152695 | 334 | 9 | 57 | 37.111111 | 0.879859 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.285714 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
514c58b4f5d3a3aca6ca2d91fe4716c70c50af31 | 31 | py | Python | kamal/slim/distillation/data_free/__init__.py | zju-vipa/KamalEngine | 0276eb062595d52472090fbcbcedcd76db8cfd44 | [
"Apache-2.0"
] | 79 | 2019-07-04T11:19:31.000Z | 2022-03-24T13:32:29.000Z | kamal/slim/distillation/data_free/__init__.py | zju-vipa/KamalEngine | 0276eb062595d52472090fbcbcedcd76db8cfd44 | [
"Apache-2.0"
] | 4 | 2019-09-08T13:20:52.000Z | 2021-06-15T12:07:37.000Z | kamal/slim/distillation/data_free/__init__.py | zju-vipa/KamalEngine | 0276eb062595d52472090fbcbcedcd76db8cfd44 | [
"Apache-2.0"
] | 17 | 2019-07-23T09:48:45.000Z | 2022-03-14T03:19:40.000Z | from .zskt import ZSKTDistiller | 31 | 31 | 0.870968 | 4 | 31 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 0.964286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5152035a3cfa61a9160d6c04fc2f5d2f2a34570b | 177 | py | Python | phonebooks_api/admin.py | Kien676/phonebooks-rest-api | 62556bd5f9cdfc3216c38672f80a7fa444407e27 | [
"MIT"
] | null | null | null | phonebooks_api/admin.py | Kien676/phonebooks-rest-api | 62556bd5f9cdfc3216c38672f80a7fa444407e27 | [
"MIT"
] | null | null | null | phonebooks_api/admin.py | Kien676/phonebooks-rest-api | 62556bd5f9cdfc3216c38672f80a7fa444407e27 | [
"MIT"
] | null | null | null | from django.contrib import admin
from phonebooks_api import models
# Register your models here.
admin.site.register(models.Phonebook)
admin.site.register(models.userPhonebook)
| 25.285714 | 41 | 0.836158 | 24 | 177 | 6.125 | 0.583333 | 0.122449 | 0.231293 | 0.312925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090395 | 177 | 6 | 42 | 29.5 | 0.913043 | 0.146893 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 |
5152c0010d1021ef61baa122971c8fe238728281 | 251 | py | Python | lldb/packages/Python/lldbsuite/test/lang/cpp/thread_local/TestThreadLocal.py | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 456 | 2015-01-15T08:44:39.000Z | 2022-03-31T22:34:57.000Z | lldb/packages/Python/lldbsuite/test/lang/cpp/thread_local/TestThreadLocal.py | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 14 | 2020-02-03T23:39:51.000Z | 2021-07-20T16:24:25.000Z | lldb/packages/Python/lldbsuite/test/lang/cpp/thread_local/TestThreadLocal.py | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 254 | 2015-01-19T21:53:39.000Z | 2022-02-23T19:38:56.000Z | from lldbsuite.test import lldbinline
from lldbsuite.test import decorators
lldbinline.MakeInlineTest(__file__, globals(),
lldbinline.expectedFailureAll(oslist=[
"windows", "linux", "netbsd"]))
| 35.857143 | 64 | 0.625498 | 20 | 251 | 7.65 | 0.7 | 0.169935 | 0.222222 | 0.300654 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.282869 | 251 | 6 | 65 | 41.833333 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0.071713 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 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 |
5ae622b52873b04e33d18a92a511100868eafa8f | 151 | py | Python | shub/version.py | PyExplorer/shub | dc38191e6593f3c012cb89ed1551f8b0dd2981d8 | [
"BSD-3-Clause"
] | 111 | 2015-02-05T15:24:15.000Z | 2022-03-31T03:31:22.000Z | shub/version.py | PyExplorer/shub | dc38191e6593f3c012cb89ed1551f8b0dd2981d8 | [
"BSD-3-Clause"
] | 355 | 2015-01-01T16:18:46.000Z | 2022-03-18T15:41:10.000Z | shub/version.py | PyExplorer/shub | dc38191e6593f3c012cb89ed1551f8b0dd2981d8 | [
"BSD-3-Clause"
] | 79 | 2015-02-23T17:07:32.000Z | 2022-01-03T09:15:39.000Z | from __future__ import absolute_import
import click
import shub
@click.command(help="Show shub version")
def cli():
click.echo(shub.__version__)
| 16.777778 | 40 | 0.774834 | 21 | 151 | 5.142857 | 0.619048 | 0.203704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13245 | 151 | 8 | 41 | 18.875 | 0.824427 | 0 | 0 | 0 | 0 | 0 | 0.112583 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.5 | 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 |
8507986520923c583195266f9135f1236808d5d5 | 1,853 | py | Python | tests/test_Task04.py | AlekseiPrivalihin/FormalLanguageTheory | 83f229122afb07172780443fec00f837eed6e0ab | [
"Apache-2.0"
] | null | null | null | tests/test_Task04.py | AlekseiPrivalihin/FormalLanguageTheory | 83f229122afb07172780443fec00f837eed6e0ab | [
"Apache-2.0"
] | 4 | 2020-09-17T08:41:15.000Z | 2020-12-25T08:56:50.000Z | tests/test_Task04.py | AlekseiPrivalihin/FormalLanguageTheory | 83f229122afb07172780443fec00f837eed6e0ab | [
"Apache-2.0"
] | null | null | null | from Graph import Graph
from ContextFreeGrammar import ChomskyNormalForm as CNF
from pyformlang.cfg import *
def test_from_file():
gr = CNF.from_file("cfg_input.txt")
word_accepted = list(map(Terminal, 'aaba'))
word_declined = list(map(Terminal, 'aabb'))
assert gr.contains(word_accepted)
assert not... | 29.887097 | 80 | 0.652455 | 278 | 1,853 | 4.161871 | 0.147482 | 0.096802 | 0.06223 | 0.089888 | 0.827139 | 0.811582 | 0.811582 | 0.750216 | 0.750216 | 0.697494 | 0 | 0.017253 | 0.186724 | 1,853 | 61 | 81 | 30.377049 | 0.750498 | 0 | 0 | 0.622642 | 0 | 0 | 0.107933 | 0 | 0 | 0 | 0 | 0 | 0.339623 | 1 | 0.150943 | false | 0 | 0.056604 | 0 | 0.207547 | 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 |
8512633cda730eddda5f027471726f40c343bf01 | 449 | py | Python | src/bitprint.py | smorin/bitprint | 9116da2812860e27a9fc65a24064e536d3316185 | [
"MIT"
] | null | null | null | src/bitprint.py | smorin/bitprint | 9116da2812860e27a9fc65a24064e536d3316185 | [
"MIT"
] | null | null | null | src/bitprint.py | smorin/bitprint | 9116da2812860e27a9fc65a24064e536d3316185 | [
"MIT"
] | null | null | null |
def get_binary_rep(data, spacing=0, separator=" "):
format(i,'b').zfill(8)
def bin_rep_string_arr(data):
map()
return []
def bin_rep_int_arr(data):
return []
def bin_rep_unicode_arr(data):
return []
def bin_rep_bytes_arr(data):
return []
def hex_rep_string_arr(data):
return []
d... | 13.205882 | 51 | 0.66147 | 70 | 449 | 3.871429 | 0.314286 | 0.206642 | 0.335793 | 0.354244 | 0.656827 | 0.571956 | 0 | 0 | 0 | 0 | 0 | 0.005618 | 0.207127 | 449 | 34 | 52 | 13.205882 | 0.755618 | 0 | 0 | 0.421053 | 0 | 0 | 0.004484 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.473684 | false | 0 | 0 | 0.368421 | 0.894737 | 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 |
518fd80ec3eead005ab935d9078fbcf94556ba49 | 201 | py | Python | python_modules/dagstermill/dagstermill/errors.py | bambielli-flex/dagster | 30b75ba7c62fc536bc827f177c1dc6ba20f5ae20 | [
"Apache-2.0"
] | null | null | null | python_modules/dagstermill/dagstermill/errors.py | bambielli-flex/dagster | 30b75ba7c62fc536bc827f177c1dc6ba20f5ae20 | [
"Apache-2.0"
] | null | null | null | python_modules/dagstermill/dagstermill/errors.py | bambielli-flex/dagster | 30b75ba7c62fc536bc827f177c1dc6ba20f5ae20 | [
"Apache-2.0"
] | null | null | null | from dagster.core.errors import DagsterUserCodeExecutionError
class DagstermillError(Exception):
pass
class DagstermillExecutionError(DagstermillError, DagsterUserCodeExecutionError):
pass
| 20.1 | 81 | 0.840796 | 15 | 201 | 11.266667 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114428 | 201 | 9 | 82 | 22.333333 | 0.949438 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.4 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 1 | null | 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 | 0 | 0 | 1 | 0 | 0 | 6 |
51aebc0554fb94f28a954001baec84f2ed48d14e | 40,873 | py | Python | fernan/ans.py | Ariel96cs/SimpleMapReduceFramework | 7cf482f94b1ed1e6436a7b229dfe09c3c0906d56 | [
"MIT"
] | null | null | null | fernan/ans.py | Ariel96cs/SimpleMapReduceFramework | 7cf482f94b1ed1e6436a7b229dfe09c3c0906d56 | [
"MIT"
] | null | null | null | fernan/ans.py | Ariel96cs/SimpleMapReduceFramework | 7cf482f94b1ed1e6436a7b229dfe09c3c0906d56 | [
"MIT"
] | null | null | null | s = [('republishes', True), ('allem', True), ('Soon', True), ('low', True), ('difficult', True), ('simply', True), ('lost', True), ('FindNodeMessages', True), ('removing', True), ('hierarchy', True), ('respond', True), ('original', True), ('expiry', True), ('henceforth', True), ('random', True), ('scheduling', True), (... | 13,624.333333 | 40,858 | 0.577203 | 4,322 | 40,873 | 5.458353 | 0.439611 | 0.001145 | 0.001653 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008891 | 0.105718 | 40,873 | 3 | 40,859 | 13,624.333333 | 0.636518 | 0 | 0 | 0 | 0 | 0 | 0.36566 | 0.001835 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.5 | 0.5 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 6 |
51ec64976937746babe9e6d2f3c646187cb027ec | 67 | py | Python | fecho/__init__.py | thehappydinoa/fecho | 37d382527cd0f8fe6c1729060ba0e3085c4f6549 | [
"MIT"
] | 1 | 2020-06-02T17:27:24.000Z | 2020-06-02T17:27:24.000Z | fecho/__init__.py | thehappydinoa/fecho | 37d382527cd0f8fe6c1729060ba0e3085c4f6549 | [
"MIT"
] | null | null | null | fecho/__init__.py | thehappydinoa/fecho | 37d382527cd0f8fe6c1729060ba0e3085c4f6549 | [
"MIT"
] | 1 | 2020-12-11T10:07:37.000Z | 2020-12-11T10:07:37.000Z | from .cli import *
from .client import *
from .exceptions import *
| 16.75 | 25 | 0.731343 | 9 | 67 | 5.444444 | 0.555556 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179104 | 67 | 3 | 26 | 22.333333 | 0.890909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
51fabe2d0a9cd354d3724d40abf58a208941b49a | 47 | py | Python | datasets/__init__.py | gmshashank/Deep_Flow_Prediction | 9b4c388b70a458cddac20258242a6a36965524bc | [
"MIT"
] | null | null | null | datasets/__init__.py | gmshashank/Deep_Flow_Prediction | 9b4c388b70a458cddac20258242a6a36965524bc | [
"MIT"
] | null | null | null | datasets/__init__.py | gmshashank/Deep_Flow_Prediction | 9b4c388b70a458cddac20258242a6a36965524bc | [
"MIT"
] | null | null | null | from .dataset import TurbDataset, ValidDataset
| 23.5 | 46 | 0.851064 | 5 | 47 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 47 | 1 | 47 | 47 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
51fb2cb3c499d58a859146de5060d6c42a04aa25 | 361 | py | Python | opytimizer/optimizers/misc/__init__.py | anukaal/opytimizer | 5f1ccc0da80e6a4cabd99578fa24cf4f6466f9b9 | [
"Apache-2.0"
] | 528 | 2018-10-01T20:00:09.000Z | 2022-03-27T11:15:31.000Z | opytimizer/optimizers/misc/__init__.py | anukaal/opytimizer | 5f1ccc0da80e6a4cabd99578fa24cf4f6466f9b9 | [
"Apache-2.0"
] | 17 | 2019-10-30T00:47:03.000Z | 2022-03-21T11:39:28.000Z | opytimizer/optimizers/misc/__init__.py | anukaal/opytimizer | 5f1ccc0da80e6a4cabd99578fa24cf4f6466f9b9 | [
"Apache-2.0"
] | 35 | 2018-10-01T20:03:23.000Z | 2022-03-20T03:54:15.000Z | """An evolutionary package for all common opytimizer modules.
It contains implementations of miscellaneous-based optimizers.
"""
from opytimizer.optimizers.misc.aoa import AOA
from opytimizer.optimizers.misc.cem import CEM
from opytimizer.optimizers.misc.doa import DOA
from opytimizer.optimizers.misc.gs import GS
from... | 36.1 | 62 | 0.833795 | 50 | 361 | 6.02 | 0.46 | 0.232558 | 0.398671 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099723 | 361 | 9 | 63 | 40.111111 | 0.926154 | 0.33518 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
cf9e842d7aa12132c45ca8f6bab4bd9722e3c6dc | 71 | py | Python | fypress/public/__init__.py | Fy-/FyPress | be357134969797f92b94db77c9e3aa863c0094fe | [
"MIT"
] | 70 | 2016-06-07T10:17:02.000Z | 2021-06-23T05:36:03.000Z | fypress/public/__init__.py | Fy-/FyPress | be357134969797f92b94db77c9e3aa863c0094fe | [
"MIT"
] | 10 | 2016-06-24T08:17:54.000Z | 2020-07-24T07:34:39.000Z | fypress/public/__init__.py | Fy-/FyPress | be357134969797f92b94db77c9e3aa863c0094fe | [
"MIT"
] | 15 | 2016-06-16T20:40:55.000Z | 2019-08-06T02:45:52.000Z | # -*- coding: utf-8 -*-
from views import public as public_blueprint
| 23.666667 | 45 | 0.690141 | 10 | 71 | 4.8 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0.183099 | 71 | 2 | 46 | 35.5 | 0.810345 | 0.295775 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
5c50fb3af9e4b8d0c8c0b2256487f47325db8afc | 202 | py | Python | motor/__init__.py | mwakok/Molecular-Motor-Dynamics | 697671c55c2c1fad27c2ddb7a1f28450f973e639 | [
"Apache-2.0"
] | 2 | 2020-04-30T12:28:11.000Z | 2021-12-20T16:05:30.000Z | motor/__init__.py | mwakok/Molecular-Motor-Dynamics | 697671c55c2c1fad27c2ddb7a1f28450f973e639 | [
"Apache-2.0"
] | 2 | 2021-06-08T22:37:10.000Z | 2021-09-08T02:35:23.000Z | motor/__init__.py | mwakok/Molecular-Motor-Dynamics | 697671c55c2c1fad27c2ddb7a1f28450f973e639 | [
"Apache-2.0"
] | null | null | null | from .calculate_propensity import calculate_propensity
from .update_state import update_state
from .event_type import event_type
from .select_event import select_event
from .simulation import gillespie
| 33.666667 | 54 | 0.876238 | 28 | 202 | 6.035714 | 0.392857 | 0.224852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09901 | 202 | 5 | 55 | 40.4 | 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 |
5c70310f87871b4e5fe65fb00907468ae7c8db81 | 102,416 | py | Python | configurations/coding_plans.py | AfricasVoices/Project-WUSC-KEEP-II | c135511475361e04bb1358126b7e08ceecc8ef88 | [
"MIT"
] | null | null | null | configurations/coding_plans.py | AfricasVoices/Project-WUSC-KEEP-II | c135511475361e04bb1358126b7e08ceecc8ef88 | [
"MIT"
] | 22 | 2018-11-25T17:17:08.000Z | 2021-04-07T10:21:25.000Z | configurations/coding_plans.py | AfricasVoices/Project-WUSC-KEEP-II | c135511475361e04bb1358126b7e08ceecc8ef88 | [
"MIT"
] | null | null | null | from core_data_modules.cleaners import somali, swahili, Codes
from core_data_modules.traced_data.util.fold_traced_data import FoldStrategies
from configurations import code_imputation_functions
from configurations.code_schemes import CodeSchemes
from src.lib.configuration_objects import CodingConfiguration, CodingMode... | 57.960385 | 140 | 0.529781 | 8,656 | 102,416 | 5.747805 | 0.022759 | 0.041967 | 0.052258 | 0.07075 | 0.934135 | 0.921934 | 0.916528 | 0.890941 | 0.87661 | 0.856531 | 0 | 0.033905 | 0.411928 | 102,416 | 1,766 | 141 | 57.993205 | 0.792173 | 0.002646 | 0 | 0.612766 | 0 | 0 | 0.151868 | 0.064919 | 0 | 0 | 0 | 0.000566 | 0.018237 | 1 | 0.00304 | false | 0 | 0.00304 | 0 | 0.019453 | 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 |
7a4ee7192ef668c37cae108ece47ab3c0beadfc1 | 51 | py | Python | pybamm/models/submodels/electrolyte/stefan_maxwell/__init__.py | jedgedrudd/PyBaMM | 79c9d34978382d50e09adaf8bf74c8fa4723f759 | [
"BSD-3-Clause"
] | 1 | 2019-10-29T19:06:04.000Z | 2019-10-29T19:06:04.000Z | pybamm/models/submodels/electrolyte/stefan_maxwell/__init__.py | jedgedrudd/PyBaMM | 79c9d34978382d50e09adaf8bf74c8fa4723f759 | [
"BSD-3-Clause"
] | null | null | null | pybamm/models/submodels/electrolyte/stefan_maxwell/__init__.py | jedgedrudd/PyBaMM | 79c9d34978382d50e09adaf8bf74c8fa4723f759 | [
"BSD-3-Clause"
] | null | null | null | from . import conductivity
from . import diffusion
| 17 | 26 | 0.803922 | 6 | 51 | 6.833333 | 0.666667 | 0.487805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 51 | 2 | 27 | 25.5 | 0.953488 | 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 |
7a5a566a4947668bb3370407849bafcb3ba7e16a | 167 | py | Python | juniper_official/System/system-sensors.py | brahmastra2016/healthbot-rules | 1d24acd298266c39d6adb139ff47d14f8b2d452a | [
"Apache-2.0",
"BSD-3-Clause"
] | 43 | 2018-11-27T00:42:45.000Z | 2022-02-24T01:19:39.000Z | juniper_official/System/system-sensors.py | brahmastra2016/healthbot-rules | 1d24acd298266c39d6adb139ff47d14f8b2d452a | [
"Apache-2.0",
"BSD-3-Clause"
] | 266 | 2018-10-26T10:19:04.000Z | 2022-03-16T04:38:29.000Z | juniper_official/System/system-sensors.py | brahmastra2016/healthbot-rules | 1d24acd298266c39d6adb139ff47d14f8b2d452a | [
"Apache-2.0",
"BSD-3-Clause"
] | 99 | 2018-10-25T09:53:55.000Z | 2021-12-07T09:51:59.000Z | from __future__ import division
'''
This function subtract returns difference between a and b
'''
def subtract(threshold, **kwargs):
return 100-int(threshold)
| 23.857143 | 57 | 0.742515 | 21 | 167 | 5.714286 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021583 | 0.167665 | 167 | 6 | 58 | 27.833333 | 0.841727 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
7a8e0f719d60e4a6b10f301d7ab76f62b1ee78b1 | 239 | py | Python | Molecools.py | McCoyGroup/Coordinerds | 058a4f5b29f157e499cec3c8f2da8b216f0210ef | [
"MIT"
] | null | null | null | Molecools.py | McCoyGroup/Coordinerds | 058a4f5b29f157e499cec3c8f2da8b216f0210ef | [
"MIT"
] | null | null | null | Molecools.py | McCoyGroup/Coordinerds | 058a4f5b29f157e499cec3c8f2da8b216f0210ef | [
"MIT"
] | null | null | null | """
A file that only exists to make this directory useable as a way to import Psience too.
Mostly useful during development
"""
from .Psience.Molecools import *
from .Psience.Molecools import __all__
from .Psience.Molecools import __doc__ | 29.875 | 86 | 0.794979 | 35 | 239 | 5.2 | 0.657143 | 0.181319 | 0.32967 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146444 | 239 | 8 | 87 | 29.875 | 0.892157 | 0.497908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7aaaeacead6e0ebf58d39d1c1f93225c2a582f69 | 20,410 | py | Python | _test_deliver_data.py | openSAIL/MASTDataDelivery | 60aa8468e55d0d76e1245c3a956a8429e42f4107 | [
"MIT"
] | 1 | 2018-06-15T17:02:27.000Z | 2018-06-15T17:02:27.000Z | _test_deliver_data.py | openSAIL/MASTDataDelivery | 60aa8468e55d0d76e1245c3a956a8429e42f4107 | [
"MIT"
] | 44 | 2015-06-05T14:08:39.000Z | 2018-03-27T21:16:30.000Z | _test_deliver_data.py | spacetelescope/MASTDataDelivery | 60aa8468e55d0d76e1245c3a956a8429e42f4107 | [
"MIT"
] | 1 | 2020-10-03T01:44:52.000Z | 2020-10-03T01:44:52.000Z | """
.. module:: _test_deliver_data
:synopsis: Test module for deliver_data.py
.. moduleauthor:: Scott W. Fleming <fleming@stsci.edu>
"""
import gzip
import os
import unittest
import deliver_data
#--------------------
class TestGetDataKepler(unittest.TestCase):
""" Main test class. """
reference_file_pat... | 44.273319 | 80 | 0.60098 | 2,685 | 20,410 | 4.347114 | 0.119926 | 0.081563 | 0.064085 | 0.04952 | 0.81794 | 0.796008 | 0.791895 | 0.761309 | 0.720613 | 0.657985 | 0 | 0.054686 | 0.270701 | 20,410 | 460 | 81 | 44.369565 | 0.729459 | 0.102205 | 0 | 0.668508 | 0 | 0.008287 | 0.197413 | 0.048483 | 0 | 0 | 0 | 0 | 0.093923 | 1 | 0.093923 | false | 0 | 0.01105 | 0 | 0.110497 | 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 |
7aab78140512f4ed5302e4fe9157bb395b74489d | 34 | py | Python | bridger/tags/__init__.py | intellineers/django-bridger | ed097984a99df7da40a4d01bd00c56e3c6083056 | [
"BSD-3-Clause"
] | 2 | 2020-03-17T00:53:23.000Z | 2020-07-16T07:00:33.000Z | bridger/tags/__init__.py | intellineers/django-bridger | ed097984a99df7da40a4d01bd00c56e3c6083056 | [
"BSD-3-Clause"
] | 76 | 2019-12-05T01:15:57.000Z | 2021-09-07T16:47:27.000Z | bridger/tags/__init__.py | intellineers/django-bridger | ed097984a99df7da40a4d01bd00c56e3c6083056 | [
"BSD-3-Clause"
] | 1 | 2020-02-05T15:09:47.000Z | 2020-02-05T15:09:47.000Z | from .models import TagModelMixin
| 17 | 33 | 0.852941 | 4 | 34 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.966667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7aad429d6f1014ef943b3b735db1c56885e8c5f7 | 19,403 | py | Python | tests/test_throttling.py | sapo/securitylib-python | afa176c52fc9effa664be895e86ab9cd07e5018f | [
"MIT"
] | 1 | 2015-01-30T16:22:24.000Z | 2015-01-30T16:22:24.000Z | tests/test_throttling.py | sapo/securitylib-python | afa176c52fc9effa664be895e86ab9cd07e5018f | [
"MIT"
] | null | null | null | tests/test_throttling.py | sapo/securitylib-python | afa176c52fc9effa664be895e86ab9cd07e5018f | [
"MIT"
] | 2 | 2015-06-11T14:30:15.000Z | 2021-12-01T14:28:54.000Z | from securitylib import throttling
from securitylib.random import get_random_token
from securitylib.crypto import generate_authenticator_key
from test_utils import setup_fake_datetime, teardown_fake_datetime, fake_sleep
from nose.tools import eq_, ok_
import mockcache
import unittest
import json
### TESTS ###
class ... | 44.914352 | 162 | 0.6784 | 2,545 | 19,403 | 4.848723 | 0.075442 | 0.048622 | 0.05316 | 0.063209 | 0.803404 | 0.779335 | 0.737439 | 0.705105 | 0.664182 | 0.639384 | 0 | 0.014986 | 0.222749 | 19,403 | 431 | 163 | 45.018561 | 0.803262 | 0.070968 | 0 | 0.516892 | 1 | 0 | 0.054207 | 0.010073 | 0 | 0 | 0 | 0 | 0 | 1 | 0.101351 | false | 0.010135 | 0.027027 | 0 | 0.131757 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7ab8e9f5a7581e8fccc88af115804fdaca9bb390 | 57,454 | py | Python | core/corefgraph/test/test_sentenceCandidateExtractor_test.py | malv007/coreference-base | 5fe41dda0da83a37a01220f8f0552a336f2294ef | [
"Apache-2.0"
] | 13 | 2015-08-07T13:14:17.000Z | 2021-11-08T10:33:51.000Z | core/corefgraph/test/test_sentenceCandidateExtractor_test.py | malv007/coreference-base | 5fe41dda0da83a37a01220f8f0552a336f2294ef | [
"Apache-2.0"
] | null | null | null | core/corefgraph/test/test_sentenceCandidateExtractor_test.py | malv007/coreference-base | 5fe41dda0da83a37a01220f8f0552a336f2294ef | [
"Apache-2.0"
] | 6 | 2015-02-10T17:00:35.000Z | 2021-08-04T17:46:13.000Z | # coding=utf-8
__author__ = 'Josu Bermudez <josu.bermudez@deusto.es>'
__date__ = '2/4/13'
from ..multisieve.core import SentenceCandidateExtractor
from ..graph.graph_builder import BaseGraphBuilder
from unittest import TestCase
class TestSentenceCandidateExtractor(TestCase):
def setUp(self):
self.grap... | 68.889688 | 120 | 0.59914 | 6,788 | 57,454 | 4.687537 | 0.027401 | 0.114648 | 0.152362 | 0.099123 | 0.940696 | 0.92825 | 0.909394 | 0.876835 | 0.857821 | 0.846193 | 0 | 0.002798 | 0.297177 | 57,454 | 833 | 121 | 68.972389 | 0.785191 | 0.012897 | 0 | 0.622527 | 0 | 0 | 0.11267 | 0.000441 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.028919 | false | 0 | 0.004566 | 0 | 0.035008 | 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 |
8fab177fcde6d105f3c6cb4859ee05acb21984df | 101 | py | Python | ScheduledDeliveryWebApplication/app/validators/email_validator.py | leitao-bcc/MovileNext3_Backend_LucasLeitao | 15bdd8a96711a2e305078cd2f152b86374dbe276 | [
"Unlicense"
] | null | null | null | ScheduledDeliveryWebApplication/app/validators/email_validator.py | leitao-bcc/MovileNext3_Backend_LucasLeitao | 15bdd8a96711a2e305078cd2f152b86374dbe276 | [
"Unlicense"
] | null | null | null | ScheduledDeliveryWebApplication/app/validators/email_validator.py | leitao-bcc/MovileNext3_Backend_LucasLeitao | 15bdd8a96711a2e305078cd2f152b86374dbe276 | [
"Unlicense"
] | null | null | null | from re import match
def is_valid_email(var):
return match(r"[^@]+@[^@]+\.[^@]+", var) != None
| 16.833333 | 52 | 0.554455 | 14 | 101 | 3.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168317 | 101 | 5 | 53 | 20.2 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0.178218 | 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 |
8fb1241c6dc836f1dcf41866e81c183d54c4c599 | 43 | py | Python | test_folder/test_file.py | toonNvk/flask-test | c5a608e769abc8f57909dce3097956f31ec3b71d | [
"bzip2-1.0.6"
] | null | null | null | test_folder/test_file.py | toonNvk/flask-test | c5a608e769abc8f57909dce3097956f31ec3b71d | [
"bzip2-1.0.6"
] | null | null | null | test_folder/test_file.py | toonNvk/flask-test | c5a608e769abc8f57909dce3097956f31ec3b71d | [
"bzip2-1.0.6"
] | null | null | null | def testfunction():
print("test function") | 21.5 | 23 | 0.744186 | 5 | 43 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 2 | 23 | 21.5 | 0.820513 | 0 | 0 | 0 | 0 | 0 | 0.295455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
8fcf7011c611d1d07433a167d2fd772d3ffb1102 | 2,580 | py | Python | tests/test_searcher_noncollinear.py | petavazohi/PyChemia | e779389418771c25c830aed360773c63bb069372 | [
"MIT"
] | 67 | 2015-01-31T07:44:55.000Z | 2022-03-21T21:43:34.000Z | tests/test_searcher_noncollinear.py | petavazohi/PyChemia | e779389418771c25c830aed360773c63bb069372 | [
"MIT"
] | 13 | 2016-06-03T19:07:51.000Z | 2022-03-31T04:20:40.000Z | tests/test_searcher_noncollinear.py | petavazohi/PyChemia | e779389418771c25c830aed360773c63bb069372 | [
"MIT"
] | 37 | 2015-01-22T15:37:23.000Z | 2022-03-21T15:38:10.000Z | import os
import unittest
from pychemia import pcm_log, HAS_PYMONGO
from pychemia.population import NonCollinearMagMoms
from pychemia.searcher import HarmonySearch, FireFly, GeneticAlgorithm
from .local_mongo import has_local_mongo
import logging
class SearcherTest(unittest.TestCase):
def test_harmony(self):
... | 32.25 | 84 | 0.615116 | 282 | 2,580 | 5.524823 | 0.216312 | 0.019255 | 0.030809 | 0.06932 | 0.742619 | 0.742619 | 0.742619 | 0.742619 | 0.742619 | 0.742619 | 0 | 0.008126 | 0.284496 | 2,580 | 79 | 85 | 32.658228 | 0.835861 | 0.071705 | 0 | 0.762712 | 0 | 0 | 0.104516 | 0 | 0 | 0 | 0 | 0 | 0.101695 | 1 | 0.050847 | false | 0 | 0.118644 | 0 | 0.288136 | 0.050847 | 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 |
8fdd2b1475d4f388d312ef8c7429a76e05d0ce0a | 102 | py | Python | ex1/lib/evaluation.py | tkauf15k/sos2020 | b75188097d095e4acaca32290ba4f49fa8cb6c0e | [
"Apache-2.0"
] | null | null | null | ex1/lib/evaluation.py | tkauf15k/sos2020 | b75188097d095e4acaca32290ba4f49fa8cb6c0e | [
"Apache-2.0"
] | null | null | null | ex1/lib/evaluation.py | tkauf15k/sos2020 | b75188097d095e4acaca32290ba4f49fa8cb6c0e | [
"Apache-2.0"
] | null | null | null | def opt_gap(fitness, optimum):
return ((1.0 * fitness - optimum) / optimum) * 100 # in percent... | 51 | 71 | 0.637255 | 14 | 102 | 4.571429 | 0.785714 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060976 | 0.196078 | 102 | 2 | 71 | 51 | 0.719512 | 0.127451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
8fe8efc76633076b0a62acc875debbc8768fe31d | 29 | py | Python | tests/conftest.py | echeu/ironman | 551baae6e3c8515347c2c47128d77897e7c4c38b | [
"MIT"
] | 5 | 2017-11-17T12:30:27.000Z | 2019-08-15T03:04:17.000Z | tests/conftest.py | echeu/ironman | 551baae6e3c8515347c2c47128d77897e7c4c38b | [
"MIT"
] | 24 | 2015-11-03T06:54:48.000Z | 2022-03-03T21:51:21.000Z | tests/conftest.py | echeu/ironman | 551baae6e3c8515347c2c47128d77897e7c4c38b | [
"MIT"
] | 3 | 2018-12-24T08:39:54.000Z | 2021-09-29T21:42:01.000Z | import pytest
import ironman
| 9.666667 | 14 | 0.862069 | 4 | 29 | 6.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 2 | 15 | 14.5 | 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 |
8ffd80274e610bc25b3ff0e502952716b1fea305 | 27 | py | Python | wordsalad/input/__init__.py | skurmedel/wordsalad | 5feaf29bf8b9c88624b783cd087a6589ea0ab48a | [
"MIT"
] | null | null | null | wordsalad/input/__init__.py | skurmedel/wordsalad | 5feaf29bf8b9c88624b783cd087a6589ea0ab48a | [
"MIT"
] | null | null | null | wordsalad/input/__init__.py | skurmedel/wordsalad | 5feaf29bf8b9c88624b783cd087a6589ea0ab48a | [
"MIT"
] | null | null | null | from .tokenisation import * | 27 | 27 | 0.814815 | 3 | 27 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8906eed6547e313039e3b85a0c9e1acfde7be18a | 22 | py | Python | blogApp/utils/__init__.py | SSabu/BikeMaps | c2c99f586293af6415bf1a5ce3da3d0c7126ee30 | [
"MIT"
] | 19 | 2015-10-17T10:46:22.000Z | 2022-03-04T07:29:38.000Z | blogApp/utils/__init__.py | SSabu/BikeMaps | c2c99f586293af6415bf1a5ce3da3d0c7126ee30 | [
"MIT"
] | 36 | 2017-06-21T03:01:30.000Z | 2022-03-04T17:26:36.000Z | blogApp/utils/__init__.py | SSabu/BikeMaps | c2c99f586293af6415bf1a5ce3da3d0c7126ee30 | [
"MIT"
] | 18 | 2015-05-17T03:53:38.000Z | 2021-04-16T19:00:56.000Z | from .hash62 import *
| 11 | 21 | 0.727273 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0.181818 | 22 | 1 | 22 | 22 | 0.777778 | 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 |
89083206835b81cab058f9471903be9dc77f0c7b | 96 | py | Python | venv/lib/python3.8/site-packages/pkginfo/index.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pkginfo/index.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pkginfo/index.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/4e/b9/72/8db208bf6be069d29e014326a3e9a02380faa33a053981999beb05b137 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.447917 | 0 | 96 | 1 | 96 | 96 | 0.447917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
64ee7cd027c9781057ba8f3ce68765f70f6ccd18 | 62 | py | Python | gym_tic_tac_toe/envs/__init__.py | MrScabbyCreature/gym-tic_tac_toe | 99c532a96131c6c3b6f80be36127614363deb176 | [
"MIT"
] | 22 | 2017-06-11T04:56:28.000Z | 2022-01-30T17:11:15.000Z | gym_tic_tac_toe/envs/__init__.py | PaulinaSzy/gym-tic-tac-toe | 7fedb249e22dbf61506d961fe801c04f4e63f583 | [
"MIT"
] | 2 | 2017-06-13T09:45:38.000Z | 2018-08-28T13:51:26.000Z | gym_tic_tac_toe/envs/__init__.py | PaulinaSzy/gym-tic-tac-toe | 7fedb249e22dbf61506d961fe801c04f4e63f583 | [
"MIT"
] | 10 | 2017-06-13T10:02:06.000Z | 2021-04-10T06:54:59.000Z | from gym_tic_tac_toe.envs.tic_tac_toe_env import TicTacToeEnv
| 31 | 61 | 0.903226 | 12 | 62 | 4.166667 | 0.75 | 0.24 | 0.36 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 62 | 1 | 62 | 62 | 0.862069 | 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 |
8f66ecb8e321a5ed76fdbf854ed9a8158abaae8b | 55 | py | Python | learning/utils/__init__.py | lil-lab/cerealbar_generation | 41153537c0bd8aed97f2ea841165477a8c480d58 | [
"MIT"
] | null | null | null | learning/utils/__init__.py | lil-lab/cerealbar_generation | 41153537c0bd8aed97f2ea841165477a8c480d58 | [
"MIT"
] | null | null | null | learning/utils/__init__.py | lil-lab/cerealbar_generation | 41153537c0bd8aed97f2ea841165477a8c480d58 | [
"MIT"
] | null | null | null | from .utils import print_and_log
from .rewards import * | 27.5 | 32 | 0.818182 | 9 | 55 | 4.777778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127273 | 55 | 2 | 33 | 27.5 | 0.895833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
56eb869d24908448eecf57a2379e6e3dc9a0711e | 31 | py | Python | automon/integrations/slack/__init__.py | TheShellLand/automonisaur | b5f304a44449b8664c93d8a8a3c3cf2d73aa0ce9 | [
"MIT"
] | 2 | 2021-09-15T18:35:44.000Z | 2022-01-18T05:36:54.000Z | automon/integrations/slack/__init__.py | TheShellLand/automonisaur | b5f304a44449b8664c93d8a8a3c3cf2d73aa0ce9 | [
"MIT"
] | 16 | 2021-08-29T22:51:53.000Z | 2022-03-09T16:08:19.000Z | automon/integrations/slack/__init__.py | TheShellLand/automonisaur | b5f304a44449b8664c93d8a8a3c3cf2d73aa0ce9 | [
"MIT"
] | null | null | null | from .slack_formatting import * | 31 | 31 | 0.83871 | 4 | 31 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 0.892857 | 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 |
710b1f3f583de6fd3b4077b61d329e7510ae09d4 | 346 | py | Python | bitmovin_api_sdk/encoding/encodings/muxings/fmp4/drm/clearkey/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 11 | 2019-07-03T10:41:16.000Z | 2022-02-25T21:48:06.000Z | bitmovin_api_sdk/encoding/encodings/muxings/fmp4/drm/clearkey/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 8 | 2019-11-23T00:01:25.000Z | 2021-04-29T12:30:31.000Z | bitmovin_api_sdk/encoding/encodings/muxings/fmp4/drm/clearkey/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 13 | 2020-01-02T14:58:18.000Z | 2022-03-26T12:10:30.000Z | from bitmovin_api_sdk.encoding.encodings.muxings.fmp4.drm.clearkey.clearkey_api import ClearkeyApi
from bitmovin_api_sdk.encoding.encodings.muxings.fmp4.drm.clearkey.customdata.customdata_api import CustomdataApi
from bitmovin_api_sdk.encoding.encodings.muxings.fmp4.drm.clearkey.clear_key_drm_list_query_params import C... | 86.5 | 132 | 0.901734 | 47 | 346 | 6.361702 | 0.425532 | 0.120401 | 0.150502 | 0.180602 | 0.571906 | 0.571906 | 0.571906 | 0.571906 | 0.571906 | 0.571906 | 0 | 0.008982 | 0.034682 | 346 | 3 | 133 | 115.333333 | 0.886228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
710c74297a2e218e9f268eb770830a9cde275b0d | 29 | py | Python | twython3k/__init__.py | neara/twython | 34e9474b91af875e14553b781f253b98619ea765 | [
"MIT"
] | 2 | 2015-11-05T08:53:06.000Z | 2016-03-01T22:13:56.000Z | twython3k/__init__.py | mgrouchy/twython | 1d724328383f4dc16aa957fb0089ac0057bb0d74 | [
"MIT"
] | null | null | null | twython3k/__init__.py | mgrouchy/twython | 1d724328383f4dc16aa957fb0089ac0057bb0d74 | [
"MIT"
] | 1 | 2021-11-01T19:36:08.000Z | 2021-11-01T19:36:08.000Z | from .twython import Twython
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8544c95307448b2252d786639a6b8adfc12131c0 | 15,630 | py | Python | manilaclient/tests/unit/osc/v2/test_quotas.py | sapcc/python-manilaclient | a0985c56a55563ea5ad4e8303a8ac5b8cffa6bde | [
"CNRI-Python",
"Apache-1.1"
] | 37 | 2015-01-29T20:10:49.000Z | 2021-10-01T23:31:23.000Z | manilaclient/tests/unit/osc/v2/test_quotas.py | sapcc/python-manilaclient | a0985c56a55563ea5ad4e8303a8ac5b8cffa6bde | [
"CNRI-Python",
"Apache-1.1"
] | 1 | 2017-04-12T13:57:10.000Z | 2017-04-12T13:57:10.000Z | manilaclient/tests/unit/osc/v2/test_quotas.py | sapcc/python-manilaclient | a0985c56a55563ea5ad4e8303a8ac5b8cffa6bde | [
"CNRI-Python",
"Apache-1.1"
] | 21 | 2015-09-23T09:15:14.000Z | 2022-03-12T16:38:17.000Z | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distrib... | 33.044397 | 77 | 0.585477 | 1,662 | 15,630 | 5.272563 | 0.104693 | 0.071551 | 0.068241 | 0.082164 | 0.843661 | 0.829739 | 0.79596 | 0.753623 | 0.737076 | 0.727491 | 0 | 0.006605 | 0.31222 | 15,630 | 472 | 78 | 33.114407 | 0.808558 | 0.034421 | 0 | 0.687166 | 0 | 0 | 0.07654 | 0.02401 | 0 | 0 | 0 | 0 | 0.080214 | 1 | 0.058824 | false | 0 | 0.018717 | 0 | 0.104278 | 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 |
854bf32905bffe09ba53c80613cf46e570588fc1 | 146 | py | Python | app/api/__init__.py | MingwangLin/image_super_resolution | 861af8c5208a570ac63ce5f96be1491f7ee8bb60 | [
"Apache-2.0"
] | null | null | null | app/api/__init__.py | MingwangLin/image_super_resolution | 861af8c5208a570ac63ce5f96be1491f7ee8bb60 | [
"Apache-2.0"
] | null | null | null | app/api/__init__.py | MingwangLin/image_super_resolution | 861af8c5208a570ac63ce5f96be1491f7ee8bb60 | [
"Apache-2.0"
] | null | null | null | from flask import Blueprint
api = Blueprint('api', __name__)
from . import login, user, decorator, notification, tweet, repost, comment, follow
| 24.333333 | 82 | 0.760274 | 18 | 146 | 5.944444 | 0.777778 | 0.224299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143836 | 146 | 5 | 83 | 29.2 | 0.856 | 0 | 0 | 0 | 0 | 0 | 0.020548 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
859c4c891d484245aa8987e8b08988b44d0afc38 | 127 | py | Python | vnpy/app/cta_strategy/__init__.py | Billy-Meng/vnpy_origin | b0b0868027d70b1ba5dac65aa1a6d5e4246a0900 | [
"MIT"
] | 1 | 2020-06-18T16:38:29.000Z | 2020-06-18T16:38:29.000Z | vnpy/app/cta_strategy/__init__.py | Billy-Meng/vnpy_origin | b0b0868027d70b1ba5dac65aa1a6d5e4246a0900 | [
"MIT"
] | 2 | 2020-06-22T12:12:43.000Z | 2020-06-23T01:26:10.000Z | vnpy/app/cta_strategy/__init__.py | Billy-Meng/vnpy | b0b0868027d70b1ba5dac65aa1a6d5e4246a0900 | [
"MIT"
] | null | null | null | # -*- coding:utf-8 -*-
from pathlib import Path
import sys
import vnpy_ctastrategy
sys.modules[__name__] = vnpy_ctastrategy
| 14.111111 | 40 | 0.755906 | 17 | 127 | 5.294118 | 0.705882 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009174 | 0.141732 | 127 | 8 | 41 | 15.875 | 0.816514 | 0.15748 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 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 |
a431fc90fb2d54f229eb246274241ee1adee896c | 138 | py | Python | tests/smscalls.py | thetomcraig/HPI | 5eecd8721dc0cbfc68040106bb7b540b1567dff3 | [
"MIT"
] | null | null | null | tests/smscalls.py | thetomcraig/HPI | 5eecd8721dc0cbfc68040106bb7b540b1567dff3 | [
"MIT"
] | null | null | null | tests/smscalls.py | thetomcraig/HPI | 5eecd8721dc0cbfc68040106bb7b540b1567dff3 | [
"MIT"
] | null | null | null | from my.smscalls import calls
# TODO that's a pretty dumb test; perhaps can be generic..
def test():
assert len(list(calls())) > 10
| 19.714286 | 58 | 0.688406 | 23 | 138 | 4.130435 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018018 | 0.195652 | 138 | 6 | 59 | 23 | 0.837838 | 0.405797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a43dac2be61d13a45c8534ccbb4d9351535bce3d | 12,868 | py | Python | tests/test_pp_tesseract_dcr.py | KonnexionsGmbH/ocr_bench | 8f54b386c22b43a2f4e8f98dc6f7ac69edf7e0be | [
"CNRI-Python",
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | tests/test_pp_tesseract_dcr.py | KonnexionsGmbH/ocr_bench | 8f54b386c22b43a2f4e8f98dc6f7ac69edf7e0be | [
"CNRI-Python",
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | tests/test_pp_tesseract_dcr.py | KonnexionsGmbH/ocr_bench | 8f54b386c22b43a2f4e8f98dc6f7ac69edf7e0be | [
"CNRI-Python",
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | # pylint: disable=unused-argument
"""Testing Module pp.tesseract_dcr."""
import typing
import cfg.glob
import pytest
import dcr
# -----------------------------------------------------------------------------
# Constants & Globals.
# -----------------------------------------------------------------------------
# pyli... | 34.967391 | 112 | 0.527588 | 1,412 | 12,868 | 4.302408 | 0.093484 | 0.10716 | 0.077037 | 0.071605 | 0.918189 | 0.860905 | 0.83358 | 0.806749 | 0.750617 | 0.723621 | 0 | 0.022909 | 0.175707 | 12,868 | 367 | 113 | 35.06267 | 0.549826 | 0.263366 | 0 | 0.559829 | 0 | 0 | 0.167962 | 0.116551 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025641 | false | 0 | 0.017094 | 0 | 0.042735 | 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 |
a482a6f89635d6cebfa1c08c5e14f59a6956ea6b | 18,310 | py | Python | vae.py | rshen36/vae | e0bdaf1791c0e0dbe4ba203244ec9027f3589b81 | [
"MIT"
] | 1 | 2018-09-03T06:53:34.000Z | 2018-09-03T06:53:34.000Z | vae.py | rshen36/vae | e0bdaf1791c0e0dbe4ba203244ec9027f3589b81 | [
"MIT"
] | null | null | null | vae.py | rshen36/vae | e0bdaf1791c0e0dbe4ba203244ec9027f3589b81 | [
"MIT"
] | null | null | null | import numpy as np
import tensorflow as tf
import tensorflow.contrib.layers as layers
import tensorflow.contrib.distributions as dbns
# parent class for all VAE variants
class AbstVAE:
def __init__(self, seed, model_scope):
self.seed = seed
self.model_scope = model_scope
np.random.seed(sel... | 54.984985 | 118 | 0.602567 | 2,495 | 18,310 | 4.17475 | 0.087375 | 0.021601 | 0.017281 | 0.043011 | 0.831125 | 0.802323 | 0.771505 | 0.764785 | 0.745968 | 0.737519 | 0 | 0.027279 | 0.279246 | 18,310 | 332 | 119 | 55.150602 | 0.761991 | 0.182906 | 0 | 0.683258 | 0 | 0 | 0.01417 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.072398 | false | 0 | 0.0181 | 0 | 0.135747 | 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 |
a49be588b0168f451fe0900c5e22f307cf11b217 | 5,695 | py | Python | tf_siren/siren_mlp.py | jackietung1219/tf_SIREN | 9ed4d66f027744e061cc45585557837abbae6e9c | [
"MIT"
] | 134 | 2020-06-19T03:22:13.000Z | 2022-03-23T17:41:28.000Z | tf_siren/siren_mlp.py | jackietung1219/tf_SIREN | 9ed4d66f027744e061cc45585557837abbae6e9c | [
"MIT"
] | 17 | 2020-06-22T08:15:11.000Z | 2021-03-30T09:05:06.000Z | tf_siren/siren_mlp.py | jackietung1219/tf_SIREN | 9ed4d66f027744e061cc45585557837abbae6e9c | [
"MIT"
] | 29 | 2020-06-19T13:15:20.000Z | 2022-03-10T06:01:42.000Z | import tensorflow as tf
from tf_siren import siren
class SIRENModel(tf.keras.Model):
def __init__(self, units: int, final_units: int,
final_activation: str = "linear",
num_layers: int = 1,
w0: float = 30.0,
w0_initial: float = 30.0,
... | 51.772727 | 145 | 0.585601 | 627 | 5,695 | 5.15311 | 0.183413 | 0.038997 | 0.029712 | 0.025998 | 0.851749 | 0.796657 | 0.796657 | 0.796657 | 0.774992 | 0.774992 | 0 | 0.022514 | 0.344864 | 5,695 | 109 | 146 | 52.247706 | 0.843474 | 0.404214 | 0 | 0.627451 | 0 | 0 | 0.016223 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.078431 | false | 0 | 0.039216 | 0 | 0.196078 | 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 |
f1100fec036785a8f1f9cc2464d3a13bd228a7ac | 48 | py | Python | ptcaccount2/__init__.py | Kitryn/PTCAccount2 | b51f98cbe47b28a4663e520f5cd9af7f5d2c0013 | [
"MIT"
] | 96 | 2016-08-13T17:50:05.000Z | 2021-11-14T15:52:26.000Z | ptcaccount2/__init__.py | Kitryn/PTCAccount2 | b51f98cbe47b28a4663e520f5cd9af7f5d2c0013 | [
"MIT"
] | 38 | 2016-08-14T03:59:20.000Z | 2017-04-02T10:56:00.000Z | ptcaccount2/__init__.py | Kitryn/PTCAccount2 | b51f98cbe47b28a4663e520f5cd9af7f5d2c0013 | [
"MIT"
] | 50 | 2016-08-13T18:31:30.000Z | 2017-08-08T19:28:06.000Z | from ptcaccount2.accounts import random_account
| 24 | 47 | 0.895833 | 6 | 48 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.083333 | 48 | 1 | 48 | 48 | 0.931818 | 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 |
74fab786d08151947bb4d06c6592d96772341870 | 34 | py | Python | tapiriik/services/BeginnerTriathlete/__init__.py | prohfesor/tapiriik | 0c476f8bb6b3d51674f0117b054777405ff2ee0d | [
"Apache-2.0"
] | 1,445 | 2015-01-01T21:43:31.000Z | 2022-03-17T13:40:23.000Z | tapiriik/services/BeginnerTriathlete/__init__.py | prohfesor/tapiriik | 0c476f8bb6b3d51674f0117b054777405ff2ee0d | [
"Apache-2.0"
] | 441 | 2015-01-02T03:37:49.000Z | 2022-03-31T18:18:03.000Z | tapiriik/services/BeginnerTriathlete/__init__.py | prohfesor/tapiriik | 0c476f8bb6b3d51674f0117b054777405ff2ee0d | [
"Apache-2.0"
] | 333 | 2015-01-06T12:14:15.000Z | 2022-03-27T19:58:48.000Z | from .beginnertriathlete import *
| 17 | 33 | 0.823529 | 3 | 34 | 9.333333 | 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 |
2d349df5c69876658a0755bb42dfeffd642ee403 | 122 | py | Python | py/problem_20.py | dfings/project-euler | f66389dcd8ff4e4d64fbd245cfdaebac7b9bd4ef | [
"Unlicense"
] | null | null | null | py/problem_20.py | dfings/project-euler | f66389dcd8ff4e4d64fbd245cfdaebac7b9bd4ef | [
"Unlicense"
] | null | null | null | py/problem_20.py | dfings/project-euler | f66389dcd8ff4e4d64fbd245cfdaebac7b9bd4ef | [
"Unlicense"
] | null | null | null | #!/usr/bin/env python
from math import factorial
from strings import sum_of_digits
print(sum_of_digits(factorial(100)))
| 17.428571 | 36 | 0.803279 | 20 | 122 | 4.7 | 0.7 | 0.106383 | 0.234043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027523 | 0.106557 | 122 | 6 | 37 | 20.333333 | 0.834862 | 0.163934 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 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 |
7428c74722f44162aac6f84fb4637c6b625c67f3 | 2,581 | py | Python | awx/main/tests/unit/notifications/test_slack.py | DamoR25/awxnew | 03ed6e97558ae090ea52703caf6ed1b196557981 | [
"Apache-2.0"
] | 2 | 2021-05-18T13:28:49.000Z | 2021-07-06T14:04:08.000Z | awx/main/tests/unit/notifications/test_slack.py | DamoR25/awxnew | 03ed6e97558ae090ea52703caf6ed1b196557981 | [
"Apache-2.0"
] | 20 | 2019-08-30T17:00:01.000Z | 2022-03-29T17:58:11.000Z | awx/main/tests/unit/notifications/test_slack.py | DamoR25/awxnew | 03ed6e97558ae090ea52703caf6ed1b196557981 | [
"Apache-2.0"
] | 1 | 2021-04-19T15:15:24.000Z | 2021-04-19T15:15:24.000Z | import pytest
from unittest import mock
from django.core.mail.message import EmailMessage
import awx.main.notifications.slack_backend as slack_backend
def test_send_messages():
with mock.patch('awx.main.notifications.slack_backend.WebClient') as slack_sdk_mock:
WebClient_mock = slack_sdk_mock.return_val... | 33.960526 | 146 | 0.605967 | 267 | 2,581 | 5.535581 | 0.23221 | 0.079161 | 0.048714 | 0.113667 | 0.822057 | 0.784844 | 0.784844 | 0.784844 | 0.784844 | 0.748985 | 0 | 0.008237 | 0.29446 | 2,581 | 75 | 147 | 34.413333 | 0.803405 | 0 | 0 | 0.515152 | 0 | 0 | 0.158078 | 0.053468 | 0 | 0 | 0 | 0 | 0.090909 | 1 | 0.045455 | false | 0 | 0.060606 | 0 | 0.106061 | 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 |
74376fb523d823258e277f0fd770d4f64f996e6f | 8,872 | py | Python | scripts/checks/check_log_files.py | STScI-Citizen-Science/MTPipeline | 903743afe55592ab67a240237d924c7c7383eec7 | [
"Unlicense"
] | 4 | 2015-10-03T02:30:50.000Z | 2016-04-07T04:07:19.000Z | scripts/checks/check_log_files.py | STScI-Citizen-Science/MTPipeline | 903743afe55592ab67a240237d924c7c7383eec7 | [
"Unlicense"
] | 3 | 2022-02-10T23:02:22.000Z | 2022-02-10T23:02:51.000Z | scripts/checks/check_log_files.py | STScI-Citizen-Science/MTPipeline | 903743afe55592ab67a240237d924c7c7383eec7 | [
"Unlicense"
] | null | null | null | import glob
logs_list = glob.glob('/astro/mtpipeline/logs/run_imaging_pipeline/*.log')
import datetime as dt
total_times_dict = {}
check_log_dict = {'cr_times': {'sum_avg': 0, 'count_avg': 0, 'avg_master': 0, 'sum_var': 0, 'var_master': 0, 'std_master': 0},
'dr_times': {'sum_avg': 0, 'count_avg': 0, 'a... | 68.775194 | 175 | 0.536632 | 1,197 | 8,872 | 3.636591 | 0.072682 | 0.11739 | 0.198484 | 0.244659 | 0.84838 | 0.795084 | 0.775787 | 0.671491 | 0.5711 | 0.535952 | 0 | 0.01211 | 0.274008 | 8,872 | 129 | 175 | 68.775194 | 0.663717 | 0 | 0 | 0.072072 | 0 | 0 | 0.179646 | 0.005522 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.018018 | null | null | 0.027027 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
74a18839079aeb4c75530fb42cce6b47381b1947 | 161 | py | Python | 7 kyu/Printer Errors/Printer Errors.py | anthonyjatoba/codewars | 76b0d66dd1ba76a4d136b658920cdf85fd5c4b06 | [
"MIT"
] | null | null | null | 7 kyu/Printer Errors/Printer Errors.py | anthonyjatoba/codewars | 76b0d66dd1ba76a4d136b658920cdf85fd5c4b06 | [
"MIT"
] | null | null | null | 7 kyu/Printer Errors/Printer Errors.py | anthonyjatoba/codewars | 76b0d66dd1ba76a4d136b658920cdf85fd5c4b06 | [
"MIT"
] | null | null | null | from functools import reduce
from operator import add
def printer_error(s):
return '{}/{}'.format(sum(s.count(e) for e in 'nopqrstuvwxyz'), len(s))
| 26.833333 | 75 | 0.670807 | 24 | 161 | 4.458333 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186335 | 161 | 6 | 76 | 26.833333 | 0.816794 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0.25 | 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 |
77d0254e4121fd97b469171a1a5a2ba7f8790a19 | 140 | py | Python | django_cassandra_engine/base/validation.py | Saurabh-Singh-00/django-cassandra-engine | 1028919bff04743dcbf70b849fd19980ee131740 | [
"BSD-2-Clause"
] | 334 | 2015-01-07T17:22:46.000Z | 2022-03-11T18:07:00.000Z | django_cassandra_engine/base/validation.py | hsamfm/django-cassandra-engine | f3ad96a00c8d91be9703ee4e4b1b45d4f93cb012 | [
"BSD-2-Clause"
] | 130 | 2015-01-16T09:59:52.000Z | 2022-01-18T03:58:36.000Z | django_cassandra_engine/base/validation.py | hsamfm/django-cassandra-engine | f3ad96a00c8d91be9703ee4e4b1b45d4f93cb012 | [
"BSD-2-Clause"
] | 99 | 2015-01-19T12:16:24.000Z | 2022-01-29T14:57:51.000Z | from django.db.backends.base.validation import BaseDatabaseValidation
class CassandraDatabaseValidation(BaseDatabaseValidation):
pass
| 23.333333 | 69 | 0.857143 | 12 | 140 | 10 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092857 | 140 | 5 | 70 | 28 | 0.944882 | 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 |
77d075abdbbd01fe4bc2cc518568a951e6457a29 | 45 | py | Python | spike_swarm_sim/objectives/__init__.py | r-sendra/SpikeSwarmSim | a5bd71cb93df0963588640c5d44b3891fa07457c | [
"MIT"
] | null | null | null | spike_swarm_sim/objectives/__init__.py | r-sendra/SpikeSwarmSim | a5bd71cb93df0963588640c5d44b3891fa07457c | [
"MIT"
] | null | null | null | spike_swarm_sim/objectives/__init__.py | r-sendra/SpikeSwarmSim | a5bd71cb93df0963588640c5d44b3891fa07457c | [
"MIT"
] | null | null | null | from .fitness import *
from .reward import * | 22.5 | 23 | 0.733333 | 6 | 45 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 45 | 2 | 24 | 22.5 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
77ec92a8b745ed5f8866213c9abf6777e78dcb28 | 29 | py | Python | kalliope/tts/acapela/__init__.py | Z3RO1/KalliopeZERO | 4a9d4660e561f43387e8de4616f530ecf36cbbae | [
"MIT"
] | 1 | 2017-10-09T18:02:32.000Z | 2017-10-09T18:02:32.000Z | kalliope/tts/acapela/__init__.py | ngoales/kalliope | b1e58f2d1e949f572d48026603159992c0ce20ca | [
"MIT"
] | null | null | null | kalliope/tts/acapela/__init__.py | ngoales/kalliope | b1e58f2d1e949f572d48026603159992c0ce20ca | [
"MIT"
] | 1 | 2021-11-21T19:08:15.000Z | 2021-11-21T19:08:15.000Z | from .acapela import Acapela
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bb45ed940746e81f211204d77cc77528b107213d | 17,748 | py | Python | src/datadog_api_client/v2/api/logs_metrics_api.py | rchenzheng/datadog-api-client-python | 2e86ac098c6f0c7fdd90ed218224587c0f8eafef | [
"Apache-2.0"
] | 32 | 2021-01-07T15:09:56.000Z | 2022-01-30T05:49:23.000Z | src/datadog_api_client/v2/api/logs_metrics_api.py | rchenzheng/datadog-api-client-python | 2e86ac098c6f0c7fdd90ed218224587c0f8eafef | [
"Apache-2.0"
] | 228 | 2020-09-03T14:03:54.000Z | 2022-03-31T20:16:12.000Z | src/datadog_api_client/v2/api/logs_metrics_api.py | rchenzheng/datadog-api-client-python | 2e86ac098c6f0c7fdd90ed218224587c0f8eafef | [
"Apache-2.0"
] | 12 | 2020-09-15T21:36:03.000Z | 2022-03-31T17:13:17.000Z | # Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
# This product includes software developed at Datadog (https://www.datadoghq.com/).
# Copyright 2019-Present Datadog, Inc.
import re # noqa: F401
import sys # noqa: F401
from datadog_api_client.v2.api_clien... | 40.706422 | 177 | 0.547893 | 1,810 | 17,748 | 5.166851 | 0.11989 | 0.030796 | 0.027802 | 0.020317 | 0.842387 | 0.81127 | 0.786784 | 0.766788 | 0.738345 | 0.724551 | 0 | 0.005524 | 0.367591 | 17,748 | 435 | 178 | 40.8 | 0.827691 | 0.455432 | 0 | 0.594595 | 0 | 0 | 0.20554 | 0.033097 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027027 | false | 0 | 0.040541 | 0 | 0.094595 | 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 |
249cdecd056bc3b08f9ca1aaa1e10075ec8f6432 | 121 | py | Python | tests/test_rest.py | cadia-lvl/POS | 81a146707df82ecc972c28e055cc50b372f5d35b | [
"Apache-2.0"
] | 2 | 2020-07-28T14:10:02.000Z | 2021-08-25T13:28:14.000Z | tests/test_rest.py | cadia-lvl/POS | 81a146707df82ecc972c28e055cc50b372f5d35b | [
"Apache-2.0"
] | 3 | 2020-07-15T15:17:37.000Z | 2021-11-08T15:49:02.000Z | tests/test_rest.py | cadia-lvl/POS | 81a146707df82ecc972c28e055cc50b372f5d35b | [
"Apache-2.0"
] | 1 | 2020-07-15T16:15:05.000Z | 2020-07-15T16:15:05.000Z | from pos import cli, vectorize_dim
def test_import():
assert True # Should just run, we want the imports to be OK
| 20.166667 | 64 | 0.727273 | 21 | 121 | 4.095238 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.223141 | 121 | 5 | 65 | 24.2 | 0.914894 | 0.371901 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.666667 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
24a7d3b57ddc6c28c9a326500cd5083a67e456dd | 34 | py | Python | dnfal/encoding/__init__.py | altest-com/dnfal | d1fb15508c5583aeaa0957fcc3e37634d36bf237 | [
"MIT"
] | null | null | null | dnfal/encoding/__init__.py | altest-com/dnfal | d1fb15508c5583aeaa0957fcc3e37634d36bf237 | [
"MIT"
] | 1 | 2020-03-31T17:04:09.000Z | 2020-03-31T17:04:09.000Z | dnfal/encoding/__init__.py | altest-com/dnfal | d1fb15508c5583aeaa0957fcc3e37634d36bf237 | [
"MIT"
] | null | null | null | from ._encoder import FaceEncoder
| 17 | 33 | 0.852941 | 4 | 34 | 7 | 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 |
70294dee9515f01d39750cff334fcc59c544655d | 172 | py | Python | plugins/release_matching/matching.py | jerryrwu/harvest | 6f405254fef59c84637bc976c252eef703b1cbc5 | [
"Apache-2.0"
] | 9 | 2019-03-26T14:50:00.000Z | 2020-11-10T16:44:08.000Z | plugins/release_matching/matching.py | jerryrwu/harvest | 6f405254fef59c84637bc976c252eef703b1cbc5 | [
"Apache-2.0"
] | 22 | 2019-03-02T23:16:13.000Z | 2022-02-27T10:36:36.000Z | plugins/release_matching/matching.py | jerryrwu/harvest | 6f405254fef59c84637bc976c252eef703b1cbc5 | [
"Apache-2.0"
] | 5 | 2019-04-24T00:51:30.000Z | 2020-11-06T18:31:49.000Z | def find_matches(match_info, results):
for target_match_info, obj in results:
if target_match_info.equals(match_info):
yield target_match_info, obj
| 34.4 | 48 | 0.72093 | 25 | 172 | 4.6 | 0.52 | 0.391304 | 0.391304 | 0.313043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215116 | 172 | 4 | 49 | 43 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7052500f4ec53ee74cccaee715d86b9fd0e25839 | 26 | py | Python | intel_edison/__init__.py | abhirocks1211/countly-sdk-iot-python | 0ccc5120661c5e356d6a569b31ba5fb135fa8efb | [
"MIT"
] | 9 | 2016-04-06T05:23:43.000Z | 2022-02-21T04:41:47.000Z | intel_edison/__init__.py | abhirocks1211/countly-sdk-iot-python | 0ccc5120661c5e356d6a569b31ba5fb135fa8efb | [
"MIT"
] | 7 | 2016-01-07T22:09:48.000Z | 2016-02-16T12:44:09.000Z | intel_edison/__init__.py | abhirocks1211/countly-sdk-iot-python | 0ccc5120661c5e356d6a569b31ba5fb135fa8efb | [
"MIT"
] | 11 | 2016-03-17T14:03:44.000Z | 2022-02-28T05:32:03.000Z | from intel_edison import * | 26 | 26 | 0.846154 | 4 | 26 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7060ad52e2f5d16a49ba2084ecb4dfca04badf3d | 121 | py | Python | python-aws-lambda/lambda_function.py | alexhwoods/deployment-examples | e4a94220b8d483dff3268eb3b07f5e19934c861b | [
"MIT"
] | 28 | 2018-03-05T09:37:23.000Z | 2021-04-13T20:47:58.000Z | python-aws-lambda/lambda_function.py | alexhwoods/deployment-examples | e4a94220b8d483dff3268eb3b07f5e19934c861b | [
"MIT"
] | 162 | 2018-04-08T15:08:28.000Z | 2022-03-20T12:07:12.000Z | python-aws-lambda/lambda_function.py | alexhwoods/deployment-examples | e4a94220b8d483dff3268eb3b07f5e19934c861b | [
"MIT"
] | 39 | 2018-06-27T09:44:43.000Z | 2022-03-02T14:25:31.000Z | from rook.serverless import serverless_rook
@serverless_rook
def lambda_handler(event, context):
return "Hello world"
| 20.166667 | 43 | 0.818182 | 16 | 121 | 6 | 0.75 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115702 | 121 | 5 | 44 | 24.2 | 0.897196 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 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 |
707f3fd888811727c63653d6e8f2059e2011aa73 | 152 | py | Python | jumpscale/clients/sshkey/__init__.py | zaibon/js-ng | 8b63c04757d1432ed4aa588500a113610701de14 | [
"Apache-2.0"
] | 2 | 2021-04-28T10:46:08.000Z | 2021-12-22T12:33:34.000Z | jumpscale/clients/sshkey/__init__.py | zaibon/js-ng | 8b63c04757d1432ed4aa588500a113610701de14 | [
"Apache-2.0"
] | 321 | 2020-06-15T11:48:21.000Z | 2022-03-29T22:13:33.000Z | jumpscale/clients/sshkey/__init__.py | zaibon/js-ng | 8b63c04757d1432ed4aa588500a113610701de14 | [
"Apache-2.0"
] | 4 | 2020-06-18T06:19:29.000Z | 2021-07-14T12:54:47.000Z | def export_module_as():
from jumpscale.core.base import StoredFactory
from .sshkey import SSHKeyClient
return StoredFactory(SSHKeyClient)
| 21.714286 | 49 | 0.776316 | 17 | 152 | 6.823529 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171053 | 152 | 6 | 50 | 25.333333 | 0.920635 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
708269b312e9b8e67e299601351fc1adc81322d6 | 23,537 | py | Python | code/set_up_experiments.py | lingo-mit/transformers | 478fb18a9f9680321f0d37dc999ea444e9287cc0 | [
"Apache-2.0"
] | null | null | null | code/set_up_experiments.py | lingo-mit/transformers | 478fb18a9f9680321f0d37dc999ea444e9287cc0 | [
"Apache-2.0"
] | null | null | null | code/set_up_experiments.py | lingo-mit/transformers | 478fb18a9f9680321f0d37dc999ea444e9287cc0 | [
"Apache-2.0"
] | null | null | null | import json
import os
TRAIN_SCRIPT_TEMPLATE = "python transformers/examples/language-modeling/run_language_modeling.py --model_type gpt2 --tokenizer_name model-configs/{0}-config --config_name model-configs/{0}-config/config.json --train_data_file ../data/wikitext-103-raw/wiki.train.raw --eval_data_file ../data/wikit... | 83.169611 | 652 | 0.569104 | 2,736 | 23,537 | 4.580775 | 0.044591 | 0.06064 | 0.053858 | 0.043086 | 0.937685 | 0.915982 | 0.905769 | 0.889731 | 0.834836 | 0.793346 | 0 | 0.042589 | 0.31066 | 23,537 | 282 | 653 | 83.464539 | 0.729861 | 0.002549 | 0 | 0.346491 | 0 | 0.078947 | 0.426873 | 0.274571 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017544 | false | 0 | 0.008772 | 0 | 0.026316 | 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 |
5608133a2c0c4e8fe03f3cc2da06722832892404 | 20,320 | py | Python | tests/unit/engine/test_generate_passphrases.py | openstack/airship-pegleg | cbc87967ebd572463a893b03097b615b99d9dbcf | [
"Apache-2.0"
] | 9 | 2018-06-20T20:16:29.000Z | 2019-03-24T23:07:25.000Z | tests/unit/engine/test_generate_passphrases.py | openstack/airship-pegleg | cbc87967ebd572463a893b03097b615b99d9dbcf | [
"Apache-2.0"
] | 8 | 2020-11-16T16:22:58.000Z | 2021-05-14T13:29:45.000Z | tests/unit/engine/test_generate_passphrases.py | airshipit/pegle | 772d3a47a6db425be8249f770a732dbad4e00b08 | [
"Apache-2.0"
] | 2 | 2020-03-02T13:53:53.000Z | 2021-07-19T05:02:13.000Z | # Copyright 2018 AT&T Intellectual Property. All other rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | 36.221034 | 79 | 0.660384 | 2,180 | 20,320 | 5.910092 | 0.11422 | 0.066361 | 0.023906 | 0.030425 | 0.774604 | 0.738746 | 0.72788 | 0.72788 | 0.719187 | 0.712356 | 0 | 0.012949 | 0.236073 | 20,320 | 560 | 80 | 36.285714 | 0.817046 | 0.034104 | 0 | 0.696721 | 0 | 0 | 0.212847 | 0.0779 | 0 | 0 | 0 | 0 | 0.193989 | 1 | 0.016393 | false | 0.371585 | 0.038251 | 0 | 0.054645 | 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 |
569e98ffa96d39e4f1a104736538b50b8787756f | 24 | py | Python | src/nashpy/polytope/__init__.py | Fil/Nashpy | 405abe23cb655a084ea4a767b97e03fa24c3d5d2 | [
"MIT"
] | null | null | null | src/nashpy/polytope/__init__.py | Fil/Nashpy | 405abe23cb655a084ea4a767b97e03fa24c3d5d2 | [
"MIT"
] | null | null | null | src/nashpy/polytope/__init__.py | Fil/Nashpy | 405abe23cb655a084ea4a767b97e03fa24c3d5d2 | [
"MIT"
] | null | null | null | from .polytope import *
| 12 | 23 | 0.75 | 3 | 24 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3b130451f1db73e57f7e89bc74920b31f11ce479 | 20 | py | Python | python_ws/devel/lib/python2.7/dist-packages/turtlebot_arm_lzd/msg/__init__.py | 13821339565/luo | da69d9bd76be18c17c93b33d41ba4f4020a42e50 | [
"MIT"
] | 1 | 2022-03-11T03:31:15.000Z | 2022-03-11T03:31:15.000Z | VMware_Ubuntu16.04_Dev/ros_ws/devel/lib/python2.7/dist-packages/xtark_line_follower/msg/__init__.py | bravetree/xtark_driver_dev | 1708888161cf20c0d1f45c99d0da4467d69c26c8 | [
"BSD-3-Clause"
] | null | null | null | VMware_Ubuntu16.04_Dev/ros_ws/devel/lib/python2.7/dist-packages/xtark_line_follower/msg/__init__.py | bravetree/xtark_driver_dev | 1708888161cf20c0d1f45c99d0da4467d69c26c8 | [
"BSD-3-Clause"
] | null | null | null | from ._pos import *
| 10 | 19 | 0.7 | 3 | 20 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.8125 | 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 |
3b2d097bd11a8febb8db6983ec5f6f04fc838c5c | 53,186 | py | Python | tests/tests_task_integration.py | Open-CMMS/openCMMS_backend | 56511ebac83a5dc1fb8768a98bc675e88530a447 | [
"BSD-3-Clause"
] | 3 | 2021-03-08T19:14:38.000Z | 2022-02-01T17:57:31.000Z | tests/tests_task_integration.py | Open-CMMS/openCMMS_backend | 56511ebac83a5dc1fb8768a98bc675e88530a447 | [
"BSD-3-Clause"
] | null | null | null | tests/tests_task_integration.py | Open-CMMS/openCMMS_backend | 56511ebac83a5dc1fb8768a98bc675e88530a447 | [
"BSD-3-Clause"
] | null | null | null | from io import BytesIO
import pytest
from init_db_tests import init_db
from PIL import Image
from django.contrib.auth.models import Permission
from django.test import TestCase
from maintenancemanagement.models import (
Field,
FieldGroup,
FieldObject,
File,
Task,
)
from maintenancemanagement.serial... | 41.325563 | 148 | 0.572256 | 5,679 | 53,186 | 5.156894 | 0.052122 | 0.023492 | 0.01598 | 0.045175 | 0.880011 | 0.853616 | 0.824353 | 0.815714 | 0.80588 | 0.789456 | 0 | 0.014128 | 0.330613 | 53,186 | 1,286 | 149 | 41.357698 | 0.808466 | 0.192663 | 0 | 0.611047 | 0 | 0 | 0.208466 | 0.112686 | 0 | 0 | 0 | 0 | 0.079402 | 1 | 0.056387 | false | 0.002302 | 0.012658 | 0 | 0.073648 | 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 |
3b2ea130fa6c7d83e5acc33a3c12edb00e53241c | 70 | py | Python | mvfy/visual/utils/__init__.py | erwingforerocastro/mvfy_visual_py | 8740f21ffa68d0cfced0d0684251b2198488cb0e | [
"MIT"
] | null | null | null | mvfy/visual/utils/__init__.py | erwingforerocastro/mvfy_visual_py | 8740f21ffa68d0cfced0d0684251b2198488cb0e | [
"MIT"
] | null | null | null | mvfy/visual/utils/__init__.py | erwingforerocastro/mvfy_visual_py | 8740f21ffa68d0cfced0d0684251b2198488cb0e | [
"MIT"
] | null | null | null | from detectors import *
from receivers import *
from streamer import * | 23.333333 | 23 | 0.8 | 9 | 70 | 6.222222 | 0.555556 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157143 | 70 | 3 | 24 | 23.333333 | 0.949153 | 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 |
3b35fabd72bb76b475fce2a4e2ae1a7f2fecae94 | 39 | py | Python | jinahub/encoders/text/CLIPTextEncoder/__init__.py | vivek2301/executors | 8159681d68408ab8f797497bc3374be77e6ca392 | [
"Apache-2.0"
] | null | null | null | jinahub/encoders/text/CLIPTextEncoder/__init__.py | vivek2301/executors | 8159681d68408ab8f797497bc3374be77e6ca392 | [
"Apache-2.0"
] | null | null | null | jinahub/encoders/text/CLIPTextEncoder/__init__.py | vivek2301/executors | 8159681d68408ab8f797497bc3374be77e6ca392 | [
"Apache-2.0"
] | null | null | null | from .clip_text import CLIPTextEncoder
| 19.5 | 38 | 0.871795 | 5 | 39 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.942857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3b4bbeb4322a11827430b3126df4b6c3cc7e948a | 35 | py | Python | contrib/discodex/www/views.py | kostis/disco | 200ca4afef9851139b122928e409d1d3186be646 | [
"BSD-3-Clause"
] | 1 | 2016-08-23T06:45:18.000Z | 2016-08-23T06:45:18.000Z | contrib/discodex/www/views.py | dimazest/disco | 9175f863d6f83f2a918c851c9eed88019adf7f24 | [
"BSD-3-Clause"
] | null | null | null | contrib/discodex/www/views.py | dimazest/disco | 9175f863d6f83f2a918c851c9eed88019adf7f24 | [
"BSD-3-Clause"
] | null | null | null | from discodex.views import Indices
| 17.5 | 34 | 0.857143 | 5 | 35 | 6 | 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 |
8e6a5a50f56e1cd48e4364000b60218d0803e125 | 279 | py | Python | cantools/database/can/__init__.py | juleq/cantools | c34fbf8423e684fdef7a6b34789b6f0607bfc581 | [
"MIT"
] | 1 | 2021-05-15T16:24:51.000Z | 2021-05-15T16:24:51.000Z | cantools/database/can/__init__.py | juleq/cantools | c34fbf8423e684fdef7a6b34789b6f0607bfc581 | [
"MIT"
] | null | null | null | cantools/database/can/__init__.py | juleq/cantools | c34fbf8423e684fdef7a6b34789b6f0607bfc581 | [
"MIT"
] | null | null | null | from .database import Database
from .message import Message
from .message import EncodeError
from .message import DecodeError
from .signal import Signal
from .node import Node
# ToDo: Remove backwards compatibility File in future release.
from .database import Database as File
| 27.9 | 62 | 0.820789 | 38 | 279 | 6.026316 | 0.447368 | 0.144105 | 0.222707 | 0.227074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143369 | 279 | 9 | 63 | 31 | 0.958159 | 0.215054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
8e80a5e0cf21b917a09d9a653b8d781f955a0545 | 132 | py | Python | spacetimeformer/data/__init__.py | Piki1989/spacetimeformer | 7e0caf17dd03e5d25e2766c4f7132805779bcc40 | [
"MIT"
] | 1 | 2022-01-18T07:08:41.000Z | 2022-01-18T07:08:41.000Z | spacetimeformer/data/__init__.py | Piki1989/spacetimeformer | 7e0caf17dd03e5d25e2766c4f7132805779bcc40 | [
"MIT"
] | 1 | 2022-03-23T01:16:37.000Z | 2022-03-23T02:20:39.000Z | spacetimeformer/data/__init__.py | Piki1989/spacetimeformer | 7e0caf17dd03e5d25e2766c4f7132805779bcc40 | [
"MIT"
] | null | null | null | from . import timefeatures
from . import precip
from . import metr_la
from .datamodule import DataModule
from .csv_dataset import *
| 22 | 34 | 0.80303 | 18 | 132 | 5.777778 | 0.5 | 0.288462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 132 | 5 | 35 | 26.4 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.