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
89f29199bfa359aba82dfc8153341f0f63c1a981
74
py
Python
allennlp/models/encoder_decoders/__init__.py
unendin/allennlp
0dcbaea6dbc6cc43e24a3564d6d37f8a1421484c
[ "Apache-2.0" ]
21
2019-03-11T13:39:05.000Z
2021-11-02T11:43:32.000Z
allennlp/models/encoder_decoders/__init__.py
unendin/allennlp
0dcbaea6dbc6cc43e24a3564d6d37f8a1421484c
[ "Apache-2.0" ]
8
2020-01-28T22:40:24.000Z
2021-08-25T15:30:18.000Z
allennlp/models/encoder_decoders/__init__.py
unendin/allennlp
0dcbaea6dbc6cc43e24a3564d6d37f8a1421484c
[ "Apache-2.0" ]
4
2019-11-04T07:21:49.000Z
2022-03-01T14:59:14.000Z
from allennlp.models.encoder_decoders.simple_seq2seq import SimpleSeq2Seq
37
73
0.905405
9
74
7.222222
1
0
0
0
0
0
0
0
0
0
0
0.028571
0.054054
74
1
74
74
0.9
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
d60a5b79d31e18c6ad0f03079e2c3095d7c9e417
725
py
Python
app/catalog/domain/product_repository.py
amazingguni/flask-ddd
8a789c1db96a8ad4079fdd2957f64b7af710b5b3
[ "Apache-2.0" ]
1
2022-02-06T14:00:02.000Z
2022-02-06T14:00:02.000Z
app/catalog/domain/product_repository.py
amazingguni/flask-ddd
8a789c1db96a8ad4079fdd2957f64b7af710b5b3
[ "Apache-2.0" ]
null
null
null
app/catalog/domain/product_repository.py
amazingguni/flask-ddd
8a789c1db96a8ad4079fdd2957f64b7af710b5b3
[ "Apache-2.0" ]
null
null
null
import abc from .product import Product from .category import Category class ProductRepository(abc.ABC): @abc.abstractmethod def save(self, product: Product): raise NotImplementedError @abc.abstractmethod def remove_by_id(self, id: int): raise NotImplementedError @abc.abstractmet...
24.166667
76
0.711724
79
725
6.417722
0.278481
0.201183
0.236686
0.404339
0.633136
0.431953
0.33925
0.240631
0.240631
0.240631
0
0
0.21931
725
29
77
25
0.89576
0
0
0.545455
0
0
0
0
0
0
0
0
0
1
0.272727
false
0
0.136364
0
0.454545
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
d62852e4273b4ef1b29facebe4c4058613552bd3
361
py
Python
ez_utils/oss_utils/__init__.py
darkripples/none-web-frame
489e599cdc296bdfa1ea410fcd129a892a18c142
[ "Apache-2.0" ]
2
2019-12-17T10:11:01.000Z
2020-05-07T01:22:24.000Z
ez_utils/oss_utils/__init__.py
darkripples/none-web-frame
489e599cdc296bdfa1ea410fcd129a892a18c142
[ "Apache-2.0" ]
null
null
null
ez_utils/oss_utils/__init__.py
darkripples/none-web-frame
489e599cdc296bdfa1ea410fcd129a892a18c142
[ "Apache-2.0" ]
1
2019-12-17T10:12:06.000Z
2019-12-17T10:12:06.000Z
#!/usr/bin/env python # coding:utf8 """ @Time : 2019/09/02 @Author : fls @Contact : fls@darkripples.com @Desc : fls易用性utils-对象存储相关utils @Modify Time @Author @Version @Desciption ------------ ------- -------- ----------- 2019/09/02 11:41 fls 1.0 create "...
24.066667
52
0.509695
40
361
4.525
0.825
0.066298
0.088398
0
0
0
0
0
0
0
0
0.089494
0.288089
361
14
53
25.785714
0.614786
0.861496
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
d6325c9d5d0a8c3ea48aca6b77918d5f2d74a941
188
py
Python
app/template/serializers.py
rwgeaston/django-template
d51a023aacb871ba76992e1958b2a4fb27e5dad6
[ "MIT" ]
null
null
null
app/template/serializers.py
rwgeaston/django-template
d51a023aacb871ba76992e1958b2a4fb27e5dad6
[ "MIT" ]
2
2020-02-11T23:21:09.000Z
2020-06-05T19:23:58.000Z
app/template/serializers.py
rwgeaston/django-postgres-template
d51a023aacb871ba76992e1958b2a4fb27e5dad6
[ "MIT" ]
null
null
null
from rest_framework import serializers from .models import Entity class EntitySerializer(serializers.ModelSerializer): class Meta: model = Entity fields = "__all__"
18.8
52
0.728723
19
188
6.947368
0.736842
0
0
0
0
0
0
0
0
0
0
0
0.218085
188
9
53
20.888889
0.897959
0
0
0
0
0
0.037234
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
d635e936654bad3f8adf858f1d7221f1833ad75c
153
py
Python
openshiftcli/outputstreamer/outputstreamer.py
pablofelix/robotframework-openshiftcli
895d633908b52eb0eb5de20b741863ce32cecd30
[ "MIT" ]
1
2021-11-23T23:44:36.000Z
2021-11-23T23:44:36.000Z
openshiftcli/outputstreamer/outputstreamer.py
pablofelix/robotframework-openshiftcli
895d633908b52eb0eb5de20b741863ce32cecd30
[ "MIT" ]
2
2021-09-10T08:00:16.000Z
2022-01-14T08:41:20.000Z
openshiftcli/outputstreamer/outputstreamer.py
pablofelix/robotframework-openshiftcli
895d633908b52eb0eb5de20b741863ce32cecd30
[ "MIT" ]
3
2021-09-10T10:18:15.000Z
2021-12-20T02:33:30.000Z
from abc import ABC, abstractmethod class OutputStreamer(ABC): @abstractmethod def stream(self, output: str, type: str) -> None: pass
17
53
0.673203
18
153
5.722222
0.777778
0.330097
0
0
0
0
0
0
0
0
0
0
0.235294
153
8
54
19.125
0.880342
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0.2
0.2
0
0.6
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
4
c38b888f8c8f802df547ab243b840f3964bbd30f
212
py
Python
asyncServer/__main__.py
harveyspec1245/tcpClient
60262d75ef64d428b2bfc20f3d9a87ffa8f6c6ed
[ "Apache-2.0" ]
null
null
null
asyncServer/__main__.py
harveyspec1245/tcpClient
60262d75ef64d428b2bfc20f3d9a87ffa8f6c6ed
[ "Apache-2.0" ]
null
null
null
asyncServer/__main__.py
harveyspec1245/tcpClient
60262d75ef64d428b2bfc20f3d9a87ffa8f6c6ed
[ "Apache-2.0" ]
null
null
null
from prometheus_client import start_http_server from .server import Server if __name__ == '__main__': print('Starting prometheus server') start_http_server(8000) server = Server('127.0.0.1', 8888)
21.2
47
0.735849
29
212
4.931034
0.586207
0.125874
0.20979
0
0
0
0
0
0
0
0
0.079096
0.165094
212
9
48
23.555556
0.728814
0
0
0
0
0
0.203791
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.166667
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
c38d4755ff72386f2f4ebef667949bc9df553509
45
py
Python
spring-integration-scripting/src/test/java/org/springframework/integration/scripting/jsr223/test2.py
StandCN/spring-integration
d86647807ebc624529edb1bd07bac3b7ebe9dedf
[ "Apache-2.0" ]
1,093
2015-01-01T15:28:50.000Z
2022-03-29T18:30:56.000Z
spring-integration-scripting/src/test/java/org/springframework/integration/scripting/jsr223/test2.py
StandCN/spring-integration
d86647807ebc624529edb1bd07bac3b7ebe9dedf
[ "Apache-2.0" ]
1,920
2015-01-05T12:16:48.000Z
2022-03-31T16:58:41.000Z
spring-integration-scripting/src/test/java/org/springframework/integration/scripting/jsr223/test2.py
Varulv1997/spring-integration
655839c66be70e92b5a8e33eae3ac97869497224
[ "Apache-2.0" ]
922
2015-01-05T05:10:05.000Z
2022-03-30T21:06:32.000Z
def foo(y): x=y return x bar = foo(7)
7.5
12
0.511111
10
45
2.3
0.7
0
0
0
0
0
0
0
0
0
0
0.033333
0.333333
45
5
13
9
0.733333
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
c3eb33bc6ccd4098facdbf285edd9fe375adcfa9
222
py
Python
pyslet/xsdatatypes20041028.py
cidermole/pyslet
b30e9a439f6c0f0e2d01f1ac80986944bed7427b
[ "BSD-3-Clause" ]
62
2015-02-05T19:51:16.000Z
2022-03-17T22:36:39.000Z
pyslet/xsdatatypes20041028.py
cidermole/pyslet
b30e9a439f6c0f0e2d01f1ac80986944bed7427b
[ "BSD-3-Clause" ]
64
2015-01-04T15:43:28.000Z
2022-02-22T08:54:20.000Z
pyslet/xsdatatypes20041028.py
cidermole/pyslet
b30e9a439f6c0f0e2d01f1ac80986944bed7427b
[ "BSD-3-Clause" ]
39
2015-10-24T08:31:38.000Z
2021-11-01T19:50:13.000Z
#! /usr/bin/env python import warnings from .xml.xsdatatypes import * # noqa warnings.warn( "pyslet.xsdatatypes20041029 is deprecated, use pyslet.xml.xsdatatypes " "instead", DeprecationWarning, stacklevel=3)
22.2
75
0.743243
25
222
6.6
0.8
0.169697
0
0
0
0
0
0
0
0
0
0.047872
0.153153
222
9
76
24.666667
0.829787
0.117117
0
0
0
0
0.391753
0.247423
0
0
0
0
0
1
0
true
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
c3fce9472b54625fa316ac8dc1ed55cbb83c22de
161
py
Python
ttrss/exception.py
eikendev/ttrss
18a9bb82ade851cdc104808c50f7e0a88a43f7df
[ "MIT" ]
4
2019-06-13T14:41:39.000Z
2021-11-22T17:27:59.000Z
ttrss/exception.py
eikendev/ttrss
18a9bb82ade851cdc104808c50f7e0a88a43f7df
[ "MIT" ]
null
null
null
ttrss/exception.py
eikendev/ttrss
18a9bb82ade851cdc104808c50f7e0a88a43f7df
[ "MIT" ]
null
null
null
class TTRssException(Exception): pass class TTRssArgumentException(TTRssException): pass class TTRssConfigurationException(TTRssException): pass
14.636364
50
0.78882
12
161
10.583333
0.5
0.141732
0
0
0
0
0
0
0
0
0
0
0.15528
161
10
51
16.1
0.933824
0
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
4
612e9f0ef272a75c935210054cf385c6953970de
33
py
Python
venv/lib/python2.6/linecache.py
mrghen/groupfit
e966bbc51c8126b00dfc0c611fcec6f15b9749ee
[ "Apache-2.0" ]
1
2020-10-14T00:06:54.000Z
2020-10-14T00:06:54.000Z
build/env/lib/python2.6/linecache.py
lockhart39/HueQualityAndIngestionApp
c75e55a43a8bdeb7aa0f5bf2101ec72b01dcac1c
[ "Apache-2.0" ]
7
2015-02-24T18:20:36.000Z
2015-03-04T14:26:48.000Z
venv/lib/python2.6/linecache.py
mrghen/groupfit
e966bbc51c8126b00dfc0c611fcec6f15b9749ee
[ "Apache-2.0" ]
2
2015-08-06T07:45:48.000Z
2017-01-04T17:47:16.000Z
/usr/lib64/python2.6/linecache.py
33
33
0.818182
6
33
4.5
1
0
0
0
0
0
0
0
0
0
0
0.121212
0
33
1
33
33
0.69697
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
4
6138ddffd45562ecfe028e9e2473112ed40266da
1,563
py
Python
memsource/models.py
zepellin/memsource-wrap
49694129b26e4c32a07d10cdca3af80b344fee3d
[ "MIT" ]
9
2016-02-12T00:32:02.000Z
2021-10-11T10:16:05.000Z
memsource/models.py
zepellin/memsource-wrap
49694129b26e4c32a07d10cdca3af80b344fee3d
[ "MIT" ]
42
2015-01-07T07:31:14.000Z
2019-12-10T05:32:51.000Z
memsource/models.py
zepellin/memsource-wrap
49694129b26e4c32a07d10cdca3af80b344fee3d
[ "MIT" ]
9
2016-06-29T16:56:58.000Z
2021-11-26T02:33:17.000Z
import iso8601 class BaseModel(dict): def __getattr__(self, key): return self[key] def _iso8601_to_datetime(self, source): return iso8601.parse_date(source) class User(BaseModel): pass class Authentication(BaseModel): pass class Client(BaseModel): pass class Domain(BaseMod...
17.175824
99
0.701855
194
1,563
5.489691
0.43299
0.109859
0.185915
0.039437
0.04507
0
0
0
0
0
0
0.014646
0.213692
1,563
90
100
17.366667
0.851912
0.21817
0
0.311111
0
0
0.004227
0
0
0
0
0
0
1
0.133333
false
0.311111
0.022222
0.111111
0.644444
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
1
1
0
0
4
61662956a10b50f3391a8ab404829d665e18f312
2,893
py
Python
tests/test_hciconfig.py
listuser/jc
3ac8d0362b4fb9999fc55a60a9cb20ac80d114f7
[ "MIT" ]
3,215
2019-10-24T15:25:56.000Z
2022-03-31T15:43:01.000Z
tests/test_hciconfig.py
listuser/jc
3ac8d0362b4fb9999fc55a60a9cb20ac80d114f7
[ "MIT" ]
109
2019-11-02T16:22:29.000Z
2022-03-30T17:32:17.000Z
tests/test_hciconfig.py
listuser/jc
3ac8d0362b4fb9999fc55a60a9cb20ac80d114f7
[ "MIT" ]
75
2020-02-07T00:16:32.000Z
2022-03-29T09:29:53.000Z
import os import json import unittest import jc.parsers.hciconfig THIS_DIR = os.path.dirname(os.path.abspath(__file__)) class MyTests(unittest.TestCase): def setUp(self): # input with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/hciconfig.out'), 'r', encoding='utf-8') as f: ...
40.746479
129
0.661597
442
2,893
4.09276
0.128959
0.061913
0.070757
0.112769
0.852957
0.789939
0.74461
0.661692
0.661692
0.661692
0
0.039417
0.193225
2,893
70
130
41.328571
0.735647
0.066713
0
0
0
0
0.150213
0.128533
0
0
0
0
0.142857
1
0.171429
false
0
0.114286
0
0.314286
0
0
0
0
null
0
0
0
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
6178c83569b543d92be5cf8bbedf45a9d8213362
110
py
Python
templateproject/apps.py
Nebin007/djangoadminapp
469267d98cdd9404e00d614f825575bcf14a313c
[ "Unlicense" ]
null
null
null
templateproject/apps.py
Nebin007/djangoadminapp
469267d98cdd9404e00d614f825575bcf14a313c
[ "Unlicense" ]
null
null
null
templateproject/apps.py
Nebin007/djangoadminapp
469267d98cdd9404e00d614f825575bcf14a313c
[ "Unlicense" ]
null
null
null
from django.apps import AppConfig class TemplateprojectConfig(AppConfig): name = 'templateproject'
18.333333
40
0.754545
10
110
8.3
0.9
0
0
0
0
0
0
0
0
0
0
0
0.181818
110
5
41
22
0.922222
0
0
0
0
0
0.142857
0
0
0
0
0
0
1
0
false
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
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
61afed2b4c1057e0da81f580c29bcbf6ff924e3a
114
py
Python
aufbau/core/command.py
jammycakes/aufbau
58ebbd71755b1c3d11dbc8c74765ba64a287b293
[ "MIT" ]
null
null
null
aufbau/core/command.py
jammycakes/aufbau
58ebbd71755b1c3d11dbc8c74765ba64a287b293
[ "MIT" ]
null
null
null
aufbau/core/command.py
jammycakes/aufbau
58ebbd71755b1c3d11dbc8c74765ba64a287b293
[ "MIT" ]
null
null
null
import sys from aufbau.core.builder import Builder def main(): builder = Builder(sys.argv) builder.run()
16.285714
39
0.710526
16
114
5.0625
0.625
0
0
0
0
0
0
0
0
0
0
0
0.184211
114
6
40
19
0.870968
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
4ee472b8a0a514cf225249b726acd025764a2966
1,076
py
Python
src/climbingboard/comparable.py
ClementBM/ClimbingBoard
bc1fe7102a183d919a5df57c7e08e811751335a6
[ "MIT" ]
null
null
null
src/climbingboard/comparable.py
ClementBM/ClimbingBoard
bc1fe7102a183d919a5df57c7e08e811751335a6
[ "MIT" ]
4
2021-08-23T20:52:46.000Z
2022-03-12T00:39:31.000Z
src/climbingboard/comparable.py
ClementBM/climbing-board
bc1fe7102a183d919a5df57c7e08e811751335a6
[ "MIT" ]
null
null
null
class Comparable(object): """ https://regebro.wordpress.com/2010/12/13/python-implementing-rich-comparison-the-correct-way/ """ def _compare(self, other, method): try: if type(other) is type(self): return method(self._cmpkey, other._cmpkey) return NotImplemen...
29.081081
95
0.600372
133
1,076
4.571429
0.315789
0.039474
0.148026
0.1875
0.595395
0.434211
0.434211
0.434211
0.434211
0.434211
0
0.010363
0.282528
1,076
36
96
29.888889
0.777202
0.086431
0
0.28
0
0
0
0
0
0
0
0
0
1
0.32
false
0
0
0.24
0.8
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
f6124975e4d833095fdd87d487cda0b6ebabda43
84
py
Python
wikimap_ui/models/__init__.py
pderkowski/wikimap_ui
b0829b4b5fd1a537529531b70e67d7e3f15f005d
[ "MIT" ]
null
null
null
wikimap_ui/models/__init__.py
pderkowski/wikimap_ui
b0829b4b5fd1a537529531b70e67d7e3f15f005d
[ "MIT" ]
null
null
null
wikimap_ui/models/__init__.py
pderkowski/wikimap_ui
b0829b4b5fd1a537529531b70e67d7e3f15f005d
[ "MIT" ]
null
null
null
from data import Data, Datapoint, Bounds, SearchResult from common.Zoom import Zoom
28
54
0.821429
12
84
5.75
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.130952
84
2
55
42
0.945205
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
f62684e64879389b48e3d8cddab7ea80ed08bf09
46
py
Python
docklib/__init__.py
homebysix/docklib
2969237bf3714b9c52db7faef0d0df72e143236b
[ "Apache-2.0" ]
97
2018-04-08T20:42:42.000Z
2022-03-23T20:10:34.000Z
docklib/__init__.py
homebysix/docklib
2969237bf3714b9c52db7faef0d0df72e143236b
[ "Apache-2.0" ]
21
2018-04-16T15:08:01.000Z
2021-08-03T21:59:01.000Z
docklib/__init__.py
homebysix/docklib
2969237bf3714b9c52db7faef0d0df72e143236b
[ "Apache-2.0" ]
22
2018-04-16T00:37:39.000Z
2022-02-10T23:36:41.000Z
from .docklib import * __version__ = "1.3.0"
11.5
22
0.673913
7
46
3.857143
1
0
0
0
0
0
0
0
0
0
0
0.078947
0.173913
46
3
23
15.333333
0.631579
0
0
0
0
0
0.108696
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
f6292af92f9c69de9bf07d6a8abb20730597b69e
30
py
Python
lib/python3.6/re.py
trikyas/django-project
d258d8e0d40def6c382aadde112de0f58b7fac6c
[ "MIT" ]
1
2021-02-08T10:04:39.000Z
2021-02-08T10:04:39.000Z
lib/python3.6/re.py
trikyas/django-project
d258d8e0d40def6c382aadde112de0f58b7fac6c
[ "MIT" ]
7
2020-02-11T23:52:31.000Z
2022-02-10T09:10:58.000Z
lib/python3.6/re.py
trikyas/django-project
d258d8e0d40def6c382aadde112de0f58b7fac6c
[ "MIT" ]
1
2019-03-26T00:23:02.000Z
2019-03-26T00:23:02.000Z
/anaconda3/lib/python3.6/re.py
30
30
0.8
6
30
4
1
0
0
0
0
0
0
0
0
0
0
0.1
0
30
1
30
30
0.7
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
4
f62b06c30058fffe9ce8c83e9470ba1eb7960bd6
211
py
Python
Ad-Hoc/1104.py
LorranSutter/URI-Online-Judge
aef885b9a7caa83484cf172e29eea8ec92fc3627
[ "MIT" ]
null
null
null
Ad-Hoc/1104.py
LorranSutter/URI-Online-Judge
aef885b9a7caa83484cf172e29eea8ec92fc3627
[ "MIT" ]
null
null
null
Ad-Hoc/1104.py
LorranSutter/URI-Online-Judge
aef885b9a7caa83484cf172e29eea8ec92fc3627
[ "MIT" ]
null
null
null
A, B = map(int, input().split()) while A != 0 and B != 0: X = set(map(int, input().split())) Y = set(map(int, input().split())) print(min(len(X-Y), len(Y-X))) A, B = map(int, input().split())
21.1
38
0.50237
38
211
2.789474
0.394737
0.226415
0.415094
0.603774
0.698113
0.339623
0
0
0
0
0
0.012195
0.222749
211
9
39
23.444444
0.634146
0
0
0.333333
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
f639cf0bddd3516d8cc0e3cbfbc64f80f07b0fa5
91
py
Python
arc/image/registry_test.py
artificialcreatures/arc
156276c930657d0ca263e33fc60efaa2bbf52de1
[ "Apache-2.0" ]
null
null
null
arc/image/registry_test.py
artificialcreatures/arc
156276c930657d0ca263e33fc60efaa2bbf52de1
[ "Apache-2.0" ]
null
null
null
arc/image/registry_test.py
artificialcreatures/arc
156276c930657d0ca263e33fc60efaa2bbf52de1
[ "Apache-2.0" ]
null
null
null
# img = "python:3.6" # img = "debian:stretch-slim" # img = "oldoceancreature/arc:testtrue"
22.75
39
0.67033
12
91
5.083333
0.833333
0
0
0
0
0
0
0
0
0
0
0.025316
0.131868
91
3
40
30.333333
0.746835
0.923077
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
9c85f46c68a4623867ce883f75fda215ef53d9d9
55
py
Python
codesignal/EdgeoftheOcean/shapeArea/shapeArea.py
SneakyWizards/HackerRankSolutions
daf494e7775bb0de5afcfdcfd45aa73e6a950e0e
[ "RSA-MD" ]
3
2020-01-08T18:33:11.000Z
2022-02-08T00:38:26.000Z
codesignal/EdgeoftheOcean/shapeArea/shapeArea.py
SneakyWizards/HackerRankSolutions
daf494e7775bb0de5afcfdcfd45aa73e6a950e0e
[ "RSA-MD" ]
null
null
null
codesignal/EdgeoftheOcean/shapeArea/shapeArea.py
SneakyWizards/HackerRankSolutions
daf494e7775bb0de5afcfdcfd45aa73e6a950e0e
[ "RSA-MD" ]
4
2020-08-08T22:02:23.000Z
2022-02-07T17:40:15.000Z
def shapeArea(n): return (n ** 2) + ((n - 1) ** 2)
18.333333
36
0.436364
9
55
2.666667
0.666667
0
0
0
0
0
0
0
0
0
0
0.076923
0.290909
55
2
37
27.5
0.538462
0
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
4
9ca827251acf48200cd4dbc5d65d377f0363a6ae
214
py
Python
examples/tensorflow/license-plate-reader/utils/__init__.py
deliahu/cortex
89115b43d4628c6f95a881c0409ecc3f78ab11e6
[ "Apache-2.0" ]
1
2021-12-08T03:43:30.000Z
2021-12-08T03:43:30.000Z
examples/tensorflow/license-plate-reader/utils/__init__.py
deliahu/cortex
89115b43d4628c6f95a881c0409ecc3f78ab11e6
[ "Apache-2.0" ]
null
null
null
examples/tensorflow/license-plate-reader/utils/__init__.py
deliahu/cortex
89115b43d4628c6f95a881c0409ecc3f78ab11e6
[ "Apache-2.0" ]
null
null
null
# WARNING: you are on the master branch; please refer to examples on the branch corresponding to your `cortex version` (e.g. for version 0.18.*, run `git checkout -b 0.18` or switch to the `0.18` branch on GitHub)
107
213
0.733645
40
214
3.925
0.675
0.057325
0
0
0
0
0
0
0
0
0
0.050847
0.172897
214
1
214
214
0.836158
0.985981
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
9ca9f411b0a56026e9743e3eff6997e8140fba20
79
py
Python
codeforces/A/3. 146 (DIV. 2) - A. Boy or Girl.py
safiulanik/problem-solving
116539750b901b55fe6e69447c8ede78f2e9ff16
[ "MIT" ]
null
null
null
codeforces/A/3. 146 (DIV. 2) - A. Boy or Girl.py
safiulanik/problem-solving
116539750b901b55fe6e69447c8ede78f2e9ff16
[ "MIT" ]
null
null
null
codeforces/A/3. 146 (DIV. 2) - A. Boy or Girl.py
safiulanik/problem-solving
116539750b901b55fe6e69447c8ede78f2e9ff16
[ "MIT" ]
null
null
null
print("CHAT WITH HER!" if len(set(list(input()))) % 2 == 0 else "IGNORE HIM!")
39.5
78
0.607595
14
79
3.428571
1
0
0
0
0
0
0
0
0
0
0
0.029851
0.151899
79
1
79
79
0.686567
0
0
0
0
0
0.316456
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
4
9cb176887d177dc83f493d706db7e2e88546c27a
3,996
py
Python
test/programytest/processors/post/test_formatpunctuation.py
cdoebler1/AIML2
ee692ec5ea3794cd1bc4cc8ec2a6b5e5c20a0d6a
[ "MIT" ]
345
2016-11-23T22:37:04.000Z
2022-03-30T20:44:44.000Z
test/programytest/processors/post/test_formatpunctuation.py
MikeyBeez/program-y
00d7a0c7d50062f18f0ab6f4a041068e119ef7f0
[ "MIT" ]
275
2016-12-07T10:30:28.000Z
2022-02-08T21:28:33.000Z
test/programytest/processors/post/test_formatpunctuation.py
VProgramMist/modified-program-y
f32efcafafd773683b3fe30054d5485fe9002b7d
[ "MIT" ]
159
2016-11-28T18:59:30.000Z
2022-03-20T18:02:44.000Z
import unittest from programy.context import ClientContext from programy.processors.post.formatpunctuation import FormatPunctuationProcessor from programytest.client import TestClient class FormatNumbersTests(unittest.TestCase): def setUp(self): self.context = ClientContext(TestClient(), "testid") ...
39.176471
81
0.688188
372
3,996
7.30914
0.139785
0.095623
0.071718
0.248253
0.789261
0.753954
0.753954
0.698786
0.645826
0.645826
0
0.008212
0.207708
3,996
101
82
39.564356
0.8506
0
0
0.414634
0
0
0.105856
0
0
0
0
0
0.365854
1
0.195122
false
0
0.04878
0
0.256098
0
0
0
0
null
0
0
1
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
9cb30cda92f5cdbc59bdcf1c51cec400312ae548
3,588
py
Python
tests/representations/test_network.py
techthiyanes/textacy
c7a5e1f881a3df63a89991accefcbd375ede5353
[ "Apache-2.0" ]
null
null
null
tests/representations/test_network.py
techthiyanes/textacy
c7a5e1f881a3df63a89991accefcbd375ede5353
[ "Apache-2.0" ]
null
null
null
tests/representations/test_network.py
techthiyanes/textacy
c7a5e1f881a3df63a89991accefcbd375ede5353
[ "Apache-2.0" ]
null
null
null
from cytoolz import itertoolz import pytest import textacy from textacy.representations import network @pytest.fixture(scope="module") def docs(lang_en, texts_short_en): # TODO: why only two lines? return [textacy.make_spacy_doc(text, lang=lang_en) for text in texts_short_en[:2]] class TestCooccurrenceNetw...
43.756098
87
0.647993
483
3,588
4.621118
0.167702
0.075717
0.040323
0.062724
0.75224
0.739247
0.739247
0.651882
0.614247
0.614247
0
0.008674
0.228818
3,588
81
88
44.296296
0.797976
0.006968
0
0.492537
0
0
0.057287
0
0
0
0
0.012346
0.253731
1
0.134328
false
0
0.059701
0.014925
0.238806
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
4
9cd5b0415fa465ac7a5f9c2c44101f282af1244a
155
py
Python
monte_carlo_tree_search/mcts_settings.py
TomaszOdrzygozdz/gym-splendor
aeb00605e105628188143a4bbd6280e9eb41c4f9
[ "MIT" ]
1
2020-03-09T18:56:01.000Z
2020-03-09T18:56:01.000Z
monte_carlo_tree_search/mcts_settings.py
TomaszOdrzygozdz/gym-splendor
aeb00605e105628188143a4bbd6280e9eb41c4f9
[ "MIT" ]
null
null
null
monte_carlo_tree_search/mcts_settings.py
TomaszOdrzygozdz/gym-splendor
aeb00605e105628188143a4bbd6280e9eb41c4f9
[ "MIT" ]
1
2019-10-25T13:09:40.000Z
2019-10-25T13:09:40.000Z
REWARD_FOR_WINNING_THE_GAME = 1 REWARD_FOR_LOSSING_THE_GAME = -1 REWARDS_FOR_HAVING_NO_LEGAL_ACTIONS = -100 REWARD_FOR_OPPONENT_HAVING_NO_LEGAL_ACTIONS = 0
38.75
47
0.890323
27
155
4.407407
0.555556
0.226891
0.134454
0.336134
0
0
0
0
0
0
0
0.041667
0.070968
155
4
47
38.75
0.784722
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
141fb396c5cc796123182a6907f3083620c6c9db
109
py
Python
Light Weight Frame Work 0.0.1/varConveter.py
zacharymetz/lightweight-python-server
a1d91617592ab0cd39857b6227df2918e15ef51b
[ "MIT" ]
null
null
null
Light Weight Frame Work 0.0.1/varConveter.py
zacharymetz/lightweight-python-server
a1d91617592ab0cd39857b6227df2918e15ef51b
[ "MIT" ]
null
null
null
Light Weight Frame Work 0.0.1/varConveter.py
zacharymetz/lightweight-python-server
a1d91617592ab0cd39857b6227df2918e15ef51b
[ "MIT" ]
null
null
null
#Python file that will convert a a variable from an action into something a page #can use to render itself
36.333333
81
0.779817
20
109
4.25
0.9
0
0
0
0
0
0
0
0
0
0
0
0.201835
109
2
82
54.5
0.977011
0.944954
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
1420f92fce7ddb839b9bdd6f47e62b0c1b4e0e2b
80
py
Python
nxted/files/test1.py
xlcteam/nxtIDE
659ace68b060682aeeb6d789d88a7b6899a56f9a
[ "MIT" ]
8
2015-02-16T23:11:30.000Z
2021-01-16T00:15:25.000Z
nxted/files/test1.py
xlcteam/nxtIDE
659ace68b060682aeeb6d789d88a7b6899a56f9a
[ "MIT" ]
3
2016-07-16T20:47:48.000Z
2021-03-25T21:27:11.000Z
nxted/files/test1.py
xlcteam/nxtIDE
659ace68b060682aeeb6d789d88a7b6899a56f9a
[ "MIT" ]
3
2015-08-30T18:23:51.000Z
2016-10-28T15:07:59.000Z
def main(): OnFwd(OUT_AB, 80) TextOut(0, LCD_LINE1, 20) Wait(2000)
13.333333
29
0.5875
13
80
3.461538
1
0
0
0
0
0
0
0
0
0
0
0.169492
0.2625
80
5
30
16
0.59322
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
true
0
0
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
0
0
0
4
143d5721122cfc938d02806438b3146ed4c97daa
76
py
Python
cpu.py
TRetraint/BAMMsat_Camera
67be93c4006b692f6bcbeb108e00b99574cb3980
[ "Apache-2.0" ]
null
null
null
cpu.py
TRetraint/BAMMsat_Camera
67be93c4006b692f6bcbeb108e00b99574cb3980
[ "Apache-2.0" ]
null
null
null
cpu.py
TRetraint/BAMMsat_Camera
67be93c4006b692f6bcbeb108e00b99574cb3980
[ "Apache-2.0" ]
null
null
null
from gpiozero import CPUTemperature while True: print(CPUTemperature())
19
35
0.789474
8
76
7.5
0.875
0
0
0
0
0
0
0
0
0
0
0
0.144737
76
4
36
19
0.923077
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
1458ea6d2d879c50bf7c1481acee64d0a13035ac
865
py
Python
howfairis/requesting/get_from_github_with_auth.py
cffbots/howfairis
008552b7266e229bd38553631d7dfe3554df18b2
[ "Apache-2.0" ]
27
2020-09-10T10:04:56.000Z
2022-02-07T23:24:13.000Z
howfairis/requesting/get_from_github_with_auth.py
cffbots/howfairis
008552b7266e229bd38553631d7dfe3554df18b2
[ "Apache-2.0" ]
297
2020-09-07T14:10:08.000Z
2022-02-18T09:46:30.000Z
howfairis/requesting/get_from_github_with_auth.py
cffbots/howfairis
008552b7266e229bd38553631d7dfe3554df18b2
[ "Apache-2.0" ]
6
2020-09-10T12:58:37.000Z
2022-03-11T10:17:21.000Z
from backoff import expo from backoff import on_exception from ratelimit import RateLimitException from ratelimit import limits from .get_from_github_with_auth_api import get_from_github_with_auth_api from .get_from_github_with_auth_frontend import get_from_github_with_auth_frontend from .get_from_github_with_auth_raw ...
34.6
82
0.798844
131
865
4.847328
0.29771
0.110236
0.204724
0.267717
0.532283
0.43937
0
0
0
0
0
0.011968
0.130636
865
24
83
36.041667
0.832447
0.060116
0
0
0
0
0.017413
0
0
0
0
0
0
1
0.058824
false
0
0.411765
0
0.647059
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
1460247e11e18ab223719a4d775fd8df090ed6e7
54
py
Python
kbsbot/channel_handler/views/__init__.py
astandre/cb-channel-handler-ms
54159554d16529f1c77d4923b258f8fe41d397ed
[ "MIT" ]
null
null
null
kbsbot/channel_handler/views/__init__.py
astandre/cb-channel-handler-ms
54159554d16529f1c77d4923b258f8fe41d397ed
[ "MIT" ]
null
null
null
kbsbot/channel_handler/views/__init__.py
astandre/cb-channel-handler-ms
54159554d16529f1c77d4923b258f8fe41d397ed
[ "MIT" ]
null
null
null
from .handler import handler blueprints = [handler]
10.8
28
0.759259
6
54
6.833333
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.166667
54
4
29
13.5
0.911111
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
1
0
4
148315a4eeedd50f6d8d58e16519351ee3e028ac
93
py
Python
principal/apps.py
dkwelffer/rocbook
87c92f26e8bd2139cc57d11f65c3fb82ebbc5223
[ "Apache-2.0" ]
7
2021-05-21T00:23:40.000Z
2021-12-09T12:35:00.000Z
principal/apps.py
dkwelffer/rocbook
87c92f26e8bd2139cc57d11f65c3fb82ebbc5223
[ "Apache-2.0" ]
93
2019-04-05T12:15:34.000Z
2022-03-11T23:47:11.000Z
principal/apps.py
dkwelffer/rocbook
87c92f26e8bd2139cc57d11f65c3fb82ebbc5223
[ "Apache-2.0" ]
7
2021-08-03T22:28:36.000Z
2022-03-13T20:08:40.000Z
from django.apps import AppConfig class PrincipalConfig(AppConfig): name = 'principal'
15.5
33
0.763441
10
93
7.1
0.9
0
0
0
0
0
0
0
0
0
0
0
0.16129
93
5
34
18.6
0.910256
0
0
0
0
0
0.096774
0
0
0
0
0
0
1
0
false
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
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
148ed7984b9e6b7a2a677a75107305b77bbc32a2
646
py
Python
flexmeasures/api/common/routes.py
FlexMeasures/flexmeasures
a4367976d37ac5721b8eb3ce8a2414595e52c678
[ "Apache-2.0" ]
12
2021-12-18T10:41:10.000Z
2022-03-29T23:00:29.000Z
flexmeasures/api/common/routes.py
FlexMeasures/flexmeasures
a4367976d37ac5721b8eb3ce8a2414595e52c678
[ "Apache-2.0" ]
103
2021-12-07T08:51:15.000Z
2022-03-31T13:28:48.000Z
flexmeasures/api/common/routes.py
FlexMeasures/flexmeasures
a4367976d37ac5721b8eb3ce8a2414595e52c678
[ "Apache-2.0" ]
3
2022-01-18T04:45:48.000Z
2022-03-14T09:48:22.000Z
from flask_security import auth_token_required from flexmeasures.auth.decorators import roles_required from flexmeasures.api.common import flexmeasures_api as flexmeasures_api_ops from flexmeasures.api.common import implementations as ops_impl @flexmeasures_api_ops.route("/ping", methods=["GET"]) def get_ping(): ...
28.086957
76
0.80031
89
646
5.483146
0.314607
0.215164
0.147541
0.141393
0.209016
0
0
0
0
0
0
0
0.091331
646
22
77
29.363636
0.831346
0
0
0
0
0
0.094427
0
0
0
0
0
0
1
0.2
true
0
0.266667
0.2
0.666667
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
1
1
0
0
4
14ae7083f0106873d025c5f817e32f8dddc1d56b
344
py
Python
Chapter 03/own.py
Wenzurk-Ma/Python-Crash-Course
25bb81af95e16f08c849da5f1161658839b85f61
[ "Apache-2.0" ]
null
null
null
Chapter 03/own.py
Wenzurk-Ma/Python-Crash-Course
25bb81af95e16f08c849da5f1161658839b85f61
[ "Apache-2.0" ]
null
null
null
Chapter 03/own.py
Wenzurk-Ma/Python-Crash-Course
25bb81af95e16f08c849da5f1161658839b85f61
[ "Apache-2.0" ]
null
null
null
# Title : TODO # Objective : TODO # Created by: Wenzurk # Created on: 2018/2/3 transportation = ['bicycle', 'motorcycle', 'car', 'airplane'] message = 'I would like to own a ' print(message + transportation[0] + ".") print(message + transportation[1] + ".") print(message + transportation[2] + ".") print(message + ...
31.272727
61
0.656977
40
344
5.65
0.625
0.212389
0.460177
0
0
0
0
0
0
0
0
0.034602
0.159884
344
11
62
31.272727
0.747405
0.215116
0
0
0
0
0.203008
0
0
0
0
0.090909
0
1
0
false
0
0
0
0
0.666667
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
1
0
4
1adc84406238ca640ad1071e2e1cb2d63ee24d3b
114
py
Python
build/lib/py_idt/__init__.py
conorcamplisson/py_idt
fbaf8b5985afaf07de9d016d280bdb1575303b94
[ "MIT" ]
1
2019-05-04T11:31:16.000Z
2019-05-04T11:31:16.000Z
py_idt/__init__.py
conorcamplisson/py_idt
fbaf8b5985afaf07de9d016d280bdb1575303b94
[ "MIT" ]
null
null
null
py_idt/__init__.py
conorcamplisson/py_idt
fbaf8b5985afaf07de9d016d280bdb1575303b94
[ "MIT" ]
null
null
null
# configure module name = "py_idt" # configure imports from .idt_order import IDTOrder from .oligo import Oligo
14.25
31
0.77193
16
114
5.375
0.6875
0
0
0
0
0
0
0
0
0
0
0
0.166667
114
7
32
16.285714
0.905263
0.298246
0
0
0
0
0.078947
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
1ae053c8c14e80086dacbf00d92eb8767ba29269
50
py
Python
spatialtis/utils/error.py
Mr-Milk/SpatialTis
bcdc6df5213b8b256cbe4c9a7c0f3b5e6d3c56b6
[ "Apache-2.0" ]
10
2020-07-14T13:27:35.000Z
2021-11-24T21:41:30.000Z
spatialtis/utils/error.py
Mr-Milk/SpatialTis
bcdc6df5213b8b256cbe4c9a7c0f3b5e6d3c56b6
[ "Apache-2.0" ]
21
2021-01-10T09:39:25.000Z
2022-03-12T01:04:52.000Z
spatialtis/utils/error.py
Mr-Milk/SpatialTis
bcdc6df5213b8b256cbe4c9a7c0f3b5e6d3c56b6
[ "Apache-2.0" ]
null
null
null
class NeighborsNotFoundError(Exception): pass
16.666667
40
0.8
4
50
10
1
0
0
0
0
0
0
0
0
0
0
0
0.14
50
2
41
25
0.930233
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
4
1ae1d59f7203f8139ec1d364d46206d021b1d87e
384
py
Python
modules/ldapmaster.py
dhtech/puppet-modules
a5ddcdc6a01d87052043f075f417e692a26883a8
[ "BSD-3-Clause" ]
3
2018-10-23T21:14:01.000Z
2018-11-28T08:55:12.000Z
modules/ldapmaster.py
dhtech/puppet-modules
a5ddcdc6a01d87052043f075f417e692a26883a8
[ "BSD-3-Clause" ]
125
2018-10-26T08:35:52.000Z
2021-11-28T13:18:48.000Z
modules/ldapmaster.py
dhtech/puppet-modules
a5ddcdc6a01d87052043f075f417e692a26883a8
[ "BSD-3-Clause" ]
2
2021-11-18T19:09:49.000Z
2021-11-26T12:56:19.000Z
# Copyright 2018 dhtech # # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file import lib def generate(host, *args): # The LDAP master is not really handled by puppet, but let puppet handle # the part required for sync monitoring. return {'ldapsyncprober': {...
27.428571
76
0.710938
61
384
4.459016
0.868852
0
0
0
0
0
0
0
0
0
0
0.029316
0.200521
384
13
77
29.538462
0.856678
0.682292
0
0
1
0
0.280702
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
1
1
0
0
0
4
1af3310f239c3ba2b6c4d90f577af09125b95621
1,598
py
Python
finance/models.py
jimmysyss/cookiecutter
945cb4c24b8e1dddded3de98013a6288d5ee056b
[ "MIT" ]
null
null
null
finance/models.py
jimmysyss/cookiecutter
945cb4c24b8e1dddded3de98013a6288d5ee056b
[ "MIT" ]
null
null
null
finance/models.py
jimmysyss/cookiecutter
945cb4c24b8e1dddded3de98013a6288d5ee056b
[ "MIT" ]
null
null
null
from django.contrib.postgres.fields import ArrayField, JSONField, IntegerRangeField from django.db import models # Create your models here. class BaseModel(models.Model): created_date = models.DateTimeField(auto_now_add=True) created_by = models.CharField(max_length=50, editable=False) modified_date = mod...
23.15942
83
0.733417
199
1,598
5.698492
0.346734
0.15873
0.190476
0.253968
0.489418
0.364198
0.270723
0.20194
0.12963
0
0
0.018954
0.174593
1,598
68
84
23.5
0.840788
0.015019
0
0.418605
0
0
0.006361
0
0
0
0
0
0
1
0.046512
false
0.162791
0.046512
0.046512
0.790698
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
4
214e4e77ae4841c827038c1d53fff4859f6bbd99
787
py
Python
pynYNAB/exceptions.py
rienafairefr/pynYNAB
d5fc0749618409c6bb01cc2b93832cc59d780eaa
[ "MIT" ]
82
2017-02-21T11:07:24.000Z
2022-03-20T21:56:17.000Z
pynYNAB/exceptions.py
rienafairefr/pynYNAB
d5fc0749618409c6bb01cc2b93832cc59d780eaa
[ "MIT" ]
37
2017-02-19T10:28:03.000Z
2021-01-23T07:44:06.000Z
pynYNAB/exceptions.py
rienafairefr/pynYNAB
d5fc0749618409c6bb01cc2b93832cc59d780eaa
[ "MIT" ]
13
2017-03-07T10:08:59.000Z
2018-05-11T04:53:25.000Z
class BudgetNotFound(Exception): pass class WrongPushException(Exception): def __init__(self, expected_delta, delta): self.expected_delta = expected_delta self.delta = delta string = 'tried to push a changed_entities with %d entities while we expected %d entities' @property def m...
28.107143
121
0.717916
93
787
5.752688
0.44086
0.097196
0.061682
0.082243
0.078505
0
0
0
0
0
0
0
0.199492
787
27
122
29.148148
0.849206
0
0
0.111111
0
0
0.19695
0
0
0
0
0
0
1
0.277778
false
0.166667
0
0.111111
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
4
216b63a41fb430474c5ffbc7b9e0ab2c1043d64a
237
py
Python
munimap/views/__init__.py
MrSnyder/bielefeldGEOCLIENT
17c78b43fc2055d23a1bc4b5091da164756bf767
[ "Apache-2.0" ]
2
2022-02-07T13:20:45.000Z
2022-02-14T21:40:06.000Z
munimap/views/__init__.py
MrSnyder/bielefeldGEOCLIENT
17c78b43fc2055d23a1bc4b5091da164756bf767
[ "Apache-2.0" ]
4
2021-06-17T07:53:53.000Z
2021-12-17T10:55:48.000Z
munimap/views/__init__.py
MrSnyder/bielefeldGEOCLIENT
17c78b43fc2055d23a1bc4b5091da164756bf767
[ "Apache-2.0" ]
2
2021-06-01T09:41:55.000Z
2022-02-14T17:33:33.000Z
from .munimap import munimap from .frontend import frontend from .vector import vector from .export import export from .user import user from .user_settings import * from .admin import admin from .api import api from .alkis import alkis
23.7
30
0.805907
36
237
5.277778
0.305556
0.084211
0
0
0
0
0
0
0
0
0
0
0.151899
237
9
31
26.333333
0.945274
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
4
dcdb48eb2411b8ac10f5ac87ee7d28275c3c91ff
173
py
Python
procolab/landing/views.py
ankitsainidev/pro-colab
ddca0b235e73ecb209d252ec826155491c4bdbf0
[ "MIT" ]
null
null
null
procolab/landing/views.py
ankitsainidev/pro-colab
ddca0b235e73ecb209d252ec826155491c4bdbf0
[ "MIT" ]
null
null
null
procolab/landing/views.py
ankitsainidev/pro-colab
ddca0b235e73ecb209d252ec826155491c4bdbf0
[ "MIT" ]
null
null
null
from django.shortcuts import render from django.views.generic import TemplateView # Create your views here. class LandingPage(TemplateView): template_name='landing.html'
34.6
45
0.820809
22
173
6.409091
0.772727
0.141844
0
0
0
0
0
0
0
0
0
0
0.109827
173
5
46
34.6
0.915584
0.132948
0
0
0
0
0.080537
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
0d3a518fcafdccafc5ea07381a97d67b3f28262c
1,204
py
Python
scripts/database/connection.py
AnneL1202/Trend_Analysis
cae00583ec0d2cf743a6786599aa06971b3b8cca
[ "MIT" ]
2
2018-01-23T10:07:28.000Z
2018-06-18T16:18:08.000Z
scripts/database/connection.py
AnneL1202/Trend_Analysis
cae00583ec0d2cf743a6786599aa06971b3b8cca
[ "MIT" ]
1
2018-06-06T08:27:47.000Z
2018-06-06T08:27:47.000Z
scripts/database/connection.py
ALuesink/Trend_Analysis
cae00583ec0d2cf743a6786599aa06971b3b8cca
[ "MIT" ]
1
2018-01-30T15:01:53.000Z
2018-01-30T15:01:53.000Z
# -*- coding: utf-8 -*- """Make database connection and set Table objects""" from sqlalchemy import create_engine, Table, MetaData import config metadata = MetaData() def engine(): engine = create_engine('mysql+pymysql://{username}:{password}@{host}/{database}'.format( username=config.MySQL_DB['username...
28
95
0.727575
152
1,204
5.526316
0.25
0.065476
0.119048
0.166667
0.283333
0.283333
0.283333
0.230952
0
0
0
0.000984
0.156146
1,204
42
96
28.666667
0.825787
0.057309
0
0
0
0
0.122232
0.048716
0
0
0
0
0
1
0.230769
false
0.076923
0.076923
0
0.538462
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
4
0d3b7d73b77fa0f80f699eb0e2d1d76ff3a62027
183
py
Python
tests/test_integration.py
simonrankine/cifter
06464699ee55bc03abda64748cbe627b2c541be7
[ "Apache-2.0" ]
null
null
null
tests/test_integration.py
simonrankine/cifter
06464699ee55bc03abda64748cbe627b2c541be7
[ "Apache-2.0" ]
null
null
null
tests/test_integration.py
simonrankine/cifter
06464699ee55bc03abda64748cbe627b2c541be7
[ "Apache-2.0" ]
null
null
null
from unittest import TestCase from cifter import parse_file class TestIntegration(TestCase): def test_from_file(self): document = parse_file("tests/data/ttisf760.mca")
20.333333
56
0.759563
24
183
5.625
0.708333
0.133333
0
0
0
0
0
0
0
0
0
0.019608
0.163934
183
8
57
22.875
0.862745
0
0
0
0
0
0.125683
0.125683
0
0
0
0
0
1
0.2
false
0
0.4
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
0d4b088227d62550e52b8393980bb036afc84ebb
134
py
Python
src/your_project/__main__.py
eblume/python_template
830f00111c56ea13399ad2904bf9c70051981a37
[ "MIT" ]
null
null
null
src/your_project/__main__.py
eblume/python_template
830f00111c56ea13399ad2904bf9c70051981a37
[ "MIT" ]
null
null
null
src/your_project/__main__.py
eblume/python_template
830f00111c56ea13399ad2904bf9c70051981a37
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from .cli import cli if __name__ == "__main__": # It always SHOULD be, but let's check anyway. cli()
19.142857
50
0.604478
20
134
3.65
0.9
0
0
0
0
0
0
0
0
0
0
0.009804
0.238806
134
6
51
22.333333
0.705882
0.492537
0
0
0
0
0.123077
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
b49a7ac1c200f24bc002cae83c7853d77be3f09f
570
py
Python
toga/platform/cocoa/widgets/__init__.py
r1chardj0n3s/toga
76a8aa44854cac31c7c29d96a2717a711411cde0
[ "BSD-3-Clause" ]
null
null
null
toga/platform/cocoa/widgets/__init__.py
r1chardj0n3s/toga
76a8aa44854cac31c7c29d96a2717a711411cde0
[ "BSD-3-Clause" ]
null
null
null
toga/platform/cocoa/widgets/__init__.py
r1chardj0n3s/toga
76a8aa44854cac31c7c29d96a2717a711411cde0
[ "BSD-3-Clause" ]
null
null
null
from __future__ import print_function, absolute_import, division from .button import Button from .container import Container from .icon import * from .label import Label from .dialog import Dialog from .multilinetextinput import MultilineTextInput from .optioncontainer import OptionContainer from .passwordinput import...
31.666667
64
0.850877
67
570
7.149254
0.328358
0
0
0
0
0
0
0
0
0
0
0
0.117544
570
17
65
33.529412
0.952286
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.0625
1
0
1
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
4
b49f09ce743aa32ae18bd97bea40cdf26336ad83
206
py
Python
tictactoe/constants/TicTacToeConstants.py
Jabuf/ml-tictactoe
431fb3dc9dafc4a60a43ab73bcafcda52e34751b
[ "MIT" ]
null
null
null
tictactoe/constants/TicTacToeConstants.py
Jabuf/ml-tictactoe
431fb3dc9dafc4a60a43ab73bcafcda52e34751b
[ "MIT" ]
null
null
null
tictactoe/constants/TicTacToeConstants.py
Jabuf/ml-tictactoe
431fb3dc9dafc4a60a43ab73bcafcda52e34751b
[ "MIT" ]
null
null
null
# game states IN_PROGRESS = 0 PLAYER1 = 1 PLAYER2 = 2 DRAW = 3 GAME_STATES = {"IN_PROGRESS": IN_PROGRESS, "PLAYER1": PLAYER1, "PLAYER2": PLAYER2, "DRAW": DRAW}
18.727273
42
0.543689
23
206
4.695652
0.478261
0.277778
0.222222
0.37037
0
0
0
0
0
0
0
0.074074
0.34466
206
10
43
20.6
0.725926
0.053398
0
0
0
0
0.150259
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
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
4
b4a24b109df379d72b4def4911c8505e10d9a6f5
12,761
bzl
Python
thirdparty/maven.bzl
janakdr/tools_jvm_autodeps
62694dd50b91955fdfe67d0c0583fd25d78e5389
[ "Apache-2.0" ]
26
2019-02-02T08:55:30.000Z
2022-03-17T05:15:31.000Z
thirdparty/maven.bzl
janakdr/tools_jvm_autodeps
62694dd50b91955fdfe67d0c0583fd25d78e5389
[ "Apache-2.0" ]
25
2018-04-01T00:12:42.000Z
2018-10-31T10:51:02.000Z
thirdparty/maven.bzl
janakdr/tools_jvm_autodeps
62694dd50b91955fdfe67d0c0583fd25d78e5389
[ "Apache-2.0" ]
6
2018-03-31T23:49:42.000Z
2019-01-07T16:09:59.000Z
# Do not edit. bazel-deps autogenerates this file from maven_deps.yaml. def declare_maven(hash): native.maven_jar( name = hash["name"], artifact = hash["artifact"], sha1 = hash["sha1"], repository = hash["repository"] ) native.bind( name = hash["bind"], actua...
196.323077
391
0.730899
1,616
12,761
5.585396
0.090965
0.047862
0.058498
0.098382
0.642699
0.51396
0.35708
0.290273
0.23809
0.209617
0
0.104733
0.066217
12,761
64
392
199.390625
0.652736
0.058146
0
0
1
0.020408
0.756102
0.482216
0
0
0
0
0
1
0.040816
false
0
0
0
0.040816
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
b4ac3bf8b53baa0cb6c70ea91162da3501084ed5
320
py
Python
layerserver/api/__init__.py
aroiginfraplan/giscube-admin
b7f3131b0186f847f3902df97f982cb288b16a49
[ "BSD-3-Clause" ]
5
2018-06-07T12:54:35.000Z
2022-01-14T10:38:38.000Z
layerserver/api/__init__.py
aroiginfraplan/giscube-admin
b7f3131b0186f847f3902df97f982cb288b16a49
[ "BSD-3-Clause" ]
140
2018-06-18T10:27:28.000Z
2022-03-23T09:53:15.000Z
layerserver/api/__init__.py
aroiginfraplan/giscube-admin
b7f3131b0186f847f3902df97f982cb288b16a49
[ "BSD-3-Clause" ]
1
2021-04-13T11:20:54.000Z
2021-04-13T11:20:54.000Z
from .dblayer import DBLayerDetailViewSet, DBLayerViewSet from .dblayer_content import DBLayerContentBulkViewSet, DBLayerContentViewSet from .geojson import GeoJSONLayerViewSet __all__ = ['DBLayerDetailViewSet', 'DBLayerViewSet', 'DBLayerContentBulkViewSet', 'DBLayerContentViewSet', 'GeoJSONLayerViewSet']
40
106
0.825
21
320
12.333333
0.52381
0.084942
0
0
0
0
0
0
0
0
0
0
0.10625
320
7
107
45.714286
0.905594
0
0
0
0
0
0.309375
0.14375
0
0
0
0
0
1
0
false
0
0.6
0
0.6
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
b4c9612b37ac8ac5e26379f9a41d4f3df1ca0156
326
py
Python
rec_tool/losses.py
Ilyushin/rec-tool
f9e3338ee19f93c5dee483feb5301958591abf80
[ "MIT" ]
1
2020-06-01T06:09:29.000Z
2020-06-01T06:09:29.000Z
rec_tool/losses.py
Ilyushin/rec-tool
f9e3338ee19f93c5dee483feb5301958591abf80
[ "MIT" ]
3
2020-05-17T04:23:37.000Z
2020-06-06T16:24:05.000Z
rec_tool/losses.py
Ilyushin/rec-tool
f9e3338ee19f93c5dee483feb5301958591abf80
[ "MIT" ]
2
2020-04-26T18:46:03.000Z
2020-04-29T09:37:05.000Z
""" Loss functions """ import tensorflow as tf def sparse_categorical_crossentropy(): """ :return: """ return tf.keras.losses.SparseCategoricalCrossentropy( reduction="sum", from_logits=True ) def mean_squared_error(): """ :return: """ return tf.keras.losses.MeanSquaredEr...
15.52381
57
0.644172
31
326
6.612903
0.741935
0.117073
0.136585
0.185366
0.243902
0
0
0
0
0
0
0
0.223926
326
20
58
16.3
0.810277
0.09816
0
0
0
0
0.011719
0
0
0
0
0
0
1
0.285714
true
0
0.142857
0
0.714286
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
1
0
0
4
b4ede2ea4a9feafb6fa95494d7f1d6523a3522de
65
py
Python
data/__init__.py
rajeswar18/pix2scene
e1e4a8d9a2ab51c2108a4d167bc37fab101f0c2c
[ "MIT" ]
26
2019-05-16T05:19:55.000Z
2021-06-03T14:09:45.000Z
data/__init__.py
rajeswar18/pix2scene
e1e4a8d9a2ab51c2108a4d167bc37fab101f0c2c
[ "MIT" ]
1
2020-08-31T07:54:27.000Z
2020-09-02T10:19:10.000Z
data/__init__.py
rajeswar18/pix2scene
e1e4a8d9a2ab51c2108a4d167bc37fab101f0c2c
[ "MIT" ]
5
2019-05-16T05:36:13.000Z
2021-04-21T11:26:34.000Z
import os DIR_DATA = os.path.abspath(os.path.dirname(__file__))
16.25
53
0.769231
11
65
4.090909
0.727273
0.266667
0
0
0
0
0
0
0
0
0
0
0.092308
65
3
54
21.666667
0.762712
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
b4f23f7dbaa1e566ad7ae326d0f9b66e305d0c24
120
py
Python
pkgs/dynd-python-0.7.2-py27_0/lib/python2.7/site-packages/dynd/tests/__init__.py
wangyum/anaconda
6e5a0dbead3327661d73a61e85414cf92aa52be6
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
pkgs/dynd-python-0.7.2-py27_0/lib/python2.7/site-packages/dynd/tests/__init__.py
wangyum/anaconda
6e5a0dbead3327661d73a61e85414cf92aa52be6
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
pkgs/dynd-python-0.7.2-py27_0/lib/python2.7/site-packages/dynd/tests/__init__.py
wangyum/anaconda
6e5a0dbead3327661d73a61e85414cf92aa52be6
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
def get_tst_module(m): l = dict(locals()) exec('from . import %s as tst' % m, globals(), l) return l['tst']
24
53
0.566667
20
120
3.3
0.75
0
0
0
0
0
0
0
0
0
0
0
0.241667
120
4
54
30
0.725275
0
0
0
0
0
0.216667
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
370ff28612ad8c1d7a775ca4b2e20b125c088090
218
py
Python
logs/admin.py
foschieraanderson/central-de-erros
aff3f744f6e69ff26611fd25b6b3b438158468d3
[ "MIT" ]
null
null
null
logs/admin.py
foschieraanderson/central-de-erros
aff3f744f6e69ff26611fd25b6b3b438158468d3
[ "MIT" ]
null
null
null
logs/admin.py
foschieraanderson/central-de-erros
aff3f744f6e69ff26611fd25b6b3b438158468d3
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Log class LogAdmin(admin.ModelAdmin): list_display = ['title', 'description', 'level', 'origin', 'created_at', 'archived'] admin.site.register(Log, LogAdmin)
24.222222
88
0.733945
27
218
5.851852
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.123853
218
8
89
27.25
0.827225
0
0
0
0
0
0.206422
0
0
0
0
0
0
1
0
false
0
0.4
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
3712d38029b5549e9acf97654cf4c2689510dff8
947
py
Python
DailyProgrammer/DP20140414A.py
DayGitH/Python-Challenges
bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf
[ "MIT" ]
2
2020-12-23T18:59:22.000Z
2021-04-14T13:16:09.000Z
DailyProgrammer/DP20140414A.py
DayGitH/Python-Challenges
bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf
[ "MIT" ]
null
null
null
DailyProgrammer/DP20140414A.py
DayGitH/Python-Challenges
bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf
[ "MIT" ]
null
null
null
""" [4/14/2014] Challenge #158 [Easy] The Torn Number https://www.reddit.com/r/dailyprogrammer/comments/230m05/4142014_challenge_158_easy_the_torn_number/ #Description: I had the other day in my possession a label bearing the number 3 0 2 5 in large figures. This got accidentally torn in half, so that 3 0 was on one ...
37.88
119
0.755016
174
947
4.028736
0.603448
0.042796
0.045649
0.054208
0.082739
0.082739
0
0
0
0
0
0.066234
0.186906
947
24
120
39.458333
0.844156
0.92397
0
0
0
0
0.125
0
0
0
0
0
0
1
0.25
true
0.25
0
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
1
1
0
0
0
0
0
4
371e1e305a2f3c7a05bb008312999dfaf2db825d
1,337
py
Python
tests/utils/test_uri_components_converter.py
cbefus/Eynnyd
1b25281af98c1360794806db21f52ddbe0bd2cad
[ "MIT" ]
3
2019-08-24T19:01:52.000Z
2020-01-21T00:39:07.000Z
tests/utils/test_uri_components_converter.py
cbefus/Eynnyd
1b25281af98c1360794806db21f52ddbe0bd2cad
[ "MIT" ]
null
null
null
tests/utils/test_uri_components_converter.py
cbefus/Eynnyd
1b25281af98c1360794806db21f52ddbe0bd2cad
[ "MIT" ]
null
null
null
import unittest from eynnyd.internal.utils.uri_components_converter import URIComponentsConverter from eynnyd.exceptions import InvalidURIException class TestURIComponentsConverter(unittest.TestCase): def test_empty_path_raises(self): with self.assertRaises(InvalidURIException): URIComponent...
39.323529
95
0.758414
138
1,337
7.028986
0.326087
0.214433
0.209278
0.164948
0.482474
0.434021
0.387629
0.387629
0.268041
0.187629
0
0.004413
0.15258
1,337
33
96
40.515152
0.851721
0
0
0.130435
0
0
0.047156
0
0
0
0
0
0.26087
1
0.26087
false
0
0.130435
0
0.434783
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
372f0eb12a81998f6ca0d7410aa27ac6b22de5eb
127
py
Python
content/Coverage Criteria/code-snippets-2-fytd/test_impl_with_examples.py
rvprasad/software-testing-course
3803851dcf9f7bbd0f0b89fca6c9c5e3a48f22e0
[ "CC-BY-4.0" ]
11
2018-02-08T05:23:28.000Z
2021-05-24T13:23:56.000Z
content/Coverage Criteria/code-snippets-2-fytd/test_impl_with_examples.py
rvprasad/software-testing-course
3803851dcf9f7bbd0f0b89fca6c9c5e3a48f22e0
[ "CC-BY-4.0" ]
null
null
null
content/Coverage Criteria/code-snippets-2-fytd/test_impl_with_examples.py
rvprasad/software-testing-course
3803851dcf9f7bbd0f0b89fca6c9c5e3a48f22e0
[ "CC-BY-4.0" ]
2
2020-09-15T08:51:22.000Z
2021-01-26T12:07:18.000Z
#py.test --cov-report=term --cov=. --cov-config=coverage.rc --cov-fail-under=100 from impl import PhysicalInfo import pytest
21.166667
80
0.740157
20
127
4.7
0.8
0
0
0
0
0
0
0
0
0
0
0.026316
0.102362
127
5
81
25.4
0.798246
0.622047
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
3730f3350a9932200994744f7d97708538060185
150
py
Python
Desafios/Desafio 4.py
VictorFBX/Python
cf2c5fcb86b161a25bae14eb9925af9b3852f4a5
[ "MIT" ]
null
null
null
Desafios/Desafio 4.py
VictorFBX/Python
cf2c5fcb86b161a25bae14eb9925af9b3852f4a5
[ "MIT" ]
null
null
null
Desafios/Desafio 4.py
VictorFBX/Python
cf2c5fcb86b161a25bae14eb9925af9b3852f4a5
[ "MIT" ]
null
null
null
n1 = int(input('Digite um numero:')) n2 = int(input('Digite um numero:')) soma = int(n2 + n1) print('A soma entre {} e {} vale {}'.format(n1,n2,soma))
37.5
56
0.62
26
150
3.576923
0.538462
0.172043
0.301075
0.344086
0.473118
0
0
0
0
0
0
0.046875
0.146667
150
4
56
37.5
0.679688
0
0
0
0
0
0.410596
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
2eb58802dba1affe2a694626c1eec083bb66f219
636
py
Python
src/tests/test_displays.py
gsornsen/gtk-hue-sync
cbe3ed470ca06691f126ee252493e4f5d6ab81de
[ "MIT" ]
null
null
null
src/tests/test_displays.py
gsornsen/gtk-hue-sync
cbe3ed470ca06691f126ee252493e4f5d6ab81de
[ "MIT" ]
1
2020-01-22T19:20:11.000Z
2020-01-22T19:20:11.000Z
src/tests/test_displays.py
gsornsen/gtk-hue-sync
cbe3ed470ca06691f126ee252493e4f5d6ab81de
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from util.displays import Monitor def test_monitor_attributes(): monitor = Monitor() assert hasattr(monitor.geometry, 'x') assert hasattr(monitor.geometry, 'y') assert hasattr(monitor.geometry, 'height') assert hasattr(monitor.geometry, 'width') def test_context_manager()...
23.555556
46
0.665094
81
636
5.160494
0.345679
0.124402
0.191388
0.267943
0.157895
0
0
0
0
0
0
0.00616
0.234277
636
26
47
24.461538
0.852156
0.033019
0
0
0
0
0.021173
0
0
0
0
0
0.555556
1
0.166667
false
0.055556
0.055556
0
0.222222
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
1
0
0
0
0
0
4
2ee065b61eb55d9655b62c431beb52543c5f9ca9
27,977
py
Python
tests/unit/test_SkipList.py
paulross/skiplist
324b5706b1beca589612c1da496ad5c12014686d
[ "MIT" ]
32
2017-10-03T15:35:30.000Z
2022-03-07T06:46:57.000Z
tests/unit/test_SkipList.py
paulross/skiplist
324b5706b1beca589612c1da496ad5c12014686d
[ "MIT" ]
6
2017-08-18T17:06:37.000Z
2022-03-25T15:03:11.000Z
tests/unit/test_SkipList.py
paulross/skiplist
324b5706b1beca589612c1da496ad5c12014686d
[ "MIT" ]
6
2019-08-07T03:23:45.000Z
2022-01-03T09:05:56.000Z
import itertools import math import sys try: import _thread HAS_THREADING = True except ImportError: HAS_THREADING = False import pytest import orderedstructs from . import seed_tree from .compat_23 import int_type, math_nan, example_int_value, example_int_seq def test_module(): assert hasattr(or...
34.539506
113
0.567359
3,548
27,977
4.316798
0.07779
0.070514
0.078088
0.132149
0.775725
0.755746
0.728389
0.702599
0.676156
0.656242
0
0.035012
0.298638
27,977
809
114
34.5822
0.745541
0.082747
0
0.648148
0
0.013889
0.104349
0.01186
0
0
0.002975
0
0.257716
1
0.074074
false
0
0.013889
0
0.087963
0.006173
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
2c03bf84c864622eb3b76d590efe0743ce8bef8b
71
py
Python
config.py
Bobmorton-TX/RPI-MONITOR-OLED-LOGGER
ea122c894333c7c47f8d41d5b9552190a6ab7935
[ "MIT" ]
null
null
null
config.py
Bobmorton-TX/RPI-MONITOR-OLED-LOGGER
ea122c894333c7c47f8d41d5b9552190a6ab7935
[ "MIT" ]
1
2021-08-30T11:26:52.000Z
2021-08-30T12:38:04.000Z
config.py
Bobmorton-TX/RPI-MONITOR-OLED-LOGGER
ea122c894333c7c47f8d41d5b9552190a6ab7935
[ "MIT" ]
null
null
null
csvpath2 = "/home/ubuntu/scripts/OLED/HMON/RPI-OLED-LOGGER/csvtest.csv"
71
71
0.788732
11
71
5.090909
0.909091
0
0
0
0
0
0
0
0
0
0
0.014493
0.028169
71
1
71
71
0.797101
0
0
0
0
0
0.805556
0.805556
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
2c189117fe496252c56f28be09052948d8a90bff
84
py
Python
exapi/typedefs/__init__.py
astsu-dev/exapi
1ef39ccdd77e9ddb60ec6eaa16a2cc26e1ac3e12
[ "MIT" ]
null
null
null
exapi/typedefs/__init__.py
astsu-dev/exapi
1ef39ccdd77e9ddb60ec6eaa16a2cc26e1ac3e12
[ "MIT" ]
null
null
null
exapi/typedefs/__init__.py
astsu-dev/exapi
1ef39ccdd77e9ddb60ec6eaa16a2cc26e1ac3e12
[ "MIT" ]
null
null
null
"""Has type definitions for exapi.""" from typing import TypeVar T = TypeVar("T")
14
37
0.690476
12
84
4.833333
0.833333
0.275862
0
0
0
0
0
0
0
0
0
0
0.166667
84
5
38
16.8
0.828571
0.369048
0
0
0
0
0.021277
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
2c25da872d56ed76adb9127eaaf85e4c723efadb
45
py
Python
auth.py
towicode/verssa-automation
a2fe6f8f3675058b761927ee6e5a50e40fffd738
[ "Unlicense" ]
null
null
null
auth.py
towicode/verssa-automation
a2fe6f8f3675058b761927ee6e5a50e40fffd738
[ "Unlicense" ]
null
null
null
auth.py
towicode/verssa-automation
a2fe6f8f3675058b761927ee6e5a50e40fffd738
[ "Unlicense" ]
null
null
null
username = "verssa_demo" password = "fix_me"
15
24
0.733333
6
45
5.166667
1
0
0
0
0
0
0
0
0
0
0
0
0.133333
45
2
25
22.5
0.794872
0
0
0
0
0
0.377778
0
0
0
0
0
0
1
0
false
0.5
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
4
2c2c973bc2b2318fba02ecd723c3ca83030ac854
85
py
Python
pandas/dataframe-basic.py
Vishnu-Hacks/python-datascience-samples
9bcf60174ddfb73050b3cf3da7ab4e79a628a193
[ "MIT" ]
null
null
null
pandas/dataframe-basic.py
Vishnu-Hacks/python-datascience-samples
9bcf60174ddfb73050b3cf3da7ab4e79a628a193
[ "MIT" ]
null
null
null
pandas/dataframe-basic.py
Vishnu-Hacks/python-datascience-samples
9bcf60174ddfb73050b3cf3da7ab4e79a628a193
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Tue Nov 20 07:12:02 2018 @author: vishn """
10.625
35
0.564706
14
85
3.428571
1
0
0
0
0
0
0
0
0
0
0
0.19403
0.211765
85
7
36
12.142857
0.522388
0.870588
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
257d477854600da727ab8fd4cf655b6ea23c9865
172
py
Python
bitsharesbase/account.py
jhtitor/python-bitshares
926ef31f3c6a8a8d4b9fc3fe91efca5a935f64ba
[ "MIT" ]
null
null
null
bitsharesbase/account.py
jhtitor/python-bitshares
926ef31f3c6a8a8d4b9fc3fe91efca5a935f64ba
[ "MIT" ]
null
null
null
bitsharesbase/account.py
jhtitor/python-bitshares
926ef31f3c6a8a8d4b9fc3fe91efca5a935f64ba
[ "MIT" ]
1
2021-09-18T19:09:11.000Z
2021-09-18T19:09:11.000Z
from graphenebase.account import ( PasswordKey, BrainKey, Address, PublicKey, PrivateKey, Prefix ) # Redefine default prefix Prefix.prefix = "BTS"
14.333333
34
0.674419
16
172
7.25
0.8125
0.206897
0
0
0
0
0
0
0
0
0
0
0.25
172
11
35
15.636364
0.899225
0.133721
0
0
0
0
0.020408
0
0
0
0
0
0
1
0
true
0.111111
0.111111
0
0.111111
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
4
25a1519c5ef705d80cf92eac883348c98a86668d
90
py
Python
app/backend/visualization/fonts/__init__.py
admariner/social-media-profiler
2001167201fc9602fef3070ee9d31f005978bfe8
[ "MIT" ]
34
2020-12-14T15:48:26.000Z
2022-02-27T14:24:29.000Z
app/backend/visualization/fonts/__init__.py
pandrey2003/social-media-profiler
4160e318997d161d63b8233511a65669542da026
[ "MIT" ]
1
2021-12-15T02:37:32.000Z
2021-12-15T02:37:32.000Z
app/backend/visualization/fonts/__init__.py
admariner/social-media-profiler
2001167201fc9602fef3070ee9d31f005978bfe8
[ "MIT" ]
6
2021-02-11T16:29:04.000Z
2022-03-23T11:42:32.000Z
# -*- coding: utf-8 -*- """The visualization module with fonts needed for the project."""
30
65
0.666667
12
90
5
0.916667
0
0
0
0
0
0
0
0
0
0
0.013158
0.155556
90
2
66
45
0.776316
0.911111
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
25ce249ccc5a6ae51efe25d3d68f6cc9f2dcd78c
91
py
Python
mediaapp/apps.py
laxminarayannsharma/EventManagement
15b1750a73ea677d5cb491dade2df482a1efefc9
[ "MIT" ]
null
null
null
mediaapp/apps.py
laxminarayannsharma/EventManagement
15b1750a73ea677d5cb491dade2df482a1efefc9
[ "MIT" ]
null
null
null
mediaapp/apps.py
laxminarayannsharma/EventManagement
15b1750a73ea677d5cb491dade2df482a1efefc9
[ "MIT" ]
null
null
null
from django.apps import AppConfig class MediaappConfig(AppConfig): name = 'mediaapp'
15.166667
33
0.758242
10
91
6.9
0.9
0
0
0
0
0
0
0
0
0
0
0
0.164835
91
5
34
18.2
0.907895
0
0
0
0
0
0.087912
0
0
0
0
0
0
1
0
false
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
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
25daed9fd0ba26f41ec0fe28d1a6e8bde8c0c4fe
181
py
Python
src/ska_tmc_cdm/messages/mccssubarray/__init__.py
ska-telescope/cdm-shared-library
636bf1c3e8762c7e21f7b0f5d281e07b206529dc
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
src/ska_tmc_cdm/messages/mccssubarray/__init__.py
ska-telescope/cdm-shared-library
636bf1c3e8762c7e21f7b0f5d281e07b206529dc
[ "Apache-2.0", "BSD-3-Clause" ]
7
2019-07-08T18:57:36.000Z
2021-05-07T08:58:19.000Z
src/ska_tmc_cdm/messages/mccssubarray/__init__.py
ska-telescope/cdm-shared-library
636bf1c3e8762c7e21f7b0f5d281e07b206529dc
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
""" The ska_tmc_cdm.messages.mccssubarray contains code that models the structured command arguments, command responses, and attribute values for the MCCSSubarray Tango device. """
30.166667
78
0.81768
24
181
6.083333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.121547
181
5
79
36.2
0.918239
0.950276
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
25f6610b120e03b47ec8c690513cd8a2403b5184
583
py
Python
my_package/SeparableConvFlow/SeparableConvFlowModule.py
mpriessner/DAIN
105e49ee100f8f13f60ea3c310d3c44be90a9878
[ "MIT" ]
7,517
2019-03-25T01:04:47.000Z
2022-03-31T06:40:51.000Z
my_package/SeparableConvFlow/SeparableConvFlowModule.py
Julianhm9612/DAIN
e85e406947016d7db4469d880aa0d1f1f47b0f5b
[ "MIT" ]
138
2019-04-04T07:06:32.000Z
2022-03-31T18:32:07.000Z
my_package/SeparableConvFlow/SeparableConvFlowModule.py
Julianhm9612/DAIN
e85e406947016d7db4469d880aa0d1f1f47b0f5b
[ "MIT" ]
848
2019-03-25T01:05:05.000Z
2022-03-31T10:01:48.000Z
# modules/InterpolationLayer.py from torch.nn import Module from .SeparableConvFlowLayer import SeparableConvFlowLayer import torch class SeparableConvFlowModule(Module): def __init__(self,filtersize): super(SeparableConvFlowModule, self).__init__() self.f = SeparableConvFlowLayer(filtersize...
36.4375
83
0.722127
67
583
6.164179
0.626866
0.135593
0.087167
0
0
0
0
0
0
0
0
0.021322
0.19554
583
15
84
38.866667
0.859275
0.28988
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.333333
0.111111
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
4
d32aa52ca3da4814ee562fd3f27aaa2dc1418381
87
py
Python
salt/tube_rundeck/uwsgi/hello.py
prannonpendragas/simple_peertube
3853766606a9e7aafd0e154e71d94fda44e77036
[ "Apache-2.0" ]
null
null
null
salt/tube_rundeck/uwsgi/hello.py
prannonpendragas/simple_peertube
3853766606a9e7aafd0e154e71d94fda44e77036
[ "Apache-2.0" ]
null
null
null
salt/tube_rundeck/uwsgi/hello.py
prannonpendragas/simple_peertube
3853766606a9e7aafd0e154e71d94fda44e77036
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python print "Content-Type: application/json" print "" print "Hello world"
14.5
38
0.724138
12
87
5.25
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.114943
87
5
39
17.4
0.818182
0.183908
0
0
0
0
0.585714
0
0
0
0
0
0
0
null
null
0
0
null
null
1
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
4
d33847e8fce20a8cb2c0d333fd6b0ef4f419aff6
109
py
Python
test/python/LIM2Metrics/py3/base/common/Python014/Python014.py
sagodiz/SonarQube-plug-in
4f8e111baecc4c9f9eaa5cd3d7ebeb1e365ace2c
[ "BSD-4-Clause" ]
20
2015-06-16T17:39:10.000Z
2022-03-20T22:39:40.000Z
test/python/LIM2Metrics/py3/base/common/Python014/Python014.py
sagodiz/SonarQube-plug-in
4f8e111baecc4c9f9eaa5cd3d7ebeb1e365ace2c
[ "BSD-4-Clause" ]
29
2015-12-29T19:07:22.000Z
2022-03-22T10:39:02.000Z
test/python/LIM2Metrics/py3/base/common/Python014/Python014.py
sagodiz/SonarQube-plug-in
4f8e111baecc4c9f9eaa5cd3d7ebeb1e365ace2c
[ "BSD-4-Clause" ]
12
2015-08-28T01:22:18.000Z
2021-09-25T08:17:31.000Z
max= 0 a = 2 b = 3 if a < b: max= b if b < a: max= a assert (max == a or max == b) and max >= a and max >= b
15.571429
55
0.495413
28
109
1.928571
0.357143
0.222222
0
0
0
0
0
0
0
0
0
0.041096
0.330275
109
6
56
18.166667
0.69863
0
0
0
0
0
0
0
0
0
0
0
0.166667
1
0
false
0
0
0
0
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
0
0
0
0
0
0
0
4
d34c1742c90097ca8a8cc0e0fe62ffa299986ec0
259
py
Python
doctest/doctest_unpredictablt.py
all3g/pieces
bc378fd22ddc700891fe7f34ab0d5b341141e434
[ "CNRI-Python" ]
34
2016-10-31T02:05:24.000Z
2018-11-08T14:33:13.000Z
doctest/doctest_unpredictablt.py
join-us/python-programming
bc378fd22ddc700891fe7f34ab0d5b341141e434
[ "CNRI-Python" ]
2
2017-05-11T03:00:31.000Z
2017-11-01T23:37:37.000Z
doctest/doctest_unpredictablt.py
join-us/python-programming
bc378fd22ddc700891fe7f34ab0d5b341141e434
[ "CNRI-Python" ]
21
2016-08-19T09:05:45.000Z
2018-11-08T14:33:16.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- class MyClass(object): pass def unpredictable(obj): """Returns a new list containing obj. >>> unpredictable(MyClass()) <doctest_unpredictable.MyClass object at 0x10055a2d0> """ return obj
16.1875
57
0.644788
29
259
5.724138
0.758621
0.156627
0
0
0
0
0
0
0
0
0
0.044118
0.212355
259
15
58
17.266667
0.769608
0.606178
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0.25
0
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
4
d353bb5de196aeef4bbca461ca5015c166817249
242
py
Python
main/views.py
dryprojects/trivialapi
1f74169d85cc42895b529b767b7f413381e9a342
[ "MIT" ]
null
null
null
main/views.py
dryprojects/trivialapi
1f74169d85cc42895b529b767b7f413381e9a342
[ "MIT" ]
null
null
null
main/views.py
dryprojects/trivialapi
1f74169d85cc42895b529b767b7f413381e9a342
[ "MIT" ]
null
null
null
from rest_framework import viewsets from main import models, serializers class ZjjXaGovPreWoned(viewsets.ReadOnlyModelViewSet): queryset = models.PreOwnedItem.objects.all() serializer_class = serializers.ZjjXaGovPreOwnedSerializer
26.888889
61
0.830579
23
242
8.652174
0.73913
0
0
0
0
0
0
0
0
0
0
0
0.115702
242
8
62
30.25
0.929907
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
d37d637c89ef786877bd9c10e119711b27f66b26
803
py
Python
fibonacci_test.py
alpatine/project-euler-python
d731d2deebff4bfb812811921f56da7b984652c0
[ "MIT" ]
null
null
null
fibonacci_test.py
alpatine/project-euler-python
d731d2deebff4bfb812811921f56da7b984652c0
[ "MIT" ]
null
null
null
fibonacci_test.py
alpatine/project-euler-python
d731d2deebff4bfb812811921f56da7b984652c0
[ "MIT" ]
null
null
null
from unittest import TestCase from fibonacci import fibonacci, largest_fib_index_with_n_digits class Fibonacci_Test(TestCase): def test_fibonacci_0(self): self.assertEqual(list(fibonacci(0)), []) def test_fibonacci_1(self): self.assertEqual(list(fibonacci(1)), []) def test_fibonac...
32.12
64
0.699875
115
803
4.556522
0.234783
0.093511
0.253817
0.181298
0.601145
0.35687
0.257634
0.257634
0.257634
0
0
0.041411
0.188045
803
25
65
32.12
0.76227
0
0
0
0
0
0
0
0
0
0
0
0.388889
1
0.388889
false
0
0.111111
0
0.611111
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
d38172ede8070a93637b6be7a1fdac7241020edc
100
py
Python
src/mailing_lists/apps.py
earth-emoji/love
3617bd47c396803c411e136b3e1de87c18e03890
[ "BSD-2-Clause" ]
null
null
null
src/mailing_lists/apps.py
earth-emoji/love
3617bd47c396803c411e136b3e1de87c18e03890
[ "BSD-2-Clause" ]
7
2021-03-19T10:46:09.000Z
2022-03-12T00:28:55.000Z
src/mailing_lists/apps.py
earth-emoji/love
3617bd47c396803c411e136b3e1de87c18e03890
[ "BSD-2-Clause" ]
null
null
null
from django.apps import AppConfig class MailingListsConfig(AppConfig): name = 'mailing_lists'
16.666667
36
0.78
11
100
7
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.15
100
5
37
20
0.905882
0
0
0
0
0
0.13
0
0
0
0
0
0
1
0
false
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
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
d3923754b13c6e0df7a535d73033c60f5fb2737c
244
py
Python
spacy/matcher/__init__.py
ivigamberdiev/spaCy
24cecdb44fe7349f7382dddeeb6ce047c32db813
[ "MIT" ]
12
2019-03-20T20:43:47.000Z
2020-04-13T11:10:52.000Z
spacy/matcher/__init__.py
ivigamberdiev/spaCy
24cecdb44fe7349f7382dddeeb6ce047c32db813
[ "MIT" ]
3
2022-02-13T15:21:42.000Z
2022-02-27T06:12:44.000Z
spacy/matcher/__init__.py
ivigamberdiev/spaCy
24cecdb44fe7349f7382dddeeb6ce047c32db813
[ "MIT" ]
4
2019-06-07T13:02:33.000Z
2021-07-07T07:34:35.000Z
# coding: utf8 from __future__ import unicode_literals from .matcher import Matcher from .phrasematcher import PhraseMatcher from .dependencymatcher import DependencyTreeMatcher __all__ = ["Matcher", "PhraseMatcher", "DependencyTreeMatcher"]
27.111111
63
0.827869
23
244
8.391304
0.521739
0
0
0
0
0
0
0
0
0
0
0.004587
0.106557
244
8
64
30.5
0.880734
0.04918
0
0
0
0
0.178261
0.091304
0
0
0
0
0
1
0
false
0
0.8
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
6ca76566bb07e2677dd8c98668f536c510244449
289
py
Python
surveys/exceptions.py
Revibe-Music/core-services
6b11cf16ad2c35d948f3a5c0e7a161e5b7cfc1b2
[ "MIT" ]
2
2022-01-24T23:30:18.000Z
2022-01-26T00:21:22.000Z
surveys/exceptions.py
Revibe-Music/core-services
6b11cf16ad2c35d948f3a5c0e7a161e5b7cfc1b2
[ "MIT" ]
null
null
null
surveys/exceptions.py
Revibe-Music/core-services
6b11cf16ad2c35d948f3a5c0e7a161e5b7cfc1b2
[ "MIT" ]
null
null
null
""" Created: 03 June 2020 Author: Jordan Prechac """ from revibe.exceptions import RevibeException # ----------------------------------------------------------------------------- class BaseSurveyException(RevibeException): pass class SurveyException(BaseSurveyException): pass
19.266667
79
0.564014
20
289
8.15
0.8
0
0
0
0
0
0
0
0
0
0
0.023438
0.114187
289
14
80
20.642857
0.613281
0.425606
0
0.4
0
0
0
0
0
0
0
0
0
1
0
true
0.4
0.2
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
1
0
0
4
6ca90efb3319fb954d2c385126080255270d1645
28
py
Python
venv/lib/python3.9/site-packages/shapely/__init__.py
TingwenH/Project
a310383fd7e254eb41f87a8e0184f4b200302504
[ "MIT" ]
null
null
null
venv/lib/python3.9/site-packages/shapely/__init__.py
TingwenH/Project
a310383fd7e254eb41f87a8e0184f4b200302504
[ "MIT" ]
null
null
null
venv/lib/python3.9/site-packages/shapely/__init__.py
TingwenH/Project
a310383fd7e254eb41f87a8e0184f4b200302504
[ "MIT" ]
null
null
null
__version__ = "1.8.1.post1"
14
27
0.678571
5
28
3
0.8
0
0
0
0
0
0
0
0
0
0
0.16
0.107143
28
1
28
28
0.44
0
0
0
0
0
0.392857
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
6cd7e5e16392b6cf48c698298de6ad494b30ab67
222
py
Python
APP/models.py
qianfengproject/GitTest
d0061c0824b56a2f7d58aad319b124397aa87e8f
[ "Apache-2.0" ]
null
null
null
APP/models.py
qianfengproject/GitTest
d0061c0824b56a2f7d58aad319b124397aa87e8f
[ "Apache-2.0" ]
null
null
null
APP/models.py
qianfengproject/GitTest
d0061c0824b56a2f7d58aad319b124397aa87e8f
[ "Apache-2.0" ]
null
null
null
from flask_sqlalchemy import SQLAlchemy db = SQLAlchemy() class Person(db.Model): id = db.Column(db.Integer,primary_key=True,autoincrement=True) name = db.Column(db.String(32)) age = db.Column(db.String(10))
24.666667
66
0.720721
33
222
4.787879
0.606061
0.151899
0.189873
0.202532
0
0
0
0
0
0
0
0.021053
0.144144
222
8
67
27.75
0.810526
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.833333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
6cdaebe2d539901fb1e5f777f4bb4c20235971cf
1,311
py
Python
quodsite/website/migrations/0010_auto_20170811_1121.py
ouh-churchill/quod
97cb6206c2427fe3a8e10cc86c8bf8877cb6b028
[ "MIT" ]
null
null
null
quodsite/website/migrations/0010_auto_20170811_1121.py
ouh-churchill/quod
97cb6206c2427fe3a8e10cc86c8bf8877cb6b028
[ "MIT" ]
7
2017-08-11T18:12:43.000Z
2018-03-01T00:23:27.000Z
quodsite/website/migrations/0010_auto_20170811_1121.py
ouh-churchill/quod
97cb6206c2427fe3a8e10cc86c8bf8877cb6b028
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-08-11 11:21 from __future__ import unicode_literals from django.db import migrations import quodsite.website.models import wagtail.contrib.table_block.blocks import wagtail.wagtailcore.blocks import wagtail.wagtailcore.fields import wagtail.wagtailimages.blo...
48.555556
702
0.749047
137
1,311
7.072993
0.49635
0.185759
0.198142
0.114551
0.152735
0.090815
0
0
0
0
0
0.028375
0.112891
1,311
26
703
50.423077
0.804815
0.051869
0
0
1
0
0.103226
0.018548
0
0
0
0
0
1
0
false
0
0.421053
0
0.578947
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
6cedf775dbc74f89f3f934143e56e694d5b18de7
523
py
Python
baekjoon/15740.py
GihwanKim/Baekjoon
52eb2bf80bb1243697858445e5b5e2d50d78be4e
[ "MIT" ]
null
null
null
baekjoon/15740.py
GihwanKim/Baekjoon
52eb2bf80bb1243697858445e5b5e2d50d78be4e
[ "MIT" ]
null
null
null
baekjoon/15740.py
GihwanKim/Baekjoon
52eb2bf80bb1243697858445e5b5e2d50d78be4e
[ "MIT" ]
null
null
null
""" 15740 : A+B - 9 URL : https://www.acmicpc.net/problem/15750 Input #1 : 1 2 Output #1 : 3 Input #2 : -60 40 Output #2 : -20 Input #3 : -999999999 1000000000 Output #3 : 1 Input #4 : 1099511627776 1073741824 Output #4 : ...
18.678571
63
0.531549
55
523
5.054545
0.6
0.021583
0
0
0
0
0
0
0
0
0
0.507553
0.367113
523
27
64
19.37037
0.332326
0.724665
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
4
9f0393b1ba0bdecde7485b59797810d0bf81fad5
218
py
Python
backend/src/mirror/paths.py
genericmoniker/mirror
c42644bd4d32a2b84cb5a9c14f0d2ce029a562cb
[ "MIT" ]
null
null
null
backend/src/mirror/paths.py
genericmoniker/mirror
c42644bd4d32a2b84cb5a9c14f0d2ce029a562cb
[ "MIT" ]
20
2016-05-07T17:16:34.000Z
2021-06-17T00:49:32.000Z
backend/src/mirror/paths.py
genericmoniker/mirror
c42644bd4d32a2b84cb5a9c14f0d2ce029a562cb
[ "MIT" ]
null
null
null
from pathlib import Path # When running in Docker container: ROOTDIR = Path("/home/appuser") if not ROOTDIR.exists(): # When running from source: ROOTDIR = Path(__file__).resolve().parent.parent.parent.parent
27.25
66
0.733945
29
218
5.37931
0.655172
0.230769
0.230769
0
0
0
0
0
0
0
0
0
0.151376
218
7
67
31.142857
0.843243
0.270642
0
0
0
0
0.083333
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
9f658e971079d04609508bf734cb0028cb2e76ee
25
py
Python
gcp/cloudrun/simple-app/app/__init__.py
sUeharaE4/Dockerfiles
b0711b353a2456c60622fa419e6e8b74dc7ae230
[ "MIT" ]
null
null
null
gcp/cloudrun/simple-app/app/__init__.py
sUeharaE4/Dockerfiles
b0711b353a2456c60622fa419e6e8b74dc7ae230
[ "MIT" ]
null
null
null
gcp/cloudrun/simple-app/app/__init__.py
sUeharaE4/Dockerfiles
b0711b353a2456c60622fa419e6e8b74dc7ae230
[ "MIT" ]
null
null
null
"""Simple api sample."""
12.5
24
0.6
3
25
5
1
0
0
0
0
0
0
0
0
0
0
0
0.12
25
1
25
25
0.681818
0.72
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
9f69af09fbefedbd6820e1bf858c7255d7491594
198
py
Python
Objects/farm/fowl.py
jtentor/PyB2I
d3e9e5a6ce67ea877331149888a5a2e172c34774
[ "CC0-1.0" ]
null
null
null
Objects/farm/fowl.py
jtentor/PyB2I
d3e9e5a6ce67ea877331149888a5a2e172c34774
[ "CC0-1.0" ]
null
null
null
Objects/farm/fowl.py
jtentor/PyB2I
d3e9e5a6ce67ea877331149888a5a2e172c34774
[ "CC0-1.0" ]
3
2022-03-22T02:54:57.000Z
2022-03-27T06:57:39.000Z
from farm.animal import Animal as Animal class Fowl(Animal) : u""" Fowl definition """ def __init__(self, name = "Ave sin nombre ...") : Animal.__init__(self, name) return
22
53
0.621212
25
198
4.6
0.68
0.13913
0.208696
0
0
0
0
0
0
0
0
0
0.257576
198
8
54
24.75
0.782313
0.075758
0
0
0
0
0.103448
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.666667
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
9f9123c655ca4228db3a517bc957974a3e7e7e40
87
py
Python
pysid/correlation/__init__.py
lima-84/pysid
6038b9437e6f4bd23280c3541cb06c1cdf292d2a
[ "MIT" ]
5
2019-09-08T17:22:04.000Z
2022-01-08T18:09:56.000Z
pysid/correlation/__init__.py
lima-84/pysid
6038b9437e6f4bd23280c3541cb06c1cdf292d2a
[ "MIT" ]
null
null
null
pysid/correlation/__init__.py
lima-84/pysid
6038b9437e6f4bd23280c3541cb06c1cdf292d2a
[ "MIT" ]
4
2019-09-08T17:49:23.000Z
2022-01-10T11:44:50.000Z
#__init__.py for correlation #Imports from .autocorr import * from .croscorr import *
14.5
28
0.770115
11
87
5.727273
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.149425
87
5
29
17.4
0.851351
0.390805
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
9f976c8c3459d4efe2300d571c62f2ca941b7207
1,996
py
Python
CourseraMOOCdbTranslate/program/piping_scripts/queries/openedx/openedx_resource_tree.py
rcmurray/WorkflowComponents
368f8132ce5bef3ac3fb9d8e1a13a08f91764cfa
[ "BSD-4-Clause-UC" ]
26
2016-09-14T18:15:29.000Z
2021-12-01T20:01:29.000Z
CourseraMOOCdbTranslate/program/piping_scripts/queries/openedx/openedx_resource_tree.py
rcmurray/WorkflowComponents
368f8132ce5bef3ac3fb9d8e1a13a08f91764cfa
[ "BSD-4-Clause-UC" ]
122
2017-09-12T15:22:03.000Z
2021-09-27T17:25:08.000Z
CourseraMOOCdbTranslate/program/piping_scripts/queries/openedx/openedx_resource_tree.py
rcmurray/WorkflowComponents
368f8132ce5bef3ac3fb9d8e1a13a08f91764cfa
[ "BSD-4-Clause-UC" ]
17
2017-02-16T16:04:41.000Z
2021-02-06T05:36:44.000Z
def GetResourceList(vars): org = vars['source']['course_org'] id1 = vars['source']['course_id_1'] id2 = vars['source']['course_id_2'] db = vars['cons']['modulestore'] coll = db['modulestore'] resource_tree = GetNodeAndChildren(coll, {"_id.org": org, "_id.course": id1, "_id.category": "cou...
1,996
1,996
0.629259
242
1,996
5.016529
0.31405
0.029654
0.056013
0.029654
0.112026
0.085667
0.085667
0.085667
0.085667
0.085667
0
0.015605
0.229459
1,996
1
1,996
1,996
0.773732
0
0
0.153846
0
0
0.173165
0
0
0
0
0
0
0
null
null
0
0
null
null
0.025641
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
4ca12316d58d6950a5638fa4346171354887f25c
200
py
Python
processing/utils.py
ssbgp/data-tools
ec8caf5831eae6a35fd95bb2fb86cf77434bf4d9
[ "MIT" ]
null
null
null
processing/utils.py
ssbgp/data-tools
ec8caf5831eae6a35fd95bb2fb86cf77434bf4d9
[ "MIT" ]
null
null
null
processing/utils.py
ssbgp/data-tools
ec8caf5831eae6a35fd95bb2fb86cf77434bf4d9
[ "MIT" ]
null
null
null
import csv from contextlib import contextmanager from os import PathLike @contextmanager def open_csv(path: PathLike): with open(path) as file: yield csv.DictReader(file, delimiter=";")
20
49
0.745
26
200
5.692308
0.615385
0
0
0
0
0
0
0
0
0
0
0
0.175
200
9
50
22.222222
0.89697
0
0
0
0
0
0.005
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
4cc725ab0e8a713810e26c2f45721f3ba5ab3539
123
py
Python
src/PYnative/exercise/Pandas/Q5.py
c-w-m/learning_python
8f06aa41faf9195d978a7d21cbb329280b0d3200
[ "CNRI-Python" ]
null
null
null
src/PYnative/exercise/Pandas/Q5.py
c-w-m/learning_python
8f06aa41faf9195d978a7d21cbb329280b0d3200
[ "CNRI-Python" ]
null
null
null
src/PYnative/exercise/Pandas/Q5.py
c-w-m/learning_python
8f06aa41faf9195d978a7d21cbb329280b0d3200
[ "CNRI-Python" ]
null
null
null
# Count total cars per company # My Solution df.groupby('company').count() # Given Solution df['company'].value_counts()
15.375
30
0.723577
17
123
5.176471
0.705882
0.227273
0
0
0
0
0
0
0
0
0
0
0.130081
123
7
31
17.571429
0.82243
0.447154
0
0
0
0
0.21875
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
4ce77535cfa10319f7a82eaef29decd2ad989b5f
292
py
Python
dashboards/superuser/views.py
Apubra/django-boilerplate
1936a866a3b8a4cf93fbc631bd15635beef9d62d
[ "MIT" ]
null
null
null
dashboards/superuser/views.py
Apubra/django-boilerplate
1936a866a3b8a4cf93fbc631bd15635beef9d62d
[ "MIT" ]
null
null
null
dashboards/superuser/views.py
Apubra/django-boilerplate
1936a866a3b8a4cf93fbc631bd15635beef9d62d
[ "MIT" ]
null
null
null
from django.shortcuts import render, redirect from django.views import View from django.http import HttpResponse from django.contrib import messages, auth class SuperUserView(View): def get(self, request): return render(request, 'dashboards/super user/super user dashboard.html')
36.5
81
0.787671
39
292
5.897436
0.641026
0.173913
0
0
0
0
0
0
0
0
0
0
0.140411
292
8
81
36.5
0.916335
0
0
0
0
0
0.16041
0
0
0
0
0
0
1
0.142857
false
0
0.571429
0.142857
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
4
98061e5fb11b0aa7553ffd955d892fe46d13c099
608
py
Python
2019/D17/Q2/Operation05.py
buchasia/advent-of-code
f568c6330c8934325913705b39ef8c25a1023057
[ "MIT" ]
null
null
null
2019/D17/Q2/Operation05.py
buchasia/advent-of-code
f568c6330c8934325913705b39ef8c25a1023057
[ "MIT" ]
null
null
null
2019/D17/Q2/Operation05.py
buchasia/advent-of-code
f568c6330c8934325913705b39ef8c25a1023057
[ "MIT" ]
null
null
null
from Operation import Operation class Operation05(Operation): @staticmethod def getValue(sequence, currentIndex, modes): firstElement = Operation05.getSequenceElement(sequence, currentIndex + 1, modes[0]) #print('OP5', firstElement, '!= 0 -->', firstElement != 0 ) if firstElement != 0:...
40.533333
96
0.646382
54
608
7.277778
0.444444
0.203562
0.188295
0.249364
0
0
0
0
0
0
0
0.034335
0.233553
608
14
97
43.428571
0.809013
0.222039
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.555556
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
980ed5153666472582c893ce1ca571795f192a4d
3,735
py
Python
tests/test_web.py
EricGhildyal/RootCoachRecommendation
09ba197b63aa8bf4714331b39a59289ae8c66dbc
[ "MIT" ]
51
2015-02-09T02:09:31.000Z
2022-03-14T19:30:35.000Z
tests/test_web.py
EricGhildyal/RootCoachRecommendation
09ba197b63aa8bf4714331b39a59289ae8c66dbc
[ "MIT" ]
1
2019-11-02T09:40:18.000Z
2019-11-02T09:40:18.000Z
tests/test_web.py
EricGhildyal/RootCoachRecommendation
09ba197b63aa8bf4714331b39a59289ae8c66dbc
[ "MIT" ]
47
2015-01-17T08:20:44.000Z
2022-03-04T18:43:33.000Z
import unittest from .context import app app.config['TWILIO_ACCOUNT_SID'] = 'ACxxxxxx' app.config['TWILIO_AUTH_TOKEN'] = 'yyyyyyyyy' app.config['TWILIO_CALLER_ID'] = '+15558675309' app.config['TWILIO_APP_SID'] = 'APzzzzzzzzzzzz' class WebTest(unittest.TestCase): def setUp(self): self.app = app.test_clien...
47.884615
79
0.589826
417
3,735
5.196643
0.165468
0.127365
0.077527
0.096447
0.804338
0.762344
0.721735
0.706045
0.683433
0.5976
0
0.040885
0.286212
3,735
77
80
48.506494
0.771943
0
0
0.575758
0
0
0.286479
0
0
0
0
0
0.287879
1
0.121212
false
0
0.030303
0
0.181818
0
0
0
0
null
0
0
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
9813fabb0a0c8ffba1aa951c7d0eea4a40c6670b
23
py
Python
samtranslator/__init__.py
ejafarli/serverless-application-model
6355433d1f0dec8624417180b0c989afd2d2930a
[ "Apache-2.0" ]
1
2020-10-27T14:27:14.000Z
2020-10-27T14:27:14.000Z
samtranslator/__init__.py
ejafarli/serverless-application-model
6355433d1f0dec8624417180b0c989afd2d2930a
[ "Apache-2.0" ]
null
null
null
samtranslator/__init__.py
ejafarli/serverless-application-model
6355433d1f0dec8624417180b0c989afd2d2930a
[ "Apache-2.0" ]
null
null
null
__version__ = "1.27.0"
11.5
22
0.652174
4
23
2.75
1
0
0
0
0
0
0
0
0
0
0
0.2
0.130435
23
1
23
23
0.35
0
0
0
0
0
0.26087
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
981a36d5bd93fbbf4124d90a96bb7fe7135bdd73
1,313
py
Python
src/bot_models.py
Fmccline/ImitationBot
38b71f630f0b6c110863f1235e3370c7a04f51fc
[ "MIT" ]
null
null
null
src/bot_models.py
Fmccline/ImitationBot
38b71f630f0b6c110863f1235e3370c7a04f51fc
[ "MIT" ]
null
null
null
src/bot_models.py
Fmccline/ImitationBot
38b71f630f0b6c110863f1235e3370c7a04f51fc
[ "MIT" ]
null
null
null
from bot_model import BotModel class AdamModel(BotModel): def get_name(self): return 'Adam' def compile_model(self, model): model.compile(optimizer='adam', loss='mean_squared_error', metrics=['accuracy']) return model class AdamCrossModel(BotModel): def get_name(self): return 'AdamCross' def compile_m...
23.872727
85
0.749429
171
1,313
5.643275
0.25731
0.056995
0.072539
0.093264
0.786529
0.786529
0.641451
0.641451
0.492228
0.344041
0
0.012238
0.128713
1,313
55
86
23.872727
0.831294
0
0
0.540541
0
0
0.134703
0
0
0
0
0
0
1
0.27027
false
0
0.108108
0.135135
0.783784
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
e258c2288a203acd7b897e9878bfb96fabaeec83
117
py
Python
todocli/todo/utils/comment.py
BalenD/TODO-cli
a966800d36475c29ed8a3d92dcd0aa0c37018d61
[ "MIT" ]
null
null
null
todocli/todo/utils/comment.py
BalenD/TODO-cli
a966800d36475c29ed8a3d92dcd0aa0c37018d61
[ "MIT" ]
null
null
null
todocli/todo/utils/comment.py
BalenD/TODO-cli
a966800d36475c29ed8a3d92dcd0aa0c37018d61
[ "MIT" ]
2
2019-05-13T09:39:27.000Z
2019-05-16T19:41:08.000Z
class Comment: def __init__(self, line:int, comment:str): self.line = line self.comment = comment
29.25
46
0.632479
15
117
4.666667
0.533333
0.228571
0
0
0
0
0
0
0
0
0
0
0.264957
117
4
47
29.25
0.813953
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
e258e915f598e7c75cd43ef7f79a562040e58656
93
py
Python
materiais/apps.py
lucgbrl/ecossistema-django
a374662be7e93a1f57b7318487074aa0bd905043
[ "MIT" ]
3
2021-04-05T23:40:22.000Z
2021-08-31T19:58:57.000Z
materiais/apps.py
lucgbrl/ecossistema-django
a374662be7e93a1f57b7318487074aa0bd905043
[ "MIT" ]
1
2021-04-05T00:08:28.000Z
2021-04-05T00:08:28.000Z
materiais/apps.py
lucgbrl/ecossistema-django
a374662be7e93a1f57b7318487074aa0bd905043
[ "MIT" ]
5
2021-03-24T12:57:18.000Z
2021-04-15T20:37:58.000Z
from django.apps import AppConfig class MateriaisConfig(AppConfig): name = 'materiais'
15.5
33
0.763441
10
93
7.1
0.9
0
0
0
0
0
0
0
0
0
0
0
0.16129
93
5
34
18.6
0.910256
0
0
0
0
0
0.096774
0
0
0
0
0
0
1
0
false
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
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
e25b8e4843b18efdfe29bf9fe170fb33f23cbf92
3,214
py
Python
pyObs/Variants/Example/ASDVisualRefer/bitRedDice.py
billgriffin/pyObs
37d30baebd21f1f9821128c25e22e310eff65c85
[ "MIT" ]
1
2019-09-12T01:16:55.000Z
2019-09-12T01:16:55.000Z
pyObs/Variants/VisualAttention/bitRedDice.py
billgriffin/pyObs
37d30baebd21f1f9821128c25e22e310eff65c85
[ "MIT" ]
null
null
null
pyObs/Variants/VisualAttention/bitRedDice.py
billgriffin/pyObs
37d30baebd21f1f9821128c25e22e310eff65c85
[ "MIT" ]
null
null
null
### red dice from PALs Maps ### from wx import ImageFromStream, BitmapFromImage, EmptyIcon from wx.lib.embeddedimage import PyEmbeddedImage import cStringIO #---------------------------------------------------------------------- small_red_dice = PyEmbeddedImage( "iVBORw0KGgoAAAANSUhEUgAAACsAAAAgCAIAAAAE+B...
66.958333
79
0.841319
166
3,214
16.204819
0.86747
0.013011
0.017844
0
0
0
0
0
0
0
0
0.132567
0.079963
3,214
47
80
68.382979
0.777139
0.029247
0
0
0
0.02381
0.818538
0.818538
0
1
0
0
0
1
0
false
0
0.071429
0
0.071429
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
4
e25d8c20d12910dcd78de6949d5762652d591ebe
395
py
Python
filmweb_integrator/fwimdbmerge/merger.py
krzysztofho/filmweb-rekomendacje
2771c65a52fee2985b817ff27c700d99c9be5f7d
[ "MIT" ]
null
null
null
filmweb_integrator/fwimdbmerge/merger.py
krzysztofho/filmweb-rekomendacje
2771c65a52fee2985b817ff27c700d99c9be5f7d
[ "MIT" ]
null
null
null
filmweb_integrator/fwimdbmerge/merger.py
krzysztofho/filmweb-rekomendacje
2771c65a52fee2985b817ff27c700d99c9be5f7d
[ "MIT" ]
null
null
null
#!/usr/bin/env python # coding: utf-8 from pandas.io.json import json_normalize from filmweb_integrator.fwimdbmerge.filmweb import Filmweb from filmweb_integrator.fwimdbmerge.imdb import Imdb class Merger(object): def __init__(self, json): self.df = json_normalize(json) def get_data(self): ...
21.944444
58
0.721519
55
395
5
0.545455
0.065455
0.152727
0.232727
0
0
0
0
0
0
0
0.003077
0.177215
395
17
59
23.235294
0.843077
0.086076
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.333333
0
0.777778
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
4
e2896d4bd1d69ee0f891c68eb2086efb5d1650db
1,758
py
Python
cosmo/test/test_database.py
danellis/cosmo
f57ce58b5053012c72b5fad82e226ed1b434ff8c
[ "MIT" ]
null
null
null
cosmo/test/test_database.py
danellis/cosmo
f57ce58b5053012c72b5fad82e226ed1b434ff8c
[ "MIT" ]
null
null
null
cosmo/test/test_database.py
danellis/cosmo
f57ce58b5053012c72b5fad82e226ed1b434ff8c
[ "MIT" ]
null
null
null
import unittest from cosmo.database import Database class DatabaseStoreRetrieveTest(unittest.TestCase): def setUp(self): self.database = Database(':memory:') def test(self): self.database.store_triples([ ('http://example.com/start', 'page', 'http://example.com/absolute'), ...
48.833333
106
0.623436
201
1,758
5.422886
0.208955
0.201835
0.256881
0.209174
0.72844
0.72844
0.695413
0.627523
0.627523
0.449541
0
0.002055
0.169511
1,758
35
107
50.228571
0.744521
0
0
0.137931
0
0
0.397611
0
0
0
0
0
0.310345
1
0.103448
false
0
0.068966
0
0.241379
0
0
0
0
null
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
e2a1c4e1e8b76e62ebbf1b3942c6e22f86d3a0a4
168
py
Python
data/editor/assets/scripts/debug_escape_to_splash_screen.py
Jean-LouisH/Lilliputian
8a9d24c5be87ae78452e6aef4f2bb8af181bf9df
[ "MIT" ]
1
2020-04-07T07:19:10.000Z
2020-04-07T07:19:10.000Z
data/editor/assets/scripts/debug_escape_to_splash_screen.py
Jean-LouisH/Lilliputian
8a9d24c5be87ae78452e6aef4f2bb8af181bf9df
[ "MIT" ]
null
null
null
data/editor/assets/scripts/debug_escape_to_splash_screen.py
Jean-LouisH/Lilliputian
8a9d24c5be87ae78452e6aef4f2bb8af181bf9df
[ "MIT" ]
null
null
null
import lilliputian as lp def on_input(): if lp.get_input_api().is_on_release("escape"): lp.get_scene_api().load_scene("assets/scenes/splash_screen.yml")
21
72
0.720238
27
168
4.148148
0.740741
0.089286
0
0
0
0
0
0
0
0
0
0
0.142857
168
7
73
24
0.777778
0
0
0
0
0
0.221557
0.185629
0
0
0
0
0
1
0.25
true
0
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
0
0
0
4
e2a2b01b57aae3ffe084f8c7c3fc0569c6dbdf21
92
py
Python
pymove/core/__init__.py
synapticarbors/PyMove
10bf8fcd4b60b31d812a12a31a14b0ea52ac4464
[ "MIT" ]
null
null
null
pymove/core/__init__.py
synapticarbors/PyMove
10bf8fcd4b60b31d812a12a31a14b0ea52ac4464
[ "MIT" ]
null
null
null
pymove/core/__init__.py
synapticarbors/PyMove
10bf8fcd4b60b31d812a12a31a14b0ea52ac4464
[ "MIT" ]
null
null
null
from .interface import MoveDataFrameAbstractModel __all__ = ["MoveDataFrameAbstractModel"]
23
49
0.847826
6
92
12.333333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.086957
92
3
50
30.666667
0.880952
0
0
0
0
0
0.282609
0.282609
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
2c3b7462ff5ac5cc0112b9bc292b82413c03e8e8
109
py
Python
pdfn2tex/tests/test_requirements.py
CrakeNotSnowman/pdfn2tex
5dec10194da8c2ccd6dd45a84b03e8ad6e1f9da8
[ "MIT" ]
null
null
null
pdfn2tex/tests/test_requirements.py
CrakeNotSnowman/pdfn2tex
5dec10194da8c2ccd6dd45a84b03e8ad6e1f9da8
[ "MIT" ]
null
null
null
pdfn2tex/tests/test_requirements.py
CrakeNotSnowman/pdfn2tex
5dec10194da8c2ccd6dd45a84b03e8ad6e1f9da8
[ "MIT" ]
null
null
null
''' Run through and ensure that all the required programs are installed on the system and functioning '''
13.625
81
0.752294
16
109
5.125
0.875
0
0
0
0
0
0
0
0
0
0
0
0.192661
109
7
82
15.571429
0.931818
0.889908
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
2c5a4faf33ee758e3bd489869e57d0cb4b380150
265
py
Python
Employment_System/apps/index/serializers.py
rui1106/Graduation_Project
77457588f82cfa8c35b74fc60ec3c1ffd5271600
[ "CC0-1.0" ]
null
null
null
Employment_System/apps/index/serializers.py
rui1106/Graduation_Project
77457588f82cfa8c35b74fc60ec3c1ffd5271600
[ "CC0-1.0" ]
null
null
null
Employment_System/apps/index/serializers.py
rui1106/Graduation_Project
77457588f82cfa8c35b74fc60ec3c1ffd5271600
[ "CC0-1.0" ]
null
null
null
from rest_framework import serializers from apps.jobs.models import JobInfo class IndexSerializer(serializers.ModelSerializer): class Meta: model = JobInfo fields = ["id", "name", 'salary', 'location', 'company', 'degree_required', 'number']
26.5
93
0.70566
28
265
6.607143
0.821429
0
0
0
0
0
0
0
0
0
0
0
0.177358
265
9
94
29.444444
0.848624
0
0
0
0
0
0.181132
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4