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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a2ed35941a9dac9a4f7611dd4446d90469c16f94 | 194 | py | Python | irida_uploader_cl/core/__init__.py | duanjunhyq/irida_uploader_cl | d0e5d404c5b5b10c3411ded71a20f5ab062aabba | [
"MIT"
] | null | null | null | irida_uploader_cl/core/__init__.py | duanjunhyq/irida_uploader_cl | d0e5d404c5b5b10c3411ded71a20f5ab062aabba | [
"MIT"
] | null | null | null | irida_uploader_cl/core/__init__.py | duanjunhyq/irida_uploader_cl | d0e5d404c5b5b10c3411ded71a20f5ab062aabba | [
"MIT"
] | null | null | null | from irida_uploader_cl.core import logger
from irida_uploader_cl.core import cli_entry
from irida_uploader_cl.core import exit_return
from irida_uploader_cl.core.cli_entry import VERSION_NUMBER
| 38.8 | 59 | 0.891753 | 33 | 194 | 4.878788 | 0.393939 | 0.223602 | 0.42236 | 0.47205 | 0.68323 | 0.540373 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082474 | 194 | 4 | 60 | 48.5 | 0.904494 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
a7480f8b02005bd706fd79a2d64bd58d5d417334 | 11,250 | py | Python | models/seed_resnet.py | VITA-Group/Peek-a-Boo | 9290d4e5e3aee0dff994e1a664ec91bd6ec93176 | [
"MIT"
] | 2 | 2022-01-22T03:57:21.000Z | 2022-01-30T20:44:32.000Z | models/seed_resnet.py | VITA-Group/Peek-a-Boo | 9290d4e5e3aee0dff994e1a664ec91bd6ec93176 | [
"MIT"
] | null | null | null | models/seed_resnet.py | VITA-Group/Peek-a-Boo | 9290d4e5e3aee0dff994e1a664ec91bd6ec93176 | [
"MIT"
] | 2 | 2022-01-30T12:26:56.000Z | 2022-03-14T12:42:06.000Z | '''ResNet in PyTorch.
For Pre-activation ResNet, see 'preact_resnet.py'.
Reference:
[1] Kaiming He, Xiangyu Zhang, Shaoqing Ren, Jian Sun
Deep Residual Learning for Image Recognition. arXiv:1512.03385
'''
import torch
import torch.nn as nn
import torch.nn.functional as F
from .seed_conv import SeedConv2d
from ma... | 53.827751 | 191 | 0.6808 | 1,520 | 11,250 | 4.742105 | 0.086184 | 0.108213 | 0.122364 | 0.097392 | 0.87389 | 0.863208 | 0.853496 | 0.842397 | 0.842397 | 0.842397 | 0 | 0.028186 | 0.208444 | 11,250 | 208 | 192 | 54.086538 | 0.781246 | 0.018756 | 0 | 0.590062 | 0 | 0 | 0.01269 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.130435 | false | 0 | 0.031056 | 0.043478 | 0.304348 | 0.006211 | 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 |
a750055dd66c90b301cc30edbe231fdc5b082d34 | 143 | py | Python | swig/python/gdalconst.py | VisualAwarenessTech/gdal-2.2.1 | 5ea1c6671d6f0f3b93e9e9bf2a71da618c834e8d | [
"Apache-2.0"
] | 13 | 2015-11-18T18:26:34.000Z | 2021-05-09T13:59:46.000Z | swig/python/gdalconst.py | VisualAwarenessTech/gdal-2.2.1 | 5ea1c6671d6f0f3b93e9e9bf2a71da618c834e8d | [
"Apache-2.0"
] | 7 | 2021-06-04T23:45:15.000Z | 2022-03-12T00:44:14.000Z | swig/python/gdalconst.py | VisualAwarenessTech/gdal-2.2.1 | 5ea1c6671d6f0f3b93e9e9bf2a71da618c834e8d | [
"Apache-2.0"
] | 6 | 2019-02-03T14:19:32.000Z | 2021-12-19T06:36:49.000Z | # import osgeo.gdalconst as a convenience
from osgeo.gdal import deprecation_warn
deprecation_warn('gdalconst')
from osgeo.gdalconst import *
| 23.833333 | 41 | 0.825175 | 19 | 143 | 6.105263 | 0.526316 | 0.241379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111888 | 143 | 5 | 42 | 28.6 | 0.913386 | 0.272727 | 0 | 0 | 0 | 0 | 0.088235 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a773e75f4491872ee81258c12c495865b570e2c8 | 277,391 | py | Python | test/unit/test_discovery_v2.py | timgates42/python-sdk | 8a6647636266f987816eb1d747782c07c3cfcba3 | [
"Apache-2.0"
] | 1 | 2021-06-11T03:12:15.000Z | 2021-06-11T03:12:15.000Z | test/unit/test_discovery_v2.py | timgates42/python-sdk | 8a6647636266f987816eb1d747782c07c3cfcba3 | [
"Apache-2.0"
] | null | null | null | test/unit/test_discovery_v2.py | timgates42/python-sdk | 8a6647636266f987816eb1d747782c07c3cfcba3 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# (C) Copyright IBM Corp. 2019, 2020.
#
# 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 applic... | 46.078239 | 2,638 | 0.687135 | 30,269 | 277,391 | 5.912848 | 0.018468 | 0.028965 | 0.018706 | 0.014248 | 0.898852 | 0.850852 | 0.798012 | 0.735797 | 0.694518 | 0.649847 | 0 | 0.011335 | 0.219531 | 277,391 | 6,019 | 2,639 | 46.085895 | 0.815363 | 0.194649 | 0 | 0.574977 | 0 | 0.014106 | 0.199741 | 0.042949 | 0 | 0 | 0 | 0 | 0.107329 | 1 | 0.053665 | false | 0.043238 | 0.00368 | 0 | 0.107942 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a7943be6e4c320e5b3a12977d3e1584acdfa3cf4 | 231 | py | Python | lib/train/actors/__init__.py | dineev-vd/stark | bf2741675d00c5074bf2c0d7a26cc13fce1ba79d | [
"MIT"
] | 376 | 2021-03-27T12:29:17.000Z | 2022-03-29T01:22:15.000Z | lib/train/actors/__init__.py | wp8733684/Stark | ba59f9596b06bc687d726f991e1e7fce8af6b5a5 | [
"MIT"
] | 75 | 2021-03-31T12:44:45.000Z | 2022-03-28T09:02:57.000Z | lib/train/actors/__init__.py | wp8733684/Stark | ba59f9596b06bc687d726f991e1e7fce8af6b5a5 | [
"MIT"
] | 82 | 2021-03-26T10:07:57.000Z | 2022-03-29T11:08:27.000Z | from .base_actor import BaseActor
from .stark_s import STARKSActor
from .stark_st import STARKSTActor
from .stark_lightningXtrt import STARKLightningXtrtActor
from .stark_lightningXtrt_distill import STARKLightningXtrtdistillActor
| 38.5 | 71 | 0.891775 | 26 | 231 | 7.692308 | 0.538462 | 0.18 | 0.22 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08658 | 231 | 5 | 72 | 46.2 | 0.947867 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a7b62f9c34e1236d06d5198b5918b1f9e2df23df | 10,093 | py | Python | tests/test_create_dataset.py | platiagro/datasets | fad61c59b462ecb51b52de441fe21a750334b1b8 | [
"Apache-2.0"
] | null | null | null | tests/test_create_dataset.py | platiagro/datasets | fad61c59b462ecb51b52de441fe21a750334b1b8 | [
"Apache-2.0"
] | 55 | 2020-02-26T18:13:55.000Z | 2022-03-24T12:47:21.000Z | tests/test_create_dataset.py | platiagro/datasets | fad61c59b462ecb51b52de441fe21a750334b1b8 | [
"Apache-2.0"
] | 5 | 2020-01-23T13:28:32.000Z | 2020-08-06T13:13:21.000Z | # -*- coding: utf-8 -*-
import io
import unittest
import unittest.mock as mock
from fastapi.testclient import TestClient
from datasets.api import app
import tests.util as util
TEST_CLIENT = TestClient(app)
class TestCreateDataset(unittest.TestCase):
maxDiff = None
@mock.patch(
"datasets.datasets.... | 31.34472 | 135 | 0.550183 | 966 | 10,093 | 5.435818 | 0.097308 | 0.092173 | 0.03885 | 0.057132 | 0.872596 | 0.849552 | 0.830508 | 0.830508 | 0.806894 | 0.796229 | 0 | 0.004299 | 0.354701 | 10,093 | 321 | 136 | 31.442368 | 0.801935 | 0.085009 | 0 | 0.623616 | 0 | 0 | 0.117147 | 0.039748 | 0 | 0 | 0 | 0 | 0.095941 | 1 | 0.02583 | false | 0 | 0.02214 | 0 | 0.055351 | 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 |
a7cffbe8fcfd94428c0db34abf693ec733a4c7e6 | 41 | py | Python | opac/queries/renewing/__init__.py | rimphyd/Django-OPAC | d86f2e28fee7f2ec551aeeb98ec67caefc06a3fb | [
"MIT"
] | 1 | 2020-11-26T05:25:46.000Z | 2020-11-26T05:25:46.000Z | opac/queries/renewing/__init__.py | rimphyd/Django-OPAC | d86f2e28fee7f2ec551aeeb98ec67caefc06a3fb | [
"MIT"
] | null | null | null | opac/queries/renewing/__init__.py | rimphyd/Django-OPAC | d86f2e28fee7f2ec551aeeb98ec67caefc06a3fb | [
"MIT"
] | null | null | null | from .create import * # noqa: F401 F403
| 20.5 | 40 | 0.682927 | 6 | 41 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 0.219512 | 41 | 1 | 41 | 41 | 0.6875 | 0.365854 | 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 |
ac2644b93c65944d236d3550d34423686e5e23cf | 23 | py | Python | wepppy/nodb/mods/baer/__init__.py | hwbeeson/wepppy | 6358552df99853c75be8911e7ef943108ae6923e | [
"BSD-3-Clause"
] | null | null | null | wepppy/nodb/mods/baer/__init__.py | hwbeeson/wepppy | 6358552df99853c75be8911e7ef943108ae6923e | [
"BSD-3-Clause"
] | null | null | null | wepppy/nodb/mods/baer/__init__.py | hwbeeson/wepppy | 6358552df99853c75be8911e7ef943108ae6923e | [
"BSD-3-Clause"
] | null | null | null | from .baer import Baer
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 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 |
ac3335b436d56e5107995134ab737ac80c74ade9 | 109 | py | Python | backend/app/app/rearq_/__init__.py | PY-GZKY/Tplan | 9f5335f9a9a28afce608744bebed1d9827068e6d | [
"MIT"
] | 121 | 2021-10-29T20:21:37.000Z | 2022-03-21T03:33:52.000Z | backend/app/app/rearq_/__init__.py | GZKY-PY/Tplan | 425ca8a497cdb3438bdbf6c72ed8dc234479dd00 | [
"MIT"
] | null | null | null | backend/app/app/rearq_/__init__.py | GZKY-PY/Tplan | 425ca8a497cdb3438bdbf6c72ed8dc234479dd00 | [
"MIT"
] | 8 | 2021-11-06T07:02:11.000Z | 2022-02-28T11:53:23.000Z | """
rearq start:rearq timer # 定时任务
rearq start:rearq worker --consumer-name nihao # 当然是指定一个 worker name
""" | 27.25 | 69 | 0.724771 | 15 | 109 | 5.266667 | 0.6 | 0.253165 | 0.379747 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155963 | 109 | 4 | 70 | 27.25 | 0.858696 | 0.926606 | 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 |
ac4661af7049d6962da999af166f1c553f50ddb3 | 5,647 | py | Python | src/test_mst.py | saulno/graph_lib | d89c8e55cad964bef7e0369c2d66ecf4fd9e4ba7 | [
"MIT"
] | null | null | null | src/test_mst.py | saulno/graph_lib | d89c8e55cad964bef7e0369c2d66ecf4fd9e4ba7 | [
"MIT"
] | null | null | null | src/test_mst.py | saulno/graph_lib | d89c8e55cad964bef7e0369c2d66ecf4fd9e4ba7 | [
"MIT"
] | null | null | null | from graph.GraphFactory import GraphFactory, GridBuilder
from graph.GraphFactory import BarabasiAlbertBuilder, DorogovtsevMendesBuilder, ErdosRenyiBuilder, GeographicBuilder, GilbertBuilder, GraphFactory, GridBuilder
factory = GraphFactory()
factory.set_builder(GridBuilder())
g = factory.build_graph(columns=5, r... | 40.92029 | 159 | 0.755268 | 949 | 5,647 | 4.220232 | 0.061117 | 0.089888 | 0.14382 | 0.152809 | 0.905119 | 0.87216 | 0.835955 | 0.809988 | 0.775031 | 0.717603 | 0 | 0.046783 | 0.072605 | 5,647 | 138 | 160 | 40.92029 | 0.717968 | 0 | 0 | 0.228571 | 0 | 0 | 0.382436 | 0.195467 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.019048 | 0 | 0.019048 | 0.228571 | 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 |
ac6154cc46d725e2d9ec1714fd6a4c546c6038f8 | 1,450 | py | Python | tests/test_ner.py | easynlp/easynlp | 4b3b405a64ca166cc19ee9c43b79a475cf699996 | [
"MIT"
] | 6 | 2021-07-09T08:13:44.000Z | 2021-11-10T04:09:33.000Z | tests/test_ner.py | easynlp/easynlp | 4b3b405a64ca166cc19ee9c43b79a475cf699996 | [
"MIT"
] | 1 | 2021-07-09T17:18:16.000Z | 2021-07-09T17:18:16.000Z | tests/test_ner.py | easynlp/easynlp | 4b3b405a64ca166cc19ee9c43b79a475cf699996 | [
"MIT"
] | 1 | 2022-02-09T15:37:14.000Z | 2022-02-09T15:37:14.000Z | import easynlp
def test_single_ner():
data = {
"text": [
"My name is Ben. I live in Scotland and work for Microsoft.",
]
}
input_column = "text"
output_column = "ner"
output_dataset = easynlp.ner(data, input_column, output_column)
ner_tags = [["PER", "LOC", "ORG"]]
... | 35.365854 | 80 | 0.61931 | 194 | 1,450 | 4.335052 | 0.231959 | 0.142687 | 0.135553 | 0.142687 | 0.890606 | 0.890606 | 0.845422 | 0.845422 | 0.814507 | 0.753864 | 0 | 0.034265 | 0.235172 | 1,450 | 40 | 81 | 36.25 | 0.724076 | 0 | 0 | 0.5 | 0 | 0 | 0.256552 | 0.077241 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.055556 | false | 0 | 0.027778 | 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 |
ac801a15042a4a7e4448e168ebdd437ace585bce | 84 | py | Python | hikari_views/__init__.py | tandemdude/hikari-views | 7a1544b72722cd8935c4d0855c921f7577e8903c | [
"MIT"
] | 1 | 2022-01-19T13:39:01.000Z | 2022-01-19T13:39:01.000Z | hikari_views/__init__.py | tandemdude/hikari-views | 7a1544b72722cd8935c4d0855c921f7577e8903c | [
"MIT"
] | null | null | null | hikari_views/__init__.py | tandemdude/hikari-views | 7a1544b72722cd8935c4d0855c921f7577e8903c | [
"MIT"
] | null | null | null | from .button import *
from .item import *
from .select import *
from .view import *
| 16.8 | 21 | 0.714286 | 12 | 84 | 5 | 0.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 84 | 4 | 22 | 21 | 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 |
3baed4dee41cf553a1f0c18c4250e26f8ddef4b6 | 234 | py | Python | h1st/h1st/schema/validators/__init__.py | tanrobotix/h1st | c9d67305726f11235751bc5abfd766279cba463b | [
"Apache-2.0"
] | null | null | null | h1st/h1st/schema/validators/__init__.py | tanrobotix/h1st | c9d67305726f11235751bc5abfd766279cba463b | [
"Apache-2.0"
] | 3 | 2020-11-13T19:06:07.000Z | 2022-02-10T02:06:03.000Z | h1st/h1st/schema/validators/__init__.py | diophung/h1st | ca4245996448717cf9701e17929eca8daa5d80a4 | [
"Apache-2.0"
] | null | null | null | from .list_validator import ListValidator
from .union_validator import UnionValidator
from .pyarrow_validator import PyArrowSchemaValidator
from .numpy_validator import NumpySchemaValidator
from .field_validator import FieldValidator
| 39 | 53 | 0.893162 | 25 | 234 | 8.16 | 0.52 | 0.367647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08547 | 234 | 5 | 54 | 46.8 | 0.953271 | 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 |
3bf681c4b5f9d9fc4ee699c14363086d09679006 | 4,225 | py | Python | tests/units/Vault/test_withdraw_mock.py | benber86/alcom_contracts | 57136d97d0d30088679e358a2fc3345e82ccb0f7 | [
"MIT"
] | 2 | 2021-07-14T16:26:14.000Z | 2021-08-01T22:24:51.000Z | tests/units/Vault/test_withdraw_mock.py | benber86/alcom_contracts | 57136d97d0d30088679e358a2fc3345e82ccb0f7 | [
"MIT"
] | null | null | null | tests/units/Vault/test_withdraw_mock.py | benber86/alcom_contracts | 57136d97d0d30088679e358a2fc3345e82ccb0f7 | [
"MIT"
] | null | null | null | import brownie
import pytest
import math
@pytest.mark.parametrize("amount", [1, 100, 10**18])
def test_mutiple_withdraw_mock(amount, alice, bob, charlie, dave, mock_vault, alcx, mock_ss_compounder):
prior_alcx_balance_alice = alcx.balanceOf(alice)
prior_alcx_balance_bob = alcx.balanceOf(bob)
prior_alcx_b... | 42.676768 | 120 | 0.713846 | 561 | 4,225 | 5.083779 | 0.098039 | 0.069425 | 0.123422 | 0.064516 | 0.873422 | 0.84993 | 0.826087 | 0.826087 | 0.826087 | 0.826087 | 0 | 0.023782 | 0.173965 | 4,225 | 98 | 121 | 43.112245 | 0.79341 | 0 | 0 | 0.693333 | 0 | 0 | 0.014675 | 0 | 0 | 0 | 0 | 0 | 0.253333 | 1 | 0.026667 | false | 0 | 0.04 | 0 | 0.066667 | 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 |
026d209ac335b0d720042098fa2e2891adfb020c | 167 | py | Python | backend/rating/admin.py | ankile/budbua-classifieds | 5e85edab4747501b0110cf56e1bfea524308dfff | [
"MIT"
] | null | null | null | backend/rating/admin.py | ankile/budbua-classifieds | 5e85edab4747501b0110cf56e1bfea524308dfff | [
"MIT"
] | null | null | null | backend/rating/admin.py | ankile/budbua-classifieds | 5e85edab4747501b0110cf56e1bfea524308dfff | [
"MIT"
] | null | null | null | from django.contrib import admin
from rating.models import Rating
# Register your models here.
@admin.register(Rating)
class RatingAdmin(admin.ModelAdmin):
pass
| 18.555556 | 36 | 0.790419 | 22 | 167 | 6 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137725 | 167 | 8 | 37 | 20.875 | 0.916667 | 0.155689 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 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 |
028240ec0f8db6eac4aaef02276bb18a572c1cad | 96 | py | Python | venv/lib/python3.8/site-packages/clikit/io/input_stream/null_input_stream.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/clikit/io/input_stream/null_input_stream.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/clikit/io/input_stream/null_input_stream.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/a1/7e/50/f915f39cc05a20660c21d59727fecc2940e54cafe21c2b2ba707d671e7 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.416667 | 0 | 96 | 1 | 96 | 96 | 0.479167 | 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 |
5a021ed3082f5dadc5a556663149f0206bc5d8a6 | 78 | py | Python | Codewars/7kyu/sort-numbers/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | 7 | 2017-09-20T16:40:39.000Z | 2021-08-31T18:15:08.000Z | Codewars/7kyu/sort-numbers/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | Codewars/7kyu/sort-numbers/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | # Python - 3.6.0
test.assert_equals(solution([1, 2, 10, 5]), [1, 2, 5, 10])
| 19.5 | 59 | 0.564103 | 16 | 78 | 2.6875 | 0.75 | 0.093023 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.203125 | 0.179487 | 78 | 3 | 60 | 26 | 0.46875 | 0.179487 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5a5d972cc9fc7d1c4c5f08d039cba8a6f55453ac | 387 | py | Python | ethevents/test/conftest.py | ezdac/ethevents | 9f4b0ff1ba0d303180abe3b5336805335bc0765b | [
"MIT"
] | 2 | 2018-08-21T01:06:30.000Z | 2019-03-05T08:15:55.000Z | ethevents/test/conftest.py | ezdac/ethevents | 9f4b0ff1ba0d303180abe3b5336805335bc0765b | [
"MIT"
] | 1 | 2018-04-23T14:01:51.000Z | 2018-04-23T14:09:51.000Z | ethevents/test/conftest.py | ezdac/ethevents | 9f4b0ff1ba0d303180abe3b5336805335bc0765b | [
"MIT"
] | 1 | 2022-03-22T04:57:16.000Z | 2022-03-22T04:57:16.000Z | from microraiden.test.fixtures import * # flake8: noqa
del globals()['session']
from microraiden.test.fixtures import session as usession # flake8: noqa
from microraiden.test.conftest import pytest_addoption
from .fixtures import * # flake8: noqa
from gevent import monkey
# Thread is false due to clash when testing... | 38.7 | 78 | 0.79845 | 53 | 387 | 5.792453 | 0.566038 | 0.14658 | 0.185668 | 0.175896 | 0.214984 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008902 | 0.129199 | 387 | 9 | 79 | 43 | 0.902077 | 0.297158 | 0 | 0 | 0 | 0 | 0.026217 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.714286 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ce55c7ecc23537675704ddb02bc9a5ce09f3550b | 22,006 | py | Python | src/Fig_5_supplement_2_Morphing_changing_Jie2_plotting.py | fmi-basel/gzenke-nonlinear-transient-amplification | f3b0c8c89b42c34f1aad740c7026865cf3164f1d | [
"MIT"
] | null | null | null | src/Fig_5_supplement_2_Morphing_changing_Jie2_plotting.py | fmi-basel/gzenke-nonlinear-transient-amplification | f3b0c8c89b42c34f1aad740c7026865cf3164f1d | [
"MIT"
] | 3 | 2021-12-16T10:15:10.000Z | 2021-12-16T12:54:24.000Z | src/Fig_5_supplement_2_Morphing_changing_Jie2_plotting.py | fmi-basel/gzenke-nonlinear-transient-amplification | f3b0c8c89b42c34f1aad740c7026865cf3164f1d | [
"MIT"
] | 1 | 2021-12-16T10:02:43.000Z | 2021-12-16T10:02:43.000Z | import numpy as np
import seaborn as sns
import matplotlib.pyplot as plt
from sympy.solvers import solve
from sympy import Symbol
from matplotlib import patches
import matplotlib.patches as mpatches
import scipy.io as sio
import math
# plotting configuration
ratio = 1.5
figure_len, figure_width = 15*ratio, 12*ratio
fo... | 63.054441 | 259 | 0.649732 | 4,407 | 22,006 | 2.785568 | 0.043113 | 0.07535 | 0.062561 | 0.050831 | 0.94754 | 0.933936 | 0.88726 | 0.843027 | 0.836999 | 0.781851 | 0 | 0.079234 | 0.181587 | 22,006 | 348 | 260 | 63.235632 | 0.602388 | 0.552122 | 0 | 0.232558 | 0 | 0 | 0.141662 | 0.093821 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.069767 | 0 | 0.069767 | 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 |
ce8806db30151f6d0452aece64ee1f18a43470de | 41 | py | Python | mltk/marl/__init__.py | lqf96/mltk | 7187be5d616781695ee68674cd335fbb5a237ccc | [
"MIT"
] | null | null | null | mltk/marl/__init__.py | lqf96/mltk | 7187be5d616781695ee68674cd335fbb5a237ccc | [
"MIT"
] | 2 | 2019-12-24T01:54:21.000Z | 2019-12-24T02:23:54.000Z | mltk/marl/__init__.py | lqf96/mltk | 7187be5d616781695ee68674cd335fbb5a237ccc | [
"MIT"
] | null | null | null | from .agent import *
from .envs import *
| 13.666667 | 20 | 0.707317 | 6 | 41 | 4.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195122 | 41 | 2 | 21 | 20.5 | 0.878788 | 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 |
ce8ecc17805c522e6afb1a3252871bad4c9b7152 | 154 | py | Python | story_untangling/predictors/__init__.py | dwlmt/Story-Untangling | c56354e305f06a508b63b913989ff8856e4db5b6 | [
"Unlicense"
] | 7 | 2020-09-12T22:32:33.000Z | 2022-02-07T08:37:04.000Z | story_untangling/predictors/__init__.py | dwlmt/Story-Untangling | c56354e305f06a508b63b913989ff8856e4db5b6 | [
"Unlicense"
] | 2 | 2021-08-31T15:46:16.000Z | 2021-09-01T15:19:52.000Z | story_untangling/predictors/__init__.py | dwlmt/Story-Untangling | c56354e305f06a508b63b913989ff8856e4db5b6 | [
"Unlicense"
] | 1 | 2021-06-02T09:33:27.000Z | 2021-06-02T09:33:27.000Z | from story_untangling.predictors import reading_thoughts_predictor, global_beam_pairwise_ordering_predictor, \
local_beam_pairwise_ordering_predictor
| 51.333333 | 110 | 0.902597 | 18 | 154 | 7.111111 | 0.722222 | 0.1875 | 0.3125 | 0.453125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 154 | 2 | 111 | 77 | 0.895105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
cea178158dd9a6204c703c45c4cd145b59b246f8 | 101 | py | Python | pybamm/models/submodels/interface/lithium_plating/__init__.py | manjunathnilugal/PyBaMM | 65d5cba534b4f163670e753714964aaa75d6a2d2 | [
"BSD-3-Clause"
] | 330 | 2019-04-17T11:36:57.000Z | 2022-03-28T16:49:55.000Z | pybamm/models/submodels/interface/lithium_plating/__init__.py | manjunathnilugal/PyBaMM | 65d5cba534b4f163670e753714964aaa75d6a2d2 | [
"BSD-3-Clause"
] | 1,530 | 2019-03-26T18:13:03.000Z | 2022-03-31T16:12:53.000Z | pybamm/models/submodels/interface/lithium_plating/__init__.py | manjunathnilugal/PyBaMM | 65d5cba534b4f163670e753714964aaa75d6a2d2 | [
"BSD-3-Clause"
] | 178 | 2019-03-27T13:48:04.000Z | 2022-03-31T09:30:11.000Z | from .base_plating import BasePlating
from .no_plating import NoPlating
from .plating import Plating
| 25.25 | 37 | 0.851485 | 14 | 101 | 6 | 0.5 | 0.464286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118812 | 101 | 3 | 38 | 33.666667 | 0.94382 | 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 |
cea677cdc47dd6084078ad767edaf762deaaa4b3 | 5,801 | py | Python | unit-tests/dcf_test_suites/related_collection_api/perms/post/post_perms.py | cozybearca/django_client_framework | 5056012714ff461f1f420ce9b7e47b4ee2d5167a | [
"MIT"
] | 1 | 2021-01-13T22:11:29.000Z | 2021-01-13T22:11:29.000Z | unit-tests/dcf_test_suites/related_collection_api/perms/post/post_perms.py | cozybearca/django_client_framework | 5056012714ff461f1f420ce9b7e47b4ee2d5167a | [
"MIT"
] | 1 | 2021-04-12T02:04:59.000Z | 2021-04-12T02:04:59.000Z | unit-tests/dcf_test_suites/related_collection_api/perms/post/post_perms.py | cozybearca/django_client_framework | 5056012714ff461f1f420ce9b7e47b4ee2d5167a | [
"MIT"
] | 1 | 2021-05-20T05:25:06.000Z | 2021-05-20T05:25:06.000Z | from django.test import TestCase
from rest_framework.test import APIClient
from django.contrib.auth import get_user_model
from dcf_test_app.models import Product
from dcf_test_app.models import Brand
from django_client_framework import permissions as p
class TestPaginationPerms(TestCase):
def setUp(self):
... | 44.968992 | 84 | 0.655059 | 769 | 5,801 | 4.69961 | 0.120936 | 0.084117 | 0.057277 | 0.10819 | 0.815163 | 0.806309 | 0.79192 | 0.79192 | 0.735196 | 0.709187 | 0 | 0.024896 | 0.210653 | 5,801 | 128 | 85 | 45.320313 | 0.764359 | 0 | 0 | 0.474138 | 0 | 0 | 0.102913 | 0 | 0 | 0 | 0 | 0 | 0.155172 | 1 | 0.094828 | false | 0 | 0.051724 | 0 | 0.155172 | 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 |
cecc2e217ad2d50f8ae3f6676884fd705d5499cd | 157 | py | Python | Python/1_Introduction/Arithmetic_Operators/main.py | christosg88/hackerrank | 21bc44aac842325ad0a48265658f7674984aeff2 | [
"MIT"
] | null | null | null | Python/1_Introduction/Arithmetic_Operators/main.py | christosg88/hackerrank | 21bc44aac842325ad0a48265658f7674984aeff2 | [
"MIT"
] | null | null | null | Python/1_Introduction/Arithmetic_Operators/main.py | christosg88/hackerrank | 21bc44aac842325ad0a48265658f7674984aeff2 | [
"MIT"
] | null | null | null | if __name__ == '__main__':
first = int(input())
second = int(input())
print(first + second)
print(first - second)
print(first * second)
| 19.625 | 26 | 0.592357 | 18 | 157 | 4.722222 | 0.444444 | 0.352941 | 0.564706 | 0.494118 | 0.564706 | 0.564706 | 0 | 0 | 0 | 0 | 0 | 0 | 0.254777 | 157 | 7 | 27 | 22.428571 | 0.726496 | 0 | 0 | 0 | 0 | 0 | 0.050955 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
0c713346f452de0e3146d1e5f97f87b2e9f679b5 | 133 | py | Python | gapnlp/lg/__init__.py | gapml/NLP | cc21e866175e4af6ce5793d014ddad93900470a8 | [
"Apache-2.0"
] | 3 | 2018-09-10T23:29:32.000Z | 2020-05-09T12:39:10.000Z | gapnlp/lg/__init__.py | virtualdvid/NLP | a81fb60ab0272b9052c5602d48108039dc713223 | [
"Apache-2.0"
] | null | null | null | gapnlp/lg/__init__.py | virtualdvid/NLP | a81fb60ab0272b9052c5602d48108039dc713223 | [
"Apache-2.0"
] | 1 | 2018-09-10T23:28:10.000Z | 2018-09-10T23:28:10.000Z | from . import word2int_de
from . import word2int_en
from . import word2int_es
from . import word2int_fr
from . import word2int_it | 26.6 | 26 | 0.789474 | 20 | 133 | 5 | 0.4 | 0.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.172932 | 133 | 5 | 27 | 26.6 | 0.863636 | 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 |
0cc2abe2c7c30fe33e14ef1831ecb15a82a64bbf | 39 | py | Python | cupy_alias/padding/pad.py | fixstars/clpy | 693485f85397cc110fa45803c36c30c24c297df0 | [
"BSD-3-Clause"
] | 142 | 2018-06-07T07:43:10.000Z | 2021-10-30T21:06:32.000Z | cupy_alias/padding/pad.py | fixstars/clpy | 693485f85397cc110fa45803c36c30c24c297df0 | [
"BSD-3-Clause"
] | 282 | 2018-06-07T08:35:03.000Z | 2021-03-31T03:14:32.000Z | cupy_alias/padding/pad.py | fixstars/clpy | 693485f85397cc110fa45803c36c30c24c297df0 | [
"BSD-3-Clause"
] | 19 | 2018-06-19T11:07:53.000Z | 2021-05-13T20:57:04.000Z | from clpy.padding.pad import * # NOQA
| 19.5 | 38 | 0.717949 | 6 | 39 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 39 | 1 | 39 | 39 | 0.875 | 0.102564 | 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 |
0b3b1d5f357d4aca85db21d2ce061e5714d5f7cd | 948 | py | Python | courseware/controllers/service_controller.py | OneTesseractInMultiverse/ITIL-CaseExample | e5f629e9c8173012d30c14f8f435238428f6fe9f | [
"MIT"
] | null | null | null | courseware/controllers/service_controller.py | OneTesseractInMultiverse/ITIL-CaseExample | e5f629e9c8173012d30c14f8f435238428f6fe9f | [
"MIT"
] | 5 | 2021-02-08T20:18:48.000Z | 2022-03-11T23:16:26.000Z | courseware/controllers/service_controller.py | OneTesseractInMultiverse/ITIL-CaseExample | e5f629e9c8173012d30c14f8f435238428f6fe9f | [
"MIT"
] | null | null | null | from courseware import app
from flask import render_template
# --------------------------------------------------------------------------
# GET /
# --------------------------------------------------------------------------
# Root resource
@app.route('/service/1', methods=['GET'])
def service_1():
return render_tem... | 33.857143 | 76 | 0.362869 | 66 | 948 | 5.060606 | 0.348485 | 0.167665 | 0.134731 | 0.161677 | 0.335329 | 0.335329 | 0.245509 | 0.245509 | 0 | 0 | 0 | 0.006881 | 0.080169 | 948 | 28 | 77 | 33.857143 | 0.376147 | 0.53692 | 0 | 0 | 0 | 0 | 0.266979 | 0.175644 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | true | 0 | 0.181818 | 0.272727 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
0bbc22f6c27de16ee3d21eabbe659b859d701621 | 41 | py | Python | pokemon_image_dataset/__init__.py | jneuendorf/pokemon-image-dataset | 120b5beb4f058ee7c8fa86cc7e5b8030b75a03f1 | [
"MIT"
] | null | null | null | pokemon_image_dataset/__init__.py | jneuendorf/pokemon-image-dataset | 120b5beb4f058ee7c8fa86cc7e5b8030b75a03f1 | [
"MIT"
] | null | null | null | pokemon_image_dataset/__init__.py | jneuendorf/pokemon-image-dataset | 120b5beb4f058ee7c8fa86cc7e5b8030b75a03f1 | [
"MIT"
] | null | null | null | from .dataset import PokemonImageDataset
| 20.5 | 40 | 0.878049 | 4 | 41 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.972973 | 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 |
e7e3af220662cac536a1eee1686cbd0d25315145 | 25 | py | Python | cvutils/__init__.py | MercierLucas/cv_utils | 34683bfc06857c3ed293924201c9279606029ae0 | [
"MIT"
] | null | null | null | cvutils/__init__.py | MercierLucas/cv_utils | 34683bfc06857c3ed293924201c9279606029ae0 | [
"MIT"
] | null | null | null | cvutils/__init__.py | MercierLucas/cv_utils | 34683bfc06857c3ed293924201c9279606029ae0 | [
"MIT"
] | null | null | null | from .images import Image | 25 | 25 | 0.84 | 4 | 25 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f016a34bb2e52f8bddb55bd7fcfde37631216b72 | 1,666 | py | Python | sql/permission.py | real-fire/archer | 8e9e82a51125859c61d23496ad0cab0a4bbc5181 | [
"Apache-2.0"
] | 1,516 | 2017-02-18T07:17:21.000Z | 2022-03-30T07:00:22.000Z | sql/permission.py | real-fire/archer | 8e9e82a51125859c61d23496ad0cab0a4bbc5181 | [
"Apache-2.0"
] | 67 | 2017-02-13T07:24:56.000Z | 2022-03-22T04:56:41.000Z | sql/permission.py | real-fire/archer | 8e9e82a51125859c61d23496ad0cab0a4bbc5181 | [
"Apache-2.0"
] | 674 | 2017-03-02T02:03:25.000Z | 2022-03-31T03:43:52.000Z | # -*- coding: UTF-8 -*-
import simplejson as json
from django.shortcuts import render
from django.http import HttpResponse
from .models import users
# 管理员操作权限验证
def superuser_required(func):
def wrapper(request, *args, **kw):
# 获取用户信息,权限验证
loginUser = request.session.get('login_username', False)
... | 33.32 | 97 | 0.591837 | 172 | 1,666 | 5.662791 | 0.360465 | 0.045175 | 0.053388 | 0.043121 | 0.753593 | 0.753593 | 0.753593 | 0.753593 | 0.753593 | 0.753593 | 0 | 0.002542 | 0.291717 | 1,666 | 49 | 98 | 34 | 0.822881 | 0.038415 | 0 | 0.666667 | 0 | 0 | 0.10401 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.151515 | false | 0 | 0.121212 | 0 | 0.545455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
f038b248338e1fc4cf77082c4e0cd4a150246c1c | 75 | py | Python | corefacility/authorizations/mailru/entity/authorization_token/__init__.py | serik1987/corefacility | 78d84e19403361e83ef562e738473849f9133bef | [
"RSA-MD"
] | null | null | null | corefacility/authorizations/mailru/entity/authorization_token/__init__.py | serik1987/corefacility | 78d84e19403361e83ef562e738473849f9133bef | [
"RSA-MD"
] | null | null | null | corefacility/authorizations/mailru/entity/authorization_token/__init__.py | serik1987/corefacility | 78d84e19403361e83ef562e738473849f9133bef | [
"RSA-MD"
] | null | null | null | from .authorization_token import AuthorizationToken, AuthorizationTokenSet
| 37.5 | 74 | 0.906667 | 6 | 75 | 11.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 75 | 1 | 75 | 75 | 0.957143 | 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 |
f04bad230f2c5cfc0feb23bb1d8534e39b79e0ae | 885 | py | Python | op_builder/transformer_inference.py | ScriptBox99/DeepSpeed | fead387f7837200fefbaba3a7b14709072d8d2cb | [
"MIT"
] | 1 | 2022-02-12T06:27:26.000Z | 2022-02-12T06:27:26.000Z | op_builder/transformer_inference.py | ScriptBox99/DeepSpeed | fead387f7837200fefbaba3a7b14709072d8d2cb | [
"MIT"
] | null | null | null | op_builder/transformer_inference.py | ScriptBox99/DeepSpeed | fead387f7837200fefbaba3a7b14709072d8d2cb | [
"MIT"
] | null | null | null | from .builder import CUDAOpBuilder
class InferenceBuilder(CUDAOpBuilder):
BUILD_VAR = "DS_BUILD_TRANSFORMER_INFERENCE"
NAME = "transformer_inference"
def __init__(self, name=None):
name = self.NAME if name is None else name
super().__init__(name=name)
def absolute_name(self):
... | 32.777778 | 70 | 0.671186 | 100 | 885 | 5.73 | 0.43 | 0.34904 | 0.293194 | 0.293194 | 0.328098 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219209 | 885 | 26 | 71 | 34.038462 | 0.829233 | 0 | 0 | 0 | 0 | 0 | 0.459887 | 0.459887 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.05 | 0.15 | 0.55 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
b2bb0ff9c2ec882645518a870086ee49d52173a0 | 44 | py | Python | taglets/modules/zsl_kg_lite/__init__.py | BatsResearch/taglets | 0fa9ebeccc9177069aa09b2da84746b7532e3495 | [
"Apache-2.0"
] | 13 | 2021-11-10T13:17:10.000Z | 2022-03-30T22:56:52.000Z | taglets/modules/zsl_kg_lite/__init__.py | BatsResearch/taglets | 0fa9ebeccc9177069aa09b2da84746b7532e3495 | [
"Apache-2.0"
] | 1 | 2021-11-10T16:01:47.000Z | 2021-11-10T16:01:47.000Z | taglets/modules/zsl_kg_lite/__init__.py | BatsResearch/taglets | 0fa9ebeccc9177069aa09b2da84746b7532e3495 | [
"Apache-2.0"
] | 2 | 2022-02-14T22:40:29.000Z | 2022-02-27T04:27:48.000Z | from .zsl_kg import ZSLKGModule, ZSLKGTaglet | 44 | 44 | 0.863636 | 6 | 44 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b2d12d88516af73cebee0d679e3875108ce10fcd | 29 | py | Python | pdf_layout_scanner/__init__.py | yoshihikoueno/pdfminer-layout-scanner | 437f7f2329db79c0f794fe41f4156218a982cec5 | [
"MIT"
] | 5 | 2019-12-18T06:41:11.000Z | 2021-06-21T03:15:15.000Z | pdf_layout_scanner/__init__.py | yoshihikoueno/pdfminer-layout-scanner | 437f7f2329db79c0f794fe41f4156218a982cec5 | [
"MIT"
] | null | null | null | pdf_layout_scanner/__init__.py | yoshihikoueno/pdfminer-layout-scanner | 437f7f2329db79c0f794fe41f4156218a982cec5 | [
"MIT"
] | 4 | 2020-07-01T00:47:01.000Z | 2021-05-04T06:17:15.000Z | from . import layout_scanner
| 14.5 | 28 | 0.827586 | 4 | 29 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.92 | 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 |
651f6429a2201aa4fedf0766d35d8ed50a553bb4 | 206 | py | Python | token_management_system/token_manager/apps.py | pawanvirsingh/token_management | b1ef01e19e37a61c627c6712917807424e77b823 | [
"Apache-2.0"
] | null | null | null | token_management_system/token_manager/apps.py | pawanvirsingh/token_management | b1ef01e19e37a61c627c6712917807424e77b823 | [
"Apache-2.0"
] | null | null | null | token_management_system/token_manager/apps.py | pawanvirsingh/token_management | b1ef01e19e37a61c627c6712917807424e77b823 | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class TokenManagerConfig(AppConfig):
name = 'token_management_system.token_manager'
def ready(self):
import token_management_system.token_manager.signals
| 25.75 | 60 | 0.786408 | 24 | 206 | 6.5 | 0.666667 | 0.192308 | 0.269231 | 0.333333 | 0.423077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150485 | 206 | 7 | 61 | 29.428571 | 0.891429 | 0 | 0 | 0 | 0 | 0 | 0.179612 | 0.179612 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6533187e17e54cd7b47ac182a20ba830d533d14b | 90 | py | Python | githubsurvivor/models/__init__.py | richo/githubsurvivor | 43c8648d9b956372de669e0d5b45844d24a72583 | [
"MIT"
] | null | null | null | githubsurvivor/models/__init__.py | richo/githubsurvivor | 43c8648d9b956372de669e0d5b45844d24a72583 | [
"MIT"
] | null | null | null | githubsurvivor/models/__init__.py | richo/githubsurvivor | 43c8648d9b956372de669e0d5b45844d24a72583 | [
"MIT"
] | null | null | null | from githubsurvivor.models.user import User
from githubsurvivor.models.issue import Issue
| 30 | 45 | 0.866667 | 12 | 90 | 6.5 | 0.5 | 0.461538 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 90 | 2 | 46 | 45 | 0.95122 | 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 |
6545529115e44abb5c57e772d917d4851eb60b6c | 96 | py | Python | venv/lib/python3.8/site-packages/cachecontrol/cache.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/cachecontrol/cache.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/cachecontrol/cache.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/78/c4/bd/067f49590907888600e463d106a29553de6e4bec97931af3a6869f4628 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.489583 | 0 | 96 | 1 | 96 | 96 | 0.40625 | 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 |
e8e3d4cd51ad1d353efe4415390961cf26245fbb | 127 | py | Python | pip_mockup/test/foo_test.py | jp74/pip-mockup | 40bb26ba88cd80e5beaef5bf63f87337c3bcb8ca | [
"IJG"
] | null | null | null | pip_mockup/test/foo_test.py | jp74/pip-mockup | 40bb26ba88cd80e5beaef5bf63f87337c3bcb8ca | [
"IJG"
] | null | null | null | pip_mockup/test/foo_test.py | jp74/pip-mockup | 40bb26ba88cd80e5beaef5bf63f87337c3bcb8ca | [
"IJG"
] | null | null | null | from ..foo import myFunction
import unittest
def test_return():
assert myFunction('fred') == "Foo::myFunction says fred"
| 18.142857 | 60 | 0.724409 | 16 | 127 | 5.6875 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15748 | 127 | 6 | 61 | 21.166667 | 0.850467 | 0 | 0 | 0 | 0 | 0 | 0.228346 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e8ed0f2b1e0a47943808ad17dbf5794c76f93845 | 115 | py | Python | test/__init__.py | vincenzopalazzo/AnalyticsPyBlock | 04e206f9dd34ecc00fb85ba9be483e5bfe566302 | [
"Apache-2.0"
] | 3 | 2020-11-08T22:09:12.000Z | 2021-10-09T09:38:16.000Z | test/__init__.py | vincenzopalazzo/AnalyticsPyBlock | 04e206f9dd34ecc00fb85ba9be483e5bfe566302 | [
"Apache-2.0"
] | null | null | null | test/__init__.py | vincenzopalazzo/AnalyticsPyBlock | 04e206f9dd34ecc00fb85ba9be483e5bfe566302 | [
"Apache-2.0"
] | 2 | 2021-03-25T20:03:15.000Z | 2021-04-10T18:11:22.000Z | from .persistence_test import EstimateTypeScriptTest
from .estimate_type_script_test import EstimateTypeScriptTest
| 38.333333 | 61 | 0.913043 | 12 | 115 | 8.416667 | 0.666667 | 0.19802 | 0.633663 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069565 | 115 | 2 | 62 | 57.5 | 0.943925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
681bbb947ef9631dc631a8874ef74aa123520cba | 67 | py | Python | apiserver/apiserver/views.py | johnnykwwang/Halite-III | dd16463f1f13d652e7172e82687136f2217bb427 | [
"MIT"
] | 232 | 2017-09-11T14:28:41.000Z | 2022-01-19T10:26:07.000Z | apiserver/apiserver/views.py | johnnykwwang/Halite-III | dd16463f1f13d652e7172e82687136f2217bb427 | [
"MIT"
] | 302 | 2017-09-13T04:46:25.000Z | 2018-09-06T22:14:06.000Z | apiserver/apiserver/views.py | johnnykwwang/Halite-III | dd16463f1f13d652e7172e82687136f2217bb427 | [
"MIT"
] | 151 | 2017-09-11T21:03:07.000Z | 2020-11-28T04:58:55.000Z | from . import app
@app.route("/")
def index():
return "Test"
| 9.571429 | 17 | 0.58209 | 9 | 67 | 4.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.223881 | 67 | 6 | 18 | 11.166667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.074627 | 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 |
d7d11b42117839a04f8ce7415bf737b9ccd07fc2 | 151 | py | Python | tests/test_dazed.py | calmdown13/dazed | 37243c72d75a988d872df8d18a6fe76e6a39d353 | [
"MIT"
] | null | null | null | tests/test_dazed.py | calmdown13/dazed | 37243c72d75a988d872df8d18a6fe76e6a39d353 | [
"MIT"
] | null | null | null | tests/test_dazed.py | calmdown13/dazed | 37243c72d75a988d872df8d18a6fe76e6a39d353 | [
"MIT"
] | null | null | null | """Dazed version test."""
from dazed import __version__
def test_version():
"""It returns correct version."""
assert __version__ == "1.0.2"
| 16.777778 | 37 | 0.662252 | 19 | 151 | 4.789474 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02439 | 0.18543 | 151 | 8 | 38 | 18.875 | 0.715447 | 0.311258 | 0 | 0 | 0 | 0 | 0.053763 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0bcf3d027fe207607f0535e8887cb74b6ffcfa87 | 96 | py | Python | source/flux/apply.py | fr0stbite/flux | a545374eae067c0fd5b39301ec7e1cb7aaef960c | [
"MIT"
] | null | null | null | source/flux/apply.py | fr0stbite/flux | a545374eae067c0fd5b39301ec7e1cb7aaef960c | [
"MIT"
] | null | null | null | source/flux/apply.py | fr0stbite/flux | a545374eae067c0fd5b39301ec7e1cb7aaef960c | [
"MIT"
] | null | null | null | from .compose import compose
def apply(value, *functions):
return compose(*functions)(value)
| 19.2 | 35 | 0.760417 | 12 | 96 | 6.083333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 96 | 4 | 36 | 24 | 0.869048 | 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 |
0bd5f031e6fe2fb7b0aad477937df08383f24841 | 9,774 | py | Python | remodet_repository_wdh_part/Projects/PyLib/NetLib/ResNet.py | UrwLee/Remo_experience | a59d5b9d6d009524672e415c77d056bc9dd88c72 | [
"MIT"
] | null | null | null | remodet_repository_wdh_part/Projects/PyLib/NetLib/ResNet.py | UrwLee/Remo_experience | a59d5b9d6d009524672e415c77d056bc9dd88c72 | [
"MIT"
] | null | null | null | remodet_repository_wdh_part/Projects/PyLib/NetLib/ResNet.py | UrwLee/Remo_experience | a59d5b9d6d009524672e415c77d056bc9dd88c72 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import os
import caffe
from caffe import layers as L
from caffe import params as P
from caffe.proto import caffe_pb2
import sys
sys.dont_write_bytecode = True
from ConvBNLayer import *
# create ResNet unitLayer
def ResUnitLayer(net, from_layer, block_name, out2a, out2b, out2c, stride, use_bran... | 44.630137 | 125 | 0.700225 | 1,434 | 9,774 | 4.555091 | 0.091353 | 0.058175 | 0.045928 | 0.070269 | 0.883037 | 0.868034 | 0.860839 | 0.850429 | 0.850429 | 0.850429 | 0 | 0.085002 | 0.162267 | 9,774 | 218 | 126 | 44.834862 | 0.71275 | 0.010231 | 0 | 0.668571 | 0 | 0 | 0.040546 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022857 | false | 0 | 0.04 | 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 |
0bda4280ad4b2474f1449e9e702b78fcdea4314b | 852 | py | Python | build/quadrotor_control/mav_manager/catkin_generated/pkg.develspace.context.pc.py | MultiRobotUPenn/groundstation_ws_vio_swarm | 60e01af6bf32bafb5bc31626b055436278dc8311 | [
"MIT"
] | 1 | 2020-03-10T06:32:51.000Z | 2020-03-10T06:32:51.000Z | build/quadrotor_control/mav_manager/catkin_generated/pkg.develspace.context.pc.py | MultiRobotUPenn/groundstation_ws_vio_swarm | 60e01af6bf32bafb5bc31626b055436278dc8311 | [
"MIT"
] | null | null | null | build/quadrotor_control/mav_manager/catkin_generated/pkg.develspace.context.pc.py | MultiRobotUPenn/groundstation_ws_vio_swarm | 60e01af6bf32bafb5bc31626b055436278dc8311 | [
"MIT"
] | 1 | 2018-11-07T03:37:23.000Z | 2018-11-07T03:37:23.000Z | # generated from catkin/cmake/template/pkg.context.pc.in
CATKIN_PACKAGE_PREFIX = ""
PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/aarow/ros/vio_swarm_groundstation_ws/devel/include;/home/aarow/ros/vio_swarm_groundstation_ws/src/quadrotor_control/mav_manager/include;/usr/include/eigen3".split(';') if "/home/aarow/ros/vio_swa... | 94.666667 | 389 | 0.81338 | 123 | 852 | 5.260163 | 0.430894 | 0.069552 | 0.092736 | 0.11592 | 0.476043 | 0.476043 | 0.476043 | 0.476043 | 0.414219 | 0.414219 | 0 | 0.00615 | 0.045775 | 852 | 8 | 390 | 106.5 | 0.789668 | 0.06338 | 0 | 0 | 1 | 0.285714 | 0.66206 | 0.604271 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
042e1ea7988f7d09690dc1a1870371d24fe03842 | 149 | py | Python | flashcardgui/admin.py | zserg/flashcard | 985b2966250d7719d8ff5575785e41b4d503eb8b | [
"MIT"
] | 12 | 2017-03-22T10:19:04.000Z | 2022-02-03T14:42:36.000Z | flashcardgui/admin.py | zserg/flashcard | 985b2966250d7719d8ff5575785e41b4d503eb8b | [
"MIT"
] | 2 | 2017-04-13T15:15:02.000Z | 2018-11-26T17:53:23.000Z | flashcardgui/admin.py | zserg/flashcard | 985b2966250d7719d8ff5575785e41b4d503eb8b | [
"MIT"
] | 9 | 2017-04-10T22:35:27.000Z | 2022-02-21T16:38:30.000Z | from django.contrib import admin
from api.models import Deck
class DeckAdmin(admin.ModelAdmin):
pass
admin.site.register(Deck, DeckAdmin)
| 16.555556 | 36 | 0.765101 | 20 | 149 | 5.7 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161074 | 149 | 8 | 37 | 18.625 | 0.912 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 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 |
043afd61e706aef7271c101d40127c865b4ba4d6 | 108 | py | Python | braintree/facilitated_details.py | futureironman/braintree_python | 26bb8a857bc29322a8bca2e8e0fe6d99cfe6a1ac | [
"MIT"
] | 182 | 2015-01-09T05:26:46.000Z | 2022-03-16T14:10:06.000Z | braintree/facilitated_details.py | futureironman/braintree_python | 26bb8a857bc29322a8bca2e8e0fe6d99cfe6a1ac | [
"MIT"
] | 95 | 2015-02-24T23:29:56.000Z | 2022-03-13T03:27:58.000Z | braintree/facilitated_details.py | futureironman/braintree_python | 26bb8a857bc29322a8bca2e8e0fe6d99cfe6a1ac | [
"MIT"
] | 93 | 2015-02-19T17:59:06.000Z | 2022-03-19T17:01:25.000Z | from braintree.attribute_getter import AttributeGetter
class FacilitatedDetails(AttributeGetter):
pass
| 21.6 | 54 | 0.851852 | 10 | 108 | 9.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 108 | 4 | 55 | 27 | 0.947917 | 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 |
f089902b160e4e1b9c05dd1956bc10b673f308da | 35 | py | Python | dialogue/moviebot_model/__init__.py | waynewu6250/ChatBoxer | ae73604d4778b3b5223049e73e696ad66239c0ff | [
"MIT"
] | 7 | 2019-04-18T14:40:37.000Z | 2021-05-11T08:36:21.000Z | dialogue/moviebot_model/__init__.py | waynewu6250/ChatBoxer | ae73604d4778b3b5223049e73e696ad66239c0ff | [
"MIT"
] | 6 | 2020-06-05T20:20:50.000Z | 2021-06-10T17:48:56.000Z | dialogue/moviebot_model/__init__.py | waynewu6250/ChatBoxer | ae73604d4778b3b5223049e73e696ad66239c0ff | [
"MIT"
] | 2 | 2019-07-26T06:07:00.000Z | 2020-06-25T17:34:47.000Z | from .new_seq2seq import NewSeq2seq | 35 | 35 | 0.885714 | 5 | 35 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.085714 | 35 | 1 | 35 | 35 | 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 |
f0be8299252cfa0e4da50a9df395ade386fd676b | 445 | py | Python | winter/routing/__init__.py | EvgenySmekalin/winter | 24b6a02f958478547a4a120324823743a1f7e1a1 | [
"MIT"
] | 1 | 2020-03-28T14:54:28.000Z | 2020-03-28T14:54:28.000Z | winter/routing/__init__.py | EvgenySmekalin/winter | 24b6a02f958478547a4a120324823743a1f7e1a1 | [
"MIT"
] | null | null | null | winter/routing/__init__.py | EvgenySmekalin/winter | 24b6a02f958478547a4a120324823743a1f7e1a1 | [
"MIT"
] | null | null | null | from .argument_resolvers import PathParametersArgumentResolver
from .argument_resolvers import QueryParameterArgumentResolver
from .reverse import reverse
from .route import Route
from .route_annotation import RouteAnnotation
from .routing import get_route
from .routing import route
from .routing import route_delete
fr... | 34.230769 | 62 | 0.865169 | 57 | 445 | 6.596491 | 0.280702 | 0.204787 | 0.316489 | 0.351064 | 0.130319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107865 | 445 | 12 | 63 | 37.083333 | 0.947103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f0d6ab9097e657fa72cc9978afb077cd3348c970 | 26,013 | py | Python | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/ocelot/phys/Phys_Studio_Base.py | PascalGuenther/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 82 | 2016-06-29T17:24:43.000Z | 2021-04-16T06:49:17.000Z | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/ocelot/phys/Phys_Studio_Base.py | PascalGuenther/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 6 | 2022-01-12T18:22:08.000Z | 2022-03-25T10:19:27.000Z | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/ocelot/phys/Phys_Studio_Base.py | PascalGuenther/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 56 | 2016-08-02T10:50:50.000Z | 2021-07-19T08:57:34.000Z | from pyradioconfig.calculator_model_framework.interfaces.iphy import IPhy
from pyradioconfig.parts.common.phys.phy_common import PHY_COMMON_FRAME_INTERNAL
class PHYS_Studio_Base_Ocelot(IPhy):
##########2FSK PHYS##########
#Base Functions
def Studio_2GFSK_base(self, phy, model):
# Required Inpu... | 40.02 | 123 | 0.70434 | 3,470 | 26,013 | 5.045245 | 0.088761 | 0.101102 | 0.161764 | 0.083167 | 0.904895 | 0.866796 | 0.862512 | 0.860456 | 0.833609 | 0.829611 | 0 | 0.061418 | 0.213855 | 26,013 | 649 | 124 | 40.081664 | 0.79467 | 0.230961 | 0 | 0.662207 | 0 | 0 | 0.034891 | 0 | 0 | 0 | 0.001844 | 0 | 0 | 1 | 0.103679 | false | 0.003344 | 0.006689 | 0 | 0.200669 | 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 |
9bcfa92c8b1ac16837502c3e6a257ded79f39ff4 | 45 | py | Python | bali/events/__init__.py | bali-framework/bali | d6d7024b6bed9291a93e3518d42d32250b524325 | [
"MIT"
] | 6 | 2022-02-24T15:34:37.000Z | 2022-03-30T02:04:47.000Z | bali/events/__init__.py | bali-framework/bali | d6d7024b6bed9291a93e3518d42d32250b524325 | [
"MIT"
] | null | null | null | bali/events/__init__.py | bali-framework/bali | d6d7024b6bed9291a93e3518d42d32250b524325 | [
"MIT"
] | 1 | 2022-02-23T06:07:14.000Z | 2022-02-23T06:07:14.000Z | from .dispatch import *
from .event import *
| 15 | 23 | 0.733333 | 6 | 45 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 45 | 2 | 24 | 22.5 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9bdb62cf0730b44dbf7eb08ea780f009891b9476 | 2,438 | py | Python | SULI/tests/test_env.py | jklynch/bad_seed | 88ca597f2786e3a9c9aec3471b181e75cce2f4dd | [
"BSD-3-Clause"
] | null | null | null | SULI/tests/test_env.py | jklynch/bad_seed | 88ca597f2786e3a9c9aec3471b181e75cce2f4dd | [
"BSD-3-Clause"
] | null | null | null | SULI/tests/test_env.py | jklynch/bad_seed | 88ca597f2786e3a9c9aec3471b181e75cce2f4dd | [
"BSD-3-Clause"
] | null | null | null | import pprint
from SULI.src.tensorForceEnv import CustomEnvironment
def test_done():
env = CustomEnvironment()
actions = env.actions()
print(f"actions: {actions}")
assert env.extraCounter == 3
print(f"extra Count: {env.extraCounter}")
states, reward, done = env.execute(actions=0)
prin... | 22.785047 | 56 | 0.661198 | 337 | 2,438 | 4.694362 | 0.142433 | 0.11378 | 0.139697 | 0.147914 | 0.788875 | 0.75158 | 0.746523 | 0.746523 | 0.746523 | 0.746523 | 0 | 0.018888 | 0.218212 | 2,438 | 107 | 57 | 22.785047 | 0.811123 | 0.027071 | 0 | 0.808824 | 0 | 0 | 0.057806 | 0 | 0 | 0 | 0 | 0 | 0.397059 | 1 | 0.058824 | false | 0 | 0.029412 | 0 | 0.088235 | 0.161765 | 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 |
505eaf568d8f20d0d889869fdb9583128064696b | 41 | py | Python | boucanpy/core/zone/data.py | bbhunter/boucanpy | 7d2fb105e7b1e90653a511534fb878bb62d02f17 | [
"MIT"
] | 34 | 2019-11-16T17:22:15.000Z | 2022-02-11T23:12:46.000Z | boucanpy/core/zone/data.py | bbhunter/boucanpy | 7d2fb105e7b1e90653a511534fb878bb62d02f17 | [
"MIT"
] | 1 | 2021-02-09T09:34:55.000Z | 2021-02-10T21:46:20.000Z | boucanpy/core/zone/data.py | bbhunter/boucanpy | 7d2fb105e7b1e90653a511534fb878bb62d02f17 | [
"MIT"
] | 9 | 2019-11-18T22:18:07.000Z | 2021-02-08T13:23:51.000Z | from boucanpy.core.types import ZoneData
| 20.5 | 40 | 0.853659 | 6 | 41 | 5.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.945946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ac8f88859c6b009a744d33e93b7222edbd017d4c | 7,406 | py | Python | tests/test_generalize.py | darrenreger/zEpid | 4b5b4ed81933c92bd17d63364df6673d6f9c2ea6 | [
"MIT"
] | null | null | null | tests/test_generalize.py | darrenreger/zEpid | 4b5b4ed81933c92bd17d63364df6673d6f9c2ea6 | [
"MIT"
] | null | null | null | tests/test_generalize.py | darrenreger/zEpid | 4b5b4ed81933c92bd17d63364df6673d6f9c2ea6 | [
"MIT"
] | null | null | null | import pytest
import pandas as pd
import numpy.testing as npt
import zepid as ze
from zepid.causal.generalize import IPSW, GTransportFormula, AIPSW
from zepid.causal.ipw import IPTW
@pytest.fixture
def df_r():
df = ze.load_generalize_data(False)
df['W_sq'] = df['W'] ** 2
return df
@pytest.fixture
def d... | 43.05814 | 105 | 0.655144 | 1,128 | 7,406 | 4.10461 | 0.096631 | 0.023974 | 0.102808 | 0.069762 | 0.87041 | 0.850324 | 0.825486 | 0.801728 | 0.785745 | 0.754644 | 0 | 0.042031 | 0.196867 | 7,406 | 171 | 106 | 43.309942 | 0.736382 | 0 | 0 | 0.50365 | 0 | 0 | 0.067378 | 0 | 0 | 0 | 0 | 0 | 0.20438 | 1 | 0.153285 | false | 0 | 0.043796 | 0 | 0.240876 | 0.153285 | 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 |
c57abf3a13c0472f358551726c2583c45ec6f386 | 2,016 | py | Python | allure-pytest/test/status/base_step_status_test.py | Sup3rGeo/allure-python | 568e7b18e7220b1bd260054447fca360fefea77f | [
"Apache-2.0"
] | 1 | 2018-07-23T16:09:54.000Z | 2018-07-23T16:09:54.000Z | allure-pytest/test/status/base_step_status_test.py | hosniadala-dt/allure-python | 7285adf0690bb703225d45e236594581bfb62728 | [
"Apache-2.0"
] | null | null | null | allure-pytest/test/status/base_step_status_test.py | hosniadala-dt/allure-python | 7285adf0690bb703225d45e236594581bfb62728 | [
"Apache-2.0"
] | 1 | 2020-08-05T05:40:44.000Z | 2020-08-05T05:40:44.000Z | import pytest
def test_broken_step():
"""
>>> allure_report = getfixture('allure_report')
>>> assert_that(allure_report,
... has_test_case('test_broken_step',
... with_status('broken'),
... has_status_details(with_message_contains... | 43.826087 | 113 | 0.400794 | 138 | 2,016 | 5.376812 | 0.181159 | 0.097035 | 0.075472 | 0.107817 | 0.893531 | 0.884097 | 0.690027 | 0.690027 | 0.690027 | 0.690027 | 0 | 0 | 0.480655 | 2,016 | 45 | 114 | 44.8 | 0.708692 | 0.823909 | 0 | 0.285714 | 0 | 0 | 0.037736 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | true | 0 | 0.142857 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c5d10d505acbe866e199a660a968b7db4ece7cef | 143 | py | Python | flux/__init__.py | omergertel/flux | 56c154df6538aeb353b61d48851297f5a9839391 | [
"BSD-3-Clause"
] | 6 | 2016-11-29T11:01:20.000Z | 2022-03-04T20:00:05.000Z | flux/__init__.py | omergertel/flux | 56c154df6538aeb353b61d48851297f5a9839391 | [
"BSD-3-Clause"
] | 3 | 2018-12-12T08:59:28.000Z | 2020-10-06T05:51:18.000Z | flux/__init__.py | omergertel/flux | 56c154df6538aeb353b61d48851297f5a9839391 | [
"BSD-3-Clause"
] | 2 | 2016-05-22T15:27:56.000Z | 2019-01-28T12:33:42.000Z | from .__version__ import __version__
from .timeline import Timeline
from .gevent_timeline import GeventTimeline
from . import current_timeline
| 28.6 | 43 | 0.86014 | 17 | 143 | 6.647059 | 0.411765 | 0.247788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111888 | 143 | 4 | 44 | 35.75 | 0.889764 | 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 |
6808e85ec4095435fc7a3c16caba528abd6517b1 | 220 | py | Python | applications/FemToDemApplication/custom_problemtype/FemDemKratos.gid/KratosFemDemApplication.py | lcirrott/Kratos | 8406e73e0ad214c4f89df4e75e9b29d0eb4a47ea | [
"BSD-4-Clause"
] | 2 | 2019-10-25T09:28:10.000Z | 2019-11-21T12:51:46.000Z | applications/FemToDemApplication/custom_problemtype/FemDemKratos.gid/KratosFemDemApplication.py | lcirrott/Kratos | 8406e73e0ad214c4f89df4e75e9b29d0eb4a47ea | [
"BSD-4-Clause"
] | 13 | 2019-10-07T12:06:51.000Z | 2020-02-18T08:48:33.000Z | applications/FemToDemApplication/custom_problemtype/FemDemKratos.gid/KratosFemDemApplication.py | lcirrott/Kratos | 8406e73e0ad214c4f89df4e75e9b29d0eb4a47ea | [
"BSD-4-Clause"
] | 1 | 2020-06-12T08:51:24.000Z | 2020-06-12T08:51:24.000Z | import KratosMultiphysics
import KratosMultiphysics.SolidMechanicsApplication
import KratosMultiphysics.FemToDemApplication
import MainFemDem
model = KratosMultiphysics.Model()
MainFemDem.FEM_Solution(model).Run() | 31.428571 | 52 | 0.863636 | 18 | 220 | 10.5 | 0.5 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081818 | 220 | 7 | 53 | 31.428571 | 0.935644 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a84854f5444080d86d1bb295e9c00c7ea4da3343 | 133 | py | Python | foowise/channels/__init__.py | ben-schulz/foowise | 16f437e9fc9a282db56a39efa8b84d06981ce652 | [
"MIT"
] | 1 | 2020-01-25T00:14:41.000Z | 2020-01-25T00:14:41.000Z | foowise/channels/__init__.py | ben-schulz/foowise | 16f437e9fc9a282db56a39efa8b84d06981ce652 | [
"MIT"
] | 1 | 2018-08-19T17:41:33.000Z | 2018-08-26T02:15:02.000Z | foowise/channels/__init__.py | ben-schulz/foowise | 16f437e9fc9a282db56a39efa8b84d06981ce652 | [
"MIT"
] | null | null | null | from . import Cla
from . import Infomorphism
from . import Invariant
from . import DistSys
from . import Channel
from . import Index
| 19 | 26 | 0.774436 | 18 | 133 | 5.722222 | 0.444444 | 0.582524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180451 | 133 | 6 | 27 | 22.166667 | 0.944954 | 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 |
a84dd298a2fce0ef9a0cd41d56371cea7949b2c7 | 45 | py | Python | model_zoo/__init__.py | zhfeing/graduation-project | e9020a4d7916874ad9d4bf0c9f7f1f82dcfea663 | [
"MIT"
] | null | null | null | model_zoo/__init__.py | zhfeing/graduation-project | e9020a4d7916874ad9d4bf0c9f7f1f82dcfea663 | [
"MIT"
] | 1 | 2019-04-12T06:25:36.000Z | 2019-04-12T06:26:06.000Z | model_zoo/__init__.py | zhfeing/graduation-project | e9020a4d7916874ad9d4bf0c9f7f1f82dcfea663 | [
"MIT"
] | null | null | null | print("[info]: load model zoo successfully")
| 22.5 | 44 | 0.733333 | 6 | 45 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 45 | 1 | 45 | 45 | 0.825 | 0 | 0 | 0 | 0 | 0 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
a884a8cefcf4994246c6d73b8471d71bfe404519 | 89 | py | Python | genda/transcripts/__init__.py | jeffhsu3/genda | 5adbb5b5620c592849fa4a61126b934e1857cd77 | [
"BSD-3-Clause"
] | 5 | 2016-01-12T15:12:18.000Z | 2022-02-10T21:57:39.000Z | genda/transcripts/__init__.py | jeffhsu3/genda | 5adbb5b5620c592849fa4a61126b934e1857cd77 | [
"BSD-3-Clause"
] | 5 | 2015-01-20T04:22:50.000Z | 2018-10-02T19:39:12.000Z | genda/transcripts/__init__.py | jeffhsu3/genda | 5adbb5b5620c592849fa4a61126b934e1857cd77 | [
"BSD-3-Clause"
] | 1 | 2022-03-04T06:49:39.000Z | 2022-03-04T06:49:39.000Z | from .transcripts_utils import *
from .gene import *
from .transcript import Transcript
| 17.8 | 34 | 0.797753 | 11 | 89 | 6.363636 | 0.545455 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146067 | 89 | 4 | 35 | 22.25 | 0.921053 | 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 |
a8a7cbd11f3ca285cf44c3bb5858e8d75909a149 | 73 | py | Python | SL-GCN/model/__init__.py | SnorlaxSE/CVPR21Chal-SLR | 680f911131ca03559fb06d578f38d006f87aa478 | [
"CC0-1.0"
] | 85 | 2021-03-17T06:17:01.000Z | 2022-03-30T12:52:37.000Z | SL-GCN/model/__init__.py | SnorlaxSE/CVPR21Chal-SLR | 680f911131ca03559fb06d578f38d006f87aa478 | [
"CC0-1.0"
] | 21 | 2021-03-21T18:41:27.000Z | 2022-03-24T08:16:47.000Z | SL-GCN/model/__init__.py | SnorlaxSE/CVPR21Chal-SLR | 680f911131ca03559fb06d578f38d006f87aa478 | [
"CC0-1.0"
] | 28 | 2021-03-20T09:04:47.000Z | 2022-03-15T02:29:06.000Z | from . import decouple_gcn_attn
from . import dropSke
from . import dropT | 24.333333 | 31 | 0.808219 | 11 | 73 | 5.181818 | 0.636364 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150685 | 73 | 3 | 32 | 24.333333 | 0.919355 | 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 |
a8b247763ad7e8fa69ddd19c75247c56a6185bc6 | 20,973 | py | Python | TIPS_Data_Analysis/TIPS_Data_Analysis/TEC_Exam.py | rnsheehan/TIPS_Data_Analysis | 8909fe9306a1ba57fa42cf2f41b5ed6ecbb60dda | [
"MIT"
] | null | null | null | TIPS_Data_Analysis/TIPS_Data_Analysis/TEC_Exam.py | rnsheehan/TIPS_Data_Analysis | 8909fe9306a1ba57fa42cf2f41b5ed6ecbb60dda | [
"MIT"
] | null | null | null | TIPS_Data_Analysis/TIPS_Data_Analysis/TEC_Exam.py | rnsheehan/TIPS_Data_Analysis | 8909fe9306a1ba57fa42cf2f41b5ed6ecbb60dda | [
"MIT"
] | null | null | null | import os
import glob
import re
import sys # access system routines
import math
import scipy
import numpy as np
import matplotlib.pyplot as plt
import Common
import Plotting
labs = ['r*-', 'g^-', 'b+-', 'md-', 'cp-', 'yh-', 'ks-' ] # plot labels
labs_lins = ['r-', 'g-', 'b-', 'm-', 'c-', 'y-', 'k-' ] # plot labels
l... | 57.460274 | 165 | 0.607448 | 3,483 | 20,973 | 3.366351 | 0.070629 | 0.055267 | 0.035821 | 0.092111 | 0.881109 | 0.874797 | 0.860725 | 0.829851 | 0.78516 | 0.766567 | 0 | 0.110906 | 0.251514 | 20,973 | 364 | 166 | 57.618132 | 0.636005 | 0.176036 | 0 | 0.629787 | 0 | 0 | 0.150683 | 0.006223 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008511 | false | 0 | 0.042553 | 0 | 0.055319 | 0.008511 | 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 |
a8bcb006d9a776a3d5d5101e166a4d6ca2415943 | 129 | py | Python | syn/base_utils/tests/delete1.py | mbodenhamer/syn | aeaa3ad8a49bac8f50cf89b6f1fe97ad43d1d258 | [
"MIT"
] | 1 | 2021-07-15T08:55:12.000Z | 2021-07-15T08:55:12.000Z | syn/base_utils/tests/delete1.py | mbodenhamer/syn | aeaa3ad8a49bac8f50cf89b6f1fe97ad43d1d258 | [
"MIT"
] | 7 | 2021-01-07T23:51:57.000Z | 2021-12-13T19:50:57.000Z | syn/base_utils/tests/delete1.py | mbodenhamer/syn | aeaa3ad8a49bac8f50cf89b6f1fe97ad43d1d258 | [
"MIT"
] | 2 | 2016-07-11T08:46:31.000Z | 2017-12-13T13:30:51.000Z | from syn.base_utils import harvest_metadata, delete
with delete(harvest_metadata, delete):
harvest_metadata('metadata1.yml')
| 32.25 | 51 | 0.813953 | 17 | 129 | 5.941176 | 0.647059 | 0.445545 | 0.415842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008621 | 0.100775 | 129 | 3 | 52 | 43 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0.100775 | 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 |
76410177cc83c8080337075b0981950a7ba1aee6 | 2,558 | py | Python | crawler/tests/test_models.py | bkosawa/admin-recommendation | 8bc1acf20fde8e5e99b74da32cf426b037ccb98f | [
"Apache-2.0"
] | null | null | null | crawler/tests/test_models.py | bkosawa/admin-recommendation | 8bc1acf20fde8e5e99b74da32cf426b037ccb98f | [
"Apache-2.0"
] | null | null | null | crawler/tests/test_models.py | bkosawa/admin-recommendation | 8bc1acf20fde8e5e99b74da32cf426b037ccb98f | [
"Apache-2.0"
] | null | null | null | import numpy as np
from django.test.testcases import SimpleTestCase
from scipy.sparse import dok_matrix
from crawler.models import convert_from_sparse_array, convert_from_dict_string
class UtilityMatrixTest(SimpleTestCase):
def test_utility_matrix_serialization_return_not_none(self):
sparse_array = dok_m... | 44.877193 | 98 | 0.734558 | 339 | 2,558 | 5.091445 | 0.153392 | 0.133835 | 0.06489 | 0.0927 | 0.80533 | 0.783314 | 0.771727 | 0.708575 | 0.708575 | 0.669177 | 0 | 0.034845 | 0.181001 | 2,558 | 56 | 99 | 45.678571 | 0.789021 | 0 | 0 | 0.434783 | 0 | 0 | 0.029711 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 1 | 0.173913 | false | 0 | 0.086957 | 0 | 0.282609 | 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 |
7695ba6487d91a84529c4c44bdee672f09256ced | 117 | py | Python | core/models/__init__.py | firehose-dataset/congrad | 20792f43aa89beae75454e30b82b2e1280ed3106 | [
"MIT"
] | 9 | 2020-07-21T14:37:22.000Z | 2021-07-14T12:44:13.000Z | core/models/__init__.py | firehose-dataset/congrad | 20792f43aa89beae75454e30b82b2e1280ed3106 | [
"MIT"
] | 2 | 2020-09-22T18:05:03.000Z | 2020-11-19T09:42:21.000Z | core/models/__init__.py | firehose-dataset/congrad | 20792f43aa89beae75454e30b82b2e1280ed3106 | [
"MIT"
] | 2 | 2020-07-21T16:39:12.000Z | 2020-07-30T02:20:47.000Z | from core.models.mem_transformer import MemTransformerLM
from core.models.mtl_transformer import MTLMemTransformerLM
| 39 | 59 | 0.897436 | 14 | 117 | 7.357143 | 0.642857 | 0.15534 | 0.271845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068376 | 117 | 2 | 60 | 58.5 | 0.944954 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
76b6fe619c7209dfb0a806e1fbc0a3667373c0a5 | 80 | py | Python | stella_nav_planning/src/stella_nav_planning/global_planner/__init__.py | ymd-stella/stella_nav | b92f2dcaf52d0bb03c9ea4228124dc3444af2681 | [
"MIT"
] | null | null | null | stella_nav_planning/src/stella_nav_planning/global_planner/__init__.py | ymd-stella/stella_nav | b92f2dcaf52d0bb03c9ea4228124dc3444af2681 | [
"MIT"
] | null | null | null | stella_nav_planning/src/stella_nav_planning/global_planner/__init__.py | ymd-stella/stella_nav | b92f2dcaf52d0bb03c9ea4228124dc3444af2681 | [
"MIT"
] | 1 | 2022-01-14T07:55:22.000Z | 2022-01-14T07:55:22.000Z | from .carrot_planner import CarrotPlanner
from .ompl_planner import OmplPlanner
| 26.666667 | 41 | 0.875 | 10 | 80 | 6.8 | 0.7 | 0.382353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 80 | 2 | 42 | 40 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4f8b7abb84b57435a27191527dfcbdcfa30678da | 121 | py | Python | ontology-tools/CMCLABoxManagement/chemaboxwriters/chemaboxwriters/ontospecies/__init__.py | mdhillmancmcl/TheWorldAvatar-CMCL-Fork | 011aee78c016b76762eaf511c78fabe3f98189f4 | [
"MIT"
] | null | null | null | ontology-tools/CMCLABoxManagement/chemaboxwriters/chemaboxwriters/ontospecies/__init__.py | mdhillmancmcl/TheWorldAvatar-CMCL-Fork | 011aee78c016b76762eaf511c78fabe3f98189f4 | [
"MIT"
] | null | null | null | ontology-tools/CMCLABoxManagement/chemaboxwriters/chemaboxwriters/ontospecies/__init__.py | mdhillmancmcl/TheWorldAvatar-CMCL-Fork | 011aee78c016b76762eaf511c78fabe3f98189f4 | [
"MIT"
] | null | null | null | from chemaboxwriters.ontospecies.pipeline import OS_pipeline
from chemaboxwriters.ontospecies.writeabox import write_abox | 60.5 | 60 | 0.909091 | 14 | 121 | 7.714286 | 0.642857 | 0.351852 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057851 | 121 | 2 | 61 | 60.5 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 |
4fa7a41664161969c90047f190d6ad5d65db9d0e | 21 | py | Python | ioant/ioant/proto/__init__.py | ioants/pipy-packages | 75639f5387410a4a9eaab65919989b659b4fe211 | [
"MIT"
] | null | null | null | ioant/ioant/proto/__init__.py | ioants/pipy-packages | 75639f5387410a4a9eaab65919989b659b4fe211 | [
"MIT"
] | 1 | 2017-01-15T16:18:10.000Z | 2017-01-15T16:18:10.000Z | ioant/ioant/proto/__init__.py | ioants/pypi-packages | 75639f5387410a4a9eaab65919989b659b4fe211 | [
"MIT"
] | null | null | null | from .proto import *
| 10.5 | 20 | 0.714286 | 3 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8c27cebbd8815eca96cd010b12b07572bd62af42 | 22 | py | Python | .history/ClassFiles/Control Flow/ForLoopRangeFunc_20210101223124.py | minefarmer/Comprehensive-Python | f97b9b83ec328fc4e4815607e6a65de90bb8de66 | [
"Unlicense"
] | null | null | null | .history/ClassFiles/Control Flow/ForLoopRangeFunc_20210101223124.py | minefarmer/Comprehensive-Python | f97b9b83ec328fc4e4815607e6a65de90bb8de66 | [
"Unlicense"
] | null | null | null | .history/ClassFiles/Control Flow/ForLoopRangeFunc_20210101223124.py | minefarmer/Comprehensive-Python | f97b9b83ec328fc4e4815607e6a65de90bb8de66 | [
"Unlicense"
] | null | null | null | ''' If | 22 | 22 | 0.090909 | 1 | 22 | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.772727 | 22 | 1 | 22 | 22 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8c3a1f0d0216d64ec13a65ebc3b63e0a7c382fe4 | 99 | py | Python | ver01/KieaPython01/comments.py | grtlinux/KieaPython21 | 648377fc8d773b028f50f4658e70e7f9a68cc62b | [
"Apache-2.0"
] | null | null | null | ver01/KieaPython01/comments.py | grtlinux/KieaPython21 | 648377fc8d773b028f50f4658e70e7f9a68cc62b | [
"Apache-2.0"
] | null | null | null | ver01/KieaPython01/comments.py | grtlinux/KieaPython21 | 648377fc8d773b028f50f4658e70e7f9a68cc62b | [
"Apache-2.0"
] | null | null | null | # omment
print("This is a comment..")
"""
This is a comment
written in
more than just one line
""" | 12.375 | 28 | 0.676768 | 17 | 99 | 3.941176 | 0.764706 | 0.179104 | 0.208955 | 0.41791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191919 | 99 | 8 | 29 | 12.375 | 0.8375 | 0.060606 | 0 | 0 | 0 | 0 | 0.59375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
4fdf5f39bc25a7a6df0c42ab529193a8010db529 | 20,017 | py | Python | src/asldro/filters/test_add_noise_filter.py | gold-standard-phantoms/asldro | 6ae82ed69d66fed64e1e54e5394cc3b5d8dbe1bd | [
"MIT"
] | 3 | 2021-03-09T15:51:32.000Z | 2021-05-19T13:05:18.000Z | src/asldro/filters/test_add_noise_filter.py | gold-standard-phantoms/asldro | 6ae82ed69d66fed64e1e54e5394cc3b5d8dbe1bd | [
"MIT"
] | null | null | null | src/asldro/filters/test_add_noise_filter.py | gold-standard-phantoms/asldro | 6ae82ed69d66fed64e1e54e5394cc3b5d8dbe1bd | [
"MIT"
] | null | null | null | """ Add noise filter tests """
# pylint: disable=duplicate-code
import pytest
import numpy as np
import numpy.testing
from asldro.filters.basefilter import FilterInputValidationError
from asldro.filters.add_noise_filter import AddNoiseFilter
from asldro.filters.fourier_filter import FftFilter
from asldro.containers.... | 39.32613 | 96 | 0.742119 | 2,772 | 20,017 | 5.040765 | 0.076479 | 0.069849 | 0.101195 | 0.065269 | 0.81679 | 0.804265 | 0.791026 | 0.773635 | 0.759178 | 0.730552 | 0 | 0.008906 | 0.175401 | 20,017 | 508 | 97 | 39.403543 | 0.837635 | 0.252385 | 0 | 0.678019 | 0 | 0 | 0.085072 | 0.024131 | 0 | 0 | 0 | 0 | 0.055728 | 1 | 0.055728 | false | 0 | 0.021672 | 0 | 0.105263 | 0.037152 | 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 |
4ffd4249fa556d5aab8d390141c20b25c92eb583 | 58 | py | Python | words/tools.py | beatbox4108/sentence_labo | fd1ef23450f0c81bfb9be7c80ed937a0e45b2d05 | [
"CC0-1.0"
] | null | null | null | words/tools.py | beatbox4108/sentence_labo | fd1ef23450f0c81bfb9be7c80ed937a0e45b2d05 | [
"CC0-1.0"
] | null | null | null | words/tools.py | beatbox4108/sentence_labo | fd1ef23450f0c81bfb9be7c80ed937a0e45b2d05 | [
"CC0-1.0"
] | null | null | null | def first_upper(word):
return word[0].upper()+word[1:] | 29 | 35 | 0.672414 | 10 | 58 | 3.8 | 0.7 | 0.473684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039216 | 0.12069 | 58 | 2 | 35 | 29 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
8b2a2fdaf070b28209eaa815ce6e556802f1fd0c | 131 | py | Python | PixivCrawler/__init__.py | AuthurExcalbern/PixivCrawler | 8158916e7cc806b6c98d2a09565d7c10e22905d1 | [
"MIT"
] | null | null | null | PixivCrawler/__init__.py | AuthurExcalbern/PixivCrawler | 8158916e7cc806b6c98d2a09565d7c10e22905d1 | [
"MIT"
] | null | null | null | PixivCrawler/__init__.py | AuthurExcalbern/PixivCrawler | 8158916e7cc806b6c98d2a09565d7c10e22905d1 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from PixivCrawler.login import PixivLogin
from PixivCrawler.crawler import Crawler
| 21.833333 | 41 | 0.755725 | 17 | 131 | 5.823529 | 0.764706 | 0.323232 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017391 | 0.122137 | 131 | 5 | 42 | 26.2 | 0.843478 | 0.328244 | 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 |
8c6606e8b6438d0d229794a46a2b94a25abe0500 | 9,135 | py | Python | dense_fusion/nn/loss.py | iory/dense-fusion | f08b9fc5257212a4f264d12845354f99ced57592 | [
"MIT"
] | 6 | 2020-02-27T11:25:33.000Z | 2021-06-19T05:10:47.000Z | dense_fusion/nn/loss.py | iory/dense-fusion | f08b9fc5257212a4f264d12845354f99ced57592 | [
"MIT"
] | null | null | null | dense_fusion/nn/loss.py | iory/dense-fusion | f08b9fc5257212a4f264d12845354f99ced57592 | [
"MIT"
] | 1 | 2020-12-02T11:07:40.000Z | 2020-12-02T11:07:40.000Z | import torch
from torch.nn.modules.loss import _Loss
def pairwise_dist(xyz1, xyz2):
r_xyz1 = torch.sum(xyz1 * xyz1, dim=2, keepdim=True)
r_xyz2 = torch.sum(xyz2 * xyz2, dim=2, keepdim=True)
mul = torch.matmul(xyz2, xyz1.permute(0, 2, 1))
dist = r_xyz2 - 2 * mul + r_xyz1.permute(0, 2, 1)
return dis... | 32.165493 | 79 | 0.473454 | 1,281 | 9,135 | 3.130367 | 0.061671 | 0.093516 | 0.061347 | 0.079801 | 0.846633 | 0.810224 | 0.796509 | 0.761596 | 0.74414 | 0.737656 | 0 | 0.055679 | 0.359059 | 9,135 | 283 | 80 | 32.279152 | 0.629206 | 0 | 0 | 0.649194 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028226 | false | 0 | 0.008065 | 0.008065 | 0.064516 | 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 |
8ca8ecf552e434e360402e257ea5705bfb1ec694 | 295 | py | Python | Mundo 3/Ex108/teste.py | legna7/Python | 52e0b642d1b7acc592ec82dd360c5697fb0765db | [
"MIT"
] | null | null | null | Mundo 3/Ex108/teste.py | legna7/Python | 52e0b642d1b7acc592ec82dd360c5697fb0765db | [
"MIT"
] | null | null | null | Mundo 3/Ex108/teste.py | legna7/Python | 52e0b642d1b7acc592ec82dd360c5697fb0765db | [
"MIT"
] | null | null | null | #from ex108 import moeda
import moeda
p = float(input('Digite o preco: R$ '))
print(f'A metade de R${moeda.moeda(p)} eh {moeda.moeda(moeda.metade(p))}')
print(f'O dobro de {moeda.moeda(p)} eh {moeda.moeda(moeda.dobro(p))}')
print(f'Aumentando 10%, temos R${moeda.moeda(moeda.aumentar(p, 10))}') | 42.142857 | 74 | 0.691525 | 54 | 295 | 3.777778 | 0.407407 | 0.392157 | 0.220588 | 0.127451 | 0.27451 | 0.27451 | 0.27451 | 0 | 0 | 0 | 0 | 0.026415 | 0.101695 | 295 | 7 | 75 | 42.142857 | 0.743396 | 0.077966 | 0 | 0 | 0 | 0.4 | 0.746324 | 0.334559 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.6 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
8cb18bf7dfcb10f25420fb15051e678b869ad9ea | 96 | py | Python | venv/lib/python3.8/site-packages/cachy/stores/memcached_store.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/cachy/stores/memcached_store.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/cachy/stores/memcached_store.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/85/9d/5b/30d0ea8f8f5e44a377ac2a4ef348f85d57e6d636dd7721515885c65d10 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4375 | 0 | 96 | 1 | 96 | 96 | 0.458333 | 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 |
8cb74c685a25ade3f5ca33e6563aa04ecfe1cceb | 3,294 | py | Python | algorithms/view/plotly_designed.py | warcraft12321/Hyperfoods | b995cd7afe10fcbd338158c80f53ce637bfffc0c | [
"MIT"
] | 51 | 2020-01-26T23:32:57.000Z | 2022-03-20T14:49:57.000Z | algorithms/view/plotly_designed.py | warcraft12321/Hyperfoods | b995cd7afe10fcbd338158c80f53ce637bfffc0c | [
"MIT"
] | 2 | 2020-12-19T20:00:28.000Z | 2021-03-03T20:22:45.000Z | algorithms/view/plotly_designed.py | warcraft12321/Hyperfoods | b995cd7afe10fcbd338158c80f53ce637bfffc0c | [
"MIT"
] | 33 | 2020-02-18T16:15:48.000Z | 2022-03-24T15:12:05.000Z | import plotly.graph_objs as go
from plotly.subplots import make_subplots
def plotly_function(x_ingredients_embedded1, x_ingredients_embedded2, words, colors, sizes, labels, title):
fig_plotly = make_subplots(rows=1, cols=2, subplot_titles=("PCA", "T-SNE"))
if labels == "true":
fig_plotly.add_trace(
... | 30.5 | 107 | 0.416515 | 295 | 3,294 | 4.525424 | 0.305085 | 0.089888 | 0.078652 | 0.050936 | 0.734082 | 0.734082 | 0.732584 | 0.732584 | 0.732584 | 0.732584 | 0 | 0.036799 | 0.480267 | 3,294 | 107 | 108 | 30.785047 | 0.742991 | 0.067092 | 0 | 0.808511 | 0 | 0 | 0.04636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010638 | false | 0 | 0.021277 | 0 | 0.031915 | 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 |
8cec0869e382594a81bb42dccb19d39868345fa7 | 42 | py | Python | main2.py | ytyaru/Python.HelloMethod201612021510 | d7142f0183d1799f1fff82399600a73d887422bb | [
"CC0-1.0"
] | null | null | null | main2.py | ytyaru/Python.HelloMethod201612021510 | d7142f0183d1799f1fff82399600a73d887422bb | [
"CC0-1.0"
] | null | null | null | main2.py | ytyaru/Python.HelloMethod201612021510 | d7142f0183d1799f1fff82399600a73d887422bb | [
"CC0-1.0"
] | null | null | null | from hello import std_out
std_out.show()
| 10.5 | 25 | 0.785714 | 8 | 42 | 3.875 | 0.75 | 0.387097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 42 | 3 | 26 | 14 | 0.861111 | 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 |
50915435dd815e0727d3fa40d7daa8ab2c936348 | 13,783 | py | Python | tests/test_execute.py | ExecutableBookProject/ipynb_parser | c72a3a21d37332e747fa1316c614d321e423300c | [
"BSD-3-Clause"
] | null | null | null | tests/test_execute.py | ExecutableBookProject/ipynb_parser | c72a3a21d37332e747fa1316c614d321e423300c | [
"BSD-3-Clause"
] | null | null | null | tests/test_execute.py | ExecutableBookProject/ipynb_parser | c72a3a21d37332e747fa1316c614d321e423300c | [
"BSD-3-Clause"
] | null | null | null | """Test sphinx builds which execute notebooks."""
import os
from pathlib import Path
from IPython import version_info as ipy_version
import pytest
from myst_nb.core.execute import ExecutionError
from myst_nb.sphinx_ import NbMetadataCollector
def regress_nb_doc(file_regression, sphinx_run, check_nbs):
try:
... | 36.852941 | 88 | 0.725096 | 1,759 | 13,783 | 5.379761 | 0.114838 | 0.131248 | 0.039945 | 0.058121 | 0.809151 | 0.768889 | 0.758639 | 0.747649 | 0.736342 | 0.695974 | 0 | 0.029212 | 0.155554 | 13,783 | 373 | 89 | 36.951743 | 0.78383 | 0.085105 | 0 | 0.625899 | 0 | 0 | 0.226558 | 0.07278 | 0 | 0 | 0 | 0.002681 | 0.23741 | 1 | 0.093525 | false | 0 | 0.021583 | 0 | 0.115108 | 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 |
50b12cc3698a959d6a63a9181c1c3a2c13bd568c | 72 | py | Python | trade_remedies_api/core/exporters/writers/__init__.py | uktrade/trade-remedies-api | fbe2d142ef099c7244788a0f72dd1003eaa7edce | [
"MIT"
] | 1 | 2020-08-13T10:37:15.000Z | 2020-08-13T10:37:15.000Z | trade_remedies_api/core/exporters/writers/__init__.py | uktrade/trade-remedies-api | fbe2d142ef099c7244788a0f72dd1003eaa7edce | [
"MIT"
] | 4 | 2020-09-10T13:41:52.000Z | 2020-12-16T09:00:21.000Z | trade_remedies_api/core/exporters/writers/__init__.py | uktrade/trade-remedies-api | fbe2d142ef099c7244788a0f72dd1003eaa7edce | [
"MIT"
] | null | null | null | from .csv_writer import CSVWriter
from .excel_writer import ExcelWriter
| 24 | 37 | 0.861111 | 10 | 72 | 6 | 0.7 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 72 | 2 | 38 | 36 | 0.9375 | 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 |
ba23474178c0716352a9af312b31169d07319dd9 | 1,710 | py | Python | hummingbot/client/ui/scroll_handlers.py | BGTCapital/hummingbot | 2c50f50d67cedccf0ef4d8e3f4c8cdce3dc87242 | [
"Apache-2.0"
] | 3,027 | 2019-04-04T18:52:17.000Z | 2022-03-30T09:38:34.000Z | hummingbot/client/ui/scroll_handlers.py | BGTCapital/hummingbot | 2c50f50d67cedccf0ef4d8e3f4c8cdce3dc87242 | [
"Apache-2.0"
] | 4,080 | 2019-04-04T19:51:11.000Z | 2022-03-31T23:45:21.000Z | hummingbot/client/ui/scroll_handlers.py | BGTCapital/hummingbot | 2c50f50d67cedccf0ef4d8e3f4c8cdce3dc87242 | [
"Apache-2.0"
] | 1,342 | 2019-04-04T20:50:53.000Z | 2022-03-31T15:22:36.000Z | from prompt_toolkit.layout.containers import Window
from prompt_toolkit.buffer import Buffer
from typing import Optional
def scroll_down(event, window: Optional[Window] = None, buffer: Optional[Buffer] = None):
w = window or event.app.layout.current_window
b = buffer or event.app.current_buffer
if w and ... | 31.090909 | 89 | 0.623977 | 229 | 1,710 | 4.449782 | 0.248908 | 0.058881 | 0.039254 | 0.049068 | 0.830226 | 0.830226 | 0.830226 | 0.830226 | 0.830226 | 0.830226 | 0 | 0.010067 | 0.302924 | 1,710 | 54 | 90 | 31.666667 | 0.844799 | 0.094152 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.083333 | 0 | 0.138889 | 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 |
e8644c62d16e634c014893042f42abea8be98435 | 10,117 | py | Python | hack/generators/release-controllers/content/redirect_resources.py | rhopp/release | 2835638ebcc62ad7e3c9778a6ce12b30c7c6576b | [
"Apache-2.0"
] | null | null | null | hack/generators/release-controllers/content/redirect_resources.py | rhopp/release | 2835638ebcc62ad7e3c9778a6ce12b30c7c6576b | [
"Apache-2.0"
] | null | null | null | hack/generators/release-controllers/content/redirect_resources.py | rhopp/release | 2835638ebcc62ad7e3c9778a6ce12b30c7c6576b | [
"Apache-2.0"
] | null | null | null |
def _add_redirect_resources(gendoc):
"""
Return resources necessary to redirect release controller requests to the
OSD cluster instances where they live now.
"""
context = gendoc.context
gendoc.add_comments("""
Bootstrap the environment for the amd64 tests image. The caches require an amd64 ... | 34.766323 | 118 | 0.409805 | 670 | 10,117 | 6.098507 | 0.220896 | 0.120656 | 0.110132 | 0.13999 | 0.838962 | 0.808125 | 0.786344 | 0.778512 | 0.746207 | 0.696525 | 0 | 0.010116 | 0.462588 | 10,117 | 290 | 119 | 34.886207 | 0.741402 | 0.024711 | 0 | 0.632959 | 0 | 0.007491 | 0.371972 | 0.188988 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011236 | false | 0 | 0.003745 | 0 | 0.014981 | 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 |
e87aa9f9ef41ab1460ee768b408c3b574e899d00 | 2,540 | py | Python | tests/test_counters.py | RI-imaging/ODTbrain | 063f9d1cf7803dd0dda9d68d2847f16c2496c205 | [
"BSD-3-Clause"
] | 15 | 2016-01-22T20:08:10.000Z | 2022-03-24T17:00:27.000Z | tests/test_counters.py | RI-imaging/ODTbrain | 063f9d1cf7803dd0dda9d68d2847f16c2496c205 | [
"BSD-3-Clause"
] | 15 | 2017-01-17T12:07:58.000Z | 2022-02-02T22:30:33.000Z | tests/test_counters.py | RI-imaging/ODTbrain | 063f9d1cf7803dd0dda9d68d2847f16c2496c205 | [
"BSD-3-Clause"
] | 6 | 2017-10-29T20:05:42.000Z | 2021-02-19T23:23:36.000Z | """Tests progress counters"""
import multiprocessing as mp
import numpy as np
import odtbrain
from common_methods import create_test_sino_2d, create_test_sino_3d, \
get_test_parameter_set
def test_integrate_2d():
sino, angles = create_test_sino_2d(N=10)
p = get_test_parameter_set(1)[0]
# complex
... | 26.736842 | 70 | 0.515354 | 321 | 2,540 | 3.847352 | 0.202492 | 0.080972 | 0.064777 | 0.072874 | 0.744939 | 0.744939 | 0.744939 | 0.744939 | 0.744939 | 0.744939 | 0 | 0.039474 | 0.371654 | 2,540 | 94 | 71 | 27.021277 | 0.734336 | 0.030709 | 0 | 0.701493 | 0 | 0 | 0.012648 | 0 | 0 | 0 | 0 | 0 | 0.149254 | 1 | 0.074627 | false | 0 | 0.059701 | 0 | 0.134328 | 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 |
e88002d292de16d7dd715f56d346ff9d86bbb42d | 47 | py | Python | ssseg/modules/models/backbones/bricks/normalization/groupnorm/__init__.py | zhizhangxian/sssegmentation | 90613f6e0abf4cdd729cf382ab2a915e106d8649 | [
"MIT"
] | 41 | 2021-08-28T01:29:19.000Z | 2022-03-30T11:28:37.000Z | ssseg/modules/models/backbones/bricks/normalization/groupnorm/__init__.py | zhizhangxian/sssegmentation | 90613f6e0abf4cdd729cf382ab2a915e106d8649 | [
"MIT"
] | 6 | 2021-08-31T08:54:39.000Z | 2021-11-02T10:45:47.000Z | ssseg/modules/models/backbones/bricks/normalization/groupnorm/__init__.py | zhizhangxian/sssegmentation | 90613f6e0abf4cdd729cf382ab2a915e106d8649 | [
"MIT"
] | 1 | 2021-09-08T01:41:10.000Z | 2021-09-08T01:41:10.000Z | '''initialize'''
from torch.nn import GroupNorm | 23.5 | 30 | 0.765957 | 6 | 47 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 2 | 30 | 23.5 | 0.837209 | 0.212766 | 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 |
e88ea7d64f1c0b0fc929d7a119d2071c4dede801 | 157 | py | Python | ionyweb/plugin_app/plugin_image/admin.py | makinacorpus/ionyweb | 2f18e3dc1fdc86c7e19bae3778e67e28a37567be | [
"BSD-3-Clause"
] | 4 | 2015-09-28T10:07:39.000Z | 2019-10-18T20:14:07.000Z | ionyweb/plugin_app/plugin_image/admin.py | makinacorpus/ionyweb | 2f18e3dc1fdc86c7e19bae3778e67e28a37567be | [
"BSD-3-Clause"
] | 1 | 2021-03-19T21:41:33.000Z | 2021-03-19T21:41:33.000Z | ionyweb/plugin_app/plugin_image/admin.py | makinacorpus/ionyweb | 2f18e3dc1fdc86c7e19bae3778e67e28a37567be | [
"BSD-3-Clause"
] | 1 | 2017-10-12T09:25:19.000Z | 2017-10-12T09:25:19.000Z | # -*- coding: utf-8 -*-
from django.contrib import admin
from ionyweb.plugin_app.plugin_image.models import Plugin_Image
admin.site.register(Plugin_Image)
| 22.428571 | 63 | 0.789809 | 23 | 157 | 5.217391 | 0.652174 | 0.275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007092 | 0.101911 | 157 | 6 | 64 | 26.166667 | 0.843972 | 0.133758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e8940e6226c1eb8003e88924057751f98abb6952 | 36 | py | Python | ex34.py | dark-teal-coder/book-learn-python-the-hard-way | e63abddde8c29dcb1c24d8a98116a78b05be67eb | [
"MIT"
] | null | null | null | ex34.py | dark-teal-coder/book-learn-python-the-hard-way | e63abddde8c29dcb1c24d8a98116a78b05be67eb | [
"MIT"
] | null | null | null | ex34.py | dark-teal-coder/book-learn-python-the-hard-way | e63abddde8c29dcb1c24d8a98116a78b05be67eb | [
"MIT"
] | null | null | null | print("There is no code in Ex.34.")
| 18 | 35 | 0.666667 | 8 | 36 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.166667 | 36 | 1 | 36 | 36 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
fa1366e08afad60bba9f0bb932d0e68a496f99b6 | 2,653 | py | Python | tests/test_perfect_entanglers.py | qucontrol/weylchamber | 6859efe0b82de667c3c5b7123123268388c194db | [
"BSD-3-Clause"
] | 3 | 2019-10-10T11:51:34.000Z | 2021-02-09T14:50:10.000Z | tests/test_perfect_entanglers.py | qucontrol/weylchamber | 6859efe0b82de667c3c5b7123123268388c194db | [
"BSD-3-Clause"
] | 5 | 2018-11-24T03:04:19.000Z | 2022-03-18T03:54:39.000Z | tests/test_perfect_entanglers.py | qucontrol/weylchamber | 6859efe0b82de667c3c5b7123123268388c194db | [
"BSD-3-Clause"
] | 1 | 2018-11-24T10:46:46.000Z | 2018-11-24T10:46:46.000Z | import warnings
import os
import qutip
import numpy as np
from weylchamber import perfect_entanglers
def test_pe_chi_construction_uni(request):
"""Test the co-state construction for the perfect-entanglers functional
in case of unitary dymanics in the 4x4 subspace"""
testdir = os.path.splitext(request.mod... | 39.597015 | 75 | 0.609499 | 426 | 2,653 | 3.631455 | 0.166667 | 0.019392 | 0.085326 | 0.056884 | 0.925016 | 0.882353 | 0.882353 | 0.882353 | 0.882353 | 0.882353 | 0 | 0.054321 | 0.236713 | 2,653 | 66 | 76 | 40.19697 | 0.70963 | 0.089333 | 0 | 0.526316 | 0 | 0 | 0.025866 | 0 | 0 | 0 | 0 | 0 | 0.035088 | 1 | 0.035088 | false | 0 | 0.087719 | 0 | 0.122807 | 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 |
fa3123761b1cca0b9ea4a9b012096873f777ad9d | 27 | py | Python | sutime/__init__.py | lli5ba/carpool-finder | c771c65928e6714f4be808df123e947a2cfb5ec9 | [
"MIT"
] | null | null | null | sutime/__init__.py | lli5ba/carpool-finder | c771c65928e6714f4be808df123e947a2cfb5ec9 | [
"MIT"
] | null | null | null | sutime/__init__.py | lli5ba/carpool-finder | c771c65928e6714f4be808df123e947a2cfb5ec9 | [
"MIT"
] | null | null | null | from .sutime import SUTime
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fa64ba6946f9ccfe63038be86bd28ecd9e812adc | 1,708 | py | Python | tests/test_e2e_91_Exceptional_not_sorted.py | blue-monk/csv-diff-python2 | 8fbe9d149231b7d321d867497200e7c0c0118e57 | [
"MIT"
] | null | null | null | tests/test_e2e_91_Exceptional_not_sorted.py | blue-monk/csv-diff-python2 | 8fbe9d149231b7d321d867497200e7c0c0118e57 | [
"MIT"
] | null | null | null | tests/test_e2e_91_Exceptional_not_sorted.py | blue-monk/csv-diff-python2 | 8fbe9d149231b7d321d867497200e7c0c0118e57 | [
"MIT"
] | null | null | null | import sys
import textwrap
import pytest
from src.csvdiff2 import csvdiff
def test_string_matching_key_not_sorted(lhs, rhs, capfd):
lhs.write(textwrap.dedent('''
head1, head2, head3, head4
key1-1, value1-1, value2-1, value3-1
key1-2, value1-2, value2-2, value3-2
key1-3, value1-3... | 28 | 96 | 0.607143 | 247 | 1,708 | 4.133603 | 0.238866 | 0.03526 | 0.074437 | 0.094025 | 0.863859 | 0.863859 | 0.863859 | 0.722821 | 0.722821 | 0.70715 | 0 | 0.098099 | 0.230094 | 1,708 | 60 | 97 | 28.466667 | 0.678327 | 0 | 0 | 0.681818 | 0 | 0 | 0.485044 | 0.039883 | 0 | 0 | 0 | 0 | 0.136364 | 1 | 0.045455 | false | 0 | 0.090909 | 0 | 0.136364 | 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 |
d703ae0a41ee06e18f791d98f10a2def3839de87 | 106 | py | Python | dedup/cli.py | megacoder/dedup | 8d414300e517134420577168f591096faea00e2b | [
"MIT"
] | null | null | null | dedup/cli.py | megacoder/dedup | 8d414300e517134420577168f591096faea00e2b | [
"MIT"
] | null | null | null | dedup/cli.py | megacoder/dedup | 8d414300e517134420577168f591096faea00e2b | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# vim: noet sw=4 ts=4
def main():
import dedup
return dedup.Deduplicate().main()
| 15.142857 | 34 | 0.679245 | 18 | 106 | 4 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.150943 | 106 | 6 | 35 | 17.666667 | 0.777778 | 0.377358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ad21bdf3e8dda72d467a303d98930193bbcb4a50 | 35 | py | Python | env/lib/python3.8/site-packages/plotly/graph_objs/layout/template/data/_area.py | acrucetta/Chicago_COVI_WebApp | a37c9f492a20dcd625f8647067394617988de913 | [
"MIT",
"Unlicense"
] | 76 | 2020-07-06T14:44:05.000Z | 2022-02-14T15:30:21.000Z | env/lib/python3.8/site-packages/plotly/graph_objs/layout/template/data/_area.py | acrucetta/Chicago_COVI_WebApp | a37c9f492a20dcd625f8647067394617988de913 | [
"MIT",
"Unlicense"
] | 27 | 2020-04-28T21:23:12.000Z | 2021-06-25T15:36:38.000Z | env/lib/python3.8/site-packages/plotly/graph_objs/layout/template/data/_area.py | acrucetta/Chicago_COVI_WebApp | a37c9f492a20dcd625f8647067394617988de913 | [
"MIT",
"Unlicense"
] | 11 | 2020-07-12T16:18:07.000Z | 2022-02-05T16:48:35.000Z | from plotly.graph_objs import Area
| 17.5 | 34 | 0.857143 | 6 | 35 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.935484 | 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 |
d1413c230e0f7537e6f83fac24fbebaaf5e52dcd | 134 | py | Python | sensorharm/__init__.py | MarujoRe/sensor_harmonization | bc05d0687a85a6bbd669c07eaec6e78a94be900c | [
"MIT"
] | 1 | 2021-03-03T20:19:51.000Z | 2021-03-03T20:19:51.000Z | sensorharm/__init__.py | marujore/sensor-harmonization | bc05d0687a85a6bbd669c07eaec6e78a94be900c | [
"MIT"
] | 3 | 2020-11-10T14:28:52.000Z | 2020-11-17T16:49:45.000Z | sensorharm/__init__.py | marujore/sensor-harmonization | bc05d0687a85a6bbd669c07eaec6e78a94be900c | [
"MIT"
] | 2 | 2020-02-07T13:43:13.000Z | 2020-11-01T16:38:07.000Z | from .landsat_harmonization import landsat_harmonize
from .sentinel2_harmonization import sentinel_harmonize, sentinel_harmonize_SAFE
| 44.666667 | 80 | 0.910448 | 15 | 134 | 7.733333 | 0.533333 | 0.327586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008 | 0.067164 | 134 | 2 | 81 | 67 | 0.92 | 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 |
d1588f89ef587ca3b3b5683b5978cd7367973f64 | 36 | py | Python | mltoolkit/mlmo/eval/metrics/__init__.py | stungkit/Copycat-abstractive-opinion-summarizer | 04fe5393a7bb6883516766b762f6a0c530e95375 | [
"MIT"
] | 51 | 2020-09-25T07:05:01.000Z | 2022-03-17T12:07:40.000Z | mltoolkit/mlmo/eval/metrics/__init__.py | stungkit/Copycat-abstractive-opinion-summarizer | 04fe5393a7bb6883516766b762f6a0c530e95375 | [
"MIT"
] | 4 | 2020-10-19T10:00:22.000Z | 2022-03-14T17:02:47.000Z | mltoolkit/mlmo/eval/metrics/__init__.py | stungkit/Copycat-abstractive-opinion-summarizer | 04fe5393a7bb6883516766b762f6a0c530e95375 | [
"MIT"
] | 22 | 2020-09-22T01:06:47.000Z | 2022-01-26T14:20:09.000Z | from .base_metric import BaseMetric
| 18 | 35 | 0.861111 | 5 | 36 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d16d60e31ee348a7f96c40063554459c1a120556 | 112 | py | Python | src/lexer/tokenizer/__init__.py | jklypchak13/MarkovTextGeneration | 0b9ac28db6998454f73af4eeabffa43f441fcc4b | [
"MIT"
] | null | null | null | src/lexer/tokenizer/__init__.py | jklypchak13/MarkovTextGeneration | 0b9ac28db6998454f73af4eeabffa43f441fcc4b | [
"MIT"
] | null | null | null | src/lexer/tokenizer/__init__.py | jklypchak13/MarkovTextGeneration | 0b9ac28db6998454f73af4eeabffa43f441fcc4b | [
"MIT"
] | null | null | null | from .base import Tokenizer
from .char_tokenizer import CharTokenizer
from .word_tokenizer import WordTokenizer
| 28 | 41 | 0.866071 | 14 | 112 | 6.785714 | 0.571429 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 112 | 3 | 42 | 37.333333 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0f2fa2199ba0f535e89700ff4c2ed0d1cc8a0092 | 304 | py | Python | test/conftest.py | mikss/pr3 | 0cab2a6edf0ff6ed56e1d91132bac72be95d8ff6 | [
"MIT"
] | null | null | null | test/conftest.py | mikss/pr3 | 0cab2a6edf0ff6ed56e1d91132bac72be95d8ff6 | [
"MIT"
] | null | null | null | test/conftest.py | mikss/pr3 | 0cab2a6edf0ff6ed56e1d91132bac72be95d8ff6 | [
"MIT"
] | null | null | null | import pytest
@pytest.fixture
def random_seed():
return 2021
@pytest.fixture
def p_dim():
return 100
@pytest.fixture
def q_dim():
return 2
@pytest.fixture
def sparsity():
return 10
@pytest.fixture
def n_samples():
return 1000
@pytest.fixture
def eps_std():
return 100
| 9.5 | 18 | 0.677632 | 43 | 304 | 4.674419 | 0.465116 | 0.38806 | 0.477612 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072034 | 0.223684 | 304 | 31 | 19 | 9.806452 | 0.779661 | 0 | 0 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.315789 | true | 0 | 0.052632 | 0.315789 | 0.684211 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
0f3ca2f662d8fb2ee3a835f4ef18f6b9ab739feb | 61 | py | Python | galsim_hsc/__init__.py | andrevitorelli/TenGU | 539a39552bb18cc19dc941003e2a44d646da98e1 | [
"MIT"
] | 1 | 2021-03-19T15:36:48.000Z | 2021-03-19T15:36:48.000Z | galsim_hsc/__init__.py | andrevitorelli/TenGU | 539a39552bb18cc19dc941003e2a44d646da98e1 | [
"MIT"
] | null | null | null | galsim_hsc/__init__.py | andrevitorelli/TenGU | 539a39552bb18cc19dc941003e2a44d646da98e1 | [
"MIT"
] | null | null | null | """galsim_hsc dataset."""
from .galsim_hsc import GalSimHSC
| 15.25 | 33 | 0.754098 | 8 | 61 | 5.5 | 0.75 | 0.409091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114754 | 61 | 3 | 34 | 20.333333 | 0.814815 | 0.311475 | 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 |
7e38eab93b1935579305782d3dff3bdbb6ea0f13 | 42 | py | Python | wrapped_driver/__init__.py | balexander85/wrapped_driver | 2b5d5f13a8cbf52a3ed5fc4b21bf9ea282d3b7a1 | [
"MIT"
] | null | null | null | wrapped_driver/__init__.py | balexander85/wrapped_driver | 2b5d5f13a8cbf52a3ed5fc4b21bf9ea282d3b7a1 | [
"MIT"
] | null | null | null | wrapped_driver/__init__.py | balexander85/wrapped_driver | 2b5d5f13a8cbf52a3ed5fc4b21bf9ea282d3b7a1 | [
"MIT"
] | null | null | null | from .wrapped_driver import WrappedDriver
| 21 | 41 | 0.880952 | 5 | 42 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.947368 | 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 |
7e7a0b59f0c01400197cc6d3057a240ddfa65cdd | 3,322 | py | Python | backend/src/data/github/graphql/user/follows/follows.py | rutvikpadhiyar000/github-trends | af66cd1419586c6c91b75c3e32013160b2c36bcb | [
"MIT"
] | 157 | 2021-09-11T15:53:52.000Z | 2022-03-27T07:03:09.000Z | backend/src/data/github/graphql/user/follows/follows.py | rutvikpadhiyar000/github-trends | af66cd1419586c6c91b75c3e32013160b2c36bcb | [
"MIT"
] | 120 | 2021-02-27T21:37:47.000Z | 2022-03-25T14:44:08.000Z | backend/src/data/github/graphql/user/follows/follows.py | rutvikpadhiyar000/github-trends | af66cd1419586c6c91b75c3e32013160b2c36bcb | [
"MIT"
] | 5 | 2021-12-06T18:43:01.000Z | 2022-01-31T07:06:16.000Z | # import json
from typing import Dict, Optional, Union
from src.data.github.graphql.template import get_template
from src.data.github.graphql.user.follows.models import RawFollows
def get_user_followers(
user_id: str, first: int = 100, after: str = "", access_token: Optional[str] = None
) -> RawFollows:
"""g... | 27.229508 | 87 | 0.409693 | 259 | 3,322 | 5.150579 | 0.196911 | 0.05997 | 0.032984 | 0.047976 | 0.878561 | 0.817091 | 0.73913 | 0.73913 | 0.73913 | 0.73913 | 0 | 0.002884 | 0.478025 | 3,322 | 121 | 88 | 27.454545 | 0.766436 | 0.0295 | 0 | 0.619718 | 0 | 0 | 0.436975 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028169 | false | 0 | 0.042254 | 0 | 0.098592 | 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 |
7e9f3af36e9f25653ed5e46980ba17e04935a760 | 48 | py | Python | python/testData/resolve/multiFile/transitiveImport/channel.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/resolve/multiFile/transitiveImport/channel.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/resolve/multiFile/transitiveImport/channel.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | from source import token # this re-exports token | 48 | 48 | 0.8125 | 8 | 48 | 4.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 48 | 1 | 48 | 48 | 0.95122 | 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 |
7eb1ceeaaf19f45b33dfaa9a31e6097d0659f1e6 | 22 | py | Python | sfdc_api/wsdl/__init__.py | FernandoPicazo/sfdc_api | 7a40b51f61db285fc01f52ec2bba6d4ff78e8f2d | [
"MIT"
] | null | null | null | sfdc_api/wsdl/__init__.py | FernandoPicazo/sfdc_api | 7a40b51f61db285fc01f52ec2bba6d4ff78e8f2d | [
"MIT"
] | 1 | 2020-09-12T20:08:25.000Z | 2020-09-15T04:08:22.000Z | sfdc_api/wsdl/__init__.py | FernandoPicazo/sfdc_api | 7a40b51f61db285fc01f52ec2bba6d4ff78e8f2d | [
"MIT"
] | null | null | null | from .wsdl import WSDL | 22 | 22 | 0.818182 | 4 | 22 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.947368 | 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 |
0e1cb81b4dc0960784c8ccaeafb8c5f1cc2a092f | 85 | py | Python | src/__init__.py | amynuno98/Model_Analysis | 75e03438c8787980850bfc79b9956d387a29a7d7 | [
"MIT"
] | null | null | null | src/__init__.py | amynuno98/Model_Analysis | 75e03438c8787980850bfc79b9956d387a29a7d7 | [
"MIT"
] | null | null | null | src/__init__.py | amynuno98/Model_Analysis | 75e03438c8787980850bfc79b9956d387a29a7d7 | [
"MIT"
] | null | null | null | # in __init__.py
from model_analysis import *
from statistical_analysis import *
| 10.625 | 34 | 0.776471 | 11 | 85 | 5.454545 | 0.727273 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 85 | 7 | 35 | 12.142857 | 0.857143 | 0.164706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.