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
5c9b052dbd92508895f4e5850dd95220c2d0ade5
1,167
py
Python
tasks/__phantom_web_app.py
Dan6erbond/anti-crypto-scammer
d61141a59ea75297bd3022a3a940e0dea01d2203
[ "MIT" ]
1
2021-11-03T13:24:39.000Z
2021-11-03T13:24:39.000Z
tasks/__phantom_web_app.py
Dan6erbond/anti-crypto-scammer
d61141a59ea75297bd3022a3a940e0dea01d2203
[ "MIT" ]
null
null
null
tasks/__phantom_web_app.py
Dan6erbond/anti-crypto-scammer
d61141a59ea75297bd3022a3a940e0dea01d2203
[ "MIT" ]
null
null
null
import requests from lib.exponential_runner import run_exponential from lib.scam_logger import get_logger, get_test_logger from lib.seed_phrase import generate_curse_seed_phrase logger = get_logger(__name__.lstrip("tasks.")) root = "https://cloudrun.vercel.app/" @run_exponential() def main(runs): # Send a POST r...
30.710526
107
0.592973
142
1,167
4.626761
0.457746
0.060883
0.045662
0.063927
0.164384
0.164384
0.164384
0.164384
0.164384
0.164384
0
0.010922
0.293916
1,167
37
108
31.540541
0.786408
0.033419
0
0
1
0.032258
0.242451
0
0
0
0
0
0
1
0.032258
false
0.096774
0.129032
0
0.16129
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
5cbd715c02b993258aab20243bce5daa9d7a2a2a
904
py
Python
src/dataset/normalizers.py
mug-auth/ssl-chewing
90b9717c862087a727ef56a04e048b70174b8918
[ "Apache-2.0" ]
null
null
null
src/dataset/normalizers.py
mug-auth/ssl-chewing
90b9717c862087a727ef56a04e048b70174b8918
[ "Apache-2.0" ]
null
null
null
src/dataset/normalizers.py
mug-auth/ssl-chewing
90b9717c862087a727ef56a04e048b70174b8918
[ "Apache-2.0" ]
null
null
null
from abc import ABC, abstractmethod import numpy as np from dataset.template.commons import PureAbstractError class BaseNormalizer(ABC): """ Base class for normalizers. """ @abstractmethod def normalize(self, x: np.ndarray) -> np.ndarray: raise PureAbstractError() class ZeroMeanNormal...
23.789474
59
0.665929
113
904
5.20354
0.327434
0.137755
0.085034
0.086735
0.314626
0.267007
0.267007
0.267007
0.207483
0.207483
0
0.002849
0.223451
904
37
60
24.432432
0.834758
0.086283
0
0.263158
0
0
0
0
0
0
0
0
0.157895
1
0.210526
false
0
0.157895
0
0.631579
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
5cd9e78d3dc7d1218696cb8cd6011ddd8be3be07
1,497
py
Python
corehq/warehouse/migrations/0003_userstagingtable.py
kkrampa/commcare-hq
d64d7cad98b240325ad669ccc7effb07721b4d44
[ "BSD-3-Clause" ]
1
2020-05-05T13:10:01.000Z
2020-05-05T13:10:01.000Z
corehq/warehouse/migrations/0003_userstagingtable.py
kkrampa/commcare-hq
d64d7cad98b240325ad669ccc7effb07721b4d44
[ "BSD-3-Clause" ]
1
2019-12-09T14:00:14.000Z
2019-12-09T14:00:14.000Z
corehq/warehouse/migrations/0003_userstagingtable.py
MaciejChoromanski/commcare-hq
fd7f65362d56d73b75a2c20d2afeabbc70876867
[ "BSD-3-Clause" ]
5
2015-11-30T13:12:45.000Z
2019-07-01T19:27:07.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10.7 on 2017-05-29 08:39 from __future__ import unicode_literals from __future__ import absolute_import from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('warehouse', '0002_domainstagingtable_groupstagingtabl...
38.384615
114
0.57849
145
1,497
5.737931
0.510345
0.126202
0.151442
0.201923
0.221154
0.091346
0.091346
0.091346
0
0
0
0.037348
0.284569
1,497
38
115
39.394737
0.739496
0.045424
0
0
1
0
0.140954
0.028752
0
0
0
0
0
1
0
false
0
0.096774
0
0.193548
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
5cded63207448c11d0fc6f84b03bc26928593016
304
py
Python
Domains/Python/04 - Sets/No Idea!/solution.py
abhinavgunwant/hackerrank-solutions
e016366cb6a9fac562a754d2b230fef907080733
[ "MIT" ]
1
2019-06-09T00:04:56.000Z
2019-06-09T00:04:56.000Z
Domains/Python/04 - Sets/No Idea!/solution.py
abhinavgunwant/hackerrank-solutions
e016366cb6a9fac562a754d2b230fef907080733
[ "MIT" ]
19
2019-06-09T14:45:52.000Z
2019-06-17T18:52:53.000Z
Domains/Python/04 - Sets/No Idea!/solution.py
abhinavgunwant/hackerrank-solutions
e016366cb6a9fac562a754d2b230fef907080733
[ "MIT" ]
null
null
null
n,m = [int(i) for i in input().split()] arr = [int(i) for i in input().split()] A = set([int(i) for i in input().split()]) B = set([int(i) for i in input().split()]) happiness = 0 for i in arr: if i in A: happiness += 1 elif i in B: happiness -= 1 print(happiness)
20.266667
42
0.526316
55
304
2.909091
0.327273
0.13125
0.1875
0.2
0.5375
0.5375
0.5375
0.2875
0
0
0
0.013953
0.292763
304
15
43
20.266667
0.730233
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.090909
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
5ce2345a9e8acbef0fc7171c915a1a7bc7e2d253
99
py
Python
reply.py
Asdvamp/CEH-python-Scripts
f7a670aab6fe71b3112cffa9e62f14a09c77a213
[ "MIT" ]
null
null
null
reply.py
Asdvamp/CEH-python-Scripts
f7a670aab6fe71b3112cffa9e62f14a09c77a213
[ "MIT" ]
null
null
null
reply.py
Asdvamp/CEH-python-Scripts
f7a670aab6fe71b3112cffa9e62f14a09c77a213
[ "MIT" ]
null
null
null
while True: message = input("Send -> ") with open("log.txt", "w") as file: file.write(message)
19.8
35
0.626263
15
99
4.133333
0.866667
0
0
0
0
0
0
0
0
0
0
0
0.171717
99
5
36
19.8
0.756098
0
0
0
0
0
0.161616
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
7a2f9e1e672dd1bbe47c886c659b1269da94b44c
29,352
py
Python
opt/lib/local_lib_color.py
MeF0504/basic_setup
06ddd2c5a9a5ab890a2b7888533bf33a96ca87e4
[ "MIT" ]
4
2019-08-08T07:24:14.000Z
2021-11-14T18:20:44.000Z
opt/lib/local_lib_color.py
MeF0504/basic_setup
06ddd2c5a9a5ab890a2b7888533bf33a96ca87e4
[ "MIT" ]
null
null
null
opt/lib/local_lib_color.py
MeF0504/basic_setup
06ddd2c5a9a5ab890a2b7888533bf33a96ca87e4
[ "MIT" ]
null
null
null
#! /usr/bin/env python3 from __future__ import print_function BG = {'k':'\033[40m','w':'\033[47m','r':'\033[41m','g':'\033[42m','b':'\033[44m','m':'\033[45m','c':'\033[46m','y':'\033[43m'} FG = {'k':'\033[30m','w':'\033[37m','r':'\033[31m','g':'\033[32m','b':'\033[34m','m':'\033[35m','c':'\033[36m','y':'\033[33m'} EN...
56.773694
127
0.356739
2,498
29,352
4.128903
0.349079
0.008726
0.002909
0.013574
0.12197
0.106457
0.09046
0.081734
0.071941
0.063118
0
0.202962
0.427262
29,352
516
128
56.883721
0.410565
0.011754
0
0.139583
0
0
0.259892
0
0
0
0
0
0
1
0.014583
false
0
0.010417
0
0.058333
0.04375
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
7a3cb511eff5ec1d83a492ac8b5506b9e13b91ea
257
py
Python
labugr/integrate/__init__.py
lserraga/labUGR
bd4edd31e84e1444d6b390be8051b50be0b9ac01
[ "MIT", "Unlicense" ]
1
2017-11-05T12:42:58.000Z
2017-11-05T12:42:58.000Z
labugr/integrate/__init__.py
lserraga/labUGR
bd4edd31e84e1444d6b390be8051b50be0b9ac01
[ "MIT", "Unlicense" ]
null
null
null
labugr/integrate/__init__.py
lserraga/labUGR
bd4edd31e84e1444d6b390be8051b50be0b9ac01
[ "MIT", "Unlicense" ]
null
null
null
from .quadpack import quad, dblquad, tplquad, nquad excluded = ['excluded', 'quadpack'] __all__ = [s for s in dir() if not ((s in excluded)or s.startswith('_'))] from labugr.testing.utils import PytestTester test = PytestTester(__name__) del PytestTester
28.555556
73
0.743191
35
257
5.2
0.685714
0.032967
0
0
0
0
0
0
0
0
0
0
0.136187
257
9
74
28.555556
0.81982
0
0
0
0
0
0.065891
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
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
1
0
0
0
0
2
7a506a004a6e8d35d5eaa9a4b4ae7a6ca9ed91a4
7,524
py
Python
networking_odl/agent/db_ovs_neutron_agent.py
dingboopt/wqq
b2722df3cc392c85faae00744300272576b3bf36
[ "Apache-2.0" ]
null
null
null
networking_odl/agent/db_ovs_neutron_agent.py
dingboopt/wqq
b2722df3cc392c85faae00744300272576b3bf36
[ "Apache-2.0" ]
null
null
null
networking_odl/agent/db_ovs_neutron_agent.py
dingboopt/wqq
b2722df3cc392c85faae00744300272576b3bf36
[ "Apache-2.0" ]
null
null
null
# Copyright 2011 VMware, Inc. # 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 req...
40.021277
79
0.697103
1,013
7,524
5.036525
0.321816
0.051744
0.021952
0.032928
0.121325
0.073501
0.061348
0.051548
0.031164
0
0
0.007502
0.238171
7,524
187
80
40.235294
0.882589
0.334662
0
0.048544
0
0
0.068138
0.018427
0
0
0
0
0
1
0.058252
false
0.009709
0.417476
0
0.514563
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
7a52b59b0fdadc197fd5a18e84df7434bea9d284
654
py
Python
src/admin/models/tag_rules_es.py
mstrechen/advanced-news-scraper
dc54a057eb7c14d0e390b82f6b308f5a924cb966
[ "MIT" ]
null
null
null
src/admin/models/tag_rules_es.py
mstrechen/advanced-news-scraper
dc54a057eb7c14d0e390b82f6b308f5a924cb966
[ "MIT" ]
3
2021-04-06T18:16:57.000Z
2021-12-13T20:55:52.000Z
src/admin/models/tag_rules_es.py
mstrechen/advanced-news-scraper
dc54a057eb7c14d0e390b82f6b308f5a924cb966
[ "MIT" ]
null
null
null
from elasticsearch_dsl import Document, Integer, Percolator, Text from admin.models.articles_es import SUPPORTED_LANGUAGES_ANALYZER_MAPPING class TagRuleEs(Document): tag_id = Integer() query = Percolator() title = Text(required=False, fields={ lang: Text(analyzer=analyzer) for lang, ana...
27.25
74
0.678899
72
654
5.958333
0.527778
0.125874
0.181818
0.230769
0.475524
0.475524
0.475524
0.475524
0.475524
0.475524
0
0.001996
0.233945
654
23
75
28.434783
0.854291
0
0
0.333333
0
0
0.038226
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.444444
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
7a65871dd7b095d7f6b31c85a92da477ce217815
515
py
Python
orders/apps.py
Marlinekhavele/Ordering-pizza
1b9fd85f49e0a92d66656bbc1f7af703609acf3a
[ "MIT" ]
null
null
null
orders/apps.py
Marlinekhavele/Ordering-pizza
1b9fd85f49e0a92d66656bbc1f7af703609acf3a
[ "MIT" ]
8
2021-02-13T17:58:53.000Z
2021-09-22T19:43:49.000Z
orders/apps.py
Marlinekhavele/Ordering-pizza
1b9fd85f49e0a92d66656bbc1f7af703609acf3a
[ "MIT" ]
1
2021-03-13T14:37:14.000Z
2021-03-13T14:37:14.000Z
from django.apps import AppConfig from django.contrib.auth.models import User from accounts.models import Customer from django.db.models.signals import post_save from django.utils.translation import ugettext_lazy as _ from orders.signals import create_customer_order, save_customer_order class OrdersConfig(AppConfig...
32.1875
69
0.790291
70
515
5.6
0.457143
0.102041
0.096939
0.117347
0
0
0
0
0
0
0
0
0.139806
515
16
70
32.1875
0.884876
0
0
0
0
0
0.021318
0
0
0
0
0
0
1
0.083333
false
0
0.5
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
7a6879e70bb9637f6fe910b7ae60aa8a7aba34e0
382
py
Python
backend/src/features/friend/mappers.py
ihsaro/socioworld
d8054afe152bd841eb58d6870e781917a0f6a511
[ "Apache-2.0" ]
null
null
null
backend/src/features/friend/mappers.py
ihsaro/socioworld
d8054afe152bd841eb58d6870e781917a0f6a511
[ "Apache-2.0" ]
null
null
null
backend/src/features/friend/mappers.py
ihsaro/socioworld
d8054afe152bd841eb58d6870e781917a0f6a511
[ "Apache-2.0" ]
null
null
null
from features.friend.entities import Friendship from features.friend.models import FriendshipOutput def map_friendship_to_friendship_output(*, friendship: Friendship) -> FriendshipOutput: return FriendshipOutput( client_id=friendship.client_id, friend_id=friendship.friend_id, requested=fri...
31.833333
87
0.769634
39
382
7.333333
0.435897
0.083916
0.125874
0
0
0
0
0
0
0
0
0
0.164921
382
11
88
34.727273
0.896552
0
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
true
0
0.222222
0.111111
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
1
0
0
0
2
7a69581ca38ae88231bb174cd2d552f0e7296d0b
196
py
Python
mnist_py/models/get_layers_shapes.py
vijayagril/mnist_cnn_cuda
ecd088f3b46cae23dc986dea8926615c85cf631c
[ "MIT" ]
null
null
null
mnist_py/models/get_layers_shapes.py
vijayagril/mnist_cnn_cuda
ecd088f3b46cae23dc986dea8926615c85cf631c
[ "MIT" ]
2
2018-11-25T17:06:04.000Z
2018-12-16T12:14:02.000Z
mnist_py/models/get_layers_shapes.py
boczekbartek/mnist_cnn_cuda
ecd088f3b46cae23dc986dea8926615c85cf631c
[ "MIT" ]
1
2021-09-05T17:12:49.000Z
2021-09-05T17:12:49.000Z
from train import models_initializers model_name = 'basic_nn' model = models_initializers.get(model_name)() for l in model.layers: print(f'{l.name} -- {l.input_shape} -- {l.output_shape}')
21.777778
61
0.72449
30
196
4.5
0.633333
0.266667
0
0
0
0
0
0
0
0
0
0
0.132653
196
8
62
24.5
0.794118
0
0
0
0
0
0.280612
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
7a7f7fcfd4c57970b9877816e27a9d509f4702f7
1,575
py
Python
pbc_utils.py
DrSuiunbek/pbc
6dd3dc4e480483a885d80cd9c01b80c4ae9fb076
[ "MIT" ]
null
null
null
pbc_utils.py
DrSuiunbek/pbc
6dd3dc4e480483a885d80cd9c01b80c4ae9fb076
[ "MIT" ]
null
null
null
pbc_utils.py
DrSuiunbek/pbc
6dd3dc4e480483a885d80cd9c01b80c4ae9fb076
[ "MIT" ]
null
null
null
import json import rlp from Crypto.Hash import keccak def generate(): data = { 'Producers': ['P1', 'P2', 'P3'], 'Freighters': ['F1', 'F2'], 'Shops': ['S1', 'S2'], 'Miners': ['M1'], 'NetworkID': '2003', 'Password': '12345' } jst...
23.863636
70
0.566984
201
1,575
4.383085
0.40796
0.034052
0.074915
0.136209
0.191827
0.164586
0.164586
0
0
0
0
0.032757
0.302222
1,575
65
71
24.230769
0.768881
0
0
0.12
1
0
0.191868
0
0
0
0
0
0
1
0.08
false
0.06
0.06
0
0.34
0.14
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
7ac02dfd72529452c67b580e0366406d569790da
342
py
Python
tests/unittests/durable_functions/orchestration_trigger/main.py
vrdmr/azure-functions-python-worker
7c9bcc4cc647f4b80a606a1e039d7cf9f3db9624
[ "MIT" ]
null
null
null
tests/unittests/durable_functions/orchestration_trigger/main.py
vrdmr/azure-functions-python-worker
7c9bcc4cc647f4b80a606a1e039d7cf9f3db9624
[ "MIT" ]
null
null
null
tests/unittests/durable_functions/orchestration_trigger/main.py
vrdmr/azure-functions-python-worker
7c9bcc4cc647f4b80a606a1e039d7cf9f3db9624
[ "MIT" ]
null
null
null
# import azure.durable_functions as df def generator_function(context): final_result = yield context.call_activity('activity_trigger', 'foobar') return final_result def main(context): # orchestrate = df.Orchestrator.create(generator_function) # result = orchestrate(context) # return result r...
24.428571
76
0.730994
39
342
6.230769
0.589744
0.139918
0
0
0
0
0
0
0
0
0
0
0.169591
342
13
77
26.307692
0.855634
0.400585
0
0
0
0
0.17
0
0
0
0
0
0
1
0.4
false
0
0
0.2
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
8f837c1b410cf69a4069b15cf6a4c872224566f2
211
py
Python
common/utils/dir_utils.py
jiahaoLjh/HDNet
e6c3d4bb1fbe01176ce244e258581fb66a859954
[ "MIT" ]
18
2020-07-20T03:44:15.000Z
2021-12-15T03:27:53.000Z
common/utils/dir_utils.py
jiahaoLjh/HDNet
e6c3d4bb1fbe01176ce244e258581fb66a859954
[ "MIT" ]
7
2020-08-17T14:45:04.000Z
2022-03-21T15:17:11.000Z
common/utils/dir_utils.py
jiahaoLjh/HDNet
e6c3d4bb1fbe01176ce244e258581fb66a859954
[ "MIT" ]
3
2020-10-13T00:01:21.000Z
2022-03-23T19:19:18.000Z
import os import sys def make_folder(folder_name): if not os.path.isdir(folder_name): os.makedirs(folder_name) def add_pypath(path): if path not in sys.path: sys.path.insert(0, path)
16.230769
38
0.677725
35
211
3.942857
0.485714
0.217391
0
0
0
0
0
0
0
0
0
0.006098
0.222749
211
12
39
17.583333
0.835366
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
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
1
0
0
0
0
0
0
0
2
8f89fb60f0822c3595859130e0a46ad8b4e54c53
3,409
py
Python
src/ghaudit/config.py
DistantThunder/ghaudit
5a366dcdb42beb3d4cefe966f4888529de9f3144
[ "Apache-2.0" ]
1
2022-01-24T15:50:45.000Z
2022-01-24T15:50:45.000Z
src/ghaudit/config.py
DistantThunder/ghaudit
5a366dcdb42beb3d4cefe966f4888529de9f3144
[ "Apache-2.0" ]
null
null
null
src/ghaudit/config.py
DistantThunder/ghaudit
5a366dcdb42beb3d4cefe966f4888529de9f3144
[ "Apache-2.0" ]
null
null
null
from __future__ import annotations from functools import reduce from os import environ from pathlib import Path from typing import Collection, List, Optional, Set from typing_extensions import TypedDict Team = TypedDict( "Team", {"name": str, "members": List[str], "children": List[str]} ) Organisation = TypedDic...
28.889831
78
0.668231
457
3,409
4.844639
0.170678
0.039747
0.038392
0.045167
0.15131
0.111563
0.076332
0.076332
0.065944
0.039747
0
0.001112
0.208272
3,409
117
79
29.136752
0.819192
0.056908
0
0.125
0
0
0.062325
0
0
0
0
0
0.025
1
0.2125
false
0
0.075
0.075
0.5875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
8f8d806d86f3ae5d69910915969da87d01603677
1,638
py
Python
pysaintcoinach/xiv/shop_listing_item.py
icykoneko/saintcoinach-py
66898385e1198203a7ec9da83787427bf6fe5c83
[ "MIT" ]
7
2019-11-20T17:24:49.000Z
2022-03-29T04:17:53.000Z
pysaintcoinach/xiv/shop_listing_item.py
icykoneko/saintcoinach-py
66898385e1198203a7ec9da83787427bf6fe5c83
[ "MIT" ]
7
2019-04-08T07:36:46.000Z
2022-01-17T22:51:54.000Z
pysaintcoinach/xiv/shop_listing_item.py
icykoneko/saintcoinach-py
66898385e1198203a7ec9da83787427bf6fe5c83
[ "MIT" ]
3
2019-04-08T08:24:22.000Z
2021-06-27T22:19:15.000Z
from .interfaces import IShopListing, IShopListingItem class ShopListingItem(IShopListingItem): """ General-purpose class for items to use in IShopListing. """ def __init__(self, shop_item: IShopListing, item: 'Item', count: int, is_...
27.3
77
0.591575
183
1,638
5.016393
0.262295
0.030501
0.039216
0.037037
0
0
0
0
0
0
0
0.001808
0.324786
1,638
59
78
27.762712
0.82821
0.23138
0
0.131579
0
0
0.014407
0
0
0
0
0
0
1
0.210526
false
0
0.026316
0.157895
0.447368
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
8f9134695e5fb5fdb31bfe20d9a4dbe0b3a85599
1,803
py
Python
tests/test_all.py
awensaunders/Proxy-Tools
9e5cddc7edc1e7ac493d9a41d49a458500c35382
[ "MIT" ]
3
2016-03-09T02:37:18.000Z
2020-06-26T18:52:44.000Z
tests/test_all.py
awensaunders/Proxy-Tools
9e5cddc7edc1e7ac493d9a41d49a458500c35382
[ "MIT" ]
1
2016-01-18T03:39:26.000Z
2016-01-19T22:23:22.000Z
tests/test_all.py
awensaunders/Proxy-Tools
9e5cddc7edc1e7ac493d9a41d49a458500c35382
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import pytest import subprocess import sys from modules import ssh from modules import socks from modules import configurator import ProxyWidget class TestSOCKS: @pytest.fixture def SOCKS_setup(self): return socks.ProxyTools('Wi-Fi') def test_SOCKS_exists(self, SOC...
36.06
143
0.641154
218
1,803
5.142202
0.353211
0.037467
0.107047
0.155219
0.35058
0.35058
0.35058
0.35058
0.311329
0.180196
0
0.002876
0.228508
1,803
50
144
36.06
0.803019
0.019967
0
0.230769
0
0
0.198867
0
0
0
0
0
0.128205
1
0.205128
false
0.025641
0.179487
0.051282
0.512821
0.025641
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
8f9ffd7c2af47db1619a9d4d54ed446a9d0ec5b4
123
py
Python
werecool/main.py
Zsailer/interns2020demo
e801fdcebba9e0bda574ec92e98df1e587089da3
[ "BSD-3-Clause" ]
null
null
null
werecool/main.py
Zsailer/interns2020demo
e801fdcebba9e0bda574ec92e98df1e587089da3
[ "BSD-3-Clause" ]
null
null
null
werecool/main.py
Zsailer/interns2020demo
e801fdcebba9e0bda574ec92e98df1e587089da3
[ "BSD-3-Clause" ]
6
2020-06-18T20:58:41.000Z
2020-06-18T20:59:41.000Z
def main(): print("Hello, World from Jess!") print("Isn't this great?") if __name__ == "__main__": main()
11.181818
36
0.569106
16
123
3.875
0.8125
0
0
0
0
0
0
0
0
0
0
0
0.252033
123
10
37
12.3
0.673913
0
0
0
0
0
0.396694
0
0
0
0
0
0
1
0.2
true
0
0
0
0.2
0.4
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
1
0
0
0
0
0
0
2
8fa28e7855e4d39bbe15b8840fe16e8add7a08f7
138
py
Python
test2.py
mahendra1904/pythod-programs
d4d75dac65e9795ea5728f75d90aa0b39296b25e
[ "bzip2-1.0.6" ]
null
null
null
test2.py
mahendra1904/pythod-programs
d4d75dac65e9795ea5728f75d90aa0b39296b25e
[ "bzip2-1.0.6" ]
null
null
null
test2.py
mahendra1904/pythod-programs
d4d75dac65e9795ea5728f75d90aa0b39296b25e
[ "bzip2-1.0.6" ]
null
null
null
#"ereht era ynam ysad" x = "there are many days" length=len(x) l1=x.split() str='' for x in l1: str=str+x[::-1]+ ' ' print(str)
13.8
25
0.565217
26
138
3
0.692308
0
0
0
0
0
0
0
0
0
0
0.028037
0.224638
138
9
26
15.333333
0.700935
0.152174
0
0
0
0
0.172414
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8fa938b4a54f2a9766bda512c6a5f1645241373b
15,937
py
Python
Chapter02-UrllibRequests/urllib_test.py
rohinegi548/Hands-On-Web-Scraping-with-Python
1c3af12b08e04a563a18258e04c33884fcfa2003
[ "MIT" ]
null
null
null
Chapter02-UrllibRequests/urllib_test.py
rohinegi548/Hands-On-Web-Scraping-with-Python
1c3af12b08e04a563a18258e04c33884fcfa2003
[ "MIT" ]
null
null
null
Chapter02-UrllibRequests/urllib_test.py
rohinegi548/Hands-On-Web-Scraping-with-Python
1c3af12b08e04a563a18258e04c33884fcfa2003
[ "MIT" ]
1
2020-05-25T06:17:30.000Z
2020-05-25T06:17:30.000Z
Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:06:47) [MSC v.1914 32 bit (Intel)] on win32 Type "copyright", "credits" or "license()" for more information. >>> import urllib >>> import requests >>> dir(urllib) ['__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path_...
68.693966
1,750
0.707661
1,751
15,937
6.153055
0.288407
0.016893
0.024689
0.029887
0.598107
0.575924
0.556525
0.49703
0.493967
0.476332
0
0.030843
0.102842
15,937
231
1,751
68.991342
0.722688
0
0
0.253659
0
0.053659
0.529939
0.099475
0
0
0.001279
0
0
0
null
null
0.02439
0.073171
null
null
0.039024
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
8fb6f9e465b1be7bf1874b5edb919af7a186a7ad
1,030
py
Python
memory/memory_object.py
nbanmp/seninja
e9555d4233e7cfec3744c3fa21236992f6963931
[ "BSD-2-Clause" ]
109
2019-07-06T00:47:30.000Z
2022-03-02T12:52:54.000Z
memory/memory_object.py
nbanmp/seninja
e9555d4233e7cfec3744c3fa21236992f6963931
[ "BSD-2-Clause" ]
5
2020-07-02T17:39:14.000Z
2022-01-25T00:08:05.000Z
memory/memory_object.py
nbanmp/seninja
e9555d4233e7cfec3744c3fa21236992f6963931
[ "BSD-2-Clause" ]
8
2020-03-12T02:20:58.000Z
2022-01-19T23:32:00.000Z
from ..expr import BV, BVArray, Bool, ITE class MemoryObj(object): def __init__(self, name, bits=64, bvarray=None): self.bvarray = BVArray( "MEMOBJ_" + name, bits, 8 ) if bvarray is None else bvarray self.name = name self.bits = bits def __str__(self): ret...
27.837838
73
0.6
125
1,030
4.792
0.32
0.128548
0.050083
0
0
0
0
0
0
0
0
0.004098
0.28932
1,030
36
74
28.611111
0.814208
0.02233
0
0
0
0
0.030846
0
0
0
0
0
0
1
0.269231
false
0
0.038462
0.153846
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
1
0
0
0
1
0
0
0
2
8fc2ead9e30c5fdbfca0232e408e3ce59c50da4a
21,780
py
Python
tests/frequentist/test_bounds.py
danielsaaf/confidence
c6e464a8e22883b41409f3f51e5e181258e8a30b
[ "Apache-2.0" ]
107
2021-04-06T08:51:21.000Z
2022-03-26T17:52:02.000Z
tests/frequentist/test_bounds.py
danielsaaf/confidence
c6e464a8e22883b41409f3f51e5e181258e8a30b
[ "Apache-2.0" ]
3
2021-11-12T15:38:40.000Z
2022-03-09T10:37:15.000Z
tests/frequentist/test_bounds.py
danielsaaf/confidence
c6e464a8e22883b41409f3f51e5e181258e8a30b
[ "Apache-2.0" ]
10
2021-04-07T21:28:41.000Z
2022-03-18T08:00:07.000Z
import pytest import time import numpy as np from spotify_confidence.analysis.frequentist.confidence_computers.z_test_computer import sequential_bounds @pytest.mark.skip(reason="Skipping because this test is very slow") def test_many_days(): """ This input (based on a real experiment) is very long, which can ...
26.625917
120
0.521534
1,806
21,780
6.271872
0.481728
0.007063
0.004591
0.006003
0.065949
0.060034
0.057473
0.057473
0.057473
0.057473
0
0.76177
0.401194
21,780
817
121
26.658507
0.106732
0.035216
0
0.017699
0
0
0.006199
0
0
0
0
0
0.007585
1
0.002528
false
0.001264
0.005057
0
0.007585
0.001264
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8fd0e1486e361508c32e47f6972fb0bedef7bcee
646
py
Python
tests/test_transports.py
freedge/fake-switches
939bf12f2d0f673eb2caf19aa7e99aebbaf68ff3
[ "Apache-2.0" ]
42
2016-06-29T00:29:55.000Z
2022-02-09T17:55:42.000Z
tests/test_transports.py
freedge/fake-switches
939bf12f2d0f673eb2caf19aa7e99aebbaf68ff3
[ "Apache-2.0" ]
89
2015-12-15T15:42:49.000Z
2021-05-27T16:48:41.000Z
tests/test_transports.py
freedge/fake-switches
939bf12f2d0f673eb2caf19aa7e99aebbaf68ff3
[ "Apache-2.0" ]
40
2016-02-04T15:27:19.000Z
2022-02-22T13:58:38.000Z
import unittest from hamcrest import assert_that, equal_to from fake_switches.transports import SwitchSshService, SwitchTelnetService, SwitchHttpService class TransportsTests(unittest.TestCase): def test_http_service_has_default_port(self): http_service = SwitchHttpService() assert_that(http_se...
28.086957
93
0.76935
78
646
5.987179
0.384615
0.085653
0.109208
0.134904
0.1606
0
0
0
0
0
0
0.011091
0.162539
646
22
94
29.363636
0.852126
0
0
0
0
0
0
0
0
0
0
0
0.307692
1
0.230769
false
0
0.230769
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
8ff7b7143b1bde46d9d1a8219a73c50c692009ca
360
py
Python
blog/models.py
bebutler1/SoloQ-DTC-Website-writtten-with-Django-
3a74f37de9ea788efeb449b388e4aeca2f696a85
[ "MIT" ]
null
null
null
blog/models.py
bebutler1/SoloQ-DTC-Website-writtten-with-Django-
3a74f37de9ea788efeb449b388e4aeca2f696a85
[ "MIT" ]
null
null
null
blog/models.py
bebutler1/SoloQ-DTC-Website-writtten-with-Django-
3a74f37de9ea788efeb449b388e4aeca2f696a85
[ "MIT" ]
null
null
null
from django.db import models # Create your models here. Database stuff class Post(models.Model): #creates a table called posts title = models.CharField(max_length=140) #Syntax: name = datatype(constraints) body = models.TextField() date = models.DateTimeField() def __str__(self): return sel...
24
82
0.705556
47
360
5.297872
0.829787
0
0
0
0
0
0
0
0
0
0
0.010526
0.208333
360
14
83
25.714286
0.863158
0.352778
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0.142857
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
1
1
0
0
2
89040efe9d829b2afd9a3c445797840cdd18147b
502
py
Python
src/my_project/easy_problems/from101to150/to_lower_case.py
ivan1016017/LeetCodeAlgorithmProblems
454284b76634cc34ed41f7fa30d857403cedf1bf
[ "MIT" ]
null
null
null
src/my_project/easy_problems/from101to150/to_lower_case.py
ivan1016017/LeetCodeAlgorithmProblems
454284b76634cc34ed41f7fa30d857403cedf1bf
[ "MIT" ]
1
2021-09-22T12:26:14.000Z
2021-09-22T12:26:14.000Z
src/my_project/easy_problems/from101to150/to_lower_case.py
ivan1016017/LeetCodeAlgorithmProblems
454284b76634cc34ed41f7fa30d857403cedf1bf
[ "MIT" ]
null
null
null
from typing import List class Solution: def toLowerCase(self, s: str) -> str: answer: str = "" x = "" for letter in s: if ord(letter) <= 90 and ord(letter) >= 65: x = chr(ord(letter) + 32) answer += x else: answer += l...
19.307692
55
0.523904
56
502
4.696429
0.517857
0.102662
0.273764
0.285171
0
0
0
0
0
0
0
0.018405
0.350598
502
25
56
20.08
0.788344
0
0
0
0
0
0.02988
0
0
0
0
0
0
1
0.0625
false
0
0.0625
0
0.25
0.1875
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
890dd225d1f0b2c3e35ca9b67362f5250e085713
442
py
Python
py/strato/racktest/infra/handlekill.py
eyal-stratoscale/pyracktest
e75474e7bf83fa7b3e9e809d21b4b789a96ff241
[ "Apache-2.0" ]
null
null
null
py/strato/racktest/infra/handlekill.py
eyal-stratoscale/pyracktest
e75474e7bf83fa7b3e9e809d21b4b789a96ff241
[ "Apache-2.0" ]
null
null
null
py/strato/racktest/infra/handlekill.py
eyal-stratoscale/pyracktest
e75474e7bf83fa7b3e9e809d21b4b789a96ff241
[ "Apache-2.0" ]
1
2020-01-29T08:05:00.000Z
2020-01-29T08:05:00.000Z
import signal import sys import logging def _informIntSignalCaughtAndExit(* args): logging.info("Caught Ctrl-C, exiting from process") sys.exit() def _informTermSignalCaughtAndExit(* args): logging.info("SIGTERM received, exiting from process") sys.exit(143) def _register(): signal.signal(sign...
20.090909
65
0.762443
45
442
7.355556
0.466667
0.145015
0.090634
0.126888
0.151057
0
0
0
0
0
0
0.007916
0.142534
442
21
66
21.047619
0.865435
0
0
0
0
0
0.165158
0
0
0
0
0
0
1
0.230769
true
0
0.230769
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
1
1
0
0
0
0
0
0
2
64ef157c4ee6f32d4ea32c47fbf4a3a14eb706e3
365
py
Python
Beginner/URI_1962.py
rbshadow/Python_URI
4f7df8cdea0eba5c550bb3016b1a7ab6dc723d56
[ "MIT" ]
3
2016-10-24T13:26:45.000Z
2020-10-12T17:44:00.000Z
Beginner/URI_1962.py
rbshadow/Python_URI
4f7df8cdea0eba5c550bb3016b1a7ab6dc723d56
[ "MIT" ]
null
null
null
Beginner/URI_1962.py
rbshadow/Python_URI
4f7df8cdea0eba5c550bb3016b1a7ab6dc723d56
[ "MIT" ]
null
null
null
def math(): test_case = int(input()) for i in range(test_case): i_put = int(input()) if i_put == 2015: print('1 A.C.') else: if i_put > 2015: print((i_put - 2015) + 1, 'A.C.') elif i_put < 2015: print(2015 - i_put, 'D....
20.277778
49
0.435616
50
365
2.86
0.44
0.167832
0.223776
0.272727
0.20979
0
0
0
0
0
0
0.102326
0.410959
365
17
50
21.470588
0.562791
0
0
0
0
0
0.060274
0
0
0
0
0
0
1
0.076923
false
0
0
0
0.076923
0.230769
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
64f5e96821d46e4c4779ba67b640a0978bda23a5
1,435
py
Python
galois_field/GFp.py
syakoo/galois-field
e642adfa7da55f6cd95cadceb0116cdea379c181
[ "MIT" ]
8
2020-11-13T08:32:56.000Z
2022-02-14T04:22:36.000Z
galois_field/GFp.py
syakoo/galois-field
e642adfa7da55f6cd95cadceb0116cdea379c181
[ "MIT" ]
3
2020-11-13T11:40:53.000Z
2020-12-16T10:27:38.000Z
galois_field/GFp.py
syakoo/galois-field
e642adfa7da55f6cd95cadceb0116cdea379c181
[ "MIT" ]
1
2022-02-11T09:45:41.000Z
2022-02-11T09:45:41.000Z
from __future__ import annotations from .core.ElementInGFp import ElementInGFp from .core import validator, primitive_roots class GFp: """Galois Field: GF(p) Args: p (int): A prime number. Examples: >>> from galois_field import GFp In this case, p = 11. >>> gf = GFp(11)...
22.421875
70
0.558188
180
1,435
4.277778
0.311111
0.045455
0.041558
0.036364
0
0
0
0
0
0
0
0.021784
0.328223
1,435
63
71
22.777778
0.776971
0.436237
0
0
0
0
0.018663
0
0
0
0
0
0
1
0.352941
false
0
0.176471
0.058824
0.882353
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
64fd458d862d8082e8c18ba71005368793499d42
120
py
Python
algorithm/impl/iterable/__init__.py
alpavlenko/EvoGuess
19bc54e75cd959e445becda16fa6f488f0fb2367
[ "MIT" ]
1
2021-12-12T15:09:56.000Z
2021-12-12T15:09:56.000Z
algorithm/impl/iterable/__init__.py
alpavlenko/EvoGuess
19bc54e75cd959e445becda16fa6f488f0fb2367
[ "MIT" ]
1
2021-10-10T09:16:57.000Z
2021-10-10T09:16:57.000Z
algorithm/impl/iterable/__init__.py
alpavlenko/evoguess
e8510c32c8325c9fe66fc15899d378b7bf731557
[ "MIT" ]
null
null
null
from .tabu_search import TabuSearch algorithms = { TabuSearch.slug: TabuSearch, } __all__ = [ 'TabuSearch', ]
12
35
0.683333
11
120
7
0.727273
0
0
0
0
0
0
0
0
0
0
0
0.208333
120
9
36
13.333333
0.810526
0
0
0
0
0
0.083333
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
64ff3702efbb3fd0984ed57a1248da8ac71c5f8b
657
py
Python
test/conftest.py
roeeiit1/sqlalchemy-prometheus
ccd6404eab54a8aed147ed5a5d2134faeff41f99
[ "MIT" ]
8
2019-12-08T21:05:24.000Z
2021-08-22T14:41:50.000Z
test/conftest.py
roeeiit1/sqlalchemy-prometheus
ccd6404eab54a8aed147ed5a5d2134faeff41f99
[ "MIT" ]
6
2020-03-30T22:20:44.000Z
2021-05-22T03:56:12.000Z
test/conftest.py
roeeiit1/sqlalchemy-prometheus
ccd6404eab54a8aed147ed5a5d2134faeff41f99
[ "MIT" ]
4
2020-09-01T23:13:53.000Z
2021-08-22T14:41:53.000Z
import os import pytest @pytest.fixture(scope="session") def settings(): return { "HOST": "solr", "PORT": 8983, "PROTO": "http://", "SOLR_USER": os.environ["SOLR_USER"], "SOLR_PASS": os.environ["SOLR_PASS"], "SERVER_PATH": "solr", "SOLR_BASE_URL": "http://s...
28.565217
55
0.592085
74
657
4.945946
0.432432
0.098361
0.071038
0.087432
0
0
0
0
0
0
0
0.031621
0.229833
657
22
56
29.863636
0.6917
0
0
0
0
0
0.473364
0.106545
0
0
0
0
0
1
0.052632
true
0.105263
0.105263
0.052632
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
1
1
0
0
0
0
0
2
8f14d223120646b80b82296834fb8f086e019c2c
233
py
Python
Algorithm/FizzBuzz.py
ChawisB/KuberOpsTest
e651b73685eab50f550c730b09a62d0b55b588f6
[ "MIT" ]
null
null
null
Algorithm/FizzBuzz.py
ChawisB/KuberOpsTest
e651b73685eab50f550c730b09a62d0b55b588f6
[ "MIT" ]
null
null
null
Algorithm/FizzBuzz.py
ChawisB/KuberOpsTest
e651b73685eab50f550c730b09a62d0b55b588f6
[ "MIT" ]
null
null
null
#Initially tried switch case but didn't really work out so tried f strings instead def fizzbuzz(n): for i in range(1, n + 1): print([f'{i}', f'Fizz', f'Buzz', f'FizzBuzz'][(i % 3 == 0) + 2 * (i % 5 == 0)]) fizzbuzz(100)
33.285714
87
0.587983
43
233
3.186047
0.697674
0
0
0
0
0
0
0
0
0
0
0.055556
0.227468
233
6
88
38.833333
0.705556
0.347639
0
0
0
0
0.125828
0
0
0
0
0
0
1
0.25
false
0
0
0
0.25
0.25
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
1
0
0
0
0
0
0
0
2
8f43ff00dae223f5185420bed398e3e61a1f2336
984
py
Python
evap/evaluation/migrations/0125_use_lists_for_ordering.py
felixrindt/EvaP
fe65fcc511cc942695ce1edbaab170894f0d37b1
[ "MIT" ]
29
2020-02-28T23:03:41.000Z
2022-02-19T09:29:36.000Z
evap/evaluation/migrations/0125_use_lists_for_ordering.py
felixrindt/EvaP
fe65fcc511cc942695ce1edbaab170894f0d37b1
[ "MIT" ]
737
2015-01-02T17:43:25.000Z
2018-12-10T20:45:10.000Z
evap/evaluation/migrations/0125_use_lists_for_ordering.py
felixrindt/EvaP
fe65fcc511cc942695ce1edbaab170894f0d37b1
[ "MIT" ]
83
2015-01-14T12:39:41.000Z
2018-10-29T16:36:43.000Z
# Generated by Django 3.1.8 on 2021-07-24 17:57 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('evaluation', '0124_add_html_content'), ] operations = [ migrations.AlterModelOptions( name='logentry', options={'ordering': ...
32.8
132
0.58435
86
984
6.511628
0.569767
0.117857
0.221429
0
0
0
0
0
0
0
0
0.025921
0.255081
984
29
133
33.931034
0.738063
0.045732
0
0.347826
1
0
0.329776
0.022412
0
0
0
0
0
1
0
false
0
0.043478
0
0.173913
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8f449570d0e3cafdbb6f3e5eed3e78f36bdd5057
625
py
Python
server/mlabns/db/nagios_config_wrapper.py
mtlynch/m-lab.ns
1108e7eb07993b571462cea70c174b9086b26aab
[ "Apache-2.0" ]
10
2015-05-23T04:28:51.000Z
2021-02-24T22:27:45.000Z
server/mlabns/db/nagios_config_wrapper.py
mtlynch/m-lab.ns
1108e7eb07993b571462cea70c174b9086b26aab
[ "Apache-2.0" ]
171
2015-05-18T18:49:13.000Z
2021-07-08T20:03:08.000Z
server/mlabns/db/nagios_config_wrapper.py
mtlynch/m-lab.ns
1108e7eb07993b571462cea70c174b9086b26aab
[ "Apache-2.0" ]
13
2015-05-18T17:13:43.000Z
2021-11-09T10:37:01.000Z
import logging from google.appengine.api import memcache from mlabns.db import model from mlabns.util import constants def get_nagios_config(): """Retrieves nagios config info. First checks memcache, then datastore. Returns: Nagios model instance """ nagios = memcache.get(constants.DEFAULT_...
26.041667
77
0.7104
77
625
5.623377
0.506494
0.110855
0.152425
0.187067
0.133949
0
0
0
0
0
0
0
0.2224
625
23
78
27.173913
0.890947
0.1664
0
0
0
0
0.093626
0
0
0
0
0
0
1
0.076923
false
0
0.307692
0
0.461538
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
1
0
0
0
0
2
8f5fd0dc0a0c5beab57d4e4f4661bbd1185d044d
366
py
Python
vuakhter/base/requests_log.py
best-doctor/vuakhter
38014fc4211e8f39b09263b85a9324bdaa8ee832
[ "MIT" ]
null
null
null
vuakhter/base/requests_log.py
best-doctor/vuakhter
38014fc4211e8f39b09263b85a9324bdaa8ee832
[ "MIT" ]
3
2020-05-13T12:52:15.000Z
2020-05-13T13:02:47.000Z
vuakhter/base/requests_log.py
best-doctor/vuakhter
38014fc4211e8f39b09263b85a9324bdaa8ee832
[ "MIT" ]
1
2021-01-11T11:50:42.000Z
2021-01-11T11:50:42.000Z
from __future__ import annotations import typing from vuakhter.base.base_log import BaseLog if typing.TYPE_CHECKING: from vuakhter.utils.types import RequestEntry, TimestampRange class RequestsLog(BaseLog): def get_records(self, ts_range: TimestampRange = None, **kwargs: typing.Any) -> typing.Iterator[Reque...
28.153846
114
0.784153
43
366
6.488372
0.697674
0.086022
0
0
0
0
0
0
0
0
0
0
0.139344
366
12
115
30.5
0.885714
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.5
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
0
0
0
1
0
1
0
0
2
8f67730414a41bdc59d1bb4a1f58b0a11abbfc13
4,139
py
Python
temperature/temperature.py
Harry-Lees/TemperaturePy
87f6603e0b819816e29a19b552c44348b4e1ab68
[ "MIT" ]
1
2021-06-01T19:52:12.000Z
2021-06-01T19:52:12.000Z
temperature/temperature.py
Harry-Lees/TemperaturePy
87f6603e0b819816e29a19b552c44348b4e1ab68
[ "MIT" ]
null
null
null
temperature/temperature.py
Harry-Lees/TemperaturePy
87f6603e0b819816e29a19b552c44348b4e1ab68
[ "MIT" ]
null
null
null
from __future__ import annotations from numbers import Real ABSOLUTE_ZERO: float = 0.0 # in Kelvin ABSOLUTE_HOT: float = 1.416785e32 # in Kelvin class Temperature: ''' Simple Temperature class for converting between different units of temperature. Default temperature unit is Kelvin. ''' def __in...
27.593333
167
0.604735
495
4,139
4.953535
0.20202
0.061175
0.061175
0.022431
0.387439
0.373573
0.275285
0.199429
0.199429
0.199429
0
0.023085
0.277845
4,139
150
168
27.593333
0.797257
0.1295
0
0.265957
0
0.010638
0.097978
0.035887
0
0
0
0
0
1
0.297872
false
0
0.021277
0.085106
0.585106
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
8f77d7db5ead8608c1b8f1d1b59a4606b3bc218c
134
py
Python
presets/keywords.py
monotony113/feedly-link-aggregator
12d2eee5a17086e59c52cc50907493072b084f13
[ "MIT" ]
5
2020-08-15T21:07:35.000Z
2020-12-05T22:41:37.000Z
presets/keywords.py
monotony113/feedly-stream-reader
12d2eee5a17086e59c52cc50907493072b084f13
[ "MIT" ]
1
2020-09-06T04:15:47.000Z
2020-10-10T01:11:01.000Z
presets/keywords.py
monotony113/feedly-stream-reader
12d2eee5a17086e59c52cc50907493072b084f13
[ "MIT" ]
1
2020-10-19T10:58:57.000Z
2020-10-19T10:58:57.000Z
PRIORITIZED_KEYWORDS = { 10: ['cats', 'kitties'], 5: ['dogs', 'puppies'], -5: ['goldfish'], -float('inf'): ['rat'], }
19.142857
28
0.485075
13
134
4.923077
0.923077
0
0
0
0
0
0
0
0
0
0
0.038462
0.223881
134
6
29
22.333333
0.576923
0
0
0
0
0
0.268657
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8f7f6e74ed3dbdd8e1ba479f1f9c176617e90aba
5,222
py
Python
NumberTheoryAssigment3.py
esraagamal23/RSA-CryptoSystem-
4188a513b59f7b9fcdfe29b5cf44305c0a0d9d76
[ "MIT" ]
null
null
null
NumberTheoryAssigment3.py
esraagamal23/RSA-CryptoSystem-
4188a513b59f7b9fcdfe29b5cf44305c0a0d9d76
[ "MIT" ]
null
null
null
NumberTheoryAssigment3.py
esraagamal23/RSA-CryptoSystem-
4188a513b59f7b9fcdfe29b5cf44305c0a0d9d76
[ "MIT" ]
null
null
null
import math from random import randint from numpy import sqrt def GCD(a, b): if b == 0: return a return GCD(b, a % b) ####################################### def ExtendedEuclid(a, b): if b == 0: return (1, 0) (x, y) = ExtendedEuclid(b, a % b) k = a // b return (y, x - k * y) ...
33.909091
631
0.703562
549
5,222
6.624772
0.216758
0.003849
0.025296
0.014023
0.087435
0.087435
0.035744
0.025845
0.025845
0.025845
0
0.364057
0.173114
5,222
154
632
33.909091
0.477999
0.041746
0
0.138211
0
0
0.014018
0
0
0
0
0
0
1
0.113821
false
0
0.02439
0
0.300813
0.04878
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
56b60ad637038bf18013d0bace5bacd3681b7a91
88
py
Python
release/stubs.min/Tekla/Structures/ModelInternal_parts/dotBooleanPart_t.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
182
2017-06-27T02:26:15.000Z
2022-03-30T18:53:43.000Z
release/stubs.min/Tekla/Structures/ModelInternal_parts/dotBooleanPart_t.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
28
2017-06-27T13:38:23.000Z
2022-03-15T11:19:44.000Z
release/stubs.min/Tekla/Structures/ModelInternal_parts/dotBooleanPart_t.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
67
2017-06-28T09:43:59.000Z
2022-03-20T21:17:10.000Z
class dotBooleanPart_t(object): # no doc Boolean=None OperativePart=None Type=None
12.571429
31
0.772727
12
88
5.583333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.147727
88
6
32
14.666667
0.893333
0.068182
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
56b63844b5b3f109baeeb81c0cc48b6ced21ef79
2,565
py
Python
tests/unit/test_index_class.py
griggheo/cheesecake
2b7aa5c980e8becb163cbcb801b202b17f715054
[ "CNRI-Python-GPL-Compatible" ]
12
2015-01-15T01:13:42.000Z
2022-03-04T21:14:27.000Z
tests/unit/test_index_class.py
griggheo/cheesecake
2b7aa5c980e8becb163cbcb801b202b17f715054
[ "CNRI-Python-GPL-Compatible" ]
6
2015-01-19T19:46:51.000Z
2019-02-05T20:20:26.000Z
tests/unit/test_index_class.py
griggheo/cheesecake
2b7aa5c980e8becb163cbcb801b202b17f715054
[ "CNRI-Python-GPL-Compatible" ]
3
2015-10-24T20:08:09.000Z
2019-02-04T20:53:21.000Z
""" Prepare enviornment. >>> import _path_cheesecake >>> from cheesecake.cheesecake_index import Index >>> from _helper_cheesecake import Glutton ***** Default maximum value for an index should be 0. >>> index = Index() >>> index.max_value 0 To learn a class name, ask for its representation. ...
23.971963
56
0.596491
298
2,565
5.003356
0.318792
0.080483
0.050302
0.018779
0.108652
0.040241
0
0
0
0
0
0.004169
0.251852
2,565
106
57
24.198113
0.772798
0.996491
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
56bb070eeca5acc11867c656dad14edf299beeb5
1,045
py
Python
three/lights.py
jzitelli/three.py
9cdc28bd776ac227d880332e41d46a78415f532f
[ "MIT" ]
12
2015-12-09T21:59:48.000Z
2021-05-06T13:05:16.000Z
three/lights.py
jzitelli/three.py
9cdc28bd776ac227d880332e41d46a78415f532f
[ "MIT" ]
null
null
null
three/lights.py
jzitelli/three.py
9cdc28bd776ac227d880332e41d46a78415f532f
[ "MIT" ]
null
null
null
from . import * class Light(Object3D): def __init__(self, color=0xffffff, intensity=None, distance=None, shadowCameraNear=None, shadowCameraFar=None, shadowCameraFov=None, **kwargs): Object3D.__init__(self, **kwargs) self.color = color self.intensity = intensity self.distance = dist...
28.243243
147
0.675598
108
1,045
6.314815
0.314815
0.070381
0.048387
0.079179
0.11437
0.11437
0.11437
0.11437
0
0
0
0.003708
0.225837
1,045
36
148
29.027778
0.839308
0.07177
0
0.24
0
0
0
0
0
0
0.008273
0.027778
0
1
0.12
false
0.08
0.04
0
0.36
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
0
0
0
2
56c370800aa6bf32400f8a2528074f36c51fd062
2,443
py
Python
torchopt/optim/constraint.py
r-papso/torch-accelerator
65497217db45933cb2b505d6a368c9315ef4b159
[ "MIT" ]
null
null
null
torchopt/optim/constraint.py
r-papso/torch-accelerator
65497217db45933cb2b505d6a368c9315ef4b159
[ "MIT" ]
null
null
null
torchopt/optim/constraint.py
r-papso/torch-accelerator
65497217db45933cb2b505d6a368c9315ef4b159
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod from typing import Any from torch import nn from ..prune.pruner import Pruner from .cache import Cache class Constraint(ABC): """Abstract class representing a constraint in optimization problems.""" def __init__(self) -> None: """Ctor.""" super().__init__...
30.160494
97
0.654114
287
2,443
5.456446
0.376307
0.025543
0.021073
0.044061
0.10728
0.057471
0
0
0
0
0
0.001112
0.26402
2,443
80
98
30.5375
0.869855
0.447401
0
0.206897
0
0
0.00508
0
0
0
0
0
0
1
0.206897
false
0.034483
0.172414
0.034483
0.586207
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
56cdfca921ec170b9b42f4b6a2ab4f35562c38f3
764
py
Python
src/djangoreactredux/djrenv/lib/python3.5/site-packages/disposable_email_checker/fields.py
m2jobe/c_x
ba914449a9a85d82703895fc884733ca20454034
[ "MIT" ]
46
2015-02-16T11:43:38.000Z
2021-02-06T07:40:17.000Z
src/djangoreactredux/djrenv/lib/python3.5/site-packages/disposable_email_checker/fields.py
m2jobe/c_x
ba914449a9a85d82703895fc884733ca20454034
[ "MIT" ]
17
2015-01-25T02:33:04.000Z
2020-04-19T15:32:09.000Z
src/djangoreactredux/djrenv/lib/python3.5/site-packages/disposable_email_checker/fields.py
m2jobe/c_x
ba914449a9a85d82703895fc884733ca20454034
[ "MIT" ]
22
2015-01-25T03:17:06.000Z
2021-09-18T13:36:52.000Z
# -*- coding: utf-8 -*- from django.db import models from django.utils.translation import ugettext_lazy as _ from django.core import validators from .validators import validate_disposable_email from .forms import DisposableEmailField as DisposableEmailFormField class DisposableEmailField(models.EmailField): def...
33.217391
79
0.734293
80
764
6.8875
0.5875
0.054446
0.083485
0
0
0
0
0
0
0
0
0.001618
0.191099
764
22
80
34.727273
0.889968
0.125654
0
0
0
0
0.060241
0
0
0
0
0
0
1
0.071429
false
0
0.357143
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
56e1013eecb038dc3b651cfcecfb5fff826326f3
917
py
Python
usaspending_api/download/tests/unit/test_zip_file.py
g4brielvs/usaspending-api
bae7da2c204937ec1cdf75c052405b13145728d5
[ "CC0-1.0" ]
217
2016-11-03T17:09:53.000Z
2022-03-10T04:17:54.000Z
usaspending_api/download/tests/unit/test_zip_file.py
g4brielvs/usaspending-api
bae7da2c204937ec1cdf75c052405b13145728d5
[ "CC0-1.0" ]
622
2016-09-02T19:18:23.000Z
2022-03-29T17:11:01.000Z
usaspending_api/download/tests/unit/test_zip_file.py
g4brielvs/usaspending-api
bae7da2c204937ec1cdf75c052405b13145728d5
[ "CC0-1.0" ]
93
2016-09-07T20:28:57.000Z
2022-02-25T00:25:27.000Z
import os import zipfile from tempfile import NamedTemporaryFile from usaspending_api.download.filestreaming.zip_file import append_files_to_zip_file def test_append_files_to_zip_file(): with NamedTemporaryFile() as zip_file: with NamedTemporaryFile() as include_file_1: with NamedTemporaryFil...
39.869565
99
0.633588
119
917
4.563025
0.336134
0.202578
0.110497
0.088398
0.388582
0
0
0
0
0
0
0.015408
0.292257
917
22
100
41.681818
0.821263
0
0
0
0
0
0.037077
0
0
0
0
0
0.055556
1
0.055556
true
0
0.222222
0
0.277778
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
1
0
0
0
0
0
0
2
56f7cb754645c530ae2f8c775c687fbb34a839df
453
py
Python
alien.py
cmotek/python_crashcourse
29cbdd6699cd17192bb599d235852d547630d110
[ "Apache-2.0" ]
null
null
null
alien.py
cmotek/python_crashcourse
29cbdd6699cd17192bb599d235852d547630d110
[ "Apache-2.0" ]
null
null
null
alien.py
cmotek/python_crashcourse
29cbdd6699cd17192bb599d235852d547630d110
[ "Apache-2.0" ]
null
null
null
alien_0 = {'x_position': 0, 'y_position': 25, 'speed': 'medium'} print(f"Original position: {alien_0['x_position']}") if alien_0['speed'] == 'slow': x_increment = 1 elif alien_0['speed'] == 'medium': x_increment = 2 else: x_increment = 3 alien_0['x_position'] = alien_0['x_position'] + x_increment print(f"New ...
18.12
64
0.668874
72
453
3.916667
0.347222
0.234043
0.124113
0.265957
0.29078
0.148936
0
0
0
0
0
0.045802
0.13245
453
25
65
18.12
0.671756
0
0
0.142857
0
0
0.380531
0.10177
0
0
0
0
0
1
0
false
0
0
0
0
0.285714
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
56f8137afad3aef53e3812e9d8d62ba9b05535e3
13,235
py
Python
e2e_testing/torchscript/elementwise_comparison.py
pashu123/torch-mlir
7c3ba25238ac73850fcdd698be1fb084f8a58e49
[ "Apache-2.0" ]
null
null
null
e2e_testing/torchscript/elementwise_comparison.py
pashu123/torch-mlir
7c3ba25238ac73850fcdd698be1fb084f8a58e49
[ "Apache-2.0" ]
null
null
null
e2e_testing/torchscript/elementwise_comparison.py
pashu123/torch-mlir
7c3ba25238ac73850fcdd698be1fb084f8a58e49
[ "Apache-2.0" ]
null
null
null
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. # See https://llvm.org/LICENSE.txt for license information. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception # Also available under a BSD-style license. See LICENSE. import torch from torch_mlir_e2e_test.torchscript.framework imp...
28.771739
80
0.570155
1,285
13,235
5.63035
0.080934
0.02405
0.053075
0.050864
0.653214
0.649205
0.636351
0.626538
0.601244
0.578024
0
0.0261
0.172044
13,235
459
81
28.834423
0.634149
0.155875
0
0.713376
0
0
0
0
0
0
0
0
0
1
0.219745
false
0
0.012739
0.073248
0.378981
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
56fa4bea93990e6891a1d3bd05116c460de2ad99
705
py
Python
et_micc2/static_vars.py
etijskens/et-micc2
6d4e989ee3386a555d1e484e96ebfead0afa46b9
[ "MIT" ]
null
null
null
et_micc2/static_vars.py
etijskens/et-micc2
6d4e989ee3386a555d1e484e96ebfead0afa46b9
[ "MIT" ]
16
2021-04-26T06:12:41.000Z
2021-08-13T13:38:55.000Z
et_micc2/static_vars.py
etijskens/et-micc2
6d4e989ee3386a555d1e484e96ebfead0afa46b9
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Module et_micc2.static_vars =========================== A decorator for adding static variables to a function. see https://stackoverflow.com/questions/279561/what-is-the-python-equivalent-of-static-variables-inside-a-function """ def static_vars(**kwargs): """Add static variables to a m...
26.111111
114
0.602837
93
705
4.526882
0.569892
0.071259
0.08076
0.085511
0
0
0
0
0
0
0
0.018622
0.238298
705
27
115
26.111111
0.765363
0.686525
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
7110c05e4764f5acdc857efcf4e2961438b5a281
8,288
py
Python
blatann/nrf/nrf_driver_types.py
teeheee/blatann
f8a75e68cd9d46b83d10482c5349842433dfa490
[ "BSD-3-Clause" ]
40
2018-03-01T19:49:20.000Z
2022-03-31T11:35:06.000Z
blatann/nrf/nrf_driver_types.py
teeheee/blatann
f8a75e68cd9d46b83d10482c5349842433dfa490
[ "BSD-3-Clause" ]
29
2019-03-12T18:29:57.000Z
2022-03-30T04:21:22.000Z
blatann/nrf/nrf_driver_types.py
teeheee/blatann
f8a75e68cd9d46b83d10482c5349842433dfa490
[ "BSD-3-Clause" ]
17
2019-03-27T19:11:12.000Z
2022-03-16T06:00:08.000Z
# # Copyright (c) 2016 Nordic Semiconductor ASA # 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 con...
35.878788
85
0.776424
1,213
8,288
4.954658
0.169002
0.069218
0.060566
0.042429
0.676373
0.646256
0.633943
0.534942
0.469052
0.349584
0
0.012557
0.15444
8,288
230
86
36.034783
0.845034
0.387548
0
0.428571
0
0
0
0
0
0
0
0
0
1
0.257143
false
0
0.019048
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
7128fb6637b9f091e060d4c432fe9a5b05cab8f2
235
py
Python
HumanRace/calc.py
InamdarAbid/PythonTutorial
6aaecf7bafe5b0031159187985dcd9638a1f7e28
[ "MIT" ]
1
2019-01-04T07:40:26.000Z
2019-01-04T07:40:26.000Z
HumanRace/calc.py
InamdarAbid/PythonTutorial
6aaecf7bafe5b0031159187985dcd9638a1f7e28
[ "MIT" ]
null
null
null
HumanRace/calc.py
InamdarAbid/PythonTutorial
6aaecf7bafe5b0031159187985dcd9638a1f7e28
[ "MIT" ]
null
null
null
def human_age(age): if age < 18: return "Human is child" elif age < 60: return "Human is adult" else: return "Human is old." def area(side): are = side ** 2 return f'Area of square is {are}'
21.363636
37
0.553191
36
235
3.583333
0.555556
0.255814
0.302326
0
0
0
0
0
0
0
0
0.032258
0.340426
235
11
37
21.363636
0.8
0
0
0
0
0
0.271186
0
0
0
0
0
0
1
0.2
false
0
0
0
0.6
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
712d29deacb9a404ecac394974422bbb1053b7bc
2,303
py
Python
blog/views.py
pavanasri-nyros/blog-app-pavana
e82c5ec8e50aab77e1d3f0201433c07e6078eefa
[ "MIT" ]
null
null
null
blog/views.py
pavanasri-nyros/blog-app-pavana
e82c5ec8e50aab77e1d3f0201433c07e6078eefa
[ "MIT" ]
8
2021-03-19T02:22:58.000Z
2022-03-12T00:25:23.000Z
blog/views.py
pavanasri-nyros/blog-app-pavana
e82c5ec8e50aab77e1d3f0201433c07e6078eefa
[ "MIT" ]
null
null
null
from django.shortcuts import render, get_object_or_404, redirect from .models import Post from django.views.generic import ListView, DetailView from django.contrib.auth.forms import UserCreationForm, AuthenticationForm from django.contrib.auth.models import User from django.db import IntegrityError from django.contrib...
34.373134
157
0.681285
253
2,303
6.15415
0.324111
0.051381
0.085421
0.067437
0.290944
0.281952
0.189467
0.132306
0
0
0
0.003827
0.205819
2,303
66
158
34.893939
0.847458
0.007382
0
0.294118
0
0
0.154991
0
0
0
0
0
0
1
0.098039
false
0.098039
0.176471
0.039216
0.627451
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
7134f378573b9abcfd619c85ae1425a8a5fcbae8
587
py
Python
config.py
corbinmcneill/bonkbot
5d355d9b8d2377176fc8ec317a7cba03ff3bb37a
[ "MIT" ]
1
2020-12-07T06:58:38.000Z
2020-12-07T06:58:38.000Z
config.py
corbinmcneill/bonkbot
5d355d9b8d2377176fc8ec317a7cba03ff3bb37a
[ "MIT" ]
1
2021-01-06T06:36:11.000Z
2021-01-06T09:06:15.000Z
config.py
corbinmcneill/bonkbot
5d355d9b8d2377176fc8ec317a7cba03ff3bb37a
[ "MIT" ]
2
2021-01-06T06:34:42.000Z
2021-01-28T08:41:40.000Z
import boto3 #class Command: # def __init__(self, description, class Config: dynamodb = boto3.resource('dynamodb') def __init__(self, table_name): self.table = self.dynamodb.Table(table_name) def get(self, key): response = self.table.get_item(Key = {'Key' : key}, ConsistentRe...
24.458333
82
0.62862
70
587
5.085714
0.4
0.101124
0.061798
0
0
0
0
0
0
0
0
0.004494
0.241908
587
23
83
25.521739
0.795506
0.132879
0
0
0
0
0.081028
0
0
0
0
0
0
1
0.307692
false
0
0.076923
0.076923
0.692308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
713737136e6ce903944095326424e2cb826f11fc
370
py
Python
gitools/modules/restore_backup.py
AliRezaBeigy/Gitools
b7defd332bb144cb45962a351b1f56e941c8ca4b
[ "MIT" ]
6
2021-01-06T05:18:06.000Z
2022-03-17T06:44:29.000Z
gitools/modules/restore_backup.py
AliRezaBeigy/Gitools
b7defd332bb144cb45962a351b1f56e941c8ca4b
[ "MIT" ]
null
null
null
gitools/modules/restore_backup.py
AliRezaBeigy/Gitools
b7defd332bb144cb45962a351b1f56e941c8ca4b
[ "MIT" ]
1
2021-04-15T20:51:26.000Z
2021-04-15T20:51:26.000Z
from ..module import Module class RestoreBackupModule(Module): def process(self): Module.restoreBackup() @staticmethod def getFlag(): return "rb" @staticmethod def getName(): return "Restore Backup" @staticmethod def getDescription(): return "" def i...
16.818182
34
0.616216
33
370
6.909091
0.575758
0.197368
0
0
0
0
0
0
0
0
0
0
0.289189
370
21
35
17.619048
0.86692
0
0
0.2
0
0
0.043243
0
0
0
0
0
0
1
0.333333
false
0
0.066667
0.266667
0.733333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
85316a666292271da5c3631a054ead47d369992f
81
py
Python
docs/new-pandas-doc/generated/pandas-DataFrame-plot-bar-3.py
maartenbreddels/datapythonista.github.io
f78d7b9a8a793fc446c5ba3ee74423433b00fb63
[ "Apache-2.0" ]
null
null
null
docs/new-pandas-doc/generated/pandas-DataFrame-plot-bar-3.py
maartenbreddels/datapythonista.github.io
f78d7b9a8a793fc446c5ba3ee74423433b00fb63
[ "Apache-2.0" ]
null
null
null
docs/new-pandas-doc/generated/pandas-DataFrame-plot-bar-3.py
maartenbreddels/datapythonista.github.io
f78d7b9a8a793fc446c5ba3ee74423433b00fb63
[ "Apache-2.0" ]
null
null
null
axes = df.plot.bar(rot=0, subplots=True) axes[1].legend(loc=2) # doctest: +SKIP
27
40
0.679012
15
81
3.666667
0.933333
0
0
0
0
0
0
0
0
0
0
0.041667
0.111111
81
2
41
40.5
0.722222
0.17284
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8534f0f25e82904a184c32c91b686dfe9a266d77
1,011
py
Python
anuvaad-etl/anuvaad-extractor/content-handler/src/db/connection_manager.py
srihari-nagaraj/anuvaad
b09b01a033a033e97db6e404c088e0e6332053e4
[ "MIT" ]
null
null
null
anuvaad-etl/anuvaad-extractor/content-handler/src/db/connection_manager.py
srihari-nagaraj/anuvaad
b09b01a033a033e97db6e404c088e0e6332053e4
[ "MIT" ]
null
null
null
anuvaad-etl/anuvaad-extractor/content-handler/src/db/connection_manager.py
srihari-nagaraj/anuvaad
b09b01a033a033e97db6e404c088e0e6332053e4
[ "MIT" ]
null
null
null
from config import MONGO_CONNECTION_URL,MONGO_DB_SCHEMA from config import REDIS_SERVER_HOST,REDIS_SERVER_PORT from app import server from pymongo import MongoClient from anuvaad_auditor.loghandler import log_info, log_exception from utilities import AppContext from flask import g import redis client = MongoClient(MONG...
33.7
87
0.735905
134
1,011
5.328358
0.298507
0.061625
0.07563
0.121849
0.323529
0.22549
0.22549
0.22549
0
0
0
0.001214
0.184965
1,011
29
88
34.862069
0.865291
0.440158
0
0
0
0
0.012681
0
0
0
0
0
0
1
0.133333
false
0
0.533333
0.066667
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
853a1e484337b7aed0e4a9bc5c80c6b31601b729
542
py
Python
data_loader/data_loaders.py
lizhogn/cellpose
857dce475324ade7365d0f53064720bea13d49cc
[ "MIT" ]
1
2021-03-26T07:04:42.000Z
2021-03-26T07:04:42.000Z
data_loader/data_loaders.py
lizhogn/cellpose
857dce475324ade7365d0f53064720bea13d49cc
[ "MIT" ]
null
null
null
data_loader/data_loaders.py
lizhogn/cellpose
857dce475324ade7365d0f53064720bea13d49cc
[ "MIT" ]
1
2021-05-17T13:39:26.000Z
2021-05-17T13:39:26.000Z
from torchvision import datasets, transforms from base import BaseDataLoader from data_loader import cell_datasets class CellDataLoader(BaseDataLoader): """ Cell data loading demo using BaseDataLoader """ def __init__(self, data_dir, batch_size, shuffle=True, validation_split=0.0, num_workers=1, traini...
45.166667
111
0.763838
70
542
5.6
0.485714
0.089286
0.084184
0
0
0
0
0
0
0
0
0.006536
0.153137
542
12
112
45.166667
0.847495
0.079336
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.375
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
8550c013092a49ab8c61e251d5ca9c60ffb0029d
703
py
Python
src/bitcaster/middleware/i18n.py
bitcaster-io/bitcaster
9f1bad96e00e3bc78a22451731e231d30662b166
[ "BSD-3-Clause" ]
4
2018-03-01T10:22:30.000Z
2020-04-04T16:31:11.000Z
src/bitcaster/middleware/i18n.py
bitcaster-io/bitcaster
9f1bad96e00e3bc78a22451731e231d30662b166
[ "BSD-3-Clause" ]
60
2018-05-20T04:42:32.000Z
2022-02-10T17:03:37.000Z
src/bitcaster/middleware/i18n.py
bitcaster-io/bitcaster
9f1bad96e00e3bc78a22451731e231d30662b166
[ "BSD-3-Clause" ]
1
2018-08-04T05:06:45.000Z
2018-08-04T05:06:45.000Z
from django.utils import translation from bitcaster.config import settings from bitcaster.utils.language import get_attr class UserLanguageMiddleware: def __init__(self, get_response): self.get_response = get_response def __call__(self, request): if request.user and request.user.is_authentic...
35.15
88
0.743954
83
703
6.060241
0.433735
0.131213
0.089463
0.15507
0.115308
0
0
0
0
0
0
0
0.190612
703
19
89
37
0.884007
0.091038
0
0
0
0
0.032967
0.032967
0
0
0
0.052632
0
1
0.153846
false
0
0.230769
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
2
8553977e87cb7137744356f6ae955b38c85f82de
936
py
Python
strops/schemes/admin.py
ckoerber/strops
2131354fd6822b3aa7b7d9c3c0db79723b06b8ca
[ "BSD-3-Clause" ]
1
2020-12-29T19:57:47.000Z
2020-12-29T19:57:47.000Z
strops/schemes/admin.py
ckoerber/strops
2131354fd6822b3aa7b7d9c3c0db79723b06b8ca
[ "BSD-3-Clause" ]
13
2020-06-29T11:15:59.000Z
2021-09-22T19:18:36.000Z
strops/schemes/admin.py
ckoerber/strops
2131354fd6822b3aa7b7d9c3c0db79723b06b8ca
[ "BSD-3-Clause" ]
null
null
null
"""Admin pages for schemes models. On default generates list view admins for all models """ from django.contrib.admin import StackedInline, register from espressodb.base.admin import register_admins from espressodb.base.admin import ListViewAdmin as LVA from strops.schemes.models import ( ExpansionScheme, Ex...
21.767442
77
0.764957
86
936
8.27907
0.488372
0.046348
0.050562
0.064607
0.081461
0
0
0
0
0
0
0.002519
0.151709
936
42
78
22.285714
0.894207
0.090812
0
0.076923
1
0
0.084123
0
0
0
0
0
0
1
0
false
0
0.153846
0
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
8559acd3f7de5ebcb6345fbd49157ee05c1573d6
243
py
Python
mowgli_etl/loader/_kg_edge_loader.py
tetherless-world/mowgli
28c19eba41e03e053ae4addff56a313d926e18d7
[ "MIT" ]
4
2021-01-15T15:36:23.000Z
2021-09-01T06:52:05.000Z
mowgli_etl/loader/_kg_edge_loader.py
tetherless-world/mowgli
28c19eba41e03e053ae4addff56a313d926e18d7
[ "MIT" ]
63
2020-05-04T13:48:04.000Z
2020-06-06T02:32:58.000Z
mowgli_etl/loader/_kg_edge_loader.py
tetherless-world/mowgli-etl
28c19eba41e03e053ae4addff56a313d926e18d7
[ "MIT" ]
null
null
null
from abc import abstractmethod from mowgli_etl._loader import _Loader from mowgli_etl.model.kg_edge import KgEdge class _KgEdgeLoader(_Loader): @abstractmethod def load_kg_edge(self, edge: KgEdge): raise NotImplementedError
22.090909
43
0.786008
31
243
5.870968
0.580645
0.10989
0.142857
0
0
0
0
0
0
0
0
0
0.164609
243
10
44
24.3
0.896552
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
8559c12c8f2dea40cbbf697f7629be1a0dad83f3
2,323
py
Python
jaxopt/_src/base.py
mblondel/jaxopt
b76db8d8015cddc4afb5e2e0e45d6918373e7652
[ "Apache-2.0" ]
null
null
null
jaxopt/_src/base.py
mblondel/jaxopt
b76db8d8015cddc4afb5e2e0e45d6918373e7652
[ "Apache-2.0" ]
null
null
null
jaxopt/_src/base.py
mblondel/jaxopt
b76db8d8015cddc4afb5e2e0e45d6918373e7652
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 Google LLC # # 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
25.527473
74
0.659492
361
2,323
4.193906
0.393352
0.03963
0.02642
0.042272
0.260238
0.211361
0.161162
0.100396
0.100396
0.100396
0
0.008179
0.210504
2,323
90
75
25.811111
0.817339
0.331037
0
0.08
0
0
0.045153
0
0
0
0
0
0
1
0.22
false
0
0.08
0.04
0.68
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
8563770e51b26113cf49a4fe558bbe1e5b2431b2
761
py
Python
common/config_parser/config_dto.py
Softeq/PyCats
c71d54ca7fa958c22ca8c78ba9889c6a32b827be
[ "Apache-2.0" ]
7
2020-06-12T15:16:10.000Z
2020-06-20T18:42:07.000Z
common/config_parser/config_dto.py
Softeq/PyCats
c71d54ca7fa958c22ca8c78ba9889c6a32b827be
[ "Apache-2.0" ]
4
2020-06-15T20:08:32.000Z
2020-06-29T16:51:57.000Z
common/config_parser/config_dto.py
Softeq/SCAF
c71d54ca7fa958c22ca8c78ba9889c6a32b827be
[ "Apache-2.0" ]
3
2020-07-27T10:45:36.000Z
2021-01-13T12:10:46.000Z
from dataclasses import dataclass @dataclass class APIValidationDTO: check_status_code: bool check_headers: bool check_body: bool check_is_field_missing: bool @dataclass class WebDriverSettingsDTO: webdriver_folder: str default_wait_time: int implicit_wait_time: int selenium_server_e...
20.026316
35
0.746386
95
761
5.621053
0.484211
0.059925
0.082397
0.067416
0.149813
0.149813
0.149813
0.149813
0.149813
0
0
0
0.214192
761
37
36
20.567568
0.892977
0
0
0.225806
0
0
0
0
0
0
0
0
0
1
0
true
0
0.032258
0
0.903226
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
1
0
0
2
856c163e95e92d00c1454aaf8b2192b87efb14e1
2,686
py
Python
corefacility/authorizations/google/entity/authorization_token/authorization_token.py
serik1987/corefacility
78d84e19403361e83ef562e738473849f9133bef
[ "RSA-MD" ]
null
null
null
corefacility/authorizations/google/entity/authorization_token/authorization_token.py
serik1987/corefacility
78d84e19403361e83ef562e738473849f9133bef
[ "RSA-MD" ]
null
null
null
corefacility/authorizations/google/entity/authorization_token/authorization_token.py
serik1987/corefacility
78d84e19403361e83ef562e738473849f9133bef
[ "RSA-MD" ]
null
null
null
from core.entity.external_authorization_token import ExternalAuthorizationToken from core.entity.entity_fields import ReadOnlyField, ManagedEntityField from .authorization_token_set import AuthorizationTokenSet from .model_provider import ModelProvider from .mock_provider import MockProvider from .refresh_token_manage...
54.816327
115
0.779226
373
2,686
5.536193
0.353887
0.053269
0.029056
0.016465
0.022276
0
0
0
0
0
0
0
0.180566
2,686
48
116
55.958333
0.93821
0.664557
0
0
0
0
0.108776
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
8573e84ec42bfd7a86b9c8f4553b5b73a83d189d
55
py
Python
tests/test_helper.py
JimBoonie/hydra
63665090812e4e209c67d5dc0b84b5bb35a57ead
[ "MIT" ]
28
2015-12-30T22:38:16.000Z
2021-03-21T07:52:39.000Z
tests/test_helper.py
JimBoonie/hydra
63665090812e4e209c67d5dc0b84b5bb35a57ead
[ "MIT" ]
2
2017-02-23T09:54:09.000Z
2018-12-14T12:20:28.000Z
tests/test_helper.py
JimBoonie/hydra
63665090812e4e209c67d5dc0b84b5bb35a57ead
[ "MIT" ]
7
2017-02-23T09:43:24.000Z
2022-01-10T12:17:36.000Z
""" Helper methods for unit testing. """ REPEAT = 100
9.166667
32
0.654545
7
55
5.142857
1
0
0
0
0
0
0
0
0
0
0
0.068182
0.2
55
5
33
11
0.75
0.581818
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8580d25306ea8f1cf48173ffc1307f5f454509ee
563
py
Python
backend/apps/workOrder/migrations/0006_auto_20211130_0131.py
jorgejimenez98/auditorio-django-react
ee39fa9aa2874154c113a95b03c3d3e909ffd7ec
[ "MIT" ]
null
null
null
backend/apps/workOrder/migrations/0006_auto_20211130_0131.py
jorgejimenez98/auditorio-django-react
ee39fa9aa2874154c113a95b03c3d3e909ffd7ec
[ "MIT" ]
null
null
null
backend/apps/workOrder/migrations/0006_auto_20211130_0131.py
jorgejimenez98/auditorio-django-react
ee39fa9aa2874154c113a95b03c3d3e909ffd7ec
[ "MIT" ]
null
null
null
# Generated by Django 3.2.7 on 2021-11-30 00:31 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('workOrder', '0005_remove_workorder_forg'), ] operations = [ migrations.AddField( model_name='workorder', name='FORG'...
23.458333
63
0.582593
55
563
5.854545
0.672727
0.111801
0.142857
0.167702
0.248447
0.248447
0
0
0
0
0
0.055838
0.300178
563
23
64
24.478261
0.761421
0.079929
0
0.352941
1
0
0.127907
0.050388
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8597fe6a4fdc0901c7b34a4aa9fb3ab1504f9979
6,822
py
Python
pylps/plan.py
astraldawn/pylps
e9964a24bb38657b180d441223b4cdb9e1dadc8a
[ "MIT" ]
1
2018-05-19T18:28:12.000Z
2018-05-19T18:28:12.000Z
pylps/plan.py
astraldawn/pylps
e9964a24bb38657b180d441223b4cdb9e1dadc8a
[ "MIT" ]
12
2018-04-26T00:58:11.000Z
2018-05-13T22:03:39.000Z
pylps/plan.py
astraldawn/pylps
e9964a24bb38657b180d441223b4cdb9e1dadc8a
[ "MIT" ]
null
null
null
import copy from collections import deque from ordered_set import OrderedSet from pylps.config import CONFIG from pylps.constants import * from pylps.utils import * class Proposed(object): def __init__(self): self._actions = OrderedSet() self._fluents = OrderedSet() def __repr__(self): ...
24.451613
78
0.576077
832
6,822
4.469952
0.141827
0.0484
0.052702
0.00968
0.238505
0.187416
0.13068
0.095187
0.065609
0.047862
0
0.002381
0.322779
6,822
278
79
24.539568
0.802597
0.027265
0
0.292929
0
0
0.033353
0
0
0
0
0
0
1
0.242424
false
0
0.030303
0.106061
0.424242
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
85a0ccc648fcc6c0afdc74859a7b236f357d248f
2,158
py
Python
data_collection/ts/indonesia_timeseries/download_indonesia_prices.py
f4bD3v/humanitas
7d2bed0b88a869e3e0450493dc5cc8296574fddc
[ "BSD-3-Clause" ]
6
2017-09-06T10:42:33.000Z
2020-05-25T22:30:37.000Z
data_collection/ts/indonesia_timeseries/download_indonesia_prices.py
fab-4-dev/humanitas
7d2bed0b88a869e3e0450493dc5cc8296574fddc
[ "BSD-3-Clause" ]
null
null
null
data_collection/ts/indonesia_timeseries/download_indonesia_prices.py
fab-4-dev/humanitas
7d2bed0b88a869e3e0450493dc5cc8296574fddc
[ "BSD-3-Clause" ]
2
2016-05-31T10:38:49.000Z
2016-07-16T14:37:06.000Z
#!/usr/bin/env python2 import urllib2 import shutil import re import sys import datetime from lxml import etree usage_str = """ This scripts downloads daily food prices from http://m.pip.kementan.org/index.php (Indonesia). Provide date in DD/MM/YYYY format. Example: ./download_indonesia_prices.py 15/03/2013 ""...
27.316456
188
0.622799
311
2,158
4.228296
0.469453
0.027376
0.029658
0.024335
0.041065
0.041065
0.041065
0
0
0
0
0.016529
0.215014
2,158
78
189
27.666667
0.75974
0.037071
0
0.038462
0
0.038462
0.288481
0.077954
0
0
0
0.012821
0
0
null
null
0
0.115385
null
null
0.115385
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
2
85a41a19c2bf9581556e1f7ed67b26e813e86f4c
254
py
Python
DIYgod/0006/a.py
saurabh896/python-1
f8d3aedf4c0fe6e24dfa3269ea7e642c9f7dd9b7
[ "MIT" ]
3,976
2015-01-01T15:49:39.000Z
2022-03-31T03:47:56.000Z
DIYgod/0006/a.py
dwh65416396/python
1a7e3edd1cd3422cc0eaa55471a0b42e004a9a1a
[ "MIT" ]
97
2015-01-11T02:59:46.000Z
2022-03-16T14:01:56.000Z
DIYgod/0006/a.py
dwh65416396/python
1a7e3edd1cd3422cc0eaa55471a0b42e004a9a1a
[ "MIT" ]
3,533
2015-01-01T06:19:30.000Z
2022-03-28T13:14:54.000Z
f = open('a.txt', 'rb') lines = f.readlines() for line in lines: pass f.close() f = open('a.txt', 'rb') for line in f: pass f.close() f = open('a.txt', 'rb') while true: line = f.readline() if not line: break pass f.close()
13.368421
23
0.543307
44
254
3.136364
0.409091
0.108696
0.130435
0.195652
0.384058
0.304348
0.304348
0.304348
0
0
0
0
0.267717
254
18
24
14.111111
0.741935
0
0
0.5625
0
0
0.082677
0
0
0
0
0
0
1
0
false
0.1875
0
0
0
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
1
0
0
0
0
0
2
85adaed9e0f76c49b73dddc7216f419b0c15a157
4,681
py
Python
wikipediabase/resolvers/term.py
fakedrake/WikipediaBase
ab5aa92786bddcd7942ad3e3f1f4e433575ba3fb
[ "Apache-2.0" ]
1
2017-11-26T17:57:59.000Z
2017-11-26T17:57:59.000Z
wikipediabase/resolvers/term.py
fakedrake/WikipediaBase
ab5aa92786bddcd7942ad3e3f1f4e433575ba3fb
[ "Apache-2.0" ]
34
2015-03-23T10:28:59.000Z
2021-12-13T20:16:48.000Z
wikipediabase/resolvers/term.py
fakedrake/WikipediaBase
ab5aa92786bddcd7942ad3e3f1f4e433575ba3fb
[ "Apache-2.0" ]
2
2015-05-17T00:56:45.000Z
2015-06-27T22:10:59.000Z
# -*- coding: utf-8 -*- import re from wikipediabase.provider import provide from wikipediabase.resolvers.base import BaseResolver from wikipediabase.lispify import lispify from wikipediabase.util import get_infoboxes, get_article, totext, markup_unlink class TermResolver(BaseResolver): """ A resolver that...
31.843537
80
0.577441
585
4,681
4.567521
0.379487
0.041916
0.019087
0.011976
0.087201
0.04753
0.04753
0.033683
0.033683
0
0
0.008804
0.296304
4,681
146
81
32.061644
0.801154
0.119633
0
0.063291
0
0
0.098762
0.022171
0
0
0
0.013699
0
0
null
null
0
0.063291
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
1
0
1
0
0
0
0
0
0
0
0
2
85b1657cb8453cb85fe71959944878df18485cb7
995
py
Python
examples/TushareDataService/test3.py
gongkai90000/2010test
fff57e057b46331218eff333b6a5bf32b5137012
[ "MIT" ]
null
null
null
examples/TushareDataService/test3.py
gongkai90000/2010test
fff57e057b46331218eff333b6a5bf32b5137012
[ "MIT" ]
null
null
null
examples/TushareDataService/test3.py
gongkai90000/2010test
fff57e057b46331218eff333b6a5bf32b5137012
[ "MIT" ]
1
2021-03-07T18:17:28.000Z
2021-03-07T18:17:28.000Z
# encoding: UTF-8 import requests import sys import csv import csv import os ''' future_code = 'M0' url_str = ('http://stock2.finance.sina.com.cn/futures/api/json.php/IndexService.getInnerFuturesMiniKLine15m?symbol=' + future_code) r = requests.get(url_str) #http://stock2.finance.sina.com.cn/futures/api/json.php/Ind...
25.512821
131
0.723618
160
995
4.43125
0.5125
0.042313
0.071932
0.088858
0.342736
0.342736
0.342736
0.342736
0.342736
0.342736
0
0.035165
0.085427
995
39
132
25.512821
0.743956
0.119598
0
0.266667
0
0
0.085271
0
0
0
0
0
0
0
null
null
0
0.333333
null
null
0.266667
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
1
0
0
0
0
2
85b6af8adc731e6f1c405775cafee10d022a6945
850
py
Python
lib/awx_cli/commands/BaseCommand.py
bennojoy/awx-cli
53ed0907408700181d1717fc0219cf9c523724eb
[ "Apache-2.0" ]
2
2021-05-07T01:28:06.000Z
2021-11-16T11:20:23.000Z
lib/awx_cli/commands/BaseCommand.py
NarrativeTeam/awx-cli
b9d1d93f8ce0962fcd9b80a34b1d038be7d5c69a
[ "Apache-2.0" ]
null
null
null
lib/awx_cli/commands/BaseCommand.py
NarrativeTeam/awx-cli
b9d1d93f8ce0962fcd9b80a34b1d038be7d5c69a
[ "Apache-2.0" ]
1
2017-04-12T07:01:00.000Z
2017-04-12T07:01:00.000Z
# Copyright 2013, AnsibleWorks Inc. # Michael DeHaan <michael@ansibleworks.com> # # 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 r...
31.481481
74
0.737647
118
850
5.279661
0.694915
0.096308
0.041734
0.051364
0
0
0
0
0
0
0
0.011561
0.185882
850
26
75
32.692308
0.888728
0.702353
0
0
0
0
0.050633
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
85c6f978aafa46dabd1cb59f39703a0dcdcecf5c
901
py
Python
test_myFunction.py
Guidofaassen/yolo-tyrion
8d715a2607fc3a483dcb4e112c74431fde8aae16
[ "MIT" ]
null
null
null
test_myFunction.py
Guidofaassen/yolo-tyrion
8d715a2607fc3a483dcb4e112c74431fde8aae16
[ "MIT" ]
null
null
null
test_myFunction.py
Guidofaassen/yolo-tyrion
8d715a2607fc3a483dcb4e112c74431fde8aae16
[ "MIT" ]
null
null
null
import myFunction import numpy as np class TestClass: def test_answer(self): assert myFunction.add_one(3) == 4 def test_answer2(self): assert myFunction.add_one(4) == 5 def test_answer3(self): assert myFunction.add_one(-2) == -1 # def test_similarity_conditional2(self): # freqUV = np.asarray([[...
25.027778
69
0.667037
139
901
4.208633
0.223022
0.083761
0.102564
0.117949
0.740171
0.606838
0.606838
0.606838
0.606838
0.606838
0
0.055182
0.175361
901
36
70
25.027778
0.732167
0.203108
0
0.26087
0
0
0
0
0
0
0
0
0.26087
1
0.26087
false
0
0.086957
0
0.391304
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
1
0
0
0
0
0
0
0
2
a414c2b01c63abc4955a11526ee49f4ab57adf5f
3,842
py
Python
openprocurement/auctions/geb/tests/fixtures/active_tendering.py
oleksiyVeretiuk/openprocurement.auctions.geb
2965b52bf8826b9a8f8870c9a4d2052f945f5799
[ "Apache-2.0" ]
null
null
null
openprocurement/auctions/geb/tests/fixtures/active_tendering.py
oleksiyVeretiuk/openprocurement.auctions.geb
2965b52bf8826b9a8f8870c9a4d2052f945f5799
[ "Apache-2.0" ]
null
null
null
openprocurement/auctions/geb/tests/fixtures/active_tendering.py
oleksiyVeretiuk/openprocurement.auctions.geb
2965b52bf8826b9a8f8870c9a4d2052f945f5799
[ "Apache-2.0" ]
null
null
null
from copy import deepcopy from openprocurement.auctions.core.utils import get_now from openprocurement.auctions.geb.tests.fixtures.active_rectification import ( ACTIVE_RECTIFICATION_AUCTION_DEFAULT_FIXTURE ) from openprocurement.auctions.geb.tests.fixtures.questions import ( TEST_QESTION_IN_TENDERING_PERIOD ) f...
32.285714
82
0.801926
413
3,842
7.145278
0.125908
0.075906
0.11386
0.13758
0.833955
0.761437
0.6347
0.604541
0.526262
0.471366
0
0
0.101249
3,842
118
83
32.559322
0.854619
0.061687
0
0.425
0
0
0.099249
0
0
0
0
0
0
1
0
false
0
0.075
0
0.075
0
0
0
0
null
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a423361adfb94d75b3d761d11da3b876c34ec300
197
py
Python
tests/snippets/decorators.py
gabhijit/RustPython
3eafcbec3d687a81606556b4f6815cc6825b7ef3
[ "MIT" ]
1
2021-03-08T02:19:16.000Z
2021-03-08T02:19:16.000Z
tests/snippets/decorators.py
gabhijit/RustPython
3eafcbec3d687a81606556b4f6815cc6825b7ef3
[ "MIT" ]
null
null
null
tests/snippets/decorators.py
gabhijit/RustPython
3eafcbec3d687a81606556b4f6815cc6825b7ef3
[ "MIT" ]
1
2020-12-04T23:52:08.000Z
2020-12-04T23:52:08.000Z
def logged(f): def wrapper(a, b): print('Calling function', f) return f(a, b + 1) return wrapper @logged def add(a, b): return a + b c = add(10, 3) assert c == 14
11.588235
36
0.527919
33
197
3.151515
0.515152
0.076923
0
0
0
0
0
0
0
0
0
0.045455
0.329949
197
16
37
12.3125
0.742424
0
0
0
0
0
0.082051
0
0
0
0
0
0.1
1
0.3
false
0
0
0.1
0.6
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
a43cb32dd1382cf3ce39d6b08951b3453a041bfa
3,562
py
Python
cme/enum/wmiquery.py
padfoot999/CrackMapExec
b1e83227047a64cbe45145b8ebf5054640822317
[ "BSD-2-Clause" ]
2
2016-09-05T02:15:38.000Z
2016-12-24T15:56:41.000Z
cme/enum/wmiquery.py
sbsbts/CrackMapExec
b1e83227047a64cbe45145b8ebf5054640822317
[ "BSD-2-Clause" ]
null
null
null
cme/enum/wmiquery.py
sbsbts/CrackMapExec
b1e83227047a64cbe45145b8ebf5054640822317
[ "BSD-2-Clause" ]
1
2019-01-26T14:03:07.000Z
2019-01-26T14:03:07.000Z
#!/usr/bin/python # Copyright (c) 2003-2015 CORE Security Technologies # # This software is provided under under a slightly modified version # of the Apache Software License. See the accompanying LICENSE file # for more information. # # Description: [MS-WMI] example. It allows to issue WQL queries and # ge...
33.28972
114
0.59854
353
3,562
5.770538
0.416431
0.050074
0.02651
0.029455
0.051055
0
0
0
0
0
0
0.011712
0.304885
3,562
107
115
33.28972
0.810985
0.147389
0
0.070423
0
0
0.019224
0
0
0
0.003315
0
0
0
null
null
0.056338
0.070423
null
null
0.070423
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
a43f52d55d468bdfe24411cbf1c6d278fb45e538
6,725
py
Python
tests/unit/test_cluster.py
kishkaru/python-driver
17fbbefa9100b50eb4675992c12f7a26a470078e
[ "Apache-2.0" ]
null
null
null
tests/unit/test_cluster.py
kishkaru/python-driver
17fbbefa9100b50eb4675992c12f7a26a470078e
[ "Apache-2.0" ]
null
null
null
tests/unit/test_cluster.py
kishkaru/python-driver
17fbbefa9100b50eb4675992c12f7a26a470078e
[ "Apache-2.0" ]
null
null
null
# Copyright 2013-2016 DataStax, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
44.243421
213
0.735911
696
6,725
6.989943
0.33046
0.089209
0.152929
0.11223
0.28592
0.130935
0.094347
0.070504
0.054265
0.030421
0
0.009841
0.184089
6,725
151
214
44.536424
0.8768
0.2
0
0.024691
0
0
0.019791
0.015414
0
0
0
0.013245
0.481481
1
0.061728
false
0
0.098765
0
0.209877
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
1
0
0
0
0
0
0
0
0
0
2
a441850a4a0d3eaee6532fdb002548312d99b738
166
py
Python
Advance/5.Regex.py
AMZEnterprise/Python_Course_Jadi
4c1b3512ae0292f897d3ae2aa6449be6a5adb514
[ "MIT" ]
null
null
null
Advance/5.Regex.py
AMZEnterprise/Python_Course_Jadi
4c1b3512ae0292f897d3ae2aa6449be6a5adb514
[ "MIT" ]
null
null
null
Advance/5.Regex.py
AMZEnterprise/Python_Course_Jadi
4c1b3512ae0292f897d3ae2aa6449be6a5adb514
[ "MIT" ]
null
null
null
import re str = 'Hello ali, how are you ali? I am fine. And you?' result = re.search(r'ali', str) print(result) result = re.sub(r'ali', 'Mahdi', str) print(result)
18.444444
55
0.662651
31
166
3.548387
0.580645
0.145455
0.254545
0
0
0
0
0
0
0
0
0
0.168675
166
9
56
18.444444
0.797101
0
0
0.333333
0
0
0.347305
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.333333
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a4440a228bc1d2479f90cdfdae750d03e592e958
3,201
py
Python
pysnmp-with-texts/CISCO-PFC-EXT-CAPABILITY.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/CISCO-PFC-EXT-CAPABILITY.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/CISCO-PFC-EXT-CAPABILITY.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module CISCO-PFC-EXT-CAPABILITY (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-PFC-EXT-CAPABILITY # Produced by pysmi-0.3.4 at Wed May 1 12:09:21 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7....
103.258065
477
0.784442
334
3,201
7.511976
0.461078
0.064169
0.050219
0.083699
0.30291
0.223994
0.223994
0.223994
0.223994
0.215225
0
0.083933
0.088097
3,201
30
478
106.7
0.775608
0.106842
0
0.136364
0
0.090909
0.325614
0.033684
0
0
0
0
0
1
0
false
0
0.318182
0
0.318182
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
a4477e7fca289b625b3422c54be884468363908e
7,587
py
Python
benchmark/lue/benchmark/export_results.py
computationalgeography/lue
71993169bae67a9863d7bd7646d207405dc6f767
[ "MIT" ]
2
2021-02-26T22:45:56.000Z
2021-05-02T10:28:48.000Z
benchmark/lue/benchmark/export_results.py
pcraster/lue
e64c18f78a8b6d8a602b7578a2572e9740969202
[ "MIT" ]
262
2016-08-11T10:12:02.000Z
2020-10-13T18:09:16.000Z
benchmark/lue/benchmark/export_results.py
computationalgeography/lue
71993169bae67a9863d7bd7646d207405dc6f767
[ "MIT" ]
1
2020-03-11T09:49:41.000Z
2020-03-11T09:49:41.000Z
import lue.data_model as ldm import numpy as np import csv def export_partition_shape_results( lue_dataset, csv_writer): # Assert that the number of array shapes for which experiments where # performed is 1 lue_array = lue_dataset.array.array assert lue_array.shape.value.nr_arrays == ...
34.330317
91
0.565704
782
7,587
5.127877
0.103581
0.125686
0.064838
0.037905
0.704738
0.664589
0.646135
0.639651
0.628928
0.628928
0
0.003986
0.338737
7,587
220
92
34.486364
0.795296
0.090154
0
0.734177
0
0
0.063
0.013677
0
0
0
0
0.025316
1
0.025316
false
0
0.018987
0
0.044304
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a45017a410743c5e8c6cbc876a932c5594b73c99
12,653
py
Python
lib/TestTaxonAPI/TestTaxonAPIImpl.py
scanon/testtaxonapi
6dd71d6c0f2f0f8938e08e91ac2e11ba097b82f8
[ "MIT" ]
null
null
null
lib/TestTaxonAPI/TestTaxonAPIImpl.py
scanon/testtaxonapi
6dd71d6c0f2f0f8938e08e91ac2e11ba097b82f8
[ "MIT" ]
null
null
null
lib/TestTaxonAPI/TestTaxonAPIImpl.py
scanon/testtaxonapi
6dd71d6c0f2f0f8938e08e91ac2e11ba097b82f8
[ "MIT" ]
null
null
null
#BEGIN_HEADER from biokbase.workspace.client import Workspace as workspaceService import doekbase.data_api.taxonomy.taxon.api from doekbase.data_api import cache import logging #END_HEADER class TestTaxonAPI: ''' Module Name: TestTaxonAPI Module Description: A KBase module: test_taxon_api '''...
39.789308
99
0.62499
1,496
12,653
5.143048
0.116979
0.051989
0.035092
0.050819
0.721731
0.704445
0.696647
0.688069
0.688069
0.68196
0
0.003342
0.290524
12,653
317
100
39.914827
0.853737
0.244132
0
0.429487
0
0
0.175008
0.011205
0
0
0
0
0
1
0.115385
false
0.00641
0.025641
0
0.275641
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a45c67efb1711e7c02b092470a26caf411bd34f5
325
py
Python
{{cookiecutter.project_name}}/{{cookiecutter.app_name}}/api/graphql/views.py
Anyesh/cookiecutter-flask-all-in-one
6ae0a423e8cab23c23756f1ef610643c85b71f32
[ "MIT" ]
35
2020-11-27T09:06:44.000Z
2022-01-31T17:08:41.000Z
{{cookiecutter.project_name}}/{{cookiecutter.app_name}}/api/graphql/views.py
Anyesh/cookiecutter-flask-all-in-one
6ae0a423e8cab23c23756f1ef610643c85b71f32
[ "MIT" ]
1
2021-05-15T17:34:47.000Z
2021-06-04T20:12:59.000Z
{{cookiecutter.project_name}}/{{cookiecutter.app_name}}/api/graphql/views.py
Anyesh/cookiecutter-flask-all-in-one
6ae0a423e8cab23c23756f1ef610643c85b71f32
[ "MIT" ]
2
2020-12-03T13:55:11.000Z
2020-12-08T10:42:03.000Z
from flask import Blueprint from flask_graphql import GraphQLView from {{cookiecutter.app_name}}.api.graphql.schemas import schema bp = Blueprint('graphql', __name__) def graphql(): view = GraphQLView.as_view('graphql', schema=schema, graphiql=True) return view bp.add_url_rule('/graphql', view_func=graphq...
21.666667
71
0.76
43
325
5.511628
0.534884
0.075949
0
0
0
0
0
0
0
0
0
0
0.126154
325
14
72
23.214286
0.834507
0
0
0
0
0
0.067692
0
0
0
0
0
0
0
null
null
0
0.375
null
null
0.25
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
1
0
0
0
0
2
a46105d643bac3301d12357527f7f74c1cf66b8d
248
py
Python
bookyourcab/models.py
shankarj67/bookyouruber
4875634f33d14d3f0ee40e048bc8c27aba8b207d
[ "MIT" ]
null
null
null
bookyourcab/models.py
shankarj67/bookyouruber
4875634f33d14d3f0ee40e048bc8c27aba8b207d
[ "MIT" ]
5
2021-03-19T01:04:40.000Z
2021-09-22T18:56:17.000Z
bookyourcab/models.py
shankarj67/bookyouruber
4875634f33d14d3f0ee40e048bc8c27aba8b207d
[ "MIT" ]
null
null
null
from django.db import models # Create your models here. class Uber(models.Model): source = models.CharField(max_length=150) destination = models.CharField(max_length=150) time = models.TimeField() email = models.EmailField()
22.545455
50
0.71371
31
248
5.645161
0.677419
0.171429
0.205714
0.274286
0.308571
0
0
0
0
0
0
0.029703
0.185484
248
10
51
24.8
0.836634
0.096774
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.166667
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a46a8f4ae07caf2caf9f6d6f10aa472b226b1ae8
4,207
py
Python
src/h_matchers/matcher/number.py
hypothesis/h-matcher
40a9a5577c33295f3ce651338df05a6814554568
[ "BSD-2-Clause" ]
null
null
null
src/h_matchers/matcher/number.py
hypothesis/h-matcher
40a9a5577c33295f3ce651338df05a6814554568
[ "BSD-2-Clause" ]
null
null
null
src/h_matchers/matcher/number.py
hypothesis/h-matcher
40a9a5577c33295f3ce651338df05a6814554568
[ "BSD-2-Clause" ]
null
null
null
"""A collection of matchers for various number types.""" # pylint: disable=too-few-public-methods from decimal import Decimal from h_matchers.matcher.core import Matcher class AnyNumber(Matcher): """Matches any number.""" _types = (int, float, complex, Decimal) _type_description = "number" def __i...
26.967949
79
0.628714
540
4,207
4.701852
0.222222
0.063017
0.082316
0.090981
0.369437
0.346987
0.259551
0.235132
0.219772
0.167389
0
0.003822
0.253625
4,207
155
80
27.141935
0.804777
0.226765
0
0.054054
0
0
0.064005
0
0
0
0
0
0.067568
1
0.256757
false
0
0.027027
0.054054
0.77027
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
a46acab7780da9b489e217ace84b9ddc02186878
295
py
Python
turbo/__init__.py
blopker/turbo-django
fa5555b9b16c54e08947a0fb540f3ad66e860c55
[ "MIT" ]
null
null
null
turbo/__init__.py
blopker/turbo-django
fa5555b9b16c54e08947a0fb540f3ad66e860c55
[ "MIT" ]
null
null
null
turbo/__init__.py
blopker/turbo-django
fa5555b9b16c54e08947a0fb540f3ad66e860c55
[ "MIT" ]
null
null
null
from django.db.models import Model default_app_config = 'turbo.apps.TurboDjangoConfig' def make_channel_name(model_label, pk): return f"BROADCAST-{model_label}-{pk}".lower() def channel_name_for_instance(instance: Model): return make_channel_name(instance._meta.label, instance.pk)
24.583333
63
0.786441
42
295
5.238095
0.595238
0.15
0.136364
0
0
0
0
0
0
0
0
0
0.105085
295
11
64
26.818182
0.833333
0
0
0
0
0
0.189831
0.189831
0
0
0
0
0
1
0.333333
false
0
0.166667
0.333333
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
a4864aab51820e758a32f1f3c06f715bbef07b5b
43,281
py
Python
migrations/sqlite_versions/2020-05-15_ccc37f794db6_update_add_constraints.py
debrief/pepys-import
12d29c0e0f69e1119400334983947893e7679b6b
[ "Apache-2.0" ]
4
2021-05-14T08:22:47.000Z
2022-02-04T19:48:25.000Z
migrations/sqlite_versions/2020-05-15_ccc37f794db6_update_add_constraints.py
debrief/pepys-import
12d29c0e0f69e1119400334983947893e7679b6b
[ "Apache-2.0" ]
1,083
2019-11-06T17:01:07.000Z
2022-03-25T10:26:51.000Z
migrations/sqlite_versions/2020-05-15_ccc37f794db6_update_add_constraints.py
debrief/pepys-import
12d29c0e0f69e1119400334983947893e7679b6b
[ "Apache-2.0" ]
4
2019-11-06T12:00:45.000Z
2021-06-09T04:18:28.000Z
"""update, add constraints Revision ID: ccc37f794db6 Revises: 96aa1196c23b Create Date: 2020-05-15 14:02:21.163220 """ from datetime import datetime from uuid import uuid4 from alembic import op from geoalchemy2 import Geometry from sqlalchemy import DATE, Boolean, Column, DateTime, ForeignKey, Integer, MetaData, St...
38.13304
100
0.686052
4,929
43,281
5.655305
0.067154
0.058762
0.029274
0.036592
0.765883
0.738296
0.733991
0.695426
0.605776
0.567964
0
0.008898
0.205425
43,281
1,134
101
38.166667
0.801657
0.008965
0
0.424116
0
0
0.183297
0.099734
0
0
0
0
0
1
0.008316
false
0
0.014553
0.004158
0.438669
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a48d17236f92190e33eb4166b4f2163240b5737f
7,338
py
Python
python/sqlflow_submitter/xgboost/feature_column.py
brightcoder01/sqlflow
1b5b75a62908c6fa17fbfd1309a502c8c613fe3d
[ "Apache-2.0" ]
null
null
null
python/sqlflow_submitter/xgboost/feature_column.py
brightcoder01/sqlflow
1b5b75a62908c6fa17fbfd1309a502c8c613fe3d
[ "Apache-2.0" ]
null
null
null
python/sqlflow_submitter/xgboost/feature_column.py
brightcoder01/sqlflow
1b5b75a62908c6fa17fbfd1309a502c8c613fe3d
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 The SQLFlow Authors. All rights reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
34.450704
81
0.689561
857
7,338
5.590432
0.191365
0.079315
0.058443
0.055521
0.466917
0.396577
0.336255
0.305364
0.305364
0.280526
0
0.002843
0.233034
7,338
212
82
34.613208
0.848436
0.100845
0
0.421429
0
0
0.041331
0.016107
0
0
0
0.004717
0.021429
1
0.264286
false
0.007143
0.007143
0.107143
0.492857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
8efbac80f5a37410b52a61b9bd03fcf0669eb74a
107
py
Python
test/test_tcalib.py
askpatrickw/micropython-stubber
ccd73538dde8a5da77b89aba79c0d7a076e5eecd
[ "MIT" ]
null
null
null
test/test_tcalib.py
askpatrickw/micropython-stubber
ccd73538dde8a5da77b89aba79c0d7a076e5eecd
[ "MIT" ]
null
null
null
test/test_tcalib.py
askpatrickw/micropython-stubber
ccd73538dde8a5da77b89aba79c0d7a076e5eecd
[ "MIT" ]
null
null
null
#Lobo from tpcalib import Calibrate x = Calibrate() x.drawCrossHair(10,20,False) x.readCoordinates()
9.727273
29
0.738318
14
107
5.642857
0.785714
0.253165
0
0
0
0
0
0
0
0
0
0.043956
0.149533
107
10
30
10.7
0.824176
0.037383
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f111b953366e88738bc601a223a40d687bcfdc61
279
py
Python
src/skge/test.py
comjoueur/cesi
0ab3e03e851cd5278f9287b7ce1495c65413e370
[ "Apache-2.0" ]
100
2018-02-13T16:23:10.000Z
2022-01-20T00:52:52.000Z
src/skge/test.py
lbda1/cesi
39058d307473cd112f5b1aafbf56d9a728b601dd
[ "Apache-2.0" ]
9
2019-04-03T10:19:00.000Z
2022-03-19T07:17:09.000Z
src/skge/test.py
lbda1/cesi
39058d307473cd112f5b1aafbf56d9a728b601dd
[ "Apache-2.0" ]
27
2018-07-04T15:11:16.000Z
2022-03-09T12:46:54.000Z
import sys import numpy as np from numpy import sqrt, squeeze, zeros_like from numpy.random import randn, uniform import pdb def init_unif(sz): bnd = 1 / sqrt(sz[0]) p = uniform(low=-bnd, high=bnd, size=sz) return squeeze(p) sz = [10,10,5] a = init_unif(sz) pdb.set_trace()
18.6
43
0.713262
52
279
3.75
0.596154
0.092308
0.102564
0
0
0
0
0
0
0
0
0.029915
0.16129
279
15
44
18.6
0.803419
0
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0.416667
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
f1290011947799e5934b3a84531b1a7a07660192
897
py
Python
examples/mp/bzn_mp2.py
seunghoonlee89/pyscf-ecCC-TCC
2091566fb83c1474e40bf74f271be2ce4611f60c
[ "Apache-2.0" ]
2
2021-09-17T06:10:17.000Z
2022-01-22T23:37:22.000Z
examples/mp/bzn_mp2.py
seunghoonlee89/pyscf-ecCC-TCC
2091566fb83c1474e40bf74f271be2ce4611f60c
[ "Apache-2.0" ]
null
null
null
examples/mp/bzn_mp2.py
seunghoonlee89/pyscf-ecCC-TCC
2091566fb83c1474e40bf74f271be2ce4611f60c
[ "Apache-2.0" ]
2
2021-09-16T23:37:42.000Z
2021-10-14T23:00:39.000Z
#!/usr/bin/env python # # Author: Qiming Sun <osirpt.sun@gmail.com> # ''' A simple example to run MP2 calculation. ''' import pyscf from pyscf import gto, scf, lo, tools, symm mol = gto.M(atom = 'C 0.0000 1.396792 0.0000;\ C 0.0000 -1.396792 0.0000;\ C 1.209657 0.698396 0.0000;\ C -...
25.628571
137
0.57748
158
897
3.278481
0.417722
0.15444
0.069498
0.054054
0.447876
0.447876
0.447876
0.447876
0.388031
0.330116
0
0.350153
0.270903
897
34
138
26.382353
0.441896
0.251951
0
0
0
0
0.012177
0
0
0
0
0
0
1
0
false
0
0.105263
0
0.105263
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f1382949d5874dd257fa8644ccd4fe655b85fdb9
384
py
Python
mergeMetadata/modules/utils/exceptions.py
isabella232/ALM-SF-DX-Python-Tools
8a29c1d056653999542e9d7048641d5fb5c36bed
[ "Apache-2.0" ]
5
2020-09-30T14:56:29.000Z
2022-02-09T09:23:47.000Z
mergeMetadata/modules/utils/exceptions.py
Accenture/ALM-SF-DX-Python-Tools
14e9d7fea66f77ee71e945cd272c7b1f7f303692
[ "Apache-2.0" ]
3
2020-11-23T11:11:57.000Z
2021-04-30T15:28:12.000Z
mergeMetadata/modules/utils/exceptions.py
isabella232/ALM-SF-DX-Python-Tools
8a29c1d056653999542e9d7048641d5fb5c36bed
[ "Apache-2.0" ]
4
2020-09-30T14:57:52.000Z
2021-11-10T13:56:53.000Z
class NotCreatedDescribeLog( Exception ): '''Exception launched when describe.log didn´t exist on the specific folder''' ERROR_CODE = 117 def __init__( self, pathDescribe ): super().__init__( f'Describe log didnt exist, please place it on {pathDescribe}' ) class NoFullNameError( Exception ): def __init__( self...
34.909091
84
0.736979
50
384
5.34
0.68
0.082397
0.082397
0
0
0
0
0
0
0
0
0.009231
0.153646
384
11
85
34.909091
0.809231
0.1875
0
0
0
0
0.276873
0
0
0
0
0
0
1
0.285714
false
0
0
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
f148955ac4dfe7aaa5254dd86209fd4d903f4129
11,603
py
Python
plotUSA_GDP_and_GNI_final.py
cjekel/USA_GDP_per_capita_inflation_adjust
3cd62dcfa05eb1fe4383f0b15d8511f042f92039
[ "MIT" ]
null
null
null
plotUSA_GDP_and_GNI_final.py
cjekel/USA_GDP_per_capita_inflation_adjust
3cd62dcfa05eb1fe4383f0b15d8511f042f92039
[ "MIT" ]
null
null
null
plotUSA_GDP_and_GNI_final.py
cjekel/USA_GDP_per_capita_inflation_adjust
3cd62dcfa05eb1fe4383f0b15d8511f042f92039
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt # close all figures plt.close('all') years = np.array([1960,1961,1962,1963,1964,1965,1966,1967,1968,1969,1970,1971,1972,1973,1974,1975,1976,1977,1978,1979,1980,1981,1982,1983,1984,1985,1986,1987,1988,1989,1990,1991,1992,1993,1994,1995,1996,1997,1998,1999,2000,2001,...
48.548117
911
0.767732
1,656
11,603
5.371981
0.29529
0.023606
0.028327
0.034173
0.565647
0.552496
0.532149
0.517424
0.464029
0.437163
0
0.347994
0.086874
11,603
239
912
48.548117
0.491647
0.124968
0
0.508287
0
0
0.128557
0.021838
0
0
0
0
0
1
0.005525
false
0
0.01105
0
0.022099
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f1490832f391aa7b34fa575810789f2b9d13bdf9
145
py
Python
glue/external/wcsaxes/settings.py
yuvallanger/glue
1e27b47328db1e9a44eb6734e894a897c4b693be
[ "BSD-3-Clause" ]
1
2020-08-12T03:52:50.000Z
2020-08-12T03:52:50.000Z
glue/external/wcsaxes/settings.py
yuvallanger/glue
1e27b47328db1e9a44eb6734e894a897c4b693be
[ "BSD-3-Clause" ]
null
null
null
glue/external/wcsaxes/settings.py
yuvallanger/glue
1e27b47328db1e9a44eb6734e894a897c4b693be
[ "BSD-3-Clause" ]
null
null
null
# Licensed under a 3-clause BSD style license - see LICENSE.rst COORDINATE_RANGE_SAMPLES = 50 FRAME_BOUNDARY_SAMPLES = 1000 GRID_SAMPLES = 1000
24.166667
63
0.806897
22
145
5.090909
0.818182
0.196429
0
0
0
0
0
0
0
0
0
0.08871
0.144828
145
5
64
29
0.814516
0.42069
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f1674524733cf5ec2b2ef8169cd44caf1d21d79e
790
py
Python
caption/models/__init__.py
Unbabel/caption
90725dbf5bc3809e0364d20d0837c58968ceb2b1
[ "MIT" ]
3
2021-06-14T08:23:00.000Z
2022-03-04T06:00:50.000Z
caption/models/__init__.py
Unbabel/caption
90725dbf5bc3809e0364d20d0837c58968ceb2b1
[ "MIT" ]
null
null
null
caption/models/__init__.py
Unbabel/caption
90725dbf5bc3809e0364d20d0837c58968ceb2b1
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import logging import pytorch_lightning as ptl import pandas as pd import os from .taggers import TransformerTagger from .language_models import MaskedLanguageModel str2model = { "TransformerTagger": TransformerTagger, "MaskedLanguageModel": MaskedLanguageModel, } def build_model(hp...
25.483871
75
0.746835
89
790
6.505618
0.550562
0.07772
0.069085
0.079447
0.158895
0.158895
0.158895
0.158895
0
0
0
0.007634
0.170886
790
30
76
26.333333
0.876336
0.168354
0
0.111111
0
0
0.10989
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.611111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
f176f7b6d8d9169ec9bc93796165bda1fd1d026d
550
py
Python
tests/test_spyd/test_authentication/test_services/test_vanilla/test_auth_success.py
DanSeraf/spyd
af893b7f9c67785613b25754eb2cf150523a9fe4
[ "Zlib" ]
4
2015-05-05T16:44:42.000Z
2020-10-27T09:45:23.000Z
tests/test_spyd/test_authentication/test_services/test_vanilla/test_auth_success.py
DanSeraf/spyd
af893b7f9c67785613b25754eb2cf150523a9fe4
[ "Zlib" ]
null
null
null
tests/test_spyd/test_authentication/test_services/test_vanilla/test_auth_success.py
DanSeraf/spyd
af893b7f9c67785613b25754eb2cf150523a9fe4
[ "Zlib" ]
2
2016-12-13T22:21:08.000Z
2020-03-14T16:44:20.000Z
import unittest from spyd.authentication.services.vanilla.auth_success import VanillaAuthSuccess class TestVanillaAuthSuccess(unittest.TestCase): def setUp(self): self.instance = VanillaAuthSuccess('localhost', 'chasm') def test_get_group_names(self): group_names = self.instance.group_pro...
36.666667
102
0.750909
60
550
6.7
0.45
0.099502
0.104478
0.084577
0
0
0
0
0
0
0
0
0.143636
550
14
103
39.285714
0.853503
0
0
0
0
0
0.147273
0.038182
0
0
0
0
0.2
1
0.3
false
0
0.2
0
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
1
0
0
2
f18105bddd96ba3669069f9c8e1c958f34b4eaae
560
py
Python
crawler/browser/condition.py
CvvT/crawler_sqlmap
8cca8e8386e4b2160e2064a510b47c1202acdf39
[ "Apache-2.0" ]
9
2017-06-23T08:57:45.000Z
2022-03-16T16:10:10.000Z
crawler/browser/condition.py
CvvT/crawler_sqlmap
8cca8e8386e4b2160e2064a510b47c1202acdf39
[ "Apache-2.0" ]
4
2017-06-27T10:16:52.000Z
2018-08-24T00:47:07.000Z
crawler/browser/condition.py
CvvT/crawler_sqlmap
8cca8e8386e4b2160e2064a510b47c1202acdf39
[ "Apache-2.0" ]
3
2017-06-23T08:57:50.000Z
2021-02-02T05:58:09.000Z
#! /usr/bin/env python # -*- coding: utf-8 -*- class jQuery_load(object): def __init__(self): pass def __call__(self, driver): try: ret = driver.execute_script("return jQuery.active") return int(ret) == 0 except: return True class jScript_load(objec...
22.4
69
0.553571
61
560
4.754098
0.540984
0.068966
0.089655
0.117241
0.503448
0.503448
0.503448
0.503448
0.503448
0.503448
0
0.005376
0.335714
560
24
70
23.333333
0.774194
0.076786
0
0.555556
0
0
0.104854
0
0
0
0
0
0
1
0.222222
false
0.111111
0
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
74b861dae122c96fd5bea5a9b8225ecbf39c733c
174
py
Python
snek/__init__.py
MaT1g3R/dot_snek
1a30afb7aedc9daf5b9e47ec97e1dab3b90153fa
[ "MIT" ]
null
null
null
snek/__init__.py
MaT1g3R/dot_snek
1a30afb7aedc9daf5b9e47ec97e1dab3b90153fa
[ "MIT" ]
null
null
null
snek/__init__.py
MaT1g3R/dot_snek
1a30afb7aedc9daf5b9e47ec97e1dab3b90153fa
[ "MIT" ]
null
null
null
__license__ = 'MIT' __title__ = 'dot_snek' __version__ = '0.0.5' __url__ = 'https://github.com/MaT1g3R/dot_snek' __author__ = 'MaT1g3R' __description__ = 'Dot files manager'
24.857143
47
0.735632
22
174
4.636364
0.772727
0.137255
0
0
0
0
0
0
0
0
0
0.045455
0.114943
174
6
48
29
0.616883
0
0
0
0
0
0.431034
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
74bd256c7c6a3023acf5cd55d8c21708b237c810
210
py
Python
src/terra/contracts/orion.py
fentas/staketaxcsv
ad37a32d8864111dbf88e926b80eb4ccacb921c6
[ "MIT" ]
null
null
null
src/terra/contracts/orion.py
fentas/staketaxcsv
ad37a32d8864111dbf88e926b80eb4ccacb921c6
[ "MIT" ]
null
null
null
src/terra/contracts/orion.py
fentas/staketaxcsv
ad37a32d8864111dbf88e926b80eb4ccacb921c6
[ "MIT" ]
null
null
null
# known contracts from protocol CONTRACTS = [ # Airdrop "terra1rqlu6w83tzrmm04ld97muwakuegn4c09vwgk2l", ] def handle(exporter, elem, txinfo, contract): print(f"Orion! {contract}") #print(elem)
21
51
0.709524
19
210
7.842105
0.789474
0.174497
0
0
0
0
0
0
0
0
0
0.069364
0.17619
210
9
52
23.333333
0.791908
0.228571
0
0
0
0
0.386076
0.278481
0
0
0
0
0
1
0.2
false
0
0
0
0.2
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
74be6f9d979a83bbb6d8930bb74d0f9054e36f61
2,127
py
Python
experimentos/Experimentos_artigo_2/parse.py
dcomp-labPi/G-PETo
0dd9a5a0ab54a737614a0fd84a973b085c3b20ec
[ "MIT" ]
null
null
null
experimentos/Experimentos_artigo_2/parse.py
dcomp-labPi/G-PETo
0dd9a5a0ab54a737614a0fd84a973b085c3b20ec
[ "MIT" ]
null
null
null
experimentos/Experimentos_artigo_2/parse.py
dcomp-labPi/G-PETo
0dd9a5a0ab54a737614a0fd84a973b085c3b20ec
[ "MIT" ]
null
null
null
import xml.etree.ElementTree as ET from os import sys #Return *.c for 1, *.o for 2 #tipo = sys.argv[1] #names_files = [] names_files = [] names_functions = [] hosts_ips = [] names = "" root = ET.parse('startup.xml').getroot() arquivo = open("Makefile","w") functions_file = open("functions_names","w") hosts = open(...
24.448276
136
0.646921
345
2,127
3.924638
0.257971
0.212703
0.211226
0.124077
0.322009
0.241507
0.241507
0.177253
0.134417
0.076809
0
0.011733
0.118477
2,127
86
137
24.732558
0.7104
0.047485
0
0.305085
0
0.016949
0.272412
0.013373
0.016949
0
0
0
0
1
0
false
0
0.033898
0
0.033898
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
74bf2950a39164a611c1a2acdec85122ad828748
1,263
py
Python
tests/document/test_retrieve.py
constructpm/pysyncgateway
653db702b2f872e18fa15ab41920276ffc07aa45
[ "Apache-2.0" ]
2
2018-04-04T17:13:25.000Z
2018-07-21T13:30:42.000Z
tests/document/test_retrieve.py
constructpm/pysyncgateway
653db702b2f872e18fa15ab41920276ffc07aa45
[ "Apache-2.0" ]
14
2018-03-22T11:35:28.000Z
2021-11-12T17:46:54.000Z
tests/document/test_retrieve.py
constructpm/pysyncgateway
653db702b2f872e18fa15ab41920276ffc07aa45
[ "Apache-2.0" ]
1
2018-06-15T13:37:00.000Z
2018-06-15T13:37:00.000Z
import pytest from pysyncgateway.exceptions import DoesNotExist def test(recipe_document, database): reload_document = database.get_document('butter_chicken') result = reload_document.retrieve() assert result is True for key in list(reload_document.data.keys()): assert isinstance(key, str) ...
30.071429
85
0.719715
147
1,263
6.013605
0.353742
0.221719
0.158371
0.081448
0.266968
0.192308
0.104072
0.104072
0
0
0
0.007619
0.168646
1,263
41
86
30.804878
0.834286
0.061758
0
0.166667
0
0
0.116339
0
0
0
0
0
0.5
1
0.125
false
0
0.083333
0
0.208333
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
1
0
0
0
0
0
0
0
0
0
2
74c95bc497a231fc85688dfeebd0fe4901c1855f
2,564
py
Python
nlpproject/main/processing.py
Hrishi2312/IR-reimagined
2bcaf207a402bdae9fc39be516ccb607ce78d174
[ "MIT" ]
null
null
null
nlpproject/main/processing.py
Hrishi2312/IR-reimagined
2bcaf207a402bdae9fc39be516ccb607ce78d174
[ "MIT" ]
null
null
null
nlpproject/main/processing.py
Hrishi2312/IR-reimagined
2bcaf207a402bdae9fc39be516ccb607ce78d174
[ "MIT" ]
null
null
null
from .words import * from .Node import * connecting_words = [] cnt = 1 different_words = [] total_files = len(files_with_index) zeroes_and_ones = [] zeroes_and_ones_of_all_words = [] query_words = [] files = [] def processing(query): connecting_words = [] cnt = 1 different_words = [] total_files = len...
37.705882
86
0.644696
364
2,564
4.14011
0.159341
0.131387
0.189781
0.16921
0.583278
0.583278
0.537492
0.520902
0.46649
0.46649
0
0.022175
0.26131
2,564
67
87
38.268657
0.773495
0
0
0.412698
0
0
0.00624
0
0
0
0
0
0
1
0.015873
false
0
0.031746
0
0.063492
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
74e3f6a9c9f144b6d16478572b1452b2e036ddf2
561
py
Python
generative_structures/explainer/tests.py
RaymondDashWu/generative-structures2
e6e129d52157c9e9ac88f2ebff21f423971aa6fb
[ "MIT" ]
null
null
null
generative_structures/explainer/tests.py
RaymondDashWu/generative-structures2
e6e129d52157c9e9ac88f2ebff21f423971aa6fb
[ "MIT" ]
2
2020-07-17T11:46:03.000Z
2021-05-09T17:12:14.000Z
generative_structures/explainer/tests.py
RaymondDashWu/generative-structures2
e6e129d52157c9e9ac88f2ebff21f423971aa6fb
[ "MIT" ]
null
null
null
from django.test import TestCase, Client from django.urls import reverse from django.contrib.staticfiles import finders class TestPages(TestCase): def test_get_homepage(self): c = Client() response = c.get('/') self.assertEqual(response.status_code, 200) def test_find_static_file(s...
40.071429
81
0.698752
70
561
5.514286
0.528571
0.103627
0.194301
0.225389
0.292746
0.202073
0
0
0
0
0
0.006424
0.167558
561
14
82
40.071429
0.820128
0
0
0
0
0
0.144128
0.106762
0
0
0
0
0.333333
1
0.166667
false
0
0.25
0
0.5
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
74e5231162ad5953e341c624c2560e80a4182ebf
319
py
Python
dfirtrack_artifacts/admin.py
cclauss/dfirtrack
2a307c5fe82e927b3c229a20a02bc0c7a5d66d9a
[ "Apache-2.0" ]
273
2018-04-18T22:09:15.000Z
2021-06-04T09:15:48.000Z
dfirtrack_artifacts/admin.py
cclauss/dfirtrack
2a307c5fe82e927b3c229a20a02bc0c7a5d66d9a
[ "Apache-2.0" ]
75
2018-08-31T11:05:37.000Z
2021-06-08T14:15:07.000Z
dfirtrack_artifacts/admin.py
thomas-kropeit/dfirtrack
b1e0e659af7bc8085cfe2d269ddc651f9f4ba585
[ "Apache-2.0" ]
61
2018-11-12T22:55:48.000Z
2021-06-06T15:16:16.000Z
from django.contrib import admin from dfirtrack_artifacts.models import ( Artifact, Artifactpriority, Artifactstatus, Artifacttype, ) # Register your models here. admin.site.register(Artifact) admin.site.register(Artifactpriority) admin.site.register(Artifactstatus) admin.site.register(Artifacttype)
21.266667
40
0.793103
34
319
7.411765
0.470588
0.142857
0.269841
0
0
0
0
0
0
0
0
0
0.125392
319
14
41
22.785714
0.903226
0.081505
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.181818
0
0.181818
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
1
0
0
0
0
0
0
2