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
f3a053275fcc5ad53f6d37ac237ac4dcff7bfa12
5,313
py
Python
ramjet/photometric_database/derived/self_lensing_binary_synthetic_signals_light_curve_collection.py
golmschenk/ramjet
77fb4481a15088923308fda09804d80455d1a9cf
[ "Apache-2.0" ]
3
2020-11-23T18:47:37.000Z
2021-08-05T17:45:51.000Z
ramjet/photometric_database/derived/self_lensing_binary_synthetic_signals_light_curve_collection.py
golmschenk/ramjet
77fb4481a15088923308fda09804d80455d1a9cf
[ "Apache-2.0" ]
5
2021-08-19T00:54:57.000Z
2022-02-10T00:15:40.000Z
ramjet/photometric_database/derived/self_lensing_binary_synthetic_signals_light_curve_collection.py
golmschenk/ramjet
77fb4481a15088923308fda09804d80455d1a9cf
[ "Apache-2.0" ]
3
2019-07-12T21:00:57.000Z
2020-06-03T22:18:13.000Z
""" Code for a light curve collection of Agnieszka Cieplak's synthetic signals. """ import re import tarfile import urllib.request import numpy as np import pandas as pd from pathlib import Path from typing import Iterable from ramjet.photometric_database.light_curve_collection import LightCurveCollection class Self...
44.647059
118
0.710521
635
5,313
5.689764
0.255118
0.070578
0.04982
0.035981
0.270689
0.202048
0.176031
0.176031
0.176031
0.176031
0
0.002856
0.20911
5,313
118
119
45.025424
0.856973
0.24713
0
0.16129
0
0.016129
0.140991
0.047974
0
0
0
0
0
1
0.129032
false
0
0.129032
0
0.354839
0.048387
0
0
0
null
0
0
0
0
0
0
0
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
f3a1a5ad8c12e43533c8520008c3118e79bfded9
2,661
py
Python
eval_sampled_config.py
gatech-sysml/CompOFA
baf561f14a561547ff51933e45f90ddf00cbb3cf
[ "Apache-2.0" ]
20
2021-04-18T09:13:06.000Z
2022-03-29T03:54:23.000Z
eval_sampled_config.py
compofa-blind-review/compofa-iclr21
a97b726f17519e666c6fcdb4ec0b90cfa64d8d9f
[ "Apache-2.0" ]
2
2021-07-02T16:08:17.000Z
2022-02-16T09:20:47.000Z
eval_sampled_config.py
compofa-blind-review/compofa-iclr21
a97b726f17519e666c6fcdb4ec0b90cfa64d8d9f
[ "Apache-2.0" ]
2
2021-09-06T06:48:20.000Z
2021-12-02T12:11:30.000Z
# CompOFA – Compound Once-For-All Networks for Faster Multi-Platform Deployment # Under blind review at ICLR 2021: https://openreview.net/forum?id=IgIk8RRT-Z # # Implementation based on: # Once for All: Train One Network and Specialize it for Efficient Deployment # Han Cai, Chuang Gan, Tianzhe Wang, Zhekai Zhang, Song ...
27.43299
85
0.698985
360
2,661
4.961111
0.488889
0.030235
0.057111
0.025756
0.024636
0
0
0
0
0
0
0.018257
0.176625
2,661
96
86
27.71875
0.79644
0.142052
0
0.148649
0
0
0.116484
0
0
0
0
0
0
1
0.027027
false
0
0.094595
0
0.148649
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
f3a233ffeb829f98043165f001f9360ebfc105b0
266
py
Python
server/config.py
beckybell13/dc-nanny-matchup
95b6bce65fae5ef9b34b317c55b6c3222699fa04
[ "MIT" ]
null
null
null
server/config.py
beckybell13/dc-nanny-matchup
95b6bce65fae5ef9b34b317c55b6c3222699fa04
[ "MIT" ]
10
2020-03-24T16:20:01.000Z
2022-03-11T23:32:38.000Z
server/config.py
beckybell13/dc-nanny-matchup
95b6bce65fae5ef9b34b317c55b6c3222699fa04
[ "MIT" ]
null
null
null
class Config(object): DEBUG = False TESTING = False class ProductionConfig(Config): DATABASE_URI = 'mysql://user@localhost/foo' ECHO = False class DevelopmentConfig(Config): DEBUG = True ECHO = False DATABASE_URI = 'sqlite:///:memory:'
20.461538
47
0.669173
29
266
6.068966
0.62069
0.113636
0
0
0
0
0
0
0
0
0
0
0.214286
266
12
48
22.166667
0.842105
0
0
0.2
0
0
0.165414
0.097744
0
0
0
0
0
1
0
false
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
f3a3102984d588e2abc373267f16845fca67864a
17,427
py
Python
import_models.py
CHREC/nn_benching-1
3b2e21e244edc20a226930104f9eb82f097296b0
[ "MIT" ]
3
2020-01-07T17:51:10.000Z
2021-03-27T02:03:53.000Z
import_models.py
CHREC/nn_benching-1
3b2e21e244edc20a226930104f9eb82f097296b0
[ "MIT" ]
null
null
null
import_models.py
CHREC/nn_benching-1
3b2e21e244edc20a226930104f9eb82f097296b0
[ "MIT" ]
1
2021-07-13T16:30:04.000Z
2021-07-13T16:30:04.000Z
import torchvision.models as models import torchvision.transforms as transforms import torchvision.datasets as datasets from torch.utils.data import DataLoader import torch #from models_dir.p_s_s.models import duc_hdc, fcn8s, fcn16s, fcn32s, gcn, psp_net, seg_net, u_net from efficientnet_pytorch import Efficien...
48.008264
189
0.650485
1,744
17,427
6.241972
0.114679
0.088187
0.176741
0.203932
0.914937
0.904648
0.904648
0.904648
0.891788
0.891788
0
0.065416
0.207896
17,427
362
190
48.140884
0.723196
0.156998
0
0.819905
0
0.004739
0.136495
0.011209
0
0
0
0
0
1
0.009479
false
0
0.037915
0
0.075829
0.033175
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
f3a4868d252daf86c64cbc325202072ca5b3c08e
4,548
py
Python
app/user/tests/test_user_api.py
Pkawa/DRF-portfolio-project
a9029957ca551eeabc442d09195c603fcf7681fb
[ "MIT" ]
1
2021-07-07T00:27:35.000Z
2021-07-07T00:27:35.000Z
app/user/tests/test_user_api.py
Pkawa/DRF-portfolio-project
a9029957ca551eeabc442d09195c603fcf7681fb
[ "MIT" ]
null
null
null
app/user/tests/test_user_api.py
Pkawa/DRF-portfolio-project
a9029957ca551eeabc442d09195c603fcf7681fb
[ "MIT" ]
1
2020-05-21T17:42:27.000Z
2020-05-21T17:42:27.000Z
from django.test import TestCase from django.contrib.auth import get_user_model from django.urls import reverse from rest_framework.test import APIClient from rest_framework import status CREATE_USER_URL = reverse('user:create') TOKEN_URL = reverse('user:token') ME_URL = reverse('user:me') def create_user(**params)...
34.195489
86
0.649736
531
4,548
5.370998
0.218456
0.045582
0.080645
0.091515
0.490884
0.437588
0.415147
0.415147
0.395512
0.355189
0
0.008085
0.238566
4,548
132
87
34.454545
0.815478
0.116755
0
0.450549
0
0
0.111335
0
0
0
0
0
0.175824
1
0.131868
false
0.120879
0.054945
0.010989
0.21978
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
f3a4cd8ed608d821130f28fbb04623bfe8e9ecb1
488
py
Python
students/k33402/Sholomov_Dan/lab34/lab3/order/views.py
heidamn/ITMO_ICT_WebDevelopment_2020-2021
47eb0cdf7c7dbe8d071bc4fd3f1ac94848475e7b
[ "MIT" ]
null
null
null
students/k33402/Sholomov_Dan/lab34/lab3/order/views.py
heidamn/ITMO_ICT_WebDevelopment_2020-2021
47eb0cdf7c7dbe8d071bc4fd3f1ac94848475e7b
[ "MIT" ]
null
null
null
students/k33402/Sholomov_Dan/lab34/lab3/order/views.py
heidamn/ITMO_ICT_WebDevelopment_2020-2021
47eb0cdf7c7dbe8d071bc4fd3f1ac94848475e7b
[ "MIT" ]
null
null
null
from rest_framework import viewsets from .serializers import OrdersSerializer, OrderedItemsSerializer from .models import Order, OrderedItem class OrdersViewSet(viewsets.ReadOnlyModelViewSet): serializer_class = OrdersSerializer queryset = Order.objects.all() permission_classes = [] class Ord...
30.5
66
0.776639
41
488
9.121951
0.512195
0.149733
0.203209
0.229947
0
0
0
0
0
0
0
0
0.161885
488
15
67
32.533333
0.914425
0
0
0.181818
0
0
0
0
0
0
0
0
0
1
0
false
0
0.272727
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
f3a6c053f2f12cb3261718563ed3380060f834ad
462
py
Python
initialize_countstats.py
handrews/gcd-django-vagrant-install
9eae6baab82f5a9a88b674a7773cfd6bb69760d1
[ "MIT" ]
5
2015-05-18T13:37:52.000Z
2021-06-11T10:46:15.000Z
initialize_countstats.py
handrews/gcd-django-vagrant-install
9eae6baab82f5a9a88b674a7773cfd6bb69760d1
[ "MIT" ]
11
2015-09-23T19:44:42.000Z
2018-04-22T13:26:37.000Z
initialize_countstats.py
handrews/gcd-django-vagrant-install
9eae6baab82f5a9a88b674a7773cfd6bb69760d1
[ "MIT" ]
6
2015-10-08T19:40:37.000Z
2017-08-11T00:50:58.000Z
import django from apps.stats.models import CountStats from apps.stddata.models import Language, Country django.setup() if CountStats.objects.filter(language__isnull=False).count() == 0: for i in Language.objects.all(): CountStats.objects.init_stats(language=i) if CountStats.objects.filter(country__isnu...
27.176471
66
0.753247
63
462
5.412698
0.365079
0.249267
0.184751
0.228739
0.346041
0.346041
0.134897
0
0
0
0
0.004975
0.12987
462
16
67
28.875
0.843284
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.272727
0
0.272727
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f3a888a84714f5db60233909ea5ac36a7608dd7d
1,538
py
Python
tests/test_connection.py
rfishy1/luno_streams
8bf9ad78ee1483730a38a3d8647c2484680a3553
[ "MIT" ]
11
2018-03-19T10:40:25.000Z
2022-01-27T18:30:46.000Z
tests/test_connection.py
rfishy1/luno_streams
8bf9ad78ee1483730a38a3d8647c2484680a3553
[ "MIT" ]
6
2018-11-01T13:55:04.000Z
2021-04-13T11:09:41.000Z
tests/test_connection.py
rfishy1/luno_streams
8bf9ad78ee1483730a38a3d8647c2484680a3553
[ "MIT" ]
6
2020-01-31T10:10:19.000Z
2021-07-11T09:16:15.000Z
import asyncio from unittest import TestCase from luno_streams import Updater from websockets.protocol import State import logging from concurrent import futures logging.getLogger('luno_streams').addHandler(logging.StreamHandler()) class TestConnection(TestCase): def test_simple_updates(self): num_updat...
31.387755
83
0.655397
174
1,538
5.695402
0.442529
0.040363
0.060545
0.069627
0.246216
0.191726
0.108981
0.108981
0.108981
0.108981
0
0.015332
0.236671
1,538
48
84
32.041667
0.82879
0.086476
0
0.060606
0
0
0.115549
0.074893
0
0
0
0
0.121212
1
0.121212
false
0
0.181818
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f3ac54e5baaf1fbb9f3af5df5b163c7b09e17f38
580
py
Python
Data Structure and Algorithm/queue.py
mass9/Python
66499164e36a4fe9630029d34b292ab06f849b2f
[ "MIT" ]
null
null
null
Data Structure and Algorithm/queue.py
mass9/Python
66499164e36a4fe9630029d34b292ab06f849b2f
[ "MIT" ]
null
null
null
Data Structure and Algorithm/queue.py
mass9/Python
66499164e36a4fe9630029d34b292ab06f849b2f
[ "MIT" ]
null
null
null
#FIFO - first -> first class Queue: def __init__(self): self.queue = [] def isEmpty(self): return self.queue == [] def enqueue(self, data): self.queue.append(data) def dequeue(self): data = self.queue[0] del self.queue[0] return data def peek(self): return self.queu...
17.575758
36
0.627586
76
580
4.736842
0.289474
0.175
0.083333
0.105556
0.147222
0
0
0
0
0
0
0.019824
0.217241
580
33
37
17.575758
0.773128
0.036207
0
0.173913
0
0
0.034221
0
0
0
0
0
0
1
0.26087
false
0
0
0.130435
0.478261
0.173913
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
f3aeaee761e5174922d3c62a36e43e71ad747d28
376
py
Python
pj1.py
Ziggareto/project_euler_solns
e52066b9ffec97005bad0f26a3f0e08760d5c5cb
[ "MIT" ]
null
null
null
pj1.py
Ziggareto/project_euler_solns
e52066b9ffec97005bad0f26a3f0e08760d5c5cb
[ "MIT" ]
null
null
null
pj1.py
Ziggareto/project_euler_solns
e52066b9ffec97005bad0f26a3f0e08760d5c5cb
[ "MIT" ]
null
null
null
#pj1 threelist = [] fivelist = [] togetherlist = [] sum = 0 for num in range(1000): if num % 3 == 0: threelist.append(num) if num % 5 == 0: fivelist.append(num) togetherlist = threelist for num in fivelist: if not num in togetherlist: togetherlist.append(num) fo...
15.666667
33
0.574468
47
376
4.595745
0.361702
0.092593
0.111111
0
0
0
0
0
0
0
0
0.039216
0.321809
376
23
34
16.347826
0.807843
0.007979
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f3aed62ff00dcc3fee815525f8a541aac8018c0c
3,925
py
Python
tests/test_multisample_module_offline.py
robertopreste/HmtNote
0f2c0f684a45c0087cabc3cb15f61803fac7daf1
[ "MIT" ]
11
2019-04-11T07:06:41.000Z
2021-03-22T09:13:40.000Z
tests/test_multisample_module_offline.py
robertopreste/HmtNote
0f2c0f684a45c0087cabc3cb15f61803fac7daf1
[ "MIT" ]
64
2019-03-04T11:18:25.000Z
2022-03-31T23:03:01.000Z
tests/test_multisample_module_offline.py
robertopreste/HmtNote
0f2c0f684a45c0087cabc3cb15f61803fac7daf1
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: UTF-8 -*- # Created by Roberto Preste import os import pytest from hmtnote import annotate, dump DATADIR = os.path.join(os.path.dirname(os.path.realpath(__file__)), "data") MULTISAMPLE_VCF = os.path.join(DATADIR, "multisample.vcf") TEST_VCF = os.path.join(DATADIR, "test.vcf") TEST_...
50.974026
98
0.61707
450
3,925
5.077778
0.135556
0.122538
0.183807
0.09628
0.770678
0.628446
0.610503
0.560613
0.560613
0.560613
0
0.000366
0.303694
3,925
76
99
51.644737
0.835712
0.134013
0
0.192308
0
0
0.015334
0
0
0
0
0
0.211538
1
0.115385
false
0
0.057692
0
0.192308
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
f3afe60bdf21be63f21daf63e4394b2a9a29e766
42
py
Python
birbcam/exposureadjust/__init__.py
jdpdev/birbcam
b44c95744d81d063f12dfb2521019ff89787c45a
[ "MIT" ]
11
2021-03-19T18:58:19.000Z
2022-03-23T16:57:06.000Z
birbcam/exposureadjust/__init__.py
jdpdev/birbcam
b44c95744d81d063f12dfb2521019ff89787c45a
[ "MIT" ]
13
2021-03-16T00:44:52.000Z
2021-08-31T01:44:30.000Z
birbcam/exposureadjust/__init__.py
jdpdev/birbcam
b44c95744d81d063f12dfb2521019ff89787c45a
[ "MIT" ]
3
2021-03-12T15:56:14.000Z
2022-01-03T19:41:17.000Z
from .exposureadjust import ExposureAdjust
42
42
0.904762
4
42
9.5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.071429
42
1
42
42
0.974359
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
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
6
f3b02ec223e1a94f2363cc2fc7c80af0fbe1f7bc
2,752
py
Python
Homework_2/problem3.py
aefernandez/DS501
15799c8690c2f934d8e710db060e2b9e1b6afc8a
[ "MIT" ]
null
null
null
Homework_2/problem3.py
aefernandez/DS501
15799c8690c2f934d8e710db060e2b9e1b6afc8a
[ "MIT" ]
null
null
null
Homework_2/problem3.py
aefernandez/DS501
15799c8690c2f934d8e710db060e2b9e1b6afc8a
[ "MIT" ]
null
null
null
from mrjob.job import MRJob #------------------------------------------------------------------------- ''' Problem 3: In this problem, you will get familiar with the mapreduce framework. In this problem, please install the following python package: * mrjob Numpy is the library for writing Pyt...
50.962963
144
0.52798
333
2,752
4.312312
0.333333
0.031337
0.050139
0.036212
0.402507
0.326602
0.326602
0.231198
0.197772
0.197772
0
0.002109
0.310683
2,752
53
145
51.924528
0.754876
0.534884
0
0
0
0
0
0
0
0
0
0.037736
0
1
0.5
false
0
0.25
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
1
0
0
3
f3b056833e024a4ac70e915a922751195443e601
870
py
Python
micropython/examples/badger2040/info.py
SatoW04ld/pimoroni-pico
b1c0468c6c080d293593b58b7906000080732043
[ "MIT" ]
null
null
null
micropython/examples/badger2040/info.py
SatoW04ld/pimoroni-pico
b1c0468c6c080d293593b58b7906000080732043
[ "MIT" ]
null
null
null
micropython/examples/badger2040/info.py
SatoW04ld/pimoroni-pico
b1c0468c6c080d293593b58b7906000080732043
[ "MIT" ]
null
null
null
import badger2040 from badger2040 import WIDTH TEXT_SIZE = 0.45 LINE_HEIGHT = 16 display = badger2040.Badger2040() display.led(128) display.pen(0) display.rectangle(0, 0, WIDTH, 16) display.thickness(1) display.pen(15) display.text("badgerOS", 3, 8, 0.4) display.pen(0) y = 16 + int(LINE_HEIGHT / 2) display.text("...
22.894737
73
0.727586
145
870
4.262069
0.37931
0.12945
0.058252
0.097087
0.279935
0.18932
0.18932
0.15534
0.15534
0
0
0.093176
0.124138
870
37
74
23.513514
0.717848
0
0
0.344828
0
0
0.218391
0
0
0
0
0
0
1
0
false
0
0.068966
0
0.068966
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
f3b2520a47606ae32dff2f865c6832ee18bf5c86
8,047
py
Python
Game.py
shmily1012/Math_learning_for_lucas
8f6c5f9534c6a1ab1ec3dd433ffa7d6d10e55d7a
[ "MIT" ]
null
null
null
Game.py
shmily1012/Math_learning_for_lucas
8f6c5f9534c6a1ab1ec3dd433ffa7d6d10e55d7a
[ "MIT" ]
null
null
null
Game.py
shmily1012/Math_learning_for_lucas
8f6c5f9534c6a1ab1ec3dd433ffa7d6d10e55d7a
[ "MIT" ]
null
null
null
from os import path, terminal_size import json import random import time from ErrorBook import ErrorBook class Game(): def __init__(self, cfg_filename=None) -> None: if cfg_filename == None: self.cfg_filename = path.join('Cfg', 'cfg.json') else: self.cfg_filename = cfg_file...
40.847716
131
0.545545
824
8,047
5.239078
0.157767
0.090341
0.101228
0.048182
0.387306
0.302293
0.295576
0.252953
0.252953
0.233959
0
0.023325
0.328694
8,047
196
132
41.056122
0.775824
0.022866
0
0.254335
0
0
0.097772
0.00331
0
0
0
0
0
1
0.063584
false
0.017341
0.028902
0
0.190751
0.040462
0
0
0
null
0
0
0
0
0
0
0
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
f3b270fa36a7114f7f969027d53ba5f20b35319b
2,729
py
Python
covid.py
aizukanne/CovidDashboard
55a072a3c65e21792474c5d824fff92be4a04071
[ "MIT" ]
null
null
null
covid.py
aizukanne/CovidDashboard
55a072a3c65e21792474c5d824fff92be4a04071
[ "MIT" ]
null
null
null
covid.py
aizukanne/CovidDashboard
55a072a3c65e21792474c5d824fff92be4a04071
[ "MIT" ]
null
null
null
def getNewData(): import requests import json import pandas as pd url = "https://covid-193.p.rapidapi.com/statistics" headers = { 'x-rapidapi-host': "covid-193.p.rapidapi.com", 'x-rapidapi-key': "4c37223acemsh65b1a8b456b72c1p15a99ajsnd4a09ab346a4" } response = requests.request("GET", url, headers=heade...
36.878378
81
0.675339
299
2,729
6.160535
0.214047
0.09772
0.063518
0.073833
0.640065
0.564604
0.564604
0.534202
0.4962
0.4962
0
0.063356
0.144009
2,729
74
82
36.878378
0.725171
0.670942
0
0.56
0
0
0.367371
0.173709
0
0
0
0
0
1
0.08
false
0
0.2
0
0.36
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f3b44bdff1ca02bf28255b4fffea8cfa25a95921
2,026
py
Python
Utilities/DataIndexer.py
chrisbvt/ML-MalwareDetection
e00d0a0026a7c28886c3d2ab8ca9933e60f049cc
[ "MIT" ]
null
null
null
Utilities/DataIndexer.py
chrisbvt/ML-MalwareDetection
e00d0a0026a7c28886c3d2ab8ca9933e60f049cc
[ "MIT" ]
2
2021-02-08T20:36:58.000Z
2022-03-29T21:58:35.000Z
Utilities/DataIndexer.py
chrisbvt/ML-MalwareDetection
e00d0a0026a7c28886c3d2ab8ca9933e60f049cc
[ "MIT" ]
null
null
null
import numpy as np import pandas as pd import argparse from IPython.display import display def main(): parser = argparse.ArgumentParser(description="Imports Indexer for Blue Sentry") parser.add_argument("--output_file", help="File that the imports are indexed to", required=True) parser.add_argument("--inp...
34.338983
117
0.580454
242
2,026
4.706612
0.42562
0.067603
0.059701
0.055312
0.129061
0.052678
0.052678
0.052678
0.052678
0
0
0.011561
0.316881
2,026
58
118
34.931034
0.811416
0.023692
0
0.139535
0
0
0.204557
0
0
0
0
0
0
0
null
null
0
0.465116
null
null
0.046512
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
2
f3b4672feda15bcb49c3a672ad5426fda451079a
1,063
py
Python
examples/example_throttlers_aiohttp.py
uburuntu/throttler
9172f0f5fca8efd51376452747f1526f275b7c87
[ "MIT" ]
77
2020-03-26T08:53:41.000Z
2022-03-26T17:27:29.000Z
examples/example_throttlers_aiohttp.py
uburuntu/throttler
9172f0f5fca8efd51376452747f1526f275b7c87
[ "MIT" ]
1
2020-06-28T20:28:49.000Z
2020-09-08T15:35:06.000Z
examples/example_throttlers_aiohttp.py
uburuntu/throttler
9172f0f5fca8efd51376452747f1526f275b7c87
[ "MIT" ]
3
2020-03-25T23:15:08.000Z
2022-03-08T16:05:49.000Z
import asyncio import time import aiohttp from throttler import Throttler, ThrottlerSimultaneous class SomeAPI: api_url = 'https://example.com' def __init__(self, throttler): self.throttler = throttler async def request(self, session: aiohttp.ClientSession): async with self.throttler: ...
25.309524
72
0.639699
127
1,063
5.251969
0.409449
0.047976
0.032984
0.041979
0.170915
0.107946
0.107946
0.107946
0
0
0
0.012674
0.257761
1,063
41
73
25.926829
0.8327
0
0
0.214286
0
0
0.061148
0
0
0
0
0
0
1
0.107143
false
0
0.142857
0
0.357143
0.035714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f3b501afed1a214552df9374d1257b1e7c0902d4
393
py
Python
web/image_path/utils.py
xinliy/pyWeb
929dd3a03540a57eac6a98f05f43b9f5f925ee98
[ "BSD-3-Clause" ]
1
2021-01-10T09:14:30.000Z
2021-01-10T09:14:30.000Z
web/image_path/utils.py
xinliy/pyWeb
929dd3a03540a57eac6a98f05f43b9f5f925ee98
[ "BSD-3-Clause" ]
12
2019-12-05T01:09:41.000Z
2022-03-12T00:07:50.000Z
web/image_path/utils.py
xinliy/pyWeb
929dd3a03540a57eac6a98f05f43b9f5f925ee98
[ "BSD-3-Clause" ]
1
2020-11-20T13:42:39.000Z
2020-11-20T13:42:39.000Z
import os def absoluteFilePaths(directory): path_list = [] for dirpath, _, filenames in os.walk(directory): for f in filenames: path_list.append(os.path.abspath(os.path.join(dirpath, f))) return path_list def create_a_folder(folder_path): if not os.path.exists(folder_path): ...
26.2
71
0.676845
55
393
4.654545
0.454545
0.15625
0.101563
0.148438
0.179688
0
0
0
0
0
0
0
0.216285
393
14
72
28.071429
0.831169
0
0
0
0
0
0.040712
0
0
0
0
0
0
1
0.181818
false
0
0.090909
0
0.363636
0.090909
0
0
0
null
0
0
0
0
0
0
0
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
f3b5b95387e18813475d997bc320132a781e6217
1,014
py
Python
raw_generator.py
QiXi9409/Simultaneous_ECG_Heartbeat
8b61b6434c5c505c0d55a46db08e627d275fc045
[ "MIT" ]
1
2022-01-21T06:29:19.000Z
2022-01-21T06:29:19.000Z
raw_generator.py
sliang11/ECG-FasterRCNN
8984084d570a0e45bf3508a1a23d562ba147ca84
[ "MIT" ]
null
null
null
raw_generator.py
sliang11/ECG-FasterRCNN
8984084d570a0e45bf3508a1a23d562ba147ca84
[ "MIT" ]
2
2020-06-02T01:31:29.000Z
2021-12-30T12:58:52.000Z
from raw_type import raw_type class generator(raw_type): def __init__(self): self.data = [] self.label = [] self.fs = 0 self.lead = 6 self.length = 0 def read_data(self, path): import wfdb import os all_files = os.listdir(path) ...
28.971429
101
0.515779
135
1,014
3.703704
0.37037
0.144
0.1
0.072
0.184
0.128
0.128
0.128
0
0
0
0.043408
0.386588
1,014
34
102
29.823529
0.76045
0
0
0.074074
0
0
0.022495
0
0
0
0
0
0
1
0.074074
false
0
0.148148
0
0.259259
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
f3b6466e43523aad7a8ce9c32e8fafea37f077b6
981
py
Python
utils.py
PenPow/PythonScripts
408316a00f4e011be2d9d93c121e8d33dcd63e1e
[ "MIT" ]
null
null
null
utils.py
PenPow/PythonScripts
408316a00f4e011be2d9d93c121e8d33dcd63e1e
[ "MIT" ]
null
null
null
utils.py
PenPow/PythonScripts
408316a00f4e011be2d9d93c121e8d33dcd63e1e
[ "MIT" ]
null
null
null
isDatabaseEnabled = True try: from replit import db except ModuleNotFoundError: isDatabaseEnabled = False import os class colors: HEADER = '\033[95m' OKBLUE = '\033[94m' OKCYAN = '\033[96m' OKGREEN = '\033[92m' WARNING = '\033[93m' FAIL = '\033[91m' RESET = '\033[0m' BOLD = '\...
17.836364
50
0.620795
118
981
5.161017
0.533898
0.024631
0
0
0
0
0
0
0
0
0
0.058011
0.261978
981
55
51
17.836364
0.783149
0
0
0.068182
0
0
0.080448
0
0
0
0
0
0
1
0.181818
false
0
0.045455
0.045455
0.659091
0.022727
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
f3b8b7244931f92cdb96f69aea1e3b6369a33087
2,054
py
Python
pipeline/icd9_lstm_att_model.py
letslego/W266-ProjectMIMIC
a64f16bb472931c01324f64ec358923c4a30b08e
[ "Apache-2.0" ]
null
null
null
pipeline/icd9_lstm_att_model.py
letslego/W266-ProjectMIMIC
a64f16bb472931c01324f64ec358923c4a30b08e
[ "Apache-2.0" ]
null
null
null
pipeline/icd9_lstm_att_model.py
letslego/W266-ProjectMIMIC
a64f16bb472931c01324f64ec358923c4a30b08e
[ "Apache-2.0" ]
null
null
null
from keras.models import Model from keras.layers import Dense, Dropout, Flatten, Input, Embedding,Bidirectional from keras.layers.merge import Concatenate from keras.layers import LSTM from keras.layers import MaxPooling1D, Embedding, Merge, Dropout, LSTM, Bidirectional from keras.layers.merge import Concatenate fro...
40.27451
135
0.670886
234
2,054
5.623932
0.371795
0.06155
0.079787
0.06383
0.244681
0.145897
0.145897
0.098784
0.098784
0.098784
0
0.003255
0.252191
2,054
50
136
41.08
0.853516
0.115385
0
0.235294
0
0
0.037058
0
0
0
0
0
0
0
null
null
0
0.294118
null
null
0.029412
0
0
0
null
0
0
0
0
0
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
f3bb46de77f1ede9821e16aeb0dc39aaf5af4feb
2,041
py
Python
dwarfgen/src/codegen.py
claybrooks/dwarfgen
921d195b4f0aa375103839418eb72b143166b4c0
[ "Unlicense" ]
null
null
null
dwarfgen/src/codegen.py
claybrooks/dwarfgen
921d195b4f0aa375103839418eb72b143166b4c0
[ "Unlicense" ]
null
null
null
dwarfgen/src/codegen.py
claybrooks/dwarfgen
921d195b4f0aa375103839418eb72b143166b4c0
[ "Unlicense" ]
null
null
null
import os import importlib import logging from . import lang_generators KNOWN_GENERATORS = {} def register_generator(lang, module): global KNOWN_GENERATORS KNOWN_GENERATORS[lang] = module def __generate_type(generator, namespace, name, jidl): structure_format = generator.get_structure_format() re...
28.746479
88
0.700637
251
2,041
5.386454
0.278884
0.067308
0.06287
0.057692
0.090237
0.056213
0
0
0
0
0
0
0.202352
2,041
70
89
29.157143
0.830467
0.024008
0
0
0
0
0.028141
0
0
0
0
0
0
1
0.086957
false
0.021739
0.130435
0
0.282609
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
f3bcdf1ad279384376d48ed25c37d5fbb8f3c8c5
1,269
py
Python
app/intent_education/__init__.py
drabekj/OttoBotServer
76a4e5d9d1ac22eb171545c8b9ce558bb95e269f
[ "MIT" ]
2
2018-07-13T20:50:35.000Z
2018-07-13T20:50:38.000Z
app/intent_education/__init__.py
drabekj/OttoBotServer
76a4e5d9d1ac22eb171545c8b9ce558bb95e269f
[ "MIT" ]
null
null
null
app/intent_education/__init__.py
drabekj/OttoBotServer
76a4e5d9d1ac22eb171545c8b9ce558bb95e269f
[ "MIT" ]
null
null
null
import static.strings as strings import static.strings_edu as strings_edu from app import ResponseBuilder, AlexaRequest def handle_education(request): """ Generate response to intent type EducateIntent with explanation of the asked investing term. :type request AlexaRequest :return: JSON response incl...
38.454545
96
0.72104
153
1,269
5.69281
0.379085
0.172216
0.208955
0.068886
0
0
0
0
0
0
0
0
0.192277
1,269
32
97
39.65625
0.849756
0.141056
0
0
1
0
0.11257
0
0
0
0
0
0
1
0.043478
false
0
0.130435
0
0.217391
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f3bd10908fc7d151b3144866d0111689d41a1476
652
py
Python
remote_works/skill/migrations/0005_auto_20190409_1249.py
tetyanaloskutova/saleor
b3bb51e9c0c4c2febf4aa1e2a7d893e77c331e89
[ "BSD-3-Clause" ]
7
2019-05-17T14:27:13.000Z
2021-12-17T22:52:40.000Z
remote_works/skill/migrations/0005_auto_20190409_1249.py
tetyanaloskutova/saleor
b3bb51e9c0c4c2febf4aa1e2a7d893e77c331e89
[ "BSD-3-Clause" ]
9
2019-04-13T09:24:28.000Z
2019-09-09T15:35:05.000Z
remote_works/skill/migrations/0005_auto_20190409_1249.py
tetyanaloskutova/remote-works
b3bb51e9c0c4c2febf4aa1e2a7d893e77c331e89
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 2.1.5 on 2019-04-09 10:49 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('skill', '0004_auto_20190327_2016'), ] operations = [ migrations.RemoveField( model_name='skilli...
26.08
137
0.618098
70
652
5.628571
0.628571
0.060914
0.071066
0.111675
0.142132
0
0
0
0
0
0
0.066806
0.265337
652
24
138
27.166667
0.755741
0.069018
0
0.222222
1
0
0.138843
0.038017
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f3bd4c69ff3ae0a25e53c9c83810f5632db1899b
3,116
py
Python
animalcourier/profile/psopen.py
btrspg/Animal-Courier
59be3b3cf53f42a1101635eec61904a0be20957f
[ "MIT" ]
null
null
null
animalcourier/profile/psopen.py
btrspg/Animal-Courier
59be3b3cf53f42a1101635eec61904a0be20957f
[ "MIT" ]
null
null
null
animalcourier/profile/psopen.py
btrspg/Animal-Courier
59be3b3cf53f42a1101635eec61904a0be20957f
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # @License : Copyright(c) 2018 MIT License # @Time : 2019-01-09 15:01 # @Author : YUELONG.CHEN # @Mail : yuelong_chen@yahoo.com # @File : psopen.py # @Software: PyCharm from __future__ import absolute_import, unicode_literals import logging import os import sys...
33.869565
127
0.626765
415
3,116
4.59759
0.378313
0.028302
0.044025
0.062893
0.126834
0.087002
0.087002
0.049266
0.049266
0.049266
0
0.014321
0.215661
3,116
91
128
34.241758
0.766367
0.194159
0
0.074074
0
0
0.102595
0.022709
0
0
0
0
0
1
0.055556
false
0
0.185185
0
0.277778
0.018519
0
0
0
null
0
0
0
0
0
0
0
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
f3bdd237e7a92835cd9c312fe1cb570edab1eefa
130
py
Python
src/treepath/path/typing/json_types.py
monkeydevtools/treepath-python
56f6cbf662f8a4c13f0c9e753a839fc9f6323dba
[ "Apache-2.0" ]
2
2021-05-26T08:26:25.000Z
2021-09-24T21:26:01.000Z
src/treepath/path/typing/json_types.py
monkeydevtools/treepath-python
56f6cbf662f8a4c13f0c9e753a839fc9f6323dba
[ "Apache-2.0" ]
null
null
null
src/treepath/path/typing/json_types.py
monkeydevtools/treepath-python
56f6cbf662f8a4c13f0c9e753a839fc9f6323dba
[ "Apache-2.0" ]
null
null
null
from typing import Union, Dict, List JsonTypes = Union[Dict[str, 'JsonTypes'], List['JsonTypes'], str, int, float, bool, None]
21.666667
89
0.7
18
130
5.055556
0.666667
0.197802
0
0
0
0
0
0
0
0
0
0
0.146154
130
5
90
26
0.81982
0
0
0
0
0
0.139535
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
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
0
0
0
3
f3bfecbefdaa435ba979c1b054ab9fcdffb415fc
977
py
Python
s.py
overfly2014/test
5aa250616b656a786d3082453f8e6e39601d3266
[ "MIT" ]
null
null
null
s.py
overfly2014/test
5aa250616b656a786d3082453f8e6e39601d3266
[ "MIT" ]
null
null
null
s.py
overfly2014/test
5aa250616b656a786d3082453f8e6e39601d3266
[ "MIT" ]
null
null
null
import requests import time import json url = "https://www.okex.com/api/v5/market/ticker?instId=SHIB-USDT" proxies = { 'https': 'http://127.0.0.1:10809', } headers = { 'Connection': 'close',} requests.packages.urllib3.disable_warnings() requests.adapters.DEFAULT_RETRIES = 1 if __name__ == "__main__": ...
33.689655
97
0.566018
117
977
4.623932
0.598291
0.049908
0.09427
0
0
0
0
0
0
0
0
0.038298
0.278403
977
28
98
34.892857
0.729078
0.032753
0
0
0
0.04
0.205044
0
0
0
0
0
0
1
0
false
0
0.12
0
0.12
0.08
0
0
0
null
0
0
0
0
0
0
0
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
f3c0ba1d7c1622f11a69dff876458d345fa9a9ee
968
py
Python
setup.py
orwell-int/proxy-robots-python
76e23eff0e3b2c55b4b865533a9db7e49e444f20
[ "BSD-3-Clause" ]
null
null
null
setup.py
orwell-int/proxy-robots-python
76e23eff0e3b2c55b4b865533a9db7e49e444f20
[ "BSD-3-Clause" ]
3
2020-08-13T17:46:07.000Z
2020-10-23T18:52:08.000Z
setup.py
orwell-int/proxy-robots-python
76e23eff0e3b2c55b4b865533a9db7e49e444f20
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python from setuptools import setup, find_packages # Hack to prevent stupid TypeError: 'NoneType' object is not callable error on # exit of python setup.py test # in multiprocessing/util.py _exit_function when # running python setup.py test (see # http://www.eby-sarna.com/pipermail/peak/2010-May...
29.333333
80
0.665289
120
968
5.258333
0.725
0.052298
0.041204
0.053883
0
0
0
0
0
0
0
0.021108
0.216942
968
32
81
30.25
0.811346
0.278926
0
0
0
0
0.325758
0.048485
0
0
0
0
0.041667
1
0
true
0.041667
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
1
0
0
0
0
0
0
1
f3c346cdf4f4544b7c90fef31d6f459b1e99ddac
1,606
py
Python
panoptes_aggregation/extractors/__init__.py
amyrebecca/aggregation-for-caesar
5f0d884932312010f9caeb8ebfcfe358f490e41f
[ "Apache-2.0" ]
null
null
null
panoptes_aggregation/extractors/__init__.py
amyrebecca/aggregation-for-caesar
5f0d884932312010f9caeb8ebfcfe358f490e41f
[ "Apache-2.0" ]
null
null
null
panoptes_aggregation/extractors/__init__.py
amyrebecca/aggregation-for-caesar
5f0d884932312010f9caeb8ebfcfe358f490e41f
[ "Apache-2.0" ]
null
null
null
from .point_extractor import point_extractor from .point_extractor_by_frame import point_extractor_by_frame from .rectangle_extractor import rectangle_extractor from .question_extractor import question_extractor from .survey_extractor import survey_extractor from .poly_line_text_extractor import poly_line_text_extracto...
42.263158
76
0.83873
197
1,606
6.350254
0.121827
0.167866
0.108713
0.067146
0.105516
0.040767
0
0
0
0
0
0.002786
0.105853
1,606
37
77
43.405405
0.868384
0
0
0
0
0
0.185554
0.029888
0
0
0
0
0
1
0
false
0
0.457143
0
0.457143
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
f3c3b3e2cee3141736cd9c221213692993fdc803
2,869
py
Python
suricata-4.1.4/suricata-update/tests/test_signaturemap.py
runtest007/dpdk_surcata_4.1.1
5abf91f483b418b5d9c2dd410b5c850d6ed95c5f
[ "MIT" ]
77
2019-06-17T07:05:07.000Z
2022-03-07T03:26:27.000Z
suricata-4.1.4/suricata-update/tests/test_signaturemap.py
clockdad/DPDK_SURICATA-4_1_1
974cc9eb54b0b1ab90eff12a95617e3e293b77d3
[ "MIT" ]
22
2019-07-18T02:32:10.000Z
2022-03-24T03:39:11.000Z
suricata-4.1.4/suricata-update/tests/test_signaturemap.py
clockdad/DPDK_SURICATA-4_1_1
974cc9eb54b0b1ab90eff12a95617e3e293b77d3
[ "MIT" ]
49
2019-06-18T03:31:56.000Z
2022-03-13T05:23:10.000Z
# Copyright (C) 2017 Open Information Security Foundation # # You can copy, redistribute or modify this Program under the terms of # the GNU General Public License version 2 as published by the Free # Software Foundation. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; wi...
34.987805
78
0.649007
377
2,869
4.893899
0.411141
0.162602
0.045528
0.03523
0.338211
0.306775
0.278591
0.237398
0.198374
0.139837
0
0.045662
0.236668
2,869
81
79
35.419753
0.796804
0.260718
0
0.361702
0
0
0.182683
0.016651
0
0
0
0
0.489362
1
0.06383
false
0
0.042553
0
0.12766
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
f3c3dc1e5c41c6163046ac553b2189e018536414
198
py
Python
Python/now.py
jgstew/tools
977361bc1410ebda7199ab3ca2020b53d24d270c
[ "MIT" ]
17
2016-11-24T20:46:37.000Z
2021-06-09T05:48:02.000Z
Python/now.py
jgstew/tools
977361bc1410ebda7199ab3ca2020b53d24d270c
[ "MIT" ]
22
2016-05-11T18:09:25.000Z
2018-07-19T17:20:32.000Z
Python/now.py
jgstew/tools
977361bc1410ebda7199ab3ca2020b53d24d270c
[ "MIT" ]
10
2016-10-13T21:45:00.000Z
2022-03-11T15:18:44.000Z
""" Return the current time in the same format is BigFix Relevance. """ import datetime time_now = datetime.datetime.now(datetime.timezone.utc) print(time_now.strftime("%a, %d %b %Y %H:%M:%S %z"))
24.75
63
0.712121
33
198
4.212121
0.757576
0.100719
0
0
0
0
0
0
0
0
0
0
0.126263
198
7
64
28.285714
0.803468
0.318182
0
0
0
0
0.188976
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
f3c45f7c70e73a743a700dfb086cc73a291cc487
1,751
py
Python
chaospy/distributions/collection/gompertz.py
utsekaj42/chaospy
0fb23cbb58eb987c3ca912e2a20b83ebab0514d0
[ "MIT" ]
333
2016-10-25T12:00:48.000Z
2022-03-30T07:50:33.000Z
chaospy/distributions/collection/gompertz.py
utsekaj42/chaospy
0fb23cbb58eb987c3ca912e2a20b83ebab0514d0
[ "MIT" ]
327
2016-09-25T16:29:41.000Z
2022-03-30T03:26:27.000Z
chaospy/distributions/collection/gompertz.py
utsekaj42/chaospy
0fb23cbb58eb987c3ca912e2a20b83ebab0514d0
[ "MIT" ]
74
2016-10-17T11:14:13.000Z
2021-12-09T10:55:59.000Z
"""Gompertz distribution.""" import numpy from scipy import special from ..baseclass import SimpleDistribution, ShiftScaleDistribution class gompertz(SimpleDistribution): """Gompertz distribution.""" def __init__(self, c): super(gompertz, self).__init__(dict(c=c)) def _pdf(self, x, c): ...
25.376812
66
0.5494
222
1,751
4.234234
0.328829
0.034043
0.028723
0.044681
0.034043
0
0
0
0
0
0
0.074494
0.294689
1,751
68
67
25.75
0.68664
0.4506
0
0
0
0
0
0
0
0
0
0
0
1
0.28
false
0
0.12
0.16
0.68
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
f3c481b46a46b8966c695a026cbd5751fb9011cb
1,433
py
Python
h1st/trust/describable.py
TheVinhLuong102/H1st
0c6f56d3a078817c36b208ae4f4c519cb35d5c18
[ "Apache-2.0" ]
null
null
null
h1st/trust/describable.py
TheVinhLuong102/H1st
0c6f56d3a078817c36b208ae4f4c519cb35d5c18
[ "Apache-2.0" ]
null
null
null
h1st/trust/describable.py
TheVinhLuong102/H1st
0c6f56d3a078817c36b208ae4f4c519cb35d5c18
[ "Apache-2.0" ]
null
null
null
from .shap_model_describer import SHAPModelDescriber # TODO: fix from .enums import Constituency, Aspect from .describer import Describer class Describable: """ A *Trustworthy-AI* interface that defines the capabilities of objects (e.g., `Models`, `Graphs`) that are `Describable, i.e., they can self-desc...
38.72973
104
0.680391
168
1,433
5.738095
0.505952
0.03112
0.037344
0.03527
0.056017
0
0
0
0
0
0
0
0.240056
1,433
36
105
39.805556
0.885216
0.485694
0
0
0
0
0.040248
0
0
0
0
0.027778
0
1
0.2
false
0
0.2
0.066667
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
2
f3c6b9f173f2065ac674f49398aa32fdb0f113b2
6,839
py
Python
tests/test_examples.py
kjosib/booze-tools
ed3333643e0df99231202c024da8c86a9bb5b2bc
[ "MIT" ]
10
2019-01-24T04:45:56.000Z
2020-09-16T14:27:29.000Z
tests/test_examples.py
kjosib/booze-tools
ed3333643e0df99231202c024da8c86a9bb5b2bc
[ "MIT" ]
40
2019-04-10T21:54:38.000Z
2021-10-04T02:49:11.000Z
tests/test_examples.py
kjosib/booze-tools
ed3333643e0df99231202c024da8c86a9bb5b2bc
[ "MIT" ]
1
2020-05-22T16:28:02.000Z
2020-05-22T16:28:02.000Z
import unittest import os import json as standard_json import example.mini_json, example.macro_json, example.calculator from boozetools.macroparse import compiler from boozetools.parsing import shift_reduce from boozetools.parsing.general import brute_force, gss from boozetools.support import runtime, interfaces, expa...
36.185185
127
0.705805
880
6,839
5.345455
0.304545
0.022959
0.031888
0.02381
0.23108
0.199192
0.166029
0.129464
0.108418
0.059099
0
0.018809
0.152654
6,839
188
128
36.37766
0.792925
0.067846
0
0.129032
0
0
0.179544
0.011644
0
0
0
0
0.083871
1
0.109677
false
0.03871
0.058065
0.012903
0.225806
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
f3c6d009080d335af89d5a6496d1ce1cf9a3e716
488
py
Python
backend/autobets/apimb/migrations/0011_runner_event.py
slarkjm0803/autobets
f92a5d999acaf5d7c83ca2768a260c2282eabbee
[ "MIT" ]
1
2020-03-06T14:29:12.000Z
2020-03-06T14:29:12.000Z
backend/autobets/apimb/migrations/0011_runner_event.py
slarkjm0803/autobets
f92a5d999acaf5d7c83ca2768a260c2282eabbee
[ "MIT" ]
null
null
null
backend/autobets/apimb/migrations/0011_runner_event.py
slarkjm0803/autobets
f92a5d999acaf5d7c83ca2768a260c2282eabbee
[ "MIT" ]
null
null
null
# Generated by Django 2.0.6 on 2019-11-21 13:23 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('apimb', '0010_auto_20191115_1208'), ] operations = [ migrations.AddField( model_name='runner', ...
24.4
124
0.639344
58
488
5.293103
0.706897
0.078176
0.091205
0.143322
0
0
0
0
0
0
0
0.083333
0.237705
488
19
125
25.684211
0.741935
0.092213
0
0
1
0
0.113379
0.052154
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f3c918a21077a8c8e26290bd9e7b95a2abb697db
1,668
py
Python
Server/app/views/v1/admin/account/account_control.py
moreal/DMS-Backend
c0a3b28972739c58049a296570bb873f32c03eec
[ "MIT" ]
27
2018-01-14T08:07:18.000Z
2020-01-20T14:21:17.000Z
Server/app/views/v1/admin/account/account_control.py
moreal/DMS-Backend
c0a3b28972739c58049a296570bb873f32c03eec
[ "MIT" ]
50
2018-02-12T12:51:33.000Z
2018-08-28T00:48:31.000Z
Server/app/views/v1/admin/account/account_control.py
moreal/DMS-Backend
c0a3b28972739c58049a296570bb873f32c03eec
[ "MIT" ]
10
2018-03-31T16:30:32.000Z
2021-03-02T10:30:31.000Z
from binascii import hexlify from hashlib import pbkdf2_hmac from flask import Blueprint, Response, request, current_app from flask_restful import Api from app.views.v1 import BaseResource from app.views.v1 import admin_only from app.models.account import SignupWaitingModel, StudentModel, AdminModel api = Api(Blu...
23.166667
75
0.610312
185
1,668
5.383784
0.437838
0.036145
0.036145
0.028112
0.040161
0
0
0
0
0
0
0.023947
0.273981
1,668
71
76
23.492958
0.798514
0.02458
0
0.119048
0
0
0.083494
0.030186
0
0
0
0
0
1
0.071429
false
0.02381
0.166667
0
0.404762
0.047619
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f3c95fb934cfd2b0fe4d7578795bc7c600fa9619
2,103
py
Python
mmdet/models/necks/__init__.py
HenryOsborne/xViewDetection
28bbeb263b05c4c892eae87713e34c62cbe606d5
[ "Apache-2.0" ]
null
null
null
mmdet/models/necks/__init__.py
HenryOsborne/xViewDetection
28bbeb263b05c4c892eae87713e34c62cbe606d5
[ "Apache-2.0" ]
null
null
null
mmdet/models/necks/__init__.py
HenryOsborne/xViewDetection
28bbeb263b05c4c892eae87713e34c62cbe606d5
[ "Apache-2.0" ]
null
null
null
from .bfp import BFP from .channel_mapper import ChannelMapper from .fpg import FPG from .fpn import FPN from .fpn_carafe import FPN_CARAFE from .hrfpn import HRFPN from .nas_fpn import NASFPN from .nasfcos_fpn import NASFCOS_FPN from .pafpn import PAFPN from .rfp import RFP from .yolo_neck import YOLOV3Neck from .glne...
44.744681
120
0.785069
220
2,103
7.354545
0.313636
0.048208
0.012361
0.032138
0.304079
0.260816
0.156984
0
0
0
0
0.006448
0.115074
2,103
46
121
45.717391
0.862977
0
0
0
0
0
0.258678
0.023776
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
45e774721006510df771e653de8130abe3dba891
2,713
py
Python
mapillary_tools/commands/extract_import_meta_data.py
pesak/mapillary_tools
d433b0cf3986a5c9cbc56b216b38f36dd7e8391d
[ "BSD-2-Clause" ]
null
null
null
mapillary_tools/commands/extract_import_meta_data.py
pesak/mapillary_tools
d433b0cf3986a5c9cbc56b216b38f36dd7e8391d
[ "BSD-2-Clause" ]
null
null
null
mapillary_tools/commands/extract_import_meta_data.py
pesak/mapillary_tools
d433b0cf3986a5c9cbc56b216b38f36dd7e8391d
[ "BSD-2-Clause" ]
null
null
null
from mapillary_tools.process_import_meta_properties import process_import_meta_properties class Command: name = 'extract_import_meta_data' help = "Process unit tool : Extract and process import meta properties." def add_basic_arguments(self, parser): parser.add_argument( '--rerun', h...
66.170732
402
0.708441
367
2,713
5.111717
0.332425
0.047974
0.090618
0.093817
0.389659
0.389659
0.354478
0.310768
0.238806
0.238806
0
0.008809
0.204939
2,713
40
403
67.825
0.860918
0.007741
0
0.333333
0
0.1
0.522871
0.02752
0
0
0
0
0
1
0.133333
false
0.033333
0.366667
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
45e7b7e3cc8d8a217a777ade6c459dbb00a0cc8d
831
py
Python
LeetCode/MoveZeros.py
yashbhatt99/HackerRank-Problems
1c35bb20a662a917ab8657035f3a672001211a8c
[ "MIT" ]
10
2019-04-13T16:27:25.000Z
2019-10-31T10:46:25.000Z
LeetCode/MoveZeros.py
yashbhatt99/HackerRank-Problems
1c35bb20a662a917ab8657035f3a672001211a8c
[ "MIT" ]
1
2020-10-21T15:39:15.000Z
2020-10-21T15:39:15.000Z
LeetCode/MoveZeros.py
yashbhatt99/HackerRank-Problems
1c35bb20a662a917ab8657035f3a672001211a8c
[ "MIT" ]
3
2020-10-01T10:00:54.000Z
2020-10-20T16:57:18.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon Jun 15 12:05:04 2020 @author: ravi """ def TwoPointer(arr): p1 = 0 #points to non-zero p2 = 0 #points to zeros i=0 while(i!=(len(arr)-1)): while(True): if p1>= len(arr): break if arr[p1]...
21.868421
49
0.392298
105
831
3.104762
0.419048
0.092025
0.03681
0.07362
0.09816
0
0
0
0
0
0
0.092971
0.469314
831
38
50
21.868421
0.646259
0.154031
0
0.366667
0
0
0
0
0
0
0
0
0
1
0.033333
false
0
0
0
0.033333
0.033333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
45e8212ceb66541400595949467bd4df8574dbc1
1,064
py
Python
leetcode-34.py
comst007/myLeetCode
2596f207f686a1601ea32d263cba4a9a1e2f3630
[ "Apache-2.0" ]
null
null
null
leetcode-34.py
comst007/myLeetCode
2596f207f686a1601ea32d263cba4a9a1e2f3630
[ "Apache-2.0" ]
null
null
null
leetcode-34.py
comst007/myLeetCode
2596f207f686a1601ea32d263cba4a9a1e2f3630
[ "Apache-2.0" ]
null
null
null
class Solution: def searchRange(self, nums, target: int): cnt = len(nums) if not cnt: return [-1, -1] if target > nums[-1] or target < nums[0]: return [-1, -1] start = 0 end = cnt - 1 mid = 0 bound = [-1] * 2 while start < end...
21.714286
49
0.409774
125
1,064
3.488
0.256
0.091743
0.119266
0.110092
0.334862
0.298165
0.298165
0.183486
0.183486
0.183486
0
0.053957
0.477444
1,064
49
50
21.714286
0.730216
0
0
0.512821
0
0
0
0
0
0
0
0
0
1
0.025641
false
0
0
0
0.153846
0.025641
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
45e8b077d24016e229eefe1622723fb85ab70504
766
py
Python
config/config.example.py
Der-Eddy/discord_bot
bc2511e6d030ee2e099410bd846ea871fe3f109d
[ "MIT" ]
122
2016-08-05T02:27:31.000Z
2022-03-21T07:53:10.000Z
config/config.example.py
Der-Eddy/discord_bot
bc2511e6d030ee2e099410bd846ea871fe3f109d
[ "MIT" ]
15
2017-12-07T14:28:20.000Z
2021-11-19T13:03:37.000Z
config/config.example.py
Der-Eddy/discord_bot
bc2511e6d030ee2e099410bd846ea871fe3f109d
[ "MIT" ]
100
2016-08-21T18:12:29.000Z
2022-02-19T11:21:23.000Z
__token__ = 'INSERT BOT TOKEN HERE' __prefix__ = ':' #OPTIONAL Prefix for all commands, defaults to colon __timezone__ = 'Europe/Berlin' #OPTIONAL __botserverid__ = 102817255661772800 #OPTIONAL Specifies the main serverid from which the server-/modlog should be taken + some other nito features __kawaiichannel__ = 2...
95.75
148
0.795039
100
766
5.77
0.66
0.07279
0.065858
0.069324
0
0
0
0
0
0
0
0.055215
0.148825
766
8
149
95.75
0.829755
0.592689
0
0
0
0
0.35786
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
45e94553d7262708a9d8b0c6857461c9dd9b8f64
186
py
Python
catch/utils/tests/input/test_module.py
broadinstitute/catch
2fedca15f921116f580de8b2ae7ac9972932e59e
[ "MIT" ]
58
2018-01-24T16:31:37.000Z
2022-02-25T07:46:35.000Z
catch/utils/tests/input/test_module.py
broadinstitute/catch
2fedca15f921116f580de8b2ae7ac9972932e59e
[ "MIT" ]
29
2018-04-17T17:36:06.000Z
2022-02-25T11:48:58.000Z
catch/utils/tests/input/test_module.py
broadinstitute/catch
2fedca15f921116f580de8b2ae7ac9972932e59e
[ "MIT" ]
16
2018-05-23T12:19:41.000Z
2021-08-09T04:16:00.000Z
"""Module to test dynamic loading.""" # Define a variable to check its value testvar = 'testval' # Define a function to check its loading and execution def sum(a, b): return a + b
20.666667
54
0.698925
30
186
4.333333
0.666667
0.107692
0.153846
0
0
0
0
0
0
0
0
0
0.209677
186
8
55
23.25
0.884354
0.655914
0
0
0
0
0.122807
0
0
0
0
0
0
1
0.333333
false
0
0
0.333333
0.666667
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
1
0
0
0
1
1
0
0
4
45e9e05a20d518349e1d0b2f460fca1b795a82e9
9,890
py
Python
inmoov/scripts/Structures_new.py
mish3albaiz/Robotics_ECE579
efb654040015671a0656eaee4c78ec085d862996
[ "BSD-3-Clause" ]
1
2020-02-13T21:13:08.000Z
2020-02-13T21:13:08.000Z
inmoov/scripts/Structures_new.py
mish3albaiz/Robotics_ECE579
efb654040015671a0656eaee4c78ec085d862996
[ "BSD-3-Clause" ]
null
null
null
inmoov/scripts/Structures_new.py
mish3albaiz/Robotics_ECE579
efb654040015671a0656eaee4c78ec085d862996
[ "BSD-3-Clause" ]
null
null
null
import time from Servo import Servo # members of each class: # finger: bend, bend_max, straighten_max # hand: straighten_all_fingers, make_fist, move_all_fingers # wrist: rotate # forearm: # shoulder: flex/extend, abduction_up/abduction_down, rotation_internal/rotation_external, rotation_up/rotation_down, # arm: # to...
29.522388
138
0.617796
1,315
9,890
4.513308
0.14981
0.024263
0.021567
0.026959
0.350295
0.255434
0.198989
0.149958
0.058635
0.017186
0
0.004518
0.283822
9,890
334
139
29.610778
0.833404
0.241456
0
0.103175
0
0
0.028545
0
0
0
0
0.01497
0
1
0.206349
false
0
0.015873
0
0.261905
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
0
0
0
2
45eb2e9def0eec980e1f174eed2f97baceb70fae
17,158
py
Python
agent.py
drmeerkat/IQN-and-Extensions
1cc024c0eedd6cbad62e6db0aae21157847a7e85
[ "MIT" ]
null
null
null
agent.py
drmeerkat/IQN-and-Extensions
1cc024c0eedd6cbad62e6db0aae21157847a7e85
[ "MIT" ]
null
null
null
agent.py
drmeerkat/IQN-and-Extensions
1cc024c0eedd6cbad62e6db0aae21157847a7e85
[ "MIT" ]
null
null
null
import torch import numpy as np import torch.optim as optim from torch.nn.utils import clip_grad_norm_ import torch.nn.functional as F import random import math from ReplayBuffers import ReplayBuffer, PrioritizedReplay from model import IQN class IQN_Agent(): """Interacts with and learns from the environment.""" ...
48.468927
154
0.583285
2,194
17,158
4.372379
0.117138
0.033358
0.035026
0.030126
0.696028
0.681643
0.666632
0.650266
0.647556
0.638799
0
0.014769
0.305455
17,158
353
155
48.606232
0.790216
0.1798
0
0.538462
0
0
0.014513
0
0
0
0
0
0.063348
1
0.031674
false
0
0.040724
0
0.099548
0.004525
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
45ebb08783030746a08c4d5ffbb075711c0bdad9
5,162
py
Python
exposan/bwaise/_cfs.py
stetsonrowles/EXPOsan
5baeb30a6c85f923aa33b2a8b21e0e508ad8b2dc
[ "IJG" ]
null
null
null
exposan/bwaise/_cfs.py
stetsonrowles/EXPOsan
5baeb30a6c85f923aa33b2a8b21e0e508ad8b2dc
[ "IJG" ]
null
null
null
exposan/bwaise/_cfs.py
stetsonrowles/EXPOsan
5baeb30a6c85f923aa33b2a8b21e0e508ad8b2dc
[ "IJG" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- ''' EXPOsan: Exposition of sanitation and resource recovery systems This module is developed by: Yalin Li <zoe.yalin.li@gmail.com> This module is under the University of Illinois/NCSA Open Source License. Please refer to https://github.com/QSD-Group/EXPOsan/blob/mai...
38.81203
144
0.700697
714
5,162
4.936975
0.271709
0.045674
0.096454
0.04766
0.45617
0.36227
0.332199
0.279716
0.254184
0.195177
0
0.014977
0.107516
5,162
133
145
38.81203
0.750163
0.281286
0
0
0
0
0.244493
0
0
0
0
0
0
1
0.032258
false
0
0.064516
0
0.129032
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
45ec3f719508d9939ef62b84c92349a7b3b7bef5
1,849
py
Python
apprise_api/gunicorn.conf.py
scyto/apprise-api
6376580243885d3987ae2b61de5e8e1806244148
[ "MIT" ]
null
null
null
apprise_api/gunicorn.conf.py
scyto/apprise-api
6376580243885d3987ae2b61de5e8e1806244148
[ "MIT" ]
null
null
null
apprise_api/gunicorn.conf.py
scyto/apprise-api
6376580243885d3987ae2b61de5e8e1806244148
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright (C) 2019 Chris Caron <lead2gold@gmail.com> # All rights reserved. # # This code is licensed under the MIT License. # # 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 th...
33.618182
79
0.74689
278
1,849
4.94964
0.600719
0.063953
0.018895
0
0
0
0
0
0
0
0
0.015102
0.176312
1,849
54
80
34.240741
0.888378
0.809086
0
0
0
0
0.278997
0.112853
0
0
0
0
0
1
0
false
0
0.071429
0
0.071429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
45ec9f4df0d9cce52ff3d6ee0ce296c09f1b6beb
265
py
Python
pyqt/svg/viewer1.py
smartnova/samples
c665cbaa07d05191323cea206cf73f630cf58b74
[ "BSD-3-Clause" ]
null
null
null
pyqt/svg/viewer1.py
smartnova/samples
c665cbaa07d05191323cea206cf73f630cf58b74
[ "BSD-3-Clause" ]
7
2019-03-09T07:02:55.000Z
2022-03-12T00:44:21.000Z
pyqt/svg/viewer1.py
smartnova/samples
c665cbaa07d05191323cea206cf73f630cf58b74
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python import sys from PyQt5 import QtGui, QtSvg from PyQt5.QtWidgets import QApplication app = QApplication(sys.argv) svgWidget = QtSvg.QSvgWidget('Android_sample.svg') svgWidget.setGeometry(50,50,759,668) svgWidget.show() sys.exit(app.exec_())
20.384615
50
0.777358
38
265
5.368421
0.684211
0.088235
0
0
0
0
0
0
0
0
0
0.050209
0.098113
265
12
51
22.083333
0.803347
0.075472
0
0
0
0
0.07377
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
45ecf51be5f3324a292bcdaa524e9833a24b4c28
8,559
py
Python
Assignment2/expression_tree_from_robdd.py
khushhallchandra/EE677-VLSI-CAD
c40fbe3bd0c07cd1f3b18d477917c85702607e51
[ "MIT" ]
4
2016-12-05T12:43:58.000Z
2020-02-21T00:29:42.000Z
Assignment2/expression_tree_from_robdd.py
khushhallchandra/EE677-VLSI-CAD
c40fbe3bd0c07cd1f3b18d477917c85702607e51
[ "MIT" ]
null
null
null
Assignment2/expression_tree_from_robdd.py
khushhallchandra/EE677-VLSI-CAD
c40fbe3bd0c07cd1f3b18d477917c85702607e51
[ "MIT" ]
null
null
null
# file : prog_assign_2_ee677_2016_expression_tree_from_robdd_Wed_26_Oct.py # The following code contains the simple classes to model following # types of logic node objects # Binary Boolean Operation node, Not Operation node, Input node, Constant node # Using these classes and the utility function "robdd_to_expr_t...
33.303502
92
0.562332
1,171
8,559
3.845431
0.185312
0.023318
0.034644
0.033977
0.28803
0.265601
0.227626
0.212969
0.196091
0.196091
0
0.036059
0.261245
8,559
256
93
33.433594
0.676103
0.327375
0
0.136646
0
0
0.09049
0.012296
0
0
0
0
0
0
null
null
0
0
null
null
0.018634
0
0
0
null
0
0
0
0
0
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
45ed3d2b1968312b1cd85eba95274d42195b1be0
24,340
py
Python
tests/mongothon/model_test.py
geoffroth/mongothon
5305bdae8e38d09bfe7881f1edc99ac0a2e6b96b
[ "MIT" ]
69
2015-01-03T13:27:45.000Z
2022-03-26T03:50:20.000Z
tests/mongothon/model_test.py
geoffroth/mongothon
5305bdae8e38d09bfe7881f1edc99ac0a2e6b96b
[ "MIT" ]
15
2015-01-22T16:56:44.000Z
2021-05-05T20:17:21.000Z
tests/mongothon/model_test.py
geoffroth/mongothon
5305bdae8e38d09bfe7881f1edc99ac0a2e6b96b
[ "MIT" ]
23
2015-01-03T07:55:36.000Z
2022-03-19T06:42:49.000Z
from mongothon import create_model, create_model_offline from pickle import dumps, loads from unittest import TestCase from mock import Mock, ANY, call, NonCallableMock from mongothon import Document, Schema, NotFoundException, Array from mongothon.validators import one_of from mongothon.scopes import STANDARD_SCOPES f...
36.546547
112
0.634059
2,988
24,340
4.899264
0.101071
0.083202
0.050413
0.036068
0.672587
0.619373
0.598333
0.540064
0.471275
0.426395
0
0.007569
0.234675
24,340
665
113
36.601504
0.778291
0.012161
0
0.5
0
0
0.077214
0.001082
0
0
0
0
0.250923
1
0.184502
false
0.009225
0.01845
0.009225
0.221402
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
45edbcbe6bec4ac4034940c704c1c7a0048c7589
10,729
py
Python
examples/jericho/run_cross.py
kohilin/lgat
ba9fe6b4edd22c33c1c96f3139833cca9d149022
[ "Apache-1.1" ]
null
null
null
examples/jericho/run_cross.py
kohilin/lgat
ba9fe6b4edd22c33c1c96f3139833cca9d149022
[ "Apache-1.1" ]
null
null
null
examples/jericho/run_cross.py
kohilin/lgat
ba9fe6b4edd22c33c1c96f3139833cca9d149022
[ "Apache-1.1" ]
null
null
null
import logging import glob import sys import os import tqdm import torch import numpy as np from torch.utils.tensorboard import SummaryWriter from argparse import ArgumentParser from pfrl.replay_buffers import ReplayBuffer, PrioritizedReplayBuffer from exp import create_md_table_from_dic sys.path.append('../../') f...
38.046099
133
0.622146
1,332
10,729
4.783784
0.192943
0.04661
0.088041
0.030132
0.36833
0.287822
0.231011
0.14752
0.124608
0.091023
0
0.008704
0.250443
10,729
281
134
38.181495
0.783636
0
0
0.130841
0
0
0.126759
0.023581
0
0
0
0
0
1
0.004673
false
0
0.079439
0
0.084112
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
45ee4bb5dcccd9711bd92935d343e2b0fa38d9a3
13,863
py
Python
test/functional/abc-sigops-deactivation.py
danhper/bitcoin-abc
d2b4bfc4d42d054cfebb5d951d23bbe96115f262
[ "MIT" ]
1
2021-09-08T14:26:46.000Z
2021-09-08T14:26:46.000Z
test/functional/abc-sigops-deactivation.py
danhper/bitcoin-abc
d2b4bfc4d42d054cfebb5d951d23bbe96115f262
[ "MIT" ]
1
2020-02-19T10:28:45.000Z
2020-02-19T10:28:45.000Z
test/functional/abc-sigops-deactivation.py
danhper/bitcoin-abc
d2b4bfc4d42d054cfebb5d951d23bbe96115f262
[ "MIT" ]
1
2017-06-30T20:58:07.000Z
2017-06-30T20:58:07.000Z
#!/usr/bin/env python3 # Copyright (c) 2020 The Bitcoin Developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """ Test deactivation of sigops counting based on abc-schnorrmultisig-activation.py (D3736). """ from test_framewo...
38.508333
100
0.674385
1,761
13,863
5.104486
0.226576
0.013238
0.020803
0.01513
0.346201
0.295472
0.272667
0.245967
0.203916
0.165091
0
0.031051
0.240352
13,863
359
101
38.615599
0.822524
0.200173
0
0.228814
0
0.004237
0.100319
0.009923
0
0
0
0
0.050847
1
0.042373
false
0
0.042373
0.008475
0.110169
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
45f334b5d1edf1cb5b58b58ff7b64e41b4db5ab0
2,912
py
Python
src/peter_sslers/web/models/__init__.py
jvanasco/pyramid_letsencrypt_admin
6db37d30ef8028ff978bf6083cdf978fc88a4782
[ "MIT" ]
1
2016-03-31T22:19:19.000Z
2016-03-31T22:19:19.000Z
src/peter_sslers/web/models/__init__.py
jvanasco/pyramid_letsencrypt_admin
6db37d30ef8028ff978bf6083cdf978fc88a4782
[ "MIT" ]
null
null
null
src/peter_sslers/web/models/__init__.py
jvanasco/pyramid_letsencrypt_admin
6db37d30ef8028ff978bf6083cdf978fc88a4782
[ "MIT" ]
null
null
null
from __future__ import print_function # pypi from sqlalchemy import engine_from_config from sqlalchemy.orm import sessionmaker import zope.sqlalchemy # from sqlalchemy import event # local # import the SqlAlchemy model, which will call `sqlalchemy.orm.configure_mappers` from ... import model # noqa: F401 # ======...
30.333333
133
0.710852
346
2,912
5.783237
0.381503
0.069965
0.049975
0.026987
0.081959
0.050975
0.050975
0.050975
0
0
0
0.002954
0.186126
2,912
95
134
30.652632
0.84135
0.509272
0
0
0
0
0.057014
0.016504
0
0
0
0
0
1
0.181818
false
0
0.151515
0.030303
0.424242
0.060606
0
0
0
null
0
0
0
0
0
0
0
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
45f38769527ae3a0d774c20200bfcf7272226d31
82
py
Python
DeepSaki/initializer/helper/__init__.py
sascha-kirch/DeepSaki
cfe6bd6537a2b0793d4db4041f2efb37d480cb4c
[ "MIT" ]
null
null
null
DeepSaki/initializer/helper/__init__.py
sascha-kirch/DeepSaki
cfe6bd6537a2b0793d4db4041f2efb37d480cb4c
[ "MIT" ]
null
null
null
DeepSaki/initializer/helper/__init__.py
sascha-kirch/DeepSaki
cfe6bd6537a2b0793d4db4041f2efb37d480cb4c
[ "MIT" ]
null
null
null
from DeepSaki.initializer.helper.initializer_helper import MakeInitializerComplex
41
81
0.914634
8
82
9.25
0.75
0.459459
0
0
0
0
0
0
0
0
0
0
0.04878
82
1
82
82
0.948718
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
0
0
0
5
45f3e76c13b00e8eab45af5098e18d50c1acb793
436
py
Python
hsv_dot_beer/permissions.py
austinprog/hsvdotbeer
2979a2b0b105b85d0865c6771bfcb7debb98b3e8
[ "Apache-2.0" ]
18
2018-12-06T01:46:37.000Z
2021-10-17T10:37:17.000Z
hsv_dot_beer/permissions.py
austinprog/hsvdotbeer
2979a2b0b105b85d0865c6771bfcb7debb98b3e8
[ "Apache-2.0" ]
194
2018-11-04T12:50:49.000Z
2022-01-06T22:43:43.000Z
hsv_dot_beer/permissions.py
austinprog/hsvdotbeer
2979a2b0b105b85d0865c6771bfcb7debb98b3e8
[ "Apache-2.0" ]
7
2019-03-18T05:36:06.000Z
2020-12-25T03:27:29.000Z
from rest_framework.permissions import BasePermission, SAFE_METHODS class IsAdminOrReadOnly(BasePermission): def has_permission(self, request, view): user = request.user # if the user is a staff user (i.e. can log into the admin page), # they can do anything in the API. # Otherwise...
39.636364
73
0.706422
62
436
4.887097
0.725806
0.072607
0
0
0
0
0
0
0
0
0
0
0.227064
436
10
74
43.6
0.89911
0.362385
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
45f420ab6e1abe94bc0e796084a2bcc846cf45f8
3,279
py
Python
TFQ/barren_plateaus/bp_tfq.py
Project-Fare/quantum_computation
fc182007d0cf7cca170efdbcb442576fde5927ff
[ "MIT" ]
27
2020-04-15T18:45:43.000Z
2022-03-29T10:28:42.000Z
TFQ/barren_plateaus/bp_tfq.py
Project-Fare/quantum_computation
fc182007d0cf7cca170efdbcb442576fde5927ff
[ "MIT" ]
1
2021-08-23T01:59:34.000Z
2021-08-24T05:22:08.000Z
TFQ/barren_plateaus/bp_tfq.py
Project-Fare/quantum_computation
fc182007d0cf7cca170efdbcb442576fde5927ff
[ "MIT" ]
10
2021-01-30T15:20:36.000Z
2022-03-29T10:28:51.000Z
import tensorflow as tf import tensorflow_quantum as tfq import cirq import sympy import numpy as np import matplotlib.pyplot as plt # https://www.tensorflow.org/quantum/tutorials/barren_plateaus#2_generating_random_circuits def generate_circuit(qubits, depth, param): circuit = cirq.Circuit() for qubit in qubi...
33.804124
137
0.643794
505
3,279
4.045545
0.255446
0.019579
0.014684
0.021537
0.303475
0.262359
0.244738
0.229075
0.178169
0.078316
0
0.032107
0.221104
3,279
96
138
34.15625
0.767815
0.026837
0
0.216867
0
0
0.039523
0
0
0
0
0
0
1
0.048193
false
0
0.072289
0
0.168675
0.024096
0
0
0
null
0
0
0
0
0
0
0
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
45f440231923aed73dba16db99e48ddfd83961b9
4,160
py
Python
sast_git_leaks/__init__.py
leboncoin/sast-git-leaks
51cb1719a978c354bf2b974071e23977e5b33ad4
[ "Apache-2.0" ]
2
2020-09-07T17:44:05.000Z
2020-11-12T16:25:04.000Z
sast_git_leaks/__init__.py
leboncoin/sast-git-leaks
51cb1719a978c354bf2b974071e23977e5b33ad4
[ "Apache-2.0" ]
null
null
null
sast_git_leaks/__init__.py
leboncoin/sast-git-leaks
51cb1719a978c354bf2b974071e23977e5b33ad4
[ "Apache-2.0" ]
2
2020-11-04T04:51:01.000Z
2020-11-12T16:25:18.000Z
''' Sast Git Leaks Copyright 2020 Leboncoin Licensed under the Apache License Written by Fabien Martinez <fabien.martinez+github@adevinta.com> ''' from importlib import import_module from pathlib import Path import logging from . import utils LOGGER = logging.getLogger(__name__) def load_tool(variables, tool: dic...
34.380165
110
0.607933
534
4,160
4.601124
0.230337
0.05698
0.043956
0.043956
0.21978
0.178266
0.103378
0.071632
0.046398
0
0
0.001663
0.277404
4,160
120
111
34.666667
0.815702
0.052404
0
0.22449
0
0
0.209016
0.036629
0
0
0
0
0
1
0.030612
false
0
0.05102
0
0.193878
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
45f5e7d4cd9a3a5298fc43ed2dff22d7f1fc8381
1,726
py
Python
solution/array/no_29_print_array_clockwise.py
LibertyDream/algorithm_data_structure
5d143d04d001a9b8aef30334881d0af56d8c9850
[ "MIT" ]
null
null
null
solution/array/no_29_print_array_clockwise.py
LibertyDream/algorithm_data_structure
5d143d04d001a9b8aef30334881d0af56d8c9850
[ "MIT" ]
null
null
null
solution/array/no_29_print_array_clockwise.py
LibertyDream/algorithm_data_structure
5d143d04d001a9b8aef30334881d0af56d8c9850
[ "MIT" ]
null
null
null
'''面试题29:顺时针打印矩阵 输入一个矩阵,按照从外向里以顺时针的顺序依次打印出每一个数字。 -------------- Example: input: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 output:1,2,3,4,8,12,16,15,14,13,9,5,6,7,11,10 ''' def print_array_clockwise(array): if array is None or len(array) == 0: return rows = len(array) cols = len(array[0]) ...
20.795181
51
0.504635
248
1,726
3.33871
0.241935
0.096618
0.039855
0.009662
0.160628
0.128019
0
0
0
0
0
0.065634
0.364426
1,726
83
52
20.795181
0.689152
0.099073
0
0.115385
0
0
0.009684
0
0
0
0
0
0
1
0.076923
false
0
0
0
0.134615
0.269231
0
0
0
null
0
0
0
0
0
0
0
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
45f68050d4948d7d2cc4601a50e36e261ccdf689
3,679
py
Python
users/admin.py
AlbertoZerbinati/sentag
542c10e68372352cf1dcca056452220532ad81ed
[ "MIT" ]
3
2021-12-11T12:20:07.000Z
2022-01-15T14:34:07.000Z
users/admin.py
AlbertoZerbinati/sentag
542c10e68372352cf1dcca056452220532ad81ed
[ "MIT" ]
1
2021-11-28T22:34:58.000Z
2021-11-28T22:35:43.000Z
users/admin.py
AlbertoZerbinati/sentag
542c10e68372352cf1dcca056452220532ad81ed
[ "MIT" ]
1
2022-01-26T16:41:12.000Z
2022-01-26T16:41:12.000Z
from django.contrib import admin from django.contrib.auth.admin import UserAdmin as BaseUserAdmin from django.contrib.auth.models import User from django.contrib.admin.widgets import FilteredSelectMultiple from django.utils.text import format_lazy from tag_sentenze.models import Judgment from users.models im...
40.877778
117
0.651536
440
3,679
5.290909
0.209091
0.045103
0.056701
0.051546
0.686426
0.686426
0.686426
0.641323
0.641323
0.641323
0
0
0.256048
3,679
90
118
40.877778
0.850566
0.057081
0
0.566038
0
0.037736
0.116599
0
0
0
0
0
0
1
0.037736
false
0
0.132075
0
0.415094
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
45f776e9532d54844e073e21417dafd35670fca1
104
py
Python
dash-user-guide-components/dash_user_guide_components/_imports_.py
joelostblom/dash-docs
7be5aed7795f61ac32375ce33a18046b8f2f5254
[ "MIT" ]
379
2017-06-21T14:35:52.000Z
2022-03-20T01:47:14.000Z
dash-user-guide-components/dash_user_guide_components/_imports_.py
joelostblom/dash-docs
7be5aed7795f61ac32375ce33a18046b8f2f5254
[ "MIT" ]
746
2017-06-21T19:58:17.000Z
2022-03-23T14:51:24.000Z
dash-user-guide-components/dash_user_guide_components/_imports_.py
joelostblom/dash-docs
7be5aed7795f61ac32375ce33a18046b8f2f5254
[ "MIT" ]
201
2017-06-21T21:53:19.000Z
2022-03-17T13:23:55.000Z
from .PageMenu import PageMenu from .Sidebar import Sidebar __all__ = [ "PageMenu", "Sidebar" ]
14.857143
30
0.692308
11
104
6.181818
0.454545
0
0
0
0
0
0
0
0
0
0
0
0.211538
104
7
31
14.857143
0.829268
0
0
0
0
0
0.142857
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
0
0
0
3
45f7bf6f91ad8c5d361da4852af998cb0b3aec8b
6,175
py
Python
Phase_1/O-19-MarianneTouchie.py
yapanliu/ashrae-ob-database
8c23e3ab5e8ed5589962e067a50c8940d2d31521
[ "MIT" ]
null
null
null
Phase_1/O-19-MarianneTouchie.py
yapanliu/ashrae-ob-database
8c23e3ab5e8ed5589962e067a50c8940d2d31521
[ "MIT" ]
null
null
null
Phase_1/O-19-MarianneTouchie.py
yapanliu/ashrae-ob-database
8c23e3ab5e8ed5589962e067a50c8940d2d31521
[ "MIT" ]
null
null
null
# O-19-Marianne Touchie ''' This code will clean the OB datasets and combine all the cleaned data into one Dataset name: O-19-Marianne Touchie 1. one office building 2. Xuezheng processed outdoor and indoor data 3. use the same room ids as Xuezheng used for window and door status data ''' import os import glob impor...
42.006803
148
0.699757
985
6,175
4.214213
0.192893
0.043363
0.040954
0.061431
0.432667
0.343532
0.294869
0.23151
0.22332
0.204047
0
0.066498
0.167126
6,175
147
149
42.006803
0.740618
0.229474
0
0.050633
0
0.025316
0.253015
0.074289
0
0
0
0
0
1
0
false
0
0.088608
0
0.088608
0.101266
0
0
0
null
0
0
0
0
0
0
0
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
45fa6a638f1c5138615a97898d251e2a81508de1
1,018
py
Python
mundo02/exe056.py
victor-nog/python3-exercicios
3996a41ee6cb8125573bf6f8997a69c9764fabae
[ "MIT" ]
null
null
null
mundo02/exe056.py
victor-nog/python3-exercicios
3996a41ee6cb8125573bf6f8997a69c9764fabae
[ "MIT" ]
null
null
null
mundo02/exe056.py
victor-nog/python3-exercicios
3996a41ee6cb8125573bf6f8997a69c9764fabae
[ "MIT" ]
null
null
null
# Desenvolva um programa que leia o nome, idade e sexo de 4 pessoas. No final do programa, mostre: a média de idade do grupo, qual é o nome do homem mais velho e quantas mulheres têm menos de 20 anos. soma_idade = 0 maior_idade_homem = 0 nome_homem_velho = '' total_mulheres = 0 for a in range(1, 5): nome = str(inp...
42.416667
200
0.659136
170
1,018
3.794118
0.376471
0.055814
0.093023
0.04031
0.148837
0.148837
0.148837
0.148837
0.148837
0.148837
0
0.024204
0.22888
1,018
24
201
42.416667
0.797452
0.194499
0
0.181818
0
0.045455
0.294261
0.031746
0
0
0
0
0
1
0
false
0
0
0
0
0.090909
0
0
0
null
0
0
0
0
0
0
0
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
45faab4a49b00e86a1aee2eec9ab825b2e80ded9
8,333
py
Python
baselines/rainbow.py
shreyaspadhy/minerl
bf7d58663a05f67f1d0cffdffe270e71c29d6bc2
[ "MIT" ]
2
2019-08-27T20:23:13.000Z
2020-09-23T16:42:41.000Z
baselines/rainbow.py
shreyaspadhy/minerl
bf7d58663a05f67f1d0cffdffe270e71c29d6bc2
[ "MIT" ]
null
null
null
baselines/rainbow.py
shreyaspadhy/minerl
bf7d58663a05f67f1d0cffdffe270e71c29d6bc2
[ "MIT" ]
3
2019-08-27T20:23:18.000Z
2020-06-02T19:47:26.000Z
import os import gym import ray from ray.rllib.agents import dqn from gym.spaces import Discrete, Box from collections import OrderedDict import pdb import numpy as np import copy from gym.wrappers import Monitor from gym.wrappers.monitoring.stats_recorder import StatsRecorder import numpy as np import minerl class ...
34.433884
104
0.572423
961
8,333
4.728408
0.244537
0.041153
0.020026
0.035431
0.31338
0.206646
0.103653
0.097711
0.097711
0.097711
0
0.019465
0.309492
8,333
241
105
34.576763
0.770247
0.087123
0
0.143646
0
0
0.112025
0.031457
0
0
0
0.008299
0.01105
1
0.044199
false
0.038674
0.082873
0.005525
0.171271
0.027624
0
0
0
null
0
0
0
0
0
0
0
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
45fd0e973ce23ef7e7b115de87ea88023dfb1f04
2,765
py
Python
rawdns/conn.py
warsocket/RawDNS
0ba9af96568d356dc769ca17c78308f0cfa13121
[ "Unlicense" ]
null
null
null
rawdns/conn.py
warsocket/RawDNS
0ba9af96568d356dc769ca17c78308f0cfa13121
[ "Unlicense" ]
null
null
null
rawdns/conn.py
warsocket/RawDNS
0ba9af96568d356dc769ca17c78308f0cfa13121
[ "Unlicense" ]
null
null
null
import socket import ssl def map4to6(ip): return "::ffff:"+ip def prefixstream(pkt): tcpkt = bytearray() tcpkt.append(len(pkt)//0x100) tcpkt.append(len(pkt)%0x100) tcpkt += pkt return tcpkt def getfromstream(sock): data = sock.recv(0x2) l = data[0] * 0x100 l += data[1] data = sock.recv(l) return data ...
26.084906
146
0.724051
398
2,765
4.982412
0.271357
0.032274
0.027736
0.040343
0.519919
0.449319
0.424609
0.424609
0.386283
0.326778
0
0.029016
0.139964
2,765
105
147
26.333333
0.804878
0.091139
0
0.329114
0
0
0.072655
0.021557
0
0
0.011976
0.009524
0
1
0.101266
false
0.025316
0.025316
0.012658
0.227848
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
45fd730850b8a6b4ec310867313c9107cd5544f0
179
py
Python
src/phl_budget_data/etl/qcmr/cash/__init__.py
PhiladelphiaController/phl-budget-data
438999017b8659de5bfb223a038f49fe6fd4a83a
[ "MIT" ]
null
null
null
src/phl_budget_data/etl/qcmr/cash/__init__.py
PhiladelphiaController/phl-budget-data
438999017b8659de5bfb223a038f49fe6fd4a83a
[ "MIT" ]
null
null
null
src/phl_budget_data/etl/qcmr/cash/__init__.py
PhiladelphiaController/phl-budget-data
438999017b8659de5bfb223a038f49fe6fd4a83a
[ "MIT" ]
null
null
null
from .fund_balances import CashReportFundBalances from .net_cash_flow import CashReportNetCashFlow from .revenue import CashReportRevenue from .spending import CashReportSpending
35.8
49
0.888268
19
179
8.210526
0.684211
0
0
0
0
0
0
0
0
0
0
0
0.089385
179
4
50
44.75
0.957055
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
45fd8472320d9f428688cc4b303bffd379a6cde3
3,756
py
Python
hubspot3/lines.py
BureauxLocaux/hubspot3
d260d47f2e7f17459cab8000e6007c20588b00cc
[ "MIT" ]
null
null
null
hubspot3/lines.py
BureauxLocaux/hubspot3
d260d47f2e7f17459cab8000e6007c20588b00cc
[ "MIT" ]
null
null
null
hubspot3/lines.py
BureauxLocaux/hubspot3
d260d47f2e7f17459cab8000e6007c20588b00cc
[ "MIT" ]
null
null
null
""" hubspot lines api """ from typing import Dict, Union from hubspot3.base import BaseClient from hubspot3.crm_associations import CRMAssociationsClient from hubspot3.utils import get_log, prettify, ordered_dict LINES_API_VERSION = "1" class LinesClient(BaseClient): """ Line Items API endpoint :see: ht...
35.102804
98
0.600373
447
3,756
4.903803
0.317673
0.047445
0.050182
0.057026
0.245894
0.201186
0.117245
0.117245
0.117245
0.050182
0
0.003368
0.288605
3,756
106
99
35.433962
0.816991
0.296858
0
0.035714
0
0
0.062191
0.015239
0
0
0
0
0
1
0.125
false
0
0.071429
0.017857
0.321429
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
45fdf357b954c9f769d2d5c5156d6f1a9043f455
6,115
py
Python
member.py
glennfeys/Federal-Parliament-Scraper
3d70ffdea502e1d2718833f9207d8c7bea9bf99a
[ "MIT" ]
null
null
null
member.py
glennfeys/Federal-Parliament-Scraper
3d70ffdea502e1d2718833f9207d8c7bea9bf99a
[ "MIT" ]
null
null
null
member.py
glennfeys/Federal-Parliament-Scraper
3d70ffdea502e1d2718833f9207d8c7bea9bf99a
[ "MIT" ]
null
null
null
import requests from bs4 import BeautifulSoup from util import normalize_str import json import uuid from os import path, makedirs import hashlib from typing import List from activity import Activity from collections import defaultdict class Member: """ Class representing a single member of the parliament ...
38.949045
212
0.615536
781
6,115
4.674776
0.21895
0.032868
0.032046
0.026294
0.116406
0.070118
0.055327
0.046836
0
0
0
0.003374
0.272935
6,115
156
213
39.198718
0.817814
0.215372
0
0.021739
0
0
0.098635
0.031704
0
0
0
0
0
1
0.152174
false
0
0.119565
0.043478
0.391304
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
45fe02038159d803cb70321ec0c3d65602e5a6f5
1,496
py
Python
quart_restplus/apidoc.py
zihen/quart-restplus
57f5b800803084ec0857d895e123414524de0d76
[ "BSD-3-Clause" ]
1
2018-11-21T21:15:20.000Z
2018-11-21T21:15:20.000Z
quart_restplus/apidoc.py
zihen/quart-restplus
57f5b800803084ec0857d895e123414524de0d76
[ "BSD-3-Clause" ]
null
null
null
quart_restplus/apidoc.py
zihen/quart-restplus
57f5b800803084ec0857d895e123414524de0d76
[ "BSD-3-Clause" ]
1
2019-12-18T09:19:46.000Z
2019-12-18T09:19:46.000Z
# -*- coding: utf-8 -*- from quart import url_for, Blueprint, render_template from quart.blueprints import BlueprintSetupState class Apidoc(Blueprint): """ Allow to know if the blueprint has already been registered until https://github.com/mitsuhiko/quart/pull/1301 is merged """ def __init__(self...
30.530612
93
0.670455
186
1,496
5.11828
0.413978
0.056723
0.054622
0.039916
0.060924
0.060924
0
0
0
0
0
0.004255
0.214572
1,496
48
94
31.166667
0.805957
0.09492
0
0
0
0
0.112828
0
0
0
0
0
0
1
0.137931
false
0
0.068966
0.034483
0.310345
0.137931
0
0
0
null
0
0
0
0
0
0
0
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
45fe34a873777b10ba086961e0f5ee495277a01f
128
py
Python
setup.py
tamuhey/catalogue
346c7e9baf06e01e6161171a4ab6f5bff6cfa24c
[ "MIT" ]
null
null
null
setup.py
tamuhey/catalogue
346c7e9baf06e01e6161171a4ab6f5bff6cfa24c
[ "MIT" ]
null
null
null
setup.py
tamuhey/catalogue
346c7e9baf06e01e6161171a4ab6f5bff6cfa24c
[ "MIT" ]
null
null
null
#!/usr/bin/env python # coding: utf-8 if __name__ == "__main__": from setuptools import setup setup(name="catalogue")
16
32
0.671875
17
128
4.588235
0.882353
0
0
0
0
0
0
0
0
0
0
0.009615
0.1875
128
7
33
18.285714
0.740385
0.265625
0
0
0
0
0.184783
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
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
0
0
0
4
45feee9c2b4b0812ede7de9a5e89646b87aea79e
4,329
py
Python
ModelTrainerScripts/TransferLearning/sensor_80_to_flowfrontnet_transferlearning.py
isse-augsburg/PermeabilityNets
b4d1346f9934f2fda2f5d671983c822f4f8365f1
[ "MIT" ]
1
2021-09-10T14:57:27.000Z
2021-09-10T14:57:27.000Z
ModelTrainerScripts/TransferLearning/sensor_80_to_flowfrontnet_transferlearning.py
isse-augsburg/PermeabilityNets
b4d1346f9934f2fda2f5d671983c822f4f8365f1
[ "MIT" ]
null
null
null
ModelTrainerScripts/TransferLearning/sensor_80_to_flowfrontnet_transferlearning.py
isse-augsburg/PermeabilityNets
b4d1346f9934f2fda2f5d671983c822f4f8365f1
[ "MIT" ]
null
null
null
from pathlib import Path import torch from torch.optim.lr_scheduler import ExponentialLR import Resources.training as r from Models.erfh5_ConvModel import S80Deconv2ToDrySpotTransferLearning from Pipeline.data_gather import get_filelist_within_folder_blacklisted, \ get_filelist_within_folder from Pipeline.data_loa...
36.686441
111
0.631093
453
4,329
5.690949
0.412804
0.018619
0.032971
0.044608
0.157099
0.092708
0.092708
0.076804
0.046548
0.046548
0
0.026875
0.303765
4,329
117
112
37
0.828467
0.005775
0
0.040816
0
0
0.099572
0.04539
0
0
0
0
0
1
0.010204
false
0
0.122449
0
0.142857
0.081633
0
0
0
null
0
0
0
0
0
0
0
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
45ff300f11b4fe22aea3a3eaea1feb2730e8fe8a
897
py
Python
src/studying/tests/shipping_factory/tests_shipping_factory_unship.py
denkasyanov/education-backend
c796b6f2f1cc1cd09f83cab2ca0cc45344906ef5
[ "MIT" ]
151
2020-04-21T09:58:57.000Z
2021-09-12T09:01:21.000Z
src/studying/tests/shipping_factory/tests_shipping_factory_unship.py
denkasyanov/education-backend
c796b6f2f1cc1cd09f83cab2ca0cc45344906ef5
[ "MIT" ]
163
2020-05-29T20:52:00.000Z
2021-09-11T12:44:56.000Z
src/studying/tests/shipping_factory/tests_shipping_factory_unship.py
boochamoocha/education-backend
c6ffb0c00bc066c8f1e0a8c0ffe4d0215c7c416a
[ "MIT" ]
39
2020-04-21T12:28:16.000Z
2021-09-12T15:33:47.000Z
import pytest from studying import shipment_factory pytestmark = [pytest.mark.django_db] @pytest.fixture def unship_record(mocker): return mocker.patch('studying.shipment.RecordShipment.unship') @pytest.fixture def unship_course(mocker): return mocker.patch('studying.shipment.CourseShipment.unship') def...
23.605263
71
0.781494
109
897
6.211009
0.33945
0.106352
0.084195
0.106352
0.401773
0.115214
0
0
0
0
0
0
0.12932
897
37
72
24.243243
0.866837
0.031215
0
0.238095
0
0
0.089965
0.089965
0
0
0
0
0.095238
1
0.238095
false
0
0.095238
0.095238
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
45ff4542a60f1d0fcbbb9e2a5df1371b2b3fa8d9
1,518
py
Python
module4-acid-and-database-scalability-tradeoffs/titanic_mongo.py
TAVAU/DS-Unit-3-Sprint-2-SQL-and-Databases
0620f7970e77bc6b47698ccf3279bb35a0472fe0
[ "MIT" ]
null
null
null
module4-acid-and-database-scalability-tradeoffs/titanic_mongo.py
TAVAU/DS-Unit-3-Sprint-2-SQL-and-Databases
0620f7970e77bc6b47698ccf3279bb35a0472fe0
[ "MIT" ]
null
null
null
module4-acid-and-database-scalability-tradeoffs/titanic_mongo.py
TAVAU/DS-Unit-3-Sprint-2-SQL-and-Databases
0620f7970e77bc6b47698ccf3279bb35a0472fe0
[ "MIT" ]
1
2021-12-17T19:23:43.000Z
2021-12-17T19:23:43.000Z
import pymongo import os from dotenv import load_dotenv import sqlite3 from pprint import pprint load_dotenv() DB_USER = os.getenv("MONGO_USER", default="OOPS") DB_PASSWORD = os.getenv("MONGO_PASSWORD", default="OOPS") CLUSTER_NAME = os.getenv("MONGO_CLUSTER_NAME", default="OOPS") connection_uri = f"mongodb://{DB_US...
35.302326
301
0.691041
208
1,518
4.865385
0.461538
0.054348
0.038538
0.05336
0.075099
0.075099
0.075099
0.075099
0
0
0
0.033283
0.129117
1,518
43
302
35.302326
0.732224
0.296443
0
0
0
0.047619
0.385932
0.289924
0
0
0
0
0
1
0
false
0.095238
0.238095
0
0.238095
0.285714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
45ff858490c4564913c4727fd7b20f7fcb42c54b
2,666
py
Python
setup.py
p768lwy3/torecsys
2251366268b4fbe6f8c3ab1628fa72a0db043dcd
[ "MIT" ]
92
2019-08-15T11:03:50.000Z
2022-03-12T01:21:05.000Z
setup.py
p768lwy3/torecsys
2251366268b4fbe6f8c3ab1628fa72a0db043dcd
[ "MIT" ]
3
2020-03-11T08:57:50.000Z
2021-01-06T01:39:47.000Z
setup.py
p768lwy3/torecsys
2251366268b4fbe6f8c3ab1628fa72a0db043dcd
[ "MIT" ]
16
2019-10-12T11:28:53.000Z
2022-03-28T14:04:12.000Z
import os from io import open from os import path from typing import AnyStr, List from setuptools import setup, find_packages package_dir = path.abspath(path.dirname(__file__)) def _process_requirements() -> List[str]: requirements = [] with open(path.join(package_dir, 'requirements.txt'), encoding='utf-8'...
36.027027
120
0.654539
298
2,666
5.741611
0.573826
0.035067
0.043834
0.045587
0.082992
0.030392
0
0
0
0
0
0.012962
0.21868
2,666
73
121
36.520548
0.808449
0
0
0
0
0
0.43886
0.029257
0
0
0
0
0.016393
1
0.032787
false
0
0.081967
0
0.147541
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
34011fd4e30dfaf36527556e6d5af2b43e50dd7d
921
py
Python
kyhg/kyhg/spiders/trans.py
asusfgg/python_study_2022
d119664febf0070761df20bb557d025497f0c9e3
[ "BSD-3-Clause" ]
1
2022-02-23T12:54:49.000Z
2022-02-23T12:54:49.000Z
kyhg/kyhg/spiders/trans.py
asusfgg/python_study_2022
d119664febf0070761df20bb557d025497f0c9e3
[ "BSD-3-Clause" ]
null
null
null
kyhg/kyhg/spiders/trans.py
asusfgg/python_study_2022
d119664febf0070761df20bb557d025497f0c9e3
[ "BSD-3-Clause" ]
null
null
null
''' Author: fgg Date: 2022-05-26 16:16:45 LastEditors: fgg LastEditTime: 2022-05-26 16:45:45 FilePath: \python_study_2022\kyhg\kyhg\spiders\trans.py Description: 学习用文件,主要就是笔记和随笔 Copyright (c) 2022 by fgg/Mechanical Design Studio, All Rights Reserved. ''' import json import tablib import csv # 获取json数据 with open('kyhg...
23.615385
92
0.710098
147
921
4.401361
0.578231
0.030912
0.037094
0.030912
0.068006
0.068006
0.049459
0
0
0
0
0.08867
0.11835
921
38
93
24.236842
0.708128
0.520087
0
0
0
0
0.138824
0.077647
0
0
0
0
0
1
0
false
0
0.230769
0
0.230769
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
3402879f5b9078557c31d85789cfebc6acfb8b66
738
py
Python
procedures.py
MagiMas/ArpesBandmass
98785fabcb7977e110532a984d40971b915f09b3
[ "MIT" ]
null
null
null
procedures.py
MagiMas/ArpesBandmass
98785fabcb7977e110532a984d40971b915f09b3
[ "MIT" ]
null
null
null
procedures.py
MagiMas/ArpesBandmass
98785fabcb7977e110532a984d40971b915f09b3
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt def build_fitfunction_from_dict(func_dict): # build the def part of the method def_part = "def general_function(x" number_of_parameters = len(func_dict['start-values']) for val,num in zip(func_dict['start-values'], range(number_of_parameters)): ...
30.75
79
0.627371
104
738
4.163462
0.471154
0.080831
0.092379
0.110855
0
0
0
0
0
0
0
0.008757
0.226287
738
24
80
30.75
0.749562
0.04336
0
0
0
0
0.21844
0
0
0
0
0
0
1
0.05
false
0
0.1
0
0.15
0.15
0
0
0
null
0
0
0
0
0
0
0
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
3402e87f95b35b11be128d5a5a798677b41963c8
4,314
py
Python
utils.py
c-lai/3D-ResNets-PyTorch
488d0d7c4760e60ead4db80fe6f017a8778318ff
[ "MIT" ]
1
2022-03-10T03:42:10.000Z
2022-03-10T03:42:10.000Z
utils.py
c-lai/3D-ResNets-PyTorch
488d0d7c4760e60ead4db80fe6f017a8778318ff
[ "MIT" ]
null
null
null
utils.py
c-lai/3D-ResNets-PyTorch
488d0d7c4760e60ead4db80fe6f017a8778318ff
[ "MIT" ]
null
null
null
import csv import random from functools import partialmethod import torch import numpy as np from sklearn.metrics import precision_recall_fscore_support, \ precision_recall_curve, roc_auc_score, \ balanced_accuracy_score, accuracy_score class AverageMeter(object): """Computes and stores the average a...
27.132075
77
0.617293
548
4,314
4.662409
0.271898
0.037573
0.032877
0.035616
0.288845
0.259491
0.225832
0.223875
0.204305
0.101761
0
0.018495
0.260547
4,314
158
78
27.303797
0.782445
0.085535
0
0.127451
0
0
0.001276
0
0
0
0
0
0.009804
1
0.166667
false
0
0.058824
0
0.352941
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
3403a6cc7750699b54ba0bd28fa928661cb61dd3
2,226
py
Python
server/test_app.py
holdenmatt/ExpenseLog
f5ff5a5421a58a827bc9033c0992774be4eda1a8
[ "MIT" ]
null
null
null
server/test_app.py
holdenmatt/ExpenseLog
f5ff5a5421a58a827bc9033c0992774be4eda1a8
[ "MIT" ]
null
null
null
server/test_app.py
holdenmatt/ExpenseLog
f5ff5a5421a58a827bc9033c0992774be4eda1a8
[ "MIT" ]
null
null
null
import json import unittest from nose.tools import * from app import app def check_valid_json(res): eq_(res.headers['Content-Type'], 'application/json') content = json.loads(res.data) return content class AppTests(unittest.TestCase): def setUp(self): app.config['TESTING'] = True app...
28.177215
61
0.561995
282
2,226
4.280142
0.269504
0.052196
0.069594
0.084507
0.525269
0.482187
0.405965
0.34797
0.34797
0.34797
0
0.031052
0.291105
2,226
78
62
28.538462
0.73384
0.050764
0
0.368421
0
0
0.145843
0
0
0
0
0
0
1
0.087719
false
0
0.070175
0
0.22807
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
340556e1e0c08283d52d7ab00c0bd69cfae55d5b
96
py
Python
riki/__init__.py
afenyvesi/riki
dfd6579b3400e8ebcad1c4a610902124fad8f302
[ "MIT" ]
null
null
null
riki/__init__.py
afenyvesi/riki
dfd6579b3400e8ebcad1c4a610902124fad8f302
[ "MIT" ]
1
2020-01-25T23:07:00.000Z
2020-01-25T23:07:00.000Z
riki/__init__.py
afenyvesi/riki
dfd6579b3400e8ebcad1c4a610902124fad8f302
[ "MIT" ]
2
2020-01-25T22:21:33.000Z
2020-07-15T20:59:18.000Z
from ._version import __version__ # TODO: refactor the whole semester shit to semester configs
24
60
0.8125
13
96
5.615385
0.846154
0
0
0
0
0
0
0
0
0
0
0
0.15625
96
3
61
32
0.901235
0.604167
0
0
0
0
0
0
0
0
0
0.333333
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
1
0
0
0
1
0
1
0
1
0
0
6
340699a64c90a2586bf773ce6e1dbfc3c237f72c
2,013
py
Python
src/Lib/_imp.py
martinphellwig/brython_wf
e169afc1e048cba0c12118b4cd6f109df6fe67c9
[ "BSD-3-Clause" ]
3
2017-04-04T06:18:16.000Z
2020-01-17T02:03:39.000Z
src/Lib/_imp.py
martinphellwig/brython_wf
e169afc1e048cba0c12118b4cd6f109df6fe67c9
[ "BSD-3-Clause" ]
1
2019-07-08T05:28:59.000Z
2021-01-14T10:44:49.000Z
src/Lib/_imp.py
martinphellwig/brython_wf
e169afc1e048cba0c12118b4cd6f109df6fe67c9
[ "BSD-3-Clause" ]
8
2017-06-27T05:38:52.000Z
2021-06-19T16:00:03.000Z
"""(Extremely) low-level import machinery bits as used by importlib and imp.""" class __loader__(object):pass def _fix_co_filename(*args,**kw): raise NotImplementedError("%s:not implemented" % ('_imp.py:_fix_co_filename')) def acquire_lock(*args,**kw): """acquire_lock() -> None Acquires the interpreter's...
38.711538
122
0.71237
267
2,013
5.17603
0.303371
0.052098
0.180897
0.202605
0.476122
0.439942
0.439942
0.408104
0.408104
0.299566
0
0
0.143567
2,013
51
123
39.470588
0.801624
0.336314
0
0
0
0
0.30155
0.057364
0
0
0
0
0
1
0.48
false
0.04
0.04
0.04
0.64
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
3406d84467a5acfd453f5f31463ea4e221d44215
719
py
Python
toolset/benchmark/test_types/datarate_type.py
ssgberk/benchmark-tool
43514f302c7a4e81f4236d0ed5dfa8f2a84c8d29
[ "BSD-3-Clause" ]
null
null
null
toolset/benchmark/test_types/datarate_type.py
ssgberk/benchmark-tool
43514f302c7a4e81f4236d0ed5dfa8f2a84c8d29
[ "BSD-3-Clause" ]
null
null
null
toolset/benchmark/test_types/datarate_type.py
ssgberk/benchmark-tool
43514f302c7a4e81f4236d0ed5dfa8f2a84c8d29
[ "BSD-3-Clause" ]
null
null
null
from toolset.benchmark.test_types.framework_test_type import FrameworkTestType class DatarateTestType(FrameworkTestType): def __init__(self, config): kwargs = { 'name': 'datarate' } FrameworkTestType.__init__(self, config, **kwargs) def get_script_name(self): retur...
26.62963
78
0.584145
69
719
5.724638
0.478261
0.177215
0.070886
0.101266
0
0
0
0
0
0
0
0
0.324061
719
26
79
27.653846
0.812757
0
0
0
0
0
0.105702
0
0
0
0
0
0
1
0.136364
false
0
0.045455
0.090909
0.318182
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
340711cca076c2fc011c0b1bb2f7dfe92c01eb3a
2,150
py
Python
tests/test_pyspark_gateway.py
abronte/PysparkGateway
96f18719e5245259dc8cda48d591127fbb64559e
[ "Apache-2.0" ]
2
2019-04-19T04:28:30.000Z
2021-04-06T21:35:18.000Z
tests/test_pyspark_gateway.py
abronte/PysparkGateway
96f18719e5245259dc8cda48d591127fbb64559e
[ "Apache-2.0" ]
12
2019-06-04T22:51:29.000Z
2021-03-05T17:28:52.000Z
tests/test_pyspark_gateway.py
abronte/PysparkGateway
96f18719e5245259dc8cda48d591127fbb64559e
[ "Apache-2.0" ]
2
2020-09-08T13:56:03.000Z
2020-09-08T14:04:33.000Z
import unittest import time from multiprocessing import Process import os import psutil import requests import pandas from pyspark_gateway import server from pyspark_gateway import PysparkGateway class PysparkGatewayTestCase(unittest.TestCase): @classmethod def setUpClass(cls): cls.server = Process(t...
28.666667
94
0.630233
264
2,150
5.056818
0.507576
0.041199
0.026966
0.035955
0.041948
0
0
0
0
0
0
0.012415
0.250698
2,150
74
95
29.054054
0.816263
0.074884
0
0.039216
0
0
0.075101
0.013609
0
0
0
0
0.098039
1
0.078431
false
0
0.254902
0.019608
0.372549
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
3407d24ae2fa298896d1f107ed13d34a6563056d
2,705
py
Python
endpoints/candidates.py
stikks/Interview_Calendar
a84028addf198cde73a859295e59884d09468b9b
[ "MIT" ]
null
null
null
endpoints/candidates.py
stikks/Interview_Calendar
a84028addf198cde73a859295e59884d09468b9b
[ "MIT" ]
2
2020-03-12T16:11:48.000Z
2020-03-12T16:11:48.000Z
endpoints/candidates.py
stikks/Interview_Calendar
a84028addf198cde73a859295e59884d09468b9b
[ "MIT" ]
null
null
null
from flask import jsonify import connexion from app import forms, models, InvalidUsage from services import common def all(): """ json response of available interviewers :return: """ url_params = connexion.request.args page = url_params.get('page', 0) limit = url_params.get('limit', 20)...
27.886598
118
0.678743
341
2,705
5.266862
0.272727
0.041759
0.050111
0.053452
0.526726
0.485523
0.485523
0.404232
0.404232
0.360802
0
0.012605
0.208133
2,705
97
119
27.886598
0.825864
0.130129
0
0.444444
0
0
0.129812
0
0
0
0
0
0
1
0.111111
false
0
0.088889
0
0.311111
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
34092ed7ac478bf326c91277968d452e229666f2
20,549
py
Python
extract_spreadsheet_data.py
dpvcg/extract-sheets
f133202f8f120768edeb19d66cbeae19d32283ad
[ "MIT" ]
null
null
null
extract_spreadsheet_data.py
dpvcg/extract-sheets
f133202f8f120768edeb19d66cbeae19d32283ad
[ "MIT" ]
2
2019-05-21T14:57:57.000Z
2020-08-25T10:41:08.000Z
extract_spreadsheet_data.py
dpvcg/extract-sheets
f133202f8f120768edeb19d66cbeae19d32283ad
[ "MIT" ]
null
null
null
import pickle import os.path import sys, getopt from googleapiclient.discovery import build from google_auth_oauthlib.flow import InstalledAppFlow from google.auth.transport.requests import Request import html from collections import namedtuple from dataclasses import dataclass from typing import List from rdf_serial...
40.05653
92
0.541973
2,312
20,549
4.782872
0.138408
0.227528
0.103093
0.092241
0.601465
0.566649
0.53138
0.493127
0.482547
0.463194
0
0.002707
0.298895
20,549
512
93
40.134766
0.764837
0.088374
0
0.587302
0
0.00907
0.220377
0.068942
0
0
0
0.001953
0
1
0.018141
false
0.002268
0.024943
0
0.056689
0.006803
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
340be8531353ff9d1a25de04481afd75f2788f8a
2,242
py
Python
setup.py
Tygs/ww
6a4b85141c9b74026abe8f3fa9bc7021f3c99fd4
[ "MIT" ]
15
2016-10-15T10:15:08.000Z
2021-04-06T08:31:02.000Z
setup.py
Tygs/ww
6a4b85141c9b74026abe8f3fa9bc7021f3c99fd4
[ "MIT" ]
7
2016-10-14T08:53:29.000Z
2016-11-09T23:43:31.000Z
setup.py
Tygs/ww
6a4b85141c9b74026abe8f3fa9bc7021f3c99fd4
[ "MIT" ]
3
2016-10-13T11:44:46.000Z
2016-10-14T08:58:03.000Z
import re import setuptools def get_version(path="src/ww/__init__.py"): """ Return the version of by with regex intead of importing it""" init_content = open(path, "rt").read() pattern = r"^__version__ = ['\"]([^'\"]*)['\"]" return re.search(pattern, init_content, re.M).group(1) def get_requirement...
32.492754
74
0.604817
252
2,242
5.190476
0.488095
0.030581
0.076453
0.059633
0
0
0
0
0
0
0
0.006455
0.239964
2,242
68
75
32.970588
0.76115
0.02587
0
0
0
0
0.290441
0.039063
0
0
0
0
0
1
0.037037
false
0
0.037037
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
340c098a1014ab544a0824e50cb571ef2441fcc8
44
py
Python
k8s/images/codalab/apps/web/exceptions.py
abdulari/codalab-competitions
fdfbb77ac62d56c6b4b9439935037f97ffcd1423
[ "Apache-2.0" ]
333
2015-12-29T22:49:40.000Z
2022-03-27T12:01:57.000Z
k8s/images/codalab/apps/web/exceptions.py
abdulari/codalab-competitions
fdfbb77ac62d56c6b4b9439935037f97ffcd1423
[ "Apache-2.0" ]
1,572
2015-12-28T21:54:00.000Z
2022-03-31T13:00:32.000Z
k8s/images/codalab/apps/web/exceptions.py
abdulari/codalab-competitions
fdfbb77ac62d56c6b4b9439935037f97ffcd1423
[ "Apache-2.0" ]
107
2016-01-08T03:46:07.000Z
2022-03-16T08:43:57.000Z
class ScoringException(Exception): pass
14.666667
34
0.772727
4
44
8.5
1
0
0
0
0
0
0
0
0
0
0
0
0.159091
44
2
35
22
0.918919
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
1
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
1
0
0
0
0
0
5
340cbfe68b1c13b7a09c6a2e2168a22416b91746
462
py
Python
Largest_Number.py
Taizul1579/Pythonbasic
a197e1d8fa7f74bc9bff5ae2d5cf6bf7010e884c
[ "Apache-2.0" ]
null
null
null
Largest_Number.py
Taizul1579/Pythonbasic
a197e1d8fa7f74bc9bff5ae2d5cf6bf7010e884c
[ "Apache-2.0" ]
null
null
null
Largest_Number.py
Taizul1579/Pythonbasic
a197e1d8fa7f74bc9bff5ae2d5cf6bf7010e884c
[ "Apache-2.0" ]
null
null
null
# largest number a = int(input("Enter The First Number : ")) b = int(input("Enter The Seceond Number : ")) c = int(input("Enter The Thard Number : ")) Max = max(a, b, c) print("Largest Number Is :", Max) print('################## Seceond Program #################################') if a >= b and a >= c: ...
27.176471
79
0.512987
64
462
3.703125
0.3125
0.274262
0.303797
0.337553
0.274262
0.185654
0
0
0
0
0
0
0.227273
462
16
80
28.875
0.663866
0.030303
0
0
0
0
0.516279
0.076744
0
0
0
0
0
1
0
false
0
0
0
0
0.416667
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
340ed019461635a7a257c5e10586606f2797256a
7,144
py
Python
karp/services/entry_views.py
spraakbanken/karp-backend-v6-tmp
e5b78157bd999df18c188973ae2a337015b6f35d
[ "MIT" ]
1
2021-12-08T15:33:42.000Z
2021-12-08T15:33:42.000Z
karp/services/entry_views.py
spraakbanken/karp-backend-v6-tmp
e5b78157bd999df18c188973ae2a337015b6f35d
[ "MIT" ]
null
null
null
karp/services/entry_views.py
spraakbanken/karp-backend-v6-tmp
e5b78157bd999df18c188973ae2a337015b6f35d
[ "MIT" ]
null
null
null
import typing import pydantic from sb_json_tools import jsondiff from karp.domain import model from karp.utility import unique_id from karp import errors as karp_errors from . import context # pylint: disable=unsubscriptable-object def get_by_id( resource_id: str, entry_uuid: unique_id.UniqueId, ctx: context....
34.512077
113
0.643757
928
7,144
4.675647
0.133621
0.045172
0.016594
0.038719
0.4531
0.325882
0.274026
0.233464
0.219636
0.19705
0
0.010452
0.263438
7,144
206
114
34.679612
0.814139
0.277016
0
0.166667
0
0
0.044066
0.01038
0
0
0
0.004854
0
1
0.041667
false
0
0.058333
0
0.316667
0.016667
0
0
0
null
0
0
0
0
0
0
0
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
340ef7f7152b1c8bcf4d6dfbc1ee8ab088dec0b4
1,517
py
Python
src/genie/libs/parser/generic/tests/ShowInventory/cli/equal/golden_output_nxos_1_expected.py
balmasea/genieparser
d1e71a96dfb081e0a8591707b9d4872decd5d9d3
[ "Apache-2.0" ]
null
null
null
src/genie/libs/parser/generic/tests/ShowInventory/cli/equal/golden_output_nxos_1_expected.py
balmasea/genieparser
d1e71a96dfb081e0a8591707b9d4872decd5d9d3
[ "Apache-2.0" ]
null
null
null
src/genie/libs/parser/generic/tests/ShowInventory/cli/equal/golden_output_nxos_1_expected.py
balmasea/genieparser
d1e71a96dfb081e0a8591707b9d4872decd5d9d3
[ "Apache-2.0" ]
null
null
null
expected_output = { 'inventory_item_index': { 0: { 'description': 'nexus7000 c7009 (9 slot) chassis ', 'name': 'chassis', 'pid': 'N7K-C7009', 'sn': 'JAF1704ARQG', 'vid': 'V01', }, 1: { 'description': 'supervisor module-2...
28.622642
75
0.382334
128
1,517
4.507813
0.390625
0.07279
0.129983
0.135182
0.407279
0.317158
0
0
0
0
0
0.147232
0.440343
1,517
53
76
28.622642
0.532391
0
0
0.188679
0
0
0.402503
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
340fc602bc88626b963a2f00f968c462be4fd52e
7,907
py
Python
harolistener.py
zanedma/haro-listener
ad6566f4a63075c44376e27e1c15a67aecfbbd59
[ "MIT" ]
1
2021-03-22T07:34:47.000Z
2021-03-22T07:34:47.000Z
harolistener.py
zanedma/haro-listener
ad6566f4a63075c44376e27e1c15a67aecfbbd59
[ "MIT" ]
1
2021-12-01T13:19:24.000Z
2021-12-01T13:19:24.000Z
harolistener.py
zanedma/haro-listener
ad6566f4a63075c44376e27e1c15a67aecfbbd59
[ "MIT" ]
null
null
null
from __future__ import print_function import base64 from email.mime.text import MIMEText import os import pickle from time import sleep # project specific imports from utils import getTime, set_params, exitWithError from colors import printGreen, printFail import messageutils from inboxmanager import InboxManager # goo...
39.338308
118
0.636398
930
7,907
5.292473
0.264516
0.036977
0.01219
0.033523
0.125965
0.080861
0.026209
0
0
0
0
0.004129
0.264829
7,907
200
119
39.535
0.842594
0.223473
0
0.123077
0
0
0.185278
0
0
0
0
0
0.007692
1
0.053846
false
0
0.1
0
0.2
0.123077
0
0
0
null
0
0
0
0
0
0
0
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
340feb310324e5298778e12f9aadf50691777642
2,155
py
Python
python_developer_tools/cv/utils/tensorboard_demo.py
carlsummer/python_developer_tools
a8c4365b7cc601cda55648cdfd8c0cb1faae132f
[ "Apache-2.0" ]
32
2021-06-21T04:49:48.000Z
2022-03-29T05:46:59.000Z
python_developer_tools/cv/utils/tensorboard_demo.py
carlsummer/python_developer_tools
a8c4365b7cc601cda55648cdfd8c0cb1faae132f
[ "Apache-2.0" ]
1
2021-11-12T03:45:55.000Z
2021-11-12T03:45:55.000Z
python_developer_tools/cv/utils/tensorboard_demo.py
carlsummer/python_developer_tools
a8c4365b7cc601cda55648cdfd8c0cb1faae132f
[ "Apache-2.0" ]
10
2021-06-03T08:05:05.000Z
2021-12-13T03:10:42.000Z
#### tensorboard使用 import atexit import os import os.path as osp import signal import time import torch import torchvision from tensorboardX import SummaryWriter import subprocess import sys import socket def get_host_ip(): """ 查询本机ip地址 :return: """ try: s=socket.socket(socket.AF_INET,soc...
26.9375
118
0.670534
287
2,155
4.860627
0.452962
0.080287
0.047312
0.027957
0.108961
0.073118
0.050179
0
0
0
0
0.024027
0.188863
2,155
79
119
27.278481
0.774027
0.04826
0
0
0
0
0.11893
0.043112
0
0
0
0
0
1
0.056604
false
0
0.207547
0
0.301887
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
34113fecaaf5a7c5bd7a7623c8074eb083a1607c
17,731
py
Python
mindmappings/gradSearch/search/search.py
kartik-hegde/mindmappings
e96f2a287da2a93c4af0794a3bab1211bc95ba0a
[ "MIT" ]
17
2021-03-30T07:11:44.000Z
2022-03-08T11:06:39.000Z
mindmappings/gradSearch/search/search.py
kartik-hegde/mindmappings
e96f2a287da2a93c4af0794a3bab1211bc95ba0a
[ "MIT" ]
1
2022-01-12T03:20:31.000Z
2022-01-30T17:24:30.000Z
mindmappings/gradSearch/search/search.py
kartik-hegde/mindmappings
e96f2a287da2a93c4af0794a3bab1211bc95ba0a
[ "MIT" ]
4
2021-05-25T00:30:41.000Z
2022-02-09T13:57:21.000Z
import torch import math import time import csv from torch.autograd import Variable import torch.nn as nn from torch.nn import parameter import torch.nn.functional as F from torch.multiprocessing import Pool, Process, set_start_method, Lock, cpu_count import sys, os import numpy as np from copy import copy, deepcopy f...
48.84573
244
0.604196
2,006
17,731
5.206879
0.19342
0.041551
0.018956
0.025275
0.344375
0.312015
0.277645
0.256008
0.23686
0.202393
0
0.006249
0.268964
17,731
363
245
48.84573
0.799568
0.261181
0
0.290816
0
0.005102
0.048009
0.001784
0
0
0
0
0.005102
1
0.035714
false
0.005102
0.096939
0.02551
0.178571
0.040816
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
34132b4f426042a4feec013fe9658cc640630b89
299
py
Python
Python3-Learn/StringCopies-SanaaShah.py.py
nikhiljain-413/Hacktoberfest2021_beginner
56b008c9ed294c3fc23b44fa13faced99948236d
[ "MIT" ]
65
2021-10-01T07:02:29.000Z
2022-03-23T10:41:37.000Z
Python3-Learn/StringCopies-SanaaShah.py.py
nikhiljain-413/Hacktoberfest2021_beginner
56b008c9ed294c3fc23b44fa13faced99948236d
[ "MIT" ]
82
2021-10-01T14:21:42.000Z
2022-03-29T03:43:58.000Z
Python3-Learn/StringCopies-SanaaShah.py.py
nikhiljain-413/Hacktoberfest2021_beginner
56b008c9ed294c3fc23b44fa13faced99948236d
[ "MIT" ]
210
2021-10-01T07:02:39.000Z
2022-03-27T17:41:00.000Z
# 9. Write a Python program to get a string which is n (non-negative integer) copies of a given string str = input('Enter any String value: ') num = int(input('Enter the number of copies you want of the string: ')) final = '' for i in range(num): final = final + str print(final)
29.9
104
0.662207
50
299
3.96
0.68
0.10101
0
0
0
0
0
0
0
0
0
0.004405
0.240803
299
9
105
33.222222
0.867841
0.334448
0
0
0
0
0.417112
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
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
3413c44b880bddcf7e0378db06183b833d5bd76e
4,005
py
Python
tests/dsl/test_node_output_usage.py
raztud/dagger
7b394138c139e3b4fdf228e3d34359f1ae6bdd7a
[ "Apache-2.0" ]
9
2021-09-06T14:22:38.000Z
2022-02-08T07:48:39.000Z
tests/dsl/test_node_output_usage.py
raztud/dagger
7b394138c139e3b4fdf228e3d34359f1ae6bdd7a
[ "Apache-2.0" ]
36
2021-09-04T06:20:19.000Z
2021-12-26T17:54:59.000Z
tests/dsl/test_node_output_usage.py
raztud/dagger
7b394138c139e3b4fdf228e3d34359f1ae6bdd7a
[ "Apache-2.0" ]
4
2021-09-06T08:07:19.000Z
2021-10-18T19:13:18.000Z
from typing import Iterable import pytest from dagger.dsl.node_output_key_usage import NodeOutputKeyUsage from dagger.dsl.node_output_partition_usage import NodeOutputPartitionUsage from dagger.dsl.node_output_property_usage import NodeOutputPropertyUsage from dagger.dsl.node_output_reference import NodeOutputReferen...
32.04
190
0.716105
431
4,005
6.324826
0.227378
0.055026
0.071533
0.102715
0.629127
0.485693
0.352164
0.242113
0.242113
0.156273
0
0
0.203745
4,005
124
191
32.298387
0.854813
0.053683
0
0.402174
0
0.01087
0.071882
0.008457
0
0
0
0
0.23913
1
0.097826
false
0
0.097826
0
0.195652
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
3415b7b36fe73ac8e78b9b0821b2a77617ee2095
581
py
Python
jupyter_geppetto/handlers.py
sanjayankur31/org.geppetto.frontend.jupyter
1ddaa59fa115df47b1f01ca287a0029619ff7e8e
[ "MIT" ]
4
2018-05-06T05:53:29.000Z
2021-03-06T16:28:15.000Z
jupyter-geppetto/jupyter_geppetto/handlers.py
MetaCell/geppetto-meta
1c73ad040de2c3b81b3514dbb8126237662f6c11
[ "MIT" ]
237
2021-03-17T09:40:17.000Z
2022-03-30T11:09:44.000Z
jupyter-geppetto/jupyter_geppetto/handlers.py
MetaCell/geppetto-meta
1c73ad040de2c3b81b3514dbb8126237662f6c11
[ "MIT" ]
4
2016-11-08T17:12:33.000Z
2021-04-13T11:07:27.000Z
import logging from jupyter_geppetto.service import PathService from .settings import template_path, home_page from .webapi import get class GeppettoController: @get('/geppettoprojects') def getProjects(self, **kwargs): # TODO still no project handling here. return {} @get(home_page) ...
24.208333
73
0.662651
63
581
6
0.666667
0.063492
0
0
0
0
0
0
0
0
0
0
0.258176
581
23
74
25.26087
0.87703
0.061962
0
0
0
0
0.093923
0
0
0
0
0.043478
0
1
0.125
false
0
0.25
0.0625
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
2
341602762a0cb9dc649cd65f83da67b871866977
979
py
Python
ut/ut_someip_sd.py
User65k/eth-scapy-someip
4c6ccb29de6e4c0790df912daae1d94c2642c32a
[ "MIT" ]
null
null
null
ut/ut_someip_sd.py
User65k/eth-scapy-someip
4c6ccb29de6e4c0790df912daae1d94c2642c32a
[ "MIT" ]
null
null
null
ut/ut_someip_sd.py
User65k/eth-scapy-someip
4c6ccb29de6e4c0790df912daae1d94c2642c32a
[ "MIT" ]
null
null
null
import unittest import sys import ctypes import struct import binascii sys.path.append('.') from eth_scapy_someip import eth_scapy_someip as someip from eth_scapy_someip import eth_scapy_sd as sd class ut_someip_sd(unittest.TestCase): def setUp(self): pass def tearDown(self): pass def test_00_SOMEIPSD(...
27.971429
82
0.713994
153
979
4.379085
0.431373
0.026866
0.062687
0.044776
0.229851
0.229851
0.229851
0.134328
0.134328
0.134328
0
0.020732
0.162411
979
34
83
28.794118
0.796341
0.154239
0
0.16
0
0
0.015777
0
0
0
0
0
0.16
1
0.12
false
0.08
0.28
0
0.44
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
341849ca4ff92816697b83c9176a8ba030d1dee6
274
py
Python
Lab6-Networks-Graphs/solutions/ex1_1.py
computational-medicine/BMED360-2021
2c6052b9affedf1fee23c89d23941bf08eb2614c
[ "MIT" ]
2
2021-04-19T23:22:17.000Z
2021-04-20T14:04:58.000Z
Lab6-Networks-Graphs/solutions/ex1_1.py
computational-medicine/BMED360-2021
2c6052b9affedf1fee23c89d23941bf08eb2614c
[ "MIT" ]
null
null
null
Lab6-Networks-Graphs/solutions/ex1_1.py
computational-medicine/BMED360-2021
2c6052b9affedf1fee23c89d23941bf08eb2614c
[ "MIT" ]
null
null
null
labels = {0:'A', 1:'B', 2:'C', 3:'D', 4:'E'} A = np.array([ [0., 1., 0., 1., 0.], [0., 0., 0., 0., 0.], [1., 0., 0., 0., 0.], [0., 0., 1., 0., 1.], [0., 0., 0., 0., 0.]]) print(f' A =\n {A}, \n A^T =\n {A.T}') print(f'labels: {labels}')
22.833333
44
0.29927
54
274
1.518519
0.314815
0.341463
0.402439
0.390244
0.304878
0.304878
0.304878
0.304878
0.304878
0.207317
0
0.15625
0.29927
274
11
45
24.909091
0.270833
0
0
0
0
0
0.178832
0
0
0
0
0
0
1
0
false
0
0
0
0
0.222222
0
0
1
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
34185c06367bb86539eebeda47f7b80a58372f97
1,087
py
Python
Easy/20.ValidParentheses(BruteForce).py
YuriSpiridonov/LeetCode
2dfcc9c71466ffa2ebc1c89e461ddfca92e2e781
[ "MIT" ]
39
2020-07-04T11:15:13.000Z
2022-02-04T22:33:42.000Z
Easy/20.ValidParentheses(BruteForce).py
YuriSpiridonov/LeetCode
2dfcc9c71466ffa2ebc1c89e461ddfca92e2e781
[ "MIT" ]
1
2020-07-15T11:53:37.000Z
2020-07-15T11:53:37.000Z
Easy/20.ValidParentheses(BruteForce).py
YuriSpiridonov/LeetCode
2dfcc9c71466ffa2ebc1c89e461ddfca92e2e781
[ "MIT" ]
20
2020-07-14T19:12:53.000Z
2022-03-02T06:28:17.000Z
""" Given a string containing just the characters '(', ')', '{', '}', '[', ']', determine if the input string is valid. An input string is valid if: 1. Open brackets must be closed by the same type of brackets. 2. Open brackets must be closed in the correct order. Note that an empty s...
27.871795
91
0.542778
147
1,087
4.013605
0.517007
0.023729
0.020339
0.061017
0.250847
0.152542
0.152542
0
0
0
0
0.044755
0.342226
1,087
38
92
28.605263
0.78042
0.565777
0
0.125
0
0
0.014184
0
0
0
0
0
0
1
0.0625
false
0
0
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
3418885ff886036c8a295388d13bf8abdea5e1d4
4,405
py
Python
src/pfmsoft/util/collection/misc.py
DonalChilde/Pfm-Util
6be95278e61d3007da193742e089ea2ae7faa190
[ "MIT" ]
1
2021-09-25T22:03:01.000Z
2021-09-25T22:03:01.000Z
src/pfmsoft/util/collection/misc.py
DonalChilde/Pfm-Util
6be95278e61d3007da193742e089ea2ae7faa190
[ "MIT" ]
null
null
null
src/pfmsoft/util/collection/misc.py
DonalChilde/Pfm-Util
6be95278e61d3007da193742e089ea2ae7faa190
[ "MIT" ]
null
null
null
import logging from itertools import chain, islice, repeat from typing import Callable, Iterator, TypeVar, Union #### setting up logger #### logger = logging.getLogger(__name__) logger.addHandler(logging.NullHandler()) T = TypeVar("T") def optional_object( argument: Union[None, T], object_factory: Callable[...,...
34.685039
122
0.631555
603
4,405
4.490879
0.295191
0.044313
0.029911
0.036558
0.134047
0.069793
0.041728
0.008124
0.008124
0.008124
0
0.033222
0.255165
4,405
126
123
34.960317
0.792137
0.630874
0
0
0
0
0.114836
0.017832
0
0
0
0.007937
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
3419940201b190d163c1916d0f6f399eb96f956f
782
py
Python
torchtext_th/data/sentence.py
phiradet/torchtext-th
6dd795cbe712998ac175d6f2dd4cbfa40d227bdf
[ "MIT" ]
3
2019-06-14T23:19:34.000Z
2021-07-08T08:28:25.000Z
torchtext_th/data/sentence.py
phiradet/torchtext-th
6dd795cbe712998ac175d6f2dd4cbfa40d227bdf
[ "MIT" ]
3
2019-06-12T09:16:01.000Z
2019-06-20T14:30:39.000Z
torchtext_th/data/sentence.py
phiradet/torchtext-th
6dd795cbe712998ac175d6f2dd4cbfa40d227bdf
[ "MIT" ]
null
null
null
from typing import Iterator from itertools import chain from torchtext_th.data.token import Token class Sentence(object): def __init__(self, raw_sentence: str, delim: str = "|") -> None: self.delim = delim self.tokens = [] for t in raw_sentence.strip().split(delim): if len(t)...
28.962963
78
0.641944
114
782
4.184211
0.359649
0.125786
0.050314
0.062893
0.268344
0.234801
0.155136
0.155136
0
0
0
0.001678
0.237852
782
26
79
30.076923
0.798658
0
0
0
0
0
0.001279
0
0
0
0
0
0
1
0.277778
false
0
0.166667
0.222222
0.722222
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
341aa3e5d70ee31bca27c0594c0a8f6f2bfb805c
8,884
py
Python
qframer/fmainwindow.py
dragondjf/QMarkdowner
fc79c85ca2949fa9ce3b317606ad7bbcd1299960
[ "MIT" ]
115
2015-01-02T12:23:59.000Z
2021-12-22T08:18:04.000Z
qframer/fmainwindow.py
dragondjf/QMarkdowner
fc79c85ca2949fa9ce3b317606ad7bbcd1299960
[ "MIT" ]
1
2017-01-12T09:10:46.000Z
2017-01-12T09:10:46.000Z
qframer/fmainwindow.py
dragondjf/QMarkdowner
fc79c85ca2949fa9ce3b317606ad7bbcd1299960
[ "MIT" ]
69
2015-03-12T07:40:21.000Z
2020-04-04T15:15:55.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- from .qt.QtCore import * from .qt.QtGui import * from .ftitlebar import FTitleBar from .fstatusbar import FStatusBar class FMainWindow(QMainWindow): sizeChanged = Signal() def __init__(self): super(FMainWindow, self).__init__() self._initFlags() ...
32.188406
77
0.593426
820
8,884
6.353659
0.236585
0.025336
0.023033
0.016699
0.128599
0.080614
0.059501
0.059501
0.059501
0
0
0.003904
0.307969
8,884
275
78
32.305455
0.843526
0.053354
0
0.228972
0
0
0.004053
0
0
0
0
0
0
1
0.149533
false
0.028037
0.018692
0.018692
0.219626
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