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
dd72b3252a902552979d222dd4a18002dd348923
4,969
py
Python
apps/wagtail/home/migrations/0040_auto_20210320_1241.py
aadrm/breakoutwagtail
cf4ce09153adf2b5e14f15ffbc82bda754d427b3
[ "MIT" ]
null
null
null
apps/wagtail/home/migrations/0040_auto_20210320_1241.py
aadrm/breakoutwagtail
cf4ce09153adf2b5e14f15ffbc82bda754d427b3
[ "MIT" ]
null
null
null
apps/wagtail/home/migrations/0040_auto_20210320_1241.py
aadrm/breakoutwagtail
cf4ce09153adf2b5e14f15ffbc82bda754d427b3
[ "MIT" ]
null
null
null
# Generated by Django 3.1.4 on 2021-03-20 12:41 from django.db import migrations, models import django.db.models.query import wagtail.core.blocks import wagtail.core.fields import wagtail.images.blocks class Migration(migrations.Migration): dependencies = [ ('home', '0039_auto_20210320_1138'), ] ...
40.398374
298
0.610384
528
4,969
5.558712
0.128788
0.064395
0.122658
0.147189
0.856899
0.845656
0.845656
0.845656
0.845656
0.823509
0
0.021591
0.263635
4,969
122
299
40.729508
0.780541
0.009056
0
0.87069
1
0
0.124746
0.004673
0
0
0
0
0
1
0
false
0
0.043103
0
0.068966
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
dd7b2306b44d814d31e3c9556dc2277accbe1807
9,435
py
Python
particle_packing/tests/test_sphere.py
aluchies/particle_packing
127603a519ae25979de6c6197810a7ea38ec945b
[ "BSD-3-Clause" ]
null
null
null
particle_packing/tests/test_sphere.py
aluchies/particle_packing
127603a519ae25979de6c6197810a7ea38ec945b
[ "BSD-3-Clause" ]
null
null
null
particle_packing/tests/test_sphere.py
aluchies/particle_packing
127603a519ae25979de6c6197810a7ea38ec945b
[ "BSD-3-Clause" ]
null
null
null
from particle_packing import sphere import unittest import numpy as np from scipy.spatial.distance import pdist class TestCode(unittest.TestCase): """ pack.grid_md() """ def test1_pack_grid_md(self): """ Test case with zero points. """ x, y, z = sphere.pack.grid_md(npoints=...
24.634465
77
0.540329
1,246
9,435
3.991172
0.081059
0.194249
0.104565
0.038608
0.898653
0.886588
0.869696
0.85924
0.826664
0.795898
0
0.046479
0.322735
9,435
383
78
24.634465
0.731768
0
0
0.80402
0
0
0.00469
0
0
0
0
0
0.351759
0
null
null
0
0.020101
null
null
0.005025
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
06be84476e42a86a0bf2ae266a2a3808b2343aaf
21,631
py
Python
hdf5_getters.py
greysou1/Million-Song-Dataset-HDF5-to-CSV
717270af89b37be8afe294160531d4104e49061c
[ "MIT" ]
null
null
null
hdf5_getters.py
greysou1/Million-Song-Dataset-HDF5-to-CSV
717270af89b37be8afe294160531d4104e49061c
[ "MIT" ]
null
null
null
hdf5_getters.py
greysou1/Million-Song-Dataset-HDF5-to-CSV
717270af89b37be8afe294160531d4104e49061c
[ "MIT" ]
null
null
null
""" Thierry Bertin-Mahieux (2010) Columbia University tb2332@columbia.edu This code contains a set of getters functions to access the fields from an HDF5 song file (regular file with one song or aggregate / summary file with many songs) This is part of the Million Song Dataset project from LabROSA (Columbia Universi...
45.443277
127
0.669456
3,114
21,631
4.540141
0.062942
0.043005
0.064719
0.049653
0.84234
0.767789
0.75237
0.70208
0.695006
0.691611
0
0.023225
0.20577
21,631
476
128
45.443277
0.799709
0.384957
0
0.146893
0
0
0.234614
0.038424
0
0
0
0
0
1
0.316384
false
0
0.011299
0
0.762712
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
0
0
1
0
0
0
0
1
0
0
7
06d485f59a472517a93e4401cc85c6a646dd1ca9
3,114
py
Python
tags_classifier_library/predict/tests/test_utils.py
uktrade/tags-classifier-library
1496d3b64789438ab329497a8b150f3deb74d7d0
[ "MIT" ]
null
null
null
tags_classifier_library/predict/tests/test_utils.py
uktrade/tags-classifier-library
1496d3b64789438ab329497a8b150f3deb74d7d0
[ "MIT" ]
1
2021-01-26T14:45:35.000Z
2021-01-26T14:45:35.000Z
tags_classifier_library/predict/tests/test_utils.py
uktrade/tags-classifier-library
1496d3b64789438ab329497a8b150f3deb74d7d0
[ "MIT" ]
null
null
null
from tags_classifier_library.predict.model import ModelInfo, inspect_model from tags_classifier_library.predict.tests.constants import TEST_MODELS_PATH def test_inspect_model(): models_info = inspect_model(TEST_MODELS_PATH, ["models_general"]) models_info.sort(key=lambda x: x.name) assert models_info == ...
43.859155
94
0.650289
325
3,114
5.873846
0.104615
0.211105
0.242012
0.322682
0.846517
0.810372
0.810372
0.810372
0.810372
0.810372
0
0
0.238279
3,114
70
95
44.485714
0.804806
0
0
0.597015
0
0
0.510597
0.444123
0
0
0
0
0.014925
1
0.014925
false
0
0.029851
0
0.044776
0
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
b01a3c66782537d7e83404fd91ab9b7e3a107bbd
93
py
Python
test/tests/sys_modules_replacement_test.py
aisk/pyston
ac69cfef0621dbc8901175e84fa2b5cb5781a646
[ "BSD-2-Clause", "Apache-2.0" ]
1
2020-02-06T14:28:45.000Z
2020-02-06T14:28:45.000Z
test/tests/sys_modules_replacement_test.py
aisk/pyston
ac69cfef0621dbc8901175e84fa2b5cb5781a646
[ "BSD-2-Clause", "Apache-2.0" ]
null
null
null
test/tests/sys_modules_replacement_test.py
aisk/pyston
ac69cfef0621dbc8901175e84fa2b5cb5781a646
[ "BSD-2-Clause", "Apache-2.0" ]
1
2020-02-06T14:29:00.000Z
2020-02-06T14:29:00.000Z
import sys_modules_replacement_target print hasattr(sys_modules_replacement_target, "path")
23.25
53
0.88172
12
93
6.333333
0.666667
0.263158
0.552632
0.710526
0
0
0
0
0
0
0
0
0.064516
93
3
54
31
0.873563
0
0
0
0
0
0.043011
0
0
0
0
0
0
0
null
null
0
0.5
null
null
0.5
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
1
0
0
0
1
0
0
1
0
8
c6967e5f3daf02a35553fdd623171262e05d1e55
53,846
py
Python
sdk/python/pulumi_openstack/networking/network.py
pulumi/pulumi-openstack
945eed22a82784e9f0b3aa56168b2397c2f503e8
[ "ECL-2.0", "Apache-2.0" ]
34
2018-09-12T12:37:51.000Z
2022-02-04T19:32:13.000Z
sdk/python/pulumi_openstack/networking/network.py
pulumi/pulumi-openstack
945eed22a82784e9f0b3aa56168b2397c2f503e8
[ "ECL-2.0", "Apache-2.0" ]
72
2018-08-15T13:04:57.000Z
2022-03-31T15:39:49.000Z
sdk/python/pulumi_openstack/networking/network.py
pulumi/pulumi-openstack
945eed22a82784e9f0b3aa56168b2397c2f503e8
[ "ECL-2.0", "Apache-2.0" ]
7
2019-03-14T08:28:49.000Z
2021-12-29T04:23:55.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...
46.418966
151
0.64456
6,462
53,846
5.216806
0.045033
0.085818
0.083415
0.035241
0.950016
0.941354
0.933583
0.930468
0.928955
0.919344
0
0.003737
0.264495
53,846
1,159
152
46.459016
0.847465
0.43903
0
0.875926
1
0
0.087043
0.01972
0
0
0
0
0
1
0.166667
false
0.001852
0.012963
0
0.27963
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
af118a2888bdee390e6a737f34f366d1752d0b00
51
py
Python
pkgs/constructor-2.1.1-py37_0/info/test/run_test.py
AXGKl/be_black
810df50ab33fe614786af5dc8216daff74db32df
[ "BSD-3-Clause" ]
null
null
null
pkgs/constructor-2.1.1-py37_0/info/test/run_test.py
AXGKl/be_black
810df50ab33fe614786af5dc8216daff74db32df
[ "BSD-3-Clause" ]
1
2019-04-02T23:35:13.000Z
2019-04-02T23:35:13.000Z
pkgs/constructor-2.1.1-py37_0/info/test/run_test.py
AXGKl/be_black
810df50ab33fe614786af5dc8216daff74db32df
[ "BSD-3-Clause" ]
null
null
null
print("import: 'constructor'") import constructor
12.75
30
0.764706
5
51
7.8
0.6
0.871795
0
0
0
0
0
0
0
0
0
0
0.098039
51
3
31
17
0.847826
0
0
0
0
0
0.42
0
0
0
0
0
0
1
0
true
0
1
0
1
0.5
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
1
0
7
af68e7843b7fd079fb421a58aae4d3b126674538
379
py
Python
exponentcode.py
shyed2001/Python_Programming
93ef958e3d8aa77f9191b550972235ce4fe4a6cb
[ "bzip2-1.0.6" ]
2
2019-05-01T04:32:14.000Z
2019-05-04T11:28:18.000Z
exponentcode.py
shyed2001/python-learning-basics
93ef958e3d8aa77f9191b550972235ce4fe4a6cb
[ "bzip2-1.0.6" ]
null
null
null
exponentcode.py
shyed2001/python-learning-basics
93ef958e3d8aa77f9191b550972235ce4fe4a6cb
[ "bzip2-1.0.6" ]
null
null
null
print(''' Exponent code Exponent code ''') print(''' def answer2(number, power): result=1 for index in range(power): result=result * number return result print(answer2(3,2)) ''') print(''' ''') def answer2(number, power): result=1 for index in range(power): result=...
16.478261
31
0.588391
47
379
4.744681
0.340426
0.197309
0.134529
0.188341
0.869955
0.869955
0.869955
0.869955
0.869955
0.869955
0
0.036101
0.269129
379
22
32
17.227273
0.768953
0
0
1
0
0
0.484594
0
0
0
0
0
0
1
0.05
false
0
0
0
0.15
0.25
0
0
0
null
0
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
8
af8163d87a4994839a814645823e1622a6cf164b
1,530
py
Python
python/kyu_5/test_extract_the_domain_name_from_a_url.py
fkandzia/codewars
b80fd200ce75e938bc4fd2313e28de6a34c46e71
[ "BSD-2-Clause" ]
null
null
null
python/kyu_5/test_extract_the_domain_name_from_a_url.py
fkandzia/codewars
b80fd200ce75e938bc4fd2313e28de6a34c46e71
[ "BSD-2-Clause" ]
null
null
null
python/kyu_5/test_extract_the_domain_name_from_a_url.py
fkandzia/codewars
b80fd200ce75e938bc4fd2313e28de6a34c46e71
[ "BSD-2-Clause" ]
null
null
null
import pytest from python.kyu_5.extract_the_domain_name_from_a_url import domain_name, domain_name_2 class TestDomainName: @pytest.mark.parametrize( ("url", "domain"), [ ("http://github.com/carbonfive/raygun", "github"), ("http://www.zombie-bites.com", "zombie-bites"), ...
32.553191
86
0.575163
175
1,530
4.8
0.268571
0.107143
0.071429
0.057143
0.816667
0.816667
0.816667
0.816667
0.816667
0.816667
0
0.004382
0.254248
1,530
46
87
33.26087
0.731814
0
0
0.722222
0
0
0.302554
0
0
0
0
0
0.111111
1
0.111111
false
0
0.055556
0
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
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
bb61e1c68b7e76aa760936bce2e47a9dfe5336fc
13,553
py
Python
pyhsfc/test/pyhsfc-tictactoe-test.py
AbdallahS/ggp-hsfc
3f2b80382f3ae8558553da07f1de5bdf5a143832
[ "BSD-2-Clause" ]
1
2019-02-01T04:46:20.000Z
2019-02-01T04:46:20.000Z
pyhsfc/test/pyhsfc-tictactoe-test.py
AbdallahS/ggp-hsfc
3f2b80382f3ae8558553da07f1de5bdf5a143832
[ "BSD-2-Clause" ]
null
null
null
pyhsfc/test/pyhsfc-tictactoe-test.py
AbdallahS/ggp-hsfc
3f2b80382f3ae8558553da07f1de5bdf5a143832
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python import re import unittest from pyhsfc import * #------------------------------------------------------------- # #------------------------------------------------------------- g_ttt1=""" ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; Tictactoe ;;;;;;;;;;;;;;;...
34.751282
2,022
0.434811
1,745
13,553
3.346132
0.072206
0.078096
0.043158
0.028772
0.916938
0.916938
0.897414
0.897414
0.897414
0.897414
0
0.020904
0.234044
13,553
389
2,023
34.840617
0.541566
0.091788
0
0.406844
0
0.072243
0.692859
0.110858
0
0
0
0
0.121673
0
null
null
0
0.011407
null
null
0.045627
0
0
0
null
0
0
0
1
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
1
0
0
0
0
0
0
0
0
9
bb7e196ce7a1a0fe2d37f65e1115eec30f2076bb
372
py
Python
load_datasets/load_sarscov2-ctscan-dataset.py
ArthurMor4is/grad-cam-covid-19-ct
14474a635e7633c8382839582d2a2cd9ff98eb62
[ "MIT" ]
null
null
null
load_datasets/load_sarscov2-ctscan-dataset.py
ArthurMor4is/grad-cam-covid-19-ct
14474a635e7633c8382839582d2a2cd9ff98eb62
[ "MIT" ]
null
null
null
load_datasets/load_sarscov2-ctscan-dataset.py
ArthurMor4is/grad-cam-covid-19-ct
14474a635e7633c8382839582d2a2cd9ff98eb62
[ "MIT" ]
null
null
null
import os # Import and organizing sarscov2-ctscan-dataset os.system("kaggle datasets download -d plameneduardo/sarscov2-ctscan-dataset") os.system("unzip sarscov2-ctscan-dataset.zip") os.system("mkdir sarscov2-ctscan-dataset") os.system("mv COVID sarscov2-ctscan-dataset") os.system("mv non-COVID sarscov2-ctscan-datase...
37.2
78
0.793011
54
372
5.462963
0.388889
0.332203
0.498305
0.389831
0.538983
0.342373
0
0
0
0
0
0.020231
0.069892
372
9
79
41.333333
0.83237
0.120968
0
0
0
0
0.704615
0.492308
0
0
0
0
0
1
0
true
0
0.142857
0
0.142857
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
1
0
0
0
0
0
0
7
bb8858db8d10e11e28ef734c0c49b5c1977c3c77
92,738
py
Python
tmp/timing.py
kcarnold/sentiment-slant-gi18
6028b42627e3eec14a1f27986f8925d8b1e6ad9c
[ "MIT" ]
null
null
null
tmp/timing.py
kcarnold/sentiment-slant-gi18
6028b42627e3eec14a1f27986f8925d8b1e6ad9c
[ "MIT" ]
null
null
null
tmp/timing.py
kcarnold/sentiment-slant-gi18
6028b42627e3eec14a1f27986f8925d8b1e6ad9c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Tue Jun 13 13:55:21 2017 @author: kcarnold """ import json #%% # Baseline stats = ''' {"numInflight":0,"nosugg":[238,30,132,492,24,70,259,42,62,85,234,109,37,50,29,60,30,51,149,119,153,100,37,48,31,56,32,63,27,48,462,270,357,46,26,57,95,427,117,188,152,27,48,55,63,50,170,206,119...
1,818.392157
31,528
0.724094
25,319
92,738
2.652198
0.029464
0.000357
0.001266
0.001713
0.001057
0.001057
0.000923
0
0
0
0
0.718732
0.001272
92,738
51
31,529
1,818.392157
0.006284
0.002696
0
0.461538
0
0.230769
0.995533
0.995241
0
0
0
0
0
1
0
false
0
0.115385
0
0.115385
0.038462
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1
1
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
bb8ae6f522615ab552ced896af3f167bd6aec741
1,671
py
Python
new_models/modules.py
BoyuanChen/visual_behavior_modeling
8b6eb0516c562306c5d775632223ad0de775f170
[ "MIT" ]
9
2019-12-04T12:50:43.000Z
2021-02-28T13:45:30.000Z
new_models/modules.py
BoyuanChen/visual_behavior_modeling
8b6eb0516c562306c5d775632223ad0de775f170
[ "MIT" ]
null
null
null
new_models/modules.py
BoyuanChen/visual_behavior_modeling
8b6eb0516c562306c5d775632223ad0de775f170
[ "MIT" ]
2
2020-07-09T20:35:15.000Z
2020-11-16T14:03:10.000Z
import torch def conv2d_bn_leakrelu(inch,outch,kernel_size,stride=1,padding=1): convlayer = torch.nn.Sequential( torch.nn.Conv2d(inch,outch,kernel_size=kernel_size,stride=stride,padding=padding), torch.nn.BatchNorm2d(outch), torch.nn.LeakyReLU() ) return convlayer def conv2d_bn_re...
32.134615
99
0.715141
218
1,671
5.362385
0.110092
0.131737
0.153978
0.195038
0.901625
0.901625
0.901625
0.901625
0.901625
0.901625
0
0.017204
0.165171
1,671
52
100
32.134615
0.820789
0
0
0.634146
0
0
0
0
0
0
0
0
0
1
0.146341
false
0
0.02439
0
0.317073
0
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
0
0
7
bbd0cad2550e72eb80c81a2ecd53f3702e81816f
9,886
py
Python
tests/fortify/upload_test.py
matt-fevold/webbreaker
b500fc620ebba03a27321c8f832ab77bb760b9c5
[ "MIT" ]
7
2018-12-20T19:18:43.000Z
2019-12-10T15:03:41.000Z
tests/fortify/upload_test.py
matt-fevold/webbreaker
b500fc620ebba03a27321c8f832ab77bb760b9c5
[ "MIT" ]
5
2019-04-02T17:07:44.000Z
2020-02-17T07:08:11.000Z
tests/fortify/upload_test.py
matt-fevold/webbreaker
b500fc620ebba03a27321c8f832ab77bb760b9c5
[ "MIT" ]
7
2019-01-10T10:40:55.000Z
2022-03-13T14:08:37.000Z
import mock import pytest from webbreaker.fortify.upload import FortifyUpload def unbound_local_error_exception(**kwargs): raise UnboundLocalError('Test Failure') def value_error_exception(**kwargs): raise ValueError('Test Failure') def io_error_exception(**kwargs): raise IOError('Test Failure') @m...
43.170306
117
0.713635
1,067
9,886
6.243674
0.06373
0.08586
0.08631
0.093666
0.927049
0.922546
0.917742
0.917742
0.917742
0.907986
0
0.001544
0.21404
9,886
228
118
43.359649
0.855856
0.011228
0
0.838889
0
0
0.151146
0.098035
0
0
0
0
0.15
1
0.055556
false
0.144444
0.016667
0
0.072222
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
a567607f79b30c0e24eab59212ea018ac886f35f
2,051
py
Python
tests/test_fuzzing.py
odidev/cmaes
a10ac399aec7ce759f29ae3ea9611e10ca647f1c
[ "MIT" ]
134
2020-01-31T01:17:33.000Z
2021-08-14T18:36:00.000Z
tests/test_fuzzing.py
odidev/cmaes
a10ac399aec7ce759f29ae3ea9611e10ca647f1c
[ "MIT" ]
74
2020-01-30T20:18:09.000Z
2021-04-10T16:53:31.000Z
tests/test_fuzzing.py
odidev/cmaes
a10ac399aec7ce759f29ae3ea9611e10ca647f1c
[ "MIT" ]
32
2020-01-30T20:32:51.000Z
2021-07-21T14:09:06.000Z
import hypothesis.extra.numpy as npst import unittest from hypothesis import given, strategies as st from cmaes import CMA, SepCMA class TestFuzzing(unittest.TestCase): @given( data=st.data(), ) def test_cma_tell(self, data): dim = data.draw(st.integers(min_value=2, max_value=100)) ...
32.046875
80
0.542662
222
2,051
4.887387
0.256757
0.073733
0.073733
0.066359
0.853456
0.853456
0.812903
0.812903
0.812903
0.812903
0
0.012186
0.359824
2,051
63
81
32.555556
0.814166
0
0
0.745763
0
0
0
0
0
0
0
0
0.067797
1
0.033898
false
0
0.067797
0
0.186441
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
a569d1530bd7c7f7425be21e8084b5c7a174d752
59
py
Python
agents/new_agent/__init__.py
pmkumar1308/Connect4_PCP2021
a9ad8a4c3f5eed7b7ddabe2a41446b5e34541b84
[ "MIT" ]
null
null
null
agents/new_agent/__init__.py
pmkumar1308/Connect4_PCP2021
a9ad8a4c3f5eed7b7ddabe2a41446b5e34541b84
[ "MIT" ]
null
null
null
agents/new_agent/__init__.py
pmkumar1308/Connect4_PCP2021
a9ad8a4c3f5eed7b7ddabe2a41446b5e34541b84
[ "MIT" ]
null
null
null
from .mcts_agent import generate_move_mcts as gen_move_mcts
59
59
0.898305
11
59
4.363636
0.727273
0.333333
0
0
0
0
0
0
0
0
0
0
0.084746
59
1
59
59
0.888889
0
0
0
1
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
3c0e12e202474c0153b7101e4b983b6ea64e2968
2,804
py
Python
msap/modeling/model_selection/preprocessing/scale.py
asmyoo/MSAP
0ed89f90d67260892a8c4d945504f3b0a2096d36
[ "MIT" ]
null
null
null
msap/modeling/model_selection/preprocessing/scale.py
asmyoo/MSAP
0ed89f90d67260892a8c4d945504f3b0a2096d36
[ "MIT" ]
null
null
null
msap/modeling/model_selection/preprocessing/scale.py
asmyoo/MSAP
0ed89f90d67260892a8c4d945504f3b0a2096d36
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Scaling methods. Authors: Fangzhou Li - fzli@ucdavis.edu """ from sklearn.preprocessing import StandardScaler, MinMaxScaler, RobustScaler import pandas as pd def standardize(X_df, cat_vars): """Apply the standardize the input data. Args: X_df (pd.DataFrame): Input da...
26.205607
76
0.600571
368
2,804
4.366848
0.173913
0.044804
0.026136
0.097075
0.883012
0.883012
0.871811
0.790915
0.790915
0.790915
0
0.003504
0.287447
2,804
106
77
26.45283
0.800801
0.236448
0
0.90566
0
0
0
0
0
0
0
0
0
1
0.056604
false
0
0.037736
0
0.207547
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
b1bc10f526fb41ab54c9d50f2013344d522a2b04
1,177
py
Python
dfirtrack_main/migrations/0003_default_tags.py
0xflotus/dfirtrack
632ebe582c2b40a4ac4b9fb12b7a118c2c49ede5
[ "MIT" ]
4
2018-11-13T14:42:20.000Z
2020-01-20T02:31:26.000Z
dfirtrack_main/migrations/0003_default_tags.py
0xflotus/dfirtrack
632ebe582c2b40a4ac4b9fb12b7a118c2c49ede5
[ "MIT" ]
2
2022-02-28T03:40:31.000Z
2022-02-28T03:40:52.000Z
dfirtrack_main/migrations/0003_default_tags.py
0xflotus/dfirtrack
632ebe582c2b40a4ac4b9fb12b7a118c2c49ede5
[ "MIT" ]
2
2022-02-25T08:34:51.000Z
2022-03-16T17:29:44.000Z
# Generated by Django 2.0.2 on 2018-03-20 16:45 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('dfirtrack_main', '0002_default_values'), ] operations = [ migrations.RunSQL("INSERT INTO dfirtrack_main_tag (tag_name, tagcolor_id) VALUES ('Suspic...
53.5
195
0.75446
151
1,177
5.596026
0.284768
0.169231
0.130178
0.153846
0.742012
0.742012
0.742012
0.742012
0.742012
0.742012
0
0.018756
0.139337
1,177
21
196
56.047619
0.8154
0.038233
0
0
1
0.416667
0.729204
0.20177
0
0
0
0
0
1
0
false
0
0.166667
0
0.416667
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
1
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
a7106f32824e2aa0bdf07195ba2a6d0587fad6ce
6,304
py
Python
src/gridworld_trainer/reinforce/memory.py
Frederik-L/evaluating-population-based-reinforcement-learning-for-transfer-learning
474a927155a0028d55c4176808aff30f9b5ae97d
[ "MIT" ]
null
null
null
src/gridworld_trainer/reinforce/memory.py
Frederik-L/evaluating-population-based-reinforcement-learning-for-transfer-learning
474a927155a0028d55c4176808aff30f9b5ae97d
[ "MIT" ]
null
null
null
src/gridworld_trainer/reinforce/memory.py
Frederik-L/evaluating-population-based-reinforcement-learning-for-transfer-learning
474a927155a0028d55c4176808aff30f9b5ae97d
[ "MIT" ]
null
null
null
# @title: memory.py # @author: Jan Frederik Liebig # @date: 02.09.2021 ############################################################ # Imports from torch.utils.data.sampler import BatchSampler, SubsetRandomSampler import torch ############################################################ # Code class MemoryR...
35.818182
102
0.573604
778
6,304
4.48072
0.142674
0.056225
0.068847
0.072289
0.933161
0.929432
0.928285
0.928285
0.928285
0.928285
0
0.009615
0.323604
6,304
175
103
36.022857
0.807927
0.281885
0
0.758621
0
0
0
0
0
0
0
0
0
1
0.114943
false
0
0.022989
0
0.16092
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
597c0be9050aedf8c865e321505d43e678daa97b
2,393
py
Python
TorchFly/torchfly/nn/transformers/model_configs.py
mrazizi/TextGAIL
9b6e0e62669e0bd4fbb1a8b64098c8432b0d725d
[ "MIT" ]
19
2020-05-16T23:13:43.000Z
2022-03-08T15:01:48.000Z
TorchFly/torchfly/nn/transformers/model_configs.py
MarkusSagen/TextGAIL
18ba72c6d63c3c3db1f195d118267c6e8243b4ff
[ "MIT" ]
3
2021-06-08T21:07:12.000Z
2021-12-13T20:41:53.000Z
TorchFly/torchfly/nn/transformers/model_configs.py
MarkusSagen/TextGAIL
18ba72c6d63c3c3db1f195d118267c6e8243b4ff
[ "MIT" ]
10
2020-06-09T09:15:14.000Z
2022-03-20T09:36:30.000Z
import torch class ChineseBERTBaseConfig: attention_dropout_prob = 0.1 hidden_dropout_prob = 0.1 hidden_size = 768 num_attention_heads = 12 num_hidden_layers = 12 intermediate_size = 3072 layer_norm_eps = 1e-05 max_position_embeddings = 512 vocab_size = 21128 type_vocab_size = 2...
22.157407
34
0.669035
337
2,393
4.4273
0.222552
0.025469
0.070375
0.060322
0.72319
0.72319
0.72319
0.72319
0.72319
0.72319
0
0.128976
0.277476
2,393
107
35
22.364486
0.73395
0.008776
0
0.71134
0
0
0
0
0
0
0
0
0
1
0
false
0
0.010309
0
1
0
0
0
0
null
0
0
0
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
1
0
0
7
59c98367bed11fb50c56115c7b7363396d14a2c6
545
py
Python
eval_mosmed_timm-regnetx_002_PiecewiseAffine.py
BrunoKrinski/segtool
cb604b5f38104c43a76450136e37c3d1c4b6d275
[ "MIT" ]
null
null
null
eval_mosmed_timm-regnetx_002_PiecewiseAffine.py
BrunoKrinski/segtool
cb604b5f38104c43a76450136e37c3d1c4b6d275
[ "MIT" ]
null
null
null
eval_mosmed_timm-regnetx_002_PiecewiseAffine.py
BrunoKrinski/segtool
cb604b5f38104c43a76450136e37c3d1c4b6d275
[ "MIT" ]
null
null
null
import os ls=["python main.py --configs configs/eval_mosmed_unetplusplus_timm-regnetx_002_0_PiecewiseAffine.yml", "python main.py --configs configs/eval_mosmed_unetplusplus_timm-regnetx_002_1_PiecewiseAffine.yml", "python main.py --configs configs/eval_mosmed_unetplusplus_timm-regnetx_002_2_PiecewiseAffine.yml", "pyth...
49.545455
103
0.847706
80
545
5.4
0.3
0.115741
0.138889
0.219907
0.884259
0.884259
0.884259
0.884259
0.884259
0.884259
0
0.038911
0.056881
545
11
104
49.545455
0.801556
0
0
0
0
0
0.879121
0.650183
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0
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
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
ab6884debfde7f8228e6d1ee6e45544b238042ad
56,059
py
Python
boto3_type_annotations_with_docs/boto3_type_annotations/eks/client.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/eks/client.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/eks/client.py
cowboygneox/boto3_type_annotations
450dce1de4e066b939de7eac2ec560ed1a7ddaa2
[ "MIT" ]
11
2019-05-06T05:26:51.000Z
2021-09-28T15:27:59.000Z
from typing import Optional from botocore.client import BaseClient from botocore.waiter import Waiter from typing import Union from typing import Dict from botocore.paginate import Paginator class Client(BaseClient): def can_paginate(self, operation_name: str = None): """ Check if an operation can...
63.775882
600
0.574645
5,840
56,059
5.495719
0.083562
0.022994
0.014956
0.019068
0.848668
0.831251
0.820284
0.814083
0.796479
0.789874
0
0.003627
0.335985
56,059
878
601
63.848519
0.858586
0.852976
0
0.387097
0
0
0
0
0
0
0
0
0
1
0.387097
false
0.387097
0.193548
0
0.612903
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
10
abcba8037385e07a2e1020d85b037b0678cdeccf
160
py
Python
bindings/python/robotoc/riccati/__init__.py
mcx/robotoc
4a1d2f522ecc8f9aa8dea17330b97148a2085270
[ "BSD-3-Clause" ]
58
2021-11-11T09:47:02.000Z
2022-03-27T20:13:08.000Z
bindings/python/robotoc/riccati/__init__.py
mcx/robotoc
4a1d2f522ecc8f9aa8dea17330b97148a2085270
[ "BSD-3-Clause" ]
30
2021-10-30T10:31:38.000Z
2022-03-28T14:12:08.000Z
bindings/python/robotoc/riccati/__init__.py
mcx/robotoc
4a1d2f522ecc8f9aa8dea17330b97148a2085270
[ "BSD-3-Clause" ]
12
2021-11-17T10:59:20.000Z
2022-03-18T07:34:02.000Z
from .lqr_policy import * from .split_riccati_factorization import * from .split_constrained_riccati_factorization import * from .riccati_factorization import *
40
54
0.85625
19
160
6.842105
0.421053
0.230769
0.6
0.461538
0
0
0
0
0
0
0
0
0.09375
160
4
55
40
0.896552
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
abd5bf81e6f0a296bf70040d75857be75c385c71
45,897
py
Python
greenbyteapi/controllers/plan_controller.py
charlie9578/greenbyte-api-sdk
6835ee1f6a667b5c7827c5248391081f06b75513
[ "MIT" ]
null
null
null
greenbyteapi/controllers/plan_controller.py
charlie9578/greenbyte-api-sdk
6835ee1f6a667b5c7827c5248391081f06b75513
[ "MIT" ]
null
null
null
greenbyteapi/controllers/plan_controller.py
charlie9578/greenbyte-api-sdk
6835ee1f6a667b5c7827c5248391081f06b75513
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ greenbyteapi This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ). """ from greenbyteapi.api_helper import APIHelper from greenbyteapi.configuration import Configuration from greenbyteapi.controllers.base_controller import BaseController from greenbyteapi...
53.74356
539
0.63697
5,686
45,897
5.014773
0.055751
0.033142
0.039033
0.046468
0.925861
0.911131
0.904819
0.896928
0.893491
0.893491
0
0.026711
0.292786
45,897
853
540
53.806565
0.850519
0.36303
0
0.801061
1
0.05305
0.355209
0.013777
0
0
0
0
0
1
0.026525
false
0
0.039788
0
0.095491
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
abed9e0807ab81cccb1658e1196fda0a9ed8d04b
9,622
py
Python
Parser.py
oxford-pcs/zController
579946dfc4750a892d368508198324011aec6bed
[ "MIT" ]
5
2018-01-16T14:16:10.000Z
2021-07-13T03:45:57.000Z
Parser.py
oxford-pcs/zemax_controller
579946dfc4750a892d368508198324011aec6bed
[ "MIT" ]
null
null
null
Parser.py
oxford-pcs/zemax_controller
579946dfc4750a892d368508198324011aec6bed
[ "MIT" ]
1
2021-04-28T11:54:59.000Z
2021-04-28T11:54:59.000Z
import codecs from decimal import * import numpy as np import pylab as plt def decode(fname, encoding): ''' Decode file with given encoding. ''' fp = codecs.open(fname, "r", encoding) content = fp.readlines() fp.close() return content class zCFFftPsf(): ''' Parse a Zemax FFT PSF output file. ...
34.736462
79
0.557369
1,231
9,622
4.300569
0.130788
0.092558
0.048357
0.027201
0.873442
0.828296
0.775973
0.745561
0.705705
0.693993
0
0.016676
0.283309
9,622
276
80
34.862319
0.751015
0.046664
0
0.607477
0
0
0.133263
0.002798
0
0
0
0
0
0
null
null
0
0.018692
null
null
0.060748
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
1
0
0
0
0
0
0
0
0
7
052d08d42ea8e5aabe39ae5d494e8bfa1403a369
125
py
Python
bunny/models/__init__.py
senpai-development/SenpaiSlasher
89842e584b4cd60731ce9c43315c08b02a8dc8e3
[ "MIT" ]
null
null
null
bunny/models/__init__.py
senpai-development/SenpaiSlasher
89842e584b4cd60731ce9c43315c08b02a8dc8e3
[ "MIT" ]
null
null
null
bunny/models/__init__.py
senpai-development/SenpaiSlasher
89842e584b4cd60731ce9c43315c08b02a8dc8e3
[ "MIT" ]
1
2021-10-31T02:40:03.000Z
2021-10-31T02:40:03.000Z
from .command import * # noqa: F401 F403 from .component import * # noqa: F401 F403 from .misc import * # noqa: F401 F403
31.25
43
0.688
18
125
4.777778
0.444444
0.348837
0.488372
0.627907
0.511628
0
0
0
0
0
0
0.183673
0.216
125
3
44
41.666667
0.693878
0.376
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
057c283405efc762b7ada4abca4131f219967673
2,818
py
Python
shell/core/shellcodes.py
vasco2016/shellsploit-framework
04eb4a0449acaba0b70c40a78c61a0d5e2527406
[ "MIT" ]
61
2017-06-13T13:48:38.000Z
2022-03-02T17:43:45.000Z
shell/core/shellcodes.py
T0mcat3r/shellsploit-framework
04eb4a0449acaba0b70c40a78c61a0d5e2527406
[ "MIT" ]
null
null
null
shell/core/shellcodes.py
T0mcat3r/shellsploit-framework
04eb4a0449acaba0b70c40a78c61a0d5e2527406
[ "MIT" ]
28
2017-08-15T05:38:27.000Z
2020-12-31T03:39:38.000Z
#------------------Bombermans Team---------------------------------# #Author : B3mB4m #Concat : b3mb4m@protonmail.com #Project : https://github.com/b3mb4m/Shellsploit #LICENSE : https://github.com/b3mb4m/Shellsploit/blob/master/LICENSE #------------------------------------------------------------------# from .color...
15.315217
69
0.660397
330
2,818
5.409091
0.187879
0.112045
0.058824
0.022409
0.836415
0.801681
0.801681
0.801681
0.801681
0.707563
0
0.061847
0.150816
2,818
184
70
15.315217
0.684079
0.104329
0
0.090164
0
0
0.818037
0.193087
0
0
0
0
0
1
0.008197
false
0
0.008197
0
0.02459
0.008197
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
556cf77d99d9dbb7e9f8653a3e578e8c2aafb423
6,813
py
Python
runtime/bamboo-pipeline/test/pipeline_test_use/tests/data_transfer/test_subprocess_ref_constant.py
DomineCore/bamboo-engine
fb4583e70f9e1e87d9d48c2393db8d8104306f37
[ "MIT" ]
55
2021-09-07T11:50:35.000Z
2022-03-23T13:19:38.000Z
runtime/bamboo-pipeline/test/pipeline_test_use/tests/data_transfer/test_subprocess_ref_constant.py
DomineCore/bamboo-engine
fb4583e70f9e1e87d9d48c2393db8d8104306f37
[ "MIT" ]
64
2021-09-07T12:04:12.000Z
2022-03-29T03:47:18.000Z
runtime/bamboo-pipeline/test/pipeline_test_use/tests/data_transfer/test_subprocess_ref_constant.py
DomineCore/bamboo-engine
fb4583e70f9e1e87d9d48c2393db8d8104306f37
[ "MIT" ]
20
2021-09-07T11:52:08.000Z
2022-03-28T08:05:22.000Z
# -*- coding: utf-8 -*- from ..base import * # noqa class TestSubprocessRefConstant(EngineTestCase): def test_ref_constant(self): sub_start = EmptyStartEvent() sub_act_1 = ServiceActivity(component_code="debug_node") sub_act_1.component.inputs.param_1 = Var(type=Var.SPLICE, value="${sub_...
37.85
108
0.677675
885
6,813
4.842938
0.068927
0.100793
0.073495
0.062063
0.961036
0.961036
0.961036
0.957769
0.932571
0.924872
0
0.021085
0.199472
6,813
179
109
38.061453
0.76476
0.014384
0
0.836207
0
0
0.100358
0
0
0
0
0
0.086207
1
0.043103
false
0.043103
0.008621
0
0.060345
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
55a28f94b16e58592e0d38cf101b74f3b5923a70
3,745
gyp
Python
ui/file_manager/file_manager/foreground/js/metadata/compiled_resources2.gyp
xzhan96/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2021-01-07T18:51:03.000Z
2021-01-07T18:51:03.000Z
ui/file_manager/file_manager/foreground/js/metadata/compiled_resources2.gyp
emilio/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
ui/file_manager/file_manager/foreground/js/metadata/compiled_resources2.gyp
emilio/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
# Copyright 2016 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'targets': [ # { # 'target_name': 'byte_reader', # 'includes': ['../../../../compile_js2.gypi'], # }, # { # 'target_name': 'conten...
28.371212
72
0.488919
302
3,745
5.672185
0.198676
0.180969
0.325744
0.398132
0.880911
0.880911
0.844717
0.730881
0.447169
0.067717
0
0.012414
0.225634
3,745
131
73
28.587786
0.578276
0.925501
0
0
0
0
0.046358
0
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
8
e9a0991b4e70f5cb254a5f4ba1b45fc29789fcf5
67
py
Python
plugins/dbnd-test-scenarios/src/dbnd_test_scenarios/test_common/complex_package_structure/complex_package/__init__.py
busunkim96/dbnd
0191fdcd4c4fbd35006f1026d1a55b2abab9097b
[ "Apache-2.0" ]
224
2020-01-02T10:46:37.000Z
2022-03-02T13:54:08.000Z
plugins/dbnd-test-scenarios/src/dbnd_test_scenarios/test_common/complex_package_structure/complex_package/__init__.py
busunkim96/dbnd
0191fdcd4c4fbd35006f1026d1a55b2abab9097b
[ "Apache-2.0" ]
16
2020-03-11T09:37:58.000Z
2022-01-26T10:22:08.000Z
plugins/dbnd-test-scenarios/src/dbnd_test_scenarios/test_common/complex_package_structure/complex_package/__init__.py
busunkim96/dbnd
0191fdcd4c4fbd35006f1026d1a55b2abab9097b
[ "Apache-2.0" ]
24
2020-03-24T13:53:50.000Z
2022-03-22T11:55:18.000Z
from .complex_structure_pipeline import complex_structure_pipeline
33.5
66
0.925373
8
67
7.25
0.625
0.551724
0.827586
0
0
0
0
0
0
0
0
0
0.059701
67
1
67
67
0.920635
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
7586b64d4ea47aba49b8b97587fa2a1b132698ab
1,737
py
Python
accounts/migrations/0002_business_business_name_loan_amount_loan_borrower_and_more.py
nephsir/daraja
0deb9913ab863eadfc1a27f5e292b220f86a1bb7
[ "MIT" ]
null
null
null
accounts/migrations/0002_business_business_name_loan_amount_loan_borrower_and_more.py
nephsir/daraja
0deb9913ab863eadfc1a27f5e292b220f86a1bb7
[ "MIT" ]
null
null
null
accounts/migrations/0002_business_business_name_loan_amount_loan_borrower_and_more.py
nephsir/daraja
0deb9913ab863eadfc1a27f5e292b220f86a1bb7
[ "MIT" ]
null
null
null
# Generated by Django 4.0.2 on 2022-02-21 05:52 from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('accounts', '0001_initial'), ] operations = [ migrations.AddField( model_name='business', ...
31.581818
86
0.582038
175
1,737
5.634286
0.297143
0.127789
0.163286
0.191684
0.737323
0.737323
0.712982
0.712982
0.712982
0.712982
0
0.034768
0.304548
1,737
54
87
32.166667
0.781457
0.025907
0
0.666667
1
0
0.063905
0
0
0
0
0
0
1
0
false
0
0.041667
0
0.104167
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
75980aff25d7c643bd7ef84609294b98bcbe2552
148
py
Python
graphgallery/nn/__init__.py
Sharpiless/GraphGallery
5e8895cc2ca2fc06a31bfc58bc3b7a52e1ceddd0
[ "MIT" ]
1
2020-11-22T10:14:58.000Z
2020-11-22T10:14:58.000Z
graphgallery/nn/__init__.py
mengliu1998/GraphGallery
025ac09e883f3e1e1b02000e086830c935884a6e
[ "MIT" ]
null
null
null
graphgallery/nn/__init__.py
mengliu1998/GraphGallery
025ac09e883f3e1e1b02000e086830c935884a6e
[ "MIT" ]
1
2020-11-22T10:14:59.000Z
2020-11-22T10:14:59.000Z
from graphgallery.nn.layers import * from graphgallery.nn.models import * from graphgallery.nn.functions import * from graphgallery.nn.init import *
37
39
0.817568
20
148
6.05
0.4
0.528926
0.595041
0.595041
0
0
0
0
0
0
0
0
0.101351
148
4
40
37
0.909774
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
75b860e992c6da08ab0fe4c3740cf7604e659306
191
py
Python
lessons/04/perm_check/test_challenge.py
jimlawton/codility
b286db80c7cfa6722b78c7eb8992e1a5934db8a0
[ "Apache-2.0" ]
null
null
null
lessons/04/perm_check/test_challenge.py
jimlawton/codility
b286db80c7cfa6722b78c7eb8992e1a5934db8a0
[ "Apache-2.0" ]
2
2021-03-25T21:32:16.000Z
2021-07-19T11:11:15.000Z
lessons/04/perm_check/test_challenge.py
jimlawton/codility
b286db80c7cfa6722b78c7eb8992e1a5934db8a0
[ "Apache-2.0" ]
null
null
null
from challenge import solution def test_challenge(): assert solution([4]) == 0 assert solution([1]) == 1 assert solution([4, 1, 3, 2]) == 1 assert solution([4, 1, 3]) == 0
19.1
38
0.591623
28
191
4
0.428571
0.5
0.401786
0.285714
0.321429
0.321429
0
0
0
0
0
0.089655
0.240838
191
9
39
21.222222
0.682759
0
0
0
0
0
0
0
0
0
0
0
0.666667
1
0.166667
true
0
0.166667
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
1
0
0
1
0
0
0
0
0
0
7
f930c5c638991bd332a169332c3a92818a282af0
14,768
py
Python
intern/service/boss/v1/tests/test_group.py
neurodata-dev/intern
8a685dda17f6bb9420395f80ce012d8b3a04e0dc
[ "Apache-2.0" ]
15
2017-01-13T23:06:38.000Z
2021-09-22T11:33:02.000Z
intern/service/boss/v1/tests/test_group.py
neurodata-dev/intern
8a685dda17f6bb9420395f80ce012d8b3a04e0dc
[ "Apache-2.0" ]
49
2017-04-26T13:21:26.000Z
2021-11-16T14:03:58.000Z
intern/service/boss/v1/tests/test_group.py
neurodata-dev/intern
8a685dda17f6bb9420395f80ce012d8b3a04e0dc
[ "Apache-2.0" ]
18
2017-02-17T23:12:37.000Z
2021-09-27T08:53:32.000Z
# Copyright 2016 The Johns Hopkins University Applied Physics Laboratory # # 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 ...
35.585542
81
0.655878
1,752
14,768
5.231735
0.085616
0.115208
0.078551
0.073314
0.914685
0.912285
0.909012
0.904866
0.903775
0.893083
0
0.007616
0.244244
14,768
414
82
35.671498
0.813637
0.039816
0
0.84375
0
0
0.100522
0
0
0
0
0
0.05625
1
0.078125
false
0
0.015625
0
0.096875
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
f93789fced1e4ec0e06ec30060a192c2fa18a980
629
py
Python
Algorithms/2. Implementation/17 - Picking Numbers.py
rosiejh/HackerRank
bfb07b8add04d3f3b67a61754db483f88a79e5a5
[ "Apache-2.0" ]
null
null
null
Algorithms/2. Implementation/17 - Picking Numbers.py
rosiejh/HackerRank
bfb07b8add04d3f3b67a61754db483f88a79e5a5
[ "Apache-2.0" ]
null
null
null
Algorithms/2. Implementation/17 - Picking Numbers.py
rosiejh/HackerRank
bfb07b8add04d3f3b67a61754db483f88a79e5a5
[ "Apache-2.0" ]
null
null
null
from collections import Counter def pickingNumbers(a): keys, values = list(Counter(sorted(a)).keys()), list(Counter(sorted(a)).values()) maxvalue = max(values) for i in range(len(keys) - 1): if keys[i+1] - keys[i] == 1: if maxvalue < values[i] + values[i+1]: maxvalue = v...
31.45
115
0.610493
94
629
4.085106
0.234043
0.036458
0.177083
0.1875
0.861979
0.822917
0.703125
0.703125
0.703125
0.703125
0
0.018219
0.214626
629
19
116
33.105263
0.759109
0.00318
0
0.461538
0
0
0
0
0
0
0
0
0
1
0.153846
false
0
0.153846
0
0.461538
0
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
0
0
7
f973c9aa75921b14e7d89b8c86b0976a42edf731
13,374
py
Python
strangeflix/provider/migrations/0001_initial.py
samsoldeinstein/webster2020
9795635e806caa261bb33d629f3d1f2bd603638c
[ "MIT" ]
6
2020-11-02T16:40:56.000Z
2020-11-07T06:59:00.000Z
strangeflix/provider/migrations/0001_initial.py
samsoldeinstein/webster2020
9795635e806caa261bb33d629f3d1f2bd603638c
[ "MIT" ]
null
null
null
strangeflix/provider/migrations/0001_initial.py
samsoldeinstein/webster2020
9795635e806caa261bb33d629f3d1f2bd603638c
[ "MIT" ]
2
2020-11-03T05:20:25.000Z
2020-11-03T05:38:47.000Z
# Generated by Django 3.1.2 on 2020-10-08 19:21 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import provider.models class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER...
58.401747
402
0.574099
1,255
13,374
5.92749
0.130677
0.033338
0.033876
0.053233
0.865573
0.83694
0.821347
0.821347
0.79715
0.79715
0
0.025985
0.263347
13,374
228
403
58.657895
0.729091
0.003365
0
0.705882
1
0
0.211525
0.012231
0
0
0
0
0
1
0
false
0
0.0181
0
0.036199
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
f99097b6c0cc04da92076639d2c552c39556f140
49,704
py
Python
post_optimization_studies/mad_analyses/ma100MeV_L1pt8-2pt4TeV_deta2pt6/Output/Histos/MadAnalysis5job_0/selection_0.py
sheride/axion_pheno
7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5
[ "MIT" ]
null
null
null
post_optimization_studies/mad_analyses/ma100MeV_L1pt8-2pt4TeV_deta2pt6/Output/Histos/MadAnalysis5job_0/selection_0.py
sheride/axion_pheno
7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5
[ "MIT" ]
null
null
null
post_optimization_studies/mad_analyses/ma100MeV_L1pt8-2pt4TeV_deta2pt6/Output/Histos/MadAnalysis5job_0/selection_0.py
sheride/axion_pheno
7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5
[ "MIT" ]
null
null
null
def selection_0(): # Library import import numpy import matplotlib import matplotlib.pyplot as plt import matplotlib.gridspec as gridspec # Library version matplotlib_version = matplotlib.__version__ numpy_version = numpy.__version__ # Histo binning xBinning = numpy.lin...
228
3,169
0.758329
10,600
49,704
3.467264
0.166981
0.261094
0.387152
0.510326
0.369956
0.342095
0.338421
0.323402
0.316872
0.314995
0
0.606738
0.037945
49,704
217
3,170
229.050691
0.161864
0.029072
0
0.171875
0
0.007813
0.024492
0.004148
0
0
0
0
0
1
0.007813
false
0
0.03125
0
0.039063
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
1
0
0
0
1
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
f9e4102660ff658ab7db455635825948c308bfcd
31,443
py
Python
RI/flask_server/tapi_server/controllers/tapi_notification_controller.py
arthurMll/TAPI
e1171bb139c6791a953af09cfc2bc7ad928da73d
[ "Apache-2.0" ]
57
2018-04-09T08:56:18.000Z
2022-03-23T08:31:06.000Z
RI/flask_server/tapi_server/controllers/tapi_notification_controller.py
arthurMll/TAPI
e1171bb139c6791a953af09cfc2bc7ad928da73d
[ "Apache-2.0" ]
143
2016-06-08T04:09:54.000Z
2018-02-23T10:45:59.000Z
RI/flask_server/tapi_server/controllers/tapi_notification_controller.py
arthurMll/TAPI
e1171bb139c6791a953af09cfc2bc7ad928da73d
[ "Apache-2.0" ]
64
2018-03-07T07:55:17.000Z
2022-03-28T07:14:28.000Z
import connexion import six from tapi_server.models.inline_object19 import InlineObject19 # noqa: E501 from tapi_server.models.inline_object2 import InlineObject2 # noqa: E501 from tapi_server.models.inline_object20 import InlineObject20 # noqa: E501 from tapi_server.models.inline_object28 import InlineObject28 # ...
37.566308
175
0.791814
3,660
31,443
6.436612
0.030328
0.050938
0.089821
0.117158
0.911622
0.901859
0.875287
0.86217
0.833645
0.810977
0
0.018841
0.145883
31,443
836
176
37.611244
0.858356
0.517826
0
0.534091
0
0
0.055448
0
0
0
0
0
0
1
0.301136
false
0
0.136364
0
0.738636
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
dddc291d33af2f46594ac1554036c02e0b005588
7,110
py
Python
test/mmag/unit_cell/test_unit_cell.py
SebastiaAgramunt/Micromagnetics
f6888f745cc66f380ee18424196853994311c161
[ "MIT" ]
null
null
null
test/mmag/unit_cell/test_unit_cell.py
SebastiaAgramunt/Micromagnetics
f6888f745cc66f380ee18424196853994311c161
[ "MIT" ]
1
2020-07-28T19:29:31.000Z
2020-09-16T22:06:23.000Z
test/mmag/unit_cell/test_unit_cell.py
SebastiaAgramunt/Micromagnetics
f6888f745cc66f380ee18424196853994311c161
[ "MIT" ]
null
null
null
import unittest import numpy as np from mmag.unit_cell.fields import field_dipole from mmag.unit_cell.cell import Cuboid _acc = 0.0001 # Following tests compare the magnetic field created by a dipole to the field generated by the uniformly # charged sheets. If far enough, the resulting fields must be similar class Te...
40.169492
104
0.637553
1,122
7,110
3.840463
0.073084
0.087259
0.02019
0.134602
0.882107
0.881875
0.875609
0.859364
0.829659
0.829195
0
0.049955
0.220113
7,110
176
105
40.397727
0.727142
0.066104
0
0.768595
0
0
0.001207
0
0
0
0
0
0.239669
1
0.090909
false
0
0.033058
0
0.14876
0.016529
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
fb236a350ef9556936198d2879581f2c55ea1815
349
py
Python
tests/internal/instance_type/test_instance_type_g3_auto.py
frolovv/aws.ec2.compare
582805823492f833d65c0441c4a14dce697c12aa
[ "Apache-2.0" ]
null
null
null
tests/internal/instance_type/test_instance_type_g3_auto.py
frolovv/aws.ec2.compare
582805823492f833d65c0441c4a14dce697c12aa
[ "Apache-2.0" ]
null
null
null
tests/internal/instance_type/test_instance_type_g3_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.g3 import pytest import ec2_compare.internal.instance_type.g3 def test_get_internal_data_instance_type_g3_get_instances_list(): assert len(ec2_compare.internal.instance_type.g3.get_instances_list()) > 0 def test_get_internal_data_instance_type_g3_get(): assert len(ec2_compare.intern...
34.9
76
0.848138
56
349
4.839286
0.339286
0.265683
0.309963
0.250923
0.826568
0.826568
0.612546
0.612546
0.612546
0
0
0.034056
0.074499
349
9
77
38.777778
0.804954
0.088825
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
0
0
0
9
34abc0d217e6d2fe1de4fb7babb056c00eaece5f
135
py
Python
riptide_proxy/resources.py
theCapypara/riptide-proxy
1601e5be75acf9f858bd9e06f67cc0b27f4eae61
[ "MIT" ]
2
2019-05-23T10:09:18.000Z
2020-06-22T11:15:30.000Z
riptide_proxy/resources.py
Parakoopa/riptide-proxy
7e684a716f1df655109135e8f83ac43b2936f2b2
[ "MIT" ]
5
2020-02-14T07:32:05.000Z
2020-06-22T11:13:35.000Z
riptide_proxy/resources.py
theCapypara/riptide-proxy
1601e5be75acf9f858bd9e06f67cc0b27f4eae61
[ "MIT" ]
null
null
null
"""template file management""" import pkg_resources def get_resources(): return pkg_resources.resource_filename(__name__, 'tpl')
19.285714
59
0.77037
16
135
6
0.8125
0.25
0
0
0
0
0
0
0
0
0
0
0.118519
135
6
60
22.5
0.806723
0.177778
0
0
0
0
0.028571
0
0
0
0
0
0
1
0.333333
true
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
1
0
1
1
1
0
0
8
34b1dd2156847b8e707716a768c9d587fa73286f
105
py
Python
syft/he/keys.py
aradhyamathur/PySyft
03f73d31b869596978fb779596075ce806afef34
[ "Apache-2.0" ]
1
2017-09-22T13:11:01.000Z
2017-09-22T13:11:01.000Z
syft/he/keys.py
aradhyamathur/PySyft
03f73d31b869596978fb779596075ce806afef34
[ "Apache-2.0" ]
null
null
null
syft/he/keys.py
aradhyamathur/PySyft
03f73d31b869596978fb779596075ce806afef34
[ "Apache-2.0" ]
1
2020-05-27T10:20:40.000Z
2020-05-27T10:20:40.000Z
import syft def Paillier(n_length=1024): return syft.he.paillier.keys.KeyPair().generate(n_length)
17.5
61
0.761905
16
105
4.875
0.75
0.179487
0
0
0
0
0
0
0
0
0
0.043011
0.114286
105
5
62
21
0.795699
0
0
0
1
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
7
34b84670a3509130ae9c7eefbb6fcd2800a576d1
129
py
Python
tools/scitools/conf/understand/python/python3/future_builtins.py
brucegua/moocos
575c161cfa35e220f10d042e2e5ca18773691695
[ "Apache-2.0" ]
1
2020-01-20T21:26:46.000Z
2020-01-20T21:26:46.000Z
tools/scitools/conf/understand/python/python3/future_builtins.py
brucegua/moocos
575c161cfa35e220f10d042e2e5ca18773691695
[ "Apache-2.0" ]
null
null
null
tools/scitools/conf/understand/python/python3/future_builtins.py
brucegua/moocos
575c161cfa35e220f10d042e2e5ca18773691695
[ "Apache-2.0" ]
null
null
null
def ascii(arg): pass def filter(pred, iterable): pass def hex(arg): pass def map(func, *iterables): pass def oct(arg): pass
21.5
33
0.689922
22
129
4.045455
0.545455
0.314607
0.224719
0
0
0
0
0
0
0
0
0
0.170543
129
5
34
25.8
0.831776
0
0
0
0
0
0
0
0
0
0
0
0
1
1
false
1
0
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
1
0
1
0
0
1
0
0
7
550de1a3a3d84eeeead3aeac2a119d3580fe892c
198
py
Python
skshape/image/segmentation/__init__.py
scikit-shape/scikit-shape
eca3f7f1cf39ef4ce89f17423b3e4ba1aed7eb45
[ "BSD-3-Clause" ]
5
2020-11-13T11:59:42.000Z
2022-02-09T11:45:10.000Z
skshape/image/segmentation/__init__.py
scikit-shape/scikit-shape
eca3f7f1cf39ef4ce89f17423b3e4ba1aed7eb45
[ "BSD-3-Clause" ]
1
2021-02-18T12:05:15.000Z
2021-02-18T12:05:15.000Z
skshape/image/segmentation/__init__.py
scikit-shape/scikit-shape
eca3f7f1cf39ef4ce89f17423b3e4ba1aed7eb45
[ "BSD-3-Clause" ]
1
2022-02-09T11:45:17.000Z
2022-02-09T11:45:17.000Z
from ._segment import segment_by_topology, segment_boundaries, segment_phase_field __all__ = ['segment_by_topology', 'segment_boundaries', 'segment_phase_field' ]
24.75
82
0.691919
20
198
6.1
0.45
0.147541
0.278689
0.393443
0.836066
0.836066
0.836066
0.836066
0
0
0
0
0.237374
198
7
83
28.285714
0.807947
0
0
0
0
0
0.282828
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
1
0
0
null
0
1
1
1
1
1
1
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
9b92689d9da5cad2c180264bfbfeaf08a772dad4
10,705
py
Python
tests/test_skill.py
odryfox/millet
8800152562f4bd2ac638978865f9a9c862060733
[ "BSD-3-Clause" ]
3
2020-02-01T17:33:22.000Z
2021-08-04T17:02:08.000Z
tests/test_skill.py
odryfox/millet
8800152562f4bd2ac638978865f9a9c862060733
[ "BSD-3-Clause" ]
1
2021-03-19T22:25:04.000Z
2021-10-07T06:53:24.000Z
tests/test_skill.py
odryfox/millet
8800152562f4bd2ac638978865f9a9c862060733
[ "BSD-3-Clause" ]
null
null
null
from millet import BaseSkill class TestSkill: def test_say(self): class EchoSkill(BaseSkill): def execute(self, message: str, user_id: str): self.say(message) skill = EchoSkill() result = skill.run( message='hello', user_id='100500', history=[], ...
31.765579
103
0.583185
1,204
10,705
5.054817
0.059801
0.187315
0.073612
0.072461
0.942162
0.942162
0.926717
0.926717
0.919816
0.898784
0
0.018623
0.3078
10,705
336
104
31.860119
0.802699
0
0
0.771084
0
0
0.091172
0
0
0
0
0
0.421687
1
0.100402
false
0
0.004016
0.004016
0.156627
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
1
0
0
0
0
0
0
0
0
0
8
9ba2ce207c603585167de18c4584599d9a70a4e8
202
py
Python
deep_recommenders/keras/models/nlp/__init__.py
LongmaoTeamTf/deep_recommenders
168dabe4ef3a38cc582d019766cf3de576bc8af1
[ "Apache-2.0" ]
143
2021-02-04T11:28:07.000Z
2022-03-28T09:02:00.000Z
deep_recommenders/keras/models/nlp/__init__.py
LongmaoTeamTf/Deep-NLP
168dabe4ef3a38cc582d019766cf3de576bc8af1
[ "Apache-2.0" ]
7
2021-03-04T23:59:31.000Z
2022-01-27T05:13:02.000Z
deep_recommenders/keras/models/nlp/__init__.py
LongmaoTeamTf/deep_recommenders
168dabe4ef3a38cc582d019766cf3de576bc8af1
[ "Apache-2.0" ]
40
2021-02-08T15:26:53.000Z
2022-03-29T08:41:14.000Z
#!/usr/bin/python3 # -*- coding: utf-8 -*- from deep_recommenders.keras.models.nlp.multi_head_attention import MultiHeadAttention from deep_recommenders.keras.models.nlp.transformer import Transformer
33.666667
86
0.816832
26
202
6.192308
0.692308
0.099379
0.248447
0.310559
0.42236
0.42236
0
0
0
0
0
0.010695
0.074257
202
5
87
40.4
0.850267
0.193069
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
fd4490769ac33da686f0ded5025b281fbe18996a
9,576
py
Python
Tutorial 2 - Data Navigation/PlugIns/experimental/nionswift_plugin/nion_experimental_tools/test/AffineTransformImage_test.py
paradimdata/Cornell_EM_SummerSchool_2021
9f3583e1b85a9cdd86e1b91800027966d501ce96
[ "MIT" ]
8
2021-06-13T20:02:12.000Z
2022-03-24T09:19:23.000Z
Tutorial 2 - Data Navigation/PlugIns/experimental/nionswift_plugin/nion_experimental_tools/test/AffineTransformImage_test.py
paradimdata/Cornell_EM_SummerSchool_2021
9f3583e1b85a9cdd86e1b91800027966d501ce96
[ "MIT" ]
null
null
null
Tutorial 2 - Data Navigation/PlugIns/experimental/nionswift_plugin/nion_experimental_tools/test/AffineTransformImage_test.py
paradimdata/Cornell_EM_SummerSchool_2021
9f3583e1b85a9cdd86e1b91800027966d501ce96
[ "MIT" ]
1
2021-07-16T20:12:28.000Z
2021-07-16T20:12:28.000Z
import gettext import unittest import numpy # local libraries from nion.swift import Facade from nion.data import DataAndMetadata from nion.swift.test import TestContext from nion.ui import TestUI from nion.swift import Application from nion.swift.model import DocumentModel from nionswift_plugin.nion_experimental_to...
57.341317
125
0.636383
1,077
9,576
5.4039
0.12442
0.098969
0.03299
0.008419
0.874055
0.874055
0.840893
0.821649
0.821649
0.821649
0
0.028185
0.281224
9,576
166
126
57.686747
0.817376
0.078425
0
0.744526
0
0
0.003637
0
0
0
0
0
0.109489
1
0.051095
false
0.007299
0.072993
0.007299
0.138686
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
b5dbc5e6b7db19ae658944e14379748b6bded351
116
py
Python
platform/hwconf_data/efr32bg22/PythonSnippet/__init__.py
lenloe1/v2.7
9ac9c4a7bb37987af382c80647f42d84db5f2e1d
[ "Zlib" ]
null
null
null
platform/hwconf_data/efr32bg22/PythonSnippet/__init__.py
lenloe1/v2.7
9ac9c4a7bb37987af382c80647f42d84db5f2e1d
[ "Zlib" ]
1
2020-08-25T02:36:22.000Z
2020-08-25T02:36:22.000Z
platform/hwconf_data/efr32bg22/PythonSnippet/__init__.py
lenloe1/v2.7
9ac9c4a7bb37987af382c80647f42d84db5f2e1d
[ "Zlib" ]
1
2020-08-25T01:56:04.000Z
2020-08-25T01:56:04.000Z
from efr32bg22.halconfig import halconfig_types as types from efr32bg22.halconfig import halconfig_dependency as dep
58
59
0.887931
16
116
6.3125
0.5
0.257426
0.435644
0.554455
0.732673
0
0
0
0
0
0
0.07619
0.094828
116
2
59
58
0.885714
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
0
0
0
7
b5e008c51a1e776e0e6b0c5979b8098cd2209636
14,108
py
Python
pomonet/u_nets.py
RobertGebauer/pomo_ccbsc
771553ed874643ec6190dc8b2fc345753fdd26d1
[ "MIT" ]
null
null
null
pomonet/u_nets.py
RobertGebauer/pomo_ccbsc
771553ed874643ec6190dc8b2fc345753fdd26d1
[ "MIT" ]
1
2022-03-13T09:42:18.000Z
2022-03-13T09:42:18.000Z
pomonet/u_nets.py
RobertGebauer/pomo_ccbsc
771553ed874643ec6190dc8b2fc345753fdd26d1
[ "MIT" ]
1
2021-11-23T19:17:45.000Z
2021-11-23T19:17:45.000Z
# -*- coding: utf-8 -*- """ Created on Thu Feb 18 07:45:38 2021 @author: Mihai Boldeanu """ from tensorflow.keras import regularizers from tensorflow.keras.models import Model from tensorflow.keras.layers import Activation, Conv2DTranspose from tensorflow.keras.layers import Input, BatchNormalization from tensorflow....
45.656958
115
0.643536
1,715
14,108
5.093878
0.067055
0.012134
0.086882
0.109547
0.952038
0.930288
0.925366
0.916781
0.907166
0.895375
0
0.035427
0.241707
14,108
309
116
45.656958
0.781174
0.148426
0
0.870647
0
0
0.060598
0.001765
0
0
0
0
0
1
0.019901
false
0
0.029851
0
0.069652
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
bd37cc002a138ff9901ff30c859c06288229dff9
98
py
Python
LRE/plugins/test/plugin.py
MashowJ/Latte
32f3cac8198015d71d16b5b718c84039be8b5feb
[ "MIT" ]
1
2018-01-13T14:58:07.000Z
2018-01-13T14:58:07.000Z
LRE/plugins/test/plugin.py
AlinadoOrg/Latte
32f3cac8198015d71d16b5b718c84039be8b5feb
[ "MIT" ]
null
null
null
LRE/plugins/test/plugin.py
AlinadoOrg/Latte
32f3cac8198015d71d16b5b718c84039be8b5feb
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- def init(): pass def servers(): return {}
10.888889
23
0.530612
13
98
4
0.923077
0
0
0
0
0
0
0
0
0
0
0.013514
0.244898
98
8
24
12.25
0.689189
0.428571
0
0
0
0
0
0
0
0
0
0
0
1
0.5
true
0.25
0
0.25
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
1
0
1
1
0
0
7
1fbb3a9e2d93a1a84cb0d7cc949780bcdd3fceb5
140
py
Python
pi/envirobox.py
CarbonDock/CarbonDock
9c94158798cd5be2890eb3e1d51b20fbdc576995
[ "MIT" ]
null
null
null
pi/envirobox.py
CarbonDock/CarbonDock
9c94158798cd5be2890eb3e1d51b20fbdc576995
[ "MIT" ]
null
null
null
pi/envirobox.py
CarbonDock/CarbonDock
9c94158798cd5be2890eb3e1d51b20fbdc576995
[ "MIT" ]
2
2019-11-09T17:52:46.000Z
2019-11-10T15:31:00.000Z
from time import time from math import sin def get_values(): #normally get sensor data here return dict(co=100*sin(time()*0.2)+100)
23.333333
43
0.714286
25
140
3.96
0.72
0
0
0
0
0
0
0
0
0
0
0.069565
0.178571
140
6
43
23.333333
0.791304
0.207143
0
0
0
0
0
0
0
0
0
0
0
1
0.25
true
0
0.5
0.25
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
1
1
0
0
7
1fc6c49c7b60cc931757a385d4a2e4eaa1b1c494
13,830
py
Python
{{cookiecutter.project_slug}}/tests/settings_spec.py
tadams42/cookiecutter_python_linux_daemon
efc15cbafa64a9fe70d7c4b69641b6550cc9c82b
[ "MIT" ]
null
null
null
{{cookiecutter.project_slug}}/tests/settings_spec.py
tadams42/cookiecutter_python_linux_daemon
efc15cbafa64a9fe70d7c4b69641b6550cc9c82b
[ "MIT" ]
null
null
null
{{cookiecutter.project_slug}}/tests/settings_spec.py
tadams42/cookiecutter_python_linux_daemon
efc15cbafa64a9fe70d7c4b69641b6550cc9c82b
[ "MIT" ]
null
null
null
import os import pytest import simplejson as json from pkg_resources import Requirement, resource_filename from {{cookiecutter.project_slug}}.settings import ENVIRONMENTS, ImproperlyConfiguredError class DescribeDevelopmentConfigLoader: def it_resolves_to_correct_default_config_paths(self): cfg = ENVIRO...
44.469453
119
0.663702
1,575
13,830
5.475556
0.064762
0.088938
0.034787
0.042208
0.927296
0.922542
0.922542
0.915584
0.911874
0.882653
0
0
0.223933
13,830
310
120
44.612903
0.803503
0.023355
0
0.694444
0
0
0.17878
0.108839
0
0
0
0
0.198413
0
null
null
0
0.019841
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
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
7
1fdfbc03828e86ecd6308d16f2e9bdb61fdf10d3
64,439
py
Python
unicoder.py.tests.py
gdraheim/unicoder
4e8a89d1fd14ae2e88090d719cb05cfb81a0e851
[ "Apache-2.0" ]
null
null
null
unicoder.py.tests.py
gdraheim/unicoder
4e8a89d1fd14ae2e88090d719cb05cfb81a0e851
[ "Apache-2.0" ]
null
null
null
unicoder.py.tests.py
gdraheim/unicoder
4e8a89d1fd14ae2e88090d719cb05cfb81a0e851
[ "Apache-2.0" ]
null
null
null
#! /usr/bin/python3 """ testing the unicoder.py functions """ import sys, os import unittest import logging from fnmatch import fnmatchcase as fnmatch import unicoder logg = logging.getLogger("TEST") base_abcdefghijklmnopqrstuvwxyz = ":abcdefghijklmnopqrstuvwxyz" base_ABCDEFGHIJKLMNOPQRSTUVWXYZ = ":ABCDEFGHIJKLMNOP...
51.5512
96
0.684322
7,505
64,439
5.751366
0.086076
0.125799
0.137198
0.12237
0.910504
0.89753
0.88736
0.849087
0.788342
0.724469
0
0.050005
0.194975
64,439
1,249
97
51.592474
0.769099
0.002048
0
0.443173
0
0
0.136055
0.080612
0
0
0
0
0.324612
1
0.271464
false
0
0.006541
0
0.278823
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
951dcab76b4e83c6f29102e6a688fe7d511a8ad3
318
py
Python
tests/test_configs.py
shacklettbp/habitat-sim
1d5f7a4a3bfc30b620cf99f75a09db124b7aa1a5
[ "MIT" ]
1
2021-04-27T01:33:38.000Z
2021-04-27T01:33:38.000Z
tests/test_configs.py
shacklettbp/habitat-sim
1d5f7a4a3bfc30b620cf99f75a09db124b7aa1a5
[ "MIT" ]
null
null
null
tests/test_configs.py
shacklettbp/habitat-sim
1d5f7a4a3bfc30b620cf99f75a09db124b7aa1a5
[ "MIT" ]
null
null
null
import habitat_sim def test_config_eq(): cfg1 = habitat_sim.Configuration( habitat_sim.SimulatorConfiguration(), [habitat_sim.AgentConfiguration()] ) cfg2 = habitat_sim.Configuration( habitat_sim.SimulatorConfiguration(), [habitat_sim.AgentConfiguration()] ) assert cfg1 == cfg2
24.461538
80
0.716981
30
318
7.3
0.433333
0.319635
0.210046
0.273973
0.757991
0.757991
0.757991
0.757991
0.757991
0
0
0.015444
0.185535
318
12
81
26.5
0.830116
0
0
0.222222
0
0
0
0
0
0
0
0
0.111111
1
0.111111
false
0
0.111111
0
0.222222
0
0
0
0
null
1
1
1
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
1f1ada7c8ce8c23eeadc94368aba1d842ba91b9e
110
py
Python
src/pypkg_m7rap/mod.py
goerz/pypkg_m7ra
dc166b467d15860f353f3c23a4bed8d2bbe7ecfa
[ "MIT" ]
5
2019-12-26T15:55:34.000Z
2021-08-03T03:33:47.000Z
src/pypkg_m7rap/mod.py
goerz/pypkg_m7ra
dc166b467d15860f353f3c23a4bed8d2bbe7ecfa
[ "MIT" ]
15
2019-04-25T05:24:05.000Z
2021-03-19T01:57:12.000Z
src/pypkg_m7rap/mod.py
goerz/pypkg_m7ra
dc166b467d15860f353f3c23a4bed8d2bbe7ecfa
[ "MIT" ]
1
2020-01-01T16:35:06.000Z
2020-01-01T16:35:06.000Z
"""Sub-module of the package.""" def hello_world(): """Print "Hello World".""" print("Hello World")
15.714286
32
0.590909
14
110
4.571429
0.642857
0.46875
0.46875
0.625
0.625
0
0
0
0
0
0
0
0.190909
110
6
33
18.333333
0.719101
0.427273
0
0
0
0
0.211538
0
0
0
0
0
0
1
0.5
true
0
0
0
0.5
0.5
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
1
0
0
0
0
1
0
8
1f57dbff931d4e33402d912aad8352c883efc7fc
8,396
py
Python
bvpl/coexist/pair_corners.py
mirestrepo/voxels-at-lems
df47d031653d2ad877a97b3c1ea574b924b7d4c2
[ "BSD-2-Clause" ]
2
2015-09-18T00:17:16.000Z
2019-02-06T04:41:29.000Z
bvpl/coexist/pair_corners.py
mirestrepo/voxels-at-lems
df47d031653d2ad877a97b3c1ea574b924b7d4c2
[ "BSD-2-Clause" ]
null
null
null
bvpl/coexist/pair_corners.py
mirestrepo/voxels-at-lems
df47d031653d2ad877a97b3c1ea574b924b7d4c2
[ "BSD-2-Clause" ]
null
null
null
# Script to run find 2d corners on appearance grid # Author : Isabel Restrepo #8-31-2009 import bvpl_batch import time import os import sys #time.sleep(30); bvpl_batch.register_processes(); bvpl_batch.register_datatypes(); class dbvalue: def __init__(self, index, type): self.id = index # unsigned integer ...
8,396
8,396
0.770367
1,309
8,396
4.517189
0.098549
0.181126
0.135972
0.192626
0.798072
0.762895
0.703704
0.666836
0.579232
0.572975
0
0.017724
0.106241
8,396
1
8,396
8,396
0.770256
0.997142
0
0.446809
0
0
0.143262
0.057403
0
0
0
0
0
0
null
null
0
0.021277
null
null
0.117021
0
0
0
null
0
0
1
0
1
1
0
0
0
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
8
2f52a5e1d7053dd36a51342dfbaa8f617fcedc72
95
py
Python
src/magicdb/Models/__init__.py
CircleOnCircles/MagicDB
03fca4a2e4c75ad016a2338ac30f515393d20742
[ "MIT" ]
null
null
null
src/magicdb/Models/__init__.py
CircleOnCircles/MagicDB
03fca4a2e4c75ad016a2338ac30f515393d20742
[ "MIT" ]
null
null
null
src/magicdb/Models/__init__.py
CircleOnCircles/MagicDB
03fca4a2e4c75ad016a2338ac30f515393d20742
[ "MIT" ]
null
null
null
from magicdb.Models.MagicModel import MagicModel from magicdb.Models.DateModel import DateModel
47.5
48
0.884211
12
95
7
0.5
0.261905
0.404762
0
0
0
0
0
0
0
0
0
0.073684
95
2
49
47.5
0.954545
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
2f60d6dfbb692223d2063c92fd3325b4e590d5b9
13,912
py
Python
SqltDAO/CrudMeister.py
soft9000/PyDAO
1316bdf34b62187b7763c2c7dd0036837cdcc894
[ "MIT" ]
8
2018-03-10T05:33:58.000Z
2019-01-25T08:32:27.000Z
SqltDAO/CrudMeister.py
soft9000/PyDAO
1316bdf34b62187b7763c2c7dd0036837cdcc894
[ "MIT" ]
null
null
null
SqltDAO/CrudMeister.py
soft9000/PyDAO
1316bdf34b62187b7763c2c7dd0036837cdcc894
[ "MIT" ]
6
2018-10-15T17:07:28.000Z
2019-02-03T21:49:54.000Z
#!/usr/bin/env python3 ''' Generated by Soft9000/PyDAO, Ver. 1.0 (Alpha) Generated @ Thu Jan 17 04:49:38 2019 ''' import sqlite3 class Employee: def __init__(self): self.db = './~CrudMeister.sqlt3' self.conn = None self.curs = None self.bOpen = False self....
30.98441
210
0.502372
1,500
13,912
4.616
0.073333
0.07149
0.063547
0.064991
0.956095
0.945552
0.941219
0.929665
0.915656
0.915656
0
0.018398
0.390526
13,912
448
211
31.053571
0.798207
0.02178
0
0.871642
1
0.01791
0.155568
0
0
0
0
0
0
1
0.149254
false
0.014925
0.029851
0
0.432836
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
2f8688f3a968d5645cc87722a2e3f0ae5ba5c4a4
119
py
Python
snake_rl/algorithms/common/__init__.py
alex-petrenko/snake-rl
ca7000120985da7fcac4047747ad7937693abcfe
[ "MIT" ]
1
2021-08-28T10:37:33.000Z
2021-08-28T10:37:33.000Z
snake_rl/algorithms/common/__init__.py
dre2004/snake-rl
ca7000120985da7fcac4047747ad7937693abcfe
[ "MIT" ]
null
null
null
snake_rl/algorithms/common/__init__.py
dre2004/snake-rl
ca7000120985da7fcac4047747ad7937693abcfe
[ "MIT" ]
1
2021-02-18T00:22:40.000Z
2021-02-18T00:22:40.000Z
from snake_rl.algorithms.common.agent import AgentLearner from snake_rl.algorithms.common.loops import run_policy_loop
39.666667
60
0.882353
18
119
5.611111
0.666667
0.178218
0.217822
0.415842
0.534653
0
0
0
0
0
0
0
0.067227
119
2
61
59.5
0.90991
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
2f9a7447e86252897b9bc7d64d40b608f792a308
30,187
py
Python
convnade/tests/test_convnade.py
vlimant/NADE
e2446c73250a99979c8710a8acbb14823a54bce0
[ "BSD-3-Clause" ]
43
2017-06-19T21:19:55.000Z
2022-02-06T01:21:48.000Z
convnade/tests/test_convnade.py
vlimant/NADE
e2446c73250a99979c8710a8acbb14823a54bce0
[ "BSD-3-Clause" ]
1
2017-08-29T14:09:49.000Z
2017-09-08T12:34:19.000Z
convnade/tests/test_convnade.py
vlimant/NADE
e2446c73250a99979c8710a8acbb14823a54bce0
[ "BSD-3-Clause" ]
12
2017-09-12T07:56:13.000Z
2021-09-19T19:11:41.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import sys # Hack so you don't have to put the library containing this script in the PYTHONPATH. sys.path = [os.path.abspath(os.path.join(__file__, '..', '..'))] + sys.path import theano import theano.tensor as T import numpy as np import tempfile from numpy....
43.434532
159
0.668698
3,551
30,187
5.440158
0.096593
0.018221
0.028264
0.039134
0.878869
0.868361
0.85278
0.841081
0.834403
0.821824
0
0.028509
0.228443
30,187
694
160
43.497118
0.800696
0.090238
0
0.851613
0
0.002151
0.085505
0
0
0
0
0
0.036559
1
0.017204
false
0
0.047312
0
0.068817
0.122581
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
85f9efe21514dd64ed03790486f607a2845a96be
96
py
Python
Class_1/test3.py
travism16/Python-Course
d8c522fc31c7830c3ceabf7a35022a9e33e1d706
[ "Apache-2.0" ]
null
null
null
Class_1/test3.py
travism16/Python-Course
d8c522fc31c7830c3ceabf7a35022a9e33e1d706
[ "Apache-2.0" ]
null
null
null
Class_1/test3.py
travism16/Python-Course
d8c522fc31c7830c3ceabf7a35022a9e33e1d706
[ "Apache-2.0" ]
null
null
null
print("hello") print("hello") print("hello") print("hello") print("It's me") print("I'm here")
12
17
0.635417
16
96
3.8125
0.5
0.655738
0.983607
0.983607
0.737705
0.737705
0.737705
0
0
0
0
0
0.09375
96
7
18
13.714286
0.701149
0
0
0.666667
0
0
0.368421
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
0
0
null
1
1
1
0
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
0
0
0
1
0
9
c822f3529cdfd4e0b7e4d9887422bf6a6b98c447
92
py
Python
dfs/knapsack/common.py
jgershen/sportsball
8aa2a599091fb14d1897f2e4b77384e9ee6b0eed
[ "MIT" ]
21
2016-03-12T00:59:04.000Z
2022-03-01T21:32:51.000Z
dfs/knapsack/common.py
jgershen/sportsball
8aa2a599091fb14d1897f2e4b77384e9ee6b0eed
[ "MIT" ]
1
2017-04-17T04:39:46.000Z
2017-04-17T04:39:46.000Z
dfs/knapsack/common.py
jgershen/sportsball
8aa2a599091fb14d1897f2e4b77384e9ee6b0eed
[ "MIT" ]
4
2016-07-25T11:55:52.000Z
2019-06-19T20:55:53.000Z
from fractions import gcd def get_gcd_cost(costs, cap): return reduce(gcd, costs + [cap])
23
35
0.73913
15
92
4.4
0.733333
0.242424
0
0
0
0
0
0
0
0
0
0
0.152174
92
4
35
23
0.846154
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
8d0d9c0bcc9c0425dbb4ee5c1069450d1666fccb
77
py
Python
tests/test_sql_eqs.py
qxiddd/otus-architecture-patterns-2022-02
de49c5953b5e3adbbc2ce8acb497c4903cc2b306
[ "MIT" ]
null
null
null
tests/test_sql_eqs.py
qxiddd/otus-architecture-patterns-2022-02
de49c5953b5e3adbbc2ce8acb497c4903cc2b306
[ "MIT" ]
null
null
null
tests/test_sql_eqs.py
qxiddd/otus-architecture-patterns-2022-02
de49c5953b5e3adbbc2ce8acb497c4903cc2b306
[ "MIT" ]
null
null
null
from sqr_eqs import hello_world def test_hello(): assert hello_world()
12.833333
31
0.753247
12
77
4.5
0.75
0.37037
0
0
0
0
0
0
0
0
0
0
0.181818
77
5
32
15.4
0.857143
0
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
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
1
0
1
0
1
0
0
7
23b443d7f3cdbcc5cbe2d048b9c746cb0571df53
20,869
py
Python
run.py
silentrader/Aclay_FB
8f3188a017823e295c6154ea913b3fb7e9ce345b
[ "Apache-2.0" ]
null
null
null
run.py
silentrader/Aclay_FB
8f3188a017823e295c6154ea913b3fb7e9ce345b
[ "Apache-2.0" ]
1
2020-05-05T10:06:37.000Z
2020-05-05T10:06:37.000Z
run.py
silentrader/Aclay_FB
8f3188a017823e295c6154ea913b3fb7e9ce345b
[ "Apache-2.0" ]
null
null
null
#Compile By : King Mr_Z17 #My Team. : Vortex Team import base64 exec(base64.b16decode("23436F6D70696C6520427920417269656C2053616E6479205065726D616E610A234D79205465616D203A20426C61636B20436F6465722043727573680A696D706F7274206261736536340A65786563286261736536342E6231366465636F64652822323334333646364437303639364336353...
4,173.8
20,800
0.99861
15
20,869
1,389.266667
0.866667
0
0
0
0
0
0
0
0
0
0
0.995684
0.000815
20,869
4
20,801
5,217.25
0.003693
0.002396
0
0
0
0
0.997934
0.997934
0
1
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1
1
1
0
0
0
0
0
1
1
null
1
0
0
0
0
0
1
0
1
0
0
0
0
12
23ca20dab8d9a64a4bda0b8b3e781719ce04860b
20,316
py
Python
tests/test_vault_transactions.py
erik-svensson/electrumx-royale
7ba069dd9f7e8662ea50db4371a260b879a3e106
[ "MIT" ]
1
2020-12-03T12:29:31.000Z
2020-12-03T12:29:31.000Z
tests/test_vault_transactions.py
erik-svensson/electrumx-royale
7ba069dd9f7e8662ea50db4371a260b879a3e106
[ "MIT" ]
null
null
null
tests/test_vault_transactions.py
erik-svensson/electrumx-royale
7ba069dd9f7e8662ea50db4371a260b879a3e106
[ "MIT" ]
1
2020-05-10T11:04:07.000Z
2020-05-10T11:04:07.000Z
from unittest import TestCase from electrumx.lib.coins import BitcoinVault, BitcoinVaultRegTest from electrumx.lib.tx import TxVaultSegWit, VaultTxType, TxVault HEADER = '010000306f57135f397d1facbc477132637b30066503e0b52d5cffa4d471eddcfb72e53ebd64eb755882f0a40cc90aa9adae819b5efb95d682f45a6d4d36cd89bc407188737a055fffff...
66.828947
1,003
0.824719
1,043
20,316
15.878236
0.072867
0.043476
0.033694
0.02053
0.313991
0.3091
0.305537
0.305537
0.301008
0.291226
0
0.45411
0.126354
20,316
303
1,004
67.049505
0.478957
0
0
0.711934
0
0
0.535046
0.532191
0
1
0
0
0.271605
1
0.082305
false
0
0.012346
0
0.106996
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
1
0
0
0
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
7
f1da58a9d853f20c13cf4aabd1ce9d9f9033cf4b
57,573
py
Python
modeling.py
somiltg/orconvqa-release
61dac37ee018a55bebef5bda9c3588937e010254
[ "MIT" ]
null
null
null
modeling.py
somiltg/orconvqa-release
61dac37ee018a55bebef5bda9c3588937e010254
[ "MIT" ]
null
null
null
modeling.py
somiltg/orconvqa-release
61dac37ee018a55bebef5bda9c3588937e010254
[ "MIT" ]
1
2021-04-02T07:06:10.000Z
2021-04-02T07:06:10.000Z
import os import logging import collections import torch from transformers import BertModel, BertPreTrainedModel, AlbertModel from transformers.modeling_bert import (BertEncoder, BertOutput, BertAttention, BertIntermediate, BertLayer, BertEmbeddings, ...
55.252399
144
0.626631
6,801
57,573
4.991619
0.060579
0.021209
0.015553
0.025981
0.913102
0.904206
0.892866
0.882909
0.875191
0.873071
0
0.005442
0.291439
57,573
1,041
145
55.305476
0.826739
0.220763
0
0.835694
0
0.005666
0.064205
0.005343
0
0
0
0
0.002833
1
0.028329
false
0.110482
0.024079
0
0.080737
0.007082
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
f1ddf1128b637063495531cd751ffe0b85ab5263
91
py
Python
src/yafowil/yaml/__init__.py
conestack/yafowil.yaml
9a5d3b808f85a1c204c31219f957b7a77cd23b8e
[ "BSD-2-Clause" ]
2
2019-07-09T12:47:21.000Z
2019-11-17T10:24:33.000Z
src/yafowil/yaml/__init__.py
conestack/yafowil.yaml
9a5d3b808f85a1c204c31219f957b7a77cd23b8e
[ "BSD-2-Clause" ]
3
2018-04-16T09:53:15.000Z
2019-06-24T14:45:06.000Z
src/yafowil/yaml/__init__.py
conestack/yafowil.yaml
9a5d3b808f85a1c204c31219f957b7a77cd23b8e
[ "BSD-2-Clause" ]
1
2019-06-12T06:50:15.000Z
2019-06-12T06:50:15.000Z
from yafowil.yaml.parser import YAMLParser from yafowil.yaml.parser import parse_from_YAML
30.333333
47
0.868132
14
91
5.5
0.5
0.285714
0.38961
0.545455
0.701299
0
0
0
0
0
0
0
0.087912
91
2
48
45.5
0.927711
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
7b1b967ed627b9e3fab4817057b1a854b9c7a7c9
364
py
Python
rastervision2/pytorch_backend/__init__.py
csaybar/raster-vision
617ca15f64e3b8a391432306a743f7d0dfff352f
[ "Apache-2.0" ]
1
2020-10-10T12:32:43.000Z
2020-10-10T12:32:43.000Z
rastervision2/pytorch_backend/__init__.py
csaybar/raster-vision
617ca15f64e3b8a391432306a743f7d0dfff352f
[ "Apache-2.0" ]
null
null
null
rastervision2/pytorch_backend/__init__.py
csaybar/raster-vision
617ca15f64e3b8a391432306a743f7d0dfff352f
[ "Apache-2.0" ]
1
2021-12-02T08:07:21.000Z
2021-12-02T08:07:21.000Z
# flake8: noqa from rastervision2.pytorch_backend.pytorch_chip_classification_config import * from rastervision2.pytorch_backend.pytorch_chip_classification import * from rastervision2.pytorch_backend.pytorch_semantic_segmentation_config import * from rastervision2.pytorch_backend.pytorch_semantic_segmentation import ...
33.090909
80
0.873626
41
364
7.390244
0.414634
0.224422
0.316832
0.409241
0.851485
0.851485
0.851485
0.422442
0
0
0
0.014925
0.07967
364
10
81
36.4
0.889552
0.032967
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0.166667
0.666667
0
0.833333
0
0
0
0
null
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
9
9e9973cf341425c200c2c2c1040ca32f18c8427a
75,712
py
Python
lib/osm/osmclient/clientv2.py
TCSOSM-20/LW-UI
70c3331278f71d3b22fc3a090d526b4b8106d155
[ "Apache-2.0" ]
null
null
null
lib/osm/osmclient/clientv2.py
TCSOSM-20/LW-UI
70c3331278f71d3b22fc3a090d526b4b8106d155
[ "Apache-2.0" ]
null
null
null
lib/osm/osmclient/clientv2.py
TCSOSM-20/LW-UI
70c3331278f71d3b22fc3a090d526b4b8106d155
[ "Apache-2.0" ]
null
null
null
# # Copyright 2018 EveryUP Srl # # 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 t...
39.067079
114
0.52215
8,318
75,712
4.636211
0.037148
0.048491
0.042319
0.044809
0.925604
0.918032
0.911213
0.909242
0.906934
0.904859
0
0.026349
0.334306
75,712
1,937
115
39.087248
0.738795
0.011517
0
0.851327
0
0
0.157954
0.032441
0
0
0
0
0
1
0.056047
false
0
0.00649
0
0.173451
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
7ba97e75c8387e583f023e9f936c7a01b8b64387
179
py
Python
product_hunt/account/models.py
xeroCBW/product_hunt
ef0f358609ed4c4063c037b2b0bb778b18e83bb8
[ "MIT" ]
null
null
null
product_hunt/account/models.py
xeroCBW/product_hunt
ef0f358609ed4c4063c037b2b0bb778b18e83bb8
[ "MIT" ]
null
null
null
product_hunt/account/models.py
xeroCBW/product_hunt
ef0f358609ed4c4063c037b2b0bb778b18e83bb8
[ "MIT" ]
null
null
null
from django.db import models # Create your models here. class User(models.Model): username = models.CharField(max_length=100) passwoed = models.CharField(max_length=100)
25.571429
47
0.759777
25
179
5.36
0.68
0.223881
0.268657
0.358209
0.402985
0
0
0
0
0
0
0.039216
0.145251
179
7
48
25.571429
0.836601
0.134078
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.25
0.25
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
0
1
0
0
1
0
0
7
7bcafca62fcf3c3c4e5a84f7c7013bcf6b586343
216
py
Python
csr/snake_case.py
AlexJanse/python_csr2transmart
c01a76dfa6ecfa4248b274144092ccc6c31aab5a
[ "MIT" ]
3
2019-06-26T12:50:38.000Z
2020-02-16T17:19:45.000Z
csr/snake_case.py
AlexJanse/python_csr2transmart
c01a76dfa6ecfa4248b274144092ccc6c31aab5a
[ "MIT" ]
46
2019-08-15T12:25:58.000Z
2022-01-11T12:54:53.000Z
csr/snake_case.py
AlexJanse/python_csr2transmart
c01a76dfa6ecfa4248b274144092ccc6c31aab5a
[ "MIT" ]
3
2019-10-30T12:41:58.000Z
2021-11-08T13:06:32.000Z
import re camel_case_to_snake_case_pattern = re.compile('(?!^)([A-Z]+)') def camel_case_to_snake_case(camel_case_text: str) -> str: return camel_case_to_snake_case_pattern.sub(r'_\1', camel_case_text).lower()
27
80
0.75463
37
216
3.891892
0.486486
0.3125
0.229167
0.333333
0.513889
0.375
0
0
0
0
0
0.005102
0.092593
216
7
81
30.857143
0.729592
0
0
0
0
0
0.074074
0
0
0
0
0
0
1
0.25
false
0
0.25
0.25
0.75
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
7
c87701a43a537ade37b84aa8a660c375f05b4222
6,235
py
Python
src/xobjc.py
MustangYM/xia0LLDB
3c494dd86582f99966b5091af073c3c3033d733a
[ "Info-ZIP" ]
464
2018-10-04T06:57:54.000Z
2022-03-31T06:27:54.000Z
src/xobjc.py
MustangYM/xia0LLDB
3c494dd86582f99966b5091af073c3c3033d733a
[ "Info-ZIP" ]
31
2019-07-04T08:42:33.000Z
2022-03-21T20:49:57.000Z
src/xobjc.py
MustangYM/xia0LLDB
3c494dd86582f99966b5091af073c3c3033d733a
[ "Info-ZIP" ]
92
2019-07-03T02:50:55.000Z
2022-03-26T06:35:56.000Z
#! /usr/bin/env python3 # ______ ______ ______ ______ ______ ______ ______ ______ ______ ______ ______ ______ ______ ______ ______ ______ ______ # |______|______|______|______|______|______|______|______|______|______|______|______|______|______|______|______|______| # _ ___ _ _ _____ ...
32.989418
165
0.557338
552
6,235
5.293478
0.186594
0.024641
0.054757
0.046543
0.874059
0.864476
0.831622
0.80219
0.80219
0.80219
0
0.002156
0.330393
6,235
189
166
32.989418
0.697725
0.147554
0
0.838235
0
0.014706
0.22017
0.017719
0
0
0
0
0
1
0.066176
false
0
0.051471
0
0.227941
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
c8a77a3bfab963036b1730a018da62cab289cf35
10,686
py
Python
RI/flask_server/tapi_server/models/tapi_photonic_media_total_power_threshold_pac.py
arthurMll/TAPI
e1171bb139c6791a953af09cfc2bc7ad928da73d
[ "Apache-2.0" ]
57
2018-04-09T08:56:18.000Z
2022-03-23T08:31:06.000Z
RI/flask_server/tapi_server/models/tapi_photonic_media_total_power_threshold_pac.py
arthurMll/TAPI
e1171bb139c6791a953af09cfc2bc7ad928da73d
[ "Apache-2.0" ]
143
2016-06-08T04:09:54.000Z
2018-02-23T10:45:59.000Z
RI/flask_server/tapi_server/models/tapi_photonic_media_total_power_threshold_pac.py
arthurMll/TAPI
e1171bb139c6791a953af09cfc2bc7ad928da73d
[ "Apache-2.0" ]
64
2018-03-07T07:55:17.000Z
2022-03-28T07:14:28.000Z
# coding: utf-8 from __future__ import absolute_import from datetime import date, datetime # noqa: F401 from typing import List, Dict # noqa: F401 from tapi_server.models.base_model_ import Model from tapi_server import util class TapiPhotonicMediaTotalPowerThresholdPac(Model): """NOTE: This class is auto ge...
51.623188
303
0.783081
1,330
10,686
5.791729
0.061654
0.171362
0.128521
0.162794
0.914319
0.907439
0.904063
0.875893
0.848371
0.758795
0
0.007569
0.171626
10,686
206
304
51.873786
0.86263
0.514224
0
0.264706
0
0
0.155887
0.155887
0
0
0
0
0
1
0.205882
false
0
0.073529
0
0.397059
0
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
1
0
0
0
0
0
0
0
8
c8e2f59eabb830bff31f3690beee12eb7351ca18
11,784
py
Python
sporco_cuda/tests/test_cbpdn.py
young-oct/sporco-cuda
7fb2269d48842cda849293f3a0633026c601dcfa
[ "BSD-3-Clause" ]
null
null
null
sporco_cuda/tests/test_cbpdn.py
young-oct/sporco-cuda
7fb2269d48842cda849293f3a0633026c601dcfa
[ "BSD-3-Clause" ]
null
null
null
sporco_cuda/tests/test_cbpdn.py
young-oct/sporco-cuda
7fb2269d48842cda849293f3a0633026c601dcfa
[ "BSD-3-Clause" ]
null
null
null
from __future__ import division from builtins import object import numpy as np from sporco.admm import cbpdn import sporco_cuda.cbpdn as cucbpdn import sporco.metric as sm import sporco.signal as ss class TestSet01(object): def setup_method(self, method): np.random.seed(12345) def test_01(self):...
34.156522
78
0.538103
1,623
11,784
3.89464
0.088108
0.062648
0.080209
0.063281
0.950957
0.9489
0.9489
0.944945
0.942256
0.942256
0
0.055857
0.326969
11,784
344
79
34.255814
0.741142
0.139002
0
0.888476
0
0
0.060097
0
0
0
0
0
0.052045
1
0.055762
false
0
0.026022
0
0.085502
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
7402d9b38dad3bb1c6353daa3995ee526af370a5
352
py
Python
tests/test_mimetypes.py
daaain/onfido-python
62675c97cf7d03de2ab3ed4b07ec0bde9e2b1a5d
[ "MIT" ]
16
2020-06-30T15:35:42.000Z
2022-02-12T09:26:41.000Z
tests/test_mimetypes.py
daaain/onfido-python
62675c97cf7d03de2ab3ed4b07ec0bde9e2b1a5d
[ "MIT" ]
6
2020-07-06T08:56:33.000Z
2021-07-12T18:09:07.000Z
tests/test_mimetypes.py
daaain/onfido-python
62675c97cf7d03de2ab3ed4b07ec0bde9e2b1a5d
[ "MIT" ]
5
2020-08-18T08:12:19.000Z
2021-05-26T11:43:53.000Z
from onfido.mimetype import mimetype_from_name def test_mimetypes(): assert mimetype_from_name("filename.jpg") == "image/jpeg" assert mimetype_from_name("filename.png") == "image/png" assert mimetype_from_name("file.pdf") == "application/pdf" def test_secondary_mimetypes(): assert mimetype_from_name("...
35.2
62
0.747159
46
352
5.434783
0.391304
0.24
0.32
0.352
0.432
0.312
0
0
0
0
0
0
0.119318
352
9
63
39.111111
0.806452
0
0
0
0
0
0.252841
0
0
0
0
0
0.571429
1
0.285714
true
0
0.142857
0
0.428571
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
1
0
0
0
0
0
0
7
cdb272202dbcfa306d7a095a75e3b628968050fa
128
py
Python
app/controllers/mapa.py
h01000110/gerenciador-oficina-web
f86fe4ae988ac8b94aac4165efe77a29d862a1cd
[ "MIT" ]
null
null
null
app/controllers/mapa.py
h01000110/gerenciador-oficina-web
f86fe4ae988ac8b94aac4165efe77a29d862a1cd
[ "MIT" ]
null
null
null
app/controllers/mapa.py
h01000110/gerenciador-oficina-web
f86fe4ae988ac8b94aac4165efe77a29d862a1cd
[ "MIT" ]
null
null
null
from app import app from flask import render_template @app.route("/mapa") def mapa(): return render_template("mapa.html")
16
39
0.734375
19
128
4.842105
0.578947
0.304348
0
0
0
0
0
0
0
0
0
0
0.148438
128
7
40
18.285714
0.844037
0
0
0
0
0
0.109375
0
0
0
0
0
0
1
0.2
true
0
0.4
0.2
0.8
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
1
1
0
0
7
a833b27483e7f4524518625179b43d0238ee9bfb
7,551
py
Python
rdmo/projects/tests/test_view_project_create_import.py
berkerY/rdmo
c0500f9b6caff9106a254a05e0d0e8018fc8db28
[ "Apache-2.0" ]
77
2016-08-09T11:40:20.000Z
2022-03-06T11:03:26.000Z
rdmo/projects/tests/test_view_project_create_import.py
MSpenger/rdmo
c0500f9b6caff9106a254a05e0d0e8018fc8db28
[ "Apache-2.0" ]
377
2016-07-01T13:59:36.000Z
2022-03-30T13:53:19.000Z
rdmo/projects/tests/test_view_project_create_import.py
MSpenger/rdmo
c0500f9b6caff9106a254a05e0d0e8018fc8db28
[ "Apache-2.0" ]
47
2016-06-23T11:32:19.000Z
2022-03-01T11:34:37.000Z
import os import re from pathlib import Path import pytest from django.urls import reverse from rdmo.core.constants import VALUE_TYPE_FILE from ..models import Project, Value users = ( ('owner', 'owner'), ('manager', 'manager'), ('author', 'author'), ('guest', 'guest'), ('user', 'user'), ('s...
33.411504
97
0.651304
912
7,551
5.245614
0.14693
0.096572
0.083612
0.100334
0.849289
0.845109
0.834866
0.832776
0.832776
0.789298
0
0.015646
0.229771
7,551
225
98
33.56
0.806912
0.053106
0
0.692771
0
0
0.138994
0.023539
0
0
0
0
0.26506
1
0.048193
false
0.204819
0.168675
0
0.216867
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
b57b1aa759e0d8828d52aeccd69678fc33d7f578
1,866
py
Python
tests/test_utils.py
mozillazg/huskar-python
f62a2d3636b2804a552bf59f76903cf2841d75c9
[ "MIT" ]
5
2019-09-29T03:09:31.000Z
2019-11-01T15:38:26.000Z
tests/test_utils.py
mozillazg/huskar-python
f62a2d3636b2804a552bf59f76903cf2841d75c9
[ "MIT" ]
4
2019-09-27T03:58:55.000Z
2019-09-27T06:34:10.000Z
tests/test_utils.py
mozillazg/huskar-python
f62a2d3636b2804a552bf59f76903cf2841d75c9
[ "MIT" ]
4
2019-09-27T06:03:30.000Z
2019-10-23T09:54:08.000Z
from __future__ import absolute_import import pytest from huskar_sdk_v2.six import unicode from huskar_sdk_v2.utils import Counter, join_url def test_counter(): c = Counter(1) assert c.get() == 1 assert unicode(c) == '<Counter init=1 now=1>' c.incr() assert c.get() == 2 assert unicode(c) ==...
33.927273
59
0.568596
257
1,866
4.07393
0.136187
0.267431
0.294174
0.292264
0.770774
0.770774
0.770774
0.743075
0.743075
0.743075
0
0.091603
0.157556
1,866
54
60
34.555556
0.574427
0
0
0.369565
0
0
0.522508
0
0
0
0
0
0.152174
1
0.043478
false
0
0.086957
0
0.130435
0
0
0
0
null
1
1
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
0
0
0
8
b5965dd6b41565097bdeef284636baeb744a016c
12,625
py
Python
cgtasknet/tasks/reduce/go.py
Pugavkomm/-test-multy_cognitive_tasks
858e1f28813f09340211c57268daf4f8581a3459
[ "MIT" ]
null
null
null
cgtasknet/tasks/reduce/go.py
Pugavkomm/-test-multy_cognitive_tasks
858e1f28813f09340211c57268daf4f8581a3459
[ "MIT" ]
31
2021-12-28T09:44:10.000Z
2022-03-21T14:42:28.000Z
cgtasknet/tasks/reduce/go.py
Pugavkomm/cgtasknet
858e1f28813f09340211c57268daf4f8581a3459
[ "MIT" ]
1
2021-12-03T07:03:14.000Z
2021-12-03T07:03:14.000Z
from typing import NamedTuple, Optional, Tuple, Union import numpy as np from cgtasknet.tasks.reduce.reduce_task import ( _generate_random_intervals, _generate_values, ReduceTaskCognitive, ReduceTaskParameters, ) class GoTaskParameters(NamedTuple): dt: float = ReduceTaskParameters().dt trial...
32.455013
87
0.615683
1,469
12,625
4.955071
0.072158
0.049457
0.038467
0.043962
0.811513
0.777991
0.741998
0.731831
0.729908
0.688419
0
0.011362
0.27501
12,625
388
88
32.53866
0.783896
0.028832
0
0.667763
1
0
0.00783
0
0
0
0
0
0
1
0.095395
false
0
0.009868
0.039474
0.322368
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
a9422c41c585d862e6be1bcd3cc08926dd6ef04d
162
py
Python
cloudfrontsigner/compat.py
gjo/cloudfrontsigner
d9ee56a62016db927c5541f2f1c6f95e65706928
[ "BSD-3-Clause" ]
null
null
null
cloudfrontsigner/compat.py
gjo/cloudfrontsigner
d9ee56a62016db927c5541f2f1c6f95e65706928
[ "BSD-3-Clause" ]
null
null
null
cloudfrontsigner/compat.py
gjo/cloudfrontsigner
d9ee56a62016db927c5541f2f1c6f95e65706928
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- try: from urllib.parse import parse_qs, urlencode, urlparse except ImportError: from urllib import parse_qs, urlencode, urlparse
23.142857
58
0.722222
21
162
5.47619
0.619048
0.173913
0.226087
0.382609
0.521739
0
0
0
0
0
0
0.007519
0.179012
162
6
59
27
0.857143
0.12963
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.75
0
0.75
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
a9876b4a3505e1f79e53d817367a55021eaac9da
3,009
py
Python
SACWebApp/mainPage/migrations/0013_auto_20201221_2345.py
feng-jj/SAC-Project1
58941f85b805bc993059f89fe913c147da14210e
[ "MIT" ]
1
2020-07-19T01:53:05.000Z
2020-07-19T01:53:05.000Z
SACWebApp/mainPage/migrations/0013_auto_20201221_2345.py
feng-jj/SAC-Project1
58941f85b805bc993059f89fe913c147da14210e
[ "MIT" ]
1
2020-07-15T15:43:17.000Z
2020-07-15T15:43:17.000Z
SACWebApp/mainPage/migrations/0013_auto_20201221_2345.py
feng-jj/SAC-Project1
58941f85b805bc993059f89fe913c147da14210e
[ "MIT" ]
null
null
null
# Generated by Django 3.1.3 on 2020-12-22 04:45 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('mainPage', '0012_auto_20201220_2057'), ] operations = [ migrations.AddField( model_name='advocacy', name='month', ...
68.386364
361
0.562645
289
3,009
5.778547
0.197232
0.064671
0.082635
0.097006
0.877246
0.877246
0.877246
0.877246
0.877246
0.877246
0
0.015059
0.18345
3,009
43
362
69.976744
0.664632
0.014955
0
0.648649
1
0
0.345712
0.007765
0
0
0
0
0
1
0
false
0
0.027027
0
0.108108
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
a993863a004acd54447e1379e24a652df19906e9
116,198
py
Python
Customer_Recommendation.py
dogudogru/Customer-Recomendation-Project
948e34145af1a753b6171a779b4f7b5b00aa67eb
[ "MIT" ]
1
2022-01-13T11:58:50.000Z
2022-01-13T11:58:50.000Z
Customer_Recommendation.py
dogudogru/Customer-Recomendation-Project
948e34145af1a753b6171a779b4f7b5b00aa67eb
[ "MIT" ]
null
null
null
Customer_Recommendation.py
dogudogru/Customer-Recomendation-Project
948e34145af1a753b6171a779b4f7b5b00aa67eb
[ "MIT" ]
null
null
null
import pandas as pd import numpy as np from PIL import Image,ImageDraw,ImageFont from pandas.core.frame import DataFrame import requests import time from requests.api import options import streamlit as st from PIL import Image import requests from PIL import Image import requests import base64 data = pd.read_csv("da...
93.256822
6,152
0.739789
9,066
116,198
9.421575
0.086256
0.012129
0.0205
0.024117
0.959738
0.947984
0.939836
0.938747
0.937518
0.933701
0
0.115551
0.168006
116,198
1,245
6,153
93.331727
0.767874
0.001076
0
0.811357
0
0.027911
0.581019
0.000709
0
1
0
0
0
1
0
false
0.00385
0.012512
0
0.012512
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
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
9
8d466268be4ca43162627719017d043b4440acde
70
py
Python
toon/anim/__init__.py
aforren1/peacoat
73c4c8f3fe429de262d32948ee43f2d5dde05570
[ "MIT" ]
null
null
null
toon/anim/__init__.py
aforren1/peacoat
73c4c8f3fe429de262d32948ee43f2d5dde05570
[ "MIT" ]
64
2017-06-11T21:18:12.000Z
2021-11-09T15:48:04.000Z
toon/anim/__init__.py
aforren1/toon
73c4c8f3fe429de262d32948ee43f2d5dde05570
[ "MIT" ]
null
null
null
from toon.anim.player import Player from toon.anim.track import Track
23.333333
35
0.828571
12
70
4.833333
0.5
0.275862
0.413793
0
0
0
0
0
0
0
0
0
0.114286
70
2
36
35
0.935484
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
8d6673575db1b884e0fb7de7d14b8d88f1c1c412
69,909
py
Python
crack-1.py
EmZee07/Zee007
3822cc6ccd096bb68d2872e0cf3348bbde0ba897
[ "Apache-2.0" ]
null
null
null
crack-1.py
EmZee07/Zee007
3822cc6ccd096bb68d2872e0cf3348bbde0ba897
[ "Apache-2.0" ]
null
null
null
crack-1.py
EmZee07/Zee007
3822cc6ccd096bb68d2872e0cf3348bbde0ba897
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # mau ngapain bro mau recode ea buat sendiri lah bgst import os, sys, time, datetime, random, hashlib, re, threading, json, getpass, urllib, requests, mechanize from multiprocessing.pool import ThreadPool from requests.exceptions import ConnectionError from mechanize import Browser reload(sys)...
62.867806
446
0.393726
7,023
69,909
3.895059
0.071052
0.105867
0.064741
0.051545
0.818351
0.805995
0.785195
0.761506
0.742716
0.729117
0
0.150075
0.472242
69,909
1,111
447
62.924392
0.587288
0.001044
0
0.631274
0
0.163127
0.333472
0.126375
0
0
0
0
0
0
null
null
0.09749
0.003861
null
null
0.262548
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
1
0
0
1
0
0
0
0
0
8
8d86e24818fbe4c5905ba6a4fe4381c3d02a9d88
39
py
Python
src/lib/mailcap.py
DTenore/skulpt
098d20acfb088d6db85535132c324b7ac2f2d212
[ "MIT" ]
2,671
2015-01-03T08:23:25.000Z
2022-03-31T06:15:48.000Z
src/lib/mailcap.py
wakeupmuyunhe/skulpt
a8fb11a80fb6d7c016bab5dfe3712517a350b347
[ "MIT" ]
972
2015-01-05T08:11:00.000Z
2022-03-29T13:47:15.000Z
src/lib/mailcap.py
wakeupmuyunhe/skulpt
a8fb11a80fb6d7c016bab5dfe3712517a350b347
[ "MIT" ]
845
2015-01-03T19:53:36.000Z
2022-03-29T18:34:22.000Z
import _sk_fail; _sk_fail._("mailcap")
19.5
38
0.769231
6
39
4.166667
0.666667
0.48
0
0
0
0
0
0
0
0
0
0
0.076923
39
1
39
39
0.694444
0
0
0
0
0
0.179487
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
8d9babd10a52a13a1fa13a6f110bf11b0b598f3b
2,179
py
Python
defences/dp/classification/hyperparameters.py
JunW15/AdvMT
4ec727199a810cd0b153c2d465b9660641e0f3f1
[ "MIT" ]
null
null
null
defences/dp/classification/hyperparameters.py
JunW15/AdvMT
4ec727199a810cd0b153c2d465b9660641e0f3f1
[ "MIT" ]
null
null
null
defences/dp/classification/hyperparameters.py
JunW15/AdvMT
4ec727199a810cd0b153c2d465b9660641e0f3f1
[ "MIT" ]
null
null
null
# =========== # BoE # =========== class HP_IMDB_BOE: batch_size = 64 learning_rate = 1e-3 learning_rate_dpsgd = 1e-3 patience = 5 tgt_class = 1 sequence_length = 512 class HP_DBPedia_BOE: batch_size = 256 learning_rate = 1e-3 learning_rate_dpsgd = 1e-3 patience = 2 tgt_cla...
18.623932
34
0.628729
318
2,179
4.006289
0.110063
0.22606
0.160126
0.134223
0.930926
0.929356
0.920722
0.920722
0.920722
0.861068
0
0.103713
0.283157
2,179
116
35
18.784483
0.711908
0.092244
0
0.833333
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
1
0
0
0
0
null
1
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
1
0
0
9
571636c78a59791d454fe47d6c02056987388dcf
47
py
Python
python-client/onesaitplatform/apimanager/__init__.py
esanfrutosminsait/onesait-cloud-platform-clientlibraries
31012e1eaa7da54fd08f9a63713043113969f1c9
[ "Apache-2.0" ]
14
2019-05-14T13:23:35.000Z
2019-12-24T14:49:02.000Z
python-client/onesaitplatform/apimanager/__init__.py
esanfrutosminsait/onesait-cloud-platform-clientlibraries
31012e1eaa7da54fd08f9a63713043113969f1c9
[ "Apache-2.0" ]
7
2019-11-13T09:38:03.000Z
2021-04-07T16:24:14.000Z
python-client/onesaitplatform/apimanager/__init__.py
esanfrutosminsait/onesait-cloud-platform-clientlibraries
31012e1eaa7da54fd08f9a63713043113969f1c9
[ "Apache-2.0" ]
9
2019-04-09T15:38:28.000Z
2021-03-24T13:10:14.000Z
from .apimanagerclient import ApiManagerClient
23.5
46
0.893617
4
47
10.5
0.75
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
93e719f9a7a130eb2b81ebf2ec2ccdf192456845
336
py
Python
cupy/linalg/eigenvalue.py
umitanuki/chainer
225c56b233e684ff4855451d2af4c2fb66915f21
[ "MIT" ]
null
null
null
cupy/linalg/eigenvalue.py
umitanuki/chainer
225c56b233e684ff4855451d2af4c2fb66915f21
[ "MIT" ]
null
null
null
cupy/linalg/eigenvalue.py
umitanuki/chainer
225c56b233e684ff4855451d2af4c2fb66915f21
[ "MIT" ]
1
2018-11-18T00:36:51.000Z
2018-11-18T00:36:51.000Z
def eig(a): # TODO(beam2d): Implement it raise NotImplementedError def eigh(a, UPLO='L'): # TODO(beam2d): Implement it raise NotImplementedError def eigvals(a): # TODO(beam2d): Implement it raise NotImplementedError def eigvalsh(a, UPLO='L'): # TODO(beam2d): Implement it raise NotI...
17.684211
32
0.678571
40
336
5.7
0.35
0.175439
0.333333
0.368421
0.890351
0.890351
0.890351
0.877193
0.447368
0
0
0.015152
0.214286
336
18
33
18.666667
0.848485
0.318452
0
0.5
0
0
0.008929
0
0
0
0
0.055556
0
1
0.5
false
0
0
0
0.5
0
0
0
0
null
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
0
0
0
8
f566023dfd5a3b647bfc78ef02f0514bb0d9bda0
179
py
Python
mlrun/api/crud/__init__.py
shul/mlrun
d99e08ba8dce9833fca3ab00cdd246d873cf16b6
[ "Apache-2.0" ]
null
null
null
mlrun/api/crud/__init__.py
shul/mlrun
d99e08ba8dce9833fca3ab00cdd246d873cf16b6
[ "Apache-2.0" ]
null
null
null
mlrun/api/crud/__init__.py
shul/mlrun
d99e08ba8dce9833fca3ab00cdd246d873cf16b6
[ "Apache-2.0" ]
null
null
null
from .logs import Logs # noqa: F401 from .projects import Projects # noqa: F401 from .runtimes import Runtimes # noqa: F401 from .pipelines import list_pipelines # noqa: F401
35.8
51
0.75419
25
179
5.36
0.36
0.238806
0.268657
0
0
0
0
0
0
0
0
0.081633
0.178771
179
4
52
44.75
0.829932
0.240223
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
f57d25f5d596e9c862d84dbda9a0be7c82cc4822
31
py
Python
model/adder.py
JoseIuri/UVM_Python
0695abb6e8c9a962fa15a807eb10c2bc3160947e
[ "MIT" ]
4
2020-11-28T02:08:34.000Z
2021-03-12T07:28:46.000Z
model/adder.py
JoseIuri/UVM_Python
0695abb6e8c9a962fa15a807eb10c2bc3160947e
[ "MIT" ]
null
null
null
model/adder.py
JoseIuri/UVM_Python
0695abb6e8c9a962fa15a807eb10c2bc3160947e
[ "MIT" ]
null
null
null
def adder(a, b): return a+b
15.5
16
0.580645
7
31
2.571429
0.714286
0.222222
0
0
0
0
0
0
0
0
0
0
0.258065
31
2
17
15.5
0.782609
0
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
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
1
0
0
0
1
1
0
0
7
270d0e6291d26b1bd0db0723aaa6ca47b18848d3
2,044
py
Python
setup.py
WuJunkai2004/Dingbot
50730a05537687449c04ab2ba75a8f50ebcc5d2b
[ "MIT" ]
24
2020-06-21T06:21:04.000Z
2022-03-14T00:48:02.000Z
setup.py
WuJunkai2004/Dingbot
50730a05537687449c04ab2ba75a8f50ebcc5d2b
[ "MIT" ]
1
2020-08-09T06:02:30.000Z
2020-08-09T06:02:54.000Z
setup.py
WuJunkai2004/Dingbot
50730a05537687449c04ab2ba75a8f50ebcc5d2b
[ "MIT" ]
3
2021-02-21T18:42:19.000Z
2022-01-05T03:31:42.000Z
from distutils.core import setup import dingbot try: readme = open('README').read() except: readme = open('README',encoding='utf-8').read() try: kw = { "name": 'DingRobotPy', "version": dingbot.__version__, "description": 'Dingtalk group\'s robot API Python SDK', ...
32.444444
76
0.546967
172
2,044
6.418605
0.383721
0.028986
0.050725
0.061594
0.875
0.875
0.875
0.875
0.875
0.875
0
0.024929
0.313112
2,044
62
77
32.967742
0.761396
0
0
0.821429
0
0
0.531282
0.028254
0
0
0
0
0
1
0
false
0.035714
0.035714
0
0.035714
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
271edb17b67dd129899c5484b0cbb6a335e35b63
48,486
py
Python
tests/test_scan_strategy.py
mreineck/beamconv
86e48f8bc219c538e1c47816d86b256a7459e53b
[ "MIT" ]
2
2018-09-14T07:40:46.000Z
2019-10-11T09:26:47.000Z
tests/test_scan_strategy.py
mreineck/beamconv
86e48f8bc219c538e1c47816d86b256a7459e53b
[ "MIT" ]
3
2020-07-28T16:05:24.000Z
2021-12-02T13:29:57.000Z
tests/test_scan_strategy.py
mreineck/beamconv
86e48f8bc219c538e1c47816d86b256a7459e53b
[ "MIT" ]
11
2018-09-14T11:00:32.000Z
2022-03-18T19:30:44.000Z
import unittest import numpy as np import healpy as hp from beamconv import ScanStrategy from beamconv import Beam, tools import os import pickle opj = os.path.join class TestTools(unittest.TestCase): @classmethod def setUpClass(cls): ''' Create random alm. ''' lmax = 50 ...
36.022288
89
0.546653
6,262
48,486
4.063877
0.079208
0.006602
0.038903
0.027232
0.83429
0.819632
0.794286
0.770002
0.757388
0.742966
0
0.04156
0.34544
48,486
1,345
90
36.049071
0.76028
0.149755
0
0.72661
0
0
0.0176
0
0
0
0
0
0.145808
1
0.035237
false
0
0.008505
0
0.048603
0.00486
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
275979f219f542cf2e791f25b9ea58edfcff99cf
1,618
py
Python
models/comment.py
hnguyenworkstation/hoocons_backend
725461812a172ca0a88181e3399e6e2294953273
[ "MIT" ]
null
null
null
models/comment.py
hnguyenworkstation/hoocons_backend
725461812a172ca0a88181e3399e6e2294953273
[ "MIT" ]
null
null
null
models/comment.py
hnguyenworkstation/hoocons_backend
725461812a172ca0a88181e3399e6e2294953273
[ "MIT" ]
null
null
null
from datetime import * import mongoengine from static import app_constant from mongoengine import * class BaseReplyComment(EmbeddedDocument): # Created with base data create_by = ReferenceField('User', required=True) text_content = StringField(default="") image = StringField(default="") create_a...
31.72549
76
0.653894
172
1,618
5.924419
0.27907
0.064769
0.052993
0.060844
0.802748
0.802748
0.802748
0.802748
0.802748
0.802748
0
0
0.23115
1,618
50
77
32.36
0.819132
0.027812
0
0.684211
0
0
0.086097
0
0
0
0
0
0
1
0.052632
false
0
0.105263
0.052632
0.605263
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
7
2762c9973cb9d66693a26a43ece8a7fd87d5a2c8
2,634
py
Python
netbox/ipam/migrations/0044_standardize_models.py
orphanedgamboa/netbox
5cdc38ec3adb5278480b267a6c8e674e9d3fca39
[ "Apache-2.0" ]
1
2022-02-18T03:00:08.000Z
2022-02-18T03:00:08.000Z
netbox/ipam/migrations/0044_standardize_models.py
emersonfelipesp/netbox
fecca5ad83fb6b48a2f15982dfd3242653f105f9
[ "Apache-2.0" ]
1
2021-08-23T15:38:47.000Z
2021-08-23T15:40:10.000Z
netbox/ipam/migrations/0044_standardize_models.py
emersonfelipesp/netbox
fecca5ad83fb6b48a2f15982dfd3242653f105f9
[ "Apache-2.0" ]
1
2018-12-05T12:03:21.000Z
2018-12-05T12:03:21.000Z
import django.core.serializers.json from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('ipam', '0043_add_tenancy_to_aggregates'), ] operations = [ migrations.AddField( model_name='rir', name='custom_field_data', ...
33.769231
117
0.580486
239
2,634
6.259414
0.205021
0.078209
0.167112
0.19385
0.81484
0.81484
0.81484
0.81484
0.81484
0.81484
0
0.002186
0.305239
2,634
77
118
34.207792
0.815301
0
0
0.794521
0
0
0.070615
0.01139
0
0
0
0
0
1
0
false
0
0.027397
0
0.068493
0
0
0
0
null
0
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
8
278cb08cfff66333b600950dd0e23594fef0a259
1,934
py
Python
tests/test_read_types.py
OrangutanGaming/django-enhanced-settings
87f4a840953e4bcdc85af96ee4b6baf2df6043a3
[ "MIT" ]
null
null
null
tests/test_read_types.py
OrangutanGaming/django-enhanced-settings
87f4a840953e4bcdc85af96ee4b6baf2df6043a3
[ "MIT" ]
null
null
null
tests/test_read_types.py
OrangutanGaming/django-enhanced-settings
87f4a840953e4bcdc85af96ee4b6baf2df6043a3
[ "MIT" ]
null
null
null
import pytest from django_enhanced_settings import read_types def test_read_str(): assert read_types.read_str('abc') == 'abc' with pytest.raises(ValueError, match=r".+ str"): read_types.read_str(123) assert read_types.read_str('123') == '123' with pytest.raises(ValueError, match=r".+ str"): ...
37.921569
67
0.6303
284
1,934
4.070423
0.119718
0.217993
0.303633
0.262976
0.878028
0.816609
0.74827
0.573529
0.573529
0.573529
0
0.029114
0.18304
1,934
50
68
38.68
0.702532
0
0
0.255814
0
0
0.071355
0
0
0
0
0
0.372093
1
0.069767
true
0
0.046512
0
0.116279
0
0
0
0
null
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
7
7e01a06a565514f55020329deca6542ae8483479
1,965
py
Python
mlp_mixer/models.py
isaaccorley/mlp-mixer-pytorch
c890e9fe5eabf38049c4e5a998d4cb3902a02a62
[ "MIT" ]
30
2021-05-05T06:25:32.000Z
2022-02-01T11:08:18.000Z
mlp_mixer/models.py
isaaccorley/mlp-mixer-pytorch
c890e9fe5eabf38049c4e5a998d4cb3902a02a62
[ "MIT" ]
2
2021-05-06T14:41:56.000Z
2021-05-28T18:27:59.000Z
mlp_mixer/models.py
isaaccorley/mlp-mixer-pytorch
c890e9fe5eabf38049c4e5a998d4cb3902a02a62
[ "MIT" ]
5
2021-06-07T11:56:26.000Z
2022-02-01T11:08:19.000Z
from mlp_mixer import MLPMixer def mlp_mixer_s16(num_classes: int, image_size: int = 224, channels: int = 3): params = dict(patch_size=16, num_layers=8, hidden_dim=512, tokens_hidden_dim=256, channels_hidden_dim=2048) return MLPMixer(num_classes, image_size, channels, **params) def mlp_mixe...
51.710526
78
0.716031
292
1,965
4.503425
0.157534
0.143726
0.058555
0.095817
0.906464
0.906464
0.906464
0.906464
0.870722
0.870722
0
0.087578
0.180662
1,965
37
79
53.108108
0.729193
0
0
0.448276
0
0
0
0
0
0
0
0
0
1
0.241379
false
0
0.034483
0
0.517241
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
1
0
0
8
fd7f2dc3426246287bad4f40d8250630824d045f
95
py
Python
DST_als/utils/get_root_path.py
cyberfish1120/DST_als
7ec706cf93b8e99b5c85259a1a4e434faada1fce
[ "Apache-2.0" ]
null
null
null
DST_als/utils/get_root_path.py
cyberfish1120/DST_als
7ec706cf93b8e99b5c85259a1a4e434faada1fce
[ "Apache-2.0" ]
null
null
null
DST_als/utils/get_root_path.py
cyberfish1120/DST_als
7ec706cf93b8e99b5c85259a1a4e434faada1fce
[ "Apache-2.0" ]
null
null
null
import os def get_root_path(): return os.path.dirname(__file__).split('DST_als/utils')[0]
19
62
0.726316
16
95
3.875
0.875
0
0
0
0
0
0
0
0
0
0
0.011905
0.115789
95
4
63
23.75
0.72619
0
0
0
0
0
0.136842
0
0
0
0
0
0
1
0.333333
true
0
0.333333
0.333333
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
1
1
0
0
7
fde463ee3dda763dd624ff213e5ebc0003beed53
84
py
Python
tests/test_factory.py
conrad-evans/sports_betting_api
baa80df5608c1cc244f51be86ba29eaabd8f031e
[ "MIT" ]
null
null
null
tests/test_factory.py
conrad-evans/sports_betting_api
baa80df5608c1cc244f51be86ba29eaabd8f031e
[ "MIT" ]
null
null
null
tests/test_factory.py
conrad-evans/sports_betting_api
baa80df5608c1cc244f51be86ba29eaabd8f031e
[ "MIT" ]
null
null
null
from src import create_app def test_config(): assert not create_app().testing
14
35
0.75
13
84
4.615385
0.846154
0.3
0
0
0
0
0
0
0
0
0
0
0.178571
84
5
36
16.8
0.869565
0
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
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
1
0
1
0
1
0
0
7
e33a5de43caed5fe0e8d1ecae8326b695e7fd562
88
py
Python
file_validator/reader/__init__.py
sujavarghese/data-validator
e0c5d94da797cb43b17d6ee193d337cbcb602f49
[ "MIT" ]
null
null
null
file_validator/reader/__init__.py
sujavarghese/data-validator
e0c5d94da797cb43b17d6ee193d337cbcb602f49
[ "MIT" ]
null
null
null
file_validator/reader/__init__.py
sujavarghese/data-validator
e0c5d94da797cb43b17d6ee193d337cbcb602f49
[ "MIT" ]
null
null
null
from file_validator.reader.reader import * from file_validator.reader.messages import *
29.333333
44
0.840909
12
88
6
0.5
0.222222
0.472222
0.638889
0
0
0
0
0
0
0
0
0.090909
88
2
45
44
0.9
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
0
0
0
7
e3722f17eaa9f5df4575252cda8b370a7d1803f8
1,364
py
Python
dnnae/configs/configs.py
myinxd/dnnae-gmm
e1c59e2e93772a36797812169cae119ac00184c5
[ "MIT" ]
4
2018-03-29T12:00:22.000Z
2020-03-06T17:30:46.000Z
dnnae/configs/configs.py
myinxd/dnnae-gmm
e1c59e2e93772a36797812169cae119ac00184c5
[ "MIT" ]
null
null
null
dnnae/configs/configs.py
myinxd/dnnae-gmm
e1c59e2e93772a36797812169cae119ac00184c5
[ "MIT" ]
null
null
null
# Copyright (C) 2018 Zhixian MA <zx@mazhixian.me> # MIT liscence """Configurations for the DNNAE network.""" import tensorflow as tf class config_mnist_bn(object): rs = 28 inputs = tf.placeholder(dtype=tf.float32, shape=(None,rs**2), name='x_in') outputs = tf.placeholder(dtype=tf.float32, shape=(None,rs*...
31.72093
83
0.658358
204
1,364
4.303922
0.343137
0.118451
0.164009
0.182232
0.71754
0.71754
0.71754
0.71754
0.71754
0.71754
0
0.059567
0.187683
1,364
42
84
32.47619
0.732852
0.072581
0
0.625
0
0
0.038156
0
0
0
0
0
0
1
0
false
0
0.03125
0
1
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