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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
19f86b537c0bae3f03cb054ba2a00a84283387fd | 264 | py | Python | Dataset/Leetcode/test/26/20.py | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | Dataset/Leetcode/test/26/20.py | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | Dataset/Leetcode/test/26/20.py | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | class Solution:
def XXX(self, nums: List[int]) -> int:
lenth = len(nums)-1
if lenth > 0:
for i in range(lenth):
if nums[lenth-i] == nums[lenth-i-1]:
del nums[lenth-i-1]
return len(nums)
| 26.4 | 52 | 0.469697 | 37 | 264 | 3.351351 | 0.513514 | 0.217742 | 0.241935 | 0.177419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025157 | 0.397727 | 264 | 9 | 53 | 29.333333 | 0.754717 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
19fcc623262d860189e8189235d583ae4e65f09f | 4,567 | py | Python | reports/migrations/0001_initial.py | prabinrs/surveilance-system | 1a9f118737d1043133dbb7247573b4616a680c2d | [
"BSD-3-Clause"
] | null | null | null | reports/migrations/0001_initial.py | prabinrs/surveilance-system | 1a9f118737d1043133dbb7247573b4616a680c2d | [
"BSD-3-Clause"
] | 2 | 2020-06-05T21:39:21.000Z | 2021-06-10T21:40:18.000Z | reports/migrations/0001_initial.py | prabinrs/surveilance-system | 1a9f118737d1043133dbb7247573b4616a680c2d | [
"BSD-3-Clause"
] | 1 | 2020-02-26T15:06:32.000Z | 2020-02-26T15:06:32.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.9.1 on 2016-07-10 15:25
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('location', '0001_initial'),
]
o... | 47.572917 | 145 | 0.567988 | 466 | 4,567 | 5.373391 | 0.197425 | 0.13778 | 0.183706 | 0.220447 | 0.726038 | 0.726038 | 0.726038 | 0.66853 | 0.488019 | 0.488019 | 0 | 0.027259 | 0.285089 | 4,567 | 95 | 146 | 48.073684 | 0.739663 | 0.01467 | 0 | 0.402299 | 1 | 0 | 0.135424 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.034483 | 0 | 0.08046 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c239f5c3d4947e1407e55108ddd39325d57ce40b | 144 | py | Python | tests/examples-bad/classdup.py | JohannesBuchner/pystrict3 | f442a89ac6a23f4323daed8ef829d8e9e1197f90 | [
"BSD-2-Clause"
] | 1 | 2020-06-05T08:53:26.000Z | 2020-06-05T08:53:26.000Z | tests/examples-bad/classdup.py | JohannesBuchner/pystrict3 | f442a89ac6a23f4323daed8ef829d8e9e1197f90 | [
"BSD-2-Clause"
] | 1 | 2020-06-04T13:47:19.000Z | 2020-06-04T13:47:57.000Z | tests/examples-bad/classdup.py | JohannesBuchner/pystrict3 | f442a89ac6a23f4323daed8ef829d8e9e1197f90 | [
"BSD-2-Clause"
] | 1 | 2020-11-07T17:02:46.000Z | 2020-11-07T17:02:46.000Z | class Foo0():
def __init__(self):
pass
foo1 = Foo0()
class Foo0(): ## error: redefined class
def __init__(self, a):
pass
foo2 = Foo0()
| 12 | 39 | 0.638889 | 20 | 144 | 4.2 | 0.55 | 0.214286 | 0.261905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.208333 | 144 | 11 | 40 | 13.090909 | 0.684211 | 0.152778 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0 | 0 | 0.5 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
df99b03a9d330f18fb903fd9f572a6f8a7b50ba7 | 2,264 | py | Python | tests/test_models/test_sum_aggregate_by_user_report.py | wikimedia/analytics-wikimetrics | 1d2036657b06ccd16ecfc76edd3f9a6119ff75f4 | [
"MIT"
] | 6 | 2015-01-28T05:59:08.000Z | 2018-01-09T07:48:57.000Z | tests/test_models/test_sum_aggregate_by_user_report.py | wikimedia/analytics-wikimetrics | 1d2036657b06ccd16ecfc76edd3f9a6119ff75f4 | [
"MIT"
] | 2 | 2020-05-09T16:36:43.000Z | 2020-05-09T16:52:35.000Z | tests/test_models/test_sum_aggregate_by_user_report.py | wikimedia/analytics-wikimetrics | 1d2036657b06ccd16ecfc76edd3f9a6119ff75f4 | [
"MIT"
] | 1 | 2016-01-13T07:19:44.000Z | 2016-01-13T07:19:44.000Z | from nose.tools import assert_equals, assert_true
from wikimetrics.metrics import metric_classes
from wikimetrics.models import SumAggregateByUserReport
from wikimetrics.models.storage.wikiuser import WikiUserKey
from wikimetrics.enums import Aggregation
from ..fixtures import DatabaseTest
class SumAggregateByUserRep... | 42.716981 | 76 | 0.638251 | 240 | 2,264 | 5.841667 | 0.220833 | 0.11127 | 0.162625 | 0.119829 | 0.71184 | 0.708987 | 0.708987 | 0.708987 | 0.708987 | 0.708987 | 0 | 0.035078 | 0.23189 | 2,264 | 52 | 77 | 43.538462 | 0.771133 | 0 | 0 | 0.583333 | 0 | 0 | 0.202297 | 0.111307 | 0 | 0 | 0 | 0 | 0.1875 | 1 | 0.0625 | false | 0 | 0.125 | 0 | 0.208333 | 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 |
df9f3c0e92bffcb38e5adfe2df0bb08a894807c7 | 159 | py | Python | generated-libraries/python/netapp/lun/san_size.py | radekg/netapp-ontap-lib-get | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | [
"MIT"
] | 2 | 2017-03-28T15:31:26.000Z | 2018-08-16T22:15:18.000Z | generated-libraries/python/netapp/lun/san_size.py | radekg/netapp-ontap-lib-get | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | [
"MIT"
] | null | null | null | generated-libraries/python/netapp/lun/san_size.py | radekg/netapp-ontap-lib-get | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | [
"MIT"
] | null | null | null | class SanSize(int):
"""
Size in bytes
Range : [0..2^63-1].
"""
@staticmethod
def get_api_name():
return "san-size"
| 14.454545 | 27 | 0.477987 | 19 | 159 | 3.894737 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.371069 | 159 | 10 | 28 | 15.9 | 0.69 | 0.213836 | 0 | 0 | 0 | 0 | 0.07619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
a048820ace4a4fa970d9206512dd93ff746c73a2 | 216 | py | Python | consensual/core/raft/__init__.py | lycantropos/consensual | 0dcb850a39a81bbbb7b79fe6e7f8ce2fc4588c69 | [
"MIT"
] | 2 | 2022-02-15T08:10:35.000Z | 2022-02-15T15:22:16.000Z | consensual/core/raft/__init__.py | lycantropos/consensual | 0dcb850a39a81bbbb7b79fe6e7f8ce2fc4588c69 | [
"MIT"
] | null | null | null | consensual/core/raft/__init__.py | lycantropos/consensual | 0dcb850a39a81bbbb7b79fe6e7f8ce2fc4588c69 | [
"MIT"
] | null | null | null | from . import communication
from .hints import Processor
from .messages import MessageKind
from .node import Node
from .receiver import Receiver
from .sender import (ReceiverUnavailable,
Sender)
| 27 | 41 | 0.74537 | 24 | 216 | 6.708333 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212963 | 216 | 7 | 42 | 30.857143 | 0.947059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.857143 | 0 | 0.857143 | 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 |
a0910b6d70baafe08cdfdb9f5b4f8e619a106d8c | 166 | py | Python | groups/rules.py | sylae/pctnet | fde46f4e97a293a4ecee5fd2ebd1b526b2003a7b | [
"MIT"
] | 1 | 2018-11-19T04:43:03.000Z | 2018-11-19T04:43:03.000Z | groups/rules.py | sylae/pctnet | fde46f4e97a293a4ecee5fd2ebd1b526b2003a7b | [
"MIT"
] | 50 | 2018-11-19T03:35:26.000Z | 2021-06-10T18:01:21.000Z | groups/rules.py | sylae/pctnet | fde46f4e97a293a4ecee5fd2ebd1b526b2003a7b | [
"MIT"
] | 4 | 2018-12-22T22:10:40.000Z | 2020-09-17T03:44:08.000Z | import rules
@rules.predicate
def can_edit_grouppage(user, group):
return user in group.admins.all()
rules.add_rule('can_edit_grouppage', can_edit_grouppage)
| 16.6 | 56 | 0.783133 | 25 | 166 | 4.92 | 0.6 | 0.170732 | 0.390244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120482 | 166 | 9 | 57 | 18.444444 | 0.842466 | 0 | 0 | 0 | 0 | 0 | 0.108434 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
a0937a86cc9be338f969fe520f3c6568c88edc97 | 12,262 | py | Python | tests/sender/send_lookup.py | angel-devo/python-sdk | 18e72bce07a3932093973f433d540d5c37cbd684 | [
"MIT"
] | null | null | null | tests/sender/send_lookup.py | angel-devo/python-sdk | 18e72bce07a3932093973f433d540d5c37cbd684 | [
"MIT"
] | null | null | null | tests/sender/send_lookup.py | angel-devo/python-sdk | 18e72bce07a3932093973f433d540d5c37cbd684 | [
"MIT"
] | null | null | null | import unittest
from ssl import CERT_NONE
from unittest import mock
from devo.sender import Sender, SenderConfigSSL, Lookup
from .load_certs import *
class TestLookup(unittest.TestCase):
def setUp(self):
self.server = os.getenv("DEVO_SENDER_SERVER", "127.0.0.1")
self.port = int(os.getenv("DEVO_SE... | 36.171091 | 114 | 0.569728 | 1,418 | 12,262 | 4.715092 | 0.11213 | 0.037392 | 0.025127 | 0.025127 | 0.771014 | 0.754861 | 0.740652 | 0.709243 | 0.708495 | 0.701765 | 0 | 0.019816 | 0.308596 | 12,262 | 338 | 115 | 36.278107 | 0.768813 | 0.026097 | 0 | 0.595745 | 0 | 0.007092 | 0.092852 | 0.018604 | 0 | 0 | 0 | 0 | 0.053191 | 1 | 0.056738 | false | 0 | 0.017731 | 0 | 0.078014 | 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 |
39fee5475d1ba8dd4165cb59811377a68405b96c | 874 | py | Python | ezotv/utils/luna_source.py | marcsello/ezotv-frontend | 405c440a567e8a0f1577f10d45385f3171398afe | [
"CC0-1.0"
] | null | null | null | ezotv/utils/luna_source.py | marcsello/ezotv-frontend | 405c440a567e8a0f1577f10d45385f3171398afe | [
"CC0-1.0"
] | 7 | 2020-01-23T00:50:39.000Z | 2020-04-18T20:34:40.000Z | ezotv/utils/luna_source.py | marcsello/ezotv-frontend | 405c440a567e8a0f1577f10d45385f3171398afe | [
"CC0-1.0"
] | null | null | null | #!/usr/bin/env python3
from cache_tools import CachedBaseHttpSession
# TODO: Schema checking
class LunaSource:
def __init__(self, api_url: str, api_key: str):
self._session = CachedBaseHttpSession("LUNA", api_url)
self._session.headers.update({
"Authorization": api_key
})
... | 22.410256 | 62 | 0.640732 | 105 | 874 | 5.038095 | 0.428571 | 0.079395 | 0.132325 | 0.160681 | 0.247637 | 0.20794 | 0 | 0 | 0 | 0 | 0 | 0.001527 | 0.250572 | 874 | 38 | 63 | 23 | 0.806107 | 0.049199 | 0 | 0.192308 | 0 | 0 | 0.077201 | 0 | 0 | 0 | 0 | 0.026316 | 0 | 1 | 0.269231 | false | 0 | 0.038462 | 0.192308 | 0.576923 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
2619da9e173692bb28d942c9b9d91d59ee58f847 | 10,181 | py | Python | Utils/Logistic.py | Golden-Slumber/AirFL-2nd | d362de22f41058cd793b4b2d6e94ef0c22ffc988 | [
"MIT"
] | 1 | 2022-03-31T02:56:33.000Z | 2022-03-31T02:56:33.000Z | Utils/Logistic.py | Golden-Slumber/AirFL-2nd | d362de22f41058cd793b4b2d6e94ef0c22ffc988 | [
"MIT"
] | null | null | null | Utils/Logistic.py | Golden-Slumber/AirFL-2nd | d362de22f41058cd793b4b2d6e94ef0c22ffc988 | [
"MIT"
] | null | null | null | """
This module is used to calculate the global optimal solution for the logistic regression loss function
"""
import numpy
from scipy import optimize
from Utils.conjugate_gradient_method import conjugate_solver
import sys
from tqdm import tqdm
# import numba
home_dir = '../'
sys.path.append(home_dir)
class Logisti... | 38.564394 | 102 | 0.54366 | 1,533 | 10,181 | 3.369863 | 0.093933 | 0.038715 | 0.039295 | 0.025165 | 0.774681 | 0.763453 | 0.740805 | 0.729772 | 0.715254 | 0.692606 | 0 | 0.019504 | 0.335232 | 10,181 | 263 | 103 | 38.711027 | 0.743794 | 0.054808 | 0 | 0.693467 | 0 | 0 | 0.042791 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.050251 | false | 0 | 0.025126 | 0 | 0.115578 | 0.060302 | 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 |
263dad54265c25f260e91028ab13d19124c2d3dd | 195 | py | Python | test_bot.py | AlexHLinS/EndeavourBot | 7b42789c5aa0084ab920837a02a8fb918ded3dea | [
"Apache-2.0"
] | 1 | 2021-09-23T08:36:34.000Z | 2021-09-23T08:36:34.000Z | test_bot.py | AlexHLinS/EndeavourBot | 7b42789c5aa0084ab920837a02a8fb918ded3dea | [
"Apache-2.0"
] | null | null | null | test_bot.py | AlexHLinS/EndeavourBot | 7b42789c5aa0084ab920837a02a8fb918ded3dea | [
"Apache-2.0"
] | null | null | null | from bot import botToken
import unittest
def test_bot():
assert str(botToken(token_file='test_bot.token').getToken(
)) == '1111111111:TeStTaPiToKeN', 'Loading token from file is wrong'
| 24.375 | 72 | 0.738462 | 26 | 195 | 5.423077 | 0.653846 | 0.099291 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060241 | 0.148718 | 195 | 7 | 73 | 27.857143 | 0.789157 | 0 | 0 | 0 | 0 | 0 | 0.358974 | 0.123077 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2687ab5977e2096daf830040e8b20502ebecf47f | 86 | py | Python | src/blog_vi/core/translations/providers/__init__.py | LikaloLLC/BlogVi | 49a51d7b4ce1686e0784b064914365ea63bb1e38 | [
"BSD-3-Clause"
] | null | null | null | src/blog_vi/core/translations/providers/__init__.py | LikaloLLC/BlogVi | 49a51d7b4ce1686e0784b064914365ea63bb1e38 | [
"BSD-3-Clause"
] | 2 | 2021-07-02T14:31:09.000Z | 2021-07-19T18:07:28.000Z | src/blog_vi/core/translations/providers/__init__.py | NikBelyaev/BlogVi | 9244e1815e34472017203afeaaecb30fa5981d43 | [
"BSD-3-Clause"
] | 2 | 2021-03-30T16:51:17.000Z | 2021-05-03T22:22:41.000Z | from .deepl import DeeplTranslateProvider
from .google import GoogleTranslateProvider
| 28.666667 | 43 | 0.883721 | 8 | 86 | 9.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 86 | 2 | 44 | 43 | 0.974359 | 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 |
cd02f4328cae3c134fc6e082641f16a4db4cdfb8 | 231 | py | Python | tests/matchers/test_match_any.py | emou/pdbuddy | 5708c44803e46d06aca02a0402ebaec0c5ae4634 | [
"MIT"
] | null | null | null | tests/matchers/test_match_any.py | emou/pdbuddy | 5708c44803e46d06aca02a0402ebaec0c5ae4634 | [
"MIT"
] | null | null | null | tests/matchers/test_match_any.py | emou/pdbuddy | 5708c44803e46d06aca02a0402ebaec0c5ae4634 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from pdbuddy.matchers.match_any import AnyMatcher
from pdbuddy.trace_context import TraceContext
def test_matches_any():
assert AnyMatcher()(TraceContext(object(), object(), object()))
| 25.666667 | 67 | 0.805195 | 28 | 231 | 6.321429 | 0.607143 | 0.124294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108225 | 231 | 8 | 68 | 28.875 | 0.859223 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | true | 0 | 0.6 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
cd365a584b6e7c79496310b1f0fbc840397e1733 | 71 | py | Python | Main.py | durgarao641/TulsiClientLinux | 7ce3d835841ccacc156e98376882c2c52b2c5f8c | [
"Apache-2.0"
] | null | null | null | Main.py | durgarao641/TulsiClientLinux | 7ce3d835841ccacc156e98376882c2c52b2c5f8c | [
"Apache-2.0"
] | null | null | null | Main.py | durgarao641/TulsiClientLinux | 7ce3d835841ccacc156e98376882c2c52b2c5f8c | [
"Apache-2.0"
] | null | null | null | import os
os.system("nohup python src/Tulsi.py >> nohup.out 2>&1 &")
| 17.75 | 59 | 0.661972 | 13 | 71 | 3.615385 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.15493 | 71 | 3 | 60 | 23.666667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.647887 | 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 |
cd5be0db1fa3273c99de563af1dd986b4ce17d5d | 20 | py | Python | hstore_flattenfields/forms/__init__.py | modohash/django-hstore-flattenfields | 09626a638b9ef85d28fa5bfef1b040f9926bb95b | [
"BSD-3-Clause"
] | 5 | 2015-09-18T16:35:56.000Z | 2020-12-24T11:46:17.000Z | hstore_flattenfields/forms/__init__.py | modohash/django-hstore-flattenfields | 09626a638b9ef85d28fa5bfef1b040f9926bb95b | [
"BSD-3-Clause"
] | 9 | 2020-02-11T22:01:06.000Z | 2021-06-10T17:46:04.000Z | hstore_flattenfields/forms/__init__.py | modohash/django-hstore-flattenfields | 09626a638b9ef85d28fa5bfef1b040f9926bb95b | [
"BSD-3-Clause"
] | 2 | 2015-10-20T10:21:30.000Z | 2016-03-23T09:54:54.000Z | from forms import *
| 10 | 19 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
cd664ecd8de549a5fd3d3d80d32c2101bdea9c17 | 189 | py | Python | views/events.py | Usamaiqbal789/Flask | b0a3c0be63fb88cfe020e116b37d73261c7bcab1 | [
"MIT"
] | null | null | null | views/events.py | Usamaiqbal789/Flask | b0a3c0be63fb88cfe020e116b37d73261c7bcab1 | [
"MIT"
] | null | null | null | views/events.py | Usamaiqbal789/Flask | b0a3c0be63fb88cfe020e116b37d73261c7bcab1 | [
"MIT"
] | 1 | 2021-10-14T19:14:09.000Z | 2021-10-14T19:14:09.000Z | from flask import Blueprint, render_template
events = Blueprint('events', __name__)
@events.route('/events', methods=['GET'])
def events_page():
return render_template("events.html") | 23.625 | 44 | 0.740741 | 23 | 189 | 5.782609 | 0.652174 | 0.210526 | 0.300752 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 189 | 8 | 45 | 23.625 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0.142105 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0.4 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
cd75c6fc123823d3d4ae9b06568c1922615dd9b9 | 96 | py | Python | app/models/__init__.py | cyber-chuvash/todolist-API | 44a1accdc0e19207283b724a645e87c22c0db882 | [
"MIT"
] | null | null | null | app/models/__init__.py | cyber-chuvash/todolist-API | 44a1accdc0e19207283b724a645e87c22c0db882 | [
"MIT"
] | null | null | null | app/models/__init__.py | cyber-chuvash/todolist-API | 44a1accdc0e19207283b724a645e87c22c0db882 | [
"MIT"
] | null | null | null | from .base import Base
from .user import User
from .todolist import List
from .card import Card
| 19.2 | 26 | 0.791667 | 16 | 96 | 4.75 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 96 | 4 | 27 | 24 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
cd87f26b19d8b9e330da62c15f4ea0636bcf46b1 | 1,483 | py | Python | Core/core/views.py | Gelatito/4Fun-Games | c40bc2f0d9007a2fda0ed9ca5ea5f80adf7100cc | [
"MIT"
] | 1 | 2021-09-30T00:44:31.000Z | 2021-09-30T00:44:31.000Z | Core/core/views.py | Gelatito/4Fun-Games | c40bc2f0d9007a2fda0ed9ca5ea5f80adf7100cc | [
"MIT"
] | null | null | null | Core/core/views.py | Gelatito/4Fun-Games | c40bc2f0d9007a2fda0ed9ca5ea5f80adf7100cc | [
"MIT"
] | null | null | null | from django.contrib.auth.decorators import login_required
from django.shortcuts import render
from django.shortcuts import render
from .models import Pag1juegos,Aventura,Lucha,Rol,MundoAbierto
from django.http import HttpResponse
# Create your views here.
def home(request):
Juegos = Pag1juegos.objects.all()
d... | 19.513158 | 63 | 0.651382 | 162 | 1,483 | 5.95679 | 0.296296 | 0.149223 | 0.236269 | 0.188601 | 0.248705 | 0.068394 | 0 | 0 | 0 | 0 | 0 | 0.001779 | 0.242077 | 1,483 | 75 | 64 | 19.773333 | 0.856762 | 0.015509 | 0 | 0.285714 | 0 | 0 | 0.082361 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.244898 | false | 0 | 0.102041 | 0.142857 | 0.591837 | 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 |
cd9412792c27c2923536d166280b326a7d0e2e78 | 114 | py | Python | WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/mini-scripts/python_Multinomial_Distribution.txt.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | 5 | 2021-06-02T23:44:25.000Z | 2021-12-27T16:21:57.000Z | WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/mini-scripts/python_Multinomial_Distribution.txt.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | 22 | 2021-05-31T01:33:25.000Z | 2021-10-18T18:32:39.000Z | WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/mini-scripts/python_Multinomial_Distribution.txt.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | 3 | 2021-06-19T03:37:47.000Z | 2021-08-31T00:49:51.000Z | from numpy import random
x = random.multinomial(n=6, pvals=[1 / 6, 1 / 6, 1 / 6, 1 / 6, 1 / 6, 1 / 6])
print(x)
| 19 | 77 | 0.561404 | 24 | 114 | 2.666667 | 0.458333 | 0.1875 | 0.234375 | 0.3125 | 0.1875 | 0.1875 | 0.1875 | 0.1875 | 0.1875 | 0.1875 | 0 | 0.151163 | 0.245614 | 114 | 5 | 78 | 22.8 | 0.593023 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
26ed3e1675a119db13ed696fded3e86bd70a8662 | 109 | py | Python | model/__init__.py | KazukiChiyo/localization | 55df875d72519d6111e3dd37c7f19ef8cbf7bb9c | [
"MIT"
] | null | null | null | model/__init__.py | KazukiChiyo/localization | 55df875d72519d6111e3dd37c7f19ef8cbf7bb9c | [
"MIT"
] | null | null | null | model/__init__.py | KazukiChiyo/localization | 55df875d72519d6111e3dd37c7f19ef8cbf7bb9c | [
"MIT"
] | null | null | null | from .base import Anchor, Localizer, BaggingRegressor
__all__ = ['Anchor', 'Localizer', 'BaggingRegressor']
| 27.25 | 53 | 0.761468 | 10 | 109 | 7.9 | 0.7 | 0.379747 | 0.78481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110092 | 109 | 3 | 54 | 36.333333 | 0.814433 | 0 | 0 | 0 | 0 | 0 | 0.284404 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
f81711303a76cdfe3561b2df1f04d3bfac24317c | 190 | py | Python | brainspace/vtk_interface/__init__.py | josemariamoreira/BrainSpace | d7e8e65c6463a81146e7fcfcca902feef04d329d | [
"BSD-3-Clause"
] | null | null | null | brainspace/vtk_interface/__init__.py | josemariamoreira/BrainSpace | d7e8e65c6463a81146e7fcfcca902feef04d329d | [
"BSD-3-Clause"
] | null | null | null | brainspace/vtk_interface/__init__.py | josemariamoreira/BrainSpace | d7e8e65c6463a81146e7fcfcca902feef04d329d | [
"BSD-3-Clause"
] | null | null | null | from .wrappers import wrap_vtk
from .pipeline import serial_connect, to_data, get_output
__all__ = ['serial_connect',
'to_data',
'get_output',
'wrap_vtk']
| 21.111111 | 57 | 0.636842 | 23 | 190 | 4.73913 | 0.565217 | 0.12844 | 0.275229 | 0.348624 | 0.513761 | 0.513761 | 0 | 0 | 0 | 0 | 0 | 0 | 0.268421 | 190 | 8 | 58 | 23.75 | 0.784173 | 0 | 0 | 0 | 0 | 0 | 0.205263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
f87afdbfc94714407b46cdc0d73a41ba2ab3aa68 | 188 | py | Python | tgdm/__init__.py | fankib/TGDM | baaacb4a2f267fbb8dedff2e001ebdb84366ca6f | [
"MIT"
] | null | null | null | tgdm/__init__.py | fankib/TGDM | baaacb4a2f267fbb8dedff2e001ebdb84366ca6f | [
"MIT"
] | null | null | null | tgdm/__init__.py | fankib/TGDM | baaacb4a2f267fbb8dedff2e001ebdb84366ca6f | [
"MIT"
] | null | null | null |
#from .tgdm_base import TGDMBase
from .tgdm import TGDM
from .tgdm_hd import TGDM_HD, TGDM_HDC
from .tgdm_t1t2 import TGDM_T1T2
from .pytorch_sgd import PYTORCH_SGD_STEP, PYTORCH_SGD_DEC
| 26.857143 | 58 | 0.835106 | 33 | 188 | 4.424242 | 0.363636 | 0.219178 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024242 | 0.12234 | 188 | 6 | 59 | 31.333333 | 0.860606 | 0.164894 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 |
f892dbbd3882dc44e0867b89d5f99f50ba743ee0 | 157 | py | Python | flowjs/signals.py | nelsonmonteiro/django-flowjs | 7f2c88df12a9e8f19bb7a3fa21a628d07849d61e | [
"MIT"
] | 16 | 2015-01-02T16:41:17.000Z | 2022-03-09T00:15:56.000Z | flowjs/signals.py | nelsonmonteiro/django-flowjs | 7f2c88df12a9e8f19bb7a3fa21a628d07849d61e | [
"MIT"
] | 2 | 2015-10-03T18:00:20.000Z | 2016-08-02T07:07:21.000Z | flowjs/signals.py | nelsonmonteiro/django-flowjs | 7f2c88df12a9e8f19bb7a3fa21a628d07849d61e | [
"MIT"
] | 18 | 2015-01-07T14:46:19.000Z | 2018-07-22T22:56:05.000Z | import django.dispatch
file_is_ready = django.dispatch.Signal()
file_upload_failed = django.dispatch.Signal()
file_joining_failed = django.dispatch.Signal() | 31.4 | 46 | 0.828025 | 21 | 157 | 5.904762 | 0.47619 | 0.451613 | 0.483871 | 0.387097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070064 | 157 | 5 | 46 | 31.4 | 0.849315 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f8cde8faf8a82c62bf47ddf2faf44f2099f5a8a3 | 109 | py | Python | python/testData/optimizeImports/commentsInsideParenthesesInCombinedFromImports.after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/optimizeImports/commentsInsideParenthesesInCombinedFromImports.after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/optimizeImports/commentsInsideParenthesesInCombinedFromImports.after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | from datetime import timedelta as name, time as bbb, datetime as ccc # bcc; cbc; abc
print(name, bbb, ccc)
| 27.25 | 85 | 0.724771 | 19 | 109 | 4.157895 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192661 | 109 | 3 | 86 | 36.333333 | 0.897727 | 0.119266 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
3e4d1a17dd83dc05c813e4182435d4b40d426f77 | 324 | py | Python | psi/token/api.py | NCRAR/psiexperiment | c3f8580b2b155ce42ebb936019d862c4343b545c | [
"MIT"
] | 5 | 2016-05-26T13:46:00.000Z | 2020-03-03T13:07:47.000Z | psi/token/api.py | NCRAR/psiexperiment | c3f8580b2b155ce42ebb936019d862c4343b545c | [
"MIT"
] | 2 | 2018-04-17T15:06:35.000Z | 2019-03-25T18:13:10.000Z | psi/token/api.py | NCRAR/psiexperiment | c3f8580b2b155ce42ebb936019d862c4343b545c | [
"MIT"
] | 3 | 2020-04-17T15:03:36.000Z | 2022-01-14T23:19:29.000Z | import enaml
with enaml.imports():
from .primitives import (
BandlimitedNoise, BandlimitedNoiseFactory, Chirp, ChirpFactory,
Cos2Envelope, Cos2EnvelopeFactory, Gate, GateFactory, SAMEnvelope,
SAMEnvelopeFactory, Silence, SilenceFactory, SquareWave,
SquareWaveFactory, Tone, ToneFacto... | 36 | 74 | 0.743827 | 24 | 324 | 10.041667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007605 | 0.188272 | 324 | 8 | 75 | 40.5 | 0.908745 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.428571 | 0 | 0.428571 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
3e74b801a73e5c8b6d26c87462fd3f312ccd0886 | 222 | py | Python | tests/calculations/test_geochem.py | drew026/geo_calcs | e2d5aba7e5c7fe6cef81adb45978d3fea874868e | [
"MIT"
] | 1 | 2021-11-26T04:32:09.000Z | 2021-11-26T04:32:09.000Z | tests/calculations/test_geochem.py | drew026/geo_calcs | e2d5aba7e5c7fe6cef81adb45978d3fea874868e | [
"MIT"
] | null | null | null | tests/calculations/test_geochem.py | drew026/geo_calcs | e2d5aba7e5c7fe6cef81adb45978d3fea874868e | [
"MIT"
] | null | null | null | #!/usr/bin/env python
"""Tests for `geochem` subpackage."""
import pytest
from geo_calcs.calculations.geochem import *
def test_get_atomic_weight():
assert get_atomic_weight(["Si","O","O"]) == 60.0843
| 22.2 | 57 | 0.666667 | 30 | 222 | 4.733333 | 0.8 | 0.126761 | 0.211268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032787 | 0.175676 | 222 | 10 | 58 | 22.2 | 0.743169 | 0.234234 | 0 | 0 | 0 | 0 | 0.025641 | 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 |
3e7c306972b2c6543cfa0f287d553ff77e5b6677 | 18 | py | Python | GoodBye.py | Silvio622/pands-problems-2020 | 7a9c93b513c881eaf80f20ed4e6e7d2969883596 | [
"MIT"
] | null | null | null | GoodBye.py | Silvio622/pands-problems-2020 | 7a9c93b513c881eaf80f20ed4e6e7d2969883596 | [
"MIT"
] | null | null | null | GoodBye.py | Silvio622/pands-problems-2020 | 7a9c93b513c881eaf80f20ed4e6e7d2969883596 | [
"MIT"
] | null | null | null | print("Good Bye")
| 9 | 17 | 0.666667 | 3 | 18 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 18 | 1 | 18 | 18 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 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 |
3e92827fb0a41de11c30fed6a9450ccfd0de8690 | 62 | py | Python | core/src/Peer/__init__.py | mkg20001/Fuzium | d424cd42a92272563fcba2290028c036cb7ce4a1 | [
"MIT"
] | null | null | null | core/src/Peer/__init__.py | mkg20001/Fuzium | d424cd42a92272563fcba2290028c036cb7ce4a1 | [
"MIT"
] | null | null | null | core/src/Peer/__init__.py | mkg20001/Fuzium | d424cd42a92272563fcba2290028c036cb7ce4a1 | [
"MIT"
] | null | null | null | from Peer import Peer
from PeerHashfield import PeerHashfield
| 20.666667 | 39 | 0.870968 | 8 | 62 | 6.75 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 62 | 2 | 40 | 31 | 1 | 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 |
e4a29add88a990b168f41a3863aa1becf96aed36 | 205 | py | Python | lightnet/__init__.py | rversaw/lightnet | a98865abc83dbb9965b75ce0c5dedc69ca86cf1d | [
"MIT"
] | 345 | 2017-11-22T03:43:42.000Z | 2021-05-18T16:07:12.000Z | lightnet/__init__.py | sachadee/lightnet | e7283d95367ed2288a26f2744ad015f6dc0f17bd | [
"MIT"
] | 14 | 2017-11-23T10:50:36.000Z | 2018-09-24T09:50:00.000Z | lightnet/__init__.py | sachadee/lightnet | e7283d95367ed2288a26f2744ad015f6dc0f17bd | [
"MIT"
] | 51 | 2017-11-22T08:29:21.000Z | 2022-01-29T22:42:55.000Z | # coding: utf8
from __future__ import unicode_literals
from .lightnet import Network, Image, BoxLabels
from .about import __version__
def load(name, path=None):
return Network.load(name, path=path)
| 20.5 | 47 | 0.77561 | 28 | 205 | 5.357143 | 0.678571 | 0.106667 | 0.16 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005714 | 0.146341 | 205 | 9 | 48 | 22.777778 | 0.851429 | 0.058537 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.6 | 0.2 | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
e4ca1d3ef93b9f360a62d90b989edf6e704baefd | 53 | py | Python | examples/get-started/job2.py | hongkunyoo/jupyterflow | b4391529cf7c27adb97a272403c322e75adbffae | [
"BSD-3-Clause"
] | 66 | 2020-11-12T12:41:58.000Z | 2022-03-21T15:46:56.000Z | examples/get-started/job2.py | hongkunyoo/jupyterflow | b4391529cf7c27adb97a272403c322e75adbffae | [
"BSD-3-Clause"
] | 4 | 2021-03-08T11:44:46.000Z | 2022-03-29T13:24:26.000Z | examples/get-started/job2.py | hongkunyoo/jupyterflow | b4391529cf7c27adb97a272403c322e75adbffae | [
"BSD-3-Clause"
] | 9 | 2021-03-03T10:43:15.000Z | 2022-03-31T01:13:16.000Z | # job2.py
import sys
print('world %s!' % sys.argv[1]) | 17.666667 | 32 | 0.641509 | 10 | 53 | 3.4 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.132075 | 53 | 3 | 32 | 17.666667 | 0.695652 | 0.132075 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
e4e4825fad09202de9fb4dd27c183168d78b45cf | 88 | py | Python | miso/modules/seq2seq_encoders/__init__.py | pitrack/arglinking | 5f4677efe580e2d22915d66be26ceff331a3b2c2 | [
"Apache-2.0"
] | 21 | 2020-07-09T14:01:26.000Z | 2022-02-04T20:49:23.000Z | miso/modules/seq2seq_encoders/__init__.py | pitrack/arglinking | 5f4677efe580e2d22915d66be26ceff331a3b2c2 | [
"Apache-2.0"
] | 5 | 2020-07-30T15:08:01.000Z | 2022-03-02T20:06:40.000Z | miso/modules/seq2seq_encoders/__init__.py | pitrack/arglinking | 5f4677efe580e2d22915d66be26ceff331a3b2c2 | [
"Apache-2.0"
] | 4 | 2020-08-14T13:49:45.000Z | 2021-07-28T01:37:44.000Z | from miso.modules.seq2seq_encoders.pytorch_seq2seq_wrapper import PytorchSeq2SeqWrapper
| 44 | 87 | 0.920455 | 10 | 88 | 7.8 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.045455 | 88 | 1 | 88 | 88 | 0.892857 | 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 |
90144e69db5b3f5e0c3e28d447852c18d0d98f6a | 71 | py | Python | zarya/manifolds/__init__.py | kefirski/zarya | db1f84cef1c4ffa28aa7adb5dea6cf9f2ebf2f84 | [
"MIT"
] | null | null | null | zarya/manifolds/__init__.py | kefirski/zarya | db1f84cef1c4ffa28aa7adb5dea6cf9f2ebf2f84 | [
"MIT"
] | null | null | null | zarya/manifolds/__init__.py | kefirski/zarya | db1f84cef1c4ffa28aa7adb5dea6cf9f2ebf2f84 | [
"MIT"
] | null | null | null | from .manifold import Manifold
from .poincare_ball import PoincareBall
| 23.666667 | 39 | 0.859155 | 9 | 71 | 6.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112676 | 71 | 2 | 40 | 35.5 | 0.952381 | 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 |
902d6ddb82220c418b31b613afe5a1ef5dd47065 | 790 | py | Python | cowin_project/controllers/controllers.py | shangdinvxu/cowinaddons | 4e9d69894cd80e5427ccc9bac6c37b8bd67cadd0 | [
"MIT"
] | null | null | null | cowin_project/controllers/controllers.py | shangdinvxu/cowinaddons | 4e9d69894cd80e5427ccc9bac6c37b8bd67cadd0 | [
"MIT"
] | null | null | null | cowin_project/controllers/controllers.py | shangdinvxu/cowinaddons | 4e9d69894cd80e5427ccc9bac6c37b8bd67cadd0 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# from odoo import http
# class CowinProject(http.Controller):
# @http.route('/cowin_project/cowin_project/', auth='public')
# def index(self, **kw):
# return "Hello, world"
# @http.route('/cowin_project/cowin_project/objects/', auth='public')
# def list(self, **kw):
... | 39.5 | 116 | 0.607595 | 89 | 790 | 5.235955 | 0.370787 | 0.360515 | 0.218884 | 0.309013 | 0.467811 | 0.401288 | 0.330472 | 0 | 0 | 0 | 0 | 0.001592 | 0.205063 | 790 | 20 | 117 | 39.5 | 0.740446 | 0.897468 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
903033eefd0a3eb9d1acb75cce84f1cba870cef0 | 72 | py | Python | landlab/components/fracture_grid/__init__.py | cctrunz/landlab | 4e4ef12f4bae82bc5194f1dcc9af8ff1a7c20939 | [
"MIT"
] | null | null | null | landlab/components/fracture_grid/__init__.py | cctrunz/landlab | 4e4ef12f4bae82bc5194f1dcc9af8ff1a7c20939 | [
"MIT"
] | 1 | 2016-03-16T02:34:08.000Z | 2016-04-20T19:31:30.000Z | landlab/components/fracture_grid/__init__.py | cctrunz/landlab | 4e4ef12f4bae82bc5194f1dcc9af8ff1a7c20939 | [
"MIT"
] | null | null | null | from .fracture_grid import make_frac_grid
__all__ = ["make_frac_grid"]
| 18 | 41 | 0.805556 | 11 | 72 | 4.454545 | 0.636364 | 0.326531 | 0.489796 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 72 | 3 | 42 | 24 | 0.765625 | 0 | 0 | 0 | 0 | 0 | 0.194444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
903999c3121dd1b6662b42efde7b3bef500fa90a | 305 | py | Python | tests/common/test_generate_training_data.py | chanind/hanzi-font-deconstructor | ce41b2a5c0e66b8a83d6c734678446d1d32a18b7 | [
"MIT"
] | null | null | null | tests/common/test_generate_training_data.py | chanind/hanzi-font-deconstructor | ce41b2a5c0e66b8a83d6c734678446d1d32a18b7 | [
"MIT"
] | null | null | null | tests/common/test_generate_training_data.py | chanind/hanzi-font-deconstructor | ce41b2a5c0e66b8a83d6c734678446d1d32a18b7 | [
"MIT"
] | null | null | null | from hanzi_font_deconstructor.common.generate_training_data import (
get_training_input_and_mask_tensors,
)
def test_get_training_input_and_mask_tensors():
input, mask = get_training_input_and_mask_tensors(size_px=256)
assert input.shape == (1, 256, 256)
assert mask.shape == (256, 256)
| 30.5 | 68 | 0.780328 | 45 | 305 | 4.822222 | 0.488889 | 0.152074 | 0.221198 | 0.262673 | 0.414747 | 0.414747 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 0.134426 | 305 | 9 | 69 | 33.888889 | 0.761364 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.142857 | true | 0 | 0.142857 | 0 | 0.285714 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5fb7759dde94197c98d174bfe895d8c03a5a3321 | 38 | py | Python | Testes/teste13.py | JefferMarcelino/Python | bf2ebf4f110b1fa1a6226cb98cd16ce18108eb03 | [
"MIT"
] | 2 | 2021-01-27T19:30:02.000Z | 2022-01-10T20:34:47.000Z | Testes/teste13.py | JefferMarcelino/Python | bf2ebf4f110b1fa1a6226cb98cd16ce18108eb03 | [
"MIT"
] | null | null | null | Testes/teste13.py | JefferMarcelino/Python | bf2ebf4f110b1fa1a6226cb98cd16ce18108eb03 | [
"MIT"
] | null | null | null | import os
os.startfile("teste08.py")
| 9.5 | 26 | 0.736842 | 6 | 38 | 4.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.105263 | 38 | 3 | 27 | 12.666667 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0.263158 | 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 |
5fc65bf6e1519b4ac9b196a58594c5549b582a63 | 95 | py | Python | Types/Enums/Segmentation_Mode.py | SBCV/PythonUtility | 0062e1e60dc151776b963d13bc4c1763eb90d333 | [
"MIT"
] | 2 | 2019-02-20T14:56:13.000Z | 2020-05-19T12:31:53.000Z | Types/Enums/Segmentation_Mode.py | SBCV/PythonUtility | 0062e1e60dc151776b963d13bc4c1763eb90d333 | [
"MIT"
] | null | null | null | Types/Enums/Segmentation_Mode.py | SBCV/PythonUtility | 0062e1e60dc151776b963d13bc4c1763eb90d333 | [
"MIT"
] | 1 | 2021-01-07T08:32:07.000Z | 2021-01-07T08:32:07.000Z | class SegmentationMode:
category_mode = 'CATEGORY_MODE'
instance_mode = 'INSTANCE_MODE' | 31.666667 | 35 | 0.768421 | 10 | 95 | 6.9 | 0.5 | 0.347826 | 0.463768 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 95 | 3 | 36 | 31.666667 | 0.8625 | 0 | 0 | 0 | 0 | 0 | 0.270833 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
39bf4515845c4283f4dbf37ca9019348c332d65c | 112 | py | Python | wsgi.py | ml-workgroup/image-segmentation-study-manager | 1f5b0bcf707ebbcc9d22cbd18761f1f7521f09ae | [
"BSD-2-Clause"
] | null | null | null | wsgi.py | ml-workgroup/image-segmentation-study-manager | 1f5b0bcf707ebbcc9d22cbd18761f1f7521f09ae | [
"BSD-2-Clause"
] | 11 | 2020-02-14T14:02:34.000Z | 2020-02-24T09:29:41.000Z | wsgi.py | ml-workgroup/image-segmentation-study-manager | 1f5b0bcf707ebbcc9d22cbd18761f1f7521f09ae | [
"BSD-2-Clause"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from app import create_app
application = create_app()
| 14 | 26 | 0.6875 | 17 | 112 | 4.411765 | 0.764706 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010638 | 0.160714 | 112 | 7 | 27 | 16 | 0.787234 | 0.375 | 0 | 0 | 0 | 0 | 0 | 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 |
39bfc7218cf71f619dcc4c6487dc7eecb9091b03 | 25 | py | Python | gpio.py | icasper/rpi4iotest | 98ec033807bfda0fab952bc17005144b0e771e47 | [
"MIT"
] | null | null | null | gpio.py | icasper/rpi4iotest | 98ec033807bfda0fab952bc17005144b0e771e47 | [
"MIT"
] | null | null | null | gpio.py | icasper/rpi4iotest | 98ec033807bfda0fab952bc17005144b0e771e47 | [
"MIT"
] | null | null | null | from gpiozero import LED
| 12.5 | 24 | 0.84 | 4 | 25 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 1 | 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 |
39ce94d1fd7f068dea0f364bada7e934d4273751 | 1,574 | py | Python | app.py | rmudingay/backup | 26a19644b9f09268f2b2c1b1df2e17d2d8e43f83 | [
"BSD-2-Clause"
] | 1 | 2019-07-04T03:50:22.000Z | 2019-07-04T03:50:22.000Z | app.py | rmudingay/backup | 26a19644b9f09268f2b2c1b1df2e17d2d8e43f83 | [
"BSD-2-Clause"
] | null | null | null | app.py | rmudingay/backup | 26a19644b9f09268f2b2c1b1df2e17d2d8e43f83 | [
"BSD-2-Clause"
] | null | null | null | from flask import Flask, request, render_template, session, url_for
#from flask_simpleldap import LDAP
app = Flask(__name__)
@app.route('/')
def index():
login = request.form.get('username')
return render_template('home.html', login=login)
@app.route('/login')
def login():
return render_template('login.h... | 22.485714 | 67 | 0.700762 | 203 | 1,574 | 5.256158 | 0.26601 | 0.209934 | 0.281162 | 0.140581 | 0.286785 | 0.088097 | 0.088097 | 0.088097 | 0 | 0 | 0 | 0 | 0.124524 | 1,574 | 69 | 68 | 22.811594 | 0.774311 | 0.020966 | 0 | 0.039216 | 0 | 0 | 0.237662 | 0.042208 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0 | 0.019608 | 0.254902 | 0.607843 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
8425d50da1c3a7f0dd5a8e7d48ca58a54d31cc3d | 119 | py | Python | torchpack/__init__.py | hellock/torchpack | 8d7363ff683c8aec5af57e5d53518a22c7e0a807 | [
"MIT"
] | 25 | 2017-12-16T09:53:14.000Z | 2021-11-26T14:19:38.000Z | torchpack/__init__.py | nd1511/torchpack | 8d7363ff683c8aec5af57e5d53518a22c7e0a807 | [
"MIT"
] | null | null | null | torchpack/__init__.py | nd1511/torchpack | 8d7363ff683c8aec5af57e5d53518a22c7e0a807 | [
"MIT"
] | 9 | 2018-01-17T14:08:05.000Z | 2021-08-31T14:48:25.000Z | from .config import *
from .io import *
from .parallel import *
from .runner import *
from .version import __version__
| 19.833333 | 32 | 0.756303 | 16 | 119 | 5.375 | 0.4375 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168067 | 119 | 5 | 33 | 23.8 | 0.868687 | 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 |
ffbe4ec906f51d9589691a3999a5031f11a5769b | 23,843 | py | Python | classes/SymEntry.py | nanohedra/nanohedra | 3921b7f5ce10e0e3393c3b675bb97ccbecb96663 | [
"MIT"
] | 2 | 2020-12-07T00:38:32.000Z | 2021-05-13T19:36:17.000Z | classes/SymEntry.py | nanohedra/nanohedra | 3921b7f5ce10e0e3393c3b675bb97ccbecb96663 | [
"MIT"
] | null | null | null | classes/SymEntry.py | nanohedra/nanohedra | 3921b7f5ce10e0e3393c3b675bb97ccbecb96663 | [
"MIT"
] | 1 | 2021-05-13T19:36:18.000Z | 2021-05-13T19:36:18.000Z | # Copyright 2020 Joshua Laniado and Todd O. Yeates.
__author__ = "Joshua Laniado and Todd O. Yeates"
__copyright__ = "Copyright 2020, Nanohedra"
__version__ = "1.0"
# SYMMETRY COMBINATION MATERIAL TABLE (T.O.Y and J.L, 2020)
sym_comb_dict = {
1: [1, 'C2', 1, ['r:<0,0,1,a>', 't:<0,0,b>'], 2, '<0,0,0>', 'C2', 1, ['r... | 78.17377 | 176 | 0.388332 | 5,306 | 23,843 | 1.710516 | 0.054467 | 0.1342 | 0.061481 | 0.051565 | 0.777545 | 0.740084 | 0.68918 | 0.6645 | 0.632878 | 0.62186 | 0 | 0.251465 | 0.205763 | 23,843 | 304 | 177 | 78.430921 | 0.227808 | 0.009353 | 0 | 0.148289 | 0 | 0.003802 | 0.373682 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.087452 | false | 0 | 0 | 0.038023 | 0.220532 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fff328b31f46b00d87163c77e3f3150360ab5bb0 | 142 | py | Python | py_tdlib/constructors/update_chat_pinned_message.py | Mr-TelegramBot/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 24 | 2018-10-05T13:04:30.000Z | 2020-05-12T08:45:34.000Z | py_tdlib/constructors/update_chat_pinned_message.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 3 | 2019-06-26T07:20:20.000Z | 2021-05-24T13:06:56.000Z | py_tdlib/constructors/update_chat_pinned_message.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 5 | 2018-10-05T14:29:28.000Z | 2020-08-11T15:04:10.000Z | from ..factory import Type
class updateChatPinnedMessage(Type):
chat_id = None # type: "int53"
pinned_message_id = None # type: "int53"
| 20.285714 | 42 | 0.725352 | 18 | 142 | 5.555556 | 0.666667 | 0.12 | 0.2 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033898 | 0.169014 | 142 | 6 | 43 | 23.666667 | 0.813559 | 0.190141 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
0830e7099955619ddc8169352e7452c17fbcbcc2 | 905 | py | Python | src/func/_getfeatures.py | megemini/DataCastle2017 | 261134f760d8c1bbfc3e65e1362b7710e601947d | [
"MIT"
] | null | null | null | src/func/_getfeatures.py | megemini/DataCastle2017 | 261134f760d8c1bbfc3e65e1362b7710e601947d | [
"MIT"
] | null | null | null | src/func/_getfeatures.py | megemini/DataCastle2017 | 261134f760d8c1bbfc3e65e1362b7710e601947d | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Generate features from pandas dataframe, with columns statistics.
-------------------
Return dataframe, columns=[by, col]
"""
def get_count(df, by):
return df.groupby(by=by).count().iloc[:,0]
def get_sum(df, col, by):
return df.groupby(by=by).sum()[col]
def get_mean(df, col, ... | 21.547619 | 108 | 0.656354 | 152 | 905 | 3.789474 | 0.223684 | 0.083333 | 0.09375 | 0.177083 | 0.612847 | 0.612847 | 0.576389 | 0.576389 | 0.350694 | 0.350694 | 0 | 0.002587 | 0.145856 | 905 | 41 | 109 | 22.073171 | 0.742561 | 0.160221 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
08456e61183832940d20cc1f61e5f588b25adc65 | 196 | py | Python | deep_table/nn/models/__init__.py | pfnet-research/deep-table | a19c0c3048484017d5f24806604c3b3470bcf550 | [
"MIT"
] | 48 | 2021-09-30T08:14:26.000Z | 2022-03-02T12:20:08.000Z | deep_table/nn/models/__init__.py | pfnet-research/deep-table | a19c0c3048484017d5f24806604c3b3470bcf550 | [
"MIT"
] | 1 | 2021-11-08T11:41:49.000Z | 2021-11-08T11:41:49.000Z | deep_table/nn/models/__init__.py | pfnet-research/deep-table | a19c0c3048484017d5f24806604c3b3470bcf550 | [
"MIT"
] | 2 | 2021-12-31T03:43:48.000Z | 2022-03-11T09:04:21.000Z | from .base import BaseModel
from .head import MLPHeadModel
from .pretraining import (
DenoisingPretrainModel,
SAINTPretrainModel,
TabTransformerPretrainModel,
VIMEPretrainModel,
)
| 21.777778 | 32 | 0.785714 | 15 | 196 | 10.266667 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168367 | 196 | 8 | 33 | 24.5 | 0.944785 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.375 | 0 | 0.375 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
0858819ffb549ecdcb828627e28763561569b564 | 232 | py | Python | autograd/numpy/__init__.py | gautam1858/autograd | 8d7acaf79e33139b4ebfedf7da0602a965b47c63 | [
"MIT"
] | 6,119 | 2015-03-10T03:55:58.000Z | 2022-03-31T11:54:19.000Z | autograd/numpy/__init__.py | EnjoyLifeFund/Debian_py36_packages | 1985d4c73fabd5f08f54b922e73a9306e09c77a5 | [
"BSD-3-Clause",
"BSD-2-Clause",
"MIT"
] | 523 | 2015-03-10T11:59:23.000Z | 2022-03-05T15:31:59.000Z | autograd/numpy/__init__.py | EnjoyLifeFund/Debian_py36_packages | 1985d4c73fabd5f08f54b922e73a9306e09c77a5 | [
"BSD-3-Clause",
"BSD-2-Clause",
"MIT"
] | 949 | 2015-03-11T20:04:20.000Z | 2022-03-31T12:13:11.000Z | from __future__ import absolute_import
from .numpy_wrapper import *
from . import numpy_boxes
from . import numpy_vspaces
from . import numpy_vjps
from . import numpy_jvps
from . import linalg
from . import fft
from . import random
| 23.2 | 38 | 0.806034 | 34 | 232 | 5.205882 | 0.382353 | 0.39548 | 0.338983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155172 | 232 | 9 | 39 | 25.777778 | 0.903061 | 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 | 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 |
085bb244fe65d92e28f64b6d3019c139b3443f2c | 75 | py | Python | src/dice_lib/fs/_davix.py | uobdic/dice-lib | 8b9c1c90542270aec96a00b2c605b63fd60eaa0f | [
"BSD-3-Clause"
] | null | null | null | src/dice_lib/fs/_davix.py | uobdic/dice-lib | 8b9c1c90542270aec96a00b2c605b63fd60eaa0f | [
"BSD-3-Clause"
] | 1 | 2022-03-25T13:47:46.000Z | 2022-03-25T13:47:46.000Z | src/dice_lib/fs/_davix.py | uobdic/dice-lib | 8b9c1c90542270aec96a00b2c605b63fd60eaa0f | [
"BSD-3-Clause"
] | null | null | null | from ._base import FileSystem
class DavixFileSystem(FileSystem):
...
| 12.5 | 34 | 0.733333 | 7 | 75 | 7.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173333 | 75 | 5 | 35 | 15 | 0.870968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f2540c2045ee715942af354dc3b696809ae92561 | 286 | py | Python | sources/t03/t03ej23.py | workready/pythonbasic | 59bd82caf99244f5e711124e1f6f4dec8de22141 | [
"MIT"
] | null | null | null | sources/t03/t03ej23.py | workready/pythonbasic | 59bd82caf99244f5e711124e1f6f4dec8de22141 | [
"MIT"
] | null | null | null | sources/t03/t03ej23.py | workready/pythonbasic | 59bd82caf99244f5e711124e1f6f4dec8de22141 | [
"MIT"
] | null | null | null | x,y = 8, 4
if x > y:
print("x es mayor que y")
print("x es el doble de y")
if x > y:
print("x es mayor que y")
else:
print("x es menor o igual que y")
if x < y:
print("x es menor que y")
elif x == y:
print("x es igual a y")
else:
print("x es mayor que y") | 16.823529 | 37 | 0.538462 | 63 | 286 | 2.444444 | 0.285714 | 0.272727 | 0.363636 | 0.292208 | 0.649351 | 0.474026 | 0.363636 | 0.272727 | 0.272727 | 0 | 0 | 0.010204 | 0.314685 | 286 | 17 | 38 | 16.823529 | 0.77551 | 0 | 0 | 0.5 | 0 | 0 | 0.418118 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
f257005bcac2e1253c3b4bd06999f06535f2ed11 | 12 | py | Python | src/pythonnamespace/namespacepackage/project1/parent/child/one.py | sudeep0901/python | 7a50af12e72d21ca4cad7f2afa4c6f929552043f | [
"MIT"
] | null | null | null | src/pythonnamespace/namespacepackage/project1/parent/child/one.py | sudeep0901/python | 7a50af12e72d21ca4cad7f2afa4c6f929552043f | [
"MIT"
] | 3 | 2019-12-26T05:13:55.000Z | 2020-03-07T06:59:56.000Z | src/pythonnamespace/namespacepackage/project1/parent/child/one.py | sudeep0901/python | 7a50af12e72d21ca4cad7f2afa4c6f929552043f | [
"MIT"
] | null | null | null | print("One") | 12 | 12 | 0.666667 | 2 | 12 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 | 1 | 12 | 12 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 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 |
f265749efffffd88e6173a2b1ae94fc1a246433f | 118 | py | Python | setup.py | GreaterGoodest/implant | 6def0add92d84934d03591e5da05611896f87b91 | [
"Apache-2.0"
] | null | null | null | setup.py | GreaterGoodest/implant | 6def0add92d84934d03591e5da05611896f87b91 | [
"Apache-2.0"
] | null | null | null | setup.py | GreaterGoodest/implant | 6def0add92d84934d03591e5da05611896f87b91 | [
"Apache-2.0"
] | null | null | null | from setuptools import setup, find_packages
setup(name='c2', version='0.1', packages=find_packages(include=['c2.*'])) | 39.333333 | 73 | 0.745763 | 17 | 118 | 5.058824 | 0.705882 | 0.27907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036364 | 0.067797 | 118 | 3 | 73 | 39.333333 | 0.745455 | 0 | 0 | 0 | 0 | 0 | 0.07563 | 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 |
f28bcfafec5f0a9c9ac96f3ee11a535a10640f35 | 223 | py | Python | src/home/models.py | pandeydivesh15/item_sharing_portal | c814d5cf0a7b34d73d8155e508a0cf4f334af199 | [
"MIT"
] | 1 | 2019-11-04T16:45:27.000Z | 2019-11-04T16:45:27.000Z | src/home/models.py | pandeydivesh15/item_sharing_portal | c814d5cf0a7b34d73d8155e508a0cf4f334af199 | [
"MIT"
] | null | null | null | src/home/models.py | pandeydivesh15/item_sharing_portal | c814d5cf0a7b34d73d8155e508a0cf4f334af199 | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
from django.db import models
# Create your models here.
class feedback_data(models.Model):
improvements=models.CharField(max_length=500)
complain=models.CharField(max_length=500)
| 24.777778 | 46 | 0.829596 | 31 | 223 | 5.709677 | 0.677419 | 0.169492 | 0.20339 | 0.271186 | 0.305085 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029703 | 0.09417 | 223 | 8 | 47 | 27.875 | 0.846535 | 0.107623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f2afbe41421b41ef9d2955137b83cd24ae2cff2d | 64 | py | Python | djcastor/__init__.py | panaceya/django-castor | fd9398b8385670c615d4d3ef3acea83b95a6131d | [
"Unlicense"
] | 8 | 2015-02-04T21:57:51.000Z | 2017-09-07T01:50:06.000Z | djcastor/__init__.py | panaceya/django-castor | fd9398b8385670c615d4d3ef3acea83b95a6131d | [
"Unlicense"
] | 1 | 2015-10-08T14:46:58.000Z | 2015-10-09T13:57:50.000Z | djcastor/__init__.py | panaceya/django-castor | fd9398b8385670c615d4d3ef3acea83b95a6131d | [
"Unlicense"
] | 4 | 2015-10-08T12:46:38.000Z | 2021-06-03T13:47:27.000Z | # -*- coding: utf-8 -*-
from djcastor.storage import CAStorage
| 16 | 38 | 0.6875 | 8 | 64 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018519 | 0.15625 | 64 | 3 | 39 | 21.333333 | 0.796296 | 0.328125 | 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 |
4b5718fcf49b865c427889b60f43292f1dcb01b3 | 592 | py | Python | tests/test_cases.py | Harry-Verspagen/2is50-2019-2020-homework-assignment-1-pair-50 | 5716e63ea543bc746c8a6d8d187bef05d22c7ccf | [
"MIT"
] | null | null | null | tests/test_cases.py | Harry-Verspagen/2is50-2019-2020-homework-assignment-1-pair-50 | 5716e63ea543bc746c8a6d8d187bef05d22c7ccf | [
"MIT"
] | null | null | null | tests/test_cases.py | Harry-Verspagen/2is50-2019-2020-homework-assignment-1-pair-50 | 5716e63ea543bc746c8a6d8d187bef05d22c7ccf | [
"MIT"
] | null | null | null | """Unit tests for the Mandelbrot software.
Author: Tom Verhoeff
Copyright (c) 2020 - Eindhoven University of Technology, The Netherlands
This software is made available under the terms of the MIT License.
* Contributor 1: ...
* TU/e ID number 1: ...
* Contributor 2: ...
* TU/e ID number 2: ...
* Date: ...
This sof... | 22.769231 | 72 | 0.695946 | 86 | 592 | 4.755814 | 0.674419 | 0.05868 | 0.06846 | 0.08802 | 0.268949 | 0.268949 | 0.268949 | 0.268949 | 0.268949 | 0.268949 | 0 | 0.016807 | 0.195946 | 592 | 25 | 73 | 23.68 | 0.842437 | 0.829392 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
4b6469ed242fe12c0965295dc2f79d0eb99a5e89 | 9,441 | py | Python | server/src/shared_helpers/tests/services_tests.py | dashhudson/go-links | b0bff29be1d438db6fbbba527959f65a9382fa54 | [
"Apache-2.0"
] | 176 | 2019-07-20T00:16:40.000Z | 2022-03-29T08:44:11.000Z | server/src/shared_helpers/tests/services_tests.py | dashhudson/go-links | b0bff29be1d438db6fbbba527959f65a9382fa54 | [
"Apache-2.0"
] | 45 | 2019-08-18T17:03:57.000Z | 2022-03-21T14:47:43.000Z | server/src/shared_helpers/tests/services_tests.py | dashhudson/go-links | b0bff29be1d438db6fbbba527959f65a9382fa54 | [
"Apache-2.0"
] | 44 | 2019-07-22T07:26:55.000Z | 2022-03-30T19:55:39.000Z | import datetime
import unittest
from flask import Blueprint, request, jsonify
from freezegun import freeze_time
from mock import Mock, patch
import jwt
from requests.exceptions import HTTPError
from shared_helpers import services
from testing import TrottoTestCase, LIVE_APP_HOST
class TestFunctions(unittest.TestCas... | 41.774336 | 117 | 0.679165 | 1,138 | 9,441 | 5.247803 | 0.112478 | 0.042364 | 0.034997 | 0.037508 | 0.796551 | 0.787508 | 0.77495 | 0.756196 | 0.756196 | 0.747321 | 0 | 0.005947 | 0.198496 | 9,441 | 225 | 118 | 41.96 | 0.783269 | 0 | 0 | 0.58125 | 0 | 0 | 0.220316 | 0.07997 | 0 | 0 | 0 | 0 | 0.21875 | 1 | 0.08125 | false | 0 | 0.05625 | 0 | 0.175 | 0.01875 | 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 |
4b6e3ca6f68c53b9dcba74eac7c29fd0505f91a2 | 134 | py | Python | content/widgets.py | tedor/home-blog | 41e6cde964b9501864925f17d496ffea1fd0e770 | [
"BSD-3-Clause"
] | null | null | null | content/widgets.py | tedor/home-blog | 41e6cde964b9501864925f17d496ffea1fd0e770 | [
"BSD-3-Clause"
] | null | null | null | content/widgets.py | tedor/home-blog | 41e6cde964b9501864925f17d496ffea1fd0e770 | [
"BSD-3-Clause"
] | null | null | null | from django import forms
class PictureByCategory(forms.Widget):
def render(self, name, value, attrs=None):
return '1234'
| 22.333333 | 46 | 0.708955 | 17 | 134 | 5.588235 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.19403 | 134 | 5 | 47 | 26.8 | 0.842593 | 0 | 0 | 0 | 0 | 0 | 0.029851 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
4b80cd273867e57efb30815b3848bbfd5d9213aa | 86 | py | Python | connectfour/players/__init__.py | amwhalen/connectfour | 4f01bc4a94a04ae729c66c0498fe64b1ce8585f6 | [
"MIT"
] | 1 | 2017-10-12T05:20:02.000Z | 2017-10-12T05:20:02.000Z | connectfour/players/__init__.py | amwhalen/connectfour | 4f01bc4a94a04ae729c66c0498fe64b1ce8585f6 | [
"MIT"
] | null | null | null | connectfour/players/__init__.py | amwhalen/connectfour | 4f01bc4a94a04ae729c66c0498fe64b1ce8585f6 | [
"MIT"
] | null | null | null | import player
import cover
import random
import human
import negamax
import negamaxabp | 14.333333 | 17 | 0.872093 | 12 | 86 | 6.25 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127907 | 86 | 6 | 17 | 14.333333 | 1 | 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 |
299cba0734b71448179d7134a71d454811554afa | 42 | py | Python | src/VarDACAE/train/__init__.py | scheng1992/Data_Assimilation | b4d43895229205ee2cd16b15ee20beccb33b71d6 | [
"MIT"
] | 1 | 2021-11-25T12:46:48.000Z | 2021-11-25T12:46:48.000Z | src/VarDACAE/train/__init__.py | bugsuse/Data_Assimilation | 2965ccf78951df11f8686282cd6814bae18afde5 | [
"MIT"
] | null | null | null | src/VarDACAE/train/__init__.py | bugsuse/Data_Assimilation | 2965ccf78951df11f8686282cd6814bae18afde5 | [
"MIT"
] | 2 | 2021-03-02T13:29:34.000Z | 2022-03-12T11:01:08.000Z | from VarDACAE.train.trainer import TrainAE | 42 | 42 | 0.880952 | 6 | 42 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 42 | 1 | 42 | 42 | 0.948718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
29a08bd98712bafea6ba2d7c27dd32ff727a4138 | 54 | py | Python | keras_text_cls/conf/__init__.py | titicaca/keras-text-cls | de1d70e64946cae2da06bda46b9ebace2b0b4f00 | [
"MIT"
] | 3 | 2019-03-01T15:50:12.000Z | 2021-05-03T15:08:10.000Z | keras_text_cls/conf/__init__.py | titicaca/keras-text-cls | de1d70e64946cae2da06bda46b9ebace2b0b4f00 | [
"MIT"
] | null | null | null | keras_text_cls/conf/__init__.py | titicaca/keras-text-cls | de1d70e64946cae2da06bda46b9ebace2b0b4f00 | [
"MIT"
] | 1 | 2020-08-08T02:53:56.000Z | 2020-08-08T02:53:56.000Z | import os
from keras_text_cls.conf.config import *
| 9 | 40 | 0.777778 | 9 | 54 | 4.444444 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 54 | 5 | 41 | 10.8 | 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 | 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 |
d9e92cfc003d77da245f528d4ed2f732bfcfd1e8 | 102 | py | Python | count_parameters.py | catskillsresearch/openasr20 | b9821c4ee6a51501e81103c1d6d4db0ea8aaa31e | [
"Apache-2.0"
] | null | null | null | count_parameters.py | catskillsresearch/openasr20 | b9821c4ee6a51501e81103c1d6d4db0ea8aaa31e | [
"Apache-2.0"
] | null | null | null | count_parameters.py | catskillsresearch/openasr20 | b9821c4ee6a51501e81103c1d6d4db0ea8aaa31e | [
"Apache-2.0"
] | 1 | 2021-07-28T02:13:21.000Z | 2021-07-28T02:13:21.000Z | def count_parameters(model):
return sum(p.numel() for p in model.parameters() if p.requires_grad)
| 34 | 72 | 0.745098 | 17 | 102 | 4.352941 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 102 | 2 | 73 | 51 | 0.840909 | 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 |
d9fec8e045e09c2cabe41a6ab918ef9b101e704e | 234 | py | Python | widgets/AboutWidget.py | ICE-WR/chia-tools | 2428bc7a0c8e4ca2c7ab24358b9b2d81400dc4ae | [
"Apache-2.0"
] | 6 | 2021-07-01T21:30:44.000Z | 2022-03-25T01:35:41.000Z | widgets/AboutWidget.py | ICE-WR/chia-tools | 2428bc7a0c8e4ca2c7ab24358b9b2d81400dc4ae | [
"Apache-2.0"
] | 1 | 2021-07-06T14:05:40.000Z | 2021-07-06T14:05:40.000Z | widgets/AboutWidget.py | ICE-WR/chia-tools | 2428bc7a0c8e4ca2c7ab24358b9b2d81400dc4ae | [
"Apache-2.0"
] | 3 | 2021-05-07T10:01:18.000Z | 2021-05-21T08:38:45.000Z | from PyQt5.QtWidgets import QWidget
from ui.AboutWidget import Ui_AboutWidget
class AboutWidget(QWidget, Ui_AboutWidget):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.setupUi(self)
| 26 | 43 | 0.717949 | 28 | 234 | 5.642857 | 0.535714 | 0.246835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005155 | 0.17094 | 234 | 8 | 44 | 29.25 | 0.809278 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 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 |
8a2fa7ea0d2aad5585f2dfd52d50ee66604e548e | 107 | py | Python | tests/SampleApps/python/django-react-boilerplate/exampleapp/models.py | samruddhikhandale/Oryx | 9031b36c02967bb4000645950680572a8a76fa56 | [
"MIT"
] | 403 | 2019-05-07T23:40:45.000Z | 2022-03-31T11:14:07.000Z | tests/SampleApps/python/django-react-boilerplate/exampleapp/models.py | samruddhikhandale/Oryx | 9031b36c02967bb4000645950680572a8a76fa56 | [
"MIT"
] | 514 | 2019-05-07T17:00:14.000Z | 2022-03-31T20:09:16.000Z | tests/SampleApps/python/django-react-boilerplate/exampleapp/models.py | samruddhikhandale/Oryx | 9031b36c02967bb4000645950680572a8a76fa56 | [
"MIT"
] | 108 | 2019-05-07T23:40:47.000Z | 2022-03-30T00:15:19.000Z | from __future__ import unicode_literals
from django.db import models # noqa
# Create your models here.
| 15.285714 | 39 | 0.785047 | 15 | 107 | 5.266667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17757 | 107 | 6 | 40 | 17.833333 | 0.897727 | 0.271028 | 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 |
8a5fa878ea718d44f27e4107399204fe4911fbff | 178 | py | Python | 217. Contains Duplicate.py | rohitpatwa/leetcode | f4826763e8f154cac9134d53b154b8299acd39a8 | [
"Xnet",
"X11",
"CECILL-B"
] | 1 | 2020-07-15T20:48:27.000Z | 2020-07-15T20:48:27.000Z | 217. Contains Duplicate.py | rohitpatwa/leetcode | f4826763e8f154cac9134d53b154b8299acd39a8 | [
"Xnet",
"X11",
"CECILL-B"
] | null | null | null | 217. Contains Duplicate.py | rohitpatwa/leetcode | f4826763e8f154cac9134d53b154b8299acd39a8 | [
"Xnet",
"X11",
"CECILL-B"
] | null | null | null | # Create a set and check if element already exists.
class Solution:
def containsDuplicate(self, nums: List[int]) -> bool:
return len(nums) != len(set(nums)) | 29.666667 | 57 | 0.646067 | 24 | 178 | 4.791667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241573 | 178 | 6 | 58 | 29.666667 | 0.851852 | 0.275281 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 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 | 0 | 1 | 1 | 0 | 0 | 5 |
8a649d8f87bba929b19d0b53964b84da55f854d0 | 65 | py | Python | piroq/command.py | christophevg/piroq | c87fdf398ae8d8172d720991e044950665d73d9d | [
"MIT"
] | 1 | 2020-12-11T01:10:57.000Z | 2020-12-11T01:10:57.000Z | piroq/command.py | christophevg/piroq | c87fdf398ae8d8172d720991e044950665d73d9d | [
"MIT"
] | 1 | 2021-06-01T22:50:17.000Z | 2021-06-01T22:50:17.000Z | piroq/command.py | christophevg/piroq | c87fdf398ae8d8172d720991e044950665d73d9d | [
"MIT"
] | 1 | 2021-05-03T01:40:26.000Z | 2021-05-03T01:40:26.000Z | from piroq.service import Manager
def main():
Manager().run()
| 13 | 33 | 0.707692 | 9 | 65 | 5.111111 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 65 | 4 | 34 | 16.25 | 0.836364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
8a880400b864d3bb276a41dc4bb2517314d31d08 | 6,796 | py | Python | conflowgen/tests/container_flow_data_generation_process/test_truck_for_export_containers_manager.py | bbargstaedt/conflowgen | b5b5c0e2df8a605d23ef467aaa3e88aa463a34ee | [
"MIT"
] | null | null | null | conflowgen/tests/container_flow_data_generation_process/test_truck_for_export_containers_manager.py | bbargstaedt/conflowgen | b5b5c0e2df8a605d23ef467aaa3e88aa463a34ee | [
"MIT"
] | null | null | null | conflowgen/tests/container_flow_data_generation_process/test_truck_for_export_containers_manager.py | bbargstaedt/conflowgen | b5b5c0e2df8a605d23ef467aaa3e88aa463a34ee | [
"MIT"
] | null | null | null | import datetime
import unittest
from collections import Counter
import matplotlib.pyplot as plt
import seaborn as sns
from conflowgen.domain_models.distribution_models.truck_arrival_distribution import TruckArrivalDistribution
from conflowgen.domain_models.distribution_seeders import truck_arrival_distribution_seeder... | 54.806452 | 117 | 0.621689 | 788 | 6,796 | 5.159898 | 0.201777 | 0.100344 | 0.048205 | 0.026562 | 0.769798 | 0.724791 | 0.724791 | 0.724791 | 0.715445 | 0.709051 | 0 | 0.039577 | 0.304738 | 6,796 | 123 | 118 | 55.252033 | 0.820952 | 0.042231 | 0 | 0.615385 | 0 | 0.019231 | 0.224034 | 0 | 0 | 0 | 0 | 0 | 0.144231 | 1 | 0.038462 | false | 0 | 0.086538 | 0 | 0.134615 | 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 |
8a978d85947416d2a882d1811b20f816fe84fe71 | 41 | py | Python | modules/2.79/bpy/types/NodeSocketFloatPercentage.py | cmbasnett/fake-bpy-module | acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55 | [
"MIT"
] | null | null | null | modules/2.79/bpy/types/NodeSocketFloatPercentage.py | cmbasnett/fake-bpy-module | acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55 | [
"MIT"
] | null | null | null | modules/2.79/bpy/types/NodeSocketFloatPercentage.py | cmbasnett/fake-bpy-module | acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55 | [
"MIT"
] | null | null | null | NodeSocketFloatPercentage.links = None
| 10.25 | 38 | 0.829268 | 3 | 41 | 11.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 41 | 3 | 39 | 13.666667 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8a99aca6fd7174155b587dbaeb76739c8a0d3ec0 | 1,441 | py | Python | sdk/python/pulumi_azure_nextgen/media/latest/__init__.py | test-wiz-sec/pulumi-azure-nextgen | 20a695af0d020b34b0f1c336e1b69702755174cc | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure_nextgen/media/latest/__init__.py | test-wiz-sec/pulumi-azure-nextgen | 20a695af0d020b34b0f1c336e1b69702755174cc | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure_nextgen/media/latest/__init__.py | test-wiz-sec/pulumi-azure-nextgen | 20a695af0d020b34b0f1c336e1b69702755174cc | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
# Export this package's modules as members:
from .account_filter import *
from .asset import *
from .asset_filter import *
from .content_key_policy imp... | 34.309524 | 80 | 0.806384 | 209 | 1,441 | 5.239234 | 0.315789 | 0.319635 | 0.178082 | 0.052055 | 0.252968 | 0.141553 | 0 | 0 | 0 | 0 | 0 | 0.000796 | 0.127689 | 1,441 | 41 | 81 | 35.146341 | 0.870326 | 0.140874 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8ab6ed666cc2af4dc0b8cc0befb6cf6d30a561c6 | 579 | py | Python | internal/images.py | yukimyg/black_hole_image | 58e99bc120c0e8c2fec5a72a6fa0f88ec8de86db | [
"MIT"
] | 1 | 2022-02-21T01:22:59.000Z | 2022-02-21T01:22:59.000Z | internal/images.py | yukimyg/black-hole-image | 58e99bc120c0e8c2fec5a72a6fa0f88ec8de86db | [
"MIT"
] | 6 | 2022-02-16T03:17:29.000Z | 2022-02-20T06:57:52.000Z | internal/images.py | yukimyg/black-hole-image | 58e99bc120c0e8c2fec5a72a6fa0f88ec8de86db | [
"MIT"
] | null | null | null | import dataclasses
@dataclasses.dataclass(frozen=True)
class Sd:
height: int = 480
width: int = 640
@dataclasses.dataclass(frozen=True)
class Hd:
height: int = 720
width: int = 1280
@dataclasses.dataclass(frozen=True)
class Fhd:
height: int = 1080
width: int = 1920
@dataclasses.dataclass... | 15.236842 | 35 | 0.675302 | 74 | 579 | 5.283784 | 0.364865 | 0.306905 | 0.398977 | 0.460358 | 0.537084 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099778 | 0.221071 | 579 | 37 | 36 | 15.648649 | 0.767184 | 0 | 0 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.04 | 0 | 0.76 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
8ad0ee5fe99b13ddc7e5cfe0e107b94bd4080f75 | 110 | py | Python | kalliope/core/ConfigurationManager/__init__.py | G10DRAS/kalliope | 4c6586bd4c5ff0ca2b51cbf02f042d9ed0c9742d | [
"MIT"
] | null | null | null | kalliope/core/ConfigurationManager/__init__.py | G10DRAS/kalliope | 4c6586bd4c5ff0ca2b51cbf02f042d9ed0c9742d | [
"MIT"
] | null | null | null | kalliope/core/ConfigurationManager/__init__.py | G10DRAS/kalliope | 4c6586bd4c5ff0ca2b51cbf02f042d9ed0c9742d | [
"MIT"
] | null | null | null | from YAMLLoader import YAMLLoader
from SettingLoader import SettingLoader
from BrainLoader import BrainLoader
| 27.5 | 39 | 0.890909 | 12 | 110 | 8.166667 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109091 | 110 | 3 | 40 | 36.666667 | 1 | 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 |
76d3c2ff9cbe0a61898b5499169e04fc853812c0 | 80 | py | Python | src/utils/__init__.py | mushroom-x/gamepad_python | fa1893c6f094521f769d8945ced699f39f102dbf | [
"MIT"
] | 2 | 2022-02-11T03:14:01.000Z | 2022-02-11T03:17:42.000Z | src/utils/__init__.py | JACKDONG-blue/gamepad_python | 22dc9f537bbee584f37eb3693ae81148a5d29c6a | [
"MIT"
] | 1 | 2022-02-10T18:49:25.000Z | 2022-02-10T18:49:25.000Z | src/utils/__init__.py | JACKDONG-blue/gamepad_python | 22dc9f537bbee584f37eb3693ae81148a5d29c6a | [
"MIT"
] | 1 | 2022-02-11T02:54:10.000Z | 2022-02-11T02:54:10.000Z | from .thread import KillableThread
from .logger_interface import LoggerInterface | 40 | 45 | 0.8875 | 9 | 80 | 7.777778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0875 | 80 | 2 | 45 | 40 | 0.958904 | 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 |
76f6f878d497f2e2a6d41fce6f2d684f78247318 | 1,005 | py | Python | tests/port_tests/boolean_tests/operation_tests/test_to_next_position.py | skrat/martinez | 86db48324cb50ecb52be8ab2e4278a6d5cdd562b | [
"MIT"
] | 7 | 2020-05-07T08:13:44.000Z | 2021-12-17T07:33:51.000Z | tests/port_tests/boolean_tests/operation_tests/test_to_next_position.py | skrat/martinez | 86db48324cb50ecb52be8ab2e4278a6d5cdd562b | [
"MIT"
] | 17 | 2019-11-29T23:17:26.000Z | 2020-12-20T15:47:17.000Z | tests/port_tests/boolean_tests/operation_tests/test_to_next_position.py | skrat/martinez | 86db48324cb50ecb52be8ab2e4278a6d5cdd562b | [
"MIT"
] | 1 | 2020-12-17T22:44:21.000Z | 2020-12-17T22:44:21.000Z | from typing import (List,
Tuple)
from hypothesis import given
from tests.port_tests.hints import (PortedOperation,
PortedSweepEvent)
from . import strategies
@given(strategies.non_empty_sweep_events_lists_with_indices_and_booleans_lists)
def test_basic(events_... | 34.655172 | 79 | 0.743284 | 116 | 1,005 | 6.086207 | 0.336207 | 0.056657 | 0.101983 | 0.11898 | 0.736544 | 0.736544 | 0.736544 | 0.736544 | 0.736544 | 0.736544 | 0 | 0 | 0.187065 | 1,005 | 28 | 80 | 35.892857 | 0.864137 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.111111 | false | 0 | 0.222222 | 0 | 0.333333 | 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 |
0a1bbe66aa30c343fc9375adfe2f156262e8e0d4 | 57 | py | Python | CodeWars/8 Kyu/Grasshopper - Debug sayHello.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/8 Kyu/Grasshopper - Debug sayHello.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/8 Kyu/Grasshopper - Debug sayHello.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | def say_hello(name):
return "Hello, {0}".format(name) | 28.5 | 36 | 0.666667 | 9 | 57 | 4.111111 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 0.140351 | 57 | 2 | 36 | 28.5 | 0.734694 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 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 |
0a31a2d814340698ffadffedf90d8edb861704f9 | 158 | py | Python | Bronze/Bronze_III/2444.py | masterTyper/baekjoon_solved_ac | b9ce14d9bdaa5b5b06735ad075fb827de9f44b9c | [
"MIT"
] | null | null | null | Bronze/Bronze_III/2444.py | masterTyper/baekjoon_solved_ac | b9ce14d9bdaa5b5b06735ad075fb827de9f44b9c | [
"MIT"
] | null | null | null | Bronze/Bronze_III/2444.py | masterTyper/baekjoon_solved_ac | b9ce14d9bdaa5b5b06735ad075fb827de9f44b9c | [
"MIT"
] | null | null | null | N = int(input())
for i in range(1, N):
print(' ' * (N - i) + '*' * ((i * 2) - 1))
for i in range(N, 0, -1):
print(' ' * (N - i) + '*' * ((i * 2) - 1)) | 31.6 | 46 | 0.35443 | 28 | 158 | 2 | 0.392857 | 0.142857 | 0.214286 | 0.392857 | 0.357143 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0.06422 | 0.310127 | 158 | 5 | 47 | 31.6 | 0.449541 | 0 | 0 | 0.4 | 0 | 0 | 0.025157 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6a621b8c75c0e3da85b2b6a03eece610c8094bf2 | 34,314 | py | Python | python/paddle/fluid/tests/unittests/test_imperative_save_load.py | Sand3r-/Paddle | 1217a521554d63caa1381b8716910d0268dfc22d | [
"Apache-2.0"
] | 2 | 2017-05-15T06:52:18.000Z | 2017-06-13T11:55:11.000Z | python/paddle/fluid/tests/unittests/test_imperative_save_load.py | Sand3r-/Paddle | 1217a521554d63caa1381b8716910d0268dfc22d | [
"Apache-2.0"
] | null | null | null | python/paddle/fluid/tests/unittests/test_imperative_save_load.py | Sand3r-/Paddle | 1217a521554d63caa1381b8716910d0268dfc22d | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by app... | 38.425532 | 80 | 0.526374 | 4,056 | 34,314 | 4.170365 | 0.071992 | 0.032988 | 0.019864 | 0.009104 | 0.796098 | 0.764588 | 0.745551 | 0.726811 | 0.699911 | 0.686728 | 0 | 0.02318 | 0.380195 | 34,314 | 892 | 81 | 38.46861 | 0.772146 | 0.036516 | 0 | 0.766162 | 0 | 0 | 0.01369 | 0 | 0 | 0 | 0 | 0.001121 | 0.031637 | 1 | 0.016506 | false | 0 | 0.017882 | 0 | 0.041265 | 0.001376 | 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 |
6a8b72c99e17c286dab5988f49aa3ee67b9bac0f | 79 | py | Python | application/exceptions.py | jnhoang/generic-flask | 89b24f68f394eb49b21ed80b8be6edc9b4104e40 | [
"MIT"
] | null | null | null | application/exceptions.py | jnhoang/generic-flask | 89b24f68f394eb49b21ed80b8be6edc9b4104e40 | [
"MIT"
] | null | null | null | application/exceptions.py | jnhoang/generic-flask | 89b24f68f394eb49b21ed80b8be6edc9b4104e40 | [
"MIT"
] | null | null | null |
class MissingKeyError(Exception):
pass
class NoneError(Exception):
pass
| 9.875 | 33 | 0.759494 | 8 | 79 | 7.5 | 0.625 | 0.433333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164557 | 79 | 7 | 34 | 11.285714 | 0.909091 | 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 |
6adba30c182b5960f97d71bf8ea9d9f4fd1ea067 | 143 | py | Python | funkcje/cw2.py | Wiktor-Wewe/zadaniaDoKolosaWewe | 69519edae6b582bd81b5011871ce38f1e6a2447f | [
"MIT"
] | null | null | null | funkcje/cw2.py | Wiktor-Wewe/zadaniaDoKolosaWewe | 69519edae6b582bd81b5011871ce38f1e6a2447f | [
"MIT"
] | null | null | null | funkcje/cw2.py | Wiktor-Wewe/zadaniaDoKolosaWewe | 69519edae6b582bd81b5011871ce38f1e6a2447f | [
"MIT"
] | null | null | null | """
Zadeklaruj funkcje która jako argumenty przyjmuje dwie zmienne i zwraca ich sumę
"""
def f(a:int, b:int):
return a+b
print(f(12, 12))
| 17.875 | 80 | 0.692308 | 25 | 143 | 3.96 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034188 | 0.181818 | 143 | 7 | 81 | 20.428571 | 0.811966 | 0.559441 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
6ae61c59dc78d88567d355f56f8f160274fc89d9 | 348 | py | Python | lessons/03/perm_missing_elem/test_challenge.py | jimlawton/codility | b286db80c7cfa6722b78c7eb8992e1a5934db8a0 | [
"Apache-2.0"
] | null | null | null | lessons/03/perm_missing_elem/test_challenge.py | jimlawton/codility | b286db80c7cfa6722b78c7eb8992e1a5934db8a0 | [
"Apache-2.0"
] | 2 | 2021-03-25T21:32:16.000Z | 2021-07-19T11:11:15.000Z | lessons/03/perm_missing_elem/test_challenge.py | jimlawton/codility | b286db80c7cfa6722b78c7eb8992e1a5934db8a0 | [
"Apache-2.0"
] | null | null | null |
from challenge import solution
def test_challenge():
# Create empty array (dependent on test)
# Create single entry array
# Create an array with the answer at the start
# Create an array with the answer at the end
# Create an array with the answer in the middle
# Single entry slot
assert(s... | 29 | 51 | 0.683908 | 54 | 348 | 4.388889 | 0.537037 | 0.101266 | 0.164557 | 0.21519 | 0.371308 | 0.371308 | 0.261603 | 0.261603 | 0 | 0 | 0 | 0.019231 | 0.252874 | 348 | 11 | 52 | 31.636364 | 0.892308 | 0.62069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 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 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0a7853edea271b757fc110a6d6e7dbdbbfcc27c5 | 17 | py | Python | thinkutils_plus/__init__.py | ThinkmanWang/thinkutils_plus | 65d56a1a0cfce22dff08a4f0baea6b4eb08a2e35 | [
"MIT"
] | null | null | null | thinkutils_plus/__init__.py | ThinkmanWang/thinkutils_plus | 65d56a1a0cfce22dff08a4f0baea6b4eb08a2e35 | [
"MIT"
] | null | null | null | thinkutils_plus/__init__.py | ThinkmanWang/thinkutils_plus | 65d56a1a0cfce22dff08a4f0baea6b4eb08a2e35 | [
"MIT"
] | null | null | null | from log import * | 17 | 17 | 0.764706 | 3 | 17 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 17 | 1 | 17 | 17 | 0.928571 | 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 |
0a813ff943afd19168e5e731db82f5d79729f7dd | 24 | py | Python | Tables-Python/print_table/__init__.py | abelandcain/simple-python-packages | 9da63066c73065186540ead933a5c8c45eb3bc47 | [
"MIT"
] | 2 | 2019-08-25T11:43:12.000Z | 2020-03-27T00:34:18.000Z | tables/__init__.py | salt-die/tables | 85c6b08e2dd7ca83852b044e97ac1cd51cd8f056 | [
"Unlicense"
] | null | null | null | tables/__init__.py | salt-die/tables | 85c6b08e2dd7ca83852b044e97ac1cd51cd8f056 | [
"Unlicense"
] | null | null | null | from .table import Table | 24 | 24 | 0.833333 | 4 | 24 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.952381 | 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 |
0aa120b0a173258070c8b845051293bedd152cd1 | 32 | py | Python | helper.py | himicakumar/cs3240-labdemo | 3707ee6affed33bd450175f7995299956d218f50 | [
"MIT"
] | null | null | null | helper.py | himicakumar/cs3240-labdemo | 3707ee6affed33bd450175f7995299956d218f50 | [
"MIT"
] | null | null | null | helper.py | himicakumar/cs3240-labdemo | 3707ee6affed33bd450175f7995299956d218f50 | [
"MIT"
] | null | null | null | def greeting(msg):
print(msg)
| 10.666667 | 19 | 0.6875 | 5 | 32 | 4.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 32 | 2 | 20 | 16 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
7c3652e514497bb8fef63f1e6eb079fc68eddce8 | 186 | py | Python | corehq/apps/hqcase/models.py | johan--/commcare-hq | 86ee99c54f55ee94e4c8f2f6f30fc44e10e69ebd | [
"BSD-3-Clause"
] | null | null | null | corehq/apps/hqcase/models.py | johan--/commcare-hq | 86ee99c54f55ee94e4c8f2f6f30fc44e10e69ebd | [
"BSD-3-Clause"
] | 1 | 2022-03-12T01:03:25.000Z | 2022-03-12T01:03:25.000Z | corehq/apps/hqcase/models.py | johan--/commcare-hq | 86ee99c54f55ee94e4c8f2f6f30fc44e10e69ebd | [
"BSD-3-Clause"
] | null | null | null | # This file is only here so that django will recognize that
# this is a valid app and run the associated unit tests.
from dimagi.ext.couchdbkit import Document
class _(Document): pass
| 31 | 60 | 0.77957 | 31 | 186 | 4.645161 | 0.870968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177419 | 186 | 5 | 61 | 37.2 | 0.941176 | 0.607527 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0.5 | 0 | 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 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
7c5cf80965436c7d3784b305e291072e297d9ead | 118,878 | py | Python | core/domain/user_jobs_one_off_test.py | MohdImran001/oppia | ff7421ee424955fc86b1a96012965165cd41be12 | [
"Apache-2.0"
] | 1 | 2021-04-08T03:04:21.000Z | 2021-04-08T03:04:21.000Z | core/domain/user_jobs_one_off_test.py | MohdImran001/oppia | ff7421ee424955fc86b1a96012965165cd41be12 | [
"Apache-2.0"
] | null | null | null | core/domain/user_jobs_one_off_test.py | MohdImran001/oppia | ff7421ee424955fc86b1a96012965165cd41be12 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
#
# Copyright 2014 The Oppia Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requi... | 41.392061 | 115 | 0.670074 | 13,817 | 118,878 | 5.33741 | 0.047405 | 0.030591 | 0.020977 | 0.015946 | 0.842828 | 0.789497 | 0.757685 | 0.722755 | 0.684218 | 0.66084 | 0 | 0.00866 | 0.250088 | 118,878 | 2,871 | 116 | 41.406479 | 0.818583 | 0.069256 | 0 | 0.677876 | 0 | 0 | 0.051698 | 0.014662 | 0 | 0 | 0 | 0 | 0.113274 | 1 | 0.05354 | false | 0.000885 | 0.012832 | 0.001327 | 0.124779 | 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 |
7c5d05cab5a5f5b6e0c695120149c5d859ce73dc | 1,271 | py | Python | cupyx/scipy/special/_bessel.py | prkhrsrvstv1/cupy | ea86c8225b575af9d2855fb77a306cf86fd098ea | [
"MIT"
] | 6,180 | 2016-11-01T14:22:30.000Z | 2022-03-31T08:39:20.000Z | cupyx/scipy/special/_bessel.py | prkhrsrvstv1/cupy | ea86c8225b575af9d2855fb77a306cf86fd098ea | [
"MIT"
] | 6,281 | 2016-12-22T07:42:31.000Z | 2022-03-31T19:57:02.000Z | cupyx/scipy/special/_bessel.py | prkhrsrvstv1/cupy | ea86c8225b575af9d2855fb77a306cf86fd098ea | [
"MIT"
] | 829 | 2017-02-23T05:46:12.000Z | 2022-03-27T17:40:03.000Z | from cupy import _core
j0 = _core.create_ufunc(
'cupyx_scipy_special_j0', ('f->f', 'd->d'),
'out0 = j0(in0)',
doc='''Bessel function of the first kind of order 0.
.. seealso:: :meth:`scipy.special.j0`
''')
j1 = _core.create_ufunc(
'cupyx_scipy_special_j1', ('f->f', 'd->d'),
'out0 = j1(... | 20.5 | 57 | 0.581432 | 182 | 1,271 | 3.868132 | 0.186813 | 0.204545 | 0.127841 | 0.170455 | 0.90625 | 0.860795 | 0.588068 | 0.372159 | 0.235795 | 0.235795 | 0 | 0.042126 | 0.215578 | 1,271 | 61 | 58 | 20.836066 | 0.663992 | 0 | 0 | 0.162162 | 0 | 0 | 0.656176 | 0.217152 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.027027 | 0 | 0.027027 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7c7c2902240d7e1307b27f122f8a6f8a82ec3f97 | 53,062 | py | Python | detecting-invisible-people/deep_sort/tracker_mask.py | lv1turtle/Occlusion-object-tracking | bda349332ce904f5f08b694ea25e3e79abc997bc | [
"MIT"
] | 26 | 2021-10-30T15:08:56.000Z | 2022-03-31T14:10:13.000Z | detecting-invisible-people/deep_sort/tracker_mask.py | lv1turtle/Occlusion-object-tracking | bda349332ce904f5f08b694ea25e3e79abc997bc | [
"MIT"
] | null | null | null | detecting-invisible-people/deep_sort/tracker_mask.py | lv1turtle/Occlusion-object-tracking | bda349332ce904f5f08b694ea25e3e79abc997bc | [
"MIT"
] | 4 | 2021-10-30T02:13:29.000Z | 2022-03-24T14:54:16.000Z | # vim: expandtab:ts=4:sw=4
from __future__ import absolute_import
import numpy as np
from skimage.filters import threshold_otsu
import os
from . import kalman_filter
from . import linear_assignment
from . import iou_matching
from .track import Track
from pycocotools import mask as maskUtils
import cv2
from skimage.tran... | 46.221254 | 223 | 0.598941 | 6,447 | 53,062 | 4.707461 | 0.082364 | 0.067811 | 0.039441 | 0.015651 | 0.779828 | 0.753402 | 0.734027 | 0.722429 | 0.702989 | 0.691127 | 0 | 0.015375 | 0.307471 | 53,062 | 1,147 | 224 | 46.261552 | 0.810515 | 0.273868 | 0 | 0.630792 | 0 | 0 | 0.018362 | 0.008797 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038864 | false | 0 | 0.040359 | 0 | 0.121076 | 0.004484 | 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 |
7c86ee21a3a34af5dea24161f33a0ce426aff14b | 42 | py | Python | diptych/exceptext.py | bansan85/diptych | 297e6b291893a6e7abaab16025dc04d7d397a493 | [
"Apache-2.0"
] | null | null | null | diptych/exceptext.py | bansan85/diptych | 297e6b291893a6e7abaab16025dc04d7d397a493 | [
"Apache-2.0"
] | 3 | 2021-04-06T18:25:28.000Z | 2021-05-12T12:13:47.000Z | diptych/exceptext.py | bansan85/diptych | 297e6b291893a6e7abaab16025dc04d7d397a493 | [
"Apache-2.0"
] | null | null | null | class NotMyException(Exception):
pass
| 14 | 32 | 0.761905 | 4 | 42 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 42 | 2 | 33 | 21 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
7c9fe9d2ceeebde3df86f720f458b0d2f3757823 | 37,950 | py | Python | instances/passenger_demand/pas-20210421-2109-int2e-1/40.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int2e-1/40.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int2e-1/40.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 435
passenger_arriving = (
(2, 1, 1, 0, 1, 0, 0, 1, 2, 1, 1, 0), # 0
(1, 5, 1, 0, 0, 0, 2, 2, 0, 1, 0, 0), # 1
(1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0), # 2
(0, 2, 1, 1, 1, 0, 3, 2, 1, 0, 0, 0), # 3
(0, 1, 1, 1, 0, 0, 4, 1, 0, 0, 0, 0), # 4
(1, 0, 0, 1, 0, 0, 1, 3, 0, 1, 0, ... | 113.283582 | 220 | 0.729539 | 5,147 | 37,950 | 5.376919 | 0.180882 | 0.042638 | 0.247154 | 0.468293 | 0.360506 | 0.352304 | 0.342837 | 0.335321 | 0.331635 | 0.327154 | 0 | 0.819356 | 0.118946 | 37,950 | 334 | 221 | 113.622754 | 0.008344 | 0.03191 | 0 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.015823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7cabc55935c88d685ec61b8ac3dd9a65ef851192 | 320 | py | Python | subscribers/apps.py | elegant-solutions/django-webstore | 2c53189ea075a1d60a4d1e20a69ec8e831894068 | [
"MIT"
] | 1 | 2020-10-24T08:45:32.000Z | 2020-10-24T08:45:32.000Z | subscribers/apps.py | elegant-solutions/django-webstore | 2c53189ea075a1d60a4d1e20a69ec8e831894068 | [
"MIT"
] | 14 | 2016-09-22T17:06:38.000Z | 2016-10-12T18:25:39.000Z | subscribers/apps.py | elegant-solutions/django-webstore | 2c53189ea075a1d60a4d1e20a69ec8e831894068 | [
"MIT"
] | 3 | 2016-10-07T12:03:35.000Z | 2021-04-17T09:24:21.000Z | from __future__ import unicode_literals
from django.apps import AppConfig
# =========================================================================
# ----- Custom AppConfig Class
# =========================================================================
class SubscribersConfig(AppConfig):
name = 'subscribers'
| 32 | 75 | 0.409375 | 18 | 320 | 7 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0875 | 320 | 9 | 76 | 35.555556 | 0.431507 | 0.55 | 0 | 0 | 0 | 0 | 0.078571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7cf9ac978652cb4f1b7d030865d55d28754f0392 | 3,338 | py | Python | cgatpipelines/tools/pipeline_docs/pipeline_rnaseqdiffexpression/trackers/Genelists.py | kevinrue/cgat-flow | 02b5a1867253c2f6fd6b4f3763e0299115378913 | [
"MIT"
] | 49 | 2015-04-13T16:49:25.000Z | 2022-03-29T10:29:14.000Z | cgatpipelines/tools/pipeline_docs/pipeline_rnaseqdiffexpression/trackers/Genelists.py | kevinrue/cgat-flow | 02b5a1867253c2f6fd6b4f3763e0299115378913 | [
"MIT"
] | 252 | 2015-04-08T13:23:34.000Z | 2019-03-18T21:51:29.000Z | cgatpipelines/tools/pipeline_docs/pipeline_rnaseqdiffexpression/trackers/Genelists.py | kevinrue/cgat-flow | 02b5a1867253c2f6fd6b4f3763e0299115378913 | [
"MIT"
] | 22 | 2015-05-21T00:37:52.000Z | 2019-09-25T05:04:27.000Z | from RnaseqDiffExpressionReport import ProjectTracker
from RnaseqDiffExpressionReport import linkToEnsembl, linkToUCSC
class TopDifferentiallyExpressedGenes(ProjectTracker):
'''output differentially expressed genes.'''
limit = 10
pattern = '(.*)_gene_diff'
sort = ''
def __call__(self, track, sli... | 31.490566 | 73 | 0.508688 | 348 | 3,338 | 4.729885 | 0.198276 | 0.036452 | 0.025516 | 0.041312 | 0.780073 | 0.780073 | 0.715674 | 0.685298 | 0.685298 | 0.672539 | 0 | 0.006979 | 0.399041 | 3,338 | 105 | 74 | 31.790476 | 0.813559 | 0.023068 | 0 | 0.873563 | 0 | 0 | 0.600923 | 0.030154 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022989 | false | 0 | 0.022989 | 0 | 0.218391 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7cfaa7c645b13e6f64a64916e2ac369a0acab6e9 | 106 | py | Python | natch/decorators/lte.py | ertgl/natch | 5729725c6eed1596071ac984e3ddfdc21a15af0a | [
"MIT"
] | 2 | 2020-05-24T23:41:00.000Z | 2020-05-25T09:18:08.000Z | natch/decorators/lte.py | ertgl/natch | 5729725c6eed1596071ac984e3ddfdc21a15af0a | [
"MIT"
] | null | null | null | natch/decorators/lte.py | ertgl/natch | 5729725c6eed1596071ac984e3ddfdc21a15af0a | [
"MIT"
] | null | null | null | from natch.core import Decoration
from natch.rules import Lte
lte = Decoration.make_rule_decorator(Lte)
| 17.666667 | 41 | 0.820755 | 16 | 106 | 5.3125 | 0.625 | 0.211765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122642 | 106 | 5 | 42 | 21.2 | 0.913978 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
6b2ccaecd88b85529a804616a0cd60f1e60840d0 | 372 | py | Python | qrcode/image/styles/moduledrawers/__init__.py | xamronpc/python-qrcode | 49060c484ce6def1adbc13e3b14e71dcef266eb2 | [
"BSD-3-Clause"
] | null | null | null | qrcode/image/styles/moduledrawers/__init__.py | xamronpc/python-qrcode | 49060c484ce6def1adbc13e3b14e71dcef266eb2 | [
"BSD-3-Clause"
] | null | null | null | qrcode/image/styles/moduledrawers/__init__.py | xamronpc/python-qrcode | 49060c484ce6def1adbc13e3b14e71dcef266eb2 | [
"BSD-3-Clause"
] | null | null | null | # For backwards compatibility, importing the PIL drawers here.
from .pil import CircleModuleDrawer # noqa: F401
from .pil import GappedSquareModuleDrawer # noqa: F401
from .pil import HorizontalBarsDrawer # noqa: F401
from .pil import RoundedModuleDrawer # noqa: F401
from .pil import SquareModuleDrawer # noqa: F40... | 46.5 | 62 | 0.790323 | 44 | 372 | 6.681818 | 0.409091 | 0.142857 | 0.265306 | 0.255102 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 0.153226 | 372 | 7 | 63 | 53.142857 | 0.87619 | 0.33871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
863d20f0e9c79b22f955635c479e18b8bcf235de | 234 | py | Python | tests/functionals/functionals/__init__.py | MCOfficer/cabot | 80add22dd9721f22f19e5afbfb363df7084082ce | [
"BSD-3-Clause"
] | 21 | 2019-02-16T01:55:50.000Z | 2021-11-25T00:00:43.000Z | tests/functionals/functionals/__init__.py | MCOfficer/cabot | 80add22dd9721f22f19e5afbfb363df7084082ce | [
"BSD-3-Clause"
] | 7 | 2017-11-09T18:35:16.000Z | 2020-09-29T09:44:09.000Z | tests/functionals/functionals/__init__.py | MCOfficer/cabot | 80add22dd9721f22f19e5afbfb363df7084082ce | [
"BSD-3-Clause"
] | 4 | 2017-08-10T22:22:08.000Z | 2020-09-29T08:59:42.000Z | """Implemement behave steps."""
from behave_pytest.hook import install_pytest_asserts
install_pytest_asserts()
#from pytest import register_assert_rewrite
from . import given
from . import help
from . import then
from . import when
| 21.272727 | 53 | 0.807692 | 32 | 234 | 5.6875 | 0.5 | 0.21978 | 0.21978 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 234 | 10 | 54 | 23.4 | 0.892157 | 0.290598 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | true | 0 | 0.833333 | 0 | 0.833333 | 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 |
8651b07d458fef91fd6d8fbe2238f7ceda3eab55 | 170 | py | Python | doc/workflow/examples/driver1.py | PyUtilib/PyUtilib | d99406f2af1fb62268c34453a2fbe6bd4a7348f0 | [
"BSD-3-Clause"
] | 24 | 2016-04-02T10:00:02.000Z | 2021-03-02T16:40:18.000Z | doc/workflow/examples/driver1.py | PyUtilib/PyUtilib | d99406f2af1fb62268c34453a2fbe6bd4a7348f0 | [
"BSD-3-Clause"
] | 105 | 2015-10-29T03:29:58.000Z | 2021-12-30T22:00:45.000Z | doc/workflow/examples/driver1.py | PyUtilib/PyUtilib | d99406f2af1fb62268c34453a2fbe6bd4a7348f0 | [
"BSD-3-Clause"
] | 22 | 2016-01-21T15:35:25.000Z | 2021-05-15T20:17:44.000Z | import pyutilib.workflow
import tasks_yz
driver = pyutilib.workflow.TaskDriver()
driver.register_task('TaskZ')
driver.register_task('TaskY')
print(driver.parse_args())
| 18.888889 | 39 | 0.805882 | 22 | 170 | 6.045455 | 0.636364 | 0.240602 | 0.270677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070588 | 170 | 8 | 40 | 21.25 | 0.841772 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.166667 | 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 |
8674d5db162f181d6b47162a8d8c16526725907b | 119 | py | Python | contact/admin.py | 85599/my-first-contact-app | dda8c12cd9232ee6f962d11e18c397d9c5a2f251 | [
"MIT"
] | null | null | null | contact/admin.py | 85599/my-first-contact-app | dda8c12cd9232ee6f962d11e18c397d9c5a2f251 | [
"MIT"
] | null | null | null | contact/admin.py | 85599/my-first-contact-app | dda8c12cd9232ee6f962d11e18c397d9c5a2f251 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Person
admin.site.register(Person)
# Register your models here.
| 17 | 32 | 0.798319 | 17 | 119 | 5.588235 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134454 | 119 | 6 | 33 | 19.833333 | 0.92233 | 0.218487 | 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 |
8104ce758c73d2f12abaea87ce872c7633f68a13 | 54 | py | Python | venv/Lib/site-packages/pandas/io/sas/__init__.py | arnoyu-hub/COMP0016miemie | 59af664dcf190eab4f93cefb8471908717415fea | [
"MIT"
] | 1 | 2021-02-06T21:00:00.000Z | 2021-02-06T21:00:00.000Z | venv/Lib/site-packages/pandas/io/sas/__init__.py | arnoyu-hub/COMP0016miemie | 59af664dcf190eab4f93cefb8471908717415fea | [
"MIT"
] | null | null | null | venv/Lib/site-packages/pandas/io/sas/__init__.py | arnoyu-hub/COMP0016miemie | 59af664dcf190eab4f93cefb8471908717415fea | [
"MIT"
] | 1 | 2021-04-26T22:41:56.000Z | 2021-04-26T22:41:56.000Z | from pandas.io.sas.sasreader import read_sas # noqa
| 27 | 53 | 0.777778 | 9 | 54 | 4.555556 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 54 | 1 | 54 | 54 | 0.891304 | 0.074074 | 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 |
8130b6c4d6dabb9248dae29af867f8c0044fd04a | 219 | py | Python | WQ_tools/_init_.py | lkschn/WQ_tools | 15c9a290794f00dc2b10b7b261a744bb11cdb9cb | [
"MIT"
] | null | null | null | WQ_tools/_init_.py | lkschn/WQ_tools | 15c9a290794f00dc2b10b7b261a744bb11cdb9cb | [
"MIT"
] | null | null | null | WQ_tools/_init_.py | lkschn/WQ_tools | 15c9a290794f00dc2b10b7b261a744bb11cdb9cb | [
"MIT"
] | null | null | null | from .dicts_modelNWDM import varDict, plot_locs, columnsNWDM
from .plotFunctions import plotTS_modelNWDM, dotplot_modelNWDM
from .nwdmFunctions import wfsbuild, readUrl
from .dwaqFunctions import get_modkey, get_modTime | 54.75 | 62 | 0.86758 | 27 | 219 | 6.814815 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091324 | 219 | 4 | 63 | 54.75 | 0.924623 | 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 |
d491190d111a25187dcd91999bf7ba7e64a259a5 | 43 | py | Python | tests/components/upc_connect/__init__.py | zalke/home-assistant | a31e49c857722c0723dc5297cd83cbce0f8716f6 | [
"Apache-2.0"
] | 4 | 2019-07-03T22:36:57.000Z | 2019-08-10T15:33:25.000Z | tests/components/upc_connect/__init__.py | zalke/home-assistant | a31e49c857722c0723dc5297cd83cbce0f8716f6 | [
"Apache-2.0"
] | 39 | 2016-12-16T12:40:34.000Z | 2017-02-13T17:53:42.000Z | tests/components/upc_connect/__init__.py | zalke/home-assistant | a31e49c857722c0723dc5297cd83cbce0f8716f6 | [
"Apache-2.0"
] | 3 | 2020-03-03T18:14:10.000Z | 2020-10-04T06:52:45.000Z | """Tests for the upc_connect component."""
| 21.5 | 42 | 0.72093 | 6 | 43 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 43 | 1 | 43 | 43 | 0.789474 | 0.837209 | 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 |
d4996450a80f623e6369948e86ffbcdc6cc23d6d | 21 | py | Python | ua_parser/__init__.py | kaltura/uap-python | bb3c5dc7820f1a42dc4e1f619451f6156925c5a7 | [
"Apache-2.0"
] | 1 | 2021-12-10T03:19:39.000Z | 2021-12-10T03:19:39.000Z | ua_parser/__init__.py | kaltura/uap-python | bb3c5dc7820f1a42dc4e1f619451f6156925c5a7 | [
"Apache-2.0"
] | null | null | null | ua_parser/__init__.py | kaltura/uap-python | bb3c5dc7820f1a42dc4e1f619451f6156925c5a7 | [
"Apache-2.0"
] | null | null | null | VERSION = (0, 15, 0)
| 10.5 | 20 | 0.52381 | 4 | 21 | 2.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.238095 | 21 | 1 | 21 | 21 | 0.4375 | 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 |
d4b8d96802b5a03dad082bf1f9bc6ea0d7a0cc82 | 5,758 | py | Python | tests/unit/dataactvalidator/test_b14_object_class_program_activity.py | RonSherfey/data-act-broker-backend | d287abda2cac06dd479ecf0127e789cb8e59387d | [
"CC0-1.0"
] | null | null | null | tests/unit/dataactvalidator/test_b14_object_class_program_activity.py | RonSherfey/data-act-broker-backend | d287abda2cac06dd479ecf0127e789cb8e59387d | [
"CC0-1.0"
] | 3 | 2021-08-22T11:47:45.000Z | 2022-03-29T22:06:49.000Z | tests/unit/dataactvalidator/test_b14_object_class_program_activity.py | RonSherfey/data-act-broker-backend | d287abda2cac06dd479ecf0127e789cb8e59387d | [
"CC0-1.0"
] | null | null | null | from dataactcore.models.stagingModels import ObjectClassProgramActivity
from dataactcore.models.domainModels import SF133
from tests.unit.dataactvalidator.utils import number_of_errors, query_columns
_FILE = 'b14_object_class_program_activity'
_TAS = 'b14_object_class_program_activity_tas'
def test_column_headers(d... | 71.08642 | 119 | 0.659778 | 649 | 5,758 | 5.397535 | 0.194145 | 0.074222 | 0.09135 | 0.038824 | 0.772481 | 0.736512 | 0.718242 | 0.718242 | 0.718242 | 0.718242 | 0 | 0.127874 | 0.274748 | 5,758 | 80 | 120 | 71.975 | 0.710967 | 0.079194 | 0 | 0.482759 | 0 | 0 | 0.124834 | 0.103743 | 0 | 0 | 0 | 0 | 0.051724 | 1 | 0.051724 | false | 0 | 0.051724 | 0 | 0.103448 | 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 |
d4c699095bab30ac430c91f63838de2026aced19 | 6,860 | py | Python | tests/tagulous_tests_migration/south_migrations_expected/0003_tree.py | marxide/django-tagulous | 80c057c5dd2dce85f4bb531b25d3b4982bd03e8f | [
"Apache-2.0"
] | null | null | null | tests/tagulous_tests_migration/south_migrations_expected/0003_tree.py | marxide/django-tagulous | 80c057c5dd2dce85f4bb531b25d3b4982bd03e8f | [
"Apache-2.0"
] | null | null | null | tests/tagulous_tests_migration/south_migrations_expected/0003_tree.py | marxide/django-tagulous | 80c057c5dd2dce85f4bb531b25d3b4982bd03e8f | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from south.db import db
from south.v2 import SchemaMigration
class Migration(SchemaMigration):
def forwards(self, orm):
# Removing unique constraint on 'Tagulous_MigrationTestModel_tags', fields ['slug']
db.delete_unique(
u"tagulous_tests_migration_tagulous_migr... | 39.425287 | 101 | 0.540962 | 579 | 6,860 | 6.136442 | 0.158895 | 0.219533 | 0.227976 | 0.112581 | 0.802139 | 0.779341 | 0.717422 | 0.63186 | 0.566001 | 0.488883 | 0 | 0.005168 | 0.323032 | 6,860 | 173 | 102 | 39.653179 | 0.759905 | 0.111224 | 0 | 0.475862 | 0 | 0 | 0.438599 | 0.33158 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013793 | false | 0 | 0.02069 | 0 | 0.055172 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d4c8fe78c6ae1996f8397aab862344b484c7173d | 22,801 | py | Python | prob4.py | reschly/cryptopals | 8cdb5e909a6385b0b6b5b1a9c1cde1b277d8e5a2 | [
"Apache-2.0"
] | 43 | 2015-03-16T17:14:51.000Z | 2021-02-18T17:23:28.000Z | prob4.py | HMY626/CryptoChallenge | 9100d6ba227a22aba5016f480ec8d361cfdf3779 | [
"Apache-2.0"
] | null | null | null | prob4.py | HMY626/CryptoChallenge | 9100d6ba227a22aba5016f480ec8d361cfdf3779 | [
"Apache-2.0"
] | 13 | 2015-03-16T17:14:55.000Z | 2019-11-14T21:38:32.000Z | #!/usr/bin/env python
# Written against python 3.3.1
# Matasano Problem 4
# Detect single-character XOR
# One of the 60-character strings at:
#
# https://gist.github.com/3132713
# has been encrypted by single-character XOR. Find it. (Your code from
# problem 3 should help.)
from prob3 import tryKey
from pr... | 63.160665 | 129 | 0.907986 | 795 | 22,801 | 26.027673 | 0.509434 | 0.002706 | 0.002513 | 0.00174 | 0.004011 | 0 | 0 | 0 | 0 | 0 | 0 | 0.682658 | 0.041007 | 22,801 | 360 | 130 | 63.336111 | 0.263651 | 0.020131 | 0 | 0 | 0 | 0 | 0.897715 | 0.893026 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002933 | false | 0 | 0.005865 | 0 | 0.008798 | 0.01173 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d4ce7130dd9278bd13b0e97a2ccbdb8eb4381baa | 124 | py | Python | protogen/stalk_proto/models_grpc.py | peake100/stalkreports-py | 4da5d11cd7dc27523c29948386ffc3da90b7588a | [
"MIT"
] | null | null | null | protogen/stalk_proto/models_grpc.py | peake100/stalkreports-py | 4da5d11cd7dc27523c29948386ffc3da90b7588a | [
"MIT"
] | 12 | 2020-04-25T22:13:57.000Z | 2020-05-24T16:24:59.000Z | protogen/stalk_proto/models_grpc.py | peake100/stalkbroker-py | 95bed6e6d89dc00b183b71d5d3fce7908c554ed9 | [
"MIT"
] | null | null | null | # Generated by the Protocol Buffers compiler. DO NOT EDIT!
# source: stalk_proto/models.proto
# plugin: grpclib.plugin.main
| 31 | 58 | 0.782258 | 18 | 124 | 5.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 124 | 3 | 59 | 41.333333 | 0.888889 | 0.943548 | 0 | null | 1 | 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 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.