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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b8eeae7341e09cf8d911ebd5985806f15f14f470 | 15,085 | py | Python | fs/copy.py | dhirschfeld/pyfilesystem2 | b2c0d96f55d4dfe777b4f9476676b77d01f36bf7 | [
"MIT"
] | null | null | null | fs/copy.py | dhirschfeld/pyfilesystem2 | b2c0d96f55d4dfe777b4f9476676b77d01f36bf7 | [
"MIT"
] | null | null | null | fs/copy.py | dhirschfeld/pyfilesystem2 | b2c0d96f55d4dfe777b4f9476676b77d01f36bf7 | [
"MIT"
] | null | null | null | """Functions for copying resources *between* filesystem.
"""
from __future__ import print_function, unicode_literals
import typing
from .errors import FSError
from .opener import manage_fs
from .path import abspath, combine, frombase, normpath
from .tools import is_thread_safe
from .walk import Walker
if False: # ... | 38.979328 | 81 | 0.600398 | 2,060 | 15,085 | 4.185437 | 0.090777 | 0.042334 | 0.017397 | 0.021109 | 0.821155 | 0.802482 | 0.797727 | 0.788448 | 0.775226 | 0.739968 | 0 | 0.000966 | 0.314021 | 15,085 | 386 | 82 | 39.080311 | 0.832238 | 0.471793 | 0 | 0.591623 | 0 | 0 | 0.004856 | 0 | 0 | 0 | 0 | 0.002591 | 0 | 1 | 0.068063 | false | 0 | 0.062827 | 0.020942 | 0.198953 | 0.005236 | 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 |
771212058e5415c9a57c92689249326a2bb43153 | 9,697 | py | Python | tests/test_metrics.py | aboucaud/BlendingToolKit | b25653113da5030c1b54fbe674b2e9a4ed69072f | [
"MIT"
] | null | null | null | tests/test_metrics.py | aboucaud/BlendingToolKit | b25653113da5030c1b54fbe674b2e9a4ed69072f | [
"MIT"
] | null | null | null | tests/test_metrics.py | aboucaud/BlendingToolKit | b25653113da5030c1b54fbe674b2e9a4ed69072f | [
"MIT"
] | null | null | null | import pytest
import btk
import os
import sys
import numpy as np
def compare_basic_metric(
user_config_dict,
simulation_config_dict,
btk_input,
):
"""Compares summary table output from btk default detection to the expected
result test_metric_summary.
"""
test_metric_summary = np.array(
... | 31.586319 | 80 | 0.547901 | 1,454 | 9,697 | 3.448418 | 0.090784 | 0.038692 | 0.016753 | 0.018349 | 0.848424 | 0.810531 | 0.809733 | 0.777024 | 0.777024 | 0.774631 | 0 | 0.097842 | 0.302258 | 9,697 | 306 | 81 | 31.689542 | 0.643216 | 0.096937 | 0 | 0.686047 | 0 | 0 | 0.052419 | 0 | 0 | 0 | 0 | 0 | 0.015504 | 1 | 0.031008 | false | 0.027132 | 0.031008 | 0 | 0.062016 | 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 |
773832ee10e3d577c432cc046ea397ed9d8e4be6 | 20 | py | Python | build/lib/url2/__init__.py | zkung/url2 | 7f8f15d344c40be3d0a9dbfd0a51940f29dd3d5d | [
"MIT"
] | null | null | null | build/lib/url2/__init__.py | zkung/url2 | 7f8f15d344c40be3d0a9dbfd0a51940f29dd3d5d | [
"MIT"
] | null | null | null | build/lib/url2/__init__.py | zkung/url2 | 7f8f15d344c40be3d0a9dbfd0a51940f29dd3d5d | [
"MIT"
] | null | null | null | from .url2 import *
| 10 | 19 | 0.7 | 3 | 20 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.2 | 20 | 1 | 20 | 20 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
62233e2f54ce21ea3ac095eb63c32ea562254067 | 79 | py | Python | tests/unit/conftest.py | DEX-Company/ocean-py | 1534b50a0cf8b72473efe3712cc1cbab51651c35 | [
"Apache-2.0"
] | null | null | null | tests/unit/conftest.py | DEX-Company/ocean-py | 1534b50a0cf8b72473efe3712cc1cbab51651c35 | [
"Apache-2.0"
] | 14 | 2019-01-21T07:49:45.000Z | 2019-02-06T01:46:23.000Z | tests/unit/conftest.py | DEX-Company/ocean-py | 1534b50a0cf8b72473efe3712cc1cbab51651c35 | [
"Apache-2.0"
] | null | null | null | import pytest
@pytest.fixture(scope="module")
def config():
return None
| 9.875 | 31 | 0.696203 | 10 | 79 | 5.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177215 | 79 | 7 | 32 | 11.285714 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 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 | 0 | 1 | 1 | 0 | 0 | 6 |
622d6895a97d21a44803a49c18fe65ae0cffab26 | 130 | py | Python | class/lect/Lect-22/tf_hw/01-import.py | MikenzieAlasca/F21-1010 | a7c15b8d9bf84f316aa6921f6d8a588c513a22b8 | [
"MIT"
] | 5 | 2021-09-09T21:08:14.000Z | 2021-12-14T02:30:52.000Z | class/lect/Lect-22/tf_hw/01-import.py | MikenzieAlasca/F21-1010 | a7c15b8d9bf84f316aa6921f6d8a588c513a22b8 | [
"MIT"
] | null | null | null | class/lect/Lect-22/tf_hw/01-import.py | MikenzieAlasca/F21-1010 | a7c15b8d9bf84f316aa6921f6d8a588c513a22b8 | [
"MIT"
] | 8 | 2021-09-09T17:46:07.000Z | 2022-02-08T22:41:35.000Z | from __future__ import absolute_import, division, print_function, unicode_literals
# Install TensorFlow
import tensorflow as tf
| 21.666667 | 82 | 0.846154 | 16 | 130 | 6.4375 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123077 | 130 | 5 | 83 | 26 | 0.903509 | 0.138462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
622f3b87b64113cfbc71392654991a492c8d66e9 | 123 | py | Python | five.py | G-Cordova/pythonclass | 239b539f42fb44e3df390393c079073e4fcac762 | [
"Apache-2.0"
] | null | null | null | five.py | G-Cordova/pythonclass | 239b539f42fb44e3df390393c079073e4fcac762 | [
"Apache-2.0"
] | null | null | null | five.py | G-Cordova/pythonclass | 239b539f42fb44e3df390393c079073e4fcac762 | [
"Apache-2.0"
] | null | null | null | def plus_five(startingnumber):
return(startingnumber + 5)
print(plus_five(4))
print(plus_five(7))
print(plus_five(8))
| 17.571429 | 30 | 0.747967 | 19 | 123 | 4.631579 | 0.526316 | 0.363636 | 0.443182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036364 | 0.105691 | 123 | 6 | 31 | 20.5 | 0.763636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0.2 | 0.2 | 0.6 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 6 |
657e8fb73950e1ff961a664455db50912e8df4ea | 26 | py | Python | train/trainer/__init__.py | jdasam/ddsp-pytorch | cefa59881331e0f76eb073317a311c867e331ac2 | [
"MIT"
] | 88 | 2020-02-26T16:37:53.000Z | 2022-03-16T23:27:17.000Z | train/trainer/__init__.py | hihunjin/my_ddsp-pytorch | 2f7f9222b20ba34b3976a8f78c8efa696b4665c5 | [
"MIT"
] | 3 | 2020-07-25T05:03:17.000Z | 2022-03-23T17:37:38.000Z | train/trainer/__init__.py | hihunjin/my_ddsp-pytorch | 2f7f9222b20ba34b3976a8f78c8efa696b4665c5 | [
"MIT"
] | 17 | 2020-06-03T09:11:10.000Z | 2021-11-25T10:24:25.000Z | from . import io, trainer
| 13 | 25 | 0.730769 | 4 | 26 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 26 | 1 | 26 | 26 | 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 |
6599340af19eb447e97aba6d4790aa085ae152b6 | 208 | py | Python | ojp/admin.py | harshkothari410/ocportal | d2fc46e290532e51351958bf850e774094f5535c | [
"MIT"
] | null | null | null | ojp/admin.py | harshkothari410/ocportal | d2fc46e290532e51351958bf850e774094f5535c | [
"MIT"
] | null | null | null | ojp/admin.py | harshkothari410/ocportal | d2fc46e290532e51351958bf850e774094f5535c | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from .models import *
admin.site.register(UserProfile)
admin.site.register(Problem)
admin.site.register(TestCase)
admin.site.register(Submission) | 26 | 32 | 0.817308 | 28 | 208 | 6.071429 | 0.5 | 0.211765 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081731 | 208 | 8 | 33 | 26 | 0.890052 | 0.125 | 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 | 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 |
b83e2cc765789574d2e21e19c416e6f41ca90e7d | 104 | py | Python | src/style_transfer/content_fusion/unique_weight.py | trbay/style_transfer_via_texture_synthesis | 4824fa1b74573e48d3e340fb691dea8d502cfd50 | [
"MIT"
] | null | null | null | src/style_transfer/content_fusion/unique_weight.py | trbay/style_transfer_via_texture_synthesis | 4824fa1b74573e48d3e340fb691dea8d502cfd50 | [
"MIT"
] | null | null | null | src/style_transfer/content_fusion/unique_weight.py | trbay/style_transfer_via_texture_synthesis | 4824fa1b74573e48d3e340fb691dea8d502cfd50 | [
"MIT"
] | null | null | null | import numpy as np
def no_segmentation(image):
return np.ones(image.shape, dtype=np.float64)
| 17.333333 | 50 | 0.711538 | 16 | 104 | 4.5625 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.192308 | 104 | 5 | 51 | 20.8 | 0.845238 | 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 |
b226fa657a1d1fbd198717247a9730d02f19591e | 205 | py | Python | pca/packages/errors/__init__.py | pcah/pca-errors | b07c49b96a894721c0c0344d8b6d7e059741695c | [
"MIT"
] | 2 | 2021-11-15T16:40:20.000Z | 2021-12-05T03:50:53.000Z | pca/packages/errors/__init__.py | pcah/pca-errors | b07c49b96a894721c0c0344d8b6d7e059741695c | [
"MIT"
] | null | null | null | pca/packages/errors/__init__.py | pcah/pca-errors | b07c49b96a894721c0c0344d8b6d7e059741695c | [
"MIT"
] | null | null | null | from .boundary import * # noqa: F401, F403
from .builder import * # noqa: F401, F403
from .catalog import * # noqa: F401, F403
from .types import * # noqa: F401, F403
VERSION = (0, 0, 2, "alpha", 0)
| 25.625 | 43 | 0.639024 | 30 | 205 | 4.366667 | 0.433333 | 0.305344 | 0.427481 | 0.549618 | 0.503817 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 0.219512 | 205 | 7 | 44 | 29.285714 | 0.64375 | 0.326829 | 0 | 0 | 0 | 0 | 0.037594 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
b2670d26cae772113784fd0d6e987490c66c702a | 10,503 | py | Python | model-optimizer/extensions/ops/interp_test.py | shinh/dldt | 693ab4e79a428e0801f17f4511b129a3fa8f4a62 | [
"Apache-2.0"
] | 1 | 2021-02-20T21:48:36.000Z | 2021-02-20T21:48:36.000Z | model-optimizer/extensions/ops/interp_test.py | erinpark33/dldt | edd86d090592f7779f4dbb2681546e1f4e81284f | [
"Apache-2.0"
] | null | null | null | model-optimizer/extensions/ops/interp_test.py | erinpark33/dldt | edd86d090592f7779f4dbb2681546e1f4e81284f | [
"Apache-2.0"
] | 1 | 2021-02-19T01:06:12.000Z | 2021-02-19T01:06:12.000Z | """
Copyright (c) 2018-2019 Intel Corporation
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 i... | 45.271552 | 113 | 0.410645 | 1,014 | 10,503 | 4.025641 | 0.142998 | 0.040421 | 0.055855 | 0.057325 | 0.756982 | 0.735914 | 0.707496 | 0.707496 | 0.707496 | 0.707496 | 0 | 0.046933 | 0.458345 | 10,503 | 231 | 114 | 45.467532 | 0.670592 | 0.053985 | 0 | 0.762887 | 0 | 0 | 0.141561 | 0 | 0 | 0 | 0 | 0 | 0.046392 | 1 | 0.046392 | false | 0 | 0.025773 | 0 | 0.07732 | 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 |
b28375546f2ab6d983202a4ed1dfdb84c43f7d4c | 12,700 | py | Python | django/bossobject/test/bounding_box_view.py | jhuapl-boss/boss | c2e26d272bd7b8d54abdc2948193163537e31291 | [
"Apache-2.0"
] | 20 | 2016-05-16T21:08:13.000Z | 2021-11-16T11:50:19.000Z | django/bossobject/test/bounding_box_view.py | jhuapl-boss/boss | c2e26d272bd7b8d54abdc2948193163537e31291 | [
"Apache-2.0"
] | 31 | 2016-10-28T17:51:11.000Z | 2022-02-10T08:07:31.000Z | django/bossobject/test/bounding_box_view.py | jhuapl-boss/boss | c2e26d272bd7b8d54abdc2948193163537e31291 | [
"Apache-2.0"
] | 12 | 2016-10-28T17:47:01.000Z | 2021-05-18T23:47:06.000Z | # Copyright 2016 The Johns Hopkins University Applied Physics Laboratory
#
# 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 ... | 42.333333 | 132 | 0.626614 | 1,608 | 12,700 | 4.812811 | 0.133085 | 0.02804 | 0.035147 | 0.024809 | 0.856829 | 0.849593 | 0.825559 | 0.825559 | 0.822845 | 0.822845 | 0 | 0.064964 | 0.250945 | 12,700 | 299 | 133 | 42.474916 | 0.748555 | 0.158504 | 0 | 0.65 | 0 | 0.05 | 0.130595 | 0.052143 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.03125 | false | 0 | 0.08125 | 0 | 0.125 | 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 |
a22ed1e599908f0fd2975b81ecdc21566c8d1661 | 147 | py | Python | stripe_modern/api_resources/checkout/__init__.py | photocrowd/stripe-python | 7c705e3d41f38f8524e419eb7ea18c1425a4ad89 | [
"MIT"
] | null | null | null | stripe_modern/api_resources/checkout/__init__.py | photocrowd/stripe-python | 7c705e3d41f38f8524e419eb7ea18c1425a4ad89 | [
"MIT"
] | null | null | null | stripe_modern/api_resources/checkout/__init__.py | photocrowd/stripe-python | 7c705e3d41f38f8524e419eb7ea18c1425a4ad89 | [
"MIT"
] | null | null | null | from __future__ import absolute_import, division, print_function
# flake8: noqa
from stripe_modern.api_resources.checkout.session import Session
| 24.5 | 64 | 0.85034 | 19 | 147 | 6.157895 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007576 | 0.102041 | 147 | 5 | 65 | 29.4 | 0.878788 | 0.081633 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
a23a4c7e82e02d5d2b9aac5e4dc69540cadbdb80 | 3,612 | py | Python | tests/string_utils_test.py | kirillstrelkov/easyselenium | 99af15df42d3b4fe2c83a4a8d8d73b0f468539f7 | [
"MIT"
] | 1 | 2021-06-13T10:49:01.000Z | 2021-06-13T10:49:01.000Z | tests/string_utils_test.py | kirillstrelkov/easelenium | 99af15df42d3b4fe2c83a4a8d8d73b0f468539f7 | [
"MIT"
] | null | null | null | tests/string_utils_test.py | kirillstrelkov/easelenium | 99af15df42d3b4fe2c83a4a8d8d73b0f468539f7 | [
"MIT"
] | 1 | 2019-02-24T03:06:56.000Z | 2019-02-24T03:06:56.000Z | from unittest.case import TestCase
from easelenium.ui.string_utils import StringUtils
class StringUtilsTest(TestCase):
def test_is_test_file_name_correct(self):
assert StringUtils.is_test_file_name_correct("my_new_test.py")
assert StringUtils.is_test_file_name_correct("2my_new_test.py")
a... | 48.810811 | 82 | 0.727021 | 504 | 3,612 | 4.829365 | 0.109127 | 0.26705 | 0.202958 | 0.216927 | 0.881265 | 0.86401 | 0.656532 | 0.624076 | 0.464256 | 0.358258 | 0 | 0.022727 | 0.17165 | 3,612 | 73 | 83 | 49.479452 | 0.790775 | 0 | 0 | 0.050847 | 0 | 0 | 0.14701 | 0 | 0 | 0 | 0 | 0 | 0.847458 | 1 | 0.101695 | false | 0 | 0.033898 | 0 | 0.152542 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a2400504a4b86af55f5b0acd272b539f00173819 | 69 | py | Python | tests/fixtures.py | hanzhichao/runnerz | 3a42b7281972871b16c6347a2e233c5215047b08 | [
"MIT"
] | null | null | null | tests/fixtures.py | hanzhichao/runnerz | 3a42b7281972871b16c6347a2e233c5215047b08 | [
"MIT"
] | 2 | 2021-03-31T19:45:39.000Z | 2021-12-13T20:43:55.000Z | tmp/tests/fixtures.py | hanzhichao/runnerz | 3a42b7281972871b16c6347a2e233c5215047b08 | [
"MIT"
] | null | null | null | def print_me(a):
print('*'* 100)
print(a)
print('*'* 100) | 17.25 | 19 | 0.492754 | 10 | 69 | 3.3 | 0.5 | 0.363636 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 0.26087 | 69 | 4 | 20 | 17.25 | 0.529412 | 0 | 0 | 0.5 | 0 | 0 | 0.028571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 1 | 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 | 0 | 1 | 0 | 6 |
a24c13ebc49a85924f87be804e424fad1573212e | 156 | py | Python | triggerflow/eventsourcing/callable_model.py | Dahk/triggerflow-examples | c492942ab911615d144a1375f4bc7933831203bd | [
"Apache-2.0"
] | 38 | 2020-06-11T08:05:21.000Z | 2022-03-17T10:21:18.000Z | triggerflow/eventsourcing/callable_model.py | Dahk/triggerflow-examples | c492942ab911615d144a1375f4bc7933831203bd | [
"Apache-2.0"
] | 1 | 2020-07-07T15:47:56.000Z | 2020-07-07T15:47:56.000Z | triggerflow/eventsourcing/callable_model.py | Dahk/triggerflow-examples | c492942ab911615d144a1375f4bc7933831203bd | [
"Apache-2.0"
] | 7 | 2020-05-18T16:32:06.000Z | 2021-11-30T17:11:12.000Z |
class Callable:
def __init__(self):
pass
def call(self, *args, **kwargs):
pass
def map(self, *args, **kwargs):
pass
| 13 | 36 | 0.519231 | 18 | 156 | 4.277778 | 0.555556 | 0.181818 | 0.363636 | 0.467532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.352564 | 156 | 11 | 37 | 14.181818 | 0.762376 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.428571 | 0 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
a2699689d1f3a3452d775ec7d5077c6bf738da1a | 48 | py | Python | build/lib/poloticker/__init__.py | hmallen/poloticker | 05b720b15b7776ca352e352f78060a428b10686e | [
"MIT"
] | 2 | 2018-09-02T11:53:27.000Z | 2018-09-03T02:07:28.000Z | poloticker/__init__.py | hmallen/poloticker | 05b720b15b7776ca352e352f78060a428b10686e | [
"MIT"
] | null | null | null | poloticker/__init__.py | hmallen/poloticker | 05b720b15b7776ca352e352f78060a428b10686e | [
"MIT"
] | 1 | 2018-09-03T02:07:32.000Z | 2018-09-03T02:07:32.000Z | from .poloticker import TickerGenerator, Ticker
| 24 | 47 | 0.854167 | 5 | 48 | 8.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 48 | 1 | 48 | 48 | 0.953488 | 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 |
a2b88d5dd31972656193e2fc1e570d8292517267 | 80 | py | Python | pages/tests/__init__.py | shipci/pythondotorg | eab6421261174c5f9040a4b50654e54e2ce90c9c | [
"Apache-2.0"
] | null | null | null | pages/tests/__init__.py | shipci/pythondotorg | eab6421261174c5f9040a4b50654e54e2ce90c9c | [
"Apache-2.0"
] | 1 | 2019-03-28T22:12:58.000Z | 2019-03-28T22:12:58.000Z | pages/tests/__init__.py | shipci/pythondotorg | eab6421261174c5f9040a4b50654e54e2ce90c9c | [
"Apache-2.0"
] | 1 | 2019-04-03T20:26:54.000Z | 2019-04-03T20:26:54.000Z | from .test_models import *
from .test_views import *
from .test_parser import *
| 20 | 26 | 0.775 | 12 | 80 | 4.916667 | 0.5 | 0.40678 | 0.474576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 80 | 3 | 27 | 26.666667 | 0.867647 | 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 |
0c00dc922163ed4c42c7e2c6cf6a0941cac8b641 | 163 | py | Python | pokemon/battle/__init__.py | Rix565/PygaMone | 58879a01b5427328824ab4558f6ea3916f1b844a | [
"MIT"
] | null | null | null | pokemon/battle/__init__.py | Rix565/PygaMone | 58879a01b5427328824ab4558f6ea3916f1b844a | [
"MIT"
] | null | null | null | pokemon/battle/__init__.py | Rix565/PygaMone | 58879a01b5427328824ab4558f6ea3916f1b844a | [
"MIT"
] | null | null | null | from . import animation
from . import background
from . import battle
from . import evolution_animaiton
from . import wild_start
from . import xp_battle_animation
| 23.285714 | 33 | 0.815951 | 22 | 163 | 5.863636 | 0.454545 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147239 | 163 | 6 | 34 | 27.166667 | 0.928058 | 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 |
0c081ea021fa73dd8ae27fb8189498927154d14f | 113 | py | Python | lefi/voice/__init__.py | Moros0741/Lefi | 707dfcee45c386c4e9a70c776ac8ed1d0417bc14 | [
"MIT"
] | null | null | null | lefi/voice/__init__.py | Moros0741/Lefi | 707dfcee45c386c4e9a70c776ac8ed1d0417bc14 | [
"MIT"
] | null | null | null | lefi/voice/__init__.py | Moros0741/Lefi | 707dfcee45c386c4e9a70c776ac8ed1d0417bc14 | [
"MIT"
] | null | null | null | from .protocol import *
from .wsclient import *
from .state import *
from .player import *
from .client import *
| 18.833333 | 23 | 0.734513 | 15 | 113 | 5.533333 | 0.466667 | 0.481928 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176991 | 113 | 5 | 24 | 22.6 | 0.892473 | 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 |
0c1883c0e1806ae68fc3539106915ca84c6fec47 | 18,426 | py | Python | tests/test_special.py | skn123/butterfly | 7217b5d93bc78e1229fed3761bcc70d943f604b7 | [
"Apache-2.0"
] | 52 | 2020-08-05T08:32:24.000Z | 2022-03-27T21:56:34.000Z | tests/test_special.py | skn123/butterfly | 7217b5d93bc78e1229fed3761bcc70d943f604b7 | [
"Apache-2.0"
] | 13 | 2020-09-14T23:34:32.000Z | 2022-02-15T10:51:03.000Z | tests/test_special.py | skn123/butterfly | 7217b5d93bc78e1229fed3761bcc70d943f604b7 | [
"Apache-2.0"
] | 11 | 2020-10-15T07:03:25.000Z | 2022-03-25T12:03:49.000Z | import math
import unittest
import numpy as np
from scipy import linalg as la
import scipy.fft
import torch
from torch import nn
from torch.nn import functional as F
import torch.fft
import pywt # To test wavelet
import torch_butterfly
class ButterflySpecialTest(unittest.TestCase):
def setUp(self):
... | 48.875332 | 99 | 0.549332 | 2,288 | 18,426 | 4.283654 | 0.083916 | 0.037547 | 0.058157 | 0.082645 | 0.819814 | 0.807265 | 0.771656 | 0.761861 | 0.746556 | 0.734619 | 0 | 0.027204 | 0.345653 | 18,426 | 376 | 100 | 49.005319 | 0.785685 | 0.031966 | 0 | 0.5625 | 0 | 0 | 0.007069 | 0 | 0 | 0 | 0 | 0 | 0.089286 | 1 | 0.0625 | false | 0 | 0.032738 | 0 | 0.098214 | 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 |
a7bbe11be5f75f28b7c6da5c4a279b7d3f76d4d3 | 96 | py | Python | venv/lib/python3.8/site-packages/rope/refactor/change_signature.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/rope/refactor/change_signature.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/rope/refactor/change_signature.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/90/4a/29/1143923b58e9a12ae6ed2e60ac0bc75dfd6a1ad8ac43d94d7129548ad2 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.40625 | 0 | 96 | 1 | 96 | 96 | 0.489583 | 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 |
ac1534ecc4a944877935b9852cfc6e7ef13d11e2 | 152 | py | Python | transformers_keras/adapters/__init__.py | ParikhKadam/transformers-keras | 58b87d5feb5632e3830c2d3b27873df6ae6be4b3 | [
"Apache-2.0"
] | 74 | 2019-09-20T02:47:35.000Z | 2022-02-08T12:31:13.000Z | transformers_keras/adapters/__init__.py | ParikhKadam/transformers-keras | 58b87d5feb5632e3830c2d3b27873df6ae6be4b3 | [
"Apache-2.0"
] | 6 | 2020-06-07T11:24:24.000Z | 2021-09-30T08:01:12.000Z | transformers_keras/adapters/__init__.py | ParikhKadam/transformers-keras | 58b87d5feb5632e3830c2d3b27873df6ae6be4b3 | [
"Apache-2.0"
] | 11 | 2019-12-17T04:03:28.000Z | 2022-03-28T09:42:48.000Z | from .abstract_adapter import parse_pretrained_model_files, zip_weights
from .albert_adapter import AlbertAdapter
from .bert_adapter import BertAdapter
| 38 | 71 | 0.888158 | 20 | 152 | 6.4 | 0.7 | 0.304688 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085526 | 152 | 3 | 72 | 50.666667 | 0.920863 | 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 |
ac7936e0f67a40c93e2d2a4f5d66c253a3c670af | 72 | py | Python | qdserver/messaging/__init__.py | sipsop/qdserver | 5b372242241eb765cfe2ee57203449717bb81ed2 | [
"BSD-3-Clause"
] | null | null | null | qdserver/messaging/__init__.py | sipsop/qdserver | 5b372242241eb765cfe2ee57203449717bb81ed2 | [
"BSD-3-Clause"
] | null | null | null | qdserver/messaging/__init__.py | sipsop/qdserver | 5b372242241eb765cfe2ee57203449717bb81ed2 | [
"BSD-3-Clause"
] | null | null | null | from .types import *
from .send import send_message_async, send_message
| 24 | 50 | 0.819444 | 11 | 72 | 5.090909 | 0.545455 | 0.392857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 72 | 2 | 51 | 36 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3bdbd004425e606b565c88188f0873b6cb6c0100 | 202 | py | Python | models.py | inesp/blog-structuring-old-python | f9790cf5b84c06d8689c7a82c5a082333e6e0839 | [
"Apache-2.0"
] | null | null | null | models.py | inesp/blog-structuring-old-python | f9790cf5b84c06d8689c7a82c5a082333e6e0839 | [
"Apache-2.0"
] | null | null | null | models.py | inesp/blog-structuring-old-python | f9790cf5b84c06d8689c7a82c5a082333e6e0839 | [
"Apache-2.0"
] | null | null | null | from mock import Mock
class Animal:
def __init__(self, name):
self.name = name
class Person:
def __init__(self, name):
self.name = name
query = Mock()
name = Mock()
| 13.466667 | 29 | 0.589109 | 26 | 202 | 4.269231 | 0.423077 | 0.288288 | 0.198198 | 0.27027 | 0.486486 | 0.486486 | 0.486486 | 0 | 0 | 0 | 0 | 0 | 0.311881 | 202 | 14 | 30 | 14.428571 | 0.798561 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.777778 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
3bf8ee938abb5591acd740dbd26cbc50ca25dd2a | 301 | py | Python | tests/integration/conftest.py | alex817/ksnap | fec22fb42023f9bec51eaba4f47da3532fea8970 | [
"MIT"
] | 2 | 2020-06-26T06:59:32.000Z | 2021-06-03T17:28:17.000Z | tests/integration/conftest.py | alex817/ksnap | fec22fb42023f9bec51eaba4f47da3532fea8970 | [
"MIT"
] | 9 | 2020-07-03T08:42:38.000Z | 2021-10-05T08:04:40.000Z | tests/integration/conftest.py | alex817/ksnap | fec22fb42023f9bec51eaba4f47da3532fea8970 | [
"MIT"
] | 2 | 2020-11-02T18:26:08.000Z | 2021-03-23T06:44:58.000Z | import pytest
@pytest.fixture
def KAFKA_HOSTS():
return ['hkstgkafka02.hk.eclipseoptions.com',
'hkstgkafka03.hk.eclipseoptions.com',
'hkstgkafka04.hk.eclipseoptions.com',
'hkstgkafka05.hk.eclipseoptions.com',
'hkstgkafka06.hk.eclipseoptions.com']
| 27.363636 | 49 | 0.664452 | 28 | 301 | 7.107143 | 0.535714 | 0.40201 | 0.477387 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042373 | 0.215947 | 301 | 10 | 50 | 30.1 | 0.800847 | 0 | 0 | 0 | 0 | 0 | 0.564784 | 0.564784 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | true | 0 | 0.125 | 0.125 | 0.375 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
ce0e71f68a6ea5a444644e1d151250ec801786f9 | 45 | py | Python | src/wai/annotations/festvox/util/__init__.py | waikato-ufdl/wai-annotations-festvox | b42216325758e4304e3b85be1cf00f037cfea201 | [
"Apache-2.0"
] | null | null | null | src/wai/annotations/festvox/util/__init__.py | waikato-ufdl/wai-annotations-festvox | b42216325758e4304e3b85be1cf00f037cfea201 | [
"Apache-2.0"
] | null | null | null | src/wai/annotations/festvox/util/__init__.py | waikato-ufdl/wai-annotations-festvox | b42216325758e4304e3b85be1cf00f037cfea201 | [
"Apache-2.0"
] | null | null | null | from ._regex import LINE_PATTERN, LINE_REGEX
| 22.5 | 44 | 0.844444 | 7 | 45 | 5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 45 | 1 | 45 | 45 | 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 |
ce327628b7aad3e09c87204a2913dab8fbbf2cfb | 13,357 | py | Python | sequential_learn.py | adholmgren/bayesian | d17cf6a377862b4bcdf386e6aa94583fe5aef7e9 | [
"MIT"
] | null | null | null | sequential_learn.py | adholmgren/bayesian | d17cf6a377862b4bcdf386e6aa94583fe5aef7e9 | [
"MIT"
] | null | null | null | sequential_learn.py | adholmgren/bayesian | d17cf6a377862b4bcdf386e6aa94583fe5aef7e9 | [
"MIT"
] | null | null | null | {
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"This is a notebook that looks at sequential learning with some toy cases \n",
"Author: Andrew Holmgren \n",
"BSD3 license"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Imports"
]
},
... | 49.287823 | 7,800 | 0.768661 | 883 | 13,357 | 11.518686 | 0.545866 | 0.013371 | 0.011798 | 0.020647 | 0.080425 | 0.025956 | 0.013765 | 0.010029 | 0.010029 | 0 | 0 | 0.131228 | 0.113424 | 13,357 | 270 | 7,801 | 49.47037 | 0.727664 | 0 | 0 | 0.322222 | 0 | 0.033333 | 0.823388 | 0.600285 | 0 | 1 | 0.002471 | 0 | 0 | 1 | 0 | true | 0 | 0.018519 | 0 | 0.018519 | 0.007407 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ce342975856dda86b59e3befd5d0f654cd43eb08 | 269 | py | Python | core/backend/repository/admin.py | Djacket/djacket | 8f5258ae34ab2fb2849324145681e6d4932a22ba | [
"MIT"
] | 85 | 2016-02-19T06:46:29.000Z | 2022-03-25T20:20:47.000Z | core/backend/repository/admin.py | Djacket/djacket | 8f5258ae34ab2fb2849324145681e6d4932a22ba | [
"MIT"
] | 15 | 2016-04-08T02:46:11.000Z | 2022-01-29T08:20:45.000Z | core/backend/repository/admin.py | Djacket/djacket | 8f5258ae34ab2fb2849324145681e6d4932a22ba | [
"MIT"
] | 20 | 2016-04-08T02:39:08.000Z | 2021-12-16T14:05:28.000Z | from django.contrib import admin
from repository.models import Repository, RepositoryAccess, RepositoryStar, RepositoryFork
admin.site.register(Repository)
admin.site.register(RepositoryStar)
admin.site.register(RepositoryFork)
admin.site.register(RepositoryAccess)
| 26.9 | 90 | 0.855019 | 29 | 269 | 7.931034 | 0.413793 | 0.156522 | 0.295652 | 0.269565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066915 | 269 | 9 | 91 | 29.888889 | 0.916335 | 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 |
cbf8a4ee8a1e211fe86e2c029a8d04798eeeefe8 | 3,689 | py | Python | packages/pytea/pylib/torch/nn/modules/conv.py | Sehun0819/pytea | 3f068016a71a1915722e51d977fedab01427a42c | [
"MIT"
] | 241 | 2021-03-19T01:11:44.000Z | 2022-03-25T03:15:22.000Z | packages/pytea/pylib/torch/nn/modules/conv.py | Sehun0819/pytea | 3f068016a71a1915722e51d977fedab01427a42c | [
"MIT"
] | 2 | 2021-02-26T08:16:04.000Z | 2022-02-28T02:52:58.000Z | packages/pytea/pylib/torch/nn/modules/conv.py | Sehun0819/pytea | 3f068016a71a1915722e51d977fedab01427a42c | [
"MIT"
] | 14 | 2021-01-08T02:22:58.000Z | 2022-01-19T14:13:14.000Z | import LibCall
from .module import Module
from .... import torch
from .. import functional as F
class Conv2d(Module):
def __init__(
self,
in_channels,
out_channels,
kernel_size,
stride=1,
padding=0,
dilation=1,
groups=1,
bias=True,
pa... | 27.736842 | 79 | 0.549471 | 379 | 3,689 | 5.150396 | 0.134565 | 0.092213 | 0.04918 | 0.061475 | 0.787398 | 0.765881 | 0.765881 | 0.765881 | 0.765881 | 0.765881 | 0 | 0.011588 | 0.368393 | 3,689 | 132 | 80 | 27.94697 | 0.82618 | 0 | 0 | 0.760331 | 0 | 0 | 0.064534 | 0 | 0 | 0 | 0 | 0 | 0.033058 | 1 | 0.033058 | false | 0 | 0.033058 | 0.016529 | 0.099174 | 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 |
cbfbd65aa552f71d915251e80481947591b528be | 2,332 | py | Python | tests/unit_tests/test_nn/test_converters/test_tensorflow/test_Unsqueeze.py | samysweb/dnnv | 58fb95b7300914d9da28eed86c39eca473b1aaef | [
"MIT"
] | 5 | 2022-01-28T20:30:34.000Z | 2022-03-17T09:26:52.000Z | tests/unit_tests/test_nn/test_converters/test_tensorflow/test_Unsqueeze.py | samysweb/dnnv | 58fb95b7300914d9da28eed86c39eca473b1aaef | [
"MIT"
] | 9 | 2022-01-27T03:50:28.000Z | 2022-02-08T18:42:17.000Z | tests/unit_tests/test_nn/test_converters/test_tensorflow/test_Unsqueeze.py | samysweb/dnnv | 58fb95b7300914d9da28eed86c39eca473b1aaef | [
"MIT"
] | 2 | 2022-02-03T17:32:43.000Z | 2022-03-24T16:38:49.000Z | import numpy as np
import pytest
from dnnv.nn.converters.tensorflow import *
from dnnv.nn.operations import *
def test_Unsqueeze():
x = np.random.randn(1, 3, 1, 5).astype(np.float32)
axes = np.array([0]).astype(np.int64)
y = np.expand_dims(x, axis=0)
op = Unsqueeze(x, axes)
tf_op = TensorflowCon... | 27.761905 | 74 | 0.632504 | 373 | 2,332 | 3.844504 | 0.13941 | 0.039052 | 0.069038 | 0.099721 | 0.839609 | 0.83682 | 0.83682 | 0.82357 | 0.794979 | 0.699442 | 0 | 0.034483 | 0.204117 | 2,332 | 83 | 75 | 28.096386 | 0.738147 | 0 | 0 | 0.629032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112903 | 1 | 0.096774 | false | 0 | 0.064516 | 0 | 0.16129 | 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 |
0203ea62cf8e5bf20251daf8ab024d6a6b132a8e | 35 | py | Python | app/libs/sso.py | anjali-92/tuesday | e85366ee4d88e3821d6a3177881dfbf050dd7c34 | [
"MIT"
] | 6 | 2019-04-04T06:10:56.000Z | 2020-06-09T22:30:08.000Z | app/libs/sso.py | anjali-92/tuesday | e85366ee4d88e3821d6a3177881dfbf050dd7c34 | [
"MIT"
] | 2 | 2019-04-05T04:38:45.000Z | 2019-08-16T11:17:43.000Z | app/libs/sso.py | anjali-92/tuesday | e85366ee4d88e3821d6a3177881dfbf050dd7c34 | [
"MIT"
] | 4 | 2019-08-26T06:27:03.000Z | 2020-10-07T11:55:39.000Z | from app.libs.sso_default import *
| 17.5 | 34 | 0.8 | 6 | 35 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.870968 | 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 |
02863ec8441436f1e2ee00cc4d1061f06bb28860 | 46 | py | Python | setup.py | renatojobal/gpt-3-examples | 6d52e596ca92483daaa0c54f5617257c3764331c | [
"MIT"
] | 1 | 2021-05-15T23:49:32.000Z | 2021-05-15T23:49:32.000Z | setup.py | renatojobal/gpt-3-examples | 6d52e596ca92483daaa0c54f5617257c3764331c | [
"MIT"
] | null | null | null | setup.py | renatojobal/gpt-3-examples | 6d52e596ca92483daaa0c54f5617257c3764331c | [
"MIT"
] | null | null | null |
from dotenv import load_dotenv
load_dotenv() | 11.5 | 30 | 0.826087 | 7 | 46 | 5.142857 | 0.571429 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 46 | 4 | 31 | 11.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
5a43b948a87aeb08f71af3d9d04dd3111957e71b | 153 | py | Python | squids/__init__.py | mmgalushka/squids | 2d6e1bbeb89721a2ff232a7031997111c600abb6 | [
"MIT"
] | null | null | null | squids/__init__.py | mmgalushka/squids | 2d6e1bbeb89721a2ff232a7031997111c600abb6 | [
"MIT"
] | 37 | 2022-01-15T21:42:23.000Z | 2022-02-23T23:43:31.000Z | squids/__init__.py | mmgalushka/squids | 2d6e1bbeb89721a2ff232a7031997111c600abb6 | [
"MIT"
] | null | null | null | """A module for handling synthetic and real datasets."""
from .dataset import * # noqa
from .tfrecords import * # noqa
from .actions import * # noqa
| 25.5 | 56 | 0.699346 | 20 | 153 | 5.35 | 0.7 | 0.280374 | 0.261682 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196078 | 153 | 5 | 57 | 30.6 | 0.869919 | 0.431373 | 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 |
5a5fbded847b725d3931e93b88283a20055e2a4a | 43 | py | Python | foliant/preprocessors/confluence_final/__init__.py | foliant-docs/foliantcontrib.confluence_upload | ca85cc5a7cac34fee8c10648074b78f777bc7529 | [
"MIT"
] | 2 | 2020-07-01T11:18:12.000Z | 2020-08-26T11:30:18.000Z | foliant/preprocessors/confluence_final/__init__.py | foliant-docs/foliantcontrib.confluence_upload | ca85cc5a7cac34fee8c10648074b78f777bc7529 | [
"MIT"
] | null | null | null | foliant/preprocessors/confluence_final/__init__.py | foliant-docs/foliantcontrib.confluence_upload | ca85cc5a7cac34fee8c10648074b78f777bc7529 | [
"MIT"
] | null | null | null | from .confluence_final import Preprocessor
| 21.5 | 42 | 0.883721 | 5 | 43 | 7.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.948718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ce4b1f7995b9d4f285b0790514678849cecbd254 | 93 | py | Python | Code/3.Modules-Package/MyMainPackage/__init__.py | davidMartinVergues/PYTHON | dd39d3aabfc43b3cb09aadb2919e51d03364117d | [
"DOC"
] | null | null | null | Code/3.Modules-Package/MyMainPackage/__init__.py | davidMartinVergues/PYTHON | dd39d3aabfc43b3cb09aadb2919e51d03364117d | [
"DOC"
] | null | null | null | Code/3.Modules-Package/MyMainPackage/__init__.py | davidMartinVergues/PYTHON | dd39d3aabfc43b3cb09aadb2919e51d03364117d | [
"DOC"
] | null | null | null | from .some_main_script import report_main
from .SubPackage.my_sub_script import sub_report
| 18.6 | 48 | 0.860215 | 15 | 93 | 4.933333 | 0.6 | 0.324324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107527 | 93 | 4 | 49 | 23.25 | 0.891566 | 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 |
ce4b94e35f2eba3af890dc3b06a94b878d3b0b6f | 48 | py | Python | prov2bigchaindb/version.py | DLR-SC/prov2bigchaindb | a21c78a80e502409281aa25999756f2b695d8301 | [
"Apache-2.0"
] | 6 | 2017-04-06T07:34:20.000Z | 2020-12-31T07:56:29.000Z | prov2bigchaindb/version.py | DLR-SC/prov2bigchaindb | a21c78a80e502409281aa25999756f2b695d8301 | [
"Apache-2.0"
] | 25 | 2017-04-07T12:45:11.000Z | 2018-11-08T11:21:04.000Z | prov2bigchaindb/version.py | DLR-SC/prov2bigchaindb | a21c78a80e502409281aa25999756f2b695d8301 | [
"Apache-2.0"
] | null | null | null | __version__ = '0.4.1'
__short_version__ = '0.4'
| 16 | 25 | 0.6875 | 8 | 48 | 3 | 0.625 | 0.666667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 0.125 | 48 | 2 | 26 | 24 | 0.452381 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ce57423637da1930ade0693e836ca7e375b39a64 | 404 | py | Python | RecoBTag/ONNXRuntime/python/pfDeepDoubleX_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | RecoBTag/ONNXRuntime/python/pfDeepDoubleX_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | RecoBTag/ONNXRuntime/python/pfDeepDoubleX_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | from RecoBTag.ONNXRuntime.pfDeepDoubleBvLJetTags_cfi import pfDeepDoubleBvLJetTags
from RecoBTag.ONNXRuntime.pfDeepDoubleCvBJetTags_cfi import pfDeepDoubleCvBJetTags
from RecoBTag.ONNXRuntime.pfDeepDoubleCvLJetTags_cfi import pfDeepDoubleCvLJetTags
from RecoBTag.ONNXRuntime.pfMassIndependentDeepDoubleXJetTags_cff impo... | 44.888889 | 82 | 0.913366 | 33 | 404 | 11.030303 | 0.333333 | 0.164835 | 0.315934 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002625 | 0.056931 | 404 | 8 | 83 | 50.5 | 0.952756 | 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 | 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 |
ce7f4c16275b34e44abb44bef2bfa929fa9424a3 | 44 | py | Python | dbmodel/models.py | imokyou/admin_backend | d2415fb57277cde1dab34a317fc77f6d7405088f | [
"MIT"
] | null | null | null | dbmodel/models.py | imokyou/admin_backend | d2415fb57277cde1dab34a317fc77f6d7405088f | [
"MIT"
] | null | null | null | dbmodel/models.py | imokyou/admin_backend | d2415fb57277cde1dab34a317fc77f6d7405088f | [
"MIT"
] | null | null | null | # coding=utf8
from django.db import models
| 11 | 28 | 0.772727 | 7 | 44 | 4.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.159091 | 44 | 3 | 29 | 14.666667 | 0.891892 | 0.25 | 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 |
cedcb4d27356d847a520fd3df2142814ef65d1f0 | 514 | py | Python | resources/dot_PyCharm/system/python_stubs/cache/18942e98caa5521a326bbb69822241dc2eb380cea397ddff92f804a083499354/win32lz.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | 1 | 2020-04-20T02:27:20.000Z | 2020-04-20T02:27:20.000Z | resources/dot_PyCharm/system/python_stubs/cache/18942e98caa5521a326bbb69822241dc2eb380cea397ddff92f804a083499354/win32lz.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | null | null | null | resources/dot_PyCharm/system/python_stubs/cache/18942e98caa5521a326bbb69822241dc2eb380cea397ddff92f804a083499354/win32lz.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | null | null | null | # encoding: utf-8
# module win32lz
# from C:\Python27\lib\site-packages\win32\win32lz.pyd
# by generator 1.147
# no doc
# imports
from pywintypes import error
# functions
def Close(*args, **kwargs): # real signature unknown
pass
def Copy(*args, **kwargs): # real signature unknown
pass
def GetExpandedName(... | 17.724138 | 62 | 0.698444 | 68 | 514 | 5.279412 | 0.544118 | 0.139276 | 0.194986 | 0.320334 | 0.506964 | 0.506964 | 0.412256 | 0 | 0 | 0 | 0 | 0.0311 | 0.18677 | 514 | 28 | 63 | 18.357143 | 0.827751 | 0.492218 | 0 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | true | 0.454545 | 0.090909 | 0 | 0.545455 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
0cd04634bf518ec1b24a380d8d9c03f54d22f0eb | 163 | py | Python | ermaket/utils/xml/__init__.py | SqrtMinusOne/ERMaket_Experiment | c4a7b61651edd15a619d9b690e2aaeaab4de282d | [
"Apache-2.0"
] | null | null | null | ermaket/utils/xml/__init__.py | SqrtMinusOne/ERMaket_Experiment | c4a7b61651edd15a619d9b690e2aaeaab4de282d | [
"Apache-2.0"
] | null | null | null | ermaket/utils/xml/__init__.py | SqrtMinusOne/ERMaket_Experiment | c4a7b61651edd15a619d9b690e2aaeaab4de282d | [
"Apache-2.0"
] | null | null | null | from .xmlroot import *
from .xml_object import *
from .xmlall import *
from .xmlenum import *
from .xmllist import *
from .xmltag import *
from .xmltuple import *
| 20.375 | 25 | 0.742331 | 22 | 163 | 5.454545 | 0.454545 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171779 | 163 | 7 | 26 | 23.285714 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0cf8ca2b7538c3ed1d0b575f2ff9fa4ffd128784 | 190 | py | Python | urbinsight/app/admin.py | calocan/urbinsight-server | f500a30f2bda466cfa5cf5f04effeaacca03a71a | [
"MIT"
] | null | null | null | urbinsight/app/admin.py | calocan/urbinsight-server | f500a30f2bda466cfa5cf5f04effeaacca03a71a | [
"MIT"
] | 3 | 2020-06-05T18:18:39.000Z | 2021-06-10T20:20:58.000Z | urbinsight/app/admin.py | calocan/urbinsight-server | f500a30f2bda466cfa5cf5f04effeaacca03a71a | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from django.contrib.gis import admin
from rescape_region.models import Region
admin.site.register(Region, admin.GeoModelAdmin) | 27.142857 | 48 | 0.831579 | 27 | 190 | 5.814815 | 0.518519 | 0.127389 | 0.216561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 190 | 7 | 48 | 27.142857 | 0.923529 | 0.136842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 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 |
0b424565ca42c8391b54d773f986e4963f2ee328 | 151 | py | Python | tests/test_factory.py | mrchi/flask-tutorial | caeacec5738d28ab67762095df0ceafea4139726 | [
"MIT"
] | 5 | 2019-05-01T15:00:21.000Z | 2019-05-05T02:15:03.000Z | tests/test_factory.py | chiqj/flask-tutorial | caeacec5738d28ab67762095df0ceafea4139726 | [
"MIT"
] | 2 | 2021-08-25T07:18:45.000Z | 2021-08-25T07:19:01.000Z | tests/test_factory.py | mrchi/flask-tutorial | caeacec5738d28ab67762095df0ceafea4139726 | [
"MIT"
] | null | null | null | # coding=utf-8
from flask import current_app
def test_app_config(app):
assert current_app.testing is True
assert current_app.debug is False
| 16.777778 | 38 | 0.768212 | 25 | 151 | 4.44 | 0.68 | 0.27027 | 0.288288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008065 | 0.178808 | 151 | 8 | 39 | 18.875 | 0.887097 | 0.07947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | false | 0 | 0.25 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0b674b9cefe7c98c66b17b35c3d8a861c30aacaf | 10,832 | py | Python | tests/djangoapp/test_webhook.py | Thermondo/closeio | 724f0dcf5c91d2b4abf7fd4c558ed1c9a24e1790 | [
"Apache-2.0"
] | 3 | 2015-02-10T17:37:02.000Z | 2019-05-10T08:22:51.000Z | tests/djangoapp/test_webhook.py | Thermondo/closeio | 724f0dcf5c91d2b4abf7fd4c558ed1c9a24e1790 | [
"Apache-2.0"
] | 65 | 2015-02-10T16:56:07.000Z | 2020-02-24T10:30:56.000Z | tests/djangoapp/test_webhook.py | Thermondo/closeio | 724f0dcf5c91d2b4abf7fd4c558ed1c9a24e1790 | [
"Apache-2.0"
] | 2 | 2018-10-23T18:44:14.000Z | 2020-02-24T18:08:05.000Z | import json
from datetime import date
from functools import partial
import pytest
from django.test.client import Client
from django.urls import reverse
from closeio.contrib.django import signals, views
@pytest.fixture
def csrf_client(client):
return Client(enforce_csrf_checks=True)
@pytest.fixture
def closeio... | 26.291262 | 76 | 0.513663 | 982 | 10,832 | 5.471487 | 0.077393 | 0.080774 | 0.097711 | 0.058068 | 0.793784 | 0.789503 | 0.785595 | 0.734227 | 0.734227 | 0.728643 | 0 | 0.020944 | 0.356444 | 10,832 | 411 | 77 | 26.355231 | 0.749821 | 0 | 0 | 0.779104 | 0 | 0 | 0.152696 | 0 | 0 | 0 | 0 | 0 | 0.065672 | 1 | 0.047761 | false | 0 | 0.020896 | 0.002985 | 0.074627 | 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 |
0b6fd159e17f3170013b4e533fba559dc7309761 | 17,966 | py | Python | chits/tests.py | dushyant19/MUN-with-sqlite | 94c9518f511e13fe7150908f75c28c12e8df5903 | [
"bzip2-1.0.6"
] | null | null | null | chits/tests.py | dushyant19/MUN-with-sqlite | 94c9518f511e13fe7150908f75c28c12e8df5903 | [
"bzip2-1.0.6"
] | null | null | null | chits/tests.py | dushyant19/MUN-with-sqlite | 94c9518f511e13fe7150908f75c28c12e8df5903 | [
"bzip2-1.0.6"
] | 2 | 2020-07-21T19:32:31.000Z | 2020-09-25T13:48:15.000Z | from django.test import TestCase,client
from accounts.models import *
from django.contrib.auth import authenticate,login
from chits.models import *
import random
import json
from django.urls import reverse
# Create your tests here.
def create_chit(status,chit_from,chit_to,reply_to_chit,chit) :
return Chit.objec... | 42.372642 | 396 | 0.701659 | 2,497 | 17,966 | 4.911894 | 0.072087 | 0.054056 | 0.041582 | 0.050876 | 0.825764 | 0.812719 | 0.792254 | 0.776519 | 0.776519 | 0.768365 | 0 | 0.007959 | 0.202716 | 17,966 | 423 | 397 | 42.472813 | 0.848297 | 0.036291 | 0 | 0.574359 | 0 | 0.087179 | 0.408606 | 0.001633 | 0 | 0 | 0 | 0 | 0.215385 | 1 | 0.097436 | false | 0.046154 | 0.035897 | 0.005128 | 0.14359 | 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 |
e7fd4532dac3fd4f62bd307fc4bc5e1517daff8a | 130 | py | Python | tests/test_term.py | gkmngrgn/gork | 7b2bf2dc8e2404010fbe0908000fefb07d86af05 | [
"MIT"
] | 2 | 2019-11-24T14:34:29.000Z | 2020-11-05T19:56:50.000Z | tests/test_term.py | gkmngrgn/gork | 7b2bf2dc8e2404010fbe0908000fefb07d86af05 | [
"MIT"
] | null | null | null | tests/test_term.py | gkmngrgn/gork | 7b2bf2dc8e2404010fbe0908000fefb07d86af05 | [
"MIT"
] | 1 | 2021-04-01T12:41:27.000Z | 2021-04-01T12:41:27.000Z | import unittest
class GorkTermTest(unittest.TestCase):
def test_get_size(self):
# TODO: not ready yet.
pass
| 16.25 | 38 | 0.661538 | 16 | 130 | 5.25 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.261538 | 130 | 7 | 39 | 18.571429 | 0.875 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
f0079817815d3f240d69088cbd48d429f648c0a7 | 2,068 | py | Python | synthetic_data_experiments/PacGAN/pacgan/streams.py | RyanHonwad/Two-Samples-in-GANs | 190853e56d6e7843c0d991dc64658cfb3311135e | [
"MIT"
] | 79 | 2018-02-18T22:37:29.000Z | 2022-03-28T08:32:56.000Z | synthetic_data_experiments/PacGAN/pacgan/streams.py | RyanHonwad/Two-Samples-in-GANs | 190853e56d6e7843c0d991dc64658cfb3311135e | [
"MIT"
] | 1 | 2019-11-24T03:06:32.000Z | 2019-11-24T18:08:09.000Z | synthetic_data_experiments/PacGAN/pacgan/streams.py | RyanHonwad/Two-Samples-in-GANs | 190853e56d6e7843c0d991dc64658cfb3311135e | [
"MIT"
] | 7 | 2018-04-30T18:06:28.000Z | 2020-11-20T09:54:54.000Z | """Functions for creating data streams."""
from fuel.datasets import CIFAR10, SVHN, CelebA
from fuel.datasets.toy import Spiral
from fuel.schemes import ShuffledScheme
from fuel.streams import DataStream
from datasets import GaussianPackingMixture, VEEGAN1200DPackingMixture
def create_packing_VEEGAN1200D_data_streams... | 54.421053 | 194 | 0.824468 | 266 | 2,068 | 6.082707 | 0.18797 | 0.066749 | 0.069221 | 0.118665 | 0.800989 | 0.800989 | 0.794808 | 0.794808 | 0.794808 | 0.678616 | 0 | 0.024494 | 0.091876 | 2,068 | 37 | 195 | 55.891892 | 0.837061 | 0.017408 | 0 | 0.421053 | 0 | 0 | 0.007897 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0 | 0.263158 | 0 | 0.473684 | 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 |
f03e533a0c9141058950620a0bb7294e1d6b2c04 | 46 | py | Python | oskb/__init__.py | rushic24/oskb | d453a707d2a1d78d859d5e1648fe3804e40b4148 | [
"MIT"
] | 6 | 2020-05-06T16:59:48.000Z | 2021-09-18T12:48:21.000Z | oskb/__init__.py | rushic24/oskb | d453a707d2a1d78d859d5e1648fe3804e40b4148 | [
"MIT"
] | 1 | 2022-03-24T19:19:11.000Z | 2022-03-24T19:19:11.000Z | oskb/__init__.py | rushic24/oskb | d453a707d2a1d78d859d5e1648fe3804e40b4148 | [
"MIT"
] | 3 | 2020-05-06T16:59:52.000Z | 2021-09-18T12:48:54.000Z | import pkg_resources
from oskb.oskb import *
| 11.5 | 23 | 0.804348 | 7 | 46 | 5.142857 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 46 | 3 | 24 | 15.333333 | 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 |
b2d7b2943427c457413773355afa94396d9cbb7a | 198 | py | Python | attrs/admin.py | zostera/django-attrs | c1f1b4bb4bfb9cf836423cd5c7f121d61322a86b | [
"BSD-3-Clause"
] | null | null | null | attrs/admin.py | zostera/django-attrs | c1f1b4bb4bfb9cf836423cd5c7f121d61322a86b | [
"BSD-3-Clause"
] | null | null | null | attrs/admin.py | zostera/django-attrs | c1f1b4bb4bfb9cf836423cd5c7f121d61322a86b | [
"BSD-3-Clause"
] | 1 | 2019-12-01T22:14:45.000Z | 2019-12-01T22:14:45.000Z | from django.contrib import admin
# Register your models here.
from attrs.models import Attribute, Choice, Unit
admin.site.register(Attribute)
admin.site.register(Unit)
admin.site.register(Choice)
| 22 | 48 | 0.808081 | 28 | 198 | 5.714286 | 0.5 | 0.16875 | 0.31875 | 0.2625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10101 | 198 | 8 | 49 | 24.75 | 0.898876 | 0.131313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 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 |
b2fe91217e6d8f0c9bcf426726e4015074d67b20 | 30 | py | Python | mskit/post_analysis/_diann/__init__.py | gureann/MSKit | 8b360d38288100476740ad808e11b6c1b454dc2c | [
"MIT"
] | null | null | null | mskit/post_analysis/_diann/__init__.py | gureann/MSKit | 8b360d38288100476740ad808e11b6c1b454dc2c | [
"MIT"
] | null | null | null | mskit/post_analysis/_diann/__init__.py | gureann/MSKit | 8b360d38288100476740ad808e11b6c1b454dc2c | [
"MIT"
] | null | null | null | from . import diann_constants
| 15 | 29 | 0.833333 | 4 | 30 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
652967af9e3d9c659f30c12ef8f29fa406c4a967 | 44 | py | Python | sotalab/core/__init__.py | sota-lab/core | 3f2a5cdc1336b9f98d6e18756287c075128e4867 | [
"MIT"
] | null | null | null | sotalab/core/__init__.py | sota-lab/core | 3f2a5cdc1336b9f98d6e18756287c075128e4867 | [
"MIT"
] | null | null | null | sotalab/core/__init__.py | sota-lab/core | 3f2a5cdc1336b9f98d6e18756287c075128e4867 | [
"MIT"
] | null | null | null | from .config import ClassRegistry, register
| 22 | 43 | 0.840909 | 5 | 44 | 7.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 44 | 1 | 44 | 44 | 0.948718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
33191f800ec8af9ba3835991a6a3e72dd7531d83 | 152 | py | Python | src/nbc_analysis/utils/func_utils.py | wmcabee-cs/nbc_analysis | d6c717aea0bd3638f9f6d03e2facb45fdbb062fc | [
"MIT"
] | null | null | null | src/nbc_analysis/utils/func_utils.py | wmcabee-cs/nbc_analysis | d6c717aea0bd3638f9f6d03e2facb45fdbb062fc | [
"MIT"
] | null | null | null | src/nbc_analysis/utils/func_utils.py | wmcabee-cs/nbc_analysis | d6c717aea0bd3638f9f6d03e2facb45fdbb062fc | [
"MIT"
] | null | null | null | from toolz import take, first, cons, merge, partial
def take_if_limit(reader, limit):
return take(limit, reader) if limit is not None else reader
| 25.333333 | 63 | 0.75 | 25 | 152 | 4.48 | 0.68 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177632 | 152 | 5 | 64 | 30.4 | 0.896 | 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 |
33309395d2e693429583990b120b1d8057b0e8b7 | 310 | py | Python | tests/test_model_configs.py | Pandora-Intelligence/crosslingual-coreference | 27b82bd7e49eaf47e427ccc50bf0ed5761da4917 | [
"MIT"
] | 5 | 2022-03-28T17:44:01.000Z | 2022-03-31T09:13:31.000Z | tests/test_model_configs.py | Pandora-Intelligence/crosslingual-coreference | 27b82bd7e49eaf47e427ccc50bf0ed5761da4917 | [
"MIT"
] | 1 | 2022-03-30T10:21:01.000Z | 2022-03-30T10:21:01.000Z | tests/test_model_configs.py | Pandora-Intelligence/crosslingual-coreference | 27b82bd7e49eaf47e427ccc50bf0ed5761da4917 | [
"MIT"
] | 1 | 2022-03-29T08:03:25.000Z | 2022-03-29T08:03:25.000Z | def test_standalone():
from crosslingual_coreference.examples import test_individual # noqa: F401
def test_standalone_chunking():
from crosslingual_coreference.examples import test_chunking # noqa: F401
def test_spacy():
from crosslingual_coreference.examples import test_spacy # noqa: F401
| 28.181818 | 79 | 0.793548 | 37 | 310 | 6.378378 | 0.351351 | 0.088983 | 0.34322 | 0.444915 | 0.572034 | 0.572034 | 0 | 0 | 0 | 0 | 0 | 0.034091 | 0.148387 | 310 | 10 | 80 | 31 | 0.859848 | 0.103226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0.5 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
334add858b4f89d23b93604330911c681a3c962f | 70 | py | Python | darklim/__init__.py | slwatkins/DarkLim | 22a0f8ea7dd609075d55c413b598e42da8ef348f | [
"MIT"
] | 1 | 2022-01-21T16:56:36.000Z | 2022-01-21T16:56:36.000Z | darklim/__init__.py | slwatkins/DarkLim | 22a0f8ea7dd609075d55c413b598e42da8ef348f | [
"MIT"
] | null | null | null | darklim/__init__.py | slwatkins/DarkLim | 22a0f8ea7dd609075d55c413b598e42da8ef348f | [
"MIT"
] | null | null | null | from . import limit
from . import constants
from . import sensitivity
| 17.5 | 25 | 0.785714 | 9 | 70 | 6.111111 | 0.555556 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 70 | 3 | 26 | 23.333333 | 0.948276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
682539c87847046d11204fb3c39601493debf1cc | 13,329 | py | Python | scripts/job_creators/utils.py | hysds/hysds | 839d527114e115603ea0a2c4c1b7fe474f7b7b39 | [
"Apache-2.0"
] | 17 | 2018-04-30T17:53:23.000Z | 2021-11-10T18:24:24.000Z | scripts/job_creators/utils.py | hysds/hysds | 839d527114e115603ea0a2c4c1b7fe474f7b7b39 | [
"Apache-2.0"
] | 54 | 2017-10-17T23:22:53.000Z | 2022-02-09T22:05:07.000Z | scripts/job_creators/utils.py | hysds/hysds | 839d527114e115603ea0a2c4c1b7fe474f7b7b39 | [
"Apache-2.0"
] | 9 | 2018-01-13T01:07:21.000Z | 2021-02-25T21:21:43.000Z | from __future__ import unicode_literals
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from future import standard_library
standard_library.install_aliases()
import json
from pprint import pprint, pformat
def get_job_json(info, job_type):
"""
Basi... | 27.653527 | 139 | 0.524796 | 1,449 | 13,329 | 4.599724 | 0.093858 | 0.03841 | 0.037809 | 0.019805 | 0.84141 | 0.826407 | 0.811553 | 0.772093 | 0.740735 | 0.710278 | 0 | 0.059283 | 0.309025 | 13,329 | 481 | 140 | 27.711019 | 0.664387 | 0.419161 | 0 | 0.691244 | 0 | 0 | 0.273808 | 0.016469 | 0 | 0 | 0 | 0 | 0 | 1 | 0.050691 | false | 0 | 0.046083 | 0 | 0.147465 | 0.009217 | 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 |
6828dcc02eceb41abc0c80989476ab5a93d61ed4 | 9,443 | py | Python | tests/contracts/KT1KXAV7cZmN8ouCqd4rMnMPHy9Wy4Jc3Xvi/test_michelson_coding_KT1KXA.py | juztin/pytezos-1 | 7e608ff599d934bdcf129e47db43dbdb8fef9027 | [
"MIT"
] | 1 | 2020-08-11T02:31:24.000Z | 2020-08-11T02:31:24.000Z | tests/contracts/KT1KXAV7cZmN8ouCqd4rMnMPHy9Wy4Jc3Xvi/test_michelson_coding_KT1KXA.py | juztin/pytezos-1 | 7e608ff599d934bdcf129e47db43dbdb8fef9027 | [
"MIT"
] | 1 | 2020-12-30T16:44:56.000Z | 2020-12-30T16:44:56.000Z | tests/contracts/KT1KXAV7cZmN8ouCqd4rMnMPHy9Wy4Jc3Xvi/test_michelson_coding_KT1KXA.py | tqtezos/pytezos | a4ac0b022d35d4c9f3062609d8ce09d584b5faa8 | [
"MIT"
] | 1 | 2022-03-20T19:01:00.000Z | 2022-03-20T19:01:00.000Z | from unittest import TestCase
from tests import get_data
from pytezos.michelson.micheline import michelson_to_micheline
from pytezos.michelson.formatter import micheline_to_michelson
class MichelsonCodingTestKT1KXA(TestCase):
def setUp(self):
self.maxDiff = None
def test_michelson_parse_code_KT... | 46.9801 | 90 | 0.733983 | 880 | 9,443 | 7.563636 | 0.05 | 0.048377 | 0.074369 | 0.135216 | 0.963341 | 0.963341 | 0.963341 | 0.963341 | 0.947416 | 0.947416 | 0 | 0.049764 | 0.191359 | 9,443 | 200 | 91 | 47.215 | 0.821896 | 0 | 0 | 0.639053 | 0 | 0 | 0.316531 | 0.316531 | 0 | 0 | 0 | 0 | 0.159763 | 1 | 0.16568 | false | 0 | 0.023669 | 0 | 0.195266 | 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 |
68480627b26d1d66d53ab4f975a25b46e7e4ba32 | 3,524 | py | Python | test-framework/test-suites/integration/tests/remove/test_remove_host_route.py | shivanshs9/stacki | 258740748281dfe89b0f566261eaf23102f91aa4 | [
"BSD-3-Clause"
] | null | null | null | test-framework/test-suites/integration/tests/remove/test_remove_host_route.py | shivanshs9/stacki | 258740748281dfe89b0f566261eaf23102f91aa4 | [
"BSD-3-Clause"
] | null | null | null | test-framework/test-suites/integration/tests/remove/test_remove_host_route.py | shivanshs9/stacki | 258740748281dfe89b0f566261eaf23102f91aa4 | [
"BSD-3-Clause"
] | null | null | null | import json
from textwrap import dedent
class TestRemoveHostRoute:
def test_remove_host_route_invalid_host(self, host):
result = host.run('stack remove host route test')
assert result.rc == 255
assert result.stderr == 'error - cannot resolve host "test"\n'
def test_remove_host_route_no_args(self, host):
re... | 29.864407 | 75 | 0.685868 | 583 | 3,524 | 4.085763 | 0.135506 | 0.019312 | 0.087322 | 0.035264 | 0.921495 | 0.903023 | 0.892947 | 0.892947 | 0.874895 | 0.800588 | 0 | 0.044507 | 0.196652 | 3,524 | 117 | 76 | 30.119658 | 0.796892 | 0.151532 | 0 | 0.659091 | 0 | 0.034091 | 0.362445 | 0 | 0 | 0 | 0 | 0 | 0.318182 | 1 | 0.068182 | false | 0 | 0.022727 | 0 | 0.102273 | 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 |
d7a1135638059b4741f84e37ba5ce3448f4c400b | 11,928 | py | Python | primitives_ubc/cnn/test_cnn.py | tonyjo/ubc_primitives | bc94a403f176fe28db2a9ac9d1a48cb9db021f90 | [
"Apache-2.0"
] | null | null | null | primitives_ubc/cnn/test_cnn.py | tonyjo/ubc_primitives | bc94a403f176fe28db2a9ac9d1a48cb9db021f90 | [
"Apache-2.0"
] | 4 | 2020-07-19T00:45:29.000Z | 2020-12-10T18:25:41.000Z | primitives_ubc/cnn/test_cnn.py | tonyjo/ubc_primitives | bc94a403f176fe28db2a9ac9d1a48cb9db021f90 | [
"Apache-2.0"
] | 1 | 2021-04-30T18:13:49.000Z | 2021-04-30T18:13:49.000Z | import os
import numpy as np
import pandas as pd
import unittest
from d3m.container.dataset import Dataset
from d3m.metadata import base as metadata_base
from common_primitives.denormalize import DenormalizePrimitive
from common_primitives.dataset_to_dataframe import DatasetToDataFramePrimitive
from common_primitives.... | 48.096774 | 160 | 0.657193 | 1,081 | 11,928 | 6.99445 | 0.132285 | 0.080413 | 0.046555 | 0.030684 | 0.814046 | 0.791033 | 0.774501 | 0.758894 | 0.75162 | 0.75162 | 0 | 0.004496 | 0.198105 | 11,928 | 247 | 161 | 48.291498 | 0.785991 | 0.045775 | 0 | 0.598901 | 0 | 0 | 0.189184 | 0.087479 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010989 | false | 0 | 0.06044 | 0 | 0.076923 | 0.296703 | 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 |
d7a886dc8f5045b3a0f4d7ae9bce7405d48a6a3a | 170 | py | Python | nes/processors/registers/flags/__init__.py | Hexadorsimal/pynes | dbb3d40c1240fa27f70fa798bcec09188755eec2 | [
"MIT"
] | 1 | 2017-05-13T18:57:09.000Z | 2017-05-13T18:57:09.000Z | nes/processors/registers/flags/__init__.py | Hexadorsimal/py6502 | dbb3d40c1240fa27f70fa798bcec09188755eec2 | [
"MIT"
] | 7 | 2020-10-24T17:16:56.000Z | 2020-11-01T14:10:23.000Z | nes/processors/registers/flags/__init__.py | Hexadorsimal/pynes | dbb3d40c1240fa27f70fa798bcec09188755eec2 | [
"MIT"
] | null | null | null | from .flag import Flag
from .carry_flag import CarryFlag
from .negative_flag import NegativeFlag
from .overflow_flag import OverflowFlag
from .zero_flag import ZeroFlag
| 24.285714 | 39 | 0.847059 | 24 | 170 | 5.833333 | 0.458333 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123529 | 170 | 6 | 40 | 28.333333 | 0.939597 | 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 |
d7ba91d6e610e86158a54acc4e9f0dcb4f537104 | 48 | py | Python | cdpl/__init__.py | Zeroto521/Wox.Plugin.cPDL | 76caf0f2966c2bcdbb7631cb004677fb317511e0 | [
"MIT"
] | 1 | 2021-04-19T22:53:42.000Z | 2021-04-19T22:53:42.000Z | cdpl/__init__.py | Zeroto521/Wox.Plugin.cPDL | 76caf0f2966c2bcdbb7631cb004677fb317511e0 | [
"MIT"
] | null | null | null | cdpl/__init__.py | Zeroto521/Wox.Plugin.cPDL | 76caf0f2966c2bcdbb7631cb004677fb317511e0 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from .cdpl import cdpl
| 12 | 23 | 0.583333 | 7 | 48 | 4 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.208333 | 48 | 3 | 24 | 16 | 0.710526 | 0.4375 | 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 |
d7fb862ffbd2339cde539dadce0e1d23e870ad8c | 1,201 | py | Python | src/api/migrations/0002_auto_20190522_1618.py | pradipta/back-end | 05895b051afc4c8e0cb17db708063d80102e9de5 | [
"MIT"
] | 17 | 2019-05-11T22:15:34.000Z | 2022-03-26T22:45:33.000Z | src/api/migrations/0002_auto_20190522_1618.py | pradipta/back-end | 05895b051afc4c8e0cb17db708063d80102e9de5 | [
"MIT"
] | 390 | 2019-05-23T10:48:57.000Z | 2021-12-17T21:01:43.000Z | src/api/migrations/0002_auto_20190522_1618.py | pradipta/back-end | 05895b051afc4c8e0cb17db708063d80102e9de5 | [
"MIT"
] | 40 | 2019-05-21T14:41:57.000Z | 2021-01-30T13:39:38.000Z | # Generated by Django 2.2.1 on 2019-05-22 21:18
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [("api", "0001_initial")]
operations = [
migrations.AlterField(
model_name="codeschool",
name="created_at",
field=models... | 28.595238 | 58 | 0.571191 | 114 | 1,201 | 5.824561 | 0.333333 | 0.180723 | 0.225904 | 0.262048 | 0.793675 | 0.793675 | 0.71988 | 0.665663 | 0.665663 | 0.593373 | 0 | 0.023199 | 0.318068 | 1,201 | 41 | 59 | 29.292683 | 0.787546 | 0.037469 | 0 | 0.857143 | 1 | 0 | 0.113518 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.028571 | 0 | 0.114286 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 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 |
cc072b8864d26395c5385069a73bedca65967c4f | 5,602 | py | Python | lib/roi_data_layer/repoolingFourParts.py | someoneAlready/ohem | b7552ceb8ed1e9768e0d522258caa64b79834b54 | [
"BSD-2-Clause"
] | 1 | 2017-01-24T20:41:52.000Z | 2017-01-24T20:41:52.000Z | lib/roi_data_layer/repoolingFourParts.py | cgangEE/ohem | b7552ceb8ed1e9768e0d522258caa64b79834b54 | [
"BSD-2-Clause"
] | null | null | null | lib/roi_data_layer/repoolingFourParts.py | cgangEE/ohem | b7552ceb8ed1e9768e0d522258caa64b79834b54 | [
"BSD-2-Clause"
] | 1 | 2020-10-09T07:49:03.000Z | 2020-10-09T07:49:03.000Z | # --------------------------------------------------------
# Fast R-CNN with OHEM
# Licensed under The MIT License [see LICENSE for details]
# Written by Ross Girshick and Abhinav Shrivastava
# --------------------------------------------------------
"""The data layer used during training to train a Fast R-CNN network... | 30.11828 | 122 | 0.556765 | 781 | 5,602 | 3.914213 | 0.177977 | 0.054956 | 0.038273 | 0.044488 | 0.796205 | 0.788355 | 0.780504 | 0.771017 | 0.771017 | 0.759568 | 0 | 0.034 | 0.285969 | 5,602 | 185 | 123 | 30.281081 | 0.73025 | 0.204391 | 0 | 0.773585 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028302 | 1 | 0.113208 | false | 0.04717 | 0.075472 | 0 | 0.216981 | 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 |
cc0a58571d80215308d7b60e5b9a462131fc8cb1 | 442 | py | Python | main.py | hilmyalbar/Simple-Calculator | da4c231de2d97a640d1084648f40e41bcea66cd3 | [
"MIT"
] | null | null | null | main.py | hilmyalbar/Simple-Calculator | da4c231de2d97a640d1084648f40e41bcea66cd3 | [
"MIT"
] | null | null | null | main.py | hilmyalbar/Simple-Calculator | da4c231de2d97a640d1084648f40e41bcea66cd3 | [
"MIT"
] | null | null | null | print(25*'=')
print('Simple Calculator')
print(25*'=')
while True:
x, y, z = input().split()
if y == '+':
print(25*'=')
print(int(x) + int(z))
print(25*'=')
elif y == '-':
print(25*'=')
print(int(x) - int(z))
print(25*'=')
elif y == 'x' or y == '*':
print(25*'=')
print(int(x) * int(z))
pr... | 18.416667 | 27 | 0.463801 | 65 | 442 | 3.153846 | 0.276923 | 0.341463 | 0.292683 | 0.253659 | 0.609756 | 0.609756 | 0.609756 | 0.609756 | 0.609756 | 0.609756 | 0 | 0.058651 | 0.228507 | 442 | 24 | 28 | 18.416667 | 0.542522 | 0 | 0 | 0.434783 | 0 | 0 | 0.099323 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.695652 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
cc12b49ac9030954e2d3e2f9060ac157f71cbf4d | 83 | py | Python | utils/postplotting/__init__.py | shogi880/lossyless | 04f76c765111c4bf7e6b8f870787e5a8a2b66fbd | [
"MIT"
] | 61 | 2021-07-05T20:05:51.000Z | 2022-03-19T08:52:40.000Z | utils/postplotting/__init__.py | shogi880/lossyless | 04f76c765111c4bf7e6b8f870787e5a8a2b66fbd | [
"MIT"
] | 2 | 2021-07-26T15:36:17.000Z | 2021-12-19T10:29:12.000Z | utils/postplotting/__init__.py | shogi880/lossyless | 04f76c765111c4bf7e6b8f870787e5a8a2b66fbd | [
"MIT"
] | 7 | 2021-09-14T08:35:05.000Z | 2022-02-27T20:01:02.000Z | from .decorators import *
from .postplotter import *
from .pretty_renamer import *
| 20.75 | 29 | 0.783133 | 10 | 83 | 6.4 | 0.6 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144578 | 83 | 3 | 30 | 27.666667 | 0.901408 | 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 |
cc23cbffa1be9ae5d70cf06535c76e4d40bbb773 | 129 | py | Python | project_1/src/losses/__init__.py | kkaryl/AI6126-Advanced_Computer_Vision | 6a55fe02f3267dc295b001f88df595e649c1fd31 | [
"MIT"
] | 3 | 2020-12-28T06:58:31.000Z | 2021-08-30T16:47:03.000Z | project_1/src/losses/__init__.py | kkaryl/AI6126-Advanced_Computer_Vision | 6a55fe02f3267dc295b001f88df595e649c1fd31 | [
"MIT"
] | null | null | null | project_1/src/losses/__init__.py | kkaryl/AI6126-Advanced_Computer_Vision | 6a55fe02f3267dc295b001f88df595e649c1fd31 | [
"MIT"
] | 2 | 2020-12-28T06:57:56.000Z | 2022-01-15T09:04:53.000Z | from __future__ import absolute_import
from .FocalLoss import *
from .LabelSmoothingCrossEntropy import *
from .MixedUp import * | 25.8 | 41 | 0.829457 | 14 | 129 | 7.285714 | 0.5 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124031 | 129 | 5 | 42 | 25.8 | 0.902655 | 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 |
0bfc3841fd847d82de265f087ef09050f6ce30d3 | 475 | py | Python | kvdroid/jclass/android/view.py | wilsenmuts/Kvdroid | 9ab29c54e761ce4cfaa9d8f847257c4a975fbe0f | [
"MIT"
] | 27 | 2021-03-09T21:39:43.000Z | 2022-01-25T22:55:34.000Z | kvdroid/jclass/android/view.py | kengoon/Kvdroid | a47ab614079b70f81031c2e16a2a04fba1d39677 | [
"MIT"
] | 10 | 2021-03-22T20:38:17.000Z | 2021-12-23T21:06:40.000Z | kvdroid/jclass/android/view.py | kengoon/Kvdroid | a47ab614079b70f81031c2e16a2a04fba1d39677 | [
"MIT"
] | 7 | 2021-03-23T07:55:47.000Z | 2021-12-17T09:32:35.000Z | from jnius import autoclass
from kvdroid.jclass import _class_call
def View(*args, instantiate: bool = False):
return _class_call(autoclass('android.view.View'), args, instantiate)
def WindowManager(*args, instantiate: bool = False):
return _class_call(autoclass("android.view.WindowManager"), args, instanti... | 31.666667 | 95 | 0.770526 | 56 | 475 | 6.392857 | 0.321429 | 0.251397 | 0.159218 | 0.201117 | 0.567039 | 0.567039 | 0.567039 | 0.567039 | 0.567039 | 0.567039 | 0 | 0 | 0.117895 | 475 | 14 | 96 | 33.928571 | 0.854415 | 0 | 0 | 0 | 0 | 0 | 0.172632 | 0.136842 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | true | 0 | 0.25 | 0.375 | 1 | 0 | 0 | 0 | 0 | null | 1 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
041f5563f5f49646eda96509e593b5120e3f158f | 6,679 | py | Python | tests/test_audit_trail.py | ihorizonUK/workos-python | 80ec96d9c4ed3f2539946a19ad9c9b59ac6ee023 | [
"MIT"
] | 13 | 2020-03-18T20:38:32.000Z | 2022-03-02T20:23:42.000Z | tests/test_audit_trail.py | ihorizonUK/workos-python | 80ec96d9c4ed3f2539946a19ad9c9b59ac6ee023 | [
"MIT"
] | 71 | 2020-02-27T03:53:40.000Z | 2022-03-11T16:54:14.000Z | tests/test_audit_trail.py | ihorizonUK/workos-python | 80ec96d9c4ed3f2539946a19ad9c9b59ac6ee023 | [
"MIT"
] | 5 | 2020-10-29T22:38:41.000Z | 2022-02-20T21:12:58.000Z | from datetime import datetime
import json
from requests import Response
import pytest
import workos
from workos.audit_trail import AuditTrail
class TestAuditTrail(object):
@pytest.fixture(autouse=True)
def setup(self, set_api_key):
self.audit_trail = AuditTrail()
def test_create_audit_trail_eve... | 33.732323 | 85 | 0.527324 | 673 | 6,679 | 4.937593 | 0.160475 | 0.075233 | 0.010834 | 0.059585 | 0.842311 | 0.825459 | 0.763768 | 0.757147 | 0.7418 | 0.7418 | 0 | 0.031335 | 0.34062 | 6,679 | 197 | 86 | 33.903553 | 0.723206 | 0 | 0 | 0.68 | 0 | 0 | 0.238658 | 0 | 0 | 0 | 0 | 0 | 0.062857 | 1 | 0.04 | false | 0 | 0.034286 | 0 | 0.08 | 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 |
044835ee8abb157b923ec58c83562a59170f602f | 109 | py | Python | examples/test_peripheral_turtle.py | maxtrussell/python-computer-craft | 9e318d2a0d368faf7a5c2a91e750fe8008aa9b81 | [
"MIT"
] | 42 | 2016-12-17T21:26:34.000Z | 2022-03-30T06:16:34.000Z | examples/test_peripheral_turtle.py | maxtrussell/python-computer-craft | 9e318d2a0d368faf7a5c2a91e750fe8008aa9b81 | [
"MIT"
] | 9 | 2018-02-21T22:44:18.000Z | 2022-03-14T04:14:02.000Z | examples/test_peripheral_turtle.py | maxtrussell/python-computer-craft | 9e318d2a0d368faf7a5c2a91e750fe8008aa9b81 | [
"MIT"
] | 7 | 2018-04-02T09:08:29.000Z | 2022-03-31T15:19:02.000Z | from cc import import_file
_lib = import_file('_lib.py', __file__)
_lib._computer_peri('turtle', 'turtle')
| 18.166667 | 39 | 0.752294 | 16 | 109 | 4.4375 | 0.5625 | 0.295775 | 0.366197 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110092 | 109 | 5 | 40 | 21.8 | 0.731959 | 0 | 0 | 0 | 0 | 0 | 0.174312 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
04502fb41f6c41e50555ae4a5aa4b31fb1099a4f | 11,406 | py | Python | GENBOT/webhook/Request.py | Snd18/GENBOT_public | a60f69749ffdf43b9b688153d5c4a3488b3a9396 | [
"Apache-2.0"
] | null | null | null | GENBOT/webhook/Request.py | Snd18/GENBOT_public | a60f69749ffdf43b9b688153d5c4a3488b3a9396 | [
"Apache-2.0"
] | null | null | null | GENBOT/webhook/Request.py | Snd18/GENBOT_public | a60f69749ffdf43b9b688153d5c4a3488b3a9396 | [
"Apache-2.0"
] | null | null | null |
class Request():
def __init__(self, req):
self.req = req
@property
def req(self):
return self.__req
@property
def columns_select(self):
return self.__getColumnsSelect()
@property
def fieldMap(self):
return self.__getFieldMap()
@property
def valu... | 38.664407 | 140 | 0.589076 | 1,196 | 11,406 | 5.533445 | 0.076087 | 0.089906 | 0.11786 | 0.228468 | 0.760653 | 0.749773 | 0.749018 | 0.744636 | 0.704594 | 0.687217 | 0 | 0.003376 | 0.246888 | 11,406 | 294 | 141 | 38.795918 | 0.767055 | 0.049097 | 0 | 0.443902 | 0 | 0 | 0.280477 | 0.015465 | 0 | 0 | 0 | 0 | 0 | 1 | 0.180488 | false | 0 | 0 | 0.087805 | 0.356098 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
045d95a1b6ebd0202406653c55b86793ab6bb498 | 171 | py | Python | diysite/main/views.py | NicoleMulela/diy-home-supply | 79b160e5e057ba73214d48819efe3affb7e0ef3b | [
"MIT"
] | null | null | null | diysite/main/views.py | NicoleMulela/diy-home-supply | 79b160e5e057ba73214d48819efe3affb7e0ef3b | [
"MIT"
] | null | null | null | diysite/main/views.py | NicoleMulela/diy-home-supply | 79b160e5e057ba73214d48819efe3affb7e0ef3b | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse
# Create your views here.
def index(response):
return render(response, "main/home.html",{})
| 21.375 | 48 | 0.760234 | 23 | 171 | 5.652174 | 0.782609 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140351 | 171 | 7 | 49 | 24.428571 | 0.884354 | 0.134503 | 0 | 0 | 0 | 0 | 0.096552 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
f08e256ec8b252c9572fccebd7af70efc403151b | 62 | py | Python | Trial.py | ShuhaoZQGG/Python-Very-Beginner-to-Very-Intermediate | cfad98b1c1c175761d3a68861438562f7d410cb0 | [
"MIT"
] | null | null | null | Trial.py | ShuhaoZQGG/Python-Very-Beginner-to-Very-Intermediate | cfad98b1c1c175761d3a68861438562f7d410cb0 | [
"MIT"
] | null | null | null | Trial.py | ShuhaoZQGG/Python-Very-Beginner-to-Very-Intermediate | cfad98b1c1c175761d3a68861438562f7d410cb0 | [
"MIT"
] | null | null | null | myset = {-124,12,51,32,-1000}
print(myset.pop())
print(myset)
| 15.5 | 29 | 0.66129 | 11 | 62 | 3.727273 | 0.727273 | 0.487805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22807 | 0.080645 | 62 | 3 | 30 | 20.666667 | 0.491228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
f0e2547f9f075edc53a01559eb94bd0d5ef7c25d | 122 | py | Python | src/14/testing_output_sent_to_stdout/mymodule.py | tuanavu/python-gitbook | 948a05e065b0f40afbfd22f697dff16238163cde | [
"MIT"
] | 14 | 2017-05-20T04:06:46.000Z | 2022-01-23T06:48:45.000Z | src/14/testing_output_sent_to_stdout/mymodule.py | tuanavu/python-gitbook | 948a05e065b0f40afbfd22f697dff16238163cde | [
"MIT"
] | 1 | 2021-06-10T20:17:55.000Z | 2021-06-10T20:17:55.000Z | src/14/testing_output_sent_to_stdout/mymodule.py | tuanavu/python-gitbook | 948a05e065b0f40afbfd22f697dff16238163cde | [
"MIT"
] | 15 | 2017-03-29T17:57:33.000Z | 2021-08-24T02:20:08.000Z | # mymodule.py
def urlprint(protocol, host, domain):
url = '{}://{}.{}'.format(protocol, host, domain)
print(url)
| 20.333333 | 53 | 0.606557 | 14 | 122 | 5.285714 | 0.714286 | 0.324324 | 0.486486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172131 | 122 | 5 | 54 | 24.4 | 0.732673 | 0.090164 | 0 | 0 | 0 | 0 | 0.091743 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0.666667 | 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 | 0 | 1 | 0 | 6 |
9bcdd546302fb7b8945c3e8d6eb15b6fe444e032 | 57 | py | Python | cortex/server/__init__.py | chib0/asd-winter2019 | c7d95305b1e8b99013fd40da1e7ebe01c2d0102a | [
"Apache-2.0"
] | null | null | null | cortex/server/__init__.py | chib0/asd-winter2019 | c7d95305b1e8b99013fd40da1e7ebe01c2d0102a | [
"Apache-2.0"
] | 4 | 2021-02-02T22:38:53.000Z | 2022-01-13T02:32:33.000Z | cortex/server/__init__.py | chib0/asd-winter2019 | c7d95305b1e8b99013fd40da1e7ebe01c2d0102a | [
"Apache-2.0"
] | null | null | null | from .server import get_server, _run_server as run_server | 57 | 57 | 0.859649 | 10 | 57 | 4.5 | 0.6 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 57 | 1 | 57 | 57 | 0.882353 | 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 |
9be7739adf0be505413e7881d0f615a75e5126cc | 29 | py | Python | autolearn/hyperoptim/__init__.py | dawidkopczyk/autolearn | 1a69c8714faaba02972b2dfabc1b66b2493a2a8f | [
"BSD-3-Clause"
] | 1 | 2018-11-07T15:56:27.000Z | 2018-11-07T15:56:27.000Z | autolearn/hyperoptim/__init__.py | dawidkopczyk/autolearn | 1a69c8714faaba02972b2dfabc1b66b2493a2a8f | [
"BSD-3-Clause"
] | null | null | null | autolearn/hyperoptim/__init__.py | dawidkopczyk/autolearn | 1a69c8714faaba02972b2dfabc1b66b2493a2a8f | [
"BSD-3-Clause"
] | 1 | 2019-04-05T17:17:38.000Z | 2019-04-05T17:17:38.000Z | from .hyperoptimizer import * | 29 | 29 | 0.827586 | 3 | 29 | 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 |
aca3b5989160d7f9f5b4a0b95c57bf09af5f442e | 202 | py | Python | cfgov/regulations3k/models/__init__.py | atuggle/cfgov-refresh | 5a9cfd92b460b9be7befb39f5845abf56857aeac | [
"CC0-1.0"
] | null | null | null | cfgov/regulations3k/models/__init__.py | atuggle/cfgov-refresh | 5a9cfd92b460b9be7befb39f5845abf56857aeac | [
"CC0-1.0"
] | null | null | null | cfgov/regulations3k/models/__init__.py | atuggle/cfgov-refresh | 5a9cfd92b460b9be7befb39f5845abf56857aeac | [
"CC0-1.0"
] | null | null | null | # flake8: noqa F401
from regulations3k.models.django import (
EffectiveVersion, Part, Section, Subpart, sortable_label
)
from regulations3k.models.pages import RegulationLandingPage, RegulationPage
| 33.666667 | 76 | 0.821782 | 21 | 202 | 7.857143 | 0.809524 | 0.206061 | 0.278788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03352 | 0.113861 | 202 | 5 | 77 | 40.4 | 0.888268 | 0.084158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 |
acc011b1974664188185485da5414dea34af51d6 | 8,463 | py | Python | web_helper/name_generator/korean_name_generator.py | kittolau/selepy | b1efaa309fb5c43f7b95de17f1d891d5858f36f0 | [
"MIT"
] | null | null | null | web_helper/name_generator/korean_name_generator.py | kittolau/selepy | b1efaa309fb5c43f7b95de17f1d891d5858f36f0 | [
"MIT"
] | null | null | null | web_helper/name_generator/korean_name_generator.py | kittolau/selepy | b1efaa309fb5c43f7b95de17f1d891d5858f36f0 | [
"MIT"
] | null | null | null | from web_helper.name_generator.abstract_name_generator import AbstractNameGenerator
class KoreanNameGenerator(AbstractNameGenerator):
#name pool from http://fantasynamegenerators.com/chinese_names.php
namesMale = ["Bae","Byeong Cheol","Byeong Ho","Byung Chul","Byung Ho","Byung Hoon","Chang Min","Chang Woo","C... | 445.421053 | 3,784 | 0.612667 | 1,506 | 8,463 | 3.434263 | 0.2417 | 0.006187 | 0.007541 | 0.005414 | 0.025135 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079877 | 8,463 | 18 | 3,785 | 470.166667 | 0.664184 | 0.00768 | 0 | 0 | 0 | 0 | 0.64392 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.090909 | 0.181818 | 0.909091 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
acc8371c2adb4f090b92e4c0bb6c41d156cdac08 | 5,863 | py | Python | experiment_scripts/mnist_reg.py | chawins/princeton_thesis | 114b1f9bc36742827c2cb285249ca30dba0ae85c | [
"MIT"
] | null | null | null | experiment_scripts/mnist_reg.py | chawins/princeton_thesis | 114b1f9bc36742827c2cb285249ca30dba0ae85c | [
"MIT"
] | null | null | null | experiment_scripts/mnist_reg.py | chawins/princeton_thesis | 114b1f9bc36742827c2cb285249ca30dba0ae85c | [
"MIT"
] | null | null | null | # Specify visible cuda device
import os
os.environ["CUDA_DEVICE_ORDER"] = "PCI_BUS_ID"
os.environ["CUDA_VISIBLE_DEVICES"] = "4"
from parameters import *
from lib.utils import *
from lib.attacks import *
from lib.keras_utils import *
import numpy as np
import tensorflow as tf
x_train, y_train, x_test, y_test = load_... | 39.348993 | 87 | 0.607368 | 836 | 5,863 | 3.996411 | 0.149522 | 0.034421 | 0.023346 | 0.038911 | 0.850644 | 0.850644 | 0.831488 | 0.831488 | 0.826998 | 0.818318 | 0 | 0.033071 | 0.241856 | 5,863 | 148 | 88 | 39.614865 | 0.71856 | 0.403036 | 0 | 0.375 | 0 | 0 | 0.056653 | 0.024404 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015625 | false | 0 | 0.109375 | 0 | 0.125 | 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 |
acd659cfde424ffe215734b7a0b60a327443c819 | 93 | py | Python | yo_fluq_ds/_misc/__init__.py | okulovsky/yo_ds | 9e1fa2e7a1b9746c3982afc152c024169fec45ca | [
"MIT"
] | 16 | 2019-09-26T09:05:42.000Z | 2021-02-04T01:39:09.000Z | yo_fluq_ds/_misc/__init__.py | okulovsky/yo_ds | 9e1fa2e7a1b9746c3982afc152c024169fec45ca | [
"MIT"
] | 2 | 2019-10-23T19:01:23.000Z | 2020-06-11T09:08:45.000Z | yo_fluq_ds/_misc/__init__.py | okulovsky/yo_ds | 9e1fa2e7a1b9746c3982afc152c024169fec45ca | [
"MIT"
] | 2 | 2019-09-26T09:05:50.000Z | 2019-10-23T18:46:11.000Z | from yo_fluq._misc import *
from .io import *
from .obj import *
from .ordered_enum import *
| 18.6 | 27 | 0.741935 | 15 | 93 | 4.4 | 0.6 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172043 | 93 | 4 | 28 | 23.25 | 0.857143 | 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 |
acedcb68082587fca81c04b174e60e636cb380d0 | 683 | py | Python | src/cirrus_ngs/server/Pipelines/util/RestoreBackups.py | ucsd-ccbb/cirrus-ngs | 8f51450b3d971b03d4fd08a1aab11d5a076aa23e | [
"MIT"
] | 8 | 2017-01-20T00:00:45.000Z | 2022-02-11T00:20:45.000Z | src/cirrus_ngs/server/Pipelines/util/RestoreBackups.py | ucsd-ccbb/cirrus-ngs | 8f51450b3d971b03d4fd08a1aab11d5a076aa23e | [
"MIT"
] | 3 | 2018-03-23T19:09:06.000Z | 2018-03-26T19:49:55.000Z | src/cirrus_ngs/server/Pipelines/util/RestoreBackups.py | ucsd-ccbb/cirrus-ngs | 8f51450b3d971b03d4fd08a1aab11d5a076aa23e | [
"MIT"
] | 2 | 2018-03-29T06:24:31.000Z | 2019-04-01T18:34:53.000Z | import os
config_dir = "/shared/workspace/cirrus-ngs/src/cirrus_ngs/server/Pipelines/config"
scripts_dir = "/shared/workspace/cirrus-ngs/src/cirrus_ngs/server/Pipelines/scripts"
for path,dirs,files in os.walk(config_dir):
for curr_file in files:
if curr_file.endswith("BACKUP"):
os.rename("{}/{... | 42.6875 | 108 | 0.667643 | 102 | 683 | 4.333333 | 0.294118 | 0.144796 | 0.081448 | 0.108597 | 0.809955 | 0.809955 | 0.809955 | 0.701357 | 0.701357 | 0.701357 | 0 | 0.003448 | 0.150805 | 683 | 15 | 109 | 45.533333 | 0.758621 | 0 | 0 | 0.5 | 0 | 0 | 0.259151 | 0.197657 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.083333 | 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 |
4a03351542876f06426dc30d162b79b726e7e774 | 334,235 | py | Python | code/plyj/parsetab.py | jmflorezff/cs-6301 | 89fe2668af3911f3a112adfdd46a5b649c62ec61 | [
"MIT"
] | null | null | null | code/plyj/parsetab.py | jmflorezff/cs-6301 | 89fe2668af3911f3a112adfdd46a5b649c62ec61 | [
"MIT"
] | null | null | null | code/plyj/parsetab.py | jmflorezff/cs-6301 | 89fe2668af3911f3a112adfdd46a5b649c62ec61 | [
"MIT"
] | 1 | 2021-08-17T09:16:17.000Z | 2021-08-17T09:16:17.000Z |
# parsetab.py
# This file is automatically generated. Do not edit.
_tabversion = '3.8'
_lr_method = 'LALR'
_lr_signature = '8671335849935BC5A722EAB243FC04C0'
_lr_action_items = {'?':([12,31,38,42,44,46,48,51,55,56,57,62,67,72,85,89,101,107,112,133,134,135,136,137,138,139,141,142,143,145,146,148,150,151,152,156,... | 511.845329 | 192,018 | 0.713683 | 70,533 | 334,235 | 3.302539 | 0.023422 | 0.021396 | 0.018172 | 0.007521 | 0.784033 | 0.731912 | 0.687857 | 0.656612 | 0.622646 | 0.594961 | 0 | 0.525447 | 0.011974 | 334,235 | 652 | 192,019 | 512.630368 | 0.179928 | 0.000186 | 0 | 0.00311 | 1 | 0 | 0.206964 | 0.102319 | 0.001555 | 0 | 0 | 0 | 0.007776 | 1 | 0 | false | 0 | 0.024883 | 0 | 0.024883 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4a066d1b07120900c17d99f34da0959f93693453 | 6,363 | py | Python | config/sentencepiece_model_loc.py | project-anuvaad/OpenNMT-py | 267d097b9e90d59709fe1c26ea8b8e2c43c755c9 | [
"MIT"
] | null | null | null | config/sentencepiece_model_loc.py | project-anuvaad/OpenNMT-py | 267d097b9e90d59709fe1c26ea8b8e2c43c755c9 | [
"MIT"
] | 29 | 2019-07-18T10:21:57.000Z | 2019-10-24T11:41:59.000Z | config/sentencepiece_model_loc.py | project-anuvaad/OpenNMT-py | 267d097b9e90d59709fe1c26ea8b8e2c43c755c9 | [
"MIT"
] | null | null | null | english_hindi = {
"ENG_220519": "model/sentencepiece_models/en-220519.model",
"HIN_220519": "model/sentencepiece_models/hi-220519.model",
"ENG_EXP_1": "model/sentencepiece_models/en_exp-1-2019-10-01-15k.model",
"HIN_EXP_1": "model/sentencepiece_models/hi_exp-1-2019-10-01-15k.model",
"ENG_EXP_10": "m... | 60.6 | 96 | 0.741788 | 1,048 | 6,363 | 4.301527 | 0.097328 | 0.295475 | 0.393966 | 0.06921 | 0.646628 | 0.481588 | 0.370453 | 0.226264 | 0.177906 | 0.021295 | 0 | 0.201397 | 0.077636 | 6,363 | 105 | 97 | 60.6 | 0.566706 | 0 | 0 | 0 | 0 | 0.382979 | 0.825267 | 0.690918 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c5a80b0cb55a7cc611f1202d213dc5e612bfe7c0 | 101 | py | Python | daiquiri/jobs/exceptions.py | agy-why/daiquiri | 4d3e2ce51e202d5a8f1df404a0094a4e018dcb4d | [
"Apache-2.0"
] | 14 | 2018-12-23T18:35:02.000Z | 2021-12-15T04:55:12.000Z | daiquiri/jobs/exceptions.py | agy-why/daiquiri | 4d3e2ce51e202d5a8f1df404a0094a4e018dcb4d | [
"Apache-2.0"
] | 40 | 2018-12-20T12:44:05.000Z | 2022-03-21T11:35:20.000Z | daiquiri/jobs/exceptions.py | agy-why/daiquiri | 4d3e2ce51e202d5a8f1df404a0094a4e018dcb4d | [
"Apache-2.0"
] | 5 | 2019-05-16T08:03:35.000Z | 2021-08-23T20:03:11.000Z | from daiquiri.core.exceptions import DaiquiriException
class JobError(DaiquiriException):
pass
| 16.833333 | 54 | 0.821782 | 10 | 101 | 8.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128713 | 101 | 5 | 55 | 20.2 | 0.943182 | 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 |
6806d16f45c843de89aed8535929fe103c352ef0 | 151 | py | Python | pages/themes/beginners/Appendix/pandas_join/db_utils.py | ProgressBG-Python-Course/ProgressBG-VC2-Python | 03b892a42ee1fad3d4f97e328e06a4b1573fd356 | [
"MIT"
] | null | null | null | pages/themes/beginners/Appendix/pandas_join/db_utils.py | ProgressBG-Python-Course/ProgressBG-VC2-Python | 03b892a42ee1fad3d4f97e328e06a4b1573fd356 | [
"MIT"
] | null | null | null | pages/themes/beginners/Appendix/pandas_join/db_utils.py | ProgressBG-Python-Course/ProgressBG-VC2-Python | 03b892a42ee1fad3d4f97e328e06a4b1573fd356 | [
"MIT"
] | null | null | null | import os
import sqlite3
DEFAULT_PATH = 'db/default.sqlite3')
def db_connect(db_path=DEFAULT_PATH):
con = sqlite3.connect(db_path)
return con | 18.875 | 37 | 0.754967 | 23 | 151 | 4.73913 | 0.434783 | 0.201835 | 0.238532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023438 | 0.152318 | 151 | 8 | 38 | 18.875 | 0.828125 | 0 | 0 | 0 | 0 | 0 | 0.118421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a84c50e42ee754e6484106e03c70224669167fd0 | 202,484 | py | Python | tests/epyccel/recognised_functions/test_numpy_funcs.py | dina-fouad/pyccel | f4d919e673b400442b9c7b81212b6fbef749c7b7 | [
"MIT"
] | 206 | 2018-06-28T00:28:47.000Z | 2022-03-29T05:17:03.000Z | tests/epyccel/recognised_functions/test_numpy_funcs.py | dina-fouad/pyccel | f4d919e673b400442b9c7b81212b6fbef749c7b7 | [
"MIT"
] | 670 | 2018-07-23T11:02:24.000Z | 2022-03-30T07:28:05.000Z | tests/epyccel/recognised_functions/test_numpy_funcs.py | dina-fouad/pyccel | f4d919e673b400442b9c7b81212b6fbef749c7b7 | [
"MIT"
] | 19 | 2019-09-19T06:01:00.000Z | 2022-03-29T05:17:06.000Z | # pylint: disable=missing-function-docstring, missing-module-docstring
import sys
import pytest
from numpy.random import rand, randint, uniform
from numpy import isclose, iinfo, finfo
import numpy as np
from pyccel.decorators import types
from pyccel.epyccel import epyccel
min_int8 = iinfo('int8').min
max_int8 = iinf... | 39.097123 | 236 | 0.642357 | 30,088 | 202,484 | 4.09562 | 0.01007 | 0.005697 | 0.031356 | 0.041808 | 0.967475 | 0.952357 | 0.918753 | 0.891267 | 0.848315 | 0.815328 | 0 | 0.050952 | 0.211207 | 202,484 | 5,178 | 237 | 39.104674 | 0.720589 | 0.036946 | 0 | 0.631727 | 0 | 0 | 0.037753 | 0.001386 | 0 | 0 | 0 | 0.000193 | 0.203088 | 1 | 0.106926 | false | 0 | 0.073234 | 0.000936 | 0.250819 | 0.002808 | 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 |
a89488168bd56616a02730b6247b98f035d89e46 | 26 | py | Python | __init__.py | FellowHashbrown/PyQM | 3154be1ccda6a6f11481f5f777b3465f491762b4 | [
"MIT"
] | null | null | null | __init__.py | FellowHashbrown/PyQM | 3154be1ccda6a6f11481f5f777b3465f491762b4 | [
"MIT"
] | null | null | null | __init__.py | FellowHashbrown/PyQM | 3154be1ccda6a6f11481f5f777b3465f491762b4 | [
"MIT"
] | null | null | null | from qm import Minterm, QM | 26 | 26 | 0.807692 | 5 | 26 | 4.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a8b69e48e5e64fa478e412b0b6dc0f2d71868087 | 141 | py | Python | bestiary/context_processors.py | Itori/swarfarm | 7192e2d8bca093b4254023bbec42b6a2b1887547 | [
"Apache-2.0"
] | 66 | 2017-09-11T04:46:00.000Z | 2021-03-13T00:02:42.000Z | bestiary/context_processors.py | Itori/swarfarm | 7192e2d8bca093b4254023bbec42b6a2b1887547 | [
"Apache-2.0"
] | 133 | 2017-09-24T21:28:59.000Z | 2021-04-02T10:35:31.000Z | bestiary/context_processors.py | Itori/swarfarm | 7192e2d8bca093b4254023bbec42b6a2b1887547 | [
"Apache-2.0"
] | 28 | 2017-08-30T19:04:32.000Z | 2020-11-16T04:09:00.000Z | from .forms import BestiaryQuickSearchForm
def quick_search_form(request):
return {'bestiary_quick_search': BestiaryQuickSearchForm()}
| 23.5 | 63 | 0.815603 | 14 | 141 | 7.928571 | 0.785714 | 0.198198 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 141 | 5 | 64 | 28.2 | 0.880952 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 0.148936 | 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 |
a8d52fb2b4386b22b4efc12fed0d8017ec23d107 | 5,716 | py | Python | trilateration/compute/test_toa.py | robinroyer/trilateration | 9a8d1388f6ba03f72537defbddb3e984826a640e | [
"Apache-2.0"
] | 3 | 2018-12-18T00:15:12.000Z | 2020-11-02T02:44:22.000Z | trilateration/compute/test_toa.py | robinroyer/trilateration | 9a8d1388f6ba03f72537defbddb3e984826a640e | [
"Apache-2.0"
] | 2 | 2020-11-02T02:44:17.000Z | 2020-11-23T05:05:45.000Z | trilateration/compute/test_toa.py | robinroyer/trilateration | 9a8d1388f6ba03f72537defbddb3e984826a640e | [
"Apache-2.0"
] | 3 | 2019-05-06T04:49:16.000Z | 2021-09-12T11:59:39.000Z | import unittest
import time
import datetime
from toa import toa
from ..model.point import point
from ..model.uplink import uplink
from ..model.gateway import gateway
from ..utils.utils import SPEED_OF_LIGHT
from ..model.projection import projection
class Test_toa(unittest.TestCase):
# =====================... | 38.362416 | 93 | 0.601819 | 752 | 5,716 | 4.509309 | 0.125 | 0.079623 | 0.168092 | 0.154822 | 0.803893 | 0.803893 | 0.777352 | 0.748452 | 0.726334 | 0.726334 | 0 | 0.159312 | 0.226907 | 5,716 | 149 | 94 | 38.362416 | 0.608056 | 0.054934 | 0 | 0.626168 | 0 | 0 | 0.001482 | 0 | 0 | 0 | 0 | 0 | 0.130841 | 1 | 0.102804 | false | 0 | 0.084112 | 0 | 0.196262 | 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 |
763786ea1956e6697f7f2906f86a6ae0f1f0fba2 | 41 | py | Python | library_checkout/tests/__init__.py | jhonaelramos/Odoo-14-Development-Essentials | 52d1317c67b629233f5e246105d452018ae01700 | [
"MIT"
] | 121 | 2018-08-30T10:33:32.000Z | 2021-11-08T13:13:43.000Z | library_checkout/tests/__init__.py | jhonaelramos/Odoo-14-Development-Essentials | 52d1317c67b629233f5e246105d452018ae01700 | [
"MIT"
] | 2 | 2019-04-18T11:47:58.000Z | 2019-06-21T11:28:21.000Z | library_checkout/tests/__init__.py | jhonaelramos/Odoo-14-Development-Essentials | 52d1317c67b629233f5e246105d452018ae01700 | [
"MIT"
] | 152 | 2018-11-03T14:07:06.000Z | 2022-03-05T17:38:36.000Z | from . import test_checkout_mass_message
| 20.5 | 40 | 0.878049 | 6 | 41 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7642b6392d3c7168e6037ff7fec235166ef7ac68 | 2,556 | py | Python | lib/gamtools/tests/test_matrix.py | nroberts67/gamtools-dev | 55ff357e2a6b2a5bfa17a9265b550c7193f1f7aa | [
"Apache-2.0"
] | 8 | 2017-03-09T11:35:36.000Z | 2021-03-17T02:57:24.000Z | lib/gamtools/tests/test_matrix.py | nroberts67/gamtools-dev | 55ff357e2a6b2a5bfa17a9265b550c7193f1f7aa | [
"Apache-2.0"
] | 20 | 2017-03-16T01:49:46.000Z | 2021-12-03T20:16:08.000Z | lib/gamtools/tests/test_matrix.py | nroberts67/gamtools-dev | 55ff357e2a6b2a5bfa17a9265b550c7193f1f7aa | [
"Apache-2.0"
] | 13 | 2019-03-14T15:29:36.000Z | 2019-06-04T14:43:58.000Z | import io
import pytest
import numpy as np
from gamtools import matrix
@pytest.fixture
def small_matrix():
return io.StringIO(
u""" chr1:0-1000 chr1:1000-2000 chr1:2000-3000 chr1:3000-4000
chr1:0-1000 1 2 3 4
chr1:1000-2000 5 6 7 8
chr1:2000-3000 9 10 11 12
chr1:3000-4000 13 14 15 16
""")
@pytest.fixture
def t... | 26.625 | 92 | 0.687793 | 387 | 2,556 | 4.29199 | 0.157623 | 0.059603 | 0.050572 | 0.068633 | 0.819988 | 0.792294 | 0.760385 | 0.760385 | 0.760385 | 0.760385 | 0 | 0.158454 | 0.190141 | 2,556 | 95 | 93 | 26.905263 | 0.643961 | 0 | 0 | 0.673077 | 0 | 0 | 0.06127 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 1 | 0.153846 | false | 0 | 0.076923 | 0.038462 | 0.269231 | 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 |
769aba26879f557a8354b722445e3bcedafb71af | 12,039 | py | Python | starterlite/simulation/FourierSpace.py | gjsun/starterlite | 4838c0b9837e0012157596984f9e39ed52f9c86c | [
"MIT"
] | null | null | null | starterlite/simulation/FourierSpace.py | gjsun/starterlite | 4838c0b9837e0012157596984f9e39ed52f9c86c | [
"MIT"
] | null | null | null | starterlite/simulation/FourierSpace.py | gjsun/starterlite | 4838c0b9837e0012157596984f9e39ed52f9c86c | [
"MIT"
] | null | null | null | import numpy as np
import os
from ..analysis import Sensitivity
from ..physics import Cosmology
from ..physics.Constants import c, cm_per_mpc
from ..util.ParameterFile import ParameterFile
class FourierSpace(object):
def __init__(self, **kwargs):
self.pf = ParameterFile(**kwargs)
def RealToFourier(... | 48.156 | 127 | 0.502949 | 1,653 | 12,039 | 3.639443 | 0.127042 | 0.024102 | 0.053856 | 0.054854 | 0.833278 | 0.781915 | 0.755984 | 0.752327 | 0.722906 | 0.69631 | 0 | 0.032569 | 0.336905 | 12,039 | 250 | 128 | 48.156 | 0.721032 | 0.303929 | 0 | 0.626667 | 0 | 0 | 0.033363 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.06 | false | 0 | 0.04 | 0.006667 | 0.186667 | 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 |
76c083f0552170d1f957cb8d9d7cd51dcef419d9 | 190 | py | Python | CH40208/good_practice/my_module.py | pythoninchemistry/ch40208 | 0d978f048644825fae7113d7bd65da709c6fef09 | [
"CC-BY-4.0"
] | null | null | null | CH40208/good_practice/my_module.py | pythoninchemistry/ch40208 | 0d978f048644825fae7113d7bd65da709c6fef09 | [
"CC-BY-4.0"
] | 84 | 2019-06-21T06:32:55.000Z | 2021-06-22T12:11:01.000Z | CH40208/good_practice/my_module.py | pythoninchemistry/ch40208 | 0d978f048644825fae7113d7bd65da709c6fef09 | [
"CC-BY-4.0"
] | 6 | 2019-06-21T06:58:29.000Z | 2021-11-02T14:01:48.000Z | def hello_world(name):
"""
This is a simple, Hello World function.
Args:
name (str): A name to concatentate to the print.
"""
print(f"Hello World {name}!") | 23.75 | 56 | 0.573684 | 26 | 190 | 4.153846 | 0.615385 | 0.277778 | 0.259259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.305263 | 190 | 8 | 57 | 23.75 | 0.818182 | 0.526316 | 0 | 0 | 0 | 0 | 0.301587 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
4f2ca49cb3210d5b4e1f0700f99a7cfd8e12683e | 148,278 | py | Python | gaze_data_analyzer.py | Toonwire/infancy_eye_tracking | 7b96a9d832f60f83fd5098ada2117ab1d0f56fed | [
"MIT"
] | null | null | null | gaze_data_analyzer.py | Toonwire/infancy_eye_tracking | 7b96a9d832f60f83fd5098ada2117ab1d0f56fed | [
"MIT"
] | null | null | null | gaze_data_analyzer.py | Toonwire/infancy_eye_tracking | 7b96a9d832f60f83fd5098ada2117ab1d0f56fed | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Wed Feb 20 14:05:05 2019
@author: s144451
"""
import matplotlib.pyplot as plt
import pandas as pd
import math
import random
import sys
import data_correction as dc
import dbscan
import numpy as np
class GazeDataAnalyzer:
plt.rcParams.update({'font.size': 14})
show... | 55.911765 | 256 | 0.670942 | 19,941 | 148,278 | 4.547666 | 0.027632 | 0.10542 | 0.085439 | 0.04852 | 0.888295 | 0.869063 | 0.850968 | 0.83811 | 0.818724 | 0.806319 | 0 | 0.011575 | 0.233818 | 148,278 | 2,652 | 257 | 55.911765 | 0.786652 | 0.257402 | 0 | 0.568966 | 0 | 0 | 0.032581 | 0.00316 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054859 | false | 0 | 0.007053 | 0.00627 | 0.116771 | 0.032132 | 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 |
4f2e3f857fabf69a22b156628dafab280c6f1653 | 93 | py | Python | parsevasp/__init__.py | DropD/parsevasp | 05e2b04abd381e92b14d91218bdce2edb5529437 | [
"MIT"
] | null | null | null | parsevasp/__init__.py | DropD/parsevasp | 05e2b04abd381e92b14d91218bdce2edb5529437 | [
"MIT"
] | null | null | null | parsevasp/__init__.py | DropD/parsevasp | 05e2b04abd381e92b14d91218bdce2edb5529437 | [
"MIT"
] | 1 | 2018-07-19T09:17:31.000Z | 2018-07-19T09:17:31.000Z | import parsevasp.xml
import parsevasp.poscar
import parsevasp.incar
import parsevasp.kpoints
| 18.6 | 24 | 0.870968 | 12 | 93 | 6.75 | 0.5 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086022 | 93 | 4 | 25 | 23.25 | 0.952941 | 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 |
4f563c306db2e201ab33e6325306edafb6c506c1 | 4,633 | py | Python | misc/deit_dentsity_refiner.py | Wightslayer/ViCCT | a2e3347cd8d505bb3b5119f67c750f29c018a9c4 | [
"Apache-2.0",
"MIT"
] | 1 | 2022-03-22T16:38:08.000Z | 2022-03-22T16:38:08.000Z | misc/deit_dentsity_refiner.py | Wightslayer/ViCCT | a2e3347cd8d505bb3b5119f67c750f29c018a9c4 | [
"Apache-2.0",
"MIT"
] | null | null | null | misc/deit_dentsity_refiner.py | Wightslayer/ViCCT | a2e3347cd8d505bb3b5119f67c750f29c018a9c4 | [
"Apache-2.0",
"MIT"
] | null | null | null | # import torch
#
#
# def get_patches(img, crop_size):
# _, im_h, im_w = img.shape
#
# patches1 = []
# patches1_coords = []
# patches2 = []
# patches2_coords = []
# patches3 = []
# patches3_coords = []
# patches8 = []
# patches8_coords = []
#
# h_pivot = 8
# while h_pivot < im... | 37.064 | 119 | 0.542845 | 698 | 4,633 | 3.415473 | 0.100287 | 0.107383 | 0.033557 | 0.040268 | 0.987416 | 0.987416 | 0.987416 | 0.987416 | 0.987416 | 0.987416 | 0 | 0.09088 | 0.320743 | 4,633 | 125 | 120 | 37.064 | 0.666667 | 0.507662 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040816 | false | 0 | 0.020408 | 0 | 0.102041 | 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 |
4f62e853f0aa02db0797360cbdbe472ecfb67451 | 169 | py | Python | fourbars/__init__.py | kant/4bars | 15661ab3e589404898f6adcb5a4f630a8027fb4b | [
"MIT"
] | null | null | null | fourbars/__init__.py | kant/4bars | 15661ab3e589404898f6adcb5a4f630a8027fb4b | [
"MIT"
] | null | null | null | fourbars/__init__.py | kant/4bars | 15661ab3e589404898f6adcb5a4f630a8027fb4b | [
"MIT"
] | null | null | null | #from .core.core import FourBars
#from .core.spawn import Cmd
#from .core.static import Static
#from .core.core_args import ParserCmd
#from .alive.alive import ALive
| 18.777778 | 38 | 0.775148 | 26 | 169 | 5 | 0.384615 | 0.246154 | 0.184615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136095 | 169 | 8 | 39 | 21.125 | 0.890411 | 0.923077 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4f704fd50ca5fb5e2569bed9e1661da672bdc934 | 2,815 | py | Python | spotlight/tests/unique_test.py | eelkevdbos/spotlight | 429a32fd318b3110074884683bef7fe675740ee3 | [
"MIT"
] | null | null | null | spotlight/tests/unique_test.py | eelkevdbos/spotlight | 429a32fd318b3110074884683bef7fe675740ee3 | [
"MIT"
] | null | null | null | spotlight/tests/unique_test.py | eelkevdbos/spotlight | 429a32fd318b3110074884683bef7fe675740ee3 | [
"MIT"
] | null | null | null | from spotlight import errors as err
from spotlight.tests.validator_test import ValidatorTest
class UniqueTest(ValidatorTest):
def setUp(self):
self.field = "email"
self.unique_error = err.UNIQUE_ERROR.format(field=self.field)
def test_unique_rule_with_existing_email_expect_error(self):
... | 28.434343 | 79 | 0.611723 | 325 | 2,815 | 5.021538 | 0.156923 | 0.080882 | 0.047794 | 0.0625 | 0.879902 | 0.879902 | 0.871324 | 0.85049 | 0.840686 | 0.818015 | 0 | 0.004988 | 0.287744 | 2,815 | 98 | 80 | 28.72449 | 0.808978 | 0 | 0 | 0.628205 | 0 | 0 | 0.121847 | 0.051155 | 0 | 0 | 0 | 0 | 0.076923 | 1 | 0.089744 | false | 0 | 0.025641 | 0 | 0.128205 | 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 |
4f797e600fef2693cc54b56fdf29d7fd7c8bae37 | 25 | py | Python | owllook/database/redis/__init__.py | atiasn/novel | 14eed7856e7c01ecbdb3c1369bd945a22f566270 | [
"Apache-2.0"
] | 2,344 | 2017-05-05T00:16:05.000Z | 2022-03-31T15:46:06.000Z | owllook/database/redis/__init__.py | atiasn/novel | 14eed7856e7c01ecbdb3c1369bd945a22f566270 | [
"Apache-2.0"
] | 91 | 2017-05-27T12:43:14.000Z | 2022-03-20T04:51:35.000Z | owllook/database/redis/__init__.py | atiasn/novel | 14eed7856e7c01ecbdb3c1369bd945a22f566270 | [
"Apache-2.0"
] | 811 | 2017-05-05T03:01:25.000Z | 2022-03-22T02:09:37.000Z | from .redisbase import *
| 12.5 | 24 | 0.76 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 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 |
4f90f2a8214b61a03b9d81c5deb99274c1c3f625 | 180 | py | Python | mlbriefcase/amazon/rekognition.py | Bhaskers-Blu-Org2/Briefcase | f551079b05d3f8494cdff6a0b393969def5a2443 | [
"MIT"
] | 2 | 2020-05-04T12:59:05.000Z | 2020-05-05T09:31:43.000Z | mlbriefcase/amazon/rekognition.py | Bhaskers-Blu-Org2/Briefcase | f551079b05d3f8494cdff6a0b393969def5a2443 | [
"MIT"
] | 4 | 2020-02-05T11:34:51.000Z | 2020-02-05T11:35:12.000Z | mlbriefcase/amazon/rekognition.py | microsoft/Briefcase | f551079b05d3f8494cdff6a0b393969def5a2443 | [
"MIT"
] | 5 | 2020-06-30T16:02:57.000Z | 2021-09-15T06:39:08.000Z | from .aws_boto3 import *
class rekognition(AwsBoto3):
def get_client_lazy(self, **kwargs):
return super().get_client_lazy('rekognition', region_name=self.region_name, **kwargs) | 36 | 87 | 0.777778 | 25 | 180 | 5.32 | 0.68 | 0.135338 | 0.195489 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012195 | 0.088889 | 180 | 5 | 87 | 36 | 0.79878 | 0 | 0 | 0 | 0 | 0 | 0.060773 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
96f084ea68f8c7c7fc0a705e53c1b8fcda05d9e6 | 63 | py | Python | pipelinemanager/__init__.py | fellipyaraujo/pipelinemanager | 231b4bf7994fc3998c392d55798893f87e309ab7 | [
"MIT"
] | null | null | null | pipelinemanager/__init__.py | fellipyaraujo/pipelinemanager | 231b4bf7994fc3998c392d55798893f87e309ab7 | [
"MIT"
] | null | null | null | pipelinemanager/__init__.py | fellipyaraujo/pipelinemanager | 231b4bf7994fc3998c392d55798893f87e309ab7 | [
"MIT"
] | null | null | null | from pipelinemanager.cachemanager import blobstoragecacherw
| 12.6 | 59 | 0.873016 | 5 | 63 | 11 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 63 | 4 | 60 | 15.75 | 0.982143 | 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 |
8c016880e34379f0bb6ab70035efcdd3d1403300 | 55 | py | Python | HW00.py | starkworld/SSW-567 | f50ee0971769fe28882f9aeb3b3079751e90ffde | [
"Apache-2.0"
] | null | null | null | HW00.py | starkworld/SSW-567 | f50ee0971769fe28882f9aeb3b3079751e90ffde | [
"Apache-2.0"
] | null | null | null | HW00.py | starkworld/SSW-567 | f50ee0971769fe28882f9aeb3b3079751e90ffde | [
"Apache-2.0"
] | null | null | null | def first():
return 'Hello World!'
print(first()) | 11 | 25 | 0.618182 | 7 | 55 | 4.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 55 | 5 | 26 | 11 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0.333333 | 0.666667 | 0.333333 | 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 | 0 | 1 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.