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
e2af09249eabdf6c6cfac1108013ff5630a16a85
371
py
Python
src/applications/reviews/urls.py
Alex-T13/sxw_data_conversion
ae70198960af1af004ad28b73d6e885c5afa74c2
[ "MIT" ]
null
null
null
src/applications/reviews/urls.py
Alex-T13/sxw_data_conversion
ae70198960af1af004ad28b73d6e885c5afa74c2
[ "MIT" ]
null
null
null
src/applications/reviews/urls.py
Alex-T13/sxw_data_conversion
ae70198960af1af004ad28b73d6e885c5afa74c2
[ "MIT" ]
null
null
null
from django.urls import path from applications.reviews import views urlpatterns = [ path('', views.AllPostView.as_view(), name='reviews'), path('add_post', views.AddPostView.as_view(), name='add_post'), path('post/<int:pk>', views.ShowPostView.as_view(), name='post'), path('update_post/<int:pk>', view...
33.727273
85
0.700809
50
371
5.04
0.42
0.095238
0.15873
0.111111
0
0
0
0
0
0
0
0
0.113208
371
10
86
37.1
0.765957
0
0
0
0
0
0.191375
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
e2af6e967078f9ead2d03be919925056b558ae89
13,207
py
Python
tests/tests_with_server_and_cached_results/test_planner/test_canvas.py
aquariumbio/trident
d1712cae544103fb145e3171894e4b35141f6813
[ "MIT" ]
5
2019-01-21T11:12:05.000Z
2020-03-05T20:52:14.000Z
tests/tests_with_server_and_cached_results/test_planner/test_canvas.py
aquariumbio/pydent
d1712cae544103fb145e3171894e4b35141f6813
[ "MIT" ]
28
2020-11-18T02:07:09.000Z
2021-06-08T15:49:41.000Z
tests/tests_with_server_and_cached_results/test_planner/test_canvas.py
aquariumbio/trident
d1712cae544103fb145e3171894e4b35141f6813
[ "MIT" ]
2
2021-02-27T19:23:45.000Z
2021-09-14T10:29:07.000Z
import pytest from pydent.planner import Planner from pydent.planner import PlannerException from pydent.planner.utils import get_subgraphs def test_canvas_create(session): canvas = Planner(session) canvas.create() assert canvas.plan.id def test_raises_exception_wiring_with_no_afts(session): canvas...
31.595694
88
0.687211
1,728
13,207
5.05787
0.118056
0.024714
0.067277
0.073684
0.645538
0.595881
0.484668
0.423455
0.398627
0.384439
0
0.016307
0.192095
13,207
417
89
31.671463
0.802812
0.015446
0
0.424342
0
0
0.173665
0
0
0
0
0.002398
0.151316
1
0.085526
false
0.003289
0.013158
0
0.098684
0.026316
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
0
0
0
0
0
1
0
e2b0056c08e76535e1062630476c66ecd0573a56
1,021
py
Python
icekit/plugins/image/migrations/0015_auto_20170310_2004.py
ic-labs/django-icekit
c507ea5b1864303732c53ad7c5800571fca5fa94
[ "MIT" ]
52
2016-09-13T03:50:58.000Z
2022-02-23T16:25:08.000Z
icekit/plugins/image/migrations/0015_auto_20170310_2004.py
ic-labs/django-icekit
c507ea5b1864303732c53ad7c5800571fca5fa94
[ "MIT" ]
304
2016-08-11T14:17:30.000Z
2020-07-22T13:35:18.000Z
icekit/plugins/image/migrations/0015_auto_20170310_2004.py
ic-labs/django-icekit
c507ea5b1864303732c53ad7c5800571fca5fa94
[ "MIT" ]
12
2016-09-21T18:46:35.000Z
2021-02-15T19:37:50.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('icekit_plugins_image', '0014_image_external_ref'), ] operations = [ migrations.RenameField( model_name='image', ...
34.033333
197
0.643487
116
1,021
5.456897
0.62931
0.042654
0.066351
0.082149
0.120063
0.120063
0
0
0
0
0
0.010596
0.260529
1,021
29
198
35.206897
0.827815
0.020568
0
0.347826
0
0.043478
0.340681
0.071142
0
0
0
0
0
1
0
false
0
0.086957
0
0.217391
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
0
0
0
0
0
1
0
e2b14a40b24c80800d570e25ab804585deb5e038
3,531
py
Python
b3j0f/conf/parser/resolver/base.py
b3j0f/configuration
18dd6d5d6560f9b202793739e2330a2181163511
[ "MIT" ]
3
2016-02-18T18:58:24.000Z
2017-03-14T08:40:01.000Z
b3j0f/conf/parser/resolver/base.py
b3j0f/configuration
18dd6d5d6560f9b202793739e2330a2181163511
[ "MIT" ]
1
2016-02-18T15:27:35.000Z
2016-04-02T10:36:43.000Z
b3j0f/conf/parser/resolver/base.py
b3j0f/configuration
18dd6d5d6560f9b202793739e2330a2181163511
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # -------------------------------------------------------------------- # The MIT License (MIT) # # Copyright (c) 2015 Jonathan Labéjof <jonathan.labejof@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation fi...
35.666667
79
0.704616
436
3,531
5.616972
0.479358
0.035933
0.010617
0.013067
0
0
0
0
0
0
0
0.003149
0.190598
3,531
98
80
36.030612
0.853744
0.74823
0
0
0
0
0.015584
0
0
0
0
0
0
1
0.095238
false
0
0.142857
0
0.428571
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
0
0
0
0
0
1
0
e2b187b27bc8c59eec3870b18d05e4350c4e270b
1,670
py
Python
statement_renamer/extractors/capitalone360.py
mkazin/StatementRenamer
ef03c71f0e627a15a4bba08e45bfa90ecacd28fc
[ "Apache-2.0" ]
null
null
null
statement_renamer/extractors/capitalone360.py
mkazin/StatementRenamer
ef03c71f0e627a15a4bba08e45bfa90ecacd28fc
[ "Apache-2.0" ]
15
2018-05-01T12:48:30.000Z
2021-05-14T02:52:48.000Z
statement_renamer/extractors/capitalone360.py
mkazin/StatementRenamer
ef03c71f0e627a15a4bba08e45bfa90ecacd28fc
[ "Apache-2.0" ]
1
2019-07-09T22:59:50.000Z
2019-07-09T22:59:50.000Z
from datetime import datetime from .extractor import DateExtractor, ExtractedData, ExtractorException class CapitalOne360ExtractorException(ExtractorException): def __init__(self, *args, **kwargs): ExtractorException.__init__(self, *args, **kwargs) class CapitalOne360DateExtractor(DateExtractor): ...
29.821429
83
0.592814
166
1,670
5.620482
0.385542
0.052519
0.025723
0.038585
0.096463
0.096463
0.096463
0.096463
0.096463
0
0
0.021386
0.3
1,670
55
84
30.363636
0.776732
0
0
0.052632
0
0
0.086228
0.038922
0
0
0
0
0
1
0.078947
false
0.026316
0.052632
0.026316
0.368421
0.026316
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
0
0
0
0
0
1
0
e2b274a05a49e36d3f5f1623c359598acd291590
1,335
py
Python
setup.py
oeg-upm/ya2ro
799b59046c77a9277b92f2adfa1521d353dfe93d
[ "Apache-2.0" ]
1
2021-10-06T09:34:48.000Z
2021-10-06T09:34:48.000Z
setup.py
oeg-upm/ya2ro
799b59046c77a9277b92f2adfa1521d353dfe93d
[ "Apache-2.0" ]
30
2021-11-17T18:35:31.000Z
2022-03-28T10:46:45.000Z
setup.py
PavelAntonia/EELISA-research-object
799b59046c77a9277b92f2adfa1521d353dfe93d
[ "Apache-2.0" ]
1
2021-11-22T17:15:53.000Z
2021-11-22T17:15:53.000Z
from setuptools import find_packages, setup version = {} with open("src/ya2ro/ya2ro.py") as fp: exec(fp.read(), version) setup( name='ya2ro', author='Antonia Pavel', author_email='floriana.antonia.pavel@gmail.com', description='Tool to which you pass basic information of a project or a research ar...
37.083333
393
0.64794
175
1,335
4.851429
0.622857
0.035336
0.03298
0.040047
0.047114
0
0
0
0
0
0
0.02644
0.206742
1,335
35
394
38.142857
0.77526
0
0
0
0
0.030303
0.546816
0.02397
0
0
0
0
0
1
0
false
0.030303
0.030303
0
0.030303
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
0
0
0
0
0
1
0
e2b3842f07dbcbc4ffcb207564d327421078951a
13,816
py
Python
google/ads/google_ads/v3/proto/resources/ad_group_simulation_pb2.py
jphanwebstaurant/google-ads-python
600812b2afcc4d57f00b47dfe436620ce50bfe9b
[ "Apache-2.0" ]
1
2019-11-30T23:42:39.000Z
2019-11-30T23:42:39.000Z
google/ads/google_ads/v3/proto/resources/ad_group_simulation_pb2.py
jphanwebstaurant/google-ads-python
600812b2afcc4d57f00b47dfe436620ce50bfe9b
[ "Apache-2.0" ]
null
null
null
google/ads/google_ads/v3/proto/resources/ad_group_simulation_pb2.py
jphanwebstaurant/google-ads-python
600812b2afcc4d57f00b47dfe436620ce50bfe9b
[ "Apache-2.0" ]
1
2020-09-30T17:04:06.000Z
2020-09-30T17:04:06.000Z
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads_v3/proto/resources/ad_group_simulation.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf...
65.478673
2,070
0.799797
1,888
13,816
5.476165
0.143538
0.050005
0.048747
0.058033
0.669601
0.629461
0.536706
0.500725
0.433601
0.38379
0
0.041847
0.095397
13,816
210
2,071
65.790476
0.785406
0.0228
0
0.294118
1
0.016043
0.421076
0.267008
0
0
0
0
0
1
0
false
0
0.064171
0
0.064171
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e2b4314ef8bc163fb60b81c13fb7809c116746e2
1,958
py
Python
notebook/filter_usage.py
vhn0912/python-snippets
80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038
[ "MIT" ]
174
2018-05-30T21:14:50.000Z
2022-03-25T07:59:37.000Z
notebook/filter_usage.py
vhn0912/python-snippets
80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038
[ "MIT" ]
5
2019-08-10T03:22:02.000Z
2021-07-12T20:31:17.000Z
notebook/filter_usage.py
vhn0912/python-snippets
80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038
[ "MIT" ]
53
2018-04-27T05:26:35.000Z
2022-03-25T07:59:37.000Z
l = [-2, -1, 0, 1, 2] print(filter(lambda x: x % 2 == 0, l)) # <filter object at 0x10bb38580> print(type(filter(lambda x: x % 2 == 0, l))) # <class 'filter'> for i in filter(lambda x: x % 2 == 0, l): print(i) # -2 # 0 # 2 print(list(filter(lambda x: x % 2 == 0, l))) # [-2, 0, 2] print(list(filter(lambda x: x % ...
20.610526
66
0.528601
380
1,958
2.676316
0.110526
0.035398
0.038348
0.079646
0.818092
0.725664
0.690265
0.540806
0.375615
0.27532
0
0.087484
0.200204
1,958
94
67
20.829787
0.561941
0.176711
0
0.302326
0
0
0.056151
0
0
0
0
0
0
1
0.023256
false
0
0.023256
0.023256
0.069767
0.55814
0
0
0
null
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
e2b54a9ef95fb28def62c063b36281a5860a7e5a
3,487
py
Python
model/ANOVA.py
narayan954/fellowship-prediction
e6e58389533307fd79d28703fdff3c664242d8da
[ "MIT" ]
47
2021-09-23T00:29:13.000Z
2022-02-27T10:02:55.000Z
model/ANOVA.py
narayan954/fellowship-prediction
e6e58389533307fd79d28703fdff3c664242d8da
[ "MIT" ]
7
2021-09-22T19:50:35.000Z
2021-11-30T08:20:19.000Z
model/ANOVA.py
narayan954/fellowship-prediction
e6e58389533307fd79d28703fdff3c664242d8da
[ "MIT" ]
6
2021-09-21T22:34:37.000Z
2021-09-30T18:25:41.000Z
import pandas as pd import json # plots import matplotlib.pyplot as plt import seaborn as sns import scipy.stats as stats # Load and read json data df = pd.read_json('full_info.json', lines=True) user_name, commits, followers, repo, stars, forks, organizations, issues, contributions = \ [], [], [], [], [], [], [], [...
35.222222
104
0.70261
469
3,487
5.170576
0.311301
0.089072
0.024742
0.041237
0.556701
0.545155
0.545155
0.545155
0.545155
0.52701
0
0.041458
0.142243
3,487
98
105
35.581633
0.769308
0.244623
0
0.6
0
0
0.157461
0
0
0
0
0.010204
0
1
0
false
0
0.127273
0
0.127273
0.127273
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
e2b5c67e502f994e897f387d32a8d2db81b2df7b
3,400
py
Python
BeagleBone/Green/Grove/Software/Python/Grove_dht.py
zhanglongqi/cloud9-examples
db73b843a807361153a00e17a703206202cf73f8
[ "MIT" ]
37
2019-05-30T16:40:01.000Z
2021-11-29T10:34:36.000Z
BeagleBone/Green/Grove/Software/Python/Grove_dht.py
zhanglongqi/cloud9-examples
db73b843a807361153a00e17a703206202cf73f8
[ "MIT" ]
35
2019-04-03T17:35:26.000Z
2022-03-23T12:28:08.000Z
BeagleBone/Green/Grove/Software/Python/Grove_dht.py
zhanglongqi/cloud9-examples
db73b843a807361153a00e17a703206202cf73f8
[ "MIT" ]
40
2019-05-13T00:25:42.000Z
2022-03-23T05:13:15.000Z
import time import Adafruit_BBIO.GPIO as GPIO Debug = True class DHT(): global Debug def __init__(self, pin, type = "DHT22", count = 6): self._pin = pin self._type = type self._count = count self.firstreading = True self.MAXTIMINGS = 85 self._lastreadtime = int(...
28.813559
104
0.437059
389
3,400
3.717224
0.213368
0.082988
0.060858
0.04426
0.38935
0.335408
0.25242
0.25242
0.219917
0.219917
0
0.054272
0.452647
3,400
117
105
29.059829
0.72273
0
0
0.415842
0
0
0.019706
0
0
0
0.003529
0
0
0
null
null
0.029703
0.019802
null
null
0.029703
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
e2b5f97fc73e692fc433612b8f6ee7e770757d71
31
py
Python
victoria/__init__.py
Vitens/Victoria
9f464105f00165ab3f9fd47837455cb68d4bd704
[ "Apache-2.0" ]
1
2020-09-08T15:02:06.000Z
2020-09-08T15:02:06.000Z
victoria/__init__.py
Vitens/Victoria
9f464105f00165ab3f9fd47837455cb68d4bd704
[ "Apache-2.0" ]
null
null
null
victoria/__init__.py
Vitens/Victoria
9f464105f00165ab3f9fd47837455cb68d4bd704
[ "Apache-2.0" ]
1
2020-01-08T18:32:25.000Z
2020-01-08T18:32:25.000Z
from .victoria import Victoria
15.5
30
0.83871
4
31
6.5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.129032
31
1
31
31
0.962963
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
e2b8e2b89a1d109f4bd53134df5660df9751af92
545
py
Python
actstream/tests/test_apps.py
kimbugp/django-activity-stream
4e53e62adf2b82cd01ab70a033839ab61b2d087b
[ "BSD-3-Clause" ]
1,489
2015-01-02T02:46:30.000Z
2022-03-30T07:32:45.000Z
actstream/tests/test_apps.py
kimbugp/django-activity-stream
4e53e62adf2b82cd01ab70a033839ab61b2d087b
[ "BSD-3-Clause" ]
277
2015-01-02T19:54:09.000Z
2022-03-28T12:07:20.000Z
actstream/tests/test_apps.py
kimbugp/django-activity-stream
4e53e62adf2b82cd01ab70a033839ab61b2d087b
[ "BSD-3-Clause" ]
345
2015-01-13T01:02:42.000Z
2022-03-21T09:39:26.000Z
from unittest import TestCase from django.apps.registry import apps class ActstreamConfigTestCase(TestCase): def test_data_field_is_added_to_action_class_only_once_even_if_app_is_loaded_again(self): actstream_config = apps.get_app_config('actstream') actstream_config.ready() actstream_co...
28.684211
93
0.702752
68
545
5.294118
0.558824
0.125
0.111111
0
0
0
0
0
0
0
0
0.002381
0.229358
545
18
94
30.277778
0.854762
0
0
0.153846
0
0
0.023853
0
0
0
0
0
0.076923
1
0.076923
false
0
0.230769
0
0.384615
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
0
0
0
0
0
1
0
2c3378c740ae8e44f9721f70acf8526419bc1dcc
26,445
py
Python
viz_platform/dynamic_datasets/model/classes.py
alexanderzimmerman/smart-vp-server
3aa57b5fa32e90a8406684d0d0a2860e224d7916
[ "Apache-2.0" ]
null
null
null
viz_platform/dynamic_datasets/model/classes.py
alexanderzimmerman/smart-vp-server
3aa57b5fa32e90a8406684d0d0a2860e224d7916
[ "Apache-2.0" ]
null
null
null
viz_platform/dynamic_datasets/model/classes.py
alexanderzimmerman/smart-vp-server
3aa57b5fa32e90a8406684d0d0a2860e224d7916
[ "Apache-2.0" ]
null
null
null
import numpy as np import scipy import scipy.special import scipy.interpolate import pickle import sklearn import matplotlib as mpl mpl.use('Agg') import matplotlib.pyplot as plt import matplotlib.gridspec as gridspec import MySQLdb import sqlalchemy from sqlalchemy.ext.declarative import declarative_base import sqla...
49.615385
163
0.690187
3,100
26,445
5.775484
0.09129
0.035579
0.020331
0.029491
0.618968
0.529156
0.495588
0.461852
0.440684
0.416778
0
0.019792
0.180374
26,445
533
164
49.615385
0.806228
0.010739
0
0.450855
0
0
0.091525
0.008108
0
0
0
0
0
1
0.023504
false
0
0.036325
0
0.465812
0.00641
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
0
0
0
0
0
1
0
2c33c3656f1470ff41575901a7b5533eecb2a153
20,247
py
Python
out.py
CYB3R73/hiro-bot
a1217d950b4bb228689b1a4b585cecbb064f3a2b
[ "Apache-2.0" ]
null
null
null
out.py
CYB3R73/hiro-bot
a1217d950b4bb228689b1a4b585cecbb064f3a2b
[ "Apache-2.0" ]
null
null
null
out.py
CYB3R73/hiro-bot
a1217d950b4bb228689b1a4b585cecbb064f3a2b
[ "Apache-2.0" ]
null
null
null
[2021-06-17T19:47:05.267189+03:00] DiscordPHP.INFO: gateway retrieved and set {"gateway":"wss://gateway.discord.gg/?v=6&encoding=json","session":{"total":1000,"remaining":983,"reset_after":62092171,"max_concurrency":1}} [] [2021-06-17T19:47:05.270016+03:00] DiscordPHP.INFO: starting connection to websocket {"gateway":"...
54.721622
426
0.703265
2,975
20,247
4.767731
0.123025
0.063875
0.149041
0.145939
0.868866
0.753173
0.743866
0.740905
0.659475
0.659475
0
0.23695
0.080358
20,247
369
427
54.869919
0.524812
0
0
0.307116
0
0
0.198844
0.080012
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
1
1
1
1
0
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
7
2c3545b94818bca3c82a497be99bd356be44a3e7
7,592
py
Python
lokii/table.py
dorukerenaktas/lok
0fce198cfc3e5293a2666a66a5d1ee80b81fca48
[ "MIT" ]
1
2021-02-07T09:57:28.000Z
2021-02-07T09:57:28.000Z
lokii/table.py
dorukerenaktas/lokii
0fce198cfc3e5293a2666a66a5d1ee80b81fca48
[ "MIT" ]
null
null
null
lokii/table.py
dorukerenaktas/lokii
0fce198cfc3e5293a2666a66a5d1ee80b81fca48
[ "MIT" ]
null
null
null
import random from typing import Dict, Callable, List, Any, Optional import pandas as pd class Table: def __init__(self, name: str, outfile: str, index_cache_size: int, random_cache_size: int, debug: bool): """ D...
37.584158
107
0.601159
979
7,592
4.467824
0.180797
0.056013
0.093278
0.058299
0.386145
0.328304
0.328304
0.328304
0.318244
0.262003
0
0.00403
0.31362
7,592
201
108
37.771144
0.835348
0.221417
0
0.318966
0
0
0.066407
0
0
0
0
0
0
1
0.12069
false
0
0.025862
0.017241
0.25
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
0
0
0
0
0
1
0
2c36eb0bb22cd8a2ed48443d1c87d8de5ed364ca
13,428
py
Python
powerspectrum.py
ronniyjoseph/Beam-Perturbations
0122fed7e3018f2e188e12b62ad760e11f6eb158
[ "MIT" ]
null
null
null
powerspectrum.py
ronniyjoseph/Beam-Perturbations
0122fed7e3018f2e188e12b62ad760e11f6eb158
[ "MIT" ]
4
2019-06-25T02:02:56.000Z
2019-10-24T08:12:41.000Z
powerspectrum.py
ronniyjoseph/Beam-Perturbations
0122fed7e3018f2e188e12b62ad760e11f6eb158
[ "MIT" ]
null
null
null
import numpy import powerbox import matplotlib from matplotlib import pyplot import matplotlib.colors as colors from plottools import colorbar from generaltools import symlog_bounds from radiotelescope import beam_width """ This file is going to contain all relevant power spectrum functions, i.e data gridding, (freq...
44.611296
126
0.629803
1,624
13,428
4.886084
0.153941
0.042344
0.011342
0.035287
0.470951
0.427095
0.393321
0.362067
0.325646
0.284814
0
0.012316
0.26832
13,428
301
127
44.611296
0.795318
0.027703
0
0.232227
0
0
0.028948
0.002484
0
0
0
0
0
1
0.042654
false
0.004739
0.037915
0.014218
0.127962
0.033175
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
0
0
0
0
0
1
0
2c3893825d290c60d6561bfc9ae6b13bc756d82e
298
py
Python
AutotestWebD/apps/common/config/permissionConst.py
yangjourney/sosotest
2e88099a829749910ca325253c9b1a2e368d21a0
[ "MIT" ]
422
2019-08-18T05:04:20.000Z
2022-03-31T06:49:19.000Z
AutotestWebD/apps/common/config/permissionConst.py
LinSongJian1985/sosotest
091863dee531b5726650bb63efd6f169267cbeb4
[ "MIT" ]
10
2019-10-24T09:55:38.000Z
2021-09-29T17:28:43.000Z
AutotestWebD/apps/common/config/permissionConst.py
LinSongJian1985/sosotest
091863dee531b5726650bb63efd6f169267cbeb4
[ "MIT" ]
202
2019-08-18T05:04:27.000Z
2022-03-30T05:57:18.000Z
class PermissionConst: ''' 目前有几种权限: add / edit / check / copy / run / delete / distinct ''' urlAllPermission = "urlAllPermission" urlDefaultPermission = "urlDefaultPermission" user_permission = "user_permission" team_url_permission = "team_url_permission"
21.285714
57
0.671141
24
298
8.083333
0.666667
0.14433
0.175258
0.278351
0
0
0
0
0
0
0
0
0.241611
298
13
58
22.923077
0.858407
0.201342
0
0
0
0
0.334928
0
0
0
0
0
0
1
0
false
0
0
0
1
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
0
0
1
0
0
3
2c3a2df09b00838929b47a69b48dbd4d97a14392
3,089
py
Python
banditpylib/protocols/single_player.py
XiGYmax/banditpylib
07698a1c6b17720a8199dea76580546fe3dfb9be
[ "MIT" ]
null
null
null
banditpylib/protocols/single_player.py
XiGYmax/banditpylib
07698a1c6b17720a8199dea76580546fe3dfb9be
[ "MIT" ]
null
null
null
banditpylib/protocols/single_player.py
XiGYmax/banditpylib
07698a1c6b17720a8199dea76580546fe3dfb9be
[ "MIT" ]
null
null
null
from typing import List, Dict import numpy as np from absl import logging from banditpylib.bandits import Bandit from banditpylib.learners import Learner from .utils import Protocol class SinglePlayerProtocol(Protocol): """Single player protocol This protocol is used to simulate the ordinary single-player gam...
28.601852
79
0.672062
388
3,089
5.224227
0.311856
0.074988
0.044401
0.019734
0.049334
0.03256
0.03256
0
0
0
0
0.001313
0.260602
3,089
107
80
28.869159
0.886165
0.390418
0
0.04
0
0
0.033708
0.01236
0
0
0
0
0
1
0.08
false
0
0.12
0
0.26
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
0
0
0
0
0
1
0
2c3ba3a7de0cd2d1f09de245212daad861a07972
2,873
py
Python
3pxnet-inference/scripts/runValidation.py
SRavit1/3pxnet
1f81a2bdcbb97c42163e914b01dba4e6c73ade60
[ "MIT" ]
7
2020-12-11T16:06:03.000Z
2022-02-13T20:56:06.000Z
3pxnet-inference/scripts/runValidation.py
SRavit1/3pxnet
1f81a2bdcbb97c42163e914b01dba4e6c73ade60
[ "MIT" ]
4
2021-07-13T10:50:49.000Z
2021-08-13T16:06:20.000Z
3pxnet-inference/scripts/runValidation.py
SRavit1/3pxnet
1f81a2bdcbb97c42163e914b01dba4e6c73ade60
[ "MIT" ]
1
2021-07-06T03:41:55.000Z
2021-07-06T03:41:55.000Z
#!/usr/bin/env python ################################################################################ # MIT License # # Copyright (c) 2019 UCLA NanoCAD Laboratory # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "So...
34.614458
95
0.577445
334
2,873
4.907186
0.535928
0.053691
0.015863
0
0
0
0
0
0
0
0
0.006803
0.283676
2,873
82
96
35.036585
0.789602
0.485207
0
0
0
0
0.145121
0
0
0
0
0
0
1
0.090909
false
0.030303
0.030303
0
0.181818
0.121212
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
0
0
0
0
0
1
0
2c3c00e8f94657bbf831d69554620cc2f14d7279
978
py
Python
setup.py
nous-consulting/basecamp-next
33851de091056a33663c9370f564cf3d41fe868f
[ "MIT" ]
2
2015-03-28T21:50:36.000Z
2015-09-10T22:29:17.000Z
setup.py
GetBlimp/basecamp-next
f7ebdd3da97ee13cd5ca18f440506fbbc84e7800
[ "MIT" ]
null
null
null
setup.py
GetBlimp/basecamp-next
f7ebdd3da97ee13cd5ca18f440506fbbc84e7800
[ "MIT" ]
4
2015-04-14T16:18:26.000Z
2021-03-28T19:00:21.000Z
import os try: from setuptools import setup except ImportError: from distutils.core import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() required = ['requests>=1.0.0', 'requests-oauth2>=0.2.0'] setup( name='basecampx', version='0.1.8', ...
27.166667
70
0.641104
112
978
5.517857
0.705357
0.035599
0
0
0
0
0
0
0
0
0
0.016905
0.213701
978
35
71
27.942857
0.786736
0
0
0
0
0
0.408998
0.022495
0
0
0
0
0
1
0.032258
false
0
0.129032
0.032258
0.193548
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
0
0
0
0
0
1
0
2c3c2a730b5f9ebaec5a9cf2153e02f5e709d39e
2,602
py
Python
crop_align/crop_align_affectnet.py
AutoLV/NoisyFER
353ff60bad90dd346cd6a8fc54d7a6acd5897044
[ "MIT" ]
15
2020-11-09T16:35:08.000Z
2022-02-12T14:53:11.000Z
crop_align/crop_align_affectnet.py
AutoLV/NoisyFER
353ff60bad90dd346cd6a8fc54d7a6acd5897044
[ "MIT" ]
1
2021-07-21T03:33:46.000Z
2021-08-08T20:24:12.000Z
crop_align/crop_align_affectnet.py
AutoLV/NoisyFER
353ff60bad90dd346cd6a8fc54d7a6acd5897044
[ "MIT" ]
3
2021-03-30T10:21:52.000Z
2021-09-12T15:55:32.000Z
import sys rootPath = '/Users/siwei/Desktop/noisyFER' sys.path.append(rootPath) import os from tqdm import tqdm import cv2 import csv import numpy as np import argparse from crop_align.align import MyFaceAligner parser = argparse.ArgumentParser() parser.add_argument("--root", type=str, default='datasets/affectnet')...
35.162162
103
0.618755
359
2,602
4.300836
0.367688
0.05829
0.03886
0.040803
0.223446
0.146373
0.059585
0.059585
0.059585
0.059585
0
0.019309
0.243659
2,602
74
104
35.162162
0.765244
0.097233
0
0
0
0
0.161401
0.040991
0
0
0
0
0
1
0.037037
false
0
0.148148
0
0.203704
0.055556
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
0
0
0
0
0
1
0
2c3c89d30724c38d60dae13286e13556b05ebcb3
640
py
Python
bot/cli.py
LukasForst/toggl-wire-bot
1a242ef281b3cb501f30a1acee9cda7fd2cb2a84
[ "MIT" ]
null
null
null
bot/cli.py
LukasForst/toggl-wire-bot
1a242ef281b3cb501f30a1acee9cda7fd2cb2a84
[ "MIT" ]
null
null
null
bot/cli.py
LukasForst/toggl-wire-bot
1a242ef281b3cb501f30a1acee9cda7fd2cb2a84
[ "MIT" ]
null
null
null
#!/usr/bin/env python import argparse from Toggl.togglApi import getTogglReport if __name__ == '__main__': parser = argparse.ArgumentParser(description='Obtain report from Toggl.') parser.add_argument("--toggl-token", "-tt", help="Set Toggl token.") parser.add_argument("--toggl-workspace", "-w", help="S...
32
96
0.698438
83
640
5.204819
0.46988
0.083333
0.157407
0.101852
0
0
0
0
0
0
0
0
0.142188
640
19
97
33.684211
0.786885
0.03125
0
0
0
0
0.276252
0
0
0
0
0
0
1
0
false
0
0.181818
0
0.181818
0.090909
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
0
0
0
0
0
1
0
2c3e24b4b6d91fcd05c76dfb86067fae1b3b498e
3,746
py
Python
a_storage/codec/codec_agroup.py
praefrontalis/Anfisa-Annotations
b4127c68e3696b75b2972f6759437034cc56f8e3
[ "Apache-2.0" ]
null
null
null
a_storage/codec/codec_agroup.py
praefrontalis/Anfisa-Annotations
b4127c68e3696b75b2972f6759437034cc56f8e3
[ "Apache-2.0" ]
3
2022-03-28T13:44:24.000Z
2022-03-28T13:53:57.000Z
a_storage/codec/codec_agroup.py
praefrontalis/Anfisa-Annotations
b4127c68e3696b75b2972f6759437034cc56f8e3
[ "Apache-2.0" ]
3
2019-02-18T17:05:06.000Z
2022-03-22T19:42:38.000Z
from ._codec_data import _CodecData #=============================================== class CodecAGroup(_CodecData): def __init__(self, master, parent, schema_instr, default_name): self.mGroupName = "?" _CodecData.__init__(self, master, parent, schema_instr, default_name) self.mGroup = self._...
38.618557
77
0.540577
422
3,746
4.592417
0.203791
0.057792
0.014448
0.022704
0.241486
0.134159
0.097007
0.070175
0.047472
0
0
0.00405
0.340897
3,746
96
78
39.020833
0.780883
0.012547
0
0.137931
0
0
0.037317
0
0
0
0
0
0.011494
1
0.103448
false
0
0.011494
0.034483
0.206897
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
0
0
0
0
0
1
0
2c3ea335989982f0ae8f5847cf419f798c2e40fa
3,528
py
Python
app/customer/models/bottle_message.py
B-ROY/TESTGIT
40221cf254c90d37d21afb981635740aebf11949
[ "Apache-2.0" ]
2
2017-12-02T13:58:30.000Z
2018-08-02T17:07:59.000Z
app/customer/models/bottle_message.py
B-ROY/TESTGIT
40221cf254c90d37d21afb981635740aebf11949
[ "Apache-2.0" ]
null
null
null
app/customer/models/bottle_message.py
B-ROY/TESTGIT
40221cf254c90d37d21afb981635740aebf11949
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 import random from mongoengine import * from base.settings import CHATPAMONGO import datetime connect(CHATPAMONGO.db, host=CHATPAMONGO.host, port=CHATPAMONGO.port, username=CHATPAMONGO.username, password=CHATPAMONGO.password) class BottleMessageText(Document): USER_TYPE = [ (0, "主...
23.837838
100
0.622166
426
3,528
4.894366
0.246479
0.086331
0.07482
0.086331
0.336691
0.177458
0.106475
0.040288
0
0
0
0.009277
0.266723
3,528
147
101
24
0.796676
0.016723
0
0.22
0
0
0.035673
0
0
0
0
0.006803
0
1
0.09
false
0.03
0.04
0.02
0.37
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
0
0
0
0
0
1
0
2c3fd53f9be0ab6b23ce5e13685ed3cedb8f6c3f
1,440
py
Python
app/twitter_client/services/twitter.py
TennaGraph/TennaGraph
002998d94300ee67168f1a8164c0e6bc86836e1f
[ "Apache-2.0" ]
7
2018-11-13T17:39:15.000Z
2019-03-27T04:55:24.000Z
app/twitter_client/services/twitter.py
TennaGraph/TennaGraph
002998d94300ee67168f1a8164c0e6bc86836e1f
[ "Apache-2.0" ]
72
2018-11-09T14:20:25.000Z
2020-06-05T19:28:19.000Z
app/twitter_client/services/twitter.py
TennaGraph/TennaGraph
002998d94300ee67168f1a8164c0e6bc86836e1f
[ "Apache-2.0" ]
3
2018-11-19T19:10:39.000Z
2019-08-23T20:52:23.000Z
# Stdlib import logging # Django imports from django.conf import settings # Pip imports import twitter logger = logging.getLogger(__name__) class TwitterClient: api = None def __init__(self): self.api = twitter.Api(consumer_key=settings.TWITTER_CONSUMER_KEY, ...
27.692308
99
0.609028
165
1,440
5.090909
0.369697
0.047619
0.05
0.061905
0.054762
0.054762
0
0
0
0
0
0.004065
0.316667
1,440
51
100
28.235294
0.849594
0.130556
0
0
0
0
0.070352
0
0
0
0
0
0
1
0.148148
false
0
0.111111
0.074074
0.518519
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
0
0
0
1
0
0
1
2c4009a74bdc9f67bd15c60010e651ad516d4094
5,834
py
Python
app/unit_test_text_buffer.py
nthparameter/ci_edit
e9227fbdf99ac1c0afa3a5af4e458409d9c6ce55
[ "Apache-2.0" ]
229
2017-05-25T04:59:28.000Z
2022-03-30T17:35:33.000Z
app/unit_test_text_buffer.py
nthparameter/ci_edit
e9227fbdf99ac1c0afa3a5af4e458409d9c6ce55
[ "Apache-2.0" ]
185
2017-06-08T17:48:48.000Z
2022-03-15T12:25:18.000Z
app/unit_test_text_buffer.py
nthparameter/ci_edit
e9227fbdf99ac1c0afa3a5af4e458409d9c6ce55
[ "Apache-2.0" ]
76
2017-05-25T17:16:21.000Z
2022-03-12T23:48:06.000Z
# Copyright 2016 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
37.883117
86
0.495886
713
5,834
3.868163
0.208976
0.131617
0.191443
0.086294
0.567078
0.518492
0.41153
0.348078
0.322335
0.303481
0
0.048468
0.384642
5,834
153
87
38.130719
0.719777
0.102845
0
0.375
0
0
0.153699
0.004408
0
0
0
0
0.007813
1
0.046875
false
0
0.046875
0
0.101563
0.007813
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
0
0
0
0
0
1
2c4056e4df5f108b083b534021811e7cb612782d
1,399
py
Python
watchmate/user_app/tests.py
bvmcardoso/drf_python_api
cbb7289594287039a133131b73bdc75c8c4e0530
[ "MIT" ]
null
null
null
watchmate/user_app/tests.py
bvmcardoso/drf_python_api
cbb7289594287039a133131b73bdc75c8c4e0530
[ "MIT" ]
null
null
null
watchmate/user_app/tests.py
bvmcardoso/drf_python_api
cbb7289594287039a133131b73bdc75c8c4e0530
[ "MIT" ]
null
null
null
from django.contrib.auth.models import User from django.urls import reverse from rest_framework import status from rest_framework.authtoken.models import Token from rest_framework.test import APITestCase class RegisterTestCase(APITestCase): def test_register(self): data = { 'username': 'test...
31.795455
89
0.647605
152
1,399
5.822368
0.335526
0.045198
0.057627
0.074576
0.422599
0.247458
0.247458
0.166102
0.108475
0
0
0.022578
0.240172
1,399
43
90
32.534884
0.809972
0
0
0.129032
0
0
0.112938
0
0
0
0
0
0.096774
1
0.129032
false
0.129032
0.16129
0
0.354839
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
0
0
0
0
0
1
2c414ad869d7c8870326e68eef3da496a4777bf5
663
py
Python
reports/views.py
erinspace/rivannastreamwatch
23bfcee247d539449fca2ab9357bd450aa0a431d
[ "MIT" ]
null
null
null
reports/views.py
erinspace/rivannastreamwatch
23bfcee247d539449fca2ab9357bd450aa0a431d
[ "MIT" ]
null
null
null
reports/views.py
erinspace/rivannastreamwatch
23bfcee247d539449fca2ab9357bd450aa0a431d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.contrib.auth.models import User from rest_framework.generics import ListCreateAPIView, RetrieveUpdateDestroyAPIView, RetrieveAPIView from reports.models import Report from reports.serializers import ReportSerializer, UserSerializer class R...
26.52
100
0.803922
64
663
8.1875
0.5
0.057252
0.114504
0.14313
0.229008
0.229008
0.229008
0.229008
0
0
0
0.00173
0.128205
663
24
101
27.625
0.904844
0.031674
0
0.285714
0
0
0
0
0
0
0
0
0
1
0
false
0
0.357143
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
0
1
0
1
0
0
2
2c415bbaa990e45ba44ba5f6b832f5d35a83609a
67,578
py
Python
qt4a/androiddriver/webdriver.py
qtateam/QT4A
3852e1a7740229e9930c610072bbbc700fb13f81
[ "BSD-3-Clause" ]
1
2018-11-27T03:32:38.000Z
2018-11-27T03:32:38.000Z
qt4a/androiddriver/webdriver.py
qtateam/QT4A
3852e1a7740229e9930c610072bbbc700fb13f81
[ "BSD-3-Clause" ]
null
null
null
qt4a/androiddriver/webdriver.py
qtateam/QT4A
3852e1a7740229e9930c610072bbbc700fb13f81
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # # Tencent is pleased to support the open source community by making QTA available. # Copyright (C) 2016THL A29 Limited, a Tencent company. All rights reserved. # Licensed under the BSD 3-Clause License (the "License"); you may not use this # file except in compliance with the License. You may...
32.287625
160
0.40892
6,625
67,578
4.157887
0.100226
0.018878
0.01699
0.005518
0.246061
0.179554
0.156611
0.120562
0.098526
0.069193
0
0.01207
0.443399
67,578
2,092
161
32.303059
0.720264
0.014798
0
0.27669
0
0.014202
0.978167
0.084178
0
0
0.000106
0
0
0
null
null
0.000979
0.002449
null
null
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
1
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
2c43035692fa6a7c9793606b200857a4997d78db
3,646
py
Python
names_generator/__init__.py
glentner/names_generator
c3526a90f3c0f8d2b388542dc3770baa4cc455fe
[ "Apache-2.0" ]
1
2020-12-03T08:52:58.000Z
2020-12-03T08:52:58.000Z
names_generator/__init__.py
glentner/names_generator
c3526a90f3c0f8d2b388542dc3770baa4cc455fe
[ "Apache-2.0" ]
null
null
null
names_generator/__init__.py
glentner/names_generator
c3526a90f3c0f8d2b388542dc3770baa4cc455fe
[ "Apache-2.0" ]
2
2021-01-16T08:52:33.000Z
2022-02-24T13:53:58.000Z
# This program is free software: you can redistribute it and/or modify it under the # terms of the Apache License (v2.0) as published by the Apache Software Foundation. # # This program is distributed in the hope that it will be useful, but WITHOUT ANY # WARRANTY; without even the implied warranty of MERCHANTABILITY or...
28.708661
93
0.694185
491
3,646
5.01833
0.356415
0.031656
0.035714
0.030438
0.08888
0.062094
0.062094
0.062094
0.062094
0.049919
0
0.004326
0.175809
3,646
126
94
28.936508
0.815641
0.302523
0
0.046154
0
0
0.232035
0.017664
0
0
0
0
0
1
0.138462
false
0
0.123077
0.061538
0.446154
0.015385
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
0
0
0
0
0
1
0
2c431d85cef6b81fa14e9c6e9f5d7057ee4c9176
849
py
Python
cotd/plugins/motivationv2.py
5h4d0w4rt/cotd-telegram-bot
2185353047557aa0864d64d464597993d0b5eb02
[ "MIT" ]
1
2021-01-14T10:03:49.000Z
2021-01-14T10:03:49.000Z
cotd/plugins/motivationv2.py
5h4d0w4rt/cotd-telegram-bot
2185353047557aa0864d64d464597993d0b5eb02
[ "MIT" ]
2
2020-09-13T00:47:54.000Z
2021-09-25T16:14:35.000Z
cotd/plugins/motivationv2.py
5h4d0w4rt/cotd-telegram-bot
2185353047557aa0864d64d464597993d0b5eb02
[ "MIT" ]
1
2020-09-12T22:34:04.000Z
2020-09-12T22:34:04.000Z
import io import typing import uuid import ratelimit import telegram import telegram.ext from cotd.plugins.helpers import make_image from PIL import Image ONE_SECOND = 1 def motivation_inline( update: telegram.Update, context: telegram.ext.CallbackContext ) -> telegram.InlineQueryResultCachedPhoto: db = con...
24.257143
83
0.714959
107
849
5.485981
0.448598
0.0477
0.027257
0
0
0
0
0
0
0
0
0.004373
0.191991
849
34
84
24.970588
0.851312
0
0
0
0
0
0.040047
0
0
0
0
0
0
1
0.035714
false
0
0.285714
0
0.392857
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
0
0
0
0
0
1
0
2c4650e94fee91b5f49f98368ac81c86ddacf390
265
py
Python
torabot/lang/targets/test/ut.py
Answeror/torabot
b6260190ec1f0dc8bf3f7ba3512c0522668c59ed
[ "MIT" ]
42
2015-01-20T10:45:08.000Z
2021-04-17T05:10:27.000Z
torabot/lang/targets/test/ut.py
Answeror/torabot
b6260190ec1f0dc8bf3f7ba3512c0522668c59ed
[ "MIT" ]
4
2015-01-23T05:40:44.000Z
2016-12-19T03:52:20.000Z
torabot/lang/targets/test/ut.py
Answeror/torabot
b6260190ec1f0dc8bf3f7ba3512c0522668c59ed
[ "MIT" ]
8
2015-05-07T03:51:05.000Z
2019-03-20T05:40:47.000Z
import os from ...envs.fs import Env CURRENT_PATH = os.path.abspath(os.path.dirname(__file__)) def make_fs_env(): return Env(CURRENT_PATH) def read(name): with open(os.path.join(CURRENT_PATH, name), 'rb') as f: return f.read().decode('utf-8')
17.666667
59
0.675472
44
265
3.863636
0.568182
0.194118
0.164706
0
0
0
0
0
0
0
0
0.004545
0.169811
265
14
60
18.928571
0.768182
0
0
0
0
0
0.026415
0
0
0
0
0
0
1
0.25
false
0
0.25
0.125
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
2c4678c8414aab0401b6d84d47eed85060f96ad3
1,844
py
Python
btorch/device.py
vladstreltsin/blox
2822b84220e512c8012b1b4ec51d6e534bd4d652
[ "MIT" ]
null
null
null
btorch/device.py
vladstreltsin/blox
2822b84220e512c8012b1b4ec51d6e534bd4d652
[ "MIT" ]
null
null
null
btorch/device.py
vladstreltsin/blox
2822b84220e512c8012b1b4ec51d6e534bd4d652
[ "MIT" ]
null
null
null
from __future__ import annotations from blox_old.core.engine.device import BlockDevice from blox_old.btorch.module import TorchModule, TorchModuleError import torch from blox_old.utils import raise_if from blox_old.core.block.base import Block import typing as T class TorchCudaError(TorchModuleError): pass def ...
32.350877
118
0.66974
248
1,844
4.762097
0.318548
0.042337
0.055038
0.025402
0.206605
0.206605
0.206605
0.206605
0.206605
0.206605
0
0.001402
0.226139
1,844
56
119
32.928571
0.826209
0.074295
0
0
0
0
0.065179
0.017029
0
0
0
0
0
1
0.228571
false
0.028571
0.2
0.114286
0.657143
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
0
0
0
2
2c46b8c428613c0415bcebe2afa738881759f61c
2,987
py
Python
DARPAScripts/farsight_Split_Montage.py
tostathaina/farsight
7e9d6d15688735f34f7ca272e4e715acd11473ff
[ "Apache-2.0" ]
8
2016-07-22T11:24:19.000Z
2021-04-10T04:22:31.000Z
DARPAScripts/farsight_Split_Montage.py
YanXuHappygela/Farsight
1711b2a1458c7e035edd21fe0019a1f7d23fcafa
[ "Apache-2.0" ]
null
null
null
DARPAScripts/farsight_Split_Montage.py
YanXuHappygela/Farsight
1711b2a1458c7e035edd21fe0019a1f7d23fcafa
[ "Apache-2.0" ]
7
2016-07-21T07:39:17.000Z
2020-01-29T02:03:27.000Z
import ij import os import math global foldername foldername=None tilesize=1024 ############################## ''' Start of actual script ''' ############################## #fd = OpenDialog("Save Tiles In",None) prefixval = 'Chan3_' fd= DirectoryChooser("Save Tiles In") foldername= fd.getDirectory() if foldername: ...
31.776596
259
0.668899
455
2,987
4.347253
0.384615
0.030334
0.070779
0.063195
0.206269
0.194135
0.194135
0.194135
0.169869
0.169869
0
0.012456
0.13994
2,987
93
260
32.11828
0.757493
0.24841
0
0
0
0
0.12788
0.009873
0
0
0
0
0
0
null
null
0.020408
0.061224
null
null
0.040816
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
2c46ebea0fe0e050587aad5c5ac6a903aa168e9c
21,090
py
Python
renderSDK/Rayvision.py
wangshunhui/renderSDK
b512c43fd0111c114b6abc6398c4609b758436e4
[ "Apache-2.0" ]
2
2020-02-12T09:57:46.000Z
2020-04-03T07:40:07.000Z
renderSDK/Rayvision.py
wangshunhui/renderSDK
b512c43fd0111c114b6abc6398c4609b758436e4
[ "Apache-2.0" ]
null
null
null
renderSDK/Rayvision.py
wangshunhui/renderSDK
b512c43fd0111c114b6abc6398c4609b758436e4
[ "Apache-2.0" ]
1
2020-04-16T11:19:58.000Z
2020-04-16T11:19:58.000Z
#!/usr/bin/env python # -*- coding:utf-8 -*- """ Main """ from .compat import * import os import sys import logging import codecs import time from .RayvisionUtil import get_os, hump2underline, cg_id_name_dict, decorator_use_in_class, format_time from .RayvisionAPI import RayvisionAPI from .RayvisionJob import Rayvi...
46.048035
233
0.625273
2,889
21,090
4.264105
0.131187
0.028736
0.029223
0.040182
0.419677
0.365695
0.322997
0.272181
0.248234
0.224694
0
0.012656
0.276908
21,090
457
234
46.148797
0.795148
0.258464
0
0.265734
0
0
0.089122
0.009694
0
0
0
0
0
1
0.052448
false
0
0.045455
0
0.136364
0.027972
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
0
0
0
0
0
1
0
2c46f1ebeef6b35cb302f6dc0cc36da77f79c3c9
2,943
py
Python
python/mxnet/gluon/data/dataset.py
Adesun/incubator-mxnet
2586c6691ca74d2df455a49cad964bcac8e34f25
[ "Apache-2.0" ]
116
2018-01-01T03:53:49.000Z
2021-09-06T07:09:09.000Z
python/mxnet/gluon/data/dataset.py
wkcn/incubator-mxnet
2586c6691ca74d2df455a49cad964bcac8e34f25
[ "Apache-2.0" ]
null
null
null
python/mxnet/gluon/data/dataset.py
wkcn/incubator-mxnet
2586c6691ca74d2df455a49cad964bcac8e34f25
[ "Apache-2.0" ]
40
2018-01-16T04:12:39.000Z
2022-02-25T11:53:17.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 u...
31.645161
81
0.652396
390
2,943
4.769231
0.423077
0.032258
0.022581
0.027419
0
0
0
0
0
0
0
0.007178
0.24261
2,943
92
82
31.98913
0.827277
0.472307
0
0.228571
0
0
0.10221
0
0
0
0
0
0.057143
1
0.228571
false
0
0.057143
0.085714
0.514286
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
0
1
0
0
2
2c473e9063a2d9474f913c2996b82cf153785914
576
py
Python
party_parrot/_slack_parrots.py
tylercroberts/PartyParrot
89894ea054a466f2ec1c5a620fd312cdc2008a77
[ "BSD-3-Clause" ]
null
null
null
party_parrot/_slack_parrots.py
tylercroberts/PartyParrot
89894ea054a466f2ec1c5a620fd312cdc2008a77
[ "BSD-3-Clause" ]
null
null
null
party_parrot/_slack_parrots.py
tylercroberts/PartyParrot
89894ea054a466f2ec1c5a620fd312cdc2008a77
[ "BSD-3-Clause" ]
null
null
null
""" Parrots ~~~~~~~ """ from party_parrot._utils import get_parrots slack_parrots = """ :aussie_parrot: :blonde_sassy_parrot: :bored_parrot: :chill_parrot: :christmas_parrot: :coffee_parrot: :confused_parrot: :conga_parrot: :dark_beer_parrot: :deal_with_it_parrot: :angel_parrot: :fieri_parrot: :goth_parrot: ...
32
107
0.776042
73
576
5.60274
0.520548
0.05379
0.07335
0.107579
0
0
0
0
0
0
0
0
0.092014
576
17
108
33.882353
0.782027
0.026042
0
0
0
0.111111
0.802947
0.127072
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2c4810e4fa88798c039566c38fcfb8acd43be82c
13,764
py
Python
scqubits/io_utils/fileio_backends.py
dmtvanzanten/scqubits
d4d8a0f71ac91077594a6173348279aa490ed048
[ "BSD-3-Clause" ]
null
null
null
scqubits/io_utils/fileio_backends.py
dmtvanzanten/scqubits
d4d8a0f71ac91077594a6173348279aa490ed048
[ "BSD-3-Clause" ]
null
null
null
scqubits/io_utils/fileio_backends.py
dmtvanzanten/scqubits
d4d8a0f71ac91077594a6173348279aa490ed048
[ "BSD-3-Clause" ]
null
null
null
# fileio_backends.py # # This file is part of scqubits. # # Copyright (c) 2019 and later, Jens Koch and Peter Groszkowski # All rights reserved. # # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. ###############################...
35.84375
89
0.613266
1,653
13,764
4.900181
0.174834
0.059753
0.020988
0.008889
0.328395
0.229136
0.169506
0.12963
0.095926
0.062716
0
0.013732
0.285745
13,764
383
90
35.937337
0.810192
0.204083
0
0.228814
0
0
0.029821
0
0
0
0
0
0.004237
1
0.110169
false
0.016949
0.055085
0
0.237288
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
0
0
0
0
0
1
0
2c4c3f89728261e77401999119b2d00bd703d99b
7,855
py
Python
backend/tests/baserow/api/groups/test_group_user_views.py
cjh0613/baserow
62871f5bf53c9d25446976031aacb706c0abe584
[ "MIT" ]
839
2020-07-20T13:29:34.000Z
2022-03-31T21:09:16.000Z
backend/tests/baserow/api/groups/test_group_user_views.py
cjh0613/baserow
62871f5bf53c9d25446976031aacb706c0abe584
[ "MIT" ]
28
2020-08-07T09:23:58.000Z
2022-03-01T22:32:40.000Z
backend/tests/baserow/api/groups/test_group_user_views.py
cjh0613/baserow
62871f5bf53c9d25446976031aacb706c0abe584
[ "MIT" ]
79
2020-08-04T01:48:01.000Z
2022-03-27T13:30:54.000Z
import pytest from rest_framework.status import ( HTTP_200_OK, HTTP_204_NO_CONTENT, HTTP_400_BAD_REQUEST, HTTP_404_NOT_FOUND, ) from django.shortcuts import reverse from baserow.core.handler import CoreHandler from baserow.core.models import GroupUser from baserow.core.trash.handler import TrashHandl...
40.282051
84
0.711903
1,076
7,855
4.840149
0.089219
0.119816
0.065284
0.064516
0.863287
0.84351
0.833909
0.811636
0.798579
0.798579
0
0.023701
0.162062
7,855
194
85
40.489691
0.767548
0
0
0.682635
0
0
0.187269
0.08084
0
0
0
0
0.239521
1
0.023952
false
0
0.035928
0
0.05988
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
2c4c4b657eb3513f16420ddec79e50b77562fbf1
4,636
py
Python
superscript/security/pwdcheck.py
AngeIo/projet_python_netway
629c7e8573e4630a5da64fd7166f2b3b6a7697d9
[ "Unlicense" ]
null
null
null
superscript/security/pwdcheck.py
AngeIo/projet_python_netway
629c7e8573e4630a5da64fd7166f2b3b6a7697d9
[ "Unlicense" ]
null
null
null
superscript/security/pwdcheck.py
AngeIo/projet_python_netway
629c7e8573e4630a5da64fd7166f2b3b6a7697d9
[ "Unlicense" ]
null
null
null
# Ce fichier contient une fonction permettant de vérifier si le mot de passe est assez complexe et s'il peut être brute force grâce à un dictonnaire de mots communs # Permet la recherche import re # Permet de faire une pause dans le programme import time # Importe nos fonctions utiles import sys sys.path.insert(0, '...
40.313043
266
0.628991
606
4,636
4.764026
0.334984
0.019397
0.05265
0.058192
0.27849
0.254243
0.200901
0.131625
0.11292
0.11292
0
0.008735
0.283865
4,636
114
267
40.666667
0.860843
0.269845
0
0.260274
0
0.013699
0.378387
0.015653
0
0
0
0
0
1
0.041096
false
0.369863
0.068493
0
0.150685
0.232877
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
0
0
0
0
0
1
2c4d45ff10bd4e69f4855abfc1937bd80b3bc0d3
524
py
Python
lib/galaxy_ext/cwl/handle_outputs.py
hmenager/galaxy
d65d6b586c4760ff65cf294d2587e729b65e7fea
[ "CC-BY-3.0" ]
null
null
null
lib/galaxy_ext/cwl/handle_outputs.py
hmenager/galaxy
d65d6b586c4760ff65cf294d2587e729b65e7fea
[ "CC-BY-3.0" ]
4
2021-02-08T20:28:34.000Z
2022-03-02T02:52:55.000Z
lib/galaxy_ext/cwl/handle_outputs.py
hmenager/galaxy
d65d6b586c4760ff65cf294d2587e729b65e7fea
[ "CC-BY-3.0" ]
1
2018-05-30T07:38:54.000Z
2018-05-30T07:38:54.000Z
""" """ import logging import os import sys # insert *this* galaxy before all others on sys.path sys.path.insert(1, os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir, os.pardir))) from galaxy.tool_util.cwl import handle_outputs # ensure supported version assert sys.version_info[:2] >= (2, 6) and sys...
23.818182
136
0.727099
84
524
4.357143
0.547619
0.04918
0.076503
0.081967
0.087432
0
0
0
0
0
0
0.024176
0.131679
524
21
137
24.952381
0.78022
0.14313
0
0
0
0
0.104784
0
0
0
0
0
0.1
1
0.1
false
0
0.4
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
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
2c4e1b3188875d9cc7ead2bb542721689bd51cbf
2,107
py
Python
util/trig.py
alemigliardi/talkbot
371f2c9e7240a4438cbb202865cf18dbefb0c352
[ "MIT" ]
2
2021-08-07T12:01:26.000Z
2022-01-31T13:48:25.000Z
util/trig.py
alemigliardi/talkbot
371f2c9e7240a4438cbb202865cf18dbefb0c352
[ "MIT" ]
null
null
null
util/trig.py
alemigliardi/talkbot
371f2c9e7240a4438cbb202865cf18dbefb0c352
[ "MIT" ]
1
2021-08-07T12:01:28.000Z
2021-08-07T12:01:28.000Z
import os import re import asyncio from pyrogram.types import Message from util.message import send_media class Trigger: def __init__(self, regex:str, response:str = "", from_self:bool = False, from_others:bool = True, mention:bool = True, media_path:str = "", auto_vanish:int = -1, ): self.re...
24.218391
79
0.688657
301
2,107
4.664452
0.252492
0.051282
0.049858
0.042735
0.08547
0.068376
0.068376
0.068376
0.068376
0.068376
0
0.001156
0.178927
2,107
86
80
24.5
0.810405
0.011391
0
0.135135
0
0
0.086977
0
0
0
0
0
0
1
0.094595
false
0
0.067568
0.040541
0.297297
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
0
0
0
0
0
1
0
2c4fccadd03cd528d853e80ad9d2e69c96250a99
3,185
py
Python
back-app/research/form_vision/template_matching.py
AntoineAwaida/ad-covia
1dd10a0361421149e6e318fee146ccf370a81074
[ "MIT" ]
1
2020-04-15T13:48:34.000Z
2020-04-15T13:48:34.000Z
back-app/research/form_vision/template_matching.py
AntoineAwaida/ad-covia
1dd10a0361421149e6e318fee146ccf370a81074
[ "MIT" ]
1
2022-02-13T09:58:43.000Z
2022-02-13T09:58:43.000Z
back-app/research/form_vision/template_matching.py
AntoineAwaida/ad-covia
1dd10a0361421149e6e318fee146ccf370a81074
[ "MIT" ]
null
null
null
import cv2 from typing import Tuple, Generator from research.form_vision.image import Image, NormalizedCoords import numpy as np class TemplateMatcher: width = 800 def __init__( self, template_image: Image, reference_region: Tuple[NormalizedCoords, NormalizedCoords] ): self._template = te...
44.236111
96
0.663736
412
3,185
4.759709
0.218447
0.107088
0.053034
0.038756
0.164202
0.164202
0.123406
0.047935
0.047935
0.047935
0
0.022231
0.237363
3,185
71
97
44.859155
0.785097
0
0
0.066667
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0.066667
0.016667
0.283333
0.016667
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
0
0
0
0
0
1
0
2c5166b8cabcb5a4f633be4f4e1a16e185d3520c
763
py
Python
src/run.py
ShaghayeghAmeri/test
968eea52ce0ea309f020add61ab597ca402feb14
[ "MIT" ]
null
null
null
src/run.py
ShaghayeghAmeri/test
968eea52ce0ea309f020add61ab597ca402feb14
[ "MIT" ]
null
null
null
src/run.py
ShaghayeghAmeri/test
968eea52ce0ea309f020add61ab597ca402feb14
[ "MIT" ]
null
null
null
import os import emoji import telebot from loguru import logger from src.utils.constant import keyboards from src.utils.io import write_json class But: """ telegram bot to randomly connect two strangers """ def __init__(self): self.bot = telebot.TeleBot(os.environ['BOT_TOKEN']) self....
23.84375
89
0.673657
104
763
4.740385
0.509615
0.056795
0.048682
0
0
0
0
0
0
0
0
0
0.209699
763
31
90
24.612903
0.817579
0.060288
0
0
0
0
0.065714
0
0
0
0
0
0
1
0.15
false
0
0.3
0
0.5
0.05
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
0
0
0
0
0
1
0
2c52b06ffe9aba58e5600ed9c53a392211b57c2c
713
py
Python
PythonFiles/MCQGame.py
IamVaibhavsar/Python_Files
283d73929a3e11955c71499407c4f8bff56e4273
[ "MIT" ]
null
null
null
PythonFiles/MCQGame.py
IamVaibhavsar/Python_Files
283d73929a3e11955c71499407c4f8bff56e4273
[ "MIT" ]
null
null
null
PythonFiles/MCQGame.py
IamVaibhavsar/Python_Files
283d73929a3e11955c71499407c4f8bff56e4273
[ "MIT" ]
1
2019-07-26T15:25:21.000Z
2019-07-26T15:25:21.000Z
from MCQGame2 import Question MCQ=[ "What color of apples? \na)red\nb)blue\nc)green\nd)yellow", "Half adder has how many inputs?\na)1\nb)2\nc)3\nd)4", "which operator can be overloaded?\na).\nb).*\nc)::\nd)+" ] questions = [ Question(MCQ[0],"a"), #Objects of class Question Question...
31
82
0.601683
100
713
4.27
0.61
0.103045
0.074941
0
0
0
0
0
0
0
0
0.018587
0.245442
713
23
83
31
0.775093
0.106592
0
0
0
0.105263
0.30832
0.153344
0
0
0
0
0
1
0.052632
false
0
0.052632
0
0.105263
0.052632
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
0
0
0
0
0
1
0
2c52e41b928f577557908dcb035f2bea35861221
5,286
py
Python
gada/main.py
gadalang/gada
2dd4f4dfd5b7390c06307040cad23203a015f7a4
[ "MIT" ]
null
null
null
gada/main.py
gadalang/gada
2dd4f4dfd5b7390c06307040cad23203a015f7a4
[ "MIT" ]
null
null
null
gada/main.py
gadalang/gada
2dd4f4dfd5b7390c06307040cad23203a015f7a4
[ "MIT" ]
1
2021-06-15T13:52:33.000Z
2021-06-15T13:52:33.000Z
from __future__ import annotations __all__ = ["run", "main"] import os import sys import io import argparse from typing import Optional from gada import component, runners, datadir def split_unknown_args(argv: list[str]) -> tuple[list[str], list[str]]: """Separate known command-line arguments from unknown one. ...
30.034091
90
0.541241
582
5,286
4.821306
0.252577
0.022808
0.027798
0.024234
0.560941
0.54526
0.54526
0.518175
0.518175
0.518175
0
0.001399
0.323685
5,286
175
91
30.205714
0.783497
0.588347
0
0.214286
0
0
0.075607
0
0
0
0
0
0
1
0.053571
false
0
0.125
0
0.214286
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
0
0
0
0
0
1
0
2c542dbe200f504a92d4395bd7676e95bb9c6b42
2,912
py
Python
Example_Cases/Gypsum_Model/Scripts/external_gyp1d.py
koverholt/bayes-fire
4333cdf7b93bf77d8e021f0c4a1931a77056534d
[ "BSD-3-Clause" ]
6
2016-06-19T12:44:22.000Z
2021-12-21T07:01:38.000Z
Example_Cases/Gypsum_Model/Scripts/external_gyp1d.py
koverholt/bayes-fire
4333cdf7b93bf77d8e021f0c4a1931a77056534d
[ "BSD-3-Clause" ]
null
null
null
Example_Cases/Gypsum_Model/Scripts/external_gyp1d.py
koverholt/bayes-fire
4333cdf7b93bf77d8e021f0c4a1931a77056534d
[ "BSD-3-Clause" ]
2
2017-10-15T02:37:25.000Z
2022-03-04T16:22:44.000Z
#!/usr/bin/env python """Module for gyp1d functions""" import numpy as np import platform import subprocess import os import data_expt as de # Detect operating system op_sys = platform.system() def gen_input( k1, k2, k3, k4, rho_0, c_p1, c_p2, c_p3, eps, Y1_0, A1, A2, E1, E2, dh1, dh2 ): """Genera...
26
76
0.457074
380
2,912
3.339474
0.363158
0.018913
0.014184
0.016548
0.092987
0.064618
0.064618
0.064618
0.064618
0.064618
0
0.082458
0.346154
2,912
111
77
26.234234
0.584034
0.246566
0
0.028571
0
0.014286
0.261538
0.020979
0
0
0
0
0
1
0.042857
false
0
0.071429
0
0.142857
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
0
0
0
0
0
1
0
2c54677ea98da9a5515de3a923f5ef0038257527
6,356
py
Python
datacollector/collector/maincollector.py
samharju/5GDrones-data-collector
331d8c433f5b46eaba62a55c39bbe12d365b2474
[ "Apache-2.0" ]
2
2021-04-26T07:08:26.000Z
2021-05-01T16:01:26.000Z
datacollector/collector/maincollector.py
samharju/5GDrones-data-collector
331d8c433f5b46eaba62a55c39bbe12d365b2474
[ "Apache-2.0" ]
null
null
null
datacollector/collector/maincollector.py
samharju/5GDrones-data-collector
331d8c433f5b46eaba62a55c39bbe12d365b2474
[ "Apache-2.0" ]
1
2021-05-01T15:04:46.000Z
2021-05-01T15:04:46.000Z
# © 2021 Nokia # # Licensed under the Apache license, version 2.0 # SPDX-License-Identifier: Apache-2.0 """Class for handling collector threads.""" import logging import time from datetime import datetime from threading import Event, Thread from datacollector.collector.connection_config_parser import ConnectionConfig...
35.50838
118
0.637823
695
6,356
5.620144
0.284892
0.060932
0.046083
0.02765
0.117256
0.075269
0.041987
0
0
0
0
0.001736
0.274858
6,356
178
119
35.707865
0.84552
0.188483
0
0.184211
0
0
0.086735
0
0
0
0
0
0
1
0.166667
false
0.008772
0.061404
0.008772
0.324561
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
0
0
0
0
0
1
0
2c55b9fde76dce6c7aa8c956dc28575c3c2afb98
5,959
py
Python
utils/memory.py
alanmackey/DRL-for-BG-Control
a7c5015b828c250205b9ecb1bf4bdb928e0d975f
[ "MIT" ]
null
null
null
utils/memory.py
alanmackey/DRL-for-BG-Control
a7c5015b828c250205b9ecb1bf4bdb928e0d975f
[ "MIT" ]
null
null
null
utils/memory.py
alanmackey/DRL-for-BG-Control
a7c5015b828c250205b9ecb1bf4bdb928e0d975f
[ "MIT" ]
null
null
null
import numpy as np import torch class ReplayBuffer(object): def __init__( self, state_dim, action_dim, hidden_size, max_size=int(5e3), recurrent=False ): self.max_size = int(max_size) self.ptr = 0 self.size = 0 self.recurrent = recurrent s...
38.445161
80
0.538345
749
5,959
4.190921
0.158879
0.076457
0.087926
0.04014
0.670596
0.662313
0.630137
0.630137
0.58936
0.540299
0
0.004302
0.336801
5,959
154
81
38.694805
0.78998
0.129888
0
0.531532
0
0
0.001396
0
0
0
0
0.006494
0
1
0.054054
false
0
0.018018
0
0.126126
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
0
0
0
0
0
1
0
2c55cb60066b63268c6e425f58d7bb8433e5fe69
1,226
py
Python
src/five/grok/subscribers.py
zopefoundation/five.grok
d5fcbe2e081a4cec96d8ec658498f9fc33963bf9
[ "ZPL-2.1" ]
1
2016-10-26T16:45:57.000Z
2016-10-26T16:45:57.000Z
src/five/grok/subscribers.py
zopefoundation/five.grok
d5fcbe2e081a4cec96d8ec658498f9fc33963bf9
[ "ZPL-2.1" ]
2
2021-01-05T14:30:32.000Z
2021-03-25T18:38:06.000Z
src/five/grok/subscribers.py
zopefoundation/five.grok
d5fcbe2e081a4cec96d8ec658498f9fc33963bf9
[ "ZPL-2.1" ]
2
2015-04-03T04:41:12.000Z
2019-08-20T08:02:52.000Z
############################################################################## # # Copyright (c) 2006-2009 Zope Foundation and Contributors. # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # THI...
38.3125
78
0.675367
153
1,226
5.385621
0.601307
0.029126
0.033981
0.041262
0
0
0
0
0
0
0
0.009569
0.147635
1,226
31
79
39.548387
0.778947
0.582382
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.571429
0
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
0
0
0
1
0
0
0
0
1
2c566a2dcb7cec78c109c0686b33ccf0da89a5b9
1,043
py
Python
TilingDomains/main.py
ClathomasPrime/linear-prefs
e700589a82667ca0f307459816e4f5b211fbd7d2
[ "BSD-3-Clause" ]
null
null
null
TilingDomains/main.py
ClathomasPrime/linear-prefs
e700589a82667ca0f307459816e4f5b211fbd7d2
[ "BSD-3-Clause" ]
null
null
null
TilingDomains/main.py
ClathomasPrime/linear-prefs
e700589a82667ca0f307459816e4f5b211fbd7d2
[ "BSD-3-Clause" ]
null
null
null
from GraphDraw import * from Graph import * from Implicit import * from impExamples import * import os import errno flags = os.O_CREAT | os.O_EXCL | os.O_WRONLY # For trying stuff # Currently just displays the alternating domain on 9 outcomes n = 9 impG = impAlternatingDomain(n) G = impG.explicit() d = G.d G.comp...
21.285714
71
0.700863
156
1,043
4.653846
0.557692
0.022039
0.024793
0
0
0
0
0
0
0
0
0.002315
0.17162
1,043
48
72
21.729167
0.837963
0.223394
0
0.064516
0
0
0.121891
0.078358
0
0
0
0
0
1
0
false
0.032258
0.193548
0
0.193548
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
0
0
0
0
0
1
0
2c583e62e222fa52ab726c248c5d0731a9185e71
3,647
py
Python
reinforcement-learning/deep-line-wars/game_1.py
cair/experiments
d19a9eda0e9e743e401f46eec358f0c815c64a7c
[ "MIT" ]
null
null
null
reinforcement-learning/deep-line-wars/game_1.py
cair/experiments
d19a9eda0e9e743e401f46eec358f0c815c64a7c
[ "MIT" ]
null
null
null
reinforcement-learning/deep-line-wars/game_1.py
cair/experiments
d19a9eda0e9e743e401f46eec358f0c815c64a7c
[ "MIT" ]
null
null
null
import random import numpy as np from PIL import Image from DeepLineWars.Game import Game import uuid # https://github.com/cair/DeepRTS # https://github.com/reinforceio/tensorforce class GameInstance: @staticmethod def start(data_queue): g = GameInstance(data_queue) g.loop() return T...
26.427536
87
0.502879
398
3,647
4.462312
0.344221
0.050676
0.016892
0.024775
0.108108
0.087838
0.030405
0
0
0
0
0.03278
0.389361
3,647
137
88
26.620438
0.764706
0.05292
0
0.058824
0
0
0.076722
0
0
0
0
0
0
1
0.04902
false
0
0.068627
0
0.166667
0.019608
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
0
0
0
0
0
1
0
2c59f1356149160db7e39588bbaf937c38c8c634
790
py
Python
src/back-django/scraper_api/tests/views/test_page_list_view.py
Arkko002/PyWalker
9e8a02b74a1217cfed385898654815a218297cce
[ "MIT" ]
null
null
null
src/back-django/scraper_api/tests/views/test_page_list_view.py
Arkko002/PyWalker
9e8a02b74a1217cfed385898654815a218297cce
[ "MIT" ]
null
null
null
src/back-django/scraper_api/tests/views/test_page_list_view.py
Arkko002/PyWalker
9e8a02b74a1217cfed385898654815a218297cce
[ "MIT" ]
null
null
null
import json import pytest from django.urls import reverse from scraper_api.models import ScrapedPage class TestPageListView: @pytest.mark.django_db def test_get(self, client, fill_db, url, html): url = reverse("pages/") response = client.get(url) pages = json.loads(response.body) ...
23.939394
53
0.605063
98
790
4.77551
0.418367
0.044872
0.068376
0.076923
0.24359
0.24359
0
0
0
0
0
0.017331
0.26962
790
32
54
24.6875
0.793761
0
0
0.173913
0
0
0.039241
0
0
0
0
0
0.086957
1
0.086957
false
0
0.173913
0
0.304348
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
0
0
0
0
0
1
0
2c5b65c5e6531b659a8e6e99893df6321affb8d2
1,566
py
Python
budgeted_bo/experiment_manager.py
RaulAstudillo06/BudgetedBO
740cbf8397ac68bcdb1a196f2b56381adb1be1b4
[ "MIT" ]
1
2022-03-30T11:45:59.000Z
2022-03-30T11:45:59.000Z
budgeted_bo/experiment_manager.py
RaulAstudillo06/BudgetedBO
740cbf8397ac68bcdb1a196f2b56381adb1be1b4
[ "MIT" ]
null
null
null
budgeted_bo/experiment_manager.py
RaulAstudillo06/BudgetedBO
740cbf8397ac68bcdb1a196f2b56381adb1be1b4
[ "MIT" ]
null
null
null
from typing import Callable, Dict, List, Optional import os import sys from budgeted_bo.budgeted_bo_trial import budgeted_bo_trial def experiment_manager( problem: str, algo: str, algo_params: Dict, restart: bool, first_trial: int, last_trial: int, get_objective_cost_function: Callable,...
29.54717
84
0.658365
185
1,566
5.145946
0.286486
0.201681
0.264706
0.201681
0.289916
0.201681
0.130252
0
0
0
0
0.008
0.281609
1,566
52
85
30.115385
0.838222
0
0
0
0
0
0
0
0
0
0
0
0
1
0.023256
false
0
0.093023
0
0.116279
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
2c5bc0aa11bc0c3b60a29a13ecd16e57a11921fb
594
py
Python
skfasttext/sk_ft_example.py
tatacoa/hatespeech
fab054d86848c2242443ae3ddf532e94f404f529
[ "MIT" ]
2
2020-03-15T13:46:46.000Z
2020-05-26T06:56:52.000Z
skfasttext/sk_ft_example.py
tatacoa/hatespeech
fab054d86848c2242443ae3ddf532e94f404f529
[ "MIT" ]
1
2018-05-22T20:22:39.000Z
2018-05-22T20:22:39.000Z
skfasttext/sk_ft_example.py
tatacoa/hatespeech
fab054d86848c2242443ae3ddf532e94f404f529
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed May 2 17:34:43 2018 @author: arndt """ # http://scikit-learn.org/stable/developers/contributing.html#rolling-your-own-estimator # https://github.com/vishnumani2009/sklearn-fasttext from os import chdir chdir("/home/arndt/git-reps/hatespeech/") from ...
25.826087
88
0.76936
86
594
5.232558
0.755814
0.04
0
0
0
0
0
0
0
0
0
0.033457
0.094276
594
23
89
25.826087
0.802974
0.488215
0
0
0
0
0.236301
0.109589
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
2c5c4a72fd65572e3fc2aa97977ae16747547c5e
15,366
py
Python
src/niweb/apps/noclook/tests/schema/admin/test_schema.py
SUNET/ni
f652e230524346bf0801cdf8bbb6ee63f4985cc2
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
src/niweb/apps/noclook/tests/schema/admin/test_schema.py
SUNET/ni
f652e230524346bf0801cdf8bbb6ee63f4985cc2
[ "BSD-2-Clause-FreeBSD" ]
2
2019-07-24T12:41:11.000Z
2020-03-31T10:10:04.000Z
src/niweb/apps/noclook/tests/schema/admin/test_schema.py
SUNET/ni
f652e230524346bf0801cdf8bbb6ee63f4985cc2
[ "BSD-2-Clause-FreeBSD" ]
1
2019-02-25T14:58:20.000Z
2019-02-25T14:58:20.000Z
# -*- coding: utf-8 -*- __author__ = 'ffuentes' from apps.noclook.tests.schema.base import Neo4jGraphQLGenericTest from apps.noclook.models import NodeHandleContext from django.contrib.auth.models import User from niweb.schema import schema from pprint import pformat from . import BasicAdminTest import apps.noclook....
32.486258
84
0.416829
1,166
15,366
5.327616
0.135506
0.030908
0.025113
0.023181
0.680779
0.634095
0.602061
0.591436
0.553928
0.489375
0
0.003561
0.470064
15,366
472
85
32.555085
0.759302
0.035923
0
0.638961
0
0
0.20815
0
0
0
0
0
0.044156
1
0.018182
false
0
0.020779
0
0.057143
0.002597
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
0
0
0
0
0
1
0
2c5dd0656347646332272640e2221b08b0557874
179
py
Python
src/codebots/utilities/message.py
franaudo/codebots
f45ee9f665cadc4627d397ae74eefca226269656
[ "MIT" ]
5
2021-05-06T21:51:30.000Z
2022-01-10T17:53:00.000Z
src/codebots/utilities/message.py
franaudo/codebots
f45ee9f665cadc4627d397ae74eefca226269656
[ "MIT" ]
10
2021-04-03T12:00:27.000Z
2021-11-04T16:27:48.000Z
src/codebots/utilities/message.py
franaudo/codebots
f45ee9f665cadc4627d397ae74eefca226269656
[ "MIT" ]
null
null
null
def format_message(message, to_replace=["_", "*", "[", "`"]): for symbol in to_replace: message.replace(symbol, '\\' + symbol) message.rp return message
22.375
61
0.581006
19
179
5.263158
0.526316
0.18
0
0
0
0
0
0
0
0
0
0
0.240223
179
7
62
25.571429
0.735294
0
0
0
0
0
0.033898
0
0
0
0
0
0
1
0.2
false
0
0
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
0
0
0
0
0
2
2c5e15ddaa18b77dfb245e91f9e636201f9744ac
1,542
py
Python
alphamind/tests/analysis/test_perfanalysis.py
rongliang-tech/alpha-mind
39f720974c637d17e185e445dc05c9fc4863a241
[ "MIT" ]
186
2017-11-27T01:26:44.000Z
2022-03-28T16:11:33.000Z
alphamind/tests/analysis/test_perfanalysis.py
atefar2/alpha-mind
66d839affb5d81d31d5cac7e5e224278e3f99a8b
[ "MIT" ]
2
2017-12-19T02:47:36.000Z
2021-01-09T05:25:18.000Z
alphamind/tests/analysis/test_perfanalysis.py
atefar2/alpha-mind
66d839affb5d81d31d5cac7e5e224278e3f99a8b
[ "MIT" ]
65
2017-11-27T01:26:47.000Z
2022-03-17T10:50:52.000Z
# -*- coding: utf-8 -*- """ Created on 2017-5-12 @author: cheng.li """ import unittest import numpy as np import pandas as pd from alphamind.analysis.perfanalysis import perf_attribution_by_pos class TestPerformanceAnalysis(unittest.TestCase): @classmethod def test_perf_attribution_by_pos(cls): n...
33.521739
90
0.630999
186
1,542
4.897849
0.419355
0.052689
0.052689
0.074643
0.188804
0.188804
0.161361
0.161361
0.161361
0.161361
0
0.017086
0.278859
1,542
45
91
34.266667
0.802158
0.040208
0
0
0
0
0.005435
0
0
0
0
0
0.037037
1
0.037037
false
0
0.148148
0
0.222222
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
0
0
0
0
0
1
0
2c5f7612ff8eec29cef986e54718511e7172e74e
1,457
py
Python
appengine/src/greenday_api/tests/test_distinct_channels_api.py
meedan/montage
4da0116931edc9af91f226876330645837dc9bcc
[ "Apache-2.0" ]
6
2018-07-31T16:48:07.000Z
2020-02-01T03:17:51.000Z
appengine/src/greenday_api/tests/test_distinct_channels_api.py
meedan/montage
4da0116931edc9af91f226876330645837dc9bcc
[ "Apache-2.0" ]
41
2018-08-07T16:43:07.000Z
2020-06-05T18:54:50.000Z
appengine/src/greenday_api/tests/test_distinct_channels_api.py
meedan/montage
4da0116931edc9af91f226876330645837dc9bcc
[ "Apache-2.0" ]
1
2018-08-07T16:40:18.000Z
2018-08-07T16:40:18.000Z
""" Tests for :mod:`greenday_api.misc.distinct_channels_api <greenday_api.misc.distinct_channels_api>` """ from protorpc import message_types from .base import ApiTestCase from ..misc.distinct_channels_api import DistinctChannelsAPI class DistinctChannelsAPITests(ApiTestCase): """ Test case for ...
29.734694
102
0.660261
178
1,457
5.157303
0.331461
0.139434
0.108932
0.125272
0.328976
0.302832
0.302832
0.302832
0.220044
0.220044
0
0.027828
0.235415
1,457
48
103
30.354167
0.79623
0.190803
0
0
0
0
0.027624
0
0
0
0
0
0.136364
1
0.090909
false
0
0.136364
0
0.318182
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
0
0
0
0
0
1
0
2c61fe287fc769d5cf8304f253d442e59d2612c9
1,043
py
Python
lib/augment/random_intensity_shift.py
Healingl/3DAPRNet
7c5e0028ae844df4e1f26327e8b438532ca0745f
[ "BSD-2-Clause" ]
null
null
null
lib/augment/random_intensity_shift.py
Healingl/3DAPRNet
7c5e0028ae844df4e1f26327e8b438532ca0745f
[ "BSD-2-Clause" ]
null
null
null
lib/augment/random_intensity_shift.py
Healingl/3DAPRNet
7c5e0028ae844df4e1f26327e8b438532ca0745f
[ "BSD-2-Clause" ]
null
null
null
#! /usr/bin/env python # -*- coding: utf-8 -*- # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # @Author: ZhuangYuZhou # @E-mail: 605540375@qq.com # @Desc: # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # import numpy as np def random_intensity_shift(img_numpy, limit=0.1): shift...
26.74359
79
0.541707
119
1,043
4.546218
0.436975
0.147874
0.073937
0.085028
0.195933
0.195933
0
0
0
0
0
0.046259
0.295302
1,043
38
80
27.447368
0.689796
0.347076
0
0
0
0
0
0
0
0
0
0
0.076923
1
0.230769
false
0
0.076923
0
0.538462
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
0
1
0
0
2
2c6286fd32645a00f545efe144b70f41a29faabd
291
py
Python
src/djask/exceptions.py
z-t-y/Djask
d9867b3b91e2c50a07c701b4e2ef51a0c583c82c
[ "MIT" ]
19
2021-11-10T07:26:56.000Z
2022-02-07T08:45:48.000Z
src/djask/exceptions.py
z-t-y/Djask
d9867b3b91e2c50a07c701b4e2ef51a0c583c82c
[ "MIT" ]
2
2021-11-10T07:25:19.000Z
2021-11-30T14:23:53.000Z
src/djask/exceptions.py
z-t-y/Djask
d9867b3b91e2c50a07c701b4e2ef51a0c583c82c
[ "MIT" ]
1
2021-11-10T13:06:57.000Z
2021-11-10T13:06:57.000Z
AuthModelInvalid = Exception( "The auth model you passed to the app config" "should be a subclass of djask.auth.abstract.AbstractUser." ) ModelTypeError = TypeError( "The arg passed to register_model() must be a subclass of" "Model instead of PureModel or something else." )
32.333333
63
0.735395
40
291
5.325
0.7
0.075117
0.103286
0.122066
0
0
0
0
0
0
0
0
0.19244
291
8
64
36.375
0.906383
0
0
0
0
0
0.690722
0.113402
0
0
0
0
0
1
0
false
0.25
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
0
1
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
2c6349a307102d7f6afaff901e97fb40d85722ea
3,142
py
Python
pypipegraph/utils/log_listen.py
bopopescu/pypipegraph-2
3a3f9ba565789d8d73c8cd503703a957de2be9d8
[ "MIT" ]
4
2017-05-24T16:57:42.000Z
2017-09-21T19:55:27.000Z
pypipegraph/utils/log_listen.py
bopopescu/pypipegraph-2
3a3f9ba565789d8d73c8cd503703a957de2be9d8
[ "MIT" ]
2
2019-11-22T15:33:47.000Z
2020-07-27T11:59:44.000Z
pypipegraph/utils/log_listen.py
bopopescu/pypipegraph-2
3a3f9ba565789d8d73c8cd503703a957de2be9d8
[ "MIT" ]
4
2015-08-26T15:43:00.000Z
2020-07-20T03:36:40.000Z
""" The MIT License (MIT) Copyright (c) 2012, Florian Finkernagel <finkernagel@imt.uni-marburg.de> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitatio...
33.425532
88
0.693507
414
3,142
5.256039
0.478261
0.040441
0.026195
0.011029
0.074449
0.061581
0.061581
0
0
0
0
0.00528
0.216423
3,142
93
89
33.784946
0.878554
0.397518
0
0.098039
0
0
0.186405
0
0
0
0
0
0
1
0.098039
false
0
0.117647
0
0.294118
0.137255
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
0
0
0
0
0
1
0
2c68214d1193846a164314f13ae12a80f459ffd1
9,130
py
Python
ldapauthenticator/ldapauthenticator.py
jbmarcille/ldapauthenticator
f6037d72bd8c76317b8741d96de1c7b1dee26298
[ "BSD-3-Clause" ]
null
null
null
ldapauthenticator/ldapauthenticator.py
jbmarcille/ldapauthenticator
f6037d72bd8c76317b8741d96de1c7b1dee26298
[ "BSD-3-Clause" ]
null
null
null
ldapauthenticator/ldapauthenticator.py
jbmarcille/ldapauthenticator
f6037d72bd8c76317b8741d96de1c7b1dee26298
[ "BSD-3-Clause" ]
null
null
null
import ldap3 import re from jupyterhub.auth import Authenticator from tornado import gen from traitlets import Unicode, Int, Bool, List, Union class LDAPAuthenticator(Authenticator): server_address = Unicode( config=True, help=""" Address of the LDAP server to contact. Could be a...
37.572016
142
0.571742
1,064
9,130
4.843985
0.265977
0.017462
0.016298
0.015522
0.123399
0.094684
0.082266
0.063252
0.063252
0.029492
0
0.003565
0.354874
9,130
242
143
37.727273
0.871477
0.053998
0
0.288557
0
0.014925
0.476119
0.039764
0
0
0
0.004132
0
1
0.014925
false
0.039801
0.024876
0
0.139303
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
0
0
0
0
0
1
0
2c690bc84bca9b6e4b870cf8e5b1443608a944f6
6,567
py
Python
mayan/apps/mailer/tests/mixins.py
atitaya1412/Mayan-EDMS
bda9302ba4b743e7d829ad118b8b836221888172
[ "Apache-2.0" ]
336
2019-05-09T07:05:19.000Z
2022-03-25T09:50:22.000Z
mayan/apps/mailer/tests/mixins.py
atitaya1412/Mayan-EDMS
bda9302ba4b743e7d829ad118b8b836221888172
[ "Apache-2.0" ]
9
2019-10-29T00:12:27.000Z
2021-09-09T15:16:51.000Z
mayan/apps/mailer/tests/mixins.py
atitaya1412/Mayan-EDMS
bda9302ba4b743e7d829ad118b8b836221888172
[ "Apache-2.0" ]
257
2019-05-14T10:26:37.000Z
2022-03-30T03:37:36.000Z
import json from ..models import UserMailer from .literals import ( TEST_EMAIL_ADDRESS, TEST_EMAIL_FROM_ADDRESS, TEST_USER_MAILER_BACKEND_PATH, TEST_USER_MAILER_LABEL ) class DocumentMailerViewTestMixin: def _request_test_document_send_link_single_view(self): return self.post( viewna...
33.676923
77
0.568296
655
6,567
5.224427
0.080916
0.119813
0.106371
0.078901
0.880479
0.838691
0.815313
0.79924
0.784337
0.690824
0
0
0.349931
6,567
194
78
33.850515
0.801593
0
0
0.467836
0
0
0.16187
0.079793
0
0
0
0
0
1
0.093567
false
0
0.017544
0.087719
0.22807
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
2c695519ed44dfa893d318d7ce5d6dc9b04a5db7
223
py
Python
method_photo2paint/loader.py
Qwinpin/NeuroDemo
52220dd2904e96485ce92adb171e68522915a1fb
[ "MIT" ]
1
2021-03-09T22:59:55.000Z
2021-03-09T22:59:55.000Z
method_photo2paint/loader.py
Qwinpin/NeuroDemo
52220dd2904e96485ce92adb171e68522915a1fb
[ "MIT" ]
null
null
null
method_photo2paint/loader.py
Qwinpin/NeuroDemo
52220dd2904e96485ce92adb171e68522915a1fb
[ "MIT" ]
null
null
null
import json import io from PIL import Image import cv2 import numpy as np def load(data): image = Image.open(io.BytesIO(data)) opencvImage = cv2.cvtColor(np.array(image), cv2.COLOR_RGB2BGR) return opencvImage
18.583333
66
0.73991
34
223
4.823529
0.617647
0
0
0
0
0
0
0
0
0
0
0.021739
0.174888
223
11
67
20.272727
0.869565
0
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.555556
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
2c6b0c96f51c49cf2ddaf1214e424470ce2b7534
23,329
py
Python
PyText3.py
Shock9616/PyText3
f16214060390ae8b457fc8dfbdb0943c7c34720b
[ "MIT" ]
null
null
null
PyText3.py
Shock9616/PyText3
f16214060390ae8b457fc8dfbdb0943c7c34720b
[ "MIT" ]
null
null
null
PyText3.py
Shock9616/PyText3
f16214060390ae8b457fc8dfbdb0943c7c34720b
[ "MIT" ]
1
2021-11-06T13:45:11.000Z
2021-11-06T13:45:11.000Z
#!/usr/bin/env python3 """ The main file for a basic code editor written entirely with the python standard library main.py PyText3 Text Editor Created by Kaleb Rosborough on 10/23/2018 Copyright © Shock9616 2018 All rights reserved """ #region Imports from tkinter import * import tkinter as tk from ...
37.207337
114
0.582365
2,506
23,329
5.378292
0.180367
0.054014
0.031162
0.027304
0.481451
0.433076
0.387298
0.374833
0.290473
0.225479
0
0.011048
0.251147
23,329
626
115
37.266773
0.760332
0.071885
0
0.311301
0
0
0.158422
0.002273
0
0
0
0
0
1
0.053305
false
0.002132
0.021322
0
0.089552
0.004264
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
0
0
0
0
0
1
0
2c6b575ef99f368943f9457f0e564df734ee7fbc
569
py
Python
array/0075_sort_colors/0075_sort_colors.py
zdyxry/LeetCode
33371285d0f3302158230f46e8b1b63b9f4639c4
[ "Xnet", "X11" ]
6
2019-09-16T01:50:44.000Z
2020-09-17T08:52:25.000Z
array/0075_sort_colors/0075_sort_colors.py
zdyxry/LeetCode
33371285d0f3302158230f46e8b1b63b9f4639c4
[ "Xnet", "X11" ]
null
null
null
array/0075_sort_colors/0075_sort_colors.py
zdyxry/LeetCode
33371285d0f3302158230f46e8b1b63b9f4639c4
[ "Xnet", "X11" ]
4
2020-02-07T12:43:16.000Z
2021-04-11T06:38:55.000Z
class Solution(object): def sortColors(self, nums): def triPartition(nums, target): i,j,n = 0, 0,len(nums) -1 while j <= n: if nums[j] < target: nums[i], nums[j] = nums[j], nums[i] i += 1 j += 1 ...
27.095238
55
0.391916
70
569
3.185714
0.3
0.134529
0.121076
0.134529
0
0
0
0
0
0
0
0.046358
0.469244
569
21
56
27.095238
0.692053
0
0
0.111111
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.166667
0.055556
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
0
0
0
0
0
1
0
2c6b6b00c0e5fe6ce8b9350c4a38df05692a0c5c
2,545
py
Python
transforms/h52h5.py
srujanm/ibex
ed8167b8b1573830bee39c469db7733fdfcb41d1
[ "MIT" ]
3
2018-08-10T21:11:09.000Z
2019-07-26T13:47:24.000Z
transforms/h52h5.py
srujanm/ibex
ed8167b8b1573830bee39c469db7733fdfcb41d1
[ "MIT" ]
null
null
null
transforms/h52h5.py
srujanm/ibex
ed8167b8b1573830bee39c469db7733fdfcb41d1
[ "MIT" ]
6
2018-03-05T20:14:11.000Z
2020-07-23T18:39:16.000Z
# general functions for transforming h5 files from ibex.utilities.constants import * from numba import jit import numpy as np import math # downsample the data by (z, y, x) ratio @jit(nopython=True) def DownsampleData(data, ratio=(1, 2, 2)): # get the size of the current dataset (zres, yres, xres) = data.shap...
31.036585
118
0.604715
362
2,545
4.171271
0.28453
0.027815
0.021192
0.02649
0.25894
0.14106
0.109272
0.109272
0.109272
0
0
0.009896
0.285265
2,545
82
119
31.036585
0.820231
0.178782
0
0.061224
0
0
0
0
0
0
0
0
0.020408
1
0.061224
false
0
0.081633
0
0.204082
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
0
0
0
0
0
1
0
2c6b8ac427b82ce738a5cf54c3cc83a98bf7c03e
278
py
Python
bank_card.py
rizuchaa/atm-machine
272882c336e43249d5910c3832be4c605da504a9
[ "Apache-2.0" ]
null
null
null
bank_card.py
rizuchaa/atm-machine
272882c336e43249d5910c3832be4c605da504a9
[ "Apache-2.0" ]
null
null
null
bank_card.py
rizuchaa/atm-machine
272882c336e43249d5910c3832be4c605da504a9
[ "Apache-2.0" ]
null
null
null
# inisiasi set awal kartu class bank_card: # finish def __init__(self, pin, balance): self.set_pin = pin self.set_balance = balance def check_set_pin(self): return self.set_pin def check_set_bal(self): return self.set_balance
21.384615
37
0.643885
39
278
4.25641
0.410256
0.168675
0.120482
0.204819
0
0
0
0
0
0
0
0
0.284173
278
12
38
23.166667
0.834171
0.107914
0
0
0
0
0
0
0
0
0
0
0
1
0.375
false
0
0
0.25
0.75
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
2c6cb0e6002ce145b860df144f89f8a9ed73d281
5,629
py
Python
unpythonic/syntax/test/test_conts_topo.py
aisha-w/unpythonic
0f63abf6ac7efb7304b676d0e1ebce0ef4040438
[ "BSD-2-Clause" ]
null
null
null
unpythonic/syntax/test/test_conts_topo.py
aisha-w/unpythonic
0f63abf6ac7efb7304b676d0e1ebce0ef4040438
[ "BSD-2-Clause" ]
null
null
null
unpythonic/syntax/test/test_conts_topo.py
aisha-w/unpythonic
0f63abf6ac7efb7304b676d0e1ebce0ef4040438
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """Test exotic program topologies. For pictures, see ``macro_extras/callcc_topology.pdf`` in the source distribution. """ from inspect import stack from ...syntax import macros, continuations, call_cc def me(): """Return the caller's function name.""" callstack = stack() framerec...
25.703196
83
0.445905
667
5,629
3.674663
0.187406
0.190942
0.233374
0.095471
0.532844
0.473276
0.425949
0.374541
0.335373
0.322317
0
0.021015
0.408243
5,629
218
84
25.821101
0.7148
0.171789
0
0.681564
0
0
0.041739
0
0
0
0
0
0.050279
1
0.206704
false
0.005587
0.011173
0
0.256983
0.005587
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
2c6ed73d803fe3c8ab6eab6f07fcada596456cd6
7,933
py
Python
src/lingcomp/farm/prediction_head.py
CharlottePouw/interpreting-complexity
b9a73c0aff18e4c6b4209a6511d00639494c70da
[ "Apache-2.0" ]
2
2020-12-18T12:26:22.000Z
2020-12-19T18:47:07.000Z
src/lingcomp/farm/prediction_head.py
CharlottePouw/interpreting-complexity
b9a73c0aff18e4c6b4209a6511d00639494c70da
[ "Apache-2.0" ]
null
null
null
src/lingcomp/farm/prediction_head.py
CharlottePouw/interpreting-complexity
b9a73c0aff18e4c6b4209a6511d00639494c70da
[ "Apache-2.0" ]
1
2021-05-19T13:39:45.000Z
2021-05-19T13:39:45.000Z
import logging import os import torch from farm.modeling.prediction_head import FeedForwardBlock, PredictionHead from torch.nn import MSELoss from torch.nn.functional import pad from lingcomp.farm.utils import roll logger = logging.getLogger(__name__) # TokenRegressionHead class TokenRegressionHead(PredictionHead...
46.391813
154
0.607715
1,019
7,933
4.525025
0.232581
0.047712
0.022555
0.03188
0.235741
0.200174
0.163522
0.147257
0.115159
0.096075
0
0.010009
0.294718
7,933
170
155
46.664706
0.81412
0.212656
0
0.107438
0
0.008264
0.076092
0.010473
0
0
0
0
0.008264
1
0.066116
false
0
0.057851
0
0.190083
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
0
0
0
0
0
1
0
2c7013fe7de804ea6c1f8cce79d5e2ec488e9041
381
py
Python
6.00.2x/week1/lecture1/more_on_plotting.py
NicholasAsimov/courses
d60981f25816445578eb9e89bbbeef2d38eaf014
[ "MIT" ]
null
null
null
6.00.2x/week1/lecture1/more_on_plotting.py
NicholasAsimov/courses
d60981f25816445578eb9e89bbbeef2d38eaf014
[ "MIT" ]
null
null
null
6.00.2x/week1/lecture1/more_on_plotting.py
NicholasAsimov/courses
d60981f25816445578eb9e89bbbeef2d38eaf014
[ "MIT" ]
null
null
null
import matplotlib.pyplot as pylab principal = 10000 interestRate = 0.05 years = 20 values = [] for i in range(years + 1): values.append(principal) principal += principal * interestRate pylab.plot(range(years + 1), values, linewidth=3) pylab.title('5% Growth, Compaunded Annually') pylab.xlabel('Years or Compo...
22.411765
49
0.721785
51
381
5.392157
0.666667
0.072727
0.08
0.123636
0
0
0
0
0
0
0
0.043077
0.146982
381
16
50
23.8125
0.803077
0
0
0
0
0
0.188976
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
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
0
0
0
0
0
1
0
2c71d0c31bdecb9c1cda6baa928bcf39966a850b
1,455
py
Python
account/migrations/0003_passwordexpiry_passwordhistory.py
ProgrammingLanguageLeader/django-user-accounts
ad301bd57ae65c456ed6e45ae3b5cb06d4e2378b
[ "MIT" ]
841
2015-01-03T13:15:52.000Z
2022-03-31T14:08:23.000Z
account/migrations/0003_passwordexpiry_passwordhistory.py
ProgrammingLanguageLeader/django-user-accounts
ad301bd57ae65c456ed6e45ae3b5cb06d4e2378b
[ "MIT" ]
187
2015-01-05T17:03:47.000Z
2022-01-26T06:56:09.000Z
account/migrations/0003_passwordexpiry_passwordhistory.py
massware/django-user-accounts
8fe4633cbbed89eb7ced8b0b4b0337c3bded4247
[ "MIT" ]
317
2015-01-11T04:24:22.000Z
2022-03-26T16:28:56.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10.1 on 2016-09-13 08:55 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ...
39.324324
174
0.645361
155
1,455
5.877419
0.477419
0.035126
0.046103
0.072448
0.346872
0.296378
0.296378
0.296378
0.296378
0.296378
0
0.022242
0.227491
1,455
36
175
40.416667
0.788256
0.046735
0
0.344828
1
0
0.08815
0
0
0
0
0
0
1
0
false
0.172414
0.172414
0
0.275862
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
0
0
0
2
2c71f92a4a5781b16a490c2760b6a652cc5afb93
780
py
Python
microsentry/models.py
feliperuhland/microsentry
8fc640b22f69c3759d87c2358cad025ec45c8cc7
[ "MIT" ]
null
null
null
microsentry/models.py
feliperuhland/microsentry
8fc640b22f69c3759d87c2358cad025ec45c8cc7
[ "MIT" ]
null
null
null
microsentry/models.py
feliperuhland/microsentry
8fc640b22f69c3759d87c2358cad025ec45c8cc7
[ "MIT" ]
null
null
null
import dataclasses import datetime import typing @dataclasses.dataclass class Context: build: str name: str version: str @dataclasses.dataclass class Frame: abs_path: str context_line: str filename: str function: str lineno: int module: str pre_context: typing.List[str] p...
17.333333
48
0.697436
96
780
5.572917
0.40625
0.149533
0.186916
0.157009
0
0
0
0
0
0
0
0
0.228205
780
44
49
17.727273
0.888704
0
0
0.166667
0
0
0
0
0
0
0
0
0
1
0
true
0
0.083333
0
0.888889
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
1
0
0
0
0
0
0
2
2c7445d1033e462318cd29a86e11ffd318baee78
3,986
py
Python
src/t2m/user.py
time2meet/time2meet-cli
3aa41de084572d242c51375fed6bcaaf6694c24e
[ "MIT" ]
1
2021-12-10T06:03:11.000Z
2021-12-10T06:03:11.000Z
src/t2m/user.py
time2meet/time2meet-cli
3aa41de084572d242c51375fed6bcaaf6694c24e
[ "MIT" ]
1
2021-12-05T23:57:37.000Z
2021-12-09T17:15:31.000Z
src/t2m/user.py
time2meet/time2meet-cli
3aa41de084572d242c51375fed6bcaaf6694c24e
[ "MIT" ]
null
null
null
import os from getpass import getpass from .request_handler import request, set_dry from .yaml_validator import yaml_user, yaml_update, yaml_reset from .tokens import new_token from datetime import datetime, timedelta import json def list_methods(): return ["user_info", "register", "edit_profile", "delete_profil...
29.308824
128
0.617411
490
3,986
4.895918
0.255102
0.037516
0.043768
0.033347
0.210921
0.186744
0.08837
0.08837
0.075865
0.075865
0
0.001664
0.246362
3,986
135
129
29.525926
0.796937
0.039639
0
0.244186
0
0
0.273775
0.020435
0
0
0
0
0
1
0.093023
false
0.162791
0.081395
0.023256
0.22093
0.034884
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
0
0
0
0
0
1
2c7496e73af3dc1a12f6aa6a4517eb8851e79e00
972
py
Python
activitypub/lib.py
wakin-/simple_ap
f13013fdc79207cfb07f3944caeeef45fe31bbf7
[ "MIT" ]
10
2018-06-18T09:17:59.000Z
2020-04-22T11:46:12.000Z
activitypub/lib.py
wakin-/simple_ap
f13013fdc79207cfb07f3944caeeef45fe31bbf7
[ "MIT" ]
4
2020-06-05T18:24:12.000Z
2021-06-10T20:29:49.000Z
activitypub/lib.py
wakin-/simple_ap
f13013fdc79207cfb07f3944caeeef45fe31bbf7
[ "MIT" ]
null
null
null
import requests import json from urllib.parse import urlparse from httpsig import HeaderSigner from datetime import datetime def sign_headers(account, method, path): sign = HeaderSigner(account.ap_id(), account.private_key, algorithm='rsa-sha256', headers=['(request-target)', 'date']).sign({'Date': datetime.now()....
38.88
192
0.68107
119
972
5.495798
0.521008
0.033639
0.055046
0
0
0
0
0
0
0
0
0.012422
0.171811
972
24
193
40.5
0.8
0
0
0
0
0
0.167695
0
0
0
0
0
0
1
0.090909
false
0
0.227273
0
0.363636
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
0
0
0
0
0
1
0
2c74d6e02e3c3e03fa94c6d04730c15d838799a4
4,230
py
Python
account/views.py
josephdubon/boilerplate_image_share_app
e079715577ca112e4de234c8a35dde73639c3366
[ "Unlicense" ]
null
null
null
account/views.py
josephdubon/boilerplate_image_share_app
e079715577ca112e4de234c8a35dde73639c3366
[ "Unlicense" ]
3
2021-09-22T18:45:21.000Z
2022-03-12T00:58:12.000Z
account/views.py
josephdubon/boilerplate_image_share_app
e079715577ca112e4de234c8a35dde73639c3366
[ "Unlicense" ]
null
null
null
from django.http import HttpResponse from django.shortcuts import render from django.contrib import messages from django.contrib.auth import authenticate, login from django.contrib.auth.decorators import login_required from .forms import ( LoginForm, UserRegistrationForm, UserEditForm, ProfileEditForm ...
35.25
105
0.56052
438
4,230
5.321918
0.280822
0.044616
0.028314
0.05577
0.192192
0.103818
0.073788
0
0
0
0
0
0.367139
4,230
119
106
35.546218
0.870751
0.215839
0
0.229885
0
0
0.093475
0.020941
0
0
0
0
0
1
0.045977
false
0.034483
0.08046
0.011494
0.218391
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
0
0
0
0
0
1
0
2c7682b009eb38c54e309396068e17197bba18a5
2,478
py
Python
web/app/ponthe/config.py
ENPC-Ponthe/Galeries
77648d880f4f71f62f620227d50452fa7a1482e3
[ "MIT" ]
null
null
null
web/app/ponthe/config.py
ENPC-Ponthe/Galeries
77648d880f4f71f62f620227d50452fa7a1482e3
[ "MIT" ]
1
2021-01-05T03:43:06.000Z
2021-01-05T03:43:06.000Z
web/app/ponthe/config.py
ENPC-Ponthe/Galeries
77648d880f4f71f62f620227d50452fa7a1482e3
[ "MIT" ]
3
2020-09-09T17:50:01.000Z
2021-07-29T19:48:49.000Z
import os from datetime import datetime from flask import Flask IS_PROD_ENV = True # CHANGE BETWEEN STAGING AND PRODUCTION ENVS SUBDOMAIN_NAME = 'ponthe' if IS_PROD_ENV else 'ponthe-testing' DOMAIN_NAME = f'https://{SUBDOMAIN_NAME}.enpc.org/' def get_latest_promotion(): now = datetime.now() prom_increment =...
42
102
0.661421
322
2,478
4.863354
0.416149
0.068966
0.06705
0.049808
0.183908
0.14304
0.14304
0.124521
0.057471
0.057471
0
0.019241
0.202986
2,478
58
103
42.724138
0.773671
0.053269
0
0
0
0
0.256618
0.055935
0
0
0
0.017241
0
1
0.042553
false
0.021277
0.06383
0
0.191489
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
2c7775424a57f17a890bdf4b7a7ff0cf9abb892f
932
py
Python
admin_tasks.py
draem0507/rietveld
70bda77edf3a642ef51ecc2d73c165345af5fdee
[ "Apache-2.0" ]
583
2015-03-28T23:49:34.000Z
2022-03-25T10:58:07.000Z
admin_tasks.py
draem0507/rietveld
70bda77edf3a642ef51ecc2d73c165345af5fdee
[ "Apache-2.0" ]
61
2015-04-02T01:08:34.000Z
2021-05-27T16:19:35.000Z
admin_tasks.py
draem0507/rietveld
70bda77edf3a642ef51ecc2d73c165345af5fdee
[ "Apache-2.0" ]
175
2015-03-29T13:06:36.000Z
2022-03-31T07:02:20.000Z
"""Collection of mapreduce jobs.""" import logging from mapreduce import operation as op from codereview.models import Account, Issue def delete_unused_accounts(account): """Delete accounts for uses that don't participate in any reviews.""" email = account.user.email() if Issue.query(Issue.owner_email == email...
31.066667
78
0.730687
140
932
4.821429
0.585714
0.031111
0.053333
0.075556
0.091852
0.091852
0.091852
0
0
0
0
0
0.167382
932
29
79
32.137931
0.869845
0.407725
0
0.1875
0
0
0.020599
0
0
0
0
0
0
1
0.125
false
0
0.1875
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
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
2c778b23ac35cdce2fabe050d19757ad54f60c5c
3,426
py
Python
core/pwc_tiny.py
hologerry/RAFT
a80209c442ea2e2a8860af3c9ca96e62498533ca
[ "BSD-3-Clause" ]
null
null
null
core/pwc_tiny.py
hologerry/RAFT
a80209c442ea2e2a8860af3c9ca96e62498533ca
[ "BSD-3-Clause" ]
null
null
null
core/pwc_tiny.py
hologerry/RAFT
a80209c442ea2e2a8860af3c9ca96e62498533ca
[ "BSD-3-Clause" ]
null
null
null
import numpy as np import torch import torch.nn as nn import torch.nn.functional as F from core.corr import AlternateCorrBlock, CorrBlock from core.extractor import BasicEncoder, SmallEncoder from core.mobilenetv3 import MobileNetV3 from core.pwc_decoder import Decoder from core.pwc_refiner import Refiner from core.up...
34.606061
125
0.646235
447
3,426
4.744966
0.364653
0.062235
0.049505
0.04149
0.073079
0.052334
0.052334
0
0
0
0
0.041272
0.22913
3,426
98
126
34.959184
0.761833
0.042323
0
0.041096
0
0
0.08318
0
0
0
0
0
0
1
0.09589
false
0.041096
0.178082
0.013699
0.342466
0.041096
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
0
0
0
0
0
1
0
2c784ec9ca5bd9cab47e3e48eed02b1261eb6710
1,631
py
Python
dependencies_analysis/src/utils.py
afdaniele/director
845ba027f9009803fcf77f44874f2ab9d7ab72e3
[ "BSD-3-Clause" ]
null
null
null
dependencies_analysis/src/utils.py
afdaniele/director
845ba027f9009803fcf77f44874f2ab9d7ab72e3
[ "BSD-3-Clause" ]
null
null
null
dependencies_analysis/src/utils.py
afdaniele/director
845ba027f9009803fcf77f44874f2ab9d7ab72e3
[ "BSD-3-Clause" ]
null
null
null
''' Created by: @author: Andrea F Daniele - TTIC - Toyota Technological Institute at Chicago Feb 6, 2019 - Mountain View, CA ''' import sys import numpy as np from os.path import isfile class ProgressBar(object): def __init__(self, maxVal=100, precision=5, doneMessage=True ): self.maxVal = float( max(1.0, ma...
28.614035
92
0.650521
221
1,631
4.710407
0.402715
0.080692
0.037464
0.032661
0
0
0
0
0
0
0
0.027259
0.212753
1,631
56
93
29.125
0.783489
0.095647
0
0
0
0
0.039617
0
0
0
0
0
0
1
0.135135
false
0
0.081081
0
0.297297
0.027027
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
0
0
0
0
0
1
0
2c78b387f4bdb0a5aec5ed308c83c4da0844e7b4
1,673
py
Python
attendees/persons/serializers/folk_serializer.py
xjlin0/-attendees30
48a2f2cbec11ec471d7a40d24903b48890feebf9
[ "MIT" ]
null
null
null
attendees/persons/serializers/folk_serializer.py
xjlin0/-attendees30
48a2f2cbec11ec471d7a40d24903b48890feebf9
[ "MIT" ]
null
null
null
attendees/persons/serializers/folk_serializer.py
xjlin0/-attendees30
48a2f2cbec11ec471d7a40d24903b48890feebf9
[ "MIT" ]
null
null
null
from attendees.persons.models import Folk, FolkAttendee, Relation, Utility, Attendee from attendees.whereabouts.serializers import PlaceSerializer from rest_framework import serializers class FolkSerializer(serializers.ModelSerializer): places = PlaceSerializer(many=True, read_only=True) class Meta: ...
30.418182
85
0.569038
160
1,673
5.7625
0.39375
0.084599
0.048807
0.06833
0.149675
0.149675
0.073753
0
0
0
0
0
0.344889
1,673
54
86
30.981481
0.841241
0.081291
0
0.055556
0
0
0.036266
0
0
0
0
0
0
1
0.055556
false
0
0.083333
0
0.277778
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
0
0
0
0
0
1
0
2c7a4215e79452e900349586a25792c9f22bcf7f
114
py
Python
layoutlm/examples/__init__.py
Cedrusco/unilm
f5485696aad9a39b733bc16d40e5e5d2c37284eb
[ "MIT" ]
null
null
null
layoutlm/examples/__init__.py
Cedrusco/unilm
f5485696aad9a39b733bc16d40e5e5d2c37284eb
[ "MIT" ]
null
null
null
layoutlm/examples/__init__.py
Cedrusco/unilm
f5485696aad9a39b733bc16d40e5e5d2c37284eb
[ "MIT" ]
null
null
null
# flake8: noqa from .classification.predict import make_prediction from .classification.predict_api import predict
38
51
0.859649
14
114
6.857143
0.642857
0.375
0.520833
0
0
0
0
0
0
0
0
0.009615
0.087719
114
3
52
38
0.913462
0.105263
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
2c7a53fa7046ae0ca4fe288507356e009d06bfd4
6,826
py
Python
V4 - HybridTTS/Utils/functions.py
riju-stone/chatbot
cfbd1a162f777440b138e2824d07f70cca8c4a48
[ "MIT" ]
null
null
null
V4 - HybridTTS/Utils/functions.py
riju-stone/chatbot
cfbd1a162f777440b138e2824d07f70cca8c4a48
[ "MIT" ]
1
2021-10-06T15:56:14.000Z
2021-10-07T04:54:15.000Z
V4 - HybridTTS/Utils/functions.py
riju-stone/chatbot
cfbd1a162f777440b138e2824d07f70cca8c4a48
[ "MIT" ]
null
null
null
import string import random from nltk.tokenize import TweetTokenizer import re import time import sys import numpy as np # source: https://gist.github.com/nealrs/96342d8231b75cf4bb82 cList = { "ain't": "am not", "aren't": "are not", "can't": "cannot", "can't've": "cannot have", "'cause": "because",...
28.206612
200
0.547612
1,005
6,826
3.654726
0.228856
0.008984
0.013613
0.019058
0.068064
0.068064
0.032126
0
0
0
0
0.017456
0.236302
6,826
241
201
28.323651
0.687128
0.08409
0
0.049505
0
0
0.347534
0.004965
0
0
0
0
0
1
0.044554
false
0
0.034653
0.009901
0.128713
0.004951
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
0
0
0
0
0
1
0
2c7b3b7be42370503ba918b7f804028312f44fe9
896
py
Python
reverse_integer.py
alexhla/programming-problems-in-python
2db759f6196c026f43c6f2d6c9104d04a6850829
[ "MIT" ]
null
null
null
reverse_integer.py
alexhla/programming-problems-in-python
2db759f6196c026f43c6f2d6c9104d04a6850829
[ "MIT" ]
null
null
null
reverse_integer.py
alexhla/programming-problems-in-python
2db759f6196c026f43c6f2d6c9104d04a6850829
[ "MIT" ]
null
null
null
class Solution: def reverse(self, x): sign = -1 if x<0 else 1 x = abs(x) # floor division ALWAYS rounds down (-1//10 = -1) n = 0 # thus save sign and take absolute value while x != 0: n *= 10 # left shift digits one place n += x%10 # push least significant digit x //= 10 # pop processed digit ...
28.903226
81
0.626116
153
896
3.666667
0.431373
0.035651
0.02139
0.035651
0.210339
0.185383
0.185383
0.067736
0.067736
0
0
0.065407
0.232143
896
31
82
28.903226
0.75
0.382813
0
0.230769
0
0
0.066298
0
0
0
0
0
0
1
0.076923
false
0
0
0
0.269231
0.115385
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
0
0
0
0
0
1
0
2c7b635f7078761a4178b130bfb1d6906ad54eea
405
py
Python
grid.py
Hec98/tkinterIntro
03d33b97aa4fc2d9d12c4590cf17dccdb343980a
[ "MIT" ]
2
2022-01-12T04:25:55.000Z
2022-01-12T04:31:18.000Z
grid.py
Hec98/tkinterIntro
03d33b97aa4fc2d9d12c4590cf17dccdb343980a
[ "MIT" ]
null
null
null
grid.py
Hec98/tkinterIntro
03d33b97aa4fc2d9d12c4590cf17dccdb343980a
[ "MIT" ]
null
null
null
from tkinter import Tk, Label root = Tk() root.title('Hello World') root.geometry('500x300') lb1 = Label(root, text = 'Hello, this is a tag -> 1') lb2 = Label(root, text = 'Hello, this is a tag -> 2') lb3 = Label(root, text = 'Hello, this is a tag -> 3') # Label(root, text = 'Hello, this is a tag').pack() lb1.grid(r...
23.823529
53
0.646914
73
405
3.589041
0.383562
0.171756
0.198473
0.274809
0.427481
0.427481
0.427481
0.427481
0
0
0
0.06213
0.165432
405
16
54
25.3125
0.713018
0.120988
0
0
0
0
0.262712
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
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
0
0
0
2
2c7bfdfed15f5f5901f0720b936cf94f5ee4a1ec
836
py
Python
populus/contracts/backends/testing.py
mandarvaze/populus
4577bba67f6cba3c4800d250f2a228562a5d9a8f
[ "MIT" ]
1
2022-03-14T03:35:17.000Z
2022-03-14T03:35:17.000Z
populus/contracts/backends/testing.py
mandarvaze/populus
4577bba67f6cba3c4800d250f2a228562a5d9a8f
[ "MIT" ]
null
null
null
populus/contracts/backends/testing.py
mandarvaze/populus
4577bba67f6cba3c4800d250f2a228562a5d9a8f
[ "MIT" ]
1
2021-12-06T04:03:32.000Z
2021-12-06T04:03:32.000Z
from __future__ import absolute_import from populus.utils.contracts import ( is_test_contract, ) from .base import ( BaseContractBackend, ) class TestContractsBackend(BaseContractBackend): """ Provides access to compiled contract assets sources from the project `tests_dir` """ is_provide...
23.885714
76
0.690191
93
836
5.860215
0.473118
0.154128
0.051376
0.088073
0
0
0
0
0
0
0
0
0.25
836
34
77
24.588235
0.869219
0.111244
0
0
0
0
0
0
0
0
0
0
0
1
0.095238
false
0
0.142857
0.047619
0.52381
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
0
0
0
1
0
0
1
2c7c784cba091d8ae89f7a03a13304373982e2b3
2,125
py
Python
powmap.py
jossef/power-scanner
729a4de35a5de11284aa6c14b2871536cc321d0a
[ "MIT" ]
3
2017-01-04T18:27:28.000Z
2018-05-19T14:08:14.000Z
powmap.py
Jossef/power-scanner
729a4de35a5de11284aa6c14b2871536cc321d0a
[ "MIT" ]
3
2016-10-21T05:53:33.000Z
2016-10-21T05:53:47.000Z
powmap.py
Jossef/power-scanner
729a4de35a5de11284aa6c14b2871536cc321d0a
[ "MIT" ]
null
null
null
import argparse import logging import re import struct import uuid import sys from struct import * import sys import os import array import fcntl import socket import fcntl import struct import array from multiprocessing.pool import ThreadPool from powscan_common.banner_grabber import * from powscan_common.network_ma...
26.234568
145
0.704
295
2,125
4.877966
0.386441
0.075052
0.125087
0.063933
0.063933
0.026407
0.026407
0.026407
0.026407
0.026407
0
0.027058
0.182588
2,125
80
146
26.5625
0.801382
0.043294
0
0.188679
0
0.018868
0.218056
0.051801
0
0
0
0
0
0
null
null
0
0.415094
null
null
0.132075
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
2
2c7e9414f375e98aa585b74113d615f72c0ae399
1,563
py
Python
ts_bot_stream.py
JonthanLT/ts-slack-twitter
191ba5d1f94e70057c8b4c611230d3d08f40d1bd
[ "MIT" ]
null
null
null
ts_bot_stream.py
JonthanLT/ts-slack-twitter
191ba5d1f94e70057c8b4c611230d3d08f40d1bd
[ "MIT" ]
null
null
null
ts_bot_stream.py
JonthanLT/ts-slack-twitter
191ba5d1f94e70057c8b4c611230d3d08f40d1bd
[ "MIT" ]
null
null
null
#!/usr/bin/env python import time import json import sys import tweepy import slackweb import configparser from tweepy import Stream from tweepy import OAuthHandler from tweepy.streaming import StreamListener def read_config(filename = 'twitter.ini'): config = configparser.ConfigParser() config.read(filename)...
25.622951
75
0.651312
199
1,563
4.964824
0.316583
0.036437
0.052632
0.048583
0.26417
0.224696
0.17004
0.17004
0.17004
0.17004
0
0
0.21945
1,563
60
76
26.05
0.809836
0.012796
0
0.183673
0
0
0.092088
0
0
0
0
0
0
1
0.142857
false
0
0.183673
0.040816
0.510204
0.040816
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
0
0
0
1
0
0
1
2c7f21cfb7367dac7b5dd73bdc08aa5b0d9426f9
102
py
Python
myflaskapp/selling/__init__.py
RubyHome/Parking-Dev
20f5e1c44160ecc80b65ef0df63f1cd96e2de564
[ "BSD-3-Clause" ]
null
null
null
myflaskapp/selling/__init__.py
RubyHome/Parking-Dev
20f5e1c44160ecc80b65ef0df63f1cd96e2de564
[ "BSD-3-Clause" ]
null
null
null
myflaskapp/selling/__init__.py
RubyHome/Parking-Dev
20f5e1c44160ecc80b65ef0df63f1cd96e2de564
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """The sales features related to parking spots""" from . import views # noqa
25.5
49
0.647059
14
102
4.714286
1
0
0
0
0
0
0
0
0
0
0
0.012048
0.186275
102
3
50
34
0.783133
0.696078
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
2c827b375cd33ffc35313851f36e3892e6b7ddad
17,537
py
Python
revisiting_rainbow/Agents/quantile_agent_new.py
jiawei415/revisiting_rainbow
7cd2bc6f64d08ebc2233d93210063cc64d2598a7
[ "Apache-2.0" ]
72
2020-11-24T22:12:59.000Z
2022-03-21T21:18:21.000Z
revisiting_rainbow/Agents/quantile_agent_new.py
jiawei415/revisiting_rainbow
7cd2bc6f64d08ebc2233d93210063cc64d2598a7
[ "Apache-2.0" ]
2
2021-06-02T08:01:10.000Z
2021-07-03T03:11:54.000Z
revisiting_rainbow/Agents/quantile_agent_new.py
jiawei415/revisiting_rainbow
7cd2bc6f64d08ebc2233d93210063cc64d2598a7
[ "Apache-2.0" ]
6
2021-01-13T22:15:17.000Z
2021-11-04T04:00:05.000Z
"""An extension of Rainbow to perform quantile regression. This loss is computed as in "Distributional Reinforcement Learning with Quantile Regression" - Dabney et. al, 2017" Specifically, we implement the following components: * n-step updates * prioritized replay * double_dqn * noisy * dueling """ impor...
43.301235
117
0.642584
2,144
17,537
5.046642
0.210354
0.016636
0.013309
0.012754
0.287246
0.26146
0.241867
0.216821
0.200555
0.190573
0
0.011204
0.282374
17,537
405
118
43.301235
0.84855
0.32383
0
0.227848
0
0
0.016672
0.00191
0
0
0
0
0
1
0.063291
false
0
0.046414
0.012658
0.160338
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
0
0
0
0
0
1
0
2c8319da00390bc626331c0ea2a57c8feafdc2f3
208
py
Python
read_data.py
AnirudhSridhar/heimdall
8c677e6b346a964a149ea06806b12d8d947a1a1d
[ "Apache-2.0" ]
1
2018-04-03T19:26:10.000Z
2018-04-03T19:26:10.000Z
read_data.py
AnirudhSridhar/heimdall
8c677e6b346a964a149ea06806b12d8d947a1a1d
[ "Apache-2.0" ]
null
null
null
read_data.py
AnirudhSridhar/heimdall
8c677e6b346a964a149ea06806b12d8d947a1a1d
[ "Apache-2.0" ]
null
null
null
import pandas as pd from glob import glob import os path = 'data/' all_files = glob(os.path.join(path, '*.json')) dfs = (pd.read_json(f) for f in all_files) df = pd.concat(dfs, ignore_index=True) print (df)
20.8
46
0.706731
39
208
3.666667
0.615385
0.13986
0
0
0
0
0
0
0
0
0
0
0.149038
208
9
47
23.111111
0.80791
0
0
0
0
0
0.052885
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
2c846fbf1fb31138dd5ef08bbb8178074cf8b762
4,395
py
Python
utils/visualize_utils.py
ljrprocc/Motif-Removal
8979ca91398212248a2be61345c99bdec53ae37e
[ "MIT" ]
null
null
null
utils/visualize_utils.py
ljrprocc/Motif-Removal
8979ca91398212248a2be61345c99bdec53ae37e
[ "MIT" ]
null
null
null
utils/visualize_utils.py
ljrprocc/Motif-Removal
8979ca91398212248a2be61345c99bdec53ae37e
[ "MIT" ]
null
null
null
import torch import os.path from utils.train_utils import load_globals, init_folders, init_nets from loaders.motif_dataset import MotifDS from PIL import Image import numpy as np # network names root_path = '..' train_tag = 'vm_demo_text_remover' load_tag = '' device = torch.device('cuda:0') net_path =...
40.321101
111
0.61661
581
4,395
4.371773
0.2358
0.066929
0.018898
0.015354
0.059843
0.029921
0
0
0
0
0
0.020516
0.268032
4,395
108
112
40.694444
0.769039
0.005688
0
0.065217
0
0
0.044142
0
0
0
0
0
0
1
0.054348
false
0
0.065217
0
0.152174
0.01087
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
0
0
0
0
0
1
0
2c848407f39b4ac205ac81625e387c4023a7a21b
3,651
py
Python
djcyradm/urls.py
angeelgarr/django-cyradm
3d8ea83c9b52d79eae25ccdfd92dd39f5fe2ca97
[ "BSD-3-Clause" ]
5
2019-12-16T13:25:44.000Z
2022-01-21T17:42:16.000Z
djcyradm/urls.py
angeelgarr/django-cyradm
3d8ea83c9b52d79eae25ccdfd92dd39f5fe2ca97
[ "BSD-3-Clause" ]
1
2021-03-30T14:23:56.000Z
2021-03-30T14:23:56.000Z
djcyradm/urls.py
angeelgarr/django-cyradm
3d8ea83c9b52d79eae25ccdfd92dd39f5fe2ca97
[ "BSD-3-Clause" ]
1
2021-06-24T01:49:22.000Z
2021-06-24T01:49:22.000Z
from django.conf.urls import include, url from djcyradm.views import locked_out from djcyradm import views urlpatterns = [ url(r"session_security/", include("session_security.urls")), url( r"^mail-users/$", views.MailUsersTableView.as_view(), name="mail-users"), url(r"^login/?$", v...
29.92623
79
0.568064
408
3,651
4.980392
0.193627
0.057087
0.127953
0.022146
0.284449
0.124508
0.076772
0.076772
0.059055
0.033465
0
0.013679
0.239113
3,651
121
80
30.173554
0.717783
0
0
0.327731
0
0.016807
0.284306
0.176116
0
0
0
0
0
1
0
false
0.067227
0.02521
0
0.02521
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
0
0
0
0
0
1
2c8726dfb28106d95bb06c1763a01f4331da1d8a
651
py
Python
python/Data Structures and Algorithms in Python Book/stacks/match_delimiter.py
gauravssnl/Data-Structures-and-Algorithms
1c335c72ce514d4f95090241bbd6edf01a1141a8
[ "MIT" ]
7
2020-05-10T09:57:23.000Z
2021-03-27T11:55:07.000Z
python/Data Structures and Algorithms in Python Book/stacks/match_delimiter.py
gauravssnl/Data-Structures-and-Algorithms
1c335c72ce514d4f95090241bbd6edf01a1141a8
[ "MIT" ]
null
null
null
python/Data Structures and Algorithms in Python Book/stacks/match_delimiter.py
gauravssnl/Data-Structures-and-Algorithms
1c335c72ce514d4f95090241bbd6edf01a1141a8
[ "MIT" ]
3
2021-03-27T03:42:57.000Z
2021-08-09T12:03:41.000Z
from arraystack import ArrayStack def is_matched(expr): """Return True if all delimiters properly match (or closed); False otherwise""" left_delimiters = "({[" right_delimiter = ")}]" S = ArrayStack() for c in expr: if c in left_delimiters: S.push(c) elif c in right_del...
28.304348
84
0.572965
85
651
4.164706
0.435294
0.076271
0.110169
0.039548
0.146893
0.146893
0.146893
0.146893
0.146893
0
0
0.004338
0.291859
651
23
85
28.304348
0.763557
0.113671
0
0.210526
0
0
0.068182
0
0
0
0
0
0
1
0.052632
false
0
0.052632
0
0.263158
0.105263
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
0
0
0
0
0
1
0
2c889835bd8ac35d8cbc3f5d416195de17ced7a8
24,522
py
Python
cogs/werewolf.py
vluk/baymaxBot
fb7e7dd4b2d99a6987a8e8c09afc7e43af844ffc
[ "MIT" ]
null
null
null
cogs/werewolf.py
vluk/baymaxBot
fb7e7dd4b2d99a6987a8e8c09afc7e43af844ffc
[ "MIT" ]
4
2021-04-24T06:38:49.000Z
2021-04-24T06:44:21.000Z
cogs/werewolf.py
vluk/baymaxBot
fb7e7dd4b2d99a6987a8e8c09afc7e43af844ffc
[ "MIT" ]
1
2021-05-02T08:04:08.000Z
2021-05-02T08:04:08.000Z
import discord from discord.ext import commands import random import asyncio cards = ["villager", "werewolf", "minion", "mason", "seer", "robber", "troublemaker", "drunk", "insomniac", "tanner", "hunter"] aesthetics = { "werewolf" : { "color" : 0x25d0ff, "thumbnail" : "https://cdn.discordapp.com/a...
38.496075
157
0.540046
3,006
24,522
4.346973
0.119095
0.032831
0.034285
0.016071
0.594398
0.560496
0.522461
0.498584
0.488329
0.44356
0
0.007294
0.345853
24,522
636
158
38.556604
0.805436
0
0
0.486
0
0.006
0.160958
0.000938
0
0
0.000652
0
0
1
0.032
false
0.004
0.008
0.01
0.128
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
0
0
0
0
0
1
0
2c8b5792d3174dff39013842e2317ce417ed4a8a
650
py
Python
main.py
KShah707/TweetDownloader
ff6770e2f86273919c279466337a4e5ab2cd63e0
[ "MIT" ]
null
null
null
main.py
KShah707/TweetDownloader
ff6770e2f86273919c279466337a4e5ab2cd63e0
[ "MIT" ]
null
null
null
main.py
KShah707/TweetDownloader
ff6770e2f86273919c279466337a4e5ab2cd63e0
[ "MIT" ]
null
null
null
################################################### # Uses the tweepy client to query a user's tweets # ################################################### import csv import tweepy # Load secrets from separate file from user_secrets import * # Set up API client auth = tweepy.OAuthHandler(CONSUMER_KEY, CONSUMER_SECRE...
30.952381
89
0.641538
83
650
4.843373
0.566265
0.08209
0.084577
0.109453
0
0
0
0
0
0
0
0
0.124615
650
21
90
30.952381
0.706503
0.176923
0
0
0
0
0.070093
0.049065
0
0
0
0
0
1
0
false
0
0.272727
0
0.272727
0.090909
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
0
0
0
0
0
1
0
2c8c64b7f637476a4c3e62cdc4f47747851211f2
1,664
py
Python
anime_downloader/sites/nyaa.py
Alsira/anime-downloader
d82b4cfd5c7c6c358d0d8ffd36ce2d5c4a285595
[ "Unlicense" ]
1,077
2020-10-17T15:43:17.000Z
2022-03-31T15:24:29.000Z
anime_downloader/sites/nyaa.py
Alsira/anime-downloader
d82b4cfd5c7c6c358d0d8ffd36ce2d5c4a285595
[ "Unlicense" ]
509
2018-06-01T13:07:56.000Z
2020-10-17T13:34:39.000Z
anime_downloader/sites/nyaa.py
Alsira/anime-downloader
d82b4cfd5c7c6c358d0d8ffd36ce2d5c4a285595
[ "Unlicense" ]
255
2018-05-27T03:52:11.000Z
2020-10-12T17:27:38.000Z
from anime_downloader.sites.anime import Anime, AnimeEpisode, SearchResult from anime_downloader.sites import helpers class Nyaa(Anime, sitename='nyaa'): """ Site: https://nyaa.si Config ~~~~~~ filter: Choose filter method in search. One of ['No filter', 'No remakes', 'Trusted Only'] category...
35.404255
145
0.612981
206
1,664
4.859223
0.42233
0.067932
0.037962
0.047952
0.04995
0.04995
0.04995
0
0
0
0
0.009224
0.218149
1,664
46
146
36.173913
0.760184
0.176683
0
0
0
0
0.216741
0.016442
0
0
0
0
0
1
0.12
false
0
0.08
0.08
0.48
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
0
0
0
0
0
1
0
2c8d085bc87d2f9a2e5cc8b6d9aa97e5e95633d5
1,212
py
Python
tests/strategies/__init__.py
lycantropos/seidel
d4514f1041fe64c7faf3fd9a3f61769449070b51
[ "MIT" ]
3
2020-07-06T04:28:19.000Z
2021-04-20T07:50:53.000Z
tests/strategies/__init__.py
lycantropos/seidel
d4514f1041fe64c7faf3fd9a3f61769449070b51
[ "MIT" ]
null
null
null
tests/strategies/__init__.py
lycantropos/seidel
d4514f1041fe64c7faf3fd9a3f61769449070b51
[ "MIT" ]
null
null
null
from .factories import (coordinates_to_ported_edges, coordinates_to_ported_edges_with_nodes_pairs, coordinates_to_ported_leaves, coordinates_to_ported_points, coordinates_to_ported_points_pairs_edges_pairs, ...
52.695652
71
0.560231
112
1,212
5.3125
0.223214
0.218487
0.287395
0.2
0.322689
0.110924
0
0
0
0
0
0
0.418317
1,212
22
72
55.090909
0.843972
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.090909
0
0.090909
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
1
0
0
0
0
0
0
4
2c8f674fb4bb528a31df28c9e6f31e31a0334ee4
810
py
Python
src/hgg_coffea/tools/xgb_loader.py
holzman/hgg-coffea
5aabdb127edaa15b0f22d54f0e3ccdc74c5c10de
[ "BSD-3-Clause" ]
3
2021-07-22T07:02:03.000Z
2021-09-22T07:01:59.000Z
src/hgg_coffea/tools/xgb_loader.py
holzman/hgg-coffea
5aabdb127edaa15b0f22d54f0e3ccdc74c5c10de
[ "BSD-3-Clause" ]
2
2021-08-16T16:08:09.000Z
2021-11-12T00:41:50.000Z
src/hgg_coffea/tools/xgb_loader.py
holzman/hgg-coffea
5aabdb127edaa15b0f22d54f0e3ccdc74c5c10de
[ "BSD-3-Clause" ]
8
2021-07-22T07:49:19.000Z
2022-01-26T22:58:03.000Z
import gzip import lzma import warnings from typing import Optional import xgboost def _get_gzip(fname: str) -> bytearray: return bytearray(gzip.open(fname, "rb").read()) def _get_lzma(fname: str) -> bytearray: return bytearray(lzma.open(fname, "rb").read()) _magics = { b"\x1f\x8b": _get_gzip, b"...
21.891892
54
0.632099
106
810
4.716981
0.415094
0.048
0.066
0.092
0.128
0
0
0
0
0
0
0.006547
0.245679
810
36
55
22.5
0.811784
0
0
0.074074
0
0
0.023457
0
0
0
0
0
0
1
0.111111
false
0
0.185185
0.074074
0.407407
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
0
0
0
0
0
1
0