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
af3094c39337cc94b6cb5685b562a5ae963b20d3
80
py
Python
learnpythonthehardway/projects/ex48/tests/ex48_tests.py
resonanttoe/educationalstuff
e20f229cbf8f4dacef3f1f51127af251d9219a89
[ "Unlicense" ]
null
null
null
learnpythonthehardway/projects/ex48/tests/ex48_tests.py
resonanttoe/educationalstuff
e20f229cbf8f4dacef3f1f51127af251d9219a89
[ "Unlicense" ]
null
null
null
learnpythonthehardway/projects/ex48/tests/ex48_tests.py
resonanttoe/educationalstuff
e20f229cbf8f4dacef3f1f51127af251d9219a89
[ "Unlicense" ]
null
null
null
from nose.tools import * from ex48 import lexicon def test_directions(): pass
13.333333
24
0.775
12
80
5.083333
0.833333
0
0
0
0
0
0
0
0
0
0
0.029851
0.1625
80
5
25
16
0.880597
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
true
0.25
0.5
0
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
1
0
1
0
0
7
afb05b0d4b8ec4395e589dfb143e90ee26385bd4
1,147
py
Python
day06/Day6.py
EtherealFog/aoc2017
896b875780895b5014bd1cc6b3b65bf3e00fa07e
[ "MIT" ]
null
null
null
day06/Day6.py
EtherealFog/aoc2017
896b875780895b5014bd1cc6b3b65bf3e00fa07e
[ "MIT" ]
null
null
null
day06/Day6.py
EtherealFog/aoc2017
896b875780895b5014bd1cc6b3b65bf3e00fa07e
[ "MIT" ]
null
null
null
def a(mem): seen = set() tup = tuple(mem) count = 0 while tup not in seen: seen.add(tup) index = 0 max = 0 for i in range(len(mem)): n = mem[i] if(n > max): max = n index = i mem[index] = 0 index += 1 while(max > 0): ...
20.482143
56
0.441151
170
1,147
2.976471
0.235294
0.063241
0.086957
0.063241
0.885375
0.885375
0.885375
0.885375
0.885375
0.885375
0
0.029326
0.405405
1,147
56
57
20.482143
0.71261
0
0
0.8
0
0
0.031386
0
0
0
0
0
0
1
0.04
false
0
0
0
0.08
0.04
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
afb2b52153a70ba458501fa384b4195a7d439e4b
100
py
Python
swinginghead/compiler/__init__.py
isidentical-archive/swinginghead
cabce05378ee8eea71afc98ff931e227cc55f7e8
[ "MIT" ]
8
2019-04-17T17:18:16.000Z
2019-04-21T20:37:47.000Z
swinginghead/compiler/__init__.py
isidentical/swinginghead
cabce05378ee8eea71afc98ff931e227cc55f7e8
[ "MIT" ]
null
null
null
swinginghead/compiler/__init__.py
isidentical/swinginghead
cabce05378ee8eea71afc98ff931e227cc55f7e8
[ "MIT" ]
null
null
null
from swinginghead.compiler.binder import Binder from swinginghead.compiler.compiler import Compiler
33.333333
51
0.88
12
100
7.333333
0.416667
0.363636
0.545455
0
0
0
0
0
0
0
0
0
0.08
100
2
52
50
0.956522
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
afb5a15640458fe892e1c29778ecb2af60ea6293
687
py
Python
imagepy/core/myvi/__init__.py
BioinfoTongLI/imagepy
b86f33f20e872ee8b86471a9ddfbd5ad064fd64d
[ "BSD-4-Clause" ]
23
2020-03-21T14:42:35.000Z
2022-03-20T11:09:37.000Z
imagepy/core/myvi/__init__.py
BioinfoTongLI/imagepy
b86f33f20e872ee8b86471a9ddfbd5ad064fd64d
[ "BSD-4-Clause" ]
2
2021-04-24T02:39:54.000Z
2021-09-12T11:39:08.000Z
imagepy/core/myvi/__init__.py
BioinfoTongLI/imagepy
b86f33f20e872ee8b86471a9ddfbd5ad064fd64d
[ "BSD-4-Clause" ]
4
2020-03-20T05:35:33.000Z
2021-08-22T06:21:42.000Z
''' As Mayavi is a little outdated, and not support wxphoenix So I wrote a simple one, and remove two a, M(a)y(a)vi.self.color = cs if isinstance(cs, tuple) else (0,0,0)self.color = cs if isinstance(cs, tuple) else (0,0,0)self.color = cs if isinstance(cs, tuple) else (0,0,0)self.color = cs if isinstance(cs, tuple) else...
85.875
531
0.703057
136
687
3.551471
0.25
0.074534
0.204969
0.242236
0.689441
0.689441
0.689441
0.689441
0.689441
0.689441
0
0.049488
0.147016
687
8
532
85.875
0.774744
0.857351
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
1
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
8
bb6235547777db3c7be0736cce10382aba1d030a
76
py
Python
Script/__init__.py
JamaSoftware/embedded-item-link-relationship-manager
b08964017f5413e57ba5382bde9f37134e8ccbbb
[ "MIT" ]
null
null
null
Script/__init__.py
JamaSoftware/embedded-item-link-relationship-manager
b08964017f5413e57ba5382bde9f37134e8ccbbb
[ "MIT" ]
null
null
null
Script/__init__.py
JamaSoftware/embedded-item-link-relationship-manager
b08964017f5413e57ba5382bde9f37134e8ccbbb
[ "MIT" ]
null
null
null
from Core import Config from Core import JamaClient from Core import Process
25.333333
27
0.855263
12
76
5.416667
0.5
0.369231
0.646154
0
0
0
0
0
0
0
0
0
0.144737
76
3
28
25.333333
1
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
bbc3e2756b809061f26354aacaa2a5b8cff7e706
174
py
Python
test/test_dancing_sentence.py
erichaase/topcoder-python
de285d8092a94f2ec1b5c0c33eba55b5c27a5390
[ "MIT" ]
1
2017-03-25T17:40:57.000Z
2017-03-25T17:40:57.000Z
test/test_dancing_sentence.py
erichaase/topcoder-python
de285d8092a94f2ec1b5c0c33eba55b5c27a5390
[ "MIT" ]
null
null
null
test/test_dancing_sentence.py
erichaase/topcoder-python
de285d8092a94f2ec1b5c0c33eba55b5c27a5390
[ "MIT" ]
null
null
null
from test.assert_json import assert_json from topcoder.dancing_sentence import solution def test_dancing_sentence (): assert_json('dancing_sentence', solution)
29
49
0.787356
22
174
5.909091
0.454545
0.230769
0
0
0
0
0
0
0
0
0
0
0.155172
174
5
50
34.8
0.884354
0
0
0
0
0
0.091954
0
0
0
0
0
0.5
1
0.25
true
0
0.5
0
0.75
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
1
0
1
1
0
1
0
1
0
0
8
a55506c4e8a9a454b334fcf74d5098e70df37320
2,154
py
Python
uniswap_digital_twin/suf_aux.py
BlockScience/uniswap_digital_twin
99ca1a96c4428e2b34b839eddc935603ce636849
[ "MIT" ]
1
2021-07-30T15:56:21.000Z
2021-07-30T15:56:21.000Z
uniswap_digital_twin/suf_aux.py
BlockScience/uniswap_digital_twin
99ca1a96c4428e2b34b839eddc935603ce636849
[ "MIT" ]
null
null
null
uniswap_digital_twin/suf_aux.py
BlockScience/uniswap_digital_twin
99ca1a96c4428e2b34b839eddc935603ce636849
[ "MIT" ]
null
null
null
from policy_aux import get_output_amount # RAI functions def mint_RAI(_params, substep, sH, s, _input): token_reserve = s['RAI_balance'] return ('RAI_balance', token_reserve + _input['token_deposit']) def removeLiquidity_RAI(_params, substep, sH, s, _input): token_reserve = s['RAI_balance'] return ...
30.338028
76
0.679666
326
2,154
4.107362
0.141104
0.097087
0.100822
0.107543
0.800597
0.747573
0.713966
0.713966
0.68708
0.646751
0
0.001151
0.193593
2,154
71
77
30.338028
0.769718
0.088672
0
0.4
0
0
0.182004
0
0
0
0
0
0
1
0.222222
false
0
0.022222
0
0.511111
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
a599b5912c975b490b9700e28fcd179d52392350
1,212
py
Python
taskit/application/reporters/state_reporter.py
MarlonIC/demo-clean-architecture-projects-tasks
86f5add11145ec31404b4d41cad0467e6e436f77
[ "MIT" ]
11
2018-06-06T03:07:35.000Z
2020-04-16T21:35:16.000Z
taskit/application/reporters/state_reporter.py
MarlonIC/demo-clean-architecture-projects-tasks
86f5add11145ec31404b4d41cad0467e6e436f77
[ "MIT" ]
2
2021-03-25T23:00:06.000Z
2021-06-02T00:28:30.000Z
taskit/application/reporters/state_reporter.py
MarlonIC/demo-clean-architecture-projects-tasks
86f5add11145ec31404b4d41cad0467e6e436f77
[ "MIT" ]
5
2020-06-24T02:22:08.000Z
2021-11-11T07:33:23.000Z
from abc import ABC, abstractmethod from typing import List, Dict class StateReporter(ABC): @abstractmethod def list_tasks(self, offset=0, limit=10) -> List[Dict[str, str]]: """List all the persisted tasks""" @abstractmethod def list_tasks_in_project(self, project_id: str) -> List[Dict[str, ...
32.756757
77
0.658416
166
1,212
4.698795
0.168675
0.107692
0.112821
0.14359
0.820513
0.784615
0.784615
0.784615
0.784615
0.784615
0
0.012422
0.20297
1,212
36
78
33.666667
0.795031
0.238449
0
0.75
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0.125
0
0.75
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
9
a59e875f5c04de41b9e55db4e0be536aff70ca2a
672
py
Python
zzgui/qt5/widgets/__init__.py
AndreiPuchko/zzgui
294cb9ed14a52dc5a30e098613ad7aa72ce88d02
[ "Apache-2.0" ]
1
2021-11-25T09:52:28.000Z
2021-11-25T09:52:28.000Z
zzgui/qt5/widgets/__init__.py
AndreiPuchko/zzgui
294cb9ed14a52dc5a30e098613ad7aa72ce88d02
[ "Apache-2.0" ]
null
null
null
zzgui/qt5/widgets/__init__.py
AndreiPuchko/zzgui
294cb9ed14a52dc5a30e098613ad7aa72ce88d02
[ "Apache-2.0" ]
null
null
null
from zzgui.qt5.widgets import ( zzlabel, zzline, zzframe, zzcheck, zztoolbar, zztab, zztext, zzcode, zzbutton, zzrelation, zzradio, zzlookup, zzcombo, zztoolbutton, zzprogressbar, zzgrid, zzsheet, zzscroller, zzdate, zzspace, zzlist, ...
12.679245
31
0.566964
51
672
7.470588
0.54902
0.068241
0.104987
0.141732
0.934383
0.934383
0.934383
0.934383
0.934383
0.934383
0
0.002309
0.355655
672
52
32
12.923077
0.877598
0
0
0.92
0
0
0
0
0
0
0
0
0
1
0
true
0
0.02
0
0.02
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
1
0
0
0
0
0
0
8
3c6903ceccf4ffbb1a988e78bd26b31de5a1044c
7,679
py
Python
klejbenchmark_baselines/task.py
allegro/klejbenchmark-baselines
0d4358866ee65feaa72978c9eab519762bbfa833
[ "Apache-2.0" ]
14
2020-07-08T10:09:49.000Z
2021-11-07T15:37:38.000Z
klejbenchmark_baselines/task.py
allegro/klejbenchmark-baselines
0d4358866ee65feaa72978c9eab519762bbfa833
[ "Apache-2.0" ]
null
null
null
klejbenchmark_baselines/task.py
allegro/klejbenchmark-baselines
0d4358866ee65feaa72978c9eab519762bbfa833
[ "Apache-2.0" ]
3
2020-11-28T16:38:40.000Z
2021-08-14T14:44:58.000Z
import typing as t import numpy as np import pandas as pd from scipy.stats import spearmanr from sklearn.metrics import accuracy_score, f1_score from klejbenchmark_baselines.config import Config from klejbenchmark_baselines.metrics import weighted_mean_absolute_error class BaseTask: output_type = None trai...
29.879377
92
0.663237
985
7,679
4.981726
0.11066
0.079886
0.069493
0.082128
0.801712
0.797228
0.781333
0.781333
0.781333
0.781333
0
0.00697
0.215262
7,679
256
93
29.996094
0.807335
0
0
0.644068
0
0
0.098971
0
0
0
0
0
0
1
0.237288
false
0
0.039548
0.20339
0.768362
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
1
1
0
0
9
3c7899f9bacf793baf214d77311e8f036989f354
85,444
py
Python
manuscript_code/regression_JAMES/experiments.py
eabarnes1010/controlled_abstention_networks
4519ff710d2562a25045d0a2bdd26b3b6a98fa32
[ "MIT" ]
8
2021-04-23T03:06:03.000Z
2022-01-03T08:36:32.000Z
manuscript_code/regression_JAMES/experiments.py
eabarnes1010/controlled_abstention_networks
4519ff710d2562a25045d0a2bdd26b3b6a98fa32
[ "MIT" ]
null
null
null
manuscript_code/regression_JAMES/experiments.py
eabarnes1010/controlled_abstention_networks
4519ff710d2562a25045d0a2bdd26b3b6a98fa32
[ "MIT" ]
4
2021-06-23T17:48:33.000Z
2022-01-02T04:10:37.000Z
"""Classification with abstention network architecture.""" import numpy as np np.warnings.filterwarnings('ignore', category=np.VisibleDeprecationWarning) __author__ = "Elizabeth A. Barnes and Randal J. Barnes" __date__ = "March 17, 2021" #---------------------------------------------------------------- def define...
45.691979
91
0.286667
5,031
85,444
4.650765
0.037567
0.023335
0.03573
0.042226
0.872254
0.870374
0.870374
0.870374
0.867211
0.863407
0
0.093363
0.605508
85,444
1,869
92
45.716426
0.600795
0.002739
0
0.908257
0
0
0.243797
0
0
0
0
0
0
1
0.00054
false
0
0.00054
0
0.001619
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
3c81d02103c2b92d7909aa0a7c8759eae8cf6547
127
py
Python
tests/parser/aggregates.ordering.3.test.py
veltri/DLV2
944aaef803aa75e7ec51d7e0c2b0d964687fdd0e
[ "Apache-2.0" ]
null
null
null
tests/parser/aggregates.ordering.3.test.py
veltri/DLV2
944aaef803aa75e7ec51d7e0c2b0d964687fdd0e
[ "Apache-2.0" ]
null
null
null
tests/parser/aggregates.ordering.3.test.py
veltri/DLV2
944aaef803aa75e7ec51d7e0c2b0d964687fdd0e
[ "Apache-2.0" ]
null
null
null
input = """ ok:- #count{V:b(V)}=X, not p(X). b(1). p(2). """ output = """ ok:- #count{V:b(V)}=X, not p(X). b(1). p(2). """
9.769231
33
0.401575
28
127
1.821429
0.392857
0.27451
0.313725
0.352941
0.784314
0.784314
0.784314
0.784314
0.784314
0.784314
0
0.038835
0.188976
127
12
34
10.583333
0.456311
0
0
0.8
0
0
0.755906
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
1
null
1
1
1
0
1
1
1
1
1
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
13
b1d516dff6a2ffc8f0c0d68d9b7a2073d547fef0
16,049
py
Python
thornode_client/thornode_client/api/pools_api.py
hoodieonwho/thorchain-python-client
fccfd66552e16bdab1dbb90b68022475c7a9693d
[ "MIT" ]
null
null
null
thornode_client/thornode_client/api/pools_api.py
hoodieonwho/thorchain-python-client
fccfd66552e16bdab1dbb90b68022475c7a9693d
[ "MIT" ]
null
null
null
thornode_client/thornode_client/api/pools_api.py
hoodieonwho/thorchain-python-client
fccfd66552e16bdab1dbb90b68022475c7a9693d
[ "MIT" ]
null
null
null
# coding: utf-8 """ THORChain API This documentation outlines the API for THORChain. NOTE: This document is a **work in progress**. # noqa: E501 OpenAPI spec version: Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import re # no...
38.672289
137
0.606704
1,896
16,049
4.863397
0.082278
0.052923
0.015942
0.031233
0.933413
0.929509
0.926581
0.911289
0.895022
0.892745
0
0.016983
0.306561
16,049
414
138
38.7657
0.811573
0.323883
0
0.78341
0
0
0.171986
0.05913
0
0
0
0
0
1
0.041475
false
0
0.018433
0
0.119816
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
b1fbc1f1fee7b80fcc174cea5d70f5ca2204eccc
65,298
py
Python
tests/v3_validation/cattlevalidationtest/core/test_github_auth.py
bmdepesa/validation-tests
23e7ab95ce76744483a0657f790b42a88a93436d
[ "Apache-2.0" ]
7
2015-11-18T17:43:08.000Z
2021-07-14T09:48:18.000Z
tests/v3_validation/cattlevalidationtest/core/test_github_auth.py
bmdepesa/validation-tests
23e7ab95ce76744483a0657f790b42a88a93436d
[ "Apache-2.0" ]
175
2015-07-09T18:41:24.000Z
2021-06-10T21:23:27.000Z
tests/v3_validation/cattlevalidationtest/core/test_github_auth.py
bmdepesa/validation-tests
23e7ab95ce76744483a0657f790b42a88a93436d
[ "Apache-2.0" ]
25
2015-08-08T04:54:24.000Z
2021-05-25T21:10:37.000Z
from common_fixtures import * # NOQA from selenium import webdriver from requests.auth import AuthBase from github import GitHub import requests import json if_test_github = pytest.mark.skipif( not os.environ.get('GITHUB_MAIN_USER') or not os.environ.get('GITHUB_MAIN_PASS') or not os.environ.get('GITHUB_U...
33.129376
78
0.586128
7,320
65,298
4.92377
0.043852
0.031352
0.036513
0.023084
0.872565
0.854947
0.834998
0.818906
0.797708
0.786832
0
0.014158
0.321802
65,298
1,970
79
33.146193
0.799706
0.027826
0
0.752322
0
0
0.079254
0.001514
0
0
0
0
0.063158
1
0.022291
false
0.0613
0.003715
0.000619
0.030341
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
5933a820d4ad274236f7ee8827fb25d3501fd85d
28,071
py
Python
UnityEngine/Material/__init__.py
Grim-es/udon-pie-auto-completion
c2cd86554ed615cdbbb01e19fa40665eafdfaedc
[ "MIT" ]
null
null
null
UnityEngine/Material/__init__.py
Grim-es/udon-pie-auto-completion
c2cd86554ed615cdbbb01e19fa40665eafdfaedc
[ "MIT" ]
null
null
null
UnityEngine/Material/__init__.py
Grim-es/udon-pie-auto-completion
c2cd86554ed615cdbbb01e19fa40665eafdfaedc
[ "MIT" ]
null
null
null
from typing import overload from UdonPie import System from UdonPie import UnityEngine from UdonPie.Undefined import * class Material: def __new__(cls, arg1=None): ''' :returns: Material :rtype: UnityEngine.Material ''' pass @staticmethod def op_Implicit(arg1): ...
21.444614
77
0.546258
2,476
28,071
6.180937
0.044426
0.151594
0.077757
0.130554
0.901137
0.867355
0.855659
0.804169
0.699621
0.585533
0
0.042374
0.364433
28,071
1,308
78
21.461009
0.815425
0.404688
0
0.839147
0
0
0
0
0
0
0
0
0
1
0.282946
false
0.294574
0.007752
0
0.292636
0
0
0
0
null
0
0
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
7
59436e193927616822088b57c9249e95a1de5479
9,908
py
Python
openfermioncirq/variational/ansatzes/low_rank_test.py
jarrodmcc/OpenFermion-Cirq
d0755e92e68c6de1b52f5004dc5a75b445f01349
[ "Apache-2.0" ]
null
null
null
openfermioncirq/variational/ansatzes/low_rank_test.py
jarrodmcc/OpenFermion-Cirq
d0755e92e68c6de1b52f5004dc5a75b445f01349
[ "Apache-2.0" ]
null
null
null
openfermioncirq/variational/ansatzes/low_rank_test.py
jarrodmcc/OpenFermion-Cirq
d0755e92e68c6de1b52f5004dc5a75b445f01349
[ "Apache-2.0" ]
null
null
null
# Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distribu...
37.108614
78
0.265644
1,441
9,908
2.593338
0.095767
0.223709
0.260102
0.246187
0.715012
0.668718
0.630987
0.598609
0.514049
0.504951
0
0.094164
0.53482
9,908
266
79
37.24812
0.409416
0.058034
0
0.729958
0
0
0.781498
0.079202
0
0
0
0
0.025316
1
0.016878
false
0
0.012658
0
0.029536
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
1
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
594f27f8236362ef83e3a3786c91cb306cbe6f07
30,437
py
Python
polynomials_on_simplices/polynomial/test/polynomials_unit_simplex_lagrange_basis_test.py
FAndersson/polynomials_on_simplices
f015a4772c817bfa99b0d6b726667a38a174b064
[ "MIT" ]
1
2021-03-17T11:41:21.000Z
2021-03-17T11:41:21.000Z
polynomials_on_simplices/polynomial/test/polynomials_unit_simplex_lagrange_basis_test.py
FAndersson/polynomials_on_simplices
f015a4772c817bfa99b0d6b726667a38a174b064
[ "MIT" ]
null
null
null
polynomials_on_simplices/polynomial/test/polynomials_unit_simplex_lagrange_basis_test.py
FAndersson/polynomials_on_simplices
f015a4772c817bfa99b0d6b726667a38a174b064
[ "MIT" ]
null
null
null
import sys import numpy as np import pytest import polynomials_on_simplices.algebra.multiindex as multiindex from polynomials_on_simplices.calculus.finite_difference import central_difference, central_difference_jacobian from polynomials_on_simplices.geometry.mesh.simplicial_complex import ( simplex_dimension, si...
38.527848
116
0.514374
4,344
30,437
3.452118
0.048573
0.03921
0.045212
0.046412
0.849226
0.805281
0.769605
0.76227
0.740664
0.705388
0
0.057753
0.346355
30,437
789
117
38.576679
0.696004
0.068864
0
0.7375
0
0.023438
0.043924
0
0
0
0
0
0.142188
1
0.075
false
0
0.01875
0.023438
0.125
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
3ca57caeffb96a1c8a1c4a2cfb6ec8adff64471d
6,038
py
Python
tests/test_cohort_query.py
ImagingDataCommons/ISB-CGC-API
d3207a6ada958ad5ac3cb8834b216ec1108dcf1c
[ "Apache-2.0" ]
null
null
null
tests/test_cohort_query.py
ImagingDataCommons/ISB-CGC-API
d3207a6ada958ad5ac3cb8834b216ec1108dcf1c
[ "Apache-2.0" ]
5
2020-07-07T23:45:21.000Z
2021-06-11T17:52:29.000Z
tests/test_cohort_query.py
ImagingDataCommons/ISB-CGC-API
d3207a6ada958ad5ac3cb8834b216ec1108dcf1c
[ "Apache-2.0" ]
2
2019-10-15T01:17:35.000Z
2021-04-05T19:54:12.000Z
# # Copyright 2020, Institute for Systems Biology # # 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 ag...
38.21519
203
0.649553
681
6,038
5.610866
0.221733
0.087935
0.053389
0.075373
0.822298
0.80581
0.783826
0.737242
0.725465
0.725465
0
0.121734
0.220437
6,038
158
204
38.21519
0.690036
0.096058
0
0.704762
0
0.095238
0.337192
0.151047
0
0
0
0
0.238095
1
0.028571
false
0
0.028571
0
0.057143
0.009524
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
3cce4baf035b68f8de841cba998cb8012dd60072
2,598
py
Python
src/harrastuspassi/harrastuspassi/tests/test_lipas_importer.py
savilmik/harrastuspassi-backend
885c6903a753c7eea29d23f98275747edcdab892
[ "MIT" ]
2
2019-07-29T09:34:47.000Z
2020-08-24T18:15:06.000Z
src/harrastuspassi/harrastuspassi/tests/test_lipas_importer.py
savilmik/harrastuspassi-backend
885c6903a753c7eea29d23f98275747edcdab892
[ "MIT" ]
72
2019-08-08T10:36:21.000Z
2022-03-11T23:55:56.000Z
src/harrastuspassi/harrastuspassi/tests/test_lipas_importer.py
savilmik/harrastuspassi-backend
885c6903a753c7eea29d23f98275747edcdab892
[ "MIT" ]
6
2019-08-08T13:26:07.000Z
2021-05-03T06:09:10.000Z
import datetime import pytest from freezegun import freeze_time from django.core.files.base import ContentFile from harrastuspassi.management.commands.import_lipas import Command as LipasImportCommand from harrastuspassi.models import Hobby, HobbyEvent pytest_plugins = ['harrastuspassi.tests.fixtures_lipas'] @pytest...
39.363636
89
0.745189
358
2,598
5.089385
0.148045
0.061471
0.074643
0.100988
0.841383
0.841383
0.841383
0.804061
0.761251
0.761251
0
0.017387
0.136644
2,598
65
90
39.969231
0.794918
0
0
0.745455
0
0
0.06546
0.013477
0
0
0
0
0.290909
1
0.072727
false
0.054545
0.254545
0
0.327273
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
59c40f1e84e1d6143487ad7bde7df8350eee1a7e
147,998
py
Python
icon.py
ssiiaagg/polaris
f777a39750484455bdd20709a4a6db34eda5d6d9
[ "Apache-2.0" ]
1
2020-01-12T17:16:21.000Z
2020-01-12T17:16:21.000Z
icon.py
ssiiaagg/polaris
f777a39750484455bdd20709a4a6db34eda5d6d9
[ "Apache-2.0" ]
null
null
null
icon.py
ssiiaagg/polaris
f777a39750484455bdd20709a4a6db34eda5d6d9
[ "Apache-2.0" ]
null
null
null
class Icon(object): def __init__(self): self.img='AAABAAYAAAAAAAEAIAD+KwAAZgAAAICAAAABACAAKAgBAGQsAABAQAAAAQAgAChCAACMNAEAMDAAAAEAIACoJQAAtHYBACAgAAABACAAqBAAAFycAQAQEAAAAQAgAGgEAAAErQEAiVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAQAAAD2e2DtAAArxUlEQVR42u2dZ2AUZRrHf7OphACh9w5SBEQF1ENFLIgNVMSCXRGxoOgpqCeInF1PbKhgAxQsWEBsYMcCKip...
49,332.666667
147,957
0.97427
2,088
147,998
69.054598
0.617816
0.006991
0.006991
0.00602
0.004661
0.003731
0.002857
0.002538
0.002538
0.001706
0
0.024866
0.000047
147,998
3
147,957
49,332.666667
0.949423
0
0
0
0
0.333333
0.999628
0.999628
0
1
0
0
0
1
0.333333
false
0
0
0
0.666667
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
0
0
0
0
0
1
1
1
null
1
0
0
0
0
1
0
0
0
0
1
0
0
10
abd56e4a60ccbca1bd98d78a5178b01d9582ae8a
26,375
py
Python
OCR_test.py
JuanLeee/Kbot
1013f086bec682c93b9104b31748d7c4bcd5a957
[ "MIT" ]
null
null
null
OCR_test.py
JuanLeee/Kbot
1013f086bec682c93b9104b31748d7c4bcd5a957
[ "MIT" ]
null
null
null
OCR_test.py
JuanLeee/Kbot
1013f086bec682c93b9104b31748d7c4bcd5a957
[ "MIT" ]
null
null
null
import cv2 import pytesseract import os import numpy as np import re from pytessy.pytessy import PyTessy import logging import string, re import sys import unittest from tesseract_ocr import * class TestOCRCheck(unittest.TestCase): def setUp(self): self.ocr = OCR_PyTes() def tearDown(self) -> ...
48.394495
72
0.665403
3,806
26,375
4.426169
0.049658
0.101805
0.143654
0.215481
0.948474
0.948474
0.948474
0.948415
0.948237
0.785943
0
0.088728
0.185972
26,375
545
73
48.394495
0.695901
0
0
0.645435
0
0
0.034463
0
0
0
0
0
0.5138
1
0.152866
false
0
0.023355
0
0.178344
0.5138
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
1
0
0
0
0
0
0
0
1
0
9
e607a42923a29f1a18b96dd04e079f04f20e32ed
11,364
py
Python
attack_utils.py
KieranXWang/HRS
3999cd036ee9da59f4d82619bd540e93d5258f7c
[ "MIT" ]
5
2019-09-05T15:18:52.000Z
2022-03-28T08:15:47.000Z
attack_utils.py
VictoriaWSY/HRS
eb7061e225b3e647dc266a91fc473e0d98f3ea4e
[ "MIT" ]
1
2021-07-26T13:05:49.000Z
2021-07-26T13:05:49.000Z
attack_utils.py
VictoriaWSY/HRS
eb7061e225b3e647dc266a91fc473e0d98f3ea4e
[ "MIT" ]
6
2019-09-18T02:11:12.000Z
2022-03-11T08:45:03.000Z
import tensorflow as tf import numpy as np # FGSM class FGSM(object): def __init__(self, model, epsilon, dataset='CIFAR'): self.model = model self.epsilon = epsilon if dataset == 'CIFAR': self.height = 32 self.width = 32 self.channel = 3 elif d...
33.922388
123
0.603749
1,582
11,364
4.158028
0.082807
0.0564
0.076923
0.043326
0.903314
0.877774
0.861204
0.853755
0.850562
0.84433
0
0.012182
0.270415
11,364
334
124
34.023952
0.781209
0.063534
0
0.809756
0
0
0.009069
0
0
0
0
0
0
1
0.058537
false
0
0.009756
0
0.126829
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
e626a1b222e99a76759f107754bda93431ec27f2
355
py
Python
tests/internal/instance_type/test_instance_type_g5g_auto.py
frolovv/aws.ec2.compare
582805823492f833d65c0441c4a14dce697c12aa
[ "Apache-2.0" ]
null
null
null
tests/internal/instance_type/test_instance_type_g5g_auto.py
frolovv/aws.ec2.compare
582805823492f833d65c0441c4a14dce697c12aa
[ "Apache-2.0" ]
null
null
null
tests/internal/instance_type/test_instance_type_g5g_auto.py
frolovv/aws.ec2.compare
582805823492f833d65c0441c4a14dce697c12aa
[ "Apache-2.0" ]
null
null
null
# Testing module instance_type.g5g import pytest import ec2_compare.internal.instance_type.g5g def test_get_internal_data_instance_type_g5g_get_instances_list(): assert len(ec2_compare.internal.instance_type.g5g.get_instances_list()) > 0 def test_get_internal_data_instance_type_g5g_get(): assert len(ec2_compare.i...
35.5
77
0.850704
56
355
4.946429
0.339286
0.259928
0.32491
0.259928
0.826715
0.826715
0.613718
0.613718
0.613718
0
0
0.033435
0.073239
355
9
78
39.444444
0.808511
0.090141
0
0
0
0
0
0
0
0
0
0
0.333333
1
0.333333
true
0
0.333333
0
0.666667
0
0
0
0
null
1
1
1
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
0
0
10
55a7b9ccbf4c2191146ace60244cf7d7d15f523a
679
py
Python
study/hex2.py
chaeplin/btchip-python
a938ee4522228209c219e784edff15c193bfa7f6
[ "Apache-2.0" ]
null
null
null
study/hex2.py
chaeplin/btchip-python
a938ee4522228209c219e784edff15c193bfa7f6
[ "Apache-2.0" ]
null
null
null
study/hex2.py
chaeplin/btchip-python
a938ee4522228209c219e784edff15c193bfa7f6
[ "Apache-2.0" ]
1
2019-07-07T03:26:03.000Z
2019-07-07T03:26:03.000Z
import binascii QWERTY_KEYMAP = bytearray("000000000000000000000000760f00d4ffffffc7000000782c1e3420212224342627252e362d3738271e1f202122232425263333362e37381f0405060708090a0b0c0d0e0f101112131415161718191a1b1c1d2f3130232d350405060708090a0b0c0d0e0f101112131415161718191a1b1c1d2f313035".decode('hex')) print(QWERTY_KEYMA...
39.941176
281
0.907216
28
679
21.857143
0.535714
0.078431
0.055556
0
0
0
0
0
0
0
0
0.612654
0.045655
679
16
282
42.4375
0.33179
0
0
0
0
0
0.706922
0.701031
0
1
0
0
0
1
0
false
0
0.125
0
0.125
0.375
1
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
7
e9b40b4c44739a23b44a134773f80e78c9a77453
6,131
py
Python
loldib/getratings/models/NA/na_lux/na_lux_mid.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
loldib/getratings/models/NA/na_lux/na_lux_mid.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
loldib/getratings/models/NA/na_lux/na_lux_mid.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
from getratings.models.ratings import Ratings class NA_Lux_Mid_Aatrox(Ratings): pass class NA_Lux_Mid_Ahri(Ratings): pass class NA_Lux_Mid_Akali(Ratings): pass class NA_Lux_Mid_Alistar(Ratings): pass class NA_Lux_Mid_Amumu(Ratings): pass class NA_Lux_Mid_Anivia(Ratings): pass class NA_L...
14.702638
46
0.750938
972
6,131
4.3107
0.151235
0.230549
0.329356
0.428162
0.784726
0.784726
0
0
0
0
0
0
0.18121
6,131
416
47
14.737981
0.834661
0
0
0.498195
0
0
0
0
0
0
0
0
0
1
0
true
0.498195
0.00361
0
0.501805
0
0
0
0
null
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
1
0
0
7
75d75c2a11d247df5a759de927e4cb63caa308e2
15,818
py
Python
tests/test_blockio_larger_transactions.py
olamigokayphils/block_io-python
75a3bc9f56054a4a57c1d98642c5cba01f2fb33e
[ "MIT" ]
27
2015-01-08T18:47:37.000Z
2021-12-26T23:14:50.000Z
tests/test_blockio_larger_transactions.py
olamigokayphils/block_io-python
75a3bc9f56054a4a57c1d98642c5cba01f2fb33e
[ "MIT" ]
12
2015-01-12T13:40:06.000Z
2021-06-06T10:48:16.000Z
tests/test_blockio_larger_transactions.py
olamigokayphils/block_io-python
75a3bc9f56054a4a57c1d98642c5cba01f2fb33e
[ "MIT" ]
71
2015-01-28T08:40:25.000Z
2022-02-28T17:39:02.000Z
from block_io import BlockIo import os import unittest import time import json class TestBlockIoLargerTransactions(unittest.TestCase): def setUp(self): self.blockio = BlockIo("", "d1650160bd8d2bb32bebd139d0063eb6063ffa2f9e4501ad", 2) self.dtrust_keys = [ "b515fd806a662e061b488e78e5d...
58.585185
159
0.812302
2,011
15,818
5.871208
0.039781
0.231727
0.1057
0.195138
0.937749
0.927924
0.924621
0.924621
0.923096
0.893622
0
0.057283
0.125932
15,818
269
160
58.802974
0.796687
0.062397
0
0.340426
0
0
0.285695
0.285357
0
0
0
0
0.170213
1
0.184397
false
0
0.035461
0
0.234043
0
0
0
0
null
1
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
8
75f07230ebfb4e5a9315ef3cff89ae7a0c988c76
135
py
Python
historia/country/__init__.py
eranimo/historia
5e0b047d4bcdd534f48f8b9bf19d425b0b31a3fd
[ "MIT" ]
6
2016-04-26T18:39:36.000Z
2021-09-01T09:13:38.000Z
historia/country/__init__.py
eranimo/historia
5e0b047d4bcdd534f48f8b9bf19d425b0b31a3fd
[ "MIT" ]
null
null
null
historia/country/__init__.py
eranimo/historia
5e0b047d4bcdd534f48f8b9bf19d425b0b31a3fd
[ "MIT" ]
4
2016-04-10T23:47:23.000Z
2021-08-15T11:40:28.000Z
from historia.country.enums import * from historia.country.models import * from historia.country.country_service import create_country
33.75
59
0.851852
18
135
6.277778
0.444444
0.318584
0.504425
0.442478
0
0
0
0
0
0
0
0
0.088889
135
3
60
45
0.918699
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
f94f20dbab90edd776910995ed8e6d805c85a61a
10,827
py
Python
test/test_low_level.py
NKI-CCB/funcsfa
336655531f08aeec0077a443eeb76b92d6677b3a
[ "Apache-2.0" ]
1
2019-01-28T11:47:21.000Z
2019-01-28T11:47:21.000Z
test/test_low_level.py
NKI-CCB/funcsfa
336655531f08aeec0077a443eeb76b92d6677b3a
[ "Apache-2.0" ]
1
2018-11-21T09:37:45.000Z
2018-11-21T15:39:27.000Z
test/test_low_level.py
NKI-CCB/funcsfa
336655531f08aeec0077a443eeb76b92d6677b3a
[ "Apache-2.0" ]
null
null
null
import unittest import numpy as np from funcsfa._lib import Factorization, np_size_t class TestTwoDataTypes(unittest.TestCase): def setUp(self): self.n_features_split = [1000, 1243] self.n_features_split = np.asarray(self.n_features_split, np_size_t) self.n_features = np.sum(self.n_feat...
45.301255
76
0.588621
1,493
10,827
4.046216
0.068319
0.056282
0.071015
0.068532
0.971031
0.952988
0.950836
0.946035
0.946035
0.946035
0
0.032755
0.286598
10,827
238
77
45.491597
0.749353
0
0
0.917431
0
0
0.020504
0
0
0
0
0
0.233945
1
0.06422
false
0
0.013761
0
0.087156
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
f9531aed5941f82aa309e898eb7bd5a8d8590f3c
4,916
py
Python
hotstepper/mixins/MathFunctionsMixin.py
TangleSpace/hotstepper
4d8a278d94f19fee2bc4d3ba25628fa69ed3653d
[ "MIT" ]
12
2021-03-06T23:32:12.000Z
2021-11-06T20:58:43.000Z
hotstepper/mixins/MathFunctionsMixin.py
TangleSpace/hotstepper
4d8a278d94f19fee2bc4d3ba25628fa69ed3653d
[ "MIT" ]
5
2021-03-06T01:55:12.000Z
2021-03-13T23:01:32.000Z
hotstepper/mixins/MathFunctionsMixin.py
TangleSpace/hotstepper
4d8a278d94f19fee2bc4d3ba25628fa69ed3653d
[ "MIT" ]
1
2021-03-13T14:34:43.000Z
2021-03-13T14:34:43.000Z
from abc import ABC import numpy as np from hotstepper.mixins.operations import apply_math_function class MathFunctionsMixin(ABC): def __rfloordiv__(self,other): return apply_math_function(self,other,np.floor_divide) def __rtruediv__(self,other): return (self**-1)*other def __mod__(self...
29.793939
124
0.570179
581
4,916
4.695353
0.151463
0.069282
0.068548
0.084311
0.834677
0.792522
0.792522
0.792522
0.792522
0.733138
0
0.005212
0.336452
4,916
164
125
29.97561
0.831085
0.591131
0
0.214286
0
0
0
0
0
0
0
0
0
1
0.428571
false
0
0.107143
0.214286
1
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
1
1
0
0
9
f9627acf46f3f3e0602ca24154e2da3d6413c68e
461
py
Python
compoundinterest/__init__.py
zaafirrahman/compoundinterest
4b2244139b771acafa4a09c0bbf20ca5342e186b
[ "MIT" ]
1
2022-02-25T04:08:47.000Z
2022-02-25T04:08:47.000Z
compoundinterest/__init__.py
zaafirrahman/compoundinterest
4b2244139b771acafa4a09c0bbf20ca5342e186b
[ "MIT" ]
null
null
null
compoundinterest/__init__.py
zaafirrahman/compoundinterest
4b2244139b771acafa4a09c0bbf20ca5342e186b
[ "MIT" ]
null
null
null
def fp(i,n) : i /= 100 return (1+i)**n def pf(i,n) : i /= 100 return 1/((1+i)**n) def fa(i,n) : i /= 100 return (((1+i)**n)-1)/i def af(i,n) : i /= 100 return i/(((1+i)**n)-1) def pa(i,n) : i /= 100 return (((1+i)**n)-1)/(i*((1+i)**n)) def ap(i,n) : i /= 100 return (i*((1+i)**n))/(((1+i)**n...
14.40625
49
0.40564
107
461
1.747664
0.140187
0.213904
0.192513
0.256684
0.748663
0.716578
0.647059
0.620321
0.540107
0.454545
0
0.122905
0.223427
461
31
50
14.870968
0.399441
0
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
0
0
1
null
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
8
f99bd323f95204885e77c8cdc271aff5017c558a
165
py
Python
contrib/kmb_search/nn_cluster/io.py
gauenk/faiss_fork
f51ffb536f829358bd1907acda89dfc8c1bc4146
[ "MIT" ]
null
null
null
contrib/kmb_search/nn_cluster/io.py
gauenk/faiss_fork
f51ffb536f829358bd1907acda89dfc8c1bc4146
[ "MIT" ]
null
null
null
contrib/kmb_search/nn_cluster/io.py
gauenk/faiss_fork
f51ffb536f829358bd1907acda89dfc8c1bc4146
[ "MIT" ]
null
null
null
import torch import numpy as np from einops import rearrange,repeat def load_nn_model(model_info): return None def save_nn_model(model_info): return None
15
35
0.781818
27
165
4.555556
0.62963
0.113821
0.195122
0.260163
0.422764
0.422764
0
0
0
0
0
0
0.175758
165
10
36
16.5
0.904412
0
0
0.285714
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.428571
0.285714
1
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
7
f9ae09bf029f5c6ece3704cab88075f30655aaef
5,321
py
Python
rtl/tests/system-wb/tests.py
andars/4ft4
9417585b62b77f0bda72091bcc064eb2b8b623a8
[ "MIT" ]
null
null
null
rtl/tests/system-wb/tests.py
andars/4ft4
9417585b62b77f0bda72091bcc064eb2b8b623a8
[ "MIT" ]
null
null
null
rtl/tests/system-wb/tests.py
andars/4ft4
9417585b62b77f0bda72091bcc064eb2b8b623a8
[ "MIT" ]
null
null
null
import cocotb from cocotb.clock import Clock from cocotb.triggers import ClockCycles from cocotbext.wishbone.driver import WBOp, WishboneMaster @cocotb.test() async def test_system_wb_interface(dut): # start a 100 MHz clock clock = Clock(dut.clock, round(1e3/100), units="ns") cocotb.start_soon(clock.start(...
33.465409
84
0.562488
749
5,321
3.898531
0.176235
0.038356
0.028767
0.05274
0.909932
0.909932
0.909932
0.909932
0.883219
0.883219
0
0.045214
0.32663
5,321
158
85
33.677215
0.769746
0.137756
0
0.895833
0
0
0.062294
0
0
0
0.022812
0
0.0625
1
0
false
0
0.041667
0
0.041667
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
f9d47a00b205ccadc8ee42eb1403f11026826a0f
736
py
Python
python/testData/highlighting/fStringLiterals.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/highlighting/fStringLiterals.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/highlighting/fStringLiterals.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
a = <error descr="Python version 2.7 does not support a 'F' prefix">f</error>"" a = <error descr="Python version 2.7 does not support a 'F' prefix">F</error>"" a = <error descr="Python version 2.7 does not support a 'RF' prefix">rf</error>"" a = <error descr="Python version 2.7 does not support a 'FR' prefix">fr</error...
73.6
83
0.682065
135
736
3.718519
0.140741
0.10757
0.197211
0.304781
0.846614
0.846614
0.846614
0.846614
0.846614
0.846614
0
0.028662
0.146739
736
9
84
81.777778
0.770701
0
0
0
0
0
0.597826
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
10
ddfc1290f0735d16298001f8e834dfbf42fec68a
199
py
Python
tests/test_data_metric_connector/test_utils/test_file_size.py
Data-Metric/data-metric-connectors
774eadba58ad32ceace7b25f5bc8aa7448b1c67e
[ "MIT" ]
null
null
null
tests/test_data_metric_connector/test_utils/test_file_size.py
Data-Metric/data-metric-connectors
774eadba58ad32ceace7b25f5bc8aa7448b1c67e
[ "MIT" ]
null
null
null
tests/test_data_metric_connector/test_utils/test_file_size.py
Data-Metric/data-metric-connectors
774eadba58ad32ceace7b25f5bc8aa7448b1c67e
[ "MIT" ]
null
null
null
from data_metric_connector.utils.file_size import convert_size def test_convert_size(): assert convert_size(1024) == "1.0 KB" def test_convert_size_zero(): assert convert_size(0) == "0B"
19.9
62
0.748744
31
199
4.451613
0.580645
0.398551
0.202899
0.26087
0
0
0
0
0
0
0
0.047059
0.145729
199
9
63
22.111111
0.764706
0
0
0
0
0
0.040201
0
0
0
0
0
0.4
1
0.4
true
0
0.2
0
0.6
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
1
0
0
0
1
0
0
7
34f30c74ec4e68b37b9592ea158b1e212d70cbcf
1,330
py
Python
WebApp/maps/models.py
limeonion/Globetrotter
06bc7e06f4584593e170393a451401bac96511d9
[ "MIT" ]
null
null
null
WebApp/maps/models.py
limeonion/Globetrotter
06bc7e06f4584593e170393a451401bac96511d9
[ "MIT" ]
null
null
null
WebApp/maps/models.py
limeonion/Globetrotter
06bc7e06f4584593e170393a451401bac96511d9
[ "MIT" ]
null
null
null
from django.db import models from django_mysql.models import JSONField # Create your models here. #Model to store the search history class Data(models.Model): start_point = models.CharField(max_length=200) destination = models.CharField(max_length=200) search_date = models.DateField(auto_now=True) goo...
34.102564
56
0.755639
174
1,330
5.591954
0.229885
0.147996
0.203494
0.271326
0.811922
0.756423
0.756423
0.756423
0.722508
0.722508
0
0.044053
0.146617
1,330
39
57
34.102564
0.813216
0.042857
0
0.655172
0
0
0
0
0
0
0
0
0
1
0
false
0
0.068966
0
1
0
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
5500d067241a03ca8c0b1cf0195b9d1d97a692a5
49
py
Python
picomc/java/__init__.py
Zajozor/picomc
3df03c1191544053ea1e237b9860ed9f4782b029
[ "MIT" ]
46
2020-07-09T22:11:22.000Z
2022-03-29T05:44:23.000Z
picomc/java/__init__.py
Zajozor/picomc
3df03c1191544053ea1e237b9860ed9f4782b029
[ "MIT" ]
20
2020-07-13T19:59:48.000Z
2022-03-15T22:53:37.000Z
picomc/java/__init__.py
Zajozor/picomc
3df03c1191544053ea1e237b9860ed9f4782b029
[ "MIT" ]
6
2021-04-27T19:55:10.000Z
2022-01-11T10:07:21.000Z
from .javainfo import assert_java, get_java_info
24.5
48
0.857143
8
49
4.875
0.875
0
0
0
0
0
0
0
0
0
0
0
0.102041
49
1
49
49
0.886364
0
0
0
0
0
0
0
0
0
0
0
1
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
1
0
1
0
1
0
0
7
551acd85812ac4f266726d4b991f530e33d02846
257
py
Python
data/__init__.py
lucasvenez/mult
d5977f628f89a7f8f3ff31ba5c0b0be908d5e5c1
[ "Apache-2.0" ]
12
2020-10-13T01:27:35.000Z
2021-11-22T13:42:26.000Z
data/__init__.py
lucasvenez/mult
d5977f628f89a7f8f3ff31ba5c0b0be908d5e5c1
[ "Apache-2.0" ]
null
null
null
data/__init__.py
lucasvenez/mult
d5977f628f89a7f8f3ff31ba5c0b0be908d5e5c1
[ "Apache-2.0" ]
2
2020-10-12T13:40:41.000Z
2022-03-29T05:28:59.000Z
from data.load_util import * from data.load_data_mmrf import * from data.load_data_gse68465 import * from data.load_data_gse96058 import * from data.load_data_gse94873 import * from data.load_data_gse135820 import * from data.load_data_gse136400 import *
25.7
38
0.828794
41
257
4.878049
0.268293
0.28
0.42
0.54
0.66
0
0
0
0
0
0
0.118943
0.116732
257
9
39
28.555556
0.762115
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
0
1
0
1
0
1
0
0
7
551e15836b35310d74ed1e5d7a3b8d575def3da3
6,400
py
Python
environments/MiniGridCustom.py
vanstrn/RL_public
0e971e40e063b17918460e19728f95d7924af8db
[ "MIT" ]
1
2021-03-19T17:57:51.000Z
2021-03-19T17:57:51.000Z
environments/MiniGridCustom.py
vanstrn/RL_public
0e971e40e063b17918460e19728f95d7924af8db
[ "MIT" ]
null
null
null
environments/MiniGridCustom.py
vanstrn/RL_public
0e971e40e063b17918460e19728f95d7924af8db
[ "MIT" ]
null
null
null
import gym import numpy as np from gym_minigrid.minigrid import * from gym_minigrid.register import register class Static4Rooms(MiniGridEnv): def __init__(self, agent_pos=None, goal_pos=None): self._agent_default_pos = agent_pos self._goal_default_pos = goal_pos super().__init__(grid_size=...
32.323232
84
0.562188
855
6,400
3.975439
0.133333
0.082377
0.042071
0.067079
0.859665
0.854369
0.812004
0.812004
0.812004
0.812004
0
0.025077
0.339531
6,400
197
85
32.48731
0.77904
0.088594
0
0.758621
0
0
0.044743
0.036138
0
0
0
0
0
1
0.062069
false
0
0.027586
0
0.131034
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
9b8bc3ffcb854034ad745cc04662a33cc6c7ab57
169
py
Python
app/models/__init__.py
luovkle/FastAPI-Movie-Manager
716eeb66a63a47488c4f3fa390321361fd94dbc6
[ "MIT" ]
null
null
null
app/models/__init__.py
luovkle/FastAPI-Movie-Manager
716eeb66a63a47488c4f3fa390321361fd94dbc6
[ "MIT" ]
null
null
null
app/models/__init__.py
luovkle/FastAPI-Movie-Manager
716eeb66a63a47488c4f3fa390321361fd94dbc6
[ "MIT" ]
null
null
null
from .director import Director # noqa: F401 from .actor import Actor # noqa: F401 from .film_actor import FilmActor # noqa: F401 from .film import Film # noqa: F401
33.8
47
0.739645
25
169
4.96
0.32
0.258065
0.290323
0.258065
0
0
0
0
0
0
0
0.087591
0.189349
169
4
48
42.25
0.817518
0.254438
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
32d6d02f8a2f33ddefa133dab888ceab366c1428
56,409
py
Python
tests/test_resources/concept_ids/taxonomy_replace/test_data_for_occupation.py
JobtechSwe/sokannonser-api
84214c51429fcedffa9a5d7d93afd9fdc080dcbb
[ "Apache-2.0" ]
14
2018-09-12T14:08:54.000Z
2021-09-20T11:54:20.000Z
tests/test_resources/concept_ids/taxonomy_replace/test_data_for_occupation.py
JobtechSwe/sokannonser-api
84214c51429fcedffa9a5d7d93afd9fdc080dcbb
[ "Apache-2.0" ]
43
2018-09-25T14:39:02.000Z
2021-10-01T08:40:23.000Z
tests/test_resources/concept_ids/taxonomy_replace/test_data_for_occupation.py
JobtechSwe/sokannonser-api
84214c51429fcedffa9a5d7d93afd9fdc080dcbb
[ "Apache-2.0" ]
8
2018-11-21T23:51:47.000Z
2021-06-04T10:34:16.000Z
occupation_names_test_data = [ {'old': 'Jx4V_6tm_fUH', 'replaced_by': 'YcvM_Gqk_6U7', 'label': 'Utvecklingsingenjör, elkraft', 'hits_old': ['24647561', '24645432', '24615762', '24504276'], 'replacing_old_concept_ids': ['Jx4V_6tm_fUH', 'YcvM_Gqk_6U7', 'Jx4V_6tm_fUH', 'Jx4V_6tm_fUH'], 'hits_replaced_by...
89.254747
120
0.628198
6,454
56,409
5.015184
0.192749
0.103188
0.098029
0.113507
0.793531
0.788093
0.77901
0.77901
0.775056
0.753924
0
0.216204
0.171356
56,409
631
121
89.396197
0.476264
0
0
0.542857
0
0
0.63208
0.114113
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
1
0
0
0
0
0
1
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
fd1f78feda9a5ad93a6afe0a60558158e971968a
14,809
py
Python
tests/test_testreporter.py
RichieBzzzt/ru-neatest
5a1422489b557b573432d8717eb1d4e633c85d0f
[ "MIT" ]
null
null
null
tests/test_testreporter.py
RichieBzzzt/ru-neatest
5a1422489b557b573432d8717eb1d4e633c85d0f
[ "MIT" ]
null
null
null
tests/test_testreporter.py
RichieBzzzt/ru-neatest
5a1422489b557b573432d8717eb1d4e633c85d0f
[ "MIT" ]
null
null
null
import pytest import json from runeatest import testreporter def test_add_all_passed_test_cases(mocker): x = '{"tags": {"opId": "ServerBackend-f421e441fa310430","browserUserAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36","orgId": "100939161759802...
53.462094
701
0.654467
1,666
14,809
5.701681
0.073229
0.016844
0.03832
0.064849
0.976945
0.974418
0.972313
0.952732
0.933151
0.917886
0
0.088248
0.2042
14,809
276
702
53.655797
0.717777
0
0
0.626984
0
0.039683
0.634682
0.312513
0
0
0
0
0.031746
1
0.031746
false
0.019841
0.011905
0
0.043651
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
fd310482a051e3932012bfc352659d5f41c74485
784
py
Python
tests/test_provider_hashicorp_helm.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
507
2017-07-26T02:58:38.000Z
2022-01-21T12:35:13.000Z
tests/test_provider_hashicorp_helm.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
135
2017-07-20T12:01:59.000Z
2021-10-04T22:25:40.000Z
tests/test_provider_hashicorp_helm.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
81
2018-02-20T17:55:28.000Z
2022-01-31T07:08:40.000Z
# tests/test_provider_hashicorp_helm.py # Automatically generated by tools/makecode.py (24-Sep-2021 15:18:27 UTC) def test_provider_import(): import terrascript.provider.hashicorp.helm def test_resource_import(): from terrascript.resource.hashicorp.helm import helm_release def test_datasource_import(): ...
27.034483
80
0.75
107
784
5.364486
0.560748
0.135889
0.146341
0.167247
0.132404
0
0
0
0
0
0
0.022624
0.154337
784
28
81
28
0.843137
0.622449
0
0
1
0
0
0
0
0
0
0.035714
0
1
0.5
true
0
1
0
1.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
1
0
0
1
1
0
1
0
1
0
0
7
fd5b94dd38bb32d3f2230124713a642736f5dfc9
6,545
py
Python
loldib/getratings/models/NA/na_kogmaw/na_kogmaw_jng.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
loldib/getratings/models/NA/na_kogmaw/na_kogmaw_jng.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
loldib/getratings/models/NA/na_kogmaw/na_kogmaw_jng.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
from getratings.models.ratings import Ratings class NA_KogMaw_Jng_Aatrox(Ratings): pass class NA_KogMaw_Jng_Ahri(Ratings): pass class NA_KogMaw_Jng_Akali(Ratings): pass class NA_KogMaw_Jng_Alistar(Ratings): pass class NA_KogMaw_Jng_Amumu(Ratings): pass class NA_KogMaw_Jng_Anivia(Ratings): ...
15.695444
46
0.766692
972
6,545
4.736626
0.151235
0.209818
0.389661
0.479583
0.803432
0.803432
0
0
0
0
0
0
0.169748
6,545
416
47
15.733173
0.847258
0
0
0.498195
0
0
0
0
0
0
0
0
0
1
0
true
0.498195
0.00361
0
0.501805
0
0
0
0
null
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
1
0
0
8
1f0cc27514308621ddb8f21110a8e3a0a7a672c2
95,413
py
Python
generated/resources/network_policy_heat.py
atsgen/tf-heat-plugin
5c0405eb93287368f60f7e227e5af5ada6bfeed2
[ "Apache-2.0" ]
1
2020-04-05T19:43:40.000Z
2020-04-05T19:43:40.000Z
generated/resources/network_policy_heat.py
atsgen/tf-heat-plugin
5c0405eb93287368f60f7e227e5af5ada6bfeed2
[ "Apache-2.0" ]
null
null
null
generated/resources/network_policy_heat.py
atsgen/tf-heat-plugin
5c0405eb93287368f60f7e227e5af5ada6bfeed2
[ "Apache-2.0" ]
1
2020-08-25T12:47:27.000Z
2020-08-25T12:47:27.000Z
# AUTO-GENERATED file from IFMapApiGenerator. Do Not Edit! from contrail_heat.resources import contrail try: from heat.common.i18n import _ except ImportError: pass from heat.engine import attributes from heat.engine import constraints from heat.engine import properties try: from heat.openstack.common imp...
126.374834
3,115
0.662677
11,131
95,413
5.103674
0.014913
0.227922
0.340791
0.351494
0.977011
0.974053
0.964777
0.96365
0.959197
0.951839
0
0.006976
0.256286
95,413
754
3,116
126.54244
0.793602
0.000587
0
0.475995
1
0
0.064371
0.06112
0
0
0
0
0
1
0.006859
false
0.002743
0.015089
0.001372
0.032922
0
0
0
0
null
1
1
1
1
1
1
1
1
1
0
0
0
0
0
1
1
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
12
1f6e5e8311f8e30898134902efe217b4d18232b2
636
py
Python
cyder/cydns/tests/test_models.py
ngokevin/chili
36c354ac567471d5e36dccf9eea5096c6b02d4b9
[ "BSD-3-Clause" ]
2
2019-03-16T00:47:09.000Z
2022-03-04T14:39:08.000Z
cyder/cydns/tests/test_models.py
ngokevin/chili
36c354ac567471d5e36dccf9eea5096c6b02d4b9
[ "BSD-3-Clause" ]
1
2020-04-24T08:24:55.000Z
2020-04-24T08:24:55.000Z
cyder/cydns/tests/test_models.py
ngokevin/chili
36c354ac567471d5e36dccf9eea5096c6b02d4b9
[ "BSD-3-Clause" ]
null
null
null
from django.test import TestCase from cyder.cydns.address_record.tests.test_models import * from cyder.cydns.cname.tests.test_models import * from cyder.cydns.cybind.tests.test_models import * from cyder.cydns.domain.tests.test_models import * from cyder.cydns.ip.tests.test_models import * from cyder.cydns.mx.tests.te...
42.4
58
0.820755
102
636
4.990196
0.215686
0.212181
0.330059
0.495088
0.756385
0.756385
0.756385
0
0
0
0
0
0.083333
636
14
59
45.428571
0.87307
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
0
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
1
0
1
0
0
8
2f0a40668144a3b99e87d6238a689a8cb8a3897f
41,804
py
Python
datasets/generate_vp_label_dist_culane.py
Jinming-Su/SGNet
fcf35edaf332c1a4e2713acad5a0fc0e21509c3e
[ "MIT" ]
13
2021-10-15T15:14:45.000Z
2022-03-09T00:22:55.000Z
datasets/generate_vp_label_dist_culane.py
Jinming-Su/SGNet
fcf35edaf332c1a4e2713acad5a0fc0e21509c3e
[ "MIT" ]
4
2021-10-17T09:04:20.000Z
2022-03-25T06:43:00.000Z
datasets/generate_vp_label_dist_culane.py
Jinming-Su/SGNet
fcf35edaf332c1a4e2713acad5a0fc0e21509c3e
[ "MIT" ]
2
2021-11-17T11:31:35.000Z
2021-11-29T06:50:35.000Z
import numpy as np import cv2 import matplotlib.pyplot as plt from glob import glob import os import random import traceback import tqdm import traceback import torch color_list = [(0, 0, 255), (0, 255, 0), (0, 255, 255), (255, 0, 255),] img_dir = 'datasets/culane/' seg_label_dir = 'datasets/culane/laneseg_label_w16_...
36.799296
124
0.585973
6,823
41,804
3.301334
0.044555
0.067658
0.028768
0.01616
0.858424
0.839956
0.815893
0.800844
0.790144
0.772431
0
0.052675
0.272031
41,804
1,135
125
36.831718
0.6875
0.12695
0
0.748101
0
0
0.004731
0.002711
0
0
0
0.000881
0.007595
1
0.032911
false
0
0.013924
0.001266
0.102532
0.007595
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
2f13cbc9eef0e52a98ae1fd390f381aa04d7f927
1,303
py
Python
Utility/validation_set.py
DeviRule/Ecs171_group-project
45353e18023ec9ddf9bd672d986d468006cccb5b
[ "MIT" ]
1
2019-11-26T04:19:00.000Z
2019-11-26T04:19:00.000Z
Utility/validation_set.py
DeviRule/Ecs171_group-project
45353e18023ec9ddf9bd672d986d468006cccb5b
[ "MIT" ]
null
null
null
Utility/validation_set.py
DeviRule/Ecs171_group-project
45353e18023ec9ddf9bd672d986d468006cccb5b
[ "MIT" ]
1
2019-11-26T20:08:26.000Z
2019-11-26T20:08:26.000Z
import pandas as pd from imblearn.over_sampling import RandomOverSampler from imblearn.under_sampling import RandomUnderSampler val_set = pd.read_csv('../Data/validation.csv', header=0) X = val_set.iloc[:,0:-1].copy() Y = val_set.iloc[:, -1].copy() rus = RandomUnderSampler(sampling_strategy=1) X_res, Y_res = rus.fit_...
42.032258
126
0.712203
224
1,303
3.9375
0.272321
0.108844
0.045351
0.068027
0.861678
0.861678
0.800454
0.734694
0.734694
0.734694
0
0.049505
0.069839
1,303
31
127
42.032258
0.678218
0
0
0.740741
0
0
0.16411
0.08589
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0.222222
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
2f28dc06fe4bbad87c289b4e32e727cb3a49cd2b
25,482
py
Python
MSC/manager.py
ACDC-paper-double-review/ACDC
bf44a691d3860eb35731c0ce41f606188f233b1a
[ "MIT" ]
null
null
null
MSC/manager.py
ACDC-paper-double-review/ACDC
bf44a691d3860eb35731c0ce41f606188f233b1a
[ "MIT" ]
null
null
null
MSC/manager.py
ACDC-paper-double-review/ACDC
bf44a691d3860eb35731c0ce41f606188f233b1a
[ "MIT" ]
null
null
null
from __future__ import print_function from properties import Properties from changedetection import ChangeDetection from ensemble import Ensemble from stream import Stream from model import Model import time, sys from py4j.java_gateway import JavaGateway, GatewayParameters, CallbackServerParameters import numpy as np ...
35.490251
201
0.701358
3,052
25,482
5.816514
0.078637
0.085624
0.10703
0.026138
0.872465
0.83906
0.834272
0.822217
0.81174
0.793037
0
0.015419
0.165215
25,482
717
202
35.539749
0.819105
0.127659
0
0.8234
0
0
0.140076
0.023268
0
0
0
0
0
1
0.022075
false
0
0.019868
0
0.050773
0.030905
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
2f809faa7215339ad18446b7fe34dc5987429f9a
624
py
Python
python/testData/refactoring/inlinelocal/operatorPrecedence/booleanAnd.after.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/refactoring/inlinelocal/operatorPrecedence/booleanAnd.after.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/refactoring/inlinelocal/operatorPrecedence/booleanAnd.after.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
(10 and 2)[::-5] (10 and 2)[5] (10 and 2)(5) (10 and 2).foo -(10 and 2) +(10 and 2) ~(10 and 2) 5 ** (10 and 2) (10 and 2) ** 5 5 * (10 and 2) (10 and 2) * 5 5 / (10 and 2) (10 and 2) / 5 5 // (10 and 2) (10 and 2) // 5 5 + (10 and 2) (10 and 2) + 5 (10 and 2) - 5 5 - (10 and 2) 5 >> (10 and 2) (10 and 2) << 5 ...
10.758621
34
0.491987
166
624
1.849398
0.066265
0.667752
0.801303
0.387622
0.807818
0.807818
0.631922
0.631922
0.625407
0.576547
0
0.366667
0.326923
624
57
35
10.947368
0.364286
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
1
null
1
1
1
1
1
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
9
85d9918fc608d73d49e58ad406652b11f72468f8
1,138
py
Python
app/utils.py
Keytoyze/Mania-Lab
e29007a31828a0378a015d55a78b6c5f7ebf4a44
[ "Apache-2.0" ]
null
null
null
app/utils.py
Keytoyze/Mania-Lab
e29007a31828a0378a015d55a78b6c5f7ebf4a44
[ "Apache-2.0" ]
null
null
null
app/utils.py
Keytoyze/Mania-Lab
e29007a31828a0378a015d55a78b6c5f7ebf4a44
[ "Apache-2.0" ]
null
null
null
class Comparable: def __init__(self, value): self.value = value def __eq__(self, other): other_value = other.value if isinstance(other, Comparable) else other return self.value == other_value def __ne__(self, other): other_value = other.value if isinstance(other, Comparabl...
29.947368
77
0.656415
152
1,138
4.638158
0.190789
0.255319
0.255319
0.161702
0.791489
0.791489
0.791489
0.791489
0.791489
0.791489
0
0
0.253076
1,138
37
78
30.756757
0.829412
0
0
0.214286
0
0
0.001757
0
0
0
0
0
0
1
0.321429
false
0
0
0
0.607143
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
1
0
0
0
0
1
0
0
10
85f78cc46106d708bc67f58f1d484e784012b8d1
22,482
py
Python
Models.py
clinicalml/omop-variation
9549d1698bd32759e7f5e18b5431481b5a80bceb
[ "MIT" ]
1
2021-11-28T08:54:32.000Z
2021-11-28T08:54:32.000Z
Models.py
clinicalml/omop-variation
9549d1698bd32759e7f5e18b5431481b5a80bceb
[ "MIT" ]
null
null
null
Models.py
clinicalml/omop-variation
9549d1698bd32759e7f5e18b5431481b5a80bceb
[ "MIT" ]
null
null
null
import numpy as np from sklearn.base import BaseEstimator from sklearn.ensemble import RandomForestRegressor import gurobipy as grb class IterativeRegionEstimator(BaseEstimator): ''' Identifies a region of disagreement using the IterativeAlg method. Parameters ---------- region_modelclass : BaseEs...
34.115326
144
0.566987
2,956
22,482
4.207037
0.086604
0.043101
0.028305
0.037311
0.844645
0.830733
0.819958
0.815938
0.808138
0.808138
0
0.012888
0.323548
22,482
658
145
34.167173
0.80484
0.35375
0
0.751852
0
0
0.006237
0
0
0
0
0
0.003704
1
0.051852
false
0
0.014815
0
0.118519
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
c81faa439a9d37a38f1710ded9ca877a1b2aa991
403
py
Python
directions.py
StrawH/controlling-robotic-arm-with-openCV
7a2787642d58cb05ca9b34a857d562156d6bb3fc
[ "MIT" ]
1
2019-08-13T04:22:09.000Z
2019-08-13T04:22:09.000Z
directions.py
StrawH/controlling-robotic-arm-with-openCV
7a2787642d58cb05ca9b34a857d562156d6bb3fc
[ "MIT" ]
null
null
null
directions.py
StrawH/controlling-robotic-arm-with-openCV
7a2787642d58cb05ca9b34a857d562156d6bb3fc
[ "MIT" ]
null
null
null
# # moving right # cv2.arrowedLine(image, pt1=(50,70), pt2=(150,70), color=(0, 0, 255), thickness=6) # # moving left # cv2.arrowedLine(image, pt1=(150,70), pt2=(50,70), color=(0, 0, 255), thickness=6) # # moving up # cv2.arrowedLine(image, pt1=(100,100), pt2=(100,50), color=(0, 0, 255), thickness=6) # # moving down # c...
44.777778
85
0.64268
68
403
3.808824
0.279412
0.216216
0.293436
0.339768
0.586873
0.393822
0.316602
0.216216
0
0
0
0.214085
0.119107
403
8
86
50.375
0.515493
0.945409
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
1
1
1
0
0
0
0
0
0
0
1
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
7
c84b5d3f6cf6b459dd29dc38116560721d195f3a
8,790
py
Python
.old/shuffle.py
wzmao/mbio
af78cfdb47577199585179c3b04cc6cf3d6b401c
[ "MIT" ]
2
2015-05-28T12:23:02.000Z
2018-05-25T14:01:17.000Z
.old/shuffle.py
wzmao/mbio
af78cfdb47577199585179c3b04cc6cf3d6b401c
[ "MIT" ]
null
null
null
.old/shuffle.py
wzmao/mbio
af78cfdb47577199585179c3b04cc6cf3d6b401c
[ "MIT" ]
null
null
null
'''Shuffle could be a good method to eliminate some false positive signals. This module include the shuffle function for OMES, MI and MIp. ''' __author__ = 'Wenzhi Mao' __all__ = ['ShuffleOMES', 'ShuffleMI', 'ShuffleMIp'] def _Startup(): from mbio import _ABSpath global _path__ _path__ = _ABSpath() def...
41.074766
96
0.537543
989
8,790
4.653185
0.12639
0.067797
0.08605
0.093872
0.927206
0.927206
0.908301
0.873533
0.873533
0.873533
0
0.007935
0.297497
8,790
213
97
41.267606
0.737328
0.105461
0
0.828729
0
0
0.16129
0
0
0
0
0
0
1
0.022099
false
0
0.121547
0
0.19337
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
c095628d7f58a8f158a5f6ff98baac2319e6226b
97
py
Python
finrl_meta/env_execution_optimizing/order_execution_qlib/trade/action/__init__.py
eitin-infant/FinRL-Meta
4c94011e58425796e7e2e5c1bf848afd65c828d6
[ "MIT" ]
214
2021-11-08T17:06:11.000Z
2022-03-31T18:29:48.000Z
finrl_meta/env_execution_optimizing/order_execution_qlib/trade/action/__init__.py
eitin-infant/FinRL-Meta
4c94011e58425796e7e2e5c1bf848afd65c828d6
[ "MIT" ]
51
2021-11-14T19:11:02.000Z
2022-03-30T20:23:08.000Z
finrl_meta/env_execution_optimizing/order_execution_qlib/trade/action/__init__.py
eitin-infant/FinRL-Meta
4c94011e58425796e7e2e5c1bf848afd65c828d6
[ "MIT" ]
110
2021-11-03T07:41:40.000Z
2022-03-31T03:23:38.000Z
from .base import * from .action_rl import * from .action_rule import * from .action_rl import *
19.4
26
0.752577
15
97
4.666667
0.4
0.428571
0.685714
0.514286
0.685714
0
0
0
0
0
0
0
0.164948
97
4
27
24.25
0.864198
0
0
0.5
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
c0a34f2091289ffaa0b5f25483bd502147149f8c
1,725
py
Python
lola/tests/test_coin.py
Manuscrit/lola
181cb6dfa0ebf85807d42f1f770b0556a8f4f4d6
[ "MIT" ]
null
null
null
lola/tests/test_coin.py
Manuscrit/lola
181cb6dfa0ebf85807d42f1f770b0556a8f4f4d6
[ "MIT" ]
null
null
null
lola/tests/test_coin.py
Manuscrit/lola
181cb6dfa0ebf85807d42f1f770b0556a8f4f4d6
[ "MIT" ]
null
null
null
# import importlib # # # # max_steps = 1000 # terminate_prob = 0.998 # gameEnv = importlib.import_module('coin_game') # env = gameEnv.gameEnv(terminate_prob=terminate_prob, max_steps=max_steps) # # # print('state_space', env.state_space) # print('red_pos', env.red_pos) # print('blue_pos', env.blue_pos) # print('red_coi...
29.741379
75
0.681739
288
1,725
3.84375
0.107639
0.124661
0.081301
0.113821
0.831075
0.818428
0.818428
0.818428
0.818428
0.818428
0
0.016032
0.132174
1,725
58
76
29.741379
0.723447
0.930435
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
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
0
1
0
0
0
0
0
0
8
c0c1bf73bfd9a0f36960d8daeeea863bdc608c7f
173
py
Python
__main__.py
marskar/main
b374fa739557b8b571050223b7784b621522cb38
[ "MIT" ]
1
2021-09-30T23:25:06.000Z
2021-09-30T23:25:06.000Z
__main__.py
marskar/main
b374fa739557b8b571050223b7784b621522cb38
[ "MIT" ]
null
null
null
__main__.py
marskar/main
b374fa739557b8b571050223b7784b621522cb38
[ "MIT" ]
null
null
null
# Relative import in top level __main__.py import sys from src.pkg.main import print_name_and_file if __name__ == "__main__": print_name_and_file() print(sys.argv)
21.625
44
0.757225
28
173
4.035714
0.607143
0.159292
0.212389
0.283186
0
0
0
0
0
0
0
0
0.16185
173
7
45
24.714286
0.77931
0.231214
0
0
0
0
0.061069
0
0
0
0
0
0
1
0
true
0
0.4
0
0.4
0.6
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
0
1
0
7
2387e0fd08ba7cfecb8e8ea089305f5c01ccbd32
142
py
Python
loss/bce_loss_with_logits.py
cbim-medical-group/pytorch-template
7f76ee095420e23efe22df560d8e0a314fbc16dd
[ "MIT" ]
1
2020-10-30T10:55:01.000Z
2020-10-30T10:55:01.000Z
loss/bce_loss_with_logits.py
cbim-medical-group/pytorch-template
7f76ee095420e23efe22df560d8e0a314fbc16dd
[ "MIT" ]
null
null
null
loss/bce_loss_with_logits.py
cbim-medical-group/pytorch-template
7f76ee095420e23efe22df560d8e0a314fbc16dd
[ "MIT" ]
null
null
null
from torch.nn import functional as F def bce_loss_with_logits(output, target): return F.binary_cross_entropy_with_logits(output, target)
28.4
61
0.816901
23
142
4.73913
0.782609
0.183486
0.293578
0.40367
0
0
0
0
0
0
0
0
0.119718
142
5
61
28.4
0.872
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
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
8
23c403a3663d0700235b4d5c3c815eb37217ef07
183,659
py
Python
RestApi/Python/RestApi_v2/Modules/bpsRestPy.py
yongzhou71/BreakingPoint
455e93dfb57db4fbb022fc6df3132c3f6f457379
[ "MIT" ]
null
null
null
RestApi/Python/RestApi_v2/Modules/bpsRestPy.py
yongzhou71/BreakingPoint
455e93dfb57db4fbb022fc6df3132c3f6f457379
[ "MIT" ]
null
null
null
RestApi/Python/RestApi_v2/Modules/bpsRestPy.py
yongzhou71/BreakingPoint
455e93dfb57db4fbb022fc6df3132c3f6f457379
[ "MIT" ]
null
null
null
from __future__ import absolute_import, print_function, division from six import with_metaclass import requests import json import pprint from requests.adapters import HTTPAdapter from requests.packages.urllib3.poolmanager import PoolManager import ssl requests.packages.urllib3.disable_warnings() pp = pprint.PrettyPr...
37.681371
331
0.372756
12,627
183,659
5.287004
0.072781
0.060037
0.025375
0.042691
0.813568
0.796267
0.776285
0.760287
0.735496
0.711095
0
0.005746
0.511949
183,659
4,873
332
37.689103
0.739042
0.085664
0
0.474258
0
0
0.161823
0.030789
0
0
0
0
0
1
0.021104
false
0.001855
0.005334
0.002551
0.063544
0.002783
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
1
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
9b0a97d8cf24abc9f920f6102e331b133d763d89
170
py
Python
core/schema/__init__.py
Wr490046178/fast-api-frame
1f44bc0a18b819be6d02c3635dc844e7e6383ba0
[ "Apache-2.0" ]
null
null
null
core/schema/__init__.py
Wr490046178/fast-api-frame
1f44bc0a18b819be6d02c3635dc844e7e6383ba0
[ "Apache-2.0" ]
null
null
null
core/schema/__init__.py
Wr490046178/fast-api-frame
1f44bc0a18b819be6d02c3635dc844e7e6383ba0
[ "Apache-2.0" ]
null
null
null
from core.schema.base import DataSchema from core.schema.base import PageSchema from core.schema.base import BaseSchema from core.schema.paginate import paginate_handler
34
49
0.858824
25
170
5.8
0.4
0.22069
0.386207
0.372414
0.496552
0
0
0
0
0
0
0
0.094118
170
4
50
42.5
0.941558
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
9b0aa0d7c396df4bfbdac9e878c8ae57213df3f0
9,380
py
Python
qa327_test/test_R1.py
HenryTsui1/CISC327
7e9ebeb494568045d6f7b6281d9b78025593ace9
[ "MIT" ]
1
2021-01-09T22:34:02.000Z
2021-01-09T22:34:02.000Z
qa327_test/test_R1.py
HenryTsui1/CISC327
7e9ebeb494568045d6f7b6281d9b78025593ace9
[ "MIT" ]
null
null
null
qa327_test/test_R1.py
HenryTsui1/CISC327
7e9ebeb494568045d6f7b6281d9b78025593ace9
[ "MIT" ]
1
2021-01-09T22:34:13.000Z
2021-01-09T22:34:13.000Z
import pytest from seleniumbase import BaseCase from qa327_test.conftest import base_url from unittest.mock import patch from qa327.models import db, User from werkzeug.security import generate_password_hash, check_password_hash """ Test case for R1 requirements. """ # Moch a sample user test_user = User( email=...
45.31401
210
0.63838
1,297
9,380
4.467232
0.110254
0.044701
0.07456
0.0932
0.825337
0.821194
0.821194
0.811874
0.797722
0.797722
0
0.022393
0.209701
9,380
206
211
45.533981
0.759207
0.23177
0
0.745342
1
0
0.290151
0.049245
0
0
0
0
0.223602
1
0.111801
false
0.149068
0.037267
0
0.15528
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
1
0
0
0
0
0
9
f1b58997b8c16231977949860e94f4fdce68792a
115
py
Python
Python/python_programming_stu/chapter08_function/8-2.default_argument2.py
min9288/Multicampus
2aaac730b35e530f8f91cb1ba41c08ee18d59142
[ "MIT" ]
2
2022-01-18T09:27:42.000Z
2022-03-29T14:59:00.000Z
Python/python_programming_stu/chapter08_function/8-2.default_argument2.py
min9288/Multicampus
2aaac730b35e530f8f91cb1ba41c08ee18d59142
[ "MIT" ]
null
null
null
Python/python_programming_stu/chapter08_function/8-2.default_argument2.py
min9288/Multicampus
2aaac730b35e530f8f91cb1ba41c08ee18d59142
[ "MIT" ]
null
null
null
def daily_sleeping_hours(hours=7): return hours print(daily_sleeping_hours(10)) print(daily_sleeping_hours())
19.166667
34
0.8
17
115
5.058824
0.470588
0.453488
0.627907
0.534884
0
0
0
0
0
0
0
0.028846
0.095652
115
6
35
19.166667
0.798077
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0.25
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
0
0
0
1
0
1
0
8
9e2858eec59686bb39266ae089c556f3fd892700
9,249
py
Python
Pycounter converter.py
ChrisHergert/PyCounter-Conversion
de4828209666a920455088f9e9130bc230b7c016
[ "BSD-3-Clause" ]
null
null
null
Pycounter converter.py
ChrisHergert/PyCounter-Conversion
de4828209666a920455088f9e9130bc230b7c016
[ "BSD-3-Clause" ]
null
null
null
Pycounter converter.py
ChrisHergert/PyCounter-Conversion
de4828209666a920455088f9e9130bc230b7c016
[ "BSD-3-Clause" ]
null
null
null
import pycounter.sushi import csv import pandas as pd import datetime import calendar as cal import os def tsv_name_temp(rep, num): return rep+str(num)+'.tsv' ####################################################################################################################################################...
61.251656
158
0.611309
1,302
9,249
4.22043
0.128264
0.025478
0.021838
0.020382
0.952684
0.952684
0.952684
0.952684
0.942857
0.942857
0
0.021597
0.153963
9,249
150
159
61.66
0.680639
0.180776
0
0.794872
0
0
0.075685
0.011861
0
0
0
0
0
0
null
null
0
0.076923
null
null
0.038462
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
9e82a60fce1ee23ae4a633b04becacc36af4be18
375
py
Python
tests/exceptions/test_unexpected_input_exception.py
AustinScola/illud
a6aca1de38bbe9d5a795aaa084bcbd6731767d18
[ "MIT" ]
1
2020-12-05T00:59:15.000Z
2020-12-05T00:59:15.000Z
tests/exceptions/test_unexpected_input_exception.py
AustinScola/illud
a6aca1de38bbe9d5a795aaa084bcbd6731767d18
[ "MIT" ]
112
2021-01-15T21:42:27.000Z
2021-04-17T19:11:21.000Z
tests/exceptions/test_unexpected_input_exception.py
AustinScola/illud
a6aca1de38bbe9d5a795aaa084bcbd6731767d18
[ "MIT" ]
null
null
null
"""Test illud.exceptions.unexpected_input_exception.""" from illud.exception import IlludException from illud.exceptions.unexpected_input_exception import UnexpectedInputException def test_inheritance() -> None: """Test illud.exceptions.unexpected_input_exception.UnexpectedInputException inheritance.""" asser...
41.666667
96
0.84
35
375
8.8
0.428571
0.146104
0.243506
0.292208
0.405844
0.279221
0
0
0
0
0
0
0.08
375
8
97
46.875
0.892754
0.362667
0
0
0
0
0
0
0
0
0
0
0.25
1
0.25
true
0
0.5
0
0.75
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
0
0
7
9e861a9c216e4538894474e086d12ad53d9c6fbc
10,972
py
Python
tests/test_plantequipmentoperationoutdoordewpoint.py
marcelosalles/pyidf
c2f744211572b5e14e29522aac1421ba88addb0e
[ "Apache-2.0" ]
19
2015-12-08T23:33:51.000Z
2022-01-31T04:41:10.000Z
tests/test_plantequipmentoperationoutdoordewpoint.py
marcelosalles/pyidf
c2f744211572b5e14e29522aac1421ba88addb0e
[ "Apache-2.0" ]
2
2019-10-04T10:57:00.000Z
2021-10-01T06:46:17.000Z
tests/test_plantequipmentoperationoutdoordewpoint.py
marcelosalles/pyidf
c2f744211572b5e14e29522aac1421ba88addb0e
[ "Apache-2.0" ]
7
2015-11-04T02:25:01.000Z
2021-12-08T03:14:28.000Z
import os import tempfile import unittest import logging from pyidf import ValidationLevel import pyidf from pyidf.idf import IDF from pyidf.plant import PlantEquipmentOperationOutdoorDewpoint log = logging.getLogger(__name__) class TestPlantEquipmentOperationOutdoorDewpoint(unittest.TestCase): def setUp(self): ...
69.443038
168
0.814346
1,377
10,972
5.907771
0.053014
0.233559
0.295022
0.19914
0.925999
0.892809
0.82901
0.78488
0.64118
0.632698
0
0.029536
0.139081
10,972
158
169
69.443038
0.831675
0.020507
0
0
0
0
0.036954
0
0
0
0
0
0.264957
1
0.025641
false
0
0.068376
0
0.102564
0
0
0
0
null
1
1
1
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
0
0
0
0
0
0
0
0
8
7b5629e5c725713f6b93647d919651644e7f9927
126
py
Python
test/integration_test/utils.py
benny568/cloudca
6d3e3ec0cf71defac07cf1b0f957885f2e83599c
[ "MIT" ]
null
null
null
test/integration_test/utils.py
benny568/cloudca
6d3e3ec0cf71defac07cf1b0f957885f2e83599c
[ "MIT" ]
10
2022-02-11T15:28:20.000Z
2022-03-30T15:44:32.000Z
test/integration_test/utils.py
benny568/cloudca
6d3e3ec0cf71defac07cf1b0f957885f2e83599c
[ "MIT" ]
null
null
null
def get_api_url(resource, route): return f"https://afgh9u0ae9.execute-api.us-east-1.amazonaws.com/dev/{resource}/{route}"
42
91
0.746032
20
126
4.6
0.85
0.282609
0
0
0
0
0
0
0
0
0
0.034188
0.071429
126
2
92
63
0.752137
0
0
0
0
0.5
0.611111
0
0
0
0
0
0
1
0.5
false
0
0
0.5
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
1
1
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
8
7bafc0b0a23c29e6bd492a0366ff182ed2874e53
185
py
Python
scripts/simplejob.py
adeoke/kubebernetes_cron_job
3e56686d275cd77f48b5af5850f373951e4e84c9
[ "MIT" ]
null
null
null
scripts/simplejob.py
adeoke/kubebernetes_cron_job
3e56686d275cd77f48b5af5850f373951e4e84c9
[ "MIT" ]
null
null
null
scripts/simplejob.py
adeoke/kubebernetes_cron_job
3e56686d275cd77f48b5af5850f373951e4e84c9
[ "MIT" ]
null
null
null
from datetime import datetime import time print("starting job: {}".format(datetime.now())) print("Doing stuff......") time.sleep(30) print("stopping job: {}".format(datetime.now()))
18.5
48
0.691892
24
185
5.333333
0.583333
0.21875
0.265625
0.3125
0
0
0
0
0
0
0
0.011976
0.097297
185
9
49
20.555556
0.754491
0
0
0
0
0
0.266304
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
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
0
1
0
1
0
0
1
0
8
c88fabe8b07ea99440addee2da3c7f93933c6f15
7,454
py
Python
savu/plugins/unregistered/ptychography/ptypy_compact_tools.py
elainehoml/Savu
e4772704606f71d6803d832084e10faa585e7358
[ "Apache-2.0" ]
39
2015-03-30T14:03:42.000Z
2022-03-16T16:50:33.000Z
savu/plugins/unregistered/ptychography/ptypy_compact_tools.py
elainehoml/Savu
e4772704606f71d6803d832084e10faa585e7358
[ "Apache-2.0" ]
670
2015-02-11T11:08:09.000Z
2022-03-21T09:27:57.000Z
savu/plugins/unregistered/ptychography/ptypy_compact_tools.py
elainehoml/Savu
e4772704606f71d6803d832084e10faa585e7358
[ "Apache-2.0" ]
54
2015-02-13T14:09:52.000Z
2022-01-24T13:57:09.000Z
from savu.plugins.plugin_tools import PluginTools class PtypyCompactTools(PluginTools): """This plugin performs ptychography using the ptypy package. """ def define_parameters(self): """ data_center: visibility: intermediate dtype: [list[float], str, None] ...
34.831776
75
0.542528
585
7,454
6.765812
0.189744
0.227893
0.279687
0.333502
0.797625
0.792825
0.770086
0.754927
0.746589
0.693532
0
0.009947
0.420043
7,454
214
76
34.831776
0.905621
0.758921
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
1
0
0
0
0
null
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
1
0
0
1
0
1
0
0
11
c8cce4fb7abccc2418492889a554f229dec1790b
15,252
py
Python
tests/tasks/kubernetes/test_job.py
nathaniel-md/prefect
467bc5b1dcd83716bd896eff549f6bceb59da8cf
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
tests/tasks/kubernetes/test_job.py
nathaniel-md/prefect
467bc5b1dcd83716bd896eff549f6bceb59da8cf
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
tests/tasks/kubernetes/test_job.py
nathaniel-md/prefect
467bc5b1dcd83716bd896eff549f6bceb59da8cf
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
from unittest.mock import MagicMock import pytest import prefect from prefect.tasks.kubernetes import ( CreateNamespacedJob, DeleteNamespacedJob, ListNamespacedJob, PatchNamespacedJob, ReadNamespacedJob, ReplaceNamespacedJob, ) from prefect.utilities.configuration import set_temporary_config ...
37.474201
86
0.646341
1,837
15,252
5.050082
0.045727
0.071144
0.076965
0.074701
0.92476
0.92476
0.901046
0.899213
0.866875
0.863426
0
0.002776
0.220496
15,252
406
87
37.566502
0.777525
0
0
0.774603
0
0
0.070614
0.004786
0
0
0
0
0.263492
1
0.168254
false
0
0.015873
0
0.206349
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
cdf0040db9d3f2919666f489b462bee6945ea893
18,540
py
Python
tests/config/providers/secretsmanager/test_provider.py
lucasvieirasilva/aws-ssm-secrets-cli
861779099dd5a77c7166d69cad90bba5a1145001
[ "MIT" ]
4
2021-05-18T16:11:26.000Z
2022-01-10T14:23:11.000Z
tests/config/providers/secretsmanager/test_provider.py
lucasvieirasilva/aws-ssm-secrets-cli
861779099dd5a77c7166d69cad90bba5a1145001
[ "MIT" ]
45
2020-09-14T08:57:53.000Z
2021-09-16T16:13:58.000Z
tests/config/providers/secretsmanager/test_provider.py
lucasvieirasilva/aws-ssm-secrets-cli
861779099dd5a77c7166d69cad90bba5a1145001
[ "MIT" ]
null
null
null
from unittest.mock import patch import boto3 from aws_secrets.config.config_reader import ConfigReader from aws_secrets.config.providers.secretsmanager.entry import SecretManagerEntry from aws_secrets.config.providers.secretsmanager.provider import SecretsManagerProvider from aws_secrets.miscellaneous import session f...
26.223479
116
0.527184
1,644
18,540
5.746959
0.078467
0.041279
0.027942
0.037257
0.852561
0.845258
0.822714
0.814987
0.807578
0.79022
0
0.013892
0.351618
18,540
706
117
26.260623
0.772066
0.033765
0
0.856884
0
0.001812
0.278244
0.025722
0
0
0
0
0.030797
1
0.023551
false
0
0.014493
0
0.038043
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
b52f02cb9ee72e65024e840842128a38f17b8268
145
py
Python
model/metric.py
fish258/MonoRec
c0612d2710802004cdd83205e63d0582de543c41
[ "MIT" ]
388
2021-05-13T08:31:36.000Z
2022-03-31T15:50:33.000Z
model/metric.py
fish258/MonoRec
c0612d2710802004cdd83205e63d0582de543c41
[ "MIT" ]
28
2021-06-15T13:22:09.000Z
2022-03-26T03:36:20.000Z
model/metric.py
fish258/MonoRec
c0612d2710802004cdd83205e63d0582de543c41
[ "MIT" ]
59
2021-06-16T13:47:39.000Z
2022-03-28T01:11:21.000Z
from .metric_functions.sparse_metrics import * from .metric_functions.dense_metrics import * from .metric_functions.completeness_metrics import *
48.333333
52
0.862069
18
145
6.611111
0.444444
0.252101
0.478992
0.386555
0.537815
0
0
0
0
0
0
0
0.075862
145
3
52
48.333333
0.88806
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
8d556eeba2cdf351145dfa75225a7e1f9cc9f7a7
31,312
py
Python
pyscript/synerex_pb2_grpc.py
nkawa/provider_map_pick
a576ed71cdf4c6af4ddbae43df1d1561d34acd13
[ "Apache-2.0" ]
null
null
null
pyscript/synerex_pb2_grpc.py
nkawa/provider_map_pick
a576ed71cdf4c6af4ddbae43df1d1561d34acd13
[ "Apache-2.0" ]
null
null
null
pyscript/synerex_pb2_grpc.py
nkawa/provider_map_pick
a576ed71cdf4c6af4ddbae43df1d1561d34acd13
[ "Apache-2.0" ]
null
null
null
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc import synerex_pb2 as api_dot_synerex__pb2 class SynerexStub(object): """Missing associated documentation comment in .proto file.""" def __init__(self...
45.053237
113
0.648058
2,832
31,312
6.846045
0.045198
0.062926
0.081133
0.099856
0.870538
0.840571
0.814163
0.74706
0.744275
0.719827
0
0.00552
0.276827
31,312
694
114
45.118156
0.850689
0.050971
0
0.665033
1
0
0.076478
0.034501
0
0
0
0
0
1
0.068627
false
0
0.003268
0.03268
0.109477
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
57063ca3d25aa86307fdd233d6c349f5d12ec5ef
13,292
py
Python
alembic/versions/37af9542fb7e_initial_revision.py
noirscape/providence
8e48dc3247753cc5a76178ee4af12a349d7e1e47
[ "MIT" ]
8
2019-06-10T17:38:13.000Z
2020-08-01T12:56:08.000Z
alembic/versions/37af9542fb7e_initial_revision.py
noirscape/providence
8e48dc3247753cc5a76178ee4af12a349d7e1e47
[ "MIT" ]
null
null
null
alembic/versions/37af9542fb7e_initial_revision.py
noirscape/providence
8e48dc3247753cc5a76178ee4af12a349d7e1e47
[ "MIT" ]
null
null
null
"""Initial revision Revision ID: 37af9542fb7e Revises: Create Date: 2019-05-15 01:00:47.269109 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '37af9542fb7e' down_revision = None branch_labels = None depends_on = None def upgrade(): # ### commands auto g...
47.471429
79
0.688008
1,661
13,292
5.331728
0.069235
0.106594
0.149051
0.165989
0.925587
0.882904
0.851287
0.834914
0.802507
0.730352
0
0.009567
0.127144
13,292
279
80
47.641577
0.753749
0.021517
0
0.59387
0
0
0.202714
0.015113
0
0
0
0
0
1
0.007663
false
0
0.007663
0
0.015326
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
5708163067fc0bc3c741443c2ae762b0f7f9e8bb
10,459
py
Python
oled_img_001.py
luisC62/RPi_Pico_Examples
d2fb34e6ec0835d9265b3bd750add9e2da3eabf7
[ "MIT" ]
null
null
null
oled_img_001.py
luisC62/RPi_Pico_Examples
d2fb34e6ec0835d9265b3bd750add9e2da3eabf7
[ "MIT" ]
null
null
null
oled_img_001.py
luisC62/RPi_Pico_Examples
d2fb34e6ec0835d9265b3bd750add9e2da3eabf7
[ "MIT" ]
null
null
null
from machine import Pin, I2C from ssd1306 import SSD1306_I2C import framebuf i2c=I2C(0,sda=Pin(0), scl=Pin(1), freq=400000) oled = SSD1306_I2C(128, 64, i2c) face1 = bytearray(b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x...
550.473684
2,058
0.745865
2,569
10,459
3.035422
0.024134
1.604258
2.272506
2.863811
0.967299
0.966915
0.958964
0.9505
0.944345
0.944345
0
0.469549
0.004685
10,459
18
2,059
581.055556
0.279539
0
0
0
0
0.357143
0.963756
0.963565
0
1
0
0
0
1
0
false
0
0.214286
0
0.214286
0
0
0
0
null
1
1
1
1
1
1
1
1
1
0
1
0
0
0
1
1
1
0
0
0
0
1
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
17
57230e12d572b03fab3edfd8ef5efcd53c31b9aa
161
py
Python
app/books/admin.py
ToJestKrzysio/BookManager
e12412f73b5799b8312e981a6baa8e618604a2fa
[ "MIT" ]
null
null
null
app/books/admin.py
ToJestKrzysio/BookManager
e12412f73b5799b8312e981a6baa8e618604a2fa
[ "MIT" ]
null
null
null
app/books/admin.py
ToJestKrzysio/BookManager
e12412f73b5799b8312e981a6baa8e618604a2fa
[ "MIT" ]
null
null
null
from django.contrib import admin from . import models admin.site.register(models.Author) admin.site.register(models.Language) admin.site.register(models.Book)
20.125
36
0.813665
23
161
5.695652
0.478261
0.206107
0.389313
0.526718
0
0
0
0
0
0
0
0
0.080745
161
7
37
23
0.885135
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.4
0
0.4
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
938d86bc236f334511c11b601c13e0062826be06
51,012
py
Python
etl_e2e/mdf/mdf_classes.py
thinkmoore/das
d9faabf3de987b890a5079b914f5aba597215b14
[ "CC0-1.0" ]
35
2019-04-16T19:37:01.000Z
2022-02-14T20:33:41.000Z
etl_e2e/mdf/mdf_classes.py
thinkmoore/das
d9faabf3de987b890a5079b914f5aba597215b14
[ "CC0-1.0" ]
6
2019-06-05T19:41:15.000Z
2020-08-19T19:04:59.000Z
etl_e2e/mdf/mdf_classes.py
thinkmoore/das
d9faabf3de987b890a5079b914f5aba597215b14
[ "CC0-1.0" ]
12
2019-05-02T19:38:06.000Z
2021-09-11T22:02:03.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # This file was automatically generated by ../census_etl/census_spec_scanner.py on Wed Jan 30 11:00:49 2019 # Command line: ../census_etl/census_spec_scanner.py 2018_mdf.docx --output_parser mdf_validator_classes.py --ignore QREL,QSEX,QSPANX,QRACE1,QRACE2,QRACE3,QRACE4,QRA...
85.590604
14,623
0.566239
7,806
51,012
3.62042
0.0433
0.07643
0.083861
0.092849
0.85825
0.77913
0.750115
0.743569
0.733343
0.717738
0
0.090324
0.177017
51,012
595
14,624
85.734454
0.582845
0.07706
0
0.63
1
0.02
0.20092
0.012108
0
0
0
0
0
1
0.16
false
0
0.004
0.016
0.358
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
93af092c7b746fedcfd2434ff463be3d5fd5a46a
1,099
py
Python
tests/image_gen/color_eq_es.py
cmu-cs-academy/cpython-cmu-graphics
04622a80642156ad646a00203899a8f3726f5b73
[ "BSD-3-Clause" ]
3
2020-02-01T22:24:24.000Z
2020-04-20T16:59:08.000Z
tests/image_gen/color_eq_es.py
cmu-cs-academy/desktop-cmu-graphics
141941029e733bf64a974fc339ede0555505fc20
[ "BSD-3-Clause" ]
7
2021-06-18T00:10:09.000Z
2022-03-28T21:10:20.000Z
tests/image_gen/color_eq_es.py
cmu-cs-academy/desktop-cmu-graphics
141941029e733bf64a974fc339ede0555505fc20
[ "BSD-3-Clause" ]
1
2022-03-16T21:52:58.000Z
2022-03-16T21:52:58.000Z
assert gradiente('rojo', 'azul') == gradiente('rojo', 'azul') assert gradiente('rojo', 'azul', inicio='centro') == gradiente('rojo', 'azul') assert gradiente('rojo', 'azul', inicio='izquierda') == gradiente('rojo', 'azul', inicio='izquierda') assert gradiente('rojo', 'azul') != gradiente('rojo', 'azul', inicio='izquie...
45.791667
101
0.626024
158
1,099
4.35443
0.107595
0.415698
0.321221
0.200581
0.80814
0.800872
0.700581
0.609012
0.44186
0.180233
0
0.053942
0.122839
1,099
23
102
47.782609
0.659751
0
0
0
0
0
0.205641
0
0
0
0
0
0.941176
1
0
false
0
0
0
0
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
1
0
0
0
0
0
0
0
0
0
7
9e01daddbdde0c329b40fbf5ac4f6e0ee7f15c5e
189
py
Python
thirdparty/YLBaseServer.py
ihuanglei/yeelight
6a31beb9a790b4ce85c77db0abe13e25e93a3811
[ "MIT" ]
null
null
null
thirdparty/YLBaseServer.py
ihuanglei/yeelight
6a31beb9a790b4ce85c77db0abe13e25e93a3811
[ "MIT" ]
null
null
null
thirdparty/YLBaseServer.py
ihuanglei/yeelight
6a31beb9a790b4ce85c77db0abe13e25e93a3811
[ "MIT" ]
null
null
null
class YLBaseServer(object): def name(self): pass def handle(self, args): pass def startup(self, *args): pass def stop(self, *args): pass
13.5
29
0.529101
22
189
4.545455
0.5
0.21
0.36
0.3
0
0
0
0
0
0
0
0
0.365079
189
13
30
14.538462
0.833333
0
0
0.444444
0
0
0
0
0
0
0
0
0
1
0.444444
false
0.444444
0
0
0.555556
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
7
f51d151d539da7708abd9be505824d9768d0e12a
14,569
py
Python
tests/output/snapshots/snap_test_text_output.py
agateau-gg/ggshield
c335006433a6d34c2ca3e408415091fb254ee853
[ "MIT" ]
null
null
null
tests/output/snapshots/snap_test_text_output.py
agateau-gg/ggshield
c335006433a6d34c2ca3e408415091fb254ee853
[ "MIT" ]
null
null
null
tests/output/snapshots/snap_test_text_output.py
agateau-gg/ggshield
c335006433a6d34c2ca3e408415091fb254ee853
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # snapshottest: v1 - https://goo.gl/zC4yUc from __future__ import unicode_literals from snapshottest import Snapshot snapshots = Snapshot() snapshots['test_leak_message[_MULTI_SECRET_ONE_LINE_PATCH_OVERLAY_SCAN_RESULT-clip_long_lines-hide_secrets] 1'] = '''> This is an example header secrets...
52.595668
156
0.733407
1,519
14,569
6.624095
0.083608
0.050885
0.041344
0.057245
0.984894
0.984894
0.984894
0.984297
0.984297
0.984297
0
0.14348
0.103027
14,569
276
157
52.786232
0.625115
0.004256
0
0.814815
0
0.126984
0.953254
0.542195
0
0
0
0
0
1
0
false
0
0.010582
0
0.010582
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
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
199315d3a8ad8d75100ddd46432c4b1824119213
1,485
py
Python
venv/lib/python2.7/site-packages/pychart/afm/Bookman_Demi.py
Christian-Castro/castro_odoo8
8247fdb20aa39e043b6fa0c4d0af509462ab3e00
[ "Unlicense" ]
1
2019-12-19T01:53:13.000Z
2019-12-19T01:53:13.000Z
venv/lib/python2.7/site-packages/pychart/afm/Bookman_Demi.py
Christian-Castro/castro_odoo8
8247fdb20aa39e043b6fa0c4d0af509462ab3e00
[ "Unlicense" ]
null
null
null
venv/lib/python2.7/site-packages/pychart/afm/Bookman_Demi.py
Christian-Castro/castro_odoo8
8247fdb20aa39e043b6fa0c4d0af509462ab3e00
[ "Unlicense" ]
null
null
null
# AFM font Bookman-Demi (path: /usr/share/fonts/afms/adobe/pbkd8a.afm). # Derived from Ghostscript distribution. # Go to www.cs.wisc.edu/~ghost to get the Ghostcript source code. import dir dir.afm["Bookman-Demi"] = (500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500...
247.5
1,294
0.622222
287
1,485
3.219512
0.222997
0.590909
0.798701
0.987013
0.334416
0.298701
0.298701
0.298701
0.298701
0.266234
0
0.632146
0.187205
1,485
5
1,295
297
0.133389
0.115825
0
0
0
0
0.009167
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
1
0
0
1
1
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
10
19a1a91df246aefa88b730cab5ba643bd4817f9f
25,794
py
Python
tetris_objects.py
yuvrajwaraich/Tetris
59a918edad6aefbe23749234ed62edebb42b56c7
[ "MIT" ]
2
2020-09-29T01:42:13.000Z
2020-09-29T01:42:39.000Z
tetris_objects.py
yuvrajwaraich/Tetris
59a918edad6aefbe23749234ed62edebb42b56c7
[ "MIT" ]
null
null
null
tetris_objects.py
yuvrajwaraich/Tetris
59a918edad6aefbe23749234ed62edebb42b56c7
[ "MIT" ]
null
null
null
class OrangeRicky(): def __init__(self, rotation): self.colour = "O" self.rotation = rotation if rotation == 0: self.coords = [[8, 0], [8, 1], [7, 1], [6, 1]] elif rotation == 1: self.coords = [[8, 2], [7, 2], [7, 1], [7, 0]] elif rotat...
34.856757
100
0.443204
3,344
25,794
3.410287
0.015251
0.33234
0.166871
0.11154
0.991494
0.985794
0.965714
0.963785
0.949053
0.942038
0
0.080865
0.390168
25,794
739
101
34.903924
0.64412
0
0
0.923858
0
0
0.000359
0
0
0
0
0
0
1
0.08291
false
0
0
0.025381
0.143824
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
0
0
0
8
5ff834733b88ec2a68b52773cf6ebb4acb4b65bf
45,014
py
Python
lib/core/train.py
simonwey/DecoupleNet
3e9e09d512230cb0d95e9db98c5838ca9ff799da
[ "Apache-2.0" ]
null
null
null
lib/core/train.py
simonwey/DecoupleNet
3e9e09d512230cb0d95e9db98c5838ca9ff799da
[ "Apache-2.0" ]
null
null
null
lib/core/train.py
simonwey/DecoupleNet
3e9e09d512230cb0d95e9db98c5838ca9ff799da
[ "Apache-2.0" ]
null
null
null
# ------------------------------------------------------------------------------ # Copyright (c) Microsoft # Licensed under the MIT License. # Written by Bin Xiao (Bin.Xiao@microsoft.com) # ------------------------------------------------------------------------------ from __future__ import absolute_import from __futu...
40.226988
175
0.603035
5,740
45,014
4.439024
0.044599
0.060283
0.031868
0.038776
0.878336
0.854788
0.839286
0.826374
0.822488
0.813108
0
0.009396
0.250478
45,014
1,118
176
40.26297
0.745813
0.143844
0
0.79113
0
0
0.07255
0.011922
0
0
0
0
0
1
0.027182
false
0
0.021459
0.001431
0.0701
0.02289
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
273573fc65a8785fdcbc95c5fe6c74e9861035d0
8,581
py
Python
efuntool/eobjtool.py
ihgazni2/efuntool
a5d65ed57d53c5c45d189d0028db574006d8d190
[ "MIT" ]
null
null
null
efuntool/eobjtool.py
ihgazni2/efuntool
a5d65ed57d53c5c45d189d0028db574006d8d190
[ "MIT" ]
null
null
null
efuntool/eobjtool.py
ihgazni2/efuntool
a5d65ed57d53c5c45d189d0028db574006d8d190
[ "MIT" ]
null
null
null
import elist.elist as elel def get_mros(obj): ''' >>> a= 5 >>> get_mros(a) [5,<class 'int'>, <class 'object'>] >>> ''' if(hasattr(obj,'mro')): return(obj.mro()) else: return([obj]+type(obj).mro()) def get_attrs_chain(obj): ''' >>> class tst...
35.903766
906
0.538748
871
8,581
4.083812
0.158439
0.013495
0.033736
0.04217
0.809109
0.778465
0.749789
0.740512
0.72027
0.72027
0
0.004265
0.262324
8,581
238
907
36.054622
0.557662
0.556229
0
0.390625
0
0
0.007967
0
0
0
0
0
0
1
0.21875
false
0
0.015625
0
0.234375
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
276b514df0689a1a310164129f601a7e69b7a740
176
py
Python
web/controllers/h5learning/picslider.py
ZZh2333/myBlog
88b7c903fbaa98b5e02ce25ebaeb70268dc6f825
[ "MIT" ]
null
null
null
web/controllers/h5learning/picslider.py
ZZh2333/myBlog
88b7c903fbaa98b5e02ce25ebaeb70268dc6f825
[ "MIT" ]
null
null
null
web/controllers/h5learning/picslider.py
ZZh2333/myBlog
88b7c903fbaa98b5e02ce25ebaeb70268dc6f825
[ "MIT" ]
null
null
null
from . import route_h5learning from flask import render_template @route_h5learning.route('/picslider') def picslider(): return render_template('h5learning/picslider.html')
29.333333
55
0.806818
21
176
6.571429
0.52381
0.217391
0
0
0
0
0
0
0
0
0
0.018868
0.096591
176
6
55
29.333333
0.849057
0
0
0
0
0
0.19774
0.141243
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
279d0e2bd8dc7ef8d17b25651b2c42761135029b
18,321
py
Python
swagger_client/api/dogma_api.py
rseichter/bootini-star
a80258f01a05e4df38748b8cb47dfadabd42c20d
[ "MIT" ]
null
null
null
swagger_client/api/dogma_api.py
rseichter/bootini-star
a80258f01a05e4df38748b8cb47dfadabd42c20d
[ "MIT" ]
null
null
null
swagger_client/api/dogma_api.py
rseichter/bootini-star
a80258f01a05e4df38748b8cb47dfadabd42c20d
[ "MIT" ]
null
null
null
# coding: utf-8 """ EVE Swagger Interface An OpenAPI for EVE Online # noqa: E501 OpenAPI spec version: 0.8.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import re # noqa: F401 # python 2 and python 3 compatibility library impo...
40.986577
140
0.623328
2,174
18,321
5.015639
0.080497
0.047689
0.02201
0.036684
0.940664
0.925715
0.919204
0.912234
0.898936
0.881328
0
0.018428
0.289122
18,321
446
141
41.078475
0.818796
0.04765
0
0.779221
1
0
0.19336
0.050804
0
0
0
0
0
0
null
null
0
0.017316
null
null
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
9
e336113ca2989f56124962490b063394fe57f76e
163
py
Python
luthiertext/word_vectors/__init__.py
LautaroEst/LuthierText
f1395fbfda1039bd19fd829cbe853e39ae91805d
[ "MIT" ]
null
null
null
luthiertext/word_vectors/__init__.py
LautaroEst/LuthierText
f1395fbfda1039bd19fd829cbe853e39ae91805d
[ "MIT" ]
null
null
null
luthiertext/word_vectors/__init__.py
LautaroEst/LuthierText
f1395fbfda1039bd19fd829cbe853e39ae91805d
[ "MIT" ]
null
null
null
from .cooccurrence import word_by_word_cooccurrence from .cooccurrence import word_by_document_cooccurrence from .cooccurrence import word_by_category_cooccurrence
54.333333
55
0.91411
21
163
6.666667
0.333333
0.342857
0.471429
0.557143
0.771429
0.571429
0
0
0
0
0
0
0.067485
163
3
56
54.333333
0.921053
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
8b907ba1b6bb4c7b10dfe2a5d1a6e88cd385e181
22,197
py
Python
gen/niels.py
bh107/niels
591ea1fc7d43315221295762086430652cfc2084
[ "Apache-2.0" ]
2
2015-11-30T21:50:49.000Z
2018-09-29T00:39:43.000Z
gen/niels.py
bh107/niels
591ea1fc7d43315221295762086430652cfc2084
[ "Apache-2.0" ]
null
null
null
gen/niels.py
bh107/niels
591ea1fc7d43315221295762086430652cfc2084
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import itertools import pprint import json as json def nls2json(obj, level=0): """A formatter easing the human readability of niels.json.""" INDENT = 3 SPACE = " " NEWLINE = "\n" def pod_iter(subject): """Assumes subject is an iter of tuples or list.""" count...
41.48972
114
0.47565
2,715
22,197
3.644199
0.06151
0.06792
0.09339
0.10188
0.842935
0.82262
0.801496
0.786032
0.782697
0.775015
0
0.040535
0.323152
22,197
534
115
41.567416
0.618011
0.000901
0
0.54321
0
0.125514
0.354242
0.106715
0.00823
0
0
0
0
0
null
null
0
0.006173
null
null
0.004115
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
8baab66382989be96670d6b7afb92ee6d5173093
97
py
Python
app/game/behaviour/actions/__init__.py
SMEFIKES/server
1cd6d315dd35c7d6af7f5b5635e755174195a959
[ "MIT" ]
1
2020-03-12T11:12:03.000Z
2020-03-12T11:12:03.000Z
app/game/behaviour/actions/__init__.py
SMEFIKES/server
1cd6d315dd35c7d6af7f5b5635e755174195a959
[ "MIT" ]
null
null
null
app/game/behaviour/actions/__init__.py
SMEFIKES/server
1cd6d315dd35c7d6af7f5b5635e755174195a959
[ "MIT" ]
null
null
null
from .select_actors import * from .actors import * from .squads import * from .movement import *
19.4
28
0.752577
13
97
5.538462
0.461538
0.416667
0.444444
0
0
0
0
0
0
0
0
0
0.164948
97
4
29
24.25
0.888889
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
4771b0072dc466429d77f9cb8f74cb56633dac9c
48,455
py
Python
news/tests/test_views.py
kraupn3r/intranet
4cabf6f365ef0ea0f352f67f9322318e161ed265
[ "MIT" ]
null
null
null
news/tests/test_views.py
kraupn3r/intranet
4cabf6f365ef0ea0f352f67f9322318e161ed265
[ "MIT" ]
null
null
null
news/tests/test_views.py
kraupn3r/intranet
4cabf6f365ef0ea0f352f67f9322318e161ed265
[ "MIT" ]
null
null
null
from django.test import TestCase, Client, override_settings from django.urls import reverse from django.http import HttpResponseForbidden from django.contrib.auth.models import Permission, Group, User from django.core.files.uploadedfile import SimpleUploadedFile from django.utils import timezone from accounts.models im...
38.365004
105
0.634135
5,281
48,455
5.620905
0.043742
0.043121
0.027052
0.043862
0.939698
0.936868
0.931108
0.92629
0.915577
0.913522
0
0.022917
0.245362
48,455
1,262
106
38.395404
0.788875
0.121928
0
0.843715
0
0
0.132379
0.017264
0
0
0
0
0.121178
1
0.091733
false
0.088335
0.01359
0
0.123443
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
4783879f6ea7c3b62b521ebc0af8e324015d6d3f
252
py
Python
parser/fase2/team27/G-27/Optimizacion/Instrucciones/ins_return.py
webdev188/tytus
847071edb17b218f51bb969d335a8ec093d13f94
[ "MIT" ]
null
null
null
parser/fase2/team27/G-27/Optimizacion/Instrucciones/ins_return.py
webdev188/tytus
847071edb17b218f51bb969d335a8ec093d13f94
[ "MIT" ]
null
null
null
parser/fase2/team27/G-27/Optimizacion/Instrucciones/ins_return.py
webdev188/tytus
847071edb17b218f51bb969d335a8ec093d13f94
[ "MIT" ]
null
null
null
from Optimizacion.Instrucciones.instruccion import * class Ins_return(Instruccion): def __init__(self, ins, params): Instruccion.__init__(self, ins, params) def execute(self): return {'ins': self.ins, 'params': self.params}
36
55
0.690476
29
252
5.689655
0.448276
0.127273
0.236364
0.206061
0
0
0
0
0
0
0
0
0.190476
252
7
55
36
0.808824
0
0
0
0
0
0.035573
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0.166667
0.833333
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
7
47eccc2b518effac6c9ba70e18f94b289376f578
3,041
py
Python
data/cnndm/_create_bpe_model.py
ErikHumphrey/sustain-seq2seq
c4787f0ca1047d01385e4fa4ffde59c6a8ab4cc4
[ "Apache-2.0" ]
4
2019-05-09T19:47:48.000Z
2020-04-11T13:58:31.000Z
data/cnndm/_create_bpe_model.py
ErikHumphrey/sustain-seq2seq
c4787f0ca1047d01385e4fa4ffde59c6a8ab4cc4
[ "Apache-2.0" ]
null
null
null
data/cnndm/_create_bpe_model.py
ErikHumphrey/sustain-seq2seq
c4787f0ca1047d01385e4fa4ffde59c6a8ab4cc4
[ "Apache-2.0" ]
4
2018-12-05T01:52:22.000Z
2019-11-01T01:01:52.000Z
import sentencepiece as spm if not os.path.exists("bpe/bpe_models"): os.makedirs("bpe/bpe_models") #spm.SentencePieceTrainer.Train('--input=text_only/corpus.1M.txt --model_prefix=m --vocab_size=1000 --model_type=bpe --num_threads=8 --split_by_whitespace=true --shuffle_input_sentence=true') #spm.SentencePiec...
95.03125
436
0.748109
506
3,041
4.189723
0.132411
0.026415
0.084906
0.101887
0.916981
0.916981
0.897642
0.878302
0.878302
0.878302
0
0.04363
0.057876
3,041
32
437
95.03125
0.696335
0.231174
0
0
0
0.666667
0.865922
0.36055
0
0
0
0
0
1
0
true
0
0.111111
0
0.111111
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
1
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
9
47f1aa9f4f90955f464ba95f8af755a7e28e0fa7
128
py
Python
sumgraph/cli.py
DbCrWk/sumgraph
100bc4a9ddcbb7c29b7b581d42e7c3697cde46ce
[ "MIT" ]
null
null
null
sumgraph/cli.py
DbCrWk/sumgraph
100bc4a9ddcbb7c29b7b581d42e7c3697cde46ce
[ "MIT" ]
null
null
null
sumgraph/cli.py
DbCrWk/sumgraph
100bc4a9ddcbb7c29b7b581d42e7c3697cde46ce
[ "MIT" ]
null
null
null
""" The main entrypoint to our CLI """ def main(): """ The main entrypoint to our CLI """ print("sumgraph!")
10.666667
34
0.546875
16
128
4.375
0.5625
0.2
0.485714
0.542857
0.714286
0.714286
0
0
0
0
0
0
0.296875
128
11
35
11.636364
0.777778
0.476563
0
0
0
0
0.204545
0
0
0
0
0
0
1
0.5
true
0
0
0
0.5
0.5
1
0
0
null
0
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
0
1
0
7
9a65d53ec170e0f99d497c7551708eaa10bf331f
122
py
Python
core/utils.py
mpyrev/lunchegram
14a29da74e14a959be607e4fc76bbc2f181c5278
[ "MIT" ]
1
2019-11-26T13:49:02.000Z
2019-11-26T13:49:02.000Z
core/utils.py
mpyrev/lunchegram
14a29da74e14a959be607e4fc76bbc2f181c5278
[ "MIT" ]
7
2019-12-24T13:17:23.000Z
2022-02-10T12:35:14.000Z
core/utils.py
mpyrev/lunchegram
14a29da74e14a959be607e4fc76bbc2f181c5278
[ "MIT" ]
null
null
null
from django.conf import settings from redis import Redis def get_redis(): return Redis.from_url(settings.REDIS_URL)
17.428571
45
0.786885
19
122
4.894737
0.526316
0
0
0
0
0
0
0
0
0
0
0
0.147541
122
6
46
20.333333
0.894231
0
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
d09da2f2748dc0e42c6c130b471527f7577336df
1,293
py
Python
tests/test_group.py
h5preserve/h5preserve
c3840b26868d15dd8d14f99d1d188aa066c2bb84
[ "BSD-3-Clause" ]
2
2020-03-03T20:34:13.000Z
2020-10-02T05:51:01.000Z
tests/test_group.py
h5preserve/h5preserve
c3840b26868d15dd8d14f99d1d188aa066c2bb84
[ "BSD-3-Clause" ]
178
2017-07-14T01:33:50.000Z
2022-03-31T10:14:25.000Z
tests/test_group.py
h5preserve/h5preserve
c3840b26868d15dd8d14f99d1d188aa066c2bb84
[ "BSD-3-Clause" ]
2
2017-07-14T01:29:25.000Z
2018-02-28T12:10:26.000Z
import pytest from h5preserve import H5PreserveGroup, new_registry_list class TestGroup(object): def test_create_group(self, h5py_file_with_group): group = h5py_file_with_group["example"] h5preserve_group = H5PreserveGroup(group, new_registry_list()) h5preserve_subgroup = h5preserve_group....
41.709677
74
0.730085
148
1,293
5.932432
0.182432
0.082005
0.123007
0.17426
0.820046
0.820046
0.731207
0.731207
0.731207
0.731207
0
0.029665
0.191802
1,293
30
75
43.1
0.810526
0
0
0.32
0
0
0.058005
0
0
0
0
0
0.16
1
0.16
false
0
0.08
0
0.28
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
d0a55b4f81c0214b5337baf3ae0918d20ebc1e2c
125
py
Python
pysim/utils.py
cmaruan/pysim
a670895f04d0f8e2e1248b852f6ac6b504e6f38a
[ "MIT" ]
null
null
null
pysim/utils.py
cmaruan/pysim
a670895f04d0f8e2e1248b852f6ac6b504e6f38a
[ "MIT" ]
null
null
null
pysim/utils.py
cmaruan/pysim
a670895f04d0f8e2e1248b852f6ac6b504e6f38a
[ "MIT" ]
null
null
null
import os HIDDEN_CONFIG_FOLDER = '~/.py-sim' def get_config_folder(): return os.path.expanduser(HIDDEN_CONFIG_FOLDER)
15.625
51
0.76
18
125
4.944444
0.666667
0.404494
0.404494
0
0
0
0
0
0
0
0
0
0.128
125
7
52
17.857143
0.816514
0
0
0
0
0
0.072581
0
0
0
0
0
0
1
0.25
false
0
0.25
0.25
0.75
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
0
0
1
1
0
0
7
d0d7c627c238357e517e2f9aa1cb722dcad9c03d
2,604
py
Python
build/lib/Musical_era.py
Leila571/I_A_8
87326d741e3f9127ea3e5b4e4a18201addb823f9
[ "MIT" ]
null
null
null
build/lib/Musical_era.py
Leila571/I_A_8
87326d741e3f9127ea3e5b4e4a18201addb823f9
[ "MIT" ]
null
null
null
build/lib/Musical_era.py
Leila571/I_A_8
87326d741e3f9127ea3e5b4e4a18201addb823f9
[ "MIT" ]
null
null
null
def Musical_era_question_1(): score_number = 0 what_key_str = "minor" #print ("Can you identify this key?") a=input("Can you identify this key? \n Question 1: What is the key of this song?") #import audio file of We're Going Wrong here if "minor" in a: score_number = 1 return sco...
40.061538
127
0.654762
420
2,604
3.880952
0.114286
0.202454
0.092025
0.110429
0.984049
0.984049
0.984049
0.984049
0.984049
0.984049
0
0.015385
0.251152
2,604
64
128
40.6875
0.820513
0.15169
0
0.9
0
0
0.33879
0
0
0
0
0
0
1
0.1
false
0
0
0
0.3
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
0
0
0
8
d0dda698c4436f24dd106ac2bd659facf95a3af6
19,739
py
Python
cellpack/mgl_tools/DejaVu/Tests/Data/rgb10_transparent_map.py
mesoscope/cellpack
ec6b736fc706c1fae16392befa814b5337a3a692
[ "MIT" ]
null
null
null
cellpack/mgl_tools/DejaVu/Tests/Data/rgb10_transparent_map.py
mesoscope/cellpack
ec6b736fc706c1fae16392befa814b5337a3a692
[ "MIT" ]
21
2021-10-02T00:07:05.000Z
2022-03-30T00:02:10.000Z
cellpack/mgl_tools/DejaVu/Tests/Data/rgb10_transparent_map.py
mesoscope/cellpack
ec6b736fc706c1fae16392befa814b5337a3a692
[ "MIT" ]
null
null
null
## Automatically adapted for numpy.oldnumeric Jul 23, 2007 by from DejaVu.colorMap import ColorMap from numpy.oldnumeric import array cm = ColorMap("cmap") cfg = { "mini": 0.0, "maxi": 10.0, "ramp": array( [ [4.58000024e-04, 0.00000000e00, 2.29000002e-01, 1.00000000e00], [4...
72.040146
75
0.631542
2,569
19,739
4.852472
0.121837
0.274346
0.289668
0.24643
0.86034
0.86034
0.799615
0.799615
0.798733
0.792476
0
0.724708
0.211814
19,739
273
76
72.304029
0.076552
0.002938
0
0.696296
0
0
0.00127
0
0
0
0
0
0
1
0
false
0
0.007407
0
0.007407
0
0
0
0
null
1
1
1
1
1
1
1
1
1
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
11
ef4a5eaac4f84383e7147d08b1c3bdfda34a4b1f
738
py
Python
experience/models.py
koatse/ilikethem
962374ff8179a533dba3b00422d11bb819d8acde
[ "MIT" ]
null
null
null
experience/models.py
koatse/ilikethem
962374ff8179a533dba3b00422d11bb819d8acde
[ "MIT" ]
null
null
null
experience/models.py
koatse/ilikethem
962374ff8179a533dba3b00422d11bb819d8acde
[ "MIT" ]
null
null
null
from django.db import models class RenovationExperience(models.Model): name = models.CharField(max_length=50) class Meta: ordering = ["name"] def __str__(self): return self.name class TenantExperience(models.Model): name = models.CharField(max_length=50) class Meta: orde...
18.923077
42
0.644986
85
738
5.364706
0.258824
0.096491
0.131579
0.184211
0.787281
0.787281
0.787281
0.787281
0.787281
0.787281
0
0.014467
0.250678
738
38
43
19.421053
0.810127
0
0
0.8
0
0
0.02171
0
0
0
0
0
0
1
0.16
false
0
0.04
0.16
0.84
0
0
0
0
null
0
0
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
9
3254718a6a60093996c5acc2dc20dc7a7da5b14d
9,390
py
Python
fhirclient/models/auditevent_tests.py
JamesSkane/smart_resources
85c362542b85ebc43ec00cd04915b114ee95f9c0
[ "Apache-2.0" ]
null
null
null
fhirclient/models/auditevent_tests.py
JamesSkane/smart_resources
85c362542b85ebc43ec00cd04915b114ee95f9c0
[ "Apache-2.0" ]
null
null
null
fhirclient/models/auditevent_tests.py
JamesSkane/smart_resources
85c362542b85ebc43ec00cd04915b114ee95f9c0
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Generated from FHIR 0.5.0.5149 on 2015-07-06. # 2015, SMART Health IT. import os import io import unittest import json from . import auditevent from .fhirdate import FHIRDate class AuditEventTests(unittest.TestCase): def instantiate_from(self, filename): ...
54.912281
147
0.67689
1,173
9,390
5.405797
0.146633
0.236556
0.284655
0.151396
0.842138
0.810125
0.776849
0.751616
0.696893
0.635546
0
0.046639
0.16656
9,390
170
148
55.235294
0.763608
0.012034
0
0.493243
1
0.006757
0.186496
0.031928
0
0
0
0
0.72973
1
0.060811
false
0
0.040541
0
0.114865
0
0
0
0
null
1
1
0
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
9
328cd89fea12ca625a0f412bad442818bd2d6863
2,882
py
Python
tests/constants.py
UBC-MDS/AirPyllution
faf43b567f1dfec20f4ef61fb6e15731ad1352d7
[ "MIT" ]
1
2022-02-01T04:38:45.000Z
2022-02-01T04:38:45.000Z
tests/constants.py
UBC-MDS/airpyllution
faf43b567f1dfec20f4ef61fb6e15731ad1352d7
[ "MIT" ]
41
2022-01-13T23:20:38.000Z
2022-02-05T17:40:53.000Z
tests/constants.py
UBC-MDS/AirPyllution
faf43b567f1dfec20f4ef61fb6e15731ad1352d7
[ "MIT" ]
null
null
null
mock_history_data = { "coord": [50.0, 50.0], "list": [ { "main": {"aqi": 2}, "components": { "co": 270.367, "no": 5.867, "no2": 43.184, "o3": 4.783, "so2": 14.544, "pm2_5": 13.448, ...
23.056
59
0.358432
289
2,882
3.453287
0.342561
0.03507
0.032064
0.072144
0.715431
0.715431
0.715431
0.715431
0.715431
0.715431
0
0.239974
0.463567
2,882
124
60
23.241935
0.405563
0
0
0.555556
0
0
0.148855
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
328e995b6e71bda0ba3d25df249a775741f082cc
8,826
py
Python
tests/smoke/organizations/locations/roles/users/timeclocks/test_timeclocks.py
Joey-Wondersign/Staffjoy-suite-Joey
b6d0d87b8e60e6b866810ebeed631fb02fadad48
[ "MIT" ]
890
2017-02-25T07:11:09.000Z
2022-03-08T05:49:20.000Z
tests/smoke/organizations/locations/roles/users/timeclocks/test_timeclocks.py
Joey-Wondersign/Staffjoy-suite-Joey
b6d0d87b8e60e6b866810ebeed631fb02fadad48
[ "MIT" ]
11
2017-02-25T18:07:11.000Z
2020-10-19T13:09:41.000Z
tests/smoke/organizations/locations/roles/users/timeclocks/test_timeclocks.py
nfriedly/suite
c58c772d98d1476cad0531b8a296f27ad2ab945c
[ "MIT" ]
276
2017-02-25T09:01:23.000Z
2022-03-19T02:24:02.000Z
from datetime import datetime, timedelta import pytest from tests.smoke.organizations.locations.roles.users.timeclocks.base_timeclock import BaseTimeclock class TestTimeclocks(BaseTimeclock): def setUp(self): # (if you are copying and pasting, update class title below) super(TestTimeclocks, self)....
36.471074
99
0.638681
1,020
8,826
5.418627
0.1
0.031663
0.063687
0.099511
0.913696
0.902117
0.902117
0.902117
0.890899
0.870997
0
0.007381
0.2632
8,826
241
100
36.622407
0.842534
0.129844
0
0.869863
0
0
0.014673
0
0
0
0
0
0.19863
1
0.041096
false
0
0.020548
0
0.068493
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