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
d33d11247d061e7ccfc35cffc890e5eb82902094
12,708
py
Python
tests/test_dataset_roll.py
Ouranosinc/clisops
d78c127e07503877ae87c40e3548146fb06258ff
[ "BSD-3-Clause" ]
18
2020-05-19T21:22:37.000Z
2022-02-04T08:10:21.000Z
tests/test_dataset_roll.py
Ouranosinc/clisops
d78c127e07503877ae87c40e3548146fb06258ff
[ "BSD-3-Clause" ]
166
2020-04-22T11:04:57.000Z
2022-03-31T11:14:21.000Z
tests/test_dataset_roll.py
Ouranosinc/clisops
d78c127e07503877ae87c40e3548146fb06258ff
[ "BSD-3-Clause" ]
6
2020-04-02T14:30:21.000Z
2021-12-04T03:51:12.000Z
""" Test the different methods of transforming the longitude coordinates after rolling""" import numpy as np # calculate the offset in the same way as in dataset_utils def calculate_offset(a, bounds): low, high = bounds # get resolution of data res = a[1] - a[0] # calculate how many degrees to move ...
34.721311
101
0.633695
1,970
12,708
3.878173
0.048731
0.095288
0.127618
0.117801
0.911518
0.906806
0.896597
0.890052
0.887565
0.880628
0
0.080885
0.239219
12,708
365
102
34.816438
0.70935
0.142037
0
0.897196
0
0
0
0
0
0
0
0
0.196262
1
0.130841
false
0
0.004673
0
0.172897
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
d340c2f9f33daa88e8949aa4fa874217c0b4853c
365
py
Python
mmdet/datasets/my_dataset.py
jingwoo4710/mmdetection-icevision
da82741b29fdd1eb77b4e7483ff2a515d43d1760
[ "Apache-2.0" ]
null
null
null
mmdet/datasets/my_dataset.py
jingwoo4710/mmdetection-icevision
da82741b29fdd1eb77b4e7483ff2a515d43d1760
[ "Apache-2.0" ]
null
null
null
mmdet/datasets/my_dataset.py
jingwoo4710/mmdetection-icevision
da82741b29fdd1eb77b4e7483ff2a515d43d1760
[ "Apache-2.0" ]
null
null
null
from .coco import CocoDataset from .registry import DATASETS @DATASETS.register_module class MyDataset(CocoDataset): CLASSES = ('car', 'pedestrian', 'trafficLight-Red', 'trafficLight-Green', 'truck', 'trafficLight', 'biker', 'trafficLight-RedLeft', 'trafficLight-GreenLeft' , 'traf...
33.181818
89
0.693151
32
365
7.875
0.6875
0
0
0
0
0
0
0
0
0
0
0
0.175342
365
10
90
36.5
0.837209
0
0
0
0
0
0.419178
0.123288
0
0
0
0
0
1
0
false
0
0.285714
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d341d1b5c222b98c304207eceab77df2f46ba797
52
py
Python
word2vec/models/__init__.py
dimipauls/word2vec-playground
228b9f8a37a785a8538c994dc3d0bef4dffacf2b
[ "MIT" ]
1
2019-04-27T19:40:28.000Z
2019-04-27T19:40:28.000Z
word2vec/models/__init__.py
dimipauls/word2vec-playground
228b9f8a37a785a8538c994dc3d0bef4dffacf2b
[ "MIT" ]
null
null
null
word2vec/models/__init__.py
dimipauls/word2vec-playground
228b9f8a37a785a8538c994dc3d0bef4dffacf2b
[ "MIT" ]
null
null
null
from word2vec.models.skip_gram import SkipGramModel
26
51
0.884615
7
52
6.428571
1
0
0
0
0
0
0
0
0
0
0
0.020833
0.076923
52
1
52
52
0.916667
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
d34286269400aa25ffc4c5c20ffc4d7826caf90e
7,659
py
Python
mqtt_pi0_client/pi0_main.py
hengying/mqtt_at_home
ed1cc5dd0a57cc46e57ec5edeb48ae1d019ebae5
[ "BSD-3-Clause" ]
null
null
null
mqtt_pi0_client/pi0_main.py
hengying/mqtt_at_home
ed1cc5dd0a57cc46e57ec5edeb48ae1d019ebae5
[ "BSD-3-Clause" ]
null
null
null
mqtt_pi0_client/pi0_main.py
hengying/mqtt_at_home
ed1cc5dd0a57cc46e57ec5edeb48ae1d019ebae5
[ "BSD-3-Clause" ]
null
null
null
import os import time from queue import Queue from PIL import Image, ImageDraw, ImageFont from button_enum import ButtonType from event import * from config import Config ROW_HEIGHT = 16 class App(): def __init__(self): self._input_devices = [] self._subsystems = [] self._layers = [] ...
33.445415
141
0.592375
858
7,659
4.904429
0.189977
0.019962
0.040637
0.029943
0.27424
0.223384
0.173954
0.153517
0.118346
0.096958
0
0.01063
0.324455
7,659
228
142
33.592105
0.802667
0.003656
0
0.196721
0
0
0.014683
0
0
0
0
0
0
1
0.10929
false
0
0.087432
0.04918
0.262295
0.032787
0
0
0
null
0
0
0
0
0
0
0
0
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
d3443a482a767fc4c1af1d31c45a7e7fe38149c7
15,895
py
Python
test_bank/borrowing/tests/test_views.py
Ursidours/django-tech-test
a96e1d73c9221458ca68b999d817881863a60584
[ "BSD-3-Clause" ]
1
2021-11-13T01:30:30.000Z
2021-11-13T01:30:30.000Z
test_bank/borrowing/tests/test_views.py
arnaudblois/django-tech-test
a96e1d73c9221458ca68b999d817881863a60584
[ "BSD-3-Clause" ]
null
null
null
test_bank/borrowing/tests/test_views.py
arnaudblois/django-tech-test
a96e1d73c9221458ca68b999d817881863a60584
[ "BSD-3-Clause" ]
null
null
null
from django.test import RequestFactory from test_plus.test import TestCase from django.test.client import Client from django.core.urlresolvers import reverse from test_bank.users.tests.factories import UserFactory from .factories import BorrowerProfileFactory, BusinessFactory, LoanFactory from decimal import Decimal ...
33.533755
106
0.612394
1,708
15,895
5.552108
0.144614
0.026574
0.034061
0.039755
0.64062
0.585891
0.558579
0.523358
0.469577
0.432247
0
0.018441
0.259704
15,895
473
107
33.604651
0.787456
0.166342
0
0.489726
0
0
0.09146
0.039197
0
0
0
0
0.130137
1
0.164384
false
0.013699
0.034247
0
0.232877
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
d3484c8e71b0aac92d6811446f538aa49bf4b1e6
1,295
py
Python
lib/Sh.py
ldimaggi/acceptance-testing
abdb317b28dbb36b01d33da9479270b0073ba5be
[ "Apache-2.0" ]
null
null
null
lib/Sh.py
ldimaggi/acceptance-testing
abdb317b28dbb36b01d33da9479270b0073ba5be
[ "Apache-2.0" ]
9
2020-05-28T10:14:40.000Z
2021-01-12T14:43:05.000Z
lib/Sh.py
ldimaggi/acceptance-testing
abdb317b28dbb36b01d33da9479270b0073ba5be
[ "Apache-2.0" ]
1
2020-04-30T10:21:16.000Z
2020-04-30T10:21:16.000Z
# # Copyright The Helm Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
28.152174
74
0.683398
185
1,295
4.67027
0.486486
0.069444
0.038194
0.048611
0.085648
0.085648
0.085648
0.085648
0.085648
0
0
0.006098
0.240154
1,295
45
75
28.777778
0.871951
0.423938
0
0.25
0
0
0.010944
0
0
0
0
0
0
1
0.208333
false
0.041667
0.125
0
0.458333
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
d348ebf257f01cb7e7e5f086b73340fc0a6871a3
164
py
Python
stringfox/__init__.py
machinelearningdeveloper/stringfox
b48c158406fc158704da6e65ee4b55a09192fece
[ "MIT" ]
null
null
null
stringfox/__init__.py
machinelearningdeveloper/stringfox
b48c158406fc158704da6e65ee4b55a09192fece
[ "MIT" ]
null
null
null
stringfox/__init__.py
machinelearningdeveloper/stringfox
b48c158406fc158704da6e65ee4b55a09192fece
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Top-level package for String Fox.""" __author__ = """Tom Lynch""" __email__ = 'tom@machinelearningdeveloper.com' __version__ = '0.1.0'
20.5
46
0.658537
20
164
4.8
0.9
0
0
0
0
0
0
0
0
0
0
0.028169
0.134146
164
7
47
23.428571
0.647887
0.341463
0
0
0
0
0.45098
0.313725
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d34a58117f94c2bbad5c3b0f79aa06165ee56d40
398
py
Python
Ex0108/moeda.py
Rodrigo-Antonio-Silva/ExerciciosPythonCursoemVideo
3b2d68094dd5d60f0e45a75590eb2be9be030640
[ "MIT" ]
null
null
null
Ex0108/moeda.py
Rodrigo-Antonio-Silva/ExerciciosPythonCursoemVideo
3b2d68094dd5d60f0e45a75590eb2be9be030640
[ "MIT" ]
null
null
null
Ex0108/moeda.py
Rodrigo-Antonio-Silva/ExerciciosPythonCursoemVideo
3b2d68094dd5d60f0e45a75590eb2be9be030640
[ "MIT" ]
null
null
null
def metade(x=0): x = x / 2 return x def dobro(x=0): x = x * 2 return x def aumentar(x=0, i=0): x = x * (1+(i/100)) return x def diminuir(x=0, i=0): x = x * (1-(i/100)) return x def moeda(x=0, moeda='R$ '): x = f'{x:,.2f}' x = x.replace('.', '-') x = x.repl...
13.266667
31
0.40201
67
398
2.38806
0.253731
0.0875
0.075
0.05
0.61875
0.61875
0.45
0.45
0.2625
0.2625
0
0.070313
0.356784
398
29
32
13.724138
0.554688
0
0
0.222222
0
0
0.068354
0
0
0
0
0
0
1
0.277778
false
0
0
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
d34bf9dadda6e3b8a530d372c58b2f396d11b505
1,634
py
Python
util/canvas_api_extension.py
Person314159/cs221bot
ac1c768c08105d094d830b1a7cefae3492b2f76e
[ "Unlicense" ]
33
2020-10-03T05:33:19.000Z
2022-03-26T13:03:51.000Z
util/canvas_api_extension.py
Person314159/cs221bot
ac1c768c08105d094d830b1a7cefae3492b2f76e
[ "Unlicense" ]
2
2020-10-21T04:22:13.000Z
2020-10-23T01:21:42.000Z
util/canvas_api_extension.py
Person314159/cs221bot
ac1c768c08105d094d830b1a7cefae3492b2f76e
[ "Unlicense" ]
6
2020-10-08T03:07:49.000Z
2021-02-14T04:40:50.000Z
from canvasapi.course import Course from canvasapi.requester import Requester from canvasapi.util import combine_kwargs, get_institution_url def get_course_stream(course_id: int, base_url: str, access_token: str, **kwargs: dict) -> dict: """ Parameters ---------- course_id : `int` Course id ...
22.383562
96
0.618115
206
1,634
4.703884
0.296117
0.086687
0.04128
0.03096
0.163055
0.163055
0.163055
0.099071
0.099071
0.099071
0
0
0.262546
1,634
72
97
22.694444
0.804149
0.354957
0
0.1
0
0
0.085556
0.072222
0
0
0
0
0
1
0.15
false
0
0.15
0
0.45
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
d34e67cf20eff8898bbfe5d4cd62cab743664e32
778
py
Python
music_generator/score_to_midi.py
wonsjb/MusicGenerator
98290721227a6c69bcd186d02c4492b0e4e9fbe1
[ "Apache-2.0" ]
null
null
null
music_generator/score_to_midi.py
wonsjb/MusicGenerator
98290721227a6c69bcd186d02c4492b0e4e9fbe1
[ "Apache-2.0" ]
null
null
null
music_generator/score_to_midi.py
wonsjb/MusicGenerator
98290721227a6c69bcd186d02c4492b0e4e9fbe1
[ "Apache-2.0" ]
1
2019-04-08T09:39:58.000Z
2019-04-08T09:39:58.000Z
import mido import pickle from tqdm import tqdm from music_generator.score_util import score_to_events def save_events(track, events): current_time = 0 for this_time in tqdm(sorted(events), "Writing midi events"): sleep_time = this_time - current_time current_time = this_time for msg i...
25.096774
65
0.694087
113
778
4.495575
0.300885
0.062992
0.051181
0.059055
0.090551
0.090551
0
0
0
0
0
0.003306
0.222365
778
30
66
25.933333
0.836364
0
0
0
0
0
0.024422
0
0
0
0
0
0
1
0.130435
false
0
0.173913
0
0.304348
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
d34eb3b9e813d06c380919c0a1a3b281d94e684d
1,791
py
Python
examples/simplelogin/routes/auth.py
mekarpeles/waltz
b5cbf1bc57b1fff0be34559b7d88d2da960bad45
[ "BSD-3-Clause" ]
null
null
null
examples/simplelogin/routes/auth.py
mekarpeles/waltz
b5cbf1bc57b1fff0be34559b7d88d2da960bad45
[ "BSD-3-Clause" ]
null
null
null
examples/simplelogin/routes/auth.py
mekarpeles/waltz
b5cbf1bc57b1fff0be34559b7d88d2da960bad45
[ "BSD-3-Clause" ]
null
null
null
#-*- coding: utf-8 -*- """ routes.auth ~~~~~~~~~~~ Routes for handling authentication (login, register, logout) :copyright: (c) Authentication Dance by Waltz. :license: GPLv3, see LICENSE for more details. """ import waltz from waltz import User, web, session, render class Login: def GET(se...
29.85
78
0.546064
207
1,791
4.705314
0.333333
0.043121
0.045175
0.065708
0.409651
0.392197
0.392197
0.392197
0.392197
0.392197
0
0.002408
0.304299
1,791
59
79
30.355932
0.779294
0.133445
0
0.487805
0
0
0.092166
0
0
0
0
0
0
1
0.121951
false
0.097561
0.04878
0.02439
0.414634
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
d352ebd61908d0718bc5d5e76a95055fb7b7c033
2,186
py
Python
src/choropleths/models.py
unt-libraries/texas-choropleth
ccc3cdddd94fe5ec49e0a547c805c62a066bd66e
[ "BSD-3-Clause" ]
1
2018-12-10T02:37:29.000Z
2018-12-10T02:37:29.000Z
src/choropleths/models.py
unt-libraries/texas-choropleth
ccc3cdddd94fe5ec49e0a547c805c62a066bd66e
[ "BSD-3-Clause" ]
21
2015-01-23T06:51:45.000Z
2018-10-10T20:27:55.000Z
src/choropleths/models.py
unt-libraries/texas-choropleth
ccc3cdddd94fe5ec49e0a547c805c62a066bd66e
[ "BSD-3-Clause" ]
1
2015-10-01T00:33:44.000Z
2015-10-01T00:33:44.000Z
from django.db import models from django.contrib.auth.models import User from datasets.models import Dataset, PublishedMixin, SCALE_CHOICES SCHEME_CHOICES = ( (1, 'Sequential'), (2, 'Diverging'), (3, 'Qualitative'), ) class AbstractModel(models.Model): status = models.BooleanField(default=False) ...
26.02381
77
0.661482
242
2,186
5.842975
0.367769
0.028289
0.042433
0.050919
0.273692
0.178218
0.055163
0.055163
0
0
0
0.004884
0.250686
2,186
83
78
26.337349
0.858364
0.121683
0
0.148148
0
0
0.032859
0
0
0
0
0
0
1
0.092593
false
0
0.055556
0.037037
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
0
0
1
0
0
1
d353c934ca928318effca3f051fbfeebb0b2a302
103
py
Python
measures/apps.py
uktrade/tamato
4ba2ffb25eea2887e4e081c81da7634cd7b4f9ca
[ "MIT" ]
14
2020-03-25T11:11:29.000Z
2022-03-08T20:41:33.000Z
measures/apps.py
uktrade/tamato
4ba2ffb25eea2887e4e081c81da7634cd7b4f9ca
[ "MIT" ]
352
2020-03-25T10:42:09.000Z
2022-03-30T15:32:26.000Z
measures/apps.py
uktrade/tamato
4ba2ffb25eea2887e4e081c81da7634cd7b4f9ca
[ "MIT" ]
3
2020-08-06T12:22:41.000Z
2022-01-16T11:51:12.000Z
from common.app_config import CommonConfig class MeasuresConfig(CommonConfig): name = "measures"
17.166667
42
0.786408
11
103
7.272727
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.145631
103
5
43
20.6
0.909091
0
0
0
0
0
0.07767
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
d3580ed4695bebcfc2891b5c39c7a502e5bced9b
2,083
py
Python
Ch6/lle.py
jason-168/MLCode
429c17e004fb41ba16c371416c8f73833ab8fc1d
[ "Xnet", "X11" ]
146
2016-05-24T02:55:53.000Z
2022-03-23T14:54:42.000Z
Ch6/lle.py
coky/MarslandMLAlgo
4277b24db88c4cb70d6b249921c5d21bc8f86eb4
[ "Xnet", "X11" ]
1
2017-08-17T23:07:39.000Z
2017-08-18T08:27:19.000Z
Ch6/lle.py
coky/MarslandMLAlgo
4277b24db88c4cb70d6b249921c5d21bc8f86eb4
[ "Xnet", "X11" ]
94
2016-05-06T12:34:33.000Z
2022-03-30T03:31:04.000Z
# Code from Chapter 6 of Machine Learning: An Algorithmic Perspective (2nd Edition) # by Stephen Marsland (http://stephenmonika.net) # You are free to use, change, or redistribute the code in any way you wish for # non-commercial purposes, but please maintain the name of the original author. # This code comes with no...
27.407895
83
0.62794
408
2,083
3.205882
0.35049
0.058869
0.009174
0.025229
0.108563
0.074924
0.047401
0.047401
0
0
0
0.027539
0.163226
2,083
75
84
27.773333
0.722892
0.264042
0
0.061224
0
0
0.001972
0
0
0
0
0
0
1
0.040816
false
0
0.040816
0
0.122449
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
d35834e4ac51677b11ebf3a3403d9007c865a7d7
69
py
Python
pymiddy/__init__.py
godvsdeity/pymiddy
5126110a3f9e673f062e4248301796b5de10507d
[ "MIT" ]
1
2021-01-15T06:17:50.000Z
2021-01-15T06:17:50.000Z
pymiddy/__init__.py
godvsdeity/pymiddy
5126110a3f9e673f062e4248301796b5de10507d
[ "MIT" ]
null
null
null
pymiddy/__init__.py
godvsdeity/pymiddy
5126110a3f9e673f062e4248301796b5de10507d
[ "MIT" ]
null
null
null
__name__ = 'pymiddy' __version__ = '0.1.0' from .middy import Middy
13.8
24
0.710145
10
69
4.1
0.8
0
0
0
0
0
0
0
0
0
0
0.051724
0.15942
69
4
25
17.25
0.655172
0
0
0
0
0
0.173913
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
d3591775c7b698ed72a3fd1c68e5a61ee0d47bde
1,904
py
Python
tests/functional/test_session.py
Andrew-Wichmann/pytest-localstack
83ac2a5e39eb23cad402a3fcdaefd76db903168d
[ "MIT" ]
63
2018-03-14T18:47:06.000Z
2022-02-01T20:42:27.000Z
tests/functional/test_session.py
Andrew-Wichmann/pytest-localstack
83ac2a5e39eb23cad402a3fcdaefd76db903168d
[ "MIT" ]
43
2018-03-06T22:37:32.000Z
2022-02-25T21:42:21.000Z
tests/functional/test_session.py
Andrew-Wichmann/pytest-localstack
83ac2a5e39eb23cad402a3fcdaefd76db903168d
[ "MIT" ]
23
2018-05-29T14:03:30.000Z
2021-12-14T20:21:40.000Z
"""Functional tests for pytest_localstack.session.""" import pytest from pytest_localstack import constants, exceptions, service_checks, session @pytest.mark.parametrize("test_service", sorted(constants.SERVICE_PORTS)) def test_RunningSession_individual_services(test_service, docker_client): localstack_imagename...
41.391304
85
0.686975
199
1,904
6.276382
0.296482
0.08807
0.060849
0.040032
0.522018
0.522018
0.456365
0.456365
0.456365
0.456365
0
0.005483
0.233718
1,904
45
86
42.311111
0.850583
0.048319
0
0.432432
0
0
0.042199
0.015547
0
0
0
0
0
1
0.054054
false
0
0.054054
0
0.108108
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
d35a738b7eea5737405cf7a351e38faa5ee30171
1,410
py
Python
07-dash/src/__init__.py
dushyantkhosla/dataviz
05a004a390d180d87be2d09873c3f7283c2a2e27
[ "MIT" ]
null
null
null
07-dash/src/__init__.py
dushyantkhosla/dataviz
05a004a390d180d87be2d09873c3f7283c2a2e27
[ "MIT" ]
2
2021-03-25T22:11:43.000Z
2022-03-02T22:43:47.000Z
07-dash/src/__init__.py
dushyantkhosla/viz4ds
05a004a390d180d87be2d09873c3f7283c2a2e27
[ "MIT" ]
null
null
null
list_markets = [ 'japan', 'portugal', 'russia', 'switzerland', 'romania', 'italy', 'ukraine', 'germany', 'monaco', 'denmark', 'netherlands', 'greece', 'spain', 'uk', 'israel', 'new-zealand', 'kazakhstan', 'canada', 'south-africa', 'lithuania', 'colombia', 'poland', 'turkish-cyprus', 'france', 'czech...
27.115385
72
0.500709
132
1,410
5.318182
0.651515
0.02849
0
0
0
0
0
0
0
0
0
0
0.249645
1,410
51
73
27.647059
0.663516
0
0
0
0
0
0.485816
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
d35cd6f2e8a4bf94cbcb50a1a3913349d797b8bf
78
py
Python
src/sage/cpython/all.py
fchapoton/sage
765c5cb3e24dd134708eca97e4c52e0221cd94ba
[ "BSL-1.0" ]
1,742
2015-01-04T07:06:13.000Z
2022-03-30T11:32:52.000Z
src/sage/cpython/all.py
Ivo-Maffei/sage
467fbc70a08b552b3de33d9065204ee9cbfb02c7
[ "BSL-1.0" ]
66
2015-03-19T19:17:24.000Z
2022-03-16T11:59:30.000Z
src/sage/cpython/all.py
dimpase/sage
468f23815ade42a2192b0a9cd378de8fdc594dcd
[ "BSL-1.0" ]
495
2015-01-10T10:23:18.000Z
2022-03-24T22:06:11.000Z
from .debug import getattr_debug, type_debug from .getattr import raw_getattr
26
44
0.846154
12
78
5.25
0.5
0
0
0
0
0
0
0
0
0
0
0
0.115385
78
2
45
39
0.913043
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
d35daef25397aae02fca1e7c5ccdd6b6b3650e3b
4,530
py
Python
seed_services_cli/identity_store.py
praekeltfoundation/seed-services-cli
943fca5e70be086d4f29fd580103d7647a81f99a
[ "BSD-3-Clause" ]
null
null
null
seed_services_cli/identity_store.py
praekeltfoundation/seed-services-cli
943fca5e70be086d4f29fd580103d7647a81f99a
[ "BSD-3-Clause" ]
null
null
null
seed_services_cli/identity_store.py
praekeltfoundation/seed-services-cli
943fca5e70be086d4f29fd580103d7647a81f99a
[ "BSD-3-Clause" ]
null
null
null
import click import json import csv import sys from seed_services_client.identity_store import IdentityStoreApiClient from demands import HTTPServiceError if sys.version_info.major == 2: file_open_mode = 'rb' else: file_open_mode = 'r' def get_api_client(url, token): return IdentityStoreApiClient( ...
30.608108
77
0.608389
537
4,530
4.970205
0.242086
0.048707
0.041963
0.05695
0.282503
0.180967
0.180967
0.170101
0.170101
0.104159
0
0.003637
0.271744
4,530
147
78
30.816327
0.805396
0.036424
0
0.241379
0
0
0.178341
0
0
0
0
0
0
1
0.060345
false
0.034483
0.068966
0.008621
0.137931
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
d361a7c5bfc3b1ebc7879ad5a842156f10a0efba
1,278
py
Python
source/build.py
rclayton-the-terrible/Ansible-OpenSSL
2e95c43911b4c2cd8cc82d42f120fd6bd4e36931
[ "MIT" ]
29
2015-01-22T15:31:37.000Z
2021-07-14T02:46:53.000Z
source/build.py
berico-rclayton/Ansible-OpenSSL
2e95c43911b4c2cd8cc82d42f120fd6bd4e36931
[ "MIT" ]
5
2015-01-21T22:30:00.000Z
2016-07-12T22:55:54.000Z
source/build.py
berico-rclayton/Ansible-OpenSSL
2e95c43911b4c2cd8cc82d42f120fd6bd4e36931
[ "MIT" ]
12
2015-02-13T07:59:18.000Z
2022-01-24T09:13:28.000Z
import os, shutil BUILD_DIR = "../dist" FILES_TO_BUILD = [ { "file": "ca", "module": "ca_module.py", "library": "ca.py", "import": "from ca import CA" }, { "file": "certificate", "module": "certificate_module.py", "library": "certificate.py", "import": "from certificate import Certificate" }, { "file": "k...
38.727273
143
0.694836
155
1,278
5.548387
0.329032
0.081395
0.052326
0.04186
0.048837
0
0
0
0
0
0
0.000925
0.154147
1,278
32
144
39.9375
0.794635
0
0
0
0
0
0.238654
0.016432
0
0
0
0
0
0
null
null
0
0.269231
null
null
0.038462
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d362e720bb3d218affebcec43cea8d2928edf0c3
7,899
py
Python
executables/plot_cands.py
UCBerkeleySETI/blipss
dba5c6724701abcc95b59aa016adf2582ecc69f3
[ "MIT" ]
null
null
null
executables/plot_cands.py
UCBerkeleySETI/blipss
dba5c6724701abcc95b59aa016adf2582ecc69f3
[ "MIT" ]
null
null
null
executables/plot_cands.py
UCBerkeleySETI/blipss
dba5c6724701abcc95b59aa016adf2582ecc69f3
[ "MIT" ]
null
null
null
#!/usr/bin/env python ''' Plot candidate verification plots including periodograms, average pulse profiles and phase-time diagrams. Run using the following syntax. python plot_cands.py -i <Configuration script of inputs> | tee <Log file> ''' from __future__ import print_function from __future__ import absolute_import ...
41.356021
138
0.622484
960
7,899
4.948958
0.275
0.032414
0.007577
0.017049
0.055567
0
0
0
0
0
0
0.008901
0.217749
7,899
190
139
41.573684
0.759994
0.251551
0
0
0
0
0.163165
0
0
0
0
0
0
1
0.026087
false
0
0.095652
0
0.130435
0.06087
0
0
0
null
0
0
0
0
0
0
0
0
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
d363c2f764722f8256c8d75fcbfe318c21740559
401
py
Python
ignore.py
VolVox99/Paraphrasing-Tool
2ef59d23a06ed1d1f3e9f88c23e95aa9e6e1c9a8
[ "MIT" ]
3
2021-02-17T03:22:35.000Z
2021-12-08T04:54:32.000Z
ignore.py
VolVox99/Paraphrasing-Tool
2ef59d23a06ed1d1f3e9f88c23e95aa9e6e1c9a8
[ "MIT" ]
null
null
null
ignore.py
VolVox99/Paraphrasing-Tool
2ef59d23a06ed1d1f3e9f88c23e95aa9e6e1c9a8
[ "MIT" ]
null
null
null
def should_ignore(word: str) -> bool: with open('ignorelist.txt') as file: words_to_ignore = file.readlines() conditions = [ #if all chars are not letters from alphabet not word.isalpha(), word.lower() in words_to_ignore, word.isnumeric(), #if first letter is c...
23.588235
51
0.605985
50
401
4.76
0.76
0.084034
0.109244
0
0
0
0
0
0
0
0
0.003521
0.291771
401
17
52
23.588235
0.834507
0.204489
0
0
0
0
0.044164
0
0
0
0
0
0
1
0.1
false
0
0
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d364fc80041aba15681b8ae1abc068dc059543fd
918
py
Python
common/datacontracts/utxo.py
akvelon/Bitcoin-Transaction-Optimization
e3740fe37869a0b84a472b19dbc5d879ec857837
[ "Apache-2.0" ]
5
2019-03-21T12:57:56.000Z
2019-09-15T00:00:35.000Z
common/datacontracts/utxo.py
akvelon/Bitcoin-Transaction-Optimization
e3740fe37869a0b84a472b19dbc5d879ec857837
[ "Apache-2.0" ]
25
2019-04-01T09:23:10.000Z
2022-02-10T00:10:23.000Z
common/datacontracts/utxo.py
akvelon/Bitcoin-Transaction-Optimization
e3740fe37869a0b84a472b19dbc5d879ec857837
[ "Apache-2.0" ]
1
2019-03-15T13:54:51.000Z
2019-03-15T13:54:51.000Z
""" Copyright 2019 Akvelon Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to i...
48.315789
311
0.704793
132
918
4.863636
0.628788
0.093458
0.040498
0.049844
0
0
0
0
0
0
0
0.012694
0.227669
918
18
312
51
0.892807
0.819172
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
d36503749b7bc4dd9ab596a44975407acae0d0ec
18,681
py
Python
010_XRDAnalysis/FeNi/FeNi_Ambient_019/ExtraPeakAttempt/Fit_XRD_Pattern.py
r-a-morrison/fe_alloy_sound_velocities
8da1b0d073e93fb4b4be3d61b73e58b7a7a3097b
[ "MIT" ]
null
null
null
010_XRDAnalysis/FeNi/FeNi_Ambient_019/ExtraPeakAttempt/Fit_XRD_Pattern.py
r-a-morrison/fe_alloy_sound_velocities
8da1b0d073e93fb4b4be3d61b73e58b7a7a3097b
[ "MIT" ]
null
null
null
010_XRDAnalysis/FeNi/FeNi_Ambient_019/ExtraPeakAttempt/Fit_XRD_Pattern.py
r-a-morrison/fe_alloy_sound_velocities
8da1b0d073e93fb4b4be3d61b73e58b7a7a3097b
[ "MIT" ]
null
null
null
# Written by Rachel Morrison on July 1, 2016 # Updated October 2017 # ## Input Data and Parameters from Fit_XRD_Input import * # ## Outline # - Import data # - Specify 2theta range # - Identify phases # - Set starting parameter values for a (and c) # - Identify peaks present in 2theta range for given a (and c) # -...
36.486328
96
0.662598
2,443
18,681
4.967253
0.191568
0.040791
0.018789
0.021755
0.354182
0.299382
0.257684
0.204615
0.185084
0.15822
0
0.025443
0.196296
18,681
512
97
36.486328
0.782803
0.164606
0
0.247788
0
0
0.067243
0
0
0
0
0
0
0
null
null
0
0.050147
null
null
0.011799
0
0
0
null
0
0
0
0
0
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
d365d258e5da91f89533a37ebc45518a1726de2f
1,362
py
Python
core/cdag/node/metrics.py
prorevizor/noc
37e44b8afc64318b10699c06a1138eee9e7d6a4e
[ "BSD-3-Clause" ]
null
null
null
core/cdag/node/metrics.py
prorevizor/noc
37e44b8afc64318b10699c06a1138eee9e7d6a4e
[ "BSD-3-Clause" ]
null
null
null
core/cdag/node/metrics.py
prorevizor/noc
37e44b8afc64318b10699c06a1138eee9e7d6a4e
[ "BSD-3-Clause" ]
null
null
null
# ---------------------------------------------------------------------- # MetricsNode # ---------------------------------------------------------------------- # Copyright (C) 2007-2020 The NOC Project # See LICENSE for details # ---------------------------------------------------------------------- # Python modules f...
27.24
85
0.532305
158
1,362
4.531646
0.56962
0.046089
0.036313
0.039106
0.041899
0
0
0
0
0
0
0.016854
0.215859
1,362
49
86
27.795918
0.653558
0.29442
0
0
0
0
0.053362
0
0
0
0
0
0
1
0.038462
false
0
0.192308
0
0.615385
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
d36649a36f426f9099f11bf5367c4a8a8f4ec2b2
2,071
py
Python
Python/Tkinter/Tech-Gram Academy/PhoneBook App.py
omkarsutar1255/Python-Data
169d0c54b23d9dd5a7f1aea41ab385121c3b3c63
[ "CC-BY-3.0" ]
null
null
null
Python/Tkinter/Tech-Gram Academy/PhoneBook App.py
omkarsutar1255/Python-Data
169d0c54b23d9dd5a7f1aea41ab385121c3b3c63
[ "CC-BY-3.0" ]
null
null
null
Python/Tkinter/Tech-Gram Academy/PhoneBook App.py
omkarsutar1255/Python-Data
169d0c54b23d9dd5a7f1aea41ab385121c3b3c63
[ "CC-BY-3.0" ]
null
null
null
from tkinter import * import datetime from view_people import Mypeople date = datetime.datetime.now().date() date = str(date) class Application(object): # inheritance from object is by default in python 3 def __init__(self, master): self.master = master # this allow to use master in other def function a...
35.101695
113
0.623853
291
2,071
4.360825
0.364261
0.049645
0.047281
0.047281
0.097715
0.084318
0.084318
0.084318
0.084318
0
0
0.044388
0.238532
2,071
58
114
35.706897
0.760304
0.126509
0
0
0
0
0.156841
0.012236
0
0
0
0
0
1
0.081081
false
0.027027
0.081081
0
0.189189
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
d366a48cdf67e21ca07feaecf85af36649e315b3
810
py
Python
cvp/metrics/_metric.py
RaviShah1/cross-validation-pipeline
51bd306685e4ca71015523d950d08fc7405f8075
[ "Apache-2.0" ]
null
null
null
cvp/metrics/_metric.py
RaviShah1/cross-validation-pipeline
51bd306685e4ca71015523d950d08fc7405f8075
[ "Apache-2.0" ]
null
null
null
cvp/metrics/_metric.py
RaviShah1/cross-validation-pipeline
51bd306685e4ca71015523d950d08fc7405f8075
[ "Apache-2.0" ]
null
null
null
class Metric: def __init__(self, name: str): """ Generates the Metric Parameters --------- name : str the name of the metric """ pass def __call__(self) -> float: """ Gets the evaluation score of the y_tru...
21.315789
66
0.440741
75
810
4.56
0.386667
0.105263
0.140351
0.099415
0.438596
0.438596
0.438596
0.438596
0.438596
0.438596
0
0
0.47037
810
38
67
21.315789
0.797203
0.479012
0
0.428571
1
0
0
0
0
0
0
0
0
1
0.428571
false
0.428571
0
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
4
d3670d7e4f25769b7a27109b32a3982276760c06
478
py
Python
LBP06.py
Anandgowda18/LogicBasedPrograms
25baa9fbf19cd45229c87e099877e97281b0e76b
[ "MIT" ]
null
null
null
LBP06.py
Anandgowda18/LogicBasedPrograms
25baa9fbf19cd45229c87e099877e97281b0e76b
[ "MIT" ]
null
null
null
LBP06.py
Anandgowda18/LogicBasedPrograms
25baa9fbf19cd45229c87e099877e97281b0e76b
[ "MIT" ]
null
null
null
'''For each of the 6 coffee cups I buy, I get a 7th cup free. In total, I get 7 cups. Implement a program that takes n cups bought and print as an integer the total number of cups I would get. Input Format n number of cups from user Constraints n>0 Output Format number of cups present have Sample Input 0 13 Sam...
14.9375
192
0.709205
94
478
3.574468
0.489362
0.071429
0.107143
0
0
0
0
0
0
0
0
0.046196
0.230126
478
32
193
14.9375
0.866848
0.792887
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
0
0
0
null
0
0
0
0
0
0
0
0
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
d36a75871385410e67d2a1d159624af95ddabfb2
76
py
Python
volkscv/analyzer/statistics/utils/assigner/__init__.py
YuxinZou/volkscv
67ac83f0c0ac85bd6606053732b454db17c53de0
[ "Apache-2.0" ]
59
2020-07-09T03:22:51.000Z
2021-12-14T11:26:43.000Z
volkscv/analyzer/statistics/utils/assigner/__init__.py
ChaseMonsterAway/volkscv
aa7e898cc29e3e5f26363e56bf56f4c56574bbd8
[ "Apache-2.0" ]
1
2020-11-24T12:18:19.000Z
2020-11-25T03:12:57.000Z
volkscv/analyzer/statistics/utils/assigner/__init__.py
ChaseMonsterAway/volkscv
aa7e898cc29e3e5f26363e56bf56f4c56574bbd8
[ "Apache-2.0" ]
24
2020-08-05T03:13:37.000Z
2021-10-11T02:55:25.000Z
from .base import BaseAssigner from .max_iou_assigner import MaxIoUAssigner
25.333333
44
0.868421
10
76
6.4
0.8
0
0
0
0
0
0
0
0
0
0
0
0.105263
76
2
45
38
0.941176
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
d36c21fe0133ee21a1ab3addd4c1f6e8a3228f92
3,695
py
Python
cloudmesh/analytics/OpenAPIServer.py
cloudmesh/cloudmesh-analytics
26e8ab8e718730cbbc5b99ac71395c22686ae698
[ "Apache-2.0" ]
null
null
null
cloudmesh/analytics/OpenAPIServer.py
cloudmesh/cloudmesh-analytics
26e8ab8e718730cbbc5b99ac71395c22686ae698
[ "Apache-2.0" ]
null
null
null
cloudmesh/analytics/OpenAPIServer.py
cloudmesh/cloudmesh-analytics
26e8ab8e718730cbbc5b99ac71395c22686ae698
[ "Apache-2.0" ]
2
2019-10-21T03:58:57.000Z
2020-02-12T00:07:06.000Z
"""To create a flask app The method definition to create a flask app by call ing the create_app function Example: create_app(test_config) """ import os import connexion import sys import textwrap from cloudmesh.common.util import writefile from cloudmesh.common.util import path_expand from cloudmesh.common...
25.308219
79
0.539107
420
3,695
4.657143
0.330952
0.05317
0.029141
0.035276
0.242331
0.156953
0.156953
0.156953
0.156953
0.08998
0
0.012782
0.364817
3,695
145
80
25.482759
0.820622
0.36184
0
0.031746
0
0
0.202194
0.028612
0
0
0
0
0
1
0.079365
false
0.015873
0.142857
0
0.269841
0.031746
0
0
0
null
0
0
0
0
0
0
0
0
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
d36ce0a150d51a1118f75e69b494546bb51688b1
1,610
py
Python
migrations/versions/v3_create_specialization_schema.py
GCETTB-HYLAND-Hackathon2012-22/Miracurol-Rebuild
a6748e93b45872efdbaca013388dd6277824a9a5
[ "Apache-2.0" ]
null
null
null
migrations/versions/v3_create_specialization_schema.py
GCETTB-HYLAND-Hackathon2012-22/Miracurol-Rebuild
a6748e93b45872efdbaca013388dd6277824a9a5
[ "Apache-2.0" ]
null
null
null
migrations/versions/v3_create_specialization_schema.py
GCETTB-HYLAND-Hackathon2012-22/Miracurol-Rebuild
a6748e93b45872efdbaca013388dd6277824a9a5
[ "Apache-2.0" ]
null
null
null
"""Create Specialization Schema Create a table 'specialization' which represents doctors specializations and have a many-to-many relationship with the doctor table. -- SQL CREATE TABLE specialization ( id SERIAL, specialization_name TEXT NOT NULL, CONSTRAINT pk_specialization PRIMARY KEY (id) ); CREATE ...
27.288136
118
0.701863
187
1,610
5.935829
0.294118
0.102703
0.075676
0.034234
0.501802
0.345946
0.345946
0.345946
0.345946
0.345946
0
0.001555
0.201242
1,610
58
119
27.758621
0.861586
0.491925
0
0.190476
0
0
0.19975
0.082397
0
0
0
0
0
1
0.095238
false
0
0.095238
0
0.190476
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
d36e069713d8c3e52684121fe2690f4962a2708a
2,515
py
Python
tools/fixup_io_tilegrid.py
mfkiwl/prjoxide
318331f8b30c2e2a31cc41d51f104b671e180a8a
[ "0BSD" ]
80
2019-12-10T21:06:12.000Z
2021-02-06T09:12:37.000Z
tools/fixup_io_tilegrid.py
mfkiwl/prjoxide
318331f8b30c2e2a31cc41d51f104b671e180a8a
[ "0BSD" ]
13
2021-03-18T12:59:25.000Z
2022-03-30T11:35:51.000Z
tools/fixup_io_tilegrid.py
mfkiwl/prjoxide
318331f8b30c2e2a31cc41d51f104b671e180a8a
[ "0BSD" ]
4
2020-10-04T22:23:15.000Z
2021-01-29T21:51:25.000Z
import database import tiles import json from os import path """ Despite Lattice assigning them the same tile type; "odd" and "even" top/left/right IO locations have slightly different routing - swapped output tristate and data This script fixes this by patching tile names """ for f, d in [("LIFCL", "LIFCL-40"), ("L...
34.930556
105
0.525249
345
2,515
3.643478
0.315942
0.043755
0.057279
0.031822
0.33572
0.33572
0.33572
0.33572
0.33572
0.33572
0
0.00987
0.355467
2,515
71
106
35.422535
0.765577
0.028628
0
0.428571
0
0
0.067507
0
0
0
0
0
0.035714
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
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d36e8ca439eb0a47f4ed9a65eb100752706fe147
1,425
py
Python
tests/test_html_table.py
gp2kumar/jsonconverter
e90a989c8fe45c466179a9e202f301d1c495668c
[ "MIT" ]
1
2021-02-16T10:09:55.000Z
2021-02-16T10:09:55.000Z
tests/test_html_table.py
gp2kumar/jsonconverter
e90a989c8fe45c466179a9e202f301d1c495668c
[ "MIT" ]
null
null
null
tests/test_html_table.py
gp2kumar/jsonconverter
e90a989c8fe45c466179a9e202f301d1c495668c
[ "MIT" ]
null
null
null
from unittest import TestCase from jsonConverter import jsonConverter from jsonConverter.errors import EmptyJson from bs4 import BeautifulSoup import os import json class TestHtmlTable(TestCase): def __init__(self, *args, **kwargs): current_directory = os.path.dirname(os.path.realpath(__file__)) ...
39.583333
99
0.689123
196
1,425
4.729592
0.341837
0.06041
0.038835
0.048544
0.194175
0.131607
0.088457
0.088457
0.088457
0.088457
0
0.005268
0.200702
1,425
35
100
40.714286
0.808604
0
0
0.068966
0
0
0.031579
0
0
0
0
0
0.103448
1
0.137931
false
0
0.206897
0
0.448276
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
d36fcf0138716f178ec96518e782b2fccc83abc3
620
py
Python
04-text-byte/example_4_10.py
hua372494277/fluent_python_example-code
07577e3e3ca822ab0e769bbaa22477fd988edb36
[ "MIT" ]
null
null
null
04-text-byte/example_4_10.py
hua372494277/fluent_python_example-code
07577e3e3ca822ab0e769bbaa22477fd988edb36
[ "MIT" ]
null
null
null
04-text-byte/example_4_10.py
hua372494277/fluent_python_example-code
07577e3e3ca822ab0e769bbaa22477fd988edb36
[ "MIT" ]
null
null
null
fp = open('cafe.txt', 'w', encoding='utf-8') print(fp) # <_io.TextIOWrapper name='cafe.txt' mode='w' encoding='utf-8'> # 默认情况下,open函数采用文本模式,返回一个TextIOWrapper对象 print(fp.write('café')) # 在TextIOWrapper对象上调用write方法返回写入的Unicode字符数:4 fp.close() import os print(os.stat('cafe.txt').st_size) fp2 = open('cafe.txt') print(fp2) ...
23.846154
63
0.729032
86
620
5.232558
0.406977
0.093333
0.097778
0.057778
0
0
0
0
0
0
0
0.027923
0.075806
620
25
64
24.8
0.757417
0.382258
0
0.105263
0
0
0.151596
0
0
0
0
0
0
1
0
false
0
0.052632
0
0.052632
0.526316
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
d3719221e4d0e1a5fd57d85ca24e8b4d7705fe8c
15,915
py
Python
git-sync.py
wikimedia-bg/git-sync
de047324e34595bfd8b6eb80c09aa8a22674ea12
[ "MIT" ]
null
null
null
git-sync.py
wikimedia-bg/git-sync
de047324e34595bfd8b6eb80c09aa8a22674ea12
[ "MIT" ]
7
2020-05-22T21:39:28.000Z
2020-07-02T12:25:13.000Z
git-sync.py
wikimedia-bg/git-sync
de047324e34595bfd8b6eb80c09aa8a22674ea12
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import os import os.path import re import signal import sys import time from datetime import datetime as dt from datetime import timedelta as td from pathlib import Path import git import pywikibot as pwb import yaml class SignalHandler: def __init__(self): self._is_sleeping = F...
43.964088
120
0.543827
1,852
15,915
4.488121
0.212203
0.014437
0.013474
0.012031
0.168311
0.106112
0.08999
0.08999
0.071944
0.071944
0
0.003701
0.354885
15,915
361
121
44.085873
0.805883
0.170342
0
0.139706
0
0
0.077274
0.006117
0
0
0
0
0
1
0.0625
false
0.003676
0.044118
0.007353
0.139706
0.044118
0
0
0
null
0
0
0
0
0
0
0
0
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
d3723a1afefdf302f5961dea01b38d29e321a538
3,377
py
Python
SurfaceTopography/Exceptions.py
ContactEngineering/SurfaceTopography
7dc7346cb9545326a3323fda0d402f254eae8c0e
[ "MIT" ]
1
2021-12-21T15:37:06.000Z
2021-12-21T15:37:06.000Z
SurfaceTopography/Exceptions.py
ContactEngineering/SurfaceTopography
7dc7346cb9545326a3323fda0d402f254eae8c0e
[ "MIT" ]
98
2021-03-29T11:13:27.000Z
2022-03-18T10:37:37.000Z
SurfaceTopography/Exceptions.py
ContactEngineering/SurfaceTopography
7dc7346cb9545326a3323fda0d402f254eae8c0e
[ "MIT" ]
2
2021-04-15T20:42:23.000Z
2021-07-09T10:37:35.000Z
# # Copyright 2021 Lars Pastewka # # ### 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 the Software without restriction, including without limitation the rights # to use, copy, modify, mer...
28.378151
111
0.705952
434
3,377
5.447005
0.456221
0.037225
0.038917
0.060914
0.104061
0.054992
0.054992
0
0
0
0
0.001543
0.232455
3,377
118
112
28.618644
0.910494
0.647616
0
0.333333
0
0
0.094984
0
0
0
0
0
0
1
0.074074
false
0.333333
0
0
0.518519
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
d37242bd6188eb88e2ded7071af329a1153d9449
304
py
Python
stardate.py
NicolasFlandrois/stardate
d68adb84bfaf50fe95aa907f8e21f7b4100077f6
[ "MIT" ]
1
2019-05-04T00:58:56.000Z
2019-05-04T00:58:56.000Z
stardate.py
NicolasFlandrois/Stardate
d68adb84bfaf50fe95aa907f8e21f7b4100077f6
[ "MIT" ]
null
null
null
stardate.py
NicolasFlandrois/Stardate
d68adb84bfaf50fe95aa907f8e21f7b4100077f6
[ "MIT" ]
null
null
null
#!/usr/bin/python3 # Date: Mon 24 Jun 2019 17:36:52 CEST # Author: Nicolas Flandrois # Description: Running Stardate from sdview import View from sdcompute import Compute def main(): """main docstring""" View.menu(Compute.sdconvert, Compute.sdtranslate) if __name__ == '__main__': main()
19
53
0.713816
40
304
5.225
0.8
0.076555
0
0
0
0
0
0
0
0
0
0.051587
0.171053
304
15
54
20.266667
0.777778
0.407895
0
0
0
0
0.046784
0
0
0
0
0
0
1
0.166667
true
0
0.333333
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
d37289938c883e0f5b2c05d45673f8a8f5f65c59
2,230
py
Python
eve/flaskapp.py
nrcmedia/eve
fa45b0fd34e0fd2a6e201b71edd382fe0d72e86f
[ "BSD-3-Clause" ]
null
null
null
eve/flaskapp.py
nrcmedia/eve
fa45b0fd34e0fd2a6e201b71edd382fe0d72e86f
[ "BSD-3-Clause" ]
null
null
null
eve/flaskapp.py
nrcmedia/eve
fa45b0fd34e0fd2a6e201b71edd382fe0d72e86f
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ eve.flaskapp ~~~~~~~~~~~~ This module implements the central WSGI application object as a Flask subclass. :copyright: (c) 2013 by Nicola Iarocci. :license: BSD, see LICENSE for more details. """ import eve from flask import Blueprint from werkzeug.routing import B...
33.787879
89
0.626457
277
2,230
4.891697
0.382671
0.047232
0.04428
0.056089
0.087823
0.038376
0
0
0
0
0
0.003019
0.257399
2,230
65
90
34.307692
0.815217
0.204484
0
0
0
0
0.051445
0
0
0
0
0
0
1
0.083333
false
0
0.222222
0
0.333333
0.194444
0
0
0
null
0
0
0
0
0
0
0
0
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
d373a4b5adeda9e4dca2dfc62136120dbf63f0c7
4,746
py
Python
htn/htn.py
jsupratman13/StudySession2018
ea52ae61a23b2a9ae08185acb49ceb34fcc7f750
[ "MIT" ]
null
null
null
htn/htn.py
jsupratman13/StudySession2018
ea52ae61a23b2a9ae08185acb49ceb34fcc7f750
[ "MIT" ]
null
null
null
htn/htn.py
jsupratman13/StudySession2018
ea52ae61a23b2a9ae08185acb49ceb34fcc7f750
[ "MIT" ]
null
null
null
################################ # @file htn.py # # @brief HTN Planner core # # @author Joshua Supratman # # @date 2017/09/07 # ################################ import copy class WorldState(object): def __init__(self, *args): self.define_status = args self.curr...
35.155556
132
0.578171
499
4,746
5.172345
0.190381
0.040294
0.029833
0.023247
0.359938
0.2716
0.235955
0.206509
0.194498
0.194498
0
0.003791
0.333123
4,746
134
133
35.41791
0.81169
0.022335
0
0.277228
0
0
0.044796
0
0
0
0
0
0.039604
0
null
null
0
0.009901
null
null
0.029703
0
0
0
null
0
0
0
0
0
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
d37462d1ff2d389bfad4c0d668e447663a2bbb4d
2,606
py
Python
ethosu/mlw_codec/test/test_mlw_codec.py
DemonGiggle/vela
298e383d2dbab465ddd4995a6ebc6f8bc07c8719
[ "Apache-2.0" ]
1
2021-12-01T17:16:14.000Z
2021-12-01T17:16:14.000Z
ethosu/mlw_codec/test/test_mlw_codec.py
DemonGiggle/vela
298e383d2dbab465ddd4995a6ebc6f8bc07c8719
[ "Apache-2.0" ]
null
null
null
ethosu/mlw_codec/test/test_mlw_codec.py
DemonGiggle/vela
298e383d2dbab465ddd4995a6ebc6f8bc07c8719
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # Copyright (C) 2020 Arm Limited or its affiliates. All rights reserved. # # SPDX-License-Identifier: Apache-2.0 # # Licensed under the Apache License, Version 2.0 (the License); you may # not use this file except in compliance with the License. # You may obtain a copy of the License at # # www.a...
41.365079
116
0.720645
379
2,606
4.788918
0.406332
0.052893
0.049587
0.052893
0.280441
0.236915
0.236915
0.193939
0.193939
0.144904
0
0.031974
0.171911
2,606
62
117
42.032258
0.809082
0.344973
0
0.129032
0
0.064516
0.158617
0.145498
0
0
0
0
0.064516
1
0.129032
false
0
0.064516
0
0.419355
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
d374f59d67c6fe97e2ccc0a2b608d4637cc76e57
168
py
Python
search.py
urplatshubham/arr_deal
a3b0563e78b9f1fa267bb934f3cf0ff922dc35f2
[ "MIT" ]
null
null
null
search.py
urplatshubham/arr_deal
a3b0563e78b9f1fa267bb934f3cf0ff922dc35f2
[ "MIT" ]
null
null
null
search.py
urplatshubham/arr_deal
a3b0563e78b9f1fa267bb934f3cf0ff922dc35f2
[ "MIT" ]
null
null
null
class searching: def lin_search(self, arr, num): for i in range(len(arr)): if arr[i] == num: return i return -1
21
36
0.458333
22
168
3.454545
0.727273
0
0
0
0
0
0
0
0
0
0
0.010638
0.440476
168
7
37
24
0.797872
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
d3756011bd4353bc293cc731639bdc9698e493c0
2,463
py
Python
Unit1/Lesson11.py
szhua/PythonLearn
12eaf7cc74a0310bb23e21773f3c83deb91d0362
[ "Apache-2.0" ]
null
null
null
Unit1/Lesson11.py
szhua/PythonLearn
12eaf7cc74a0310bb23e21773f3c83deb91d0362
[ "Apache-2.0" ]
null
null
null
Unit1/Lesson11.py
szhua/PythonLearn
12eaf7cc74a0310bb23e21773f3c83deb91d0362
[ "Apache-2.0" ]
null
null
null
#map reduce def add(x): return x+10+x*11 x =map(add,list(range(10))) print(list(x)) from functools import reduce def add(x,y=0): return x+10+x*11 y =reduce(add,map(add,list(range(10)))) print(y) def char2num(s): return {"0":0,"1":1,"2":2,"3":3,"4":4,"5":5,"6":6,"7":7,"8":8,"9":9}[s] def getResult(x,...
20.355372
83
0.593585
421
2,463
3.448931
0.251781
0.033747
0.045455
0.055096
0.243802
0.208678
0.163912
0.163912
0.163912
0.163912
0
0.080717
0.18514
2,463
120
84
20.525
0.64275
0.046691
0
0.302326
0
0
0.052607
0
0
0
0
0
0
1
0.209302
false
0
0.011628
0.151163
0.383721
0.255814
0
0
0
null
0
0
0
0
0
0
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
d376264f031158ca378b0cfdfc3c0c40130ce654
53
py
Python
session-9/testcolor.py
ssxrgio/2018-19-PNE-practices
f73ed67cb676a2ffffdf7a5a3ddc4c9fa7902ee0
[ "Apache-2.0" ]
null
null
null
session-9/testcolor.py
ssxrgio/2018-19-PNE-practices
f73ed67cb676a2ffffdf7a5a3ddc4c9fa7902ee0
[ "Apache-2.0" ]
null
null
null
session-9/testcolor.py
ssxrgio/2018-19-PNE-practices
f73ed67cb676a2ffffdf7a5a3ddc4c9fa7902ee0
[ "Apache-2.0" ]
null
null
null
import termcolor termcolor.cprint('Green.', 'green')
17.666667
35
0.754717
6
53
6.666667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.075472
53
3
35
17.666667
0.816327
0
0
0
0
0
0.203704
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0.5
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
1
0
5
d376f8e75aeda7a5f8ab84956c3eb1aca0f7b88f
842
pyde
Python
1/SaveJPG/SaveJPG.pyde
sinoapollo/pyprocessingsamplecode
6ed3a94ab8d2d3b58b1bf73f7c06b11870356f9c
[ "MIT" ]
2
2019-05-16T17:30:38.000Z
2020-06-17T05:33:11.000Z
1/SaveJPG/SaveJPG.pyde
sinoapollo/pyprocessingsamplecode
6ed3a94ab8d2d3b58b1bf73f7c06b11870356f9c
[ "MIT" ]
null
null
null
1/SaveJPG/SaveJPG.pyde
sinoapollo/pyprocessingsamplecode
6ed3a94ab8d2d3b58b1bf73f7c06b11870356f9c
[ "MIT" ]
1
2019-03-03T15:37:50.000Z
2019-03-03T15:37:50.000Z
""" Author: 陈天翼(Apollo Chen) Date: 2019-02-18 Description: 学习重点:beginShape, vertex, endShape, save, saveFrame """ x = 0 def setup(): size(800, 600) triangle(400, 150, 400, 250, 500, 200) triangle(250, 250, 300, 300, 300, 250) rect(300, 250, 200, 50) triangle(550, 250, 500, 300, 500, 250) save(...
19.581395
64
0.562945
116
842
4.086207
0.474138
0.101266
0.050633
0
0
0
0
0
0
0
0
0.248344
0.28266
842
42
65
20.047619
0.536424
0.195962
0
0.133333
0
0
0.040359
0
0
0
0
0
0
1
0.066667
false
0
0
0
0.066667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
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
d377969c4f87184fc09ab88ee20863bc245c4b23
646
py
Python
plot_testing.py
MorganR/gaussian-processes
bf8e1c8453b5c07a525b1393bbe8013b4c10d9fb
[ "MIT" ]
null
null
null
plot_testing.py
MorganR/gaussian-processes
bf8e1c8453b5c07a525b1393bbe8013b4c10d9fb
[ "MIT" ]
null
null
null
plot_testing.py
MorganR/gaussian-processes
bf8e1c8453b5c07a525b1393bbe8013b4c10d9fb
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt import numpy as np plt.style.use('ggplot') import GPflow import math N = 16 X = np.random.rand(N,1) Y = np.sin(12*X) + 0.66*np.cos(25*X) + np.random.randn(N,1)*0.1 + 3 k = GPflow.kernels.Matern52(1, lengthscales=0.3) m = GPflow.gpr.GPR(X, Y, kern=k) m.likelihood.variance = 0.01 m....
20.1875
116
0.631579
135
646
3.007407
0.466667
0.019704
0.044335
0.019704
0.081281
0.081281
0.081281
0.081281
0
0
0
0.083481
0.128483
646
31
117
20.83871
0.637655
0
0
0
0
0
0.020124
0
0
0
0
0
0
1
0
false
0
0.190476
0
0.190476
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
d377daf5638a7fc8d6add5f58baae6658f5fa26a
102
py
Python
{{cookiecutter.project_name}}/{{cookiecutter.project_name}}/__main__.py
rzavarce/cookiecutter-vertebral
29a72b6bfb5c4ca76b1a36ee1e8ff9e0fedcb421
[ "MIT" ]
null
null
null
{{cookiecutter.project_name}}/{{cookiecutter.project_name}}/__main__.py
rzavarce/cookiecutter-vertebral
29a72b6bfb5c4ca76b1a36ee1e8ff9e0fedcb421
[ "MIT" ]
null
null
null
{{cookiecutter.project_name}}/{{cookiecutter.project_name}}/__main__.py
rzavarce/cookiecutter-vertebral
29a72b6bfb5c4ca76b1a36ee1e8ff9e0fedcb421
[ "MIT" ]
null
null
null
from core.main import main import sys sys.path.append(".") # TODO CHANGE TO CORRECT IMPORT main()
10.2
31
0.715686
16
102
4.5625
0.6875
0.273973
0
0
0
0
0
0
0
0
0
0
0.176471
102
9
32
11.333333
0.869048
0.284314
0
0
0
0
0.014493
0
0
0
0
0.111111
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
1
0
1
0
0
0
0
6
d378df2e0e879fe284c4b24445531bfc9a8d0706
2,092
py
Python
1089.duplicate-zeros.py
windard/leeeeee
0107a5f95746592ca4fe78d2b5875cf65b1910e7
[ "MIT" ]
null
null
null
1089.duplicate-zeros.py
windard/leeeeee
0107a5f95746592ca4fe78d2b5875cf65b1910e7
[ "MIT" ]
null
null
null
1089.duplicate-zeros.py
windard/leeeeee
0107a5f95746592ca4fe78d2b5875cf65b1910e7
[ "MIT" ]
null
null
null
# coding=utf-8 # # @lc app=leetcode id=1089 lang=python # # [1089] Duplicate Zeros # # https://leetcode.com/problems/duplicate-zeros/description/ # # algorithms # Easy (58.99%) # Likes: 118 # Dislikes: 94 # Total Accepted: 15.1K # Total Submissions: 25.6K # Testcase Example: '[1,0,2,3,0,4,5,0]' # # Given a fixed...
21.56701
77
0.546845
281
2,092
4.039146
0.402135
0.010573
0.010573
0.014097
0.442291
0.442291
0.4
0.4
0.378855
0.378855
0
0.061571
0.32457
2,092
96
78
21.791667
0.741684
0.589388
0
0.695652
0
0
0
0
0
0
0
0
0
1
0.086957
false
0
0
0
0.130435
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
d379100771febdd3cd71e6437f6cbe231c5f4030
2,841
py
Python
scripts/motion/preprocess.py
isi-vista/adam-visual-perception
8ad6ed883b184b5407a1bf793617b226c78b3a13
[ "MIT" ]
1
2020-07-21T10:52:26.000Z
2020-07-21T10:52:26.000Z
scripts/motion/preprocess.py
isi-vista/adam-visual-perception
8ad6ed883b184b5407a1bf793617b226c78b3a13
[ "MIT" ]
null
null
null
scripts/motion/preprocess.py
isi-vista/adam-visual-perception
8ad6ed883b184b5407a1bf793617b226c78b3a13
[ "MIT" ]
2
2020-07-21T15:30:42.000Z
2021-01-20T21:54:09.000Z
""" Preprocess This script loads the videos, removes the audio track, cuts the videos from the start point to endpoint for given dataset fragments, and saves them in a new directory. A new `tsv` file is being generated with corresponding filenames and ground truth labels. Parameters ---------- data_dir : str, optiona...
33.821429
92
0.708905
413
2,841
4.779661
0.346247
0.024823
0.013678
0.022796
0.129686
0.077001
0.023303
0
0
0
0
0.00087
0.190778
2,841
83
93
34.228916
0.857764
0.431538
0
0
0
0
0.144646
0.028804
0
0
0
0
0
1
0.055556
false
0
0.194444
0
0.25
0.027778
0
0
0
null
0
0
0
0
0
0
0
0
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
d379ebabfe6a453a1a327feab9114e7908641286
391
py
Python
2022-04-28-mean-shift.py
joaco18/maia-italy-aia
74032ea590c2a29fe5a38b539cee5c748c7ba063
[ "MIT" ]
null
null
null
2022-04-28-mean-shift.py
joaco18/maia-italy-aia
74032ea590c2a29fe5a38b539cee5c748c7ba063
[ "MIT" ]
null
null
null
2022-04-28-mean-shift.py
joaco18/maia-italy-aia
74032ea590c2a29fe5a38b539cee5c748c7ba063
[ "MIT" ]
null
null
null
import cv2 import utils def main(): input_img = cv2.imread(str(utils.EXAMPLES_DIR/'retina.png')) result = cv2.pyrMeanShiftFiltering(input_img, 2, 30, 0) cv2.imshow('Original', input_img) cv2.waitKey(0) cv2.imshow('Mean Shift result', result) cv2.waitKey(0) cv2.imwrite(str(utils.EXAMPLES...
19.55
64
0.675192
55
391
4.563636
0.490909
0.095618
0.087649
0.151394
0.199203
0
0
0
0
0
0
0.043478
0.176471
391
19
65
20.578947
0.736025
0
0
0.166667
0
0
0.143223
0
0
0
0
0
0
1
0.083333
false
0
0.166667
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
d37ad7f9f7b6e3bd8100c785d3bb4dcf55ed0deb
400
py
Python
Scripts/Python/Utils/resample.py
TheSchilk/PmodADC
7c79507034d3c8e1f475fa4ca5fec741bf46c17e
[ "MIT" ]
1
2022-02-15T06:53:36.000Z
2022-02-15T06:53:36.000Z
Scripts/Python/Utils/resample.py
TheSchilk/PmodADC
7c79507034d3c8e1f475fa4ca5fec741bf46c17e
[ "MIT" ]
null
null
null
Scripts/Python/Utils/resample.py
TheSchilk/PmodADC
7c79507034d3c8e1f475fa4ca5fec741bf46c17e
[ "MIT" ]
null
null
null
import scipy.signal as sps import numpy as np def resample_audio(audio, fs_from, fs_to): number_of_samples = round(len(audio) * float(fs_to) / fs_from) audio = sps.resample(audio, number_of_samples) # Ensure re-sampling did not create samples outside of [-1,1]: max_amplitude = np.abs(audio).max() ...
25
66
0.695
62
400
4.290323
0.516129
0.135338
0.112782
0
0
0
0
0
0
0
0
0.009494
0.21
400
15
67
26.666667
0.832278
0.15
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d37b259e6b4975ce0d8db6b86cb732283a09517f
3,849
py
Python
feder/main/urls.py
dzemeuksis/feder
32ef7793af6256d4ecada61505c7baf334b34419
[ "MIT" ]
16
2015-08-11T17:20:26.000Z
2022-02-11T20:15:41.000Z
feder/main/urls.py
dzemeuksis/feder
32ef7793af6256d4ecada61505c7baf334b34419
[ "MIT" ]
534
2015-08-04T00:10:54.000Z
2022-03-17T10:44:47.000Z
feder/main/urls.py
dzemeuksis/feder
32ef7793af6256d4ecada61505c7baf334b34419
[ "MIT" ]
10
2017-08-30T13:34:32.000Z
2022-02-18T13:00:35.000Z
from django.conf import settings from django.conf.urls import include, url from django.conf.urls.static import static from django.contrib import admin from django.contrib.sitemaps.views import index, sitemap from django.utils.translation import ugettext_lazy as _ from django.views.generic import TemplateView from rest_...
38.108911
88
0.719408
430
3,849
6.34186
0.251163
0.029336
0.038504
0.013201
0
0
0
0
0
0
0
0.001802
0.1351
3,849
100
89
38.49
0.817363
0.025721
0
0.16092
0
0
0.218425
0.06008
0
0
0
0
0
1
0
false
0
0.252874
0
0.252874
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
d37bfc505960f1acaa93775aaa08e42265d43e52
8,144
py
Python
docker-images/taigav2/taiga-back/taiga/base/api/viewsets.py
mattcongy/itshop
6be025a9eaa7fe7f495b5777d1f0e5a3184121c9
[ "MIT" ]
1
2017-05-29T19:01:06.000Z
2017-05-29T19:01:06.000Z
docker-images/taigav2/taiga-back/taiga/base/api/viewsets.py
mattcongy/itshop
6be025a9eaa7fe7f495b5777d1f0e5a3184121c9
[ "MIT" ]
null
null
null
docker-images/taigav2/taiga-back/taiga/base/api/viewsets.py
mattcongy/itshop
6be025a9eaa7fe7f495b5777d1f0e5a3184121c9
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (C) 2014-2016 Andrey Antukh <niwi@niwi.nz> # Copyright (C) 2014-2016 Jesús Espino <jespinog@gmail.com> # Copyright (C) 2014-2016 David Barragán <bameda@dbarragan.com> # Copyright (C) 2014-2016 Alejandro Alonso <alejandro.alonso@kaleidos.net> # This program is free software: you can r...
37.018182
87
0.661469
993
8,144
5.365559
0.348439
0.013514
0.015015
0.013514
0.144707
0.090653
0.084647
0.062688
0.025526
0.025526
0
0.00733
0.262893
8,144
219
88
37.187215
0.880227
0.497544
0
0.223529
0
0
0.034617
0
0
0
0
0
0
1
0.082353
false
0.117647
0.070588
0.011765
0.376471
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
d37e9aa4d9aff346dd05fdb216fa61604c83f7db
1,632
py
Python
lab1/abstractFactory.py
EpicUsaMan/univer
a6aaab7a3ef14844e8a0d1b755603d003693bb5f
[ "MIT" ]
null
null
null
lab1/abstractFactory.py
EpicUsaMan/univer
a6aaab7a3ef14844e8a0d1b755603d003693bb5f
[ "MIT" ]
null
null
null
lab1/abstractFactory.py
EpicUsaMan/univer
a6aaab7a3ef14844e8a0d1b755603d003693bb5f
[ "MIT" ]
null
null
null
'''Define Abstract Factory''' from abc import ABCMeta, abstractmethod class Snack: pass class Beer: pass class Beer(metaclass=ABCMeta): @abstractmethod def interact(self, snack: Snack): pass class Snack(metaclass=ABCMeta): @abstractmethod def interact(self, beer: Beer): pass class Tuborg(Beer): def inte...
20.148148
64
0.711397
214
1,632
5.079439
0.172897
0.057958
0.082797
0.047838
0.653174
0.601656
0.471021
0.404784
0.327507
0.327507
0
0.005747
0.147059
1,632
80
65
20.4
0.775144
0.014093
0
0.607143
0
0
0.055838
0
0
0
0
0
0
1
0.214286
false
0.107143
0.017857
0.071429
0.5
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
d3800894268187dfb1384e045a327952f3559d7b
4,972
py
Python
myscripts/projects/thesis/mean_profile.py
LSaffin/scripts
100fc442229ea11f8766a6d78b4db8790c607326
[ "MIT" ]
1
2020-03-16T13:54:28.000Z
2020-03-16T13:54:28.000Z
myscripts/projects/thesis/mean_profile.py
LSaffin/scripts
100fc442229ea11f8766a6d78b4db8790c607326
[ "MIT" ]
null
null
null
myscripts/projects/thesis/mean_profile.py
LSaffin/scripts
100fc442229ea11f8766a6d78b4db8790c607326
[ "MIT" ]
1
2021-01-16T04:54:53.000Z
2021-01-16T04:54:53.000Z
import matplotlib.pyplot as plt import iris from irise import plot from irise.plot.util import multilabel, legend from systematic_forecasts import second_analysis from myscripts.projects.thesis import plotdir def main(): # Parameters same for all plots mappings = ['pv_full', 'pv_main', 'pv_phys'] domains ...
29.951807
79
0.580853
620
4,972
4.535484
0.287097
0.017781
0.02845
0.038407
0.388336
0.302276
0.280583
0.251422
0.19239
0.173186
0
0.026107
0.291231
4,972
165
80
30.133333
0.77185
0.098954
0
0.25
0
0
0.063648
0.013713
0
0
0
0
0
1
0.054348
false
0
0.065217
0
0.163043
0.01087
0
0
0
null
0
0
0
0
0
0
0
0
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
d380729626394d54cdb858039c05f741e3b17ed1
359
py
Python
warmup/sherlockbeast/sherlockbeast.py
antfarmar/hackerrank
87aa6ec8abd35746f209efdaa29b1799fd03baaa
[ "Unlicense" ]
1
2021-09-09T02:02:53.000Z
2021-09-09T02:02:53.000Z
warmup/sherlockbeast/sherlockbeast.py
antfarmar/hackerrank
87aa6ec8abd35746f209efdaa29b1799fd03baaa
[ "Unlicense" ]
null
null
null
warmup/sherlockbeast/sherlockbeast.py
antfarmar/hackerrank
87aa6ec8abd35746f209efdaa29b1799fd03baaa
[ "Unlicense" ]
null
null
null
from sys import stdin #file = stdin file = open( r".\data\sherlockbeast.txt" ) #stdin data = list(map(int, file.read().strip().split()))[1:] file.close() # Maximize x in k = 3x + 5y for k in data: for x in range(k//3, -1, -1): if (k-3 * x) % 5 == 0: y = (k-3 * x) // 5 print('5'*3*x + '3'*5*y) ...
19.944444
54
0.512535
66
359
2.787879
0.515152
0.032609
0.032609
0.043478
0
0
0
0
0
0
0
0.064886
0.270195
359
17
55
21.117647
0.637405
0.119777
0
0
0
0
0.083333
0.076923
0
0
0
0
0
1
0
false
0
0.083333
0
0.083333
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d383caabaf3ad3e599d36baea06fb49c58be08ee
208
py
Python
atcoder/other/lang_update_202001/abc083_b.py
knuu/competitive-programming
16bc68fdaedd6f96ae24310d697585ca8836ab6e
[ "MIT" ]
1
2018-11-12T15:18:55.000Z
2018-11-12T15:18:55.000Z
atcoder/other/lang_update_202001/abc083_b.py
knuu/competitive-programming
16bc68fdaedd6f96ae24310d697585ca8836ab6e
[ "MIT" ]
null
null
null
atcoder/other/lang_update_202001/abc083_b.py
knuu/competitive-programming
16bc68fdaedd6f96ae24310d697585ca8836ab6e
[ "MIT" ]
null
null
null
def main() -> None: N, A, B = map(int, input().split()) ans = 0 for i in range(1, N+1): ans += i * (A <= sum(map(int, str(i))) <= B) print(ans) if __name__ == '__main__': main()
18.909091
52
0.466346
34
208
2.617647
0.647059
0.134831
0
0
0
0
0
0
0
0
0
0.020833
0.307692
208
10
53
20.8
0.597222
0
0
0
0
0
0.038462
0
0
0
0
0
0
1
0.125
false
0
0
0
0.125
0.125
0
0
0
null
0
0
0
0
0
0
0
0
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
d383fefb1598ef6ec1a75585c0aa27732689abcd
1,601
py
Python
quadruped_spring/env/env_randomizers/env_randomizer_collection.py
francescovezzi/quadruped_spring
23848496ac7a4508e8a0f527e961c7956fd12f95
[ "MIT" ]
3
2022-02-21T22:30:21.000Z
2022-03-03T12:59:25.000Z
quadruped_spring/env/env_randomizers/env_randomizer_collection.py
francescovezzi/quadruped_spring
23848496ac7a4508e8a0f527e961c7956fd12f95
[ "MIT" ]
1
2022-03-28T09:22:50.000Z
2022-03-28T16:44:46.000Z
quadruped_spring/env/env_randomizers/env_randomizer_collection.py
francescovezzi/quadruped_spring
23848496ac7a4508e8a0f527e961c7956fd12f95
[ "MIT" ]
null
null
null
from quadruped_spring.env.env_randomizers.env_randomizer import ( EnvRandomizerDisturbance, EnvRandomizerInitialConfiguration, EnvRandomizerMasses, EnvRandomizerSprings, ) from quadruped_spring.utils.base_collection import CollectionBase # Implemented observation spaces for deep reinforcement learning:...
44.472222
90
0.712055
152
1,601
7.210526
0.460526
0.089416
0.065693
0.051095
0
0
0
0
0
0
0
0
0.217364
1,601
35
91
45.742857
0.874701
0.339163
0
0
0
0
0.120459
0.043977
0
0
0
0
0
1
0.043478
false
0
0.086957
0
0.173913
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
d385a78415912448a87e4e43be4dcba83acd9566
17,144
py
Python
training/common/dataset_training_deploy_pipeline.py
ivanmkc/vertex-ai-project-example
070c8d5f534a1fc9f235eb041337592af074de7f
[ "MIT" ]
1
2021-08-24T07:56:10.000Z
2021-08-24T07:56:10.000Z
training/common/dataset_training_deploy_pipeline.py
ivanmkc/vertex-ai-project-example
070c8d5f534a1fc9f235eb041337592af074de7f
[ "MIT" ]
null
null
null
training/common/dataset_training_deploy_pipeline.py
ivanmkc/vertex-ai-project-example
070c8d5f534a1fc9f235eb041337592af074de7f
[ "MIT" ]
1
2022-03-30T04:17:58.000Z
2022-03-30T04:17:58.000Z
from typing import Any, Callable, Dict, Optional, Sequence, Tuple import abc import dataclasses from google_cloud_pipeline_components import aiplatform as gcc_aip import kfp from kfp.v2.dsl import component, importer, Condition, Dataset, Model import training.common.managed_dataset_pipeline as managed_dataset_pipeline...
43.292929
103
0.631941
1,954
17,144
5.332651
0.195496
0.029942
0.022841
0.020729
0.288388
0.229846
0.175432
0.162092
0.136852
0.114779
0
0.002878
0.310954
17,144
395
104
43.402532
0.879201
0.491601
0
0.342105
0
0
0.008835
0.002822
0
0
0
0
0
1
0.063158
false
0.015789
0.042105
0.021053
0.257895
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
d385ca7241bd26e2e1fb9eb4af0ac1bee221e31c
1,465
py
Python
sandbox/lib/jumpscale/JumpscaleLibs/clients/gitea/GiteaOrgForMember.py
threefoldtech/threebot_prebuilt
1f0e1c65c14cef079cd80f73927d7c8318755c48
[ "Apache-2.0" ]
2
2019-05-09T07:21:25.000Z
2019-08-05T06:37:53.000Z
sandbox/lib/jumpscale/JumpscaleLibs/clients/gitea/GiteaOrgForMember.py
threefoldtech/threebot_prebuilt
1f0e1c65c14cef079cd80f73927d7c8318755c48
[ "Apache-2.0" ]
664
2018-12-19T12:43:44.000Z
2019-08-23T04:24:42.000Z
sandbox/lib/jumpscale/JumpscaleLibs/clients/gitea/GiteaOrgForMember.py
threefoldtech/threebot_prebuilt
1f0e1c65c14cef079cd80f73927d7c8318755c48
[ "Apache-2.0" ]
7
2019-05-03T07:14:37.000Z
2019-08-05T12:36:52.000Z
from .GiteaOrg import GiteaOrg class GiteaOrgForMember(GiteaOrg): def save(self, commit=True): is_valid, err = self._validate(create=True) if not commit or not is_valid: self._log_debug(err) return is_valid try: resp = self.user.client.api.admin.adminCr...
31.847826
105
0.574061
180
1,465
4.538889
0.277778
0.077111
0.088127
0.058752
0.717258
0.717258
0.717258
0.717258
0.585067
0.585067
0
0
0.335836
1,465
45
106
32.555556
0.839671
0.251877
0
0.592593
0
0
0
0
0
0
0
0
0
1
0.074074
false
0
0.037037
0
0.37037
0
0
0
0
null
0
0
0
0
1
1
1
0
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
d3860320a8f96b2cb4f1e64f815a4818f17ba4f3
1,293
py
Python
solutions/107.py
abawchen/leetcode
41d3b172a7694a46a860fbcb0565a3acccd000f2
[ "MIT" ]
null
null
null
solutions/107.py
abawchen/leetcode
41d3b172a7694a46a860fbcb0565a3acccd000f2
[ "MIT" ]
null
null
null
solutions/107.py
abawchen/leetcode
41d3b172a7694a46a860fbcb0565a3acccd000f2
[ "MIT" ]
null
null
null
""" https://leetcode.com/problems/binary-tree-level-order-traversal-ii/description Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, level by level from leaf to root). For example: Given binary tree [3,9,20,null,null,15,7], 3 / \ 9 20 / \ ...
24.396226
145
0.54215
167
1,293
4.173653
0.419162
0.057389
0.081779
0.05165
0.166428
0.088953
0.088953
0.088953
0
0
0
0.033175
0.347254
1,293
52
146
24.865385
0.792654
0.368136
0
0
0
0
0
0
0
0
0
0
0
1
0.08
false
0
0.04
0
0.28
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
d3894fa9b5b91661bd5eeb0871ee8e2e049cf34c
1,486
py
Python
crits/emails/urls.py
dutrow/crits
6b357daa5c3060cf622d3a3b0c7b41a9ca69c049
[ "MIT" ]
738
2015-01-02T12:39:55.000Z
2022-03-23T11:05:51.000Z
crits/emails/urls.py
dutrow/crits
6b357daa5c3060cf622d3a3b0c7b41a9ca69c049
[ "MIT" ]
605
2015-01-01T01:03:39.000Z
2021-11-17T18:51:07.000Z
crits/emails/urls.py
dutrow/crits
6b357daa5c3060cf622d3a3b0c7b41a9ca69c049
[ "MIT" ]
316
2015-01-07T12:35:01.000Z
2022-03-30T04:44:30.000Z
from django.conf.urls import url from . import views urlpatterns = [ url(r'^search/$', views.email_search, name='crits-emails-views-email_search'), url(r'^delete/(?P<email_id>\w+)/$', views.email_del, name='crits-emails-views-email_del'), url(r'^upload/attach/(?P<email_id>\w+)/$', views.upload_attach, nam...
70.761905
151
0.718708
234
1,486
4.320513
0.17094
0.178042
0.207715
0.276954
0.531157
0.363007
0.205737
0.205737
0.205737
0.104847
0
0
0.07537
1,486
20
152
74.3
0.735808
0
0
0
0
0
0.519515
0.469717
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d38aebe3f58df0d025b3b9609b4879bf213f6c6a
1,769
py
Python
lang/Python/sum-multiples-of-3-and-5-2.py
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
null
null
null
lang/Python/sum-multiples-of-3-and-5-2.py
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
null
null
null
lang/Python/sum-multiples-of-3-and-5-2.py
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
null
null
null
'''Summed multiples of 3 and 5 up to n''' # sum35 :: Int -> Int def sum35(n): '''Sum of all positive multiples of 3 or 5 below n. ''' f = sumMults(n) return f(3) + f(5) - f(15) # sumMults :: Int -> Int -> Int def sumMults(n): '''Area under a straight line between the first multiple...
24.569444
70
0.453363
230
1,769
3.434783
0.369565
0.037975
0.034177
0.03038
0.040506
0
0
0
0
0
0
0.035918
0.307518
1,769
71
71
24.915493
0.60898
0.411532
0
0
0
0
0.023909
0
0
0
0
0
0
1
0.242424
false
0
0
0
0.454545
0.030303
0
0
0
null
0
0
0
0
0
0
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
d38b57724053d1049345f03cd38a32f256f067a2
1,515
py
Python
butterflow/source.py
changhaitravis/butterflow
d9f92e31a57e800a56b98fa17786144b50d3e3bb
[ "MIT" ]
1,340
2015-01-04T01:43:39.000Z
2022-03-29T04:44:41.000Z
butterflow/source.py
freelandy/butterflow
82133fed2f59c5753fc916e6c067373a640e5dcb
[ "MIT" ]
134
2015-04-05T10:04:02.000Z
2022-02-16T22:34:03.000Z
butterflow/source.py
freelandy/butterflow
82133fed2f59c5753fc916e6c067373a640e5dcb
[ "MIT" ]
116
2015-04-14T17:37:33.000Z
2022-02-19T21:36:22.000Z
# -*- coding: utf-8 -*- # uses the opencv api as the default frame source. must ensure that the ffmpeg # compiled that it is linked against is the same as the ffmpeg being used to # render video files import cv2 class OpenCvFrameSource(object): def __init__(self, src): self.src = src self.capture...
31.5625
79
0.629043
221
1,515
4.21267
0.38914
0.118153
0.022556
0.032223
0.094522
0.094522
0.094522
0.06015
0
0
0
0.012082
0.289769
1,515
47
80
32.234043
0.85316
0.271287
0
0.15625
0
0
0
0
0
0
0
0
0
1
0.21875
false
0
0.03125
0.03125
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
1
0
0
0
0
0
0
0
1
d38e659f1b9f7b0e2e90d4b321084e607d07d859
834
py
Python
extraResources/electron-backend/routes/toc_pdf.py
vilaj46/ad1-ad2-briefs
8bd5de28315a0525b28adb4cf8f1a7d22eefef25
[ "MIT" ]
null
null
null
extraResources/electron-backend/routes/toc_pdf.py
vilaj46/ad1-ad2-briefs
8bd5de28315a0525b28adb4cf8f1a7d22eefef25
[ "MIT" ]
null
null
null
extraResources/electron-backend/routes/toc_pdf.py
vilaj46/ad1-ad2-briefs
8bd5de28315a0525b28adb4cf8f1a7d22eefef25
[ "MIT" ]
null
null
null
import fitz import os from classes.Table_Of_Contents import get_my_toc from classes.Brief import get_my_brief def toc_pdf(): BRIEF = get_my_brief() doc = BRIEF.data['document'] TABLE_OF_CONTENTS = get_my_toc() page_number_start = TABLE_OF_CONTENTS.data['pageNumberStartForMe'] page_number_end = TA...
32.076923
77
0.678657
115
834
4.547826
0.373913
0.114723
0.114723
0.072658
0
0
0
0
0
0
0
0.003077
0.220624
834
25
78
33.36
0.801538
0
0
0
0
0
0.091127
0
0
0
0
0
0
1
0.047619
false
0
0.190476
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
d38eab39ff389c21949f48dc17d7c3a83dc561eb
3,172
py
Python
orquesta/tests/unit/conducting/test_task_with_no_action.py
trstruth/orquesta
e6ebbbeb2c661486067e659dc7552f0a986603a6
[ "Apache-2.0" ]
3
2020-11-17T21:29:26.000Z
2021-03-17T13:56:16.000Z
orquesta/tests/unit/conducting/test_task_with_no_action.py
trstruth/orquesta
e6ebbbeb2c661486067e659dc7552f0a986603a6
[ "Apache-2.0" ]
5
2021-03-02T01:41:36.000Z
2022-03-08T23:31:31.000Z
orquesta/tests/unit/conducting/test_task_with_no_action.py
trstruth/orquesta
e6ebbbeb2c661486067e659dc7552f0a986603a6
[ "Apache-2.0" ]
15
2020-08-08T16:21:40.000Z
2022-03-17T04:45:51.000Z
# Copyright 2019 Extreme Networks, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to i...
34.107527
96
0.666456
372
3,172
5.467742
0.306452
0.058997
0.083579
0.065388
0.635693
0.617011
0.617011
0.617011
0.617011
0.617011
0
0.017736
0.253468
3,172
92
97
34.478261
0.841216
0.199874
0
0.793103
0
0
0.196904
0
0
0
0
0
0.12069
1
0.034483
false
0
0.068966
0
0.12069
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d3901c5c2b4293995ce5b2767aadc677d381a86e
559
py
Python
django_haveli_admin/templatetags/django_template_tags.py
purnendukar/django-haveli-admin
97fd8eb89bf2dbdbdf206ff3f267cfa94fa0961d
[ "BSD-3-Clause" ]
3
2021-11-07T17:26:06.000Z
2021-11-12T14:26:19.000Z
django_haveli_admin/templatetags/django_template_tags.py
purnendu-pdgt/django-haveli-admin
0dc09160f4ae9cc98ce4a37964fbec82ba62338f
[ "BSD-3-Clause" ]
null
null
null
django_haveli_admin/templatetags/django_template_tags.py
purnendu-pdgt/django-haveli-admin
0dc09160f4ae9cc98ce4a37964fbec82ba62338f
[ "BSD-3-Clause" ]
1
2020-09-09T13:55:25.000Z
2020-09-09T13:55:25.000Z
from django.conf import settings from django import template # Depending on your django version, `reverse` and `NoReverseMatch` has been moved. # From django 2.0 they've been moved to `django.urls` try: from django.urls import reverse, NoReverseMatch except ImportError: from django.core.urlresolvers import rev...
29.421053
82
0.774597
76
559
5.618421
0.526316
0.140515
0.126464
0
0
0
0
0
0
0
0
0.008511
0.159213
559
19
83
29.421053
0.9
0.366726
0
0.181818
0
0
0
0
0
0
0
0
0
1
0
false
0
0.454545
0
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
d390ad35f1f75a5024b0e3c28f3a3904dc282f20
1,555
py
Python
utils.py
ksajan/Dominant_color-HexCode-
4e5487e5e534222a77fd8279ffbbb7b676a97dea
[ "MIT" ]
null
null
null
utils.py
ksajan/Dominant_color-HexCode-
4e5487e5e534222a77fd8279ffbbb7b676a97dea
[ "MIT" ]
null
null
null
utils.py
ksajan/Dominant_color-HexCode-
4e5487e5e534222a77fd8279ffbbb7b676a97dea
[ "MIT" ]
null
null
null
# import the necessary packages import numpy as np import cv2 def centroid_histogram(clt): # grab the number of different clusters and create a histogram # based on the number of pixels assigned to each cluster print(clt) numLabels = np.arange(0, len(np.unique(clt.labels_)) + 1) (hist, _) = np.histogram...
28.796296
64
0.669453
218
1,555
4.752294
0.37156
0.042471
0.037645
0.063707
0.107143
0.107143
0
0
0
0
0
0.051682
0.216077
1,555
54
65
28.796296
0.798195
0.362058
0
0
0
0
0.017094
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.333333
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
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
d3914a636ecdc5d216e629807b7d61aa41084744
3,031
py
Python
html2txt/converters/html2markdown.py
renesugar/html2txt
069ff7048417737f9072dea86dd6a33b31049b2a
[ "MIT" ]
null
null
null
html2txt/converters/html2markdown.py
renesugar/html2txt
069ff7048417737f9072dea86dd6a33b31049b2a
[ "MIT" ]
null
null
null
html2txt/converters/html2markdown.py
renesugar/html2txt
069ff7048417737f9072dea86dd6a33b31049b2a
[ "MIT" ]
2
2021-09-20T21:47:22.000Z
2021-12-10T03:59:58.000Z
import os import sys import argparse from html2txt import parsers #from importlib import reload # reload #reload(parsers) #!/usr/bin/env python3 # Copyright (c) 2020 Rene Sugar. # License: MIT (http://www.opensource.org/licenses/mit-license.php) class Html2Markdown(object): def __init(self): self.root_ = N...
27.0625
111
0.684922
395
3,031
5.189873
0.367089
0.017561
0.041463
0.035122
0.070244
0.070244
0.070244
0.070244
0.049756
0.049756
0
0.012053
0.178819
3,031
111
112
27.306306
0.811571
0.132959
0
0.133333
0
0
0.10848
0
0
0
0
0
0
1
0.106667
false
0
0.053333
0.013333
0.253333
0.026667
0
0
0
null
0
0
0
0
0
0
0
0
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
d391ef9e203cd6b88ad46e17124f330475edc703
6,311
py
Python
models/GAN_D.py
pkulwj1994/AdversarialConsistentScoreMatching
f439f242f004ce06382ed72f2aa7daf9c262abfa
[ "MIT" ]
119
2020-09-09T13:59:28.000Z
2022-03-17T17:04:10.000Z
models/GAN_D.py
pkulwj1994/AdversarialConsistentScoreMatching
f439f242f004ce06382ed72f2aa7daf9c262abfa
[ "MIT" ]
2
2020-11-13T03:26:22.000Z
2021-03-19T23:04:33.000Z
models/GAN_D.py
pkulwj1994/AdversarialConsistentScoreMatching
f439f242f004ce06382ed72f2aa7daf9c262abfa
[ "MIT" ]
19
2020-09-14T05:56:51.000Z
2021-12-28T15:53:34.000Z
import torch import torch.nn.utils.spectral_norm as spectral_norm class Activation(torch.nn.Module): def __init__(self, arch): super().__init__() self.act = torch.nn.LeakyReLU(0.1 if arch == 1 else .02, inplace=True) def forward(self, x): return self.act(x) def weights_init(m): c...
44.758865
118
0.555855
883
6,311
3.799547
0.137033
0.077198
0.077496
0.066766
0.685246
0.661103
0.600596
0.524292
0.49687
0.481371
0
0.055364
0.310252
6,311
140
119
45.078571
0.715369
0.073206
0
0.309091
0
0
0.038937
0.003602
0
0
0
0.007143
0
1
0.072727
false
0
0.018182
0.009091
0.154545
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
d39260545154fd2d5d15f18cd19472a84271771d
4,038
py
Python
rpxdock/tests/body/test_body.py
quecloud/rpxdock
41f7f98f5dacf24fc95897910263a0bec2209e59
[ "Apache-2.0" ]
null
null
null
rpxdock/tests/body/test_body.py
quecloud/rpxdock
41f7f98f5dacf24fc95897910263a0bec2209e59
[ "Apache-2.0" ]
null
null
null
rpxdock/tests/body/test_body.py
quecloud/rpxdock
41f7f98f5dacf24fc95897910263a0bec2209e59
[ "Apache-2.0" ]
1
2020-04-13T20:07:52.000Z
2020-04-13T20:07:52.000Z
import _pickle from time import perf_counter import numpy as np, rpxdock as rp, rpxdock.homog as hm from rpxdock.body import Body def test_body(C2_3hm4, C3_1nza, sym1=2, sym2=3): body1 = Body(C2_3hm4, sym1) body2 = Body(C3_1nza, sym2) assert body1.bvh_bb.max_id() == body1.nres - 1 assert body1.bvh_cen.max_...
33.65
81
0.603269
637
4,038
3.675039
0.268446
0.044425
0.068347
0.050833
0.152499
0.093977
0.058949
0.040154
0.040154
0
0
0.077705
0.244676
4,038
119
82
33.932773
0.689836
0.199108
0
0
0
0
0.020859
0
0
0
0
0
0.206897
1
0.045977
false
0
0.045977
0
0.091954
0.022989
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d3935d1addfb4820d9febfdcde59cfea52e486c1
1,922
py
Python
language_apps/expr2/gen/Expr2Visitor.py
SadraGoudarzdashti/IUSTCompiler
7aa24df7de10030c313ad2e8f3830d9e2b182ce1
[ "MIT" ]
3
2020-12-04T11:01:23.000Z
2022-02-12T19:29:35.000Z
language_apps/expr2/gen/Expr2Visitor.py
SadraGoudarzdashti/IUSTCompiler
7aa24df7de10030c313ad2e8f3830d9e2b182ce1
[ "MIT" ]
null
null
null
language_apps/expr2/gen/Expr2Visitor.py
SadraGoudarzdashti/IUSTCompiler
7aa24df7de10030c313ad2e8f3830d9e2b182ce1
[ "MIT" ]
30
2020-12-04T11:00:19.000Z
2021-12-31T15:59:21.000Z
# Generated from D:/AnacondaProjects/iust_compilers_teaching/grammars\Expr2.g4 by ANTLR 4.8 from antlr4 import * if __name__ is not None and "." in __name__: from .Expr2Parser import Expr2Parser else: from Expr2Parser import Expr2Parser # This class defines a complete generic visitor for a parse tree produced ...
30.507937
91
0.735172
233
1,922
6.021459
0.317597
0.047042
0.078403
0.141126
0.445474
0.445474
0.423378
0.397719
0.397719
0.397719
0
0.037991
0.191988
1,922
63
92
30.507937
0.865422
0.347034
0
0.37037
1
0
0.000811
0
0
0
0
0
0
1
0.37037
false
0
0.111111
0.37037
0.888889
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
1
0
0
0
1
1
0
0
4
d396ca37920e848defb999ee20b01daf407d64e1
34
py
Python
utils/__init__.py
toandaominh1997/ProductDetectionShopee
9fe66b1e96ec3709630d486b66fc13a0fbc55a05
[ "MIT" ]
null
null
null
utils/__init__.py
toandaominh1997/ProductDetectionShopee
9fe66b1e96ec3709630d486b66fc13a0fbc55a05
[ "MIT" ]
null
null
null
utils/__init__.py
toandaominh1997/ProductDetectionShopee
9fe66b1e96ec3709630d486b66fc13a0fbc55a05
[ "MIT" ]
1
2020-07-06T07:15:43.000Z
2020-07-06T07:15:43.000Z
from .utils import get_state_dict
17
33
0.852941
6
34
4.5
1
0
0
0
0
0
0
0
0
0
0
0
0.117647
34
1
34
34
0.9
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
d397ce9d22d04657220849e6b59481774b329fa2
442
py
Python
q2_api_client/clients/refresh_cache/refresh_cache_client.py
jcook00/q2-api-client
4431af164eb4baf52e26e8842e017cad1609a279
[ "BSD-2-Clause" ]
null
null
null
q2_api_client/clients/refresh_cache/refresh_cache_client.py
jcook00/q2-api-client
4431af164eb4baf52e26e8842e017cad1609a279
[ "BSD-2-Clause" ]
null
null
null
q2_api_client/clients/refresh_cache/refresh_cache_client.py
jcook00/q2-api-client
4431af164eb4baf52e26e8842e017cad1609a279
[ "BSD-2-Clause" ]
null
null
null
from q2_api_client.clients.base_q2_client import BaseQ2Client from q2_api_client.endpoints.refresh_cache_endpoints import RefreshCacheEndpoint class RefreshCacheClient(BaseQ2Client): def refresh_cache(self): """POST /refreshCache :return: Response object :rtype: requests.Response ...
29.466667
80
0.744344
48
442
6.583333
0.5625
0.113924
0.056962
0.094937
0
0
0
0
0
0
0
0.01385
0.183258
442
14
81
31.571429
0.861496
0.158371
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
d39b5b5c2f8b7b36185feda5514fb6b6d986e3a3
5,153
py
Python
JumpscaleCore/clients/threebot/ThreebotClient.py
grimpy/jumpscaleX_core
c24d6d47fccc0801e578fedb376ef110f7a00bad
[ "Apache-2.0" ]
null
null
null
JumpscaleCore/clients/threebot/ThreebotClient.py
grimpy/jumpscaleX_core
c24d6d47fccc0801e578fedb376ef110f7a00bad
[ "Apache-2.0" ]
null
null
null
JumpscaleCore/clients/threebot/ThreebotClient.py
grimpy/jumpscaleX_core
c24d6d47fccc0801e578fedb376ef110f7a00bad
[ "Apache-2.0" ]
null
null
null
import nacl from Jumpscale import j import binascii JSConfigBase = j.baseclasses.object_config from nacl.signing import VerifyKey from nacl.public import PrivateKey, PublicKey, SealedBox from Jumpscale.clients.gedis.GedisClient import GedisClientActors class ThreebotClient(JSConfigBase): _SCHEMATEXT = """ @...
37.889706
151
0.619445
618
5,153
4.980583
0.236246
0.05718
0.071475
0.025991
0.144899
0.107862
0.094867
0.094867
0.094867
0.078947
0
0.006818
0.288376
5,153
135
152
38.17037
0.832561
0.126334
0
0.070707
0
0
0.102418
0.016651
0
0
0
0
0.030303
1
0.121212
false
0
0.060606
0.010101
0.313131
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
d39bc4b7aec9047b6724d025f5c54216daae68b1
3,669
py
Python
f5/bigip/tm/analytics/test/unit/test_dos_vis_common.py
hixio-mh/f5-common-python
53038d44afa381b70f6e2bb459f7b9b943f3172d
[ "Apache-2.0" ]
272
2016-02-23T06:05:44.000Z
2022-02-20T02:09:32.000Z
f5/bigip/tm/analytics/test/unit/test_dos_vis_common.py
hixio-mh/f5-common-python
53038d44afa381b70f6e2bb459f7b9b943f3172d
[ "Apache-2.0" ]
1,103
2016-02-11T17:48:03.000Z
2022-02-15T17:13:37.000Z
f5/bigip/tm/analytics/test/unit/test_dos_vis_common.py
hixio-mh/f5-common-python
53038d44afa381b70f6e2bb459f7b9b943f3172d
[ "Apache-2.0" ]
167
2016-02-11T17:48:21.000Z
2022-01-17T20:13:05.000Z
# Copyright 2018 F5 Networks Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
37.824742
91
0.738348
458
3,669
5.722707
0.303493
0.037772
0.048073
0.058375
0.508966
0.426555
0.423502
0.413583
0.317818
0.287295
0
0.020847
0.176342
3,669
96
92
38.21875
0.846459
0.15045
0
0.34375
0
0
0.123146
0.060284
0
0
0
0
0.15625
1
0.15625
false
0
0.140625
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d39c8a12749bed6d31aa0a5acbe582b417d5d34f
2,822
py
Python
clustering_methods/kmeans.py
AlgoLab/celluloid
7d4e9d20563a1c140879433b371fd10a1708b362
[ "MIT" ]
null
null
null
clustering_methods/kmeans.py
AlgoLab/celluloid
7d4e9d20563a1c140879433b371fd10a1708b362
[ "MIT" ]
null
null
null
clustering_methods/kmeans.py
AlgoLab/celluloid
7d4e9d20563a1c140879433b371fd10a1708b362
[ "MIT" ]
1
2019-11-09T02:50:03.000Z
2019-11-09T02:50:03.000Z
import numpy as np from sklearn.cluster import KMeans import argparse, os, sys, errno parser = argparse.ArgumentParser(description='K-means clustering') parser.add_argument('-f', '--file', type=str, required=True, help='SCS matrix') parser.add_argument('-k', type=int, required=True, ...
32.813953
88
0.644578
376
2,822
4.707447
0.332447
0.058757
0.039548
0.021469
0.213559
0.187571
0.187571
0.187571
0.187571
0.187571
0
0.004966
0.215096
2,822
85
89
33.2
0.794131
0.057052
0
0.096774
0
0
0.129518
0.00866
0
0
0
0
0
1
0.016129
false
0.016129
0.064516
0
0.080645
0.064516
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d39cc52a8b68a5236fbfd51eb2a40568ace59d48
9,725
py
Python
uai_tools/uai_tool.py
soar-zhengjian/uai-sdk
e195bd3fb2b97aca7dac6722d332c25b7070481f
[ "Apache-2.0" ]
38
2017-04-26T04:00:09.000Z
2022-02-10T02:51:05.000Z
uai_tools/uai_tool.py
soar-zhengjian/uai-sdk
e195bd3fb2b97aca7dac6722d332c25b7070481f
[ "Apache-2.0" ]
17
2017-11-20T20:47:09.000Z
2022-02-09T23:48:46.000Z
uai_tools/uai_tool.py
soar-zhengjian/uai-sdk
e195bd3fb2b97aca7dac6722d332c25b7070481f
[ "Apache-2.0" ]
28
2017-07-08T05:23:13.000Z
2020-08-18T03:12:27.000Z
# Copyright 2017 The UAI-SDK Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
54.027778
117
0.778303
1,241
9,725
5.771958
0.144239
0.036437
0.058076
0.053609
0.193355
0.154125
0.130392
0.040905
0.040905
0.040905
0
0.001067
0.132648
9,725
179
118
54.329609
0.848133
0.067558
0
0
0
0
0.164807
0
0
0
0
0
0
1
0.006993
false
0
0.202797
0
0.216783
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
d39d87163c302a5224242e13bcd3a257bf4c8bac
22,731
py
Python
lib/extraction/XRR.py
ArnaudHemmerle/JupyLabBook
1975eabc85e73e28432514fea2199fddd033ecfc
[ "MIT" ]
null
null
null
lib/extraction/XRR.py
ArnaudHemmerle/JupyLabBook
1975eabc85e73e28432514fea2199fddd033ecfc
[ "MIT" ]
20
2020-05-07T16:47:14.000Z
2021-04-01T10:15:12.000Z
lib/extraction/XRR.py
ArnaudHemmerle/JupyLabBook
1975eabc85e73e28432514fea2199fddd033ecfc
[ "MIT" ]
null
null
null
# custom libraries from lib.extraction.common import PyNexus as PN from lib.extraction.common import Check_dead_pixels from lib.extraction import PilatusSum as PilatusSum import numpy as np import matplotlib as mpl import matplotlib.pyplot as plt import matplotlib.gridspec as gridspec import matplotlib.colors as color...
36.427885
117
0.607232
3,163
22,731
4.251028
0.101802
0.013759
0.017849
0.021419
0.771233
0.733675
0.712033
0.670608
0.641306
0.627398
0
0.039528
0.284369
22,731
623
118
36.486356
0.787054
0.338524
0
0.566901
0
0.003521
0.094401
0.004197
0
0
0
0
0
1
0.021127
false
0
0.042254
0
0.073944
0.045775
0
0
0
null
0
0
0
0
1
1
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
3
d39eeefc2b81801a28da34b63dbf23e3d714e769
888
py
Python
aiof/data/goal.py
gkama/aiof-metadata
1b29e39c644bc3f020884956e5e4741ce5b03550
[ "MIT" ]
3
2020-06-07T22:24:06.000Z
2021-08-10T05:14:09.000Z
aiof/data/goal.py
gkama/aiof-metadata
1b29e39c644bc3f020884956e5e4741ce5b03550
[ "MIT" ]
2
2021-04-21T13:54:14.000Z
2021-06-10T18:06:01.000Z
aiof/data/goal.py
kamacharovs/aiof-metadata
1b29e39c644bc3f020884956e5e4741ce5b03550
[ "MIT" ]
null
null
null
from datetime import datetime from pydantic import BaseModel from typing import Optional, List from aiof.data.asset import Asset from aiof.data.liability import Liability # Financial Goals # - Mandatory short-term goals class Goal(BaseModel): name: str type: str amount: Optional[float] currentAmou...
23.368421
41
0.72973
97
888
6.680412
0.463918
0.180556
0.037037
0
0
0
0
0
0
0
0
0
0.195946
888
38
42
23.368421
0.907563
0.051802
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.166667
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
2
d3a0e130e8b9d7d7c42e0164502452cf061d2603
499
py
Python
app/controllers/__init__.py
s1hofmann/MrHyde2.0-Backbone
d1d95cb8ba3e2db60c75218625453b915e87e1bf
[ "MIT" ]
3
2017-05-14T20:11:49.000Z
2018-04-12T03:56:06.000Z
app/controllers/__init__.py
s1hofmann/MrHyde2.0-Backbone
d1d95cb8ba3e2db60c75218625453b915e87e1bf
[ "MIT" ]
null
null
null
app/controllers/__init__.py
s1hofmann/MrHyde2.0-Backbone
d1d95cb8ba3e2db60c75218625453b915e87e1bf
[ "MIT" ]
null
null
null
from flask import Blueprint from app import current_config jekyll = Blueprint('jekyll', __name__, static_folder=current_config.STATICDIR, template_folder=current_config.TEMPLATEDIR) status = Blueprint('status', __name__, s...
29.352941
62
0.655311
47
499
6.553191
0.340426
0.211039
0.246753
0.149351
0.493506
0.493506
0.493506
0.493506
0.493506
0.493506
0
0
0.292585
499
16
63
31.1875
0.872521
0
0
0.5
0
0
0.024048
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.25
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
d3a1dc062b30267f8b6a7cc3486fac2bf169ce7d
1,808
py
Python
tests/test_util.py
BrechtBa/knxpy
9e486f4a4623f586091e72cc6472441f3efbdd72
[ "MIT" ]
null
null
null
tests/test_util.py
BrechtBa/knxpy
9e486f4a4623f586091e72cc6472441f3efbdd72
[ "MIT" ]
null
null
null
tests/test_util.py
BrechtBa/knxpy
9e486f4a4623f586091e72cc6472441f3efbdd72
[ "MIT" ]
null
null
null
#!/usr/bin/env/ python ################################################################################ # Copyright (c) 2016 Daniel Matuschek # This file is part of knxpy. # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation fil...
34.769231
80
0.626659
244
1,808
4.487705
0.393443
0.051142
0.138813
0.175342
0.292237
0.292237
0.226484
0.069406
0
0
0
0.039946
0.183075
1,808
51
81
35.45098
0.701422
0.380531
0
0
0
0
0.046463
0
0
0
0
0
0.363636
1
0.363636
false
0
0.136364
0
0.545455
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
d3a21b10fca0823c4f8754f8d101be5090122c5c
122
py
Python
py/twombly/__init__.py
zshipko/libtwombly
6a4b74b0a293da2a50e06e6fc9850327e01c7678
[ "MIT" ]
7
2015-09-10T16:33:40.000Z
2018-07-15T07:54:41.000Z
py/twombly/__init__.py
zshipko/libtwombly
6a4b74b0a293da2a50e06e6fc9850327e01c7678
[ "MIT" ]
2
2015-03-21T01:18:11.000Z
2018-03-06T06:24:22.000Z
py/twombly/__init__.py
zshipko/libtwombly
6a4b74b0a293da2a50e06e6fc9850327e01c7678
[ "MIT" ]
2
2015-09-08T08:55:29.000Z
2020-01-09T08:42:27.000Z
from __future__ import absolute_import from .drawing import * try: from . import path except ImportError: pass
12.2
38
0.737705
15
122
5.666667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.221311
122
9
39
13.555556
0.894737
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.166667
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
0
0
0
5
d3a31c5c3c5461ce7d67c2eebcd521d785635f6d
815
py
Python
QUIS SISTER 1/Muhammad Syiarul Amrullah/Semaphore.py
muhammadarl/Python-Pararel_SISTER
c38c694b059c545f66c7f4dfa50746bffc6e4e4f
[ "MIT" ]
null
null
null
QUIS SISTER 1/Muhammad Syiarul Amrullah/Semaphore.py
muhammadarl/Python-Pararel_SISTER
c38c694b059c545f66c7f4dfa50746bffc6e4e4f
[ "MIT" ]
2
2022-03-23T13:29:15.000Z
2022-03-23T15:55:47.000Z
QUIS SISTER 1/Muhammad Syiarul Amrullah/Semaphore.py
muhammadarl/Python-Pararel_SISTER
c38c694b059c545f66c7f4dfa50746bffc6e4e4f
[ "MIT" ]
2
2022-03-23T03:36:52.000Z
2022-03-23T03:41:55.000Z
import logging import threading import time import random LOG_FORMAT = '%(asctime)s %(threadName)-17s %(levelname)-8s %(message)s' logging.basicConfig(level=logging.INFO, format=LOG_FORMAT) semaphore = threading.Semaphore(0) item = 0 def pelanggan(): logging.info('Pelanggan meminta antrian') semaphore.acqu...
19.404762
72
0.655215
100
815
5.24
0.47
0.083969
0.076336
0
0
0
0
0
0
0
0
0.027907
0.208589
815
41
73
19.878049
0.784496
0
0
0
0
0
0.188957
0
0
0
0
0
0
1
0.107143
false
0
0.142857
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
d3a46ac9b50468413362c945c49af04d8ae59b76
10,094
py
Python
customtkinter/customtkinter_entry.py
pythub-project/CustomTkinter
bb1fe2562517928dde5a98e0dce650b9a3ef2380
[ "CC0-1.0" ]
null
null
null
customtkinter/customtkinter_entry.py
pythub-project/CustomTkinter
bb1fe2562517928dde5a98e0dce650b9a3ef2380
[ "CC0-1.0" ]
null
null
null
customtkinter/customtkinter_entry.py
pythub-project/CustomTkinter
bb1fe2562517928dde5a98e0dce650b9a3ef2380
[ "CC0-1.0" ]
null
null
null
import tkinter import sys from .customtkinter_tk import CTk from .customtkinter_frame import CTkFrame from .appearance_mode_tracker import AppearanceModeTracker from .customtkinter_theme_manager import CTkThemeManager from .customtkinter_canvas import CTkCanvas from .customtkinter_settings import CTkSettings from .cus...
42.953191
167
0.614821
1,151
10,094
5.191138
0.149435
0.045188
0.040167
0.05523
0.373389
0.259414
0.2159
0.200669
0.161841
0.082678
0
0.006521
0.285912
10,094
234
168
43.136752
0.82242
0.051417
0
0.176796
0
0
0.055201
0.0023
0
0
0
0
0
1
0.088398
false
0.005525
0.049724
0
0.176796
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
d3a6ae548c3d655debbdd8dce43920e79c4f2ed3
883
py
Python
src/python/entityfx/dhrystone_benchmark.py
Civil/EntityFX-Bench
ccc664e372f2319e53cbd96fb22317a76eff2b2a
[ "MIT" ]
11
2020-10-21T08:38:26.000Z
2022-01-28T09:09:31.000Z
src/python/entityfx/dhrystone_benchmark.py
Civil/EntityFX-Bench
ccc664e372f2319e53cbd96fb22317a76eff2b2a
[ "MIT" ]
2
2021-12-14T20:11:53.000Z
2021-12-21T11:00:37.000Z
src/python/entityfx/dhrystone_benchmark.py
Civil/EntityFX-Bench
ccc664e372f2319e53cbd96fb22317a76eff2b2a
[ "MIT" ]
7
2020-10-13T12:03:02.000Z
2022-01-29T15:33:04.000Z
from entityfx.benchmark_base import BenchmarkBase from entityfx.dhrystone2 import Dhrystone2 from entityfx.writer import Writer class DhrystoneBenchmark(BenchmarkBase): def __init__(self, writer: Writer, print_to_console : bool=True, is_enabled : bool=True) -> None: super().__init__(writer, print_to...
33.961538
101
0.688562
97
883
5.969072
0.412371
0.11399
0.044905
0.069085
0
0
0
0
0
0
0
0.008608
0.210646
883
25
102
35.32
0.822095
0
0
0
0
0
0.054422
0
0
0
0
0
0
1
0.222222
false
0.055556
0.166667
0.055556
0.555556
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
d3a6c62c5a61e17b49724465a6921872c6a131d6
694
py
Python
dorsual/urls.py
thodel/heraldik
5be41c9a63f971723f8601757d554a4759eba48e
[ "MIT" ]
null
null
null
dorsual/urls.py
thodel/heraldik
5be41c9a63f971723f8601757d554a4759eba48e
[ "MIT" ]
1
2020-06-16T10:12:48.000Z
2020-06-17T11:58:14.000Z
dorsual/urls.py
thodel/heraldik
5be41c9a63f971723f8601757d554a4759eba48e
[ "MIT" ]
1
2020-06-16T09:50:58.000Z
2020-06-16T09:50:58.000Z
from django.urls import path from . import views urlpatterns = [ path("", views.IndexView.as_view(), name="index"), path('loginTranskribus/', views.loginTranskribus, name='loginTranskribus'), path('getCollectionList/', views.getCollectionList, name='getCollectionList'), path('getDocume...
46.266667
86
0.693084
58
694
8.275862
0.327586
0
0
0
0
0
0
0
0
0
0
0
0.158501
694
14
87
49.571429
0.821918
0
0
0
0
0
0.311239
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d3a8a2f79d19fbc852c06ff0ec943aa182f437a2
458
py
Python
tests/conftest.py
aanania/PyXTBClient
f0d70e03ea0a57e6f57fdd8d2ed1e596e732a1a3
[ "MIT" ]
11
2018-09-21T21:30:42.000Z
2021-03-11T08:46:35.000Z
tests/conftest.py
aanania/PyXTBClient
f0d70e03ea0a57e6f57fdd8d2ed1e596e732a1a3
[ "MIT" ]
1
2020-04-10T10:47:26.000Z
2020-04-10T10:47:26.000Z
tests/conftest.py
aanania/PyXTBClient
f0d70e03ea0a57e6f57fdd8d2ed1e596e732a1a3
[ "MIT" ]
3
2019-03-07T14:07:25.000Z
2020-04-10T15:28:09.000Z
from client import XTBClient from settings import XTB_USER, XTB_PASS import pytest @pytest.fixture(scope="session") def xtb_client(): client = XTBClient() logged_in_msg = client.login(XTB_USER, XTB_PASS) assert logged_in_msg.get('status') is True, 'Error code {}'.format(logged_in_msg.get('errorCode')) ...
28.625
102
0.722707
64
458
5
0.515625
0.075
0.103125
0.0875
0
0
0
0
0
0
0
0
0.157205
458
15
103
30.533333
0.829016
0
0
0
0
0
0.131004
0
0
0
0
0
0.166667
1
0.083333
false
0.166667
0.25
0
0.333333
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
d3a8fa7d4f538e6d4f3b23579f159cc8cfadaa69
480
py
Python
4/oop6.py
ikramulkayes/Python_season2
d057460d07c5d2d218ecd52e08c1d355add44df2
[ "MIT" ]
null
null
null
4/oop6.py
ikramulkayes/Python_season2
d057460d07c5d2d218ecd52e08c1d355add44df2
[ "MIT" ]
null
null
null
4/oop6.py
ikramulkayes/Python_season2
d057460d07c5d2d218ecd52e08c1d355add44df2
[ "MIT" ]
null
null
null
class Vehicle: def __init__(self): self.lst = [0,0] def moveUp(self): self.lst[1] += 1 def moveDown(self): self.lst[1] -= 1 def moveRight(self): self.lst[0] += 1 def moveLeft(self): self.lst[0] -= 1 def print_position(self): print(tuple(self.lst)) ...
20
30
0.604167
67
480
4.19403
0.238806
0.149466
0.19573
0.270463
0.227758
0.227758
0
0
0
0
0
0.027322
0.2375
480
24
31
20
0.740437
0
0
0.181818
0
0
0
0
0
0
0
0
0
1
0.272727
false
0
0
0
0.318182
0.272727
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
0
0
0
3
d3a991c0aed58b17f188cc2571af2e99f9fa68bc
59
py
Python
test_pyright_hanging_3.py
vn17/bandit
50f382eba0ffa5da2fe70d2f0de7403a40ab2ec3
[ "Apache-2.0" ]
null
null
null
test_pyright_hanging_3.py
vn17/bandit
50f382eba0ffa5da2fe70d2f0de7403a40ab2ec3
[ "Apache-2.0" ]
null
null
null
test_pyright_hanging_3.py
vn17/bandit
50f382eba0ffa5da2fe70d2f0de7403a40ab2ec3
[ "Apache-2.0" ]
1
2022-01-28T23:09:01.000Z
2022-01-28T23:09:01.000Z
import numpy as np reveal_type(np.zeros(1) - np.zeros(1))
14.75
38
0.711864
12
59
3.416667
0.666667
0.341463
0.390244
0
0
0
0
0
0
0
0
0.039216
0.135593
59
3
39
19.666667
0.764706
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
6
d3aad7914ff38df51594d2a2859994f30a2abace
15,233
py
Python
attendance_gui.py
romiembaye/wireless-student-attendance-system
6609ee61e8b5d3be9938c94dbd2159e87d4a3198
[ "MIT" ]
null
null
null
attendance_gui.py
romiembaye/wireless-student-attendance-system
6609ee61e8b5d3be9938c94dbd2159e87d4a3198
[ "MIT" ]
null
null
null
attendance_gui.py
romiembaye/wireless-student-attendance-system
6609ee61e8b5d3be9938c94dbd2159e87d4a3198
[ "MIT" ]
null
null
null
import os import csv import smtplib import datetime import openpyxl import threading from tkinter import * from email import encoders from tkinter import messagebox import paho.mqtt.client as mqtt from email.mime.text import MIMEText from email.mime.base import MIMEBase from email.mime.multipart import MIMEMultipart ...
45.471642
114
0.590297
1,446
15,233
6.188105
0.231674
0.025034
0.024139
0.034198
0.219379
0.152436
0.100358
0.070407
0.057667
0.023245
0
0.011487
0.297052
15,233
334
115
45.607784
0.82415
0.018906
0
0.091228
0
0
0.066521
0.001437
0
0
0
0
0
1
0.042105
false
0.031579
0.045614
0
0.129825
0.035088
0
0
0
null
0
0
0
0
0
0
0
0
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
d3ab1ebd9e7f99007d2c559d8136040e04d0a3aa
1,626
py
Python
recordpump.py
rsanger/heatpump-controller
5007e4abf8d4f3b0be5c212663f219209324f8ec
[ "MIT" ]
3
2018-02-07T17:51:56.000Z
2019-01-31T01:47:41.000Z
recordpump.py
rsanger/heatpump-controller
5007e4abf8d4f3b0be5c212663f219209324f8ec
[ "MIT" ]
null
null
null
recordpump.py
rsanger/heatpump-controller
5007e4abf8d4f3b0be5c212663f219209324f8ec
[ "MIT" ]
3
2017-03-22T18:53:48.000Z
2021-12-28T13:53:51.000Z
# Copyright (c) 2017 Richard Sanger # # Licensed under MIT # # A simple debugging script to record and decode mode2 messages LIRC # and decodes them import os import struct import select from heatpump import HeatPump PULSE_BIT = 0x01000000 PULSE_MASK = 0x00FFFFFF f = os.open("/dev/lirc0", os.O_RDONLY) assert f > 0 g...
25.40625
68
0.473555
179
1,626
4.217877
0.47486
0.039735
0.013245
0
0
0
0
0
0
0
0
0.042918
0.426814
1,626
63
69
25.809524
0.767167
0.111316
0
0.142857
0
0
0.036934
0
0
0
0.013937
0
0.040816
1
0.020408
false
0
0.081633
0
0.122449
0.163265
0
0
0
null
0
0
0
0
0
0
0
0
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
d3ab5af88228deddb8edfd51c44a2a3022f1333d
119
py
Python
server/src/dashboard/dash_config.py
openml/openml.org
dadc4f79c159058776500b204977a1062b927d4c
[ "BSD-3-Clause" ]
16
2018-10-17T19:35:11.000Z
2022-03-31T23:37:00.000Z
server/src/dashboard/dash_config.py
PortML/openml.org
b526fae6c0ba2df0ccebf60f1dd703368ed394ec
[ "BSD-3-Clause" ]
192
2018-10-17T17:31:03.000Z
2022-03-27T23:55:51.000Z
server/src/dashboard/dash_config.py
PortML/openml.org
b526fae6c0ba2df0ccebf60f1dd703368ed394ec
[ "BSD-3-Clause" ]
8
2019-04-15T11:47:32.000Z
2021-12-15T13:23:54.000Z
# Config parameters for dash app BASE_URL = "http://127.0.0.1:5000/dashboard/" DASH_CACHING = True COMMON_CACHE = True
23.8
45
0.747899
20
119
4.3
0.85
0
0
0
0
0
0
0
0
0
0
0.096154
0.12605
119
4
46
29.75
0.730769
0.252101
0
0
0
0
0.367816
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d3adcd548eceda1d220a8df2a63b93a12edcfa89
15,139
py
Python
seqvec/seqvec.py
Rostlab/SeqVec
0f10e187b7160f63c5f2d38f1e12425889638179
[ "MIT" ]
71
2019-05-08T18:57:46.000Z
2022-03-23T17:15:45.000Z
seqvec/seqvec.py
Rostlab/SeqVec
0f10e187b7160f63c5f2d38f1e12425889638179
[ "MIT" ]
13
2019-11-26T13:51:11.000Z
2022-01-12T14:46:38.000Z
seqvec/seqvec.py
Rostlab/SeqVec
0f10e187b7160f63c5f2d38f1e12425889638179
[ "MIT" ]
10
2019-11-08T12:56:04.000Z
2022-01-16T04:39:18.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import argparse import gzip import json import logging import urllib.request from pathlib import Path from typing import Dict, List, Tuple, Generator import h5py import numpy as np import torch from allennlp.commands.elmo import ElmoEmbedder from tqdm import tqdm logger...
35.874408
166
0.625867
1,937
15,139
4.769231
0.234383
0.012124
0.018402
0.010392
0.163564
0.108249
0.078264
0.054449
0.017103
0
0
0.008443
0.28027
15,139
421
167
35.95962
0.839391
0.199221
0
0.202055
0
0.013699
0.245327
0
0
0
0
0
0.006849
1
0.030822
false
0
0.041096
0
0.085616
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
d3add85756a4fe737520f67737899256ef1e17ce
3,261
py
Python
grslra/tools.py
clemenshage/grslra
00f61b4ef08208d12e8e803d10f8ebbe16d8614a
[ "MIT" ]
null
null
null
grslra/tools.py
clemenshage/grslra
00f61b4ef08208d12e8e803d10f8ebbe16d8614a
[ "MIT" ]
null
null
null
grslra/tools.py
clemenshage/grslra
00f61b4ef08208d12e8e803d10f8ebbe16d8614a
[ "MIT" ]
null
null
null
import numpy as np import json import os def innerprod(A, B): # This function computes the standard inner product between two matrices via vectorization if isinstance(A, np.ndarray) and isinstance(B, np.ndarray): return np.dot(A.flatten(), B.flatten()) elif isinstance(A, tuple) and isinstance(B, t...
25.677165
94
0.567924
557
3,261
3.231598
0.24237
0.022222
0.013333
0.006667
0.087778
0.05
0.05
0.05
0.028889
0.028889
0
0.020025
0.264949
3,261
126
95
25.880952
0.730914
0.062864
0
0.141304
0
0
0.015727
0
0
0
0
0
0
1
0.119565
false
0
0.032609
0
0.304348
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
d3ae82623bff425e28af5f552b9b90f5490745b4
780
py
Python
flattentool/tests/test_cli.py
Xtuden-com/flatten-tool
c67c918daf9b940b08cb43bdd9c00371ba5ef2f1
[ "MIT" ]
86
2015-07-16T10:23:47.000Z
2022-03-29T08:11:40.000Z
flattentool/tests/test_cli.py
Xtuden-com/flatten-tool
c67c918daf9b940b08cb43bdd9c00371ba5ef2f1
[ "MIT" ]
275
2015-03-31T14:51:31.000Z
2022-03-07T14:54:05.000Z
flattentool/tests/test_cli.py
Xtuden-com/flatten-tool
c67c918daf9b940b08cb43bdd9c00371ba5ef2f1
[ "MIT" ]
16
2015-11-06T15:41:30.000Z
2021-07-16T00:18:32.000Z
# hint: test_argparse is provided by libpythonX.Y-testsuite on ubuntu from test.test_argparse import ArgumentParserError, stderr_to_parser_error import pytest from flattentool import cli def test_create_parser(): """ Command line arguments that should be acceptable """ parser = cli.create_parser() ...
27.857143
76
0.735897
101
780
5.49505
0.534653
0.086486
0.05045
0.068468
0.104505
0
0
0
0
0
0
0
0.176923
780
27
77
28.888889
0.864486
0.226923
0
0.166667
0
0
0.112676
0
0
0
0
0
0.166667
1
0.166667
false
0
0.25
0
0.416667
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
d3af01baabb0bf8a6d526c06bb838f56579f9368
1,758
py
Python
src/ui/path_item_ui.py
yemenPython/TheBossBaby
86e447b3fa360646a179e62c70b1750da5427541
[ "MIT" ]
1
2021-12-16T16:31:29.000Z
2021-12-16T16:31:29.000Z
src/ui/path_item_ui.py
yemenPython/TheBossBaby
86e447b3fa360646a179e62c70b1750da5427541
[ "MIT" ]
null
null
null
src/ui/path_item_ui.py
yemenPython/TheBossBaby
86e447b3fa360646a179e62c70b1750da5427541
[ "MIT" ]
1
2021-12-16T16:31:35.000Z
2021-12-16T16:31:35.000Z
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'path_item.ui' # # Created by: PyQt5 UI code generator 5.15.0 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless you know what you are doing. from PyQt5 import QtCore, Qt...
38.217391
80
0.686007
224
1,758
5.267857
0.40625
0.071186
0.055932
0.068644
0.159322
0.055932
0.055932
0
0
0
0
0.024858
0.19909
1,758
45
81
39.066667
0.81321
0.155859
0
0
1
0
0.069783
0
0
0
0
0
0
1
0.064516
false
0
0.032258
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d3af03d0b8d4cec429e097fd2c982c0b1aff5a01
681
py
Python
geo_to_csv.py
simberaj/mobilib
ae350d095a34f53704bd4aaaf7f45e573bda779a
[ "MIT" ]
null
null
null
geo_to_csv.py
simberaj/mobilib
ae350d095a34f53704bd4aaaf7f45e573bda779a
[ "MIT" ]
null
null
null
geo_to_csv.py
simberaj/mobilib
ae350d095a34f53704bd4aaaf7f45e573bda779a
[ "MIT" ]
null
null
null
"""Transform a geospatial file to a GeoCSV (WKT).""" import operator import geopandas as gpd import mobilib.argparser parser = mobilib.argparser.default(__doc__) parser.add_argument('in_file', help='GDAL-compatible file') parser.add_argument('out_file', help='path to output CSV') if __name__ == '__main__': ar...
29.608696
79
0.688693
103
681
4.252427
0.485437
0.10274
0.118721
0
0
0
0
0
0
0
0
0.001736
0.154185
681
22
80
30.954545
0.758681
0.067548
0
0
0
0
0.131955
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d3af6e41ab30d1ce91c30bacdb82ca34f8dd79a5
1,751
py
Python
modify-subjects/utils.py
cacosandon/are-you-looking
be25d799eed452ddfd1ff393fddd53897ef94a4a
[ "MIT" ]
null
null
null
modify-subjects/utils.py
cacosandon/are-you-looking
be25d799eed452ddfd1ff393fddd53897ef94a4a
[ "MIT" ]
null
null
null
modify-subjects/utils.py
cacosandon/are-you-looking
be25d799eed452ddfd1ff393fddd53897ef94a4a
[ "MIT" ]
null
null
null
import json import sys def load_dataset(split): data = {} if split == 'synthetic': with open('tasks/R2R-pano/data/R2R_literal_speaker_data_augmentation_paths.json') as f: data = json.load(f) else: with open('tasks/R2R-pano/data/R2R_%s.json' % split) as f: data = json...
36.479167
106
0.61679
228
1,751
4.635965
0.350877
0.030274
0.008515
0.037843
0.302744
0.272469
0.242195
0.056764
0.056764
0.056764
0
0.012121
0.246145
1,751
47
107
37.255319
0.787879
0.244432
0
0.285714
0
0
0.232394
0.162754
0
0
0
0
0
1
0.107143
false
0
0.071429
0
0.214286
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
d3afd7ece6c84d77e23173308d21099c79031ed6
7,969
py
Python
server/app.py
Algoanna/goanna-run
4c5c0d83238cfa0b7cf552a2fabeaadd23def22d
[ "MIT" ]
null
null
null
server/app.py
Algoanna/goanna-run
4c5c0d83238cfa0b7cf552a2fabeaadd23def22d
[ "MIT" ]
null
null
null
server/app.py
Algoanna/goanna-run
4c5c0d83238cfa0b7cf552a2fabeaadd23def22d
[ "MIT" ]
null
null
null
import os, csv import numpy as np import urllib.request, json from flask import Flask, escape, request, render_template, jsonify from leaderboard.leaderboard import Leaderboard import requests import lxml.html as lh import pandas as pd from algosdk.v2client import algod from algosdk import account, mnemonic from co...
31.876
94
0.583762
936
7,969
4.870727
0.237179
0.026102
0.015354
0.021057
0.383198
0.347445
0.347445
0.329458
0.307962
0.273744
0
0.01248
0.286109
7,969
249
95
32.004016
0.788891
0.11093
0
0.218391
0
0
0.113993
0.015389
0
0
0
0
0
1
0.074713
false
0.045977
0.091954
0.011494
0.252874
0.074713
0
0
0
null
0
0
0
0
0
0
0
0
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
6c8f1368b4b2faf32d859d74436012deac4e2f27
2,827
py
Python
Code/IPA/dijkstra.py
Babdus/Protolanguage
050aeed5e7ac5905515a887dcbab434457ae2f47
[ "MIT" ]
4
2019-06-14T09:31:51.000Z
2019-11-14T22:45:36.000Z
Code/IPA/dijkstra.py
Babdus/Protolanguage
050aeed5e7ac5905515a887dcbab434457ae2f47
[ "MIT" ]
2
2019-04-25T14:09:42.000Z
2021-06-11T12:55:42.000Z
Code/IPA/dijkstra.py
Babdus/Protolanguage
050aeed5e7ac5905515a887dcbab434457ae2f47
[ "MIT" ]
null
null
null
from fibonacci_heap_mod import Fibonacci_heap as fh from IPA.IPAData import * def is_valid_sound(tup): features = set(tup) return (len(features & places) < 2 or (len(features & {'AL', 'PA'}) == 2 and len(features & places) == 2)) and len(features & manners) < 2 def neighbours(vertex, whole_set, distances): ...
41.573529
142
0.597099
361
2,827
4.501385
0.232687
0.059077
0.029538
0.036923
0.262154
0.187692
0.124923
0.124923
0.105846
0.105846
0
0.016857
0.286523
2,827
67
143
42.19403
0.788795
0
0
0.111111
0
0
0.009197
0
0
0
0
0
0
1
0.063492
false
0
0.031746
0
0.15873
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