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
3350ba8aa0a8e35fe443f8aca1b8aaa4c12af55c
8,065
py
Python
datasets/script/ds_print_cleaned.py
PoCInnovation/SmartShark
2cf5eb32306fb5bd88972f44331322ae58d4bb2c
[ "MIT" ]
26
2020-11-26T13:05:31.000Z
2022-03-22T11:04:41.000Z
datasets/script/ds_print_cleaned.py
PoCFrance/SmartShark
2cf5eb32306fb5bd88972f44331322ae58d4bb2c
[ "MIT" ]
4
2020-09-26T16:30:47.000Z
2022-03-06T18:02:52.000Z
datasets/script/ds_print_cleaned.py
PoCFrance/SmartShark
2cf5eb32306fb5bd88972f44331322ae58d4bb2c
[ "MIT" ]
9
2021-01-19T16:44:23.000Z
2022-02-15T21:06:29.000Z
############################################### # # # PoC: Smartshark # # # # USAGE: # # # # Script to clean dataset...
141.491228
2,255
0.615623
679
8,065
7.282769
0.266568
0.019414
0.009707
0.015167
0.797978
0.788675
0.788675
0.778564
0.778564
0.736704
0
0.000885
0.159578
8,065
56
2,256
144.017857
0.728681
0.358834
0
0.076923
0
0
0.388988
0.023801
0
0
0
0
0
1
0.038462
false
0
0
0
0.076923
0.038462
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
682a064d6c88d8756165c64674557482e7b37ff4
1,477
py
Python
tests/test_order.py
neurophysik/jitcode
cbc815da01974597057c8d78f74d16169bdad580
[ "BSD-3-Clause" ]
56
2016-06-17T15:53:01.000Z
2022-03-17T16:47:00.000Z
tests/test_order.py
neurophysik/jitcode
cbc815da01974597057c8d78f74d16169bdad580
[ "BSD-3-Clause" ]
33
2016-08-16T11:41:42.000Z
2022-03-05T16:09:41.000Z
tests/test_order.py
neurophysik/jitcode
cbc815da01974597057c8d78f74d16169bdad580
[ "BSD-3-Clause" ]
9
2016-07-19T19:00:27.000Z
2019-11-19T00:36:38.000Z
from jitcode import jitcode from symengine import Symbol from itertools import permutations p = Symbol('p') f = [1/p] for integrator in ["dopri5","RK45"]: def set_integrator(ODE): ODE.set_integrator(integrator) def set_parameters(ODE): ODE.set_parameters(1) def set_initial_value(ODE): ODE.set_initial_va...
25.033898
82
0.733243
216
1,477
4.791667
0.25463
0.075362
0.086957
0.092754
0.85314
0.85314
0.805797
0.805797
0.805797
0.805797
0
0.018429
0.155044
1,477
58
83
25.465517
0.810897
0
0
0.711111
0
0
0.06432
0
0
0
0
0
0.133333
1
0.111111
false
0
0.066667
0
0.177778
0.066667
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
6834d917ce849992415e1e7e669c40456961d7a7
156,633
py
Python
dlkit/abstract_osid/installation/sessions.py
UOC/dlkit
a9d265db67e81b9e0f405457464e762e2c03f769
[ "MIT" ]
2
2018-02-23T12:16:11.000Z
2020-10-08T17:54:24.000Z
dlkit/abstract_osid/installation/sessions.py
UOC/dlkit
a9d265db67e81b9e0f405457464e762e2c03f769
[ "MIT" ]
87
2017-04-21T18:57:15.000Z
2021-12-13T19:43:57.000Z
dlkit/abstract_osid/installation/sessions.py
UOC/dlkit
a9d265db67e81b9e0f405457464e762e2c03f769
[ "MIT" ]
1
2018-03-01T16:44:25.000Z
2018-03-01T16:44:25.000Z
"""Implementations of installation abstract base class sessions.""" # pylint: disable=invalid-name # Method names comply with OSID specification. # pylint: disable=no-init # Abstract classes do not define __init__. # pylint: disable=too-few-public-methods # Some interfaces are specified as 'markers' and inc...
36.392426
120
0.650265
17,900
156,633
5.603352
0.034693
0.022233
0.043868
0.063609
0.884497
0.860768
0.83004
0.807119
0.787886
0.772084
0
0.000034
0.24906
156,633
4,303
121
36.400883
0.852698
0.729987
0
0.731642
0
0
0
0
0
0
0
0
0
1
0.293725
false
0.098798
0.001335
0
0.607477
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
10
68591867aa84d64fb565fcb3371c92ab03be8e61
70
py
Python
examples/test_sample_1.py
MateuszG/django_auth
4cda699c1b6516ffaa26329f545a674a7c849a16
[ "MIT" ]
2
2015-01-12T09:43:59.000Z
2015-01-12T10:39:31.000Z
examples/test_sample_1.py
MateuszG/django_auth
4cda699c1b6516ffaa26329f545a674a7c849a16
[ "MIT" ]
null
null
null
examples/test_sample_1.py
MateuszG/django_auth
4cda699c1b6516ffaa26329f545a674a7c849a16
[ "MIT" ]
null
null
null
def test_ok(): assert 1 == 1 def test_fail(): assert 1 != 1
10
17
0.542857
12
70
3
0.5
0.388889
0.444444
0
0
0
0
0
0
0
0
0.083333
0.314286
70
6
18
11.666667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.5
1
0.5
true
0
0
0
0.5
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
1
0
0
0
0
0
0
7
0bda36c60ff32605a95b06e23c8d626dd1353cb0
236
bzl
Python
lib/docs.bzl
alexeagle/bazel-lib
02be4c5f47b476e686943f53ddd47a672a51a265
[ "Apache-2.0" ]
16
2021-11-08T15:03:49.000Z
2022-03-23T19:38:32.000Z
lib/docs.bzl
alexeagle/bazel-lib
02be4c5f47b476e686943f53ddd47a672a51a265
[ "Apache-2.0" ]
29
2021-11-15T16:27:25.000Z
2022-03-31T04:03:16.000Z
lib/docs.bzl
alexeagle/bazel-lib
02be4c5f47b476e686943f53ddd47a672a51a265
[ "Apache-2.0" ]
3
2021-12-09T00:27:42.000Z
2022-03-30T20:14:00.000Z
"Public API for docs helpers" load( "//lib/private:docs.bzl", _stardoc_with_diff_test = "stardoc_with_diff_test", _update_docs = "update_docs", ) stardoc_with_diff_test = _stardoc_with_diff_test update_docs = _update_docs
21.454545
55
0.762712
34
236
4.705882
0.411765
0.275
0.375
0.475
0.725
0.725
0.725
0.725
0.725
0.725
0
0
0.144068
236
10
56
23.6
0.792079
0.114407
0
0
0
0
0.347458
0.186441
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
1
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
0bf3a7c46b024e81d6506f6908c281532da75bb3
23,217
py
Python
tests/test_scripts/features/test_html_feature.py
chakki-works/elephant-sense
ba7c95e557d8b5a2bdce699fb473de3183a7ca6f
[ "Apache-2.0" ]
14
2017-04-07T10:46:49.000Z
2019-08-07T09:58:54.000Z
tests/test_scripts/features/test_html_feature.py
chakki-works/elephant-sense
ba7c95e557d8b5a2bdce699fb473de3183a7ca6f
[ "Apache-2.0" ]
null
null
null
tests/test_scripts/features/test_html_feature.py
chakki-works/elephant-sense
ba7c95e557d8b5a2bdce699fb473de3183a7ca6f
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import os import sys sys.path.append(os.path.join(os.path.dirname(__file__), "../../../")) import json import unittest from scripts.features.post import Post from scripts.features.post_feature import PostFeature import scripts.features.html_feature_extractor as hExt class TestHtmlFeature(unitt...
279.722892
17,748
0.60249
3,707
23,217
3.760453
0.094955
0.288594
0.318006
0.147633
0.747131
0.711263
0.693759
0.677403
0.620014
0.566643
0
0.033031
0.07417
23,217
82
17,749
283.134146
0.615399
0.000905
0
0.054795
0
0.041096
0.967578
0.679271
0
0
0
0
0.013699
1
0.027397
false
0
0.123288
0
0.164384
0.013699
0
0
0
null
1
1
0
0
1
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
0406ab02c7fba61c7f542161084649674e283153
2,807
py
Python
rx/operators/observable/filter.py
yutiansut/RxPY
c3bbba77f9ebd7706c949141725e220096deabd4
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
rx/operators/observable/filter.py
yutiansut/RxPY
c3bbba77f9ebd7706c949141725e220096deabd4
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
rx/operators/observable/filter.py
yutiansut/RxPY
c3bbba77f9ebd7706c949141725e220096deabd4
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
from typing import Callable from rx.core import AnonymousObservable, ObservableBase as Observable from rx.core.typing import Predicate, PredicateIndexed, Scheduler, Observer, Disposable # pylint: disable=W0622 def filter(predicate: Predicate) -> Callable[[Observable], Observable]: """Filters the elements of an o...
35.0875
98
0.629141
302
2,807
5.781457
0.261589
0.045819
0.045819
0.040092
0.731959
0.731959
0.731959
0.731959
0.731959
0.731959
0
0.009269
0.308158
2,807
79
99
35.531646
0.889804
0.374421
0
0.628571
0
0
0
0
0
0
0
0
0
1
0.228571
false
0
0.085714
0
0.542857
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
7
0458a84e1a9dd4b7c093bd93fc143c5d25b9fac6
2,283
py
Python
tests/test_executemany.py
jim-obrien-orig/gino
5977d79ff12b5e3ab6a598b5d6dba6b140811c2c
[ "BSD-3-Clause" ]
null
null
null
tests/test_executemany.py
jim-obrien-orig/gino
5977d79ff12b5e3ab6a598b5d6dba6b140811c2c
[ "BSD-3-Clause" ]
null
null
null
tests/test_executemany.py
jim-obrien-orig/gino
5977d79ff12b5e3ab6a598b5d6dba6b140811c2c
[ "BSD-3-Clause" ]
null
null
null
import pytest from .models import db, User pytestmark = pytest.mark.asyncio # noinspection PyUnusedLocal async def test_status(bind): statement, params = db.compile(User.insert(), [dict(name='1'), dict(name='2')]) assert statement == ('INSERT INTO gino_users (name, type) '...
33.086957
76
0.605782
331
2,283
4.163142
0.145015
0.092888
0.091437
0.117562
0.841074
0.769231
0.769231
0.751814
0.729318
0.620464
0
0.025352
0.222514
2,283
68
77
33.573529
0.750986
0.046868
0
0.607843
0
0
0.043759
0
0
0
0
0
0.431373
1
0
false
0
0.039216
0
0.039216
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
7
f0b8e29adaeb976cecc1d4a2ade701f2be7b139c
6,275
py
Python
gpposts/spiders/media_spider.py
stefanduerrenberger/p3-export
9862600c8cbb59bc98db980d03d802003a581728
[ "MIT" ]
1
2017-01-10T12:51:49.000Z
2017-01-10T12:51:49.000Z
gpposts/spiders/media_spider.py
stefanduerrenberger/p3-export
9862600c8cbb59bc98db980d03d802003a581728
[ "MIT" ]
null
null
null
gpposts/spiders/media_spider.py
stefanduerrenberger/p3-export
9862600c8cbb59bc98db980d03d802003a581728
[ "MIT" ]
null
null
null
import scrapy import logging import locale locale.setlocale(locale.LC_ALL, 'de_CH.utf8') class PressReleasesSpider(scrapy.Spider): name = 'pressreleases' custom_settings = { 'ROBOTSTXT_OBEY': 0, 'FEED_URI': 'pressreleases_de.xml', 'FEED_FORMAT': 'xml', 'FEED_EXPORT_ENCODING':...
49.409449
181
0.595697
765
6,275
4.788235
0.184314
0.054054
0.053508
0.05733
0.948403
0.948403
0.946219
0.946219
0.920011
0.920011
0
0.005055
0.211793
6,275
126
182
49.801587
0.735544
0.098645
0
0.787234
0
0.06383
0.356434
0.154201
0
0
0
0
0
1
0.085106
false
0
0.031915
0.021277
0.202128
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
9bd205a70744cbffb93d41dac906b74434fdd66d
688
py
Python
make_data/shopping/shopping_templates.py
ricosr/travel_consult_chatbot
cb258d65672ae1d8e2035ed0d7c0703e9d77eae9
[ "MIT" ]
null
null
null
make_data/shopping/shopping_templates.py
ricosr/travel_consult_chatbot
cb258d65672ae1d8e2035ed0d7c0703e9d77eae9
[ "MIT" ]
4
2020-01-28T23:02:29.000Z
2022-02-10T00:46:45.000Z
make_data/shopping/shopping_templates.py
ricosr/travel_consult_chatbot
cb258d65672ae1d8e2035ed0d7c0703e9d77eae9
[ "MIT" ]
1
2019-10-10T04:15:24.000Z
2019-10-10T04:15:24.000Z
# -*- coding: utf-8 -*- commodity_template = """ - 我想买个[{commodity}](commodity)啊 - 哪里有卖[{commodity}](commodity)的店 - 找一个卖[{commodity}](commodity)的地方 - 帮我找有卖[{commodity}](commodity)的商店 - 哪里有商场可以买[{commodity}](commodity) - 哪能买到[{commodity}](commodity) - 去哪买[{commodity}](commodity) - 附近有什么买东西地方吗 - 我想买一些好玩的东西 """ commodit...
24.571429
41
0.651163
65
688
6.815385
0.307692
0.609481
0.099323
0.103837
0.75395
0.75395
0.75395
0.75395
0.75395
0.75395
0
0.005025
0.132267
688
28
42
24.571429
0.737018
0.030523
0
0
0
0
0.75976
0.627628
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
9bec6258bee5099be162b8d88e8e87b78b47a786
1,306
py
Python
deep_utils/dummy_objects/vision/face_detection/__init__.py
pooya-mohammadi/deep_utils
b589d8ab0a8d63f3d3b90c3bc0d4b1b648b8be37
[ "MIT" ]
36
2021-11-10T05:17:18.000Z
2022-03-27T18:25:10.000Z
deep_utils/dummy_objects/vision/face_detection/__init__.py
pooya-mohammadi/deep_utils
b589d8ab0a8d63f3d3b90c3bc0d4b1b648b8be37
[ "MIT" ]
1
2021-12-03T07:07:18.000Z
2022-03-08T09:29:03.000Z
deep_utils/dummy_objects/vision/face_detection/__init__.py
pooya-mohammadi/deep_utils
b589d8ab0a8d63f3d3b90c3bc0d4b1b648b8be37
[ "MIT" ]
4
2021-11-28T07:39:57.000Z
2022-03-30T05:46:10.000Z
from deep_utils.dummy_objects import DummyObject, requires_backends class HaarcascadeCV2FaceDetector(metaclass=DummyObject): _backend = ["cv2"] def __init__(self, *args, **kwargs): requires_backends(self, self._backend) class MTCNNTFFaceDetector(metaclass=DummyObject): _backend = ["tensorflow",...
25.607843
67
0.705972
126
1,306
6.904762
0.214286
0.147126
0.217241
0.112644
0.734483
0.734483
0.734483
0.734483
0.734483
0.734483
0
0.008287
0.168453
1,306
50
68
26.12
0.792818
0
0
0.724138
0
0
0.042879
0
0
0
0
0
0
1
0.241379
false
0
0.034483
0
0.758621
0
0
0
0
null
0
1
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
8
5026d952778dda319685b6323d7aab7117a07265
16,739
py
Python
redpandas/tests/test_redpd_build_station.py
RedVoxInc/redpandas
197aa164829a495d118117f2d3de28bd0af2accc
[ "Apache-2.0" ]
1
2021-07-08T00:39:45.000Z
2021-07-08T00:39:45.000Z
redpandas/tests/test_redpd_build_station.py
RedVoxInc/redpandas
197aa164829a495d118117f2d3de28bd0af2accc
[ "Apache-2.0" ]
1
2022-03-18T20:35:48.000Z
2022-03-23T20:43:10.000Z
redpandas/tests/test_redpd_build_station.py
RedVoxInc/redpandas
197aa164829a495d118117f2d3de28bd0af2accc
[ "Apache-2.0" ]
null
null
null
import unittest import numpy as np import redpandas.redpd_build_station as rpd_build_sta from redvox.common.data_window import DataWindow # # Load data once for speed # rdvx_data: DataWindow = DataWindow.from_json_file(base_dir="test_data", # file_name="aud_bar_acc_mag...
49.232353
119
0.512695
1,548
16,739
5.202842
0.091085
0.080457
0.111746
0.086913
0.835734
0.807177
0.807177
0.797864
0.782841
0.773405
0
0.021831
0.403429
16,739
339
120
49.377581
0.784699
0.951132
0
0
0
0
0
0
0
0
0
0.00295
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
1
1
1
1
1
1
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
1
0
0
10
acd154773cc75e002b5cd55d706238050b27d67c
9,941
py
Python
utils/metrics.py
badulion/code-2021-soilnet
2a20f30707a7d9d121c32a18eb72e04895d7b458
[ "MIT" ]
null
null
null
utils/metrics.py
badulion/code-2021-soilnet
2a20f30707a7d9d121c32a18eb72e04895d7b458
[ "MIT" ]
null
null
null
utils/metrics.py
badulion/code-2021-soilnet
2a20f30707a7d9d121c32a18eb72e04895d7b458
[ "MIT" ]
null
null
null
import numpy as np from scipy.spatial.distance import jensenshannon from scipy.stats import entropy class Metric: def __init__(self): super().__init__() def reset(self): raise NotImplementedError def update(self, pred, target): raise NotImplementedError def calculate(self): ...
31.065625
243
0.60004
1,220
9,941
4.619672
0.092623
0.129702
0.074521
0.085167
0.820263
0.793648
0.780163
0.76313
0.722321
0.668382
0
0.027876
0.260235
9,941
319
244
31.163009
0.73851
0.020722
0
0.663677
0
0
0.013928
0.00227
0
0
0
0
0
1
0.224215
false
0
0.013453
0.03139
0.349776
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
7
c57a60bb8ebfe7117201b714ae1e628b3a5e9cc1
186
py
Python
rubicon/domain/utils/uuid.py
gforsyth/rubicon
b77c0bdfc73d3f5666f76c83240706c10cd2e88c
[ "Apache-2.0" ]
42
2021-02-23T23:30:49.000Z
2021-05-01T02:54:03.000Z
rubicon/domain/utils/uuid.py
gforsyth/rubicon
b77c0bdfc73d3f5666f76c83240706c10cd2e88c
[ "Apache-2.0" ]
56
2021-05-13T13:47:50.000Z
2022-03-24T13:46:49.000Z
rubicon/domain/utils/uuid.py
gforsyth/rubicon
b77c0bdfc73d3f5666f76c83240706c10cd2e88c
[ "Apache-2.0" ]
9
2021-02-23T23:30:51.000Z
2021-04-24T16:42:28.000Z
import uuid def uuid4(): """Generate a UUID as a string in a single function. To be used as a default factory within `dataclasses.field`. """ return str(uuid.uuid4())
18.6
63
0.655914
28
186
4.357143
0.75
0.04918
0
0
0
0
0
0
0
0
0
0.014184
0.241935
186
9
64
20.666667
0.851064
0.591398
0
0
1
0
0
0
0
0
0
0
0
1
0.333333
true
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
0
0
7
c59e7d67c773eb0754aad329c6dccbe5f1e7056d
8,214
py
Python
LiveObjects/hal.py
tomekmalek/LiveObjects_SDK_for_Python
1c95ffe2d1296aeef90815755632cf4abfa02cba
[ "MIT" ]
null
null
null
LiveObjects/hal.py
tomekmalek/LiveObjects_SDK_for_Python
1c95ffe2d1296aeef90815755632cf4abfa02cba
[ "MIT" ]
null
null
null
LiveObjects/hal.py
tomekmalek/LiveObjects_SDK_for_Python
1c95ffe2d1296aeef90815755632cf4abfa02cba
[ "MIT" ]
null
null
null
# # Copyright (C) Orange # # This software is distributed under the terms and conditions of the 'MIT' # license which can be found in the file 'LICENSE.md' in this package distribution import sys import LiveObjects class BoardsInterface: DEFAULT_CARRIER = 1 EXISTING_NETWORK = 2 WIFI = 3 LTE = 4 ...
37.336364
118
0.697468
987
8,214
5.441743
0.134752
0.066468
0.067585
0.067771
0.80674
0.783839
0.765593
0.753491
0.753491
0.752746
0
0.002806
0.219016
8,214
219
119
37.506849
0.834451
0.029827
0
0.676829
0
0
0.027007
0.009923
0
0
0
0
0
1
0.22561
false
0.054878
0.109756
0.04878
0.54878
0.012195
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
9
c5d67f3b0c261f2e216e3138e3da5671b090b01e
74,464
py
Python
tests/dependencies/test_limiters.py
thesadru/Tanjun
977eacbd2b0eeafd14a30450aceeb9e329703edd
[ "BSD-3-Clause" ]
null
null
null
tests/dependencies/test_limiters.py
thesadru/Tanjun
977eacbd2b0eeafd14a30450aceeb9e329703edd
[ "BSD-3-Clause" ]
null
null
null
tests/dependencies/test_limiters.py
thesadru/Tanjun
977eacbd2b0eeafd14a30450aceeb9e329703edd
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # cython: language_level=3 # BSD 3-Clause License # # Copyright (c) 2020-2022, Faster Speeding # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of sour...
43.520748
119
0.718173
9,188
74,464
5.503265
0.05148
0.043984
0.044735
0.029665
0.909184
0.885155
0.861878
0.83423
0.80229
0.772229
0
0.022772
0.192657
74,464
1,710
120
43.546199
0.818307
0.023125
0
0.703963
0
0
0.025225
0.001293
0
0
0
0
0.292152
1
0.045843
false
0.002331
0.00777
0
0.067599
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
a874779a5fa510957141f0bae7e117a21d0ad5f0
36,142
py
Python
faro/test/test_regex.py
cgiraldo/FARO
aa599fe8eebb489fe032549ec52771574a6d04bd
[ "MIT" ]
null
null
null
faro/test/test_regex.py
cgiraldo/FARO
aa599fe8eebb489fe032549ec52771574a6d04bd
[ "MIT" ]
null
null
null
faro/test/test_regex.py
cgiraldo/FARO
aa599fe8eebb489fe032549ec52771574a6d04bd
[ "MIT" ]
null
null
null
# Copyright (c) 2019 by Gradiant. All rights reserved. # This code cannot be used, copied, modified and/or distributed without # the express permission of the authors. ''' Created on 24th of April (2019) @a...
37.030738
141
0.490786
3,543
36,142
4.822467
0.068868
0.044481
0.11565
0.142339
0.896523
0.879843
0.840981
0.827286
0.819443
0.812771
0
0.040254
0.398567
36,142
975
142
37.068718
0.745733
0.057385
0
0.791225
0
0.001513
0.210383
0.020124
0
0
0
0
0.114977
1
0.062027
false
0.003026
0.004539
0
0.068079
0.012103
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
a884458c5f3523976ca4d06339541fd722f3cf42
29
py
Python
app/static/Neural/neural2.py
pbontrager/DeepInteractiveEvolution
aaa69e27f72ead4f99d03d963273779d143591f6
[ "MIT" ]
1
2021-03-19T01:51:57.000Z
2021-03-19T01:51:57.000Z
app/static/Neural/neural2.py
pbontrager/DeepInteractiveEvolution
aaa69e27f72ead4f99d03d963273779d143591f6
[ "MIT" ]
null
null
null
app/static/Neural/neural2.py
pbontrager/DeepInteractiveEvolution
aaa69e27f72ead4f99d03d963273779d143591f6
[ "MIT" ]
null
null
null
def function(): return 2
9.666667
15
0.62069
4
29
4.5
1
0
0
0
0
0
0
0
0
0
0
0.047619
0.275862
29
2
16
14.5
0.809524
0
0
0
0
0
0
0
0
0
0
0
0
1
0.5
true
0
0
0.5
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
1
1
0
0
7
a89719778d87272a26b331dc6b873d99ad36ea42
14,777
py
Python
opennem/api/controllers.py
tourdownunder/opennem
deec3e2079db9d9d84171010fd0c239170d1e7ce
[ "MIT" ]
null
null
null
opennem/api/controllers.py
tourdownunder/opennem
deec3e2079db9d9d84171010fd0c239170d1e7ce
[ "MIT" ]
1
2020-09-06T04:17:59.000Z
2020-09-06T04:17:59.000Z
opennem/api/controllers.py
tourdownunder/opennem
deec3e2079db9d9d84171010fd0c239170d1e7ce
[ "MIT" ]
null
null
null
import decimal import json from datetime import datetime from sqlalchemy.orm import sessionmaker from opennem.db import db_connect from opennem.db.models.opennem import FuelTech from opennem.db.models.wem import WemFacility, metadata engine = db_connect() session = sessionmaker(bind=engine) PERIOD_MAP = { "all...
28.472062
85
0.487108
1,541
14,777
4.465931
0.090201
0.091107
0.088346
0.106946
0.824179
0.804563
0.790468
0.769398
0.763731
0.763731
0
0.010638
0.389321
14,777
518
86
28.527027
0.751995
0.006903
0
0.777494
0
0
0.364695
0.031659
0
0
0
0
0
1
0.02046
false
0
0.017903
0
0.058824
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
a89c899b1613788fe2af720f3a3af68d4b57cb96
21,470
py
Python
examples/uplink_booster_analyzer/lte_rlc_analyzer.py
lgs96/mobileinsight_core
02dd7a8e96610941163cc95a8f0ef00795ff847d
[ "Apache-2.0" ]
null
null
null
examples/uplink_booster_analyzer/lte_rlc_analyzer.py
lgs96/mobileinsight_core
02dd7a8e96610941163cc95a8f0ef00795ff847d
[ "Apache-2.0" ]
null
null
null
examples/uplink_booster_analyzer/lte_rlc_analyzer.py
lgs96/mobileinsight_core
02dd7a8e96610941163cc95a8f0ef00795ff847d
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # Filename: lte_rlc_analyzer.py """ A 4G RLC analyzer to get link layer information Author: Haotian Deng """ from mobile_insight.analyzer.analyzer import * from xml.dom import minidom __all__ = ["LteRlcAnalyzer"] class LteRlcAnalyzer(Analyzer): def __init__(self): Analyzer.__init__(...
51.119048
128
0.396879
1,846
21,470
4.387866
0.091008
0.07284
0.119259
0.045432
0.883951
0.866914
0.84284
0.83679
0.798272
0.790864
0
0.009611
0.486306
21,470
419
129
51.24105
0.724816
0.108803
0
0.768072
0
0
0.122506
0.013233
0
0
0
0
0
1
0.009036
false
0
0.006024
0
0.018072
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
a8b7132ec16570c40202dc22c55ac12ee60b2b19
2,143
py
Python
home/models.py
codejay411/Wheeling_and_dealing
26b8133950094e7b65463c8418edd8f5cd1c544c
[ "MIT" ]
1
2020-12-26T05:43:49.000Z
2020-12-26T05:43:49.000Z
home/models.py
codejay411/Wheeling_and_dealing
26b8133950094e7b65463c8418edd8f5cd1c544c
[ "MIT" ]
null
null
null
home/models.py
codejay411/Wheeling_and_dealing
26b8133950094e7b65463c8418edd8f5cd1c544c
[ "MIT" ]
2
2020-09-11T18:04:42.000Z
2021-06-08T17:31:32.000Z
from django.db import models from django.contrib.auth.models import User # Create your models here. class ngodetail(models.Model): user = models.OneToOneField(User, null=True, blank=True, on_delete=models.CASCADE) name = models.CharField(max_length=200, null=True) city = models.CharField(max_length=200, null...
33.484375
86
0.744284
294
2,143
5.251701
0.187075
0.11399
0.198187
0.264249
0.830959
0.813472
0.813472
0.709845
0.709845
0.709845
0
0.028556
0.133924
2,143
63
87
34.015873
0.803341
0.262716
0
0.59375
0
0
0
0
0
0
0
0
0
1
0.09375
false
0
0.0625
0.09375
1
0
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
9
a8c0597b4abb5d2e651134d4dac7cd8116f08196
336,926
py
Python
pysnmp-with-texts/DPS-MIB-NGD-V10.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/DPS-MIB-NGD-V10.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/DPS-MIB-NGD-V10.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module DPS-MIB-NGD-V10 (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/DPS-MIB-NGD-V10 # Produced by pysmi-0.3.4 at Wed May 1 12:54:11 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27...
273.923577
7,917
0.697735
44,081
336,926
5.333023
0.035548
0.139354
0.208992
0.278657
0.824378
0.819274
0.733973
0.733564
0.733165
0.718055
0
0.103069
0.071321
336,926
1,229
7,918
274.146461
0.648251
0.000962
0
0
0
0
0.514901
0.000131
0
0
0
0
0
1
0
false
0
0.005728
0
0.005728
0
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
a8cbe49511bb72012f2db914de168e771d9bb20c
6,050
py
Python
src/dnaSeq/VAPr/variantannotation/annotate_batch.py
AspirinCode/jupyter-genomics
d45526fab3de8fcc3d9fef005d4e39368ff3dfdc
[ "MIT" ]
2
2019-01-04T08:17:27.000Z
2021-04-10T02:59:35.000Z
src/dnaSeq/VAPr/variantannotation/annotate_batch.py
AspirinCode/jupyter-genomics
d45526fab3de8fcc3d9fef005d4e39368ff3dfdc
[ "MIT" ]
null
null
null
src/dnaSeq/VAPr/variantannotation/annotate_batch.py
AspirinCode/jupyter-genomics
d45526fab3de8fcc3d9fef005d4e39368ff3dfdc
[ "MIT" ]
2
2021-09-10T02:57:51.000Z
2021-09-21T00:16:56.000Z
from utilities import convert from utilities import final_joint import myvariant_parsing_utils from annovar_processing import get_list_from_annovar_csv from mongo_DB_export import export import csv_to_df class AnnotationMethods(object): @staticmethod def by_chunks(variant_list, chunksize, step, file_name, c...
45.488722
122
0.699008
836
6,050
4.886364
0.185407
0.045777
0.029376
0.023501
0.809547
0.785312
0.769645
0.760098
0.743452
0.743452
0
0.006599
0.248595
6,050
132
123
45.833333
0.891993
0.003636
0
0.6
0
0
0.033858
0
0
0
0
0
0
0
null
null
0
0.12
null
null
0.1
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
7
76c221378b749f20773202bb073f7157ec224c49
2,522
py
Python
examples/flask/client.py
Varun-22/Validator
2c5caa9323aef35e2796813a357e5a7d6d4a80ba
[ "MIT" ]
41
2020-05-07T15:35:12.000Z
2021-11-01T03:57:09.000Z
examples/flask/client.py
Varun-22/Validator
2c5caa9323aef35e2796813a357e5a7d6d4a80ba
[ "MIT" ]
83
2020-05-09T22:11:26.000Z
2022-03-10T19:06:46.000Z
examples/flask/client.py
Varun-22/Validator
2c5caa9323aef35e2796813a357e5a7d6d4a80ba
[ "MIT" ]
25
2020-05-27T22:46:01.000Z
2022-03-04T01:36:11.000Z
import requests as req from pprint import pprint import utils as U import json FLASK_SERVER_URL = "http://127.0.0.1:5000" # Main Client Functions def register_1_pass(): U._log_prompt("1. GET Request With Valid Data") # Data to validate data = { "age": "23", "first_name": "John", "...
23.351852
59
0.60111
345
2,522
4.214493
0.205797
0.038514
0.053645
0.070151
0.811554
0.811554
0.811554
0.811554
0.811554
0.713205
0
0.015974
0.255353
2,522
107
60
23.570093
0.758253
0.126487
0
0.643836
0
0
0.267032
0
0
0
0
0
0
1
0.054795
false
0.082192
0.054795
0
0.109589
0.150685
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
7
8c5faaf49be230949439e76d5b8439cde6d32711
3,624
py
Python
apps/profile/views.py
jamesj0918/sejongapi-v1
5945b959f7d4a97ec64ee40a28a797b30067421b
[ "MIT" ]
null
null
null
apps/profile/views.py
jamesj0918/sejongapi-v1
5945b959f7d4a97ec64ee40a28a797b30067421b
[ "MIT" ]
2
2020-02-11T23:35:52.000Z
2020-06-05T19:55:32.000Z
apps/profile/views.py
jamesj0918/sejongapi-v1
5945b959f7d4a97ec64ee40a28a797b30067421b
[ "MIT" ]
null
null
null
from rest_framework.exceptions import NotFound from rest_framework.permissions import IsAuthenticated from rest_framework.generics import RetrieveAPIView, RetrieveUpdateAPIView, UpdateAPIView from rest_framework.response import Response from rest_framework import status from .models import Profile from .serializers im...
39.391304
102
0.705022
401
3,624
6.21197
0.206983
0.024087
0.034123
0.054195
0.765957
0.729024
0.725411
0.711361
0.711361
0.711361
0
0.005236
0.209437
3,624
91
103
39.824176
0.864223
0
0
0.722222
0
0
0.059051
0
0
0
0
0
0
1
0.097222
false
0
0.097222
0
0.513889
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
7
4fd9d308d314e16d37f8d0a8574b0a0de66073b5
94
py
Python
unknown.py
deepettas/intervention
6bf6e77c58abc66bc434a986a1dc18313cb5d3ba
[ "MIT" ]
4
2015-05-07T16:04:49.000Z
2021-07-12T14:06:05.000Z
unknown.py
deepettas/intervention
6bf6e77c58abc66bc434a986a1dc18313cb5d3ba
[ "MIT" ]
9
2015-03-21T07:24:54.000Z
2015-05-22T17:27:49.000Z
unknown.py
deepettas/intervention
6bf6e77c58abc66bc434a986a1dc18313cb5d3ba
[ "MIT" ]
2
2015-05-08T11:47:51.000Z
2019-09-29T12:49:32.000Z
def hide_cursor(): pass def show_cursor(): pass def get_idle_time(): return 0
8.545455
20
0.62766
14
94
3.928571
0.714286
0.363636
0.472727
0
0
0
0
0
0
0
0
0.014706
0.276596
94
10
21
9.4
0.794118
0
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.5
true
0.333333
0
0.166667
0.666667
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
1
0
1
1
0
0
8
8b250c72f78f1143cee93a8399f2ccee6aae94b1
66
py
Python
bot/data/__init__.py
lookandhate/Bugtracker-Project
e2d5d5261b5549f2494e876de3fd928c60d47c42
[ "MIT" ]
1
2022-02-15T12:26:36.000Z
2022-02-15T12:26:36.000Z
bot/data/__init__.py
lookandhate/Bugtracker-Project
e2d5d5261b5549f2494e876de3fd928c60d47c42
[ "MIT" ]
null
null
null
bot/data/__init__.py
lookandhate/Bugtracker-Project
e2d5d5261b5549f2494e876de3fd928c60d47c42
[ "MIT" ]
1
2020-04-08T16:30:43.000Z
2020-04-08T16:30:43.000Z
from .discord_db_models import * from .discord_db_session import *
33
33
0.833333
10
66
5.1
0.6
0.431373
0.509804
0
0
0
0
0
0
0
0
0
0.106061
66
2
33
33
0.864407
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
8b414449c53dc044ce65ac7b2d1e317921c7bb1c
80,086
py
Python
cnns/nnlib/pytorch_layers/conv1D_fft_test.py
anonymous-user-commits/perturb-net
66fc7c4a1234fa34b92bcc85751f0a6e23d80a23
[ "MIT" ]
1
2018-03-25T13:19:46.000Z
2018-03-25T13:19:46.000Z
cnns/nnlib/pytorch_layers/conv1D_fft_test.py
anonymous-user-commits/perturb-net
66fc7c4a1234fa34b92bcc85751f0a6e23d80a23
[ "MIT" ]
null
null
null
cnns/nnlib/pytorch_layers/conv1D_fft_test.py
anonymous-user-commits/perturb-net
66fc7c4a1234fa34b92bcc85751f0a6e23d80a23
[ "MIT" ]
null
null
null
import logging import unittest import gc import numpy as np import torch from scipy import stats from torch import tensor from cnns.nnlib.layers import conv_backward_naive_1D from cnns.nnlib.layers import conv_forward_naive_1D from cnns.nnlib.pytorch_layers.conv1D_fft \ import Conv1dfftFunction, Conv1dfftAutograd,...
46.453596
86
0.563707
9,820
80,086
4.410285
0.050917
0.08825
0.037821
0.038329
0.851278
0.831605
0.814126
0.808262
0.798795
0.789282
0
0.061788
0.308056
80,086
1,723
87
46.480557
0.719751
0.130335
0
0.756431
0
0
0.062645
0.005634
0
0
0
0
0.069936
1
0.043408
false
0.005627
0.016881
0
0.061093
0.073955
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
8b43bc3c7a2734799fe4a95b4cf159153c39c82c
1,846
py
Python
tests/test_add_images_weighted.py
elsandal/pyclesperanto_prototype
7bda828813b86b44b63d73d5e8f466d9769cded1
[ "BSD-3-Clause" ]
64
2020-03-18T12:11:22.000Z
2022-03-31T08:19:18.000Z
tests/test_add_images_weighted.py
elsandal/pyclesperanto_prototype
7bda828813b86b44b63d73d5e8f466d9769cded1
[ "BSD-3-Clause" ]
148
2020-05-14T06:14:11.000Z
2022-03-26T15:02:31.000Z
tests/test_add_images_weighted.py
elsandal/pyclesperanto_prototype
7bda828813b86b44b63d73d5e8f466d9769cded1
[ "BSD-3-Clause" ]
16
2020-05-31T00:53:44.000Z
2022-03-23T13:20:57.000Z
import pyclesperanto_prototype as cle import numpy as np def test_add_images_weighted_missing_parameters(): input1 = np.asarray([[1, 2, 3]]) input2 = np.asarray([[4, 5, 6]]) reference = np.asarray([[5, 7, 9]]) output = cle.add_images_weighted(input1, input2) result = cle.pull(output) print(r...
26.371429
80
0.666306
259
1,846
4.57529
0.166023
0.113924
0.14346
0.067511
0.8827
0.862447
0.862447
0.83038
0.83038
0.83038
0
0.057769
0.184182
1,846
69
81
26.753623
0.729084
0
0
0.723404
0
0
0
0
0
0
0
0
0.106383
1
0.106383
false
0
0.042553
0
0.148936
0.212766
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
8cf23ad0c9f2e439e8ce73c5122801e829d5eea9
57
py
Python
src/experiment_collection_core/__init__.py
AsciiShell/experiment_collection
86397cae1427c49f30e8af2d6dfb7a15c3f3494d
[ "MIT" ]
2
2020-09-30T21:42:35.000Z
2020-11-21T17:58:40.000Z
src/experiment_collection_core/__init__.py
AsciiShell/experiment_collection
86397cae1427c49f30e8af2d6dfb7a15c3f3494d
[ "MIT" ]
null
null
null
src/experiment_collection_core/__init__.py
AsciiShell/experiment_collection
86397cae1427c49f30e8af2d6dfb7a15c3f3494d
[ "MIT" ]
null
null
null
from . import service_pb2 from . import service_pb2_grpc
19
30
0.824561
9
57
4.888889
0.555556
0.454545
0.772727
0.909091
0
0
0
0
0
0
0
0.040816
0.140351
57
2
31
28.5
0.857143
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
8
50ede8a2162d0d9f1f5f1f6750e14d85b83bb4b5
254
py
Python
particle_packing/ellipsoid/__init__.py
aluchies/particle_packing
127603a519ae25979de6c6197810a7ea38ec945b
[ "BSD-3-Clause" ]
null
null
null
particle_packing/ellipsoid/__init__.py
aluchies/particle_packing
127603a519ae25979de6c6197810a7ea38ec945b
[ "BSD-3-Clause" ]
null
null
null
particle_packing/ellipsoid/__init__.py
aluchies/particle_packing
127603a519ae25979de6c6197810a7ea38ec945b
[ "BSD-3-Clause" ]
null
null
null
from ..ext.ellipsoid import overlap_potential, cube_container_potential from Ellipsoid import Ellipsoid, overlap_potential_py, cube_container_potential_py from Ellipsoid import _quaternion_to_rotation_matrix as quaternion_to_rotation_matrix import pack
42.333333
85
0.897638
34
254
6.264706
0.441176
0.211268
0.206573
0.244131
0
0
0
0
0
0
0
0
0.07874
254
6
86
42.333333
0.910256
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
0f95d3ccac4997f1861e4fcf611409c142dbcdb2
1,984
py
Python
tests/console/test_record.py
adamghill/coltrane
73eb85f2468f10068691600a2a56f6a9b2717b5c
[ "MIT" ]
28
2022-01-03T05:23:19.000Z
2022-02-25T18:17:08.000Z
tests/console/test_record.py
adamghill/coltrane
73eb85f2468f10068691600a2a56f6a9b2717b5c
[ "MIT" ]
27
2022-01-04T04:01:46.000Z
2022-02-26T23:24:54.000Z
tests/console/test_record.py
adamghill/coltrane
73eb85f2468f10068691600a2a56f6a9b2717b5c
[ "MIT" ]
null
null
null
from unittest.mock import patch from click.testing import CliRunner from coltrane.console import cli def test_record(): runner = CliRunner() with patch("coltrane.console._run_management_command") as _run_management_command: result = runner.invoke(cli, ["record"]) assert result.exit_code == ...
29.176471
86
0.731351
239
1,984
5.65272
0.154812
0.202073
0.310881
0.119171
0.863064
0.84678
0.84678
0.84678
0.713546
0.390822
0
0.002941
0.143145
1,984
67
87
29.61194
0.791765
0
0
0.487805
0
0
0.217238
0.141129
0
0
0
0
0.243902
1
0.170732
false
0
0.073171
0
0.243902
0
0
0
0
null
1
1
0
1
1
1
1
1
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
7
0fef6d934e6ba1ffe762a5416128095d2e88d1b4
2,984
py
Python
bayesian-networks/bayesian-networks-master/temp.py
Shivvrat/Machine-Learning-Algorithms
f20503ee513dbd7e51470c464e47358dd6c1e133
[ "MIT" ]
null
null
null
bayesian-networks/bayesian-networks-master/temp.py
Shivvrat/Machine-Learning-Algorithms
f20503ee513dbd7e51470c464e47358dd6c1e133
[ "MIT" ]
null
null
null
bayesian-networks/bayesian-networks-master/temp.py
Shivvrat/Machine-Learning-Algorithms
f20503ee513dbd7e51470c464e47358dd6c1e133
[ "MIT" ]
null
null
null
import import_data import independent_bayesian_network import numpy as np train_dataset, test_dataset, valid_dataset = import_data.import_data("nltcs") parameters = independent_bayesian_network.fit(train_dataset) log_likelihood = independent_bayesian_network.predict(test_dataset, parameters) print("nltcs " + ...
48.129032
82
0.824732
363
2,984
6.37741
0.07989
0.099352
0.258315
0.109287
0.930454
0.930454
0.930454
0.930454
0.930454
0.930454
0
0.001468
0.086796
2,984
61
83
48.918033
0.848073
0
0
0.553191
0
0
0.044148
0
0
0
0
0
0
1
0
false
0
0.297872
0
0.297872
0.234043
0
0
0
null
0
1
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
0ff14385cfc85377c9a471a7ff24e175dbc7050e
2,178
py
Python
image_cleaner/cleaner.py
gganssle/demo-GANs
7e643653f5532abd03686b879cb9da0277bc243e
[ "MIT" ]
null
null
null
image_cleaner/cleaner.py
gganssle/demo-GANs
7e643653f5532abd03686b879cb9da0277bc243e
[ "MIT" ]
null
null
null
image_cleaner/cleaner.py
gganssle/demo-GANs
7e643653f5532abd03686b879cb9da0277bc243e
[ "MIT" ]
null
null
null
#!/usr/bin/env python import matplotlib.image as im import numpy as np import glob import scipy.misc indir = '../dat/webpage_images/' outdir = '../dat/webpage_images_clean/' idx = 1 names = glob.glob(''.join((indir, '*'))) for name in names: print(name) pic = im.imread(name) pic = np.asarray(pic) # crop, rm ...
27.225
60
0.576676
330
2,178
3.79697
0.148485
0.179569
0.306464
0.363927
0.77494
0.77494
0.77494
0.752594
0.752594
0.723065
0
0.018056
0.135445
2,178
79
61
27.56962
0.647371
0.054178
0
0.588235
0
0
0.084572
0.046468
0
0
0
0
0
1
0
false
0
0.117647
0
0.117647
0.029412
0
0
0
null
0
1
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
e8421e70d21bb0367a7abe134f4087d317278f49
159
py
Python
ann_nmf/_utilities/__init__.py
mvinyard/ann_nmf
b15a7bd425186e2e4810c597e8a8459cbcd8fb1d
[ "MIT" ]
null
null
null
ann_nmf/_utilities/__init__.py
mvinyard/ann_nmf
b15a7bd425186e2e4810c597e8a8459cbcd8fb1d
[ "MIT" ]
null
null
null
ann_nmf/_utilities/__init__.py
mvinyard/ann_nmf
b15a7bd425186e2e4810c597e8a8459cbcd8fb1d
[ "MIT" ]
null
null
null
# __init__.py from ._quick_norm_log_raw import _quick_norm_log_raw as preprocess_raw_counts from ._fetch_signature import _fetch_signature as fetch_signature
31.8
77
0.880503
25
159
4.84
0.52
0.347107
0.198347
0.247934
0
0
0
0
0
0
0
0
0.09434
159
5
78
31.8
0.840278
0.069182
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
7
e88e8b757bee5508196f27434049170d28026224
2,186
py
Python
test/env_test.py
eleurent/obstacle-env
282aa98c25002896868b8841c4e301851213a16c
[ "MIT" ]
30
2018-05-16T15:06:17.000Z
2022-02-10T02:17:40.000Z
test/env_test.py
eleurent/obstacle-env
282aa98c25002896868b8841c4e301851213a16c
[ "MIT" ]
2
2018-07-08T22:44:17.000Z
2021-02-26T14:42:40.000Z
test/env_test.py
eleurent/obstacle-env
282aa98c25002896868b8841c4e301851213a16c
[ "MIT" ]
8
2018-09-29T03:18:19.000Z
2021-05-21T06:18:47.000Z
from __future__ import print_function, division import gym import obstacle_env from obstacle_env.dynamics import Dynamics2D from test.single_trajectory import SingleTrajectoryAgent def test_random(episodes=1): env = gym.make('obstacle-v0') for i in range(episodes): env.reset() done = False ...
28.025641
74
0.614364
259
2,186
5.108108
0.181467
0.047619
0.054422
0.068027
0.830688
0.830688
0.830688
0.808768
0.808768
0.808768
0
0.01125
0.26807
2,186
77
75
28.38961
0.815625
0
0
0.734375
0
0
0.038884
0
0
0
0
0
0
1
0.09375
false
0
0.078125
0
0.171875
0.015625
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
e895ee388579b1587ff1c33d7256e6363de2fc7e
29,886
py
Python
openstack/cdn/v1/domain.py
allenLew1991/huaweicloud-sdk-python
13d1931372ee096ac3065251c48db16ef6c045c9
[ "Apache-2.0" ]
1
2019-11-12T07:44:16.000Z
2019-11-12T07:44:16.000Z
openstack/cdn/v1/domain.py
ArvinSong/huaweicloud-sdk-python
227cd7f68a07974b16794c371f110d1927571fd0
[ "Apache-2.0" ]
null
null
null
openstack/cdn/v1/domain.py
ArvinSong/huaweicloud-sdk-python
227cd7f68a07974b16794c371f110d1927571fd0
[ "Apache-2.0" ]
null
null
null
# -*- coding:utf-8 -*- # Copyright 2018 Huawei Technologies Co.,Ltd. # # Licensed under the Apache License, Version 2.0 (the "License"); you may not use # this file except in compliance with the License. You may obtain a copy of the # License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required...
44.473214
96
0.642609
3,473
29,886
5.378635
0.081774
0.085653
0.058994
0.029443
0.885171
0.875535
0.875535
0.875535
0.871146
0.851713
0
0.002163
0.272937
29,886
671
97
44.539493
0.857518
0.45426
0
0.764259
0
0
0.062729
0.022177
0
0
0
0
0
1
0.095057
false
0
0.019011
0
0.296578
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
e89bac1c39e1d2cebe3c090c448b475b2ffc0bf3
8,002
py
Python
tests/test_sim.py
davidjohnoliver/IncomeForecast
f638a16a3bccb576f7977f9ea3fc08047c96ecce
[ "MIT" ]
null
null
null
tests/test_sim.py
davidjohnoliver/IncomeForecast
f638a16a3bccb576f7977f9ea3fc08047c96ecce
[ "MIT" ]
null
null
null
tests/test_sim.py
davidjohnoliver/IncomeForecast
f638a16a3bccb576f7977f9ea3fc08047c96ecce
[ "MIT" ]
null
null
null
import sim import model import solve import math def test_simulation_run(): simulation = sim.Simulation() simulation.age_at_retirement = 60 # So, 2050 simulation.year_of_birth = 1990 simulation.initial_year = 2020 simulation.age_at_death = 70 # Smoker? simulation.savings_at_death = -1 #Ignored ...
44.455556
131
0.774556
1,005
8,002
5.838806
0.109453
0.063736
0.0985
0.127471
0.8894
0.863667
0.863667
0.863667
0.863667
0.863667
0
0.045321
0.147963
8,002
180
132
44.455556
0.815342
0.042489
0
0.80315
0
0
0.001308
0
0
0
0
0
0.102362
1
0.165354
false
0
0.031496
0.094488
0.330709
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
e8d33238f2cf0aef2e509a3577673e6c1598bf79
6,517
py
Python
cexec/utils/parsers.py
WillFox/cexec
63f52594a4c7a327aeb757afbfe7799651f34827
[ "MIT" ]
1
2018-07-09T18:36:44.000Z
2018-07-09T18:36:44.000Z
cexec/utils/parsers.py
WillFox/cexec
63f52594a4c7a327aeb757afbfe7799651f34827
[ "MIT" ]
null
null
null
cexec/utils/parsers.py
WillFox/cexec
63f52594a4c7a327aeb757afbfe7799651f34827
[ "MIT" ]
null
null
null
import argparse def menu_parser(configure,run,status,transfer,kill,resources): parser = argparse.ArgumentParser( description="A command line interface to simplify distributed "+ "execution. You know, do da stuffs in the cloud! =)", formatter_class=argparse.ArgumentDefaultsHelpForma...
35.807692
78
0.645389
697
6,517
5.857963
0.150646
0.048004
0.075435
0.174871
0.886113
0.886113
0.879255
0.86554
0.840069
0.840069
0
0
0.245665
6,517
182
79
35.807692
0.830553
0.002762
0
0.791411
0
0
0.230412
0
0
0
0
0
0
1
0.08589
false
0
0.018405
0
0.116564
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
2cef865ba1feb23cb4e1c1d7fc5174fbb2297241
2,706
py
Python
AlteMatrix/converter/binary.py
samuelajala01/AlteMatrix
e22fe443241fb646a218100bdcb19e0e4cc85635
[ "MIT" ]
1
2022-01-16T02:15:50.000Z
2022-01-16T02:15:50.000Z
AlteMatrix/converter/binary.py
samuelajala01/AlteMatrix
e22fe443241fb646a218100bdcb19e0e4cc85635
[ "MIT" ]
null
null
null
AlteMatrix/converter/binary.py
samuelajala01/AlteMatrix
e22fe443241fb646a218100bdcb19e0e4cc85635
[ "MIT" ]
null
null
null
inv = ['2','3','4','5','6','7','8','9'] def to_decimal(data: str): print("Binary value:",data) decimal = 0 for digit in data: if digit in inv: raise ValueError("Non-binary number entered!") try: decimal = decimal*2 + int(digit) except ValueError: r...
30.404494
58
0.550259
334
2,706
4.422156
0.146707
0.14218
0.170616
0.227488
0.83954
0.83954
0.821259
0.821259
0.821259
0.798917
0
0.012035
0.324464
2,706
88
59
30.75
0.795952
0
0
0.788235
0
0
0.181079
0
0
0
0
0
0
1
0.094118
false
0
0
0
0.141176
0.094118
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
fa0f9dcf9194b50a88be3e9a5e8c94a222f37eff
16,372
py
Python
anahtarpopup.py
Ahmet-Gundogdu/Random_Pasword_Generator_Sezar_Crypto
2e34c9b857be3b2b915326f51a3da5f8a7f1dbaa
[ "MIT" ]
2
2021-12-19T03:45:41.000Z
2021-12-19T03:48:28.000Z
anahtarpopup.py
Ahmet-Gundogdu/Random_Pasword_Generator_Sezar_Crypto
2e34c9b857be3b2b915326f51a3da5f8a7f1dbaa
[ "MIT" ]
null
null
null
anahtarpopup.py
Ahmet-Gundogdu/Random_Pasword_Generator_Sezar_Crypto
2e34c9b857be3b2b915326f51a3da5f8a7f1dbaa
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'popup.ui' # # Created by: PyQt5 UI code generator 5.15.6 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless you know what you are doing. from PyQt5 import QtCo...
67.93361
6,295
0.627229
2,613
16,372
3.914657
0.086873
0.078013
0.084466
0.091505
0.795092
0.787271
0.779255
0.773292
0.768208
0.744941
0
0.136143
0.169558
16,372
240
6,296
68.216667
0.616211
0.016492
0
0.411504
1
0.088496
0.790463
0.201779
0
0
0
0
0
1
0.00885
false
0
0.004425
0
0.017699
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
1
0
0
0
0
0
1
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
d70cb89925bff9b2ef96a0a0a9ab1319acb7cd6f
200
py
Python
tests/python-reference/bool/bool-convert.py
jpolitz/lambda-py-paper
746ef63fc1123714b4adaf78119028afbea7bd76
[ "Apache-2.0" ]
25
2015-04-16T04:31:49.000Z
2022-03-10T15:53:28.000Z
tests/python-reference/bool/bool-convert.py
jpolitz/lambda-py-paper
746ef63fc1123714b4adaf78119028afbea7bd76
[ "Apache-2.0" ]
1
2018-11-21T22:40:02.000Z
2018-11-26T17:53:11.000Z
tests/python-reference/bool/bool-convert.py
jpolitz/lambda-py-paper
746ef63fc1123714b4adaf78119028afbea7bd76
[ "Apache-2.0" ]
1
2021-03-26T03:36:19.000Z
2021-03-26T03:36:19.000Z
___assertIs(bool(10), True) ___assertIs(bool(1), True) ___assertIs(bool(-1), True) ___assertIs(bool(0), False) ___assertIs(bool("hello"), True) ___assertIs(bool(""), False) ___assertIs(bool(), False)
25
32
0.73
26
200
4.807692
0.307692
0.672
0.512
0.272
0.4
0.4
0.4
0
0
0
0
0.026882
0.07
200
7
33
28.571429
0.645161
0
0
0
0
0
0.025
0
0
0
0
0
1
1
0
true
0
0
0
0
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
1
0
0
0
0
0
0
7
d769a01cde30afbff26f992fa93ad656aa73e287
362
py
Python
test/helpers/path_helper.py
Dan2552/SourceKittenSubl
9fbb849715867c8b349c4c2f0bd8793b854d9ef4
[ "MIT" ]
163
2017-01-06T10:01:07.000Z
2017-12-29T14:12:22.000Z
test/helpers/path_helper.py
Dan2552/SourceKittenSubl
9fbb849715867c8b349c4c2f0bd8793b854d9ef4
[ "MIT" ]
18
2016-12-20T22:02:41.000Z
2018-01-04T12:59:51.000Z
test/helpers/path_helper.py
Dan2552/SourceKittenSubl
9fbb849715867c8b349c4c2f0bd8793b854d9ef4
[ "MIT" ]
5
2017-01-20T15:30:30.000Z
2017-11-29T07:03:39.000Z
import os def data_directory(): return os.path.abspath(os.path.join(os.path.dirname( __file__ ), '..', "data")) def monkey_example_directory(): return data_directory() + "/MonkeyExample" def xcode_example_project(): return data_directory() + "/iOSProject/Example.xcodeproj" def spaced_example_directory()...
25.857143
83
0.723757
43
362
5.767442
0.465116
0.209677
0.229839
0.209677
0.282258
0
0
0
0
0
0
0
0.132597
362
13
84
27.846154
0.789809
0
0
0
0
0
0.154696
0.080111
0
0
0
0
0
1
0.444444
true
0
0.111111
0.444444
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
1
1
0
0
7
d78a2aaf736bab8552ed78a341f7f9be7f0a7d52
38,530
py
Python
sdk/yapily/api/application_users_api.py
yapily/yapily-sdk-python
c09930c44e8795e270e2846a2c0fb783200df76a
[ "MIT" ]
11
2018-05-18T14:38:49.000Z
2021-09-08T13:24:37.000Z
sdk/yapily/api/application_users_api.py
yapily/yapily-sdk-python
c09930c44e8795e270e2846a2c0fb783200df76a
[ "MIT" ]
5
2019-10-23T15:06:33.000Z
2021-08-03T21:18:50.000Z
sdk/yapily/api/application_users_api.py
yapily/yapily-sdk-python
c09930c44e8795e270e2846a2c0fb783200df76a
[ "MIT" ]
8
2019-04-27T00:02:18.000Z
2021-11-21T02:54:12.000Z
# coding: utf-8 """ Yapily API To access endpoints that require authentication, use your application key and secret created in the Dashboard (https://dashboard.yapily.com) # noqa: E501 The version of the OpenAPI document: 1.154.0 Generated by: https://openapi-generator.tech """ from __future__ imp...
45.97852
158
0.606073
4,349
38,530
5.077949
0.051966
0.036588
0.055153
0.028527
0.945617
0.939685
0.928274
0.917995
0.917995
0.901512
0
0.013932
0.321931
38,530
837
159
46.033453
0.831356
0.464677
0
0.721805
0
0
0.199356
0.072761
0
0
0
0
0
1
0.037594
false
0
0.012531
0
0.087719
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
ad259d69ebfa51432a6b8be0d1f73acb8f8ddbb1
67
py
Python
arc/arc046/arc046a-1.py
c-yan/atcoder
940e49d576e6a2d734288fadaf368e486480a948
[ "MIT" ]
1
2019-08-21T00:49:34.000Z
2019-08-21T00:49:34.000Z
arc/arc046/arc046a-1.py
c-yan/atcoder
940e49d576e6a2d734288fadaf368e486480a948
[ "MIT" ]
null
null
null
arc/arc046/arc046a-1.py
c-yan/atcoder
940e49d576e6a2d734288fadaf368e486480a948
[ "MIT" ]
null
null
null
N = int(input()) print(str((N - 1) % 9 + 1) * ((N - 1) // 9 + 1))
16.75
48
0.373134
13
67
1.923077
0.538462
0.16
0.24
0.32
0
0
0
0
0
0
0
0.125
0.283582
67
3
49
22.333333
0.395833
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
1
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
7
ad5818b6800348a64c28323ada5d53a8512932e5
6,504
py
Python
tests/_amt_imports_solver_test.py
xgouchet/AutoMergeTool
d63c057440a99e868e5eb25720f8d89640112f04
[ "Apache-2.0" ]
41
2017-04-10T10:12:32.000Z
2022-02-11T09:34:43.000Z
tests/_amt_imports_solver_test.py
xgouchet/AutoMergeTool
d63c057440a99e868e5eb25720f8d89640112f04
[ "Apache-2.0" ]
14
2017-02-17T09:58:57.000Z
2018-02-12T14:38:51.000Z
tests/_amt_imports_solver_test.py
xgouchet/ArachneMergeTool
d63c057440a99e868e5eb25720f8d89640112f04
[ "Apache-2.0" ]
5
2017-04-11T13:03:20.000Z
2021-06-23T08:41:10.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import unittest from filecmp import cmp from shutil import copyfile from automergetool.amt_import_solver import * IS_PATH = 'tests/data/import_solver/{0}.txt' class ImportsSolverTest(unittest.TestCase): def test_no_import_statement(self): class NotAnImport...
34.780749
86
0.604551
724
6,504
5.216851
0.125691
0.054011
0.104845
0.071485
0.881387
0.881387
0.872121
0.869473
0.869473
0.867355
0
0.002617
0.294895
6,504
186
87
34.967742
0.820977
0.061962
0
0.766129
0
0
0.056517
0.017136
0
0
0
0
0.096774
1
0.193548
false
0
0.395161
0.137097
0.798387
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
10
ad9039951dde4350b0d1d3bb590ce799b1a3faac
100
py
Python
tests/test_smoke.py
Kludex/lost-endpoint
83c43ad2bcc3f02bffc77ef66d9531307cd6f6da
[ "MIT" ]
null
null
null
tests/test_smoke.py
Kludex/lost-endpoint
83c43ad2bcc3f02bffc77ef66d9531307cd6f6da
[ "MIT" ]
2
2022-02-01T19:03:37.000Z
2022-02-01T19:03:39.000Z
tests/test_smoke.py
Kludex/lost-endpoint
83c43ad2bcc3f02bffc77ef66d9531307cd6f6da
[ "MIT" ]
null
null
null
import inspect import lost_endpoint def test_smoke(): assert inspect.ismodule(lost_endpoint)
12.5
42
0.79
13
100
5.846154
0.692308
0.315789
0
0
0
0
0
0
0
0
0
0
0.15
100
7
43
14.285714
0.894118
0
0
0
0
0
0
0
0
0
0
0
0.25
1
0.25
true
0
0.5
0
0.75
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
0
0
7
0f04136eb5d8f2c8edd52bb6d77baea1a1e0efdf
49,617
py
Python
cycle_2020/models.py
capitolmuckrakr/cnn-fec
92352209bb611b6ee82aacdeefd89d529ad91a2e
[ "Apache-2.0" ]
null
null
null
cycle_2020/models.py
capitolmuckrakr/cnn-fec
92352209bb611b6ee82aacdeefd89d529ad91a2e
[ "Apache-2.0" ]
2
2021-03-31T19:16:51.000Z
2021-12-13T19:59:48.000Z
cycle_2020/models.py
capitolmuckrakr/cnn-fec
92352209bb611b6ee82aacdeefd89d529ad91a2e
[ "Apache-2.0" ]
1
2019-06-12T15:43:04.000Z
2019-06-12T15:43:04.000Z
from django.db import models from django.utils import timezone from django.contrib.postgres.search import SearchVectorField, SearchQuery, SearchVector from django.contrib.postgres.indexes import GinIndex from django.db.models import Sum from django.urls import reverse import datetime class BaseModel(models.Model): ...
55.376116
204
0.713868
6,343
49,617
5.309475
0.061327
0.074826
0.111943
0.146386
0.844795
0.821753
0.802423
0.782677
0.777332
0.749273
0
0.023993
0.187718
49,617
895
205
55.437989
0.811627
0.016265
0
0.410513
0
0
0.075991
0.030178
0
0
0
0
0
1
0.062578
false
0.001252
0.008761
0.020025
0.593242
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
7
0f129da1b9c06678c75d49a2c6f206ab9fd036e5
1,003
py
Python
socfaker/timestamp.py
atstpls/soc-faker
119fcb9c4329a918ef9001ac5eaa36251b862bf0
[ "MIT" ]
null
null
null
socfaker/timestamp.py
atstpls/soc-faker
119fcb9c4329a918ef9001ac5eaa36251b862bf0
[ "MIT" ]
null
null
null
socfaker/timestamp.py
atstpls/soc-faker
119fcb9c4329a918ef9001ac5eaa36251b862bf0
[ "MIT" ]
null
null
null
import pendulum import random class Timestamp(object): def in_the_past(self, years=0, months=1, days=random.randint(1,15), hours=random.randint(1,24), minutes=random.randint(1,60), seconds=random.randint(1,60)): return pendulum.now().subtract( ...
25.717949
49
0.55334
113
1,003
4.823009
0.292035
0.190826
0.205505
0.117431
0.748624
0.748624
0.748624
0.748624
0.748624
0.748624
0
0.059701
0.332004
1,003
38
50
26.394737
0.753731
0
0
0.705882
0
0
0
0
0
0
0
0
0
1
0.088235
false
0
0.058824
0.088235
0.264706
0
0
0
0
null
0
1
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
0f3413fb1bacbf98f31288cfa1ccd3d726e53513
158
py
Python
pygantt/datasets/__init__.py
PyGantt/PyGan
00defc5cca5bbad80891649ceb1397e5c22bb997
[ "BSD-3-Clause" ]
10
2018-04-22T07:30:59.000Z
2020-06-29T21:20:48.000Z
pygantt/datasets/__init__.py
PyGantt/PyGan
00defc5cca5bbad80891649ceb1397e5c22bb997
[ "BSD-3-Clause" ]
183
2018-04-26T02:26:52.000Z
2022-03-28T05:57:17.000Z
pygantt/datasets/__init__.py
PyGantt/PyGan
00defc5cca5bbad80891649ceb1397e5c22bb997
[ "BSD-3-Clause" ]
6
2018-04-21T14:13:14.000Z
2021-12-18T11:43:28.000Z
# -*- coding: utf-8 -*- from .base import load_concert from .base import load_equities from .base import load_equities_ptf from .base import load_freelancer
22.571429
35
0.778481
24
158
4.916667
0.458333
0.271186
0.474576
0.610169
0.440678
0
0
0
0
0
0
0.007353
0.139241
158
6
36
26.333333
0.860294
0.132911
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
8
0f545b2860171c2f52557c37377dbf57a32aa171
754
py
Python
tests/helpers/hashing/test_mmh.py
victox5/pdsa
cfac2b02bcbcfdabc3c758b8ad4fe895e58c5cb1
[ "MIT" ]
86
2017-10-27T06:48:48.000Z
2022-03-27T15:46:05.000Z
tests/helpers/hashing/test_mmh.py
victox5/pdsa
cfac2b02bcbcfdabc3c758b8ad4fe895e58c5cb1
[ "MIT" ]
8
2019-09-28T08:54:20.000Z
2020-02-24T09:49:34.000Z
tests/helpers/hashing/test_mmh.py
victox5/pdsa
cfac2b02bcbcfdabc3c758b8ad4fe895e58c5cb1
[ "MIT" ]
20
2017-08-18T09:07:04.000Z
2022-03-27T15:46:00.000Z
import pytest from pdsa.helpers.hashing.mmh import mmh3_x86_32bit def test_int(): assert mmh3_x86_32bit(1024, 42) == 1170829763 def test_string(): assert mmh3_x86_32bit("test", 42) == 1956065189 assert mmh3_x86_32bit("test", 42) != mmh3_x86_32bit(b"test", 42) def test_bytes(): assert mmh3_x86_32b...
24.322581
79
0.671088
114
754
4.114035
0.307018
0.208955
0.358209
0.307036
0.45629
0.407249
0.223881
0.223881
0.223881
0.223881
0
0.208065
0.177719
754
30
80
25.133333
0.548387
0
0
0
0
0
0.075597
0
0
0
0
0
0.444444
1
0.333333
false
0
0.111111
0.055556
0.555556
0
0
0
0
null
1
1
1
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
1
0
1
0
0
0
0
1
0
0
7
0f85c071055074fd804247b757406a79f0bae24c
76,765
py
Python
tb_rest_client/api/api_pe/entity_group_controller_api.py
maksonlee/python_tb_rest_client
a6cd17ef4de31f68c3226b7a9835292fbac4b1fa
[ "Apache-2.0" ]
1
2021-07-19T10:09:04.000Z
2021-07-19T10:09:04.000Z
tb_rest_client/api/api_pe/entity_group_controller_api.py
moravcik94/python_tb_rest_client
985361890cdf4ccce93d2b24905ad9003c8dfcaa
[ "Apache-2.0" ]
null
null
null
tb_rest_client/api/api_pe/entity_group_controller_api.py
moravcik94/python_tb_rest_client
985361890cdf4ccce93d2b24905ad9003c8dfcaa
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 # Copyright 2020. ThingsBoard # # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # # http://www.apache.org/licenses/LICENSE-2.0 # # # Unl...
43.296672
171
0.640578
9,203
76,765
5.006628
0.027491
0.048094
0.038089
0.026565
0.971981
0.96649
0.960565
0.955313
0.951211
0.945047
0
0.015208
0.269328
76,765
1,772
172
43.321106
0.806258
0.317931
0
0.819829
0
0.002132
0.220865
0.069578
0
0
0
0
0
1
0.037313
false
0
0.004264
0
0.097015
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
0e2d093c1b2c266e2b54ae7b0b97c451d7e4fe4c
155
py
Python
get_ohlc/utils/post_callbacks.py
luvemil/get_ohlc
f6ac7def4b50799321823dfa1dc37398ff62e914
[ "MIT" ]
1
2019-11-11T08:36:24.000Z
2019-11-11T08:36:24.000Z
get_ohlc/utils/post_callbacks.py
luvemil/get_ohlc
f6ac7def4b50799321823dfa1dc37398ff62e914
[ "MIT" ]
3
2019-01-30T12:04:55.000Z
2019-01-30T12:07:55.000Z
get_ohlc/utils/post_callbacks.py
luvemil/get_ohlc
f6ac7def4b50799321823dfa1dc37398ff62e914
[ "MIT" ]
null
null
null
def ensure_unique_index(data_df): return data_df[~data_df.index.duplicated(keep='first')] def ensure_sorted(data_df): return data_df.sort_index()
25.833333
59
0.767742
25
155
4.4
0.48
0.272727
0.218182
0.290909
0.327273
0
0
0
0
0
0
0
0.109677
155
5
60
31
0.797101
0
0
0
0
0
0.032258
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
8
0e7c863fbc94802de3c2f960a608020c00e2917e
191
py
Python
src/wai/annotations/tf/compat/v1/_ensure_eager_execution.py
waikato-ufdl/wai-annotations-tf
be147d1d313abbd8bbf25ac8d9ab3d6f03d3b5b3
[ "Apache-2.0" ]
null
null
null
src/wai/annotations/tf/compat/v1/_ensure_eager_execution.py
waikato-ufdl/wai-annotations-tf
be147d1d313abbd8bbf25ac8d9ab3d6f03d3b5b3
[ "Apache-2.0" ]
1
2021-07-29T01:48:26.000Z
2021-07-29T01:48:26.000Z
src/wai/annotations/tf/compat/v1/_ensure_eager_execution.py
waikato-ufdl/wai-annotations-tf
be147d1d313abbd8bbf25ac8d9ab3d6f03d3b5b3
[ "Apache-2.0" ]
null
null
null
def ensure_eager_execution(): """ Ensures that Tensorflow is in eager-execution mode. """ from tensorflow.compat.v1 import enable_eager_execution enable_eager_execution()
27.285714
59
0.732984
23
191
5.826087
0.652174
0.41791
0.298507
0
0
0
0
0
0
0
0
0.006452
0.188482
191
6
60
31.833333
0.858065
0.267016
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
true
0
0.333333
0
0.666667
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
0
0
0
7
7ec3229cd52145c6f9a61e883bb844ab8d4cd235
138
py
Python
example_docker_rabbitmq/example/tasks.py
Ilhasoft/celery-broker-on-demand
801ae98fd8ee4e79bc1cd811013381b96ba3ddf0
[ "MIT" ]
4
2018-12-01T21:43:05.000Z
2020-04-13T15:11:49.000Z
example_docker_rabbitmq/example/tasks.py
Ilhasoft/celery-broker-on-demand
801ae98fd8ee4e79bc1cd811013381b96ba3ddf0
[ "MIT" ]
2
2018-12-05T17:30:01.000Z
2018-12-20T18:12:40.000Z
example_docker_rabbitmq/example/tasks.py
Ilhasoft/celery-broker-on-demand
801ae98fd8ee4e79bc1cd811013381b96ba3ddf0
[ "MIT" ]
1
2021-07-05T11:31:54.000Z
2021-07-05T11:31:54.000Z
from .celery_app import celery_app @celery_app.task def add(x, y): return x + y @celery_app.task def diff(x, y): return x - y
11.5
34
0.65942
26
138
3.346154
0.423077
0.413793
0.298851
0.367816
0.229885
0
0
0
0
0
0
0
0.231884
138
11
35
12.545455
0.820755
0
0
0.285714
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0.285714
0.714286
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
7
7eca6e27a7a4b44c931126d7fc1f1cb277c2d14c
17,017
py
Python
Test/WebAssembly/simd/simd/meta/simd_i64x2_cmp.py
igor-egorov/WAVM
9df55bf721eb2d31bc921e345c4fc70d09f64b36
[ "BSD-3-Clause" ]
null
null
null
Test/WebAssembly/simd/simd/meta/simd_i64x2_cmp.py
igor-egorov/WAVM
9df55bf721eb2d31bc921e345c4fc70d09f64b36
[ "BSD-3-Clause" ]
11
2019-10-15T23:03:57.000Z
2020-06-14T16:10:12.000Z
Test/WebAssembly/simd/simd/meta/simd_i64x2_cmp.py
igor-egorov/WAVM
9df55bf721eb2d31bc921e345c4fc70d09f64b36
[ "BSD-3-Clause" ]
7
2019-07-04T14:23:54.000Z
2020-04-27T08:52:51.000Z
#!/usr/bin/env python3 from simd_compare import SimdCmpCase # Generate i64x2 test case class Simdi64x2CmpCase(SimdCmpCase): LANE_TYPE = 'i64x2' BINARY_OPS = ['eq', 'ne'] # Override this since i64x2 does not support as many comparison instructions. CASE_TXT = """ ;; Test all the {lane_type} comparis...
67.796813
163
0.578422
1,737
17,017
5.503742
0.064479
0.169456
0.188912
0.145084
0.932845
0.893515
0.872594
0.808264
0.781381
0.767364
0
0.28806
0.183992
17,017
250
164
68.068
0.400403
0.026385
0
0.222826
1
0.065217
0.481439
0
0
0
0.17763
0
0.032609
1
0.01087
false
0
0.005435
0
0.043478
0
0
0
0
null
0
1
0
1
1
1
1
1
1
0
1
0
0
0
0
0
1
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
7efe49b85162304914bfd6acd764912d4e9b90f7
39,890
py
Python
sdk/python/pulumi_aws/ecs/task_definition.py
jen20/pulumi-aws
172e00c642adc03238f89cc9c5a16b914a77c2b1
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_aws/ecs/task_definition.py
jen20/pulumi-aws
172e00c642adc03238f89cc9c5a16b914a77c2b1
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_aws/ecs/task_definition.py
jen20/pulumi-aws
172e00c642adc03238f89cc9c5a16b914a77c2b1
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
51.404639
278
0.650038
4,431
39,890
5.699165
0.071541
0.081456
0.057102
0.042688
0.887697
0.851938
0.819467
0.784778
0.761098
0.72039
0
0.005736
0.248283
39,890
775
279
51.470968
0.836424
0.437077
0
0.450135
1
0
0.144292
0.082216
0
0
0
0
0
1
0.148248
false
0.002695
0.018868
0.005391
0.266846
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
ade31fc15973e16a1148473e5e1a8765dfab7db4
144
py
Python
stone/blueprints/__init__.py
Coderhypo/booklib
cd5369f35ec666b3a864a4f1d0e7fcd8c2f64cec
[ "MIT" ]
null
null
null
stone/blueprints/__init__.py
Coderhypo/booklib
cd5369f35ec666b3a864a4f1d0e7fcd8c2f64cec
[ "MIT" ]
1
2021-06-01T22:04:57.000Z
2021-06-01T22:04:57.000Z
stone/blueprints/__init__.py
Coderhypo/booklib
cd5369f35ec666b3a864a4f1d0e7fcd8c2f64cec
[ "MIT" ]
null
null
null
from .book import book_blueprint from .dashboard import dashboard_blueprint from .index import index_blueprint from .user import user_blueprint
28.8
42
0.861111
20
144
6
0.35
0.325
0
0
0
0
0
0
0
0
0
0
0.111111
144
4
43
36
0.9375
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
1
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
1
0
7
bc23f22b5c11a4f40feec8ccc3ba635af3b8ac4d
199
py
Python
nmigen/lib/cdc.py
psumesh/nmigen
7d611b8fc1d9e58853ff268ec38ff8f4131a9774
[ "BSD-2-Clause" ]
528
2020-01-28T18:21:00.000Z
2021-12-09T06:27:51.000Z
nmigen/lib/cdc.py
psumesh/nmigen
7d611b8fc1d9e58853ff268ec38ff8f4131a9774
[ "BSD-2-Clause" ]
360
2020-01-28T18:34:30.000Z
2021-12-10T08:03:32.000Z
nmigen/lib/cdc.py
psumesh/nmigen
7d611b8fc1d9e58853ff268ec38ff8f4131a9774
[ "BSD-2-Clause" ]
100
2020-02-06T21:55:46.000Z
2021-11-25T19:20:44.000Z
from amaranth.lib.cdc import * from amaranth.lib.cdc import __all__ import warnings warnings.warn("instead of nmigen.lib.cdc, use amaranth.lib.cdc", DeprecationWarning, stacklevel=2)
24.875
64
0.743719
27
199
5.333333
0.555556
0.166667
0.291667
0.25
0.333333
0
0
0
0
0
0
0.006024
0.165829
199
7
65
28.428571
0.861446
0
0
0
0
0
0.236181
0
0
0
0
0
0
1
0
true
0
0.6
0
0.6
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
70c0f7653bfa9d2797e5821194b29dadfb9bd95d
12,628
py
Python
tests/integration/test_tracer.py
shawn-rusaw/aws-lambda-fsm-workflows
9fcf5af14bf0f4500d4a7e7b3e0eda00423c1d42
[ "Apache-2.0" ]
21
2017-01-26T21:23:57.000Z
2021-08-07T02:56:49.000Z
tests/integration/test_tracer.py
shawn-rusaw/aws-lambda-fsm-workflows
9fcf5af14bf0f4500d4a7e7b3e0eda00423c1d42
[ "Apache-2.0" ]
151
2016-11-29T05:09:33.000Z
2021-05-19T22:47:58.000Z
tests/integration/test_tracer.py
shawn-rusaw/aws-lambda-fsm-workflows
9fcf5af14bf0f4500d4a7e7b3e0eda00423c1d42
[ "Apache-2.0" ]
17
2016-11-29T05:07:58.000Z
2021-05-04T21:22:29.000Z
# Copyright 2016-2020 Workiva Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wri...
45.588448
105
0.694013
1,685
12,628
4.948961
0.089021
0.144382
0.175321
0.20626
0.86773
0.851181
0.842907
0.835952
0.813287
0.799496
0
0.02282
0.167168
12,628
276
106
45.753623
0.770087
0.105717
0
0.625
0
0
0.049179
0.031853
0
0
0
0
0.6375
1
0.1125
false
0
0.0375
0
0.18125
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
8
70f0efc1c38f8e023485fa63eec616a98f126bd5
74,458
py
Python
src/oci/opsi/operations_insights_client_composite_operations.py
xjuarez/oci-python-sdk
3c1604e4e212008fb6718e2f68cdb5ef71fd5793
[ "Apache-2.0", "BSD-3-Clause" ]
3
2020-09-10T22:09:45.000Z
2021-12-24T17:00:07.000Z
src/oci/opsi/operations_insights_client_composite_operations.py
xjuarez/oci-python-sdk
3c1604e4e212008fb6718e2f68cdb5ef71fd5793
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
src/oci/opsi/operations_insights_client_composite_operations.py
xjuarez/oci-python-sdk
3c1604e4e212008fb6718e2f68cdb5ef71fd5793
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
# coding: utf-8 # Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may c...
53.955072
245
0.696366
9,495
74,458
5.202212
0.025908
0.042231
0.052111
0.01737
0.957121
0.947221
0.939731
0.924911
0.913291
0.905476
0
0.000732
0.229122
74,458
1,379
246
53.994199
0.859838
0.449435
0
0.830894
0
0
0.027438
0
0
0
0
0
0
1
0.055285
false
0
0.003252
0
0.178862
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
cb08731f0d56ce4d077343e88201861b69027cf5
8,048
py
Python
dlkit/json_/assessment_authoring/default_mdata.py
UOC/dlkit
a9d265db67e81b9e0f405457464e762e2c03f769
[ "MIT" ]
2
2018-02-23T12:16:11.000Z
2020-10-08T17:54:24.000Z
dlkit/json_/assessment_authoring/default_mdata.py
UOC/dlkit
a9d265db67e81b9e0f405457464e762e2c03f769
[ "MIT" ]
87
2017-04-21T18:57:15.000Z
2021-12-13T19:43:57.000Z
dlkit/json_/assessment_authoring/default_mdata.py
UOC/dlkit
a9d265db67e81b9e0f405457464e762e2c03f769
[ "MIT" ]
1
2018-03-01T16:44:25.000Z
2018-03-01T16:44:25.000Z
"""JSON osid metadata configurations for assessment.authoring service.""" from .. import types from ..primitives import Type DEFAULT_LANGUAGE_TYPE = Type(**types.Language().get_type_data("DEFAULT")) DEFAULT_SCRIPT_TYPE = Type(**types.Script().get_type_data("DEFAULT")) DEFAULT_FORMAT_TYPE = Type(**types.Format().get_ty...
37.432558
73
0.49826
638
8,048
5.990596
0.109718
0.141287
0.094453
0.150706
0.836735
0.809262
0.794087
0.794087
0.794087
0.794087
0
0
0.375124
8,048
214
74
37.607477
0.759992
0.019011
0
0.718447
0
0
0.276685
0.014469
0
0
0
0
0
1
0.009709
false
0
0.009709
0
0.029126
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
cb2cfc96e5ee97d2670cd0f9a0f635b9fac178ee
173
py
Python
ibsng/handler/util/get_saved_report_list.py
ParspooyeshFanavar/pyibsng
d48bcf4f25e3f23461528bf0ff8870cc3d537444
[ "MIT" ]
6
2018-03-06T10:16:36.000Z
2021-12-05T12:43:10.000Z
ibsng/handler/util/get_saved_report_list.py
ParspooyeshFanavar/pyibsng
d48bcf4f25e3f23461528bf0ff8870cc3d537444
[ "MIT" ]
3
2018-03-06T10:27:08.000Z
2022-01-02T15:21:27.000Z
ibsng/handler/util/get_saved_report_list.py
ParspooyeshFanavar/pyibsng
d48bcf4f25e3f23461528bf0ff8870cc3d537444
[ "MIT" ]
3
2018-01-06T16:28:31.000Z
2018-09-17T19:47:19.000Z
"""Get save report list API method.""" from ibsng.handler.handler import Handler class getSavedReportList(Handler): """Get save report list method class.""" pass
19.222222
44
0.716763
22
173
5.636364
0.590909
0.112903
0.209677
0.274194
0
0
0
0
0
0
0
0
0.17341
173
8
45
21.625
0.867133
0.387283
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.333333
0
0.666667
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
8
cb97182c952eca43cd8e7973727ea7f93f51d3f0
107
py
Python
aoj/ITP1/ITP1_2_A/solve.py
tobyapi/online-judge-solutions
4088adb97ea592e8e6582ae7d2ecde2f85e2ed9c
[ "MIT" ]
null
null
null
aoj/ITP1/ITP1_2_A/solve.py
tobyapi/online-judge-solutions
4088adb97ea592e8e6582ae7d2ecde2f85e2ed9c
[ "MIT" ]
null
null
null
aoj/ITP1/ITP1_2_A/solve.py
tobyapi/online-judge-solutions
4088adb97ea592e8e6582ae7d2ecde2f85e2ed9c
[ "MIT" ]
null
null
null
(a,b) = map(int,raw_input().split()) if a<b : print "a < b" elif a>b : print "a > b" else : print "a == b"
21.4
36
0.53271
23
107
2.434783
0.478261
0.214286
0.375
0.285714
0.321429
0
0
0
0
0
0
0
0.214953
107
4
37
26.75
0.666667
0
0
0
0
0
0.149533
0
0
0
0
0
0
0
null
null
0
0
null
null
0.75
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
7
6978c6dff2c28eb575bde5d722ebf4c6c55e1f5a
80,060
py
Python
Classes/Packets/Server/Home/OwnHomeDataMessage.py
SavokBS/ConBrawl-APIV41
d0a24e2d1910aae526df726c53476fcf11f6836d
[ "MIT" ]
1
2022-02-11T10:22:54.000Z
2022-02-11T10:22:54.000Z
Classes/Packets/Server/Home/OwnHomeDataMessage.py
SavokBS/ConBrawl-APIV41
d0a24e2d1910aae526df726c53476fcf11f6836d
[ "MIT" ]
1
2022-01-29T13:13:50.000Z
2022-02-02T14:00:43.000Z
Classes/Packets/Server/Home/OwnHomeDataMessage.py
SavokBS/ConBrawl-APIV41
d0a24e2d1910aae526df726c53476fcf11f6836d
[ "MIT" ]
null
null
null
import time import brawlstats import Configuration import random from Classes.Packets.PiranhaMessage import PiranhaMessage bstoken = Configuration.settings["ApiToken"] #api token client = brawlstats.Client(bstoken) pl = client.get_profile(Configuration.settings["Tag"]) #tag class OwnHomeDataMessage(PiranhaMessage): ...
24.694633
152
0.497552
7,412
80,060
5.365084
0.063815
0.172937
0.162953
0.195544
0.831137
0.816652
0.774305
0.71028
0.702283
0.702283
0
0.06117
0.417225
80,060
3,242
153
24.694633
0.791135
0.053672
0
0.845815
0
0
0.02914
0.016303
0
0
0
0
0
1
0.002203
false
0.238253
0.001836
0.000734
0.005507
0.040015
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
9
699d1ee069ecc41263840b6cfa8d51f6dee6cc7d
13,656
py
Python
src/genie/libs/parser/iosxe/c9300/tests/ShowSystemIntegrityAllTrustChainNonce/cli/equal/golden_output1_expected.py
nielsvanhooy/genieparser
9a1955749697a6777ca614f0af4d5f3a2c254ccd
[ "Apache-2.0" ]
null
null
null
src/genie/libs/parser/iosxe/c9300/tests/ShowSystemIntegrityAllTrustChainNonce/cli/equal/golden_output1_expected.py
nielsvanhooy/genieparser
9a1955749697a6777ca614f0af4d5f3a2c254ccd
[ "Apache-2.0" ]
null
null
null
src/genie/libs/parser/iosxe/c9300/tests/ShowSystemIntegrityAllTrustChainNonce/cli/equal/golden_output1_expected.py
nielsvanhooy/genieparser
9a1955749697a6777ca614f0af4d5f3a2c254ccd
[ "Apache-2.0" ]
null
null
null
expected_output = { "bay": "0", "chassis": { 1: { "cmca_certificate": "MIIEPDCCAySgAwIBAgIKYQlufQAAAAAADDANBgkqhkiG9w0BAQUFADA1MRYwFAYDVQQKEw1DaXNjbyBTeXN0ZW1zMRswGQYDVQQDExJDaXNjbyBSb290IENBIDIwNDgwHhcNMTEwNjMwMTc1NjU3WhcNMjkwNTE0MjAyNTQyWjAnMQ4wDAYDVQQKEwVDaXNjbzEVMBMGA1UEAxMMQUNUMiBTVURJI...
379.333333
1,487
0.94237
270
13,656
47.625926
0.537037
0.003499
0.069057
0.070223
0.598647
0.598647
0.598647
0.598647
0.598647
0.598647
0
0.186183
0.030097
13,656
35
1,488
390.171429
0.784673
0
0
0.342857
0
0.257143
0.957601
0.940246
0
1
0
0
0
1
0
false
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
1
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
7
69a49cfabd75bd26d3338c1ed6486b10f0390582
10,181
py
Python
src/DQNAgent.py
TheMagnat/IAR_Self-Improving-Reactive-Agents
e84452671f09762623df97564057e20b9a779b07
[ "MIT" ]
null
null
null
src/DQNAgent.py
TheMagnat/IAR_Self-Improving-Reactive-Agents
e84452671f09762623df97564057e20b9a779b07
[ "MIT" ]
null
null
null
src/DQNAgent.py
TheMagnat/IAR_Self-Improving-Reactive-Agents
e84452671f09762623df97564057e20b9a779b07
[ "MIT" ]
null
null
null
from core import NN from memory import Memory, MemoryCourse import torch import numpy as np import random if torch.cuda.is_available(): torch.cuda.set_device(0) Device = torch.device('cuda') else: Device = torch.device('cpu') class DQNAgent(object): """The world's simplest agent!""" def __init...
42.777311
199
0.602004
1,436
10,181
4.173398
0.129526
0.036042
0.039713
0.053729
0.907392
0.896713
0.891874
0.891874
0.887035
0.887035
0
0.025213
0.263727
10,181
238
200
42.777311
0.77428
0.153718
0
0.77193
0
0
0.000815
0
0
0
0
0
0
1
0.087719
false
0
0.02924
0
0.181287
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
69acfbf9eceac6c9f0e9fbb739972498738ef7ee
875
py
Python
program_graphs/ddg/parser/java/parser.py
acheshkov/program-graphs
6832d9689e14f3f2f376dbb8ea796a2cb57c1d75
[ "MIT" ]
5
2021-08-10T08:54:01.000Z
2022-03-10T09:08:58.000Z
program_graphs/ddg/parser/java/parser.py
acheshkov/program-graphs
6832d9689e14f3f2f376dbb8ea796a2cb57c1d75
[ "MIT" ]
null
null
null
program_graphs/ddg/parser/java/parser.py
acheshkov/program-graphs
6832d9689e14f3f2f376dbb8ea796a2cb57c1d75
[ "MIT" ]
null
null
null
# from typing import Any, List, Optional # from tree_sitter import Language, Parser # type: ignore from program_graphs.ddg.ddg import DDG # from program_graphs.cfg.operators import mk_empty_cfg, combine # from program_graphs.cfg.operators import manage_jumps, eliminate_redundant_nodes # from program_graphs.cfg.parser....
46.052632
97
0.809143
134
875
5
0.380597
0.147761
0.228358
0.238806
0.373134
0.328358
0
0
0
0
0
0
0.116571
875
18
98
48.611111
0.866753
0.856
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.333333
0.333333
0
0.666667
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
1
0
1
0
0
7
385542d7b62b78cfee01fdc6e0098ce069470d79
115
py
Python
hpe_benchmark/solver/__init__.py
anotherTK/human-pose-estimation.pytorch
9c2b1fa6b5b4d70cd5f4c72a915f953a4257a994
[ "MIT" ]
1
2022-02-24T08:52:15.000Z
2022-02-24T08:52:15.000Z
hpe_benchmark/solver/__init__.py
anotherTK/human-pose-estimation.pytorch
9c2b1fa6b5b4d70cd5f4c72a915f953a4257a994
[ "MIT" ]
null
null
null
hpe_benchmark/solver/__init__.py
anotherTK/human-pose-estimation.pytorch
9c2b1fa6b5b4d70cd5f4c72a915f953a4257a994
[ "MIT" ]
null
null
null
from .build import make_optimizer from .build import make_lr_scheduler from .lr_scheduler import WarmupMultiStepLR
28.75
43
0.869565
16
115
6
0.5
0.1875
0.3125
0.395833
0
0
0
0
0
0
0
0
0.104348
115
3
44
38.333333
0.932039
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
38620516f5340b656ae882b1851c1e6c41dae1f3
7,831
py
Python
web/pipeline/migrations/0033_auto_20200720_1857.py
stevenstuber/CIT
8c485e72084c06da6db45da1cb402bac26411ec2
[ "Apache-2.0" ]
10
2020-11-12T15:13:40.000Z
2022-03-05T22:33:08.000Z
web/pipeline/migrations/0033_auto_20200720_1857.py
stevenstuber/CIT
8c485e72084c06da6db45da1cb402bac26411ec2
[ "Apache-2.0" ]
28
2020-07-17T16:33:55.000Z
2022-03-21T16:24:25.000Z
web/pipeline/migrations/0033_auto_20200720_1857.py
stevenstuber/CIT
8c485e72084c06da6db45da1cb402bac26411ec2
[ "Apache-2.0" ]
5
2020-11-02T23:39:53.000Z
2022-03-01T19:09:45.000Z
# Generated by Django 2.2.13 on 2020-07-20 18:57 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('pipeline', '0032_municipality'), ] operations = [ migrations.AddField( model_name='civicfacility', name='bus_cat_cl...
37.4689
74
0.587154
731
7,831
6.120383
0.128591
0.156907
0.200492
0.23536
0.90456
0.900983
0.900983
0.900983
0.885338
0.877962
0
0.023914
0.300472
7,831
208
75
37.649038
0.792808
0.005874
0
0.79703
1
0
0.167288
0.076963
0
0
0
0
0
1
0
false
0
0.004951
0
0.019802
0
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
387d911dc560520f2ffddec99524ce982b3bfdf7
6,479
py
Python
node editor/mercuryeditor/mercury/nodes/input.py
ethanedits/Mercury-Node-Editor
afeb6c407ed70e4a1621dbc6463fda1e763c4ea4
[ "MIT" ]
3
2020-12-17T13:37:03.000Z
2022-03-24T17:07:42.000Z
node editor/mercuryeditor/mercury/nodes/input.py
ethanedits/Mercury-Node-Editor
afeb6c407ed70e4a1621dbc6463fda1e763c4ea4
[ "MIT" ]
null
null
null
node editor/mercuryeditor/mercury/nodes/input.py
ethanedits/Mercury-Node-Editor
afeb6c407ed70e4a1621dbc6463fda1e763c4ea4
[ "MIT" ]
null
null
null
from PyQt5.QtCore import * from mercuryeditor.mercury.calc_conf import * from mercuryeditor.mercury.calc_node_base import * from nodeeditor.utils import dumpException import pymem import pymem.process class CalcInputContent(QDMNodeContentWidget): def initUI(self): self.edit = QLineEdit("1", self) ...
28.924107
93
0.641611
706
6,479
5.716714
0.134561
0.039643
0.051784
0.039891
0.85778
0.840932
0.815164
0.770069
0.744797
0.7111
0
0.002679
0.250965
6,479
223
94
29.053812
0.828972
0.022071
0
0.754286
0
0
0.041693
0
0
0
0.000632
0
0
1
0.137143
false
0
0.034286
0
0.4
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
388795df2e003a5d76378ec0a6b6f1a855d1e803
32,017
py
Python
tests/test_query.py
originalpkbims/subgrounds-pkbims
03271135d985bc4a53129edb0cb2391555012270
[ "Apache-2.0" ]
null
null
null
tests/test_query.py
originalpkbims/subgrounds-pkbims
03271135d985bc4a53129edb0cb2391555012270
[ "Apache-2.0" ]
null
null
null
tests/test_query.py
originalpkbims/subgrounds-pkbims
03271135d985bc4a53129edb0cb2391555012270
[ "Apache-2.0" ]
null
null
null
import unittest from subgrounds.query import Argument, DataRequest, Document, Query, Selection, InputValue, VariableDefinition from subgrounds.schema import TypeMeta, TypeRef from subgrounds.subgraph import Subgraph, SyntheticField from subgrounds.subgrounds import Subgrounds from tests.utils import schema class Te...
40.323678
170
0.560671
2,829
32,017
6.248498
0.041004
0.225038
0.341234
0.305482
0.90202
0.89591
0.884143
0.876902
0.868813
0.859648
0
0.010872
0.212824
32,017
794
171
40.323678
0.690513
0.044664
0
0.768388
0
0.00313
0.101195
0
0
0
0
0
0.045383
1
0.048513
false
0
0.00939
0
0.064163
0
0
0
0
null
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
2a2143df971febf013689ea2c5ff03b51a5d94d5
88,160
py
Python
algorithm/method_dichotomy.py
Storvild/python_examples
52b0b486fee442bf4b49a13cf8e609cdf4e02e0b
[ "MIT" ]
null
null
null
algorithm/method_dichotomy.py
Storvild/python_examples
52b0b486fee442bf4b49a13cf8e609cdf4e02e0b
[ "MIT" ]
null
null
null
algorithm/method_dichotomy.py
Storvild/python_examples
52b0b486fee442bf4b49a13cf8e609cdf4e02e0b
[ "MIT" ]
null
null
null
def sequence_find_idx(arr, val): """ Ф-ция для поиска ближайшего большего значения в массиве и возвращяющая его индекс Поиск ведется последовательно Массив обязательно должен быть передан отсортированным. Если он не отсортирован, воспользуйтесь ф-цией sorted(arr) перед передачей массива в ф-...
653.037037
82,095
0.65228
15,837
88,160
3.623729
0.060554
0.354214
0.377163
0.603774
0.958337
0.957448
0.956455
0.855774
0.043144
0.043144
0
0.378238
0.14966
88,160
134
82,096
657.910448
0.387296
0.942162
0
0.434343
0
0
0.025749
0
0
0
0
0
0.323232
1
0.070707
false
0
0.030303
0
0.20202
0.040404
0
0
0
null
1
1
1
1
1
1
1
0
0
0
1
0
0
0
1
1
1
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
12
2ac17d9f8f81d1a01a98851cbc2a77161f6e628b
66,589
py
Python
unittest_mocks/data.py
rolandovillca/python_introduction_basic
d1333a832a9e2b103e128a9dfc0c0da0952c267f
[ "MIT" ]
null
null
null
unittest_mocks/data.py
rolandovillca/python_introduction_basic
d1333a832a9e2b103e128a9dfc0c0da0952c267f
[ "MIT" ]
null
null
null
unittest_mocks/data.py
rolandovillca/python_introduction_basic
d1333a832a9e2b103e128a9dfc0c0da0952c267f
[ "MIT" ]
null
null
null
list_users = [ { "id":1, "first_name":"George", "last_name":"Bluth", "avatar":"https://s3.amazonaws.com/uifaces/faces/twitter/calebogden/128.jpg" }, { "id":2, "first_name":"Janet", "last_name":"Weaver", "avatar":"https://s3.amazonaws.com/uifaces/faces/twitter/josephstein/128.jpg" }, { ...
2,774.541667
66,119
0.658592
12,463
66,589
3.347749
0.074541
0.344055
0.152722
0.165448
0.854732
0.848932
0.847878
0.832347
0.829183
0.758958
0
0.086668
0.084579
66,589
23
66,120
2,895.173913
0.597798
0
0
0
0
0
0.582649
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
0
1
1
1
1
1
1
1
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
2acf123aa30874afb60a4178108457161ae53508
26,614
py
Python
SlotType/tests/customresource_lex_slottype/test_handler.py
KMK-Git/aws-cloudformation-resource-providers-lex
8d0738780aa888c7bea8beca59dd9579dbae95c1
[ "MIT" ]
null
null
null
SlotType/tests/customresource_lex_slottype/test_handler.py
KMK-Git/aws-cloudformation-resource-providers-lex
8d0738780aa888c7bea8beca59dd9579dbae95c1
[ "MIT" ]
null
null
null
SlotType/tests/customresource_lex_slottype/test_handler.py
KMK-Git/aws-cloudformation-resource-providers-lex
8d0738780aa888c7bea8beca59dd9579dbae95c1
[ "MIT" ]
null
null
null
from datetime import datetime from unittest import TestCase from unittest.mock import MagicMock, patch import boto3 # type: ignore from botocore.stub import Stubber # type: ignore from cloudformation_cli_python_lib import OperationStatus, exceptions from ...src.customresource_lex_slottype.handlers import ( crea...
36.062331
96
0.573119
1,869
26,614
7.960407
0.069021
0.025003
0.031994
0.023525
0.944952
0.933123
0.916992
0.891114
0.891114
0.885334
0
0.006131
0.344255
26,614
737
97
36.111262
0.846379
0.000939
0
0.804979
0
0
0.091213
0.02065
0
0
0
0
0.033195
1
0.013831
false
0
0.012448
0
0.027663
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
63143992cd526c2767e39c3ff15422b306123d5d
246
py
Python
output/models/ms_data/particles/particles_q022_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
1
2021-08-14T17:59:21.000Z
2021-08-14T17:59:21.000Z
output/models/ms_data/particles/particles_q022_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
4
2020-02-12T21:30:44.000Z
2020-04-15T20:06:46.000Z
output/models/ms_data/particles/particles_q022_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
null
null
null
from output.models.ms_data.particles.particles_q022_xsd.particles_q022 import ( B, R, Doc, ) from output.models.ms_data.particles.particles_q022_xsd.particles_q022_imp import Foo __all__ = [ "B", "R", "Doc", "Foo", ]
17.571429
85
0.678862
34
246
4.529412
0.441176
0.337662
0.207792
0.233766
0.779221
0.779221
0.779221
0.779221
0.779221
0.779221
0
0.060914
0.199187
246
13
86
18.923077
0.720812
0
0
0
0
0
0.03252
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
0
0
null
1
1
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
2d9d893cb3c9837af4a08de29b41baa4783c5b28
64,213
py
Python
models/models.py
neverdie88/collective-planning
ee421cc0bbb2802061a5a6b0930d834e9fb3f86f
[ "MIT" ]
1
2019-06-11T14:27:09.000Z
2019-06-11T14:27:09.000Z
models/models.py
neverdie88/collective-planning
ee421cc0bbb2802061a5a6b0930d834e9fb3f86f
[ "MIT" ]
null
null
null
models/models.py
neverdie88/collective-planning
ee421cc0bbb2802061a5a6b0930d834e9fb3f86f
[ "MIT" ]
1
2018-09-17T02:13:49.000Z
2018-09-17T02:13:49.000Z
import tensorflow as tf import tensorflow.contrib as tc import numpy as np from baselines.common.minout import minout from tensorflow.python.framework import ops class Model(object): def __init__(self, name): self.name = name @property def vars(self): return tf.get_collection(tf.GraphKeys....
47.600445
239
0.573435
7,913
64,213
4.424744
0.030077
0.042156
0.034901
0.051981
0.921201
0.916802
0.907691
0.900208
0.890212
0.877988
0
0.015457
0.309859
64,213
1,348
240
47.635757
0.774619
0.197141
0
0.834056
0
0
0.015606
0.001037
0
0
0
0
0
1
0.060738
false
0
0.005423
0.003254
0.126898
0.001085
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
2dc66068fe0b396c65e2eea2b261d447fc3a28fd
204
py
Python
checkcel/__init__.py
mboudet/validator
9af374674526115e34d5144d607ee7388d22e7b2
[ "MIT" ]
null
null
null
checkcel/__init__.py
mboudet/validator
9af374674526115e34d5144d607ee7388d22e7b2
[ "MIT" ]
2
2022-01-19T13:15:35.000Z
2022-01-19T13:16:00.000Z
checkcel/__init__.py
mboudet/validator
9af374674526115e34d5144d607ee7388d22e7b2
[ "MIT" ]
null
null
null
from checkcel.checkcel import Checkcel # noqa from checkcel.checkerator import Checkerator # noqa from checkcel.checkxtractor import Checkxtractor # noqa from checkcel.checkplate import Checkplate # noqa
40.8
55
0.843137
24
204
7.166667
0.291667
0.27907
0.27907
0
0
0
0
0
0
0
0
0
0.117647
204
4
56
51
0.955556
0.093137
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
2de3e48e2ba408e53b3f945119b386999f932388
2,265
py
Python
script.py
Lathanao/MySQL-bench
c82a402f30db02bb87c77a32ac283d775052b787
[ "MIT" ]
null
null
null
script.py
Lathanao/MySQL-bench
c82a402f30db02bb87c77a32ac283d775052b787
[ "MIT" ]
null
null
null
script.py
Lathanao/MySQL-bench
c82a402f30db02bb87c77a32ac283d775052b787
[ "MIT" ]
null
null
null
import calendar import requests import time import math # Create a plain text calendar c = calendar.TextCalendar(calendar.THURSDAY) str = c.formatmonth(2025, 1, 0, 0) print(str) warm_up = time.time() variable = [] urls = [ 'http://manage-vagrant.fashion-ec.asia/brand/lip-service', 'http://manage-vagrant.fas...
34.318182
99
0.700662
315
2,265
5.019048
0.203175
0.120177
0.204301
0.288425
0.766603
0.752056
0.716635
0.660974
0.660974
0.660974
0
0.101959
0.120971
2,265
65
100
34.846154
0.692115
0.175276
0
0.368421
0
0.236842
0.694054
0
0
0
0
0
0
1
0
false
0
0.105263
0
0.105263
0.105263
0
0
0
null
0
1
1
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
fa999185990f96bb84d50e28e9b160b997baa9f1
485
py
Python
jupyterlab2pymolpysnips/Jupyter/ipymolStart.py
MooersLab/pymolpysnips
50a89c85adf8006d85c1d6cd3f8aad7e440a0b92
[ "MIT" ]
null
null
null
jupyterlab2pymolpysnips/Jupyter/ipymolStart.py
MooersLab/pymolpysnips
50a89c85adf8006d85c1d6cd3f8aad7e440a0b92
[ "MIT" ]
null
null
null
jupyterlab2pymolpysnips/Jupyter/ipymolStart.py
MooersLab/pymolpysnips
50a89c85adf8006d85c1d6cd3f8aad7e440a0b92
[ "MIT" ]
null
null
null
""" cmd.do('# Start pymol in terminal with pymol -R;') cmd.do('# Select pymol.python as kernel in juptyer;') cmd.do('from ipymol import viewer as ipv;') cmd.do('ipv.start() # Start PyMOL RPC server;') """ cmd.do('# Start pymol in terminal with pymol -R;') cmd.do('# Select pymol.python as kernel in juptyer;') cmd.do('fr...
32.333333
57
0.694845
79
485
4.265823
0.329114
0.118694
0.059347
0.089021
0.818991
0.818991
0.818991
0.818991
0.818991
0.818991
0
0
0.150515
485
14
58
34.642857
0.817961
0.564948
0
0
0
0
0.761194
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
8
fa9cb3107a56f9f7e0de6d7da2dba414b4e9b52d
3,692
py
Python
src/c3nav/mapdata/migrations/0053_i18nfield.py
johnjohndoe/c3nav
a17f863a3512e305595c16b0300796b6bae81241
[ "Apache-2.0" ]
132
2016-11-12T01:45:23.000Z
2022-03-08T15:17:10.000Z
src/c3nav/mapdata/migrations/0053_i18nfield.py
johnjohndoe/c3nav
a17f863a3512e305595c16b0300796b6bae81241
[ "Apache-2.0" ]
66
2016-09-29T09:46:19.000Z
2022-03-11T23:26:18.000Z
src/c3nav/mapdata/migrations/0053_i18nfield.py
johnjohndoe/c3nav
a17f863a3512e305595c16b0300796b6bae81241
[ "Apache-2.0" ]
42
2016-09-29T08:34:57.000Z
2022-03-08T15:17:15.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2017-11-29 23:28 from __future__ import unicode_literals import c3nav.mapdata.fields from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('mapdata', '0052_auto_20171125_1335'), ] operations = [ ...
35.161905
103
0.509209
312
3,692
5.794872
0.179487
0.119469
0.089602
0.128319
0.773783
0.773783
0.759956
0.759956
0.759956
0.759956
0
0.025217
0.377031
3,692
104
104
35.5
0.76087
0.018418
0
0.907216
1
0
0.138083
0.017951
0
0
0
0
0
1
0
false
0
0.030928
0
0.061856
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
fac3cb8f59805d2a1f0d00c7e75530caba664f96
3,612
py
Python
tools/binary_size/libsupersize/match_util_test.py
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
tools/binary_size/libsupersize/match_util_test.py
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
tools/binary_size/libsupersize/match_util_test.py
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
#!/usr/bin/env python3 # Copyright 2017 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import re import unittest import match_util class MatchHelperTest(unittest.TestCase): def testExpandRegexIdentifierPlaceholder(s...
51.6
78
0.704319
428
3,612
5.630841
0.165888
0.273859
0.248133
0.343568
0.829046
0.829046
0.782573
0.782573
0.773444
0.773444
0
0.003391
0.101883
3,612
69
79
52.347826
0.739519
0.049003
0
0.071429
0
0
0.376567
0
0
0
0
0
0.821429
1
0.035714
false
0
0.053571
0
0.125
0
0
0
0
null
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
10
87ad094aba40604ca85cde2cea7841a1ef2b0e08
94
py
Python
src/components/kankeiforms/comparison/__init__.py
BigJerBD/Kankei-Backend
22e512405dff98c9b517d483ac7ddd168c459999
[ "MIT" ]
null
null
null
src/components/kankeiforms/comparison/__init__.py
BigJerBD/Kankei-Backend
22e512405dff98c9b517d483ac7ddd168c459999
[ "MIT" ]
null
null
null
src/components/kankeiforms/comparison/__init__.py
BigJerBD/Kankei-Backend
22e512405dff98c9b517d483ac7ddd168c459999
[ "MIT" ]
null
null
null
from .compare_two_kanji import CompareTwoKanji from .compare_two_words import CompareTwoWords
31.333333
46
0.893617
12
94
6.666667
0.666667
0.275
0.35
0
0
0
0
0
0
0
0
0
0.085106
94
2
47
47
0.930233
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
87c00f9800e077bb5e6f258c54c471d82a303460
11,041
py
Python
tests/Test_TeacherView.py
TestowanieAutomatyczneUG/projekt-i-Rafal-Majewski
b618680844849a5e64a5daf56e8be80d4f4bd73e
[ "CC0-1.0" ]
null
null
null
tests/Test_TeacherView.py
TestowanieAutomatyczneUG/projekt-i-Rafal-Majewski
b618680844849a5e64a5daf56e8be80d4f4bd73e
[ "CC0-1.0" ]
null
null
null
tests/Test_TeacherView.py
TestowanieAutomatyczneUG/projekt-i-Rafal-Majewski
b618680844849a5e64a5daf56e8be80d4f4bd73e
[ "CC0-1.0" ]
null
null
null
import unittest from modules.TeacherView import TeacherView from modules.Teacher import Teacher from modules.Student import Student from modules.Grade import Grade from modules.Subject import Subject from modules.GradeValue import GradeValue from modules.Comment import Comment from datetime import datetime as Datetime ...
23.293249
67
0.698035
1,160
11,041
6.597414
0.062069
0.071083
0.052267
0.073174
0.871292
0.840063
0.822815
0.815628
0.815628
0.815628
0
0.063927
0.17118
11,041
473
68
23.342495
0.772375
0
0
0.799107
0
0
0.088579
0
0
0
0
0
0.042411
1
0.044643
false
0
0.020089
0
0.075893
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
3550f9048be478f367f3add4bdf0b4f9ecd79f0a
99
py
Python
integration/tests_failed/assert_file.py
jleverenz/hurl
b81ca8ab7e0e409ec0c074fd8e118721ff4d3fb3
[ "Apache-2.0" ]
null
null
null
integration/tests_failed/assert_file.py
jleverenz/hurl
b81ca8ab7e0e409ec0c074fd8e118721ff4d3fb3
[ "Apache-2.0" ]
null
null
null
integration/tests_failed/assert_file.py
jleverenz/hurl
b81ca8ab7e0e409ec0c074fd8e118721ff4d3fb3
[ "Apache-2.0" ]
null
null
null
from app import app @app.route("/error-assert-file") def error_assert_file(): return "Hello"
14.142857
32
0.707071
15
99
4.533333
0.666667
0.323529
0.441176
0
0
0
0
0
0
0
0
0
0.151515
99
6
33
16.5
0.809524
0
0
0
0
0
0.232323
0
0
0
0
0
0.5
1
0.25
true
0
0.25
0.25
0.75
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
1
0
0
1
1
0
0
9
3563d37d5567494cab6a4790ba95aa1dcf9e028e
11,720
py
Python
django_socio_grpc/tests/assets/generated_protobuf_files.py
socotecio/django-socio-grpc
b01fc00347f2ca0f20d54085e6f807a4b4495caf
[ "Apache-2.0" ]
13
2021-04-15T14:53:34.000Z
2022-02-28T13:13:36.000Z
django_socio_grpc/tests/assets/generated_protobuf_files.py
socotecio/django-socio-grpc
b01fc00347f2ca0f20d54085e6f807a4b4495caf
[ "Apache-2.0" ]
1
2021-11-26T14:05:11.000Z
2021-11-26T14:05:11.000Z
django_socio_grpc/tests/assets/generated_protobuf_files.py
socotecio/django-socio-grpc
b01fc00347f2ca0f20d54085e6f807a4b4495caf
[ "Apache-2.0" ]
2
2021-05-31T07:43:23.000Z
2021-07-08T07:51:50.000Z
SIMPLE_MODEL_GENERATED = """syntax = "proto3"; package myproject.unittestmodel; import "google/protobuf/empty.proto"; service UnitTestModelController { rpc List(UnitTestModelListRequest) returns (UnitTestModelListResponse) {} rpc Create(UnitTestModel) returns (UnitTestModel) {} rpc Retrieve(UnitTestModel...
23.821138
98
0.754693
1,003
11,720
8.747757
0.090728
0.038295
0.030089
0.035104
0.862093
0.841919
0.831206
0.827901
0.814794
0.814794
0
0.015797
0.162799
11,720
491
99
23.869654
0.878414
0
0
0.661202
1
0
0.962116
0.432423
0
0
0
0
0
1
0
false
0
0.032787
0
0.032787
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
35c4fccf23782ef2965bedfa8f66549a8bca1ff2
665,480
py
Python
tests/test_nist_meta_6000.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
1
2021-08-14T17:59:21.000Z
2021-08-14T17:59:21.000Z
tests/test_nist_meta_6000.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
4
2020-02-12T21:30:44.000Z
2020-04-15T20:06:46.000Z
tests/test_nist_meta_6000.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
null
null
null
from tests.utils import assert_bindings def test_list_integer_enumeration_2_nistxml_sv_iv_list_integer_enumeration_3_1(mode, save_output, output_format): """ Type list/integer is restricted by facet enumeration. """ assert_bindings( schema="nistData/list/integer/Schema+Instance/NISTSchema-SV-I...
40.376168
129
0.717497
84,641
665,480
5.376933
0.003863
0.026367
0.049768
0.09668
0.999925
0.999881
0.998541
0.998541
0.997849
0.997849
0
0.02367
0.173114
665,480
16,481
130
40.378618
0.803386
0.123721
0
0.719036
0
0.179759
0.385395
0.36391
0
0
0
0
0.089969
1
0.08988
false
0
0.00009
0
0.089969
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
ea589c9a855092ccbd65d63e7a34e4b2c2ccfe37
6,658
py
Python
gcp_tests/vertex_ai/vertex_ai_train_model.py
Chronicles-of-AI/archives
23b978a709c785ff00ec90487039944b8ab8f4fb
[ "MIT" ]
null
null
null
gcp_tests/vertex_ai/vertex_ai_train_model.py
Chronicles-of-AI/archives
23b978a709c785ff00ec90487039944b8ab8f4fb
[ "MIT" ]
null
null
null
gcp_tests/vertex_ai/vertex_ai_train_model.py
Chronicles-of-AI/archives
23b978a709c785ff00ec90487039944b8ab8f4fb
[ "MIT" ]
null
null
null
from google.cloud import aiplatform from google.cloud.aiplatform.gapic.schema import trainingjob def run_job( job, dataset, model_display_name, training_fraction_split, validation_fraction_split, test_fraction_split, budget_milli_node_hours, disable_early_stopping, sync, ): mod...
29.460177
143
0.712226
787
6,658
5.58831
0.1169
0.133015
0.061846
0.068213
0.818327
0.791269
0.775807
0.77126
0.73397
0.722601
0
0.020482
0.21538
6,658
225
144
29.591111
0.821401
0.088916
0
0.717514
0
0
0.029952
0.003806
0
0
0
0
0
1
0.028249
false
0
0.011299
0
0.067797
0.00565
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
ea8872df8700f62989bc7848766017bac1306e11
181
py
Python
month02/day03 data/test.py
chaofan-zheng/python_learning_code
5d05848911d55aa49eaee4afd7ffd80536fad7aa
[ "Apache-2.0" ]
null
null
null
month02/day03 data/test.py
chaofan-zheng/python_learning_code
5d05848911d55aa49eaee4afd7ffd80536fad7aa
[ "Apache-2.0" ]
null
null
null
month02/day03 data/test.py
chaofan-zheng/python_learning_code
5d05848911d55aa49eaee4afd7ffd80536fad7aa
[ "Apache-2.0" ]
null
null
null
with open('file02.txt', 'r') as f: content = f.readlines(5) print(content) content = f.readlines(5) print(content) content = f.readlines(100) print(content)
22.625
34
0.624309
25
181
4.52
0.48
0.212389
0.451327
0.318584
0.681416
0.681416
0.681416
0.681416
0.681416
0
0
0.05
0.226519
181
7
35
25.857143
0.757143
0
0
0.714286
0
0
0.060773
0
0
0
0
0
0
1
0
false
0
0
0
0
0.428571
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
7
57c3c8f1d4f696c0428a4405d6aa11b760612337
26,385
py
Python
conkit/io/tests/test_stockholm.py
mesdaghi/conkit
01468761352bd3ac5078e5e9fef6f73c8c49036e
[ "BSD-3-Clause" ]
12
2017-06-12T17:20:32.000Z
2021-12-10T09:35:26.000Z
conkit/io/tests/test_stockholm.py
mesdaghi/conkit
01468761352bd3ac5078e5e9fef6f73c8c49036e
[ "BSD-3-Clause" ]
60
2017-02-08T19:29:34.000Z
2022-03-17T16:00:54.000Z
conkit/io/tests/test_stockholm.py
mesdaghi/conkit
01468761352bd3ac5078e5e9fef6f73c8c49036e
[ "BSD-3-Clause" ]
12
2017-09-25T07:25:35.000Z
2022-02-27T18:59:13.000Z
"""Testing facility for conkit.io.StockholmIO""" __author__ = "Felix Simkovic" __date__ = "12 Sep 2016" import os import unittest from conkit.io.stockholm import StockholmParser from conkit.io.tests.helpers import ParserTestCase class TestStockholmParser(ParserTestCase): def test_read_1(self): msa = ""...
113.240343
257
0.26371
1,585
26,385
4.294006
0.099054
0.195416
0.049956
0.073465
0.877167
0.840876
0.840876
0.840876
0.825007
0.825007
0
0.061774
0.161304
26,385
232
258
113.728448
0.245786
0.001592
0
0.420091
0
0.251142
0.822455
0.67783
0
0
0
0
0.082192
1
0.009132
false
0
0.018265
0
0.031963
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
1
1
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
11
a4abdefda0b4bfa63c37141385fa23ffa7bab46f
5,825
py
Python
medsegm/utils/metrics.py
evgeniishch/segmentation_models.pytorch
ce375a21fb34ec66c423debac75160ff7b4e4a4a
[ "MIT" ]
null
null
null
medsegm/utils/metrics.py
evgeniishch/segmentation_models.pytorch
ce375a21fb34ec66c423debac75160ff7b4e4a4a
[ "MIT" ]
null
null
null
medsegm/utils/metrics.py
evgeniishch/segmentation_models.pytorch
ce375a21fb34ec66c423debac75160ff7b4e4a4a
[ "MIT" ]
null
null
null
from . import base from . import functional as F from ..base.modules import Activation class IoU(base.Metric): __name__ = 'iou_score' def __init__(self, eps=1e-7, threshold=0.5, activation=None, ignore_channels=None, **kwargs): super().__init__(**kwargs) self.eps = eps self.threshold ...
29.871795
105
0.614421
698
5,825
4.84384
0.068768
0.207039
0.106477
0.035492
0.908311
0.895889
0.895889
0.891156
0.891156
0.856256
0
0.009317
0.281373
5,825
195
106
29.871795
0.798376
0
0
0.753247
0
0
0.001545
0
0
0
0
0
0
1
0.12987
false
0
0.019481
0
0.285714
0
0
0
0
null
1
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
a4b20fc5adf6e34782bcdeb6dcffdff824d7e925
161
py
Python
compiler-rt/test/orc/TestCases/Darwin/arm64/lit.local.cfg.py
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
605
2019-10-18T01:15:54.000Z
2022-03-31T14:31:04.000Z
compiler-rt/test/orc/TestCases/Darwin/arm64/lit.local.cfg.py
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
3,180
2019-10-18T01:21:21.000Z
2022-03-31T23:25:41.000Z
compiler-rt/test/orc/TestCases/Darwin/arm64/lit.local.cfg.py
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
275
2019-10-18T05:27:22.000Z
2022-03-30T09:04:21.000Z
if config.root.host_arch not in ['aarch64', 'arm64']: config.unsupported = True if config.target_arch not in ['aarch64', 'arm64']: config.unsupported = True
32.2
53
0.720497
23
161
4.956522
0.521739
0.140351
0.157895
0.280702
0.736842
0.736842
0.736842
0.736842
0
0
0
0.057554
0.136646
161
5
54
32.2
0.76259
0
0
0.5
0
0
0.148148
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
0
0
1
0
1
1
1
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
7
a4d01dd62ded34a1f09a5df98930cdc685264ea7
142
py
Python
flaml/scheduler/__init__.py
wuchihsu/FLAML
54d303a95ab8615ec298a5a7a530f8d1d477bf68
[ "MIT" ]
1,747
2020-12-05T00:14:58.000Z
2022-03-31T20:54:09.000Z
flaml/scheduler/__init__.py
wuchihsu/FLAML
54d303a95ab8615ec298a5a7a530f8d1d477bf68
[ "MIT" ]
229
2020-12-14T06:19:16.000Z
2022-03-31T05:20:27.000Z
flaml/scheduler/__init__.py
wuchihsu/FLAML
54d303a95ab8615ec298a5a7a530f8d1d477bf68
[ "MIT" ]
260
2020-12-13T09:24:41.000Z
2022-03-27T04:09:51.000Z
from .trial_scheduler import TrialScheduler from .online_scheduler import OnlineScheduler, OnlineSuccessiveDoublingScheduler, ChaChaScheduler
47.333333
97
0.901408
12
142
10.5
0.75
0.238095
0
0
0
0
0
0
0
0
0
0
0.070423
142
2
98
71
0.954545
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
1057d9170d63f408f8dd5cafd5dfa64939d1b7bf
119
py
Python
tests/__init__.py
yyuu/fluent-logger-python
8b3c948c9d20e7e883f03b3751bc5a15f8c8cadd
[ "Apache-2.0" ]
null
null
null
tests/__init__.py
yyuu/fluent-logger-python
8b3c948c9d20e7e883f03b3751bc5a15f8c8cadd
[ "Apache-2.0" ]
null
null
null
tests/__init__.py
yyuu/fluent-logger-python
8b3c948c9d20e7e883f03b3751bc5a15f8c8cadd
[ "Apache-2.0" ]
null
null
null
import sys sys.path = ['..'] + sys.path from test_event import * from test_sender import * from test_handler import *
17
28
0.722689
18
119
4.611111
0.444444
0.289157
0.337349
0
0
0
0
0
0
0
0
0
0.168067
119
6
29
19.833333
0.838384
0
0
0
0
0
0.016807
0
0
0
0
0
0
1
0
true
0
0.8
0
0.8
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
52c1df2d871c28d13271e82a464ab3d80cd996e9
131
py
Python
tests/services/blockchain_follower/handlers/test_comment.py
dpays/dsocial-notifications
32b1cdcd58d622407fd50206053c5b9735a56ba9
[ "MIT" ]
10
2017-10-22T20:07:40.000Z
2018-08-01T21:48:49.000Z
tests/services/blockchain_follower/handlers/test_comment.py
dpays/dsocial-notifications
32b1cdcd58d622407fd50206053c5b9735a56ba9
[ "MIT" ]
81
2017-08-19T15:38:32.000Z
2020-05-12T09:56:14.000Z
tests/services/blockchain_follower/handlers/test_comment.py
dpays/dsocial-notifications
32b1cdcd58d622407fd50206053c5b9735a56ba9
[ "MIT" ]
9
2017-09-19T07:12:20.000Z
2021-05-25T17:09:27.000Z
# -*- coding: utf-8 -*- from yo.services.blockchain_follower.handlers import handle_comment def test_handle_comment(): pass
16.375
67
0.740458
17
131
5.470588
0.882353
0.27957
0
0
0
0
0
0
0
0
0
0.008929
0.145038
131
7
68
18.714286
0.821429
0.160305
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
true
0.333333
0.333333
0
0.666667
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
1
1
0
0
0
0
7
eae49552d7a1bc46077bc8d6202242dd590ba6a1
227
py
Python
Codewars/8kyu/wilson-primes/Python/test.py
RevansChen/online-judge
ad1b07fee7bd3c49418becccda904e17505f3018
[ "MIT" ]
7
2017-09-20T16:40:39.000Z
2021-08-31T18:15:08.000Z
Codewars/8kyu/wilson-primes/Python/test.py
RevansChen/online-judge
ad1b07fee7bd3c49418becccda904e17505f3018
[ "MIT" ]
null
null
null
Codewars/8kyu/wilson-primes/Python/test.py
RevansChen/online-judge
ad1b07fee7bd3c49418becccda904e17505f3018
[ "MIT" ]
null
null
null
# Python - 2.7.6 Test.assert_equals(am_i_wilson(0), False) Test.assert_equals(am_i_wilson(1), False) Test.assert_equals(am_i_wilson(5), True) Test.assert_equals(am_i_wilson(8), False) Test.assert_equals(am_i_wilson(9), False)
28.375
41
0.784141
44
227
3.704545
0.386364
0.306748
0.490798
0.552147
0.858896
0.858896
0.552147
0
0
0
0
0.037736
0.066079
227
7
42
32.428571
0.731132
0.061674
0
0
0
0
0
0
0
0
0
0
1
1
0
true
0
0
0
0
0
0
0
0
null
1
1
1
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
1
0
0
0
0
0
0
8
d82800a2dc5e78bcef1e4af5b4d76139b3833e50
4,663
py
Python
codes/model.py
fernandofsilva/Tennis
5b454f7999a33bfd189d45ed2fa3a95727b8f94f
[ "MIT" ]
null
null
null
codes/model.py
fernandofsilva/Tennis
5b454f7999a33bfd189d45ed2fa3a95727b8f94f
[ "MIT" ]
null
null
null
codes/model.py
fernandofsilva/Tennis
5b454f7999a33bfd189d45ed2fa3a95727b8f94f
[ "MIT" ]
null
null
null
import torch import torch.nn as nn import torch.nn.functional as F import numpy as np class Actor(nn.Module): """Actor (Policy) Model. This class construct the model. """ def __init__(self, state_size, action_size, seed, fc1_units=128, fc2_units=128, fc3_units=128): """ Initialize parameters...
34.798507
99
0.633069
635
4,663
4.491339
0.179528
0.02805
0.047686
0.042076
0.861851
0.861851
0.861851
0.8331
0.81136
0.81136
0
0.025384
0.273429
4,663
133
100
35.06015
0.816411
0.333905
0
0.721311
0
0
0.071044
0
0
0
0
0
0
1
0.196721
false
0
0.065574
0.065574
0.42623
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
dc36f9eaca4eb1d62f8167b8efeab03e9299df45
15,531
py
Python
agpy/wcsalign_starlink.py
keflavich/agpy
fb3a42d9909b7cd1ba74247530bcc8742f5aaeb1
[ "MIT" ]
16
2015-05-08T11:14:26.000Z
2021-11-19T19:05:16.000Z
agpy/wcsalign_starlink.py
keflavich/agpy
fb3a42d9909b7cd1ba74247530bcc8742f5aaeb1
[ "MIT" ]
3
2016-05-12T16:27:14.000Z
2020-12-27T01:14:24.000Z
agpy/wcsalign_starlink.py
keflavich/agpy
fb3a42d9909b7cd1ba74247530bcc8742f5aaeb1
[ "MIT" ]
19
2015-03-30T22:34:14.000Z
2020-11-25T23:29:53.000Z
#!/bin/env python from __future__ import print_function # Re-projects a 2D FITS image so that it is aligned pixel-for-pixel with # another reference FITS image. # Usage: # wcsalign.py <infile> <reffile> <outfile> # # <infile> = Input fits file # <reffile> = Reference fits file # <outfile> = Output fits...
40.76378
110
0.645097
2,228
15,531
4.412029
0.14228
0.027467
0.014649
0.013428
0.940387
0.940387
0.940387
0.937233
0.937233
0.937233
0
0.012329
0.284528
15,531
380
111
40.871053
0.8723
0.517546
0
0.84507
0
0
0.075619
0
0
0
0
0
0
1
0.021127
false
0
0.06338
0
0.098592
0.007042
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
dc8ac7ff64af78373f7c1d329eb365fd4a43ffa5
4,625
py
Python
tests/test_pack.py
pylover/brythoncli
4a4b43e1c407b32437c006ed9d6933b9ec3bb8fd
[ "MIT" ]
null
null
null
tests/test_pack.py
pylover/brythoncli
4a4b43e1c407b32437c006ed9d6933b9ec3bb8fd
[ "MIT" ]
null
null
null
tests/test_pack.py
pylover/brythoncli
4a4b43e1c407b32437c006ed9d6933b9ec3bb8fd
[ "MIT" ]
null
null
null
from os import path from bddcli import status, stdout, stderr, when, given def test_pack_suffix(app, tempstruct, changedir, sortlines): temproot = tempstruct(**{ 'foo': { '__init__.py': 'i = 10', 'baz.py': 'i = 11', } }) changedir(temproot) outfile = path.join(...
23.477157
68
0.550919
509
4,625
4.921415
0.133595
0.023952
0.064671
0.068263
0.841118
0.826347
0.803992
0.783633
0.734132
0.734132
0
0.017718
0.304432
4,625
196
69
23.596939
0.760957
0
0
0.744186
0
0
0.258162
0
0
0
0
0
0.209302
1
0.040698
false
0
0.011628
0
0.052326
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
dc98b86d3e54fef79a1100be64901540a9aaae16
5,583
py
Python
Stochastic_EM.py
xieyujia/RWOC
ad1085b212aac85298317b681379997c14e340b3
[ "MIT" ]
1
2021-09-13T15:32:19.000Z
2021-09-13T15:32:19.000Z
Stochastic_EM.py
xieyujia/RWOC
ad1085b212aac85298317b681379997c14e340b3
[ "MIT" ]
1
2021-06-30T13:11:12.000Z
2021-07-06T01:33:19.000Z
Stochastic_EM.py
xieyujia/RWOC
ad1085b212aac85298317b681379997c14e340b3
[ "MIT" ]
null
null
null
import numpy as np from sklearn.linear_model import LinearRegression def log_prob_of_order(x,y,coefs,s,order): eps = 1e-6 y_ = y[order] log_prob = np.sum(-np.square(x.dot(coefs)-y_)/(2*(s+eps)**2)) return log_prob def stochastic_em(x,y,w_init=None, fit_intercept=False,steps=15,\ return_all_weigh...
31.542373
91
0.549525
774
5,583
3.75969
0.147287
0.05567
0.021649
0.065979
0.856014
0.856014
0.833677
0.833677
0.833677
0.80378
0
0.015646
0.33602
5,583
176
92
31.721591
0.769355
0.042271
0
0.862595
0
0
0.019115
0
0
0
0
0
0
1
0.022901
false
0
0.015267
0
0.061069
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7