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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f8ef348d72a2c59ebee4e58d2d54391c314c7c4c | 49 | py | Python | tasks/__init__.py | narphorium/mesh-transformer-jax | 76cda3c2440e5993d697d04650ea6429f8574c83 | [
"Apache-2.0"
] | 4,045 | 2021-03-14T06:09:01.000Z | 2022-03-31T16:24:44.000Z | tasks/__init__.py | narphorium/mesh-transformer-jax | 76cda3c2440e5993d697d04650ea6429f8574c83 | [
"Apache-2.0"
] | 201 | 2021-03-19T16:08:36.000Z | 2022-03-28T01:55:55.000Z | tasks/__init__.py | narphorium/mesh-transformer-jax | 76cda3c2440e5993d697d04650ea6429f8574c83 | [
"Apache-2.0"
] | 520 | 2021-04-25T23:53:31.000Z | 2022-03-31T14:35:09.000Z | from tasks.eval_harness import EvalHarnessAdaptor | 49 | 49 | 0.918367 | 6 | 49 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 49 | 1 | 49 | 49 | 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 |
5d043b00f5a0354f5f8a7b201a82c099454d5f5d | 6,576 | py | Python | tests/test_ops/test_roiaware_pool3d.py | BIGWangYuDong/mmcv | c46deb0576edaff5cd5a7d384c617478c7a73a70 | [
"Apache-2.0"
] | null | null | null | tests/test_ops/test_roiaware_pool3d.py | BIGWangYuDong/mmcv | c46deb0576edaff5cd5a7d384c617478c7a73a70 | [
"Apache-2.0"
] | null | null | null | tests/test_ops/test_roiaware_pool3d.py | BIGWangYuDong/mmcv | c46deb0576edaff5cd5a7d384c617478c7a73a70 | [
"Apache-2.0"
] | null | null | null | # Copyright (c) OpenMMLab. All rights reserved.
import numpy as np
import pytest
import torch
from mmcv.ops import (RoIAwarePool3d, points_in_boxes_all, points_in_boxes_cpu,
points_in_boxes_part)
@pytest.mark.skipif(
not torch.cuda.is_available(), reason='requires CUDA support')
def test_Ro... | 45.666667 | 79 | 0.524483 | 1,135 | 6,576 | 2.933921 | 0.088987 | 0.043243 | 0.043243 | 0.045646 | 0.866967 | 0.829129 | 0.825526 | 0.810811 | 0.805706 | 0.789489 | 0 | 0.160943 | 0.251673 | 6,576 | 143 | 80 | 45.986014 | 0.515749 | 0.063412 | 0 | 0.620968 | 0 | 0 | 0.014153 | 0 | 0 | 0 | 0 | 0 | 0.112903 | 1 | 0.032258 | false | 0 | 0.032258 | 0 | 0.064516 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5d0bc92595b7d95b7cd9d6493f7911bc96c4ffd9 | 91 | py | Python | tests/__init__.py | SabaunT/bot-motivator | 6b80b8d47f9ed0d071195c1f312a419093665994 | [
"MIT"
] | null | null | null | tests/__init__.py | SabaunT/bot-motivator | 6b80b8d47f9ed0d071195c1f312a419093665994 | [
"MIT"
] | 4 | 2019-12-15T13:39:22.000Z | 2020-02-20T14:07:55.000Z | tests/__init__.py | SabaunT/bot-motivator | 6b80b8d47f9ed0d071195c1f312a419093665994 | [
"MIT"
] | 2 | 2019-12-12T22:13:35.000Z | 2020-03-08T18:37:06.000Z | import sys
sys.path.append('/media/sabaun/4C71BE7650587C7D/documents/bot-motivator/app')
| 18.2 | 77 | 0.802198 | 12 | 91 | 6.083333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127907 | 0.054945 | 91 | 4 | 78 | 22.75 | 0.72093 | 0 | 0 | 0 | 0 | 0 | 0.637363 | 0.637363 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
5d5fa3c7ea19826d2fb8fef75fd71f779425c931 | 3,928 | py | Python | tests/test_user_remove_association.py | ScilifelabDataCentre/DDS_WEB | 8799cf51bef456fb843758b2e94462766e2b3319 | [
"BSD-3-Clause"
] | 3 | 2021-06-18T09:38:28.000Z | 2022-02-28T19:37:54.000Z | tests/test_user_remove_association.py | ScilifelabDataCentre/DDS_WEB | 8799cf51bef456fb843758b2e94462766e2b3319 | [
"BSD-3-Clause"
] | 610 | 2021-05-12T08:33:31.000Z | 2022-03-31T14:55:05.000Z | tests/test_user_remove_association.py | ScilifelabDataCentre/DDS_WEB | 8799cf51bef456fb843758b2e94462766e2b3319 | [
"BSD-3-Clause"
] | 12 | 2021-05-19T10:33:45.000Z | 2022-03-16T10:23:27.000Z | # Installed
import json
import http
import copy
# Own
import tests
from tests.test_project_creation import proj_data_with_existing_users
def test_remove_user_from_project(client, boto3_session):
"""Remove an associated user from a project"""
response = client.post(
tests.DDSEndpoint.PROJECT_CREATE,
... | 37.056604 | 90 | 0.714358 | 500 | 3,928 | 5.364 | 0.154 | 0.040268 | 0.03132 | 0.0522 | 0.824758 | 0.797539 | 0.785235 | 0.772558 | 0.772558 | 0.739746 | 0 | 0.003391 | 0.174134 | 3,928 | 105 | 91 | 37.409524 | 0.823366 | 0.058299 | 0 | 0.632911 | 0 | 0 | 0.154202 | 0.006527 | 0 | 0 | 0 | 0 | 0.139241 | 1 | 0.050633 | false | 0 | 0.063291 | 0 | 0.113924 | 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 |
5d687722fb221687e6fbfc314fc00c6f862c1a8d | 12,559 | py | Python | project/proj2_baseball/src/RobotControl.py | robot-tutorial/robotics_tutorial | 12affebfe6cb3810cc1e8fde4c674ed077b926a5 | [
"MIT"
] | null | null | null | project/proj2_baseball/src/RobotControl.py | robot-tutorial/robotics_tutorial | 12affebfe6cb3810cc1e8fde4c674ed077b926a5 | [
"MIT"
] | null | null | null | project/proj2_baseball/src/RobotControl.py | robot-tutorial/robotics_tutorial | 12affebfe6cb3810cc1e8fde4c674ed077b926a5 | [
"MIT"
] | 1 | 2020-04-23T14:11:00.000Z | 2020-04-23T14:11:00.000Z | import pybullet as p
import numpy as np
import Jacobian
def load():
# work in the following section to load your robot
robotName = 'HextechCatcher.urdf'
# robotPath = os.path.join('project', 'proj2_baseball', 'rsc', robotName)
robotInitPos = [0.0, 0.0, 1.1]
robotInitOrn = p.getQuaternionFromEuler(... | 45.503623 | 191 | 0.490963 | 1,893 | 12,559 | 3.221342 | 0.092446 | 0.049524 | 0.029518 | 0.019023 | 0.798623 | 0.788291 | 0.782716 | 0.782224 | 0.782224 | 0.782224 | 0 | 0.106729 | 0.299467 | 12,559 | 275 | 192 | 45.669091 | 0.586383 | 0.06346 | 0 | 0.812785 | 0 | 0 | 0.011069 | 0.002895 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013699 | false | 0.004566 | 0.013699 | 0 | 0.03653 | 0.054795 | 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 |
5d754a6d621ae31faaddae4c3d9bcea8f1fa9210 | 98 | py | Python | tests/test_initialize.py | bos-lab/piret | 23ecdf80331d72612bb2f48ab3207117673c373d | [
"BSD-3-Clause"
] | 2 | 2017-05-04T05:25:43.000Z | 2017-08-02T19:20:53.000Z | tests/test_initialize.py | bos-lab/piret | 23ecdf80331d72612bb2f48ab3207117673c373d | [
"BSD-3-Clause"
] | 7 | 2018-01-24T16:39:47.000Z | 2018-04-11T16:49:42.000Z | tests/test_initialize.py | bos-lab/piret | 23ecdf80331d72612bb2f48ab3207117673c373d | [
"BSD-3-Clause"
] | 4 | 2017-08-02T19:20:57.000Z | 2018-01-10T00:31:31.000Z | #! /usr/bin/env python
from piret import initialize
def test_initialize():
assert initialize | 16.333333 | 28 | 0.755102 | 13 | 98 | 5.615385 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 98 | 6 | 29 | 16.333333 | 0.890244 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
537e7aaa2404beb498874165d39ce1998b7e2c9f | 174 | py | Python | gallery/email_info.py | glpinto10/multimedia-gallery | 95e33ac85f872442c6de193fdf8bf58e57833085 | [
"MIT"
] | 1 | 2020-12-15T02:39:41.000Z | 2020-12-15T02:39:41.000Z | gallery/email_info.py | cinemafactory2/multimedia-gallery | af5a05a1bdecb7d5c7a20c06f371a3e5c542f076 | [
"MIT"
] | 1 | 2019-02-09T23:37:56.000Z | 2019-02-09T23:37:56.000Z | gallery/email_info.py | cinemafactory2/multimedia-gallery | af5a05a1bdecb7d5c7a20c06f371a3e5c542f076 | [
"MIT"
] | 2 | 2019-02-02T21:51:00.000Z | 2019-02-10T00:15:39.000Z | #Info email
EMAIL_USE_TLS = True
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_HOST_USER = 'info.multimedia.gallery@gmail.com'
EMAIL_HOST_PASSWORD = 'tVxT/_yk4&3fYG..'
EMAIL_PORT = 587 | 29 | 53 | 0.781609 | 28 | 174 | 4.535714 | 0.642857 | 0.212598 | 0.204724 | 0.267717 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031646 | 0.091954 | 174 | 6 | 54 | 29 | 0.772152 | 0.057471 | 0 | 0 | 0 | 0 | 0.384146 | 0.20122 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
539e44c3fe26e6378a9099ddcc68a69bb61154e4 | 41 | py | Python | test/run/t521.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | test/run/t521.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | test/run/t521.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | x = (1,2,3)
print hash(x), type(hash(x))
| 13.666667 | 28 | 0.560976 | 10 | 41 | 2.3 | 0.7 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 0.146341 | 41 | 2 | 29 | 20.5 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
53b2f3a444d1fdda965256906160179199bd07c9 | 242 | py | Python | torchinfo/__init__.py | kgarg8/torchinfo | 2d472402906b2da1a95fff249f2a2d89e5175fa1 | [
"MIT"
] | null | null | null | torchinfo/__init__.py | kgarg8/torchinfo | 2d472402906b2da1a95fff249f2a2d89e5175fa1 | [
"MIT"
] | null | null | null | torchinfo/__init__.py | kgarg8/torchinfo | 2d472402906b2da1a95fff249f2a2d89e5175fa1 | [
"MIT"
] | null | null | null | """ torchinfo """
from .formatting import ALL_COLUMN_SETTINGS, ALL_ROW_SETTINGS
from .model_statistics import ModelStatistics
from .torchinfo import summary
__all__ = ("ModelStatistics", "summary", "ALL_COLUMN_SETTINGS", "ALL_ROW_SETTINGS")
| 34.571429 | 83 | 0.805785 | 28 | 242 | 6.5 | 0.428571 | 0.098901 | 0.186813 | 0.21978 | 0.340659 | 0.340659 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095041 | 242 | 6 | 84 | 40.333333 | 0.83105 | 0.03719 | 0 | 0 | 0 | 0 | 0.253333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
07029a1251dbe0b229b46aa6ab66a36fbc3baeba | 4,190 | py | Python | tests/cupy_tests/padding_tests/test_pad.py | wkentaro/cupy | 1d072d0b3cb2780c0874201c0222d46fa8e7797d | [
"BSD-3-Clause"
] | 1 | 2020-11-24T03:44:35.000Z | 2020-11-24T03:44:35.000Z | tests/cupy_tests/padding_tests/test_pad.py | wkentaro/cupy | 1d072d0b3cb2780c0874201c0222d46fa8e7797d | [
"BSD-3-Clause"
] | null | null | null | tests/cupy_tests/padding_tests/test_pad.py | wkentaro/cupy | 1d072d0b3cb2780c0874201c0222d46fa8e7797d | [
"BSD-3-Clause"
] | 1 | 2020-11-24T03:44:35.000Z | 2020-11-24T03:44:35.000Z | import unittest
import warnings
import numpy
from cupy import testing
@testing.parameterize(
{'array': numpy.arange(6).reshape([2, 3]), 'pad_width': 1,
'mode': 'constant'},
{'array': numpy.arange(6).reshape([2, 3]),
'pad_width': [1, 2], 'mode': 'constant'},
{'array': numpy.arange(6).reshape([2... | 31.742424 | 78 | 0.606444 | 545 | 4,190 | 4.480734 | 0.144954 | 0.06552 | 0.026618 | 0.053235 | 0.841523 | 0.841523 | 0.799345 | 0.719083 | 0.711712 | 0.615889 | 0 | 0.034801 | 0.22506 | 4,190 | 131 | 79 | 31.984733 | 0.717277 | 0.047255 | 0 | 0.558824 | 0 | 0 | 0.147981 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068627 | false | 0 | 0.039216 | 0.019608 | 0.294118 | 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 |
ab2046fe69a24cd2c8cc223b956b951c8b80b773 | 39 | py | Python | evaml/logging/__init__.py | hillolkallol/evaML | dec7b2b97e25fa0c7c2df8356952417cf8f7051b | [
"MIT"
] | null | null | null | evaml/logging/__init__.py | hillolkallol/evaML | dec7b2b97e25fa0c7c2df8356952417cf8f7051b | [
"MIT"
] | 3 | 2021-03-29T20:46:58.000Z | 2021-03-29T21:00:07.000Z | evaml/logging/__init__.py | hillolkallol/evaML | dec7b2b97e25fa0c7c2df8356952417cf8f7051b | [
"MIT"
] | null | null | null | from evaml.logging.logger import logger | 39 | 39 | 0.871795 | 6 | 39 | 5.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 39 | 1 | 39 | 39 | 0.944444 | 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 |
ab26858bdcd04218b32fd4fecbc7e5a2407c871b | 463 | py | Python | orchestra/contrib/orchestration/signals.py | RubenPX/django-orchestra | 5ab4779e1ae12ec99569d682601b7810587ed381 | [
"Unlicense"
] | 68 | 2015-02-09T10:28:44.000Z | 2022-03-12T11:08:36.000Z | orchestra/contrib/orchestration/signals.py | RubenPX/django-orchestra | 5ab4779e1ae12ec99569d682601b7810587ed381 | [
"Unlicense"
] | 17 | 2015-05-01T18:10:03.000Z | 2021-03-19T21:52:55.000Z | orchestra/contrib/orchestration/signals.py | RubenPX/django-orchestra | 5ab4779e1ae12ec99569d682601b7810587ed381 | [
"Unlicense"
] | 29 | 2015-03-31T04:51:03.000Z | 2022-02-17T02:58:50.000Z | import django.dispatch
pre_action = django.dispatch.Signal(providing_args=['backend', 'instance', 'action'])
post_action = django.dispatch.Signal(providing_args=['backend', 'instance', 'action'])
pre_prepare = django.dispatch.Signal(providing_args=['backend'])
post_prepare = django.dispatch.Signal(providing_args=[... | 30.866667 | 86 | 0.775378 | 55 | 463 | 6.309091 | 0.236364 | 0.282421 | 0.345821 | 0.501441 | 0.904899 | 0.904899 | 0.904899 | 0.345821 | 0.345821 | 0 | 0 | 0 | 0.066955 | 463 | 14 | 87 | 33.071429 | 0.803241 | 0 | 0 | 0 | 0 | 0 | 0.151188 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ab4924b7f24f20882e6ea4056cba01142573c5f1 | 17,949 | py | Python | pyscf/pbc/dft/test/test_multigrid.py | willwheelera/pyscf | 1de7f6fb8403bb0769a05eade2c2e7aa4f8a160e | [
"Apache-2.0"
] | null | null | null | pyscf/pbc/dft/test/test_multigrid.py | willwheelera/pyscf | 1de7f6fb8403bb0769a05eade2c2e7aa4f8a160e | [
"Apache-2.0"
] | null | null | null | pyscf/pbc/dft/test/test_multigrid.py | willwheelera/pyscf | 1de7f6fb8403bb0769a05eade2c2e7aa4f8a160e | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# Copyright 2014-2018 The PySCF Developers. All Rights Reserved.
#
# 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
#
# U... | 41.357143 | 90 | 0.599421 | 2,701 | 17,949 | 3.818215 | 0.094039 | 0.020944 | 0.088432 | 0.047125 | 0.828372 | 0.797828 | 0.751188 | 0.729468 | 0.700572 | 0.672452 | 0 | 0.031116 | 0.25695 | 17,949 | 433 | 91 | 41.452656 | 0.742146 | 0.043791 | 0 | 0.576177 | 0 | 0 | 0.02094 | 0 | 0 | 0 | 0 | 0 | 0.213296 | 1 | 0.074792 | false | 0 | 0.019391 | 0 | 0.096953 | 0.00277 | 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 |
ab63864ff2de6af656ead09d70797f9b27c5569c | 33 | py | Python | tnp/__init__.py | daico007/TNP | 1877bc86f5a40f1503022491f5dd9495d23332ad | [
"MIT"
] | null | null | null | tnp/__init__.py | daico007/TNP | 1877bc86f5a40f1503022491f5dd9495d23332ad | [
"MIT"
] | null | null | null | tnp/__init__.py | daico007/TNP | 1877bc86f5a40f1503022491f5dd9495d23332ad | [
"MIT"
] | null | null | null | from .silicatnp import SilicaTNP
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 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 |
db5170b93a7516bfe1e27c019fa0a5bb53c9bcac | 5,907 | py | Python | var/spack/repos/builtin/packages/nano/package.py | jeanbez/spack | f4e51ce8f366c85bf5aa0eafe078677b42dae1ba | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | var/spack/repos/builtin/packages/nano/package.py | jeanbez/spack | f4e51ce8f366c85bf5aa0eafe078677b42dae1ba | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 8 | 2021-11-09T20:28:40.000Z | 2022-03-15T03:26:33.000Z | var/spack/repos/builtin/packages/nano/package.py | jeanbez/spack | f4e51ce8f366c85bf5aa0eafe078677b42dae1ba | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 2 | 2019-02-08T20:37:20.000Z | 2019-03-31T15:19:26.000Z | # Copyright 2013-2022 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack.package import *
class Nano(AutotoolsPackage):
"""Tiny little text editor"""
homepage = "https://www... | 67.125 | 95 | 0.803115 | 425 | 5,907 | 11.145882 | 0.301176 | 0.04391 | 0.017099 | 0.015199 | 0.022166 | 0.017733 | 0.017733 | 0 | 0 | 0 | 0 | 0.449879 | 0.089724 | 5,907 | 87 | 96 | 67.896552 | 0.431095 | 0.042831 | 0 | 0 | 0 | 0.029851 | 0.669505 | 0.601739 | 0 | 1 | 0 | 0 | 0 | 1 | 0.014925 | false | 0 | 0.014925 | 0 | 0.119403 | 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 |
db6e003633a91ae4f78a2d376693bdd0a4fcfe63 | 19,070 | py | Python | layers/equivariant_linear.py | JiaHe-yogurt/GNN | 6b6dbc362591b4521e0b437d17ab09c1c879aa75 | [
"Apache-2.0"
] | null | null | null | layers/equivariant_linear.py | JiaHe-yogurt/GNN | 6b6dbc362591b4521e0b437d17ab09c1c879aa75 | [
"Apache-2.0"
] | null | null | null | layers/equivariant_linear.py | JiaHe-yogurt/GNN | 6b6dbc362591b4521e0b437d17ab09c1c879aa75 | [
"Apache-2.0"
] | null | null | null | import tensorflow.compat.v1 as tf
import numpy as np
def equi_2_to_2(name, input_depth, output_depth, inputs, normalization='inf', normalization_val=1.0):
'''
:param name: name of layer
:param input_depth: D
:param output_depth: S
:param inputs: N x D x m x m tensor
:return: output: N x S x m ... | 40.317125 | 172 | 0.625223 | 3,259 | 19,070 | 3.48788 | 0.050015 | 0.019002 | 0.016891 | 0.02041 | 0.886162 | 0.84587 | 0.819565 | 0.78895 | 0.755168 | 0.729128 | 0 | 0.053634 | 0.240325 | 19,070 | 472 | 173 | 40.402542 | 0.731 | 0.313214 | 0 | 0.529412 | 0 | 0 | 0.017774 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.063725 | false | 0 | 0.009804 | 0 | 0.137255 | 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 |
db76c034e675ea1b2db91f7069f2c7c7df97b830 | 93 | py | Python | utils/models.py | HackTJ/live | 2e29176da78e2a2834e1004c7390d4a74c324142 | [
"MIT"
] | 2 | 2021-03-11T22:50:23.000Z | 2021-05-13T14:52:25.000Z | utils/models.py | HackTJ/live | 2e29176da78e2a2834e1004c7390d4a74c324142 | [
"MIT"
] | 78 | 2020-08-01T20:06:38.000Z | 2022-03-30T23:34:02.000Z | utils/models.py | HackTJ/live | 2e29176da78e2a2834e1004c7390d4a74c324142 | [
"MIT"
] | null | null | null | from django.contrib.auth.models import AbstractUser
class LiveUser(AbstractUser):
pass
| 15.5 | 51 | 0.795699 | 11 | 93 | 6.727273 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139785 | 93 | 5 | 52 | 18.6 | 0.925 | 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 |
db9b4df2728a38085dc57875eaaeee6decb75ba3 | 27 | py | Python | experiments/data_structure/__init__.py | shruti-bt/data-structure-python | 0729f486f516ce05acdd92b28b108f43b67f656f | [
"MIT"
] | 1 | 2022-01-10T17:17:35.000Z | 2022-01-10T17:17:35.000Z | experiments/data_structure/__init__.py | shruti-bt/data-structure-python | 0729f486f516ce05acdd92b28b108f43b67f656f | [
"MIT"
] | null | null | null | experiments/data_structure/__init__.py | shruti-bt/data-structure-python | 0729f486f516ce05acdd92b28b108f43b67f656f | [
"MIT"
] | null | null | null | from ._stack import Stack
| 13.5 | 26 | 0.777778 | 4 | 27 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 27 | 1 | 27 | 27 | 0.909091 | 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 |
dbbd9c3da5af5b70f9f7582aab184e41efa34db1 | 14,353 | py | Python | pybind/slxos/v17r_2_00/interface/ethernet/qos/rx_queue/multicast/queue_size/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v17r_2_00/interface/ethernet/qos/rx_queue/multicast/queue_size/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v17r_2_00/interface/ethernet/qos/rx_queue/multicast/queue_size/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 72.489899 | 655 | 0.730788 | 2,029 | 14,353 | 4.923115 | 0.096599 | 0.086495 | 0.043248 | 0.037241 | 0.806087 | 0.769847 | 0.748924 | 0.743918 | 0.728702 | 0.712484 | 0 | 0.01487 | 0.128545 | 14,353 | 197 | 656 | 72.857868 | 0.783738 | 0.129938 | 0 | 0.378788 | 0 | 0.022727 | 0.357125 | 0.133344 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.060606 | 0 | 0.280303 | 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 |
dbd801795470214342b240e3b88738a800ef6744 | 196 | py | Python | ADVANCED_MODULE/05_Functions_Advanced/LAB/02_Person_Info.py | sleepychild/SoftUni_SE | ae94488befb6de8b74ffdcb14ed6470739a67786 | [
"MIT"
] | null | null | null | ADVANCED_MODULE/05_Functions_Advanced/LAB/02_Person_Info.py | sleepychild/SoftUni_SE | ae94488befb6de8b74ffdcb14ed6470739a67786 | [
"MIT"
] | 1 | 2022-01-15T10:33:56.000Z | 2022-01-15T10:33:56.000Z | ADVANCED_MODULE/05_Functions_Advanced/LAB/02_Person_Info.py | sleepychild/SoftUni_SE | ae94488befb6de8b74ffdcb14ed6470739a67786 | [
"MIT"
] | null | null | null | def get_info(**kwargs) -> str:
return f"This is {kwargs['name']} from {kwargs['town']} and he is {kwargs['age']} years old"
print(get_info(**{"name": "George", "town": "Sofia", "age": 20}))
| 32.666667 | 96 | 0.602041 | 30 | 196 | 3.866667 | 0.7 | 0.12069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011905 | 0.142857 | 196 | 5 | 97 | 39.2 | 0.678571 | 0 | 0 | 0 | 0 | 0.333333 | 0.530612 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0.333333 | 0.666667 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
9167966ac67f118af122eae97b67691eb0e749ba | 28,531 | py | Python | src/bayes_tec/likelihoods.py | Joshuaalbert/bayes_tec | 655c4ec29427c7bb0616d5752c34207714a0151c | [
"Apache-2.0"
] | null | null | null | src/bayes_tec/likelihoods.py | Joshuaalbert/bayes_tec | 655c4ec29427c7bb0616d5752c34207714a0151c | [
"Apache-2.0"
] | null | null | null | src/bayes_tec/likelihoods.py | Joshuaalbert/bayes_tec | 655c4ec29427c7bb0616d5752c34207714a0151c | [
"Apache-2.0"
] | null | null | null | import gpflow as gp
import numpy as np
import tensorflow as tf
from gpflow import params_as_tensors
from gpflow import transforms
from gpflow.params import Parameter
from gpflow.likelihoods import Likelihood
from gpflow import settings
from gpflow.quadrature import ndiagquad, ndiag_mc, mvnquad
from gpflow import logden... | 40.875358 | 160 | 0.595212 | 3,933 | 28,531 | 4.167811 | 0.058988 | 0.018302 | 0.007687 | 0.040996 | 0.878294 | 0.86713 | 0.860908 | 0.855539 | 0.842484 | 0.836262 | 0 | 0.011348 | 0.298868 | 28,531 | 697 | 161 | 40.934003 | 0.808088 | 0.313203 | 0 | 0.651515 | 0 | 0 | 0.011037 | 0 | 0 | 0 | 0 | 0 | 0.012121 | 1 | 0.148485 | false | 0.00303 | 0.030303 | 0.027273 | 0.345455 | 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 |
918ffcfbae4018f8e031be6bd00c023c64d5092a | 6,592 | py | Python | fireant/tests/dataset/operations/test_share.py | mikeengland/fireant | 63c12728c11f1fb252265459f8b8f384d20414b9 | [
"Apache-2.0"
] | 122 | 2016-08-05T13:34:52.000Z | 2022-03-15T13:21:13.000Z | fireant/tests/dataset/operations/test_share.py | mikeengland/fireant | 63c12728c11f1fb252265459f8b8f384d20414b9 | [
"Apache-2.0"
] | 321 | 2016-08-10T08:48:15.000Z | 2021-07-28T13:08:18.000Z | fireant/tests/dataset/operations/test_share.py | mikeengland/fireant | 63c12728c11f1fb252265459f8b8f384d20414b9 | [
"Apache-2.0"
] | 27 | 2016-08-10T08:11:08.000Z | 2021-08-23T08:14:37.000Z | from unittest import TestCase
from unittest.mock import MagicMock
import numpy as np
import pandas as pd
import pandas.testing
from fireant import Field, Share
from fireant.dataset.references import Reference, WeekOverWeek
from fireant.tests.dataset.mocks import (
dimx0_metricx1_df,
dimx1_str_df,
dimx1_st... | 34.513089 | 115 | 0.598301 | 869 | 6,592 | 4.258918 | 0.151899 | 0.065388 | 0.09646 | 0.095109 | 0.848149 | 0.834639 | 0.807079 | 0.751419 | 0.743853 | 0.743853 | 0 | 0.072439 | 0.292172 | 6,592 | 190 | 116 | 34.694737 | 0.720746 | 0 | 0 | 0.615894 | 0 | 0 | 0.026092 | 0.006675 | 0 | 0 | 0 | 0 | 0.066225 | 1 | 0.066225 | false | 0 | 0.059603 | 0 | 0.13245 | 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 |
91b0cdf6068a00244732f06fa195518867211586 | 41 | py | Python | call_seq_browser/TextEdit/__init__.py | ya790206/call_seq_browser | 3f52fe3cc340af8e454f57d04e3dec17168a29bd | [
"Apache-2.0"
] | 3 | 2016-02-26T10:46:47.000Z | 2016-06-02T03:14:30.000Z | call_seq/TextEdit/__init__.py | ya790206/call_seq | ee6e0022e1731ce0c72e4101100b6f2a94812b15 | [
"Apache-2.0"
] | null | null | null | call_seq/TextEdit/__init__.py | ya790206/call_seq | ee6e0022e1731ce0c72e4101100b6f2a94812b15 | [
"Apache-2.0"
] | 1 | 2018-12-09T04:35:34.000Z | 2018-12-09T04:35:34.000Z | from .rich import RichTextEdit as Editor
| 20.5 | 40 | 0.829268 | 6 | 41 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 41 | 1 | 41 | 41 | 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 |
91d1e25e88673b49acfb9880bb5b056b3503b465 | 35,070 | py | Python | tf_verify/deeppoly_nodes.py | yugeshk/eran | 30c6c92e4f2de1fa9da4dd445701385cbfe0fe57 | [
"Apache-2.0"
] | 4 | 2021-05-19T17:35:30.000Z | 2021-08-17T04:03:21.000Z | tf_verify/deeppoly_nodes.py | verivital/eran | f4cbc73422cda19316b6312bb288b0e46848510c | [
"Apache-2.0"
] | null | null | null | tf_verify/deeppoly_nodes.py | verivital/eran | f4cbc73422cda19316b6312bb288b0e46848510c | [
"Apache-2.0"
] | 1 | 2021-01-20T14:35:53.000Z | 2021-01-20T14:35:53.000Z | '''
@author: Adrian Hoffmann
'''
import numpy as np
from config import config, Device
if config.device == Device.CPU:
from fppoly import *
else:
from fppoly_gpu import *
from elina_interval import *
from elina_abstract0 import *
from elina_manager import *
from krelu import encode_krelu_cons
from ai_milp i... | 41.065574 | 184 | 0.629512 | 4,216 | 35,070 | 5.055028 | 0.074241 | 0.030968 | 0.017361 | 0.027778 | 0.803726 | 0.774399 | 0.753566 | 0.737988 | 0.730293 | 0.718187 | 0 | 0.007392 | 0.294069 | 35,070 | 853 | 185 | 41.113716 | 0.853456 | 0.328914 | 0 | 0.605882 | 0 | 0 | 0.002216 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.108824 | false | 0 | 0.029412 | 0 | 0.320588 | 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 |
37e5545312950baed8e45d929ea6e8a99b2a4b2d | 27 | py | Python | raymarching/__init__.py | NamorNiradnug/raymarching | 49cbe47b0a0616e6f3cb0c0eb1d3bcf50eb22fff | [
"MIT"
] | null | null | null | raymarching/__init__.py | NamorNiradnug/raymarching | 49cbe47b0a0616e6f3cb0c0eb1d3bcf50eb22fff | [
"MIT"
] | null | null | null | raymarching/__init__.py | NamorNiradnug/raymarching | 49cbe47b0a0616e6f3cb0c0eb1d3bcf50eb22fff | [
"MIT"
] | null | null | null | from .raymarching import *
| 13.5 | 26 | 0.777778 | 3 | 27 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.913043 | 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 |
37f50bfff26a9d21699607a2917c38e52f099bf6 | 33 | py | Python | vrpc/__init__.py | pablitovicente/vrpc_260_debug | 6ffffcaefae261772fd71c642d5d6ef349440b2d | [
"MIT"
] | null | null | null | vrpc/__init__.py | pablitovicente/vrpc_260_debug | 6ffffcaefae261772fd71c642d5d6ef349440b2d | [
"MIT"
] | null | null | null | vrpc/__init__.py | pablitovicente/vrpc_260_debug | 6ffffcaefae261772fd71c642d5d6ef349440b2d | [
"MIT"
] | null | null | null | from .VrpcLocal import VrpcLocal
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 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 |
727a8db4db591fb6ca953bdbdadf6777fd3c6e4f | 1,776 | py | Python | quadpy/hexahedron/helpers.py | gdmcbain/quadpy | c083d500027d7c1b2187ae06ff2b7fbdd360ccc7 | [
"MIT"
] | 1 | 2019-01-02T19:04:42.000Z | 2019-01-02T19:04:42.000Z | quadpy/hexahedron/helpers.py | gdmcbain/quadpy | c083d500027d7c1b2187ae06ff2b7fbdd360ccc7 | [
"MIT"
] | null | null | null | quadpy/hexahedron/helpers.py | gdmcbain/quadpy | c083d500027d7c1b2187ae06ff2b7fbdd360ccc7 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#
import numpy
def z():
return numpy.array([[0, 0, 0]])
def fs_r00(a):
return numpy.array(
[[+a, 0, 0], [0, +a, 0], [0, 0, +a], [-a, 0, 0], [0, -a, 0], [0, 0, -a]]
)
def fs_rr0(a):
return numpy.array(
[
[+a, +a, 0],
[+a, 0, +a],
... | 19.304348 | 80 | 0.193694 | 218 | 1,776 | 1.555046 | 0.09633 | 0.342183 | 0.371681 | 0.365782 | 0.693215 | 0.59587 | 0.495575 | 0.495575 | 0.495575 | 0.389381 | 0 | 0.037304 | 0.532095 | 1,776 | 91 | 81 | 19.516484 | 0.370638 | 0.011824 | 0 | 0.064935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.077922 | false | 0 | 0.012987 | 0.077922 | 0.168831 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
7287be5aae461d6a67ddf9b30b8b3cc1d7b986c0 | 24 | py | Python | foil/data/datasets/__init__.py | nbrgr/Foil-VLBert | f6a1b54a87affa91a7362216e8c7598e30d45ae5 | [
"MIT"
] | null | null | null | foil/data/datasets/__init__.py | nbrgr/Foil-VLBert | f6a1b54a87affa91a7362216e8c7598e30d45ae5 | [
"MIT"
] | null | null | null | foil/data/datasets/__init__.py | nbrgr/Foil-VLBert | f6a1b54a87affa91a7362216e8c7598e30d45ae5 | [
"MIT"
] | null | null | null | from .foil import Foil
| 8 | 22 | 0.75 | 4 | 24 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 24 | 2 | 23 | 12 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
72e85908a10f2b7bee28f8f0e12051d7e5b8f76b | 19 | py | Python | frameworks/Python/api_hour/yocto_http/hello/endpoints/__init__.py | xsoheilalizadeh/FrameworkBenchmarks | 855527008f7488e4fd508d1e72dfa9953874a2c6 | [
"BSD-3-Clause"
] | 5,300 | 2015-01-02T08:04:20.000Z | 2022-03-31T10:08:33.000Z | frameworks/Python/api_hour/yocto_http/hello/endpoints/__init__.py | xsoheilalizadeh/FrameworkBenchmarks | 855527008f7488e4fd508d1e72dfa9953874a2c6 | [
"BSD-3-Clause"
] | 3,075 | 2015-01-01T05:11:45.000Z | 2022-03-31T23:56:33.000Z | frameworks/Python/api_hour/yocto_http/hello/endpoints/__init__.py | xsoheilalizadeh/FrameworkBenchmarks | 855527008f7488e4fd508d1e72dfa9953874a2c6 | [
"BSD-3-Clause"
] | 2,151 | 2015-01-02T14:16:09.000Z | 2022-03-30T00:15:26.000Z | from . import world | 19 | 19 | 0.789474 | 3 | 19 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 19 | 1 | 19 | 19 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
72fbbf5336a69e038b317edbf5d3b989493f3ca6 | 28 | py | Python | lcm/__init__.py | bashirk/lcmfinda | da57e9127367cdd2b24fbb351dc478b2318a2882 | [
"MIT"
] | null | null | null | lcm/__init__.py | bashirk/lcmfinda | da57e9127367cdd2b24fbb351dc478b2318a2882 | [
"MIT"
] | null | null | null | lcm/__init__.py | bashirk/lcmfinda | da57e9127367cdd2b24fbb351dc478b2318a2882 | [
"MIT"
] | null | null | null | from lcm.lcm import cal_lcm
| 14 | 27 | 0.821429 | 6 | 28 | 3.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f4214cfb5642facc7a9c6ae222a0074549016e89 | 28 | py | Python | conduit/data/datasets/audio/__init__.py | DavidHurst/palbolts | 72f9ca3f82499b532f14d0e797426e1b425d3efe | [
"MIT"
] | 2 | 2021-07-15T20:36:25.000Z | 2021-08-04T15:53:50.000Z | conduit/data/datasets/audio/__init__.py | DavidHurst/palbolts | 72f9ca3f82499b532f14d0e797426e1b425d3efe | [
"MIT"
] | 18 | 2021-09-07T13:50:10.000Z | 2021-12-06T19:02:23.000Z | conduit/data/datasets/audio/__init__.py | predictive-analytics-lab/pal-bolts | 5f1932f351f2e551276b47dfeda7888772d99895 | [
"MIT"
] | 1 | 2022-03-24T03:52:44.000Z | 2022-03-24T03:52:44.000Z | from .ecoacoustics import *
| 14 | 27 | 0.785714 | 3 | 28 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f473190f9141668ad046402b61fb1a081fb9f63e | 27 | py | Python | examples/verlet_chain/__init__.py | abbasegbeyemi/pyqtgraph | 6aeafce477d1d7eebb9d2fe824d4c5573ef9ceed | [
"MIT"
] | 150 | 2018-03-27T16:45:37.000Z | 2022-03-30T03:47:56.000Z | examples/verlet_chain/__init__.py | abbasegbeyemi/pyqtgraph | 6aeafce477d1d7eebb9d2fe824d4c5573ef9ceed | [
"MIT"
] | 67 | 2019-11-30T14:45:05.000Z | 2022-03-14T20:26:06.000Z | examples/verlet_chain/__init__.py | abbasegbeyemi/pyqtgraph | 6aeafce477d1d7eebb9d2fe824d4c5573ef9ceed | [
"MIT"
] | 40 | 2018-04-06T19:42:21.000Z | 2022-01-11T00:34:17.000Z | from .chain import ChainSim | 27 | 27 | 0.851852 | 4 | 27 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 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 |
be420617d1f6a9d4325f318fcad5cbb304689b60 | 136 | py | Python | ex9.py | nguyennam9696/Learn_Python_The_Hard_Way | 402ffad8d8dc80f0c1f541d8e3d69980268bb559 | [
"MIT"
] | null | null | null | ex9.py | nguyennam9696/Learn_Python_The_Hard_Way | 402ffad8d8dc80f0c1f541d8e3d69980268bb559 | [
"MIT"
] | null | null | null | ex9.py | nguyennam9696/Learn_Python_The_Hard_Way | 402ffad8d8dc80f0c1f541d8e3d69980268bb559 | [
"MIT"
] | null | null | null | print "I am 6\'2\""
print "I am \\ a \\ cat."
print "\tTabbed"
while True:
for i in ["/", "-", "|", "\\", "|"]:
print "%s\r" % i, | 19.428571 | 38 | 0.419118 | 21 | 136 | 2.714286 | 0.666667 | 0.210526 | 0.280702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019417 | 0.242647 | 136 | 7 | 39 | 19.428571 | 0.533981 | 0 | 0 | 0 | 0 | 0 | 0.328467 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.666667 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
be6bcaa5e7bf3d656bbeef0d053d9e75c2dd3e67 | 6,391 | py | Python | projects/vdk-core/tests/vdk/internal/builtin_plugins/connection/test_managed_cursor.py | vmware/versatile-data-kit | c4e10324a4f3203c58079cb18203880f68053f15 | [
"Apache-2.0"
] | 100 | 2021-10-04T09:32:04.000Z | 2022-03-30T11:23:53.000Z | projects/vdk-core/tests/vdk/internal/builtin_plugins/connection/test_managed_cursor.py | vmware/versatile-data-kit | c4e10324a4f3203c58079cb18203880f68053f15 | [
"Apache-2.0"
] | 208 | 2021-10-04T16:56:40.000Z | 2022-03-31T10:41:44.000Z | projects/vdk-core/tests/vdk/internal/builtin_plugins/connection/test_managed_cursor.py | vmware/versatile-data-kit | c4e10324a4f3203c58079cb18203880f68053f15 | [
"Apache-2.0"
] | 14 | 2021-10-11T14:15:13.000Z | 2022-03-11T13:39:17.000Z | # Copyright 2021 VMware, Inc.
# SPDX-License-Identifier: Apache-2.0
import logging
from unittest.mock import call
import pytest
from vdk.internal.builtin_plugins.connection.decoration_cursor import DecorationCursor
from vdk.internal.builtin_plugins.connection.recovery_cursor import RecoveryCursor
from vdk.plugin.test_... | 30.004695 | 88 | 0.724613 | 718 | 6,391 | 5.940111 | 0.129526 | 0.072216 | 0.111606 | 0.103165 | 0.842673 | 0.831887 | 0.807503 | 0.778898 | 0.707386 | 0.660492 | 0 | 0.004506 | 0.201377 | 6,391 | 212 | 89 | 30.146226 | 0.831113 | 0.009858 | 0 | 0.620482 | 0 | 0 | 0.077312 | 0.016601 | 0 | 0 | 0 | 0 | 0.108434 | 1 | 0.084337 | false | 0 | 0.036145 | 0 | 0.120482 | 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 |
be7f0d131224cf60a95fdd0a0b5d6aaf6b19a1a0 | 793 | py | Python | seapy/model/__init__.py | hadfieldnz/seapy | 88c2747dbcf85fa9d1da3509e4c510c53016680b | [
"MIT"
] | null | null | null | seapy/model/__init__.py | hadfieldnz/seapy | 88c2747dbcf85fa9d1da3509e4c510c53016680b | [
"MIT"
] | null | null | null | seapy/model/__init__.py | hadfieldnz/seapy | 88c2747dbcf85fa9d1da3509e4c510c53016680b | [
"MIT"
] | null | null | null | """
State Estimation and Analysis for PYthon
Module for working with oceanographic data and models
Copyright (c)2020 University of Hawaii under the MIT-License.
Import classes include:
- :class:`~seapy.model.grid`
Imported functions include:
- :func:`~seapy.model.lib.bvf`
- :func:`~seapy.model.l... | 25.580645 | 63 | 0.680958 | 110 | 793 | 4.890909 | 0.436364 | 0.241636 | 0.312268 | 0.315985 | 0.20632 | 0.113383 | 0.113383 | 0.113383 | 0.113383 | 0 | 0 | 0.013314 | 0.147541 | 793 | 30 | 64 | 26.433333 | 0.782544 | 0.828499 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
bea7b96e159cfc97dc6d86b145318257ca06802d | 190 | py | Python | src/graph_transpiler/webdnn/backend/fallback/kernels/broadcast.py | steerapi/webdnn | 1df51cc094e5a528cfd3452c264905708eadb491 | [
"MIT"
] | 1 | 2018-07-26T13:52:21.000Z | 2018-07-26T13:52:21.000Z | src/graph_transpiler/webdnn/backend/fallback/kernels/broadcast.py | steerapi/webdnn | 1df51cc094e5a528cfd3452c264905708eadb491 | [
"MIT"
] | null | null | null | src/graph_transpiler/webdnn/backend/fallback/kernels/broadcast.py | steerapi/webdnn | 1df51cc094e5a528cfd3452c264905708eadb491 | [
"MIT"
] | null | null | null | from webdnn.backend.fallback.kernels.elementwise import register_elementwise_kernel
from webdnn.graph.operators.broadcast import Broadcast
register_elementwise_kernel(Broadcast, "y = x0;")
| 38 | 83 | 0.857895 | 23 | 190 | 6.913043 | 0.608696 | 0.125786 | 0.314465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00565 | 0.068421 | 190 | 4 | 84 | 47.5 | 0.892655 | 0 | 0 | 0 | 0 | 0 | 0.036842 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bead51cd0b282b2bbcd757acb45eec77e088b316 | 41 | py | Python | onto/query/__init__.py | billyrrr/onto | 72733d36a2583ae4758f7cf33a5229b79773702b | [
"MIT"
] | 1 | 2020-10-04T10:01:45.000Z | 2020-10-04T10:01:45.000Z | onto/query/__init__.py | billyrrr/onto | 72733d36a2583ae4758f7cf33a5229b79773702b | [
"MIT"
] | null | null | null | onto/query/__init__.py | billyrrr/onto | 72733d36a2583ae4758f7cf33a5229b79773702b | [
"MIT"
] | null | null | null | from .transaction import run_transaction
| 20.5 | 40 | 0.878049 | 5 | 41 | 7 | 0.8 | 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 |
fe3ab7746a46a0f797f9c0d364948d9c7fdc855f | 144 | py | Python | magical_sqlserver/__init__.py | brennoflavio/magical-sqlserver | 6dc7cb3df8341f8234f18d36fd13b637a4ffc948 | [
"MIT"
] | 3 | 2018-12-27T14:15:47.000Z | 2021-05-02T10:23:07.000Z | magical_sqlserver/__init__.py | brennoflavio/magical-sqlserver | 6dc7cb3df8341f8234f18d36fd13b637a4ffc948 | [
"MIT"
] | null | null | null | magical_sqlserver/__init__.py | brennoflavio/magical-sqlserver | 6dc7cb3df8341f8234f18d36fd13b637a4ffc948 | [
"MIT"
] | null | null | null | # flake8: noqa
from magical_sqlserver.api import SQLServer
from magical_sqlserver.decorators import provide_session
name = "magical_sqlserver"
| 24 | 56 | 0.847222 | 18 | 144 | 6.555556 | 0.611111 | 0.40678 | 0.338983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007752 | 0.104167 | 144 | 5 | 57 | 28.8 | 0.906977 | 0.083333 | 0 | 0 | 0 | 0 | 0.130769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fe3dcbfc658822e6f3be554c63956da9069f93f2 | 114 | py | Python | poll/reddit.py | nath/rcfbpoll | 364cb734f97b33b42fa72efb797d9783d391d79a | [
"0BSD"
] | null | null | null | poll/reddit.py | nath/rcfbpoll | 364cb734f97b33b42fa72efb797d9783d391d79a | [
"0BSD"
] | null | null | null | poll/reddit.py | nath/rcfbpoll | 364cb734f97b33b42fa72efb797d9783d391d79a | [
"0BSD"
] | null | null | null | import praw
from .models import User, UserRole
def message_voters(username, access_token, title, body):
pass | 19 | 56 | 0.77193 | 16 | 114 | 5.375 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 114 | 6 | 57 | 19 | 0.895833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 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 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
fe444035e2f464ae94435151e7a0a349481c1be4 | 96 | py | Python | venv/lib/python3.8/site-packages/rope/base/history.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/rope/base/history.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/rope/base/history.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/fe/13/d5/dcf4b396fe8c506578795049b7eca94b89333bd904e26977206a8902f2 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.458333 | 0 | 96 | 1 | 96 | 96 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fe49eeedf618e37861c472469d1004711cf6b2c8 | 2,969 | py | Python | tests/test_logistic_regression.py | shotahorii/ml-from-scratch | 10fe8c9d5811bfcb9ee303aba2087524574681e6 | [
"MIT"
] | 3 | 2021-03-21T21:16:42.000Z | 2021-06-27T03:20:04.000Z | tests/test_logistic_regression.py | shotahorii/ml-from-scratch | 10fe8c9d5811bfcb9ee303aba2087524574681e6 | [
"MIT"
] | null | null | null | tests/test_logistic_regression.py | shotahorii/ml-from-scratch | 10fe8c9d5811bfcb9ee303aba2087524574681e6 | [
"MIT"
] | null | null | null | import numpy as np
import pandas as pd
from sklearn.datasets import load_iris, load_breast_cancer
from sklearn.linear_model import LogisticRegression as LogisticRegression_skl
import sys
sys.path.append('../')
from bareml.machinelearning.supervised import LogisticRegression
from bareml.machinelearning.utils.model_sel... | 29.39604 | 81 | 0.695184 | 434 | 2,969 | 4.451613 | 0.142857 | 0.043478 | 0.02795 | 0.031056 | 0.791925 | 0.772257 | 0.772257 | 0.772257 | 0.772257 | 0.772257 | 0 | 0.005074 | 0.203436 | 2,969 | 100 | 82 | 29.69 | 0.811839 | 0.070394 | 0 | 0.746269 | 0 | 0 | 0.009797 | 0 | 0 | 0 | 0 | 0 | 0.044776 | 1 | 0.044776 | false | 0 | 0.104478 | 0 | 0.149254 | 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 |
fe91b2aa940491c23131e880511f2d458bec70d7 | 46 | py | Python | panoptes/analysis/admin.py | oberlin/panoptes | 67d451ea4ffc58c23b5f347bfa5609fa7f853b45 | [
"BSD-3-Clause"
] | 2 | 2017-07-24T05:11:59.000Z | 2017-08-27T19:17:42.000Z | panoptes/analysis/admin.py | oberlin/panoptes | 67d451ea4ffc58c23b5f347bfa5609fa7f853b45 | [
"BSD-3-Clause"
] | null | null | null | panoptes/analysis/admin.py | oberlin/panoptes | 67d451ea4ffc58c23b5f347bfa5609fa7f853b45 | [
"BSD-3-Clause"
] | null | null | null |
import panoptes.analysis.panels.events.admin
| 15.333333 | 44 | 0.847826 | 6 | 46 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 46 | 2 | 45 | 23 | 0.906977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
feabcece44b356ca3c8fa42d9d51eb38f916ba3c | 2,943 | py | Python | adapters/actuators/overhead_display/hc595/slow_cycling_through.py | andycavatorta/thirtybirds3.0 | d2987c29af48f879bddb8e12fc42549fefb084cf | [
"MIT"
] | 2 | 2020-05-13T02:53:02.000Z | 2021-03-21T05:54:53.000Z | adapters/gpio/hc595/slow_cycling_through.py | andycavatorta/thirtybirds3.0 | d2987c29af48f879bddb8e12fc42549fefb084cf | [
"MIT"
] | null | null | null | adapters/gpio/hc595/slow_cycling_through.py | andycavatorta/thirtybirds3.0 | d2987c29af48f879bddb8e12fc42549fefb084cf | [
"MIT"
] | 1 | 2021-05-06T18:42:41.000Z | 2021-05-06T18:42:41.000Z | #!/usr/bin/env python
import time
import math
import HC595_shift_reg as shifter
reg = shifter.HC595()
# attraction mode
seq = [ [ 1, 0, 0, 0, 0, ],
[ 0, 1, 0, 0, 0, ],
[ 0, 0, 1, 0, 0, ],
[ 0, 0, 0, 1, 0, ],
[ 0, 0, 0, 0, 1 ] ]
"""
# score
seq = [ [ 1, 0, 0, 0, 1, 0, 0, 0, 1... | 28.028571 | 109 | 0.349983 | 605 | 2,943 | 1.68595 | 0.123967 | 0.592157 | 0.711765 | 0.756863 | 0.526471 | 0.521569 | 0.521569 | 0.460784 | 0.460784 | 0.457843 | 0 | 0.295414 | 0.429494 | 2,943 | 104 | 110 | 28.298077 | 0.312091 | 0.100238 | 0 | 0.157895 | 0 | 0 | 0.046169 | 0 | 0 | 0 | 0.003929 | 0 | 0 | 1 | 0 | false | 0 | 0.078947 | 0 | 0.078947 | 0.131579 | 0 | 0 | 1 | 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 |
feb2f8aa617eeae9bfa99eb3bb351a7a8bd60965 | 308 | py | Python | allennlp_semparse/predictors/__init__.py | pdasigi/allennlp-semparse | 843c9e5a4d15f449c8f11e6c08940d3de3e2a8c7 | [
"Apache-2.0"
] | null | null | null | allennlp_semparse/predictors/__init__.py | pdasigi/allennlp-semparse | 843c9e5a4d15f449c8f11e6c08940d3de3e2a8c7 | [
"Apache-2.0"
] | null | null | null | allennlp_semparse/predictors/__init__.py | pdasigi/allennlp-semparse | 843c9e5a4d15f449c8f11e6c08940d3de3e2a8c7 | [
"Apache-2.0"
] | null | null | null | from allennlp_semparse.predictors.atis_parser import AtisParserPredictor
from allennlp_semparse.predictors.nlvr_parser import NlvrParserPredictor
from allennlp_semparse.predictors.quarel_parser import QuarelParserPredictor
from allennlp_semparse.predictors.wikitables_parser import WikiTablesParserPredictor
| 61.6 | 84 | 0.922078 | 32 | 308 | 8.625 | 0.4375 | 0.173913 | 0.289855 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051948 | 308 | 4 | 85 | 77 | 0.945205 | 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 |
22870aca78e0ec5d773d4b6f4ead3a2952c7f983 | 126,032 | py | Python | koku/masu/database/ocp_report_db_accessor.py | bsquizz/koku | 386dd6ca4a4fd1b50790a929acc81d2dc245a91c | [
"Apache-2.0"
] | null | null | null | koku/masu/database/ocp_report_db_accessor.py | bsquizz/koku | 386dd6ca4a4fd1b50790a929acc81d2dc245a91c | [
"Apache-2.0"
] | null | null | null | koku/masu/database/ocp_report_db_accessor.py | bsquizz/koku | 386dd6ca4a4fd1b50790a929acc81d2dc245a91c | [
"Apache-2.0"
] | null | null | null | #
# Copyright 2021 Red Hat Inc.
# SPDX-License-Identifier: Apache-2.0
#
"""Database accessor for OCP report data."""
import copy
import datetime
import json
import logging
import os
import pkgutil
import uuid
from decimal import Decimal
import pytz
from dateutil.parser import parse
from dateutil.rrule import MONTHLY
f... | 51.107867 | 119 | 0.579377 | 13,800 | 126,032 | 4.943696 | 0.040072 | 0.042083 | 0.024508 | 0.024625 | 0.83378 | 0.804978 | 0.772848 | 0.755757 | 0.73465 | 0.721619 | 0 | 0.003168 | 0.346404 | 126,032 | 2,465 | 120 | 51.1286 | 0.825042 | 0.124 | 0 | 0.660657 | 0 | 0.001591 | 0.111215 | 0.040255 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04666 | false | 0.00106 | 0.02386 | 0.00053 | 0.098621 | 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 |
22c7cab92448f7fbdb5216234b5cbd6796657787 | 222 | py | Python | tests/conftest.py | JLSteenwyk/ClipKIT | b2d6033e638a78acc36942f9f420d5d3bc0e09ad | [
"MIT"
] | 28 | 2020-06-11T14:06:15.000Z | 2022-03-14T04:32:12.000Z | tests/conftest.py | JLSteenwyk/ClipKIT | b2d6033e638a78acc36942f9f420d5d3bc0e09ad | [
"MIT"
] | 10 | 2020-09-14T13:59:13.000Z | 2022-02-25T17:17:01.000Z | tests/conftest.py | JLSteenwyk/ClipKIT | b2d6033e638a78acc36942f9f420d5d3bc0e09ad | [
"MIT"
] | 1 | 2020-12-15T07:25:09.000Z | 2020-12-15T07:25:09.000Z | # global fixtures can go here
import pytest
def pytest_configure(config):
config.addinivalue_line("markers", "integration: mark as integration test")
config.addinivalue_line("markers", "slow: mark as slow test")
| 27.75 | 79 | 0.756757 | 29 | 222 | 5.689655 | 0.62069 | 0.206061 | 0.254545 | 0.339394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144144 | 222 | 7 | 80 | 31.714286 | 0.868421 | 0.121622 | 0 | 0 | 0 | 0 | 0.38342 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
22efb227a59c5d0b08ab4ff7dbf6fb6755a8fa17 | 214 | py | Python | battleforcastile/utils/get_match_by_id.py | battleforcastile/battleforcastile | 65223fcb56ecc550f1a7c7b70beadff22c866d85 | [
"MIT"
] | null | null | null | battleforcastile/utils/get_match_by_id.py | battleforcastile/battleforcastile | 65223fcb56ecc550f1a7c7b70beadff22c866d85 | [
"MIT"
] | 1 | 2021-08-21T10:16:03.000Z | 2021-08-21T10:16:03.000Z | battleforcastile/utils/get_match_by_id.py | battleforcastile/battleforcastile | 65223fcb56ecc550f1a7c7b70beadff22c866d85 | [
"MIT"
] | null | null | null | import requests
from battleforcastile.constants import BATTLEFORCASTILE_BACKEND_URL
def get_match_by_id(match_id: int):
url = f'{BATTLEFORCASTILE_BACKEND_URL}/matches/{match_id}/'
return requests.get(url) | 30.571429 | 67 | 0.808411 | 29 | 214 | 5.655172 | 0.551724 | 0.280488 | 0.317073 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107477 | 214 | 7 | 68 | 30.571429 | 0.858639 | 0 | 0 | 0 | 0 | 0 | 0.232558 | 0.232558 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a3dae3df14116aa1a32d8b1fa1fd7a42ee14a9e8 | 23,935 | py | Python | src/python/nimbusml/tests/test_syntax.py | montehoover/NimbusML | f6be39ce9359786976429bab0ccd837e849b4ba5 | [
"MIT"
] | 134 | 2018-11-01T22:15:24.000Z | 2019-05-04T11:30:08.000Z | src/python/nimbusml/tests/test_syntax.py | montehoover/NimbusML | f6be39ce9359786976429bab0ccd837e849b4ba5 | [
"MIT"
] | 226 | 2019-05-07T19:00:44.000Z | 2021-01-06T07:59:48.000Z | src/python/nimbusml/tests/test_syntax.py | montehoover/NimbusML | f6be39ce9359786976429bab0ccd837e849b4ba5 | [
"MIT"
] | 43 | 2019-05-15T20:19:42.000Z | 2022-03-30T10:26:07.000Z | # --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
# --------------------------------------------------------------------------------------------
import unittest
import pandas
impor... | 40.84471 | 94 | 0.499144 | 2,407 | 23,935 | 4.871624 | 0.120066 | 0.00921 | 0.00921 | 0.032236 | 0.776053 | 0.768975 | 0.7613 | 0.75388 | 0.737506 | 0.729661 | 0 | 0.023229 | 0.347107 | 23,935 | 585 | 95 | 40.91453 | 0.727139 | 0.054857 | 0 | 0.763265 | 0 | 0 | 0.124712 | 0 | 0 | 0 | 0 | 0 | 0.130612 | 1 | 0.042857 | false | 0.004082 | 0.02449 | 0 | 0.069388 | 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 |
a3f3fd516c4c0f4c175e6506a9bdc8cdbcfb2670 | 114,906 | py | Python | google/cloud/contact_center_insights_v1/services/contact_center_insights/async_client.py | googleapis/python-contact-center-insights | 3eb4794a0c25a090f0f3a0e0e5f7fd74eb7c356e | [
"Apache-2.0"
] | 4 | 2021-08-15T04:55:44.000Z | 2022-02-01T09:19:57.000Z | google/cloud/contact_center_insights_v1/services/contact_center_insights/async_client.py | googleapis/python-contact-center-insights | 3eb4794a0c25a090f0f3a0e0e5f7fd74eb7c356e | [
"Apache-2.0"
] | 53 | 2021-07-16T11:02:44.000Z | 2022-03-07T16:39:20.000Z | google/cloud/contact_center_insights_v1/services/contact_center_insights/async_client.py | googleapis/python-contact-center-insights | 3eb4794a0c25a090f0f3a0e0e5f7fd74eb7c356e | [
"Apache-2.0"
] | 5 | 2021-07-15T18:17:53.000Z | 2022-01-29T08:09:16.000Z | # -*- coding: utf-8 -*-
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or... | 41.096567 | 171 | 0.617888 | 12,698 | 114,906 | 5.468105 | 0.036069 | 0.040182 | 0.050206 | 0.026961 | 0.853789 | 0.828528 | 0.816228 | 0.796757 | 0.778984 | 0.763257 | 0 | 0.002829 | 0.310906 | 114,906 | 2,795 | 172 | 41.11127 | 0.874073 | 0.169243 | 0 | 0.615321 | 0 | 0 | 0.062783 | 0.001241 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003295 | false | 0 | 0.018946 | 0 | 0.076606 | 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 |
4334de44baf022ae30ecaa322a2da3016fc21820 | 70 | py | Python | code/optimizers/__init__.py | OnlinePredictorTS/AOLForTimeSeries | ba2cd6aae7f367c6af879d0a4e58870050c00d04 | [
"Apache-2.0"
] | null | null | null | code/optimizers/__init__.py | OnlinePredictorTS/AOLForTimeSeries | ba2cd6aae7f367c6af879d0a4e58870050c00d04 | [
"Apache-2.0"
] | null | null | null | code/optimizers/__init__.py | OnlinePredictorTS/AOLForTimeSeries | ba2cd6aae7f367c6af879d0a4e58870050c00d04 | [
"Apache-2.0"
] | null | null | null | # utils init file
import optimizers.RealOGD
import optimizers.RealONS | 17.5 | 25 | 0.842857 | 9 | 70 | 6.555556 | 0.777778 | 0.542373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 70 | 4 | 26 | 17.5 | 0.951613 | 0.214286 | 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 |
4a4b1e4a510b3df83a4c1daf938eb73ae8003137 | 66,446 | py | Python | scripts/calendar_view_gui/utils/batch_utils.py | voicagi/cbm | c076e272f34a93a2e7dcc7de3c9685bd5c86c27a | [
"BSD-3-Clause"
] | null | null | null | scripts/calendar_view_gui/utils/batch_utils.py | voicagi/cbm | c076e272f34a93a2e7dcc7de3c9685bd5c86c27a | [
"BSD-3-Clause"
] | null | null | null | scripts/calendar_view_gui/utils/batch_utils.py | voicagi/cbm | c076e272f34a93a2e7dcc7de3c9685bd5c86c27a | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# This file is part of CbM (https://github.com/ec-jrc/cbm).
# Author : Csaba Wirnhardt
# Credits : GTCAP Team
# Copyright : 2021 European Commission, Joint Research Centre
# License : 3-Clause BSD
import time
import geopandas
import download_utils, extract_utils,... | 49.328879 | 216 | 0.655705 | 9,051 | 66,446 | 4.399845 | 0.046735 | 0.020641 | 0.041283 | 0.02933 | 0.869924 | 0.84632 | 0.81134 | 0.781458 | 0.757929 | 0.738669 | 0 | 0.015078 | 0.241429 | 66,446 | 1,346 | 217 | 49.365527 | 0.774958 | 0.120534 | 0 | 0.624309 | 0 | 0 | 0.087111 | 0.024004 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047514 | false | 0.033149 | 0.016575 | 0.001105 | 0.087293 | 0.110497 | 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 |
4a5c79724f4734739c573dc503e5b42e30ff7fcc | 118 | py | Python | src/main/python/twitter/thermos/config/bin/config_repl.py | isomer/incubator-aurora | 5f54d4de25413bb18acec16120eb18f3e08c6bf0 | [
"Apache-2.0"
] | null | null | null | src/main/python/twitter/thermos/config/bin/config_repl.py | isomer/incubator-aurora | 5f54d4de25413bb18acec16120eb18f3e08c6bf0 | [
"Apache-2.0"
] | null | null | null | src/main/python/twitter/thermos/config/bin/config_repl.py | isomer/incubator-aurora | 5f54d4de25413bb18acec16120eb18f3e08c6bf0 | [
"Apache-2.0"
] | null | null | null | from twitter.thermos.config.schema import *
from code import interact
interact('Thermos Config REPL', local=locals())
| 29.5 | 47 | 0.79661 | 16 | 118 | 5.875 | 0.6875 | 0.276596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101695 | 118 | 3 | 48 | 39.333333 | 0.886792 | 0 | 0 | 0 | 0 | 0 | 0.161017 | 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 |
4a8116df307fa5a86aaf035f0108479b462ef5b2 | 147 | py | Python | src/kraetos/v1/helpers/google.py | sinhadotabhinav/kraetos-v1 | adc4f37c2648968a9981331135ff366351c97bac | [
"MIT"
] | 1 | 2021-05-08T10:11:15.000Z | 2021-05-08T10:11:15.000Z | src/kraetos/v1/helpers/google.py | sinhadotabhinav/kraetos-v1 | adc4f37c2648968a9981331135ff366351c97bac | [
"MIT"
] | null | null | null | src/kraetos/v1/helpers/google.py | sinhadotabhinav/kraetos-v1 | adc4f37c2648968a9981331135ff366351c97bac | [
"MIT"
] | null | null | null | from googlesearch import search
# Make Google search query
def googleSearch(query):
return search(query, num_results=3, lang="en", proxy=None) | 29.4 | 62 | 0.768707 | 21 | 147 | 5.333333 | 0.761905 | 0.196429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007874 | 0.136054 | 147 | 5 | 62 | 29.4 | 0.874016 | 0.163265 | 0 | 0 | 0 | 0 | 0.016393 | 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 |
4ab09df92507adca7347bc083fc49366215ba098 | 39 | py | Python | examples/math.sin/ex1.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | examples/math.sin/ex1.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | examples/math.sin/ex1.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | import math
print(math.sin(math.pi/2))
| 13 | 26 | 0.74359 | 8 | 39 | 3.625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 0.076923 | 39 | 2 | 27 | 19.5 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
436109567fd3b0c93424d845f5cf31e29db79275 | 219 | py | Python | src/gpt2_output.py | yulonglin/gpt2 | c86239940bfb9fc34a3ea5df3c6aa16e9c57887e | [
"MIT"
] | null | null | null | src/gpt2_output.py | yulonglin/gpt2 | c86239940bfb9fc34a3ea5df3c6aa16e9c57887e | [
"MIT"
] | null | null | null | src/gpt2_output.py | yulonglin/gpt2 | c86239940bfb9fc34a3ea5df3c6aa16e9c57887e | [
"MIT"
] | null | null | null | from dataclasses import dataclass
from torchtyping import TensorType
@dataclass
class GPT2Output:
logits: TensorType["batch_size", "vocab_size"]
final_encoding: TensorType["batch_size", "hidden_size"]
| 24.333333 | 60 | 0.757991 | 24 | 219 | 6.708333 | 0.625 | 0.186335 | 0.236025 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005435 | 0.159817 | 219 | 8 | 61 | 27.375 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0.194313 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.833333 | 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 |
437cfe29ec099e567cf181e0ddd700c491ad3877 | 141 | py | Python | mysite/polls/views.py | smurve/cbrokerage | 9c0ada2981d60ab04a4a2120f40f9ebc4a38befc | [
"Apache-2.0"
] | null | null | null | mysite/polls/views.py | smurve/cbrokerage | 9c0ada2981d60ab04a4a2120f40f9ebc4a38befc | [
"Apache-2.0"
] | 3 | 2021-03-19T03:06:40.000Z | 2022-02-10T13:35:19.000Z | mysite/polls/views.py | smurve/cbrokerage | 9c0ada2981d60ab04a4a2120f40f9ebc4a38befc | [
"Apache-2.0"
] | null | null | null | from django.http import HttpResponse
# Create your views here.
def index(request):
return HttpResponse("Hello Wolfie. Your at polls.")
| 20.142857 | 55 | 0.751773 | 19 | 141 | 5.578947 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163121 | 141 | 6 | 56 | 23.5 | 0.898305 | 0.163121 | 0 | 0 | 0 | 0 | 0.241379 | 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 |
438d54eb3fa1824dcf1f422f8efdd923564112c3 | 34,394 | py | Python | posthog/api/test/test_feature_flag.py | ld-rale/posthog | 0fa5b18b2e940cf5cdbe8afc733eb7e3cd4ae810 | [
"MIT"
] | null | null | null | posthog/api/test/test_feature_flag.py | ld-rale/posthog | 0fa5b18b2e940cf5cdbe8afc733eb7e3cd4ae810 | [
"MIT"
] | null | null | null | posthog/api/test/test_feature_flag.py | ld-rale/posthog | 0fa5b18b2e940cf5cdbe8afc733eb7e3cd4ae810 | [
"MIT"
] | null | null | null | import json
from unittest.mock import patch
from rest_framework import status
from posthog.models import FeatureFlag, GroupTypeMapping, User
from posthog.models.cohort import Cohort
from posthog.models.feature_flag import FeatureFlagOverride
from posthog.test.base import APIBaseTest
class TestFeatureFlag(APIBaseTes... | 46.042838 | 120 | 0.610368 | 3,755 | 34,394 | 5.327297 | 0.067377 | 0.067636 | 0.054039 | 0.042991 | 0.837333 | 0.813187 | 0.791892 | 0.770146 | 0.739602 | 0.727604 | 0 | 0.010659 | 0.263534 | 34,394 | 746 | 121 | 46.104558 | 0.779076 | 0.025324 | 0 | 0.537152 | 0 | 0 | 0.253239 | 0.103457 | 0 | 0 | 0 | 0 | 0.187307 | 1 | 0.047988 | false | 0 | 0.010836 | 0.001548 | 0.063467 | 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 |
43adeb0b315f3844b15bd4d49be46779cb1ebb32 | 94 | py | Python | interfaces/python/test/trainers_test.py | awf/ELL | 25c94a1422efc41d5560db11b136f9d8f957ad41 | [
"MIT"
] | 2,094 | 2016-09-28T05:55:24.000Z | 2019-05-04T19:06:36.000Z | interfaces/python/test/trainers_test.py | awesomemachinelearning/ELL | cb897e3aec148a1e9bd648012b5f53ab9d0dd20c | [
"MIT"
] | 213 | 2017-06-30T12:53:40.000Z | 2019-05-03T06:35:38.000Z | interfaces/python/test/trainers_test.py | awesomemachinelearning/ELL | cb897e3aec148a1e9bd648012b5f53ab9d0dd20c | [
"MIT"
] | 301 | 2017-03-24T08:40:00.000Z | 2019-05-02T21:22:28.000Z | import ell_helper
import ell
def test():
print("trainers_test.test -- TBD")
return 0
| 13.428571 | 38 | 0.680851 | 14 | 94 | 4.428571 | 0.714286 | 0.290323 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013514 | 0.212766 | 94 | 6 | 39 | 15.666667 | 0.824324 | 0 | 0 | 0 | 0 | 0 | 0.265957 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.8 | 0.2 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
43af954e8ed556cd8c31fb9944438d1bc9067fbb | 556 | py | Python | templates/fastApiService/zarubaServiceName/helpers/transport/__init__.py | state-alchemists/zaruba | 2c689c920df3589168ec81664b92110021892464 | [
"Apache-2.0"
] | 39 | 2020-03-13T19:41:11.000Z | 2022-02-14T02:01:00.000Z | templates/fastApiService/zarubaServiceName/helpers/transport/__init__.py | state-alchemists/zaruba | 2c689c920df3589168ec81664b92110021892464 | [
"Apache-2.0"
] | 5 | 2020-08-01T08:55:48.000Z | 2022-02-10T00:55:39.000Z | templates/fastApiService/zarubaServiceName/helpers/transport/__init__.py | state-alchemists/zaruba | 2c689c920df3589168ec81664b92110021892464 | [
"Apache-2.0"
] | 4 | 2020-11-10T20:45:12.000Z | 2021-03-18T06:18:55.000Z | from typing import Mapping
from helpers.transport.interface import MessageBus, RPC
from helpers.transport.rmq_connection import get_rmq_connection_parameters
from helpers.transport.rmq_mb import RMQMessageBus
from helpers.transport.rmq_rpc import RMQRPC
from helpers.transport.rmq_config import RMQEventMap
from helpers.... | 50.545455 | 87 | 0.888489 | 74 | 556 | 6.486486 | 0.324324 | 0.20625 | 0.375 | 0.191667 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07554 | 556 | 10 | 88 | 55.6 | 0.933852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
43c5dd76e089ab74fecdf1df9f255393f4550f8e | 167 | py | Python | tools/Vitis-AI-Quantizer/vai_q_pytorch/pytorch_binding/pytorch_nndct/utils/__init__.py | hito0512/Vitis-AI | 996459fb96cb077ed2f7e789d515893b1cccbc95 | [
"Apache-2.0"
] | 1 | 2022-02-17T22:13:23.000Z | 2022-02-17T22:13:23.000Z | tools/Vitis-AI-Quantizer/vai_q_pytorch/pytorch_binding/pytorch_nndct/utils/__init__.py | hito0512/Vitis-AI | 996459fb96cb077ed2f7e789d515893b1cccbc95 | [
"Apache-2.0"
] | null | null | null | tools/Vitis-AI-Quantizer/vai_q_pytorch/pytorch_binding/pytorch_nndct/utils/__init__.py | hito0512/Vitis-AI | 996459fb96cb077ed2f7e789d515893b1cccbc95 | [
"Apache-2.0"
] | null | null | null | from .torch_op_attr import *
from .nndct2torch_op_map import *
from .op_register import *
from .torch_const import *
from .tensor_util import *
from .schema import *
| 20.875 | 33 | 0.778443 | 25 | 167 | 4.92 | 0.48 | 0.406504 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007042 | 0.149701 | 167 | 7 | 34 | 23.857143 | 0.859155 | 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 |
78dad85a74c50279420c37bee23b73f7afcccdae | 67 | py | Python | library_api_sematics/controllers/__init__.py | sematicshood/addons_sematics | a9e1871938d12b595730122b55f538d300a6255f | [
"MIT"
] | null | null | null | library_api_sematics/controllers/__init__.py | sematicshood/addons_sematics | a9e1871938d12b595730122b55f538d300a6255f | [
"MIT"
] | null | null | null | library_api_sematics/controllers/__init__.py | sematicshood/addons_sematics | a9e1871938d12b595730122b55f538d300a6255f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from . import bitly
from . import midtrans | 16.75 | 23 | 0.641791 | 9 | 67 | 4.777778 | 0.777778 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018519 | 0.19403 | 67 | 4 | 24 | 16.75 | 0.777778 | 0.313433 | 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 |
78f0c5ac88aa898cce0abb13733698822d935083 | 43 | py | Python | byol_pytorch/__init__.py | TariqAHassan/byol-pytorch | 7be5b87b7dfd41eec8a1b1c2d44b0211a30673da | [
"MIT"
] | 1,230 | 2020-06-17T01:05:21.000Z | 2022-03-30T10:21:04.000Z | byol_pytorch/__init__.py | TariqAHassan/byol-pytorch | 7be5b87b7dfd41eec8a1b1c2d44b0211a30673da | [
"MIT"
] | 74 | 2020-06-17T10:12:14.000Z | 2022-03-30T06:19:15.000Z | byol_pytorch/__init__.py | TariqAHassan/byol-pytorch | 7be5b87b7dfd41eec8a1b1c2d44b0211a30673da | [
"MIT"
] | 193 | 2020-06-17T08:11:52.000Z | 2022-03-31T21:10:49.000Z | from byol_pytorch.byol_pytorch import BYOL
| 21.5 | 42 | 0.883721 | 7 | 43 | 5.142857 | 0.571429 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
78fe2ff8c32f6631cebc50746f0a9700e79cfe7e | 17,699 | py | Python | tests/test_rules.py | DrackThor/artifactory-cleanup | 7fe154e1822fd6449c7dc896c0d9904f61adbc86 | [
"MIT"
] | 1 | 2022-03-22T06:54:36.000Z | 2022-03-22T06:54:36.000Z | tests/test_rules.py | DrackThor/artifactory-cleanup | 7fe154e1822fd6449c7dc896c0d9904f61adbc86 | [
"MIT"
] | null | null | null | tests/test_rules.py | DrackThor/artifactory-cleanup | 7fe154e1822fd6449c7dc896c0d9904f61adbc86 | [
"MIT"
] | null | null | null | from artifactory_cleanup import rules
import custom_rules
from policy import RULES
def test_repo_rules():
for repo_rules in RULES:
assert isinstance(repo_rules.name, str)
def test_keep_latest_n_version():
rule = rules.keep_latest_nupkg_n_version(2)
result = [
{
"name": ".nup... | 27.784929 | 108 | 0.481214 | 1,889 | 17,699 | 4.313923 | 0.083113 | 0.022089 | 0.038655 | 0.05154 | 0.854093 | 0.849061 | 0.828936 | 0.82145 | 0.765861 | 0.737882 | 0 | 0.063568 | 0.348494 | 17,699 | 636 | 109 | 27.828616 | 0.643136 | 0.014182 | 0 | 0.514388 | 0 | 0 | 0.308072 | 0.130417 | 0 | 0 | 0 | 0 | 0.032374 | 1 | 0.032374 | false | 0 | 0.005396 | 0 | 0.03777 | 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 |
601613098414f5c27d5074dbd4516beeb1a75504 | 42 | py | Python | library_simulator/__init__.py | harmsm/library_simulator | 26092cde0f9f89659b210f6829e01799ac77e555 | [
"Unlicense"
] | null | null | null | library_simulator/__init__.py | harmsm/library_simulator | 26092cde0f9f89659b210f6829e01799ac77e555 | [
"Unlicense"
] | null | null | null | library_simulator/__init__.py | harmsm/library_simulator | 26092cde0f9f89659b210f6829e01799ac77e555 | [
"Unlicense"
] | 1 | 2019-06-03T21:28:05.000Z | 2019-06-03T21:28:05.000Z |
from .simulator import LibrarySimulator
| 10.5 | 39 | 0.833333 | 4 | 42 | 8.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 42 | 3 | 40 | 14 | 0.972222 | 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 |
602114acc4b7b28ce0edb065b03bd341f5578251 | 8,529 | py | Python | tests/unit/amlb/utils/serialization/test_serializers.py | PGijsbers/automlbenchmark | 6e0296b097455caf18d754e79a2bd85e85d01548 | [
"MIT"
] | 282 | 2018-09-19T09:45:46.000Z | 2022-03-30T04:05:51.000Z | tests/unit/amlb/utils/serialization/test_serializers.py | PGijsbers/automlbenchmark | 6e0296b097455caf18d754e79a2bd85e85d01548 | [
"MIT"
] | 267 | 2018-11-02T11:43:11.000Z | 2022-03-31T08:58:16.000Z | tests/unit/amlb/utils/serialization/test_serializers.py | PGijsbers/automlbenchmark | 6e0296b097455caf18d754e79a2bd85e85d01548 | [
"MIT"
] | 104 | 2018-10-17T19:32:36.000Z | 2022-03-19T22:47:59.000Z | import os
import pytest
from amlb.utils.core import Namespace as ns
from amlb.utils.serialization import is_sparse, serialize_data, deserialize_data
@pytest.mark.use_disk
def test_serialize_list_json(tmpdir):
li = [[1, 2.2, None, 3, 4.4, 'foo', True], ['bar', False, 2/3]]
dest = os.path.join(tmpdir, "my_lis... | 32.930502 | 93 | 0.674874 | 1,263 | 8,529 | 4.392716 | 0.085511 | 0.015501 | 0.010274 | 0.045963 | 0.876532 | 0.863915 | 0.839041 | 0.816691 | 0.805155 | 0.769286 | 0 | 0.022321 | 0.185837 | 8,529 | 258 | 94 | 33.05814 | 0.776642 | 0.007152 | 0 | 0.681159 | 0 | 0 | 0.053054 | 0 | 0 | 0 | 0 | 0 | 0.285024 | 1 | 0.072464 | false | 0 | 0.091787 | 0 | 0.164251 | 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 |
6048ded71fda64ba64a69d786b38ec992eb0ab85 | 7,292 | py | Python | pretrained_mol_sim/molecule_optimization/get_final_results.py | allisontam/graph_coattention | 5edc98615d5526269452b519bb13512ec5e952da | [
"MIT"
] | null | null | null | pretrained_mol_sim/molecule_optimization/get_final_results.py | allisontam/graph_coattention | 5edc98615d5526269452b519bb13512ec5e952da | [
"MIT"
] | null | null | null | pretrained_mol_sim/molecule_optimization/get_final_results.py | allisontam/graph_coattention | 5edc98615d5526269452b519bb13512ec5e952da | [
"MIT"
] | null | null | null |
import pickle
import gzip
# We define the functions used to load and save objects
def save_object(obj, filename):
"""
Function that saves an object to a file using pickle
"""
result = pickle.dumps(obj)
with gzip.GzipFile(filename, 'wb') as dest: dest.write(result)
dest.close()
def load_ob... | 34.72381 | 124 | 0.625206 | 978 | 7,292 | 4.507157 | 0.126789 | 0.057169 | 0.032668 | 0.024955 | 0.842559 | 0.803539 | 0.799456 | 0.769964 | 0.755898 | 0.738657 | 0 | 0.023981 | 0.23944 | 7,292 | 209 | 125 | 34.889952 | 0.770826 | 0.052935 | 0 | 0.622378 | 0 | 0 | 0.109816 | 0.076901 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013986 | false | 0 | 0.055944 | 0 | 0.076923 | 0.125874 | 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 |
608c48677c96388db33737cc0a430016c00fbb8d | 1,000 | py | Python | Phase_3/ds-k-nearest_neighbors-main/src/euclid.py | VaneezaAhmad/ds-east-042621-lectures | 334f98bb4bd4f8020055e95994764b1587a809c0 | [
"MIT"
] | 1 | 2021-08-12T21:48:21.000Z | 2021-08-12T21:48:21.000Z | Phase_3/ds-k-nearest_neighbors-main/src/euclid.py | VaneezaAhmad/ds-east-042621-lectures | 334f98bb4bd4f8020055e95994764b1587a809c0 | [
"MIT"
] | null | null | null | Phase_3/ds-k-nearest_neighbors-main/src/euclid.py | VaneezaAhmad/ds-east-042621-lectures | 334f98bb4bd4f8020055e95994764b1587a809c0 | [
"MIT"
] | 20 | 2021-04-27T19:27:58.000Z | 2021-06-16T15:08:50.000Z | import pandas as pd
import numpy as np
def euclid(train_X, val_X):
"""
:param train_X: one record from the training set
(type series or dataframe including target (survived))
:param val_X: one record from the validation set
series or dataframe include target (survive... | 27.027027 | 74 | 0.618 | 138 | 1,000 | 4.376812 | 0.311594 | 0.069536 | 0.059603 | 0.066225 | 0.824503 | 0.764901 | 0.764901 | 0.764901 | 0.764901 | 0.764901 | 0 | 0.007052 | 0.291 | 1,000 | 36 | 75 | 27.777778 | 0.844852 | 0.575 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.5 | 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 |
60b8a20d80d44a1cb041da6833d2028e2e163f6b | 5,038 | py | Python | posthog/test/test_entity_model.py | alx-a/posthog | a76959bb2a7640ca8cf367a4d3a0e4ca67f65a5e | [
"MIT"
] | null | null | null | posthog/test/test_entity_model.py | alx-a/posthog | a76959bb2a7640ca8cf367a4d3a0e4ca67f65a5e | [
"MIT"
] | null | null | null | posthog/test/test_entity_model.py | alx-a/posthog | a76959bb2a7640ca8cf367a4d3a0e4ca67f65a5e | [
"MIT"
] | null | null | null | from django.test import TestCase
from posthog.models.entity import TREND_FILTER_TYPE_ACTIONS, TREND_FILTER_TYPE_EVENTS, Entity
class TestEntity(TestCase):
def test_equality_with_ids(self):
entity1 = Entity({"id": "e1", "type": TREND_FILTER_TYPE_ACTIONS})
entity2 = Entity({"id": "e1", "type": TRE... | 38.166667 | 109 | 0.470623 | 455 | 5,038 | 5.028571 | 0.136264 | 0.086538 | 0.118007 | 0.132867 | 0.888986 | 0.853147 | 0.853147 | 0.853147 | 0.815559 | 0.746941 | 0 | 0.022451 | 0.345772 | 5,038 | 131 | 110 | 38.458015 | 0.671723 | 0.004168 | 0 | 0.626168 | 0 | 0 | 0.212363 | 0 | 0 | 0 | 0 | 0 | 0.093458 | 1 | 0.046729 | false | 0 | 0.018692 | 0 | 0.074766 | 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 |
60c7aa21b3becb1e4a441128f6d43ba3e4e7eaa3 | 49,109 | py | Python | tests/test_services.py | gustavofonseca/multiverse | 1d98f9374a92cdce3c198518d6f70a010f5abc67 | [
"BSD-2-Clause"
] | 6 | 2018-12-05T15:52:13.000Z | 2019-04-18T14:14:32.000Z | tests/test_services.py | gustavofonseca/multiverse | 1d98f9374a92cdce3c198518d6f70a010f5abc67 | [
"BSD-2-Clause"
] | 117 | 2018-09-03T21:13:30.000Z | 2019-09-26T19:16:24.000Z | tests/test_services.py | gustavofonseca/multiverse | 1d98f9374a92cdce3c198518d6f70a010f5abc67 | [
"BSD-2-Clause"
] | 9 | 2018-12-05T14:01:30.000Z | 2019-07-04T17:34:08.000Z | import os
import unittest
from unittest import mock
import datetime
import random
from bson.objectid import ObjectId
from documentstore import services, exceptions, domain
from . import apptesting
def make_services():
session = apptesting.Session()
return services.get_handlers(lambda: session, subscribers=[... | 39.796596 | 111 | 0.58867 | 5,311 | 49,109 | 5.258143 | 0.065148 | 0.049631 | 0.040572 | 0.033052 | 0.880148 | 0.8621 | 0.843121 | 0.824321 | 0.80613 | 0.779524 | 0 | 0.050963 | 0.283186 | 49,109 | 1,233 | 112 | 39.828873 | 0.742344 | 0.010263 | 0 | 0.631879 | 0 | 0.002846 | 0.160073 | 0.051791 | 0 | 0 | 0 | 0 | 0.112903 | 1 | 0.119545 | false | 0 | 0.00759 | 0 | 0.149905 | 0.012334 | 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 |
60d27bc7cc5914cc9c25adb19669b05a9e543193 | 7,879 | py | Python | tests/test_fill.py | mgesteiro/pyubx2 | 02fd8fa2863b88ed2d746b5800717a1b6b213181 | [
"BSD-3-Clause"
] | null | null | null | tests/test_fill.py | mgesteiro/pyubx2 | 02fd8fa2863b88ed2d746b5800717a1b6b213181 | [
"BSD-3-Clause"
] | null | null | null | tests/test_fill.py | mgesteiro/pyubx2 | 02fd8fa2863b88ed2d746b5800717a1b6b213181 | [
"BSD-3-Clause"
] | null | null | null | '''
Created on 21 Oct 2020
Fill method tests for pyubx2.UBXMessage
@author: semuadmin
'''
# pylint: disable=line-too-long, invalid-name, missing-docstring, no-member
import unittest
from pyubx2 import UBXMessage, SET, POLL
class FillTest(unittest.TestCase):
def setUp(self):
self.maxD... | 64.581967 | 471 | 0.678639 | 1,135 | 7,879 | 4.607048 | 0.176211 | 0.085676 | 0.052018 | 0.061197 | 0.807994 | 0.797093 | 0.765347 | 0.759419 | 0.692484 | 0.626697 | 0 | 0.109728 | 0.174134 | 7,879 | 121 | 472 | 65.115702 | 0.693868 | 0.12527 | 0 | 0.511628 | 0 | 0.116279 | 0.391607 | 0.088523 | 0 | 0 | 0 | 0 | 0.209302 | 1 | 0.232558 | false | 0.011628 | 0.023256 | 0 | 0.267442 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
60e29c5b15948891a63018e89f81ccd1d0f84b90 | 88 | py | Python | saopy/owlssc/__init__.py | CityPulse/CP_Resourcemanagement | aa670fa89d5e086a98ade3ccc152518be55abf2e | [
"MIT"
] | 2 | 2016-11-03T14:57:45.000Z | 2019-05-13T13:21:08.000Z | saopy/owlssc/__init__.py | CityPulse/CP_Resourcemanagement | aa670fa89d5e086a98ade3ccc152518be55abf2e | [
"MIT"
] | null | null | null | saopy/owlssc/__init__.py | CityPulse/CP_Resourcemanagement | aa670fa89d5e086a98ade3ccc152518be55abf2e | [
"MIT"
] | 1 | 2020-07-23T11:27:15.000Z | 2020-07-23T11:27:15.000Z | import saopy.model
from saopy.model import owlssc___ServiceCategory as ServiceCategory
| 22 | 67 | 0.875 | 11 | 88 | 6.727273 | 0.636364 | 0.27027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102273 | 88 | 3 | 68 | 29.333333 | 0.936709 | 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 |
880bad88a3f34b8e4e3ccb80279c4c4c188539a5 | 141 | py | Python | commondata/__init__.py | softwaresaved/policy_common_data | 2c20a5929a9509a323269af5fb815a8273e64516 | [
"BSD-3-Clause"
] | null | null | null | commondata/__init__.py | softwaresaved/policy_common_data | 2c20a5929a9509a323269af5fb815a8273e64516 | [
"BSD-3-Clause"
] | null | null | null | commondata/__init__.py | softwaresaved/policy_common_data | 2c20a5929a9509a323269af5fb815a8273e64516 | [
"BSD-3-Clause"
] | null | null | null | import os
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
DATA_DIR = os.path.abspath(os.path.join(BASE_DIR, 'data'))
| 28.2 | 70 | 0.751773 | 25 | 141 | 3.96 | 0.4 | 0.30303 | 0.181818 | 0.30303 | 0.323232 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070922 | 141 | 4 | 71 | 35.25 | 0.755725 | 0 | 0 | 0 | 0 | 0 | 0.028369 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 |
71664c0de31b805d12b7f53141d6708136fe4d5d | 32 | py | Python | app/views/api/users/__init__.py | dandye/DjanGoat | 72beb30afe3ddd5b31ce74a5d3b9da61d2c5df1d | [
"MIT"
] | 65 | 2017-08-18T15:12:03.000Z | 2021-08-14T16:50:07.000Z | app/views/api/users/__init__.py | dandye/DjanGoat | 72beb30afe3ddd5b31ce74a5d3b9da61d2c5df1d | [
"MIT"
] | 83 | 2017-11-28T21:45:20.000Z | 2021-11-02T18:52:52.000Z | app/views/api/users/__init__.py | dandye/DjanGoat | 72beb30afe3ddd5b31ce74a5d3b9da61d2c5df1d | [
"MIT"
] | 71 | 2017-08-17T14:58:01.000Z | 2022-02-02T17:09:49.000Z | import app.views.api.users.urls
| 16 | 31 | 0.8125 | 6 | 32 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 32 | 1 | 32 | 32 | 0.866667 | 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 |
71b36a5752301a4fab1f956f44b1cf0805f7207e | 20,533 | py | Python | tests/test_Models.py | xin-huang/dadi-cli | d403e9dced19c3a71dc134a8993ad0ceba592c51 | [
"Apache-2.0"
] | 5 | 2021-12-07T23:27:40.000Z | 2022-03-15T08:59:33.000Z | tests/test_Models.py | xin-huang/dadi-cli | d403e9dced19c3a71dc134a8993ad0ceba592c51 | [
"Apache-2.0"
] | 2 | 2022-01-15T09:27:12.000Z | 2022-03-25T16:08:52.000Z | tests/test_Models.py | xin-huang/dadi-cli | d403e9dced19c3a71dc134a8993ad0ceba592c51 | [
"Apache-2.0"
] | 5 | 2021-03-31T19:22:23.000Z | 2021-12-07T18:24:59.000Z | import dadi
import dadi.DFE as DFE
import pytest
from src.Models import get_dadi_model_func, get_dadi_model_params, print_available_models, print_model_details
def test_get_dadi_model_func():
#Selection with a gamma shared between populations
assert get_dadi_model_func('IM', withSelection=True, single_gamma=Tr... | 47.094037 | 722 | 0.652754 | 2,865 | 20,533 | 4.508551 | 0.057941 | 0.030348 | 0.039018 | 0.05156 | 0.900674 | 0.889371 | 0.864133 | 0.814663 | 0.68104 | 0.62259 | 0 | 0.017756 | 0.251205 | 20,533 | 435 | 723 | 47.202299 | 0.822374 | 0.009935 | 0 | 0.564607 | 0 | 0.008427 | 0.630579 | 0.034742 | 0.073034 | 0 | 0 | 0 | 0.176966 | 1 | 0.011236 | false | 0 | 0.011236 | 0 | 0.022472 | 0.08427 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
71c710af7bd067012d5a03d00b4c1e65d2abcfc2 | 6,709 | py | Python | tests/integration/commands/test_set.py | real-digital/esque | 0b779fc308ce8bce45c1903f36c33664b2e832e7 | [
"MIT"
] | 29 | 2019-05-10T21:12:38.000Z | 2021-08-24T08:09:49.000Z | tests/integration/commands/test_set.py | real-digital/esque | 0b779fc308ce8bce45c1903f36c33664b2e832e7 | [
"MIT"
] | 103 | 2019-05-17T07:21:41.000Z | 2021-12-02T08:29:00.000Z | tests/integration/commands/test_set.py | real-digital/esque | 0b779fc308ce8bce45c1903f36c33664b2e832e7 | [
"MIT"
] | 2 | 2019-05-28T06:45:14.000Z | 2019-11-21T00:33:15.000Z | import pendulum
import pytest
from confluent_kafka.cimpl import Producer as ConfluenceProducer
from confluent_kafka.cimpl import TopicPartition
from esque.cli.commands import esque
from esque.controller.consumergroup_controller import ConsumerGroupController
from tests.utils import produce_text_test_messages
@pytest... | 36.862637 | 118 | 0.738411 | 747 | 6,709 | 6.31593 | 0.123159 | 0.112972 | 0.04663 | 0.079271 | 0.876643 | 0.864349 | 0.864349 | 0.853964 | 0.833404 | 0.813692 | 0 | 0.011346 | 0.159189 | 6,709 | 181 | 119 | 37.066298 | 0.825031 | 0.021166 | 0 | 0.630137 | 0 | 0 | 0.074684 | 0.003201 | 0 | 0 | 0 | 0 | 0.075342 | 1 | 0.034247 | false | 0 | 0.047945 | 0 | 0.082192 | 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 |
71d262f35c243d34bf28b4d9faec2f9d4b3dc6f3 | 247 | py | Python | libqtile/core/base.py | daroczig/qtile | 75528dd304f48e6a3a945b9029c40131129d2e7e | [
"MIT"
] | 1 | 2019-06-18T07:44:04.000Z | 2019-06-18T07:44:04.000Z | libqtile/core/base.py | daroczig/qtile | 75528dd304f48e6a3a945b9029c40131129d2e7e | [
"MIT"
] | 22 | 2019-02-23T23:56:05.000Z | 2019-09-04T21:35:24.000Z | libqtile/core/base.py | daroczig/qtile | 75528dd304f48e6a3a945b9029c40131129d2e7e | [
"MIT"
] | 4 | 2019-02-22T23:26:00.000Z | 2022-01-03T17:46:54.000Z | from abc import ABCMeta, abstractmethod
import typing
class Core(metaclass=ABCMeta):
@abstractmethod
def get_keys(self) -> typing.List[str]:
pass
@abstractmethod
def get_modifiers(self) -> typing.List[str]:
pass
| 19 | 48 | 0.680162 | 29 | 247 | 5.724138 | 0.586207 | 0.253012 | 0.240964 | 0.204819 | 0.253012 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.226721 | 247 | 12 | 49 | 20.583333 | 0.86911 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.222222 | 0.222222 | 0 | 0.555556 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
e08ec27c8e7a010be777e7976f1a133c60e92aa6 | 141 | py | Python | src/www/api/query.py | SuLab/bioreel | 1c701316a338b16d12c11903e40866e945abb8d1 | [
"Apache-2.0"
] | 32 | 2015-10-23T19:47:09.000Z | 2019-11-16T01:28:26.000Z | src/www/api/query.py | SuLab/bioreel | 1c701316a338b16d12c11903e40866e945abb8d1 | [
"Apache-2.0"
] | 12 | 2015-10-27T20:20:41.000Z | 2017-04-04T21:35:46.000Z | src/www/api/query.py | SuLab/bioreel | 1c701316a338b16d12c11903e40866e945abb8d1 | [
"Apache-2.0"
] | 15 | 2015-10-15T20:46:50.000Z | 2021-07-12T19:17:49.000Z | # -*- coding: utf-8 -*-
from biothings.www.api.es.query import ESQuery
class ESQuery(ESQuery):
# Add app specific queries here
pass
| 20.142857 | 46 | 0.687943 | 20 | 141 | 4.85 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008772 | 0.191489 | 141 | 6 | 47 | 23.5 | 0.842105 | 0.361702 | 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 |
e099930567f761c4be80e5e0de1694f146ac73ef | 550 | py | Python | __init__.py | NWChemEx-Project/PythonProjectorEmbedding | a1c3346f65382de3493d690b4075930b34c96862 | [
"Apache-2.0"
] | null | null | null | __init__.py | NWChemEx-Project/PythonProjectorEmbedding | a1c3346f65382de3493d690b4075930b34c96862 | [
"Apache-2.0"
] | null | null | null | __init__.py | NWChemEx-Project/PythonProjectorEmbedding | a1c3346f65382de3493d690b4075930b34c96862 | [
"Apache-2.0"
] | null | null | null | """ __init__.py """
from projectorEmbedding.embed_utils import make_dm
from projectorEmbedding.embed_utils import flatten_basis
from projectorEmbedding.embed_utils import purify
from projectorEmbedding.embed_utils import screen_aos
from projectorEmbedding.embed_utils import truncate_basis
from projectorEmbedding.embed... | 42.307692 | 66 | 0.896364 | 64 | 550 | 7.375 | 0.34375 | 0.419492 | 0.514831 | 0.338983 | 0.707627 | 0.216102 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074545 | 550 | 12 | 67 | 45.833333 | 0.927308 | 0.02 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e0a7639e28fef5a8793742c26a1a9e2498e954d1 | 11,841 | py | Python | onnx_chainer/functions/math.py | ir5/onnx-chainer | c4e4a900c612b3528df9ef7535b7f94c7eda2f8a | [
"MIT"
] | null | null | null | onnx_chainer/functions/math.py | ir5/onnx-chainer | c4e4a900c612b3528df9ef7535b7f94c7eda2f8a | [
"MIT"
] | null | null | null | onnx_chainer/functions/math.py | ir5/onnx-chainer | c4e4a900c612b3528df9ef7535b7f94c7eda2f8a | [
"MIT"
] | null | null | null | import numpy as np
from onnx.mapping import NP_TYPE_TO_TENSOR_TYPE
from onnx_chainer.functions.opset_version import support
from onnx_chainer import onnx_helper
@support((1, 6, 7))
def convert_Add(func, opset_version, input_names, output_names, context):
if opset_version == 1:
return onnx_helper.make_nod... | 36.322086 | 79 | 0.676885 | 1,656 | 11,841 | 4.571256 | 0.085749 | 0.125495 | 0.15218 | 0.199736 | 0.813606 | 0.782034 | 0.743593 | 0.706737 | 0.674637 | 0.638705 | 0 | 0.018842 | 0.197703 | 11,841 | 325 | 80 | 36.433846 | 0.778 | 0.016553 | 0 | 0.600806 | 0 | 0 | 0.034966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.016129 | 0.012097 | 0.330645 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e0eab40ce8550a4b66719f827842d29b129472c0 | 38 | py | Python | test_calc_fail.py | piersto/pilot_project | 1d3aad28f1d9f77ba95de9adc8a0702701ab6c12 | [
"Apache-2.0"
] | null | null | null | test_calc_fail.py | piersto/pilot_project | 1d3aad28f1d9f77ba95de9adc8a0702701ab6c12 | [
"Apache-2.0"
] | null | null | null | test_calc_fail.py | piersto/pilot_project | 1d3aad28f1d9f77ba95de9adc8a0702701ab6c12 | [
"Apache-2.0"
] | null | null | null | def test_add():
assert (1+2 == 4)
| 12.666667 | 21 | 0.526316 | 7 | 38 | 2.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 0.263158 | 38 | 2 | 22 | 19 | 0.571429 | 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 |
e0f520d4f53ec84746fea23a298cc88e355e4dcf | 25,429 | py | Python | tests/wallet/cat_wallet/test_trades.py | bolshoytoster/chia-blockchain | 1086fb255601de931dc771caa7327f4df5c87ace | [
"Apache-2.0"
] | 2 | 2022-02-03T01:22:32.000Z | 2022-02-03T01:44:43.000Z | tests/wallet/cat_wallet/test_trades.py | jacobdmn/chia-blockchain | 29fad42e0c42654ec123e414966b1aa29789f384 | [
"Apache-2.0"
] | null | null | null | tests/wallet/cat_wallet/test_trades.py | jacobdmn/chia-blockchain | 29fad42e0c42654ec123e414966b1aa29789f384 | [
"Apache-2.0"
] | null | null | null | import asyncio
from secrets import token_bytes
from typing import List
import pytest
from chia.full_node.mempool_manager import MempoolManager
from chia.simulator.simulator_protocol import FarmNewBlockProtocol
from chia.types.peer_info import PeerInfo
from chia.util.ints import uint16, uint64
from chia.wallet.cat_wal... | 48.996146 | 120 | 0.733926 | 3,606 | 25,429 | 4.742097 | 0.061009 | 0.040117 | 0.074503 | 0.101053 | 0.841287 | 0.823743 | 0.790409 | 0.780175 | 0.773977 | 0.763918 | 0 | 0.023638 | 0.203115 | 25,429 | 518 | 121 | 49.090734 | 0.820223 | 0.056982 | 0 | 0.578947 | 0 | 0 | 0.007042 | 0 | 0 | 0 | 0 | 0 | 0.370927 | 1 | 0.002506 | false | 0 | 0.035088 | 0 | 0.052632 | 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 |
1cb73bffffb01af2d50f20ce7c8461f1b52b3315 | 30 | py | Python | src/telemetryserver/__init__.py | arcan1s/telemetry-server | 39eca89db557b21ab1315ef4db50d33a7947535b | [
"MIT"
] | null | null | null | src/telemetryserver/__init__.py | arcan1s/telemetry-server | 39eca89db557b21ab1315ef4db50d33a7947535b | [
"MIT"
] | null | null | null | src/telemetryserver/__init__.py | arcan1s/telemetry-server | 39eca89db557b21ab1315ef4db50d33a7947535b | [
"MIT"
] | null | null | null | from telemetryserver import *
| 15 | 29 | 0.833333 | 3 | 30 | 8.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.961538 | 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 |
1cf8a95eb5eedeaf0e26f6af3c5c60d2b93c583e | 2,639 | py | Python | marvel/modules/events.py | wrap-away/Marvellous | d4312fc91c45df6910d0f5f8b52be2b46cc73a3f | [
"MIT"
] | 28 | 2018-10-27T08:36:29.000Z | 2021-11-08T12:55:58.000Z | marvel/modules/events.py | wrap-away/Marvellous | d4312fc91c45df6910d0f5f8b52be2b46cc73a3f | [
"MIT"
] | 2 | 2020-08-31T17:01:35.000Z | 2021-07-29T13:46:39.000Z | marvel/modules/events.py | wrap-away/Marvellous | d4312fc91c45df6910d0f5f8b52be2b46cc73a3f | [
"MIT"
] | 4 | 2019-04-08T00:59:13.000Z | 2021-12-17T21:55:10.000Z | from marvel.modules.base_module import BaseModule
class Events(BaseModule):
def __init__(self, requester):
"""
Events Module.
:param requester: Requester
"""
super().__init__(requester)
def all(self, **kwargs):
"""
This returns data containing all event... | 32.9875 | 114 | 0.607806 | 282 | 2,639 | 5.638298 | 0.152482 | 0.044025 | 0.074843 | 0.092453 | 0.791195 | 0.74717 | 0.74717 | 0.74717 | 0.74717 | 0.74717 | 0 | 0 | 0.289125 | 2,639 | 79 | 115 | 33.405063 | 0.847548 | 0.343312 | 0 | 0.28 | 0 | 0 | 0.057246 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.32 | false | 0 | 0.04 | 0 | 0.68 | 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 |
1c26b1b4cd6d1882c2123dabf2bf1409399320bb | 43 | py | Python | pynet_ansible/subdir/my.py | joeyb182/pynet_ansible | b8221ebf23937838e0ecf5c71277cb042f408698 | [
"Apache-2.0"
] | null | null | null | pynet_ansible/subdir/my.py | joeyb182/pynet_ansible | b8221ebf23937838e0ecf5c71277cb042f408698 | [
"Apache-2.0"
] | null | null | null | pynet_ansible/subdir/my.py | joeyb182/pynet_ansible | b8221ebf23937838e0ecf5c71277cb042f408698 | [
"Apache-2.0"
] | null | null | null |
def print_hello():
print 'hello, world!'
| 10.75 | 22 | 0.674419 | 6 | 43 | 4.666667 | 0.666667 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 43 | 3 | 23 | 14.333333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.309524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
1c3714f8b97190de54387c05067462c712019aa2 | 7,071 | py | Python | pyxform/tests_v1/test_support_external_instances.py | PMA-2020/pmaxform3 | 9d36f97f25cb09f0fb8aafb69370454731ecbbd5 | [
"BSD-2-Clause"
] | null | null | null | pyxform/tests_v1/test_support_external_instances.py | PMA-2020/pmaxform3 | 9d36f97f25cb09f0fb8aafb69370454731ecbbd5 | [
"BSD-2-Clause"
] | null | null | null | pyxform/tests_v1/test_support_external_instances.py | PMA-2020/pmaxform3 | 9d36f97f25cb09f0fb8aafb69370454731ecbbd5 | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Test external instance syntax
"""
from pyxform.tests_v1.pyxform_test_case import PyxformTestCase
class ExternalCSVInstancesTest(PyxformTestCase):
def test_external_csv_instances(self):
# re: https://github.com/XLSForm/pyxform/issues/30
self.assertPyxformXform(
... | 42.089286 | 119 | 0.424975 | 514 | 7,071 | 5.663424 | 0.171206 | 0.043284 | 0.031261 | 0.03504 | 0.790106 | 0.745792 | 0.733425 | 0.71831 | 0.704569 | 0.704569 | 0 | 0.004421 | 0.45623 | 7,071 | 167 | 120 | 42.341317 | 0.752666 | 0.058125 | 0 | 0.63 | 0 | 0 | 0.605198 | 0.043825 | 0 | 0 | 0 | 0 | 0.06 | 1 | 0.06 | false | 0 | 0.01 | 0 | 0.11 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1c6b7ce6628ed4c2c6ba2a9fb3019e845e0efb7a | 84 | py | Python | shiftevent/__init__.py | projectshift/shift-event | ce4b7cf5398dd8108de304e1fb64016b511bacc5 | [
"MIT"
] | null | null | null | shiftevent/__init__.py | projectshift/shift-event | ce4b7cf5398dd8108de304e1fb64016b511bacc5 | [
"MIT"
] | 5 | 2018-07-30T09:46:41.000Z | 2018-09-10T10:43:43.000Z | shiftevent/__init__.py | projectshift/shift-event | ce4b7cf5398dd8108de304e1fb64016b511bacc5 | [
"MIT"
] | null | null | null | from .event_service import EventService
from .event import Event
from .db import Db
| 21 | 39 | 0.821429 | 13 | 84 | 5.230769 | 0.461538 | 0.264706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 84 | 3 | 40 | 28 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
98f9ba4c752a7f9c1271d58b61768db7efcba440 | 254 | py | Python | strings/tests/test_implement_str_str.py | ahcode0919/python-ds-algorithms | 0d617b78c50b6c18da40d9fa101438749bfc82e1 | [
"MIT"
] | null | null | null | strings/tests/test_implement_str_str.py | ahcode0919/python-ds-algorithms | 0d617b78c50b6c18da40d9fa101438749bfc82e1 | [
"MIT"
] | null | null | null | strings/tests/test_implement_str_str.py | ahcode0919/python-ds-algorithms | 0d617b78c50b6c18da40d9fa101438749bfc82e1 | [
"MIT"
] | 3 | 2020-10-07T20:24:45.000Z | 2020-12-16T04:53:19.000Z | from strings.implement_str_str import str_str
def test_str_str():
assert str_str('hello', 'll') == 2
assert str_str('test', '') == 0
assert str_str('foo', 'bar') == -1
assert str_str('a', 'aa') == -1
assert str_str('aaa', 'a') == 0
| 25.4 | 45 | 0.590551 | 41 | 254 | 3.414634 | 0.439024 | 0.342857 | 0.428571 | 0.185714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024876 | 0.208661 | 254 | 9 | 46 | 28.222222 | 0.671642 | 0 | 0 | 0 | 0 | 0 | 0.094488 | 0 | 0 | 0 | 0 | 0 | 0.714286 | 1 | 0.142857 | true | 0 | 0.142857 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c709246d79078a23fde624f1ae90f9aad90b2cf4 | 1,089 | py | Python | test/authentication/test_logout.py | rubelw/auth0_client | 51e68239babcf7c40e40491d1aaa3f8547a67f63 | [
"MIT"
] | 2 | 2020-10-08T21:42:56.000Z | 2021-03-21T08:17:52.000Z | test/authentication/test_logout.py | rubelw/auth0_client | 51e68239babcf7c40e40491d1aaa3f8547a67f63 | [
"MIT"
] | null | null | null | test/authentication/test_logout.py | rubelw/auth0_client | 51e68239babcf7c40e40491d1aaa3f8547a67f63 | [
"MIT"
] | null | null | null | import unittest
import mock
from auth0_client.v3.authentication.logout import Logout
class TestLogout(unittest.TestCase):
@mock.patch('auth0_client.v3.authentication.logout.Logout.get')
def test_logout(self, mock_get):
g = Logout('my.domain.com')
g.logout(client_id='cid',
r... | 28.657895 | 105 | 0.630854 | 134 | 1,089 | 4.992537 | 0.30597 | 0.041854 | 0.06577 | 0.121076 | 0.847534 | 0.798206 | 0.798206 | 0.798206 | 0.798206 | 0.798206 | 0 | 0.011919 | 0.229568 | 1,089 | 37 | 106 | 29.432432 | 0.785459 | 0 | 0 | 0.56 | 0 | 0.04 | 0.30303 | 0.088154 | 0 | 0 | 0 | 0 | 0.16 | 1 | 0.08 | false | 0 | 0.12 | 0 | 0.24 | 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 |
c725e05e913a7cdcaff62a2f96ebb30f80f29197 | 840 | py | Python | temboo/core/Library/eBay/Finding/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/eBay/Finding/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/eBay/Finding/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | from temboo.Library.eBay.Finding.FindCompletedItems import FindCompletedItems, FindCompletedItemsInputSet, FindCompletedItemsResultSet, FindCompletedItemsChoreographyExecution
from temboo.Library.eBay.Finding.FindItemsAdvanced import FindItemsAdvanced, FindItemsAdvancedInputSet, FindItemsAdvancedResultSet, FindItemsAdv... | 140 | 175 | 0.916667 | 55 | 840 | 14 | 0.472727 | 0.064935 | 0.11039 | 0.136364 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 840 | 5 | 176 | 168 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c74e5adfddaee9185e9b60592ade7fa035c1905b | 41 | py | Python | kivymd/uix/dropdownitem/__init__.py | AnEx07/KivyMD | e4004a570ad3f1874b3540cc1b0c243b3037bba8 | [
"MIT"
] | null | null | null | kivymd/uix/dropdownitem/__init__.py | AnEx07/KivyMD | e4004a570ad3f1874b3540cc1b0c243b3037bba8 | [
"MIT"
] | null | null | null | kivymd/uix/dropdownitem/__init__.py | AnEx07/KivyMD | e4004a570ad3f1874b3540cc1b0c243b3037bba8 | [
"MIT"
] | null | null | null | from .dropdownitem import MDDropDownItem
| 20.5 | 40 | 0.878049 | 4 | 41 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c752bc69f299b69e947bc51fc332212eb3810b95 | 20 | py | Python | models/__init__.py | kex5n/Vehicles-Dispatch-Simulator | d0cca03fbf56e4b0ceeef8dafc59de105c1d4507 | [
"MIT"
] | 2 | 2020-02-08T06:09:37.000Z | 2020-02-09T04:11:20.000Z | models/__init__.py | kex5n/Vehicles-Dispatch-Simulator | d0cca03fbf56e4b0ceeef8dafc59de105c1d4507 | [
"MIT"
] | null | null | null | models/__init__.py | kex5n/Vehicles-Dispatch-Simulator | d0cca03fbf56e4b0ceeef8dafc59de105c1d4507 | [
"MIT"
] | null | null | null | from .dqn import DQN | 20 | 20 | 0.8 | 4 | 20 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 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 |
c75d24fb1ca74abb1d21c56cb9dab5046f360f39 | 99 | py | Python | tests/data/nested_raise_without_from.py | jdufresne/flake8-raise | 22415a4ae85a9dbb859cc92252ad5f7252b8fc98 | [
"MIT"
] | 21 | 2020-01-19T17:33:07.000Z | 2021-10-02T16:53:40.000Z | tests/data/nested_raise_without_from.py | jdufresne/flake8-raise | 22415a4ae85a9dbb859cc92252ad5f7252b8fc98 | [
"MIT"
] | 3 | 2020-01-20T08:47:49.000Z | 2020-01-30T16:39:50.000Z | tests/data/nested_raise_without_from.py | jdufresne/flake8-raise | 22415a4ae85a9dbb859cc92252ad5f7252b8fc98 | [
"MIT"
] | null | null | null | try:
pass
except ValueError:
try:
pass
except OSError:
raise TypeError
| 12.375 | 23 | 0.575758 | 10 | 99 | 5.7 | 0.7 | 0.245614 | 0.45614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.383838 | 99 | 7 | 24 | 14.142857 | 0.934426 | 0 | 0 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.285714 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
c7664fff21f573f38379359f7b3aa4285e079324 | 32,548 | py | Python | tests/views/test_reporting_units.py | ONSdigital/response-operations-ui | 1ec70c89e443fdfba620af328a4a13ce67459aa8 | [
"MIT"
] | 3 | 2018-03-06T12:33:11.000Z | 2021-03-09T09:20:55.000Z | tests/views/test_reporting_units.py | ONSdigital/response-operations-ui | 1ec70c89e443fdfba620af328a4a13ce67459aa8 | [
"MIT"
] | 519 | 2017-11-30T16:32:24.000Z | 2022-03-28T13:37:57.000Z | tests/views/test_reporting_units.py | ONSdigital/response-operations-ui | 1ec70c89e443fdfba620af328a4a13ce67459aa8 | [
"MIT"
] | 2 | 2020-01-21T20:27:32.000Z | 2021-04-11T07:45:16.000Z | import json
import os
import re
from random import randint
from unittest import TestCase
import requests_mock
from config import TestingConfig
from response_operations_ui import create_app
respondent_party_id = "cd592e0f-8d07-407b-b75d-e01fbdae8233"
business_party_id = "b3ba864b-7cbc-4f44-84fe-88dc018a1a4c"
ru_ref =... | 48.579104 | 120 | 0.728801 | 4,312 | 32,548 | 5.108534 | 0.05821 | 0.091883 | 0.071818 | 0.050163 | 0.873025 | 0.851643 | 0.839704 | 0.827447 | 0.794897 | 0.778328 | 0 | 0.031207 | 0.165141 | 32,548 | 669 | 121 | 48.651719 | 0.77945 | 0.009985 | 0 | 0.605119 | 0 | 0 | 0.239081 | 0.19702 | 0 | 0 | 0 | 0 | 0.151737 | 1 | 0.076782 | false | 0 | 0.014625 | 0 | 0.096892 | 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 |
4001ae10566099b627db4979f72b2da91561b25b | 7,361 | py | Python | stackprinter/colorschemes.py | cknd/talkative_tracebacks | 02516555ea4f070d15bc39d4b26b448ba686ff17 | [
"MIT"
] | 1,233 | 2019-04-23T10:51:05.000Z | 2022-03-25T23:50:20.000Z | stackprinter/colorschemes.py | cknd/talkative_tracebacks | 02516555ea4f070d15bc39d4b26b448ba686ff17 | [
"MIT"
] | 40 | 2019-04-28T21:29:41.000Z | 2022-02-18T03:47:32.000Z | stackprinter/colorschemes.py | cknd/talkative_tracebacks | 02516555ea4f070d15bc39d4b26b448ba686ff17 | [
"MIT"
] | 48 | 2019-04-28T23:25:54.000Z | 2022-02-22T20:12:52.000Z | import random
__all__ = ['color', 'darkbg', 'darkbg2', 'darkbg3',
'lightbg', 'lightbg2', 'lightbg3']
class ColorScheme():
def __getitem__(self, name):
raise NotImplemented
def get_random(self):
raise NotImplemented
class darkbg(ColorScheme):
# Hue,... | 29.210317 | 64 | 0.440701 | 957 | 7,361 | 3.267503 | 0.079415 | 0.069076 | 0.050847 | 0.049888 | 0.867925 | 0.821554 | 0.784778 | 0.762072 | 0.726895 | 0.712824 | 0 | 0.090013 | 0.393289 | 7,361 | 251 | 65 | 29.326693 | 0.610166 | 0.060318 | 0 | 0.654545 | 0 | 0 | 0.114045 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.121212 | false | 0 | 0.018182 | 0.036364 | 0.290909 | 0.024242 | 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 |
403b80c13dd122ac54e744c585147065f5c58cfa | 4,678 | py | Python | seq2seq/layers.py | anna1995d/signature_verification-1 | eb5c9e8486f7e0135e71080f26649b0e438a1a3d | [
"MIT"
] | 14 | 2018-03-01T08:51:39.000Z | 2021-03-27T17:41:33.000Z | seq2seq/layers.py | anna1995d/signature_verification-1 | eb5c9e8486f7e0135e71080f26649b0e438a1a3d | [
"MIT"
] | 3 | 2019-02-15T06:39:18.000Z | 2020-08-10T08:42:07.000Z | seq2seq/layers.py | kahrabian/signature_verification | 2a35bb2c7c934bd94104cf9e1fd83e18bd4846ee | [
"MIT"
] | 10 | 2017-10-30T16:59:26.000Z | 2021-04-23T01:26:16.000Z | import keras.backend as K
from keras import initializers, regularizers, constraints
from keras.layers import Layer
class AttentionWithContext(Layer):
def __init__(self,
kernel_regularizer=None, align_regularizer=None, bias_regularizer=None,
kernel_constraint=None, align_constrain... | 35.172932 | 104 | 0.617999 | 549 | 4,678 | 5.071038 | 0.132969 | 0.075431 | 0.03556 | 0.030532 | 0.82579 | 0.818966 | 0.818966 | 0.797773 | 0.74102 | 0.720187 | 0 | 0.006499 | 0.2764 | 4,678 | 132 | 105 | 35.439394 | 0.815953 | 0 | 0 | 0.679612 | 0 | 0 | 0.015177 | 0 | 0 | 0 | 0 | 0 | 0.019417 | 1 | 0.097087 | false | 0 | 0.029126 | 0.038835 | 0.203884 | 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 |
40898d3ddd8d94cacf42fb634042ca56e7a2d9b5 | 41,242 | py | Python | chainlibpy/generated/tendermint/types/types_pb2.py | MaCong-crypto/chainlibpy | 8f91869fdf068359ebd9a3b206a7e856d8fa84f3 | [
"Apache-2.0"
] | null | null | null | chainlibpy/generated/tendermint/types/types_pb2.py | MaCong-crypto/chainlibpy | 8f91869fdf068359ebd9a3b206a7e856d8fa84f3 | [
"Apache-2.0"
] | null | null | null | chainlibpy/generated/tendermint/types/types_pb2.py | MaCong-crypto/chainlibpy | 8f91869fdf068359ebd9a3b206a7e856d8fa84f3 | [
"Apache-2.0"
] | null | null | null |
'Generated protocol buffer code.'
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
_sym_db = ... | 312.439394 | 5,788 | 0.824718 | 5,932 | 41,242 | 5.397842 | 0.054282 | 0.04772 | 0.076546 | 0.067458 | 0.796877 | 0.722861 | 0.68476 | 0.664366 | 0.63401 | 0.6099 | 0 | 0.043374 | 0.042384 | 41,242 | 131 | 5,789 | 314.824427 | 0.767382 | 0.000752 | 0 | 0 | 1 | 0.738462 | 0.219151 | 0.171116 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.076923 | 0 | 0.076923 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
408adaf01422058a2623a04ce6cfc948ad877247 | 10,001 | py | Python | bindings/python/tests/magnet_uri_test.py | evsh/libtorrent | 6be7c5fde24ff3b3942933a18d02592a63f22cc0 | [
"BSL-1.0",
"BSD-3-Clause"
] | 9 | 2019-11-05T16:47:12.000Z | 2022-03-05T15:21:25.000Z | bindings/python/tests/magnet_uri_test.py | zeule/libtorrent | 6be7c5fde24ff3b3942933a18d02592a63f22cc0 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | bindings/python/tests/magnet_uri_test.py | zeule/libtorrent | 6be7c5fde24ff3b3942933a18d02592a63f22cc0 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | import tempfile
import unittest
import libtorrent as lt
from . import lib
class ParseMagnetTest(unittest.TestCase):
def setUp(self) -> None:
self.info_hash_sha1 = lib.get_random_bytes(20).hex()
self.info_hash_sha256 = lib.get_random_bytes(32).hex()
def test_parse_to_atp(self) -> None:
... | 40.489879 | 87 | 0.559244 | 1,226 | 10,001 | 4.365416 | 0.103589 | 0.052317 | 0.065022 | 0.059791 | 0.886958 | 0.855194 | 0.835949 | 0.808857 | 0.806614 | 0.792414 | 0 | 0.033196 | 0.29817 | 10,001 | 246 | 88 | 40.654472 | 0.729306 | 0.070993 | 0 | 0.677885 | 0 | 0 | 0.179819 | 0.041505 | 0 | 0 | 0 | 0 | 0.149038 | 1 | 0.076923 | false | 0 | 0.019231 | 0 | 0.110577 | 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 |
40d47771cf4fedd8ab38f717dbc5e79b4675e572 | 185 | py | Python | python/ray/job_submission/__init__.py | mgelbart/ray | 4cec2286572e368a4bd64aae467751a384eff62d | [
"Apache-2.0"
] | 22 | 2018-05-08T05:52:34.000Z | 2020-04-01T10:09:55.000Z | python/ray/job_submission/__init__.py | mgelbart/ray | 4cec2286572e368a4bd64aae467751a384eff62d | [
"Apache-2.0"
] | 73 | 2021-09-25T07:11:39.000Z | 2022-03-26T07:10:59.000Z | python/ray/job_submission/__init__.py | mgelbart/ray | 4cec2286572e368a4bd64aae467751a384eff62d | [
"Apache-2.0"
] | 10 | 2018-04-27T10:50:59.000Z | 2020-02-24T02:41:43.000Z | from ray.dashboard.modules.job.sdk import JobSubmissionClient
from ray.dashboard.modules.job.common import JobStatus, JobInfo
__all__ = ["JobSubmissionClient", "JobStatus", "JobInfo"]
| 37 | 63 | 0.810811 | 21 | 185 | 6.952381 | 0.571429 | 0.09589 | 0.219178 | 0.315068 | 0.356164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 185 | 4 | 64 | 46.25 | 0.858824 | 0 | 0 | 0 | 0 | 0 | 0.189189 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9068a9c175055a5f5321007d2df7665ba414cff7 | 5,534 | py | Python | tests/test.py | Mambix/ChaosDuino | b4b95b2f0d47a60d165145ab02af1fa0ac3239aa | [
"MIT"
] | null | null | null | tests/test.py | Mambix/ChaosDuino | b4b95b2f0d47a60d165145ab02af1fa0ac3239aa | [
"MIT"
] | null | null | null | tests/test.py | Mambix/ChaosDuino | b4b95b2f0d47a60d165145ab02af1fa0ac3239aa | [
"MIT"
] | null | null | null | try:
from StringIO import StringIO
except ImportError:
from io import StringIO
import unittest
import sys
import time
from serial import Serial
PORT = '/dev/ttyACM0'
class TestSettings(unittest.TestCase):
def setUp(self):
self.held, sys.stdout = sys.stdout, StringIO()
def test_00_echo(self):... | 29.280423 | 83 | 0.526744 | 728 | 5,534 | 3.968407 | 0.151099 | 0.088612 | 0.103842 | 0.114226 | 0.817238 | 0.810315 | 0.762894 | 0.752163 | 0.752163 | 0.743856 | 0 | 0.065274 | 0.307915 | 5,534 | 188 | 84 | 29.43617 | 0.689034 | 0.185399 | 0 | 0.602837 | 0 | 0 | 0.086472 | 0 | 0 | 0 | 0 | 0 | 0.099291 | 1 | 0.070922 | false | 0 | 0.049645 | 0 | 0.12766 | 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 |
907ecfcfb4010949c3cdd2644fb88bf4f0cba483 | 103 | py | Python | tableschema_to_template/__init__.py | mccalluc/tableschema-to-template | 6a206fcaf29227491259502f7a7743ca8d2a710a | [
"MIT"
] | 5 | 2020-12-05T18:53:54.000Z | 2021-06-07T15:54:44.000Z | tableschema_to_template/__init__.py | mccalluc/tableschema-to-template | 6a206fcaf29227491259502f7a7743ca8d2a710a | [
"MIT"
] | 13 | 2020-12-01T19:20:01.000Z | 2021-03-07T03:03:04.000Z | tableschema_to_template/__init__.py | mccalluc/tableschema-to-excel-template | 6a206fcaf29227491259502f7a7743ca8d2a710a | [
"MIT"
] | 2 | 2021-02-08T15:15:33.000Z | 2021-06-07T15:55:49.000Z | # Export from the top level:
from tableschema_to_template.create_xlsx import create_xlsx # noqa: F401
| 34.333333 | 73 | 0.815534 | 16 | 103 | 5 | 0.8125 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033708 | 0.135922 | 103 | 2 | 74 | 51.5 | 0.865169 | 0.359223 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.