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
64a9ccd535ddd10ca25f30241455f3ec16b79c98
442
py
Python
tests/test_script.py
mgorny/babelfish
62ee6f572585ed4d0d1cde51374aa7afdfe8aed2
[ "BSD-3-Clause" ]
18
2015-01-07T19:55:47.000Z
2022-03-05T00:04:48.000Z
tests/test_script.py
mgorny/babelfish
62ee6f572585ed4d0d1cde51374aa7afdfe8aed2
[ "BSD-3-Clause" ]
22
2015-01-06T11:49:47.000Z
2021-11-09T12:11:30.000Z
tests/test_script.py
mgorny/babelfish
62ee6f572585ed4d0d1cde51374aa7afdfe8aed2
[ "BSD-3-Clause" ]
13
2015-01-06T11:51:01.000Z
2021-08-16T09:35:49.000Z
import pickle import pytest from babelfish.script import Script def test_wrong_script(): with pytest.raises(ValueError): Script("Qwerty") def test_eq(): assert Script("Latn") == Script("Latn") def test_ne(): assert Script("Cyrl") != Script("Latn") def test_hash_eq(): assert hash(Script("Hir...
20.090909
71
0.669683
58
442
4.982759
0.37931
0.121107
0.110727
0.138408
0
0
0
0
0
0
0
0
0.162896
442
21
72
21.047619
0.781081
0
0
0
0
0
0.086168
0
0
0
0
0
0.285714
1
0.357143
true
0
0.214286
0
0.571429
0
0
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
0
1
0
0
3
64abf5beac0f77da8f89fd1ae0c057d80a0bdc2e
167
py
Python
home/osmc/DLP/dlp_lightcrafter-1.0.19/dlp_lightcrafter/version.py
bietiekay/TI_LightCrafter_DLP2000_OSMC_RaspberryPi
27f62f973f7d8c8cc3a49007599a7bf592d86289
[ "BSD-2-Clause" ]
3
2018-12-03T15:11:59.000Z
2021-07-17T16:25:16.000Z
home/osmc/DLP/dlp_lightcrafter-1.0.19/dlp_lightcrafter/version.py
bietiekay/TI_LightCrafter_DLP2000_OSMC_RaspberryPi
27f62f973f7d8c8cc3a49007599a7bf592d86289
[ "BSD-2-Clause" ]
1
2019-01-04T17:35:37.000Z
2019-01-04T17:35:37.000Z
home/osmc/DLP/dlp_lightcrafter-1.0.19/dlp_lightcrafter/version.py
bietiekay/TI_LightCrafter_DLP2000_OSMC_RaspberryPi
27f62f973f7d8c8cc3a49007599a7bf592d86289
[ "BSD-2-Clause" ]
1
2020-08-15T04:48:51.000Z
2020-08-15T04:48:51.000Z
# 1.0 # The following is appended by build.cmd -- do not edit!! repo = "https://dlp_cm/val/pico/dpp2607_redist" revision = "ff6ca9ee71cd" version = "1.0.19"
27.833333
59
0.658683
26
167
4.153846
0.923077
0.037037
0
0
0
0
0
0
0
0
0
0.103704
0.191617
167
5
60
33.4
0.696296
0.359281
0
0
1
0
0.571429
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
64acbb4846bce6fd9767f0d0839719be6954d86e
52
py
Python
seungjun-moon/sample_code/chapter7/ErrorCodeAndException/__init__.py
dev-msj/Clean-Code
9c83d6c5d0f2d755ed3ab0dc26c2ff53f531665a
[ "MIT" ]
null
null
null
seungjun-moon/sample_code/chapter7/ErrorCodeAndException/__init__.py
dev-msj/Clean-Code
9c83d6c5d0f2d755ed3ab0dc26c2ff53f531665a
[ "MIT" ]
null
null
null
seungjun-moon/sample_code/chapter7/ErrorCodeAndException/__init__.py
dev-msj/Clean-Code
9c83d6c5d0f2d755ed3ab0dc26c2ff53f531665a
[ "MIT" ]
null
null
null
import os ErrorCodeAndException_PATH = os.getcwd()
13
40
0.807692
6
52
6.833333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.115385
52
3
41
17.333333
0.891304
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
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
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
64b9c01039bb5afdc963906fb6cebb3a40a45b34
760
py
Python
tests/fixtures.py
pylipp/robber.py
e84bb0c3dd982a383f3d9da2bf334f94836a7507
[ "MIT" ]
23
2015-10-27T20:13:46.000Z
2021-12-22T03:18:29.000Z
tests/fixtures.py
pylipp/robber.py
e84bb0c3dd982a383f3d9da2bf334f94836a7507
[ "MIT" ]
70
2016-09-29T07:30:06.000Z
2020-08-26T06:42:50.000Z
tests/fixtures.py
pylipp/robber.py
e84bb0c3dd982a383f3d9da2bf334f94836a7507
[ "MIT" ]
10
2015-05-13T17:35:21.000Z
2021-05-06T12:40:01.000Z
from robber import expect from robber.matchers.base import Base class TestMatcher: def __init__(self, actual, expected, is_negative=False): expect(actual) == 'test' expect(expected) == 'bar' def match(self): return True def fail_with(self, message): return self class Te...
15.510204
60
0.632895
84
760
5.654762
0.428571
0.084211
0.058947
0.088421
0.105263
0
0
0
0
0
0
0
0.286842
760
48
61
15.833333
0.876384
0
0
0.322581
0
0
0.028947
0
0
0
0
0
0
1
0.225806
false
0.064516
0.064516
0.16129
0.774194
0
0
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
0
1
0
1
0
0
0
3
b37d3b27cced18e7efd3739457e11812202c8235
526
py
Python
st3/package_util/compat/package_control.py
Thom1729/package_util
3ddec00d8ab4a52f0f5ce3fe8b09247c1518547f
[ "MIT" ]
null
null
null
st3/package_util/compat/package_control.py
Thom1729/package_util
3ddec00d8ab4a52f0f5ce3fe8b09247c1518547f
[ "MIT" ]
null
null
null
st3/package_util/compat/package_control.py
Thom1729/package_util
3ddec00d8ab4a52f0f5ce3fe8b09247c1518547f
[ "MIT" ]
null
null
null
from .typing import List, Tuple try: from package_control.package_manager import PackageManager # type: ignore manager = PackageManager() def get_dependency_relationships() -> List[Tuple[str, str]]: return [ (name, dep) for name in (manager.list_packages() + manager.list_...
29.222222
79
0.655894
57
526
5.894737
0.491228
0.080357
0.095238
0.172619
0.297619
0.297619
0.297619
0.297619
0.297619
0
0
0
0.247148
526
17
80
30.941176
0.848485
0.058935
0
0.153846
0
0
0
0
0
0
0
0
0
1
0.153846
false
0
0.230769
0.153846
0.538462
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
0
0
0
0
1
1
0
0
3
b3cd7fea9840003a18d25c5ee57c06edea3b179c
253
py
Python
Data-Analytics/mean-variance-stddev-calculator/main.py
wonyk/fcc-python-projects
b51e04f1823fc29684c3660aff52d8cdf80e0355
[ "MIT" ]
3
2021-05-01T12:43:06.000Z
2021-09-14T13:57:32.000Z
Data-Analytics/mean-variance-stddev-calculator/main.py
wonyk/fcc-python-projects
b51e04f1823fc29684c3660aff52d8cdf80e0355
[ "MIT" ]
null
null
null
Data-Analytics/mean-variance-stddev-calculator/main.py
wonyk/fcc-python-projects
b51e04f1823fc29684c3660aff52d8cdf80e0355
[ "MIT" ]
1
2021-07-08T16:30:14.000Z
2021-07-08T16:30:14.000Z
# This entrypoint file to be used in development. Start by reading README.md import mean_var_std from unittest import main print(mean_var_std.calculate([2,6,2,8,4,0,1,5,7])) print() # Run unit tests automatically main(module='test_module', exit=False)
28.111111
76
0.774704
46
253
4.152174
0.826087
0.073298
0.104712
0
0
0
0
0
0
0
0
0.040179
0.114625
253
9
77
28.111111
0.8125
0.407115
0
0
0
0
0.074324
0
0
0
0
0
0
1
0
true
0
0.4
0
0.4
0.4
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
0
1
0
0
0
0
3
b3fc09ec6295843d72858f766cc15b8480f86db9
829
py
Python
integration-test-apps/auto-instrumentation/flask/application.py
wangzlei/aws-otel-python-1
1210a6a7feca53c2056afc325e26011d7d2d0207
[ "Apache-2.0" ]
18
2020-12-15T17:56:00.000Z
2021-12-30T04:41:27.000Z
integration-test-apps/auto-instrumentation/flask/application.py
wangzlei/aws-otel-python-1
1210a6a7feca53c2056afc325e26011d7d2d0207
[ "Apache-2.0" ]
20
2020-12-17T23:15:10.000Z
2022-03-29T20:11:23.000Z
integration-test-apps/auto-instrumentation/flask/application.py
wangzlei/aws-otel-python-1
1210a6a7feca53c2056afc325e26011d7d2d0207
[ "Apache-2.0" ]
13
2020-12-17T23:03:20.000Z
2022-03-11T19:41:49.000Z
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: MIT-0 # Configuration with auto-instrumentation is done using environment variables. # See the following variables: # - OTEL_PROPAGATORS=xray # - OTEL_PYTHON_ID_GENERATOR=xray # - OTEL_RESOURCE_ATTRIBUTES='service.name=aws-...
36.043478
79
0.791315
117
829
5.358974
0.675214
0.038278
0.035088
0.044657
0.057416
0
0
0
0
0
0
0.01511
0.121834
829
22
80
37.681818
0.846154
0.809409
0
0
0
0
0.055944
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
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
0
0
0
0
1
0
1
0
0
0
0
3
3733f5ad96d5f774ffe9f73198e0279ccbfc1567
3,080
py
Python
src/python/spacedog/molecular_example.py
damarkian/m-spacedog
4040bc8df1c176331d805d11f63dd18e5c6a5ea4
[ "MIT" ]
null
null
null
src/python/spacedog/molecular_example.py
damarkian/m-spacedog
4040bc8df1c176331d805d11f63dd18e5c6a5ea4
[ "MIT" ]
null
null
null
src/python/spacedog/molecular_example.py
damarkian/m-spacedog
4040bc8df1c176331d805d11f63dd18e5c6a5ea4
[ "MIT" ]
null
null
null
import os from typing import Tuple from pathlib import Path import numpy as np import openfermion as of import scipy as sp from .gradient_hf import rhf_minimization from .objective import (RestrictedHartreeFockObjective, generate_hamiltonian) def make_h6_2_1() -> Tuple[RestrictedHartreeFockObjective, ...
39.487179
91
0.599351
366
3,080
4.800546
0.224044
0.040979
0.045532
0.040979
0.756972
0.726238
0.726238
0.712578
0.673876
0.579397
0
0.020277
0.295455
3,080
78
92
39.487179
0.789401
0.012013
0
0.551724
0
0
0.081525
0.058185
0
0
0
0
0
1
0.034483
false
0
0.137931
0
0.206897
0
0
0
0
null
0
0
0
0
1
1
1
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
3
3762db86e01cda8ab297df90440477aafc152b6b
878
py
Python
test.py
vidurj/allennlp
0aec18ed8e076357dcfe0e89bb4078485e1e4e19
[ "Apache-2.0" ]
null
null
null
test.py
vidurj/allennlp
0aec18ed8e076357dcfe0e89bb4078485e1e4e19
[ "Apache-2.0" ]
null
null
null
test.py
vidurj/allennlp
0aec18ed8e076357dcfe0e89bb4078485e1e4e19
[ "Apache-2.0" ]
null
null
null
import atexit import os import signal import subprocess import time import sys import cmd import sys # class Interpreter(cmd.Cmd): # intro = 'Welcome. Type help or ? to list commands.\n' # prompt = '(teacher)' # file = None # # def do_solve(self, arg): # print('solving', arg) # # def do_le...
21.414634
59
0.561503
106
878
4.575472
0.481132
0.030928
0.049485
0.078351
0.121649
0.121649
0.121649
0.121649
0
0
0
0.009404
0.273349
878
40
60
21.95
0.750784
0.723235
0
0.181818
0
0
0.092593
0
0
0
0
0
0
1
0
true
0
0.727273
0
0.727273
0.272727
0
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
0
1
0
1
0
1
0
0
3
37778cffed22801f669ac3d6d8dbe2a8093dffa9
137
py
Python
archives/modules/execfile_test.py
mcxiaoke/python-labs
61c0a1f91008ba82fc2f5a5deb19e60aec9df960
[ "Apache-2.0" ]
7
2016-07-08T10:53:13.000Z
2021-07-20T00:20:10.000Z
archives/modules/execfile_test.py
mcxiaoke/python-labs
61c0a1f91008ba82fc2f5a5deb19e60aec9df960
[ "Apache-2.0" ]
1
2021-05-11T05:20:18.000Z
2021-05-11T05:20:18.000Z
archives/modules/execfile_test.py
mcxiaoke/python-labs
61c0a1f91008ba82fc2f5a5deb19e60aec9df960
[ "Apache-2.0" ]
7
2016-10-31T06:31:54.000Z
2020-08-31T20:55:00.000Z
# -*- coding: UTF-8 -*- # Created by mcxiaoke on 15/7/5 11:35. __author__ = 'mcxiaoke' x = 'hello' print "%s execfile test output " % x
19.571429
38
0.627737
22
137
3.727273
0.909091
0
0
0
0
0
0
0
0
0
0
0.081818
0.19708
137
6
39
22.833333
0.663636
0.423358
0
0
0
0
0.486842
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
3
377d043c0678b5142ffc06aa4175597656a727ab
41
py
Python
augmentation/algorithms.py
delftdata/auto-data-augmentation
46acd20aff5ff3081472d6a71bb2b01da9b513cb
[ "Apache-2.0" ]
null
null
null
augmentation/algorithms.py
delftdata/auto-data-augmentation
46acd20aff5ff3081472d6a71bb2b01da9b513cb
[ "Apache-2.0" ]
null
null
null
augmentation/algorithms.py
delftdata/auto-data-augmentation
46acd20aff5ff3081472d6a71bb2b01da9b513cb
[ "Apache-2.0" ]
null
null
null
CART = 'cart' ID3 = 'id3' XGB = 'XGBoost'
13.666667
15
0.585366
6
41
4
0.666667
0
0
0
0
0
0
0
0
0
0
0.060606
0.195122
41
3
15
13.666667
0.666667
0
0
0
0
0
0.333333
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
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
3
379530192267ba6815f5f372f37fcbbfa7c7f0af
2,385
py
Python
python/sum-of-multiples/sum_of_multiples_test.py
rootulp/exercism
312a053ad1d375752acf0fce062ee7b9c643a149
[ "MIT" ]
41
2015-02-09T18:08:45.000Z
2022-03-06T15:23:32.000Z
python/sum-of-multiples/sum_of_multiples_test.py
DucChuyenSoftwareEngineer/exercism
fb7820a1ba162b888a39f1b86cbe5d3ca3b15d4f
[ "MIT" ]
21
2019-12-28T17:47:06.000Z
2021-02-27T19:43:00.000Z
python/sum-of-multiples/sum_of_multiples_test.py
DucChuyenSoftwareEngineer/exercism
fb7820a1ba162b888a39f1b86cbe5d3ca3b15d4f
[ "MIT" ]
18
2016-04-29T14:35:12.000Z
2021-06-23T07:32:29.000Z
""" You can make the following assumptions about the inputs to the 'sum_of_multiples' function: * All input numbers are non-negative 'int's, i.e. natural numbers including zero. * A list of factors must be given, and its elements are unique and sorted in ascending order. """ import unittest from s...
34.071429
75
0.709015
347
2,385
4.512968
0.32853
0.060664
0.16986
0.224777
0.508301
0.402299
0.360153
0.145594
0.06258
0
0
0.066907
0.185325
2,385
69
76
34.565217
0.739063
0.151782
0
0
0
0
0.00397
0
0
0
0
0
0.421053
1
0.421053
false
0
0.052632
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
0
0
0
0
0
0
3
37c6c5210f2d90e388925e84dffea697005adcd7
128
py
Python
network/__init__.py
auroua/Udacity_Continuous_Control
fcc21f8682b745f55c2900616eac632f430ab828
[ "MIT" ]
1
2019-11-24T13:33:52.000Z
2019-11-24T13:33:52.000Z
network/__init__.py
auroua/Udacity_Continuous_Control
fcc21f8682b745f55c2900616eac632f430ab828
[ "MIT" ]
null
null
null
network/__init__.py
auroua/Udacity_Continuous_Control
fcc21f8682b745f55c2900616eac632f430ab828
[ "MIT" ]
null
null
null
from .PPONet import PPOPolicy from .A2CNet import A2CNet from .PPOACNet import PPOACNet __all__ = (PPOPolicy, A2CNet, PPOACNet)
25.6
39
0.804688
16
128
6.1875
0.4375
0
0
0
0
0
0
0
0
0
0
0.027027
0.132813
128
5
39
25.6
0.864865
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
1
0
0
null
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
0
0
0
0
3
809866bf13be19e1606023587f3720d0acb52990
2,212
py
Python
shop/migrations/0025_alter_kala_pic0_alter_kala_pic1_alter_kala_pic2_and_more.py
Amirhoseindzh/django-online-shopping
eb5e650453df72bf286269c756d5ac9baf3c3f6d
[ "Apache-2.0" ]
null
null
null
shop/migrations/0025_alter_kala_pic0_alter_kala_pic1_alter_kala_pic2_and_more.py
Amirhoseindzh/django-online-shopping
eb5e650453df72bf286269c756d5ac9baf3c3f6d
[ "Apache-2.0" ]
null
null
null
shop/migrations/0025_alter_kala_pic0_alter_kala_pic1_alter_kala_pic2_and_more.py
Amirhoseindzh/django-online-shopping
eb5e650453df72bf286269c756d5ac9baf3c3f6d
[ "Apache-2.0" ]
null
null
null
# Generated by Django 4.0 on 2022-02-23 06:46 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('shop', '0024_alter_kala_pic0_alter_kala_pic1_alter_kala_pic2_and_more'), ] operations = [ migrations.AlterField( model_name='kala'...
40.962963
186
0.618897
236
2,212
5.661017
0.283898
0.11976
0.149701
0.173653
0.747006
0.721557
0.666916
0.644461
0.644461
0.51497
0
0.08503
0.245027
2,212
53
187
41.735849
0.71497
0.019439
0
0.531915
1
0
0.264421
0.136133
0
0
0
0
0
1
0
false
0
0.021277
0
0.085106
0
0
0
0
null
0
0
1
0
1
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
0
0
0
0
0
0
0
3
80a85ac9e82e254f78274698f2730ba0374a92bb
1,658
py
Python
tests/test_tf_losses.py
moonson619/AI4Water-1
285d46824502b6a787e42570b72432f4f6acf45e
[ "MIT" ]
17
2021-05-21T13:01:52.000Z
2022-03-19T15:17:10.000Z
tests/test_tf_losses.py
moonson619/AI4Water-1
285d46824502b6a787e42570b72432f4f6acf45e
[ "MIT" ]
3
2021-10-31T22:40:28.000Z
2021-11-08T02:28:35.000Z
tests/test_tf_losses.py
moonson619/AI4Water-1
285d46824502b6a787e42570b72432f4f6acf45e
[ "MIT" ]
7
2021-08-06T07:27:50.000Z
2022-01-26T00:38:32.000Z
import unittest import os import sys import site # so that ai4water directory is in path ai4_dir = os.path.dirname(os.path.dirname(os.path.abspath(sys.argv[0]))) site.addsitedir(ai4_dir) import numpy as np import tensorflow as tf import tensorflow.keras.backend as K from ai4water.utils import tf_losses from ai4wat...
30.703704
105
0.714113
273
1,658
4.10989
0.267399
0.071301
0.178253
0.192513
0.430481
0.280749
0.083779
0.053476
0
0
0
0.027699
0.150784
1,658
54
106
30.703704
0.769176
0.035585
0
0
0
0
0.005009
0
0
0
0
0.018519
0.222222
1
0.222222
false
0
0.25
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
0
0
0
3
80da90fbfe472f8a00b486b66371622b96630009
602
py
Python
netdumplings/__init__.py
mjoblin/netdumplings
1ec3c4d80f302fe749e51171084ac05bbe57a701
[ "MIT" ]
2
2016-06-02T18:13:38.000Z
2020-03-05T08:41:10.000Z
netdumplings/__init__.py
mjoblin/netdumplings
1ec3c4d80f302fe749e51171084ac05bbe57a701
[ "MIT" ]
5
2016-11-25T02:35:51.000Z
2018-01-13T05:53:06.000Z
netdumplings/__init__.py
mjoblin/netdumplings
1ec3c4d80f302fe749e51171084ac05bbe57a701
[ "MIT" ]
null
null
null
from .dumpling import Dumpling, DumplingDriver from .dumplingchef import DumplingChef from .dumplingeater import DumplingEater from .exceptions import ( InvalidDumpling, InvalidDumplingPayload, NetDumplingsError, ) from .dumplinghub import DumplingHub from .dumplingkitchen import DumplingKitchen from ._version impo...
25.083333
63
0.785714
50
602
9.28
0.44
0.094828
0.232759
0
0
0
0
0
0
0
0
0.005976
0.166113
602
23
64
26.173913
0.918327
0.101329
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
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
0
1
0
1
0
0
0
0
3
80e51759ec1120da6a3771bca2603eb7bd43eb0a
7,179
py
Python
tests/generated/test.py
guzba/genny
7853df3b9b6cd96ffbb0f3f5e03356b26222ed04
[ "MIT" ]
null
null
null
tests/generated/test.py
guzba/genny
7853df3b9b6cd96ffbb0f3f5e03356b26222ed04
[ "MIT" ]
null
null
null
tests/generated/test.py
guzba/genny
7853df3b9b6cd96ffbb0f3f5e03356b26222ed04
[ "MIT" ]
null
null
null
from ctypes import * import os, sys dir = os.path.dirname(sys.modules["test"].__file__) if sys.platform == "win32": libName = "test.dll" elif sys.platform == "darwin": libName = "libtest.dylib" else: libName = "libtest.so" dll = cdll.LoadLibrary(os.path.join(dir, libName)) class testError(Exception): pass ...
28.488095
112
0.730742
1,119
7,179
4.163539
0.088472
0.112685
0.070831
0.09208
0.835802
0.745654
0.646705
0.523718
0.374973
0.283108
0
0.001353
0.176348
7,179
251
113
28.601594
0.786572
0.009054
0
0.337209
0
0
0.01456
0
0
0
0
0
0
1
0.215116
false
0.005814
0.011628
0.087209
0.389535
0
0
0
0
null
0
0
0
1
1
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
0
0
0
0
3
80e9277e4eb12c292f4f04589baf201af6430fd0
454
py
Python
examples/alex/struct-pruning/emmental/__init__.py
AlexHoffman9/transformers
6577c0cd0740ad342a01b9ef18562210905ee06e
[ "Apache-2.0" ]
null
null
null
examples/alex/struct-pruning/emmental/__init__.py
AlexHoffman9/transformers
6577c0cd0740ad342a01b9ef18562210905ee06e
[ "Apache-2.0" ]
null
null
null
examples/alex/struct-pruning/emmental/__init__.py
AlexHoffman9/transformers
6577c0cd0740ad342a01b9ef18562210905ee06e
[ "Apache-2.0" ]
null
null
null
# flake8: noqa from .configuration_bert_masked import MaskedBertConfig from .modeling_bert_masked import ( MaskedBertForMultipleChoice, MaskedBertForQuestionAnswering, MaskedBertForSequenceClassification, MaskedBertForTokenClassification, MaskedBertModel, ) from .configuration_bert_neuronmasked impo...
30.266667
67
0.839207
33
454
11.30303
0.575758
0.091153
0.112601
0
0
0
0
0
0
0
0
0.002506
0.121145
454
14
68
32.428571
0.932331
0.026432
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.384615
0
0.384615
0
0
0
1
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
0
1
0
1
0
0
0
0
3
80f08be0739f5cbf436dd57920fa3100594790fd
1,711
py
Python
tests/test_path.py
vitek/dictobj
75b18002d18eea1ef3d9e0dab1101db75d524f51
[ "MIT" ]
null
null
null
tests/test_path.py
vitek/dictobj
75b18002d18eea1ef3d9e0dab1101db75d524f51
[ "MIT" ]
null
null
null
tests/test_path.py
vitek/dictobj
75b18002d18eea1ef3d9e0dab1101db75d524f51
[ "MIT" ]
null
null
null
import pytest import dicty def test_basic_aliasing(): class Foo(dicty.DictObject): foo = dicty.DictField() foo_bar = dicty.DictField('fooBar') class Bar(dicty.DictObject): foo = dicty.DictField() foo_bar = dicty.DictField('fooBar') nested = dicty.TypedObj...
28.04918
59
0.637054
219
1,711
4.863014
0.150685
0.177465
0.225352
0.135211
0.713615
0.6723
0.615962
0.615962
0.615962
0.615962
0
0.003023
0.226768
1,711
60
60
28.516667
0.801965
0
0
0.534884
0
0
0.124489
0
0
0
0
0
0.465116
1
0.069767
false
0
0.046512
0
0.372093
0
0
0
0
null
0
1
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
039606afacb5b9021b59081b02fa247a2c962ead
255
py
Python
code/utils.py
nitchith/CarND-Advanced-Lane-Lines
8e9e4d369f95f2076aa3b99c9015ac95c20037fc
[ "MIT" ]
null
null
null
code/utils.py
nitchith/CarND-Advanced-Lane-Lines
8e9e4d369f95f2076aa3b99c9015ac95c20037fc
[ "MIT" ]
null
null
null
code/utils.py
nitchith/CarND-Advanced-Lane-Lines
8e9e4d369f95f2076aa3b99c9015ac95c20037fc
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt import numpy as np import cv2 def utils_plot(img, rows, cols, idx, title, cmap=None, fontsize=20): ax = plt.subplot(rows, cols, idx) ax.set_title(title, fontsize=fontsize) plt.imshow(img, cmap=cmap) return
25.5
68
0.713725
41
255
4.390244
0.609756
0.088889
0.122222
0
0
0
0
0
0
0
0
0.014286
0.176471
255
9
69
28.333333
0.842857
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.375
0
0.625
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
0
0
1
0
1
0
0
3
03b2831ec68ac1faa534eab1e74d03a5261b73d5
165
py
Python
katas/kyu_6/the_shell_game.py
the-zebulan/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
40
2016-03-09T12:26:20.000Z
2022-03-23T08:44:51.000Z
katas/kyu_6/the_shell_game.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
null
null
null
katas/kyu_6/the_shell_game.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
36
2016-11-07T19:59:58.000Z
2022-03-31T11:18:27.000Z
def find_the_ball(start, swaps): for a, b in swaps: if a == start: start = b elif b == start: start = a return start
20.625
32
0.478788
23
165
3.347826
0.565217
0.25974
0
0
0
0
0
0
0
0
0
0
0.436364
165
7
33
23.571429
0.827957
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.285714
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
0
0
0
0
0
3
03c03f60052940bfab5ef3ac5239d6fb05df052f
75
py
Python
tempCodeRunnerFile.py
CloudDevX/Easy-Engine
8d05dbd24c62fec96db0dee76e1b3f32ea431004
[ "Apache-2.0" ]
1
2021-11-03T16:07:42.000Z
2021-11-03T16:07:42.000Z
tempCodeRunnerFile.py
CloudDevX/Easy-Engine
8d05dbd24c62fec96db0dee76e1b3f32ea431004
[ "Apache-2.0" ]
null
null
null
tempCodeRunnerFile.py
CloudDevX/Easy-Engine
8d05dbd24c62fec96db0dee76e1b3f32ea431004
[ "Apache-2.0" ]
null
null
null
if player.air_timer < 6: player.vertical_momentum = -5
37.5
49
0.56
9
75
4.444444
0.888889
0
0
0
0
0
0
0
0
0
0
0.041667
0.36
75
2
49
37.5
0.791667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
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
0
0
0
0
0
3
03c8319ae1bd57665e0ad0ffeb03e13236f6eae5
149
py
Python
setup.py
yan12125/logcat-color
797bf57c59b78ba77102af0f9cb5eb731af65490
[ "Apache-2.0" ]
7
2019-04-08T13:06:39.000Z
2020-07-19T16:35:41.000Z
setup.py
yan12125/logcat-color
797bf57c59b78ba77102af0f9cb5eb731af65490
[ "Apache-2.0" ]
2
2019-04-08T10:24:19.000Z
2019-05-13T09:56:13.000Z
setup.py
yan12125/logcat-color
797bf57c59b78ba77102af0f9cb5eb731af65490
[ "Apache-2.0" ]
1
2021-08-24T20:34:33.000Z
2021-08-24T20:34:33.000Z
from setuptools import setup setup( # Can't be in setup.cfg # https://github.com/pypa/setuptools_scm/issues/181 use_scm_version=True, )
18.625
55
0.711409
23
149
4.478261
0.826087
0
0
0
0
0
0
0
0
0
0
0.02459
0.181208
149
7
56
21.285714
0.819672
0.47651
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
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
0
0
0
0
0
3
20784f235764f53c46db225b54304fed095673ed
181
py
Python
unit_tests/arithmetic/fib.py
jpages/twopy
d0ae42b02ee60cf432e716884f43ec6670bcae2b
[ "BSD-3-Clause" ]
7
2018-12-18T20:32:04.000Z
2021-05-30T04:20:22.000Z
unit_tests/arithmetic/fib.py
jpages/twopy
d0ae42b02ee60cf432e716884f43ec6670bcae2b
[ "BSD-3-Clause" ]
null
null
null
unit_tests/arithmetic/fib.py
jpages/twopy
d0ae42b02ee60cf432e716884f43ec6670bcae2b
[ "BSD-3-Clause" ]
1
2021-11-14T17:47:11.000Z
2021-11-14T17:47:11.000Z
def fib(n): if n<2: return 1 else: return fib(n-1)+fib(n-2) print(fib(1)) print(fib(5)) print(fib(10)) print(fib(20)) print(fib(-5)) #1 #8 #89 #10946 #1
9.05
32
0.524862
36
181
2.638889
0.416667
0.421053
0.189474
0
0
0
0
0
0
0
0
0.156716
0.259669
181
19
33
9.526316
0.552239
0.055249
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0
0
0.3
0.5
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
0
0
0
0
0
1
0
3
208f94e91aa9b89001698c3739af277c50bb93a1
156
py
Python
tests/functions/test_remove_columns.py
Eidhagen/pyjanitor
aebb8aed2e5557cd7085b843d9380d40ef5df53f
[ "MIT" ]
null
null
null
tests/functions/test_remove_columns.py
Eidhagen/pyjanitor
aebb8aed2e5557cd7085b843d9380d40ef5df53f
[ "MIT" ]
null
null
null
tests/functions/test_remove_columns.py
Eidhagen/pyjanitor
aebb8aed2e5557cd7085b843d9380d40ef5df53f
[ "MIT" ]
null
null
null
import pytest @pytest.mark.functions def test_remove_columns(dataframe): df = dataframe.remove_columns(columns=["a"]) assert len(df.columns) == 4
19.5
48
0.730769
21
156
5.285714
0.666667
0.234234
0
0
0
0
0
0
0
0
0
0.007463
0.141026
156
7
49
22.285714
0.820896
0
0
0
0
0
0.00641
0
0
0
0
0
0.2
1
0.2
false
0
0.2
0
0.4
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
0
0
0
0
0
3
20b80b93b59fc7824506c9b23248623827f53afe
336
py
Python
tests/test_shortcuts.py
astahlman/format-sql
0c93acbf5517ac8e05394621cc0507cac3d75e66
[ "BSD-2-Clause" ]
56
2015-03-20T13:10:31.000Z
2022-01-05T11:23:02.000Z
tests/test_shortcuts.py
astahlman/format-sql
0c93acbf5517ac8e05394621cc0507cac3d75e66
[ "BSD-2-Clause" ]
9
2015-08-20T21:03:42.000Z
2021-07-22T02:34:48.000Z
tests/test_shortcuts.py
astahlman/format-sql
0c93acbf5517ac8e05394621cc0507cac3d75e66
[ "BSD-2-Clause" ]
16
2016-04-24T02:09:44.000Z
2020-12-05T02:07:03.000Z
# -*- coding: utf-8 -*- """ format-sql Makes your SQL readable. Copyright (c) 2014, Friedrich Paetzke (paetzke@fastmail.fm) All rights reserved. """ import pytest from format_sql.parser import InvalidSQL from format_sql.shortcuts import format_sql def test_(): with pytest.raises(InvalidSQL): format_sql(...
18.666667
59
0.723214
47
336
5.06383
0.680851
0.189076
0.109244
0
0
0
0
0
0
0
0
0.017794
0.16369
336
17
60
19.764706
0.829181
0.416667
0
0
0
0
0.064171
0
0
0
0
0
0
1
0.166667
true
0
0.5
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
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
20d46bf18cdc2b673600933ff51454fbd7eb21d6
232
py
Python
src/enbuckets/urls.py
tingcar/PSEP
0a63ba14f034ee0b130a5b33aa349722ea821bfc
[ "Apache-2.0" ]
null
null
null
src/enbuckets/urls.py
tingcar/PSEP
0a63ba14f034ee0b130a5b33aa349722ea821bfc
[ "Apache-2.0" ]
null
null
null
src/enbuckets/urls.py
tingcar/PSEP
0a63ba14f034ee0b130a5b33aa349722ea821bfc
[ "Apache-2.0" ]
null
null
null
from django.conf.urls import patterns, include, url from django.conf import settings urlpatterns = patterns('enbuckets.views', #url(r'^medicines/', include('medicines.urls')), url(r'^$','enbucket',name='enbucket'), )
23.2
52
0.689655
28
232
5.714286
0.571429
0.125
0.175
0
0
0
0
0
0
0
0
0
0.137931
232
9
53
25.777778
0.8
0.202586
0
0
0
0
0.179348
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
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
0
0
0
0
3
20d4839a2fa8deaba8423d37dc40d42a71967b3d
56,981
py
Python
global_management.py
VUB-HYDR/2021_Nkwasa_et_al
33ad122c596cd8d5653bfdba185df8f0b7caf000
[ "MIT" ]
1
2022-03-04T11:26:24.000Z
2022-03-04T11:26:24.000Z
global_management.py
hulaba/2021_Nkwasa_etal_HESS
33ad122c596cd8d5653bfdba185df8f0b7caf000
[ "MIT" ]
null
null
null
global_management.py
hulaba/2021_Nkwasa_etal_HESS
33ad122c596cd8d5653bfdba185df8f0b7caf000
[ "MIT" ]
1
2022-03-04T11:26:20.000Z
2022-03-04T11:26:20.000Z
#!/usr/bin/env python '''this script generates the plant/harvest dates + irrigation + fertilization for rainfed & irrigated hrus for any specific period of time from global datasets Author : albert nkwasa Contact : albert.nkwasa@vub.be Date : 2021.04.13 ''' # Import modules import pandas as pd import x...
66.256977
417
0.583458
8,810
56,981
3.503178
0.056754
0.181188
0.063377
0.074653
0.74902
0.710527
0.685254
0.667174
0.655899
0.650909
0
0.085773
0.222495
56,981
859
418
66.334109
0.610862
0.064355
0
0.457101
1
0
0.141685
0.012814
0
0
0
0
0
1
0.011834
false
0.004438
0.014793
0
0.036982
0.014793
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4548ca4c2227c4de0468ac2003588cdeaefe8d33
175
py
Python
tracware/tests/tests_trac.py
un33k/django-tracware
0b0bf551663050a275e5824c02ada50eaf065278
[ "BSD-3-Clause" ]
null
null
null
tracware/tests/tests_trac.py
un33k/django-tracware
0b0bf551663050a275e5824c02ada50eaf065278
[ "BSD-3-Clause" ]
null
null
null
tracware/tests/tests_trac.py
un33k/django-tracware
0b0bf551663050a275e5824c02ada50eaf065278
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from django.test import TestCase class IracTestCase(TestCase): """ Trac Test """ def test_one(self): self.assertEqual(1, 1)
14.583333
32
0.588571
21
175
4.857143
0.761905
0
0
0
0
0
0
0
0
0
0
0.023256
0.262857
175
11
33
15.909091
0.767442
0.182857
0
0
0
0
0
0
0
0
0
0
0.25
1
0.25
false
0
0.25
0
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
0
0
0
0
1
0
0
3
4587b421ac68cabecd273c4aa4a4d3789096f3ad
26
py
Python
code/__init__.py
Hyuntae-91/Music_Genre_Classification
6be9bb54fbcbc38c1e37cde7078a697878bb37ba
[ "MIT" ]
null
null
null
code/__init__.py
Hyuntae-91/Music_Genre_Classification
6be9bb54fbcbc38c1e37cde7078a697878bb37ba
[ "MIT" ]
2
2018-10-04T05:05:01.000Z
2018-10-04T05:10:19.000Z
code/__init__.py
Hyuntae-91/Music_Genre_Classification
6be9bb54fbcbc38c1e37cde7078a697878bb37ba
[ "MIT" ]
null
null
null
__all__=['Data_Training']
13
25
0.769231
3
26
5
1
0
0
0
0
0
0
0
0
0
0
0
0.038462
26
1
26
26
0.6
0
0
0
0
0
0.5
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
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
3
45a2d8754fa5af641fa4c56857257bb8c46dc7ac
164
py
Python
lib/setup_test1.py
aabbcc23/pytorch_FPN_Rnn_windows
4d3a71839f2c40cca5a517faf415985c6913512f
[ "Apache-2.0" ]
6
2018-11-28T08:09:40.000Z
2020-12-06T10:07:29.000Z
lib/setup_test1.py
aabbcc23/pytorch_FPN_Rnn_windows
4d3a71839f2c40cca5a517faf415985c6913512f
[ "Apache-2.0" ]
1
2020-02-01T02:42:32.000Z
2020-02-01T02:42:32.000Z
lib/setup_test1.py
aabbcc23/pytorch_FPN_Rnn_windows
4d3a71839f2c40cca5a517faf415985c6913512f
[ "Apache-2.0" ]
1
2019-05-22T01:33:36.000Z
2019-05-22T01:33:36.000Z
# build.py from torch.utils.ffi import create_extension ffi = create_extension( name='my_lib', headers='test1.h', sources=['test1.c'], with_cuda=False ) ffi.build()
18.222222
44
0.75
26
164
4.576923
0.769231
0.252101
0
0
0
0
0
0
0
0
0
0.013333
0.085366
164
9
45
18.222222
0.78
0.04878
0
0
0
0
0.129032
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
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
0
0
0
0
0
3
45c47fb2e36348bbc014d4ef132bf7726c672ce6
543
py
Python
tests/conftest.py
kaixinguo360/genpac
2979ff95192c111dd7fdb612dc1c59552f5907c2
[ "MIT" ]
2,331
2015-01-22T02:59:22.000Z
2022-03-25T14:31:52.000Z
tests/conftest.py
surichard/genpac
2f466d28f403a9a5624e02edcd538475fe475fc8
[ "MIT" ]
38
2015-04-25T10:06:23.000Z
2022-03-07T08:22:41.000Z
tests/conftest.py
surichard/genpac
2f466d28f403a9a5624e02edcd538475fe475fc8
[ "MIT" ]
398
2015-02-06T03:35:49.000Z
2022-02-19T18:20:33.000Z
# -*- coding: utf-8 -*- from __future__ import (unicode_literals, absolute_import, division, print_function) import os import shutil from pytest import fixture from tests.util import join_etc, _TMP_DIR @fixture(scope='session') def config_file(): return join_etc('config.ini') @fixture(sco...
23.608696
58
0.6814
72
543
4.847222
0.569444
0.068768
0.108883
0
0
0
0
0
0
0
0
0.002309
0.202578
543
22
59
24.681818
0.803695
0.14733
0
0
0
0
0.052402
0
0
0
0
0
0
1
0.133333
true
0
0.333333
0.066667
0.533333
0.066667
0
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
0
1
0
1
0
1
0
0
3
45e1bb4e0b0b1607fff7205a98942b28fa068817
1,579
py
Python
app/concurrency/position_authentication.py
acutaia/serengeti
1e1afb8a85a43c55407db03ab021f354a669ea22
[ "Apache-2.0" ]
2
2021-04-13T07:43:40.000Z
2021-12-21T16:12:53.000Z
app/concurrency/position_authentication.py
acutaia/serengeti
1e1afb8a85a43c55407db03ab021f354a669ea22
[ "Apache-2.0" ]
81
2021-06-01T14:14:04.000Z
2022-03-29T06:28:43.000Z
app/concurrency/position_authentication.py
acutaia/serengeti
1e1afb8a85a43c55407db03ab021f354a669ea22
[ "Apache-2.0" ]
null
null
null
""" Position Authentication concurrency :author: Angelo Cutaia :copyright: Copyright 2021, LINKS Foundation :version: 1.0.0 .. Copyright 2021 LINKS Foundation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obta...
29.240741
94
0.604813
178
1,579
5.320225
0.550562
0.063358
0.047518
0.050686
0.077086
0.057022
0
0
0
0
0
0.016566
0.158961
1,579
53
95
29.792453
0.696536
0.769474
0
0.272727
0
0
0
0
0
0
0
0
0
1
0.272727
true
0
0.181818
0
0.727273
0
0
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
0
1
0
0
3
aff5dfd9e95c9f0176b31607132d52553079cc4c
277
py
Python
main/count-all-possible-paths-from-top-left-to-bottom-right/count-all-possible-paths-from-top-left-to-bottom-right.py
EliahKagan/old-practice-snapshot
1b53897eac6902f8d867c8f154ce2a489abb8133
[ "0BSD" ]
null
null
null
main/count-all-possible-paths-from-top-left-to-bottom-right/count-all-possible-paths-from-top-left-to-bottom-right.py
EliahKagan/old-practice-snapshot
1b53897eac6902f8d867c8f154ce2a489abb8133
[ "0BSD" ]
null
null
null
main/count-all-possible-paths-from-top-left-to-bottom-right/count-all-possible-paths-from-top-left-to-bottom-right.py
EliahKagan/old-practice-snapshot
1b53897eac6902f8d867c8f154ce2a489abb8133
[ "0BSD" ]
null
null
null
#!/usr/bin/env python3 from math import factorial MOD = 10**9 + 7 def compute_path_count(n, m): return factorial(n + m) // factorial(n) // factorial(m) for _ in range(int(input())): n, m = map(int, input().split()) print(compute_path_count(n - 1, m - 1) % MOD)
21.307692
59
0.624549
46
277
3.652174
0.608696
0.035714
0.190476
0.202381
0
0
0
0
0
0
0
0.031532
0.198556
277
12
60
23.083333
0.725225
0.075812
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0.142857
0.428571
0.142857
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
3
affc9cb44cbf0e1e5ecdc3ae1c2779e355e20b3d
93
py
Python
fastcord/utils/dict.py
dskprt/botnolib
dd17aff956df0a54838980257249a7dfb725ab23
[ "MIT" ]
3
2020-03-17T13:08:42.000Z
2021-07-07T10:58:04.000Z
fastcord/utils/dict.py
dskprt/botnolib
dd17aff956df0a54838980257249a7dfb725ab23
[ "MIT" ]
1
2020-04-07T12:46:09.000Z
2020-04-07T12:46:09.000Z
fastcord/utils/dict.py
dskprt/botnolib
dd17aff956df0a54838980257249a7dfb725ab23
[ "MIT" ]
1
2020-04-12T17:37:32.000Z
2020-04-12T17:37:32.000Z
def try_get_value(obj, key): try: return obj[key] except: return None
18.6
28
0.569892
13
93
3.923077
0.692308
0.235294
0
0
0
0
0
0
0
0
0
0
0.344086
93
5
29
18.6
0.836066
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.6
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b31a3c623daabf457578bf2d7bb1b99d68bf7261
255
py
Python
ml_workflow/misc_utils/time_it.py
BenjaminHabert/ml_workflow
266e503e895defe510d657a2a54ea19623f9e181
[ "MIT" ]
1
2021-02-03T17:45:09.000Z
2021-02-03T17:45:09.000Z
ml_workflow/misc_utils/time_it.py
BenjaminHabert/ml_workflow
266e503e895defe510d657a2a54ea19623f9e181
[ "MIT" ]
1
2021-01-25T15:56:44.000Z
2021-01-25T15:56:44.000Z
ml_workflow/misc_utils/time_it.py
BenjaminHabert/ml_workflow
266e503e895defe510d657a2a54ea19623f9e181
[ "MIT" ]
1
2021-02-03T17:45:16.000Z
2021-02-03T17:45:16.000Z
import time class TimeIt: def __enter__(self): self.begin = time.time() return self def __exit__(self, *args, **kwargs): self.end = time.time() def duration(self): return self.end - self.begin
21.25
40
0.552941
30
255
4.433333
0.466667
0.135338
0
0
0
0
0
0
0
0
0
0
0.337255
255
12
41
21.25
0.786982
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.111111
0.111111
0.777778
0
0
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
0
0
0
1
1
0
0
3
b34079d836b79ac9986d0a7f10a978a7ed4294aa
130
py
Python
src/web_app/presentation/site/__init__.py
nevtum/btc-assistant
1995056276f0c640b72cc12f6f8d933994f8404d
[ "MIT" ]
null
null
null
src/web_app/presentation/site/__init__.py
nevtum/btc-assistant
1995056276f0c640b72cc12f6f8d933994f8404d
[ "MIT" ]
1
2020-05-16T15:43:31.000Z
2020-05-16T15:43:31.000Z
src/web_app/presentation/site/__init__.py
nevtum/btc-assistant
1995056276f0c640b72cc12f6f8d933994f8404d
[ "MIT" ]
null
null
null
from fastapi import APIRouter router = APIRouter() from . import views def configure_app(app): app.include_router(router)
13
30
0.753846
17
130
5.647059
0.588235
0.125
0
0
0
0
0
0
0
0
0
0
0.169231
130
9
31
14.444444
0.888889
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
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
0
0
1
0
0
0
0
3
b35d4e50a8982ae8993f2ba27ecb7ccd073f6fe4
572
py
Python
get_pe.py
heyjinyocho/Antivirus
35ccef9b2aacc978e7ab79cfd07848fc92259577
[ "MIT" ]
null
null
null
get_pe.py
heyjinyocho/Antivirus
35ccef9b2aacc978e7ab79cfd07848fc92259577
[ "MIT" ]
1
2021-06-02T00:32:33.000Z
2021-06-02T00:32:33.000Z
get_pe.py
DBrider3/OSS_assignment
0914a8ff73dd1382d5b8916be77918e2b0e9a2d9
[ "MIT" ]
null
null
null
import pefile pe = pefile.PE("a.out") print hex(pe.VS_VERSIONINFO.Length) print hex(pe.VS_VERSIONINFO.Type) print hex(pe.VS_VERSIONINFO.ValueLength) print hex(pe.VS_FIXEDFILEINFO.Signature) print hex(pe.VS_FIXEDFILEINFO.FileFlags) print hex(pe.VS_FIXEDFILEINFO.FileOS) for fileinfo in pe.FileInfo: if fileinfo.Key == ...
31.777778
49
0.706294
86
572
4.627907
0.372093
0.120603
0.150754
0.180905
0.361809
0
0
0
0
0
0
0.006211
0.155594
572
17
50
33.647059
0.817805
0
0
0
0
0
0.073427
0
0
0
0
0
0
0
null
null
0
0.0625
null
null
0.5
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
1
0
0
0
0
0
0
1
0
3
b35de01b56e43138403ec288a1265af1154ee55a
94
py
Python
calculator/__init__.py
chlemagne/python-oop-calculator
0259ce0f7a72faab60b058588a6838fe107e88eb
[ "MIT" ]
null
null
null
calculator/__init__.py
chlemagne/python-oop-calculator
0259ce0f7a72faab60b058588a6838fe107e88eb
[ "MIT" ]
null
null
null
calculator/__init__.py
chlemagne/python-oop-calculator
0259ce0f7a72faab60b058588a6838fe107e88eb
[ "MIT" ]
null
null
null
""" Global constants. """ import os BASE_DIR = os.path.dirname(os.path.realpath(__file__))
11.75
54
0.702128
13
94
4.692308
0.769231
0.196721
0
0
0
0
0
0
0
0
0
0
0.12766
94
7
55
13.428571
0.743902
0.180851
0
0
0
0
0
0
0
0
0
0
0
1
0
false
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
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
b36acb3d03a8edb47b1e3ac6c298d9c5b3750a05
366
py
Python
api/admin.py
bekzodergashev1/al-safar.uz-back
d9e25da476075ec1170565887be572b405a5e12c
[ "MIT" ]
null
null
null
api/admin.py
bekzodergashev1/al-safar.uz-back
d9e25da476075ec1170565887be572b405a5e12c
[ "MIT" ]
null
null
null
api/admin.py
bekzodergashev1/al-safar.uz-back
d9e25da476075ec1170565887be572b405a5e12c
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import * from mapbox_location_field.admin import MapAdmin # Register your models here. admin.site.register(User) admin.site.register(Driver) admin.site.register(Country) admin.site.register(Province) admin.site.register(District) admin.site.register(Station, MapAdmin) admi...
28.153846
48
0.822404
52
366
5.75
0.423077
0.240803
0.45485
0
0
0
0
0
0
0
0
0
0.071038
366
13
49
28.153846
0.879412
0.071038
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.272727
0
0.272727
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
0
0
0
0
0
3
2fa1705f6f72474a3be27a3c33e79637c1b29d88
1,379
py
Python
tests/reporters/test_base_reporters.py
kuc2477/news
215f87e6ce1a7fc99175596e6fd5b4b50a3179c6
[ "MIT" ]
2
2016-01-21T04:16:57.000Z
2016-04-27T04:46:13.000Z
tests/reporters/test_base_reporters.py
kuc2477/news
215f87e6ce1a7fc99175596e6fd5b4b50a3179c6
[ "MIT" ]
null
null
null
tests/reporters/test_base_reporters.py
kuc2477/news
215f87e6ce1a7fc99175596e6fd5b4b50a3179c6
[ "MIT" ]
null
null
null
import functools def test_enhance_dispatch(mocker, django_root_url_reporter): def middleware(reporter, dispatch): @functools.wraps(dispatch) def enhanced(): news_list = dispatch() return [1, 2, 3] + news_list return enhanced mocker.patch.object(django_root_url_...
37.27027
85
0.732415
186
1,379
5.064516
0.209677
0.169851
0.220807
0.356688
0.627389
0.494692
0.33121
0.33121
0.229299
0.118896
0
0.016551
0.167513
1,379
36
86
38.305556
0.804007
0
0
0.142857
0
0
0.009427
0
0
0
0
0
0.214286
1
0.25
false
0
0.035714
0.035714
0.428571
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
0
0
0
0
3
2fb2cab4e0a8d0ba0de9dc176ff5275742946184
113
py
Python
picameras/server/config.py
HighSoftWare96/py-games
b2700764b194c23442d04378d4b3773be71adf70
[ "Apache-2.0" ]
null
null
null
picameras/server/config.py
HighSoftWare96/py-games
b2700764b194c23442d04378d4b3773be71adf70
[ "Apache-2.0" ]
null
null
null
picameras/server/config.py
HighSoftWare96/py-games
b2700764b194c23442d04378d4b3773be71adf70
[ "Apache-2.0" ]
null
null
null
import json print(__file__) with open('./server-config.json') as config_file: config = json.load(config_file)
28.25
49
0.752212
17
113
4.647059
0.588235
0.253165
0
0
0
0
0
0
0
0
0
0
0.115044
113
4
50
28.25
0.79
0
0
0
0
0
0.175439
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
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
0
0
0
0
0
3
2fb36ca0c39aee990a945d980b51a2775417b5a2
1,018
py
Python
app/clients/database.py
PlamenHristov/crypto-trader
d06eabd728aa2f761c150b5d9555e29801ef0b09
[ "MIT" ]
null
null
null
app/clients/database.py
PlamenHristov/crypto-trader
d06eabd728aa2f761c150b5d9555e29801ef0b09
[ "MIT" ]
null
null
null
app/clients/database.py
PlamenHristov/crypto-trader
d06eabd728aa2f761c150b5d9555e29801ef0b09
[ "MIT" ]
null
null
null
class DatabaseClient: def __init__(self): pass @classmethod def convert_str(cls, val): if isinstance(val, str): return "'" + val + "'" elif isinstance(val, bytes): return "'" + str(val) + "'" elif isinstance(val, int): return str(val) ...
30.848485
120
0.564833
118
1,018
4.771186
0.483051
0.08881
0.092362
0.106572
0.10302
0.10302
0
0
0
0
0
0.002841
0.308448
1,018
32
121
31.8125
0.796875
0
0
0.192308
0
0.038462
0.09332
0
0
0
0
0
0
1
0.269231
false
0.038462
0
0.192308
0.653846
0
0
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
0
0
0
1
1
0
0
3
2fb8ac27243cdd737561f1e791fe2558c31cff0f
36
py
Python
ifc_blender/__init__.py
brean/python-ifc-blender
f8382ad7f03235c58d2e327afff1aa8e5bda0ac3
[ "Apache-2.0" ]
18
2019-02-14T06:38:28.000Z
2022-03-09T13:39:57.000Z
ifc_blender/__init__.py
brean/python-ifc-blender
f8382ad7f03235c58d2e327afff1aa8e5bda0ac3
[ "Apache-2.0" ]
null
null
null
ifc_blender/__init__.py
brean/python-ifc-blender
f8382ad7f03235c58d2e327afff1aa8e5bda0ac3
[ "Apache-2.0" ]
3
2019-05-13T15:38:09.000Z
2021-03-18T18:59:57.000Z
__all__ = ['ifc_helper', 'actions']
18
35
0.666667
4
36
4.75
1
0
0
0
0
0
0
0
0
0
0
0
0.111111
36
1
36
36
0.59375
0
0
0
0
0
0.472222
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
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
3
2fc59821e555cc725c1675c3591cec020629ec39
381
py
Python
tests/00_ffprobe_parse_test.py
MawKKe/audiobook-split-ffmpeg
27f0166c86ad1053fe42ac3c6a3c465a6cbc7793
[ "Apache-2.0" ]
1
2022-02-18T08:07:19.000Z
2022-02-18T08:07:19.000Z
tests/00_ffprobe_parse_test.py
MawKKe/audiobook-split-ffmpeg
27f0166c86ad1053fe42ac3c6a3c465a6cbc7793
[ "Apache-2.0" ]
null
null
null
tests/00_ffprobe_parse_test.py
MawKKe/audiobook-split-ffmpeg
27f0166c86ad1053fe42ac3c6a3c465a6cbc7793
[ "Apache-2.0" ]
null
null
null
from audiobook_split_ffmpeg import ffprobe_read_chapters from testdata import beep, beep_nochap def test_file_with_chapters(): chapters = ffprobe_read_chapters(beep["file"]) assert chapters == beep["expected_chapters"] def test_file_without_chapters(): chapters = ffprobe_read_chapters(beep_nochap["file"]...
25.4
57
0.784777
48
381
5.833333
0.375
0.171429
0.203571
0.192857
0.278571
0.278571
0
0
0
0
0
0
0.128609
381
14
58
27.214286
0.843373
0
0
0
0
0
0.111111
0
0
0
0
0
0.25
1
0.25
false
0
0.25
0
0.5
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
0
0
0
0
3
2fd57b6362c13d9587c27056234afb0f783da547
134
py
Python
py_tdlib/constructors/push_message_content_poll.py
Mr-TelegramBot/python-tdlib
2e2d21a742ebcd439971a32357f2d0abd0ce61eb
[ "MIT" ]
24
2018-10-05T13:04:30.000Z
2020-05-12T08:45:34.000Z
py_tdlib/constructors/push_message_content_poll.py
MrMahdi313/python-tdlib
2e2d21a742ebcd439971a32357f2d0abd0ce61eb
[ "MIT" ]
3
2019-06-26T07:20:20.000Z
2021-05-24T13:06:56.000Z
py_tdlib/constructors/push_message_content_poll.py
MrMahdi313/python-tdlib
2e2d21a742ebcd439971a32357f2d0abd0ce61eb
[ "MIT" ]
5
2018-10-05T14:29:28.000Z
2020-08-11T15:04:10.000Z
from ..factory import Type class pushMessageContentPoll(Type): question = None # type: "string" is_pinned = None # type: "Bool"
19.142857
35
0.708955
16
134
5.875
0.75
0.170213
0
0
0
0
0
0
0
0
0
0
0.179104
134
6
36
22.333333
0.854545
0.201493
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
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
0
0
1
0
0
3
2fd97d51e3b82bc79757b43ad6a0f788c9f9847e
1,936
py
Python
spresso/model/base.py
lujung/python-spresso
32e0229abe9e18bbbe487184645d66ed1ed95a05
[ "MIT" ]
null
null
null
spresso/model/base.py
lujung/python-spresso
32e0229abe9e18bbbe487184645d66ed1ed95a05
[ "MIT" ]
1
2017-03-01T20:10:56.000Z
2017-03-01T20:10:56.000Z
spresso/model/base.py
lujung/python-spresso
32e0229abe9e18bbbe487184645d66ed1ed95a05
[ "MIT" ]
null
null
null
import json import re from urllib.parse import urlparse from jsonschema import validate from spresso.utils.base import get_resource, get_url class Composition(dict): def __getattr__(self, item): return self[item] def __setattr__(self, key, value): self[key] = value def to_json(self): ...
23.609756
71
0.643079
242
1,936
4.842975
0.322314
0.068259
0.030717
0.02901
0
0
0
0
0
0
0
0.002038
0.239669
1,936
81
72
23.901235
0.794158
0
0
0.107143
0
0
0.021694
0.012913
0
0
0
0
0
1
0.285714
false
0
0.089286
0.160714
0.696429
0
0
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
0
0
0
1
1
0
0
3
2fef38c4f2506521f48db7d6acfbfa3bc9de8985
109
py
Python
scripts/npc/1033001.py
hsienjan/SideQuest-Server
3e88debaf45615b759d999255908f99a15283695
[ "MIT" ]
null
null
null
scripts/npc/1033001.py
hsienjan/SideQuest-Server
3e88debaf45615b759d999255908f99a15283695
[ "MIT" ]
null
null
null
scripts/npc/1033001.py
hsienjan/SideQuest-Server
3e88debaf45615b759d999255908f99a15283695
[ "MIT" ]
null
null
null
# Ethos (1033001) | Frozen Fairy Forest : Elluel | Part of Mercedes Intro Questline sm.sendNext("check")
21.8
85
0.715596
14
109
5.571429
1
0
0
0
0
0
0
0
0
0
0
0.078652
0.183486
109
4
86
27.25
0.797753
0.761468
0
0
0
0
0.217391
0
0
0
0
0
0
1
0
true
0
0
0
0
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
0
0
0
0
0
3
2ff39b00c364ea86deb2c90197a6c6f65b2f1e8e
881
py
Python
tests/test_trh.py
paulocheque/tornado-rest-handler
4c1ad16cd43ef088287c2ee188563f6d4696e6a2
[ "Apache-2.0", "MIT" ]
55
2015-01-06T11:01:06.000Z
2022-02-01T17:23:24.000Z
tests/test_trh.py
hzruandd/tornado-rest-handler
4c1ad16cd43ef088287c2ee188563f6d4696e6a2
[ "Apache-2.0", "MIT" ]
1
2015-06-22T09:15:29.000Z
2015-06-22T09:15:29.000Z
tests/test_trh.py
hzruandd/tornado-rest-handler
4c1ad16cd43ef088287c2ee188563f6d4696e6a2
[ "Apache-2.0", "MIT" ]
13
2015-04-21T01:38:18.000Z
2021-04-25T15:42:34.000Z
# coding: utf-8 import unittest from nose.tools import raises import tornado.web import python_rest_handler from tornado_rest_handler import * # All tests moved to the python-rest-handler library class Model(object): pass class TemplatePathTests(unittest.TestCase): def test_rest_routes(self): cls =...
31.464286
88
0.741203
106
881
6.018868
0.471698
0.200627
0.079937
0.141066
0.155172
0
0
0
0
0
0
0.004054
0.160045
881
27
89
32.62963
0.858108
0.072645
0
0
0
0
0.034398
0
0
0
0
0
0.444444
1
0.055556
false
0.055556
0.277778
0
0.444444
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
1
0
0
0
0
0
3
643c6bc30b01b37a7a4941a389cd64e1f9090dc2
398,739
py
Python
Data/scigrid-de/pypower/scigrid_2011_01_08_01.py
thanever/SOC
9f30d1a9c7610a68de9c178a1170bdf1c8ca11d4
[ "MIT" ]
null
null
null
Data/scigrid-de/pypower/scigrid_2011_01_08_01.py
thanever/SOC
9f30d1a9c7610a68de9c178a1170bdf1c8ca11d4
[ "MIT" ]
null
null
null
Data/scigrid-de/pypower/scigrid_2011_01_08_01.py
thanever/SOC
9f30d1a9c7610a68de9c178a1170bdf1c8ca11d4
[ "MIT" ]
null
null
null
from numpy import array def scigrid_2011_01_08_01(): ppc = {"version": '2'} ppc["baseMVA"] = 100.0 ppc["bus"] = array([ [586, 3, 0, 0, 0, 0, 0, 1.0, 0, 220.0, 0, 1.1, 0.9 ], [589, 2, 0, 0, 0, 0, 0, 1.0, 0, 380.0, 0, 1.1, 0.9 ], [590, 2, 0, 0, 0, 0, 0, 1.0, 0, 380.0, 0, 1.1,...
70.962627
137
0.463647
76,028
398,739
2.431328
0.083903
0.194981
0.176155
0.18454
0.463194
0.462561
0.437952
0.426224
0.362653
0.362079
0
0.670078
0.312139
398,739
5,619
138
70.962627
0.003872
0
0
0.00089
0
0
0.000339
0
0
0
0
0
0
1
0.000178
false
0
0.000178
0
0.000534
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ff2843d64cdd2bae5f15a25a84817a7123b792c9
1,183
py
Python
hw04/01.py
filipe1992/Teoria-da-computa-o
5a17f44b0c32ed93f7bc54f86fd3e3cb6a844f6b
[ "Unlicense" ]
null
null
null
hw04/01.py
filipe1992/Teoria-da-computa-o
5a17f44b0c32ed93f7bc54f86fd3e3cb6a844f6b
[ "Unlicense" ]
null
null
null
hw04/01.py
filipe1992/Teoria-da-computa-o
5a17f44b0c32ed93f7bc54f86fd3e3cb6a844f6b
[ "Unlicense" ]
null
null
null
''' Created on 30 de nov de 2018 @author: filiped ''' Q = ''' 1. Implemente em uma linguagem de programação à sua escolha AFDs que aceitem as seguintes cadeias: a) Todas as cadeias em (0,1)* que representam cada “1” seguido imediatamente de dois “0”. b) Todas as cadeias em (a,b)* de modo que o últ...
29.575
93
0.549451
221
1,183
2.895928
0.307692
0.08125
0.1125
0.16875
0.373438
0.326563
0.326563
0.326563
0.1125
0
0
0.027964
0.244294
1,183
40
94
29.575
0.687919
0.038884
0
0.074074
0
0.037037
0.317699
0
0
0
0
0
0
1
0.333333
false
0
0.037037
0.259259
0.37037
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
0
0
0
1
0
0
0
3
ff60ff237092b138751ec6602ff5191effab427c
531
py
Python
engine/agent.py
shihaocao/swarm
c5e5162aba43060eb01963671aa458d3cd173975
[ "MIT" ]
1
2021-01-15T21:57:49.000Z
2021-01-15T21:57:49.000Z
engine/agent.py
shihaocao/swarm
c5e5162aba43060eb01963671aa458d3cd173975
[ "MIT" ]
null
null
null
engine/agent.py
shihaocao/swarm
c5e5162aba43060eb01963671aa458d3cd173975
[ "MIT" ]
null
null
null
import random class Agent: def __init__(self, team: int, id_num: int, pos_x: int, pos_y: int): self._id_num = id_num self._x = pos_x self._y = pos_y self._age = 0 self._dir = 0 self._team = team def get_fire(self) -> int: return random.ra...
24.136364
71
0.517891
77
531
3.272727
0.324675
0.059524
0.047619
0.150794
0.214286
0.214286
0
0
0
0
0
0.020958
0.370998
531
22
72
24.136364
0.733533
0
0
0
0
0
0
0
0
0
0
0
0
1
0.294118
false
0
0.058824
0.176471
0.588235
0
0
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
0
0
0
1
1
0
0
3
ff87e095f0dc0690eee1bcece7be455b83a4a05e
1,190
py
Python
userbot/plugins/maan.py
yu9ohde/Marshmellow
145c90470701c972ab458483ac1b9320d1a44e8e
[ "MIT" ]
2
2020-12-06T03:46:08.000Z
2022-02-19T20:34:52.000Z
userbot/plugins/maan.py
pro-boy/Marshmello
4cf6d96b69a7e0617ba5ced96eb5ee557b318b4c
[ "MIT" ]
4
2020-11-07T07:39:51.000Z
2020-11-10T03:46:41.000Z
userbot/plugins/maan.py
pro-boy/Marshmello
4cf6d96b69a7e0617ba5ced96eb5ee557b318b4c
[ "MIT" ]
9
2020-11-28T11:30:44.000Z
2021-06-01T07:11:57.000Z
from telethon import events import random, re from userbot.utils import admin_cmd import asyncio @borg.on(admin_cmd("amaan ?(.*)")) async def _(event): if not event.text[0].isalpha() and event.text[0] not in ("/", "#", "@", "!"): await event.edit("Badshah") await asyncio.sleep(1.0) awai...
32.162162
82
0.59916
169
1,190
4.201183
0.349112
0.183099
0.256338
0.304225
0.487324
0.464789
0.464789
0.464789
0
0
0
0.032
0.264706
1,190
36
83
33.055556
0.779429
0
0
0.30303
0
0
0.134454
0
0
0
0
0
0
1
0
true
0
0.121212
0
0.121212
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
ff943828d5e2e58353c0f401ebbd78f7389f5d00
345
py
Python
sfrmaker/__init__.py
mnfienen/sfrmaker
f3ee175c67c80df15bff509235d9a6218bfc6b0b
[ "CC0-1.0" ]
17
2015-08-15T02:20:04.000Z
2020-04-30T17:36:21.000Z
sfrmaker/__init__.py
rfrederiksen/sfrmaker
7e66d67d6cb0ad84fbb9994402f0baaf5b3fcd01
[ "CC0-1.0" ]
15
2015-03-04T16:57:13.000Z
2020-01-14T16:29:18.000Z
sfrmaker/__init__.py
rfrederiksen/sfrmaker
7e66d67d6cb0ad84fbb9994402f0baaf5b3fcd01
[ "CC0-1.0" ]
9
2015-08-18T14:15:07.000Z
2020-04-28T18:45:21.000Z
import warnings warnings.filterwarnings("ignore") from ._version import get_versions from sfrmaker.grid import StructuredGrid, UnstructuredGrid from sfrmaker.lines import Lines from sfrmaker.mf5to6 import Mf6SFR from sfrmaker.rivdata import RivData from sfrmaker.sfrdata import SFRData __version__ = get_versions()['ve...
26.538462
58
0.843478
43
345
6.581395
0.418605
0.212014
0
0
0
0
0
0
0
0
0
0.009677
0.101449
345
12
59
28.75
0.903226
0
0
0
0
0
0.037681
0
0
0
0
0
0
1
0
false
0
0.7
0
0.7
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
ffa3e58237e3daa4ee781e7ac30fb437b9e92875
718
py
Python
pyprob/distributions/uniform.py
SRagy/pyprob
c8fc67d5f4ad78d565a86c2f86abe10b73549f18
[ "BSD-2-Clause" ]
125
2019-10-03T21:14:00.000Z
2022-03-31T22:13:33.000Z
pyprob/distributions/uniform.py
SRagy/pyprob
c8fc67d5f4ad78d565a86c2f86abe10b73549f18
[ "BSD-2-Clause" ]
25
2019-09-28T18:25:46.000Z
2022-03-28T09:23:14.000Z
pyprob/distributions/uniform.py
SRagy/pyprob
c8fc67d5f4ad78d565a86c2f86abe10b73549f18
[ "BSD-2-Clause" ]
20
2019-11-07T10:47:08.000Z
2022-03-24T06:07:06.000Z
import torch from . import Distribution from .. import util class Uniform(Distribution): def __init__(self, low, high): low = util.to_tensor(low) high = util.to_tensor(high) super().__init__(name='Uniform', address_suffix='Uniform', torch_dist=torch.distributions.Uniform(low, high)) ...
27.615385
133
0.651811
94
718
4.765957
0.308511
0.0625
0.053571
0.089286
0.102679
0
0
0
0
0
0
0
0.193593
718
25
134
28.72
0.773748
0
0
0.111111
0
0
0.052925
0
0
0
0
0
0
1
0.277778
false
0
0.166667
0.222222
0.722222
0
0
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
0
0
0
1
1
0
0
3
440cc5fd52dc77e1930dee438fd0b27c7cc8f024
93
py
Python
LifeIsShort/b/Iteration.py
loopyme/Life-is-Short
bd37e8597971283aa35bc31e29543c071f03acba
[ "MIT" ]
1
2020-04-02T02:03:21.000Z
2020-04-02T02:03:21.000Z
LifeIsShort/b/Iteration.py
loopyme/Life-is-Short
bd37e8597971283aa35bc31e29543c071f03acba
[ "MIT" ]
null
null
null
LifeIsShort/b/Iteration.py
loopyme/Life-is-Short
bd37e8597971283aa35bc31e29543c071f03acba
[ "MIT" ]
null
null
null
word_list = ["Life", "is", "short"] for _, w in enumerate(word_list): print(w, end=" ")
18.6
35
0.580645
14
93
3.642857
0.785714
0.313725
0
0
0
0
0
0
0
0
0
0
0.193548
93
4
36
23.25
0.68
0
0
0
0
0
0.129032
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
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
0
0
0
0
0
3
442a18861bf052c31e8e9b11763349fddb8787ad
15,445
py
Python
cytomine-datamining/algorithms/counting/cell_counting/cnn_architectures.py
Cytomine-ULiege/Cytomine-python-datamining
16db995f175e8972b8731a8df9391625e1920288
[ "Apache-2.0" ]
null
null
null
cytomine-datamining/algorithms/counting/cell_counting/cnn_architectures.py
Cytomine-ULiege/Cytomine-python-datamining
16db995f175e8972b8731a8df9391625e1920288
[ "Apache-2.0" ]
null
null
null
cytomine-datamining/algorithms/counting/cell_counting/cnn_architectures.py
Cytomine-ULiege/Cytomine-python-datamining
16db995f175e8972b8731a8df9391625e1920288
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from keras.engine import Layer from keras.layers import Conv2D, BatchNormalization, Activation, MaxPooling2D, UpSampling2D, Dropout, Flatten from keras.models import Sequential from keras.optimizers import SGD import numpy as np __author__ = "Ulysse Rubens <urubens@uliege.be>" __version__ = "0....
43.022284
119
0.615151
2,142
15,445
4.374416
0.111578
0.061473
0.029883
0.03842
0.790822
0.765635
0.747172
0.686126
0.668196
0.647812
0
0.052538
0.234704
15,445
358
120
43.142458
0.740186
0.371641
0
0.535484
0
0
0.099945
0.005352
0
0
0
0.002793
0
1
0.064516
false
0.012903
0.032258
0.012903
0.148387
0
0
0
0
null
0
0
0
0
1
1
0
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
3
442aa53868ff51fe9709d2efc9784eeff8f40de5
205
py
Python
lib/__init__.py
opnmind/osenv
c21f57b27712f83da0c42e75edadc34c74d485d1
[ "MIT" ]
null
null
null
lib/__init__.py
opnmind/osenv
c21f57b27712f83da0c42e75edadc34c74d485d1
[ "MIT" ]
null
null
null
lib/__init__.py
opnmind/osenv
c21f57b27712f83da0c42e75edadc34c74d485d1
[ "MIT" ]
null
null
null
"""OSENV CLI Tool.""" _program = "osenv-tool" _description = "Create and load .ostackrc credentials confidentialy." _author = "opnmind" _url = "https://github.com/opnmind/osenv-tool" __version__ = "0.7.1"
29.285714
69
0.721951
26
205
5.384615
0.807692
0.128571
0
0
0
0
0
0
0
0
0
0.016484
0.112195
205
6
70
34.166667
0.752747
0.073171
0
0
0
0
0.603261
0
0
0
0
0
0
1
0
false
0
0
0
0
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
0
0
0
0
0
0
0
3
442f01f2e780a45032a76c4e8018bd21fab06d64
550
py
Python
params_flow/__init__.py
kpe/params-flow
5857dfd67cf15e89803e5987316c81fe6c4cc54d
[ "MIT" ]
23
2019-06-08T17:24:05.000Z
2022-01-16T17:53:15.000Z
params_flow/__init__.py
kpe/params-flow
5857dfd67cf15e89803e5987316c81fe6c4cc54d
[ "MIT" ]
null
null
null
params_flow/__init__.py
kpe/params-flow
5857dfd67cf15e89803e5987316c81fe6c4cc54d
[ "MIT" ]
4
2019-09-29T07:25:24.000Z
2020-11-25T15:02:15.000Z
# coding=utf-8 # # created by kpe on 08.04.2019 at 8:52 PM # from __future__ import division, absolute_import, print_function from .version import __version__ from .layer import Layer from .model import Model from .normalization import LayerNormalization from .activations import gelu, gelu_exact, get_activation from ...
25
64
0.821818
79
550
5.518987
0.544304
0.082569
0.110092
0
0
0
0
0
0
0
0
0.025105
0.130909
550
21
65
26.190476
0.887029
0.094545
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0.083333
0
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
0
1
0
1
0
1
0
0
3
4437dcce26d78c0cfad6c73731efb59ac597a9bd
508
py
Python
devbox/utilities/execution_engine_factory.py
QualiSystems/DevBox
9a1807006bc93727970068d586764e9dccda94ec
[ "Apache-1.1" ]
null
null
null
devbox/utilities/execution_engine_factory.py
QualiSystems/DevBox
9a1807006bc93727970068d586764e9dccda94ec
[ "Apache-1.1" ]
null
null
null
devbox/utilities/execution_engine_factory.py
QualiSystems/DevBox
9a1807006bc93727970068d586764e9dccda94ec
[ "Apache-1.1" ]
null
null
null
from devbox.utilities.ssh_execution_engine import SSHExecutionEngine class ExecutionEngineFactory(object): def __init__(self): self._execution_engines = {'SSH': SSHExecutionEngine()} def get_execution_engine(self, execution_type): """ :param execution_type: :return: execution ...
28.222222
68
0.700787
50
508
6.74
0.46
0.154303
0.178042
0.154303
0
0
0
0
0
0
0
0
0.216535
508
17
69
29.882353
0.846734
0.147638
0
0
0
0
0.007634
0
0
0
0
0
0
1
0.375
false
0
0.125
0.125
0.875
0
0
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
0
0
0
1
1
0
0
3
443d503af05d3a0099c572f296ce263b9219b40a
208
py
Python
tests/unit/helpers/beans/my_bean.py
thoughteer/edera
c4ddb5d8a25906c3bd773c91afb3260fc0b704f2
[ "MIT" ]
3
2018-11-27T15:45:19.000Z
2018-12-21T20:32:10.000Z
tests/unit/helpers/beans/my_bean.py
thoughteer/edera
c4ddb5d8a25906c3bd773c91afb3260fc0b704f2
[ "MIT" ]
18
2018-12-02T18:38:59.000Z
2020-02-05T22:09:37.000Z
tests/unit/helpers/beans/my_bean.py
thoughteer/edera
c4ddb5d8a25906c3bd773c91afb3260fc0b704f2
[ "MIT" ]
null
null
null
from tests.unit.helpers.beans import my_other_bean class Bean(object): def __getitem__(self, key): return self.square(key) def square(self, value): return value**2 + my_other_bean
18.909091
50
0.682692
30
208
4.466667
0.633333
0.104478
0.164179
0
0
0
0
0
0
0
0
0.006173
0.221154
208
10
51
20.8
0.820988
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0.333333
1
0
0
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
0
0
0
1
1
0
0
3
44424d1fc32362848111d57a3c018e4a1ce2fcb2
216
py
Python
facein_api/profiles/apps.py
gda2048/facein-backend
01a8500ffcdaef91540b0cdf94d50dd64cb46276
[ "MIT" ]
1
2021-12-27T12:35:06.000Z
2021-12-27T12:35:06.000Z
facein_api/profiles/apps.py
Sirkirill/facetracker-backend
462dff11e7dccc379a6e04250b121120ec954c8d
[ "MIT" ]
10
2021-06-07T16:41:35.000Z
2022-03-12T01:04:23.000Z
facein_api/profiles/apps.py
gda2048/facein-backend
01a8500ffcdaef91540b0cdf94d50dd64cb46276
[ "MIT" ]
null
null
null
from django.apps import AppConfig from django.utils.translation import ugettext_lazy as _ class ProfilesConfig(AppConfig): name = 'profiles' verbose_name = _('Profiles') def ready(self): pass
18
55
0.712963
25
216
6
0.76
0.133333
0
0
0
0
0
0
0
0
0
0
0.208333
216
11
56
19.636364
0.877193
0
0
0
0
0
0.074074
0
0
0
0
0
0
1
0.142857
false
0.142857
0.285714
0
0.857143
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
0
0
1
0
0
1
0
0
3
444899e7756906264ed51a6fb844c865bb4d38aa
6,352
py
Python
flowz/util.py
ethanrowe/flowz
7ba5bffa5c06c18b6d1ae742634da999d54f8cca
[ "MIT" ]
2
2017-06-13T07:22:28.000Z
2020-10-30T12:16:47.000Z
flowz/util.py
ethanrowe/flowz
7ba5bffa5c06c18b6d1ae742634da999d54f8cca
[ "MIT" ]
41
2016-05-19T18:52:55.000Z
2018-08-30T17:37:56.000Z
flowz/util.py
ethanrowe/flowz
7ba5bffa5c06c18b6d1ae742634da999d54f8cca
[ "MIT" ]
3
2016-05-16T10:30:40.000Z
2016-06-14T14:15:24.000Z
from __future__ import absolute_import from __future__ import print_function class Minimum(object): """ Less than all other objects other than itself. """ def __gt__(self, other): return False def __lt__(self, other): return self is not other def __eq__(self, other): ...
30.985366
95
0.637752
895
6,352
4.391061
0.270391
0.027481
0.045802
0.038677
0.163613
0.138931
0.086005
0.082443
0.070738
0.070738
0
0.005515
0.286367
6,352
204
96
31.137255
0.86146
0.458911
0
0.337079
0
0
0
0
0
0
0
0
0
1
0.280899
false
0.022472
0.022472
0.146067
0.629213
0.011236
0
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
0
0
0
1
1
0
0
3
444de7280d51f719c1b8dbdcc8044d8af7aefa5d
134
py
Python
towatch/apps/comments/apps.py
RealMadJack/towatch
8d6fa7d7e5f58f036b374a5b983de47c9b8de404
[ "MIT" ]
null
null
null
towatch/apps/comments/apps.py
RealMadJack/towatch
8d6fa7d7e5f58f036b374a5b983de47c9b8de404
[ "MIT" ]
null
null
null
towatch/apps/comments/apps.py
RealMadJack/towatch
8d6fa7d7e5f58f036b374a5b983de47c9b8de404
[ "MIT" ]
null
null
null
from django.apps import AppConfig class CommentsConfig(AppConfig): name = 'towatch.apps.comments' verbose_name = 'comments'
19.142857
34
0.746269
15
134
6.6
0.733333
0
0
0
0
0
0
0
0
0
0
0
0.164179
134
6
35
22.333333
0.883929
0
0
0
0
0
0.216418
0.156716
0
0
0
0
0
1
0
false
0
0.25
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
0
0
0
0
1
0
0
3
44539688d37e18f19316368c654dd83645da54b2
201
py
Python
toasty/__init__.py
pkgw/toasty
feb39dc80dfb140b0882cd4c84ac0372e5a6aa5e
[ "MIT" ]
1
2017-01-09T21:06:12.000Z
2017-01-09T21:06:12.000Z
toasty/__init__.py
ceb8/toasty
feb39dc80dfb140b0882cd4c84ac0372e5a6aa5e
[ "MIT" ]
null
null
null
toasty/__init__.py
ceb8/toasty
feb39dc80dfb140b0882cd4c84ac0372e5a6aa5e
[ "MIT" ]
1
2019-08-01T15:05:27.000Z
2019-08-01T15:05:27.000Z
from .tile import (toast, iter_tiles, depth2tiles, healpix_sampler, cartesian_sampler, normalizer, gen_wtml,iter_corners, minmax_tile_in_range)
40.2
54
0.606965
20
201
5.7
0.85
0
0
0
0
0
0
0
0
0
0
0.007519
0.338308
201
4
55
50.25
0.849624
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
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
0
0
0
0
0
3
445afbb341136fd4dac3f574318e08b5e5042a28
76
py
Python
tests/samples/ns1-pkg/ns1/pkg/__init__.py
adamjstewart/flit
ec6e6b7c8994d5e79d0fd951d9e4c26a7c5d9977
[ "BSD-3-Clause" ]
1,642
2015-03-26T18:22:25.000Z
2021-12-01T00:10:52.000Z
tests/samples/ns1-pkg/ns1/pkg/__init__.py
adamjstewart/flit
ec6e6b7c8994d5e79d0fd951d9e4c26a7c5d9977
[ "BSD-3-Clause" ]
427
2015-03-16T20:22:17.000Z
2021-12-01T14:15:38.000Z
tests/samples/ns1-pkg/ns1/pkg/__init__.py
adamjstewart/flit
ec6e6b7c8994d5e79d0fd951d9e4c26a7c5d9977
[ "BSD-3-Clause" ]
110
2015-03-28T02:50:28.000Z
2021-11-27T09:36:37.000Z
""" ================== ns1.pkg ================== """ __version__ = '0.1'
8.444444
19
0.25
5
76
3
1
0
0
0
0
0
0
0
0
0
0
0.045455
0.131579
76
8
20
9.5
0.181818
0.592105
0
0
0
0
0.136364
0
0
0
0
0
0
1
0
false
0
0
0
0
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
0
0
0
0
0
3
446494bf9f5b392becf14414e2a30af31105d5e1
1,679
py
Python
Mojo/RequestHandlers/MojoHandler.py
lonelycode/Mojo
594892ee0239e2ae43d47b04406224b3d4543c3b
[ "Apache-2.0" ]
14
2015-02-11T05:01:34.000Z
2018-11-12T03:20:37.000Z
Mojo/RequestHandlers/MojoHandler.py
lonelycode/Mojo
594892ee0239e2ae43d47b04406224b3d4543c3b
[ "Apache-2.0" ]
null
null
null
Mojo/RequestHandlers/MojoHandler.py
lonelycode/Mojo
594892ee0239e2ae43d47b04406224b3d4543c3b
[ "Apache-2.0" ]
null
null
null
# Managed request handler that will also # specify app-level template directories # as part of it's init procedure. from tornado.web import RequestHandler import datetime, logging, os from tornado import gen from Mojo.RequestHandlers.PrettyOutputMixin import UncaughtExceptionMixin from Mojo.Auth.models import Session...
40.95122
140
0.726027
215
1,679
5.530233
0.562791
0.050463
0.03196
0.043734
0.053827
0
0
0
0
0
0
0.000737
0.191781
1,679
41
141
40.95122
0.875461
0.502085
0
0
0
0
0.029114
0
0
0
0
0.02439
0
1
0.125
false
0
0.375
0.0625
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
1
0
0
3
447dbb3068d853f1d66464115587068f452ba682
342
py
Python
com/LimePencil/Q1463/Main.py
LimePencil/baekjoonProblems
61eeeeb875585d165d9e39ecdb3d905b4ba6aa87
[ "MIT" ]
2
2021-07-17T13:05:42.000Z
2021-09-12T09:14:24.000Z
com/LimePencil/Q1463/Main.py
LimePencil/baekjoonProblems
61eeeeb875585d165d9e39ecdb3d905b4ba6aa87
[ "MIT" ]
null
null
null
com/LimePencil/Q1463/Main.py
LimePencil/baekjoonProblems
61eeeeb875585d165d9e39ecdb3d905b4ba6aa87
[ "MIT" ]
null
null
null
def find_min_count(ls,num): comparison = [] if(num%3 ==0): comparison.append(ls[int(num/3)]) if num%2 ==0: comparison.append(ls[int(num/2)]) comparison.append(ls[num -1]) m=min(comparison) ls.append(m+1) n = int(input()) list=[0,0,1,1] for i in range(4,n+1): find_min_count(l...
21.375
41
0.590643
62
342
3.193548
0.387097
0.242424
0.272727
0.191919
0.252525
0.252525
0
0
0
0
0
0.051661
0.207602
342
15
42
22.8
0.678967
0
0
0
0
0
0
0
0
0
0
0
0
1
0.071429
false
0
0
0
0.071429
0.071429
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
447f9edaa0c49a58f953c13db78910640db2b46c
144
py
Python
su_django/cityes/apps.py
borko81/simple_django
b4faafe939e30998b1bd96aee1d0c83b242efc00
[ "MIT" ]
1
2021-08-04T19:44:20.000Z
2021-08-04T19:44:20.000Z
su_django/cityes/apps.py
borko81/simple_django
b4faafe939e30998b1bd96aee1d0c83b242efc00
[ "MIT" ]
null
null
null
su_django/cityes/apps.py
borko81/simple_django
b4faafe939e30998b1bd96aee1d0c83b242efc00
[ "MIT" ]
null
null
null
from django.apps import AppConfig class CityesConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'cityes'
20.571429
56
0.756944
17
144
6.294118
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.152778
144
6
57
24
0.877049
0
0
0
0
0
0.243056
0.201389
0
0
0
0
0
1
0
false
0
0.25
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
0
0
0
0
1
0
0
3
44833958681be9f045f055ac87eb977b5feaa095
3,390
py
Python
Negocio/Organizador.py
Angello-27/grafos
a2172b34f3226235d63b307b3a4c22ff967aa11d
[ "MIT" ]
null
null
null
Negocio/Organizador.py
Angello-27/grafos
a2172b34f3226235d63b307b3a4c22ff967aa11d
[ "MIT" ]
null
null
null
Negocio/Organizador.py
Angello-27/grafos
a2172b34f3226235d63b307b3a4c22ff967aa11d
[ "MIT" ]
null
null
null
import Modelo.Estructura as modelo def construir(): grafo = modelo.Grafo() grafo.agregar(100, "Universidad Autónoma Gabriel Rene Moreno", -17.775530, -63.195854) grafo.agregar(300, "La Ramada", -17.793336, -63.188160) grafo.agregar(400, "Centro Comercial Chiriguano", -17.790315, -63.205503) grafo....
65.192308
103
0.617994
473
3,390
4.429175
0.241015
0.08401
0.105012
0.168019
0.561814
0.505012
0.483055
0.483055
0.483055
0.465394
0
0.420571
0.162537
3,390
51
104
66.470588
0.317365
0.531858
0
0
0
0
0.153797
0
0
0
0
0
0
1
0.115385
false
0
0.038462
0
0.230769
0.076923
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
92391dcad012b8d88b6913643e17b16e3ec32aff
1,844
py
Python
lib/cnf.py
cserradag96/nqueens
350dfddb29419560d94f5218e5f2e75d2be9ccf3
[ "MIT" ]
null
null
null
lib/cnf.py
cserradag96/nqueens
350dfddb29419560d94f5218e5f2e75d2be9ccf3
[ "MIT" ]
null
null
null
lib/cnf.py
cserradag96/nqueens
350dfddb29419560d94f5218e5f2e75d2be9ccf3
[ "MIT" ]
null
null
null
# -*- encoding: utf-8 -*- ####################################################################################################################### # DESCRIPTION: ####################################################################################################################### # TODO #############################...
41.909091
119
0.265727
112
1,844
4.285714
0.508929
0.091667
0.020833
0
0
0
0
0
0
0
0
0.015803
0.142082
1,844
43
120
42.883721
0.287611
0.091106
0
0
0
0
0.026573
0
0
0
0
0.023256
0
1
0.235294
false
0
0
0
0.411765
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
0
0
0
3
923ffd97e2427c849fbefe6301231f481ac5d883
209
py
Python
longest_continuous_increasing_subsequence.py
spencercjh/sync-leetcode-today-problem-python3-example
4957e5eadb697334741df0fc297bec2edaa9e2ab
[ "Apache-2.0" ]
null
null
null
longest_continuous_increasing_subsequence.py
spencercjh/sync-leetcode-today-problem-python3-example
4957e5eadb697334741df0fc297bec2edaa9e2ab
[ "Apache-2.0" ]
null
null
null
longest_continuous_increasing_subsequence.py
spencercjh/sync-leetcode-today-problem-python3-example
4957e5eadb697334741df0fc297bec2edaa9e2ab
[ "Apache-2.0" ]
null
null
null
class LongestContinuousIncreasingSubsequence: """ https://leetcode-cn.com/problems/longest-continuous-increasing-subsequence/ """ def findLengthOfLCIS(self, nums: List[int]) -> int:
23.222222
79
0.688995
18
209
8
0.944444
0
0
0
0
0
0
0
0
0
0
0
0.181818
209
8
80
26.125
0.842105
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
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
3
924ef471d3e0bc1bd28c16a4ac6eeabf845b5324
176
py
Python
autotester.py
wmacevoy/db1-wmacevoy
0972ac406079b9f49bb3f844e07544248272304b
[ "MIT" ]
null
null
null
autotester.py
wmacevoy/db1-wmacevoy
0972ac406079b9f49bb3f844e07544248272304b
[ "MIT" ]
null
null
null
autotester.py
wmacevoy/db1-wmacevoy
0972ac406079b9f49bb3f844e07544248272304b
[ "MIT" ]
1
2021-12-14T07:06:59.000Z
2021-12-14T07:06:59.000Z
#!/usr/bin/env python import random import time import sample def readCovidPPM(): time.sleep(4.0) return random.random() while True: locationId=1 testerId=1
12.571429
26
0.693182
25
176
4.88
0.76
0
0
0
0
0
0
0
0
0
0
0.028571
0.204545
176
13
27
13.538462
0.842857
0.113636
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.555556
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
0
0
0
1
0
1
0
0
3
925ecc1b9dd407038e18f21504b16b5cf0b3d0ae
967
py
Python
wk2_ex2.py
jascott1962/python
623a0f11f8a44d3ffaeb649cd36a829f75d8a2bb
[ "Apache-2.0" ]
null
null
null
wk2_ex2.py
jascott1962/python
623a0f11f8a44d3ffaeb649cd36a829f75d8a2bb
[ "Apache-2.0" ]
null
null
null
wk2_ex2.py
jascott1962/python
623a0f11f8a44d3ffaeb649cd36a829f75d8a2bb
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import telnetlib import time TELNET_PORT = 23 TELNET_TIMEOUT = 5 def login_telnet(IP_ADDR, USERNAME, PASSWORD): remote_conn = telnetlib.Telnet(IP_ADDR, TELNET_PORT, TELNET_TIMEOUT) output = remote_conn.read_until("ogin:", TELNET_TIMEOUT) remote_conn.write(USERNAME + "\n") outp...
23.02381
72
0.699069
131
967
4.847328
0.374046
0.204724
0.125984
0.125984
0.39685
0.229921
0.125984
0.125984
0.125984
0.125984
0
0.022872
0.186143
967
41
73
23.585366
0.78399
0.020683
0
0.137931
0
0
0.079281
0
0
0
0
0
0
0
null
null
0.137931
0.068966
null
null
0.068966
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
3
926f6a86617b782587956996f64fe88cc43459ee
1,541
py
Python
dstl/translate/registry.py
kabirkhan/dstl
9bfbba27e99da4736d460888ea908a71bd1c7ae9
[ "MIT" ]
2
2021-05-12T09:22:04.000Z
2021-10-12T10:57:08.000Z
dstl/translate/registry.py
kabirkhan/dstl
9bfbba27e99da4736d460888ea908a71bd1c7ae9
[ "MIT" ]
null
null
null
dstl/translate/registry.py
kabirkhan/dstl
9bfbba27e99da4736d460888ea908a71bd1c7ae9
[ "MIT" ]
null
null
null
import catalogue class registry: translators = catalogue.create("dstl", "translators", entry_points=True) # class translator: # def __init__(self, name: str): # """Decorator for a translator # Args: # name (str): Operation name. # pre (Union[List[str], List[PreProces...
31.44898
86
0.590526
175
1,541
5.074286
0.468571
0.023649
0.030405
0.037162
0
0
0
0
0
0
0
0.001889
0.312784
1,541
48
87
32.104167
0.836638
0.877352
0
0
0
0
0.096774
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
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
0
0
0
0
0
0
1
0
1
0
0
3
928154afd0425d9a8fd188c7d580834bacf7ccb7
4,054
py
Python
mayan/apps/document_states/tests/test_tasks.py
boost-entropy-repos-org/Mayan-EDMS
5769f26abc56f92f8edb9d311cabf659dc0535c1
[ "Apache-2.0" ]
1
2021-02-24T15:03:23.000Z
2021-02-24T15:03:23.000Z
mayan/apps/document_states/tests/test_tasks.py
ass-a2s/Mayan-EDMS
5769f26abc56f92f8edb9d311cabf659dc0535c1
[ "Apache-2.0" ]
null
null
null
mayan/apps/document_states/tests/test_tasks.py
ass-a2s/Mayan-EDMS
5769f26abc56f92f8edb9d311cabf659dc0535c1
[ "Apache-2.0" ]
1
2020-08-09T09:06:59.000Z
2020-08-09T09:06:59.000Z
from mayan.apps.documents.models.document_models import Document from mayan.apps.documents.tests.base import GenericDocumentTestCase from ..tasks import ( task_launch_all_workflows, task_launch_all_workflow_for, task_launch_workflow, task_launch_workflow_for ) from .mixins import WorkflowTestMixin class Wor...
30.946565
77
0.701776
448
4,054
5.888393
0.120536
0.106141
0.133434
0.15163
0.789992
0.764594
0.749431
0.690296
0.690296
0.690296
0
0.001269
0.22225
4,054
130
78
31.184615
0.835395
0
0
0.521739
0
0
0.010853
0
0
0
0
0
0.108696
1
0.141304
false
0
0.043478
0
0.217391
0
0
0
0
null
0
0
0
0
1
1
0
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
3
929a121945bd80a7fd35be56bc628593debd83f1
230
py
Python
api/quotations/urls.py
AlohaLATAM/alohaweb1.0
aa2c5cba5e04c6716731e4e4f3d5683ec2a579b1
[ "MIT" ]
null
null
null
api/quotations/urls.py
AlohaLATAM/alohaweb1.0
aa2c5cba5e04c6716731e4e4f3d5683ec2a579b1
[ "MIT" ]
2
2020-06-05T19:16:17.000Z
2021-06-10T20:54:31.000Z
api/quotations/urls.py
AlohaLATAM/alohaweb1.0
aa2c5cba5e04c6716731e4e4f3d5683ec2a579b1
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from django.conf.urls import url from rest_framework import routers from . import views router = routers.DefaultRouter() router.register(r'', views.QuotationViewSet, 'Quotation') urlpatterns = router.urls
25.555556
57
0.76087
29
230
6
0.689655
0
0
0
0
0
0
0
0
0
0
0.004926
0.117391
230
9
58
25.555556
0.852217
0.091304
0
0
0
0
0.043269
0
0
0
0
0
0
1
0
false
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
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
2b94602371df68b4a8df86d18ba7766f0a9dd1b5
240
py
Python
FSMSIM/expr/string_expr.py
FSMSIM/FSMSIM
a3069c07aeca6e814519871f4c93a88da32c9e1d
[ "BSD-3-Clause" ]
null
null
null
FSMSIM/expr/string_expr.py
FSMSIM/FSMSIM
a3069c07aeca6e814519871f4c93a88da32c9e1d
[ "BSD-3-Clause" ]
null
null
null
FSMSIM/expr/string_expr.py
FSMSIM/FSMSIM
a3069c07aeca6e814519871f4c93a88da32c9e1d
[ "BSD-3-Clause" ]
null
null
null
from FSMSIM.expr.expr import Expr class StringExpr(Expr): def __init__(self, s: str) -> None: self.val = s def evaluate(self) -> str: return self.val def __len__(self) -> int: return len(self.val)
20
39
0.591667
33
240
4.060606
0.515152
0.156716
0
0
0
0
0
0
0
0
0
0
0.291667
240
11
40
21.818182
0.788235
0
0
0
0
0
0
0
0
0
0
0
0
1
0.375
false
0
0.125
0.25
0.875
0
0
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
0
0
0
1
1
0
0
3
2b96720e1f4d9d7d5dbb935c0767f6aa8715a6a4
105
py
Python
gym_tak/__init__.py
novelty27/Open_AI_Gym_Tak
5a68992b47b7a6dee4f149282a9716f522e78665
[ "MIT" ]
null
null
null
gym_tak/__init__.py
novelty27/Open_AI_Gym_Tak
5a68992b47b7a6dee4f149282a9716f522e78665
[ "MIT" ]
null
null
null
gym_tak/__init__.py
novelty27/Open_AI_Gym_Tak
5a68992b47b7a6dee4f149282a9716f522e78665
[ "MIT" ]
null
null
null
from gym.envs.registration import register register( id='tak-v0', entry_point='gym_tak.envs:TakEnv', )
17.5
42
0.761905
16
105
4.875
0.75
0
0
0
0
0
0
0
0
0
0
0.010526
0.095238
105
6
43
17.5
0.810526
0
0
0
0
0
0.235849
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
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
0
0
0
0
0
3
2b9c4d1d19c1121a3d47cd656e16d8b4fff7dadd
8,726
py
Python
cairis/controllers/AttackerController.py
nathanjenx/cairis
06d2d592b64af20746b9a2713551db597af46805
[ "Apache-2.0" ]
null
null
null
cairis/controllers/AttackerController.py
nathanjenx/cairis
06d2d592b64af20746b9a2713551db597af46805
[ "Apache-2.0" ]
null
null
null
cairis/controllers/AttackerController.py
nathanjenx/cairis
06d2d592b64af20746b9a2713551db597af46805
[ "Apache-2.0" ]
null
null
null
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may...
35.044177
119
0.745244
1,098
8,726
5.695811
0.148452
0.090662
0.058842
0.048609
0.71922
0.712984
0.707867
0.675568
0.65654
0.636233
0
0.000815
0.156314
8,726
248
120
35.185484
0.848682
0.08744
0
0.666667
0
0
0.11995
0.005538
0
0
0
0
0
1
0.090395
false
0
0.073446
0
0.293785
0
0
0
0
null
0
0
0
0
1
1
0
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
3
2b9dd64ef3134553be7558b988cfabb1605dbd93
198
py
Python
PythonCursoEmVideo/Exercicio21.py
FlavioGalera/pythonProject
73a5f99d9bfa3ebed6f02dc41e534d1ab6b8bb10
[ "MIT" ]
null
null
null
PythonCursoEmVideo/Exercicio21.py
FlavioGalera/pythonProject
73a5f99d9bfa3ebed6f02dc41e534d1ab6b8bb10
[ "MIT" ]
null
null
null
PythonCursoEmVideo/Exercicio21.py
FlavioGalera/pythonProject
73a5f99d9bfa3ebed6f02dc41e534d1ab6b8bb10
[ "MIT" ]
null
null
null
import pygame pygame.mixer.init() pygame.init() pygame.mixer.music.load('D:\Downloads\ex21.mp3') pygame.mixer.music.play() pygame.mixer.music.set_volume(1) x = input('digite algo para encerrar...')
24.75
48
0.752525
31
198
4.774194
0.645161
0.297297
0.324324
0
0
0
0
0
0
0
0
0.021622
0.065657
198
7
49
28.285714
0.778378
0
0
0
0
0
0.247475
0.106061
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
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
0
0
0
0
0
0
0
3
2ba095d999e38c43b92b1d2d24113ead71f1fd93
228
py
Python
tests/urls.py
LiamK/django-swingtime
0a82e4ed7c74ccefff1f6b355774bf4739983899
[ "MIT" ]
176
2015-01-06T14:58:23.000Z
2022-03-15T04:46:15.000Z
tests/urls.py
partrita/django-swingtime
3c412ba267f27e9e5e6323d51050b31aeda20226
[ "MIT" ]
21
2015-01-29T01:58:34.000Z
2021-05-18T11:45:36.000Z
tests/urls.py
partrita/django-swingtime
3c412ba267f27e9e5e6323d51050b31aeda20226
[ "MIT" ]
61
2015-01-11T18:52:27.000Z
2022-01-01T16:54:03.000Z
from django.conf.urls import include, url urlpatterns = [ url(r'^home/$', lambda request: None, name='demo-home'), url(r'^karate/$', lambda request: None, name='karate-home'), url(r'^', include('swingtime.urls')), ]
32.571429
64
0.644737
31
228
4.741935
0.548387
0.081633
0.231293
0.285714
0
0
0
0
0
0
0
0
0.144737
228
6
65
38
0.753846
0
0
0
0
0
0.223684
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
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
0
0
0
0
0
3
2be393cdabdda5aab91c265f614cf273f80a9735
3,517
py
Python
tests/runtime/numbers/host-wasmer.py
wasmerio/witx-bindgen
8772835affd9aa1cff1831e2a5f822d832006001
[ "Apache-2.0" ]
null
null
null
tests/runtime/numbers/host-wasmer.py
wasmerio/witx-bindgen
8772835affd9aa1cff1831e2a5f822d832006001
[ "Apache-2.0" ]
null
null
null
tests/runtime/numbers/host-wasmer.py
wasmerio/witx-bindgen
8772835affd9aa1cff1831e2a5f822d832006001
[ "Apache-2.0" ]
null
null
null
from exports.bindings import Exports from imports.bindings import add_imports_to_imports, Imports from typing import Any import math; import sys import wasmer # type: ignore class MyImports: def roundtrip_u8(self, a: int) -> int: return a def roundtrip_s8(self, a: int) -> int: return a de...
31.401786
74
0.59255
507
3,517
3.952663
0.155819
0.154691
0.27495
0.189621
0.549401
0.488024
0.427146
0.339321
0.185629
0.113772
0
0.072245
0.228604
3,517
111
75
31.684685
0.665684
0.003412
0
0.126437
0
0
0.008279
0
0
0
0
0
0.37931
1
0.172414
false
0
0.149425
0.149425
0.482759
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
3
ecf5a758937ed36c3c3ea530ad44ddacd4be5a9f
761
py
Python
src/textform/__init__.py
hawkfish/textform
d2859f799291739d3289d323102a0eb6a70fd8fd
[ "MIT" ]
4
2021-07-19T18:14:35.000Z
2021-09-17T07:31:50.000Z
src/textform/__init__.py
hawkfish/textform
d2859f799291739d3289d323102a0eb6a70fd8fd
[ "MIT" ]
11
2021-04-14T16:12:23.000Z
2021-09-08T18:33:13.000Z
src/textform/__init__.py
hawkfish/textform
d2859f799291739d3289d323102a0eb6a70fd8fd
[ "MIT" ]
null
null
null
from .common import TransformException from .add import Add from .capture import Capture from .cast import Cast from .copy import Copy from .divide import Divide from .drop import Drop from .fill import Fill from .fold import Fold from .format import Format from .iterate import Iterate from .lag import Lag, Lead from ....
25.366667
38
0.806833
117
761
5.247863
0.282051
0
0
0
0
0
0
0
0
0
0
0
0.153745
761
29
39
26.241379
0.953416
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
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
0
1
0
1
0
1
0
0
3
ecf95c2869e3b7bf6656c5b161a0ec4051ec5ae6
293
py
Python
webserver/pkuyouth_server/wsgi.py
zhongxinghong/pkuyouth
9262346b3c88109ca731387095d5678071a05d60
[ "Apache-2.0" ]
1
2018-06-19T04:00:35.000Z
2018-06-19T04:00:35.000Z
webserver/pkuyouth_server/wsgi.py
zhongxinghong/PKUyouth
9262346b3c88109ca731387095d5678071a05d60
[ "Apache-2.0" ]
null
null
null
webserver/pkuyouth_server/wsgi.py
zhongxinghong/PKUyouth
9262346b3c88109ca731387095d5678071a05d60
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # filename: webserver/pkuyouth_server/wsgi.py import os import sys Root_Dir = os.path.join(os.path.dirname(__file__),'../../') # flaskapp 根目录 sys.path.append(Root_Dir) from app import create_app pkuyouth_server = create_app("pkuyouth_server")
22.538462
74
0.733788
44
293
4.636364
0.636364
0.205882
0.166667
0.22549
0
0
0
0
0
0
0
0.007634
0.105802
293
13
75
22.538462
0.770992
0.341297
0
0
0
0
0.110526
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
1
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
0
0
0
1
0
0
0
0
3
ecfb89d1fb8bc86e88ffda7d1d4ae5c15b3523a9
277
py
Python
dedupsqlfs/compression/lz4.py
tabulon-ext/dedupsqlfs
9dfbed17450e7f2a499a7381e0368d08ae3c700d
[ "MIT" ]
22
2015-04-09T09:00:00.000Z
2022-03-23T00:16:04.000Z
dedupsqlfs/compression/lz4.py
tabulon-ext/dedupsqlfs
9dfbed17450e7f2a499a7381e0368d08ae3c700d
[ "MIT" ]
119
2015-02-11T21:39:27.000Z
2021-07-27T23:04:49.000Z
dedupsqlfs/compression/lz4.py
tabulon-ext/dedupsqlfs
9dfbed17450e7f2a499a7381e0368d08ae3c700d
[ "MIT" ]
7
2016-03-16T11:53:45.000Z
2022-02-24T13:47:31.000Z
# -*- coding: utf8 -*- __author__ = 'sergey' """ Class for LZ4 compression helper """ from dedupsqlfs.compression import BaseCompression class Lz4Compression(BaseCompression): _method_name = "lz4" _minimal_size = 15 _has_comp_level_options = False pass
13.85
50
0.707581
29
277
6.344828
0.862069
0
0
0
0
0
0
0
0
0
0
0.027027
0.198556
277
19
51
14.578947
0.801802
0.072202
0
0
0
0
0.04186
0
0
0
0
0
0
1
0
false
0.142857
0.142857
0
0.714286
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
0
0
1
0
0
1
0
0
3
a60f6c8c0b878d4c50df14c39f54187caa1bee25
266
py
Python
detect_secrets_server/repos/local_tracked_repo.py
ekmixon/detect-secrets-server
f2a708fa1a4628a7a93039cae92ef90e8b94d9db
[ "Apache-2.0" ]
110
2018-04-13T02:41:40.000Z
2021-11-08T10:29:57.000Z
detect_secrets_server/repos/local_tracked_repo.py
sthagen/detect-secrets-server
4e71fa7f551cd1c55803a3fa62145285676fcb50
[ "Apache-2.0" ]
50
2018-08-21T10:36:06.000Z
2021-04-13T00:42:05.000Z
detect_secrets_server/repos/local_tracked_repo.py
sthagen/detect-secrets-server
4e71fa7f551cd1c55803a3fa62145285676fcb50
[ "Apache-2.0" ]
40
2018-07-06T22:03:38.000Z
2021-09-09T16:21:32.000Z
from .base_tracked_repo import BaseTrackedRepo from detect_secrets_server.storage.file import FileStorageWithLocalGit class LocalTrackedRepo(BaseTrackedRepo): STORAGE_CLASS = FileStorageWithLocalGit @property def name(self): return self.repo
22.166667
70
0.796992
27
266
7.666667
0.703704
0
0
0
0
0
0
0
0
0
0
0
0.157895
266
11
71
24.181818
0.924107
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0.142857
0.857143
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
0
0
0
0
1
1
0
0
3
a612723ccd6e35b3eec12d83fb34d0f98f126e3a
1,528
py
Python
Code/GPP/link_functions.py
CaptainE/Non-negative-latent-space-models
50cb0fad072e0983139d925d1dbee71681d5d7e2
[ "MIT" ]
null
null
null
Code/GPP/link_functions.py
CaptainE/Non-negative-latent-space-models
50cb0fad072e0983139d925d1dbee71681d5d7e2
[ "MIT" ]
null
null
null
Code/GPP/link_functions.py
CaptainE/Non-negative-latent-space-models
50cb0fad072e0983139d925d1dbee71681d5d7e2
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Fri Apr 13 22:23:35 2018 @author: Niklas """ import numpy as np import utils class exp_to_gauss: """ Implements inverse exponential-to-Gaussian link function and its derivate. """ def __init__(self,lambd,sig): self.lambd = lambd self.sig = sig def in...
27.285714
108
0.608639
261
1,528
3.45977
0.249042
0.093023
0.070875
0.07309
0.513843
0.462901
0.462901
0.40753
0.302326
0.227021
0
0.04316
0.196335
1,528
55
109
27.781818
0.692182
0.295812
0
0.285714
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.071429
0.107143
0.642857
0
0
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
0
0
0
1
1
0
0
3
a6159856019b2e228a6684d7fded9cd86c4e1925
249
py
Python
AdHoc/FlippingAnImage.py
PK-100/Competitive_Programming
d0863feaaa99462b2999e85dcf115f7a6c08bb8d
[ "MIT" ]
70
2018-06-25T21:20:15.000Z
2022-03-24T03:55:17.000Z
AdHoc/FlippingAnImage.py
An3sha/Competitive_Programming
ee7eadf51939a360d0b004d787ebabda583e92f0
[ "MIT" ]
4
2018-09-04T13:12:20.000Z
2021-06-20T08:29:12.000Z
AdHoc/FlippingAnImage.py
An3sha/Competitive_Programming
ee7eadf51939a360d0b004d787ebabda583e92f0
[ "MIT" ]
24
2018-12-26T05:15:32.000Z
2022-01-23T23:04:54.000Z
class Solution: def flipAndInvertImage(self, A: List[List[int]]) -> List[List[int]]: for i in range(len(A)): A[i] = A[i][::-1] # reversing for j in range(len(A[i])): A[i][j] ^= 1 return A
27.666667
72
0.46988
37
249
3.162162
0.459459
0.068376
0.188034
0.188034
0
0
0
0
0
0
0
0.012346
0.349398
249
8
73
31.125
0.709877
0.036145
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.428571
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
0
0
0
0
0
3
a621bce0ddcf34e8cafd340a2dd2dc25ad1c8ed0
266
py
Python
test/components/scheduler/promises/test_2_2_5.py
rerobins/rhobot_framework
f97d1cedc929387f69448e41346a0d15fe202eef
[ "BSD-3-Clause" ]
null
null
null
test/components/scheduler/promises/test_2_2_5.py
rerobins/rhobot_framework
f97d1cedc929387f69448e41346a0d15fe202eef
[ "BSD-3-Clause" ]
1
2020-04-10T22:02:55.000Z
2020-04-10T22:02:55.000Z
test/promises/test_2_2_5.py
MeerkatLabs/sleekpromises
f31d2bf4ae57fa30d77e6aa0c91b146131d599e6
[ "BSD-3-Clause" ]
null
null
null
""" 2.2.5 `onFulfilled` and `onRejected` must be called as functions (i.e. with no `this` value). https://github.com/promises-aplus/promises-tests/blob/2.1.1/lib/tests/2.2.5.js I don't know that this is testable either as this deals with a javascript construct. """
44.333333
93
0.733083
50
266
3.9
0.74
0.020513
0.030769
0
0
0
0
0
0
0
0
0.038462
0.120301
266
6
94
44.333333
0.794872
0.969925
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
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
3
a63ad74d9ea4d748d47543260ce88da454b05448
4,388
py
Python
tinkoff_invest/models/portfolio.py
asakharov/tinkoff_invest
1f85dbdb038ace24fc52da9bfae573b4fada0abb
[ "MIT" ]
1
2021-12-08T10:06:02.000Z
2021-12-08T10:06:02.000Z
tinkoff_invest/models/portfolio.py
asakharov/tinkoff_invest
1f85dbdb038ace24fc52da9bfae573b4fada0abb
[ "MIT" ]
null
null
null
tinkoff_invest/models/portfolio.py
asakharov/tinkoff_invest
1f85dbdb038ace24fc52da9bfae573b4fada0abb
[ "MIT" ]
3
2021-09-24T14:01:48.000Z
2022-01-06T12:05:38.000Z
import logging from typing import List, Optional from prettytable import PrettyTable from tinkoff_invest.models.money import MoneyAmount, build_money_amount from tinkoff_invest.models.types import InstrumentType, Currency class CurrencyPortfolio: def __init__(self, raw_data: dict): self._data = raw_data...
33.496183
117
0.648131
498
4,388
5.536145
0.166667
0.058034
0.02539
0.024664
0.365252
0.331157
0.227058
0.227058
0.212913
0.126224
0
0.000594
0.232452
4,388
130
118
33.753846
0.817993
0
0
0.33
0
0
0.095488
0.011395
0
0
0
0
0
1
0.24
false
0
0.05
0.16
0.55
0
0
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
0
0
0
1
1
0
0
3
a64aee4f740321fe3f05689ff9acc032a3336582
316
py
Python
tutorial/reset_tester.py
makaimann/fault
8c805415f398e64971d18fbd3014bc0b59fb38b8
[ "BSD-3-Clause" ]
31
2018-07-16T15:03:14.000Z
2022-03-10T08:36:09.000Z
tutorial/reset_tester.py
makaimann/fault
8c805415f398e64971d18fbd3014bc0b59fb38b8
[ "BSD-3-Clause" ]
216
2018-07-18T20:00:34.000Z
2021-10-05T17:40:47.000Z
tutorial/reset_tester.py
makaimann/fault
8c805415f398e64971d18fbd3014bc0b59fb38b8
[ "BSD-3-Clause" ]
10
2019-02-17T00:56:58.000Z
2021-11-05T13:31:37.000Z
import fault class ResetTester(fault.Tester): def __init__(self, circuit, clock, reset_port): super().__init__(circuit, clock) self.reset_port = reset_port def reset(self): self.poke(self.reset_port, 1) self.eval() self.poke(self.reset_port, 0) self.eval()
22.571429
51
0.626582
41
316
4.512195
0.414634
0.243243
0.210811
0.183784
0.227027
0
0
0
0
0
0
0.008511
0.256329
316
13
52
24.307692
0.778723
0
0
0.2
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.1
0
0.4
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a64ce6b32184fd339ea59f292beca6b91497f4bc
726
py
Python
Other/directionalRounding.py
UweZiegenhagen/VariousPythonPandas
9c0a943bdc4c98999b20897bbe4380ca97288393
[ "MIT" ]
null
null
null
Other/directionalRounding.py
UweZiegenhagen/VariousPythonPandas
9c0a943bdc4c98999b20897bbe4380ca97288393
[ "MIT" ]
null
null
null
Other/directionalRounding.py
UweZiegenhagen/VariousPythonPandas
9c0a943bdc4c98999b20897bbe4380ca97288393
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Thu Mar 23 12:09:37 2017 @author: Uwe Ziegenhagen More sophisticated rounding, direction can be set as well as the amount to be rounded to """ from math import ceil, floor a = 123456789.45 def mround(x, number, direction): if direction=='up': return...
26.888889
89
0.632231
104
726
4.413462
0.548077
0.167756
0.222222
0.078431
0
0
0
0
0
0
0
0.213425
0.199725
726
27
90
26.888889
0.576592
0.239669
0
0
0
0
0.084778
0
0
0
0
0
0
1
0.076923
false
0
0.076923
0
0.307692
0.461538
0
0
0
null
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
a66203510c5aad9dd3b09d5e560f701b91cbbdda
160
py
Python
klayout_dot_config/python/siepic_tools/__init__.py
SiEPIC-Kits/SiEPIC-Tools
1f62c33021771a54507cf1d94bb3b2cc57419d8a
[ "MIT" ]
1
2021-04-08T02:23:44.000Z
2021-04-08T02:23:44.000Z
klayout_dot_config/python/siepic_tools/__init__.py
SiEPIC-Kits/SiEPIC-Tools
1f62c33021771a54507cf1d94bb3b2cc57419d8a
[ "MIT" ]
null
null
null
klayout_dot_config/python/siepic_tools/__init__.py
SiEPIC-Kits/SiEPIC-Tools
1f62c33021771a54507cf1d94bb3b2cc57419d8a
[ "MIT" ]
null
null
null
# Detecting environment try: import pya is_GSI = pya.__package__ == '' except ImportError: is_GSI = False from . import extend from . import utils
16
34
0.69375
20
160
5.25
0.7
0.095238
0
0
0
0
0
0
0
0
0
0
0.23125
160
10
35
16
0.853659
0.13125
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.571429
0
0.571429
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
0
0
0
1
0
1
0
0
3
a666666f6254d8144802bde16bab6352633a0a87
346
py
Python
test/tests/super_long_string.py
aisk/pyston
ac69cfef0621dbc8901175e84fa2b5cb5781a646
[ "BSD-2-Clause", "Apache-2.0" ]
1
2020-02-06T14:28:45.000Z
2020-02-06T14:28:45.000Z
test/tests/super_long_string.py
aisk/pyston
ac69cfef0621dbc8901175e84fa2b5cb5781a646
[ "BSD-2-Clause", "Apache-2.0" ]
null
null
null
test/tests/super_long_string.py
aisk/pyston
ac69cfef0621dbc8901175e84fa2b5cb5781a646
[ "BSD-2-Clause", "Apache-2.0" ]
1
2020-02-06T14:29:00.000Z
2020-02-06T14:29:00.000Z
import os import sys s = 'def f():\n return """' + '.' * 100000 + '"""' path = os.path.join(os.path.dirname(__file__), "super_long_string_target.py") with open(path, 'w') as f: f.write(s) import super_long_string_target del sys.modules["super_long_string_target"] import super_long_string_target os.remove(pa...
20.352941
77
0.696532
56
346
4.017857
0.482143
0.16
0.266667
0.373333
0.24
0
0
0
0
0
0
0.020134
0.138728
346
16
78
21.625
0.734899
0
0
0.181818
0
0
0.234104
0.147399
0.090909
0
0
0
0
1
0
false
0
0.363636
0
0.363636
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
a66a9b931cc7476f5e138226dfae62a81fe10d44
1,404
py
Python
integration_tests/test/integration_tests.py
siyoung-kim/lmeds-copy
8f11c3a09d879dca1d743bd6dccf41a3689c06a7
[ "MIT" ]
10
2015-11-03T20:20:07.000Z
2021-08-30T10:24:29.000Z
integration_tests/test/integration_tests.py
siyoung-kim/lmeds-copy
8f11c3a09d879dca1d743bd6dccf41a3689c06a7
[ "MIT" ]
3
2017-07-19T13:51:59.000Z
2022-03-03T12:41:08.000Z
integration_tests/test/integration_tests.py
siyoung-kim/lmeds-copy
8f11c3a09d879dca1d743bd6dccf41a3689c06a7
[ "MIT" ]
7
2017-07-19T13:50:28.000Z
2021-06-07T21:00:36.000Z
''' Created on Apr 29, 2016 @author: tmahrt Runs integration tests The examples were all written as scripts. They weren't meant to be imported or run from other code. So here, the integration test is just importing the scripts, which causes them to execute. If the code completes with no errors, then the code is ...
26.490566
75
0.707265
193
1,404
4.865285
0.512953
0.085197
0.063898
0.089457
0
0
0
0
0
0
0
0.006323
0.211538
1,404
52
76
27
0.841915
0.465812
0
0
0
0
0.011236
0
0
0
0
0
0
1
0.25
false
0
0.4
0
0.7
0
0
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
0
0
1
0
1
0
0
3
a66aec52aaa81da32008934fe78bb85aa8a18ad0
1,690
py
Python
aldryn_faq/urls.py
liip-forks/aldryn-faq
1e9d5c8d410f955b8082bd20ea7a4d85d4c5e0f7
[ "BSD-3-Clause" ]
null
null
null
aldryn_faq/urls.py
liip-forks/aldryn-faq
1e9d5c8d410f955b8082bd20ea7a4d85d4c5e0f7
[ "BSD-3-Clause" ]
null
null
null
aldryn_faq/urls.py
liip-forks/aldryn-faq
1e9d5c8d410f955b8082bd20ea7a4d85d4c5e0f7
[ "BSD-3-Clause" ]
null
null
null
from django.conf.urls import url from .views import FaqAnswerView, FaqByCategoryView, FaqByCategoryListView urlpatterns = [ url(r'^$', FaqByCategoryListView.as_view(), name='faq-category-list'), # 1/ url( r'^(?P<category_pk>\d+)/$', FaqByCategoryView.as_view(), name='faq-cat...
22.837838
78
0.515385
198
1,690
4.287879
0.176768
0.183746
0.117786
0.153121
0.782097
0.757362
0.729093
0.64311
0.56066
0.473498
0
0.007177
0.257988
1,690
73
79
23.150685
0.669856
0.128994
0
0.72
0
0
0.344544
0.265614
0
0
0
0
0
1
0
false
0
0.04
0
0.04
0
0
0
0
null
0
0
0
0
1
1
0
0
0
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
3
a67332f986237cf98f3bf83c21acfe79f36b7e35
2,328
py
Python
Compiler/src/utils/Global.py
lmbaeza/AdHocProject
ed896cca6de71e6b9aa4bee2a3eb1afd5682263f
[ "MIT" ]
null
null
null
Compiler/src/utils/Global.py
lmbaeza/AdHocProject
ed896cca6de71e6b9aa4bee2a3eb1afd5682263f
[ "MIT" ]
null
null
null
Compiler/src/utils/Global.py
lmbaeza/AdHocProject
ed896cca6de71e6b9aa4bee2a3eb1afd5682263f
[ "MIT" ]
null
null
null
# Variable Global # VariableGlobal : Singleton class VariableGlobal: class __VariableGlobal: def __init__(self): self.count = 1 self.table = {} self.variableCounter = 0 self.labelCounter = 0 self.comparisonCounter = 0 def __str...
25.582418
74
0.589777
213
2,328
6.333333
0.215962
0.09785
0.080059
0.081542
0.263158
0.219422
0.179392
0.179392
0.126019
0.126019
0
0.008275
0.325172
2,328
90
75
25.866667
0.850414
0.018041
0
0.474576
0
0
0.001753
0
0
0
0
0
0
1
0.372881
false
0
0
0.186441
0.661017
0
0
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
0
0
0
1
1
0
0
3
a6835ed3b66acbaf1484b6565249cb427aeedf97
191
py
Python
Eva/Documentatie/Technisch ontwerp/Bijlagen/G-ScriptModule/Python/PythonUsingMain/PythonScripts/test.py
triplejingle/cito
43abeec8a68b7e8791b0d125fc8026dd58a0f7aa
[ "MIT" ]
null
null
null
Eva/Documentatie/Technisch ontwerp/Bijlagen/G-ScriptModule/Python/PythonUsingMain/PythonScripts/test.py
triplejingle/cito
43abeec8a68b7e8791b0d125fc8026dd58a0f7aa
[ "MIT" ]
null
null
null
Eva/Documentatie/Technisch ontwerp/Bijlagen/G-ScriptModule/Python/PythonUsingMain/PythonScripts/test.py
triplejingle/cito
43abeec8a68b7e8791b0d125fc8026dd58a0f7aa
[ "MIT" ]
null
null
null
import time #save image in specific directory if __name__ == "__main__": start = time.perf_counter() print("I am a test") print("see! I do nothing productive.") print(start)
21.222222
42
0.670157
27
191
4.407407
0.814815
0
0
0
0
0
0
0
0
0
0
0
0.21466
191
8
43
23.875
0.793333
0.167539
0
0
0
0
0.305732
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
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
0
0
0
0
0
1
0
3
a68592d8262a56ad2f172c0a2a613c9796f6ba0e
684
py
Python
tests/test_icalendarparser.py
franc6/ics_calendar
8bfd05d9d06b80acabb075531f3b62f75668cd64
[ "Apache-2.0" ]
29
2019-08-21T08:46:34.000Z
2022-03-10T07:17:32.000Z
tests/test_icalendarparser.py
franc6/ics_calendar
8bfd05d9d06b80acabb075531f3b62f75668cd64
[ "Apache-2.0" ]
46
2019-08-21T11:12:20.000Z
2022-03-31T12:29:54.000Z
tests/test_icalendarparser.py
franc6/ics_calendar
8bfd05d9d06b80acabb075531f3b62f75668cd64
[ "Apache-2.0" ]
10
2019-08-21T08:47:52.000Z
2021-07-03T16:56:29.000Z
from custom_components.ics_calendar.icalendarparser import ICalendarParser class TestICalendarParser: def test_get_class_finds_ics(self): assert ICalendarParser.get_class('ics') is not None def test_get_class_finds_icalevents(self): assert ICalendarParser.get_class('icalevents') is not...
42.75
86
0.754386
77
684
6.376623
0.324675
0.09776
0.081466
0.09165
0.521385
0.09776
0.09776
0
0
0
0
0
0.178363
684
16
87
42.75
0.873665
0
0
0
0
0
0.048175
0
0
0
0
0
0.454545
1
0.363636
false
0
0.090909
0
0.545455
0
0
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
1
0
1
0
0
0
0
1
0
0
3