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
586fe65532672d05a2f120f9fa876dfc3b0d0cf7
32,092
py
Python
pysnmp/SWL3MGMT-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/SWL3MGMT-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/SWL3MGMT-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module SWL3MGMT-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/SWL3MGMT-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 21:06:00 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019,...
138.327586
4,810
0.753147
3,680
32,092
6.567391
0.077989
0.019364
0.014275
0.018868
0.473477
0.412488
0.386627
0.354767
0.331347
0.327706
0
0.105902
0.086096
32,092
231
4,811
138.926407
0.718129
0.009909
0
0
0
0
0.100362
0.011994
0
0
0
0
0
1
0
false
0
0.040541
0
0.067568
0
0
0
0
null
0
0
0
0
0
0
0
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
2
588f1da03fe50809139301425521b56339532309
277
py
Python
tests/test_hier_options.py
netdevops/hfc
8d8ab083e292d0435c45432331a8705af5947731
[ "MIT" ]
71
2018-05-22T20:09:05.000Z
2022-02-01T22:09:13.000Z
tests/test_hier_options.py
netdevops/hfc
8d8ab083e292d0435c45432331a8705af5947731
[ "MIT" ]
57
2018-05-23T13:45:41.000Z
2022-03-10T20:55:31.000Z
tests/test_hier_options.py
netdevops/hfc
8d8ab083e292d0435c45432331a8705af5947731
[ "MIT" ]
15
2018-05-22T20:09:08.000Z
2021-03-04T17:26:06.000Z
import pytest from hier_config.options import options_for class TestHConfigOptions: @pytest.fixture(autouse=True) def setup(self, options_ios): self.ios_options = options_ios def test_options(self): assert self.ios_options == options_for("ios")
21.307692
53
0.725632
36
277
5.361111
0.5
0.103627
0.145078
0.217617
0
0
0
0
0
0
0
0
0.191336
277
12
54
23.083333
0.861607
0
0
0
0
0
0.01083
0
0
0
0
0
0.125
1
0.25
false
0
0.25
0
0.625
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
589a378a75a1858eb91c5ae750d57672ec4076fd
11,880
py
Python
bbox_helper.py
suhongkim/SSD-Vehicle-Detector
8337d237f4c7923e55d02747ec37a60681e5beff
[ "MIT" ]
null
null
null
bbox_helper.py
suhongkim/SSD-Vehicle-Detector
8337d237f4c7923e55d02747ec37a60681e5beff
[ "MIT" ]
null
null
null
bbox_helper.py
suhongkim/SSD-Vehicle-Detector
8337d237f4c7923e55d02747ec37a60681e5beff
[ "MIT" ]
null
null
null
import torch import numpy as np ''' Prior Bounding Box ------------------------------------------------------------------------------------------------ ''' def generate_prior_bboxes(prior_layer_cfg): """ Generate prior bounding boxes on different feature map level. This function used in 'cityscape_dataset.py...
39.732441
138
0.606566
1,711
11,880
4.046756
0.167738
0.034951
0.011554
0.005199
0.267764
0.21476
0.20234
0.195407
0.179232
0.142981
0
0.033893
0.247475
11,880
299
139
39.732441
0.740604
0.397559
0
0.106383
1
0
0.024337
0
0
0
0
0.013378
0.184397
1
0.056738
false
0
0.014184
0
0.12766
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
2
58a13e3e30d36a6aa8be39e4f1b5bbc373abc77d
626
py
Python
character.py
tevtonez/terminal_snake_game
d72d07828c855571a9b9223be1345303aef76ed0
[ "Apache-2.0" ]
null
null
null
character.py
tevtonez/terminal_snake_game
d72d07828c855571a9b9223be1345303aef76ed0
[ "Apache-2.0" ]
null
null
null
character.py
tevtonez/terminal_snake_game
d72d07828c855571a9b9223be1345303aef76ed0
[ "Apache-2.0" ]
null
null
null
class Direction(): NORTH = 'w' SOUTH = 's' WEST = 'a' EAST = 'd' class MainSymbol(): score = 0 def __init__(self, symbol, startX = 20, startY = 10, velx = 2, vely = 1, trace = '.'): self.symbol = symbol self.x = startX self.y = startY self.velx = velx self.vely = vely self.t...
15.65
88
0.576677
81
626
4.407407
0.382716
0.201681
0.184874
0.072829
0.196078
0.196078
0.196078
0
0
0
0
0.01573
0.289137
626
39
89
16.051282
0.786517
0
0
0
0
0
0.008039
0
0
0
0
0
0
1
0.086957
false
0
0
0
0.391304
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
58a44a70081c7c3ba1442023a4a79e4c7bda900b
54
py
Python
airavata-api/airavata-client-sdks/airavata-python-sdk/airavata/service/profile/iam/admin/services/cpi/__init__.py
docquantum/airavata
4ec5fa0aab1b75ca1e98a16648c57cd8abdb4b9c
[ "ECL-2.0", "Apache-2.0" ]
74
2015-04-10T02:57:26.000Z
2022-02-28T16:10:03.000Z
airavata-api/airavata-client-sdks/airavata-python-sdk/airavata/service/profile/iam/admin/services/cpi/__init__.py
docquantum/airavata
4ec5fa0aab1b75ca1e98a16648c57cd8abdb4b9c
[ "ECL-2.0", "Apache-2.0" ]
126
2015-04-26T02:55:26.000Z
2022-02-16T22:43:28.000Z
airavata-api/airavata-client-sdks/airavata-python-sdk/airavata/service/profile/iam/admin/services/cpi/__init__.py
docquantum/airavata
4ec5fa0aab1b75ca1e98a16648c57cd8abdb4b9c
[ "ECL-2.0", "Apache-2.0" ]
163
2015-01-22T14:05:24.000Z
2022-03-17T12:24:34.000Z
__all__ = ['ttypes', 'constants', 'IamAdminServices']
27
53
0.703704
4
54
8.5
1
0
0
0
0
0
0
0
0
0
0
0
0.092593
54
1
54
54
0.693878
0
0
0
0
0
0.574074
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
5434fdf1001dda4eb803d270f7f19037be4f551a
740
py
Python
oct/cli/bootstrap/group.py
staebler/origin-ci-tool
2cb86c3cad7a37450e711571ac75997118c899e5
[ "Apache-2.0" ]
23
2017-01-06T21:32:09.000Z
2022-03-14T17:14:49.000Z
oct/cli/bootstrap/group.py
staebler/origin-ci-tool
2cb86c3cad7a37450e711571ac75997118c899e5
[ "Apache-2.0" ]
129
2017-01-06T18:29:51.000Z
2022-01-27T17:37:21.000Z
oct/cli/bootstrap/group.py
staebler/origin-ci-tool
2cb86c3cad7a37450e711571ac75997118c899e5
[ "Apache-2.0" ]
52
2017-01-06T16:03:49.000Z
2022-01-24T18:58:58.000Z
# coding=utf-8 from __future__ import absolute_import, division, print_function from click import group from .host import host from .node import node from .self import self @group( short_help='Get a machine ready to be an Ansible node or target host.', help=''' In order for Ansible to interact with a target...
23.870968
75
0.747297
116
740
4.681034
0.508621
0.044199
0.104972
0.047882
0.055249
0
0
0
0
0
0
0.001656
0.183784
740
30
76
24.666667
0.897351
0.113514
0
0
0
0
0.489063
0
0
0
0
0
0
1
0.052632
true
0.052632
0.263158
0
0.315789
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
2
5436bd5cf21fa29f35ea76a5bfe40a79e973b582
1,102
py
Python
setup.py
leoleozhu/flask_gfwlist2pac
b66bea9ef2a00476b2d9058a908cc1ee29c400a5
[ "MIT" ]
null
null
null
setup.py
leoleozhu/flask_gfwlist2pac
b66bea9ef2a00476b2d9058a908cc1ee29c400a5
[ "MIT" ]
null
null
null
setup.py
leoleozhu/flask_gfwlist2pac
b66bea9ef2a00476b2d9058a908cc1ee29c400a5
[ "MIT" ]
null
null
null
#! /usr/bin/env python # -*- coding: utf-8 -*- """ Flask-Gfwlist2Pac ---------- A flask application to generate PAC file based on gfwlist """ from setuptools import setup, find_packages from pip.req import parse_requirements setup( name='Flask-Gfwlist2Pac', version='0.0.2', url='https://github.com/leol...
26.238095
74
0.638838
123
1,102
5.609756
0.707317
0.069565
0.052174
0.075362
0.136232
0.136232
0.136232
0.136232
0.136232
0
0
0.01626
0.218693
1,102
41
75
26.878049
0.785134
0.118875
0
0
1
0
0.478668
0.021852
0
0
0
0
0
1
0
true
0
0.068966
0
0.068966
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
5437cd4c3a1110882e6a0be7722e9cc7fc1ce5bb
609
py
Python
svc_kube_vision_opencvplus/extras/CbirRootSift/bag-of-words-python-dev-version/rootsift.py
lucmichalski/kube-vproxy
c7cc0edbcbcd07a48f0fc48b9457eae693b76688
[ "Apache-2.0" ]
3
2018-06-22T07:55:51.000Z
2021-06-21T19:18:16.000Z
svc_kube_vision_opencvplus/extras/CbirRootSift/bag-of-words-python-dev-version/rootsift.py
lucmichalski/kube-vproxy
c7cc0edbcbcd07a48f0fc48b9457eae693b76688
[ "Apache-2.0" ]
null
null
null
svc_kube_vision_opencvplus/extras/CbirRootSift/bag-of-words-python-dev-version/rootsift.py
lucmichalski/kube-vproxy
c7cc0edbcbcd07a48f0fc48b9457eae693b76688
[ "Apache-2.0" ]
1
2020-11-04T04:56:50.000Z
2020-11-04T04:56:50.000Z
# import the necessary packages import numpy as np import cv2 class RootSIFT: def __init__(self): pass def compute(self, kps, descs, eps=1e-7): # if there are no keypoints or descriptors, return an empty tuple if len(kps) == 0: return ([], None) # apply the Hellinger kernel by first L1-normalizing, takin...
29
67
0.688013
97
609
4.278351
0.57732
0.050602
0.062651
0.081928
0.163855
0.163855
0.163855
0.163855
0.163855
0.163855
0
0.022358
0.192118
609
21
68
29
0.821138
0.482759
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0.083333
0.166667
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
543bc09223b09281c81fb21030eea3c8f4f7eb27
1,088
py
Python
src/sentry_plugins/asana/client.py
MattPark/sentry-plugins
3b08a43ea9ca1fb0fd183c3fe7bd5606f14ba993
[ "Apache-2.0" ]
null
null
null
src/sentry_plugins/asana/client.py
MattPark/sentry-plugins
3b08a43ea9ca1fb0fd183c3fe7bd5606f14ba993
[ "Apache-2.0" ]
null
null
null
src/sentry_plugins/asana/client.py
MattPark/sentry-plugins
3b08a43ea9ca1fb0fd183c3fe7bd5606f14ba993
[ "Apache-2.0" ]
null
null
null
from __future__ import absolute_import from sentry_plugins.client import AuthApiClient class AsanaClient(AuthApiClient): base_url = u'https://app.asana.com/api/1.0' def get_workspaces(self): return self.get('/workspaces') def get_issue(self, issue_id): return self.get('/tasks/%s' % issu...
29.405405
98
0.592831
125
1,088
4.992
0.392
0.080128
0.0625
0.073718
0
0
0
0
0
0
0
0.002484
0.26011
1,088
36
99
30.222222
0.772671
0
0
0
0
0
0.178309
0.022059
0
0
0
0
0
1
0.192308
false
0
0.076923
0.153846
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
544e48243f26a39386984abdbec71e0a3cce3fe7
11,850
py
Python
kairon/api/models.py
udit-pandey/kairon
98d9cab64f184e079052e7583853c193e7eba408
[ "Apache-2.0" ]
97
2020-08-18T10:07:48.000Z
2022-03-26T18:33:37.000Z
kairon/api/models.py
digiteinfotech/kairon
6a2f0a056dbfe5c041fd9e00a6f5b878e339309e
[ "Apache-2.0" ]
276
2020-08-27T23:24:35.000Z
2022-03-31T09:43:30.000Z
kairon/api/models.py
digiteinfotech/kairon
6a2f0a056dbfe5c041fd9e00a6f5b878e339309e
[ "Apache-2.0" ]
46
2020-09-11T13:29:41.000Z
2022-03-08T12:27:17.000Z
from typing import List, Any, Dict import validators from kairon.shared.data.constant import EVENT_STATUS, SLOT_MAPPING_TYPE, SLOT_TYPE from ..shared.actions.models import SlotValidationOperators, LogicalOperators from ..shared.constants import SLOT_SET_TYPE from kairon.exceptions import AppException ValidationFailure...
27.241379
136
0.66557
1,414
11,850
5.459689
0.19024
0.054404
0.018135
0.029016
0.419171
0.396114
0.365415
0.342617
0.320466
0.286269
0
0.004244
0.244388
11,850
434
137
27.304147
0.857941
0.004979
0
0.403727
0
0
0.099075
0.002036
0
0
0
0
0
1
0.065217
false
0.065217
0.059006
0.006211
0.695652
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
549a5c90fbd0a90a57cc580c9f4f2b0296b74e25
81
py
Python
homedns/constants.py
EvanMu96/dns-test
59286394f954619b6332df11fd3af30180c835d1
[ "MIT" ]
1
2021-01-05T10:51:16.000Z
2021-01-05T10:51:16.000Z
homedns/constants.py
EvanMu96/homedns
59286394f954619b6332df11fd3af30180c835d1
[ "MIT" ]
5
2021-01-08T09:08:50.000Z
2021-06-03T09:17:18.000Z
homedns/constants.py
EvanMu96/homedns
59286394f954619b6332df11fd3af30180c835d1
[ "MIT" ]
null
null
null
IN = 1 RESP_OK, RESP_FWD, RESP_BLK = 0, 1, 2 iterative_timeout = 1.0 # second
13.5
37
0.666667
16
81
3.125
0.6875
0
0
0
0
0
0
0
0
0
0
0.095238
0.222222
81
5
38
16.2
0.698413
0.074074
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
54a5e5dff8b45c2cf76be5256e9218e173bf49a5
2,306
py
Python
flow/labels.py
Charlottez112/signac-flow
a8bdd35b5244887a26b8146ede2f718865f02062
[ "BSD-3-Clause" ]
49
2019-01-31T01:37:15.000Z
2022-03-28T17:09:08.000Z
flow/labels.py
Charlottez112/signac-flow
a8bdd35b5244887a26b8146ede2f718865f02062
[ "BSD-3-Clause" ]
528
2019-02-03T23:02:17.000Z
2022-03-30T08:52:32.000Z
flow/labels.py
Charlottez112/signac-flow
a8bdd35b5244887a26b8146ede2f718865f02062
[ "BSD-3-Clause" ]
42
2019-02-13T21:07:43.000Z
2022-03-13T12:29:45.000Z
# Copyright (c) 2018 The Regents of the University of Michigan # All rights reserved. # This software is licensed under the BSD 3-Clause License. """Implementation of decorators for label functions. This module implements the label, classlabel, and staticlabel decorator functions which can be used to decorate label fu...
22.38835
76
0.588465
255
2,306
5.184314
0.305882
0.015885
0.033283
0.048412
0.418306
0.38351
0.38351
0.38351
0.38351
0.38351
0
0.003185
0.319167
2,306
102
77
22.607843
0.838854
0.599306
0
0.1875
0
0
0.023649
0
0
0
0
0
0
1
0.3125
false
0
0
0.0625
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
54a6b69e4c859f30c7c9c5b5f940f4e853a9187f
1,427
py
Python
status_codes.py
AlexLitvino/GoRestAPITesting
ed94908ab837585a5621c455ea1a7848e60f2dee
[ "MIT" ]
null
null
null
status_codes.py
AlexLitvino/GoRestAPITesting
ed94908ab837585a5621c455ea1a7848e60f2dee
[ "MIT" ]
null
null
null
status_codes.py
AlexLitvino/GoRestAPITesting
ed94908ab837585a5621c455ea1a7848e60f2dee
[ "MIT" ]
null
null
null
class Status: OK = 200 # Everything worked as expected CREATED = 201 # A resource was successfully created in response to a POST request. The Location header contains the URL pointing to the newly created resource NO_CONTENT = 204 # The request was handled successfully and the response contains no body c...
95.133333
188
0.768045
209
1,427
5.181818
0.54067
0.027701
0.022161
0.024007
0.079409
0.044321
0
0
0
0
0
0.034211
0.201121
1,427
14
189
101.928571
0.915789
0.742817
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
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
1
0
0
2
54a9b2f41e413cd36b7a2dc15d1bb6167b469546
1,257
py
Python
tests/test_ctp/test_market_gateway.py
myron0330/metatrade
b0358ad3dce6ba50e4801b6af557d7883d8a5d9a
[ "MIT" ]
1
2018-06-28T09:49:08.000Z
2018-06-28T09:49:08.000Z
tests/test_ctp/test_market_gateway.py
myron0330/metatrade
b0358ad3dce6ba50e4801b6af557d7883d8a5d9a
[ "MIT" ]
null
null
null
tests/test_ctp/test_market_gateway.py
myron0330/metatrade
b0358ad3dce6ba50e4801b6af557d7883d8a5d9a
[ "MIT" ]
null
null
null
# -*- coding: UTF-8 -*- # **********************************************************************************# # File: # **********************************************************************************# import json from lib.event.event_base import EventType from lib.event.event_engine import EventEngine from lib....
38.090909
109
0.607001
126
1,257
5.793651
0.365079
0.105479
0.065753
0.082192
0.128767
0.128767
0.128767
0.128767
0
0
0
0.007715
0.17502
1,257
32
110
39.28125
0.696239
0.242641
0
0
0
0
0.063559
0
0
0
0
0
0
0
null
null
0.086957
0.217391
null
null
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
49abbfac74e273f1bec1edf225cec18180d06b3e
1,080
py
Python
src/handlers/secrets.py
Sinclert/Twitter-Dashboard-Server
f76503770ab25137aab12b3f174f7246c045d85b
[ "MIT" ]
2
2019-07-22T22:39:55.000Z
2021-09-05T23:24:36.000Z
src/handlers/secrets.py
Sinclert/Twitter-Dashboard-Server
f76503770ab25137aab12b3f174f7246c045d85b
[ "MIT" ]
null
null
null
src/handlers/secrets.py
Sinclert/Twitter-Dashboard-Server
f76503770ab25137aab12b3f174f7246c045d85b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from utils.singleton import Singleton class SecretsHandler(metaclass=Singleton): """ Represents a token secrets handler object """ def __init__(self): """ Creates a token secrets handler singleton """ self.token_secrets = {} @staticmethod def build_key(*unique_keys) -> str:...
16.875
62
0.693519
145
1,080
5.055172
0.310345
0.081855
0.065484
0.05457
0.357435
0.297408
0.223738
0.223738
0.223738
0.223738
0
0.001156
0.199074
1,080
63
63
17.142857
0.846243
0.443519
0
0.142857
0
0
0.001832
0
0
0
0
0
0
1
0.285714
false
0
0.071429
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
49b190ae19f12a86692e62d5ac271a0824de45aa
181
py
Python
Mundo 1/ArquivosSemCores/File 013.py
PedroHenriqueSimoes/Exercicios-Python
702a819d508dd7878b88fb676559d899237ac761
[ "MIT" ]
1
2020-04-30T21:32:01.000Z
2020-04-30T21:32:01.000Z
Mundo 1/ArquivosSemCores/File 013.py
PedroHenriqueSimoes/Exercicios-Python
702a819d508dd7878b88fb676559d899237ac761
[ "MIT" ]
1
2021-10-05T02:00:04.000Z
2021-10-05T02:00:04.000Z
Mundo 1/ArquivosSemCores/File 013.py
PedroHenriqueSimoes/Exercicios-Python
702a819d508dd7878b88fb676559d899237ac761
[ "MIT" ]
null
null
null
sal = (float(input('Qual é seu salario? '))) sf = (( sal * 15) / 100) + sal print('O salario que era de R${}, com 15 por cento de aumento passou a valer com R${}'.format(sal, sf))
36.2
103
0.618785
33
181
3.393939
0.727273
0
0
0
0
0
0
0
0
0
0
0.048276
0.198895
181
4
104
45.25
0.724138
0
0
0
0
0
0.544444
0
0
0
0
0
0
1
0
false
0.333333
0
0
0
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
49b9a837d9902837e0e1d476f9394fdfa21c3e0c
3,893
py
Python
pymt/direct_task.py
Datasciensyash/pymt
bcb4837ed6e89e56166b5ef8d497084a01ec2261
[ "MIT" ]
1
2021-11-23T06:52:10.000Z
2021-11-23T06:52:10.000Z
pymt/direct_task.py
Datasciensyash/pymt
bcb4837ed6e89e56166b5ef8d497084a01ec2261
[ "MIT" ]
null
null
null
pymt/direct_task.py
Datasciensyash/pymt
bcb4837ed6e89e56166b5ef8d497084a01ec2261
[ "MIT" ]
null
null
null
import typing as tp from math import atan, degrees, pi import numpy as np from numba import jit, prange from numpy import e as e_const @jit(nopython=True) def direct_task_1d( periods: np.ndarray, layer_resistivity: np.ndarray, layer_power: np.ndarray, ) -> tp.Tuple[np.ndarray, np.ndarray]: """ Ca...
32.991525
97
0.613409
568
3,893
4.072183
0.172535
0.101167
0.081712
0.06658
0.757026
0.727194
0.697363
0.680502
0.654561
0.629053
0
0.024939
0.258413
3,893
117
98
33.273504
0.776238
0.369638
0
0.22807
0
0
0
0
0
0
0
0
0
1
0.052632
false
0
0.087719
0
0.192982
0
0
0
0
null
0
0
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
0
0
0
0
0
0
0
0
2
49c8d5557f32210bc6752bb3f34e6e35eb85c757
940
py
Python
1_beginner/chapter3/practice/wizard.py
code4tomorrow/Python
035b6f5d8fd635a16caaff78bcd3f582663dadc3
[ "MIT" ]
4
2021-03-01T00:32:45.000Z
2021-05-21T22:01:52.000Z
1_beginner/chapter3/practice/wizard.py
code4tomorrow/Python
035b6f5d8fd635a16caaff78bcd3f582663dadc3
[ "MIT" ]
29
2020-09-12T22:56:04.000Z
2021-09-25T17:08:42.000Z
1_beginner/chapter3/practice/wizard.py
code4tomorrow/Python
035b6f5d8fd635a16caaff78bcd3f582663dadc3
[ "MIT" ]
7
2021-02-25T01:50:55.000Z
2022-02-28T00:00:42.000Z
""" Wizard There are 3 criteria to determine whether you’re a wizard or not. Define a variable called is_wizard and use logic operators to set it to the correct value based on the criteria. Here are some example variable values and outputs. You'll need to figure out the order of logic operators needed to turn these ...
23.5
54
0.748936
171
940
4.087719
0.385965
0.035765
0.04578
0.097282
0.343348
0.343348
0.320458
0.30329
0.30329
0.30329
0
0.001302
0.182979
940
39
55
24.102564
0.908854
0.926596
0
0
0
0
0
0
0
0
0
0.025641
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
2
49d3a4ac3572533112f14f679fabbe0e307fc91c
32,206
py
Python
pysnmp/ERICSSON-ALARM-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/ERICSSON-ALARM-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/ERICSSON-ALARM-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module ERICSSON-ALARM-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ERICSSON-ALARM-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 18:51:57 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, ...
164.316327
3,969
0.772558
3,138
32,206
7.928298
0.073614
0.108686
0.132481
0.013505
0.514892
0.489851
0.440733
0.397283
0.397283
0.370152
0
0.052628
0.070763
32,206
195
3,970
165.158974
0.778695
0.010247
0
0.058824
0
0
0.330059
0.149653
0
0
0
0
0
1
0
false
0
0.085562
0
0.085562
0
0
0
0
null
0
0
0
0
0
0
0
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
2
49d4bc0181d612be2006a91a4a64065dcdba93f9
593
py
Python
pointCollection/CS2_retracked_SW/tile.py
tsutterley/pointCollection
04e4359e463ff8a556e0d078373578bd96390151
[ "MIT" ]
null
null
null
pointCollection/CS2_retracked_SW/tile.py
tsutterley/pointCollection
04e4359e463ff8a556e0d078373578bd96390151
[ "MIT" ]
null
null
null
pointCollection/CS2_retracked_SW/tile.py
tsutterley/pointCollection
04e4359e463ff8a556e0d078373578bd96390151
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Fri Oct 18 18:45:18 2019 @author: ben """ import pointCollection as pc class tile(pc.tile): def __default_field_dict__(self): return {None: ["AD", "DEM", "POCA_flag", "R_POCA", "R_offnadir", "abs_orbit", "ambiguity", "block_h_spread", "burst...
26.954545
291
0.615514
83
593
4.048193
0.771084
0.089286
0.089286
0
0
0
0
0
0
0
0
0.028866
0.182125
593
21
292
28.238095
0.663918
0.15683
0
0
0
0
0.352342
0
0
0
0
0
0
1
0.375
false
0
0.125
0.375
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
49d579de8a68eb326c213c33b24bfeb60cf5d275
1,127
py
Python
Data_transfer.py
maurofm1992/smartpanel
2eeddccc25ba35e594b34c552a30d243dd020918
[ "Apache-2.0" ]
null
null
null
Data_transfer.py
maurofm1992/smartpanel
2eeddccc25ba35e594b34c552a30d243dd020918
[ "Apache-2.0" ]
null
null
null
Data_transfer.py
maurofm1992/smartpanel
2eeddccc25ba35e594b34c552a30d243dd020918
[ "Apache-2.0" ]
null
null
null
from cloudant.client import Cloudant from cloudant.error import CloudantException from cloudant.result import Result, ResultByKey from pprint import pprint from django.sortcuts import render from flask import Flask,jsonify,json client = Cloudant("39a4348e-3ce1-40cd-b016-1f85569d409e-bluemix", "48e266...
36.354839
236
0.772848
121
1,127
7.14876
0.396694
0.069364
0.092486
0.115607
0.484393
0.484393
0.484393
0.365318
0.365318
0.365318
0
0.247059
0.094942
1,127
30
237
37.566667
0.60098
0.037267
0
0
0
0.117647
0.483271
0.100372
0.058824
0
0
0
0
1
0
false
0
0.352941
0
0.352941
0.235294
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
49ed7472ef3138da8df088f43478fd63c1df30e1
100
py
Python
PythonCode/PW4.21.py
aredshaw/CodePractice
1f5267d5cfc83b803a8b0da3cacc9b306492555e
[ "MIT" ]
1
2019-09-24T03:39:44.000Z
2019-09-24T03:39:44.000Z
PythonCode/PW4.21.py
aredshaw/CodePractice
1f5267d5cfc83b803a8b0da3cacc9b306492555e
[ "MIT" ]
null
null
null
PythonCode/PW4.21.py
aredshaw/CodePractice
1f5267d5cfc83b803a8b0da3cacc9b306492555e
[ "MIT" ]
1
2021-07-12T01:15:30.000Z
2021-07-12T01:15:30.000Z
daysOfWeek = ("Sun", "Mon", "Tues", "Wed", "Thurs", "Fri", "Sat") myDay = daysOfWeek[2] print(myDay)
33.333333
65
0.6
13
100
4.615385
0.846154
0
0
0
0
0
0
0
0
0
0
0.011364
0.12
100
3
66
33.333333
0.670455
0
0
0
0
0
0.237624
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b70567cbfe7b33a0dbb3d450d09ea4ffb657c6fe
3,378
py
Python
pyiron_atomistics/atomistics/job/interactivewrapper.py
dgehringer/pyiron_atomistics
f8f2d573a483e802c8e5840998a0769378b95e31
[ "BSD-3-Clause" ]
14
2021-01-18T10:03:56.000Z
2022-03-01T20:59:35.000Z
pyiron_atomistics/atomistics/job/interactivewrapper.py
dgehringer/pyiron_atomistics
f8f2d573a483e802c8e5840998a0769378b95e31
[ "BSD-3-Clause" ]
569
2018-04-12T06:37:14.000Z
2022-03-31T18:06:27.000Z
pyiron_atomistics/atomistics/job/interactivewrapper.py
srmnitc/pyiron_atomistics
2c8052b082f2c4fb6f6291ac2b1f801ea7ab1567
[ "BSD-3-Clause" ]
6
2018-10-23T09:48:48.000Z
2022-02-13T12:13:00.000Z
# coding: utf-8 # Copyright (c) Max-Planck-Institut für Eisenforschung GmbH - Computational Materials Design (CM) Department # Distributed under the terms of "New BSD License", see the LICENSE file. from pyiron_base import InteractiveWrapper as InteractiveWrapperBase, deprecate from pyiron_atomistics.atomistics.struct...
27.241935
108
0.661338
400
3,378
5.295
0.3125
0.053824
0.061379
0.079792
0.351275
0.325779
0.325779
0.169027
0.073654
0.073654
0
0.005142
0.251628
3,378
123
109
27.463415
0.832674
0.079337
0
0.255814
0
0
0.095301
0
0
0
0
0
0
1
0.22093
false
0
0.034884
0.151163
0.488372
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
b72069b23379c43508861d1609f467e983da6465
1,140
py
Python
facebook-test.py
karthiksekaran/skip-tracking-selenium
0cd4333a72b777137d1d35830576a24dd0c9a428
[ "MIT" ]
null
null
null
facebook-test.py
karthiksekaran/skip-tracking-selenium
0cd4333a72b777137d1d35830576a24dd0c9a428
[ "MIT" ]
null
null
null
facebook-test.py
karthiksekaran/skip-tracking-selenium
0cd4333a72b777137d1d35830576a24dd0c9a428
[ "MIT" ]
null
null
null
import os import selenium from selenium import webdriver import time from PIL import Image import io import requests from webdriver_manager.chrome import ChromeDriverManager from selenium.common.exceptions import ElementClickInterceptedException, NoSuchElementException driver = webdriver.Chrome(ChromeDriverM...
25.909091
96
0.764035
138
1,140
6.15942
0.528986
0.058824
0.1
0.111765
0.098824
0
0
0
0
0
0
0.00202
0.131579
1,140
44
97
25.909091
0.856566
0
0
0
0
0
0.162231
0.030418
0
0
0
0
0
1
0
false
0.142857
0.428571
0
0.428571
0.095238
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
2
b72b7a3474693d7dc8cad980b98e8feb00b73aa6
334
py
Python
ssim/forms.py
khudzu/cobacob
346d9b8db5c999cd28dd6d1d9001da785b49af88
[ "Unlicense" ]
null
null
null
ssim/forms.py
khudzu/cobacob
346d9b8db5c999cd28dd6d1d9001da785b49af88
[ "Unlicense" ]
null
null
null
ssim/forms.py
khudzu/cobacob
346d9b8db5c999cd28dd6d1d9001da785b49af88
[ "Unlicense" ]
null
null
null
from django import forms class ssim_input(forms.Form): image_original = forms.ImageField( label='Masukkan Citra Digital Original ', required=True, ) image_result = forms.ImageField( label='Masukkan Citra Digital Hasil Proses Enkripsi/Dekripsi ', required=T...
33.4
75
0.628743
34
334
6.088235
0.647059
0.144928
0.193237
0.270531
0.386473
0.386473
0
0
0
0
0
0
0.296407
334
10
76
33.4
0.880851
0
0
0.2
0
0
0.256716
0
0
0
0
0
0
1
0
false
0
0.1
0
0.4
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b73267b3295a439a4d23d26a119fc2e4494f9c95
880
py
Python
tests/test_utils.py
ad-m/python_mojepanstwo
0e391acb973ef99433ff05703183d585db4ce777
[ "MIT" ]
null
null
null
tests/test_utils.py
ad-m/python_mojepanstwo
0e391acb973ef99433ff05703183d585db4ce777
[ "MIT" ]
null
null
null
tests/test_utils.py
ad-m/python_mojepanstwo
0e391acb973ef99433ff05703183d585db4ce777
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ test_python_mojepanstwo ---------------------------------- Tests for `utils` module. """ import sys import unittest from python_mojepanstwo.utils import urlencode_php class TestPython_urlencode_php(unittest.TestCase): def _test(self, input, expected_output): ...
22
63
0.588636
123
880
3.918699
0.390244
0.033195
0.124481
0.134855
0.26971
0.06639
0.06639
0
0
0
0
0.009695
0.179545
880
39
64
22.564103
0.657895
0.145455
0
0
0
0
0.083445
0
0
0
0
0
0.055556
1
0.333333
false
0
0.166667
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
3f994d86886b7880cf60c124336fdc74b1a7d4f4
2,675
py
Python
getgauge/executor.py
surevs/gauge-python
2d91295c59d8cbbd3aec221cc1349805fbc01697
[ "MIT" ]
null
null
null
getgauge/executor.py
surevs/gauge-python
2d91295c59d8cbbd3aec221cc1349805fbc01697
[ "MIT" ]
null
null
null
getgauge/executor.py
surevs/gauge-python
2d91295c59d8cbbd3aec221cc1349805fbc01697
[ "MIT" ]
null
null
null
import inspect import os import sys import time import traceback from getgauge.messages.messages_pb2 import Message from getgauge.messages.spec_pb2 import ProtoExecutionResult from getgauge.registry import registry, MessagesStore, ScreenshotsStore def set_response_values(request, response): response.messageType ...
41.153846
111
0.785794
269
2,675
7.6171
0.30855
0.211811
0.3143
0.023426
0.260615
0.1796
0.1796
0.1796
0.1796
0.1796
0
0.004743
0.133084
2,675
64
112
41.796875
0.878827
0
0
0.081633
0
0
0.016075
0.00785
0
0
0
0
0.020408
1
0.142857
false
0
0.163265
0.040816
0.346939
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3fb6f72da8d1285f659704c71731c4b7301c315f
2,256
py
Python
meraki_sdk/models/update_network_appliance_firewall_inbound_firewall_rules_model.py
meraki/meraki-python-sdk
9894089eb013318243ae48869cc5130eb37f80c0
[ "MIT" ]
37
2019-04-24T14:01:33.000Z
2022-01-28T01:37:21.000Z
meraki_sdk/models/update_network_appliance_firewall_inbound_firewall_rules_model.py
ankita66666666/meraki-python-sdk
9894089eb013318243ae48869cc5130eb37f80c0
[ "MIT" ]
10
2019-07-09T16:35:11.000Z
2021-12-07T03:47:53.000Z
meraki_sdk/models/update_network_appliance_firewall_inbound_firewall_rules_model.py
ankita66666666/meraki-python-sdk
9894089eb013318243ae48869cc5130eb37f80c0
[ "MIT" ]
17
2019-04-30T23:53:21.000Z
2022-02-07T22:57:44.000Z
# -*- coding: utf-8 -*- """ meraki_sdk This file was automatically generated for meraki by APIMATIC v2.0 ( https://apimatic.io ). """ import meraki_sdk.models.rule_1_model class UpdateNetworkApplianceFirewallInboundFirewallRulesModel(object): """Implementation of the 'updateNetworkAppliance...
31.333333
99
0.62234
232
2,256
5.931034
0.422414
0.071948
0.086483
0.027616
0.077035
0.036337
0
0
0
0
0
0.004513
0.3125
2,256
71
100
31.774648
0.882656
0.483156
0
0
1
0
0.075569
0
0
0
0
0.014085
0
1
0.083333
false
0
0.041667
0
0.291667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
2
3fbd6d75b5bfc2021e6576b1053c72f7c8e2ec7c
182
py
Python
essentials/pandas/pandas_2.py
iomegak12/intel-training-usecase-1
0d1ab6f6076f46f7fbb290ceb41d6b851da1af3a
[ "MIT" ]
null
null
null
essentials/pandas/pandas_2.py
iomegak12/intel-training-usecase-1
0d1ab6f6076f46f7fbb290ceb41d6b851da1af3a
[ "MIT" ]
null
null
null
essentials/pandas/pandas_2.py
iomegak12/intel-training-usecase-1
0d1ab6f6076f46f7fbb290ceb41d6b851da1af3a
[ "MIT" ]
null
null
null
import pandas as pd student_scores = { 1: 100, 2: 500, 3: 600, 4: 900, 5: 650 } series = pd.Series(student_scores, index = student_scores.keys()) print(series)
14
65
0.615385
27
182
4.037037
0.740741
0.357798
0
0
0
0
0
0
0
0
0
0.148148
0.258242
182
13
66
14
0.659259
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0.1
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3fc14ba60cc36762632a778e479c0c97d90b43d9
978
py
Python
src/organizations/migrations/0002_auto_20190701_0136.py
earth-emoji/citizens4
eb5f5b0191f7c8690037c9adac07eb4affb40de4
[ "MIT" ]
null
null
null
src/organizations/migrations/0002_auto_20190701_0136.py
earth-emoji/citizens4
eb5f5b0191f7c8690037c9adac07eb4affb40de4
[ "MIT" ]
10
2020-02-12T00:46:48.000Z
2022-03-11T23:51:27.000Z
src/organizations/migrations/0002_auto_20190701_0136.py
earth-emoji/citizens4
eb5f5b0191f7c8690037c9adac07eb4affb40de4
[ "MIT" ]
null
null
null
# Generated by Django 2.2.2 on 2019-07-01 01:36 from django.db import migrations, models import uuid class Migration(migrations.Migration): dependencies = [ ('organizations', '0001_initial'), ] operations = [ migrations.AddField( model_name='issue', name='slug', ...
27.942857
80
0.580777
97
978
5.804124
0.381443
0.127886
0.16341
0.191829
0.591474
0.591474
0.591474
0.591474
0.591474
0.591474
0
0.033528
0.298569
978
34
81
28.764706
0.787172
0.046012
0
0.571429
1
0
0.093448
0
0
0
0
0
0
1
0
false
0
0.071429
0
0.178571
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3fd5bb018e5d07db3dcdd1e1390d428b434c11cf
2,430
py
Python
sympy/assumptions/tests/test_assumptions_2.py
pernici/sympy
5e6e3b71da777f5b85b8ca2d16f33ed020cf8a41
[ "BSD-3-Clause" ]
null
null
null
sympy/assumptions/tests/test_assumptions_2.py
pernici/sympy
5e6e3b71da777f5b85b8ca2d16f33ed020cf8a41
[ "BSD-3-Clause" ]
null
null
null
sympy/assumptions/tests/test_assumptions_2.py
pernici/sympy
5e6e3b71da777f5b85b8ca2d16f33ed020cf8a41
[ "BSD-3-Clause" ]
null
null
null
"""rename this to test_assumptions.py when the old assumptions system is deleted""" from sympy.core import symbols from sympy.assumptions import Assume, global_assumptions, Predicate from sympy.assumptions.assume import eliminate_assume from sympy.printing import pretty from sympy.assumptions.ask import Q from sympy.ut...
36.268657
83
0.677778
344
2,430
4.700581
0.180233
0.12987
0.074212
0.116883
0.499072
0.485467
0.379097
0.272727
0.114409
0.08658
0
0.005033
0.182305
2,430
66
84
36.818182
0.808757
0.088066
0
0.283019
0
0
0.054239
0
0
0
0
0.015152
0.415094
1
0.132075
false
0
0.113208
0
0.245283
0.018868
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
1
0
0
0
0
0
0
0
0
0
2
3fd6743b786b80f6c469b204cd40bfd8482d3ace
480
py
Python
pythonExercicios/ex043.py
Yhago-Carvalho/CursoPython
343ccabb1a61e16c6078de9672c78c56deed2589
[ "MIT" ]
null
null
null
pythonExercicios/ex043.py
Yhago-Carvalho/CursoPython
343ccabb1a61e16c6078de9672c78c56deed2589
[ "MIT" ]
null
null
null
pythonExercicios/ex043.py
Yhago-Carvalho/CursoPython
343ccabb1a61e16c6078de9672c78c56deed2589
[ "MIT" ]
null
null
null
p = float(input('Qual seu peso? ')) h = float(input('Qual sua altura? ')) IMC = p / h**2 if IMC <= 18.5: print(f'Seu IMC é {IMC:.2f}, e você está abaixo do peso') elif IMC < 25: print(f'Seu IMC é {IMC:.2f}, e você está no peso ideal') elif IMC < 30: print(f'Seu IMC é {IMC:.2f}, e você está com sobrepeso') e...
34.285714
68
0.61875
95
480
3.126316
0.347368
0.10101
0.151515
0.20202
0.606061
0.606061
0.606061
0.606061
0.606061
0.606061
0
0.045333
0.21875
480
13
69
36.923077
0.746667
0
0
0
0
0
0.564583
0
0
0
0
0
0
1
0
false
0
0
0
0
0.384615
0
0
0
null
0
0
1
0
0
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
0
0
0
0
0
0
0
0
2
3fe2886a0532bcbb2e48bbdaa236816b23ce11b2
111
py
Python
exhaustive_search/03_string/03-04.py
fumiyanll23/algo-method
d86ea1d399cbc5a1db0ae49d0c82e41042f661ab
[ "MIT" ]
null
null
null
exhaustive_search/03_string/03-04.py
fumiyanll23/algo-method
d86ea1d399cbc5a1db0ae49d0c82e41042f661ab
[ "MIT" ]
null
null
null
exhaustive_search/03_string/03-04.py
fumiyanll23/algo-method
d86ea1d399cbc5a1db0ae49d0c82e41042f661ab
[ "MIT" ]
null
null
null
# input N = int(input()) S = input() T = input() # compute # output print(sum(s != t for s, t in zip(S, T)))
11.1
40
0.54955
21
111
2.904762
0.571429
0.098361
0
0
0
0
0
0
0
0
0
0
0.234234
111
9
41
12.333333
0.717647
0.18018
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3fe7f5dc19a641653b987694b0c0abadb06286ce
86
py
Python
exhaustive_search/03_string/03-01.py
fumiyanll23/algo-method
d86ea1d399cbc5a1db0ae49d0c82e41042f661ab
[ "MIT" ]
null
null
null
exhaustive_search/03_string/03-01.py
fumiyanll23/algo-method
d86ea1d399cbc5a1db0ae49d0c82e41042f661ab
[ "MIT" ]
null
null
null
exhaustive_search/03_string/03-01.py
fumiyanll23/algo-method
d86ea1d399cbc5a1db0ae49d0c82e41042f661ab
[ "MIT" ]
null
null
null
# input S = input() c = input() # compute # output print('Yes' if c in S else 'No')
9.555556
32
0.581395
15
86
3.333333
0.733333
0
0
0
0
0
0
0
0
0
0
0
0.244186
86
8
33
10.75
0.769231
0.232558
0
0
0
0
0.080645
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3feff892c9b8a54848be967b1efbcf444d11e017
1,230
py
Python
setup.py
DXist/django-salmonella
afdf3d5b6162fb6d354b7c2483dcaa3b81e671e8
[ "MIT" ]
1
2015-05-15T08:48:09.000Z
2015-05-15T08:48:09.000Z
setup.py
DXist/django-salmonella
afdf3d5b6162fb6d354b7c2483dcaa3b81e671e8
[ "MIT" ]
null
null
null
setup.py
DXist/django-salmonella
afdf3d5b6162fb6d354b7c2483dcaa3b81e671e8
[ "MIT" ]
null
null
null
#!/usr/bin/env python from setuptools import setup, find_packages setup( name="django-salmonella", version='0.6.1', author='Lincoln Loop: Seth Buntin, Yann Malet', author_email='info@lincolnloop.com', description=("raw_id_fields widget replacement that handles display of an object's " ...
36.176471
88
0.638211
130
1,230
5.969231
0.738462
0.097938
0.088918
0.108247
0
0
0
0
0
0
0
0.004202
0.226016
1,230
33
89
37.272727
0.810924
0.01626
0
0
0
0
0.605459
0.160463
0
0
0
0
0
1
0
true
0
0.032258
0
0.032258
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
b20a462f31e038d4ab114df8f8b812f3503dfc9c
286
py
Python
tributary/tests/streaming/input/test_file_streaming.py
blshao84/tributary
20e41f782d46fa5d8c340629ed60719741702e7e
[ "Apache-2.0" ]
null
null
null
tributary/tests/streaming/input/test_file_streaming.py
blshao84/tributary
20e41f782d46fa5d8c340629ed60719741702e7e
[ "Apache-2.0" ]
null
null
null
tributary/tests/streaming/input/test_file_streaming.py
blshao84/tributary
20e41f782d46fa5d8c340629ed60719741702e7e
[ "Apache-2.0" ]
null
null
null
import os import os.path import tributary.streaming as ts class TestFile: def test_file(self): file = os.path.abspath(os.path.join(os.path.dirname(__file__), 'test_file_data.csv')) out = ts.Print(ts.File(filename=file)) assert ts.run(out) == [1, 2, 3, 4]
23.833333
93
0.657343
46
286
3.934783
0.586957
0.132597
0
0
0
0
0
0
0
0
0
0.017467
0.199301
286
11
94
26
0.772926
0
0
0
0
0
0.062937
0
0
0
0
0
0.125
1
0.125
false
0
0.375
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
b20b079b660e057f152ce684f0a6d547dbe0d866
994
py
Python
shopping_cart/models.py
plamen-k/Amper
55cde6bda0864e2fb16fa295adf225f26f3449f5
[ "MIT" ]
null
null
null
shopping_cart/models.py
plamen-k/Amper
55cde6bda0864e2fb16fa295adf225f26f3449f5
[ "MIT" ]
null
null
null
shopping_cart/models.py
plamen-k/Amper
55cde6bda0864e2fb16fa295adf225f26f3449f5
[ "MIT" ]
null
null
null
from django.db import models import random from django.db.models.signals import pre_save from django.dispatch.dispatcher import receiver from django.utils import timezone from product.models import Product from django.contrib.auth.models import User import string class Order(models.Model): orderId = models.CharField(...
33.133333
60
0.791751
129
994
6.031008
0.496124
0.064267
0.069409
0.092545
0.071979
0
0
0
0
0
0
0.015766
0.10664
994
30
61
33.133333
0.86036
0.041247
0
0
0
0
0
0
0
0
0
0
0
1
0.041667
false
0
0.333333
0
0.791667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
b7468659966d47de1a576c04180362fbc1021d10
457
py
Python
example/trigger-create.py
exiahuang/SalesforceXyToolsCore
75d7a9845264e4ece542fa491ae1ee3bc1a615f5
[ "Apache-2.0" ]
4
2018-10-12T21:19:05.000Z
2019-11-17T20:43:10.000Z
example/trigger-create.py
exiahuang/SalesforceXyToolsCore
75d7a9845264e4ece542fa491ae1ee3bc1a615f5
[ "Apache-2.0" ]
null
null
null
example/trigger-create.py
exiahuang/SalesforceXyToolsCore
75d7a9845264e4ece542fa491ae1ee3bc1a615f5
[ "Apache-2.0" ]
2
2018-08-09T02:10:09.000Z
2020-02-25T19:13:22.000Z
import os,sys sys.path.append("..") from SalesforceXytoolsCore import * from config import config import pprint tooling_api = ToolingApi(username=config["username"], password=config["password"], security_token=config["security_token"], sandbox=config["is_sandbox"], ...
26.882353
57
0.641138
44
457
6.522727
0.522727
0.083624
0
0
0
0
0
0
0
0
0
0
0.242888
457
17
58
26.882353
0.82948
0
0
0
0
0
0.120729
0
0
0
0
0
0
1
0
false
0.083333
0.333333
0
0.333333
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
2
b747aba626575b632f95c82633bfffa2fae8013e
2,692
py
Python
matchzoo/engine/base_metric.py
freedombenLiu/MatchZoo
b1ba96ac8b84e70952f5787f62272ceef8cea106
[ "Apache-2.0" ]
2
2019-10-04T16:51:36.000Z
2021-06-09T04:43:35.000Z
matchzoo/engine/base_metric.py
ThanhChinhBK/MatchZoo
f77403044bca4ff0a84738921180724a54fd42f9
[ "Apache-2.0" ]
null
null
null
matchzoo/engine/base_metric.py
ThanhChinhBK/MatchZoo
f77403044bca4ff0a84738921180724a54fd42f9
[ "Apache-2.0" ]
null
null
null
"""Metric base class and some related utilities.""" import typing import abc import numpy as np class BaseMetric(abc.ABC): """Metric base class.""" ALIAS = 'base_metric' @abc.abstractmethod def __call__(self, y_true: np.array, y_pred: np.array) -> float: """ Call to compute the met...
32.433735
78
0.632615
312
2,692
5.323718
0.339744
0.025286
0.040939
0.031306
0.198676
0.136063
0.136063
0.136063
0.136063
0.136063
0
0.000496
0.251114
2,692
82
79
32.829268
0.823413
0.496285
0
0.137931
0
0
0.017603
0
0
0
0
0
0
1
0.206897
false
0
0.103448
0
0.62069
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
b753852eb9522db553551ddf3e83628560c3df52
826
py
Python
pyscnet/main.py
MingBit/SCNetEnrich
898606c1823f2beae8368032684fa90fde94adf3
[ "MIT" ]
5
2019-08-22T12:34:43.000Z
2021-12-21T20:54:38.000Z
pyscnet/main.py
MingBit/SCNetEnrich
898606c1823f2beae8368032684fa90fde94adf3
[ "MIT" ]
1
2019-09-06T20:01:43.000Z
2019-09-08T18:10:39.000Z
pyscnet/main.py
MingBit/SCNetEnrich
898606c1823f2beae8368032684fa90fde94adf3
[ "MIT" ]
2
2020-07-29T14:04:41.000Z
2020-12-21T18:49:11.000Z
""" main.py ==================================== The core module of my example project """ def about_me(your_name): """ Return the most important thing about a person. Parameters ---------- your_name A string indicating the name of the person. """ return "The wise {} loves Python...
20.146341
71
0.547215
93
826
4.763441
0.516129
0.054176
0.049661
0
0
0
0
0
0
0
0
0
0.302663
826
40
72
20.65
0.769097
0.508475
0
0
0
0
0.187943
0
0
0
0
0
0
1
0.428571
false
0
0
0
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
b7665e342a310cabba39d81d2342d89f2d12f6d8
210
py
Python
tests/demo_test/lookupdata.py
gzdx-chenghui/qlib-lihua
d5a0ccca059509007b3ea8d734fdbbc77ea915f8
[ "MIT" ]
null
null
null
tests/demo_test/lookupdata.py
gzdx-chenghui/qlib-lihua
d5a0ccca059509007b3ea8d734fdbbc77ea915f8
[ "MIT" ]
null
null
null
tests/demo_test/lookupdata.py
gzdx-chenghui/qlib-lihua
d5a0ccca059509007b3ea8d734fdbbc77ea915f8
[ "MIT" ]
null
null
null
import qlib from qlib.data import D if __name__ == '__main__': qlib.init(provider_uri='~/.qlib/qlib_data/cn_data') print(D.calendar(start_time='2019-01-01', end_time='2020-12-31', freq='day')[:5])
19.090909
85
0.680952
35
210
3.714286
0.714286
0.123077
0
0
0
0
0
0
0
0
0
0.092896
0.128571
210
10
86
21
0.617486
0
0
0
0
0
0.273171
0.121951
0
0
0
0
0
1
0
true
0
0.4
0
0.4
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
b76fe46510fcc52e880eb182d6faf7f45d3bd525
16,184
py
Python
mindspore/python/mindspore/ops/_op_impl/_custom_op/batch_matmul_impl.py
PowerOlive/mindspore
bda20724a94113cedd12c3ed9083141012da1f15
[ "Apache-2.0" ]
3,200
2020-02-17T12:45:41.000Z
2022-03-31T20:21:16.000Z
mindspore/python/mindspore/ops/_op_impl/_custom_op/batch_matmul_impl.py
zimo-geek/mindspore
665ec683d4af85c71b2a1f0d6829356f2bc0e1ff
[ "Apache-2.0" ]
176
2020-02-12T02:52:11.000Z
2022-03-28T22:15:55.000Z
mindspore/python/mindspore/ops/_op_impl/_custom_op/batch_matmul_impl.py
zimo-geek/mindspore
665ec683d4af85c71b2a1f0d6829356f2bc0e1ff
[ "Apache-2.0" ]
621
2020-03-09T01:31:41.000Z
2022-03-30T03:43:19.000Z
# Copyright 2020 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
58.007168
112
0.587865
2,285
16,184
3.813129
0.100219
0.102261
0.047745
0.041777
0.733387
0.727304
0.69161
0.664869
0.647309
0.607254
0
0.10838
0.293623
16,184
278
113
58.215827
0.653779
0.050111
0
0.328947
0
0
0.049677
0.009531
0
0
0
0
0
1
0.030702
false
0
0.013158
0
0.052632
0
0
0
0
null
0
0
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
0
0
0
0
0
0
0
0
2
b77197bb980de175ba5c6bddea18d6f6f11cf850
12,369
py
Python
lib/engine_automl.py
djajetic/AutoML3
999b0ec00b0adfe1024c4ffbaf1df9bddbcfe23b
[ "MIT" ]
1
2019-05-02T09:32:36.000Z
2019-05-02T09:32:36.000Z
lib/engine_automl.py
djajetic/AutoML3
999b0ec00b0adfe1024c4ffbaf1df9bddbcfe23b
[ "MIT" ]
null
null
null
lib/engine_automl.py
djajetic/AutoML3
999b0ec00b0adfe1024c4ffbaf1df9bddbcfe23b
[ "MIT" ]
null
null
null
# Main function for black box learning #Damir Jajetic, 2015 from sklearn.externals import joblib from sklearn import linear_model, naive_bayes, neighbors, cross_validation, feature_selection from sklearn import metrics, ensemble, decomposition, preprocessing, svm, manifold, mixture, neural_network from sklearn import c...
38.175926
189
0.694559
1,889
12,369
4.413446
0.220222
0.030946
0.02183
0.037424
0.253329
0.236896
0.209788
0.209788
0.20403
0.198992
0
0.014512
0.197752
12,369
324
190
38.175926
0.825658
0.329776
0
0.457286
0
0
0.129656
0.003222
0
0
0
0
0
0
null
null
0.065327
0.150754
null
null
0.030151
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
b779143427eac4de78308fb99da9d0dec0f6dbde
92,008
py
Python
tests/test_platypus_paragraphs.py
hotchner/reportlab
8a0bea819d12cf111dca0c0e49c8df6e63958ca4
[ "BSD-3-Clause" ]
null
null
null
tests/test_platypus_paragraphs.py
hotchner/reportlab
8a0bea819d12cf111dca0c0e49c8df6e63958ca4
[ "BSD-3-Clause" ]
null
null
null
tests/test_platypus_paragraphs.py
hotchner/reportlab
8a0bea819d12cf111dca0c0e49c8df6e63958ca4
[ "BSD-3-Clause" ]
null
null
null
#Copyright ReportLab Europe Ltd. 2000-2017 #see license.txt for license details """Tests for the reportlab.platypus.paragraphs module. """ __version__='3.3.0' from reportlab.lib.testutils import setOutDir,makeSuiteForClasses, outputfile, printLocation setOutDir(__name__) import sys, os, unittest from operator import tr...
68.91985
852
0.639879
13,957
92,008
4.194813
0.082038
0.024186
0.036279
0.011478
0.754642
0.713239
0.675304
0.649632
0.630024
0.599604
0
0.092832
0.194972
92,008
1,334
853
68.971514
0.697606
0.017683
0
0.438884
0
0.251025
0.559229
0.25605
0
0
0.000535
0
0.021329
1
0.038556
false
0
0.051682
0.002461
0.109926
0.001641
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b7a7a7788cb1c203146403fcc21470829093ad54
3,488
py
Python
app/core/controller/ControllerOrdenTrabajoEstatus.py
raquelnany/ACTIVO_DJANGO_DOCKER_PROGRES
6dfcea960bac60ff862f204440cc52689bba0e2a
[ "MIT" ]
null
null
null
app/core/controller/ControllerOrdenTrabajoEstatus.py
raquelnany/ACTIVO_DJANGO_DOCKER_PROGRES
6dfcea960bac60ff862f204440cc52689bba0e2a
[ "MIT" ]
null
null
null
app/core/controller/ControllerOrdenTrabajoEstatus.py
raquelnany/ACTIVO_DJANGO_DOCKER_PROGRES
6dfcea960bac60ff862f204440cc52689bba0e2a
[ "MIT" ]
null
null
null
from ..serializers import OrdenTrabajoEstatusSerializer from ..models import Orden_Trabajo_Estatus class ControllerOrdenTrabajoEstatus: serializer_class = OrdenTrabajoEstatusSerializer def crearordentrabajoestatus(request): datosOrdenTrabajoEstatus = request.data ordenTrabajoEstatusNue...
35.591837
116
0.672018
324
3,488
6.845679
0.212963
0.243463
0.385482
0.123084
0.394049
0.276375
0.254283
0.254283
0.254283
0.110911
0
0
0.258028
3,488
98
117
35.591837
0.857032
0
0
0.051948
0
0
0.096876
0.019776
0
0
0
0
0
1
0.038961
false
0
0.025974
0
0.155844
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b7b92e4c7acf4668521906e31685fc2e4b3565a1
599
py
Python
hydra/buildin/inmemory_task/job.py
rpacholek/hydra
60e3c2eec5ab1fd1dde8e510baa5175173c66a6a
[ "MIT" ]
null
null
null
hydra/buildin/inmemory_task/job.py
rpacholek/hydra
60e3c2eec5ab1fd1dde8e510baa5175173c66a6a
[ "MIT" ]
null
null
null
hydra/buildin/inmemory_task/job.py
rpacholek/hydra
60e3c2eec5ab1fd1dde8e510baa5175173c66a6a
[ "MIT" ]
null
null
null
from hydra.core.task.job import Job from hydra.core.task.jobdb import JobContainer class InMemoryJob(Job): def __init__(self, task_definition, **kwargs): super().__init__(task_definition, **kwargs) class InMemoryJobContainer(JobContainer): def __init__(self, action_queue, taskdb, **kwargs): ...
24.958333
56
0.656093
78
599
4.74359
0.410256
0.081081
0.07027
0.091892
0
0
0
0
0
0
0
0
0.223706
599
23
57
26.043478
0.795699
0
0
0
0
0
0
0
0
0
0
0
0
1
0.3125
false
0
0.125
0.0625
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
b7ba9734ceded5b47066de3ec92867b129d79181
205
py
Python
data_wrangling/quick_clean.py
bluetyson/encore.ai
83633c5d5fe9dcb8bec1937c9636c56a735d6da5
[ "MIT" ]
null
null
null
data_wrangling/quick_clean.py
bluetyson/encore.ai
83633c5d5fe9dcb8bec1937c9636c56a735d6da5
[ "MIT" ]
null
null
null
data_wrangling/quick_clean.py
bluetyson/encore.ai
83633c5d5fe9dcb8bec1937c9636c56a735d6da5
[ "MIT" ]
null
null
null
import os BASE_PATH = 'artists/2pac_(tupac)' for fn in os.listdir(BASE_PATH): with open(BASE_PATH + '/' + fn, 'r+') as f: really_clean = f.read().replace('\n', ' ') f.write(really_clean)
25.625
47
0.609756
32
205
3.71875
0.6875
0.201681
0
0
0
0
0
0
0
0
0
0.006135
0.204878
205
7
48
29.285714
0.723926
0
0
0
0
0
0.131313
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
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
0
0
0
0
0
0
0
2
b7c088bfcfcaff59d30ca4ac0c8d2b778c2f2306
582
py
Python
pyopenproject/business/post_service.py
webu/pyopenproject
40b2cb9fe0fa3f89bc0fe2a3be323422d9ecf966
[ "MIT" ]
5
2021-02-25T15:54:28.000Z
2021-04-22T15:43:36.000Z
pyopenproject/business/post_service.py
webu/pyopenproject
40b2cb9fe0fa3f89bc0fe2a3be323422d9ecf966
[ "MIT" ]
7
2021-03-15T16:26:23.000Z
2022-03-16T13:45:18.000Z
pyopenproject/business/post_service.py
webu/pyopenproject
40b2cb9fe0fa3f89bc0fe2a3be323422d9ecf966
[ "MIT" ]
6
2021-06-18T18:59:11.000Z
2022-03-27T04:58:52.000Z
from abc import ABCMeta, abstractmethod from pyopenproject.business.abstract_service import AbstractService class PostService(AbstractService): """ Class PostService, service for post endpoint """ __metaclass__ = ABCMeta def __init__(self, connection): super().__init__(connection) ...
24.25
84
0.743986
56
582
7.446429
0.535714
0.122302
0.148681
0.153477
0
0
0
0
0
0
0
0
0.187285
582
23
85
25.304348
0.881607
0.075601
0
0.25
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
b7d55b766b9f7f8ad3d580c99bc8906cfc21dc09
13,952
py
Python
day_15/day_15.py
JeroenMols/AdventOfCode2021
ed92162f03df8f281aa1a4fd90c21ca4ed8957a1
[ "MIT" ]
null
null
null
day_15/day_15.py
JeroenMols/AdventOfCode2021
ed92162f03df8f281aa1a4fd90c21ca4ed8957a1
[ "MIT" ]
null
null
null
day_15/day_15.py
JeroenMols/AdventOfCode2021
ed92162f03df8f281aa1a4fd90c21ca4ed8957a1
[ "MIT" ]
null
null
null
# --- Day 15: Chiton --- # You've almost reached the exit of the cave, but the walls are getting closer together. Your submarine can barely still fit, though; the main problem is that the walls of the cave are covered in chitons, and it would be best not to bump any of them. # # The cavern is large, but has a very low ...
40.55814
562
0.744696
1,450
13,952
7.088276
0.23931
0.014983
0.012843
0.008562
0.666375
0.625705
0.613543
0.580658
0.561977
0.546215
0
0.470547
0.187213
13,952
343
563
40.676385
0.435802
0.631737
0
0.169355
0
0
0.009877
0
0
0
0
0
0
1
0.080645
false
0
0.008065
0
0.201613
0.056452
0
0
0
null
0
0
0
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
0
0
0
0
0
0
0
2
b7d7140ab2aecd49e94963a30b7f408947a8a9ae
2,399
py
Python
randomForests.py
brunoedcf/Random-Forests
0ceea2e8fb4d71e70d13ffae7e96ab75c7874dfa
[ "MIT" ]
null
null
null
randomForests.py
brunoedcf/Random-Forests
0ceea2e8fb4d71e70d13ffae7e96ab75c7874dfa
[ "MIT" ]
null
null
null
randomForests.py
brunoedcf/Random-Forests
0ceea2e8fb4d71e70d13ffae7e96ab75c7874dfa
[ "MIT" ]
null
null
null
from os import terminal_size import pandas as pd import numpy as np from sklearn.ensemble import RandomForestClassifier from sklearn.model_selection import train_test_split from math import sqrt from yellowbrick.classifier import ConfusionMatrix from sklearn.metrics import accuracy_score, classification_report print("...
41.362069
154
0.7599
331
2,399
5.444109
0.462236
0.018313
0.015538
0.011099
0
0
0
0
0
0
0
0.015053
0.169237
2,399
58
155
41.362069
0.889112
0.410171
0
0
0
0
0.113734
0
0
0
0
0.017241
0
1
0
false
0
0.4
0
0.4
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
2
b7dbd01c65b0b61c9f2e3fa39e83bf7ff38ed875
1,063
py
Python
thinglang/lexer/definitions/tags.py
ofples/thinglang
b1391e8fb42d518fc0018400eecb608d18da915a
[ "MIT" ]
5
2017-11-07T21:32:22.000Z
2019-06-30T18:35:17.000Z
thinglang/lexer/definitions/tags.py
ofples/thinglang
b1391e8fb42d518fc0018400eecb608d18da915a
[ "MIT" ]
null
null
null
thinglang/lexer/definitions/tags.py
ofples/thinglang
b1391e8fb42d518fc0018400eecb608d18da915a
[ "MIT" ]
1
2020-03-25T18:14:08.000Z
2020-03-25T18:14:08.000Z
from thinglang.lexer.lexical_token import LexicalToken class LexicalDeclarationConstructor(LexicalToken): """ Declares a constructor. Examples: setup setup with number size """ class LexicalDeclarationStatic(LexicalToken): """ Tags a definition as static. Examples: ...
18.327586
57
0.66698
106
1,063
6.660377
0.584906
0.113314
0.120397
0.097734
0.067989
0
0
0
0
0
0
0
0.257761
1,063
58
58
18.327586
0.894804
0.4619
0
0
0
0
0
0
0
0
0
0.017241
0
1
0
true
0
0.125
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
1
0
0
0
0
0
0
2
b7e144f5f5c23efb0356b9181abbc28692e3286e
2,651
py
Python
O4/_22_feature_scaling/doc.py
ShAlireza/ML-Tries
4516be7a3275c9bdedd7bd258800be384b6b34f0
[ "MIT" ]
null
null
null
O4/_22_feature_scaling/doc.py
ShAlireza/ML-Tries
4516be7a3275c9bdedd7bd258800be384b6b34f0
[ "MIT" ]
null
null
null
O4/_22_feature_scaling/doc.py
ShAlireza/ML-Tries
4516be7a3275c9bdedd7bd258800be384b6b34f0
[ "MIT" ]
null
null
null
""" Feature scaling is a crucial step in our preprocessing pipeline that can easily be forgotten. Decision trees and random forests are two of the very few machine learning algorithms where we don't need to worry about feature scaling. Those algorithms are scale invariant. However, the majority of ...
53.02
78
0.750283
413
2,651
4.815981
0.474576
0.004022
0.024133
0.019105
0.032177
0.032177
0.032177
0.032177
0.032177
0
0
0.007689
0.215013
2,651
49
79
54.102041
0.948102
0.940023
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
b7e5ca49be5665691bf59581282fd7e244675d3b
2,602
py
Python
tests/aggregation/data_zbs.py
Toloka/crowd-kit
126942242781073235ca292aed9f496b614e9516
[ "Apache-2.0" ]
91
2021-03-02T19:29:04.000Z
2022-03-24T15:25:06.000Z
tests/aggregation/data_zbs.py
Toloka/crowd-kit
126942242781073235ca292aed9f496b614e9516
[ "Apache-2.0" ]
5
2021-07-01T07:24:08.000Z
2021-09-19T19:15:40.000Z
tests/aggregation/data_zbs.py
Toloka/crowd-kit
126942242781073235ca292aed9f496b614e9516
[ "Apache-2.0" ]
6
2021-05-21T12:40:29.000Z
2022-03-28T06:23:24.000Z
import pandas as pd import pytest # Wawa on toy YSDA @pytest.fixture def toy_labels_result_zbs(): return pd.Series( ['no', 'yes', 'no', 'yes', 'no'], index=pd.Index(['t1', 't2', 't3', 't4', 't5'], name='task'), name='agg_label' ) @pytest.fixture def toy_skills_result_zbs(): retu...
27.680851
73
0.564181
284
2,602
5.052817
0.292254
0.041812
0.037631
0.027875
0.24669
0.174913
0.152613
0.147735
0.094774
0.08223
0
0.299679
0.280553
2,602
93
74
27.978495
0.46688
0.006149
0
0.291139
0
0
0.26161
0.213622
0
0
0
0
0
1
0.075949
false
0
0.025316
0.037975
0.177215
0
0
0
0
null
0
0
0
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
0
0
0
0
0
0
0
2
b7f1584a4f5a4d2f3f3a8e7c6420fb0bbcee33c0
8,374
py
Python
src/ui_elements/passwordbuttons2.py
AndreWohnsland/CocktailBerry
60b2dfc3a4a6f3ef9ab2d946a97d14829e575a9d
[ "MIT" ]
1
2022-03-06T23:50:34.000Z
2022-03-06T23:50:34.000Z
src/ui_elements/passwordbuttons2.py
AndreWohnsland/CocktailBerry
60b2dfc3a4a6f3ef9ab2d946a97d14829e575a9d
[ "MIT" ]
4
2022-03-03T11:16:17.000Z
2022-03-20T15:53:37.000Z
src/ui_elements/passwordbuttons2.py
AndreWohnsland/CocktailBerry
60b2dfc3a4a6f3ef9ab2d946a97d14829e575a9d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file '.\passwordbuttons2.ui' # # Created by: PyQt5 UI code generator 5.15.6 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless you know what you are doing. from PyQt5 import Q...
41.87
91
0.653571
920
8,374
5.917391
0.153261
0.058597
0.064291
0.073475
0.317046
0.311536
0.230345
0.2241
0.2241
0.2241
0
0.063312
0.219131
8,374
199
92
42.080402
0.769231
0.033795
0
0.300546
1
0
0.054064
0
0
0
0
0
0
1
0.010929
false
0.256831
0.010929
0
0.027322
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
b7f43ba65b5a14168fff567f9c72d7bc5b68fbb9
2,208
py
Python
setup.py
SpazioDati/csvkit
96c2ab1fb6fc22eb34a6d8457e3101e9702a5498
[ "MIT" ]
3
2016-05-16T13:35:03.000Z
2020-02-13T04:19:14.000Z
setup.py
SpazioDati/csvkit
96c2ab1fb6fc22eb34a6d8457e3101e9702a5498
[ "MIT" ]
null
null
null
setup.py
SpazioDati/csvkit
96c2ab1fb6fc22eb34a6d8457e3101e9702a5498
[ "MIT" ]
null
null
null
#!/usr/bin/env python from setuptools import setup setup( name='csvkit', version='0.5.0', description='A library of utilities for working with CSV, the king of tabular file formats.', long_description=open('README').read(), author='Christopher Groskopf', author_email='staringmonkey@gmail.com',...
38.068966
97
0.618207
223
2,208
5.991031
0.502242
0.145958
0.152695
0
0
0
0
0
0
0
0
0.016918
0.250453
2,208
57
98
38.736842
0.790332
0.009058
0
0.037037
0
0
0.648377
0.260631
0
0
0
0
0
1
0
true
0
0.018519
0
0.018519
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
b7f857ba022cd1122d43b02dcfa33b041c4e9659
246
py
Python
ch_05/task6.py
berchev/python_learning
5b99065cade53c64b4ede3d0e583c58573ca654c
[ "MIT" ]
null
null
null
ch_05/task6.py
berchev/python_learning
5b99065cade53c64b4ede3d0e583c58573ca654c
[ "MIT" ]
null
null
null
ch_05/task6.py
berchev/python_learning
5b99065cade53c64b4ede3d0e583c58573ca654c
[ "MIT" ]
null
null
null
#!/usr/bin/env python a = int(input('Enter digit value: ')) b = int(input('Enter digit value: ')) def different(a:int, b:int) ->bool: """ :param a: int :param b: int :return: bool """ return a != b print(different(a,b))
17.571429
37
0.565041
38
246
3.657895
0.447368
0.086331
0.18705
0.258993
0.330935
0
0
0
0
0
0
0
0.239837
246
13
38
18.923077
0.743316
0.252033
0
0
0
0
0.2375
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
0.2
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b7f88cfba6af095235e2245005737bcd7ea59a34
5,628
py
Python
bert/wtfml/cross_validation/fold_generator.py
jphacks/C_2111
df87580614d7e5c225ea30746e5f2cd0576bbc98
[ "MIT" ]
1
2021-10-19T07:10:16.000Z
2021-10-19T07:10:16.000Z
bert/wtfml/cross_validation/fold_generator.py
jphacks/C_2111
df87580614d7e5c225ea30746e5f2cd0576bbc98
[ "MIT" ]
null
null
null
bert/wtfml/cross_validation/fold_generator.py
jphacks/C_2111
df87580614d7e5c225ea30746e5f2cd0576bbc98
[ "MIT" ]
null
null
null
from typing import Optional, Tuple, Union import numpy as np import pandas as pd import scipy as sp from sklearn import model_selection class FoldGenerator: """ pd.DataFrameをn_split文だけ分割する、class """ def __init__( self, targets: Union[pd.DataFrame, pd.Series], ...
41.080292
85
0.50924
573
5,628
4.841187
0.157068
0.144196
0.196828
0.130137
0.697909
0.633381
0.633381
0.633381
0.633381
0.633381
0
0.00307
0.363362
5,628
136
86
41.382353
0.771142
0.005864
0
0.569106
0
0
0.107661
0.032335
0
0
0
0
0
1
0.01626
false
0
0.04065
0
0.113821
0
0
0
0
null
0
1
0
0
0
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
0
0
0
0
0
0
0
0
2
4d11aadc47b12023ede028b137c2fc10391e005b
47,121
py
Python
autotest/osr/osr_esri.py
oss-qm/gdal
bec8aaf79c337fc6ac3a6f18d66b320e48904854
[ "MIT" ]
null
null
null
autotest/osr/osr_esri.py
oss-qm/gdal
bec8aaf79c337fc6ac3a6f18d66b320e48904854
[ "MIT" ]
null
null
null
autotest/osr/osr_esri.py
oss-qm/gdal
bec8aaf79c337fc6ac3a6f18d66b320e48904854
[ "MIT" ]
null
null
null
#!/usr/bin/env pytest # -*- coding: utf-8 -*- ############################################################################### # $Id$ # # Project: GDAL/OGR Test Suite # Purpose: Test some ESRI specific translation issues. # Author: Frank Warmerdam <warmerdam@pobox.com> # #############################################...
45.308654
596
0.623756
5,419
47,121
5.243403
0.120871
0.008376
0.017421
0.035159
0.70592
0.644753
0.604174
0.581967
0.556521
0.532519
0
0.105381
0.174933
47,121
1,039
597
45.352262
0.625469
0.088432
0
0.582596
0
0.054572
0.663986
0.459748
0
0
0
0
0.050147
1
0.044248
false
0
0.030973
0
0.078171
0.072271
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4d178dadb84ac9dc06cee8b504da22cc25ae2611
559
py
Python
DQM/Physics/python/qcdHighPtDQM_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
DQM/Physics/python/qcdHighPtDQM_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
DQM/Physics/python/qcdHighPtDQM_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
import FWCore.ParameterSet.Config as cms from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer qcdHighPtDQM = DQMEDAnalyzer('QcdHighPtDQM', jetTag = cms.untracked.InputTag("ak4CaloJets"), metTag1 = cms.untracked.InputTag("met"), ...
46.583333
84
0.522361
40
559
7.3
0.575
0.205479
0.342466
0
0
0
0
0
0
0
0
0.014663
0.389982
559
11
85
50.818182
0.841642
0
0
0
0
0
0.084229
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4d2c2d7f884858e0b37b57c21cf152ba9f4dd117
600
py
Python
cv/daemon/thread_generics.py
ElectroMagneticInterference/frc2022-cv
0c5fb99d5b04e2261cf81af066a0ab632ee719b4
[ "MIT" ]
null
null
null
cv/daemon/thread_generics.py
ElectroMagneticInterference/frc2022-cv
0c5fb99d5b04e2261cf81af066a0ab632ee719b4
[ "MIT" ]
null
null
null
cv/daemon/thread_generics.py
ElectroMagneticInterference/frc2022-cv
0c5fb99d5b04e2261cf81af066a0ab632ee719b4
[ "MIT" ]
null
null
null
class killable: alive = True def stop(self): self.alive = False class freezable: frozen = False def toggle_freeze(self): self.frozen = not self.frozen def freeze(self): self.frozen = True def unfreeze(self): self.frozen = False from logging import Logger ...
17.647059
73
0.54
76
600
4.118421
0.381579
0.102236
0.134185
0.127796
0
0
0
0
0
0
0
0
0.325
600
33
74
18.181818
0.77284
0
0
0
0
0
0.041667
0
0
0
0
0
0
1
0.238095
false
0
0.047619
0
0.52381
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
4d2cf71885d434dfd3b019e36686d668c5a87343
5,306
py
Python
TACT/computation/methods/GSFc.py
CFARS/TACT
1b2bbf1f9d0a45cff232ec447286419faac66b58
[ "BSD-3-Clause" ]
1
2022-03-23T11:50:53.000Z
2022-03-23T11:50:53.000Z
TACT/computation/methods/GSFc.py
CFARS/TACT
1b2bbf1f9d0a45cff232ec447286419faac66b58
[ "BSD-3-Clause" ]
4
2021-12-18T04:01:41.000Z
2022-03-10T16:13:18.000Z
TACT/computation/methods/GSFc.py
CFARS/TACT
1b2bbf1f9d0a45cff232ec447286419faac66b58
[ "BSD-3-Clause" ]
null
null
null
import numpy as np import pandas as pd from TACT.computation.adjustments import Adjustments, empirical_stdAdjustment def perform_G_SFc_adjustment(inputdata): """ simple filtered regression results from phase 2 averages used """ results = pd.DataFrame( columns=[ "sensor", ...
40.503817
86
0.535432
626
5,306
4.196486
0.107029
0.119909
0.076132
0.137038
0.728588
0.713742
0.669966
0.669966
0.663875
0.610963
0
0.023691
0.355635
5,306
130
87
40.815385
0.744662
0.011496
0
0.45082
0
0
0.173647
0
0
0
0
0
0
1
0.008197
false
0
0.02459
0
0.040984
0
0
0
0
null
0
0
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
0
0
0
0
0
0
0
0
2
4d3b9dcfa2f78d209e6dfedd5f47ebbc2f3fca9d
3,164
py
Python
acs/commands/oms.py
keikhara/acs-cli
d8c916ca269d17a9df35727f6fe1e2a60b1ea513
[ "Apache-2.0" ]
null
null
null
acs/commands/oms.py
keikhara/acs-cli
d8c916ca269d17a9df35727f6fe1e2a60b1ea513
[ "Apache-2.0" ]
null
null
null
acs/commands/oms.py
keikhara/acs-cli
d8c916ca269d17a9df35727f6fe1e2a60b1ea513
[ "Apache-2.0" ]
null
null
null
""" Add the [OMS](https://blogs.technet.microsoft.com/momteam/2015/11/03/announcing-linux-docker-container-management-with-oms/) monitoring solution to the cluster. Visit http://mms.microsoft.com and sign up for a free OMS account. Then click "Settings" and then "Connected Sources". You will need to copy your Workspac...
34.021505
299
0.669722
443
3,164
4.742664
0.428894
0.023322
0.030462
0.022846
0.191813
0.131842
0.131842
0.131842
0.090909
0.090909
0
0.018593
0.218078
3,164
92
300
34.391304
0.830639
0.038559
0
0.071429
0
0.119048
0.385227
0.125292
0
0
0
0.01087
0
0
null
null
0
0.095238
null
null
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
2
4d4de03adec933dea142ae637d7665b1954e4102
780
py
Python
libs/tagging/forms.py
masiqi/django_blog
d6403688171b98d2ac1833eccd05c42c402bf9eb
[ "MIT" ]
4
2016-05-08T06:07:50.000Z
2021-11-21T19:41:40.000Z
libs/tagging/forms.py
masiqi/django_blog
d6403688171b98d2ac1833eccd05c42c402bf9eb
[ "MIT" ]
null
null
null
libs/tagging/forms.py
masiqi/django_blog
d6403688171b98d2ac1833eccd05c42c402bf9eb
[ "MIT" ]
3
2017-07-09T02:14:54.000Z
2021-07-13T19:16:59.000Z
""" Tagging components for Django's ``newforms`` form library. """ from django import forms from django.utils.translation import ugettext as _ from tagging import settings from tagging.models import Tag from tagging.validators import is_tag, is_tag_list from tagging.utils import parse_tag_input class AdminTagForm(for...
25.16129
69
0.671795
103
780
4.980583
0.475728
0.08577
0.035088
0
0
0
0
0
0
0
0
0
0.241026
780
30
70
26
0.866554
0.173077
0
0
0
0
0.006472
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
4d514f80ece1c5699610bae1228569ebe3a5fcf3
11,995
py
Python
research/object_detection/protos/sssfd_pb2.py
jaehobang/tensorflow_models
427778e44fd134287b2fe41eb070379dc3d6b446
[ "Apache-2.0" ]
null
null
null
research/object_detection/protos/sssfd_pb2.py
jaehobang/tensorflow_models
427778e44fd134287b2fe41eb070379dc3d6b446
[ "Apache-2.0" ]
null
null
null
research/object_detection/protos/sssfd_pb2.py
jaehobang/tensorflow_models
427778e44fd134287b2fe41eb070379dc3d6b446
[ "Apache-2.0" ]
null
null
null
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: object_detection/protos/sssfd.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf impor...
61.829897
1,772
0.799
1,659
11,995
5.365883
0.119952
0.129746
0.117951
0.072793
0.677825
0.622332
0.521007
0.44035
0.345316
0.326444
0
0.038426
0.099625
11,995
193
1,773
62.150259
0.785833
0.020092
0
0.477011
1
0.017241
0.14794
0.12649
0
0
0
0
0
1
0
false
0
0.086207
0
0.086207
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4d550f16730e0cb94c953005bcbb84caedea8bb4
34,612
py
Python
pysnmp/ES1000-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/ES1000-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/ES1000-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module ES1000-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ES1000-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 18:52:10 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:...
148.549356
4,950
0.734341
4,372
34,612
5.795974
0.071821
0.01689
0.014444
0.019258
0.497948
0.47277
0.404538
0.375888
0.364878
0.341752
0
0.107589
0.093956
34,612
232
4,951
149.189655
0.700446
0.009072
0
0
0
0
0.11753
0.020648
0
0
0
0
0
1
0
false
0.004444
0.031111
0
0.031111
0
0
0
0
null
0
0
0
0
0
0
0
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
2
4d6238337de79b1531265b701ecd616e823e93fd
149
py
Python
api/pagination.py
bassamalasadi/bookstore
9b80044efd9179704770422cc34b55059c6fef21
[ "MIT" ]
null
null
null
api/pagination.py
bassamalasadi/bookstore
9b80044efd9179704770422cc34b55059c6fef21
[ "MIT" ]
null
null
null
api/pagination.py
bassamalasadi/bookstore
9b80044efd9179704770422cc34b55059c6fef21
[ "MIT" ]
null
null
null
from rest_framework.pagination import LimitOffsetPagination class SmallPagination(LimitOffsetPagination): default_limit = 12 max_limit = 20
24.833333
59
0.818792
15
149
7.933333
0.866667
0
0
0
0
0
0
0
0
0
0
0.03125
0.14094
149
5
60
29.8
0.898438
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4d675f605160df1da4e035ddc8b2f5bc6c1abaa9
5,626
py
Python
src/robot/result/testsuite.py
ldtri0209/robotframework
6bc11a350cbaf5d0801cc5431f32cc1435bb65df
[ "ECL-2.0", "Apache-2.0" ]
4
2016-01-13T13:48:28.000Z
2021-09-05T07:14:07.000Z
src/robot/result/testsuite.py
ldtri0209/robotframework
6bc11a350cbaf5d0801cc5431f32cc1435bb65df
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/robot/result/testsuite.py
ldtri0209/robotframework
6bc11a350cbaf5d0801cc5431f32cc1435bb65df
[ "ECL-2.0", "Apache-2.0" ]
2
2018-01-18T22:00:17.000Z
2018-07-26T10:53:00.000Z
# Copyright 2008-2014 Nokia Solutions and Networks # # 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 l...
37.013158
94
0.644152
660
5,626
5.418182
0.35
0.021532
0.012584
0.008949
0.084452
0.041946
0.041946
0.041946
0.041946
0.041946
0
0.00288
0.259332
5,626
151
95
37.258278
0.855292
0.451298
0
0.138462
0
0
0.036691
0
0
0
0
0
0
1
0.215385
false
0.030769
0.138462
0
0.569231
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
4d709490c15e79c984bd4be1b5671fcdeca089ea
77
py
Python
src/__init__.py
Solcast/netcdf-tiff
3a23d8ad92eb6847db7fdc82ac21e112880b0df5
[ "MIT" ]
13
2018-03-26T13:28:14.000Z
2021-08-24T02:06:45.000Z
src/__init__.py
Solcast/netcdf-tiff
3a23d8ad92eb6847db7fdc82ac21e112880b0df5
[ "MIT" ]
1
2019-04-09T08:17:14.000Z
2019-04-10T04:23:59.000Z
src/__init__.py
Solcast/netcdf-tiff
3a23d8ad92eb6847db7fdc82ac21e112880b0df5
[ "MIT" ]
null
null
null
__author__ = 'Solcast' __package__ = 'Satellite NETCDF - GeoTIFF Extraction'
25.666667
53
0.779221
7
77
7.428571
1
0
0
0
0
0
0
0
0
0
0
0
0.12987
77
2
54
38.5
0.776119
0
0
0
0
0
0.571429
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4d789e03ac05d3257ea8e072b65711f69d112a9e
373
py
Python
py101/bubblesort.py
fernandozamoraj/py_sandbox
f87dd63ba04cb3cf362c53828df1a571527cceaa
[ "Apache-2.0" ]
null
null
null
py101/bubblesort.py
fernandozamoraj/py_sandbox
f87dd63ba04cb3cf362c53828df1a571527cceaa
[ "Apache-2.0" ]
null
null
null
py101/bubblesort.py
fernandozamoraj/py_sandbox
f87dd63ba04cb3cf362c53828df1a571527cceaa
[ "Apache-2.0" ]
null
null
null
mylist = [1,5,8,23,5,8,7,1] swap_c = 0 for i in range(0, len(mylist)): for j in range(0, len(mylist)-i-1): swap_c += 1 if(mylist[j] > mylist[j+1]): mylist[j], mylist[j+1] = mylist[j+1], mylist[j] #swap_c += 1 print(mylist) ...
28.692308
64
0.442359
59
373
2.728814
0.322034
0.26087
0.149068
0.26087
0.490683
0.229814
0.229814
0
0
0
0
0.082969
0.386059
373
13
65
28.692308
0.620087
0.029491
0
0
0
0
0.042857
0
0
0
0
0
0
1
0
false
0
0
0
0
0.222222
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4d811a525fface800c17505bf474736ecbf16ea1
3,517
py
Python
alcazar/crawler.py
jayvdb/alcazar
4dd1bd2e960a0527fe375c748063b5f07dad6c19
[ "MIT" ]
null
null
null
alcazar/crawler.py
jayvdb/alcazar
4dd1bd2e960a0527fe375c748063b5f07dad6c19
[ "MIT" ]
null
null
null
alcazar/crawler.py
jayvdb/alcazar
4dd1bd2e960a0527fe375c748063b5f07dad6c19
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- #---------------------------------------------------------------------------------------------------------------------------------- # includes # 2+3 compat from __future__ import absolute_import, division, print_function, unicode_literals # alcazar from .scraper import S...
33.179245
131
0.557862
390
3,517
4.9
0.417949
0.040816
0.029304
0.031397
0.052329
0.030351
0
0
0
0
0
0.001461
0.221496
3,517
105
132
33.495238
0.696494
0.43702
0
0.264151
0
0
0
0
0
0
0
0
0
1
0.320755
false
0.056604
0.037736
0.056604
0.471698
0.018868
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
4d89fcbf15e79ed252540bd107dc58ec77f5442e
18,099
py
Python
pysnmp/MY-ENTITY-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/MY-ENTITY-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/MY-ENTITY-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module MY-ENTITY-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/MY-ENTITY-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 20:06:30 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 201...
128.361702
2,437
0.746726
2,075
18,099
6.512289
0.096386
0.010508
0.013765
0.017169
0.387405
0.331829
0.290387
0.285577
0.247835
0.237697
0
0.082868
0.089231
18,099
140
2,438
129.278571
0.736896
0.017681
0
0.083333
0
0
0.174676
0.031626
0
0
0
0
0
1
0
false
0
0.05303
0
0.05303
0
0
0
0
null
0
0
0
0
0
0
0
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
2
4d8ef57dee845ae42224a339fe2999d740d2b5ee
1,625
py
Python
piwallcontroller/config.py
GunnarHolwerda/PiWallGuiController
cc90e5f6fd6f13fdfdcabcc8e6b195bf01cb440f
[ "MIT" ]
5
2017-03-29T20:44:42.000Z
2020-06-26T23:11:34.000Z
piwallcontroller/config.py
GunnarHolwerda/PiWallGuiController
cc90e5f6fd6f13fdfdcabcc8e6b195bf01cb440f
[ "MIT" ]
null
null
null
piwallcontroller/config.py
GunnarHolwerda/PiWallGuiController
cc90e5f6fd6f13fdfdcabcc8e6b195bf01cb440f
[ "MIT" ]
1
2021-03-08T14:57:09.000Z
2021-03-08T14:57:09.000Z
""" File holding PiWall Config class """ from os.path import dirname, abspath BASE_PATH = dirname(dirname(abspath(__file__))) + "/" VIDEO_PATH = BASE_PATH + "videos/" class Config: """ Class to represent all configs for the current PiWall """ @staticmethod def load_tiles(): """ ...
25.390625
63
0.592615
194
1,625
4.85567
0.268041
0.079618
0.110403
0.127389
0.347134
0.304671
0.217622
0
0
0
0
0.000916
0.328
1,625
63
64
25.793651
0.861722
0.36
0
0.375
0
0
0.042998
0
0
0
0
0
0
1
0.208333
false
0
0.25
0
0.708333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
4d9f681f4628ab158c88c0ae72e29ae8c957b5a7
274
py
Python
momba/utils/__init__.py
koehlma/momba
68d6431d2732570696d3c67a9e23006e6e3a7740
[ "MIT" ]
12
2021-01-18T14:38:32.000Z
2022-01-17T09:16:52.000Z
momba/utils/__init__.py
koehlma/momba
68d6431d2732570696d3c67a9e23006e6e3a7740
[ "MIT" ]
3
2021-05-16T15:26:34.000Z
2022-02-21T20:46:55.000Z
momba/utils/__init__.py
koehlma/momba
68d6431d2732570696d3c67a9e23006e6e3a7740
[ "MIT" ]
null
null
null
# -*- coding:utf-8 -*- # # Copyright (C) 2019-2020, Maximilian Köhl <koehl@cs.uni-saarland.de> from __future__ import annotations from . import checks from .cache import lru_cache from .clstools import get_subclasses __all__ = ["checks", "lru_cache", "get_subclasses"]
19.571429
69
0.733577
37
274
5.108108
0.675676
0.084656
0
0
0
0
0
0
0
0
0
0.038136
0.138686
274
13
70
21.076923
0.762712
0.321168
0
0
0
0
0.159341
0
0
0
0
0
0
1
0
false
0
0.8
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
4da4ff9df2f0b347780f45be4a4a472d5b51c938
340
py
Python
30DoC/02_IntroToConditionalStatements.py
PsiPhiTheta/HackerRank
fafbed5ae4f6f134666796b91640901eda79de30
[ "Unlicense" ]
null
null
null
30DoC/02_IntroToConditionalStatements.py
PsiPhiTheta/HackerRank
fafbed5ae4f6f134666796b91640901eda79de30
[ "Unlicense" ]
null
null
null
30DoC/02_IntroToConditionalStatements.py
PsiPhiTheta/HackerRank
fafbed5ae4f6f134666796b91640901eda79de30
[ "Unlicense" ]
null
null
null
#!/bin/python3 import math import os import random import re import sys if __name__ == '__main__': N = int(input()) if N % 2 == 0: if N < 5: print("Not Weird") if N > 20: print("Not Weird") if N > 5 and N < 21: print("Weird") if N % 2 == 1: ...
15.454545
30
0.467647
48
340
3.145833
0.5
0.099338
0.15894
0.198676
0.211921
0
0
0
0
0
0
0.053922
0.4
340
21
31
16.190476
0.686275
0.038235
0
0.25
0
0
0.110429
0
0
0
0
0
0
1
0
false
0
0.3125
0
0.3125
0.25
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
4dc6edd73c27bb69f5d0d44ea3e7ecc6ccc505c2
304
py
Python
docs/conf.py
kianmeng/sphinx-autobuild
1eb7d7746b773f515de64f1bd83c14bccca8a1ef
[ "MIT" ]
264
2015-01-05T22:51:53.000Z
2020-08-24T11:17:27.000Z
docs/conf.py
kianmeng/sphinx-autobuild
1eb7d7746b773f515de64f1bd83c14bccca8a1ef
[ "MIT" ]
67
2015-01-05T00:53:43.000Z
2020-08-28T09:13:55.000Z
docs/conf.py
kianmeng/sphinx-autobuild
1eb7d7746b773f515de64f1bd83c14bccca8a1ef
[ "MIT" ]
55
2015-01-19T05:03:19.000Z
2020-08-18T05:55:14.000Z
# Configuration file for the Sphinx documentation builder. # # Full list of options can be found in the Sphinx documentation: # https://www.sphinx-doc.org/en/master/usage/configuration.html # # -- Project information ----------------------------------------------------- # project = "sphinx-autobuild"
27.636364
78
0.625
33
304
5.757576
0.787879
0.094737
0.231579
0
0
0
0
0
0
0
0
0
0.115132
304
10
79
30.4
0.70632
0.848684
0
0
0
0
0.421053
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4dd1678f6b2eb3c53f9d97692c3f105d3b2917da
133
py
Python
chapter_05_mathematics/section_5_1_decimal/5_7_decimal_precision.py
wuxiaofeng8764/P3SL_Example
8ce1877af7372211b20836f799a8c44679577b7c
[ "MIT" ]
3
2018-08-14T09:33:52.000Z
2022-03-21T12:31:58.000Z
chapter_05_mathematics/section_5_1_decimal/5_7_decimal_precision.py
wuxiaofeng8764/P3SL_Example
8ce1877af7372211b20836f799a8c44679577b7c
[ "MIT" ]
null
null
null
chapter_05_mathematics/section_5_1_decimal/5_7_decimal_precision.py
wuxiaofeng8764/P3SL_Example
8ce1877af7372211b20836f799a8c44679577b7c
[ "MIT" ]
null
null
null
import decimal d = decimal.Decimal('0.123456') for i in range(1, 5): decimal.getcontext().prec = i print(i, ':', d, d * 1)
16.625
33
0.593985
22
133
3.590909
0.636364
0
0
0
0
0
0
0
0
0
0
0.096154
0.218045
133
7
34
19
0.663462
0
0
0
0
0
0.067669
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4def83f04cec4551b81ca83fb5e49d4d8b830ad4
5,337
py
Python
src/facebook_utils/exceptions.py
jvanasco/facebook_utils
38d76e696fe0c0cf5b6ced51a8d15afc9020c004
[ "BSD-3-Clause" ]
5
2015-05-18T17:13:29.000Z
2019-12-12T22:21:47.000Z
src/facebook_utils/exceptions.py
jvanasco/facebook_utils
38d76e696fe0c0cf5b6ced51a8d15afc9020c004
[ "BSD-3-Clause" ]
4
2015-03-20T16:06:31.000Z
2019-05-03T09:14:05.000Z
src/facebook_utils/exceptions.py
jvanasco/facebook_utils
38d76e696fe0c0cf5b6ced51a8d15afc9020c004
[ "BSD-3-Clause" ]
3
2015-03-19T08:26:54.000Z
2017-10-09T03:55:09.000Z
# stdlib import datetime # pypi from six import text_type # ============================================================================== class ApiError(Exception): """ Base class for handling the Facebook API errors. """ code = None type = None message = None response = None rais...
27.091371
477
0.633502
641
5,337
5.237129
0.366615
0.02681
0.016682
0.017873
0.185284
0.185284
0.159368
0.128984
0.115579
0.103068
0
0.00768
0.268128
5,337
196
478
27.229592
0.851767
0.611954
0
0.245283
0
0
0.057458
0.012768
0
0
0
0
0
1
0.09434
false
0.207547
0.037736
0.037736
0.54717
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
151a50c137a82a734a392c7aec16e0e1137a9573
319
py
Python
aops/account/urls/language.py
spunkmars/django-aops
0522f86301ce67e7d3b71362144da5303bdddc7f
[ "BSD-3-Clause" ]
26
2016-10-01T15:20:21.000Z
2021-02-02T17:28:37.000Z
aops/account/urls/language.py
Paul-Pcd/django-aops
0522f86301ce67e7d3b71362144da5303bdddc7f
[ "BSD-3-Clause" ]
null
null
null
aops/account/urls/language.py
Paul-Pcd/django-aops
0522f86301ce67e7d3b71362144da5303bdddc7f
[ "BSD-3-Clause" ]
27
2016-09-24T14:20:50.000Z
2022-03-23T03:48:13.000Z
#coding=utf-8 from django.conf.urls import patterns, url, include from account.views import language urlpatterns = patterns('', url(r'^$', language.list_language, name='all_lang'), url(r'list/$', language.list_language, name='list_lang'), url(r'select/$', language.select_language, name='select_lang'), )
29
67
0.714734
44
319
5.045455
0.477273
0.054054
0.18018
0.216216
0
0
0
0
0
0
0
0.003559
0.119122
319
10
68
31.9
0.786477
0.037618
0
0
0
0
0.143791
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
151c5a192ab4e0f87030be8b22006b6b26fdadb6
7,976
py
Python
test/test_text_pair.py
skirdey/FARM
2fc801d1d0c973cb36bc867907d4250d1084493b
[ "Apache-2.0" ]
1,551
2019-07-17T18:21:08.000Z
2022-03-24T18:09:07.000Z
test/test_text_pair.py
skirdey/FARM
2fc801d1d0c973cb36bc867907d4250d1084493b
[ "Apache-2.0" ]
555
2019-07-23T09:00:54.000Z
2022-03-31T15:31:06.000Z
test/test_text_pair.py
skirdey/FARM
2fc801d1d0c973cb36bc867907d4250d1084493b
[ "Apache-2.0" ]
259
2019-07-22T08:12:01.000Z
2022-03-26T09:41:00.000Z
# fmt: off import logging from pathlib import Path import numpy as np from farm.data_handler.data_silo import DataSilo from farm.data_handler.processor import TextPairClassificationProcessor, TextPairRegressionProcessor from farm.experiment import initialize_optimizer from farm.infer import Inferencer from farm.model...
38.346154
219
0.606946
877
7,976
5.285063
0.251995
0.018986
0.022006
0.01165
0.697519
0.697519
0.697519
0.684142
0.684142
0.637756
0
0.024577
0.296013
7,976
207
220
38.531401
0.80089
0.077357
0
0.766667
0
0.013333
0.13666
0.034234
0
0
0
0
0.033333
1
0.02
false
0
0.086667
0
0.106667
0
0
0
0
null
0
0
0
0
0
0
0
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
2
12771f19e679d06fc9461c7232afd7335fc58060
723
py
Python
project/version1/api.py
AristodamusAdairs/ATM-Software
ef3d8875a28bc611d9c3ba5c8e53e05e1306eac9
[ "MIT" ]
null
null
null
project/version1/api.py
AristodamusAdairs/ATM-Software
ef3d8875a28bc611d9c3ba5c8e53e05e1306eac9
[ "MIT" ]
null
null
null
project/version1/api.py
AristodamusAdairs/ATM-Software
ef3d8875a28bc611d9c3ba5c8e53e05e1306eac9
[ "MIT" ]
null
null
null
# version1/api.py from tastypie.resources import ModelResource from version1.models import Cash_Withdrawl, Cash_Transfer, Services, ATM_Card class CashWithdrawalResource(ModelResource): class Meta: queryset = Cash_Withdrawl.objects.filter(rescode=2) resource_name = 'cashwithdrawal' class CashTransferResource(Mod...
30.125
77
0.788382
81
723
6.888889
0.481481
0.129032
0.157706
0.215054
0.283154
0.222222
0.222222
0.222222
0.222222
0
0
0.010989
0.118949
723
24
78
30.125
0.864992
0.020747
0
0.210526
0
0
0.076379
0
0
0
0
0
0
1
0
false
0
0.105263
0
0.526316
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
1287a550343d7d2ef8af871cff4f49a237b0270a
1,750
py
Python
src/course/migrations/0023_auto_20210115_1332.py
cbsBiram/xarala__ssr
863e1362c786daa752b942b796f7a015211d2f1b
[ "FSFAP" ]
null
null
null
src/course/migrations/0023_auto_20210115_1332.py
cbsBiram/xarala__ssr
863e1362c786daa752b942b796f7a015211d2f1b
[ "FSFAP" ]
null
null
null
src/course/migrations/0023_auto_20210115_1332.py
cbsBiram/xarala__ssr
863e1362c786daa752b942b796f7a015211d2f1b
[ "FSFAP" ]
null
null
null
# Generated by Django 3.1.5 on 2021-01-15 13:32 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("course", "0022_auto_20201107_1101"), ] operations = [ migrations.RenameField( model_name="course", old_name="origina...
27.777778
85
0.495429
140
1,750
6.028571
0.528571
0.095972
0.159953
0.180095
0.329384
0.329384
0
0
0
0
0
0.031776
0.388571
1,750
62
86
28.225806
0.757009
0.025714
0
0.464286
1
0
0.195537
0.013506
0
0
0
0
0
1
0
false
0
0.017857
0
0.071429
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
128e55ce94754acee18c6cc7dbbde5f0a69101e8
3,151
py
Python
test/setups/custom/sinq_amor_movable.py
ebadkamil/nicos
0355a970d627aae170c93292f08f95759c97f3b5
[ "CC-BY-3.0", "Apache-2.0", "CC-BY-4.0" ]
12
2019-11-06T15:40:36.000Z
2022-01-01T16:23:00.000Z
test/setups/custom/sinq_amor_movable.py
ebadkamil/nicos
0355a970d627aae170c93292f08f95759c97f3b5
[ "CC-BY-3.0", "Apache-2.0", "CC-BY-4.0" ]
91
2020-08-18T09:20:26.000Z
2022-02-01T11:07:14.000Z
test/setups/custom/sinq_amor_movable.py
ISISComputingGroup/nicos
94cb4d172815919481f8c6ee686f21ebb76f2068
[ "CC-BY-3.0", "Apache-2.0", "CC-BY-4.0" ]
6
2020-01-11T10:52:30.000Z
2022-02-25T12:35:23.000Z
description = 'Device to be tested in the SINQ_AMOR.' def create_epics_motor(controller_id, device_id): ''' Creates a motor with controller id (a/b/c) and name of the motor device. The motor pv will be used as follows: SQ:AMOR:mot<controller_id>:device_id ''' return device('nicos_ess.devices.e...
36.639535
78
0.590606
394
3,151
4.467005
0.269036
0.24375
0.3
0.115909
0.122159
0.079545
0.079545
0.046591
0.046591
0
0
0.01906
0.250714
3,151
85
79
37.070588
0.726387
0.076484
0
0.045455
0
0
0.178922
0.053221
0
0
0
0
0
1
0.045455
false
0
0
0
0.090909
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
12b409cb46ee8d5b54436ac52afa99c11919f14d
402
py
Python
docs.py
nebulousdog/lazy-money-maker
1c0a8d124b07a9b9ee3283d86c37bee8c765f47a
[ "MIT" ]
null
null
null
docs.py
nebulousdog/lazy-money-maker
1c0a8d124b07a9b9ee3283d86c37bee8c765f47a
[ "MIT" ]
null
null
null
docs.py
nebulousdog/lazy-money-maker
1c0a8d124b07a9b9ee3283d86c37bee8c765f47a
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ A script to generate all docs. """ from marian.utils.docs import ( generate_cli_help_doc, generate_full_docs, ) def main(): print('running marian cli once for output') generate_cli_help_doc() print('generated at docs/cli.rst') print('generating docs...') generat...
17.478261
47
0.664179
55
402
4.527273
0.6
0.088353
0.120482
0.144578
0
0
0
0
0
0
0
0
0.201493
402
22
48
18.272727
0.775701
0.126866
0
0
1
0
0.291545
0
0
0
0
0
0
1
0.076923
true
0
0.076923
0
0.153846
0.307692
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
12bcdba03dbd30cfabfe7879eff67427d1daa8d3
573
py
Python
tests/test_scikit/test_common.py
tienhoang1994/rasa-nlu-examples
fe12dbc814d992382c1ca1d926b340139200928f
[ "Apache-2.0" ]
1
2022-03-31T17:00:38.000Z
2022-03-31T17:00:38.000Z
tests/test_scikit/test_common.py
tienhoang1994/rasa-nlu-examples
fe12dbc814d992382c1ca1d926b340139200928f
[ "Apache-2.0" ]
null
null
null
tests/test_scikit/test_common.py
tienhoang1994/rasa-nlu-examples
fe12dbc814d992382c1ca1d926b340139200928f
[ "Apache-2.0" ]
null
null
null
# import pandas as pd # from rasa_nlu_examples.scikit import nlu_path_to_dataframe, dataframe_to_nlu_file # def test_yaml_both_ways(tmp_path): # df = pd.DataFrame( # [ # {"text": "i really really like this", "intent": "positive"}, # {"text": "i enjoy this", "intent": "positive"}, #...
33.705882
83
0.602094
77
573
4.181818
0.532468
0.043478
0.055901
0.111801
0
0
0
0
0
0
0
0.002326
0.249564
573
16
84
35.8125
0.746512
0.945899
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
12cb1ab6479b23858dda8e8b5ad6cadf6f44a8de
772
py
Python
python/fastquant/data/__init__.py
BurnzZ/fastquant
04cc01cd7238ace6235bb06fe893b23b69a7b2c8
[ "MIT" ]
6
2020-01-12T01:59:46.000Z
2020-01-20T05:01:42.000Z
python/fastquant/data/__init__.py
BurnzZ/fastquant
04cc01cd7238ace6235bb06fe893b23b69a7b2c8
[ "MIT" ]
3
2020-01-14T12:49:21.000Z
2020-01-15T10:48:04.000Z
python/fastquant/data/__init__.py
enzoampil/psequant
b823a2fcb617184ed92895b78e99217041f0bdbc
[ "MIT" ]
1
2021-07-23T10:02:46.000Z
2021-07-23T10:02:46.000Z
# Modules available for fastquant.data.* from fastquant.data.crypto.crypto import get_crypto_data, CRYPTO_EXCHANGES from fastquant.data.stocks.pse import ( # Gets from yahoo finance get_yahoo_data, # Gets listed PSE companies get_stock_table, # Combines get_phisix_data and get_pse_data_cache g...
27.571429
74
0.790155
115
772
5.017391
0.286957
0.157712
0.176776
0.103986
0.190641
0.190641
0
0
0
0
0
0
0.159326
772
27
75
28.592593
0.88906
0.326425
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.461538
0
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
12d36c43f10328e86da3a176aa8a144248a69228
287
py
Python
test/decoratedtests/index.py
cmorterud/flask-eztest
3d0827c64e09c7787ec00f62ef8a94bb153ae9a5
[ "MIT" ]
1
2018-06-22T04:56:14.000Z
2018-06-22T04:56:14.000Z
test/decoratedtests/index.py
cmorterud/flask-eztest
3d0827c64e09c7787ec00f62ef8a94bb153ae9a5
[ "MIT" ]
null
null
null
test/decoratedtests/index.py
cmorterud/flask-eztest
3d0827c64e09c7787ec00f62ef8a94bb153ae9a5
[ "MIT" ]
2
2018-08-30T08:56:17.000Z
2019-05-08T15:20:26.000Z
from flaskeztest import RouteEZTestCase, expect_fixture class IndexOneTestCase(RouteEZTestCase): FIXTURE = 'oneuser' def runTest(self): RouteEZTestCase.runTest(self) expectation = expect_fixture('oneuser') self.assert_expectation_correct(expectation)
23.916667
55
0.74216
26
287
8.038462
0.576923
0.124402
0
0
0
0
0
0
0
0
0
0
0.184669
287
11
56
26.090909
0.893162
0
0
0
0
0
0.048951
0
0
0
0
0
0.142857
1
0.142857
false
0
0.142857
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
12d7c3d03c2335351fa4747e0c606cf0718fa937
842
py
Python
common_utils/error_utils/decorators/bypass.py
cm107/common_utils
4b911efe9f8cdec16ecb2a983e16f772be05076c
[ "MIT" ]
null
null
null
common_utils/error_utils/decorators/bypass.py
cm107/common_utils
4b911efe9f8cdec16ecb2a983e16f772be05076c
[ "MIT" ]
null
null
null
common_utils/error_utils/decorators/bypass.py
cm107/common_utils
4b911efe9f8cdec16ecb2a983e16f772be05076c
[ "MIT" ]
null
null
null
from functools import wraps import sys import traceback def bypass_error_in_classmethod(print_func=print): def inner(method): @wraps(method) def wrapper(self, *args, **kwargs): try: method(self, *args, **kwargs) except: etype, evalue, tb = sys...
29.034483
50
0.530879
96
842
4.510417
0.322917
0.083141
0.064665
0.073903
0.56351
0.461894
0.461894
0.461894
0.461894
0.461894
0
0.003697
0.357482
842
29
51
29.034483
0.796673
0
0
0.518519
0
0
0
0
0
0
0
0
0
1
0.222222
false
0.074074
0.111111
0
0.481481
0.148148
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
12dfe281143e37c25037f75617bf47bb8f672fce
6,954
py
Python
ozet/settings/base.py
ozet-team/ozet-server
4772d37339634adee6ace65a5e2380df4bd22bbb
[ "MIT" ]
null
null
null
ozet/settings/base.py
ozet-team/ozet-server
4772d37339634adee6ace65a5e2380df4bd22bbb
[ "MIT" ]
4
2021-11-27T14:15:55.000Z
2021-12-10T12:59:44.000Z
ozet/settings/base.py
ozet-team/ozet-server
4772d37339634adee6ace65a5e2380df4bd22bbb
[ "MIT" ]
null
null
null
""" Django settings for ozet project. Generated by 'django-admin startproject' using Django 3.2.6. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ import datetime ...
27.595238
97
0.704774
748
6,954
6.354278
0.40107
0.041027
0.037029
0.042079
0.136756
0.120345
0.087524
0.076583
0.053861
0.020198
0
0.018679
0.168536
6,954
251
98
27.705179
0.803355
0.193126
0
0.060241
1
0
0.566499
0.42128
0
0
0
0
0
1
0
false
0.036145
0.03012
0
0.03012
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
12f5b6fb8cdb4c82f55cefad151100d5deb54110
45,846
py
Python
saleor/plugins/webhook/tests/subscription_webhooks/test_create_deliveries_for_subscription.py
moalazzam/saleor
19a70a04af45ab0c62dc2b476c7c37a6aed4327c
[ "CC-BY-4.0" ]
null
null
null
saleor/plugins/webhook/tests/subscription_webhooks/test_create_deliveries_for_subscription.py
moalazzam/saleor
19a70a04af45ab0c62dc2b476c7c37a6aed4327c
[ "CC-BY-4.0" ]
40
2022-01-17T04:39:16.000Z
2022-03-27T17:08:42.000Z
saleor/plugins/webhook/tests/subscription_webhooks/test_create_deliveries_for_subscription.py
gustavoarmoa/saleor
f81b2f347e4c7a624cd68a1eca3b0a5611498f6e
[ "CC-BY-4.0" ]
null
null
null
import json from unittest.mock import patch import graphene import pytest from .....channel.models import Channel from .....giftcard.models import GiftCard from .....graphql.webhook.subscription_payload import validate_subscription_query from .....menu.models import Menu, MenuItem from .....product.models import Cate...
36.618211
88
0.756707
5,311
45,846
6.184899
0.030879
0.037811
0.068315
0.069167
0.854207
0.722266
0.64491
0.629019
0.604877
0.596262
0
0.005808
0.154975
45,846
1,251
89
36.647482
0.842079
0.016359
0
0.536585
0
0
0.025648
0.001401
0
0
0
0
0.262195
1
0.091463
false
0
0.017073
0.00122
0.109756
0
0
0
0
null
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
12fe3e1ccb57cc470c32effce54c61e2dca6ac64
299
py
Python
contracts/SimpleStorage.py
mikesizz/tezos-smartpy-example-box
89bdad2b57b7a2b9dc3a52f39edc5f0fa24c1cc5
[ "MIT" ]
7
2020-04-07T06:05:50.000Z
2022-01-07T23:55:24.000Z
contracts/SimpleStorage.py
mikesizz/tezos-smartpy-example-box
89bdad2b57b7a2b9dc3a52f39edc5f0fa24c1cc5
[ "MIT" ]
null
null
null
contracts/SimpleStorage.py
mikesizz/tezos-smartpy-example-box
89bdad2b57b7a2b9dc3a52f39edc5f0fa24c1cc5
[ "MIT" ]
4
2020-11-01T16:13:17.000Z
2021-11-17T10:01:05.000Z
# SimpleStorage - Example for illustrative purposes only. import smartpy as sp class SimpleStorage(sp.Contract): def __init__(self, initialValue = 0): self.init(storedValue = initialValue) @sp.entry_point def set(self, params): self.data.storedValue = params.newValue
24.916667
57
0.712375
35
299
5.942857
0.685714
0
0
0
0
0
0
0
0
0
0
0.004184
0.200669
299
11
58
27.181818
0.866109
0.183946
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
12fe48c6d9215c0d9cb73a3d061f72c3ab73e037
542
py
Python
pr_reporter/models/pr_models.py
sriharsha-7/devops
023e75d9714af230ada962ffb098c3ec7c99992e
[ "Unlicense" ]
null
null
null
pr_reporter/models/pr_models.py
sriharsha-7/devops
023e75d9714af230ada962ffb098c3ec7c99992e
[ "Unlicense" ]
null
null
null
pr_reporter/models/pr_models.py
sriharsha-7/devops
023e75d9714af230ada962ffb098c3ec7c99992e
[ "Unlicense" ]
null
null
null
from pydantic import BaseModel from typing import Optional from pydantic import EmailStr from pydantic import BaseModel, ValidationError, validator def validate_string(v): trim = v.strip() if not trim: raise ValidationError("empty string") return v class PrInfo(BaseModel): repo: str owner:...
20.074074
58
0.686347
66
542
5.560606
0.409091
0.098093
0.147139
0.147139
0.13624
0.13624
0
0
0
0
0
0
0.232472
542
26
59
20.846154
0.882212
0
0
0.105263
0
0
0.038961
0
0
0
0
0
0
1
0.157895
false
0
0.210526
0.105263
0.736842
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
4200257741d5c62aa93edc9f3ad7ef3d79a0707e
252
py
Python
tests/bind_tests/segment_tests/test_is_degenerate.py
skrat/martinez
86db48324cb50ecb52be8ab2e4278a6d5cdd562b
[ "MIT" ]
7
2020-05-07T08:13:44.000Z
2021-12-17T07:33:51.000Z
tests/bind_tests/segment_tests/test_is_degenerate.py
skrat/martinez
86db48324cb50ecb52be8ab2e4278a6d5cdd562b
[ "MIT" ]
17
2019-11-29T23:17:26.000Z
2020-12-20T15:47:17.000Z
tests/bind_tests/segment_tests/test_is_degenerate.py
skrat/martinez
86db48324cb50ecb52be8ab2e4278a6d5cdd562b
[ "MIT" ]
1
2020-12-17T22:44:21.000Z
2020-12-17T22:44:21.000Z
from hypothesis import given from tests.bind_tests.hints import BoundSegment from . import strategies @given(strategies.segments) def test_basic(segment: BoundSegment) -> None: result = segment.is_degenerate assert isinstance(result, bool)
21
47
0.785714
31
252
6.290323
0.677419
0
0
0
0
0
0
0
0
0
0
0
0.142857
252
11
48
22.909091
0.902778
0
0
0
0
0
0
0
0
0
0
0
0.142857
1
0.142857
false
0
0.428571
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
42091221f7094019ef703b7ec4b383c4cebc321b
769
py
Python
api/interestr/api/migrations/0004_auto_20171031_1539.py
bounswe/bounswe2017group5
64454748f4485b7016282b98e85f48ec44e6e283
[ "MIT" ]
8
2017-02-10T21:15:46.000Z
2018-03-02T14:05:12.000Z
api/interestr/api/migrations/0004_auto_20171031_1539.py
bounswe/bounswe2017group5
64454748f4485b7016282b98e85f48ec44e6e283
[ "MIT" ]
183
2017-02-12T21:36:16.000Z
2022-03-11T23:15:35.000Z
api/interestr/api/migrations/0004_auto_20171031_1539.py
bounswe/bounswe2017group5
64454748f4485b7016282b98e85f48ec44e6e283
[ "MIT" ]
5
2017-05-31T10:56:08.000Z
2018-06-26T15:15:14.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2017-10-31 15:39 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('api', '0003_auto_20171028_1133'), ] operations = [ migrations.AddField( ...
24.806452
59
0.56697
76
769
5.578947
0.618421
0.127358
0.162736
0.191038
0.424528
0.424528
0
0
0
0
0
0.061914
0.306892
769
30
60
25.633333
0.733583
0.088427
0
0.478261
1
0
0.090258
0.032951
0
0
0
0
0
1
0
false
0
0.086957
0
0.217391
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
420da2b1d98c13fe0a7875ed1fe0a54911257347
2,668
py
Python
2021/homework1-pushBox/submission.py
you-know-who-2017/RlChina_SummerSchool
48202d7d61f15656aa5e2879c4eb5bf6c9dd0a74
[ "MIT" ]
null
null
null
2021/homework1-pushBox/submission.py
you-know-who-2017/RlChina_SummerSchool
48202d7d61f15656aa5e2879c4eb5bf6c9dd0a74
[ "MIT" ]
null
null
null
2021/homework1-pushBox/submission.py
you-know-who-2017/RlChina_SummerSchool
48202d7d61f15656aa5e2879c4eb5bf6c9dd0a74
[ "MIT" ]
null
null
null
""" # =================================== Important ========================================= Notes: 1. this agents is random agents , which can fit any env in Jidi platform. 2. if you want to load .pth file, please follow the instruction here: https://github.com/jidiai/ai_lib/blob/master/examples/demo """ def my_co...
38.114286
89
0.580585
323
2,668
4.390093
0.244582
0.186178
0.222144
0.281382
0.643159
0.54866
0.42031
0.328632
0.328632
0.190409
0
0.006967
0.3006
2,668
70
90
38.114286
0.752947
0.146177
0
0.5
0
0
0.025562
0.01851
0
0
0
0
0
1
0.057692
false
0
0
0
0.115385
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
421a6bab4948f7974816b4b0c51e154d8e4c24ca
1,725
py
Python
pclib/ifcs/ParentChildBundle.py
belang/pymtl
4a96738724b007cbd684753aed0ac3de5b5dbebb
[ "BSD-3-Clause" ]
206
2015-01-05T21:53:56.000Z
2022-03-14T08:04:49.000Z
pclib/ifcs/ParentChildBundle.py
belang/pymtl
4a96738724b007cbd684753aed0ac3de5b5dbebb
[ "BSD-3-Clause" ]
84
2015-01-25T19:57:33.000Z
2021-05-11T15:46:56.000Z
pclib/ifcs/ParentChildBundle.py
belang/pymtl
4a96738724b007cbd684753aed0ac3de5b5dbebb
[ "BSD-3-Clause" ]
99
2015-02-17T17:43:44.000Z
2022-02-14T17:58:18.000Z
#========================================================================= # ValRdyBundle.py #========================================================================= # Defines a PortBundle for the ValRdy interface. from pymtl import * from valrdy import valrdy_to_str #--------------------------------------------...
36.702128
81
0.335652
102
1,725
5.411765
0.382353
0.050725
0.065217
0.07971
0
0
0
0
0
0
0
0.002625
0.116522
1,725
46
82
37.5
0.35958
0.626667
0
0.117647
0
0
0.012841
0
0
0
0
0
0
1
0.176471
false
0
0.117647
0.117647
0.470588
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
2
4220960c04474a68ec1468637efdbc21dd78c4cb
1,775
py
Python
gym_anm/tests/simulator/test_bus.py
ryan-hunt-122/gym-anm-rltraining
249400357fde2e63659fca8a5122b57590bf323c
[ "MIT" ]
null
null
null
gym_anm/tests/simulator/test_bus.py
ryan-hunt-122/gym-anm-rltraining
249400357fde2e63659fca8a5122b57590bf323c
[ "MIT" ]
null
null
null
gym_anm/tests/simulator/test_bus.py
ryan-hunt-122/gym-anm-rltraining
249400357fde2e63659fca8a5122b57590bf323c
[ "MIT" ]
null
null
null
import unittest import os import numpy as np from gym_anm_custom.simulator.components import Bus from gym_anm_custom.simulator.components.errors import * class TestBus(unittest.TestCase): def setUp(self): os.chdir(os.path.dirname(os.path.dirname(os.path.dirname( os.path.abspath(__file__)))))...
28.629032
83
0.609014
253
1,775
4.130435
0.252964
0.172249
0.206699
0.086124
0.763636
0.733014
0.649761
0.649761
0.589474
0.497608
0
0.037679
0.252394
1,775
61
84
29.098361
0.749812
0.021408
0
0.444444
0
0
0.004611
0
0
0
0
0
0.355556
1
0.155556
false
0
0.111111
0
0.288889
0
0
0
0
null
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
422c290bd2ecb1f496b2454b718a573c78126003
642
py
Python
seguridad/urls.py
luisfarfan/cpv_seguridad
3b499057251894b27a13c64efac38c347d5796b0
[ "MIT" ]
1
2016-09-20T22:45:06.000Z
2016-09-20T22:45:06.000Z
seguridad/urls.py
luisfarfan/cpv_seguridad
3b499057251894b27a13c64efac38c347d5796b0
[ "MIT" ]
null
null
null
seguridad/urls.py
luisfarfan/cpv_seguridad
3b499057251894b27a13c64efac38c347d5796b0
[ "MIT" ]
null
null
null
from views import * router = routers.DefaultRouter() router.register(r'proyectos', ProyectoViewSet) router.register(r'usuarios', UsuarioViewSet) router.register(r'sistemas', SistemaViewSet) router.register(r'permisos', PermisosViewSet) router.register(r'roles', RolesViewSet) router.register(r'proyectos_sistemas', Pro...
40.125
76
0.838006
70
642
7.585714
0.4
0.290019
0.310734
0.143126
0.163842
0.112994
0
0
0
0
0
0
0.048287
642
15
77
42.8
0.869067
0
0
0
0
0
0.211838
0.071651
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
423ddae3b822fa3e301de327e7418919fd292702
760
py
Python
mpu6050/MPU6050.py
DomonkosSuranyi/RPi_MPU6050
94070048d116cd683d3729bda3aecd884fd4a88b
[ "MIT" ]
null
null
null
mpu6050/MPU6050.py
DomonkosSuranyi/RPi_MPU6050
94070048d116cd683d3729bda3aecd884fd4a88b
[ "MIT" ]
null
null
null
mpu6050/MPU6050.py
DomonkosSuranyi/RPi_MPU6050
94070048d116cd683d3729bda3aecd884fd4a88b
[ "MIT" ]
null
null
null
from smbus import SMBus from I2C_Channel import I2C_Channel class MPU6050(object): def __init__(self, i2c_addr, addr_gyro_x = 0x43, addr_gyro_y = 0x45, addr_gyro_z = 0x47, addr_accel_x = 0x3b, addr_accel_y = 0x3d, addr_accel_z = 0x3f ): bus = SMBus(1) self.sensors = { "...
33.043478
67
0.618421
113
760
3.761062
0.336283
0.188235
0.181176
0.225882
0.442353
0.402353
0.402353
0
0
0
0
0.063177
0.271053
760
22
68
34.545455
0.703971
0
0
0
0
0
0.01581
0
0
0
0.031621
0
0
1
0.111111
false
0
0.111111
0.055556
0.333333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
42490f5fa3d1351ac09154815d80b5634220943e
3,814
py
Python
lasagne/regularization.py
cancan101/Lasagne
9f591a5f3a192028df9947ba1e4903b3b46e8fe0
[ "MIT" ]
null
null
null
lasagne/regularization.py
cancan101/Lasagne
9f591a5f3a192028df9947ba1e4903b3b46e8fe0
[ "MIT" ]
null
null
null
lasagne/regularization.py
cancan101/Lasagne
9f591a5f3a192028df9947ba1e4903b3b46e8fe0
[ "MIT" ]
null
null
null
import theano.tensor as T from .layers import Layer, get_all_params def l1(x): """Computes the L1 norm of a tensor Parameters ---------- x : Theano tensor Returns ------- Theano scalar l1 norm (sum of absolute values of elements) """ return T.sum(abs(x)) def l2(x): ...
27.242857
78
0.614053
452
3,814
5.119469
0.201327
0.036301
0.049265
0.048401
0.595073
0.549265
0.526793
0.526793
0.526793
0.526793
0
0.002609
0.296539
3,814
139
79
27.438849
0.859858
0.572365
0
0.107143
0
0
0.030612
0
0
0
0
0
0
1
0.214286
false
0
0.071429
0
0.535714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
4256e356937e382237c41318d51dce49fedee4b0
2,016
py
Python
logfmt/parser.py
szaydel/logfmt-python
8fd334a8ac57a348fd5bec179da6cb19b3227db3
[ "MIT" ]
14
2015-09-23T23:15:50.000Z
2022-01-08T19:04:26.000Z
logfmt/parser.py
szaydel/logfmt-python
8fd334a8ac57a348fd5bec179da6cb19b3227db3
[ "MIT" ]
6
2016-04-13T18:56:00.000Z
2021-10-06T16:32:03.000Z
logfmt/parser.py
szaydel/logfmt-python
8fd334a8ac57a348fd5bec179da6cb19b3227db3
[ "MIT" ]
8
2015-08-04T03:25:05.000Z
2020-11-01T04:36:16.000Z
# -*- coding: utf-8 -*- GARBAGE = 0 KEY = 1 EQUAL = 2 IVALUE = 3 QVALUE = 4 def parse_line(line): output = {} key, value = (), () escaped = False state = GARBAGE for i, c in enumerate(line): i += 1 if state == GARBAGE: if c > ' ' and c != '"' and c != '=': ...
28.394366
69
0.351687
184
2,016
3.847826
0.206522
0.045198
0.056497
0.177966
0.451977
0.432203
0.316384
0.316384
0.316384
0.316384
0
0.006986
0.502976
2,016
70
70
28.8
0.699601
0.010417
0
0.560606
0
0
0.00853
0
0
0
0
0
0
1
0.015152
false
0
0
0
0.030303
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2