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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
376d41ecd5f3c5cbfc74b2b48fe78deb6dc88f8d | 229 | py | Python | LaundrIT-Project/Home/admin.py | linikerunk/laundr-it | 79d5403d897233e9354db2d6ec91393117eac24f | [
"MIT"
] | 1 | 2019-11-17T22:28:01.000Z | 2019-11-17T22:28:01.000Z | LaundrIT-Project/Home/admin.py | linikerunk/laundr-it | 79d5403d897233e9354db2d6ec91393117eac24f | [
"MIT"
] | 4 | 2021-04-08T18:43:19.000Z | 2021-06-10T17:57:30.000Z | LaundrIT-Project/Home/admin.py | linikerunk/laundr-it | 79d5403d897233e9354db2d6ec91393117eac24f | [
"MIT"
] | 1 | 2019-11-24T04:47:45.000Z | 2019-11-24T04:47:45.000Z | from django.contrib import admin
from .models import Cliente
from django.contrib.auth.models import User
from django.contrib.auth.admin import UserAdmin as BaseUserAdmin
# Register your models here.
admin.site.register(Cliente)
| 28.625 | 64 | 0.829694 | 33 | 229 | 5.757576 | 0.484848 | 0.157895 | 0.268421 | 0.221053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10917 | 229 | 7 | 65 | 32.714286 | 0.931373 | 0.113537 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 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 |
808b7170352d8ce0490edfa0893142b2d9f538ee | 196 | py | Python | examples/readme/props/test_props.py | abilian/viewdom | 9ceed007e67606c9a0125633132b4af3fdaf8680 | [
"MIT"
] | 3 | 2020-06-19T21:10:00.000Z | 2021-02-22T12:34:17.000Z | examples/readme/props/test_props.py | abilian/viewdom | 9ceed007e67606c9a0125633132b4af3fdaf8680 | [
"MIT"
] | 32 | 2020-05-22T22:15:50.000Z | 2022-03-31T02:24:21.000Z | examples/readme/props/test_props.py | abilian/viewdom | 9ceed007e67606c9a0125633132b4af3fdaf8680 | [
"MIT"
] | 2 | 2020-05-22T20:18:09.000Z | 2022-01-08T15:31:55.000Z | """Test an example."""
from . import main
def test_readme_props() -> None:
"""Ensure the demo matches expected."""
assert main() == '<div id="id-42" title="viewdom">Hello viewdom</div>'
| 24.5 | 74 | 0.637755 | 27 | 196 | 4.555556 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01227 | 0.168367 | 196 | 7 | 75 | 28 | 0.742331 | 0.255102 | 0 | 0 | 0 | 0 | 0.377778 | 0.155556 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
80bf7a38344860c2348a304798f8ff60dbaa012d | 45 | py | Python | tellurium/analysis/__init__.py | stanleygu/tellurium | bfa6898eb4b632b31c4d12c0b0c78ce704a1d898 | [
"Apache-2.0"
] | null | null | null | tellurium/analysis/__init__.py | stanleygu/tellurium | bfa6898eb4b632b31c4d12c0b0c78ce704a1d898 | [
"Apache-2.0"
] | null | null | null | tellurium/analysis/__init__.py | stanleygu/tellurium | bfa6898eb4b632b31c4d12c0b0c78ce704a1d898 | [
"Apache-2.0"
] | null | null | null | from match import *
from parameters import *
| 15 | 24 | 0.777778 | 6 | 45 | 5.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 45 | 2 | 25 | 22.5 | 0.945946 | 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 |
20da696403242bdf58ed785dabb3327f3365ad2e | 19 | py | Python | __init__.py | hover2pi/pysynphot2d | e9e4aa8adc1ddfaece3529af58de1e6b100fe68c | [
"MIT"
] | null | null | null | __init__.py | hover2pi/pysynphot2d | e9e4aa8adc1ddfaece3529af58de1e6b100fe68c | [
"MIT"
] | null | null | null | __init__.py | hover2pi/pysynphot2d | e9e4aa8adc1ddfaece3529af58de1e6b100fe68c | [
"MIT"
] | null | null | null | from . import psp2d | 19 | 19 | 0.789474 | 3 | 19 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.157895 | 19 | 1 | 19 | 19 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
20de19ac6c0eb3e2903d09f2b04ea812287c1c6b | 3,854 | py | Python | spaic/Network/Construct.py | ZhejianglabNCRC/SPAIC | 5a08328adcc5a197316cf353746bae7ab6865337 | [
"Apache-2.0"
] | 3 | 2022-03-01T03:04:25.000Z | 2022-03-01T03:07:15.000Z | spaic/Network/Construct.py | ZhejianglabNCRC/SPAIC | 5a08328adcc5a197316cf353746bae7ab6865337 | [
"Apache-2.0"
] | null | null | null | spaic/Network/Construct.py | ZhejianglabNCRC/SPAIC | 5a08328adcc5a197316cf353746bae7ab6865337 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on 2020/12/23
@project: SPAIC
@filename: WithBuildFuncs
@author: Hong Chaofei
@contact: hongchf@gmail.com
@description:
"""
from ..Network.Assembly import Assembly
import spaic
# ================= Assembly Functions used in with ==========================
def add_assembly(name, a... | 38.54 | 96 | 0.730929 | 528 | 3,854 | 5.153409 | 0.123106 | 0.164645 | 0.167585 | 0.135244 | 0.857405 | 0.857405 | 0.811099 | 0.785741 | 0.742374 | 0.742374 | 0 | 0.015313 | 0.169694 | 3,854 | 100 | 97 | 38.54 | 0.835 | 0.059419 | 0 | 0.685714 | 0 | 0 | 0.241084 | 0 | 0 | 0 | 0 | 0 | 0.228571 | 1 | 0.114286 | false | 0 | 0.028571 | 0 | 0.157143 | 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 |
45671fa3e0a4964c22ade0d7ea890bca57c5175a | 3,335 | py | Python | tests/test_rekcurd_operator.py | rekcurd/airflow-plugin | f63e030c45e53e449dbccc505dab990ec5aab343 | [
"Apache-2.0"
] | 4 | 2019-03-06T01:08:04.000Z | 2019-04-25T00:52:57.000Z | tests/test_rekcurd_operator.py | rekcurd/airflow-plugin | f63e030c45e53e449dbccc505dab990ec5aab343 | [
"Apache-2.0"
] | 3 | 2019-05-22T09:23:54.000Z | 2019-07-07T06:39:03.000Z | tests/test_rekcurd_operator.py | rekcurd/airflow-plugin | f63e030c45e53e449dbccc505dab990ec5aab343 | [
"Apache-2.0"
] | 2 | 2019-06-21T02:56:29.000Z | 2020-01-05T06:33:27.000Z | import unittest
from datetime import datetime
from unittest.mock import Mock, patch
from airflow import DAG
from airflow.models import Variable
from rekcurd_airflow.operators.rekcurd_operator import RekcurdOperator
class TestRekcurdOperator(unittest.TestCase):
@staticmethod
def setUpClass():
Variable.... | 39.235294 | 92 | 0.607496 | 364 | 3,335 | 5.239011 | 0.175824 | 0.088096 | 0.075511 | 0.080231 | 0.823283 | 0.772942 | 0.772942 | 0.772942 | 0.772942 | 0.772942 | 0 | 0.00885 | 0.288456 | 3,335 | 84 | 93 | 39.702381 | 0.794775 | 0 | 0 | 0.647059 | 0 | 0 | 0.161919 | 0.052174 | 0 | 0 | 0 | 0 | 0.132353 | 1 | 0.088235 | false | 0 | 0.088235 | 0 | 0.191176 | 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 |
4582cdb3b1182d6d44325c5372f7697a6bcb9027 | 366 | py | Python | src/dstools/pipeline/sources/__init__.py | edublancas/python-ds-tools | 1da2337961db9c50562349c28c9115d3a7cc6c0c | [
"MIT"
] | 1 | 2021-11-02T05:48:00.000Z | 2021-11-02T05:48:00.000Z | src/dstools/pipeline/sources/__init__.py | edublancas/python-ds-tools | 1da2337961db9c50562349c28c9115d3a7cc6c0c | [
"MIT"
] | 8 | 2016-05-25T01:50:14.000Z | 2021-03-03T14:52:36.000Z | src/dstools/pipeline/sources/__init__.py | edublancas/dstools | 1da2337961db9c50562349c28c9115d3a7cc6c0c | [
"MIT"
] | null | null | null | from dstools.pipeline.sources.sources import (PythonCallableSource,
SQLScriptSource,
SQLQuerySource,
GenericSource)
__all__ = ['PythonCallableSource', 'SQLScriptSource',
... | 40.666667 | 67 | 0.464481 | 15 | 366 | 11.066667 | 0.666667 | 0.421687 | 0.590361 | 0.746988 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.47541 | 366 | 8 | 68 | 45.75 | 0.864583 | 0 | 0 | 0 | 0 | 0 | 0.169399 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0 | 1 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
45a2e93e94287338674fc91165ba471d66bb3ad1 | 40 | py | Python | flaskipy/__init__.py | osmangoninahid/flaskipy | faa563fd74c831d9caabb23a4136d9a970c7a336 | [
"MIT"
] | 19 | 2018-04-09T07:51:46.000Z | 2019-06-20T16:34:34.000Z | flaskipy/__init__.py | osmangoninahid/flaskipy | faa563fd74c831d9caabb23a4136d9a970c7a336 | [
"MIT"
] | null | null | null | flaskipy/__init__.py | osmangoninahid/flaskipy | faa563fd74c831d9caabb23a4136d9a970c7a336 | [
"MIT"
] | 10 | 2018-04-18T20:30:44.000Z | 2021-03-20T06:57:37.000Z | # coding=utf-8
from .commands import cli | 20 | 25 | 0.775 | 7 | 40 | 4.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.125 | 40 | 2 | 25 | 20 | 0.857143 | 0.3 | 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 |
45c685b0b8888dc734966f79dcf51cf92c240bf1 | 22 | py | Python | gradcop/__init__.py | nomadiq/maunakini | 835cf11573129ce5e614382c4d12f3bc9be4c6c5 | [
"MIT"
] | 1 | 2022-02-03T16:28:54.000Z | 2022-02-03T16:28:54.000Z | gradcop/__init__.py | nomadiq/maunakini | 835cf11573129ce5e614382c4d12f3bc9be4c6c5 | [
"MIT"
] | null | null | null | gradcop/__init__.py | nomadiq/maunakini | 835cf11573129ce5e614382c4d12f3bc9be4c6c5 | [
"MIT"
] | 1 | 2022-02-03T16:25:59.000Z | 2022-02-03T16:25:59.000Z | from .gradcop import * | 22 | 22 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
45ddd5a0ba128f222225bfed1042a34727139ee4 | 366 | py | Python | Database_communication/safeBrowsing/database_playground.py | DonSimerino/CODE---DaWeSys | b678c153724e18117f9c03c85b9b3294a02ad693 | [
"MIT",
"BSD-3-Clause",
"Unlicense"
] | 1 | 2021-04-28T17:50:31.000Z | 2021-04-28T17:50:31.000Z | Database_communication/safeBrowsing/database_playground.py | DonSimerino/CODE---DaWeSys | b678c153724e18117f9c03c85b9b3294a02ad693 | [
"MIT",
"BSD-3-Clause",
"Unlicense"
] | null | null | null | Database_communication/safeBrowsing/database_playground.py | DonSimerino/CODE---DaWeSys | b678c153724e18117f9c03c85b9b3294a02ad693 | [
"MIT",
"BSD-3-Clause",
"Unlicense"
] | 1 | 2021-08-19T19:07:36.000Z | 2021-08-19T19:07:36.000Z | import sqlite3
def connect_db():
return sqlite3.connect('whotracksme.db')
def connect_db_top500():
return sqlite3.connect('top500webpages.db')
def connect_db_labels():
return sqlite3.connect('labels.db')
def connect_phishcore_db():
return sqlite3.connect('phishstats.db')
def connect_new_labels()... | 17.428571 | 47 | 0.737705 | 46 | 366 | 5.673913 | 0.304348 | 0.191571 | 0.383142 | 0.168582 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038095 | 0.139344 | 366 | 20 | 48 | 18.3 | 0.790476 | 0 | 0 | 0 | 0 | 0 | 0.178082 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | true | 0 | 0.090909 | 0.454545 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
afea33eb095012b8507e4b3446c90c0958fd6efc | 3,042 | py | Python | fm_solver/feature_model/restriction.py | fpiedrah/FM-Solver | dea8a110b5af78598c3f22401b25099730d2b35e | [
"MIT"
] | 1 | 2022-03-17T20:56:13.000Z | 2022-03-17T20:56:13.000Z | fm_solver/feature_model/restriction.py | fpiedrah/FM-Solver | dea8a110b5af78598c3f22401b25099730d2b35e | [
"MIT"
] | null | null | null | fm_solver/feature_model/restriction.py | fpiedrah/FM-Solver | dea8a110b5af78598c3f22401b25099730d2b35e | [
"MIT"
] | null | null | null | import dataclasses
import typing
from fm_solver.feature_model import feature
@dataclasses.dataclass
class Cardinality:
lower_bound: int
upper_bound: int
@dataclasses.dataclass
class Restriction:
source: typing.Optional[feature.Feature]
destination: typing.Optional[typing.List[feature.Feature]]
... | 27.654545 | 86 | 0.633465 | 286 | 3,042 | 6.416084 | 0.122378 | 0.144959 | 0.102997 | 0.107902 | 0.837602 | 0.811444 | 0.774387 | 0.759128 | 0.73188 | 0.667575 | 0 | 0.005798 | 0.262985 | 3,042 | 109 | 87 | 27.908257 | 0.812667 | 0 | 0 | 0.546512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.104651 | false | 0 | 0.034884 | 0 | 0.325581 | 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 |
b32c90c69710ac72f756abcb7c83fb887f014817 | 132 | py | Python | attendees/persons/services/__init__.py | xjlin0/-attendees30 | 48a2f2cbec11ec471d7a40d24903b48890feebf9 | [
"MIT"
] | null | null | null | attendees/persons/services/__init__.py | xjlin0/-attendees30 | 48a2f2cbec11ec471d7a40d24903b48890feebf9 | [
"MIT"
] | null | null | null | attendees/persons/services/__init__.py | xjlin0/-attendees30 | 48a2f2cbec11ec471d7a40d24903b48890feebf9 | [
"MIT"
] | null | null | null | from .attending_service import AttendingService
from .folk_service import FolkService
from .attendee_service import AttendeeService
| 33 | 47 | 0.886364 | 15 | 132 | 7.6 | 0.6 | 0.342105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 132 | 3 | 48 | 44 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 |
b334a55a730c3630b9b862b5bc6a2de152288ded | 27 | py | Python | __init__.py | aleneum/kalliope-tts-osx | 5c43e4284a7ce6703459e85fd5d15be4fdab78fc | [
"MIT"
] | null | null | null | __init__.py | aleneum/kalliope-tts-osx | 5c43e4284a7ce6703459e85fd5d15be4fdab78fc | [
"MIT"
] | null | null | null | __init__.py | aleneum/kalliope-tts-osx | 5c43e4284a7ce6703459e85fd5d15be4fdab78fc | [
"MIT"
] | null | null | null | from .osxsay import Osxsay
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2fa8a1ae0db78f37a14d2c2fb3bd4f36a2aecff5 | 44,590 | py | Python | ultrascale_python/test_ultrascale_sike.py | pmassolino/hw-sike | 1fee8af81dcc3d0dcc57bc656e06acc6adf810a1 | [
"CC0-1.0"
] | 7 | 2020-01-15T13:36:37.000Z | 2021-04-10T02:54:28.000Z | ultrascale_python/test_ultrascale_sike.py | pmassolino/hw-sike | 1fee8af81dcc3d0dcc57bc656e06acc6adf810a1 | [
"CC0-1.0"
] | null | null | null | ultrascale_python/test_ultrascale_sike.py | pmassolino/hw-sike | 1fee8af81dcc3d0dcc57bc656e06acc6adf810a1 | [
"CC0-1.0"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Implementation by Pedro Maat C. Massolino,
# hereby denoted as "the implementer".
#
# To the extent possible under law, the implementer has waived all copyright
# and related or neighboring rights to the source code in this file.
# http://creativecommons.org/publicdomain/ze... | 58.51706 | 402 | 0.767145 | 6,944 | 44,590 | 4.364631 | 0.048531 | 0.059126 | 0.048898 | 0.036954 | 0.916656 | 0.885971 | 0.849974 | 0.809126 | 0.758876 | 0.729378 | 0 | 0.030697 | 0.160574 | 44,590 | 762 | 403 | 58.51706 | 0.779028 | 0.010025 | 0 | 0.522293 | 0 | 0 | 0.017269 | 0.00068 | 0 | 0 | 0.008725 | 0 | 0 | 1 | 0.019108 | false | 0 | 0.014331 | 0 | 0.050955 | 0.136943 | 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 |
2fbdcf5a3d6732b48025f18b7b0f3d41484e1663 | 22 | py | Python | fsm/__init__.py | nczeak/switchgrass_cv_application | 3e27732f9589f0f4a8cd72519cf06f23e4a969a4 | [
"MIT"
] | null | null | null | fsm/__init__.py | nczeak/switchgrass_cv_application | 3e27732f9589f0f4a8cd72519cf06f23e4a969a4 | [
"MIT"
] | null | null | null | fsm/__init__.py | nczeak/switchgrass_cv_application | 3e27732f9589f0f4a8cd72519cf06f23e4a969a4 | [
"MIT"
] | null | null | null | from .machine import * | 22 | 22 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2fc02bd232b54da0edd30eae29ec2879facfa90e | 121 | py | Python | tagging/__init__.py | kamigaito/allennlp-tagger | 5461363b82676d70d27ec2db41d822f2b9f4e324 | [
"Apache-2.0"
] | 1 | 2021-04-09T08:11:34.000Z | 2021-04-09T08:11:34.000Z | tagging/__init__.py | kamigaito/allennlp-tagger | 5461363b82676d70d27ec2db41d822f2b9f4e324 | [
"Apache-2.0"
] | null | null | null | tagging/__init__.py | kamigaito/allennlp-tagger | 5461363b82676d70d27ec2db41d822f2b9f4e324 | [
"Apache-2.0"
] | null | null | null | # flake8: noqa: F403
from tagging.predictors import *
from tagging.models import *
from tagging.dataset_readers import *
| 24.2 | 37 | 0.793388 | 16 | 121 | 5.9375 | 0.625 | 0.347368 | 0.357895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038095 | 0.132231 | 121 | 4 | 38 | 30.25 | 0.866667 | 0.14876 | 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 |
2fe4a21311e0f8da8feff1c15c62bf8f107e5cd0 | 205 | py | Python | orator/dbal/platforms/__init__.py | vimox-shah/orator-repo-0.9v | 002d7a0d9bcce17e5da39c3f4675d0a1a8286280 | [
"MIT"
] | 1,484 | 2015-05-24T19:34:02.000Z | 2022-03-29T07:17:05.000Z | orator/dbal/platforms/__init__.py | vimox-shah/orator-repo-0.9v | 002d7a0d9bcce17e5da39c3f4675d0a1a8286280 | [
"MIT"
] | 359 | 2015-05-25T14:59:20.000Z | 2022-03-21T07:54:28.000Z | orator/dbal/platforms/__init__.py | vimox-shah/orator-repo-0.9v | 002d7a0d9bcce17e5da39c3f4675d0a1a8286280 | [
"MIT"
] | 221 | 2015-06-10T12:38:38.000Z | 2022-03-12T23:22:36.000Z | # -*- coding: utf-8 -*-
from .sqlite_platform import SQLitePlatform
from .mysql_platform import MySQLPlatform
from .mysql57_platform import MySQL57Platform
from .postgres_platform import PostgresPlatform
| 29.285714 | 47 | 0.829268 | 23 | 205 | 7.217391 | 0.608696 | 0.337349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027322 | 0.107317 | 205 | 6 | 48 | 34.166667 | 0.879781 | 0.102439 | 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 |
6421cc8edd52eccdc49f8eddc89eea7b95eee969 | 8,508 | py | Python | authors/apps/articles/tests/test_articles.py | andela/ah-robotics | d3c957328dbf20c1fa9dee09a74f4ebc4cf64fbf | [
"BSD-3-Clause"
] | 3 | 2019-01-03T11:08:39.000Z | 2019-06-21T18:20:58.000Z | authors/apps/articles/tests/test_articles.py | andela/ah-robotics | d3c957328dbf20c1fa9dee09a74f4ebc4cf64fbf | [
"BSD-3-Clause"
] | 32 | 2019-01-07T21:47:10.000Z | 2021-09-08T00:45:06.000Z | authors/apps/articles/tests/test_articles.py | andela/ah-robotics | d3c957328dbf20c1fa9dee09a74f4ebc4cf64fbf | [
"BSD-3-Clause"
] | 6 | 2019-02-07T09:34:22.000Z | 2020-05-31T15:37:52.000Z | from .base_test import ArticleTestBase
from rest_framework import status
class TestArticle(ArticleTestBase):
def test_add_article(self):
"""
User should be able to add an article
"""
self.authorize_user(self.user)
response = self.post_article_req(self.article)
cre... | 42.54 | 79 | 0.647743 | 1,003 | 8,508 | 5.278166 | 0.112662 | 0.090669 | 0.086891 | 0.064224 | 0.841141 | 0.806951 | 0.79354 | 0.769173 | 0.748961 | 0.734227 | 0 | 0.011538 | 0.256347 | 8,508 | 199 | 80 | 42.753769 | 0.825194 | 0.109779 | 0 | 0.692913 | 0 | 0 | 0.082938 | 0.006273 | 0 | 0 | 0 | 0 | 0.251969 | 1 | 0.133858 | false | 0 | 0.015748 | 0 | 0.15748 | 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 |
ff40a0bc7eea3589b75a02f7e953ca3c05bab0e1 | 20 | py | Python | skip/history/v1/__init__.py | houzeyu2683/k1 | 398d44183019781c02340c6b70a586b67bc6bb4d | [
"Apache-2.0"
] | null | null | null | skip/history/v1/__init__.py | houzeyu2683/k1 | 398d44183019781c02340c6b70a586b67bc6bb4d | [
"Apache-2.0"
] | null | null | null | skip/history/v1/__init__.py | houzeyu2683/k1 | 398d44183019781c02340c6b70a586b67bc6bb4d | [
"Apache-2.0"
] | null | null | null |
from .data import * | 10 | 19 | 0.7 | 3 | 20 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 2 | 19 | 10 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ff52af7ae937f40932ee02d1a36e7c6f61c1b5a6 | 28 | py | Python | notebooks/src/__init__.py | ahmed14-cell/loan-prediction | cbc76fe557d38c259a993b7649a92c18a96295e4 | [
"MIT"
] | null | null | null | notebooks/src/__init__.py | ahmed14-cell/loan-prediction | cbc76fe557d38c259a993b7649a92c18a96295e4 | [
"MIT"
] | null | null | null | notebooks/src/__init__.py | ahmed14-cell/loan-prediction | cbc76fe557d38c259a993b7649a92c18a96295e4 | [
"MIT"
] | null | null | null | from .note import Experiment | 28 | 28 | 0.857143 | 4 | 28 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
442a5d41e35c28f51ed38e67e1d7198e2e98bafb | 47 | py | Python | lib/test.py | arghodaketech/tpass | 8e6160a1592e341442c33721b49bf022ac4bdad1 | [
"MIT"
] | null | null | null | lib/test.py | arghodaketech/tpass | 8e6160a1592e341442c33721b49bf022ac4bdad1 | [
"MIT"
] | null | null | null | lib/test.py | arghodaketech/tpass | 8e6160a1592e341442c33721b49bf022ac4bdad1 | [
"MIT"
] | null | null | null | #!/usr/bin/python3
import os
print(os.getcwd()) | 15.666667 | 18 | 0.723404 | 8 | 47 | 4.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.06383 | 47 | 3 | 19 | 15.666667 | 0.75 | 0.361702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
4434c3df200e94d25a479b0008f59fced2e0e8ae | 22,991 | py | Python | experiments/experiments_toy/test_varying_missing/nmtf_icm.py | ThomasBrouwer/BNMTF | 34df0c3cebc5e67a5e39762b9305b75d73a2a0e0 | [
"Apache-2.0"
] | 16 | 2017-04-19T12:04:47.000Z | 2021-12-03T00:50:43.000Z | experiments/experiments_toy/test_varying_missing/nmtf_icm.py | ThomasBrouwer/BNMTF | 34df0c3cebc5e67a5e39762b9305b75d73a2a0e0 | [
"Apache-2.0"
] | 1 | 2017-04-20T11:26:16.000Z | 2017-04-20T11:26:16.000Z | experiments/experiments_toy/test_varying_missing/nmtf_icm.py | ThomasBrouwer/BNMTF | 34df0c3cebc5e67a5e39762b9305b75d73a2a0e0 | [
"Apache-2.0"
] | 8 | 2015-12-15T05:29:43.000Z | 2019-06-05T03:14:11.000Z | """
Test the performance of ICM for recovering a toy dataset, where
we vary the fraction of entries that are missing.
We use the correct number of latent factors and same priors as used to generate the data.
I, J, K, L = 100, 50, 10, 5
"""
import sys, os
project_location = os.path.dirname(__file__)+"/../../../../"
... | 186.918699 | 11,691 | 0.811752 | 2,544 | 22,991 | 7.305031 | 0.450079 | 0.006888 | 0.003551 | 0.005811 | 0.029811 | 0.018618 | 0.013452 | 0.008825 | 0.008825 | 0.008825 | 0 | 0.756118 | 0.074029 | 22,991 | 123 | 11,692 | 186.918699 | 0.116821 | 0.025097 | 0 | 0.0625 | 1 | 0 | 0.116748 | 0.014941 | 0 | 0 | 0 | 0 | 0.03125 | 0 | null | null | 0 | 0.078125 | null | null | 0.046875 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4438be28fcc6e5d7896b155930bc2408ec67fee7 | 164 | py | Python | backend/controller/__init__.py | guchengxi1994/code-find | 0793f61643109250f01011eb500fb290e60accb6 | [
"MIT"
] | 1 | 2022-03-14T05:22:35.000Z | 2022-03-14T05:22:35.000Z | backend/controller/__init__.py | guchengxi1994/a-cool-flutter-app | 0793f61643109250f01011eb500fb290e60accb6 | [
"MIT"
] | null | null | null | backend/controller/__init__.py | guchengxi1994/a-cool-flutter-app | 0793f61643109250f01011eb500fb290e60accb6 | [
"MIT"
] | null | null | null | '''
Descripttion:
version:
Author: xiaoshuyui
email: guchengxi1994@qq.com
Date: 2022-04-10 12:51:01
LastEditors: xiaoshuyui
LastEditTime: 2022-04-10 12:51:01
'''
| 16.4 | 33 | 0.75 | 24 | 164 | 5.125 | 0.708333 | 0.097561 | 0.130081 | 0.162602 | 0.227642 | 0.227642 | 0 | 0 | 0 | 0 | 0 | 0.219178 | 0.109756 | 164 | 9 | 34 | 18.222222 | 0.623288 | 0.945122 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
448192972180918eeaa34e4824ed596747a0eb04 | 166 | py | Python | atomicqueue/exceptions.py | arossoshynskyy/atomic-queue | f638f1f5b7d20ab93de387e0fec25c0663ff56c5 | [
"MIT"
] | 4 | 2021-01-09T15:04:59.000Z | 2021-05-27T02:27:15.000Z | atomicqueue/exceptions.py | arossoshynskyy/atomic-queue | f638f1f5b7d20ab93de387e0fec25c0663ff56c5 | [
"MIT"
] | null | null | null | atomicqueue/exceptions.py | arossoshynskyy/atomic-queue | f638f1f5b7d20ab93de387e0fec25c0663ff56c5 | [
"MIT"
] | null | null | null | class NoEventProcessorsException(Exception):
pass
class InvalidWaitStrategyException(Exception):
pass
class InvalidCapacityException(Exception):
pass
| 15.090909 | 46 | 0.795181 | 12 | 166 | 11 | 0.5 | 0.295455 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150602 | 166 | 10 | 47 | 16.6 | 0.93617 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
92287a14996fd8abf8dfff61c3d7a8da45f8bcee | 25 | py | Python | pyir/__init__.py | sarangian/PyIR | f7e3dde8a13fd8af907bde0ef7c9d4de63361e3d | [
"CC-BY-4.0"
] | 32 | 2018-10-08T15:42:23.000Z | 2022-02-13T22:23:57.000Z | pyir/__init__.py | sarangian/PyIR | f7e3dde8a13fd8af907bde0ef7c9d4de63361e3d | [
"CC-BY-4.0"
] | 13 | 2019-04-17T23:26:00.000Z | 2021-12-31T03:12:54.000Z | pyir/__init__.py | sarangian/PyIR | f7e3dde8a13fd8af907bde0ef7c9d4de63361e3d | [
"CC-BY-4.0"
] | 15 | 2018-11-27T19:02:15.000Z | 2021-06-21T12:38:22.000Z | from .factory import PyIR | 25 | 25 | 0.84 | 4 | 25 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.954545 | 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 |
9239d27c9e6c66fc2a65731ca1a1ba5db7665e76 | 949 | py | Python | notification/migrations/0016_auto_20210703_2308.py | horacexd/clist | 9759dfea97b86514bec9825d2430abc36decacf0 | [
"Apache-2.0"
] | 166 | 2019-05-16T23:46:08.000Z | 2022-03-31T05:20:23.000Z | notification/migrations/0016_auto_20210703_2308.py | horacexd/clist | 9759dfea97b86514bec9825d2430abc36decacf0 | [
"Apache-2.0"
] | 92 | 2020-01-18T22:51:53.000Z | 2022-03-12T01:23:57.000Z | notification/migrations/0016_auto_20210703_2308.py | horacexd/clist | 9759dfea97b86514bec9825d2430abc36decacf0 | [
"Apache-2.0"
] | 23 | 2020-02-09T17:38:43.000Z | 2021-12-09T14:39:07.000Z | # Generated by Django 3.1.12 on 2021-07-03 23:08
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('notification', '0015_auto_20210308_1449'),
]
operations = [
migrations.AlterField(
model_name='notification',
name=... | 27.911765 | 73 | 0.586934 | 95 | 949 | 5.684211 | 0.4 | 0.148148 | 0.185185 | 0.214815 | 0.711111 | 0.711111 | 0.612963 | 0.612963 | 0.612963 | 0.612963 | 0 | 0.048265 | 0.30137 | 949 | 33 | 74 | 28.757576 | 0.766214 | 0.048472 | 0 | 0.740741 | 1 | 0 | 0.107658 | 0.025527 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037037 | 0 | 0.148148 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
923ed1e17272b0ed6dfdd4c11f2f3c7b1c9a34e0 | 186 | py | Python | bert/__init__.py | Feecely/fairseq_bertnmt | 86a97432ba27a44b4a5cb66a35569c8517fbc66d | [
"MIT"
] | null | null | null | bert/__init__.py | Feecely/fairseq_bertnmt | 86a97432ba27a44b4a5cb66a35569c8517fbc66d | [
"MIT"
] | null | null | null | bert/__init__.py | Feecely/fairseq_bertnmt | 86a97432ba27a44b4a5cb66a35569c8517fbc66d | [
"MIT"
] | null | null | null | from .tokenization import BasicTokenizer, BertTokenizer
from .modeling import BertModel, BertForMaskedLM, BertForSequenceClassification, BertForTokenClassification, BertForMultipleChoice | 93 | 130 | 0.897849 | 13 | 186 | 12.846154 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 186 | 2 | 130 | 93 | 0.95977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2b8ec6fad4d2fa44152071b089bcc907dd084d9e | 533 | py | Python | tests/test_wrap.py | adzenith/isort | 158b22e223dd13ca144237353b07947fd8e055ed | [
"MIT"
] | 1,587 | 2020-08-24T03:07:20.000Z | 2022-03-31T20:10:06.000Z | tests/test_wrap.py | adzenith/isort | 158b22e223dd13ca144237353b07947fd8e055ed | [
"MIT"
] | 446 | 2020-08-24T04:59:41.000Z | 2022-03-30T21:48:34.000Z | tests/test_wrap.py | adzenith/isort | 158b22e223dd13ca144237353b07947fd8e055ed | [
"MIT"
] | 170 | 2020-08-25T15:09:46.000Z | 2022-03-30T13:46:48.000Z | from isort import wrap
from isort.settings import Config
def test_import_statement():
assert wrap.import_statement("", [], []) == ""
assert (
wrap.import_statement("from x import ", ["y"], [], config=Config(balanced_wrapping=True))
== "from x import (y)"
)
assert (
wrap.import_... | 33.3125 | 97 | 0.613508 | 56 | 533 | 5.696429 | 0.321429 | 0.451411 | 0.601881 | 0.702194 | 0.557994 | 0.454545 | 0.250784 | 0.250784 | 0.250784 | 0 | 0 | 0.004914 | 0.236398 | 533 | 15 | 98 | 35.533333 | 0.77887 | 0 | 0 | 0.153846 | 0 | 0 | 0.360225 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 1 | 0.076923 | true | 0 | 0.615385 | 0 | 0.692308 | 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 |
2bbb9a85c223e784f628bac351701e6d23940d00 | 44 | py | Python | webcrawler/crawler/itempipelines/__init__.py | HansZimmer5000/LensComparison | e4d9b68211604c4569c4ca9b1e1b4fce2a8c1ea8 | [
"Apache-2.0"
] | null | null | null | webcrawler/crawler/itempipelines/__init__.py | HansZimmer5000/LensComparison | e4d9b68211604c4569c4ca9b1e1b4fce2a8c1ea8 | [
"Apache-2.0"
] | null | null | null | webcrawler/crawler/itempipelines/__init__.py | HansZimmer5000/LensComparison | e4d9b68211604c4569c4ca9b1e1b4fce2a8c1ea8 | [
"Apache-2.0"
] | null | null | null |
from .ghitempipeline import GhItemPipeline
| 14.666667 | 42 | 0.863636 | 4 | 44 | 9.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 44 | 2 | 43 | 22 | 0.974359 | 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 |
2bcce3d1e27cdcb7db80361f97f5a3af19a2039a | 153 | py | Python | satori/lib/apis/__init__.py | lastmeta/Satori | cb321ee53a15fe8cba8fcdd483eeb6acc8dab3ea | [
"MIT"
] | 3 | 2022-02-16T17:25:53.000Z | 2022-02-25T05:24:15.000Z | satori/lib/apis/__init__.py | lastmeta/Satori | cb321ee53a15fe8cba8fcdd483eeb6acc8dab3ea | [
"MIT"
] | 9 | 2022-02-16T20:23:55.000Z | 2022-03-26T17:27:23.000Z | satori/lib/apis/__init__.py | lastmeta/Satori | cb321ee53a15fe8cba8fcdd483eeb6acc8dab3ea | [
"MIT"
] | null | null | null | from .fx import fx
from .google import Google
from . import disk
from . import memory
from . import system
#from .disk import write, read, merge, gather
| 21.857143 | 45 | 0.75817 | 24 | 153 | 4.833333 | 0.458333 | 0.258621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 153 | 6 | 46 | 25.5 | 0.920635 | 0.287582 | 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 |
92021a95162ecd21999c40ce7345e88dd6dda93f | 129 | py | Python | lpulive/__init__.py | knight-byte/lpulive | 020f9592b85916ca3582e4b485c6dfe527414160 | [
"MIT"
] | 1 | 2021-05-25T08:19:03.000Z | 2021-05-25T08:19:03.000Z | lpulive/__init__.py | knight-byte/lpulive | 020f9592b85916ca3582e4b485c6dfe527414160 | [
"MIT"
] | null | null | null | lpulive/__init__.py | knight-byte/lpulive | 020f9592b85916ca3582e4b485c6dfe527414160 | [
"MIT"
] | 1 | 2021-05-25T08:19:12.000Z | 2021-05-25T08:19:12.000Z | '''
Author : knight_byte ( Abunachar )
File : __init__.py
'''
from .lpulive_main import *
from .lpulive_urls import *
| 16.125 | 38 | 0.651163 | 15 | 129 | 5.133333 | 0.8 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232558 | 129 | 7 | 39 | 18.428571 | 0.777778 | 0.488372 | 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 |
92120d3b0eb23708379b1ae8251b39bfbc12ce09 | 24 | py | Python | Modules/vms/statedef/statedef.py | vmssoftware/cpython | b5d2c7f578d33963798a02ca32f0c151c908aa7c | [
"0BSD"
] | 2 | 2021-10-06T15:46:53.000Z | 2022-01-26T02:58:54.000Z | Modules/vms/statedef/statedef.py | vmssoftware/cpython | b5d2c7f578d33963798a02ca32f0c151c908aa7c | [
"0BSD"
] | null | null | null | Modules/vms/statedef/statedef.py | vmssoftware/cpython | b5d2c7f578d33963798a02ca32f0c151c908aa7c | [
"0BSD"
] | null | null | null | from _statedef import *
| 12 | 23 | 0.791667 | 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 |
a60e6bd6cac0616b623df57b18b6921d6976e846 | 233 | py | Python | app/utils/filesystem_utils.py | namuan/task-rider | 4474bb1acde98a489f52834ad3b9705f3f6e7034 | [
"MIT"
] | 5 | 2020-01-25T00:47:38.000Z | 2021-11-09T11:05:14.000Z | app/utils/filesystem_utils.py | namuan/task-rider | 4474bb1acde98a489f52834ad3b9705f3f6e7034 | [
"MIT"
] | 11 | 2020-06-07T12:29:21.000Z | 2020-06-24T19:44:36.000Z | app/utils/filesystem_utils.py | namuan/orkestra | 83b67f7e816c94b75232691c14d91fd9d62213ed | [
"MIT"
] | null | null | null | from PyQt5.QtWidgets import QFileDialog
def open_file_dialog(parent, dialog_title, dialog_location, file_filter=None):
return QFileDialog.getOpenFileName(
parent, dialog_title, dialog_location, filter=file_filter
)
| 29.125 | 78 | 0.7897 | 28 | 233 | 6.285714 | 0.571429 | 0.136364 | 0.193182 | 0.261364 | 0.352273 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005025 | 0.145923 | 233 | 7 | 79 | 33.285714 | 0.879397 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
a61ed4b89c21ddc668ed6ca11d7c695a62e528c0 | 42 | py | Python | pepperonai/language/__init__.py | JonWiggins/pepperon.ai | 7162479dabb072cc125e707dc93785dff47dcb5b | [
"MIT"
] | 8 | 2019-09-30T03:41:10.000Z | 2021-05-30T22:18:17.000Z | pepperonai/language/__init__.py | JonWiggins/pepperon.ai | 7162479dabb072cc125e707dc93785dff47dcb5b | [
"MIT"
] | null | null | null | pepperonai/language/__init__.py | JonWiggins/pepperon.ai | 7162479dabb072cc125e707dc93785dff47dcb5b | [
"MIT"
] | 1 | 2020-04-13T16:12:43.000Z | 2020-04-13T16:12:43.000Z | from kgrams import *
from ngrams import *
| 14 | 20 | 0.761905 | 6 | 42 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 42 | 2 | 21 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a62fd441d664bb7cc27798a8039b1253732fc68e | 500 | py | Python | pyleecan/Methods/Slot/HoleM53/__init__.py | IrakozeFD/pyleecan | 5a93bd98755d880176c1ce8ac90f36ca1b907055 | [
"Apache-2.0"
] | 95 | 2019-01-23T04:19:45.000Z | 2022-03-17T18:22:10.000Z | pyleecan/Methods/Slot/HoleM53/__init__.py | IrakozeFD/pyleecan | 5a93bd98755d880176c1ce8ac90f36ca1b907055 | [
"Apache-2.0"
] | 366 | 2019-02-20T07:15:08.000Z | 2022-03-31T13:37:23.000Z | pyleecan/Methods/Slot/HoleM53/__init__.py | IrakozeFD/pyleecan | 5a93bd98755d880176c1ce8ac90f36ca1b907055 | [
"Apache-2.0"
] | 74 | 2019-01-24T01:47:31.000Z | 2022-02-25T05:44:42.000Z | # -*- coding: utf-8 -*-
from ....Methods.Slot.Slot import SlotCheckError
class Slot53InterError(SlotCheckError):
""" """
pass
class S53_NoneError(SlotCheckError):
"""Raised when a propery of HoleM53 is None"""
pass
class S53_Rext0CheckError(SlotCheckError):
""" """
pass
class S53_Rex... | 12.5 | 50 | 0.638 | 46 | 500 | 6.826087 | 0.543478 | 0.286624 | 0.191083 | 0.33121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048969 | 0.224 | 500 | 39 | 51 | 12.820513 | 0.760309 | 0.126 | 0 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.461538 | 0.076923 | 0 | 0.538462 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
a63c3d9470e575b5dda6ca40940f7fd5cc53654e | 4,419 | py | Python | tests/emm/services/test_validation_service.py | zamj/evg-module-manager | e6029edce023071847ef2ea25af89c31219f41f6 | [
"Apache-2.0"
] | null | null | null | tests/emm/services/test_validation_service.py | zamj/evg-module-manager | e6029edce023071847ef2ea25af89c31219f41f6 | [
"Apache-2.0"
] | 18 | 2021-11-19T16:43:39.000Z | 2022-03-31T20:02:20.000Z | tests/emm/services/test_validation_service.py | zamj/evg-module-manager | e6029edce023071847ef2ea25af89c31219f41f6 | [
"Apache-2.0"
] | 2 | 2021-11-09T16:02:57.000Z | 2022-02-09T18:35:24.000Z | """Unit tests for validation_service.py."""
from unittest.mock import MagicMock, patch
import pytest
from click import UsageError
import emm.services.validation_service as under_test
from emm.services.file_service import FileService
NAMESPACE = "emm.services.validation_service"
def ns(local_path: str) -> str:
... | 30.6875 | 79 | 0.746323 | 539 | 4,419 | 5.632653 | 0.137291 | 0.112319 | 0.118577 | 0.076087 | 0.779974 | 0.770751 | 0.770751 | 0.749671 | 0.730896 | 0.730896 | 0 | 0 | 0.182394 | 4,419 | 143 | 80 | 30.902098 | 0.840299 | 0.008373 | 0 | 0.744898 | 0 | 0 | 0.062386 | 0.041133 | 0 | 0 | 0 | 0 | 0.071429 | 1 | 0.142857 | false | 0 | 0.05102 | 0.010204 | 0.27551 | 0.010204 | 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 |
a6470a12607f3665d875c1d7dfba8f61b7580de2 | 30 | py | Python | __init__.py | Robinson04/serverlesspack | 271fdbc4bcc769a778e369b14e5f491360824512 | [
"MIT"
] | 1 | 2022-03-07T22:32:32.000Z | 2022-03-07T22:32:32.000Z | __init__.py | Robinson04/serverlesspack | 271fdbc4bcc769a778e369b14e5f491360824512 | [
"MIT"
] | 3 | 2021-03-01T19:12:46.000Z | 2021-05-09T11:09:27.000Z | __init__.py | Robinson04/serverlesspack | 271fdbc4bcc769a778e369b14e5f491360824512 | [
"MIT"
] | null | null | null | from .serverlesspack import *
| 15 | 29 | 0.8 | 3 | 30 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.923077 | 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 |
a6720a192f655fca9db322142303f3b4564ccd85 | 97 | py | Python | easy_mobile/sound.py | adam-mcdaniel/easy-mobile-2 | aca22dfcb9d484ce41e6e6316354babcb40f01c8 | [
"MIT"
] | null | null | null | easy_mobile/sound.py | adam-mcdaniel/easy-mobile-2 | aca22dfcb9d484ce41e6e6316354babcb40f01c8 | [
"MIT"
] | null | null | null | easy_mobile/sound.py | adam-mcdaniel/easy-mobile-2 | aca22dfcb9d484ce41e6e6316354babcb40f01c8 | [
"MIT"
] | null | null | null | from kivy.core.audio import SoundLoader
def Sound(path):
return SoundLoader.load(path)
| 16.166667 | 39 | 0.731959 | 13 | 97 | 5.461538 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185567 | 97 | 6 | 40 | 16.166667 | 0.898734 | 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 |
a6f4e6598d9786652473dc92cd05c430311bb0d4 | 26,292 | py | Python | tests/base/test_operators.py | ngodber/discretize | 2329c9e9552b5c05f40ebf62f0bb207267bd2f92 | [
"MIT"
] | 123 | 2017-01-09T04:59:25.000Z | 2022-03-29T08:06:43.000Z | tests/base/test_operators.py | ngodber/discretize | 2329c9e9552b5c05f40ebf62f0bb207267bd2f92 | [
"MIT"
] | 246 | 2017-01-09T17:20:12.000Z | 2022-03-01T22:05:20.000Z | tests/base/test_operators.py | ngodber/discretize | 2329c9e9552b5c05f40ebf62f0bb207267bd2f92 | [
"MIT"
] | 26 | 2018-03-27T19:24:46.000Z | 2021-11-11T20:28:09.000Z | import numpy as np
import unittest
import discretize
# Tolerance
TOL = 1e-14
np.random.seed(1)
MESHTYPES = [
"uniformTensorMesh",
# 'randomTensorMesh',
"uniformCurv",
"rotateCurv",
]
ORDERS = np.r_[2.0, 2.0, 2.0]
call2 = lambda fun, xyz: fun(xyz[:, 0], xyz[:, 1])
call3 = lambda fun, xyz: fun(xyz[:, 0... | 32.419236 | 86 | 0.554161 | 3,768 | 26,292 | 3.818737 | 0.072187 | 0.041351 | 0.025019 | 0.023768 | 0.872889 | 0.823754 | 0.7897 | 0.740427 | 0.728334 | 0.706442 | 0 | 0.028578 | 0.302602 | 26,292 | 810 | 87 | 32.459259 | 0.756163 | 0.023543 | 0 | 0.6375 | 0 | 0 | 0.04924 | 0.001637 | 0 | 0 | 0 | 0 | 0.01875 | 1 | 0.1 | false | 0.00625 | 0.004688 | 0 | 0.239063 | 0.003125 | 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 |
a6fb64bff1874aba2ff22f9200b2c2df319864fc | 80,151 | py | Python | scrape_conferences.py | supersciencegrl/website-tools | ad27e2fbdbcdd764b30379e14b69bd4861c3db72 | [
"MIT"
] | 1 | 2022-02-12T03:10:14.000Z | 2022-02-12T03:10:14.000Z | scrape_conferences.py | supersciencegrl/website-tools | ad27e2fbdbcdd764b30379e14b69bd4861c3db72 | [
"MIT"
] | null | null | null | scrape_conferences.py | supersciencegrl/website-tools | ad27e2fbdbcdd764b30379e14b69bd4861c3db72 | [
"MIT"
] | null | null | null | __author__ = "Nessa Carson"
__copyright__ = "Copyright 2020"
__version__ = "1.1"
__email__ = "nessa.carson@syngenta.com"
__status__ = "Production"
##import glob
##import html
import os
##import urllib.request
##import urllib.error
##import string
import threading
import time
##
##import openpyxl
##from openpyxl.styles... | 182.161364 | 64,323 | 0.875535 | 3,281 | 80,151 | 21.356903 | 0.593417 | 0.001927 | 0.002183 | 0.001427 | 0.037262 | 0.032452 | 0.029912 | 0.028813 | 0.026016 | 0.022434 | 0 | 0.096797 | 0.054959 | 80,151 | 439 | 64,324 | 182.57631 | 0.828281 | 0.008035 | 0 | 0.253521 | 0 | 0.011268 | 0.83826 | 0.811971 | 0 | 1 | 0 | 0 | 0 | 1 | 0.033803 | false | 0.008451 | 0.042254 | 0 | 0.098592 | 0.011268 | 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 |
47070d61b80e66c5377295546ba8df12f2b78e4f | 194 | py | Python | Image/__init__.py | olesmith/SmtC | dfae5097f02192b60aae05b9d02404fcfe893be3 | [
"CC0-1.0"
] | null | null | null | Image/__init__.py | olesmith/SmtC | dfae5097f02192b60aae05b9d02404fcfe893be3 | [
"CC0-1.0"
] | null | null | null | Image/__init__.py | olesmith/SmtC | dfae5097f02192b60aae05b9d02404fcfe893be3 | [
"CC0-1.0"
] | null | null | null | from Main import Image
from Colors import Image_Colors
from Fonts import Image_Fonts
from Draw import Image_Draw
from IO import Image_IO
from SVG import Image_SVG
| 24.25 | 34 | 0.716495 | 29 | 194 | 4.62069 | 0.310345 | 0.492537 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.283505 | 194 | 7 | 35 | 27.714286 | 0.964029 | 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 |
4710ce5641e6139b55157287e55b40fdb6b337e6 | 9,019 | py | Python | src/plotski/store/custom.py | lukasz-migas/plotski | c497f8d7a04590acc7e8a9c17e7bf757921f9733 | [
"MIT"
] | 1 | 2022-02-21T14:09:04.000Z | 2022-02-21T14:09:04.000Z | src/plotski/store/custom.py | lukasz-migas/plotski | c497f8d7a04590acc7e8a9c17e7bf757921f9733 | [
"MIT"
] | 1 | 2021-09-14T21:22:51.000Z | 2021-09-14T21:25:47.000Z | src/plotski/store/custom.py | lukasz-migas/plotski | c497f8d7a04590acc7e8a9c17e7bf757921f9733 | [
"MIT"
] | null | null | null | """Plot store."""
import typing as ty
import numpy as np
from bokeh.models import ColumnDataSource
from ..spectrum.custom import (
PlotButterflyMassSpectrum,
PlotButterflyMobilogram,
PlotCentroidMassSpectrum,
PlotMassSpectrum,
PlotMobilogram,
)
from . import PlotStore
class CustomPlotStore(PlotS... | 40.995455 | 120 | 0.613483 | 1,273 | 9,019 | 4.235664 | 0.10762 | 0.045438 | 0.030601 | 0.036165 | 0.862945 | 0.859607 | 0.859607 | 0.849777 | 0.849777 | 0.849777 | 0 | 0.003405 | 0.31611 | 9,019 | 219 | 121 | 41.182648 | 0.870785 | 0.553276 | 0 | 0.5 | 0 | 0 | 0.022059 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.092593 | false | 0 | 0.092593 | 0 | 0.296296 | 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 |
5b491330f1709efad7929cdbbf9b1c915a0e03e4 | 6,291 | py | Python | hexa/plugins/connector_dhis2/datacards.py | qgerome/openhexa-app | 8c9377b2ad972121d8e9575f5d52420212b52ed4 | [
"MIT"
] | 4 | 2021-07-19T12:53:21.000Z | 2022-01-26T17:45:02.000Z | hexa/plugins/connector_dhis2/datacards.py | qgerome/openhexa-app | 8c9377b2ad972121d8e9575f5d52420212b52ed4 | [
"MIT"
] | 20 | 2021-05-17T12:27:06.000Z | 2022-03-30T11:35:26.000Z | hexa/plugins/connector_dhis2/datacards.py | qgerome/openhexa-app | 8c9377b2ad972121d8e9575f5d52420212b52ed4 | [
"MIT"
] | 2 | 2021-09-07T04:19:59.000Z | 2022-02-08T15:33:29.000Z | from django.contrib.contenttypes.models import ContentType
from django.templatetags.static import static
from django.urls import reverse
from django.utils.translation import gettext_lazy as _
from hexa.catalog.datacards import OpenHexaMetaDataSection
from hexa.plugins.connector_dhis2.models import Instance
from hexa.u... | 33.822581 | 87 | 0.708472 | 666 | 6,291 | 6.524024 | 0.148649 | 0.082163 | 0.029919 | 0.027618 | 0.70702 | 0.70702 | 0.70702 | 0.70702 | 0.70702 | 0.70702 | 0 | 0.006554 | 0.17533 | 6,291 | 185 | 88 | 34.005405 | 0.830956 | 0 | 0 | 0.594406 | 0 | 0 | 0.227786 | 0.050072 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.048951 | 0.076923 | 0.797203 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
5b5b11c2c2c130294c73b83e766b9d3279bab4f6 | 153 | py | Python | Codewars/7kyu/going-to-the-cinema/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | 7 | 2017-09-20T16:40:39.000Z | 2021-08-31T18:15:08.000Z | Codewars/7kyu/going-to-the-cinema/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | Codewars/7kyu/going-to-the-cinema/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | # Python - 3.6.0
Test.describe('Movie')
Test.it('Basic tests')
Test.assert_equals(movie(500, 15, 0.9), 43)
Test.assert_equals(movie(100, 10, 0.95), 24)
| 21.857143 | 44 | 0.686275 | 29 | 153 | 3.551724 | 0.689655 | 0.194175 | 0.31068 | 0.407767 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160584 | 0.104575 | 153 | 6 | 45 | 25.5 | 0.591241 | 0.091503 | 0 | 0 | 0 | 0 | 0.116788 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5b74f3ff6478f244ce8c7614c7a9147611b78b0b | 65 | py | Python | pyhist/history/__init__.py | jgoodman8/pyhist | d86d19a4033d0d485db87379da38722f12beb28c | [
"Apache-2.0"
] | 18 | 2020-06-16T17:18:47.000Z | 2022-03-22T23:57:59.000Z | pyhist/history/__init__.py | jgoodman8/pyhist | d86d19a4033d0d485db87379da38722f12beb28c | [
"Apache-2.0"
] | 1 | 2020-10-10T08:41:40.000Z | 2020-11-05T13:20:12.000Z | pyhist/history/__init__.py | jgoodman8/pyhist | d86d19a4033d0d485db87379da38722f12beb28c | [
"Apache-2.0"
] | 1 | 2020-09-24T19:31:23.000Z | 2020-09-24T19:31:23.000Z | from .history import History
from .git_history import GitHistory
| 21.666667 | 35 | 0.846154 | 9 | 65 | 6 | 0.555556 | 0.481481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123077 | 65 | 2 | 36 | 32.5 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5b9d2d86cb634fc7df60ba95e96bd46f65cc97f7 | 47 | py | Python | modules/unit_tests/core/aaa/__init__.py | nursix/DRKCM | 09328289ff721c416494398aa751ff99906327cb | [
"MIT"
] | 3 | 2022-01-26T08:07:54.000Z | 2022-03-21T21:53:52.000Z | modules/unit_tests/core/aaa/__init__.py | nursix/eden-asp | e49f46cb6488918f8d5a163dcd5a900cd686978c | [
"MIT"
] | null | null | null | modules/unit_tests/core/aaa/__init__.py | nursix/eden-asp | e49f46cb6488918f8d5a163dcd5a900cd686978c | [
"MIT"
] | 1 | 2017-10-03T13:03:47.000Z | 2017-10-03T13:03:47.000Z | from .auth import *
from .permissions import *
| 15.666667 | 26 | 0.744681 | 6 | 47 | 5.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 47 | 2 | 27 | 23.5 | 0.897436 | 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 |
750368d2d57c70de6fd11490f6fe1e1c6a787c45 | 478 | py | Python | app/routes.py | ErdalDomi/doctorviz | 0d33885e467331484b4817f9f2c9bdda3e7a434d | [
"MIT"
] | null | null | null | app/routes.py | ErdalDomi/doctorviz | 0d33885e467331484b4817f9f2c9bdda3e7a434d | [
"MIT"
] | null | null | null | app/routes.py | ErdalDomi/doctorviz | 0d33885e467331484b4817f9f2c9bdda3e7a434d | [
"MIT"
] | null | null | null | from flask import render_template, flash, redirect, url_for
from app import app
from app.forms import LoginForm
@app.route('/')
@app.route('/index')
def index():
return render_template('main.html')
@app.route('/timeline')
def timeline():
return render_template('timeline.html')
@app.route('/medintake')
def ... | 20.782609 | 59 | 0.730126 | 60 | 478 | 5.716667 | 0.35 | 0.204082 | 0.233236 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121339 | 478 | 22 | 60 | 21.727273 | 0.816667 | 0 | 0 | 0 | 0 | 0 | 0.196653 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.1875 | 0.25 | 0.6875 | 0 | 0 | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
752e0cdff8972017efa89e62f251de5d866dbc11 | 401 | py | Python | lib/googlecloudsdk/third_party/apis/appengine/v1beta4/__init__.py | bopopescu/SDK | e6d9aaee2456f706d1d86e8ec2a41d146e33550d | [
"Apache-2.0"
] | null | null | null | lib/googlecloudsdk/third_party/apis/appengine/v1beta4/__init__.py | bopopescu/SDK | e6d9aaee2456f706d1d86e8ec2a41d146e33550d | [
"Apache-2.0"
] | null | null | null | lib/googlecloudsdk/third_party/apis/appengine/v1beta4/__init__.py | bopopescu/SDK | e6d9aaee2456f706d1d86e8ec2a41d146e33550d | [
"Apache-2.0"
] | 2 | 2020-11-04T03:08:21.000Z | 2020-11-05T08:14:41.000Z | """Common imports for generated appengine client library."""
# pylint:disable=wildcard-import
import pkgutil
from googlecloudsdk.third_party.apitools.base.py import *
from googlecloudsdk.third_party.apis.appengine.v1beta4.appengine_v1beta4_client import *
from googlecloudsdk.third_party.apis.appengine.v1beta4.appengi... | 36.454545 | 90 | 0.842893 | 49 | 401 | 6.489796 | 0.510204 | 0.201258 | 0.216981 | 0.264151 | 0.440252 | 0.440252 | 0.440252 | 0.440252 | 0.440252 | 0.440252 | 0 | 0.021563 | 0.074813 | 401 | 10 | 91 | 40.1 | 0.83558 | 0.214464 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7561539b290e5a09c5345359bfbc07876b401b38 | 35,025 | py | Python | mev/api/tests/test_user_operation_input.py | hsph-qbrc/mev-backend | c381800aa7d53d7256e89a4db5a0f9444264e9a6 | [
"MIT"
] | null | null | null | mev/api/tests/test_user_operation_input.py | hsph-qbrc/mev-backend | c381800aa7d53d7256e89a4db5a0f9444264e9a6 | [
"MIT"
] | null | null | null | mev/api/tests/test_user_operation_input.py | hsph-qbrc/mev-backend | c381800aa7d53d7256e89a4db5a0f9444264e9a6 | [
"MIT"
] | null | null | null | import unittest
import unittest.mock as mock
import os
import json
import copy
import uuid
import shutil
from collections import defaultdict
from django.core.exceptions import ImproperlyConfigured
from rest_framework.exceptions import ValidationError
from api.utilities.operations import read_operation_json
from api.d... | 39.937286 | 111 | 0.603198 | 4,170 | 35,025 | 4.804077 | 0.078417 | 0.026057 | 0.041931 | 0.043129 | 0.835072 | 0.827485 | 0.817651 | 0.797484 | 0.786652 | 0.779314 | 0 | 0.010239 | 0.308437 | 35,025 | 877 | 112 | 39.937286 | 0.816819 | 0.169764 | 0 | 0.679389 | 0 | 0 | 0.13201 | 0.019297 | 0 | 0 | 0 | 0 | 0.073282 | 1 | 0.018321 | false | 0 | 0.022901 | 0 | 0.042748 | 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 |
f3909ea783f823190fef4ec60e2244cf92cd12c5 | 582 | py | Python | free_game_notifier/factory.py | mtik00/steam-free-notifier | c3f5f8f14119f98f365fcf94813ea0d6bd0553f6 | [
"MIT"
] | 1 | 2021-01-27T04:44:44.000Z | 2021-01-27T04:44:44.000Z | free_game_notifier/factory.py | mtik00/steam-free-notifier | c3f5f8f14119f98f365fcf94813ea0d6bd0553f6 | [
"MIT"
] | null | null | null | free_game_notifier/factory.py | mtik00/steam-free-notifier | c3f5f8f14119f98f365fcf94813ea0d6bd0553f6 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
class ClassFactory:
def __init__(self):
self.mapping = {}
def register(self, key, obj):
self.mapping[key] = obj
def get(self, key):
if not (item := self.mapping.get(key)):
raise ValueError(f"Unknown mapping: '{key}'")
... | 20.068966 | 57 | 0.575601 | 72 | 582 | 4.541667 | 0.402778 | 0.235474 | 0.207951 | 0.192661 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004796 | 0.283505 | 582 | 28 | 58 | 20.785714 | 0.779377 | 0.073883 | 0 | 0 | 0 | 0 | 0.044693 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.411765 | false | 0 | 0 | 0.235294 | 0.764706 | 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 |
345f8bdf36eddc95c70bb77dab955db3ca772208 | 6,117 | py | Python | tests/category.py | matthewgehring/wptools | 788cdc2078696dacb14652d5f2ad098a585e4763 | [
"MIT"
] | 482 | 2015-04-13T23:43:42.000Z | 2022-03-31T14:44:50.000Z | tests/category.py | matthewgehring/wptools | 788cdc2078696dacb14652d5f2ad098a585e4763 | [
"MIT"
] | 168 | 2016-01-06T14:30:05.000Z | 2022-02-17T22:14:36.000Z | tests/category.py | matthewgehring/wptools | 788cdc2078696dacb14652d5f2ad098a585e4763 | [
"MIT"
] | 80 | 2015-05-03T18:10:58.000Z | 2022-02-17T22:54:25.000Z | # -*- coding:utf-8 -*-
query = 'https://en.wikipedia.org/w/api.php?action=query&list=categorymembers&cmlimit=500&cmtitle=Category%3AHuman_rights_by_issue&format=json'
response = r"""{"batchcomplete":"","query":{"categorymembers":[{"pageid":53206947,"ns":0,"title":"Academic freedom in the Middle East"},{"pageid":52982... | 611.7 | 5,832 | 0.696747 | 850 | 6,117 | 5.010588 | 0.303529 | 0.047899 | 0.12773 | 0.095797 | 0.272364 | 0.16788 | 0.123268 | 0.123268 | 0 | 0 | 0 | 0.136309 | 0.044139 | 6,117 | 9 | 5,833 | 679.666667 | 0.592099 | 0.00327 | 0 | 0 | 0 | 0.4 | 0.982116 | 0.816407 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1b24f8e4b4713f5d71d729f4a3a9458dd26082f8 | 29 | py | Python | fediverse/views/renderer/activity/Block.py | YuzuRyo61/CrossPlan | 7bdc9b688885cd2bcce8bdc1f4d65b225beeb122 | [
"MIT"
] | 8 | 2020-01-22T07:44:59.000Z | 2020-05-17T18:32:06.000Z | fediverse/views/renderer/activity/Block.py | YuzuRyo61/CrossPlan | 7bdc9b688885cd2bcce8bdc1f4d65b225beeb122 | [
"MIT"
] | 4 | 2021-03-19T08:17:48.000Z | 2021-06-10T19:53:08.000Z | fediverse/views/renderer/activity/Block.py | YuzuRyo61/CrossPlan | 7bdc9b688885cd2bcce8bdc1f4d65b225beeb122 | [
"MIT"
] | null | null | null |
def RenderBlock():
pass
| 7.25 | 18 | 0.62069 | 3 | 29 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.275862 | 29 | 3 | 19 | 9.666667 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
1b5761a1f9b61977b9248f71267012558d8bcc6a | 119 | py | Python | eig/__init__.py | anselmrothe/EIG | 2e5da26bb0552bcaf6f9656519c8167808f0f6cb | [
"MIT"
] | 3 | 2019-03-12T15:55:00.000Z | 2022-01-27T23:09:30.000Z | eig/__init__.py | anselmrothe/EIG | 2e5da26bb0552bcaf6f9656519c8167808f0f6cb | [
"MIT"
] | 1 | 2019-03-24T16:55:26.000Z | 2019-03-24T16:55:26.000Z | eig/__init__.py | anselmrothe/EIG | 2e5da26bb0552bcaf6f9656519c8167808f0f6cb | [
"MIT"
] | 2 | 2019-08-18T18:44:05.000Z | 2020-09-30T05:47:15.000Z | from .bayes import Bayes
from .context import Context
from .eig import compute_eig, compute_eig_basic, compute_eig_fast | 39.666667 | 65 | 0.848739 | 19 | 119 | 5.052632 | 0.421053 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109244 | 119 | 3 | 65 | 39.666667 | 0.90566 | 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 |
1b843df707bccb79557cd139c16b9fcc247806bf | 138 | py | Python | ogsom/__init__.py | LaiQE/OGSOM | 3eaab41fc9364f4655a7606df0b6193cad30de04 | [
"MIT"
] | 3 | 2021-09-15T07:06:35.000Z | 2021-12-08T15:07:12.000Z | ogsom/__init__.py | LaiQE/OGSOM | 3eaab41fc9364f4655a7606df0b6193cad30de04 | [
"MIT"
] | null | null | null | ogsom/__init__.py | LaiQE/OGSOM | 3eaab41fc9364f4655a7606df0b6193cad30de04 | [
"MIT"
] | null | null | null | '''
Description: In User Settings Edit
Author: Qianen
Date: 2021-09-13 06:51:17
LastEditTime: 2021-09-13 06:51:18
LastEditors: Qianen
'''
| 17.25 | 34 | 0.73913 | 23 | 138 | 4.434783 | 0.73913 | 0.117647 | 0.156863 | 0.196078 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0.231405 | 0.123188 | 138 | 7 | 35 | 19.714286 | 0.61157 | 0.934783 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1b9fb5aeef1985bf0deaf45172133445bb786719 | 139 | py | Python | baekjoon/10699.py | GihwanKim/Baekjoon | 52eb2bf80bb1243697858445e5b5e2d50d78be4e | [
"MIT"
] | null | null | null | baekjoon/10699.py | GihwanKim/Baekjoon | 52eb2bf80bb1243697858445e5b5e2d50d78be4e | [
"MIT"
] | null | null | null | baekjoon/10699.py | GihwanKim/Baekjoon | 52eb2bf80bb1243697858445e5b5e2d50d78be4e | [
"MIT"
] | null | null | null | """
10699 : 오늘 날짜
URL : https://www.acmicpc.net/problem/10699
Input :
Output :
2015-01-24
"""
print('2020-01-09')
| 13.9 | 47 | 0.532374 | 19 | 139 | 3.894737 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.262626 | 0.28777 | 139 | 9 | 48 | 15.444444 | 0.484848 | 0.640288 | 0 | 0 | 0 | 0 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
940cb7ba73b81b51f8c1e431366ab0b471c78f2c | 231 | py | Python | cruncher/services/servo_calibration.py | piofthings/piwars-2019 | ac0316f8ae3e62f685509ecb41c0562106c90279 | [
"MIT"
] | null | null | null | cruncher/services/servo_calibration.py | piofthings/piwars-2019 | ac0316f8ae3e62f685509ecb41c0562106c90279 | [
"MIT"
] | 31 | 2019-03-05T00:52:08.000Z | 2019-03-29T00:53:25.000Z | cruncher/services/servo_calibration.py | piofthings/piwars-2019 | ac0316f8ae3e62f685509ecb41c0562106c90279 | [
"MIT"
] | null | null | null |
class ServoCalibration():
"""Servo Calibration service on the Cruncher"""
def __init__(self, bt_server):
self.__bt_server = bt_server
def setupFrontLeft(self, data, callback):
self.__bt_server.send()
| 23.1 | 51 | 0.679654 | 27 | 231 | 5.37037 | 0.62963 | 0.22069 | 0.248276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21645 | 231 | 9 | 52 | 25.666667 | 0.801105 | 0.177489 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
941a38b739d0fa25eb6e9850d44af86e442b434c | 31 | py | Python | Assets/testpy.py | baranusluel/valores | ffc3ddfb1ae06ad3f7cf0717315eb2e273303ca6 | [
"MIT"
] | null | null | null | Assets/testpy.py | baranusluel/valores | ffc3ddfb1ae06ad3f7cf0717315eb2e273303ca6 | [
"MIT"
] | null | null | null | Assets/testpy.py | baranusluel/valores | ffc3ddfb1ae06ad3f7cf0717315eb2e273303ca6 | [
"MIT"
] | null | null | null | import sys
print("helloooo"); | 10.333333 | 18 | 0.709677 | 4 | 31 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 3 | 18 | 10.333333 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
847a3f87ab59ec99030879616b2785b1ba682aed | 96 | py | Python | simpleloadtest/__init__.py | orlevii/simple-loadtest | 4c7a18c5670638391ac312858a3bd13a7d5095c0 | [
"MIT"
] | null | null | null | simpleloadtest/__init__.py | orlevii/simple-loadtest | 4c7a18c5670638391ac312858a3bd13a7d5095c0 | [
"MIT"
] | null | null | null | simpleloadtest/__init__.py | orlevii/simple-loadtest | 4c7a18c5670638391ac312858a3bd13a7d5095c0 | [
"MIT"
] | null | null | null | from .strategies.fixed_time import FixedTime
from .strategies.payload_queue import PayloadQueue
| 32 | 50 | 0.875 | 12 | 96 | 6.833333 | 0.75 | 0.341463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 96 | 2 | 51 | 48 | 0.931818 | 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 |
84d5085101f8cb55187e2c706fc8aa75c85cbf07 | 3,403 | py | Python | spectrum/autism_prevalence_map/migrations/0005_auto_20180918_1733.py | simonsfoundation/spectrum-autism-prevalence-map | 9f9674087b1404e1c5526ef7958e2e6d1c4724d6 | [
"Apache-2.0"
] | null | null | null | spectrum/autism_prevalence_map/migrations/0005_auto_20180918_1733.py | simonsfoundation/spectrum-autism-prevalence-map | 9f9674087b1404e1c5526ef7958e2e6d1c4724d6 | [
"Apache-2.0"
] | 1 | 2021-12-07T03:27:08.000Z | 2021-12-07T03:27:08.000Z | spectrum/autism_prevalence_map/migrations/0005_auto_20180918_1733.py | simonsfoundation/spectrum-autism-prevalence-map | 9f9674087b1404e1c5526ef7958e2e6d1c4724d6 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.15 on 2018-09-18 17:33
from __future__ import unicode_literals
import datetime
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('autism_prevalence_map', '0004_auto_20180905_1834'),
]
operations =... | 35.082474 | 87 | 0.583309 | 339 | 3,403 | 5.613569 | 0.250737 | 0.07567 | 0.134524 | 0.170257 | 0.790857 | 0.765633 | 0.745665 | 0.745665 | 0.638466 | 0.638466 | 0 | 0.026756 | 0.297091 | 3,403 | 96 | 88 | 35.447917 | 0.768813 | 0.020276 | 0 | 0.674157 | 1 | 0 | 0.160913 | 0.082858 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.033708 | 0 | 0.067416 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 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 |
84fac428977490bde63d3bb60f8a580107375934 | 19,465 | py | Python | CanDI/structures/entity.py | GilbertLabUCSF/CanDI | 3ad73c30e9364d09f0372f3f4ff6a2791a440277 | [
"MIT"
] | 1 | 2020-05-22T03:00:46.000Z | 2020-05-22T03:00:46.000Z | CanDI/structures/entity.py | Yogiski/CanDI | 3ad73c30e9364d09f0372f3f4ff6a2791a440277 | [
"MIT"
] | 10 | 2021-04-13T15:25:30.000Z | 2022-03-19T16:39:45.000Z | CanDI/structures/entity.py | GilbertLabUCSF/CanDI | 3ad73c30e9364d09f0372f3f4ff6a2791a440277 | [
"MIT"
] | 1 | 2021-04-06T22:21:17.000Z | 2021-04-06T22:21:17.000Z | import pandas as pd
from CanDI.structures import handlers
class Entity(object):
"""
Entity is the parent class for all CanDI classes.
It's purpose is to provide a universal connection to the data for it's child classes.
It's methods are idiomatic functions for the various handlers that apply manipulat... | 48.907035 | 128 | 0.616234 | 2,499 | 19,465 | 4.736295 | 0.081633 | 0.019432 | 0.030754 | 0.037344 | 0.794525 | 0.780331 | 0.776445 | 0.769939 | 0.749578 | 0.741129 | 0 | 0.008963 | 0.317904 | 19,465 | 397 | 129 | 49.030227 | 0.882504 | 0.676085 | 0 | 0.184615 | 0 | 0 | 0.026743 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.030769 | 0 | 0.492308 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ca09b530358209e4c46c89f5a2b2cdff991cd5c0 | 180 | py | Python | apps/controllerx/core/integration/z2m.py | sreknob/controllerx | f5e4475dae93d171ba3056399378107df1d52fa5 | [
"MIT"
] | 1 | 2020-02-28T17:26:36.000Z | 2020-02-28T17:26:36.000Z | apps/controllerx/core/integration/z2m.py | sreknob/controllerx | f5e4475dae93d171ba3056399378107df1d52fa5 | [
"MIT"
] | null | null | null | apps/controllerx/core/integration/z2m.py | sreknob/controllerx | f5e4475dae93d171ba3056399378107df1d52fa5 | [
"MIT"
] | null | null | null | from core.integration import Integration
from core.integration.state import StateIntegration
class Z2MIntegration(StateIntegration):
def get_name(self):
return "z2m"
| 22.5 | 51 | 0.783333 | 20 | 180 | 7 | 0.7 | 0.114286 | 0.271429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013158 | 0.155556 | 180 | 7 | 52 | 25.714286 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0.016667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
ca5799af9d592d384e06a01088d9fd6851fc1491 | 370 | py | Python | openocd/test_quote.py | cdleonard/pyopenocd | d1c29f4c3b1c03cf48829c969e7f9eba3cbf6100 | [
"MIT"
] | 2 | 2021-01-08T07:57:07.000Z | 2021-11-11T13:32:20.000Z | openocd/test_quote.py | cdleonard/pyopenocd | d1c29f4c3b1c03cf48829c969e7f9eba3cbf6100 | [
"MIT"
] | null | null | null | openocd/test_quote.py | cdleonard/pyopenocd | d1c29f4c3b1c03cf48829c969e7f9eba3cbf6100 | [
"MIT"
] | 1 | 2021-07-04T19:07:31.000Z | 2021-07-04T19:07:31.000Z | from .tclrpc import tcl_quote_word
from .tclrpc import tcl_quote_cmd
def test_tcl_quote_simple_word():
assert(tcl_quote_word('a') == 'a')
def test_tcl_quote_word():
assert(tcl_quote_word('a"b') == '{a"b}')
def test_tcl_quote_word():
assert(tcl_quote_word('a"b') == '{a"b}')
def test_tcl_quote_list():
... | 24.666667 | 52 | 0.672973 | 65 | 370 | 3.446154 | 0.230769 | 0.357143 | 0.321429 | 0.267857 | 0.75 | 0.535714 | 0.433036 | 0.433036 | 0.433036 | 0.433036 | 0 | 0 | 0.140541 | 370 | 14 | 53 | 26.428571 | 0.704403 | 0 | 0 | 0.4 | 0 | 0 | 0.078378 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.4 | true | 0 | 0.2 | 0 | 0.6 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
ca62dbdee0822f8ec1d85fbf2cd1759f397042da | 345 | py | Python | rec_to_nwb/processing/validation/preprocessing_validation_summary.py | LorenFrankLab/rec_to_nwb | d0630f414662963ebbe23aedf8f3ce07628636bc | [
"Apache-2.0"
] | 1 | 2021-01-20T00:26:30.000Z | 2021-01-20T00:26:30.000Z | rec_to_nwb/processing/validation/preprocessing_validation_summary.py | LorenFrankLab/rec_to_nwb | d0630f414662963ebbe23aedf8f3ce07628636bc | [
"Apache-2.0"
] | 12 | 2020-11-13T01:36:32.000Z | 2022-01-23T20:35:55.000Z | rec_to_nwb/processing/validation/preprocessing_validation_summary.py | LorenFrankLab/rec_to_nwb | d0630f414662963ebbe23aedf8f3ce07628636bc | [
"Apache-2.0"
] | 3 | 2020-10-20T06:52:45.000Z | 2021-07-06T23:00:53.000Z | from rec_to_nwb.processing.validation.validation_summary import \
ValidationSummary
class PreprocessingValidationSummary(ValidationSummary):
def __init__(self, missing_preprocessing_data):
self.missing_preprocessing_data = missing_preprocessing_data
def is_valid(self):
return not self.mi... | 28.75 | 68 | 0.805797 | 36 | 345 | 7.277778 | 0.583333 | 0.305344 | 0.366412 | 0.320611 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144928 | 345 | 11 | 69 | 31.363636 | 0.888136 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 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 |
ca919737b6d9553288e7dec554ec5e7f281fb917 | 23 | py | Python | testgear/Espec/__init__.py | PhilippCo/testgear | 9dbf9c6e1028394375ccca6720d5be1854315f93 | [
"MIT"
] | 1 | 2021-08-25T15:16:57.000Z | 2021-08-25T15:16:57.000Z | testgear/Espec/__init__.py | PhilippCo/testgear | 9dbf9c6e1028394375ccca6720d5be1854315f93 | [
"MIT"
] | null | null | null | testgear/Espec/__init__.py | PhilippCo/testgear | 9dbf9c6e1028394375ccca6720d5be1854315f93 | [
"MIT"
] | null | null | null | from .PU4J import PU4J
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0.173913 | 23 | 1 | 23 | 23 | 0.842105 | 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 |
048f55bf3b040ce2ad768ddd0881d95e6c366f32 | 21 | py | Python | nlptoolkit/gec/models/__init__.py | Marcel-api/NLP_Toolkit | fb8371c8c0d9fc188bebef421e05a8d1b9697105 | [
"Apache-2.0"
] | 2 | 2020-09-26T11:20:13.000Z | 2021-09-17T13:15:48.000Z | nlptoolkit/gec/models/__init__.py | Marcel-api/NLP_Toolkit | fb8371c8c0d9fc188bebef421e05a8d1b9697105 | [
"Apache-2.0"
] | null | null | null | nlptoolkit/gec/models/__init__.py | Marcel-api/NLP_Toolkit | fb8371c8c0d9fc188bebef421e05a8d1b9697105 | [
"Apache-2.0"
] | 1 | 2021-03-11T21:14:24.000Z | 2021-03-11T21:14:24.000Z | from . import gector
| 10.5 | 20 | 0.761905 | 3 | 21 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
04a29160a76f2f2fb8dfc3c50f6b86524bdc6a4b | 244 | py | Python | tests/test_xnor.py | assasinitachi123/extra-boolean | 632bf238bd44df0a31be8fb970ed65f812dad166 | [
"MIT"
] | null | null | null | tests/test_xnor.py | assasinitachi123/extra-boolean | 632bf238bd44df0a31be8fb970ed65f812dad166 | [
"MIT"
] | 2 | 2021-04-01T12:07:06.000Z | 2021-04-01T12:30:17.000Z | tests/test_xnor.py | assasinitachi123/extra-boolean | 632bf238bd44df0a31be8fb970ed65f812dad166 | [
"MIT"
] | 3 | 2021-04-01T11:29:06.000Z | 2021-04-01T12:07:55.000Z | from extra_boolean import xnor
def test_xnor():
assert xnor(True, True) == True
assert xnor(False, True) == False
assert xnor(True, True, False, False) == True
assert xnor(True, True, True, False) == False
| 27.111111 | 48 | 0.610656 | 32 | 244 | 4.59375 | 0.3125 | 0.272109 | 0.285714 | 0.367347 | 0.29932 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.278689 | 244 | 8 | 49 | 30.5 | 0.835227 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.166667 | true | 0 | 0.166667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
04e98c3ed6f66850abd400541e2c2050148a6e64 | 296 | py | Python | flambe/cluster/instance/__init__.py | ethan-asapp/flambe | 70257167058c7b82ee39f74167a6161bd264ad18 | [
"MIT"
] | 148 | 2019-08-29T21:19:03.000Z | 2022-03-18T06:13:53.000Z | flambe/cluster/instance/__init__.py | cle-ros/flambe | 0dc2f5b2b286694defe8abf450fe5be9ae12c097 | [
"MIT"
] | 108 | 2019-09-03T14:36:10.000Z | 2020-05-13T15:53:14.000Z | flambe/cluster/instance/__init__.py | cle-ros/flambe | 0dc2f5b2b286694defe8abf450fe5be9ae12c097 | [
"MIT"
] | 21 | 2019-09-08T14:09:45.000Z | 2020-12-27T04:12:33.000Z | from flambe.cluster.instance.instance import Instance
from flambe.cluster.instance.instance import CPUFactoryInstance, GPUFactoryInstance
from flambe.cluster.instance.instance import OrchestratorInstance
__all__ = ['CPUFactoryInstance', 'GPUFactoryInstance', 'OrchestratorInstance', 'Instance']
| 49.333333 | 90 | 0.851351 | 27 | 296 | 9.185185 | 0.333333 | 0.120968 | 0.205645 | 0.302419 | 0.471774 | 0.471774 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067568 | 296 | 5 | 91 | 59.2 | 0.898551 | 0 | 0 | 0 | 0 | 0 | 0.216216 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f3ee0020cca0a0c3608c1e9c315c842e3fe99f0f | 38 | py | Python | app/events/__init__.py | josephmancuso/gbaleague-masonite2 | b3dd5ec3f20c07eaabcc3129b0c50379a946a82b | [
"MIT"
] | null | null | null | app/events/__init__.py | josephmancuso/gbaleague-masonite2 | b3dd5ec3f20c07eaabcc3129b0c50379a946a82b | [
"MIT"
] | 3 | 2018-07-25T17:36:43.000Z | 2020-01-06T18:52:51.000Z | app/events/__init__.py | josephmancuso/gbaleague-masonite2 | b3dd5ec3f20c07eaabcc3129b0c50379a946a82b | [
"MIT"
] | null | null | null | from .UserSignedUp import UserSignedUp | 38 | 38 | 0.894737 | 4 | 38 | 8.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.971429 | 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 |
6d1bf3aa6201ec4249fd97ca7e898febf717248c | 6,059 | py | Python | happ/tests/api/regular/test_users.py | Mafioso/happ-backend | 3a3a57add4ec55985cc37db79c71430ed78b1ee3 | [
"MIT"
] | 1 | 2017-10-22T06:12:33.000Z | 2017-10-22T06:12:33.000Z | happ/tests/api/regular/test_users.py | Mafioso/happ-backend | 3a3a57add4ec55985cc37db79c71430ed78b1ee3 | [
"MIT"
] | null | null | null | happ/tests/api/regular/test_users.py | Mafioso/happ-backend | 3a3a57add4ec55985cc37db79c71430ed78b1ee3 | [
"MIT"
] | null | null | null | from datetime import datetime
from rest_framework import status
from rest_framework.test import APISimpleTestCase
from rest_framework_jwt.settings import api_settings
from happ.models import User, Currency
from happ.factories import UserFactory, FileObjectFactory
from happ.tests import *
class Tests(APISimpleTestCa... | 31.889474 | 110 | 0.588546 | 679 | 6,059 | 5.083947 | 0.138439 | 0.052144 | 0.045191 | 0.070104 | 0.789977 | 0.785921 | 0.772596 | 0.756952 | 0.756952 | 0.754056 | 0 | 0.030783 | 0.281565 | 6,059 | 189 | 111 | 32.058201 | 0.762233 | 0.035814 | 0 | 0.678832 | 0 | 0 | 0.112222 | 0.013677 | 0 | 0 | 0 | 0 | 0.109489 | 1 | 0.043796 | false | 0.087591 | 0.051095 | 0 | 0.10219 | 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 |
6d40ed1df75da9a1fe6d591e79f3b5519fd483af | 203 | py | Python | atest/testdata/running/NonAsciiByteLibrary.py | phil-davis/robotframework | 4d4ce686cbe01e293bb86ea6ff34330e8c45fc43 | [
"ECL-2.0",
"Apache-2.0"
] | 7,073 | 2015-01-01T17:19:16.000Z | 2022-03-31T22:01:29.000Z | atest/testdata/running/NonAsciiByteLibrary.py | phil-davis/robotframework | 4d4ce686cbe01e293bb86ea6ff34330e8c45fc43 | [
"ECL-2.0",
"Apache-2.0"
] | 2,412 | 2015-01-02T09:29:05.000Z | 2022-03-31T13:10:46.000Z | atest/testdata/running/NonAsciiByteLibrary.py | phil-davis/robotframework | 4d4ce686cbe01e293bb86ea6ff34330e8c45fc43 | [
"ECL-2.0",
"Apache-2.0"
] | 2,298 | 2015-01-03T02:47:15.000Z | 2022-03-31T02:00:16.000Z | def in_exception():
raise Exception(b'hyv\xe4')
def in_return_value():
return b'ty\xf6paikka'
def in_message():
print(b'\xe4iti')
def in_multiline_message():
print(b'\xe4iti\nis\xe4')
| 16.916667 | 31 | 0.679803 | 31 | 203 | 4.258065 | 0.516129 | 0.151515 | 0.19697 | 0.287879 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.162562 | 203 | 11 | 32 | 18.454545 | 0.747059 | 0 | 0 | 0 | 0 | 0 | 0.20197 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.125 | 0.625 | 0.25 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
6d626467234f483a46d2a52448d2237f5550ded4 | 247 | py | Python | tests/test_fw.py | alphatwirl/atdelphes | c3a5fd235a2424c879d6e0b1c0ad4dd198d818bf | [
"BSD-3-Clause"
] | null | null | null | tests/test_fw.py | alphatwirl/atdelphes | c3a5fd235a2424c879d6e0b1c0ad4dd198d818bf | [
"BSD-3-Clause"
] | null | null | null | tests/test_fw.py | alphatwirl/atdelphes | c3a5fd235a2424c879d6e0b1c0ad4dd198d818bf | [
"BSD-3-Clause"
] | null | null | null | # Tai Sakuma <tai.sakuma@gmail.com>
from atdelphes import AtDelphes
##__________________________________________________________________||
def test_init():
AtDelphes()
##__________________________________________________________________||
| 22.454545 | 70 | 0.838057 | 14 | 247 | 5.285714 | 0.714286 | 0.243243 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08502 | 247 | 10 | 71 | 24.7 | 0.327434 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
ed9a2f0810efafd86dbf55f60481d6b9c36d9306 | 1,590 | py | Python | util/sort.py | glomerulus-lab/nonnegative_connectome | a52e417df85cb680e2abdb0459750697d8a67c10 | [
"MIT"
] | null | null | null | util/sort.py | glomerulus-lab/nonnegative_connectome | a52e417df85cb680e2abdb0459750697d8a67c10 | [
"MIT"
] | null | null | null | util/sort.py | glomerulus-lab/nonnegative_connectome | a52e417df85cb680e2abdb0459750697d8a67c10 | [
"MIT"
] | null | null | null | import numpy as np
import collections
import math
def sort_vals(key, vals):
'''
Returns sorted lists in ascending order with entries that remain paired by index, where key = log10(key).
Parameters:
key (list): list of values to be sorted on (act as dictionary key)
vals (list): list of v... | 31.176471 | 109 | 0.638994 | 240 | 1,590 | 4.183333 | 0.229167 | 0.079681 | 0.039841 | 0.063745 | 0.910359 | 0.910359 | 0.910359 | 0.910359 | 0.910359 | 0.910359 | 0 | 0.005957 | 0.261006 | 1,590 | 51 | 110 | 31.176471 | 0.848511 | 0.498113 | 0 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086957 | false | 0 | 0.130435 | 0 | 0.304348 | 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 |
eda423a6bfba426167c82608a7665895d0a702df | 7,402 | py | Python | scripts/irods/test/test_experimental_parallel_replication.py | JustinKyleJames/irods | 59e9db75200e95796ec51ec20eb3b185d9e4b5f5 | [
"BSD-3-Clause"
] | 333 | 2015-01-15T15:42:29.000Z | 2022-03-19T19:16:15.000Z | scripts/irods/test/test_experimental_parallel_replication.py | JustinKyleJames/irods | 59e9db75200e95796ec51ec20eb3b185d9e4b5f5 | [
"BSD-3-Clause"
] | 3,551 | 2015-01-02T19:55:40.000Z | 2022-03-31T21:24:56.000Z | scripts/irods/test/test_experimental_parallel_replication.py | JustinKyleJames/irods | 59e9db75200e95796ec51ec20eb3b185d9e4b5f5 | [
"BSD-3-Clause"
] | 148 | 2015-01-31T16:13:46.000Z | 2022-03-23T20:23:43.000Z | from __future__ import print_function
import sys
if sys.version_info >= (2, 7):
import unittest
else:
import unittest2 as unittest
import os
from .. import lib
from . import session
class TestParallelReplication(session.make_sessions_mixin([], []), unittest.TestCase):
def setUp(self):
super(TestPa... | 48.064935 | 181 | 0.549041 | 738 | 7,402 | 5.188347 | 0.143631 | 0.085662 | 0.133978 | 0.074432 | 0.830504 | 0.805171 | 0.741708 | 0.7041 | 0.7041 | 0.662053 | 0 | 0.004487 | 0.307484 | 7,402 | 153 | 182 | 48.379085 | 0.742489 | 0 | 0 | 0.661157 | 0 | 0 | 0.239022 | 0.043237 | 0 | 0 | 0 | 0 | 0.272727 | 1 | 0.049587 | false | 0.033058 | 0.057851 | 0 | 0.115702 | 0.033058 | 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 |
edbbc2912e554d914ae2bf6950d6455e67afdc49 | 83 | py | Python | la/farray/__init__.py | fhal/la | 5f537345ec7fd627fa4bf16cab3a3f4d5a72800c | [
"BSD-2-Clause"
] | 1 | 2015-01-30T19:49:19.000Z | 2015-01-30T19:49:19.000Z | la/farray/__init__.py | fhal/la | 5f537345ec7fd627fa4bf16cab3a3f4d5a72800c | [
"BSD-2-Clause"
] | null | null | null | la/farray/__init__.py | fhal/la | 5f537345ec7fd627fa4bf16cab3a3f4d5a72800c | [
"BSD-2-Clause"
] | null | null | null |
from misc import *
from normalize import *
from group import *
from move import *
| 13.833333 | 23 | 0.746988 | 12 | 83 | 5.166667 | 0.5 | 0.483871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204819 | 83 | 5 | 24 | 16.6 | 0.939394 | 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 |
edff1bdffc93a45f3847e97a796b1ad054460b71 | 94 | py | Python | color_contrast_calc/const/__init__.py | nico-hn/color_contrast_calc_py | 92cf9eecbd8e5d000f284ec786103cb719df6026 | [
"MIT"
] | 2 | 2020-10-01T11:50:30.000Z | 2020-10-11T20:59:06.000Z | color_contrast_calc/const/__init__.py | nico-hn/color_contrast_calc_py | 92cf9eecbd8e5d000f284ec786103cb719df6026 | [
"MIT"
] | null | null | null | color_contrast_calc/const/__init__.py | nico-hn/color_contrast_calc_py | 92cf9eecbd8e5d000f284ec786103cb719df6026 | [
"MIT"
] | 1 | 2019-06-18T02:08:06.000Z | 2019-06-18T02:08:06.000Z | '''Define constants for some color properties.
'''
from . import luminance
from . import rgb
| 15.666667 | 46 | 0.734043 | 12 | 94 | 5.75 | 0.833333 | 0.289855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 94 | 5 | 47 | 18.8 | 0.884615 | 0.457447 | 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 |
610743f59dc87544360d9e2e361fd21c9ec3baaf | 25,474 | py | Python | pythonx/tests/test_replace.py | ColinKennedy/vim-python-function-expander | 7fbaac0bdb6316177c85284052694175a2819638 | [
"MIT"
] | 20 | 2018-11-05T01:54:13.000Z | 2021-11-21T22:36:52.000Z | pythonx/tests/test_replace.py | ColinKennedy/vim-python-function-expander | 7fbaac0bdb6316177c85284052694175a2819638 | [
"MIT"
] | 3 | 2018-11-05T18:54:46.000Z | 2021-03-06T12:14:01.000Z | pythonx/tests/test_replace.py | ColinKennedy/vim-python-function-expander | 7fbaac0bdb6316177c85284052694175a2819638 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
'''A series of tests to make sure unused args are deleted correctly.'''
# IMPORT STANDARD LIBRARIES
import textwrap
import unittest
# IMPORT 'LOCAL' LIBRARIES
from python_function_expander.trimmer import trimmer
class _Common(unittest.TestCase):
'''A base class th... | 23.413603 | 95 | 0.408338 | 2,361 | 25,474 | 4.350275 | 0.086404 | 0.057249 | 0.09152 | 0.147989 | 0.84909 | 0.84909 | 0.84909 | 0.846656 | 0.839061 | 0.839061 | 0 | 0.015315 | 0.482217 | 25,474 | 1,087 | 96 | 23.435143 | 0.763381 | 0.100769 | 0 | 0.569149 | 0 | 0 | 0.004163 | 0 | 0 | 0 | 0 | 0 | 0.005319 | 1 | 0.154255 | false | 0 | 0.015957 | 0 | 0.196809 | 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 |
610ac388a7111c7041119267e56e34acff904b9a | 34 | py | Python | providers/__init__.py | histofyi/actions.histo.fyi | 77be1cd3f0f6990dd542995795d1fd7b6b4fec70 | [
"MIT"
] | null | null | null | providers/__init__.py | histofyi/actions.histo.fyi | 77be1cd3f0f6990dd542995795d1fd7b6b4fec70 | [
"MIT"
] | 4 | 2022-01-26T09:37:49.000Z | 2022-01-26T09:38:56.000Z | providers/__init__.py | histofyi/actions.histo.fyi | 77be1cd3f0f6990dd542995795d1fd7b6b4fec70 | [
"MIT"
] | null | null | null | from .innodb import innodbProvider | 34 | 34 | 0.882353 | 4 | 34 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 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 |
b65c9aa5cde80420be7b1e6464753108f666c6a6 | 70 | py | Python | model/__init__.py | trueto/mebert | 6ecb06bd4394dc8d1e6bd693b0eb175a8455eb93 | [
"Apache-2.0"
] | 37 | 2021-03-26T07:38:57.000Z | 2022-03-29T08:17:00.000Z | model/__init__.py | Decem-Y/medbert | 6ecb06bd4394dc8d1e6bd693b0eb175a8455eb93 | [
"Apache-2.0"
] | 4 | 2021-03-28T02:20:21.000Z | 2021-10-08T09:36:17.000Z | model/__init__.py | Decem-Y/medbert | 6ecb06bd4394dc8d1e6bd693b0eb175a8455eb93 | [
"Apache-2.0"
] | 3 | 2021-05-16T05:06:04.000Z | 2022-01-03T04:29:16.000Z | from .ner_model import NER_Model
from .classify_model import CLS_Model | 35 | 37 | 0.871429 | 12 | 70 | 4.75 | 0.5 | 0.280702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 70 | 2 | 37 | 35 | 0.904762 | 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 |
b66465527b89c8364bed2e217ee804b84c7ce9df | 195 | py | Python | utils/mixins.py | w4nd0/KMDB | 50defe78a60f52c6a6986b09650a56b6823941e7 | [
"MIT"
] | null | null | null | utils/mixins.py | w4nd0/KMDB | 50defe78a60f52c6a6986b09650a56b6823941e7 | [
"MIT"
] | null | null | null | utils/mixins.py | w4nd0/KMDB | 50defe78a60f52c6a6986b09650a56b6823941e7 | [
"MIT"
] | null | null | null | from rest_framework import mixins
from rest_framework.viewsets import GenericViewSet
class CreateUpdateViewSet(
mixins.UpdateModelMixin, mixins.CreateModelMixin, GenericViewSet
):
pass
| 21.666667 | 68 | 0.830769 | 19 | 195 | 8.421053 | 0.631579 | 0.1 | 0.2125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 195 | 8 | 69 | 24.375 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.333333 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
b6867dbfaf743f553e73e639cb4a74f448320089 | 31 | py | Python | base/constants/__init__.py | mevlanaayas/Skywalker | 48174024d05538a69b5dd8eec2ed581da82ae286 | [
"MIT"
] | null | null | null | base/constants/__init__.py | mevlanaayas/Skywalker | 48174024d05538a69b5dd8eec2ed581da82ae286 | [
"MIT"
] | null | null | null | base/constants/__init__.py | mevlanaayas/Skywalker | 48174024d05538a69b5dd8eec2ed581da82ae286 | [
"MIT"
] | null | null | null | from .error_constants import *
| 15.5 | 30 | 0.806452 | 4 | 31 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 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 |
fcc1ebbe0ca545e0bbef943455ba5f31ab640c46 | 417 | py | Python | views/area_media.py | Catsuko/Westward | 3c04df668f7e04ca45e622017ffa9dfe6d3c242c | [
"MIT"
] | 3 | 2019-12-22T22:44:43.000Z | 2020-02-11T11:14:10.000Z | views/area_media.py | Catsuko/Westward | 3c04df668f7e04ca45e622017ffa9dfe6d3c242c | [
"MIT"
] | null | null | null | views/area_media.py | Catsuko/Westward | 3c04df668f7e04ca45e622017ffa9dfe6d3c242c | [
"MIT"
] | null | null | null | class AreaMedia:
def with_area(self, area):
return self
def with_open_space(self, x, y):
return self
def with_wall(self, x, y):
return self
def with_actor(self, x, y, key):
return self
def with_ledge(self, x, y):
return self
def with_door(self, x, y)... | 17.375 | 52 | 0.582734 | 61 | 417 | 3.836066 | 0.295082 | 0.209402 | 0.333333 | 0.435897 | 0.393162 | 0.393162 | 0.393162 | 0 | 0 | 0 | 0 | 0 | 0.328537 | 417 | 23 | 53 | 18.130435 | 0.835714 | 0 | 0 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.466667 | false | 0 | 0 | 0.466667 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
fccfdb9ad6f4713f998de9469b9e1998bd39d623 | 24 | py | Python | File1.py | jacobxr/Python_test | e5baf6adf20f9e2335668d7d8bba4c9454fdc5dd | [
"Apache-2.0"
] | null | null | null | File1.py | jacobxr/Python_test | e5baf6adf20f9e2335668d7d8bba4c9454fdc5dd | [
"Apache-2.0"
] | null | null | null | File1.py | jacobxr/Python_test | e5baf6adf20f9e2335668d7d8bba4c9454fdc5dd | [
"Apache-2.0"
] | null | null | null | "This is file numbrr 1"
| 12 | 23 | 0.708333 | 5 | 24 | 3.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.208333 | 24 | 1 | 24 | 24 | 0.842105 | 0.875 | 0 | 0 | 0 | 0 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fce0d24dd39264c9b263c5ad49bbf894c6e641b5 | 118 | py | Python | tests/conftest.py | mozkzki/mediafile-organizer | 3040b194b67857e456dd129546c483bf3b038c22 | [
"MIT"
] | null | null | null | tests/conftest.py | mozkzki/mediafile-organizer | 3040b194b67857e456dd129546c483bf3b038c22 | [
"MIT"
] | 48 | 2021-09-25T22:13:26.000Z | 2022-03-29T02:11:37.000Z | tests/conftest.py | mozkzki/template-python | a7a08a8ddca99e7103e7adacea621be82342e595 | [
"MIT"
] | null | null | null | import sys
import os
sys.path.append(
os.path.abspath(os.path.dirname(os.path.abspath(__file__)) + "/../src/")
)
| 16.857143 | 76 | 0.677966 | 18 | 118 | 4.222222 | 0.5 | 0.236842 | 0.342105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118644 | 118 | 6 | 77 | 19.666667 | 0.730769 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
fce2b3a8d8e934ef82f34ba285768ca52ffed1d1 | 95 | py | Python | basepair/helpers/__init__.py | basepair/basepair-python | ce0e9a549e8eede9e55dc47a36ed4e9532607cff | [
"MIT"
] | 2 | 2015-09-14T00:45:45.000Z | 2021-08-13T16:45:25.000Z | basepair/helpers/__init__.py | basepair/basepair-python | ce0e9a549e8eede9e55dc47a36ed4e9532607cff | [
"MIT"
] | 12 | 2020-07-22T19:09:56.000Z | 2022-01-20T16:35:43.000Z | basepair/helpers/__init__.py | basepair/basepair-python | ce0e9a549e8eede9e55dc47a36ed4e9532607cff | [
"MIT"
] | 1 | 2022-02-23T15:27:31.000Z | 2022-02-23T15:27:31.000Z | from .eprint import eprint
from .nice_print import NicePrint
from .set_filter import SetFilter
| 23.75 | 33 | 0.842105 | 14 | 95 | 5.571429 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126316 | 95 | 3 | 34 | 31.666667 | 0.939759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
fce9d8024ee5357bce66d8f56988765b2aca060b | 311 | py | Python | api/swagger_server/models/__init__.py | Marcoror150/MSCS-Project | 18cf43df288d34b930ce0dd18dba67b41c4bd4c6 | [
"MIT"
] | null | null | null | api/swagger_server/models/__init__.py | Marcoror150/MSCS-Project | 18cf43df288d34b930ce0dd18dba67b41c4bd4c6 | [
"MIT"
] | 2 | 2019-12-28T05:31:10.000Z | 2021-06-02T03:24:49.000Z | api/swagger_server/models/__init__.py | Marcoror150/MSCS-Project | 18cf43df288d34b930ce0dd18dba67b41c4bd4c6 | [
"MIT"
] | null | null | null | # coding: utf-8
# flake8: noqa
from __future__ import absolute_import
# import models into model package
from swagger_server.models.accident import Accident
from swagger_server.models.api_response import ApiResponse
from swagger_server.models.data import Data
from swagger_server.models.vehicle import Vehicle
| 31.1 | 58 | 0.848875 | 44 | 311 | 5.772727 | 0.477273 | 0.173228 | 0.267717 | 0.362205 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007194 | 0.106109 | 311 | 9 | 59 | 34.555556 | 0.906475 | 0.189711 | 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 |
fceec967018d88a9231ebd77b6750fa0135d20fe | 169 | py | Python | lib/__init__.py | greymistcube/racing_game_ai | 7e5e6ec781eb3c98729d370cbcc0ab6ed053962f | [
"MIT"
] | null | null | null | lib/__init__.py | greymistcube/racing_game_ai | 7e5e6ec781eb3c98729d370cbcc0ab6ed053962f | [
"MIT"
] | null | null | null | lib/__init__.py | greymistcube/racing_game_ai | 7e5e6ec781eb3c98729d370cbcc0ab6ed053962f | [
"MIT"
] | null | null | null | import lib.common
from lib.core import Core
from lib.settings import Settings
from lib.display import Display
from lib.clock import Clock
from lib.events import Events
| 21.125 | 33 | 0.828402 | 28 | 169 | 5 | 0.321429 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136095 | 169 | 7 | 34 | 24.142857 | 0.958904 | 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 |
1e2c2e47d6de0aa12e7e5002b89532c08bb16efb | 29 | py | Python | python_src/success_baxter_tools/head/__init__.py | SUCCESS-MURI/success_baxter_tools | 5257805a37aee1d4f8ecb9901b670b4a870deb46 | [
"MIT"
] | 1 | 2020-08-29T09:44:21.000Z | 2020-08-29T09:44:21.000Z | python_src/success_baxter_tools/head/__init__.py | SUCCESS-MURI/success_baxter_tools | 5257805a37aee1d4f8ecb9901b670b4a870deb46 | [
"MIT"
] | null | null | null | python_src/success_baxter_tools/head/__init__.py | SUCCESS-MURI/success_baxter_tools | 5257805a37aee1d4f8ecb9901b670b4a870deb46 | [
"MIT"
] | null | null | null | from head_controller import * | 29 | 29 | 0.862069 | 4 | 29 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.923077 | 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 |
1e2d048fce405f5a972d6a7a1e1e49586cb89e33 | 1,707 | py | Python | composeml/tests/test_label_transforms/test_bin.py | flowersw/compose | d51a397988f4a9b78a489260b541d02d59a4d290 | [
"BSD-3-Clause"
] | 1 | 2021-04-22T00:48:21.000Z | 2021-04-22T00:48:21.000Z | composeml/tests/test_label_transforms/test_bin.py | flowersw/compose | d51a397988f4a9b78a489260b541d02d59a4d290 | [
"BSD-3-Clause"
] | 14 | 2021-03-04T19:27:33.000Z | 2022-03-07T01:00:50.000Z | composeml/tests/test_label_transforms/test_bin.py | flowersw/compose | d51a397988f4a9b78a489260b541d02d59a4d290 | [
"BSD-3-Clause"
] | null | null | null | import pandas as pd
from pytest import raises
def test_bins(labels):
given_labels = labels.bin(2)
transform = given_labels.transforms[0]
assert transform['transform'] == 'bin'
assert transform['bins'] == 2
assert transform['quantiles'] is False
assert transform['labels'] is None
assert tr... | 31.036364 | 64 | 0.674868 | 224 | 1,707 | 5.040179 | 0.276786 | 0.132861 | 0.069088 | 0.111603 | 0.806023 | 0.806023 | 0.806023 | 0.751107 | 0.751107 | 0.751107 | 0 | 0.078374 | 0.192736 | 1,707 | 54 | 65 | 31.611111 | 0.740929 | 0 | 0 | 0.619048 | 0 | 0 | 0.09256 | 0 | 0 | 0 | 0 | 0 | 0.309524 | 1 | 0.071429 | false | 0 | 0.047619 | 0 | 0.119048 | 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 |
1e8f94d20c0c05ff0570e7c6783b925e57233774 | 24,387 | py | Python | src/mcmc/all_params/burn_in_colour_allparams.py | MehnaazAsad/RESOLVE_Statistics | a7bdcc896ca2c51ab3417c46f07efe8c16825597 | [
"MIT"
] | 1 | 2020-02-22T02:18:55.000Z | 2020-02-22T02:18:55.000Z | src/mcmc/all_params/burn_in_colour_allparams.py | MehnaazAsad/RESOLVE_Statistics | a7bdcc896ca2c51ab3417c46f07efe8c16825597 | [
"MIT"
] | null | null | null | src/mcmc/all_params/burn_in_colour_allparams.py | MehnaazAsad/RESOLVE_Statistics | a7bdcc896ca2c51ab3417c46f07efe8c16825597 | [
"MIT"
] | 1 | 2020-02-22T02:27:49.000Z | 2020-02-22T02:27:49.000Z | """
{This script reads in the raw chain and plots times series for all parameters
in order to identify the burn-in}
"""
# Libs
from cosmo_utils.utils import work_paths as cwpaths
import matplotlib.pyplot as plt
from matplotlib import rc
import matplotlib
import pandas as pd
import numpy as np
import math
import os
_... | 43.626118 | 84 | 0.632427 | 3,964 | 24,387 | 3.662967 | 0.074924 | 0.041942 | 0.028926 | 0.035813 | 0.850482 | 0.836846 | 0.801928 | 0.795386 | 0.775413 | 0.775413 | 0 | 0.057909 | 0.192767 | 24,387 | 559 | 85 | 43.626118 | 0.679671 | 0.079797 | 0 | 0.679545 | 0 | 0 | 0.104298 | 0.007127 | 0 | 0 | 0 | 0.001789 | 0 | 1 | 0.002273 | false | 0 | 0.018182 | 0 | 0.022727 | 0.002273 | 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 |
1ea30e174be2b530998a8beffcc109a1190b9a86 | 39 | py | Python | test/actions/conftest.py | ushahidi/deployment-director | 1a3c4b05d1ffb8b19efad0563df4fa9a9732853e | [
"MIT"
] | null | null | null | test/actions/conftest.py | ushahidi/deployment-director | 1a3c4b05d1ffb8b19efad0563df4fa9a9732853e | [
"MIT"
] | 1 | 2017-10-18T10:11:36.000Z | 2017-10-20T16:51:25.000Z | test/actions/conftest.py | ushahidi/deployment-director | 1a3c4b05d1ffb8b19efad0563df4fa9a9732853e | [
"MIT"
] | null | null | null | from ..context.fixtures import context
| 19.5 | 38 | 0.820513 | 5 | 39 | 6.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.914286 | 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 |
1ea45cfdf2b3d8b2988faf2b3f3ca80bc6420a4f | 82 | py | Python | lib/optimizers/__init__.py | wanghm92/Singlish_parser_tf0.12 | 06e28922ab54f57ade7fb8518ab4d3132286cd01 | [
"MIT"
] | 18 | 2017-05-17T13:51:08.000Z | 2021-06-13T14:34:42.000Z | lib/optimizers/__init__.py | wanghm92/Singlish_parser_tf0.12 | 06e28922ab54f57ade7fb8518ab4d3132286cd01 | [
"MIT"
] | 1 | 2019-03-15T05:39:49.000Z | 2019-03-15T06:49:20.000Z | lib/optimizers/__init__.py | wanghm92/Singlish_parser_tf0.12 | 06e28922ab54f57ade7fb8518ab4d3132286cd01 | [
"MIT"
] | 7 | 2018-04-24T11:25:03.000Z | 2021-03-21T16:41:42.000Z | from sgd_optimizer import SGDOptimizer
from radam_optimizer import RadamOptimizer | 41 | 42 | 0.902439 | 10 | 82 | 7.2 | 0.7 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 82 | 2 | 42 | 41 | 0.972973 | 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 |
1ee1b48c9bfd1f46ac11aa516f2645ccd3b0e96f | 93 | py | Python | keepachangelog/__init__.py | aogier/keepachangelog | 9c3f8adf9a00f64c2ebde450f162ceffa81db3b2 | [
"MIT"
] | null | null | null | keepachangelog/__init__.py | aogier/keepachangelog | 9c3f8adf9a00f64c2ebde450f162ceffa81db3b2 | [
"MIT"
] | null | null | null | keepachangelog/__init__.py | aogier/keepachangelog | 9c3f8adf9a00f64c2ebde450f162ceffa81db3b2 | [
"MIT"
] | null | null | null | from keepachangelog.version import __version__
from keepachangelog._changelog import to_dict
| 31 | 46 | 0.892473 | 11 | 93 | 7 | 0.636364 | 0.467532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086022 | 93 | 2 | 47 | 46.5 | 0.905882 | 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 |
94f1af7d62bf8eccbef38df9d3a442aef051e09f | 7,265 | py | Python | tests/test_transformers.py | maxzheng/data-tools | c3aadecfdb2c8bc5a329d82e6ab66a640632e69e | [
"MIT"
] | null | null | null | tests/test_transformers.py | maxzheng/data-tools | c3aadecfdb2c8bc5a329d82e6ab66a640632e69e | [
"MIT"
] | null | null | null | tests/test_transformers.py | maxzheng/data-tools | c3aadecfdb2c8bc5a329d82e6ab66a640632e69e | [
"MIT"
] | null | null | null | import json
import gzip
import os
import pytest
from utils.fs import in_temp_dir
from confluent.data.transformers import Transformer, transform_usage_metrics
from confluent.data.scripts import transform
@pytest.fixture
def mock_data():
with in_temp_dir():
os.mkdir('data')
with gzip.open('data/te... | 44.845679 | 117 | 0.577151 | 821 | 7,265 | 4.947625 | 0.190012 | 0.029542 | 0.051699 | 0.044313 | 0.815116 | 0.815116 | 0.815116 | 0.815116 | 0.806499 | 0.784343 | 0 | 0.022334 | 0.291259 | 7,265 | 161 | 118 | 45.124224 | 0.766557 | 0.022299 | 0 | 0.577236 | 0 | 0.00813 | 0.342443 | 0.091844 | 0 | 0 | 0 | 0 | 0.252033 | 1 | 0.04878 | false | 0 | 0.056911 | 0 | 0.105691 | 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 |
bf4d75262a71169d8f17a673449ea0c4698265f1 | 1,872 | py | Python | pycones/blog/migrations/0003_auto_20150626_0943.py | python-spain/PyConES2015 | af78ad7f1d7df747a2f5428be87a5b061457dd24 | [
"MIT"
] | null | null | null | pycones/blog/migrations/0003_auto_20150626_0943.py | python-spain/PyConES2015 | af78ad7f1d7df747a2f5428be87a5b061457dd24 | [
"MIT"
] | null | null | null | pycones/blog/migrations/0003_auto_20150626_0943.py | python-spain/PyConES2015 | af78ad7f1d7df747a2f5428be87a5b061457dd24 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('blog', '0002_auto_20150505_1927'),
]
operations = [
migrations.RemoveField(
model_name='post',
name=... | 24.96 | 44 | 0.50641 | 154 | 1,872 | 5.831169 | 0.220779 | 0.35078 | 0.434298 | 0.501114 | 0.826281 | 0.826281 | 0.826281 | 0.573497 | 0.122494 | 0 | 0 | 0.014693 | 0.381944 | 1,872 | 74 | 45 | 25.297297 | 0.761452 | 0.011218 | 0 | 0.661765 | 0 | 0 | 0.15576 | 0.048134 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.029412 | 0 | 0.073529 | 0 | 0 | 0 | 0 | null | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bf7e15fc2420d29b572583b212579b864b328111 | 24 | py | Python | peaklist.py | oaxiom/glbase3 | 9d3fc1efaad58ffb97e5b8126c2a96802daf9bac | [
"MIT"
] | 8 | 2019-06-11T02:13:20.000Z | 2022-02-22T09:27:23.000Z | peaklist.py | JackNg88/glbase3 | 4af190d06b89ef360dcba201d9e4e81f41ef8379 | [
"MIT"
] | 6 | 2020-12-18T15:08:14.000Z | 2021-05-22T00:31:57.000Z | peaklist.py | JackNg88/glbase3 | 4af190d06b89ef360dcba201d9e4e81f41ef8379 | [
"MIT"
] | 2 | 2020-05-06T04:27:03.000Z | 2022-02-22T09:28:25.000Z | """
Deprecated
"""
pass | 4.8 | 10 | 0.583333 | 2 | 24 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 5 | 11 | 4.8 | 0.7 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
bfb407ff8f2644979d7f20ebf7940343b82f8fc0 | 85 | py | Python | network_anomaly/code/Basic_features/Protocol_type.py | kidrabit/Data-Visualization-Lab-RND | baa19ee4e9f3422a052794e50791495632290b36 | [
"Apache-2.0"
] | 1 | 2022-01-18T01:53:34.000Z | 2022-01-18T01:53:34.000Z | network_anomaly/code/Basic_features/Protocol_type.py | kidrabit/Data-Visualization-Lab-RND | baa19ee4e9f3422a052794e50791495632290b36 | [
"Apache-2.0"
] | null | null | null | network_anomaly/code/Basic_features/Protocol_type.py | kidrabit/Data-Visualization-Lab-RND | baa19ee4e9f3422a052794e50791495632290b36 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
def Protocol_type(new_data):
return new_data['PROTOCOL'] | 21.25 | 31 | 0.658824 | 12 | 85 | 4.416667 | 0.75 | 0.264151 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013889 | 0.152941 | 85 | 4 | 31 | 21.25 | 0.722222 | 0.247059 | 0 | 0 | 0 | 0 | 0.126984 | 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 |
44f17f6966c3135f1deadc0e8b6ab97a4985d202 | 119 | py | Python | Section 2/2.3 Start/enrollment/application/routes.py | chenjianAgain/Full-Stack-Web-Development-with-Flask | e110b0b649c19a9fd11ae70311cbf03727640921 | [
"MIT"
] | 14 | 2019-10-24T16:14:29.000Z | 2021-12-29T16:44:21.000Z | Section 2/2.3 Start/enrollment/application/routes.py | chenjianAgain/Full-Stack-Web-Development-with-Flask | e110b0b649c19a9fd11ae70311cbf03727640921 | [
"MIT"
] | 6 | 2019-10-03T08:03:00.000Z | 2021-08-14T12:36:11.000Z | Section 2/2.3 Start/enrollment/application/routes.py | chenjianAgain/Full-Stack-Web-Development-with-Flask | e110b0b649c19a9fd11ae70311cbf03727640921 | [
"MIT"
] | 29 | 2019-03-31T00:19:44.000Z | 2022-02-07T11:12:24.000Z | from application import app
@app.route("/")
@app.route("/index")
def index():
return "<h1>Hello Earth!!</h1>" | 19.833333 | 35 | 0.613445 | 16 | 119 | 4.5625 | 0.6875 | 0.219178 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020202 | 0.168067 | 119 | 6 | 35 | 19.833333 | 0.717172 | 0 | 0 | 0 | 0 | 0 | 0.252174 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0.2 | 0.6 | 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 | 0 | 1 | 1 | 0 | 0 | 6 |
7848ef79dfbd146ff8be9cc55d925feaf2f9db91 | 2,180 | py | Python | symgp/superexpressions/supermatbase.py | jna29/SymGP | dd909feb51cb38e6eb70dee7fc3bd430dddf1b78 | [
"MIT"
] | 2 | 2017-06-07T14:54:07.000Z | 2021-08-30T20:01:43.000Z | symgp/superexpressions/supermatbase.py | jna29/SymGP | dd909feb51cb38e6eb70dee7fc3bd430dddf1b78 | [
"MIT"
] | 1 | 2017-06-07T16:19:54.000Z | 2017-06-07T20:39:30.000Z | symgp/superexpressions/supermatbase.py | jna29/SymGP | dd909feb51cb38e6eb70dee7fc3bd430dddf1b78 | [
"MIT"
] | null | null | null | from sympy import S, MatMul
from sympy.core.decorators import call_highest_priority
class SuperMatBase(object):
"""
The Base class for the redefined matrix symbols we have here
"""
def __neg__(self):
from .supermatmul import SuperMatMul
return SuperMatMul(S.NegativeOne, self).d... | 29.066667 | 68 | 0.640367 | 225 | 2,180 | 5.804444 | 0.2 | 0.096478 | 0.130934 | 0.123277 | 0.743492 | 0.743492 | 0.709035 | 0.709035 | 0.709035 | 0.709035 | 0 | 0 | 0.26422 | 2,180 | 74 | 69 | 29.459459 | 0.814214 | 0.027523 | 0 | 0.557692 | 0 | 0 | 0.028571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.192308 | false | 0 | 0.211538 | 0 | 0.673077 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
786dca7a33e8be87dc55c5e4b9c39eea96086f1b | 33 | py | Python | pretorched/data/datasets/__init__.py | schwettmann/pretorched-x | ce8c3712434b3cd5d85dcbe8582ff51ddfa7d4ed | [
"MIT"
] | null | null | null | pretorched/data/datasets/__init__.py | schwettmann/pretorched-x | ce8c3712434b3cd5d85dcbe8582ff51ddfa7d4ed | [
"MIT"
] | null | null | null | pretorched/data/datasets/__init__.py | schwettmann/pretorched-x | ce8c3712434b3cd5d85dcbe8582ff51ddfa7d4ed | [
"MIT"
] | null | null | null | from torchvideo.datasets import * | 33 | 33 | 0.848485 | 4 | 33 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 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 |
1530b0634551ad811fbf2a525f1229dc0c4caf0b | 109 | py | Python | model/__init__.py | diogocs1/facebookexplorer | dd95f635851a80f055cd3dcfd14908277ef108f5 | [
"Apache-2.0"
] | null | null | null | model/__init__.py | diogocs1/facebookexplorer | dd95f635851a80f055cd3dcfd14908277ef108f5 | [
"Apache-2.0"
] | null | null | null | model/__init__.py | diogocs1/facebookexplorer | dd95f635851a80f055cd3dcfd14908277ef108f5 | [
"Apache-2.0"
] | null | null | null | from utils import Utils
import profile
import feed
db = Utils.banco
db.generate_mapping(create_tables=True) | 15.571429 | 39 | 0.825688 | 17 | 109 | 5.176471 | 0.705882 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119266 | 109 | 7 | 39 | 15.571429 | 0.916667 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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.