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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c88164d568f7019355c463f53c568e4155639ba8 | 68 | py | Python | mmdet2trt/models/necks/__init__.py | jackweiwang/mmdetection-to-tensorrt | f988ba8e923764fb1173385a1c7160b8f8b5bd99 | [
"Apache-2.0"
] | 1 | 2021-08-23T10:09:37.000Z | 2021-08-23T10:09:37.000Z | mmdet2trt/models/necks/__init__.py | gcong18/mmdetection-to-tensorrt | c31c32ee4720ff56010bcda77bacf3a110d0526c | [
"Apache-2.0"
] | null | null | null | mmdet2trt/models/necks/__init__.py | gcong18/mmdetection-to-tensorrt | c31c32ee4720ff56010bcda77bacf3a110d0526c | [
"Apache-2.0"
] | null | null | null | from .base_neck import BaseNeckWraper
from .hrfpn import HRFPNWraper | 34 | 37 | 0.867647 | 9 | 68 | 6.444444 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102941 | 68 | 2 | 38 | 34 | 0.95082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 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 | 5 |
c8911a2e28cd5ddc171401a1c873e2bbffa32ae3 | 48 | py | Python | src/FlaUILibrary/flaui/__init__.py | GDATASoftwareAG/robotframework-flaui | 81b654be0c4bdd7a176c7186eff2757f7e5da72a | [
"MIT"
] | 22 | 2020-05-04T14:40:53.000Z | 2022-03-24T05:57:00.000Z | src/FlaUILibrary/flaui/__init__.py | Fxztam/robotframework-flaui | 81b654be0c4bdd7a176c7186eff2757f7e5da72a | [
"MIT"
] | 33 | 2020-07-27T12:47:33.000Z | 2022-03-29T11:16:30.000Z | src/FlaUILibrary/flaui/__init__.py | Fxztam/robotframework-flaui | 81b654be0c4bdd7a176c7186eff2757f7e5da72a | [
"MIT"
] | 4 | 2020-07-23T09:50:25.000Z | 2022-01-18T10:32:55.000Z | from .uia2 import UIA2
from .uia3 import UIA3
| 16 | 23 | 0.75 | 8 | 48 | 4.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0.208333 | 48 | 2 | 24 | 24 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c8a3d29c519f48926ab735082b04e57bb4a6fb31 | 342 | py | Python | tempo-api/src/app/tempo/utils/base_controller.py | cuappdev/archives | 061d0f9cccf278363ffaeb27fc655743b1052ae5 | [
"MIT"
] | null | null | null | tempo-api/src/app/tempo/utils/base_controller.py | cuappdev/archives | 061d0f9cccf278363ffaeb27fc655743b1052ae5 | [
"MIT"
] | 7 | 2017-10-28T22:45:19.000Z | 2018-09-30T07:04:33.000Z | appdev/controllers/base_controller.py | cuappdev/appdev.py | fffe58a01ba5bc00493213e2baa00a6a9e393280 | [
"MIT"
] | null | null | null | import abc
class BaseController:
__metaclass__ = abc.ABCMeta
@abc.abstractmethod
def get_path(self): # URI-path that begins and ends with a '/'
return ''
@abc.abstractmethod
def get_methods(self): # List of different HTTP methods supported
return []
@abc.abstractmethod
def response(self, **kwa... | 20.117647 | 67 | 0.707602 | 43 | 342 | 5.488372 | 0.651163 | 0.216102 | 0.254237 | 0.194915 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201754 | 342 | 16 | 68 | 21.375 | 0.864469 | 0.236842 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.083333 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
c8ea121bd87b24e2dc31d2ea3e6ef715e04887a7 | 144 | py | Python | main/check-strict-superset/check-strict-superset.py | EliahKagan/old-practice-snapshot | 1b53897eac6902f8d867c8f154ce2a489abb8133 | [
"0BSD"
] | null | null | null | main/check-strict-superset/check-strict-superset.py | EliahKagan/old-practice-snapshot | 1b53897eac6902f8d867c8f154ce2a489abb8133 | [
"0BSD"
] | null | null | null | main/check-strict-superset/check-strict-superset.py | EliahKagan/old-practice-snapshot | 1b53897eac6902f8d867c8f154ce2a489abb8133 | [
"0BSD"
] | null | null | null | def input_set():
return set(map(int, raw_input().split()))
s = input_set()
print all(s > input_set() for i in xrange(0, int(raw_input())))
| 24 | 63 | 0.652778 | 26 | 144 | 3.423077 | 0.615385 | 0.269663 | 0.247191 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008197 | 0.152778 | 144 | 5 | 64 | 28.8 | 0.721311 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.25 | 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 | 0 | 0 | 5 |
c8f9272dbde31a4ad914ff56f645c15f2e56b4f5 | 185 | py | Python | pfioh/__init__.py | FNNDSC/pfioh-flask | 64240cced4d7a3e399814acd8246cf7bf42a4074 | [
"MIT"
] | null | null | null | pfioh/__init__.py | FNNDSC/pfioh-flask | 64240cced4d7a3e399814acd8246cf7bf42a4074 | [
"MIT"
] | null | null | null | pfioh/__init__.py | FNNDSC/pfioh-flask | 64240cced4d7a3e399814acd8246cf7bf42a4074 | [
"MIT"
] | null | null | null | from .pfioh import StoreHandler, HandleRequests, base64_process, zip_process, zipdir, SetupFlaskServer
from .swift_store import SwiftStore
from .mount_dir import MountDir
| 46.25 | 110 | 0.789189 | 21 | 185 | 6.761905 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012987 | 0.167568 | 185 | 3 | 111 | 61.666667 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 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 | 5 |
cdb0abc5ad538e33d412ee44f6c0738ff3d4a00a | 8,428 | py | Python | app/onlib/views.py | gladunvv/library-api | 5975bd6cd86e468354c8b05daa1f82c7a02350a2 | [
"MIT"
] | null | null | null | app/onlib/views.py | gladunvv/library-api | 5975bd6cd86e468354c8b05daa1f82c7a02350a2 | [
"MIT"
] | 7 | 2020-06-06T00:26:17.000Z | 2022-02-10T12:17:47.000Z | app/onlib/views.py | gladunvv/library-api | 5975bd6cd86e468354c8b05daa1f82c7a02350a2 | [
"MIT"
] | null | null | null | from django.shortcuts import get_object_or_404
from rest_framework import permissions
from rest_framework import generics
from rest_framework import filters
from rest_framework import status
from rest_framework.views import APIView
from rest_framework.response import Response
from django_filters import rest_framework ... | 37.457778 | 99 | 0.638111 | 930 | 8,428 | 5.616129 | 0.127957 | 0.085774 | 0.098028 | 0.072755 | 0.780203 | 0.748803 | 0.748803 | 0.748803 | 0.713192 | 0.709554 | 0 | 0.018744 | 0.259374 | 8,428 | 224 | 100 | 37.625 | 0.818007 | 0 | 0 | 0.689474 | 0 | 0 | 0.072378 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068421 | false | 0 | 0.052632 | 0 | 0.405263 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
cdcc34041ba0a1e5c326ac634efb4b9fdc8defc0 | 115 | py | Python | earth/functions.py | Stuff-for-CodeCool/basic-flask-blueprint-example | 9e4c51f07296d856810e476d1e15d06d72e8f1cb | [
"MIT"
] | null | null | null | earth/functions.py | Stuff-for-CodeCool/basic-flask-blueprint-example | 9e4c51f07296d856810e476d1e15d06d72e8f1cb | [
"MIT"
] | null | null | null | earth/functions.py | Stuff-for-CodeCool/basic-flask-blueprint-example | 9e4c51f07296d856810e476d1e15d06d72e8f1cb | [
"MIT"
] | null | null | null | from database import execute_query
def crack_stone():
execute_query("", {})
return "the stone has cracked" | 23 | 34 | 0.713043 | 15 | 115 | 5.266667 | 0.8 | 0.303797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182609 | 115 | 5 | 35 | 23 | 0.840426 | 0 | 0 | 0 | 0 | 0 | 0.181034 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a8011728894f6515beef010cc4c7fe0f46746f6e | 12 | py | Python | tfcone/util/numerical.py | ma0ho/Deep-Learning-Cone-Beam-CT | 9a4fb82f15672ba46249d947df987de5b1e57c2f | [
"Apache-2.0"
] | 24 | 2018-06-17T06:41:22.000Z | 2022-03-30T06:02:01.000Z | tfcone/util/numerical.py | SShiYuU/Deep-Learning-Cone-Beam-CT | 223a24d3db2edbf681594782a8c0e664c0510ac5 | [
"Apache-2.0"
] | 2 | 2018-10-26T18:57:42.000Z | 2019-03-28T13:57:23.000Z | tfcone/util/numerical.py | SShiYuU/Deep-Learning-Cone-Beam-CT | 223a24d3db2edbf681594782a8c0e664c0510ac5 | [
"Apache-2.0"
] | 7 | 2018-09-06T09:06:12.000Z | 2020-10-21T08:47:00.000Z | eps = 10e-7
| 6 | 11 | 0.583333 | 3 | 12 | 2.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.25 | 12 | 1 | 12 | 12 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b570d7d337c55170486d86b9f26bee0a43c1af00 | 21,703 | py | Python | infra/services/gnumbd/test/gnumbd_test_definitions.py | eunchong/infra | ce3728559112bfb3e8b32137eada517aec6d22f9 | [
"BSD-3-Clause"
] | null | null | null | infra/services/gnumbd/test/gnumbd_test_definitions.py | eunchong/infra | ce3728559112bfb3e8b32137eada517aec6d22f9 | [
"BSD-3-Clause"
] | null | null | null | infra/services/gnumbd/test/gnumbd_test_definitions.py | eunchong/infra | ce3728559112bfb3e8b32137eada517aec6d22f9 | [
"BSD-3-Clause"
] | null | null | null | # Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import collections
from infra.services.gnumbd import gnumbd
content_of = gnumbd.content_of
REAL = 'refs/heads/master'
PEND = 'refs/pending/heads/master'
PE... | 33.134351 | 79 | 0.734 | 3,071 | 21,703 | 4.936177 | 0.087919 | 0.072564 | 0.060162 | 0.090243 | 0.8019 | 0.759153 | 0.732898 | 0.70473 | 0.683554 | 0.675638 | 0 | 0.010581 | 0.1421 | 21,703 | 654 | 80 | 33.185015 | 0.803588 | 0.033221 | 0 | 0.667355 | 0 | 0 | 0.177605 | 0.017087 | 0 | 0 | 0 | 0 | 0.07438 | 1 | 0.068182 | false | 0 | 0.004132 | 0.004132 | 0.078512 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a91a40191cb62c12ce462a446f1aac2af082def6 | 368 | py | Python | tests/functional/pages/main.py | mikepolo-JQ/inter | 64f5da344c69e7885f4d76778016e9723c8bc7a6 | [
"MIT"
] | 1 | 2020-10-18T19:04:48.000Z | 2020-10-18T19:04:48.000Z | tests/functional/pages/main.py | mikepolo-JQ/inter | 64f5da344c69e7885f4d76778016e9723c8bc7a6 | [
"MIT"
] | 6 | 2021-04-06T18:19:10.000Z | 2021-09-22T19:44:06.000Z | tests/functional/pages/main.py | mikepolo-JQ/TMS | a043a04740645b0fab672366bc0d944f25e6efff | [
"MIT"
] | null | null | null | from selenium.webdriver.common.by import By
from .abstract import PageElement
from .abstract import PageObject
class MainPage(PageObject):
h1 = PageElement(By.CSS_SELECTOR, "h1")
h2 = PageElement(By.CSS_SELECTOR, "h2")
# p = PageElement(By.CSS_SELECTOR, "p")
# a = PageElement(By.CSS_SELECTOR, "a")
... | 28.307692 | 49 | 0.706522 | 48 | 368 | 5.3125 | 0.375 | 0.254902 | 0.313725 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013029 | 0.165761 | 368 | 12 | 50 | 30.666667 | 0.81759 | 0.320652 | 0 | 0 | 0 | 0 | 0.016327 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a9295513371949fd55699402ccc5b25fb41d542c | 142 | py | Python | rest_utils/permissions.py | itkpi/events-storage | 69dfdd11ce7ce28abb0df1d5707db65ecc5ad4f8 | [
"Apache-2.0"
] | 1 | 2016-01-02T21:18:56.000Z | 2016-01-02T21:18:56.000Z | rest_utils/permissions.py | itkpi/events-storage | 69dfdd11ce7ce28abb0df1d5707db65ecc5ad4f8 | [
"Apache-2.0"
] | null | null | null | rest_utils/permissions.py | itkpi/events-storage | 69dfdd11ce7ce28abb0df1d5707db65ecc5ad4f8 | [
"Apache-2.0"
] | null | null | null | from abc import ABCMeta, abstractmethod
class Permission(metaclass=ABCMeta):
@abstractmethod
def check(self, request):
pass
| 17.75 | 39 | 0.71831 | 15 | 142 | 6.8 | 0.866667 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211268 | 142 | 7 | 40 | 20.285714 | 0.910714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
a94731fdac4d8403ce8c870ce598f373b8e48bb8 | 228 | py | Python | api/core/access_control.py | iashraful/survey-api | 67de151f2938c24db96186117eed60b7909146d2 | [
"MIT"
] | null | null | null | api/core/access_control.py | iashraful/survey-api | 67de151f2938c24db96186117eed60b7909146d2 | [
"MIT"
] | 3 | 2021-09-22T13:55:12.000Z | 2021-09-28T14:27:34.000Z | api/core/access_control.py | iashraful/survey-api | 67de151f2938c24db96186117eed60b7909146d2 | [
"MIT"
] | 1 | 2021-09-10T06:55:17.000Z | 2021-09-10T06:55:17.000Z | from sqlalchemy.orm import Session
from starlette.requests import Request
class DataAccessQueryModelManager:
@classmethod
def objects(cls, session: Session, request: Request = None):
return session.query(cls)
| 22.8 | 64 | 0.758772 | 25 | 228 | 6.92 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175439 | 228 | 9 | 65 | 25.333333 | 0.920213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
a952cccdd2e156f8c00556eeccf7993c5219829f | 112 | py | Python | src/modules/util/exception.py | frodo821/WebNovelFormatOfflineConverter | 9dbc2ffccc7f56752fcbb80d515d4e5e99972632 | [
"BSD-2-Clause"
] | null | null | null | src/modules/util/exception.py | frodo821/WebNovelFormatOfflineConverter | 9dbc2ffccc7f56752fcbb80d515d4e5e99972632 | [
"BSD-2-Clause"
] | null | null | null | src/modules/util/exception.py | frodo821/WebNovelFormatOfflineConverter | 9dbc2ffccc7f56752fcbb80d515d4e5e99972632 | [
"BSD-2-Clause"
] | null | null | null | #-*- coding:utf-8 -*-
class ParseException(Exception):
pass
class ThroughLoop(Exception):
pass
| 14 | 33 | 0.633929 | 11 | 112 | 6.454545 | 0.727273 | 0.366197 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011628 | 0.232143 | 112 | 7 | 34 | 16 | 0.813953 | 0.178571 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
a95b208f0b60eb7d7a8acd5c44cb2ba8fdb02d15 | 58 | py | Python | Verkefni 1/RemoveEmptyStrings.py | Kallehz/Python | 7bc08d4ebed6f97d6cfa8efc585a566388eeec8f | [
"Apache-2.0"
] | 1 | 2019-12-14T04:34:50.000Z | 2019-12-14T04:34:50.000Z | Verkefni 1/RemoveEmptyStrings.py | Kallehz/Python | 7bc08d4ebed6f97d6cfa8efc585a566388eeec8f | [
"Apache-2.0"
] | null | null | null | Verkefni 1/RemoveEmptyStrings.py | Kallehz/Python | 7bc08d4ebed6f97d6cfa8efc585a566388eeec8f | [
"Apache-2.0"
] | null | null | null | def remove_empty(l):
return [i for i in l if i != '']
| 19.333333 | 36 | 0.568966 | 12 | 58 | 2.666667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.275862 | 58 | 2 | 37 | 29 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
a961a8bafa73f436a1c5f08b2435bbde1854e3d5 | 179 | py | Python | modules/logging/logmanager.py | predragf/symc | f1ed239af7591bcf32648b4031708e74ce88fe2c | [
"MIT"
] | 1 | 2022-03-18T05:50:56.000Z | 2022-03-18T05:50:56.000Z | modules/logging/logmanager.py | predragf/symc | f1ed239af7591bcf32648b4031708e74ce88fe2c | [
"MIT"
] | null | null | null | modules/logging/logmanager.py | predragf/symc | f1ed239af7591bcf32648b4031708e74ce88fe2c | [
"MIT"
] | null | null | null | class LogManager:
def __init__():
pass
def getLogger(loggerName):
logger = log.setup_custom_logger(loggerName)
logger = logging.getLogger('root')
| 22.375 | 52 | 0.648045 | 18 | 179 | 6.111111 | 0.722222 | 0.290909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.256983 | 179 | 7 | 53 | 25.571429 | 0.827068 | 0 | 0 | 0 | 0 | 0 | 0.022346 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
a985fb0858d4a3370c7d66281c80a9922d7effe1 | 114 | py | Python | kaishi/image/labelers/__init__.py | kungfuai/kaishi | e20360170ccac2111cab61fcd71b81be3c2a7468 | [
"MIT"
] | 10 | 2020-04-01T16:46:25.000Z | 2021-02-09T15:56:42.000Z | kaishi/image/labelers/__init__.py | kungfuai/kaishi | e20360170ccac2111cab61fcd71b81be3c2a7468 | [
"MIT"
] | 14 | 2020-03-23T13:32:35.000Z | 2021-12-07T19:30:23.000Z | kaishi/image/labelers/__init__.py | kungfuai/kaishi | e20360170ccac2111cab61fcd71b81be3c2a7468 | [
"MIT"
] | 2 | 2020-08-14T07:23:06.000Z | 2021-12-06T18:20:42.000Z | """Pipeline components that label data points based on user-defined criteria, specifically for image datasets."""
| 57 | 113 | 0.798246 | 15 | 114 | 6.066667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122807 | 114 | 1 | 114 | 114 | 0.91 | 0.938596 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8d37a14eddf17b2abe0f2759fd9c12466c578452 | 112 | py | Python | pyclustering/tests/__main__.py | JosephChataignon/pyclustering | bf4f51a472622292627ec8c294eb205585e50f52 | [
"BSD-3-Clause"
] | 1,013 | 2015-01-26T19:50:14.000Z | 2022-03-31T07:38:48.000Z | pyclustering/tests/__main__.py | peterlau0626/pyclustering | bf4f51a472622292627ec8c294eb205585e50f52 | [
"BSD-3-Clause"
] | 542 | 2015-01-20T16:44:32.000Z | 2022-01-29T14:57:20.000Z | pyclustering/tests/__main__.py | peterlau0626/pyclustering | bf4f51a472622292627ec8c294eb205585e50f52 | [
"BSD-3-Clause"
] | 262 | 2015-03-19T07:28:12.000Z | 2022-03-30T07:28:24.000Z | from pyclustering.tests.tests_runner import tests_runner
if __name__ == "__main__":
tests_runner.run()
| 22.4 | 57 | 0.75 | 14 | 112 | 5.214286 | 0.642857 | 0.452055 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160714 | 112 | 4 | 58 | 28 | 0.776596 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 5 |
8d489fe0535e0ba3d683ef881e7bd7a94e3c698d | 73 | py | Python | plotutils/axpositioning/__init__.py | johndamen/plotutils | 60bc043314c823bbcb27740b22393f0fd2b58476 | [
"MIT"
] | null | null | null | plotutils/axpositioning/__init__.py | johndamen/plotutils | 60bc043314c823bbcb27740b22393f0fd2b58476 | [
"MIT"
] | null | null | null | plotutils/axpositioning/__init__.py | johndamen/plotutils | 60bc043314c823bbcb27740b22393f0fd2b58476 | [
"MIT"
] | null | null | null | from .axpositioning import PositioningAxes
from .gui import adjust_axes
| 18.25 | 42 | 0.849315 | 9 | 73 | 6.777778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123288 | 73 | 3 | 43 | 24.333333 | 0.953125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 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 | 5 |
8d6251e8213ca79e67b340346adb4097ecf73ee3 | 88 | py | Python | obqa/models/__init__.py | dianags/OpenBookQA | 186dcd4d90633f13706966925995ff0f135ffd11 | [
"Apache-2.0"
] | 66 | 2018-10-23T03:55:03.000Z | 2021-07-29T07:38:17.000Z | obqa/models/__init__.py | dianags/OpenBookQA | 186dcd4d90633f13706966925995ff0f135ffd11 | [
"Apache-2.0"
] | 4 | 2019-02-19T05:46:16.000Z | 2021-06-04T01:17:38.000Z | obqa/models/__init__.py | dianags/OpenBookQA | 186dcd4d90633f13706966925995ff0f135ffd11 | [
"Apache-2.0"
] | 23 | 2018-10-23T22:30:11.000Z | 2022-03-11T00:35:48.000Z | from obqa.models.entailment.stacked_nn_aggregate_custom import StackedNNAggregateCustom
| 44 | 87 | 0.920455 | 10 | 88 | 7.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 88 | 1 | 88 | 88 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 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 | 5 |
8d68edc2a267dabfef9dd38c07f3f82fb103e73e | 323 | py | Python | src/genie/libs/parser/iosxr/tests/ShowRunningConfigNtp/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/iosxr/tests/ShowRunningConfigNtp/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/iosxr/tests/ShowRunningConfigNtp/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z |
expected_output = {
'vrf': {
'default': {
'address': {
'10.4.1.1': {
'type': 'server'}
}
},
'management': {
'address': {
'10.4.1.1': {
'type': 'server'}
}
}
}... | 17 | 37 | 0.244582 | 19 | 323 | 4.105263 | 0.578947 | 0.230769 | 0.25641 | 0.282051 | 0.564103 | 0.564103 | 0.564103 | 0 | 0 | 0 | 0 | 0.074627 | 0.585139 | 323 | 18 | 38 | 17.944444 | 0.507463 | 0 | 0 | 0.375 | 0 | 0 | 0.218069 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 5 |
a5d94233b442ee576e9b6c0fe44c63cd3e4a8946 | 532 | py | Python | DQM/SiStripMonitorClient/test/sistrip_gres_layout.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | DQM/SiStripMonitorClient/test/sistrip_gres_layout.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | DQM/SiStripMonitorClient/test/sistrip_gres_layout.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | def dtlayout(i, p, *rows): i["Layouts/SiStrip Layouts/" + p] = DQMItem(layout=rows)
dtlayout(dqmitems, "SiStrip_Digi_Summary",
["SiStrip/MechanicalView/TIB/Summary_NumberOfDigis_in_TIB"],
["SiStrip/MechanicalView/TOB/Summary_NumberOfDigis_in_TOB"],
["SiStrip/MechanicalView/TID/MINUS/Summary_NumberOfDigis_in_MINU... | 53.2 | 83 | 0.806391 | 64 | 532 | 6.390625 | 0.328125 | 0.308068 | 0.322738 | 0.132029 | 0.405868 | 0.259169 | 0.259169 | 0 | 0 | 0 | 0 | 0 | 0.06203 | 532 | 9 | 84 | 59.111111 | 0.819639 | 0 | 0 | 0 | 0 | 0 | 0.755639 | 0.672932 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
93d340551c953f4fc8f968a1cb9b5f79aaf59bd2 | 924 | py | Python | fintools/__init__.py | scubamut/fintools | ba05c6b6c9e506f55910987e9d04c4babdcc6370 | [
"MIT"
] | 2 | 2020-11-29T11:12:19.000Z | 2021-11-14T01:08:49.000Z | fintools/__init__.py | scubamut/fintools | ba05c6b6c9e506f55910987e9d04c4babdcc6370 | [
"MIT"
] | null | null | null | fintools/__init__.py | scubamut/fintools | ba05c6b6c9e506f55910987e9d04c4babdcc6370 | [
"MIT"
] | 1 | 2019-07-29T23:12:11.000Z | 2019-07-29T23:12:11.000Z | import cvxopt
from fintools.backtest import backtest
from fintools.allocation_helper_functions import *
from fintools.cla import *
from fintools.compute_weights_PMA import *
from fintools.compute_weights_RS_DM import *
from fintools.endpoints import *
from fintools.finhelpers3 import *
from fintools.get_yahoo_prices i... | 40.173913 | 62 | 0.876623 | 130 | 924 | 5.930769 | 0.284615 | 0.311284 | 0.256809 | 0.064851 | 0.168612 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002378 | 0.089827 | 924 | 22 | 63 | 42 | 0.914388 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
93da1d6727a133197d14b46cff7ba8b52f7ae6a8 | 226 | py | Python | psono/fileserver/views/__init__.py | dirigeant/psono-server | a18c5b3c4d8bbbe4ecf1615b210d99fb77752205 | [
"Apache-2.0",
"CC0-1.0"
] | 48 | 2018-04-19T15:50:58.000Z | 2022-01-23T15:58:11.000Z | psono/fileserver/views/__init__.py | dirigeant/psono-server | a18c5b3c4d8bbbe4ecf1615b210d99fb77752205 | [
"Apache-2.0",
"CC0-1.0"
] | 9 | 2018-09-13T14:56:18.000Z | 2020-01-17T16:44:33.000Z | psono/fileserver/views/__init__.py | dirigeant/psono-server | a18c5b3c4d8bbbe4ecf1615b210d99fb77752205 | [
"Apache-2.0",
"CC0-1.0"
] | 11 | 2019-09-20T11:53:47.000Z | 2021-07-18T22:41:31.000Z | from .alive import AliveView
from .authorize_upload import AuthorizeUploadView
from .authorize_download import AuthorizeDownloadView
from .cleanup_chunks import CleanupChunksView
from .revoke_download import RevokeDownloadView | 45.2 | 53 | 0.893805 | 24 | 226 | 8.25 | 0.583333 | 0.131313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084071 | 226 | 5 | 54 | 45.2 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 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 | 5 |
9e21bf030eb665d8f78af01347c7be7db76d04b7 | 123 | py | Python | Assignment/dsa/__init__.py | MC-DeltaT/DSA-Practicals | 5c77cac1cfee5d756b84722e563813c153486770 | [
"MIT"
] | null | null | null | Assignment/dsa/__init__.py | MC-DeltaT/DSA-Practicals | 5c77cac1cfee5d756b84722e563813c153486770 | [
"MIT"
] | null | null | null | Assignment/dsa/__init__.py | MC-DeltaT/DSA-Practicals | 5c77cac1cfee5d756b84722e563813c153486770 | [
"MIT"
] | null | null | null | from .array import *
from .hash_table import *
from .set import *
from .singly_linked_list import *
from .sorting import *
| 20.5 | 33 | 0.756098 | 18 | 123 | 5 | 0.555556 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162602 | 123 | 5 | 34 | 24.6 | 0.873786 | 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 | 0 | 0 | 0 | 5 |
9e25d8ef1ee7cb2f706cb2de14390e81ab1059a0 | 1,778 | py | Python | toolchain/disassemble_hexdump.py | nielsdos/kwast | a2118d0598b35ed1ddb6520ff1caa571a22bd427 | [
"MIT"
] | 45 | 2020-03-28T20:51:17.000Z | 2022-03-18T07:15:45.000Z | toolchain/disassemble_hexdump.py | nielsdos/kwast | a2118d0598b35ed1ddb6520ff1caa571a22bd427 | [
"MIT"
] | 11 | 2020-02-22T17:28:05.000Z | 2020-08-26T20:39:39.000Z | toolchain/disassemble_hexdump.py | nielsdos/kwast | a2118d0598b35ed1ddb6520ff1caa571a22bd427 | [
"MIT"
] | 2 | 2021-06-25T17:00:13.000Z | 2022-03-24T21:22:04.000Z | #!/usr/bin/env python3
import struct
import os
import tempfile
list = [0x55, 0x48, 0x89, 0xe5, 0xb8, 0x1, 0x0, 0x0, 0x0, 0x5d, 0xc3, 0x55, 0x48, 0x89, 0xe5, 0xb8, 0x2, 0x0, 0x0, 0x0, 0x5d, 0xc3, 0x55, 0x48, 0x89, 0xe5, 0xb8, 0x3, 0x0, 0x0, 0x0, 0x5d, 0xc3, 0x55, 0x48, 0x89, 0xe5, 0xb8, 0x4, 0x0, 0x0, 0x0, 0x5d, 0xc3,... | 118.533333 | 1,314 | 0.663105 | 303 | 1,778 | 3.891089 | 0.333333 | 0.189992 | 0.10687 | 0.094996 | 0.445293 | 0.374046 | 0.217981 | 0.217981 | 0.217981 | 0.189992 | 0 | 0.358871 | 0.163105 | 1,778 | 14 | 1,315 | 127 | 0.433468 | 0.011811 | 0 | 0 | 0 | 0.1 | 0.050114 | 0 | 0 | 0 | 0.563212 | 0 | 0 | 1 | 0 | false | 0 | 0.3 | 0 | 0.3 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f50d7c84d30b7e79f17c34ebd45d1bd7003f604e | 316 | py | Python | app/consumer/settings.py | multicatch/django-example-oauth | 432fa29cec72f4b4c12ddd8fdfaf1c34067716cb | [
"MIT"
] | null | null | null | app/consumer/settings.py | multicatch/django-example-oauth | 432fa29cec72f4b4c12ddd8fdfaf1c34067716cb | [
"MIT"
] | 4 | 2021-03-30T13:09:50.000Z | 2021-09-22T18:55:59.000Z | app/consumer/settings.py | multicatch/django-example-oauth | 432fa29cec72f4b4c12ddd8fdfaf1c34067716cb | [
"MIT"
] | null | null | null | OAUTH2_SERVER_URL = 'http://localhost:8000/oauth2'
OAUTH2_CLIENT_ID = 'Qv6vn7hxGGNyGuLxOU7DHtvPAykevYe1fKwy0eEP'
OAUTH2_CLIENT_SECRET = '51SAwsXvhxjMTRUufxQdobMnqs2PrcmK4AEyajWTPfr2LCDt9ML7zeOWPirAhC5rvQW9hKfsjNPoraLV9meCHyLGomvM4H0y7eMXVS2eNFH1H3kJFekePBbbRBUFEsLt'
REDIRECT_URL = 'http://localhost:8000/consumer/'
| 63.2 | 153 | 0.889241 | 21 | 316 | 13.047619 | 0.619048 | 0.051095 | 0.116788 | 0.145985 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108553 | 0.037975 | 316 | 4 | 154 | 79 | 0.792763 | 0 | 0 | 0 | 0 | 0 | 0.718354 | 0.531646 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
19333a18a2685743d721bcb608a01ed93f2dd9c5 | 690 | py | Python | agents/foundation/AgentType.py | lmarent/network_agents_ver2_python | f85811086d2bfe067b44e52c6aff3009d3353586 | [
"MIT"
] | null | null | null | agents/foundation/AgentType.py | lmarent/network_agents_ver2_python | f85811086d2bfe067b44e52c6aff3009d3353586 | [
"MIT"
] | null | null | null | agents/foundation/AgentType.py | lmarent/network_agents_ver2_python | f85811086d2bfe067b44e52c6aff3009d3353586 | [
"MIT"
] | null | null | null | class AgentType():
CONSUMER_TYPE = 1
PROVIDER_ISP = 2
PROVIDER_BACKHAUL = 3
PRESENTER_TYPE = 4
PROVIDER_SUP = 5
def __init__(self, type):
self.intfNames = {}
self.intfNames[AgentType.CONSUMER_TYPE] = 'consumer'
self.intfNames[AgentType.PROVIDER_ISP]... | 31.363636 | 65 | 0.624638 | 70 | 690 | 5.957143 | 0.314286 | 0.218225 | 0.263789 | 0.215827 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010101 | 0.282609 | 690 | 22 | 66 | 31.363636 | 0.832323 | 0 | 0 | 0 | 0 | 0 | 0.061194 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0.111111 | 0.611111 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
1944abc88a150323576564b80938e8dfd7713cfa | 52 | py | Python | src/utils/runners/__init__.py | kryvokhyzha/bert-for-ukranian-ner | 48da40f09cb216ad51a97c303998157858fbe8bc | [
"MIT"
] | null | null | null | src/utils/runners/__init__.py | kryvokhyzha/bert-for-ukranian-ner | 48da40f09cb216ad51a97c303998157858fbe8bc | [
"MIT"
] | null | null | null | src/utils/runners/__init__.py | kryvokhyzha/bert-for-ukranian-ner | 48da40f09cb216ad51a97c303998157858fbe8bc | [
"MIT"
] | null | null | null | from utils.runners.CustomRunner import CustomRunner
| 26 | 51 | 0.884615 | 6 | 52 | 7.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 52 | 1 | 52 | 52 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 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 | 5 |
198b2ce9f1702f539431929b94bd3d235dd3535a | 331 | py | Python | tests/test_views.py | jorzel/quotes-storage | e2b42e07d2fbf2db7c375865f06a277f15a17dd9 | [
"MIT"
] | null | null | null | tests/test_views.py | jorzel/quotes-storage | e2b42e07d2fbf2db7c375865f06a277f15a17dd9 | [
"MIT"
] | null | null | null | tests/test_views.py | jorzel/quotes-storage | e2b42e07d2fbf2db7c375865f06a277f15a17dd9 | [
"MIT"
] | null | null | null |
def test_index(client):
response = client.get('/')
assert response.status_code == 200
assert response.content_type == 'text/html; charset=utf-8'
def test_book_views_get(client):
response = client.get('/book')
assert response.status_code == 200
assert response.content_type == 'text/html; char... | 25.461538 | 62 | 0.697885 | 45 | 331 | 4.955556 | 0.422222 | 0.251121 | 0.179372 | 0.206278 | 0.636771 | 0.636771 | 0.636771 | 0.636771 | 0.636771 | 0.636771 | 0 | 0.029091 | 0.169184 | 331 | 12 | 63 | 27.583333 | 0.781818 | 0 | 0 | 0.5 | 0 | 0 | 0.164134 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
19948c95de56e79d17c7a8ac6c62405d4866da55 | 7,695 | py | Python | testing/unit_tests/test_completeness_and_consistency_checker.py | IPASC/DataConversionTool | 88f04c4df97f4a060c566da4bfc0c0e4fe246536 | [
"MIT",
"BSD-3-Clause"
] | 2 | 2021-12-16T04:21:37.000Z | 2022-03-10T03:19:21.000Z | testing/unit_tests/test_completeness_and_consistency_checker.py | IPASC/DataConversionTool | 88f04c4df97f4a060c566da4bfc0c0e4fe246536 | [
"MIT",
"BSD-3-Clause"
] | 12 | 2021-12-20T13:22:45.000Z | 2022-02-17T19:57:03.000Z | testing/unit_tests/test_completeness_and_consistency_checker.py | amasmiller/PACFISH | f9bc912e701df3261a2b9a94df281c664701701d | [
"BSD-3-Clause"
] | 1 | 2022-02-11T21:33:28.000Z | 2022-02-11T21:33:28.000Z | # SPDX-FileCopyrightText: 2021 International Photoacoustics Standardisation Consortium (IPASC)
# SPDX-License-Identifier: BSD 3-Clause License
import unittest
import numpy as np
from unittest.case import TestCase
import pacfish as pf
from testing.unit_tests.utils import create_complete_device_metadata_dictionary, crea... | 42.75 | 129 | 0.721507 | 864 | 7,695 | 6.015046 | 0.131944 | 0.073889 | 0.065807 | 0.050799 | 0.860112 | 0.821628 | 0.75101 | 0.75101 | 0.668847 | 0.656148 | 0 | 0.007082 | 0.210916 | 7,695 | 179 | 130 | 42.988827 | 0.848814 | 0.017934 | 0 | 0.615942 | 0 | 0 | 0.006222 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 1 | 0.072464 | false | 0 | 0.043478 | 0 | 0.123188 | 0.014493 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
199e7322f7ac232ab6fe70e49e4da9871823eb8f | 92 | py | Python | dtf/features/admin.py | WebPowerLabs/django-trainings | 97f7a96c0fbeb85a001201c74713f7944cb77236 | [
"BSD-3-Clause"
] | null | null | null | dtf/features/admin.py | WebPowerLabs/django-trainings | 97f7a96c0fbeb85a001201c74713f7944cb77236 | [
"BSD-3-Clause"
] | null | null | null | dtf/features/admin.py | WebPowerLabs/django-trainings | 97f7a96c0fbeb85a001201c74713f7944cb77236 | [
"BSD-3-Clause"
] | null | null | null | from django.contrib import admin
from .models import Feature
admin.site.register(Feature) | 15.333333 | 32 | 0.815217 | 13 | 92 | 5.769231 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119565 | 92 | 6 | 33 | 15.333333 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 | 5 |
19a7c5e0c78fd6810ca9e272fdf163b94b9fe73b | 99 | py | Python | view/base.py | 54bp6cl6/MiaAndMax | 1f56987b68d847c3fe2136a97a404480b7537714 | [
"MIT"
] | null | null | null | view/base.py | 54bp6cl6/MiaAndMax | 1f56987b68d847c3fe2136a97a404480b7537714 | [
"MIT"
] | null | null | null | view/base.py | 54bp6cl6/MiaAndMax | 1f56987b68d847c3fe2136a97a404480b7537714 | [
"MIT"
] | null | null | null | from linebot.models import TextSendMessage
def TextMessage(text):
return TextSendMessage(text) | 24.75 | 42 | 0.818182 | 11 | 99 | 7.363636 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 99 | 4 | 43 | 24.75 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 5 |
5fd85c8be3fabbbfecd2b42d850c6a9056e67046 | 256 | py | Python | corehq/form_processor/utils/general.py | akashkj/commcare-hq | b00a62336ec26cea1477dfb8c048c548cc462831 | [
"BSD-3-Clause"
] | 471 | 2015-01-10T02:55:01.000Z | 2022-03-29T18:07:18.000Z | corehq/form_processor/utils/general.py | akashkj/commcare-hq | b00a62336ec26cea1477dfb8c048c548cc462831 | [
"BSD-3-Clause"
] | 14,354 | 2015-01-01T07:38:23.000Z | 2022-03-31T20:55:14.000Z | corehq/form_processor/utils/general.py | akashkj/commcare-hq | b00a62336ec26cea1477dfb8c048c548cc462831 | [
"BSD-3-Clause"
] | 175 | 2015-01-06T07:16:47.000Z | 2022-03-29T13:27:01.000Z | def use_sqlite_backend(domain_name):
return True
def is_commcarecase(obj):
from casexml.apps.case.models import CommCareCase
from corehq.form_processor.models import CommCareCaseSQL
return isinstance(obj, (CommCareCase, CommCareCaseSQL))
| 28.444444 | 60 | 0.792969 | 31 | 256 | 6.387097 | 0.709677 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140625 | 256 | 8 | 61 | 32 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.166667 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
5ffe326babf953b848694ddab3392ecda818189d | 36 | py | Python | build/lib/src/ttsRogue/__init__.py | AlexBacho/ezyt | 5d9526d7901270ed5d97adf73ed0df9b21bf0387 | [
"MIT"
] | 1 | 2020-10-21T09:28:56.000Z | 2020-10-21T09:28:56.000Z | build/lib/src/ttsRogue/__init__.py | AlexBacho/ezyt | 5d9526d7901270ed5d97adf73ed0df9b21bf0387 | [
"MIT"
] | null | null | null | build/lib/src/ttsRogue/__init__.py | AlexBacho/ezyt | 5d9526d7901270ed5d97adf73ed0df9b21bf0387 | [
"MIT"
] | null | null | null | from .redditThief import RedditThief | 36 | 36 | 0.888889 | 4 | 36 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
270588e7f5d006e36163f42b0b07b2d5540b9db7 | 23 | py | Python | __init__.py | unhideschool/uhql | b2194388ee73d7bb4d08ef73ced44c73ab598e6a | [
"MIT"
] | null | null | null | __init__.py | unhideschool/uhql | b2194388ee73d7bb4d08ef73ced44c73ab598e6a | [
"MIT"
] | null | null | null | __init__.py | unhideschool/uhql | b2194388ee73d7bb4d08ef73ced44c73ab598e6a | [
"MIT"
] | null | null | null | from .main import UHQL
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
2724643156c88feb9a1ae170b29408a8844f7b96 | 1,110 | py | Python | devel/getReqs.py | arrismo/tripods-testing | 4ab9a7059df84cfd1f8984960900a3cf80b5c13c | [
"ECL-2.0"
] | 2 | 2019-09-27T20:17:46.000Z | 2020-06-24T22:15:52.000Z | devel/getReqs.py | arrismo/tripods-testing | 4ab9a7059df84cfd1f8984960900a3cf80b5c13c | [
"ECL-2.0"
] | 3 | 2021-03-31T19:53:37.000Z | 2021-12-13T20:44:25.000Z | devel/getReqs.py | arrismo/tripods-testing | 4ab9a7059df84cfd1f8984960900a3cf80b5c13c | [
"ECL-2.0"
] | 1 | 2019-05-22T18:55:39.000Z | 2019-05-22T18:55:39.000Z | #!/usr/bin/env python3
import os
from sys import platform
os.system("pip install -r requirements.txt")
os.system("python -m spacy download en")
if platform == "linux":
try:
os.system("apt install enchant")
except:
print("--------------------------------------------------------------------------"... | 46.25 | 91 | 0.37027 | 84 | 1,110 | 4.892857 | 0.571429 | 0.170316 | 0.116788 | 0.121655 | 0.306569 | 0.160584 | 0 | 0 | 0 | 0 | 0 | 0.003175 | 0.148649 | 1,110 | 23 | 92 | 48.26087 | 0.431746 | 0.018919 | 0 | 0.454545 | 0 | 0 | 0.668199 | 0.408088 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.090909 | 0 | 0.090909 | 0.409091 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
2743225e81bc4a6f2fc8b69ad506bbde64e9ac42 | 72 | py | Python | pylinux/common/default_settings.py | ruiruige/pylinux | a0a85e8928d7847c0596b21c9213bc7863037297 | [
"MIT"
] | null | null | null | pylinux/common/default_settings.py | ruiruige/pylinux | a0a85e8928d7847c0596b21c9213bc7863037297 | [
"MIT"
] | null | null | null | pylinux/common/default_settings.py | ruiruige/pylinux | a0a85e8928d7847c0596b21c9213bc7863037297 | [
"MIT"
] | null | null | null | # /usr/bin/env python
# coding=utf-8
def disable_iptables():
pass
| 10.285714 | 23 | 0.666667 | 11 | 72 | 4.272727 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0.194444 | 72 | 6 | 24 | 12 | 0.793103 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
27510287083bc4d0727004136817af534a9834b7 | 60 | py | Python | client/__init__.py | siroossarmadi/client-python | 55f80c5461c679f96820eb5ab678c7ad102fd40d | [
"MIT"
] | 1 | 2020-06-22T07:28:04.000Z | 2020-06-22T07:28:04.000Z | client/__init__.py | siroossarmadi/client-python | 55f80c5461c679f96820eb5ab678c7ad102fd40d | [
"MIT"
] | null | null | null | client/__init__.py | siroossarmadi/client-python | 55f80c5461c679f96820eb5ab678c7ad102fd40d | [
"MIT"
] | null | null | null | from .client import Client
from .objects import Key, Object
| 20 | 32 | 0.8 | 9 | 60 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 60 | 2 | 33 | 30 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 | 5 |
276f4a20a68897edca3f4bc68d21505d3fb0401a | 293 | py | Python | src/setting.py | Parham-sagharchi/rabbitmqCeleryDocker | 262744ff3390e475774ee33b6576b65c6909e35a | [
"MIT"
] | null | null | null | src/setting.py | Parham-sagharchi/rabbitmqCeleryDocker | 262744ff3390e475774ee33b6576b65c6909e35a | [
"MIT"
] | null | null | null | src/setting.py | Parham-sagharchi/rabbitmqCeleryDocker | 262744ff3390e475774ee33b6576b65c6909e35a | [
"MIT"
] | null | null | null | import os
from dotenv import load_dotenv, find_dotenv
load_dotenv(find_dotenv())
RABBITMQ_DEFAULT_USER = os.environ.get("RABBITMQ_DEFAULT_USER")
RABBITMQ_DEFAULT_PASS = os.environ.get("RABBITMQ_DEFAULT_PASS")
TARGET_FILE = os.environ.get("TARGET_FILE")
LOCAL_IP = os.environ.get("LOCAL_IP")
| 29.3 | 63 | 0.812287 | 45 | 293 | 4.933333 | 0.355556 | 0.27027 | 0.216216 | 0.18018 | 0.243243 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075085 | 293 | 9 | 64 | 32.555556 | 0.819188 | 0 | 0 | 0 | 0 | 0 | 0.208191 | 0.143345 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.142857 | 0.285714 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
279e223c0171a55ced9bd19491ac93ce64e75e2a | 130 | py | Python | nose2/tests/functional/support/scenario/tests_in_package/setup.py | deeplow/nose2 | eb0394160e24afe760e984d93dbece8351dbae7a | [
"BSD-2-Clause"
] | 637 | 2015-01-12T02:02:53.000Z | 2022-03-30T19:47:48.000Z | nose2/tests/functional/support/scenario/tests_in_package/setup.py | deeplow/nose2 | eb0394160e24afe760e984d93dbece8351dbae7a | [
"BSD-2-Clause"
] | 276 | 2015-01-02T19:14:06.000Z | 2022-03-18T04:03:08.000Z | nose2/tests/functional/support/scenario/tests_in_package/setup.py | deeplow/nose2 | eb0394160e24afe760e984d93dbece8351dbae7a | [
"BSD-2-Clause"
] | 127 | 2015-01-08T12:02:10.000Z | 2022-01-10T20:52:29.000Z | from setuptools import find_packages, setup
setup(name="pkg1", packages=find_packages(), test_suite="nose2.collector.collector")
| 32.5 | 84 | 0.807692 | 17 | 130 | 6 | 0.705882 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016529 | 0.069231 | 130 | 3 | 85 | 43.333333 | 0.826446 | 0 | 0 | 0 | 0 | 0 | 0.223077 | 0.192308 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 0 | 5 |
fd7230cf3156ba49da3cb29b6a47965b06eec934 | 292 | py | Python | app/shared/exc.py | neurothrone/project-dot | 20889075611bed645689a76a30257f96e4b55988 | [
"MIT"
] | null | null | null | app/shared/exc.py | neurothrone/project-dot | 20889075611bed645689a76a30257f96e4b55988 | [
"MIT"
] | null | null | null | app/shared/exc.py | neurothrone/project-dot | 20889075611bed645689a76a30257f96e4b55988 | [
"MIT"
] | null | null | null | class UserRepositoryError(Exception):
def __init__(self, message: str):
raise Exception(message)
class UserDoesNotExist(UserRepositoryError):
pass
class UsernameAlreadyTakenError(UserRepositoryError):
pass
class EmailAlreadyTakenError(UserRepositoryError):
pass
| 18.25 | 53 | 0.773973 | 23 | 292 | 9.652174 | 0.565217 | 0.310811 | 0.252252 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160959 | 292 | 15 | 54 | 19.466667 | 0.906122 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0.333333 | 0 | 0 | 0.555556 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
fd9c073ae04681aa75bdbf4e44df9a9972672b10 | 146 | py | Python | indexed_img.py | albert-tomanek/gan-indexed | f0c0c2ee003979ca51a6225576f243ed09294578 | [
"MIT"
] | null | null | null | indexed_img.py | albert-tomanek/gan-indexed | f0c0c2ee003979ca51a6225576f243ed09294578 | [
"MIT"
] | null | null | null | indexed_img.py | albert-tomanek/gan-indexed | f0c0c2ee003979ca51a6225576f243ed09294578 | [
"MIT"
] | null | null | null | import numpy as np
def onehot_to_indexed(imgs):
return imgs.argmax(axis=-1)
def idx_to_rgb(imgs_idx, palette):
return palette[imgs_idx]
| 18.25 | 34 | 0.746575 | 25 | 146 | 4.12 | 0.64 | 0.135922 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00813 | 0.157534 | 146 | 7 | 35 | 20.857143 | 0.829268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 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 | 0 | 1 | 1 | 0 | 0 | 5 |
fdb44700835c9ba73321e1036b07884b2f7a0762 | 197 | py | Python | users/admin.py | nhy17-thu/ImageProcessingWebsite | d90eaf115c870dd359bf5315f7b56f042270f31f | [
"MIT"
] | 1 | 2021-03-29T12:40:39.000Z | 2021-03-29T12:40:39.000Z | users/admin.py | nhy17-thu/FinalProject_Upgrade | d90eaf115c870dd359bf5315f7b56f042270f31f | [
"MIT"
] | null | null | null | users/admin.py | nhy17-thu/FinalProject_Upgrade | d90eaf115c870dd359bf5315f7b56f042270f31f | [
"MIT"
] | 1 | 2021-03-29T12:40:42.000Z | 2021-03-29T12:40:42.000Z | from django.contrib import admin
# Register your models here.
from django.contrib import admin
from .models import User
from .models import Pic
admin.site.register(User)
admin.site.register(Pic) | 19.7 | 32 | 0.80203 | 30 | 197 | 5.266667 | 0.4 | 0.126582 | 0.21519 | 0.291139 | 0.35443 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126904 | 197 | 10 | 33 | 19.7 | 0.918605 | 0.13198 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
fdb759723eef36c09f6b84853130622fc8b04c24 | 71 | py | Python | frictionless/step.py | kant/frictionless-py | 09cc98e1966d6f97f4eecb47757f45f8a946c5e7 | [
"MIT"
] | null | null | null | frictionless/step.py | kant/frictionless-py | 09cc98e1966d6f97f4eecb47757f45f8a946c5e7 | [
"MIT"
] | null | null | null | frictionless/step.py | kant/frictionless-py | 09cc98e1966d6f97f4eecb47757f45f8a946c5e7 | [
"MIT"
] | null | null | null | # TODO: rebase on API to support props validation
class Step:
pass
| 17.75 | 49 | 0.732394 | 11 | 71 | 4.727273 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225352 | 71 | 3 | 50 | 23.666667 | 0.945455 | 0.661972 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 1 | 0 | true | 0.5 | 0 | 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 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
fdbdf9ed0108be7b6ebfbc13dac64bd19cd8aa81 | 24,219 | py | Python | src/align.py | lionking0000/recYnH | da1e4898c4148b399ed0f0a0848f5748679b7b98 | [
"MIT"
] | 2 | 2020-03-02T11:09:31.000Z | 2020-03-12T13:48:40.000Z | src/align.py | lionking0000/recYnH | da1e4898c4148b399ed0f0a0848f5748679b7b98 | [
"MIT"
] | null | null | null | src/align.py | lionking0000/recYnH | da1e4898c4148b399ed0f0a0848f5748679b7b98 | [
"MIT"
] | null | null | null | #!/usr/bin/python
import os
import threading
import fasta
import subprocess
VERBOSE = False # True
NUM_THREADS = 1 #
BLASTN_E_VALUE = "1e-8"
def getCommandOutput(command, exedir = None):
if exedir != None:
os.chdir( exedir )
#child = os.popen(command)
#data = child.read()
task = subprocess.... | 43.559353 | 401 | 0.623147 | 3,285 | 24,219 | 4.478539 | 0.130289 | 0.017129 | 0.011963 | 0.01944 | 0.788744 | 0.750816 | 0.728725 | 0.709353 | 0.693855 | 0.67428 | 0 | 0.081646 | 0.235352 | 24,219 | 555 | 402 | 43.637838 | 0.712781 | 0.276353 | 0 | 0.588629 | 0 | 0.016722 | 0.096238 | 0.018809 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.013378 | null | null | 0.070234 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fdc764c9262b9309391b35a77297cf75c73b6b04 | 10 | py | Python | t.py | guninara/test | 610bb861ce904731aff8e51df39ee87dab10a693 | [
"MIT"
] | null | null | null | t.py | guninara/test | 610bb861ce904731aff8e51df39ee87dab10a693 | [
"MIT"
] | null | null | null | t.py | guninara/test | 610bb861ce904731aff8e51df39ee87dab10a693 | [
"MIT"
] | null | null | null | print("A") | 10 | 10 | 0.6 | 2 | 10 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 | 1 | 10 | 10 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
fdd0a2914fcffa437ac9c8412837f6437b1328d0 | 82 | py | Python | wire/__init__.py | cheetahbyte/wire | f34a41804770968313a8a16a1d9794b7a0abc7dc | [
"MIT"
] | 5 | 2021-09-01T17:34:03.000Z | 2021-12-26T09:41:18.000Z | wire/__init__.py | cheetahbyte/wire | f34a41804770968313a8a16a1d9794b7a0abc7dc | [
"MIT"
] | 4 | 2021-12-26T14:53:09.000Z | 2022-01-02T12:50:43.000Z | wire/__init__.py | cheetahbyte/wire | f34a41804770968313a8a16a1d9794b7a0abc7dc | [
"MIT"
] | null | null | null | __version__ = '0.3.1.1'
from wire.app import Wire
from wire.request import Request | 27.333333 | 32 | 0.780488 | 15 | 82 | 4 | 0.6 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.121951 | 82 | 3 | 32 | 27.333333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.084337 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
fdf64934d035a3f28df76c7f79657d781ba140e2 | 39 | py | Python | python_scrappers/scrapper_1.py | TareqMonwer/BookList | 66b9d0881e90ed2b2303e87a72e7a3a09bc703c2 | [
"MIT"
] | null | null | null | python_scrappers/scrapper_1.py | TareqMonwer/BookList | 66b9d0881e90ed2b2303e87a72e7a3a09bc703c2 | [
"MIT"
] | null | null | null | python_scrappers/scrapper_1.py | TareqMonwer/BookList | 66b9d0881e90ed2b2303e87a72e7a3a09bc703c2 | [
"MIT"
] | null | null | null | # python3.8
# A program to scrap books
| 13 | 26 | 0.717949 | 7 | 39 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0.205128 | 39 | 2 | 27 | 19.5 | 0.83871 | 0.871795 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e3499b7010c51183fef32f47ce4872e0531b3081 | 25 | py | Python | hello_world.py | nantthet739/profiles-rest-api-new | c449108360ed7a39f8ffcefa38b32bca57d732c2 | [
"MIT"
] | null | null | null | hello_world.py | nantthet739/profiles-rest-api-new | c449108360ed7a39f8ffcefa38b32bca57d732c2 | [
"MIT"
] | null | null | null | hello_world.py | nantthet739/profiles-rest-api-new | c449108360ed7a39f8ffcefa38b32bca57d732c2 | [
"MIT"
] | null | null | null | print('Hello world 111')
| 12.5 | 24 | 0.72 | 4 | 25 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 0.12 | 25 | 1 | 25 | 25 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
e349b6571945ec6bfa56324d61a3791669b65a6d | 94 | py | Python | app/settings.py | 4linux/HandsOn-Flask-App | f54482a46b41d6a156b232c6cb98399de559e063 | [
"MIT"
] | 6 | 2021-06-29T20:37:13.000Z | 2021-06-30T11:16:05.000Z | app/settings.py | 4linux/HandsOn-Flask-App | f54482a46b41d6a156b232c6cb98399de559e063 | [
"MIT"
] | null | null | null | app/settings.py | 4linux/HandsOn-Flask-App | f54482a46b41d6a156b232c6cb98399de559e063 | [
"MIT"
] | 9 | 2021-06-29T20:36:53.000Z | 2022-03-17T12:27:18.000Z | import os
MONGO_URI = os.environ.get("MONGO_URI")
SECRET_KEY = os.environ.get("SECRET_KEY")
| 15.666667 | 41 | 0.744681 | 16 | 94 | 4.125 | 0.5 | 0.242424 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 94 | 5 | 42 | 18.8 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0.202128 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
4735cb8288f5444ca3b56cf5725365a9bd0c705a | 246 | py | Python | test/nose_integration_tests/dummy_first_level_pkg_one_tests/dummy_second_level_pkg_A_tests/dummy_test_b.py | Points/teamcity-python | 58dd0e9d83fea92f9212f2cadaaaeaefd1deb68e | [
"Apache-2.0"
] | 1 | 2018-08-14T16:29:57.000Z | 2018-08-14T16:29:57.000Z | test/nose_integration_tests/dummy_first_level_pkg_one_tests/dummy_second_level_pkg_A_tests/dummy_test_b.py | denisenkom/teamcity-python | 25d0008596cfc7b895f367d36de5dd95b6722b4c | [
"Apache-2.0"
] | null | null | null | test/nose_integration_tests/dummy_first_level_pkg_one_tests/dummy_second_level_pkg_A_tests/dummy_test_b.py | denisenkom/teamcity-python | 25d0008596cfc7b895f367d36de5dd95b6722b4c | [
"Apache-2.0"
] | null | null | null | from nose.plugins.attrib import attr
@attr('demo_smoke', 'smoke', 'known_good')
def test_dummy_known_good_with_assertion_pass():
"""
test_dummy_known_good_with_assertion_pass
I'd like to buy the world a coke!
"""
assert True | 24.6 | 48 | 0.727642 | 38 | 246 | 4.342105 | 0.710526 | 0.163636 | 0.169697 | 0.218182 | 0.424242 | 0.424242 | 0.424242 | 0 | 0 | 0 | 0 | 0 | 0.174797 | 246 | 10 | 49 | 24.6 | 0.812808 | 0.304878 | 0 | 0 | 0 | 0 | 0.164474 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0.25 | 0.25 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
4750ffb501af07361e962595a5fb94c2dc2694b6 | 165 | py | Python | src/geneflow/data/migrations/20180727-01.py | CDCgov/geneflow | a2ef128efa0c60fa96b622be757e0695fc9a68d4 | [
"Apache-2.0"
] | 7 | 2019-04-11T03:50:51.000Z | 2020-03-27T15:59:04.000Z | src/geneflow/data/migrations/20180727-01.py | CDCgov/geneflow | a2ef128efa0c60fa96b622be757e0695fc9a68d4 | [
"Apache-2.0"
] | 1 | 2019-05-06T14:18:42.000Z | 2019-05-08T22:06:12.000Z | src/geneflow/data/migrations/20180727-01.py | CDCgov/geneflow | a2ef128efa0c60fa96b622be757e0695fc9a68d4 | [
"Apache-2.0"
] | 6 | 2019-04-10T20:25:27.000Z | 2021-12-16T15:59:59.000Z | # migration 20180727-01
#
# Add notifications field to job table.
#
from yoyo import step
step("ALTER TABLE job ADD COLUMN notifications TEXT NOT NULL DEFAULT ''")
| 20.625 | 73 | 0.757576 | 24 | 165 | 5.208333 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072993 | 0.169697 | 165 | 7 | 74 | 23.571429 | 0.839416 | 0.357576 | 0 | 0 | 0 | 0 | 0.643564 | 0 | 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 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
4768391a7f21da5188bf7a452d527344c3300b34 | 35 | py | Python | launch.py | fybmain/TiebaAutoSign | 8390d9e69efff1eb851dd8c7a0f4ff1ce450be53 | [
"MIT"
] | 2 | 2019-01-31T01:38:20.000Z | 2019-01-31T01:57:56.000Z | launch.py | fybmain/TiebaAutoSign | 8390d9e69efff1eb851dd8c7a0f4ff1ce450be53 | [
"MIT"
] | null | null | null | launch.py | fybmain/TiebaAutoSign | 8390d9e69efff1eb851dd8c7a0f4ff1ce450be53 | [
"MIT"
] | null | null | null | from src import *
do_auto_task()
| 7 | 17 | 0.714286 | 6 | 35 | 3.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 35 | 4 | 18 | 8.75 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 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 | 0 | 0 | 5 |
47b0834498c4827e9805ef63a2fa8e0b661f3e4e | 165 | py | Python | src/compath_resources/__init__.py | ComPath/compath-resources | e8da7b511c2b558b8fd0bf38888b512008ac1ba3 | [
"MIT"
] | 3 | 2020-11-24T18:43:59.000Z | 2021-06-04T20:52:10.000Z | src/compath_resources/__init__.py | ComPath/compath-resources | e8da7b511c2b558b8fd0bf38888b512008ac1ba3 | [
"MIT"
] | 13 | 2020-03-28T13:36:32.000Z | 2021-01-19T15:00:07.000Z | src/compath_resources/__init__.py | ComPath/resources | e8da7b511c2b558b8fd0bf38888b512008ac1ba3 | [
"MIT"
] | 1 | 2021-12-01T09:49:59.000Z | 2021-12-01T09:49:59.000Z | # -*- coding: utf-8 -*-
"""Utilities for ComPath's resources."""
from .exporters import get_bel, get_rdf # noqa: F401
from .resources import get_df # noqa: F401
| 23.571429 | 53 | 0.684848 | 24 | 165 | 4.583333 | 0.708333 | 0.163636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051095 | 0.169697 | 165 | 6 | 54 | 27.5 | 0.751825 | 0.478788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 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 | 5 |
47c0b2826749260d43d14c91add0fd44a5f40826 | 90 | py | Python | dataset_builder/exceptions/exceptions.py | statisticsnorway/microdata-dataset-builder | c58fe5804f146290e1d523536729f1a5b1ac2c73 | [
"Apache-2.0"
] | null | null | null | dataset_builder/exceptions/exceptions.py | statisticsnorway/microdata-dataset-builder | c58fe5804f146290e1d523536729f1a5b1ac2c73 | [
"Apache-2.0"
] | 3 | 2022-01-18T15:21:49.000Z | 2022-03-07T13:49:03.000Z | dataset_builder/exceptions/exceptions.py | statisticsnorway/microdata-dataset-builder | c58fe5804f146290e1d523536729f1a5b1ac2c73 | [
"Apache-2.0"
] | null | null | null | class BuilderStepError(Exception):
pass
class HttpAdapterError(Exception):
pass
| 12.857143 | 34 | 0.755556 | 8 | 90 | 8.5 | 0.625 | 0.382353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 90 | 6 | 35 | 15 | 0.918919 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
47ccb925d78b38e647828c16c5a53e2bca0e7c99 | 21 | py | Python | tests/tests.py | ryderdamen/objectdaddy | 57f9fdca2b0fd35114474ead1faf736ace092562 | [
"MIT"
] | 2 | 2021-07-06T21:24:25.000Z | 2021-07-11T23:14:46.000Z | tests/tests.py | ryderdamen/objectdaddy | 57f9fdca2b0fd35114474ead1faf736ace092562 | [
"MIT"
] | null | null | null | tests/tests.py | ryderdamen/objectdaddy | 57f9fdca2b0fd35114474ead1faf736ace092562 | [
"MIT"
] | null | null | null | # lol there are none
| 10.5 | 20 | 0.714286 | 4 | 21 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 21 | 1 | 21 | 21 | 0.9375 | 0.857143 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
47d0a46d230375d40c2fc2dbd498bc6f2297ecf6 | 88 | py | Python | utils/nn/modules/__init__.py | roshanr11/Research-DCST | 225461e6ffd7ca5a48b9688946eb36b2d98f358e | [
"MIT"
] | 5 | 2020-04-29T08:48:53.000Z | 2020-12-23T10:11:39.000Z | utils/nn/modules/__init__.py | roshanr11/Research-DCST | 225461e6ffd7ca5a48b9688946eb36b2d98f358e | [
"MIT"
] | 2 | 2020-01-11T08:31:06.000Z | 2021-06-09T12:41:32.000Z | utils/nn/modules/__init__.py | roshanr11/Research-DCST | 225461e6ffd7ca5a48b9688946eb36b2d98f358e | [
"MIT"
] | 5 | 2019-11-20T02:49:03.000Z | 2020-09-17T15:27:34.000Z | from .crf import *
from .sparse import *
from .attention import *
from .linear import *
| 17.6 | 24 | 0.727273 | 12 | 88 | 5.333333 | 0.5 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 88 | 4 | 25 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
47fe6e2dd0d399fa7a2a3cd24581d614384c310c | 1,571 | py | Python | tests/test_ec2.py | fdmsantos/troposphere | c372dc300e579989cb44849c5f4dd6cb97f90d78 | [
"BSD-2-Clause"
] | 1 | 2019-05-27T21:22:51.000Z | 2019-05-27T21:22:51.000Z | tests/test_ec2.py | fdmsantos/troposphere | c372dc300e579989cb44849c5f4dd6cb97f90d78 | [
"BSD-2-Clause"
] | 1 | 2021-06-25T15:20:46.000Z | 2021-06-25T15:20:46.000Z | tests/test_ec2.py | fdmsantos/troposphere | c372dc300e579989cb44849c5f4dd6cb97f90d78 | [
"BSD-2-Clause"
] | 2 | 2018-05-05T18:40:43.000Z | 2018-09-19T04:17:05.000Z | import unittest
import troposphere.ec2 as ec2
class TestEC2(unittest.TestCase):
def test_securitygroupegress(self):
egress = ec2.SecurityGroupEgress(
'egress',
ToPort='80',
FromPort='80',
IpProtocol="tcp",
GroupId="id",
CidrIp="0.0.0... | 24.936508 | 44 | 0.481859 | 126 | 1,571 | 5.960317 | 0.230159 | 0.031957 | 0.035952 | 0.031957 | 0.770972 | 0.770972 | 0.770972 | 0.770972 | 0.672437 | 0.672437 | 0 | 0.045407 | 0.397199 | 1,571 | 62 | 45 | 25.33871 | 0.747624 | 0 | 0 | 0.833333 | 0 | 0 | 0.071292 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 1 | 0.018519 | false | 0 | 0.037037 | 0 | 0.074074 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9a0173065c684bfbe726ed11fe7a7b1eebdd1cfd | 245 | py | Python | core/sdfrenderer/__init__.py | hyunynim/DIST-Renderer | 4717ee8cea77f4f413b61f380a893c6800d0bde5 | [
"MIT"
] | 176 | 2020-06-11T19:16:33.000Z | 2022-03-29T01:38:28.000Z | core/sdfrenderer/__init__.py | hyunynim/DIST-Renderer | 4717ee8cea77f4f413b61f380a893c6800d0bde5 | [
"MIT"
] | 6 | 2020-06-26T05:26:56.000Z | 2021-11-10T07:31:21.000Z | core/sdfrenderer/__init__.py | hyunynim/DIST-Renderer | 4717ee8cea77f4f413b61f380a893c6800d0bde5 | [
"MIT"
] | 23 | 2020-06-11T21:43:03.000Z | 2022-02-18T00:16:16.000Z | import os, sys
sys.path.append(os.path.dirname(os.path.abspath(__file__)))
from renderer import SDFRenderer
from renderer_rgb import SDFRenderer_color
from renderer_warp import SDFRenderer_warp
from renderer_deepsdf import SDFRenderer_deepsdf
| 30.625 | 59 | 0.857143 | 35 | 245 | 5.714286 | 0.428571 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089796 | 245 | 7 | 60 | 35 | 0.896861 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.833333 | 0 | 0.833333 | 0 | 0 | 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 | 5 |
7beb4f1b0eabd08673d0d2c931a63947bf8de3a2 | 34 | py | Python | pystocket/__init__.py | EvilTeliportist/pystocket | d63e998109b26f1c31ba4232f2e9343f0bc8c6fb | [
"MIT"
] | null | null | null | pystocket/__init__.py | EvilTeliportist/pystocket | d63e998109b26f1c31ba4232f2e9343f0bc8c6fb | [
"MIT"
] | null | null | null | pystocket/__init__.py | EvilTeliportist/pystocket | d63e998109b26f1c31ba4232f2e9343f0bc8c6fb | [
"MIT"
] | null | null | null | from pystocket.pystocket import *
| 17 | 33 | 0.823529 | 4 | 34 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
7bfaadb388651e5073785fd639390c28f78aca7f | 5,889 | py | Python | log.py | Iangecko/arbys | 5b2e4b4e511d5721d6a1cc447b8fbf9be43fa909 | [
"MIT"
] | 9 | 2018-10-01T05:57:17.000Z | 2019-11-10T22:46:26.000Z | log.py | Iangecko/arbys | 5b2e4b4e511d5721d6a1cc447b8fbf9be43fa909 | [
"MIT"
] | 7 | 2018-09-25T14:30:24.000Z | 2019-07-26T02:30:15.000Z | log.py | Iangecko/arbys | 5b2e4b4e511d5721d6a1cc447b8fbf9be43fa909 | [
"MIT"
] | 8 | 2018-09-25T21:06:26.000Z | 2019-07-24T17:15:56.000Z | # Custom logging module for the bot because I don't like Python's built in logging module.
# Why I don't like it is not for a comment line in a file, though, so ask me if you want to know why.
import traceback
import time
import sys
import config
import os
from datetime import datetime
logfile = "logs/" + time.strft... | 32.005435 | 113 | 0.674478 | 897 | 5,889 | 4.326644 | 0.19621 | 0.051533 | 0.06957 | 0.036073 | 0.747745 | 0.740788 | 0.726617 | 0.724556 | 0.648802 | 0.638495 | 0 | 0.004403 | 0.190015 | 5,889 | 183 | 114 | 32.180328 | 0.809224 | 0.182883 | 0 | 0.631944 | 0 | 0 | 0.117389 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0.104167 | 0.041667 | 0.006944 | 0.104167 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
7bfdec8c6c8621b998decffda1c965fe9890792a | 16,192 | py | Python | src/utils/utils_load_data.py | disiji/fc_differentiable | 65d6cbb3e0e41862744366c045fa06b6dc2d99a5 | [
"MIT"
] | 2 | 2019-11-23T03:14:33.000Z | 2022-01-18T20:00:27.000Z | src/utils/utils_load_data.py | disiji/fc_differentiable | 65d6cbb3e0e41862744366c045fa06b6dc2d99a5 | [
"MIT"
] | null | null | null | src/utils/utils_load_data.py | disiji/fc_differentiable | 65d6cbb3e0e41862744366c045fa06b6dc2d99a5 | [
"MIT"
] | 2 | 2019-04-09T00:18:44.000Z | 2022-01-01T10:43:25.000Z | from __future__ import division
import os
import pickle
import numpy as np
import pandas as pd
import fcsparser
def load_cll_data_1p(diagnosis_filename, cytometry_dir, features):
X, y = [], []
diagnosis_df = pd.read_csv(diagnosis_filename, sep='\t')
for filename in sorted(os.listdir(cytometry_dir)):
... | 43.880759 | 120 | 0.655077 | 2,638 | 16,192 | 3.797953 | 0.078848 | 0.065376 | 0.093423 | 0.037928 | 0.829324 | 0.786206 | 0.759657 | 0.74199 | 0.690788 | 0.664038 | 0 | 0.058297 | 0.213933 | 16,192 | 368 | 121 | 44 | 0.728865 | 0.163476 | 0 | 0.486364 | 0 | 0.004545 | 0.098996 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.081818 | false | 0 | 0.027273 | 0 | 0.204545 | 0.113636 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d052532ac1d7bcc98c212c36a47a7d010211c655 | 344 | py | Python | logical/converter/qiskit/backends/basejob.py | malcolmregan/GateCircuit-to-AnnealerEmbedding | 33a1a4ea2ebd707ade0677e0df468d5120a861db | [
"Apache-2.0"
] | null | null | null | logical/converter/qiskit/backends/basejob.py | malcolmregan/GateCircuit-to-AnnealerEmbedding | 33a1a4ea2ebd707ade0677e0df468d5120a861db | [
"Apache-2.0"
] | 1 | 2019-04-09T02:22:38.000Z | 2019-04-09T02:22:38.000Z | logical/converter/qiskit/backends/basejob.py | malcolmregan/GateCircuit-to-AnnealerEmbedding | 33a1a4ea2ebd707ade0677e0df468d5120a861db | [
"Apache-2.0"
] | null | null | null |
from abc import ABC, abstractmethod
class BaseJob(ABC):
pass
def __init__(self, backend, job_id):
pass
def job_id(self):
pass
def backend(self):
pass
def submit(self):
pass
def result(self):
pass
def cancel(self):
pass
def sta... | 10.75 | 40 | 0.534884 | 41 | 344 | 4.341463 | 0.414634 | 0.275281 | 0.308989 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.386628 | 344 | 31 | 41 | 11.096774 | 0.843602 | 0 | 0 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.411765 | false | 0.470588 | 0.058824 | 0 | 0.529412 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
d0be96d14554eb0902b9485926cb2c9f66fffcc2 | 173 | py | Python | accounts/admin.py | lawalkeyd/Law_Firm | 02bf019929987e6a1b35b34bc60e5848a4a9ce35 | [
"MIT"
] | null | null | null | accounts/admin.py | lawalkeyd/Law_Firm | 02bf019929987e6a1b35b34bc60e5848a4a9ce35 | [
"MIT"
] | null | null | null | accounts/admin.py | lawalkeyd/Law_Firm | 02bf019929987e6a1b35b34bc60e5848a4a9ce35 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import UserAccount, UserProfile
# Register your models here.
admin.site.register(UserAccount)
admin.site.register(UserProfile) | 28.833333 | 44 | 0.83237 | 22 | 173 | 6.545455 | 0.545455 | 0.125 | 0.236111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092486 | 173 | 6 | 45 | 28.833333 | 0.917197 | 0.150289 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 | 5 |
d0c7b32134af7652bb72d13c50b0ea9aabb0006c | 22,283 | py | Python | grapefruit_test.py | xav/Grapefruit | b3d88375be727a3a1ec5839fbc462e0e8e0836e4 | [
"Apache-2.0"
] | 71 | 2015-01-08T10:22:34.000Z | 2022-03-14T00:57:58.000Z | grapefruit_test.py | cyanogen/Grapefruit | b3d88375be727a3a1ec5839fbc462e0e8e0836e4 | [
"Apache-2.0"
] | 11 | 2015-02-03T15:55:26.000Z | 2020-10-30T15:26:57.000Z | grapefruit_test.py | cyanogen/Grapefruit | b3d88375be727a3a1ec5839fbc462e0e8e0836e4 | [
"Apache-2.0"
] | 17 | 2015-01-31T19:01:05.000Z | 2022-03-14T00:30:00.000Z | #!/usr/bin/python
# -*- coding: utf-8 -*-#
# Copyright (c) 2008-2016, Xavier Basty
#
# 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 r... | 42.043396 | 149 | 0.668267 | 4,374 | 22,283 | 3.189986 | 0.057156 | 0.037985 | 0.025156 | 0.119831 | 0.81108 | 0.755393 | 0.716262 | 0.678349 | 0.628324 | 0.588117 | 0 | 0.138231 | 0.153301 | 22,283 | 529 | 150 | 42.122873 | 0.601314 | 0.037248 | 0 | 0.173709 | 0 | 0 | 0.012841 | 0 | 0 | 0 | 0.002615 | 0 | 0.448357 | 1 | 0.251174 | false | 0 | 0.004695 | 0 | 0.265258 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d0d539bd6ae37bdbeae29f0eb5bf874a548b0cbd | 1,021 | py | Python | src/python/led_matrix_client/Util.py | janvdb-eu/rpi-rgb-led-matrix-server | 71d6352a2172ec9dba5472262e6070d391e6a39c | [
"Apache-2.0"
] | 7 | 2018-04-30T21:05:23.000Z | 2022-02-23T05:57:10.000Z | src/python/led_matrix_client/Util.py | janvdb-eu/rpi-rgb-led-matrix-server | 71d6352a2172ec9dba5472262e6070d391e6a39c | [
"Apache-2.0"
] | 1 | 2019-02-27T09:23:55.000Z | 2019-02-27T09:55:21.000Z | src/python/led_matrix_client/Util.py | janvdbergh/rpi-rgb-led-matrix-server | 71d6352a2172ec9dba5472262e6070d391e6a39c | [
"Apache-2.0"
] | null | null | null | def to8BitUnsigned(value):
return value.to_bytes(length=1, byteorder='little', signed=False)
def to16BitUnsigned(value):
return value.to_bytes(length=2, byteorder='little', signed=False)
def to16BitSigned(value):
return value.to_bytes(length=2, byteorder='little', signed=True)
def to32BitUnsigned(value):
retu... | 25.525 | 70 | 0.750245 | 136 | 1,021 | 5.580882 | 0.242647 | 0.106719 | 0.193676 | 0.171278 | 0.703557 | 0.598155 | 0.408432 | 0.408432 | 0.408432 | 0.408432 | 0 | 0.028698 | 0.112635 | 1,021 | 39 | 71 | 26.179487 | 0.809051 | 0 | 0 | 0.173913 | 0 | 0 | 0.05093 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.391304 | false | 0 | 0 | 0.217391 | 0.782609 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
d0e14c8c716c0230bfd4c58f0ea5d42233ed71ac | 155 | py | Python | CrawlingTest/requests_library.py | KrGil/Python-Practice | 4842974fc7c36db035796504734c426cd6426bd2 | [
"MIT"
] | null | null | null | CrawlingTest/requests_library.py | KrGil/Python-Practice | 4842974fc7c36db035796504734c426cd6426bd2 | [
"MIT"
] | null | null | null | CrawlingTest/requests_library.py | KrGil/Python-Practice | 4842974fc7c36db035796504734c426cd6426bd2 | [
"MIT"
] | null | null | null | import requests
# response = requests.get("https://www.naver.com")
response = requests.get("https://www.law.go.kr/법령/민법")
html = response.text
print(html) | 25.833333 | 54 | 0.722581 | 24 | 155 | 4.666667 | 0.666667 | 0.285714 | 0.339286 | 0.428571 | 0.482143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083871 | 155 | 6 | 55 | 25.833333 | 0.788732 | 0.309677 | 0 | 0 | 0 | 0 | 0.254717 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d0f9ac6e3fe1a6e74cf39fcc168eee1735d43163 | 59 | py | Python | exercise_01/exercise_code/networks/__init__.py | Sihifu/i2dl | 5beafccc85d29ebc62c37b42674df209b7995c39 | [
"RSA-MD"
] | null | null | null | exercise_01/exercise_code/networks/__init__.py | Sihifu/i2dl | 5beafccc85d29ebc62c37b42674df209b7995c39 | [
"RSA-MD"
] | null | null | null | exercise_01/exercise_code/networks/__init__.py | Sihifu/i2dl | 5beafccc85d29ebc62c37b42674df209b7995c39 | [
"RSA-MD"
] | null | null | null | """Definition of all datasets"""
from .dummy import Dummy
| 14.75 | 32 | 0.728814 | 8 | 59 | 5.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152542 | 59 | 3 | 33 | 19.666667 | 0.86 | 0.440678 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 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 | 5 |
ef71caa17ca76c7b471101c4010166e23358e5f0 | 6,458 | py | Python | standard-test-functions/StandardTestFunctions.py | Clymsw/xHVI-2020 | 548162f517d4b052c1f62224dabba566a1290a2e | [
"MIT"
] | null | null | null | standard-test-functions/StandardTestFunctions.py | Clymsw/xHVI-2020 | 548162f517d4b052c1f62224dabba566a1290a2e | [
"MIT"
] | null | null | null | standard-test-functions/StandardTestFunctions.py | Clymsw/xHVI-2020 | 548162f517d4b052c1f62224dabba566a1290a2e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Wed Mar 11 11:56:23 2020
@author: Clym Stock-Williams
"""
from deap import benchmarks
import numpy as np
import os
def get_function_definition(function_name: str, num_input_dims: int, num_objectives: int):
domain = []
fitnessfunc = None
d1x_opt = []
if funct... | 49.29771 | 101 | 0.587798 | 968 | 6,458 | 3.744835 | 0.094008 | 0.102621 | 0.079448 | 0.026483 | 0.736552 | 0.730207 | 0.730207 | 0.730207 | 0.72331 | 0.692414 | 0 | 0.08382 | 0.231496 | 6,458 | 131 | 102 | 49.29771 | 0.646585 | 0.013627 | 0 | 0.607477 | 0 | 0 | 0.073707 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018692 | false | 0 | 0.028037 | 0 | 0.065421 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
efadd5142e854761317cf954f2ea5cf90bb5ff90 | 6,522 | py | Python | src/productbert/model/model.py | wbsg-uni-mannheim/productbert-intermediate | 4d77b1f82dc57f1716649f94c80db77d080777d3 | [
"BSD-3-Clause"
] | 7 | 2021-06-18T01:48:27.000Z | 2022-03-23T01:46:08.000Z | src/productbert/model/model.py | Web-based-Systems-Group/productbert-intermediate | 4d77b1f82dc57f1716649f94c80db77d080777d3 | [
"BSD-3-Clause"
] | 5 | 2021-06-08T22:13:04.000Z | 2022-03-12T00:44:19.000Z | src/productbert/model/model.py | Web-based-Systems-Group/productbert-intermediate | 4d77b1f82dc57f1716649f94c80db77d080777d3 | [
"BSD-3-Clause"
] | 2 | 2021-06-29T18:12:10.000Z | 2021-08-18T16:42:22.000Z | import torch
import torch.nn as nn
import torch.nn.functional as F
from base import BaseModel
from transformers import BertModel, BertConfig
from transformers.modeling_bert import BertOnlyMLMHead
class MnistModel(BaseModel):
def __init__(self, num_classes=10):
super().__init__()
self.conv1 = nn.C... | 36.435754 | 121 | 0.659614 | 836 | 6,522 | 4.899522 | 0.167464 | 0.036621 | 0.047607 | 0.027344 | 0.779541 | 0.762695 | 0.748291 | 0.72876 | 0.720459 | 0.708008 | 0 | 0.019085 | 0.252837 | 6,522 | 179 | 122 | 36.435754 | 0.821465 | 0.233057 | 0 | 0.536082 | 0 | 0 | 0.059677 | 0.042064 | 0 | 0 | 0 | 0 | 0 | 1 | 0.123711 | false | 0 | 0.061856 | 0 | 0.309278 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
efdbb6539d804cdfd4872ccf509d04baae8ac20b | 13,319 | py | Python | tests/native/test_evaluate.py | bitner/pygeofilter | 140aee2f3197044cc18dd111c71e2fcdc516a200 | [
"MIT"
] | 19 | 2021-03-30T18:18:10.000Z | 2022-03-23T13:53:55.000Z | tests/native/test_evaluate.py | bitner/pygeofilter | 140aee2f3197044cc18dd111c71e2fcdc516a200 | [
"MIT"
] | 20 | 2021-04-25T10:32:41.000Z | 2022-01-21T10:48:30.000Z | tests/native/test_evaluate.py | bitner/pygeofilter | 140aee2f3197044cc18dd111c71e2fcdc516a200 | [
"MIT"
] | 6 | 2021-06-09T01:07:17.000Z | 2022-02-27T16:29:55.000Z | from datetime import date, datetime
from dataclasses import dataclass
from typing import Optional, List
import math
from shapely.geometry import Point
import pytest
from pygeofilter.parsers.ecql import parse
from pygeofilter.backends.native.evaluate import NativeEvaluator
from pygeofilter import ast
@dataclass
clas... | 26.907071 | 79 | 0.57647 | 1,907 | 13,319 | 3.861038 | 0.059255 | 0.084748 | 0.140568 | 0.136901 | 0.829146 | 0.801847 | 0.773869 | 0.739916 | 0.699307 | 0.679071 | 0 | 0.054054 | 0.288836 | 13,319 | 494 | 80 | 26.961538 | 0.72329 | 0 | 0 | 0.54712 | 0 | 0 | 0.152339 | 0.012614 | 0 | 0 | 0 | 0 | 0.180628 | 1 | 0.075916 | false | 0 | 0.02356 | 0 | 0.141361 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5602f9231245540b7cca0ac1cf03b8c68d0445b5 | 377 | py | Python | tomes_darcmail/lib/eaxs/MessageIdType.py | StateArchivesOfNorthCarolina/docker_dmc | c387a4bcd91346bedf3a4c4f242fb7f35d5a81c1 | [
"MIT"
] | null | null | null | tomes_darcmail/lib/eaxs/MessageIdType.py | StateArchivesOfNorthCarolina/docker_dmc | c387a4bcd91346bedf3a4c4f242fb7f35d5a81c1 | [
"MIT"
] | 1 | 2018-11-23T17:04:52.000Z | 2018-11-23T17:04:52.000Z | tomes_darcmail/lib/eaxs/MessageIdType.py | StateArchivesOfNorthCarolina/docker_dmc | c387a4bcd91346bedf3a4c4f242fb7f35d5a81c1 | [
"MIT"
] | null | null | null | #############################################################
# 2016-09-26: MessageIdType.py
# Author: Jeremy M. Gibson (State Archives of North Carolina)
#
# Description: Implementation of message-id-type
##############################################################
class MessageId:
""""""
def __init__(sel... | 25.133333 | 62 | 0.440318 | 29 | 377 | 5.586207 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.151194 | 377 | 14 | 63 | 26.928571 | 0.48125 | 0.429708 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
ef05d2aa740bdec1ebb7b20fa40918561cb67d13 | 20 | py | Python | checkov/version.py | honza1a/checkov | 3ce607e1cb36dd877eaccb11c351529858c85831 | [
"Apache-2.0"
] | 1 | 2021-01-26T12:46:32.000Z | 2021-01-26T12:46:32.000Z | checkov/version.py | honza1a/checkov | 3ce607e1cb36dd877eaccb11c351529858c85831 | [
"Apache-2.0"
] | null | null | null | checkov/version.py | honza1a/checkov | 3ce607e1cb36dd877eaccb11c351529858c85831 | [
"Apache-2.0"
] | null | null | null | version = '1.0.303'
| 10 | 19 | 0.6 | 4 | 20 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.294118 | 0.15 | 20 | 1 | 20 | 20 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ef17362ad4d3532e07bc9a1952fac5063a669b18 | 337 | py | Python | configs/deepim/ycbvPbrSO/FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_ycbvPbr_SO/FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_Pbr_02_03CrackerBox_bop_test.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | 33 | 2021-12-15T07:11:47.000Z | 2022-03-29T08:58:32.000Z | configs/deepim/ycbvPbrSO/FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_ycbvPbr_SO/FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_Pbr_02_03CrackerBox_bop_test.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | 3 | 2021-12-15T11:39:54.000Z | 2022-03-29T07:24:23.000Z | configs/deepim/ycbvPbrSO/FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_ycbvPbr_SO/FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_Pbr_02_03CrackerBox_bop_test.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | null | null | null | _base_ = (
"./FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_Pbr_01_02MasterChefCan_bop_test.py"
)
OUTPUT_DIR = "output/deepim/ycbvPbrSO/FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_ycbvPbr_SO/02_03CrackerBox"
DATASETS = dict(TRAIN=("ycbv_003_cracker_b... | 56.166667 | 143 | 0.878338 | 45 | 337 | 5.866667 | 0.711111 | 0.083333 | 0.19697 | 0.280303 | 0.515152 | 0.515152 | 0.515152 | 0.515152 | 0.515152 | 0.515152 | 0 | 0.096273 | 0.04451 | 337 | 5 | 144 | 67.4 | 0.723602 | 0 | 0 | 0 | 0 | 0 | 0.807122 | 0.807122 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ef2e8047d01d664419a4c155b9d5c8cbaa1c2239 | 81,172 | py | Python | flink-ai-flow/ai_flow/test/rest_endpoint/test_client.py | MarvinMiao/flink-ai-extended | e45eecf2deea6976ba3d7ba821ffb8d9ce0a17f4 | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0",
"BSD-3-Clause"
] | 1 | 2021-06-03T05:37:21.000Z | 2021-06-03T05:37:21.000Z | flink-ai-flow/ai_flow/test/rest_endpoint/test_client.py | sentimentist/flink-ai-extended | 689d000f2db8919fd80e0725a1609918ca4a26f4 | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0",
"BSD-3-Clause"
] | 1 | 2021-01-30T11:28:37.000Z | 2021-01-30T11:28:37.000Z | flink-ai-flow/ai_flow/test/rest_endpoint/test_client.py | sentimentist/flink-ai-extended | 689d000f2db8919fd80e0725a1609918ca4a26f4 | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0",
"BSD-3-Clause"
] | null | null | null | #
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not... | 60.350929 | 119 | 0.62917 | 8,798 | 81,172 | 5.494885 | 0.041941 | 0.085016 | 0.030697 | 0.041701 | 0.821157 | 0.784151 | 0.734445 | 0.701493 | 0.674127 | 0.636149 | 0 | 0.01211 | 0.274664 | 81,172 | 1,344 | 120 | 60.395833 | 0.808992 | 0.036109 | 0 | 0.583699 | 0 | 0 | 0.073575 | 0.009021 | 0 | 0 | 0 | 0 | 0.318142 | 1 | 0.060473 | false | 0 | 0.017528 | 0 | 0.08326 | 0.013146 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ef3518326d775a8a01c6a8e6950c8a4b3dbbcab2 | 302 | py | Python | bin/rdbox/rdbox_node_report.py | rdbox-intec/rdbox-middleware | e7469c68ba745187d1db5514494663a3593164df | [
"MIT"
] | 4 | 2019-04-25T06:30:18.000Z | 2020-03-21T05:46:38.000Z | bin/rdbox/rdbox_node_report.py | fukuta-tatsuya-intec/rdbox-middleware | fc1612c655438aaebe5ec289764854b5fa887e09 | [
"MIT"
] | 21 | 2020-01-10T02:22:55.000Z | 2021-09-27T07:30:46.000Z | bin/rdbox/rdbox_node_report.py | rdbox-intec/rdbox-middleware | e7469c68ba745187d1db5514494663a3593164df | [
"MIT"
] | 5 | 2019-06-21T06:18:05.000Z | 2020-09-18T02:28:25.000Z | #!/usr/bin/env python3
# coding: utf-8
class RdboxNodeReport(object):
def __init__(self, rdbox_node_list, formatter):
self.rdbox_node_list = rdbox_node_list
self.formatter = formatter
def output_report(self):
return self.formatter.output_report(self.rdbox_node_list)
| 25.166667 | 65 | 0.721854 | 40 | 302 | 5.1 | 0.5 | 0.176471 | 0.254902 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00813 | 0.18543 | 302 | 11 | 66 | 27.454545 | 0.821138 | 0.115894 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
ef65a9bf4c1e969fa347350934e1b39795f08e07 | 3,480 | py | Python | helpers/gen_bc6h_parser.py | darkuranium/tclib | eb934ec93887eabe5c8a2847d7b86a9511dde260 | [
"CC0-1.0"
] | 42 | 2016-09-11T22:05:35.000Z | 2022-01-01T14:00:56.000Z | helpers/gen_bc6h_parser.py | darkuranium/tclib | eb934ec93887eabe5c8a2847d7b86a9511dde260 | [
"CC0-1.0"
] | 15 | 2016-09-08T13:53:52.000Z | 2016-09-11T12:31:52.000Z | helpers/gen_bc6h_parser.py | darkuranium/tclib | eb934ec93887eabe5c8a2847d7b86a9511dde260 | [
"CC0-1.0"
] | 1 | 2018-05-12T13:45:55.000Z | 2018-05-12T13:45:55.000Z | # source: https://www.khronos.org/registry/OpenGL/extensions/ARB/ARB_texture_compression_bptc.txt
MODEREF = '''
0 m[1:0],g2[4],b2[4],b3[4],r0[9:0],g0[9:0],b0[9:0],r1[4:0],g3[4],g2[3:0],g1[4:0],b3[0],g3[3:0],b1[4:0],b3[1],b2[3:0],r2[4:0],b3[2],r3[4:0],b3[3]
1 m[1:0],g2[5],g3[4],g3[5],r0[6:0],b3[0],b3[1],b2[4],g0[6:0],... | 48.333333 | 169 | 0.504885 | 853 | 3,480 | 2.053927 | 0.112544 | 0.049087 | 0.041096 | 0.034247 | 0.450913 | 0.391553 | 0.368721 | 0.325342 | 0.317922 | 0.310502 | 0 | 0.238683 | 0.162069 | 3,480 | 71 | 170 | 49.014085 | 0.36214 | 0.027299 | 0 | 0.126984 | 0 | 0.238095 | 0.626367 | 0.557198 | 0 | 0 | 0 | 0 | 0.015873 | 1 | 0 | false | 0 | 0.015873 | 0 | 0.015873 | 0.142857 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
322c2469fb2374edc92dc36b2ab96b03b241279d | 247 | py | Python | ambra_sdk/service/entrypoints/case.py | dicomgrid/sdk-python | bb12eed311bad73dfb863917df4dc5cbcd91a447 | [
"Apache-2.0"
] | 9 | 2020-04-20T23:45:44.000Z | 2021-04-18T11:22:17.000Z | ambra_sdk/service/entrypoints/case.py | dicomgrid/sdk-python | bb12eed311bad73dfb863917df4dc5cbcd91a447 | [
"Apache-2.0"
] | 13 | 2020-02-08T16:15:05.000Z | 2021-09-13T22:55:28.000Z | ambra_sdk/service/entrypoints/case.py | dicomgrid/sdk-python | bb12eed311bad73dfb863917df4dc5cbcd91a447 | [
"Apache-2.0"
] | 6 | 2020-03-25T17:47:45.000Z | 2021-04-18T11:22:19.000Z | from ambra_sdk.service.entrypoints.generated.case import \
AsyncCase as GAsyncCase
from ambra_sdk.service.entrypoints.generated.case import Case as GCase
class Case(GCase):
"""Case."""
class AsyncCase(GAsyncCase):
"""AsyncCase."""
| 20.583333 | 70 | 0.740891 | 30 | 247 | 6.033333 | 0.433333 | 0.099448 | 0.132597 | 0.209945 | 0.541436 | 0.541436 | 0.541436 | 0.541436 | 0 | 0 | 0 | 0 | 0.1417 | 247 | 11 | 71 | 22.454545 | 0.853774 | 0.064777 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
326020739936657e23d816035d7843ef864e8ceb | 116 | py | Python | py/protocols/util/server.py | marin-jovanovic/power-grid-simulator | e618588a3315c9d15b66290ffb86def6daa1dca4 | [
"Apache-2.0"
] | null | null | null | py/protocols/util/server.py | marin-jovanovic/power-grid-simulator | e618588a3315c9d15b66290ffb86def6daa1dca4 | [
"Apache-2.0"
] | null | null | null | py/protocols/util/server.py | marin-jovanovic/power-grid-simulator | e618588a3315c9d15b66290ffb86def6daa1dca4 | [
"Apache-2.0"
] | null | null | null | class Server:
def __init__(self, host_name, port):
self.host_name = host_name
self.port = port
| 19.333333 | 40 | 0.62931 | 16 | 116 | 4.125 | 0.5 | 0.363636 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.284483 | 116 | 5 | 41 | 23.2 | 0.795181 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
328da3e2a01a3c77391364f9474e6577528f3cdc | 120 | py | Python | graphgallery/nn/layers/pytorch/conv/__init__.py | kisekizzz/GraphGallery | fd4a1f474c244f774397460ae95935638ef48f5b | [
"MIT"
] | 1 | 2020-11-22T10:14:58.000Z | 2020-11-22T10:14:58.000Z | graphgallery/nn/layers/th_layers/__init__.py | mengliu1998/GraphGallery | 025ac09e883f3e1e1b02000e086830c935884a6e | [
"MIT"
] | null | null | null | graphgallery/nn/layers/th_layers/__init__.py | mengliu1998/GraphGallery | 025ac09e883f3e1e1b02000e086830c935884a6e | [
"MIT"
] | 1 | 2020-11-22T10:14:59.000Z | 2020-11-22T10:14:59.000Z | from .gcn import GraphConvolution
from .gat import GraphAttention, SparseGraphAttention
from .sgc import SGConvolution
| 24 | 53 | 0.85 | 13 | 120 | 7.846154 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116667 | 120 | 4 | 54 | 30 | 0.962264 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 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 | 5 |
32bed033a8e47e38c50ef282d82842765cb112a5 | 266 | py | Python | tests/test_no_config.py | intel/oneContainer-Cloud-Tool | 843fd4f6aa2e168ac7a7b544e05b92a7495e1121 | [
"BSD-3-Clause"
] | null | null | null | tests/test_no_config.py | intel/oneContainer-Cloud-Tool | 843fd4f6aa2e168ac7a7b544e05b92a7495e1121 | [
"BSD-3-Clause"
] | null | null | null | tests/test_no_config.py | intel/oneContainer-Cloud-Tool | 843fd4f6aa2e168ac7a7b544e05b92a7495e1121 | [
"BSD-3-Clause"
] | 3 | 2021-01-04T10:29:16.000Z | 2022-02-19T00:07:15.000Z | """test no config file."""
import os
import onecontainer_cloud_tool.config as config
def test_no_config():
"""test if config file exists, config_file is created when init is run, this
test should fail."""
assert not os.path.isfile(config.CONFIG_FILE)
| 24.181818 | 80 | 0.733083 | 42 | 266 | 4.5 | 0.595238 | 0.21164 | 0.126984 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172932 | 266 | 10 | 81 | 26.6 | 0.859091 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
08661490a7fbb99a4db92bed366d13d03ddd8ed4 | 38 | py | Python | Code/lecture 6/print.py | capacitybuilding/Introduction-to-Computng | 77639e53ed53896581c4a8431f32198237ac70dc | [
"MIT"
] | null | null | null | Code/lecture 6/print.py | capacitybuilding/Introduction-to-Computng | 77639e53ed53896581c4a8431f32198237ac70dc | [
"MIT"
] | null | null | null | Code/lecture 6/print.py | capacitybuilding/Introduction-to-Computng | 77639e53ed53896581c4a8431f32198237ac70dc | [
"MIT"
] | null | null | null | print 'Hello world'
print 5
print 4.0
| 9.5 | 19 | 0.736842 | 8 | 38 | 3.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0.184211 | 38 | 3 | 20 | 12.666667 | 0.806452 | 0 | 0 | 0 | 0 | 0 | 0.289474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
0899b4458687cdca80f8a4b25965261dadb86056 | 195 | py | Python | DeepLearning/Deep-Learning-with-PyTorch-Tutorials/lesson46-时间序列表示/main.py | Shadowalker1995/Tutorial-Resource | 71fe3d521cf9971f708fa9978e9c685c0dda6ba6 | [
"Apache-2.0"
] | null | null | null | DeepLearning/Deep-Learning-with-PyTorch-Tutorials/lesson46-时间序列表示/main.py | Shadowalker1995/Tutorial-Resource | 71fe3d521cf9971f708fa9978e9c685c0dda6ba6 | [
"Apache-2.0"
] | null | null | null | DeepLearning/Deep-Learning-with-PyTorch-Tutorials/lesson46-时间序列表示/main.py | Shadowalker1995/Tutorial-Resource | 71fe3d521cf9971f708fa9978e9c685c0dda6ba6 | [
"Apache-2.0"
] | 1 | 2021-01-08T20:22:26.000Z | 2021-01-08T20:22:26.000Z | import torch
import torchnlp
from torchnlp import word_to_vector
def main():
# vec = word_to_vector.GloVe()
vec = word_to_vector.BPEmb()
if __name__ == '__main__':
main() | 10.263158 | 35 | 0.666667 | 26 | 195 | 4.461538 | 0.538462 | 0.155172 | 0.310345 | 0.258621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235897 | 195 | 19 | 36 | 10.263158 | 0.778523 | 0.14359 | 0 | 0 | 0 | 0 | 0.048193 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
08c1fefe323dc769710a79bf86acce51495f3081 | 1,242 | py | Python | open_vsdcli/vsdcli.py | maxiterr/openvsd | 5b0b50c67863498cb7972670ea6cdcc79c12624f | [
"Apache-2.0"
] | 9 | 2015-10-15T14:11:03.000Z | 2016-11-24T20:35:30.000Z | open_vsdcli/vsdcli.py | maxiterr/openvsd | 5b0b50c67863498cb7972670ea6cdcc79c12624f | [
"Apache-2.0"
] | 24 | 2015-10-15T14:37:15.000Z | 2020-02-28T10:23:11.000Z | open_vsdcli/vsdcli.py | maxiterr/openvsd | 5b0b50c67863498cb7972670ea6cdcc79c12624f | [
"Apache-2.0"
] | 6 | 2015-10-25T21:11:17.000Z | 2020-03-05T16:16:05.000Z | # Copyright 2015 Maxime Terras <maxime.terras@numergy.com>
# Copyright 2015 Pierre Padrixe <pierre.padrixe@gmail.com>
#
# 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... | 33.567568 | 78 | 0.761675 | 188 | 1,242 | 4.851064 | 0.478723 | 0.114035 | 0.199561 | 0.242325 | 0.302632 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011594 | 0.166667 | 1,242 | 36 | 79 | 34.5 | 0.869565 | 0.533816 | 0 | 0 | 0 | 0 | 0.014184 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | true | 0 | 0.764706 | 0 | 0.823529 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3ecde0b9662df9cf4c0f7b9c6b5d2671e099c452 | 174 | py | Python | fastmot/__init__.py | hejinIzhanghao/FastMOT | 1428a1994c7c3fb041ed04d1cc6051a4a4fae8b0 | [
"MIT"
] | null | null | null | fastmot/__init__.py | hejinIzhanghao/FastMOT | 1428a1994c7c3fb041ed04d1cc6051a4a4fae8b0 | [
"MIT"
] | null | null | null | fastmot/__init__.py | hejinIzhanghao/FastMOT | 1428a1994c7c3fb041ed04d1cc6051a4a4fae8b0 | [
"MIT"
] | null | null | null | from .videoio import VideoIO
from .mot_cv import MOT
from .tracker import MultiTracker
from .kalman_filter import KalmanFilter
from .flow import Flow
from .track import Track | 29 | 39 | 0.833333 | 26 | 174 | 5.5 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132184 | 174 | 6 | 40 | 29 | 0.94702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 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 | 5 |
4117b353f111ba28cb42914c51ee38f1d228b972 | 120 | py | Python | pic-to-ascii.py | TomJamesGray/pic-to-ascii | 9bed680050919263c1cc418c4827847a461215e5 | [
"MIT"
] | null | null | null | pic-to-ascii.py | TomJamesGray/pic-to-ascii | 9bed680050919263c1cc418c4827847a461215e5 | [
"MIT"
] | null | null | null | pic-to-ascii.py | TomJamesGray/pic-to-ascii | 9bed680050919263c1cc418c4827847a461215e5 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import sys
from pic_to_ascii import main
if __name__ == "__main__":
main.main(sys.argv[1:])
| 17.142857 | 29 | 0.708333 | 20 | 120 | 3.75 | 0.75 | 0.213333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.15 | 120 | 6 | 30 | 20 | 0.715686 | 0.175 | 0 | 0 | 0 | 0 | 0.081633 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 0 | 5 |
412be2de29843dbe8d33c7f65ccfe2520c9a0c79 | 127 | py | Python | test_project/member/models.py | Yemsheng/goldencage | 835f71c7ab882eccb87f42d2bc138d26b6432860 | [
"BSD-3-Clause"
] | null | null | null | test_project/member/models.py | Yemsheng/goldencage | 835f71c7ab882eccb87f42d2bc138d26b6432860 | [
"BSD-3-Clause"
] | null | null | null | test_project/member/models.py | Yemsheng/goldencage | 835f71c7ab882eccb87f42d2bc138d26b6432860 | [
"BSD-3-Clause"
] | null | null | null | from django.db import models
from django.contrib.auth.tests.custom_user import CustomUser
class MyUser(CustomUser):
pass
| 18.142857 | 60 | 0.80315 | 18 | 127 | 5.611111 | 0.777778 | 0.19802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133858 | 127 | 6 | 61 | 21.166667 | 0.918182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
f5ad5d3330c9b3335cd61e6c196e777dedcbade3 | 21,483 | py | Python | third_party/spider/baselines/seq2seq_attention_copy/seq2seq/decoders/schema_attention_decoder.py | chenyangh/tensor2struct-public | d3257cba6d76d3c658a58a78f687d986bdc755cf | [
"MIT"
] | 69 | 2021-04-14T06:35:07.000Z | 2022-03-31T18:35:05.000Z | third_party/spider/baselines/seq2seq_attention_copy/seq2seq/decoders/schema_attention_decoder.py | chenyangh/tensor2struct-public | d3257cba6d76d3c658a58a78f687d986bdc755cf | [
"MIT"
] | 19 | 2018-12-17T20:42:11.000Z | 2020-02-12T21:29:51.000Z | third_party/spider/baselines/seq2seq_attention_copy/seq2seq/decoders/schema_attention_decoder.py | chenyangh/tensor2struct-public | d3257cba6d76d3c658a58a78f687d986bdc755cf | [
"MIT"
] | 22 | 2019-03-16T05:57:27.000Z | 2020-10-25T04:34:54.000Z | # Modified from attention_decoder.py
"""
A sequence decoder with attention to schema that performs
a softmax based on the RNN state.
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
from collections import namedtup... | 39.931227 | 146 | 0.716939 | 2,573 | 21,483 | 5.642829 | 0.085115 | 0.117777 | 0.04835 | 0.040568 | 0.813417 | 0.779117 | 0.749019 | 0.7183 | 0.687857 | 0.676286 | 0 | 0.006226 | 0.207513 | 21,483 | 537 | 147 | 40.005587 | 0.846579 | 0.168319 | 0 | 0.659794 | 0 | 0 | 0.033256 | 0.017336 | 0 | 0 | 0 | 0.003724 | 0 | 1 | 0.061856 | false | 0.007732 | 0.023196 | 0.015464 | 0.146907 | 0.002577 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f5cb5f3190c199b0116ae2b82b945f54eb010a1d | 82 | py | Python | privex/steem/__main__.py | brianoflondon/steem-async | ece69cb11e44b73a9a9bd8989e3742677c390b19 | [
"X11"
] | 4 | 2019-09-14T19:21:07.000Z | 2021-11-28T01:44:02.000Z | privex/steem/__main__.py | brianoflondon/steem-async | ece69cb11e44b73a9a9bd8989e3742677c390b19 | [
"X11"
] | null | null | null | privex/steem/__main__.py | brianoflondon/steem-async | ece69cb11e44b73a9a9bd8989e3742677c390b19 | [
"X11"
] | 2 | 2021-06-30T08:23:12.000Z | 2021-10-01T23:27:50.000Z | from privex.steem.cli import cli_main
if __name__ == '__main__':
cli_main()
| 13.666667 | 37 | 0.707317 | 12 | 82 | 4 | 0.666667 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182927 | 82 | 5 | 38 | 16.4 | 0.716418 | 0 | 0 | 0 | 0 | 0 | 0.098765 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 5 |
eb33993c0a48c121dc3f54b2cbe7a82e999e3ca3 | 657 | py | Python | 2017/Day05.py | hrmorley34/AdventofCode | 74590422717fb5c6b80ef3fca226359d354c4aec | [
"MIT"
] | null | null | null | 2017/Day05.py | hrmorley34/AdventofCode | 74590422717fb5c6b80ef3fca226359d354c4aec | [
"MIT"
] | null | null | null | 2017/Day05.py | hrmorley34/AdventofCode | 74590422717fb5c6b80ef3fca226359d354c4aec | [
"MIT"
] | null | null | null | # Part 1
def jump1(jumps):
j = jumps.split("\n")
l = []
for item in j:
l += [int(item)]
length = len(l)
loc = 0
counter = 0
while 0 <= loc and loc < length:
counter += 1
jump = l[loc]
l[loc] += 1
loc += jump
return(counter)
# Part 2
def jump2(jump... | 18.771429 | 36 | 0.429224 | 91 | 657 | 3.098901 | 0.296703 | 0.099291 | 0.053191 | 0.113475 | 0.851064 | 0.851064 | 0.851064 | 0.673759 | 0.673759 | 0.673759 | 0 | 0.042553 | 0.427702 | 657 | 34 | 37 | 19.323529 | 0.707447 | 0.019787 | 0 | 0.83871 | 0 | 0 | 0.00624 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.064516 | false | 0 | 0 | 0 | 0.064516 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 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 | 5 |
eb3c3f0a4eeec8c0f59896334820de61936aaac3 | 46 | py | Python | python/testData/paramInfo/ReassignedLambda.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/paramInfo/ReassignedLambda.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/paramInfo/ReassignedLambda.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | z = lambda x,y: x+y
y = z
y(<arg1>1, <arg2>2)
| 11.5 | 19 | 0.521739 | 13 | 46 | 1.846154 | 0.615385 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0.217391 | 46 | 3 | 20 | 15.333333 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
eb4619d81ca6a2926f65533e5eb61f9a65095e5b | 8,024 | py | Python | apps/links/tests/test_usage_api.py | dstl/lighthouse | b810742d9f4cbfac02bf99096542499d25c88b58 | [
"MIT"
] | 5 | 2016-05-12T13:47:38.000Z | 2020-06-22T07:33:35.000Z | apps/links/tests/test_usage_api.py | dstl/lighthouse | b810742d9f4cbfac02bf99096542499d25c88b58 | [
"MIT"
] | 7 | 2016-10-24T12:41:09.000Z | 2016-12-08T21:58:18.000Z | apps/links/tests/test_usage_api.py | dstl/lighthouse | b810742d9f4cbfac02bf99096542499d25c88b58 | [
"MIT"
] | 4 | 2016-05-12T21:53:21.000Z | 2021-04-10T22:02:26.000Z | # (c) Crown Owned Copyright, 2016. Dstl.
from datetime import datetime
from os import getenv
from unittest import mock, skipIf
import requests
from django.core.urlresolvers import reverse
from django.test import LiveServerTestCase
from django.utils.timezone import make_aware
from ..models import Link
from testing.c... | 37.148148 | 79 | 0.599202 | 977 | 8,024 | 4.733879 | 0.157625 | 0.053622 | 0.047568 | 0.072649 | 0.780541 | 0.751784 | 0.733838 | 0.703784 | 0.703784 | 0.691676 | 0 | 0.02966 | 0.277293 | 8,024 | 215 | 80 | 37.32093 | 0.767891 | 0.058076 | 0 | 0.567901 | 0 | 0 | 0.079115 | 0.009939 | 0 | 0 | 0 | 0.004651 | 0.222222 | 1 | 0.061728 | false | 0 | 0.055556 | 0 | 0.123457 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
de2ad897350c8980ffcc843bc66b4d7a96ace1ec | 136 | py | Python | core/__init__.py | JiaMingLin/dlcv_adda | e292eb0e61fc79eb15a16bcf786e834436b09089 | [
"Apache-2.0"
] | null | null | null | core/__init__.py | JiaMingLin/dlcv_adda | e292eb0e61fc79eb15a16bcf786e834436b09089 | [
"Apache-2.0"
] | null | null | null | core/__init__.py | JiaMingLin/dlcv_adda | e292eb0e61fc79eb15a16bcf786e834436b09089 | [
"Apache-2.0"
] | null | null | null | from .adapt import train_tgt
from .pretrain import train_src
from .test import evaluation
__all__ = (train_src, train_tgt, evaluation)
| 22.666667 | 44 | 0.808824 | 20 | 136 | 5.1 | 0.5 | 0.215686 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132353 | 136 | 5 | 45 | 27.2 | 0.864407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
de5cf7cb4e6ceb1c3b0417d84addfff1a1ab537a | 44 | py | Python | shapes/__init__.py | haudren/shapes | c00581424396b8e9c187381c72b2efd1dae2eb6b | [
"MIT"
] | 4 | 2018-01-16T15:12:47.000Z | 2021-10-06T14:17:58.000Z | shapes/__init__.py | haudren/shapes | c00581424396b8e9c187381c72b2efd1dae2eb6b | [
"MIT"
] | null | null | null | shapes/__init__.py | haudren/shapes | c00581424396b8e9c187381c72b2efd1dae2eb6b | [
"MIT"
] | null | null | null | #!/usr/bin/env python
from shapes import *
| 11 | 21 | 0.704545 | 7 | 44 | 4.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 44 | 3 | 22 | 14.666667 | 0.837838 | 0.454545 | 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 | 0 | 0 | 0 | 5 |
de5eff9a4b6d5405a6d5c54738713cbf72ac222b | 114 | py | Python | Python/max/01.py | zSucrilhos/programming | aa0076a4a7084a6064e1e5df258ba0c90cf8ceeb | [
"MIT"
] | null | null | null | Python/max/01.py | zSucrilhos/programming | aa0076a4a7084a6064e1e5df258ba0c90cf8ceeb | [
"MIT"
] | 4 | 2020-07-18T03:27:03.000Z | 2020-07-18T03:28:37.000Z | Python/max/01.py | zSucrilhos/programming | aa0076a4a7084a6064e1e5df258ba0c90cf8ceeb | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
a = [1,2,3,4,5,6,7,8, 48, 876,4568,124,355,87,98,68769,98879879,9999999999]
print(max(a)) | 28.5 | 75 | 0.614035 | 25 | 114 | 2.8 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.495146 | 0.096491 | 114 | 4 | 76 | 28.5 | 0.184466 | 0.184211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
de9547ec1a98f2ef2c1eac559a183f10667ae824 | 2,879 | py | Python | makingVideo.py | schnipdip/MASCALOGICS-Automatic-Reddit-text-to-Video-Generator-and-youtube-uploader | f87676f0e5fca3b720fff42f816e166cb59d8653 | [
"MIT"
] | 33 | 2020-08-18T18:48:31.000Z | 2022-03-13T15:40:13.000Z | makingVideo.py | schnipdip/MASCALOGICS-Automatic-Reddit-text-to-Video-Generator-and-youtube-uploader | f87676f0e5fca3b720fff42f816e166cb59d8653 | [
"MIT"
] | 5 | 2020-08-27T00:56:22.000Z | 2022-02-23T10:47:13.000Z | makingVideo.py | schnipdip/MASCALOGICS-Automatic-Reddit-text-to-Video-Generator-and-youtube-uploader | f87676f0e5fca3b720fff42f816e166cb59d8653 | [
"MIT"
] | 15 | 2020-08-19T13:14:21.000Z | 2022-01-27T10:32:41.000Z | from moviepy.editor import *
import os
def makingVideo(comments,post_titles,post_bodies):
videos=[]
folder_path = os.getcwd()
flash = VideoFileClip('flash.mp4')
flash.fps = 30
# new_audio = r'C:\Users\rajaa\Downloads\Compressed\Reddit-video-generation-master\Reddit-video-generation-master\f... | 38.905405 | 131 | 0.578326 | 349 | 2,879 | 4.684814 | 0.203438 | 0.067278 | 0.097859 | 0.116208 | 0.7737 | 0.7737 | 0.730275 | 0.730275 | 0.725382 | 0.725382 | 0 | 0.018405 | 0.263981 | 2,879 | 73 | 132 | 39.438356 | 0.753185 | 0.212226 | 0 | 0.521739 | 0 | 0 | 0.122187 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021739 | false | 0 | 0.043478 | 0 | 0.065217 | 0.086957 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
de9b9c6020569a528e1c1b29e16284c5e86a2825 | 476 | py | Python | phablytics/reports/__init__.py | zdammel/phablytics | f4fceb4f2d4f5c35df9fd41a8b3e2e64d7007ac4 | [
"MIT"
] | 3 | 2020-06-22T22:05:08.000Z | 2020-10-27T19:01:40.000Z | phablytics/reports/__init__.py | zdammel/phablytics | f4fceb4f2d4f5c35df9fd41a8b3e2e64d7007ac4 | [
"MIT"
] | 2 | 2020-12-22T22:15:31.000Z | 2021-12-14T03:47:19.000Z | phablytics/reports/__init__.py | zdammel/phablytics | f4fceb4f2d4f5c35df9fd41a8b3e2e64d7007ac4 | [
"MIT"
] | 4 | 2020-08-27T15:56:01.000Z | 2021-05-07T18:03:11.000Z | # Phablytics Imports
from phablytics.reports.group_review_status import GroupReviewStatusReport
from phablytics.reports.new_project_tasks import NewProjectTasksReport
from phablytics.reports.recent_tasks import RecentTasksReport
from phablytics.reports.revision_status import RevisionStatusReport
from phablytics.reports... | 59.5 | 98 | 0.915966 | 50 | 476 | 8.48 | 0.48 | 0.198113 | 0.29717 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056723 | 476 | 7 | 99 | 68 | 0.944321 | 0.037815 | 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 | 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 | 5 |
dec49a9f27b371b12c2eea50f7ce75cf0f9657cc | 276 | py | Python | tests/gamestonk_terminal/stocks/options/test_options_api.py | minhhoang1023/GamestonkTerminal | 195dc19b491052df080178c0cc6a9d535a91a704 | [
"MIT"
] | 1 | 2022-02-18T04:02:52.000Z | 2022-02-18T04:02:52.000Z | tests/gamestonk_terminal/stocks/options/test_options_api.py | minhhoang1023/GamestonkTerminal | 195dc19b491052df080178c0cc6a9d535a91a704 | [
"MIT"
] | null | null | null | tests/gamestonk_terminal/stocks/options/test_options_api.py | minhhoang1023/GamestonkTerminal | 195dc19b491052df080178c0cc6a9d535a91a704 | [
"MIT"
] | null | null | null | # IMPORTATION STANDARD
# IMPORTATION THIRDPARTY
# IMPORTATION INTERNAL
from gamestonk_terminal.helper_classes import ModelsNamespace as _models
from gamestonk_terminal.stocks.options import options_api
def test_models():
assert isinstance(options_api.models, _models)
| 23 | 72 | 0.836957 | 32 | 276 | 6.96875 | 0.625 | 0.116592 | 0.188341 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 276 | 11 | 73 | 25.090909 | 0.913934 | 0.231884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7201b334cb44e00248c13fda79fad7647c484557 | 72 | py | Python | tests/test_obj.py | Scotchy/XPipe | 723317ab7029725cc58c4fa74c41cf6b3e3151de | [
"MIT"
] | null | null | null | tests/test_obj.py | Scotchy/XPipe | 723317ab7029725cc58c4fa74c41cf6b3e3151de | [
"MIT"
] | 8 | 2021-11-26T20:28:30.000Z | 2022-03-26T23:50:45.000Z | tests/test_obj.py | Scotchy/XPipe | 723317ab7029725cc58c4fa74c41cf6b3e3151de | [
"MIT"
] | null | null | null | class ObjTest():
def __init__(self, conf):
self.conf = conf
| 18 | 29 | 0.597222 | 9 | 72 | 4.333333 | 0.666667 | 0.410256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.277778 | 72 | 3 | 30 | 24 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
724c52c0bf41c1be62e36d552075430e21bbdc59 | 133 | py | Python | scripts/wk/setup/__init__.py | 2Shirt/WizardK | 82a2e7f85c80a52f892c1553e7a45ec0174e7bc6 | [
"MIT"
] | null | null | null | scripts/wk/setup/__init__.py | 2Shirt/WizardK | 82a2e7f85c80a52f892c1553e7a45ec0174e7bc6 | [
"MIT"
] | 178 | 2017-11-17T19:14:31.000Z | 2021-12-15T07:43:29.000Z | scripts/wk/setup/__init__.py | 2Shirt/WizardK | 82a2e7f85c80a52f892c1553e7a45ec0174e7bc6 | [
"MIT"
] | 1 | 2017-11-17T19:32:36.000Z | 2017-11-17T19:32:36.000Z | """WizardKit: repairs module init"""
# vim: sts=2 sw=2 ts=2
import platform
if platform.system() == 'Windows':
from . import win
| 16.625 | 36 | 0.669173 | 20 | 133 | 4.45 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027273 | 0.172932 | 133 | 7 | 37 | 19 | 0.781818 | 0.390977 | 0 | 0 | 0 | 0 | 0.093333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.