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
9ec5565a38788db7893818602bc011f5bd8a3fd2
61
py
Python
acq4/devices/Trigger/__init__.py
aleonlein/acq4
4b1fcb9ad2c5e8d4595a2b9cf99d50ece0c0f555
[ "MIT" ]
47
2015-01-05T16:18:10.000Z
2022-03-16T13:09:30.000Z
acq4/devices/Trigger/__init__.py
aleonlein/acq4
4b1fcb9ad2c5e8d4595a2b9cf99d50ece0c0f555
[ "MIT" ]
48
2015-04-19T16:51:41.000Z
2022-03-31T14:48:16.000Z
acq4/devices/Trigger/__init__.py
sensapex/acq4
9561ba73caff42c609bd02270527858433862ad8
[ "MIT" ]
32
2015-01-15T14:11:49.000Z
2021-07-15T13:44:52.000Z
from __future__ import print_function from .Trigger import *
20.333333
37
0.836066
8
61
5.75
0.75
0
0
0
0
0
0
0
0
0
0
0
0.131148
61
2
38
30.5
0.867925
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
1
0
6
9ec940036a350fee04d0f04cf0a131b142ead9f5
97
py
Python
src/python/marbles/ie/nlp/test/__main__.py
marbles-ai/ie
b3fef462d3418580c827c94bc206bd2991500c1f
[ "MIT" ]
null
null
null
src/python/marbles/ie/nlp/test/__main__.py
marbles-ai/ie
b3fef462d3418580c827c94bc206bd2991500c1f
[ "MIT" ]
null
null
null
src/python/marbles/ie/nlp/test/__main__.py
marbles-ai/ie
b3fef462d3418580c827c94bc206bd2991500c1f
[ "MIT" ]
null
null
null
import googlenlp_test import spacynlp_test spacynlp_test.run_tests() googlenlp_test.run_tests()
16.166667
26
0.865979
14
97
5.571429
0.428571
0.333333
0.307692
0
0
0
0
0
0
0
0
0
0.072165
97
5
27
19.4
0.866667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
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
0
0
0
6
73284a515b25da07399710e237b70a9306a10a08
8,222
py
Python
nbgrader/tests/preprocessors/test_overwritecells.py
FrattisUC/nbgrader
f6402dcbb875e41ee3317be9e7af518afda9f72c
[ "BSD-3-Clause-Clear" ]
1,116
2015-01-20T19:22:24.000Z
2022-03-31T22:05:10.000Z
nbgrader/tests/preprocessors/test_overwritecells.py
jld23/nbgrader
07a38cd8ed12ab33870bdd42f0bf35aa1252b0db
[ "BSD-3-Clause" ]
1,166
2015-01-08T21:50:31.000Z
2022-03-31T05:15:01.000Z
nbgrader/tests/preprocessors/test_overwritecells.py
jld23/nbgrader
07a38cd8ed12ab33870bdd42f0bf35aa1252b0db
[ "BSD-3-Clause" ]
337
2015-02-06T01:28:00.000Z
2022-03-29T06:52:38.000Z
import pytest from nbformat.v4 import new_notebook from ...preprocessors import SaveCells, OverwriteCells from ...api import Gradebook from ...utils import compute_checksum from .base import BaseTestPreprocessor from .. import ( create_grade_cell, create_solution_cell, create_grade_and_solution_cell, create_l...
37.715596
86
0.657018
919
8,222
5.738847
0.079434
0.116799
0.127418
0.095563
0.851346
0.843383
0.825749
0.824611
0.817596
0.769245
0
0.008115
0.220628
8,222
217
87
37.889401
0.814919
0.074191
0
0.699346
0
0
0.064679
0
0
0
0
0
0.091503
1
0.111111
false
0
0.045752
0.013072
0.183007
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
733d30877843518d1f130eba7ce17c7f0d669108
20,934
py
Python
geokey/contributions/tests/media/test_views.py
chabies/config_socialauth_geokey
cbb3248847f6ad2d6c95752976f5161557b1db2e
[ "Apache-2.0" ]
null
null
null
geokey/contributions/tests/media/test_views.py
chabies/config_socialauth_geokey
cbb3248847f6ad2d6c95752976f5161557b1db2e
[ "Apache-2.0" ]
null
null
null
geokey/contributions/tests/media/test_views.py
chabies/config_socialauth_geokey
cbb3248847f6ad2d6c95752976f5161557b1db2e
[ "Apache-2.0" ]
null
null
null
"""Tests for views of contributions (media files).""" import json import os import glob from os.path import dirname, normpath, abspath, join from PIL import Image from StringIO import StringIO from django.test import TestCase from django.core.urlresolvers import reverse from django.contrib.auth.models import Anonym...
30.695015
101
0.584743
2,105
20,934
5.632779
0.095487
0.023277
0.071772
0.048916
0.833432
0.823901
0.798684
0.776841
0.769588
0.729527
0
0.006242
0.311264
20,934
681
102
30.740088
0.816133
0.056177
0
0.671698
0
0
0.087371
0.010503
0
0
0
0
0.069811
1
0.083019
false
0
0.045283
0
0.14717
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
7348b2039190b581d6845b8cd13cad963b507498
23,292
py
Python
tests/integration/test_tf_symbolic.py
trbromley/strawberryfields
b0792f6cad19cea1e60df89f22776f6e02191a1c
[ "Apache-2.0" ]
null
null
null
tests/integration/test_tf_symbolic.py
trbromley/strawberryfields
b0792f6cad19cea1e60df89f22776f6e02191a1c
[ "Apache-2.0" ]
null
null
null
tests/integration/test_tf_symbolic.py
trbromley/strawberryfields
b0792f6cad19cea1e60df89f22776f6e02191a1c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Xanadu Quantum Technologies Inc. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agre...
37.750405
112
0.629873
3,366
23,292
4.225787
0.072787
0.04387
0.032902
0.041128
0.834646
0.822202
0.793799
0.776294
0.717098
0.669432
0
0.010085
0.259274
23,292
616
113
37.811688
0.814351
0.311352
0
0.597668
0
0
0.017066
0
0
0
0
0
0.131195
1
0.122449
false
0
0.017493
0
0.154519
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
b451d6fb256006e0afedf5b39ca07c0e9de948d9
11,745
py
Python
tests/test_synt_nodeselector.py
KellyGriffin/kalc
9b78c4177ed9ffccbf1ecfbf9a7946286cd7c583
[ "Apache-2.0" ]
null
null
null
tests/test_synt_nodeselector.py
KellyGriffin/kalc
9b78c4177ed9ffccbf1ecfbf9a7946286cd7c583
[ "Apache-2.0" ]
null
null
null
tests/test_synt_nodeselector.py
KellyGriffin/kalc
9b78c4177ed9ffccbf1ecfbf9a7946286cd7c583
[ "Apache-2.0" ]
null
null
null
from tests.test_util import print_objects from tests.libs_for_tests import prepare_yamllist_for_diff from guardctl.model.search import HypothesisysNode, OptimisticRun from guardctl.model.system.Scheduler import Scheduler from guardctl.model.system.globals import GlobalVar from guardctl.model.kinds.Service import Servic...
34.241983
212
0.698255
1,626
11,745
4.793973
0.110086
0.108788
0.025401
0.046312
0.79025
0.753432
0.733547
0.733547
0.727646
0.727646
0
0.020726
0.207152
11,745
342
213
34.342105
0.816366
0.033887
0
0.745763
0
0
0.033613
0.005823
0
0
0
0
0.030508
1
0.020339
false
0
0.074576
0
0.128814
0.013559
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
b48e857c76403b3b07969ace1138dcd5657b5ef6
41
py
Python
easytrader/main/main.py
gitbillzone/easytrader
f944b7c43e53a91d00c7b52b0b6772e93ad6ee94
[ "MIT" ]
null
null
null
easytrader/main/main.py
gitbillzone/easytrader
f944b7c43e53a91d00c7b52b0b6772e93ad6ee94
[ "MIT" ]
null
null
null
easytrader/main/main.py
gitbillzone/easytrader
f944b7c43e53a91d00c7b52b0b6772e93ad6ee94
[ "MIT" ]
null
null
null
from easytrader.dc import data_center
8.2
37
0.804878
6
41
5.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.170732
41
4
38
10.25
0.941176
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
81f3234c20908445e1421c9f3c5f67bfbe193293
3,350
py
Python
alembic/versions/d77ea8e4ac1a_add_twitter_user_eligibility_table.py
jonathanzong/dmca
70157cff983310e5951024aa80e99e7a5404d758
[ "MIT" ]
2
2022-02-16T22:50:06.000Z
2022-02-21T19:38:02.000Z
alembic/versions/d77ea8e4ac1a_add_twitter_user_eligibility_table.py
jonathanzong/dmca
70157cff983310e5951024aa80e99e7a5404d758
[ "MIT" ]
2
2022-02-01T05:48:07.000Z
2022-02-01T05:49:29.000Z
alembic/versions/d77ea8e4ac1a_add_twitter_user_eligibility_table.py
jonathanzong/bartleby
70157cff983310e5951024aa80e99e7a5404d758
[ "MIT" ]
null
null
null
"""add twitter user eligibility table Revision ID: d77ea8e4ac1a Revises: 0b6e7324eded Create Date: 2017-12-21 20:58:48.210114 """ # revision identifiers, used by Alembic. revision = 'd77ea8e4ac1a' down_revision = '0b6e7324eded' branch_labels = None depends_on = None from alembic import op import sqlalchemy as sa fr...
32.211538
99
0.704478
408
3,350
5.593137
0.193627
0.052585
0.084137
0.060473
0.832603
0.832603
0.832603
0.832603
0.832603
0.832603
0
0.023207
0.151045
3,350
103
100
32.524272
0.779184
0.186269
0
0.629032
0
0
0.194149
0.118541
0
0
0
0
0
1
0.129032
false
0
0.048387
0
0.177419
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
c31e8a4ac20a0834397b7643e0f987acb8aa3b54
111
py
Python
apps/sso/organisations/__init__.py
g10f/sso
ba6eb712add388c69d4880f5620a2e4ce42d3fee
[ "BSD-3-Clause" ]
3
2021-05-16T17:06:57.000Z
2021-05-28T17:14:05.000Z
apps/sso/organisations/__init__.py
g10f/sso
ba6eb712add388c69d4880f5620a2e4ce42d3fee
[ "BSD-3-Clause" ]
null
null
null
apps/sso/organisations/__init__.py
g10f/sso
ba6eb712add388c69d4880f5620a2e4ce42d3fee
[ "BSD-3-Clause" ]
null
null
null
from django.utils.translation import gettext_noop gettext_noop("Organisations") gettext_noop("organisations")
22.2
49
0.846847
13
111
7
0.615385
0.362637
0.527473
0
0
0
0
0
0
0
0
0
0.063063
111
4
50
27.75
0.875
0
0
0
0
0
0.234234
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
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
0
0
0
6
c335078739eb49e290c0424b5d49d07015041b26
38
py
Python
eod/plugins/yolox/models/backbone/__init__.py
Helicopt/EOD
b5db36f4ce267bf64d093b8174bde2c4097b4718
[ "Apache-2.0" ]
196
2021-10-30T05:15:36.000Z
2022-03-30T18:43:40.000Z
eod/tasks/det/plugins/yolox/models/backbone/__init__.py
YZW-explorer/EOD
f10e64de86c0f356ebf5c7e923f4042eec4207b1
[ "Apache-2.0" ]
12
2021-10-30T11:33:28.000Z
2022-03-31T14:22:58.000Z
eod/tasks/det/plugins/yolox/models/backbone/__init__.py
YZW-explorer/EOD
f10e64de86c0f356ebf5c7e923f4042eec4207b1
[ "Apache-2.0" ]
23
2021-11-01T07:26:17.000Z
2022-03-27T05:55:37.000Z
from .cspdarknet import * # noqa F401
19
37
0.736842
5
38
5.6
1
0
0
0
0
0
0
0
0
0
0
0.096774
0.184211
38
1
38
38
0.806452
0.236842
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
c33e7ec33f6f547595c29eb4751fba480cfd8344
47
py
Python
lang/py/cookbook/v2/source/cb2_4_20_exm_1.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
lang/py/cookbook/v2/source/cb2_4_20_exm_1.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
lang/py/cookbook/v2/source/cb2_4_20_exm_1.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
print 'Result tuple is: %r' % (result_tuple,),
23.5
46
0.659574
7
47
4.285714
0.714286
0.733333
0
0
0
0
0
0
0
0
0
0
0.148936
47
1
47
47
0.75
0
0
0
0
0
0.404255
0
0
0
0
0
0
0
null
null
0
0
null
null
1
1
1
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
6
c35092dcfd77b9e8d51987c8c9622a956257f6d0
1,568
py
Python
tests/test_pipeline.py
FcoJavT/rantanplan
21cad3cb106659d97035bd9ac7f5dbe025f2ff8e
[ "Apache-2.0" ]
null
null
null
tests/test_pipeline.py
FcoJavT/rantanplan
21cad3cb106659d97035bd9ac7f5dbe025f2ff8e
[ "Apache-2.0" ]
null
null
null
tests/test_pipeline.py
FcoJavT/rantanplan
21cad3cb106659d97035bd9ac7f5dbe025f2ff8e
[ "Apache-2.0" ]
null
null
null
import spacy from rantanplan.pipeline import load_pipeline test_dict_list = [ {'text': 'prue', 'pos_': '', 'tag_': '', 'n_rights': 0}, {'text': '-', 'pos_': '', 'tag_': '', 'n_rights': 0}, {'text': '\n', 'pos_': '', 'tag_': '', 'n_rights': 0}, {'text': 'ba', 'pos_': '', 'tag_': '', ...
31.36
76
0.589923
204
1,568
4.294118
0.264706
0.063927
0.068493
0.059361
0.844749
0.828767
0.767123
0.767123
0.767123
0.767123
0
0.003396
0.248724
1,568
49
77
32
0.740238
0.102679
0
0.692308
0
0
0.120714
0
0
0
0
0
0.051282
1
0.102564
false
0
0.051282
0
0.205128
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
c35164ebce84d558d724d5e464592f77a7c2272f
43
py
Python
django_rest_auth_email_confirm_reset/tests/models/user/__init__.py
Volkova-Natalia/django_rest_auth_email_confirm_reset
781e63fd97606e48d69acf84fc6bb011e47b10ca
[ "MIT" ]
null
null
null
django_rest_auth_email_confirm_reset/tests/models/user/__init__.py
Volkova-Natalia/django_rest_auth_email_confirm_reset
781e63fd97606e48d69acf84fc6bb011e47b10ca
[ "MIT" ]
1
2021-02-26T16:58:10.000Z
2021-03-24T10:12:57.000Z
django_rest_auth_email_confirm_reset/tests/models/user/__init__.py
Volkova-Natalia/django_rest_auth_email_confirm_reset
781e63fd97606e48d69acf84fc6bb011e47b10ca
[ "MIT" ]
null
null
null
from .managers import UserManagersTestCase
21.5
42
0.883721
4
43
9.5
1
0
0
0
0
0
0
0
0
0
0
0
0.093023
43
1
43
43
0.974359
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
6f55c733819606c02e66cda6c0542eac1922b9b4
2,082
py
Python
src/blog/forms.py
pzandre/django-blog
8d37071a4c2eae91066c29713407fc5b929edb96
[ "MIT" ]
null
null
null
src/blog/forms.py
pzandre/django-blog
8d37071a4c2eae91066c29713407fc5b929edb96
[ "MIT" ]
null
null
null
src/blog/forms.py
pzandre/django-blog
8d37071a4c2eae91066c29713407fc5b929edb96
[ "MIT" ]
null
null
null
from django import forms from .models import Post class PostForm(forms.ModelForm): class Meta: model = Post fields = ['title', 'author', 'preview', 'body', 'slug_url', 'tags', 'category'] help_texts = { 'preview': '255 chars max', 'slug_url': "If you don't k...
47.318182
127
0.616234
254
2,082
4.968504
0.255906
0.095087
0.161648
0.209192
0.862916
0.862916
0.862916
0.828051
0.664025
0.662441
0
0.003589
0.196926
2,082
43
128
48.418605
0.751196
0
0
0.606061
0
0
0.373256
0
0
0
0
0
0
1
0.060606
false
0
0.060606
0
0.242424
0
0
0
0
null
0
0
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
6
48e0c20db839da663d546401f0b0d1ae61adb470
48
py
Python
test.py
kshshkim/factorioCalcPy
2a7c6ca567a3bf0d2b19f3cf0bc05274f83d4205
[ "MIT" ]
1
2021-09-21T01:42:05.000Z
2021-09-21T01:42:05.000Z
test.py
kshshkim/factorioCalcPy
2a7c6ca567a3bf0d2b19f3cf0bc05274f83d4205
[ "MIT" ]
null
null
null
test.py
kshshkim/factorioCalcPy
2a7c6ca567a3bf0d2b19f3cf0bc05274f83d4205
[ "MIT" ]
null
null
null
from test_calc_base import run_test run_test()
12
35
0.833333
9
48
4
0.666667
0.388889
0
0
0
0
0
0
0
0
0
0
0.125
48
3
36
16
0.857143
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
1
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
6
d2b3a0bba9e95fbff5ed5174b011ce7665eb5d67
33
py
Python
lib/math.py
jonco3/dynamic
76d10b012a7860595c7d9abbdf542c7d8f2a4d53
[ "MIT" ]
1
2020-11-26T23:37:19.000Z
2020-11-26T23:37:19.000Z
lib/math.py
jonco3/dynamic
76d10b012a7860595c7d9abbdf542c7d8f2a4d53
[ "MIT" ]
null
null
null
lib/math.py
jonco3/dynamic
76d10b012a7860595c7d9abbdf542c7d8f2a4d53
[ "MIT" ]
null
null
null
def sqrt(x): return x ** 0.5
11
19
0.515152
7
33
2.428571
0.857143
0
0
0
0
0
0
0
0
0
0
0.086957
0.30303
33
2
20
16.5
0.652174
0
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
6
d2b555f9e0b51c6d5aeb7223131a636d373a6e5f
41
py
Python
YTools/deeplearning/__init__.py
FFTYYY/YTools
f1de3ebd913a1c66e5a82d53562cef2ab71f3255
[ "MIT" ]
1
2020-05-31T08:12:54.000Z
2020-05-31T08:12:54.000Z
YTools/deeplearning/__init__.py
FFTYYY/YTools
f1de3ebd913a1c66e5a82d53562cef2ab71f3255
[ "MIT" ]
null
null
null
YTools/deeplearning/__init__.py
FFTYYY/YTools
f1de3ebd913a1c66e5a82d53562cef2ab71f3255
[ "MIT" ]
null
null
null
from .composed_model import EnsembleModel
41
41
0.902439
5
41
7.2
1
0
0
0
0
0
0
0
0
0
0
0
0.073171
41
1
41
41
0.947368
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
d2d18ab8ee4bf3ed6b154fba68e37de653d8cdc1
80
py
Python
plugins/sketchify/komand_sketchify/actions/__init__.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
46
2019-06-05T20:47:58.000Z
2022-03-29T10:18:01.000Z
plugins/sketchify/komand_sketchify/actions/__init__.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
386
2019-06-07T20:20:39.000Z
2022-03-30T17:35:01.000Z
plugins/sketchify/komand_sketchify/actions/__init__.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
43
2019-07-09T14:13:58.000Z
2022-03-28T12:04:46.000Z
# GENERATED BY KOMAND SDK - DO NOT EDIT from .sketchify.action import Sketchify
26.666667
39
0.7875
12
80
5.25
0.916667
0
0
0
0
0
0
0
0
0
0
0
0.1625
80
2
40
40
0.940299
0.4625
0
0
1
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
960375ecbf22ce3eab518907238f544853a28ebe
122
py
Python
picamera2/previews/__init__.py
IanTBlack/picamera2
4d31a56cdb0d8360e71927e754fc6bef50bec360
[ "BSD-2-Clause" ]
71
2022-02-15T14:24:34.000Z
2022-03-29T16:36:46.000Z
picamera2/previews/__init__.py
IanTBlack/picamera2
4d31a56cdb0d8360e71927e754fc6bef50bec360
[ "BSD-2-Clause" ]
37
2022-02-16T12:35:45.000Z
2022-03-31T13:18:42.000Z
picamera2/previews/__init__.py
IanTBlack/picamera2
4d31a56cdb0d8360e71927e754fc6bef50bec360
[ "BSD-2-Clause" ]
15
2022-02-16T12:12:57.000Z
2022-03-31T15:17:58.000Z
from .drm_preview import DrmPreview from .null_preview import NullPreview from .qt_previews import QtPreview, QtGlPreview
30.5
47
0.860656
16
122
6.375
0.6875
0.254902
0
0
0
0
0
0
0
0
0
0
0.106557
122
3
48
40.666667
0.93578
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
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
82cf9708490545eca41ebd336ffefd17c395d04b
201
py
Python
starter.py
justinbaur/entitymatching
73c0ce31b7fc4db8d2c8bf85a04a517ea7bfa5bc
[ "MIT" ]
null
null
null
starter.py
justinbaur/entitymatching
73c0ce31b7fc4db8d2c8bf85a04a517ea7bfa5bc
[ "MIT" ]
null
null
null
starter.py
justinbaur/entitymatching
73c0ce31b7fc4db8d2c8bf85a04a517ea7bfa5bc
[ "MIT" ]
null
null
null
import sys import py_entitymatching as em import pandas as pd import os print('python version: ' + sys.version) print('pandas version: ' + pd.__version__) print('magellan version: ' + em.__version__)
22.333333
44
0.756219
28
201
5.107143
0.464286
0.167832
0
0
0
0
0
0
0
0
0
0
0.139303
201
8
45
25.125
0.82659
0
0
0
0
0
0.248756
0
0
0
0
0
0
1
0
true
0
0.571429
0
0.571429
0.428571
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
1
0
6
7dcb714bf30dbc293dc8bf35216e08be4c966fde
157
py
Python
dismalpy/doc/jargon.py
dismalpy/dismalpy
93bb317ca64971fd4d2a62e3da8dae6c2b8947fc
[ "BSD-2-Clause" ]
15
2016-06-01T14:33:26.000Z
2019-09-24T14:55:15.000Z
dismalpy/doc/jargon.py
dismalpy/dismalpy
93bb317ca64971fd4d2a62e3da8dae6c2b8947fc
[ "BSD-2-Clause" ]
3
2016-10-15T12:50:37.000Z
2017-05-17T12:26:29.000Z
dismalpy/doc/jargon.py
dismalpy/dismalpy
93bb317ca64971fd4d2a62e3da8dae6c2b8947fc
[ "BSD-2-Clause" ]
5
2016-03-11T03:32:17.000Z
2018-08-29T15:52:14.000Z
""" ====== Jargon ====== Placeholder for economics, computer science,and other jargon. """ from __future__ import division, absolute_import, print_function
17.444444
64
0.732484
17
157
6.411765
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.121019
157
9
64
17.444444
0.789855
0.528662
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
1
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
1
0
6
81818dc43642e4c26246ec7cd2005d55cb1db569
211
py
Python
integrate/__init__.py
tommilligan/flake8-todo-ticket
6b8e61204c6505ebd3498a6d95cddf20e6668915
[ "Apache-2.0" ]
null
null
null
integrate/__init__.py
tommilligan/flake8-todo-ticket
6b8e61204c6505ebd3498a6d95cddf20e6668915
[ "Apache-2.0" ]
119
2019-06-20T09:02:08.000Z
2021-04-16T05:32:27.000Z
integrate/__init__.py
tommilligan/flake8-todo-ticket
6b8e61204c6505ebd3498a6d95cddf20e6668915
[ "Apache-2.0" ]
null
null
null
def my_function() -> None: # TODO # ^ who knows why this is here? pass def my_function_noqa() -> str: return "bad TODO can be ignored with" # noqa: T400 # This comment has both TODO and XXX
17.583333
55
0.635071
33
211
3.969697
0.787879
0.076336
0.198473
0
0
0
0
0
0
0
0
0.019608
0.274882
211
11
56
19.181818
0.836601
0.379147
0
0
0
0
0.222222
0
0
0
0
0.090909
0
1
0.5
true
0.25
0
0.25
0.75
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
1
1
0
1
0
0
0
6
81becbde41ae38207842ff04aed6c83afcbc7001
13
py
Python
python/testData/psi/FStringTrailingWhitespaceInIncompleteFragmentInFormatPart.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/psi/FStringTrailingWhitespaceInIncompleteFragmentInFormatPart.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/psi/FStringTrailingWhitespaceInIncompleteFragmentInFormatPart.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
s = f'{42:{ '
13
13
0.307692
3
13
1.333333
1
0
0
0
0
0
0
0
0
0
0
0.2
0.230769
13
1
13
13
0.2
0
0
0
0
0
0.428571
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
6
c49a9f4e50e9e43d8853ba4a8aa250ef7cbff392
43
py
Python
pisat/core/cansat/__init__.py
jjj999/pisat
be96cfcd4a68ece14cb5f8745ab138e3931eb761
[ "MIT" ]
1
2020-09-23T08:23:47.000Z
2020-09-23T08:23:47.000Z
pisat/core/cansat/__init__.py
jjj999/pisat
be96cfcd4a68ece14cb5f8745ab138e3931eb761
[ "MIT" ]
4
2020-07-01T06:31:05.000Z
2021-05-04T05:53:01.000Z
pisat/core/cansat/__init__.py
jjj999/pisat
be96cfcd4a68ece14cb5f8745ab138e3931eb761
[ "MIT" ]
2
2020-07-01T06:08:00.000Z
2020-09-20T00:52:43.000Z
from pisat.core.cansat.cansat import CanSat
43
43
0.860465
7
43
5.285714
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.069767
43
1
43
43
0.925
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
c4ef97b9aab8bfdf91b3c976678921c9fd9b7f3f
70
py
Python
jiukuaijiy/jiukuaijiy/context_processors.py
lizhao215/django_learning
2760c809bbd8b6e3d2387611103a656ddd829f47
[ "MTLL" ]
1
2020-03-05T13:52:04.000Z
2020-03-05T13:52:04.000Z
jiukuaijiy/jiukuaijiy/context_processors.py
lizhao215/django_learning
2760c809bbd8b6e3d2387611103a656ddd829f47
[ "MTLL" ]
null
null
null
jiukuaijiy/jiukuaijiy/context_processors.py
lizhao215/django_learning
2760c809bbd8b6e3d2387611103a656ddd829f47
[ "MTLL" ]
null
null
null
def user(request): return {'user':request.session.get('user','')}
23.333333
50
0.642857
9
70
5
0.666667
0.488889
0
0
0
0
0
0
0
0
0
0
0.114286
70
2
51
35
0.725806
0
0
0
0
0
0.114286
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
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
6
f2156d45d987cb7efafefe74b308d4032ce78ce9
153
py
Python
tests/mikrotik_unique_filename_tag_test.py
rbagrov/xana
450aba65f780a2b456ab8fdc65451f8d0679686e
[ "MIT" ]
1
2017-03-08T20:45:32.000Z
2017-03-08T20:45:32.000Z
tests/mikrotik_unique_filename_tag_test.py
rbagrov/xana
450aba65f780a2b456ab8fdc65451f8d0679686e
[ "MIT" ]
10
2017-02-28T20:20:58.000Z
2019-12-02T18:04:41.000Z
tests/mikrotik_unique_filename_tag_test.py
rbagrov/xana
450aba65f780a2b456ab8fdc65451f8d0679686e
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf8 -*- from app.xaninos.mikrotik import handler def get_test(): assert(handler._tag() is not handler._tag())
19.125
48
0.679739
22
153
4.590909
0.863636
0.19802
0
0
0
0
0
0
0
0
0
0.007692
0.150327
153
7
49
21.857143
0.769231
0.267974
0
0
0
0
0
0
0
0
0
0
0.333333
1
0.333333
true
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
0
0
6
4806db2b8cb5ee8a3ef572c971dc0ec5412cc229
105
py
Python
tests/test_ec2/test_dhcp_options.py
tinyclues/moto
8612e9d78223d56949eba53ef32bedc4bde0e7de
[ "Apache-2.0" ]
null
null
null
tests/test_ec2/test_dhcp_options.py
tinyclues/moto
8612e9d78223d56949eba53ef32bedc4bde0e7de
[ "Apache-2.0" ]
null
null
null
tests/test_ec2/test_dhcp_options.py
tinyclues/moto
8612e9d78223d56949eba53ef32bedc4bde0e7de
[ "Apache-2.0" ]
null
null
null
import boto import sure # noqa from moto import mock_ec2 @mock_ec2 def test_dhcp_options(): pass
10.5
25
0.742857
17
105
4.352941
0.764706
0.189189
0
0
0
0
0
0
0
0
0
0.024096
0.209524
105
9
26
11.666667
0.86747
0.038095
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
true
0.166667
0.5
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
6
480f555fc101ad5250a9f25f4bfa5dfd8a2ab047
96
py
Python
venv/lib/python3.8/site-packages/pkginfo/wheel.py
Retraces/UkraineBot
3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71
[ "MIT" ]
2
2022-03-13T01:58:52.000Z
2022-03-31T06:07:54.000Z
venv/lib/python3.8/site-packages/pkginfo/wheel.py
DesmoSearch/Desmobot
b70b45df3485351f471080deb5c785c4bc5c4beb
[ "MIT" ]
19
2021-11-20T04:09:18.000Z
2022-03-23T15:05:55.000Z
venv/lib/python3.8/site-packages/pkginfo/wheel.py
DesmoSearch/Desmobot
b70b45df3485351f471080deb5c785c4bc5c4beb
[ "MIT" ]
null
null
null
/home/runner/.cache/pip/pool/f4/9a/b5/bd6fa72f45d577277e1af976eda29e8e1213aff924271a3f09e72bc967
96
96
0.895833
9
96
9.555556
1
0
0
0
0
0
0
0
0
0
0
0.40625
0
96
1
96
96
0.489583
0
0
0
0
0
0
0
0
1
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
1
0
0
0
1
0
0
0
0
0
0
0
0
6
482ab634a214a50463d7f069656759ddae541ad2
6,281
py
Python
tests/main_test.py
yinghai/pytext
5457c157d7a5f39bb96e2f207560cc52d9b98c83
[ "BSD-3-Clause" ]
6,199
2018-12-13T15:34:51.000Z
2022-03-26T04:08:58.000Z
tests/main_test.py
yinghai/pytext
5457c157d7a5f39bb96e2f207560cc52d9b98c83
[ "BSD-3-Clause" ]
1,356
2018-12-13T15:50:33.000Z
2022-03-03T20:45:58.000Z
tests/main_test.py
yinghai/pytext
5457c157d7a5f39bb96e2f207560cc52d9b98c83
[ "BSD-3-Clause" ]
842
2018-12-13T15:35:13.000Z
2022-03-23T13:27:00.000Z
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved import json import os import tempfile import unittest from click.testing import CliRunner from pytext.main import main from pytext.tests.utils import find_and_patch_config from pytext.utils import test from pytext.utils.path ...
34.322404
88
0.569495
672
6,281
5.123512
0.166667
0.063898
0.052861
0.076677
0.820215
0.820215
0.808888
0.808888
0.808888
0.775777
0
0.003544
0.326063
6,281
182
89
34.510989
0.809828
0.071167
0
0.685315
0
0
0.207187
0.027682
0
0
0
0
0.097902
1
0.034965
false
0
0.06993
0
0.111888
0.013986
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
483aabf9af1d5500afc3dabe6b393e754ece9a20
406
py
Python
bundles/blog/serializers/__init__.py
chriamue/flask-unchained-react-spa
610e099f3ece508f4c8a62d3704e4cc49f869194
[ "MIT" ]
5
2018-10-15T15:33:32.000Z
2021-01-13T23:03:48.000Z
bundles/blog/serializers/__init__.py
chriamue/flask-unchained-react-spa
610e099f3ece508f4c8a62d3704e4cc49f869194
[ "MIT" ]
15
2018-10-15T20:14:21.000Z
2022-03-15T19:15:09.000Z
bundles/blog/serializers/__init__.py
chriamue/flask-unchained-react-spa
610e099f3ece508f4c8a62d3704e4cc49f869194
[ "MIT" ]
4
2018-10-15T15:59:25.000Z
2020-04-11T17:48:35.000Z
from .article_serializer import ArticleSerializer, ArticleListSerializer from .category_serializer import CategorySerializer, CategoryListSerializer from .series_article_serializer import ( SeriesArticleSerializer, ArticleSeriesSerializer, ArticleSeriesDetailSerializer) from .series_serializer import SeriesSerializ...
58
84
0.891626
32
406
11.125
0.5625
0.224719
0.129213
0
0
0
0
0
0
0
0
0
0.076355
406
6
85
67.666667
0.949333
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.833333
0
0.833333
0
0
0
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
486991d45cac5a31831d2f17822941d2ef82891c
121
py
Python
automatia/__main__.py
ShadowJonathan/automatia.py
555d473c11372b2eec14bcd7508b4593be4fba7f
[ "MIT" ]
1
2018-01-01T21:41:46.000Z
2018-01-01T21:41:46.000Z
automatia/__main__.py
ShadowJonathan/automatia.py
555d473c11372b2eec14bcd7508b4593be4fba7f
[ "MIT" ]
null
null
null
automatia/__main__.py
ShadowJonathan/automatia.py
555d473c11372b2eec14bcd7508b4593be4fba7f
[ "MIT" ]
null
null
null
import sys import re if "-r" in sys.argv: pass # TODO MAKE RESTART PROCESSING else: import cli cli.main()
12.1
40
0.644628
19
121
4.105263
0.789474
0
0
0
0
0
0
0
0
0
0
0
0.272727
121
9
41
13.444444
0.886364
0.231405
0
0
0
0
0.021978
0
0
0
0
0.111111
0
1
0
true
0.142857
0.428571
0
0.428571
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
1
0
0
0
1
1
1
0
0
0
0
6
6f8bb12c3608bc9e16a566aa45f63da11e735955
178,374
py
Python
tests/function.py
loganswartz/vermin
55f159a229adf16690fed1d4f884594471f37abc
[ "MIT" ]
261
2018-03-06T20:01:23.000Z
2022-03-25T15:37:41.000Z
tests/function.py
loganswartz/vermin
55f159a229adf16690fed1d4f884594471f37abc
[ "MIT" ]
78
2018-03-07T10:12:29.000Z
2022-03-04T14:50:16.000Z
tests/function.py
loganswartz/vermin
55f159a229adf16690fed1d4f884594471f37abc
[ "MIT" ]
20
2018-03-08T20:47:12.000Z
2022-03-08T16:26:30.000Z
from .testutils import VerminTest class VerminFunctionMemberTests(VerminTest): def test_exc_clear_of_sys(self): self.assertOnlyIn((2, 3), self.detect("from sys import exc_clear")) def test_getcheckinterval_of_sys(self): self.assertOnlyIn(((2, 3), (3, 0)), self.detect("from sys import getcheckinterval")) ...
43.751288
100
0.648985
21,890
178,374
5.04317
0.063271
0.099099
0.19548
0.107287
0.742153
0.717243
0.69659
0.678328
0.610834
0.601187
0
0.024741
0.211455
178,374
4,076
101
43.762022
0.760117
0
0
0.251585
0
0
0.272388
0.132205
0
0
0
0
0.39039
1
0.360027
false
0.000667
0.382382
0
0.742743
0.002669
0
0
0
null
0
1
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
6
6f9d40844d6d214eba455fa96acdcd4a4392bed2
71
py
Python
acondbs/schema/product/__init__.py
simonsobs/acondbs
6ca11c2889d827ecdb2b54d0cf3b94b8cdd281e6
[ "MIT" ]
null
null
null
acondbs/schema/product/__init__.py
simonsobs/acondbs
6ca11c2889d827ecdb2b54d0cf3b94b8cdd281e6
[ "MIT" ]
24
2020-04-02T19:29:07.000Z
2022-03-08T03:05:43.000Z
acondbs/schema/github/__init__.py
simonsobs/acondbs
6ca11c2889d827ecdb2b54d0cf3b94b8cdd281e6
[ "MIT" ]
1
2020-04-08T15:48:28.000Z
2020-04-08T15:48:28.000Z
from . import query # noqa: F401 from . import mutation # noqa: F401
23.666667
36
0.690141
10
71
4.9
0.6
0.408163
0
0
0
0
0
0
0
0
0
0.109091
0.225352
71
2
37
35.5
0.781818
0.295775
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
6fff4980dea278a75fa9d496d82124d9dfe83622
187
py
Python
src/controllers/schemas/division_item_schema.py
taonguyen740/flask_based_3tier_framework
f02e492eff0206e661925dddcf0ba978ead38b5e
[ "MIT" ]
null
null
null
src/controllers/schemas/division_item_schema.py
taonguyen740/flask_based_3tier_framework
f02e492eff0206e661925dddcf0ba978ead38b5e
[ "MIT" ]
null
null
null
src/controllers/schemas/division_item_schema.py
taonguyen740/flask_based_3tier_framework
f02e492eff0206e661925dddcf0ba978ead38b5e
[ "MIT" ]
null
null
null
from marshmallow import fields from .base_schema import BaseSchema class DivisionItemSchema(BaseSchema): code = fields.String(required=True) text = fields.String(required=True)
23.375
39
0.786096
22
187
6.636364
0.636364
0.164384
0.273973
0.328767
0
0
0
0
0
0
0
0
0.139037
187
7
40
26.714286
0.906832
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
1
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
6
d2279e2fed6b6a40503415ee3df8172a10850191
26
py
Python
pytranslate/__init__.py
rylans/pytranslate
8eeede24e5af37922d3a69b500b69e2ed99cf4d6
[ "Apache-2.0" ]
null
null
null
pytranslate/__init__.py
rylans/pytranslate
8eeede24e5af37922d3a69b500b69e2ed99cf4d6
[ "Apache-2.0" ]
null
null
null
pytranslate/__init__.py
rylans/pytranslate
8eeede24e5af37922d3a69b500b69e2ed99cf4d6
[ "Apache-2.0" ]
null
null
null
print "loading module..."
13
25
0.692308
3
26
6
1
0
0
0
0
0
0
0
0
0
0
0
0.115385
26
1
26
26
0.782609
0
0
0
0
0
0.653846
0
0
0
0
0
0
0
null
null
0
0
null
null
1
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
1
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
6
d23b18d25060179ace918285df6fd7548782ef5d
20,747
py
Python
tests/test_split.py
tkem/uritools
28ce896a6ee3d78e47357d8c1be92f21d0de0d4d
[ "MIT" ]
39
2015-06-30T21:03:42.000Z
2022-03-09T20:29:03.000Z
tests/test_split.py
tkem/uritools
28ce896a6ee3d78e47357d8c1be92f21d0de0d4d
[ "MIT" ]
38
2015-01-13T16:16:52.000Z
2021-04-27T21:04:40.000Z
tests/test_split.py
tkem/uritools
28ce896a6ee3d78e47357d8c1be92f21d0de0d4d
[ "MIT" ]
13
2015-07-30T20:58:45.000Z
2022-02-12T21:42:03.000Z
import unittest from uritools import urisplit class SplitTest(unittest.TestCase): def check(self, uri, parts, decoded=None): result = urisplit(uri) self.assertEqual(result, parts, "Error parsing %r" % uri) self.assertEqual(result.geturi(), uri, "Error recomposing %r" % uri) def test_...
44.142553
87
0.472309
2,070
20,747
4.723672
0.06087
0.217836
0.231949
0.09818
0.869298
0.809573
0.735324
0.704439
0.638372
0.587748
0
0.031054
0.293777
20,747
469
88
44.236674
0.636295
0.002651
0
0.396861
0
0.002242
0.192787
0.035193
0
0
0
0
0.336323
1
0.029148
false
0
0.008969
0
0.040359
0
0
0
0
null
1
1
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
d23e1016663be483f4059e64ab027ccd76421637
113
py
Python
torch/nn/utils/__init__.py
EnjoyLifeFund/macHighSierra-py36-pkgs
5668b5785296b314ea1321057420bcd077dba9ea
[ "BSD-3-Clause", "BSD-2-Clause", "MIT" ]
null
null
null
torch/nn/utils/__init__.py
EnjoyLifeFund/macHighSierra-py36-pkgs
5668b5785296b314ea1321057420bcd077dba9ea
[ "BSD-3-Clause", "BSD-2-Clause", "MIT" ]
null
null
null
torch/nn/utils/__init__.py
EnjoyLifeFund/macHighSierra-py36-pkgs
5668b5785296b314ea1321057420bcd077dba9ea
[ "BSD-3-Clause", "BSD-2-Clause", "MIT" ]
null
null
null
from . import rnn from .clip_grad import clip_grad_norm from .weight_norm import weight_norm, remove_weight_norm
28.25
56
0.849558
19
113
4.684211
0.421053
0.337079
0
0
0
0
0
0
0
0
0
0
0.115044
113
3
57
37.666667
0.89
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
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
963fe83f23fd6547767b1e72adcaa5a5fd1a2e1d
987
py
Python
tests/test_alternado_par.py
danizavtz/validador_seis_digitos
67319261747ab5b4fcd05c3a5b1ea8b43824a30f
[ "Apache-2.0" ]
null
null
null
tests/test_alternado_par.py
danizavtz/validador_seis_digitos
67319261747ab5b4fcd05c3a5b1ea8b43824a30f
[ "Apache-2.0" ]
null
null
null
tests/test_alternado_par.py
danizavtz/validador_seis_digitos
67319261747ab5b4fcd05c3a5b1ea8b43824a30f
[ "Apache-2.0" ]
null
null
null
import unittest from main import verifica_alternado_em_par class TestAlternadoPar(unittest.TestCase): def test_verifica_alternado_em_par_verdadeiro(self): self.assertTrue(verifica_alternado_em_par('121426')) def test_verifica_alternado_em_par_verdadeiro_2(self): self.assertTrue(verifica_alte...
34.034483
61
0.780142
127
987
5.503937
0.267717
0.340486
0.380544
0.440629
0.711016
0.711016
0.669528
0
0
0
0
0.052817
0.136778
987
29
62
34.034483
0.767606
0
0
0
0
0
0.050607
0
0
0
0
0
0.368421
1
0.368421
false
0
0.105263
0
0.526316
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
1
0
0
0
0
1
0
0
6
964f8b7b73ebe046e826d871415269e27177614e
300
py
Python
tests/test_list.py
brean/tween
f6a05081942e59b64e4b5e68e0250895306c2c68
[ "MIT" ]
1
2021-09-09T01:50:09.000Z
2021-09-09T01:50:09.000Z
tests/test_list.py
brean/tween
f6a05081942e59b64e4b5e68e0250895306c2c68
[ "MIT" ]
null
null
null
tests/test_list.py
brean/tween
f6a05081942e59b64e4b5e68e0250895306c2c68
[ "MIT" ]
1
2022-03-23T10:22:52.000Z
2022-03-23T10:22:52.000Z
import tween def test_false(): mylist = [0.0] tween.to(mylist, 0, end_value = 10.0, time = 20.0) tween.update(10.0) assert mylist[0] != 2.5 def test_true(): mylist = [0.0] tween.to(mylist, 0, end_value = 10.0, time = 20.0) tween.update(10.0) assert mylist[0] == 5.0
21.428571
54
0.586667
54
300
3.185185
0.333333
0.244186
0.093023
0.151163
0.77907
0.77907
0.77907
0.77907
0.77907
0.77907
0
0.131579
0.24
300
13
55
23.076923
0.622807
0
0
0.545455
0
0
0
0
0
0
0
0
0.181818
1
0.181818
false
0
0.090909
0
0.272727
0
0
0
0
null
1
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
968fc5a67addc0ffc92e542edb0b95d66d19993b
8,020
py
Python
tests/cfngin/lookups/handlers/test_ami.py
paul-duffy/runway
a0c22eb7ca7b55df5317bdda92c08c4bb39569d2
[ "Apache-2.0" ]
1
2020-02-25T21:08:00.000Z
2020-02-25T21:08:00.000Z
tests/cfngin/lookups/handlers/test_ami.py
paul-duffy/runway
a0c22eb7ca7b55df5317bdda92c08c4bb39569d2
[ "Apache-2.0" ]
2
2020-01-07T15:00:55.000Z
2020-01-07T15:03:25.000Z
tests/cfngin/lookups/handlers/test_ami.py
voodooGQ/runway
8a744f33b39f1342022f1b57db996bb843e4556c
[ "Apache-2.0" ]
null
null
null
"""Tests for runway.cfngin.lookups.handlers.ami.""" import unittest import boto3 import mock from botocore.stub import Stubber from runway.cfngin.lookups.handlers.ami import AmiLookup, ImageNotFound from ...factories import SessionStub, mock_provider REGION = "us-east-1" class TestAMILookup(unittest.TestCase): ...
36.788991
80
0.465586
669
8,020
5.427504
0.179372
0.02699
0.049573
0.066924
0.847976
0.83035
0.801708
0.749931
0.72184
0.697053
0
0.065563
0.427556
8,020
217
81
36.958525
0.725332
0.060474
0
0.594595
0
0
0.241485
0.085615
0
0
0
0
0.032432
1
0.037838
false
0
0.032432
0
0.081081
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
73715cd6d55d51cc10ca783e450163e7e2af5611
175
py
Python
codewars/7kyu/doha22/max_number/test.py
doha22/Training_one
0cd7cf86c7da0f6175834146296b763d1841766b
[ "MIT" ]
null
null
null
codewars/7kyu/doha22/max_number/test.py
doha22/Training_one
0cd7cf86c7da0f6175834146296b763d1841766b
[ "MIT" ]
2
2019-01-22T10:53:42.000Z
2019-01-31T08:02:48.000Z
codewars/7kyu/doha22/max_number/test.py
doha22/Training_one
0cd7cf86c7da0f6175834146296b763d1841766b
[ "MIT" ]
13
2019-01-22T10:37:42.000Z
2019-01-25T13:30:43.000Z
import unittest from max_number import max_number def test_max_number(benchmark): assert benchmark(max_number,213) == 321 assert benchmark(max_number2,7389) == 9873
21.875
46
0.777143
25
175
5.2
0.56
0.276923
0.276923
0
0
0
0
0
0
0
0
0.100671
0.148571
175
7
47
25
0.771812
0
0
0
0
0
0
0
0
0
0
0
0.4
1
0.2
false
0
0.4
0
0.6
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
0
0
1
0
1
0
0
6
73ad181886d54f1470f8db6dbc9f37b3179cc144
30
py
Python
architecture_search/models/__init__.py
EmbeddedML-EDAGroup/Q-PPG
ed42829d0a456db4f0b31d63ba8b22ba483c7b08
[ "Apache-2.0" ]
1
2021-12-18T21:04:29.000Z
2021-12-18T21:04:29.000Z
architecture_search/models/__init__.py
EmbeddedML-EDAGroup/Q-PPG
ed42829d0a456db4f0b31d63ba8b22ba483c7b08
[ "Apache-2.0" ]
null
null
null
architecture_search/models/__init__.py
EmbeddedML-EDAGroup/Q-PPG
ed42829d0a456db4f0b31d63ba8b22ba483c7b08
[ "Apache-2.0" ]
null
null
null
from .build_TEMPONet import *
15
29
0.8
4
30
5.75
1
0
0
0
0
0
0
0
0
0
0
0
0.133333
30
1
30
30
0.884615
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
73c9c63685d817b7cd899e3a9dc76bbc51c2d6c2
191
py
Python
service/bitcoingw_init_db.py
catenocrypt/mikron_bitcoingw
4e6f6691816f4da2c803731d77c386b9fc6ef61d
[ "Apache-2.0" ]
null
null
null
service/bitcoingw_init_db.py
catenocrypt/mikron_bitcoingw
4e6f6691816f4da2c803731d77c386b9fc6ef61d
[ "Apache-2.0" ]
null
null
null
service/bitcoingw_init_db.py
catenocrypt/mikron_bitcoingw
4e6f6691816f4da2c803731d77c386b9fc6ef61d
[ "Apache-2.0" ]
null
null
null
import bitcoingw_db import os def reinit_db(): if os.path.exists(bitcoingw_db.get_db_name()): os.remove(bitcoingw_db.get_db_name()) bitcoingw_db.create_dbs() ### reinit_db()
21.222222
50
0.717277
30
191
4.2
0.466667
0.349206
0.222222
0.253968
0.31746
0
0
0
0
0
0
0
0.151832
191
9
51
21.222222
0.777778
0.057592
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
true
0
0.333333
0
0.5
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
0
0
0
6
73f24a89214342fa095a76015887fb56077af7c5
22,213
py
Python
python/soma_workflow/transfer.py
denisri/soma-workflow
bc6f2f50d34437e86e850cb0d05ff26b041d560d
[ "CECILL-B" ]
null
null
null
python/soma_workflow/transfer.py
denisri/soma-workflow
bc6f2f50d34437e86e850cb0d05ff26b041d560d
[ "CECILL-B" ]
44
2018-10-30T16:57:10.000Z
2022-03-15T10:54:57.000Z
python/soma_workflow/transfer.py
populse/soma-workflow
e6d3e3c33ad41107ee3c959adc4832e6edd047f4
[ "CECILL-B" ]
null
null
null
# -*- coding: utf-8 -*- ''' @author: Soizic Laguitton @organization: I2BM, Neurospin, Gif-sur-Yvette, France @organization: CATI, France @organization: U{IFR 49<http://www.ifr49.org>} @license: U{CeCILL version 2<http://www.cecill.info/licences/Licence_CeCILL_V2-en.html>} ''' from __future__ import print_function f...
38.564236
88
0.500788
2,394
22,213
4.417711
0.076023
0.091717
0.083207
0.081694
0.816944
0.776286
0.734304
0.71388
0.659323
0.629633
0
0.005314
0.406924
22,213
575
89
38.631304
0.79748
0.073966
0
0.706977
0
0
0.023042
0
0
0
0
0
0
1
0.081395
false
0.013953
0.02093
0.018605
0.172093
0.027907
0
0
0
null
0
0
0
1
1
1
1
0
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
6
fb8102b03df7d5a805e6ac843f734850f40ee6eb
2,759
py
Python
tests/test_subcircuit.py
cwstryker/skidl
b5854ecd71e9da70d5391ad67ab30a8985a61ee8
[ "MIT" ]
null
null
null
tests/test_subcircuit.py
cwstryker/skidl
b5854ecd71e9da70d5391ad67ab30a8985a61ee8
[ "MIT" ]
null
null
null
tests/test_subcircuit.py
cwstryker/skidl
b5854ecd71e9da70d5391ad67ab30a8985a61ee8
[ "MIT" ]
null
null
null
import pytest from skidl import * from .setup_teardown import * def test_subcircuit_1(): class Resistor(Part): def __init__(self, value, ref=None, footprint="Resistors_SMD:R_0805"): super().__init__("device", "R", value=value, ref=ref, footprint=footprint) @subcircuit def resdiv(): ...
27.868687
86
0.575208
360
2,759
4.291667
0.227778
0.019417
0.062136
0.08932
0.895146
0.785113
0.725566
0.706796
0.706796
0.683495
0
0.041944
0.29141
2,759
98
87
28.153061
0.748338
0.234505
0
0.7
0
0
0.060201
0
0
0
0
0
0.085714
1
0.1
false
0
0.042857
0
0.171429
0.057143
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
fb891308b59c89c8fe4b89d4292ecf33d8c16bf6
58
py
Python
docs/build.py
justinngan92/ospgrillage
0e8d58268ac85186bfadd8ba2df5d54c07392911
[ "MIT" ]
1
2020-10-12T08:24:55.000Z
2020-10-12T08:24:55.000Z
docs/build.py
justinngan92/ospgrillage
0e8d58268ac85186bfadd8ba2df5d54c07392911
[ "MIT" ]
6
2020-08-17T21:31:56.000Z
2020-10-22T17:40:05.000Z
docs/build.py
MonashSmartStructures/ops-grillage
9b7fea6c1279f704e4ca0a7836538fd8963b60cc
[ "MIT" ]
5
2020-10-09T13:25:58.000Z
2021-12-28T15:26:31.000Z
import os os.system("make clean") os.system("make html")
11.6
23
0.706897
10
58
4.1
0.6
0.390244
0.585366
0
0
0
0
0
0
0
0
0
0.12069
58
4
24
14.5
0.803922
0
0
0
0
0
0.327586
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
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
0
0
0
6
83a9e76ff3e6b39318f3c9ccfc64c14059eaff43
3,623
py
Python
apps/greencheck/tests/test_admin.py
thegreenwebfoundation/greenwebfoundation-admin
4ecf087fc7a305b410fe9dc5c13c721f98755ad7
[ "Apache-2.0" ]
10
2020-11-23T22:47:26.000Z
2022-01-28T16:26:50.000Z
apps/greencheck/tests/test_admin.py
thegreenwebfoundation/admin-portal
65882871bd8c7a088127dcaf25aa534753cf51fa
[ "Apache-2.0" ]
83
2020-05-17T20:25:50.000Z
2022-03-29T18:11:50.000Z
apps/greencheck/tests/test_admin.py
thegreenwebfoundation/greenwebfoundation-admin
4ecf087fc7a305b410fe9dc5c13c721f98755ad7
[ "Apache-2.0" ]
3
2020-11-30T00:13:45.000Z
2021-06-11T13:42:04.000Z
from .. import admin as gc_admin from .. import models from ...accounts import admin_site from .. import factories as gc_factories from django import urls class TestGreencheckIpApproveAdmin: def test_get_actions_staff_user(self, db, rf, sample_hoster_user, hosting_provider): """Check that a user with the ...
32.936364
88
0.691968
410
3,623
5.756098
0.168293
0.071186
0.094915
0.061017
0.859322
0.812712
0.812712
0.790678
0.774153
0.774153
0
0.001456
0.241789
3,623
109
89
33.238532
0.857663
0.019045
0
0.6125
0
0
0.072276
0.063241
0
0
0
0
0.1625
1
0.05
false
0
0.0625
0
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
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
8600301c274fe324e951e0e07ade20032a1da283
4,389
py
Python
umami/calculations/metric/chi_intercept_gradient.py
mcflugen/umami
7c8082e221d298bc5d7262065c43a191594f0691
[ "MIT" ]
null
null
null
umami/calculations/metric/chi_intercept_gradient.py
mcflugen/umami
7c8082e221d298bc5d7262065c43a191594f0691
[ "MIT" ]
null
null
null
umami/calculations/metric/chi_intercept_gradient.py
mcflugen/umami
7c8082e221d298bc5d7262065c43a191594f0691
[ "MIT" ]
null
null
null
""" """ from landlab.components import ChiFinder def _validate_chi_finder(chi_finder): if not isinstance(chi_finder, ChiFinder): msg = "umami: A valid instance of a ChiFinder is required." raise ValueError(msg) def chi_intercept(chi_finder): r"""Return the intercept to a linear fit through a...
32.272059
225
0.666211
568
4,389
4.889085
0.193662
0.048614
0.028808
0.054735
0.89233
0.869283
0.869283
0.869283
0.869283
0.834714
0
0.012419
0.192755
4,389
135
226
32.511111
0.77138
0.786284
0
0.266667
0
0
0.091398
0
0
0
0
0
0
1
0.2
false
0
0.066667
0
0.4
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
f7d32f222bc5895042c7a7b5eb5f47447e60fd8c
30,447
py
Python
test/auto/flags.py
rmallof/pysymemu
7909fd065879f562004f6cc6be37f8072e85790b
[ "BSD-3-Clause" ]
271
2015-01-01T06:14:03.000Z
2022-03-04T09:57:21.000Z
test/auto/flags.py
rmallof/pysymemu
7909fd065879f562004f6cc6be37f8072e85790b
[ "BSD-3-Clause" ]
6
2015-04-13T15:53:31.000Z
2021-01-11T04:09:55.000Z
test/auto/flags.py
rmallof/pysymemu
7909fd065879f562004f6cc6be37f8072e85790b
[ "BSD-3-Clause" ]
58
2015-01-01T06:10:07.000Z
2021-02-13T19:41:02.000Z
flags = { 'AAA': {'undefined': ['OF', 'SF', 'ZF', 'PF'], 'defined': ['AF', 'CF'], 'setted': [], 'modified': ['OF', 'SF', 'ZF', 'AF', 'PF', 'CF'], 'tested': ['AF'], 'cleared': []} , 'AAD': {'undefined': ['OF', 'AF', 'CF'], 'defined': ['SF', 'ZF', 'PF'], 'setted': [], 'modified': ['OF', 'SF', 'ZF', 'AF', 'PF', 'CF'], '...
129.561702
200
0.441817
2,826
30,447
4.760085
0.087403
0.238329
0.063782
0.29438
0.900164
0.89942
0.896595
0.568168
0.457553
0.391986
0
0.000153
0.140605
30,447
234
201
130.115385
0.513949
0
0
0
0
0
0.441653
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
0
1
1
1
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
f7d42666706cc270faac935147e78fe3c00c901d
147
py
Python
manpower_reports/views.py
hisham2k9/IMS-and-CAPA
9f70988a6411c72ab4f0cbc818b84db58a28076f
[ "MIT" ]
null
null
null
manpower_reports/views.py
hisham2k9/IMS-and-CAPA
9f70988a6411c72ab4f0cbc818b84db58a28076f
[ "MIT" ]
15
2021-03-19T03:43:56.000Z
2022-03-12T00:30:55.000Z
manpower_reports/views.py
hisham2k9/IMS-and-CAPA
9f70988a6411c72ab4f0cbc818b84db58a28076f
[ "MIT" ]
null
null
null
from django.shortcuts import render # Create your views here. def manpower_reports(request): return render (request, 'manpower_reports.html')
24.5
52
0.782313
19
147
5.947368
0.789474
0.265487
0
0
0
0
0
0
0
0
0
0
0.136054
147
6
52
24.5
0.889764
0.156463
0
0
0
0
0.170732
0.170732
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
0
0
0
6
f7d4b5c4e1b9e6ac48bd8f2d17741fb6523a6e97
114
py
Python
app/app/calc.py
harni07/recipe-app-api
6a7a0a503e31ede45bcf8e0f34dcbc3c6d85fdc6
[ "MIT" ]
1
2020-05-30T03:05:33.000Z
2020-05-30T03:05:33.000Z
app/app/calc.py
harni07/recipe-app-api
6a7a0a503e31ede45bcf8e0f34dcbc3c6d85fdc6
[ "MIT" ]
null
null
null
app/app/calc.py
harni07/recipe-app-api
6a7a0a503e31ede45bcf8e0f34dcbc3c6d85fdc6
[ "MIT" ]
null
null
null
def add(x,y): #add 2 numbers return x + y def subtract(x, y): #subtract 2 numbers return y - x
11.4
23
0.561404
20
114
3.2
0.4
0.09375
0.4375
0
0
0
0
0
0
0
0
0.026316
0.333333
114
9
24
12.666667
0.815789
0.27193
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
6
f7f8e5da038078ff467546f516187ea82b512845
41
py
Python
back/old/similar.py
npavlinov/OxfordHack2018
271d3b857cb43dd45cf7897b3316699d562c20c5
[ "MIT" ]
null
null
null
back/old/similar.py
npavlinov/OxfordHack2018
271d3b857cb43dd45cf7897b3316699d562c20c5
[ "MIT" ]
null
null
null
back/old/similar.py
npavlinov/OxfordHack2018
271d3b857cb43dd45cf7897b3316699d562c20c5
[ "MIT" ]
null
null
null
def similarity(a, b): return a==b
6.833333
21
0.560976
7
41
3.285714
0.714286
0.173913
0
0
0
0
0
0
0
0
0
0
0.292683
41
5
22
8.2
0.793103
0
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
6
791537a1bed1029f4363b5635b6716ae94cb65bc
47
py
Python
vantage6/cli/__init__.py
mellesies/PyTaskManager
7ed33ea016c5b8f632f23ff66810fad437f2724a
[ "Apache-2.0" ]
19
2020-06-03T15:30:38.000Z
2022-03-08T09:51:51.000Z
vantage6/cli/__init__.py
mellesies/PyTaskManager
7ed33ea016c5b8f632f23ff66810fad437f2724a
[ "Apache-2.0" ]
37
2020-03-26T15:06:00.000Z
2022-02-08T13:28:10.000Z
vantage6/cli/__init__.py
mellesies/PyTaskManager
7ed33ea016c5b8f632f23ff66810fad437f2724a
[ "Apache-2.0" ]
3
2019-03-01T13:38:07.000Z
2019-06-05T07:20:07.000Z
from ._version import version_info, __version__
47
47
0.87234
6
47
5.833333
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.085106
47
1
47
47
0.813953
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
f711965dc8523212746c3ea30163a0260f421dd0
24
py
Python
torchlight/xp/__init__.py
l3robot/torchlight
e9a809aad0b5e75f97bf0cb50c9c799ea7b98eab
[ "MIT" ]
null
null
null
torchlight/xp/__init__.py
l3robot/torchlight
e9a809aad0b5e75f97bf0cb50c9c799ea7b98eab
[ "MIT" ]
null
null
null
torchlight/xp/__init__.py
l3robot/torchlight
e9a809aad0b5e75f97bf0cb50c9c799ea7b98eab
[ "MIT" ]
null
null
null
from .splitter import *
12
23
0.75
3
24
6
1
0
0
0
0
0
0
0
0
0
0
0
0.166667
24
1
24
24
0.9
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
f7389c2b6b455447ae8105af74392a88df24aa73
55
py
Python
python/testData/refactoring/changeSignature/removeDefaultFromParam.after.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/refactoring/changeSignature/removeDefaultFromParam.after.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/refactoring/changeSignature/removeDefaultFromParam.after.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
def bar(a, b): pass bar(1, 3) bar(1, b=3) bar(1, 2)
7.857143
14
0.509091
15
55
1.866667
0.533333
0.428571
0.357143
0
0
0
0
0
0
0
0
0.142857
0.236364
55
7
15
7.857143
0.52381
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0.2
0
0
0.2
0
1
0
1
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
6
f75256736d24a39c7c39c048a1c443954662abe3
32
py
Python
python/testData/completion/className/submoduleRegularImport/submoduleRegularImport.after.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/completion/className/submoduleRegularImport/submoduleRegularImport.after.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/completion/className/submoduleRegularImport/submoduleRegularImport.after.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
import pack.submod pack.submod
8
18
0.8125
5
32
5.2
0.6
0.769231
0
0
0
0
0
0
0
0
0
0
0.125
32
3
19
10.666667
0.928571
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
1
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
6
f7756b727471701b7f9910027fd70fd368826fa1
101
py
Python
Zoocmd/new_core/feed_manager.py
helicontech/zoo
a33ba547f553bcce415f7a54bd89c444f82e48ee
[ "Apache-2.0" ]
2
2017-05-01T07:35:24.000Z
2018-04-12T13:36:03.000Z
Zoocmd/new_core/feed_manager.py
helicontech/zoo
a33ba547f553bcce415f7a54bd89c444f82e48ee
[ "Apache-2.0" ]
2
2017-03-23T17:28:37.000Z
2018-06-07T06:38:08.000Z
Zoocmd/new_core/feed_manager.py
helicontech/zoo
a33ba547f553bcce415f7a54bd89c444f82e48ee
[ "Apache-2.0" ]
3
2016-06-22T11:11:16.000Z
2019-10-25T15:09:46.000Z
""" Copyright © Helicon Tech. All rights reserved. """ import yaml def load_feed(stream): pass
11.222222
46
0.683168
14
101
4.928571
1
0
0
0
0
0
0
0
0
0
0
0
0.19802
101
9
47
11.222222
0.839506
0.455446
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.333333
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
1
0
1
0
0
6
e3dc4dfa49bac40a59deb3bff78dc92636b6d97f
127
py
Python
ffsc/pipeline/datasets/__init__.py
Lkruitwagen/global-fossil-fuel-supply-chain
f5d804a5f7cee19af46d2f31e635590d3930bacd
[ "MIT" ]
16
2021-02-11T10:30:13.000Z
2021-11-05T09:46:47.000Z
ffsc/pipeline/datasets/__init__.py
Lkruitwagen/global-fossil-fuel-supply-chain
f5d804a5f7cee19af46d2f31e635590d3930bacd
[ "MIT" ]
3
2020-02-20T10:00:27.000Z
2020-03-10T00:34:11.000Z
ffsc/pipeline/datasets/__init__.py
Lkruitwagen/global-energy-demand
f5d804a5f7cee19af46d2f31e635590d3930bacd
[ "MIT" ]
3
2021-04-06T08:27:07.000Z
2021-11-05T09:51:45.000Z
from .json_local_dataset import JSONLocalDataSet from .neo4j_dataset import Neo4jDataset from .gpkg_dataset import GPKGDataSet
31.75
48
0.88189
16
127
6.75
0.625
0.361111
0
0
0
0
0
0
0
0
0
0.017391
0.094488
127
3
49
42.333333
0.921739
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
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
581777e402bd6e291861bb4fe249a7d4d975731e
4,786
py
Python
tests/test_coint.py
vishalbelsare/cointanalysis
ae21c520dfe500fe535265e93df4a36f4d012069
[ "BSD-3-Clause" ]
27
2020-01-03T03:36:42.000Z
2022-03-28T06:47:32.000Z
tests/test_coint.py
simaki/cointanalysis
ae21c520dfe500fe535265e93df4a36f4d012069
[ "BSD-3-Clause" ]
26
2020-01-03T09:02:21.000Z
2022-02-22T01:01:48.000Z
tests/test_coint.py
vishalbelsare/cointanalysis
ae21c520dfe500fe535265e93df4a36f4d012069
[ "BSD-3-Clause" ]
8
2021-02-09T22:19:18.000Z
2022-02-23T19:45:24.000Z
from itertools import product import numpy as np import pytest from cointanalysis import CointAnalysis params_seed = [42] params_method = ["AEG"] params_axis = ["0", "1", "PCA"] params_trend = ["c"] params_adjust = [True] params_gamma = [1.0, 2.0, 10.0, -1.0, -2.0, -10.0] params_n_samples = [1000] # def make_gauss...
34.681159
82
0.701421
693
4,786
4.66811
0.106782
0.098918
0.194745
0.036167
0.801546
0.779289
0.739413
0.706337
0.669243
0.642968
0
0.022667
0.133514
4,786
137
83
34.934307
0.757415
0.09674
0
0.511364
0
0
0.04107
0
0
0
0
0
0.113636
1
0.102273
false
0
0.045455
0
0.193182
0
0
0
0
null
0
1
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
0
0
0
0
0
0
0
0
6
582ff878ef8efc31f7aca22bc428e4b2871ffb2d
3,894
py
Python
drives/forms.py
frostdpr/uva-rideon
3146c9ad5b12fa6bc9605b4f045b5dfd791ce8d1
[ "Apache-2.0" ]
null
null
null
drives/forms.py
frostdpr/uva-rideon
3146c9ad5b12fa6bc9605b4f045b5dfd791ce8d1
[ "Apache-2.0" ]
null
null
null
drives/forms.py
frostdpr/uva-rideon
3146c9ad5b12fa6bc9605b4f045b5dfd791ce8d1
[ "Apache-2.0" ]
1
2020-02-09T18:09:02.000Z
2020-02-09T18:09:02.000Z
import datetime from django import forms from django.utils import timezone from .models import * class DriveCreationForm(forms.ModelForm): class Meta: model = Drive error_css_class = 'error' fields = ( "title", "driver", "description", "date", "time", "min_cost", "max...
40.989474
141
0.625578
469
3,894
5.059701
0.21322
0.047198
0.105352
0.035398
0.83818
0.807838
0.746313
0.729456
0.729456
0.687316
0
0.002757
0.254751
3,894
94
142
41.425532
0.814955
0.162558
0
0.586207
0
0
0.278941
0
0
0
0
0
0
1
0.103448
false
0.034483
0.068966
0
0.327586
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
5870a942187ccc93fba1b46612e3b84907f86954
590
py
Python
main/gpminference/KernelSearch/IncrementalTraversors.py
Bernsai/GaussianProcessModelInference
674c775f90ec8903b224264e73abb333744ffed2
[ "MIT" ]
null
null
null
main/gpminference/KernelSearch/IncrementalTraversors.py
Bernsai/GaussianProcessModelInference
674c775f90ec8903b224264e73abb333744ffed2
[ "MIT" ]
1
2021-08-11T11:18:17.000Z
2021-08-23T16:56:32.000Z
main/gpminference/KernelSearch/IncrementalTraversors.py
Bernsai/GaussianProcessModelInference
674c775f90ec8903b224264e73abb333744ffed2
[ "MIT" ]
null
null
null
import random from gpminference.KernelSearch import IncrementalSegment as iseg def traversor_template(segment: iseg.Partition) -> float: pass def metric_traversor(segment: iseg.Partition) -> float: return segment.get_latest_metric() def length_weighted_metric_traversor(segment: iseg.Partition) -> float: ...
24.583333
95
0.771186
72
590
6.097222
0.361111
0.125285
0.22779
0.284738
0.514806
0.514806
0.42369
0.42369
0.309795
0.309795
0
0
0.130508
590
23
96
25.652174
0.85575
0
0
0
0
0
0
0
0
0
0
0
0
1
0.416667
false
0.083333
0.166667
0.333333
0.916667
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
6
58748b2ce4a9bd4c66b9b89cf4f931d99be2633a
137
py
Python
pitchfork/admin.py
lemoswilson/NewsAggregator
87da34681f12d0edb088f8bb88805667dc12dff8
[ "MIT" ]
null
null
null
pitchfork/admin.py
lemoswilson/NewsAggregator
87da34681f12d0edb088f8bb88805667dc12dff8
[ "MIT" ]
8
2020-06-06T01:29:53.000Z
2022-03-12T00:16:57.000Z
pitchfork/admin.py
lemoswilson/NewsAggregator
87da34681f12d0edb088f8bb88805667dc12dff8
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Pitchfork_model admin.site.register(Pitchfork_model) # Register your models here.
19.571429
36
0.824818
19
137
5.842105
0.631579
0.252252
0
0
0
0
0
0
0
0
0
0
0.116788
137
6
37
22.833333
0.917355
0.189781
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
54981641fbeaee0a5aa6a647a07c7dfd8a2b2afe
6,975
py
Python
service/resolver_1623.py
LemonITCN/presolver
b6e7da0698f525206fb0b8906a6bb8a84c29d1de
[ "Apache-2.0" ]
1
2021-07-01T01:02:48.000Z
2021-07-01T01:02:48.000Z
service/resolver_1623.py
LemonITCN/presolver
b6e7da0698f525206fb0b8906a6bb8a84c29d1de
[ "Apache-2.0" ]
null
null
null
service/resolver_1623.py
LemonITCN/presolver
b6e7da0698f525206fb0b8906a6bb8a84c29d1de
[ "Apache-2.0" ]
null
null
null
from service.resolver_base import ResolverBase from service.rule_item_mutex import RuleItemMutex # 6宫无马数独 # DB 互斥规则已写入 class Resolver1623(ResolverBase): ANSWER_RANGE = ['1', '2', '3', '4', '5', '6'] def get_answer_range(self) -> []: return Resolver1623.ANSWER_RANGE def calculate_rules(self): ...
47.128378
90
0.5881
1,054
6,975
3.763757
0.040797
0.314595
0.419461
0.723721
0.912528
0.912528
0.834636
0.345097
0.160575
0.160575
0
0.10616
0.234265
6,975
147
91
47.44898
0.636585
0.003584
0
0.017391
0
0.165217
0.144606
0.062941
0
0
0
0
0
1
0.026087
false
0
0.017391
0.008696
0.069565
0
0
0
0
null
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
49ed1bb2b5d834ff98522441a49421dd0f540e38
137
py
Python
tests/test_funcs.py
alexandershov/mess
7b0d956c1fd39cca2e4adcd5dc35952ec3ed3fd5
[ "MIT" ]
null
null
null
tests/test_funcs.py
alexandershov/mess
7b0d956c1fd39cca2e4adcd5dc35952ec3ed3fd5
[ "MIT" ]
null
null
null
tests/test_funcs.py
alexandershov/mess
7b0d956c1fd39cca2e4adcd5dc35952ec3ed3fd5
[ "MIT" ]
null
null
null
from mess.funcs import call from mess import iters def test_call(): assert iters.length(filter(call.isdigit, ['1', 'b', '2'])) == 2
22.833333
67
0.671533
22
137
4.136364
0.681818
0.175824
0
0
0
0
0
0
0
0
0
0.026087
0.160584
137
6
67
22.833333
0.765217
0
0
0
0
0
0.021739
0
0
0
0
0
0.25
1
0.25
true
0
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
0
1
0
1
0
0
6
b70091f4230c8aa28074b798c92c464d31b13a30
3,787
py
Python
tests/api/v1/test_config.py
atti1a/CTFd
6c5c63d667a17aec159c8e26ea53dccfbc4d0fa3
[ "Apache-2.0" ]
21
2019-06-15T14:28:51.000Z
2021-09-02T03:01:51.000Z
tests/api/v1/test_config.py
atti1a/CTFd
6c5c63d667a17aec159c8e26ea53dccfbc4d0fa3
[ "Apache-2.0" ]
132
2020-07-31T09:11:13.000Z
2022-03-30T22:05:18.000Z
tests/api/v1/test_config.py
atti1a/CTFd
6c5c63d667a17aec159c8e26ea53dccfbc4d0fa3
[ "Apache-2.0" ]
24
2019-06-06T09:47:24.000Z
2022-02-24T09:16:59.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from CTFd.utils import get_config from tests.helpers import create_ctfd, destroy_ctfd, login_as_user def test_api_configs_get_non_admin(): """Can a user get /api/v1/configs if not admin""" app = create_ctfd() with app.app_context(): with app.test_clie...
35.726415
87
0.604964
546
3,787
3.956044
0.098901
0.055556
0.133333
0.072222
0.89537
0.861574
0.856944
0.80787
0.769907
0.684259
0
0.023869
0.25878
3,787
105
88
36.066667
0.745636
0.140745
0
0.621212
0
0
0.132534
0.049315
0
0
0
0
0.257576
1
0.106061
false
0
0.030303
0
0.136364
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
b701847acfd34ae8f93d8f05c7c0f08c48016438
2,806
py
Python
rule_sets_examples.py
brsynth/RetroPathRL
80c6a70d94e58227839546e308c12dea43a08d3b
[ "MIT" ]
21
2019-11-04T15:16:46.000Z
2022-02-28T09:46:21.000Z
rule_sets_examples.py
brsynth/RetroPathRL
80c6a70d94e58227839546e308c12dea43a08d3b
[ "MIT" ]
10
2020-01-13T08:18:29.000Z
2022-03-07T12:48:03.000Z
rule_sets_examples.py
brsynth/RetroPathRL
80c6a70d94e58227839546e308c12dea43a08d3b
[ "MIT" ]
10
2020-01-29T11:46:58.000Z
2022-03-22T03:00:32.000Z
""" Contains the rules examples that will be used throughout the tests. The aim is to """ import logging import csv import os rule_10_subset_address = "{}/tests/data/rules_r10_subset.tsv".format(os.path.dirname(__file__)) applicable_rules_10_dict = {} with open(rule_10_subset_address, "r") as csv_file: fieldnames...
59.702128
201
0.599786
315
2,806
4.952381
0.209524
0.076923
0.044872
0.042308
0.878205
0.826282
0.826282
0.826282
0.826282
0.735897
0
0.008845
0.274768
2,806
46
202
61
0.75774
0.046329
0
0.583333
0
0
0.289572
0.038635
0
0
0
0
0
1
0
false
0
0.083333
0
0.083333
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
b7145473e290b83cbfcaa4d2452bf9c16f2db4a8
5,754
py
Python
tests/test_06_math/test_606_convexhull.py
bimdata/ezdxf
0004f4ea1f6905a1c19b92187f6de91e0bc144f7
[ "MIT" ]
null
null
null
tests/test_06_math/test_606_convexhull.py
bimdata/ezdxf
0004f4ea1f6905a1c19b92187f6de91e0bc144f7
[ "MIT" ]
null
null
null
tests/test_06_math/test_606_convexhull.py
bimdata/ezdxf
0004f4ea1f6905a1c19b92187f6de91e0bc144f7
[ "MIT" ]
null
null
null
# Author: mozman # Purpose: test convex_hull_2d # Created: 28.02.2010 # License: MIT License import pytest from ezdxf.math import convex_hull_2d, Vec2 from io import StringIO def import_asc_coords(file_obj): """Import allplan asc-format point file. returns: a dictionary of Coordinates ('name': Coordinate) ...
42.622222
80
0.341154
770
5,754
2.488312
0.187013
0.217119
0.169624
0.162839
0.491127
0.343424
0.19833
0.09499
0.052192
0.052192
0
0.419984
0.572124
5,754
134
81
42.940299
0.358245
0.034932
0
0.107143
0
0
0.732562
0
0
0
0
0
0.026786
1
0.044643
false
0.008929
0.0625
0
0.116071
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
1
1
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
6
b7203e219655e9df2bc32b64469d8bd695daf475
14
py
Python
pypkg/__init__.py
movermeyer/pypkg
c094dd2459a19fdb348805601987b9d9f4ff7214
[ "MIT" ]
null
null
null
pypkg/__init__.py
movermeyer/pypkg
c094dd2459a19fdb348805601987b9d9f4ff7214
[ "MIT" ]
null
null
null
pypkg/__init__.py
movermeyer/pypkg
c094dd2459a19fdb348805601987b9d9f4ff7214
[ "MIT" ]
null
null
null
""" Pypkg """
3.5
5
0.357143
1
14
5
1
0
0
0
0
0
0
0
0
0
0
0
0.214286
14
3
6
4.666667
0.454545
0.357143
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
6
3f891b03b4d5da86934f50ca06fcceddf2747916
210
py
Python
gym_copter/envs/__init__.py
coletta1/gym-copter
841a8ea2c5343e289bc06efd6ad49a75ba14cccd
[ "MIT" ]
null
null
null
gym_copter/envs/__init__.py
coletta1/gym-copter
841a8ea2c5343e289bc06efd6ad49a75ba14cccd
[ "MIT" ]
null
null
null
gym_copter/envs/__init__.py
coletta1/gym-copter
841a8ea2c5343e289bc06efd6ad49a75ba14cccd
[ "MIT" ]
null
null
null
''' Copyright (C) 2019 Simon D. Levy MIT License ''' from gym_copter.envs.lander2d import Lander2D from gym_copter.envs.lander3d import Lander3D from gym_copter.envs.lander3d_hardcore import Lander3DHardcore
21
62
0.814286
30
210
5.566667
0.566667
0.125749
0.233533
0.305389
0.299401
0
0
0
0
0
0
0.053763
0.114286
210
9
63
23.333333
0.844086
0.214286
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
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
3f9039010d1015f3e4d5c1abde15b1bdb5e59609
33
py
Python
nplusone/__init__.py
graingert/django_nplusone
1cae4607980b6d57a994b204c2a4500f9ab6ddda
[ "MIT" ]
4
2020-01-06T17:15:07.000Z
2020-12-31T20:03:04.000Z
nplusone/__init__.py
graingert/django_nplusone
1cae4607980b6d57a994b204c2a4500f9ab6ddda
[ "MIT" ]
1
2019-12-28T19:12:43.000Z
2019-12-28T19:12:43.000Z
nplusone/__init__.py
graingert/django_nplusone
1cae4607980b6d57a994b204c2a4500f9ab6ddda
[ "MIT" ]
2
2020-01-01T04:01:56.000Z
2020-03-25T10:14:32.000Z
from .base import show_nplusones
16.5
32
0.848485
5
33
5.4
1
0
0
0
0
0
0
0
0
0
0
0
0.121212
33
1
33
33
0.931034
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
b760917169af1fedd751ac344eec776c6c74d266
86
py
Python
nmutils/utils/fmre/__init__.py
alexbjorling/nanomax-analysis-utils
e208d098243e28a90004c6e1c5fb69251177d23e
[ "MIT" ]
3
2017-07-19T10:25:26.000Z
2019-12-17T13:47:06.000Z
nmutils/utils/fmre/__init__.py
alexbjorling/nanomax-analysis-utils
e208d098243e28a90004c6e1c5fb69251177d23e
[ "MIT" ]
1
2021-04-07T10:00:33.000Z
2021-04-07T10:20:36.000Z
nmutils/utils/fmre/__init__.py
alexbjorling/nanomax-analysis-utils
e208d098243e28a90004c6e1c5fb69251177d23e
[ "MIT" ]
1
2020-10-15T12:05:42.000Z
2020-10-15T12:05:42.000Z
from . import solvers from . import projectors from . import data from .fmre import *
17.2
24
0.755814
12
86
5.416667
0.5
0.461538
0
0
0
0
0
0
0
0
0
0
0.186047
86
4
25
21.5
0.928571
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
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
b7691233b3e78996eba01dc066051042d770fe05
129
py
Python
Week 3 - mEmE tExT/ritika memify text.py
Jasleenk47/BeginnerRoom-2020
32903f6917a236fe685106c148b8531c62210f1f
[ "Unlicense" ]
5
2021-01-19T00:31:22.000Z
2021-03-05T02:31:10.000Z
Week 3 - mEmE tExT/ritika memify text.py
Jasleenk47/BeginnerRoom-2020
32903f6917a236fe685106c148b8531c62210f1f
[ "Unlicense" ]
34
2021-01-14T21:00:18.000Z
2021-03-11T17:57:26.000Z
Week 3 - mEmE tExT/ritika memify text.py
Jasleenk47/BeginnerRoom-2020
32903f6917a236fe685106c148b8531c62210f1f
[ "Unlicense" ]
43
2021-01-14T20:40:47.000Z
2021-03-11T02:29:30.000Z
y = "cool" print((y[0:1]).upper() + (y[1]) + (y[2]).upper() + (y[3]) + (y[0]) + (y[1]).upper() + (y[2]) + (y[3]).upper())
43
69
0.364341
24
129
1.958333
0.333333
0.382979
0.297872
0
0
0
0
0
0
0
0
0.086538
0.193798
129
3
70
43
0.365385
0
0
0
0
0
0.03125
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
1
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
b77488fff7d873fdc81666ed40c536e4b6706c87
150
py
Python
solinv/tyrell/decider/__init__.py
chyanju/SolInv
c1ebd5f3840f8b1d3f89c702f0898497077e809f
[ "MIT" ]
1
2021-10-30T20:30:46.000Z
2021-10-30T20:30:46.000Z
solinv/tyrell/decider/__init__.py
chyanju/SolInv
c1ebd5f3840f8b1d3f89c702f0898497077e809f
[ "MIT" ]
null
null
null
solinv/tyrell/decider/__init__.py
chyanju/SolInv
c1ebd5f3840f8b1d3f89c702f0898497077e809f
[ "MIT" ]
null
null
null
from .decider import Decider from .example_base import Example from .example_ai import ExampleAIDecider from .ks_example_ai import KSExampleAIDecider
30
45
0.866667
20
150
6.3
0.45
0.174603
0.238095
0
0
0
0
0
0
0
0
0
0.106667
150
5
45
30
0.940299
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
b795373d301faa208b63142780139eca83602489
204,954
py
Python
pirates/leveleditor/worldData/Bilgewater.py
Willy5s/Pirates-Online-Rewritten
7434cf98d9b7c837d57c181e5dabd02ddf98acb7
[ "BSD-3-Clause" ]
81
2018-04-08T18:14:24.000Z
2022-01-11T07:22:15.000Z
pirates/leveleditor/worldData/Bilgewater.py
Willy5s/Pirates-Online-Rewritten
7434cf98d9b7c837d57c181e5dabd02ddf98acb7
[ "BSD-3-Clause" ]
4
2018-09-13T20:41:22.000Z
2022-01-08T06:57:00.000Z
pirates/leveleditor/worldData/Bilgewater.py
Willy5s/Pirates-Online-Rewritten
7434cf98d9b7c837d57c181e5dabd02ddf98acb7
[ "BSD-3-Clause" ]
26
2018-05-26T12:49:27.000Z
2021-09-11T09:11:59.000Z
from pandac.PandaModules import Point3, VBase3 objectStruct = {'Locator Links': [],'Objects': {'1114123235.45jubutler': {'Type': 'Island','Name': 'Bilgewater','File': '','Objects': {'1120237748.52Shochet': {'Type': 'Building Exterior','File': '','Hpr': VBase3(0.025, -0.988, 1.461),'Objects': {},'Pos': Point3(173.235, 2...
102,477
204,907
0.67321
30,153
204,954
4.50194
0.059828
0.028244
0.030166
0.026549
0.689496
0.492394
0.438905
0.40006
0.392554
0.388031
0
0.283376
0.049416
204,954
2
204,907
102,477
0.413384
0
0
0
0
0
0.560182
0.311888
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
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
0
0
1
0
0
0
0
6
4d021cf9d7bdf626f2fff5c1845179dda168f5fb
7,884
py
Python
venv/Lib/site-packages/tests/test_154_AllFetches.py
shehzadulislam/Assignment4
a9cced70be6ae5d2685027d68032d5849f638301
[ "Apache-2.0" ]
null
null
null
venv/Lib/site-packages/tests/test_154_AllFetches.py
shehzadulislam/Assignment4
a9cced70be6ae5d2685027d68032d5849f638301
[ "Apache-2.0" ]
null
null
null
venv/Lib/site-packages/tests/test_154_AllFetches.py
shehzadulislam/Assignment4
a9cced70be6ae5d2685027d68032d5849f638301
[ "Apache-2.0" ]
null
null
null
# # Licensed Materials - Property of IBM # # (c) Copyright IBM Corp. 2007-2008 # import unittest, sys import ibm_db import config from testfunctions import IbmDbTestFunctions class IbmDbTestCase(unittest.TestCase): def test_154_AllFetches(self): obj = IbmDbTestFunctions() obj.assert_expect(self.run_test...
55.914894
92
0.677067
1,444
7,884
3.635734
0.0741
0.185143
0.096
0.138667
0.902476
0.899048
0.863619
0.849524
0.849524
0.840381
0
0.054141
0.212836
7,884
140
93
56.314286
0.791814
0.616058
0
0.516667
0
0
0.319595
0
0
0
0
0
0.016667
1
0.033333
false
0.033333
0.066667
0
0.116667
0.05
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
4d2655a006b7871034f766eaac0feabbf22d07d8
69
py
Python
vision/src/autogluon/vision/utils/__init__.py
RuohanW/autogluon
fa349db5e75a18cd3af7d9d3f1064eb34e92aca1
[ "Apache-2.0" ]
1
2021-03-18T23:35:55.000Z
2021-03-18T23:35:55.000Z
vision/src/autogluon/vision/utils/__init__.py
RuohanW/autogluon
fa349db5e75a18cd3af7d9d3f1064eb34e92aca1
[ "Apache-2.0" ]
null
null
null
vision/src/autogluon/vision/utils/__init__.py
RuohanW/autogluon
fa349db5e75a18cd3af7d9d3f1064eb34e92aca1
[ "Apache-2.0" ]
2
2021-02-13T04:41:33.000Z
2021-07-10T07:14:59.000Z
from .learning_rate import * from .plot_network import plot_network
17.25
38
0.826087
10
69
5.4
0.6
0.407407
0
0
0
0
0
0
0
0
0
0
0.130435
69
3
39
23
0.9
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
4d7afe316908cf2764854932e0761a5a9bb6f19b
34
py
Python
gemodels/growth/__init__.py
jkapila/pygemodels
eaa8b656f7d661c8db3154d6440f38908af073cc
[ "MIT" ]
null
null
null
gemodels/growth/__init__.py
jkapila/pygemodels
eaa8b656f7d661c8db3154d6440f38908af073cc
[ "MIT" ]
null
null
null
gemodels/growth/__init__.py
jkapila/pygemodels
eaa8b656f7d661c8db3154d6440f38908af073cc
[ "MIT" ]
null
null
null
from .interface import GrowthModel
34
34
0.882353
4
34
7.5
1
0
0
0
0
0
0
0
0
0
0
0
0.088235
34
1
34
34
0.967742
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
4d8fbd68a9b74497bd2251c5e9ca92da492e05c6
38
py
Python
test/__init__.py
Mujib44/netboot-config
8c99f74b3c3771164c2e7416485aa0c37432bd11
[ "Apache-2.0" ]
null
null
null
test/__init__.py
Mujib44/netboot-config
8c99f74b3c3771164c2e7416485aa0c37432bd11
[ "Apache-2.0" ]
1
2021-04-26T13:46:59.000Z
2021-04-26T13:46:59.000Z
test/__init__.py
Mujib44/netboot-config
8c99f74b3c3771164c2e7416485aa0c37432bd11
[ "Apache-2.0" ]
2
2019-07-10T19:45:55.000Z
2019-07-11T15:12:25.000Z
from .test_network import TestNetwork
19
37
0.868421
5
38
6.4
1
0
0
0
0
0
0
0
0
0
0
0
0.105263
38
1
38
38
0.941176
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
4d908311d449285fa70ff93ba36e39ff515e27ae
72,356
py
Python
terrascript/data/hashicorp/oci.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
507
2017-07-26T02:58:38.000Z
2022-01-21T12:35:13.000Z
terrascript/data/hashicorp/oci.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
135
2017-07-20T12:01:59.000Z
2021-10-04T22:25:40.000Z
terrascript/data/hashicorp/oci.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
81
2018-02-20T17:55:28.000Z
2022-01-31T07:08:40.000Z
# terrascript/data/hashicorp/oci.py # Automatically generated by tools/makecode.py (24-Sep-2021 15:23:14 UTC) import terrascript class oci_ai_anomaly_detection_ai_private_endpoint(terrascript.Data): pass class oci_ai_anomaly_detection_ai_private_endpoints(terrascript.Data): pass class oci_ai_anomaly_detec...
21.088895
86
0.800956
8,891
72,356
5.981104
0.060398
0.192937
0.244029
0.307796
0.819662
0.721614
0.563109
0.315055
0.15262
0.064876
0
0.000255
0.132733
72,356
3,430
87
21.095044
0.847176
0.001451
0
0.335437
1
0
0.286873
0.260921
0
0
0
0
0
1
0
false
0.333495
0.000485
0
0.332039
0
0
0
0
null
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
6
4db2966115f11e35bbe1555ee452ca39d2ecd5d7
72
py
Python
challenge 0/main.py
srahnama/python-challenge
f20dd17522f23e69e0b5a31aada7a4c7b4e13429
[ "MIT" ]
null
null
null
challenge 0/main.py
srahnama/python-challenge
f20dd17522f23e69e0b5a31aada7a4c7b4e13429
[ "MIT" ]
null
null
null
challenge 0/main.py
srahnama/python-challenge
f20dd17522f23e69e0b5a31aada7a4c7b4e13429
[ "MIT" ]
null
null
null
if __name__ == "__main__": print(pow(2,38)) #answer : 274877906944
14.4
26
0.652778
9
72
4.333333
1
0
0
0
0
0
0
0
0
0
0
0.254237
0.180556
72
5
27
14.4
0.40678
0.291667
0
0
0
0
0.16
0
0
0
0
0
0
1
0
true
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
6
4de2e4c92917249b621bd0b26fbc8488a9521db1
33
py
Python
Week 1: Integers, I-O, simple string operations/16.py
MLunov/Python-programming-basics-HSE
7df8bba105db84d6b932c454fdc39193a648254e
[ "MIT" ]
null
null
null
Week 1: Integers, I-O, simple string operations/16.py
MLunov/Python-programming-basics-HSE
7df8bba105db84d6b932c454fdc39193a648254e
[ "MIT" ]
null
null
null
Week 1: Integers, I-O, simple string operations/16.py
MLunov/Python-programming-basics-HSE
7df8bba105db84d6b932c454fdc39193a648254e
[ "MIT" ]
null
null
null
print(int((input() * 100)) ** 2)
16.5
32
0.515152
5
33
3.4
1
0
0
0
0
0
0
0
0
0
0
0.142857
0.151515
33
1
33
33
0.464286
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
6
4df8c90762fc17522c319d32473b5d0b02b429ad
94
py
Python
src/main/python/SimpleLambda1.py
IanMeyers/super-simple-dynamic-lambda
81d23096fdd99fabed51798c93a51d1ae85f5034
[ "Apache-2.0" ]
null
null
null
src/main/python/SimpleLambda1.py
IanMeyers/super-simple-dynamic-lambda
81d23096fdd99fabed51798c93a51d1ae85f5034
[ "Apache-2.0" ]
null
null
null
src/main/python/SimpleLambda1.py
IanMeyers/super-simple-dynamic-lambda
81d23096fdd99fabed51798c93a51d1ae85f5034
[ "Apache-2.0" ]
1
2019-10-15T22:28:30.000Z
2019-10-15T22:28:30.000Z
def lambda_handler(event, context): # TODO implement return 'Hello from SimpleLambda1'
31.333333
37
0.744681
11
94
6.272727
1
0
0
0
0
0
0
0
0
0
0
0.012987
0.180851
94
3
37
31.333333
0.883117
0.148936
0
0
0
0
0.303797
0
0
0
0
0.333333
0
1
0.5
false
0
0
0.5
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
1
0
0
1
0
0
0
1
1
0
0
6
4dfeb5c8335a224d7fb7e4a978c2fbeb5a4c743a
124
py
Python
Code/randomNumber.py
satyambharti171/Python-Guide-for-Beginners
eb01d0f21fc878b5b2668f4e3fd86bbe134f7dcf
[ "MIT" ]
54
2017-10-08T07:06:33.000Z
2022-01-08T23:09:25.000Z
Code/randomNumber.py
satyambharti171/Python-Guide-for-Beginners
eb01d0f21fc878b5b2668f4e3fd86bbe134f7dcf
[ "MIT" ]
40
2017-10-08T06:50:37.000Z
2021-11-04T13:07:08.000Z
Code/randomNumber.py
satyambharti171/Python-Guide-for-Beginners
eb01d0f21fc878b5b2668f4e3fd86bbe134f7dcf
[ "MIT" ]
143
2017-10-08T07:00:49.000Z
2022-02-26T22:32:44.000Z
# Program to generate a random number between 0 and 9 # import the random module import random print(random.randint(0,9))
17.714286
53
0.766129
21
124
4.52381
0.714286
0
0
0
0
0
0
0
0
0
0
0.038835
0.169355
124
6
54
20.666667
0.883495
0.612903
0
0
1
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
1
0
6
12b4f787b3b151d3c8954bcd920c17eeecd56b75
22
py
Python
Modules/vms/dmtdef/dmtdef.py
vmssoftware/cpython
b5d2c7f578d33963798a02ca32f0c151c908aa7c
[ "0BSD" ]
2
2021-10-06T15:46:53.000Z
2022-01-26T02:58:54.000Z
Modules/vms/dmtdef/dmtdef.py
vmssoftware/cpython
b5d2c7f578d33963798a02ca32f0c151c908aa7c
[ "0BSD" ]
null
null
null
Modules/vms/dmtdef/dmtdef.py
vmssoftware/cpython
b5d2c7f578d33963798a02ca32f0c151c908aa7c
[ "0BSD" ]
null
null
null
from _dmtdef import *
11
21
0.772727
3
22
5.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.181818
22
1
22
22
0.888889
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
12c06fa53cb750d7032cc5ff8805b8ad9edc9355
22,302
py
Python
tests/test_kas.py
Jimmy-INL/ATHENA
5543fabc17036cbd57b93c22c07d329d68915e55
[ "MIT" ]
1
2021-01-05T03:49:59.000Z
2021-01-05T03:49:59.000Z
tests/test_kas.py
Jimmy-INL/ATHENA
5543fabc17036cbd57b93c22c07d329d68915e55
[ "MIT" ]
null
null
null
tests/test_kas.py
Jimmy-INL/ATHENA
5543fabc17036cbd57b93c22c07d329d68915e55
[ "MIT" ]
null
null
null
from unittest import TestCase from contextlib import contextmanager import numpy as np import matplotlib.pyplot as plt from athena.kas import KernelActiveSubspaces from athena import FeatureMap @contextmanager def assert_plot_figures_added(): """ Assert that the number of figures is higher than when you start...
44.25
79
0.559322
2,742
22,302
4.420131
0.101386
0.062706
0.07797
0.075248
0.838119
0.812294
0.788779
0.781023
0.752723
0.722112
0
0.147301
0.313873
22,302
503
80
44.337972
0.644752
0.003318
0
0.683742
0
0
0.008419
0
0
0
0
0
0.109131
1
0.106904
false
0
0.013363
0
0.122494
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
12e90baedf3b33d762b5912a0d70dabe8789889b
577
py
Python
Visualizations/processingExample.py
WerenskjoldH/Small-Sim-Graph-Projects
fbcab8c618933d818ae2c7b6579263e50f63d16d
[ "Unlicense" ]
null
null
null
Visualizations/processingExample.py
WerenskjoldH/Small-Sim-Graph-Projects
fbcab8c618933d818ae2c7b6579263e50f63d16d
[ "Unlicense" ]
null
null
null
Visualizations/processingExample.py
WerenskjoldH/Small-Sim-Graph-Projects
fbcab8c618933d818ae2c7b6579263e50f63d16d
[ "Unlicense" ]
null
null
null
from p5 import * def setup(): size(360, 360) fill(255, 255, 255) def draw(): background(0) stroke(255) rotate_x(PI * 3/2 - 0.001) rotate_z(PI/6 + 0.001 * millis()) fill(255) begin_shape() vertex(-100, -100, -100) vertex(100, -100, -100) vertex(0, 0, 100) vertex(10...
14.794872
37
0.533795
89
577
3.41573
0.337079
0.315789
0.315789
0.394737
0.539474
0.539474
0.539474
0.539474
0.539474
0.539474
0
0.306024
0.280763
577
38
38
15.184211
0.426506
0
0
0.48
0
0
0.005199
0
0
0
0
0
0
1
0.08
true
0
0.04
0
0.12
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
6
4283118f8397791ca348631f868a0baf129bad6c
77
py
Python
optimus/engines/pandas/mask.py
ironmussa/Optimus
fbaea6e0957f0bc016280a85ff021904faac20c5
[ "Apache-2.0" ]
1,045
2017-07-17T17:59:46.000Z
2021-06-15T07:06:48.000Z
optimus/engines/pandas/mask.py
ironmussa/Optimus
fbaea6e0957f0bc016280a85ff021904faac20c5
[ "Apache-2.0" ]
955
2017-07-14T15:47:58.000Z
2021-05-27T14:16:24.000Z
optimus/engines/pandas/mask.py
ironmussa/Optimus
fbaea6e0957f0bc016280a85ff021904faac20c5
[ "Apache-2.0" ]
226
2017-08-04T20:41:33.000Z
2021-05-21T08:28:33.000Z
from optimus.engines.base.mask import Mask class PandasMask(Mask): pass
15.4
42
0.766234
11
77
5.363636
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.155844
77
5
43
15.4
0.907692
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
6
35f5834eedb3c43367a014e9df2cfa944ff3fe32
49
py
Python
Online-Judges/CodingBat/Python/List-01/10-middle_way.py
shihab4t/Competitive-Programming
e8eec7d4f7d86bfa1c00b7fbbedfd6a1518f19be
[ "Unlicense" ]
3
2021-06-15T01:19:23.000Z
2022-03-16T18:23:53.000Z
Online-Judges/CodingBat/Python/List-01/10-middle_way.py
shihab4t/Competitive-Programming
e8eec7d4f7d86bfa1c00b7fbbedfd6a1518f19be
[ "Unlicense" ]
null
null
null
Online-Judges/CodingBat/Python/List-01/10-middle_way.py
shihab4t/Competitive-Programming
e8eec7d4f7d86bfa1c00b7fbbedfd6a1518f19be
[ "Unlicense" ]
null
null
null
def middle_way(a, b): return a[1:2] + b[1:2]
16.333333
26
0.55102
12
49
2.166667
0.666667
0.153846
0
0
0
0
0
0
0
0
0
0.105263
0.22449
49
2
27
24.5
0.578947
0
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
6
c4658600f43db3ede717423e4790999194448d02
4,304
py
Python
codes/graph_ansatz/linear_ansatz_qng.py
vutuanhai237/QuantumTomographyProject
78058e3faece2209e46c9f9e16a1c38cdb33e7e2
[ "MIT" ]
null
null
null
codes/graph_ansatz/linear_ansatz_qng.py
vutuanhai237/QuantumTomographyProject
78058e3faece2209e46c9f9e16a1c38cdb33e7e2
[ "MIT" ]
null
null
null
codes/graph_ansatz/linear_ansatz_qng.py
vutuanhai237/QuantumTomographyProject
78058e3faece2209e46c9f9e16a1c38cdb33e7e2
[ "MIT" ]
null
null
null
import qiskit import numpy as np import matplotlib.pyplot as plt import importlib import sys sys.path.insert(1, '../') import qtm.base, qtm.constant, qtm.ansatz, qtm.fubini_study, qtm.progress_bar importlib.reload(qtm.base) importlib.reload(qtm.constant) num_qubits = 3 num_layers = 2 thetas = np.ones(num_qubits*num_lay...
45.305263
121
0.722584
615
4,304
4.81626
0.156098
0.085078
0.045577
0.070223
0.902768
0.877785
0.839298
0.839298
0.815665
0.812964
0
0.012055
0.132667
4,304
94
122
45.787234
0.781409
0.036013
0
0.682353
0
0
0.104056
0.0676
0
0
0
0
0
1
0
false
0
0.094118
0
0.094118
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
67340cc8b0d07796de30e764db7636c236c61de9
558
py
Python
Day 2/chapter 2 __add__.py
alcodespower/Python-Train
a03c89cc8091566da50b56b3789e0d608ca72f2b
[ "MIT" ]
null
null
null
Day 2/chapter 2 __add__.py
alcodespower/Python-Train
a03c89cc8091566da50b56b3789e0d608ca72f2b
[ "MIT" ]
null
null
null
Day 2/chapter 2 __add__.py
alcodespower/Python-Train
a03c89cc8091566da50b56b3789e0d608ca72f2b
[ "MIT" ]
null
null
null
class stature(): def __init__(self, ObjA, ObjB): self.ObjA = ObjA self.ObjB = ObjB def __add__(self, other): return self.ObjB + other def __sub__(self, other): return self.ObjB - other def __mul__(self, other): return self.ObjB * other def __truediv__(self, other): return self.ObjB / other ...
18.6
32
0.670251
83
558
4.168675
0.240964
0.16185
0.260116
0.32948
0.719653
0.719653
0.638728
0.190751
0.190751
0.190751
0
0.024664
0.200717
558
30
33
18.6
0.751121
0
0
0
0
0
0
0
0
0
0
0
0
1
0.304348
false
0
0
0.26087
0.608696
0.26087
0
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
0
0
0
1
1
0
0
6
675fa5117499cd96d7a5669f1d4398bcfdcc15d8
17,198
py
Python
recursion/test_rps.py
Oyekunle-Mark/tangled-mystery
ae789d5b05a4791594427f23d52249af81748ff4
[ "MIT" ]
null
null
null
recursion/test_rps.py
Oyekunle-Mark/tangled-mystery
ae789d5b05a4791594427f23d52249af81748ff4
[ "MIT" ]
null
null
null
recursion/test_rps.py
Oyekunle-Mark/tangled-mystery
ae789d5b05a4791594427f23d52249af81748ff4
[ "MIT" ]
1
2021-09-03T16:17:47.000Z
2021-09-03T16:17:47.000Z
import unittest from rps import rock_paper_scissors class Test(unittest.TestCase): def test_rock_paper_scissors_output(self): self.assertEqual(rock_paper_scissors(0), [[]]) self.assertEqual(rock_paper_scissors( 1), [['rock'], ['paper'], ['scissors']]) self.assertEqual(rock_pap...
747.73913
6,156
0.560995
1,701
17,198
5.656673
0.013521
0.178653
0.121908
0.038869
0.98545
0.978383
0.968925
0.854396
0.592289
0.044066
0
0.000391
0.107047
17,198
22
6,157
781.727273
0.626164
0
0
0
0
0
0.541168
0
0
0
0
0
0.352941
1
0.058824
false
0
0.117647
0
0.235294
0
0
0
0
null
0
0
0
1
1
1
1
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
67a610aa3342dd54a394c886b2e715ed59d904c0
17
py
Python
util/josht_generator.py
lambda-bw-team-o/server
3206c612e0acbfef9174e8270694119ba54689d2
[ "MIT" ]
null
null
null
util/josht_generator.py
lambda-bw-team-o/server
3206c612e0acbfef9174e8270694119ba54689d2
[ "MIT" ]
5
2020-06-05T23:46:25.000Z
2022-02-10T10:51:09.000Z
util/josht_generator.py
lambda-bw-team-o/server
3206c612e0acbfef9174e8270694119ba54689d2
[ "MIT" ]
null
null
null
# generate rooms
8.5
16
0.764706
2
17
6.5
1
0
0
0
0
0
0
0
0
0
0
0
0.176471
17
1
17
17
0.928571
0.823529
0
null
1
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
6
67bb1c6a8c9a79386348a0b0c9fcdb7c6554ee21
267
py
Python
utils/user_token_util.py
hl123hl/DjangoRESTTpp
c099f2b1d63467e0fd125e2684afc4267e881719
[ "Apache-2.0" ]
null
null
null
utils/user_token_util.py
hl123hl/DjangoRESTTpp
c099f2b1d63467e0fd125e2684afc4267e881719
[ "Apache-2.0" ]
12
2020-01-28T22:33:34.000Z
2022-03-11T23:36:51.000Z
utils/user_token_util.py
hl123hl/DjangoRESTTpp
c099f2b1d63467e0fd125e2684afc4267e881719
[ "Apache-2.0" ]
null
null
null
import uuid ADMIN = 'admin' CINEMA = 'cinema' def generate_token(prefix): token = uuid.uuid4().hex return prefix + token def generate_admin_token(): return generate_token(ADMIN) def generate_cinema_token(): return generate_token(CINEMA)
20.538462
33
0.700375
33
267
5.454545
0.333333
0.183333
0.211111
0.266667
0
0
0
0
0
0
0
0.004717
0.205993
267
13
34
20.538462
0.84434
0
0
0
1
0
0.042969
0
0
0
0
0
0
1
0.3
false
0
0.1
0.2
0.7
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
6
67d302c2971fcef2d3ef6e45ad4640d2239f1416
132
py
Python
roggn_app/models/__init__.py
TobiasRosskopf/bandmanager
0ee5b740152ed9a01eea34214b7a5d4e9a374f58
[ "MIT" ]
null
null
null
roggn_app/models/__init__.py
TobiasRosskopf/bandmanager
0ee5b740152ed9a01eea34214b7a5d4e9a374f58
[ "MIT" ]
null
null
null
roggn_app/models/__init__.py
TobiasRosskopf/bandmanager
0ee5b740152ed9a01eea34214b7a5d4e9a374f58
[ "MIT" ]
null
null
null
from .models import Person from .models import Band from .models import Membership from .models import Song from .models import Gig
22
30
0.810606
20
132
5.35
0.4
0.46729
0.747664
0
0
0
0
0
0
0
0
0
0.151515
132
5
31
26.4
0.955357
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
0
0
0
6
67f3f822dd164a5d2508aa024da0136466c249a1
6,825
py
Python
src/tests/multidomain/test_urlreverse.py
NicsTr/pretix
e6d2380d9ed1836cc64a688b2be20d00a8500eab
[ "ECL-2.0", "Apache-2.0" ]
1
2020-04-25T00:11:00.000Z
2020-04-25T00:11:00.000Z
src/tests/multidomain/test_urlreverse.py
NicsTr/pretix
e6d2380d9ed1836cc64a688b2be20d00a8500eab
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/tests/multidomain/test_urlreverse.py
NicsTr/pretix
e6d2380d9ed1836cc64a688b2be20d00a8500eab
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
import pytest from django.conf import settings from django.test import override_settings from django.utils.timezone import now from django_scopes import scopes_disabled from tests import assert_num_queries from pretix.base.models import Event, Organizer from pretix.multidomain.models import KnownDomain from pretix.mul...
35.180412
120
0.71033
891
6,825
5.276094
0.102132
0.025526
0.046799
0.068071
0.865773
0.861944
0.841098
0.830249
0.824718
0.767709
0
0.020125
0.133626
6,825
193
121
35.362694
0.774903
0
0
0.647436
0
0
0.214212
0.060366
0
0
0
0
0.211538
1
0.115385
false
0
0.057692
0
0.179487
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
db29583518ed5832054be04223a9630a0d3d7531
175
py
Python
Python/Sets/Set .difference() Operation/Solution.py
PawarAditi/HackerRank
fcd9d1450ee293372ce5f1d4a3b7284ecf472657
[ "MIT" ]
219
2018-06-17T19:47:22.000Z
2022-03-27T15:28:56.000Z
Python/Sets/Set .difference() Operation/Solution.py
PawarAditi/HackerRank
fcd9d1450ee293372ce5f1d4a3b7284ecf472657
[ "MIT" ]
2
2020-08-12T16:47:41.000Z
2020-12-15T17:05:57.000Z
Python/Sets/Set .difference() Operation/Solution.py
PawarAditi/HackerRank
fcd9d1450ee293372ce5f1d4a3b7284ecf472657
[ "MIT" ]
182
2018-12-12T21:36:50.000Z
2022-03-26T17:49:51.000Z
_, en_subscribers = input(), set(map(int, input().split())) _, fr_subscribers = input(), set(map(int, input().split())) print(len(en_subscribers.difference(fr_subscribers)))
58.333333
60
0.708571
23
175
5.130435
0.478261
0.220339
0.322034
0.372881
0.59322
0.59322
0.59322
0
0
0
0
0
0.08
175
3
61
58.333333
0.732919
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0.333333
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
0
0
0
0
0
6
e1e206c76a21ffc9ab1f1f9652e53d16e35d76c5
652
py
Python
deepchem/models/torch_models/__init__.py
Chahalprincy/deepchem
9d1a6a879cc74b065694b3ddb763d52151d57b7a
[ "MIT" ]
null
null
null
deepchem/models/torch_models/__init__.py
Chahalprincy/deepchem
9d1a6a879cc74b065694b3ddb763d52151d57b7a
[ "MIT" ]
null
null
null
deepchem/models/torch_models/__init__.py
Chahalprincy/deepchem
9d1a6a879cc74b065694b3ddb763d52151d57b7a
[ "MIT" ]
null
null
null
# flake8:noqa from deepchem.models.torch_models.torch_model import TorchModel from deepchem.models.torch_models.attentivefp import AttentiveFP, AttentiveFPModel from deepchem.models.torch_models.cgcnn import CGCNN, CGCNNModel from deepchem.models.torch_models.gat import GAT, GATModel from deepchem.models.torch_models.g...
54.333333
82
0.861963
91
652
6.054945
0.296703
0.219601
0.326679
0.417423
0.526316
0
0
0
0
0
0
0.001661
0.076687
652
11
83
59.272727
0.913621
0.016871
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
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
6
e1ff327f5f0aac9874a0cc7e653eecabe28334fb
48
py
Python
vnpy/api/cshshlp/__init__.py
hzypage/TestPy
2646bbd07b90c8a1795001a6712e1d5d1aabda90
[ "MIT" ]
18
2019-02-21T05:42:41.000Z
2022-03-31T10:17:51.000Z
vnpy/api/cshshlp/__init__.py
Haocodingisfun/vnpy
2646bbd07b90c8a1795001a6712e1d5d1aabda90
[ "MIT" ]
null
null
null
vnpy/api/cshshlp/__init__.py
Haocodingisfun/vnpy
2646bbd07b90c8a1795001a6712e1d5d1aabda90
[ "MIT" ]
6
2018-03-12T06:08:21.000Z
2021-11-18T15:14:40.000Z
# encoding: UTF-8 from vncshshlp import CsHsHlp
16
29
0.791667
7
48
5.428571
1
0
0
0
0
0
0
0
0
0
0
0.02439
0.145833
48
3
29
16
0.902439
0.3125
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
c035375c8acccc51256416fc7ef523c7343552cf
170
py
Python
retro_star/common/__init__.py
gmh14/data_efficient_grammar
7a25cecddc9510deeac7fd816715fd7b69103d85
[ "MIT" ]
15
2022-02-18T22:23:14.000Z
2022-03-24T10:54:46.000Z
retro_star/common/__init__.py
gmh14/data_efficient_grammar
7a25cecddc9510deeac7fd816715fd7b69103d85
[ "MIT" ]
null
null
null
retro_star/common/__init__.py
gmh14/data_efficient_grammar
7a25cecddc9510deeac7fd816715fd7b69103d85
[ "MIT" ]
2
2022-02-23T06:57:50.000Z
2022-03-24T10:54:24.000Z
# from retro_star.common.parse_args import args from retro_star.common.prepare_utils import * from retro_star.common.smiles_to_fp import smiles_to_fp, batch_smiles_to_fp
42.5
75
0.864706
30
170
4.5
0.433333
0.2
0.288889
0.422222
0
0
0
0
0
0
0
0
0.082353
170
3
76
56.666667
0.865385
0.264706
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
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
220db19ab49c949b1b0c6aa43084df9e45c5092a
56
py
Python
17/b.py
altg0x0/info_tasks
e3eaa9a1264846948350fd21fe934e7b79418394
[ "Unlicense" ]
null
null
null
17/b.py
altg0x0/info_tasks
e3eaa9a1264846948350fd21fe934e7b79418394
[ "Unlicense" ]
null
null
null
17/b.py
altg0x0/info_tasks
e3eaa9a1264846948350fd21fe934e7b79418394
[ "Unlicense" ]
null
null
null
print(len(set(input().split()) & set(input().split())))
28
55
0.607143
8
56
4.25
0.625
0.470588
0.764706
0
0
0
0
0
0
0
0
0
0.053571
56
1
56
56
0.641509
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
6