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
7ca4f5192c61086f4f74975da17d1bf4fd80a81d
184
py
Python
prgm6.py
pooja-bs-3003/Project_21
dc46e66ccf10937be6f2f8369ef02eb52e139eff
[ "MIT" ]
null
null
null
prgm6.py
pooja-bs-3003/Project_21
dc46e66ccf10937be6f2f8369ef02eb52e139eff
[ "MIT" ]
null
null
null
prgm6.py
pooja-bs-3003/Project_21
dc46e66ccf10937be6f2f8369ef02eb52e139eff
[ "MIT" ]
1
2021-01-22T15:15:02.000Z
2021-01-22T15:15:02.000Z
str1= input("enter a string :") l1 ="" for i in str1 [::-1]: l1 = i+l1 print(l1) if str1 == l1: print("string is a palindrome") else : print("string is not a palindrome")
18.4
40
0.592391
31
184
3.516129
0.516129
0.12844
0.238532
0
0
0
0
0
0
0
0
0.064286
0.23913
184
9
41
20.444444
0.714286
0
0
0
0
0
0.347826
0
0
0
0
0
0
1
0
false
0
0
0
0
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
7ca53e88f3dd2e94b942b008b7daf5b989a2b7df
3,493
py
Python
product_spider/spiders/jk_spider.py
Pandaaaa906/product_spider
cc7f865f53fd3ed68f4869be3ba917c8373dfcf2
[ "MIT" ]
null
null
null
product_spider/spiders/jk_spider.py
Pandaaaa906/product_spider
cc7f865f53fd3ed68f4869be3ba917c8373dfcf2
[ "MIT" ]
null
null
null
product_spider/spiders/jk_spider.py
Pandaaaa906/product_spider
cc7f865f53fd3ed68f4869be3ba917c8373dfcf2
[ "MIT" ]
null
null
null
import json import re from string import ascii_uppercase from time import time from urllib.parse import urljoin import scrapy from more_itertools import first from scrapy import Request from product_spider.items import JkProduct, JKPackage from product_spider.utils.functions import strip class JkPrdSpider(scrapy.Sp...
45.960526
142
0.566562
441
3,493
4.328798
0.310658
0.015715
0.026192
0.03143
0.147721
0.080671
0.030382
0.030382
0
0
0
0.004958
0.249356
3,493
75
143
46.573333
0.723112
0
0
0
0
0.015152
0.23361
0.073862
0
0
0
0
0
1
0.045455
false
0
0.151515
0
0.287879
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7ca69cf8d56aa0d6b0aa339f56249d7cdfe3ab0c
15,717
py
Python
env/LaneChangeEnv_v2.py
byq-luo/Lane_change_RL
3409238db939e6722441219b4c2dc66033611069
[ "MIT" ]
4
2021-03-11T03:05:31.000Z
2022-03-22T08:45:20.000Z
env/LaneChangeEnv_v2.py
byq-luo/Lane_change_RL
3409238db939e6722441219b4c2dc66033611069
[ "MIT" ]
null
null
null
env/LaneChangeEnv_v2.py
byq-luo/Lane_change_RL
3409238db939e6722441219b4c2dc66033611069
[ "MIT" ]
5
2021-06-18T11:32:34.000Z
2021-12-31T08:10:51.000Z
import os import sys import random import datetime import gym from gym import spaces import numpy as np from env.IDM import IDM from env.Road import Road from env.Vehicle import Vehicle import math # add sumo/tools into python environment if 'SUMO_HOME' in os.environ: tools = os.path.join(os.environ['SUMO_HOME'], ...
40.507732
131
0.56283
1,965
15,717
4.38117
0.17659
0.062609
0.029388
0.026135
0.324196
0.261819
0.220815
0.176559
0.140434
0.128238
0
0.023418
0.326207
15,717
387
132
40.612403
0.789518
0.306674
0
0.153846
0
0
0.049113
0.016498
0
0
0
0.005168
0.027149
1
0.054299
false
0
0.054299
0.004525
0.140271
0.004525
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7ca6e02f50310d3c489fa5cfd14dac9866b27eaa
5,466
py
Python
cidr/o365/o365.py
jblukach/distillery
4087debb496d7dfc4c425c2e68246e1b0726168b
[ "Apache-2.0" ]
1
2021-11-10T12:56:09.000Z
2021-11-10T12:56:09.000Z
cidr/o365/o365.py
jblukach/distillery
4087debb496d7dfc4c425c2e68246e1b0726168b
[ "Apache-2.0" ]
null
null
null
cidr/o365/o365.py
jblukach/distillery
4087debb496d7dfc4c425c2e68246e1b0726168b
[ "Apache-2.0" ]
1
2021-11-05T03:16:32.000Z
2021-11-05T03:16:32.000Z
import boto3 import ipaddress import json import logging import os import requests import uuid logger = logging.getLogger() logger.setLevel(logging.INFO) dynamodb = boto3.resource('dynamodb') table = dynamodb.Table(os.environ['DYNAMODB_TABLE']) client = boto3.client('ssm') def downloader(instance, latest, param...
47.12069
115
0.51921
486
5,466
5.794239
0.228395
0.035156
0.042614
0.049006
0.527699
0.470881
0.470881
0.401634
0.323509
0.323509
0
0.016733
0.354921
5,466
115
116
47.530435
0.781906
0
0
0.135922
0
0
0.212221
0
0
0
0
0
0
1
0.019417
false
0.009709
0.067961
0
0.097087
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7ca783f400a2f552b7d64e3767e01fb3717ef036
582
py
Python
exampleinc.py
zulip/finbot
dcb6bfe54a674f4ff98370677a648b6cc1706e16
[ "Apache-2.0" ]
7
2017-02-19T16:35:24.000Z
2022-03-09T20:05:49.000Z
exampleinc.py
zulip/finbot
dcb6bfe54a674f4ff98370677a648b6cc1706e16
[ "Apache-2.0" ]
null
null
null
exampleinc.py
zulip/finbot
dcb6bfe54a674f4ff98370677a648b6cc1706e16
[ "Apache-2.0" ]
3
2020-02-13T18:06:46.000Z
2021-06-10T19:56:30.000Z
#!/usr/bin/python from money import * c = Company("Example Inc") c.add_flow(FixedCost("Initial Cash", -500000)) c.add_flow(FixedCost("Incorporation", 500)) c.add_flow(ConstantCost("Office", 50000)) c.add_flow(PeriodicCost("Subscription", 4000, "2012-01-05", 14)) c.add_flow(DelayedCost("2012-02-01", ConstantCost("Offic...
36.375
68
0.730241
89
582
4.662921
0.449438
0.077108
0.154217
0.093976
0.260241
0.260241
0.13012
0
0
0
0
0.172477
0.063574
582
15
69
38.8
0.588991
0.027491
0
0
0
0
0.270796
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.083333
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7ca7926bc8bb9c6d96d0fde91ed69d0cb52091a0
847
py
Python
guardian/validators.py
dawid1stanek/guardian
89359c93d5f36c8b458428e147000352fa7ad01d
[ "Apache-2.0" ]
null
null
null
guardian/validators.py
dawid1stanek/guardian
89359c93d5f36c8b458428e147000352fa7ad01d
[ "Apache-2.0" ]
null
null
null
guardian/validators.py
dawid1stanek/guardian
89359c93d5f36c8b458428e147000352fa7ad01d
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import os import socket import subprocess import argparse import logging LOGGER = logging.getLogger(__name__) class ValidatorError(Exception): pass def ping(address): try: subprocess.check_call(('ping', '-c 1', '-W 1', address), stdout=subprocess.PIPE, stderr=subprocess.PIPE)...
24.2
112
0.663518
109
847
5.091743
0.412844
0.079279
0.03964
0.05045
0
0
0
0
0
0
0
0.00299
0.210153
847
34
113
24.911765
0.826607
0.023613
0
0.16
0
0
0.138015
0
0
0
0
0
0
1
0.08
false
0.04
0.2
0
0.32
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7ca89ca7169c0f1670fef9182b15d74e96bdbeae
131
py
Python
tests/data/udf_noop.py
Open-EO/openeo-geopyspark-driver
afd5902f426d2aa456d70ed6f2d51b6907de1cab
[ "Apache-2.0" ]
12
2018-03-22T15:02:24.000Z
2022-03-30T20:13:29.000Z
tests/data/udf_noop.py
Open-EO/openeo-geopyspark-driver
afd5902f426d2aa456d70ed6f2d51b6907de1cab
[ "Apache-2.0" ]
116
2018-09-27T17:17:14.000Z
2022-03-30T18:32:29.000Z
tests/data/udf_noop.py
Open-EO/openeo-geopyspark-driver
afd5902f426d2aa456d70ed6f2d51b6907de1cab
[ "Apache-2.0" ]
3
2019-06-28T15:44:32.000Z
2021-10-30T07:05:54.000Z
from openeo.udf import XarrayDataCube def apply_datacube(cube: XarrayDataCube, context: dict) -> XarrayDataCube: return cube
21.833333
74
0.78626
15
131
6.8
0.8
0
0
0
0
0
0
0
0
0
0
0
0.145038
131
5
75
26.2
0.910714
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
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
1
0
0
1
1
1
0
0
6
7caa2f54344b5d827f792813f87cde352f46a120
827
py
Python
StateGoHome.py
LHGames-2017/superintelligence
bd9ea3d444e571a0f9607bf0f6799807f7e644ca
[ "MIT" ]
null
null
null
StateGoHome.py
LHGames-2017/superintelligence
bd9ea3d444e571a0f9607bf0f6799807f7e644ca
[ "MIT" ]
null
null
null
StateGoHome.py
LHGames-2017/superintelligence
bd9ea3d444e571a0f9607bf0f6799807f7e644ca
[ "MIT" ]
null
null
null
from PlayerState import * from pathFinder import PathFinder from StateLook4Resources import * class StateGoHome(PlayerState): """ State Implementation: has a resource and go back home """ def __init__(self, player): self.player = player self.player.setTarget(self.player.playerData.HouseLocati...
31.807692
71
0.689238
93
827
6.043011
0.505376
0.177936
0.05694
0
0
0
0
0
0
0
0
0.007813
0.226119
827
25
72
33.08
0.870313
0.141475
0
0
0
0
0.015647
0
0
0
0
0
0
1
0.176471
false
0
0.176471
0.058824
0.588235
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
7caad7d95f67042bb7aad81b10bf684a91160170
9,603
py
Python
hoomd/mpcd/test-py/stream_slit_test.py
schwendp/hoomd-blue
df7970121b19bc4f8674348ab3241055ac87153b
[ "BSD-3-Clause" ]
2
2020-03-30T14:38:50.000Z
2020-06-02T05:53:41.000Z
hoomd/mpcd/test-py/stream_slit_test.py
schwendp/hoomd-blue
df7970121b19bc4f8674348ab3241055ac87153b
[ "BSD-3-Clause" ]
null
null
null
hoomd/mpcd/test-py/stream_slit_test.py
schwendp/hoomd-blue
df7970121b19bc4f8674348ab3241055ac87153b
[ "BSD-3-Clause" ]
1
2020-05-20T07:00:08.000Z
2020-05-20T07:00:08.000Z
# Copyright (c) 2009-2019 The Regents of the University of Michigan # This file is part of the HOOMD-blue project, released under the BSD 3-Clause License. # Maintainer: mphoward import unittest import numpy as np import hoomd from hoomd import md from hoomd import mpcd # unit tests for mpcd slit streaming geometry ...
43.06278
101
0.64157
1,390
9,603
4.308633
0.171942
0.013024
0.070129
0.093505
0.636834
0.595258
0.562531
0.51845
0.496577
0.470863
0
0.040615
0.228262
9,603
222
102
43.256757
0.767508
0.212954
0
0.492857
0
0
0.010246
0
0
0
0
0
0.378571
1
0.078571
false
0
0.035714
0
0.121429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7caae2b0b77242e98f5f62bea314586497fa86a7
7,261
py
Python
tests/functional/model_models.py
haoyuchen1992/CourseBuilder
ba8f0e05c53cc74bb4e46235a7855fdfbd63dff7
[ "Apache-2.0" ]
1
2015-04-15T08:38:08.000Z
2015-04-15T08:38:08.000Z
tests/functional/model_models.py
haoyuchen1992/CourseBuilder
ba8f0e05c53cc74bb4e46235a7855fdfbd63dff7
[ "Apache-2.0" ]
1
2021-06-08T09:49:12.000Z
2021-06-08T09:49:12.000Z
tests/functional/model_models.py
haoyuchen1992/CourseBuilder
ba8f0e05c53cc74bb4e46235a7855fdfbd63dff7
[ "Apache-2.0" ]
3
2015-10-25T12:39:07.000Z
2021-06-08T09:47:34.000Z
# Copyright 2013 Google 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 required by applicable law or ...
39.677596
80
0.700454
868
7,261
5.543779
0.233871
0.067539
0.044888
0.030549
0.487531
0.348919
0.264963
0.198047
0.152535
0.044057
0
0.003653
0.208374
7,261
182
81
39.895604
0.833507
0.137033
0
0.195122
0
0
0.057766
0.00337
0
0
0
0
0.154472
1
0.089431
false
0
0.02439
0
0.162602
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7cab92b7f1c079530e07c1c01ef7a728efea9d02
43,187
py
Python
torchaudio/functional/functional.py
iseessel/audio
64551a69186d28db1f499ba373f1b19c6a7ed894
[ "BSD-2-Clause" ]
null
null
null
torchaudio/functional/functional.py
iseessel/audio
64551a69186d28db1f499ba373f1b19c6a7ed894
[ "BSD-2-Clause" ]
null
null
null
torchaudio/functional/functional.py
iseessel/audio
64551a69186d28db1f499ba373f1b19c6a7ed894
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- import io import math import warnings from typing import Optional, Tuple import torch from torch import Tensor from torchaudio._internal import module_utils as _mod_utils import torchaudio __all__ = [ "spectrogram", "griffinlim", "amplitude_to_DB", "DB_to_amplitude", "comp...
35.39918
116
0.611666
5,766
43,187
4.436698
0.135796
0.009851
0.00516
0.003714
0.283011
0.230357
0.202799
0.182785
0.167071
0.137049
0
0.021524
0.277074
43,187
1,219
117
35.42822
0.797828
0.445227
0
0.240066
0
0
0.044092
0.000983
0
0
0
0.00082
0.008278
1
0.043046
false
0.009934
0.013245
0
0.10596
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7cabc4e8d6c4275c91322768679e9a68335e86e0
12,964
py
Python
src/status_node.py
Faust-Wang/vswarm
d18ce643218c18ef1e762f40562104b2a0926ad7
[ "MIT" ]
21
2021-03-03T10:51:46.000Z
2022-03-28T11:00:35.000Z
src/status_node.py
Faust-Wang/vswarm
d18ce643218c18ef1e762f40562104b2a0926ad7
[ "MIT" ]
2
2021-07-21T07:57:16.000Z
2022-03-17T12:41:51.000Z
src/status_node.py
hvourtsis/vswarm
d18ce643218c18ef1e762f40562104b2a0926ad7
[ "MIT" ]
8
2021-02-27T14:29:55.000Z
2022-01-05T19:40:38.000Z
#!/usr/bin/env python3 from __future__ import absolute_import, division, print_function import curses import sys from collections import deque from datetime import datetime import numpy as np import rospy from diagnostic_msgs.msg import DiagnosticArray, DiagnosticStatus from geometry_msgs.msg import PoseStamped from ...
35.132791
100
0.57166
1,513
12,964
4.727032
0.181097
0.053831
0.041946
0.044743
0.274888
0.184004
0.121644
0.121644
0.115213
0.115213
0
0.011793
0.319732
12,964
368
101
35.228261
0.799184
0.049136
0
0.215328
0
0.010949
0.066981
0.010324
0
0
0
0
0
1
0.062044
false
0.00365
0.043796
0.00365
0.120438
0.010949
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7cabe7391066e68e59a6eee1bcca21b689be0897
5,010
py
Python
bin/boxplot_param.py
mo-schmid/MIALab
8a7e183df7007993e8a28513a73dca20bfd60737
[ "Apache-2.0" ]
null
null
null
bin/boxplot_param.py
mo-schmid/MIALab
8a7e183df7007993e8a28513a73dca20bfd60737
[ "Apache-2.0" ]
null
null
null
bin/boxplot_param.py
mo-schmid/MIALab
8a7e183df7007993e8a28513a73dca20bfd60737
[ "Apache-2.0" ]
null
null
null
import argparse import os import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt import pandas as pd from pathlib import Path class ResultParam(): """Result Parameter""" def __init__(self, path: Path, param_str: str): """Initializes a new instance of the Result Parameter Arg...
35.531915
135
0.641916
716
5,010
4.363128
0.357542
0.020166
0.025928
0.017926
0.115557
0.077465
0.045455
0.045455
0.045455
0.045455
0
0.019521
0.233134
5,010
140
136
35.785714
0.793597
0.269261
0
0
0
0.025
0.143177
0.04726
0
0
0
0.007143
0
1
0.075
false
0
0.075
0.0125
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7cae45b970c1385083dad6bbec98b3cd495bf626
3,948
py
Python
EMeRGE/dssmetrics/constants.py
NREL/EMeRGE
573e86ca8e62080c664998e8cc79e9231e7ad502
[ "BSD-3-Clause" ]
6
2020-04-11T18:09:00.000Z
2022-01-23T20:38:38.000Z
EMeRGE/dssmetrics/constants.py
NREL/EMeRGE
573e86ca8e62080c664998e8cc79e9231e7ad502
[ "BSD-3-Clause" ]
null
null
null
EMeRGE/dssmetrics/constants.py
NREL/EMeRGE
573e86ca8e62080c664998e8cc79e9231e7ad502
[ "BSD-3-Clause" ]
3
2020-06-11T02:48:49.000Z
2021-08-10T07:13:57.000Z
""" Default values : DO NOT CHANGE !!!""" LOG_FORMAT = "%(asctime)s: %(levelname)s: %(message)s" DATE_FORMAT = "%Y-%m-%d %H:%M:%S" MAXITERATIONS = 100 LIFE_PARAMETERS = {"theta_i":30,"theta_fl":36,"theta_gfl":28.6, "R":4.87,"n":1,"tau":3.5,"m":1,"A":-13.391, "B":6972.15,"num_...
35.567568
108
0.472898
428
3,948
4.11215
0.301402
0.051705
0.010227
0.013636
0.357386
0.323864
0.323864
0.293182
0.293182
0.293182
0
0.061899
0.341185
3,948
110
109
35.890909
0.614764
0.008612
0
0.316832
0
0
0.382684
0.021773
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7cae7acd2ab857e48bf48cfdcc2ed083e6292337
12,669
py
Python
minesweeper/game.py
MathisFederico/Minesweeper
b66b41066e325813b24497d2caca0a11c048e18b
[ "MIT" ]
1
2020-12-23T11:52:40.000Z
2020-12-23T11:52:40.000Z
minesweeper/game.py
MathisFederico/Minesweeper
b66b41066e325813b24497d2caca0a11c048e18b
[ "MIT" ]
null
null
null
minesweeper/game.py
MathisFederico/Minesweeper
b66b41066e325813b24497d2caca0a11c048e18b
[ "MIT" ]
null
null
null
try: import importlib.resources as pkg_resources except ImportError: # Try backported to PY<37 `importlib_resources`. import importlib_resources as pkg_resources from . import images from gym import Env, spaces from time import time import numpy as np from copy import copy import colorsys import pygame f...
41.950331
136
0.582209
1,707
12,669
4.111306
0.134153
0.017811
0.022229
0.009119
0.352237
0.241949
0.186378
0.139926
0.129097
0.08293
0
0.031896
0.297182
12,669
301
137
42.089701
0.756289
0.031021
0
0.147186
0
0
0.024577
0
0
0
0
0
0
1
0.047619
false
0.017316
0.047619
0.004329
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7caf56de8045038d74971a889dbed39c31d7bb50
1,306
py
Python
tests/python/gaia-ui-tests/gaiatest/tests/functional/lockscreen/test_lockscreen_unlock_to_camera_with_passcode.py
BReduardokramer/gaia
c00302cdcd435ab193e8365917cfc6abac9e4f2e
[ "Apache-2.0" ]
1
2021-11-09T00:27:34.000Z
2021-11-09T00:27:34.000Z
tests/python/gaia-ui-tests/gaiatest/tests/functional/lockscreen/test_lockscreen_unlock_to_camera_with_passcode.py
AmyYLee/gaia
a5dbae8235163d7f985bdeb7d649268f02749a8b
[ "Apache-2.0" ]
null
null
null
tests/python/gaia-ui-tests/gaiatest/tests/functional/lockscreen/test_lockscreen_unlock_to_camera_with_passcode.py
AmyYLee/gaia
a5dbae8235163d7f985bdeb7d649268f02749a8b
[ "Apache-2.0" ]
null
null
null
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. from gaiatest import GaiaTestCase from gaiatest.apps.lockscreen.app import LockScreen class TestCameraUnlockWithPassco...
31.095238
90
0.717458
173
1,306
5.202312
0.520231
0.026667
0.046667
0.035556
0.195556
0.195556
0.195556
0.1
0
0
0
0.010427
0.19219
1,306
41
91
31.853659
0.842654
0.238897
0
0.105263
0
0
0.087221
0.061866
0
0
0
0
0.105263
1
0.105263
false
0.263158
0.105263
0
0.315789
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
7caf8da8a5f682874ecef410bafcd6662e5de11b
3,440
py
Python
models/layers/mesh_conv.py
CallumMcMahon/MeshCNN
343950a8d69807ed4afa13f1843edb37c4cd042c
[ "MIT" ]
2
2022-01-05T09:21:17.000Z
2022-03-24T15:20:14.000Z
models/layers/mesh_conv.py
CallumMcMahon/MeshCNN
343950a8d69807ed4afa13f1843edb37c4cd042c
[ "MIT" ]
null
null
null
models/layers/mesh_conv.py
CallumMcMahon/MeshCNN
343950a8d69807ed4afa13f1843edb37c4cd042c
[ "MIT" ]
1
2022-03-24T15:20:20.000Z
2022-03-24T15:20:20.000Z
import torch import torch.nn as nn import torch.nn.functional as F class MeshConv(nn.Module): """ Computes convolution between edges and 4 incident (1-ring) edge neighbors in the forward pass takes: x: edge features (Batch x Features x Edges) mesh: list of mesh data-structure (len(mesh) == Batch) a...
41.445783
123
0.585756
528
3,440
3.698864
0.289773
0.051203
0.029186
0.021505
0.00512
0
0
0
0
0
0
0.026677
0.280814
3,440
83
124
41.445783
0.762732
0.289244
0
0
0
0
0.003433
0
0
0
0
0
0
1
0.102041
false
0
0.061224
0
0.265306
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7cafa8674f41ef3d6dc02a39822b470f9b548e16
334
py
Python
code/0-input/create_hdf5/check_hdf5.py
AvinWangZH/3D-convolutional-speaker-recognition
61969eb2dba6004bdecb4f7100047015ca665348
[ "Apache-2.0" ]
1
2021-04-04T17:08:05.000Z
2021-04-04T17:08:05.000Z
code/0-input/create_hdf5/check_hdf5.py
subvin/3D-convolutional-speaker-recognition
61969eb2dba6004bdecb4f7100047015ca665348
[ "Apache-2.0" ]
null
null
null
code/0-input/create_hdf5/check_hdf5.py
subvin/3D-convolutional-speaker-recognition
61969eb2dba6004bdecb4f7100047015ca665348
[ "Apache-2.0" ]
null
null
null
import tables import numpy as np import matplotlib.pyplot as plt # Reading the file. fileh = tables.open_file('development.hdf5', mode='r') # Dimentionality of the data structure. print(fileh.root.utterance_test.shape) print(fileh.root.utterance_train.shape) print(fileh.root.label_train.shape) print(fileh.root.label_...
22.266667
54
0.796407
51
334
5.117647
0.54902
0.153257
0.214559
0.218391
0.222222
0.222222
0
0
0
0
0
0.003311
0.095808
334
14
55
23.857143
0.860927
0.164671
0
0
0
0
0.062044
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0.5
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
1
0
0
1
0
4
7cb23f9d984ca01ba8f682afe13184f98d4f5e92
389
py
Python
qtask/utils/testing.py
LinkTsang/qtask-legacy-python
9b264b8e33313e4d3615472d59a2a39948eeeaa1
[ "MIT" ]
null
null
null
qtask/utils/testing.py
LinkTsang/qtask-legacy-python
9b264b8e33313e4d3615472d59a2a39948eeeaa1
[ "MIT" ]
null
null
null
qtask/utils/testing.py
LinkTsang/qtask-legacy-python
9b264b8e33313e4d3615472d59a2a39948eeeaa1
[ "MIT" ]
null
null
null
import asyncio import traceback import unittest def async_test(f): def wrapper(test_case: unittest.TestCase, *args, **kwargs): loop = asyncio.get_event_loop() task = loop.create_task(f(test_case, *args, **kwargs)) try: loop.run_until_complete(task) except Exception: ...
22.882353
63
0.62982
46
389
5.130435
0.608696
0.067797
0
0
0
0
0
0
0
0
0
0
0.277635
389
16
64
24.3125
0.839858
0
0
0
0
0
0
0
0
0
0
0
0
1
0.153846
false
0
0.230769
0
0.461538
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7cb2d3d2cb22c43c3c911d744e22c33bc37cdf49
1,661
py
Python
landing/views.py
theflatladder/kyrsovaya
d6d661854cd955e544a199e201f325decc360cc1
[ "MIT" ]
null
null
null
landing/views.py
theflatladder/kyrsovaya
d6d661854cd955e544a199e201f325decc360cc1
[ "MIT" ]
null
null
null
landing/views.py
theflatladder/kyrsovaya
d6d661854cd955e544a199e201f325decc360cc1
[ "MIT" ]
null
null
null
from django.shortcuts import render, render_to_response, redirect from django.contrib import auth from django.contrib.auth.forms import UserCreationForm from django.template.context_processors import csrf from django.http import HttpResponseRedirect def login(request): args = {} args.update(csrf(request)) ...
31.339623
140
0.668874
186
1,661
5.876344
0.327957
0.060384
0.043916
0.040256
0.064044
0.064044
0.064044
0
0
0
0
0.000777
0.225166
1,661
52
141
31.942308
0.848485
0
0
0.25
0
0
0.123494
0
0
0
0
0
0
1
0.1
false
0.075
0.125
0.025
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
7cb376c84e1d9faf8d7802d4ab0284c278818e8c
441
py
Python
FPRun11.py
yecfly/DEPRESSIONEST
21b72906aac9f310e264f7a5eea348480a647197
[ "Unlicense" ]
null
null
null
FPRun11.py
yecfly/DEPRESSIONEST
21b72906aac9f310e264f7a5eea348480a647197
[ "Unlicense" ]
null
null
null
FPRun11.py
yecfly/DEPRESSIONEST
21b72906aac9f310e264f7a5eea348480a647197
[ "Unlicense" ]
null
null
null
from Facepatchindependenttrain import runPatch import sys if len(sys.argv)==6: runPatch(GPU_Device_ID=1, FacePatchID=int(sys.argv[1]), trainpklID=int(sys.argv[2]), testpklID=int(sys.argv[3]), NetworkType=int(sys.argv[4]), runs=int(sys.argv[5])) ...
40.090909
113
0.621315
54
441
5.037037
0.574074
0.154412
0.183824
0
0
0
0
0
0
0
0
0.020833
0.238095
441
10
114
44.1
0.78869
0
0
0
0
0.111111
0.229698
0
0
0
0
0
0
1
0
true
0
0.222222
0
0.222222
0.111111
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
7cb439e7ed9a5e950d6cf894c40e5a62043d06e9
5,183
py
Python
vendor/packages/translate-toolkit/translate/convert/test_po2tmx.py
jgmize/kitsune
8f23727a9c7fcdd05afc86886f0134fb08d9a2f0
[ "BSD-3-Clause" ]
2
2019-08-19T17:08:47.000Z
2019-10-05T11:37:02.000Z
vendor/packages/translate-toolkit/translate/convert/test_po2tmx.py
jgmize/kitsune
8f23727a9c7fcdd05afc86886f0134fb08d9a2f0
[ "BSD-3-Clause" ]
null
null
null
vendor/packages/translate-toolkit/translate/convert/test_po2tmx.py
jgmize/kitsune
8f23727a9c7fcdd05afc86886f0134fb08d9a2f0
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from translate.convert import po2tmx from translate.convert import test_convert from translate.misc import wStringIO from translate.storage import tmx from translate.storage import lisa class TestPO2TMX: def po2tmx(self, posource, sourcelanguage='en', targetlanguage=...
33.43871
128
0.641134
636
5,183
5.198113
0.349057
0.019964
0.03539
0.051724
0.22686
0.185723
0.176951
0.176951
0.156987
0.156987
0
0.015672
0.224387
5,183
154
129
33.655844
0.806716
0.017557
0
0.289256
0
0.016529
0.349851
0.045087
0
0
0
0
0.157025
0
null
null
0.016529
0.041322
null
null
0.140496
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
7cb54fa0b7a5c349c3088529c91a97ac9de21c8e
2,684
py
Python
plugin.video.yatp/libs/client/commands.py
mesabib/kodi.yatp
d874df43047b5b58f84cb3760fc891d9a133a69f
[ "CNRI-Python" ]
54
2015-08-01T20:31:36.000Z
2022-02-06T11:06:01.000Z
plugin.video.yatp/libs/client/commands.py
mesabib/kodi.yatp
d874df43047b5b58f84cb3760fc891d9a133a69f
[ "CNRI-Python" ]
57
2015-08-31T09:54:49.000Z
2018-08-30T20:39:12.000Z
plugin.video.yatp/libs/client/commands.py
mesabib/kodi.yatp
d874df43047b5b58f84cb3760fc891d9a133a69f
[ "CNRI-Python" ]
16
2016-01-17T11:44:41.000Z
2021-12-12T00:41:29.000Z
# coding: utf-8 # Module: commands # Created on: 28.07.2015 # Author: Roman Miroshnychenko aka Roman V.M. (romanvm@yandex.ua) # Licence: GPL v.3: http://www.gnu.org/copyleft/gpl.html """ Context menu commands """ import sys import xbmc import xbmcgui import json_requests as jsonrq from simpleplugin import Addon addon...
35.786667
89
0.554396
319
2,684
4.454545
0.39185
0.073892
0.050669
0.059113
0.281492
0.235046
0.197044
0.18297
0.0943
0.0943
0
0.020607
0.312966
2,684
74
90
36.27027
0.75
0.09389
0
0.111111
0
0.018519
0.219024
0
0
0
0
0
0
1
0.018519
false
0
0.092593
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7cb5817de3a17f08a3afdfbe15a3bbd0fbe2d1d8
346
py
Python
setup.py
GeorgeDittmar/MarkovTextGenerator
df6a56e23051e1f263ba22889dc3b5d0dc03e370
[ "Apache-2.0" ]
1
2021-11-26T15:49:31.000Z
2021-11-26T15:49:31.000Z
setup.py
GeorgeDittmar/Mimic
df6a56e23051e1f263ba22889dc3b5d0dc03e370
[ "Apache-2.0" ]
1
2019-06-24T17:30:41.000Z
2019-06-26T04:53:00.000Z
setup.py
GeorgeDittmar/MarkovTextGenerator
df6a56e23051e1f263ba22889dc3b5d0dc03e370
[ "Apache-2.0" ]
2
2020-05-04T07:57:17.000Z
2021-02-23T05:10:11.000Z
#!/usr/bin/env python from distutils.core import setup setup(name='Mimik', version='1.0', description='Python framework for markov models', author='George Dittmar', author_email='georgedittmar@gmail.com', url='https://www.python.org/sigs/distutils-sig/', packages=['distutils', 'dis...
26.615385
55
0.65896
41
346
5.536585
0.829268
0
0
0
0
0
0
0
0
0
0
0.007092
0.184971
346
12
56
28.833333
0.797872
0.057803
0
0
0
0
0.452308
0.070769
0
0
0
0
0
1
0
true
0
0.111111
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
7cb5d1b6022bb826ecb887e64d632c52c31ffdb9
5,563
py
Python
pipeline/scripts/package.py
deplatformr/open-images
3726c9802bda1d7ecbbbd9920d5566daaecc9faa
[ "MIT" ]
2
2020-10-12T02:37:54.000Z
2020-10-14T15:16:49.000Z
pipeline/scripts/package.py
deplatformr/open-images
3726c9802bda1d7ecbbbd9920d5566daaecc9faa
[ "MIT" ]
null
null
null
pipeline/scripts/package.py
deplatformr/open-images
3726c9802bda1d7ecbbbd9920d5566daaecc9faa
[ "MIT" ]
null
null
null
import os import shutil import sqlite3 import tarfile from datetime import datetime import bagit def create_package(images, batch_dir): package_threshold = 838860800 # 800 Mib to the next power of 2 = 1GiB print("Package threshold: " + get_human_readable_file_size(package_threshold)) abs_path = os.getc...
47.144068
735
0.585655
646
5,563
4.905573
0.309598
0.025245
0.025245
0.025245
0.156832
0.120858
0.068476
0.023982
0.023982
0
0
0.013881
0.326622
5,563
117
736
47.547009
0.832088
0.088082
0
0.208333
0
0.010417
0.266298
0.02983
0
0
0
0
0
1
0.020833
false
0
0.0625
0
0.09375
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7cb6009fc34f03127073ead641d466f1b2a5c978
2,313
py
Python
app/search/hot_eval/hl_reportable.py
don4apaev/anfisa
2e4bdd83c584c0000f037413ccc1f9067c07fa70
[ "Apache-2.0" ]
null
null
null
app/search/hot_eval/hl_reportable.py
don4apaev/anfisa
2e4bdd83c584c0000f037413ccc1f9067c07fa70
[ "Apache-2.0" ]
null
null
null
app/search/hot_eval/hl_reportable.py
don4apaev/anfisa
2e4bdd83c584c0000f037413ccc1f9067c07fa70
[ "Apache-2.0" ]
null
null
null
def evalRec(env, rec): """hl_reportable""" return (len(set(rec.Genes) & { 'ABHD12', 'ACTG1', 'ADGRV1', 'AIFM1', 'ATP6V1B1', 'BCS1L', 'BSND', 'CABP2', 'CACNA1D', 'CDC14A', '...
21.027273
32
0.253783
118
2,313
4.966102
0.983051
0
0
0
0
0
0
0
0
0
0
0.118221
0.601383
2,313
110
33
21.027273
0.517354
0.00562
0
0
0
0
0.234858
0
0
0
0
0
0
1
0.009174
false
0
0
0
0.018349
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7cb6f4beed1a08b09244a31819b47421774b7914
6,486
py
Python
eval/util/metrics.py
fau-is/grm
78b1559ea0dda1b817283adecd58da50ca232223
[ "MIT" ]
5
2020-09-15T18:57:01.000Z
2021-12-13T14:14:08.000Z
eval/util/metrics.py
fau-is/grm
78b1559ea0dda1b817283adecd58da50ca232223
[ "MIT" ]
null
null
null
eval/util/metrics.py
fau-is/grm
78b1559ea0dda1b817283adecd58da50ca232223
[ "MIT" ]
1
2020-09-10T17:45:22.000Z
2020-09-10T17:45:22.000Z
import sklearn import pandas import seaborn as sns import matplotlib.pyplot as pyplot from functools import reduce # import numpy as np def metrics_from_prediction_and_label(labels, predictions, verbose=False): measures = { "accuracy": sklearn.metrics.accuracy_score(labels, predictions), "balance...
36.234637
118
0.646007
810
6,486
4.983951
0.224691
0.109487
0.092643
0.061184
0.468665
0.360912
0.298737
0.146148
0.146148
0.092643
0
0.012671
0.233426
6,486
179
119
36.234637
0.799276
0.076781
0
0.180328
0
0
0.095809
0.003886
0
0
0
0
0
1
0.065574
false
0.032787
0.040984
0.008197
0.163934
0.016393
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7cb7c886108da63565062eb8d192b4df3da78f64
3,566
py
Python
dpgs_sandbox/tests/test_bug_migrations_in_base_models.py
gabrielpiassetta/django-pgschemas
1e76db4cef31c7534bf4ba109961e835a1dd3c96
[ "MIT" ]
null
null
null
dpgs_sandbox/tests/test_bug_migrations_in_base_models.py
gabrielpiassetta/django-pgschemas
1e76db4cef31c7534bf4ba109961e835a1dd3c96
[ "MIT" ]
null
null
null
dpgs_sandbox/tests/test_bug_migrations_in_base_models.py
gabrielpiassetta/django-pgschemas
1e76db4cef31c7534bf4ba109961e835a1dd3c96
[ "MIT" ]
null
null
null
import warnings from unittest.mock import patch from django.apps import apps from django.core import management from django.core.management.base import CommandError from django.db import models from django.db.utils import ProgrammingError from django.test import TransactionTestCase, tag from django_pgschemas.checks i...
37.536842
118
0.714526
419
3,566
5.937947
0.350835
0.036174
0.059084
0.067524
0.29381
0.270498
0.228698
0.20619
0.20619
0.184084
0
0.007768
0.205833
3,566
94
119
37.93617
0.870763
0.180314
0
0.311475
0
0
0.106449
0.018377
0
0
0
0
0.04918
1
0.131148
false
0
0.180328
0
0.42623
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7cb900078da95ed33cbe2fdf9bd9a465b5e9a56e
6,330
py
Python
tfx/components/transform/component.py
pingsutw/tfx
bf0d1d74e3f6ea429989fc7b80b82bea08077857
[ "Apache-2.0" ]
null
null
null
tfx/components/transform/component.py
pingsutw/tfx
bf0d1d74e3f6ea429989fc7b80b82bea08077857
[ "Apache-2.0" ]
null
null
null
tfx/components/transform/component.py
pingsutw/tfx
bf0d1d74e3f6ea429989fc7b80b82bea08077857
[ "Apache-2.0" ]
null
null
null
# Lint as: python2, python3 # Copyright 2019 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless req...
43.356164
105
0.733017
799
6,330
5.670839
0.309136
0.049658
0.017656
0.011918
0.134407
0.075259
0.061576
0.041271
0.041271
0.041271
0
0.001977
0.20079
6,330
145
106
43.655172
0.893655
0.562717
0
0
0
0
0.096056
0
0
0
0
0
0
1
0.017544
false
0
0.245614
0
0.315789
0.017544
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7cb9aea67a579bf1b09555b59098bc7f2315e25f
959
py
Python
objects/GitIndexEntry.py
anderslatif/alg
d5902a05a4cb249e554f65a7e8016d7d050b6da9
[ "MIT" ]
null
null
null
objects/GitIndexEntry.py
anderslatif/alg
d5902a05a4cb249e554f65a7e8016d7d050b6da9
[ "MIT" ]
null
null
null
objects/GitIndexEntry.py
anderslatif/alg
d5902a05a4cb249e554f65a7e8016d7d050b6da9
[ "MIT" ]
null
null
null
# https://github.com/git/git/blob/master/Documentation/technical/index-format.txt class GitIndexEntry(object): # The last time a file's metadata changed. This is a tuple (seconds, nanoseconds) ctime = None # The last time a file's data changed. This is a tuple (seconds, nanoseconds) mtime = None #...
22.302326
85
0.657977
139
959
4.482014
0.532374
0.067416
0.0626
0.038523
0.173355
0.173355
0.11878
0
0
0
0
0.018625
0.272159
959
42
86
22.833333
0.873926
0.573514
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7cba9b9fb8b398f82ae1a8d924fec2ad7e1b9ddf
2,437
py
Python
matdgl/layers/partitionpaddinglayer.py
huzongxiang/CrystalNetwork
a434f76fa4347d42b3c905852ce265cd0bcefca3
[ "BSD-2-Clause" ]
6
2022-03-30T13:47:03.000Z
2022-03-31T09:27:46.000Z
matdgl/layers/partitionpaddinglayer.py
huzongxiang/CrystalNetwork
a434f76fa4347d42b3c905852ce265cd0bcefca3
[ "BSD-2-Clause" ]
null
null
null
matdgl/layers/partitionpaddinglayer.py
huzongxiang/CrystalNetwork
a434f76fa4347d42b3c905852ce265cd0bcefca3
[ "BSD-2-Clause" ]
2
2022-03-30T20:53:11.000Z
2022-03-31T22:20:05.000Z
# -*- coding: utf-8 -*- """ Created on Wed Oct 13 14:47:13 2021 @author: huzongxiang """ import tensorflow as tf from tensorflow.keras import layers class PartitionPadding(layers.Layer): def __init__(self, batch_size, **kwargs): super().__init__(**kwargs) self.batch_size = batch_size def ...
27.077778
81
0.585556
287
2,437
4.74216
0.250871
0.072741
0.076414
0.026451
0.814107
0.77737
0.77737
0.77737
0.77737
0.77737
0
0.017889
0.311859
2,437
90
82
27.077778
0.793679
0.105868
0
0.716981
0
0
0.006928
0
0
0
0
0
0
1
0.113208
false
0
0.037736
0
0.264151
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
7cbab3e957076a86de0198f2fb2ae52e8d52e634
173
py
Python
lino_book/projects/min9/settings/memory.py
khchine5/book
b6272d33d49d12335d25cf0a2660f7996680b1d1
[ "BSD-2-Clause" ]
1
2018-01-12T14:09:58.000Z
2018-01-12T14:09:58.000Z
lino_book/projects/min9/settings/memory.py
khchine5/book
b6272d33d49d12335d25cf0a2660f7996680b1d1
[ "BSD-2-Clause" ]
4
2018-02-06T19:53:10.000Z
2019-08-01T21:47:44.000Z
lino_book/projects/min9/settings/memory.py
khchine5/book
b6272d33d49d12335d25cf0a2660f7996680b1d1
[ "BSD-2-Clause" ]
null
null
null
from .demo import * SITE.verbose_name = SITE.verbose_name + " (:memory:)" # SITE = Site(globals(), title=Site.title+" (:memory:)") DATABASES['default']['NAME'] = ':memory:'
34.6
56
0.653179
21
173
5.285714
0.52381
0.198198
0.27027
0
0
0
0
0
0
0
0
0
0.109827
173
4
57
43.25
0.720779
0.312139
0
0
0
0
0.25641
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
7cbb1dd15de4d3e88890e2caf26d07b7deb3f4b0
152
py
Python
reservation/urls.py
aryamanak10/diner-restaurant-website
6d2d9de89a73c5535ebf782c4d8bbfc6ca9489fc
[ "MIT" ]
1
2020-05-07T17:18:36.000Z
2020-05-07T17:18:36.000Z
reservation/urls.py
aryamanak10/Restaurant-Site-using-Django
6d2d9de89a73c5535ebf782c4d8bbfc6ca9489fc
[ "MIT" ]
null
null
null
reservation/urls.py
aryamanak10/Restaurant-Site-using-Django
6d2d9de89a73c5535ebf782c4d8bbfc6ca9489fc
[ "MIT" ]
null
null
null
from django.urls import path from . import views app_name = 'reservation' urlpatterns = [ path('', views.reserve_table, name = 'reserve_table'), ]
19
58
0.710526
19
152
5.526316
0.631579
0.228571
0
0
0
0
0
0
0
0
0
0
0.164474
152
8
59
19
0.826772
0
0
0
0
0
0.156863
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
7cbb90e215684507ec88ead7205a67d14728eaf9
809
py
Python
chainer/_version.py
yumetov/chainer
522e017a18008ee00e39f4ae4b30f4f9db3824b2
[ "MIT" ]
3,705
2017-06-01T07:36:12.000Z
2022-03-30T10:46:15.000Z
chainer/_version.py
yumetov/chainer
522e017a18008ee00e39f4ae4b30f4f9db3824b2
[ "MIT" ]
5,998
2017-06-01T06:40:17.000Z
2022-03-08T01:42:44.000Z
chainer/_version.py
yumetov/chainer
522e017a18008ee00e39f4ae4b30f4f9db3824b2
[ "MIT" ]
1,150
2017-06-02T03:39:46.000Z
2022-03-29T02:29:32.000Z
__version__ = '7.8.0' _optional_dependencies = [ { 'name': 'CuPy', 'packages': [ 'cupy-cuda120', 'cupy-cuda114', 'cupy-cuda113', 'cupy-cuda112', 'cupy-cuda111', 'cupy-cuda110', 'cupy-cuda102', 'cupy-cud...
23.114286
63
0.410383
72
809
4.527778
0.541667
0.01227
0.079755
0
0
0
0
0
0
0
0
0.104938
0.399258
809
34
64
23.794118
0.565844
0
0
0.125
0
0
0.431397
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7cbc5cd567a3861d37ece4294dbac699b11bc6a2
10,435
py
Python
image_aug.py
qwerasdf887/image_augmentation
7d465eba4d6af5d9a4cd79bf1981c8ef206ffe42
[ "MIT" ]
null
null
null
image_aug.py
qwerasdf887/image_augmentation
7d465eba4d6af5d9a4cd79bf1981c8ef206ffe42
[ "MIT" ]
null
null
null
image_aug.py
qwerasdf887/image_augmentation
7d465eba4d6af5d9a4cd79bf1981c8ef206ffe42
[ "MIT" ]
null
null
null
# coding=UTF-8 # This Python file uses the following encoding: utf-8 import cv2 import numpy as np import xml.etree.cElementTree as ET from random import sample #default args: default_args = {'noise_prob': 0.1, 'gasuss_mean': 0, 'gasuss_var': 0.001, 'rand_hug': 30, ...
31.430723
117
0.58965
1,603
10,435
3.617592
0.127261
0.078634
0.037248
0.024142
0.494051
0.419383
0.382825
0.2816
0.236075
0.19193
0
0.032525
0.257499
10,435
332
118
31.430723
0.715927
0.174796
0
0.333333
0
0
0.055059
0
0
0
0
0
0
1
0.073529
false
0
0.019608
0
0.215686
0.014706
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7cbd6ca4479663e9722341b796b7cdd0073b6b18
1,507
py
Python
03_picnic/picnic.py
intimanipuchi/tiny_python_projects
5e419620ae07b0bcf8df073ba3f6c6c3d7d1a93c
[ "MIT" ]
null
null
null
03_picnic/picnic.py
intimanipuchi/tiny_python_projects
5e419620ae07b0bcf8df073ba3f6c6c3d7d1a93c
[ "MIT" ]
null
null
null
03_picnic/picnic.py
intimanipuchi/tiny_python_projects
5e419620ae07b0bcf8df073ba3f6c6c3d7d1a93c
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """ Author : Roman Koziy <koziyroman@gmail.com> Date : 2021-12-15 Purpose: Working with lists """ import argparse # -------------------------------------------------- def get_args(): """Get command-line arguments""" parser = argparse.ArgumentParser( description="Working with...
25.116667
63
0.472462
147
1,507
4.714286
0.52381
0.030303
0.038961
0.051948
0.161616
0.083694
0.083694
0
0
0
0
0.014327
0.305242
1,507
59
64
25.542373
0.647564
0.247512
0
0
0
0
0.171917
0
0
0
0
0
0
1
0.058824
false
0
0.029412
0
0.117647
0.088235
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7cbd753ba4fba3e640a8395f823b9af2ba40868f
400
py
Python
triangle.py
montyshyama/python-basics
d71156d70fdadc722a192b984e9bff66401ab894
[ "MIT" ]
null
null
null
triangle.py
montyshyama/python-basics
d71156d70fdadc722a192b984e9bff66401ab894
[ "MIT" ]
null
null
null
triangle.py
montyshyama/python-basics
d71156d70fdadc722a192b984e9bff66401ab894
[ "MIT" ]
1
2020-04-05T20:06:08.000Z
2020-04-05T20:06:08.000Z
side_a=int(input("Enter the first side(a):")) side_b=int(input("Enter the second side(b):")) side_c=int(input("Enter the third side(c):")) if side_a==side_b and side_a==side_c: print("The triangle is an equilateral triangle.") elif side_a==side_b or side_a==side_c or side_b==side_c: print("The triangle is...
44.444444
57
0.7075
73
400
3.69863
0.315068
0.111111
0.166667
0.177778
0.185185
0.185185
0.185185
0
0
0
0
0
0.1475
400
9
58
44.444444
0.791789
0
0
0
0
0
0.468193
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
7cbd766d520e1888b731cf3cea3bb5f44d830c1f
520
py
Python
david/modules/artist/view.py
ktmud/david
4b8d6f804b73cdfa1a8ddf784077fa9a39f1e36f
[ "MIT" ]
2
2016-04-07T08:21:32.000Z
2020-11-26T11:49:20.000Z
david/modules/artist/view.py
ktmud/david
4b8d6f804b73cdfa1a8ddf784077fa9a39f1e36f
[ "MIT" ]
null
null
null
david/modules/artist/view.py
ktmud/david
4b8d6f804b73cdfa1a8ddf784077fa9a39f1e36f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from flask import Blueprint, request from david.lib.template import st from .model import Artist bp = Blueprint('artist', __name__) @bp.app_template_global('artists') def artists(): return Artist.query.all() @bp.route('/artist/<uid>/') def intro(uid): artist = Artist.get_or_404(uid) ...
23.636364
57
0.688462
74
520
4.702703
0.472973
0.04023
0.074713
0.091954
0.270115
0.270115
0.270115
0.270115
0.270115
0.270115
0
0.015556
0.134615
520
21
58
24.761905
0.757778
0.040385
0
0.133333
0
0
0.199195
0.104628
0
0
0
0
0
1
0.2
false
0
0.2
0.066667
0.6
0.133333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
7cbdd46842ad893e844a14b8fc15ffc18db30ecc
2,832
py
Python
Volume Estimation/volume.py
JessieRamaux/Food-Volume-Estimation
260b0e78a3b6a7b8bbe9daf98956502beea92552
[ "MIT" ]
10
2021-02-19T09:31:43.000Z
2022-02-09T08:29:02.000Z
Volume Estimation/volume.py
JessieRamaux/Food-Volume-Estimation
260b0e78a3b6a7b8bbe9daf98956502beea92552
[ "MIT" ]
null
null
null
Volume Estimation/volume.py
JessieRamaux/Food-Volume-Estimation
260b0e78a3b6a7b8bbe9daf98956502beea92552
[ "MIT" ]
3
2021-02-16T00:05:32.000Z
2021-06-11T13:37:10.000Z
import numpy as np import cv2 import os import json import glob from PIL import Image, ImageDraw plate_diameter = 25 #cm plate_depth = 1.5 #cm plate_thickness = 0.2 #cm def Max(x, y): if (x >= y): return x else: return y def polygons_to_mask(img_shape, polygons): mask = np.zeros(img_shape...
28.039604
116
0.604167
433
2,832
3.766744
0.235566
0.062538
0.049663
0.042918
0.158185
0.13366
0.096873
0.096873
0.096873
0.096873
0
0.024507
0.265184
2,832
101
117
28.039604
0.75925
0.018362
0
0.073171
0
0
0.021974
0
0
0
0
0
0
1
0.085366
false
0
0.073171
0
0.256098
0.012195
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7cbe3198f6071ec0d541441f81f18f624a937b6f
5,044
py
Python
t2k/bin/cmttags.py
tianluyuan/pyutils
2cd3a90dbbd3d0eec3054fb9493ca0f6e0272e50
[ "MIT" ]
1
2019-02-22T10:57:13.000Z
2019-02-22T10:57:13.000Z
t2k/bin/cmttags.py
tianluyuan/pyutils
2cd3a90dbbd3d0eec3054fb9493ca0f6e0272e50
[ "MIT" ]
null
null
null
t2k/bin/cmttags.py
tianluyuan/pyutils
2cd3a90dbbd3d0eec3054fb9493ca0f6e0272e50
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ A script to create tags for CMT managed packages. Call from within cmt/ directory """ import subprocess import sys import os from optparse import OptionParser __author__ = 'Tianlu Yuan' __email__ = 'tianlu.yuan [at] colorado.edu' # Ignore large external packages for now IGNORES = ['CMT', ...
28.822857
80
0.585052
639
5,044
4.482003
0.353678
0.039106
0.024441
0.030726
0.076466
0.050628
0.039804
0.039804
0
0
0
0.003606
0.285289
5,044
174
81
28.988506
0.790846
0.126289
0
0.086022
0
0
0.136083
0
0
0
0
0
0
0
null
null
0
0.043011
null
null
0.021505
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
7cbea5a7d278dcb466c16a1d3e035b7e14f3c77c
63,630
py
Python
salt/daemons/masterapi.py
rickh563/salt
02822d6466c47d0daafd6e98b4e767a396b0ed48
[ "Apache-2.0" ]
null
null
null
salt/daemons/masterapi.py
rickh563/salt
02822d6466c47d0daafd6e98b4e767a396b0ed48
[ "Apache-2.0" ]
null
null
null
salt/daemons/masterapi.py
rickh563/salt
02822d6466c47d0daafd6e98b4e767a396b0ed48
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- ''' This module contains all of the routines needed to set up a master server, this involves preparing the three listeners and the workers needed by the master. ''' from __future__ import absolute_import # Import python libs import fnmatch import logging import os import re import time import s...
39.253547
173
0.49604
6,893
63,630
4.476861
0.098796
0.036553
0.027577
0.032373
0.547879
0.500891
0.476717
0.438413
0.407499
0.389643
0
0.002932
0.394232
63,630
1,620
174
39.277778
0.797665
0.055603
0
0.510989
0
0
0.154149
0.010159
0
0
0
0.000617
0
0
null
null
0.002355
0.027473
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
7cbf3fcf677b8e93a5ef2be1bcf1c650636a93f5
2,003
py
Python
core/domain/role_services_test.py
Mohitbalwani26/oppia
a3d1de8b428b8216bb61ba70315583fe077f5b8a
[ "Apache-2.0" ]
null
null
null
core/domain/role_services_test.py
Mohitbalwani26/oppia
a3d1de8b428b8216bb61ba70315583fe077f5b8a
[ "Apache-2.0" ]
null
null
null
core/domain/role_services_test.py
Mohitbalwani26/oppia
a3d1de8b428b8216bb61ba70315583fe077f5b8a
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 # # Copyright 2017 The Oppia 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 requi...
39.27451
79
0.734898
262
2,003
5.400763
0.465649
0.042403
0.067845
0.022615
0.083392
0.048057
0
0
0
0
0
0.005549
0.190215
2,003
50
80
40.06
0.866831
0.368947
0
0
0
0
0.031528
0
0
0
0
0
0.291667
1
0.083333
false
0
0.25
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7cbf5d867e83bab7776ed420c8f1d228f4f2244d
82,473
py
Python
deep_learning/keras/keras/backend/cntk_backend.py
xpennec/applications
50aefdf14de308fc3c132784ebba9d329e47b087
[ "MIT" ]
21
2019-01-12T17:59:41.000Z
2022-03-08T17:42:56.000Z
deep_learning/keras/keras/backend/cntk_backend.py
farrell236/applications
0e1ab139ade2a0b3ba6f04f6fd93822b1dd5ae2f
[ "MIT" ]
7
2019-01-24T11:44:58.000Z
2020-04-21T21:13:37.000Z
deep_learning/keras/keras/backend/cntk_backend.py
farrell236/applications
0e1ab139ade2a0b3ba6f04f6fd93822b1dd5ae2f
[ "MIT" ]
8
2019-01-24T11:36:05.000Z
2021-06-15T20:59:50.000Z
from __future__ import absolute_import from __future__ import division from __future__ import print_function import cntk as C import numpy as np from .common import floatx, epsilon, image_dim_ordering, image_data_format from collections import defaultdict from contextlib import contextmanager import warnings C.set_g...
32.153216
109
0.584361
10,603
82,473
4.353862
0.06583
0.033576
0.011437
0.008838
0.509466
0.443029
0.399749
0.355927
0.33264
0.309354
0
0.013767
0.31477
82,473
2,564
110
32.165757
0.803107
0.071163
0
0.425897
0
0.016641
0.06477
0.001126
0
0
0
0.00039
0.01196
1
0.089964
false
0.00052
0.00468
0.026521
0.198648
0.00208
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7cbfb5620b9999ebfec8396e7e566e9eef183412
6,946
py
Python
Project Files/Prebuilt tools/twitter/Twitter/pylib/oauthlib/oauth1/rfc5849/endpoints/resource.py
nVoid/Yale-TouchDesigner-April2016
40eb36f515fa3935f3e9ddaa923664e88308262c
[ "MIT" ]
39
2015-06-10T23:18:07.000Z
2021-10-21T04:29:06.000Z
Project Files/Prebuilt tools/twitter/Twitter/pylib/oauthlib/oauth1/rfc5849/endpoints/resource.py
nVoid/Yale-TouchDesigner-April2016
40eb36f515fa3935f3e9ddaa923664e88308262c
[ "MIT" ]
13
2020-10-28T16:02:09.000Z
2020-11-16T13:30:05.000Z
Project Files/Prebuilt tools/twitter/Twitter/pylib/oauthlib/oauth1/rfc5849/endpoints/resource.py
nVoid/Yale-TouchDesigner-April2016
40eb36f515fa3935f3e9ddaa923664e88308262c
[ "MIT" ]
26
2015-06-10T22:09:15.000Z
2021-06-27T15:45:15.000Z
# -*- coding: utf-8 -*- """ oauthlib.oauth1.rfc5849.endpoints.resource ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This module is an implementation of the resource protection provider logic of OAuth 1.0 RFC 5849. """ from __future__ import absolute_import, unicode_literals from oauthlib.common import log from .base i...
44.525641
84
0.6444
847
6,946
5.172373
0.304604
0.035608
0.031956
0.0315
0.216617
0.178726
0.178726
0.169596
0.148596
0.134216
0
0.006933
0.293982
6,946
155
85
44.812903
0.886419
0.580766
0
0.173913
0
0
0.03994
0
0
0
0
0
0
1
0.021739
false
0
0.086957
0
0.26087
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7cbffc6e03738d28e2329b530ca6fb3c25fe1127
1,493
py
Python
python/ex_1.py
AymenSe/Geometric-operations-DIP
ef0b0bc86210a8da5e63136bf5a239179b869722
[ "MIT" ]
null
null
null
python/ex_1.py
AymenSe/Geometric-operations-DIP
ef0b0bc86210a8da5e63136bf5a239179b869722
[ "MIT" ]
null
null
null
python/ex_1.py
AymenSe/Geometric-operations-DIP
ef0b0bc86210a8da5e63136bf5a239179b869722
[ "MIT" ]
null
null
null
#################################################### # # @ Authors : SEKHRI Aymen # MOHAMMED HACENE Tarek # # @ Hint: you have to install all requirements # from requirements.txt # #################################################### import numpy as np import cv2 as cv import matplotl...
24.883333
59
0.649029
209
1,493
4.578947
0.449761
0.041797
0.059561
0.033438
0.060606
0.060606
0
0
0
0
0
0.023026
0.185532
1,493
59
60
25.305085
0.76398
0.470864
0
0
0
0
0.100752
0
0
0
0
0
0
1
0.052632
false
0
0.157895
0
0.210526
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7cc0266db2f787f19a55358bfe261dafe0201d9d
3,999
py
Python
utils/hit_rate_utils.py
h-zcc/ref-nms
8f83f350c497d0ef875c778a8ce76725552abb3c
[ "MIT" ]
19
2020-12-14T13:53:10.000Z
2022-02-27T09:46:15.000Z
utils/hit_rate_utils.py
h-zcc/ref-nms
8f83f350c497d0ef875c778a8ce76725552abb3c
[ "MIT" ]
3
2021-01-16T11:41:07.000Z
2021-08-06T08:21:42.000Z
utils/hit_rate_utils.py
h-zcc/ref-nms
8f83f350c497d0ef875c778a8ce76725552abb3c
[ "MIT" ]
3
2021-01-10T15:25:29.000Z
2021-09-26T01:38:16.000Z
from utils.misc import calculate_iou, xywh_to_xyxy __all__ = ['NewHitRateEvaluator', 'CtxHitRateEvaluator'] class NewHitRateEvaluator: def __init__(self, refer, top_N=None, threshold=0.5): """Evaluate refexp-based hit rate. Args: refdb: `refdb` dict. split: Dataset spli...
36.688073
105
0.565141
495
3,999
4.30101
0.214141
0.036167
0.028182
0.042273
0.542978
0.517614
0.463128
0.463128
0.423673
0.423673
0
0.006112
0.345336
3,999
108
106
37.027778
0.807105
0.24031
0
0.354839
0
0
0.03394
0
0
0
0
0
0
1
0.064516
false
0
0.016129
0
0.145161
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7cc16e64c487a1ae6266b04c47e0496bada66d00
905
py
Python
LeetCode_ReorderDataLogFiles.py
amukher3/Problem_solutions
8fa6014a91f295d08cafb989024caa91d99211d9
[ "Apache-2.0" ]
1
2021-12-28T08:58:51.000Z
2021-12-28T08:58:51.000Z
LeetCode_ReorderDataLogFiles.py
amukher3/Coding
a330cb04b5dd5cc1c3cf69249417a71586441bc7
[ "Apache-2.0" ]
null
null
null
LeetCode_ReorderDataLogFiles.py
amukher3/Coding
a330cb04b5dd5cc1c3cf69249417a71586441bc7
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Sat Aug 22 19:07:30 2020 @author: Abhishek Mukherjee """ class Solution: def reorderLogFiles(self, logs: List[str]) -> List[str]: letLog=[] digLog=[] for i in range(len(logs)): temp=[] temp=logs...
27.424242
76
0.438674
91
905
4.362637
0.494505
0.075567
0.04534
0
0
0
0
0
0
0
0
0.033645
0.40884
905
33
77
27.424242
0.708411
0.096133
0
0.095238
0
0
0.008986
0
0
0
0
0
0
1
0.047619
false
0
0
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7cc17f1b77efcc568026cf1d93c6a6ded983ab6a
475
py
Python
saleor/core/transactions.py
fairhopeweb/saleor
9ac6c22652d46ba65a5b894da5f1ba5bec48c019
[ "CC-BY-4.0" ]
15,337
2015-01-12T02:11:52.000Z
2021-10-05T19:19:29.000Z
saleor/core/transactions.py
fairhopeweb/saleor
9ac6c22652d46ba65a5b894da5f1ba5bec48c019
[ "CC-BY-4.0" ]
7,486
2015-02-11T10:52:13.000Z
2021-10-06T09:37:15.000Z
saleor/core/transactions.py
aminziadna/saleor
2e78fb5bcf8b83a6278af02551a104cfa555a1fb
[ "CC-BY-4.0" ]
5,864
2015-01-16T14:52:54.000Z
2021-10-05T23:01:15.000Z
from contextlib import contextmanager from django.db import DatabaseError from ..core.tracing import traced_atomic_transaction @contextmanager def transaction_with_commit_on_errors(): """Perform transaction and raise an error in any occurred.""" error = None with traced_atomic_transaction(): try...
22.619048
65
0.669474
53
475
5.849057
0.622642
0.077419
0.148387
0
0
0
0
0
0
0
0
0
0.28
475
20
66
23.75
0.906433
0.115789
0
0
0
0
0
0
0
0
0
0
0
1
0.066667
false
0
0.2
0
0.266667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7cc1ccd2747eb46713eaccaf9ca6dc49d25b3128
3,314
py
Python
src/command_modules/azure-cli-policyinsights/azure/cli/command_modules/policyinsights/tests/latest/test_policyinsights_scenario.py
diberry/azure-cli
302999245cbb13b890b0a74f03443c577bd4bfae
[ "MIT" ]
1
2019-03-30T20:49:32.000Z
2019-03-30T20:49:32.000Z
src/command_modules/azure-cli-policyinsights/azure/cli/command_modules/policyinsights/tests/latest/test_policyinsights_scenario.py
diberry/azure-cli
302999245cbb13b890b0a74f03443c577bd4bfae
[ "MIT" ]
4
2018-08-08T20:01:17.000Z
2018-09-17T15:20:06.000Z
src/command_modules/azure-cli-policyinsights/azure/cli/command_modules/policyinsights/tests/latest/test_policyinsights_scenario.py
diberry/azure-cli
302999245cbb13b890b0a74f03443c577bd4bfae
[ "MIT" ]
1
2018-04-14T01:46:00.000Z
2018-04-14T01:46:00.000Z
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
48.028986
194
0.545866
293
3,314
6.03413
0.453925
0.081448
0.084842
0.063348
0.3569
0.279977
0.225679
0.225679
0.18552
0.128959
0
0.060352
0.280024
3,314
68
195
48.735294
0.680637
0.101388
0
0.368421
0
0.052632
0.407669
0.169189
0
0
0
0
0.122807
1
0.017544
false
0
0.017544
0
0.052632
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7cc20f1f6a53dbfc79dbca785199d6d05868daf1
25,440
py
Python
tests/prep_post/test.py
Aslic/rmats_turbo_4.1.0
c651509a5d32799315054fa37a2210fab2aae5e5
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
tests/prep_post/test.py
Aslic/rmats_turbo_4.1.0
c651509a5d32799315054fa37a2210fab2aae5e5
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
tests/prep_post/test.py
Aslic/rmats_turbo_4.1.0
c651509a5d32799315054fa37a2210fab2aae5e5
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
import glob import os.path import subprocess import sys import unittest import tests.bam import tests.base_test import tests.gtf import tests.output_parser as output_parser import tests.test_config import tests.util class Test(tests.base_test.BaseTest): def setUp(self): super().setUp() self._tes...
39.75
83
0.553263
3,131
25,440
3.984031
0.067071
0.020683
0.025573
0.025814
0.797819
0.735289
0.662819
0.618086
0.568462
0.531666
0
0.031469
0.347956
25,440
639
84
39.812207
0.720521
0.006879
0
0.527531
0
0
0.070521
0
0
0
0
0
0.104796
1
0.046181
false
0.017762
0.019538
0.001776
0.078153
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7cc57c915f6cace046e0bbe739957206038f009f
1,527
py
Python
nltk/align/util.py
kruskod/nltk
dba7b5431b1d57a75d50e048961c1a203b98c3da
[ "Apache-2.0" ]
1
2015-11-25T00:47:58.000Z
2015-11-25T00:47:58.000Z
nltk/align/util.py
kruskod/nltk
dba7b5431b1d57a75d50e048961c1a203b98c3da
[ "Apache-2.0" ]
null
null
null
nltk/align/util.py
kruskod/nltk
dba7b5431b1d57a75d50e048961c1a203b98c3da
[ "Apache-2.0" ]
null
null
null
# Natural Language Toolkit: Aligner Utilities # # Copyright (C) 2001-2015 NLTK Project # Author: Anna Garbar # URL: <http://www.nltk.org/> # For license information, see LICENSE.TXT from nltk.align.api import Alignment def pharaohtext2tuples(pharaoh_text): """ Converts pharaoh text format into an Alignment ob...
33.933333
81
0.642436
218
1,527
4.444954
0.348624
0.113519
0.070175
0.016512
0.335397
0.321981
0.321981
0.260062
0.260062
0.163055
0
0.058219
0.235102
1,527
44
82
34.704545
0.771404
0.693517
0
0
0
0
0.008357
0
0
0
0
0
0
1
0.285714
false
0
0.142857
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
0
0
0
1
7cc70ea72109b3602fc21ef2eb53e2e3c1469770
1,461
py
Python
grr/server/grr_response_server/databases/db_yara_test_lib.py
khanhgithead/grr
8ad8a4d2c5a93c92729206b7771af19d92d4f915
[ "Apache-2.0" ]
4,238
2015-01-01T15:34:50.000Z
2022-03-31T08:18:05.000Z
grr/server/grr_response_server/databases/db_yara_test_lib.py
khanhgithead/grr
8ad8a4d2c5a93c92729206b7771af19d92d4f915
[ "Apache-2.0" ]
787
2015-01-02T21:34:24.000Z
2022-03-02T13:26:38.000Z
grr/server/grr_response_server/databases/db_yara_test_lib.py
khanhgithead/grr
8ad8a4d2c5a93c92729206b7771af19d92d4f915
[ "Apache-2.0" ]
856
2015-01-02T02:50:11.000Z
2022-03-31T11:11:53.000Z
#!/usr/bin/env python # -*- encoding: utf-8 -*- """A module with test cases for the YARA database method.""" import os from grr_response_server.databases import db from grr_response_server.rdfvalues import objects as rdf_objects class DatabaseTestYaraMixin(object): """A mixin class for testing YARA methods of dat...
33.976744
75
0.776181
173
1,461
6.421965
0.404624
0.075608
0.032403
0.057606
0.449145
0.377138
0.377138
0.377138
0.329433
0.212421
0
0.007004
0.120465
1,461
42
76
34.785714
0.857588
0.158111
0
0.409091
0
0
0.018899
0
0
0
0
0
0.181818
1
0.181818
false
0
0.136364
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7cc7a37d4874c578241d8fb555c025d8c962058b
4,912
py
Python
gpytorch/kernels/inducing_point_kernel.py
4aHxKzD/gpytorch
7193545f88820ea04588b983f1d7ed603a59a27c
[ "MIT" ]
1
2021-03-05T07:20:58.000Z
2021-03-05T07:20:58.000Z
gpytorch/kernels/inducing_point_kernel.py
4aHxKzD/gpytorch
7193545f88820ea04588b983f1d7ed603a59a27c
[ "MIT" ]
1
2021-02-24T14:01:43.000Z
2021-02-24T14:01:43.000Z
gpytorch/kernels/inducing_point_kernel.py
syncrostone/gpytorch
4d33fbf64594aab2dd6e0cfcb3242510231b3e0e
[ "MIT" ]
1
2021-03-15T12:32:24.000Z
2021-03-15T12:32:24.000Z
#!/usr/bin/env python3 import copy import math import torch from ..distributions import MultivariateNormal from ..lazy import DiagLazyTensor, LowRankRootAddedDiagLazyTensor, LowRankRootLazyTensor, MatmulLazyTensor, delazify from ..mlls import InducingPointKernelAddedLossTerm from ..models import exact_prediction_str...
36.656716
116
0.659202
574
4,912
5.30662
0.229965
0.039068
0.063033
0.043664
0.200263
0.154629
0.124097
0.061064
0.03086
0.03086
0
0.010738
0.260586
4,912
133
117
36.932331
0.827919
0.023005
0
0.147059
0
0
0.041293
0.019604
0
0
0
0
0
1
0.098039
false
0
0.088235
0.019608
0.303922
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7cc9967d7946d0cff670ce2e551feabb3ef304ce
891
py
Python
app/__init__.py
Jotasenpai/DigitalMediaStoreRESTfull
bb776d398e1756b1ff2fd4f392b80479ae29847d
[ "MIT" ]
null
null
null
app/__init__.py
Jotasenpai/DigitalMediaStoreRESTfull
bb776d398e1756b1ff2fd4f392b80479ae29847d
[ "MIT" ]
null
null
null
app/__init__.py
Jotasenpai/DigitalMediaStoreRESTfull
bb776d398e1756b1ff2fd4f392b80479ae29847d
[ "MIT" ]
null
null
null
import logging import os from flask import Flask from flask_cors import CORS from app.extensions import api from app.extensions.database import db from app.extensions.schema import ma from app.views import albums, artists, hello, tracks def create_app(config, **kwargs): logging.basicConfig(level=logging.INFO) ...
21.214286
54
0.679012
119
891
4.92437
0.420168
0.047782
0.136519
0.117747
0
0
0
0
0
0
0
0
0.217733
891
41
55
21.731707
0.840746
0.038159
0
0
0
0
0.016374
0
0
0
0
0
0
1
0.037037
false
0.037037
0.296296
0
0.37037
0.148148
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7cc9e6223af3f0ca91fd050679827da65d115102
18,053
py
Python
app.py
SASHA-PAIS/A-Flask-web-app-for-inventory-management
e6ed1b0d1d06ba04f9930f7653ce0504ecf81dd3
[ "MIT" ]
null
null
null
app.py
SASHA-PAIS/A-Flask-web-app-for-inventory-management
e6ed1b0d1d06ba04f9930f7653ce0504ecf81dd3
[ "MIT" ]
null
null
null
app.py
SASHA-PAIS/A-Flask-web-app-for-inventory-management
e6ed1b0d1d06ba04f9930f7653ce0504ecf81dd3
[ "MIT" ]
null
null
null
from flask import Flask, url_for, request, redirect from flask import render_template as render from flask_mysqldb import MySQL import yaml import json import MySQLdb import decimal class Encoder(json.JSONEncoder): def default(self, obj): if isinstance(obj, decimal.Decimal): return str(obj) ...
37.146091
218
0.585831
2,237
18,053
4.561913
0.122933
0.031357
0.04096
0.023812
0.5805
0.531994
0.465458
0.417932
0.399314
0.382166
0
0.012281
0.287376
18,053
486
219
37.146091
0.780956
0.182574
0
0.493631
0
0
0.312479
0.005855
0
0
0
0
0
1
0.025478
false
0.003185
0.022293
0
0.092357
0.015924
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7ccbe673fd6019f10368e191ac41278443f5c053
9,554
py
Python
python/paddle/fluid/tests/unittests/ir/inference/test_trt_reduce_mean_op.py
zmxdream/Paddle
04f042a5d507ad98f7f2cfc3cbc44b06d7a7f45c
[ "Apache-2.0" ]
8
2016-08-15T07:02:27.000Z
2016-08-24T09:34:00.000Z
python/paddle/fluid/tests/unittests/ir/inference/test_trt_reduce_mean_op.py
zmxdream/Paddle
04f042a5d507ad98f7f2cfc3cbc44b06d7a7f45c
[ "Apache-2.0" ]
1
2021-11-01T06:28:16.000Z
2021-11-01T06:28:16.000Z
python/paddle/fluid/tests/unittests/ir/inference/test_trt_reduce_mean_op.py
zmxdream/Paddle
04f042a5d507ad98f7f2cfc3cbc44b06d7a7f45c
[ "Apache-2.0" ]
5
2021-12-10T11:20:06.000Z
2022-02-18T05:18:12.000Z
# Copyright (c) 2021 PaddlePaddle 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 appli...
40.483051
82
0.626125
1,132
9,554
5.094523
0.130742
0.044391
0.019074
0.014566
0.80059
0.79192
0.79192
0.79192
0.783076
0.783076
0
0.039537
0.25874
9,554
235
83
40.655319
0.774781
0.061022
0
0.768817
0
0
0.045551
0.019649
0
0
0
0
0.043011
1
0.086022
false
0.096774
0.043011
0
0.172043
0.005376
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
8
7ccc10fc8c636712784281edcf93b9e16ef2ae97
2,202
py
Python
configs/vinbig/detectors_resnext.py
SeHwanJoo/mmdetection_vinbig
9a27d2b5cd8b3ec9ed1a94e4704a7c883f15dce3
[ "Apache-2.0" ]
2
2021-04-01T08:17:08.000Z
2021-07-12T11:53:53.000Z
configs/vinbig/detectors_resnext.py
SeHwanJoo/mmdetection_vinbig
9a27d2b5cd8b3ec9ed1a94e4704a7c883f15dce3
[ "Apache-2.0" ]
null
null
null
configs/vinbig/detectors_resnext.py
SeHwanJoo/mmdetection_vinbig
9a27d2b5cd8b3ec9ed1a94e4704a7c883f15dce3
[ "Apache-2.0" ]
null
null
null
_base_ = [ '../_base_/models/cascade_rcnn_r50_fpn.py', './dataset_base.py', './scheduler_base.py', '../_base_/default_runtime.py' ] model = dict( pretrained='open-mmlab://resnext101_32x4d', backbone=dict( type='DetectoRS_ResNeXt', pretrained='open-mmlab://resnext101_32x4d', ...
27.525
57
0.475931
221
2,202
4.493213
0.429864
0.096677
0.04431
0.087613
0.423968
0.321249
0.321249
0.268882
0.268882
0.268882
0
0.056231
0.402361
2,202
79
58
27.873418
0.698328
0
0
0.410256
0
0
0.15713
0.070391
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7cccbb5b10c9e4406bbef811b8c0c86a34ddfd24
26,701
py
Python
skbio/draw/tests/test_distributions.py
johnchase/scikit-bio
340e6153b6c93053d923d344e63481860e03731e
[ "BSD-3-Clause" ]
null
null
null
skbio/draw/tests/test_distributions.py
johnchase/scikit-bio
340e6153b6c93053d923d344e63481860e03731e
[ "BSD-3-Clause" ]
null
null
null
skbio/draw/tests/test_distributions.py
johnchase/scikit-bio
340e6153b6c93053d923d344e63481860e03731e
[ "BSD-3-Clause" ]
null
null
null
# ---------------------------------------------------------------------------- # Copyright (c) 2013--, scikit-bio development team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file COPYING.txt, distributed with this software. # --------------------------------------------...
46.275563
79
0.562638
3,341
26,701
4.2607
0.102365
0.071654
0.045381
0.04496
0.736424
0.665472
0.622129
0.595293
0.537127
0.460555
0
0.047997
0.283697
26,701
576
80
46.355903
0.696277
0.070447
0
0.448513
0
0
0.071806
0.003875
0
0
0
0
0.340961
1
0.132723
false
0
0.016018
0
0.15103
0.002288
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7ccec8a64f1094a2aaa4d1c42f4858ca203734a3
122
py
Python
packages/gtmapi/lmsrvcore/api/interfaces/__init__.py
jjwatts/gigantum-client
88ce0475fb6880322bdd06d987c494e29064f278
[ "MIT" ]
60
2018-09-26T15:46:00.000Z
2021-10-10T02:37:14.000Z
packages/gtmapi/lmsrvcore/api/interfaces/__init__.py
jjwatts/gigantum-client
88ce0475fb6880322bdd06d987c494e29064f278
[ "MIT" ]
1,706
2018-09-26T16:11:22.000Z
2021-08-20T13:37:59.000Z
packages/gtmapi/lmsrvcore/api/interfaces/__init__.py
jjwatts/gigantum-client
88ce0475fb6880322bdd06d987c494e29064f278
[ "MIT" ]
11
2019-03-14T13:23:51.000Z
2022-01-25T01:29:16.000Z
from lmsrvcore.api.interfaces.user import User from lmsrvcore.api.interfaces.git import GitCommit, GitRef, GitRepository
30.5
73
0.844262
16
122
6.4375
0.625
0.252427
0.31068
0.504854
0
0
0
0
0
0
0
0
0.090164
122
3
74
40.666667
0.927928
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
8
7cced65964aa995783474d3ea16a3fdb37a88182
3,570
py
Python
tensorflow_probability/python/bijectors/invert_test.py
matthieucoquet/probability
2426f4fc4743ceedc1a638a03d19ce6654ebff76
[ "Apache-2.0" ]
null
null
null
tensorflow_probability/python/bijectors/invert_test.py
matthieucoquet/probability
2426f4fc4743ceedc1a638a03d19ce6654ebff76
[ "Apache-2.0" ]
null
null
null
tensorflow_probability/python/bijectors/invert_test.py
matthieucoquet/probability
2426f4fc4743ceedc1a638a03d19ce6654ebff76
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 The TensorFlow Probability Authors. # # 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...
38.387097
95
0.693557
453
3,570
5.262693
0.357616
0.060403
0.052433
0.065017
0.302013
0.239094
0.173238
0.069631
0.052852
0.034396
0
0.010929
0.179832
3,570
92
96
38.804348
0.803279
0.216807
0
0.153846
0
0
0.005413
0
0
0
0
0
0.169231
1
0.061538
false
0
0.153846
0
0.230769
0.015385
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7ccf2b0c1cc9f5a9318ca8b0e302ba7e965fbb1e
4,394
py
Python
dayu_widgets/alert.py
ZSD-tim/dayu_widgets
31c2530bdc4161d9311574d9850c2e9471e53072
[ "MIT" ]
null
null
null
dayu_widgets/alert.py
ZSD-tim/dayu_widgets
31c2530bdc4161d9311574d9850c2e9471e53072
[ "MIT" ]
null
null
null
dayu_widgets/alert.py
ZSD-tim/dayu_widgets
31c2530bdc4161d9311574d9850c2e9471e53072
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- ################################################################### # Author: Mu yanru # Date : 2019.2 # Email : muyanru345@163.com ################################################################### """ MAlert class. """ import six import functools from dayu_widgets.avat...
32.072993
98
0.62244
525
4,394
4.937143
0.251429
0.055556
0.038194
0.034722
0.157793
0.022377
0
0
0
0
0
0.004834
0.2467
4,394
136
99
32.308824
0.778248
0.142239
0
0.111111
0
0
0.052737
0.007452
0
0
0
0
0
1
0.17284
false
0
0.098765
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7cd0a40cffa8dae1e2b1f6c63ccd1a5c2242724b
86
py
Python
week03/code05.py
byeongal/KMUCP
5bafe02c40aae67fc53d9e6cdcb727929368587e
[ "MIT" ]
null
null
null
week03/code05.py
byeongal/KMUCP
5bafe02c40aae67fc53d9e6cdcb727929368587e
[ "MIT" ]
null
null
null
week03/code05.py
byeongal/KMUCP
5bafe02c40aae67fc53d9e6cdcb727929368587e
[ "MIT" ]
1
2019-11-27T20:28:19.000Z
2019-11-27T20:28:19.000Z
input_str = input("문자열을 입력해 주세요. >> ") print("입력받은 문자열의 길이는", len(input_str), "입니다.")
28.666667
46
0.639535
14
86
3.785714
0.785714
0.301887
0
0
0
0
0
0
0
0
0
0
0.139535
86
2
47
43
0.716216
0
0
0
0
0
0.395349
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
7cd14d3a6d6b9088b4271089222cd9080f058243
5,664
py
Python
jobs/SCH/JB_SALES_HIERARCHY_FLAG_N_SR.py
bibinvasudev/EBI_Project
df2560139e463d68a37e67e0bb683c06fa9ef91b
[ "CNRI-Python" ]
null
null
null
jobs/SCH/JB_SALES_HIERARCHY_FLAG_N_SR.py
bibinvasudev/EBI_Project
df2560139e463d68a37e67e0bb683c06fa9ef91b
[ "CNRI-Python" ]
null
null
null
jobs/SCH/JB_SALES_HIERARCHY_FLAG_N_SR.py
bibinvasudev/EBI_Project
df2560139e463d68a37e67e0bb683c06fa9ef91b
[ "CNRI-Python" ]
null
null
null
# SCH1101.sh --> JB_SALES_HIERARCHY_FLAG_N_SR.py #************************************************************************************************************** # # Created by : bibin # Version : 1.0 # # Description : # 1. This script will load the data into 'SALES_HIERARCHY' table based on stre...
38.794521
218
0.625883
757
5,664
4.318362
0.265522
0.036708
0.029979
0.027531
0.201285
0.166412
0.15234
0.15234
0.132762
0.125421
0
0.009677
0.233757
5,664
145
219
39.062069
0.743548
0.169138
0
0.068966
0
0.011494
0.585616
0.149829
0
0
0
0
0
1
0.022989
false
0
0.091954
0
0.126437
0.022989
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7cd1e3bcc66dd50fd9167cfd73166db8b21f6910
670
py
Python
myth/util.py
amanbhandari2002/mythproto
b03764485dad5178127307a3b3e4ddc508158143
[ "BSD-3-Clause" ]
1
2020-10-01T09:17:00.000Z
2020-10-01T09:17:00.000Z
myth/util.py
amanbhandari2002/mythproto
b03764485dad5178127307a3b3e4ddc508158143
[ "BSD-3-Clause" ]
null
null
null
myth/util.py
amanbhandari2002/mythproto
b03764485dad5178127307a3b3e4ddc508158143
[ "BSD-3-Clause" ]
2
2020-09-30T19:53:40.000Z
2020-10-01T09:13:08.000Z
def decodeLongLong(lst): high = int(lst[0]) << 32 low = int(lst[1]) if low < 0: low += 4294967296 if high < 0: high += 4294967296 return high + low def encodeLongLong(i): high = int(i / 4294967296) low = i - high return high, low def parseOk(str): if str == 'ok': return True else: return False def ...
18.108108
80
0.631343
113
670
3.743363
0.504425
0.033097
0.061466
0.07565
0
0
0
0
0
0
0
0.075728
0.231343
670
36
81
18.611111
0.745631
0.273134
0
0.071429
0
0
0.004141
0
0
0
0
0
0
1
0.178571
false
0.035714
0
0
0.357143
0.035714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7cd283a215a5ab2f5c601f954e24742216c659e4
14,208
py
Python
scripts/tator_tracker.py
openem-team/openem
45222c9c77084eacab278da25a8734ae7d43f677
[ "MIT" ]
10
2019-01-23T23:58:01.000Z
2021-08-30T19:42:35.000Z
scripts/tator_tracker.py
openem-team/openem
45222c9c77084eacab278da25a8734ae7d43f677
[ "MIT" ]
3
2020-03-20T15:21:41.000Z
2020-09-18T18:49:38.000Z
scripts/tator_tracker.py
openem-team/openem
45222c9c77084eacab278da25a8734ae7d43f677
[ "MIT" ]
2
2020-05-08T17:39:12.000Z
2020-10-09T01:27:17.000Z
#!/usr/bin/env python3 import argparse import openem import os import cv2 import numpy as np from openem.tracking import * import json import sys import datetime import tator from pprint import pprint from collections import defaultdict import yaml import math import subprocess import sys def crop_localization(fram...
39.248619
126
0.551943
1,686
14,208
4.451957
0.175563
0.034106
0.040767
0.017986
0.216893
0.158007
0.136957
0.085265
0.060751
0.04956
0
0.012664
0.327492
14,208
361
127
39.357341
0.772894
0.041878
0
0.193333
0
0
0.108446
0.006107
0
0
0
0.00277
0.006667
1
0.026667
false
0.003333
0.056667
0
0.11
0.056667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7cd30f449f940b3e03ca41f6babd9a375fe19ebf
1,167
py
Python
hypergan/losses/multi_loss.py
Darkar25/HyperGAN
76ef7e0c20569ceece88dc76396d92c77050692b
[ "MIT" ]
1
2019-05-29T14:24:04.000Z
2019-05-29T14:24:04.000Z
hypergan/losses/multi_loss.py
KonradLinkowski/HyperGAN
3153daee838dbb8e8d8926b1e81419682a24f2fe
[ "MIT" ]
218
2021-05-25T01:46:15.000Z
2022-02-11T01:08:52.000Z
hypergan/losses/multi_loss.py
KonradLinkowski/HyperGAN
3153daee838dbb8e8d8926b1e81419682a24f2fe
[ "MIT" ]
null
null
null
import tensorflow as tf import numpy as np import hyperchamber as hc from hypergan.losses.base_loss import BaseLoss from hypergan.multi_component import MultiComponent TINY=1e-8 class MultiLoss(BaseLoss): """Takes multiple distributions and does an additional approximator""" def _create(self, d_real, d_fake):...
26.522727
99
0.61868
157
1,167
4.382166
0.407643
0.043605
0.043605
0.043605
0.05814
0.05814
0.05814
0.05814
0
0
0
0.006098
0.297344
1,167
43
100
27.139535
0.832927
0.070266
0
0
0
0
0.014856
0
0
0
0
0
0
1
0.034483
false
0
0.172414
0
0.275862
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7cd33c8d7f17b4aa6fc5f6d3f2701686f2ce01a4
13,643
py
Python
src/fidesops/api/v1/endpoints/policy_endpoints.py
mohan-pogala/fidesops
5c686362d4fb3b85253dd7e2898be1131a5071ab
[ "Apache-2.0" ]
null
null
null
src/fidesops/api/v1/endpoints/policy_endpoints.py
mohan-pogala/fidesops
5c686362d4fb3b85253dd7e2898be1131a5071ab
[ "Apache-2.0" ]
null
null
null
src/fidesops/api/v1/endpoints/policy_endpoints.py
mohan-pogala/fidesops
5c686362d4fb3b85253dd7e2898be1131a5071ab
[ "Apache-2.0" ]
null
null
null
import logging from typing import Any, Dict, List from fastapi import APIRouter, Body, Depends, Security from fastapi_pagination import ( Page, Params, ) from fastapi_pagination.bases import AbstractPage from fastapi_pagination.ext.sqlalchemy import paginate from fidesops.schemas.shared_schemas import FidesOp...
31.95082
113
0.609543
1,503
13,643
5.351963
0.135063
0.025733
0.01641
0.03916
0.599453
0.56825
0.521258
0.459846
0.413973
0.408379
0
0.005926
0.29495
13,643
426
114
32.025822
0.830336
0.048083
0
0.518207
0
0
0.146357
0.00731
0
0
0
0
0
1
0.022409
false
0
0.061625
0
0.10084
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7cd398bd2b3034834a61ea93e2ee16c8e1011acb
7,425
py
Python
engage-analytics/sentiment_analysis/src/report/interface_report.py
oliveriopt/mood-analytics
c98eb8c483a05af938a2f6f49d8ea803f5711572
[ "Apache-2.0" ]
null
null
null
engage-analytics/sentiment_analysis/src/report/interface_report.py
oliveriopt/mood-analytics
c98eb8c483a05af938a2f6f49d8ea803f5711572
[ "Apache-2.0" ]
2
2020-03-27T19:14:44.000Z
2020-03-27T19:14:44.000Z
engage-analytics/sentiment_analysis/src/report/interface_report.py
oliveriopt/mood-analytics
c98eb8c483a05af938a2f6f49d8ea803f5711572
[ "Apache-2.0" ]
null
null
null
import emoji import sentiment_analysis.src.report.cons_report as cons import sentiment_analysis.src.constants as global_cons from utils.data_connection.api_data_manager import APISourcesFetcher from utils.utilities import read_json_file, CUSTOM_YEAR_WEEK_AGG, extract_dimension, extract_question from sentiment_analysis...
40.135135
116
0.644175
851
7,425
5.304348
0.169213
0.031679
0.035888
0.043864
0.344041
0.246345
0.224634
0.197829
0.173017
0.173017
0
0.00374
0.279731
7,425
184
117
40.353261
0.840314
0.095623
0
0.165138
0
0
0.007194
0
0
0
0
0
0
1
0.091743
false
0
0.073395
0
0.183486
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7cd4c163b81a2a9f7a9f4fb51454b97b7933bffd
1,565
py
Python
dwh_analytic/dags/data_warehouse_prod/schema/dim_process.py
dnguyenngoc/analytic
d609a93e96e7c546ad3ee3ebd4e13309ddf575f8
[ "MIT" ]
null
null
null
dwh_analytic/dags/data_warehouse_prod/schema/dim_process.py
dnguyenngoc/analytic
d609a93e96e7c546ad3ee3ebd4e13309ddf575f8
[ "MIT" ]
null
null
null
dwh_analytic/dags/data_warehouse_prod/schema/dim_process.py
dnguyenngoc/analytic
d609a93e96e7c546ad3ee3ebd4e13309ddf575f8
[ "MIT" ]
null
null
null
resource ='human ad machime' class DimProcess: def __init__( self, *kwargs, process_key: int, module: str, type: str, step: str, sub_step: str, resource: str = 'human', ): def step(self): return ['qc', 'auto_qc', 'apr_qc', 'ke...
27.946429
62
0.548882
173
1,565
4.572254
0.271676
0.136536
0.030341
0.072061
0
0
0
0
0
0
0
0.001988
0.357189
1,565
56
62
27.946429
0.784294
0
0
0.269231
0
0
0.104725
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
7cd59f2bf170f30d86846848bf3c6c4bf7b96d9c
2,491
py
Python
lino/modlib/gfks/mixins.py
NewRGB/lino
43799e42107169ff173d3b8bc0324d5773471499
[ "BSD-2-Clause" ]
1
2019-11-13T19:38:50.000Z
2019-11-13T19:38:50.000Z
lino/modlib/gfks/mixins.py
NewRGB/lino
43799e42107169ff173d3b8bc0324d5773471499
[ "BSD-2-Clause" ]
null
null
null
lino/modlib/gfks/mixins.py
NewRGB/lino
43799e42107169ff173d3b8bc0324d5773471499
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: UTF-8 -*- # Copyright 2010-2018 Rumma & Ko Ltd # License: BSD (see file COPYING for details) from builtins import object from django.contrib.contenttypes.models import * from django.conf import settings from django.utils.translation import ugettext_lazy as _ from django.utils.text import format_lazy ...
30.753086
71
0.635488
287
2,491
5.313589
0.341463
0.086557
0.062295
0.055082
0.321967
0.267541
0.226885
0.190164
0.139016
0.08
0
0.005895
0.250903
2,491
80
72
31.1375
0.811361
0.065837
0
0.267857
0
0
0.046101
0
0
0
0
0
0
1
0.071429
false
0
0.142857
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7cd5ad9a803e1cac21f7d6ba2961e58bea3c98da
21,926
py
Python
optical_form_reader/main.py
1enes/optical_form_reader
fab99f2403c25f84fcb5bdac50148ab248432516
[ "MIT" ]
null
null
null
optical_form_reader/main.py
1enes/optical_form_reader
fab99f2403c25f84fcb5bdac50148ab248432516
[ "MIT" ]
null
null
null
optical_form_reader/main.py
1enes/optical_form_reader
fab99f2403c25f84fcb5bdac50148ab248432516
[ "MIT" ]
null
null
null
import cv2 import numpy as np from imutils import contours from imutils.perspective import four_point_transform import imutils import cv2 import matplotlib.pyplot as plt import numpy as np from imutils import contours from imutils.perspective import four_point_transform,order_points import imutils cevap_an...
31.100709
223
0.622457
3,169
21,926
4.132534
0.117703
0.022679
0.034362
0.023824
0.536729
0.517486
0.456017
0.426237
0.388287
0.375382
0
0.069134
0.233422
21,926
704
224
31.144886
0.709186
0.080863
0
0.458738
0
0.002427
0.040982
0.003976
0
0
0
0
0
1
0.043689
false
0.007282
0.026699
0
0.114078
0.019417
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7cd6ff8a4443655a42df05eccf62b0e804763fb0
2,898
py
Python
service.py
Tigge/script.filmtipset-grade
a5b438dc478d6ef40f611585e9cd196c2ff49cf6
[ "BSD-2-Clause" ]
1
2015-02-19T08:45:57.000Z
2015-02-19T08:45:57.000Z
service.py
Tigge/script.filmtipset-grade
a5b438dc478d6ef40f611585e9cd196c2ff49cf6
[ "BSD-2-Clause" ]
1
2015-02-01T19:28:17.000Z
2015-03-18T22:27:14.000Z
service.py
Tigge/script.filmtipset-grade
a5b438dc478d6ef40f611585e9cd196c2ff49cf6
[ "BSD-2-Clause" ]
null
null
null
# Copyright (c) 2013, Gustav Tiger # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, this # list of conditions and th...
34.094118
82
0.670807
352
2,898
5.485795
0.463068
0.024858
0.020197
0.023822
0.095287
0.07043
0.07043
0.07043
0.07043
0.07043
0
0.00866
0.242926
2,898
84
83
34.5
0.871468
0.446515
0
0.046512
0
0
0.080482
0.028517
0
0
0
0
0
0
null
null
0
0.093023
null
null
0.139535
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
7cd8fbdd89ede56684cdd39b8bd8583e3ed86ea6
16,528
py
Python
test/testMatrix.py
turkeydonkey/nzmath3
a48ae9efcf0d9ad1485c2e9863c948a7f1b20311
[ "BSD-3-Clause" ]
1
2021-05-26T19:22:17.000Z
2021-05-26T19:22:17.000Z
test/testMatrix.py
turkeydonkey/nzmath3
a48ae9efcf0d9ad1485c2e9863c948a7f1b20311
[ "BSD-3-Clause" ]
null
null
null
test/testMatrix.py
turkeydonkey/nzmath3
a48ae9efcf0d9ad1485c2e9863c948a7f1b20311
[ "BSD-3-Clause" ]
null
null
null
import unittest from nzmath.matrix import * import nzmath.vector as vector import nzmath.rational as rational import nzmath.poly.uniutil as uniutil Ra = rational.Rational Poly = uniutil.polynomial Int = rational.theIntegerRing # sub test try: from test.testMatrixFiniteField import * except: try: from...
35.165957
94
0.575811
2,329
16,528
4.060541
0.147703
0.141165
0.009834
0.005922
0.175108
0.08618
0.068838
0.052342
0.045998
0.027704
0
0.102939
0.246491
16,528
469
95
35.240938
0.656416
0.012585
0
0.032609
0
0
0.00129
0
0
0
0
0
0.358696
1
0.179348
false
0.002717
0.021739
0
0.228261
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7cd9e1b23df0b17b32715fc652a510c5c85b28ff
372
py
Python
python/test-nose-3.py
li-ma/homework
d75b1752a02bd028af0806683abe079c7b0a9b29
[ "Apache-2.0" ]
null
null
null
python/test-nose-3.py
li-ma/homework
d75b1752a02bd028af0806683abe079c7b0a9b29
[ "Apache-2.0" ]
null
null
null
python/test-nose-3.py
li-ma/homework
d75b1752a02bd028af0806683abe079c7b0a9b29
[ "Apache-2.0" ]
null
null
null
# Module Level def setUp(): print 'test setup' def tearDown(): print 'test teardown' # Function Level def func_1_setup(): print 'test_func_1 setup' def func_1_teardown(): print 'test_func_1_teardown' # Target Func def test_func_1(): print 'test_func_1 run' assert True test_func_1.setUp = f...
15.5
38
0.72043
59
372
4.186441
0.237288
0.202429
0.218623
0.17004
0
0
0
0
0
0
0
0.033333
0.193548
372
23
39
16.173913
0.79
0.104839
0
0
0
0
0.228659
0
0
0
0
0
0.076923
0
null
null
0
0
null
null
0.384615
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
7cda6328ac58b61f05923cca8623aa6b42f94561
3,591
py
Python
lib/reindex/reporting.py
scality/utapi
29475f1b9aa25cf3c883262bfb6f4573f846a5b7
[ "Apache-2.0" ]
13
2016-10-07T20:25:11.000Z
2022-02-23T06:33:59.000Z
lib/reindex/reporting.py
scality/utapi
29475f1b9aa25cf3c883262bfb6f4573f846a5b7
[ "Apache-2.0" ]
427
2016-08-17T18:03:32.000Z
2022-03-31T10:46:12.000Z
lib/reindex/reporting.py
scality/utapi
29475f1b9aa25cf3c883262bfb6f4573f846a5b7
[ "Apache-2.0" ]
5
2017-04-25T21:13:03.000Z
2018-01-23T00:21:06.000Z
import requests import redis import json import ast import sys import time import urllib import re import sys from threading import Thread from concurrent.futures import ThreadPoolExecutor import argparse def get_options(): parser = argparse.ArgumentParser() parser.add_argument("-i", "--sentinel-ip", default=...
35.554455
114
0.634085
452
3,591
4.889381
0.292035
0.032579
0.038462
0.01086
0.184163
0.175113
0.158371
0.133937
0.133937
0.133937
0
0.021708
0.217488
3,591
101
115
35.554455
0.764769
0
0
0.109756
0
0
0.190145
0.076837
0
0
0
0
0
1
0.073171
false
0.073171
0.146341
0
0.292683
0.073171
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
7cdbf4b64b3ba075f66b013f73d0f70e791b05ee
52,272
py
Python
src/skim/modeling/skim_attention/modeling_skim.py
recitalAI/skim-attention
a37a277072d1f70ea615cfd19e5b84a6effd2464
[ "Apache-2.0" ]
4
2021-09-08T17:20:59.000Z
2021-12-08T07:49:24.000Z
src/skim/modeling/skim_attention/modeling_skim.py
recitalAI/skim-attention
a37a277072d1f70ea615cfd19e5b84a6effd2464
[ "Apache-2.0" ]
null
null
null
src/skim/modeling/skim_attention/modeling_skim.py
recitalAI/skim-attention
a37a277072d1f70ea615cfd19e5b84a6effd2464
[ "Apache-2.0" ]
1
2021-12-09T00:02:23.000Z
2021-12-09T00:02:23.000Z
from collections import namedtuple import logging from dataclasses import dataclass from typing import Optional, Tuple import math import torch from torch import nn from torch.nn import CrossEntropyLoss, LayerNorm from torch.autograd.function import Function from transformers.file_utils import ( ModelOutput, ) ...
39.540091
168
0.661674
6,134
52,272
5.32165
0.070264
0.034556
0.015164
0.010354
0.754986
0.720736
0.685936
0.672089
0.64703
0.620868
0
0.005837
0.26255
52,272
1,322
169
39.540091
0.840977
0.100953
0
0.668012
0
0
0.021757
0.002918
0
0
0
0
0.002018
1
0.058527
false
0
0.015136
0.007064
0.149344
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
7cdcd3e9c2d7e86acfb845c8d72f0dc9c0f23f7d
2,290
py
Python
api/routers/dashboard.py
xming521/coco_API
51d7ac3141e58f1d6a5438af135fba3ea101bd53
[ "MIT" ]
null
null
null
api/routers/dashboard.py
xming521/coco_API
51d7ac3141e58f1d6a5438af135fba3ea101bd53
[ "MIT" ]
null
null
null
api/routers/dashboard.py
xming521/coco_API
51d7ac3141e58f1d6a5438af135fba3ea101bd53
[ "MIT" ]
null
null
null
import time import psutil import pymysql from fastapi import APIRouter from api.utils import response_code router = APIRouter() @router.get('/dashboard/getinfo') def getinfo(): from init_global import g res = {} db = g.db_pool.connection() cur = db.cursor() cur.execute(f'select count(app_name) ...
30.533333
79
0.620524
316
2,290
4.39557
0.401899
0.053996
0.064795
0.071994
0.182145
0.12599
0.115191
0.057595
0.057595
0.057595
0
0.055715
0.239738
2,290
74
80
30.945946
0.742102
0.030131
0
0.065574
0
0
0.132366
0
0
0
0
0
0
1
0.04918
false
0.016393
0.131148
0
0.213115
0.016393
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7cdd5ddf7b7d2568fd208a60927251ae8e3ac857
10,399
py
Python
retargeting/models/Kinematics.py
yujiatay/deep-motion-editing
0a6fc5fd20059c5074f68a452cd49cf6ede36ea8
[ "BSD-2-Clause" ]
1
2021-07-06T14:34:12.000Z
2021-07-06T14:34:12.000Z
retargeting/models/Kinematics.py
bmd080/deep-motion-editing
19604abdc0ead66f8c82d9211b8c5862c6a68089
[ "BSD-2-Clause" ]
null
null
null
retargeting/models/Kinematics.py
bmd080/deep-motion-editing
19604abdc0ead66f8c82d9211b8c5862c6a68089
[ "BSD-2-Clause" ]
null
null
null
import torch import torch.nn as nn import numpy as np import math class ForwardKinematics: def __init__(self, args, edges): self.topology = [-1] * (len(edges) + 1) self.rotation_map = [] for i, edge in enumerate(edges): self.topology[edge[1]] = edge[0] self.rotation...
36.233449
131
0.521877
1,272
10,399
4.203616
0.121855
0.005985
0.020946
0.026931
0.715728
0.695156
0.683935
0.662615
0.634187
0.625771
0
0.036943
0.315415
10,399
286
132
36.36014
0.714145
0.026637
0
0.671171
0
0
0.009929
0
0
0
0
0
0.009009
1
0.067568
false
0
0.018018
0.004505
0.153153
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7cdd5ff32b1c2238dcf9d02a8e0c07b84239dfc5
13,145
py
Python
tests/operators/test_hive_operator.py
Ryan-Miao/airflow
a2aca8714fac014ed7da97229d7877f1bc6e5a59
[ "Apache-2.0" ]
null
null
null
tests/operators/test_hive_operator.py
Ryan-Miao/airflow
a2aca8714fac014ed7da97229d7877f1bc6e5a59
[ "Apache-2.0" ]
null
null
null
tests/operators/test_hive_operator.py
Ryan-Miao/airflow
a2aca8714fac014ed7da97229d7877f1bc6e5a59
[ "Apache-2.0" ]
1
2020-09-29T05:26:34.000Z
2020-09-29T05:26:34.000Z
# -*- coding: utf-8 -*- # # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the #...
39.005935
88
0.617117
1,504
13,145
5.091755
0.183511
0.060329
0.068556
0.027292
0.51802
0.419039
0.400496
0.349439
0.333638
0.322669
0
0.005491
0.29342
13,145
336
89
39.122024
0.819014
0.065044
0
0.416667
0
0
0.227339
0.097408
0
0
0
0
0.034091
1
0.102273
false
0
0.045455
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7cdde129ca347d44c4fc15ae483831b97628b1d6
4,553
py
Python
main.py
OrionDark7/Alakajam12
4f9f8f87a05feb718baddb12aa8cbbed3e36a071
[ "MIT" ]
null
null
null
main.py
OrionDark7/Alakajam12
4f9f8f87a05feb718baddb12aa8cbbed3e36a071
[ "MIT" ]
null
null
null
main.py
OrionDark7/Alakajam12
4f9f8f87a05feb718baddb12aa8cbbed3e36a071
[ "MIT" ]
null
null
null
import pygame, math from game import map, ui window = pygame.display.set_mode([800, 600]) ui.window = window screen = "game" s = {"fullscreen": False} running = True gamedata = {"level": 0, "coal": 0, "iron": 1, "copper":0} tiles = pygame.sprite.Group() rails = pygame.sprite.Group() carts = pygame.sprite.Group() inter...
40.292035
124
0.573468
597
4,553
4.350084
0.21943
0.034655
0.03119
0.02965
0.340393
0.25953
0.245668
0.19253
0.144012
0.118598
0
0.032471
0.269493
4,553
112
125
40.651786
0.748346
0
0
0.128713
0
0
0.065891
0.02416
0
0
0
0
0
1
0.039604
false
0
0.019802
0.009901
0.079208
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7cde0e155e222f52e34bae521e25a21b28caf52a
550
py
Python
Code/extract_method3.py
AbdullahNoori/CS-2.1-Trees-Sorting
59ba182d60abe6171a3d7d64981f79ee192de3bb
[ "MIT" ]
null
null
null
Code/extract_method3.py
AbdullahNoori/CS-2.1-Trees-Sorting
59ba182d60abe6171a3d7d64981f79ee192de3bb
[ "MIT" ]
null
null
null
Code/extract_method3.py
AbdullahNoori/CS-2.1-Trees-Sorting
59ba182d60abe6171a3d7d64981f79ee192de3bb
[ "MIT" ]
null
null
null
# Written by Kamran Bigdely # Example for Compose Methods: Extract Method. import math def get_distance(xc1=5, xc2=7.25, yc1=22, yc2=-4.84): # Calculate the distance between the two circle return math.sqrt((xc1-xc2)**2 + (yc1 - yc2)**2) print('distance', get_distance()) # *** somewhere else in your progra...
26.190476
88
0.670909
92
550
3.967391
0.630435
0.032877
0.076712
0
0
0
0
0
0
0
0
0.059341
0.172727
550
20
89
27.5
0.742857
0.432727
0
0
0
0
0.045752
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0.285714
0.714286
0.285714
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
1
0
0
3
7cde5911adb7d9da7046ae21614759503f243fc8
51,158
py
Python
sympy/integrals/prde.py
Abhi58/sympy
5ca228b17a7d44ef08a268ba1fa959d5763634af
[ "BSD-3-Clause" ]
2
2019-06-12T16:15:39.000Z
2019-10-06T10:40:59.000Z
sympy/integrals/prde.py
Abhi58/sympy
5ca228b17a7d44ef08a268ba1fa959d5763634af
[ "BSD-3-Clause" ]
null
null
null
sympy/integrals/prde.py
Abhi58/sympy
5ca228b17a7d44ef08a268ba1fa959d5763634af
[ "BSD-3-Clause" ]
1
2019-10-02T10:47:13.000Z
2019-10-02T10:47:13.000Z
""" Algorithms for solving Parametric Risch Differential Equations. The methods used for solving Parametric Risch Differential Equations parallel those for solving Risch Differential Equations. See the outline in the docstring of rde.py for more information. The Parametric Risch Differential Equation problem is, giv...
40.123922
110
0.561222
8,964
51,158
3.151495
0.089023
0.008142
0.010619
0.004531
0.510867
0.467717
0.434301
0.388814
0.353522
0.324212
0
0.012373
0.297001
51,158
1,274
111
40.155416
0.773134
0.503929
0
0.311828
0
0
0.042779
0.002453
0
0
0
0.00471
0
1
0.03405
false
0.001792
0.016129
0
0.137993
0.001792
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7ce07b8311ef90c93682c15fc681abf9e95c0bb7
1,076
py
Python
ssh_telnet/netmiko/ex07_netmiko_command_mult_prompts.py
levs72/pyneng-examples
d6288292dcf9d1ebc5a9db4a0d620bd11b4a2df9
[ "MIT" ]
11
2021-04-05T09:30:23.000Z
2022-03-09T13:27:56.000Z
ssh_telnet/netmiko/ex07_netmiko_command_mult_prompts.py
levs72/pyneng-examples
d6288292dcf9d1ebc5a9db4a0d620bd11b4a2df9
[ "MIT" ]
null
null
null
ssh_telnet/netmiko/ex07_netmiko_command_mult_prompts.py
levs72/pyneng-examples
d6288292dcf9d1ebc5a9db4a0d620bd11b4a2df9
[ "MIT" ]
11
2021-04-06T03:44:35.000Z
2022-03-04T21:20:40.000Z
from pprint import pprint import yaml import netmiko import paramiko def send_cmd_with_prompt(device, command, *, wait_for, confirmation): if type(wait_for) == str: wait_for = [wait_for] if type(confirmation) == str: confirmation = [confirmation] with netmiko.Netmiko(**device) as ssh: ...
25.619048
84
0.616171
127
1,076
4.992126
0.409449
0.066246
0.0347
0.053628
0.18612
0.104101
0
0
0
0
0
0.006485
0.283457
1,076
41
85
26.243902
0.815824
0
0
0
0
0
0.057318
0
0
0
0
0
0
1
0.035714
false
0
0.142857
0
0.214286
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7ce0fee58832e03db2dedb448c80880f25c203aa
800
py
Python
mppi/Utilities/AttributeDict.py
marcodalessandro76/MPPI
ad60b73270b1f376ac501d47285146f1c3af457a
[ "MIT" ]
1
2019-05-04T09:26:36.000Z
2019-05-04T09:26:36.000Z
mppi/Utilities/AttributeDict.py
marcodalessandro76/MPPI
ad60b73270b1f376ac501d47285146f1c3af457a
[ "MIT" ]
null
null
null
mppi/Utilities/AttributeDict.py
marcodalessandro76/MPPI
ad60b73270b1f376ac501d47285146f1c3af457a
[ "MIT" ]
null
null
null
class AttributeDict(object): """ A class to convert a nested Dictionary into an object with key-values accessibly using attribute notation (AttributeDict.attribute) instead of key notation (Dict["key"]). This class recursively sets Dicts to objects, allowing you to recurse down nested dicts (like: A...
34.782609
77
0.62875
94
800
5.159574
0.531915
0.043299
0.045361
0
0
0
0
0
0
0
0
0
0.275
800
22
78
36.363636
0.836207
0.4125
0
0
0
0
0
0
0
0
0
0
0
1
0.272727
false
0
0
0
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
7ce146b894402021fe89e46e79f310a76ff9ef08
2,479
py
Python
LightTestLoop.py
Growing-Beyond-Earth/GettingStarted
04c2fd5fa36224ac25a6c6c62c4d6e558b27e700
[ "Apache-2.0" ]
null
null
null
LightTestLoop.py
Growing-Beyond-Earth/GettingStarted
04c2fd5fa36224ac25a6c6c62c4d6e558b27e700
[ "Apache-2.0" ]
null
null
null
LightTestLoop.py
Growing-Beyond-Earth/GettingStarted
04c2fd5fa36224ac25a6c6c62c4d6e558b27e700
[ "Apache-2.0" ]
null
null
null
# GROWNG BEYOND EARTH CONTROL BOX Traning # RASPBERRY PI PICO / MICROPYTHON # FAIRCHILD TROPICAL BOTANIC GARDEN, Oct 18, 2021 # The Growing Beyond Earth (GBE) control box is a device that controls # the LED lights and fan in a GBE growth chamber. It can also control # accessories including a 12v water pump and enviro...
38.138462
92
0.745058
425
2,479
4.305882
0.442353
0.034426
0.037158
0.043716
0.057924
0.057924
0.057924
0.057924
0.057924
0.057924
0
0.04058
0.164986
2,479
64
93
38.734375
0.843478
0.706737
0
0
0
0
0.017316
0
0
0
0
0
0
1
0
false
0
0.12
0
0.12
0.04
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7ce15c82ddc26277baddffb09d13b58c226ab5d6
3,409
py
Python
core/known_bugs_utils.py
nicolasbock/hotsos
6a0d650a8d76b5a5f85f4ddc8c0a9f8939e1de7a
[ "Apache-2.0" ]
null
null
null
core/known_bugs_utils.py
nicolasbock/hotsos
6a0d650a8d76b5a5f85f4ddc8c0a9f8939e1de7a
[ "Apache-2.0" ]
null
null
null
core/known_bugs_utils.py
nicolasbock/hotsos
6a0d650a8d76b5a5f85f4ddc8c0a9f8939e1de7a
[ "Apache-2.0" ]
null
null
null
import os import yaml from core import plugintools from core import constants from core.searchtools import SearchDef from core.issues.issue_utils import IssueEntry LAUNCHPAD = "launchpad" MASTER_YAML_KNOWN_BUGS_KEY = "bugs-detected" KNOWN_BUGS = {MASTER_YAML_KNOWN_BUGS_KEY: []} class BugSearchDef(SearchDef): de...
33.097087
79
0.680845
476
3,409
4.632353
0.277311
0.089796
0.058957
0.060317
0.33424
0.301587
0.233107
0.217687
0.217687
0.217687
0
0.000768
0.236433
3,409
102
80
33.421569
0.846331
0.217366
0
0.237288
0
0
0.067637
0
0
0
0
0
0
1
0.101695
false
0
0.101695
0.016949
0.322034
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7ce16cb7ee2c1e090289468a70fd88401aba8ddc
339
py
Python
examples/xml-rpc/echoserver.py
keobox/yap101
26913da9f61ef3d0d9cb3ef54bbfc451a9ef9de9
[ "MIT" ]
null
null
null
examples/xml-rpc/echoserver.py
keobox/yap101
26913da9f61ef3d0d9cb3ef54bbfc451a9ef9de9
[ "MIT" ]
null
null
null
examples/xml-rpc/echoserver.py
keobox/yap101
26913da9f61ef3d0d9cb3ef54bbfc451a9ef9de9
[ "MIT" ]
null
null
null
import SimpleXMLRPCServer as xmls def echo(msg): print 'Got', msg return msg class echoserver(xmls.SimpleXMLRPCServer): allow_reuse_address = True server = echoserver(('127.0.0.1', 8001)) server.register_function(echo, 'echo') print 'Listening on port 8001' try: server.serve_forever() except: ser...
19.941176
42
0.728614
45
339
5.377778
0.688889
0
0
0
0
0
0
0
0
0
0
0.049123
0.159292
339
16
43
21.1875
0.8
0
0
0
0
0
0.112094
0
0
0
0
0
0
0
null
null
0
0.076923
null
null
0.153846
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
7ce1993cbdc65a6d053c9478a3f9b9475d29bb5c
7,083
py
Python
tf_pose/slim/nets/mobilenet/mobilenet_v2_test.py
gpspelle/pose-estimation
b817dcc120092002984d8a41431046f323bc02c8
[ "Apache-2.0" ]
862
2019-12-11T18:40:48.000Z
2022-03-29T15:23:58.000Z
tf_pose/slim/nets/mobilenet/mobilenet_v2_test.py
bvanelli/tf-pose-estimation
1dec506ac8abf00616dc0fe76bf476ccdfd6b93e
[ "Apache-2.0" ]
72
2019-05-07T18:33:32.000Z
2022-03-10T07:48:39.000Z
tf_pose/slim/nets/mobilenet/mobilenet_v2_test.py
bvanelli/tf-pose-estimation
1dec506ac8abf00616dc0fe76bf476ccdfd6b93e
[ "Apache-2.0" ]
165
2019-12-11T20:04:22.000Z
2022-03-29T06:18:12.000Z
# Copyright 2018 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
37.278947
80
0.674432
975
7,083
4.70359
0.255385
0.043175
0.03925
0.057567
0.527039
0.503053
0.497383
0.458352
0.433057
0.433057
0
0.059526
0.195962
7,083
189
81
37.47619
0.745742
0.201468
0
0.444444
0
0
0.030676
0.004459
0
0
0
0
0.134921
1
0.126984
false
0
0.063492
0
0.206349
0.007937
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7ce2ce6e7522a59e86a553aeb0f5ee90bd00e269
1,402
py
Python
firebase-gist.py
darwin/firebase-gist
5aa4eb89e82fbf2971d7afca07471e1f51ff6e51
[ "MIT" ]
1
2017-08-15T15:37:21.000Z
2017-08-15T15:37:21.000Z
firebase-gist.py
darwin/firebase-gist
5aa4eb89e82fbf2971d7afca07471e1f51ff6e51
[ "MIT" ]
null
null
null
firebase-gist.py
darwin/firebase-gist
5aa4eb89e82fbf2971d7afca07471e1f51ff6e51
[ "MIT" ]
null
null
null
from firebase import firebase import os import datetime import json import logging from boto.s3.connection import S3Connection from boto.s3.key import Key from github3 import login firebase_url = os.environ['FIREBASE_DB'] firebase_secret = os.environ['FIREBASE_SECRET'] firebase_path = os.environ['FIREBASE_PATH'] fireb...
25.962963
100
0.738231
194
1,402
5.14433
0.381443
0.063126
0.068136
0.046092
0.054108
0
0
0
0
0
0
0.004075
0.124822
1,402
54
101
25.962963
0.809291
0.010699
0
0
0
0
0.156566
0.024531
0
0
0
0
0
1
0.022727
false
0
0.181818
0
0.227273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7ce32e38118a236e7f22400e28b670e7f2079e82
869
py
Python
practice/2008/qualification/C-Fly_swatter/c.py
victorWeiFreelancer/CodeJam
edb8f921860a35985823cb3dbd3ebec8a8f3c12f
[ "MIT" ]
null
null
null
practice/2008/qualification/C-Fly_swatter/c.py
victorWeiFreelancer/CodeJam
edb8f921860a35985823cb3dbd3ebec8a8f3c12f
[ "MIT" ]
null
null
null
practice/2008/qualification/C-Fly_swatter/c.py
victorWeiFreelancer/CodeJam
edb8f921860a35985823cb3dbd3ebec8a8f3c12f
[ "MIT" ]
null
null
null
import sys sys.dont_write_bytecode = True def hitP(f, R, t, r, g): if f>=g/2 : return 0.0 missArea = 0.0 gridL = g+2*r nGrids = (R - t) // gridL missGridSideLength = g - 2*f print("gridL %.12f; nGrids %d" %(gridL, nGrids) ) indentSquareLength = nGrids*gridL remain = (R - t) - in...
25.558824
69
0.537399
127
869
3.598425
0.393701
0.030635
0.019694
0.026258
0.050328
0.039387
0
0
0
0
0
0.040519
0.289988
869
34
70
25.558824
0.700162
0
0
0
0
0
0.087356
0
0
0
0
0
0
0
null
null
0
0.037037
null
null
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
7ce34380af3cdc654ec22dc00486fd1079b00edb
25,614
py
Python
synapse/notifier.py
rkfg/synapse
0b3112123da5fae4964db784e3bab0c4d83d9d62
[ "Apache-2.0" ]
1
2021-09-09T08:50:13.000Z
2021-09-09T08:50:13.000Z
synapse/notifier.py
rkfg/synapse
0b3112123da5fae4964db784e3bab0c4d83d9d62
[ "Apache-2.0" ]
null
null
null
synapse/notifier.py
rkfg/synapse
0b3112123da5fae4964db784e3bab0c4d83d9d62
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright 2014 - 2016 OpenMarket Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
36.025316
87
0.605216
2,981
25,614
4.94901
0.161355
0.021013
0.015861
0.021962
0.224836
0.154341
0.114282
0.085813
0.067444
0.057344
0
0.001791
0.324198
25,614
710
88
36.076056
0.850491
0.194854
0
0.206316
0
0
0.037745
0.012089
0
0
0
0.001408
0
1
0.052632
false
0
0.042105
0.004211
0.153684
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7ce35b3e99fb727d7c2e93f64173851978f39e8c
30,955
py
Python
saleor/checkout/tests/test_base_calculations.py
nestfiy/saleor
6fce3bc5c0ca72ac28db99553e6d2b49249c6dac
[ "CC-BY-4.0" ]
null
null
null
saleor/checkout/tests/test_base_calculations.py
nestfiy/saleor
6fce3bc5c0ca72ac28db99553e6d2b49249c6dac
[ "CC-BY-4.0" ]
76
2021-11-01T04:53:42.000Z
2022-03-28T04:51:25.000Z
saleor/checkout/tests/test_base_calculations.py
nestfiy/saleor
6fce3bc5c0ca72ac28db99553e6d2b49249c6dac
[ "CC-BY-4.0" ]
null
null
null
from decimal import Decimal from prices import Money, TaxedMoney from ...discount import DiscountValueType, VoucherType from ...discount.utils import get_product_discount_on_sale from ..base_calculations import ( base_checkout_total, base_tax_rate, calculate_base_line_total_price, calculate_base_line_...
37.475787
88
0.772767
3,791
30,955
5.839093
0.025851
0.098121
0.093965
0.115287
0.970184
0.958077
0.951211
0.946287
0.944028
0.940143
0
0.003468
0.161525
30,955
825
89
37.521212
0.849393
0.020288
0
0.838449
0
0
0.004032
0
0
0
0
0
0.122779
1
0.035541
false
0
0.009693
0
0.045234
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
7ce3c5ddd55aea55c48d0f942c54f7645b346e45
24,690
py
Python
tests/test_date.py
andy-z/ged4py
2270bd8366174dcc98424cc6671bdaecf770fda0
[ "MIT" ]
10
2017-07-25T22:39:34.000Z
2022-03-01T04:40:38.000Z
tests/test_date.py
andy-z/ged4py
2270bd8366174dcc98424cc6671bdaecf770fda0
[ "MIT" ]
20
2018-03-25T10:25:40.000Z
2021-05-02T20:38:48.000Z
tests/test_date.py
andy-z/ged4py
2270bd8366174dcc98424cc6671bdaecf770fda0
[ "MIT" ]
6
2018-04-29T12:45:34.000Z
2021-09-14T14:30:52.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """Tests for `ged4py.date` module.""" import unittest from ged4py.calendar import ( CalendarType, CalendarDate, FrenchDate, GregorianDate, HebrewDate, JulianDate, CalendarDateVisitor ) from ged4py.date import ( DateValue, DateValueAbout, DateValueAfter, DateV...
41.356784
108
0.637708
2,825
24,690
5.540177
0.095221
0.147594
0.127468
0.029519
0.685515
0.588844
0.440419
0.387196
0.343684
0.308223
0
0.067049
0.22981
24,690
596
109
41.426175
0.755995
0.047833
0
0.314943
0
0
0.096256
0
0
0
0
0
0.565517
1
0.075862
false
0
0.006897
0
0.124138
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
7ce3f2fa9ab64a2e056aae0886c6829b2b5285e6
7,722
py
Python
src/quart/local.py
Dunkledore/quart
803c8678b083895f4ece35fccb6aca56e189ee0a
[ "MIT" ]
3
2020-03-31T10:36:31.000Z
2020-04-23T12:01:10.000Z
venv/lib/python3.9/site-packages/quart/local.py
ryanwwest/kademlia
e1e5b84db0a7710cf372663325041850802d55f1
[ "MIT" ]
6
2020-09-05T01:40:23.000Z
2022-03-12T00:40:58.000Z
src/quart/local.py
ccns1/ccns11
d6edfac34fbee06fe974cda007d24a088d31ad30
[ "MIT" ]
1
2020-09-05T00:19:03.000Z
2020-09-05T00:19:03.000Z
from __future__ import annotations import asyncio import copy from contextvars import ContextVar # noqa # contextvars not understood as stdlib from typing import Any # noqa # contextvars not understood as stdlib from typing import Callable, Dict, Optional class TaskLocal: """An object local to the current task...
41.740541
95
0.630536
1,009
7,722
4.22002
0.153617
0.145608
0.232973
0.207609
0.517849
0.463833
0.379286
0.318929
0.267262
0.242837
0
0.027759
0.248899
7,722
184
96
41.967391
0.706379
0.12445
0
0.210526
0
0
0.021687
0
0
0
0
0
0
1
0.118421
false
0
0.039474
0.006579
0.651316
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
1
0
0
3
7ce4682d4472c3403cd709b201e4107d5de073fb
20,891
py
Python
pytorch3dunet/unet3d/predictor.py
searobbersduck/pytorch-3dunet
5bb8ed2b6966b2cd06b1dc676b62d1ad98329305
[ "MIT" ]
null
null
null
pytorch3dunet/unet3d/predictor.py
searobbersduck/pytorch-3dunet
5bb8ed2b6966b2cd06b1dc676b62d1ad98329305
[ "MIT" ]
null
null
null
pytorch3dunet/unet3d/predictor.py
searobbersduck/pytorch-3dunet
5bb8ed2b6966b2cd06b1dc676b62d1ad98329305
[ "MIT" ]
null
null
null
import time import h5py import hdbscan import numpy as np import torch from sklearn.cluster import MeanShift from pytorch3dunet.datasets.hdf5 import SliceBuilder from pytorch3dunet.unet3d.utils import get_logger from pytorch3dunet.unet3d.utils import unpad logger = get_logger('UNet3DPredictor') class _AbstractPred...
49.387707
134
0.631372
2,343
20,891
5.42723
0.160478
0.025165
0.017301
0.022649
0.421595
0.357896
0.341617
0.301274
0.267301
0.240249
0
0.005181
0.297784
20,891
422
135
49.504739
0.861622
0.255756
0
0.269565
0
0.004348
0.111748
0.019515
0
0
0
0.00237
0.004348
1
0.078261
false
0
0.03913
0
0.182609
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7ce4ea0979a0d8bcdfade749e59f8ad94da264f2
3,487
py
Python
var/spack/repos/builtin/packages/visionary-dev-tools/package.py
electronicvisions/spack
d6121eb35b4948f7d8aef7ec7a305a5123a7439e
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
2
2019-02-10T13:47:48.000Z
2019-04-17T13:05:17.000Z
var/spack/repos/builtin/packages/visionary-dev-tools/package.py
einc-eu/spack
15468b92ed21d970c0111ae19144e85e66746433
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
8
2021-05-28T06:39:59.000Z
2022-03-30T15:12:35.000Z
var/spack/repos/builtin/packages/visionary-dev-tools/package.py
einc-eu/spack
15468b92ed21d970c0111ae19144e85e66746433
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
2
2018-04-06T09:04:11.000Z
2020-01-24T12:52:12.000Z
# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) import os.path as osp class VisionaryDevTools(Package): """Developer convenience packages common to all visionary ...
33.854369
124
0.677086
474
3,487
4.805907
0.478903
0.288411
0.125549
0.014925
0.04741
0.04741
0.04741
0.04741
0.04741
0.04741
0
0.024756
0.177516
3,487
102
125
34.186275
0.769526
0.217666
0
0
0
0
0.34507
0.022239
0
0
0
0.009804
0
1
0.012195
false
0
0.012195
0
0.060976
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7ce65373a75b86fe5dcecdc0e2146bc5ea3033e1
3,593
py
Python
extra/convertBAMtoPILFER.py
MartaLoBalastegui/XICRA
74a7e74379c7e1b3fc1360d2c609994e884ee37a
[ "MIT" ]
3
2021-05-16T21:13:22.000Z
2022-01-23T08:47:48.000Z
extra/convertBAMtoPILFER.py
MartaLoBalastegui/XICRA
74a7e74379c7e1b3fc1360d2c609994e884ee37a
[ "MIT" ]
16
2021-03-11T10:51:25.000Z
2022-03-12T01:02:00.000Z
extra/convertBAMtoPILFER.py
MartaLoBalastegui/XICRA
74a7e74379c7e1b3fc1360d2c609994e884ee37a
[ "MIT" ]
3
2021-03-05T10:07:38.000Z
2022-01-23T08:48:06.000Z
#usr/bin/env python ## useful imports import time import io import os import re import sys from sys import argv import subprocess ## ARGV if len (sys.argv) < 5: print ("\nUsage:") print ("python3 %s bam_file folder bedtools_bin samtools_bin logfile\n" %os.path.realpath(__file__)) exit() bam_file = os.path.abspath...
27.219697
138
0.680768
568
3,593
4.146127
0.216549
0.057325
0.057325
0.010191
0.420807
0.318896
0.287473
0.248832
0.212314
0.157537
0
0.013236
0.15892
3,593
131
139
27.427481
0.766049
0.125244
0
0.329787
0
0.021277
0.194668
0.017989
0
0
0
0
0
1
0
false
0
0.074468
0
0.074468
0.170213
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7ce786042f57d81a5644876d6657fee00934ca96
154
py
Python
day7/main5list.py
nikhilsamninan/python-files
15198459081097058a939b40b5e8ef754e578fe0
[ "Apache-2.0" ]
null
null
null
day7/main5list.py
nikhilsamninan/python-files
15198459081097058a939b40b5e8ef754e578fe0
[ "Apache-2.0" ]
null
null
null
day7/main5list.py
nikhilsamninan/python-files
15198459081097058a939b40b5e8ef754e578fe0
[ "Apache-2.0" ]
null
null
null
a="Betty Bought a butter the butter was bitter so betty bought a better butter which was not bitter" v=[a[-1] for a in a.split() if(len(a)%2==0)] print(v)
51.333333
100
0.707792
34
154
3.205882
0.617647
0.201835
0.220183
0
0
0
0
0
0
0
0
0.023077
0.155844
154
3
101
51.333333
0.815385
0
0
0
0
0
0.619355
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
7ce89a8d2a94f66d0921f4dfd7dff6f5d544c025
2,727
py
Python
app/reader.py
lcarnevale/proxy-mqtt2influx
89b3cd354b465d7451556a2d2ec49ac8688b4f17
[ "MIT" ]
null
null
null
app/reader.py
lcarnevale/proxy-mqtt2influx
89b3cd354b465d7451556a2d2ec49ac8688b4f17
[ "MIT" ]
null
null
null
app/reader.py
lcarnevale/proxy-mqtt2influx
89b3cd354b465d7451556a2d2ec49ac8688b4f17
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- #!/usr/bin/env python """Writer class based on InfluxDB This implementation does its best to follow the Robert Martin's Clean code guidelines. The comments follows the Google Python Style Guide: https://github.com/google/styleguide/blob/gh-pages/pyguide.md """ __copyright__ = 'Copyright 2...
32.464286
105
0.604694
293
2,727
5.37884
0.47099
0.022208
0.020305
0.022843
0.032995
0
0
0
0
0
0
0.004128
0.289329
2,727
84
106
32.464286
0.809082
0.10231
0
0
0
0.016949
0.137649
0.018025
0
0
0
0
0
1
0.084746
false
0.016949
0.118644
0
0.220339
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7ce89c46f636fde71ee0a887ac7403a640c90ce5
1,781
py
Python
example_problems/tutorial/tiling_mxn-boards_with_1x2-boards/services/tell_if_tilable/tell_if_tilable_server.py
DottaPaperella/TALight
580322c3121c9acde9827f996fd4e39e31d93a6f
[ "MIT" ]
null
null
null
example_problems/tutorial/tiling_mxn-boards_with_1x2-boards/services/tell_if_tilable/tell_if_tilable_server.py
DottaPaperella/TALight
580322c3121c9acde9827f996fd4e39e31d93a6f
[ "MIT" ]
null
null
null
example_problems/tutorial/tiling_mxn-boards_with_1x2-boards/services/tell_if_tilable/tell_if_tilable_server.py
DottaPaperella/TALight
580322c3121c9acde9827f996fd4e39e31d93a6f
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from sys import stderr, exit, argv from random import randrange #from TALinputs import TALinput from multilanguage import Env, Lang, TALcolors # METADATA OF THIS TAL_SERVICE: problem="tiling_mxn-boards_with_1x2-boards" service="is_tilable" args_list = [ ('m',int), ('n',int), ('my_co...
35.62
242
0.64009
291
1,781
3.831615
0.340206
0.025112
0.03139
0.035874
0.378475
0.378475
0.324664
0.310314
0.191928
0.191928
0
0.006845
0.179674
1,781
49
243
36.346939
0.756331
0.06064
0
0.222222
0
0.111111
0.482014
0.113309
0
0
0
0
0.083333
1
0
false
0
0.083333
0
0.083333
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0