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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1237fba4338e2c70ca52759df75c965b1b74e5b3 | 241 | py | Python | pytorch_lightning/utilities/__init__.py | uditarora/pytorch-lightning | 7245e48153909d9de8458b1f5b8b2bc740d80104 | [
"Apache-2.0"
] | null | null | null | pytorch_lightning/utilities/__init__.py | uditarora/pytorch-lightning | 7245e48153909d9de8458b1f5b8b2bc740d80104 | [
"Apache-2.0"
] | null | null | null | pytorch_lightning/utilities/__init__.py | uditarora/pytorch-lightning | 7245e48153909d9de8458b1f5b8b2bc740d80104 | [
"Apache-2.0"
] | null | null | null | """General utilities"""
from pytorch_lightning.utilities.distributed import rank_zero_only, rank_zero_warn
from pytorch_lightning.utilities.apply_func import move_data_to_device
from pytorch_lightning.utilities.parsing import AttributeDict
| 40.166667 | 82 | 0.879668 | 32 | 241 | 6.28125 | 0.59375 | 0.164179 | 0.298507 | 0.432836 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06639 | 241 | 5 | 83 | 48.2 | 0.893333 | 0.070539 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
89c31d7c8a777517b674b6fe1b9cbc9b86d14af2 | 7,090 | py | Python | tests/test_matrix.py | jbenden/pipeline | 43c5196e466324007cf6e2e173d4610102d6a838 | [
"MIT"
] | 30 | 2017-12-05T11:12:06.000Z | 2021-11-06T18:27:58.000Z | tests/test_matrix.py | jbenden/pipeline | 43c5196e466324007cf6e2e173d4610102d6a838 | [
"MIT"
] | 112 | 2017-10-15T12:13:38.000Z | 2021-01-12T22:29:58.000Z | tests/test_matrix.py | jbenden/pipeline | 43c5196e466324007cf6e2e173d4610102d6a838 | [
"MIT"
] | 6 | 2018-08-12T17:01:52.000Z | 2021-08-17T06:05:24.000Z | """Testing of class Stage."""
# pylint: disable=no-self-use, invalid-name
import unittest
from hamcrest import assert_that, equal_to
from spline.components.config import ApplicationOptions
from spline.matrix import Matrix, MatrixProcessData, matrix_worker
class TestMatrix(unittest.TestCase):
"""Testing of class ... | 43.496933 | 96 | 0.590268 | 764 | 7,090 | 5.306283 | 0.124346 | 0.066601 | 0.047361 | 0.029354 | 0.829058 | 0.799951 | 0.77553 | 0.74593 | 0.722743 | 0.722743 | 0 | 0.011168 | 0.229619 | 7,090 | 162 | 97 | 43.765432 | 0.731051 | 0.052186 | 0 | 0.644628 | 0 | 0 | 0.165718 | 0 | 0 | 0 | 0 | 0 | 0.223141 | 1 | 0.057851 | false | 0 | 0.033058 | 0 | 0.099174 | 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 |
89e08903bb3861a96cafbfe164019c26383b6eaa | 10,533 | py | Python | Runner.py | carterjandrew/Horde-on-python | b73df6f26164497910cc462ee3a9e994aed1cd20 | [
"MIT"
] | null | null | null | Runner.py | carterjandrew/Horde-on-python | b73df6f26164497910cc462ee3a9e994aed1cd20 | [
"MIT"
] | null | null | null | Runner.py | carterjandrew/Horde-on-python | b73df6f26164497910cc462ee3a9e994aed1cd20 | [
"MIT"
] | null | null | null | #Cardi A's Code
import pygame,sys
from pygame import *
from CharacterClasses import *
from Enemys import *
from random import randint
#Initialisers- Initialises pygame and creates objects from all of my Character Classes
pygame.init()
basicfont = pygame.font.SysFont(None, 48)
screen = pygame.display.set_mode... | 48.539171 | 178 | 0.594512 | 1,412 | 10,533 | 4.415014 | 0.193343 | 0.023099 | 0.023099 | 0.021174 | 0.754572 | 0.740776 | 0.732435 | 0.732435 | 0.732435 | 0.709336 | 0 | 0.035816 | 0.332004 | 10,533 | 216 | 179 | 48.763889 | 0.850199 | 0.394664 | 0 | 0.829114 | 0 | 0 | 0.013891 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.031646 | 0 | 0.031646 | 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 |
d63282f6d4174e16c7e8c94f5d2c3d6bde79b030 | 11,157 | py | Python | fhir/resources/tests/test_devicerequest.py | cstoltze/fhir.resources | 52f99738935b7313089d89daf94d73ce7d167c9d | [
"BSD-3-Clause"
] | 144 | 2019-05-08T14:24:43.000Z | 2022-03-30T02:37:11.000Z | fhir/resources/tests/test_devicerequest.py | cstoltze/fhir.resources | 52f99738935b7313089d89daf94d73ce7d167c9d | [
"BSD-3-Clause"
] | 82 | 2019-05-13T17:43:13.000Z | 2022-03-30T16:45:17.000Z | fhir/resources/tests/test_devicerequest.py | cstoltze/fhir.resources | 52f99738935b7313089d89daf94d73ce7d167c9d | [
"BSD-3-Clause"
] | 48 | 2019-04-04T14:14:53.000Z | 2022-03-30T06:07:31.000Z | # -*- coding: utf-8 -*-
"""
Profile: http://hl7.org/fhir/StructureDefinition/DeviceRequest
Release: R4
Version: 4.0.1
Build ID: 9346c8cc45
Last updated: 2019-11-01T09:29:23.356+11:00
"""
from pydantic.validators import bytes_validator # noqa: F401
from .. import fhirtypes # noqa: F401
from .. import devicerequest
... | 42.747126 | 87 | 0.6949 | 1,358 | 11,157 | 5.662739 | 0.155376 | 0.146944 | 0.103771 | 0.036411 | 0.812744 | 0.79935 | 0.789987 | 0.760858 | 0.677633 | 0.630169 | 0 | 0.035542 | 0.162768 | 11,157 | 260 | 88 | 42.911538 | 0.78771 | 0.071345 | 0 | 0.492754 | 0 | 0 | 0.241182 | 0.026334 | 0 | 0 | 0 | 0 | 0.613527 | 1 | 0.038647 | false | 0 | 0.014493 | 0 | 0.05314 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d64e21dab3ddbeff69a6db7fd4e4f462799f4cf8 | 146 | py | Python | newyearsbot.py | RandoNandoz/computer-science-11 | 58f678060ff01e851643d4d1076365dd8f9db63e | [
"MIT"
] | null | null | null | newyearsbot.py | RandoNandoz/computer-science-11 | 58f678060ff01e851643d4d1076365dd8f9db63e | [
"MIT"
] | null | null | null | newyearsbot.py | RandoNandoz/computer-science-11 | 58f678060ff01e851643d4d1076365dd8f9db63e | [
"MIT"
] | null | null | null | """
Author: Randy Zhu
Purpose: Print happy new year.
Date: 09-30-2020
"""
for i in range(10):
print(i + 1)
print("Happy new year!")
| 14.6 | 31 | 0.59589 | 24 | 146 | 3.625 | 0.75 | 0.229885 | 0.298851 | 0.390805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0.246575 | 146 | 9 | 32 | 16.222222 | 0.690909 | 0.445205 | 0 | 0 | 0 | 0 | 0.234375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 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 |
c391c665d0dabdbe149dfe04bd9f686c973abd39 | 38 | py | Python | modules/cerfaWriter/__init__.py | cloud441/Procerfa | 7472aeecc4eb3003e2e0f09bb0ae71f1b33e9ccf | [
"MIT"
] | null | null | null | modules/cerfaWriter/__init__.py | cloud441/Procerfa | 7472aeecc4eb3003e2e0f09bb0ae71f1b33e9ccf | [
"MIT"
] | null | null | null | modules/cerfaWriter/__init__.py | cloud441/Procerfa | 7472aeecc4eb3003e2e0f09bb0ae71f1b33e9ccf | [
"MIT"
] | null | null | null | from .cerfa_writer import CerfaWriter
| 19 | 37 | 0.868421 | 5 | 38 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 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 |
c3b3251b1efad4f1349309c604efafbe3bc15822 | 56 | py | Python | 25.py | suphrt/newww | 95d33867ceae767578036a92aa4d7aad470bdf2a | [
"MIT"
] | null | null | null | 25.py | suphrt/newww | 95d33867ceae767578036a92aa4d7aad470bdf2a | [
"MIT"
] | null | null | null | 25.py | suphrt/newww | 95d33867ceae767578036a92aa4d7aad470bdf2a | [
"MIT"
] | null | null | null | c = 21
d = 8
c = c // d
d = c * d
c = d % c
print(c, d)
| 8 | 11 | 0.375 | 16 | 56 | 1.3125 | 0.3125 | 0.380952 | 0.285714 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.410714 | 56 | 6 | 12 | 9.333333 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c3b86f19c01fe34bb14a1ef8e129f5d56af702f6 | 28 | py | Python | backend/Plan2Dance_backend/plan2dance/Plan2Dance/run_planner/__init__.py | Dongbox/Plan2Dance_docker | 0d2f6f03cd514aafbd9e2f877c4a2f53b89cdcf8 | [
"Apache-2.0"
] | null | null | null | backend/Plan2Dance_backend/plan2dance/Plan2Dance/run_planner/__init__.py | Dongbox/Plan2Dance_docker | 0d2f6f03cd514aafbd9e2f877c4a2f53b89cdcf8 | [
"Apache-2.0"
] | 4 | 2021-03-30T13:33:37.000Z | 2021-06-10T19:16:18.000Z | backend/Plan2Dance_backend/plan2dance/Plan2Dance/run_planner/__init__.py | Dongbox/Plan2Dance_docker | 0d2f6f03cd514aafbd9e2f877c4a2f53b89cdcf8 | [
"Apache-2.0"
] | 2 | 2020-07-29T09:17:11.000Z | 2020-07-30T01:28:56.000Z | from .run import RunPlanner
| 14 | 27 | 0.821429 | 4 | 28 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.958333 | 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 |
c3c01d15195246875e08751016c905f693b52913 | 218 | py | Python | notebooks/_solutions/case2_observations_processing27.py | jonasvdd/DS-python-data-analysis | 835226f562ee0b0631d70e48a17c4526ff58a538 | [
"BSD-3-Clause"
] | 65 | 2017-03-21T09:15:40.000Z | 2022-02-01T23:43:08.000Z | notebooks/_solutions/case2_observations_processing27.py | jonasvdd/DS-python-data-analysis | 835226f562ee0b0631d70e48a17c4526ff58a538 | [
"BSD-3-Clause"
] | 100 | 2016-12-15T03:44:06.000Z | 2022-03-07T08:14:07.000Z | notebooks/_solutions/case2_observations_processing27.py | jorisvandenbossche/ICES-python-data | 63864947657f37cb26cb4e2dcd67ff106dffe9cd | [
"BSD-3-Clause"
] | 52 | 2016-12-19T07:48:52.000Z | 2022-02-19T17:53:48.000Z | unique_species["name"] = unique_species["genus"] + " " + unique_species["species"]
# an alternative approach worthwhile to know:
#unique_species["name"] = unique_species["genus"].str.cat(unique_species["species"], " ") | 72.666667 | 89 | 0.729358 | 26 | 218 | 5.884615 | 0.461538 | 0.509804 | 0.222222 | 0.300654 | 0.457516 | 0.457516 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087156 | 218 | 3 | 89 | 72.666667 | 0.768844 | 0.600917 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c3c9ea7aeae15acb33acf6652853313a0bdd7ca1 | 29,727 | py | Python | tests/test_highlevel.py | doudz/pyipptool | d9cfef11627cc90ac921474749232ebfe62b2b6e | [
"Apache-2.0"
] | 22 | 2015-06-19T12:56:25.000Z | 2021-09-23T16:19:10.000Z | tests/test_highlevel.py | doudz/pyipptool | d9cfef11627cc90ac921474749232ebfe62b2b6e | [
"Apache-2.0"
] | 5 | 2015-12-02T18:49:45.000Z | 2021-10-03T18:59:17.000Z | tests/test_highlevel.py | doudz/pyipptool | d9cfef11627cc90ac921474749232ebfe62b2b6e | [
"Apache-2.0"
] | 9 | 2017-02-25T07:37:59.000Z | 2022-01-06T07:41:13.000Z | import os.path
import socket
import tempfile
import textwrap
import threading
import time
from future import standard_library
with standard_library.hooks():
import http.server
import socketserver
import mock
import pytest
import pyipptool
@mock.patch.object(pyipptool.wrapper, '_call_ipptool')
def test_ippt... | 36.252439 | 77 | 0.689609 | 3,700 | 29,727 | 5.320811 | 0.071081 | 0.069843 | 0.021334 | 0.027734 | 0.847666 | 0.828872 | 0.773607 | 0.727384 | 0.706659 | 0.693199 | 0 | 0.017945 | 0.203317 | 29,727 | 819 | 78 | 36.296703 | 0.813326 | 0.001447 | 0 | 0.622283 | 0 | 0 | 0.443088 | 0.116487 | 0 | 0 | 0 | 0 | 0.046196 | 1 | 0.047554 | false | 0.001359 | 0.065217 | 0 | 0.11413 | 0.126359 | 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 |
c3dd1e7bb05cbc1107aeabd72cdaa05917edf57c | 40 | py | Python | src/__init__.py | sergeyerr/sport_bot | 6808d13c4b43371f5fada34ab9f40820495aa15d | [
"MIT"
] | 1 | 2020-10-30T13:51:55.000Z | 2020-10-30T13:51:55.000Z | src/__init__.py | sergeyerr/sport_bot | 6808d13c4b43371f5fada34ab9f40820495aa15d | [
"MIT"
] | 34 | 2020-05-18T03:36:41.000Z | 2020-06-06T03:37:45.000Z | src/__init__.py | sergeyerr/sport_bot | 6808d13c4b43371f5fada34ab9f40820495aa15d | [
"MIT"
] | null | null | null | from src import bot_core, frontend, data | 40 | 40 | 0.825 | 7 | 40 | 4.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 40 | 1 | 40 | 40 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c3ecb97f235345bbd40d30e1caf925a9eaca9799 | 54 | py | Python | gin_attn_pytorch/__init__.py | rish-16/gin-attn-conv-pytorch | f7c3773c3071ac6231595593910e28310f825d51 | [
"MIT"
] | null | null | null | gin_attn_pytorch/__init__.py | rish-16/gin-attn-conv-pytorch | f7c3773c3071ac6231595593910e28310f825d51 | [
"MIT"
] | null | null | null | gin_attn_pytorch/__init__.py | rish-16/gin-attn-conv-pytorch | f7c3773c3071ac6231595593910e28310f825d51 | [
"MIT"
] | null | null | null | from gin_attn_pytorch.gin_attn_conv import GINAttnConv | 54 | 54 | 0.925926 | 9 | 54 | 5.111111 | 0.777778 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 54 | 1 | 54 | 54 | 0.901961 | 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 |
c3f34e2e703e84e77b812a8cd5a59a2edabcedae | 87 | py | Python | login.py | ryumao/test_git | 674aed10281d59efa583f26cb41c51a6c235113a | [
"MIT"
] | null | null | null | login.py | ryumao/test_git | 674aed10281d59efa583f26cb41c51a6c235113a | [
"MIT"
] | null | null | null | login.py | ryumao/test_git | 674aed10281d59efa583f26cb41c51a6c235113a | [
"MIT"
] | null | null | null | num = 10
num = 20
num = 30
num = 50
num = 70
num = 90
num = 110
num = 70
num = 90
| 5.8 | 9 | 0.528736 | 18 | 87 | 2.555556 | 0.444444 | 0.217391 | 0.347826 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.345455 | 0.367816 | 87 | 14 | 10 | 6.214286 | 0.490909 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7f2295b0b39793984225a2838d0cf8c4beef74ef | 45 | py | Python | bots.sample/frances-daily/__init__.py | 0xdc/botfriend | 6157a873c4158ccfdda4bf021059bddf14217654 | [
"MIT"
] | 39 | 2017-06-19T16:12:34.000Z | 2022-03-02T10:06:29.000Z | bots.sample/frances-daily/__init__.py | 0xdc/botfriend | 6157a873c4158ccfdda4bf021059bddf14217654 | [
"MIT"
] | null | null | null | bots.sample/frances-daily/__init__.py | 0xdc/botfriend | 6157a873c4158ccfdda4bf021059bddf14217654 | [
"MIT"
] | 5 | 2018-08-27T19:49:56.000Z | 2020-10-22T02:31:04.000Z | from botfriend.bot import ScriptedBot as Bot
| 22.5 | 44 | 0.844444 | 7 | 45 | 5.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 45 | 1 | 45 | 45 | 0.974359 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f6068c5f34598bc4dd11aec3c22a79898ffb02fb | 157 | py | Python | tests/wasp1/AllAnswerSets/disjunction_2.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 19 | 2015-12-03T08:53:45.000Z | 2022-03-31T02:09:43.000Z | tests/wasp1/AllAnswerSets/disjunction_2.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 80 | 2017-11-25T07:57:32.000Z | 2018-06-10T19:03:30.000Z | tests/wasp1/AllAnswerSets/disjunction_2.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 6 | 2015-01-15T07:51:48.000Z | 2020-06-18T14:47:48.000Z | input = """
a(X) v b(Y) :- v (X,Y) .
v(v ,v) v w(v,w)v v(w, v ).
"""
output = """
{a(v), v(v,v)}
{a(w), v(w,v)}
{b(v), v(v,v)}
{b(v), v(w,v)}
{w(v,w)}
"""
| 12.076923 | 28 | 0.33758 | 44 | 157 | 1.204545 | 0.181818 | 0.415094 | 0.339623 | 0.226415 | 0.226415 | 0.226415 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210191 | 157 | 12 | 29 | 13.083333 | 0.427419 | 0 | 0 | 0.181818 | 0 | 0 | 0.796178 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f64f5a3088e9d5e74def0a7299e2c294d60d1ed2 | 172 | py | Python | Contents/scripts/animmemo/startup.py | mochio326/AnimMemo | 41cc0cd16056231a336d5e33fe7a6128fc11d50b | [
"MIT"
] | 8 | 2018-01-08T02:38:13.000Z | 2020-12-22T05:15:47.000Z | Contents/scripts/animmemo/startup.py | mochio326/AnimMemo | 41cc0cd16056231a336d5e33fe7a6128fc11d50b | [
"MIT"
] | null | null | null | Contents/scripts/animmemo/startup.py | mochio326/AnimMemo | 41cc0cd16056231a336d5e33fe7a6128fc11d50b | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from textwrap import dedent
import maya.cmds as cmds
import maya.mel as mel
import maya.utils
from . import memo
def execute():
memo.AnimMemo() | 19.111111 | 27 | 0.715116 | 27 | 172 | 4.555556 | 0.592593 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007042 | 0.174419 | 172 | 9 | 28 | 19.111111 | 0.859155 | 0.122093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.714286 | 0 | 0.857143 | 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 |
f66e462ff3e8d8b52a02810e0ffeec4ad72322a9 | 262 | py | Python | docsie_universal_importer/providers/box/serializers.py | Zarif99/test-universal | 062972ed64d9f048de702ab1edf4025cffca2abb | [
"BSD-3-Clause"
] | null | null | null | docsie_universal_importer/providers/box/serializers.py | Zarif99/test-universal | 062972ed64d9f048de702ab1edf4025cffca2abb | [
"BSD-3-Clause"
] | null | null | null | docsie_universal_importer/providers/box/serializers.py | Zarif99/test-universal | 062972ed64d9f048de702ab1edf4025cffca2abb | [
"BSD-3-Clause"
] | null | null | null | from docsie_universal_importer.providers.base import StorageTreeRequestSerializer, DownloaderRequestSerializer
class BoxStorageTreeRequestSerializer(StorageTreeRequestSerializer):
pass
class BoxDownloaderSerializer(DownloaderRequestSerializer):
pass
| 26.2 | 110 | 0.877863 | 17 | 262 | 13.411765 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087786 | 262 | 9 | 111 | 29.111111 | 0.953975 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.4 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
9ca2b403c621e7d2387cc145404952c21a6b3ef7 | 27,302 | py | Python | networkapiclient/Network.py | shildenbrand/GloboNetworkAPI-client-python | 728ea9d13e3004e62586f5eb6ae2eae2bc41a50e | [
"Apache-2.0"
] | 16 | 2015-05-09T16:33:01.000Z | 2019-10-24T19:06:03.000Z | networkapiclient/Network.py | shildenbrand/GloboNetworkAPI-client-python | 728ea9d13e3004e62586f5eb6ae2eae2bc41a50e | [
"Apache-2.0"
] | 3 | 2019-08-09T20:18:12.000Z | 2019-11-11T17:23:48.000Z | networkapiclient/Network.py | shildenbrand/GloboNetworkAPI-client-python | 728ea9d13e3004e62586f5eb6ae2eae2bc41a50e | [
"Apache-2.0"
] | 15 | 2015-02-03T17:10:59.000Z | 2021-05-14T21:01:37.000Z | # -*- coding:utf-8 -*-
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "Lice... | 35.365285 | 106 | 0.586807 | 2,873 | 27,302 | 5.384267 | 0.095371 | 0.012024 | 0.017454 | 0.031288 | 0.800569 | 0.773418 | 0.743487 | 0.721314 | 0.703795 | 0.680975 | 0 | 0.022908 | 0.309281 | 27,302 | 771 | 107 | 35.411154 | 0.79738 | 0.594242 | 0 | 0.528409 | 0 | 0 | 0.133762 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.130682 | false | 0.034091 | 0.022727 | 0 | 0.284091 | 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 |
9cbb166aabc2bb0fb361e84d1667eca0145e756d | 65 | py | Python | MedMNIST3D/utils/__init__.py | MedMNIST/experiments | d385743ee935730dba9ac6da9bca0515a5a7228a | [
"Apache-2.0"
] | 7 | 2021-08-22T17:23:18.000Z | 2022-03-15T08:33:57.000Z | MedMNIST3D/utils/__init__.py | MedMNIST/experiments | d385743ee935730dba9ac6da9bca0515a5a7228a | [
"Apache-2.0"
] | 2 | 2021-12-04T18:25:05.000Z | 2022-02-01T17:00:41.000Z | MedMNIST3D/utils/__init__.py | MedMNIST/experiments | d385743ee935730dba9ac6da9bca0515a5a7228a | [
"Apache-2.0"
] | 3 | 2021-08-23T02:58:17.000Z | 2022-01-23T20:29:02.000Z | from .utils import Transform3D
from .utils import model_to_syncbn | 32.5 | 34 | 0.861538 | 10 | 65 | 5.4 | 0.7 | 0.333333 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0.107692 | 65 | 2 | 34 | 32.5 | 0.913793 | 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 |
9cf7e2405b4f14ed116f60f11a5c5bd46c2c3cd6 | 169 | py | Python | server/utils.py | jordstar20001/FunctionCtrlPanel | 386893bedd48ec1202fd31c99d606e00a32ef12b | [
"MIT"
] | null | null | null | server/utils.py | jordstar20001/FunctionCtrlPanel | 386893bedd48ec1202fd31c99d606e00a32ef12b | [
"MIT"
] | null | null | null | server/utils.py | jordstar20001/FunctionCtrlPanel | 386893bedd48ec1202fd31c99d606e00a32ef12b | [
"MIT"
] | null | null | null | import os, binascii
def random_hex_str(n):
"""
Generate a random hexadecimal string of length n
"""
return binascii.b2a_hex(os.urandom(n // 2)).decode() | 24.142857 | 56 | 0.668639 | 25 | 169 | 4.4 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014925 | 0.207101 | 169 | 7 | 56 | 24.142857 | 0.80597 | 0.284024 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
14043711d65266486faf6f665a14a21cb2722096 | 25 | py | Python | tapiriik/services/PolarFlow/__init__.py | Decathlon/exercisync | e9df9d4f2210fff8cfc8b34e2e5f9d09d84bddef | [
"Apache-2.0"
] | 14 | 2018-04-16T14:39:45.000Z | 2021-08-18T06:22:31.000Z | tapiriik/services/PolarFlow/__init__.py | Decathlon/exercisync | e9df9d4f2210fff8cfc8b34e2e5f9d09d84bddef | [
"Apache-2.0"
] | 31 | 2019-03-05T20:38:11.000Z | 2022-03-21T09:41:23.000Z | tapiriik/services/PolarFlow/__init__.py | Decathlon/exercisync | e9df9d4f2210fff8cfc8b34e2e5f9d09d84bddef | [
"Apache-2.0"
] | 8 | 2018-04-16T14:39:56.000Z | 2021-02-25T07:12:57.000Z | from .polarflow import *
| 12.5 | 24 | 0.76 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1439f2322bc689b699bd1c527a69a7a7c7998d88 | 44 | py | Python | pmfp/entrypoint/docker_/__init__.py | Python-Tools/pmfp | 832273890eec08e84f9c68d03f3316b2c8139133 | [
"MIT"
] | 4 | 2017-09-15T03:38:56.000Z | 2019-12-16T02:03:14.000Z | pmfp/entrypoint/docker_/__init__.py | Python-Tools/pmfp | 832273890eec08e84f9c68d03f3316b2c8139133 | [
"MIT"
] | 1 | 2021-04-27T10:51:42.000Z | 2021-04-27T10:51:42.000Z | pmfp/entrypoint/docker_/__init__.py | Python-Tools/pmfp | 832273890eec08e84f9c68d03f3316b2c8139133 | [
"MIT"
] | null | null | null | from .image import *
from .compose import *
| 14.666667 | 22 | 0.727273 | 6 | 44 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 2 | 23 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1463fd568c54e303d20e9f36273aa7076d822b02 | 45 | py | Python | python/cuxfilter/charts/deckgl/__init__.py | rnyak/cuxfilter | 626e45af3b8a0f2e37bc5cdbe6d2da618141f995 | [
"Apache-2.0"
] | null | null | null | python/cuxfilter/charts/deckgl/__init__.py | rnyak/cuxfilter | 626e45af3b8a0f2e37bc5cdbe6d2da618141f995 | [
"Apache-2.0"
] | null | null | null | python/cuxfilter/charts/deckgl/__init__.py | rnyak/cuxfilter | 626e45af3b8a0f2e37bc5cdbe6d2da618141f995 | [
"Apache-2.0"
] | null | null | null | from .bindings import PolygonDeckGL, TS_CODE
| 22.5 | 44 | 0.844444 | 6 | 45 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 45 | 1 | 45 | 45 | 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 |
148c73faa50e2d3e3417b191536bf34adc9f2d7a | 36 | py | Python | flexp/browser/__init__.py | seznam/flexp | 84043150a80474809d066a06db02cbbd858f349e | [
"BSD-3-Clause"
] | 6 | 2018-05-30T10:41:56.000Z | 2020-08-05T16:47:54.000Z | flexp/browser/__init__.py | seznam/flexp | 84043150a80474809d066a06db02cbbd858f349e | [
"BSD-3-Clause"
] | 39 | 2018-07-11T14:44:01.000Z | 2019-08-06T12:27:43.000Z | flexp/browser/__init__.py | seznam/flexp | 84043150a80474809d066a06db02cbbd858f349e | [
"BSD-3-Clause"
] | 3 | 2018-07-11T14:54:39.000Z | 2019-04-07T04:47:29.000Z | from flexp.browser.browser import *
| 18 | 35 | 0.805556 | 5 | 36 | 5.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.90625 | 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 |
14a530a93dc780ab62665cd92ce3442e20af12d0 | 18,534 | py | Python | Pymongo/prod/mylib.py | huynhbaoan/sysadmin-utilities | 84e2da0b9f4938e8e14b2660e54ea14935bfc20b | [
"MIT"
] | null | null | null | Pymongo/prod/mylib.py | huynhbaoan/sysadmin-utilities | 84e2da0b9f4938e8e14b2660e54ea14935bfc20b | [
"MIT"
] | null | null | null | Pymongo/prod/mylib.py | huynhbaoan/sysadmin-utilities | 84e2da0b9f4938e8e14b2660e54ea14935bfc20b | [
"MIT"
] | null | null | null | #!/usr/bin/python
from bson import BSON, Binary, Code, decode_all
from bson.json_util import loads, dumps
from bson.objectid import ObjectId
from pymongo import InsertOne, DeleteOne, ReplaceOne
import pprint, datetime, time, calendar, sys, os, errno, glob, shutil
import tarfile, gzip
"""Time range validator"""
def ... | 42.122727 | 160 | 0.551149 | 2,213 | 18,534 | 4.467691 | 0.136466 | 0.04865 | 0.013654 | 0.019723 | 0.780318 | 0.755436 | 0.745221 | 0.730454 | 0.709315 | 0.69819 | 0 | 0.014142 | 0.294162 | 18,534 | 440 | 161 | 42.122727 | 0.74163 | 0.081418 | 0 | 0.778912 | 0 | 0 | 0.126985 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027211 | false | 0 | 0.020408 | 0 | 0.05102 | 0.193878 | 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 |
14af3ea70ef9e0476a0b6dc370038ed5970d39ed | 11,954 | py | Python | reference_handler/tests/test_latex.py | ltalirz/reference_handler | 2c570bee48e7419570bf15fd999fa83a68c0453a | [
"BSD-3-Clause"
] | 2 | 2022-01-19T19:34:24.000Z | 2022-01-19T19:34:28.000Z | reference_handler/tests/test_latex.py | ltalirz/reference_handler | 2c570bee48e7419570bf15fd999fa83a68c0453a | [
"BSD-3-Clause"
] | 6 | 2019-09-26T19:11:35.000Z | 2022-01-19T19:33:33.000Z | reference_handler/tests/test_latex.py | ltalirz/reference_handler | 2c570bee48e7419570bf15fd999fa83a68c0453a | [
"BSD-3-Clause"
] | 3 | 2019-10-10T19:22:39.000Z | 2022-01-15T15:41:41.000Z | """
Unit and regression test for the reference_handler package.
"""
# Import package, test suite, and other packages as needed
import reference_handler # noqa: F401
from reference_handler import decode_latex
from reference_handler import encode_latex
import sys
alphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopq... | 30.968912 | 191 | 0.558641 | 2,899 | 11,954 | 2.532597 | 0.093136 | 0.042904 | 0.039226 | 0.068646 | 0.866385 | 0.82961 | 0.780714 | 0.732089 | 0.710161 | 0.710161 | 0 | 0.007782 | 0.215242 | 11,954 | 385 | 192 | 31.049351 | 0.690651 | 0.184875 | 0 | 0.45098 | 0 | 0.082353 | 0.289099 | 0.248847 | 0 | 0 | 0 | 0 | 0.098039 | 1 | 0.094118 | false | 0 | 0.019608 | 0 | 0.113725 | 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 |
2134deaff7e65d015908c68efcc01f624291c97f | 349 | py | Python | JellyBot/api/responses/mixin/__init__.py | RaenonX/Jelly-Bot-API | c7da1e91783dce3a2b71b955b3a22b68db9056cf | [
"MIT"
] | 5 | 2020-08-26T20:12:00.000Z | 2020-12-11T16:39:22.000Z | JellyBot/api/responses/mixin/__init__.py | RaenonX/Jelly-Bot | c7da1e91783dce3a2b71b955b3a22b68db9056cf | [
"MIT"
] | 234 | 2019-12-14T03:45:19.000Z | 2020-08-26T18:55:19.000Z | JellyBot/api/responses/mixin/__init__.py | RaenonX/Jelly-Bot-API | c7da1e91783dce3a2b71b955b3a22b68db9056cf | [
"MIT"
] | 2 | 2019-10-23T15:21:15.000Z | 2020-05-22T09:35:55.000Z | from ._base import BaseMixin
from .common import (
HandleChannelRegisterOidMixin, HandleChannelMixin, HandlePlatformMixin,
RequireSenderMixin, RequireSenderAutoRegisterMixin, HandleChannelOidMixin
)
from .serialize import SerializeErrorMixin, SerializeResultOnSuccessMixin, SerializeResultExtraMixin
from .perm i... | 43.625 | 100 | 0.868195 | 23 | 349 | 13.130435 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094556 | 349 | 7 | 101 | 49.857143 | 0.955696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 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 |
214d7f1d2b702164a059d0d5228eaa09b107d888 | 397 | py | Python | Bio/Bio/index.py | bleak-alpha/django-assignment | 071d1fa87ed414844a6fb0da1f7d3b73b1a6a958 | [
"MIT"
] | null | null | null | Bio/Bio/index.py | bleak-alpha/django-assignment | 071d1fa87ed414844a6fb0da1f7d3b73b1a6a958 | [
"MIT"
] | null | null | null | Bio/Bio/index.py | bleak-alpha/django-assignment | 071d1fa87ed414844a6fb0da1f7d3b73b1a6a958 | [
"MIT"
] | null | null | null | from django.http import HttpResponse
from django.shortcuts import render
def webpage1(request):
return render(request, 'Page1.html')
def webpage2(request):
return render(request, 'Page2.html')
def webpage3(request):
return render(request, 'Page3.html')
def webpage4(request):
return render(request, '... | 23.352941 | 40 | 0.738035 | 50 | 397 | 5.86 | 0.42 | 0.221843 | 0.324232 | 0.443686 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.143577 | 397 | 17 | 41 | 23.352941 | 0.832353 | 0 | 0 | 0 | 0 | 0 | 0.125628 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.416667 | false | 0 | 0.166667 | 0.416667 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
dcc2c38f7807b8f3a7db091430a9febc0f20a9a4 | 10,411 | py | Python | comparisons_among_different_model_formulations/on_AgeDB/DOEL_2groups_resnet18/generate_labels_list.py | Xiejiu/second_age_estimation | 89e9ef371a07aba0bbba496697176381e4e9432c | [
"MIT"
] | 1 | 2021-09-27T06:34:03.000Z | 2021-09-27T06:34:03.000Z | comparisons_among_different_model_formulations/on_AgeDB/DOEL_2groups_resnet18/generate_labels_list.py | Xiejiu/second_age_estimation | 89e9ef371a07aba0bbba496697176381e4e9432c | [
"MIT"
] | 1 | 2021-07-29T01:14:11.000Z | 2021-07-29T01:54:33.000Z | comparisons_among_different_model_formulations/on_AgeDB/DOEL_2groups_resnet18/generate_labels_list.py | Xiejiu/second_age_estimation | 89e9ef371a07aba0bbba496697176381e4e9432c | [
"MIT"
] | 1 | 2021-09-27T07:14:48.000Z | 2021-09-27T07:14:48.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu Mar 14 19:16:04 2019
@author: xjc
"""
import os
orig_train_list_1='/home/xjc/test/comparisons_of_different_losses/on_AgeDB/five_fold_cross_validation/orig_cutdown_train_1.txt'
orig_valid_list_1='/home/xjc/test/comparisons_of_different_losses/on_AgeD... | 33.050794 | 127 | 0.669484 | 1,680 | 10,411 | 3.785714 | 0.042857 | 0.056604 | 0.053459 | 0.051887 | 0.866195 | 0.811792 | 0.811792 | 0.728459 | 0.728459 | 0.725 | 0 | 0.029708 | 0.178753 | 10,411 | 315 | 128 | 33.050794 | 0.714152 | 0.008933 | 0 | 0.664207 | 0 | 0 | 0.206484 | 0.194514 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.00369 | 0 | 0.00369 | 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 |
dce80aa579fad2f8f54baf19f4bfde47c6564d73 | 37 | py | Python | packageName/__init__.py | GaetanDesrues/EmptyPythonPackage | 35caa1430666f1368c0f3d8f7945370c093b9b50 | [
"MIT"
] | null | null | null | packageName/__init__.py | GaetanDesrues/EmptyPythonPackage | 35caa1430666f1368c0f3d8f7945370c093b9b50 | [
"MIT"
] | null | null | null | packageName/__init__.py | GaetanDesrues/EmptyPythonPackage | 35caa1430666f1368c0f3d8f7945370c093b9b50 | [
"MIT"
] | null | null | null | from packageName.module import Class
| 18.5 | 36 | 0.864865 | 5 | 37 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 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 |
dcf4bfbe525b3ce3e3afb594d470487a23f569de | 2,192 | py | Python | fanstatic/test_codegen.py | michilu/fanstatic | fa0a6641ec681eed94485c5eefd9ce9f0eed3b65 | [
"BSD-3-Clause"
] | null | null | null | fanstatic/test_codegen.py | michilu/fanstatic | fa0a6641ec681eed94485c5eefd9ce9f0eed3b65 | [
"BSD-3-Clause"
] | null | null | null | fanstatic/test_codegen.py | michilu/fanstatic | fa0a6641ec681eed94485c5eefd9ce9f0eed3b65 | [
"BSD-3-Clause"
] | 1 | 2021-08-09T03:23:13.000Z | 2021-08-09T03:23:13.000Z | from fanstatic import generate_code, Library, Resource
def test_generate_source():
foo = Library('foo', '')
i1 = Resource(foo, 'i1.js')
i2 = Resource(foo, 'i2.js', depends=[i1])
i3 = Resource(foo, 'i3.js', depends=[i2])
i5 = Resource(foo, 'i5.js', depends=[i3])
assert generate_code(i1=i1, i2=... | 30.873239 | 81 | 0.617701 | 307 | 2,192 | 4.34202 | 0.136808 | 0.173293 | 0.068267 | 0.056264 | 0.780195 | 0.745686 | 0.745686 | 0.745686 | 0.745686 | 0.745686 | 0 | 0.040525 | 0.20073 | 2,192 | 70 | 82 | 31.314286 | 0.72032 | 0 | 0 | 0.591837 | 1 | 0.040816 | 0.51323 | 0.010949 | 0 | 0 | 0 | 0 | 0.081633 | 1 | 0.061224 | false | 0 | 0.102041 | 0 | 0.163265 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0d2c229b8401a4346167ff3ed666b362b85f8ba1 | 663 | py | Python | temboo/core/Library/Facebook/Actions/Books/Reads/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/Facebook/Actions/Books/Reads/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/Facebook/Actions/Books/Reads/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | from temboo.Library.Facebook.Actions.Books.Reads.CreateReading import CreateReading, CreateReadingInputSet, CreateReadingResultSet, CreateReadingChoreographyExecution
from temboo.Library.Facebook.Actions.Books.Reads.DeleteReading import DeleteReading, DeleteReadingInputSet, DeleteReadingResultSet, DeleteReadingChoreogr... | 132.6 | 166 | 0.903469 | 52 | 663 | 11.519231 | 0.461538 | 0.066778 | 0.113523 | 0.166945 | 0.280467 | 0.280467 | 0.280467 | 0 | 0 | 0 | 0 | 0 | 0.042232 | 663 | 4 | 167 | 165.75 | 0.943307 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0d2fd60af06d4b673d5e0f18c22eb8968af57e22 | 351 | py | Python | raiden/network/proxies/__init__.py | destenson/raiden-network--raiden | 845b3d9d8440e4f12b82854194fd6c9e1500b991 | [
"MIT"
] | null | null | null | raiden/network/proxies/__init__.py | destenson/raiden-network--raiden | 845b3d9d8440e4f12b82854194fd6c9e1500b991 | [
"MIT"
] | null | null | null | raiden/network/proxies/__init__.py | destenson/raiden-network--raiden | 845b3d9d8440e4f12b82854194fd6c9e1500b991 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from raiden.network.proxies.channel_manager import ChannelManager # NOQA
from raiden.network.proxies.discovery import Discovery # NOQA
from raiden.network.proxies.netting_channel import NettingChannel # NOQA
from raiden.network.proxies.registry import Registry # NOQA
from raiden.network.prox... | 50.142857 | 73 | 0.803419 | 45 | 351 | 6.222222 | 0.377778 | 0.178571 | 0.303571 | 0.428571 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003215 | 0.11396 | 351 | 6 | 74 | 58.5 | 0.897106 | 0.131054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0d4563f4771589be7075127d3063f79c8f8d0160 | 9,611 | py | Python | grow/sdk/updater_test.py | tabulon-ext/grow | 2929c3e9b467a7768d5b5055fe965fbb5106603f | [
"MIT"
] | null | null | null | grow/sdk/updater_test.py | tabulon-ext/grow | 2929c3e9b467a7768d5b5055fe965fbb5106603f | [
"MIT"
] | null | null | null | grow/sdk/updater_test.py | tabulon-ext/grow | 2929c3e9b467a7768d5b5055fe965fbb5106603f | [
"MIT"
] | null | null | null | """Tests for SDK Updater."""
import unittest
import mock
from grow.pods import pods
from grow import storage
from grow.sdk import updater
from grow.testing import testing
class UpdaterTestCase(unittest.TestCase):
"""Test the SDK Updater."""
@staticmethod
def _mock_json(mock_get, response):
mock_... | 41.426724 | 100 | 0.610238 | 1,122 | 9,611 | 4.934046 | 0.100713 | 0.058526 | 0.044617 | 0.034682 | 0.826409 | 0.813584 | 0.788837 | 0.771496 | 0.752168 | 0.72146 | 0 | 0.013786 | 0.283009 | 9,611 | 231 | 101 | 41.606061 | 0.789581 | 0.063677 | 0 | 0.621212 | 0 | 0 | 0.148874 | 0.098913 | 0 | 0 | 0 | 0 | 0.060606 | 1 | 0.070707 | false | 0 | 0.030303 | 0 | 0.106061 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
37297b277a3a85a2fcb03fcc51261fe3d3dd260c | 60 | py | Python | src/config.py | fuadaghazada/MarmaraMenuBot | 4a2173110a995333a4a46ddc3255d2fd1ed1dd12 | [
"MIT"
] | 1 | 2020-04-03T13:10:01.000Z | 2020-04-03T13:10:01.000Z | src/config.py | fuadaghazada/MarmaraMenuBot | 4a2173110a995333a4a46ddc3255d2fd1ed1dd12 | [
"MIT"
] | null | null | null | src/config.py | fuadaghazada/MarmaraMenuBot | 4a2173110a995333a4a46ddc3255d2fd1ed1dd12 | [
"MIT"
] | null | null | null | BOT_TOKEN = '798348188:AAGkUix8JRQuUfq0AUw6kl-Y0J2TH6Oal7w'
| 30 | 59 | 0.866667 | 5 | 60 | 10.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.280702 | 0.05 | 60 | 1 | 60 | 60 | 0.614035 | 0 | 0 | 0 | 0 | 0 | 0.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
372e26e2352ae436db2cc1b0534643332921414f | 5,279 | py | Python | models/common.py | DensenDavis/SR_RealESRNet | 5f60ceb6faf96660568e8bc5d3d7b774c1921a0f | [
"Unlicense"
] | null | null | null | models/common.py | DensenDavis/SR_RealESRNet | 5f60ceb6faf96660568e8bc5d3d7b774c1921a0f | [
"Unlicense"
] | null | null | null | models/common.py | DensenDavis/SR_RealESRNet | 5f60ceb6faf96660568e8bc5d3d7b774c1921a0f | [
"Unlicense"
] | null | null | null | import math
import torch
import torch.nn as nn
from config import Configuration
cfg = Configuration()
def default_conv(in_channels, out_channels, kernel_size, bias=True, dilation=1):
return nn.Conv2d(
in_channels, out_channels, kernel_size,
padding='same', bias=bias, dilation=dilation)
class BBloc... | 30.165714 | 91 | 0.595378 | 807 | 5,279 | 3.677819 | 0.105328 | 0.063679 | 0.070081 | 0.113208 | 0.811321 | 0.795485 | 0.768868 | 0.764825 | 0.728774 | 0.714286 | 0 | 0.042629 | 0.253457 | 5,279 | 174 | 92 | 30.33908 | 0.71048 | 0 | 0 | 0.584615 | 0 | 0 | 0.000758 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.130769 | false | 0 | 0.030769 | 0.023077 | 0.292308 | 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 |
2ebaa674ec95492136e89d59b4b816327a142f1a | 57 | py | Python | lupin3/__init__.py | RoRyou/Lupin3 | 3236214cf3cf684116f9b35b5d8a400054904591 | [
"Apache-2.0"
] | null | null | null | lupin3/__init__.py | RoRyou/Lupin3 | 3236214cf3cf684116f9b35b5d8a400054904591 | [
"Apache-2.0"
] | null | null | null | lupin3/__init__.py | RoRyou/Lupin3 | 3236214cf3cf684116f9b35b5d8a400054904591 | [
"Apache-2.0"
] | null | null | null | from .func import *
from .ml import *
from .plt import * | 19 | 19 | 0.684211 | 9 | 57 | 4.333333 | 0.555556 | 0.512821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 57 | 3 | 20 | 19 | 0.866667 | 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 |
2efc0d06703cee4c6a8d22d83bdca1e063905449 | 4,284 | py | Python | src/genie/libs/parser/iosxe/tests/ShowPlatformHardwareQfpBqsStatisticsChannelAll/cli/equal/golden_output_active_ipm_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/iosxe/tests/ShowPlatformHardwareQfpBqsStatisticsChannelAll/cli/equal/golden_output_active_ipm_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/iosxe/tests/ShowPlatformHardwareQfpBqsStatisticsChannelAll/cli/equal/golden_output_active_ipm_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z | expected_output = {
"channel": {
1: {
"badbytes": "0000000000",
"badpkts": "0000000000",
"goodbytes": "0000000000",
"goodpkts": "0000000000",
},
2: {
"badbytes": "0000000000",
"badpkts": "0000000000",
"goodby... | 28.751678 | 38 | 0.4176 | 219 | 4,284 | 8.164384 | 0.219178 | 0.241611 | 0.33557 | 0.469799 | 0.841163 | 0.644295 | 0.644295 | 0.644295 | 0 | 0 | 0 | 0.393682 | 0.423669 | 4,284 | 148 | 39 | 28.945946 | 0.330498 | 0 | 0 | 0.540541 | 0 | 0 | 0.404995 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2c06e3d2eba4318f94413faa30812e25a23fd6e6 | 143 | py | Python | tests/conftest.py | xavfernandez/resolvelib | d5fe2441e9a0e070f5b580a6efbecb9a02838742 | [
"ISC"
] | null | null | null | tests/conftest.py | xavfernandez/resolvelib | d5fe2441e9a0e070f5b580a6efbecb9a02838742 | [
"ISC"
] | null | null | null | tests/conftest.py | xavfernandez/resolvelib | d5fe2441e9a0e070f5b580a6efbecb9a02838742 | [
"ISC"
] | null | null | null | import pytest
from resolvelib.reporters import BaseReporter
@pytest.fixture(scope="session")
def base_reporter():
return BaseReporter()
| 15.888889 | 45 | 0.783217 | 16 | 143 | 6.9375 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125874 | 143 | 8 | 46 | 17.875 | 0.888 | 0 | 0 | 0 | 0 | 0 | 0.048951 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
d33d600d7a0471ad50bb9b04d3ab7f1eefb81028 | 98 | py | Python | simulated_annealing/Initialise.py | samaypanwar/Simulated-Annealing | 9b91d89a2b70c87df8e7ce329076efba2a4f30cd | [
"MIT"
] | null | null | null | simulated_annealing/Initialise.py | samaypanwar/Simulated-Annealing | 9b91d89a2b70c87df8e7ce329076efba2a4f30cd | [
"MIT"
] | null | null | null | simulated_annealing/Initialise.py | samaypanwar/Simulated-Annealing | 9b91d89a2b70c87df8e7ce329076efba2a4f30cd | [
"MIT"
] | null | null | null | import numpy as np
def random_init(self) -> list:
return np.random.random(size = self.size)
| 16.333333 | 45 | 0.704082 | 16 | 98 | 4.25 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183673 | 98 | 5 | 46 | 19.6 | 0.85 | 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 |
6ca4dcbe85975cb5509b316e855872c97a07d39e | 45 | py | Python | configs/__init__.py | maplel/vehicle-counting | c30372a9695fd7b838491461ee787f72c846d0b4 | [
"MIT"
] | 47 | 2020-11-08T08:14:22.000Z | 2022-03-26T15:18:04.000Z | configs/__init__.py | alikaz3mi/vehicle-counting | 2319714acdc8dcb97b0b7a2c87391b94095bf6fa | [
"MIT"
] | 16 | 2020-11-08T09:05:36.000Z | 2022-03-22T04:24:37.000Z | configs/__init__.py | alikaz3mi/vehicle-counting | 2319714acdc8dcb97b0b7a2c87391b94095bf6fa | [
"MIT"
] | 25 | 2020-11-08T08:14:24.000Z | 2022-03-15T07:19:31.000Z | from .configs import Config, config_from_dict | 45 | 45 | 0.866667 | 7 | 45 | 5.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.902439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6caa660bfbd3d4ce6b0cfe13515601f4e221f206 | 88 | py | Python | utilities/__init__.py | chiahsoon/flask-scaffold | 2bbaad172a3a36edbef1a4cb0abab233d21fdf7a | [
"Apache-2.0"
] | null | null | null | utilities/__init__.py | chiahsoon/flask-scaffold | 2bbaad172a3a36edbef1a4cb0abab233d21fdf7a | [
"Apache-2.0"
] | null | null | null | utilities/__init__.py | chiahsoon/flask-scaffold | 2bbaad172a3a36edbef1a4cb0abab233d21fdf7a | [
"Apache-2.0"
] | null | null | null | from utilities.extensions import db
from utilities.constants import SESSION_USER_ID_KEY
| 29.333333 | 51 | 0.886364 | 13 | 88 | 5.769231 | 0.769231 | 0.346667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 88 | 2 | 52 | 44 | 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 |
6cb72945d4d1f6544bbf47df36d1fa45fa99f8b6 | 14,779 | py | Python | 2019/notebooks/02 Create External SQL Tables.py | marcelfranke/sqlserverkonferenz | 4a784edfc6014ed189f44301ec8aea948d500f8f | [
"MIT"
] | null | null | null | 2019/notebooks/02 Create External SQL Tables.py | marcelfranke/sqlserverkonferenz | 4a784edfc6014ed189f44301ec8aea948d500f8f | [
"MIT"
] | null | null | null | 2019/notebooks/02 Create External SQL Tables.py | marcelfranke/sqlserverkonferenz | 4a784edfc6014ed189f44301ec8aea948d500f8f | [
"MIT"
] | null | null | null | # Databricks notebook source
# MAGIC %md <h2>Create widget to choose source data folder<h2>
# COMMAND ----------
dbutils.widgets.dropdown("SF", "10", ["10", "100"])
# COMMAND ----------
#create a parameter for the widget
paramScaleFactor = dbutils.widgets.get("SF")
rootFolder = '/mnt/data/SF'+paramScaleFactor+'/'
... | 34.856132 | 849 | 0.70519 | 1,642 | 14,779 | 6.303289 | 0.096833 | 0.048986 | 0.071594 | 0.062415 | 0.847246 | 0.817681 | 0.805894 | 0.797681 | 0.797681 | 0.758068 | 0 | 0.00747 | 0.139455 | 14,779 | 423 | 850 | 34.938534 | 0.806337 | 0.254889 | 0 | 0.616 | 0 | 0.12 | 0.562529 | 0.015022 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.016 | 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 |
9f368267e4f7b0ad0210c53fdb8cf6c5506d47e4 | 34 | py | Python | avogadro_plugin/__init__.py | paulboone/avogadro-plugin | 71e75dabbad50cb08ccb8ec21fdccf4b53282f51 | [
"BSD-3-Clause"
] | null | null | null | avogadro_plugin/__init__.py | paulboone/avogadro-plugin | 71e75dabbad50cb08ccb8ec21fdccf4b53282f51 | [
"BSD-3-Clause"
] | 1 | 2018-03-22T22:13:39.000Z | 2018-03-23T00:34:50.000Z | avogadro_plugin/__init__.py | paulboone/avogadro-plugin | 71e75dabbad50cb08ccb8ec21fdccf4b53282f51 | [
"BSD-3-Clause"
] | null | null | null | from avogadro_plugin.run import *
| 17 | 33 | 0.823529 | 5 | 34 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9f7d128a5628b7bb59915034135fbe48da1fe344 | 26 | py | Python | talon/__init__.py | bananaboy21/league-of-banana | 3fb0e0639d311b86dfa1a142e490341218f3ae79 | [
"MIT"
] | 3 | 2018-04-09T01:03:22.000Z | 2020-12-04T04:35:27.000Z | talon/__init__.py | bananaboy21/league-of-banana | 3fb0e0639d311b86dfa1a142e490341218f3ae79 | [
"MIT"
] | null | null | null | talon/__init__.py | bananaboy21/league-of-banana | 3fb0e0639d311b86dfa1a142e490341218f3ae79 | [
"MIT"
] | null | null | null | from .Client import Client | 26 | 26 | 0.846154 | 4 | 26 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 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 |
9fb841233d5d8cd2c805454d96c58f39cbe0c1ba | 172 | py | Python | api/redis_client.py | selelab/admin | d858209da3b7efc4501d503968402268d3f689f8 | [
"BSD-3-Clause"
] | null | null | null | api/redis_client.py | selelab/admin | d858209da3b7efc4501d503968402268d3f689f8 | [
"BSD-3-Clause"
] | 17 | 2020-03-27T14:18:46.000Z | 2022-02-27T01:24:58.000Z | api/redis_client.py | selelab/admin | d858209da3b7efc4501d503968402268d3f689f8 | [
"BSD-3-Clause"
] | 1 | 2020-02-26T09:09:07.000Z | 2020-02-26T09:09:07.000Z | import redis
import constants
redis_client = redis.StrictRedis(host=constants.REDIS_HOST, port=constants.REDIS_PORT, db=constants.REDIS_DB, password=constants.REDIS_PASS)
| 34.4 | 140 | 0.848837 | 24 | 172 | 5.875 | 0.416667 | 0.496454 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063953 | 172 | 4 | 141 | 43 | 0.875776 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 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 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
4cd3b82a13c0d9bb6bba8afeb265c93bf85ccffd | 13,085 | py | Python | apis/intermediate_api/intermediate_api/api/project_api.py | ucgmsim/gmhazard | d3d90b4c94b3d9605597a3efeccc8523a1e50c0e | [
"MIT"
] | null | null | null | apis/intermediate_api/intermediate_api/api/project_api.py | ucgmsim/gmhazard | d3d90b4c94b3d9605597a3efeccc8523a1e50c0e | [
"MIT"
] | 8 | 2021-10-13T02:33:23.000Z | 2022-03-29T21:01:08.000Z | apis/intermediate_api/intermediate_api/api/project_api.py | ucgmsim/gmhazard | d3d90b4c94b3d9605597a3efeccc8523a1e50c0e | [
"MIT"
] | null | null | null | from functools import wraps
from flask import jsonify, request, Response
from intermediate_api import app, PROJECT_API_BASE, PROJECT_API_TOKEN
import intermediate_api.db as db
import intermediate_api.utils as utils
import intermediate_api.decorators as decorators
import intermediate_api.auth0 as auth0
import intermed... | 32.308642 | 88 | 0.660451 | 1,496 | 13,085 | 5.411765 | 0.081551 | 0.075346 | 0.054595 | 0.062253 | 0.823123 | 0.802742 | 0.786438 | 0.781868 | 0.762228 | 0.724061 | 0 | 0.00296 | 0.251357 | 13,085 | 404 | 89 | 32.388614 | 0.823499 | 0.021628 | 0 | 0.582609 | 0 | 0 | 0.08662 | 0.007512 | 0 | 0 | 0 | 0 | 0 | 1 | 0.06087 | false | 0 | 0.023188 | 0.017391 | 0.153623 | 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 |
4cfc28d28a9a890c4b2a38c4ffe7bd2418a0d6b8 | 2,099 | py | Python | src/exampleFiles/example1.py | DarkTrick/SourceCodeVisualizer | 8a68c36cfdbffdb87593c1c558e82abec66dbfc2 | [
"BSD-3-Clause"
] | 11 | 2022-03-03T13:02:07.000Z | 2022-03-20T19:37:14.000Z | src/exampleFiles/example1.py | DarkTrick/SourceCodeVisualizer | 8a68c36cfdbffdb87593c1c558e82abec66dbfc2 | [
"BSD-3-Clause"
] | 1 | 2022-03-07T20:56:40.000Z | 2022-03-09T04:00:25.000Z | src/exampleFiles/example1.py | DarkTrick/SourceCodeVisualizer | 8a68c36cfdbffdb87593c1c558e82abec66dbfc2 | [
"BSD-3-Clause"
] | 1 | 2022-01-27T03:15:28.000Z | 2022-01-27T03:15:28.000Z | # Introduction to Code Visualizer 0.0.1
def main():
foo1()
foo3()
def foo1():
def foo2():
return 16
tmp1 = foo2()
tmp2 = foo3()
return tmp1 + tmp2
def foo3():
obj = MyClass2()
return obj.myklass2_foo2()
def foo4():
"""tab indentation"""
return 4
class MyClass:
... | 8.782427 | 39 | 0.607432 | 290 | 2,099 | 4.296552 | 0.131034 | 0.398074 | 0.58748 | 0.783307 | 0.697432 | 0.662119 | 0.662119 | 0.662119 | 0.662119 | 0.662119 | 0 | 0.035123 | 0.281086 | 2,099 | 239 | 40 | 8.782427 | 0.79059 | 0.339686 | 0 | 0.481481 | 0 | 0 | 0.216092 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.240741 | false | 0.055556 | 0 | 0.055556 | 0.444444 | 0.388889 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
98004135593ed2e9440d0faafdcc24ada9cfab4d | 41 | py | Python | tests/unit/test_basic.py | gerhardtdatsomor/pytest-nunit | 8e27275337af3216a3bddc16e793ee9637902361 | [
"MIT"
] | null | null | null | tests/unit/test_basic.py | gerhardtdatsomor/pytest-nunit | 8e27275337af3216a3bddc16e793ee9637902361 | [
"MIT"
] | null | null | null | tests/unit/test_basic.py | gerhardtdatsomor/pytest-nunit | 8e27275337af3216a3bddc16e793ee9637902361 | [
"MIT"
] | null | null | null | def test_one_and_one():
assert 1 == 1 | 20.5 | 23 | 0.658537 | 8 | 41 | 3 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.219512 | 41 | 2 | 24 | 20.5 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
98117399e3155c9ebbb8c72915599eec75080c29 | 53 | py | Python | src/vsc/visitors/__init__.py | fvutils/py-vsc | e30ffae1b750d8182d102b1fe5b1cfdce017a092 | [
"Apache-2.0"
] | 54 | 2020-03-28T17:54:00.000Z | 2022-03-27T08:53:13.000Z | src/vsc/visitors/__init__.py | fvutils/py-vsc | e30ffae1b750d8182d102b1fe5b1cfdce017a092 | [
"Apache-2.0"
] | 124 | 2020-04-10T03:06:03.000Z | 2022-03-24T18:35:46.000Z | src/vsc/visitors/__init__.py | fvutils/py-vsc | e30ffae1b750d8182d102b1fe5b1cfdce017a092 | [
"Apache-2.0"
] | 17 | 2020-04-09T21:47:58.000Z | 2022-02-23T19:37:37.000Z |
from .model_pretty_printer import ModelPrettyPrinter | 26.5 | 52 | 0.90566 | 6 | 53 | 7.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 53 | 2 | 52 | 26.5 | 0.938776 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
e21e0f9d61988af026b063ca84d929ba3f30a4d8 | 4,189 | py | Python | lambda/01_trigger_step_function/test_trigger.py | aws-samples/aws-cloudformation-stackset-orchestration | 0c46f8abc5bdc4db88218c34c6208ab4ba6d1653 | [
"MIT-0"
] | 10 | 2020-10-19T11:00:01.000Z | 2022-03-15T03:55:00.000Z | lambda/01_trigger_step_function/test_trigger.py | aws-samples/aws-cloudformation-stackset-orchestration | 0c46f8abc5bdc4db88218c34c6208ab4ba6d1653 | [
"MIT-0"
] | 3 | 2020-11-02T16:21:02.000Z | 2021-01-07T19:28:00.000Z | lambda/01_trigger_step_function/test_trigger.py | aws-samples/aws-cloudformation-stackset-orchestration | 0c46f8abc5bdc4db88218c34c6208ab4ba6d1653 | [
"MIT-0"
] | 6 | 2020-12-21T12:17:53.000Z | 2022-02-07T19:34:37.000Z | from datetime import datetime
import json
import os
from botocore.stub import Stubber
import pytest
from fixtures import lambda_module
from test_events.test_event import test_event
__location__ = os.path.realpath(os.path.join(os.getcwd(), os.path.dirname(__file__)))
lambda_module = pytest.fixture(
scope="module... | 32.472868 | 113 | 0.633564 | 449 | 4,189 | 5.601336 | 0.216036 | 0.134394 | 0.066799 | 0.030219 | 0.811133 | 0.790457 | 0.736382 | 0.700596 | 0.700596 | 0.700596 | 0 | 0.032988 | 0.261876 | 4,189 | 128 | 114 | 32.726563 | 0.780401 | 0.139174 | 0 | 0.63 | 0 | 0 | 0.195094 | 0.045109 | 0 | 0 | 0 | 0 | 0.02 | 1 | 0.02 | false | 0 | 0.07 | 0 | 0.09 | 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 |
e2244c038755fbc5daa1eab2d689793b8c7bf472 | 9,464 | py | Python | watcher/tests/test_manila.py | sapcc/openstack-watcher-middleware | d15938d84f89b309aad3d3c36e29a452724cee85 | [
"Apache-2.0"
] | null | null | null | watcher/tests/test_manila.py | sapcc/openstack-watcher-middleware | d15938d84f89b309aad3d3c36e29a452724cee85 | [
"Apache-2.0"
] | 3 | 2018-07-18T16:13:40.000Z | 2019-06-19T11:04:40.000Z | watcher/tests/test_manila.py | sapcc/openstack-watcher-middleware | d15938d84f89b309aad3d3c36e29a452724cee85 | [
"Apache-2.0"
] | null | null | null | import os
import unittest
from . import fake
from watcher.watcher import OpenStackWatcherMiddleware
WORKDIR = os.path.dirname(os.path.realpath(__file__))
MANILA_CONFIG_PATH = WORKDIR + '/fixtures/manila.yaml'
class TestManila(unittest.TestCase):
is_setup = False
def setUp(self):
if self.is_setup:
... | 38.946502 | 155 | 0.487637 | 640 | 9,464 | 7.067188 | 0.153125 | 0.063232 | 0.097723 | 0.137962 | 0.811408 | 0.778908 | 0.778908 | 0.725403 | 0.679859 | 0.615742 | 0 | 0.203786 | 0.40839 | 9,464 | 242 | 156 | 39.107438 | 0.604036 | 0 | 0 | 0.447368 | 0 | 0 | 0.374683 | 0.27314 | 0 | 0 | 0 | 0 | 0.008772 | 1 | 0.013158 | false | 0 | 0.017544 | 0 | 0.04386 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 1 | 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 |
e25acc893f58822af622d57945ba23aa9d263f32 | 44 | py | Python | core/ext/__init__.py | nxtlo/Aesthetic | 389edb85029de5f99e87777d8b4ddfedc01d3d09 | [
"MIT"
] | 2 | 2020-10-23T22:02:48.000Z | 2020-10-23T22:05:05.000Z | core/ext/__init__.py | nxtlo/Aesthetic | 389edb85029de5f99e87777d8b4ddfedc01d3d09 | [
"MIT"
] | 3 | 2021-10-01T12:16:35.000Z | 2022-03-10T12:23:29.000Z | core/ext/__init__.py | nxtlo/Amaya | 389edb85029de5f99e87777d8b4ddfedc01d3d09 | [
"MIT"
] | null | null | null | from .db import PgPool
from .utils import *
| 14.666667 | 22 | 0.75 | 7 | 44 | 4.714286 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 2 | 23 | 22 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e2838876f014a207e42cf780bd3d4d81f04b08af | 34,206 | py | Python | src/the_tale/the_tale/linguistics/tests/test_prototypes.py | al-arz/the-tale | 542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5 | [
"BSD-3-Clause"
] | 85 | 2017-11-21T12:22:02.000Z | 2022-03-27T23:07:17.000Z | src/the_tale/the_tale/linguistics/tests/test_prototypes.py | devapromix/the-tale | 2a10efd3270734f8cf482b4cfbc5353ef8f0494c | [
"BSD-3-Clause"
] | 545 | 2017-11-04T14:15:04.000Z | 2022-03-27T14:19:27.000Z | src/the_tale/the_tale/linguistics/tests/test_prototypes.py | devapromix/the-tale | 2a10efd3270734f8cf482b4cfbc5353ef8f0494c | [
"BSD-3-Clause"
] | 45 | 2017-11-11T12:36:30.000Z | 2022-02-25T06:10:44.000Z |
import smart_imports
smart_imports.all()
class WordPrototypeTests(utils_testcase.TestCase):
def setUp(self):
super(WordPrototypeTests, self).setUp()
self.word_type_1, self.word_type_2 = random.sample(utg_relations.WORD_TYPE.records, 2)
self.word_1 = utg_words.Word.create_test_word(self.... | 58.672384 | 167 | 0.533415 | 3,263 | 34,206 | 5.331597 | 0.070487 | 0.058631 | 0.05317 | 0.023797 | 0.849514 | 0.813359 | 0.780192 | 0.7549 | 0.716158 | 0.711789 | 0 | 0.02404 | 0.354265 | 34,206 | 582 | 168 | 58.773196 | 0.763491 | 0.004356 | 0 | 0.607656 | 0 | 0.009569 | 0.107597 | 0.032538 | 0 | 0 | 0 | 0 | 0.208134 | 1 | 0.07177 | false | 0 | 0.004785 | 0 | 0.088517 | 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 |
e286c4e92e4dd5dcbd7fff57b05cd294bfe20814 | 2,330 | py | Python | server/tests/steps/sql_translator/test_percentage.py | davinov/weaverbird | 3f907f080729ba70be8872d6c5ed0fdcec9b8a9a | [
"BSD-3-Clause"
] | 54 | 2019-11-20T15:07:39.000Z | 2022-03-24T22:13:51.000Z | server/tests/steps/sql_translator/test_percentage.py | ToucanToco/weaverbird | 7cbd3cc612437a876470cc872efba69526694d62 | [
"BSD-3-Clause"
] | 786 | 2019-10-20T11:48:37.000Z | 2022-03-23T08:58:18.000Z | server/tests/steps/sql_translator/test_percentage.py | davinov/weaverbird | 3f907f080729ba70be8872d6c5ed0fdcec9b8a9a | [
"BSD-3-Clause"
] | 10 | 2019-11-21T10:16:16.000Z | 2022-03-21T10:34:06.000Z | from weaverbird.backends.sql_translator.steps import translate_percentage
from weaverbird.pipeline.steps import PercentageStep
def test_translate_no_new_column_percentage(query):
step = PercentageStep(name='percentage', column='RAICHU')
query = translate_percentage(
step,
query,
index... | 34.264706 | 113 | 0.693991 | 269 | 2,330 | 5.695167 | 0.152416 | 0.109661 | 0.08812 | 0.084856 | 0.857702 | 0.857702 | 0.857702 | 0.857702 | 0.742167 | 0.742167 | 0 | 0.009912 | 0.220601 | 2,330 | 67 | 114 | 34.776119 | 0.8337 | 0 | 0 | 0.534483 | 0 | 0 | 0.380687 | 0.029614 | 0 | 0 | 0 | 0 | 0.155172 | 1 | 0.051724 | false | 0 | 0.034483 | 0 | 0.086207 | 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 |
e29dba6ec172bb19a1c5cebf7fa9da132b160e4b | 9,898 | py | Python | utils/Calculations.py | rushermonza/CoronavirusWebScraper | 4c7d31dbb51ae7d791c620673ca6f36d1ef43e3e | [
"MIT"
] | 1 | 2020-04-04T04:55:20.000Z | 2020-04-04T04:55:20.000Z | utils/Calculations.py | AntoData/CoronavirusWebScraper | 4c7d31dbb51ae7d791c620673ca6f36d1ef43e3e | [
"MIT"
] | null | null | null | utils/Calculations.py | AntoData/CoronavirusWebScraper | 4c7d31dbb51ae7d791c620673ca6f36d1ef43e3e | [
"MIT"
] | null | null | null | # We import pandas to manage and create dafa frames
import pandas as pd
def return_data_frame_cases(dict_corona_virus: dict, dict_population: dict,
data_frame_countries: pd.DataFrame) -> pd.DataFrame:
"""
This method will return a data_coronavirus frame with the fields we need to c... | 66.878378 | 120 | 0.688523 | 1,457 | 9,898 | 4.566232 | 0.085106 | 0.044642 | 0.072148 | 0.051856 | 0.906508 | 0.892079 | 0.892079 | 0.871186 | 0.871186 | 0.859011 | 0 | 0.00688 | 0.251061 | 9,898 | 147 | 121 | 67.333333 | 0.890598 | 0.579612 | 0 | 0.592593 | 0 | 0.055556 | 0.092888 | 0.020754 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.018519 | 0 | 0.12963 | 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 |
e2acd33addb720d1731a0e9682c888d84f1321b6 | 17,729 | py | Python | FolDet code/Evaluation metrics.py | laurapurcaro-bit/FolDet | 8912d566cd03e340d0245aa3caa103f880724df8 | [
"Apache-2.0"
] | null | null | null | FolDet code/Evaluation metrics.py | laurapurcaro-bit/FolDet | 8912d566cd03e340d0245aa3caa103f880724df8 | [
"Apache-2.0"
] | null | null | null | FolDet code/Evaluation metrics.py | laurapurcaro-bit/FolDet | 8912d566cd03e340d0245aa3caa103f880724df8 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""
# author : Laura Purcaro
# title : Evaluation metrics.py
# description : Evaluation metrics for Folds detection.py
# date : 02.05.2021
# version : 1.0
# python_version : 3.8.8
"""
# Import Libraries
import c... | 43.453431 | 147 | 0.627559 | 2,589 | 17,729 | 4.116261 | 0.095404 | 0.047293 | 0.02252 | 0.024772 | 0.836633 | 0.79056 | 0.748522 | 0.728535 | 0.700948 | 0.668012 | 0 | 0.012363 | 0.228947 | 17,729 | 407 | 148 | 43.560197 | 0.767154 | 0.169214 | 0 | 0.386792 | 0 | 0 | 0.238033 | 0.048659 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009434 | false | 0 | 0.051887 | 0 | 0.070755 | 0.066038 | 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 |
2c6536e6f3eea0aafed8ab4e79e96d9cc3aaeb88 | 29 | py | Python | log.py | Ennesie-DelaCruz/wake | d030e70bf92af104d1a0dc160f5f1365fc194a75 | [
"MIT"
] | null | null | null | log.py | Ennesie-DelaCruz/wake | d030e70bf92af104d1a0dc160f5f1365fc194a75 | [
"MIT"
] | null | null | null | log.py | Ennesie-DelaCruz/wake | d030e70bf92af104d1a0dc160f5f1365fc194a75 | [
"MIT"
] | null | null | null | import scikit
print("hello")
| 9.666667 | 14 | 0.758621 | 4 | 29 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 2 | 15 | 14.5 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
2c85247f6e3d0d78b910690a1eeba47e134708e0 | 2,476 | py | Python | tests/test_managers/test_cgi.py | stas12312/aioalfacrm | 1501634fa5ef4591936be2e6147827565e4a0b36 | [
"MIT"
] | null | null | null | tests/test_managers/test_cgi.py | stas12312/aioalfacrm | 1501634fa5ef4591936be2e6147827565e4a0b36 | [
"MIT"
] | 49 | 2021-11-11T16:00:40.000Z | 2021-11-24T15:37:34.000Z | tests/test_managers/test_cgi.py | stas12312/aioalfacrm | 1501634fa5ef4591936be2e6147827565e4a0b36 | [
"MIT"
] | null | null | null | import datetime
import pytest
from aioalfacrm import entities
from aioalfacrm.managers import CGI
CGI_RESPONSE = {
'page': 0,
'count': 1,
'total': 1,
'items': [
{
'id': 1,
'customer_id': 5,
'group_id': 3,
'b_date': '01.01.2021',
'e_d... | 29.831325 | 86 | 0.626817 | 363 | 2,476 | 4.104683 | 0.15978 | 0.120805 | 0.066443 | 0.068456 | 0.851678 | 0.797315 | 0.79396 | 0.79396 | 0.708725 | 0.708725 | 0 | 0.065852 | 0.239499 | 2,476 | 82 | 87 | 30.195122 | 0.725438 | 0 | 0 | 0.57971 | 0 | 0 | 0.130048 | 0.070275 | 0 | 0 | 0 | 0 | 0.318841 | 1 | 0 | false | 0 | 0.057971 | 0 | 0.057971 | 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 |
2cb75f60ff5a90d32c5e84b6aa002bcceadae859 | 91 | py | Python | py4dgeo/__init__.py | dokempf/kdtree-comparison | 6ee0e2e7df425186d61144f5ec9f9209ebd21669 | [
"MIT"
] | null | null | null | py4dgeo/__init__.py | dokempf/kdtree-comparison | 6ee0e2e7df425186d61144f5ec9f9209ebd21669 | [
"MIT"
] | null | null | null | py4dgeo/__init__.py | dokempf/kdtree-comparison | 6ee0e2e7df425186d61144f5ec9f9209ebd21669 | [
"MIT"
] | null | null | null | from _py4dgeo import SearchStrategy
from py4dgeo.cloud import NFPointCloud2, PCLPointCloud
| 30.333333 | 54 | 0.879121 | 10 | 91 | 7.9 | 0.7 | 0.278481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036585 | 0.098901 | 91 | 2 | 55 | 45.5 | 0.926829 | 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 |
2cb7b55cb05b383277e3e75746a7429dbb64992d | 114 | py | Python | ga_storage_manager/exceptions.py | geraldoandradee/storage-manager | d9b5c2a6ffd4c00262ea6d97a6e652a518b56965 | [
"MIT"
] | null | null | null | ga_storage_manager/exceptions.py | geraldoandradee/storage-manager | d9b5c2a6ffd4c00262ea6d97a6e652a518b56965 | [
"MIT"
] | null | null | null | ga_storage_manager/exceptions.py | geraldoandradee/storage-manager | d9b5c2a6ffd4c00262ea6d97a6e652a518b56965 | [
"MIT"
] | null | null | null | class StorageManagerEngineException(Exception):
pass
class StorageManagerDataException(Exception):
pass
| 16.285714 | 47 | 0.807018 | 8 | 114 | 11.5 | 0.625 | 0.282609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140351 | 114 | 6 | 48 | 19 | 0.938776 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
e2ff0abfa6c8a79ead741c13f4d02048412f8337 | 4,366 | py | Python | functions/source/association-updater/test_association_converter.py | censullo/quickstart-urbanio-iot-aas-1 | 88529d48245862f8c5a9d99bb8d74e9eeadf805e | [
"Apache-2.0"
] | 2 | 2021-12-01T14:30:16.000Z | 2022-02-14T06:52:45.000Z | functions/source/association-updater/test_association_converter.py | censullo/quickstart-urbanio-iot-aas-1 | 88529d48245862f8c5a9d99bb8d74e9eeadf805e | [
"Apache-2.0"
] | null | null | null | functions/source/association-updater/test_association_converter.py | censullo/quickstart-urbanio-iot-aas-1 | 88529d48245862f8c5a9d99bb8d74e9eeadf805e | [
"Apache-2.0"
] | 3 | 2021-11-12T15:41:16.000Z | 2022-03-28T00:56:04.000Z | import os
import boto3
import datetime
from mock import patch, Mock, call
from association_converter import AssociationConverter
def test_associate_asset():
child_asset = {
"Id": "device-123456",
"AssetId": "device-123456",
"ParentAssetId": None,
"ParentHierarchyId": None,
... | 37.316239 | 110 | 0.575126 | 399 | 4,366 | 6.007519 | 0.160401 | 0.085106 | 0.120567 | 0.058406 | 0.865248 | 0.853984 | 0.849812 | 0.849812 | 0.833125 | 0.833125 | 0 | 0.08064 | 0.312643 | 4,366 | 117 | 111 | 37.316239 | 0.718094 | 0 | 0 | 0.684211 | 0 | 0 | 0.242272 | 0 | 0 | 0 | 0 | 0 | 0.084211 | 1 | 0.042105 | false | 0.010526 | 0.052632 | 0 | 0.094737 | 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 |
3906eb09cc9099f1b6454ac5f17f871b70dcf68f | 1,295 | py | Python | examples/test_build_raw_transactions.py | volekerb/neo-python | 5bdded2c339219355cf1d31ae58653b0f94c6e51 | [
"MIT"
] | 387 | 2017-07-17T18:25:54.000Z | 2021-11-18T06:19:47.000Z | examples/test_build_raw_transactions.py | volekerb/neo-python | 5bdded2c339219355cf1d31ae58653b0f94c6e51 | [
"MIT"
] | 967 | 2017-08-19T15:48:03.000Z | 2021-06-01T21:42:39.000Z | examples/test_build_raw_transactions.py | volekerb/neo-python | 5bdded2c339219355cf1d31ae58653b0f94c6e51 | [
"MIT"
] | 286 | 2017-07-17T03:44:36.000Z | 2021-11-18T06:19:32.000Z | import os
from unittest import TestCase
from examples.build_raw_transactions import example1, example2
class BuildRawTransactionsTestCase(TestCase):
def test_example1(self):
res = example1()
self.assertTrue(res)
self.assertEqual(res.decode('utf-8'), "80000190274d79207261772063... | 56.304348 | 452 | 0.853282 | 55 | 1,295 | 20.018182 | 0.472727 | 0.012716 | 0.030881 | 0.038147 | 0.081744 | 0.081744 | 0.081744 | 0.081744 | 0.081744 | 0 | 0 | 0.474182 | 0.102703 | 1,295 | 22 | 453 | 58.863636 | 0.473322 | 0 | 0 | 0.285714 | 0 | 0 | 0.641006 | 0.626866 | 0 | 1 | 0 | 0 | 0.285714 | 1 | 0.142857 | false | 0 | 0.214286 | 0 | 0.428571 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
39344199a9aec8db172709078bbc3d24e2eec823 | 10,054 | py | Python | src/CACSFilter_V02.py | Berni1557/CACSFilter | fad48e085f7f8d0470debd1b35187696aa6358c1 | [
"MIT"
] | null | null | null | src/CACSFilter_V02.py | Berni1557/CACSFilter | fad48e085f7f8d0470debd1b35187696aa6358c1 | [
"MIT"
] | null | null | null | src/CACSFilter_V02.py | Berni1557/CACSFilter | fad48e085f7f8d0470debd1b35187696aa6358c1 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created: 27.04.2020
@author: Bernhard Foellmer
@version V02
CACSFilter V02 20200427
CACS inclusion criteria for optimal selection (discharge_filter_opt)
---------------------------------------
1) ReconstructionDiameter <= 230 mm
2) SliceThickness == 3.0 mm OR (SliceThickness == 2.5mm AND ... | 62.447205 | 206 | 0.793913 | 988 | 10,054 | 7.992915 | 0.129555 | 0.055084 | 0.018235 | 0.03343 | 0.810181 | 0.80081 | 0.80081 | 0.80081 | 0.794985 | 0.778777 | 0 | 0.023613 | 0.073304 | 10,054 | 161 | 207 | 62.447205 | 0.823978 | 0.278397 | 0 | 0.55 | 0 | 0 | 0.205911 | 0.063782 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.025 | 0 | 0.025 | 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 |
1a3e89849dd10649c760a1292d0d54b23bb2719c | 37 | py | Python | tests/bytecode/mp-tests/class2.py | LabAixBidouille/micropython | 11aa6ba456287d6c80598a7ebbebd2887ce8f5a2 | [
"MIT"
] | 303 | 2015-07-11T17:12:55.000Z | 2018-01-08T03:02:37.000Z | tests/bytecode/mp-tests/class2.py | roger-/micropython | bad2df3e95cd5719099319d71590a79bf6bc4493 | [
"MIT"
] | 13 | 2016-05-12T16:51:22.000Z | 2018-01-10T22:33:25.000Z | tests/bytecode/mp-tests/class2.py | roger-/micropython | bad2df3e95cd5719099319d71590a79bf6bc4493 | [
"MIT"
] | 26 | 2018-01-18T09:15:33.000Z | 2022-02-07T13:09:14.000Z | class A:
x = 1
y = x + z
A()
| 7.4 | 13 | 0.324324 | 8 | 37 | 1.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.513514 | 37 | 4 | 14 | 9.25 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0.75 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 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 |
1a72834e3b443e8f1ad39add57ad6ef0d555bb3b | 84 | py | Python | threeML/plugins/gammaln.py | Husky22/threeML | 2ef3401e3edf82ceffd85ad0a9ea9e8b2bba3520 | [
"BSD-3-Clause"
] | null | null | null | threeML/plugins/gammaln.py | Husky22/threeML | 2ef3401e3edf82ceffd85ad0a9ea9e8b2bba3520 | [
"BSD-3-Clause"
] | null | null | null | threeML/plugins/gammaln.py | Husky22/threeML | 2ef3401e3edf82ceffd85ad0a9ea9e8b2bba3520 | [
"BSD-3-Clause"
] | null | null | null | from scipy.special import gammaln
def logfactorial(n):
return gammaln(n + 1)
| 12 | 33 | 0.714286 | 12 | 84 | 5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014925 | 0.202381 | 84 | 6 | 34 | 14 | 0.880597 | 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 |
1ac1b79800c9302965101f81791d5b53217e2db5 | 64,708 | py | Python | nelpy/core/_eventarray.py | elifesciences-publications/nelpy | 68c1ffff5eee5de60fc365c4f5df3c7200f5c319 | [
"MIT"
] | null | null | null | nelpy/core/_eventarray.py | elifesciences-publications/nelpy | 68c1ffff5eee5de60fc365c4f5df3c7200f5c319 | [
"MIT"
] | null | null | null | nelpy/core/_eventarray.py | elifesciences-publications/nelpy | 68c1ffff5eee5de60fc365c4f5df3c7200f5c319 | [
"MIT"
] | 1 | 2018-11-26T04:56:40.000Z | 2018-11-26T04:56:40.000Z | __all__ = ['EventArray']
"""EventArray
EventArray (supports binning)
|_ ValueEventArray (does not support binning, nor queries)
|_ StatefulEventArray (supports queries, casting to-and-from AnalogSignalArrays)
eva, veva, seva
"""
import warnings
import numpy as np
import copy
import numbers
from abc import AB... | 37.209891 | 112 | 0.558045 | 7,291 | 64,708 | 4.815663 | 0.077904 | 0.023326 | 0.012304 | 0.009114 | 0.791148 | 0.767708 | 0.757284 | 0.753667 | 0.75042 | 0.746775 | 0 | 0.00546 | 0.343389 | 64,708 | 1,738 | 113 | 37.2313 | 0.820914 | 0.256506 | 0 | 0.787011 | 0 | 0 | 0.050255 | 0.002659 | 0 | 0 | 0 | 0.008631 | 0.00191 | 1 | 0.069723 | false | 0.004776 | 0.007641 | 0 | 0.191977 | 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 |
1ac86408e209f4ce7d99d6609a83f5c0071beb79 | 39 | py | Python | swt/arg_parser/__init__.py | sunsided/stroke-width-transform | 9851dc4b448f3556839718c461f22e395b9e196a | [
"MIT"
] | 6 | 2019-06-11T18:52:16.000Z | 2021-12-08T01:59:43.000Z | swt/arg_parser/__init__.py | sunsided/stroke-width-transform | 9851dc4b448f3556839718c461f22e395b9e196a | [
"MIT"
] | 1 | 2019-11-07T02:06:05.000Z | 2019-11-07T02:06:05.000Z | swt/arg_parser/__init__.py | sunsided/stroke-width-transform | 9851dc4b448f3556839718c461f22e395b9e196a | [
"MIT"
] | 6 | 2019-01-08T21:18:10.000Z | 2021-10-13T11:24:33.000Z | from .SwtArgParser import SwtArgParser
| 19.5 | 38 | 0.871795 | 4 | 39 | 8.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
46d83dc347bc99172b380c100378f2254520ac13 | 184 | py | Python | ci_tests/tests/conversion/data/sample/sample_model/create_model.py | harishsk/OLive | 64ef85e2611d4a6baa756e180f39ad652b6fa060 | [
"MIT"
] | null | null | null | ci_tests/tests/conversion/data/sample/sample_model/create_model.py | harishsk/OLive | 64ef85e2611d4a6baa756e180f39ad652b6fa060 | [
"MIT"
] | null | null | null | ci_tests/tests/conversion/data/sample/sample_model/create_model.py | harishsk/OLive | 64ef85e2611d4a6baa756e180f39ad652b6fa060 | [
"MIT"
] | null | null | null | import os
from ci_tests.tests.conversion.data.sample.sample_model.sample_model import save_entire_model
save_entire_model(os.path.join(os.path.dirname(__file__), 'sample_model.pth'))
| 36.8 | 93 | 0.842391 | 30 | 184 | 4.766667 | 0.533333 | 0.230769 | 0.20979 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048913 | 184 | 4 | 94 | 46 | 0.817143 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 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 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
46f82615e59fa8301126b3ca4819e926ed707c39 | 4,829 | py | Python | python/pybindgen/typehandlers/booltype.py | kokimame/Phonetisaurus | 64719ca40c17cb70d810fffadac52c97984ca539 | [
"BSD-3-Clause"
] | 2 | 2016-10-25T12:59:33.000Z | 2019-10-04T20:51:05.000Z | python/pybindgen/typehandlers/booltype.py | MontrealCorpusTools/Phonetisaurus | e8905d3d841378dbf29689a3a0c5c1d46afb7277 | [
"BSD-3-Clause"
] | 1 | 2017-07-20T19:30:04.000Z | 2019-10-04T21:09:30.000Z | python/pybindgen/typehandlers/booltype.py | MontrealCorpusTools/Phonetisaurus | e8905d3d841378dbf29689a3a0c5c1d46afb7277 | [
"BSD-3-Clause"
] | null | null | null | # docstrings not neede here (the type handler interfaces are fully
# documented in base.py) pylint: disable-msg=C0111
from base import ReturnValue, Parameter, \
ReverseWrapperBase, ForwardWrapperBase
class BoolParam(Parameter):
DIRECTIONS = [Parameter.DIRECTION_IN]
CTYPES = ['bool']
def convert_c_... | 43.9 | 134 | 0.639263 | 565 | 4,829 | 5.20531 | 0.146903 | 0.042843 | 0.073444 | 0.102006 | 0.83645 | 0.801428 | 0.774566 | 0.746685 | 0.704862 | 0.6729 | 0 | 0.001609 | 0.227998 | 4,829 | 109 | 135 | 44.302752 | 0.787285 | 0.034997 | 0 | 0.590361 | 0 | 0 | 0.100322 | 0 | 0 | 0 | 0 | 0 | 0.024096 | 1 | 0.108434 | false | 0 | 0.012048 | 0.012048 | 0.26506 | 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 |
6444a4620b04aa7b0f325417d0d9a558bca41e0c | 106 | py | Python | registrasion/exceptions.py | pyohio/registrasion | 461d5846c6f9f3b7099322a94f5d9911564448e4 | [
"Apache-2.0"
] | 20 | 2016-04-15T16:50:53.000Z | 2021-12-18T10:03:58.000Z | registrasion/exceptions.py | pyohio/registrasion | 461d5846c6f9f3b7099322a94f5d9911564448e4 | [
"Apache-2.0"
] | 141 | 2016-03-27T08:37:57.000Z | 2018-01-12T11:45:22.000Z | registrasion/exceptions.py | pyohio/registrasion | 461d5846c6f9f3b7099322a94f5d9911564448e4 | [
"Apache-2.0"
] | 14 | 2016-01-24T01:01:39.000Z | 2019-10-14T05:43:32.000Z | from django.core.exceptions import ValidationError
class CartValidationError(ValidationError):
pass
| 17.666667 | 50 | 0.830189 | 10 | 106 | 8.8 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122642 | 106 | 5 | 51 | 21.2 | 0.946237 | 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 |
b3a0a642e92f65cb1a3daaf7d0175fb6c8075609 | 19,618 | py | Python | test/pytest/test_extend_tag.py | showipintbri/ttp | 10b8767e67ec39ed4e30769d36e6fb6e5b0ed265 | [
"MIT"
] | 254 | 2019-09-23T15:37:13.000Z | 2022-03-24T18:56:56.000Z | test/pytest/test_extend_tag.py | showipintbri/ttp | 10b8767e67ec39ed4e30769d36e6fb6e5b0ed265 | [
"MIT"
] | 71 | 2019-09-26T16:32:55.000Z | 2022-03-31T15:57:12.000Z | test/pytest/test_extend_tag.py | showipintbri/ttp | 10b8767e67ec39ed4e30769d36e6fb6e5b0ed265 | [
"MIT"
] | 38 | 2019-10-18T03:43:42.000Z | 2022-01-19T20:03:33.000Z | import sys
sys.path.insert(0, "../..")
import pprint
import pytest
import logging
logging.basicConfig(level=logging.DEBUG)
try:
from ttp_templates import get_template
HAS_TTP_TEMPLATES = True
except ImportError:
HAS_TTP_TEMPLATES = False
skip_if_no_ttp_templates = pytest.mark.skipif(
HAS_TTP_TEMPLA... | 22.838184 | 89 | 0.528698 | 2,271 | 19,618 | 4.328049 | 0.074417 | 0.011802 | 0.06084 | 0.044969 | 0.86723 | 0.843626 | 0.813511 | 0.760301 | 0.713501 | 0.667921 | 0 | 0.059037 | 0.31099 | 19,618 | 858 | 90 | 22.864802 | 0.668122 | 0.130798 | 0 | 0.636364 | 0 | 0 | 0.4428 | 0.074609 | 0 | 0 | 0 | 0 | 0.030303 | 1 | 0.031898 | false | 0 | 0.012759 | 0 | 0.044657 | 0.00319 | 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 |
3740a1ee4facd06e343d2b02d9d47976697b350c | 10,400 | py | Python | test/test_ode.py | tianjuchen/pyoptmat | 6f34205f450fd884679f37522ccd0d0b65ecdb71 | [
"MIT"
] | null | null | null | test/test_ode.py | tianjuchen/pyoptmat | 6f34205f450fd884679f37522ccd0d0b65ecdb71 | [
"MIT"
] | null | null | null | test/test_ode.py | tianjuchen/pyoptmat | 6f34205f450fd884679f37522ccd0d0b65ecdb71 | [
"MIT"
] | null | null | null | import unittest
import numpy as np
import torch
import torch.nn
from pyoptmat import ode
torch.set_default_tensor_type(torch.DoubleTensor)
class LogisticODE(torch.nn.Module):
def __init__(self, r, K):
super().__init__()
self.r = torch.tensor(r)
self.K = torch.tensor(K)
def forward... | 28.108108 | 88 | 0.459038 | 1,201 | 10,400 | 3.916736 | 0.095754 | 0.032951 | 0.017857 | 0.02551 | 0.83716 | 0.826531 | 0.779974 | 0.771896 | 0.75574 | 0.739158 | 0 | 0.038905 | 0.399423 | 10,400 | 369 | 89 | 28.184282 | 0.714217 | 0.014519 | 0 | 0.594306 | 0 | 0 | 0.027019 | 0 | 0 | 0 | 0 | 0 | 0.053381 | 1 | 0.078292 | false | 0 | 0.017794 | 0.014235 | 0.142349 | 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 |
37535fc5b99481fdcd22820e541c870af3a44284 | 23 | py | Python | spacetimeformer/data/metr_la/__init__.py | Piki1989/spacetimeformer | 7e0caf17dd03e5d25e2766c4f7132805779bcc40 | [
"MIT"
] | 209 | 2021-09-28T13:59:56.000Z | 2022-03-31T23:29:43.000Z | spacetimeformer/data/metr_la/__init__.py | Piki1989/spacetimeformer | 7e0caf17dd03e5d25e2766c4f7132805779bcc40 | [
"MIT"
] | 30 | 2021-09-30T07:53:38.000Z | 2022-03-22T01:13:42.000Z | spacetimeformer/data/metr_la/__init__.py | Piki1989/spacetimeformer | 7e0caf17dd03e5d25e2766c4f7132805779bcc40 | [
"MIT"
] | 49 | 2021-10-29T22:47:20.000Z | 2022-03-30T15:24:56.000Z | from .metr_la import *
| 11.5 | 22 | 0.73913 | 4 | 23 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
808884a51752620395c329bde6c539bcbcb8f4a6 | 2,926 | py | Python | examples/docs_snippets_crag/docs_snippets_crag/concepts/assets/materialization_io_managers.py | dbatten5/dagster | d76e50295054ffe5a72f9b292ef57febae499528 | [
"Apache-2.0"
] | 4,606 | 2018-06-21T17:45:20.000Z | 2022-03-31T23:39:42.000Z | examples/docs_snippets_crag/docs_snippets_crag/concepts/assets/materialization_io_managers.py | dbatten5/dagster | d76e50295054ffe5a72f9b292ef57febae499528 | [
"Apache-2.0"
] | 6,221 | 2018-06-12T04:36:01.000Z | 2022-03-31T21:43:05.000Z | examples/docs_snippets_crag/docs_snippets_crag/concepts/assets/materialization_io_managers.py | dbatten5/dagster | d76e50295054ffe5a72f9b292ef57febae499528 | [
"Apache-2.0"
] | 619 | 2018-08-22T22:43:09.000Z | 2022-03-31T22:48:06.000Z | import os
import pandas as pd
from dagster import AssetKey, AssetMaterialization, EventMetadataEntry, IOManager
def read_csv(_path):
return pd.DataFrame()
# start_marker_0
class PandasCsvIOManager(IOManager):
def load_input(self, context):
file_path = os.path.join("my_base_dir", context.step_key, c... | 29.857143 | 85 | 0.692071 | 384 | 2,926 | 5 | 0.169271 | 0.091667 | 0.052083 | 0.072917 | 0.733333 | 0.733333 | 0.733333 | 0.733333 | 0.733333 | 0.733333 | 0 | 0.003002 | 0.203008 | 2,926 | 97 | 86 | 30.164948 | 0.820326 | 0.047505 | 0 | 0.642857 | 0 | 0 | 0.107631 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.053571 | 0.035714 | 0.482143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8095390783242ae9182dee0331a9798a00259fd1 | 792 | py | Python | tfplus/data/sample_data_provider.py | renmengye/tfplus | 9b1f71d33f24af510c701c7d6f6bb816720ed701 | [
"MIT"
] | 2 | 2016-10-11T11:01:07.000Z | 2016-10-11T11:02:32.000Z | tfplus/data/sample_data_provider.py | renmengye/tfplus | 9b1f71d33f24af510c701c7d6f6bb816720ed701 | [
"MIT"
] | null | null | null | tfplus/data/sample_data_provider.py | renmengye/tfplus | 9b1f71d33f24af510c701c7d6f6bb816720ed701 | [
"MIT"
] | 2 | 2016-08-03T19:20:48.000Z | 2019-06-24T07:36:22.000Z | from data_provider import DataProvider
class SampleDataProvider(DataProvider):
def __init__(self, data_provider):
super(SampleDataProvider, self).__init__()
self._data_provider = data_provider
pass
@property
def data_provider(self):
return self._data_provider
def rej... | 25.548387 | 75 | 0.632576 | 95 | 792 | 4.947368 | 0.347368 | 0.229787 | 0.204255 | 0.187234 | 0.282979 | 0.165957 | 0.165957 | 0.165957 | 0.165957 | 0 | 0 | 0.003466 | 0.271465 | 792 | 30 | 76 | 26.4 | 0.811092 | 0.034091 | 0 | 0.1 | 0 | 0 | 0.020243 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.1 | 0.05 | 0.1 | 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 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
80b47eb6cbb61f4ffa22a08991e43aa9a057a268 | 14,260 | py | Python | submit/controllers/ui/new/tests/test_upload.py | cul-it/arxiv-submission-ui | 5cd67e15db72bb8aa4acf686fb3aa8b41727580a | [
"MIT"
] | 4 | 2019-05-26T22:51:12.000Z | 2021-11-05T12:27:41.000Z | submit/controllers/ui/new/tests/test_upload.py | arXiv/arxiv-submission-ui | 5cd67e15db72bb8aa4acf686fb3aa8b41727580a | [
"MIT"
] | 103 | 2018-12-18T20:35:47.000Z | 2021-01-22T16:40:55.000Z | submit/controllers/ui/new/tests/test_upload.py | cul-it/arxiv-submission-ui | 5cd67e15db72bb8aa4acf686fb3aa8b41727580a | [
"MIT"
] | 3 | 2019-05-26T22:51:01.000Z | 2021-11-05T12:27:30.000Z | """Tests for :mod:`submit.controllers.upload`."""
from datetime import timedelta, datetime
from http import HTTPStatus as status
from pytz import timezone
from unittest import TestCase, mock
from werkzeug.datastructures import MultiDict
from werkzeug.exceptions import BadRequest, InternalServerError
from wtforms impo... | 42.567164 | 94 | 0.565428 | 1,386 | 14,260 | 5.592352 | 0.155123 | 0.043349 | 0.025803 | 0.039221 | 0.827635 | 0.791511 | 0.768417 | 0.727519 | 0.701071 | 0.667656 | 0 | 0.020124 | 0.330926 | 14,260 | 334 | 95 | 42.694611 | 0.792265 | 0.042286 | 0 | 0.697368 | 0 | 0 | 0.123897 | 0.056691 | 0 | 0 | 0 | 0 | 0.0625 | 1 | 0.026316 | false | 0 | 0.046053 | 0 | 0.078947 | 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 |
80f3ae3b57601ed2e4ca00de7a641771519b998b | 21 | py | Python | copycat/gui/__init__.py | mmcguill/copycat | 8e59c72c60ef4d30885d7958c8f25ca206199b59 | [
"MIT"
] | 70 | 2018-03-01T03:32:31.000Z | 2022-03-30T23:15:44.000Z | copycat/gui/__init__.py | mmcguill/copycat | 8e59c72c60ef4d30885d7958c8f25ca206199b59 | [
"MIT"
] | 2 | 2018-08-23T21:52:02.000Z | 2020-03-20T06:37:34.000Z | copycat/gui/__init__.py | mmcguill/copycat | 8e59c72c60ef4d30885d7958c8f25ca206199b59 | [
"MIT"
] | 15 | 2018-08-22T09:01:38.000Z | 2022-03-18T06:27:16.000Z | from .gui import GUI
| 10.5 | 20 | 0.761905 | 4 | 21 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
20d4f50c743f7cf3fc79ad8422a4394e484b50db | 41 | py | Python | tensorbspline/__init__.py | pr38/tensorbspline | 6148f118091f15f4c696ee6b4cb45becec7aa226 | [
"Apache-2.0"
] | 1 | 2020-05-18T04:46:51.000Z | 2020-05-18T04:46:51.000Z | tensorbspline/__init__.py | pr38/tensorbspline | 6148f118091f15f4c696ee6b4cb45becec7aa226 | [
"Apache-2.0"
] | null | null | null | tensorbspline/__init__.py | pr38/tensorbspline | 6148f118091f15f4c696ee6b4cb45becec7aa226 | [
"Apache-2.0"
] | null | null | null | from .main import BSpline, TensorBSplines | 41 | 41 | 0.853659 | 5 | 41 | 7 | 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 |
20de820349ac41765460180e27372d3b37ce8914 | 8,450 | py | Python | test/test_message.py | jwodder/daemail | 5e6c68742e08180255c60fa7fbe5e88ccaa55d9a | [
"MIT"
] | 2 | 2016-04-30T02:32:12.000Z | 2020-09-10T10:54:55.000Z | test/test_message.py | jwodder/daemail | 5e6c68742e08180255c60fa7fbe5e88ccaa55d9a | [
"MIT"
] | null | null | null | test/test_message.py | jwodder/daemail | 5e6c68742e08180255c60fa7fbe5e88ccaa55d9a | [
"MIT"
] | 1 | 2017-06-11T16:55:41.000Z | 2017-06-11T16:55:41.000Z | from email.headerregistry import Address
from typing import Dict
from mailbits import email2dict
from daemail.message import USER_AGENT, DraftMessage
TEXT = "àéîøü\n"
def addr2dict(addr: Address) -> Dict[str, str]:
return {
"display_name": addr.display_name,
"address": addr.addr_spec,
}
def... | 30.286738 | 73 | 0.459172 | 809 | 8,450 | 4.668727 | 0.119901 | 0.04448 | 0.029653 | 0.04448 | 0.895684 | 0.885624 | 0.871062 | 0.858088 | 0.858088 | 0.854647 | 0 | 0.010125 | 0.392189 | 8,450 | 278 | 74 | 30.395683 | 0.725273 | 0 | 0 | 0.669202 | 0 | 0 | 0.272308 | 0.008521 | 0 | 0 | 0 | 0 | 0.022814 | 1 | 0.026616 | false | 0 | 0.015209 | 0.003802 | 0.045627 | 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 |
45b5bf7a4f42b6f39d69035ce5b2f8fffa110f17 | 32,961 | py | Python | ovn_octavia_provider/tests/unit/test_driver.py | wpexia/ovn-octavia-provider | e9bf916b928005ee232a637e5e49d829cc84f074 | [
"Apache-2.0"
] | 5 | 2020-02-24T13:25:50.000Z | 2021-11-20T11:33:02.000Z | ovn_octavia_provider/tests/unit/test_driver.py | openstack/ovn-octavia-provider | f257fc1a2411c22c07b6cf5b53fc86e5c8449b69 | [
"Apache-2.0"
] | null | null | null | ovn_octavia_provider/tests/unit/test_driver.py | openstack/ovn-octavia-provider | f257fc1a2411c22c07b6cf5b53fc86e5c8449b69 | [
"Apache-2.0"
] | 1 | 2021-11-29T14:18:33.000Z | 2021-11-29T14:18:33.000Z | #
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# ... | 46.489422 | 79 | 0.629744 | 3,907 | 32,961 | 4.91528 | 0.074226 | 0.078734 | 0.050771 | 0.023433 | 0.847636 | 0.810508 | 0.760727 | 0.74271 | 0.711362 | 0.677723 | 0 | 0.006289 | 0.281241 | 32,961 | 708 | 80 | 46.555085 | 0.804314 | 0.024544 | 0 | 0.622047 | 0 | 0 | 0.063805 | 0.001618 | 0 | 0 | 0 | 0 | 0.085039 | 1 | 0.077165 | false | 0 | 0.017323 | 0 | 0.096063 | 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 |
45bae7f8a906337faa8df1064874485d53ac0e2c | 71 | py | Python | chaptinator/__main__.py | ekut-es/chaptinator | 7cdc896683c9296c337a201434ad96f3802f2c10 | [
"Unlicense"
] | 4 | 2020-04-24T14:09:45.000Z | 2020-04-29T12:26:19.000Z | chaptinator/__main__.py | ekut-es/chaptinator | 7cdc896683c9296c337a201434ad96f3802f2c10 | [
"Unlicense"
] | null | null | null | chaptinator/__main__.py | ekut-es/chaptinator | 7cdc896683c9296c337a201434ad96f3802f2c10 | [
"Unlicense"
] | null | null | null | from .chaptinator import Main
def main():
Main().main()
main()
| 7.888889 | 29 | 0.619718 | 9 | 71 | 4.888889 | 0.555556 | 0.545455 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225352 | 71 | 8 | 30 | 8.875 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
45c6d55e8fdbb95b9fa155bc8f0abe35e2ec98c6 | 200 | py | Python | src/bin/algos_contrib/tests/test_correlation_matrix.py | xynazog/mltk-algo-contrib | c6c99ce686aa549b58aae8e5c5da9cd78e10b97a | [
"Apache-2.0"
] | 65 | 2018-10-03T18:19:34.000Z | 2022-01-05T07:07:10.000Z | src/bin/algos_contrib/tests/test_correlation_matrix.py | xynazog/mltk-algo-contrib | c6c99ce686aa549b58aae8e5c5da9cd78e10b97a | [
"Apache-2.0"
] | 3 | 2018-11-12T19:35:12.000Z | 2021-07-01T11:14:47.000Z | src/bin/algos_contrib/tests/test_correlation_matrix.py | xynazog/mltk-algo-contrib | c6c99ce686aa549b58aae8e5c5da9cd78e10b97a | [
"Apache-2.0"
] | 20 | 2018-11-16T09:01:48.000Z | 2022-03-27T16:33:55.000Z | from algos_contrib.CorrelationMatrix import CorrelationMatrix
from test.contrib_util import AlgoTestUtils
def test_algo():
AlgoTestUtils.assert_algo_basic(CorrelationMatrix, serializable=False)
| 28.571429 | 74 | 0.86 | 22 | 200 | 7.590909 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09 | 200 | 6 | 75 | 33.333333 | 0.917582 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
45e6fbb92383c43586e0496d4dcdf093dc78c234 | 197 | py | Python | uarray/__init__.py | costrouc/uarray | c3c42147181a88265942ad5f9cf439467f746782 | [
"BSD-3-Clause"
] | null | null | null | uarray/__init__.py | costrouc/uarray | c3c42147181a88265942ad5f9cf439467f746782 | [
"BSD-3-Clause"
] | null | null | null | uarray/__init__.py | costrouc/uarray | c3c42147181a88265942ad5f9cf439467f746782 | [
"BSD-3-Clause"
] | null | null | null | """Universal array library"""
from . import ast_higher # NOQA
from .optimize import * # type: ignore
from .moa import * # type: ignore
from .logging import enable_logging
__version__ = "0.4"
| 19.7 | 39 | 0.71066 | 26 | 197 | 5.153846 | 0.653846 | 0.149254 | 0.238806 | 0.298507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012422 | 0.182741 | 197 | 9 | 40 | 21.888889 | 0.819876 | 0.279188 | 0 | 0 | 0 | 0 | 0.022388 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 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 |
b30496f7a1afbc06125f786e2bb9d512912e1bce | 181 | py | Python | captain_console/product/admin.py | DonNinja/VLN-2 | 54ba1bdc8530667c99a0da538bf23927325708f0 | [
"MIT"
] | null | null | null | captain_console/product/admin.py | DonNinja/VLN-2 | 54ba1bdc8530667c99a0da538bf23927325708f0 | [
"MIT"
] | null | null | null | captain_console/product/admin.py | DonNinja/VLN-2 | 54ba1bdc8530667c99a0da538bf23927325708f0 | [
"MIT"
] | null | null | null | from django.contrib import admin
from product.models import Product, Product_images
# Register your models here.
admin.site.register(Product)
admin.site.register(Product_images)
| 20.111111 | 50 | 0.823204 | 25 | 181 | 5.88 | 0.48 | 0.176871 | 0.231293 | 0.326531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104972 | 181 | 8 | 51 | 22.625 | 0.907407 | 0.143646 | 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 |
b355b8dd922b0512c6bfb644022b1c10e3978dfe | 26,901 | py | Python | test/test_macrospec.py | rohankumardubey/pylatexenc | 21a9d5f440f37dd66236528cf04fac7875753943 | [
"MIT"
] | 146 | 2015-11-11T13:58:22.000Z | 2022-03-25T13:42:37.000Z | test/test_macrospec.py | rohankumardubey/pylatexenc | 21a9d5f440f37dd66236528cf04fac7875753943 | [
"MIT"
] | 77 | 2017-02-16T22:12:28.000Z | 2022-02-25T21:51:22.000Z | test/test_macrospec.py | rohankumardubey/pylatexenc | 21a9d5f440f37dd66236528cf04fac7875753943 | [
"MIT"
] | 26 | 2017-02-16T22:08:30.000Z | 2022-02-15T13:48:05.000Z | import unittest
import sys
import logging
if sys.version_info.major > 2:
def unicode(string): return string
basestring = str
from pylatexenc.macrospec import (
ParsedMacroArgs, MacroStandardArgsParser,
MacroSpec, EnvironmentSpec, #SpecialsSpec,
std_macro, std_environment, LatexContextDb
)
from py... | 43.812704 | 98 | 0.543772 | 2,652 | 26,901 | 5.289593 | 0.093514 | 0.114414 | 0.054534 | 0.05988 | 0.827488 | 0.811377 | 0.790776 | 0.748931 | 0.703878 | 0.662176 | 0 | 0.009855 | 0.317237 | 26,901 | 613 | 99 | 43.884176 | 0.753906 | 0.034943 | 0 | 0.561587 | 0 | 0.002088 | 0.075399 | 0.002671 | 0 | 0 | 0 | 0 | 0.254697 | 1 | 0.075157 | false | 0 | 0.014614 | 0.002088 | 0.104384 | 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 |
b36693c0d75917a816e6f0d5fa3c677213436fcb | 33,007 | py | Python | data/image_folder.py | snavely/UprightNet | d22c0c15e19068b272ccb340ff028e688603b869 | [
"MIT"
] | 14 | 2021-04-02T20:42:55.000Z | 2021-07-27T14:43:09.000Z | data/image_folder.py | snavely/UprightNet | d22c0c15e19068b272ccb340ff028e688603b869 | [
"MIT"
] | 1 | 2021-04-15T05:43:16.000Z | 2021-05-28T05:12:45.000Z | data/image_folder.py | snavely/UprightNet | d22c0c15e19068b272ccb340ff028e688603b869 | [
"MIT"
] | 5 | 2021-04-03T00:13:20.000Z | 2022-03-28T08:57:41.000Z | import torch.utils.data as data
import pickle
import PIL
import numpy as np
import torch
import os
import math, random
import os.path
import sys
import cv2
import skimage
from skimage.transform import rotate
import matplotlib
matplotlib.use('Agg')
import matplotlib.pyplot as plt
WALL_THREAHOD = 5e-2
GC_THRESHOLD = 1e... | 40.54914 | 181 | 0.581574 | 4,764 | 33,007 | 3.731738 | 0.059194 | 0.062774 | 0.006581 | 0.0198 | 0.857352 | 0.835977 | 0.81764 | 0.807234 | 0.790753 | 0.780796 | 0 | 0.034649 | 0.269004 | 33,007 | 813 | 182 | 40.599016 | 0.702172 | 0.231799 | 0 | 0.6875 | 0 | 0 | 0.050155 | 0.000873 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058036 | false | 0 | 0.03125 | 0.006696 | 0.147321 | 0.011161 | 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 |
2fdea5a49d6db86cb235cd30f6939bc6b5175bad | 3,467 | py | Python | ome_data_gw/views.py | svituz/ome_seadragon_gateway | ca2a44a71d4cdc74e16dd479db04a27a5a26f800 | [
"MIT"
] | 1 | 2019-12-03T13:42:25.000Z | 2019-12-03T13:42:25.000Z | ome_data_gw/views.py | svituz/ome_seadragon_gateway | ca2a44a71d4cdc74e16dd479db04a27a5a26f800 | [
"MIT"
] | 1 | 2019-12-17T13:43:42.000Z | 2019-12-17T13:43:42.000Z | ome_data_gw/views.py | svituz/ome_seadragon_gateway | ca2a44a71d4cdc74e16dd479db04a27a5a26f800 | [
"MIT"
] | 2 | 2016-08-26T14:11:21.000Z | 2021-02-10T10:06:46.000Z | from view_templates.views import SimpleGetWrapper
from ome_seadragon_gateway.decorators import ome_session_required
import logging
logger = logging.getLogger('ome_seadragon_gw')
class ProjectsListWrapper(SimpleGetWrapper):
@ome_session_required
def get(self, request, client, format=None):
url = sel... | 36.494737 | 78 | 0.691087 | 446 | 3,467 | 5.06278 | 0.103139 | 0.080602 | 0.111603 | 0.120903 | 0.877325 | 0.877325 | 0.877325 | 0.877325 | 0.858725 | 0.766608 | 0 | 0 | 0.188924 | 3,467 | 94 | 79 | 36.882979 | 0.802987 | 0 | 0 | 0.594203 | 0 | 0 | 0.100087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.188406 | false | 0 | 0.043478 | 0 | 0.492754 | 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 |
2fe1cc9e8d2912722befd12987356ab5865ca363 | 97 | py | Python | spiel/__main__.py | JoshKarpel/spiel | 9346e7212bab49a8b5963f5177f161b23c6e8ee8 | [
"MIT"
] | 3 | 2021-05-16T07:34:40.000Z | 2022-01-02T18:22:51.000Z | spiel/__main__.py | JoshKarpel/spiel | 9346e7212bab49a8b5963f5177f161b23c6e8ee8 | [
"MIT"
] | 99 | 2021-03-29T14:35:37.000Z | 2022-03-21T22:11:04.000Z | spiel/__main__.py | JoshKarpel/spiel | 9346e7212bab49a8b5963f5177f161b23c6e8ee8 | [
"MIT"
] | null | null | null | from spiel.constants import PACKAGE_NAME
from spiel.main import app
app(prog_name=PACKAGE_NAME)
| 19.4 | 40 | 0.845361 | 16 | 97 | 4.9375 | 0.5625 | 0.227848 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103093 | 97 | 4 | 41 | 24.25 | 0.908046 | 0 | 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 |
641deb4ab18287f7fe1d4648e37ecb4cddee295d | 189 | py | Python | xrpl/asyncio/__init__.py | SubCODERS/xrpl-py | 24a02d099002625794f5b6491ec2cafd872cc721 | [
"ISC"
] | 1 | 2022-03-11T07:01:02.000Z | 2022-03-11T07:01:02.000Z | xrpl/asyncio/__init__.py | SubCODERS/xrpl-py | 24a02d099002625794f5b6491ec2cafd872cc721 | [
"ISC"
] | 2 | 2022-02-23T22:57:46.000Z | 2022-02-24T11:41:49.000Z | xrpl/asyncio/__init__.py | SubCODERS/xrpl-py | 24a02d099002625794f5b6491ec2cafd872cc721 | [
"ISC"
] | 1 | 2022-02-21T07:36:36.000Z | 2022-02-21T07:36:36.000Z | """High-level XRPL exports for async support."""
from xrpl.asyncio import account, clients, ledger, transaction, wallet
__all__ = ["account", "clients", "ledger", "transaction", "wallet"]
| 37.8 | 70 | 0.724868 | 22 | 189 | 6.045455 | 0.727273 | 0.210526 | 0.300752 | 0.466165 | 0.556391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116402 | 189 | 4 | 71 | 47.25 | 0.796407 | 0.222222 | 0 | 0 | 0 | 0 | 0.262411 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
ffa5f10364a7e21e65e3a960af94a2bfe1446169 | 344 | py | Python | relex/modules/offset_embedders/__init__.py | DFKI-NLP/RelEx | 0826c02f793b78bf8b7b7001c2e3fdfdb25c1ad2 | [
"Apache-2.0"
] | 16 | 2020-04-21T19:04:23.000Z | 2021-08-03T04:30:43.000Z | relex/modules/offset_embedders/__init__.py | DFKI-NLP/RelEx | 0826c02f793b78bf8b7b7001c2e3fdfdb25c1ad2 | [
"Apache-2.0"
] | 3 | 2020-07-25T12:29:21.000Z | 2021-06-11T02:06:58.000Z | relex/modules/offset_embedders/__init__.py | DFKI-NLP/RelEx | 0826c02f793b78bf8b7b7001c2e3fdfdb25c1ad2 | [
"Apache-2.0"
] | 2 | 2020-06-25T12:50:57.000Z | 2020-11-01T10:31:04.000Z | from relex.modules.offset_embedders.offset_embedder import OffsetEmbedder
from relex.modules.offset_embedders.relative_offset_embedder import RelativeOffsetEmbedder
from relex.modules.offset_embedders.sine_offset_embedder import SineOffsetEmbedder
from relex.modules.offset_embedders.entity_only_offset_embedder import E... | 68.8 | 95 | 0.918605 | 40 | 344 | 7.6 | 0.375 | 0.118421 | 0.210526 | 0.289474 | 0.407895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046512 | 344 | 4 | 96 | 86 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
44373f0a05a8b3586926fe8b8c54104e9e4c355c | 242 | py | Python | cronicl/triggers/__init__.py | joocer/cronicl | 5ab215554939699683752cb7b8549756edff9ea5 | [
"Apache-2.0"
] | null | null | null | cronicl/triggers/__init__.py | joocer/cronicl | 5ab215554939699683752cb7b8549756edff9ea5 | [
"Apache-2.0"
] | 73 | 2020-10-05T21:00:48.000Z | 2020-11-16T23:29:41.000Z | cronicl/triggers/__init__.py | joocer/cronicl | 5ab215554939699683752cb7b8549756edff9ea5 | [
"Apache-2.0"
] | 2 | 2020-11-09T12:33:22.000Z | 2020-11-30T15:50:08.000Z | from .base_trigger import BaseTrigger, BasePollingTrigger
from .interval_trigger import IntervalTrigger
from .cron_trigger import CronTrigger
from .simple_http_trigger import SimpleHTTPTrigger
from .file_watch_trigger import FileWatchTrigger
| 40.333333 | 57 | 0.88843 | 28 | 242 | 7.428571 | 0.571429 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086777 | 242 | 5 | 58 | 48.4 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 |
44378357a60251057d804bbb846ea5247367740c | 39 | py | Python | flask_appbuilder/security/sqla/apis/user/__init__.py | EBoisseauSierra/Flask-AppBuilder | b21138271f137179bdb691b4abb7bcc027dd7a4e | [
"BSD-3-Clause"
] | null | null | null | flask_appbuilder/security/sqla/apis/user/__init__.py | EBoisseauSierra/Flask-AppBuilder | b21138271f137179bdb691b4abb7bcc027dd7a4e | [
"BSD-3-Clause"
] | null | null | null | flask_appbuilder/security/sqla/apis/user/__init__.py | EBoisseauSierra/Flask-AppBuilder | b21138271f137179bdb691b4abb7bcc027dd7a4e | [
"BSD-3-Clause"
] | null | null | null | from .api import UserApi # noqa: F401
| 19.5 | 38 | 0.717949 | 6 | 39 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0.205128 | 39 | 1 | 39 | 39 | 0.806452 | 0.25641 | 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 |
446136d04a8aa47ac6f7bb9aee37c6eb88978711 | 8,356 | py | Python | M_YBUS.py | OrlandoRam18/Voltage-stability-optimization-Optimum-power-flow- | 4c5d1b975eb6ee9d73ccf5366a3e4b34765d349e | [
"MIT"
] | null | null | null | M_YBUS.py | OrlandoRam18/Voltage-stability-optimization-Optimum-power-flow- | 4c5d1b975eb6ee9d73ccf5366a3e4b34765d349e | [
"MIT"
] | null | null | null | M_YBUS.py | OrlandoRam18/Voltage-stability-optimization-Optimum-power-flow- | 4c5d1b975eb6ee9d73ccf5366a3e4b34765d349e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Mon Jul 6 10:18:25 2020
@author: orlan_qtpj2q1
"""
# Construcción de la matriz de admitancias
def Y_bus(line,bus):
nbuses = len(bus);
import numpy as np
Y=np.zeros((nbuses,nbuses),dtype=complex)
orden=[]
for k in range(1,nbuses+1): orden.append(k)
for ... | 46.165746 | 124 | 0.548109 | 1,498 | 8,356 | 3.038718 | 0.097463 | 0.040641 | 0.037566 | 0.019772 | 0.808216 | 0.770211 | 0.767794 | 0.739455 | 0.708919 | 0.696397 | 0 | 0.030567 | 0.271781 | 8,356 | 180 | 125 | 46.422222 | 0.717502 | 0.274653 | 0 | 0.691781 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034247 | false | 0 | 0.034247 | 0 | 0.10274 | 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 |
447db2af0e3dee632d86ed31536a408138cbc320 | 31 | py | Python | bot/utils/__init__.py | adreex/CheckNicknameBot | 4316679fbee74081da0be1fa67556d7558d74cb5 | [
"MIT"
] | 19 | 2020-01-14T18:53:19.000Z | 2021-01-29T10:38:03.000Z | bot/utils/__init__.py | adreex/CheckNicknameBot | 4316679fbee74081da0be1fa67556d7558d74cb5 | [
"MIT"
] | 2 | 2021-07-14T18:53:37.000Z | 2021-07-14T18:53:37.000Z | bot/utils/__init__.py | adreex/CheckNicknameBot | 4316679fbee74081da0be1fa67556d7558d74cb5 | [
"MIT"
] | 6 | 2020-04-05T12:07:12.000Z | 2021-01-30T19:33:43.000Z | from .checkers import checkers
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 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 |
923c421490720d34e0b6e45280711257807883f0 | 208 | py | Python | fakehome/core/__init__.py | yop0/DeepR | 081cba2b02a71bb9c27ae854c617492dff6e0727 | [
"MIT"
] | 2 | 2019-04-10T09:11:07.000Z | 2019-10-15T09:46:13.000Z | fakehome/core/__init__.py | yop0/fakehome | 081cba2b02a71bb9c27ae854c617492dff6e0727 | [
"MIT"
] | null | null | null | fakehome/core/__init__.py | yop0/fakehome | 081cba2b02a71bb9c27ae854c617492dff6e0727 | [
"MIT"
] | null | null | null | from .BaseOntology import *
from .DatasetObject import DatasetObject
from .FakeHomeOntology import FakeHomeOntology
from .FakeHomeGraph import FakeHomeGraph
from .FakeHomeGraph import adjacency_from_ontology
| 34.666667 | 50 | 0.875 | 21 | 208 | 8.571429 | 0.380952 | 0.188889 | 0.255556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096154 | 208 | 5 | 51 | 41.6 | 0.957447 | 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 |
9254623c0db29b32d65c17c9d7696935c0de96f8 | 601 | py | Python | Code/lecture 26/string_format.py | capacitybuilding/Introduction-to-Computng | 77639e53ed53896581c4a8431f32198237ac70dc | [
"MIT"
] | null | null | null | Code/lecture 26/string_format.py | capacitybuilding/Introduction-to-Computng | 77639e53ed53896581c4a8431f32198237ac70dc | [
"MIT"
] | null | null | null | Code/lecture 26/string_format.py | capacitybuilding/Introduction-to-Computng | 77639e53ed53896581c4a8431f32198237ac70dc | [
"MIT"
] | null | null | null | print "student %d name is %s:" % (5, 'Malik')
print '%.4f' % (2.2)
print '%.3g' % (25)
print 'United States', 104
print 'Korea', 29
print 'Ethiopia', 23
print 'China', 88
print 'Australia', 35
print '\n\n\n'
print '%-20s%-10d' % ('United States', 104)
print '%-20s%-10d' % ('Korea', 29)
print '%-20s%-10d' % ('Ethiop... | 22.259259 | 45 | 0.574043 | 91 | 601 | 3.791209 | 0.285714 | 0.231884 | 0.318841 | 0.173913 | 0.686957 | 0.686957 | 0.686957 | 0.686957 | 0.686957 | 0.686957 | 0 | 0.158103 | 0.15807 | 601 | 26 | 46 | 23.115385 | 0.523715 | 0 | 0 | 0.1 | 0 | 0 | 0.427621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
2b8274e52951f4efd44bd06a915efc6200bbe57d | 10,798 | py | Python | nrrd/tests/test_writing.py | jcnils/pynrrd | 512b4517e3a57bb5e3a1d2a6cfa7ef8e492a30d8 | [
"MIT"
] | null | null | null | nrrd/tests/test_writing.py | jcnils/pynrrd | 512b4517e3a57bb5e3a1d2a6cfa7ef8e492a30d8 | [
"MIT"
] | null | null | null | nrrd/tests/test_writing.py | jcnils/pynrrd | 512b4517e3a57bb5e3a1d2a6cfa7ef8e492a30d8 | [
"MIT"
] | null | null | null | import os
import sys
sys.path.append(os.path.dirname(os.path.dirname(os.path.dirname(__file__))))
import tempfile
import numpy as np
from nrrd.tests.util import *
import nrrd
class TestWritingFunctions(unittest.TestCase):
def setUp(self):
self.temp_write_dir = tempfile.mkdtemp('nrrdtest')
self.d... | 45.754237 | 119 | 0.651139 | 1,430 | 10,798 | 4.711189 | 0.133566 | 0.122458 | 0.094998 | 0.042749 | 0.822324 | 0.80377 | 0.781654 | 0.779575 | 0.765474 | 0.702538 | 0 | 0.044973 | 0.221615 | 10,798 | 235 | 120 | 45.948936 | 0.756573 | 0.048713 | 0 | 0.503067 | 0 | 0.02454 | 0.189743 | 0.0586 | 0 | 0 | 0 | 0 | 0.368098 | 1 | 0.116564 | false | 0 | 0.055215 | 0 | 0.184049 | 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 |
2ba6a19a3518ebb3889e7384bfaef4efaf75c24f | 229 | py | Python | tornado_demo/web2py/gluon/contrib/simplejson.py | ls-2018/tips | 1f5f5195d7181b5dd4616db02166f7f92c97f1cd | [
"MIT"
] | 2 | 2019-05-07T03:08:25.000Z | 2020-05-22T10:10:00.000Z | tornado_demo/web2py/gluon/contrib/simplejson.py | ls-2018/tips | 1f5f5195d7181b5dd4616db02166f7f92c97f1cd | [
"MIT"
] | 7 | 2020-05-22T13:29:42.000Z | 2021-09-23T23:30:25.000Z | tornado_demo/web2py/gluon/contrib/simplejson.py | ls-2018/py | 1f5f5195d7181b5dd4616db02166f7f92c97f1cd | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Dummy simplejson module for backwards compatibility with applications that import simplejson from gluon.contrib
TODO: Remove this.
"""
from json import *
class JSONDecodeError(ValueError):
pass
| 19.083333 | 111 | 0.742358 | 27 | 229 | 6.296296 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005208 | 0.161572 | 229 | 11 | 112 | 20.818182 | 0.880208 | 0.672489 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
2bc74cbfd74bfad9218e501a4e66f76b2b367f2b | 284 | py | Python | functoolsplus/__init__.py | apragacz/functoolsplus | 9d26666a2d017b25dd0e031ddde1570f5a4bffd3 | [
"MIT"
] | 2 | 2019-03-01T15:09:16.000Z | 2021-01-26T15:18:58.000Z | functoolsplus/__init__.py | apragacz/functoolsplus | 9d26666a2d017b25dd0e031ddde1570f5a4bffd3 | [
"MIT"
] | null | null | null | functoolsplus/__init__.py | apragacz/functoolsplus | 9d26666a2d017b25dd0e031ddde1570f5a4bffd3 | [
"MIT"
] | null | null | null | from functoolsplus.containers.pipes import P, Pipe, PipeRegistry # noqa: F401
from functoolsplus.containers.pipes import default_registry as default_pipe_registry # noqa: F401, E501
from functoolsplus.hof import filter, flatmap, fold, map, unit # noqa: F401
__version__ = '0.0.1'
| 47.333333 | 104 | 0.788732 | 39 | 284 | 5.564103 | 0.589744 | 0.235023 | 0.248848 | 0.294931 | 0.35023 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060729 | 0.130282 | 284 | 5 | 105 | 56.8 | 0.817814 | 0.133803 | 0 | 0 | 0 | 0 | 0.020661 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.