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
ab21105c56263980d75d2b1bb1e9d7beba919be5
884
py
Python
tqcli/config/config.py
Tranquant/tqcli
0cc12e0d80129a14cec8117cd73e2ca69fb25214
[ "Apache-2.0" ]
null
null
null
tqcli/config/config.py
Tranquant/tqcli
0cc12e0d80129a14cec8117cd73e2ca69fb25214
[ "Apache-2.0" ]
null
null
null
tqcli/config/config.py
Tranquant/tqcli
0cc12e0d80129a14cec8117cd73e2ca69fb25214
[ "Apache-2.0" ]
1
2016-08-16T03:43:36.000Z
2016-08-16T03:43:36.000Z
import logging from os.path import expanduser #TQ_API_ROOT_URL = 'http://127.0.1.1:8090/dataset' TQ_API_ROOT_URL = 'http://elb-tranquant-ecs-cluster-tqapi-1919110681.us-west-2.elb.amazonaws.com/dataset' LOG_PATH = expanduser('~/tqcli.log') # the chunk size must be at least 5MB for multipart upload DEFAULT_CHUNK_SIZE ...
30.482759
105
0.745475
133
884
4.879699
0.616541
0.015408
0.027735
0.03698
0.049307
0
0
0
0
0
0
0.041775
0.133484
884
28
106
31.571429
0.805483
0.338235
0
0
0
0.0625
0.277778
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
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
ab21d266138fcacadbe38aeb0f70a2986ce949b2
8,564
py
Python
fqf_iqn_qrdqn/agent/base_agent.py
rainwangphy/fqf-iqn-qrdqn.pytorch
351e9c4722c8b1ed411cd8c1bbf46c93c07f0893
[ "MIT" ]
null
null
null
fqf_iqn_qrdqn/agent/base_agent.py
rainwangphy/fqf-iqn-qrdqn.pytorch
351e9c4722c8b1ed411cd8c1bbf46c93c07f0893
[ "MIT" ]
null
null
null
fqf_iqn_qrdqn/agent/base_agent.py
rainwangphy/fqf-iqn-qrdqn.pytorch
351e9c4722c8b1ed411cd8c1bbf46c93c07f0893
[ "MIT" ]
1
2022-02-14T02:55:01.000Z
2022-02-14T02:55:01.000Z
from abc import ABC, abstractmethod import os import numpy as np import torch from torch.utils.tensorboard import SummaryWriter from fqf_iqn_qrdqn.memory import LazyMultiStepMemory, \ LazyPrioritizedMultiStepMemory from fqf_iqn_qrdqn.utils import RunningMeanStats, LinearAnneaer class BaseAgent(ABC): def __i...
34.119522
79
0.599603
1,062
8,564
4.607345
0.191149
0.02943
0.023912
0.012262
0.241774
0.208257
0.167995
0.167995
0.154711
0.13039
0
0.018038
0.307333
8,564
250
80
34.256
0.806811
0.074498
0
0.185185
0
0
0.032617
0.002781
0
0
0
0
0
1
0.074074
false
0.005291
0.037037
0.005291
0.153439
0.021164
0
0
0
null
0
0
0
0
0
0
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
ab224c0b7dd96b0783239d1ab27b2b04825a3e94
4,122
py
Python
Python/libraries/recognizers-date-time/recognizers_date_time/date_time/italian/timeperiod_extractor_config.py
felaray/Recognizers-Text
f514fd61c8d472ed92565261162712409f655312
[ "MIT" ]
null
null
null
Python/libraries/recognizers-date-time/recognizers_date_time/date_time/italian/timeperiod_extractor_config.py
felaray/Recognizers-Text
f514fd61c8d472ed92565261162712409f655312
[ "MIT" ]
6
2021-12-20T17:13:35.000Z
2022-03-29T08:54:11.000Z
Python/libraries/recognizers-date-time/recognizers_date_time/date_time/italian/timeperiod_extractor_config.py
felaray/Recognizers-Text
f514fd61c8d472ed92565261162712409f655312
[ "MIT" ]
null
null
null
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. from typing import List, Pattern from recognizers_text.utilities import RegExpUtility from recognizers_text.extractor import Extractor from recognizers_number.number.italian.extractors import ItalianIntegerExtractor from ....
37.816514
96
0.743328
419
4,122
6.959427
0.24105
0.037723
0.068587
0.078875
0.34808
0.268176
0.205418
0.141632
0.056927
0.056927
0
0.001201
0.191897
4,122
108
97
38.166667
0.874212
0.021834
0
0.190476
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.142857
0.130952
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
ab2324a100ecb32532716cd76301eba78659a0c1
3,012
py
Python
quartet_condor.py
BotanyHunter/QuartetAnalysis
c9b21aac267718be5ea8a8a76632fc0a3feb8403
[ "MIT" ]
null
null
null
quartet_condor.py
BotanyHunter/QuartetAnalysis
c9b21aac267718be5ea8a8a76632fc0a3feb8403
[ "MIT" ]
null
null
null
quartet_condor.py
BotanyHunter/QuartetAnalysis
c9b21aac267718be5ea8a8a76632fc0a3feb8403
[ "MIT" ]
null
null
null
#quartet_condor.py #version 2.0.2 import random, sys def addToDict(d): ''' Ensures each quartet has three concordance factors (CFs) a dictionary d has less than three CFs, add CFs with the value 0 until there are three Input: a dictionary containing CFs, a counter of how many CFs are in the dictionar...
33.466667
98
0.537849
399
3,012
4.02005
0.310777
0.0399
0.011222
0.013092
0.078554
0.066085
0
0
0
0
0
0.029366
0.355578
3,012
89
99
33.842697
0.797012
0.338645
0
0.081633
0
0
0.040773
0
0
0
0
0
0
1
0.081633
false
0
0.020408
0
0.163265
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
ab24554d8fbfa3bde2693fe79ec073ac02c9f577
177
py
Python
src/profiles/forms.py
rahulroshan96/CloudVisual
aa33709d88442bcdbe3229234b4eb4f9abb4481e
[ "MIT", "Unlicense" ]
null
null
null
src/profiles/forms.py
rahulroshan96/CloudVisual
aa33709d88442bcdbe3229234b4eb4f9abb4481e
[ "MIT", "Unlicense" ]
4
2020-06-05T19:43:52.000Z
2021-06-01T23:15:44.000Z
src/profiles/forms.py
rahulroshan96/CloudVisual
aa33709d88442bcdbe3229234b4eb4f9abb4481e
[ "MIT", "Unlicense" ]
null
null
null
from django import forms from models import UserInputModel class UserInputForm(forms.ModelForm): class Meta: model = UserInputModel fields = ['user_input']
22.125
37
0.717514
19
177
6.631579
0.736842
0
0
0
0
0
0
0
0
0
0
0
0.220339
177
8
38
22.125
0.913043
0
0
0
0
0
0.05618
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
ab253b2fa27d701106a981880d15472309de60c1
2,379
py
Python
tests_oval_graph/test_arf_xml_parser/test_arf_xml_parser.py
Honny1/oval-graph
96472a9d2b08c2afce620c54f229ce95ad019d1f
[ "Apache-2.0" ]
21
2019-08-01T09:09:25.000Z
2020-09-27T10:00:09.000Z
tests_oval_graph/test_arf_xml_parser/test_arf_xml_parser.py
Honny1/oval-graph
96472a9d2b08c2afce620c54f229ce95ad019d1f
[ "Apache-2.0" ]
129
2019-08-04T19:06:24.000Z
2020-10-03T10:02:26.000Z
tests_oval_graph/test_arf_xml_parser/test_arf_xml_parser.py
Honny1/oval-graph
96472a9d2b08c2afce620c54f229ce95ad019d1f
[ "Apache-2.0" ]
11
2019-08-07T08:53:54.000Z
2020-10-02T22:02:38.000Z
from pathlib import Path import pytest from oval_graph.arf_xml_parser.arf_xml_parser import ARFXMLParser def get_arf_report_path(src="global_test_data/ssg-fedora-ds-arf.xml"): return str(Path(__file__).parent.parent / src) @pytest.mark.parametrize("rule_id, result", [ ( "xccdf_org.ssgproject.conte...
30.896104
93
0.721732
307
2,379
5.13355
0.355049
0.055838
0.125635
0.174492
0.478426
0.274746
0.195431
0.195431
0.100254
0.100254
0
0.001518
0.169399
2,379
76
94
31.302632
0.796053
0
0
0.370968
0
0
0.411517
0.352669
0
0
0
0
0.064516
1
0.080645
false
0.016129
0.048387
0.016129
0.145161
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ab2601bcecd2c5b5f36345a106f14a3b9c2ff88d
5,668
py
Python
main.py
scottjr632/trump-twitter-bot
484b1324d752395338b0a9e5850acf294089b26f
[ "MIT" ]
null
null
null
main.py
scottjr632/trump-twitter-bot
484b1324d752395338b0a9e5850acf294089b26f
[ "MIT" ]
null
null
null
main.py
scottjr632/trump-twitter-bot
484b1324d752395338b0a9e5850acf294089b26f
[ "MIT" ]
null
null
null
import os import logging import argparse import sys import signal import subprocess from functools import wraps from dotenv import load_dotenv load_dotenv(verbose=True) from app.config import configure_app from app.bot import TrumpBotScheduler from app.sentimentbot import SentimentBot parser = argparse.ArgumentParse...
27.64878
106
0.657728
733
5,668
4.792633
0.255116
0.045545
0.036436
0.018218
0.249929
0.2078
0.16567
0.16567
0.16567
0.154284
0
0.003433
0.229181
5,668
204
107
27.784314
0.800641
0.055575
0
0.102941
0
0
0.110716
0.003927
0
0
0
0
0
1
0.117647
false
0
0.088235
0.022059
0.264706
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
ab27a7af29a41d40eec1afd58d05fca20bfc3c8b
691
py
Python
010-summation-of-primes.py
dendi239/euler
71fcdca4a80f9e586aab05eb8acadf1a296dda90
[ "MIT" ]
null
null
null
010-summation-of-primes.py
dendi239/euler
71fcdca4a80f9e586aab05eb8acadf1a296dda90
[ "MIT" ]
null
null
null
010-summation-of-primes.py
dendi239/euler
71fcdca4a80f9e586aab05eb8acadf1a296dda90
[ "MIT" ]
null
null
null
#! /usr/bin/env python3 import itertools import typing as tp def primes() -> tp.Generator[int, None, None]: primes_ = [] d = 2 while True: is_prime = True for p in primes_: if p * p > d: break if d % p == 0: is_prime = False ...
16.452381
62
0.51809
92
691
3.641304
0.5
0.062687
0.125373
0
0
0
0
0
0
0
0
0.034483
0.370478
691
41
63
16.853659
0.735632
0.031838
0
0.08
0
0
0.011976
0
0
0
0
0
0.04
1
0.16
false
0
0.08
0.04
0.28
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
ab27ed4a158779f6beba16216ad31870fa98bf95
11,368
py
Python
setup.py
letmaik/lensfunpy
ddadb6bfd5f3acde5640210aa9f575501e5c0914
[ "MIT" ]
94
2016-08-24T21:52:40.000Z
2022-03-05T07:17:21.000Z
setup.py
letmaik/lensfunpy
ddadb6bfd5f3acde5640210aa9f575501e5c0914
[ "MIT" ]
22
2016-10-21T07:15:21.000Z
2021-09-20T13:41:02.000Z
setup.py
letmaik/lensfunpy
ddadb6bfd5f3acde5640210aa9f575501e5c0914
[ "MIT" ]
11
2016-12-12T03:14:07.000Z
2021-05-06T17:47:30.000Z
from setuptools import setup, Extension, find_packages import subprocess import errno import re import os import shutil import sys import zipfile from urllib.request import urlretrieve import numpy from Cython.Build import cythonize isWindows = os.name == 'nt' isMac = sys.platform == 'darwin' is64Bit = sys.maxsize...
37.518152
125
0.616555
1,407
11,368
4.832978
0.292111
0.023824
0.019118
0.012941
0.161765
0.123529
0.081765
0.065588
0.065588
0.065588
0
0.009507
0.259764
11,368
302
126
37.642384
0.798574
0.155084
0
0.159292
0
0.004425
0.235835
0.047773
0
0
0
0
0.004425
1
0.026549
false
0
0.053097
0
0.079646
0.035398
0
0
0
null
0
0
0
0
0
0
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
ab2a38bd32faf647f78849a772f13ad447eb6e18
2,144
py
Python
chapter_13/mailtools/__init__.py
bimri/programming_python
ba52ccd18b9b4e6c5387bf4032f381ae816b5e77
[ "MIT" ]
null
null
null
chapter_13/mailtools/__init__.py
bimri/programming_python
ba52ccd18b9b4e6c5387bf4032f381ae816b5e77
[ "MIT" ]
null
null
null
chapter_13/mailtools/__init__.py
bimri/programming_python
ba52ccd18b9b4e6c5387bf4032f381ae816b5e77
[ "MIT" ]
null
null
null
"The mailtools Utility Package" 'Initialization File' """ ################################################################################## mailtools package: interface to mail server transfers, used by pymail2, PyMailGUI, and PyMailCGI; does loads, sends, parsing, composing, and deleting, with part attachments, e...
51.047619
83
0.718284
301
2,144
5.10299
0.584718
0.005208
0.019531
0
0
0
0
0
0
0
0
0.004432
0.158116
2,144
41
84
52.292683
0.846537
0.139459
0
0
0
0
0.369159
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
ab2add18b201d727e235b13fba3fa52b34c35680
404
py
Python
TreeModelLib/BelowgroundCompetition/__init__.py
jvollhueter/pyMANGA-1
414204a394d44405225b4b8224b19464c1006f1d
[ "MIT" ]
null
null
null
TreeModelLib/BelowgroundCompetition/__init__.py
jvollhueter/pyMANGA-1
414204a394d44405225b4b8224b19464c1006f1d
[ "MIT" ]
null
null
null
TreeModelLib/BelowgroundCompetition/__init__.py
jvollhueter/pyMANGA-1
414204a394d44405225b4b8224b19464c1006f1d
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Nov 8 15:25:03 2018 @author: bathmann """ from .BelowgroundCompetition import BelowgroundCompetition from .SimpleTest import SimpleTest from .FON import FON from .OGSWithoutFeedback import OGSWithoutFeedback from .OGSLargeScale3D import OGSLargeScale3...
25.25
58
0.799505
47
404
6.87234
0.595745
0
0
0
0
0
0
0
0
0
0
0.042254
0.121287
404
15
59
26.933333
0.867606
0.242574
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
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
1
0
1
0
0
0
0
2
ab2b3845336cbc9c2cd653a367ec0d03b0cfffa6
223
py
Python
server.py
SDelhey/websocket-chat
c7b83583007a723baee25acedbceddd55c12ffec
[ "MIT" ]
null
null
null
server.py
SDelhey/websocket-chat
c7b83583007a723baee25acedbceddd55c12ffec
[ "MIT" ]
null
null
null
server.py
SDelhey/websocket-chat
c7b83583007a723baee25acedbceddd55c12ffec
[ "MIT" ]
null
null
null
from flask import Flask, render_template from flask_socketio import SocketIO, send, emit app = Flask(__name__) app.config['SECRET_KEY'] = 'secret!' socketio = SocketIO(app) if __name__ == '__main__': socketio.run(app)
24.777778
47
0.748879
30
223
5.066667
0.533333
0.118421
0
0
0
0
0
0
0
0
0
0
0.134529
223
9
48
24.777778
0.787565
0
0
0
0
0
0.111607
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ab2c89bde44269f1533806cfa45910e25d77ed66
2,771
py
Python
services/postprocess/src/postprocess.py
hadarohana/myCosmos
6e4682a2af822eb828180658aaa6d3e304cc85bf
[ "Apache-2.0" ]
null
null
null
services/postprocess/src/postprocess.py
hadarohana/myCosmos
6e4682a2af822eb828180658aaa6d3e304cc85bf
[ "Apache-2.0" ]
5
2020-01-28T23:13:10.000Z
2022-02-10T00:28:15.000Z
services/postprocess/src/postprocess.py
hadarohana/myCosmos
6e4682a2af822eb828180658aaa6d3e304cc85bf
[ "Apache-2.0" ]
1
2021-03-10T19:25:44.000Z
2021-03-10T19:25:44.000Z
""" Post processing on detected objects """ import pymongo from pymongo import MongoClient import time import logging logging.basicConfig(format='%(levelname)s :: %(asctime)s :: %(message)s', level=logging.DEBUG) from joblib import Parallel, delayed import click from xgboost_model.inference import run_inference, Postpr...
37.445946
111
0.616745
325
2,771
5.049231
0.381538
0.040219
0.025594
0.032907
0.092626
0
0
0
0
0
0
0.002473
0.2703
2,771
73
112
37.958904
0.8091
0.012631
0
0.15
0
0
0.198381
0.008097
0
0
0
0
0
1
0.083333
false
0
0.133333
0
0.233333
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
ab2d00e90fa00656e5b245ed372443c5a0686b39
2,619
py
Python
model-optimizer/mo/front/common/partial_infer/multi_box_prior_test.py
calvinfeng/openvino
11f591c16852637506b1b40d083b450e56d0c8ac
[ "Apache-2.0" ]
null
null
null
model-optimizer/mo/front/common/partial_infer/multi_box_prior_test.py
calvinfeng/openvino
11f591c16852637506b1b40d083b450e56d0c8ac
[ "Apache-2.0" ]
19
2021-03-26T08:11:00.000Z
2022-02-21T13:06:26.000Z
model-optimizer/mo/front/common/partial_infer/multi_box_prior_test.py
calvinfeng/openvino
11f591c16852637506b1b40d083b450e56d0c8ac
[ "Apache-2.0" ]
1
2021-07-28T17:30:46.000Z
2021-07-28T17:30:46.000Z
""" Copyright (C) 2018-2021 Intel Corporation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to i...
44.389831
112
0.583047
355
2,619
4.095775
0.352113
0.055021
0.089409
0.081843
0.289546
0.220083
0.094911
0.044017
0.044017
0.044017
0
0.066738
0.284842
2,619
58
113
45.155172
0.709557
0.216495
0
0
0
0
0.126844
0
0
0
0
0
0.176471
1
0.029412
false
0
0.147059
0
0.205882
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
ab2d830b247e5d1c87b1cc476939c72b7371cdbc
10,997
py
Python
bin/mem_monitor.py
Samahu/ros-system-monitor
5376eba046ac38cfe8fe9ff8b385fa2637015eda
[ "BSD-3-Clause" ]
68
2016-02-07T00:35:25.000Z
2022-03-22T11:14:16.000Z
bin/mem_monitor.py
Samahu/ros-system-monitor
5376eba046ac38cfe8fe9ff8b385fa2637015eda
[ "BSD-3-Clause" ]
5
2016-04-12T14:29:51.000Z
2021-08-04T12:55:59.000Z
bin/mem_monitor.py
Samahu/ros-system-monitor
5376eba046ac38cfe8fe9ff8b385fa2637015eda
[ "BSD-3-Clause" ]
62
2015-08-09T23:17:16.000Z
2022-02-11T18:24:30.000Z
#!/usr/bin/env python ############################################################################ # Copyright (C) 2009, Willow Garage, Inc. # # Copyright (C) 2013 by Ralf Kaestner # # ralf.kaestner@gmail.com ...
41.973282
102
0.555606
1,197
10,997
4.908104
0.249791
0.033702
0.040851
0.046979
0.234043
0.166809
0.144
0.076255
0.076255
0.076255
0
0.00979
0.340547
10,997
261
103
42.1341
0.800331
0.256252
0
0.186047
0
0
0.087192
0
0
0
0
0
0
0
null
null
0.005814
0.069767
null
null
0.011628
0
0
0
null
0
0
0
0
0
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
ab2dd4e23245d0ab9d1e255dfa3fc732936ba5f1
4,557
py
Python
cmake/utils/gen-ninja-deps.py
stamhe/bitcoin-abc
a1ba303c6b4f164ae94612e83b824e564405a96e
[ "MIT" ]
1,266
2017-05-02T07:02:29.000Z
2022-03-31T17:15:44.000Z
cmake/utils/gen-ninja-deps.py
EGYVOICE/bitcoin-abc-avalanche
e0f1fe857e1fc85f01903f1c323c2d5c54aecc1c
[ "MIT" ]
426
2017-05-07T12:40:52.000Z
2022-03-29T18:12:01.000Z
cmake/utils/gen-ninja-deps.py
EGYVOICE/bitcoin-abc-avalanche
e0f1fe857e1fc85f01903f1c323c2d5c54aecc1c
[ "MIT" ]
721
2017-05-07T10:36:11.000Z
2022-03-15T09:07:48.000Z
#!/usr/bin/env python3 import argparse import os import subprocess parser = argparse.ArgumentParser(description='Produce a dep file from ninja.') parser.add_argument( '--build-dir', help='The build directory.', required=True) parser.add_argument( '--base-dir', help='The directory for which depende...
25.038462
79
0.577354
605
4,557
4.256198
0.261157
0.031068
0.039612
0.030291
0.112233
0.024078
0.024078
0.024078
0.024078
0.024078
0
0.009031
0.29537
4,557
181
80
25.176796
0.792899
0.062541
0
0.214876
0
0
0.104796
0
0
0
0
0
0.016529
1
0.041322
false
0
0.024793
0
0.115702
0.008264
0
0
0
null
0
0
0
0
0
0
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
ab30352abcf50690534a3f85202149cd132e631c
46
py
Python
src/webpy1/src/manage/checkPic.py
ptphp/PyLib
07ac99cf2deb725475f5771b123b9ea1375f5e65
[ "Apache-2.0" ]
1
2020-02-17T08:18:29.000Z
2020-02-17T08:18:29.000Z
src/webpy1/src/manage/checkPic.py
ptphp/PyLib
07ac99cf2deb725475f5771b123b9ea1375f5e65
[ "Apache-2.0" ]
null
null
null
src/webpy1/src/manage/checkPic.py
ptphp/PyLib
07ac99cf2deb725475f5771b123b9ea1375f5e65
[ "Apache-2.0" ]
null
null
null
''' Created on 2011-6-22 @author: dholer '''
7.666667
20
0.608696
7
46
4
1
0
0
0
0
0
0
0
0
0
0
0.184211
0.173913
46
5
21
9.2
0.552632
0.804348
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
ab30973f8a964fee614a5ec7df1f83c6a91d145f
122
py
Python
tests/__init__.py
coleb/sendoff
fc1b38ba7571254a88ca457f6f618ae4572f30b6
[ "MIT" ]
2
2021-09-28T09:53:53.000Z
2021-10-01T17:45:29.000Z
tests/__init__.py
coleb/sendoff
fc1b38ba7571254a88ca457f6f618ae4572f30b6
[ "MIT" ]
10
2021-09-17T22:14:37.000Z
2022-03-21T16:25:39.000Z
tests/__init__.py
coleb/sendoff
fc1b38ba7571254a88ca457f6f618ae4572f30b6
[ "MIT" ]
1
2021-09-27T15:55:40.000Z
2021-09-27T15:55:40.000Z
"""Tests for the `sendoff` library.""" """ The `sendoff` library tests validate the expected function of the library. """
24.4
74
0.704918
16
122
5.375
0.5625
0.232558
0.395349
0
0
0
0
0
0
0
0
0
0.147541
122
4
75
30.5
0.826923
0.262295
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
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
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
ab30b98300e549b0e8401f690d6ee36c03180fdb
2,493
py
Python
sysinv/sysinv/sysinv/sysinv/helm/garbd.py
Wind-River/starlingx-config
96b92e5179d54dde10cb84c943eb239adf26b958
[ "Apache-2.0" ]
null
null
null
sysinv/sysinv/sysinv/sysinv/helm/garbd.py
Wind-River/starlingx-config
96b92e5179d54dde10cb84c943eb239adf26b958
[ "Apache-2.0" ]
null
null
null
sysinv/sysinv/sysinv/sysinv/helm/garbd.py
Wind-River/starlingx-config
96b92e5179d54dde10cb84c943eb239adf26b958
[ "Apache-2.0" ]
null
null
null
# # Copyright (c) 2018-2019 Wind River Systems, Inc. # # SPDX-License-Identifier: Apache-2.0 # from sysinv.common import constants from sysinv.common import exception from sysinv.common import utils from sysinv.helm import common from sysinv.helm import base class GarbdHelm(base.BaseHelm): """Class to encapsulat...
37.208955
80
0.649017
298
2,493
5.258389
0.416107
0.03829
0.030632
0.053606
0.098277
0.066369
0.066369
0.066369
0
0
0
0.006749
0.286803
2,493
66
81
37.772727
0.874578
0.257521
0
0.04878
0
0
0
0
0
0
0
0
0
1
0.073171
false
0
0.121951
0
0.390244
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
ab313db7c6b7e6135aaa8212f15c08dfe29e2372
1,280
py
Python
dataloader/frame_counter/frame_counter.py
aaron-zou/pretraining-twostream
5aa2f4bafb731e61f8f671e2500a6dfa8436be57
[ "MIT" ]
null
null
null
dataloader/frame_counter/frame_counter.py
aaron-zou/pretraining-twostream
5aa2f4bafb731e61f8f671e2500a6dfa8436be57
[ "MIT" ]
null
null
null
dataloader/frame_counter/frame_counter.py
aaron-zou/pretraining-twostream
5aa2f4bafb731e61f8f671e2500a6dfa8436be57
[ "MIT" ]
null
null
null
#!/usr/bin/env python """Generate frame counts dict for a dataset. Usage: frame_counter.py [options] Options: -h, --help Print help message --root=<str> Path to root of dataset (should contain video folders that contain images) [default: /vision/vision_users/azou/data/hmdb5...
27.826087
102
0.625
165
1,280
4.690909
0.521212
0.041344
0.031008
0
0
0
0
0
0
0
0
0.003171
0.260938
1,280
45
103
28.444444
0.815011
0.432031
0
0
1
0
0.085315
0
0
0
0
0
0
1
0
false
0
0.238095
0
0.238095
0.190476
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ab32101612714ab2b6b04c378a7a5646daa96906
155
py
Python
Problem_30/main.py
jdalzatec/EulerProject
2f2f4d9c009be7fd63bb229bb437ea75db77d891
[ "MIT" ]
1
2022-03-28T05:32:58.000Z
2022-03-28T05:32:58.000Z
Problem_30/main.py
jdalzatec/EulerProject
2f2f4d9c009be7fd63bb229bb437ea75db77d891
[ "MIT" ]
null
null
null
Problem_30/main.py
jdalzatec/EulerProject
2f2f4d9c009be7fd63bb229bb437ea75db77d891
[ "MIT" ]
null
null
null
total = 0 for n in range(1000, 1000000): suma = 0 for i in str(n): suma += int(i)**5 if (n == suma): total += n print(total)
14.090909
30
0.483871
26
155
2.884615
0.576923
0.106667
0
0
0
0
0
0
0
0
0
0.141414
0.36129
155
11
31
14.090909
0.616162
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.125
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ab33de96dbc34b33ac4aed99648c2c63749addef
8,913
py
Python
armi/physics/fuelCycle/settings.py
celikten/armi
4e100dd514a59caa9c502bd5a0967fd77fdaf00e
[ "Apache-2.0" ]
1
2021-05-29T16:02:31.000Z
2021-05-29T16:02:31.000Z
armi/physics/fuelCycle/settings.py
celikten/armi
4e100dd514a59caa9c502bd5a0967fd77fdaf00e
[ "Apache-2.0" ]
null
null
null
armi/physics/fuelCycle/settings.py
celikten/armi
4e100dd514a59caa9c502bd5a0967fd77fdaf00e
[ "Apache-2.0" ]
null
null
null
"""Settings for generic fuel cycle code.""" import re import os from armi.settings import setting from armi.operators import settingsValidation CONF_ASSEMBLY_ROTATION_ALG = "assemblyRotationAlgorithm" CONF_ASSEM_ROTATION_STATIONARY = "assemblyRotationStationary" CONF_CIRCULAR_RING_MODE = "circularRingMode" CONF_CIRCU...
39.092105
106
0.574554
903
8,913
5.575858
0.349945
0.028401
0.054816
0.004965
0.178749
0.079245
0.060377
0.055214
0.027011
0
0
0.007961
0.309436
8,913
227
107
39.264317
0.810073
0.099181
0
0.299492
0
0.020305
0.3502
0.079835
0
0
0
0
0
1
0.025381
false
0
0.045685
0
0.086294
0.005076
0
0
0
null
0
0
0
0
0
0
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
ab36c71fdbd365804953a57202728144c1db7c55
628
py
Python
nl/predictor.py
jclosure/donkus
b3384447094b2ecbaff5ee9d970818313b6ee8b0
[ "MIT" ]
1
2015-01-16T01:04:39.000Z
2015-01-16T01:04:39.000Z
nl/predictor.py
jclosure/donkus
b3384447094b2ecbaff5ee9d970818313b6ee8b0
[ "MIT" ]
null
null
null
nl/predictor.py
jclosure/donkus
b3384447094b2ecbaff5ee9d970818313b6ee8b0
[ "MIT" ]
null
null
null
from nltk.corpus import gutenberg from nltk import ConditionalFreqDist from random import choice #create the distribution object cfd = ConditionalFreqDist() ## for each token count the current word given the previous word prev_word = None for word in gutenberg.words('austen-persuasion.txt'): cfd[prev_word][word]...
22.428571
73
0.716561
91
628
4.912088
0.549451
0.053691
0.053691
0
0
0
0
0
0
0
0
0.01
0.203822
628
27
74
23.259259
0.884
0.335987
0
0
0
0
0.073529
0.051471
0
0
0
0
0
0
null
null
0
0.1875
null
null
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ab36d85f43aaa15a75066ac03e9bf9c7135fde35
893
py
Python
eve/workers/pykmip/bin/run_server.py
mmg-3/cloudserver
9ff6364b2ed4f33a5135d86311a72de4caff51c1
[ "Apache-2.0" ]
762
2016-06-08T19:51:51.000Z
2018-08-02T09:05:38.000Z
eve/workers/pykmip/bin/run_server.py
mmg-3/cloudserver
9ff6364b2ed4f33a5135d86311a72de4caff51c1
[ "Apache-2.0" ]
1,252
2018-08-03T18:27:31.000Z
2022-03-31T20:22:55.000Z
eve/workers/pykmip/bin/run_server.py
mmg-3/cloudserver
9ff6364b2ed4f33a5135d86311a72de4caff51c1
[ "Apache-2.0" ]
170
2016-06-14T17:09:39.000Z
2018-06-30T12:48:19.000Z
#!/usr/bin/env python # Copyright (c) 2016 The Johns Hopkins University/Applied Physics Laboratory # 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.ap...
33.074074
76
0.75252
135
893
4.918519
0.688889
0.090361
0.039157
0.048193
0
0
0
0
0
0
0
0.029491
0.164614
893
26
77
34.346154
0.86059
0.737962
0
0
0
0
0.211982
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
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
1
0
1
0
0
0
0
2
ab37e16ef4016e52fa0dab454a286037abc7c623
889
py
Python
tests/test_tempo_event.py
yokaze/crest-python
c246b16ade6fd706f0e18aae797660064bddd555
[ "MIT" ]
null
null
null
tests/test_tempo_event.py
yokaze/crest-python
c246b16ade6fd706f0e18aae797660064bddd555
[ "MIT" ]
null
null
null
tests/test_tempo_event.py
yokaze/crest-python
c246b16ade6fd706f0e18aae797660064bddd555
[ "MIT" ]
null
null
null
# # test_tempo_event.py # crest-python # # Copyright (C) 2017 Rue Yokaze # Distributed under the MIT License. # import crest_loader import unittest from crest.events.meta import TempoEvent class TestTempoEvent(unittest.TestCase): def test_ctor(self): TempoEvent() TempoEvent(120) def t...
24.694444
75
0.662542
103
889
5.582524
0.475728
0.182609
0.21913
0.109565
0.224348
0.224348
0.132174
0
0
0
0
0.092375
0.232846
889
35
76
25.4
0.750733
0.115861
0
0.090909
0
0
0.010309
0
0
0
0.030928
0
0.318182
1
0.136364
false
0
0.136364
0
0.318182
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ab386b22c54d5affe44957aab20ea4dc3913a866
1,159
py
Python
tensorflow_quantum/python/differentiators/__init__.py
PyJedi/quantum
3f4a3c320e048b8a8faf3a10339975d2d5366fb6
[ "Apache-2.0" ]
1,501
2020-03-09T00:40:31.000Z
2022-03-28T19:59:57.000Z
tensorflow_quantum/python/differentiators/__init__.py
tappinganalytics/quantum
ef3a34341d997d485a7e43335a8ed61a8e7c6ea6
[ "Apache-2.0" ]
381
2020-03-09T18:31:04.000Z
2022-03-28T18:47:32.000Z
tensorflow_quantum/python/differentiators/__init__.py
tappinganalytics/quantum
ef3a34341d997d485a7e43335a8ed61a8e7c6ea6
[ "Apache-2.0" ]
410
2020-03-09T03:05:48.000Z
2022-03-31T12:08:14.000Z
# Copyright 2020 The TensorFlow Quantum 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...
37.387097
80
0.729077
136
1,159
6.169118
0.617647
0.071514
0.100119
0.128725
0.200238
0
0
0
0
0
0
0.008016
0.138913
1,159
30
81
38.633333
0.832665
0.614323
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.363636
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
1
0
1
0
0
0
0
2
ab38ae2d8c17a7a5df07314f47034bda8a636085
3,845
py
Python
tests/test_color_background.py
erykoff/redmapper
23fb66c7369de784c67ce6c41ada2f1f51a84acb
[ "Apache-2.0" ]
17
2016-03-06T07:51:02.000Z
2022-02-03T15:17:26.000Z
tests/test_color_background.py
erykoff/redmapper
23fb66c7369de784c67ce6c41ada2f1f51a84acb
[ "Apache-2.0" ]
42
2016-07-27T20:48:20.000Z
2022-01-31T20:47:51.000Z
tests/test_color_background.py
erykoff/redmapper
23fb66c7369de784c67ce6c41ada2f1f51a84acb
[ "Apache-2.0" ]
8
2017-01-26T01:38:41.000Z
2020-11-14T07:41:53.000Z
import unittest import numpy.testing as testing import numpy as np import fitsio import tempfile import os from redmapper import ColorBackground from redmapper import ColorBackgroundGenerator from redmapper import Configuration class ColorBackgroundTestCase(unittest.TestCase): """ Tests for the redmapper.Colo...
34.954545
98
0.635371
512
3,845
4.572266
0.333984
0.041862
0.073046
0.092268
0.337035
0.268689
0.251602
0.16446
0.16446
0.140111
0
0.086942
0.237191
3,845
109
99
35.275229
0.711217
0.277503
0
0
0
0
0.025545
0
0
0
0
0
0.111111
1
0.018519
false
0
0.166667
0
0.203704
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
ab392fd8e80c256d42ff5f34b47b1e8775e1c4cb
33,538
py
Python
src/metpy/calc/basic.py
Exi666/MetPy
c3cf8b9855e0ce7c14347e9d000fc3d531a18e1c
[ "BSD-3-Clause" ]
null
null
null
src/metpy/calc/basic.py
Exi666/MetPy
c3cf8b9855e0ce7c14347e9d000fc3d531a18e1c
[ "BSD-3-Clause" ]
null
null
null
src/metpy/calc/basic.py
Exi666/MetPy
c3cf8b9855e0ce7c14347e9d000fc3d531a18e1c
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) 2008,2015,2016,2017,2018,2019 MetPy Developers. # Distributed under the terms of the BSD 3-Clause License. # SPDX-License-Identifier: BSD-3-Clause """Contains a collection of basic calculations. These include: * wind components * heat index * windchill """ import warnings import numpy as np from scip...
33.945344
94
0.653706
4,568
33,538
4.720884
0.168783
0.028379
0.022258
0.025041
0.40793
0.363552
0.334338
0.27744
0.255646
0.217065
0
0.037713
0.245751
33,538
987
95
33.979737
0.814793
0.638649
0
0.254902
0
0
0.058806
0
0
0
0
0
0
1
0.07451
false
0.011765
0.027451
0
0.180392
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
ab3a2dd3958eeed0683e138275086ab9243b7a2e
1,525
py
Python
burl/core/api/views.py
wryfi/burl
664878ce9a31695456be89c8e10e8bb612074ef6
[ "MIT" ]
1
2021-02-07T21:48:59.000Z
2021-02-07T21:48:59.000Z
burl/core/api/views.py
wryfi/burl
664878ce9a31695456be89c8e10e8bb612074ef6
[ "MIT" ]
16
2020-03-24T16:53:30.000Z
2022-03-15T17:46:59.000Z
burl/core/api/views.py
wryfi/burl
664878ce9a31695456be89c8e10e8bb612074ef6
[ "MIT" ]
null
null
null
from rest_framework.response import Response from rest_framework.decorators import api_view from rest_framework.reverse import reverse from rest_framework_simplejwt.tokens import RefreshToken @api_view(['GET']) def root(request, fmt=None): return Response({ 'v1': reverse('api_v1:root', request=request, fo...
29.901961
92
0.688525
186
1,525
5.446237
0.231183
0.096742
0.071076
0.136229
0.154985
0.124383
0
0
0
0
0
0.013578
0.179016
1,525
50
93
30.5
0.795527
0
0
0.125
0
0
0.152131
0.019672
0
0
0
0
0
1
0.125
false
0
0.1
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
0
0
0
0
0
1
0
ab3b3b45e085df872dae2584e5093ac10afc0c16
1,296
py
Python
ITmeetups_back/api/serializers.py
RomulusGwelt/AngularProject
acc7083f30b1edf002da8d156be023d2432a05e4
[ "MIT" ]
3
2019-02-28T15:20:24.000Z
2019-03-02T18:33:23.000Z
ITmeetups_back/api/serializers.py
RomulusGwelt/AngularProject
acc7083f30b1edf002da8d156be023d2432a05e4
[ "MIT" ]
7
2020-07-17T01:18:53.000Z
2022-02-17T22:49:16.000Z
ITmeetups_back/api/serializers.py
RomulusGwelt/AngularProject
acc7083f30b1edf002da8d156be023d2432a05e4
[ "MIT" ]
1
2019-03-03T02:45:55.000Z
2019-03-03T02:45:55.000Z
from rest_framework import serializers from .models import Post, Comment, Like from django.contrib.auth.models import User class CurrentUserSerializer(serializers.ModelSerializer): class Meta: model = User fields = ('id', 'username', 'email') class PostSerializer(serializers.ModelSerializer): ...
24
62
0.655864
120
1,296
7.033333
0.258333
0.184834
0.099526
0.302133
0.638626
0.638626
0.638626
0.638626
0.638626
0.540284
0
0.002002
0.229167
1,296
53
63
24.45283
0.842843
0
0
0.6
0
0
0.102703
0
0
0
0
0
0
1
0
false
0
0.085714
0
0.657143
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
ab3e250f158b4ed0173fe7715ee2559fe186d522
1,879
py
Python
qurator/sbb_ned/embeddings/bert.py
qurator-spk/sbb_ned
d4cfe249f72e48913f254a58fbe0dbe6e47bd168
[ "Apache-2.0" ]
6
2020-09-05T16:08:59.000Z
2022-03-05T00:54:47.000Z
qurator/sbb_ned/embeddings/bert.py
qurator-spk/sbb_ned
d4cfe249f72e48913f254a58fbe0dbe6e47bd168
[ "Apache-2.0" ]
6
2020-09-23T17:58:37.000Z
2022-03-10T14:02:09.000Z
qurator/sbb_ned/embeddings/bert.py
qurator-spk/sbb_ned
d4cfe249f72e48913f254a58fbe0dbe6e47bd168
[ "Apache-2.0" ]
2
2021-03-22T00:12:51.000Z
2022-01-31T10:04:08.000Z
from ..embeddings.base import Embeddings from flair.data import Sentence class BertEmbeddings(Embeddings): def __init__(self, model_path, layers="-1, -2, -3, -4", pooling_operation='first', use_scalar_mix=True, no_cuda=False, *args, **kwargs): super(BertEmbeddings, self).__init__(*args...
29.359375
122
0.585418
198
1,879
5.227273
0.343434
0.092754
0.069565
0.046377
0.10628
0.061836
0
0
0
0
0
0.003152
0.324641
1,879
63
123
29.825397
0.812451
0.018627
0
0
0
0
0.040174
0.02063
0
0
0
0
0
1
0.105263
false
0
0.131579
0.026316
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
0
0
0
0
0
1
0
ab3e8587e5794a9e3b079ba7743bbea191efe88d
66,791
py
Python
Arbitrage_Future/Arbitrage_Future/test.py
ronaldzgithub/CryptoArbitrage
b4b7a12b7b11f3dcf950f9d2039dad4f1388530b
[ "MIT" ]
1
2021-11-03T06:16:16.000Z
2021-11-03T06:16:16.000Z
Arbitrage_Future/Arbitrage_Future/test.py
benno0810/CryptoArbitrage
b4b7a12b7b11f3dcf950f9d2039dad4f1388530b
[ "MIT" ]
null
null
null
Arbitrage_Future/Arbitrage_Future/test.py
benno0810/CryptoArbitrage
b4b7a12b7b11f3dcf950f9d2039dad4f1388530b
[ "MIT" ]
2
2021-05-07T09:11:54.000Z
2021-11-27T16:29:10.000Z
# !/usr/local/bin/python # -*- coding:utf-8 -*- import YunBi import CNBTC import json import threading import Queue import time import logging import numpy import message import random open_platform = [True,True,True,True] numpy.set_printoptions(suppress=True) # logging.basicConfig(level=logging.DEBUG, # ...
45.74726
245
0.561558
8,463
66,791
4.174406
0.043956
0.009567
0.023211
0.02273
0.686906
0.635247
0.585286
0.543761
0.516021
0.479025
0
0.029737
0.307212
66,791
1,459
246
45.778615
0.733748
0.297959
0
0.502896
0
0.001931
0.082669
0.01334
0
0
0
0.000685
0
0
null
null
0
0.013514
null
null
0.083012
0
0
0
null
0
0
0
0
0
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
ab3ea1f161bcea5311f9766c4b23a51c645e6437
1,174
py
Python
startuptweet.py
cudmore/startupnotify
76b61b295ae7049e597fa05457a6696e624c4955
[ "MIT" ]
null
null
null
startuptweet.py
cudmore/startupnotify
76b61b295ae7049e597fa05457a6696e624c4955
[ "MIT" ]
null
null
null
startuptweet.py
cudmore/startupnotify
76b61b295ae7049e597fa05457a6696e624c4955
[ "MIT" ]
null
null
null
#!/usr/bin/python3 """ Author: Robert Cudmore Date: 20181013 Purpose: Send a Tweet with IP and MAC address of a Raspberry Pi Install: pip3 install tweepy Usage: python3 startuptweet.py 'this is my tweet' """ import tweepy import sys import socket import subprocess from uuid import getnode as get_mac from datetime i...
22.576923
88
0.736797
176
1,174
4.784091
0.488636
0.035629
0.071259
0.106888
0.157957
0.068884
0
0
0
0
0
0.014042
0.150767
1,174
51
89
23.019608
0.830491
0.251278
0
0
0
0
0.068027
0
0
0
0
0
0
1
0
false
0
0.423077
0
0.423077
0.038462
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
ab3f43a17d20a3de43fa762a19edf3462b4252f3
1,307
py
Python
distributed/db.py
VW-Stephen/pySpiderScrape
861d7289743d5b65916310448526a58b381fde8d
[ "WTFPL" ]
null
null
null
distributed/db.py
VW-Stephen/pySpiderScrape
861d7289743d5b65916310448526a58b381fde8d
[ "WTFPL" ]
null
null
null
distributed/db.py
VW-Stephen/pySpiderScrape
861d7289743d5b65916310448526a58b381fde8d
[ "WTFPL" ]
null
null
null
#!/usr/bin/python from bs4 import BeautifulSoup import sqlite3 class DB: """ Abstraction for the profile database """ def __init__(self, filename): """ Creates a new connection to the database filename - The name of the database file to use """ self.Filename = ...
35.324324
397
0.582249
160
1,307
4.73125
0.4625
0.058124
0.034346
0
0
0
0
0
0
0
0
0.023711
0.257842
1,307
36
398
36.305556
0.756701
0.23795
0
0
0
0.076923
0.290868
0
0
0
0
0
0
1
0.230769
false
0
0.153846
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
ab4054d837b64d6cdc4bc55d34e29e751e8dc8d5
4,427
py
Python
private/scripts/recheck-invalid-handles.py
bansal-shubham/stopstalk-deployment
6392eace490311be103292fdaff9ae215e4db7e6
[ "MIT" ]
null
null
null
private/scripts/recheck-invalid-handles.py
bansal-shubham/stopstalk-deployment
6392eace490311be103292fdaff9ae215e4db7e6
[ "MIT" ]
null
null
null
private/scripts/recheck-invalid-handles.py
bansal-shubham/stopstalk-deployment
6392eace490311be103292fdaff9ae215e4db7e6
[ "MIT" ]
null
null
null
""" Copyright (c) 2015-2019 Raj Patel(raj454raj@gmail.com), StopStalk Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights ...
41.373832
106
0.639259
576
4,427
4.696181
0.324653
0.041405
0.048799
0.033272
0.180037
0.126802
0.05915
0.05915
0.05915
0.028096
0
0.008696
0.272645
4,427
106
107
41.764151
0.831366
0.081319
0
0.1875
0
0
0.070812
0.016235
0
0
0
0
0.015625
0
null
null
0
0.03125
null
null
0.03125
0
0
0
null
0
0
0
0
0
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
ab41670d17acae57b54990c3a25815a2ee40eb19
9,225
py
Python
onnxmltools/convert/keras/_parse.py
gpminsuk/onnxmltools
4e88929a79a1018183f58e2d5e032dd639839dd2
[ "MIT" ]
1
2018-04-10T02:30:47.000Z
2018-04-10T02:30:47.000Z
onnxmltools/convert/keras/_parse.py
gpminsuk/onnxmltools
4e88929a79a1018183f58e2d5e032dd639839dd2
[ "MIT" ]
null
null
null
onnxmltools/convert/keras/_parse.py
gpminsuk/onnxmltools
4e88929a79a1018183f58e2d5e032dd639839dd2
[ "MIT" ]
1
2018-06-27T18:16:20.000Z
2018-06-27T18:16:20.000Z
# ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # -------------------------------------------------------------------------- import te...
51.825843
125
0.714363
1,236
9,225
5.089806
0.16343
0.049277
0.040693
0.03815
0.473216
0.440629
0.415196
0.382133
0.331744
0.292322
0
0.004088
0.204444
9,225
177
126
52.118644
0.853114
0.258211
0
0.303571
0
0
0.04986
0
0
0
0
0
0
1
0.044643
false
0
0.0625
0
0.169643
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
ab41d11daca6d1b31e59637bf18b9f99a383f86f
24,575
py
Python
src/scenic/core/regions.py
cahartsell/Scenic
2e7979011aef426108687947668d9ba6f5439136
[ "BSD-3-Clause" ]
null
null
null
src/scenic/core/regions.py
cahartsell/Scenic
2e7979011aef426108687947668d9ba6f5439136
[ "BSD-3-Clause" ]
null
null
null
src/scenic/core/regions.py
cahartsell/Scenic
2e7979011aef426108687947668d9ba6f5439136
[ "BSD-3-Clause" ]
null
null
null
"""Objects representing regions in space.""" import math import random import itertools import numpy import scipy.spatial import shapely.geometry import shapely.ops from scenic.core.distributions import Samplable, RejectionException, needsSampling from scenic.core.lazy_eval import valueInContext from scenic.core.vec...
33.896552
96
0.722238
3,127
24,575
5.621043
0.131116
0.024748
0.006258
0.014223
0.336861
0.261535
0.184502
0.134039
0.102975
0.057803
0
0.003512
0.16586
24,575
724
97
33.94337
0.853944
0.115443
0
0.330325
0
0
0.072705
0.012118
0
0
0
0.002762
0.00722
1
0.169675
false
0.001805
0.028881
0.057762
0.413357
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
ab42204ebfa5ee7790165df748eb621656c602f4
6,525
py
Python
orangery/cli/cutfill.py
mrahnis/orangery
69afe0057bd61163eb8e026e58d648dfa1e73b94
[ "BSD-3-Clause" ]
2
2015-11-30T02:46:28.000Z
2021-06-26T15:01:45.000Z
orangery/cli/cutfill.py
mrahnis/orangery
69afe0057bd61163eb8e026e58d648dfa1e73b94
[ "BSD-3-Clause" ]
18
2017-06-18T03:23:05.000Z
2022-03-18T00:14:05.000Z
orangery/cli/cutfill.py
mrahnis/orangery
69afe0057bd61163eb8e026e58d648dfa1e73b94
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys import logging import time import json import click import matplotlib.pyplot as plt import orangery as o from orangery.cli import defaults, util from orangery.tools.plotting import get_scale_factor @click.command(options_metavar='<options>') @click.argument(...
45
225
0.66728
966
6,525
4.425466
0.267081
0.030877
0.009357
0.014035
0.152281
0.108538
0.108538
0.081871
0.043977
0.025263
0
0.024309
0.1741
6,525
144
226
45.3125
0.768974
0.219004
0
0.033333
0
0.011111
0.213474
0.004385
0
0
0
0
0
1
0.011111
false
0
0.111111
0
0.122222
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
ab42719d063612a8629ae16074131965d4bb9222
1,397
py
Python
src/ice_g2p/dictionaries.py
cadia-lvl/ice-g2p
5a6cc55f45282e8a656ea0742e2f373189c9a912
[ "Apache-2.0" ]
null
null
null
src/ice_g2p/dictionaries.py
cadia-lvl/ice-g2p
5a6cc55f45282e8a656ea0742e2f373189c9a912
[ "Apache-2.0" ]
null
null
null
src/ice_g2p/dictionaries.py
cadia-lvl/ice-g2p
5a6cc55f45282e8a656ea0742e2f373189c9a912
[ "Apache-2.0" ]
null
null
null
import os, sys DICTIONARY_FILE = os.path.join(sys.prefix, 'dictionaries/ice_pron_dict_standard_clear.csv') HEAD_FILE = os.path.join(sys.prefix, 'data/head_map.csv') MODIFIER_FILE = os.path.join(sys.prefix, 'data/modifier_map.csv') VOWELS_FILE = os.path.join(sys.prefix, 'data/vowels_sampa.txt') CONS_CLUSTERS_FILE = os.p...
24.086207
91
0.670007
198
1,397
4.494949
0.262626
0.074157
0.05618
0.078652
0.370787
0.325843
0.3
0.178652
0.178652
0.178652
0
0.002727
0.212598
1,397
57
92
24.508772
0.806364
0
0
0.195122
0
0
0.097351
0.082319
0
0
0
0
0
1
0.195122
false
0
0.02439
0.121951
0.414634
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
ab42c6179a77692e03a58e9d6335af55ec3cb46d
385
py
Python
tests/test_annotations_notebook.py
jeromedockes/pylabelbuddy
26be00db679e94117968387aa7010dab2739b517
[ "BSD-3-Clause" ]
null
null
null
tests/test_annotations_notebook.py
jeromedockes/pylabelbuddy
26be00db679e94117968387aa7010dab2739b517
[ "BSD-3-Clause" ]
null
null
null
tests/test_annotations_notebook.py
jeromedockes/pylabelbuddy
26be00db679e94117968387aa7010dab2739b517
[ "BSD-3-Clause" ]
null
null
null
from pylabelbuddy import _annotations_notebook def test_annotations_notebook(root, annotations_mock, dataset_mock): nb = _annotations_notebook.AnnotationsNotebook( root, annotations_mock, dataset_mock ) nb.change_database() assert nb.notebook.index(nb.notebook.select()) == 2 nb.go_to_annot...
32.083333
68
0.750649
46
385
6
0.456522
0.144928
0.137681
0.188406
0.5
0.5
0.268116
0
0
0
0
0.006135
0.153247
385
11
69
35
0.840491
0
0
0
0
0
0
0
0
0
0
0
0.222222
1
0.111111
false
0
0.111111
0
0.222222
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ab434ed80b4187ec898e721a32ff14b67e16c48a
1,669
py
Python
py/solns/wordSearch/wordSearch.py
zcemycl/algoTest
9518fb2b60fd83c85aeb2ab809ff647aaf643f0a
[ "MIT" ]
1
2022-01-26T16:33:45.000Z
2022-01-26T16:33:45.000Z
py/solns/wordSearch/wordSearch.py
zcemycl/algoTest
9518fb2b60fd83c85aeb2ab809ff647aaf643f0a
[ "MIT" ]
null
null
null
py/solns/wordSearch/wordSearch.py
zcemycl/algoTest
9518fb2b60fd83c85aeb2ab809ff647aaf643f0a
[ "MIT" ]
1
2022-01-26T16:35:44.000Z
2022-01-26T16:35:44.000Z
class Solution: @staticmethod def naive(board,word): rows,cols,n = len(board),len(board[0]),len(word) visited = set() def dfs(i,j,k): idf = str(i)+','+str(j) if i<0 or j<0 or i>cols-1 or j>rows-1 or \ board[j][i]!=word[k] or idf in visited: ...
37.088889
67
0.461953
260
1,669
2.965385
0.2
0.046693
0.072633
0.042802
0.442283
0.442283
0.352789
0.352789
0.352789
0.303502
0
0.037255
0.388856
1,669
45
68
37.088889
0.718627
0.081486
0
0.375
0
0
0.001339
0
0
0
0
0
0
1
0.1
false
0
0
0
0.275
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
ab4374fa18ea29af4960ad145950b9d2672ecb83
1,257
py
Python
middleware/run.py
natedogg484/react-flask-authentication
5000685d35471b03f72e0b07dfbdbf6d5fc296d2
[ "MIT" ]
null
null
null
middleware/run.py
natedogg484/react-flask-authentication
5000685d35471b03f72e0b07dfbdbf6d5fc296d2
[ "MIT" ]
4
2021-03-09T21:12:06.000Z
2022-02-26T19:17:31.000Z
middleware/run.py
natedogg484/vue-authentication
ab087e238d98606ffb73167cb9a16648812ac3e5
[ "MIT" ]
null
null
null
from flask import Flask from flask_cors import CORS from flask_restful import Api from flask_sqlalchemy import SQLAlchemy from flask_jwt_extended import JWTManager app = Flask(__name__) CORS(app) api = Api(app) app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///app.db' app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] =...
27.933333
64
0.791567
165
1,257
5.769697
0.387879
0.044118
0.102941
0.169118
0.113445
0
0
0
0
0
0
0
0.085123
1,257
45
65
27.933333
0.827826
0
0
0
0
0
0.211447
0.079491
0
0
0
0
0
1
0.064516
false
0
0.193548
0
0.290323
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ab43951bf5dc988e3a4948ac307ca905f1536445
223
py
Python
Programas do Curso/Desafio 2.py
carvalhopedro22/Programas-em-python-cursos-e-geral-
970e1ebe6cdd1e31f52dfd60328c2203d4de3ef1
[ "MIT" ]
null
null
null
Programas do Curso/Desafio 2.py
carvalhopedro22/Programas-em-python-cursos-e-geral-
970e1ebe6cdd1e31f52dfd60328c2203d4de3ef1
[ "MIT" ]
null
null
null
Programas do Curso/Desafio 2.py
carvalhopedro22/Programas-em-python-cursos-e-geral-
970e1ebe6cdd1e31f52dfd60328c2203d4de3ef1
[ "MIT" ]
null
null
null
nome = input('Qual o seu nome? ') dia = input('Que dia do mês você nasceu? ') mes = input('Qual o mês em que você nasceu? ') ano = input('Qual o ano em que você nasceu? ') print(nome, 'nasceu em', dia,'de',mes,'do ano',ano)
44.6
51
0.650224
42
223
3.452381
0.380952
0.186207
0.206897
0.206897
0
0
0
0
0
0
0
0
0.179372
223
5
51
44.6
0.79235
0
0
0
0
0
0.553571
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
0
0
0
null
0
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
0
0
0
0
0
0
0
3
ab450e026b0907e8b838f6f9a3e2ba1d4218dd25
5,065
py
Python
cmibs/cisco_vlan_membership_mib.py
prorevizor/noc
37e44b8afc64318b10699c06a1138eee9e7d6a4e
[ "BSD-3-Clause" ]
84
2017-10-22T11:01:39.000Z
2022-02-27T03:43:48.000Z
cmibs/cisco_vlan_membership_mib.py
prorevizor/noc
37e44b8afc64318b10699c06a1138eee9e7d6a4e
[ "BSD-3-Clause" ]
22
2017-12-11T07:21:56.000Z
2021-09-23T02:53:50.000Z
cmibs/cisco_vlan_membership_mib.py
prorevizor/noc
37e44b8afc64318b10699c06a1138eee9e7d6a4e
[ "BSD-3-Clause" ]
23
2017-12-06T06:59:52.000Z
2022-02-24T00:02:25.000Z
# ---------------------------------------------------------------------- # CISCO-VLAN-MEMBERSHIP-MIB # Compiled MIB # Do not modify this file directly # Run ./noc mib make-cmib instead # ---------------------------------------------------------------------- # Copyright (C) 2007-2020 The NOC Project # See LICENSE for de...
64.113924
98
0.62231
1,027
5,065
3.067186
0.10224
0.04381
0.349841
0.405079
0.600635
0.486032
0.299365
0.226667
0.226667
0.223492
0
0.166881
0.079566
5,065
78
99
64.935897
0.508795
0.082922
0
0
0
0.83871
0.83614
0.814983
0
0
0
0
0
1
0
false
0
0
0
0
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
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
ab453c7b64fdd47b4cf51bb569f233871fe2b337
4,118
py
Python
harbor/tests/test_unit.py
tdimnet/integrations-core
a78133a3b71a1b8377fa214d121a98647031ab06
[ "BSD-3-Clause" ]
663
2016-08-23T05:23:45.000Z
2022-03-29T00:37:23.000Z
harbor/tests/test_unit.py
tdimnet/integrations-core
a78133a3b71a1b8377fa214d121a98647031ab06
[ "BSD-3-Clause" ]
6,642
2016-06-09T16:29:20.000Z
2022-03-31T22:24:09.000Z
harbor/tests/test_unit.py
tdimnet/integrations-core
a78133a3b71a1b8377fa214d121a98647031ab06
[ "BSD-3-Clause" ]
1,222
2017-01-27T15:51:38.000Z
2022-03-31T18:17:51.000Z
# (C) Datadog, Inc. 2019-present # All rights reserved # Licensed under a 3-clause BSD style license (see LICENSE) import pytest from mock import MagicMock from requests import HTTPError from datadog_checks.base import AgentCheck from datadog_checks.dev.http import MockResponse from .common import HARBOR_COMPONENTS, ...
43.347368
120
0.753035
567
4,118
5.156966
0.218695
0.089261
0.035568
0.057456
0.661423
0.620041
0.573529
0.492134
0.422709
0.386457
0
0.015257
0.124575
4,118
94
121
43.808511
0.795839
0.026226
0
0.235294
0
0
0.143535
0.022217
0
0
0
0
0.191176
1
0.117647
false
0
0.088235
0
0.205882
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
ab47866bdd7f779d52254d019f551b3dccc349a3
2,649
py
Python
M-SPRING/template/adapter.py
CN-UPB/SPRING
1cb74919689e832987cb2c9b490eec7f09a64f52
[ "Apache-2.0" ]
3
2019-09-27T08:07:11.000Z
2021-11-19T11:27:39.000Z
M-SPRING/template/adapter.py
CN-UPB/SPRING
1cb74919689e832987cb2c9b490eec7f09a64f52
[ "Apache-2.0" ]
null
null
null
M-SPRING/template/adapter.py
CN-UPB/SPRING
1cb74919689e832987cb2c9b490eec7f09a64f52
[ "Apache-2.0" ]
null
null
null
# module for adapting templates on the fly if components are reused # check that all reused components are defined consistently -> else: exception def check_consistency(components): for j1 in components: for j2 in components: # compare all components if j1 == j2 and j1.__dict__ != j2.__dict__: # same n...
36.791667
116
0.690449
387
2,649
4.640827
0.320413
0.071269
0.010022
0.025056
0.099109
0.02784
0.02784
0.02784
0.02784
0.02784
0
0.005865
0.227633
2,649
71
117
37.309859
0.871945
0.367686
0
0.106383
0
0
0.128319
0
0
0
0
0
0
1
0.06383
false
0
0
0
0.106383
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
ab4821f304dd37c05424c887f3d045a73e2c92fa
4,369
py
Python
column_completer.py
AllanLRH/column_completer
c1a0e1915256a4e3825c5c3b9863d78fdaf50be1
[ "Unlicense" ]
null
null
null
column_completer.py
AllanLRH/column_completer
c1a0e1915256a4e3825c5c3b9863d78fdaf50be1
[ "Unlicense" ]
null
null
null
column_completer.py
AllanLRH/column_completer
c1a0e1915256a4e3825c5c3b9863d78fdaf50be1
[ "Unlicense" ]
null
null
null
class ColumnCompleter(object): """Complete Pandas DataFrame column names""" def __init__(self, df, space_filler='_', silence_warnings=False): """ Once instantiated with a Pandas DataFrame, it will expose the column names as attributes which maps to their string counterparts. Au...
44.581633
101
0.610895
535
4,369
4.874766
0.297196
0.063267
0.032209
0.019555
0.247699
0.21319
0.139571
0.105061
0.105061
0.077454
0
0.000658
0.304646
4,369
97
102
45.041237
0.857472
0.334173
0
0.042553
0
0
0.144223
0
0
0
0
0
0
1
0.12766
false
0
0
0.042553
0.234043
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
ab4824ab4c800c1d309f147567a8700135e66f6b
1,483
py
Python
source/vsm-dashboard/vsm_dashboard/test/test_data/swift_data.py
ramkrsna/virtual-storage-manager
78125bfb4dd4d78ff96bc3274c8919003769c545
[ "Apache-2.0" ]
172
2015-01-07T08:40:17.000Z
2019-02-18T07:01:11.000Z
source/vsm-dashboard/vsm_dashboard/test/test_data/swift_data.py
ramkrsna/virtual-storage-manager
78125bfb4dd4d78ff96bc3274c8919003769c545
[ "Apache-2.0" ]
83
2015-03-06T07:47:03.000Z
2018-07-05T15:10:19.000Z
source/vsm-dashboard/vsm_dashboard/test/test_data/swift_data.py
ramkrsna/virtual-storage-manager
78125bfb4dd4d78ff96bc3274c8919003769c545
[ "Apache-2.0" ]
125
2015-01-05T12:22:15.000Z
2019-02-18T07:01:39.000Z
# Copyright 2012 Nebula, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agree...
38.025641
78
0.645988
188
1,483
4.978723
0.531915
0.064103
0.028846
0.034188
0.068376
0.068376
0
0
0
0
0
0.02583
0.269049
1,483
38
79
39.026316
0.837638
0.389076
0
0
0
0
0.137892
0
0
0
0
0
0
1
0.05
false
0
0.1
0
0.15
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
ab48693089ba2d51e690249090e8808f1456a30c
17,971
py
Python
cinder/backup/driver.py
liangintel/stx-cinder
f4c43797a3f8c0caebfd8fb67244c084d26d9741
[ "Apache-2.0" ]
null
null
null
cinder/backup/driver.py
liangintel/stx-cinder
f4c43797a3f8c0caebfd8fb67244c084d26d9741
[ "Apache-2.0" ]
2
2018-10-25T13:04:01.000Z
2019-08-17T13:15:24.000Z
cinder/backup/driver.py
liangintel/stx-cinder
f4c43797a3f8c0caebfd8fb67244c084d26d9741
[ "Apache-2.0" ]
2
2018-10-17T13:32:50.000Z
2018-11-08T08:39:39.000Z
# Copyright (C) 2013 Deutsche Telekom AG # 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 r...
40.566591
79
0.615492
2,156
17,971
4.974954
0.179035
0.024613
0.016782
0.019485
0.434179
0.399217
0.36845
0.330785
0.306452
0.269812
0
0.002269
0.313394
17,971
442
80
40.658371
0.867007
0.313338
0
0.292887
0
0
0.16246
0.008872
0
0
0
0
0
1
0.100418
false
0
0.041841
0.004184
0.23431
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
ab48971329305ae9b948d764b897a02b20e65a2f
67
py
Python
__init__.py
ENDERZOMBI102/chained
d01f04d1eb9a913f64cea9da52e61d91300315ff
[ "MIT" ]
null
null
null
__init__.py
ENDERZOMBI102/chained
d01f04d1eb9a913f64cea9da52e61d91300315ff
[ "MIT" ]
null
null
null
__init__.py
ENDERZOMBI102/chained
d01f04d1eb9a913f64cea9da52e61d91300315ff
[ "MIT" ]
null
null
null
from .chainOpen import chainOpen __all__ = [ 'chainOpen' ]
13.4
33
0.656716
6
67
6.666667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.253731
67
5
34
13.4
0.8
0
0
0
0
0
0.140625
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ab4a651d98707257763d7fecd97ef8404192f74c
1,146
py
Python
code/reasoningtool/tests/QuerySciGraphTests.py
andrewsu/RTX
dd1de262d0817f7e6d2f64e5bec7d5009a3a2740
[ "MIT" ]
31
2018-03-05T20:01:10.000Z
2022-02-01T03:31:22.000Z
code/reasoningtool/tests/QuerySciGraphTests.py
andrewsu/RTX
dd1de262d0817f7e6d2f64e5bec7d5009a3a2740
[ "MIT" ]
1,774
2018-03-06T01:55:03.000Z
2022-03-31T03:09:04.000Z
code/reasoningtool/tests/QuerySciGraphTests.py
andrewsu/RTX
dd1de262d0817f7e6d2f64e5bec7d5009a3a2740
[ "MIT" ]
19
2018-05-10T00:43:19.000Z
2022-03-08T19:26:16.000Z
import unittest from QuerySciGraph import QuerySciGraph class QuerySciGraphTestCase(unittest.TestCase): def test_get_disont_ids_for_mesh_id(self): disont_ids = QuerySciGraph.get_disont_ids_for_mesh_id('MESH:D005199') known_ids = {'DOID:13636'} self.assertSetEqual(disont_ids, known_ids) ...
44.076923
101
0.620419
114
1,146
5.921053
0.464912
0.053333
0.035556
0.044444
0.151111
0.062222
0
0
0
0
0
0.090686
0.287958
1,146
25
102
45.84
0.73652
0.008726
0
0
0
0
0.27425
0
0
0
0
0
0.1
1
0.1
false
0
0.1
0
0.25
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
ab4c81650d8bacd66796cfc5a7b9384015825cae
1,342
py
Python
ledis/cli.py
gianghta/Ledis
a6b31617621746344408ee411cf510ef3cfb2e7b
[ "MIT" ]
null
null
null
ledis/cli.py
gianghta/Ledis
a6b31617621746344408ee411cf510ef3cfb2e7b
[ "MIT" ]
null
null
null
ledis/cli.py
gianghta/Ledis
a6b31617621746344408ee411cf510ef3cfb2e7b
[ "MIT" ]
null
null
null
from typing import Any from ledis import Ledis from ledis.exceptions import InvalidUsage class CLI: __slots__ = {"ledis", "commands"} def __init__(self): self.ledis = Ledis() self.commands = { "set": self.ledis.set, "get": self.ledis.get, "sadd": self.ledi...
29.173913
78
0.520119
139
1,342
4.94964
0.388489
0.170058
0.040698
0
0
0
0
0
0
0
0
0.001159
0.35693
1,342
45
79
29.822222
0.79606
0
0
0
0
0
0.123696
0
0
0
0
0
0
1
0.052632
false
0
0.078947
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
ab4cd7dafdbec4a4f671b37357e68833614883fc
866
py
Python
ClosedLoopTF.py
nazhanshaberi/miniature-octo-barnacle
eb1a8b5366003bf2d0f7e89af9d9dea120965f4f
[ "MIT" ]
null
null
null
ClosedLoopTF.py
nazhanshaberi/miniature-octo-barnacle
eb1a8b5366003bf2d0f7e89af9d9dea120965f4f
[ "MIT" ]
null
null
null
ClosedLoopTF.py
nazhanshaberi/miniature-octo-barnacle
eb1a8b5366003bf2d0f7e89af9d9dea120965f4f
[ "MIT" ]
null
null
null
#group 1: Question 1(b) # A control system for positioning the head of a laser printer has the closed loop transfer function: # !pip install control import matplotlib.pyplot as plt import control a=10 #Value for a b=50 #value for b sys1 = control.tf(20*b,[1,20+a,b+20*a,20*b]) print('3rd order system transfer funct...
29.862069
101
0.725173
159
866
3.91195
0.433962
0.07717
0.061093
0
0
0
0
0
0
0
0
0.055046
0.118938
866
28
102
30.928571
0.760157
0.191686
0
0
0
0
0.316547
0
0
0
0
0
0
1
0
false
0
0.095238
0
0.095238
0.142857
0
0
0
null
0
0
0
0
0
0
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
ab4d5adf0a4cf40d756ef93b4de1fbf8fed57093
1,953
py
Python
example_project/test_messages/bbcode_tags.py
bastiedotorg/django-precise-bbcode
567a8a7f104fb7f2c9d59f304791e53d2d8f4dea
[ "BSD-3-Clause" ]
30
2015-01-02T13:43:56.000Z
2021-02-08T18:43:09.000Z
example_project/test_messages/bbcode_tags.py
bastiedotorg/django-precise-bbcode
567a8a7f104fb7f2c9d59f304791e53d2d8f4dea
[ "BSD-3-Clause" ]
31
2015-01-16T00:25:19.000Z
2021-12-11T16:40:03.000Z
example_project/test_messages/bbcode_tags.py
bastiedotorg/django-precise-bbcode
567a8a7f104fb7f2c9d59f304791e53d2d8f4dea
[ "BSD-3-Clause" ]
13
2015-07-16T23:25:10.000Z
2020-08-23T20:12:24.000Z
import re from precise_bbcode.bbcode.tag import BBCodeTag from precise_bbcode.tag_pool import tag_pool color_re = re.compile(r'^([a-z]+|#[0-9abcdefABCDEF]{3,6})$') class SubTag(BBCodeTag): name = 'sub' def render(self, value, option=None, parent=None): return '<sub>%s</sub>' % value class PreTag...
27.125
97
0.673835
250
1,953
5.148
0.296
0.048951
0.081585
0.097902
0.135198
0.135198
0.135198
0.135198
0.105672
0
0
0.00733
0.161802
1,953
71
98
27.507042
0.778864
0
0
0.085106
0
0
0.262161
0.197645
0
0
0
0
0
1
0.085106
false
0
0.06383
0.042553
0.765957
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
ab4de19d0181da877a10411de0bdd3a02265b4f5
1,567
py
Python
tests/test_vmtkScripts/test_vmtksurfacescaling.py
ramtingh/vmtk
4d6f58ce65d73628353ba2b110cbc29a2e7aa7b3
[ "Apache-2.0" ]
null
null
null
tests/test_vmtkScripts/test_vmtksurfacescaling.py
ramtingh/vmtk
4d6f58ce65d73628353ba2b110cbc29a2e7aa7b3
[ "Apache-2.0" ]
null
null
null
tests/test_vmtkScripts/test_vmtksurfacescaling.py
ramtingh/vmtk
4d6f58ce65d73628353ba2b110cbc29a2e7aa7b3
[ "Apache-2.0" ]
1
2019-06-18T23:41:11.000Z
2019-06-18T23:41:11.000Z
## Program: VMTK ## Language: Python ## Date: January 10, 2018 ## Version: 1.4 ## Copyright (c) Richard Izzo, Luca Antiga, All rights reserved. ## See LICENSE file for details. ## This software is distributed WITHOUT ANY WARRANTY; without even ## the implied warranty of MERCHANTABILITY or FITNES...
31.34
75
0.678366
189
1,567
5.470899
0.492063
0.046422
0.034816
0.052224
0.253385
0.253385
0.253385
0.253385
0.253385
0.12766
0
0.022617
0.209955
1,567
49
76
31.979592
0.812601
0.306318
0
0.296296
0
0
0.084746
0.07533
0
0
0
0
0.074074
1
0.074074
false
0
0.074074
0
0.148148
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
ab4e0820c560508db4fbda99cab044003f105f34
155,374
py
Python
tencentcloud/vpc/v20170312/models.py
yangyimincn/tencentcloud-sdk-python
1d4f1bd83bb57a91bb6d2631131a339bc1f9b91d
[ "Apache-2.0" ]
null
null
null
tencentcloud/vpc/v20170312/models.py
yangyimincn/tencentcloud-sdk-python
1d4f1bd83bb57a91bb6d2631131a339bc1f9b91d
[ "Apache-2.0" ]
null
null
null
tencentcloud/vpc/v20170312/models.py
yangyimincn/tencentcloud-sdk-python
1d4f1bd83bb57a91bb6d2631131a339bc1f9b91d
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf8 -*- # Copyright 1999-2017 Tencent Ltd. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
29.914132
366
0.643827
13,313
155,374
7.427477
0.101104
0.056613
0.022694
0.033009
0.60641
0.566038
0.518992
0.503934
0.479015
0.460074
0
0.009331
0.255757
155,374
5,194
367
29.914132
0.845783
0.349859
0
0.706527
0
0
0.087046
0.020703
0
0
0
0
0
1
0.203288
false
0.004484
0.000498
0
0.306926
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
ab4e7cdf2bacce34a3021f862bd5b5457c0c010e
3,677
py
Python
mlcsim/dist.py
nobodywasishere/MLCSim
a3eb3d39b6970a4e706e292c6a283531fb44350c
[ "MIT" ]
null
null
null
mlcsim/dist.py
nobodywasishere/MLCSim
a3eb3d39b6970a4e706e292c6a283531fb44350c
[ "MIT" ]
null
null
null
mlcsim/dist.py
nobodywasishere/MLCSim
a3eb3d39b6970a4e706e292c6a283531fb44350c
[ "MIT" ]
null
null
null
#!/usr/bin/env python """Distribution functions This module provides functions for dealing with normal distributions and generating error maps. When called directly as main, it allows for converting a threshold map into an error map. ``` $ python -m mlcsim.dist --help usage: dist.py [-h] [-b {1,2,3,4}] -f F [-o O]...
27.856061
93
0.627142
570
3,677
3.938596
0.280702
0.032071
0.024944
0.021381
0.057016
0.025835
0.025835
0.025835
0.015145
0
0
0.027417
0.246125
3,677
131
94
28.068702
0.782468
0.406038
0
0
0
0
0.059137
0
0
0
0
0
0
1
0.075472
false
0
0.113208
0
0.245283
0.037736
0
0
0
null
0
0
0
0
0
0
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
ab4ecc2d3d04743c00cc721399cf77a91c741662
2,063
py
Python
Pr-Lab5/lab5.py
JackShen1/pr-labs
c84df379d8f7b26ccff30248dfb23ae38e0ce7c2
[ "MIT" ]
2
2021-02-25T11:42:06.000Z
2021-03-08T20:43:44.000Z
Pr-Lab5/lab5.py
JackShen1/pr-labs
c84df379d8f7b26ccff30248dfb23ae38e0ce7c2
[ "MIT" ]
null
null
null
Pr-Lab5/lab5.py
JackShen1/pr-labs
c84df379d8f7b26ccff30248dfb23ae38e0ce7c2
[ "MIT" ]
null
null
null
earth = { "Asia": {'Japan': ("Tokyo", 377975, 125620000)}, "Europe": {'Austria': ("Vienna", 83800, 8404000), 'Germany': ("Berlin", 357000, 81751000), 'Great Britain': ("London", 244800, 62700000), 'Iceland': ("Reykjavík", 103000, 317630), 'Italy': ("Rome", 301...
38.203704
125
0.49491
226
2,063
4.433628
0.376106
0.097804
0.08483
0.071856
0.100798
0.077844
0.053892
0
0
0
0
0.101985
0.291808
2,063
53
126
38.924528
0.583847
0
0
0
0
0
0.175957
0.012603
0
0
0
0
0
1
0.113636
false
0
0
0.022727
0.204545
0.136364
0
0
0
null
0
0
0
0
0
0
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
ab4efdf65ad735b02d6de387aa7fd48994cd82b2
1,507
bzl
Python
vue/repositories.bzl
ubiquitoustech/rules_vue
759786eae1b6caf647b1c6018e16030a66e486e2
[ "Apache-2.0" ]
null
null
null
vue/repositories.bzl
ubiquitoustech/rules_vue
759786eae1b6caf647b1c6018e16030a66e486e2
[ "Apache-2.0" ]
null
null
null
vue/repositories.bzl
ubiquitoustech/rules_vue
759786eae1b6caf647b1c6018e16030a66e486e2
[ "Apache-2.0" ]
null
null
null
"""Declare runtime dependencies These are needed for local dev, and users must install them as well. See https://docs.bazel.build/versions/main/skylark/deploying.html#dependencies """ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") #...
45.666667
126
0.7286
203
1,507
5.330049
0.512315
0.014787
0.011091
0.03512
0.263401
0.184843
0.184843
0.125693
0.125693
0.125693
0
0.081146
0.165893
1,507
32
127
47.09375
0.779634
0.411413
0
0.222222
0
0.166667
0.646453
0.275744
0
0
0
0
0
1
0.055556
true
0
0
0
0.055556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
ab4f57f26ec8e3a5f4f9c3add8fa33115729abc3
3,956
py
Python
endpoints/api/test/test_tag.py
kwestpharedhat/quay
a0df895005bcd3e53847046f69f6a7add87c88fd
[ "Apache-2.0" ]
null
null
null
endpoints/api/test/test_tag.py
kwestpharedhat/quay
a0df895005bcd3e53847046f69f6a7add87c88fd
[ "Apache-2.0" ]
null
null
null
endpoints/api/test/test_tag.py
kwestpharedhat/quay
a0df895005bcd3e53847046f69f6a7add87c88fd
[ "Apache-2.0" ]
null
null
null
import pytest from playhouse.test_utils import assert_query_count from data.registry_model import registry_model from data.database import Manifest from endpoints.api.test.shared import conduct_api_call from endpoints.test.shared import client_with_identity from endpoints.api.tag import RepositoryTag, RestoreTag, Li...
34.4
146
0.654954
441
3,956
5.603175
0.249433
0.047349
0.033994
0.054634
0.444759
0.37151
0.334278
0.334278
0.31809
0.215297
0
0.013834
0.232558
3,956
114
147
34.701754
0.800066
0.028817
0
0.274725
0
0
0.17431
0.044554
0
0
0
0
0.054945
1
0.043956
false
0
0.087912
0
0.131868
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
ab4f80a6a89a2ba8ed869ff8442a2bb12f645322
8,541
py
Python
inventory.py
Jongerr/vendor_receiving
f69f09a5b41d38b45e9ea0bf82590bb27ce913f6
[ "MIT" ]
null
null
null
inventory.py
Jongerr/vendor_receiving
f69f09a5b41d38b45e9ea0bf82590bb27ce913f6
[ "MIT" ]
null
null
null
inventory.py
Jongerr/vendor_receiving
f69f09a5b41d38b45e9ea0bf82590bb27ce913f6
[ "MIT" ]
null
null
null
import json import os import random import requests from passlib.hash import pbkdf2_sha256 as pbk from PyQt5.QtSql import QSqlDatabase, QSqlQuery from pprint import pprint ENCODING = 'utf-8' DB_PATH = os.path.join(os.path.curdir, 'inventory.db') def scrambleWord(word): """Randomize the letters in word and retur...
37.296943
143
0.583772
997
8,541
4.915747
0.248746
0.029382
0.038768
0.046929
0.350133
0.333809
0.318915
0.253214
0.238115
0.238115
0
0.02128
0.25723
8,541
228
144
37.460526
0.751261
0.093783
0
0.346591
0
0
0.262643
0
0
0
0
0
0
1
0.034091
false
0.028409
0.039773
0
0.107955
0.210227
0
0
0
null
0
0
0
0
0
0
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
ab4fc96f582ec2e7dbdc6b88ad13480fe26a5ca3
1,749
py
Python
lnbits/core/views/lnurl.py
frennkie/lnbits
5fe64d324dc7ac05d1d0fc25eb5ad6a5a414ea8a
[ "MIT" ]
null
null
null
lnbits/core/views/lnurl.py
frennkie/lnbits
5fe64d324dc7ac05d1d0fc25eb5ad6a5a414ea8a
[ "MIT" ]
null
null
null
lnbits/core/views/lnurl.py
frennkie/lnbits
5fe64d324dc7ac05d1d0fc25eb5ad6a5a414ea8a
[ "MIT" ]
null
null
null
import requests from flask import abort, redirect, request, url_for from lnurl import LnurlWithdrawResponse, handle as handle_lnurl from lnurl.exceptions import LnurlException from time import sleep from lnbits.core import core_app from lnbits.helpers import Status from lnbits.settings import WALLET from ..crud impo...
30.155172
108
0.70669
227
1,749
5.237885
0.356828
0.055509
0.047939
0.063078
0.126156
0.126156
0.097561
0.097561
0.097561
0.097561
0
0.005751
0.204688
1,749
57
109
30.684211
0.849029
0
0
0.090909
0
0
0.069754
0
0
0
0
0
0
1
0.022727
false
0
0.204545
0
0.25
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
ab5224dab7764f41af318140ad4ebc3291d1cf50
1,507
py
Python
driver_training/driver_training.py
munishm/MLOpsPython
e3ee31f6a0cac645a2b3ad945b8263e07d3085e4
[ "MIT" ]
null
null
null
driver_training/driver_training.py
munishm/MLOpsPython
e3ee31f6a0cac645a2b3ad945b8263e07d3085e4
[ "MIT" ]
null
null
null
driver_training/driver_training.py
munishm/MLOpsPython
e3ee31f6a0cac645a2b3ad945b8263e07d3085e4
[ "MIT" ]
null
null
null
# Import libraries import argparse from azureml.core import Run import joblib import json import os import pandas as pd import shutil # Import functions from train.py from train import split_data, train_model, get_model_metrics # Get the output folder for the model from the '--output_folder' parameter parser = argpar...
27.4
89
0.780358
233
1,507
4.858369
0.369099
0.095406
0.039753
0.026502
0
0
0
0
0
0
0
0
0.134041
1,507
54
90
27.907407
0.867433
0.273391
0
0
0
0
0.127306
0.073801
0
0
0
0
0
1
0
false
0
0.258065
0
0.258065
0.064516
0
0
0
null
0
0
0
0
0
0
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
ab52d48313f3351abea75bf8f470d2befb8d9c79
62
py
Python
tests/__init__.py
madman-bob/python-lua-imports
76d3765b03a0478544214022118e5a4a13f6e36a
[ "MIT" ]
3
2020-04-15T00:00:42.000Z
2021-03-07T19:58:44.000Z
tests/__init__.py
madman-bob/python-lua-imports
76d3765b03a0478544214022118e5a4a13f6e36a
[ "MIT" ]
null
null
null
tests/__init__.py
madman-bob/python-lua-imports
76d3765b03a0478544214022118e5a4a13f6e36a
[ "MIT" ]
1
2020-10-05T16:21:53.000Z
2020-10-05T16:21:53.000Z
from lua_imports import lua_importer lua_importer.register()
15.5
36
0.854839
9
62
5.555556
0.666667
0.44
0
0
0
0
0
0
0
0
0
0
0.096774
62
3
37
20.666667
0.892857
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
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
1
0
1
0
1
0
0
6
ab5634ebc042f640696c7b2e6eb9efb69e3e48b5
258
py
Python
app/models/product.py
VyachAp/SalesFABackend
dcbe1b5106c030ee07535795dfd7b97613a1203d
[ "MIT" ]
80
2020-10-06T00:35:57.000Z
2022-03-31T19:56:24.000Z
app/models/product.py
VyachAp/SalesFABackend
dcbe1b5106c030ee07535795dfd7b97613a1203d
[ "MIT" ]
1
2021-03-28T06:17:41.000Z
2021-04-03T06:41:09.000Z
app/models/product.py
VyachAp/SalesFABackend
dcbe1b5106c030ee07535795dfd7b97613a1203d
[ "MIT" ]
24
2020-11-14T03:04:43.000Z
2022-03-11T15:44:44.000Z
from sqlalchemy import Column, Integer, String, Float from app.database.base_class import Base class Product(Base): id = Column(Integer, primary_key=True, index=True) name = Column(String, nullable=False) price = Column(Float, nullable=False)
25.8
54
0.744186
35
258
5.428571
0.6
0.136842
0
0
0
0
0
0
0
0
0
0
0.158915
258
9
55
28.666667
0.875576
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
ab57b93b87294fbdfc94236ad38a6b407c2435a8
7,463
py
Python
katana/utils/directory_traversal_utils.py
warriorframework/Katanaframework
9dc78df9d0c8f19ef5eaaa8690fbfa1ad885b323
[ "Apache-2.0" ]
1
2020-09-30T11:14:14.000Z
2020-09-30T11:14:14.000Z
katana/utils/directory_traversal_utils.py
warriorframework/Katanaframework
9dc78df9d0c8f19ef5eaaa8690fbfa1ad885b323
[ "Apache-2.0" ]
4
2020-06-06T01:55:04.000Z
2021-06-10T22:57:50.000Z
katana/utils/directory_traversal_utils.py
warriorframework/Katanaframework
9dc78df9d0c8f19ef5eaaa8690fbfa1ad885b323
[ "Apache-2.0" ]
1
2020-09-17T08:20:09.000Z
2020-09-17T08:20:09.000Z
import glob import os import re import errno import shutil def get_sub_dirs_and_files(path, abs_path=False): """ Gets the direct child sub-files and sub-folders of the given directory Args: path: Absolute path to the directory abs_path: If set to True, it returns a list of absolute paths ...
29.498024
100
0.643307
1,045
7,463
4.461244
0.15311
0.028529
0.017375
0.029172
0.418061
0.360789
0.320034
0.291291
0.28314
0.275847
0
0.002375
0.266649
7,463
252
101
29.615079
0.849443
0.436822
0
0.26
0
0
0.047077
0
0
0
0
0
0
1
0.14
false
0
0.05
0
0.33
0.05
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ab58cf0f15e7f5253d551ed9c21fd93da300dfec
8,381
py
Python
alignment.py
LucaOnline/theanine-synthetase
75a9d1f6d853409e12bf9f3b6e5948b594a03217
[ "MIT" ]
null
null
null
alignment.py
LucaOnline/theanine-synthetase
75a9d1f6d853409e12bf9f3b6e5948b594a03217
[ "MIT" ]
1
2021-04-28T21:34:45.000Z
2021-05-11T23:29:59.000Z
alignment.py
LucaOnline/theanine-synthetase
75a9d1f6d853409e12bf9f3b6e5948b594a03217
[ "MIT" ]
null
null
null
"""The `alignment` module provides an implementation of the Needleman-Wunsch alignment algorithm.""" from typing import Tuple, Literal, List from math import floor import numpy as np from stats import variance MOVE_DIAGONAL = 0 MOVE_RIGHT = 1 MOVE_DOWN = 2 EditMove = Literal[MOVE_DIAGONAL, MOVE_RIGHT, MOVE_DOWN] ...
32.111111
106
0.595752
1,081
8,381
4.434783
0.20259
0.037964
0.026283
0.018356
0.22257
0.180851
0.155611
0.147685
0.123905
0.104714
0
0.021115
0.310583
8,381
260
107
32.234615
0.808584
0.240067
0
0.111111
0
0
0.021682
0
0
0
0
0
0
1
0.092593
false
0
0.024691
0
0.234568
0.006173
0
0
0
null
0
0
0
0
0
0
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
ab58dbf2a732c20f8c5b6f7ff7869c6f7c00ca41
2,348
py
Python
examples/the-feeling-of-success/mock_grasp_object_op.py
yujialuo/erdos
7a631b55895f1a473b0f4d38a0d6053851e65b5d
[ "Apache-2.0" ]
null
null
null
examples/the-feeling-of-success/mock_grasp_object_op.py
yujialuo/erdos
7a631b55895f1a473b0f4d38a0d6053851e65b5d
[ "Apache-2.0" ]
null
null
null
examples/the-feeling-of-success/mock_grasp_object_op.py
yujialuo/erdos
7a631b55895f1a473b0f4d38a0d6053851e65b5d
[ "Apache-2.0" ]
null
null
null
from mock_gripper_op import MockGripType from std_msgs.msg import Bool from erdos.op import Op from erdos.data_stream import DataStream from erdos.message import Message class MockGraspObjectOperator(Op): """ Sends a "close" action to the gripper. """ gripper_stream = "gripper-output-stream" acti...
34.028986
79
0.663969
269
2,348
5.535316
0.32342
0.047011
0.032236
0.045668
0.246474
0.038952
0.038952
0
0
0
0
0
0.270443
2,348
68
80
34.529412
0.869235
0.189097
0
0.146341
0
0
0.030474
0.027652
0
0
0
0
0
1
0.121951
false
0.02439
0.121951
0
0.341463
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
ab58e931b2be617a8f028a51f43ae40e92333614
3,683
py
Python
src/pyfsa/lib/fsa.py
taliamax/pyfsa
d92faa96c1e17e4016df7b367c7d405a07f1253b
[ "Apache-2.0" ]
1
2021-01-21T21:48:26.000Z
2021-01-21T21:48:26.000Z
src/pyfsa/lib/fsa.py
taliamax/pyfsa
d92faa96c1e17e4016df7b367c7d405a07f1253b
[ "Apache-2.0" ]
null
null
null
src/pyfsa/lib/fsa.py
taliamax/pyfsa
d92faa96c1e17e4016df7b367c7d405a07f1253b
[ "Apache-2.0" ]
4
2021-01-22T04:04:22.000Z
2021-11-01T14:43:09.000Z
# -*- coding: utf-8 -*- import pygraphviz as gv # type: ignore import itertools as it from typing import ( List, Optional, ) from pyfsa.lib.types import TransitionsTable def get_state_graph( transitions: TransitionsTable, start: Optional[str] = None, end: Optional[str] = None, nodes: Option...
27.485075
65
0.620961
467
3,683
4.775161
0.295503
0.04843
0.033632
0.021525
0.208969
0.147982
0.127354
0.127354
0.127354
0.127354
0
0.007904
0.278577
3,683
133
66
27.691729
0.831389
0.199566
0
0.322222
0
0
0.062893
0
0
0
0
0.007519
0
1
0.033333
false
0
0.044444
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
ab59b426727f7713efb93b6855597da219efc0be
1,695
py
Python
examples/multimedia/mmimdb_MFM.py
kapikantzari/MultiBench
44ab6ea028682040a0c04de68239ce5cdf15123f
[ "MIT" ]
148
2021-03-06T06:54:13.000Z
2022-03-29T19:27:21.000Z
examples/multimedia/mmimdb_MFM.py
kapikantzari/MultiBench
44ab6ea028682040a0c04de68239ce5cdf15123f
[ "MIT" ]
10
2021-07-19T22:57:49.000Z
2022-02-04T03:12:29.000Z
examples/multimedia/mmimdb_MFM.py
kapikantzari/MultiBench
44ab6ea028682040a0c04de68239ce5cdf15123f
[ "MIT" ]
18
2021-07-22T07:17:27.000Z
2022-03-27T16:11:40.000Z
import torch import sys import os sys.path.append(os.getcwd()) from utils.helper_modules import Sequential2 from unimodals.common_models import Linear, MLP, MaxOut_MLP from datasets.imdb.get_data import get_dataloader from fusions.common_fusions import Concat from objective_functions.objectives_for_supervised_learnin...
42.375
175
0.746313
236
1,695
5.177966
0.427966
0.085925
0.03928
0.045827
0.061375
0.0491
0.0491
0.0491
0.0491
0.0491
0
0.046791
0.117404
1,695
39
176
43.461538
0.770053
0
0
0
0
0
0.065487
0.017109
0
0
0
0
0
1
0
false
0
0.322581
0
0.322581
0.032258
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
ab5a9e198509b5652d8bbadee3e63897c02a6e94
1,461
py
Python
subeana/migrations/0001_initial.py
izumin2000/izuminapp
3464cebe1d98c85c2cd95c6fac779ec1f42ef930
[ "MIT" ]
null
null
null
subeana/migrations/0001_initial.py
izumin2000/izuminapp
3464cebe1d98c85c2cd95c6fac779ec1f42ef930
[ "MIT" ]
null
null
null
subeana/migrations/0001_initial.py
izumin2000/izuminapp
3464cebe1d98c85c2cd95c6fac779ec1f42ef930
[ "MIT" ]
null
null
null
# Generated by Django 4.0.2 on 2022-06-01 04:43 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Channel', fields=[ ...
40.583333
169
0.600274
155
1,461
5.541935
0.380645
0.037253
0.074505
0.076834
0.590221
0.470314
0.393481
0.393481
0.393481
0.393481
0
0.022873
0.251882
1,461
35
170
41.742857
0.763038
0.030801
0
0.428571
1
0
0.082037
0
0
0
0
0
0
1
0
false
0
0.071429
0
0.214286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ab5b1e3328548b4d29719e9eabea190e03a2dd78
78,836
py
Python
bifacialvf/vf.py
shirubana/bifacialvf
7cd1c4c658bb7a68f0815b2bd1a6d5c492ca7300
[ "BSD-3-Clause" ]
1
2020-05-20T06:19:40.000Z
2020-05-20T06:19:40.000Z
bifacialvf/vf.py
shirubana/bifacialvf
7cd1c4c658bb7a68f0815b2bd1a6d5c492ca7300
[ "BSD-3-Clause" ]
null
null
null
bifacialvf/vf.py
shirubana/bifacialvf
7cd1c4c658bb7a68f0815b2bd1a6d5c492ca7300
[ "BSD-3-Clause" ]
1
2020-12-30T08:05:49.000Z
2020-12-30T08:05:49.000Z
# -*- coding: utf-8 -*- """ ViewFactor module - VF calculation helper files for bifacial-viewfactor @author Bill Marion @translated to python by sayala 06/09/17 """ # ensure python3 compatible division and printing from __future__ import division, print_function, absolute_import import math import numpy as np fr...
50.374441
203
0.534692
10,227
78,836
4.110003
0.083896
0.006424
0.007137
0.012324
0.797112
0.775081
0.752195
0.72819
0.711489
0.691933
0
0.149293
0.362258
78,836
1,564
204
50.40665
0.686735
0.430895
0
0.692
0
0
0.013246
0.001708
0
0
0
0.001279
0
1
0.008
false
0.002667
0.006667
0
0.022667
0.008
0
0
0
null
0
0
0
0
1
1
1
1
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
5
ab5be15bbc59ecc18cf93a6170b0dd272f33cfd6
833
py
Python
tests/test_slison.py
Habidatum/slisonner
488be30a199a5d29271e24377c37a7ad83d52e3e
[ "MIT" ]
2
2017-02-06T17:15:11.000Z
2017-04-17T13:18:18.000Z
tests/test_slison.py
Habidatum/slisonner
488be30a199a5d29271e24377c37a7ad83d52e3e
[ "MIT" ]
null
null
null
tests/test_slison.py
Habidatum/slisonner
488be30a199a5d29271e24377c37a7ad83d52e3e
[ "MIT" ]
null
null
null
from slisonner import decoder, encoder from tests import mocker from tempfile import mkdtemp from shutil import rmtree def test_full_encode_decode_cycle(): temp_out_dir = mkdtemp() slice_id = '2015-01-02 00:00:00' x_size, y_size = 10, 16 temp_slice_path = mocker.generate_slice(x_size, y_size, 'float3...
29.75
75
0.716687
120
833
4.6
0.441667
0.043478
0.065217
0.054348
0
0
0
0
0
0
0
0.037764
0.205282
833
27
76
30.851852
0.796073
0
0
0
0
0
0.046819
0
0
0
0
0
0.045455
1
0.045455
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
ab5da7ec6af05a22fe8ff59c25c22325724698fc
403
py
Python
cartrade/cartrade/doctype/category/category.py
vignesharumainayagam/cartrade
81349bc3cd9dbd441491304734077aab10dca56f
[ "MIT" ]
null
null
null
cartrade/cartrade/doctype/category/category.py
vignesharumainayagam/cartrade
81349bc3cd9dbd441491304734077aab10dca56f
[ "MIT" ]
null
null
null
cartrade/cartrade/doctype/category/category.py
vignesharumainayagam/cartrade
81349bc3cd9dbd441491304734077aab10dca56f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (c) 2018, Tridots Tech Pvt. Ltd. and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe from frappe.website.website_generator import WebsiteGenerator class Category(WebsiteGenerator): def validate(self): if ' '...
28.785714
61
0.751861
51
403
5.784314
0.745098
0.081356
0.108475
0
0
0
0
0
0
0
0
0.014409
0.138958
403
14
62
28.785714
0.835735
0.320099
0
0
0
0
0.00738
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
ab5e4dfefa5bc8fdcbff9af5c74dd0475612065f
372
py
Python
exercises/pyfiles/ex812_polarsincos.py
TUDelft-AE-Python/ae1205-exercises
342d1d567b64d3ccb3371ce9826c02a87a155fa8
[ "MIT" ]
1
2021-10-05T04:49:54.000Z
2021-10-05T04:49:54.000Z
exercises/pyfiles/ex812_polarsincos.py
TUDelft-AE1205/ae1205-exercises
342d1d567b64d3ccb3371ce9826c02a87a155fa8
[ "MIT" ]
null
null
null
exercises/pyfiles/ex812_polarsincos.py
TUDelft-AE1205/ae1205-exercises
342d1d567b64d3ccb3371ce9826c02a87a155fa8
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt import math xtab = [] ytab = [] for i in range(0, 628): # Calculate polar coordinates for provided equation phi = float(i) / 100.0 r = 4 * math.cos(2 * phi) # Convert to Cartesian and store in lists x = r * math.cos(phi) y = r * math.sin(phi) xtab.append(x)...
19.578947
55
0.620968
61
372
3.786885
0.622951
0.069264
0
0
0
0
0
0
0
0
0
0.035971
0.252688
372
19
56
19.578947
0.794964
0.239247
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.153846
0
0.153846
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ab5ff68a9733a875c0aeb19f8b19c6f3ac7260b4
3,108
py
Python
vendor/packages/logilab-astng/__pkginfo__.py
jgmize/kitsune
8f23727a9c7fcdd05afc86886f0134fb08d9a2f0
[ "BSD-3-Clause" ]
2
2019-08-19T17:08:47.000Z
2019-10-05T11:37:02.000Z
vendor/packages/logilab-astng/__pkginfo__.py
jgmize/kitsune
8f23727a9c7fcdd05afc86886f0134fb08d9a2f0
[ "BSD-3-Clause" ]
null
null
null
vendor/packages/logilab-astng/__pkginfo__.py
jgmize/kitsune
8f23727a9c7fcdd05afc86886f0134fb08d9a2f0
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) 2003-2010 LOGILAB S.A. (Paris, FRANCE). # http://www.logilab.fr/ -- mailto:contact@logilab.fr # # This program is free software; you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free Software # Foundation; either version 2 of the Lic...
40.363636
87
0.740991
483
3,108
4.749482
0.403727
0.013078
0.031386
0.049695
0.442895
0.442895
0.442895
0.418483
0.385353
0.385353
0
0.024166
0.161197
3,108
76
88
40.894737
0.855773
0.557593
0
0
0
0.038462
0.647412
0.045761
0
0
0
0
0
1
0
false
0
0.038462
0
0.038462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ab60f9944d5fde6a7550fbbfc9b1e8fd43e10b50
1,518
py
Python
W-DCGAN/model.py
lmyybh/pytorch-networks
8da055f5042c3803b275734afc89d33d239d7585
[ "MulanPSL-1.0" ]
null
null
null
W-DCGAN/model.py
lmyybh/pytorch-networks
8da055f5042c3803b275734afc89d33d239d7585
[ "MulanPSL-1.0" ]
null
null
null
W-DCGAN/model.py
lmyybh/pytorch-networks
8da055f5042c3803b275734afc89d33d239d7585
[ "MulanPSL-1.0" ]
null
null
null
import torch import torch.nn as nn class Generator(nn.Module): def __init__(self, signal_size, out_channels=3): super(Generator, self).__init__() self.linear = nn.Linear(signal_size, 1024*4*4) convs = [] channels = [1024, 512, 256, 128] for i in range(1, len(channel...
33
87
0.563241
207
1,518
4.033816
0.241546
0.105389
0.124551
0.064671
0.608383
0.371257
0.297006
0.265868
0.265868
0.265868
0
0.069509
0.289196
1,518
45
88
33.733333
0.704356
0.013175
0
0.5
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.055556
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ab617d4c442405b9219d3fa02f66e3a525d82e42
4,339
py
Python
bioinformatics/analysis/rnaseq/prepare/split_gtf_by_type.py
bioShaun/omsCabinet
741179a06cbd5200662cd03bc2e0115f4ad06917
[ "MIT" ]
null
null
null
bioinformatics/analysis/rnaseq/prepare/split_gtf_by_type.py
bioShaun/omsCabinet
741179a06cbd5200662cd03bc2e0115f4ad06917
[ "MIT" ]
null
null
null
bioinformatics/analysis/rnaseq/prepare/split_gtf_by_type.py
bioShaun/omsCabinet
741179a06cbd5200662cd03bc2e0115f4ad06917
[ "MIT" ]
null
null
null
import fire import gtfparse from pathlib import Path GENCODE_CATEGORY_MAP = { 'IG_C_gene': 'protein_coding', 'IG_D_gene': 'protein_coding', 'IG_J_gene': 'protein_coding', 'IG_V_gene': 'protein_coding', 'IG_LV_gene': 'protein_coding', 'TR_C_gene': 'protein_coding', 'TR_J_gene': 'protein_cod...
30.77305
59
0.63563
506
4,339
5.086957
0.264822
0.20202
0.059441
0.029526
0.043512
0.028749
0.028749
0.028749
0.028749
0.028749
0
0.002061
0.217101
4,339
140
60
30.992857
0.755667
0
0
0.079365
0
0
0.403319
0.078129
0
0
0
0
0
1
0.02381
false
0.015873
0.02381
0
0.063492
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
ab61967196abc0b2e677bfd1d2c054cef2f1f32b
792
py
Python
rational.py
navel0810/chibi
d2e9a791492352c3c1b76c841a3ad30df2f444fd
[ "MIT" ]
null
null
null
rational.py
navel0810/chibi
d2e9a791492352c3c1b76c841a3ad30df2f444fd
[ "MIT" ]
null
null
null
rational.py
navel0810/chibi
d2e9a791492352c3c1b76c841a3ad30df2f444fd
[ "MIT" ]
null
null
null
import math class Q(object): def __init__(self,a,b=1): gcd=math.gcd(a,b) self.a=a//gcd self.b=b//gcd def __repr__(self): if self.b==1: return str(self.a) return f'{self.a}/{self.b}' def __add__(self,q): a=self.a b=self.b...
17.217391
36
0.412879
144
792
2.104167
0.194444
0.079208
0.069307
0.132013
0.471947
0.471947
0.471947
0.471947
0.471947
0.471947
0
0.022173
0.430556
792
46
37
17.217391
0.649667
0
0
0.432432
0
0
0.022727
0
0
0
0
0
0
1
0.162162
false
0
0.027027
0
0.378378
0.027027
0
0
0
null
0
0
0
0
0
0
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
ab6209870d287fc20132452f64da2ca39e9ab140
1,890
py
Python
cities_light/tests/test_import.py
jsandovalc/django-cities-light
a1c6af08938b7b01d4e12555bd4cb5040905603d
[ "MIT" ]
null
null
null
cities_light/tests/test_import.py
jsandovalc/django-cities-light
a1c6af08938b7b01d4e12555bd4cb5040905603d
[ "MIT" ]
null
null
null
cities_light/tests/test_import.py
jsandovalc/django-cities-light
a1c6af08938b7b01d4e12555bd4cb5040905603d
[ "MIT" ]
null
null
null
from __future__ import unicode_literals import glob import os from dbdiff.fixture import Fixture from .base import TestImportBase, FixtureDir from ..settings import DATA_DIR class TestImport(TestImportBase): """Load test.""" def test_single_city(self): """Load single city.""" fixture_dir = ...
29.53125
84
0.607937
192
1,890
5.671875
0.28125
0.073462
0.038567
0.049587
0.471074
0.471074
0.471074
0.471074
0.410468
0.323232
0
0
0.291005
1,890
63
85
30
0.812687
0.044444
0
0.428571
0
0
0.204036
0.036996
0
0
0
0
0.061224
1
0.061224
false
0
0.306122
0
0.387755
0.020408
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
ab6246c7ab7820986e2418ba286e6e0d8c06092b
574
py
Python
custom_components/hoymiles/__init__.py
Cosik/HAHoymiles
e956f8fafc4ae59d4c05755c6e8a5d5d7caa37f9
[ "MIT" ]
null
null
null
custom_components/hoymiles/__init__.py
Cosik/HAHoymiles
e956f8fafc4ae59d4c05755c6e8a5d5d7caa37f9
[ "MIT" ]
null
null
null
custom_components/hoymiles/__init__.py
Cosik/HAHoymiles
e956f8fafc4ae59d4c05755c6e8a5d5d7caa37f9
[ "MIT" ]
null
null
null
import datetime import logging import voluptuous as vol from homeassistant.components.sensor import PLATFORM_SCHEMA from homeassistant.const import CONF_PASSWORD, CONF_USERNAME import homeassistant.helpers.config_validation as cv from .const import ( CONF_PLANT_ID, ) _LOGGER = logging.getLogger(__name__) MIN_T...
23.916667
60
0.775261
72
574
5.902778
0.486111
0.098824
0.105882
0.089412
0.108235
0
0
0
0
0
0
0.006148
0.149826
574
24
61
23.916667
0.864754
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.111111
0.388889
0
0.388889
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
1
0
0
0
0
2
db3b69e3c4b3003f7bdcfee2a7ee4c426c44a37d
5,738
py
Python
views/auth.py
bluebibi/flask_rest
9b1ee876060bca5d97459bb894c73530f66c4c15
[ "MIT" ]
null
null
null
views/auth.py
bluebibi/flask_rest
9b1ee876060bca5d97459bb894c73530f66c4c15
[ "MIT" ]
1
2022-02-11T03:43:51.000Z
2022-02-11T03:43:51.000Z
views/auth.py
bluebibi/flask_rest
9b1ee876060bca5d97459bb894c73530f66c4c15
[ "MIT" ]
2
2019-11-19T02:09:03.000Z
2020-04-04T06:55:14.000Z
from flask import Blueprint, redirect, render_template, request, flash, session from database import base from database.base import User from forms import UserForm, LoginForm, MyPageUserForm from flask_login import login_required, login_user, logout_user, current_user import requests auth_blueprint = Blueprint('auth'...
32.977011
104
0.648832
695
5,738
5.136691
0.205755
0.092437
0.029132
0.038655
0.341176
0.226891
0.207843
0.152941
0.114566
0.028571
0
0.009486
0.210003
5,738
174
105
32.977011
0.778072
0.015859
0
0.246269
0
0
0.22972
0.045342
0
0
0
0
0
1
0.059701
false
0.044776
0.044776
0
0.19403
0.059701
0
0
0
null
0
0
0
0
0
0
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
db3d773e3532da7f969a86616e27db866a72624c
3,500
py
Python
doc/.src/book/exer/cable_sin.py
hplgit/fem-book
c23099715dc3cb72e7f4d37625e6f9614ee5fc4e
[ "MIT" ]
86
2015-12-17T12:57:11.000Z
2022-03-26T01:53:47.000Z
doc/.src/book/exer/cable_sin.py
hplgit/fem-book
c23099715dc3cb72e7f4d37625e6f9614ee5fc4e
[ "MIT" ]
9
2017-04-16T21:57:29.000Z
2021-04-17T08:09:30.000Z
doc/.src/book/exer/cable_sin.py
hplgit/fem-book
c23099715dc3cb72e7f4d37625e6f9614ee5fc4e
[ "MIT" ]
43
2016-03-11T19:33:14.000Z
2022-03-05T00:21:57.000Z
import matplotlib.pyplot as plt def model(): """Solve u'' = -1, u(0)=0, u'(1)=0.""" import sympy as sym x, c_0, c_1, = sym.symbols('x c_0 c_1') u_x = sym.integrate(1, (x, 0, x)) + c_0 u = sym.integrate(u_x, (x, 0, x)) + c_1 r = sym.solve([u.subs(x,0) - 0, sym.diff(u,x).subs(x...
28.92562
60
0.512571
622
3,500
2.77492
0.173633
0.020857
0.069525
0.017381
0.618772
0.520278
0.516802
0.48146
0.48146
0.442642
0
0.064754
0.302857
3,500
120
61
29.166667
0.642623
0.084
0
0.514286
0
0
0.053689
0
0
0
0
0
0
1
0.085714
false
0
0.104762
0
0.228571
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
db3dd00adedd165108fb972c0f4e5656055ffd1d
1,196
py
Python
skgmm.py
liuliu663/speaker-recognition-py3
8fd0f77ac011e4a11c7cac751dc985b9cd1f2c4d
[ "Apache-2.0" ]
null
null
null
skgmm.py
liuliu663/speaker-recognition-py3
8fd0f77ac011e4a11c7cac751dc985b9cd1f2c4d
[ "Apache-2.0" ]
null
null
null
skgmm.py
liuliu663/speaker-recognition-py3
8fd0f77ac011e4a11c7cac751dc985b9cd1f2c4d
[ "Apache-2.0" ]
null
null
null
from sklearn.mixture import GaussianMixture import operator import numpy as np import math class GMMSet: def __init__(self, gmm_order = 32): self.gmms = [] self.gmm_order = gmm_order self.y = [] def fit_new(self, x, label): self.y.append(label) gmm = GaussianM...
27.813953
81
0.601171
172
1,196
4.063953
0.337209
0.050072
0.051502
0.042918
0
0
0
0
0
0
0
0.009206
0.273411
1,196
42
82
28.47619
0.795167
0
0
0.060606
0
0
0
0
0
0
0
0
0
1
0.212121
false
0.060606
0.121212
0.030303
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
1
0
0
0
0
0
2
db3df0c689b2c97c43cbf7385cac4c429ebf9bf0
2,440
py
Python
duke-cs671-fall21-coupon-recommendation/outputs/rules/RF/12_features/numtrees_20/rule_6.py
apcarrik/kaggle
6e2d4db58017323e7ba5510bcc2598e01a4ee7bf
[ "MIT" ]
null
null
null
duke-cs671-fall21-coupon-recommendation/outputs/rules/RF/12_features/numtrees_20/rule_6.py
apcarrik/kaggle
6e2d4db58017323e7ba5510bcc2598e01a4ee7bf
[ "MIT" ]
null
null
null
duke-cs671-fall21-coupon-recommendation/outputs/rules/RF/12_features/numtrees_20/rule_6.py
apcarrik/kaggle
6e2d4db58017323e7ba5510bcc2598e01a4ee7bf
[ "MIT" ]
null
null
null
def findDecision(obj): #obj[0]: Passanger, obj[1]: Time, obj[2]: Coupon, obj[3]: Gender, obj[4]: Age, obj[5]: Education, obj[6]: Occupation, obj[7]: Bar, obj[8]: Coffeehouse, obj[9]: Restaurant20to50, obj[10]: Direction_same, obj[11]: Distance # {"feature": "Age", "instances": 51, "metric_value": 0.9662, "depth": 1} ...
35.882353
243
0.547951
348
2,440
3.798851
0.152299
0.11649
0.099849
0.102874
0.480333
0.270802
0.270045
0.197428
0.125567
0.092284
0
0.090222
0.241393
2,440
67
244
36.41791
0.623987
0.492213
0
0.574074
0
0
0.099592
0
0
0
0
0
0
1
0.018519
false
0
0
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
db3fb84bca4d1b9ce63dca5f602d76eb7650bd3f
106
py
Python
lib/loss/__init__.py
kennethwdk/PINet
3a0abbd653146c56e39612384891c94c3fb49b35
[ "MIT" ]
10
2021-12-22T11:31:53.000Z
2022-01-18T11:52:17.000Z
lib/loss/__init__.py
kennethwdk/PINet
3a0abbd653146c56e39612384891c94c3fb49b35
[ "MIT" ]
null
null
null
lib/loss/__init__.py
kennethwdk/PINet
3a0abbd653146c56e39612384891c94c3fb49b35
[ "MIT" ]
null
null
null
from .heatmaploss import HeatmapLoss from .offsetloss import OffsetLoss from .refineloss import RefineLoss
35.333333
36
0.867925
12
106
7.666667
0.416667
0
0
0
0
0
0
0
0
0
0
0
0.103774
106
3
37
35.333333
0.968421
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
db40a9951b31f74580005898f3f6b78a4f2c461b
1,080
py
Python
eth2/beacon/types/historical_batch.py
AndrewBezold/trinity
bc656da4dece431a0c929a99349d45faf75decf8
[ "MIT" ]
null
null
null
eth2/beacon/types/historical_batch.py
AndrewBezold/trinity
bc656da4dece431a0c929a99349d45faf75decf8
[ "MIT" ]
null
null
null
eth2/beacon/types/historical_batch.py
AndrewBezold/trinity
bc656da4dece431a0c929a99349d45faf75decf8
[ "MIT" ]
null
null
null
from typing import Sequence from eth.constants import ZERO_HASH32 from eth_typing import Hash32 import ssz from ssz.sedes import Vector, bytes32 from eth2.configs import Eth2Config from .defaults import default_tuple, default_tuple_of_size class HistoricalBatch(ssz.Serializable): fields = [("block_roots", Vec...
30
87
0.649074
124
1,080
5.298387
0.346774
0.146119
0.103501
0.082192
0.280061
0.185693
0.185693
0.185693
0.185693
0.185693
0
0.029601
0.280556
1,080
35
88
30.857143
0.815959
0.025926
0
0.076923
0
0
0.020952
0
0
0
0
0
0
1
0.038462
false
0
0.269231
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
db42ec903108c18c60147d1092a12cae13582379
186
py
Python
app/settings.py
nikosk/fastAPI-microservice-example-
a1a61ab4e521bc0c48eee5b3a755db134c098546
[ "MIT" ]
null
null
null
app/settings.py
nikosk/fastAPI-microservice-example-
a1a61ab4e521bc0c48eee5b3a755db134c098546
[ "MIT" ]
null
null
null
app/settings.py
nikosk/fastAPI-microservice-example-
a1a61ab4e521bc0c48eee5b3a755db134c098546
[ "MIT" ]
null
null
null
import os from pydantic import BaseSettings class Settings(BaseSettings): DEBUG: bool DATABASE_URL: str class Config: env_file = os.getenv("CONFIG_FILE", ".env")
15.5
51
0.688172
23
186
5.434783
0.695652
0
0
0
0
0
0
0
0
0
0
0
0.225806
186
11
52
16.909091
0.868056
0
0
0
0
0
0.080645
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.857143
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
db434cf2f9b45ff5f3690a75cc12bde4fd9cb6aa
1,354
py
Python
ADVECTOR/io_tools/create_bathymetry.py
john-science/ADVECTOR
5c5ca7595c2c051f1a088b1f0e694936c3da3610
[ "MIT" ]
7
2021-09-07T02:32:00.000Z
2022-01-15T11:35:02.000Z
ADVECTOR/io_tools/create_bathymetry.py
TheOceanCleanupAlgorithms/ADVECT
e27ce15da6a2fcbccbe363f8c2415b0122696d1f
[ "MIT" ]
1
2021-12-24T15:16:26.000Z
2021-12-24T15:16:26.000Z
ADVECTOR/io_tools/create_bathymetry.py
TheOceanCleanupAlgorithms/ADVECT
e27ce15da6a2fcbccbe363f8c2415b0122696d1f
[ "MIT" ]
1
2021-12-12T15:13:52.000Z
2021-12-12T15:13:52.000Z
import numpy as np import xarray as xr def create_bathymetry_from_land_mask(land_mask: xr.DataArray) -> xr.DataArray: """Method: identifies the lower depth bound of the shallowest ocean cell (non-null) in each vertical grid column. :param land_mask: dimensions {time, depth, lat, lon}, boloean array, T...
34.717949
99
0.637371
188
1,354
4.484043
0.484043
0.094899
0.077106
0.033215
0.181495
0.151839
0.151839
0.083037
0
0
0
0.010774
0.245938
1,354
38
100
35.631579
0.814887
0.329394
0
0
0
0
0.136925
0
0
0
0
0
0.08
1
0.04
false
0
0.08
0
0.16
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
db446d4b90633693172c23acd329f858502b3ec2
712
py
Python
unitconvert/distance.py
cr2630git/unitconvert
64a530f53b27a9412988877c7ae1b3b34f9ce8a6
[ "MIT" ]
null
null
null
unitconvert/distance.py
cr2630git/unitconvert
64a530f53b27a9412988877c7ae1b3b34f9ce8a6
[ "MIT" ]
null
null
null
unitconvert/distance.py
cr2630git/unitconvert
64a530f53b27a9412988877c7ae1b3b34f9ce8a6
[ "MIT" ]
2
2017-11-16T15:11:09.000Z
2021-08-19T19:34:23.000Z
""" A simple python module for converting kilometers to miles or vice versa. So simple that it doesn't even have any dependencies. """ def kilometers_to_miles(dist_in_km): """ Actually does the conversion of distance from km to mi. PARAMETERS -------- dist_in_km: float A distance in kilometers. RETURNS -...
17.365854
72
0.703652
108
712
4.453704
0.37963
0.099792
0.066528
0.10395
0.29106
0.29106
0.162162
0
0
0
0
0.024221
0.188202
712
40
73
17.8
0.807958
0.771067
0
0
0
0
0
0
0
0
0
0
0
1
0.5
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
1
0
0
0
0
1
0
0
2
db44a6bdcd485ae98f0bcb11e91bddb17022662f
1,456
py
Python
contacts/migrations_old/0006_data_status.py
I-TECH-UW/mwachx
e191755c3369208d678fceec68dbb4f5f51c453a
[ "Apache-2.0" ]
3
2015-05-27T14:35:49.000Z
2016-02-26T21:04:32.000Z
contacts/migrations/0006_data_status.py
tperrier/mwachx
94616659dc29843e661b2ecc9a2e7f1d4e81b5a4
[ "Apache-2.0" ]
375
2015-01-31T10:08:34.000Z
2021-06-10T19:44:21.000Z
contacts/migrations_old/0006_data_status.py
I-TECH-UW/mwachx
e191755c3369208d678fceec68dbb4f5f51c453a
[ "Apache-2.0" ]
6
2016-01-10T19:52:41.000Z
2020-06-15T22:07:24.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals import itertools as it from django.db import models, migrations def convert_status(apps, schema_editor): ''' Migrate Visit.skipped and ScheduledPhoneCall.skipped -> status (pending,missed,deleted,attended) ''' Visit = apps.get_model(...
30.333333
79
0.643544
159
1,456
5.773585
0.377358
0.065359
0.052288
0.087146
0.324619
0.324619
0.324619
0.324619
0.324619
0.324619
0
0.004488
0.23489
1,456
47
80
30.978723
0.819569
0.113324
0
0.25
0
0
0.121739
0.020553
0
0
0
0
0
1
0.0625
false
0
0.09375
0
0.25
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
db4545f1a4dfa83103a39912add856795ff6a347
813
py
Python
core/tests/test_base_time_range_controller.py
One-Green/plant-keeper-master
67101a4cc7070d26fd1685631a710ae9a60fc5e8
[ "CC0-1.0" ]
2
2022-02-04T17:52:38.000Z
2022-02-04T17:52:40.000Z
core/tests/test_base_time_range_controller.py
shanisma/plant-keeper
3ca92ae2d55544a301e1398496a08a45cca6d15b
[ "CC0-1.0" ]
4
2021-06-16T20:01:50.000Z
2022-03-09T20:17:53.000Z
core/tests/test_base_time_range_controller.py
shanisma/plant-keeper
3ca92ae2d55544a301e1398496a08a45cca6d15b
[ "CC0-1.0" ]
1
2021-06-27T10:45:36.000Z
2021-06-27T10:45:36.000Z
import os import sys from datetime import time import unittest sys.path.append( os.path.dirname( os.path.dirname(os.path.join("..", "..", "..", os.path.dirname("__file__"))) ) ) from core.controller import BaseTimeRangeController class TestTimeRangeController(unittest.TestCase): def test_time_ran...
26.225806
84
0.688807
105
813
4.990476
0.371429
0.103053
0.181298
0.114504
0.274809
0.171756
0.171756
0.171756
0.171756
0.171756
0
0.026114
0.199262
813
30
85
27.1
0.778802
0
0
0.086957
0
0
0.02706
0
0
0
0
0
0.086957
1
0.043478
false
0
0.217391
0
0.304348
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
db45d8bc1a8d49e33721d418ba06b6f827c48c0b
4,098
py
Python
generator_code/mp3_generator.py
jurganson/spingen
f8421a26356d0cd1d94a0692846791eb45fce6f5
[ "MIT" ]
null
null
null
generator_code/mp3_generator.py
jurganson/spingen
f8421a26356d0cd1d94a0692846791eb45fce6f5
[ "MIT" ]
null
null
null
generator_code/mp3_generator.py
jurganson/spingen
f8421a26356d0cd1d94a0692846791eb45fce6f5
[ "MIT" ]
null
null
null
from gtts import gTTS as ttos from pydub import AudioSegment import os def generate_mp3 (segments, fade_ms, speech_gain, comment_fade_ms, language = "en", output_file_name = "generated_program_sound") : def apply_comments (exercise_audio, segment) : new_exercise_audio = exercise_audio for comment ...
54.64
175
0.708394
607
4,098
4.410214
0.158155
0.052297
0.065745
0.035861
0.368323
0.283526
0.125887
0.125887
0.05678
0.030631
0
0.044245
0.183748
4,098
74
176
55.378378
0.756054
0.019522
0
0.034483
1
0
0.064291
0.005731
0
0
0
0
0
1
0.051724
false
0
0.051724
0
0.155172
0.086207
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
db4793142f42cba39f558b2249770456a14a7e8a
600
py
Python
relaax/algorithms/ddpg/parameter_server.py
deeplearninc/relaax
a0cf280486dc74dca3857c85ec0e4c34e88d6b2b
[ "MIT" ]
71
2017-01-25T00:26:20.000Z
2021-02-17T12:39:20.000Z
relaax/algorithms/ddpg/parameter_server.py
deeplearninc/relaax
a0cf280486dc74dca3857c85ec0e4c34e88d6b2b
[ "MIT" ]
69
2017-01-23T19:29:23.000Z
2018-08-21T13:26:39.000Z
relaax/algorithms/ddpg/parameter_server.py
deeplearninc/relaax
a0cf280486dc74dca3857c85ec0e4c34e88d6b2b
[ "MIT" ]
13
2017-01-23T21:18:09.000Z
2019-01-29T23:48:30.000Z
from __future__ import absolute_import from relaax.server.parameter_server import parameter_server_base from relaax.server.common import session from . import ddpg_model class ParameterServer(parameter_server_base.ParameterServerBase): def init_session(self): self.session = session.Session(ddpg_model.Sha...
27.272727
69
0.745
76
600
5.592105
0.368421
0.155294
0.122353
0.148235
0.108235
0
0
0
0
0
0
0
0.178333
600
21
70
28.571429
0.862069
0
0
0
0
0
0
0
0
0
0
0
0
1
0.266667
false
0
0.266667
0.2
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
db49fa274fd584b7dd27d84ca85b94655d65a8a2
6,946
py
Python
scripts/make_VFS.py
nvoron23/brython
b1ce5fa39b5d38c0dde138b4e75723fbb3e574ab
[ "BSD-3-Clause" ]
1
2015-11-06T09:32:34.000Z
2015-11-06T09:32:34.000Z
scripts/make_VFS.py
nvoron23/brython
b1ce5fa39b5d38c0dde138b4e75723fbb3e574ab
[ "BSD-3-Clause" ]
null
null
null
scripts/make_VFS.py
nvoron23/brython
b1ce5fa39b5d38c0dde138b4e75723fbb3e574ab
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- import json import os import pyminifier try: import io as StringIO except ImportError: import cStringIO as StringIO # lint:ok # Check to see if slimit or some other minification library is installed and # Set minify equal to slimit's minify function. try: import slimit js_mi...
36.177083
91
0.512093
781
6,946
4.185659
0.201024
0.053533
0.024472
0.029979
0.52126
0.475375
0.449373
0.410523
0.410523
0.389722
0
0.008659
0.351569
6,946
191
92
36.366492
0.71714
0.04607
0
0.435065
0
0
0.199566
0.063576
0
0
0
0
0
1
0.012987
false
0
0.077922
0
0.103896
0.084416
0
0
0
null
0
0
0
0
0
0
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
db4a6abf2a3e16936115e864f7caf11878e6ba2c
9,659
py
Python
main.py
rcox771/spectrum_scanner
71559d62ca9dc9f66d66b7ada4491de42c6cdd52
[ "MIT" ]
null
null
null
main.py
rcox771/spectrum_scanner
71559d62ca9dc9f66d66b7ada4491de42c6cdd52
[ "MIT" ]
null
null
null
main.py
rcox771/spectrum_scanner
71559d62ca9dc9f66d66b7ada4491de42c6cdd52
[ "MIT" ]
null
null
null
from rtlsdr import RtlSdr from contextlib import closing from matplotlib import pyplot as plt import numpy as np from scipy.signal import spectrogram, windows from scipy import signal from skimage.io import imsave, imread from datetime import datetime import json import os from tqdm import tqdm import time from queue i...
27.997101
104
0.576871
1,471
9,659
3.630184
0.222978
0.043258
0.016479
0.020974
0.118914
0.070787
0.046629
0.038764
0.013483
0.013483
0
0.02869
0.27829
9,659
345
105
27.997101
0.73734
0.089036
0
0.04661
0
0
0.056246
0.017456
0
0
0
0
0.008475
1
0.067797
false
0.004237
0.072034
0.008475
0.190678
0.042373
0
0
0
null
0
0
0
0
0
0
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
db4a75d192569c27cd0ea38a505083fba87c919d
67
py
Python
test/__init__.py
donbowman/rdflib
c1be731c8e6bbe997cc3f25890bbaf685499c517
[ "BSD-3-Clause" ]
1,424
2015-01-04T13:10:22.000Z
2022-03-29T15:12:38.000Z
test/__init__.py
donbowman/rdflib
c1be731c8e6bbe997cc3f25890bbaf685499c517
[ "BSD-3-Clause" ]
1,148
2015-01-01T18:26:18.000Z
2022-03-31T21:51:53.000Z
test/__init__.py
jjon/rdflib
4c2ab7b392b353bf3c6088017ec9351ce8ac3db6
[ "BSD-3-Clause" ]
459
2015-01-03T14:41:34.000Z
2022-03-14T22:06:47.000Z
# import os TEST_DIR = os.path.abspath(os.path.dirname(__file__))
13.4
53
0.746269
11
67
4.090909
0.727273
0.266667
0
0
0
0
0
0
0
0
0
0
0.104478
67
4
54
16.75
0.75
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
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
db4a91969cbd0645d892f196740aa9b468c864c7
7,333
py
Python
examples/mnist1.py
braingineer/pyromancy
7a7ab1a6835fd63b9153463dd08bb53630f15c62
[ "MIT" ]
null
null
null
examples/mnist1.py
braingineer/pyromancy
7a7ab1a6835fd63b9153463dd08bb53630f15c62
[ "MIT" ]
1
2021-03-25T22:13:53.000Z
2021-03-25T22:13:53.000Z
examples/mnist1.py
braingineer/pyromancy
7a7ab1a6835fd63b9153463dd08bb53630f15c62
[ "MIT" ]
null
null
null
from __future__ import print_function import argparse import os import torch import torch.nn as nn import torch.nn.functional as F from torch.autograd import Variable from torchvision import datasets, transforms from tqdm import tqdm from pyromancy import pyromq from pyromancy.losses import LossGroup, NegativeLogLik...
33.949074
92
0.571799
796
7,333
5.084171
0.252513
0.024463
0.046207
0.013837
0.357796
0.297999
0.297999
0.2723
0.230788
0.230788
0
0.017034
0.319515
7,333
215
93
34.106977
0.793988
0.046093
0
0.260563
0
0
0.078797
0
0
0
0
0
0
1
0.035211
false
0
0.091549
0
0.147887
0.007042
0
0
0
null
0
0
0
0
0
0
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
db4b0c2266fee61af6dfa6c16082c9e18c028c39
4,345
py
Python
selfdrive/locationd/calibrationd.py
matthewklinko/openpilot
b0563a59684d0901f99abbb58ac1fbd729ded1f9
[ "MIT" ]
3
2019-06-29T08:32:58.000Z
2019-09-06T15:58:03.000Z
selfdrive/locationd/calibrationd.py
matthewklinko/openpilot
b0563a59684d0901f99abbb58ac1fbd729ded1f9
[ "MIT" ]
1
2019-09-22T06:44:10.000Z
2019-09-22T06:44:10.000Z
selfdrive/locationd/calibrationd.py
matthewklinko/openpilot
b0563a59684d0901f99abbb58ac1fbd729ded1f9
[ "MIT" ]
2
2020-03-18T02:56:23.000Z
2020-05-12T16:22:31.000Z
#!/usr/bin/env python import os import copy import json import numpy as np import selfdrive.messaging as messaging from selfdrive.locationd.calibration_helpers import Calibration from selfdrive.swaglog import cloudlog from common.params import Params from common.transformations.model import model_height from common.tra...
35.325203
105
0.711853
630
4,345
4.684127
0.312698
0.016943
0.026432
0.024399
0.094883
0.032531
0
0
0
0
0
0.020102
0.187112
4,345
122
106
35.614754
0.815402
0.074108
0
0.085106
0
0
0.058281
0
0
0
0
0
0
0
null
null
0
0.106383
null
null
0.010638
0
0
0
null
0
0
0
0
0
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
db4b58f91ffeef6d5055943e105969fe3018f79e
24,453
py
Python
hunter/main.py
datastax-labs/hunter
3631cc3fa529991297a8b631bbae15b138cce307
[ "Apache-2.0" ]
17
2021-09-03T07:32:40.000Z
2022-03-24T21:56:22.000Z
hunter/main.py
datastax-labs/hunter
3631cc3fa529991297a8b631bbae15b138cce307
[ "Apache-2.0" ]
1
2021-12-02T14:05:07.000Z
2021-12-02T14:05:07.000Z
hunter/main.py
datastax-labs/hunter
3631cc3fa529991297a8b631bbae15b138cce307
[ "Apache-2.0" ]
2
2022-01-18T18:40:41.000Z
2022-03-11T15:33:25.000Z
import argparse import copy import logging import sys from dataclasses import dataclass from datetime import datetime, timedelta from slack_sdk import WebClient from typing import Dict, Optional, List import pytz from hunter import config from hunter.attributes import get_back_links from hunter.config import ConfigEr...
38.630332
117
0.613953
2,818
24,453
5.131299
0.147622
0.019917
0.018811
0.015284
0.268534
0.206432
0.153734
0.116252
0.097718
0.071024
0
0.003619
0.29935
24,453
632
118
38.691456
0.840367
0.021592
0
0.208259
0
0.003591
0.177937
0.005227
0
0
0
0
0
1
0.034111
false
0
0.064632
0
0.132855
0.025135
0
0
0
null
0
0
0
0
0
0
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