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
82755d27975aee359ef95134a20edfaef95327be
1,128
py
Python
corehq/util/elastic.py
rochakchauhan/commcare-hq
aa7ab3c2d0c51fe10f2b51b08101bb4b5a376236
[ "BSD-3-Clause" ]
null
null
null
corehq/util/elastic.py
rochakchauhan/commcare-hq
aa7ab3c2d0c51fe10f2b51b08101bb4b5a376236
[ "BSD-3-Clause" ]
1
2021-06-02T04:45:16.000Z
2021-06-02T04:45:16.000Z
corehq/util/elastic.py
rochakchauhan/commcare-hq
aa7ab3c2d0c51fe10f2b51b08101bb4b5a376236
[ "BSD-3-Clause" ]
null
null
null
from django.conf import settings from corehq.util.es.elasticsearch import NotFoundError from corehq.util.test_utils import unit_testing_only, trap_extra_setup from pillowtop.es_utils import initialize_index_and_mapping TEST_ES_PREFIX = 'test_' def es_index(index): prefix = '' if not settings.UNIT_TESTING else T...
26.232558
88
0.757092
157
1,128
5.089172
0.350318
0.078849
0.075094
0.067584
0.12766
0.077597
0.077597
0
0
0
0
0
0.172872
1,128
42
89
26.857143
0.856377
0
0
0.233333
0
0
0.049645
0
0
0
0
0
0
1
0.133333
false
0.066667
0.2
0
0.4
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
8275918570c25a1022dfdefb3e617e716edae468
2,781
py
Python
models/Losses.py
shadowwkl/MIL-Face-SR
091b34400622554902c8075c731d5fbd04d19894
[ "MIT" ]
1
2021-03-26T14:42:35.000Z
2021-03-26T14:42:35.000Z
models/Losses.py
shadowwkl/MIL-Face-SR
091b34400622554902c8075c731d5fbd04d19894
[ "MIT" ]
null
null
null
models/Losses.py
shadowwkl/MIL-Face-SR
091b34400622554902c8075c731d5fbd04d19894
[ "MIT" ]
null
null
null
import numpy as np import torch import torch.nn as nn # ============================================================= # Interface for the losses # ============================================================= class GANLoss: """ Base class for all losses @args: dis: Discriminator used for calcu...
33.107143
108
0.605897
349
2,781
4.621777
0.312321
0.044637
0.029758
0.031618
0.450093
0.450093
0.380657
0.347179
0.323621
0.323621
0
0.009305
0.265732
2,781
83
109
33.506024
0.780607
0.354549
0
0.125
0
0
0.0492
0
0
0
0
0
0
1
0.21875
false
0
0.09375
0
0.46875
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
827c970dee2c1730a7fd13e1804b35b823db3217
929
py
Python
backend/bomberbot/models/lesson.py
somarae8/bomberbot_finalproject
732df88487087e067ba3048cda6d92a0fe63586a
[ "MIT" ]
2
2020-11-03T17:37:20.000Z
2020-11-03T19:34:25.000Z
backend/bomberbot/models/lesson.py
somarae8/bomberbot_finalproject
732df88487087e067ba3048cda6d92a0fe63586a
[ "MIT" ]
null
null
null
backend/bomberbot/models/lesson.py
somarae8/bomberbot_finalproject
732df88487087e067ba3048cda6d92a0fe63586a
[ "MIT" ]
1
2020-11-03T16:48:58.000Z
2020-11-03T16:48:58.000Z
"""Lesson model""" import uuid from django.db import models from .classroom import Classroom class Lesson(models.Model): """Model that is an abstraction of a lesson inside the platform Args: name: Lesson name. classroom_id: classroom id to which the lesson must be assigned. average_scor...
30.966667
92
0.697524
119
929
5.327731
0.537815
0.05205
0.072555
0.082019
0
0
0
0
0
0
0
0.00411
0.214209
929
29
93
32.034483
0.864384
0.345533
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0.25
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
82851bcc927c02a5a8abb7eec4b8f4cf8834f91a
2,237
py
Python
tests/core/session_storage_test.py
FrancoisLopez/netman
a40d3235f7ea0cdaf52daab97b0d5ad20857b00e
[ "Apache-2.0" ]
38
2015-11-30T10:11:42.000Z
2022-02-10T18:31:44.000Z
tests/core/session_storage_test.py
FrancoisLopez/netman
a40d3235f7ea0cdaf52daab97b0d5ad20857b00e
[ "Apache-2.0" ]
143
2015-12-10T19:00:42.000Z
2020-08-20T13:51:42.000Z
tests/core/session_storage_test.py
idjaw/netman
58ba898de6e450a24b4f1721ce274ad3e12f9d33
[ "Apache-2.0" ]
15
2015-12-14T23:03:30.000Z
2019-01-15T19:35:45.000Z
# Copyright 2015 Internap. # # 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, so...
42.207547
89
0.751006
290
2,237
5.562069
0.348276
0.088655
0.137012
0.078115
0.466832
0.421575
0.33974
0.298202
0.298202
0.239926
0
0.004262
0.16093
2,237
52
90
43.019231
0.855088
0.244077
0
0.233333
0
0
0.090638
0
0
0
0
0
0.233333
1
0.233333
false
0
0.166667
0
0.433333
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
828912d2d0bf43685c71a7189c33ee0c16dab462
263
py
Python
socio/verification/__main__.py
rjazevedo/dados-unicamp
4b77906d5348647dcdba1b8cb09f46d2cac53457
[ "MIT" ]
null
null
null
socio/verification/__main__.py
rjazevedo/dados-unicamp
4b77906d5348647dcdba1b8cb09f46d2cac53457
[ "MIT" ]
null
null
null
socio/verification/__main__.py
rjazevedo/dados-unicamp
4b77906d5348647dcdba1b8cb09f46d2cac53457
[ "MIT" ]
null
null
null
from socio.verification import verify import logging def verify_databases(): logging.basicConfig(level=logging.INFO) verify.verify_socio() verify.verify_empresa() verify.verify_cnae_secundaria() if __name__ == '__main__': verify_databases()
21.916667
43
0.756654
30
263
6.166667
0.566667
0.194595
0
0
0
0
0
0
0
0
0
0
0.148289
263
11
44
23.909091
0.825893
0
0
0
0
0
0.030418
0
0
0
0
0
0
1
0.111111
true
0
0.222222
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
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
828c3903970d8917cbcfe89212534d66b2d3f442
2,336
py
Python
split_meet/apps/accounts/views.py
rishabh3354/split_meet
7a51b5c7bfb840f4480a1e43ba931006f92b18e2
[ "MIT" ]
null
null
null
split_meet/apps/accounts/views.py
rishabh3354/split_meet
7a51b5c7bfb840f4480a1e43ba931006f92b18e2
[ "MIT" ]
null
null
null
split_meet/apps/accounts/views.py
rishabh3354/split_meet
7a51b5c7bfb840f4480a1e43ba931006f92b18e2
[ "MIT" ]
null
null
null
import json from django.http import HttpResponse from django.shortcuts import render from django.template import RequestContext from django.views import View from apps.accounts.helpers import email_validation_check, check_if_password_match from apps.accounts.models import User class SignupUser(View): def get(sel...
35.393939
106
0.565068
238
2,336
5.382353
0.319328
0.054645
0.088993
0.081187
0.240437
0.078845
0.056206
0
0
0
0
0
0.324914
2,336
65
107
35.938462
0.812302
0.020976
0
0.177778
0
0
0.173112
0.01214
0
0
0
0
0
1
0.111111
false
0.133333
0.155556
0
0.422222
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
82904eda559e4920716ae16204f8c786071f3639
163
py
Python
Popsicles/Popsicles.py
LimitlessWill/SoloLearn
10b8130745acfb05df58cdb7ad8406108a2f6467
[ "Apache-2.0" ]
2
2021-11-30T21:34:50.000Z
2021-11-30T21:49:36.000Z
Popsicles/Popsicles.py
LimitlessWill/SoloLearn
10b8130745acfb05df58cdb7ad8406108a2f6467
[ "Apache-2.0" ]
null
null
null
Popsicles/Popsicles.py
LimitlessWill/SoloLearn
10b8130745acfb05df58cdb7ad8406108a2f6467
[ "Apache-2.0" ]
null
null
null
siblings = int(input()) popsicles = int(input()) #your code goes here if((popsicles % siblings)==0): print("give away") else: print("eat them yourself")
13.583333
30
0.650307
22
163
4.818182
0.772727
0.150943
0
0
0
0
0
0
0
0
0
0.007463
0.177914
163
11
31
14.818182
0.783582
0.116564
0
0
0
0
0.181818
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
8297a14ee03194fc6a2b06be57877c40739585bc
3,646
py
Python
src/utils/Utils.py
banacer/door-wiz
a2ca2ba2ba9b907d030c4dadce1b2813597d205a
[ "MIT" ]
1
2016-05-08T06:32:09.000Z
2016-05-08T06:32:09.000Z
src/utils/Utils.py
banacer/door-wiz
a2ca2ba2ba9b907d030c4dadce1b2813597d205a
[ "MIT" ]
null
null
null
src/utils/Utils.py
banacer/door-wiz
a2ca2ba2ba9b907d030c4dadce1b2813597d205a
[ "MIT" ]
null
null
null
""" This file contains a set of utilities function needed by other modules """ import numpy as np import pandas as pd from pandas import DataFrame, Series from pymongo import MongoClient import pika import sys import json def convert_file_to_data_frame(filename, id, MAX_HEIGHT, MAX_WIDTH): """ read data from ...
28.708661
78
0.621777
469
3,646
4.724947
0.34968
0.032491
0.013538
0.015343
0.146209
0.114621
0.114621
0.08574
0.08574
0.08574
0
0.011976
0.267142
3,646
126
79
28.936508
0.817365
0.02249
0
0.184615
0
0
0.05246
0
0
0
0
0
0
0
null
null
0
0.107692
null
null
0.076923
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
82a5d68e46da9781d9795314c8f12aa84782dcfc
819
py
Python
Trakttv.bundle/Contents/Libraries/Shared/plex_database/models/media_part.py
disrupted/Trakttv.bundle
24712216c71f3b22fd58cb5dd89dad5bb798ed60
[ "RSA-MD" ]
1,346
2015-01-01T14:52:24.000Z
2022-03-28T12:50:48.000Z
Trakttv.bundle/Contents/Libraries/Shared/plex_database/models/media_part.py
alcroito/Plex-Trakt-Scrobbler
4f83fb0860dcb91f860d7c11bc7df568913c82a6
[ "RSA-MD" ]
474
2015-01-01T10:27:46.000Z
2022-03-21T12:26:16.000Z
Trakttv.bundle/Contents/Libraries/Shared/plex_database/models/media_part.py
alcroito/Plex-Trakt-Scrobbler
4f83fb0860dcb91f860d7c11bc7df568913c82a6
[ "RSA-MD" ]
191
2015-01-02T18:27:22.000Z
2022-03-29T10:49:48.000Z
from plex_database.core import db from plex_database.models.directory import Directory from plex_database.models.media_item import MediaItem from peewee import * class MediaPart(Model): class Meta: database = db db_table = 'media_parts' media_item = ForeignKeyField(MediaItem, null=True, rela...
27.3
82
0.736264
100
819
5.86
0.4
0.163823
0.116041
0.117747
0.098976
0.098976
0
0
0
0
0
0
0.175824
819
29
83
28.241379
0.868148
0
0
0
0
0
0.040293
0
0
0
0
0
0
1
0
false
0
0.2
0
0.9
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
82a6c5c97e6d0aa935d4e27614bfd00345d0d8e8
11,614
py
Python
spytest/spytest/rest.py
mykolaf/sonic-mgmt
de77268526173c5e3a345f3f3703b56eb40c5eed
[ "Apache-2.0" ]
1
2021-09-15T17:09:13.000Z
2021-09-15T17:09:13.000Z
spytest/spytest/rest.py
mykolaf/sonic-mgmt
de77268526173c5e3a345f3f3703b56eb40c5eed
[ "Apache-2.0" ]
1
2020-02-05T16:51:53.000Z
2020-02-05T16:51:53.000Z
spytest/spytest/rest.py
mykolaf/sonic-mgmt
de77268526173c5e3a345f3f3703b56eb40c5eed
[ "Apache-2.0" ]
null
null
null
import os import glob import requests import warnings import jsonpatch from jinja2 import Environment from spytest.dicts import SpyTestDict from utilities import common as utils from utilities import json_helpers as json class Rest(object): def __init__(self, logger=None): self.base_url = os.getenv("SPY...
38.713333
108
0.545635
1,287
11,614
4.810412
0.166278
0.015829
0.019545
0.020352
0.298498
0.264578
0.239703
0.232757
0.232757
0.211921
0
0.005519
0.329172
11,614
299
109
38.842809
0.789116
0.004391
0
0.259399
0
0
0.075685
0.0205
0
0
0
0
0.003759
1
0.093985
false
0.067669
0.033835
0.003759
0.203008
0.045113
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
82ada77009f0d7f85c0b96875104a798904048a3
1,256
py
Python
arviz/data/io_json.py
sudojarvis/arviz
73531be4f23df7d764b2e3bec8c5ef5cb882590d
[ "Apache-2.0" ]
1,159
2018-04-03T08:50:54.000Z
2022-03-31T18:03:52.000Z
arviz/data/io_json.py
sudojarvis/arviz
73531be4f23df7d764b2e3bec8c5ef5cb882590d
[ "Apache-2.0" ]
1,656
2018-03-23T14:15:05.000Z
2022-03-31T14:00:28.000Z
arviz/data/io_json.py
sudojarvis/arviz
73531be4f23df7d764b2e3bec8c5ef5cb882590d
[ "Apache-2.0" ]
316
2018-04-03T14:25:52.000Z
2022-03-25T10:41:29.000Z
"""Input and output support for data.""" from .io_dict import from_dict try: import ujson as json except ImportError: # Can't find ujson using json # mypy struggles with conditional imports expressed as catching ImportError: # https://github.com/python/mypy/issues/1153 import json # type: ignore ...
22.836364
92
0.647293
163
1,256
4.920245
0.472393
0.041147
0.052369
0.032419
0.19202
0.19202
0.19202
0.19202
0.19202
0.19202
0
0.004246
0.25
1,256
54
93
23.259259
0.847134
0.613057
0
0
0
0
0.005305
0
0
0
0
0
0
1
0.166667
false
0
0.333333
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
0
0
0
1
0
0
0
0
1
82b8de3c8e0c28855da4e0558c8a4ae39cd6d669
242
py
Python
chill/examples/chill/testcases/distribute1.script.py
CompOpt4Apps/Artifact-DataDepSimplify
4fa1bf2bda2902fec50a54ee79ae405a554fc9f4
[ "MIT" ]
5
2019-05-20T03:35:41.000Z
2021-09-16T22:22:13.000Z
chill/examples/chill/testcases/distribute1.script.py
CompOpt4Apps/Artifact-DataDepSimplify
4fa1bf2bda2902fec50a54ee79ae405a554fc9f4
[ "MIT" ]
null
null
null
chill/examples/chill/testcases/distribute1.script.py
CompOpt4Apps/Artifact-DataDepSimplify
4fa1bf2bda2902fec50a54ee79ae405a554fc9f4
[ "MIT" ]
null
null
null
# # example from CHiLL manual page 10 # # distribute # from chill import * source('distribute.c') destination('distribute1modified.c') procedure('mm') loop(0) known('ambn > 0') known('an > 0') known('bm > 0') distribute([0,1], 1)
9.68
36
0.644628
33
242
4.727273
0.636364
0.115385
0
0
0
0
0
0
0
0
0
0.050251
0.177686
242
24
37
10.083333
0.733668
0.18595
0
0
0
0
0.294118
0.112299
0
0
0
0
0
1
0
true
0
0.111111
0
0.111111
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
82bfa4a60f500f5a4981fcf5344b3c8bef8a1ca8
1,978
py
Python
tools/trace_analysis.py
forkjoseph/vnperf
1386beb153aa6ec322949de5efbf398b4981226f
[ "Apache-2.0" ]
2
2020-02-03T14:07:47.000Z
2022-03-22T20:06:26.000Z
tools/trace_analysis.py
forkjoseph/vnperf
1386beb153aa6ec322949de5efbf398b4981226f
[ "Apache-2.0" ]
null
null
null
tools/trace_analysis.py
forkjoseph/vnperf
1386beb153aa6ec322949de5efbf398b4981226f
[ "Apache-2.0" ]
1
2018-10-15T12:51:33.000Z
2018-10-15T12:51:33.000Z
#!/usr/bin/env python # USAGE: ./trace_analysis.py -f [TRACE(s)] import argparse import pandas as pd import numpy as np parser = argparse.ArgumentParser(description='Vehicular network trace analyzer') parser.add_argument('-f', '--filenames', help='', default=[], required=True, type=str, action='append') args ...
31.396825
80
0.545501
285
1,978
3.729825
0.389474
0.018815
0.028222
0.052681
0.264346
0.21731
0.195673
0.168391
0.168391
0.111947
0
0.024
0.241658
1,978
62
81
31.903226
0.684667
0.131951
0
0.152174
0
0
0.141438
0
0
0
0
0
0
0
null
null
0
0.065217
null
null
0.369565
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
82c02fd20eca96cf09879951b5e1bb0987736410
598
py
Python
test/test.py
trentm/platinfo
ee99b050615b9d97311f8f5cba03de5b09582ccd
[ "MIT" ]
null
null
null
test/test.py
trentm/platinfo
ee99b050615b9d97311f8f5cba03de5b09582ccd
[ "MIT" ]
1
2015-11-03T20:34:32.000Z
2015-11-03T20:34:32.000Z
test/test.py
trentm/platinfo
ee99b050615b9d97311f8f5cba03de5b09582ccd
[ "MIT" ]
null
null
null
#!/usr/bin/env python # Copyright (c) 2009 ActiveState Software Inc. """The platinfo test suite entry point.""" import os from os.path import exists, join, dirname, abspath import sys import logging from pprint import pprint import testlib log = logging.getLogger("test") default_tags = ["-knownfailure"] def setu...
21.357143
73
0.72408
82
598
5.060976
0.634146
0.079518
0
0
0
0
0
0
0
0
0
0.009901
0.155518
598
27
74
22.148148
0.811881
0.250836
0
0
0
0
0.063781
0
0
0
0
0
0
1
0.071429
false
0
0.428571
0
0.5
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
82c7a62ed4fd8db6de45de26c6e075645c95513c
20,716
py
Python
source/calibration_algorithm.py
johnsjob/master-thesis
97b65d1c64ee3ca7c4caaaf2f8712b8f6a2fccce
[ "MIT" ]
null
null
null
source/calibration_algorithm.py
johnsjob/master-thesis
97b65d1c64ee3ca7c4caaaf2f8712b8f6a2fccce
[ "MIT" ]
null
null
null
source/calibration_algorithm.py
johnsjob/master-thesis
97b65d1c64ee3ca7c4caaaf2f8712b8f6a2fccce
[ "MIT" ]
1
2019-11-22T09:57:45.000Z
2019-11-22T09:57:45.000Z
# -*- coding: cp1252 -*- from __future__ import division #----------------------------------------# import numpy import numpy as n import utils from pylab import xlim, ylim from numpy.linalg import solve, lstsq, det, inv, cond, svd from numpy import array as mat, log10, diag #--------------------------------...
41.766129
136
0.557637
2,534
20,716
4.352013
0.163378
0.04679
0.041893
0.020312
0.412949
0.333243
0.273667
0.2286
0.194596
0.171201
0
0.032118
0.275584
20,716
495
137
41.850505
0.702739
0.28828
0
0.122924
0
0
0.134409
0.028335
0
0
0
0
0
0
null
null
0.003322
0.033223
null
null
0.049834
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
82ce87ff570456414222e0aaf6b17c5158bdf4cb
1,313
py
Python
lianjia_fetch/proxy/mutilprocess_fetch_proxy.py
lxyangfan/lianjia_fetch
13da2a255552d212614131292b81e09d54117c6b
[ "MIT" ]
null
null
null
lianjia_fetch/proxy/mutilprocess_fetch_proxy.py
lxyangfan/lianjia_fetch
13da2a255552d212614131292b81e09d54117c6b
[ "MIT" ]
null
null
null
lianjia_fetch/proxy/mutilprocess_fetch_proxy.py
lxyangfan/lianjia_fetch
13da2a255552d212614131292b81e09d54117c6b
[ "MIT" ]
1
2018-04-14T08:27:36.000Z
2018-04-14T08:27:36.000Z
# ! -*- encoding:utf8 -*- import multiprocessing as MP from multiprocessing import Manager, Queue, Value, Lock import time def task(url, v): print 'Url is:', url v.value += 1 return url def apply_pool_test(): url = 'http://sh.lianjia.com/d' useful_proxy_num = Value('i', 0) pool_size = MP.cp...
23.446429
75
0.617669
189
1,313
4.100529
0.380952
0.061935
0.072258
0.049032
0.175484
0.175484
0.105806
0.105806
0.105806
0.105806
0
0.01503
0.239909
1,313
56
76
23.446429
0.761523
0.092155
0
0.263158
0
0
0.165122
0
0
0
0
0
0
0
null
null
0
0.078947
null
null
0.184211
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
82d5dc20c703bf75bee281da0ca65cc8800362dd
1,343
py
Python
tests/utils/user.py
ebreton/full-stack-fastapi-deta
59b48d78207d48c48ea4d1faa5f8061769bb8c3e
[ "MIT" ]
6
2020-12-12T01:57:28.000Z
2021-02-02T20:13:30.000Z
tests/utils/user.py
ebreton/full-stack-fastapi-deta
59b48d78207d48c48ea4d1faa5f8061769bb8c3e
[ "MIT" ]
null
null
null
tests/utils/user.py
ebreton/full-stack-fastapi-deta
59b48d78207d48c48ea4d1faa5f8061769bb8c3e
[ "MIT" ]
null
null
null
from typing import Dict from deta import Base from fastapi.testclient import TestClient from backend.schemas.user import User, UserCreate, UserUpdate from backend.users import crud from .utils import random_email, random_lower_string def user_authentication_headers( *, client: TestClient, email: str, password:...
30.522727
85
0.722264
186
1,343
5.043011
0.301075
0.03838
0.051173
0.083156
0.264392
0.147122
0.147122
0.147122
0.147122
0.147122
0
0
0.180938
1,343
43
86
31.232558
0.852727
0.073716
0
0.142857
0
0
0.019608
0
0
0
0
0
0
1
0.107143
false
0.25
0.214286
0.035714
0.428571
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
82dc532503b49c178c4064ccd8c6a782b0c470e2
1,064
py
Python
tasks.py
jsamuelbutler/Angel_Entrepreneur_Dash
c9bd918a962da0cb54187ee555d7e0aa01072b9c
[ "BSD-3-Clause" ]
1
2018-11-12T23:42:48.000Z
2018-11-12T23:42:48.000Z
tasks.py
jsamuelbutler/Angel_Entrepreneur_Dash
c9bd918a962da0cb54187ee555d7e0aa01072b9c
[ "BSD-3-Clause" ]
null
null
null
tasks.py
jsamuelbutler/Angel_Entrepreneur_Dash
c9bd918a962da0cb54187ee555d7e0aa01072b9c
[ "BSD-3-Clause" ]
1
2018-11-12T23:43:17.000Z
2018-11-12T23:43:17.000Z
from __future__ import absolute_import from outset import celery_app from celery.utils.log import get_task_logger logger = get_task_logger(__name__) @celery_app.task def accelerator_soft_delete_cascade(pk): logger.info('Starting accelerator_soft_delete_cascade({})...'.format(pk)) from safedelete.config im...
31.294118
78
0.764098
137
1,064
5.627737
0.262774
0.129702
0.176394
0.041505
0.632944
0.632944
0.459144
0.363165
0.363165
0.264591
0
0
0.135338
1,064
33
79
32.242424
0.838043
0
0
0.181818
0
0
0.12688
0.066729
0
0
0
0
0
1
0.090909
false
0
0.318182
0
0.409091
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
82e90b4daf8b916b23b4c00c90d106ada0d642f2
1,448
py
Python
xin-era/leetCode/median_of_arrays.py
fan-weiwei/algo-prep
56514630cfe58d451dd126897459cca81bf1b2af
[ "Apache-2.0" ]
null
null
null
xin-era/leetCode/median_of_arrays.py
fan-weiwei/algo-prep
56514630cfe58d451dd126897459cca81bf1b2af
[ "Apache-2.0" ]
null
null
null
xin-era/leetCode/median_of_arrays.py
fan-weiwei/algo-prep
56514630cfe58d451dd126897459cca81bf1b2af
[ "Apache-2.0" ]
null
null
null
""" There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should be O(log (m+n)). You may assume nums1 and nums2 cannot be both empty. """ def simple_median(x): n = len(x) if n % 2 == 0: return (x[ n // 2 - ...
16.269663
97
0.532459
229
1,448
3.213974
0.344978
0.019022
0.043478
0.024457
0.103261
0.065217
0
0
0
0
0
0.045599
0.348757
1,448
88
98
16.454545
0.734889
0.06837
0
0.071429
0
0
0.00722
0
0
0
0
0
0.047619
0
null
null
0
0.02381
null
null
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
1
0
0
0
0
0
0
0
0
1
7d5ac42e255ecac319583ef142baf868f8f319fc
1,071
py
Python
attackers/Websites/login_guesser/login.py
dmdhrumilmistry/network_scanner
36758fc938dfa6e4363830ad9f472acdf287aa51
[ "MIT" ]
50
2021-07-15T23:56:24.000Z
2022-03-09T11:20:46.000Z
attackers/Websites/login_guesser/login.py
dmdhrumilmistry/network_scanner
36758fc938dfa6e4363830ad9f472acdf287aa51
[ "MIT" ]
null
null
null
attackers/Websites/login_guesser/login.py
dmdhrumilmistry/network_scanner
36758fc938dfa6e4363830ad9f472acdf287aa51
[ "MIT" ]
18
2021-07-15T21:51:16.000Z
2022-02-24T18:32:53.000Z
#!usr/bin/env python3 import requests import os import sys from UI.colors import * def bruteforce_login(target_url:str, wordlist_file:str, post_values:dict): # tested on DVWA web app. # target_url = "http://10.0.2.30/dvwa/login.php" # wordlist_file = "full_path_to_wordlist" # post_values = {"username":...
36.931034
85
0.606909
128
1,071
4.914063
0.507813
0.09539
0.044515
0
0
0
0
0
0
0
0
0.008951
0.269841
1,071
28
86
38.25
0.795396
0.185808
0
0
0
0
0.163783
0
0
0
0
0
0
1
0.052632
false
0.210526
0.210526
0
0.263158
0.210526
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
7d5bf2b1794ae4a71fbb43e91f214516db1bb287
2,751
py
Python
analysis/plot_triangle/make_triangle_plots.py
xzackli/isocurvature_2017
6156ffa9a1aebe0318508c28bee921f65eb6c91e
[ "MIT" ]
null
null
null
analysis/plot_triangle/make_triangle_plots.py
xzackli/isocurvature_2017
6156ffa9a1aebe0318508c28bee921f65eb6c91e
[ "MIT" ]
null
null
null
analysis/plot_triangle/make_triangle_plots.py
xzackli/isocurvature_2017
6156ffa9a1aebe0318508c28bee921f65eb6c91e
[ "MIT" ]
null
null
null
# this file generates the overplots! import matplotlib from getdist import plots, MCSamples import getdist import numpy as np import matplotlib.pyplot as plt import astropy from loadMontePython import load as loadMCMC import glob basedir = '../chains/' #"/home/zequnl/Projects/isocurvature_2017/analysis/plot_triangle...
31.261364
101
0.729553
413
2,751
4.634383
0.283293
0.047022
0.075235
0.049634
0.516719
0.443574
0.424765
0.424765
0.424765
0.424765
0
0.019884
0.122501
2,751
87
102
31.62069
0.772991
0.102145
0
0.3
1
0
0.215766
0.086957
0
0
0
0
0
1
0.033333
false
0
0.133333
0
0.183333
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
7d65e741cb96c88e684aae19f292f7c0063226fd
11,796
py
Python
OneToOne/views.py
osmosishk/purifier
879c76ccaa24adea5193cb249b0414f084b2b465
[ "MIT" ]
null
null
null
OneToOne/views.py
osmosishk/purifier
879c76ccaa24adea5193cb249b0414f084b2b465
[ "MIT" ]
null
null
null
OneToOne/views.py
osmosishk/purifier
879c76ccaa24adea5193cb249b0414f084b2b465
[ "MIT" ]
null
null
null
from django.core.exceptions import ObjectDoesNotExist from django.db import transaction from rest_framework.decorators import api_view, action, permission_classes from rest_framework.generics import get_object_or_404 from rest_framework.permissions import AllowAny, IsAdminUser, IsAuthenticated from .serializers import...
36.978056
119
0.671753
1,270
11,796
6.143307
0.17874
0.042297
0.079467
0.078441
0.526788
0.441169
0.373238
0.328377
0.300308
0.257242
0
0.004907
0.222533
11,796
318
120
37.09434
0.845818
0.028399
0
0.454545
0
0
0.164685
0.007662
0
0
0
0
0
1
0.047431
false
0.094862
0.075099
0
0.209486
0.023715
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
7d6e0602b0a4d16b06c278514a0c78df34b332e1
3,094
py
Python
{{cookiecutter.project_slug}}/backend/app/app/api/api_v1/endpoints/login.py
ThinhPhan/full-stack-fastapi-couchbase
47d90f3a99b624022fb66256e62e67a9c234ff47
[ "MIT" ]
null
null
null
{{cookiecutter.project_slug}}/backend/app/app/api/api_v1/endpoints/login.py
ThinhPhan/full-stack-fastapi-couchbase
47d90f3a99b624022fb66256e62e67a9c234ff47
[ "MIT" ]
null
null
null
{{cookiecutter.project_slug}}/backend/app/app/api/api_v1/endpoints/login.py
ThinhPhan/full-stack-fastapi-couchbase
47d90f3a99b624022fb66256e62e67a9c234ff47
[ "MIT" ]
null
null
null
from datetime import timedelta from fastapi import APIRouter, Depends, HTTPException from fastapi.security import OAuth2PasswordRequestForm from app import crud from app.api.utils.security import get_current_user from app.core import config from app.core.jwt import create_access_token from app.db.database import get_...
33.268817
82
0.716548
388
3,094
5.523196
0.239691
0.029398
0.050397
0.078395
0.266449
0.266449
0.249183
0.211853
0.211853
0.211853
0
0.008367
0.188752
3,094
92
83
33.630435
0.845418
0.040401
0
0.264706
0
0
0.123796
0.009972
0
0
0
0
0
1
0.058824
false
0.264706
0.176471
0
0.294118
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
7d6f21e45490868988d7abe51e92fefb32c98c98
2,838
py
Python
class4pgm/model_graph/neo4j_model_graph.py
mingen-pan/class4pgm
a4bbfef4bb70420c8ed35b2bef9b91ebabe28c3c
[ "MIT" ]
1
2020-09-07T13:46:28.000Z
2020-09-07T13:46:28.000Z
class4pgm/model_graph/neo4j_model_graph.py
mingen-pan/class4pgm
a4bbfef4bb70420c8ed35b2bef9b91ebabe28c3c
[ "MIT" ]
null
null
null
class4pgm/model_graph/neo4j_model_graph.py
mingen-pan/class4pgm
a4bbfef4bb70420c8ed35b2bef9b91ebabe28c3c
[ "MIT" ]
null
null
null
from py2neo import Graph, NodeMatcher from class4pgm.base_model import BaseModel from class4pgm.class_definition import ClassManager from class4pgm.edge_model import EdgeModel from class4pgm.node_model import NodeModel class Neo4jModelGraph(Graph): def __init__(self, uri=None, **settings): self.class_man...
37.342105
99
0.675476
380
2,838
4.744737
0.205263
0.079867
0.088741
0.058236
0.282862
0.2335
0.174154
0.174154
0.094287
0.094287
0
0.003218
0.233615
2,838
75
100
37.84
0.825747
0.049331
0
0
0
0
0.049434
0.009057
0
0
0
0
0
1
0.226415
false
0
0.09434
0.056604
0.490566
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
7d6fdb154deb1f380c00cdee21c627c32d0fbd71
5,736
py
Python
accounts/urls.py
raiaman15/random-winner
79542c364ddf7ab71ab18d6772f4a2d6dfe8ea4b
[ "MIT" ]
null
null
null
accounts/urls.py
raiaman15/random-winner
79542c364ddf7ab71ab18d6772f4a2d6dfe8ea4b
[ "MIT" ]
null
null
null
accounts/urls.py
raiaman15/random-winner
79542c364ddf7ab71ab18d6772f4a2d6dfe8ea4b
[ "MIT" ]
null
null
null
from django.urls import path from . import views as accounts_views urlpatterns = [ path('', accounts_views.UserStatusView.as_view(), name='status'), # Profile Verification Routes path('profile/verification/option/', accounts_views.ProfileVerificationOptionView.as_view(), name='profile_verification...
70.814815
120
0.770223
597
5,736
7.103853
0.172529
0.116482
0.087244
0.08017
0.274228
0.167649
0.095968
0.046216
0
0
0
0
0.108787
5,736
80
121
71.7
0.829617
0.062936
0
0
0
0
0.383855
0.343773
0
0
0
0
0
1
0
false
0.057971
0.028986
0
0.028986
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
7d776f62e0a582e3e9e346646b75edb22926b8b4
199
py
Python
example.py
iSTB/Schemata
af652a7d560fda06135fc1c939dfdf6ce1a22925
[ "MIT" ]
4
2018-08-22T15:02:34.000Z
2022-01-19T23:35:29.000Z
example.py
iSTB/Schemata
af652a7d560fda06135fc1c939dfdf6ce1a22925
[ "MIT" ]
null
null
null
example.py
iSTB/Schemata
af652a7d560fda06135fc1c939dfdf6ce1a22925
[ "MIT" ]
1
2016-09-02T13:21:23.000Z
2016-09-02T13:21:23.000Z
import schematax as sx xs = ['110','100','010'] ss = sx.complete(xs) print "the schematic completion of xs is:" print ss sx.draw(ss,'test') #drawing the schematic lattice in the file "test.pdf"
16.583333
72
0.693467
34
199
4.058824
0.676471
0.057971
0
0
0
0
0
0
0
0
0
0.054217
0.165829
199
11
73
18.090909
0.777108
0.261307
0
0
0
0
0.321918
0
0
0
0
0
0
0
null
null
0
0.166667
null
null
0.333333
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
7d820396c93486f49e58f0dedf76f40b7fbaeeed
1,903
py
Python
client/cryptog.py
yoelbassin/chat
79fa6ed506be29ebe3e6b6780a87de9ff837cb20
[ "MIT" ]
8
2021-01-03T18:20:50.000Z
2022-02-19T16:15:38.000Z
client/cryptog.py
yoelbassin/chat
79fa6ed506be29ebe3e6b6780a87de9ff837cb20
[ "MIT" ]
null
null
null
client/cryptog.py
yoelbassin/chat
79fa6ed506be29ebe3e6b6780a87de9ff837cb20
[ "MIT" ]
null
null
null
import const import config import rsa from cryptography.fernet import Fernet def key_ex(): config.client.send((const.public_key + str(config.public_key.n) + ' ' + str(config.public_key.e)).encode()) def send_symmetric_key(): self_id = int(''.join([str(ord(c)) for c in config.uname])) dst_id = int(''.joi...
26.802817
111
0.673148
272
1,903
4.514706
0.227941
0.057003
0.074104
0.077362
0.291531
0.291531
0.291531
0.232899
0.232899
0.232899
0
0.001946
0.1897
1,903
70
112
27.185714
0.794423
0.046243
0
0.190476
0
0
0.001131
0
0
0
0
0
0
1
0.214286
false
0
0.095238
0
0.404762
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
7d826b4390e82e0e66184189bd076e03a2304445
4,007
py
Python
recursos/instalador.py
luisbruno92/casTelloPy
ab13c480ec5105b30fa721fe645f8f05eb4ffbcc
[ "MIT" ]
1
2020-02-25T19:23:16.000Z
2020-02-25T19:23:16.000Z
recursos/instalador.py
luisbruno92/casTelloPy
ab13c480ec5105b30fa721fe645f8f05eb4ffbcc
[ "MIT" ]
null
null
null
recursos/instalador.py
luisbruno92/casTelloPy
ab13c480ec5105b30fa721fe645f8f05eb4ffbcc
[ "MIT" ]
null
null
null
# coding: utf-8 print("INFO: Se intentará importar y/o instalar todos los módulos necesarios.") print("INFO: Es probable que deba ejecutar el script varias veces hasta recibir el mensaje: 'TODOS LOS MODULOS CORRECTAMENTE VERIFICADOS'") print("INFO: Es probable que deba interactuar con el instalador de paquetes pip d...
43.086022
173
0.723983
506
4,007
5.689723
0.41502
0.025009
0.015283
0.028135
0.161514
0.113581
0.095519
0.079889
0.045155
0
0
0.000908
0.175443
4,007
92
174
43.554348
0.869552
0.00549
0
0.304348
0
0.115942
0.70216
0.033179
0
0
0
0
0
1
0.057971
false
0
0.144928
0
0.202899
0.246377
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
7d86a4991ccb597fed3e13c4abad97e6305a3942
683
py
Python
squares.py
SrujanAakurathi/Programming-Assignments
1971a245d2574ab908dcdef033d4b943037e374f
[ "MIT" ]
null
null
null
squares.py
SrujanAakurathi/Programming-Assignments
1971a245d2574ab908dcdef033d4b943037e374f
[ "MIT" ]
null
null
null
squares.py
SrujanAakurathi/Programming-Assignments
1971a245d2574ab908dcdef033d4b943037e374f
[ "MIT" ]
null
null
null
""" Given an integer number n, define a function named printDict() which can print a dictionary where the keys are numbers between 1 and n (both included) and the values are square of keys. The function printDict() doesn't take any argument. Input Format: The first line contains the number n. Output Format: Print t...
21.34375
186
0.686676
119
683
3.941176
0.571429
0.070362
0.085288
0
0
0
0
0
0
0
0
0.03154
0.210835
683
31
187
22.032258
0.83859
0.799414
0
0
0
0
0.008
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.142857
0.428571
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
7d883d845c0bebb1bf09f9ab4681539111782694
2,244
py
Python
src/quantum/azext_quantum/vendored_sdks/azure_quantum/models/_quantum_client_enums.py
ravithanneeru/azure-cli-extensions
e0de87f3563ae39525370e9912589aac33e7bded
[ "MIT" ]
207
2017-11-29T06:59:41.000Z
2022-03-31T10:00:53.000Z
src/quantum/azext_quantum/vendored_sdks/azure_quantum/models/_quantum_client_enums.py
ravithanneeru/azure-cli-extensions
e0de87f3563ae39525370e9912589aac33e7bded
[ "MIT" ]
4,061
2017-10-27T23:19:56.000Z
2022-03-31T23:18:30.000Z
src/quantum/azext_quantum/vendored_sdks/azure_quantum/models/_quantum_client_enums.py
ravithanneeru/azure-cli-extensions
e0de87f3563ae39525370e9912589aac33e7bded
[ "MIT" ]
802
2017-10-11T17:36:26.000Z
2022-03-31T22:24:32.000Z
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
32.521739
100
0.650178
229
2,244
6.200873
0.550218
0.05493
0.126761
0.137324
0.253521
0.192958
0.095775
0
0
0
0
0.000557
0.200535
2,244
68
101
33
0.79097
0.433601
0
0.2
0
0
0.108108
0
0
0
0
0
0
1
0.066667
false
0
0.066667
0.033333
0.9
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
7d91d9cb6c3f12f105fc6fd6a4bfe8e921e9067b
3,336
py
Python
src/textpruner/model_utils/t5.py
zchu-hit-scir/TextPruner
77871ce2bc525630d69c5bb4db48e68a2e532757
[ "Apache-2.0" ]
null
null
null
src/textpruner/model_utils/t5.py
zchu-hit-scir/TextPruner
77871ce2bc525630d69c5bb4db48e68a2e532757
[ "Apache-2.0" ]
null
null
null
src/textpruner/model_utils/t5.py
zchu-hit-scir/TextPruner
77871ce2bc525630d69c5bb4db48e68a2e532757
[ "Apache-2.0" ]
null
null
null
from .utils import DefaultModelVocabResizer from .model_structure import ModelStructure import torch from torch import nn class T5VocabResizer(DefaultModelVocabResizer): model_name : str = 't5' @classmethod def set_embeddings(cls, model, token_ids): def _prun(old_weight, token_ids): p...
47.657143
186
0.739508
409
3,336
5.542787
0.217604
0.203794
0.1588
0.114689
0.490516
0.358183
0.331716
0.331716
0.297309
0.204235
0
0.005846
0.179556
3,336
70
187
47.657143
0.822433
0
0
0.051724
0
0
0.061432
0.008391
0
0
0
0
0
1
0.034483
false
0
0.068966
0
0.293103
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
7d946b1d6269cb8941d0c86e02cdda1225d27a13
1,138
py
Python
SiameseNetworks/preprocessing/split_dataset.py
kleofas97/MasterThesis
dcf33a86e12ccc6bce3639182e114ef46abeec4f
[ "MIT" ]
null
null
null
SiameseNetworks/preprocessing/split_dataset.py
kleofas97/MasterThesis
dcf33a86e12ccc6bce3639182e114ef46abeec4f
[ "MIT" ]
null
null
null
SiameseNetworks/preprocessing/split_dataset.py
kleofas97/MasterThesis
dcf33a86e12ccc6bce3639182e114ef46abeec4f
[ "MIT" ]
null
null
null
import numpy as np import os import shutil def splitImages(path_to_dataset: str, path_to_output:str,train_size = 0.8) -> None: if os.path.isdir(path_to_output) is False: os.mkdir(path_to_output) if os.path.isdir(os.path.join(path_to_output,"train")) is False: os.mkdir(os.path.join(path_to_outpu...
47.416667
102
0.686292
190
1,138
3.873684
0.226316
0.154891
0.195652
0.152174
0.576087
0.532609
0.532609
0.508152
0.491848
0.491848
0
0.006309
0.164323
1,138
23
103
49.478261
0.767613
0.008787
0
0
0
0
0.047915
0
0
0
0
0
0
1
0.05
false
0
0.15
0
0.2
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
7d9b4f6290eb86b12db3f6e0fd40fc69669e8cbf
8,803
py
Python
dota2_helper.py
MiauWuffMiau/dota2-helper
330b6827b8e5602bcce6a0c71a863919689933a5
[ "MIT" ]
null
null
null
dota2_helper.py
MiauWuffMiau/dota2-helper
330b6827b8e5602bcce6a0c71a863919689933a5
[ "MIT" ]
null
null
null
dota2_helper.py
MiauWuffMiau/dota2-helper
330b6827b8e5602bcce6a0c71a863919689933a5
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: iso-8859-15 -*- ########################################### # # # Feel free to use and edit this script, # # but be so fair and let this signature # # appear in this script. # # # # m...
35.212
110
0.566852
1,080
8,803
4.462963
0.244444
0.037344
0.043154
0.037344
0.196266
0.137759
0.111618
0.098755
0.098755
0.080498
0
0.011684
0.290242
8,803
249
111
35.353414
0.759763
0.102919
0
0.220994
0
0
0.195037
0.013114
0
0
0
0
0.005525
0
null
null
0
0.027624
null
null
0.104972
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
7d9bdeb2d7ba4742b90e6391a144a757e9d49c5c
3,059
py
Python
tests/bugs/core_1173_test.py
FirebirdSQL/firebird-qa
96af2def7f905a06f178e2a80a2c8be4a4b44782
[ "MIT" ]
1
2022-02-05T11:37:13.000Z
2022-02-05T11:37:13.000Z
tests/bugs/core_1173_test.py
FirebirdSQL/firebird-qa
96af2def7f905a06f178e2a80a2c8be4a4b44782
[ "MIT" ]
1
2021-09-03T11:47:00.000Z
2021-09-03T12:42:10.000Z
tests/bugs/core_1173_test.py
FirebirdSQL/firebird-qa
96af2def7f905a06f178e2a80a2c8be4a4b44782
[ "MIT" ]
1
2021-06-30T14:14:16.000Z
2021-06-30T14:14:16.000Z
#coding:utf-8 # # id: bugs.core_1173 # title: Expression index based on computed fields # decription: # Index based on COMPUTED-BY column must be taken in account by optimizer. # 13.08.2020: replaced expected_stdout with only PLAN output (concrete data values no m...
28.858491
164
0.624387
430
3,059
4.248837
0.306977
0.065681
0.036125
0.062397
0.447729
0.401752
0.305419
0.270389
0.270389
0.270389
0
0.045552
0.239294
3,059
105
165
29.133333
0.739579
0.20595
0
0.344262
0
0.016393
0.797925
0.165145
0
0
0
0
0.016393
1
0.016393
false
0
0.032787
0
0.04918
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
7d9f65385ec2672a55032b68c919b4cd77051430
1,237
py
Python
questions_three/ci/junit2jenkins_status/junit2jenkins_status.py
filfreire/questions-three
1d1d621d5647407bf2d1b271e0b9c7c9f1afc5c8
[ "MIT" ]
5
2019-07-22T06:04:07.000Z
2021-07-23T06:01:51.000Z
questions_three/ci/junit2jenkins_status/junit2jenkins_status.py
filfreire/questions-three
1d1d621d5647407bf2d1b271e0b9c7c9f1afc5c8
[ "MIT" ]
15
2020-07-28T17:33:40.000Z
2021-08-23T17:30:05.000Z
questions_three/ci/junit2jenkins_status/junit2jenkins_status.py
filfreire/questions-three
1d1d621d5647407bf2d1b271e0b9c7c9f1afc5c8
[ "MIT" ]
4
2019-08-25T22:41:59.000Z
2020-10-21T14:28:15.000Z
import os from xml.etree import ElementTree from twin_sister import dependency from .status import ERROR, FAIL, PASS def locate_suite(root): return root if "testsuite" == root.tag else root.find(".//testsuite") def extract_status(filename): with dependency(open)(filename, "r") as f: xml = f.read()...
27.488889
73
0.60388
157
1,237
4.719745
0.43949
0.044534
0.040486
0.032389
0.062078
0.062078
0
0
0
0
0
0.001156
0.300728
1,237
44
74
28.113636
0.855491
0.053355
0
0.0625
0
0
0.046233
0
0
0
0
0
0
1
0.125
false
0.09375
0.125
0.0625
0.46875
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
7da84e9a2431793496e866ed7e9fdda8e5664871
1,879
py
Python
archive_box/scanner/scanner_state.py
fyhuang/archive_box
1cbbd839012fed5e12341b78027d132c72dd01df
[ "BSD-3-Clause" ]
null
null
null
archive_box/scanner/scanner_state.py
fyhuang/archive_box
1cbbd839012fed5e12341b78027d132c72dd01df
[ "BSD-3-Clause" ]
null
null
null
archive_box/scanner/scanner_state.py
fyhuang/archive_box
1cbbd839012fed5e12341b78027d132c72dd01df
[ "BSD-3-Clause" ]
null
null
null
import sqlite3 from pathlib import Path from typing import List, NamedTuple, Union from dtsdb import sqlite_util class ScannedFile(NamedTuple): path: Path sdid: str class ScannerState(object): def __init__(self, conn: sqlite3.Connection, inbox_path: Union[str, Path]) -> None: # TODO(fyhuang): w...
35.45283
89
0.627994
238
1,879
4.815126
0.39916
0.062827
0.034031
0.026178
0.115183
0.115183
0.068063
0.068063
0
0
0
0.004357
0.267163
1,879
52
90
36.134615
0.827887
0.109633
0
0.153846
0
0
0.185141
0
0
0
0
0.019231
0
1
0.153846
false
0
0.102564
0
0.410256
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
7daeaded7a3796c288e5b002a9e8dd07b400715f
421
py
Python
LeetcodeAlgorithms/260. Single Number III/single-number-iii.py
Fenghuapiao/PyLeetcode
d804a62643fe935eb61808196a2c093ea9583654
[ "MIT" ]
3
2019-08-20T06:54:38.000Z
2022-01-07T12:56:46.000Z
LeetcodeAlgorithms/260. Single Number III/single-number-iii.py
Fenghuapiao/PyLeetcode
d804a62643fe935eb61808196a2c093ea9583654
[ "MIT" ]
null
null
null
LeetcodeAlgorithms/260. Single Number III/single-number-iii.py
Fenghuapiao/PyLeetcode
d804a62643fe935eb61808196a2c093ea9583654
[ "MIT" ]
2
2018-06-07T02:56:39.000Z
2018-08-01T15:27:55.000Z
class Solution(object): def singleNumber(self, nums): """ :type nums: List[int] :rtype: List[int] """ xor = 0 for num in nums: xor ^= num xor = xor & -xor a, b = 0, 0 for num in nums: if num & xor: ...
22.157895
34
0.342043
44
421
3.272727
0.477273
0.097222
0.097222
0.125
0.180556
0
0
0
0
0
0
0.016304
0.562945
421
19
35
22.157895
0.766304
0.092637
0
0.153846
0
0
0
0
0
0
0
0
0
1
0.076923
false
0
0
0
0.230769
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7daeebb3ec9d8b192ef701036a7fe3dbf282d355
4,931
py
Python
Lib/distutils/config.py
sireliah/polish-python
605df4944c2d3bc25f8bf6964b274c0a0d297cc3
[ "PSF-2.0" ]
1
2018-06-21T18:21:24.000Z
2018-06-21T18:21:24.000Z
Lib/distutils/config.py
sireliah/polish-python
605df4944c2d3bc25f8bf6964b274c0a0d297cc3
[ "PSF-2.0" ]
null
null
null
Lib/distutils/config.py
sireliah/polish-python
605df4944c2d3bc25f8bf6964b274c0a0d297cc3
[ "PSF-2.0" ]
null
null
null
"""distutils.pypirc Provides the PyPIRCCommand class, the base klasa dla the command classes that uses .pypirc w the distutils.command package. """ zaimportuj os z configparser zaimportuj ConfigParser z distutils.cmd zaimportuj Command DEFAULT_PYPIRC = """\ [distutils] index-servers = pypi [pypi] username:%s pa...
37.356061
81
0.524032
477
4,931
5.312369
0.280922
0.04341
0.049724
0.048934
0.117601
0.019732
0.019732
0
0
0
0
0.001949
0.375786
4,931
131
82
37.641221
0.821313
0.056986
0
0.097826
0
0
0.115067
0
0
0
0
0
0
0
null
null
0.032609
0.043478
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
7daf2f6cf19494185bb91f7ce9af2c7be3567c1d
809
py
Python
units.py
stephensekula/hep-flavor-tagging-lectures
78f41de1ef05eb98ccb4784c289e659fa1ea591c
[ "MIT" ]
1
2022-02-01T08:23:07.000Z
2022-02-01T08:23:07.000Z
units.py
stephensekula/hep-flavor-tagging-lectures
78f41de1ef05eb98ccb4784c289e659fa1ea591c
[ "MIT" ]
null
null
null
units.py
stephensekula/hep-flavor-tagging-lectures
78f41de1ef05eb98ccb4784c289e659fa1ea591c
[ "MIT" ]
null
null
null
# Conversion Factors import math # distance _m=1 _km=1000*_m _cm=_m/100 _mm=_m/1000. _in=2.54*_cm _ft=12*_in _mile=5280*_ft _miles=_mile _ly=9460730472580800*_m _Angstrom=1e-10*_m # time _s=1 _ms=_s/1000 _mus=_s/1e6 _min=60*_s _hour=60*_min _hours=_hour _day=24*_hours _days=_day _year=365.25*_days _years=_year _year...
11.394366
34
0.690977
166
809
2.807229
0.542169
0.012876
0.017167
0
0
0
0
0
0
0
0
0.185944
0.155748
809
70
35
11.557143
0.49634
0.12979
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.022222
0
0.022222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7db14f59e88b982a6228ee15e51d84cd36884477
4,584
py
Python
lims/projects/serializers.py
LeafLIMS/LIMS-Backend
472ccbf71f20b9ecd50508aa0f9ca80d3a3df79a
[ "MIT" ]
12
2017-03-01T10:39:36.000Z
2022-01-04T06:17:19.000Z
lims/projects/serializers.py
GETLIMS/LIMS-Backend
472ccbf71f20b9ecd50508aa0f9ca80d3a3df79a
[ "MIT" ]
29
2017-04-25T14:05:08.000Z
2021-06-21T14:41:53.000Z
lims/projects/serializers.py
GETLIMS/LIMS-Backend
472ccbf71f20b9ecd50508aa0f9ca80d3a3df79a
[ "MIT" ]
4
2017-10-11T16:22:53.000Z
2021-02-23T15:45:21.000Z
from django.contrib.auth.models import User from rest_framework import serializers from lims.inventory.models import ItemType from lims.inventory.serializers import LinkedItemSerializer from lims.crm.serializers import CRMProjectSerializer from lims.permissions.permissions import (SerializerPermissionsMixin, ...
32.978417
95
0.707679
412
4,584
7.657767
0.23301
0.055784
0.079873
0.036133
0.428526
0.333122
0.255468
0.235816
0.200951
0.182567
0
0
0.211387
4,584
138
96
33.217391
0.872752
0
0
0.435185
0
0
0.038176
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.518519
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
7db7b6bc4e54186262e5ec5e27b5273fda88c586
13,212
py
Python
neoman/view/neo.py
Yubico/yubikey-neo-manager
94859366f054636acc13f47fa02f2fbd0134da41
[ "BSD-2-Clause" ]
49
2015-01-07T14:21:06.000Z
2021-11-16T21:24:11.000Z
neoman/view/neo.py
DalavanCloud/yubikey-neo-manager-dpkg
e671c43020ec0c614bc140bfaf9b185d22a8a5d7
[ "BSD-2-Clause" ]
32
2015-01-20T21:17:59.000Z
2018-07-10T22:23:15.000Z
neoman/view/neo.py
DalavanCloud/yubikey-neo-manager-dpkg
e671c43020ec0c614bc140bfaf9b185d22a8a5d7
[ "BSD-2-Clause" ]
10
2015-03-15T21:06:31.000Z
2021-11-16T21:24:04.000Z
# Copyright (c) 2013 Yubico AB # All rights reserved. # # Redistribution and use in source and binary forms, with or # without modification, are permitted provided that the following # conditions are met: # # 1. Redistributions of source code must retain the above copyright # notice, this list of conditi...
34.860158
80
0.630185
1,548
13,212
5.184755
0.21447
0.019188
0.015699
0.005981
0.216422
0.15699
0.129828
0.121106
0.085223
0.085223
0
0.007371
0.27089
13,212
378
81
34.952381
0.825807
0.10604
0
0.182143
0
0
0.011289
0
0
0
0.00034
0.002646
0
0
null
null
0.003571
0.035714
null
null
0.010714
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
7dbc01ff2826e98fba280e9ecfa49e46bdcb05a1
3,201
py
Python
tests/test_h5store_manager.py
ac-optimus/signac
43a5519531cc8cc44199c9251d0fd4e6208b5bdb
[ "BSD-3-Clause" ]
1
2020-03-09T17:56:02.000Z
2020-03-09T17:56:02.000Z
tests/test_h5store_manager.py
ac-optimus/signac
43a5519531cc8cc44199c9251d0fd4e6208b5bdb
[ "BSD-3-Clause" ]
81
2020-12-28T20:23:57.000Z
2022-03-01T06:03:40.000Z
tests/test_h5store_manager.py
admdev8/signac
d639e682ca7ebaff781d68621a2d86cc26de04b9
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) 2019 The Regents of the University of Michigan # All rights reserved. # This software is licensed under the BSD 3-Clause License. import os import pickle import pytest from tempfile import TemporaryDirectory from signac.core.h5store import H5StoreManager try: import h5py # noqa H5PY = True...
32.01
83
0.595127
428
3,201
4.401869
0.264019
0.200637
0.075902
0.085987
0.507962
0.484076
0.441614
0.421444
0.333333
0.308917
0
0.01301
0.2796
3,201
99
84
32.333333
0.80399
0.059981
0
0.443038
0
0
0.060606
0
0
0
0
0
0.341772
1
0.126582
false
0
0.088608
0
0.227848
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
7dbfb9e4603a509c92d3b56853369bd562f1a8a4
1,408
py
Python
calculator.py
jpetrov/pythonexamples
36bd8d8ca1b693e1cc5c1ba7bbb49e75327152c8
[ "Apache-2.0" ]
null
null
null
calculator.py
jpetrov/pythonexamples
36bd8d8ca1b693e1cc5c1ba7bbb49e75327152c8
[ "Apache-2.0" ]
null
null
null
calculator.py
jpetrov/pythonexamples
36bd8d8ca1b693e1cc5c1ba7bbb49e75327152c8
[ "Apache-2.0" ]
null
null
null
# Python calculator v.1.0 import math # Calculator functions # Addition def calc_add(x, y): return x + y # Subtraction def calc_subtract(x, y): return x - y # Multiplication def calc_multiply(x, y): return x * y # Division def calc_divide(x, y): return x / y # Expone...
22.709677
94
0.583097
176
1,408
4.596591
0.335227
0.024722
0.049444
0.055624
0.239802
0.177998
0
0
0
0
0
0.017787
0.28125
1,408
62
95
22.709677
0.781621
0.082386
0
0
0
0.026316
0.201145
0
0
0
0
0
0
1
0.157895
false
0
0.026316
0.157895
0.342105
0.131579
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
7dc142cd1f51cfc737ccd187c0c1a020bb39b641
1,285
py
Python
ucsc_287.py
meissnert/StarCluster-Plugins
a84dc5f62b5a37e7843c0fb4ac69011ecd766e51
[ "MIT" ]
1
2016-05-27T19:58:53.000Z
2016-05-27T19:58:53.000Z
ucsc_287.py
meissnert/StarCluster-Plugins
a84dc5f62b5a37e7843c0fb4ac69011ecd766e51
[ "MIT" ]
null
null
null
ucsc_287.py
meissnert/StarCluster-Plugins
a84dc5f62b5a37e7843c0fb4ac69011ecd766e51
[ "MIT" ]
null
null
null
from starcluster.clustersetup import ClusterSetup from starcluster.logger import log class UCSCInstaller(ClusterSetup): def run(self, nodes, master, user, user_shell, volumes): for node in nodes: log.info("Installing UCSC-Tools 287 on %s" % (node.alias)) node.ssh.execute('mkdir -p /opt/software/ucsc/287') ...
75.588235
185
0.743191
198
1,285
4.80303
0.323232
0.058885
0.117771
0.15142
0.660358
0.599369
0.485804
0.444795
0.444795
0.444795
0
0.05102
0.084825
1,285
16
186
80.3125
0.757653
0.398444
0
0
0
0.272727
0.527273
0.397403
0
0
0
0
0
1
0.090909
false
0
0.181818
0
0.363636
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
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7dc2f703574c2fd8aa242c001e72d60350e1907d
8,165
py
Python
pychron/gis/options.py
ael-noblegas/pychron
6ebbbb1f66a614972b62b7a9be4c784ae61b5d62
[ "Apache-2.0" ]
null
null
null
pychron/gis/options.py
ael-noblegas/pychron
6ebbbb1f66a614972b62b7a9be4c784ae61b5d62
[ "Apache-2.0" ]
27
2019-10-07T17:43:35.000Z
2021-12-05T21:25:07.000Z
pychron/gis/options.py
ael-noblegas/pychron
6ebbbb1f66a614972b62b7a9be4c784ae61b5d62
[ "Apache-2.0" ]
null
null
null
# =============================================================================== # Copyright 2020 ross # # 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/LICE...
33.463115
118
0.570729
908
8,165
5.005507
0.289648
0.016942
0.00396
0.007921
0.143234
0.108251
0.09857
0.073927
0.060286
0.041804
0
0.005614
0.280098
8,165
243
119
33.600823
0.767608
0.115126
0
0.147929
0
0.005917
0.132047
0.019439
0
0
0
0
0
1
0.136095
false
0
0.076923
0.047337
0.526627
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
7dcdc36fced308108d6e34819e36faec884134e0
441
py
Python
scaling_tests/test_big_job.py
cash/chepstow
c836f29933cca32bbf99508853a7dd2b12324b07
[ "BSD-3-Clause" ]
null
null
null
scaling_tests/test_big_job.py
cash/chepstow
c836f29933cca32bbf99508853a7dd2b12324b07
[ "BSD-3-Clause" ]
null
null
null
scaling_tests/test_big_job.py
cash/chepstow
c836f29933cca32bbf99508853a7dd2b12324b07
[ "BSD-3-Clause" ]
null
null
null
import chepstow import random import time import unittest class BigTest(unittest.TestCase): def test_something(self): # randomly fails for testing purposes agent = chepstow.Agent() delay = random.randint(0, 10) start = time.time() agent.run(delay) stop = time.time()...
25.941176
90
0.641723
53
441
5.320755
0.622642
0.056738
0
0
0
0
0
0
0
0
0
0.012308
0.263039
441
16
91
27.5625
0.855385
0.079365
0
0
0
0
0.096535
0
0
0
0
0
0.076923
1
0.076923
false
0
0.307692
0
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
7dd11137f84f88a5bd7f520809e1ef9040f31ed7
5,562
py
Python
finnhub/models/quote.py
gavinjay/finnhub-python
b5c409dafeda390d14a2b0618ae6f25ab8d76c5b
[ "Apache-2.0" ]
null
null
null
finnhub/models/quote.py
gavinjay/finnhub-python
b5c409dafeda390d14a2b0618ae6f25ab8d76c5b
[ "Apache-2.0" ]
null
null
null
finnhub/models/quote.py
gavinjay/finnhub-python
b5c409dafeda390d14a2b0618ae6f25ab8d76c5b
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 """ Finnhub API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six fro...
23.668085
124
0.512585
709
5,562
3.93512
0.172073
0.080287
0.078853
0.080645
0.401792
0.346953
0.346953
0.212545
0.097133
0.02724
0
0.027318
0.381338
5,562
234
125
23.769231
0.783493
0.341424
0
0.089109
1
0
0.021747
0
0
0
0
0
0
1
0.158416
false
0
0.039604
0
0.346535
0.019802
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
7dd13a998a3b12c0f2b7066d494190080dd520c6
488
py
Python
myratings/scrape.py
kgarun/myRatings
bd08a701ba0a42e439e57bdebaa7c20f5b82f16d
[ "MIT" ]
3
2017-11-30T11:44:53.000Z
2018-01-27T18:00:54.000Z
myratings/scrape.py
kgarun/myratings
bd08a701ba0a42e439e57bdebaa7c20f5b82f16d
[ "MIT" ]
36
2017-11-30T13:48:08.000Z
2021-03-01T16:58:23.000Z
myratings/scrape.py
kgarun/myRatings
bd08a701ba0a42e439e57bdebaa7c20f5b82f16d
[ "MIT" ]
1
2017-12-23T06:37:08.000Z
2017-12-23T06:37:08.000Z
import dryscrape from bs4 import BeautifulSoup session = dryscrape.Session() def getSoup(url): """Returns BeatifulSoup object of the given URL. Arguments: url = URL of the corresponding webpage Returns: BeatifulSoup object of the given URL """ try: session.visit(url) ...
23.238095
52
0.631148
55
488
5.6
0.581818
0.048701
0.162338
0.175325
0.246753
0.246753
0.246753
0
0
0
0
0.002882
0.288934
488
20
53
24.4
0.884726
0.305328
0
0
0
0
0.012821
0
0
0
0
0
0
1
0.083333
false
0
0.166667
0
0.333333
0.083333
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
7dd2215207bd961b2374c257fca07794364c05f5
19,879
py
Python
openvpp-agents/tests/test_planning.py
mtroeschel/isaac
47eabfd5a91a61dfe94babe6537ff69d7d18ecd8
[ "MIT" ]
8
2018-02-09T11:59:09.000Z
2021-12-02T16:49:48.000Z
openvpp-agents/tests/test_planning.py
mtroeschel/isaac
47eabfd5a91a61dfe94babe6537ff69d7d18ecd8
[ "MIT" ]
null
null
null
openvpp-agents/tests/test_planning.py
mtroeschel/isaac
47eabfd5a91a61dfe94babe6537ff69d7d18ecd8
[ "MIT" ]
3
2018-06-05T18:53:07.000Z
2020-10-27T20:25:57.000Z
from asyncio import coroutine import asyncio import arrow import aiomas.rpc import numpy as np import pytest from openvpp_agents import planning @pytest.fixture def planner(ua): p = planning.Planner(ua, check_inbox_interval=0.01) ua.planner = p return p @pytest.fixture def wm(): return planning.Wo...
35.121908
134
0.566075
2,934
19,879
3.721541
0.084185
0.016485
0.03526
0.040297
0.571206
0.484202
0.460756
0.427695
0.364319
0.33025
0
0.086909
0.259118
19,879
565
135
35.184071
0.654468
0.070074
0
0.354988
0
0
0.091906
0.066367
0
0
0
0
0.141531
0
null
null
0
0.016241
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
7dd3a293ee977a1f2d6b15e5c259eed4651fcf1f
5,483
py
Python
mysql-utilities-1.6.0/mysql/utilities/common/lock.py
bopopescu/mysql-dbcompare
1e912fd87282be3b3bed48487e6beb0ecb1de339
[ "Apache-2.0" ]
2
2018-03-20T07:42:58.000Z
2018-03-20T07:43:49.000Z
mysql-utilities-1.6.0/mysql/utilities/common/lock.py
bopopescu/mysql-dbcompare
1e912fd87282be3b3bed48487e6beb0ecb1de339
[ "Apache-2.0" ]
null
null
null
mysql-utilities-1.6.0/mysql/utilities/common/lock.py
bopopescu/mysql-dbcompare
1e912fd87282be3b3bed48487e6beb0ecb1de339
[ "Apache-2.0" ]
1
2020-07-23T23:07:08.000Z
2020-07-23T23:07:08.000Z
# # Copyright (c) 2011, 2012, 2013, Oracle and/or its affiliates. All rights # reserved. # # 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; version 2 of the License. # # This program is distribut...
35.836601
78
0.600584
661
5,483
4.880484
0.310136
0.044327
0.032238
0.029758
0.16181
0.107564
0.073466
0.073466
0.063546
0.029138
0
0.008805
0.316433
5,483
152
79
36.072368
0.851921
0.183476
0
0.222222
0
0
0.144144
0
0
0
0
0
0
0
null
null
0
0.013889
null
null
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
1
0
0
0
0
0
0
0
0
1
7dda1a53e6d2d55beb7a25964d194290d02d9358
361
py
Python
payment_sixpay/indico_payment_sixpay/__init__.py
indico/indico-plugins
bb2b25a23f61f8f9df271759cecebe58dee53551
[ "MIT" ]
22
2017-02-14T20:54:54.000Z
2022-03-09T23:44:17.000Z
payment_sixpay/indico_payment_sixpay/__init__.py
indico/indico-plugins
bb2b25a23f61f8f9df271759cecebe58dee53551
[ "MIT" ]
71
2015-03-30T09:09:53.000Z
2021-11-02T12:56:40.000Z
payment_sixpay/indico_payment_sixpay/__init__.py
indico/indico-plugins
bb2b25a23f61f8f9df271759cecebe58dee53551
[ "MIT" ]
37
2015-02-16T14:54:36.000Z
2022-02-14T16:16:14.000Z
# This file is part of the Indico plugins. # Copyright (C) 2017 - 2021 Max Fischer, Martin Claus, CERN # # The Indico plugins are free software; you can redistribute # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. from indico.util.i18n import make_bound_gettext ...
30.083333
61
0.767313
58
361
4.672414
0.758621
0.0369
0.118081
0
0
0
0
0
0
0
0
0.033333
0.168975
361
11
62
32.818182
0.87
0.709141
0
0
0
0
0.142857
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
7dda99ed5f2a6d06faddf63f20cacf60287ab7cd
460
py
Python
image_utils.py
agojiya/colorize
c8a56219a92cb3d80acaa7646d9f3e5a6dfb6080
[ "MIT" ]
null
null
null
image_utils.py
agojiya/colorize
c8a56219a92cb3d80acaa7646d9f3e5a6dfb6080
[ "MIT" ]
null
null
null
image_utils.py
agojiya/colorize
c8a56219a92cb3d80acaa7646d9f3e5a6dfb6080
[ "MIT" ]
null
null
null
import cv2 import numpy as np def get_image(image_path, read_mode, cvt_mode=None): image = cv2.imread(image_path, read_mode) if cvt_mode is not None: image = cv2.cvtColor(image, cvt_mode) image_shape = image.shape image = np.reshape(image, (1, image_shape[0], ...
30.666667
78
0.56087
62
460
3.951613
0.435484
0.244898
0.106122
0.138776
0
0
0
0
0
0
0
0.030405
0.356522
460
14
79
32.857143
0.797297
0
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0.166667
0
0.333333
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
7dddfc9269c264c9c6b24e14f55b5456f0e72199
4,092
py
Python
backend/recipe_backend/recipe_backend/settings.py
Nadin007/foodgram-project-react
969f07e4cc74321fbdb566d4cb160ac8eefdde3e
[ "MIT" ]
null
null
null
backend/recipe_backend/recipe_backend/settings.py
Nadin007/foodgram-project-react
969f07e4cc74321fbdb566d4cb160ac8eefdde3e
[ "MIT" ]
null
null
null
backend/recipe_backend/recipe_backend/settings.py
Nadin007/foodgram-project-react
969f07e4cc74321fbdb566d4cb160ac8eefdde3e
[ "MIT" ]
null
null
null
import os from distutils.util import strtobool from dotenv import load_dotenv BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) dotenv_file = os.path.join(os.path.dirname(BASE_DIR), ".env") if os.path.isfile(dotenv_file): load_dotenv(dotenv_file) SECRET_KEY = os.environ.get( 'SECRET_KEY'...
26.571429
79
0.666911
404
4,092
6.532178
0.378713
0.073892
0.03183
0.03183
0.126942
0.075028
0
0
0
0
0
0.005754
0.19306
4,092
153
80
26.745098
0.793459
0.005376
0
0.064516
0
0
0.512045
0.393559
0
0
0
0
0
1
0
false
0.064516
0.024194
0
0.024194
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
7ddfb81223891b0b5428d1f56e9b6feb7c7810f2
4,989
py
Python
python/arachne/runtime/rpc/protobuf/runtime_message_pb2.py
fixstars/arachne
03c00fc5105991d0d706b935d77e6f9255bae9e7
[ "MIT" ]
3
2022-03-29T03:02:20.000Z
2022-03-29T03:48:38.000Z
python/arachne/runtime/rpc/protobuf/runtime_message_pb2.py
fixstars/arachne
03c00fc5105991d0d706b935d77e6f9255bae9e7
[ "MIT" ]
null
null
null
python/arachne/runtime/rpc/protobuf/runtime_message_pb2.py
fixstars/arachne
03c00fc5105991d0d706b935d77e6f9255bae9e7
[ "MIT" ]
1
2022-03-29T05:44:12.000Z
2022-03-29T05:44:12.000Z
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: runtime_message.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message f...
47.066038
983
0.807978
578
4,989
6.565744
0.245675
0.039526
0.052701
0.050593
0.215283
0.111726
0.111726
0.111726
0.111726
0
0
0.066378
0.072961
4,989
105
984
47.514286
0.754162
0.126879
0
0.216216
1
0.013514
0.333564
0.208852
0
0
0
0
0
1
0
false
0
0.081081
0
0.081081
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
7de01ab960d0f8ec8ad7c5a9683ad1155e9b1621
1,308
py
Python
iotbx/command_line/pdb.superpose_atoms_by_name.py
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
null
null
null
iotbx/command_line/pdb.superpose_atoms_by_name.py
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
null
null
null
iotbx/command_line/pdb.superpose_atoms_by_name.py
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
null
null
null
from __future__ import division def run(args): assert len(args) == 2 import iotbx.pdb lists_of_atoms = [] for file_name in args: pdb_inp = iotbx.pdb.input(file_name=file_name) pdb_inp.construct_hierarchy().only_residue() # raises if more than one lists_of_atoms.append(pdb_inp.atoms()) lookup_dict ...
34.421053
74
0.724771
208
1,308
4.235577
0.350962
0.063564
0.081725
0.051078
0
0
0
0
0
0
0
0.010939
0.161315
1,308
37
75
35.351351
0.79216
0.017584
0
0
0
0
0.077163
0
0
0
0
0
0.055556
0
null
null
0
0.138889
null
null
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
1
0
0
0
0
0
0
0
0
1
7de76be2709477422a2aba4f1d98313b299727f1
19,704
py
Python
stash.py
strickyak/aphid
12469858facdc9d7f110bf6c895e58eae9fb728f
[ "MIT" ]
2
2015-05-25T10:47:30.000Z
2017-12-12T18:15:00.000Z
stash.py
strickyak/aphid
12469858facdc9d7f110bf6c895e58eae9fb728f
[ "MIT" ]
null
null
null
stash.py
strickyak/aphid
12469858facdc9d7f110bf6c895e58eae9fb728f
[ "MIT" ]
null
null
null
from go import bufio, bytes, fmt, html, log, reflect, regexp, sort, sync, time from go import html.template, net.http, io.ioutil from go import crypto.sha256, crypto.aes, crypto.rand, crypto.cipher from go import "golang.org/x/crypto/scrypt" import A, atemplate, bundle, dh, markdown, pubsub, util import adapt, basic,...
32.301639
123
0.559988
2,510
19,704
4.353785
0.162151
0.010706
0.010706
0.003203
0.311493
0.237006
0.194455
0.175787
0.160414
0.146321
0
0.013009
0.266545
19,704
609
124
32.35468
0.74315
0
0
0.263672
0
0.001953
0.112601
0.01125
0
0
0
0
0
0
null
null
0.011719
0.013672
null
null
0.005859
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
81452fb8941bf75231d084f69648941b00abd4c6
645
py
Python
Recursions/Recursions 3/Return_Permutations_of_a_String.py
jarvis-1805/DSAwithPYTHON
872073d1b8d0001ea8b1a54b5e327dd0c1c406f2
[ "Apache-2.0" ]
1
2021-03-21T18:54:34.000Z
2021-03-21T18:54:34.000Z
Recursions/Recursions 3/Return_Permutations_of_a_String.py
jarvis-1805/DSAwithPYTHON
872073d1b8d0001ea8b1a54b5e327dd0c1c406f2
[ "Apache-2.0" ]
null
null
null
Recursions/Recursions 3/Return_Permutations_of_a_String.py
jarvis-1805/DSAwithPYTHON
872073d1b8d0001ea8b1a54b5e327dd0c1c406f2
[ "Apache-2.0" ]
null
null
null
''' Return Permutations of a String Given a string, find and return all the possible permutations of the input string. Note : The order of permutations are not important. Sample Input : abc Sample Output : abc acb bac bca cab cba ''' def permutations(string): #Implement Your Code Here if len(string) == 1: ...
16.538462
82
0.626357
90
645
4.488889
0.5
0.133663
0
0
0
0
0
0
0
0
0
0.008584
0.277519
645
39
83
16.538462
0.858369
0.393798
0
0
0
0
0
0
0
0
0
0.025641
0
1
0.071429
false
0
0
0
0.214286
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
814622e38dc08d30366c51865bd04a0dc235f8c3
3,511
py
Python
glanceclient/common/utils.py
dreamhost/python-glanceclient
b9b897252868732763de60d829b5c8de188adf38
[ "Apache-2.0" ]
null
null
null
glanceclient/common/utils.py
dreamhost/python-glanceclient
b9b897252868732763de60d829b5c8de188adf38
[ "Apache-2.0" ]
null
null
null
glanceclient/common/utils.py
dreamhost/python-glanceclient
b9b897252868732763de60d829b5c8de188adf38
[ "Apache-2.0" ]
null
null
null
# Copyright 2012 OpenStack LLC. # 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 b...
29.754237
78
0.65366
482
3,511
4.659751
0.390041
0.024043
0.032057
0.0187
0.098842
0.028495
0
0
0
0
0
0.00416
0.246938
3,511
117
79
30.008547
0.84531
0.245229
0
0.116667
0
0
0.054153
0.010096
0
0
0
0
0
0
null
null
0.033333
0.066667
null
null
0.066667
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
814951493d60ff9e107b53a0bf5a41bca159cacb
3,998
py
Python
pynet/lib/cmd.py
iavr/pynet
09f3500e12a72c63699c74c34573539bfdc3ea12
[ "BSD-2-Clause" ]
3
2019-12-11T15:09:58.000Z
2020-12-29T05:54:40.000Z
pynet/lib/cmd.py
iavr/pynet
09f3500e12a72c63699c74c34573539bfdc3ea12
[ "BSD-2-Clause" ]
null
null
null
pynet/lib/cmd.py
iavr/pynet
09f3500e12a72c63699c74c34573539bfdc3ea12
[ "BSD-2-Clause" ]
null
null
null
import string, sys from lib import __, given, is_, iterate, union # command-line parsing class CommandLineError(ValueError): def __init__(self, msg): ValueError.__init__(self, msg) def cmd(fun=__): # function signature, including positional and keyword arguments def sign(a=[], k={}): # exit or raise excepti...
24.527607
79
0.532766
618
3,998
3.383495
0.236246
0.008608
0.007652
0.010043
0.039216
0.028694
0.020086
0.010521
0.010521
0
0
0.007841
0.234367
3,998
162
80
24.679012
0.67527
0.137819
0
0.082645
0
0
0.181527
0
0
0
0
0
0.008264
0
null
null
0
0.016529
null
null
0.057851
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
8149d33e8d4a3553b6bcfca8b995eea7fe6f227a
1,323
py
Python
src/tests/datastructures/test_misc.py
DavidLlorens/algoritmia
40ca0a89ea6de9b633fa5f697f0a28cae70816a2
[ "MIT" ]
6
2018-09-15T15:09:10.000Z
2022-02-27T01:23:11.000Z
src/tests/datastructures/test_misc.py
JeromeIllgner/algoritmia
406afe7206f2411557859bf03480c16db7dcce0d
[ "MIT" ]
null
null
null
src/tests/datastructures/test_misc.py
JeromeIllgner/algoritmia
406afe7206f2411557859bf03480c16db7dcce0d
[ "MIT" ]
5
2018-07-10T20:19:55.000Z
2021-03-31T03:32:22.000Z
''' Created on 20/05/2009 @author: Andres ''' import unittest from algoritmia.datastructures.misc import RangeSet class TestRangeSet(unittest.TestCase): def setUp(self): self.r1 = RangeSet(0, 10) self.r2 = RangeSet(11, 20) self.r3 = RangeSet(0, 0) def test_len(self): ...
31.5
73
0.589569
181
1,323
4.243094
0.265193
0.175781
0.045573
0.125
0.434896
0.335938
0.268229
0.179688
0.179688
0
0
0.062628
0.263794
1,323
42
74
31.5
0.725873
0.06198
0
0
0
0
0.006706
0
0
0
0
0
0.5
1
0.166667
false
0
0.066667
0
0.266667
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
1
0
0
0
0
0
0
0
0
0
1
814d8fdb564c546812d338f8a0de4cb5062c10ad
1,384
py
Python
src/netcheck/mockconn.py
tito/p4a-facebook-example
51db01d1ff08d4156a0d19f9427f27bb29263730
[ "MIT" ]
7
2015-06-29T08:26:54.000Z
2020-11-28T23:44:57.000Z
src/netcheck/mockconn.py
tito/p4a-facebook-example
51db01d1ff08d4156a0d19f9427f27bb29263730
[ "MIT" ]
null
null
null
src/netcheck/mockconn.py
tito/p4a-facebook-example
51db01d1ff08d4156a0d19f9427f27bb29263730
[ "MIT" ]
7
2015-05-15T14:33:49.000Z
2022-01-15T18:23:41.000Z
from kivy.logger import Logger ''' Mock for checking the connection. Set success to test ''' class Netcheck(): def __init__(self, prompt=None): if prompt is None: prompt = self._no_prompt self._prompt = prompt self.MOCK_RESULT=False self.MOCK_SETTINGS_RESULT=True ...
30.755556
75
0.631503
168
1,384
4.958333
0.303571
0.067227
0.067227
0.079232
0
0
0
0
0
0
0
0
0.279624
1,384
44
76
31.454545
0.835507
0
0
0.058824
0
0
0.073374
0
0
0
0
0
0
1
0.235294
false
0
0.029412
0
0.323529
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
8150434457edd4517278d0df27287a681deac03c
889
py
Python
src/homework/homework1.py
acc-cosc-1336/cosc-1336-spring-2018-Isaacol77
e121b401e84b7ae36ebf4e0fecf3a123b4e24b38
[ "MIT" ]
null
null
null
src/homework/homework1.py
acc-cosc-1336/cosc-1336-spring-2018-Isaacol77
e121b401e84b7ae36ebf4e0fecf3a123b4e24b38
[ "MIT" ]
null
null
null
src/homework/homework1.py
acc-cosc-1336/cosc-1336-spring-2018-Isaacol77
e121b401e84b7ae36ebf4e0fecf3a123b4e24b38
[ "MIT" ]
null
null
null
def get_hours_since_midnight(seconds): ''' Type the code to calculate total hours given n(number) of seconds For example, given 3800 seconds the total hours is 1 ''' return (seconds//3600) ''' IF YOU ARE OK WITH A GRADE OF 70 FOR THIS ASSIGNMENT STOP HERE. ''' def get_minutes(seconds): ''' ...
30.655172
88
0.688414
135
889
4.466667
0.348148
0.079602
0.069652
0.089552
0.674959
0.674959
0.674959
0.618574
0.482587
0.482587
0
0.050074
0.23622
889
28
89
31.75
0.837997
0.544432
0
0.25
0
0
0
0
0
0
0
0
0
1
0.375
false
0
0
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
8152e046602944e8767a2107287c7ee2bc9efd9a
7,856
py
Python
pgxnclient/commands/info.py
intgr/pgxnclient
b440b3b95329b109fa984acbbf98ef878facd6a5
[ "BSD-3-Clause" ]
1
2018-05-31T07:59:30.000Z
2018-05-31T07:59:30.000Z
pgxnclient/commands/info.py
umitanuki/pgxnclient
c6f8cdd124f55e07b1dad7e07c10ace431eb037f
[ "BSD-3-Clause" ]
null
null
null
pgxnclient/commands/info.py
umitanuki/pgxnclient
c6f8cdd124f55e07b1dad7e07c10ace431eb037f
[ "BSD-3-Clause" ]
null
null
null
""" pgxnclient -- informative commands implementation """ # Copyright (C) 2011 Daniele Varrazzo # This file is part of the PGXN client from pgxnclient.i18n import _, N_ from pgxnclient import SemVer from pgxnclient.errors import NotFound, ResourceNotFound from pgxnclient.commands import Command, WithSpec import log...
34.761062
82
0.543152
912
7,856
4.592105
0.258772
0.006208
0.0117
0.0351
0.278653
0.243075
0.166667
0.166667
0.151862
0.143505
0
0.002844
0.328539
7,856
225
83
34.915556
0.79109
0.052062
0
0.194118
0
0
0.166028
0
0
0
0
0.004444
0
0
null
null
0.005882
0.047059
null
null
0.117647
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
81535a1e27500bf3505232f5e3a1c395f02475a8
4,194
py
Python
setup.py
AAGunya/jetset
53cb0e3e1f308273f19fd4c9b288be12447fd43d
[ "BSD-3-Clause" ]
null
null
null
setup.py
AAGunya/jetset
53cb0e3e1f308273f19fd4c9b288be12447fd43d
[ "BSD-3-Clause" ]
null
null
null
setup.py
AAGunya/jetset
53cb0e3e1f308273f19fd4c9b288be12447fd43d
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python from __future__ import division, absolute_import, print_function __author__ = 'andrea tramacere' from setuptools import setup, find_packages,Extension from setuptools.command.install import install #from distutils.extension import Extension import distutils.command.install as orig from dist...
24.103448
145
0.609919
472
4,194
5.194915
0.358051
0.028548
0.026509
0.035481
0.184747
0.075856
0.075856
0.044046
0
0
0
0.001625
0.266333
4,194
173
146
24.242775
0.795255
0.092513
0
0.324324
0
0
0.22442
0.06461
0
0
0
0
0
1
0.027027
false
0.072072
0.117117
0
0.171171
0.063063
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
81569fafbe05fa3fe6f7498901ffa80ac749aca4
903
py
Python
structural-probes/micheal_experiment.py
garysnake/structural-probes
1957072f3a60e95dd8f22db02d4b66d7a6af277b
[ "Apache-2.0" ]
null
null
null
structural-probes/micheal_experiment.py
garysnake/structural-probes
1957072f3a60e95dd8f22db02d4b66d7a6af277b
[ "Apache-2.0" ]
null
null
null
structural-probes/micheal_experiment.py
garysnake/structural-probes
1957072f3a60e95dd8f22db02d4b66d7a6af277b
[ "Apache-2.0" ]
null
null
null
from run_experiment import setup_new_experiment_dir, execute_experiment import yaml import torch # CHANGE PATH CONFIG_FILE = '/home/garysnake/Desktop/structural-probes/experiments/config/bert_base_distance_cola.yaml' EXPERIMENT_NAME = '/home/garysnake/Desktop/structural-probes/experiments/results/bert_base_distance_co...
34.730769
105
0.829457
134
903
5.253731
0.365672
0.109375
0.059659
0.059659
0.133523
0.133523
0
0
0
0
0
0.004808
0.078627
903
26
106
34.730769
0.841346
0.012182
0
0
0
0
0.212121
0.195286
0
0
0
0
0
1
0
false
0.052632
0.157895
0
0.210526
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
8157f133e29586c8684da71b90efe281fc2588be
12,137
py
Python
Qt/Encoder_Control_GUI_ONLY.py
apajon/GUI_QT_ONLY
9a486288d5c59d5e75b19f3809044bb4dcb3be8c
[ "MIT" ]
null
null
null
Qt/Encoder_Control_GUI_ONLY.py
apajon/GUI_QT_ONLY
9a486288d5c59d5e75b19f3809044bb4dcb3be8c
[ "MIT" ]
4
2021-06-03T23:34:17.000Z
2021-06-04T21:31:19.000Z
GUI/lib/Encoder_Control_GUI_ONLY.py
apajon/GUIPythonEncodeur
05b58809ed7a287369c5bfa04b5fb69f5d9e36aa
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'Encoder_Control_GUI_ONLY.ui' # # Created by: PyQt5 UI code generator 5.15.2 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless you know what you are doing. from PyQt5 im...
58.917476
122
0.743017
1,131
12,137
7.849691
0.164456
0.093264
0.042127
0.017234
0.321807
0.215139
0.111624
0.111624
0.111624
0.101374
0
0.016208
0.156134
12,137
205
123
59.204878
0.850615
0.023811
0
0.074074
1
0
0.090118
0.00397
0
0
0
0
0
1
0.010582
false
0
0.010582
0
0.026455
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
815b6d742887d71d5af6a67c200bc9b89afcec34
506
py
Python
migrations/0018_auto_20180326_0331.py
tkhjp/editor_tkh
fcf8fc4ba3d058b5d0de878ec72a07c56a5c7377
[ "MIT" ]
null
null
null
migrations/0018_auto_20180326_0331.py
tkhjp/editor_tkh
fcf8fc4ba3d058b5d0de878ec72a07c56a5c7377
[ "MIT" ]
null
null
null
migrations/0018_auto_20180326_0331.py
tkhjp/editor_tkh
fcf8fc4ba3d058b5d0de878ec72a07c56a5c7377
[ "MIT" ]
null
null
null
# Generated by Django 2.0.2 on 2018-03-26 03:31 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('editor', '0017_knowledge_point_list_grade'), ] operations = [ migrations.AlterField( model_name='question_upload', n...
26.631579
143
0.579051
59
506
4.813559
0.779661
0
0
0
0
0
0
0
0
0
0
0.067708
0.241107
506
18
144
28.111111
0.671875
0.088933
0
0
1
0
0.198257
0.067538
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
815b6e0e6b68e5dd2bbfcf70b04513a43c409886
2,076
py
Python
api_testing/function/ela_log.py
elastos/Elastos.Hive.HttpAPITests
2f14928992e4e2f5bf53e50bb93a0b7c4f6eaacd
[ "MIT" ]
4
2019-01-06T05:19:05.000Z
2019-06-07T09:32:45.000Z
api_testing/function/ela_log.py
elastos/Elastos.Hive.HttpAPITests
2f14928992e4e2f5bf53e50bb93a0b7c4f6eaacd
[ "MIT" ]
null
null
null
api_testing/function/ela_log.py
elastos/Elastos.Hive.HttpAPITests
2f14928992e4e2f5bf53e50bb93a0b7c4f6eaacd
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ __title__ = '' __author__ = 'suxx' __mtime__ = '2018/12/29' """ import logging, os, sys from datetime import datetime import threading sys.path.append("../") import read_conf class Log: def __init__(self): self.pro_dir = read_conf.pro_dir self.resultPath = os.path.join(...
26.961039
98
0.618015
253
2,076
4.960474
0.347826
0.028685
0.031873
0.044622
0.239044
0.239044
0.239044
0.239044
0.239044
0.16255
0
0.005844
0.258189
2,076
76
99
27.315789
0.809091
0.117534
0
0.045455
0
0
0.082668
0
0
0
0
0
0
0
null
null
0
0.090909
null
null
0.022727
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
815fdaea48cc68fcaa3b97b866fa0f90d2cc8094
2,869
py
Python
plugins/easyvista/icon_easyvista/util/api.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
46
2019-06-05T20:47:58.000Z
2022-03-29T10:18:01.000Z
plugins/easyvista/icon_easyvista/util/api.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
386
2019-06-07T20:20:39.000Z
2022-03-30T17:35:01.000Z
plugins/easyvista/icon_easyvista/util/api.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
43
2019-07-09T14:13:58.000Z
2022-03-28T12:04:46.000Z
from insightconnect_plugin_runtime.exceptions import PluginException from json import JSONDecodeError import requests from requests.auth import HTTPBasicAuth from urllib.parse import urlsplit class EasyVistaApi: def __init__(self, client_login: dict, account: int, url: str): self.base_url = f"{self.split_...
42.820896
118
0.649355
314
2,869
5.802548
0.366242
0.115258
0.049396
0.112514
0.210209
0.074643
0.074643
0.074643
0.074643
0
0
0.009337
0.253398
2,869
66
119
43.469697
0.84127
0
0
0.103448
0
0
0.157198
0.03625
0
0
0
0
0
1
0.103448
false
0.051724
0.086207
0.017241
0.293103
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
816044b3c114ce6fbf5148d6059b33bec44d0647
2,952
py
Python
2021/4b.py
linnall/advent-of-code
66fa4922b71b57ef9d98423955a72ab7f95adc9a
[ "MIT" ]
1
2021-12-17T05:50:49.000Z
2021-12-17T05:50:49.000Z
2021/4b.py
linnall/advent-of-code
66fa4922b71b57ef9d98423955a72ab7f95adc9a
[ "MIT" ]
null
null
null
2021/4b.py
linnall/advent-of-code
66fa4922b71b57ef9d98423955a72ab7f95adc9a
[ "MIT" ]
null
null
null
class BingoBoard: def __init__(self) -> None: self.board = [] self.markedNums = 0 def __repr__(self) -> str: ret = '' for line in self.board: for num in line: ret += num + ' ' ret += '\n' return ret def check_value(self, val:...
26.357143
69
0.401423
289
2,952
4.027682
0.238754
0.054124
0.027491
0.036082
0.174399
0.174399
0.12543
0.12543
0.12543
0.12543
0
0.022885
0.511518
2,952
111
70
26.594595
0.784327
0.02168
0
0.357895
0
0
0.008672
0
0
0
0
0
0
1
0.063158
false
0.010526
0
0
0.136842
0.010526
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
81620f0f7008f84db5a68edc4f36451209d47f8d
1,336
py
Python
forms.py
nikhilgaba001/XIRR-Calculator
87f9b8b33ff04fb32353048b515df5aaff8384c4
[ "MIT" ]
2
2021-02-26T15:32:06.000Z
2022-03-12T12:33:19.000Z
forms.py
nikhilgaba001/XIRR-Calculator
87f9b8b33ff04fb32353048b515df5aaff8384c4
[ "MIT" ]
null
null
null
forms.py
nikhilgaba001/XIRR-Calculator
87f9b8b33ff04fb32353048b515df5aaff8384c4
[ "MIT" ]
null
null
null
from flask_wtf import FlaskForm from wtforms import StringField, PasswordField, BooleanField, IntegerField, TextAreaField, SubmitField, MultipleFileField from wtforms.fields.html5 import DateField from wtforms.validators import InputRequired, NumberRange from wtforms import Form, FormField from wtforms.fields import Fi...
29.043478
121
0.741766
149
1,336
6.637584
0.409396
0.139535
0.024267
0.0273
0.345804
0.264914
0.232558
0.159757
0.159757
0.159757
0
0.013769
0.13024
1,336
45
122
29.688889
0.837349
0
0
0.1
0
0
0.122914
0
0
0
0
0
0
1
0
false
0.05
0.3
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
8163002b8b71cb414468c4ff2ccc16c460efac9c
263
py
Python
HG002/necat/ min_reads_len.py
brilliantlee2/SV_caller
2e0f0ef708d667a3c3bfbeb104d9c38e44d4f9c1
[ "MIT" ]
null
null
null
HG002/necat/ min_reads_len.py
brilliantlee2/SV_caller
2e0f0ef708d667a3c3bfbeb104d9c38e44d4f9c1
[ "MIT" ]
null
null
null
HG002/necat/ min_reads_len.py
brilliantlee2/SV_caller
2e0f0ef708d667a3c3bfbeb104d9c38e44d4f9c1
[ "MIT" ]
null
null
null
f_chr6 = open("/hwfssz1/ST_BIOCHEM/P18Z10200N0032/liyiyan/SV_Caller/HG002/chr6_reads.fastq") liness = f_chr6.readlines() reads_list = [] for i in range(1,len(liness),4): reads_list.append(liness[i]) res = min(reads_list, key=len,default='') print(len(res)-1)
32.875
92
0.737643
44
263
4.227273
0.659091
0.145161
0
0
0
0
0
0
0
0
0
0.0875
0.087452
263
7
93
37.571429
0.6875
0
0
0
0
0
0.285171
0.285171
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
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
816349c9214482268b6080f234e51dccc5e80486
180
py
Python
for1.py
welykPereira/pythonExerciciosFaculdade
614f08d2951064e8ed991f238263624620e1696e
[ "MIT" ]
null
null
null
for1.py
welykPereira/pythonExerciciosFaculdade
614f08d2951064e8ed991f238263624620e1696e
[ "MIT" ]
null
null
null
for1.py
welykPereira/pythonExerciciosFaculdade
614f08d2951064e8ed991f238263624620e1696e
[ "MIT" ]
null
null
null
qtd = 0 soma = 0 for i in range(1, 101, 1): if i % 2 == 0: qtd += 1 soma += i media = soma / qtd print('A media dos pares de 1 ate 100 e de {} '.format(media))
20
62
0.516667
35
180
2.657143
0.6
0
0
0
0
0
0
0
0
0
0
0.117647
0.338889
180
8
63
22.5
0.663866
0
0
0
0
0
0.216667
0
0
0
0
0
0
1
0
false
0
0
0
0
0.125
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
816a47036c6c586ae032a4d141ef89580db13334
10,269
py
Python
python-real-time-application/EMGProcessing.py
italogsfernandes/emg-moviments-classifier
7a58f162fa6c5bc1a2906c539dac3e0210115522
[ "MIT" ]
2
2018-12-16T16:48:17.000Z
2019-02-09T15:03:30.000Z
python-real-time-application/EMGProcessing.py
italogsfernandes/emg-moviments-classifier
7a58f162fa6c5bc1a2906c539dac3e0210115522
[ "MIT" ]
3
2018-05-16T20:12:15.000Z
2018-05-16T20:12:57.000Z
python-real-time-application/EMGProcessing.py
italogsfernandes/emg-moviments-classifier
7a58f162fa6c5bc1a2906c539dac3e0210115522
[ "MIT" ]
1
2019-01-17T15:23:33.000Z
2019-01-17T15:23:33.000Z
# -*- coding: utf-8 -*- # ------------------------------------------------------------------------------ # FEDERAL UNIVERSITY OF UBERLANDIA # Faculty of Electrical Engineering # ------------------------------------------------------------------------------ # Author: Italo Gustavo Sampaio Fernandes # Contact: italogsfer...
46.466063
132
0.595189
1,329
10,269
4.269375
0.154251
0.070497
0.097286
0.060804
0.626895
0.590236
0.538068
0.463518
0.400775
0.33116
0
0.047387
0.200604
10,269
220
133
46.677273
0.643806
0.147434
0
0
0
0
0.044483
0
0
0
0
0
0
1
0.078125
false
0.476563
0.023438
0
0.117188
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
816bc21174b74039da90cf8842789aa03e4acf3c
405
py
Python
menpodetect/tests/pico_test.py
jabooth/menpodetect
fd3c52a87a2327a2f0ad17fdd1fd1861bc9f4330
[ "BSD-3-Clause" ]
null
null
null
menpodetect/tests/pico_test.py
jabooth/menpodetect
fd3c52a87a2327a2f0ad17fdd1fd1861bc9f4330
[ "BSD-3-Clause" ]
null
null
null
menpodetect/tests/pico_test.py
jabooth/menpodetect
fd3c52a87a2327a2f0ad17fdd1fd1861bc9f4330
[ "BSD-3-Clause" ]
null
null
null
from menpodetect.pico import load_pico_frontal_face_detector import menpo.io as mio takeo = mio.import_builtin_asset.takeo_ppm() def test_frontal_face_detector(): takeo_copy = takeo.copy() pico_detector = load_pico_frontal_face_detector() pcs = pico_detector(takeo_copy) assert len(pcs) == 1 asser...
28.928571
60
0.762963
61
405
4.688525
0.491803
0.157343
0.199301
0.132867
0.188811
0
0
0
0
0
0
0.011628
0.150617
405
13
61
31.153846
0.819767
0
0
0
0
0
0.014815
0
0
0
0
0
0.3
1
0.1
false
0
0.3
0
0.4
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
81782039c35e03167839de353187ca28af2c8a03
12,333
py
Python
src/oci/opsi/models/create_pe_comanaged_database_insight_details.py
pabs3/oci-python-sdk
437ba18ce39af2d1090e277c4bb8750c89f83021
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
src/oci/opsi/models/create_pe_comanaged_database_insight_details.py
pabs3/oci-python-sdk
437ba18ce39af2d1090e277c4bb8750c89f83021
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
src/oci/opsi/models/create_pe_comanaged_database_insight_details.py
pabs3/oci-python-sdk
437ba18ce39af2d1090e277c4bb8750c89f83021
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
# coding: utf-8 # Copyright (c) 2016, 2022, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may c...
39.152381
245
0.693424
1,311
12,333
6.267735
0.14569
0.029938
0.213582
0.046002
0.652185
0.542777
0.391627
0.321285
0.268711
0.237069
0
0.002018
0.236601
12,333
314
246
39.27707
0.870738
0.56215
0
0.067961
0
0
0.1687
0.03084
0
0
0
0
0
1
0.174757
false
0
0.029126
0.019417
0.349515
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
817b92fbf10cb80651d9eed77880ab2eac6834a5
621
py
Python
animals/models.py
sourovw/rescue-and-adoption-system
3852d0e512abe34b1a2ccafd2808a575139045f3
[ "BSD-3-Clause" ]
5
2021-08-05T07:47:31.000Z
2021-08-07T16:06:10.000Z
animals/models.py
sourovw/rescue-and-adoption-system
3852d0e512abe34b1a2ccafd2808a575139045f3
[ "BSD-3-Clause" ]
null
null
null
animals/models.py
sourovw/rescue-and-adoption-system
3852d0e512abe34b1a2ccafd2808a575139045f3
[ "BSD-3-Clause" ]
4
2021-08-05T08:19:33.000Z
2021-08-09T20:08:15.000Z
from django.db import models from PIL import Image class Animal(models.Model): category = models.CharField(max_length=30) gender = models.CharField(max_length=20, blank=True) picture = models.ImageField(upload_to='animals/photos/') adopted = models.BooleanField(default=False) def __str__(self): ...
29.571429
60
0.642512
81
621
4.814815
0.604938
0.076923
0.092308
0.123077
0
0
0
0
0
0
0
0.031646
0.236715
621
20
61
31.05
0.791139
0
0
0
0
0
0.075684
0
0
0
0
0
0
1
0.125
false
0
0.125
0.0625
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
8180d20e584099f23eacf887ef4f8f136c558f26
2,016
py
Python
rpgtk/core.py
is-gabs/rpgtk
11f657ed52374b0d9a106f5e0f9b433441141f6d
[ "MIT" ]
2
2022-02-18T01:22:11.000Z
2022-03-02T02:32:19.000Z
rpgtk/core.py
is-gabs/rpgtk
11f657ed52374b0d9a106f5e0f9b433441141f6d
[ "MIT" ]
null
null
null
rpgtk/core.py
is-gabs/rpgtk
11f657ed52374b0d9a106f5e0f9b433441141f6d
[ "MIT" ]
null
null
null
from random import choice, randint from typing import List, Optional from rpgtk.exceptions import DiceException SIDE_HEAD = 'head' SIDE_TAIL = 'tail' class Dice: ''' The Dice object have some sides. Args: sides (int): The number of the sides of a dice instance. Attributes: last_rol...
25.846154
79
0.612599
271
2,016
4.391144
0.339483
0.067227
0.060504
0.032773
0.276471
0.241176
0.219328
0.219328
0.191597
0.191597
0
0.002073
0.282242
2,016
77
80
26.181818
0.820318
0.177579
0
0.175
0
0
0.1086
0
0
0
0
0
0
1
0.225
false
0
0.075
0.025
0.6
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
8181ca111734655c815a6bac1eb8e115fd968c2a
2,179
py
Python
tests/test_describe_graph_line.py
winbo/GitSavvy
d56415d5d0415f5b01f0c61bbb93f9805a21c824
[ "MIT" ]
2,058
2015-02-27T19:06:31.000Z
2019-10-17T13:42:11.000Z
tests/test_describe_graph_line.py
winbo/GitSavvy
d56415d5d0415f5b01f0c61bbb93f9805a21c824
[ "MIT" ]
1,057
2015-02-11T23:14:56.000Z
2019-10-17T20:17:23.000Z
tests/test_describe_graph_line.py
divmain/GitGadget
6452528d22a13c6f3169ad20619471d261e576bf
[ "MIT" ]
180
2015-03-06T14:26:05.000Z
2019-10-12T06:28:21.000Z
from unittesting import DeferrableTestCase from GitSavvy.tests.parameterized import parameterized as p from GitSavvy.core.commands.log_graph import describe_graph_line examples = [ ( "|", {}, None ), ( "● a3062b2 (HEAD -> optimize-graph-render, origin/optimize-graph-render...
29.445946
115
0.514915
212
2,179
5.273585
0.306604
0.174419
0.25492
0.112701
0.59839
0.571556
0.522361
0.474061
0.358676
0.323792
0
0.062715
0.334098
2,179
73
116
29.849315
0.703653
0
0
0.298507
0
0.074627
0.471317
0.16659
0
0
0
0
0.014925
1
0.014925
false
0
0.044776
0
0.074627
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
818a171f76d47dfd683389c16182afd25de2b6e9
4,254
py
Python
routers/snippet.py
EliasEriksson/ignition
27352ead7c5d3bd9d23f76a54576b999d6dacf56
[ "MIT" ]
null
null
null
routers/snippet.py
EliasEriksson/ignition
27352ead7c5d3bd9d23f76a54576b999d6dacf56
[ "MIT" ]
1
2022-02-21T23:50:42.000Z
2022-02-21T23:50:42.000Z
routers/snippet.py
EliasEriksson/ignition
27352ead7c5d3bd9d23f76a54576b999d6dacf56
[ "MIT" ]
null
null
null
import fastapi import sql import schemas import datetime import uuid from fastapi.security import OAuth2PasswordBearer import asyncio import logging import ignition loop = asyncio.get_event_loop() server = ignition.Server(10, ignition.get_logger(__name__, logging.INFO, stdout=True), loop=loop) router = fastapi.APIRo...
31.984962
100
0.649741
503
4,254
5.405567
0.161034
0.036043
0.03641
0.040456
0.694373
0.694373
0.694373
0.662376
0.662376
0.640677
0
0.008723
0.245416
4,254
132
101
32.227273
0.838318
0
0
0.601942
0
0
0.03099
0
0
0
0
0
0
1
0
false
0.019417
0.087379
0
0.135922
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
8196a7d3ce53a4ae0b0491a365fd1b4e2cb0d874
809
py
Python
private_sharing/migrations/0027_oauth2datarequestproject_webhook_secret.py
danamlewis/open-humans
9b08310cf151f49032b66ddd005bbd47d466cc4e
[ "MIT" ]
57
2016-09-01T21:55:52.000Z
2022-03-27T22:15:32.000Z
private_sharing/migrations/0027_oauth2datarequestproject_webhook_secret.py
danamlewis/open-humans
9b08310cf151f49032b66ddd005bbd47d466cc4e
[ "MIT" ]
464
2015-03-23T18:08:28.000Z
2016-08-25T04:57:36.000Z
private_sharing/migrations/0027_oauth2datarequestproject_webhook_secret.py
danamlewis/open-humans
9b08310cf151f49032b66ddd005bbd47d466cc4e
[ "MIT" ]
25
2017-01-24T16:23:27.000Z
2021-11-07T01:51:42.000Z
# Generated by Django 2.2.10 on 2020-07-01 21:05 import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [("private_sharing", "0026_auto_20191202_2105")] operations = [ migrations.AddField( model_name="oauth2datareques...
31.115385
120
0.588381
82
809
5.707317
0.804878
0.064103
0.128205
0
0
0
0
0
0
0
0
0.072202
0.315204
809
25
121
32.36
0.772563
0.05686
0
0
1
0
0.235217
0.061761
0
0
0
0
0
1
0
false
0
0.105263
0
0.263158
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
819b317f1a1ea750833343377c3631fe9756fbab
487
py
Python
ciscosparkbot/__init__.py
wipro0/Sparkbot
95061e876d5a6e2fa2b18bc48c55228c6ff6b192
[ "Apache-2.0" ]
1
2020-02-23T14:55:56.000Z
2020-02-23T14:55:56.000Z
ciscosparkbot/__init__.py
wipro0/Sparkbot
95061e876d5a6e2fa2b18bc48c55228c6ff6b192
[ "Apache-2.0" ]
null
null
null
ciscosparkbot/__init__.py
wipro0/Sparkbot
95061e876d5a6e2fa2b18bc48c55228c6ff6b192
[ "Apache-2.0" ]
null
null
null
from .Spark import SparkBot # noqa import inspect as _inspect from .__about__ import ( # noqa __author__, __copyright__, __email__, __license__, __summary__, __title__, __uri__, __version__, ) _about_exports = [ "__author__", "__copyright__", "__email__", "__license__", "__summary__", "__title__", "__...
27.055556
78
0.706366
50
487
5.3
0.6
0.113208
0.150943
0.203774
0.369811
0.369811
0.369811
0.369811
0
0
0
0
0.168378
487
17
79
28.647059
0.654321
0.01848
0
0
0
0
0.172632
0
0
0
0
0
0
1
0
false
0
0.214286
0
0.214286
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
819c8d33352035179d9f28cae805cde72743b21d
2,069
py
Python
src/client_libraries/python/microsoft/dynamics/customerinsights/api/models/odata_error.py
microsoft/Dynamics365-CustomerInsights-Client-Libraries
e00632f7972717b03e0fb1a9e2667e8f9444a0fe
[ "MIT" ]
null
null
null
src/client_libraries/python/microsoft/dynamics/customerinsights/api/models/odata_error.py
microsoft/Dynamics365-CustomerInsights-Client-Libraries
e00632f7972717b03e0fb1a9e2667e8f9444a0fe
[ "MIT" ]
null
null
null
src/client_libraries/python/microsoft/dynamics/customerinsights/api/models/odata_error.py
microsoft/Dynamics365-CustomerInsights-Client-Libraries
e00632f7972717b03e0fb1a9e2667e8f9444a0fe
[ "MIT" ]
7
2021-02-11T19:48:57.000Z
2021-12-17T08:00:15.000Z
# coding=utf-8 # -------------------------------------------------------------------------- # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. # -------------------------------------------------------------------------- from ...
39.037736
100
0.61769
199
2,069
6.271357
0.321608
0.050481
0.105769
0.115385
0.141026
0.073718
0
0
0
0
0
0.000588
0.177864
2,069
52
101
39.788462
0.733098
0.426776
0
0
1
0
0.326958
0.022769
0
0
0
0
0
1
0.05
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
81a5d72bdfd4ee8fa2061235248ae843d777a428
5,195
py
Python
JumpscaleLibsExtra/servers/odoo/tests/test_odoo_server.py
threefoldtech/jumpscaleX_libs_extra
74324027e50d00b08c5b0d609e4492a85d4f8080
[ "Apache-2.0" ]
1
2020-10-05T08:53:57.000Z
2020-10-05T08:53:57.000Z
JumpscaleLibsExtra/servers/odoo/tests/test_odoo_server.py
threefoldtech/jumpscaleX_libs_extra
74324027e50d00b08c5b0d609e4492a85d4f8080
[ "Apache-2.0" ]
17
2019-11-14T08:41:37.000Z
2020-05-27T09:23:51.000Z
JumpscaleLibsExtra/servers/odoo/tests/test_odoo_server.py
threefoldtech/jumpscaleX_libs_extra
74324027e50d00b08c5b0d609e4492a85d4f8080
[ "Apache-2.0" ]
null
null
null
from Jumpscale import j import random, requests, uuid import subprocess, uuid skip = j.baseclasses.testtools._skip @skip("https://github.com/threefoldtech/jumpscaleX_builders/issues/50") def before_all(): pass def random_string(): return str(uuid.uuid4())[:10] def info(message): j.tools.logger._log_i...
31.295181
115
0.698749
694
5,195
5.053314
0.181556
0.125463
0.11919
0.052467
0.61363
0.567151
0.536356
0.412603
0.296835
0.296835
0
0.008856
0.195765
5,195
165
116
31.484848
0.830541
0.20616
0
0.32
0
0.01
0.202811
0
0
0
0
0
0.09
1
0.11
false
0.1
0.06
0.01
0.18
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
81b24d235821c668e6c83d29529a7f9b113fd542
495
py
Python
BisectionMethod.py
ericthered1138/NumericalAnalysis
2b389bdb5cd1d81fa70bd7a98168d441120313db
[ "CC0-1.0" ]
null
null
null
BisectionMethod.py
ericthered1138/NumericalAnalysis
2b389bdb5cd1d81fa70bd7a98168d441120313db
[ "CC0-1.0" ]
null
null
null
BisectionMethod.py
ericthered1138/NumericalAnalysis
2b389bdb5cd1d81fa70bd7a98168d441120313db
[ "CC0-1.0" ]
null
null
null
def samesign(a, b): return a * b > 0 def bisect(func, low, high): 'Find root of continuous function where f(low) and f(high) have opposite signs' assert not samesign(func(low), func(high)) for i in range(54): midpoint = (low + high) / 2.0 if samesign(func(low), func(midpoint...
22.5
84
0.543434
74
495
3.635135
0.486486
0.078067
0.111524
0.141264
0
0
0
0
0
0
0
0.027273
0.333333
495
22
85
22.5
0.787879
0.155556
0
0
0
0
0.162105
0
0
0
0
0
0.0625
1
0.1875
false
0
0
0.125
0.375
0.0625
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
81b5f3dcfee2175758f1c085076398b50543e483
21,408
py
Python
dtech_instagram/InstagramAPI/src/http/HttpInterface.py
hideki-saito/InstagramAPP_Flask
c3ee6f10d35edb74f0f82f4370faca8f0c25200c
[ "MIT" ]
1
2018-12-03T08:47:47.000Z
2018-12-03T08:47:47.000Z
dtech_instagram/InstagramAPI/src/http/HttpInterface.py
hideki-saito/InstagramAPP_Flask
c3ee6f10d35edb74f0f82f4370faca8f0c25200c
[ "MIT" ]
1
2018-12-12T17:31:31.000Z
2018-12-12T17:31:31.000Z
dtech_instagram/InstagramAPI/src/http/HttpInterface.py
hideki-saito/InstagramAPP_Flask
c3ee6f10d35edb74f0f82f4370faca8f0c25200c
[ "MIT" ]
null
null
null
import hmac import json import locale import math import pycurl import time from collections import OrderedDict try: from io import BytesIO except ImportError: from StringIO import StringIO as BytesIO from dtech_instagram.InstagramAPI.src.InstagramException import InstagramException from dtech_instagram.Insta...
35.739566
117
0.543068
2,131
21,408
5.393712
0.123886
0.072386
0.126675
0.032887
0.712111
0.667044
0.663912
0.650774
0.639725
0.612493
0
0.004745
0.320721
21,408
598
118
35.799331
0.785655
0.013359
0
0.684318
0
0
0.127505
0.015896
0
0
0
0.001672
0
1
0.020367
false
0
0.03055
0
0.063136
0.01222
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
81bac5f16d5ed358c670b55cb663769808686c78
890
py
Python
Round_2.py
codemasterady/PS4-Vs-XBox
226740642cc4f070d2c9482aa255662e7f4577ab
[ "MIT" ]
null
null
null
Round_2.py
codemasterady/PS4-Vs-XBox
226740642cc4f070d2c9482aa255662e7f4577ab
[ "MIT" ]
null
null
null
Round_2.py
codemasterady/PS4-Vs-XBox
226740642cc4f070d2c9482aa255662e7f4577ab
[ "MIT" ]
null
null
null
# Importing the libraires import numpy as np import pandas as pd import matplotlib.pyplot as plt # Getting the dataset dataset = pd.read_csv("vgsales.csv") # Getting the problem specific datasets platform = dataset['Platform'].values # Convering to a 2d array platform = np.array(platform.reshape(-1, 1)) ...
32.962963
143
0.696629
128
890
4.671875
0.5
0.210702
0.160535
0
0
0
0
0
0
0
0
0.018106
0.193258
890
26
144
34.230769
0.814763
0.188764
0
0
0
0
0.100145
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
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
81c55c7b65d95ee2c6e1a72dc8922770d1c43e64
1,297
py
Python
tests/functionnal/user/test_update_user.py
pdellaert/bambou
f140fda6374a3151792a2dfbc6826749779c6c16
[ "BSD-3-Clause" ]
8
2015-08-21T00:06:41.000Z
2018-01-08T22:46:45.000Z
tests/functionnal/user/test_update_user.py
pdellaert/bambou
f140fda6374a3151792a2dfbc6826749779c6c16
[ "BSD-3-Clause" ]
27
2015-08-29T23:47:57.000Z
2021-06-08T02:31:23.000Z
tests/functionnal/user/test_update_user.py
pdellaert/bambou
f140fda6374a3151792a2dfbc6826749779c6c16
[ "BSD-3-Clause" ]
18
2015-08-29T23:37:55.000Z
2019-03-06T07:51:28.000Z
# -*- coding: utf-8 -*- from unittest import TestCase from mock import patch from tests.utils import MockUtils from tests.functionnal import start_session class Update(TestCase): @classmethod def setUpClass(cls): cls.user = start_session() @classmethod def tearDownClass(cls): pass ...
30.880952
109
0.683115
144
1,297
6.041667
0.486111
0.12069
0.055172
0.086207
0.1
0
0
0
0
0
0
0.036538
0.19815
1,297
41
110
31.634146
0.8
0.053971
0
0.076923
0
0
0.16735
0.052502
0
0
0
0
0.269231
1
0.115385
false
0.115385
0.153846
0
0.307692
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
81cbae756de4d4138d49afad325664c5d4abeef6
2,345
py
Python
algorithms/em_example_for_coin_toss.py
lovms/code_snippets
243d751cb2b3725e20dca1adb5b5563b64a3eed0
[ "MIT" ]
null
null
null
algorithms/em_example_for_coin_toss.py
lovms/code_snippets
243d751cb2b3725e20dca1adb5b5563b64a3eed0
[ "MIT" ]
null
null
null
algorithms/em_example_for_coin_toss.py
lovms/code_snippets
243d751cb2b3725e20dca1adb5b5563b64a3eed0
[ "MIT" ]
null
null
null
import sys import operator import math ''' this program implements EM algorithm to calculate probability of toss of two coins, with data of 5 groups of 10 toss trials without knowing which coin was exactly used for each group. Data is from the Nature paper : What is the expectation maximization algorithm? Chuong B D...
34.485294
123
0.659275
437
2,345
3.343249
0.2746
0.032854
0.020534
0.045175
0.245722
0.205339
0.154689
0.121834
0.121834
0.07666
0
0.025858
0.191898
2,345
67
124
35
0.745119
0.088699
0
0
0
0
0.041667
0
0
0
0
0
0
0
null
null
0
0.103448
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
81cc516d9e84a7ed6701f6e637849b407d2a98a1
11,278
py
Python
monorail/pickupsview.py
heinervdm/MysticMine
cba23575c3054af967aae1a15cfb88b28bedc28d
[ "MIT" ]
1
2019-10-19T09:54:32.000Z
2019-10-19T09:54:32.000Z
monorail/pickupsview.py
heinervdm/MysticMine
cba23575c3054af967aae1a15cfb88b28bedc28d
[ "MIT" ]
null
null
null
monorail/pickupsview.py
heinervdm/MysticMine
cba23575c3054af967aae1a15cfb88b28bedc28d
[ "MIT" ]
null
null
null
#!/usr/bin/env python import random import pygame from koon.geo import Vec2D import koon.geo as geo from koon.gfx import SpriteFilm, Font, LoopAnimationTimer, PingPongTimer, Timer from koon.res import resman import pickups import event import tiles class PickupView: def __init__( self ): self.pos = None...
36.147436
111
0.600904
1,471
11,278
4.411965
0.113528
0.078582
0.050847
0.076271
0.67812
0.651618
0.636518
0.618182
0.607396
0.607396
0
0.018367
0.285512
11,278
311
112
36.263666
0.787044
0.032364
0
0.487069
0
0
0.026323
0.002018
0
0
0
0.003215
0
1
0.172414
false
0
0.038793
0.00431
0.310345
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
81d7541d7d020b438677dddabf2aae1a5a9876c6
37,097
py
Python
src/test/tests/unit/atts_assign.py
visit-dav/vis
c08bc6e538ecd7d30ddc6399ec3022b9e062127e
[ "BSD-3-Clause" ]
226
2018-12-29T01:13:49.000Z
2022-03-30T19:16:31.000Z
src/test/tests/unit/atts_assign.py
visit-dav/vis
c08bc6e538ecd7d30ddc6399ec3022b9e062127e
[ "BSD-3-Clause" ]
5,100
2019-01-14T18:19:25.000Z
2022-03-31T23:08:36.000Z
src/test/tests/unit/atts_assign.py
visit-dav/vis
c08bc6e538ecd7d30ddc6399ec3022b9e062127e
[ "BSD-3-Clause" ]
84
2019-01-24T17:41:50.000Z
2022-03-10T10:01:46.000Z
# ---------------------------------------------------------------------------- # CLASSES: nightly # # Test Case: atts_assign.py # # Tests: Behavior of assignment for attribute objects. Ensures good cases # succeed and bad cases fail with specific python exceptions. Tests variety # of types present in members of V...
32.742277
125
0.552848
4,422
37,097
4.632745
0.08322
0.042468
0.018452
0.033828
0.665186
0.631797
0.503563
0.422484
0.279362
0.235722
0
0.041844
0.279133
37,097
1,132
126
32.771201
0.724217
0.078982
0
0.571737
0
0
0.1733
0.072323
0
0
0
0
0
1
0.022654
false
0.121899
0.001079
0.001079
0.026969
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
81dc3c6757474a9243ac259a1875de66af41a368
1,191
py
Python
src/geventmp/_mp/3/_mp_connection.py
pcdinh/geventmp
43cc869c2e909dd50421e435a8dac8540dcfcc97
[ "Apache-2.0" ]
null
null
null
src/geventmp/_mp/3/_mp_connection.py
pcdinh/geventmp
43cc869c2e909dd50421e435a8dac8540dcfcc97
[ "Apache-2.0" ]
null
null
null
src/geventmp/_mp/3/_mp_connection.py
pcdinh/geventmp
43cc869c2e909dd50421e435a8dac8540dcfcc97
[ "Apache-2.0" ]
null
null
null
import multiprocessing.reduction from io import BytesIO from multiprocessing.connection import reduce_connection, _ConnectionBase as __ConnectionBase, Connection as _Connection from pickletools import dis, optimize from gevent.os import make_nonblocking, nb_read, nb_write __implements__ = ["_ConnectionBase", "Connect...
29.775
120
0.755668
135
1,191
6.311111
0.340741
0.046948
0
0
0
0
0
0
0
0
0
0
0.151134
1,191
39
121
30.538462
0.84273
0.031066
0
0
0
0
0.044271
0.022569
0
0
0
0
0
1
0.153846
false
0
0.192308
0.076923
0.576923
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
81e00ce17a28d0acdb71e11e0f5cd72b26b18999
5,164
py
Python
tests/templatetags/embed_helpers.py
armstrong/armstrong.apps.embeds
6042f4ab39e752c4e78826e44f7c2aa82bc04e6a
[ "Apache-2.0" ]
1
2016-08-02T09:33:35.000Z
2016-08-02T09:33:35.000Z
tests/templatetags/embed_helpers.py
armstrong/armstrong.apps.embeds
6042f4ab39e752c4e78826e44f7c2aa82bc04e6a
[ "Apache-2.0" ]
null
null
null
tests/templatetags/embed_helpers.py
armstrong/armstrong.apps.embeds
6042f4ab39e752c4e78826e44f7c2aa82bc04e6a
[ "Apache-2.0" ]
1
2018-03-04T20:30:15.000Z
2018-03-04T20:30:15.000Z
import sys import fudge from StringIO import StringIO from logging import StreamHandler from django.template import TemplateSyntaxError from armstrong.apps.embeds import logger from armstrong.apps.embeds.templatetags.embed_helpers import resize_iframe from .._utils import TestCase __all__ = ['ResizeIframeWithoutLXML...
36.624113
102
0.683385
645
5,164
5.255814
0.234109
0.077876
0.046018
0.047198
0.444248
0.359587
0.336873
0.325074
0.291445
0.235988
0
0.01
0.206042
5,164
140
103
36.885714
0.816829
0.025949
0
0.262136
0
0.009709
0.087452
0.01701
0
0
0
0
0.223301
1
0.203884
false
0
0.087379
0.009709
0.330097
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
81e08db3b4d77e97037e5963ddf9e38fef93813d
1,149
py
Python
website/migrations/0001_initial.py
rezashahabedin/ray-i-test-01
4ababf77c8cfa1afc4a01ad97601d35803faba43
[ "MIT" ]
null
null
null
website/migrations/0001_initial.py
rezashahabedin/ray-i-test-01
4ababf77c8cfa1afc4a01ad97601d35803faba43
[ "MIT" ]
null
null
null
website/migrations/0001_initial.py
rezashahabedin/ray-i-test-01
4ababf77c8cfa1afc4a01ad97601d35803faba43
[ "MIT" ]
null
null
null
# Generated by Django 2.2.17 on 2020-12-24 17:37 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Ticket', fields=[ ('id', models.AutoField(...
35.90625
164
0.564839
115
1,149
5.521739
0.608696
0.04252
0.037795
0.085039
0.094488
0
0
0
0
0
0
0.035496
0.288947
1,149
31
165
37.064516
0.741738
0.040035
0
0
1
0
0.123524
0
0
0
0
0
0
1
0
false
0
0.041667
0
0.208333
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
81e53ed42d7517bf46005acc4c261430ee4f03a0
3,223
py
Python
versions/utils.py
victorjambo/WeConnect
9a398d10e9d5c6e66d662fa39adb03a9bb3dcc8c
[ "MIT" ]
1
2018-12-14T10:49:33.000Z
2018-12-14T10:49:33.000Z
versions/utils.py
victorjambo/WeConnect
9a398d10e9d5c6e66d662fa39adb03a9bb3dcc8c
[ "MIT" ]
11
2018-03-04T09:50:40.000Z
2019-10-21T16:43:37.000Z
versions/utils.py
victorjambo/WeConnect
9a398d10e9d5c6e66d662fa39adb03a9bb3dcc8c
[ "MIT" ]
7
2018-03-11T15:53:24.000Z
2018-07-12T14:39:02.000Z
import re from flask_mail import Message from flask import jsonify, render_template from versions import mail from versions.v2.models import Business, db, User def check_keys(args, length): """Check if dict keys are provided """ params = ['email', 'username', 'password', 'old_password', 'fullname'] for...
27.084034
86
0.617127
383
3,223
5.093995
0.295039
0.021527
0.051256
0.032291
0.348027
0.210661
0.147104
0.117376
0.117376
0.117376
0
0.011139
0.247906
3,223
118
87
27.313559
0.793729
0.086565
0
0.435294
0
0
0.197387
0.047799
0
0
0
0
0
1
0.094118
false
0.141176
0.058824
0
0.294118
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
c49160d426f705414a28102e95c0f140403286ff
3,096
py
Python
zerver/management/commands/create_large_indexes.py
apexlabs-ai/zulip
316a87c03736f2ef3503b3417ee3d16cae1b913d
[ "Apache-2.0" ]
null
null
null
zerver/management/commands/create_large_indexes.py
apexlabs-ai/zulip
316a87c03736f2ef3503b3417ee3d16cae1b913d
[ "Apache-2.0" ]
null
null
null
zerver/management/commands/create_large_indexes.py
apexlabs-ai/zulip
316a87c03736f2ef3503b3417ee3d16cae1b913d
[ "Apache-2.0" ]
null
null
null
from typing import Any from django.db import connection from zerver.lib.management import ZulipBaseCommand def create_indexes() -> None: # Creating concurrent indexes is kind of a pain with current versions # of Django/Postgres, because you will get this error with seemingly # reasonable code: # ...
37.756098
93
0.655039
364
3,096
5.302198
0.304945
0.184974
0.065285
0.087047
0.651813
0.546632
0.511399
0.452332
0.452332
0.452332
0
0.023493
0.271318
3,096
81
94
38.222222
0.832004
0.148902
0
0.403846
0
0
0.698625
0.229565
0
0
0
0
0
1
0.038462
false
0
0.057692
0
0.134615
0.153846
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
c4939eefbc825ce25e705c0ffd0425c4938faad0
1,596
py
Python
shenjieting/Study/Study_request.py
qsyPython/Python_play_now
278b6d5d30082f8f93b26902c854737c4919405a
[ "MIT" ]
2
2018-03-29T08:26:17.000Z
2019-06-17T10:56:19.000Z
shenjieting/Study/Study_request.py
qsyPython/Python_play_now
278b6d5d30082f8f93b26902c854737c4919405a
[ "MIT" ]
1
2022-03-22T20:26:08.000Z
2022-03-22T20:26:08.000Z
shenjieting/Study/Study_request.py
qsyPython/Python_play_now
278b6d5d30082f8f93b26902c854737c4919405a
[ "MIT" ]
1
2019-02-18T10:44:20.000Z
2019-02-18T10:44:20.000Z
import urllib.request import urllib.parse ''' urllib中包括了四个模块,包括:urllib.request,urllib.error,urllib.parse,urllib.robotparser urllib.request可以用来发送request和获取request的结果 urllib.error包含了urllib.request产生的异常 urllib.parse用来解析和处理URL urllib.robotparse用来解析页面的robots.txt文件 使用urllib.request发送请求 urllib.request.urlopen()基本使用 url...
30.692308
175
0.771303
187
1,596
6.582888
0.604278
0.095045
0.097482
0.058489
0.056864
0.056864
0.056864
0
0
0
0
0.010204
0.078947
1,596
51
176
31.294118
0.827211
0.201128
0
0.214286
0
0
0.181223
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.571429
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
c498580f6a770a1895b9ad477d1b5fe407020990
6,731
py
Python
pyslate/parser.py
GreeKpl/pystlate
57b62d8e3f2f51770eeaa3bd7bfde4df9f574690
[ "MIT" ]
4
2016-03-12T05:47:52.000Z
2020-06-02T00:41:16.000Z
pyslate/parser.py
alchrabas/pyslate
57b62d8e3f2f51770eeaa3bd7bfde4df9f574690
[ "MIT" ]
null
null
null
pyslate/parser.py
alchrabas/pyslate
57b62d8e3f2f51770eeaa3bd7bfde4df9f574690
[ "MIT" ]
1
2015-03-16T21:22:13.000Z
2015-03-16T21:22:13.000Z
from ply import lex, yacc class PyLexer(object): tokens = ( 'DOL_LBRACE', 'PERC_LBRACE', 'COLON', 'PLAINTEXT', 'RBRACE', 'PIPE', 'QUESTION', 'AT', ) def t_DOL_LBRACE(self, t): r'\${' self.nesting_depth += 1 return t ...
27.699588
118
0.526668
844
6,731
4.017773
0.135071
0.011206
0.042465
0.022707
0.37688
0.323208
0.284282
0.249189
0.236803
0.211442
0
0.017976
0.33056
6,731
242
119
27.81405
0.734576
0.148269
0
0.345679
0
0
0.053039
0.009945
0
0
0
0
0
1
0.240741
false
0
0.006173
0.049383
0.419753
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
c4999ecb9fbf2c1fbaf6c0337d0f1b0f97396d00
4,610
py
Python
editor_api/database/project/connect.py
jphuart/swatplus-automatic-workflow
dd2eeb7f882eb2d4ab7e1e5265c10b9beb93ddc4
[ "MIT" ]
8
2020-06-28T07:50:29.000Z
2022-01-05T16:29:48.000Z
editor_api/database/project/connect.py
jphuart/swatplus-automatic-workflow
dd2eeb7f882eb2d4ab7e1e5265c10b9beb93ddc4
[ "MIT" ]
null
null
null
editor_api/database/project/connect.py
jphuart/swatplus-automatic-workflow
dd2eeb7f882eb2d4ab7e1e5265c10b9beb93ddc4
[ "MIT" ]
5
2020-06-28T07:50:31.000Z
2021-08-16T07:09:59.000Z
from peewee import * from .base import BaseModel from . import climate from . import hru as hru_db from . import routing_unit from . import aquifer from . import channel from . import reservoir from . import exco from . import dr from . import simulation from . import recall class Con(BaseModel): """Inheritable base...
30.939597
141
0.775705
681
4,610
4.988253
0.190896
0.065941
0.048572
0.066235
0.391816
0.382985
0.329997
0.261996
0.229026
0.064174
0
0.001229
0.117787
4,610
148
142
31.148649
0.83403
0.135358
0
0.113636
0
0
0.081381
0
0
0
0
0
0
1
0
false
0
0.136364
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c49cc25c368498006bf867dc9dd273315e03fbc5
2,263
py
Python
transquest/training/monotransquest_config.py
agesb/TransQuest
84fb49b2e8d3dfae6caacc378e9764e610452aad
[ "Apache-2.0" ]
null
null
null
transquest/training/monotransquest_config.py
agesb/TransQuest
84fb49b2e8d3dfae6caacc378e9764e610452aad
[ "Apache-2.0" ]
null
null
null
transquest/training/monotransquest_config.py
agesb/TransQuest
84fb49b2e8d3dfae6caacc378e9764e610452aad
[ "Apache-2.0" ]
null
null
null
from multiprocessing import cpu_count SEED = 777 PROJECT_DIR = "/vol/bitbucket/hsb20/msc-project-hanna-behnke/" TEMP_DIRECTORY = PROJECT_DIR + "CODE/temp/data" RESULT_FILE = "result.tsv" SUBMISSION_FILE = "predictions.txt" RESULT_IMAGE = "result.jpg" GOOGLE_DRIVE = False DRIVE_FILE_ID = None MODEL_TYPE = "xlmrobert...
28.2875
106
0.685373
298
2,263
4.869128
0.52349
0.041351
0.038594
0.049621
0.065472
0.050999
0.050999
0.050999
0
0
0
0.029682
0.181175
2,263
79
107
28.64557
0.753373
0.124171
0
0
0
0
0.485048
0.166751
0
0
0
0.012658
0
1
0
false
0
0.016393
0
0.016393
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