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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0d0dd4c0611092a20d1208573c87e7e9705f65ea | 193 | py | Python | cliente/admin.py | cor14095/backGaresa | 6dffcff513c1812a88315d16303b90996f6b98d7 | [
"MIT"
] | null | null | null | cliente/admin.py | cor14095/backGaresa | 6dffcff513c1812a88315d16303b90996f6b98d7 | [
"MIT"
] | null | null | null | cliente/admin.py | cor14095/backGaresa | 6dffcff513c1812a88315d16303b90996f6b98d7 | [
"MIT"
] | 1 | 2021-08-09T00:55:17.000Z | 2021-08-09T00:55:17.000Z | from .models import Client
from import_export.admin import ImportExportModelAdmin
from django.contrib import admin
@admin.register(Client)
class ClientAdmin(ImportExportModelAdmin):
pass
| 21.444444 | 54 | 0.834197 | 22 | 193 | 7.272727 | 0.590909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11399 | 193 | 8 | 55 | 24.125 | 0.935673 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.666667 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
b49a0a72cd0b5394c310beefd8331f71f5f9d6d4 | 373 | py | Python | wordmarker/creatives/__init__.py | lostblackknight/wordmarker | cbdfd6b6d5ae8c48b11825afcf86afe9f7386a48 | [
"MIT"
] | 2 | 2021-04-19T14:26:24.000Z | 2021-05-01T14:59:20.000Z | wordmarker/creatives/__init__.py | lostblackknight/wordmarker | cbdfd6b6d5ae8c48b11825afcf86afe9f7386a48 | [
"MIT"
] | null | null | null | wordmarker/creatives/__init__.py | lostblackknight/wordmarker | cbdfd6b6d5ae8c48b11825afcf86afe9f7386a48 | [
"MIT"
] | null | null | null | """
:作者: 陈思祥
:时间: 2021年4月
:概述:
当前模块使用工厂和生成器模式来管理对象的创建。
1. ``wordmarker.creatives.factory``
::
工厂模块。
2. ``wordmarker.creatives.builder``
::
生成器模块。
"""
from wordmarker.creatives.factory import BeanFactory
from wordmarker.creatives.factory import FactoryBean
from... | 15.541667 | 56 | 0.659517 | 34 | 373 | 7.235294 | 0.558824 | 0.386179 | 0.317073 | 0.243902 | 0.292683 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024561 | 0.235925 | 373 | 23 | 57 | 16.217391 | 0.838596 | 0.538874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b49a1855480ee2d45e2508e9330cb04e4f32af26 | 295 | py | Python | {{ cookiecutter.app_name }}/admin.py | epicserve/cookiecutter-django-base-app | 789afe726d2a14d980fb270147bfdc95c23df4bc | [
"BSD-3-Clause"
] | 1 | 2015-01-05T06:52:41.000Z | 2015-01-05T06:52:41.000Z | {{ cookiecutter.app_name }}/admin.py | epicserve/cookiecutter-django-base-app | 789afe726d2a14d980fb270147bfdc95c23df4bc | [
"BSD-3-Clause"
] | null | null | null | {{ cookiecutter.app_name }}/admin.py | epicserve/cookiecutter-django-base-app | 789afe726d2a14d980fb270147bfdc95c23df4bc | [
"BSD-3-Clause"
] | null | null | null | from django.contrib import admin
from .models import {{ cookiecutter.model_name }}
class {{ cookiecutter.model_name }}Admin(admin.ModelAdmin):
list_display = ('title', )
search_fields = ('title', )
admin.site.register({{ cookiecutter.model_name }}, {{ cookiecutter.model_name }}Admin)
| 32.777778 | 86 | 0.725424 | 34 | 295 | 6.117647 | 0.529412 | 0.326923 | 0.403846 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128814 | 295 | 8 | 87 | 36.875 | 0.809339 | 0 | 0 | 0 | 0 | 0 | 0.033898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b49d77be8f4cf3f0e2b4183d80a1f435d2e66fc0 | 12,780 | py | Python | powerbi/push_datasets.py | salvaguardia/power-bi-python-api | e8ae210075486e03d1a7d518e71ed81be807a393 | [
"MIT"
] | 17 | 2021-05-26T01:08:38.000Z | 2022-03-05T00:36:23.000Z | powerbi/push_datasets.py | salvaguardia/power-bi-python-api | e8ae210075486e03d1a7d518e71ed81be807a393 | [
"MIT"
] | 3 | 2021-11-15T22:45:51.000Z | 2022-03-18T17:32:35.000Z | powerbi/push_datasets.py | salvaguardia/power-bi-python-api | e8ae210075486e03d1a7d518e71ed81be807a393 | [
"MIT"
] | 8 | 2021-04-05T03:27:21.000Z | 2022-01-18T10:38:48.000Z | import json
from typing import Dict
from typing import Union
from powerbi.utils import Dataset
from powerbi.utils import Table
from powerbi.utils import PowerBiEncoder
from powerbi.session import PowerBiSession
class PushDatasets():
def __init__(self, session: object) -> None:
"""Initializes the `PushDa... | 29.178082 | 125 | 0.532551 | 1,285 | 12,780 | 5.085603 | 0.103502 | 0.055088 | 0.061056 | 0.040398 | 0.920275 | 0.918592 | 0.91798 | 0.89977 | 0.89977 | 0.874063 | 0 | 0.038616 | 0.3759 | 12,780 | 437 | 126 | 29.244851 | 0.780717 | 0.507433 | 0 | 0.568627 | 0 | 0 | 0.145738 | 0.134739 | 0 | 0 | 0 | 0 | 0 | 1 | 0.107843 | false | 0 | 0.068627 | 0 | 0.284314 | 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 |
b4c39ae4f854739d6f11919b112f62f641568a72 | 113,422 | py | Python | eZmaxApi/api/object_ezsigndocument_api.py | ezmaxinc/eZmax-SDK-python | 6794b8001abfb7d9ae18a3b87aba164839b925a0 | [
"MIT"
] | null | null | null | eZmaxApi/api/object_ezsigndocument_api.py | ezmaxinc/eZmax-SDK-python | 6794b8001abfb7d9ae18a3b87aba164839b925a0 | [
"MIT"
] | null | null | null | eZmaxApi/api/object_ezsigndocument_api.py | ezmaxinc/eZmax-SDK-python | 6794b8001abfb7d9ae18a3b87aba164839b925a0 | [
"MIT"
] | null | null | null | """
eZmax API Definition (Full)
This API expose all the functionnalities for the eZmax and eZsign applications. # noqa: E501
The version of the OpenAPI document: 1.1.7
Contact: support-api@ezmax.ca
Generated by: https://openapi-generator.tech
"""
import re # noqa: F401
import sys # noqa: F401... | 41.653324 | 427 | 0.555633 | 10,603 | 113,422 | 5.665283 | 0.037254 | 0.028467 | 0.053772 | 0.01708 | 0.895121 | 0.871098 | 0.846859 | 0.815529 | 0.782117 | 0.769798 | 0 | 0.00623 | 0.371656 | 113,422 | 2,722 | 428 | 41.668626 | 0.836603 | 0.387526 | 0 | 0.659013 | 0 | 0 | 0.268041 | 0.122737 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011481 | false | 0 | 0.018944 | 0 | 0.041906 | 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 |
2ec22f0ff3ba1c8eac8684f6590cd23f537a32e1 | 33 | py | Python | reddit_dl/reddit/__init__.py | h0nde/reddit-dl | 68b268533b7e2aca4fc61fe3d0f9144b999cb4e1 | [
"MIT"
] | 5 | 2021-12-01T03:54:00.000Z | 2021-12-02T14:39:31.000Z | reddit_dl/reddit/__init__.py | h0nde/reddit-dl | 68b268533b7e2aca4fc61fe3d0f9144b999cb4e1 | [
"MIT"
] | null | null | null | reddit_dl/reddit/__init__.py | h0nde/reddit-dl | 68b268533b7e2aca4fc61fe3d0f9144b999cb4e1 | [
"MIT"
] | 1 | 2022-01-02T09:02:12.000Z | 2022-01-02T09:02:12.000Z | from .clients import RedditClient | 33 | 33 | 0.878788 | 4 | 33 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 0.966667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2ef1f8a229d75fd66d5c36df99a890d79723409a | 95 | py | Python | application.py | mdcDod/HackahtonBE | 936effc93da4b31b2dd0cc5f316faf116e58fa80 | [
"MIT"
] | null | null | null | application.py | mdcDod/HackahtonBE | 936effc93da4b31b2dd0cc5f316faf116e58fa80 | [
"MIT"
] | 1 | 2021-06-02T00:00:59.000Z | 2021-06-02T00:00:59.000Z | application.py | mdcDod/HackahtonBE | 936effc93da4b31b2dd0cc5f316faf116e58fa80 | [
"MIT"
] | null | null | null | from DODApp import app
import requests
import json
import requests
from pprint import pprint
| 11.875 | 25 | 0.831579 | 14 | 95 | 5.642857 | 0.5 | 0.35443 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168421 | 95 | 7 | 26 | 13.571429 | 1 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.2 | 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 |
2c088650b6b9be8938b1babbf9e2b9988118a158 | 33,025 | py | Python | pinakes/main/migrations/0001_initial.py | hsong-rh/pinakes | 2f08cb757ca64c866af3244686b92a3074fc7571 | [
"Apache-2.0"
] | 2 | 2022-03-17T18:53:58.000Z | 2022-03-17T22:04:22.000Z | pinakes/main/migrations/0001_initial.py | hsong-rh/pinakes | 2f08cb757ca64c866af3244686b92a3074fc7571 | [
"Apache-2.0"
] | 9 | 2022-03-18T08:22:57.000Z | 2022-03-30T17:14:49.000Z | pinakes/main/migrations/0001_initial.py | hsong-rh/pinakes | 2f08cb757ca64c866af3244686b92a3074fc7571 | [
"Apache-2.0"
] | 7 | 2022-03-17T22:03:08.000Z | 2022-03-28T21:28:34.000Z | # Generated by Django 3.2.5 on 2021-07-23 14:11
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import taggit.managers
class Migration(migrations.Migration):
initial = True
dependencies = [
("taggit", "0001_initial"),
migrations.swa... | 36.735261 | 79 | 0.393762 | 2,121 | 33,025 | 5.946723 | 0.096653 | 0.026639 | 0.069928 | 0.061048 | 0.816459 | 0.789424 | 0.722271 | 0.649409 | 0.61064 | 0.598272 | 0 | 0.007104 | 0.501317 | 33,025 | 898 | 80 | 36.776169 | 0.758759 | 0.001363 | 0 | 0.75982 | 1 | 0 | 0.1182 | 0.020013 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.004489 | 0 | 0.008979 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
2580c3c9e0ccdb36778f4a6ff0db2219d298637f | 56 | py | Python | src/utils/__init__.py | barthofu/jarvis | a5eff01775736f5990d86b8bf30afc2c2b25fbe6 | [
"MIT"
] | null | null | null | src/utils/__init__.py | barthofu/jarvis | a5eff01775736f5990d86b8bf30afc2c2b25fbe6 | [
"MIT"
] | null | null | null | src/utils/__init__.py | barthofu/jarvis | a5eff01775736f5990d86b8bf30afc2c2b25fbe6 | [
"MIT"
] | null | null | null | from . import stt
from . import tts
from . import parser | 18.666667 | 20 | 0.75 | 9 | 56 | 4.666667 | 0.555556 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196429 | 56 | 3 | 20 | 18.666667 | 0.933333 | 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 |
25981b0da309e200f2a5901dc257b1d68d628e0e | 132 | py | Python | tests/integration_tests/resources/dsl/deployment_update/execute_custom_workflow/base/push_into_props.py | yeshess/cloudify-manager | 04dd199ce7df54355b87e9594f9db9fb1582924b | [
"Apache-2.0"
] | null | null | null | tests/integration_tests/resources/dsl/deployment_update/execute_custom_workflow/base/push_into_props.py | yeshess/cloudify-manager | 04dd199ce7df54355b87e9594f9db9fb1582924b | [
"Apache-2.0"
] | null | null | null | tests/integration_tests/resources/dsl/deployment_update/execute_custom_workflow/base/push_into_props.py | yeshess/cloudify-manager | 04dd199ce7df54355b87e9594f9db9fb1582924b | [
"Apache-2.0"
] | null | null | null | from cloudify import ctx
from cloudify.state import ctx_parameters as p
ctx.instance.runtime_properties['update_id'] = p.update_id
| 26.4 | 58 | 0.825758 | 21 | 132 | 5 | 0.619048 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106061 | 132 | 4 | 59 | 33 | 0.889831 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
25f75f128774602839a24a93e0752232f02087b8 | 38,570 | py | Python | src/clusterfuzz/_internal/protos/untrusted_runner_pb2_grpc.py | mspectorgoogle/clusterfuzz | 44df69cbcb94efc212f27758d45d6ff0f36061e5 | [
"Apache-2.0"
] | 5,023 | 2019-02-07T16:57:56.000Z | 2022-03-31T01:08:05.000Z | src/clusterfuzz/_internal/protos/untrusted_runner_pb2_grpc.py | mspectorgoogle/clusterfuzz | 44df69cbcb94efc212f27758d45d6ff0f36061e5 | [
"Apache-2.0"
] | 2,303 | 2019-02-07T17:36:36.000Z | 2022-03-31T15:44:38.000Z | src/clusterfuzz/_internal/protos/untrusted_runner_pb2_grpc.py | mspectorgoogle/clusterfuzz | 44df69cbcb94efc212f27758d45d6ff0f36061e5 | [
"Apache-2.0"
] | 564 | 2019-02-07T17:34:24.000Z | 2022-03-26T09:25:44.000Z | # Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 52.763338 | 166 | 0.709386 | 3,425 | 38,570 | 7.44 | 0.071533 | 0.071815 | 0.086178 | 0.118711 | 0.811043 | 0.809905 | 0.803312 | 0.77647 | 0.77647 | 0.774429 | 0 | 0.004379 | 0.23036 | 38,570 | 730 | 167 | 52.835616 | 0.854034 | 0.043687 | 0 | 0.53268 | 0 | 0 | 0.066367 | 0.034368 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068627 | false | 0 | 0.003268 | 0.03268 | 0.109477 | 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 |
d30bd8770c94b8068d0569d03d17d3dfb4a4810f | 226 | py | Python | build/lib/Kronos_heureka_code/Zeit/Uhrzeit/Minute/__init__.py | heureka-code/Kronos-heureka-code | 0ddbc93ec69f0bc50075071e6a3e406c9cc97737 | [
"MIT"
] | null | null | null | build/lib/Kronos_heureka_code/Zeit/Uhrzeit/Minute/__init__.py | heureka-code/Kronos-heureka-code | 0ddbc93ec69f0bc50075071e6a3e406c9cc97737 | [
"MIT"
] | null | null | null | build/lib/Kronos_heureka_code/Zeit/Uhrzeit/Minute/__init__.py | heureka-code/Kronos-heureka-code | 0ddbc93ec69f0bc50075071e6a3e406c9cc97737 | [
"MIT"
] | null | null | null | from Kronos_heureka_code.Zeit.Uhrzeit.Minute.MinuteException import \
MinuteException, \
MinuteZuKlein, \
MinuteZuGross, \
MinuteKeineGanzeZahl
from Kronos_heureka_code.Zeit.Uhrzeit.Minute.Minute import Minute
| 32.285714 | 69 | 0.79646 | 23 | 226 | 7.652174 | 0.521739 | 0.113636 | 0.193182 | 0.238636 | 0.431818 | 0.431818 | 0.431818 | 0 | 0 | 0 | 0 | 0 | 0.137168 | 226 | 6 | 70 | 37.666667 | 0.902564 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d30dd9c7d96cb11c76165e97e4c4ebd367114524 | 5,765 | py | Python | pynos/versions/base/snmp.py | bdeetz/pynos | bd8a34e98f322de3fc06750827d8bbc3a0c00380 | [
"Apache-2.0"
] | 12 | 2015-09-21T23:56:09.000Z | 2018-03-30T04:35:32.000Z | pynos/versions/base/snmp.py | bdeetz/pynos | bd8a34e98f322de3fc06750827d8bbc3a0c00380 | [
"Apache-2.0"
] | 10 | 2016-09-15T19:03:27.000Z | 2017-07-17T23:38:01.000Z | pynos/versions/base/snmp.py | bdeetz/pynos | bd8a34e98f322de3fc06750827d8bbc3a0c00380 | [
"Apache-2.0"
] | 6 | 2015-08-14T08:05:23.000Z | 2022-02-03T15:33:54.000Z | """
Copyright 2015 Brocade Communications Systems, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | 35.368098 | 76 | 0.575369 | 638 | 5,765 | 5.115987 | 0.214734 | 0.058824 | 0.039216 | 0.033088 | 0.731311 | 0.731311 | 0.726103 | 0.726103 | 0.726103 | 0.726103 | 0 | 0.00311 | 0.330616 | 5,765 | 162 | 77 | 35.58642 | 0.842705 | 0.416479 | 0 | 0.779661 | 0 | 0 | 0.13222 | 0.029228 | 0 | 0 | 0 | 0 | 0 | 1 | 0.084746 | false | 0 | 0.016949 | 0 | 0.186441 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d34844a7beb5597ac3d16ca35edf6da9d5b873ac | 48,888 | py | Python | gcn/gcn_lib/sparse/torch_vertex.py | BryanYeh0727/EGASII | d212e933c1cadd97629caa7c857744c29b01ca98 | [
"MIT"
] | null | null | null | gcn/gcn_lib/sparse/torch_vertex.py | BryanYeh0727/EGASII | d212e933c1cadd97629caa7c857744c29b01ca98 | [
"MIT"
] | null | null | null | gcn/gcn_lib/sparse/torch_vertex.py | BryanYeh0727/EGASII | d212e933c1cadd97629caa7c857744c29b01ca98 | [
"MIT"
] | null | null | null | import torch
from torch import nn
import torch.nn.functional as F
import torch_geometric as tg
from .torch_nn import MLP, act_layer, norm_layer
from .torch_edge import DilatedKnnGraph
from torch_geometric.utils import remove_self_loops, add_self_loops, softmax, degree
from torch_geometric.nn.conv.gcn_conv import gcn_no... | 40.170912 | 165 | 0.590656 | 6,282 | 48,888 | 4.419612 | 0.063037 | 0.037242 | 0.01556 | 0.023448 | 0.80734 | 0.781588 | 0.751117 | 0.726156 | 0.704473 | 0.687437 | 0 | 0.010592 | 0.285448 | 48,888 | 1,216 | 166 | 40.203947 | 0.784187 | 0.265014 | 0 | 0.685028 | 0 | 0 | 0.013721 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 1 | 0.09322 | false | 0.011299 | 0.024011 | 0.025424 | 0.206215 | 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 |
6cb839bd08dd9af703994f9cac6c80fe6de8a000 | 190 | py | Python | hook-scipy.py | atkirn/momentum | 6eb284f86ecc8ecb3380309296f0b5d2b57952dc | [
"Apache-2.0"
] | 26 | 2021-10-18T12:59:30.000Z | 2022-03-26T08:28:51.000Z | hook-scipy.py | atkirn/momentum | 6eb284f86ecc8ecb3380309296f0b5d2b57952dc | [
"Apache-2.0"
] | 1 | 2022-01-11T09:37:21.000Z | 2022-01-11T14:03:55.000Z | hook-scipy.py | atkirn/momentum | 6eb284f86ecc8ecb3380309296f0b5d2b57952dc | [
"Apache-2.0"
] | 10 | 2021-12-19T19:39:07.000Z | 2022-03-23T18:40:00.000Z | from PyInstaller.utils.hooks import collect_submodules
from PyInstaller.utils.hooks import collect_data_files
hiddenimports = collect_submodules('scipy')
datas = collect_data_files('scipy') | 38 | 54 | 0.852632 | 24 | 190 | 6.5 | 0.5 | 0.192308 | 0.25641 | 0.320513 | 0.487179 | 0.487179 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073684 | 190 | 5 | 55 | 38 | 0.886364 | 0 | 0 | 0 | 0 | 0 | 0.052356 | 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 |
6cc05aa9f84946e2135a6f772271953d249e5210 | 204 | py | Python | graphnet/algorithms/__init__.py | Fredpwol/pygnet | 02315c95ef6ee884bd55220a215c4bdd4f035317 | [
"MIT"
] | 2 | 2020-10-31T15:16:20.000Z | 2020-12-01T02:47:13.000Z | graphnet/algorithms/__init__.py | Fredpwol/pygnet | 02315c95ef6ee884bd55220a215c4bdd4f035317 | [
"MIT"
] | null | null | null | graphnet/algorithms/__init__.py | Fredpwol/pygnet | 02315c95ef6ee884bd55220a215c4bdd4f035317 | [
"MIT"
] | null | null | null | """
Algorithms for manipulating and analyzing graph instances.
"""
from __future__ import absolute_import
from .path import dijkstra, minimum_spanning_tree
__all__ = ["dijkstra", "minimum_spanning_tree"] | 29.142857 | 58 | 0.808824 | 24 | 204 | 6.333333 | 0.708333 | 0.197368 | 0.302632 | 0.355263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107843 | 204 | 7 | 59 | 29.142857 | 0.835165 | 0.284314 | 0 | 0 | 0 | 0 | 0.208633 | 0.151079 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9f197d271a0746ab71f9ad08920bcf09cdafe4cf | 194 | py | Python | reip/blocks/__init__.py | reip-project/reip-pipelines | c6a8341e963b73f6fd08d63513876590e5af3d62 | [
"BSD-3-Clause-Clear"
] | null | null | null | reip/blocks/__init__.py | reip-project/reip-pipelines | c6a8341e963b73f6fd08d63513876590e5af3d62 | [
"BSD-3-Clause-Clear"
] | null | null | null | reip/blocks/__init__.py | reip-project/reip-pipelines | c6a8341e963b73f6fd08d63513876590e5af3d62 | [
"BSD-3-Clause-Clear"
] | null | null | null | from .archive import *
from .buffer import *
from .misc import *
from .shell import *
from .output import *
from . import dummy
from .streamer import *
# from .ml import *
# from . import audio
| 19.4 | 23 | 0.71134 | 27 | 194 | 5.111111 | 0.407407 | 0.507246 | 0.231884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195876 | 194 | 9 | 24 | 21.555556 | 0.884615 | 0.190722 | 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 |
9f4b4e6e290b554643cdba1a8a59f7658a964934 | 137 | py | Python | planning/hexplugins/jsonoutputplugin.py | peschue/ai4eu-ai4industry | 0226433480238dc81f74183bcc63bb2259fd885c | [
"MIT"
] | 1 | 2021-12-01T14:09:59.000Z | 2021-12-01T14:09:59.000Z | planning/hexplugins/jsonoutputplugin.py | peschue/ai4eu-ai4industry | 0226433480238dc81f74183bcc63bb2259fd885c | [
"MIT"
] | null | null | null | planning/hexplugins/jsonoutputplugin.py | peschue/ai4eu-ai4industry | 0226433480238dc81f74183bcc63bb2259fd885c | [
"MIT"
] | null | null | null | import dlvhex
from hexlite.modelcallback import JSONModelCallback
def register():
dlvhex.registerModelCallbackClass(JSONModelCallback)
| 22.833333 | 53 | 0.868613 | 12 | 137 | 9.916667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080292 | 137 | 5 | 54 | 27.4 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9f94416e75d18ad893c2ad0069d316d7309daa10 | 299 | py | Python | projects/admin.py | EddyAnalytics/eddy-backend | bc465996e51b9ebc3e498ad0d6434bac80b173a6 | [
"Apache-2.0"
] | 1 | 2021-09-24T07:52:08.000Z | 2021-09-24T07:52:08.000Z | projects/admin.py | EddyAnalytics/eddy-backend | bc465996e51b9ebc3e498ad0d6434bac80b173a6 | [
"Apache-2.0"
] | 2 | 2021-05-25T22:16:18.000Z | 2021-06-09T19:16:24.000Z | projects/admin.py | EddyAnalytics/eddy-backend | bc465996e51b9ebc3e498ad0d6434bac80b173a6 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from projects.models import DataConnectorType, DataConnector, Project
from utils.utils import ReadOnlyIdAdmin
admin.site.register(Project, ReadOnlyIdAdmin)
admin.site.register(DataConnector, ReadOnlyIdAdmin)
admin.site.register(DataConnectorType, ReadOnlyIdAdmin)
| 33.222222 | 69 | 0.859532 | 32 | 299 | 8.03125 | 0.4375 | 0.233463 | 0.280156 | 0.373541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073579 | 299 | 8 | 70 | 37.375 | 0.927798 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4c8a3ca98b6f7f60ee9e2b019d8c1dc56ceaafec | 38 | py | Python | plugins/pelican_comment_system/__init__.py | mohnjahoney/website_source | edc86a869b90ae604f32e736d9d5ecd918088e6a | [
"MIT"
] | 13 | 2020-01-27T09:02:25.000Z | 2022-01-20T07:45:26.000Z | plugins/pelican_comment_system/__init__.py | mohnjahoney/website_source | edc86a869b90ae604f32e736d9d5ecd918088e6a | [
"MIT"
] | 29 | 2020-03-22T06:57:57.000Z | 2022-01-24T22:46:42.000Z | plugins/pelican_comment_system/__init__.py | mohnjahoney/website_source | edc86a869b90ae604f32e736d9d5ecd918088e6a | [
"MIT"
] | 6 | 2020-07-10T00:13:30.000Z | 2022-01-26T08:22:33.000Z | from .pelican_comment_system import *
| 19 | 37 | 0.842105 | 5 | 38 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4cc2f269177d5958e216547fc82c325b18d6c916 | 1,188 | py | Python | temboo/core/Library/Stripe/Invoices/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/Stripe/Invoices/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/Stripe/Invoices/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | from temboo.Library.Stripe.Invoices.CreateInvoice import CreateInvoice, CreateInvoiceInputSet, CreateInvoiceResultSet, CreateInvoiceChoreographyExecution
from temboo.Library.Stripe.Invoices.ListAllInvoices import ListAllInvoices, ListAllInvoicesInputSet, ListAllInvoicesResultSet, ListAllInvoicesChoreographyExecution
fr... | 148.5 | 208 | 0.917508 | 77 | 1,188 | 14.155844 | 0.441558 | 0.06422 | 0.109174 | 0.147706 | 0.199083 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041246 | 1,188 | 7 | 209 | 169.714286 | 0.95698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4cf38a09eb76f50424768a6b0d6648587593e085 | 36 | py | Python | linora/database/__init__.py | Hourout/linora | 4269516c9227a18bd1a65e1c6a59e73c74e874d0 | [
"Apache-2.0"
] | 10 | 2018-11-22T03:30:39.000Z | 2020-08-20T04:39:35.000Z | linora/database/__init__.py | Hourout/linora | 4269516c9227a18bd1a65e1c6a59e73c74e874d0 | [
"Apache-2.0"
] | null | null | null | linora/database/__init__.py | Hourout/linora | 4269516c9227a18bd1a65e1c6a59e73c74e874d0 | [
"Apache-2.0"
] | 3 | 2019-04-09T12:17:34.000Z | 2020-08-20T04:33:31.000Z | from linora.database._hive import *
| 18 | 35 | 0.805556 | 5 | 36 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 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 |
4cf57737f95f71054f747ebe7fa3bc8df9209e6b | 19,618 | py | Python | fiesta/fiesta.py | apmoore1/fiesta | 4ac8a1e3759d682cda6b0e7125a0d19a5bd0d3a5 | [
"Apache-2.0"
] | 13 | 2019-07-01T05:46:32.000Z | 2021-06-14T18:54:39.000Z | fiesta/fiesta.py | apmoore1/fiesta | 4ac8a1e3759d682cda6b0e7125a0d19a5bd0d3a5 | [
"Apache-2.0"
] | null | null | null | fiesta/fiesta.py | apmoore1/fiesta | 4ac8a1e3759d682cda6b0e7125a0d19a5bd0d3a5 | [
"Apache-2.0"
] | 2 | 2019-08-15T06:53:05.000Z | 2021-06-14T18:54:40.000Z | import logging
from typing import List, Dict, Any, Tuple, Callable
import math
import numpy as np
from scipy.special import logit
from fiesta.util import belief_calc
logger = logging.getLogger(__name__)
def TTTS(data: List[Dict[str, Any]],
model_functions: List[Callable[[List[Dict[str, Any]],
... | 52.595174 | 99 | 0.58064 | 2,475 | 19,618 | 4.485253 | 0.108283 | 0.027565 | 0.023782 | 0.030268 | 0.81272 | 0.793712 | 0.778488 | 0.774975 | 0.762724 | 0.748851 | 0 | 0.010741 | 0.349832 | 19,618 | 373 | 100 | 52.595174 | 0.859584 | 0.459527 | 0 | 0.51087 | 0 | 0 | 0.0654 | 0 | 0 | 0 | 0 | 0 | 0.01087 | 1 | 0.021739 | false | 0 | 0.032609 | 0 | 0.076087 | 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 |
980e2ca128e0484beed045773c24e2d7c1ceb26f | 25,872 | py | Python | gnosis/eth/oracles/abis/mooniswap_abis.py | titandac/gnosis-py | cf0af4f25e64b22256eabb415d0f3fe3a6180b14 | [
"MIT"
] | 64 | 2018-09-26T19:56:50.000Z | 2022-03-18T21:45:59.000Z | gnosis/eth/oracles/abis/mooniswap_abis.py | zhanghao-ic/gnosis-py | d2a5912547b7d1b576c826909f4c1d0155db536f | [
"MIT"
] | 151 | 2018-09-10T21:42:05.000Z | 2022-03-31T12:33:31.000Z | gnosis/eth/oracles/abis/mooniswap_abis.py | zhanghao-ic/gnosis-py | d2a5912547b7d1b576c826909f4c1d0155db536f | [
"MIT"
] | 50 | 2018-12-13T20:43:46.000Z | 2022-03-30T09:32:32.000Z | mooniswap_abi = [
{
"inputs": [
{"internalType": "contract IERC20", "name": "_token0", "type": "address"},
{"internalType": "contract IERC20", "name": "_token1", "type": "address"},
{"internalType": "string", "name": "name", "type": "string"},
{"internalType":... | 31.36 | 88 | 0.402597 | 1,486 | 25,872 | 7.006729 | 0.090848 | 0.083461 | 0.13033 | 0.080676 | 0.842201 | 0.822705 | 0.806185 | 0.736458 | 0.704284 | 0.6869 | 0 | 0.034841 | 0.39649 | 25,872 | 824 | 89 | 31.398058 | 0.631997 | 0 | 0 | 0.605583 | 0 | 0 | 0.394287 | 0.013528 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e271ebfb21e7617f3916a69ba1443e6b675f6c4b | 124 | py | Python | client/verta/verta/_internal_utils/time_utils/__init__.py | houqp/modeldb | 32837d9c1446f42882ae2a7729df1a08e33ac155 | [
"Apache-2.0"
] | null | null | null | client/verta/verta/_internal_utils/time_utils/__init__.py | houqp/modeldb | 32837d9c1446f42882ae2a7729df1a08e33ac155 | [
"Apache-2.0"
] | null | null | null | client/verta/verta/_internal_utils/time_utils/__init__.py | houqp/modeldb | 32837d9c1446f42882ae2a7729df1a08e33ac155 | [
"Apache-2.0"
] | 1 | 2021-05-04T13:52:09.000Z | 2021-05-04T13:52:09.000Z | from ...external.six import PY2, PY3
if PY3:
from ._time_utils_py3 import *
if PY2:
from ._time_utils_py2 import *
| 17.714286 | 36 | 0.701613 | 20 | 124 | 4.05 | 0.45 | 0.197531 | 0.320988 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 0.209677 | 124 | 6 | 37 | 20.666667 | 0.765306 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e28e7cc2dbf14963119f68d4849e45b2805bc449 | 49 | py | Python | mx_mg/models/__init__.py | CheminfoPKU/molecule_generator | d2f3e6c474d6eb2a5c1467ddedea77a037f8e757 | [
"Apache-2.0"
] | 127 | 2018-02-08T10:45:00.000Z | 2022-03-26T15:57:10.000Z | mx_mg/models/__init__.py | yulanl22/molecule_generator | ff93eaef143ca04af905b50a2862f4099b2371a5 | [
"Apache-2.0"
] | 9 | 2018-06-08T23:19:50.000Z | 2022-03-14T07:34:20.000Z | mx_mg/models/__init__.py | yulanl22/molecule_generator | ff93eaef143ca04af905b50a2862f4099b2371a5 | [
"Apache-2.0"
] | 38 | 2018-03-28T18:16:59.000Z | 2022-02-21T02:36:08.000Z | from .networks import *
from .functions import * | 16.333333 | 24 | 0.755102 | 6 | 49 | 6.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 49 | 3 | 24 | 16.333333 | 0.902439 | 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 |
e28fc637b2d3618fc7d65ab6748113354d91d664 | 200 | py | Python | app/common/__init__.py | rvmoura96/flask-template | d1383be7e17bff580e3ddf61ae580271c30201c4 | [
"MIT"
] | 2 | 2019-09-25T19:19:11.000Z | 2019-10-08T01:05:35.000Z | app/common/__init__.py | rvmoura96/flask-template | d1383be7e17bff580e3ddf61ae580271c30201c4 | [
"MIT"
] | 10 | 2019-09-13T23:41:42.000Z | 2020-05-10T21:12:32.000Z | app/common/__init__.py | rvmoura96/flask-template | d1383be7e17bff580e3ddf61ae580271c30201c4 | [
"MIT"
] | 9 | 2019-09-30T15:26:23.000Z | 2020-09-28T23:36:25.000Z | from .helpers import ValidateInput, check_json, check_exceptions
from .helpers import last_tag, last_commit, last_commit_datetime, build_working_response
from .validate_input import POST_INPUT_SCHEMA
| 50 | 88 | 0.875 | 28 | 200 | 5.857143 | 0.642857 | 0.134146 | 0.207317 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085 | 200 | 3 | 89 | 66.666667 | 0.896175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2c3a4e829de6128f7c5fcb1d6973fbddd4fd0af2 | 32 | py | Python | corpustools/funcload/New Text Document.py | akki2825/CorpusTools | ba236f55266eceb7e719fa36545985d8453953d3 | [
"BSD-3-Clause"
] | 97 | 2015-07-06T18:58:43.000Z | 2022-03-10T23:00:07.000Z | corpustools/funcload/New Text Document.py | akki2825/CorpusTools | ba236f55266eceb7e719fa36545985d8453953d3 | [
"BSD-3-Clause"
] | 443 | 2015-03-10T21:24:39.000Z | 2022-03-22T22:20:13.000Z | corpustools/funcload/New Text Document.py | akki2825/CorpusTools | ba236f55266eceb7e719fa36545985d8453953d3 | [
"BSD-3-Clause"
] | 22 | 2015-07-19T18:56:24.000Z | 2020-09-17T17:58:12.000Z | import sys
print(sys.meta_path)
| 10.666667 | 20 | 0.8125 | 6 | 32 | 4.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 2 | 21 | 16 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
2c9121c0546306a43b1e32b5ee6cc53032e6c9bd | 202 | py | Python | 07/00/0.py | pylangstudy/201708 | 126b1af96a1d1f57522d5a1d435b58597bea2e57 | [
"CC0-1.0"
] | null | null | null | 07/00/0.py | pylangstudy/201708 | 126b1af96a1d1f57522d5a1d435b58597bea2e57 | [
"CC0-1.0"
] | 39 | 2017-07-31T22:54:01.000Z | 2017-08-31T00:19:03.000Z | 07/00/0.py | pylangstudy/201708 | 126b1af96a1d1f57522d5a1d435b58597bea2e57 | [
"CC0-1.0"
] | null | null | null | import os, sys, datetime
print(os.name)
#print(sys.name)#AttributeError: module 'sys' has no attribute 'name'
#print(datetime.name)#AttributeError: module 'datetime' has no attribute 'name'
print(sys)
| 28.857143 | 79 | 0.762376 | 29 | 202 | 5.310345 | 0.37931 | 0.175325 | 0.155844 | 0.233766 | 0.298701 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10396 | 202 | 6 | 80 | 33.666667 | 0.850829 | 0.712871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
2ca868273dc452205cd5d45fdef7370820bfc246 | 20 | py | Python | logparser/MoLFI/__init__.py | CUHK-CSE/logalizer | e8d96cd4de1121c5d2b517982c6028cd06e643f1 | [
"MIT"
] | 859 | 2017-05-06T03:06:22.000Z | 2022-03-31T12:02:29.000Z | logparser/MoLFI/__init__.py | mandychenze/logparser | 8f1f1face2c0e270fd9bcecdefe37ebc6ba76e9d | [
"MIT"
] | 71 | 2018-02-24T08:11:32.000Z | 2022-03-15T11:44:29.000Z | logparser/MoLFI/__init__.py | mandychenze/logparser | 8f1f1face2c0e270fd9bcecdefe37ebc6ba76e9d | [
"MIT"
] | 445 | 2017-06-19T01:26:16.000Z | 2022-03-29T08:27:17.000Z | from .MoLFI import * | 20 | 20 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2cbb1028905a66bd108fea00715b729a8c835fb9 | 101 | py | Python | Python/shapeworks/shapeworks/setup_path.py | ajensen1234/ShapeWorks | fb308c8c38ad0e00c7f62aa7221e00e72140d909 | [
"MIT"
] | null | null | null | Python/shapeworks/shapeworks/setup_path.py | ajensen1234/ShapeWorks | fb308c8c38ad0e00c7f62aa7221e00e72140d909 | [
"MIT"
] | null | null | null | Python/shapeworks/shapeworks/setup_path.py | ajensen1234/ShapeWorks | fb308c8c38ad0e00c7f62aa7221e00e72140d909 | [
"MIT"
] | null | null | null | def setup_binary_path():
import sys
sys.path.append("/Users/amorris/sci/shapeworks/bin/bin")
| 25.25 | 60 | 0.722772 | 15 | 101 | 4.733333 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128713 | 101 | 3 | 61 | 33.666667 | 0.806818 | 0 | 0 | 0 | 0 | 0 | 0.366337 | 0.366337 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e2ef1226cd335c0892f0dbbf44299b8e62212750 | 9,255 | py | Python | baselines/her/replay_buffer.py | TianhongDai/div-hindsight | 68927ec45087ee0d57a123ddad16703a7af050a3 | [
"MIT"
] | 4 | 2021-08-11T02:41:19.000Z | 2021-08-17T14:35:40.000Z | baselines/her/replay_buffer.py | TianhongDai/div-hindsight | 68927ec45087ee0d57a123ddad16703a7af050a3 | [
"MIT"
] | 1 | 2022-02-17T16:19:56.000Z | 2022-02-17T16:58:09.000Z | baselines/her/replay_buffer.py | TianhongDai/div-hindsight | 68927ec45087ee0d57a123ddad16703a7af050a3 | [
"MIT"
] | 1 | 2021-08-15T03:35:02.000Z | 2021-08-15T03:35:02.000Z | import threading
import numpy as np
from baselines.common.segment_tree import SumSegmentTree, MinSegmentTree
import math
from scipy.stats import rankdata
import json
class ReplayBuffer:
def __init__(self, buffer_shapes, size_in_transitions, T, sample_transitions):
"""Creates a replay buffer.
Args:... | 41.133333 | 119 | 0.596542 | 1,190 | 9,255 | 4.478992 | 0.161345 | 0.072233 | 0.092871 | 0.030019 | 0.764916 | 0.7606 | 0.756098 | 0.756098 | 0.753659 | 0.753659 | 0 | 0.009444 | 0.302107 | 9,255 | 225 | 120 | 41.133333 | 0.815761 | 0.177634 | 0 | 0.765432 | 0 | 0 | 0.032002 | 0 | 0 | 0 | 0 | 0 | 0.049383 | 1 | 0.111111 | false | 0 | 0.037037 | 0 | 0.234568 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3900661405d67c2569cfcb8333f06ee2207e0535 | 49 | py | Python | rlberry/envs/benchmarks/ball_exploration/__init__.py | riccardodv/rlberry | 8bb03772cda1e13c57de0e1da7bc7356a3014cfb | [
"MIT"
] | 86 | 2020-11-20T21:02:27.000Z | 2022-03-07T14:57:40.000Z | rlberry/envs/benchmarks/ball_exploration/__init__.py | riccardodv/rlberry | 8bb03772cda1e13c57de0e1da7bc7356a3014cfb | [
"MIT"
] | 103 | 2020-11-17T12:31:21.000Z | 2022-03-28T13:46:16.000Z | rlberry/envs/benchmarks/ball_exploration/__init__.py | riccardodv/rlberry | 8bb03772cda1e13c57de0e1da7bc7356a3014cfb | [
"MIT"
] | 20 | 2020-11-23T01:47:50.000Z | 2022-03-25T07:45:24.000Z | from .pball import PBall, PBall2D, SimplePBallND
| 24.5 | 48 | 0.816327 | 6 | 49 | 6.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.122449 | 49 | 1 | 49 | 49 | 0.906977 | 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 |
1aa27b5a5257e8e4574b8c502dc4a43b63ef7c65 | 74 | py | Python | tools/deepke/relation_extraction/multimodal/models/__init__.py | dfface/DoctorKG | 6bd6ebec8244a9ce0a2c8c278a704f02b9afaaf8 | [
"MIT"
] | 1 | 2022-03-26T16:08:08.000Z | 2022-03-26T16:08:08.000Z | tools/deepke/relation_extraction/multimodal/models/__init__.py | dfface/DoctorKG | 6bd6ebec8244a9ce0a2c8c278a704f02b9afaaf8 | [
"MIT"
] | null | null | null | tools/deepke/relation_extraction/multimodal/models/__init__.py | dfface/DoctorKG | 6bd6ebec8244a9ce0a2c8c278a704f02b9afaaf8 | [
"MIT"
] | null | null | null | from .modeling_IFA import *
from .IFA_model import *
from .clip import * | 24.666667 | 28 | 0.743243 | 11 | 74 | 4.818182 | 0.545455 | 0.377358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175676 | 74 | 3 | 29 | 24.666667 | 0.868852 | 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 |
1abe7a80c66898f54e00d087f5207407350234fe | 92 | py | Python | jackknife/__init__.py | kmedian/jackknife | 5edf2704b2b4aca10fc5e73fa7f82a704200f5d3 | [
"MIT"
] | 1 | 2020-01-16T12:47:22.000Z | 2020-01-16T12:47:22.000Z | jackknife/__init__.py | kmedian/jackknife | 5edf2704b2b4aca10fc5e73fa7f82a704200f5d3 | [
"MIT"
] | 8 | 2019-08-28T20:14:32.000Z | 2022-01-31T13:50:14.000Z | jackknife/__init__.py | kmedian/jackknife | 5edf2704b2b4aca10fc5e73fa7f82a704200f5d3 | [
"MIT"
] | 1 | 2019-01-26T14:35:18.000Z | 2019-01-26T14:35:18.000Z |
from .jk_loop import jk_loop
from .jk_stats import jk_stats
from .jk_print import jk_print
| 18.4 | 30 | 0.826087 | 18 | 92 | 3.888889 | 0.333333 | 0.257143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141304 | 92 | 4 | 31 | 23 | 0.886076 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
46d9b142f17dc1d3a9c6607cac6c7e1166c7eab2 | 58 | py | Python | Mapa/mapa.py | gfcastellano/Agenda-Leonel | 543dd46e1836410ec1ad7093ef4a07c2f84678a6 | [
"MIT"
] | 1 | 2020-06-16T03:54:09.000Z | 2020-06-16T03:54:09.000Z | Mapa/mapa.py | gfcastellano/Agenda_Leonel | 543dd46e1836410ec1ad7093ef4a07c2f84678a6 | [
"MIT"
] | 1 | 2020-06-16T03:50:16.000Z | 2020-06-16T03:50:16.000Z | Mapa/mapa.py | gfcastellano/Agenda_Leonel | 543dd46e1836410ec1ad7093ef4a07c2f84678a6 | [
"MIT"
] | null | null | null | from mapview import MapView
class Mapa(MapView):
pass | 14.5 | 27 | 0.758621 | 8 | 58 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189655 | 58 | 4 | 28 | 14.5 | 0.93617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
2014088bedfc0f43ca33788a00f029553b9b1d41 | 6,936 | py | Python | models/dss_pilotnet.py | DensoITLab/spr_sigmadelta | 7c440d936e025b5d4cbb54448d935a0c9f7d17fa | [
"Unlicense"
] | null | null | null | models/dss_pilotnet.py | DensoITLab/spr_sigmadelta | 7c440d936e025b5d4cbb54448d935a0c9f7d17fa | [
"Unlicense"
] | null | null | null | models/dss_pilotnet.py | DensoITLab/spr_sigmadelta | 7c440d936e025b5d4cbb54448d935a0c9f7d17fa | [
"Unlicense"
] | null | null | null | import torch.nn as nn
from models.dss_layer import DSSConv2d, DSSInput, DSSAlign
from models.dss_util import compute_act_shape
from models.dss_net import *
class DSSPilotNet(DSSNet):
def __init__(self, input_shape, settings=[]):
super(DSSPilotNet, self).__init__()
self.settings = settings
e... | 71.505155 | 281 | 0.691176 | 1,162 | 6,936 | 3.917384 | 0.08864 | 0.04152 | 0.080844 | 0.04833 | 0.927285 | 0.918717 | 0.915641 | 0.907074 | 0.907074 | 0.907074 | 0 | 0.070878 | 0.157872 | 6,936 | 97 | 282 | 71.505155 | 0.702277 | 0.048875 | 0 | 0.619048 | 0 | 0 | 0.001215 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047619 | false | 0 | 0.047619 | 0 | 0.142857 | 0.02381 | 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 |
2047b68483d77e2eac2fa461c489a856877802d8 | 5,594 | py | Python | tests/py/test_privacy_json.py | kant/gratipay.com | b6603004750e05ae6dfd9d1d9802bf92c096184f | [
"MIT"
] | 517 | 2015-01-03T08:38:28.000Z | 2022-03-14T08:48:35.000Z | tests/py/test_privacy_json.py | kant/gratipay.com | b6603004750e05ae6dfd9d1d9802bf92c096184f | [
"MIT"
] | 1,864 | 2015-01-01T16:09:51.000Z | 2018-02-05T17:01:14.000Z | tests/py/test_privacy_json.py | kant/gratipay.com | b6603004750e05ae6dfd9d1d9802bf92c096184f | [
"MIT"
] | 154 | 2015-01-05T04:43:40.000Z | 2022-03-29T04:28:23.000Z | from __future__ import print_function, unicode_literals
from aspen import json
from gratipay.testing import Harness
class Tests(Harness):
def setUp(self):
Harness.setUp(self)
self.make_participant('alice', claimed_time='now')
def hit_privacy(self, method='GET', expected_code=200, **kw):
... | 48.643478 | 90 | 0.654094 | 748 | 5,594 | 4.63369 | 0.118984 | 0.108194 | 0.072706 | 0.090883 | 0.806982 | 0.761685 | 0.761685 | 0.758223 | 0.729083 | 0.635892 | 0 | 0.028327 | 0.204862 | 5,594 | 114 | 91 | 49.070175 | 0.750899 | 0.009296 | 0 | 0.377778 | 0 | 0 | 0.134501 | 0.004694 | 0 | 0 | 0 | 0 | 0.288889 | 1 | 0.2 | false | 0 | 0.033333 | 0 | 0.255556 | 0.022222 | 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 |
647a94ef680a495c928c33dd5dd1cf311f11f088 | 47 | py | Python | redict/__init__.py | julianirwin/redict | d75bf3c03b481cb41211898f438fdb693e199155 | [
"MIT"
] | null | null | null | redict/__init__.py | julianirwin/redict | d75bf3c03b481cb41211898f438fdb693e199155 | [
"MIT"
] | null | null | null | redict/__init__.py | julianirwin/redict | d75bf3c03b481cb41211898f438fdb693e199155 | [
"MIT"
] | null | null | null | from .redict import ReDict, update_with_redict
| 23.5 | 46 | 0.851064 | 7 | 47 | 5.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 47 | 1 | 47 | 47 | 0.904762 | 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 |
64c9c0fac56d4b82c1434b27f5d57ce2890eac50 | 240 | py | Python | mne_nirs/signal_enhancement/__init__.py | larsoner/mne-nirs | 7b0fd29c93a94604d797f1cbf02a5c2c640f1867 | [
"BSD-3-Clause"
] | null | null | null | mne_nirs/signal_enhancement/__init__.py | larsoner/mne-nirs | 7b0fd29c93a94604d797f1cbf02a5c2c640f1867 | [
"BSD-3-Clause"
] | null | null | null | mne_nirs/signal_enhancement/__init__.py | larsoner/mne-nirs | 7b0fd29c93a94604d797f1cbf02a5c2c640f1867 | [
"BSD-3-Clause"
] | null | null | null | """Signal enhancement techniques."""
# Authors: Robert Luke <mail@robertluke.net>
#
# License: BSD (3-clause)
from ._negative_correlation import enhance_negative_correlation
from ._short_channel_correction import short_channel_regression
| 26.666667 | 63 | 0.816667 | 28 | 240 | 6.678571 | 0.785714 | 0.203209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004608 | 0.095833 | 240 | 8 | 64 | 30 | 0.857143 | 0.408333 | 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 |
b39a2c207a8ae468e1e14b09296019ed40f93969 | 224 | py | Python | test_models.py | JanRocketMan/regression-prior-networks | 3c8ffa758ee6eaa15b8afe31ac1c03f87bbf6a14 | [
"MIT"
] | 24 | 2020-06-23T07:25:49.000Z | 2022-03-10T12:34:29.000Z | test_models.py | JanRocketMan/regression-prior-networks | 3c8ffa758ee6eaa15b8afe31ac1c03f87bbf6a14 | [
"MIT"
] | 1 | 2022-02-11T11:18:28.000Z | 2022-02-11T11:18:28.000Z | test_models.py | JanRocketMan/regression-prior-networks | 3c8ffa758ee6eaa15b8afe31ac1c03f87bbf6a14 | [
"MIT"
] | 2 | 2020-11-11T16:57:54.000Z | 2022-02-11T11:19:27.000Z | from models.simple_model import test_simple_model
from models.unet_model import test_densedepth
if __name__ == '__main__':
print("Testing...")
test_simple_model()
test_densedepth()
print("All test passed")
| 22.4 | 49 | 0.741071 | 29 | 224 | 5.172414 | 0.517241 | 0.22 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160714 | 224 | 9 | 50 | 24.888889 | 0.797872 | 0 | 0 | 0 | 0 | 0 | 0.147321 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.142857 | 0.285714 | 0 | 0.285714 | 0.285714 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
b3a92f93063389d702cbee84b1eabd6dbfa03fce | 34 | py | Python | brainframe_qt/ui/resources/actions/__init__.py | aotuai/brainframe-qt | 082cfd0694e569122ff7c63e56dd0ec4b62d5bac | [
"BSD-3-Clause"
] | 17 | 2021-02-11T18:19:22.000Z | 2022-02-08T06:12:50.000Z | brainframe_qt/ui/resources/actions/__init__.py | aotuai/brainframe-qt | 082cfd0694e569122ff7c63e56dd0ec4b62d5bac | [
"BSD-3-Clause"
] | 80 | 2021-02-11T08:27:31.000Z | 2021-10-13T21:33:22.000Z | brainframe_qt/ui/resources/actions/__init__.py | aotuai/brainframe-qt | 082cfd0694e569122ff7c63e56dd0ec4b62d5bac | [
"BSD-3-Clause"
] | 5 | 2021-02-12T09:51:34.000Z | 2022-02-08T09:25:15.000Z | from .exiting import close_client
| 17 | 33 | 0.852941 | 5 | 34 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b3bb24728a9fde301d495bb20f508e5d7059aa95 | 29 | py | Python | batch_rl/fixed_replay/environments/__init__.py | luanagbmartins/CQL | a34e9e137309dc13467bfd4e5bc5e2d33c3875cd | [
"Apache-2.0"
] | null | null | null | batch_rl/fixed_replay/environments/__init__.py | luanagbmartins/CQL | a34e9e137309dc13467bfd4e5bc5e2d33c3875cd | [
"Apache-2.0"
] | null | null | null | batch_rl/fixed_replay/environments/__init__.py | luanagbmartins/CQL | a34e9e137309dc13467bfd4e5bc5e2d33c3875cd | [
"Apache-2.0"
] | null | null | null | from .ac_pulse import ACPulse | 29 | 29 | 0.862069 | 5 | 29 | 4.8 | 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 |
b3e169591be8d105efb1d8056227045a93d859ba | 139 | py | Python | layers/skip.py | WitnessNR/WiNR | 8734877c036db50c467716753641e9481b1f42fc | [
"Apache-2.0"
] | null | null | null | layers/skip.py | WitnessNR/WiNR | 8734877c036db50c467716753641e9481b1f42fc | [
"Apache-2.0"
] | null | null | null | layers/skip.py | WitnessNR/WiNR | 8734877c036db50c467716753641e9481b1f42fc | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
def skip(model, layer, inputs):
inputs[layer.name] = inputs[layer.input.name]
return model, layer, inputs
| 23.166667 | 49 | 0.647482 | 19 | 139 | 4.736842 | 0.578947 | 0.222222 | 0.355556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008772 | 0.179856 | 139 | 5 | 50 | 27.8 | 0.780702 | 0.151079 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
b3efe8659f28d32d51c00ed13270f3708958c735 | 23 | py | Python | vectorhub/encoders/audio/pytorch/__init__.py | boba-and-beer/vectorhub | fc536a59c77755f4051af37338839e24e0add5c4 | [
"Apache-2.0"
] | 385 | 2020-10-26T13:12:11.000Z | 2021-10-07T15:14:48.000Z | vectorhub/encoders/audio/pytorch/__init__.py | boba-and-beer/vectorhub | fc536a59c77755f4051af37338839e24e0add5c4 | [
"Apache-2.0"
] | 24 | 2020-10-29T13:16:31.000Z | 2021-08-31T06:47:33.000Z | vectorhub/encoders/audio/pytorch/__init__.py | boba-and-beer/vectorhub | fc536a59c77755f4051af37338839e24e0add5c4 | [
"Apache-2.0"
] | 45 | 2020-10-29T15:25:19.000Z | 2021-09-05T21:50:57.000Z | from .wav2vec import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 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 |
b60f39f362c0e8fdcd1128ab07096553d0757a31 | 35 | py | Python | func.py | ankit0tech/gitremote101 | 29c8e1e3d2bbcab4d63b9b2ecee8397bfe6038e3 | [
"MIT"
] | null | null | null | func.py | ankit0tech/gitremote101 | 29c8e1e3d2bbcab4d63b9b2ecee8397bfe6038e3 | [
"MIT"
] | null | null | null | func.py | ankit0tech/gitremote101 | 29c8e1e3d2bbcab4d63b9b2ecee8397bfe6038e3 | [
"MIT"
] | null | null | null | def fun(x):
return 2*x
fun(4)
| 7 | 12 | 0.542857 | 8 | 35 | 2.375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0.285714 | 35 | 4 | 13 | 8.75 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
b6105d386293f22db7d618758b9c7b93039c7a2f | 20 | py | Python | bindings/python3/__init__.py | pulp/libsolv | 623acbdd2deae9473c2309d8d8ed73af9715d7ba | [
"BSD-3-Clause"
] | null | null | null | bindings/python3/__init__.py | pulp/libsolv | 623acbdd2deae9473c2309d8d8ed73af9715d7ba | [
"BSD-3-Clause"
] | null | null | null | bindings/python3/__init__.py | pulp/libsolv | 623acbdd2deae9473c2309d8d8ed73af9715d7ba | [
"BSD-3-Clause"
] | null | null | null | from .solv import *
| 10 | 19 | 0.7 | 3 | 20 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 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 |
377801a1264f58d0ea08fe2e989905618af1412d | 28 | py | Python | prospr/__init__.py | mil-ad/prospr | a92177989f4480f1f2b43a48b3e18a6597ebba6d | [
"MIT"
] | 4 | 2022-03-25T17:17:34.000Z | 2022-03-29T16:57:48.000Z | prospr/__init__.py | mil-ad/prospr | a92177989f4480f1f2b43a48b3e18a6597ebba6d | [
"MIT"
] | null | null | null | prospr/__init__.py | mil-ad/prospr | a92177989f4480f1f2b43a48b3e18a6597ebba6d | [
"MIT"
] | null | null | null | from prospr.prospr import *
| 14 | 27 | 0.785714 | 4 | 28 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
378c40ed4985cbdd577eb14062c73c5e6a9b576a | 45 | py | Python | jinahub/segmenters/YoloV5Segmenter/__init__.py | sauravgarg540/executors | c06a16633767346eee96ec019ae6a171f125f6cb | [
"Apache-2.0"
] | null | null | null | jinahub/segmenters/YoloV5Segmenter/__init__.py | sauravgarg540/executors | c06a16633767346eee96ec019ae6a171f125f6cb | [
"Apache-2.0"
] | null | null | null | jinahub/segmenters/YoloV5Segmenter/__init__.py | sauravgarg540/executors | c06a16633767346eee96ec019ae6a171f125f6cb | [
"Apache-2.0"
] | null | null | null | from .yolov5_segmenter import YoloV5Segmenter | 45 | 45 | 0.911111 | 5 | 45 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.066667 | 45 | 1 | 45 | 45 | 0.904762 | 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 |
379bbe0baa75b0052b3cd86501e56b034d497070 | 172 | py | Python | src/services/api.py | saukymo/kraken | 2da66323a8dd072ba4bea931d6be1bcd6b1d339e | [
"MIT"
] | null | null | null | src/services/api.py | saukymo/kraken | 2da66323a8dd072ba4bea931d6be1bcd6b1d339e | [
"MIT"
] | null | null | null | src/services/api.py | saukymo/kraken | 2da66323a8dd072ba4bea931d6be1bcd6b1d339e | [
"MIT"
] | null | null | null | """Wrapper service for kraken api."""
class ApiService:
"""Serivce for kraken api call."""
def __init__(self):
"""Create service object."""
pass
| 17.2 | 38 | 0.593023 | 19 | 172 | 5.157895 | 0.789474 | 0.183673 | 0.244898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.261628 | 172 | 9 | 39 | 19.111111 | 0.771654 | 0.482558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.666667 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
80ea1c5644fd7c66b33144abd21a9e9ddc98f5db | 7,820 | py | Python | tests/duckdns_tests.py | chaptergy/certbot_dns_duckdns | 13daa19a06e6cfbf8ca1c5cc7f0a31e9142d1da6 | [
"MIT"
] | 11 | 2021-03-03T05:17:25.000Z | 2022-03-04T22:59:58.000Z | tests/duckdns_tests.py | LinearAlpha/certbot_dns_duckdns | f2fe5bddf958b055ad25611e4aca32ad631f6d8c | [
"MIT"
] | 39 | 2021-02-06T00:27:32.000Z | 2022-03-31T07:39:58.000Z | tests/duckdns_tests.py | Nobody84/certbot_dns_duckdns | ed87c0bacc405c972c6cc1f1e98d34e88f9e554c | [
"MIT"
] | 8 | 2021-04-03T15:53:36.000Z | 2022-03-20T17:23:35.000Z | import os
import time
import unittest
from dns import resolver
from dns.resolver import Resolver
from certbot_dns_duckdns.cert.client import DEFAULT_PROPAGATION_SECONDS
from certbot_dns_duckdns.duckdns.client import DuckDNSClient, TXTUpdateError
TEST_DOMAIN = os.environ.get("TEST_DOMAIN")
TEST_DUCKDNS_TOKEN = os.env... | 40.102564 | 112 | 0.686317 | 909 | 7,820 | 5.49725 | 0.106711 | 0.108065 | 0.06724 | 0.088053 | 0.86672 | 0.825095 | 0.776266 | 0.727436 | 0.727436 | 0.709426 | 0 | 0.008492 | 0.231969 | 7,820 | 194 | 113 | 40.309278 | 0.82351 | 0.048465 | 0 | 0.623288 | 0 | 0 | 0.064342 | 0.008884 | 0 | 0 | 0 | 0 | 0.239726 | 1 | 0.068493 | false | 0 | 0.047945 | 0 | 0.123288 | 0.020548 | 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 |
03b5450ed7fbc05e51577b7441644cc6a5c7b1d8 | 39 | py | Python | backend/questions/viewsets/__init__.py | Stonedch/web-privollesru | 44f5656c57457ba00cc33f770d57823edacc1ce2 | [
"MIT"
] | null | null | null | backend/questions/viewsets/__init__.py | Stonedch/web-privollesru | 44f5656c57457ba00cc33f770d57823edacc1ce2 | [
"MIT"
] | null | null | null | backend/questions/viewsets/__init__.py | Stonedch/web-privollesru | 44f5656c57457ba00cc33f770d57823edacc1ce2 | [
"MIT"
] | null | null | null | from .question import QuestionViewSet
| 13 | 37 | 0.846154 | 4 | 39 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 2 | 38 | 19.5 | 0.970588 | 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 |
ff0e3f7dce231bd43a86c057f900a05736af297e | 8,752 | py | Python | Packs/ApiModules/Scripts/IAMApiModule/IAMApiModule_test.py | diCagri/content | c532c50b213e6dddb8ae6a378d6d09198e08fc9f | [
"MIT"
] | 799 | 2016-08-02T06:43:14.000Z | 2022-03-31T11:10:11.000Z | Packs/ApiModules/Scripts/IAMApiModule/IAMApiModule_test.py | diCagri/content | c532c50b213e6dddb8ae6a378d6d09198e08fc9f | [
"MIT"
] | 9,317 | 2016-08-07T19:00:51.000Z | 2022-03-31T21:56:04.000Z | Packs/ApiModules/Scripts/IAMApiModule/IAMApiModule_test.py | diCagri/content | c532c50b213e6dddb8ae6a378d6d09198e08fc9f | [
"MIT"
] | 1,297 | 2016-08-04T13:59:00.000Z | 2022-03-31T23:43:06.000Z | from IAMApiModule import *
APP_USER_OUTPUT = {
"user_id": "mock_id",
"user_name": "mock_user_name",
"first_name": "mock_first_name",
"last_name": "mock_last_name",
"active": "true",
"email": "testdemisto2@paloaltonetworks.com"
}
USER_APP_DATA = IAMUserAppData("mock_id", "mock_user_name", is_ac... | 36.016461 | 120 | 0.695727 | 1,127 | 8,752 | 5.159716 | 0.094942 | 0.080825 | 0.11006 | 0.043508 | 0.859845 | 0.819776 | 0.796389 | 0.769218 | 0.742218 | 0.715907 | 0 | 0.001697 | 0.191956 | 8,752 | 242 | 121 | 36.165289 | 0.82056 | 0.23766 | 0 | 0.636364 | 0 | 0 | 0.222065 | 0.046742 | 0 | 0 | 0 | 0 | 0.330579 | 1 | 0.107438 | false | 0 | 0.008264 | 0.041322 | 0.173554 | 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 |
2072f224bb9188d897fb733434035d37332d12e5 | 32 | py | Python | Analitic Module/charts/__init__.py | MateuszChilinski/CudaThreadsProfilingTool | f651fbbb062e048789c0dd2cfb7b2b2200104033 | [
"MIT"
] | null | null | null | Analitic Module/charts/__init__.py | MateuszChilinski/CudaThreadsProfilingTool | f651fbbb062e048789c0dd2cfb7b2b2200104033 | [
"MIT"
] | null | null | null | Analitic Module/charts/__init__.py | MateuszChilinski/CudaThreadsProfilingTool | f651fbbb062e048789c0dd2cfb7b2b2200104033 | [
"MIT"
] | 2 | 2019-01-28T01:57:43.000Z | 2020-10-21T13:32:42.000Z | from .app_state import AppState
| 16 | 31 | 0.84375 | 5 | 32 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
20840c45fa3b48a41289997158a2ff5ab3dbeb41 | 44 | py | Python | bip_utils/bip/bip84/__init__.py | MIPPLTeam/bip_utils | c66446e7ac3879d2cf6308c5b8eb7f7705292660 | [
"MIT"
] | 149 | 2020-05-15T08:11:43.000Z | 2022-03-29T16:34:42.000Z | bip_utils/bip/bip84/__init__.py | MIPPLTeam/bip_utils | c66446e7ac3879d2cf6308c5b8eb7f7705292660 | [
"MIT"
] | 41 | 2020-04-03T15:57:56.000Z | 2022-03-31T08:25:11.000Z | bip_utils/bip/bip84/__init__.py | MIPPLTeam/bip_utils | c66446e7ac3879d2cf6308c5b8eb7f7705292660 | [
"MIT"
] | 55 | 2020-04-03T17:05:15.000Z | 2022-03-24T12:43:42.000Z | from bip_utils.bip.bip84.bip84 import Bip84
| 22 | 43 | 0.840909 | 8 | 44 | 4.5 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.090909 | 44 | 1 | 44 | 44 | 0.75 | 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 |
2093b42163e2af08a5fcca01c845e46dbf9fc89d | 284 | py | Python | deleter/util.py | desty2k/deleter | d795c53cd76516ccc98bbb1bfedb16b56f342178 | [
"MIT"
] | 1 | 2021-11-28T21:45:23.000Z | 2021-11-28T21:45:23.000Z | deleter/util.py | desty2k/deleter | d795c53cd76516ccc98bbb1bfedb16b56f342178 | [
"MIT"
] | null | null | null | deleter/util.py | desty2k/deleter | d795c53cd76516ccc98bbb1bfedb16b56f342178 | [
"MIT"
] | null | null | null | import os
import sys
def is_frozen():
return getattr(sys, 'frozen', False) and hasattr(sys, '_MEIPASS')
def get_script_path():
return os.path.realpath(sys.argv[0])
def is_nt():
return os.name.startswith("nt")
def is_posix():
return os.name.startswith("posix")
| 14.947368 | 69 | 0.679577 | 43 | 284 | 4.348837 | 0.511628 | 0.080214 | 0.128342 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004255 | 0.172535 | 284 | 18 | 70 | 15.777778 | 0.791489 | 0 | 0 | 0 | 0 | 0 | 0.073944 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0.1 | 0.2 | 0.4 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
20ae92a317265a241671c7f19b5d519ce2f84253 | 341 | py | Python | unitypack/__init__.py | bighomie6384/UnityPackFF | 01f4803e3369fa00b74c708a7620e7cc5a9ff9e1 | [
"MIT"
] | 6 | 2020-11-03T13:23:40.000Z | 2021-10-06T15:25:29.000Z | unitypack/__init__.py | JadeShrineMaiden/UnityPackFF | eee9683418fc7d924d7b0b343fe65ab3196db9f0 | [
"MIT"
] | 1 | 2021-02-15T20:16:40.000Z | 2021-02-15T20:16:40.000Z | unitypack/__init__.py | JadeShrineMaiden/UnityPackFF | eee9683418fc7d924d7b0b343fe65ab3196db9f0 | [
"MIT"
] | 10 | 2020-11-03T15:08:10.000Z | 2022-02-13T07:32:52.000Z | __version__ = '0.8.1'
def load(file, env=None):
from .environment import UnityEnvironment
if env is None:
env = UnityEnvironment()
return env.load(file)
def load_from_file(file, env=None):
from .environment import UnityEnvironment
if env is None:
env = UnityEnvironment()
return env.get_ass... | 20.058824 | 45 | 0.718475 | 47 | 341 | 5.021277 | 0.425532 | 0.059322 | 0.09322 | 0.127119 | 0.737288 | 0.737288 | 0.737288 | 0.737288 | 0.737288 | 0.737288 | 0 | 0.01087 | 0.190616 | 341 | 16 | 46 | 21.3125 | 0.844203 | 0 | 0 | 0.545455 | 0 | 0 | 0.014663 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0 | 0.181818 | 0 | 0.545455 | 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 |
20d038f66510805e885d1bd3ce75dd1043630ab3 | 2,153 | py | Python | tests/test_download.py | datalab42/kyd-downloader | 5de439d41998a6035527d0a6dfe8acded2798bfc | [
"MIT"
] | 2 | 2020-09-28T03:32:15.000Z | 2020-12-13T02:38:17.000Z | tests/test_download.py | datalab42/kyd-downloader | 5de439d41998a6035527d0a6dfe8acded2798bfc | [
"MIT"
] | 2 | 2020-08-17T22:30:42.000Z | 2021-03-31T19:47:37.000Z | tests/test_download.py | datalab42/kyd-downloader | 5de439d41998a6035527d0a6dfe8acded2798bfc | [
"MIT"
] | 5 | 2020-07-21T20:14:00.000Z | 2021-09-09T07:59:09.000Z |
import sys
sys.path.append('../functions/')
import kyd.data.downloaders as dw
from kyd.data.logs import save_download_logs
import logging
import datetime
logging.basicConfig(level=logging.DEBUG)
# logging.basicConfig(level=logging.INFO)
dt = datetime.date(2020, 8, 2)
# with open('../config/td_ntnb.json') as fp:... | 31.661765 | 82 | 0.705527 | 330 | 2,153 | 4.324242 | 0.163636 | 0.092502 | 0.123336 | 0.098108 | 0.789068 | 0.789068 | 0.789068 | 0.789068 | 0.789068 | 0.789068 | 0 | 0.003834 | 0.151881 | 2,153 | 67 | 83 | 32.134328 | 0.777656 | 0.767766 | 0 | 0 | 0 | 0 | 0.08913 | 0.06087 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.416667 | 0 | 0.416667 | 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 | 1 | 0 | 0 | 0 | 0 | 6 |
20d089806a952e1c4e795a868f6e249e4ed0b659 | 5,823 | py | Python | accelbyte_py_sdk/api/dslogmanager/wrappers/_terminated_servers.py | AccelByte/accelbyte-python-sdk | dcd311fad111c59da828278975340fb92e0f26f7 | [
"MIT"
] | null | null | null | accelbyte_py_sdk/api/dslogmanager/wrappers/_terminated_servers.py | AccelByte/accelbyte-python-sdk | dcd311fad111c59da828278975340fb92e0f26f7 | [
"MIT"
] | 1 | 2021-10-13T03:46:58.000Z | 2021-10-13T03:46:58.000Z | accelbyte_py_sdk/api/dslogmanager/wrappers/_terminated_servers.py | AccelByte/accelbyte-python-sdk | dcd311fad111c59da828278975340fb92e0f26f7 | [
"MIT"
] | null | null | null | # Copyright (c) 2021 AccelByte Inc. All Rights Reserved.
# This is licensed software from AccelByte Inc, for limitations
# and restrictions contact your company contract manager.
#
# Code generated. DO NOT EDIT!
# template file: justice_py_sdk_codegen/__main__.py
# pylint: disable=duplicate-code
# pylint: disable=li... | 41.297872 | 552 | 0.720076 | 715 | 5,823 | 5.646154 | 0.165035 | 0.062423 | 0.111469 | 0.039633 | 0.75353 | 0.714144 | 0.714144 | 0.714144 | 0.69086 | 0.69086 | 0 | 0.000839 | 0.181693 | 5,823 | 140 | 553 | 41.592857 | 0.84638 | 0.131547 | 0 | 0.764706 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029412 | false | 0 | 0.117647 | 0 | 0.264706 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 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 |
20e00114254bf8ffdcd631495dfdc3475d332044 | 3,000 | py | Python | util/enums.py | Barry-Menglong-Yao/pytorch-spectral-normalization-gan | 4c669d26360383335642b7f4f43cb50446979a77 | [
"MIT"
] | 1 | 2021-12-28T16:28:54.000Z | 2021-12-28T16:28:54.000Z | util/enums.py | Barry-Menglong-Yao/pytorch-spectral-normalization-gan | 4c669d26360383335642b7f4f43cb50446979a77 | [
"MIT"
] | null | null | null | util/enums.py | Barry-Menglong-Yao/pytorch-spectral-normalization-gan | 4c669d26360383335642b7f4f43cb50446979a77 | [
"MIT"
] | null | null | null | from enum import Enum,auto
class DgmType(Enum):
VAE=(True)
GAN=(False)
GAN_VAE=(True)
autoencoder=(False)
def __init__(self,has_vae ):
self.has_vae=has_vae
class ModelAttribute(Enum):
SNGAN = (DgmType.GAN, "training.model.sngan.GeneratorImpl","training.model.sngan.DiscriminatorImpl"... | 69.767442 | 173 | 0.720667 | 442 | 3,000 | 4.638009 | 0.135747 | 0.160976 | 0.082439 | 0.096585 | 0.755122 | 0.72 | 0.72 | 0.72 | 0.709756 | 0.669268 | 0 | 0.034978 | 0.094667 | 3,000 | 43 | 174 | 69.767442 | 0.719809 | 0.004 | 0 | 0 | 0 | 0 | 0.39605 | 0.28758 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060606 | false | 0 | 0.030303 | 0 | 0.69697 | 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 |
afebc475169eff2cd158ef1c3671367f910059ea | 622 | py | Python | tests/test_addtest.py | shrek42/ispa-backend | 1fbdaa81aa49937b243bafb60c37a2dfed995d21 | [
"MIT"
] | null | null | null | tests/test_addtest.py | shrek42/ispa-backend | 1fbdaa81aa49937b243bafb60c37a2dfed995d21 | [
"MIT"
] | 1 | 2020-12-03T08:11:19.000Z | 2020-12-03T08:11:19.000Z | tests/test_addtest.py | shrek42/ispa-backend | 1fbdaa81aa49937b243bafb60c37a2dfed995d21 | [
"MIT"
] | null | null | null | import json
import pytest
from flask import url_for
def test_add_test_route(client):
h = {"Content-Type": "application/json"}
d = {"test_type": "aaa"}
res = client.post(url_for("test.test"), data=json.dumps(d), headers=h)
assert res.status_code == 201
h = {"Content-Type": "application/json"}
... | 27.043478 | 74 | 0.641479 | 93 | 622 | 4.16129 | 0.311828 | 0.062016 | 0.093023 | 0.178295 | 0.801034 | 0.801034 | 0.801034 | 0.801034 | 0.687339 | 0.687339 | 0 | 0.017717 | 0.18328 | 622 | 23 | 75 | 27.043478 | 0.744094 | 0 | 0 | 0.5 | 0 | 0 | 0.216693 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 1 | 0.0625 | false | 0 | 0.1875 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b3243bbcf64deb8416d380f90ac1dc05cee11929 | 6,800 | py | Python | util/cnn.py | jalonzou/snmn | 712945694a0b9733df6e2bcefa2e5ff90088480f | [
"BSD-2-Clause"
] | 71 | 2018-09-12T05:55:21.000Z | 2022-03-06T04:38:05.000Z | util/cnn.py | jalonzou/snmn | 712945694a0b9733df6e2bcefa2e5ff90088480f | [
"BSD-2-Clause"
] | 10 | 2018-09-28T20:02:06.000Z | 2020-01-20T03:41:56.000Z | util/cnn.py | jalonzou/snmn | 712945694a0b9733df6e2bcefa2e5ff90088480f | [
"BSD-2-Clause"
] | 7 | 2019-01-10T02:36:11.000Z | 2022-03-12T07:48:08.000Z | import tensorflow as tf
def conv_layer(name, bottom, kernel_size, stride, output_dim, padding='SAME',
bias_term=True, weights_initializer=None,
biases_initializer=None, reuse=None):
# input has shape [batch, in_height, in_width, in_channels]
input_dim = bottom.get_shape().as_lis... | 38.857143 | 79 | 0.656324 | 836 | 6,800 | 5.080144 | 0.099282 | 0.045208 | 0.05651 | 0.054391 | 0.819166 | 0.8081 | 0.782435 | 0.782435 | 0.772545 | 0.772545 | 0 | 0.004344 | 0.255294 | 6,800 | 174 | 80 | 39.08046 | 0.834321 | 0.078971 | 0 | 0.603053 | 0 | 0 | 0.010722 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076336 | false | 0 | 0.007634 | 0 | 0.160305 | 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 |
b33d5c28e37a29b24a300c75d1a8d46445e9ae33 | 231 | py | Python | Bottle_Building/admin.py | andrewnyhus/Bottle-Builder | 177e81a3dc29adab4c720e379921976169b21702 | [
"MIT"
] | null | null | null | Bottle_Building/admin.py | andrewnyhus/Bottle-Builder | 177e81a3dc29adab4c720e379921976169b21702 | [
"MIT"
] | null | null | null | Bottle_Building/admin.py | andrewnyhus/Bottle-Builder | 177e81a3dc29adab4c720e379921976169b21702 | [
"MIT"
] | null | null | null | from django.contrib import admin
from Bottle_Building.models import Bottle_Building
from Bottle_Building.models import Coordinates
# Register your models here.
admin.site.register(Bottle_Building)
admin.site.register(Coordinates)
| 28.875 | 50 | 0.857143 | 31 | 231 | 6.258065 | 0.419355 | 0.28866 | 0.185567 | 0.247423 | 0.309278 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08658 | 231 | 7 | 51 | 33 | 0.919431 | 0.112554 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b36ef4a78316919e2e951a602a4a5d7b92d597e0 | 50 | py | Python | solvency2sf/__init__.py | pdavidsonFIA/solvency2-sf | 4289d48cd570794573a41d177f6968d695da6d77 | [
"MIT"
] | null | null | null | solvency2sf/__init__.py | pdavidsonFIA/solvency2-sf | 4289d48cd570794573a41d177f6968d695da6d77 | [
"MIT"
] | 2 | 2021-11-29T06:25:36.000Z | 2022-01-01T16:04:09.000Z | solvency2sf/__init__.py | pdavidsonFIA/solvency2-sf | 4289d48cd570794573a41d177f6968d695da6d77 | [
"MIT"
] | 1 | 2021-08-02T14:59:08.000Z | 2021-08-02T14:59:08.000Z | from .scr_nl.premres.premres import scr_nl_premres | 50 | 50 | 0.88 | 9 | 50 | 4.555556 | 0.555556 | 0.243902 | 0.585366 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06 | 50 | 1 | 50 | 50 | 0.87234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 |
2fb5ecda9eb593c3a1bbd10cdfadb37361547f8c | 19 | py | Python | statsmodels/datasets/sunspots/__init__.py | toobaz/statsmodels | 5286dd713a809b0630232508bf9ad5104aae1980 | [
"BSD-3-Clause"
] | 10 | 2016-05-18T11:46:33.000Z | 2018-12-23T04:52:27.000Z | statsmodels/datasets/sunspots/__init__.py | AnaMP/statsmodels | 2d4aad9a14619ce0c84d4c7bca9dacd66b2be566 | [
"BSD-3-Clause"
] | 1 | 2021-09-11T14:30:32.000Z | 2021-09-11T14:30:32.000Z | statsmodels/datasets/sunspots/__init__.py | AnaMP/statsmodels | 2d4aad9a14619ce0c84d4c7bca9dacd66b2be566 | [
"BSD-3-Clause"
] | 3 | 2015-04-01T08:26:54.000Z | 2020-02-14T14:34:10.000Z | from data import *
| 9.5 | 18 | 0.736842 | 3 | 19 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 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 |
641fcce25f2b4e835bdaa41e12e51609dd2b6776 | 714,195 | py | Python | Custom/CountyAdjacency.py | JupyterJones/Covid-19_Research_Notebooks | dda72440b67ecb38002918563dd64e445a7e1114 | [
"CC0-1.0"
] | 1 | 2020-06-18T00:33:24.000Z | 2020-06-18T00:33:24.000Z | Custom/CountyAdjacency.py | JupyterJones/Covid-19_Research_Notebooks | dda72440b67ecb38002918563dd64e445a7e1114 | [
"CC0-1.0"
] | null | null | null | Custom/CountyAdjacency.py | JupyterJones/Covid-19_Research_Notebooks | dda72440b67ecb38002918563dd64e445a7e1114 | [
"CC0-1.0"
] | null | null | null | DATA = """
:|'Autauga County, AL' 01001 'Autauga County, AL' 01001
'Chilton County, AL' 01021
'Dallas County, AL' 01047
'Elmore County, AL' 01051
'Lowndes County, AL' 01085
'Montgomery County, AL' 01101
:|'Baldwin County, AL' 01003 'Baldwin County, AL' 01003
'Clarke County, AL' 01025
'Escambia County, AL' 01053
... | 32.166599 | 85 | 0.712084 | 103,675 | 714,195 | 4.905387 | 0.050832 | 0.031964 | 0.001628 | 0.000535 | 0.769676 | 0.752044 | 0.74892 | 0.74832 | 0.472717 | 0.436116 | 0 | 0.214946 | 0.171595 | 714,195 | 22,202 | 86 | 32.168048 | 0.644637 | 0.000101 | 0 | 0.851178 | 0 | 0 | 0.999979 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.00036 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6440cb26a088dc250580c8e7622d4ff796d8db9a | 188 | py | Python | pi4_software/timestamp.py | stuckatmarine/srauv-sim | 30f4bae5d22a4529233ffa2705d7631d048a8130 | [
"MIT"
] | 1 | 2020-11-01T13:39:42.000Z | 2020-11-01T13:39:42.000Z | pi4_software/timestamp.py | stuckatmarine/srauv-sim | 30f4bae5d22a4529233ffa2705d7631d048a8130 | [
"MIT"
] | null | null | null | pi4_software/timestamp.py | stuckatmarine/srauv-sim | 30f4bae5d22a4529233ffa2705d7631d048a8130 | [
"MIT"
] | null | null | null | import time
from datetime import datetime
def now_string():
return datetime.utcnow().strftime("%Y-%m-%d %H:%M:%S.%f")[:-3]
def now_int_ms():
return int(round(time.time() * 1000)) | 23.5 | 66 | 0.659574 | 31 | 188 | 3.903226 | 0.677419 | 0.099174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030864 | 0.138298 | 188 | 8 | 67 | 23.5 | 0.716049 | 0 | 0 | 0 | 0 | 0 | 0.10582 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
ff5a81469f69d49d3f2aa3d9b3220911b29f0a78 | 28 | py | Python | Python_Discord_Bot_JE/venv/Lib/site-packages/bs4/tests/__init__.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | Python_Discord_Bot_JE/venv/Lib/site-packages/bs4/tests/__init__.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | Python_Discord_Bot_JE/venv/Lib/site-packages/bs4/tests/__init__.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | "The beautifulsoup tests."
| 14 | 27 | 0.75 | 3 | 28 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.875 | 0.857143 | 0 | 0 | 0 | 0 | 0.888889 | 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 |
ff5ee628a0cf7ee80d8407136be844ec224093b9 | 160 | py | Python | aula50/aula50.1.py | jessicsous/Curso_Python | 94c9b70ec03022b21ac23bf85918aa20ce4cfdd1 | [
"MIT"
] | 1 | 2021-09-21T01:50:10.000Z | 2021-09-21T01:50:10.000Z | aula50/aula50.1.py | jessicsous/Curso_Python | 94c9b70ec03022b21ac23bf85918aa20ce4cfdd1 | [
"MIT"
] | null | null | null | aula50/aula50.1.py | jessicsous/Curso_Python | 94c9b70ec03022b21ac23bf85918aa20ce4cfdd1 | [
"MIT"
] | 1 | 2021-10-04T19:49:04.000Z | 2021-10-04T19:49:04.000Z | with open('abc.txt', 'w+') as file:
file.write('linha 1\n')
file.write('linha 2\n')
file.write('linha 3\n')
file.seek(0)
print(file.read()) | 22.857143 | 35 | 0.56875 | 28 | 160 | 3.25 | 0.607143 | 0.296703 | 0.461538 | 0.32967 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031496 | 0.20625 | 160 | 7 | 36 | 22.857143 | 0.685039 | 0 | 0 | 0 | 0 | 0 | 0.223602 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ffa6beadafc1af447b4f774413ade192b0137103 | 195 | py | Python | youtube_audio_telegram/emoji.py | DmitryBarskov/youtube-audio-telegram | 429b98731898f2d77cd47b8fc9ba6e7ae83893f5 | [
"MIT"
] | null | null | null | youtube_audio_telegram/emoji.py | DmitryBarskov/youtube-audio-telegram | 429b98731898f2d77cd47b8fc9ba6e7ae83893f5 | [
"MIT"
] | 2 | 2022-01-27T08:08:32.000Z | 2022-02-02T10:07:35.000Z | youtube_audio_telegram/emoji.py | DmitryBarskov/youtube-audio-telegram | 429b98731898f2d77cd47b8fc9ba6e7ae83893f5 | [
"MIT"
] | 1 | 2022-01-27T00:55:13.000Z | 2022-01-27T00:55:13.000Z | import random
def random_emoji() -> str:
return random.choice([
'😎', '🥰', '❤️', '😉', '😘', '😍', '😊', '☺️', '🙂',
'📺', '😋', '😚'
])
def sad_emoji() -> str:
return '🥺'
| 15 | 54 | 0.353846 | 27 | 195 | 3.037037 | 0.777778 | 0.195122 | 0.341463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.302564 | 195 | 12 | 55 | 16.25 | 0.492647 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.125 | 0.25 | 0.625 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 | 0 | 1 | 0 | 0 | 0 | 6 |
4416a1945c50b921668222d8a7fe0712fa514bb2 | 76 | py | Python | nmmo/entity/__init__.py | zhm9484/environment | b5f7e736821bc27522fd73eb1ab44ec2ed8e1ff4 | [
"MIT"
] | 230 | 2019-07-03T06:52:29.000Z | 2021-12-10T18:47:37.000Z | nmmo/entity/__init__.py | zhm9484/environment | b5f7e736821bc27522fd73eb1ab44ec2ed8e1ff4 | [
"MIT"
] | 16 | 2019-10-11T16:51:27.000Z | 2021-12-06T14:32:31.000Z | nmmo/entity/__init__.py | zhm9484/environment | b5f7e736821bc27522fd73eb1ab44ec2ed8e1ff4 | [
"MIT"
] | 40 | 2019-08-02T19:36:38.000Z | 2021-12-02T09:59:08.000Z | from nmmo.entity.entity import Entity
from nmmo.entity.player import Player
| 25.333333 | 37 | 0.842105 | 12 | 76 | 5.333333 | 0.416667 | 0.25 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 76 | 2 | 38 | 38 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4428a5486d10d1e5e738fce98a3f0e2d3b6a843a | 3,372 | py | Python | tests/project/ethpm/test_install_remove.py | ETCCooperative/brownie | 72701c0810058c769412294d4d557af52c9d9932 | [
"MIT"
] | null | null | null | tests/project/ethpm/test_install_remove.py | ETCCooperative/brownie | 72701c0810058c769412294d4d557af52c9d9932 | [
"MIT"
] | null | null | null | tests/project/ethpm/test_install_remove.py | ETCCooperative/brownie | 72701c0810058c769412294d4d557af52c9d9932 | [
"MIT"
] | null | null | null | #!/usr/bin/python3
import pytest
from brownie.project import ethpm
def test_install_package(tp_path):
assert ethpm.get_installed_packages(tp_path) == ([], [])
ethpm.install_package(tp_path, "ipfs://testipfs-math")
assert tp_path.joinpath("contracts/math/Math.sol").exists()
assert ethpm.get_installed... | 41.62963 | 99 | 0.698102 | 471 | 3,372 | 4.749469 | 0.121019 | 0.139473 | 0.104604 | 0.154224 | 0.883326 | 0.843093 | 0.821636 | 0.763523 | 0.740277 | 0.649978 | 0 | 0.01144 | 0.118624 | 3,372 | 80 | 100 | 42.15 | 0.741252 | 0.005042 | 0 | 0.561404 | 0 | 0 | 0.219141 | 0.123435 | 0 | 0 | 0 | 0 | 0.385965 | 1 | 0.140351 | false | 0 | 0.035088 | 0 | 0.175439 | 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 |
4467bdce2f9e6c4a6ba85115f0788c9a66609cbf | 21 | py | Python | python/bubbleSort/bubbleSort.py | we-developers-community/DataStructure-Algortihms | 6198ae2f204b4ed777d1d60013fd328dfee45bd2 | [
"MIT"
] | 2 | 2020-10-02T17:22:16.000Z | 2021-11-26T17:21:46.000Z | python/bubbleSort/bubbleSort.py | we-developers-community/DataStructure-Algortihms | 6198ae2f204b4ed777d1d60013fd328dfee45bd2 | [
"MIT"
] | 2 | 2020-10-12T11:30:22.000Z | 2020-10-29T06:11:14.000Z | python/bubbleSort/bubbleSort.py | we-developers-community/DataStructure-Algortihms | 6198ae2f204b4ed777d1d60013fd328dfee45bd2 | [
"MIT"
] | 3 | 2020-10-03T16:28:27.000Z | 2021-11-25T13:37:14.000Z | # Add your code here
| 10.5 | 20 | 0.714286 | 4 | 21 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 21 | 1 | 21 | 21 | 0.9375 | 0.857143 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | null | 1 | null | true | 0 | 0 | null | null | null | 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 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
921fee866b3746349881dac2a3d1d12ee2c7699e | 15,211 | py | Python | sdk/python/pulumi_wavefront/dashboard_json.py | pulumi/pulumi-wavefront | 1d199d386ee241fa2ef94553e6cae1359ec9ccf6 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2022-02-20T09:48:33.000Z | 2022-02-20T09:48:33.000Z | sdk/python/pulumi_wavefront/dashboard_json.py | pulumi/pulumi-wavefront | 1d199d386ee241fa2ef94553e6cae1359ec9ccf6 | [
"ECL-2.0",
"Apache-2.0"
] | 40 | 2020-08-12T08:37:24.000Z | 2022-03-31T15:51:17.000Z | sdk/python/pulumi_wavefront/dashboard_json.py | pulumi/pulumi-wavefront | 1d199d386ee241fa2ef94553e6cae1359ec9ccf6 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import ... | 39.406736 | 167 | 0.510815 | 1,187 | 15,211 | 6.362258 | 0.213142 | 0.075742 | 0.027807 | 0.025953 | 0.771451 | 0.748411 | 0.739142 | 0.723517 | 0.716764 | 0.704846 | 0 | 0.008307 | 0.390638 | 15,211 | 385 | 168 | 39.509091 | 0.806452 | 0.594898 | 0 | 0.425287 | 1 | 0 | 0.110457 | 0.010555 | 0 | 0 | 0 | 0 | 0 | 1 | 0.137931 | false | 0.011494 | 0.057471 | 0 | 0.275862 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9222b406b02fd7482a1e2711b98814cb8fcb6c15 | 291 | py | Python | CA117/Lab_8/runners_51.py | PRITI1999/OneLineWonders | 91a7368e0796e5a3b5839c9165f9fbe5460879f5 | [
"MIT"
] | 6 | 2016-02-04T00:15:20.000Z | 2019-10-13T13:53:16.000Z | CA117/Lab_8/runners_51.py | PRITI1999/OneLineWonders | 91a7368e0796e5a3b5839c9165f9fbe5460879f5 | [
"MIT"
] | 2 | 2016-03-14T04:01:36.000Z | 2019-10-16T12:45:34.000Z | CA117/Lab_8/runners_51.py | PRITI1999/OneLineWonders | 91a7368e0796e5a3b5839c9165f9fbe5460879f5 | [
"MIT"
] | 10 | 2016-02-09T14:38:32.000Z | 2021-05-25T08:16:26.000Z | (lambda R:(lambda R,r:print(r+" : "+R[r]))(R,min(R,key=lambda k:(lambda m,s:not(m+s).isdigit()and 999or int(m)*60+int(s))(*R[k].split(":")))))({R[0]:min(R[1:],key=lambda t:(lambda m,s:(m+s).isdigit()and int(m)*60+int(s))(*t.split(":")))for x in __import__("sys").stdin for R in[x.split()]})
| 145.5 | 290 | 0.591065 | 65 | 291 | 2.584615 | 0.369231 | 0.047619 | 0.035714 | 0.142857 | 0.119048 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032967 | 0.061856 | 291 | 1 | 291 | 291 | 0.582418 | 0 | 0 | 0 | 0 | 0 | 0.027491 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 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 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
922b42d3b3bf34e223642cbd9ba347fd18730bf4 | 99 | py | Python | pavo_cristatus/tests/doubles/module_fakes/annotated/module_fake_with_symbols_of_interest_set_to_variables.py | MATTHEWFRAZER/pavo_cristatus | a4b96c0eb6c454fbe38d2092e29f63457a4ee955 | [
"MIT"
] | null | null | null | pavo_cristatus/tests/doubles/module_fakes/annotated/module_fake_with_symbols_of_interest_set_to_variables.py | MATTHEWFRAZER/pavo_cristatus | a4b96c0eb6c454fbe38d2092e29f63457a4ee955 | [
"MIT"
] | null | null | null | pavo_cristatus/tests/doubles/module_fakes/annotated/module_fake_with_symbols_of_interest_set_to_variables.py | MATTHEWFRAZER/pavo_cristatus | a4b96c0eb6c454fbe38d2092e29f63457a4ee955 | [
"MIT"
] | null | null | null | def symbol_of_interest(a : int, b : str) -> bool: pass
non_symbol_of_interest = symbol_of_interest | 33 | 54 | 0.777778 | 17 | 99 | 4.117647 | 0.647059 | 0.342857 | 0.685714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131313 | 99 | 3 | 55 | 33 | 0.813953 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
9292dc3fb4e3085de12b95ecb88ed0bed61f8c27 | 155 | py | Python | src/ssp/spark/streaming/analytics/__init__.py | gyan42/spark-streaming-playground | 147ef9cbc31b7aed242663dee36143ebf0e8043f | [
"Apache-2.0"
] | 10 | 2020-03-12T11:51:46.000Z | 2022-03-24T04:56:05.000Z | src/ssp/spark/streaming/analytics/__init__.py | gyan42/spark-streaming-playground | 147ef9cbc31b7aed242663dee36143ebf0e8043f | [
"Apache-2.0"
] | 12 | 2020-04-23T07:28:14.000Z | 2022-03-12T00:20:24.000Z | src/ssp/spark/streaming/analytics/__init__.py | gyan42/spark-streaming-playground | 147ef9cbc31b7aed242663dee36143ebf0e8043f | [
"Apache-2.0"
] | 1 | 2020-04-20T14:48:38.000Z | 2020-04-20T14:48:38.000Z | from ssp.spark.streaming.analytics.sentiment_analysis import SentimentAnalysis
from ssp.spark.streaming.analytics.trending_hashtags import TrendingHashTags | 77.5 | 78 | 0.903226 | 18 | 155 | 7.666667 | 0.666667 | 0.101449 | 0.173913 | 0.304348 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045161 | 155 | 2 | 79 | 77.5 | 0.932432 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2bd970697cfd6d1d10c1c59763da3d6b09977819 | 8,096 | py | Python | bin/ADFRsuite/CCSBpckgs/UTpackages/UTblur/test_blur.py | AngelRuizMoreno/Jupyter_Dock_devel | 6d23bc174d5294d1e9909a0a1f9da0713042339e | [
"MIT"
] | null | null | null | bin/ADFRsuite/CCSBpckgs/UTpackages/UTblur/test_blur.py | AngelRuizMoreno/Jupyter_Dock_devel | 6d23bc174d5294d1e9909a0a1f9da0713042339e | [
"MIT"
] | null | null | null | bin/ADFRsuite/CCSBpckgs/UTpackages/UTblur/test_blur.py | AngelRuizMoreno/Jupyter_Dock_devel | 6d23bc174d5294d1e9909a0a1f9da0713042339e | [
"MIT"
] | 1 | 2021-11-04T21:48:14.000Z | 2021-11-04T21:48:14.000Z |
radii=[1.62,1.75,1.88,1.48,1.75,1.56,1.75,1.62,1.75,1.88,1.48,1.75,1.56,1.75,1.62,1.75,1.88,1.48,1.75,1.77,1.62,1.75,1.88,1.48,1.75,1.77,1.62,1.75,1.88,1.48,1.75,1.75,1.75,1.62,1.75,1.88,1.48,1.75,1.56,1.62,1.75,1.88,1.48,1.75,1.75,1.75,1.75,1.62,1.75,1.88,1.48,1.75,1.75,1.75,1.62,1.75,1.88,1.48,1.75,1.62,1.75,1.88,1.... | 404.8 | 6,029 | 0.572011 | 2,687 | 8,096 | 1.723483 | 0.048753 | 0.085511 | 0.113151 | 0.066076 | 0.211401 | 0.211401 | 0.211401 | 0.211401 | 0.211401 | 0.211401 | 0 | 0.542953 | 0.007905 | 8,096 | 19 | 6,030 | 426.105263 | 0.033616 | 0.003829 | 0 | 0 | 0 | 0 | 0.000124 | 0 | 0 | 0 | 0 | 0 | 0.375 | 0 | null | null | 0 | 0.125 | null | null | 0.125 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2bfc1f70a4087b9d74adff60184ef3279b55bc91 | 6,635 | py | Python | tests/test_pinging.py | ployt0/server_monitor | 835e48ed317b4b069ebd66675ca2d1b3120770c0 | [
"MIT"
] | null | null | null | tests/test_pinging.py | ployt0/server_monitor | 835e48ed317b4b069ebd66675ca2d1b3120770c0 | [
"MIT"
] | null | null | null | tests/test_pinging.py | ployt0/server_monitor | 835e48ed317b4b069ebd66675ca2d1b3120770c0 | [
"MIT"
] | null | null | null | import subprocess
from unittest.mock import Mock, patch, sentinel
from generalised_functions import ErrorHandler, ping, get_ping_latencies
STDOUT_WINDOWS_ONLINE = \
b'\r\nPinging 8.8.8.8 with 32 bytes of data:\r\nReply from 8.8.8.8: bytes=32 time=16ms TTL=119\r\nReply from ' \
b'8.8.8.8: bytes=32 time=15ms TT... | 45.136054 | 121 | 0.725697 | 1,033 | 6,635 | 4.459826 | 0.123911 | 0.027784 | 0.028652 | 0.020838 | 0.830692 | 0.812459 | 0.757326 | 0.726937 | 0.700456 | 0.683959 | 0 | 0.078514 | 0.140015 | 6,635 | 146 | 122 | 45.445205 | 0.728882 | 0 | 0 | 0.598361 | 0 | 0.147541 | 0.392766 | 0.097061 | 0 | 0 | 0 | 0 | 0.204918 | 1 | 0.07377 | false | 0 | 0.02459 | 0 | 0.098361 | 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 |
a601398b44486953cc3cf6de462f4020e24ef3ff | 93 | py | Python | amocrm_api_client/make_amocrm_request/core/__init__.py | iqtek/amocrm_api_client | 910ea42482698f5eb47d6b6e12d52ec09af77a3e | [
"MIT"
] | null | null | null | amocrm_api_client/make_amocrm_request/core/__init__.py | iqtek/amocrm_api_client | 910ea42482698f5eb47d6b6e12d52ec09af77a3e | [
"MIT"
] | null | null | null | amocrm_api_client/make_amocrm_request/core/__init__.py | iqtek/amocrm_api_client | 910ea42482698f5eb47d6b6e12d52ec09af77a3e | [
"MIT"
] | null | null | null | from .exceptions import *
from .IMakeAmocrmRequestFunction import IMakeAmocrmRequestFunction
| 31 | 66 | 0.88172 | 7 | 93 | 11.714286 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086022 | 93 | 2 | 67 | 46.5 | 0.964706 | 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 |
a6a6a1c18821bb0c163556b2e0e976bbd96982ca | 240 | py | Python | Modulos/Modulo_Persona.py | Antonio985/SeminarioDeProgramacion | a1bdd7fa6fa202a0a7a2e9a0f72def24d0f1c465 | [
"Unlicense"
] | null | null | null | Modulos/Modulo_Persona.py | Antonio985/SeminarioDeProgramacion | a1bdd7fa6fa202a0a7a2e9a0f72def24d0f1c465 | [
"Unlicense"
] | null | null | null | Modulos/Modulo_Persona.py | Antonio985/SeminarioDeProgramacion | a1bdd7fa6fa202a0a7a2e9a0f72def24d0f1c465 | [
"Unlicense"
] | null | null | null | #Creacion de la clase
class Persona:
def __init__(self, nombre, edad):
self.__nombre = nombre
self.__edad = edad
def __str__(self):
return "Nombre: "+self.__nombre+" y edad : "+str(self.__edad)
| 26.666667 | 70 | 0.591667 | 29 | 240 | 4.344828 | 0.482759 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.295833 | 240 | 9 | 71 | 26.666667 | 0.745562 | 0.083333 | 0 | 0 | 0 | 0 | 0.086364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
a6b74d59aabedbc0fe21816076b6e2242463c897 | 12,920 | py | Python | models/sasa.py | wesleyktatum/bms_kaggle | 679c23b53ecbcf12ebd84a84a8619adc5f6a4ab2 | [
"Apache-2.0"
] | 1 | 2021-03-17T21:13:09.000Z | 2021-03-17T21:13:09.000Z | models/sasa.py | wesleyktatum/bms_kaggle | 679c23b53ecbcf12ebd84a84a8619adc5f6a4ab2 | [
"Apache-2.0"
] | null | null | null | models/sasa.py | wesleyktatum/bms_kaggle | 679c23b53ecbcf12ebd84a84a8619adc5f6a4ab2 | [
"Apache-2.0"
] | null | null | null | import torch
import torch.nn as nn
import torch.nn.functional as F
import torch.nn.init as init
import math
### Attention Layers
class AttentionConv(nn.Module):
def __init__(self, in_channels, out_channels, kernel_size, stride=1, padding=0, groups=1, bias=False):
super().__init__()
self.out_chann... | 40 | 135 | 0.602012 | 1,768 | 12,920 | 4.210973 | 0.085973 | 0.062055 | 0.026192 | 0.028207 | 0.844325 | 0.830356 | 0.809537 | 0.782942 | 0.760913 | 0.743452 | 0 | 0.035325 | 0.26161 | 12,920 | 322 | 136 | 40.124224 | 0.745073 | 0.053638 | 0 | 0.592275 | 0 | 0 | 0.045097 | 0 | 0 | 0 | 0 | 0 | 0.008584 | 1 | 0.072961 | false | 0 | 0.021459 | 0 | 0.175966 | 0.103004 | 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 |
5b63562e0b15a1679e08bdf77f7abc2811b8e390 | 96 | py | Python | venv/lib/python3.8/site-packages/clikit/api/io/io_exception.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/clikit/api/io/io_exception.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/clikit/api/io/io_exception.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/db/7b/40/84391380ca59c370151c042dc03b0bc6b31c4849850ea8408f4cda5353 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.458333 | 0 | 96 | 1 | 96 | 96 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5b9fa7d3b9178dc661a651cad0a0a17f3acad045 | 11,227 | py | Python | comanage_api/_cous.py | fabric-testbed/python-comanage-api | 31e5f0478a907aceb966441b60cacb4fcfe1f255 | [
"MIT"
] | null | null | null | comanage_api/_cous.py | fabric-testbed/python-comanage-api | 31e5f0478a907aceb966441b60cacb4fcfe1f255 | [
"MIT"
] | 6 | 2021-09-14T20:37:28.000Z | 2021-10-12T15:35:56.000Z | comanage_api/_cous.py | fabric-testbed/python-comanage-api | 31e5f0478a907aceb966441b60cacb4fcfe1f255 | [
"MIT"
] | null | null | null | # comanage_api/_cous.py
"""
COU API - https://spaces.at.internet2.edu/display/COmanage/COU+API
Methods
-------
cous_add(name: str, description: str, parent_id: int = None) -> dict
Add a new Cou.
cous_delete(cou_id: int) -> bool
Remove a Cou.
cous_edit(cou_id: int, name: str = None, description: str = None, pa... | 31.625352 | 115 | 0.447582 | 1,111 | 11,227 | 4.390639 | 0.138614 | 0.02952 | 0.027675 | 0.03731 | 0.881304 | 0.827593 | 0.806273 | 0.780648 | 0.730217 | 0.719557 | 0 | 0.043935 | 0.448562 | 11,227 | 354 | 116 | 31.714689 | 0.743983 | 0.634809 | 0 | 0.598131 | 0 | 0 | 0.097129 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.056075 | false | 0 | 0.009346 | 0 | 0.121495 | 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 |
5ba672db356b545612ae4bd7a75a0a3640041d88 | 44 | py | Python | divide.py | AdvaitShiralkar/calculatorpython | 4c9de99c217f2210f574f9c329af887ce728b3dd | [
"MIT"
] | null | null | null | divide.py | AdvaitShiralkar/calculatorpython | 4c9de99c217f2210f574f9c329af887ce728b3dd | [
"MIT"
] | null | null | null | divide.py | AdvaitShiralkar/calculatorpython | 4c9de99c217f2210f574f9c329af887ce728b3dd | [
"MIT"
] | null | null | null | def divide_2(number):
return number/2
| 14.666667 | 22 | 0.681818 | 7 | 44 | 4.142857 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.227273 | 44 | 2 | 23 | 22 | 0.794118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
5bdabd8e39145c908f339765dbeec38081a84fdd | 9,849 | py | Python | autolens/lens/plotters/plane_plotters.py | AshKelly/PyAutoLens | 043795966338a655339e61782253ad67cc3c14e6 | [
"MIT"
] | null | null | null | autolens/lens/plotters/plane_plotters.py | AshKelly/PyAutoLens | 043795966338a655339e61782253ad67cc3c14e6 | [
"MIT"
] | null | null | null | autolens/lens/plotters/plane_plotters.py | AshKelly/PyAutoLens | 043795966338a655339e61782253ad67cc3c14e6 | [
"MIT"
] | null | null | null | from matplotlib import pyplot as plt
from autolens.data.array.plotters import plotter_util, grid_plotters, array_plotters
def plot_image_plane_image(
plane, mask=None, extract_array_from_mask=False, zoom_around_mask=False, positions=None, grid=None,
as_subplot=False,
units='arcsec', figsize=(... | 60.054878 | 110 | 0.740075 | 1,336 | 9,849 | 5.147455 | 0.071108 | 0.040715 | 0.046532 | 0.043624 | 0.858223 | 0.858223 | 0.83961 | 0.811691 | 0.795405 | 0.795405 | 0 | 0.023119 | 0.156767 | 9,849 | 163 | 111 | 60.423313 | 0.804937 | 0 | 0 | 0.547445 | 0 | 0 | 0.046401 | 0.00731 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058394 | false | 0 | 0.014599 | 0 | 0.072993 | 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 |
5bec3dc3aa7b65f8bf8c058e4358e50f903bc0de | 134 | py | Python | pyod/__init__.py | GBR-613/pyod | bfbb297ac067c47488bcade77669c99de5a4838a | [
"BSD-2-Clause"
] | 5,126 | 2018-11-09T06:05:38.000Z | 2022-03-31T14:25:14.000Z | pyod/__init__.py | durgeshsamariya/pyod | dfafc57f74dc3d49d0166f21ab2ddb97e3d1d898 | [
"BSD-2-Clause"
] | 325 | 2018-11-14T20:02:39.000Z | 2022-03-30T22:49:38.000Z | pyod/__init__.py | durgeshsamariya/pyod | dfafc57f74dc3d49d0166f21ab2ddb97e3d1d898 | [
"BSD-2-Clause"
] | 1,049 | 2018-11-09T06:12:12.000Z | 2022-03-31T06:21:28.000Z | # -*- coding: utf-8 -*-
from . import models
from . import utils
# TODO: add version information here
__all__ = ['models', 'utils']
| 16.75 | 36 | 0.656716 | 17 | 134 | 4.941176 | 0.764706 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009174 | 0.186567 | 134 | 7 | 37 | 19.142857 | 0.761468 | 0.41791 | 0 | 0 | 0 | 0 | 0.146667 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7504e1b427fe702f84027b908476ba73c3304000 | 71 | py | Python | src/utils/Reload.py | paulpatault/PathFinding-Visualisation | 4b0bd7b6d5c32a8543684ac02e169b722bb2e970 | [
"MIT"
] | null | null | null | src/utils/Reload.py | paulpatault/PathFinding-Visualisation | 4b0bd7b6d5c32a8543684ac02e169b722bb2e970 | [
"MIT"
] | null | null | null | src/utils/Reload.py | paulpatault/PathFinding-Visualisation | 4b0bd7b6d5c32a8543684ac02e169b722bb2e970 | [
"MIT"
] | null | null | null | def reload():
from utils.Colors import Colors
Colors.reload()
| 14.2 | 35 | 0.676056 | 9 | 71 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225352 | 71 | 4 | 36 | 17.75 | 0.872727 | 0 | 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 | 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 |
f33e5e6c5893429ed271ebc337ec6887b795ae6c | 23,750 | py | Python | python/friesian/example/dien/model.py | DirkFi/BigDL | 7493209165c046116470b9a1e1c8f527915d6f1e | [
"Apache-2.0"
] | 3 | 2021-07-14T01:28:47.000Z | 2022-03-02T01:16:32.000Z | python/friesian/example/dien/model.py | DirkFi/BigDL | 7493209165c046116470b9a1e1c8f527915d6f1e | [
"Apache-2.0"
] | null | null | null | python/friesian/example/dien/model.py | DirkFi/BigDL | 7493209165c046116470b9a1e1c8f527915d6f1e | [
"Apache-2.0"
] | null | null | null | #
# Copyright 2016 The BigDL Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | 54.849885 | 100 | 0.571411 | 2,918 | 23,750 | 4.314599 | 0.093215 | 0.033678 | 0.022875 | 0.028912 | 0.855917 | 0.805957 | 0.769817 | 0.737411 | 0.707863 | 0.689992 | 0 | 0.019058 | 0.330568 | 23,750 | 432 | 101 | 54.976852 | 0.772816 | 0.076 | 0 | 0.511254 | 0 | 0 | 0.040111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051447 | false | 0 | 0.009646 | 0 | 0.109325 | 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 |
f34171ddab7c8036075720e28b6d7310a4316da9 | 1,895 | py | Python | test/test_graph_setcoef.py | zqsh/cbp | 4456a93a83f717395bd2445e1ba37f1dd17c317c | [
"MIT"
] | 3 | 2020-09-10T16:06:45.000Z | 2021-08-04T20:08:43.000Z | test/test_graph_setcoef.py | zqsh/cbp | 4456a93a83f717395bd2445e1ba37f1dd17c317c | [
"MIT"
] | null | null | null | test/test_graph_setcoef.py | zqsh/cbp | 4456a93a83f717395bd2445e1ba37f1dd17c317c | [
"MIT"
] | 2 | 2022-02-07T22:28:44.000Z | 2022-02-09T12:10:13.000Z | import unittest
from cbp.graph.coef_policy import avg_policy, bp_policy
from .utils import six_node_graph
class TestSetCNPCoef(unittest.TestCase):
def setUp(self):
self.graph = six_node_graph()
def test_avg_policy(self):
self.graph.coef_policy = avg_policy
self.graph.init_node_recor... | 37.9 | 73 | 0.661214 | 252 | 1,895 | 4.662698 | 0.18254 | 0.153191 | 0.212766 | 0.255319 | 0.806809 | 0.806809 | 0.737872 | 0.694468 | 0.693617 | 0.641702 | 0 | 0.055102 | 0.224274 | 1,895 | 49 | 74 | 38.673469 | 0.744218 | 0 | 0 | 0.475 | 0 | 0 | 0.11715 | 0 | 0 | 0 | 0 | 0 | 0.275 | 1 | 0.075 | false | 0 | 0.075 | 0 | 0.175 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f398f2c69ca217ea303be28466936411a7768f90 | 43 | py | Python | django_datatables/colour_rows.py | jonesim/django-datatables | 69bab121ab76b5e785099687d0dd9ae61b8f8e58 | [
"MIT"
] | 7 | 2020-12-04T16:16:16.000Z | 2022-01-23T19:29:32.000Z | django_datatables/colour_rows.py | jonesim/django-datatables | 69bab121ab76b5e785099687d0dd9ae61b8f8e58 | [
"MIT"
] | null | null | null | django_datatables/colour_rows.py | jonesim/django-datatables | 69bab121ab76b5e785099687d0dd9ae61b8f8e58 | [
"MIT"
] | 1 | 2020-12-04T16:16:22.000Z | 2020-12-04T16:16:22.000Z | from .plugins.colour_rows import ColourRows | 43 | 43 | 0.883721 | 6 | 43 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 43 | 1 | 43 | 43 | 0.925 | 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 |
34508eaa4c622e3fd496405cf56c105ede703818 | 222 | py | Python | controller/__init__.py | rajun1971/SpeechRecognitionWar | f3f1311d32aca795082884c40db1862b994f76c4 | [
"MIT"
] | 1 | 2020-05-27T05:23:23.000Z | 2020-05-27T05:23:23.000Z | controller/__init__.py | rajun1971/SpeechRecognitionWar | f3f1311d32aca795082884c40db1862b994f76c4 | [
"MIT"
] | 3 | 2019-09-15T02:03:53.000Z | 2021-04-30T20:55:33.000Z | controller/__init__.py | rajun1971/SpeechRecognitionWar | f3f1311d32aca795082884c40db1862b994f76c4 | [
"MIT"
] | null | null | null | from .createsessionhandler import CreateSessionHandler
from .startrecognitionhandler import StartRecognitionHandler
from .stoprecognitionhandler import StopRecognitionHandler
from .websockethandler import WebSocketHandler
| 44.4 | 60 | 0.90991 | 16 | 222 | 12.625 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072072 | 222 | 4 | 61 | 55.5 | 0.980583 | 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 |
345b4cff67154cedf5ffb7c39207b28dec0519f8 | 19,065 | py | Python | code/tests/unit/api/test_enrich.py | CiscoSecurity/tr-05-serverless-abuseipdb | 9fefcd6e60ce2870d5f214de1f77aa9d766475cd | [
"MIT"
] | 1 | 2020-08-25T17:32:40.000Z | 2020-08-25T17:32:40.000Z | code/tests/unit/api/test_enrich.py | CiscoSecurity/tr-05-serverless-abuseipdb | 9fefcd6e60ce2870d5f214de1f77aa9d766475cd | [
"MIT"
] | 1 | 2020-03-24T09:03:02.000Z | 2020-03-24T09:03:02.000Z | code/tests/unit/api/test_enrich.py | CiscoSecurity/tr-05-serverless-abuseipdb | 9fefcd6e60ce2870d5f214de1f77aa9d766475cd | [
"MIT"
] | 2 | 2020-03-16T13:49:18.000Z | 2020-12-09T00:48:42.000Z | from http import HTTPStatus
from jwt import InvalidSignatureError
from pytest import fixture
from unittest import mock
from requests.exceptions import SSLError, ConnectionError, InvalidURL
from .utils import headers
from tests.unit.mock_for_tests import (
EXPECTED_RESPONSE_DELIBERATE,
EXPECTED_RESPONSE_AUTH_E... | 32.814114 | 79 | 0.660268 | 2,244 | 19,065 | 5.268271 | 0.072638 | 0.045339 | 0.046946 | 0.045678 | 0.801556 | 0.771189 | 0.750719 | 0.742514 | 0.724074 | 0.701658 | 0 | 0.012572 | 0.232311 | 19,065 | 580 | 80 | 32.87069 | 0.795163 | 0 | 0 | 0.559361 | 0 | 0 | 0.076528 | 0.014215 | 0 | 0 | 0 | 0 | 0.205479 | 1 | 0.063927 | false | 0 | 0.015982 | 0.009132 | 0.093607 | 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 |
346e5a8a7b1699d94e9a2d957802b403ad5a6134 | 184 | py | Python | juniper_official/Chassis/used-percentage.py | brahmastra2016/healthbot-rules | 1d24acd298266c39d6adb139ff47d14f8b2d452a | [
"Apache-2.0",
"BSD-3-Clause"
] | 43 | 2018-11-27T00:42:45.000Z | 2022-02-24T01:19:39.000Z | juniper_official/Chassis/used-percentage.py | brahmastra2016/healthbot-rules | 1d24acd298266c39d6adb139ff47d14f8b2d452a | [
"Apache-2.0",
"BSD-3-Clause"
] | 266 | 2018-10-26T10:19:04.000Z | 2022-03-16T04:38:29.000Z | juniper_official/Chassis/used-percentage.py | brahmastra2016/healthbot-rules | 1d24acd298266c39d6adb139ff47d14f8b2d452a | [
"Apache-2.0",
"BSD-3-Clause"
] | 99 | 2018-10-25T09:53:55.000Z | 2021-12-07T09:51:59.000Z | from __future__ import division
'''
This function returns used% out of total available
'''
def used_percentage(total, used, **kwargs):
return int(float(used)/float(total)*100)
| 26.285714 | 50 | 0.728261 | 25 | 184 | 5.16 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019231 | 0.152174 | 184 | 6 | 51 | 30.666667 | 0.807692 | 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 |
cab198e3c14801b784dffec8c932b99603153881 | 36 | py | Python | tests/fixtures/builtin.py | WillDaSilva/mkdocstrings | 678ebd73624a9847654efabc023309194f033510 | [
"ISC"
] | 354 | 2021-02-15T12:43:47.000Z | 2022-03-30T23:37:32.000Z | tests/fixtures/builtin.py | WillDaSilva/mkdocstrings | 678ebd73624a9847654efabc023309194f033510 | [
"ISC"
] | 216 | 2019-12-22T22:45:39.000Z | 2021-02-09T21:41:07.000Z | tests/fixtures/builtin.py | WillDaSilva/mkdocstrings | 678ebd73624a9847654efabc023309194f033510 | [
"ISC"
] | 49 | 2021-02-17T14:37:13.000Z | 2022-03-22T00:50:25.000Z | def func(foo=print):
"""test"""
| 12 | 20 | 0.527778 | 5 | 36 | 3.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194444 | 36 | 2 | 21 | 18 | 0.655172 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | false | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 6 |
1b153111437741cddba1de117ba0b648ba862612 | 760 | py | Python | octicons16px/comment_discussion.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | 1 | 2021-01-28T06:47:39.000Z | 2021-01-28T06:47:39.000Z | octicons16px/comment_discussion.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | null | null | null | octicons16px/comment_discussion.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | null | null | null |
OCTICON_COMMENT_DISCUSSION = """
<svg class="octicon octicon-discussion" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M1.5 2.75a.25.25 0 01.25-.25h8.5a.25.25 0 01.25.25v5.5a.25.25 0 01-.25.25h-3.5a.75.75 0 00-.53.22L3.5 11.44V9.25a.75.75 0 00-.75-.75h-1a.25... | 152 | 721 | 0.676316 | 202 | 760 | 2.534653 | 0.420792 | 0.052734 | 0.058594 | 0.054688 | 0.199219 | 0.042969 | 0 | 0 | 0 | 0 | 0 | 0.502933 | 0.102632 | 760 | 4 | 722 | 190 | 0.247801 | 0 | 0 | 0 | 0 | 0.333333 | 0.952569 | 0.12253 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1b621598273d195cbf33f7c5e6710979cf0a4b2d | 27 | py | Python | tests/version_consistency/dummy_test.py | ldelebec/asteroid | d6390baca5409634f112ceed554ea66c4054cb54 | [
"MIT"
] | 722 | 2020-12-01T06:49:47.000Z | 2022-03-31T12:44:53.000Z | tests/version_consistency/dummy_test.py | ldelebec/asteroid | d6390baca5409634f112ceed554ea66c4054cb54 | [
"MIT"
] | 235 | 2020-03-02T12:57:07.000Z | 2020-11-30T20:11:18.000Z | tests/version_consistency/dummy_test.py | ldelebec/asteroid | d6390baca5409634f112ceed554ea66c4054cb54 | [
"MIT"
] | 176 | 2020-12-01T00:10:30.000Z | 2022-03-30T10:38:19.000Z | def dummy_test():
pass
| 9 | 17 | 0.62963 | 4 | 27 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.259259 | 27 | 2 | 18 | 13.5 | 0.8 | 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 |
1ba1219a92ce71c138b3222b15be230742b0ea6f | 117 | py | Python | thirdeye/__init__.py | jaganadhg/sdcnd_p1_lld | 74e6c9c4e7c5b03bbba0aab1e4eda31b53d7eb2d | [
"MIT"
] | null | null | null | thirdeye/__init__.py | jaganadhg/sdcnd_p1_lld | 74e6c9c4e7c5b03bbba0aab1e4eda31b53d7eb2d | [
"MIT"
] | null | null | null | thirdeye/__init__.py | jaganadhg/sdcnd_p1_lld | 74e6c9c4e7c5b03bbba0aab1e4eda31b53d7eb2d | [
"MIT"
] | null | null | null | #!/usr/bin/env python
from pipeline import *
from linedrawer import *
from pputil import *
from lineutil import * | 13 | 24 | 0.74359 | 16 | 117 | 5.4375 | 0.625 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 117 | 9 | 25 | 13 | 0.90625 | 0.17094 | 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 |
941a31a3e816edb13cb8f991c02e11d4d7f85894 | 917 | py | Python | generate.py | yashgarg2107/Index-structures-for-k-NN-search | 25efa4582de4a933d64ee0ff7a600ce5887ed322 | [
"MIT"
] | null | null | null | generate.py | yashgarg2107/Index-structures-for-k-NN-search | 25efa4582de4a933d64ee0ff7a600ce5887ed322 | [
"MIT"
] | null | null | null | generate.py | yashgarg2107/Index-structures-for-k-NN-search | 25efa4582de4a933d64ee0ff7a600ce5887ed322 | [
"MIT"
] | null | null | null | import numpy as np
dims = 1+np.array(range(20))
nums = 100000
quer = 100
for i in dims:
mat = np.random.uniform(0.0,1.0,(nums,i))
with open(str(i)+"_dim_data.txt","w+") as out:
out.write(str(i)+" "+str(nums)+"\n")
np.savetxt(out, mat, delimiter=" ",fmt='%.10f')
for i in dims:
mat = np.random.uniform(0.0,1.0,(... | 23.512821 | 49 | 0.597601 | 176 | 917 | 3.068182 | 0.215909 | 0.059259 | 0.044444 | 0.074074 | 0.914815 | 0.851852 | 0.851852 | 0.851852 | 0.833333 | 0.833333 | 0 | 0.049242 | 0.136314 | 917 | 39 | 50 | 23.512821 | 0.632576 | 0 | 0 | 0.285714 | 0 | 0 | 0.104034 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.071429 | 0 | 0.071429 | 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 |
84779938e188f8c3f0d9cd3eb65524de3ebf2f85 | 13,181 | py | Python | test_RB_tree.py | bogdanov978/RB_tree | d8463d9e95ec6ae41aa0e6eff1e68c0f34e2fb2a | [
"MIT"
] | null | null | null | test_RB_tree.py | bogdanov978/RB_tree | d8463d9e95ec6ae41aa0e6eff1e68c0f34e2fb2a | [
"MIT"
] | null | null | null | test_RB_tree.py | bogdanov978/RB_tree | d8463d9e95ec6ae41aa0e6eff1e68c0f34e2fb2a | [
"MIT"
] | null | null | null | # encoding - UTF-8
from unittest import TestCase
from RB_tree import RbTree
class TestRbTree_insert(TestCase):
def test_insert_left_red_right(self):
# вставка нового элемента в качестве левого потомка красного узла, который является правым потомком своего родителя
vals = [20, 15, 21, 18]
t... | 39.942424 | 203 | 0.600789 | 1,842 | 13,181 | 4.237242 | 0.112378 | 0.062012 | 0.022293 | 0.037156 | 0.818322 | 0.78296 | 0.757207 | 0.749776 | 0.740295 | 0.721973 | 0 | 0.095238 | 0.291025 | 13,181 | 329 | 204 | 40.06383 | 0.739968 | 0.362643 | 0 | 0.627907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15814 | 1 | 0.139535 | false | 0 | 0.009302 | 0.004651 | 0.181395 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.