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
3abc7d925777e8ec9f86ea59bf36e7c8c12dc06e
421
py
Python
FreeTAKServer/model/ReceiveConnectionsProcess.py
logikal/FreeTakServer
c0916ce65781b5c60079d6440e52db8fc6ee0467
[ "MIT" ]
27
2020-05-01T01:45:59.000Z
2020-07-03T00:17:13.000Z
FreeTAKServer/model/ReceiveConnectionsProcess.py
logikal/FreeTakServer
c0916ce65781b5c60079d6440e52db8fc6ee0467
[ "MIT" ]
34
2020-04-26T11:25:52.000Z
2020-07-03T21:06:34.000Z
FreeTAKServer/model/ReceiveConnectionsProcess.py
logikal/FreeTakServer
c0916ce65781b5c60079d6440e52db8fc6ee0467
[ "MIT" ]
15
2020-05-01T01:46:07.000Z
2020-07-03T12:14:04.000Z
####################################################### # # ReceiveConnectionsProcess.py # Python implementation of the Class ReceiveConnectionsProcess # Generated by Enterprise Architect # Created on: 21-May-2020 9:47:41 AM # Original author: Natha Paquette # ####################################################...
30.071429
62
0.548694
32
421
7.09375
0.875
0.264317
0
0
0
0
0
0
0
0
0
0.030303
0.137767
421
13
63
32.384615
0.595041
0.463183
0
0
1
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
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
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
3ae6bd04cde51077e5a125685ba8b9f4001297a8
313
py
Python
modules/lib/wifi/__init__.py
yansinan/pycameresp
e239b4db110bffeb6bbdae6930d2b78562d21e35
[ "MIT" ]
28
2021-01-19T10:53:20.000Z
2022-03-24T13:57:09.000Z
modules/lib/wifi/__init__.py
yansinan/pycameresp
e239b4db110bffeb6bbdae6930d2b78562d21e35
[ "MIT" ]
5
2021-02-28T23:00:23.000Z
2022-03-30T07:36:21.000Z
modules/lib/wifi/__init__.py
yansinan/pycameresp
e239b4db110bffeb6bbdae6930d2b78562d21e35
[ "MIT" ]
9
2021-02-28T23:01:37.000Z
2022-03-24T13:57:18.000Z
# Distributed under MIT License # Copyright (c) 2021 Remi BERTHOLET """ Class to manage wifi and access point """ # from wifi.hostname import * from wifi.accesspoint import * from wifi.station import * from wifi.wifi import * AUTHMODE = {0: b"open", 1: b"WEP", 2: b"WPA-PSK", 3: b"WPA2-PSK", 4: b"WPA/WPA2-PSK"}
31.3
85
0.696486
52
313
4.192308
0.634615
0.146789
0.192661
0
0
0
0
0
0
0
0
0.041825
0.159744
313
9
86
34.777778
0.787072
0.41853
0
0
0
0
0.196532
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
aaf474960b0118f2247e4af0cf5a6c1010eed3b4
8,589
py
Python
device_e2e/sync/test_sync_send_message.py
dt-boringtao/azure-iot-sdk-python
35a09679bdf4d7a727391b265a8f1fbb99a30c45
[ "MIT" ]
null
null
null
device_e2e/sync/test_sync_send_message.py
dt-boringtao/azure-iot-sdk-python
35a09679bdf4d7a727391b265a8f1fbb99a30c45
[ "MIT" ]
null
null
null
device_e2e/sync/test_sync_send_message.py
dt-boringtao/azure-iot-sdk-python
35a09679bdf4d7a727391b265a8f1fbb99a30c45
[ "MIT" ]
null
null
null
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. import pytest import logging import json import time import utils from azure.iot.device.exceptions import OperationCancelled, ClientError logger = logging.getLogg...
33.814961
100
0.719525
1,071
8,589
5.462185
0.156863
0.08
0.04359
0.045128
0.78359
0.776752
0.743248
0.717265
0.684103
0.667863
0
0.001465
0.205146
8,589
253
101
33.948617
0.855427
0.05996
0
0.678363
0
0
0.087604
0
0
0
0
0.003953
0.146199
1
0.081871
false
0.005848
0.035088
0
0.134503
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
c914c4ee3440cedd3b76ea9df5ff71cf4046f7fc
345
py
Python
authors/pagination.py
zhpeng811/social.distance
d7a15cae817fc1aed31c460577de22a37bdfb6d3
[ "W3C-20150513" ]
6
2021-12-01T01:29:22.000Z
2021-12-07T02:13:33.000Z
authors/pagination.py
zhpeng811/social.distance
d7a15cae817fc1aed31c460577de22a37bdfb6d3
[ "W3C-20150513" ]
7
2021-09-26T22:17:58.000Z
2021-11-19T04:03:16.000Z
authors/pagination.py
CMPUT404Fall2021-6803d618/social.distance
d7a15cae817fc1aed31c460577de22a37bdfb6d3
[ "W3C-20150513" ]
null
null
null
from social_distance.pagination import PageSizePagination class AuthorsPagination(PageSizePagination): type = 'authors' class FollowingsPagination(PageSizePagination): type = 'followings' class FollowersPagination(PageSizePagination): type = 'followers' class InboxObjectsPagination(PageSizePagination): ...
28.75
57
0.805797
27
345
10.222222
0.62963
0.318841
0
0
0
0
0
0
0
0
0
0
0.121739
345
12
58
28.75
0.910891
0
0
0
0
0
0.112717
0
0
0
0
0
0
1
0
false
0
0.111111
0
1
0
1
0
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
c929f841f6b842f44e55cab97caa12186bf37a8b
96
py
Python
scan_models/apps.py
jessielaf/django-scan-models
ec32ee49c42cb5e567cbae8b9bff2eb3cc18261a
[ "MIT" ]
29
2020-03-18T19:37:18.000Z
2021-12-07T09:36:51.000Z
scan_models/apps.py
jessielaf/django-scan-models
ec32ee49c42cb5e567cbae8b9bff2eb3cc18261a
[ "MIT" ]
null
null
null
scan_models/apps.py
jessielaf/django-scan-models
ec32ee49c42cb5e567cbae8b9bff2eb3cc18261a
[ "MIT" ]
null
null
null
from django.apps import AppConfig class ScanModelsConfig(AppConfig): name = "scan_models"
16
34
0.770833
11
96
6.636364
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.15625
96
5
35
19.2
0.901235
0
0
0
0
0
0.114583
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
c931207a5b860f590da67c6957e6733cb11b4ba4
33,840
py
Python
sphinx_aimms_theme/AIMMSLexer.py
aimms/sphinx-aimms-theme
5cc16b48efcda8d415faa759dfa5fa334a2c53d3
[ "MIT" ]
null
null
null
sphinx_aimms_theme/AIMMSLexer.py
aimms/sphinx-aimms-theme
5cc16b48efcda8d415faa759dfa5fa334a2c53d3
[ "MIT" ]
null
null
null
sphinx_aimms_theme/AIMMSLexer.py
aimms/sphinx-aimms-theme
5cc16b48efcda8d415faa759dfa5fa334a2c53d3
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ pygments.lexers.aimms ~~~~~~~~~~~~~~~~~~~~ Lexers for the AIMMS language. <https://aimms.com/> :version: 18 Oct 2018 :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ import re from pygments.lexer import R...
202.634731
18,251
0.756678
2,658
33,840
9.612114
0.542889
0.025833
0.008141
0.00822
0.021527
0.018513
0.017457
0.00728
0.004853
0
0
0.001195
0.060343
33,840
166
18,252
203.855422
0.802189
0.060018
0
0
0
0.011236
0.752041
0.433425
0
0
0
0.006024
0.033708
1
0.022472
false
0.011236
0.044944
0
0.134831
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
c95b605b872c31bfe6c2f4605e653ecc5180048a
1,047
py
Python
tests/v1/test_logs_geo_ip_parser.py
MichaelTROEHLER/datadog-api-client-python
12c46626622fb1277bb1e172753b342c671348bd
[ "Apache-2.0" ]
null
null
null
tests/v1/test_logs_geo_ip_parser.py
MichaelTROEHLER/datadog-api-client-python
12c46626622fb1277bb1e172753b342c671348bd
[ "Apache-2.0" ]
null
null
null
tests/v1/test_logs_geo_ip_parser.py
MichaelTROEHLER/datadog-api-client-python
12c46626622fb1277bb1e172753b342c671348bd
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 # Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. # This product includes software developed at Datadog (https://www.datadoghq.com/). # Copyright 2019-Present Datadog, Inc. from __future__ import absolute_import import sys import unittest im...
26.846154
108
0.74021
134
1,047
5.514925
0.58209
0.054127
0.086604
0.097429
0.201624
0.14479
0.102842
0.102842
0.102842
0
0
0.016393
0.184336
1,047
38
109
27.552632
0.848946
0.383954
0
0.157895
0
0
0.093949
0.08121
0
0
0
0.026316
0
1
0.157895
false
0.157895
0.368421
0
0.578947
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
1
0
1
0
0
4
c98029c02eee286bcbf17735ac7df0f4f085d16b
477
py
Python
solrdataimport/exportclient.py
pisceanfoot/solrdataimport
a7f97cda5eb4ff569e67e5636a9217e9fe1a5fb5
[ "Apache-2.0" ]
2
2018-03-13T02:08:08.000Z
2019-07-08T03:33:26.000Z
solrdataimport/exportclient.py
pisceanfoot/solrdataimport
a7f97cda5eb4ff569e67e5636a9217e9fe1a5fb5
[ "Apache-2.0" ]
null
null
null
solrdataimport/exportclient.py
pisceanfoot/solrdataimport
a7f97cda5eb4ff569e67e5636a9217e9fe1a5fb5
[ "Apache-2.0" ]
1
2019-07-08T03:33:32.000Z
2019-07-08T03:33:32.000Z
# -*- coding:utf-8 -*- from __future__ import absolute_import, division, print_function, unicode_literals, \ with_statement class ExportClient(object): def prepare(self): raise NotImplementedError() def send(self, cassDataRows): raise NotImplementedError() def sent(self): rai...
22.714286
85
0.683438
45
477
7.066667
0.622222
0.377358
0.339623
0.292453
0
0
0
0
0
0
0
0.002703
0.224319
477
20
86
23.85
0.856757
0.041929
0
0.384615
0
0
0
0
0
0
0
0
0
1
0.384615
false
0
0.076923
0
0.538462
0.076923
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
a313bc0ed79294b521b29ce41ac8cefa1e47599e
174
py
Python
bb_django/mysite/bb/forms.py
ttrautmann/bb_website
ce9eb5e892c9851180f711907eb41176f067d433
[ "MIT" ]
null
null
null
bb_django/mysite/bb/forms.py
ttrautmann/bb_website
ce9eb5e892c9851180f711907eb41176f067d433
[ "MIT" ]
1
2020-02-24T04:15:59.000Z
2020-02-24T04:15:59.000Z
bb_django/mysite/bb/forms.py
ttrautmann/bb_website
ce9eb5e892c9851180f711907eb41176f067d433
[ "MIT" ]
null
null
null
from django import forms from .models import Throw class ThrowsForm(forms.ModelForm): class Meta: model = Throw fields = ('player', 'result', 'round')
17.4
46
0.649425
20
174
5.65
0.75
0
0
0
0
0
0
0
0
0
0
0
0.247126
174
9
47
19.333333
0.862595
0
0
0
0
0
0.097701
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
a36f7e9e1fe792bf3555c5a349b6ef62e5e4e26e
49
py
Python
dynix_ng/state/memory.py
Eigenbahn/dynix-ng
897d33ae709ce9205a3c50afc7da7069caf7301e
[ "MIT" ]
1
2021-06-12T03:54:06.000Z
2021-06-12T03:54:06.000Z
dynix_ng/state/memory.py
Eigenbahn/dynix-ng
897d33ae709ce9205a3c50afc7da7069caf7301e
[ "MIT" ]
1
2021-06-12T04:21:11.000Z
2021-07-05T06:17:50.000Z
dynix_ng/state/memory.py
Eigenbahn/dynix-ng
897d33ae709ce9205a3c50afc7da7069caf7301e
[ "MIT" ]
null
null
null
def init(): global session session = {}
9.8
18
0.55102
5
49
5.4
0.8
0
0
0
0
0
0
0
0
0
0
0
0.326531
49
4
19
12.25
0.818182
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.333333
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
6e60fcfdec27c8ab747787a283e0e6236ebd4770
224
py
Python
dec_wave.py
facmachado/wavecodec
c2c1c511137940eee9824c482f13ffb328aa19a3
[ "MIT" ]
null
null
null
dec_wave.py
facmachado/wavecodec
c2c1c511137940eee9824c482f13ffb328aa19a3
[ "MIT" ]
null
null
null
dec_wave.py
facmachado/wavecodec
c2c1c511137940eee9824c482f13ffb328aa19a3
[ "MIT" ]
null
null
null
#!/usr/bin/python3 # # Copyright (c) 2020 Flavio Augusto (@facmachado) # # This software may be modified and distributed under the terms # of the MIT license. See the LICENSE file for details. # import sys, wave, numpy
20.363636
64
0.723214
33
224
4.909091
0.909091
0
0
0
0
0
0
0
0
0
0
0.027473
0.1875
224
10
65
22.4
0.862637
0.821429
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
6e6eca1673685b85325ba87d02b5af7080bbfbff
419
py
Python
hadoop_script_2.0/common/tool/HadoopTool.py
jiandequn/code
676bae6523a26b4d8b01914f6b963112054461a3
[ "Apache-2.0" ]
2
2019-01-17T01:55:59.000Z
2019-04-18T02:06:53.000Z
sx_hadoop_script_2.0/common/tool/HadoopTool.py
sunnyJam/code
676bae6523a26b4d8b01914f6b963112054461a3
[ "Apache-2.0" ]
1
2022-02-09T22:28:06.000Z
2022-02-09T22:28:06.000Z
sx_hadoop_script_2.0/common/tool/HadoopTool.py
sunnyJam/code
676bae6523a26b4d8b01914f6b963112054461a3
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- class HadoopUtil(object): def __init__(self,console): self.console = console; pass def cp(self,src,dest): #复制 self.console.cmd("hadoop fs -cp -p %s %s" % (src,dest)) def mkdir(self,path):#创建目录 self.console.cmd("hadoop fs -mkdir -...
27.933333
63
0.575179
64
419
3.703125
0.484375
0.232068
0.177215
0.253165
0.278481
0
0
0
0
0
0
0.003155
0.243437
419
14
64
29.928571
0.74448
0.119332
0
0
0
0
0.181319
0
0
0
0
0
0
1
0.4
false
0.1
0
0
0.5
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
4
6eb3151fb2fe698e9cadb60f609036f37a544c68
580
py
Python
src/pylomin/data_porters/data_porter.py
siahuat0727/pylomin
94a05dbfa5146fa2cc787363fc36774b563a6f39
[ "MIT" ]
3
2021-12-01T02:06:35.000Z
2021-12-01T15:20:53.000Z
src/pylomin/data_porters/data_porter.py
siahuat0727/pylomin
94a05dbfa5146fa2cc787363fc36774b563a6f39
[ "MIT" ]
null
null
null
src/pylomin/data_porters/data_porter.py
siahuat0727/pylomin
94a05dbfa5146fa2cc787363fc36774b563a6f39
[ "MIT" ]
null
null
null
class DataPorter: def __init__(self, model, **kwargs): self.model = model self.computing_device = kwargs.get('computing_device', 'cpu') @staticmethod def get_direct_parameters(module): # TODO: Don't access protected attribute (check if name contains dot?) return module._para...
38.666667
78
0.691379
68
580
5.720588
0.455882
0.046272
0.092545
0.123393
0.539846
0.37018
0.37018
0.37018
0.37018
0.37018
0
0
0.212069
580
14
79
41.428571
0.851204
0.35
0
0.2
0
0
0.051075
0
0
0
0
0.071429
0
1
0.3
false
0
0
0.2
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
1
1
0
0
4
6eefed186c2e2a022e5cd041c85e082b1e4f15d7
683
py
Python
tests/data/src/csnAll.py
xplanes/CSnake
3cd7a2f5c23787262c42fe3c2763201afa1bdef4
[ "BSD-4-Clause" ]
4
2016-02-16T06:45:24.000Z
2021-08-09T14:59:12.000Z
tests/data/src/csnAll.py
xplanes/CSnake
3cd7a2f5c23787262c42fe3c2763201afa1bdef4
[ "BSD-4-Clause" ]
5
2015-08-04T14:42:35.000Z
2016-03-18T09:08:01.000Z
tests/data/src/csnAll.py
xplanes/CSnake
3cd7a2f5c23787262c42fe3c2763201afa1bdef4
[ "BSD-4-Clause" ]
5
2015-10-15T10:12:52.000Z
2021-11-08T15:20:46.000Z
# Project variable definitions import csnCilab import csnBuild def dummyLib(): import DummyLib.csnDummyLib return DummyLib.csnDummyLib.dummyLib def cxxTest(): return csnCilab.LoadThirdPartyModule('CxxTest', 'csnCxxTest').cxxTest def two(): return csnCilab.LoadThirdPartyModule('Two', 'csnTwo').two...
28.458333
90
0.676428
59
683
7.830508
0.423729
0.121212
0.294372
0
0
0
0
0
0
0
0
0
0.115666
683
23
91
29.695652
0.764901
0.171303
0
0
0
0
0.120782
0
0
0
0
0
0
1
0.333333
false
0
0.2
0.266667
0.866667
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
42ba5cf241be09da83c279658d5b49420c231094
213
py
Python
code/code/code/test1/hcj_undergraduate_code/data/dataloader/__init__.py
ChunjunHu/SemanticSegmentationofCropRemoteSensingBasedonDeepLearning
740f88f6e11ef7e9b84949441d74f19ec06e56d2
[ "MIT" ]
2
2022-01-06T02:26:24.000Z
2022-01-28T00:04:35.000Z
code/code/code/test1/hcj_undergraduate_code/data/dataloader/__init__.py
ChunjunHu/SemanticSegmentationofCropRemoteSensingBasedonDeepLearning
740f88f6e11ef7e9b84949441d74f19ec06e56d2
[ "MIT" ]
null
null
null
code/code/code/test1/hcj_undergraduate_code/data/dataloader/__init__.py
ChunjunHu/SemanticSegmentationofCropRemoteSensingBasedonDeepLearning
740f88f6e11ef7e9b84949441d74f19ec06e56d2
[ "MIT" ]
null
null
null
''' Author : now more Connect : lin.honghui@qq.com LastEditors : now more Description : make_dataloader LastEditTime: 2019-07-03 13:15:34 ''' from .build import make_dataloader,make_inference_dataloader
21.3
60
0.751174
29
213
5.37931
0.793103
0.089744
0
0
0
0
0
0
0
0
0
0.077778
0.15493
213
10
60
21.3
0.788889
0.666667
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
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
42f1e43e5d6da323c252818c6850097995cf0338
221
py
Python
auth/constants.py
Yassineelkasmy/fastalab-backend
409a0e2ef45eaf42aa854075e7eb8f5a48b8abd0
[ "MIT" ]
null
null
null
auth/constants.py
Yassineelkasmy/fastalab-backend
409a0e2ef45eaf42aa854075e7eb8f5a48b8abd0
[ "MIT" ]
null
null
null
auth/constants.py
Yassineelkasmy/fastalab-backend
409a0e2ef45eaf42aa854075e7eb8f5a48b8abd0
[ "MIT" ]
null
null
null
from datetime import timedelta SECRET_KEY = "09d25e094faa6ca2556c818166b7a9563b93f7099f6f0f4caa6cf63b88e8d3e7" ALGORITHM = "HS256" TOKEN_EXPIRES_TIME = timedelta(minutes=5) REFRESH_TOKEN_EXPIRES_TIME = timedelta(hours=12)
44.2
79
0.868778
22
221
8.454545
0.772727
0.129032
0.172043
0.268817
0
0
0
0
0
0
0
0.223301
0.067873
221
5
80
44.2
0.679612
0
0
0
0
0
0.310811
0.288288
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
1
0
0
null
0
0
1
0
0
0
0
0
0
0
1
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
6e3ecd5b7db7fcd16b2d7331d3c6179769db90a8
4,238
py
Python
main.py
astirn/local-latent-features-cell-images
1c14c94140cae91c9d882e801304e590dd6982b5
[ "MIT" ]
null
null
null
main.py
astirn/local-latent-features-cell-images
1c14c94140cae91c9d882e801304e590dd6982b5
[ "MIT" ]
null
null
null
main.py
astirn/local-latent-features-cell-images
1c14c94140cae91c9d882e801304e590dd6982b5
[ "MIT" ]
null
null
null
import os from test_mode import test_mode from utils import load_partitioned_data, split_data from models import AutoEncoder, VariationalAutoEncoder, train, generate_latent_matrix # real run? if not test_mode(): # load all partitioned data data = load_partitioned_data() # result directory RESULT_DIR ...
36.534483
85
0.523596
488
4,238
4.313525
0.204918
0.039905
0.07601
0.037055
0.768646
0.747743
0.703088
0.652732
0.652732
0.612827
0
0.028327
0.366918
4,238
115
86
36.852174
0.756243
0.107126
0
0.608108
1
0
0.086899
0
0
0
0
0
0
1
0
false
0
0.054054
0
0.054054
0.013514
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
6e47ee800595bb4ad2b4fe9dc783bebbb3b72143
1,522
py
Python
tests/integration/cloud_governance/test_environment_variables.py
athiruma/cloud-governance
0515975090046266bce70990e4e269ae6ab03296
[ "Apache-2.0" ]
null
null
null
tests/integration/cloud_governance/test_environment_variables.py
athiruma/cloud-governance
0515975090046266bce70990e4e269ae6ab03296
[ "Apache-2.0" ]
1
2022-02-02T17:38:05.000Z
2022-02-02T17:38:05.000Z
tests/integration/cloud_governance/test_environment_variables.py
athiruma/cloud-governance
0515975090046266bce70990e4e269ae6ab03296
[ "Apache-2.0" ]
null
null
null
import os def __get_test_environment_variables(): test_environment_variable = {} test_environment_variable['KEY_TEST'] = os.environ.get("KEY_TEST", '') test_environment_variable['REGION'] = os.environ.get("REGION", '') test_environment_variable['BUCKET'] = os.environ.get('BUCKET', '') # ElasticSe...
56.37037
297
0.745072
162
1,522
6.598765
0.216049
0.322732
0.451824
0.218896
0.530402
0.49392
0.367633
0.367633
0.367633
0.279701
0
0.00517
0.110381
1,522
26
298
58.538462
0.784343
0.020368
0
0.111111
0
0.055556
0.426747
0.204301
0
0
0
0
0
1
0.055556
false
0.111111
0.055556
0
0.166667
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
1
0
0
0
0
0
4
2811908234b628e9de9a5580b41b523228c0ffd7
194
py
Python
python/basic-python/guided_exercises/ch1_variables/var_and_data.py
codingandcommunity/rise_high
042d07cee1119b46f723a9c763b8ee3d0fc4ac2c
[ "MIT" ]
2
2019-08-12T23:19:48.000Z
2019-08-15T00:24:01.000Z
python/basic-python/guided_exercises/ch1_variables/var_and_data.py
codingandcommunity/rise_high
042d07cee1119b46f723a9c763b8ee3d0fc4ac2c
[ "MIT" ]
null
null
null
python/basic-python/guided_exercises/ch1_variables/var_and_data.py
codingandcommunity/rise_high
042d07cee1119b46f723a9c763b8ee3d0fc4ac2c
[ "MIT" ]
null
null
null
# define variable 'name' and set it equal to your name # print the message "Hi, my name is" and your name to the terminal # get the type of the variable 'name' and print it to the terminal
38.8
67
0.721649
36
194
3.888889
0.527778
0.171429
0.214286
0
0
0
0
0
0
0
0
0
0.226804
194
5
68
38.8
0.933333
0.938144
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
1
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
284e88d55f9aff00196815ed1e28db544161af72
11
py
Python
agrid/__init__.py
TobbeTripitaka/grid
5d0d918513a13b89f03b31163de71e08e96032db
[ "MIT" ]
15
2019-03-12T00:18:28.000Z
2021-11-07T20:42:03.000Z
.history/README_20200519103634.md
EvanthiosPapadopoulos/Python3
ab773fd458e365c1510f98ecac65965234c881e8
[ "MIT" ]
8
2019-05-03T23:19:43.000Z
2021-11-02T02:01:28.000Z
.history/README_20200519103634.md
EvanthiosPapadopoulos/Python3
ab773fd458e365c1510f98ecac65965234c881e8
[ "MIT" ]
3
2019-08-06T06:31:08.000Z
2021-10-22T03:11:25.000Z
# Python 3
5.5
10
0.636364
2
11
3.5
1
0
0
0
0
0
0
0
0
0
0
0.125
0.272727
11
1
11
11
0.75
0.727273
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
285b50f9b460edb730a1b170846679413a6c6f3d
99
py
Python
customers/customerauth/apps.py
nkmrohit/python
bd644d51909cda548684b5da98eab998564f3568
[ "Apache-2.0" ]
null
null
null
customers/customerauth/apps.py
nkmrohit/python
bd644d51909cda548684b5da98eab998564f3568
[ "Apache-2.0" ]
null
null
null
customers/customerauth/apps.py
nkmrohit/python
bd644d51909cda548684b5da98eab998564f3568
[ "Apache-2.0" ]
null
null
null
from django.apps import AppConfig class CustomerauthConfig(AppConfig): name = 'customerauth'
16.5
36
0.777778
10
99
7.7
0.9
0
0
0
0
0
0
0
0
0
0
0
0.151515
99
5
37
19.8
0.916667
0
0
0
0
0
0.121212
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
2865ea53b533de2b1b0b54094bd1d62782f5dca7
193
py
Python
umol/app/catalog.py
UMOL/umol-py
521c2beeec4b4f6f916d4ba439c60cc0904dd4ea
[ "MIT" ]
null
null
null
umol/app/catalog.py
UMOL/umol-py
521c2beeec4b4f6f916d4ba439c60cc0904dd4ea
[ "MIT" ]
null
null
null
umol/app/catalog.py
UMOL/umol-py
521c2beeec4b4f6f916d4ba439c60cc0904dd4ea
[ "MIT" ]
null
null
null
""" Return a dict of mapping of string name to actual app's main function date: 06/21/2017 """ from . import diffusion def catalog(): return { "diffusion": diffusion.main, }
14.846154
41
0.647668
27
193
4.62963
0.814815
0
0
0
0
0
0
0
0
0
0
0.054795
0.243523
193
12
42
16.083333
0.80137
0.450777
0
0
0
0
0.091837
0
0
0
0
0
0
1
0.2
true
0
0.2
0.2
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
0
0
1
1
0
0
4
286a572234303720b8a6a98c809654783638791c
179
py
Python
work2/__init__.py
arfu2016/DuReader
66934852c508bff5540596aa71d5ce40c828b37d
[ "Apache-2.0" ]
null
null
null
work2/__init__.py
arfu2016/DuReader
66934852c508bff5540596aa71d5ce40c828b37d
[ "Apache-2.0" ]
null
null
null
work2/__init__.py
arfu2016/DuReader
66934852c508bff5540596aa71d5ce40c828b37d
[ "Apache-2.0" ]
null
null
null
""" @Project : DuReader @Module : __init__.py.py @Author : Deco [deco@cubee.com] @Created : 8/13/18 10:48 AM @Desc : sentence embedding nonparametric parametric """
19.888889
34
0.653631
23
179
4.913043
0.913043
0
0
0
0
0
0
0
0
0
0
0.06338
0.206704
179
9
35
19.888889
0.732394
0.955307
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
287032f6bb7799601c030bfeb0e5febdee1a5763
851
py
Python
twitch/helix/resources/clips.py
jawills/Twitch-Python
9dca3058d17f27130d0dc11327d479fc9ead30ae
[ "MIT" ]
null
null
null
twitch/helix/resources/clips.py
jawills/Twitch-Python
9dca3058d17f27130d0dc11327d479fc9ead30ae
[ "MIT" ]
null
null
null
twitch/helix/resources/clips.py
jawills/Twitch-Python
9dca3058d17f27130d0dc11327d479fc9ead30ae
[ "MIT" ]
null
null
null
from typing import Optional, List import twitch.helix as helix from twitch.api import API from twitch.helix.resources.resource import T from .resource import Resource class Clips(Resource['helix.Clip']): def __init__(self, api: API, **kwargs: Optional): super().__init__(api=api, path='clips') se...
30.392857
75
0.633373
115
851
4.504348
0.356522
0.067568
0.046332
0.061776
0.281853
0.281853
0.177606
0.177606
0.177606
0.177606
0
0.001534
0.233843
851
27
76
31.518519
0.792945
0
0
0
0
0
0.052879
0
0
0
0
0
0
1
0.210526
false
0.052632
0.263158
0.105263
0.631579
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
95733137fa45107e4544273ad67a9fa34bfec24d
6,447
py
Python
Cap1yCap2.py
CURepublicana/Python
6af01f5960bb6c6423b9f57d2c9089d501ff7c69
[ "Apache-2.0" ]
null
null
null
Cap1yCap2.py
CURepublicana/Python
6af01f5960bb6c6423b9f57d2c9089d501ff7c69
[ "Apache-2.0" ]
null
null
null
Cap1yCap2.py
CURepublicana/Python
6af01f5960bb6c6423b9f57d2c9089d501ff7c69
[ "Apache-2.0" ]
null
null
null
#Las palabras clave de Python #Al igual que muchos de los otros lenguajes de programación que va a utilizar, #Python tiene algunas palabras clave que son específicas sólo para él y que no #se puede utilizar en otras partes del código. Estas palabras clave dan #comandos al compilador para que sepa cómo reaccionar a los ...
52.844262
83
0.794168
1,037
6,447
4.936355
0.380906
0.015628
0.008791
0.006251
0.016409
0
0
0
0
0
0
0.001684
0.171087
6,447
121
84
53.280992
0.956213
0.922445
0
0
0
0
0.323232
0
0
0
0
0.008264
0
0
null
null
0.083333
0
null
null
0.666667
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
1
0
0
1
0
0
0
1
0
4
95876740a17994e4e79f72d671f46fbaf99c2b47
256
py
Python
src/charma/persons/images/__init__.py
mononobi/charma-server
ed90f5ec0b5ff3996232d5fe49a4f77f96d82ced
[ "BSD-3-Clause" ]
1
2020-01-16T23:36:10.000Z
2020-01-16T23:36:10.000Z
src/charma/persons/images/__init__.py
mononobi/imovie-server
ed90f5ec0b5ff3996232d5fe49a4f77f96d82ced
[ "BSD-3-Clause" ]
24
2020-06-08T18:27:04.000Z
2021-06-06T12:01:39.000Z
src/charma/persons/images/__init__.py
mononobi/charma-server
ed90f5ec0b5ff3996232d5fe49a4f77f96d82ced
[ "BSD-3-Clause" ]
1
2020-12-20T05:29:04.000Z
2020-12-20T05:29:04.000Z
# -*- coding: utf-8 -*- """ persons images package. """ from pyrin.packaging.base import Package class PersonsImagesPackage(Package): """ persons images package class. """ NAME = __name__ COMPONENT_NAME = 'persons.images.component'
16
47
0.664063
26
256
6.346154
0.576923
0.236364
0.242424
0
0
0
0
0
0
0
0
0.004902
0.203125
256
15
48
17.066667
0.803922
0.296875
0
0
0
0
0.152866
0.152866
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
958d6a1f53bb4dea9d526d01edaecbbc6d5d2e6c
70
py
Python
aurora/optim/__init__.py
upul/Aurora
415a80ac5f7083475baca4a2d187cd102ba7a6c5
[ "Apache-2.0" ]
111
2017-06-10T13:20:20.000Z
2022-03-14T00:05:19.000Z
aurora/optim/__init__.py
upul/Aurora
415a80ac5f7083475baca4a2d187cd102ba7a6c5
[ "Apache-2.0" ]
1
2018-03-04T12:42:49.000Z
2018-03-16T03:15:44.000Z
aurora/optim/__init__.py
upul/Aurora
415a80ac5f7083475baca4a2d187cd102ba7a6c5
[ "Apache-2.0" ]
10
2018-02-23T12:02:29.000Z
2020-10-19T21:58:56.000Z
from .sgd import SGD from .adam import Adam __all__ = ['SGD', 'Adam']
17.5
25
0.685714
11
70
4
0.454545
0
0
0
0
0
0
0
0
0
0
0
0.171429
70
4
25
17.5
0.758621
0
0
0
0
0
0.098592
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
958f4888bda169c9690756ba2af2c37914bbecd1
593
py
Python
IoTPy/core/pwm.py
nodesign/weioVanilla
e6285bb95832b52cc90b811414a80aec65293355
[ "BSD-3-Clause" ]
null
null
null
IoTPy/core/pwm.py
nodesign/weioVanilla
e6285bb95832b52cc90b811414a80aec65293355
[ "BSD-3-Clause" ]
null
null
null
IoTPy/core/pwm.py
nodesign/weioVanilla
e6285bb95832b52cc90b811414a80aec65293355
[ "BSD-3-Clause" ]
null
null
null
class PWM: def __enter__(self): raise NotImplementedError() def __exit__(self, exc_type, exc_value, traceback): raise NotImplementedError() def set_frequency(self, freq): raise NotImplementedError() def set_period(self, period_us): raise NotImplementedError() d...
21.178571
63
0.674536
65
593
5.846154
0.430769
0.442105
0.355263
0.315789
0
0
0
0
0
0
0
0.008811
0.234401
593
27
64
21.962963
0.828194
0
0
0.4375
0
0
0
0
0
0
0
0
0
1
0.4375
false
0
0
0
0.5625
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
95cf03b442c11338fd524d5650499a400b87413c
416
py
Python
swig-2.0.4/Examples/test-suite/python/array_member_runme.py
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
1
2016-04-09T02:58:13.000Z
2016-04-09T02:58:13.000Z
swig-2.0.4/Examples/test-suite/python/array_member_runme.py
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
swig-2.0.4/Examples/test-suite/python/array_member_runme.py
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
from array_member import * f = Foo() f.data = cvar.global_data for i in range(0,8): if get_value(f.data,i) != get_value(cvar.global_data,i): raise RuntimeError, "Bad array assignment" for i in range(0,8): set_value(f.data,i,-i) cvar.global_data = f.data for i in range(0,8): if get_value(f.data...
18.909091
60
0.661058
74
416
3.581081
0.310811
0.09434
0.211321
0.124528
0.735849
0.735849
0.686792
0.686792
0.686792
0.686792
0
0.018127
0.204327
416
21
61
19.809524
0.782477
0
0
0.583333
0
0
0.096618
0
0
0
0
0
0
0
null
null
0
0.083333
null
null
0
0
0
0
null
0
1
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
250c99f13bc3465ea042c06972d34ee990021d87
336
py
Python
agents/random.py
AIcrowd/rl-workshop
6561ecb728342cb77f82806f4f7fb0213529963c
[ "CC0-1.0" ]
23
2020-01-23T12:11:48.000Z
2021-06-29T05:49:48.000Z
agents/random.py
AIcrowd/rl-workshop
6561ecb728342cb77f82806f4f7fb0213529963c
[ "CC0-1.0" ]
3
2021-09-08T01:36:17.000Z
2022-03-12T00:12:57.000Z
agents/random.py
AIcrowd/rl-workshop
6561ecb728342cb77f82806f4f7fb0213529963c
[ "CC0-1.0" ]
23
2020-02-11T11:00:50.000Z
2021-11-02T08:00:14.000Z
# Below are implementations of some standard RL agents class RandomAgent(): """Random agent""" def __init__(self, env): self.env = env def act(self, state): return self.env.action_space.sample() def reset(self): pass def learn(self, state, action, reward, next_state, done...
21
61
0.622024
43
336
4.72093
0.651163
0.103448
0
0
0
0
0
0
0
0
0
0
0.270833
336
15
62
22.4
0.828571
0.196429
0
0.222222
0
0
0
0
0
0
0
0
0
1
0.444444
false
0.222222
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
2512faa594830070620c2954852f575f23c1fb59
832
py
Python
src/shape_constraint_detectors/StringLanguageInDetectorSHACLLanguageIn.py
IDLabResearch/lovstats
dd33183574eed692ee89059ff3c6494160dfb8a9
[ "MIT" ]
1
2018-12-11T13:57:38.000Z
2018-12-11T13:57:38.000Z
src/shape_constraint_detectors/StringLanguageInDetectorSHACLLanguageIn.py
IDLabResearch/lovstats
dd33183574eed692ee89059ff3c6494160dfb8a9
[ "MIT" ]
null
null
null
src/shape_constraint_detectors/StringLanguageInDetectorSHACLLanguageIn.py
IDLabResearch/lovstats
dd33183574eed692ee89059ff3c6494160dfb8a9
[ "MIT" ]
null
null
null
from StringLanguageInDetector import StringLanguageInDetector class StringLanguageInDetectorSHACLLanguageIn(StringLanguageInDetector): """ This class implements the detection of the language-in constraint sh:languageIn. For further information have a look at the parent class. """ def __init__(self...
30.814815
84
0.71875
82
832
7.158537
0.621951
0.051107
0.194208
0
0
0
0
0
0
0
0
0.006006
0.199519
832
26
85
32
0.875375
0.164663
0
0
0
0
0.199405
0.144345
0
0
0
0
0
1
0.357143
false
0
0.071429
0.142857
0.642857
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
25461fbc4c73e4894cd603e7e43af4e8731e74d7
193
py
Python
test/plugins/init.py
fenwar/limbo
a6e42ad90daa3691c2dce846023662e0a650171b
[ "MIT" ]
369
2015-02-24T05:35:22.000Z
2021-11-12T11:26:27.000Z
test/plugins/init.py
fenwar/limbo
a6e42ad90daa3691c2dce846023662e0a650171b
[ "MIT" ]
124
2015-02-24T03:13:44.000Z
2022-02-08T15:04:08.000Z
test/plugins/init.py
fenwar/limbo
a6e42ad90daa3691c2dce846023662e0a650171b
[ "MIT" ]
157
2015-02-28T16:33:16.000Z
2022-03-01T22:36:12.000Z
HAVE_RUN_INIT = "False" def on_init(server): global HAVE_RUN_INIT HAVE_RUN_INIT = "True" def on_message(msg, server): if msg["text"] == u"test_init": return HAVE_RUN_INIT
19.3
35
0.673575
31
193
3.83871
0.516129
0.235294
0.369748
0
0
0
0
0
0
0
0
0
0.212435
193
9
36
21.444444
0.782895
0
0
0
0
0
0.11399
0
0
0
0
0
0
1
0.285714
false
0
0
0
0.428571
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
c256e7980960e0b4ddbfb50c449f6b15df319347
136
py
Python
mldata/tests/test_clearner.py
wuhaifengdhu/MLData
04c174c6ce4a6634d8c885b42a87eee8b0a7c76a
[ "Apache-2.0" ]
null
null
null
mldata/tests/test_clearner.py
wuhaifengdhu/MLData
04c174c6ce4a6634d8c885b42a87eee8b0a7c76a
[ "Apache-2.0" ]
1
2018-03-20T09:21:38.000Z
2018-03-20T09:21:38.000Z
mldata/tests/test_clearner.py
wuhaifengdhu/MLData
04c174c6ce4a6634d8c885b42a87eee8b0a7c76a
[ "Apache-2.0" ]
null
null
null
from mldata.lib.cleaner import Cleaner def test_cleaner(): cleaner = Cleaner([12, '', "null", 4, 6.0]) print(cleaner.clean())
19.428571
47
0.647059
19
136
4.578947
0.736842
0.321839
0
0
0
0
0
0
0
0
0
0.044643
0.176471
136
6
48
22.666667
0.732143
0
0
0
0
0
0.029412
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
0.25
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
c29ae30b85d38c722defbcb5d40476a7490b403e
158
py
Python
src/tests/test_index.py
rombr/plarin-test-task
6eab8879d33d2220488899d4599c63256e5e4f7b
[ "Apache-2.0" ]
null
null
null
src/tests/test_index.py
rombr/plarin-test-task
6eab8879d33d2220488899d4599c63256e5e4f7b
[ "Apache-2.0" ]
null
null
null
src/tests/test_index.py
rombr/plarin-test-task
6eab8879d33d2220488899d4599c63256e5e4f7b
[ "Apache-2.0" ]
null
null
null
def test_read_main(test_client): response = test_client.get("/") assert response.status_code == 200 assert response.json() == {"Hello": "World"}
26.333333
48
0.670886
20
158
5.05
0.7
0.19802
0
0
0
0
0
0
0
0
0
0.022901
0.170886
158
5
49
31.6
0.748092
0
0
0
0
0
0.070064
0
0
0
0
0
0.5
1
0.25
false
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
1
0
1
0
0
0
0
0
0
0
4
c2b730516414b635e8bb42134ab87638b8e72e62
15
py
Python
tests/test_toop.py
Genza999/toop
d0c71de33efe2cdfc730d7cc569de4854b2cb011
[ "MIT" ]
null
null
null
tests/test_toop.py
Genza999/toop
d0c71de33efe2cdfc730d7cc569de4854b2cb011
[ "MIT" ]
null
null
null
tests/test_toop.py
Genza999/toop
d0c71de33efe2cdfc730d7cc569de4854b2cb011
[ "MIT" ]
null
null
null
# tests needed
7.5
14
0.733333
2
15
5.5
1
0
0
0
0
0
0
0
0
0
0
0
0.2
15
1
15
15
0.916667
0.8
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
c2ef7e3bf6acc6bc716c01e8c60665eb6c900b66
73
py
Python
oaatoperator/__init__.py
kawaja/oaat-operator
e3ce56e2b94f922075b402c71e102aec6ae2276b
[ "MIT" ]
1
2021-10-08T06:01:40.000Z
2021-10-08T06:01:40.000Z
oaatoperator/__init__.py
kawaja/oaat-operator
e3ce56e2b94f922075b402c71e102aec6ae2276b
[ "MIT" ]
55
2020-09-05T04:18:26.000Z
2022-03-18T14:11:20.000Z
oaatoperator/__init__.py
kawaja/oaat-operator
e3ce56e2b94f922075b402c71e102aec6ae2276b
[ "MIT" ]
null
null
null
# build scripts will add __version__ at end of this file # flake8: noqa
18.25
56
0.753425
12
73
4.25
1
0
0
0
0
0
0
0
0
0
0
0.017241
0.205479
73
3
57
24.333333
0.862069
0.917808
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
6c010ce233d1a9b3d79a223f387370c6e38020f4
316
py
Python
test_TTD.py
arice84/bootcamp
73a5517bcf282fdb2bd8808eb2bfb839eaceadf1
[ "CC-BY-4.0", "MIT" ]
null
null
null
test_TTD.py
arice84/bootcamp
73a5517bcf282fdb2bd8808eb2bfb839eaceadf1
[ "CC-BY-4.0", "MIT" ]
null
null
null
test_TTD.py
arice84/bootcamp
73a5517bcf282fdb2bd8808eb2bfb839eaceadf1
[ "CC-BY-4.0", "MIT" ]
null
null
null
import pytest import TTD def test_n_neg(): assert TTD.n_neg('E') == 1 assert TTD.n_neg('D') == 1 assert TTD.n_neg('') == 0 assert TTD.n_neg('ACKLWTTAE') == 1 assert TTD.n_neg('DEDE') == 4 assert TTD.n_neg('acklwttae') == 1 pytest.raises(RuntimeError, "TTD.n_neg('Z')") return None
21.066667
49
0.60443
52
316
3.5
0.384615
0.175824
0.269231
0.428571
0.478022
0.252747
0
0
0
0
0
0.024292
0.218354
316
14
50
22.571429
0.712551
0
0
0
0
0
0.120253
0
0
0
0
0
0.545455
1
0.090909
true
0
0.181818
0
0.363636
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
1
0
0
0
0
0
0
4
6c1a401a40a6f2993f5632bdc3f50357e3af69b5
264
py
Python
pyramid_api_example/views/exceptions_view.py
dimkonko/pyramid_api_example
b3bfb8dbe623544af9b147081d3e25c75a191c24
[ "MIT" ]
null
null
null
pyramid_api_example/views/exceptions_view.py
dimkonko/pyramid_api_example
b3bfb8dbe623544af9b147081d3e25c75a191c24
[ "MIT" ]
null
null
null
pyramid_api_example/views/exceptions_view.py
dimkonko/pyramid_api_example
b3bfb8dbe623544af9b147081d3e25c75a191c24
[ "MIT" ]
null
null
null
import logging import pyramid.httpexceptions as exc from pyramid.view import exception_view_config @exception_view_config(Exception) def failed_validation(exception, request): logging.error(exception, exc_info=True) raise exc.HTTPInternalServerError()
22
46
0.82197
32
264
6.59375
0.59375
0.123223
0.180095
0.265403
0
0
0
0
0
0
0
0
0.113636
264
11
47
24
0.901709
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0
0.571429
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
6c4c928aa2f32d45270f8304b546f7d467a79069
319
py
Python
projects/fizzbuzz/python/LoganShy/fizzTest.py
algetty/methods
9a149842f745ef26fa48f0556fe43b9337798e2f
[ "MIT" ]
9
2019-01-15T16:03:56.000Z
2019-05-30T01:00:49.000Z
projects/fizzbuzz/python/LoganShy/fizzTest.py
algetty/methods
9a149842f745ef26fa48f0556fe43b9337798e2f
[ "MIT" ]
34
2019-01-30T19:02:38.000Z
2019-04-23T21:20:36.000Z
projects/fizzbuzz/python/LoganShy/fizzTest.py
algetty/methods
9a149842f745ef26fa48f0556fe43b9337798e2f
[ "MIT" ]
27
2019-01-15T23:37:21.000Z
2019-12-26T20:18:24.000Z
import unittest from fizzbuzz import inpTest class TestMethods(unittest.TestCase): def test_Fizz(self): self.assertEqual(inpTest(3), 1) def test_Buzz(self): self.assertEqual(inpTest(5), 1) def test_Bazz(self): self.assertEqual(inpTest(7), 1) # assertEqual (type(main.))
19.9375
43
0.658307
40
319
5.175
0.525
0.101449
0.275362
0.376812
0
0
0
0
0
0
0
0.024292
0.225705
319
16
44
19.9375
0.813765
0.07837
0
0
0
0
0
0
0
0
0
0
0.333333
1
0.333333
false
0
0.222222
0
0.666667
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
6c57787adb8e5bc989e359c7fdbbd1571eee0cf9
209
py
Python
PyPractice/Q15.py
coedfetr/STTP-python
607d5c03e233dd7c6938ea2495a04701dcf5aed6
[ "Apache-2.0" ]
null
null
null
PyPractice/Q15.py
coedfetr/STTP-python
607d5c03e233dd7c6938ea2495a04701dcf5aed6
[ "Apache-2.0" ]
null
null
null
PyPractice/Q15.py
coedfetr/STTP-python
607d5c03e233dd7c6938ea2495a04701dcf5aed6
[ "Apache-2.0" ]
4
2015-12-24T05:34:46.000Z
2020-03-10T03:39:16.000Z
import re def correct(string): string = re.sub(r'[.]([a-zA-Z])', r'. \1', string) string = re.sub(r'( )+', r'\1', string) return string print correct("This is very funny and cool.Indeed!")
26.125
59
0.574163
33
209
3.636364
0.606061
0.2
0.233333
0.283333
0.3
0
0
0
0
0
0
0.012195
0.215311
209
8
59
26.125
0.719512
0
0
0
0
0
0.309524
0
0
0
0
0
0
0
null
null
0
0.166667
null
null
0.166667
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
1
0
0
0
0
0
0
0
0
4
6c599bf50cb56bfdad53d885680b2555a38b5a58
116
py
Python
minimalist_cms/cms_pagetree/__init__.py
wullerot/django-minimalist-cms
bd6795d9647f9db1d98e83398238c0e63aca3c1b
[ "MIT" ]
null
null
null
minimalist_cms/cms_pagetree/__init__.py
wullerot/django-minimalist-cms
bd6795d9647f9db1d98e83398238c0e63aca3c1b
[ "MIT" ]
null
null
null
minimalist_cms/cms_pagetree/__init__.py
wullerot/django-minimalist-cms
bd6795d9647f9db1d98e83398238c0e63aca3c1b
[ "MIT" ]
null
null
null
from __future__ import unicode_literals default_app_config = 'minimalist_cms.cms_pagetree.apps.CMSPageTreeConfig'
23.2
73
0.87069
14
116
6.571429
0.928571
0
0
0
0
0
0
0
0
0
0
0
0.077586
116
4
74
29
0.859813
0
0
0
0
0
0.431034
0.431034
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
6c8739ada1744ac8b29a09afc31e0fdceab85665
284
py
Python
Estruturas-Sequenciais/ex04.py
ErickdeSouzaDias/Python-Brasil
eede727c91e0a293096779c907af2d56c86fe048
[ "MIT" ]
null
null
null
Estruturas-Sequenciais/ex04.py
ErickdeSouzaDias/Python-Brasil
eede727c91e0a293096779c907af2d56c86fe048
[ "MIT" ]
null
null
null
Estruturas-Sequenciais/ex04.py
ErickdeSouzaDias/Python-Brasil
eede727c91e0a293096779c907af2d56c86fe048
[ "MIT" ]
null
null
null
#Faça um Programa que peça as 4 notas bimestrais e mostre a média. n1 = float(input('Digite a 1º nota: ')) n2 = float(input('Digite a 2º nota: ')) n3 = float(input('Digite a 3º nota: ')) n4 = float(input('Digite a 4º nota: ')) media = (n1+n2+n3+n4)/4 print(f'A média é {media:.2f}.')
35.5
66
0.65493
54
284
3.444444
0.555556
0.215054
0.344086
0.365591
0
0
0
0
0
0
0
0.063559
0.169014
284
7
67
40.571429
0.724576
0.228873
0
0
0
0
0.431193
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
665a23d6fc6875453742793ca4637246298fa0d4
1,491
py
Python
oknlp/algorithm/postagging/bert_postagging/class_list.py
PLNUHT/ink
3542bdfbd7281118c62e0b1ab965dc7ddf279a6d
[ "MIT" ]
6
2021-09-01T02:47:48.000Z
2021-12-21T18:40:05.000Z
oknlp/algorithm/postagging/bert_postagging/class_list.py
PLNUHT/ink
3542bdfbd7281118c62e0b1ab965dc7ddf279a6d
[ "MIT" ]
1
2021-08-10T06:06:23.000Z
2021-08-10T06:06:23.000Z
oknlp/algorithm/postagging/bert_postagging/class_list.py
thunlp/oknlp
3542bdfbd7281118c62e0b1ab965dc7ddf279a6d
[ "MIT" ]
2
2020-08-10T15:13:41.000Z
2021-02-01T03:01:37.000Z
# 'ctb6' classlist = ['O', 'E-NR', 'E-OD', 'B-SP', 'S-AS', 'I-P', 'I-JJ', 'E-IJ', 'S-OD', 'I-OD', 'I-VA', 'E-ETC', 'B-CC', 'S-MSP', 'B-LC', 'E-VA', 'E-VC', 'E-DT', 'I-VC', 'S-PN', 'E-MSP', 'I-PU', 'E-VE', 'B-DT', 'S-CC', 'S-DT', 'S-DER', 'B-AD', 'S-VV', 'S-NR', 'B-OD', 'S-VE', 'B-NN-SHORT', 'S-LB', 'S-CS', 'I-CC', 'E-...
248.5
903
0.424547
340
1,491
1.861765
0.170588
0.014218
0.015798
0
0
0
0
0
0
0
0
0.001522
0.118712
1,491
5
904
298.2
0.480213
0.38833
0
0
0
0
0.506064
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
666c94dfb04c8005dacffdc0cffe23c31e4d221e
4,069
py
Python
DailyProgrammer/DP20150520W.py
DayGitH/Python-Challenges
bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf
[ "MIT" ]
2
2020-12-23T18:59:22.000Z
2021-04-14T13:16:09.000Z
DailyProgrammer/DP20150520W.py
DayGitH/Python-Challenges
bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf
[ "MIT" ]
null
null
null
DailyProgrammer/DP20150520W.py
DayGitH/Python-Challenges
bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf
[ "MIT" ]
null
null
null
""" [Weekly #23] Computational Complexity and Algorithm Design https://www.reddit.com/r/dailyprogrammer/comments/36iufn/weekly_23_computational_complexity_and_algorithm/ # [](#WeeklyIcon) Dynamic Programming and Algorithm Design Programming is fundamentally tied to computer science, which involves the design and opti...
73.981818
119
0.788892
633
4,069
5.034755
0.461295
0.025416
0.033888
0.036712
0.138688
0.138688
0.100408
0
0
0
0
0.014037
0.124601
4,069
54
120
75.351852
0.880685
0.982305
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
6672ab6b955f4f8df7e4ee98e32322f2008e8958
1,057
py
Python
tests/ci_tests/unit/ui/test_ui_driver.py
bgoldbeck/ldraw
61a3fde105d0c0841a571037537ec3347bae8808
[ "MIT" ]
2
2019-02-02T16:45:15.000Z
2019-03-13T19:40:40.000Z
tests/ci_tests/unit/ui/test_ui_driver.py
bgoldbeck/ldraw
61a3fde105d0c0841a571037537ec3347bae8808
[ "MIT" ]
24
2019-01-31T05:10:11.000Z
2019-03-12T15:25:22.000Z
tests/ci_tests/unit/ui/test_ui_driver.py
bgoldbeck/lego-scan
61a3fde105d0c0841a571037537ec3347bae8808
[ "MIT" ]
5
2019-03-20T16:15:46.000Z
2019-07-20T22:36:57.000Z
# Copyright (C) 2018 - This notice is to be included in all relevant source files. # "Brandon Goldbeck" <bpg@pdx.edu> # “Anthony Namba” <anamba@pdx.edu> # “Brandon Le” <lebran@pdx.edu> # “Ann Peake” <peakean@pdx.edu> # “Sohan Tamang” <sohan@pdx.edu> # “An Huynh” <an35@pdx.edu> # “Theron Anderson” <atheron@pdx.edu> # Th...
35.233333
92
0.719962
149
1,057
5.033557
0.57047
0.056
0.08
0.056
0.072
0
0
0
0
0
0
0.00692
0.179754
1,057
30
93
35.233333
0.858131
0.619678
0
0.25
0
0
0
0
0
0
0
0
0
1
0.25
false
0.25
0.416667
0
0.75
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
1
0
1
0
0
4
66788e90b57315d3bac01e6e13f6299353a27719
227
py
Python
inventory/templatetags/graph_extras.py
ktt-ol/ktt-inventory-system
329b2fe1443e75d005fe3cea6cc6f13f746524f4
[ "0BSD" ]
2
2016-07-02T21:55:29.000Z
2019-04-26T16:01:56.000Z
inventory/templatetags/graph_extras.py
ktt-ol/ktt-inventory-system
329b2fe1443e75d005fe3cea6cc6f13f746524f4
[ "0BSD" ]
3
2015-05-09T22:45:15.000Z
2021-09-10T16:20:40.000Z
inventory/templatetags/graph_extras.py
ktt-ol/ktt-inventory-system
329b2fe1443e75d005fe3cea6cc6f13f746524f4
[ "0BSD" ]
3
2015-02-15T22:50:06.000Z
2018-06-08T17:01:29.000Z
from django import template from django.template.defaultfilters import stringfilter register = template.Library() @register.filter(name='graphescape') @stringfilter def graphescape(value): return value.replace('"', '\\"')
25.222222
55
0.770925
24
227
7.291667
0.625
0.114286
0
0
0
0
0
0
0
0
0
0
0.101322
227
8
56
28.375
0.857843
0
0
0
0
0
0.066079
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0.142857
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
0
1
1
0
0
4
66a3eeb3b7fa4ca8d8b150c0cd97e9eac5269d55
13
py
Python
expriment.py
ShahramSeyedi/football
0bc55fc1eb7de887c74495dd44ae76a1483bf8a6
[ "Apache-2.0" ]
null
null
null
expriment.py
ShahramSeyedi/football
0bc55fc1eb7de887c74495dd44ae76a1483bf8a6
[ "Apache-2.0" ]
null
null
null
expriment.py
ShahramSeyedi/football
0bc55fc1eb7de887c74495dd44ae76a1483bf8a6
[ "Apache-2.0" ]
null
null
null
Expriment...
6.5
12
0.692308
1
13
9
1
0
0
0
0
0
0
0
0
0
0
0
0.076923
13
1
13
13
0.75
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
66cfb8d5444bb9a9c11f4f4a7e4e000d5672a40a
29
py
Python
adrh-web/_version.py
esserafael/PythonStuff
97900e48f989b64ccde02f5d676f7f823ec0eed7
[ "MIT" ]
1
2020-08-03T00:19:05.000Z
2020-08-03T00:19:05.000Z
adrh-web/_version.py
esserafael/PythonStuff
97900e48f989b64ccde02f5d676f7f823ec0eed7
[ "MIT" ]
1
2021-08-23T20:43:21.000Z
2021-08-23T20:43:21.000Z
adrh-web/_version.py
esserafael/python-learning-stuff
97900e48f989b64ccde02f5d676f7f823ec0eed7
[ "MIT" ]
null
null
null
__version__ = "0.1.8-alpha"
14.5
28
0.655172
5
29
3
1
0
0
0
0
0
0
0
0
0
0
0.12
0.137931
29
1
29
29
0.48
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
66d7b758f29b1d33560d3350792012cad72ef80e
97
py
Python
tests/bot.py
ninchat/ninchat-python
7e5fcadb7389ca8c7722c32d69839289675d7baa
[ "BSD-2-Clause" ]
null
null
null
tests/bot.py
ninchat/ninchat-python
7e5fcadb7389ca8c7722c32d69839289675d7baa
[ "BSD-2-Clause" ]
4
2017-10-12T21:05:12.000Z
2018-05-17T22:19:08.000Z
tests/bot.py
ninchat/ninchat-python
7e5fcadb7389ca8c7722c32d69839289675d7baa
[ "BSD-2-Clause" ]
null
null
null
import logging from ninchat.bot.asyncio.main import main if __name__ == "__main__": main()
13.857143
41
0.721649
13
97
4.769231
0.692308
0
0
0
0
0
0
0
0
0
0
0
0.175258
97
6
42
16.166667
0.775
0
0
0
0
0
0.082474
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
66ddb326b123dfd4ca297dfe64d0d026fa61a189
81
py
Python
systest/rexursivescan_for_doctest/test_doctest.py
ben5962/pytddmon
42e51590ca10be7048028467a85d6657ecb9ebc4
[ "MIT" ]
12
2015-02-18T11:33:59.000Z
2022-01-22T15:35:05.000Z
systest/rexursivescan_for_doctest/test_doctest.py
ben5962/pytddmon
42e51590ca10be7048028467a85d6657ecb9ebc4
[ "MIT" ]
12
2015-02-18T10:26:51.000Z
2020-10-15T17:53:12.000Z
systest/rexursivescan_for_doctest/test_doctest.py
ben5962/pytddmon
42e51590ca10be7048028467a85d6657ecb9ebc4
[ "MIT" ]
6
2015-12-19T18:07:20.000Z
2020-10-15T16:50:52.000Z
def id_function(x): """ >>> id_function(10) 10 """ return x
10.125
23
0.45679
10
81
3.5
0.6
0.571429
0
0
0
0
0
0
0
0
0
0.078431
0.37037
81
7
24
11.571429
0.607843
0.271605
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
66e65fd6a97bd97614b7dce1253a330eba068e8c
1,918
py
Python
game/player.py
willdzeng/ticket_to_ride
59ebcd65707faa4471c367fc7b5ae5852f0ad6d2
[ "BSD-3-Clause" ]
1
2021-07-11T20:31:07.000Z
2021-07-11T20:31:07.000Z
game/player.py
willdzeng/ticket_to_ride
59ebcd65707faa4471c367fc7b5ae5852f0ad6d2
[ "BSD-3-Clause" ]
null
null
null
game/player.py
willdzeng/ticket_to_ride
59ebcd65707faa4471c367fc7b5ae5852f0ad6d2
[ "BSD-3-Clause" ]
3
2020-08-03T21:51:05.000Z
2022-03-31T22:25:58.000Z
class Player: """ A player. In addition to being a token that allows moves to happen, also has events that trigger on certain game states. """ def __init__(self, name, print_debug=False): self.name = name self.print_debug = print_debug def __str__(self): return self.na...
30.444444
118
0.635558
253
1,918
4.73913
0.332016
0.046706
0.033361
0.037531
0.500417
0.500417
0.500417
0.500417
0.500417
0.500417
0
0
0.30292
1,918
62
119
30.935484
0.896784
0.550574
0
0.3
0
0
0
0
0
0
0
0.032258
0
1
0.45
false
0.2
0
0.05
0.7
0.15
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
1
0
0
1
0
0
4
dd26206d53ca057d9016d3d4d82265f04b72cf37
5,645
py
Python
SBaaS_thermodynamics/stage03_quantification_dG_p_postgresql_models.py
dmccloskey/SBaaS_thermodynamics
0eeed0191f952ea0226ab8bbc234a30638fb2f9f
[ "MIT" ]
null
null
null
SBaaS_thermodynamics/stage03_quantification_dG_p_postgresql_models.py
dmccloskey/SBaaS_thermodynamics
0eeed0191f952ea0226ab8bbc234a30638fb2f9f
[ "MIT" ]
null
null
null
SBaaS_thermodynamics/stage03_quantification_dG_p_postgresql_models.py
dmccloskey/SBaaS_thermodynamics
0eeed0191f952ea0226ab8bbc234a30638fb2f9f
[ "MIT" ]
null
null
null
#SBaaS base from SBaaS_base.postgresql_orm_base import * class data_stage03_quantification_dG_p(Base): __tablename__ = 'data_stage03_quantification_dG_p' id = Column(Integer, Sequence('data_stage03_quantification_dG_p_id_seq'), primary_key=True) experiment_id = Column(String(50)) model_id = Column(Strin...
40.321429
109
0.638264
827
5,645
3.775091
0.068924
0.04132
0.066624
0.019218
0.904228
0.827034
0.700192
0.668161
0.636771
0.636771
0
0.019668
0.252436
5,645
140
110
40.321429
0.720142
0.001771
0
0.589147
0
0
0.129193
0.051109
0
0
0
0
0
1
0.062016
false
0
0.007752
0.031008
0.348837
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
dd309a051d2f9cb46a5c3ef34742c04cb08ce0fe
188
py
Python
slr/submission_app/views.py
iamvineettiwari012/WSoC-TestRepo1
917ad850c3eaf62a8c07f45d19f5dac3fa053af0
[ "Apache-2.0" ]
null
null
null
slr/submission_app/views.py
iamvineettiwari012/WSoC-TestRepo1
917ad850c3eaf62a8c07f45d19f5dac3fa053af0
[ "Apache-2.0" ]
null
null
null
slr/submission_app/views.py
iamvineettiwari012/WSoC-TestRepo1
917ad850c3eaf62a8c07f45d19f5dac3fa053af0
[ "Apache-2.0" ]
null
null
null
from django.shortcuts import render from django.views.generic import TemplateView app_name = 'submission_app' class Index(TemplateView): template_name = 'submission_app/index.html'
20.888889
47
0.803191
24
188
6.125
0.625
0.136054
0.231293
0
0
0
0
0
0
0
0
0
0.12234
188
8
48
23.5
0.890909
0
0
0
0
0
0.208556
0.13369
0
0
0
0
0
1
0
false
0
0.4
0
0.8
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
1
0
0
0
0
4
dd59490626c3985f138b1372790597ee5a4976f1
64
py
Python
klasses/java_lang_Runtime.py
MrHamdulay/myjvm
03fbe54139a7fa77bd89b2305ba251ae85009ee8
[ "MIT" ]
2
2016-08-29T16:50:52.000Z
2017-02-22T09:34:00.000Z
klasses/java_lang_Runtime.py
MrHamdulay/myjvm
03fbe54139a7fa77bd89b2305ba251ae85009ee8
[ "MIT" ]
null
null
null
klasses/java_lang_Runtime.py
MrHamdulay/myjvm
03fbe54139a7fa77bd89b2305ba251ae85009ee8
[ "MIT" ]
null
null
null
def availableProcessors(klass, vm, method, frame): return 1
21.333333
50
0.734375
8
64
5.875
1
0
0
0
0
0
0
0
0
0
0
0.018868
0.171875
64
2
51
32
0.867925
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
dd6e6c13ebdae3cede9629a7f80af9ab3dd10763
81
py
Python
src/backend/hse/apps.py
AndreyBakurskii/Coursework
638f9ded4444ebc15a4857f56dafe27fa4e11704
[ "MIT" ]
null
null
null
src/backend/hse/apps.py
AndreyBakurskii/Coursework
638f9ded4444ebc15a4857f56dafe27fa4e11704
[ "MIT" ]
null
null
null
src/backend/hse/apps.py
AndreyBakurskii/Coursework
638f9ded4444ebc15a4857f56dafe27fa4e11704
[ "MIT" ]
null
null
null
from django.apps import AppConfig class HseConfig(AppConfig): name = 'hse'
13.5
33
0.728395
10
81
5.9
0.9
0
0
0
0
0
0
0
0
0
0
0
0.185185
81
5
34
16.2
0.893939
0
0
0
0
0
0.037037
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
dd77c1bf51bdf88a2c1b75ed06a1667cdfd586d8
223
py
Python
01-blockchain/utility/__init__.py
TranXuanHoang/Python
6e62282540a7f1e2b2d0dff99b1803715bf6c4b0
[ "CNRI-Python" ]
null
null
null
01-blockchain/utility/__init__.py
TranXuanHoang/Python
6e62282540a7f1e2b2d0dff99b1803715bf6c4b0
[ "CNRI-Python" ]
null
null
null
01-blockchain/utility/__init__.py
TranXuanHoang/Python
6e62282540a7f1e2b2d0dff99b1803715bf6c4b0
[ "CNRI-Python" ]
null
null
null
from utility.hash_util import hash_block, hash_string_256 from utility.printable import Printable from utility.verification import Verification __all__ = ['hash_block', 'hash_string_256', 'Printable', 'Verification']
37.166667
73
0.807175
28
223
6.035714
0.392857
0.195266
0.153846
0.224852
0.260355
0
0
0
0
0
0
0.030303
0.112108
223
5
74
44.6
0.823232
0
0
0
0
0
0.211009
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0.25
1
0
0
null
0
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
1
0
0
0
0
4
06f1780e13bef490f1f459114b2332cfc41ee770
350
py
Python
core/activity.py
hyouv/Darknights-server
5ec9041339d9db1ef17ae2889939f16bb51c4171
[ "Apache-2.0" ]
112
2021-09-11T14:26:23.000Z
2022-03-28T14:29:59.000Z
core/activity.py
hyouv/Darknights-server
5ec9041339d9db1ef17ae2889939f16bb51c4171
[ "Apache-2.0" ]
7
2021-09-11T14:59:54.000Z
2022-01-24T21:25:01.000Z
core/activity.py
hyouv/Darknights-server
5ec9041339d9db1ef17ae2889939f16bb51c4171
[ "Apache-2.0" ]
33
2021-09-11T14:56:26.000Z
2022-03-20T20:55:58.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # Description: Activity System from bottle import * import json @route('/activity/getActivityCheckInReward', method='POST') def checkIn(): return json.loads('{"result":0}') @route('/activity/gridGacha/gacha', method='POST') def gridGacha(): retur...
20.588235
60
0.645714
40
350
5.65
0.65
0.115044
0.115044
0.185841
0.19469
0
0
0
0
0
0
0.010274
0.165714
350
16
61
21.875
0.763699
0.202857
0
0.25
0
0
0.35
0.226923
0
0
0
0
0
1
0.25
true
0
0.25
0.25
0.75
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
1
0
0
0
4
06f6b2aae22faed1e639495c572e8bd5697c8faf
159
py
Python
Search/models.py
xcamilox/searchengine
ad5e6d661ccb83ab383ac4dd11d8766e8c7606e2
[ "Apache-2.0" ]
null
null
null
Search/models.py
xcamilox/searchengine
ad5e6d661ccb83ab383ac4dd11d8766e8c7606e2
[ "Apache-2.0" ]
null
null
null
Search/models.py
xcamilox/searchengine
ad5e6d661ccb83ab383ac4dd11d8766e8c7606e2
[ "Apache-2.0" ]
null
null
null
from django.db import models from astroquery.utils import TableList # Create your models here. class Catalog(models.Model): tables = models.TextField()
17.666667
38
0.767296
21
159
5.809524
0.761905
0
0
0
0
0
0
0
0
0
0
0
0.157233
159
8
39
19.875
0.910448
0.150943
0
0
0
0
0
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
661978e294dba98050cde23946867c9079648e2e
106
py
Python
tests/test_day00.py
rouge8/advent-of-code-2021
1515ed32ca355b4838c83e125e474fe7a45ef1ad
[ "MIT" ]
null
null
null
tests/test_day00.py
rouge8/advent-of-code-2021
1515ed32ca355b4838c83e125e474fe7a45ef1ad
[ "MIT" ]
null
null
null
tests/test_day00.py
rouge8/advent-of-code-2021
1515ed32ca355b4838c83e125e474fe7a45ef1ad
[ "MIT" ]
null
null
null
from advent_of_code_2021.day00 import part1 DATA = [] def test_part1(): assert part1(DATA) == None
13.25
43
0.707547
16
106
4.4375
0.8125
0.253521
0
0
0
0
0
0
0
0
0
0.104651
0.188679
106
7
44
15.142857
0.72093
0
0
0
0
0
0
0
0
0
0
0
0.25
1
0.25
false
0
0.25
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
663474ae8e107dc45d5361c4df5b29f86454c250
166
py
Python
service/flask_app/wsgi.py
dnck/flask-postgres-nginx-docker-compose-example-app
f0666b355a7ce026d5081c540277e5bfd3722477
[ "MIT" ]
1
2019-08-29T09:05:05.000Z
2019-08-29T09:05:05.000Z
service/flask_app/wsgi.py
dnck/flask-postgres-nginx-docker-compose-example-app
f0666b355a7ce026d5081c540277e5bfd3722477
[ "MIT" ]
null
null
null
service/flask_app/wsgi.py
dnck/flask-postgres-nginx-docker-compose-example-app
f0666b355a7ce026d5081c540277e5bfd3722477
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Module for running the production http server """ from views import APP as application if __name__ == "__main__": application.run()
16.6
45
0.674699
21
166
4.952381
0.952381
0
0
0
0
0
0
0
0
0
0
0.007407
0.186747
166
9
46
18.444444
0.762963
0.409639
0
0
0
0
0.088889
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
6641fc7c2f593e75ab4f9faea682a64df80b0738
215
py
Python
wiebetaaltwat/models.py
thaliawww/eetFestijn
6da04cb626f66b3aef55dbea6ca690ced674dd8f
[ "CC0-1.0" ]
1
2018-10-11T16:46:40.000Z
2018-10-11T16:46:40.000Z
wiebetaaltwat/models.py
thaliawww/eetFestijn
6da04cb626f66b3aef55dbea6ca690ced674dd8f
[ "CC0-1.0" ]
47
2018-06-11T13:55:41.000Z
2019-10-23T19:29:37.000Z
wiebetaaltwat/models.py
thaliawww/eetFestijn
6da04cb626f66b3aef55dbea6ca690ced674dd8f
[ "CC0-1.0" ]
null
null
null
from django.db import models class Participant(models.Model): wbw_id = models.CharField(unique=True, max_length=40) name = models.CharField(max_length=200) def __str__(self): return self.name
21.5
57
0.716279
30
215
4.9
0.733333
0.204082
0
0
0
0
0
0
0
0
0
0.028571
0.186047
215
9
58
23.888889
0.811429
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0.166667
1
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
4
66454f6062a6e04c0340e3f3140348d21fd38dcc
60
py
Python
agents/deep_q_learning/config.py
pedMatias/matias_hfo
6d88e1043a1455f5c1f6cc11b9380869772f4176
[ "MIT" ]
1
2021-06-03T20:03:50.000Z
2021-06-03T20:03:50.000Z
agents/deep_q_learning/config.py
pedMatias/matias_hfo
6d88e1043a1455f5c1f6cc11b9380869772f4176
[ "MIT" ]
null
null
null
agents/deep_q_learning/config.py
pedMatias/matias_hfo
6d88e1043a1455f5c1f6cc11b9380869772f4176
[ "MIT" ]
1
2021-03-14T01:22:33.000Z
2021-03-14T01:22:33.000Z
MODEL_DIR = "/matias_project/agents/deep_q_learning/models"
30
59
0.833333
9
60
5.111111
1
0
0
0
0
0
0
0
0
0
0
0
0.05
60
1
60
60
0.807018
0
0
0
0
0
0.75
0.75
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
b075c48066e34a6ee2938a82b6432ae0e77e59e0
153
py
Python
spinta/dimensions/param/components.py
atviriduomenys/spinta
77a10e201f8cdc63143fce7996fd0898acb1ff58
[ "MIT" ]
2
2019-03-14T06:41:14.000Z
2019-03-26T11:48:14.000Z
spinta/dimensions/param/components.py
sirex/spinta
77a10e201f8cdc63143fce7996fd0898acb1ff58
[ "MIT" ]
44
2019-04-05T15:52:45.000Z
2022-03-30T07:41:33.000Z
spinta/dimensions/param/components.py
sirex/spinta
77a10e201f8cdc63143fce7996fd0898acb1ff58
[ "MIT" ]
1
2019-04-01T09:54:27.000Z
2019-04-01T09:54:27.000Z
from typing import Any from typing import Dict from spinta.core.ufuncs import Env class ParamBuilder(Env): pass ResolvedParams = Dict[str, Any]
12.75
34
0.75817
22
153
5.272727
0.636364
0.172414
0.275862
0
0
0
0
0
0
0
0
0
0.183007
153
11
35
13.909091
0.928
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.166667
0.5
0
0.666667
0
1
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
1
0
0
0
0
4
b08db3dba4d94ec051b58830bb269fb617bb5e74
96
py
Python
airflow_dbt/hooks/__init__.py
dinigo/airflow-dbt
ce732b2e16bd9a4e4fc39543147ff1f384b7c7fa
[ "MIT" ]
null
null
null
airflow_dbt/hooks/__init__.py
dinigo/airflow-dbt
ce732b2e16bd9a4e4fc39543147ff1f384b7c7fa
[ "MIT" ]
null
null
null
airflow_dbt/hooks/__init__.py
dinigo/airflow-dbt
ce732b2e16bd9a4e4fc39543147ff1f384b7c7fa
[ "MIT" ]
null
null
null
from .base import DbtBaseHook from .cli import DbtCliHook from .google import DbtCloudBuildHook
24
37
0.84375
12
96
6.75
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.125
96
3
38
32
0.964286
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
b0cf9651cef29feff6fb2ddf4f9712afcd98afb0
64
py
Python
src/__init__.py
damiancs/WaterCapacitySolver
c9c71cc3b87d9aaea89c0956b7b90b48407fb424
[ "MIT" ]
null
null
null
src/__init__.py
damiancs/WaterCapacitySolver
c9c71cc3b87d9aaea89c0956b7b90b48407fb424
[ "MIT" ]
null
null
null
src/__init__.py
damiancs/WaterCapacitySolver
c9c71cc3b87d9aaea89c0956b7b90b48407fb424
[ "MIT" ]
null
null
null
# coding=utf-8 """ Init file for WaterCapacitySolver module. """
16
41
0.71875
8
64
5.75
1
0
0
0
0
0
0
0
0
0
0
0.017857
0.125
64
4
42
16
0.803571
0.859375
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
b0df63aa1cf67c1a6191179bab6d57abd1052152
276
py
Python
sigmapiweb/apps/Scholarship/admin.py
sigmapi-gammaiota/sigmapi-web
4648112c8ed65694a2d07aa3af9573868cf72b45
[ "MIT" ]
8
2018-01-19T15:27:24.000Z
2022-02-04T05:57:01.000Z
sigmapiweb/apps/Scholarship/admin.py
sigmapi-gammaiota/sigmapi-web
4648112c8ed65694a2d07aa3af9573868cf72b45
[ "MIT" ]
71
2017-07-17T04:44:35.000Z
2022-02-19T19:33:24.000Z
sigmapiweb/apps/Scholarship/admin.py
sigmapi-gammaiota/sigmapi-web
4648112c8ed65694a2d07aa3af9573868cf72b45
[ "MIT" ]
6
2019-04-12T03:18:12.000Z
2021-09-28T23:33:12.000Z
""" Admin config for Scholarship app. """ from common.utils import register_model_admins from .models import AcademicResource, LibraryItem, StudyHoursRecord, TrackedUser register_model_admins( AcademicResource, LibraryItem, StudyHoursRecord, TrackedUser, )
18.4
80
0.778986
26
276
8.115385
0.653846
0.123223
0.180095
0.511848
0
0
0
0
0
0
0
0
0.155797
276
14
81
19.714286
0.905579
0.119565
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
7c0970dc8d7bed81fabb0c952676923db0cee5b1
96
py
Python
wechat/FileHelper.py
Anthlay/FUN_TOOLS
8706ac48d432e7752bea654857725542dc1a4897
[ "Apache-2.0" ]
1
2020-12-21T04:12:44.000Z
2020-12-21T04:12:44.000Z
wechat/FileHelper.py
Anthlay/FUN_TOOLS
8706ac48d432e7752bea654857725542dc1a4897
[ "Apache-2.0" ]
2
2021-03-31T19:32:43.000Z
2021-12-13T20:32:30.000Z
wechat/FileHelper.py
Anthlay/FUN_TOOLS
8706ac48d432e7752bea654857725542dc1a4897
[ "Apache-2.0" ]
null
null
null
import itchat itchat.send('hello stranger!',toUserName='filehelper') itchat.auto_login(True)
13.714286
54
0.78125
12
96
6.166667
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.083333
96
6
55
16
0.840909
0
0
0
0
0
0.263158
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
7c0bf96fb98b0976e21149bae066e338323cf18a
324
py
Python
python/run-length-encoding/run_length_encoding.py
RockLloque/Exercism
c437dd6cf3246576900c76c2dba775b6647e3347
[ "MIT" ]
null
null
null
python/run-length-encoding/run_length_encoding.py
RockLloque/Exercism
c437dd6cf3246576900c76c2dba775b6647e3347
[ "MIT" ]
null
null
null
python/run-length-encoding/run_length_encoding.py
RockLloque/Exercism
c437dd6cf3246576900c76c2dba775b6647e3347
[ "MIT" ]
null
null
null
import re def decode(string): string = re.sub(r'([a-z])([a-z])', r'\g<1>1\2', string) return re.sub(r'(\d+)(\D)' , lambda x: x.group(2) * int(x.group(1)),string) def encode(string): string= re.sub(r'(.)\1*', lambda m: str(len(m.group(0))) + m.group(1), string) return re.sub(r'1(\D)', r'\1', str...
40.5
83
0.546296
63
324
2.809524
0.365079
0.112994
0.135593
0.19209
0.40678
0
0
0
0
0
0
0.037175
0.169753
324
8
84
40.5
0.620818
0
0
0
0
0
0.135385
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0
0.714286
0
0
0
0
null
0
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
1
0
0
0
0
1
0
0
4
7c0d4eb57905e6b395a17775c73c552c8f8cdd82
154
py
Python
rlutils/infra/samplers/__init__.py
vermouth1992/rl-util
4c06ab8f5c96a44e58f88cf30146bcb837057112
[ "Apache-2.0" ]
null
null
null
rlutils/infra/samplers/__init__.py
vermouth1992/rl-util
4c06ab8f5c96a44e58f88cf30146bcb837057112
[ "Apache-2.0" ]
null
null
null
rlutils/infra/samplers/__init__.py
vermouth1992/rl-util
4c06ab8f5c96a44e58f88cf30146bcb837057112
[ "Apache-2.0" ]
null
null
null
from .base import Sampler from .trajectory import TrajectorySampler from .batch import BatchSampler from .batch_frame_stack import BatchFrameStackSampler
30.8
53
0.87013
18
154
7.333333
0.611111
0.136364
0
0
0
0
0
0
0
0
0
0
0.103896
154
4
54
38.5
0.956522
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
9fcefdba65f6d36ad7470d8e0d972d0237b6b1c0
490
py
Python
wego/helpers/__init__.py
hedou/wego
4c9bd6957c9c30de676a3efa011fb1dd584030c4
[ "Apache-2.0" ]
98
2016-08-11T15:21:08.000Z
2021-07-28T05:46:37.000Z
wego/helpers/__init__.py
hedou/wego
4c9bd6957c9c30de676a3efa011fb1dd584030c4
[ "Apache-2.0" ]
2
2016-10-19T05:27:14.000Z
2018-03-09T01:47:47.000Z
wego/helpers/__init__.py
hedou/wego
4c9bd6957c9c30de676a3efa011fb1dd584030c4
[ "Apache-2.0" ]
32
2016-09-23T15:06:32.000Z
2020-09-29T09:23:53.000Z
# -*- coding: utf-8 -*- """ wego.helpers is compatibility for web framework such as tornado, django and flask Each helper must contain the following functions: class YourHelper(wego.helper.BaseHelper): def wego_get_current_url(self, request): pass def wego_set_session(self, request, key, value): ...
19.6
81
0.687755
65
490
5.046154
0.630769
0.085366
0.10061
0.128049
0
0
0
0
0
0
0
0.002625
0.222449
490
24
82
20.416667
0.858268
0.9
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
9fd199cf27d7f1bfed4419e3ac3bdb5d35ba614c
153
py
Python
packs/consul/actions/list_datacenters.py
userlocalhost2000/st2contrib
1a5f759e76401743ed9023d298a3d767e3885db1
[ "Apache-2.0" ]
164
2015-01-17T16:08:33.000Z
2021-08-03T02:34:07.000Z
packs/consul/actions/list_datacenters.py
userlocalhost2000/st2contrib
1a5f759e76401743ed9023d298a3d767e3885db1
[ "Apache-2.0" ]
442
2015-01-01T11:19:01.000Z
2017-09-06T23:26:17.000Z
packs/consul/actions/list_datacenters.py
userlocalhost2000/st2contrib
1a5f759e76401743ed9023d298a3d767e3885db1
[ "Apache-2.0" ]
202
2015-01-13T00:37:40.000Z
2020-11-07T11:30:10.000Z
from lib import action class ConsulListDatacentersAction(action.ConsulBaseAction): def run(self): return self.consul.catalog.datacenters()
21.857143
59
0.764706
16
153
7.3125
0.875
0
0
0
0
0
0
0
0
0
0
0
0.156863
153
6
60
25.5
0.906977
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0.25
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
4
9fda58090ef333392f75cf8c8b98444a75fe0d24
8,752
py
Python
tests/test_datetime.py
sanjaymsh/Fiona
7be39538f7317efec3e60b8dc722af7e8fea6d52
[ "BSD-3-Clause" ]
null
null
null
tests/test_datetime.py
sanjaymsh/Fiona
7be39538f7317efec3e60b8dc722af7e8fea6d52
[ "BSD-3-Clause" ]
null
null
null
tests/test_datetime.py
sanjaymsh/Fiona
7be39538f7317efec3e60b8dc722af7e8fea6d52
[ "BSD-3-Clause" ]
1
2021-04-12T05:38:58.000Z
2021-04-12T05:38:58.000Z
""" See also test_rfc3339.py for datetime parser tests. """ import fiona import pytest import tempfile, shutil import os from fiona.errors import DriverSupportError from .conftest import requires_gpkg GDAL_MAJOR_VER = fiona.get_gdal_version_num() // 1000000 GEOMETRY_TYPE = "Point" GEOMETRY_EXAMPLE = {"type": "Point"...
32.535316
92
0.559644
876
8,752
5.488584
0.124429
0.072795
0.06406
0.051373
0.827371
0.728993
0.701747
0.648503
0.618968
0.611481
0
0.020521
0.315128
8,752
268
93
32.656716
0.781615
0.108318
0
0.681592
0
0
0.138742
0
0
0
0
0
0.164179
1
0.074627
false
0
0.029851
0
0.134328
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
b02dee7b85acaefae1ced1f2e3b2aa408184d79c
284
py
Python
src/mqttpacket/v311/_errors.py
jlitzingerdev/mqttpacket
d6fbb84ef24c5c5bc9798692206e074a2dbf3af6
[ "MIT" ]
null
null
null
src/mqttpacket/v311/_errors.py
jlitzingerdev/mqttpacket
d6fbb84ef24c5c5bc9798692206e074a2dbf3af6
[ "MIT" ]
1
2021-06-01T22:38:18.000Z
2021-06-01T22:38:18.000Z
src/mqttpacket/v311/_errors.py
jlitzingerdev/mqttpacket
d6fbb84ef24c5c5bc9798692206e074a2dbf3af6
[ "MIT" ]
1
2020-03-15T03:57:21.000Z
2020-03-15T03:57:21.000Z
""" Copyright 2018 Jason Litzinger See LICENSE for details. """ class MQTTParseError(Exception): """Parse error""" class MQTTMoreDataNeededError(Exception): """Parse Error when more data is needed.""" class MQTTInvalidPacketError(Exception): """Invalid packet"""
17.75
47
0.707746
28
284
7.178571
0.785714
0.139303
0.189055
0
0
0
0
0
0
0
0
0.016949
0.169014
284
15
48
18.933333
0.834746
0.422535
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
1
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
4
c6640dc3c16241806bcb10ac8374a46f7386e914
309
py
Python
execeptions.py
LucaDiBona/zw
a7040c533588096c7e840adc63012ccbbde80146
[ "MIT" ]
1
2022-03-29T11:58:57.000Z
2022-03-29T11:58:57.000Z
execeptions.py
LucaDiBona/zw
a7040c533588096c7e840adc63012ccbbde80146
[ "MIT" ]
null
null
null
execeptions.py
LucaDiBona/zw
a7040c533588096c7e840adc63012ccbbde80146
[ "MIT" ]
null
null
null
class InvalidWordErr(Exception): def __init__(self,message="Invalid Word"): self.message = message super().__init__(self.message) class TargetNotFoundErr(Exception): def __init__(self,message="Target not found"): self.message = message super().__init__(self.message)
28.090909
50
0.686084
33
309
5.939394
0.424242
0.336735
0.306122
0.204082
0.663265
0.387755
0.387755
0
0
0
0
0
0.197411
309
11
51
28.090909
0.790323
0
0
0.5
0
0
0.090323
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
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
c6837115f1ff20afd6cc8ef96385cc8f2bd551dd
408
py
Python
tests/test_unittest.py
scottwedge/python-sample-ci
f944eb4b19caa17e61ffcf79e330a905eaac9169
[ "MIT" ]
null
null
null
tests/test_unittest.py
scottwedge/python-sample-ci
f944eb4b19caa17e61ffcf79e330a905eaac9169
[ "MIT" ]
1
2020-01-28T18:58:56.000Z
2020-01-28T18:58:56.000Z
tests/test_unittest.py
scottwedge/python-sample-ci
f944eb4b19caa17e61ffcf79e330a905eaac9169
[ "MIT" ]
2
2018-02-26T18:59:53.000Z
2020-01-28T18:52:49.000Z
import unittest, os class Example(unittest.TestCase): def test_sum(self): self.assertEqual(1+1, 2, "SUM unittest failed") def test_subtract(self): self.assertEqual(2-1, 1, "SUBTRACT unittest failed") def test_multiply(self): self.assertEqual(1*2, 2, "MULTIPLY unittest failed") ...
27.2
60
0.671569
55
408
4.909091
0.309091
0.103704
0.281481
0.233333
0
0
0
0
0
0
0
0.037152
0.208333
408
14
61
29.142857
0.798762
0
0
0
0
0
0.223039
0
0
0
0
0
0.4
1
0.4
false
0
0.1
0
0.6
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
c6946c2fb2254680b481fc26f9cb0732351f5b5a
23
py
Python
aliyun-python-sdk-ivpd/aliyunsdkivpd/__init__.py
yndu13/aliyun-openapi-python-sdk
12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5
[ "Apache-2.0" ]
1,001
2015-07-24T01:32:41.000Z
2022-03-25T01:28:18.000Z
aliyun-python-sdk-ivpd/aliyunsdkivpd/__init__.py
yndu13/aliyun-openapi-python-sdk
12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5
[ "Apache-2.0" ]
363
2015-10-20T03:15:00.000Z
2022-03-08T12:26:19.000Z
aliyun-python-sdk-ivpd/aliyunsdkivpd/__init__.py
yndu13/aliyun-openapi-python-sdk
12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5
[ "Apache-2.0" ]
682
2015-09-22T07:19:02.000Z
2022-03-22T09:51:46.000Z
__version__ = '1.0.6.1'
23
23
0.652174
5
23
2.2
0.8
0
0
0
0
0
0
0
0
0
0
0.190476
0.086957
23
1
23
23
0.333333
0
0
0
0
0
0.291667
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
c6a0cf8fbc7c58d38b4bc7ff61e3994fe0dc8690
31
py
Python
leetcode/130.py
pingrunhuang/CodeChallenge
a8e5274e04c47d851836197907266418af4f1a22
[ "MIT" ]
null
null
null
leetcode/130.py
pingrunhuang/CodeChallenge
a8e5274e04c47d851836197907266418af4f1a22
[ "MIT" ]
null
null
null
leetcode/130.py
pingrunhuang/CodeChallenge
a8e5274e04c47d851836197907266418af4f1a22
[ "MIT" ]
null
null
null
""" 130. Surrounded Regions """
10.333333
23
0.645161
3
31
6.666667
1
0
0
0
0
0
0
0
0
0
0
0.111111
0.129032
31
3
24
10.333333
0.62963
0.741935
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
c6be71dc37366f3c2a2904a3773c963c8e8dcf0f
71,523
py
Python
inputcreate.py
milanboers/kaggle-airbnb
3ca7ea3b9a5404285d1b56ebb6300fa71d9ff452
[ "MIT" ]
null
null
null
inputcreate.py
milanboers/kaggle-airbnb
3ca7ea3b9a5404285d1b56ebb6300fa71d9ff452
[ "MIT" ]
null
null
null
inputcreate.py
milanboers/kaggle-airbnb
3ca7ea3b9a5404285d1b56ebb6300fa71d9ff452
[ "MIT" ]
null
null
null
import csv import numpy as np import pandas from datetime import date from agebuckets import getbucket from pandas.tseries.holiday import USFederalHolidayCalendar from sklearn.preprocessing import scale def realage(age): return -1 if age == '' or float(age) > 110 or float(age) < 5 else float(age) def scal...
193.829268
20,657
0.660025
7,497
71,523
5.985861
0.101107
0.0808
0.012835
0.005393
0.541514
0.421829
0.334901
0.29176
0.254056
0.22141
0
0.007553
0.085581
71,523
369
20,658
193.829268
0.678603
0.022678
0
0.268
0
0
0.624615
0.147772
0
0
0
0.00542
0
0
null
null
0.024
0.044
null
null
0.028
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
1
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
c6cda5c6490b6e111e18e74578af8dd58d40a2bf
516
py
Python
adventofcode/day2.py
dashnak90/stuff
40f899c052f17716c20ba58add5819d7919f80ac
[ "MIT" ]
null
null
null
adventofcode/day2.py
dashnak90/stuff
40f899c052f17716c20ba58add5819d7919f80ac
[ "MIT" ]
null
null
null
adventofcode/day2.py
dashnak90/stuff
40f899c052f17716c20ba58add5819d7919f80ac
[ "MIT" ]
null
null
null
with open('text', 'r') as s: count=0 for i in s: line=i.split() b,e=line[0].split('-') if int(b) <= line[2].count(line[1][0]) <= int(e): count+=1 print(count) with open('text', 'r') as s: count=0 for i in s: line=i.split() b,e=line[0].split...
20.64
150
0.459302
96
516
2.46875
0.239583
0.105485
0.126582
0.118143
0.742616
0.7173
0.7173
0.7173
0.447257
0.447257
0
0.067935
0.286822
516
25
151
20.64
0.576087
0
0
0.875
0
0
0.023211
0
0
0
0
0
0
1
0
false
0
0
0
0
0.125
0
0
0
null
0
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
c6def0351a63cfd780b1a1fa6d3fbd075634f835
87
py
Python
AgroNP/apps.py
gitLeii/HealthCare
ad987c1c9dfda95484fb7f81bb5dc2bb4acc9ca5
[ "MIT" ]
1
2021-11-17T18:09:59.000Z
2021-11-17T18:09:59.000Z
AgroNP/apps.py
gitLeii/HealthCare
ad987c1c9dfda95484fb7f81bb5dc2bb4acc9ca5
[ "MIT" ]
null
null
null
AgroNP/apps.py
gitLeii/HealthCare
ad987c1c9dfda95484fb7f81bb5dc2bb4acc9ca5
[ "MIT" ]
null
null
null
from django.apps import AppConfig class AgronpConfig(AppConfig): name = 'AgroNP'
14.5
33
0.747126
10
87
6.5
0.9
0
0
0
0
0
0
0
0
0
0
0
0.172414
87
5
34
17.4
0.902778
0
0
0
0
0
0.068966
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
05bb8df17dbf7ff771664b6309813463b5e072ee
110
py
Python
migrant_irregulier/apps.py
ghassen3699/Site_web_Projet
20eca8ded72f4e798862dd5440000afe04892092
[ "Apache-2.0" ]
null
null
null
migrant_irregulier/apps.py
ghassen3699/Site_web_Projet
20eca8ded72f4e798862dd5440000afe04892092
[ "Apache-2.0" ]
null
null
null
migrant_irregulier/apps.py
ghassen3699/Site_web_Projet
20eca8ded72f4e798862dd5440000afe04892092
[ "Apache-2.0" ]
null
null
null
from django.apps import AppConfig class MigrantIrregulierConfig(AppConfig): name = 'migrant_irregulier'
18.333333
41
0.8
11
110
7.909091
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.136364
110
5
42
22
0.915789
0
0
0
0
0
0.163636
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
af0ca58ef36efe2096342c83ce39189cee18521a
114
py
Python
src/analysis/infomap/sbm_small.py
hamishgibbs/facebook_mobility_uk
7639778878e72e9e8445a54ea55be67482636498
[ "MIT" ]
null
null
null
src/analysis/infomap/sbm_small.py
hamishgibbs/facebook_mobility_uk
7639778878e72e9e8445a54ea55be67482636498
[ "MIT" ]
1
2020-10-23T03:38:03.000Z
2020-10-23T03:38:03.000Z
src/analysis/infomap/sbm_small.py
hamishgibbs/facebook_mobility_uk
7639778878e72e9e8445a54ea55be67482636498
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon Sep 14 13:25:26 2020 @author: hamishgibbs """
12.666667
35
0.614035
18
114
3.888889
1
0
0
0
0
0
0
0
0
0
0
0.148936
0.175439
114
8
36
14.25
0.595745
0.885965
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
af3248c24989a42aeda5227175229f13dbdbf814
313
py
Python
management/Hostel/admin.py
imbiswas/student-management-system
4ef9a4a77848929cdf427bf0cb5f4aa93a9bc518
[ "MIT" ]
null
null
null
management/Hostel/admin.py
imbiswas/student-management-system
4ef9a4a77848929cdf427bf0cb5f4aa93a9bc518
[ "MIT" ]
null
null
null
management/Hostel/admin.py
imbiswas/student-management-system
4ef9a4a77848929cdf427bf0cb5f4aa93a9bc518
[ "MIT" ]
null
null
null
from __future__ import unicode_literals from django.contrib import admin from Hostel.models import * # Register your models here. admin.site.register(Hostel_Details) admin.site.register(Hostel_Room) admin.site.register(Hostel_Register) admin.site.register(Hostel_Allocation) admin.site.register(Hostel_Visitor)
26.083333
39
0.84345
43
313
5.906977
0.418605
0.177165
0.334646
0.452756
0
0
0
0
0
0
0
0
0.076677
313
11
40
28.454545
0.878893
0.083067
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.375
0
0.375
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
af3789a8ed4ee4e4b28eae239f070b90b25ebf27
907
py
Python
tripost.py
umd-fire-coml/tridentnet
dc4dcaee2c7d8b2bbc5ffef30800427d678c460d
[ "Apache-2.0" ]
null
null
null
tripost.py
umd-fire-coml/tridentnet
dc4dcaee2c7d8b2bbc5ffef30800427d678c460d
[ "Apache-2.0" ]
null
null
null
tripost.py
umd-fire-coml/tridentnet
dc4dcaee2c7d8b2bbc5ffef30800427d678c460d
[ "Apache-2.0" ]
null
null
null
import json import os def processRoiJson(self, batch_size, jsonDir, consider_misc_categories){ data = json.load(jsonDir) image_set = [] for annotation in data: if(consider_misc_categories and (annotation['category_id'] == 8 or annotation['category_id'] == 9)): #add this anno...
31.275862
114
0.568908
96
907
5.166667
0.427083
0.217742
0.241935
0.100806
0.604839
0.604839
0.604839
0.604839
0.604839
0.604839
0
0.006536
0.325248
907
29
115
31.275862
0.803922
0.057332
0
0.421053
0
0
0.117096
0
0
0
0
0
0
0
null
null
0
0.105263
null
null
0
0
0
0
null
1
1
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
af3cc371879e69f5a1f31cd872e67334d8c22838
2,957
py
Python
ravenml/options.py
autognc/ravenML
5fc265d63a623ba45add164cedbe3ddeee2bb7ad
[ "MIT" ]
2
2019-08-08T20:11:11.000Z
2020-08-12T04:59:52.000Z
ravenml/options.py
autognc/ravenML
5fc265d63a623ba45add164cedbe3ddeee2bb7ad
[ "MIT" ]
17
2019-04-08T18:01:51.000Z
2021-06-28T04:46:06.000Z
ravenml/options.py
autognc/ravenML
5fc265d63a623ba45add164cedbe3ddeee2bb7ad
[ "MIT" ]
1
2021-05-06T22:28:40.000Z
2021-05-06T22:28:40.000Z
""" Author(s): Carson Schubert (carson.schubert14@gmail.com) Date Created: 4/11/2019 Standard options which should be used by ravenml plugins. NOTE: there is currently nothing in this value except old functionality that is no longer in use. """ import click ### HELPERS/CALLBACKS ### # NOTE: the no_user c...
38.402597
109
0.671965
448
2,957
4.366071
0.410714
0.042945
0.018405
0.014315
0.046012
0
0
0
0
0
0
0.005775
0.238756
2,957
76
110
38.907895
0.863172
0.942509
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
af42e6cb744c7c2e6f4a522e195f4642fbc5ce21
90
py
Python
stweet/model/cursor.py
markowanga/stweet
7f103b5c88fcef1d993d8cdc99cec358e55293f7
[ "MIT" ]
101
2020-11-22T16:44:25.000Z
2022-03-30T08:42:07.000Z
stweet/model/cursor.py
markowanga/stweet
7f103b5c88fcef1d993d8cdc99cec358e55293f7
[ "MIT" ]
53
2020-11-21T19:40:36.000Z
2022-03-02T10:09:52.000Z
stweet/model/cursor.py
markowanga/stweet
7f103b5c88fcef1d993d8cdc99cec358e55293f7
[ "MIT" ]
16
2020-12-12T23:02:51.000Z
2022-03-01T12:10:32.000Z
from dataclasses import dataclass @dataclass class Cursor: type: str value: str
11.25
33
0.722222
11
90
5.909091
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.233333
90
7
34
12.857143
0.942029
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.2
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
4
af4871c0fca58aebfab499b6e96029b375f03721
1,004
py
Python
benchmarks/src/garage_benchmarks/experiments/algos/__init__.py
fangqyi/garage
ddafba385ef005f46f913ab352f9638760e5b412
[ "MIT" ]
1
2021-03-02T08:43:20.000Z
2021-03-02T08:43:20.000Z
benchmarks/src/garage_benchmarks/experiments/algos/__init__.py
fangqyi/garage
ddafba385ef005f46f913ab352f9638760e5b412
[ "MIT" ]
null
null
null
benchmarks/src/garage_benchmarks/experiments/algos/__init__.py
fangqyi/garage
ddafba385ef005f46f913ab352f9638760e5b412
[ "MIT" ]
null
null
null
"""Benchmarking experiments for algorithms.""" from garage_benchmarks.experiments.algos.ddpg_garage_tf import ddpg_garage_tf from garage_benchmarks.experiments.algos.her_garage_tf import her_garage_tf from garage_benchmarks.experiments.algos.ppo_garage_pytorch import ( ppo_garage_pytorch) from garage_benchmark...
50.2
78
0.831673
140
1,004
5.485714
0.128571
0.1875
0.234375
0.363281
0.597656
0.550781
0.550781
0
0
0
0
0.003319
0.099602
1,004
19
79
52.842105
0.846239
0.039841
0
0
0
0
0.14377
0
0
0
0
0
0
1
0
false
0
0.529412
0
0.529412
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
af5d82dc4645360d6959e59584ee4f3d625bbbf7
323
py
Python
Chapter1.py
WagdyIshac/Advanced-Analytics-with-Azure-Databricks
c1fb64d3b22bc953fe7d5fd5a47991723e4440af
[ "MIT" ]
null
null
null
Chapter1.py
WagdyIshac/Advanced-Analytics-with-Azure-Databricks
c1fb64d3b22bc953fe7d5fd5a47991723e4440af
[ "MIT" ]
null
null
null
Chapter1.py
WagdyIshac/Advanced-Analytics-with-Azure-Databricks
c1fb64d3b22bc953fe7d5fd5a47991723e4440af
[ "MIT" ]
null
null
null
# Databricks notebook source print('I love Azure Databricks') # COMMAND ---------- # MAGIC %scala # MAGIC println("I Love Azure Databricks") # COMMAND ---------- # MAGIC %sql # MAGIC SELECT "I Love Azure Databricks" as message # COMMAND ---------- # MAGIC %md # MAGIC This is my first notebook using the magic comm...
19
57
0.659443
41
323
5.195122
0.536585
0.070423
0.140845
0.28169
0.300469
0.300469
0
0
0
0
0
0
0.176471
323
17
57
19
0.800752
0.817337
0
0
0
0
0.469388
0
0
0
0
0
0
1
0
true
0
0
0
0
1
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
4
af7f3c38ee9ebe5dda9891bf2978bd5a0241746e
159
py
Python
test/fixture/python/src/test.py
shstefanov/infrastructure-python
1cbc1ca9a7ad951f2bce66b1bf1947c699589f13
[ "MIT" ]
null
null
null
test/fixture/python/src/test.py
shstefanov/infrastructure-python
1cbc1ca9a7ad951f2bce66b1bf1947c699589f13
[ "MIT" ]
null
null
null
test/fixture/python/src/test.py
shstefanov/infrastructure-python
1cbc1ca9a7ad951f2bce66b1bf1947c699589f13
[ "MIT" ]
null
null
null
import json import hello print hello.helloWorld() # print json.dumps(["string", {'bar': 12, 'foo': ('baz', None, 1.0, 2) }]) # print "Hello Infrastructure"
17.666667
74
0.647799
22
159
4.681818
0.727273
0.194175
0
0
0
0
0
0
0
0
0
0.037037
0.150943
159
9
75
17.666667
0.725926
0.63522
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.666667
null
null
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
4
afd383f3cf610c3ef467ffcc60656e9e557aba06
679
py
Python
app/models.py
stefanbro/flask-todo
a0494d71bc7d89d8f3b6b1afdce29d52f1196ca9
[ "MIT" ]
null
null
null
app/models.py
stefanbro/flask-todo
a0494d71bc7d89d8f3b6b1afdce29d52f1196ca9
[ "MIT" ]
null
null
null
app/models.py
stefanbro/flask-todo
a0494d71bc7d89d8f3b6b1afdce29d52f1196ca9
[ "MIT" ]
null
null
null
from app import db class User(db.Model): id = db.Column(db.Integer, primary_key=True) username = db.Column(db.String(64), index=True, unique=True) email = db.Column(db.String(64), index=True, unique=True) password = db.Column(db.String(64), index=True) todos = db.relationship('Todo', backref='author', lazy='dynam...
30.863636
66
0.701031
108
679
4.296296
0.37963
0.155172
0.193966
0.146552
0.431034
0.390086
0.390086
0.331897
0.331897
0.172414
0
0.016779
0.122239
679
21
67
32.333333
0.761745
0
0
0.235294
0
0
0.051546
0
0
0
0
0
0
1
0.117647
false
0.058824
0.058824
0.117647
1
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
bbace063dd40239d556aca8e135b0c0b9a37278d
281
py
Python
pycewise/__init__.py
Ezibenroc/pycewise
7f7608eec7082deef4c12c52761f4aed4f408d6c
[ "MIT" ]
1
2020-05-16T05:10:35.000Z
2020-05-16T05:10:35.000Z
pycewise/__init__.py
Ezibenroc/pycewise
7f7608eec7082deef4c12c52761f4aed4f408d6c
[ "MIT" ]
null
null
null
pycewise/__init__.py
Ezibenroc/pycewise
7f7608eec7082deef4c12c52761f4aed4f408d6c
[ "MIT" ]
1
2019-02-14T07:32:43.000Z
2019-02-14T07:32:43.000Z
from .reg import Node, Leaf, IncrementalStat, Config, FlatRegression, compute_regression from .version import __version__, __git_version__ __all__ = ['Node', 'Leaf', 'IncrementalStat', 'FlatRegression', 'Config', 'compute_regression', '__version__', '__git_version__']
46.833333
88
0.75089
27
281
6.925926
0.481481
0.085562
0.245989
0
0
0
0
0
0
0
0
0
0.128114
281
5
89
56.2
0.763265
0
0
0
0
0
0.309609
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
bbb3f50d4adca9081e7d33b232bc5d8197b94e39
88
py
Python
namespace/__init__.py
tombulled/namespace
5e3bb2563a77a2e3cf0c15a7cb9088ff96d19266
[ "MIT" ]
null
null
null
namespace/__init__.py
tombulled/namespace
5e3bb2563a77a2e3cf0c15a7cb9088ff96d19266
[ "MIT" ]
2
2022-01-16T22:40:08.000Z
2022-03-13T20:04:26.000Z
namespace/__init__.py
tombulled/namespace
5e3bb2563a77a2e3cf0c15a7cb9088ff96d19266
[ "MIT" ]
null
null
null
from .types import Namespace import modcall modcall(__name__, Namespace) del modcall
11
28
0.806818
11
88
6.090909
0.636364
0
0
0
0
0
0
0
0
0
0
0
0.147727
88
7
29
12.571429
0.893333
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
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
bbc33738c20f3393302730b5bff283f962a92988
187
py
Python
tardis/__init__.py
rosmesquit/tardis
8d619d8be1a38a0965a4d9a06238dbacb0f206fa
[ "MIT" ]
3
2016-05-06T07:33:01.000Z
2016-07-21T04:58:44.000Z
tardis/__init__.py
rosmesquit/tardis
8d619d8be1a38a0965a4d9a06238dbacb0f206fa
[ "MIT" ]
8
2015-06-09T15:29:48.000Z
2021-06-02T19:46:35.000Z
tardis/__init__.py
rosmesquit/tardis
8d619d8be1a38a0965a4d9a06238dbacb0f206fa
[ "MIT" ]
3
2015-06-09T13:56:15.000Z
2021-06-01T18:11:54.000Z
from . import coords, slices, utils from .tardis import OceanModelCube, load_phenomena __all__ = ["OceanModelCube", "load_phenomena", "coords", "slices", "utils"] __version__ = "0.3.1"
26.714286
75
0.73262
22
187
5.772727
0.636364
0.188976
0.267717
0
0
0
0
0
0
0
0
0.018293
0.122995
187
6
76
31.166667
0.756098
0
0
0
0
0
0.26738
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
bbcd71cbc1200cc762b9f57adcf16dbb7ff0c0c7
309
py
Python
Chatbot_Model/Retrieval/sematic_retrieval/query.py
guci314/Chatbot_CN
02044eed4a141aa8c61d6064c166f95dbdae894c
[ "Apache-2.0" ]
8
2019-08-12T12:38:35.000Z
2022-02-21T03:25:04.000Z
Chatbot_Model/Retrieval/sematic_retrieval/query.py
JianboTang/Chatbot_CN
a0f7194252a189f8bc2b62fd16eb2abe432c0bf9
[ "Apache-2.0" ]
null
null
null
Chatbot_Model/Retrieval/sematic_retrieval/query.py
JianboTang/Chatbot_CN
a0f7194252a189f8bc2b62fd16eb2abe432c0bf9
[ "Apache-2.0" ]
5
2020-01-08T15:30:38.000Z
2022-02-15T02:39:46.000Z
# -*- coding: utf-8 -*- """ ------------------------------------------------- File Name: query.py Description : Author : charl date: 2018/11/6 ------------------------------------------------- Change Activity: 2018/11/6: ------------------------------------------------- """
25.75
49
0.255663
19
309
4.157895
0.842105
0.151899
0.177215
0
0
0
0
0
0
0
0
0.059524
0.184466
309
12
50
25.75
0.253968
0.967638
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
0
0
0
1
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
bbdb42246382ff569a50c1b8ca81f379cb36f51b
1,038
py
Python
alpha/migrations/0001_initial.py
bebutler1/SoloQ-DTC-Website-writtten-with-Django-
3a74f37de9ea788efeb449b388e4aeca2f696a85
[ "MIT" ]
null
null
null
alpha/migrations/0001_initial.py
bebutler1/SoloQ-DTC-Website-writtten-with-Django-
3a74f37de9ea788efeb449b388e4aeca2f696a85
[ "MIT" ]
null
null
null
alpha/migrations/0001_initial.py
bebutler1/SoloQ-DTC-Website-writtten-with-Django-
3a74f37de9ea788efeb449b388e4aeca2f696a85
[ "MIT" ]
null
null
null
# Generated by Django 2.1.4 on 2018-12-19 04:53 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='DataForm', fields=[ ('id', models.AutoField...
33.483871
114
0.55973
105
1,038
5.371429
0.495238
0.212766
0.255319
0.340426
0.27305
0.180851
0
0
0
0
0
0.043956
0.298651
1,038
30
115
34.6
0.730769
0.043353
0
0
1
0
0.09889
0
0
0
0
0
0
1
0
false
0
0.043478
0
0.217391
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
a579a5cbecf83d771c747e446ca83fb01fc20c79
108
py
Python
api/app/__init__.py
liguifa/xunlu
0b65c1f69450f737e937f73167197be1d34059c1
[ "MIT" ]
null
null
null
api/app/__init__.py
liguifa/xunlu
0b65c1f69450f737e937f73167197be1d34059c1
[ "MIT" ]
null
null
null
api/app/__init__.py
liguifa/xunlu
0b65c1f69450f737e937f73167197be1d34059c1
[ "MIT" ]
null
null
null
from .base.application import application from .config import config from .base.controller import controller
36
41
0.851852
14
108
6.571429
0.428571
0.173913
0
0
0
0
0
0
0
0
0
0
0.101852
108
3
42
36
0.948454
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
3c20745ca49504594824fe0c6c1a931e6201acaa
89
py
Python
hooked/signals.py
gadventures/django-gapi-hooked
7da9fd580bfb17a8bd99048476a7ff00dc0df2eb
[ "MIT" ]
1
2017-04-25T10:07:29.000Z
2017-04-25T10:07:29.000Z
hooked/signals.py
gadventures/django-gapi-hooked
7da9fd580bfb17a8bd99048476a7ff00dc0df2eb
[ "MIT" ]
13
2016-03-17T20:34:41.000Z
2019-05-23T13:56:20.000Z
hooked/signals.py
gadventures/django-gapi-hooked
7da9fd580bfb17a8bd99048476a7ff00dc0df2eb
[ "MIT" ]
null
null
null
import django.dispatch webhook_event = django.dispatch.Signal(providing_args=["event"])
22.25
64
0.808989
11
89
6.363636
0.727273
0.4
0
0
0
0
0
0
0
0
0
0
0.067416
89
3
65
29.666667
0.843373
0
0
0
0
0
0.05618
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
3c3d172b38dc9e902a1a05288720b8911b5f4ff3
154
py
Python
gpssi/misc.py
alainjungo/gpssi
a9df08ab91a8daf5e66747bcaa8305453ec031b8
[ "Apache-2.0" ]
null
null
null
gpssi/misc.py
alainjungo/gpssi
a9df08ab91a8daf5e66747bcaa8305453ec031b8
[ "Apache-2.0" ]
null
null
null
gpssi/misc.py
alainjungo/gpssi
a9df08ab91a8daf5e66747bcaa8305453ec031b8
[ "Apache-2.0" ]
1
2021-11-27T13:27:55.000Z
2021-11-27T13:27:55.000Z
import numpy as np def kron_mats_to_full(kron_mats): full = 1 for kron_mat in kron_mats: full = np.kron(full, kron_mat) return full
17.111111
38
0.668831
27
154
3.555556
0.518519
0.25
0.25
0
0
0
0
0
0
0
0
0.00885
0.266234
154
8
39
19.25
0.840708
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.5
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
3c5c03508939befc3d9e301a86794d5bc5cbc80f
38
py
Python
correct/train.py
gajanlee/NLP-kits
b57b767b0aaaed292fa3a06a53b44c6bcf99ac95
[ "MIT" ]
null
null
null
correct/train.py
gajanlee/NLP-kits
b57b767b0aaaed292fa3a06a53b44c6bcf99ac95
[ "MIT" ]
null
null
null
correct/train.py
gajanlee/NLP-kits
b57b767b0aaaed292fa3a06a53b44c6bcf99ac95
[ "MIT" ]
null
null
null
from bi_crf import model m = model()
9.5
24
0.710526
7
38
3.714286
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.210526
38
3
25
12.666667
0.866667
0
0
0
0
0
0
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
3c9daab8b069a581a7f79d5be08f271e031abcab
108
py
Python
tests/django_project/languages/apps.py
2degrees/drf-nested-resources
0ae44453a6377a66dcc5e5e26d7ea91fa703527a
[ "BSD-3-Clause" ]
5
2016-09-07T06:44:50.000Z
2021-03-24T01:03:36.000Z
tests/django_project/languages/apps.py
2degrees/drf-nested-resources
0ae44453a6377a66dcc5e5e26d7ea91fa703527a
[ "BSD-3-Clause" ]
1
2020-02-27T07:07:26.000Z
2020-02-27T07:07:26.000Z
tests/django_project/languages/apps.py
2degrees/drf-nested-resources
0ae44453a6377a66dcc5e5e26d7ea91fa703527a
[ "BSD-3-Clause" ]
2
2015-06-06T21:39:14.000Z
2015-09-29T17:49:00.000Z
from django.apps import AppConfig class LanguagesConfig(AppConfig): name = 'django_project.languages'
18
37
0.787037
12
108
7
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.138889
108
5
38
21.6
0.903226
0
0
0
0
0
0.222222
0.222222
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