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
1bcfde6f2e7e3b6d5e886265903731eb5376b4e9
1,889
py
Python
test2.py
YANGYANTEST/chunyun
1d2b341a267d867c60ccfe6592e4120248e055c4
[ "MIT" ]
null
null
null
test2.py
YANGYANTEST/chunyun
1d2b341a267d867c60ccfe6592e4120248e055c4
[ "MIT" ]
null
null
null
test2.py
YANGYANTEST/chunyun
1d2b341a267d867c60ccfe6592e4120248e055c4
[ "MIT" ]
null
null
null
import requests date="2018-01-19" fromstation="hangzhou" tostation="shanghai" url='https://kyfw.12306.cn/otn/leftTicket/queryZ?leftTicketDTO.train_date={}&leftTicketDTO.from_station={}BJP&leftTicketDTO.to_station={}&purpose_codes=ADULT'.format(date,fromstation,tostation) print(url) # r=requests.get(url) # print(r.jso...
62.966667
492
0.789836
320
1,889
4.609375
0.38125
0.021695
0.027119
0.04339
0.813559
0.813559
0.813559
0.813559
0.813559
0.813559
0
0.052231
0.026998
1,889
30
493
62.966667
0.750272
0.286395
0
0
0
0.25
0.803922
0.585784
0
0
0
0
0
1
0.125
false
0
0.125
0
0.25
0.125
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
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
1bd6af6ab3b81a356dcca93bb17f6fd5adf25ded
19,582
py
Python
autogalaxy/profiles/light_profiles/light_profiles_snr.py
caoxiaoyue/PyAutoGalaxy
ad2b4b27404f5bf0f65ba9a0cd7c3ee6570e2d05
[ "MIT" ]
null
null
null
autogalaxy/profiles/light_profiles/light_profiles_snr.py
caoxiaoyue/PyAutoGalaxy
ad2b4b27404f5bf0f65ba9a0cd7c3ee6570e2d05
[ "MIT" ]
null
null
null
autogalaxy/profiles/light_profiles/light_profiles_snr.py
caoxiaoyue/PyAutoGalaxy
ad2b4b27404f5bf0f65ba9a0cd7c3ee6570e2d05
[ "MIT" ]
null
null
null
import numpy as np from typing import Tuple import autoarray as aa from autogalaxy.profiles.light_profiles import light_profiles as lp from scipy.optimize import root_scalar class LightProfileSNR: def __init__(self, signal_to_noise_ratio: float = 10.0): """ This light profile class s...
39.559596
120
0.619089
2,382
19,582
4.91016
0.106213
0.011286
0.053352
0.070793
0.816518
0.807114
0.785995
0.785995
0.780181
0.776761
0
0.018572
0.309825
19,582
494
121
39.639676
0.846837
0.504085
0
0.730159
0
0
0
0
0
0
0
0
0
1
0.084656
false
0
0.026455
0
0.185185
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
940798838107d30e16b395ff17ec45e35c2a9806
20,970
py
Python
biserici_inlemnite/app/migrations/0050_auto_20210927_1505.py
ck-tm/biserici-inlemnite
c9d12127b92f25d3ab2fcc7b4c386419fe308a4e
[ "MIT" ]
null
null
null
biserici_inlemnite/app/migrations/0050_auto_20210927_1505.py
ck-tm/biserici-inlemnite
c9d12127b92f25d3ab2fcc7b4c386419fe308a4e
[ "MIT" ]
null
null
null
biserici_inlemnite/app/migrations/0050_auto_20210927_1505.py
ck-tm/biserici-inlemnite
c9d12127b92f25d3ab2fcc7b4c386419fe308a4e
[ "MIT" ]
null
null
null
# Generated by Django 3.1.13 on 2021-09-27 12:05 from django.db import migrations, models import django.db.models.deletion import modelcluster.fields import wagtail.core.fields class Migration(migrations.Migration): dependencies = [ ('wagtailimages', '0023_add_choose_permissions'), ('app', '0049...
60.782609
178
0.60434
2,050
20,970
6.030732
0.066829
0.050231
0.054356
0.085416
0.912885
0.912885
0.912885
0.912885
0.912885
0.912885
0
0.001525
0.249642
20,970
344
179
60.959302
0.784175
0.002194
0
0.751479
1
0
0.166189
0.031594
0
0
0
0
0
1
0
false
0
0.017751
0
0.026627
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
846f5511c7cd13ebe2bbc394dec148e431e88b00
2,120
py
Python
SubX/compute_subx_anom.py
Sijie-umn/SSF-MIP
89636846cc11950c9fd851e58ea410cef72d9b90
[ "MIT" ]
6
2021-10-18T01:16:57.000Z
2022-03-18T07:32:00.000Z
SubX/compute_subx_anom.py
Sijie-umn/SSF-MIP
89636846cc11950c9fd851e58ea410cef72d9b90
[ "MIT" ]
null
null
null
SubX/compute_subx_anom.py
Sijie-umn/SSF-MIP
89636846cc11950c9fd851e58ea410cef72d9b90
[ "MIT" ]
2
2021-12-27T01:40:02.000Z
2022-01-17T12:32:13.000Z
from netCDF4 import Dataset import pandas as pd import numpy as np for model in ['NCEP', 'GMAO']: tmp2m_week34 = pd.read_hdf('tmp2m_{}.h5'.format(model)).reset_index() tmp2m_week34_climo = pd.read_hdf('tmp2m_{}_climo.h5'.format(model)) tmp2m_week34_climo['climo'] = tmp2m_week34_climo['tmp2m'] tmp2m_we...
58.888889
155
0.713208
298
2,120
4.721477
0.157718
0.422175
0.181947
0.156361
0.931059
0.90263
0.867093
0.867093
0.867093
0.867093
0
0.102442
0.111321
2,120
35
156
60.571429
0.644374
0
0
0.733333
0
0
0.192925
0.025472
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0
0
0
0
null
1
1
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
848fbcfbd996f24ac332bfad27929748b792b85b
4,092
py
Python
pasd/conversion.py
andreww5au/PaSD-client
5ed7ff3e8b529c440fbfecb8c3159516285496c4
[ "MIT" ]
null
null
null
pasd/conversion.py
andreww5au/PaSD-client
5ed7ff3e8b529c440fbfecb8c3159516285496c4
[ "MIT" ]
null
null
null
pasd/conversion.py
andreww5au/PaSD-client
5ed7ff3e8b529c440fbfecb8c3159516285496c4
[ "MIT" ]
null
null
null
""" Scaling functions that take PCB and modbus register version numbers, and convert raw register values into real values. """ def scale_5v(value, reverse=False, pcb_version=0): """ Given a raw register value and the PCB version number, find out what scale and offset are needed, convert the raw value to a...
41.755102
119
0.699413
642
4,092
4.425234
0.17757
0.070398
0.056318
0.035199
0.794087
0.780711
0.76276
0.76276
0.740936
0.740936
0
0.042065
0.233138
4,092
97
120
42.185567
0.863289
0.738514
0
0.62963
0
0
0
0
0
0
0.034642
0.010309
0
1
0.185185
false
0
0
0
0.555556
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
7
04dea5e5dcd04a26839cc140c621f7661afacef1
164
py
Python
partial_date/__init__.py
jherskovic/django_partial_date
ecd98344f6512281c425277a18a7ff91260458a6
[ "MIT" ]
null
null
null
partial_date/__init__.py
jherskovic/django_partial_date
ecd98344f6512281c425277a18a7ff91260458a6
[ "MIT" ]
null
null
null
partial_date/__init__.py
jherskovic/django_partial_date
ecd98344f6512281c425277a18a7ff91260458a6
[ "MIT" ]
null
null
null
from partial_date.fields import PartialDate, PartialDateField from partial_date.forms import PartialDateFormField from partial_date.widget import PartialDateWidget
41
61
0.896341
19
164
7.578947
0.578947
0.229167
0.3125
0
0
0
0
0
0
0
0
0
0.079268
164
3
62
54.666667
0.953642
0
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
b6bfd45374c9b443edf712ab693da67e4ce46883
47
py
Python
src/lib/test/decimaltestdata/__init__.py
DTenore/skulpt
098d20acfb088d6db85535132c324b7ac2f2d212
[ "MIT" ]
2,671
2015-01-03T08:23:25.000Z
2022-03-31T06:15:48.000Z
src/lib/test/decimaltestdata/__init__.py
wakeupmuyunhe/skulpt
a8fb11a80fb6d7c016bab5dfe3712517a350b347
[ "MIT" ]
972
2015-01-05T08:11:00.000Z
2022-03-29T13:47:15.000Z
src/lib/test/decimaltestdata/__init__.py
wakeupmuyunhe/skulpt
a8fb11a80fb6d7c016bab5dfe3712517a350b347
[ "MIT" ]
845
2015-01-03T19:53:36.000Z
2022-03-29T18:34:22.000Z
import _sk_fail; _sk_fail._("decimaltestdata")
23.5
46
0.808511
6
47
5.5
0.666667
0.363636
0
0
0
0
0
0
0
0
0
0
0.06383
47
1
47
47
0.75
0
0
0
0
0
0.319149
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
8e0538de4a184c00078ea0df2f27fe533441604d
3,631
py
Python
SimTools/broken.test_ORF_eliminator.py
ShepherdCode/Soars2021
ab4f304eaa09e52d260152397a6c53d7a05457da
[ "MIT" ]
1
2021-08-16T14:49:04.000Z
2021-08-16T14:49:04.000Z
SimTools/broken.test_ORF_eliminator.py
ShepherdCode/Soars2021
ab4f304eaa09e52d260152397a6c53d7a05457da
[ "MIT" ]
null
null
null
SimTools/broken.test_ORF_eliminator.py
ShepherdCode/Soars2021
ab4f304eaa09e52d260152397a6c53d7a05457da
[ "MIT" ]
null
null
null
import pytest from ORF_eliminator import ORF_eliminator from RNA_describe import RNA_describer from RNA_describe import ORF_counter from RNA_describe import ORF_RE class Test_ORF_eliminator: ''' Test to see if ORF_eliminator recreates the sequence without ORF! In rna, clearly we have a ORF of length 6....
30.771186
66
0.590746
451
3,631
4.578714
0.181818
0.037772
0.069734
0.072639
0.824697
0.801453
0.801453
0.801453
0.798063
0.798063
0
0.014356
0.32856
3,631
118
67
30.771186
0.83265
0.069127
0
0.857143
0
0
0.098857
0
0
0
0
0
0.142857
1
0.071429
false
0
0.059524
0
0.142857
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
6d1acea6c55d41d01519b3de9caf78adc008581f
75
py
Python
almacen_api/__init__.py
xyla-io/almacen_api
07497c64e6d1d52296a20dde106bc1af36f27114
[ "MIT" ]
null
null
null
almacen_api/__init__.py
xyla-io/almacen_api
07497c64e6d1d52296a20dde106bc1af36f27114
[ "MIT" ]
null
null
null
almacen_api/__init__.py
xyla-io/almacen_api
07497c64e6d1d52296a20dde106bc1af36f27114
[ "MIT" ]
null
null
null
from almacen_api.api import AlmacenAPI, api from almacen_api.app import app
37.5
43
0.853333
13
75
4.769231
0.461538
0.354839
0.451613
0
0
0
0
0
0
0
0
0
0.106667
75
2
44
37.5
0.925373
0
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
6d446eb63bb01f5af329d4b6422c7feea4daca19
106,288
py
Python
nova/tests/unit/scheduler/test_host_manager.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
null
null
null
nova/tests/unit/scheduler/test_host_manager.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
null
null
null
nova/tests/unit/scheduler/test_host_manager.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
2
2017-07-20T17:31:34.000Z
2020-07-24T02:42:19.000Z
begin_unit comment|'# Copyright (c) 2011 OpenStack Foundation' nl|'\n' comment|'# All Rights Reserved.' nl|'\n' comment|'#' nl|'\n' comment|'# Licensed under the Apache License, Version 2.0 (the "License"); you may' nl|'\n' comment|'# not use this file except in compliance with the License. You may obtain' nl|'\n...
12.224037
88
0.606117
16,096
106,288
3.853752
0.02833
0.178269
0.080606
0.067258
0.939916
0.921248
0.898759
0.884169
0.860729
0.839932
0
0.006387
0.089596
106,288
8,694
89
12.225443
0.634651
0
0
0.972395
0
0
0.375358
0.042978
0
0
0
0
0.013688
0
null
null
0.00069
0.00253
null
null
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
8
ed95630427f2cc0fa6115167f4083a93272c222d
33,986
py
Python
anno_repo/tf_record.py
annomator/annomator_package_beta_0.1
134d5c3b2818cf196021ed1ce61424259e80d7f6
[ "Apache-2.0" ]
14
2019-03-28T06:00:28.000Z
2022-02-28T06:13:28.000Z
anno_repo/tf_record.py
annomator/annomator_package_beta_0.1
134d5c3b2818cf196021ed1ce61424259e80d7f6
[ "Apache-2.0" ]
16
2020-01-28T22:12:17.000Z
2022-02-10T00:13:24.000Z
anno_repo/tf_record.py
annomator/annomator_package_beta_0.1
134d5c3b2818cf196021ed1ce61424259e80d7f6
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Annomator Written by Arend Smits # Copyright 2019 The TensorFlow Authors. All Rights Reserved. # 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...
39.749708
128
0.609839
4,216
33,986
4.625474
0.075427
0.027076
0.040613
0.040101
0.903441
0.89939
0.898313
0.893595
0.886108
0.883903
0
0.009785
0.296328
33,986
854
129
39.796253
0.805645
0.109192
0
0.882716
0
0
0.083595
0.01528
0
0
0
0
0
1
0.020062
false
0
0.018519
0.007716
0.061728
0.084877
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
edacfc2629f202848d268c38c5d0bcd93dfff92b
87
py
Python
loadbank/__init__.py
kanosuke/loadbank
d16e71fd60371fc034127cb9cb2b67d83d4bc4e5
[ "MIT" ]
null
null
null
loadbank/__init__.py
kanosuke/loadbank
d16e71fd60371fc034127cb9cb2b67d83d4bc4e5
[ "MIT" ]
null
null
null
loadbank/__init__.py
kanosuke/loadbank
d16e71fd60371fc034127cb9cb2b67d83d4bc4e5
[ "MIT" ]
null
null
null
from .load_bank import load_bank_classifier from .load_bank import load_bank_regressor
29
43
0.885057
14
87
5.071429
0.428571
0.450704
0.338028
0.507042
0.732394
0.732394
0
0
0
0
0
0
0.091954
87
2
44
43.5
0.898734
0
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
1
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
8
edc2cdc5eadd714bdbf227eff949ac748e60b7b1
8,784
py
Python
reduction/imaging_continuum.py
keflavich/W51_VLA-16B-202
4c743c5d001e097f1d184a550e6d21441ca02f2d
[ "BSD-3-Clause" ]
null
null
null
reduction/imaging_continuum.py
keflavich/W51_VLA-16B-202
4c743c5d001e097f1d184a550e6d21441ca02f2d
[ "BSD-3-Clause" ]
null
null
null
reduction/imaging_continuum.py
keflavich/W51_VLA-16B-202
4c743c5d001e097f1d184a550e6d21441ca02f2d
[ "BSD-3-Clause" ]
null
null
null
# SB1 may have terrible calibration (is 2x as faint, and wasn't appropriately # statwt'd b/c it didn't go through the pipeline) vis = [#'16B-202.sb32532587.eb32875589.57663.07622001157.ms', '16B-202.sb32957824.eb33105444.57748.63243916667.ms', '16B-202.sb32957824.eb33142274.57752.64119381944.ms', '...
41.046729
157
0.654485
993
8,784
5.731118
0.186304
0.098401
0.084871
0.125461
0.911615
0.911615
0.911615
0.904059
0.904059
0.904059
0
0.069163
0.185223
8,784
213
158
41.239437
0.726003
0.020036
0
0.909091
0
0.005682
0.2448
0.091433
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
edcf6d2f8de4e1a2fe9730822e8b52477312820d
1,166
py
Python
temboo/core/Library/PagerDuty/Incidents/__init__.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
7
2016-03-07T02:07:21.000Z
2022-01-21T02:22:41.000Z
temboo/core/Library/PagerDuty/Incidents/__init__.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
null
null
null
temboo/core/Library/PagerDuty/Incidents/__init__.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
8
2016-06-14T06:01:11.000Z
2020-04-22T09:21:44.000Z
from temboo.Library.PagerDuty.Incidents.AcknowledgeIncident import AcknowledgeIncident, AcknowledgeIncidentInputSet, AcknowledgeIncidentResultSet, AcknowledgeIncidentChoreographyExecution from temboo.Library.PagerDuty.Incidents.CountIncidents import CountIncidents, CountIncidentsInputSet, CountIncidentsResultSet, Count...
145.75
187
0.915952
77
1,166
13.87013
0.441558
0.065543
0.111423
0.170412
0.229401
0
0
0
0
0
0
0
0.042024
1,166
7
188
166.571429
0.956133
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
1
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
edfc46f614aeb441228b2f6603654c77fc5a3242
188
py
Python
src/pipeline/main.py
domfp13/DataEngineering-DBT
637d4675b5d6a708ae99eb31bee3a745d3e64dc1
[ "MIT" ]
1
2021-04-02T21:22:19.000Z
2021-04-02T21:22:19.000Z
src/pipeline/main.py
domfp13/DataEngineering-DBT
637d4675b5d6a708ae99eb31bee3a745d3e64dc1
[ "MIT" ]
null
null
null
src/pipeline/main.py
domfp13/DataEngineering-DBT
637d4675b5d6a708ae99eb31bee3a745d3e64dc1
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Created by Luis Enrique Fuentes Plata from __init__ import load_raw_netflix_titles if __name__ == "__main__": load_raw_netflix_titles('netflix_titles.csv')
23.5
49
0.75
26
188
4.692308
0.769231
0.319672
0.229508
0.327869
0
0
0
0
0
0
0
0.006211
0.143617
188
8
49
23.5
0.751553
0.31383
0
0
0
0
0.204724
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
7
b67440d1dd54ac31e31ee777544db0389fcf7e2d
6,847
py
Python
tests/unit/test_CXRGBAColor.py
docinfosci/canvasxpress-python
532a981b04d0f50bbde1852c695117a6220f4589
[ "MIT" ]
4
2021-03-18T17:23:40.000Z
2022-02-01T19:07:01.000Z
tests/unit/test_CXRGBAColor.py
docinfosci/canvasxpress-python
532a981b04d0f50bbde1852c695117a6220f4589
[ "MIT" ]
8
2021-04-30T20:46:57.000Z
2022-03-10T07:25:31.000Z
tests/unit/test_CXRGBAColor.py
docinfosci/canvasxpress-python
532a981b04d0f50bbde1852c695117a6220f4589
[ "MIT" ]
1
2022-02-03T00:35:14.000Z
2022-02-03T00:35:14.000Z
import json from copy import copy, deepcopy import pytest from canvasxpress.config.type import CXRGBAColor, CXBool def test_CXRGBAColor_init(): subject: CXRGBAColor = CXRGBAColor( label="1", value={'r': 128, 'g': 128, 'b': 128, 'a': 0.5} ) assert subject.label == "1" assert subject.v...
37.010811
86
0.605959
993
6,847
4.091641
0.054381
0.019198
0.128477
0.129953
0.857741
0.830175
0.78981
0.769136
0.71745
0.66035
0
0.089003
0.205784
6,847
184
87
37.211957
0.658146
0
0
0.478873
0
0
0.05915
0.003067
0
0
0
0
0.471831
1
0.077465
false
0
0.028169
0
0.105634
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
1
0
0
0
0
0
0
0
0
0
7
b6a301f255eb43199d0125d35d99576b52cd9f25
23,390
py
Python
similarweb/base.py
audiencepi/SimilarWeb-Python
4bf5e2315815cb622bd64714573f8df29339e615
[ "MIT" ]
4
2019-04-20T16:32:46.000Z
2021-10-30T14:14:25.000Z
similarweb/base.py
audiencepi/SimilarWeb-Python
4bf5e2315815cb622bd64714573f8df29339e615
[ "MIT" ]
null
null
null
similarweb/base.py
audiencepi/SimilarWeb-Python
4bf5e2315815cb622bd64714573f8df29339e615
[ "MIT" ]
3
2017-10-11T16:04:23.000Z
2020-10-26T15:04:09.000Z
import requests import json from abc import ABCMeta, abstractmethod from similarweb.exceptions import InvalidResponseException, InvalidEndpointException from similarweb import utils class SimilarWeb(object): __metaclass__ = ABCMeta def __init__(self, api_key): """ Parameters ---------...
27.812128
116
0.597349
2,610
23,390
5.135632
0.062452
0.055506
0.041779
0.0188
0.867204
0.861907
0.859893
0.84997
0.817443
0.787526
0
0.001888
0.297991
23,390
840
117
27.845238
0.814434
0.166439
0
0.789954
0
0
0.140588
0.075727
0
0
0
0
0
1
0.166667
false
0
0.011416
0.009132
0.347032
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
fced7d210271c1e01297dccfa5abbdc59a88b29c
8,303
py
Python
tema5/function_aproximator/deep.py
luguzman/ia-course
71cc0eeaa77d6c44ca85067391aeaee40a8fd14b
[ "MIT" ]
null
null
null
tema5/function_aproximator/deep.py
luguzman/ia-course
71cc0eeaa77d6c44ca85067391aeaee40a8fd14b
[ "MIT" ]
null
null
null
tema5/function_aproximator/deep.py
luguzman/ia-course
71cc0eeaa77d6c44ca85067391aeaee40a8fd14b
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Nov 8 11:17:49 2018 @author: juangabriel """ import torch class DeepActor(torch.nn.Module): def __init__(self, input_shape, output_shape, device = torch.device("cpu")): """ Una red neuronal convolucional profunda que produci...
47.718391
149
0.580634
1,086
8,303
4.361878
0.143646
0.087186
0.05742
0.074309
0.812328
0.798185
0.781085
0.769897
0.738231
0.727887
0
0.035588
0.319764
8,303
174
150
47.718391
0.803116
0.334457
0
0.727273
0
0
0.002345
0
0
0
0
0
0
1
0.080808
false
0
0.010101
0
0.171717
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
bf7be829cbd97a16c845b109ffdb8002402baa5e
234
py
Python
utils/ascii.py
Vaansh/Zendesk-Ticket-Viewer
bb836c19432f51426dc99de9e33fd762da7f263c
[ "MIT" ]
null
null
null
utils/ascii.py
Vaansh/Zendesk-Ticket-Viewer
bb836c19432f51426dc99de9e33fd762da7f263c
[ "MIT" ]
null
null
null
utils/ascii.py
Vaansh/Zendesk-Ticket-Viewer
bb836c19432f51426dc99de9e33fd762da7f263c
[ "MIT" ]
null
null
null
import utils.helpers as helpers def logo() -> str: return helpers.get_string_from_text_file("utils/data/logo.txt") def application_name() -> str: return helpers.get_string_from_text_file("utils/data/application_name.txt")
23.4
79
0.764957
35
234
4.828571
0.485714
0.106509
0.189349
0.224852
0.544379
0.544379
0.544379
0.544379
0.544379
0.544379
0
0
0.119658
234
9
80
26
0.820388
0
0
0
0
0
0.213675
0.132479
0
0
0
0
0
1
0.4
true
0
0.2
0.4
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
1
1
0
0
7
bfcec866d5b9f581254d00f38baaab07922191df
13,007
py
Python
deucevalere/tests/test_client_valere_validate_metadata.py
BenjamenMeyer/deuce-valere
e9ba7d96825e81e51ddd5f99f1464990969a8f07
[ "Apache-2.0" ]
null
null
null
deucevalere/tests/test_client_valere_validate_metadata.py
BenjamenMeyer/deuce-valere
e9ba7d96825e81e51ddd5f99f1464990969a8f07
[ "Apache-2.0" ]
null
null
null
deucevalere/tests/test_client_valere_validate_metadata.py
BenjamenMeyer/deuce-valere
e9ba7d96825e81e51ddd5f99f1464990969a8f07
[ "Apache-2.0" ]
null
null
null
""" Deuce Valere - Tests - Client - Valere - Validate Metadata """ import functools import json import mock from deuceclient.tests import * import httpretty from deucevalere.tests import * from deucevalere.tests.client_base import TestValereClientBase from deucevalere.tests.client_base import calculate_ref_modified ...
42.368078
78
0.538249
1,189
13,007
5.603028
0.092515
0.049535
0.084209
0.063795
0.88547
0.870459
0.854398
0.854398
0.854398
0.854398
0
0.002911
0.392481
13,007
306
79
42.506536
0.840167
0.004459
0
0.834746
0
0
0.004636
0.003555
0
0
0
0
0.110169
1
0.131356
false
0
0.033898
0.084746
0.254237
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
449b1e5a31a1161c5dd68ca2464186bb19046e90
1,007
py
Python
Level2/Lessons12980/gamjapark.py
StudyForCoding/ProgrammersLevel
dc957b1c02cc4383a93b8cbf3d739e6c4d88aa25
[ "MIT" ]
null
null
null
Level2/Lessons12980/gamjapark.py
StudyForCoding/ProgrammersLevel
dc957b1c02cc4383a93b8cbf3d739e6c4d88aa25
[ "MIT" ]
null
null
null
Level2/Lessons12980/gamjapark.py
StudyForCoding/ProgrammersLevel
dc957b1c02cc4383a93b8cbf3d739e6c4d88aa25
[ "MIT" ]
1
2021-04-05T07:35:59.000Z
2021-04-05T07:35:59.000Z
# 점프와 순간이동 def solution(n): ans = 0 while n > 0: if n % 2 != 0: ans+= 1 n //= 2 return ans ''' 채점을 시작합니다. 정확성 테스트 테스트 1 〉 통과 (0.00ms, 10.2MB) 테스트 2 〉 통과 (0.00ms, 10.1MB) 테스트 3 〉 통과 (0.00ms, 10.2MB) 테스트 4 〉 통과 (0.00ms, 10.2MB) 테스트 5 〉 통과 (0.01ms, 10.2MB) 테스트 6 〉 통과 (0.00ms, 10.2...
21.425532
28
0.550149
263
1,007
2.212928
0.174905
0.14433
0.19244
0.19244
0.812715
0.802406
0.756014
0.103093
0.103093
0.103093
0
0.300133
0.252234
1,007
46
29
21.891304
0.435591
0.007944
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.285714
0
0
0
0
null
0
1
1
1
1
1
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
44fc5c74323f2aa700807512f25fbcd5d5860605
1,194
py
Python
prediction_models/reg_regression.py
MrHuff/general_ds_pipeline
c11440d7e54329931d3b1a4cb5b7f1c855a208cb
[ "MIT" ]
null
null
null
prediction_models/reg_regression.py
MrHuff/general_ds_pipeline
c11440d7e54329931d3b1a4cb5b7f1c855a208cb
[ "MIT" ]
null
null
null
prediction_models/reg_regression.py
MrHuff/general_ds_pipeline
c11440d7e54329931d3b1a4cb5b7f1c855a208cb
[ "MIT" ]
null
null
null
from sklearn.linear_model import Ridge,Lasso,ElasticNet from utils.other import calc_r2 class ridge_regression(): def __init__(self,X_tr,Y_tr): self.X_tr = X_tr self.Y_tr = Y_tr def fit(self,hparams): self.model = Ridge(alpha=hparams['alpha']) self.model.fit(self.X_tr, self.Y_t...
29.85
55
0.632328
200
1,194
3.465
0.145
0.08658
0.090909
0.069264
0.832612
0.832612
0.832612
0.832612
0.832612
0.832612
0
0.011148
0.248744
1,194
40
56
29.85
0.761427
0
0
0.771429
0
0
0.012552
0
0
0
0
0
0
1
0.257143
false
0
0.057143
0
0.485714
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
8
78191030b58f41a3df717bf52e30bc9f6373f718
2,225
py
Python
tests/messages.py
destos/bonfo
ac6052769f873c743ca14cffbc6d348b321495b7
[ "MIT" ]
null
null
null
tests/messages.py
destos/bonfo
ac6052769f873c743ca14cffbc6d348b321495b7
[ "MIT" ]
1
2022-03-31T01:54:53.000Z
2022-03-31T01:54:53.000Z
tests/messages.py
destos/bonfo
ac6052769f873c743ca14cffbc6d348b321495b7
[ "MIT" ]
null
null
null
# V1.43 messages # PID advanced # does not include feedforward data or vbat sag comp or thrust linearization # pid_advanced = b"$M>2^\x00\x00\x00\x00x00\x00\x00\x00\x04\x00\x00\x00\x00\x00\x00\x00\x007\x00\xfa\x00\xd8\x0e\x00\x00\x00\x00\x01\x01\x00\n\x14H\x00H\x00H\x00\x00\x15\x1a\x00(\x14\x00\xc8\x0fd\x04\x00\xb1" p...
45.408163
231
0.719101
452
2,225
3.488938
0.318584
0.395688
0.473684
0.517438
0.446417
0.414077
0.414077
0.374128
0.317692
0.317692
0
0.278181
0.071011
2,225
48
232
46.354167
0.484761
0.229663
0
0
0
0.333333
0.773075
0.6408
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
7888668d739d548b5a0d66b6038aa3131ce64748
6,343
py
Python
Radar.py
rickyspy/Pedestrian-Model-Evaluation
ae36807d2d9928ee69148a956febedf2b6d76ea8
[ "MIT" ]
3
2020-01-21T08:31:08.000Z
2022-03-10T19:54:25.000Z
Radar.py
chraibi/Pedestrian-Model-Evaluation
97f75c5e108c1fdcea7beb76e41b36c1af85f738
[ "MIT" ]
2
2020-03-06T14:02:08.000Z
2021-06-19T05:24:36.000Z
Radar.py
chraibi/Pedestrian-Model-Evaluation
97f75c5e108c1fdcea7beb76e41b36c1af85f738
[ "MIT" ]
3
2020-03-06T18:44:18.000Z
2022-02-28T14:42:15.000Z
import numpy as np import matplotlib.pyplot as plt from matplotlib.lines import Line2D def RadarFigure(scoreslist, linestylelist, modelnamelist): # 模板数据和标签 dataLenth = 8 angles = np.linspace((1 / 4) * np.pi, (2 + 1 / 4) * np.pi, dataLenth, endpoint=False) angles = np.concatenate((angles, [a...
45.633094
121
0.574965
855
6,343
4.207018
0.208187
0.073395
0.00973
0.010008
0.810398
0.788713
0.775368
0.775368
0.765916
0.755908
0
0.052541
0.267854
6,343
138
122
45.963768
0.722007
0.178622
0
0.822222
0
0
0.084062
0
0
0
0
0
0
1
0.022222
false
0
0.033333
0
0.055556
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
78a5dc13145e1e6b10ba1f289dd839344c35ef17
41
py
Python
lib/IPCE/Lib/fepy/codecs_errors.py
AustralianDisabilityLimited/MultiversePlatform
7e1aad33d48b9e47f3db2ca638cb57592336ddb7
[ "MIT" ]
33
2015-02-16T02:52:08.000Z
2022-02-18T08:46:32.000Z
lib/IPCE/Lib/fepy/codecs_errors.py
bensku/MultiversePlatform
7e1aad33d48b9e47f3db2ca638cb57592336ddb7
[ "MIT" ]
1
2017-09-09T18:50:23.000Z
2020-12-29T18:13:56.000Z
lib/IPCE/Lib/fepy/codecs_errors.py
bensku/MultiversePlatform
7e1aad33d48b9e47f3db2ca638cb57592336ddb7
[ "MIT" ]
31
2015-02-07T16:20:24.000Z
2022-02-23T15:02:43.000Z
def install(): import _codecs_errors
13.666667
25
0.731707
5
41
5.6
1
0
0
0
0
0
0
0
0
0
0
0
0.195122
41
2
26
20.5
0.848485
0
0
0
0
0
0
0
0
0
0
0
0
1
0.5
true
0
0.5
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
1
1
0
1
0
1
0
0
7
78c4cc3a0ed904c9e2e09930952f8c7091ef3a74
786
py
Python
pytorch_projects/common_pytorch/io_pytorch.py
KGMSFT/integral-human-pose
d3ad4117ed71c580d2ab17987e15f9b2c3318a3b
[ "MIT" ]
472
2018-07-20T04:01:04.000Z
2022-01-20T07:28:06.000Z
pytorch_projects/common_pytorch/io_pytorch.py
KGMSFT/integral-human-pose
d3ad4117ed71c580d2ab17987e15f9b2c3318a3b
[ "MIT" ]
44
2018-09-17T06:39:13.000Z
2021-09-10T06:22:27.000Z
pytorch_projects/common_pytorch/io_pytorch.py
KGMSFT/integral-human-pose
d3ad4117ed71c580d2ab17987e15f9b2c3318a3b
[ "MIT" ]
88
2018-07-22T13:10:16.000Z
2022-03-21T11:21:38.000Z
import torch def save_model(state, model_prefix, logger, epoch): file_path = '{}_epoch{}.pth.tar'.format(model_prefix, str(epoch)) torch.save(state, file_path) logger.info("Write Model into {}".format(file_path)) def save_latest_model(state, model_prefix, logger): ''' Save a latest ckpt to automat...
31.44
69
0.701018
111
786
4.738739
0.252252
0.136882
0.085551
0.119772
0.851711
0.756654
0.756654
0.756654
0.756654
0.756654
0
0
0.165394
786
24
70
32.75
0.801829
0.133588
0
0.384615
0
0
0.177196
0.035439
0
0
0
0
0
1
0.230769
false
0
0.076923
0
0.307692
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
1
0
0
0
0
0
0
0
7
78c6f423db42c15e253274b099edebd748140397
3,885
py
Python
tests/chainermn_tests/iterators_tests/test_synchronized_iterator.py
zaltoprofen/chainer
3b03f9afc80fd67f65d5e0395ef199e9506b6ee1
[ "MIT" ]
3,705
2017-06-01T07:36:12.000Z
2022-03-30T10:46:15.000Z
tests/chainermn_tests/iterators_tests/test_synchronized_iterator.py
hitsgub/chainer
20d4d70f5cdacc1f24f243443f5bebc2055c8f8e
[ "MIT" ]
5,998
2017-06-01T06:40:17.000Z
2022-03-08T01:42:44.000Z
tests/chainermn_tests/iterators_tests/test_synchronized_iterator.py
hitsgub/chainer
20d4d70f5cdacc1f24f243443f5bebc2055c8f8e
[ "MIT" ]
1,150
2017-06-02T03:39:46.000Z
2022-03-29T02:29:32.000Z
import chainer import chainer.testing import chainermn import numpy as np import pytest import unittest class TestSynchronizedIterator(unittest.TestCase): def setUp(self): self.communicator = chainermn.create_communicator('naive') if self.communicator.size < 2: pytest.skip("This test...
38.465347
77
0.559073
410
3,885
5.182927
0.204878
0.165647
0.042353
0.060235
0.852235
0.839529
0.839529
0.812235
0.812235
0.812235
0
0.016827
0.357529
3,885
100
78
38.85
0.834535
0.029086
0
0.740741
0
0
0.009552
0
0
0
0
0
0.074074
1
0.061728
false
0
0.074074
0
0.148148
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
1550e768382ac6a9d41a5d5f195c664c139f8e82
51,685
py
Python
model_train.py
hxttkl/KDD_CUP_AutoGraph_AutoEnsemble
88b766eb66e33d51ca350b22485bd9839e193ab2
[ "MIT" ]
9
2020-08-26T12:37:31.000Z
2021-11-01T07:26:28.000Z
model_train.py
hxttkl/KDD_CUP_AutoGraph_AutoEnsemble
88b766eb66e33d51ca350b22485bd9839e193ab2
[ "MIT" ]
null
null
null
model_train.py
hxttkl/KDD_CUP_AutoGraph_AutoEnsemble
88b766eb66e33d51ca350b22485bd9839e193ab2
[ "MIT" ]
1
2020-08-05T08:43:58.000Z
2020-08-05T08:43:58.000Z
from __future__ import with_statement # Required in 2.5 import torch import torch.nn.functional as F from sub_models import GatedGNN from sub_models import GatedGCN from sub_models_di import GatedGNN_di from sub_models_di import GatedGIN_di from sub_models import GatedGIN from sub_models import Lin2_APPNP from sub_mode...
35.352257
115
0.542382
6,496
51,685
4.169643
0.028171
0.034557
0.042236
0.033671
0.946799
0.939452
0.935797
0.935797
0.934542
0.927601
0
0.021498
0.324117
51,685
1,461
116
35.376454
0.753872
0.001316
0
0.914986
0
0
0.005309
0
0
0
0
0
0
1
0.028818
false
0.00072
0.019452
0
0.111671
0.025937
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
1578ce4d1ca504c7e7f3532f870430539d4b0517
1,655
py
Python
python/src/main/python/pyalink/alink/tests/examples/operator/batch/test_mlpc.py
wenwei8268/Alink
c00702538c95a32403985ebd344eb6aeb81749a7
[ "Apache-2.0" ]
null
null
null
python/src/main/python/pyalink/alink/tests/examples/operator/batch/test_mlpc.py
wenwei8268/Alink
c00702538c95a32403985ebd344eb6aeb81749a7
[ "Apache-2.0" ]
null
null
null
python/src/main/python/pyalink/alink/tests/examples/operator/batch/test_mlpc.py
wenwei8268/Alink
c00702538c95a32403985ebd344eb6aeb81749a7
[ "Apache-2.0" ]
null
null
null
import unittest from pyalink.alink import * class TestMlpc(unittest.TestCase): def test_mlpc(self): URL = "https://alink-test-data.oss-cn-hangzhou.aliyuncs.com/iris.csv" SCHEMA_STR = "sepal_length double, sepal_width double, petal_length double, petal_width double, category string"; data...
38.488372
121
0.648943
159
1,655
6.591195
0.345912
0.034351
0.022901
0.032443
0.870229
0.870229
0.870229
0.870229
0.870229
0.870229
0
0.008614
0.228399
1,655
42
122
39.404762
0.81206
0
0
0.774194
0
0.064516
0.281571
0
0
0
0
0
0
1
0.064516
false
0
0.064516
0
0.16129
0.064516
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
15a884c56a5cce0cd33a3185a3597c408ebdec65
11,736
py
Python
uniqueWord.py
Gokender/movie-genre-analyser
7f401b18d8790c2785f900bfe49acad2549a63b6
[ "MIT" ]
null
null
null
uniqueWord.py
Gokender/movie-genre-analyser
7f401b18d8790c2785f900bfe49acad2549a63b6
[ "MIT" ]
null
null
null
uniqueWord.py
Gokender/movie-genre-analyser
7f401b18d8790c2785f900bfe49acad2549a63b6
[ "MIT" ]
null
null
null
import codecs def uniqueWord(list_1, list_2): list_res = [] for it in list_1: try: #print(it) if it not in list_2: list_res.append(it) except Exception as e: continue return list_res movie_genres = ['drama','action','comedy','sci-f...
29.049505
127
0.746847
1,569
11,736
5.277884
0.039516
0.32001
0.318802
0.382562
0.868373
0.796884
0.796884
0.79616
0.793865
0.793865
0
0.002973
0.140167
11,736
403
128
29.121588
0.817659
0.007157
0
0.685714
0
0
0.067102
0.026033
0
0
0
0
0
1
0.003571
false
0
0.003571
0
0.010714
0.046429
0
0
0
null
1
1
1
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
9
ecd10b9869045896f487b3579ab5cf7f42a7361d
28,879
py
Python
sdk/python/pulumi_azure/core/resource_group_cost_management_export.py
henriktao/pulumi-azure
f1cbcf100b42b916da36d8fe28be3a159abaf022
[ "ECL-2.0", "Apache-2.0" ]
109
2018-06-18T00:19:44.000Z
2022-02-20T05:32:57.000Z
sdk/python/pulumi_azure/core/resource_group_cost_management_export.py
henriktao/pulumi-azure
f1cbcf100b42b916da36d8fe28be3a159abaf022
[ "ECL-2.0", "Apache-2.0" ]
663
2018-06-18T21:08:46.000Z
2022-03-31T20:10:11.000Z
sdk/python/pulumi_azure/core/resource_group_cost_management_export.py
henriktao/pulumi-azure
f1cbcf100b42b916da36d8fe28be3a159abaf022
[ "ECL-2.0", "Apache-2.0" ]
41
2018-07-19T22:37:38.000Z
2022-03-14T10:56:26.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
51.847397
239
0.700509
3,107
28,879
6.216608
0.074026
0.061507
0.048563
0.053068
0.875641
0.860678
0.851411
0.836293
0.823557
0.804504
0
0.00548
0.210187
28,879
556
240
51.940647
0.841335
0.350878
0
0.656566
1
0
0.199861
0.139862
0
0
0
0
0
1
0.158249
false
0.003367
0.023569
0
0.276094
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
bf0c283fe3e98b1923fe91da088f24e4e8e980e7
433
py
Python
Codewars/8kyu/logical-calculator/Python/test.py
RevansChen/online-judge
ad1b07fee7bd3c49418becccda904e17505f3018
[ "MIT" ]
7
2017-09-20T16:40:39.000Z
2021-08-31T18:15:08.000Z
Codewars/8kyu/logical-calculator/Python/test.py
RevansChen/online-judge
ad1b07fee7bd3c49418becccda904e17505f3018
[ "MIT" ]
null
null
null
Codewars/8kyu/logical-calculator/Python/test.py
RevansChen/online-judge
ad1b07fee7bd3c49418becccda904e17505f3018
[ "MIT" ]
null
null
null
# Python - 2.7.6 Test.describe('Basic tests') Test.assert_equals(logical_calc([True, False], 'AND'), False) Test.assert_equals(logical_calc([True, False], 'OR'), True) Test.assert_equals(logical_calc([True, False], 'XOR'), True) Test.assert_equals(logical_calc([True, True, False], 'AND'), False) Test.assert_equals(lo...
39.363636
67
0.725173
65
433
4.646154
0.261538
0.198676
0.317881
0.456954
0.860927
0.860927
0.860927
0.754967
0.754967
0.609272
0
0.007538
0.080831
433
10
68
43.3
0.751256
0.032333
0
0
0
0
0.064748
0
0
0
0
0
0.857143
1
0
true
0
0
0
0
0
0
0
0
null
0
1
1
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
1
0
0
1
0
0
0
0
0
0
10
1796a7ff3c77ed1c764d63ec643fad5d8a60746a
8,199
py
Python
iclientpy/test/rest/cmd/wxreceiver/test_WXHookReceiver.py
SuperMap/iClientPython
5e741c1efda9b12d321909428bd5c95e22482ea7
[ "Apache-2.0" ]
28
2018-04-19T07:11:34.000Z
2022-02-24T08:31:08.000Z
iclientpy/test/rest/cmd/wxreceiver/test_WXHookReceiver.py
SuperMap/iClientPython
5e741c1efda9b12d321909428bd5c95e22482ea7
[ "Apache-2.0" ]
3
2019-05-06T07:58:45.000Z
2020-11-18T21:16:38.000Z
iclientpy/test/rest/cmd/wxreceiver/test_WXHookReceiver.py
SuperMap/iClientPython
5e741c1efda9b12d321909428bd5c95e22482ea7
[ "Apache-2.0" ]
8
2018-06-14T02:29:53.000Z
2020-11-03T01:36:35.000Z
from unittest import TestCase from unittest.mock import MagicMock from iclientpy.rest.cmd.wxreceiver.server import WXHookReceiver class WXHookReceiverTest(TestCase): def setUp(self): self._msg_fun = MagicMock() self._crypt = MagicMock() class Receiver(WXHookReceiver): ...
75.220183
589
0.746189
751
8,199
7.94008
0.154461
0.080496
0.03354
0.024652
0.871877
0.865504
0.862318
0.856113
0.856113
0.856113
0
0.102499
0.131357
8,199
108
590
75.916667
0.734766
0.014148
0
0.533333
0
0.077778
0.508162
0.491462
0
0
0
0
0.088889
1
0.133333
false
0.011111
0.033333
0.033333
0.222222
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
bd5d154f1dd2b5140de7f73dc030d0dc3e275134
18,574
py
Python
tests/app/v2_company_companyinfolist_test.py
BoostryJP/ibet-Wallet-API
da7323a298bdb746e93da8a9b57a5da1dd6f14ac
[ "Apache-2.0" ]
6
2021-06-16T02:06:21.000Z
2021-09-20T09:50:56.000Z
tests/app/v2_company_companyinfolist_test.py
BoostryJP/ibet-Wallet-API
da7323a298bdb746e93da8a9b57a5da1dd6f14ac
[ "Apache-2.0" ]
68
2021-04-06T03:44:54.000Z
2022-03-29T02:00:02.000Z
tests/app/v2_company_companyinfolist_test.py
BoostryJP/ibet-Wallet-API
da7323a298bdb746e93da8a9b57a5da1dd6f14ac
[ "Apache-2.0" ]
null
null
null
""" Copyright BOOSTRY Co., Ltd. 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, software distr...
88.028436
1,905
0.820071
1,185
18,574
12.713924
0.227848
0.009292
0.008363
0.00916
0.875481
0.86818
0.862206
0.862206
0.859419
0.859419
0
0.099137
0.107731
18,574
210
1,906
88.447619
0.809932
0.048778
0
0.544218
0
0.040816
0.691811
0.62556
0
1
0
0
0.061224
1
0.040816
false
0
0.068027
0
0.136054
0
0
0
1
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
11
bd63536a97a8490de9d6c0a13697247da486a27c
58,841
py
Python
unittests/test_units.py
YangyangFu/MPCPy
c9980cbfe7b5ea21b003c2c0bab800099dccf3f1
[ "BSD-3-Clause-LBNL" ]
96
2017-03-31T09:59:44.000Z
2022-03-23T18:39:37.000Z
unittests/test_units.py
kuzha/MPCPy
9f78aa68236f87d39a50de54978c5064f9cc13c6
[ "BSD-3-Clause-LBNL" ]
150
2017-03-03T17:28:34.000Z
2021-02-24T20:03:24.000Z
unittests/test_units.py
kuzha/MPCPy
9f78aa68236f87d39a50de54978c5064f9cc13c6
[ "BSD-3-Clause-LBNL" ]
32
2017-04-24T18:22:40.000Z
2022-03-29T17:51:20.000Z
# -*- coding: utf-8 -*- """ This module contains the classes for testing the units of mpcpy. """ import unittest from mpcpy import variables from mpcpy import units #%% Temperature tests class Temperature(unittest.TestCase): def setUp(self): self.quantity_name = 'Temperature'; def test_K(self...
49.157059
79
0.624055
7,562
58,841
4.710394
0.026977
0.097698
0.133914
0.103762
0.924481
0.921561
0.919876
0.919876
0.857496
0.805362
0
0.024963
0.268826
58,841
1,197
80
49.157059
0.802966
0.251814
0
0.455587
0
0
0.022731
0.00163
0
0
0
0
0.623209
1
0.164756
false
0
0.004298
0
0.209169
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
1
0
0
0
0
0
0
0
0
0
7
bd67b74baae72d17c5b4ea4b2b8ccaf285a221ba
113
py
Python
config.py
Andrew-Pei/mtcnn
abb5d1e60ea442ab20bfbd2c1df7b7d5488e1d46
[ "MIT" ]
null
null
null
config.py
Andrew-Pei/mtcnn
abb5d1e60ea442ab20bfbd2c1df7b7d5488e1d46
[ "MIT" ]
null
null
null
config.py
Andrew-Pei/mtcnn
abb5d1e60ea442ab20bfbd2c1df7b7d5488e1d46
[ "MIT" ]
null
null
null
str0="2" str1="/data1/pbw_deepfake/test/extract_face_jpg/"+str0 str2="/data1/pbw_deepfake/test/"+str0+"/**/*_jpg"
37.666667
54
0.734513
18
113
4.333333
0.611111
0.205128
0.410256
0.512821
0
0
0
0
0
0
0
0.072072
0.017699
113
3
55
37.666667
0.630631
0
0
0
0
0
0.675439
0.587719
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
da06bec9746e2406bb9f2492871cdd080cc6206d
25,945
py
Python
dfirtrack_config/tests/assignment/test_assignment_toggle.py
thomas-kropeit/dfirtrack
b1e0e659af7bc8085cfe2d269ddc651f9f4ba585
[ "Apache-2.0" ]
null
null
null
dfirtrack_config/tests/assignment/test_assignment_toggle.py
thomas-kropeit/dfirtrack
b1e0e659af7bc8085cfe2d269ddc651f9f4ba585
[ "Apache-2.0" ]
6
2022-03-16T12:30:51.000Z
2022-03-28T01:34:45.000Z
dfirtrack_config/tests/assignment/test_assignment_toggle.py
thomas-kropeit/dfirtrack
b1e0e659af7bc8085cfe2d269ddc651f9f4ba585
[ "Apache-2.0" ]
null
null
null
import urllib.parse from django.contrib.auth.models import User from django.test import TestCase from dfirtrack_config.models import UserConfigModel def set_user_config_toogle_false(test_user): """set toggle flags in user config to false""" # get config user_config = UserConfigModel.objects.get(user_co...
37.277299
88
0.659125
2,767
25,945
5.916516
0.027467
0.058029
0.065848
0.062855
0.982408
0.979048
0.975383
0.930426
0.910207
0.900678
0
0.007954
0.24895
25,945
695
89
37.330935
0.832187
0.147504
0
0.493298
0
0
0.183718
0.132818
0
0
0
0
0.131367
1
0.101877
false
0.077748
0.010724
0
0.120643
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
1
0
0
0
0
0
7
da6c9d86f6ad200921b70c3091f8099a5f0b70de
45,950
py
Python
awswrangler/s3/_write.py
zacharycarter/aws-data-wrangler
7bae813a5a72602e441c79555b038d2db34f5c22
[ "Apache-2.0" ]
null
null
null
awswrangler/s3/_write.py
zacharycarter/aws-data-wrangler
7bae813a5a72602e441c79555b038d2db34f5c22
[ "Apache-2.0" ]
null
null
null
awswrangler/s3/_write.py
zacharycarter/aws-data-wrangler
7bae813a5a72602e441c79555b038d2db34f5c22
[ "Apache-2.0" ]
null
null
null
"""Amazon S3 Write Module (PRIVATE).""" import csv import logging import uuid from typing import Dict, List, Optional, Tuple, Union import boto3 # type: ignore import pandas as pd # type: ignore import pyarrow as pa # type: ignore import pyarrow.lib # type: ignore import pyarrow.parquet # type: ignore import s3f...
41.321942
119
0.626899
5,578
45,950
5.040337
0.072427
0.01942
0.022408
0.030731
0.852036
0.829984
0.818922
0.812662
0.801031
0.790254
0
0.010388
0.254211
45,950
1,111
120
41.359136
0.810032
0.472252
0
0.719844
0
0.001946
0.084529
0.011012
0
0
0
0
0
1
0.015564
false
0.01751
0.025292
0
0.054475
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
16f1c6cc1e118e4a3fbf7a0d16571e61a1c4a39e
90
py
Python
pymicrofluidics/pymicrofluidics/__init__.py
julou/PyMicrofluidics
0934861e49b7abc85d965ebf7d6b1d2bec050343
[ "MIT" ]
null
null
null
pymicrofluidics/pymicrofluidics/__init__.py
julou/PyMicrofluidics
0934861e49b7abc85d965ebf7d6b1d2bec050343
[ "MIT" ]
3
2018-03-22T10:44:48.000Z
2021-06-10T14:11:01.000Z
pymicrofluidics/pymicrofluidics/__init__.py
julou/PyMicrofluidics
0934861e49b7abc85d965ebf7d6b1d2bec050343
[ "MIT" ]
2
2018-03-22T10:36:57.000Z
2018-03-22T10:39:54.000Z
#import pymicrofluidics.microfluidics_class #import pymicrofluidics.microfluidics_plotting
45
46
0.922222
8
90
10.125
0.625
0.518519
0.839506
0
0
0
0
0
0
0
0
0
0.033333
90
2
46
45
0.931034
0.966667
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
1
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
7
e50040262f66f9ad4d170d2fce353c033bd67032
9,021
py
Python
tests/test_triggers.py
syseleven/rebootmgr
681a98efbc2472ef6587cacf8eb813a711b750e2
[ "MIT" ]
11
2018-11-14T11:14:59.000Z
2021-08-03T07:54:24.000Z
tests/test_triggers.py
syseleven/rebootmgr
681a98efbc2472ef6587cacf8eb813a711b750e2
[ "MIT" ]
9
2018-11-14T10:20:57.000Z
2020-03-17T12:38:25.000Z
tests/test_triggers.py
syseleven/rebootmgr
681a98efbc2472ef6587cacf8eb813a711b750e2
[ "MIT" ]
3
2019-02-07T11:34:38.000Z
2019-02-08T13:02:00.000Z
from rebootmgr.main import cli as rebootmgr import datetime import pytest import socket def test_reboot_not_required(run_cli, forward_consul_port, default_config, reboot_task): result = run_cli(rebootmgr, ["-v", "--check-triggers"]) assert "No reboot necessary" in result.output assert result.exit_code =...
36.820408
124
0.703026
1,219
9,021
4.889253
0.102543
0.028188
0.074161
0.044631
0.906711
0.881544
0.868624
0.84396
0.824161
0.784396
0
0.013294
0.166168
9,021
244
125
36.971311
0.779048
0.034697
0
0.748503
0
0
0.15054
0.049759
0
0
0
0.004098
0.299401
1
0.11976
false
0
0.023952
0.005988
0.149701
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
e538ddaf756249b14b6607b838711008c6ff807d
16,389
py
Python
lang/python/github/com/metaprov/modelaapi/services/prediction/v1/prediction_pb2_grpc.py
metaprov/modeldapi
ee05693832051dcd990ee4f061715d7ae0787340
[ "Apache-2.0" ]
5
2022-02-18T03:40:10.000Z
2022-03-01T16:11:24.000Z
lang/python/github/com/metaprov/modelaapi/services/prediction/v1/prediction_pb2_grpc.py
metaprov/modeldapi
ee05693832051dcd990ee4f061715d7ae0787340
[ "Apache-2.0" ]
1
2022-01-07T19:59:25.000Z
2022-02-04T01:21:14.000Z
lang/python/github/com/metaprov/modelaapi/services/prediction/v1/prediction_pb2_grpc.py
metaprov/modeldapi
ee05693832051dcd990ee4f061715d7ae0787340
[ "Apache-2.0" ]
1
2022-03-25T10:21:43.000Z
2022-03-25T10:21:43.000Z
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc from github.com.metaprov.modelaapi.services.prediction.v1 import prediction_pb2 as github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_prediction_dot_v1_d...
61.845283
182
0.748917
1,673
16,389
6.829647
0.069337
0.097847
0.04516
0.05645
0.904691
0.904691
0.904691
0.877385
0.867145
0.841589
0
0.007778
0.191958
16,389
264
183
62.079545
0.855018
0.048813
0
0.504505
1
0
0.107535
0.081022
0
0
0
0
0
1
0.072072
false
0
0.009009
0.031532
0.126126
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
e55947574844c8550134507453cdc8789a21b882
4,819
py
Python
authors/apps/favorites/tests/test_favorites.py
deferral/ah-django
b80ad485339dbb02b74d9b2093543bf8173d51de
[ "BSD-3-Clause" ]
1
2019-04-12T08:34:10.000Z
2019-04-12T08:34:10.000Z
authors/apps/favorites/tests/test_favorites.py
deferral/ah-django
b80ad485339dbb02b74d9b2093543bf8173d51de
[ "BSD-3-Clause" ]
18
2019-03-26T02:17:38.000Z
2019-04-26T08:57:47.000Z
authors/apps/favorites/tests/test_favorites.py
deferral/ah-django
b80ad485339dbb02b74d9b2093543bf8173d51de
[ "BSD-3-Clause" ]
1
2019-11-22T11:52:32.000Z
2019-11-22T11:52:32.000Z
from rest_framework import status from .base_test import FavoriteTestBase, generate_slug_url class FavoritesTestCase(FavoriteTestBase): """ Test Class containing tests for Favorite Module """ def test_favorite_own_article(self): """ User should be able to favorite his/her article ...
36.78626
75
0.653248
561
4,819
5.379679
0.142603
0.062956
0.059642
0.069251
0.870444
0.870444
0.825712
0.817429
0.758118
0.752816
0
0.005909
0.262503
4,819
130
76
37.069231
0.843275
0.100228
0
0.753086
1
0
0.067231
0
0
0
0
0
0.17284
1
0.08642
false
0
0.024691
0
0.123457
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
e5b0f2c372fdf8d1b4a5c7d3bc39f579868c7624
137
py
Python
src/loralay/modeling/led_hetformer/__init__.py
laudao/loralay-modeling
a7c89717bac4f0ef9ed820544c4d27e2fe2e4228
[ "Apache-2.0" ]
null
null
null
src/loralay/modeling/led_hetformer/__init__.py
laudao/loralay-modeling
a7c89717bac4f0ef9ed820544c4d27e2fe2e4228
[ "Apache-2.0" ]
null
null
null
src/loralay/modeling/led_hetformer/__init__.py
laudao/loralay-modeling
a7c89717bac4f0ef9ed820544c4d27e2fe2e4228
[ "Apache-2.0" ]
null
null
null
from .modeling_led_hetformer import LEDHeterformerForConditionalGeneration from .configuration_led_hetformer import LEDHeterformerConfig
68.5
75
0.927007
12
137
10.25
0.666667
0.195122
0.292683
0
0
0
0
0
0
0
0
0
0.058394
137
2
76
68.5
0.953488
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
1
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
e5ca31afa0b3a7223a177bbc5c79b36c407bf8e6
79
py
Python
src/generator/utils.py
altostratous/ancc
583bb1fd0aa6f0ef649b89909b623ae291ebc6f6
[ "MIT" ]
null
null
null
src/generator/utils.py
altostratous/ancc
583bb1fd0aa6f0ef649b89909b623ae291ebc6f6
[ "MIT" ]
null
null
null
src/generator/utils.py
altostratous/ancc
583bb1fd0aa6f0ef649b89909b623ae291ebc6f6
[ "MIT" ]
null
null
null
def indval(x): return '@' + str(x) def immval(x): return '#' + str(x)
13.166667
23
0.506329
12
79
3.333333
0.5
0.35
0.5
0.55
0
0
0
0
0
0
0
0
0.265823
79
6
24
13.166667
0.689655
0
0
0
0
0
0.025
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
8
e5df56c53e98dfbcd92cde7e56e330f0e0a22616
355
py
Python
tests/internal/instance_type/test_instance_type_r5a_auto.py
frolovv/aws.ec2.compare
582805823492f833d65c0441c4a14dce697c12aa
[ "Apache-2.0" ]
null
null
null
tests/internal/instance_type/test_instance_type_r5a_auto.py
frolovv/aws.ec2.compare
582805823492f833d65c0441c4a14dce697c12aa
[ "Apache-2.0" ]
null
null
null
tests/internal/instance_type/test_instance_type_r5a_auto.py
frolovv/aws.ec2.compare
582805823492f833d65c0441c4a14dce697c12aa
[ "Apache-2.0" ]
1
2021-12-15T11:58:22.000Z
2021-12-15T11:58:22.000Z
# Testing module instance_type.r5a import pytest import ec2_compare.internal.instance_type.r5a def test_get_internal_data_instance_type_r5a_get_instances_list(): assert len(ec2_compare.internal.instance_type.r5a.get_instances_list()) > 0 def test_get_internal_data_instance_type_r5a_get(): assert len(ec2_compare.i...
35.5
77
0.850704
56
355
4.946429
0.339286
0.259928
0.32491
0.259928
0.826715
0.826715
0.613718
0.613718
0.613718
0
0
0.033435
0.073239
355
9
78
39.444444
0.808511
0.090141
0
0
0
0
0
0
0
0
0
0
0.333333
1
0.333333
true
0
0.333333
0
0.666667
0
0
0
0
null
1
1
1
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
0
0
10
e5e1ccdf8c4a82c52966d10e46ad0354723fcbb9
24,146
py
Python
tests/test_compute_response.py
jborean93/ntlm_auth
417db8b6fb0f9b5f86f314e257b8a4893f74c057
[ "MIT" ]
46
2016-12-23T03:35:14.000Z
2022-02-18T20:48:25.000Z
tests/test_compute_response.py
jborean93/ntlm_auth
417db8b6fb0f9b5f86f314e257b8a4893f74c057
[ "MIT" ]
29
2016-08-28T22:58:13.000Z
2021-05-05T19:20:32.000Z
tests/test_compute_response.py
jborean93/ntlm_auth
417db8b6fb0f9b5f86f314e257b8a4893f74c057
[ "MIT" ]
21
2016-12-20T14:23:08.000Z
2020-10-02T19:06:56.000Z
import struct import time from ntlm_auth.compute_response import ComputeResponse, get_windows_timestamp from ntlm_auth.constants import AvId, AvFlags from ntlm_auth.messages import ChallengeMessage, TargetInfo class TestGeneric(object): def test_get_timestamp_format(self): actual1 = struct.unpack("<q", ...
47.813861
79
0.550526
3,444
24,146
3.716899
0.082753
0.14952
0.165221
0.141551
0.906726
0.901101
0.875244
0.864698
0.850402
0.850402
0
0.197077
0.308623
24,146
504
80
47.90873
0.569726
0.017353
0
0.819861
0
0.027714
0.359182
0.33599
0
0
0
0
0.071594
1
0.04157
false
0.036952
0.011547
0
0.060046
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
f92d5aa972d7c967f4f62f458c51a7d1eaf220fb
206
py
Python
app/views/alekseyl/__init__.py
iu5team/rms
179bba96fd72eacb89e01f8d75d9ab6a4e4a875a
[ "MIT" ]
null
null
null
app/views/alekseyl/__init__.py
iu5team/rms
179bba96fd72eacb89e01f8d75d9ab6a4e4a875a
[ "MIT" ]
38
2016-04-06T10:29:45.000Z
2016-05-18T19:50:20.000Z
app/views/alekseyl/__init__.py
iu5team/rms
179bba96fd72eacb89e01f8d75d9ab6a4e4a875a
[ "MIT" ]
null
null
null
from app.views.alekseyl.active_record import employee from app.views.alekseyl.active_record import task from app.views.alekseyl.domain_model import employee from app.views.alekseyl.domain_model import task
41.2
53
0.864078
32
206
5.4375
0.34375
0.16092
0.275862
0.45977
0.954023
0.954023
0.862069
0
0
0
0
0
0.07767
206
5
54
41.2
0.915789
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
1
1
1
1
1
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
9
00b708554d2ad26732bfbcc4263af430ce672da6
151
py
Python
legoformer/data/__init__.py
Sirish07/LegoFormer
c2173cd107a8e29ed45b086d3956d240fc394d6c
[ "MIT" ]
25
2021-07-04T06:28:59.000Z
2022-03-12T22:39:06.000Z
legoformer/data/__init__.py
Sirish07/LegoFormer
c2173cd107a8e29ed45b086d3956d240fc394d6c
[ "MIT" ]
2
2021-08-25T09:17:44.000Z
2021-09-23T11:41:41.000Z
legoformer/data/__init__.py
Sirish07/LegoFormer
c2173cd107a8e29ed45b086d3956d240fc394d6c
[ "MIT" ]
2
2021-07-09T00:37:24.000Z
2021-08-31T18:04:28.000Z
from legoformer.data.transforms import * from legoformer.data.dataset import ShapeNetDataset from legoformer.data.datamodule import ShapeNetDataModule
37.75
57
0.874172
17
151
7.764706
0.529412
0.318182
0.409091
0
0
0
0
0
0
0
0
0
0.07947
151
3
58
50.333333
0.94964
0
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
dacfb1d13e066d3ce0ac55ecde5783ad53e42de9
64,432
py
Python
axi_noc/tb16x4/counts.py
vhnatyk/vlsistuff
0981097bd19a0c482728dcc5048a3615ac9a9a90
[ "MIT" ]
26
2018-03-17T18:14:22.000Z
2022-03-14T07:23:13.000Z
axi_noc/tb16x4/counts.py
psumesh/vlsistuff
1fe64b093d0581d99c7d826b74c31b8655fa0b31
[ "MIT" ]
1
2019-10-16T10:31:11.000Z
2019-10-17T04:14:53.000Z
axi_noc/tb16x4/counts.py
psumesh/vlsistuff
1fe64b093d0581d99c7d826b74c31b8655fa0b31
[ "MIT" ]
7
2018-07-16T07:51:25.000Z
2022-02-15T14:22:54.000Z
import logs import veri def monitorStuff(Net): Val = logs.peek(Net) if Val!=0: logs.log_error('PANIC activated on %s %s'%(Net,veri.peek(Net))) return 1 return 0 def monitorStuffs(): panics=0 counts += monitorStuff("tb.dut.merger0.axi_rd_4_merger.a_rcount") counts += monitorStu...
106.499174
165
0.773187
12,339
64,432
3.644704
0.005187
0.098061
0.076047
0.136085
0.996086
0.996086
0.996086
0.996086
0.996086
0.99602
0
0.02978
0.078594
64,432
604
166
106.675497
0.727732
0
0
0
0
0
0.681287
0.644271
0
0
0
0
0
1
0.005
false
0
0.003333
0
0.011667
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
1
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
dae3fd8a9ab67d65cd280a0da07c6d141901db2d
158
py
Python
models/user_models.py
htrismicristo/cajero_api
160781d4569eac2ccc88647452560e395ef69d0d
[ "MIT" ]
null
null
null
models/user_models.py
htrismicristo/cajero_api
160781d4569eac2ccc88647452560e395ef69d0d
[ "MIT" ]
null
null
null
models/user_models.py
htrismicristo/cajero_api
160781d4569eac2ccc88647452560e395ef69d0d
[ "MIT" ]
null
null
null
from pydantic import BaseModel class UserIn(BaseModel): username: str password: str class UserOut(BaseModel): username: str password: str
13.166667
30
0.708861
18
158
6.222222
0.555556
0.303571
0.357143
0.5
0.553571
0
0
0
0
0
0
0
0.227848
158
11
31
14.363636
0.918033
0
0
0.571429
0
0
0
0
0
0
0
0
0
1
0
true
0.285714
0.142857
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
1
0
0
7
dae53036f10da4b837c5d68205204a21f8380d43
425
py
Python
enigmatoolbox/permutation_testing/__init__.py
saratheriver/ENIGMA
c26483bfeb9e035b7ab5f56998d17155aece584f
[ "BSD-3-Clause" ]
49
2020-08-31T15:52:37.000Z
2022-01-25T12:24:56.000Z
enigmatoolbox/permutation_testing/__init__.py
saratheriver/ENIGMA
c26483bfeb9e035b7ab5f56998d17155aece584f
[ "BSD-3-Clause" ]
7
2020-10-23T09:54:31.000Z
2022-03-26T03:50:56.000Z
enigmatoolbox/permutation_testing/__init__.py
MICA-MNI/ENIGMA
db879bb21f680bb39c2aa4bd34a9f44d1b1090cd
[ "BSD-3-Clause" ]
9
2020-09-21T11:57:06.000Z
2022-03-08T18:09:58.000Z
from .permutation_testing import (spin_test, shuf_test, centroid_extraction_sphere, rotate_parcellation, perm_sphere_p, get_subcortical_distance, MoranRandomization) __all__ = ['spin_test', 'shuf_test', 'centroid_extraction_sphere', ...
47.222222
95
0.64
37
425
6.72973
0.513514
0.064257
0.096386
0.128514
0.875502
0.875502
0.875502
0.875502
0.875502
0.875502
0
0
0.284706
425
8
96
53.125
0.819079
0
0
0
0
0
0.277647
0.117647
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
0
0
0
null
0
0
0
1
1
1
1
1
1
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
7
dae54b3691cd10a8e2b3b4665e747d2bebb53269
203
py
Python
data/Translation testing 2022-3-16/c2p-helloworld/c++helloworldtranslationwithoutincludes.py
LANCHERBA/CodeGen
fdb8717658945b81af148787c8303a97a00c615c
[ "MIT" ]
null
null
null
data/Translation testing 2022-3-16/c2p-helloworld/c++helloworldtranslationwithoutincludes.py
LANCHERBA/CodeGen
fdb8717658945b81af148787c8303a97a00c615c
[ "MIT" ]
null
null
null
data/Translation testing 2022-3-16/c2p-helloworld/c++helloworldtranslationwithoutincludes.py
LANCHERBA/CodeGen
fdb8717658945b81af148787c8303a97a00c615c
[ "MIT" ]
null
null
null
def test_sympy__physics__quantum__cartesian__PxKet(): from sympy.physics.quantum.cartesian import PxKet assert _test_args(PxKet(x, y)) # Hello world to a function related to quantum physics...
29
57
0.783251
29
203
5.103448
0.655172
0.162162
0.256757
0.378378
0
0
0
0
0
0
0
0
0.142857
203
6
58
33.833333
0.850575
0.270936
0
0
0
0
0
0
0
0
0
0
0.333333
1
0.333333
true
0
0.333333
0
0.666667
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
0
0
8
daf3408915818a2ada6ac54bc3405a6200b680b6
9,157
py
Python
UNR21-bootcamp/the-cat/decode.py
mihaid-b/CyberSakura
f60e6b6bfd6898c69b84424b080090ae98f8076c
[ "MIT" ]
1
2022-03-27T06:00:41.000Z
2022-03-27T06:00:41.000Z
UNR21-bootcamp/the-cat/decode.py
mihaid-b/CyberSakura
f60e6b6bfd6898c69b84424b080090ae98f8076c
[ "MIT" ]
null
null
null
UNR21-bootcamp/the-cat/decode.py
mihaid-b/CyberSakura
f60e6b6bfd6898c69b84424b080090ae98f8076c
[ "MIT" ]
1
2022-03-27T06:01:42.000Z
2022-03-27T06:01:42.000Z
a = bytes.fromhex("2d2d35386632366631626364653230613734633136396233383465303233333434300d0a436f6e74656e742d446973706f736974696f6e3a20666f726d2d646174613b206e616d653d227a6970223b2066696c656e616d653d226e79616e2e7a6970220d0a0d0a504b030414000000080052998951643d7ca94e100000520c010007001c006e79616e2e736855540900030b05d15f0b0...
2,289.25
8,983
0.993448
32
9,157
284.28125
0.65625
0.001539
0
0
0
0
0
0
0
0
0
0.631711
0.00131
9,157
4
8,984
2,289.25
0.36304
0
0
0
0
0.25
0.991592
0.987879
0
1
0
0
0
1
0
false
0
0
0
0
0.25
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1
1
1
0
0
0
0
1
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
10
975d6e40e16d587438511bdb629057b7e4d1156c
546,092
py
Python
experiment_results/sim_product_state_2_copies_20190610T110047Z.py
carstenblank/Quantum-classifier-with-tailored-quantum-kernels---Supplemental
7c3188f0b71e825bc8ce2b1577a93d10b34abdbc
[ "Apache-2.0" ]
11
2020-02-18T14:14:40.000Z
2021-10-10T12:19:23.000Z
experiment_results/sim_product_state_2_copies_20190610T110047Z.py
carstenblank/Quantum-classifier-with-tailored-quantum-kernels---Supplemental
7c3188f0b71e825bc8ce2b1577a93d10b34abdbc
[ "Apache-2.0" ]
null
null
null
experiment_results/sim_product_state_2_copies_20190610T110047Z.py
carstenblank/Quantum-classifier-with-tailored-quantum-kernels---Supplemental
7c3188f0b71e825bc8ce2b1577a93d10b34abdbc
[ "Apache-2.0" ]
2
2020-07-08T23:17:01.000Z
2021-09-27T03:13:32.000Z
# -*- coding: utf-8 -*- # Copyright 2019 Carsten Blank # # 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 la...
1,210.847007
500,450
0.49241
84,612
546,092
3.159918
0.013651
0.106034
0.033931
0.080586
0.962912
0.955728
0.953498
0.943613
0.943224
0.941728
0
0.179017
0.129204
546,092
451
500,451
1,210.847007
0.383227
0.001047
0
0.233945
0
0.288991
0.530093
0.101872
0
0
0.001386
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
1
1
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
97b3b82c33d49eae96285d84d8e75545c921e813
298,347
py
Python
services/waas/src/oci_cli_waas/generated/waas_cli.py
honzajavorek/oci-cli
6ea058afba323c6b3b70e98212ffaebb0d31985e
[ "Apache-2.0" ]
null
null
null
services/waas/src/oci_cli_waas/generated/waas_cli.py
honzajavorek/oci-cli
6ea058afba323c6b3b70e98212ffaebb0d31985e
[ "Apache-2.0" ]
null
null
null
services/waas/src/oci_cli_waas/generated/waas_cli.py
honzajavorek/oci-cli
6ea058afba323c6b3b70e98212ffaebb0d31985e
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 # Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. from __future__ import print_function import click import oci # noqa: F401 import six # noqa: F401 import sys # noqa: F401 from oci_cli.cli_root import cli from oci_cli import cli_constants # noqa: F401 from oci_cli impo...
74.999246
1,085
0.729111
42,780
298,347
4.883567
0.02604
0.035985
0.028375
0.012464
0.888651
0.868351
0.847683
0.82891
0.812329
0.795509
0
0.003603
0.16094
298,347
3,977
1,086
75.018104
0.830968
0.015526
0
0.751054
0
0.107766
0.45548
0.036526
0
0
0
0
0
1
0.028597
false
0.032812
0.004214
0
0.032812
0.00873
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
c11e90eba4eaf4106afba5b9460a4ced360e581e
11,057
py
Python
boto3_type_annotations_with_docs/boto3_type_annotations/opsworks/waiter.py
cowboygneox/boto3_type_annotations
450dce1de4e066b939de7eac2ec560ed1a7ddaa2
[ "MIT" ]
119
2018-12-01T18:20:57.000Z
2022-02-02T10:31:29.000Z
boto3_type_annotations_with_docs/boto3_type_annotations/opsworks/waiter.py
cowboygneox/boto3_type_annotations
450dce1de4e066b939de7eac2ec560ed1a7ddaa2
[ "MIT" ]
15
2018-11-16T00:16:44.000Z
2021-11-13T03:44:18.000Z
boto3_type_annotations_with_docs/boto3_type_annotations/opsworks/waiter.py
cowboygneox/boto3_type_annotations
450dce1de4e066b939de7eac2ec560ed1a7ddaa2
[ "MIT" ]
11
2019-05-06T05:26:51.000Z
2021-09-28T15:27:59.000Z
from typing import Dict from typing import List from botocore.waiter import Waiter class AppExists(Waiter): def wait(self, StackId: str = None, AppIds: List = None, WaiterConfig: Dict = None): """ Polls :py:meth:`OpsWorks.Client.describe_apps` every 1 seconds until a successful state is reached. A...
44.947154
205
0.599982
1,193
11,057
5.550712
0.104778
0.012836
0.043038
0.047569
0.927514
0.927514
0.910148
0.888553
0.88659
0.88659
0
0.017184
0.315818
11,057
245
206
45.130612
0.858163
0.749299
0
0.47619
0
0
0
0
0
0
0
0
0
1
0.285714
false
0.285714
0.142857
0
0.714286
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
1
0
1
0
0
0
0
0
8
c1750929afeab7906d139305e92b47f91306ebbb
5,552
py
Python
clean_py/tests/conftest.py
ccc118/clean-py
47d9b19e625b8d3b08555809291056d96e421e64
[ "MIT" ]
null
null
null
clean_py/tests/conftest.py
ccc118/clean-py
47d9b19e625b8d3b08555809291056d96e421e64
[ "MIT" ]
null
null
null
clean_py/tests/conftest.py
ccc118/clean-py
47d9b19e625b8d3b08555809291056d96e421e64
[ "MIT" ]
null
null
null
import os import sys from pathlib import Path import pytest def pytest_configure(): pytest.test_dir = Path(os.path.dirname(os.path.realpath(__file__))) pytest.file_dir = pytest.test_dir / "test_files" pytest.example_notebook = pytest.file_dir / "example_notebook.ipynb" pytest.example_script = pytest....
70.278481
1,101
0.604287
961
5,552
3.3923
0.130073
0.017791
0.07362
0.092025
0.785276
0.785276
0.770552
0.762577
0.762577
0.762577
0
0.073981
0.208754
5,552
78
1,102
71.179487
0.668108
0
0
0.180328
0
0.098361
0.892651
0.210735
0.04918
0
0
0
0
1
0.098361
true
0
0.196721
0.081967
0.42623
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
8
c17e1d09a8a98b70030d2ac7bb2e78da6eb98d5c
11,195
py
Python
py/HW3/option_models/sabr.py
PanyuLi/ASP
cf8694217ab0d5d248a24770f317b6783a3b64a0
[ "MIT" ]
null
null
null
py/HW3/option_models/sabr.py
PanyuLi/ASP
cf8694217ab0d5d248a24770f317b6783a3b64a0
[ "MIT" ]
null
null
null
py/HW3/option_models/sabr.py
PanyuLi/ASP
cf8694217ab0d5d248a24770f317b6783a3b64a0
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Tue Oct 10 @author: jaehyuk """ import numpy as np from . import normal from . import bsm import scipy.integrate as spint import sys sys.path.insert(sys.path.index('') + 1, 'C:/Users/cherr/Documents/GitHub/PyFeng') import pyfeng as pf ''' MC model class for Beta=1 ''' class ...
33.219585
130
0.560965
1,686
11,195
3.624555
0.097865
0.051546
0.027491
0.035346
0.935526
0.930944
0.927344
0.91098
0.91098
0.91098
0
0.038057
0.312282
11,195
336
131
33.318452
0.755683
0.208397
0
0.877005
0
0
0.004713
0.004713
0
0
0
0
0
1
0.085562
false
0
0.032086
0
0.245989
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
c17e4ab4b6de7e402286c075a47f14ab29b7a20e
1,887
py
Python
tests/test_ospath.py
dgilland/ladder
393e3ef950cd6222175aa9a6833e51ee35a20f53
[ "MIT" ]
3
2015-08-05T03:24:58.000Z
2018-09-03T19:48:27.000Z
tests/test_ospath.py
dgilland/ladder
393e3ef950cd6222175aa9a6833e51ee35a20f53
[ "MIT" ]
1
2018-03-05T18:09:52.000Z
2018-03-05T18:09:52.000Z
tests/test_ospath.py
dgilland/ladder
393e3ef950cd6222175aa9a6833e51ee35a20f53
[ "MIT" ]
1
2018-03-05T18:07:19.000Z
2018-03-05T18:07:19.000Z
from unittest import TestCase from ladder import OSPath class TestOSPath(TestCase): def test_empty_path(self): self.assertEqual(str(OSPath()), '') def test_single_slash_path(self): self.assertEqual(str(OSPath('/')), '/') def test_initialized_path(self): self.assertEqual(str(OSP...
34.309091
69
0.63646
248
1,887
4.737903
0.157258
0.122553
0.11234
0.102128
0.801702
0.766809
0.71234
0.71234
0.645957
0.645957
0
0.00133
0.202968
1,887
54
70
34.944444
0.77992
0
0
0.3
0
0
0.184518
0.090668
0
0
0
0
0.425
1
0.225
false
0
0.05
0
0.3
0
0
0
0
null
0
0
0
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
0
0
0
0
0
0
7
c1a9642c63d353965b77b77c9a34f942119f4052
4,861
py
Python
tests/index/test_index__scan.py
radiac/serac
61ac873aa53784a554fc44a799732f5d325a3f94
[ "BSD-3-Clause" ]
null
null
null
tests/index/test_index__scan.py
radiac/serac
61ac873aa53784a554fc44a799732f5d325a3f94
[ "BSD-3-Clause" ]
null
null
null
tests/index/test_index__scan.py
radiac/serac
61ac873aa53784a554fc44a799732f5d325a3f94
[ "BSD-3-Clause" ]
null
null
null
""" Test scan() in serac/index/index.py """ import os from pathlib import Path from serac.index.index import scan from serac.index.models import File from ..mocks import DatabaseTest, FilesystemTest, mock_file_archive class TestIndexScan(DatabaseTest, FilesystemTest): def test_single_dir__all_files_add(self, fs...
39.520325
88
0.645752
637
4,861
4.814757
0.122449
0.063906
0.114118
0.117705
0.855233
0.807304
0.796544
0.783828
0.716335
0.684382
0
0.006729
0.205102
4,861
122
89
39.844262
0.787008
0.0072
0
0.55914
0
0
0.126401
0.009963
0
0
0
0
0.483871
1
0.086022
false
0
0.053763
0
0.150538
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
1
0
0
0
0
0
0
0
0
0
7
c1bd2e8c9d292297d8d26070cdaefce7edc60f76
3,013
py
Python
mysite/ViralScreener/models.py
memtech3/Viral-Screener
1940a7e097a9f5b7eb78f001c0a9623b398c020e
[ "MIT" ]
1
2020-03-25T22:23:35.000Z
2020-03-25T22:23:35.000Z
mysite/ViralScreener/models.py
memtech3/Viral-Screener
1940a7e097a9f5b7eb78f001c0a9623b398c020e
[ "MIT" ]
7
2020-03-23T04:51:55.000Z
2020-03-25T22:23:14.000Z
mysite/ViralScreener/models.py
memtech3/Viral-Screener
1940a7e097a9f5b7eb78f001c0a9623b398c020e
[ "MIT" ]
null
null
null
from django.db import models from django.conf import settings from django.utils import timezone # Create your models here. class AlertMessage(models.Model): name = models.CharField(max_length=200) color = models.CharField(max_length=200, choices=[('success', 'green'), ('primary', 'blue'), ('warning', 'yellow'...
44.308824
140
0.679721
357
3,013
5.588235
0.232493
0.12782
0.153383
0.204511
0.782456
0.768922
0.75188
0.75188
0.709774
0.709774
0
0.020016
0.154331
3,013
68
141
44.308824
0.762951
0.026552
0
0.694915
0
0
0.076109
0
0
0
0
0
0
1
0.084746
false
0
0.050847
0.084746
0.864407
0
0
0
0
null
0
0
1
0
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
1
0
0
7
c1d172ba99eff34e577f914c7b73d2768fe92720
2,200
py
Python
pybot/whatsapp/util/WaitUtil.py
iren86/whatsapp-pybot
28f0d855f53090cb9a0c88bdbca29f6f93efc95e
[ "MIT" ]
4
2017-08-15T10:04:11.000Z
2019-09-01T08:28:42.000Z
pybot/whatsapp/util/WaitUtil.py
iren86/whatsapp-pybot
28f0d855f53090cb9a0c88bdbca29f6f93efc95e
[ "MIT" ]
null
null
null
pybot/whatsapp/util/WaitUtil.py
iren86/whatsapp-pybot
28f0d855f53090cb9a0c88bdbca29f6f93efc95e
[ "MIT" ]
2
2019-08-27T19:14:03.000Z
2019-10-12T21:50:03.000Z
# -*- coding: utf-8 -*- import time from pybot.whatsapp.core.LoggerFactory import get_logger POLL_FREQUENCY = 0.5 # message will be posted every POLL_FREQUENCY * POST_WAIT_MSG_EVERY_ITERATION second POST_WAIT_MSG_EVERY_ITERATION = 10 logger = get_logger() def wait_for_result(method, timeout, wait_msg=None): ""...
24.444444
96
0.565909
279
2,200
4.265233
0.218638
0.10084
0.055462
0.07563
0.805882
0.733613
0.733613
0.733613
0.733613
0.733613
0
0.009582
0.335909
2,200
89
97
24.719101
0.804928
0.115
0
0.8
0
0
0.054404
0
0
0
0
0
0
1
0.05
false
0.05
0.033333
0
0.183333
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
a9bf9edc8e638f330662df094722c79a41e1d026
3,546
py
Python
ecs/tasks/migrations/0010_distinct_names.py
programmierfabrik/ecs
2389a19453e21b2ea4e40b272552bcbd42b926a9
[ "Apache-2.0" ]
9
2017-02-13T18:17:13.000Z
2020-11-21T20:15:54.000Z
ecs/tasks/migrations/0010_distinct_names.py
programmierfabrik/ecs
2389a19453e21b2ea4e40b272552bcbd42b926a9
[ "Apache-2.0" ]
2
2021-05-20T14:26:47.000Z
2021-05-20T14:26:48.000Z
ecs/tasks/migrations/0010_distinct_names.py
programmierfabrik/ecs
2389a19453e21b2ea4e40b272552bcbd42b926a9
[ "Apache-2.0" ]
4
2017-04-02T18:48:59.000Z
2021-11-23T15:40:35.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('tasks', '0009_task_review_for'), ] operations = [ migrations.RunSQL(''' with n as ( update workf...
30.834783
61
0.498308
340
3,546
5.017647
0.141176
0.126612
0.036928
0.068581
0.822978
0.759672
0.705744
0.705744
0.705744
0.401524
0
0.007231
0.454033
3,546
114
62
31.105263
0.873967
0.005922
0
0.72
0
0
0.934431
0.045984
0
0
0
0
0
1
0
false
0
0.02
0
0.05
0
0
0
0
null
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
e704f06d325d5dcd5aacd677496df9c60e4fe384
47
py
Python
backend/app/views/analyze_digests/__init__.py
Edinburgh-Genome-Foundry/CUBA
d57565951ead619ef9263e8b356b451001fb910f
[ "MIT" ]
15
2018-02-12T13:12:13.000Z
2021-08-15T11:37:59.000Z
backend/app/views/analyze_digests/__init__.py
Edinburgh-Genome-Foundry/CUBA
d57565951ead619ef9263e8b356b451001fb910f
[ "MIT" ]
9
2020-06-05T17:54:54.000Z
2022-02-12T12:03:19.000Z
backend/app/views/analyze_digests/__init__.py
Edinburgh-Genome-Foundry/CUBA
d57565951ead619ef9263e8b356b451001fb910f
[ "MIT" ]
3
2018-10-18T13:08:50.000Z
2020-08-17T14:09:46.000Z
from .AnalyzeDigests import AnalyzeDigestsView
23.5
46
0.893617
4
47
10.5
1
0
0
0
0
0
0
0
0
0
0
0
0.085106
47
1
47
47
0.976744
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
e7637aaafc574d9fe13298f9e3e8e5bb68c542aa
124
py
Python
platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/viper/calculators/calc_ber.py
PascalGuenther/gecko_sdk
2e82050dc8823c9fe0e8908c1b2666fb83056230
[ "Zlib" ]
82
2016-06-29T17:24:43.000Z
2021-04-16T06:49:17.000Z
platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/viper/calculators/calc_ber.py
PascalGuenther/gecko_sdk
2e82050dc8823c9fe0e8908c1b2666fb83056230
[ "Zlib" ]
6
2022-01-12T18:22:08.000Z
2022-03-25T10:19:27.000Z
platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/viper/calculators/calc_ber.py
PascalGuenther/gecko_sdk
2e82050dc8823c9fe0e8908c1b2666fb83056230
[ "Zlib" ]
56
2016-08-02T10:50:50.000Z
2021-07-19T08:57:34.000Z
from pyradioconfig.parts.bobcat.calculators.calc_ber import Calc_BER_Bobcat class calc_ber_viper(Calc_BER_Bobcat): pass
31
75
0.854839
19
124
5.210526
0.578947
0.282828
0.262626
0
0
0
0
0
0
0
0
0
0.08871
124
4
76
31
0.876106
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.333333
0
0.666667
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
1
1
0
0
0
0
7
99c8729dd19d7fa5f0661ffa4bfe98f31f3d26f0
14,964
py
Python
BookClub/tests/views/action_views/test_join_club_view.py
amir-rahim/BookClubSocialNetwork
b69a07cd33592f700214252a64c7c1c53845625d
[ "MIT" ]
4
2022-02-04T02:11:48.000Z
2022-03-12T21:38:01.000Z
BookClub/tests/views/action_views/test_join_club_view.py
amir-rahim/BookClubSocialNetwork
b69a07cd33592f700214252a64c7c1c53845625d
[ "MIT" ]
51
2022-02-01T18:56:23.000Z
2022-03-31T15:35:37.000Z
BookClub/tests/views/action_views/test_join_club_view.py
amir-rahim/BookClubSocialNetwork
b69a07cd33592f700214252a64c7c1c53845625d
[ "MIT" ]
null
null
null
"""Unit Testing of the Join Club view.""" from django.contrib import messages from django.core.exceptions import ObjectDoesNotExist from django.test import TestCase, tag from django.urls import reverse from BookClub.models import User, Club, ClubMembership from BookClub.tests.helpers import LogInTester @tag("views",...
58.225681
116
0.680634
1,647
14,964
5.9915
0.068002
0.048642
0.027868
0.062829
0.905047
0.900993
0.900993
0.900993
0.889947
0.88407
0
0.007702
0.210438
14,964
256
117
58.453125
0.827507
0.029404
0
0.798165
0
0
0.069872
0.008829
0
0
0
0
0.275229
1
0.087156
false
0.073395
0.027523
0
0.123853
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
8
4171cc573a219efb4c66383c0e807efee309c6d1
180
py
Python
Python/Category/builtins.py
wurui1994/test
027cef75f98dbb252b322113dacd4a9a6997d84f
[ "MIT" ]
27
2017-12-19T09:15:36.000Z
2021-07-30T13:02:00.000Z
Python/Category/builtins.py
wurui1994/test
027cef75f98dbb252b322113dacd4a9a6997d84f
[ "MIT" ]
null
null
null
Python/Category/builtins.py
wurui1994/test
027cef75f98dbb252b322113dacd4a9a6997d84f
[ "MIT" ]
29
2018-04-10T13:25:54.000Z
2021-12-24T01:51:03.000Z
# print([callable(getattr(__builtins__, attr)) for attr in dir(__builtins__)]) print([(attr,type(getattr(__builtins__, attr))) for attr in dir(__builtins__)]) # print 'hello'*100
36
79
0.738889
24
180
4.875
0.458333
0.25641
0.324786
0.376068
0.752137
0.752137
0.752137
0.752137
0.752137
0
0
0.018405
0.094444
180
4
80
45
0.699387
0.522222
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
0
0
null
1
1
1
0
1
1
1
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
11
68fac8d2f86ab04b3685489b6b71aca1265871fb
35,910
py
Python
models/ModelSet.py
mourmoerl/med_segmentation
36b757253f92a862d195549d2ebbb1f3ca3a4469
[ "Apache-2.0" ]
null
null
null
models/ModelSet.py
mourmoerl/med_segmentation
36b757253f92a862d195549d2ebbb1f3ca3a4469
[ "Apache-2.0" ]
null
null
null
models/ModelSet.py
mourmoerl/med_segmentation
36b757253f92a862d195549d2ebbb1f3ca3a4469
[ "Apache-2.0" ]
null
null
null
import tensorflow as tf from tensorflow.keras.layers import * import tensorflow.keras.backend as K from tensorflow.keras.utils import multi_gpu_model from .blocks import * # from .loss_Function import * import models.loss_function as loss_function from .metrics import * from util import convert_tf_optimizer import copy...
45.862069
130
0.561487
4,903
35,910
3.892515
0.054253
0.063663
0.052083
0.069688
0.832172
0.811056
0.79497
0.78601
0.771706
0.758501
0
0.027824
0.287413
35,910
782
131
45.920716
0.718004
0.059844
0
0.734349
0
0
0.079177
0.012401
0
0
0
0
0.001692
1
0.025381
false
0
0.015228
0
0.087986
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
68fe97f8253d81c4b3376564ff0c281d6ff0a99e
106
py
Python
stable_baselines3/ppo/__init__.py
koulakis/stable-baselines3
08e7519381e800edc6bbd09577f14381b7341873
[ "MIT" ]
1
2020-06-24T16:57:19.000Z
2020-06-24T16:57:19.000Z
stable_baselines3/ppo/__init__.py
koulakis/stable-baselines3
08e7519381e800edc6bbd09577f14381b7341873
[ "MIT" ]
null
null
null
stable_baselines3/ppo/__init__.py
koulakis/stable-baselines3
08e7519381e800edc6bbd09577f14381b7341873
[ "MIT" ]
null
null
null
from stable_baselines3.ppo.ppo import PPO from stable_baselines3.ppo.policies import MlpPolicy, CnnPolicy
35.333333
63
0.867925
15
106
6
0.533333
0.222222
0.444444
0.511111
0
0
0
0
0
0
0
0.020619
0.084906
106
2
64
53
0.907216
0
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
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
8
ec4bd40d335af8d8c1de608b0db2d5fbbc9ceba3
18,728
py
Python
data_service/views/stock_price.py
freelancing-solutions/GCP-Based-Database-as-a-Service
7d6a12c33db238ca2f748bf4ddea6d2cf3c16da3
[ "MIT" ]
1
2021-04-15T19:45:04.000Z
2021-04-15T19:45:04.000Z
data_service/views/stock_price.py
freelancing-solutions/pinydesk
7d6a12c33db238ca2f748bf4ddea6d2cf3c16da3
[ "MIT" ]
516
2021-05-02T11:46:36.000Z
2022-03-29T06:09:49.000Z
data_service/views/stock_price.py
freelancing-solutions/pinydesk
7d6a12c33db238ca2f748bf4ddea6d2cf3c16da3
[ "MIT" ]
1
2021-09-04T22:40:14.000Z
2021-09-04T22:40:14.000Z
import typing import functools from google.api_core.exceptions import RetryError, Aborted from flask import current_app, jsonify from google.cloud.ndb.exceptions import BadRequestError, BadQueryError from data_service.main import cache_stocks from data_service.config.exceptions import DataServiceError from data_service...
53.204545
144
0.618753
2,148
18,728
5.121043
0.067039
0.076091
0.080182
0.025455
0.897727
0.861455
0.839273
0.814091
0.782636
0.745364
0
0.007883
0.288819
18,728
351
145
53.356125
0.818004
0.001442
0
0.711039
0
0
0.090899
0
0
0
0
0
0
1
0.038961
false
0
0.038961
0
0.295455
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
6b921769b23c87f873be8bbcfafb61eeb16af251
1,818
py
Python
Insert.py
ArchinDeepakTV/Covid_System
a2aa8acb10ed23c7a7e94dcf1ff51815d847ad2f
[ "MIT" ]
null
null
null
Insert.py
ArchinDeepakTV/Covid_System
a2aa8acb10ed23c7a7e94dcf1ff51815d847ad2f
[ "MIT" ]
null
null
null
Insert.py
ArchinDeepakTV/Covid_System
a2aa8acb10ed23c7a7e94dcf1ff51815d847ad2f
[ "MIT" ]
null
null
null
#!/usr/bin/python import psycopg2 from config import config def insert_hospitals(ID): """ insert a new vendor into the vendors table """ sql = """INSERT INTO hospitals(hospital_id) VALUES(%s) RETURNING hospital_id;""" conn = None vendor_id = None try: # read database configu...
27.545455
56
0.59516
215
1,818
4.967442
0.283721
0.044944
0.016854
0.022472
0.85206
0.85206
0.85206
0.85206
0.85206
0.85206
0
0.00565
0.318482
1,818
65
57
27.969231
0.856336
0.289329
0
0.75
0
0
0.116996
0.017391
0
0
0
0
0
1
0.05
false
0
0.05
0
0.15
0.05
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
6ba008f822964168fef5f7aa17e630694a23ff1c
145
py
Python
python/utils/math_functions.py
memgraph/mage
8c389146dfce35c436e941b04655d9f758351e46
[ "Apache-2.0" ]
67
2021-01-29T08:38:11.000Z
2022-03-22T08:39:47.000Z
python/utils/math_functions.py
memgraph/mage
8c389146dfce35c436e941b04655d9f758351e46
[ "Apache-2.0" ]
35
2021-04-12T12:51:17.000Z
2022-03-18T13:24:39.000Z
python/utils/math_functions.py
memgraph/mage
8c389146dfce35c436e941b04655d9f758351e46
[ "Apache-2.0" ]
4
2021-07-20T10:59:12.000Z
2021-12-15T08:07:11.000Z
from typing import List import numpy as np def normalize(an_array: List[float]) -> List[float]: return np.array(an_array) / sum(an_array)
18.125
52
0.724138
24
145
4.25
0.583333
0.205882
0
0
0
0
0
0
0
0
0
0
0.165517
145
7
53
20.714286
0.842975
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.5
0.25
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
7
6bc8eea28a1899074b23c53e6b3e9d203085f48f
2,143
py
Python
datasets/create_imagenets_t1.py
akshitac8/OW-DETR
9d6705f059a1eb51ea6edfa26ee624abeb67c775
[ "Apache-2.0" ]
7
2022-03-29T22:38:05.000Z
2022-03-30T11:47:00.000Z
datasets/create_imagenets_t1.py
akshitac8/OW-DETR
9d6705f059a1eb51ea6edfa26ee624abeb67c775
[ "Apache-2.0" ]
null
null
null
datasets/create_imagenets_t1.py
akshitac8/OW-DETR
9d6705f059a1eb51ea6edfa26ee624abeb67c775
[ "Apache-2.0" ]
null
null
null
from pycocotools.coco import COCO import numpy as np T1_CLASS_NAMES = [ "airplane","bicycle","bird","boat","bus","car", "cat","cow","dog","horse","motorcycle","sheep", "train","elephant","bear","zebra","giraffe","truck","person" ] # Train coco_annotation_file = '../../data/coco/annotations/instances_tra...
29.763889
121
0.699487
323
2,143
4.430341
0.263158
0.083857
0.041929
0.072676
0.856744
0.856744
0.856744
0.792453
0.739343
0.739343
0
0.014682
0.141857
2,143
71
122
30.183099
0.763458
0.004666
0
0.754717
0
0
0.188732
0.1
0
0
0
0
0
1
0
false
0
0.037736
0
0.037736
0.150943
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
d4056a327e646aeecd145b5d60afad3f463641ef
8,665
py
Python
pvae/models/architectures.py
thanosvlo/Causal-Future-Prediction-in-a-Minkowski-Space-Time
0e0539a122484ce9869aca9acd436a24c2597908
[ "MIT" ]
8
2020-08-31T20:34:44.000Z
2021-05-26T20:32:22.000Z
pvae/models/architectures.py
thanosvlo/Causal-Future-Prediction-in-a-Minkowski-Space-Time
0e0539a122484ce9869aca9acd436a24c2597908
[ "MIT" ]
null
null
null
pvae/models/architectures.py
thanosvlo/Causal-Future-Prediction-in-a-Minkowski-Space-Time
0e0539a122484ce9869aca9acd436a24c2597908
[ "MIT" ]
null
null
null
import torch import torch.nn as nn import torch.nn.functional as F from numpy import prod from pvae.utils import Constants from pvae.ops.manifold_layers import GeodesicLayer, MobiusLayer, LogZero, ExpZero def extra_hidden_layer(hidden_dim, non_lin): return nn.Sequential(nn.Linear(hidden_dim, hidden_dim), non_lin)...
42.684729
120
0.659319
1,235
8,665
4.375709
0.089069
0.079941
0.03997
0.049963
0.858438
0.839748
0.813101
0.80792
0.786825
0.777572
0
0.015238
0.212349
8,665
202
121
42.89604
0.776557
0.058742
0
0.701299
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.038961
0.012987
0.324675
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
d44a786ce96802bfa86843baaae3cff6940ca5e4
82
py
Python
ips/ip/spi_slave/__init__.py
zld012739/zldrepository
5635b78a168956091676ef4dd99fa564be0e5ba0
[ "MIT" ]
null
null
null
ips/ip/spi_slave/__init__.py
zld012739/zldrepository
5635b78a168956091676ef4dd99fa564be0e5ba0
[ "MIT" ]
null
null
null
ips/ip/spi_slave/__init__.py
zld012739/zldrepository
5635b78a168956091676ef4dd99fa564be0e5ba0
[ "MIT" ]
null
null
null
from spi_slave_partial import get_ip_name from spi_slave_partial import SPI_SLAVE
27.333333
41
0.902439
15
82
4.466667
0.533333
0.358209
0.358209
0.567164
0.746269
0
0
0
0
0
0
0
0.097561
82
2
42
41
0.905405
0
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
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
8
d44dc61b476043323b5403724c449de7b8be2a09
10,519
py
Python
yt_dlp/extractor/taobao.py
cpanel10x/yt-dlp
49c19b7912d5b7261a26df701356c0e41eb78daf
[ "Unlicense" ]
null
null
null
yt_dlp/extractor/taobao.py
cpanel10x/yt-dlp
49c19b7912d5b7261a26df701356c0e41eb78daf
[ "Unlicense" ]
null
null
null
yt_dlp/extractor/taobao.py
cpanel10x/yt-dlp
49c19b7912d5b7261a26df701356c0e41eb78daf
[ "Unlicense" ]
null
null
null
# coding: utf-8 from .common import InfoExtractor import json from ..utils import ( int_or_none, js_to_json, mimetype2ext, ExtractorError, ) class TmallIE(InfoExtractor): IE_NAME = 'tmall:product' _VALID_URL = r'https?:\/\/(?:(?:www|[a-z]{2})\.)?detail\.tmall\.com\/.*?id\=(?P<id>\d+)' _TEST...
39.25
119
0.506227
1,237
10,519
4.192401
0.151172
0.050135
0.075202
0.080216
0.861743
0.830698
0.814886
0.804859
0.785577
0.769958
0
0.025165
0.323795
10,519
267
120
39.397004
0.703922
0.126533
0
0.764706
0
0.036199
0.320297
0.116015
0
0
0
0.003745
0
1
0.022624
false
0
0.013575
0
0.167421
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
d46593561d87d673d3876da4721157ac7aacc8ed
244
py
Python
VSCode_work/chapter5/chapter5_5_4.py
yangyahu-1994/Python-Crash-Course
6f8ef7fe8466d88931a0d3cc423ba5d966663b9d
[ "MIT" ]
12
2020-10-22T14:03:27.000Z
2022-03-28T08:14:22.000Z
VSCode_work/chapter5/chapter5_5_4.py
yangyahu-1994/Python-Crash-Course
6f8ef7fe8466d88931a0d3cc423ba5d966663b9d
[ "MIT" ]
null
null
null
VSCode_work/chapter5/chapter5_5_4.py
yangyahu-1994/Python-Crash-Course
6f8ef7fe8466d88931a0d3cc423ba5d966663b9d
[ "MIT" ]
9
2020-12-22T10:22:12.000Z
2022-03-28T08:14:53.000Z
alien_color = 'green' if alien_color == 'green': print("You get 5 points.") else: print("\nYou get 10 points.") alien_color = 'yellow' if alien_color == 'green': print("You get 5 points.") else: print("\nYou get 10 points.")
17.428571
33
0.627049
36
244
4.138889
0.361111
0.268456
0.302013
0.228188
0.791946
0.791946
0.791946
0.791946
0.791946
0.791946
0
0.031088
0.209016
244
14
34
17.428571
0.740933
0
0
0.8
0
0
0.387755
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
0
0
0
null
1
1
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
d470a1de6b5ba86e7a7f7c163885d3267a68ae5b
58,743
py
Python
lang/python/github/com/metaprov/modelaapi/services/common/v1/common_pb2.py
metaprov/modeldapi
ee05693832051dcd990ee4f061715d7ae0787340
[ "Apache-2.0" ]
null
null
null
lang/python/github/com/metaprov/modelaapi/services/common/v1/common_pb2.py
metaprov/modeldapi
ee05693832051dcd990ee4f061715d7ae0787340
[ "Apache-2.0" ]
null
null
null
lang/python/github/com/metaprov/modelaapi/services/common/v1/common_pb2.py
metaprov/modeldapi
ee05693832051dcd990ee4f061715d7ae0787340
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: github.com/metaprov/modelaapi/services/common/v1/common.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf impo...
53.5
4,912
0.759376
7,642
58,743
5.57027
0.052342
0.052622
0.083466
0.094719
0.822825
0.794987
0.786929
0.783053
0.778942
0.769428
0
0.040525
0.115333
58,743
1,097
4,913
53.548769
0.778595
0.024939
0
0.708616
1
0.003872
0.235486
0.206633
0
0
0
0
0
1
0
false
0
0.018393
0
0.018393
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
00f8bd1bdbd6a530e6abd504790d7e727e868047
11,635
py
Python
test/rest_basic/test_message_logic.py
amstee/NeoRestAPI
9c0e28a82ae0d23bab03993340df73383a9454af
[ "Apache-2.0" ]
3
2018-09-20T16:27:39.000Z
2019-10-29T23:35:14.000Z
test/rest_basic/test_message_logic.py
amstee/NeoRestAPI
9c0e28a82ae0d23bab03993340df73383a9454af
[ "Apache-2.0" ]
1
2021-02-08T20:23:30.000Z
2021-02-08T20:23:30.000Z
test/rest_basic/test_message_logic.py
amstee/NeoRestAPI
9c0e28a82ae0d23bab03993340df73383a9454af
[ "Apache-2.0" ]
null
null
null
import unittest import json from config.loader import neo_config from api import NeoAPI from config.database import db from models.User import User as UserModel from models.UserToCircle import UserToCircle from models.Conversation import Conversation from models.Circle import Circle from models.UserToConversat...
47.489796
120
0.621143
1,284
11,635
5.488318
0.091122
0.029516
0.022137
0.031361
0.881936
0.871009
0.866042
0.866042
0.843763
0.843763
0
0.022222
0.261281
11,635
244
121
47.684426
0.797673
0
0
0.777778
0
0
0.154684
0.040383
0
0
0
0
0.155556
1
0.071111
false
0.026667
0.053333
0
0.137778
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
2e2a47f91e67be7110cb25aa26a809c53a9dd0ba
9,834
py
Python
MLNN.py
billybishop21/Algo_Signals_2.0
07541de6cdc0de0c050f7c38173ee0ded33a6d19
[ "MIT" ]
null
null
null
MLNN.py
billybishop21/Algo_Signals_2.0
07541de6cdc0de0c050f7c38173ee0ded33a6d19
[ "MIT" ]
null
null
null
MLNN.py
billybishop21/Algo_Signals_2.0
07541de6cdc0de0c050f7c38173ee0ded33a6d19
[ "MIT" ]
1
2021-10-16T12:48:21.000Z
2021-10-16T12:48:21.000Z
import pandas as pd from pathlib import Path # import tensorflow as tf from tensorflow.keras.layers import Dense from tensorflow.keras.models import Sequential from sklearn.model_selection import train_test_split from sklearn.preprocessing import StandardScaler,OneHotEncoder import sqlalchemy # import h5py # import hvp...
41.493671
135
0.71446
1,361
9,834
4.982366
0.13299
0.012535
0.0146
0.011503
0.831441
0.828049
0.814629
0.807845
0.802389
0.802389
0
0.007305
0.178666
9,834
236
136
41.669492
0.83224
0.306793
0
0.751938
0
0
0.115658
0
0
0
0
0
0
1
0.023256
false
0
0.093023
0
0.139535
0.077519
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
2e39d9dab0e286e805715035597f03de08f7d904
9,264
py
Python
vanilla_cmu/net/utils/graph.py
ericchen321/DMGNN
759adf63d97d8b69fb30ccaaed0332e66699a1fa
[ "MIT" ]
100
2020-03-15T17:48:44.000Z
2022-03-22T18:26:47.000Z
vanilla_cmu/net/utils/graph.py
ericchen321/DMGNN
759adf63d97d8b69fb30ccaaed0332e66699a1fa
[ "MIT" ]
11
2020-03-30T11:55:45.000Z
2021-08-31T04:54:18.000Z
vanilla_cmu/net/utils/graph.py
ericchen321/DMGNN
759adf63d97d8b69fb30ccaaed0332e66699a1fa
[ "MIT" ]
23
2020-03-22T21:55:25.000Z
2022-03-11T20:36:36.000Z
import numpy as np class Graph_J(): def __init__(self, layout='cmu', strategy='uniform', max_hop=1, dilation=1): self.max_hop = max_hop self.dilation = dilation self.get_edge(layout) self.hop_dis = get_hop_distance(self.num_node, self.edge, max_hop=max_hop) self.get_adjacen...
40.454148
93
0.503886
1,313
9,264
3.347296
0.072353
0.101934
0.127645
0.071672
0.912173
0.909898
0.903754
0.882821
0.872127
0.863936
0
0.042958
0.35924
9,264
228
94
40.631579
0.697439
0.028713
0
0.805128
0
0
0.011676
0
0
0
0
0
0
1
0.076923
false
0
0.005128
0.015385
0.128205
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
cf3538009a237dab4300e27c779760872164ce6c
286
py
Python
Florence/VariationalPrinciple/__init__.py
jdlaubrie/florence
830dca4a34be00d6e53cbec3007c10d438b27f57
[ "MIT" ]
65
2017-08-04T10:21:13.000Z
2022-02-21T21:45:09.000Z
Florence/VariationalPrinciple/__init__.py
jdlaubrie/florence
830dca4a34be00d6e53cbec3007c10d438b27f57
[ "MIT" ]
6
2018-06-03T02:29:20.000Z
2022-01-18T02:30:22.000Z
Florence/VariationalPrinciple/__init__.py
jdlaubrie/florence
830dca4a34be00d6e53cbec3007c10d438b27f57
[ "MIT" ]
10
2018-05-30T09:44:10.000Z
2021-05-18T08:06:51.000Z
from .VariationalPrinciple import * from .DisplacementFormulation import * from .DisplacementPotentialFormulation import * from .LaplacianFormulation import * from .ExplicitPenaltyContactFormulation import * from .CoupleStressFormulation import * from .FlexoelectricFormulation import *
40.857143
48
0.856643
21
286
11.666667
0.428571
0.244898
0
0
0
0
0
0
0
0
0
0
0.094406
286
7
49
40.857143
0.945946
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
cf69d0e6d9fbdd6655d5199aa084545f7ed81e82
189
py
Python
flanaapis/geolocation/__init__.py
AlberLC/flanaapis
a1124d0fc8c77b7baa459b63a789fc4b22799ee2
[ "MIT" ]
1
2022-01-26T09:20:47.000Z
2022-01-26T09:20:47.000Z
flanaapis/geolocation/__init__.py
AlberLC/flanaapis
a1124d0fc8c77b7baa459b63a789fc4b22799ee2
[ "MIT" ]
null
null
null
flanaapis/geolocation/__init__.py
AlberLC/flanaapis
a1124d0fc8c77b7baa459b63a789fc4b22799ee2
[ "MIT" ]
null
null
null
from flanaapis.geolocation.functions import * from flanaapis.geolocation.google_maps import * from flanaapis.geolocation.models import * from flanaapis.geolocation.open_street_map import *
37.8
51
0.851852
23
189
6.869565
0.478261
0.329114
0.607595
0.56962
0
0
0
0
0
0
0
0
0.084656
189
4
52
47.25
0.913295
0
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
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
8
d8746d2a9032ed89a1792300b14306eb7e0aa07e
3,516
py
Python
tests/help/test_timing.py
pfeairheller/hio
44669adb62c81357491f9f6157312bc1313b56cf
[ "Apache-2.0" ]
1
2021-04-07T19:10:28.000Z
2021-04-07T19:10:28.000Z
tests/help/test_timing.py
pfeairheller/hio
44669adb62c81357491f9f6157312bc1313b56cf
[ "Apache-2.0" ]
4
2021-03-30T20:50:19.000Z
2022-01-06T17:16:18.000Z
tests/help/test_timing.py
pfeairheller/hio
44669adb62c81357491f9f6157312bc1313b56cf
[ "Apache-2.0" ]
3
2021-04-08T19:35:36.000Z
2021-06-03T13:39:05.000Z
# -*- encoding: utf-8 -*- """ tests.help.test_timing module """ import time import pytest from hio.help.timing import TimerError, RetroTimerError from hio.help.timing import Timer, MonoTimer def test_timer(): """ Test Timer class """ timer = Timer() assert timer.duration == 0.0 assert timer....
26.43609
66
0.650739
488
3,516
4.655738
0.090164
0.305018
0.118838
0.178257
0.891725
0.851232
0.84507
0.84507
0.808979
0.797535
0
0.08164
0.230091
3,516
132
67
26.636364
0.757665
0.038111
0
0.787879
0
0
0.002417
0
0
0
0
0
0.636364
1
0.020202
false
0
0.040404
0
0.060606
0
0
0
0
null
1
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
10
d8a92b6f97ade3f8d3cdbaa3d3f9c9fc3e7a2d32
23,831
py
Python
UI/queries2.py
gustavo-moura/ABCSystem
bdd98d1b18033af81437cc85502659fc4484937d
[ "MIT" ]
1
2018-06-13T15:20:48.000Z
2018-06-13T15:20:48.000Z
UI/queries2.py
gustavo-moura/ABCSystem
bdd98d1b18033af81437cc85502659fc4484937d
[ "MIT" ]
null
null
null
UI/queries2.py
gustavo-moura/ABCSystem
bdd98d1b18033af81437cc85502659fc4484937d
[ "MIT" ]
null
null
null
import os os.chdir("C:\\oraclexe\\instantclient_12_2") import cx_Oracle class connection(): def hello(): print("Hello world") def connect(): # opening connection ORACLE_CONNECT = "a9762942/a9762942@(DESCRIPTION=(SOURCE_ROUTE=OFF)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=grad.icmc.us...
48.046371
1,066
0.620117
3,187
23,831
4.527142
0.060559
0.054062
0.036388
0.031189
0.918838
0.906016
0.897976
0.891392
0.882104
0.875866
0
0.029464
0.260837
23,831
496
1,067
48.046371
0.789611
0.148336
0
0.813889
0
0.094444
0.458969
0.225216
0
0
0
0
0
1
0.061111
false
0
0.005556
0
0.175
0.061111
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
2b08972e87fd41e343da08531ee9b59f7b54b839
2,274
py
Python
katana-cli/cli/commands/cmd_resources.py
tgogos/katana-slice_manager
75e47751d1566ad9cea54cf715cfe36dae1debc4
[ "Apache-2.0" ]
55
2019-07-24T15:52:11.000Z
2022-03-27T22:58:59.000Z
katana-cli/cli/commands/cmd_resources.py
tgogos/katana-slice_manager
75e47751d1566ad9cea54cf715cfe36dae1debc4
[ "Apache-2.0" ]
39
2019-12-16T13:53:08.000Z
2022-01-29T15:58:20.000Z
katana-cli/cli/commands/cmd_resources.py
tgogos/katana-slice_manager
75e47751d1566ad9cea54cf715cfe36dae1debc4
[ "Apache-2.0" ]
20
2019-07-25T09:17:33.000Z
2022-03-28T03:34:38.000Z
import requests import json import click @click.group() def cli(): """Query Resources""" pass @click.command() def ls(): """ List all resources """ url = "http://localhost:8000/api/resources" r = None try: r = requests.get(url, timeout=30) r.raise_for_status() ...
27.071429
59
0.646438
275
2,274
5.298182
0.210909
0.115305
0.197666
0.046671
0.803706
0.803706
0.737817
0.72615
0.72615
0.72615
0
0.011429
0.230431
2,274
83
60
27.39759
0.821143
0.047054
0
0.746032
0
0
0.125236
0
0
0
0
0
0
1
0.063492
false
0.015873
0.047619
0
0.111111
0.190476
0
0
0
null
0
1
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
99a68869a93b9816cce769b8e77521f0faceef56
3,149
py
Python
scripts/constants/models_config.py
daniele21/DL_soccer_prediction_v2
97bafe911fd8883d6679cf55fd0fff34db67ef06
[ "MIT" ]
null
null
null
scripts/constants/models_config.py
daniele21/DL_soccer_prediction_v2
97bafe911fd8883d6679cf55fd0fff34db67ef06
[ "MIT" ]
null
null
null
scripts/constants/models_config.py
daniele21/DL_soccer_prediction_v2
97bafe911fd8883d6679cf55fd0fff34db67ef06
[ "MIT" ]
null
null
null
from scripts.constants.configs import * from scripts.constants.league import * from scripts.constants.paths import * SERIE_A_PARAMS = { "league": { "league_name": SERIE_A, "n_prev_match": 10, "league_dir": DATA_DIR, ...
37.939759
69
0.31375
207
3,149
4.521739
0.304348
0.025641
0.076923
0.051282
0.770299
0.770299
0.762821
0.762821
0.762821
0.762821
0
0.053558
0.584948
3,149
83
70
37.939759
0.662586
0.012385
0
0.782051
0
0
0.183076
0.0074
0
0
0
0
0
1
0
false
0
0.038462
0
0.038462
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
51070da0314109329c30570f1992d31a99ca856d
27,479
py
Python
auth/tests.py
arcturus5340/julia
6bb7b6e956edc9b16f773926978679dd6031e959
[ "MIT" ]
13
2018-10-20T17:31:00.000Z
2022-03-06T23:02:48.000Z
auth/tests.py
arcturus5340/julia
6bb7b6e956edc9b16f773926978679dd6031e959
[ "MIT" ]
4
2019-10-08T18:24:38.000Z
2021-06-10T20:06:26.000Z
auth/tests.py
arcturus5340/julia
6bb7b6e956edc9b16f773926978679dd6031e959
[ "MIT" ]
6
2018-10-29T00:58:55.000Z
2020-03-25T14:02:18.000Z
from django.core.files.uploadedfile import SimpleUploadedFile from django.contrib.auth.models import Group from django.core.files import File from django.core import mail from django.contrib import auth from django.conf import settings from rest_framework.test import APIClient, APITestCase from rest_framework import s...
42.935938
144
0.667892
3,181
27,479
5.546998
0.061301
0.079909
0.053783
0.085463
0.902239
0.878322
0.86098
0.842732
0.820856
0.80187
0
0.010624
0.2019
27,479
639
145
43.00313
0.793945
0
0
0.69428
0
0
0.178027
0.066414
0
0
0
0
0.220907
1
0.092702
false
0.09073
0.019724
0
0.116371
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
1
0
0
0
0
0
7
510819c79f4d238a067b709b1c181a406135bf71
7,795
py
Python
pid.py
elhamalamoudi/deepPID
a6b80abeebda3c86fd99dc37805977e8994b6c36
[ "MIT" ]
5
2020-08-24T18:41:21.000Z
2022-01-02T03:46:50.000Z
pid.py
elhamalamoudi/deepPID
a6b80abeebda3c86fd99dc37805977e8994b6c36
[ "MIT" ]
null
null
null
pid.py
elhamalamoudi/deepPID
a6b80abeebda3c86fd99dc37805977e8994b6c36
[ "MIT" ]
10
2020-06-17T13:03:10.000Z
2022-02-24T07:43:35.000Z
import numpy as np class pid_controller(): def __init__(self,set_point,n_actions=6, dt = 0.1): self.dt = dt self.actions=n_actions self.set_point = set_point self.action_vx = np.zeros(3) self.action_wz = np.zeros(3) self.u = np.zeros(6) self.u0 = np.zeros(6) ...
27.839286
122
0.523669
1,274
7,795
3.122449
0.044741
0.126697
0.044243
0.042232
0.992459
0.987682
0.987682
0.987431
0.987431
0.987431
0
0.072642
0.313021
7,795
280
123
27.839286
0.670215
0.030019
0
0.959184
0
0
0
0
0
0
0
0
0
0
null
null
0
0.005102
null
null
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
8
513e9142ab5295398e9919fd3068027f62400fa5
14,426
py
Python
The dawn of Otrozhny/menuTabs.py
SeoFernando25/The-dawn-of-Otrozhny
b42f3ca71c477e2b76e5189e790e70c930712c24
[ "MIT" ]
null
null
null
The dawn of Otrozhny/menuTabs.py
SeoFernando25/The-dawn-of-Otrozhny
b42f3ca71c477e2b76e5189e790e70c930712c24
[ "MIT" ]
null
null
null
The dawn of Otrozhny/menuTabs.py
SeoFernando25/The-dawn-of-Otrozhny
b42f3ca71c477e2b76e5189e790e70c930712c24
[ "MIT" ]
null
null
null
# Just placed some draw functions here because # otherwise it would become messy import textDraw import renderer import colors import entities def render_tutorial_tab_1(): textDraw.message_display_MB( renderer.SCREEN, "Enemy Status", renderer.SCREEN_WIDTH...
31.497817
84
0.601345
1,736
14,426
4.766705
0.145737
0.241692
0.17281
0.180665
0.812447
0.811722
0.785619
0.781269
0.770151
0.76858
0
0.045956
0.315195
14,426
457
85
31.56674
0.791679
0.005338
0
0.791123
0
0
0.139329
0
0
0
0
0
0
1
0.013055
false
0.002611
0.010444
0
0.023499
0
0
0
0
null
1
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
51487c8d1e6f5ed35bf205f07fbd7463e41233bc
150
py
Python
kfac/modules/__init__.py
saeedsoori/kfac_pytorch
a49d6f30daf6d1e989df9b13e1ca42f1d0742a44
[ "MIT" ]
35
2020-05-15T16:51:23.000Z
2022-02-23T20:23:44.000Z
kfac/modules/__init__.py
MLHPC/Distributed_KFAC_Pytorch
cfd6d54012cf23d832818ce302d2d2d049da4936
[ "MIT" ]
18
2020-04-27T19:36:05.000Z
2022-03-25T22:14:16.000Z
kfac/modules/__init__.py
MLHPC/Distributed_KFAC_Pytorch
cfd6d54012cf23d832818ce302d2d2d049da4936
[ "MIT" ]
14
2020-05-24T17:22:14.000Z
2022-03-17T19:31:07.000Z
from .lstm import LSTM, LSTMCellBase, LSTMCellKFAC, LSTMCell, LSTMLayer __all__ = ['LSTM', 'LSTMCellBase', 'LSTMCellKFAC', 'LSTMCell', 'LSTMLayer']
30
75
0.74
14
150
7.642857
0.571429
0.299065
0.523364
0.672897
0.841122
0
0
0
0
0
0
0
0.113333
150
4
76
37.5
0.804511
0
0
0
0
0
0.302013
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
1
1
1
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
7
5aa29f5cfc53ae5b3c761ca50474349257001bba
140
py
Python
code/solve_single_lin.py
thanever/DID
018d901ec8a4d47645c83ab1807ed2e345829ad7
[ "MIT" ]
null
null
null
code/solve_single_lin.py
thanever/DID
018d901ec8a4d47645c83ab1807ed2e345829ad7
[ "MIT" ]
null
null
null
code/solve_single_lin.py
thanever/DID
018d901ec8a4d47645c83ab1807ed2e345829ad7
[ "MIT" ]
1
2021-10-03T04:14:48.000Z
2021-10-03T04:14:48.000Z
def solve_single_lin(opt_x_s): ''' solve one opt_x[s] ''' opt_x_s.solve(solver='MOSEK', verbose = True) return opt_x_s
17.5
49
0.621429
24
140
3.25
0.541667
0.205128
0.25641
0.25641
0
0
0
0
0
0
0
0
0.242857
140
8
50
17.5
0.735849
0.128571
0
0
0
0
0.046729
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
7
5ab75873a3c8b28eb0dd0d7210e12d8c50fc10ae
3,728
py
Python
results_plots/fall2021/dist_vs_inner_steps_neurips_workshop.py
brando90/Does-MAML-Only-Work-via-Feature-Re-use-A-Data-Set-Centric-Perspective
45c4fabf35d6d8d19e49092e84e8ac9fa55aee8d
[ "MIT" ]
null
null
null
results_plots/fall2021/dist_vs_inner_steps_neurips_workshop.py
brando90/Does-MAML-Only-Work-via-Feature-Re-use-A-Data-Set-Centric-Perspective
45c4fabf35d6d8d19e49092e84e8ac9fa55aee8d
[ "MIT" ]
null
null
null
results_plots/fall2021/dist_vs_inner_steps_neurips_workshop.py
brando90/Does-MAML-Only-Work-via-Feature-Re-use-A-Data-Set-Centric-Perspective
45c4fabf35d6d8d19e49092e84e8ac9fa55aee8d
[ "MIT" ]
null
null
null
# %% # ml + loss vs inner steps (Sigmoid best val) import numpy as np import matplotlib.pyplot as plt from pylab import MaxNLocator from pathlib import Path print('running') save_plot = True # save_plot = False # - data for distance inner_steps_for_dist = [1, 2, 4, 8, 16, 32] meta_test_cca = [0.2801, 0.2866, 0.2...
31.327731
142
0.72559
624
3,728
4.123397
0.238782
0.08939
0.045472
0.04042
0.802565
0.774582
0.774582
0.753206
0.753206
0.740381
0
0.134627
0.115343
3,728
119
143
31.327731
0.645543
0.162554
0
0.75
0
0.046875
0.177513
0.072487
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.046875
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
5adce3c727491251c9abf4ace3f6cc7ed99e2faf
18,549
py
Python
cifar10.py
QFaceblue/keras-yolo3
cbb83adc103ed80f40e0d8d88a597d72def9dd3c
[ "MIT" ]
null
null
null
cifar10.py
QFaceblue/keras-yolo3
cbb83adc103ed80f40e0d8d88a597d72def9dd3c
[ "MIT" ]
null
null
null
cifar10.py
QFaceblue/keras-yolo3
cbb83adc103ed80f40e0d8d88a597d72def9dd3c
[ "MIT" ]
null
null
null
import keras from keras import backend as K from keras import optimizers, regularizers from keras.datasets import cifar10, cifar100 from keras.models import Sequential,Model,load_model from keras.layers import Conv2D, Dense, Flatten, MaxPooling2D,GlobalAveragePooling2D, Input, Activation,Dropout from keras.layers.norma...
36.585799
155
0.626611
2,575
18,549
4.331262
0.111068
0.021519
0.014346
0.012911
0.856362
0.834125
0.823904
0.810006
0.801937
0.801937
0
0.076645
0.238234
18,549
506
156
36.658103
0.712668
0.187234
0
0.760479
0
0.017964
0.079539
0.0468
0
0
0
0
0
1
0.050898
false
0
0.032934
0
0.146707
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
51ad50f1d91a2099a5a0112f44a6ad1948ec0956
113
py
Python
openselfsup/version.py
yoyoyoohh/PolSAR_SelfSup
281b40a6500fde5b4837247015edab3a5e32dbfb
[ "Apache-2.0" ]
1
2022-02-16T01:37:17.000Z
2022-02-16T01:37:17.000Z
openselfsup/version.py
yoyoyoohh/PolSAR_SelfSup
281b40a6500fde5b4837247015edab3a5e32dbfb
[ "Apache-2.0" ]
null
null
null
openselfsup/version.py
yoyoyoohh/PolSAR_SelfSup
281b40a6500fde5b4837247015edab3a5e32dbfb
[ "Apache-2.0" ]
null
null
null
# GENERATED VERSION FILE # TIME: Tue Oct 26 14:07:11 2021 __version__ = '0.3.0+dc45206' short_version = '0.3.0'
18.833333
32
0.699115
21
113
3.52381
0.714286
0.216216
0.243243
0.27027
0
0
0
0
0
0
0
0.242105
0.159292
113
5
33
22.6
0.536842
0.469027
0
0
1
0
0.315789
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
51af1402bd138a0d43f31650c79c2fa00544952d
22,582
py
Python
ctplanet/Hydrostatic.py
AlbertoJimenezDiaz/ctplanet
66651288abfb2c8588aec3bca1af160b1ec1d574
[ "BSD-3-Clause" ]
4
2019-07-31T13:52:59.000Z
2020-09-12T06:35:24.000Z
ctplanet/Hydrostatic.py
AlbertoJimenezDiaz/ctplanet
66651288abfb2c8588aec3bca1af160b1ec1d574
[ "BSD-3-Clause" ]
null
null
null
ctplanet/Hydrostatic.py
AlbertoJimenezDiaz/ctplanet
66651288abfb2c8588aec3bca1af160b1ec1d574
[ "BSD-3-Clause" ]
4
2018-10-30T04:36:55.000Z
2020-09-12T06:35:32.000Z
''' Functions for calculating the shape of hydrostatic density interfaces and their gravitational potential in a planet with a non-hydrostatic lithosphere. ''' import numpy as np import scipy.linalg.lapack as lapack import pyshtools as pysh # ==== HydrostaticShapeLith ==== def HydrostaticShapeLith(radius, rho, ilit...
39.273043
79
0.462227
3,158
22,582
3.281507
0.079481
0.010422
0.024703
0.031844
0.85757
0.835279
0.818392
0.791759
0.7741
0.760977
0
0.059825
0.409308
22,582
574
80
39.341463
0.71707
0.262244
0
0.84438
0
0
0.034185
0
0
0
0
0
0
1
0.005764
false
0
0.008646
0
0.020173
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
51d1a6a092ee373d0669a282b65b0270b3008598
680
py
Python
python--exercicios/ex027.py
Eliezer2000/python
12abb54c6536acb2f36b8f34bf51ec765857eb75
[ "MIT" ]
null
null
null
python--exercicios/ex027.py
Eliezer2000/python
12abb54c6536acb2f36b8f34bf51ec765857eb75
[ "MIT" ]
null
null
null
python--exercicios/ex027.py
Eliezer2000/python
12abb54c6536acb2f36b8f34bf51ec765857eb75
[ "MIT" ]
null
null
null
n = str(input('Digite seu nome : ')).strip() print('Muito prazer em te conhecer ! ') nome = n.split() print('O seu primeiro nome é: {}'.format(nome[0])) print('O seu último nome é: {}'.format(nome[len(nome)-1])) #n = str(input('Digite seu nome completo : ')).strip() #print('Olá! Prazer em te conhecer ! ') #nome = n.s...
34
60
0.635294
113
680
3.823009
0.247788
0.083333
0.125
0.208333
0.900463
0.900463
0.849537
0.849537
0.849537
0.849537
0
0.010292
0.142647
680
19
61
35.789474
0.730703
0.652941
0
0
0
0
0.426667
0
0
0
0
0
0
1
0
false
0
0
0
0
0.6
0
0
0
null
0
0
1
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
1
0
8
51dc31ed2ec1fa0acd2e376926c9c8b9a24b3c48
80
py
Python
ksa_vat/jinja/utils.py
Craftint/ksa_vat
1939d4fc1eafc2ce62e3297eeb6dacbdd906c1f8
[ "MIT" ]
21
2021-07-17T10:24:41.000Z
2021-12-16T13:29:05.000Z
ksa_vat/jinja/utils.py
Craftint/ksa_vat
1939d4fc1eafc2ce62e3297eeb6dacbdd906c1f8
[ "MIT" ]
7
2021-11-03T11:52:45.000Z
2021-12-28T08:41:54.000Z
ksa_vat/jinja/utils.py
Craftint/ksa_vat
1939d4fc1eafc2ce62e3297eeb6dacbdd906c1f8
[ "MIT" ]
28
2021-07-31T08:13:34.000Z
2022-03-15T06:16:28.000Z
import json def string_to_json(json_string): return json.loads(json_string)
20
34
0.8
13
80
4.615385
0.538462
0.333333
0
0
0
0
0
0
0
0
0
0
0.125
80
4
34
20
0.857143
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
7
51f8183ccb834afc1b1fba61b1bca1778ad7e2ca
106
py
Python
azure_eventhubs_client/__init__.py
KnockriInc/azure_eventhubs_client
6c1d63ac1034ea47cf7cf3386348544146557111
[ "MIT" ]
1
2019-04-03T15:32:36.000Z
2019-04-03T15:32:36.000Z
build/lib/azure_eventhubs_client/__init__.py
KnockriInc/azure_eventhubs_client
6c1d63ac1034ea47cf7cf3386348544146557111
[ "MIT" ]
null
null
null
build/lib/azure_eventhubs_client/__init__.py
KnockriInc/azure_eventhubs_client
6c1d63ac1034ea47cf7cf3386348544146557111
[ "MIT" ]
1
2019-03-29T19:39:13.000Z
2019-03-29T19:39:13.000Z
from azure_eventhubs_client.consumer import Consumer from azure_eventhubs_client.producer import Producer
35.333333
52
0.90566
14
106
6.571429
0.5
0.195652
0.391304
0.521739
0
0
0
0
0
0
0
0
0.075472
106
2
53
53
0.938776
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
5c5383f5ead4b3035a615afac4215914efe1bcdb
109
py
Python
recipes/Python/577269_Import_modules/recipe-577269.py
tdiprima/code
61a74f5f93da087d27c70b2efe779ac6bd2a3b4f
[ "MIT" ]
2,023
2017-07-29T09:34:46.000Z
2022-03-24T08:00:45.000Z
recipes/Python/577269_Import_modules/recipe-577269.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
32
2017-09-02T17:20:08.000Z
2022-02-11T17:49:37.000Z
recipes/Python/577269_Import_modules/recipe-577269.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
780
2017-07-28T19:23:28.000Z
2022-03-25T20:39:41.000Z
relative_to_current = lambda *x: __import__('os').path.join(__import__('os').path.dirname(__file__), *x)
54.5
108
0.715596
15
109
4.266667
0.733333
0.25
0.375
0
0
0
0
0
0
0
0
0
0.091743
109
1
109
109
0.646465
0
0
0
0
0
0.036697
0
0
0
0
0
0
0
null
null
0
1
null
null
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
7