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
922bce0239bd3d8f5fa72beac2cc134ebf98b61b
1,052
py
Python
LeetCode.Test/_0001_0050/Test_017_LetterCombinationsOfAPhoneNumber.py
BigEggStudy/LeetCode-Py
735e782742fab15bdb046eb6d5fc7b03502cc92d
[ "MIT" ]
1
2021-01-30T04:07:26.000Z
2021-01-30T04:07:26.000Z
LeetCode.Test/_0001_0050/Test_017_LetterCombinationsOfAPhoneNumber.py
BigEggStudy/LeetCode-Py
735e782742fab15bdb046eb6d5fc7b03502cc92d
[ "MIT" ]
null
null
null
LeetCode.Test/_0001_0050/Test_017_LetterCombinationsOfAPhoneNumber.py
BigEggStudy/LeetCode-Py
735e782742fab15bdb046eb6d5fc7b03502cc92d
[ "MIT" ]
1
2021-09-09T20:12:25.000Z
2021-09-09T20:12:25.000Z
import unittest import sys sys.path.append('LeetCode/_0001_0050') from _017_LetterCombinationsOfAPhoneNumber import Solution class Test_017_LetterCombinationsOfAPhoneNumber(unittest.TestCase): def test_letterCombinations_1(self): solution = Solution() self.assertEqual(["ad","ae","af","bd","be","b...
40.461538
107
0.704373
96
1,052
7.59375
0.416667
0.185185
0.252401
0.449931
0.215364
0.167353
0.167353
0
0
0
0
0.04581
0.14924
1,052
25
108
42.08
0.768715
0
0
0.15
0
0
0.059886
0
0
0
0
0
0.45
1
0.15
false
0
0.15
0
0.35
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
92a1a909b735f777ebfd2056256c8ed19ba22028
918
py
Python
packages/syft/src/syft/lib/statsmodels/results.py
callezenwaka/PySyft
2545c302441cfe727ec095c4f9aa136bff02be32
[ "Apache-1.1" ]
1
2021-09-14T10:56:43.000Z
2021-09-14T10:56:43.000Z
packages/syft/src/syft/lib/statsmodels/results.py
callezenwaka/PySyft
2545c302441cfe727ec095c4f9aa136bff02be32
[ "Apache-1.1" ]
2
2021-04-02T10:12:44.000Z
2021-04-02T10:12:50.000Z
packages/syft/src/syft/lib/statsmodels/results.py
callezenwaka/PySyft
2545c302441cfe727ec095c4f9aa136bff02be32
[ "Apache-1.1" ]
1
2021-08-19T12:23:01.000Z
2021-08-19T12:23:01.000Z
# third party from statsmodels.genmod.generalized_linear_model import GLMResultsWrapper # relative from ...generate_wrapper import GenerateWrapper from ...lib.python.primitive_factory import PrimitiveFactory from ...lib.python.string import String from ...proto.lib.statsmodels.results_pb2 import ResultsProto def obj...
31.655172
80
0.805011
96
918
7.489583
0.416667
0.047288
0.077886
0.094576
0.108484
0
0
0
0
0
0
0.011029
0.111111
918
28
81
32.785714
0.870098
0.021786
0
0
1
0
0.068156
0.068156
0
0
0
0
0
1
0.105263
false
0
0.315789
0.052632
0.526316
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
2b81f13444a845a05af45e499a34b66f1d093768
278
py
Python
ddh2ext/exceptions.py
spatialexplore/ddh2ext
881c1337cdd7eac32842c6c19d9eb0d84c55e9ae
[ "MIT" ]
null
null
null
ddh2ext/exceptions.py
spatialexplore/ddh2ext
881c1337cdd7eac32842c6c19d9eb0d84c55e9ae
[ "MIT" ]
null
null
null
ddh2ext/exceptions.py
spatialexplore/ddh2ext
881c1337cdd7eac32842c6c19d9eb0d84c55e9ae
[ "MIT" ]
null
null
null
class DDH2Exception(Exception): def __init__(self, response): self.status_code = response.status_code self.text = response.text def __repr__(self): return 'DDH2Exception [{}]: {}'.format(self.status_code, self.text) def __str__(self): return self.text
25.272727
70
0.701439
34
278
5.294118
0.411765
0.166667
0.155556
0.2
0
0
0
0
0
0
0
0.008696
0.172662
278
11
71
25.272727
0.773913
0
0
0
0
0
0.08209
0
0
0
0
0
0
1
0.375
false
0
0
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
0
0
0
1
0
0
0
3
2ba5eb648f0e5401d3a0ca9c0ea7d744e46b1f2e
232
py
Python
trackeroo-real-time/chalicelib/db.py
Wahuh/wurkout-api
e42365253a78dfa4c08e78fa88c2354fb2a0f091
[ "MIT" ]
3
2019-10-07T22:30:07.000Z
2020-12-02T18:34:28.000Z
trackeroo-real-time/chalicelib/db.py
Wahuh/wurkout-api
e42365253a78dfa4c08e78fa88c2354fb2a0f091
[ "MIT" ]
2
2021-04-30T20:58:42.000Z
2021-06-02T00:37:10.000Z
trackeroo-real-time/chalicelib/db.py
Wahuh/wurkout-api
e42365253a78dfa4c08e78fa88c2354fb2a0f091
[ "MIT" ]
null
null
null
import boto3 import os database_url = os.environ.get("DATABASE_URL") region_name = os.environ.get("REGION_NAME") connection = boto3.resource("dynamodb", region_name=region_name) streams_connection = boto3.client("dynamodbstreams")
29
64
0.801724
31
232
5.774194
0.483871
0.223464
0.134078
0
0
0
0
0
0
0
0
0.014019
0.077586
232
7
65
33.142857
0.82243
0
0
0
0
0
0.198276
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
1
0
0
0
0
3
2bc4df7ed5be8b9b630b2da7b66fef0e4aa1b639
1,677
py
Python
test/ras578_yt336/ras578_yt336/webpage_files/code/generate_header.py
jefftn/ukule-led
a0787702cda489e45b086f9df09d463a2c267818
[ "MIT" ]
null
null
null
test/ras578_yt336/ras578_yt336/webpage_files/code/generate_header.py
jefftn/ukule-led
a0787702cda489e45b086f9df09d463a2c267818
[ "MIT" ]
null
null
null
test/ras578_yt336/ras578_yt336/webpage_files/code/generate_header.py
jefftn/ukule-led
a0787702cda489e45b086f9df09d463a2c267818
[ "MIT" ]
null
null
null
"""Generate Header. Usage: generate_header <type> <1> <2> <3> <4> """ import docopt with open('header_tmp.txt', 'a') as f: line = '' arguments = docopt.docopt(__doc__, version='-500') def_subarray = '{0, 0, 0}' subarray = '' bools = [False]*16 if arguments['<type>'] == 'M': s...
18.633333
54
0.433512
201
1,677
3.577114
0.263682
0.290682
0.312935
0.089013
0.066759
0
0
0
0
0
0
0.06758
0.347048
1,677
89
55
18.842697
0.589041
0.039952
0
0.035714
1
0
0.101124
0
0
0
0
0
0
1
0
false
0
0.017857
0
0.017857
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2bd22fbc5af1e9d3d29301a2f5919499bbe0baba
1,560
py
Python
origmacrm/customer/migrations/0006_auto_20211203_0540.py
eld120/origma-crm
e48c94434ca4800334d95cae4e65fe4a729423a8
[ "BSD-3-Clause" ]
null
null
null
origmacrm/customer/migrations/0006_auto_20211203_0540.py
eld120/origma-crm
e48c94434ca4800334d95cae4e65fe4a729423a8
[ "BSD-3-Clause" ]
5
2021-11-17T20:44:56.000Z
2021-12-15T20:06:54.000Z
origmacrm/customer/migrations/0006_auto_20211203_0540.py
eld120/origma-crm
e48c94434ca4800334d95cae4e65fe4a729423a8
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 3.2.8 on 2021-12-03 05:40 import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('customer', '0005_auto_20211203_0521'), ] operations = [ migrations.AlterField( model_name='address...
39
236
0.625
177
1,560
5.378531
0.344633
0.105042
0.131303
0.152311
0.731092
0.731092
0.731092
0.537815
0.495798
0.495798
0
0.048428
0.245513
1,560
39
237
40
0.760408
0.028846
0
0.424242
1
0
0.19696
0.015202
0
0
0
0
0
1
0
false
0
0.060606
0
0.151515
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2bd68f46a1051d2fca39222fdc2860b07c2d6e4f
115
py
Python
ex_11_02/ex_11_02.py
ColinTing/Python-Specialization
7a1b096362526d3574e9d787c9a63d3d13686608
[ "MIT" ]
2
2019-05-04T12:25:34.000Z
2019-05-04T15:18:03.000Z
ex_11_02/ex_11_02.py
ColinTing/Python-for-Everybody-Specialization
7a1b096362526d3574e9d787c9a63d3d13686608
[ "MIT" ]
null
null
null
ex_11_02/ex_11_02.py
ColinTing/Python-for-Everybody-Specialization
7a1b096362526d3574e9d787c9a63d3d13686608
[ "MIT" ]
null
null
null
import re x = 'From: Using the : character zz00' y = re.findall('^F.+?:',x) z = re.findall('[0-9a-z]',x) print(z)
16.428571
38
0.582609
22
115
3.045455
0.681818
0.268657
0
0
0
0
0
0
0
0
0
0.041237
0.156522
115
7
39
16.428571
0.649485
0
0
0
0
0
0.396552
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2bde6352df687931dc0940aefb3f716b3ea7b1ca
193
py
Python
main.py
samsonosiomwan/web-analysis-app
6ca68aa522916c58e06309046e7a356cbac01633
[ "MIT" ]
null
null
null
main.py
samsonosiomwan/web-analysis-app
6ca68aa522916c58e06309046e7a356cbac01633
[ "MIT" ]
null
null
null
main.py
samsonosiomwan/web-analysis-app
6ca68aa522916c58e06309046e7a356cbac01633
[ "MIT" ]
null
null
null
from website_analysis.scrape_webpage import * # Entry point of your application if __name__ == '__main__': scrape_webpage = ScrapeWebpage() scrape_webpage.web_analysis()
21.444444
45
0.715026
21
193
5.952381
0.761905
0.312
0
0
0
0
0
0
0
0
0
0
0.212435
193
8
46
24.125
0.822368
0.160622
0
0
0
0
0.050314
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2be3ace40934ab2a4544d335e6c7fd085a031480
88
py
Python
aula009 - MANIPULANDO TEXTO/ex024.py
miradouro/CursoEmVideo-Python
cc7b05a9a4aad8e6ef3b29453d83370094d75e41
[ "MIT" ]
null
null
null
aula009 - MANIPULANDO TEXTO/ex024.py
miradouro/CursoEmVideo-Python
cc7b05a9a4aad8e6ef3b29453d83370094d75e41
[ "MIT" ]
null
null
null
aula009 - MANIPULANDO TEXTO/ex024.py
miradouro/CursoEmVideo-Python
cc7b05a9a4aad8e6ef3b29453d83370094d75e41
[ "MIT" ]
null
null
null
cid = str(input('Qual cidade você nasceu? ')).strip() print(cid[:5].title() == 'Santo')
29.333333
53
0.625
13
88
4.230769
0.923077
0
0
0
0
0
0
0
0
0
0
0.012821
0.113636
88
2
54
44
0.692308
0
0
0
0
0
0.340909
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
2bf12d4b45b06838d6ef491355574f04642914fd
1,082
py
Python
user_login.py
Rustique-Uwimpaye/Password-Locker
67189dd41745d188b9a695a2b1af2ad3fe04227f
[ "MIT" ]
null
null
null
user_login.py
Rustique-Uwimpaye/Password-Locker
67189dd41745d188b9a695a2b1af2ad3fe04227f
[ "MIT" ]
null
null
null
user_login.py
Rustique-Uwimpaye/Password-Locker
67189dd41745d188b9a695a2b1af2ad3fe04227f
[ "MIT" ]
null
null
null
import random class User(): """ created an empty list to hold users info """ user_details=[]; def __init__(self, username,password,email): self.username=username self.password=password self.email=email def register(self): User.user_details.append(se...
25.761905
92
0.609982
109
1,082
5.880734
0.376147
0.102964
0.065523
0.059282
0.180967
0.180967
0.180967
0.180967
0.180967
0.180967
0
0.013298
0.304991
1,082
42
93
25.761905
0.839096
0.036969
0
0.225806
0
0
0.071359
0.071359
0
0
0
0
0
1
0.258065
false
0.290323
0.032258
0.032258
0.548387
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
0
1
0
0
3
2bfb9e81a1e140d930755357feb9f16043d7afe2
1,564
py
Python
TJ/TJ/pipelines.py
liuhf-jlu/Spider_TencentJobs
4a2a6e747d27fb0bd555f84fdc31bb236e188eff
[ "MIT" ]
null
null
null
TJ/TJ/pipelines.py
liuhf-jlu/Spider_TencentJobs
4a2a6e747d27fb0bd555f84fdc31bb236e188eff
[ "MIT" ]
null
null
null
TJ/TJ/pipelines.py
liuhf-jlu/Spider_TencentJobs
4a2a6e747d27fb0bd555f84fdc31bb236e188eff
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://docs.scrapy.org/en/latest/topics/item-pipeline.html from scrapy.exceptions import DropItem from scrapy.item import Item import pymongo import json class TjPipeline(object): ...
23.343284
75
0.671995
204
1,564
5
0.411765
0.068627
0.062745
0.052941
0.247059
0.137255
0
0
0
0
0
0.00082
0.219949
1,564
66
76
23.69697
0.835246
0.200767
0
0.388889
0
0
0.029245
0
0
0
0
0
0
1
0.277778
false
0.055556
0.111111
0.027778
0.583333
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
0
1
0
0
3
9207338628e273545267ff72e7a8ae20002c89b3
39,324
py
Python
pysnmp-with-texts/ASCEND-MIBATMIF-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/ASCEND-MIBATMIF-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/ASCEND-MIBATMIF-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module ASCEND-MIBATMIF-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ASCEND-MIBATMIF-MIB # Produced by pysmi-0.3.4 at Wed May 1 11:26:28 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default...
199.614213
6,248
0.835749
4,270
39,324
7.496019
0.119438
0.255499
0.179955
0.142464
0.760529
0.633404
0.536522
0.405399
0.16474
0.152556
0
0.060557
0.061871
39,324
196
6,249
200.632653
0.80708
0.008443
0
0
0
0.06383
0.251007
0.080599
0
0
0
0
0
1
0
false
0.005319
0.037234
0
0.042553
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9207a048e5a0bb5a25ccfe77824ab2d72008414c
2,210
py
Python
tests/test_arggo.py
mikimn/arggo
79d7b0e7c391e9e1e8cf4621db95382ad9fd074e
[ "MIT" ]
2
2021-05-26T17:29:50.000Z
2021-05-29T10:19:10.000Z
tests/test_arggo.py
mikimn/arggo
79d7b0e7c391e9e1e8cf4621db95382ad9fd074e
[ "MIT" ]
10
2021-03-12T14:33:34.000Z
2021-05-23T14:48:45.000Z
tests/test_arggo.py
mikimn/arggo
79d7b0e7c391e9e1e8cf4621db95382ad9fd074e
[ "MIT" ]
1
2021-09-22T18:03:29.000Z
2021-09-22T18:03:29.000Z
from dataclasses import field, dataclass from enum import Enum import pytest import arggo from arggo.dataclass_utils import parser_field @dataclass class SimpleArguments: just_a_string: str = field(default="Hello") class GreetingType(Enum): NORMAL = 1 ENGAGING = 2 @dataclass class ComplexArguments: ...
26.626506
86
0.651131
260
2,210
5.346154
0.342308
0.021583
0.047482
0.069065
0.198561
0.178417
0.12518
0.12518
0
0
0
0.010235
0.248416
2,210
82
87
26.95122
0.82661
0.056109
0
0.150943
0
0
0.09375
0.010096
0
0
0
0.012195
0.075472
1
0.226415
false
0
0.09434
0.09434
0.660377
0.018868
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
0
1
0
0
3
a606b8713d290e32c56c17fd4c7cc7629117593b
268
py
Python
thumbor_text_filter/__init__.py
wongnai/thumbor-text-filter
45212eaf2e49db165bddf49ab2477803a0cbf895
[ "MIT" ]
15
2017-07-28T11:55:08.000Z
2021-09-02T11:39:28.000Z
thumbor_text_filter/__init__.py
wongnai/thumbor-text-filter
45212eaf2e49db165bddf49ab2477803a0cbf895
[ "MIT" ]
3
2018-01-29T11:38:43.000Z
2021-01-16T16:01:35.000Z
thumbor_text_filter/__init__.py
wongnai/thumbor-text-filter
45212eaf2e49db165bddf49ab2477803a0cbf895
[ "MIT" ]
5
2017-12-08T18:22:50.000Z
2019-09-17T15:47:15.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import logging __version__ = '0.0.2' try: from thumbor_text_filter.text import Filter # NOQA except ImportError: logging.exception('Could not import thumbor_text_filter. Probably due to setup.py installing it.')
26.8
102
0.731343
39
268
4.820513
0.769231
0.117021
0.180851
0
0
0
0
0
0
0
0
0.017621
0.152985
268
10
102
26.8
0.810573
0.175373
0
0
0
0
0.374429
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
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
0
1
0
1
0
0
3
a607b7dd9cec62f17dfa2a5f610064abc8af4a1d
187
py
Python
arroyo/__init__.py
horpto/arroyo
53410f292ff7a26170c6feacee3a514541d0b4a8
[ "Apache-2.0" ]
11
2021-07-13T17:20:49.000Z
2022-03-25T05:46:59.000Z
arroyo/__init__.py
horpto/arroyo
53410f292ff7a26170c6feacee3a514541d0b4a8
[ "Apache-2.0" ]
12
2021-06-15T20:04:36.000Z
2022-03-31T23:43:30.000Z
arroyo/__init__.py
horpto/arroyo
53410f292ff7a26170c6feacee3a514541d0b4a8
[ "Apache-2.0" ]
1
2022-01-28T15:44:03.000Z
2022-01-28T15:44:03.000Z
from arroyo.types import Message, Partition, Topic from arroyo.utils.metrics import configure_metrics __all__ = [ "Message", "Partition", "Topic", "configure_metrics", ]
18.7
50
0.705882
20
187
6.3
0.55
0.15873
0.333333
0
0
0
0
0
0
0
0
0
0.187166
187
9
51
20.777778
0.828947
0
0
0
0
0
0.203209
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a61be75503254a1e39cb43a2ab2c91746a056a9e
235
py
Python
kubernetes_typed/client/models/v1_sysctl.py
nikhiljha/kubernetes-typed
4f4b969aa400c88306f92560e56bda6d19b2a895
[ "Apache-2.0" ]
22
2020-12-10T13:06:02.000Z
2022-02-13T21:58:15.000Z
kubernetes_typed/client/models/v1_sysctl.py
nikhiljha/kubernetes-typed
4f4b969aa400c88306f92560e56bda6d19b2a895
[ "Apache-2.0" ]
4
2021-03-08T07:06:12.000Z
2022-03-29T23:41:45.000Z
kubernetes_typed/client/models/v1_sysctl.py
nikhiljha/kubernetes-typed
4f4b969aa400c88306f92560e56bda6d19b2a895
[ "Apache-2.0" ]
2
2021-09-05T19:18:28.000Z
2022-03-14T02:56:17.000Z
# Code generated by `typeddictgen`. DO NOT EDIT. """V1SysctlDict generated type.""" from typing import TypedDict V1SysctlDict = TypedDict( "V1SysctlDict", { "name": str, "value": str, }, total=False, )
18.076923
48
0.612766
23
235
6.26087
0.782609
0.291667
0
0
0
0
0
0
0
0
0
0.017143
0.255319
235
12
49
19.583333
0.805714
0.323404
0
0
1
0
0.137255
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a6361b5c834b44c4f93301f168094416f0ced932
219
py
Python
django_autolinks/models.py
svetlyak40wt/django-autolinks
4cfa2959f9095189c30522709c49aa32c6191bf0
[ "BSD-3-Clause" ]
2
2016-05-08T18:44:38.000Z
2017-12-11T00:09:14.000Z
django_autolinks/models.py
svetlyak40wt/django-autolinks
4cfa2959f9095189c30522709c49aa32c6191bf0
[ "BSD-3-Clause" ]
null
null
null
django_autolinks/models.py
svetlyak40wt/django-autolinks
4cfa2959f9095189c30522709c49aa32c6191bf0
[ "BSD-3-Clause" ]
1
2019-06-10T16:52:16.000Z
2019-06-10T16:52:16.000Z
from django.db import models from django.utils.translation import ugettext_lazy as _ class Link(models.Model): slug = models.CharField(_('Slug'), max_length = 80, unique = True) url = models.URLField(_('URL'))
31.285714
70
0.726027
30
219
5.133333
0.733333
0.12987
0
0
0
0
0
0
0
0
0
0.010753
0.150685
219
6
71
36.5
0.817204
0
0
0
0
0
0.031963
0
0
0
0
0
0
1
0
false
0
0.4
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
a638fd9ff8b4c01b79c21a85340c72a9489f17db
293
py
Python
techreviewproj/pythonclub/clubapp/admin.py
yonny23/techreviewproject
3a58c08c194eacedaa9b3bf3942149b24f3e2b28
[ "Apache-2.0" ]
null
null
null
techreviewproj/pythonclub/clubapp/admin.py
yonny23/techreviewproject
3a58c08c194eacedaa9b3bf3942149b24f3e2b28
[ "Apache-2.0" ]
null
null
null
techreviewproj/pythonclub/clubapp/admin.py
yonny23/techreviewproject
3a58c08c194eacedaa9b3bf3942149b24f3e2b28
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin from .models import MeetingType, Greet, MeetingMinute, Resource, Event # Register your models here. admin.site.register(MeetingType) admin.site.register(Greet) admin.site.register(MeetingMinute) admin.site.register(Resource) admin.site.register(Event)
32.555556
71
0.802048
37
293
6.351351
0.405405
0.191489
0.361702
0
0
0
0
0
0
0
0
0
0.102389
293
9
72
32.555556
0.893536
0.088737
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.285714
0
0.285714
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
1
0
0
0
0
0
0
3
a6406d38de772d64ff38102d9cdfdd8a2f8f393c
430
py
Python
Python/EjemplosParcial/1.py
Camiloasc1/OperativeSystemsUNAL
a07bfc235789b7a8848280a549a6b2c9602e61b5
[ "MIT" ]
null
null
null
Python/EjemplosParcial/1.py
Camiloasc1/OperativeSystemsUNAL
a07bfc235789b7a8848280a549a6b2c9602e61b5
[ "MIT" ]
null
null
null
Python/EjemplosParcial/1.py
Camiloasc1/OperativeSystemsUNAL
a07bfc235789b7a8848280a549a6b2c9602e61b5
[ "MIT" ]
null
null
null
import thread import threading import time def proc(n, lock): while True: lock.acquire() print 'Process #', n, '- working' # work lock.release() time.sleep(0.1) def main(): lock = threading.Lock() thread.start_new_thread(proc, (1, lock)) thread.start_new_threa...
17.916667
44
0.593023
57
430
4.368421
0.421053
0.120482
0.180723
0.216867
0.337349
0.337349
0
0
0
0
0
0.019169
0.272093
430
23
45
18.695652
0.776358
0.009302
0
0.117647
0
0
0.042453
0
0
0
0
0
0
0
null
null
0
0.176471
null
null
0.058824
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
1
0
0
0
0
0
0
0
0
3
a651d9023349f61f308ec64e1ee4d2c8cd2c145d
261
py
Python
jarvis/jobs/mock.py
unstad/jarvis2
8f1876249aea327f773c5747c2225753d6bc90d5
[ "MIT" ]
83
2017-03-17T02:16:30.000Z
2022-02-20T18:39:40.000Z
jarvis/jobs/mock.py
unstad/jarvis2
8f1876249aea327f773c5747c2225753d6bc90d5
[ "MIT" ]
3
2017-06-05T19:16:48.000Z
2021-04-20T22:42:38.000Z
jarvis/jobs/mock.py
unstad/jarvis2
8f1876249aea327f773c5747c2225753d6bc90d5
[ "MIT" ]
30
2017-03-24T07:17:33.000Z
2021-11-17T20:05:36.000Z
# -*- coding: utf-8 -*- from jobs import AbstractJob # This job is used in unit tests and does nothing useful class Mock(AbstractJob): def __init__(self, conf): self.interval = conf["interval"] def get(self): return {"data": "spam"}
20.076923
56
0.636015
35
261
4.628571
0.828571
0
0
0
0
0
0
0
0
0
0
0.005025
0.237548
261
12
57
21.75
0.809045
0.291188
0
0
0
0
0.087912
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0.166667
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
a652097827ae9a5a7a9549b6f0b967db56312bcf
1,117
py
Python
src/cc/frontends/p4/compiler/ebpfType.py
gtataranni/bcc
b090f5f9eee62796829184ec862e3378a3b7e425
[ "Apache-2.0" ]
58
2015-08-28T08:46:35.000Z
2022-02-27T14:31:55.000Z
src/cc/frontends/p4/compiler/ebpfType.py
gdankel/bcc
2cc96a8c17b9b7059883627ea211f30a77061b2b
[ "ECL-2.0", "Apache-2.0" ]
13
2018-02-09T22:24:29.000Z
2018-06-18T22:33:29.000Z
src/cc/frontends/p4/compiler/ebpfType.py
gdankel/bcc
2cc96a8c17b9b7059883627ea211f30a77061b2b
[ "ECL-2.0", "Apache-2.0" ]
12
2017-02-28T02:50:31.000Z
2021-07-26T17:54:07.000Z
# Copyright (c) Barefoot Networks, Inc. # Licensed under the Apache License, Version 2.0 (the "License") from compilationException import CompilationException class EbpfType(object): __doc__ = "Base class for representing a P4 type" def __init__(self, hlirType): self.hlirType = hlirType # Method...
36.032258
74
0.709042
129
1,117
6.077519
0.496124
0.071429
0.147959
0.178571
0.271684
0.271684
0.271684
0.206633
0
0
0
0.003468
0.225604
1,117
30
75
37.233333
0.90289
0.324978
0
0.307692
0
0
0.18414
0
0
0
0
0
0
1
0.384615
false
0
0.076923
0
0.615385
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
a65ed276a4512ba2d484b2dd2cdb12a309cb33ac
18,235
py
Python
ExcelRobot/base.py
IlfirinPL/robotframework-excel
4b9897f8879ff099d005a2e0d33c79dd60bf7dfa
[ "Apache-2.0" ]
null
null
null
ExcelRobot/base.py
IlfirinPL/robotframework-excel
4b9897f8879ff099d005a2e0d33c79dd60bf7dfa
[ "Apache-2.0" ]
null
null
null
ExcelRobot/base.py
IlfirinPL/robotframework-excel
4b9897f8879ff099d005a2e0d33c79dd60bf7dfa
[ "Apache-2.0" ]
null
null
null
from ExcelRobot.reader import ExcelReader from ExcelRobot.utils import BoolFormat, DateFormat, NumberFormat from ExcelRobot.writer import ExcelWriter class ExcelLibrary(object): def __init__(self, date_format=DateFormat(), number_format=NumberFormat(), bool_format=BoolFormat()): """ Init Excel Ke...
53.949704
150
0.482863
1,752
18,235
4.932078
0.106735
0.051036
0.05497
0.063766
0.763338
0.72237
0.669136
0.603518
0.586622
0.568221
0
0.011798
0.442226
18,235
338
151
53.949704
0.837774
0.743406
0
0
0
0
0
0
0
0
0
0
0
1
0.422222
false
0
0.066667
0
0.755556
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
a6866124f16d3fdf8bfa42a8db46e925a665aeaa
150
py
Python
functions/response.py
mateusfg7/twitter-cli
f81e9c0c846a9743487982b0cbb3f579cb6013ef
[ "MIT" ]
null
null
null
functions/response.py
mateusfg7/twitter-cli
f81e9c0c846a9743487982b0cbb3f579cb6013ef
[ "MIT" ]
null
null
null
functions/response.py
mateusfg7/twitter-cli
f81e9c0c846a9743487982b0cbb3f579cb6013ef
[ "MIT" ]
null
null
null
import json def handling_response(response): decodeRequest = response.decode() jsonRequest = json.loads(decodeRequest) return jsonRequest
25
43
0.766667
15
150
7.6
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.16
150
6
44
25
0.904762
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
a6868d30c0f76c7d4c5bc70b73f4c964c0fd3398
1,173
py
Python
week4/exam/exam3.py
sdanil-ops/stepik-beegeek-python
02302ab85d581962a82cbce766b7b284d4c5491e
[ "MIT" ]
null
null
null
week4/exam/exam3.py
sdanil-ops/stepik-beegeek-python
02302ab85d581962a82cbce766b7b284d4c5491e
[ "MIT" ]
null
null
null
week4/exam/exam3.py
sdanil-ops/stepik-beegeek-python
02302ab85d581962a82cbce766b7b284d4c5491e
[ "MIT" ]
1
2021-08-18T00:58:27.000Z
2021-08-18T00:58:27.000Z
# ----------------------------------------------------------- # Copyright (c) 2021. Danil Smirnov # The football team recruits girls from 10 to 15 years old inclusive. # Write a program that asks for the age and gender of an applicant # using the gender designation m (for male) and f (for female) # to...
40.448276
78
0.584825
153
1,173
4.352941
0.424837
0.036036
0.042042
0.057057
0
0
0
0
0
0
0
0.013129
0.220801
1,173
28
79
41.892857
0.715536
0.426257
0
0
0
0
0.02118
0
0
0
0
0
0
1
0.266667
false
0
0
0.2
0.533333
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
a6914069c3417d07101243910b0a663edccbe579
500
py
Python
A2-神经网络基本原理简明教程/step7-DNN/MiniFramework/layer.py
Tester-JasonWang/AI-learning
b13324f14489e9aa60fb2118f9c066ed3f3ad03b
[ "Apache-2.0" ]
null
null
null
A2-神经网络基本原理简明教程/step7-DNN/MiniFramework/layer.py
Tester-JasonWang/AI-learning
b13324f14489e9aa60fb2118f9c066ed3f3ad03b
[ "Apache-2.0" ]
null
null
null
A2-神经网络基本原理简明教程/step7-DNN/MiniFramework/layer.py
Tester-JasonWang/AI-learning
b13324f14489e9aa60fb2118f9c066ed3f3ad03b
[ "Apache-2.0" ]
null
null
null
class Layer(object): def __init__(self): self.input_shape = None self.x =None self.z = None def initialize(self,folder): pass def train(self, inputs, train=True): pass def forward(self, inputs): pass def backward(self,delta_in,arg)...
17.857143
45
0.538
58
500
4.5
0.465517
0.16092
0.153257
0.183908
0.214559
0
0
0
0
0
0
0
0.374
500
27
46
18.518519
0.833866
0
0
0.368421
0
0
0
0
0
0
0
0
0
1
0.421053
false
0.368421
0
0
0.473684
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
a6a85e606206f3ca21fc93b0d7e7c88b783e8dd8
91
py
Python
typer_cli/__init__.py
juanmapf97/typer-cli
61521d5555850e9e16ee350afc43af02ba63a892
[ "MIT" ]
6
2020-04-17T09:03:46.000Z
2021-11-17T11:46:57.000Z
typer_cli/__init__.py
juanmapf97/typer-cli
61521d5555850e9e16ee350afc43af02ba63a892
[ "MIT" ]
null
null
null
typer_cli/__init__.py
juanmapf97/typer-cli
61521d5555850e9e16ee350afc43af02ba63a892
[ "MIT" ]
4
2020-04-16T03:25:05.000Z
2020-10-30T22:02:32.000Z
from importlib_metadata import version # type: ignore __version__ = version(__package__)
22.75
54
0.813187
10
91
6.5
0.8
0
0
0
0
0
0
0
0
0
0
0
0.131868
91
3
55
30.333333
0.822785
0.131868
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
a6a865d4039367708cefcba6b214d75bc5f882ad
247
py
Python
tests/test_pyside2.py
ponty/pyscreenshot
c948d83434d4db71ba68b75f49ed8671e07f80c1
[ "BSD-2-Clause" ]
416
2015-01-01T00:41:31.000Z
2022-03-31T10:15:53.000Z
tests/test_pyside2.py
ponty/pyscreenshot
c948d83434d4db71ba68b75f49ed8671e07f80c1
[ "BSD-2-Clause" ]
72
2015-02-23T20:12:17.000Z
2022-03-02T21:23:17.000Z
tests/test_pyside2.py
ponty/pyscreenshot
c948d83434d4db71ba68b75f49ed8671e07f80c1
[ "BSD-2-Clause" ]
88
2015-03-04T03:29:43.000Z
2021-10-04T06:37:00.000Z
from bt import backend_to_check, check_import from pyscreenshot.util import platform_is_osx # qt color problem on osx if not platform_is_osx(): if check_import("PySide2"): def test_pyside2(): backend_to_check("pyside2")
22.454545
45
0.724696
36
247
4.666667
0.555556
0.107143
0.166667
0
0
0
0
0
0
0
0
0.015228
0.202429
247
10
46
24.7
0.837563
0.093117
0
0
0
0
0.063063
0
0
0
0
0
0
1
0.166667
true
0
0.5
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
a6abf981b74c6bd62694ce66f951bdaf08e56bb0
1,380
py
Python
website/purchases/models/purchase.py
JobDoesburg/landolfio
4cbf31c2e6f93745f5aa0d20893bf20f3acecc6e
[ "MIT" ]
1
2021-02-24T14:33:09.000Z
2021-02-24T14:33:09.000Z
website/purchases/models/purchase.py
JobDoesburg/landolfio
4cbf31c2e6f93745f5aa0d20893bf20f3acecc6e
[ "MIT" ]
2
2022-01-13T04:03:38.000Z
2022-03-12T01:03:10.000Z
website/purchases/models/purchase.py
JobDoesburg/landolfio
4cbf31c2e6f93745f5aa0d20893bf20f3acecc6e
[ "MIT" ]
null
null
null
from django.db import models from django.db.models import PROTECT from asset_events.models import StatusChangingEvent, MultiAssetEvent from assets.models import Asset from moneybird_accounting.models import Contact class SingleAssetPurchase(StatusChangingEvent): class Meta: verbose_name = "asset purchase...
30.666667
126
0.739855
167
1,380
5.982036
0.437126
0.048048
0.024024
0.04004
0.034034
0
0
0
0
0
0
0
0.186957
1,380
44
127
31.363636
0.890374
0.117391
0
0.142857
0
0
0.065021
0
0
0
0
0.022727
0
1
0.142857
false
0
0.178571
0.142857
0.785714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
1
1
0
0
3
a6cba8b7cb52bfd6eb7149f7730ef659b4b60bb0
386
py
Python
socialdistribution/bettersocial/views.py
deasisrj1/CMPUT404-Project-BetterSocial
f5197a757b69f10d0b911a32159f7fc5641fe7bd
[ "Apache-2.0" ]
null
null
null
socialdistribution/bettersocial/views.py
deasisrj1/CMPUT404-Project-BetterSocial
f5197a757b69f10d0b911a32159f7fc5641fe7bd
[ "Apache-2.0" ]
null
null
null
socialdistribution/bettersocial/views.py
deasisrj1/CMPUT404-Project-BetterSocial
f5197a757b69f10d0b911a32159f7fc5641fe7bd
[ "Apache-2.0" ]
null
null
null
from django.contrib.auth.decorators import login_required from django.utils.decorators import method_decorator from django.views import generic class IndexView(generic.base.TemplateView): template_name = 'bettersocial/index.html' @method_decorator(login_required, name = 'dispatch') class ProfileView(generic.ba...
27.571429
57
0.813472
46
386
6.695652
0.543478
0.097403
0.149351
0.201299
0.305195
0.305195
0
0
0
0
0
0
0.101036
386
13
58
29.692308
0.887608
0
0
0
0
0
0.145078
0.124352
0
0
0
0
0
1
0
false
0
0.375
0
0.875
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
a6f587694744814d7117b976d6860091dde26266
290
py
Python
Mundo1/ex006.py
Larissa-Rodrigues/Python3-CursoEmVideo
28667003f2dc5a087f71146aad94e914b4294f93
[ "MIT" ]
1
2021-02-07T21:00:18.000Z
2021-02-07T21:00:18.000Z
Mundo1/ex006.py
Larissa-Rodrigues/Python3-CursoEmVideo
28667003f2dc5a087f71146aad94e914b4294f93
[ "MIT" ]
null
null
null
Mundo1/ex006.py
Larissa-Rodrigues/Python3-CursoEmVideo
28667003f2dc5a087f71146aad94e914b4294f93
[ "MIT" ]
null
null
null
#DESAFIO 006: Crie um algoritmo que leia um número e mostre o seu dobro, triplo e raiz quadrada. num = int(input('Digite um número: ')) print('O dobro de {} é {}'.format(num, 2*num)) print('O triplo de {} é {}'.format(num, 3*num)) print('A raiz quadrada de {} é {}'.format(num, num**0.5))
41.428571
96
0.655172
53
290
3.584906
0.54717
0.047368
0.142105
0.189474
0
0
0
0
0
0
0
0.028807
0.162069
290
7
97
41.428571
0.753086
0.327586
0
0
0
0
0.415385
0
0
0
0
0
0
1
0
false
0
0
0
0
0.75
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
0
0
0
0
0
0
1
0
3
4710a9fdeafbaa93e14ee525f89fc0fcce2507c6
292
py
Python
trchime/training/model.py
yatorho/trchime
503acd1309b6c2e44c1a270266f4479bdcfdd804
[ "Apache-2.0" ]
null
null
null
trchime/training/model.py
yatorho/trchime
503acd1309b6c2e44c1a270266f4479bdcfdd804
[ "Apache-2.0" ]
null
null
null
trchime/training/model.py
yatorho/trchime
503acd1309b6c2e44c1a270266f4479bdcfdd804
[ "Apache-2.0" ]
null
null
null
""" """ from collections import Iterator from ..core.tensor import Tensor class Model: def __init__(self) -> 'None': pass def Sequential(self): """ :return: """ def parameters(self) -> Iterator[Tensor]: raise NotImplementedError
11.68
45
0.568493
27
292
6
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.311644
292
24
46
12.166667
0.80597
0.027397
0
0
0
0
0.016064
0
0
0
0
0
0
1
0.375
false
0.125
0.25
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
471bd978f0acac7d0d88f1ed6c725812ba10b3c3
266
py
Python
src/prefect/tasks/HelloWorld/HelloWorldTask.py
rfcsilva/prefect
c6f81694f2cb0f6bff4c254b35b6615b0387a6cd
[ "Apache-2.0" ]
null
null
null
src/prefect/tasks/HelloWorld/HelloWorldTask.py
rfcsilva/prefect
c6f81694f2cb0f6bff4c254b35b6615b0387a6cd
[ "Apache-2.0" ]
null
null
null
src/prefect/tasks/HelloWorld/HelloWorldTask.py
rfcsilva/prefect
c6f81694f2cb0f6bff4c254b35b6615b0387a6cd
[ "Apache-2.0" ]
null
null
null
from prefect import Task class HelloWorldTask(Task): def __init__(self, msg, **kwargs): self.msg = msg super().__init__(**kwargs) def run(self, distanatary="World", hashtag="Swag"): return f"{self.msg}, {distanatary}! #{hashtag}"
22.166667
55
0.62406
31
266
5.096774
0.612903
0.132911
0
0
0
0
0
0
0
0
0
0
0.218045
266
11
56
24.181818
0.759615
0
0
0
0
0
0.172932
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0.142857
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
4729a2464cbfe8ce53aa0bf27f2da5a575b43509
19,840
py
Python
grpc_stubs/audio_to_text_pb2.py
aswinpradeep/inference_service_wrapper
bcc4c3739b4c86b2db86658f64ae7519dcd6afe5
[ "MIT" ]
1
2021-10-31T20:47:43.000Z
2021-10-31T20:47:43.000Z
grpc_stubs/audio_to_text_pb2.py
aswinpradeep/inference_service_wrapper
bcc4c3739b4c86b2db86658f64ae7519dcd6afe5
[ "MIT" ]
2
2021-11-11T12:43:20.000Z
2021-11-18T08:15:04.000Z
grpc_stubs/audio_to_text_pb2.py
aswinpradeep/inference_service_wrapper
bcc4c3739b4c86b2db86658f64ae7519dcd6afe5
[ "MIT" ]
2
2021-08-12T05:30:15.000Z
2022-01-27T10:39:19.000Z
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: audio_to_text.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.p...
40.243408
1,577
0.749395
2,473
19,840
5.694703
0.07683
0.046581
0.0796
0.072854
0.735142
0.69836
0.692679
0.692679
0.687709
0.683661
0
0.034622
0.12505
19,840
492
1,578
40.325203
0.776658
0.032308
0
0.696629
1
0.002247
0.183922
0.131686
0
0
0
0
0
1
0
false
0
0.008989
0
0.008989
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
472f4ce85dff6cbfda6245c367e348bdd34d8153
2,922
py
Python
tasks-deploy/usbrip/generate.py
irdkwmnsb/lkshl-ctf
e5c0200ddc8ba73df5f321b87b9763fb1bbaba57
[ "MIT" ]
3
2021-03-30T06:27:58.000Z
2021-04-03T17:56:35.000Z
tasks-deploy/usbrip/generate.py
irdkwmnsb/lkshl-ctf
e5c0200ddc8ba73df5f321b87b9763fb1bbaba57
[ "MIT" ]
null
null
null
tasks-deploy/usbrip/generate.py
irdkwmnsb/lkshl-ctf
e5c0200ddc8ba73df5f321b87b9763fb1bbaba57
[ "MIT" ]
null
null
null
TITLE = "Сервак" STATEMENT_TEMPLATE = ''' Перед увольнением из фирмы ты скопировал все логи со всех серверов на флешку и забрал их с собой. Какого было твоё удивление, когда ты насчитал на 1 лог больше, чем количество серверов. Разберитесь в чём дело. [log.log](http://ctf.sicamp.ru/static/zq8wmxfhzqw/{0}.log) '''...
224.769231
2,409
0.677276
270
2,922
7.322222
0.948148
0.017198
0
0
0
0
0
0
0
0
0
0.100646
0.098905
2,922
13
2,409
224.769231
0.650209
0
0
0
0
0.2
0.648574
0
0
0
0
0
0
1
0.1
false
0
0
0
0.2
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
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5b5d234c8e6715365aa1d6a4fa03207d67678a4c
139
py
Python
mdformat_footnote/__init__.py
executablebooks/mdformat-footnote
80852fc20cfba7fd0330b9ac7a1a4df983542942
[ "MIT" ]
null
null
null
mdformat_footnote/__init__.py
executablebooks/mdformat-footnote
80852fc20cfba7fd0330b9ac7a1a4df983542942
[ "MIT" ]
3
2022-01-09T23:11:34.000Z
2022-02-21T11:35:24.000Z
mdformat_footnote/__init__.py
executablebooks/mdformat-footnote
80852fc20cfba7fd0330b9ac7a1a4df983542942
[ "MIT" ]
null
null
null
"""An mdformat plugin for parsing/validating footnotes""" __version__ = "0.1.1" from .plugin import RENDERERS, update_mdit # noqa: F401
23.166667
57
0.741007
19
139
5.157895
0.894737
0
0
0
0
0
0
0
0
0
0
0.05042
0.143885
139
5
58
27.8
0.773109
0.453237
0
0
0
0
0.071429
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
5b76d2c14662704023a23066f8d94e3713ec0192
6,588
py
Python
deliverable2/salvo.py
TrackerSB/IEEEAITestChallenge2021
836f0cfa39a3e25a8149a9adb77c3a8270417a39
[ "MIT" ]
1
2021-09-14T16:30:44.000Z
2021-09-14T16:30:44.000Z
deliverable2/salvo.py
TrackerSB/IEEEAITestChallenge2021
836f0cfa39a3e25a8149a9adb77c3a8270417a39
[ "MIT" ]
22
2021-02-26T06:35:00.000Z
2021-07-16T12:37:58.000Z
deliverable2/salvo.py
TrackerSB/IEEEAITestChallenge2021
836f0cfa39a3e25a8149a9adb77c3a8270417a39
[ "MIT" ]
2
2021-03-10T19:50:28.000Z
2021-08-23T08:02:36.000Z
from models import Experiment from models.plan import StraightModel, ParkingModel import click import random @click.group() def cli(): pass MAPS = { "BorregasAve": "maps/BorregasAve.xodr", "CubeTown": "maps/CubeTown.xodr", "AutonomouStuff": "maps/AutonomouStuff.xodr", "SanFrancisco": "maps/SanFr...
43.342105
134
0.656648
845
6,588
4.968047
0.147929
0.035017
0.031444
0.045021
0.761791
0.751548
0.705812
0.692949
0.674131
0.674131
0
0.007238
0.182149
6,588
151
135
43.629139
0.771901
0
0
0.5
0
0
0.279599
0.01017
0
0
0
0
0
1
0.037879
false
0.007576
0.030303
0
0.068182
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5bb16c9787ca0ee5d2610800c036dbdb5b4b272d
91
py
Python
annuaire/apps.py
Foohx/acceslibre
55135e096f2ec4e413ff991f01c17f5e0d5925c0
[ "MIT" ]
8
2020-07-23T08:17:28.000Z
2022-03-09T22:31:36.000Z
annuaire/apps.py
Foohx/acceslibre
55135e096f2ec4e413ff991f01c17f5e0d5925c0
[ "MIT" ]
37
2020-07-01T08:47:33.000Z
2022-02-03T19:50:58.000Z
annuaire/apps.py
Foohx/acceslibre
55135e096f2ec4e413ff991f01c17f5e0d5925c0
[ "MIT" ]
4
2021-04-08T10:57:18.000Z
2022-01-31T13:16:31.000Z
from django.apps import AppConfig class AnnuaireConfig(AppConfig): name = "annuaire"
15.166667
33
0.758242
10
91
6.9
0.9
0
0
0
0
0
0
0
0
0
0
0
0.164835
91
5
34
18.2
0.907895
0
0
0
0
0
0.087912
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
5bb5561ba5d6fa535cbafbd802e3c6398628d65c
88
py
Python
Pass_Statement.py
BeenashPervaiz/Command_Line_Task
a603fbdd06717ff157ecd72881d08329413fd82c
[ "MIT" ]
null
null
null
Pass_Statement.py
BeenashPervaiz/Command_Line_Task
a603fbdd06717ff157ecd72881d08329413fd82c
[ "MIT" ]
null
null
null
Pass_Statement.py
BeenashPervaiz/Command_Line_Task
a603fbdd06717ff157ecd72881d08329413fd82c
[ "MIT" ]
null
null
null
#pass statement x =12 if x >12: pass #pass means that user donot want to write code.
22
56
0.704545
17
88
3.647059
0.764706
0.096774
0
0
0
0
0
0
0
0
0
0.058824
0.227273
88
4
56
22
0.852941
0.681818
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.333333
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
5bcac133d3a977e5b77e2852be9453c65deb1115
923
py
Python
saticl/logging/__init__.py
edornd/multimodal-icl
f79bfa73665db471c12ee9cb57bbee1bcabb0467
[ "MIT" ]
6
2021-12-08T05:58:18.000Z
2021-12-29T09:55:32.000Z
saticl/logging/__init__.py
edornd/multimodal-icl
f79bfa73665db471c12ee9cb57bbee1bcabb0467
[ "MIT" ]
null
null
null
saticl/logging/__init__.py
edornd/multimodal-icl
f79bfa73665db471c12ee9cb57bbee1bcabb0467
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod from typing import Dict, List import numpy as np from torch import nn class BaseLogger(ABC): @abstractmethod def step(self, iteration: int = None) -> None: raise NotImplementedError() @abstractmethod def log_model(self, model: nn.Module, input_size: tuple...
27.969697
98
0.673889
106
923
5.811321
0.367925
0.165584
0.272727
0.340909
0.428571
0.428571
0.350649
0
0
0
0
0
0.215601
923
32
99
28.84375
0.850829
0
0
0.521739
0
0
0
0
0
0
0
0
0
1
0.26087
false
0
0.173913
0
0.478261
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
7503779f25cf5db8f38825082fc0682fc035b802
326
py
Python
RevitPythonShell/DefaultConfig/startup.py
PavelAltynnikov/revitpythonshell
ce5d21b7883aaf80d6d16e6ae82fcb72ff285b31
[ "MIT" ]
356
2015-04-06T18:55:41.000Z
2022-03-25T07:35:00.000Z
RevitPythonShell/DefaultConfig/startup.py
ozgurcanmim/revitpythonshell
ce5d21b7883aaf80d6d16e6ae82fcb72ff285b31
[ "MIT" ]
96
2015-05-05T13:42:33.000Z
2022-02-01T16:44:23.000Z
RevitPythonShell/DefaultConfig/startup.py
ozgurcanmim/revitpythonshell
ce5d21b7883aaf80d6d16e6ae82fcb72ff285b31
[ "MIT" ]
107
2015-05-14T22:56:15.000Z
2022-03-29T14:26:03.000Z
# script that is run when Revit starts in the IExternalApplication.Startup event. try: # add your code here # ... __window__.Close() # closes the window except: import traceback # note: add a python27 library to your search path first! traceback.print_exc() # helps you debug when things go...
40.75
84
0.699387
46
326
4.869565
0.869565
0
0
0
0
0
0
0
0
0
0
0.008
0.233129
326
8
85
40.75
0.884
0.656442
0
0
0
0
0
0
0
0
0
0.125
0
0
null
null
0
0.2
null
null
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
3
750b572066bf51d0e70e5fd380c037eaeb478ce8
21
py
Python
correlater/grabber/grabber.py
hackforla-later/correl-later
60d93ccf666c0510319c3609fe60066ce25d7fa4
[ "MIT" ]
null
null
null
correlater/grabber/grabber.py
hackforla-later/correl-later
60d93ccf666c0510319c3609fe60066ce25d7fa4
[ "MIT" ]
null
null
null
correlater/grabber/grabber.py
hackforla-later/correl-later
60d93ccf666c0510319c3609fe60066ce25d7fa4
[ "MIT" ]
null
null
null
__author__ = 'sauer'
10.5
20
0.714286
2
21
5.5
1
0
0
0
0
0
0
0
0
0
0
0
0.142857
21
1
21
21
0.611111
0
0
0
0
0
0.238095
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7518bf4e37f17447b306a0756fd92085c9d7df54
1,596
py
Python
Ago-Dic-2017/Luis Zúñiga/Primer Parcial/Parte 1/Electrodomestico.py
Andremm303/DAS_Sistemas
0163505737e2b24365ea8b4e8135773a6801add4
[ "MIT" ]
null
null
null
Ago-Dic-2017/Luis Zúñiga/Primer Parcial/Parte 1/Electrodomestico.py
Andremm303/DAS_Sistemas
0163505737e2b24365ea8b4e8135773a6801add4
[ "MIT" ]
null
null
null
Ago-Dic-2017/Luis Zúñiga/Primer Parcial/Parte 1/Electrodomestico.py
Andremm303/DAS_Sistemas
0163505737e2b24365ea8b4e8135773a6801add4
[ "MIT" ]
null
null
null
class Electrodomestico(object): """description of class""" __color = '' __precio = '' __sku = '' __fecha_creacion = '' __pais_de_origen = '' __marca = '' def __init__(self,color,precio,sku,fecha_creacion,pais_de_origen,marca): self.__color = color self.__precio = pr...
21
124
0.578947
177
1,596
4.661017
0.152542
0.157576
0.130909
0.09697
0.396364
0.367273
0.236364
0.106667
0.106667
0
0
0
0.329574
1,596
75
125
21.28
0.771028
0.012531
0
0.3
0
0
0
0
0
0
0
0
0
1
0.325
false
0
0
0.15
0.65
0.025
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
751fead7d8a4d0714c9ca3b193c08d0357de05c2
214
py
Python
users/urls.py
LuisMlopez/crm_agile
00a2bb71a3c954f72b50f8fe6870d2d96b9d23f6
[ "MIT" ]
null
null
null
users/urls.py
LuisMlopez/crm_agile
00a2bb71a3c954f72b50f8fe6870d2d96b9d23f6
[ "MIT" ]
null
null
null
users/urls.py
LuisMlopez/crm_agile
00a2bb71a3c954f72b50f8fe6870d2d96b9d23f6
[ "MIT" ]
null
null
null
from users.views import UserViewSet from rest_framework.routers import DefaultRouter app_name = 'users' router = DefaultRouter() router.register(r'users', UserViewSet, basename='user') urlpatterns = router.urls
21.4
55
0.799065
26
214
6.5
0.692308
0
0
0
0
0
0
0
0
0
0
0
0.107477
214
9
56
23.777778
0.884817
0
0
0
0
0
0.065421
0
0
0
0
0
0
1
0
false
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
0
0
1
0
0
0
0
3
7536f1f8a6e77a663e1955a9aac87f40c3a98f93
7,968
py
Python
src/stack-hci/azext_stack_hci/generated/_help.py
Caoxuyang/azure-cli-extensions
d2011261f29033cb31a1064256727d87049ab423
[ "MIT" ]
null
null
null
src/stack-hci/azext_stack_hci/generated/_help.py
Caoxuyang/azure-cli-extensions
d2011261f29033cb31a1064256727d87049ab423
[ "MIT" ]
9
2022-03-25T19:35:49.000Z
2022-03-31T06:09:47.000Z
src/stack-hci/azext_stack_hci/generated/_help.py
Caoxuyang/azure-cli-extensions
d2011261f29033cb31a1064256727d87049ab423
[ "MIT" ]
1
2022-02-14T21:43:29.000Z
2022-02-14T21:43:29.000Z
# -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incor...
38.307692
120
0.64508
936
7,968
5.490385
0.175214
0.073166
0.048064
0.049037
0.789259
0.737498
0.581631
0.487254
0.450282
0.440553
0
0.013751
0.21511
7,968
207
121
38.492754
0.807963
0.058986
0
0.511494
0
0.12069
0.942968
0.069187
0
0
0
0
0
1
0
true
0
0.005747
0
0.005747
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
7558033505c62ab02c093022ec4b1236d0cc8771
135
py
Python
test/tests/62.py
kevinxucs/pyston
bdb87c1706ac74a0d15d9bc2bae53798678a5f14
[ "Apache-2.0" ]
1
2020-02-06T14:28:45.000Z
2020-02-06T14:28:45.000Z
test/tests/62.py
kevinxucs/pyston
bdb87c1706ac74a0d15d9bc2bae53798678a5f14
[ "Apache-2.0" ]
null
null
null
test/tests/62.py
kevinxucs/pyston
bdb87c1706ac74a0d15d9bc2bae53798678a5f14
[ "Apache-2.0" ]
1
2020-02-06T14:29:00.000Z
2020-02-06T14:29:00.000Z
# Stackmaps don't get emitted for code that's dead even if it exists in IR: class C(object): pass c = C() if 1 == 0: c.x = 1
15
75
0.607407
28
135
2.928571
0.821429
0
0
0
0
0
0
0
0
0
0
0.030928
0.281481
135
8
76
16.875
0.814433
0.540741
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.2
0
0
0.2
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
755b7094ffbd300b8fb0a70c7ec2dcef988e68bd
361
py
Python
063.py
zlsun/ProjectEuler
813ec545484924a052f1bd7fd90a4c676eea3bba
[ "MIT" ]
null
null
null
063.py
zlsun/ProjectEuler
813ec545484924a052f1bd7fd90a4c676eea3bba
[ "MIT" ]
null
null
null
063.py
zlsun/ProjectEuler
813ec545484924a052f1bd7fd90a4c676eea3bba
[ "MIT" ]
null
null
null
#-*- encoding: utf-8 -*- """ Powerful digit counts The 5-digit number, 16807=7^5, is also a fifth power. Similarly, the 9-digit number, 134217728=8^9, is a ninth power. How many n-digit positive integers exist which are also an nth power? """ from utils import * print len([(i, n) for n in range(1, 200) for i in rang...
27.769231
117
0.66759
69
361
3.492754
0.652174
0.091286
0.06639
0
0
0
0
0
0
0
0
0.102041
0.185596
361
12
118
30.083333
0.717687
0.072022
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.5
null
null
0.5
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
1
0
0
0
1
0
0
1
0
3
f329a69b56de42c0665eacd7e08705d9d4c8eb2b
4,590
py
Python
Tests/JWTTests/Samples/GenerateSample.py
Alpha-Coders/JWTSwift
482609915aaf485f9b3120a8afe60b78c9c5418f
[ "MIT" ]
3
2022-01-10T07:49:39.000Z
2022-03-30T07:55:34.000Z
Tests/JWTTests/Samples/GenerateSample.py
Alpha-Coders/JWTSwift
482609915aaf485f9b3120a8afe60b78c9c5418f
[ "MIT" ]
null
null
null
Tests/JWTTests/Samples/GenerateSample.py
Alpha-Coders/JWTSwift
482609915aaf485f9b3120a8afe60b78c9c5418f
[ "MIT" ]
1
2021-12-22T21:44:01.000Z
2021-12-22T21:44:01.000Z
#https://github.com/jpadilla/pyjwt #pip3 install PyJWT import jwt import sys import os.path sampleDirectory = os.path.split(sys.argv[0])[0] def writeToSampleDirectory(content,name): f = open(sampleDirectory+'/'+name, 'w') f.write(content) f.close() cryptoPayload = { 'sub': '1234567890','name': 'John Doe...
41.351351
127
0.752941
488
4,590
6.967213
0.19877
0.205882
0.255294
0.24
0.640588
0.47
0.435
0.156471
0.102353
0.102353
0
0.073872
0.082789
4,590
110
128
41.727273
0.733729
0.011111
0
0.240964
0
0
0.209656
0.054674
0
0
0
0
0
1
0.012048
false
0
0.036145
0
0.048193
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f339fee561b80f36c8b8e1b6eddcf3d9855e4f2a
2,115
py
Python
Timbuchalka/Section-6/advikb.py
Advik-B/Learn-Python
66ac57259764e8f2c3c6513a8de6c106800d8abe
[ "MIT" ]
6
2021-07-26T14:21:25.000Z
2021-07-26T14:32:01.000Z
Timbuchalka/Section-6/advikb.py
Advik-B/Learn-Python
66ac57259764e8f2c3c6513a8de6c106800d8abe
[ "MIT" ]
2
2021-12-10T10:25:19.000Z
2021-12-10T10:27:15.000Z
Timbuchalka/Section-6/advikb.py
Advik-B/Learn-Python
66ac57259764e8f2c3c6513a8de6c106800d8abe
[ "MIT" ]
null
null
null
def cprint(text: str = '', *effects: str) -> None: """ Print `text` using the ANSI sequences to change colour, etc :param text: The text to print. :param effects: The effect we want. One of the constants defined at the start of this module. The arguments: `BLACK` `RED` `GREEN`...
27.467532
126
0.601891
235
2,115
5.297872
0.348936
0.250602
0.192771
0.212048
0
0
0
0
0
0
0
0.038835
0.269504
2,115
77
127
27.467532
0.76699
0.146572
0
0.040816
0
0.020408
0.19233
0.01627
0
0
0
0
0
1
0.020408
false
0
0.061224
0
0.081633
0.040816
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f343a35efeb825ae0c8348842d2e5b0c538042bb
3,933
py
Python
SpringerExtractorPDF.py
luiseduardobr1/SpringerBooksDownloader
543758501e44986c6e6f7b0fe34031c071e46934
[ "MIT" ]
3
2021-06-30T07:35:11.000Z
2021-08-04T05:03:03.000Z
SpringerExtractorPDF.py
luiseduardobr1/SpringerBooksDownloader
543758501e44986c6e6f7b0fe34031c071e46934
[ "MIT" ]
null
null
null
SpringerExtractorPDF.py
luiseduardobr1/SpringerBooksDownloader
543758501e44986c6e6f7b0fe34031c071e46934
[ "MIT" ]
null
null
null
import PyPDF2 import re import requests from bs4 import BeautifulSoup import os from pydrive.drive import GoogleDrive from pydrive.auth import GoogleAuth # settings.yalm gauth = GoogleAuth() gauth.LocalWebserverAuth() drive = GoogleDrive(gauth) string = '' # Extrair todos os endereços ...
64.47541
2,012
0.617849
831
3,933
2.88929
0.464501
0.041233
0.009996
0.011662
0.538109
0.500625
0.500625
0.500625
0.500625
0.49646
0
0.004294
0.111874
3,933
60
2,013
65.55
0.682508
0.04958
0
0
0
0.02439
0.595692
0.543075
0
0
0
0.016667
0
1
0
false
0
0.170732
0
0.170732
0.04878
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
null
0
0
1
0
0
0
0
0
0
0
0
0
0
3
f352eb7969c793de46ee7e098990008170af53df
92
py
Python
18.funcoes_nativas/len.py
robinson-1985/python-zero-dnc
df510d67e453611fcd320df1397cdb9ca47fecb8
[ "MIT" ]
null
null
null
18.funcoes_nativas/len.py
robinson-1985/python-zero-dnc
df510d67e453611fcd320df1397cdb9ca47fecb8
[ "MIT" ]
null
null
null
18.funcoes_nativas/len.py
robinson-1985/python-zero-dnc
df510d67e453611fcd320df1397cdb9ca47fecb8
[ "MIT" ]
null
null
null
# retorna a quantidade de elementos lista = [1,2,3,4,5,6,7,8,9,1,2,3,4,5] print(len(lista))
23
37
0.663043
23
92
2.652174
0.73913
0.065574
0.098361
0.131148
0.163934
0
0
0
0
0
0
0.170732
0.108696
92
4
38
23
0.573171
0.358696
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
f36bb7643af21fd92439b8e464a5b6a91b42b34b
1,010
py
Python
ch_3/cossum.py
ProhardONE/python_primer
211e37c1f2fd169269fc4f3c08e8b7e5225f2ad0
[ "MIT" ]
51
2016-04-05T16:56:11.000Z
2022-02-08T00:08:47.000Z
ch_3/cossum.py
zhangxiao921207/python_primer
211e37c1f2fd169269fc4f3c08e8b7e5225f2ad0
[ "MIT" ]
null
null
null
ch_3/cossum.py
zhangxiao921207/python_primer
211e37c1f2fd169269fc4f3c08e8b7e5225f2ad0
[ "MIT" ]
47
2016-05-02T07:51:37.000Z
2022-02-08T01:28:15.000Z
# Exercise 3.30 # Author: Noah Waterfield Price def C(x, n): term = 1 s = term for j in xrange(1, n + 1): term *= -x ** 2 / (2. * j * (2. * j - 1.)) s += term return s def table(x_list): from math import cos print '%7s %9s %9s %9s %9s %9s ' % ('x', 'n=5', 'n=25', 'n=50', 'n=10...
27.297297
76
0.494059
202
1,010
2.450495
0.40099
0.030303
0.032323
0.048485
0.244444
0.244444
0.09899
0.09899
0.068687
0.068687
0
0.274709
0.318812
1,010
36
77
28.055556
0.444767
0.077228
0
0
0
0.052632
0.133111
0
0
0
0
0
0
0
null
null
0
0.105263
null
null
0.105263
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
f382438bf461eb4968151169cad7cb0dda099494
413
py
Python
com/LimePencil/Q20232/Archivist.py
LimePencil/baekjoonProblems
61eeeeb875585d165d9e39ecdb3d905b4ba6aa87
[ "MIT" ]
null
null
null
com/LimePencil/Q20232/Archivist.py
LimePencil/baekjoonProblems
61eeeeb875585d165d9e39ecdb3d905b4ba6aa87
[ "MIT" ]
null
null
null
com/LimePencil/Q20232/Archivist.py
LimePencil/baekjoonProblems
61eeeeb875585d165d9e39ecdb3d905b4ba6aa87
[ "MIT" ]
null
null
null
import sys input = sys.stdin.readline n = int(input()) d = {1995: "ITMO",1996: "SPbSU",1997: "SPbSU",1998: "ITMO",1999: "ITMO",2000: "SPbSU",2001: "ITMO",2002: "ITMO",2003: "ITMO",2004: "ITMO",2005: "ITMO",2006: "PetrSU, ITMO",2007: "SPbSU",2008: "SPbSU",2009: "ITMO",2010: "ITMO",2011: "ITMO",2012: "ITMO",2013: "SPbSU...
68.833333
345
0.62954
64
413
4.0625
0.578125
0
0
0
0
0
0
0
0
0
0
0.266667
0.09201
413
6
346
68.833333
0.426667
0
0
0
0
0
0.277778
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f388ed4b9ff4141a98a155c4b258425dcb3e371c
169
py
Python
python/mergeLists/merge.py
giubueno/algorithms
950730befc4db7e85838e93d2bd4068abaa176a7
[ "MIT" ]
2
2021-02-26T11:51:29.000Z
2021-02-26T11:51:43.000Z
python/mergeLists/merge.py
giubueno/algorithms
950730befc4db7e85838e93d2bd4068abaa176a7
[ "MIT" ]
null
null
null
python/mergeLists/merge.py
giubueno/algorithms
950730befc4db7e85838e93d2bd4068abaa176a7
[ "MIT" ]
null
null
null
from typing import List def mergeLists(l1: List[int], l2: List[int]) -> List[int]: l3 = [] i = 0 j = 0 while i < len(l1) or j < len(l2): return l3
16.9
58
0.538462
29
169
3.137931
0.586207
0.230769
0
0
0
0
0
0
0
0
0
0.068376
0.307692
169
10
59
16.9
0.709402
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.142857
null
null
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
f3913e604b77e339af140541db21fa72f380cc86
295
py
Python
tinkoff/invest/strategies/moving_average/strategy_settings.py
Tinkoff/invest-python
26ef8cc1e70d144707246e64f29466b4491d4f8c
[ "Apache-2.0" ]
41
2022-01-21T05:38:57.000Z
2022-03-30T03:54:41.000Z
tinkoff/invest/strategies/moving_average/strategy_settings.py
Tinkoff/invest-python
26ef8cc1e70d144707246e64f29466b4491d4f8c
[ "Apache-2.0" ]
20
2022-01-24T05:46:02.000Z
2022-03-31T16:54:04.000Z
tinkoff/invest/strategies/moving_average/strategy_settings.py
Tinkoff/invest-python
26ef8cc1e70d144707246e64f29466b4491d4f8c
[ "Apache-2.0" ]
15
2022-01-25T06:53:27.000Z
2022-03-30T03:49:07.000Z
import dataclasses from datetime import timedelta from tinkoff.invest.strategies.base.strategy_settings_base import StrategySettings @dataclasses.dataclass class MovingAverageStrategySettings(StrategySettings): long_period: timedelta short_period: timedelta std_period: timedelta
24.583333
82
0.844068
30
295
8.133333
0.633333
0.184426
0
0
0
0
0
0
0
0
0
0
0.115254
295
11
83
26.818182
0.934866
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.375
0
0.875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
f397c107ad9296aafe9714e270d067865492d1c2
380
py
Python
solutions/clustering/code/utils.py
dloeffen/datamining-practicals
526d1feda7098766babcda77d1e14a0797f5316e
[ "MIT" ]
null
null
null
solutions/clustering/code/utils.py
dloeffen/datamining-practicals
526d1feda7098766babcda77d1e14a0797f5316e
[ "MIT" ]
3
2020-09-21T12:34:04.000Z
2020-09-23T10:10:19.000Z
solutions/clustering/code/utils.py
dloeffen/datamining-practicals
526d1feda7098766babcda77d1e14a0797f5316e
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon Sep 21 11:55:53 2020 @author: dirk """ import numpy as np def euclidian_distance(x,y): # Implement the euclidian distance using simple matrix operations return np.sqrt(np.sum(np.multiply(x-y,x-y))) def random_float(min_value, max_value): r...
25.333333
69
0.705263
63
380
4.142857
0.666667
0.022989
0
0
0
0
0
0
0
0
0
0.043478
0.152632
380
15
70
25.333333
0.767081
0.415789
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0.2
0.4
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
f3c0b15da275de38900b95057550270dab1c1d65
667
py
Python
src/banner.py
RedMads/RedCipher
f19959684f662cc6a641d01d945930c2da7184ee
[ "MIT" ]
6
2021-06-20T02:39:59.000Z
2022-02-26T16:54:46.000Z
src/banner.py
RedMads/RedCipher
f19959684f662cc6a641d01d945930c2da7184ee
[ "MIT" ]
null
null
null
src/banner.py
RedMads/RedCipher
f19959684f662cc6a641d01d945930c2da7184ee
[ "MIT" ]
null
null
null
red='\033[1;31m' aqua = '\033[1;36m' blink = "\033[5m" reset = reset="\033[0m" b = f""" {red} ____ _ ____ _ _ | _ \ ___ __| |/ ___(_)_ __ | |__ ___ _ __ | |_) / _ \/ _` | | | | '_ \| '_ \ / _ \ '__| | _ < __/ (_| | |___| | |_) | | | | __/ | |_| \_\___|\__,_|\____|_| ...
20.84375
70
0.368816
44
667
3.954545
0.568182
0.201149
0.126437
0
0
0
0
0
0
0
0
0.045767
0.344828
667
31
71
21.516129
0.352403
0
0
0
0
0.166667
0.862069
0.113943
0
0
0
0
0
1
0.055556
false
0
0
0
0.055556
0.055556
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
45fd899fce9205f919135c6f43c420c907f765a8
3,540
py
Python
runtests.py
tibkiss/pyalgotrade
4979315281c362dcba2e6d53da27dc4a7377ebec
[ "Apache-2.0" ]
2
2015-04-03T10:29:14.000Z
2017-01-21T05:55:00.000Z
runtests.py
tibkiss/pyalgotrade
4979315281c362dcba2e6d53da27dc4a7377ebec
[ "Apache-2.0" ]
null
null
null
runtests.py
tibkiss/pyalgotrade
4979315281c362dcba2e6d53da27dc4a7377ebec
[ "Apache-2.0" ]
null
null
null
# PyAlgoTrade # # Copyright 2011 Gabriel Martin Becedillas Ruiz # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
35.049505
79
0.778531
440
3,540
6.031818
0.3
0.132253
0.193293
0.22532
0.214393
0
0
0
0
0
0
0.00298
0.146893
3,540
100
80
35.4
0.875828
0.216384
0
0
0
0
0.008006
0
0
0
0
0
0
1
0.042857
false
0
0.414286
0
0.471429
0.014286
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
34100fb43935b37c7a930192c2078a439131d123
6,321
py
Python
biaflows/helpers/util.py
Neubias-WG5/biaflows-utilities
417484a0207c686e5703d6f043990c52446f12d6
[ "Apache-2.0" ]
null
null
null
biaflows/helpers/util.py
Neubias-WG5/biaflows-utilities
417484a0207c686e5703d6f043990c52446f12d6
[ "Apache-2.0" ]
null
null
null
biaflows/helpers/util.py
Neubias-WG5/biaflows-utilities
417484a0207c686e5703d6f043990c52446f12d6
[ "Apache-2.0" ]
null
null
null
import os import tifffile import numpy as np from abc import ABCMeta, abstractmethod import sldc from cytomine.models._utilities import resolve_pattern def get_ome_metadata(tiff): import xml.etree.ElementTree as ET tree = ET.fromstring(tiff.ome_metadata) return list(list(tree)[0])[0].attrib def imread_...
30.1
132
0.663819
851
6,321
4.708578
0.229142
0.057899
0.027452
0.008735
0.247317
0.168954
0.095583
0.034939
0.034939
0
0
0.003652
0.220218
6,321
209
133
30.244019
0.809292
0.114381
0
0.258741
0
0
0.035507
0
0
0
0
0
0
1
0.230769
false
0.013986
0.055944
0.125874
0.51049
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
34148c2fcce0362d1f8fbb6517ea23aae1dbf956
120
py
Python
tests/apitests/pathReverse.py
jenskutilek/drawbot-skia
e636316ab40843b410c88ce7e5ba628aeb7d1a2c
[ "Apache-2.0" ]
60
2020-09-17T19:08:33.000Z
2022-02-02T07:27:13.000Z
tests/apitests/pathReverse.py
jenskutilek/drawbot-skia
e636316ab40843b410c88ce7e5ba628aeb7d1a2c
[ "Apache-2.0" ]
47
2020-09-17T18:58:52.000Z
2022-03-28T17:36:07.000Z
tests/apitests/pathReverse.py
jenskutilek/drawbot-skia
e636316ab40843b410c88ce7e5ba628aeb7d1a2c
[ "Apache-2.0" ]
9
2020-09-18T13:42:20.000Z
2022-03-10T23:17:18.000Z
size(200, 200) path = BezierPath() path.rect(50, 50, 100, 100) path.reverse() path.rect(75, 75, 50, 50) drawPath(path)
15
27
0.675
21
120
3.857143
0.47619
0.197531
0
0
0
0
0
0
0
0
0
0.230769
0.133333
120
7
28
17.142857
0.548077
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
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
3
3420feec1ea104b3603118b5b29c41c17673cb48
9,119
py
Python
libs/configs/DOTA1.0/dota_train/cfgs_res50_dotatrain_dcl_v12.py
Thinklab-SJTU/DCL_RetinaNet_Tensorflow
1d14c9800c3eb1975e8832978f7a263783d171ec
[ "Apache-2.0" ]
36
2020-11-19T07:23:42.000Z
2022-03-30T03:35:57.000Z
libs/configs/DOTA1.0/dota_train/cfgs_res50_dotatrain_dcl_v12.py
Thinklab-SJTU/DCL_RetinaNet_Tensorflow
1d14c9800c3eb1975e8832978f7a263783d171ec
[ "Apache-2.0" ]
4
2021-01-30T09:49:10.000Z
2021-12-05T12:49:11.000Z
libs/configs/DOTA1.0/dota_train/cfgs_res50_dotatrain_dcl_v12.py
Thinklab-SJTU/DCL_RetinaNet_Tensorflow
1d14c9800c3eb1975e8832978f7a263783d171ec
[ "Apache-2.0" ]
6
2020-11-23T07:54:47.000Z
2021-07-09T07:20:15.000Z
# -*- coding: utf-8 -*- from __future__ import division, print_function, absolute_import import os import tensorflow as tf import math """ GCL + OMEGA = 180 / 128. {'0.9': {'bridge': 0.00024770869457517957, 'small-vehicle': 0.01515151515151515, 'basketball-court': 0.022727272727272728, 'harbor': 0.002457002457002457,...
71.80315
1,124
0.727163
1,136
9,119
5.709507
0.369718
0.024669
0.020043
0.02621
0.057971
0.053654
0.012026
0.012026
0.012026
0.012026
0
0.356293
0.087729
9,119
126
1,125
72.373016
0.423368
0.072486
0
0
0
0
0.108767
0.050928
0
0
0
0
0
1
0
false
0
0.046512
0
0.046512
0.034884
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
34286434a1fd7a82c133042db744e6741f2f58ff
1,014
py
Python
days/day1.py
ghallberg/advent2019
6545a60c5d923a21eec6c4e793fe255e0e282166
[ "MIT" ]
null
null
null
days/day1.py
ghallberg/advent2019
6545a60c5d923a21eec6c4e793fe255e0e282166
[ "MIT" ]
null
null
null
days/day1.py
ghallberg/advent2019
6545a60c5d923a21eec6c4e793fe255e0e282166
[ "MIT" ]
1
2019-12-02T19:45:06.000Z
2019-12-02T19:45:06.000Z
""" Calculate the fuel cost based on weight. >>> fuel_calculation(0) -2 >>> fuel_calculation(12) 2 >>> fuel_calculation(14) 2 >>> fuel_calculation(1969) 654 >>> fuel_calculation(100756) 33583 >>> additional_fuel_amount(2) 0 >>> additional_fuel_amount(654) 312 >>> additional_fuel_amount(33583) 16763 """ from math ...
19.5
72
0.7357
138
1,014
5.086957
0.318841
0.239316
0.17094
0.042735
0
0
0
0
0
0
0
0.056471
0.161736
1,014
51
73
19.882353
0.769412
0.292899
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.055556
0.055556
0.555556
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
342d42a027ff8cee810bc50efaa300009f64eeb9
280
py
Python
src/jt/rubicon/java/_constants.py
karpierz/jtypes.rubicon
8f8196e47de93183eb9728fec0d08725fc368ee0
[ "BSD-3-Clause" ]
2
2018-11-29T06:19:05.000Z
2018-12-09T09:47:55.000Z
src/jt/rubicon/java/_constants.py
karpierz/jtypes.rubicon
8f8196e47de93183eb9728fec0d08725fc368ee0
[ "BSD-3-Clause" ]
null
null
null
src/jt/rubicon/java/_constants.py
karpierz/jtypes.rubicon
8f8196e47de93183eb9728fec0d08725fc368ee0
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) 2014-2019 Adam Karpierz # Licensed under the MIT License # http://opensource.org/licenses/MIT from ...jvm.lib import public from ...jvm import EJavaType from ...jvm import EJavaModifiers public(EJavaType = EJavaType) public(EJavaModifiers = EJavaModifiers)
25.454545
39
0.760714
35
280
6.085714
0.628571
0.098592
0.122066
0
0
0
0
0
0
0
0
0.033195
0.139286
280
10
40
28
0.850622
0.367857
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.6
0
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
0
0
0
0
1
0
1
0
1
0
0
3
34319bf17a61efa17d2f943cd2db50add4911504
206
py
Python
tests/transformer_test.py
Jiansiyu/Calib
c14dd4a7e76c47e4efbd076a9608e0b4ff83d64f
[ "MIT" ]
null
null
null
tests/transformer_test.py
Jiansiyu/Calib
c14dd4a7e76c47e4efbd076a9608e0b4ff83d64f
[ "MIT" ]
null
null
null
tests/transformer_test.py
Jiansiyu/Calib
c14dd4a7e76c47e4efbd076a9608e0b4ff83d64f
[ "MIT" ]
null
null
null
import os from SpectroCalib.feature_engineer._preprocess import PolynomialFeatureTransformer from pandas import DataFrame import pandas as pd data = pd.read_csv('../data/CRex/RHRS/CRex_DataSet_21743.csv')
34.333333
82
0.839806
28
206
6
0.678571
0
0
0
0
0
0
0
0
0
0
0.026596
0.087379
206
5
83
41.2
0.867021
0
0
0
0
0
0.194175
0.194175
0
0
0
0
0
1
0
false
0
0.8
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
3435d7fa3c096f54d9b5e9f4a349634feb100484
1,064
py
Python
src/gra_w_wojne.py
grzegorzwojdyga/SDA_excercises2
4106e95884a7aceb7f9bd74b91997b5e1a08d83c
[ "MIT" ]
null
null
null
src/gra_w_wojne.py
grzegorzwojdyga/SDA_excercises2
4106e95884a7aceb7f9bd74b91997b5e1a08d83c
[ "MIT" ]
null
null
null
src/gra_w_wojne.py
grzegorzwojdyga/SDA_excercises2
4106e95884a7aceb7f9bd74b91997b5e1a08d83c
[ "MIT" ]
null
null
null
""" Stworz prosty symulator gry karcianej wojna. Zadaniem Twojej funkcji jest wskazanie, ktora karta zwyciezy. Parametrami sa znaki card1 oraz card2. Moga one przyjmowac wartosci: <"1", "2", "3", ..., "10", "J", "D", "K", "A"> - wielkosc liter bedzie miala znaczenie (choc mozna przedstawic...
33.25
80
0.643797
141
1,064
4.787234
0.595745
0.088889
0.133333
0.056296
0.10963
0
0
0
0
0
0
0.040151
0.25094
1,064
31
81
34.322581
0.806775
0.820489
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0.5
0
0
0.5
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
0
1
0
0
0
0
0
3
345f184c6e7a191512a321b7d0ac490519cb0fc4
106
py
Python
tinyurl/database.py
GrayAn/tinyurl
efa3d9b5f46421ae32d99e7fd8db0f687417ea0d
[ "MIT" ]
null
null
null
tinyurl/database.py
GrayAn/tinyurl
efa3d9b5f46421ae32d99e7fd8db0f687417ea0d
[ "MIT" ]
null
null
null
tinyurl/database.py
GrayAn/tinyurl
efa3d9b5f46421ae32d99e7fd8db0f687417ea0d
[ "MIT" ]
null
null
null
from flask_sqlalchemy import SQLAlchemy from .models import metadata db = SQLAlchemy(metadata=metadata)
17.666667
39
0.830189
13
106
6.692308
0.538462
0
0
0
0
0
0
0
0
0
0
0
0.122642
106
5
40
21.2
0.935484
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
caa413459db81073d569732af42d43b75ef7ba53
404
py
Python
NST_Hotbox/W_hotbox/Single/GradMagic/005.py
CreativeLyons/NST_Hotbox
48d23a651d9578a70b16bcc2c034de4b3586883f
[ "MIT" ]
null
null
null
NST_Hotbox/W_hotbox/Single/GradMagic/005.py
CreativeLyons/NST_Hotbox
48d23a651d9578a70b16bcc2c034de4b3586883f
[ "MIT" ]
null
null
null
NST_Hotbox/W_hotbox/Single/GradMagic/005.py
CreativeLyons/NST_Hotbox
48d23a651d9578a70b16bcc2c034de4b3586883f
[ "MIT" ]
null
null
null
#---------------------------------------------------------------------------------------------------------- # # AUTOMATICALLY GENERATED FILE TO BE USED BY W_HOTBOX # # NAME: Toggle Adjust Points # COLOR: #3a97bd # #---------------------------------------------------------------------------------------------------------...
31.076923
107
0.329208
26
404
5.076923
0.923077
0
0
0
0
0
0
0
0
0
0
0.00813
0.086634
404
12
108
33.666667
0.349594
0.754951
0
0
1
0
0.188889
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cab0f685a60917750b1a31614ac067bf7bc9172a
107
py
Python
sample/cli.py
pyapp-org/pyapp.aiosmtplib
f928a7eb838b041d279d974f7cb555964764a410
[ "BSD-3-Clause" ]
1
2021-02-21T18:27:23.000Z
2021-02-21T18:27:23.000Z
sample/cli.py
pyapp-org/pyapp-messaging-aws
87c98ec2fc5a0f51cb148a2f72aebebf727b2c41
[ "BSD-3-Clause" ]
22
2020-07-31T05:06:51.000Z
2022-02-14T00:03:03.000Z
sample/cli.py
pyapp-org/pyapp-messaging-aws
87c98ec2fc5a0f51cb148a2f72aebebf727b2c41
[ "BSD-3-Clause" ]
null
null
null
from pyapp.app import CliApplication APP = CliApplication() def main(args=None): APP.dispatch(args)
13.375
36
0.738318
14
107
5.642857
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.158879
107
7
37
15.285714
0.877778
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
cabccd4b69a0dffb044b13c80e7b016d64ce14af
196
py
Python
r2l/reverse.py
thilakshiK/wmt16-scripts
7fa32971e2927c397434df2e0f171834abf0b07a
[ "MIT" ]
132
2016-05-20T15:59:48.000Z
2022-03-30T13:58:50.000Z
r2l/reverse.py
chenyangh/wmt16-scripts
9695851c150fedbac3418915b251a75292d7d527
[ "MIT" ]
14
2016-07-14T16:14:14.000Z
2022-02-16T18:49:18.000Z
r2l/reverse.py
chenyangh/wmt16-scripts
9695851c150fedbac3418915b251a75292d7d527
[ "MIT" ]
66
2016-05-17T06:27:16.000Z
2022-02-24T13:14:29.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- # Author: Rico Sennrich # Distributed under MIT license import sys for line in sys.stdin: sys.stdout.write(' '.join(reversed(line.split())) + '\n')
19.6
61
0.653061
28
196
4.571429
0.892857
0
0
0
0
0
0
0
0
0
0
0.006061
0.158163
196
9
62
21.777778
0.769697
0.459184
0
0
0
0
0.029412
0
0
0
0
0
0
1
0
false
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
0
0
1
0
0
0
0
3
cad10063cb1a8adde53dca680a8d86713d0361fb
5,303
py
Python
tests/to_jsonschema/test_unsupported_properties.py
pglass/py-openapi-jsonschema-converter
ca84a49fc1e218ae4686d4ca6ee89781ac26c213
[ "MIT" ]
12
2018-12-10T19:11:47.000Z
2021-08-02T13:55:04.000Z
tests/to_jsonschema/test_unsupported_properties.py
pglass/py-openapi-jsonschema-converter
ca84a49fc1e218ae4686d4ca6ee89781ac26c213
[ "MIT" ]
6
2018-07-06T19:36:47.000Z
2020-07-27T18:43:50.000Z
tests/to_jsonschema/test_unsupported_properties.py
pglass/py-openapi-jsonschema-converter
ca84a49fc1e218ae4686d4ca6ee89781ac26c213
[ "MIT" ]
3
2018-07-05T23:06:18.000Z
2020-07-11T03:32:07.000Z
from openapi_schema_to_json_schema import to_json_schema as convert def test_remove_discriminator_by_default(): schema = { "oneOf": [ { "type": 'object', "required": ['foo'], "properties": { "foo": { "t...
23.674107
67
0.376391
342
5,303
5.730994
0.134503
0.102041
0.122449
0.132653
0.802041
0.776531
0.75051
0.69949
0.679592
0.527551
0
0.00578
0.478031
5,303
223
68
23.780269
0.702312
0
0
0.603865
0
0
0.242127
0
0
0
0
0
0.038647
1
0.038647
false
0.009662
0.004831
0
0.043478
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cae0fcc3a310f348e37aa39b52a72273f7dfd17e
55
py
Python
fybot/core/news/__init__.py
juanlazarde/financial_scanner
a466aa553a413b65d08d4d23250867f938726e17
[ "Apache-2.0" ]
2
2021-02-06T20:22:26.000Z
2021-02-23T04:51:05.000Z
fybot/core/news/__init__.py
juanlazarde/fybot
a466aa553a413b65d08d4d23250867f938726e17
[ "Apache-2.0" ]
9
2021-11-20T05:32:39.000Z
2021-12-16T06:34:41.000Z
fybot/core/news/__init__.py
juanlazarde/financial_scanner
a466aa553a413b65d08d4d23250867f938726e17
[ "Apache-2.0" ]
1
2021-08-29T23:01:09.000Z
2021-08-29T23:01:09.000Z
from .__main__ import ( capture_reddit, show_reddit, )
11
23
0.781818
7
55
5.285714
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.127273
55
4
24
13.75
0.770833
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
cae6a29c1c4c7991ff794d6654ac7733248c7ab2
300
py
Python
advisor_server/suggestion/algorithm/chocolate_grid_search.py
silvery107/advisor
012b01a8efc227e360aa8c2bf039460e8ac29e38
[ "Apache-2.0" ]
1,498
2017-09-14T15:59:10.000Z
2022-03-29T07:42:00.000Z
advisor_server/suggestion/algorithm/chocolate_grid_search.py
silvery107/advisor
012b01a8efc227e360aa8c2bf039460e8ac29e38
[ "Apache-2.0" ]
43
2017-10-02T10:19:03.000Z
2021-03-02T15:12:21.000Z
advisor_server/suggestion/algorithm/chocolate_grid_search.py
silvery107/advisor
012b01a8efc227e360aa8c2bf039460e8ac29e38
[ "Apache-2.0" ]
274
2017-09-19T00:40:43.000Z
2022-03-28T07:31:32.000Z
from suggestion.algorithm.base_chocolate_algorithm import BaseChocolateAlgorithm class ChocolateGridSearchAlgorithm(BaseChocolateAlgorithm): """ Get the new suggested trials with grid search algorithm. """ def __init__(self): super(ChocolateGridSearchAlgorithm, self).__init__("Grid")
27.272727
80
0.803333
28
300
8.25
0.75
0
0
0
0
0
0
0
0
0
0
0
0.12
300
10
81
30
0.875
0.186667
0
0
0
0
0.017241
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
1b33d5beb0382cc493d1169a3f24872a0e5a2854
573
py
Python
factory/FactoryMetod.py
manondidi/python-designPattern
0779be858d0afc96acff604243c84a4155398a5a
[ "Apache-2.0" ]
4
2019-12-10T13:32:56.000Z
2022-03-04T11:12:45.000Z
factory/FactoryMetod.py
manondidi/python-designPattern
0779be858d0afc96acff604243c84a4155398a5a
[ "Apache-2.0" ]
null
null
null
factory/FactoryMetod.py
manondidi/python-designPattern
0779be858d0afc96acff604243c84a4155398a5a
[ "Apache-2.0" ]
null
null
null
class Animal: def say(self): pass class Bird(Animal): def say(self): print('i am bird') class Fish(Animal): def say(self): print('i am fish') class AnimalFactory: @staticmethod def create(): pass class FishFactory(AnimalFactory): @staticmethod def crea...
13.97561
33
0.593368
62
573
5.354839
0.33871
0.081325
0.108434
0.144578
0.385542
0.144578
0.144578
0
0
0
0
0
0.289703
573
40
34
14.325
0.815725
0.006981
0
0.423077
0
0
0.045855
0
0
0
0
0
0
1
0.230769
false
0.076923
0
0.076923
0.538462
0.076923
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
0
1
0
0
3
1b4a6d0e4d8df0944debb167294e0283a7f3a77a
118
py
Python
mayan/apps/dependencies/literals.py
darrenflexxu/Mayan-EDMS
6707365bfacd137e625ddc1b990168012246fa07
[ "Apache-2.0" ]
null
null
null
mayan/apps/dependencies/literals.py
darrenflexxu/Mayan-EDMS
6707365bfacd137e625ddc1b990168012246fa07
[ "Apache-2.0" ]
5
2021-03-19T22:59:52.000Z
2022-03-12T00:13:16.000Z
mayan/apps/dependencies/literals.py
Sumit-Kumar-Jha/mayan
5b7ddeccf080b9e41cc1074c70e27dfe447be19f
[ "Apache-2.0" ]
1
2020-07-29T21:03:27.000Z
2020-07-29T21:03:27.000Z
from __future__ import print_function, unicode_literals MAYAN_PYPI_NAME = 'mayan-edms' PYPI_URL = 'https://pypi.org'
23.6
55
0.79661
17
118
5
0.823529
0
0
0
0
0
0
0
0
0
0
0
0.101695
118
4
56
29.5
0.801887
0
0
0
0
0
0.220339
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
1b54af283a91ea7a2330ba49e024d9e0a405764c
372
py
Python
easymapping/__init__.py
pngmbh/docker-easy-haproxy
cf85ec15e6bd04bff64f53b9521f0cf7e8dc6b46
[ "MIT" ]
null
null
null
easymapping/__init__.py
pngmbh/docker-easy-haproxy
cf85ec15e6bd04bff64f53b9521f0cf7e8dc6b46
[ "MIT" ]
null
null
null
easymapping/__init__.py
pngmbh/docker-easy-haproxy
cf85ec15e6bd04bff64f53b9521f0cf7e8dc6b46
[ "MIT" ]
null
null
null
from jinja2 import Environment, FileSystemLoader class HaproxyConfigGenerator: def __init__(self, mapping): self.mapping = mapping def generate(self): file_loader = FileSystemLoader('templates') env = Environment(loader=file_loader) template = env.get_template('haproxy.cfg.j2'...
28.615385
53
0.704301
39
372
6.538462
0.615385
0.129412
0
0
0
0
0
0
0
0
0
0.00678
0.206989
372
12
54
31
0.857627
0
0
0
1
0
0.061828
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
1b601646acbae01e0f909871a99dfeea891f8e47
260
py
Python
basic_python/for_else_1.py
ravic499/blog-tips
e89ffb2437e8d3af81886ff4a40df4a827bc6b2b
[ "MIT" ]
null
null
null
basic_python/for_else_1.py
ravic499/blog-tips
e89ffb2437e8d3af81886ff4a40df4a827bc6b2b
[ "MIT" ]
1
2019-07-21T09:41:17.000Z
2019-07-21T09:41:17.000Z
basic_python/for_else_1.py
ravic499/blog-tips-python
e89ffb2437e8d3af81886ff4a40df4a827bc6b2b
[ "MIT" ]
null
null
null
search_fruit = 'apple' fruit_box = ['banana', 'mango', 'apple', 'pineapple'] for fruit in fruit_box: if fruit == search_fruit: print('Found fruit : {}'.format(search_fruit)) break else: print('{} fruit not found'.format(search_fruit))
26
54
0.642308
33
260
4.878788
0.484848
0.273292
0.21118
0
0
0
0
0
0
0
0
0
0.2
260
9
55
28.888889
0.774038
0
0
0
0
0
0.246154
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1bbcd2fe0ac50a27d22e54af086e252e13445104
193
py
Python
test/unit/test_scout.py
Justintime50/roverio
da08962d7c3a95903420a7b73cceaf3b76d87016
[ "MIT" ]
1
2021-02-26T21:44:25.000Z
2021-02-26T21:44:25.000Z
test/unit/test_scout.py
Justintime50/roverio
da08962d7c3a95903420a7b73cceaf3b76d87016
[ "MIT" ]
null
null
null
test/unit/test_scout.py
Justintime50/roverio
da08962d7c3a95903420a7b73cceaf3b76d87016
[ "MIT" ]
null
null
null
from roverio import scout def test_scout(): result = scout.Scout.search_for_string('roverio', 'def main()') assert 'File: roverio/scout.py\nSearch: def main():\nLine: 68\n' in result
27.571429
78
0.704663
29
193
4.586207
0.655172
0.105263
0
0
0
0
0
0
0
0
0
0.012195
0.150259
193
6
79
32.166667
0.79878
0
0
0
0
0
0.373057
0.129534
0
0
0
0
0.25
1
0.25
false
0
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
1bcb93fca12833d6c777dbf9af1d7523a6bb61ba
880
py
Python
vsm/model/__init__.py
inpho/vsm
d5fc930ccc95f275e10e151c8f05db2c05aba01f
[ "MIT" ]
31
2015-01-30T20:09:48.000Z
2021-08-13T12:57:49.000Z
vsm/model/__init__.py
inpho/vsm
d5fc930ccc95f275e10e151c8f05db2c05aba01f
[ "MIT" ]
80
2015-01-30T19:08:40.000Z
2019-11-02T20:15:56.000Z
vsm/model/__init__.py
inpho/vsm
d5fc930ccc95f275e10e151c8f05db2c05aba01f
[ "MIT" ]
10
2015-09-18T01:52:23.000Z
2019-07-14T08:22:06.000Z
""" [General Documentation about :mod:`model` classes] """ from __future__ import absolute_import from . import beaglecomposite from .beaglecomposite import * from . import beaglecontext from .beaglecontext import * from . import beagleenvironment from .beagleenvironment import * from . import beagleorder from .beagle...
23.157895
50
0.775
101
880
5.910891
0.207921
0.167504
0.268007
0
0
0
0
0
0
0
0
0
0.140909
880
37
51
23.783784
0.789683
0.056818
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.677419
0
0.677419
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
0
1
0
1
0
0
3
9400f26c599a5c969185a2fff2b7c5e634ef5a10
546
py
Python
app/app/assets/state.py
gahjelle-eq/net_to_gross_calculator
50c61f36e1c12c8329fe41002f6711a0e254a2cb
[ "MIT" ]
1
2021-06-08T10:37:47.000Z
2021-06-08T10:37:47.000Z
app/app/assets/state.py
gahjelle-eq/net_to_gross_calculator
50c61f36e1c12c8329fe41002f6711a0e254a2cb
[ "MIT" ]
7
2021-03-26T09:50:40.000Z
2021-10-19T10:30:30.000Z
app/app/assets/state.py
gahjelle-eq/net_to_gross_calculator
50c61f36e1c12c8329fe41002f6711a0e254a2cb
[ "MIT" ]
2
2021-03-11T07:41:50.000Z
2021-03-12T11:42:34.000Z
"""Keep state for users - pn.state.cache persists state across all sessions as long as the server is running - pn.state.cookies persists state for a given session Try to persist state for a given user across sessions so that information is not lost by a simple reload. """ # Third party imports import panel as pn ...
23.73913
80
0.734432
88
546
4.488636
0.522727
0.081013
0.070886
0.070886
0
0
0
0
0
0
0
0
0.190476
546
22
81
24.818182
0.893665
0.714286
0
0
0
0
0
0
0
0
0
0
0
1
0.4
true
0
0.2
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
1
0
0
3
940dc81a05ca08d4ca2403e5a600c35dde02b849
1,427
py
Python
src/server/core/models/feedback.py
Freshia/masakhane-web
acf5eaef7ab8109d6f10f212765572a1dc893cd5
[ "MIT" ]
20
2021-04-09T09:08:53.000Z
2022-03-16T09:45:36.000Z
src/server/core/models/feedback.py
Freshia/masakhane-web
acf5eaef7ab8109d6f10f212765572a1dc893cd5
[ "MIT" ]
15
2021-04-19T07:04:56.000Z
2022-03-12T00:57:44.000Z
src/server/core/models/feedback.py
Freshia/masakhane-web
acf5eaef7ab8109d6f10f212765572a1dc893cd5
[ "MIT" ]
14
2021-04-19T04:39:04.000Z
2021-10-08T22:19:58.000Z
from enum import unique from flask_sqlalchemy import SQLAlchemy from core.extensions import db class Feedback(db.Model): __tablename__ = 'feedback' id = db.Column(db.Integer, primary_key=True) src_lang = db.Column(db.String(20), nullable=False) tgt_lang = db.Column(db.String(20), nullable=False...
38.567568
85
0.662929
192
1,427
4.802083
0.40625
0.112798
0.140998
0.173536
0.498915
0.486985
0.47397
0.364425
0.119306
0.119306
0
0.022302
0.214436
1,427
37
86
38.567568
0.800178
0.153469
0
0
0
0
0.00665
0
0
0
0
0.027027
0
1
0.043478
false
0
0.130435
0
0.826087
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
3
943fe7cc654f1ad5d332a5a7b689207956ac0cdd
62,505
py
Python
template_container_human/labels/slice_139.py
lkondratova/Brainplot
3c8a88c1995dedeaa5cbd88ee71499c7cf9c571d
[ "MIT" ]
null
null
null
template_container_human/labels/slice_139.py
lkondratova/Brainplot
3c8a88c1995dedeaa5cbd88ee71499c7cf9c571d
[ "MIT" ]
null
null
null
template_container_human/labels/slice_139.py
lkondratova/Brainplot
3c8a88c1995dedeaa5cbd88ee71499c7cf9c571d
[ "MIT" ]
null
null
null
coordinates_E0E1E1 = ((126, 108), (127, 80), (127, 81), (127, 100), (127, 108), (127, 120), (128, 78), (128, 79), (128, 81), (128, 89), (128, 99), (128, 100), (128, 108), (128, 109), (128, 120), (129, 75), (129, 81), (129, 87), (129, 89), (129, 98), (129, 101), (129, 108), (129, 109), (129, 120), (130, 75), (130, 77)...
525.252101
865
0.481321
10,738
62,505
2.798938
0.01369
0.000499
0.000466
0.000799
0.001198
0.001198
0
0
0
0
0
0.575479
0.17557
62,505
118
866
529.70339
0.007762
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
944209401d79786fbaa8557baacce1d536089597
320
py
Python
setup.py
ishak14/HasteStorageClientMetadata
ba05ad95d869a8520fa54bc639c9abe69e58a483
[ "MIT", "BSD-3-Clause" ]
null
null
null
setup.py
ishak14/HasteStorageClientMetadata
ba05ad95d869a8520fa54bc639c9abe69e58a483
[ "MIT", "BSD-3-Clause" ]
null
null
null
setup.py
ishak14/HasteStorageClientMetadata
ba05ad95d869a8520fa54bc639c9abe69e58a483
[ "MIT", "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python from setuptools import setup setup(name='haste_storage_client', packages=['haste_storage_client'], install_requires=[ 'pymongo', 'python-swiftclient', 'keystoneauth1', 'future', ], test_requires=[ 'pytest' ] )
18.823529
40
0.546875
27
320
6.259259
0.777778
0.142012
0.213018
0
0
0
0
0
0
0
0
0.004673
0.33125
320
16
41
20
0.785047
0.0625
0
0
0
0
0.301003
0
0
0
0
0
0
1
0
true
0
0.076923
0
0.076923
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
0
0
0
3
944642f3e59f44f909dc702fa1c03028c76b109d
3,251
py
Python
tests/deserialize/test_validators.py
paylogic/halogen
0671945634bc1c90e80159e64c2a34dbcb52bf08
[ "MIT" ]
18
2015-01-09T22:45:45.000Z
2021-11-17T13:06:53.000Z
tests/deserialize/test_validators.py
paylogic/halogen
0671945634bc1c90e80159e64c2a34dbcb52bf08
[ "MIT" ]
20
2015-03-27T11:48:26.000Z
2021-03-16T22:12:40.000Z
tests/deserialize/test_validators.py
paylogic/halogen
0671945634bc1c90e80159e64c2a34dbcb52bf08
[ "MIT" ]
7
2016-04-25T09:59:06.000Z
2020-05-07T11:17:04.000Z
"""Test deserialization with defaults.""" import pytest import halogen @pytest.fixture(params=[False, True]) def lazy(request): return request.param def test_less_than(lazy): """Test less than validator.""" class Schema(halogen.Schema): attr = halogen.Attr( halogen.types.Type( ...
30.101852
118
0.554906
359
3,251
4.991643
0.153203
0.085379
0.105469
0.089844
0.790179
0.731027
0.705915
0.689732
0.670201
0.670201
0
0.020805
0.319902
3,251
107
119
30.383178
0.789688
0.041526
0
0.391892
0
0
0.123948
0
0
0
0
0
0.121622
1
0.067568
false
0
0.027027
0.013514
0.216216
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
94471ab080950de64e16bef5ebd17b7ff109ac0a
2,396
py
Python
tracker/motor.py
SicariusNoctis/eagle-eye-tracker
31e160057f1d2fa2c5fbd94ba4f5e9d064481c77
[ "MIT" ]
5
2018-02-10T00:59:29.000Z
2018-08-18T06:38:45.000Z
tracker/motor.py
SicariusNoctis/eagle-eye-tracker
31e160057f1d2fa2c5fbd94ba4f5e9d064481c77
[ "MIT" ]
7
2018-05-11T21:48:00.000Z
2018-08-07T11:31:51.000Z
tracker/motor.py
SicariusNoctis/eagle-eye-tracker
31e160057f1d2fa2c5fbd94ba4f5e9d064481c77
[ "MIT" ]
1
2019-09-10T01:03:25.000Z
2019-09-10T01:03:25.000Z
import numpy as np from .coordinatemath import shortest_rad from .history import History class Motor: """Provides interface with virtual or physical motor and other useful functionality""" def __init__(self, motor, direction=1, bound_min=-np.inf, bound_max=np.inf): self.motor = motor self.bou...
33.277778
90
0.67404
298
2,396
5.234899
0.231544
0.046154
0.044872
0.021795
0.2
0.146154
0.05641
0.05641
0
0
0
0.004915
0.23581
2,396
71
91
33.746479
0.847078
0.142738
0
0.083333
0
0
0
0
0
0
0
0
0
1
0.270833
false
0
0.0625
0.145833
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
944eeae0e8534d59f0a22c441bc6771da72334d7
102
py
Python
networking_p4/services/common/rpc_topics.py
osinstom/networking-p4
3b82025090b6b2bf1e9faa58492d13ed1da6c34f
[ "Apache-2.0" ]
2
2019-12-26T08:53:25.000Z
2020-05-13T11:53:51.000Z
networking_p4/services/common/rpc_topics.py
osinstom/networking-dppx
3b82025090b6b2bf1e9faa58492d13ed1da6c34f
[ "Apache-2.0" ]
null
null
null
networking_p4/services/common/rpc_topics.py
osinstom/networking-dppx
3b82025090b6b2bf1e9faa58492d13ed1da6c34f
[ "Apache-2.0" ]
null
null
null
P4_PLUGIN = 'q-p4-plugin' P4_AGENT = 'q-p4-agent' P4MODULE = 'p4-module' CONFIGURATION = 'p4-config'
17
27
0.696078
16
102
4.3125
0.5
0.231884
0
0
0
0
0
0
0
0
0
0.078652
0.127451
102
5
28
20.4
0.696629
0
0
0
0
0
0.382353
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9464b32c94b83d8919d799c8ecfd9979a43fa21a
308
py
Python
src/lrp/maxpool.py
JanSKowalski/ese440-ese441
90d7b7afc34aa062aad23dd23813284f66bf1f4d
[ "MIT" ]
54
2020-09-23T07:11:46.000Z
2022-03-31T11:38:07.000Z
src/lrp/maxpool.py
JanSKowalski/ese440-ese441
90d7b7afc34aa062aad23dd23813284f66bf1f4d
[ "MIT" ]
5
2021-01-07T07:52:50.000Z
2021-07-10T01:32:05.000Z
src/lrp/maxpool.py
JanSKowalski/ese440-ese441
90d7b7afc34aa062aad23dd23813284f66bf1f4d
[ "MIT" ]
13
2020-09-23T06:13:28.000Z
2022-03-16T01:55:34.000Z
import torch from .functional import maxpool2d class MaxPool2d(torch.nn.MaxPool2d): def forward(self, input, explain=False, rule="epsilon", **kwargs): if not explain: return super(MaxPool2d, self).forward(input) return maxpool2d[rule](input, self.kernel_size, self.stride, self.padding)
38.5
82
0.733766
40
308
5.625
0.6
0
0
0
0
0
0
0
0
0
0
0.019084
0.149351
308
7
83
44
0.839695
0
0
0
0
0
0.022727
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
947fe8c898d3d4d04d59875296257be2965ffc62
76
py
Python
dashboard/__init__.py
cmheisel/project-status-dashboard
1a0b7bd9bf5e44487bf8fbac8a66be79039853e8
[ "MIT" ]
7
2016-07-15T14:46:34.000Z
2020-01-09T02:37:43.000Z
dashboard/__init__.py
cmheisel/project-status-dashboard
1a0b7bd9bf5e44487bf8fbac8a66be79039853e8
[ "MIT" ]
57
2016-07-09T20:07:29.000Z
2018-04-08T18:36:07.000Z
dashboard/__init__.py
cmheisel/project-status-dashboard
1a0b7bd9bf5e44487bf8fbac8a66be79039853e8
[ "MIT" ]
1
2016-07-11T19:53:09.000Z
2016-07-11T19:53:09.000Z
"""Dashboard app.""" default_app_config = 'dashboard.apps.DashboardConfig'
19
53
0.763158
8
76
7
0.75
0
0
0
0
0
0
0
0
0
0
0
0.078947
76
3
54
25.333333
0.8
0.184211
0
0
0
0
0.535714
0.535714
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
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9484540bb80f454b9e3c4bbd52542aa6621834c3
5,327
py
Python
release/stubs.min/Wms/RemotingImplementation/Logging/NLogExtensions/Targets.py
tranconbv/ironpython-stubs
a601759e6c6819beff8e6b639d18a24b7e351851
[ "MIT" ]
null
null
null
release/stubs.min/Wms/RemotingImplementation/Logging/NLogExtensions/Targets.py
tranconbv/ironpython-stubs
a601759e6c6819beff8e6b639d18a24b7e351851
[ "MIT" ]
null
null
null
release/stubs.min/Wms/RemotingImplementation/Logging/NLogExtensions/Targets.py
tranconbv/ironpython-stubs
a601759e6c6819beff8e6b639d18a24b7e351851
[ "MIT" ]
null
null
null
# encoding: utf-8 # module Wms.RemotingImplementation.Logging.NLogExtensions.Targets calls itself Targets # from Wms.RemotingImplementation,Version=1.23.1.0,Culture=neutral,PublicKeyToken=null # by generator 1.145 # no doc # no important from __init__ import * # no functions # classes class ExceptionExtens...
33.086957
246
0.719167
553
5,327
6.770344
0.20434
0.072115
0.043269
0.057692
0.353098
0.328259
0.306357
0.280716
0.280716
0.268162
0
0.002423
0.147926
5,327
160
247
33.29375
0.822428
0.37263
0
0.44
0
0
0.033077
0.022202
0
0
0
0
0
1
0.293333
false
0.24
0.013333
0
0.613333
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
0
1
0
0
3
9487c672cdcaf8bde3e652727472caff00e5af21
117
py
Python
dresscode/urls.py
TechCentreUK/langs-bar
d6564922857c1ea333ef2ee1b271f1bff3d2ed4f
[ "W3C" ]
null
null
null
dresscode/urls.py
TechCentreUK/langs-bar
d6564922857c1ea333ef2ee1b271f1bff3d2ed4f
[ "W3C" ]
null
null
null
dresscode/urls.py
TechCentreUK/langs-bar
d6564922857c1ea333ef2ee1b271f1bff3d2ed4f
[ "W3C" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path('', views.dresscode, name='dresscode'), ]
16.714286
48
0.692308
14
117
5.785714
0.642857
0
0
0
0
0
0
0
0
0
0
0
0.17094
117
6
49
19.5
0.835052
0
0
0
0
0
0.076923
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
84716686caf5e3745744dee2fe8eac0dc281b6c7
1,210
py
Python
code/python/echomesh/expression/Units.py
silky/echomesh
2fe5a00a79c215b4aca4083e5252fcdcbd0507aa
[ "MIT" ]
1
2019-06-27T11:34:13.000Z
2019-06-27T11:34:13.000Z
code/python/echomesh/expression/Units.py
silky/echomesh
2fe5a00a79c215b4aca4083e5252fcdcbd0507aa
[ "MIT" ]
null
null
null
code/python/echomesh/expression/Units.py
silky/echomesh
2fe5a00a79c215b4aca4083e5252fcdcbd0507aa
[ "MIT" ]
null
null
null
from __future__ import absolute_import, division, print_function, unicode_literals import six def log_scale(value, scale, exponent): return exponent ** (value / scale) def make_log(scale, exponent): def log_unit(x): return log_scale(x, scale, exponent) return log_unit def make_scale(scale): def scale_un...
26.304348
82
0.657025
170
1,210
4.447059
0.411765
0.059524
0.043651
0.042328
0.039683
0
0
0
0
0
0
0.031589
0.16281
1,210
45
83
26.888889
0.714709
0
0
0
0
0
0.120661
0
0
0
0
0
0
1
0.228571
false
0
0.057143
0.114286
0.514286
0.028571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
84b0ae0fcfb930bdce73162c7242b1043916807b
4,727
py
Python
deep_privacy/modeling/loss/adversarial_loss.py
skoskjei/DP-ATT
eb7380099f5c7e533fd0d247456b4a418529d62b
[ "MIT" ]
1,128
2019-09-11T01:38:09.000Z
2022-03-31T17:06:56.000Z
deep_privacy/modeling/loss/adversarial_loss.py
skoskjei/DP-ATT
eb7380099f5c7e533fd0d247456b4a418529d62b
[ "MIT" ]
45
2019-09-11T05:39:53.000Z
2021-12-05T17:52:07.000Z
deep_privacy/modeling/loss/adversarial_loss.py
skoskjei/DP-ATT
eb7380099f5c7e533fd0d247456b4a418529d62b
[ "MIT" ]
185
2019-09-11T02:15:56.000Z
2022-03-23T16:12:41.000Z
import torch from .build import CRITERION_REGISTRY from typing import Dict, Tuple class GanCriterion: NEED_REAL_SCORE_GENERATOR = False REQUIRES_D_SCORE = True def __init__(self, fake_index: int, *args, **kwargs): """ fake_index: indicates which fake sample to use. Used i...
33.764286
79
0.63169
588
4,727
4.760204
0.137755
0.103608
0.064309
0.057163
0.806717
0.753483
0.708825
0.680243
0.614505
0.561629
0
0.007627
0.251111
4,727
139
80
34.007194
0.783051
0.023694
0
0.53211
0
0
0.051148
0
0
0
0
0
0
1
0.119266
false
0
0.027523
0.018349
0.330275
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
84fb10a8ba10b0aa83ef375ba9f1913456d661f1
1,324
py
Python
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GLES2/EXT/sRGB_write_control.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GLES2/EXT/sRGB_write_control.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GLES2/EXT/sRGB_write_control.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
'''OpenGL extension EXT.sRGB_write_control This module customises the behaviour of the OpenGL.raw.GLES2.EXT.sRGB_write_control to provide a more Python-friendly API Overview (from the spec) This extension's intent is to expose new functionality which allows an application the ability to decide if the c...
40.121212
77
0.793807
187
1,324
5.534759
0.529412
0.057971
0.057971
0.091787
0.114976
0.114976
0.114976
0.083092
0.083092
0
0
0.003597
0.160121
1,324
33
78
40.121212
0.927158
0.706949
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
true
0
0.777778
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
1707ac057cc78a68cdda6a34fecc3876bd390a0a
1,321
py
Python
src/djnexmo/models.py
judy2k/dj-nexmo
03341eddd79817e17135c967361031120038cbab
[ "Apache-2.0" ]
3
2018-06-26T15:23:14.000Z
2021-03-17T00:00:57.000Z
src/djnexmo/models.py
judy2k/dj-nexmo
03341eddd79817e17135c967361031120038cbab
[ "Apache-2.0" ]
11
2018-10-26T17:34:19.000Z
2019-05-04T09:04:01.000Z
src/djnexmo/models.py
Nexmo/dj-nexmo
03341eddd79817e17135c967361031120038cbab
[ "Apache-2.0" ]
7
2018-08-07T15:05:51.000Z
2019-05-23T05:33:29.000Z
from django.db import models class SMSMessagePart(models.Model): class Meta: ordering = ("-concat_ref", "concat_part") unique_together = ("concat_ref", "concat_part") verbose_name = "Message Part" verbose_name_plural = "Message Parts" concat_ref = models.CharField(max_length=...
32.219512
111
0.657078
158
1,321
5.291139
0.373418
0.107656
0.172249
0.229665
0.349282
0.255981
0.255981
0
0
0
0
0.022244
0.21726
1,321
40
112
33.025
0.786267
0.028766
0
0
0
0.033333
0.149102
0
0
0
0
0.025
0
1
0.033333
false
0
0.033333
0.033333
0.633333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
3
ca1a2c6da124a305c45944677a75aefb23754dc6
663
py
Python
tests/test_prime.py
LarsVomMars/mathew
02594b8a3e939b48a3bd05fd26ecf9415b670b22
[ "MIT" ]
1
2020-05-28T13:33:53.000Z
2020-05-28T13:33:53.000Z
tests/test_prime.py
LarsVomMars/mathlib
02594b8a3e939b48a3bd05fd26ecf9415b670b22
[ "MIT" ]
2
2020-07-15T01:22:25.000Z
2020-09-03T23:20:07.000Z
tests/test_prime.py
LarsVomMars/mathlib
02594b8a3e939b48a3bd05fd26ecf9415b670b22
[ "MIT" ]
1
2020-07-21T12:52:51.000Z
2020-07-21T12:52:51.000Z
import pytest from mathew import prime def test_primegen(): assert list(prime.primegen(10)) == [2, 3, 5, 7] def test_is_prime(): assert prime.is_prime(4567) assert not prime.is_prime(4568) assert prime.is_prime(1277) def test_primefac(): assert prime.prime_factors(12) == [2, 2, 3] assert ...
24.555556
74
0.68175
98
663
4.428571
0.306122
0.177419
0.034562
0.036866
0.230415
0.016129
0
0
0
0
0
0.132841
0.182504
663
26
75
25.5
0.667897
0
0
0
0
0
0
0
0
0
0
0
0.529412
1
0.235294
true
0
0.117647
0
0.352941
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
1
0
0
0
0
0
0
3
ca1eec7bb6330af424e3f5cb3dcbe59441eb486a
990
py
Python
mllib/retrievers.py
phngs/allestm-train
62ba5722a98705cdcd0e7ea37ac02514e2f37402
[ "MIT" ]
1
2020-06-15T09:49:56.000Z
2020-06-15T09:49:56.000Z
mllib/retrievers.py
phngs/allestm-train
62ba5722a98705cdcd0e7ea37ac02514e2f37402
[ "MIT" ]
5
2020-03-24T17:51:04.000Z
2021-08-23T20:24:09.000Z
mllib/retrievers.py
phngs/allestm-train
62ba5722a98705cdcd0e7ea37ac02514e2f37402
[ "MIT" ]
null
null
null
""" Module containing data retrievers implemented as Transformer. """ import numpy as np from sklearn.base import TransformerMixin from mllib.features.base import NoFitMixin class SQLRetriever(TransformerMixin, NoFitMixin): """ Retrieve columns from a database according to a given query and parameters. "...
26.756757
91
0.626263
115
990
5.356522
0.53913
0.038961
0
0
0
0
0
0
0
0
0
0
0.29697
990
36
92
27.5
0.885057
0.473737
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.333333
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
ca239d4800f82bb8f7f7aeede27b4f0fa6466ad7
371
py
Python
core/handlers/observations/noises/non_observation_noise.py
Yoshi-0921/MAEXP
cc03fdd46db9b1838df8f7782b4bd1b2bb3f11d5
[ "MIT" ]
null
null
null
core/handlers/observations/noises/non_observation_noise.py
Yoshi-0921/MAEXP
cc03fdd46db9b1838df8f7782b4bd1b2bb3f11d5
[ "MIT" ]
10
2021-07-04T06:32:59.000Z
2021-11-06T04:05:24.000Z
core/handlers/observations/noises/non_observation_noise.py
Yoshi-0921/MAEXP
cc03fdd46db9b1838df8f7782b4bd1b2bb3f11d5
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Source code for non observation noise. That is, no noise is added in the observation phase. Author: Yoshinari Motokawa <yoshinari.moto@fuji.waseda.jp> """ from .abstract_observation_noise import AbstractObservationNoise class NonObservationNoise(AbstractObservationNoise): def add_noi...
24.733333
64
0.754717
46
371
6
0.782609
0.115942
0
0
0
0
0
0
0
0
0
0.003175
0.150943
371
14
65
26.5
0.873016
0.469003
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0.25
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
ca2b0cd2355fc27401f79ab3dd1d62bc86b40d68
957
py
Python
provider/decorators.py
thisismkh/django-graphql-oauth2
ca998dd1e45be87e3a8a8a454b5c506969f2fed8
[ "MIT" ]
null
null
null
provider/decorators.py
thisismkh/django-graphql-oauth2
ca998dd1e45be87e3a8a8a454b5c506969f2fed8
[ "MIT" ]
null
null
null
provider/decorators.py
thisismkh/django-graphql-oauth2
ca998dd1e45be87e3a8a8a454b5c506969f2fed8
[ "MIT" ]
null
null
null
from functools import wraps from graphql.execution.execute import GraphQLResolveInfo from provider import constants def context(fun): def decorator(func): def wrapper(*args, **kwargs): info = next( arg for arg in args if isinstance(arg, GraphQLResolveInfo) ...
28.147059
77
0.648903
114
957
5.289474
0.385965
0.066335
0.092869
0.109453
0.159204
0.159204
0.159204
0.159204
0
0
0
0
0.266458
957
34
78
28.147059
0.858974
0
0
0.153846
0
0
0.012526
0
0
0
0
0
0
1
0.230769
false
0.153846
0.115385
0
0.576923
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
0
1
0
0
3
ca68bff93f484465bb97de3a2188e3df853fa112
233
py
Python
numpy-smallpt/core/math_tools.py
matt77hias/numpy-smallpt
d4670f8396b5a9c2b5fd6fb39e7148127978d969
[ "MIT" ]
9
2018-08-17T02:04:46.000Z
2021-06-09T13:24:48.000Z
numpy-smallpt/core/math_tools.py
matt77hias/numpy-smallpt
d4670f8396b5a9c2b5fd6fb39e7148127978d969
[ "MIT" ]
null
null
null
numpy-smallpt/core/math_tools.py
matt77hias/numpy-smallpt
d4670f8396b5a9c2b5fd6fb39e7148127978d969
[ "MIT" ]
2
2017-12-31T03:08:39.000Z
2019-03-20T17:12:31.000Z
import numpy as np def normalize(v): norm = np.linalg.norm(v) if norm == 0: return v return v / norm def to_byte(x, gamma = 2.2): return int(np.clip(255.0 * np.power(x, 1.0 / gamma), a_min=0.0, a_max=255.0))
23.3
81
0.592275
47
233
2.87234
0.531915
0.074074
0
0
0
0
0
0
0
0
0
0.085714
0.248927
233
10
81
23.3
0.685714
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.125
0.125
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
0
0
1
1
0
0
3
ca69372988beeed0fa120c167a37045f5ebb019b
273
py
Python
model/backend.py
matheusschuetz/Exercicio
39b70c3a7816ecad7f42ba0b3147842aefd998cb
[ "MIT" ]
null
null
null
model/backend.py
matheusschuetz/Exercicio
39b70c3a7816ecad7f42ba0b3147842aefd998cb
[ "MIT" ]
null
null
null
model/backend.py
matheusschuetz/Exercicio
39b70c3a7816ecad7f42ba0b3147842aefd998cb
[ "MIT" ]
null
null
null
class BackEnd: def __init__(self, id, Nome, Descricao, Versao): self.id = id self.nome = Nome self.descricao = Descricao self.versao = Versao def __str__(self): return f"{self.id},{self.nome},{self.descricao},{self.versao}"
30.333333
71
0.600733
34
273
4.588235
0.352941
0.115385
0.128205
0
0
0
0
0
0
0
0
0
0.267399
273
9
71
30.333333
0.78
0
0
0
0
0
0.189781
0.189781
0
0
0
0
0
1
0.25
false
0
0
0.125
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
ca906a08218df466514e78cb7c3eba0d9282a3ca
215
py
Python
buddymove_holidayiq.py
Lopez-John/lambdata-Lopez-John
97f127d16a6f6304b62e9c13b5c8086ca98525bc
[ "MIT" ]
null
null
null
buddymove_holidayiq.py
Lopez-John/lambdata-Lopez-John
97f127d16a6f6304b62e9c13b5c8086ca98525bc
[ "MIT" ]
null
null
null
buddymove_holidayiq.py
Lopez-John/lambdata-Lopez-John
97f127d16a6f6304b62e9c13b5c8086ca98525bc
[ "MIT" ]
1
2020-12-01T23:06:12.000Z
2020-12-01T23:06:12.000Z
import pandas as pd import sqlite3 df = pd.read_csv('buddymove_holidayiq.csv') conn = sqlite3.connect('buddymove_holidayiq.sqlite3') curs = conn.cursor() conn.commit() df.to_sql('buddymove_holidayiq.sqlite3', conn)
26.875
53
0.786047
31
215
5.290323
0.548387
0.329268
0.304878
0
0
0
0
0
0
0
0
0.020305
0.083721
215
8
54
26.875
0.812183
0
0
0
0
0
0.356481
0.356481
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
048cf1f38c153aab25bf29beaedd952b07f9ccb7
241
py
Python
tests/test_config.py
troy-black/PythonCameraSuite
06ae021564e40f07abc41bc2dd8eebc751dde0b6
[ "MIT" ]
null
null
null
tests/test_config.py
troy-black/PythonCameraSuite
06ae021564e40f07abc41bc2dd8eebc751dde0b6
[ "MIT" ]
6
2021-04-06T18:14:45.000Z
2022-03-12T00:49:18.000Z
tests/test_config.py
troy-black/PythonCameraSuite
06ae021564e40f07abc41bc2dd8eebc751dde0b6
[ "MIT" ]
1
2021-04-03T22:18:01.000Z
2021-04-03T22:18:01.000Z
import unittest from tdb.camerasuite.config import ConfigBase class ConfigTester(unittest.TestCase): def test_load_config(self): config = ConfigBase(profile='dev') self.assertIsNotNone(config, 'Unable to load config')
24.1
61
0.742739
28
241
6.321429
0.678571
0.112994
0
0
0
0
0
0
0
0
0
0
0.170124
241
9
62
26.777778
0.885
0
0
0
0
0
0.099585
0
0
0
0
0
0.166667
1
0.166667
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
0
0
0
3