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
d80246fa32a3f308ec7fab105e6ffe3f84de6545
176
py
Python
py/codewars/alphabet_positions.py
takemyoxygen/playground
7ce8928dd2c22d4ff8ce315e77a5fb43cd7ef2e6
[ "MIT" ]
null
null
null
py/codewars/alphabet_positions.py
takemyoxygen/playground
7ce8928dd2c22d4ff8ce315e77a5fb43cd7ef2e6
[ "MIT" ]
12
2020-07-17T11:11:11.000Z
2022-02-27T14:43:42.000Z
py/codewars/alphabet_positions.py
takemyoxygen/playground
7ce8928dd2c22d4ff8ce315e77a5fb43cd7ef2e6
[ "MIT" ]
null
null
null
def alphabet_position(text): offset = ord('a') - 1 positions = (ord(char) - offset for char in text.lower() if char.isalpha()) return ' '.join(map(str, positions))
35.2
79
0.642045
25
176
4.48
0.76
0
0
0
0
0
0
0
0
0
0
0.007042
0.193182
176
4
80
44
0.78169
0
0
0
0
0
0.011364
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
d8065fc49beff8c432590983ae9a8cb0414f75d2
80
py
Python
Codeforces/A_Specific_Tastes_of_Andre_.py
anubhab-code/Competitive-Programming
de28cb7d44044b9e7d8bdb475da61e37c018ac35
[ "MIT" ]
null
null
null
Codeforces/A_Specific_Tastes_of_Andre_.py
anubhab-code/Competitive-Programming
de28cb7d44044b9e7d8bdb475da61e37c018ac35
[ "MIT" ]
null
null
null
Codeforces/A_Specific_Tastes_of_Andre_.py
anubhab-code/Competitive-Programming
de28cb7d44044b9e7d8bdb475da61e37c018ac35
[ "MIT" ]
null
null
null
for _ in range(int(input())): n=int(input()) ans=["1"]*n print(*ans)
20
29
0.5125
13
80
3.076923
0.692308
0.4
0
0
0
0
0
0
0
0
0
0.016129
0.225
80
4
30
20
0.629032
0
0
0
0
0
0.012346
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d817bfc9e3be191ebbcf37cea646bc5f183c737a
86
py
Python
07-2021-06-04/src/_solutions/time_series_analysis_070.py
eotp/python-FU-class
f0a7518b3e3204a77e8855bef91afeaabb0d52ac
[ "MIT" ]
1
2020-01-17T14:51:40.000Z
2020-01-17T14:51:40.000Z
07-2022-06-16/src/_solutions/time_series_analysis_070.py
eotp/python-FU-WiSe1920
4f225430ef8a70faca8c86c77cc888524c8e0546
[ "MIT" ]
null
null
null
07-2022-06-16/src/_solutions/time_series_analysis_070.py
eotp/python-FU-WiSe1920
4f225430ef8a70faca8c86c77cc888524c8e0546
[ "MIT" ]
1
2020-12-04T15:37:28.000Z
2020-12-04T15:37:28.000Z
## Solution Challenge 7 fig, ax = plt.subplots() data_monthly['anomaly'].plot(ax = ax)
28.666667
37
0.709302
13
86
4.615385
0.846154
0
0
0
0
0
0
0
0
0
0
0.013158
0.116279
86
3
37
28.666667
0.776316
0.232558
0
0
0
0
0.109375
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
d81d1569a8f15b026dad880bbc35080347ea4a22
2,890
py
Python
insta/models.py
lizgi/insta_rep
57b0575c1f74340b4914845dcb3b541f0c3719a9
[ "MIT" ]
4
2019-10-14T11:33:43.000Z
2020-02-04T10:54:35.000Z
insta/models.py
lizgi/insta_rep
57b0575c1f74340b4914845dcb3b541f0c3719a9
[ "MIT" ]
6
2020-02-11T21:56:29.000Z
2021-04-03T15:24:37.000Z
insta/models.py
lizgi/insta_rep
57b0575c1f74340b4914845dcb3b541f0c3719a9
[ "MIT" ]
1
2021-12-06T18:32:45.000Z
2021-12-06T18:32:45.000Z
from django.db import models from django.contrib.auth.models import User from django.dispatch import receiver from django.db.models.signals import post_save class Image(models.Model): image = models.ImageField(upload_to='instaimages/') name = models.CharField(max_length=60) caption = models.TextField() user = ...
26.513761
92
0.729758
370
2,890
5.516216
0.218919
0.053895
0.054875
0.082313
0.296423
0.170015
0.141597
0.133758
0.11171
0.11171
0
0.000818
0.153979
2,890
108
93
26.759259
0.833947
0
0
0.240506
0
0
0.044998
0
0
0
0
0
0
1
0.240506
false
0
0.050633
0.139241
0.734177
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
d830593cfd951cf314f72d85ec01747f9ec946fc
1,106
py
Python
team/managers.py
Aleccc/gtcrew
7e6e7024afdbf48ee796cb1f9a86b913e6843dda
[ "MIT" ]
null
null
null
team/managers.py
Aleccc/gtcrew
7e6e7024afdbf48ee796cb1f9a86b913e6843dda
[ "MIT" ]
21
2019-02-14T02:47:34.000Z
2022-01-23T02:22:54.000Z
team/managers.py
Aleccc/gtcrew
7e6e7024afdbf48ee796cb1f9a86b913e6843dda
[ "MIT" ]
null
null
null
from django.db import models from django.core.exceptions import ObjectDoesNotExist class MembershipQuerySet(models.QuerySet): def student(self): return self.exclude(title__held_by='coach').exclude(title__held_by='alumni') def coach(self): return self.filter(title__held_by='coach') def ac...
29.105263
84
0.681736
127
1,106
5.771654
0.314961
0.068213
0.04502
0.049113
0.414734
0.414734
0.414734
0.414734
0.414734
0.414734
0
0
0.216094
1,106
37
85
29.891892
0.845444
0
0
0.481481
0
0
0.026221
0
0
0
0
0
0
1
0.259259
false
0
0.074074
0.148148
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
d8334c73e3325621b905200c0fbf9e889b6a4265
90
py
Python
src/tests/Test_ValueDict.py
aaanh/duplicated_accelcamp
7d4b60ace023bede907f8ed367ba492731a1951d
[ "FTL", "CNRI-Python", "RSA-MD" ]
null
null
null
src/tests/Test_ValueDict.py
aaanh/duplicated_accelcamp
7d4b60ace023bede907f8ed367ba492731a1951d
[ "FTL", "CNRI-Python", "RSA-MD" ]
2
2021-05-21T16:31:41.000Z
2021-08-25T16:05:48.000Z
src/tests/Test_ValueDict.py
aaanh/duplicated_accelcamp
7d4b60ace023bede907f8ed367ba492731a1951d
[ "FTL", "CNRI-Python", "RSA-MD" ]
null
null
null
import keyboard # python -m pip install keyboard recorded = keyboard.record(until='esc')
30
49
0.766667
12
90
5.75
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.133333
90
3
50
30
0.884615
0.333333
0
0
0
0
0.050847
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
d83965af8ff8dea14e1a5278982eb51b92d9cb51
66
py
Python
destinator/const/messages.py
PJUllrich/distributed-systems
b362c1c6783fbd1659448277aab6c158485d7c3c
[ "MIT" ]
null
null
null
destinator/const/messages.py
PJUllrich/distributed-systems
b362c1c6783fbd1659448277aab6c158485d7c3c
[ "MIT" ]
null
null
null
destinator/const/messages.py
PJUllrich/distributed-systems
b362c1c6783fbd1659448277aab6c158485d7c3c
[ "MIT" ]
null
null
null
DISCOVERY = "DISCOVERY" DISCOVERY_RESPONSE = "DISCOVERY_RESPONSE"
22
41
0.818182
6
66
8.666667
0.333333
0.692308
0
0
0
0
0
0
0
0
0
0
0.090909
66
2
42
33
0.866667
0
0
0
0
0
0.409091
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
dc247ab2797352d45df6d4dad77124ed35d31560
248
py
Python
core/settings/__init__.py
mubarak-bunza/django-app
6c84bea74ca8f681974a395c14b296702b1bc51e
[ "MIT" ]
null
null
null
core/settings/__init__.py
mubarak-bunza/django-app
6c84bea74ca8f681974a395c14b296702b1bc51e
[ "MIT" ]
null
null
null
core/settings/__init__.py
mubarak-bunza/django-app
6c84bea74ca8f681974a395c14b296702b1bc51e
[ "MIT" ]
null
null
null
from decouple import config ENVIRONMENT = config('ENVIRONMENT') if ENVIRONMENT == 'dev': from .dev import * # noqa elif ENVIRONMENT == 'testing': from .testing import * # noqa elif ENVIRONMENT == 'prod': from .prod import * # noqa
20.666667
35
0.665323
28
248
5.892857
0.392857
0.181818
0.169697
0.30303
0
0
0
0
0
0
0
0
0.217742
248
11
36
22.545455
0.850515
0.056452
0
0
0
0
0.108696
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
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
0
0
0
3
dc336c74b32f890dfe2a9ad1f33f1d2e93dabc60
1,693
py
Python
src/sofie_offer_marketplace/exceptions.py
SOFIE-project/Marketplace
d8bbdfcc3be07edd392f51258732ed6a50ff3caa
[ "Apache-2.0" ]
6
2020-12-11T18:46:50.000Z
2022-03-07T02:26:26.000Z
src/sofie_offer_marketplace/exceptions.py
SOFIE-project/offer-marketplace
d8bbdfcc3be07edd392f51258732ed6a50ff3caa
[ "Apache-2.0" ]
null
null
null
src/sofie_offer_marketplace/exceptions.py
SOFIE-project/offer-marketplace
d8bbdfcc3be07edd392f51258732ed6a50ff3caa
[ "Apache-2.0" ]
1
2021-09-10T02:36:58.000Z
2021-09-10T02:36:58.000Z
# Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed # with this work for additional information regarding copyright # ownership. The ASF licenses this file to you under the Apache # License, Version 2.0 (the "License"); you may not use...
23.513889
70
0.768458
200
1,693
6.505
0.525
0.161414
0.179862
0.024596
0.076864
0.076864
0.076864
0.076864
0.076864
0
0
0.002837
0.167159
1,693
71
71
23.84507
0.919858
0.562906
0
0.416667
0
0
0
0
0
0
0
0
0
1
0
true
0.458333
0
0
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
0
1
1
0
0
1
0
0
3
dc3e78cb22aec02058289ee6a17aa4b6230a5f9c
830
py
Python
tests/test_stack/test_stack.py
ueg1990/aids
bb543c6f53983d59edbc6a522ca10d64efd9c42e
[ "MIT" ]
null
null
null
tests/test_stack/test_stack.py
ueg1990/aids
bb543c6f53983d59edbc6a522ca10d64efd9c42e
[ "MIT" ]
null
null
null
tests/test_stack/test_stack.py
ueg1990/aids
bb543c6f53983d59edbc6a522ca10d64efd9c42e
[ "MIT" ]
null
null
null
import unittest from aids.stack.stack import Stack class StackTestCase(unittest.TestCase): ''' Unit tests for the Stack data structure ''' def setUp(self): self.test_stack = Stack() def test_stack_initialization(self): self.assertTrue(isinstance(self.test_stack, Stack)) def test_stack...
21.842105
53
0.713253
123
830
4.609756
0.252033
0.269841
0.252205
0.149912
0.483245
0.483245
0.483245
0.377425
0.377425
0.377425
0
0.011561
0.166265
830
37
54
22.432432
0.807803
0
0
0.26087
0
0
0
0
0
0
0
0
0.26087
0
null
null
0.043478
0.086957
null
null
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
dc49c1402b5fb558924728c9792c7911b88b3bd7
12,303
py
Python
pycatia/part_interfaces/thickness.py
evereux/catia_python
08948585899b12587b0415ce3c9191a408b34897
[ "MIT" ]
90
2019-02-21T10:05:28.000Z
2022-03-19T01:53:41.000Z
pycatia/part_interfaces/thickness.py
Luanee/pycatia
ea5eef8178f73de12404561c00baf7a7ca30da59
[ "MIT" ]
99
2019-05-21T08:29:12.000Z
2022-03-25T09:55:15.000Z
pycatia/part_interfaces/thickness.py
Luanee/pycatia
ea5eef8178f73de12404561c00baf7a7ca30da59
[ "MIT" ]
26
2019-04-04T06:31:36.000Z
2022-03-30T07:24:47.000Z
#! usr/bin/python3.6 """ Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445 .. warning:: The notes denoted "CAA V5 Visual Basic Help" are to be used as reference only. They are there as a guide as to how the visual basic / catscript function...
40.470395
111
0.554661
1,192
12,303
5.57047
0.151007
0.025301
0.033283
0.021687
0.656476
0.60241
0.560994
0.518373
0.485843
0.485843
0
0.026822
0.378769
12,303
303
112
40.60396
0.841947
0.702918
0
0.076923
1
0
0.013278
0.013278
0
0
0
0
0
1
0.346154
false
0
0.153846
0.038462
0.846154
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
dc9ff7f21e93d01ef9c40d445381790f8bb55a98
1,012
py
Python
app/main/forms.py
Abdihakim-Muhumed/pitchmaster
19c84d1c357e09b348235e00a431c24b987e71f1
[ "Unlicense" ]
null
null
null
app/main/forms.py
Abdihakim-Muhumed/pitchmaster
19c84d1c357e09b348235e00a431c24b987e71f1
[ "Unlicense" ]
null
null
null
app/main/forms.py
Abdihakim-Muhumed/pitchmaster
19c84d1c357e09b348235e00a431c24b987e71f1
[ "Unlicense" ]
null
null
null
from flask_wtf import FlaskForm from flask_wtf.file import FileField, FileAllowed from flask_login import current_user from wtforms import StringField, PasswordField, SubmitField, BooleanField, TextAreaField,RadioField from wtforms.validators import DataRequired, Length, Email, EqualTo, ValidationError,Required from a...
48.190476
155
0.754941
105
1,012
7.219048
0.495238
0.118734
0.094987
0.138522
0.175462
0.121372
0
0
0
0
0
0.00227
0.129447
1,012
20
156
50.6
0.858116
0
0
0.176471
0
0
0.13834
0
0
0
0
0
0
1
0
false
0.058824
0.352941
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
0
1
1
0
1
0
0
3
dcae061ba1864ba6bc82c75ef2d85ddc9523e86b
206
py
Python
mundo 3/096.py
thiagofreitascarneiro/Curso-de-Python---Curso-em-Video
0342e482780b5a1c6f78cddd51d9bfad785c79fa
[ "MIT" ]
1
2021-08-04T13:21:22.000Z
2021-08-04T13:21:22.000Z
mundo 3/096.py
thiagofreitascarneiro/Curso-de-Python---Curso-em-Video
0342e482780b5a1c6f78cddd51d9bfad785c79fa
[ "MIT" ]
null
null
null
mundo 3/096.py
thiagofreitascarneiro/Curso-de-Python---Curso-em-Video
0342e482780b5a1c6f78cddd51d9bfad785c79fa
[ "MIT" ]
null
null
null
def calculoarea(largura, comprimento): a = largura * comprimento print(f'A área de um terreno {largura}x{comprimento} é de {a}m²') print('Controle de Terrenos') print('-' * 20) calculoarea(4.5, 8)
25.75
69
0.68932
31
206
4.580645
0.645161
0.253521
0
0
0
0
0
0
0
0
0
0.034884
0.165049
206
7
70
29.428571
0.790698
0
0
0
0
0
0.368932
0.11165
0
0
0
0
0
1
0.166667
false
0
0
0
0.166667
0.5
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
dcb5293c5dfcafc82705d5e5601f345b0d36fdce
108
py
Python
autokey/macOS/Move line end.py
fflewddur/dotfiles
09f21ed4662afdd59d5d555fc89eb00fb3ea46a3
[ "MIT" ]
null
null
null
autokey/macOS/Move line end.py
fflewddur/dotfiles
09f21ed4662afdd59d5d555fc89eb00fb3ea46a3
[ "MIT" ]
null
null
null
autokey/macOS/Move line end.py
fflewddur/dotfiles
09f21ed4662afdd59d5d555fc89eb00fb3ea46a3
[ "MIT" ]
null
null
null
store.set_global_value('hotkey', '<super>+e') engine.set_return_value('<end>') engine.run_script('mapkeys')
27
45
0.75
16
108
4.75
0.8125
0
0
0
0
0
0
0
0
0
0
0
0.037037
108
3
46
36
0.730769
0
0
0
0
0
0.25
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
f496eee1c2662b4419303872d70ae6dfbe34b918
2,564
py
Python
database/models.py
rkie/estimator
964c22747e23aa30c3eab4fc6c5f35cd5425cba6
[ "MIT" ]
1
2019-10-20T01:13:52.000Z
2019-10-20T01:13:52.000Z
database/models.py
rkie/estimator
964c22747e23aa30c3eab4fc6c5f35cd5425cba6
[ "MIT" ]
null
null
null
database/models.py
rkie/estimator
964c22747e23aa30c3eab4fc6c5f35cd5425cba6
[ "MIT" ]
null
null
null
from estimator import db from flask_login import UserMixin from werkzeug.security import generate_password_hash, check_password_hash class Group(db.Model): """A group that team members can join and contains issues""" __tablename__ = 'estimation_group' id = db.Column(db.Integer, primary_key=True) name = db.Column(d...
30.52381
87
0.74571
381
2,564
4.800525
0.181102
0.083106
0.103882
0.120831
0.414981
0.318753
0.296337
0.279388
0.243302
0.243302
0
0.006687
0.125195
2,564
83
88
30.891566
0.808738
0.042902
0
0.209677
1
0
0.058535
0
0
0
0
0
0
1
0.193548
false
0.177419
0.048387
0.064516
0.709677
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
1
0
0
1
0
0
3
f4a287f12fbbc4a0c18e0c95a9ab6bb8342502a7
12,030
py
Python
devilry/apps/core/tests/test_period_tags.py
devilry/devilry-django
9ae28e462dfa4cfee966ebacbca04ade9627e715
[ "BSD-3-Clause" ]
29
2015-01-18T22:56:23.000Z
2020-11-10T21:28:27.000Z
devilry/apps/core/tests/test_period_tags.py
devilry/devilry-django
9ae28e462dfa4cfee966ebacbca04ade9627e715
[ "BSD-3-Clause" ]
786
2015-01-06T16:10:18.000Z
2022-03-16T11:10:50.000Z
devilry/apps/core/tests/test_period_tags.py
devilry/devilry-django
9ae28e462dfa4cfee966ebacbca04ade9627e715
[ "BSD-3-Clause" ]
15
2015-04-06T06:18:43.000Z
2021-02-24T12:28:30.000Z
from django import test from django.core.exceptions import ValidationError from django.db import IntegrityError from django.conf import settings from model_bakery import baker from devilry.apps.core.models.period_tag import PeriodTag from devilry.devilry_dbcache.customsql import AssignmentGroupDbCacheCustomSql cl...
53.466667
104
0.717041
1,312
12,030
6.377287
0.084604
0.09896
0.13362
0.118322
0.825744
0.782718
0.71543
0.608701
0.591371
0.560535
0
0.011968
0.1665
12,030
224
105
53.705357
0.822479
0
0
0.517949
0
0
0.135683
0.004905
0
0
0
0
0.179487
1
0.112821
false
0
0.035897
0
0.153846
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
f4a39ec479e1007fe2406ae06f87c39ae74e98de
499
py
Python
odd_collector/adapters/neo4j/mappers/types.py
opendatadiscovery/odd-collector
a7f83b10c71c8049d95b388ad844e7c55b9ea19d
[ "Apache-2.0" ]
null
null
null
odd_collector/adapters/neo4j/mappers/types.py
opendatadiscovery/odd-collector
a7f83b10c71c8049d95b388ad844e7c55b9ea19d
[ "Apache-2.0" ]
null
null
null
odd_collector/adapters/neo4j/mappers/types.py
opendatadiscovery/odd-collector
a7f83b10c71c8049d95b388ad844e7c55b9ea19d
[ "Apache-2.0" ]
null
null
null
# https://neo4j.com/docs/cypher-manual/current/syntax/values/#property-types from odd_models.models import Type TYPES_SQL_TO_ODD: dict[str, Type] = { "integer": Type.TYPE_INTEGER, "float": Type.TYPE_NUMBER, "boolean": Type.TYPE_BOOLEAN, "string": Type.TYPE_STRING, "duration": Type.TYPE_DURATION, ...
27.722222
76
0.707415
64
499
5.296875
0.484375
0.235988
0.235988
0
0
0
0
0
0
0
0
0.002358
0.150301
499
17
77
29.352941
0.79717
0.146293
0
0
0
0
0.167849
0
0
0
0
0
0
1
0
true
0
0.076923
0
0.076923
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
f4a439b36c08462b9df7923a6565abb5629a891d
165
py
Python
Chain of Responsibility/Python 3/Request.py
kuuhaku86/design-patterns
9044ecbeb366fec97e27f1ec51e66d0fafdace07
[ "MIT" ]
11
2022-03-24T15:08:06.000Z
2022-03-30T19:24:30.000Z
Chain of Responsibility/Python 3/Request.py
kuuhaku86/design-patterns
9044ecbeb366fec97e27f1ec51e66d0fafdace07
[ "MIT" ]
null
null
null
Chain of Responsibility/Python 3/Request.py
kuuhaku86/design-patterns
9044ecbeb366fec97e27f1ec51e66d0fafdace07
[ "MIT" ]
null
null
null
class Request: def __init__(self, authenticated, authorized, route): self.authenticated = authenticated self.authorized = authorized self.route = route
33
55
0.745455
17
165
7
0.470588
0.285714
0
0
0
0
0
0
0
0
0
0
0.175758
165
5
56
33
0.875
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f4e178fe9388e08552da63761147482da2fea146
7,202
py
Python
pystratis/api/voting/voting.py
stratisproject/pyStratis
66af1b0a0f3c3a295c2af68d500776d1f46adce5
[ "MIT" ]
8
2021-06-30T20:44:22.000Z
2021-12-07T14:42:22.000Z
pystratis/api/voting/voting.py
stratisproject/pyStratis
66af1b0a0f3c3a295c2af68d500776d1f46adce5
[ "MIT" ]
2
2021-07-01T11:50:18.000Z
2022-01-25T18:39:49.000Z
pystratis/api/voting/voting.py
stratisproject/pyStratis
66af1b0a0f3c3a295c2af68d500776d1f46adce5
[ "MIT" ]
4
2021-07-01T04:36:42.000Z
2021-09-17T10:54:19.000Z
from typing import List, Union from pystratis.api import APIRequest, EndpointRegister, endpoint from pystratis.api.voting.requestmodels import * from pystratis.api.voting.responsemodels import * from pystratis.core.types import hexstr, uint256 class Voting(APIRequest, metaclass=EndpointRegister): """Implements th...
34.792271
89
0.596362
799
7,202
5.175219
0.126408
0.040629
0.0711
0.096493
0.739057
0.716324
0.707134
0.685369
0.669649
0.662394
0
0.004271
0.317273
7,202
206
90
34.961165
0.836689
0.336851
0
0.535714
0
0
0.057005
0.050242
0
0
0
0
0
1
0.119048
false
0
0.059524
0
0.27381
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
f4f06f1e587c2da14b095e067037575edb07f61a
89
py
Python
test/python/LIM2Metrics/py2/base/common/Python042/Python042.py
sagodiz/SonarQube-plug-in
4f8e111baecc4c9f9eaa5cd3d7ebeb1e365ace2c
[ "BSD-4-Clause" ]
20
2015-06-16T17:39:10.000Z
2022-03-20T22:39:40.000Z
test/python/LIM2Metrics/py2/base/common/Python042/Python042.py
sagodiz/SonarQube-plug-in
4f8e111baecc4c9f9eaa5cd3d7ebeb1e365ace2c
[ "BSD-4-Clause" ]
29
2015-12-29T19:07:22.000Z
2022-03-22T10:39:02.000Z
test/python/LIM2Metrics/py2/base/common/Python042/Python042.py
sagodiz/SonarQube-plug-in
4f8e111baecc4c9f9eaa5cd3d7ebeb1e365ace2c
[ "BSD-4-Clause" ]
12
2015-08-28T01:22:18.000Z
2021-09-25T08:17:31.000Z
try: raise NameError('HiThere') except NameError: print 'An exception flew by!' raise
14.833333
30
0.741573
12
89
5.5
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.157303
89
5
31
17.8
0.88
0
0
0
0
0
0.314607
0
0
0
0
0
0
0
null
null
0
0
null
null
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
f4fea7d9bf52b38befae938d5d2ac6104ebb4b04
319
py
Python
examples/py/async-fetch-ticker.py
vankiaio/ccxt
44f69b681c2772c5f585db6d55c5d10cb6d64017
[ "MIT" ]
13
2019-01-26T14:41:37.000Z
2022-03-26T03:33:12.000Z
examples/py/async-fetch-ticker.py
vankiaio/ccxt
44f69b681c2772c5f585db6d55c5d10cb6d64017
[ "MIT" ]
17
2018-10-02T04:43:13.000Z
2018-11-01T17:07:37.000Z
examples/py/async-fetch-ticker.py
vankiaio/ccxt
44f69b681c2772c5f585db6d55c5d10cb6d64017
[ "MIT" ]
12
2018-12-24T02:19:02.000Z
2022-03-26T05:04:25.000Z
# -*- coding: utf-8 -*- import asyncio import os import sys root = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) sys.path.append(root + '/python') import ccxt.async_support as ccxt # noqa: E402 print(asyncio.get_event_loop().run_until_complete(ccxt.liqui().fetch_ticker('ETH/BTC')))
24.538462
88
0.736677
50
319
4.5
0.64
0.106667
0.173333
0.2
0.2
0.2
0.2
0.2
0
0
0
0.013841
0.094044
319
12
89
26.583333
0.764706
0.100313
0
0
0
0
0.049296
0
0
0
0
0
0
1
0
false
0
0.571429
0
0.571429
0.142857
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
76070cf9bc1718b93199a4b372d3468126722c98
973
py
Python
app/blueprints/merch/__init__.py
SimonXwk/onepic
3b12fe76c39dc2685826c5807b866155bb19615b
[ "MIT" ]
null
null
null
app/blueprints/merch/__init__.py
SimonXwk/onepic
3b12fe76c39dc2685826c5807b866155bb19615b
[ "MIT" ]
null
null
null
app/blueprints/merch/__init__.py
SimonXwk/onepic
3b12fe76c39dc2685826c5807b866155bb19615b
[ "MIT" ]
null
null
null
from app.blueprints import MyBlueprint bp = MyBlueprint(__name__) # Add Url Rules (rule - endpoint - view function) view_funcs_list = ( dict(import_name='view_funcs.merchandise_revenue_overview', url_rules=['/merchandise_revenue_overview']), dict(import_name='view_funcs.merchandise_activity', url_rules=['/merchandi...
54.055556
108
0.797533
133
973
5.368421
0.308271
0.12605
0.156863
0.201681
0.327731
0.19888
0.103641
0
0
0
0
0
0.053443
973
17
109
57.235294
0.775244
0.048304
0
0
0
0
0.487013
0.416667
0
0
0
0
0
1
0
false
0
0.692308
0
0.692308
0.153846
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
1
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
760e0209c06d2c4cae56bc7af6f1724c30727730
69
py
Python
infinity.py
psorus/piano
513d9c5143eef27576e9c1d87bd21185c11c9b22
[ "MIT" ]
null
null
null
infinity.py
psorus/piano
513d9c5143eef27576e9c1d87bd21185c11c9b22
[ "MIT" ]
null
null
null
infinity.py
psorus/piano
513d9c5143eef27576e9c1d87bd21185c11c9b22
[ "MIT" ]
null
null
null
import os for i in range(10000): os.system("python main.py")
8.625
31
0.637681
12
69
3.666667
0.916667
0
0
0
0
0
0
0
0
0
0
0.09434
0.231884
69
7
32
9.857143
0.735849
0
0
0
0
0
0.202899
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
761a7238bb87b79f2387545940d450d99afe92b9
167
py
Python
frozen_box/exception.py
leavers/frozen-box
d7e389fb2039a1f1781e373e213ea99f474792b4
[ "MIT" ]
null
null
null
frozen_box/exception.py
leavers/frozen-box
d7e389fb2039a1f1781e373e213ea99f474792b4
[ "MIT" ]
null
null
null
frozen_box/exception.py
leavers/frozen-box
d7e389fb2039a1f1781e373e213ea99f474792b4
[ "MIT" ]
null
null
null
class FrozenException(Exception): pass class FrozenKeyError(FrozenException, KeyError): pass class FrozenValueError(FrozenException, ValueError): pass
15.181818
52
0.772455
14
167
9.214286
0.571429
0.139535
0
0
0
0
0
0
0
0
0
0
0.161677
167
10
53
16.7
0.921429
0
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
761c591f65597685ef05ba29f9c82f71266d168d
1,973
py
Python
geotrek/core/migrations/0030_auto_20220127_0939.py
GeotrekCE/Geotrek
c1393925c1940ac795ab7fc04819cd8c78bc79fb
[ "BSD-2-Clause" ]
null
null
null
geotrek/core/migrations/0030_auto_20220127_0939.py
GeotrekCE/Geotrek
c1393925c1940ac795ab7fc04819cd8c78bc79fb
[ "BSD-2-Clause" ]
null
null
null
geotrek/core/migrations/0030_auto_20220127_0939.py
GeotrekCE/Geotrek
c1393925c1940ac795ab7fc04819cd8c78bc79fb
[ "BSD-2-Clause" ]
null
null
null
# Generated by Django 3.1.14 on 2022-01-27 08:39 import django.contrib.gis.db.models.fields import django.contrib.postgres.indexes from django.conf import settings from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('core', '0029_auto_20211022_1252'), ] ope...
37.942308
150
0.639128
215
1,973
5.697674
0.265116
0.106122
0.102857
0.137143
0.737959
0.737959
0.713469
0.670204
0.617143
0.540408
0
0.023873
0.235682
1,973
51
151
38.686275
0.788462
0.023315
0
0.577778
1
0
0.124675
0.061299
0
0
0
0
0
1
0
false
0
0.088889
0
0.155556
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
761eaecfdb3866b50f4e0bbb86a8fb85ebd14bec
1,712
py
Python
StackApp/app/common/validators.py
jonathanmusila/StackOverflow-Lite
a9a03f129592c6f741eb4d1e608ca2db0e40bf11
[ "MIT" ]
null
null
null
StackApp/app/common/validators.py
jonathanmusila/StackOverflow-Lite
a9a03f129592c6f741eb4d1e608ca2db0e40bf11
[ "MIT" ]
null
null
null
StackApp/app/common/validators.py
jonathanmusila/StackOverflow-Lite
a9a03f129592c6f741eb4d1e608ca2db0e40bf11
[ "MIT" ]
null
null
null
from app.app import * from validate_email import validate_email def validate_user_registration(json): if not(json["first_name"].strip()): return jsonify({'Message': 'First name is required'}), 401 if not(json["last_name"].strip()): return jsonify({'Message': ...
33.568627
95
0.54965
190
1,712
4.878947
0.226316
0.140237
0.21575
0.188781
0.433657
0.289105
0.12945
0
0
0
0
0.026587
0.318925
1,712
51
96
33.568627
0.768439
0
0
0.348837
0
0
0.228255
0
0
0
0
0
0
1
0.116279
false
0.046512
0.046512
0
0.511628
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
5200c65433de305b2e3027c21b37d4d6a9de9484
668
py
Python
AMO2Git/utils/CommandsGenerator.py
KOLANICH/AMO2git
b8360fb49e496f162208e0dbdb65b2237595e482
[ "Unlicense" ]
1
2019-11-26T11:30:39.000Z
2019-11-26T11:30:39.000Z
AMO2Git/utils/CommandsGenerator.py
KOLANICH/AMO2git
b8360fb49e496f162208e0dbdb65b2237595e482
[ "Unlicense" ]
null
null
null
AMO2Git/utils/CommandsGenerator.py
KOLANICH/AMO2git
b8360fb49e496f162208e0dbdb65b2237595e482
[ "Unlicense" ]
null
null
null
import platform import shlex import re class CommandsGenerator: def quote(self, input:str): return shlex.quote(str(input)) def echo(self, input:str): return "echo "+shlex.quote(str(input)) specChar=re.compile("\\W") class CommandsGeneratorWin(CommandsGenerator): """A class to create shell commands. Create a...
24.740741
81
0.714072
85
668
5.611765
0.447059
0.075472
0.100629
0.113208
0.205451
0.121593
0.121593
0
0
0
0
0.003431
0.127246
668
27
82
24.740741
0.814751
0.172156
0
0.222222
0
0
0.058394
0
0
0
0
0
0
1
0.222222
false
0
0.166667
0.222222
0.722222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
5200d4d69fd3e7f6eb5fdd9a9a4995491fff865e
575
tac
Python
semantics_and_generate/samples/function3.tac
AHEADer/my_decaf_compiler
42ba9f140c5fda3cd2b4fdb727745d2cfd39c923
[ "MIT" ]
1
2018-01-03T03:35:38.000Z
2018-01-03T03:35:38.000Z
semantics_and_generate/samples/function3.tac
AHEADer/my_decaf_compiler
42ba9f140c5fda3cd2b4fdb727745d2cfd39c923
[ "MIT" ]
null
null
null
semantics_and_generate/samples/function3.tac
AHEADer/my_decaf_compiler
42ba9f140c5fda3cd2b4fdb727745d2cfd39c923
[ "MIT" ]
null
null
null
____f: BeginFunc 8 ; _tmp0 = 1 ; PushParam _tmp0 ; LCall _PrintInt ; PopParams 4 ; Return ; _tmp1 = 2 ; PushParam _tmp1 ; LCall _PrintInt ; PopParams 4 ; EndFunc ; ____g: BeginFunc 16 ; _L0: _tmp2 = 1 ; IfZ _tmp2 Goto _L1 ; _tmp3 = 3 ; PushParam _tmp3 ; LCall _PrintInt ; PopParams 4 ; _tmp4 = 5 ; R...
14.02439
22
0.650435
73
575
4.575342
0.39726
0.194611
0.329341
0.344311
0.179641
0
0
0
0
0
0
0.082938
0.266087
575
40
23
14.375
0.708531
0
0
0.425
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
3
522ac4b066cdb79ac1b131c8ae318d39ed192ae4
125
py
Python
src/easybackup/adapters/platform/unix.py
sne3ks/easybackup
0cec960935b5d1a8132059df28a4c8465b2b99e2
[ "MIT" ]
null
null
null
src/easybackup/adapters/platform/unix.py
sne3ks/easybackup
0cec960935b5d1a8132059df28a4c8465b2b99e2
[ "MIT" ]
null
null
null
src/easybackup/adapters/platform/unix.py
sne3ks/easybackup
0cec960935b5d1a8132059df28a4c8465b2b99e2
[ "MIT" ]
null
null
null
import subprocess class UnixPlatform(): @classmethod def touch(cls, path): subprocess.run(['touch', path])
15.625
39
0.648
13
125
6.230769
0.769231
0
0
0
0
0
0
0
0
0
0
0
0.224
125
8
39
15.625
0.835052
0
0
0
0
0
0.039683
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
524c078a137adaa959a69554d1ba178c6d16a576
10,604
py
Python
ili9341/fonts/etypo_13.py
HadrienLG/micropython-ili9341
975101949a722570c76b7bda72d8b292d2a9fd8d
[ "MIT" ]
2
2021-09-28T07:56:50.000Z
2022-02-08T07:26:13.000Z
ili9341/fonts/etypo_13.py
HadrienLG/micropython-ili9341
975101949a722570c76b7bda72d8b292d2a9fd8d
[ "MIT" ]
null
null
null
ili9341/fonts/etypo_13.py
HadrienLG/micropython-ili9341
975101949a722570c76b7bda72d8b292d2a9fd8d
[ "MIT" ]
3
2021-06-15T03:48:10.000Z
2022-02-28T02:52:18.000Z
# Created from ttf-fonts/Entypo.otf with freetype-generator. # freetype-generator created by Meurisse D ( MCHobby.be ). Entypo_13 = { 'width' : 0xc, 'height' : 0xd, 33:( 0x2000, 0x2800, 0x3c00, 0x3c00, 0x3800, 0x2c00, 0x2600, 0x23e0, 0x21f0, 0x2060), 34:( 0x3ffc, 0x3804, 0x3804, 0x3804, 0x3804, 0x3804, 0x3ffc), 35:(...
81.569231
102
0.721803
1,351
10,604
5.664693
0.324944
0.021952
0.021168
0.021952
0.095649
0.044688
0.024304
0.007056
0
0
0
0.570285
0.127876
10,604
129
103
82.20155
0.257245
0.010845
0
0
0
0
0.001049
0
0
0
0.690635
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
0
1
0
0
0
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
3
5260f1011db07c7ce8e42202d0325394fab4aff9
125,231
py
Python
dataset.py
SARIKAYA77/book_classification
370e147b9621943818fe96ec73314a485e796509
[ "Apache-2.0" ]
1
2022-01-05T15:33:48.000Z
2022-01-05T15:33:48.000Z
dataset.py
SARIKAYA77/book_classification
370e147b9621943818fe96ec73314a485e796509
[ "Apache-2.0" ]
null
null
null
dataset.py
SARIKAYA77/book_classification
370e147b9621943818fe96ec73314a485e796509
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # **************************SPOR Cümleleri BAŞLANGIÇ******************** from pip._vendor.html5lib.treeadapters.sax import namespace label_sport_1 = """ Şampiyonlar Ligi ve UEFA Avrupa Ligi'nde kuralar İsviçre'nin Lyon kentinde çekildi. Türkiye'yi Avrupa kupalarında temsi...
109.276614
981
0.827966
16,965
125,231
6.091895
0.424993
0.002303
0.001742
0.001161
0.013237
0.005602
0.003503
0.002013
0.002013
0.002013
0
0.015109
0.133753
125,231
1,145
982
109.372052
0.936109
0.010533
0
0.126449
0
0.415174
0.95258
0.002639
0
0
0
0
0
1
0
false
0
0.001054
0
0.001054
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5277b312d2a882add33c74c3032574fb20ae0a37
1,314
py
Python
vaetc/evaluation/metrics/elbo/__init__.py
ganmodokix/vaetc
866b79677b4f06603203376d967989dedadbffae
[ "MIT" ]
null
null
null
vaetc/evaluation/metrics/elbo/__init__.py
ganmodokix/vaetc
866b79677b4f06603203376d967989dedadbffae
[ "MIT" ]
null
null
null
vaetc/evaluation/metrics/elbo/__init__.py
ganmodokix/vaetc
866b79677b4f06603203376d967989dedadbffae
[ "MIT" ]
null
null
null
from sys import stderr import numpy as np import torch from vaetc.network.losses import kl_gaussian, neglogpxz_gaussian def elbo(x: np.ndarray, x2: np.ndarray, mean: np.ndarray, logvar: np.ndarray) -> np.ndarray: return distortion(x, x2) + rate(mean, logvar) def rate(mean: np.ndarray, logvar: np.ndarray) -> np....
32.04878
135
0.645358
216
1,314
3.842593
0.328704
0.216867
0.060241
0.072289
0.342169
0.291566
0.240964
0.240964
0.204819
0.101205
0
0.042573
0.195586
1,314
41
136
32.04878
0.742668
0
0
0
0
0.035714
0.079087
0
0
0
0
0
0
1
0.214286
false
0
0.142857
0.071429
0.571429
0.035714
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
527fef05b8c02caac07ea9d96a648b660be72a37
249
py
Python
pureskillgg_csgo_dsdk/__init__.py
pureskillgg/csgo-dsdk
28d904db878618fdb34e344f4beae541aa1733b5
[ "MIT" ]
null
null
null
pureskillgg_csgo_dsdk/__init__.py
pureskillgg/csgo-dsdk
28d904db878618fdb34e344f4beae541aa1733b5
[ "MIT" ]
null
null
null
pureskillgg_csgo_dsdk/__init__.py
pureskillgg/csgo-dsdk
28d904db878618fdb34e344f4beae541aa1733b5
[ "MIT" ]
null
null
null
""" PureSkill.gg CS:GO Data Science Development Kit. """ from .scrubber import scrub_csds_pii, SCRUB_CSDS_PII_CHANNEL_INSTRUCTIONS from .overtime import pop_overtime from .errors import MissingColumns from .errors import UnsupportedChannelStructure
31.125
73
0.843373
32
249
6.34375
0.65625
0.08867
0.118227
0
0
0
0
0
0
0
0
0
0.100402
249
7
74
35.571429
0.90625
0.192771
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
5285289e1e6a2c2da02b98e9e2a758277bc31da1
562
py
Python
square.py
MineRobber9000/pyfiles
ad2f2fc3ed827e8891a7d82c13e3e961bacc3294
[ "MIT" ]
null
null
null
square.py
MineRobber9000/pyfiles
ad2f2fc3ed827e8891a7d82c13e3e961bacc3294
[ "MIT" ]
null
null
null
square.py
MineRobber9000/pyfiles
ad2f2fc3ed827e8891a7d82c13e3e961bacc3294
[ "MIT" ]
null
null
null
import sys from ast import * module=Module(body=[FunctionDef(name='square',args=arguments(args=[arg(arg='x',annotation=None,lineno=1,col_offset=1)],vararg=None,kwonlyargs=[],kw_defaults=[],kwarg=None,defaults=[],lineno=1),body=[Return(value=BinOp(left=Name(id='x',ctx=Load(),lineno=1,col_offset=1),op=Pow(),right=Num(n=...
70.25
417
0.756228
95
562
4.263158
0.484211
0.120988
0.148148
0.237037
0.271605
0.22963
0.125926
0.125926
0.125926
0.125926
0
0.025408
0.019573
562
7
418
80.285714
0.709619
0
0
0
0
0
0.030249
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
8723905ec5b81981e4dc4e0c529d93292a381e49
392
py
Python
pyskyqremote/country/const_gb.py
bluenazgul/skyq_remote
6078e5ba2c202b343369c3addb3c9256310a3b0b
[ "MIT" ]
2
2021-04-28T12:17:34.000Z
2021-11-12T17:42:18.000Z
pyskyqremote/country/const_gb.py
bluenazgul/skyq_remote
6078e5ba2c202b343369c3addb3c9256310a3b0b
[ "MIT" ]
8
2020-07-05T17:03:07.000Z
2022-02-09T17:27:06.000Z
pyskyqremote/country/const_gb.py
bluenazgul/skyq_remote
6078e5ba2c202b343369c3addb3c9256310a3b0b
[ "MIT" ]
2
2020-10-14T18:37:27.000Z
2022-03-07T19:47:03.000Z
"""Constants for pyskyqremote- GB.""" SCHEDULE_URL = "http://awk.epgsky.com/hawk/linear/schedule/{1}/{0}" LIVE_IMAGE_URL = "https://images.metadata.sky.com/pd-image/{0}/16-9" PVR_IMAGE_URL = "https://images.metadata.sky.com/pd-image/{0}/16-9" CHANNEL_IMAGE_URL = "https://d2n0069hmnqmmx.cloudfront.net/epgdata/1.0/newch...
56
147
0.727041
63
392
4.412698
0.571429
0.086331
0.140288
0.136691
0.316547
0.316547
0.316547
0.316547
0.316547
0.316547
0
0.064865
0.056122
392
6
148
65.333333
0.686486
0.178571
0
0
0
0.25
0.734177
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
0
0
0
1
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8732a4ed0b833518c9daa03c3f2ccead7cdde775
200
py
Python
neurotic/tangles/sigmoid.py
necromuralist/Neurotic-Networking
20f46dec5d890bd57abd802b6ebf219f0e8e7611
[ "MIT" ]
null
null
null
neurotic/tangles/sigmoid.py
necromuralist/Neurotic-Networking
20f46dec5d890bd57abd802b6ebf219f0e8e7611
[ "MIT" ]
3
2021-01-11T01:42:31.000Z
2021-11-10T19:44:25.000Z
neurotic/tangles/sigmoid.py
necromuralist/Neurotic-Networking
20f46dec5d890bd57abd802b6ebf219f0e8e7611
[ "MIT" ]
null
null
null
import numpy def sigmoid(x): """ Compute the sigmoid of x Args: x: A scalar or numpy array of any size Returns: array: sigmoid(x) """ return 1/(1 + numpy.exp(-x))
14.285714
43
0.56
30
200
3.733333
0.633333
0.142857
0
0
0
0
0
0
0
0
0
0.014815
0.325
200
13
44
15.384615
0.814815
0.5
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
873f0f85e901700bc9d76f5b1959965c3f4adaec
160
py
Python
language/syntax/grammar/syntax/grammar/grammar/rule.py
jedhsu/language
3772a4a0ff287e1fc5ebefc716b8d91928d04c72
[ "MIT" ]
null
null
null
language/syntax/grammar/syntax/grammar/grammar/rule.py
jedhsu/language
3772a4a0ff287e1fc5ebefc716b8d91928d04c72
[ "MIT" ]
null
null
null
language/syntax/grammar/syntax/grammar/grammar/rule.py
jedhsu/language
3772a4a0ff287e1fc5ebefc716b8d91928d04c72
[ "MIT" ]
null
null
null
from .form import BackusNaur class Derive: @staticmethod def derive() -> String: ... # class Rule(BackusNaur): # head: Name # body:
12.307692
28
0.58125
16
160
5.8125
0.8125
0
0
0
0
0
0
0
0
0
0
0
0.3
160
12
29
13.333333
0.830357
0.3
0
0
0
0
0
0
0
0
0
0
0
1
0.2
true
0
0.2
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
3
876d2566c9ccfe8a48d59c8845920eac7ccd0ff4
435
py
Python
basket/migrations/0005_auto_20200512_2355.py
Medinaaz/Vodafone-Payment
a98397cd0f490dd2e63b009ead02f052f59ed992
[ "MIT" ]
1
2020-12-05T14:11:45.000Z
2020-12-05T14:11:45.000Z
basket/migrations/0005_auto_20200512_2355.py
Medinaaz/Vodafone-Payment
a98397cd0f490dd2e63b009ead02f052f59ed992
[ "MIT" ]
9
2020-06-05T23:54:44.000Z
2022-01-13T02:44:28.000Z
basket/migrations/0005_auto_20200512_2355.py
Medinaaz/Vodafone-Payment
a98397cd0f490dd2e63b009ead02f052f59ed992
[ "MIT" ]
null
null
null
# Generated by Django 3.0.1 on 2020-05-12 23:55 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('basket', '0004_auto_20200426_0326'), ] operations = [ migrations.RemoveField( model_name='basketitem', name='color', ...
19.772727
47
0.563218
42
435
5.714286
0.738095
0.175
0.216667
0.25
0.366667
0.366667
0
0
0
0
0
0.105442
0.324138
435
21
48
20.714286
0.710884
0.103448
0
0.4
1
0
0.149485
0.059278
0
0
0
0
0
1
0
false
0
0.066667
0
0.266667
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5e447b9ede5396d632baa45ac4b83151fc6c740d
302
py
Python
test/util.py
xDiaym/SingleLineRPN
ef6adc921f4367037c5f8e7618da70c47f60385e
[ "MIT" ]
1
2020-05-18T16:35:07.000Z
2020-05-18T16:35:07.000Z
test/util.py
xDiaym/SingleLineRPN
ef6adc921f4367037c5f8e7618da70c47f60385e
[ "MIT" ]
null
null
null
test/util.py
xDiaym/SingleLineRPN
ef6adc921f4367037c5f8e7618da70c47f60385e
[ "MIT" ]
null
null
null
import subprocess import sys from os import PathLike PYTHON_INTERPRETER_PATH = sys.executable def call(script: PathLike, expression: str) -> float: args = expression.split() raw_out = subprocess.check_output((PYTHON_INTERPRETER_PATH, script, *args)) return float(raw_out.decode('utf8'))
25.166667
79
0.758278
39
302
5.692308
0.641026
0.153153
0.189189
0
0
0
0
0
0
0
0
0.003861
0.142384
302
11
80
27.454545
0.853282
0
0
0
0
0
0.013245
0
0
0
0
0
0
1
0.125
false
0
0.375
0
0.625
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
5e717f3ef14fcf98eb5583e44d516059426f8efd
113
py
Python
jp.atcoder/abc186/abc186_a/25854511.py
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
1
2022-02-09T03:06:25.000Z
2022-02-09T03:06:25.000Z
jp.atcoder/abc186/abc186_a/25854511.py
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
1
2022-02-05T22:53:18.000Z
2022-02-09T01:29:30.000Z
jp.atcoder/abc186/abc186_a/25854511.py
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
null
null
null
import typing def main() -> typing.NoReturn: n, w = map(int, input().split()) print(n // w) main()
12.555556
35
0.548673
16
113
3.875
0.75
0.064516
0
0
0
0
0
0
0
0
0
0
0.256637
113
8
36
14.125
0.738095
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
true
0
0.2
0
0.4
0.2
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
5e84615f9c4ac2b8dd1494ba8a224fc1f19c5d15
462
py
Python
dqn/RLutils/tools.py
Theling/Delayed_MDP
db1a8808a05917a5915220947cf65268f0524fa9
[ "MIT" ]
null
null
null
dqn/RLutils/tools.py
Theling/Delayed_MDP
db1a8808a05917a5915220947cf65268f0524fa9
[ "MIT" ]
null
null
null
dqn/RLutils/tools.py
Theling/Delayed_MDP
db1a8808a05917a5915220947cf65268f0524fa9
[ "MIT" ]
null
null
null
import threading class StoppableThread(threading.Thread): """Thread class with a stop() method. The thread itself has to check regularly for the stopped() condition.""" def __init__(self, target, args): threading.Thread.__init__(self, target=target, args=args) self._stop_event ...
27.176471
73
0.655844
57
462
5.052632
0.473684
0.083333
0.135417
0
0
0
0
0
0
0
0
0
0.24026
462
17
74
27.176471
0.820513
0.225108
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.111111
0.111111
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
5eb4f85cf68744325ee8091a6656ec8fb479ef36
188
py
Python
configfactory/urls.py
antonrh/configfactory
6ea89fba5fdb575e8278ffa4b20b5a74def4a9d4
[ "MIT" ]
2
2017-09-27T17:30:21.000Z
2017-09-30T06:15:15.000Z
configfactory/urls.py
antonrh/configfactory
6ea89fba5fdb575e8278ffa4b20b5a74def4a9d4
[ "MIT" ]
null
null
null
configfactory/urls.py
antonrh/configfactory
6ea89fba5fdb575e8278ffa4b20b5a74def4a9d4
[ "MIT" ]
3
2017-08-15T07:18:57.000Z
2020-05-04T05:55:27.000Z
from django.urls import include, path from configfactory.views import IndexView urlpatterns = [ path("", IndexView.as_view()), path("api/", include("configfactory.api.urls")), ]
20.888889
52
0.707447
22
188
6
0.590909
0
0
0
0
0
0
0
0
0
0
0
0.143617
188
8
53
23.5
0.819876
0
0
0
0
0
0.138298
0.117021
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
0d62a5db581fe08c40907312154639d301b3a010
57,932
py
Python
pandas/tests/test_arithmetic.py
Templarrr/pandas
e91a840869aa023ac52802145df8c916e6ef907d
[ "BSD-3-Clause" ]
null
null
null
pandas/tests/test_arithmetic.py
Templarrr/pandas
e91a840869aa023ac52802145df8c916e6ef907d
[ "BSD-3-Clause" ]
null
null
null
pandas/tests/test_arithmetic.py
Templarrr/pandas
e91a840869aa023ac52802145df8c916e6ef907d
[ "BSD-3-Clause" ]
1
2020-02-08T10:16:39.000Z
2020-02-08T10:16:39.000Z
# -*- coding: utf-8 -*- # Arithmetc tests for DataFrame/Series/Index/Array classes that should # behave identically. from datetime import timedelta import operator import pytest import numpy as np import pandas as pd import pandas.util.testing as tm from pandas.compat import long from pandas.core import ops from pan...
38.314815
79
0.551819
6,800
57,932
4.561912
0.068529
0.047871
0.041488
0.025725
0.772702
0.739531
0.708649
0.684311
0.658135
0.634312
0
0.037663
0.314817
57,932
1,511
80
38.340172
0.74384
0.101481
0
0.618433
0
0
0.067126
0.001159
0
0
0
0.000662
0.104147
1
0.075576
false
0
0.010138
0.001843
0.096774
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
0d751911eb34fa0dcd50b003cf64b35c5361113c
926
py
Python
docker/app/app/ci.py
JTarball/tetherbox
cae7a4bb6e29da0f34670f8c8d228faf5f909f3a
[ "0BSD" ]
1
2018-02-26T07:26:30.000Z
2018-02-26T07:26:30.000Z
docker/app/app/ci.py
JTarball/docker-django-polymer-starter-kit
b5250030b1646e29567c15d01ba4668c6ad535c9
[ "0BSD" ]
null
null
null
docker/app/app/ci.py
JTarball/docker-django-polymer-starter-kit
b5250030b1646e29567c15d01ba4668c6ad535c9
[ "0BSD" ]
null
null
null
#! /usr/bin/python """ ci.py ------------------- The purpose of this script to run as a regression script to test the project docker build. """ import os import sys import psycopg2 # Check admins as been created correctly # Check redis is up # Check database connect # Check emails can be sent # Dj...
20.130435
63
0.631749
115
926
4.956522
0.573913
0.078947
0.105263
0.175439
0
0
0
0
0
0
0
0.005739
0.2473
926
45
64
20.577778
0.812052
0.238661
0
0
0
0
0.251812
0
0
0
0
0
0
0
null
null
0.058824
0.176471
null
null
0.176471
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
3
0d82e94186864d71131b4230c04a083760f53a12
172
py
Python
Exercicios - Mundo1/Ex016.py
BrianMath/ExerciciosPythonCeV
4960f1a58d281b32afd5dfd6ea65e0ae5ad48b4f
[ "MIT" ]
null
null
null
Exercicios - Mundo1/Ex016.py
BrianMath/ExerciciosPythonCeV
4960f1a58d281b32afd5dfd6ea65e0ae5ad48b4f
[ "MIT" ]
null
null
null
Exercicios - Mundo1/Ex016.py
BrianMath/ExerciciosPythonCeV
4960f1a58d281b32afd5dfd6ea65e0ae5ad48b4f
[ "MIT" ]
null
null
null
# Ex. 016 from math import trunc num = float(input("Digite um número: ")) print(f"A parte inteira de {num} é {trunc(num)}") print(f"A parte inteira de {num} é {num:.0f}")
24.571429
49
0.662791
32
172
3.5625
0.625
0.140351
0.122807
0.210526
0.438596
0.438596
0.438596
0.438596
0
0
0
0.027778
0.162791
172
6
50
28.666667
0.763889
0.040698
0
0
0
0
0.570552
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.5
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
0d9fddbe4650bbc372f703fb72650a1ec693d08c
34
py
Python
Chapter 06 - Files and Exceptions/Assignments/6.1 Introduction to File Input and Output/51182.py
EllisBarnes00/COP-1000
8509e59e8a566c77295c714ddcb0f557c470358b
[ "Unlicense" ]
null
null
null
Chapter 06 - Files and Exceptions/Assignments/6.1 Introduction to File Input and Output/51182.py
EllisBarnes00/COP-1000
8509e59e8a566c77295c714ddcb0f557c470358b
[ "Unlicense" ]
1
2021-06-07T03:55:29.000Z
2021-06-07T03:56:47.000Z
Chapter 06 - Files and Exceptions/Assignments/6.1 Introduction to File Input and Output/51182.py
EllisBarnes00/COP-1000
8509e59e8a566c77295c714ddcb0f557c470358b
[ "Unlicense" ]
null
null
null
myFile = open("hostdata.txt", "r")
34
34
0.647059
5
34
4.4
1
0
0
0
0
0
0
0
0
0
0
0
0.088235
34
1
34
34
0.709677
0
0
0
0
0
0.371429
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
0daaa74301f2d7af0056238941a5ec60ea68521f
4,506
py
Python
djangobmf/widgets.py
caputomarcos/django-bmf
0d07a7d3f6a3ecfaca6c9376e764add1715cfd33
[ "BSD-3-Clause" ]
null
null
null
djangobmf/widgets.py
caputomarcos/django-bmf
0d07a7d3f6a3ecfaca6c9376e764add1715cfd33
[ "BSD-3-Clause" ]
null
null
null
djangobmf/widgets.py
caputomarcos/django-bmf
0d07a7d3f6a3ecfaca6c9376e764add1715cfd33
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python # ex:set fileencoding=utf-8: from __future__ import unicode_literals ''' #-*- coding: utf-8 -*- import inspect from django import forms from django.conf import settings as globalsettings from django.contrib.admin.widgets import ForeignKeyRawIdWidget from django.contrib.admin.sites import site from d...
35.480315
81
0.627608
536
4,506
5.050373
0.358209
0.033247
0.0314
0.016254
0.058367
0.016993
0
0
0
0
0
0.002455
0.276742
4,506
126
82
35.761905
0.828168
0.009543
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
0dae877ef8e03949cde712576fd2b14dc18ba905
2,116
py
Python
tracing/tracing/value/diagnostics/date_range.py
tingshao/catapult
a8fe19e0c492472a8ed5710be9077e24cc517c5c
[ "BSD-3-Clause" ]
1
2019-11-01T23:31:22.000Z
2019-11-01T23:31:22.000Z
tracing/tracing/value/diagnostics/date_range.py
tingshao/catapult
a8fe19e0c492472a8ed5710be9077e24cc517c5c
[ "BSD-3-Clause" ]
5
2020-09-07T12:36:46.000Z
2022-03-02T05:49:30.000Z
tracing/tracing/value/diagnostics/date_range.py
tingshao/catapult
a8fe19e0c492472a8ed5710be9077e24cc517c5c
[ "BSD-3-Clause" ]
1
2020-07-25T00:02:48.000Z
2020-07-25T00:02:48.000Z
# Copyright 2018 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import datetime from tracing.value.diagnostics import diagnostic class DateRange(diagnostic.Diagnostic): __slots__ = '_range', def __init__(self, ms):...
24.894118
72
0.691871
277
2,116
5.050542
0.299639
0.090064
0.064332
0.040743
0.225161
0.127949
0.078628
0.078628
0
0
0
0.012346
0.196125
2,116
84
73
25.190476
0.810112
0.073251
0
0.225806
0
0
0.014315
0
0
0
0
0
0
1
0.241935
false
0
0.048387
0.112903
0.596774
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
0db4ad4e22edba9eef0b80ee91db7d0c93bf80e8
118
py
Python
src/bci3wads/utils/data.py
cverrier/bci3wads
faf2334a5a6edb85f2cf60ca8427281a0f8c6c24
[ "MIT" ]
null
null
null
src/bci3wads/utils/data.py
cverrier/bci3wads
faf2334a5a6edb85f2cf60ca8427281a0f8c6c24
[ "MIT" ]
null
null
null
src/bci3wads/utils/data.py
cverrier/bci3wads
faf2334a5a6edb85f2cf60ca8427281a0f8c6c24
[ "MIT" ]
null
null
null
import pickle def load_pickle(path): with open(path, 'rb') as f: data = pickle.load(f) return data
13.111111
31
0.610169
18
118
3.944444
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.279661
118
8
32
14.75
0.835294
0
0
0
0
0
0.016949
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
0dee949a3d6698c3de2e479695b2c8b8c00f71ff
808
py
Python
application/errors.py
Mytho/groceries
ed724ce96eb953842f0fb76f1e66237859847148
[ "MIT" ]
null
null
null
application/errors.py
Mytho/groceries
ed724ce96eb953842f0fb76f1e66237859847148
[ "MIT" ]
null
null
null
application/errors.py
Mytho/groceries
ed724ce96eb953842f0fb76f1e66237859847148
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ APPLICATION.ERRORS ------------------ Show userfriendly error pages. Copyright (c) 2014 Teun Zengerink Licensed under MIT License. See: https://raw.github.com/Mytho/groceries/master/LISENCE.md """ from flask import render_template def bad_request(e): return ren...
23.085714
65
0.696782
111
808
4.891892
0.468468
0.128913
0.095764
0.154696
0.360958
0
0
0
0
0
0
0.060383
0.159653
808
34
66
23.764706
0.739323
0.267327
0
0
0
0
0.1
0
0
0
0
0
0
1
0.357143
false
0
0.071429
0.285714
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
2171ddbe1aaec93398df2b166c9e02e79fda7df2
18,839
py
Python
models_all_solvable2/syn15hfsg.py
grossmann-group/pyomo-MINLP-benchmarking
714f0a0dffd61675649a805683c0627af6b4929e
[ "MIT" ]
null
null
null
models_all_solvable2/syn15hfsg.py
grossmann-group/pyomo-MINLP-benchmarking
714f0a0dffd61675649a805683c0627af6b4929e
[ "MIT" ]
null
null
null
models_all_solvable2/syn15hfsg.py
grossmann-group/pyomo-MINLP-benchmarking
714f0a0dffd61675649a805683c0627af6b4929e
[ "MIT" ]
null
null
null
# MINLP written by GAMS Convert at 05/07/21 17:13:05 # # Equation counts # Total E G L N X C B # 181 84 20 77 0 0 0 0 # # Variable counts # x b i s1s s2s sc si # ...
53.825714
79
0.631934
3,427
18,839
3.473884
0.118179
0.044855
0.221756
0.178076
0.510542
0.442671
0.41176
0.391348
0.378244
0.011424
0
0.224569
0.160412
18,839
349
80
53.979943
0.528103
0.030787
0
0.012232
0
0
0
0
0
0
0
0
0
1
0
false
0
0.003058
0
0.003058
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
21850cfe23208ecab0842d42a7317baac82bcae8
132
py
Python
hackerrank/python3/challenges/a-very-big-sum.py
lakscastro/algorithms
0a34527f0a5d68eced9e01d03dfa1a53e4f4200d
[ "MIT" ]
2
2022-01-10T23:37:10.000Z
2022-01-21T15:46:27.000Z
hackerrank/python3/prepare/algorithms/a-very-big-sum.py
lakscastro/uri-online-solutions
81b8560d486c31b9785891971278140ddc26cf2e
[ "MIT" ]
1
2022-03-27T00:56:13.000Z
2022-03-27T00:56:13.000Z
hackerrank/python3/challenges/a-very-big-sum.py
lakscastro/beecrowd-solutions
a0e5fcc81d002cd15c3d926613846e393985f257
[ "MIT" ]
null
null
null
from functools import reduce _ = int(input().strip()) print(reduce(lambda t, c: t + c, list(map(int, input().rstrip().split()))))
22
75
0.651515
20
132
4.25
0.75
0.188235
0
0
0
0
0
0
0
0
0
0
0.128788
132
5
76
26.4
0.73913
0
0
0
0
0
0
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
21851fed6aa2595a5568db5c4e985402cd56f280
142
py
Python
needlimit/feeds/apps.py
ltowarek/need-limit
1c1db8f801b90b8237e4cec8414c63ded6fde990
[ "MIT" ]
null
null
null
needlimit/feeds/apps.py
ltowarek/need-limit
1c1db8f801b90b8237e4cec8414c63ded6fde990
[ "MIT" ]
1
2021-06-09T18:06:19.000Z
2021-06-09T18:06:19.000Z
needlimit/feeds/apps.py
ltowarek/need-limit
1c1db8f801b90b8237e4cec8414c63ded6fde990
[ "MIT" ]
null
null
null
from django.apps import AppConfig class FeedsConfig(AppConfig): default_auto_field = "django.db.models.BigAutoField" name = "feeds"
20.285714
56
0.753521
17
142
6.176471
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.15493
142
6
57
23.666667
0.875
0
0
0
0
0
0.239437
0.204225
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
21e2a0555a6383c7b8ebeed7ff4dc8537a51905d
287
py
Python
tests/ci_tests/fast_test.py
raineydavid/mindsdb
4e2458825bad43440067376d1d747db646d07bf3
[ "MIT" ]
null
null
null
tests/ci_tests/fast_test.py
raineydavid/mindsdb
4e2458825bad43440067376d1d747db646d07bf3
[ "MIT" ]
null
null
null
tests/ci_tests/fast_test.py
raineydavid/mindsdb
4e2458825bad43440067376d1d747db646d07bf3
[ "MIT" ]
null
null
null
from tests import basic_test import torch # Test with a few basic options basic_test(backend='lightwood',use_gpu=torch.cuda.is_available(),ignore_columns=[]) print('\n\n=============[Success]==============\n Finished running quick test !\n=============[Success]==============\n\n')
41
127
0.616725
38
287
4.526316
0.657895
0.104651
0.104651
0
0
0
0
0
0
0
0
0
0.087108
287
6
128
47.833333
0.656489
0.101045
0
0
0
0
0.496094
0.332031
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
21f83f627b7c9d6f414428acbd0ea56ccd4d76b4
4,972
py
Python
textures/palette_ice.py
tisnik/fractals
cd9dfbd66c46f2f98afbf871f7a6af59d97257f2
[ "MIT" ]
3
2019-08-14T09:55:11.000Z
2020-05-17T12:38:46.000Z
complex/palette_ice.py
tisnik/fractals
cd9dfbd66c46f2f98afbf871f7a6af59d97257f2
[ "MIT" ]
79
2020-09-08T10:49:48.000Z
2021-08-20T11:01:39.000Z
textures/palette_ice.py
tisnik/fractals
cd9dfbd66c46f2f98afbf871f7a6af59d97257f2
[ "MIT" ]
1
2020-11-24T19:55:18.000Z
2020-11-24T19:55:18.000Z
"""Color palette taken from Fractint.""" # taken from Fractint # see https://www.fractint.org/ palette = ( (000, 000, 0), (000, 000, 0), (000, 000, 8), (000, 000, 16), (000, 000, 24), (000, 000, 32), (000, 000, 40), (000, 000, 48), (000, 000, 56), (000, 000, 64), (000, 000, 72), (...
71.028571
75
0.438455
782
4,972
2.787724
0.094629
0.311009
0.012385
0.016514
0.421101
0.019266
0.019266
0
0
0
0
0.605407
0.300684
4,972
69
76
72.057971
0.02157
0.017096
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1d00720574d7ae37c22bd1a64677f1b7c51d345f
175
py
Python
files/urls.py
mwschouten/gps
d6086b210f5ccf599970a6fbe2abe51d71775a20
[ "MIT" ]
null
null
null
files/urls.py
mwschouten/gps
d6086b210f5ccf599970a6fbe2abe51d71775a20
[ "MIT" ]
null
null
null
files/urls.py
mwschouten/gps
d6086b210f5ccf599970a6fbe2abe51d71775a20
[ "MIT" ]
null
null
null
from django.conf.urls import url from files import views urlpatterns = [ # url(r'^list/$', views.list, name='list'), url(r'^submit$', views.submit, name='submit'), ]
25
50
0.651429
25
175
4.56
0.52
0.070175
0
0
0
0
0
0
0
0
0
0
0.16
175
7
51
25
0.77551
0.234286
0
0
0
0
0.105263
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
1d06e5a461f8b52e0d775df0a0a3fbfb2bb72679
120
py
Python
CursoemVideo/ex046.py
arthxvr/coding--python
1e91707be6cb8fef816dad0c1a65f2cc3327357e
[ "MIT" ]
null
null
null
CursoemVideo/ex046.py
arthxvr/coding--python
1e91707be6cb8fef816dad0c1a65f2cc3327357e
[ "MIT" ]
null
null
null
CursoemVideo/ex046.py
arthxvr/coding--python
1e91707be6cb8fef816dad0c1a65f2cc3327357e
[ "MIT" ]
null
null
null
from time import sleep for contagem in range(10, -1, -1): print(contagem, end=sleep(0.5)) print('BOOM BOOM BOOM!')
17.142857
34
0.675
21
120
3.857143
0.714286
0.197531
0
0
0
0
0
0
0
0
0
0.06
0.166667
120
6
35
20
0.75
0
0
0
0
0
0.125
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
0dfee5b8c779be420898b1595e62f0b0dbc0a3eb
164
py
Python
examples/09-fibonacci/test_fibonacci.py
ProgHaj/cowait
e95c30faab8caf8b0413de4e1784529a3a06475d
[ "Apache-2.0" ]
51
2020-06-04T06:08:14.000Z
2022-03-28T06:59:53.000Z
examples/09-fibonacci/test_fibonacci.py
ProgHaj/cowait
e95c30faab8caf8b0413de4e1784529a3a06475d
[ "Apache-2.0" ]
121
2020-06-01T12:09:32.000Z
2022-03-31T20:47:57.000Z
examples/09-fibonacci/test_fibonacci.py
ProgHaj/cowait
e95c30faab8caf8b0413de4e1784529a3a06475d
[ "Apache-2.0" ]
6
2020-06-11T16:05:20.000Z
2022-03-23T06:30:17.000Z
import pytest from fibonacci import Fibonacci @pytest.mark.async_timeout(30) async def test_fibonacci(): result = await Fibonacci(n=3) assert result == 3
18.222222
33
0.743902
23
164
5.217391
0.652174
0
0
0
0
0
0
0
0
0
0
0.029412
0.170732
164
8
34
20.5
0.852941
0
0
0
0
0
0
0
0
0
0
0
0.166667
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
df147667b6dba3f1423744a97134138cd9bf1ba9
1,593
py
Python
zhihu/zhihu/items.py
fst034356/crawler
98f0c1a129b3b5b77fe88971f4f0c6aae5a8964f
[ "MIT" ]
92
2017-03-06T06:32:49.000Z
2020-04-05T02:14:56.000Z
zhihu/zhihu/items.py
GeraldDoubleJ/crawler
ab068b1b4d8d00336bb11cea0860244e0817e472
[ "MIT" ]
1
2018-06-03T10:38:26.000Z
2018-09-04T09:17:40.000Z
zhihu/zhihu/items.py
GeraldDoubleJ/crawler
ab068b1b4d8d00336bb11cea0860244e0817e472
[ "MIT" ]
58
2017-04-09T11:18:40.000Z
2020-03-23T11:20:17.000Z
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # http://doc.scrapy.org/en/latest/topics/items.html import scrapy class ZhihuUserItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.scrapy.Field() id = scrapy.Field() name =...
30.056604
51
0.689266
191
1,593
5.544503
0.361257
0.394712
0.347498
0.118036
0
0
0
0
0
0
0
0.00078
0.195229
1,593
52
52
30.634615
0.825273
0.132454
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.025641
0
1
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
df1dd765e2514497e457cc593d7f1eda31110fcf
399
py
Python
src/priceapi/factories.py
lerdem/krovlyastroy
9d36580a051f66cffc14d34951d231dc2942548f
[ "BSD-3-Clause" ]
null
null
null
src/priceapi/factories.py
lerdem/krovlyastroy
9d36580a051f66cffc14d34951d231dc2942548f
[ "BSD-3-Clause" ]
9
2018-09-25T09:09:23.000Z
2022-02-10T07:39:36.000Z
src/priceapi/factories.py
lerdem/krovlyastroy
9d36580a051f66cffc14d34951d231dc2942548f
[ "BSD-3-Clause" ]
null
null
null
import factory class CommonInfoFactory(factory.django.DjangoModelFactory): class Meta: model = 'priceapi.CommonInfo' class ProductFactory(factory.django.DjangoModelFactory): class Meta: model = 'priceapi.Product' group = factory.SubFactory(CommonInfoFactory) height = factory.Sequenc...
23.470588
59
0.714286
42
399
6.785714
0.52381
0.091228
0.217544
0.252632
0.547368
0.547368
0.37193
0
0
0
0
0.015528
0.192982
399
16
60
24.9375
0.869565
0
0
0.181818
0
0
0.087719
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.818182
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
df21b7db6f7d1c1bd836e9dd3e4c5b9c64e1fb06
35
py
Python
ftlib/__init__.py
ashok-arjun/Transfer-Learning-Library
e13bb3e37bc7ca74a382cfdc85a640deaf0333b3
[ "MIT" ]
1
2021-04-28T12:59:02.000Z
2021-04-28T12:59:02.000Z
ftlib/__init__.py
ashok-arjun/Transfer-Learning-Library
e13bb3e37bc7ca74a382cfdc85a640deaf0333b3
[ "MIT" ]
null
null
null
ftlib/__init__.py
ashok-arjun/Transfer-Learning-Library
e13bb3e37bc7ca74a382cfdc85a640deaf0333b3
[ "MIT" ]
null
null
null
__all__ = ['finetune', 'pretrain']
17.5
34
0.657143
3
35
6.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.114286
35
1
35
35
0.612903
0
0
0
0
0
0.457143
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
df3943d6fffd5e58909ef0deb2519549cff5ccd4
1,113
py
Python
CPFrontend/quotes/models.py
Conpancol/PyHeroku
16b157a23c77cd794d246a56cf8575766e48689c
[ "MIT" ]
null
null
null
CPFrontend/quotes/models.py
Conpancol/PyHeroku
16b157a23c77cd794d246a56cf8575766e48689c
[ "MIT" ]
null
null
null
CPFrontend/quotes/models.py
Conpancol/PyHeroku
16b157a23c77cd794d246a56cf8575766e48689c
[ "MIT" ]
null
null
null
from django.db import models class Quote(models.Model): internalCode = models.PositiveIntegerField(blank=True) externalCode = models.PositiveIntegerField(blank=True) providerCode = models.CharField(max_length=255, blank=True) receivedDate = models.CharField(max_length=255, blank=True) sentDate = m...
44.52
63
0.760108
136
1,113
6.117647
0.25
0.16226
0.259615
0.346154
0.679087
0.679087
0.679087
0.34375
0.225962
0.225962
0
0.037113
0.128482
1,113
24
64
46.375
0.820619
0
0
0.3
0
0
0.017969
0
0
0
0
0
0
1
0
false
0
0.05
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
df424347845e94aae5092a323a382aece39d7bb9
309
py
Python
goldsrc/mdl_v6/structs/event.py
tltneon/SourceIO
418224918c2b062a4c78a41d4d65329ba2decb22
[ "MIT" ]
1
2021-07-12T12:55:27.000Z
2021-07-12T12:55:27.000Z
goldsrc/mdl_v6/structs/event.py
syborg64/SourceIO
e4ba86d801f518e192260af08ef533759c2e1cc3
[ "MIT" ]
null
null
null
goldsrc/mdl_v6/structs/event.py
syborg64/SourceIO
e4ba86d801f518e192260af08ef533759c2e1cc3
[ "MIT" ]
null
null
null
import math from ....source_shared.base import Base from ....utilities.byte_io_mdl import ByteIO class StudioPivot(Base): def __init__(self): self.frame_index = 0 self.event_type = 0 def read(self, reader: ByteIO): self.frame_index, self.event_type = reader.read_fmt('2H')
22.071429
65
0.682848
44
309
4.522727
0.568182
0.090452
0.140704
0
0
0
0
0
0
0
0
0.012245
0.20712
309
13
66
23.769231
0.8
0
0
0
0
0
0.006472
0
0
0
0
0
0
1
0.222222
false
0
0.333333
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
1
0
0
1
0
1
0
0
3
df53807863374fb2f83ed0745600d3eb9b2fa6f9
55
py
Python
coveo-testing-extras/test_coveo_testing_extras/markers.py
coveooss/coveo-python-oss
08f5048e12449392f3acaeff85e075711543daab
[ "Apache-2.0" ]
7
2021-03-02T19:30:30.000Z
2022-03-08T12:24:50.000Z
coveo-testing-extras/test_coveo_testing_extras/markers.py
coveooss/coveo-python-oss
08f5048e12449392f3acaeff85e075711543daab
[ "Apache-2.0" ]
29
2021-01-21T16:45:33.000Z
2021-12-10T12:09:26.000Z
coveo-testing-extras/test_coveo_testing_extras/markers.py
coveooss/coveo-python-oss
08f5048e12449392f3acaeff85e075711543daab
[ "Apache-2.0" ]
null
null
null
import pytest DockerTest = pytest.mark.docker_test
13.75
37
0.781818
7
55
6
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.163636
55
3
38
18.333333
0.913043
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
10ca74f93b2b7051a5b74dcdc629959e6aba9aa9
867
py
Python
myIngrid/__init__.py
wy2136/wython
0eaa9db335d57052806ae956afe6a34705407628
[ "MIT" ]
1
2022-03-21T21:24:40.000Z
2022-03-21T21:24:40.000Z
myIngrid/git_version/__init__.py
wy2136/wython
0eaa9db335d57052806ae956afe6a34705407628
[ "MIT" ]
null
null
null
myIngrid/git_version/__init__.py
wy2136/wython
0eaa9db335d57052806ae956afe6a34705407628
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ @author: yang """ # import numpy as np # import webbrowser # from netCDF4 import Dataset # import matplotlib.pyplot as plt # import pandas as pd # import myplot as mt # import atmos_ocean as ao from . import connect_to_data as igc from .connect_to_data import goto, look, readnames, readunit...
27.09375
132
0.707036
127
867
4.566929
0.488189
0.068966
0.044828
0.058621
0
0
0
0
0
0
0
0.0125
0.16955
867
32
133
27.09375
0.793056
0.478662
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
10e391b3ff3581f0f42a997f5858f98dbe6001fa
157
py
Python
signaling-games/algs/model_free_value/__init__.py
vbhatt-cs/inference-based-messaging
323438a2ff5814712faf1be80048459c1a556d72
[ "MIT" ]
3
2021-03-10T15:22:26.000Z
2021-09-18T02:25:46.000Z
signaling-games/algs/model_free_value/__init__.py
vbhatt-cs/inference-based-messaging
323438a2ff5814712faf1be80048459c1a556d72
[ "MIT" ]
null
null
null
signaling-games/algs/model_free_value/__init__.py
vbhatt-cs/inference-based-messaging
323438a2ff5814712faf1be80048459c1a556d72
[ "MIT" ]
1
2021-04-05T05:26:55.000Z
2021-04-05T05:26:55.000Z
from .q_learning import IQL, IQ, CentralizedQLearning from .info_q import InfoQ __all__ = [ "IQL", "IQ", "CentralizedQLearning", "InfoQ", ]
15.7
53
0.656051
17
157
5.705882
0.588235
0.103093
0.515464
0
0
0
0
0
0
0
0
0
0.22293
157
9
54
17.444444
0.795082
0
0
0
0
0
0.191083
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
801261a06e17d77c59653a6124c4ab975f64bc68
3,618
py
Python
faculty/managers.py
bbengfort/webfolio
16a38c59d11a34f7fe32eee3ee46e1bdc788a9eb
[ "BSD-3-Clause" ]
1
2020-04-07T03:43:34.000Z
2020-04-07T03:43:34.000Z
faculty/managers.py
bbengfort/webfolio
16a38c59d11a34f7fe32eee3ee46e1bdc788a9eb
[ "BSD-3-Clause" ]
18
2020-01-02T16:35:58.000Z
2021-09-22T18:18:09.000Z
faculty/managers.py
bbengfort/webfolio
16a38c59d11a34f7fe32eee3ee46e1bdc788a9eb
[ "BSD-3-Clause" ]
1
2020-03-04T01:39:00.000Z
2020-03-04T01:39:00.000Z
# faculty.managers # Query managers for faculty models. # # Author: Benjamin Bengfort <benjamin@bengfort.com> # Created: Mon Dec 30 15:59:03 2019 -0600 # # Copyright (C) 2019 Georgetown University # For license information, see LICENSE.txt # # ID: managers.py [] benjamin@bengfort.com $ """ Query managers for facult...
26.8
74
0.539801
357
3,618
5.422969
0.282913
0.061983
0.040289
0.065083
0.558884
0.45093
0.428719
0.356405
0.356405
0.356405
0
0.009601
0.25152
3,618
135
75
26.8
0.705318
0.228856
0
0.392857
0
0
0.045794
0
0
0
0
0
0
1
0.25
false
0
0.053571
0.107143
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
80380d201405f8f7e56de7313e5fc12aecae73c0
526
py
Python
angr/concretization_strategies/unlimited_range.py
r4b3rt/angr
c133cfd4f83ffea2a1d9e064241e9459eaabc55f
[ "BSD-2-Clause" ]
null
null
null
angr/concretization_strategies/unlimited_range.py
r4b3rt/angr
c133cfd4f83ffea2a1d9e064241e9459eaabc55f
[ "BSD-2-Clause" ]
null
null
null
angr/concretization_strategies/unlimited_range.py
r4b3rt/angr
c133cfd4f83ffea2a1d9e064241e9459eaabc55f
[ "BSD-2-Clause" ]
null
null
null
from . import SimConcretizationStrategy class SimConcretizationStrategyUnlimitedRange(SimConcretizationStrategy): """ Concretization strategy that resolves addresses to a range without checking if the number of possible addresses is within the limit. """ def __init__(self, limit, **kwargs): #pylin...
35.066667
118
0.722433
55
526
6.690909
0.672727
0.07337
0.081522
0
0
0
0
0
0
0
0
0
0.186312
526
14
119
37.571429
0.859813
0.313688
0
0
0
0
0
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
8044df7259ad7ecb70c5b51ece54e8a06c0d1bbf
610
py
Python
apps/featureapi/models.py
diudiu/featurefactory
ee02ad9e3ea66e2eeafe6e11859801f0420c7d9e
[ "MIT" ]
null
null
null
apps/featureapi/models.py
diudiu/featurefactory
ee02ad9e3ea66e2eeafe6e11859801f0420c7d9e
[ "MIT" ]
null
null
null
apps/featureapi/models.py
diudiu/featurefactory
ee02ad9e3ea66e2eeafe6e11859801f0420c7d9e
[ "MIT" ]
null
null
null
# -*- coding:utf-8 -*- """ feature api models """ from django.db import models from apps.common.models import BaseModel class ClientOverview(BaseModel): """ client_code and other messages """ client_code = models.CharField(u'', max_length=128) client_id = models.CharField(u'', max_length=...
25.416667
57
0.663934
79
610
4.911392
0.493671
0.193299
0.206186
0.244845
0.391753
0.391753
0.175258
0
0
0
0
0.033195
0.209836
610
23
58
26.521739
0.771784
0.116393
0
0
0
0
0.037402
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.75
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
805884930fc815cfc8cdf0211f165c31654f6cbe
1,390
py
Python
src/zeit/content/article/edit/browser/resources.py
ZeitOnline/zeit.content.article
4375baec7e7ff1f013402f4b920cc37305e44379
[ "BSD-3-Clause" ]
null
null
null
src/zeit/content/article/edit/browser/resources.py
ZeitOnline/zeit.content.article
4375baec7e7ff1f013402f4b920cc37305e44379
[ "BSD-3-Clause" ]
29
2016-03-02T07:12:11.000Z
2019-02-19T07:52:14.000Z
src/zeit/content/article/edit/browser/resources.py
ZeitOnline/zeit.content.article
4375baec7e7ff1f013402f4b920cc37305e44379
[ "BSD-3-Clause" ]
null
null
null
from zeit.cms.browser.resources import Resource, Library import zeit.cms.browser.resources import zeit.edit.browser.resources lib = Library('zeit.content.article', 'resources') Resource('editor.css') Resource('replace.js', depends=[ zeit.cms.browser.resources.base, ]) Resource('editor.js', depends=[ zeit.c...
27.254902
71
0.725899
183
1,390
5.448087
0.213115
0.320963
0.182548
0.2999
0.623872
0.46339
0.46339
0.427282
0.250752
0.250752
0
0
0.12518
1,390
50
72
27.8
0.819901
0.058273
0
0.351351
0
0
0.106432
0
0
0
0
0
0
1
0
false
0
0.081081
0
0.081081
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
33a1256da4b1aafce038d75895d4fd6bc473d40d
343
py
Python
top/api/rest/WdtStatSpecSalesQueryRequest.py
SAMZONG/taobao-sdk-python3
202a9df2085229838541713bd24433a90d07c7fc
[ "MIT" ]
null
null
null
top/api/rest/WdtStatSpecSalesQueryRequest.py
SAMZONG/taobao-sdk-python3
202a9df2085229838541713bd24433a90d07c7fc
[ "MIT" ]
null
null
null
top/api/rest/WdtStatSpecSalesQueryRequest.py
SAMZONG/taobao-sdk-python3
202a9df2085229838541713bd24433a90d07c7fc
[ "MIT" ]
null
null
null
''' Created by auto_sdk on 2020.05.29 ''' from top.api.base import RestApi class WdtStatSpecSalesQueryRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) self.consign_date = None self.sid = None def getapiname(self): return 'hu3cgwt0tc.wdt.s...
26.384615
56
0.725948
49
343
4.877551
0.755102
0.066946
0.117155
0
0
0
0
0
0
0
0
0.040956
0.145773
343
12
57
28.583333
0.774744
0.09621
0
0
0
0
0.182759
0.124138
0
0
0
0
0
1
0.25
false
0
0.125
0.125
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
33ba79b7213194a71f30078048f9dd064493ff94
310
py
Python
mymoudles/vsearch.py
LiuBiCai/HeadFirstForPthon
261294c06b887e4adc9b1b2948343144ce1b3018
[ "MIT" ]
null
null
null
mymoudles/vsearch.py
LiuBiCai/HeadFirstForPthon
261294c06b887e4adc9b1b2948343144ce1b3018
[ "MIT" ]
null
null
null
mymoudles/vsearch.py
LiuBiCai/HeadFirstForPthon
261294c06b887e4adc9b1b2948343144ce1b3018
[ "MIT" ]
null
null
null
def search4vowels(phrase:str)->set: """Return any vowels found in a supplied phrase""" vowels=set('aeiou') return vowels.intersection(set(phrase)) def search4letters(phrase:str,letters:str='aeiou')->set: """Return a set of the 'letters' found in 'phrase'.""" return set(letters).intersection(set(phrase))
38.75
56
0.735484
44
310
5.181818
0.409091
0.078947
0.184211
0
0
0
0
0
0
0
0
0.007168
0.1
310
8
57
38.75
0.810036
0.3
0
0
0
0
0.048309
0
0
0
0
0
0
1
0.4
false
0
0
0
0.8
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
1
0
0
0
0
0
0
0
3
33ca3e61635312827e31dfa30102024bee5dddfd
214
py
Python
algorithms/1-99/70. Climbing Stairs.py
USTCLink/LeetcodeSolutions
ec64fea0d6cb3c56ad3d7268982be8701786700b
[ "MIT" ]
3
2020-10-28T20:14:30.000Z
2020-11-03T01:27:04.000Z
algorithms/1-99/70. Climbing Stairs.py
USTCLink/LeetcodeSolutions
ec64fea0d6cb3c56ad3d7268982be8701786700b
[ "MIT" ]
null
null
null
algorithms/1-99/70. Climbing Stairs.py
USTCLink/LeetcodeSolutions
ec64fea0d6cb3c56ad3d7268982be8701786700b
[ "MIT" ]
null
null
null
class Solution: def climbStairs(self, n: int) -> int: if n < 2: return 1 prev, curr = 1, 1 for _ in range(n-1): prev, curr = curr, prev + curr return curr
26.75
42
0.476636
29
214
3.482759
0.551724
0.237624
0.178218
0
0
0
0
0
0
0
0
0.04065
0.425234
214
8
43
26.75
0.780488
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d50076b48b45ce00c558bc21cdc7a76b0cedaa61
43
py
Python
users/constants.py
mitodl/mit-xpro
981d6c87d963837f0b9ccdd996067fe81394dba4
[ "BSD-3-Clause" ]
10
2019-02-20T18:41:32.000Z
2021-07-26T10:39:58.000Z
users/constants.py
mitodl/mit-xpro
981d6c87d963837f0b9ccdd996067fe81394dba4
[ "BSD-3-Clause" ]
2,226
2019-02-20T20:03:57.000Z
2022-03-31T11:18:56.000Z
users/constants.py
mitodl/mit-xpro
981d6c87d963837f0b9ccdd996067fe81394dba4
[ "BSD-3-Clause" ]
4
2020-08-26T19:26:02.000Z
2021-03-09T17:46:47.000Z
"""User constants""" USERNAME_MAX_LEN = 30
14.333333
21
0.72093
6
43
4.833333
1
0
0
0
0
0
0
0
0
0
0
0.052632
0.116279
43
2
22
21.5
0.710526
0.325581
0
0
0
0
0
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
d5123f33a20b5cdf6a99c88a95147d0ea3af47ff
464
py
Python
venv/Lib/site-packages/IPython/__main__.py
ajayiagbebaku/NFL-Model
afcc67a85ca7138c58c3334d45988ada2da158ed
[ "MIT" ]
6,989
2017-07-18T06:23:18.000Z
2022-03-31T15:58:36.000Z
venv/Lib/site-packages/IPython/__main__.py
ajayiagbebaku/NFL-Model
afcc67a85ca7138c58c3334d45988ada2da158ed
[ "MIT" ]
1,978
2017-07-18T09:17:58.000Z
2022-03-31T14:28:43.000Z
venv/Lib/site-packages/IPython/__main__.py
ajayiagbebaku/NFL-Model
afcc67a85ca7138c58c3334d45988ada2da158ed
[ "MIT" ]
1,228
2017-07-18T09:03:13.000Z
2022-03-29T05:57:40.000Z
# encoding: utf-8 """Terminal-based IPython entry point. """ #----------------------------------------------------------------------------- # Copyright (c) 2012, IPython Development Team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file COPYING.txt, distributed with th...
30.933333
79
0.49569
43
464
5.302326
0.767442
0.105263
0
0
0
0
0
0
0
0
0
0.012136
0.112069
464
14
80
33.142857
0.541262
0.838362
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
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
0
1
0
1
0
0
0
0
3
1d1b3a95955a6ee1e9fba3b0a5b783b0ca57cbe8
1,218
py
Python
src/coco/common/services/security.py
ipynbsrv/common
a6703e7e1c999f7e027846b29bc5280f54cee1ee
[ "BSD-3-Clause" ]
null
null
null
src/coco/common/services/security.py
ipynbsrv/common
a6703e7e1c999f7e027846b29bc5280f54cee1ee
[ "BSD-3-Clause" ]
null
null
null
src/coco/common/services/security.py
ipynbsrv/common
a6703e7e1c999f7e027846b29bc5280f54cee1ee
[ "BSD-3-Clause" ]
1
2016-01-15T09:20:53.000Z
2016-01-15T09:20:53.000Z
from coco.contract.services import EncryptionService, IntegrityService import rsa class RSA(EncryptionService, IntegrityService): """ Concrete implementation of the encryption and integrity services using RSA. :link http://stuvel.eu/rsa """ def __init__(self, hash_algorithm='SHA-256'): ...
25.914894
93
0.597701
133
1,218
5.353383
0.398496
0.182584
0.073034
0.101124
0.189607
0.189607
0.189607
0.106742
0.106742
0
0
0.003464
0.288998
1,218
46
94
26.478261
0.818707
0.236453
0
0
0
0
0.044473
0
0
0
0
0.086957
0
1
0.3125
false
0
0.125
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
1
0
0
3
1d415ea6a891a01351fa5ac02d9300c7666b1444
23,619
py
Python
pyrpipe/mapping.py
eve-syrkin-wurtele/pyrpipe
db581eb690c5ed9a799aa02efe544c0d5d6582ab
[ "MIT" ]
null
null
null
pyrpipe/mapping.py
eve-syrkin-wurtele/pyrpipe
db581eb690c5ed9a799aa02efe544c0d5d6582ab
[ "MIT" ]
null
null
null
pyrpipe/mapping.py
eve-syrkin-wurtele/pyrpipe
db581eb690c5ed9a799aa02efe544c0d5d6582ab
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sun Nov 24 19:53:42 2019 @author: usingh contains classes of RNA-Seq alignment programs """ import os from pyrpipe.runnable import Runnable from pyrpipe import pyrpipe_utils as pu from pyrpipe import pyrpipe_engine as pe from pyrpipe import tools from pyrpi...
36.78972
176
0.58635
2,777
23,619
4.843716
0.10731
0.025426
0.010408
0.015166
0.785666
0.767452
0.732213
0.682254
0.653706
0.650509
0
0.004827
0.324612
23,619
641
177
36.847114
0.83839
0.314069
0
0.559387
0
0
0.145262
0.001977
0
0
0
0
0
1
0.061303
false
0.007663
0.042146
0
0.226054
0.045977
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
1d466c8bd664ece6db5161214be4eda0a0f4364f
4,818
py
Python
aray/aray/stretch.py
OMG-ICFP-FTW/icfp2021
91b87968ce3fc6a8b6d6c6e362433f6de2463345
[ "BSD-3-Clause" ]
null
null
null
aray/aray/stretch.py
OMG-ICFP-FTW/icfp2021
91b87968ce3fc6a8b6d6c6e362433f6de2463345
[ "BSD-3-Clause" ]
null
null
null
aray/aray/stretch.py
OMG-ICFP-FTW/icfp2021
91b87968ce3fc6a8b6d6c6e362433f6de2463345
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 # stretch.py - get lattice points within a donut circle shape # %% from math import sin, cos from typing import List, Set from .util import ceil, floor, dist from .types import Point def slow_stretch(a: Point, b: Point, epsilon: int) -> List[Point]: """ Get the valid set of deltas for a g...
43.017857
91
0.561851
748
4,818
3.413102
0.11631
0.056404
0.051704
0.056404
0.799452
0.759107
0.724638
0.695652
0.637681
0.582844
0
0.020603
0.304898
4,818
112
92
43.017857
0.741714
0.835201
0
0
0
0
0
0
0
0
0
0
0
1
0.117647
false
0
0.235294
0
0.470588
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1d5be46879e35cb9971a219b1571f210f6909e75
17,509
py
Python
qibullet/robot_posture.py
mcaniot/qibullet
9c5e1b319a18dd289263eb82f9d7303429bcbe21
[ "Apache-2.0" ]
74
2020-02-13T16:34:34.000Z
2022-03-09T10:39:51.000Z
qibullet/robot_posture.py
mcaniot/qibullet
9c5e1b319a18dd289263eb82f9d7303429bcbe21
[ "Apache-2.0" ]
51
2020-02-18T10:45:26.000Z
2022-03-28T16:09:50.000Z
qibullet/robot_posture.py
mcaniot/qibullet
9c5e1b319a18dd289263eb82f9d7303429bcbe21
[ "Apache-2.0" ]
18
2019-01-21T17:24:01.000Z
2020-01-27T17:32:12.000Z
#!/usr/bin/env python # coding: utf-8 import pybullet class RobotPosture: """ Class describing a robot posture """ STAND = "Stand" STAND_INIT = "StandInit" STAND_ZERO = "StandZero" CROUCH = "Crouch" SIT = "Sit" SIT_RELAX = "SitRelax" LYING_BELLY = "LyingBelly" LYING_BACK ...
27.880573
79
0.412816
1,335
17,509
5.329588
0.252434
0.053127
0.061982
0.065214
0.44877
0.375264
0.358679
0.313001
0.291216
0.281799
0
0.398739
0.50197
17,509
627
80
27.92504
0.417202
0.080987
0
0.464217
0
0
0.052389
0
0
0
0
0
0
1
0.017408
false
0
0.001934
0
0.05029
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1d5e911e1eb75485ed9f3b7f8720b40b8202f3fd
507
py
Python
redleader/resources/permissions.py
mmcdermo/RedLeader
13c5261e839fc3373a8de00d49187220778091a4
[ "Apache-2.0" ]
null
null
null
redleader/resources/permissions.py
mmcdermo/RedLeader
13c5261e839fc3373a8de00d49187220778091a4
[ "Apache-2.0" ]
null
null
null
redleader/resources/permissions.py
mmcdermo/RedLeader
13c5261e839fc3373a8de00d49187220778091a4
[ "Apache-2.0" ]
null
null
null
class ResourcePermission(object): def __init__(self, resource): self.resource=resource class WritePermission(ResourcePermission): def __init__(self, resource): super(WritePermission, self).__init__(resource) class ReadPermission(ResourcePermission): def __init__(self, resource): su...
31.6875
59
0.751479
46
507
7.673913
0.23913
0.169972
0.124646
0.215297
0.356941
0.356941
0
0
0
0
0
0
0.153846
507
15
60
33.8
0.822844
0
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
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
1d611ed4f53ba395093c8618f8fe7e255761f897
96
py
Python
locale/pot/api/examples/_autosummary/pyvista-examples-downloads-download_model_with_variance-1.py
tkoyama010/pyvista-doc-translations
23bb813387b7f8bfe17e86c2244d5dd2243990db
[ "MIT" ]
4
2020-08-07T08:19:19.000Z
2020-12-04T09:51:11.000Z
locale/pot/api/examples/_autosummary/pyvista-examples-downloads-download_model_with_variance-1.py
tkoyama010/pyvista-doc-translations
23bb813387b7f8bfe17e86c2244d5dd2243990db
[ "MIT" ]
19
2020-08-06T00:24:30.000Z
2022-03-30T19:22:24.000Z
locale/pot/api/examples/_autosummary/pyvista-examples-downloads-download_model_with_variance-1.py
tkoyama010/pyvista-doc-translations
23bb813387b7f8bfe17e86c2244d5dd2243990db
[ "MIT" ]
1
2021-03-09T07:50:40.000Z
2021-03-09T07:50:40.000Z
from pyvista import examples dataset = examples.download_model_with_variance() # doctest:+SKIP
32
66
0.822917
12
96
6.333333
0.916667
0
0
0
0
0
0
0
0
0
0
0
0.104167
96
2
67
48
0.883721
0.135417
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
1d98d45b6c239f498ca1eef5c61a9863321502c8
338
py
Python
record_service/record_service/utils/console.py
justintrudell/medfs
1e84203205dbafdbd4005dddccce7adb7ef3b144
[ "Apache-2.0" ]
null
null
null
record_service/record_service/utils/console.py
justintrudell/medfs
1e84203205dbafdbd4005dddccce7adb7ef3b144
[ "Apache-2.0" ]
1
2021-01-28T19:47:23.000Z
2021-01-28T19:47:23.000Z
record_service/record_service/utils/console.py
justintrudell/medfs
1e84203205dbafdbd4005dddccce7adb7ef3b144
[ "Apache-2.0" ]
null
null
null
from app import app from record_service.models import * # noqa from record_service.database.database import db # noqa from record_service.external import acl_pb2, acl_pb2_grpc as acl_func from record_service.external import acl_api import config app.app_context().push() client = acl_api.build_client(config.ACL_URL,...
30.727273
69
0.822485
55
338
4.8
0.418182
0.151515
0.257576
0.159091
0.257576
0.257576
0
0
0
0
0
0.006667
0.112426
338
10
70
33.8
0.873333
0.026627
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
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
1d9ef14415a94a691bf6b01756e7e25ffdf3413b
1,748
py
Python
src_old/tests/scripts/builtin_functions.py
toddrme2178/pyccel
deec37503ab0c5d0bcca1a035f7909f7ce8ef653
[ "MIT" ]
null
null
null
src_old/tests/scripts/builtin_functions.py
toddrme2178/pyccel
deec37503ab0c5d0bcca1a035f7909f7ce8ef653
[ "MIT" ]
null
null
null
src_old/tests/scripts/builtin_functions.py
toddrme2178/pyccel
deec37503ab0c5d0bcca1a035f7909f7ce8ef653
[ "MIT" ]
null
null
null
# coding: utf-8 a1 = zeros(64, double) a2 = zeros(3,2) a3 = zeros(5, int) a4 = zeros((2,3), double) b1 = ones(64, double) b2 = ones(3,2) b3 = ones(5, int) b4 = ones((2,3), double) b5 = ones((2,3,4), double) c1 = array((1,2,3,5,8,5),int) c2 = array(((5,8,6,9,8,2),(5,8,6,9,8,2),(5,8,6,9,8,2),(5,8,6,9,8,2),(5,8,6,9,8,2...
23.306667
101
0.517735
412
1,748
2.196602
0.283981
0.086188
0.069613
0.092818
0.289503
0.145856
0.039779
0.039779
0.039779
0.039779
0
0.220965
0.241419
1,748
74
102
23.621622
0.461538
0.403318
0
0
0
0
0
0
0
0
0
0.013514
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
0
1
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
3
d524c6b22bbdbd0c8f2da995bbd537c93ce7d4f2
4,199
py
Python
config.py
Silent47/local-code-stat
54b215036abad01b0d1c55ba1df08a9820732aca
[ "MIT" ]
1
2020-02-28T23:44:28.000Z
2020-02-28T23:44:28.000Z
config.py
Silent47/local-code-stat
54b215036abad01b0d1c55ba1df08a9820732aca
[ "MIT" ]
1
2020-02-29T09:19:13.000Z
2020-02-29T09:19:13.000Z
config.py
Silent47/local-code-stat
54b215036abad01b0d1c55ba1df08a9820732aca
[ "MIT" ]
null
null
null
import logging import re from os import path from dynamic_object import DynamicObject LOG_LEVEL = logging.INFO LOG_FORMAT = '%(message)s' OUTPUT = path.join(path.dirname(__file__), 'out') IGNORED_FOLDERS = {'.git', '.gitee', '.idea', '.vscode', '.svn', 'bin', 'out', 'target', 'trace'} IGNORED_FILES = {r'.*\.DS_St...
35.584746
110
0.583949
567
4,199
4.134039
0.149912
0.211604
0.194539
0.12756
0.725683
0.691553
0.671928
0.658703
0.639505
0.639505
0
0.003065
0.145273
4,199
117
111
35.888889
0.650042
0.152894
0
0.212121
0
0
0.161948
0.042469
0
0
0
0
0
1
0
false
0
0.060606
0
0.060606
0
0
0
0
null
1
1
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d5413057087cd0728dfaf40c37614bb0f74ab04d
305
py
Python
media/Write_Table_to_csv.py
aibotstechrepo/Helix-Enterprise
599f36989d4e01750e10de585adadb2e169d7fcf
[ "Apache-2.0" ]
null
null
null
media/Write_Table_to_csv.py
aibotstechrepo/Helix-Enterprise
599f36989d4e01750e10de585adadb2e169d7fcf
[ "Apache-2.0" ]
null
null
null
media/Write_Table_to_csv.py
aibotstechrepo/Helix-Enterprise
599f36989d4e01750e10de585adadb2e169d7fcf
[ "Apache-2.0" ]
null
null
null
import sys file_open = open("D:/mediaeast/11-12-19/test2/otput.txt", "r") file_open_write = open("D:/mediaeast/11-12-19/test2/output_csv.txt", "w") f = file_open.readlines() for data in f: file_open_write.writelines(data.replace("||",",").lstrip(",") + "\n") file_open_write.close() file_open.close()
33.888889
73
0.695082
51
305
3.960784
0.529412
0.237624
0.193069
0.158416
0.247525
0.247525
0.247525
0
0
0
0
0.050179
0.085246
305
9
74
33.888889
0.673835
0
0
0
0
0
0.284314
0.25817
0
0
0
0
0
1
0
false
0
0.125
0
0.125
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
d5756afc7088621df66589883cfa7b3c6af666cb
283
py
Python
chapterfive/stagesoflife.py
cmotek/python_crashcourse
29cbdd6699cd17192bb599d235852d547630d110
[ "Apache-2.0" ]
null
null
null
chapterfive/stagesoflife.py
cmotek/python_crashcourse
29cbdd6699cd17192bb599d235852d547630d110
[ "Apache-2.0" ]
null
null
null
chapterfive/stagesoflife.py
cmotek/python_crashcourse
29cbdd6699cd17192bb599d235852d547630d110
[ "Apache-2.0" ]
null
null
null
age = 35 if age < 2: print("This person is a baby!") if age >= 2 and age < 4: print("This person is a toddler!") if age >= 4 and age < 13: print("This person is a kid!") if age >= 20 and age < 65: print("This person is an adult!") if age > 65: print("This person is an elder!")
23.583333
35
0.621908
56
283
3.142857
0.357143
0.142045
0.426136
0.482955
0.579545
0.272727
0.272727
0
0
0
0
0.06422
0.229682
283
12
36
23.583333
0.743119
0
0
0
0
0
0.408451
0
0
0
0
0
0
1
0
false
0
0
0
0
0.454545
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
d58f94e24b5d868e4cdbccf7f5618cd0ad671931
691
py
Python
tests/demtools/test_project_area.py
uw-cryo/dem-tools
c99a74b3361bca7d1733e9699c3cedd25a5b5948
[ "MIT" ]
null
null
null
tests/demtools/test_project_area.py
uw-cryo/dem-tools
c99a74b3361bca7d1733e9699c3cedd25a5b5948
[ "MIT" ]
3
2019-09-30T19:40:42.000Z
2019-10-27T02:23:58.000Z
tests/demtools/test_project_area.py
jomey/dem-tools
c99a74b3361bca7d1733e9699c3cedd25a5b5948
[ "MIT" ]
1
2020-02-07T07:15:13.000Z
2020-02-07T07:15:13.000Z
import pytest from demtools import ProjectArea @pytest.fixture(scope='module') def project_name_prefix(): return 'test_area_001' @pytest.fixture(scope='module') def subject(tmp_input_path, project_name_prefix): return ProjectArea(tmp_input_path, name_prefix=project_name_prefix) class TestProjectArea(obje...
26.576923
71
0.762663
93
691
5.301075
0.333333
0.141988
0.172414
0.097363
0.219067
0
0
0
0
0
0
0.005119
0.151954
691
25
72
27.64
0.836177
0
0
0.125
0
0
0.050651
0
0
0
0
0
0.1875
1
0.3125
false
0
0.125
0.125
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
d59110fbba2d797c9c1311da785a89de1b6122e0
18
py
Python
pystrike/__init__.py
JASchilz/pystrike
fdd166bb8f5e8a6ff19960a6e49596597a80cdf3
[ "MIT" ]
10
2018-09-17T09:32:30.000Z
2021-11-09T11:07:21.000Z
pystrike/__init__.py
JASchilz/pystrike
fdd166bb8f5e8a6ff19960a6e49596597a80cdf3
[ "MIT" ]
1
2018-10-18T19:48:32.000Z
2018-10-19T04:35:26.000Z
pystrike/__init__.py
JASchilz/pystrike
fdd166bb8f5e8a6ff19960a6e49596597a80cdf3
[ "MIT" ]
1
2019-11-26T17:24:06.000Z
2019-11-26T17:24:06.000Z
name = "pystrike"
9
17
0.666667
2
18
6
1
0
0
0
0
0
0
0
0
0
0
0
0.166667
18
1
18
18
0.8
0
0
0
0
0
0.444444
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
63460e2be3531374ba768f11b2bd3e2ca8724fad
743
py
Python
mythril/laser/ethereum/evm_exceptions.py
yxliang01/mythril-classic
2348c75a5816cb4201ba680b3e0a062d4e467dbc
[ "MIT" ]
8
2018-05-15T01:39:48.000Z
2020-09-14T03:56:54.000Z
mythril/laser/ethereum/evm_exceptions.py
yxliang01/mythril-classic
2348c75a5816cb4201ba680b3e0a062d4e467dbc
[ "MIT" ]
21
2019-04-12T17:54:51.000Z
2021-11-04T18:47:45.000Z
mythril/laser/ethereum/evm_exceptions.py
yxliang01/mythril-classic
2348c75a5816cb4201ba680b3e0a062d4e467dbc
[ "MIT" ]
2
2018-05-11T01:10:29.000Z
2018-05-15T17:35:37.000Z
"""This module contains EVM exception types used by LASER.""" class VmException(Exception): """The base VM exception type.""" pass class StackUnderflowException(IndexError, VmException): """A VM exception regarding stack underflows.""" pass class StackOverflowException(VmException): """A VM ...
19.552632
75
0.717362
82
743
6.5
0.536585
0.123827
0.131332
0.21576
0.315197
0.138837
0
0
0
0
0
0
0.191117
743
37
76
20.081081
0.886855
0.477793
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
635a929d7ee3f377cae97828698d638dd81585c1
1,461
py
Python
modules/mlbendermodule.py
imdatsolak/bender
e20a5c7553d0db60440573b4fc3e907d6a8d5fad
[ "BSD-3-Clause" ]
null
null
null
modules/mlbendermodule.py
imdatsolak/bender
e20a5c7553d0db60440573b4fc3e907d6a8d5fad
[ "BSD-3-Clause" ]
null
null
null
modules/mlbendermodule.py
imdatsolak/bender
e20a5c7553d0db60440573b4fc3e907d6a8d5fad
[ "BSD-3-Clause" ]
null
null
null
# -*- encoding: utf-8 -*- from __future__ import print_function import sys reload(sys) sys.setdefaultencoding('utf-8') """ A superclass for all module classes. Copyright (c) 2019 Imdat Solak All Rights Reserved """ class MLBenderModule(object): def __init__(self, configDictionary): self.b...
26.563636
80
0.597536
150
1,461
5.706667
0.52
0.051402
0.065421
0.073598
0
0
0
0
0
0
0
0.006048
0.321013
1,461
54
81
27.055556
0.856855
0.199179
0
0
0
0
0.107996
0
0
0
0
0
0
1
0.269231
false
0
0.076923
0.153846
0.576923
0.038462
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
637599c61f1c649cd533c2fdd7b67e34a1e0fcba
567
py
Python
vsb_powerline/threadsafe_iterator.py
ashesh-0/kaggle_competitions
58e927971b6ee67583a76a5ac821430a8d0bc31a
[ "MIT" ]
1
2019-11-20T11:33:51.000Z
2019-11-20T11:33:51.000Z
vsb_powerline/threadsafe_iterator.py
ashesh-0/kaggle_competitions
58e927971b6ee67583a76a5ac821430a8d0bc31a
[ "MIT" ]
null
null
null
vsb_powerline/threadsafe_iterator.py
ashesh-0/kaggle_competitions
58e927971b6ee67583a76a5ac821430a8d0bc31a
[ "MIT" ]
null
null
null
# Taken from https://keunwoochoi.wordpress.com/2017/08/24/tip-fit_generator-in-keras-how-to-parallelise-correctly/ import threading class ThreadSafeIter: def __init__(self, iter): self._itr = iter self.lock = threading.Lock() def __iter__(self): return self def __next__(self): ...
21.807692
114
0.638448
74
567
4.635135
0.608108
0.069971
0.052478
0
0
0
0
0
0
0
0
0.018605
0.241623
567
25
115
22.68
0.77907
0.33157
0
0
0
0
0
0
0
0
0
0
0
1
0.357143
false
0
0.071429
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
0
0
0
1
0
0
0
1
1
0
0
3
6379e76abe99cf62336beb76fc9501c7513c2e06
887
py
Python
Word2VecModel/cuted_the_cleaned_data.py
LG-1/FunpySpiderSearchEngine
ddf88d77d871aa5ed6545b5929c19eef366cd93d
[ "MIT" ]
500
2018-11-28T01:36:11.000Z
2022-03-31T12:30:10.000Z
Word2VecModel/cuted_the_cleaned_data.py
LG-1/FunpySpiderSearchEngine
ddf88d77d871aa5ed6545b5929c19eef366cd93d
[ "MIT" ]
20
2018-12-03T08:01:32.000Z
2022-02-23T13:16:17.000Z
Word2VecModel/cuted_the_cleaned_data.py
LG-1/FunpySpiderSearchEngine
ddf88d77d871aa5ed6545b5929c19eef366cd93d
[ "MIT" ]
185
2018-11-28T05:19:23.000Z
2022-03-31T12:30:11.000Z
def jieba_cut_word(raw_file): """此函数作用是对经知乎question和answer.csv 合并的txt文件 进行分词处理后,作为训练模型的语料""" import jieba global cuted_file # 分词之后保存的文件名 cuted_file = raw_file + '_cuted.txt' with open(raw_file, 'r', encoding='utf-8') as f_raw: text = f_raw.read() # 获取文本内容 cuted_text = jieba.cut...
44.35
116
0.54566
98
887
4.683673
0.459184
0.396514
0.457516
0.427015
0.263617
0.122004
0.122004
0
0
0
0
0.002837
0.205186
887
19
117
46.684211
0.642553
0.098083
0
0
0
0
0.08976
0.030341
0
0
0
0
0
1
0.066667
false
0
0.066667
0
0.133333
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
6384de78f4231d2e5c0c269031ce1e255304f683
318
py
Python
backend/socket_server/__init__.py
JohnnyDevNull/python-nuxt-starter
e6158818b7536212dafec2dfe3bc70385110440c
[ "MIT" ]
null
null
null
backend/socket_server/__init__.py
JohnnyDevNull/python-nuxt-starter
e6158818b7536212dafec2dfe3bc70385110440c
[ "MIT" ]
1
2022-01-22T12:45:49.000Z
2022-01-22T12:45:49.000Z
backend/socket_server/__init__.py
JohnnyDevNull/python-nuxt-starter
e6158818b7536212dafec2dfe3bc70385110440c
[ "MIT" ]
null
null
null
"""The socketio package.""" from flask_socketio import SocketIO, emit from socket_server.handler.client_connect import client_connect from socket_server.handler.client_disconnect import client_disconnect socket_api = SocketIO() socket_api.on('connect', client_connect) socket_api.on('disconnect', client_disconnect)
31.8
69
0.836478
42
318
6.047619
0.357143
0.153543
0.125984
0.181102
0.228346
0
0
0
0
0
0
0
0.078616
318
9
70
35.333333
0.866894
0.066038
0
0
0
0
0.058419
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
638e56704bd0dc238fcbd19043125ba949add00b
309
py
Python
examples/Structural Engineering Examples/Ex2 - OpenSees Optimization of a Truss/TrussAnimation.py
cslotboom/Naturalize
f54beb0baa53f33a66e85660738eb4880419aa1e
[ "MIT" ]
null
null
null
examples/Structural Engineering Examples/Ex2 - OpenSees Optimization of a Truss/TrussAnimation.py
cslotboom/Naturalize
f54beb0baa53f33a66e85660738eb4880419aa1e
[ "MIT" ]
null
null
null
examples/Structural Engineering Examples/Ex2 - OpenSees Optimization of a Truss/TrussAnimation.py
cslotboom/Naturalize
f54beb0baa53f33a66e85660738eb4880419aa1e
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Fri Dec 18 22:59:59 2020 @author: CS """ import openseespy.opensees as op import openseespy.postprocessing.Get_Rendering as opp import copy import numpy as np import os class AnimateTruss(): def __init__(self, data): pass
14.714286
53
0.627832
41
309
4.609756
0.804878
0.169312
0
0
0
0
0
0
0
0
0
0.058296
0.278317
309
21
54
14.714286
0.789238
0.229773
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0.125
0.625
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
0
1
1
0
1
0
0
3
638f17d25222d11c29fd867b743ecb6f23166446
2,338
py
Python
easyric/tests/test_objects.py
HowcanoeWang/EasyRIC
a3420bc7b1e0f1013411565cf0e66dd2d2ba5371
[ "MIT" ]
12
2021-01-25T07:11:52.000Z
2022-02-14T11:57:03.000Z
easyric/tests/test_objects.py
HowcanoeWang/EasyRIC
a3420bc7b1e0f1013411565cf0e66dd2d2ba5371
[ "MIT" ]
null
null
null
easyric/tests/test_objects.py
HowcanoeWang/EasyRIC
a3420bc7b1e0f1013411565cf0e66dd2d2ba5371
[ "MIT" ]
null
null
null
from easyric.objects import Pix4D #def test_pix4d_objects_init_origin(): # test_folder0 = r'file/pix4d.origin' # origin = Pix4D(test_folder0, raw_img_path='file/pix4d.origin/photos') # # assert origin.project_name == 'pix4d.origin' # assert origin.project_path == 'D:/OneDrive/Program/GitHub/EasyRIC/easyri...
73.0625
182
0.743798
334
2,338
4.958084
0.254491
0.070652
0.067633
0.092995
0.696256
0.58756
0.568237
0.568237
0.531401
0.482488
0
0.07196
0.138152
2,338
32
183
73.0625
0.749876
0.322926
0
0
0
0.466667
0.67662
0.417408
0
0
0
0
0.266667
1
0.066667
false
0
0.066667
0
0.133333
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
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
63970a7c98b53e1c74242f36a4e42aca1d2cc87f
34
py
Python
code/__init__.py
JonTheWong/pySnippets
dd59bd151280945bb590a59da0eaa7cd706194ce
[ "Linux-OpenIB" ]
null
null
null
code/__init__.py
JonTheWong/pySnippets
dd59bd151280945bb590a59da0eaa7cd706194ce
[ "Linux-OpenIB" ]
null
null
null
code/__init__.py
JonTheWong/pySnippets
dd59bd151280945bb590a59da0eaa7cd706194ce
[ "Linux-OpenIB" ]
null
null
null
__all__ = ['readfile', 'readcsv']
17
33
0.647059
3
34
6
1
0
0
0
0
0
0
0
0
0
0
0
0.117647
34
1
34
34
0.6
0
0
0
0
0
0.441176
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
63a74c1f0d0711b570ade0a6dca1eedf25d86046
177
py
Python
dashboard/__init__.py
i-am-zaidali/Toxic-Cogs
088cb364f9920c20879751da6b7333118ba1bf41
[ "MIT" ]
56
2019-03-21T21:03:26.000Z
2022-03-14T08:26:55.000Z
dashboard/__init__.py
i-am-zaidali/Toxic-Cogs
088cb364f9920c20879751da6b7333118ba1bf41
[ "MIT" ]
38
2019-08-20T02:18:27.000Z
2022-02-22T11:19:05.000Z
dashboard/__init__.py
i-am-zaidali/Toxic-Cogs
088cb364f9920c20879751da6b7333118ba1bf41
[ "MIT" ]
44
2019-07-04T06:17:54.000Z
2022-03-25T19:18:31.000Z
from redbot.core.bot import Red from .dashboard import Dashboard async def setup(bot: Red): cog = Dashboard(bot) bot.add_cog(cog) await cog.initialize()
17.7
33
0.672316
25
177
4.72
0.56
0
0
0
0
0
0
0
0
0
0
0
0.237288
177
9
34
19.666667
0.874074
0
0
0
0
0
0
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
63c28b7c3b3850fdf6246b931153d678a9283404
244
py
Python
src/extensions/FxModule.py
benjaminben/ThumpAV
d9ee64280d3441d355097f590f24a51ccd256532
[ "FTL" ]
null
null
null
src/extensions/FxModule.py
benjaminben/ThumpAV
d9ee64280d3441d355097f590f24a51ccd256532
[ "FTL" ]
null
null
null
src/extensions/FxModule.py
benjaminben/ThumpAV
d9ee64280d3441d355097f590f24a51ccd256532
[ "FTL" ]
null
null
null
class Plugin: def __init__(self, owner): self.owner = owner return def Load(self, options): # Caller requires but that's it return def Save(self) -> dict: # Caller consumes dict of settings options = {} return options
22.181818
37
0.663934
33
244
4.787879
0.606061
0.113924
0
0
0
0
0
0
0
0
0
0
0.245902
244
11
38
22.181818
0.858696
0.254098
0
0.222222
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0.111111
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
8944487931adfda9282a6eb4a5f1cadb21d80cd3
1,672
py
Python
tests/test_functions.py
Gobaan/vim-coveragepy
a69fe5b11e05830fdfa752a010b8b696c92daf16
[ "MIT" ]
null
null
null
tests/test_functions.py
Gobaan/vim-coveragepy
a69fe5b11e05830fdfa752a010b8b696c92daf16
[ "MIT" ]
null
null
null
tests/test_functions.py
Gobaan/vim-coveragepy
a69fe5b11e05830fdfa752a010b8b696c92daf16
[ "MIT" ]
null
null
null
import pytest import functions @pytest.fixture def dummy(): yield functions.Dummy() def test_passes_functions(): assert functions.sum(10, 10) == 20 assert functions.product(10, 10) == 100 assert functions.all_branches_pass(1) == 20 assert functions.all_branches_pass(2) == 15 assert functions.a...
27.866667
52
0.74701
257
1,672
4.505837
0.132296
0.078584
0.07772
0.075993
0.696028
0.441278
0.143351
0.060449
0.060449
0
0
0.048592
0.150718
1,672
59
53
28.338983
0.766901
0
0
0
0
0
0
0
0
0
0
0
0.444444
1
0.311111
false
0.311111
0.044444
0
0.355556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
1
0
0
0
0
0
3
8947159af9d1b7ae08c60913385c8a96411b9929
183
py
Python
Data/InputFrame.py
admal/AITrucking
a0b64fff28dcc1c3d2b2598456608c8c3bf3aa81
[ "MIT" ]
null
null
null
Data/InputFrame.py
admal/AITrucking
a0b64fff28dcc1c3d2b2598456608c8c3bf3aa81
[ "MIT" ]
null
null
null
Data/InputFrame.py
admal/AITrucking
a0b64fff28dcc1c3d2b2598456608c8c3bf3aa81
[ "MIT" ]
1
2019-02-22T08:38:13.000Z
2019-02-22T08:38:13.000Z
from Data.CapturedFrame import CapturedFrame class InputFrame(CapturedFrame): def get_screen_for_network(self): self.preprocess() return (self._processed_screen / 127.5) - 1.0
22.875
47
0.786885
24
183
5.791667
0.791667
0
0
0
0
0
0
0
0
0
0
0.037267
0.120219
183
7
48
26.142857
0.826087
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3