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
0f87cde619dd2a8bb268d4fb68a2003a8ff13ecc
2,844
py
Python
tests/test_overlay.py
mehak151/unfurl
db4a0fd7163462156b5958103900942ae61c5d4c
[ "MIT" ]
null
null
null
tests/test_overlay.py
mehak151/unfurl
db4a0fd7163462156b5958103900942ae61c5d4c
[ "MIT" ]
null
null
null
tests/test_overlay.py
mehak151/unfurl
db4a0fd7163462156b5958103900942ae61c5d4c
[ "MIT" ]
null
null
null
import unittest import os import unfurl.manifest from unfurl.yamlmanifest import YamlManifest from unfurl.eval import Ref, mapValue, RefContext manifestDoc = """ apiVersion: unfurl/v1alpha1 kind: Manifest spec: service_template: decorators: missing: properties: test: missing my_ser...
29.319588
80
0.604079
265
2,844
6.388679
0.464151
0.028352
0.044891
0.027171
0.127584
0.127584
0
0
0
0
0
0.005155
0.317862
2,844
96
81
29.625
0.867526
0.114276
0
0.2375
0
0
0.709908
0.102268
0
0
0
0
0.0375
1
0.0125
false
0
0.0625
0
0.0875
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
0
0
0
0
0
0
0
1
0f8e5c5f720154c431ab78e1dab3464b664aeec0
1,362
py
Python
node/gpg_utils.py
Endeavour-Services/bareblock
24bc426b88b2b99f703b17df59027ebdb3008c8a
[ "MIT" ]
null
null
null
node/gpg_utils.py
Endeavour-Services/bareblock
24bc426b88b2b99f703b17df59027ebdb3008c8a
[ "MIT" ]
null
null
null
node/gpg_utils.py
Endeavour-Services/bareblock
24bc426b88b2b99f703b17df59027ebdb3008c8a
[ "MIT" ]
null
null
null
import pathlib import ed25519 from ed25519.keys import SigningKey import gnupg import os name = 'node' + os.environ['NAME'] path = pathlib.Path("/node") passphrase = 'test' if not path.exists(): path.mkdir() gpg = gnupg.GPG(gnupghome=path) node_id = f'{name}@dothttp.dev' allkeys = gpg.list_keys() if len(all...
28.978723
81
0.702643
198
1,362
4.580808
0.287879
0.033076
0.029768
0.029768
0.218302
0.218302
0.123484
0.123484
0.123484
0.123484
0
0.045061
0.152717
1,362
46
82
29.608696
0.740901
0
0
0.166667
0
0
0.165932
0.073421
0
0
0
0
0
1
0
false
0.055556
0.138889
0
0.138889
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
0
0
0
0
0
1
7e1582e0181d384fd28529d24af77e1eb8a48426
19,439
py
Python
appengine/findit/libs/test_results/test/blink_web_test_results_test.py
allaparthi/monorail
e18645fc1b952a5a6ff5f06e0c740d75f1904473
[ "BSD-3-Clause" ]
null
null
null
appengine/findit/libs/test_results/test/blink_web_test_results_test.py
allaparthi/monorail
e18645fc1b952a5a6ff5f06e0c740d75f1904473
[ "BSD-3-Clause" ]
7
2022-02-15T01:11:37.000Z
2022-03-02T12:46:13.000Z
appengine/findit/libs/test_results/test/blink_web_test_results_test.py
allaparthi/monorail
e18645fc1b952a5a6ff5f06e0c740d75f1904473
[ "BSD-3-Clause" ]
null
null
null
# Copyright 2018 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. from libs.test_results.blink_web_test_results import BlinkWebTestResults from waterfall.test import wf_testcase _SAMPLE_TEST_RESULTS = { 'seconds_since_...
33.400344
80
0.487474
1,571
19,439
5.875875
0.137492
0.035099
0.038132
0.038132
0.698949
0.6853
0.672408
0.624851
0.556603
0.528545
0
0.020628
0.379032
19,439
581
81
33.457831
0.744097
0.008694
0
0.601835
0
0.00367
0.301998
0.146535
0
0
0
0
0.056881
1
0.045872
false
0.110092
0.00367
0
0.051376
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
0
0
0
1
7e1c9c84e91be9bec164095995de1c52af8d5971
700
py
Python
metadeploy/api/migrations/0073_allowedlist_list_for_allowed_by_orgs.py
sfdc-qbranch/MetaDeploy
d22547b3814dbec6aefa4d86b9f81c6f175c1b67
[ "BSD-3-Clause" ]
33
2019-03-20T15:34:39.000Z
2022-03-30T15:59:40.000Z
metadeploy/api/migrations/0073_allowedlist_list_for_allowed_by_orgs.py
sfdc-qbranch/MetaDeploy
d22547b3814dbec6aefa4d86b9f81c6f175c1b67
[ "BSD-3-Clause" ]
2,718
2019-02-27T19:46:07.000Z
2022-03-11T23:18:09.000Z
metadeploy/api/migrations/0073_allowedlist_list_for_allowed_by_orgs.py
sfdc-qbranch/MetaDeploy
d22547b3814dbec6aefa4d86b9f81c6f175c1b67
[ "BSD-3-Clause" ]
28
2019-03-28T04:57:16.000Z
2022-02-04T16:49:25.000Z
# Generated by Django 2.2.1 on 2019-05-09 19:57 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [("api", "0072_merge_20190504_1506")] operations = [ migrations.AddField( model_name="allowedlist", name="list_for_allowed_by_orgs",...
29.166667
88
0.552857
80
700
4.725
0.8125
0
0
0
0
0
0
0
0
0
0
0.06982
0.365714
700
23
89
30.434783
0.781532
0.064286
0
0.117647
1
0
0.343032
0.073507
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
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
0
0
0
0
0
0
1
7e1dbd9edbd0ddb38cf058dea76ea676a2b2a382
1,794
py
Python
server/tests/steps/sql_translator/test_text.py
JeremyJacquemont/weaverbird
e04ab6f9c8381986ab71078e5199ece7a875e743
[ "BSD-3-Clause" ]
54
2019-11-20T15:07:39.000Z
2022-03-24T22:13:51.000Z
server/tests/steps/sql_translator/test_text.py
JeremyJacquemont/weaverbird
e04ab6f9c8381986ab71078e5199ece7a875e743
[ "BSD-3-Clause" ]
786
2019-10-20T11:48:37.000Z
2022-03-23T08:58:18.000Z
server/tests/steps/sql_translator/test_text.py
JeremyJacquemont/weaverbird
e04ab6f9c8381986ab71078e5199ece7a875e743
[ "BSD-3-Clause" ]
10
2019-11-21T10:16:16.000Z
2022-03-21T10:34:06.000Z
from weaverbird.backends.sql_translator.steps.text import translate_text from weaverbird.backends.sql_translator.types import SQLQuery, SqlQueryMetadataManager from weaverbird.pipeline.steps import TextStep def test_text(query): step = TextStep(name='text', new_column='BEST_SINGER_EVER', text='jean-jacques-goldma...
43.756098
111
0.719064
227
1,794
5.343612
0.215859
0.072547
0.063479
0.059357
0.726298
0.622424
0.622424
0.622424
0.622424
0.622424
0
0.010753
0.170569
1,794
40
112
44.85
0.804435
0
0
0.285714
0
0
0.208049
0
0
0
0
0
0.214286
1
0.071429
false
0
0.107143
0
0.178571
0
0
0
0
null
0
0
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
1
7e1dcd197eeb995f5c3263db8718f0e557717039
14,906
py
Python
scripts/drive.py
wyolum/uControl_v3
5d93fc0c3cd748738c1216351e14ab6ff6a12bcd
[ "MIT" ]
null
null
null
scripts/drive.py
wyolum/uControl_v3
5d93fc0c3cd748738c1216351e14ab6ff6a12bcd
[ "MIT" ]
null
null
null
scripts/drive.py
wyolum/uControl_v3
5d93fc0c3cd748738c1216351e14ab6ff6a12bcd
[ "MIT" ]
null
null
null
''' uControl driver library. ''' from numpy import * import time import sys import struct from serial import * from glob import * import pylab import os.path from constants import * # name lo hi unit LIMITS = {'GAGE':(0, 400, 'MMHG'), 'FLOW':(0, 1000, 'SCCM'), 'ABS_PRESSURE':(5, 1...
28.018797
130
0.539112
1,839
14,906
4.156063
0.178358
0.019233
0.007065
0.012953
0.19037
0.119587
0.092372
0.062541
0.062541
0.052597
0
0.028438
0.353616
14,906
531
131
28.071563
0.764816
0.07715
0
0.235577
0
0
0.034868
0
0
0
0.000847
0
0.019231
0
null
null
0.016827
0.026442
null
null
0.055288
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
0
0
0
0
0
0
1
7e2d58a2915afd90a768c94276107fb670f00d95
469
py
Python
positive-number-classifier/generatedata.py
brianquinlan/learn-tensorflow
a74c6880bee9192be7d03f7e5173d19793b1853e
[ "MIT" ]
2
2017-04-18T21:29:10.000Z
2019-08-03T00:35:35.000Z
positive-number-classifier/generatedata.py
brianquinlan/learn-tensorflow
a74c6880bee9192be7d03f7e5173d19793b1853e
[ "MIT" ]
null
null
null
positive-number-classifier/generatedata.py
brianquinlan/learn-tensorflow
a74c6880bee9192be7d03f7e5173d19793b1853e
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """Generate "data.csv", which is used as classifier training data. The CSV file is formatted like: value1,value2,positive -3.12,4.23,True -5,5,False -4,-4.1,False ... """ import random with open('data.csv', 'w') as f: f.write('value1,value2,positive\n') for _ in range(1000000): ...
23.45
66
0.641791
75
469
4
0.586667
0.16
0.133333
0.14
0
0
0
0
0
0
0
0.118557
0.172708
469
20
67
23.45
0.654639
0.396588
0
0
1
0
0.155235
0.086643
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
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
0
0
0
0
0
0
1
7e3914ff6355266d889d20608cf7c4c566024180
3,133
py
Python
interpretable_driving/basic/nav_map.py
zhangdongkun98/interpretable-driving
9e3f36c522e1c5ef8be0404814ffa4c3f7de5e5e
[ "MIT" ]
31
2021-09-15T00:43:43.000Z
2022-03-27T22:57:21.000Z
interpretable_driving/basic/nav_map.py
zhangdongkun98/interpretable-driving
9e3f36c522e1c5ef8be0404814ffa4c3f7de5e5e
[ "MIT" ]
1
2021-12-09T03:08:13.000Z
2021-12-15T07:08:31.000Z
interpretable_driving/basic/nav_map.py
zhangdongkun98/interpretable-driving
9e3f36c522e1c5ef8be0404814ffa4c3f7de5e5e
[ "MIT" ]
2
2021-11-26T05:45:18.000Z
2022-01-19T12:46:41.000Z
import carla_utils as cu from carla_utils.basic import np_dot import copy import numpy as np import cv2 from . import utils def data_augmentation(pose_array, min_dist): number = pose_array.shape[1] augmented = None for i in range(number-1): p1 = pose_array[:,i][:,np.newaxis] p2 = p...
39.1625
103
0.654644
433
3,133
4.545035
0.293303
0.033537
0.028455
0.025407
0.074187
0.041667
0.012195
0
0
0
0
0.034384
0.220236
3,133
79
104
39.658228
0.771183
0.015959
0
0
0
0
0
0
0
0
0
0.012658
0.017241
1
0.086207
false
0
0.103448
0
0.275862
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
0
0
0
0
0
0
0
1
7e3d3772bce1b39cee30aa3896f78f0a93988ab2
306
py
Python
pangeo_forge/__init__.py
shoyer/pangeo-forge
e2188f7941de8687c7d3b2dfe285b6b138bbfe54
[ "Apache-2.0" ]
null
null
null
pangeo_forge/__init__.py
shoyer/pangeo-forge
e2188f7941de8687c7d3b2dfe285b6b138bbfe54
[ "Apache-2.0" ]
null
null
null
pangeo_forge/__init__.py
shoyer/pangeo-forge
e2188f7941de8687c7d3b2dfe285b6b138bbfe54
[ "Apache-2.0" ]
null
null
null
from pkg_resources import DistributionNotFound, get_distribution # from pangeo_forge.pipelines import AbstractPipeline try: __version__ = get_distribution(__name__).version except DistributionNotFound: # noqa: F401 # package is not installed pass del get_distribution, DistributionNotFound
25.5
64
0.813725
32
306
7.375
0.71875
0.190678
0
0
0
0
0
0
0
0
0
0.01145
0.143791
306
11
65
27.818182
0.889313
0.284314
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.166667
0.166667
0
0.166667
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
0
0
0
1
7e41ebbe9c622f8c5c040adf686150e3be333797
451
py
Python
modules/yats/migrations/0008_auto_20180823_1453.py
gthreepwood/yats
d66dfc61da8d775efcf3e84aff3295b61ce9c9b2
[ "MIT" ]
54
2015-01-26T07:56:59.000Z
2022-03-10T18:48:05.000Z
modules/yats/migrations/0008_auto_20180823_1453.py
gthreepwood/yats
d66dfc61da8d775efcf3e84aff3295b61ce9c9b2
[ "MIT" ]
8
2015-03-15T18:33:39.000Z
2021-12-21T14:23:11.000Z
modules/yats/migrations/0008_auto_20180823_1453.py
gthreepwood/yats
d66dfc61da8d775efcf3e84aff3295b61ce9c9b2
[ "MIT" ]
23
2015-02-19T16:55:35.000Z
2022-03-11T19:49:06.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.14 on 2018-08-23 12:53 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('yats', '0007_tickets_reports_slug'), ] operations = [ migrations.AlterFiel...
21.47619
51
0.616408
50
451
5.36
0.82
0
0
0
0
0
0
0
0
0
0
0.075529
0.266075
451
20
52
22.55
0.734139
0.152993
0
0
1
0
0.105541
0.065963
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
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
0
0
0
0
0
0
1
7e480e7de30cffc6c50fba94072ddf73fcbfe04e
875
py
Python
setup.py
lihan/openexchangerates3
b9220ab2cfb20ced8cd7e4286b0f88fc77ca6882
[ "MIT" ]
4
2019-01-23T06:07:00.000Z
2019-09-11T18:11:17.000Z
setup.py
lihan/openexchangerates3
b9220ab2cfb20ced8cd7e4286b0f88fc77ca6882
[ "MIT" ]
null
null
null
setup.py
lihan/openexchangerates3
b9220ab2cfb20ced8cd7e4286b0f88fc77ca6882
[ "MIT" ]
null
null
null
from setuptools import setup setup( name='openexchangerates3', version='0.1.1', description='openexchangerates.org Python3 API client', long_description=open('README.rst').read(), url='https://github.com/lihan/openexchangerates3', license='MIT', author='Lihan Li', author_email='llihan67...
28.225806
59
0.605714
81
875
6.493827
0.802469
0.072243
0.095057
0
0
0
0
0
0
0
0
0.018265
0.249143
875
30
60
29.166667
0.782344
0
0
0.103448
0
0
0.517714
0.024
0
0
0
0
0
1
0
true
0
0.034483
0
0.034483
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
0
0
0
0
0
1
7e4deca5f96ea4fb3ae6c00b9b1d0533654e1ae2
2,636
py
Python
src/loss/loss_refiner.py
JonasFrey96/DenseFusion
0875483a0f7570dbc1842fdb51206fd7dc2b2ac1
[ "MIT" ]
2
2020-12-15T07:56:08.000Z
2021-06-15T14:14:32.000Z
src/loss/loss_refiner.py
JonasFrey96/DenseFusion
0875483a0f7570dbc1842fdb51206fd7dc2b2ac1
[ "MIT" ]
1
2021-01-12T10:36:43.000Z
2021-01-12T10:36:43.000Z
src/loss/loss_refiner.py
JonasFrey96/DenseFusion
0875483a0f7570dbc1842fdb51206fd7dc2b2ac1
[ "MIT" ]
1
2020-12-16T08:43:17.000Z
2020-12-16T08:43:17.000Z
from torch.nn.modules.loss import _Loss from torch.autograd import Variable import torch import numpy as np import random from rotations import quat_to_rot, compose_quat from helper import knn class Loss_refine(_Loss): def __init__(self, num_points_mesh, sym_list): super(Loss_refine, self).__init__(True)...
38.202899
121
0.603566
403
2,636
3.682382
0.220844
0.037062
0.054582
0.078841
0.270216
0.23248
0.162399
0.152965
0.152965
0.152965
0
0.032209
0.257967
2,636
68
122
38.764706
0.726483
0.063733
0
0.040816
0
0
0.001625
0
0
0
0
0.014706
0
1
0.040816
false
0
0.142857
0
0.22449
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
0
0
0
0
0
0
0
1
7e500c82c9e5cb9aaa884ef3fa184d0e55084ffe
20,181
py
Python
emission/net/ext_service/gmaps/googlemaps.py
Andrew-Tan/e-mission-server
91d59bee86e63d803e401f10f4b6a2502effedda
[ "BSD-3-Clause" ]
null
null
null
emission/net/ext_service/gmaps/googlemaps.py
Andrew-Tan/e-mission-server
91d59bee86e63d803e401f10f4b6a2502effedda
[ "BSD-3-Clause" ]
1
2017-08-31T19:54:16.000Z
2017-08-31T19:54:16.000Z
emission/net/ext_service/gmaps/googlemaps.py
Andrew-Tan/e-mission-server
91d59bee86e63d803e401f10f4b6a2502effedda
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # Copyright 2009 John Kleint # # This is free software, licensed under the Lesser Affero General # Public License, available in the accompanying LICENSE.txt file. # Edited by Josh Zarrabi 2015 # Updated the directions API calls to work with the new json file that Google puts out # Thus, the geo...
39.962376
130
0.606214
2,431
20,181
4.932127
0.227478
0.01201
0.010509
0.012761
0.23603
0.209425
0.178148
0.160217
0.125855
0.094579
0
0.020471
0.288341
20,181
505
131
39.962376
0.814371
0.047173
0
0.158621
0
0
0.118815
0.010548
0
0
0
0
0
0
null
null
0
0.041379
null
null
0.013793
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
0
0
0
0
0
0
1
7e57b644fc33d78d0a1fcce8a693b23732e190bd
9,009
py
Python
src/tasks/sample/sample_tasks.py
Soucha/CommAI-env
1420ab9e6c12da2f5e7acf27be2bc960ac2c856f
[ "BSD-3-Clause" ]
6
2016-10-03T20:07:05.000Z
2017-04-30T06:28:20.000Z
src/tasks/sample/sample_tasks.py
axbaretto/commai-env
e5d2f17f78c074e97d5654fd14e3fdb9dbbf44b1
[ "BSD-3-Clause" ]
null
null
null
src/tasks/sample/sample_tasks.py
axbaretto/commai-env
e5d2f17f78c074e97d5654fd14e3fdb9dbbf44b1
[ "BSD-3-Clause" ]
1
2022-02-14T21:19:13.000Z
2022-02-14T21:19:13.000Z
# -*- coding: utf-8 # Copyright (c) 2016-present, Facebook, Inc. # All rights reserved. # # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. An additional grant # of patent rights can be found in the PATENTS file in the same directory. fro...
33.490706
80
0.648907
1,256
9,009
4.406847
0.216561
0.04878
0.042276
0.030352
0.464318
0.389883
0.31093
0.254562
0.237218
0.218248
0
0.014986
0.237096
9,009
268
81
33.615672
0.790339
0.156621
0
0.382022
0
0
0.062797
0
0
0
0
0
0
1
0.230337
false
0
0.039326
0
0.331461
0.005618
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
0
0
0
1
7e6809cde38857ab897943d5ba19dad6f1955e14
194
py
Python
Darlington/phase2/DICTIONARY/day 50 solution/qtn5.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
6
2020-05-23T19:53:25.000Z
2021-05-08T20:21:30.000Z
Darlington/phase2/DICTIONARY/day 50 solution/qtn5.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
8
2020-05-14T18:53:12.000Z
2020-07-03T00:06:20.000Z
Darlington/phase2/DICTIONARY/day 50 solution/qtn5.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
39
2020-05-10T20:55:02.000Z
2020-09-12T17:40:59.000Z
#program to print a dictionary in table format. my_dict = {'C1':[1,2,3],'C2':[5,6,7],'C3':[9,10,11]} for row in zip(*([key] + (value) for key, value in sorted(my_dict.items()))): print(*row)
48.5
77
0.618557
38
194
3.105263
0.763158
0.101695
0
0
0
0
0
0
0
0
0
0.083333
0.134021
194
4
78
48.5
0.619048
0.237113
0
0
0
0
0.040541
0
0
0
0
0
0
1
0
false
0
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
0
0
0
0
0
0
1
7e6dc2431beeaab147bafd2b83be3bb12d5ed56b
1,677
py
Python
invenio_records_marc21/views.py
philippgualdi/invenio-records-marc21
6a4d17692649d8256ec8c9671d023e1065ce6063
[ "MIT" ]
1
2022-03-15T13:32:12.000Z
2022-03-15T13:32:12.000Z
invenio_records_marc21/views.py
philippgualdi/invenio-records-marc21
6a4d17692649d8256ec8c9671d023e1065ce6063
[ "MIT" ]
null
null
null
invenio_records_marc21/views.py
philippgualdi/invenio-records-marc21
6a4d17692649d8256ec8c9671d023e1065ce6063
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # This file is part of Invenio. # # Copyright (C) 2021 Graz University of Technology. # # Invenio-Records-Marc21 is free software; you can redistribute it and/or # modify it under the terms of the MIT License; see LICENSE file for more # details. """Blueprint definitions.""" from flask impor...
31.641509
87
0.741801
219
1,677
5.502283
0.342466
0.104564
0.116183
0.13444
0.387552
0.282158
0.19751
0.19751
0.19751
0.152697
0
0.017373
0.14192
1,677
52
88
32.25
0.820014
0.315444
0
0.227273
0
0
0.185185
0.145438
0
0
0
0
0
1
0.227273
false
0
0.045455
0
0.454545
0.318182
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
0
0
0
1
7e6ecea34be850eb1a694dc7958efd060ed8c73a
3,938
py
Python
windows10-wifi.py
Mr-Cracker-Pro/red-python-scripts
5bead83038aadf53fc868fb9a786cb37824b18eb
[ "MIT" ]
1,353
2021-01-07T17:12:01.000Z
2022-03-31T21:30:38.000Z
windows10-wifi.py
Mr-Cracker-Pro/red-python-scripts
5bead83038aadf53fc868fb9a786cb37824b18eb
[ "MIT" ]
29
2021-01-30T21:12:16.000Z
2022-03-04T15:06:12.000Z
windows10-wifi.py
Mr-Cracker-Pro/red-python-scripts
5bead83038aadf53fc868fb9a786cb37824b18eb
[ "MIT" ]
1,238
2021-01-07T17:05:18.000Z
2022-03-31T23:25:04.000Z
#! py ###################################### #Copyright of David Bombal, 2021 # #https://www.davidbombal.com # #https://www.youtube.com/davidbombal # ###################################### # Import subprocess so we can use system commands. import subprocess # Import the re module so we can make use ...
51.142857
142
0.64322
539
3,938
4.651206
0.35436
0.011966
0.027124
0.026326
0.156761
0.095732
0.029517
0
0
0
0
0.002084
0.268918
3,938
76
143
51.815789
0.868704
0.639157
0
0.090909
0
0
0.139553
0
0
0
0
0
0
1
0
false
0.227273
0.090909
0
0.090909
0.045455
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
0
0
0
1
7e7170d8a296924d54aef25719e41a7a1658c223
872
py
Python
GUI/main/tests.py
devskroy1/ForkedBrainSurfaceTK
774035ab5eae6c0a40eb96eab43d489d3f722eaa
[ "MIT" ]
7
2020-08-04T19:27:33.000Z
2022-01-28T18:00:21.000Z
GUI/main/tests.py
devskroy1/ForkedBrainSurfaceTK
774035ab5eae6c0a40eb96eab43d489d3f722eaa
[ "MIT" ]
null
null
null
GUI/main/tests.py
devskroy1/ForkedBrainSurfaceTK
774035ab5eae6c0a40eb96eab43d489d3f722eaa
[ "MIT" ]
3
2020-12-31T17:26:21.000Z
2021-02-11T19:24:56.000Z
from django.test import LiveServerTestCase from selenium.webdriver.firefox.webdriver import WebDriver class MySeleniumTests(LiveServerTestCase): fixtures = ['user-data.json'] @classmethod def setUpClass(cls): super().setUpClass() cls.selenium = WebDriver() cls.selenium.impl...
36.333333
79
0.662844
95
872
5.884211
0.494737
0.085868
0.085868
0.123435
0.166369
0.121646
0.121646
0
0
0
0
0.002928
0.216743
872
24
79
36.333333
0.81552
0
0
0.1
0
0
0.088202
0
0
0
0
0
0
1
0.15
false
0.1
0.1
0
0.35
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
0
0
0
1
7e7a057562fb7a1c86eb17764d931b6ff10b6da3
2,926
py
Python
Urbanization/GOST_Urban/Urban/accessibilityMap.py
ramarty/GOST_PublicGoods
de9cf36e37208eaf69253e784833990ceeb1058a
[ "MIT" ]
40
2018-03-13T13:47:36.000Z
2022-02-17T13:17:32.000Z
Urbanization/GOST_Urban/Urban/accessibilityMap.py
ramarty/GOST_PublicGoods
de9cf36e37208eaf69253e784833990ceeb1058a
[ "MIT" ]
11
2018-07-30T20:17:13.000Z
2020-08-13T20:30:20.000Z
Urbanization/GOST_Urban/Urban/accessibilityMap.py
ramarty/GOST_PublicGoods
de9cf36e37208eaf69253e784833990ceeb1058a
[ "MIT" ]
14
2018-08-14T07:47:56.000Z
2021-11-23T11:07:56.000Z
################################################################################ # Calculate Accessibility using Global Data # Benjamin P. Stewart, June 2017 # Purpose: Calculate accessibility from Fay, Deichmann, etc. based on network distance # and population of market access points. ###############################...
40.638889
100
0.610048
331
2,926
5.338369
0.422961
0.037351
0.020374
0
0
0
0
0
0
0
0
0.004726
0.276828
2,926
72
101
40.638889
0.83034
0.068011
0
0.103448
0
0
0.015332
0
0
0
0
0
0
0
null
null
0
0.137931
null
null
0.068966
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
0
0
0
0
0
0
1
7e7c392800f8c573b651e408a4beb40b5bb583fd
182
py
Python
code/backbones/backbone_type.py
ashesh-0/MultiZoomGaze
24494a1346d09e21e4b6d999a742b5d31bbbeff0
[ "MIT" ]
1
2022-01-24T04:53:00.000Z
2022-01-24T04:53:00.000Z
code/backbones/backbone_type.py
ashesh-0/MultiZoomGaze
24494a1346d09e21e4b6d999a742b5d31bbbeff0
[ "MIT" ]
null
null
null
code/backbones/backbone_type.py
ashesh-0/MultiZoomGaze
24494a1346d09e21e4b6d999a742b5d31bbbeff0
[ "MIT" ]
null
null
null
from core.enum import Enum class BackboneType(Enum): Resnet18 = 0 Squeezenet = 1 DenseNet = 2 ShuffleNet = 3 MobileNet = 4 HardNet = 5 EfficientNet = 6
15.166667
26
0.626374
22
182
5.181818
0.909091
0
0
0
0
0
0
0
0
0
0
0.072
0.313187
182
11
27
16.545455
0.84
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.111111
0
1
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
0
0
0
1
7e823f3004ece587a49162a1b42e7462dd71ee1c
2,091
py
Python
test_problems.py
jorgemira/euler-py
20406c7accd85e5c917c08cd739134e47d1c5e2f
[ "Apache-2.0" ]
null
null
null
test_problems.py
jorgemira/euler-py
20406c7accd85e5c917c08cd739134e47d1c5e2f
[ "Apache-2.0" ]
null
null
null
test_problems.py
jorgemira/euler-py
20406c7accd85e5c917c08cd739134e47d1c5e2f
[ "Apache-2.0" ]
null
null
null
'''Tests cases for Project Euler problems''' import unittest import sys from glob import glob from time import time class TestProblems(unittest.TestCase): '''Generic class for testing problems of Project Euler''' @classmethod def setUpClass(cls): '''Set up the list for the test times''' ...
21.78125
75
0.617408
272
2,091
4.599265
0.378676
0.043965
0.020783
0
0
0
0
0
0
0
0
0.00456
0.265901
2,091
95
76
22.010526
0.810423
0
0
0.122449
0
0
0.027152
0
0
0
0
0
0.020408
0
null
null
0
0.102041
null
null
0.040816
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
0
0
0
0
0
0
1
7e9b12c6a974f366024cda89a9bd71af3c887748
3,995
py
Python
nxt/nxt_python/src/nxt/brick.py
spotrh/rpihacks
d46b8206821c7a27b40ff56077418bb6fff60e56
[ "CC-BY-3.0", "Unlicense", "MIT" ]
18
2015-01-05T15:02:23.000Z
2021-06-16T19:24:42.000Z
nxt/nxt_python/src/nxt/brick.py
spotrh/rpihacks
d46b8206821c7a27b40ff56077418bb6fff60e56
[ "CC-BY-3.0", "Unlicense", "MIT" ]
1
2015-04-01T12:02:57.000Z
2015-04-01T12:02:57.000Z
nxt/nxt_python/src/nxt/brick.py
spotrh/rpihacks
d46b8206821c7a27b40ff56077418bb6fff60e56
[ "CC-BY-3.0", "Unlicense", "MIT" ]
12
2015-01-08T13:02:29.000Z
2020-06-14T09:19:11.000Z
# nxt.brick module -- Classes to represent LEGO Mindstorms NXT bricks # Copyright (C) 2006 Douglas P Lau # Copyright (C) 2009 Marcus Wanner # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, ei...
26.111111
70
0.71164
598
3,995
4.560201
0.297659
0.072607
0.028603
0.03227
0.397506
0.36817
0.289696
0.265493
0.242758
0.211955
0
0.005837
0.185232
3,995
152
71
26.282895
0.831951
0.162954
0
0.468468
0
0
0.079928
0
0
0
0
0
0
0
null
null
0
0.027027
null
null
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
1
0
0
0
0
0
0
0
0
1
7e9f050b88d8ba00c2f174d6d17224e491a88a82
1,012
py
Python
apps/objects/migrations/0019_auto_20180702_0919.py
iamjdcollins/districtwebsite
89e2aea47ca3d221665bc23586a4374421be5800
[ "MIT" ]
null
null
null
apps/objects/migrations/0019_auto_20180702_0919.py
iamjdcollins/districtwebsite
89e2aea47ca3d221665bc23586a4374421be5800
[ "MIT" ]
null
null
null
apps/objects/migrations/0019_auto_20180702_0919.py
iamjdcollins/districtwebsite
89e2aea47ca3d221665bc23586a4374421be5800
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2018-07-02 15:19 from __future__ import unicode_literals import apps.common.functions from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('dashboard', '0015_generalsetti...
34.896552
202
0.686759
112
1,012
6
0.535714
0.047619
0.0625
0.098214
0.089286
0.089286
0
0
0
0
0
0.045455
0.195652
1,012
28
203
36.142857
0.780098
0.067194
0
0.190476
1
0
0.208289
0.138151
0
0
0
0
0
1
0
false
0
0.190476
0
0.333333
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
0
0
0
0
0
0
1
7eaa2019336ebfeec8636faf494e844de8ee80b8
3,206
py
Python
tests/compress/test_compress.py
MaxBenChrist/tspreprocess
08695c287227855732e3d2213134f9e65649ac70
[ "MIT" ]
61
2017-08-01T19:58:59.000Z
2022-03-13T08:10:12.000Z
tests/compress/test_compress.py
afcarl/tspreprocess
08695c287227855732e3d2213134f9e65649ac70
[ "MIT" ]
9
2017-08-08T13:13:17.000Z
2021-01-10T23:23:46.000Z
tests/compress/test_compress.py
afcarl/tspreprocess
08695c287227855732e3d2213134f9e65649ac70
[ "MIT" ]
9
2018-03-17T06:09:00.000Z
2021-01-10T23:24:07.000Z
# -*- coding: utf-8 -*- # This file as well as the whole tspreprocess package are licenced under the MIT licence (see the LICENCE.txt) # Maximilian Christ (maximilianchrist.com), 2017 from __future__ import absolute_import, division import numpy as np import pandas as pd from pandas.testing import assert_frame_equal f...
37.27907
114
0.452589
417
3,206
3.364508
0.306954
0.071276
0.034212
0.005702
0.326443
0.326443
0.326443
0.269423
0.269423
0.269423
0
0.153341
0.430443
3,206
85
115
37.717647
0.615005
0.093263
0
0.363636
0
0
0.084463
0
0
0
0
0.011765
0.068182
1
0.068182
false
0
0.136364
0
0.227273
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
0
0
0
0
0
0
0
1
7eaeebae92f61f0f6c71a89e8bec38ee4a7c53ef
407
py
Python
setup.py
kurianbenoy/dataset_image
15f3eb4e0d4e24eee1417d20521c26ed7a4ebc82
[ "MIT" ]
null
null
null
setup.py
kurianbenoy/dataset_image
15f3eb4e0d4e24eee1417d20521c26ed7a4ebc82
[ "MIT" ]
null
null
null
setup.py
kurianbenoy/dataset_image
15f3eb4e0d4e24eee1417d20521c26ed7a4ebc82
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages setup( name="dataset_image", version="0.1", description="Custom Image downloader to create amazing datasets for your models", url="https://github.com/kurianbenoy/dataset_image", author="Kurian Benoy", author_email="kurian.bkk@gmail.com", packages=...
29.071429
85
0.727273
51
407
5.627451
0.803922
0.083624
0
0
0
0
0
0
0
0
0
0.005814
0.154791
407
13
86
31.307692
0.828488
0
0
0
0
0
0.44226
0.054054
0
0
0
0
0
1
0
true
0
0.083333
0
0.083333
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
0
0
0
0
0
1
7eb0f7c8d1bf74badd70a7ab128527334959b2f8
512
py
Python
setup.py
KyleS22/DuMBSwitcher
bbbf4ae80396cf9e37adc90768be9c63f533951b
[ "MIT" ]
1
2018-08-19T18:14:48.000Z
2018-08-19T18:14:48.000Z
setup.py
KyleS22/DuMBSwitcher
bbbf4ae80396cf9e37adc90768be9c63f533951b
[ "MIT" ]
2
2022-01-13T00:50:35.000Z
2022-03-11T23:27:12.000Z
setup.py
KyleS22/DuMBSwitcher
bbbf4ae80396cf9e37adc90768be9c63f533951b
[ "MIT" ]
null
null
null
from setuptools import setup import dumb_switcher.VERSION_NUMBER as vn setup( name='dumb_switcher', version=str(vn.VERSION_MAJOR) + "." + str(vn.VERSION_MINOR) + "." + str(vn.VERSION_PATCH), packages=['dumb_switcher'], entry_points={ 'console_scripts': ['dumb-switcher=dumb_switcher.CLI:main'], ...
26.947368
94
0.658203
59
512
5.508475
0.627119
0.184615
0.110769
0
0
0
0
0
0
0
0
0
0.208984
512
18
95
28.444444
0.802469
0
0
0.117647
0
0
0.314453
0.070313
0
0
0
0
0
1
0
true
0
0.117647
0
0.117647
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
0
0
0
0
0
1
7eb4d135ba2f9032d97bd620187ae123eb3189de
2,604
py
Python
src/shredder.py
kelseykm/kelcryptor
c2828a73016ffc91cf6c17b8fbed8d060a55c471
[ "MIT" ]
1
2021-02-03T12:39:54.000Z
2021-02-03T12:39:54.000Z
src/shredder.py
kelseykm/kelcryptor
c2828a73016ffc91cf6c17b8fbed8d060a55c471
[ "MIT" ]
null
null
null
src/shredder.py
kelseykm/kelcryptor
c2828a73016ffc91cf6c17b8fbed8d060a55c471
[ "MIT" ]
null
null
null
import os class Shredder: """ Main file shredder class CAUTION: This is meant to be used on magnetic hard drives only. It will NOT accomplish its function when used on solid state drives """ def __init__(self, file_object): self.file_object = file_object self.file_name = file_...
31.756098
79
0.634409
353
2,604
4.436261
0.209632
0.14304
0.12516
0.097063
0.5894
0.497446
0.462963
0.408685
0.363985
0.319285
0
0.011248
0.283026
2,604
81
80
32.148148
0.827531
0.097542
0
0.482759
0
0
0.003444
0
0
0
0
0
0
1
0.137931
false
0.086207
0.017241
0.051724
0.327586
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
0
0
0
1
0e19196a3b2e2886ef77ab53811d79149ccc6656
1,082
py
Python
threadClass.py
Rizwan-Hasan/Hash-Checker-OLD
36aa1656418a0b062ff53ebdc924841d1ce129be
[ "MIT" ]
null
null
null
threadClass.py
Rizwan-Hasan/Hash-Checker-OLD
36aa1656418a0b062ff53ebdc924841d1ce129be
[ "MIT" ]
null
null
null
threadClass.py
Rizwan-Hasan/Hash-Checker-OLD
36aa1656418a0b062ff53ebdc924841d1ce129be
[ "MIT" ]
null
null
null
''' All QThread classes are here ''' import os import tmpdir from HashChecker import checkHash import PyQt5 from PyQt5.QtCore import pyqtSignal, QThread # Hash Calculation Background Process Class ↓ class Hashing(QThread): signalMD5 = pyqtSignal(str) signalSHA256 = pyqtSignal(str) signalSHA512 = pyqtSig...
28.473684
60
0.681146
118
1,082
6.194915
0.5
0.071135
0.082079
0.119015
0
0
0
0
0
0
0
0.057715
0.215342
1,082
37
61
29.243243
0.797409
0.176525
0
0
0
0
0.087699
0
0
0
0
0
0
1
0.043478
false
0
0.217391
0
0.521739
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
0
0
0
0
0
0
1
0
0
1
0e1b9ff51a798fb0db0f5f89fca68939866960cd
2,869
py
Python
MITx-6.00.2x/pset2-house-cleaning-robot-simulation/Robot.py
Sam-Gao-Xin/Courses-
122810e56024e6e72d378317b4f98c5a9d97e5f8
[ "Apache-2.0" ]
622
2018-07-17T09:05:41.000Z
2022-03-29T02:57:02.000Z
MITx-6.00.2x/pset2-house-cleaning-robot-simulation/Robot.py
thientvse/Courses-
263ff4680ed1dfd253be3652f7f13ad707af1a36
[ "Apache-2.0" ]
21
2019-11-10T02:06:09.000Z
2022-01-22T23:54:11.000Z
MITx-6.00.2x/pset2-house-cleaning-robot-simulation/Robot.py
thientvse/Courses-
263ff4680ed1dfd253be3652f7f13ad707af1a36
[ "Apache-2.0" ]
906
2018-07-17T09:05:43.000Z
2022-03-31T12:55:49.000Z
# -*- coding: utf-8 -*- """ @author: salimt """ # === Problem 2 class Robot(object): """ Represents a robot cleaning a particular room. At all times the robot has a particular position and direction in the room. The robot also has a fixed speed. Subclasses of Robot should provide mov...
30.849462
80
0.561868
318
2,869
5.056604
0.336478
0.054726
0.031095
0.031716
0.130597
0.029851
0
0
0
0
0
0.013986
0.352039
2,869
93
81
30.849462
0.850995
0.4939
0
0.230769
0
0
0
0
0
0
0
0
0
1
0.230769
false
0
0
0
0.423077
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
0
0
0
1
0e27cb746b354ca1ec92996ef49706f47cf31da2
1,149
py
Python
problems/leetcode/lt-705.py
neerajp99/algorithms
1d6885d2a895821ac511fa8a46913d34db2511ca
[ "MIT" ]
1
2021-06-17T07:59:42.000Z
2021-06-17T07:59:42.000Z
problems/leetcode/lt-705.py
neerajp99/algorithms
1d6885d2a895821ac511fa8a46913d34db2511ca
[ "MIT" ]
null
null
null
problems/leetcode/lt-705.py
neerajp99/algorithms
1d6885d2a895821ac511fa8a46913d34db2511ca
[ "MIT" ]
1
2022-01-13T08:42:31.000Z
2022-01-13T08:42:31.000Z
# 705. Design HashSet """ Design a HashSet without using any built-in hash table libraries. To be specific, your design should include these functions: - add(value): Insert a value into the HashSet. - contains(value) : Return whether the value exists in the HashSet or not. - remove(value): Remove a value in the...
32.828571
104
0.62141
160
1,149
4.3625
0.35625
0.080229
0.078797
0.12894
0.310888
0.310888
0.310888
0.310888
0.310888
0.230659
0
0.015739
0.281114
1,149
35
105
32.828571
0.829298
0.387293
0
0.294118
0
0
0
0
0
0
0
0
0
1
0.294118
false
0
0
0.058824
0.470588
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
0
0
0
1
0e2bdaa25689be81712752cfba7bca5217cc177b
828
py
Python
Task1D.py
samoteng/ia-flood-warning-system-group59
ec431cef9e98777e67e337c0dcdde7912c008f17
[ "MIT" ]
null
null
null
Task1D.py
samoteng/ia-flood-warning-system-group59
ec431cef9e98777e67e337c0dcdde7912c008f17
[ "MIT" ]
null
null
null
Task1D.py
samoteng/ia-flood-warning-system-group59
ec431cef9e98777e67e337c0dcdde7912c008f17
[ "MIT" ]
1
2022-01-21T20:39:08.000Z
2022-01-21T20:39:08.000Z
#demonstration program from floodsystem.geo import rivers_with_station from floodsystem.geo import stations_by_river from floodsystem.geo import stations_of_river from floodsystem.stationdata import build_station_list def run(): stations = build_station_list() output1 = rivers_with_station(stations) print...
30.666667
87
0.748792
112
828
5.357143
0.330357
0.108333
0.1
0.12
0.423333
0.16
0
0
0
0
0
0.015805
0.15942
828
26
88
31.846154
0.846264
0.025362
0
0
0
0
0.280745
0
0
0
0
0
0
1
0.055556
false
0
0.222222
0
0.277778
0.5
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
0
0
1
0
1
0e3290b35fe588287504328fa4f6b276bb7421d0
911
py
Python
jumeaux/addons/final/json.py
ihatov08/jumeaux
7d983474df4b6dcfa57ea1a66901fbc99ebababa
[ "MIT" ]
11
2017-10-02T01:29:12.000Z
2022-03-31T08:37:22.000Z
jumeaux/addons/final/json.py
ihatov08/jumeaux
7d983474df4b6dcfa57ea1a66901fbc99ebababa
[ "MIT" ]
79
2017-07-16T14:47:17.000Z
2022-03-31T08:49:14.000Z
jumeaux/addons/final/json.py
ihatov08/jumeaux
7d983474df4b6dcfa57ea1a66901fbc99ebababa
[ "MIT" ]
2
2019-01-28T06:11:58.000Z
2021-01-25T07:21:21.000Z
# -*- coding:utf-8 -*- from owlmixin import OwlMixin, TOption from jumeaux.addons.final import FinalExecutor from jumeaux.models import FinalAddOnPayload, FinalAddOnReference from jumeaux.logger import Logger logger: Logger = Logger(__name__) class Config(OwlMixin): sysout: bool = False indent: TOption[int...
29.387097
100
0.675082
99
911
6.080808
0.474747
0.083056
0.059801
0.07309
0.083056
0
0
0
0
0
0
0.001416
0.225027
911
30
101
30.366667
0.851275
0.021954
0
0
0
0
0.03712
0.03712
0
0
0
0
0
1
0.095238
false
0
0.190476
0
0.52381
0.047619
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
0
1
0
0
1
0e3365da7155e1df0129b8bfc891dbb7831663d2
488
py
Python
gym-iOTA/setup.py
Robotics-Club-IIT-BHU/gym-iOTA
c1eee6d408e49defe665a8500ef460f3df8abe61
[ "MIT" ]
5
2021-01-11T11:48:05.000Z
2021-05-17T14:01:47.000Z
gym-iOTA/setup.py
Robotics-Club-IIT-BHU/gym-iOTA
c1eee6d408e49defe665a8500ef460f3df8abe61
[ "MIT" ]
null
null
null
gym-iOTA/setup.py
Robotics-Club-IIT-BHU/gym-iOTA
c1eee6d408e49defe665a8500ef460f3df8abe61
[ "MIT" ]
null
null
null
import setuptools from pathlib import Path setuptools.setup( name='gym_iOTA', version='0.0.3', description="A Open AI Gym Env for a Multiagent systems with our bot \'iOTA\'", long_description=Path("README.md").read_text(), long_description_content_type="text/markdown", packages=setuptools.find_...
34.857143
83
0.711066
64
488
5.265625
0.71875
0.041543
0
0
0
0
0
0
0
0
0
0.007026
0.125
488
13
84
37.538462
0.782201
0
0
0
0
0
0.362705
0.043033
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
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
0
0
0
0
0
1
0e3ba27f8f13a34b0a48d6fd2833d12cecdbacc1
693
py
Python
textattack/attack_results/failed_attack_result.py
yuchenlin/TextAttack
69c64016546effa1b3b197dfbdb92477614c36ca
[ "MIT" ]
1
2020-06-03T16:08:00.000Z
2020-06-03T16:08:00.000Z
textattack/attack_results/failed_attack_result.py
SatoshiRobatoFujimoto/TextAttack
a809a9bddddff9f41750949e26edde26c8af6cfa
[ "MIT" ]
null
null
null
textattack/attack_results/failed_attack_result.py
SatoshiRobatoFujimoto/TextAttack
a809a9bddddff9f41750949e26edde26c8af6cfa
[ "MIT" ]
null
null
null
from .attack_result import AttackResult from textattack.shared import utils class FailedAttackResult(AttackResult): def __init__(self, original_result, perturbed_result=None): perturbed_result = perturbed_result or original_result super().__init__(original_result, perturbed_result) def str_lin...
43.3125
90
0.747475
86
693
5.616279
0.383721
0.113872
0.130435
0.120083
0
0
0
0
0
0
0
0
0.157287
693
15
91
46.2
0.827055
0
0
0
0
0
0.020202
0
0
0
0
0
0
1
0.25
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
0
0
0
1
0e3d98cd5b7c03930c163066f2790958fd148f19
840
py
Python
nacelle/contrib/lockdown/mixins.py
paddycarey/nacelle
a41956be87550de096bb5d6775d4f9df88e85959
[ "MIT" ]
null
null
null
nacelle/contrib/lockdown/mixins.py
paddycarey/nacelle
a41956be87550de096bb5d6775d4f9df88e85959
[ "MIT" ]
4
2017-09-16T23:44:20.000Z
2017-09-16T23:49:13.000Z
nacelle/contrib/lockdown/mixins.py
paddycarey/nacelle
a41956be87550de096bb5d6775d4f9df88e85959
[ "MIT" ]
null
null
null
"""Simple handler mixin to enforce HTTP basic auth """ # marty mcfly imports from __future__ import absolute_import # third-party imports import webapp2 # local imports from .utils import check_auth class LockedDownMixin(object): """Simple mixin that enforces HTTP basic auth for a request handler """ l...
28
88
0.675
102
840
5.441176
0.617647
0.032432
0.046847
0
0
0
0
0
0
0
0
0.007911
0.247619
840
29
89
28.965517
0.870253
0.204762
0
0
0
0
0.204893
0
0
0
0
0
0
1
0.066667
false
0.133333
0.2
0
0.533333
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
0
0
0
1
0e43558d46c96dc2d2e39b01b7869c27c2e45e19
1,479
py
Python
epuap_watchdog/institutions/migrations/0007_regon.py
ad-m/epuap-watchdog
ff2dbbfe6c999e825dbf3f2bf2a94d8baa0a08ea
[ "MIT" ]
2
2017-07-30T16:41:41.000Z
2020-03-28T12:20:56.000Z
epuap_watchdog/institutions/migrations/0007_regon.py
ad-m/epuap-watchdog
ff2dbbfe6c999e825dbf3f2bf2a94d8baa0a08ea
[ "MIT" ]
5
2017-07-18T12:13:46.000Z
2017-07-28T15:48:38.000Z
epuap_watchdog/institutions/migrations/0007_regon.py
ad-m/epuap-watchdog
ff2dbbfe6c999e825dbf3f2bf2a94d8baa0a08ea
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10.7 on 2017-07-12 17:41 from __future__ import unicode_literals import django.contrib.postgres.fields.jsonb from django.db import migrations, models import django.db.models.deletion import django.utils.timezone import model_utils.fields class Migration(migrations.Migr...
43.5
185
0.668019
163
1,479
5.907975
0.509202
0.068536
0.05919
0.056075
0.176532
0.110073
0.110073
0.110073
0.110073
0
0
0.030612
0.204868
1,479
33
186
44.818182
0.788265
0.045977
0
0
1
0
0.153409
0.033381
0
0
0
0
0
1
0
false
0
0.230769
0
0.346154
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
0
0
0
0
0
0
1
0e4455d2f961a9da9b8426220996faa9c902ffe5
635
py
Python
other/mousemove.py
oopsmails/python-helloworld
ccce309570e2bfeea78d8c6ceb7d3ae0ea8b29f0
[ "Apache-2.0" ]
null
null
null
other/mousemove.py
oopsmails/python-helloworld
ccce309570e2bfeea78d8c6ceb7d3ae0ea8b29f0
[ "Apache-2.0" ]
null
null
null
other/mousemove.py
oopsmails/python-helloworld
ccce309570e2bfeea78d8c6ceb7d3ae0ea8b29f0
[ "Apache-2.0" ]
null
null
null
import pynput from pynput.mouse import Button, Controller mouse = Controller() print("Current position: " + str(mouse.position)) mouse.position = (10, 20) mouse.move(20, -13) # Click the left button mouse.click(Button.left, 1) # Click the right button mouse.click(Button.right, 1) # Click the middle ...
20.483871
50
0.708661
96
635
4.6875
0.34375
0.088889
0.177778
0.195556
0.168889
0.168889
0.168889
0.168889
0
0
0
0.034483
0.177953
635
30
51
21.166667
0.827586
0.272441
0
0
0
0
0.042553
0
0
0
0
0
0
1
0
false
0
0.133333
0
0.133333
0.066667
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
0
0
0
1
0e45f650ced423729b5431717f31e77b25bd7688
2,471
py
Python
agents/imap/general.py
DarKnight24/owtf
cb4d17ecfec1e8a2f22af3cb0ef7b33f8173825c
[ "BSD-3-Clause" ]
2
2017-10-10T06:30:38.000Z
2021-06-17T12:59:59.000Z
agents/imap/general.py
unexpectedBy/owtf
695b6dc723756bffcd6c21f6e962a927758ae4f9
[ "BSD-3-Clause" ]
null
null
null
agents/imap/general.py
unexpectedBy/owtf
695b6dc723756bffcd6c21f6e962a927758ae4f9
[ "BSD-3-Clause" ]
3
2017-12-30T20:43:22.000Z
2020-02-29T07:58:32.000Z
#!/usr/bin/env python ''' Description: General purpose functions to assist OWTF Agents ''' import imp import sys import os from collections import defaultdict class Plugin: def get(self, module_name, module_file, module_path): ''' Python fiddling to load a module from a file, there is probably a ...
27.455556
87
0.563739
316
2,471
4.28481
0.278481
0.088626
0.044313
0.022157
0.096012
0.096012
0.033973
0.033973
0
0
0
0.001733
0.299474
2,471
89
88
27.764045
0.780474
0.008094
0
0.145161
0
0
0.066097
0
0
0
0
0
0
0
null
null
0
0.064516
null
null
0.096774
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
0
0
0
0
0
0
1
0e479d941f5969b289059ba99310dc96352e8040
390
py
Python
writing/home/migrations/0004_homepage_header.py
todaatsushi/surreal_hill
09baab6cec9f1018d722fdf4ccbcd9d546774b99
[ "MIT" ]
1
2020-03-26T16:38:43.000Z
2020-03-26T16:38:43.000Z
writing/home/migrations/0004_homepage_header.py
todaatsushi/surreal_hill
09baab6cec9f1018d722fdf4ccbcd9d546774b99
[ "MIT" ]
18
2019-12-04T22:32:52.000Z
2022-03-11T23:44:39.000Z
writing/home/migrations/0004_homepage_header.py
todaatsushi/surreal_hill
09baab6cec9f1018d722fdf4ccbcd9d546774b99
[ "MIT" ]
null
null
null
# Generated by Django 2.1.7 on 2019-03-21 17:14 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('home', '0003_homepage_body'), ] operations = [ migrations.AddField( model_name='homepage', name='header', ...
20.526316
62
0.594872
43
390
5.302326
0.837209
0
0
0
0
0
0
0
0
0
0
0.07554
0.287179
390
18
63
21.666667
0.744604
0.115385
0
0
1
0
0.104956
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
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
0
0
0
0
0
0
1
0e484fb496036896fed9c02cbdac457b7e9e289a
3,788
py
Python
bench/bench_join_panel.py
lodagro/pandas
dfcf74679a273395cc9d7b3db78a1fbbc17c4f57
[ "PSF-2.0", "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
bench/bench_join_panel.py
lodagro/pandas
dfcf74679a273395cc9d7b3db78a1fbbc17c4f57
[ "PSF-2.0", "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
bench/bench_join_panel.py
lodagro/pandas
dfcf74679a273395cc9d7b3db78a1fbbc17c4f57
[ "PSF-2.0", "BSD-2-Clause", "BSD-3-Clause" ]
1
2019-07-30T02:42:51.000Z
2019-07-30T02:42:51.000Z
# reasonably efficient def create_panels_append(cls, panels): """ return an append list of panels """ panels = [a for a in panels if a is not None] # corner cases if len(panels) == 0: return None elif len(panels) == 1: return panels[0] el...
44.046512
122
0.519007
451
3,788
4.237251
0.248337
0.029304
0.027211
0.03977
0.198325
0.169545
0.141287
0.141287
0.141287
0.141287
0
0.006873
0.385428
3,788
85
123
44.564706
0.814003
0.13358
0
0.266667
0
0
0.035038
0
0
0
0
0
0
0
null
null
0.016667
0
null
null
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
1
0
0
0
0
0
0
0
0
1
0e52dbe4f64312b96acd9ee121d0ccf89c9560f7
2,476
py
Python
creator/jobs/migrations/0001_move_jobs.py
kids-first/kf-api-study-creator
93a79b108b6474f9b4135ace06c89ddcf63dd257
[ "Apache-2.0" ]
3
2019-05-04T02:07:28.000Z
2020-10-16T17:47:44.000Z
creator/jobs/migrations/0001_move_jobs.py
kids-first/kf-api-study-creator
93a79b108b6474f9b4135ace06c89ddcf63dd257
[ "Apache-2.0" ]
604
2019-02-21T18:14:51.000Z
2022-02-10T08:13:54.000Z
creator/jobs/migrations/0001_move_jobs.py
kids-first/kf-api-study-creator
93a79b108b6474f9b4135ace06c89ddcf63dd257
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.2.13 on 2020-09-23 01:31 import creator.jobs.models from django.db import migrations, models import django.db.models.deletion import uuid class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name...
51.583333
175
0.620355
297
2,476
5.040404
0.363636
0.069472
0.029392
0.026052
0.204409
0.167001
0.154977
0.128257
0.128257
0.128257
0
0.014516
0.248788
2,476
47
176
52.680851
0.790323
0.018578
0
0.25
1
0
0.269358
0
0
0
0
0
0
1
0
false
0
0.1
0
0.2
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
0
0
0
0
0
0
1
0e591d95f06366baebb2fbcdcfba0ced707b2b82
68,435
py
Python
pwnlib/constants/linux/amd64.py
paran0ids0ul/binjitsu
c5a92cdfb6c63e314f4d66994b3fc1646b52a7f7
[ "MIT" ]
5
2018-05-15T13:00:56.000Z
2020-02-09T14:29:00.000Z
pwnlib/constants/linux/amd64.py
FDlucifer/binjitsu
999ad632004bfc3e623eead20eb11de98fc1f4dd
[ "MIT" ]
null
null
null
pwnlib/constants/linux/amd64.py
FDlucifer/binjitsu
999ad632004bfc3e623eead20eb11de98fc1f4dd
[ "MIT" ]
6
2017-09-07T02:31:11.000Z
2021-07-05T16:59:18.000Z
from pwnlib.constants.constant import Constant __NR_read = Constant('__NR_read',0) __NR_write = Constant('__NR_write',1) __NR_open = Constant('__NR_open',2) __NR_close = Constant('__NR_close',3) __NR_stat = Constant('__NR_stat',4) __NR_fstat = Constant('__NR_fstat',5) __NR_lstat = Constant('__NR_lstat',6) __NR_poll = C...
43.86859
82
0.79414
9,619
68,435
5.166337
0.150431
0.090512
0.003864
0.002294
0.01638
0.005071
0.005071
0.003864
0.003864
0.003864
0
0.091914
0.068386
68,435
1,559
83
43.896729
0.687554
0
0
0.001283
0
0
0.274173
0.019771
0
0
0.011018
0
0
0
null
null
0.001283
0.000641
null
null
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
1
0
0
0
0
0
0
0
0
1
0e59b53abfa8cb2cbb2925ccf55a22fa1e7fde97
12,580
py
Python
sdk/python/pulumi_oci/goldengate/get_deployment_backup.py
EladGabay/pulumi-oci
6841e27d4a1a7e15c672306b769912efbfd3ba99
[ "ECL-2.0", "Apache-2.0" ]
5
2021-08-17T11:14:46.000Z
2021-12-31T02:07:03.000Z
sdk/python/pulumi_oci/goldengate/get_deployment_backup.py
pulumi-oci/pulumi-oci
6841e27d4a1a7e15c672306b769912efbfd3ba99
[ "ECL-2.0", "Apache-2.0" ]
1
2021-09-06T11:21:29.000Z
2021-09-06T11:21:29.000Z
sdk/python/pulumi_oci/goldengate/get_deployment_backup.py
pulumi-oci/pulumi-oci
6841e27d4a1a7e15c672306b769912efbfd3ba99
[ "ECL-2.0", "Apache-2.0" ]
2
2021-08-24T23:31:30.000Z
2022-01-02T19:26:54.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
41.245902
372
0.66717
1,521
12,580
5.253123
0.149244
0.04806
0.038048
0.071339
0.338673
0.230788
0.16383
0.109512
0.084606
0.070213
0
0.007865
0.231876
12,580
304
373
41.381579
0.819
0.210016
0
0.120603
1
0
0.165786
0.016494
0
0
0
0
0
1
0.110553
false
0
0.025126
0.005025
0.251256
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
0
0
0
0
0
0
1
0e5a13b26d8bcd7873f7e3c0b5097257eefbd8c1
6,565
py
Python
admin-center.install/usr/lib/python3/dist-packages/wsmanager.py
lliurex/admin-center
f79db2a1979fa4e099f08a5607a3f171f33338cd
[ "MIT" ]
null
null
null
admin-center.install/usr/lib/python3/dist-packages/wsmanager.py
lliurex/admin-center
f79db2a1979fa4e099f08a5607a3f171f33338cd
[ "MIT" ]
null
null
null
admin-center.install/usr/lib/python3/dist-packages/wsmanager.py
lliurex/admin-center
f79db2a1979fa4e099f08a5607a3f171f33338cd
[ "MIT" ]
null
null
null
import socket from SimpleWebSocketServer import SimpleWebSocketServer, WebSocket import threading import base64 import time import json import re class WSLog(WebSocket): listeners = [] #def __init__(self): def __init__(self, server, sock, address): WebSocket.__init__(self, server, sock, address)...
36.270718
181
0.507692
660
6,565
5.009091
0.283333
0.024198
0.036298
0.012704
0.306413
0.239867
0.239867
0.239867
0.092257
0.092257
0
0.021528
0.341965
6,565
180
182
36.472222
0.74375
0.320335
0
0.142857
0
0
0.076597
0
0
0
0
0
0
1
0.142857
false
0.085714
0.1
0.014286
0.357143
0.042857
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
0
0
0
1
0e5d75cfcab4d6818ffd495dc1ca88e3b5688987
214
py
Python
A2OJ-11/087_A_Cut_Ribbon.py
vendyv/A2OJ-Ladders
5ebaf4b3322e19cab687a642bc043161d71bc5ff
[ "MIT" ]
null
null
null
A2OJ-11/087_A_Cut_Ribbon.py
vendyv/A2OJ-Ladders
5ebaf4b3322e19cab687a642bc043161d71bc5ff
[ "MIT" ]
null
null
null
A2OJ-11/087_A_Cut_Ribbon.py
vendyv/A2OJ-Ladders
5ebaf4b3322e19cab687a642bc043161d71bc5ff
[ "MIT" ]
null
null
null
""" 87 Cut Ribbon - https://codeforces.com/problemset/problem/189/A """ n, a, b, c = map(int, input().split()) dp=[0]+[-1e19]*4000 for i in range(1,n+1): dp[i]=max(dp[i-a],dp[i-b],dp[i-c])+1 print(dp[n])
26.75
64
0.570093
45
214
2.711111
0.622222
0.098361
0
0
0
0
0
0
0
0
0
0.087432
0.14486
214
8
65
26.75
0.579235
0.294393
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
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
0
0
0
0
0
0
1
0e60f2b1ed2535951fedf307706682fba938f13f
851
py
Python
tests/test_postpone.py
nayaverdier/pbatch
add321d0ed127c039a475da66ca72d94db85dac1
[ "MIT" ]
4
2020-09-21T15:18:28.000Z
2021-03-09T19:24:24.000Z
tests/test_postpone.py
nayaverdier/pbatch
add321d0ed127c039a475da66ca72d94db85dac1
[ "MIT" ]
null
null
null
tests/test_postpone.py
nayaverdier/pbatch
add321d0ed127c039a475da66ca72d94db85dac1
[ "MIT" ]
null
null
null
import asyncio import pytest import pbatch def test_postpone(): executed = finished = False def add(a, b, c=None): nonlocal executed, finished executed = True return a + b + c assert not executed postponement = pbatch.postpone(add, 1, 2, c=100) assert postponement.wait...
19.340909
55
0.646298
97
851
5.587629
0.443299
0.038745
0.143911
0
0
0
0
0
0
0
0
0.015823
0.257344
851
43
56
19.790698
0.841772
0
0
0.074074
0
0
0.037603
0
0
0
0
0
0.111111
1
0.222222
false
0
0.111111
0.037037
0.407407
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
0
0
0
1
0e6581e4067ce0c25bdd0eb27fe282f552368507
2,007
py
Python
PythonCode/SCP-Database/SCP-database.py
sansy98/sansy_repo
bf67dfc9770223b9c87b328c92992095a660d36f
[ "MIT" ]
2
2020-06-11T06:51:25.000Z
2020-10-06T18:57:02.000Z
PythonCode/SCP-Database/SCP-database.py
sansy98/sansy_repo
bf67dfc9770223b9c87b328c92992095a660d36f
[ "MIT" ]
null
null
null
PythonCode/SCP-Database/SCP-database.py
sansy98/sansy_repo
bf67dfc9770223b9c87b328c92992095a660d36f
[ "MIT" ]
null
null
null
import requests import json from bs4 import BeautifulSoup class Scp(): def __init__(self, ID = "", name = "", containment = "", tags = []): self.ID = ID self.name = name self.containment = containment self.tags = tags def fetchSCPs(): url = "https://the-scp.foundation/object/sc...
36.490909
113
0.573991
234
2,007
4.816239
0.410256
0.014197
0.014197
0.026619
0.090506
0.090506
0.090506
0.090506
0.090506
0.090506
0
0.033035
0.276034
2,007
54
114
37.166667
0.742602
0.052815
0
0
0
0
0.099526
0.034755
0
0
0
0
0
0
null
null
0
0.065217
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
0
0
0
0
0
0
1
0e7175aa63db7796308cc4d1fbf9d915d6d013fc
387
py
Python
setup.py
davidthaler/SimpleTree
d514e4c0d5d9589f12716f1e48fefe98b2e157f4
[ "MIT" ]
null
null
null
setup.py
davidthaler/SimpleTree
d514e4c0d5d9589f12716f1e48fefe98b2e157f4
[ "MIT" ]
null
null
null
setup.py
davidthaler/SimpleTree
d514e4c0d5d9589f12716f1e48fefe98b2e157f4
[ "MIT" ]
null
null
null
from setuptools import setup setup( name='simple_tree', version='0.4.0', description='Decision tree, random forest and gradient boosting models in python.', url='https://github.com/davidthaler/SimpleTree', author='David Thaler', author_email='davidthaler@gmail.com', license='MIT', packa...
29.769231
87
0.705426
48
387
5.583333
0.75
0.149254
0
0
0
0
0
0
0
0
0
0.009146
0.152455
387
12
88
32.25
0.807927
0
0
0
0
0
0.540052
0.054264
0
0
0
0
0
1
0
true
0
0.090909
0
0.090909
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
0
0
0
0
0
1
0e77ceb36d512507694ef32b4762fa8c047cb688
1,687
py
Python
tests/failure/test_resmgr_failure.py
bopopescu/peloton
ac6a2c444bcfc70b5b6f4bdbaef67af68a415ad1
[ "Apache-2.0" ]
617
2019-03-01T15:25:48.000Z
2022-03-31T00:24:32.000Z
tests/failure/test_resmgr_failure.py
bopopescu/peloton
ac6a2c444bcfc70b5b6f4bdbaef67af68a415ad1
[ "Apache-2.0" ]
24
2019-03-11T03:38:38.000Z
2021-03-25T22:30:15.000Z
tests/failure/test_resmgr_failure.py
bopopescu/peloton
ac6a2c444bcfc70b5b6f4bdbaef67af68a415ad1
[ "Apache-2.0" ]
64
2019-03-11T01:57:10.000Z
2022-03-13T20:09:23.000Z
import copy from retry.api import retry_call from tests.integration import pool as tpool class TestResMgrFailure(object): def test_resmgr_failover(self, failure_tester): """ Test res-manager fails over to follower when leader is restarted. """ leader1 = failure_tester.fw.g...
35.145833
78
0.672792
218
1,687
4.96789
0.426606
0.204063
0.070175
0.036934
0.099723
0.099723
0.099723
0.099723
0.099723
0.099723
0
0.014961
0.247184
1,687
47
79
35.893617
0.837795
0.148785
0
0.068966
0
0
0.048834
0.01895
0
0
0
0
0.103448
1
0.103448
false
0
0.103448
0
0.275862
0
0
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
1
0e7f73a8f68e6fa563f9b3f77fa0558f417e245d
4,471
py
Python
geesarfetcher/fetcher.py
NikosAlexandris/gee_sar_fetcher
ff19a6afa4b960b47f00e1e23eb892c966f9b141
[ "MIT" ]
1
2020-11-14T15:36:50.000Z
2020-11-14T15:36:50.000Z
geesarfetcher/fetcher.py
NikosAlexandris/gee_sar_fetcher
ff19a6afa4b960b47f00e1e23eb892c966f9b141
[ "MIT" ]
2
2020-11-18T11:59:21.000Z
2020-11-22T05:30:51.000Z
geesarfetcher/fetcher.py
NikosAlexandris/gee_sar_fetcher
ff19a6afa4b960b47f00e1e23eb892c966f9b141
[ "MIT" ]
null
null
null
from .constants import VV, VH, IW, ASCENDING from .filter import filter_sentinel1_data from tqdm import tqdm import ee from .compose import compose_sentinel1_data from .dictify import dictify_pixel_values __all__ = ["fetch_sentinel1_data"] def fetch_sentinel1_data( start_date, end_date, geome...
29.222222
79
0.605457
525
4,471
4.998095
0.262857
0.034299
0.025152
0.02439
0.471418
0.45503
0.45503
0.45503
0.422256
0.383384
0
0.007908
0.321181
4,471
152
80
29.414474
0.856672
0.444196
0
0.236842
0
0
0.019018
0
0
0
0
0
0
1
0.026316
false
0.065789
0.078947
0
0.131579
0.013158
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
0
0
0
1
0e85c892242046abba4dc158c188b7623292e643
1,823
py
Python
stripcodecheats/github_requests.py
xCloudzx/stripcodecheats
ed8fcbb2783a842c8c245f19bfe9d05e050afbda
[ "MIT" ]
null
null
null
stripcodecheats/github_requests.py
xCloudzx/stripcodecheats
ed8fcbb2783a842c8c245f19bfe9d05e050afbda
[ "MIT" ]
null
null
null
stripcodecheats/github_requests.py
xCloudzx/stripcodecheats
ed8fcbb2783a842c8c245f19bfe9d05e050afbda
[ "MIT" ]
null
null
null
from github import Github import time import random from stripcodecheats.cache import repo_cache, Repo EXTENSIONS = ["py", "js", "ts", "rb", "html", "swift", "c", "m", "sh", "java", "cpp", "go", "php"] g = None def create_github(github_username: str, github_password: str, github_token: str): global g if git...
33.759259
98
0.59243
226
1,823
4.566372
0.367257
0.03876
0.023256
0.027132
0.124031
0.124031
0
0
0
0
0
0.001603
0.315414
1,823
54
99
33.759259
0.825321
0.077345
0
0.055556
0
0
0.030375
0
0
0
0
0
0
1
0.055556
false
0.055556
0.111111
0
0.277778
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
0
0
0
1
0e9074c28d3cca225c1a8c544206ea3c17740c98
701
py
Python
main/migrations/0021_otherperiodictask.py
qiwi/bruteforce
9671c811cdbc1740b6ed7ce581618ccd193ed5a8
[ "MIT" ]
10
2020-11-13T15:44:42.000Z
2020-11-24T16:26:20.000Z
main/migrations/0021_otherperiodictask.py
qiwi/bruteforce
9671c811cdbc1740b6ed7ce581618ccd193ed5a8
[ "MIT" ]
4
2021-04-12T22:58:59.000Z
2022-01-25T16:24:42.000Z
main/migrations/0021_otherperiodictask.py
qiwi/bruteforce
9671c811cdbc1740b6ed7ce581618ccd193ed5a8
[ "MIT" ]
1
2020-11-15T05:51:06.000Z
2020-11-15T05:51:06.000Z
# Generated by Django 3.1 on 2020-08-29 14:18 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ("django_celery_beat", "0012_periodictask_expire_seconds"), ("main", "0020_auto_20200824_2206"), ] operations = [ migrations.CreateModel( ...
25.962963
67
0.536377
60
701
6.05
0.766667
0.066116
0.088154
0
0
0
0
0
0
0
0
0.073753
0.342368
701
26
68
26.961538
0.713666
0.061341
0
0
1
0
0.333841
0.131098
0
0
0
0
0
1
0
false
0
0.05
0
0.2
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
0
0
0
0
0
0
1
0e9249ab66e84d48ef9477e5e0225351d89f543d
2,885
py
Python
tests/test_config.py
jaswdr/querido-diario-api
6f325a564f0568bd5398728df54dc1ef8758e780
[ "MIT" ]
null
null
null
tests/test_config.py
jaswdr/querido-diario-api
6f325a564f0568bd5398728df54dc1ef8758e780
[ "MIT" ]
null
null
null
tests/test_config.py
jaswdr/querido-diario-api
6f325a564f0568bd5398728df54dc1ef8758e780
[ "MIT" ]
null
null
null
from unittest import TestCase from unittest.mock import patch from config import load_configuration class BasicConfigurationTests(TestCase): def check_configuration_values(self, configuration, expected_values): self.assertEqual( configuration.host, expected_values["QUERIDO_DIARIO...
34.759036
76
0.627036
269
2,885
6.263941
0.163569
0.185163
0.185163
0.106825
0.696736
0.635015
0.578042
0.578042
0.564985
0.564985
0
0.005755
0.277296
2,885
82
77
35.182927
0.802398
0
0
0.533333
0
0
0.316811
0.249567
0
0
0
0
0.053333
1
0.053333
false
0
0.04
0
0.106667
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0e9295f4677998c95e2585024bbd6edb8cc5d68b
2,042
py
Python
src/rolca/rating/migrations/0002_results.py
dblenkus/rolca
033492d9b573b1dc65cb836579dff27c6e06c7a7
[ "Apache-2.0" ]
null
null
null
src/rolca/rating/migrations/0002_results.py
dblenkus/rolca
033492d9b573b1dc65cb836579dff27c6e06c7a7
[ "Apache-2.0" ]
12
2016-11-27T18:38:23.000Z
2017-09-09T16:18:17.000Z
src/rolca/rating/migrations/0002_results.py
dblenkus/rolca
033492d9b573b1dc65cb836579dff27c6e06c7a7
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.0rc1 on 2020-11-22 18:00 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('core', '0019_submission_description'), migrations.swappable_dependency(settings.AU...
44.391304
143
0.60284
204
2,042
5.892157
0.392157
0.039933
0.058236
0.091514
0.567388
0.567388
0.567388
0.567388
0.567388
0.567388
0
0.017751
0.255142
2,042
45
144
45.377778
0.772518
0.022527
0
0.512821
1
0
0.123872
0.013541
0
0
0
0
0
1
0
false
0
0.076923
0
0.153846
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
0
0
0
0
0
0
1
0e99333d8cff0c53fcfc85477b93b4e161fd95c7
142
py
Python
pt-1/sem_4/7.sem4_ex5_natural_odd_numbers.py
lucaszarza/python_coursera-usp-pt1
eaf8d32ec09b82755f9716237ffadb0cf8d46169
[ "Apache-2.0" ]
null
null
null
pt-1/sem_4/7.sem4_ex5_natural_odd_numbers.py
lucaszarza/python_coursera-usp-pt1
eaf8d32ec09b82755f9716237ffadb0cf8d46169
[ "Apache-2.0" ]
null
null
null
pt-1/sem_4/7.sem4_ex5_natural_odd_numbers.py
lucaszarza/python_coursera-usp-pt1
eaf8d32ec09b82755f9716237ffadb0cf8d46169
[ "Apache-2.0" ]
null
null
null
def main(): counter = int(input("Digite o valor de n: ")) i = 1 while counter > 0: print(i) i = i + 2 counter = counter - 1 main()
12.909091
46
0.56338
24
142
3.333333
0.666667
0.05
0
0
0
0
0
0
0
0
0
0.039216
0.28169
142
10
47
14.2
0.745098
0
0
0
0
0
0.147887
0
0
0
0
0
0
1
0.125
false
0
0
0
0.125
0.125
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
0
0
0
1
0ea04614a11140cd1ab655584eaff1691688384a
1,241
py
Python
cubric/users.py
schampilomatis/cubric
c45ffe95d2700e34036c0e3f3d3d30eae86c10cb
[ "ISC" ]
1
2018-01-25T14:15:30.000Z
2018-01-25T14:15:30.000Z
cubric/users.py
schampilomatis/cubric
c45ffe95d2700e34036c0e3f3d3d30eae86c10cb
[ "ISC" ]
null
null
null
cubric/users.py
schampilomatis/cubric
c45ffe95d2700e34036c0e3f3d3d30eae86c10cb
[ "ISC" ]
1
2020-09-10T20:16:25.000Z
2020-09-10T20:16:25.000Z
from .cubric import Tool, NonZero from .file import File class Users(Tool): def create(self, username, sudo=False): try: self.env.command("adduser", username, "--disabled-password", "--quiet", "--gecos", "{0} account".format(username)) except NonZero: ...
31.820513
82
0.549557
153
1,241
4.405229
0.411765
0.062315
0.035608
0.048961
0.357567
0.271513
0.240356
0.240356
0.145401
0.145401
0
0.021348
0.282836
1,241
38
83
32.657895
0.735955
0
0
0.275862
0
0
0.150685
0
0
0
0
0
0
1
0.137931
false
0.068966
0.068966
0
0.344828
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
0
0
0
1
0ea1b4477727bd96c0802ccf67de79d21d2f9808
10,137
py
Python
meshdata.py
dmsm/HodgeNet
6380f6ca78503817dfa152afd7af094ef5bc0dfe
[ "MIT" ]
48
2021-08-02T13:00:03.000Z
2022-03-22T03:31:50.000Z
meshdata.py
dmsm/HodgeNet
6380f6ca78503817dfa152afd7af094ef5bc0dfe
[ "MIT" ]
4
2021-08-10T02:39:13.000Z
2022-02-03T16:45:43.000Z
meshdata.py
dmsm/HodgeNet
6380f6ca78503817dfa152afd7af094ef5bc0dfe
[ "MIT" ]
4
2021-08-02T11:55:05.000Z
2022-03-20T09:16:28.000Z
import igl import numpy as np import scipy import scipy.io import torch import trimesh def random_rotation_matrix(): """Generate a random 3D rotation matrix.""" Q, _ = np.linalg.qr(np.random.normal(size=(3, 3))) return Q def random_scale_matrix(max_stretch): """Generate a random 3D anisotropic scali...
36.074733
79
0.581237
1,303
10,137
4.285495
0.14812
0.041905
0.065186
0.083811
0.538503
0.526683
0.485136
0.445559
0.41798
0.372851
0
0.019302
0.304923
10,137
280
80
36.203571
0.773205
0.083753
0
0.398058
1
0
0.029654
0
0
0
0
0
0
1
0.053398
false
0
0.029126
0.009709
0.135922
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
0
0
0
0
0
0
1
0ea628ee542008eace99a226472320499c7bc9c0
3,168
py
Python
self_finance/back_end/predict/bank_classifier.py
MaksimDan/self-finance
788fe067e6814eacde65ec2b9c7122826a61a89b
[ "CNRI-Python", "Condor-1.1", "Naumen", "Xnet", "X11", "MS-PL" ]
null
null
null
self_finance/back_end/predict/bank_classifier.py
MaksimDan/self-finance
788fe067e6814eacde65ec2b9c7122826a61a89b
[ "CNRI-Python", "Condor-1.1", "Naumen", "Xnet", "X11", "MS-PL" ]
null
null
null
self_finance/back_end/predict/bank_classifier.py
MaksimDan/self-finance
788fe067e6814eacde65ec2b9c7122826a61a89b
[ "CNRI-Python", "Condor-1.1", "Naumen", "Xnet", "X11", "MS-PL" ]
null
null
null
import logging import os import numpy as np from sklearn.base import BaseEstimator, TransformerMixin from sklearn.ensemble import RandomForestClassifier from sklearn.externals import joblib from sklearn.model_selection import GridSearchCV from sklearn.pipeline import Pipeline from sklearn.preprocessing import Standard...
35.595506
99
0.676768
404
3,168
5.029703
0.378713
0.039862
0.03248
0.015748
0.209646
0.185039
0.028543
0
0
0
0
0.013619
0.235164
3,168
88
100
36
0.82501
0.09375
0
0.034483
0
0
0.042394
0
0
0
0
0
0.017241
1
0.12069
false
0
0.206897
0.034483
0.517241
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
0
1
0
0
1
0ea99fbc45e30de9c47ba770f30052d72f23f159
608
py
Python
clock.py
toku345/RayTracerChallenge_Python
40ced097f92cc61b116d24c6d6c4f27d6b13029d
[ "MIT" ]
1
2020-05-13T20:54:01.000Z
2020-05-13T20:54:01.000Z
clock.py
toku345/RayTracerChallenge_Python
40ced097f92cc61b116d24c6d6c4f27d6b13029d
[ "MIT" ]
null
null
null
clock.py
toku345/RayTracerChallenge_Python
40ced097f92cc61b116d24c6d6c4f27d6b13029d
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from raytracerchallenge_python.tuple import Point, Color from raytracerchallenge_python.canvas import Canvas from raytracerchallenge_python.transformations import rotation_y from math import floor, pi if __name__ == "__main__": WIDTH = HEIGHT = 100 COLOR = Color(1, 0, 0) c = Canva...
26.434783
64
0.634868
89
608
4.168539
0.505618
0.177898
0.226415
0
0
0
0
0
0
0
0
0.041304
0.243421
608
22
65
27.636364
0.765217
0.034539
0
0
0
0
0.013652
0
0
0
0
0
0
1
0
false
0
0.266667
0
0.266667
0.066667
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0eae1220716c171f4603d548e614354c8c4637b2
719
py
Python
orttraining/orttraining/python/training/_ortmodule_graph_execution_manager_factory.py
thilow/onnxruntime
1a3ddf0714e1bdf9b807a342eee5f6e160ad1ec9
[ "MIT" ]
null
null
null
orttraining/orttraining/python/training/_ortmodule_graph_execution_manager_factory.py
thilow/onnxruntime
1a3ddf0714e1bdf9b807a342eee5f6e160ad1ec9
[ "MIT" ]
null
null
null
orttraining/orttraining/python/training/_ortmodule_graph_execution_manager_factory.py
thilow/onnxruntime
1a3ddf0714e1bdf9b807a342eee5f6e160ad1ec9
[ "MIT" ]
null
null
null
# ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. # -------------------------------------------------------------------------- from ._ortmodule_training_manager import TrainingManager from ._ortmodul...
35.95
76
0.588317
58
719
6.87931
0.551724
0.112782
0.095238
0
0
0
0
0
0
0
0
0
0.159944
719
19
77
37.842105
0.660596
0.331015
0
0
0
0
0
0
0
0
0
0
0
1
0.181818
false
0
0.181818
0
0.636364
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
0
1
0
0
1
0eae8beb96bcefa119d436224c387207c9300187
1,636
py
Python
examples/other/dolfin/noplot/ex02_tetralize-mesh.py
Gjacquenot/vtkplotter
dc865f28dec0c6f10de159dc1f8f20dd69ee74cf
[ "MIT" ]
7
2020-11-21T14:23:27.000Z
2022-03-03T02:01:35.000Z
examples/other/dolfin/noplot/ex02_tetralize-mesh.py
jtpils/vtkplotter
fbed73d6ed3f049dca3421c64e2e82ac1eef69a8
[ "MIT" ]
null
null
null
examples/other/dolfin/noplot/ex02_tetralize-mesh.py
jtpils/vtkplotter
fbed73d6ed3f049dca3421c64e2e82ac1eef69a8
[ "MIT" ]
2
2021-11-06T10:40:31.000Z
2022-03-03T02:01:34.000Z
""" Tetrahedral meshes generation with package mshr and dolfin. You can then visualize the file with: > vtkplotter shuttle.xml """ import mshr, dolfin from vtkplotter import load, printc, show, Text, datadir fname = "shuttle.stl" actor = load(datadir + fname) surface = mshr.Surface3D(datadir + fname) # add a cylind...
28.701754
81
0.68643
203
1,636
5.394089
0.453202
0.225571
0.032877
0.057534
0.094064
0.065753
0
0
0
0
0
0.018921
0.127751
1,636
56
82
29.214286
0.748423
0.460269
0
0
0
0
0.147541
0.08548
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0.25
0
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
1
0eb1fc3c81fd2eb0cb6292802bdd5f137c36d307
9,433
py
Python
costar_librarian/librarian_core/src/librarian_core/core.py
ready-robotics/costar_stack
f9e09a55c4d86c6264639d305c0853522902c2af
[ "BSD-2-Clause" ]
null
null
null
costar_librarian/librarian_core/src/librarian_core/core.py
ready-robotics/costar_stack
f9e09a55c4d86c6264639d305c0853522902c2af
[ "BSD-2-Clause" ]
1
2019-03-29T17:14:15.000Z
2019-04-02T17:44:20.000Z
costar_librarian/librarian_core/src/librarian_core/core.py
ready-robotics/costar_stack
f9e09a55c4d86c6264639d305c0853522902c2af
[ "BSD-2-Clause" ]
1
2016-06-03T15:49:33.000Z
2016-06-03T15:49:33.000Z
#!/usr/bin/env python import rospy import os import roslib import rosparam from librarian_msgs.msg import * from librarian_msgs.srv import * from os.path import expanduser from os.path import join roslib.load_manifest("rosparam") class Librarian(object): """ Librarian() Class containing functions to save ...
32.527586
120
0.559525
1,103
9,433
4.677244
0.169538
0.10661
0.06823
0.093817
0.56542
0.536538
0.513278
0.478193
0.461524
0.461524
0
0.001603
0.338811
9,433
289
121
32.640138
0.825557
0.027669
0
0.617486
0
0
0.076962
0.005949
0
0
0
0
0
0
null
null
0.016393
0.043716
null
null
0.005464
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
0
0
0
0
0
0
1
7ebc89a5cb6e78fa09030d067bc2d3e23ed5f4fc
5,969
py
Python
reres/bw/bw-sammy-net.py
rsampaths16/ReRes
51089c806c57087eb94d9a659036ebed88e96f13
[ "Apache-2.0" ]
2
2017-12-19T07:50:25.000Z
2018-03-26T05:59:54.000Z
reres/bw/bw-sammy-net.py
rsampaths16/ReRes
51089c806c57087eb94d9a659036ebed88e96f13
[ "Apache-2.0" ]
null
null
null
reres/bw/bw-sammy-net.py
rsampaths16/ReRes
51089c806c57087eb94d9a659036ebed88e96f13
[ "Apache-2.0" ]
1
2020-04-26T03:12:35.000Z
2020-04-26T03:12:35.000Z
import numpy import scipy import cv2 from scipy import misc from matplotlib import pyplot from numpy import random from keras.layers import Input, LeakyReLU, BatchNormalization, concatenate from keras.layers import Conv2D, Conv2DTranspose, MaxPooling2D from keras.layers import Flatten, Dense, Reshape from keras.models ...
38.509677
142
0.654716
824
5,969
4.674757
0.180825
0.012461
0.015576
0.067497
0.578401
0.537643
0.512721
0.406023
0.374351
0.08567
0
0.079895
0.171721
5,969
154
143
38.75974
0.699231
0.024795
0
0.289256
0
0
0.070851
0.041
0
0
0
0
0
0
null
null
0
0.099174
null
null
0.016529
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
0
0
0
0
0
0
1
7ebff5d00861684dfff02a86d113388d272d765f
1,683
py
Python
etk/timeseries_processor.py
donaq/etk
2084003ae70acc9b6751ddadc29db935c95a0a52
[ "MIT" ]
77
2017-03-09T19:17:12.000Z
2022-02-02T15:55:19.000Z
etk/timeseries_processor.py
donaq/etk
2084003ae70acc9b6751ddadc29db935c95a0a52
[ "MIT" ]
145
2017-04-07T19:07:53.000Z
2021-11-19T01:16:20.000Z
etk/timeseries_processor.py
donaq/etk
2084003ae70acc9b6751ddadc29db935c95a0a52
[ "MIT" ]
72
2017-04-18T20:54:36.000Z
2022-02-17T07:38:45.000Z
import etk.timeseries.extract_spreadsheet as extractSpreadsheet from typing import List from etk.document import Document from etk.etk_exceptions import InvalidArgumentsError class TimeseriesProcessor(object): def __init__(self, etk, **mapping_spec) -> None: self.etk = etk # < annotation > < sprea...
36.586957
102
0.628045
185
1,683
5.508108
0.318919
0.054956
0.025515
0.054956
0.109912
0.080471
0.080471
0.080471
0.080471
0.080471
0
0
0.291741
1,683
45
103
37.4
0.854866
0.073084
0
0.0625
0
0
0.075835
0
0
0
0
0.022222
0
1
0.09375
false
0.03125
0.125
0
0.3125
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
0
0
0
0
0
0
0
1
7ec5f96e1b9e6369a9342b7a8270a61824968a6f
4,833
py
Python
proteus/tests/POD/POD.py
robertsawko/proteus
6f1e4c2ca1af85a906b35a5162430006f0343861
[ "NASA-1.3" ]
null
null
null
proteus/tests/POD/POD.py
robertsawko/proteus
6f1e4c2ca1af85a906b35a5162430006f0343861
[ "NASA-1.3" ]
null
null
null
proteus/tests/POD/POD.py
robertsawko/proteus
6f1e4c2ca1af85a906b35a5162430006f0343861
[ "NASA-1.3" ]
null
null
null
#!/usr/bin/env python """ Proper orthogonal decomposition for the heat equation solver """ from heat_init import * from read_hdf5 import * #we construct this NS object again ONLY to have access to the load vector at each time step physics.name = "heat_3d_reduction" so.name = physics.name ns = NumericalSolution.NS_base...
27.617143
108
0.707014
815
4,833
4.094479
0.307975
0.013485
0.011987
0.031166
0.440216
0.41864
0.391669
0.358705
0.325442
0.273899
0
0.030046
0.146079
4,833
174
109
27.775862
0.778532
0.149183
0
0.241667
0
0
0.076006
0.012668
0
0
0
0
0
0
null
null
0
0.091667
null
null
0.033333
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
0
0
0
0
0
0
1
7ecd50d8d50a1dd711ab5f3860646de3089cffcb
1,505
py
Python
examples/integrations/s3_lambda/lambda_function.py
dataloop-ai/sdk_examples
422d5629df5af343d2dc275e9570bb83c4e2f49d
[ "MIT" ]
null
null
null
examples/integrations/s3_lambda/lambda_function.py
dataloop-ai/sdk_examples
422d5629df5af343d2dc275e9570bb83c4e2f49d
[ "MIT" ]
null
null
null
examples/integrations/s3_lambda/lambda_function.py
dataloop-ai/sdk_examples
422d5629df5af343d2dc275e9570bb83c4e2f49d
[ "MIT" ]
null
null
null
import os import urllib.parse # Set dataloop path to tmp (to read/write from the lambda) os.environ["DATALOOP_PATH"] = "/tmp" import dtlpy as dl DATASET_ID = '' DTLPY_USERNAME = '' DTLPY_PASSWORD = '' def lambda_handler(event, context): dl.login_m2m(email=DTLPY_USERNAME, password=DTLPY_PASSWORD) dataset = d...
34.204545
98
0.578738
174
1,505
4.91954
0.45977
0.031542
0.03972
0.044393
0.128505
0.128505
0
0
0
0
0
0.003929
0.323588
1,505
43
99
35
0.836935
0.213289
0
0.214286
0
0
0.098808
0
0
0
0
0
0
1
0.035714
false
0.071429
0.107143
0
0.142857
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
0
0
0
1
7ed050a9f8a2127345fe9fbd16077066f903980f
390
py
Python
worlds/migrations/0018_pipeline_force_scaling.py
cognitive-space/warpzone
06acee2add83cf9ddf981b4e4187dd742e627561
[ "MIT" ]
1
2022-02-25T12:04:13.000Z
2022-02-25T12:04:13.000Z
worlds/migrations/0018_pipeline_force_scaling.py
cognitive-space/warpzone
06acee2add83cf9ddf981b4e4187dd742e627561
[ "MIT" ]
null
null
null
worlds/migrations/0018_pipeline_force_scaling.py
cognitive-space/warpzone
06acee2add83cf9ddf981b4e4187dd742e627561
[ "MIT" ]
null
null
null
# Generated by Django 3.2.6 on 2021-08-18 22:11 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('worlds', '0017_job_pods'), ] operations = [ migrations.AddField( model_name='pipeline', name='force_scaling', ...
20.526316
58
0.594872
43
390
5.302326
0.837209
0
0
0
0
0
0
0
0
0
0
0.068345
0.287179
390
18
59
21.666667
0.751799
0.115385
0
0
1
0
0.116618
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
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
0
0
0
0
0
0
1
7ed2f4e903795c38ad57149cc4e6afcb821ed4cd
1,083
py
Python
tcgen/codeforces/explore.py
mfornet/tcgen
4ef8cafeb5a44b3222970e9c54098be205b722a1
[ "MIT" ]
5
2019-05-03T07:28:57.000Z
2022-01-22T07:04:25.000Z
tcgen/codeforces/explore.py
mfornet/tcgen
4ef8cafeb5a44b3222970e9c54098be205b722a1
[ "MIT" ]
1
2020-05-02T20:25:28.000Z
2020-05-02T20:25:28.000Z
tcgen/codeforces/explore.py
mfornet/tcgen
4ef8cafeb5a44b3222970e9c54098be205b722a1
[ "MIT" ]
1
2020-05-08T19:22:01.000Z
2020-05-08T19:22:01.000Z
from tqdm import tqdm, TqdmLogger as logger from codeforces.tools import codeforces_problems, get_problem from generate import find_pattern class Tabular: def __init__(self): self._dic = {} def add(self, name): self._dic[name] = self._dic.get(name, 0) + 1 def report(self): L = [...
21.235294
61
0.521699
136
1,083
3.955882
0.433824
0.052045
0.040892
0
0
0
0
0
0
0
0
0.021097
0.34349
1,083
50
62
21.66
0.735584
0.030471
0
0.058824
1
0
0.038168
0
0
0
0
0
0
1
0.117647
false
0
0.088235
0
0.235294
0.088235
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
0
0
0
0
0
0
1
7ed385ab72a75997e624c7fd58efde8f223a91c6
5,910
py
Python
tests/representation/test_DetectionElementFactory.py
joshanderson-kw/SMQTK
594e7c733fe7f4e514a1a08a7343293a883a41fc
[ "BSD-3-Clause" ]
82
2015-01-07T15:33:29.000Z
2021-08-11T18:34:05.000Z
tests/representation/test_DetectionElementFactory.py
joshanderson-kw/SMQTK
594e7c733fe7f4e514a1a08a7343293a883a41fc
[ "BSD-3-Clause" ]
230
2015-04-08T14:36:51.000Z
2022-03-14T17:55:30.000Z
tests/representation/test_DetectionElementFactory.py
joshanderson-kw/SMQTK
594e7c733fe7f4e514a1a08a7343293a883a41fc
[ "BSD-3-Clause" ]
65
2015-01-04T15:00:16.000Z
2021-11-19T18:09:11.000Z
import unittest.mock as mock from smqtk.representation import DetectionElement from smqtk.representation.detection_element_factory \ import DetectionElementFactory def test_get_default_config(): """ Test that get_default_config method does not error and returns a dictionary with a ``type`` key. "...
34.764706
79
0.704738
744
5,910
5.15457
0.182796
0.041721
0.045893
0.008344
0.683442
0.667536
0.653977
0.625293
0.625293
0.609648
0
0.008615
0.194755
5,910
169
80
34.970414
0.797226
0.266667
0
0.630435
0
0
0.067998
0
0
0
0
0
0.141304
1
0.065217
false
0
0.032609
0
0.097826
0
0
0
0
null
0
0
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
1
7eeb5486e9eaf39118e8cb09d4561f01cd8c900e
1,370
py
Python
src/find_oscillations.py
ptolmachev/ContinuousLinearRNN
6e466c6648e3ba956a5221e4d3e6738ea38d082f
[ "MIT" ]
null
null
null
src/find_oscillations.py
ptolmachev/ContinuousLinearRNN
6e466c6648e3ba956a5221e4d3e6738ea38d082f
[ "MIT" ]
null
null
null
src/find_oscillations.py
ptolmachev/ContinuousLinearRNN
6e466c6648e3ba956a5221e4d3e6738ea38d082f
[ "MIT" ]
null
null
null
''' A script which fins such W and b which produces oscillations generates a random W and b, calculates fixed points, check the Jacobians around the fixed points and saves the values if all the fixed points are unstable. ''' import numpy as np from src.RNN import RNN from matplotlib import pyplot as plt from src.stabi...
24.909091
100
0.654015
233
1,370
3.755365
0.467811
0.072
0.020571
0.024
0
0
0
0
0
0
0
0.021536
0.220438
1,370
54
101
25.37037
0.797753
0.215328
0
0
1
0
0.077934
0.023474
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.02381
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
0
0
0
0
0
0
1
7eed3336626ef63942a40702f9787e6b5847b97b
3,729
py
Python
vendor/github.com/tensorflow/tensorflow/tensorflow/python/training/saving/functional_saver.py
owennewo/kfserving
89f73c87525b8e06ea799f69f2979c4ad272fcb3
[ "Apache-2.0" ]
2
2020-12-03T22:45:44.000Z
2020-12-28T03:52:28.000Z
vendor/github.com/tensorflow/tensorflow/tensorflow/python/training/saving/functional_saver.py
owennewo/kfserving
89f73c87525b8e06ea799f69f2979c4ad272fcb3
[ "Apache-2.0" ]
13
2020-11-13T18:53:29.000Z
2022-03-12T00:33:00.000Z
vendor/github.com/tensorflow/tensorflow/tensorflow/python/training/saving/functional_saver.py
owennewo/kfserving
89f73c87525b8e06ea799f69f2979c4ad272fcb3
[ "Apache-2.0" ]
2
2020-10-06T09:24:31.000Z
2020-12-20T15:10:56.000Z
# Copyright 2015 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
36.558824
80
0.694288
484
3,729
5.202479
0.353306
0.065528
0.047657
0.036537
0.235902
0.200953
0.137411
0.137411
0.067514
0.067514
0
0.010215
0.212389
3,729
101
81
36.920792
0.847123
0.456691
0
0.12766
0
0
0.025722
0
0
0
0
0.019802
0
1
0.06383
false
0
0.191489
0
0.319149
0.021277
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
0
0
0
0
0
1
7eee2d55cab588f0ae5e912a8ab593aed16206e2
32,921
py
Python
protocol/zzz_cognition_msgs/msg/_RoadObstacle.py
Tsinghua-OpenICV/carla_icv_bridge
4d5f8c26b1847dbb16a81fe43f146bf4a9a8da5e
[ "MIT" ]
null
null
null
protocol/zzz_cognition_msgs/msg/_RoadObstacle.py
Tsinghua-OpenICV/carla_icv_bridge
4d5f8c26b1847dbb16a81fe43f146bf4a9a8da5e
[ "MIT" ]
null
null
null
protocol/zzz_cognition_msgs/msg/_RoadObstacle.py
Tsinghua-OpenICV/carla_icv_bridge
4d5f8c26b1847dbb16a81fe43f146bf4a9a8da5e
[ "MIT" ]
1
2020-12-19T05:48:01.000Z
2020-12-19T05:48:01.000Z
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from zzz_cognition_msgs/RoadObstacle.msg. Do not edit.""" import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct import zzz_driver_msgs.msg import zzz_perception_msgs.msg import geometry_msgs.msg cl...
40.693449
304
0.653899
4,547
32,921
4.519903
0.129316
0.040483
0.028902
0.030605
0.574981
0.563206
0.542624
0.533525
0.522334
0.509002
0
0.033814
0.204095
32,921
808
305
40.743812
0.750553
0.043407
0
0.544286
1
0.008571
0.368278
0.075666
0
0
0.007787
0
0
1
0.024286
false
0.001429
0.008571
0
0.078571
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
0
0
0
0
0
0
1
7ef1b19404ae11361b25018f018035500c4f6d0b
819
py
Python
test/__init__.py
ioflo/ewer
8002b719101e32b87843699a0e35911df786e3cd
[ "MIT" ]
1
2018-11-20T09:56:40.000Z
2018-11-20T09:56:40.000Z
test/__init__.py
ioflo/ewer
8002b719101e32b87843699a0e35911df786e3cd
[ "MIT" ]
null
null
null
test/__init__.py
ioflo/ewer
8002b719101e32b87843699a0e35911df786e3cd
[ "MIT" ]
null
null
null
from __future__ import with_statement from glob import glob from tools import chdir import unittest import sys, os try: import coverage coverage.process_startup() except ImportError: pass if 'fast' in sys.argv: sys.stderr.write("Warning: The 'fast' keyword skipps server tests.\n") os.environ["TES...
25.59375
98
0.700855
117
819
4.760684
0.57265
0.017953
0.032316
0
0
0
0
0
0
0
0
0.017831
0.178266
819
31
99
26.419355
0.809807
0
0
0
0
0
0.101467
0
0
0
0
0
0
1
0.04
false
0.04
0.32
0
0.36
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
0
0
0
1
7efbce24ac7889cef7c2ab8c91829b54a6d69094
460
py
Python
examples/Python/helloworld_mfe_comparative.py
tsjzz/ViennaRNA
f58f58ac6fb3e050f12e69cbbf7f0a95bc625d99
[ "Python-2.0" ]
1
2021-12-02T06:38:05.000Z
2021-12-02T06:38:05.000Z
examples/Python/helloworld_mfe_comparative.py
tsjzz/ViennaRNA
f58f58ac6fb3e050f12e69cbbf7f0a95bc625d99
[ "Python-2.0" ]
null
null
null
examples/Python/helloworld_mfe_comparative.py
tsjzz/ViennaRNA
f58f58ac6fb3e050f12e69cbbf7f0a95bc625d99
[ "Python-2.0" ]
null
null
null
import RNA # The RNA sequence alignment sequences = [ "CUGCCUCACAACGUUUGUGCCUCAGUUACCCGUAGAUGUAGUGAGGGU", "CUGCCUCACAACAUUUGUGCCUCAGUUACUCAUAGAUGUAGUGAGGGU", "---CUCGACACCACU---GCCUCGGUUACCCAUCGGUGCAGUGCGGGU" ] # compute the consensus sequence cons = RNA.consensus(sequences) # predict Minmum Free Energy ...
25.555556
66
0.754348
42
460
8.261905
0.714286
0.028818
0
0
0
0
0
0
0
0
0
0.005
0.130435
460
17
67
27.058824
0.8625
0.293478
0
0
0
0
0.50625
0.45
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0.111111
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7d004bfbf3f8fecf82bcee919508e9462fea21ff
812
py
Python
ontask/migrations/0028_auto_20190418_1550.py
pinheiroo27/ontask_b
23fee8caf4e1c5694a710a77f3004ca5d9effeac
[ "MIT" ]
33
2017-12-02T04:09:24.000Z
2021-11-07T08:41:57.000Z
ontask/migrations/0028_auto_20190418_1550.py
pinheiroo27/ontask_b
23fee8caf4e1c5694a710a77f3004ca5d9effeac
[ "MIT" ]
189
2017-11-16T04:06:29.000Z
2022-03-11T23:35:59.000Z
ontask/migrations/0028_auto_20190418_1550.py
pinheiroo27/ontask_b
23fee8caf4e1c5694a710a77f3004ca5d9effeac
[ "MIT" ]
30
2017-11-30T03:35:44.000Z
2022-01-31T03:08:08.000Z
# Generated by Django 2.2 on 2019-04-18 06:20 import django.db.models.deletion from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('ontask', '0027_auto_201904...
30.074074
142
0.665025
90
812
5.811111
0.511111
0.045889
0.091778
0.120459
0.087954
0
0
0
0
0
0
0.047923
0.229064
812
26
143
31.230769
0.78754
0.052956
0
0.2
1
0
0.109518
0.029987
0
0
0
0
0
1
0
false
0
0.15
0
0.3
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
0
0
0
0
0
0
1
7d014f277b402cfbe19300b6a49a88422d7a63d6
1,106
py
Python
hmi/triggers.py
z1mEk/CamPanel2
1474931f913e7137e228323061f058a612310e4a
[ "MIT" ]
null
null
null
hmi/triggers.py
z1mEk/CamPanel2
1474931f913e7137e228323061f058a612310e4a
[ "MIT" ]
null
null
null
hmi/triggers.py
z1mEk/CamPanel2
1474931f913e7137e228323061f058a612310e4a
[ "MIT" ]
null
null
null
from hmi.pages import page0, page1 ### definition of call name for nextion's components. "call_back" ### components_touch_event = [ #page0 {"page_id": 0, "component_id": 9, "touch_event": 1, "call_back": page0.b0.onTouch}, {"page_id": 0, "component_id": 5, "touch_event": 1, "call_back": page0.t...
61.444444
94
0.622061
161
1,106
4.006211
0.248447
0.136434
0.075969
0.173643
0.741085
0.621705
0
0
0
0
0
0.059735
0.18264
1,106
18
95
61.444444
0.653761
0.065099
0
0
0
0
0.380117
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
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
0
0
0
1
7d0b93011f786c3569478ff5f4170967384b4600
743
py
Python
tests/test_snapshot.py
eacharles/ceci
e52e956c9e373c9a632ad0c312770f32ceab0c8b
[ "BSD-3-Clause" ]
null
null
null
tests/test_snapshot.py
eacharles/ceci
e52e956c9e373c9a632ad0c312770f32ceab0c8b
[ "BSD-3-Clause" ]
1
2022-01-05T22:04:57.000Z
2022-01-05T22:04:57.000Z
tests/test_snapshot.py
eacharles/ceci
e52e956c9e373c9a632ad0c312770f32ceab0c8b
[ "BSD-3-Clause" ]
null
null
null
from ceci.main import run from parsl import clear import tempfile import os import pytest import subprocess from ceci.pipeline import Pipeline def test_snapshot(): # Read the pipeline pipeline = Pipeline.read('tests/test.yml') # Save it pipeline.save('test_save.yml') # Re-read it pipe_read...
16.886364
55
0.674293
99
743
4.79798
0.363636
0.067368
0.067368
0.050526
0
0
0
0
0
0
0
0.008696
0.22611
743
43
56
17.27907
0.817391
0.103634
0
0
0
0
0.115677
0
0
0
0
0
0
1
0.05
false
0
0.35
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
0
0
1
0
0
0
0
1
7d0eb4ff1015a3f0e5611d58f396ac37ece3087b
1,626
py
Python
weather/test_views.py
fahmidaward/resource_tracking
8531a01e8b5c5fb20dcb8bef11ab17d7b68f4624
[ "BSD-3-Clause" ]
null
null
null
weather/test_views.py
fahmidaward/resource_tracking
8531a01e8b5c5fb20dcb8bef11ab17d7b68f4624
[ "BSD-3-Clause" ]
null
null
null
weather/test_views.py
fahmidaward/resource_tracking
8531a01e8b5c5fb20dcb8bef11ab17d7b68f4624
[ "BSD-3-Clause" ]
null
null
null
from django.contrib.auth.models import Group, User from django.urls import reverse from django.test import TestCase, Client from mixer.backend.django import mixer from .models import WeatherStation, WeatherObservation class WeatherViewsTestCase(TestCase): client = Client() def setUp(self): # We need ...
35.347826
75
0.662977
196
1,626
5.403061
0.377551
0.033994
0.028329
0.05949
0.219075
0.166195
0.166195
0.166195
0.166195
0.166195
0
0.012039
0.233702
1,626
45
76
36.133333
0.837881
0.173432
0
0.214286
0
0
0.087613
0
0
0
0
0
0.107143
1
0.142857
false
0.071429
0.178571
0
0.392857
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
0
0
0
1
7d0ec477ee34f3cdfbe6e603cb923f905d06a800
4,414
py
Python
src/helpers/imageProcessing.py
Danziger/CarND-T1-P1-Lane-Lines
620c4bc436d932c6e2e33326af815b7ba4f50b38
[ "MIT" ]
1
2021-05-28T13:26:43.000Z
2021-05-28T13:26:43.000Z
src/helpers/imageProcessing.py
Danziger/CarND-T1-P1-Lane-Lines
620c4bc436d932c6e2e33326af815b7ba4f50b38
[ "MIT" ]
null
null
null
src/helpers/imageProcessing.py
Danziger/CarND-T1-P1-Lane-Lines
620c4bc436d932c6e2e33326af815b7ba4f50b38
[ "MIT" ]
1
2020-04-17T10:17:31.000Z
2020-04-17T10:17:31.000Z
import cv2 import numpy as np def rgb2hsv(img): return cv2.cvtColor(img, cv2.COLOR_RGB2HSV) def rgb2hls(img): return cv2.cvtColor(img, cv2.COLOR_RGB2HLS) def hls2gray(img): return cv2.cvtColor(img, cv2.COLOR_HLS2GRAY) def bgr2gray(img): # Use when reading an image with cv2.imread() return cv...
28.662338
121
0.627096
592
4,414
4.609797
0.302365
0.042873
0.01539
0.02052
0.204104
0.177721
0.122756
0.088677
0.063027
0.063027
0
0.052406
0.260761
4,414
153
122
28.849673
0.783941
0.182601
0
0.119048
0
0
0
0
0
0
0
0
0
1
0.178571
false
0
0.02381
0.119048
0.380952
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
0
0
0
1
7d18857505bdb5bfa32cf04b24226d8f7281d97b
5,763
py
Python
psrpcore/types/__init__.py
jborean93/psrpcore
2c97fa7afec2ea1cab5f0c1ce189f06f2d28b83c
[ "MIT" ]
4
2021-06-30T07:40:26.000Z
2022-01-13T18:42:32.000Z
psrpcore/types/__init__.py
jborean93/psrpcore
2c97fa7afec2ea1cab5f0c1ce189f06f2d28b83c
[ "MIT" ]
15
2021-06-28T20:58:05.000Z
2022-03-03T11:37:33.000Z
psrpcore/types/__init__.py
jborean93/psrpcore
2c97fa7afec2ea1cab5f0c1ce189f06f2d28b83c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright: (c) 2021", Jordan Borean (@jborean93) <jborean93@gmail.com> # MIT License (see LICENSE or https://opensource.org/licenses/MIT) """The .NET type code. Contains the public entrypoint for all the .NET/Pwsh type code that is used to exchange objects between Python and PowerShell. """ ...
20.730216
78
0.668922
362
5,763
10.560773
0.508287
0.025111
0.035574
0.00994
0.10463
0.051269
0.02982
0.02982
0.02982
0.02982
0
0.005637
0.230436
5,763
277
79
20.805054
0.85637
0.053097
0
0
0
0
0.303598
0.024963
0
0
0
0
0
1
0
false
0
0.034091
0
0.034091
0
0
0
1
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
0
0
0
1
7d1ac09ff4776b5e550f7943a06ac2d3f44b3183
259
py
Python
python/built-ins/zipped.py
jrmsdev/hackerrank
3393591338fb11e86aea5f6b33df7d1eccd50ecb
[ "BSD-3-Clause" ]
null
null
null
python/built-ins/zipped.py
jrmsdev/hackerrank
3393591338fb11e86aea5f6b33df7d1eccd50ecb
[ "BSD-3-Clause" ]
null
null
null
python/built-ins/zipped.py
jrmsdev/hackerrank
3393591338fb11e86aea5f6b33df7d1eccd50ecb
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 # https://www.hackerrank.com/challenges/zipped n, x = map (int, input().strip().split()) total = [] for i in range (x): total.append (list (map (float, input ().strip ().split ()))) for u in zip (*total): print (sum (u) / x)
21.583333
65
0.598456
40
259
3.875
0.725
0.129032
0.193548
0
0
0
0
0
0
0
0
0.004717
0.181467
259
11
66
23.545455
0.726415
0.254826
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7d2380850a347ca2de873ef1ea820d8fbd4de3e4
754
py
Python
server_django/apps/api/migrations/0005_auto_20200626_2112.py
notclement/botnet-enumeration-network
5c832072958470d32510ab3954cba2321faa6cb2
[ "MIT" ]
3
2020-12-18T07:45:57.000Z
2021-05-13T23:06:19.000Z
server_django/apps/api/migrations/0005_auto_20200626_2112.py
5l1v3r1/modulo-botnet
bb54bacd6aaf49cf4e6fd0f94d1bfa81978702c7
[ "MIT" ]
4
2021-04-08T21:11:08.000Z
2021-09-22T19:18:36.000Z
server_django/apps/api/migrations/0005_auto_20200626_2112.py
5l1v3r1/modulo-botnet
bb54bacd6aaf49cf4e6fd0f94d1bfa81978702c7
[ "MIT" ]
3
2020-08-20T20:04:17.000Z
2021-05-13T23:06:21.000Z
# Generated by Django 3.0.7 on 2020-06-26 13:12 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('api', '0004_auto_20200624_1616'), ] operations = [ migrations.AddField( model_name='agent', name='identifier', ...
25.133333
74
0.571618
70
754
6
0.671429
0.064286
0.066667
0.085714
0
0
0
0
0
0
0
0.064078
0.316976
754
29
75
26
0.751456
0.059682
0
0.391304
1
0
0.118812
0.032532
0
0
0
0
0
1
0
false
0
0.043478
0
0.173913
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
0
0
0
0
0
0
1
7d2a61b35d2b396bfe4e9e1970f0512970fea665
1,313
py
Python
csv2netcdf.py
petercunning/notebook
5b26f2dc96bcb36434542b397de6ca5fa3b61a0a
[ "MIT" ]
32
2015-01-07T01:48:05.000Z
2022-03-02T07:07:42.000Z
csv2netcdf.py
petercunning/notebook
5b26f2dc96bcb36434542b397de6ca5fa3b61a0a
[ "MIT" ]
1
2015-04-13T21:00:18.000Z
2015-04-13T21:00:18.000Z
csv2netcdf.py
petercunning/notebook
5b26f2dc96bcb36434542b397de6ca5fa3b61a0a
[ "MIT" ]
30
2015-01-28T09:31:29.000Z
2022-03-07T03:08:28.000Z
# -*- coding: utf-8 -*- # <nbformat>3.0</nbformat> # <headingcell level=2> # Try using Xray to convert CSV to netcdf # <codecell> import pandas as pd import xray %matplotlib inline # <codecell> url = 'http://www.cpc.ncep.noaa.gov/products/precip/CWlink/' ao_file = url + 'daily_ao_index/monthly.ao.index.b50.curre...
20.84127
114
0.693831
200
1,313
4.475
0.525
0.026816
0.020112
0.03352
0.042458
0
0
0
0
0
0
0.02454
0.130998
1,313
62
115
21.177419
0.75986
0.299315
0
0
0
0
0.402222
0.142222
0
0
0
0
0
0
null
null
0
0.1
null
null
0.05
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
0
0
0
0
0
0
1
7d3e3e5260da851c6631d56ead0785af49b21c94
1,703
py
Python
gxformat2/yaml.py
simleo/gxformat2
8b1c98a5c5445e73cee4d49a26ef5e555458076c
[ "MIT" ]
null
null
null
gxformat2/yaml.py
simleo/gxformat2
8b1c98a5c5445e73cee4d49a26ef5e555458076c
[ "MIT" ]
null
null
null
gxformat2/yaml.py
simleo/gxformat2
8b1c98a5c5445e73cee4d49a26ef5e555458076c
[ "MIT" ]
null
null
null
"""YAML loading utilities for gxformat2.""" from collections import OrderedDict try: from galaxy.model.custom_types import MutationDict # type: ignore except ImportError: MutationDict = None import yaml def ordered_load_path(path: str, **kwds): """Safe and ordered load of YAML from specified path.""" ...
27.918033
70
0.695831
209
1,703
5.473684
0.330144
0.067308
0.048951
0.047203
0.173077
0.173077
0.101399
0.055944
0
0
0
0.000735
0.201409
1,703
60
71
28.383333
0.840441
0.13212
0
0.102564
0
0
0.043388
0
0
0
0
0
0
1
0.153846
false
0.051282
0.102564
0.025641
0.435897
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
0
0
0
1
7d4b37181049e9ad4912aaca8116c7e88bfa8b53
2,627
py
Python
trifinger_simulation/tasks/move_cube_on_trajectory/run_replay.py
42jaylonw/rrc_2021_three_wolves
f5b8c1589f14c6b8455f438cbb62ed74e9ad8551
[ "BSD-3-Clause" ]
25
2020-08-15T12:11:10.000Z
2022-03-18T12:43:49.000Z
trifinger_simulation/tasks/move_cube_on_trajectory/run_replay.py
42jaylonw/rrc_2021_three_wolves
f5b8c1589f14c6b8455f438cbb62ed74e9ad8551
[ "BSD-3-Clause" ]
12
2020-08-14T09:39:05.000Z
2021-12-15T16:26:53.000Z
trifinger_simulation/tasks/move_cube_on_trajectory/run_replay.py
42jaylonw/rrc_2021_three_wolves
f5b8c1589f14c6b8455f438cbb62ed74e9ad8551
[ "BSD-3-Clause" ]
10
2020-08-17T12:13:29.000Z
2022-02-01T18:28:05.000Z
#!/usr/bin/env python3 """Replay results of ``run_evaluate_policy()`` and compute reward. Reads the files generated by :func:`run_evaluate_policy.run_evaluate_policy` and replays the action logs to verify the result and to compute the total reward over all runs. """ # IMPORTANT: DO NOT MODIFY THIS FILE! # Submission...
28.247312
79
0.590407
315
2,627
4.736508
0.444444
0.064343
0.040214
0.02681
0
0
0
0
0
0
0
0.004274
0.2874
2,627
92
80
28.554348
0.792735
0.223068
0
0.067797
1
0
0.160908
0.029121
0
0
0
0
0
1
0.033898
false
0
0.118644
0
0.152542
0.084746
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
0
0
0
0
0
0
1
7d4ee7dfcdc74f9e1f579f63ef8fb86977b7cda4
1,064
py
Python
tests/test_cast.py
666asd/pfp
ed6ea69bfe33951440bd7f370a662380d49a79ea
[ "MIT" ]
194
2015-06-18T18:20:58.000Z
2022-03-12T20:19:44.000Z
tests/test_cast.py
sthagen/pfp
0b2045b76346ff576115bd148e0e5aa19ba21420
[ "MIT" ]
116
2015-08-10T16:00:46.000Z
2021-08-11T20:24:57.000Z
tests/test_cast.py
sthagen/pfp
0b2045b76346ff576115bd148e0e5aa19ba21420
[ "MIT" ]
38
2015-08-11T03:51:31.000Z
2022-03-17T15:46:25.000Z
#!/usr/bin/env python # encoding: utf-8 import os import struct import sys import unittest sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..")) import pfp import pfp.errors from pfp.fields import * import pfp.utils import utils class TestArrays(utils.PfpTestCase): def setUp(self): pfp.fie...
20.461538
65
0.513158
122
1,064
4.278689
0.516393
0.051724
0.042146
0.057471
0.114943
0.114943
0.114943
0
0
0
0
0.029369
0.359962
1,064
51
66
20.862745
0.737151
0.033835
0
0.137931
0
0
0.024602
0
0
0
0
0
0
1
0.137931
false
0.034483
0.310345
0
0.482759
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
0
0
0
1
ada612e0fbfe8e6370b7d8208291129e2995d2d1
681
py
Python
scrapy-examples/zhihu/zhihu/redis-test.py
Project-Sch/SpiderGarden
1928c9253815f79a03f7a6075dbe83add9a170c8
[ "Apache-2.0" ]
2
2016-06-11T10:39:25.000Z
2017-03-03T04:25:23.000Z
scrapy-examples/zhihu/zhihu/redis-test.py
Project-Sch/SpiderGarden
1928c9253815f79a03f7a6075dbe83add9a170c8
[ "Apache-2.0" ]
null
null
null
scrapy-examples/zhihu/zhihu/redis-test.py
Project-Sch/SpiderGarden
1928c9253815f79a03f7a6075dbe83add9a170c8
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import redis import json r = redis.StrictRedis(host='localhost', port=6379) def dump_all(redis=r): keys = redis.keys('*') pairs = {} for key in keys: type = redis.type(key) val = redis.get(key) try: pairs[key] = eval(val) except Exceptio...
18.916667
58
0.562408
95
681
3.905263
0.473684
0.040431
0.048518
0.070081
0.118598
0.118598
0
0
0
0
0
0.010352
0.290749
681
35
59
19.457143
0.757764
0.101322
0
0.083333
0
0
0.062397
0
0
0
0
0
0
0
null
null
0
0.083333
null
null
0.166667
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
0
0
0
0
0
0
1
ada9e85fc14f1d10936d1d09c6d18db5780a2002
5,800
py
Python
etc/randomsites.py
chaelir/bamsurgeon
a989a1400a4a0a84dcca73aa0ec63f8ff63955e6
[ "MIT" ]
null
null
null
etc/randomsites.py
chaelir/bamsurgeon
a989a1400a4a0a84dcca73aa0ec63f8ff63955e6
[ "MIT" ]
null
null
null
etc/randomsites.py
chaelir/bamsurgeon
a989a1400a4a0a84dcca73aa0ec63f8ff63955e6
[ "MIT" ]
null
null
null
#!/bin/env python import argparse import random import pysam import re import subprocess def main(args): genome = None if args.fastaFile: genome = pysam.Fastafile(args.fastaFile) if args.requireseq and not args.fastaFile: raise ValueError("--requireseq set without -f/--fasta") mapta...
37.908497
144
0.570172
659
5,800
4.980273
0.276176
0.038391
0.072517
0.025594
0.115174
0.106642
0.087751
0.063985
0.040219
0.040219
0
0.006743
0.309655
5,800
152
145
38.157895
0.812937
0.036724
0
0.213675
0
0
0.159735
0
0
0
0
0
0.025641
0
null
null
0
0.042735
null
null
0.025641
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
0
0
0
0
0
0
1
adab55585e2853b24b97d48a069fe88ea430511a
8,018
py
Python
content/lectures/lecture20/notebook/helper.py
DavidAssaraf106/2021-CS109B
502970bf8bb653222eade0ff42d1fc2c54d3fa74
[ "MIT" ]
2
2021-02-06T02:56:05.000Z
2021-03-24T22:53:43.000Z
docs/lectures/lecture20/notebook/helper.py
AI-DataScience/2021-CS109B
6fd61103aab42c56fc49db49b2f617fb75871a7e
[ "MIT" ]
null
null
null
docs/lectures/lecture20/notebook/helper.py
AI-DataScience/2021-CS109B
6fd61103aab42c56fc49db49b2f617fb75871a7e
[ "MIT" ]
null
null
null
import numpy as np # Function to get the initial loss # Arguments: vocabbulary size, length of sequences i.e. number of words to generate # ***** def get_initial_loss(vocab_size, seq_length): return -np.log(1.0 / vocab_size) * seq_length # Moving average instead current loss # ***** def smooth(loss, cur_loss): ...
32.072
119
0.643801
1,202
8,018
4.191348
0.180532
0.021437
0.0131
0.019849
0.15661
0.087932
0.065105
0.024613
0.014291
0.014291
0
0.019256
0.229234
8,018
249
120
32.200803
0.795955
0.33562
0
0.052632
1
0
0.035769
0
0
0
0
0
0
1
0.122807
false
0
0.008772
0.017544
0.245614
0.017544
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
0
0
0
0
0
0
1
adab9a93ddec01269dc5e898a1ee2d5822f34cdc
1,760
py
Python
conf/Config.py
tjuwlz/transformer_for_textclassification
159d9025361671c5a63c425aca3fc5bcb24eea78
[ "Apache-2.0" ]
2
2019-07-25T07:13:43.000Z
2019-07-27T07:31:41.000Z
conf/Config.py
LindgeW/transformer_for_textclassification
159d9025361671c5a63c425aca3fc5bcb24eea78
[ "Apache-2.0" ]
null
null
null
conf/Config.py
LindgeW/transformer_for_textclassification
159d9025361671c5a63c425aca3fc5bcb24eea78
[ "Apache-2.0" ]
null
null
null
import json import argparse def data_path_conf(path): with open(path, 'r', encoding='utf-8') as fin: opts = json.load(fin) return opts def arg_conf(): parser = argparse.ArgumentParser("Text Classification") # 通用参数 parser.add_argument("--cuda", type=int, default=-1, help="which device, de...
42.926829
110
0.695455
255
1,760
4.678431
0.423529
0.11316
0.213747
0.083822
0.209556
0.144174
0.067058
0.067058
0
0
0
0.019346
0.148295
1,760
40
111
44
0.776518
0.019318
0
0
0
0
0.299419
0
0
0
0
0
0
1
0.076923
false
0
0.076923
0
0.230769
0.038462
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
adb4093b5b0277c81e70635f4731c48e9c5581b4
2,868
py
Python
train/vpc/images.py
Zenika/train
ba9f3ea3e5a237c691130c8871698bbcabe34dfc
[ "Apache-2.0" ]
null
null
null
train/vpc/images.py
Zenika/train
ba9f3ea3e5a237c691130c8871698bbcabe34dfc
[ "Apache-2.0" ]
7
2019-02-14T06:00:04.000Z
2019-11-05T10:47:24.000Z
train/vpc/images.py
Zenika/train
ba9f3ea3e5a237c691130c8871698bbcabe34dfc
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """Train AMI image management""" from config import * import boto.vpc import instances as inst import labs as labs import util def get_running_labs(conn, user_vpc): """List/Return all running labs""" labs = [] instances = inst.get_vpc_instances(conn, user_...
28.117647
103
0.57636
378
2,868
4.261905
0.246032
0.065177
0.03414
0.032278
0.29671
0.272502
0.198014
0.140286
0.091868
0
0
0.015137
0.262901
2,868
101
104
28.39604
0.746925
0.028591
0
0.169492
0
0
0.155606
0
0
0
0
0
0
0
null
null
0
0.084746
null
null
0.237288
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
0
0
0
0
0
0
1
adb47a0a987827b5ff07ce3b071002f48be25097
25,882
py
Python
integration_test/test_maintenance.py
lynix94/nbase-arc
4de3c20ebd2f5ed13ab83dbc6a608f44e812ca78
[ "Apache-2.0" ]
176
2015-12-30T08:44:30.000Z
2022-03-15T08:10:39.000Z
integration_test/test_maintenance.py
lynix94/nbase-arc
4de3c20ebd2f5ed13ab83dbc6a608f44e812ca78
[ "Apache-2.0" ]
35
2016-03-24T08:29:51.000Z
2021-12-09T20:06:39.000Z
integration_test/test_maintenance.py
lynix94/nbase-arc
4de3c20ebd2f5ed13ab83dbc6a608f44e812ca78
[ "Apache-2.0" ]
65
2015-12-30T09:05:13.000Z
2022-03-15T08:10:43.000Z
# # Copyright 2015 Naver Corp. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing...
40.377535
183
0.56773
3,320
25,882
4.232831
0.098193
0.024906
0.030527
0.027752
0.663132
0.621291
0.575322
0.546503
0.508504
0.491852
0
0.011406
0.312379
25,882
640
184
40.440625
0.778221
0.074337
0
0.513274
0
0.002212
0.153985
0.001926
0
0
0
0
0.143805
0
null
null
0.002212
0.033186
null
null
0.015487
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
0
0
0
0
0
0
1
adb73246cba192b86c79a1b4f2c61c6ba29e197f
6,624
py
Python
pcap.py
chroniccrash/c4rtographer
bb37ad3608561c5110510d6e41ffa1156716b21e
[ "MIT" ]
null
null
null
pcap.py
chroniccrash/c4rtographer
bb37ad3608561c5110510d6e41ffa1156716b21e
[ "MIT" ]
null
null
null
pcap.py
chroniccrash/c4rtographer
bb37ad3608561c5110510d6e41ffa1156716b21e
[ "MIT" ]
null
null
null
from scapy.all import * import neo4jloader, graph FIN=0x01 SYN=0x02 RST=0x04 PSH=0x08 ACK=0x10 URG=0x20 ECE=0x40 CWR=0x80 class PcapDataModel(object): def __init__(self): self.graphmodel = graph.GraphModel() def add_ipv4(self, ipaddress, **kwargs): properties = dict() for key in kwar...
41.660377
122
0.535477
681
6,624
5.105727
0.18649
0.064423
0.050618
0.046304
0.633305
0.561404
0.553351
0.553351
0.46822
0.46822
0
0.017305
0.345713
6,624
158
123
41.924051
0.784956
0.020984
0
0.510638
0
0
0.05945
0
0
0
0.004941
0
0
1
0.06383
false
0.106383
0.014184
0
0.148936
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
0
0
0
1
adb9d46c734dd67dd10664b6eb9d8bca5e3fdd2e
6,821
py
Python
sdnh.py
The-SocialLion/Sarcasm-Detection-in-News-Headline-using-CNN-
4357a384848deddf9f520b3beb1f0d4f2337daa2
[ "Apache-2.0" ]
null
null
null
sdnh.py
The-SocialLion/Sarcasm-Detection-in-News-Headline-using-CNN-
4357a384848deddf9f520b3beb1f0d4f2337daa2
[ "Apache-2.0" ]
null
null
null
sdnh.py
The-SocialLion/Sarcasm-Detection-in-News-Headline-using-CNN-
4357a384848deddf9f520b3beb1f0d4f2337daa2
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """SDNH.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1Cl2tkWevRRFJF-XQmu77T_WMVxpawdl2 #**Sarcasm Detection using Multi Channel CNN In News Headlines** """ import numpy as np import pandas as pd from sklearn.model_sele...
27.284
117
0.712652
927
6,821
5.152104
0.331176
0.024497
0.025126
0.021985
0.171482
0.104271
0.068258
0.068258
0.068258
0.068258
0
0.025632
0.136344
6,821
250
118
27.284
0.785096
0.08855
0
0.109677
1
0
0.073675
0.010597
0
0
0
0
0
1
0.025806
false
0
0.141935
0
0.187097
0.025806
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
0
0
0
0
0
0
1
adc7a7ae7b3afb064d1f20cedb8b1938f82775a4
515
py
Python
Utils.py
jesson20121020/myRobot
667213f6b21ac69dddeff453c4ec663e3e082e73
[ "Apache-2.0" ]
2
2016-12-25T14:31:47.000Z
2016-12-27T02:30:53.000Z
Utils.py
jesson20121020/myRobot
667213f6b21ac69dddeff453c4ec663e3e082e73
[ "Apache-2.0" ]
null
null
null
Utils.py
jesson20121020/myRobot
667213f6b21ac69dddeff453c4ec663e3e082e73
[ "Apache-2.0" ]
null
null
null
#coding:utf-8 def is_chinese(uchar): """判断一个unicode是否是汉字""" if uchar >= u'\u4e00' and uchar<=u'\u9fa5': return True else: return False # def is_number(uchar): # """判断一个unicode是否是数字""" # if uchar >= u'u0030' and uchar<=u'u0039': # return True # else: # return False def is_number(s): ...
15.147059
45
0.625243
65
515
4.907692
0.476923
0.075235
0.050157
0.125392
0.225705
0.225705
0.225705
0.225705
0
0
0
0.036269
0.250485
515
33
46
15.606061
0.790155
0.299029
0
0.5
0
0
0.037975
0
0
0
0
0
0
1
0.111111
false
0.111111
0.055556
0
0.444444
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
0
0
0
1
adca69dfa18758af98f3b929311383316a6cdba2
2,505
py
Python
vsutillib/vsutillib-pyqt/vsutillib/pyqt/classes/QDarkPalette.py
akai10tsuki/vsutillib
6d623171cc2a5c66a94fb508bfc312abeab49ff2
[ "MIT" ]
null
null
null
vsutillib/vsutillib-pyqt/vsutillib/pyqt/classes/QDarkPalette.py
akai10tsuki/vsutillib
6d623171cc2a5c66a94fb508bfc312abeab49ff2
[ "MIT" ]
null
null
null
vsutillib/vsutillib-pyqt/vsutillib/pyqt/classes/QDarkPalette.py
akai10tsuki/vsutillib
6d623171cc2a5c66a94fb508bfc312abeab49ff2
[ "MIT" ]
null
null
null
""" QDarkPalette class """ from PySide2.QtGui import QBrush, QPalette, QColor from PySide2.QtWidgets import QApplication BLACK: QColor = QColor(0, 0, 0) RED: QColor = QColor(255, 0, 0) WHITE: QColor = QColor(255, 255, 255) BASE: QColor = QColor(18, 18, 18) DISABLED: QColor = QColor(127, 127, 127) PRIMARY: QColor = ...
36.304348
88
0.659082
289
2,505
5.67128
0.342561
0.131788
0.219646
0.065894
0.157413
0.080537
0
0
0
0
0
0.028875
0.211976
2,505
68
89
36.838235
0.801418
0.138124
0
0
0
0
0.058189
0
0
0
0
0
0
1
0.086957
false
0
0.043478
0
0.173913
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
add0625de68bc3b98572eb11ddfa634e81a7d2cb
8,058
py
Python
source/img_gen.py
sanixa/GS-WGAN-custom
77660d4ba9f0e8ae949d76c29bb1b11d0afd9f96
[ "MIT" ]
null
null
null
source/img_gen.py
sanixa/GS-WGAN-custom
77660d4ba9f0e8ae949d76c29bb1b11d0afd9f96
[ "MIT" ]
null
null
null
source/img_gen.py
sanixa/GS-WGAN-custom
77660d4ba9f0e8ae949d76c29bb1b11d0afd9f96
[ "MIT" ]
null
null
null
# + import os, sys import numpy as np import random import torch from torch.autograd import Variable from tqdm import tqdm import torchvision.transforms as transforms from torchvision.datasets import CIFAR10, MNIST # - from config import * from models import * from utils import * class GeneratorDCGAN(nn.Module): ...
34.289362
101
0.644577
1,164
8,058
4.285223
0.17354
0.064154
0.051323
0.040096
0.586207
0.521652
0.415798
0.415798
0.373296
0.343424
0
0.037049
0.212832
8,058
234
102
34.435897
0.74933
0
0
0.386076
0
0
0.048028
0.018047
0
0
0
0
0
0
null
null
0.006329
0.06962
null
null
0.018987
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
0
0
0
0
0
0
1
add3e01209bf0eb729c2b8c565dcc3c00c1970b2
444
py
Python
learning-python/Ch2/variables_start.py
thatguyandy27/python-sandbox
33dffa286aee942c93c75303ab463313020bbd7a
[ "MIT" ]
null
null
null
learning-python/Ch2/variables_start.py
thatguyandy27/python-sandbox
33dffa286aee942c93c75303ab463313020bbd7a
[ "MIT" ]
null
null
null
learning-python/Ch2/variables_start.py
thatguyandy27/python-sandbox
33dffa286aee942c93c75303ab463313020bbd7a
[ "MIT" ]
null
null
null
# # Example file for variables # (For Python 3.x, be sure to use the ExampleSnippets3.txt file) f = 0 # print(f) # f = "abc" # print(f) # print("String type: " + str(123)) def someFunction(): global f f = "def" print(f) someFunction() print(f) print(someFunction()) print(someFunction) def func2(a...
11.384615
64
0.614865
68
444
4.014706
0.470588
0.087912
0.080586
0
0
0
0
0
0
0
0
0.063584
0.220721
444
38
65
11.684211
0.725434
0.34009
0
0.125
0
0
0.014085
0
0
0
0
0
0
1
0.1875
false
0
0
0.0625
0.25
0.4375
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
0
0
1
0
1
add6a89974e66569ebdaabc7f02e36583551d850
587
py
Python
cara/tests/test_model.py
pk-scs/cara
9bc450aad83a21a1c34b765636c685ad17399935
[ "Apache-2.0" ]
null
null
null
cara/tests/test_model.py
pk-scs/cara
9bc450aad83a21a1c34b765636c685ad17399935
[ "Apache-2.0" ]
1
2022-03-07T08:10:45.000Z
2022-03-07T08:10:45.000Z
cara/tests/test_model.py
pk-scs/cara
9bc450aad83a21a1c34b765636c685ad17399935
[ "Apache-2.0" ]
2
2022-02-09T16:19:50.000Z
2022-03-01T13:50:44.000Z
import cara.models from cara.dataclass_utils import nested_replace def test_exposure_r0(baseline_exposure_model): baseline_n3 = nested_replace( baseline_exposure_model, {'concentration_model.infected.number': 3} ) # The number of new cases should be greater if there are more infecteds, but # t...
45.153846
93
0.787053
80
587
5.4875
0.525
0.145786
0.191344
0
0
0
0
0
0
0
0
0.01002
0.149915
587
12
94
48.916667
0.869739
0.267462
0
0
0
0
0.081967
0.081967
0
0
0
0
0.25
1
0.125
false
0
0.25
0
0.375
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ade074628bb89ef5da1f4096536be87ab753c04e
321
py
Python
top-words/top-words.py
einstein9998/internship
b4f5f2521a2719c190deaa3492d2c6ae7b517cf2
[ "MIT" ]
1
2018-05-08T20:30:06.000Z
2018-05-08T20:30:06.000Z
top-words/top-words.py
einstein9998/Internship
b4f5f2521a2719c190deaa3492d2c6ae7b517cf2
[ "MIT" ]
null
null
null
top-words/top-words.py
einstein9998/Internship
b4f5f2521a2719c190deaa3492d2c6ae7b517cf2
[ "MIT" ]
null
null
null
#!/mnt/c/Users/wulfa/AppData/Local/Programs/Python/Python36-32/python.exe import re import sys from collections import Counter num_words = int(sys.argv[1]) text = sys.stdin.read().lower() words = re.split('\W+', text) cnt = Counter(words) for word, count in cnt.most_common(num_words): print (word + " " + str(count)...
32.1
73
0.719626
52
321
4.384615
0.711538
0.070175
0
0
0
0
0
0
0
0
0
0.017606
0.115265
321
10
74
32.1
0.785211
0.224299
0
0
0
0
0.016064
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.111111
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
0
0
0
1