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
01147e4a82a4a696af3efd6740c7aef0e620cc34
129
py
Python
rBN/utils/eval.py
hiroki-kyoto/LogicNet
a9105c38c60fec8e74c7d039e58625c9b3b3e691
[ "MIT" ]
null
null
null
rBN/utils/eval.py
hiroki-kyoto/LogicNet
a9105c38c60fec8e74c7d039e58625c9b3b3e691
[ "MIT" ]
null
null
null
rBN/utils/eval.py
hiroki-kyoto/LogicNet
a9105c38c60fec8e74c7d039e58625c9b3b3e691
[ "MIT" ]
null
null
null
import torch import torch.nn as nn import torch.nn.functional as F def eval(model: nn.Module, data, weight_path: str): pass
18.428571
51
0.744186
23
129
4.130435
0.652174
0.347368
0.273684
0
0
0
0
0
0
0
0
0
0.170543
129
7
52
18.428571
0.88785
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0.2
0.6
0
0.8
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
0
1
1
0
1
0
0
7
0146fb0691528b5c331553be5368a038bea5f39a
46
py
Python
Release/Tests/AnalysisTest/Python.VS.TestData/Grammar/ExecStmt.py
rsumner33/PTVS
f5d67cff8c7bb32992dd4f77c0dfddaca6071250
[ "Apache-2.0" ]
null
null
null
Release/Tests/AnalysisTest/Python.VS.TestData/Grammar/ExecStmt.py
rsumner33/PTVS
f5d67cff8c7bb32992dd4f77c0dfddaca6071250
[ "Apache-2.0" ]
null
null
null
Release/Tests/AnalysisTest/Python.VS.TestData/Grammar/ExecStmt.py
rsumner33/PTVS
f5d67cff8c7bb32992dd4f77c0dfddaca6071250
[ "Apache-2.0" ]
1
2020-12-09T10:16:23.000Z
2020-12-09T10:16:23.000Z
exec foo exec foo in bar exec foo in bar, baz
15.333333
20
0.73913
12
46
2.916667
0.5
0.6
0.514286
0.685714
0
0
0
0
0
0
0
0
0.217391
46
3
20
15.333333
0.944444
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
1
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
7
0149bd1e4b96d3898353cfff34dce891d13a9168
269
py
Python
notebook/random_random.py
vhn0912/python-snippets
80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038
[ "MIT" ]
174
2018-05-30T21:14:50.000Z
2022-03-25T07:59:37.000Z
notebook/random_random.py
vhn0912/python-snippets
80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038
[ "MIT" ]
5
2019-08-10T03:22:02.000Z
2021-07-12T20:31:17.000Z
notebook/random_random.py
vhn0912/python-snippets
80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038
[ "MIT" ]
53
2018-04-27T05:26:35.000Z
2022-03-25T07:59:37.000Z
import random print(random.random()) # 0.4496839011176701 random.seed(0) print(random.random()) # 0.8444218515250481 print(random.random()) # 0.7579544029403025 random.seed(0) print(random.random()) # 0.8444218515250481 print(random.random()) # 0.7579544029403025
14.157895
22
0.758364
33
269
6.181818
0.242424
0.269608
0.416667
0.441176
0.77451
0.77451
0.77451
0.77451
0.77451
0.77451
0
0.355102
0.089219
269
18
23
14.944444
0.477551
0.349442
0
0.875
0
0
0
0
0
0
0
0
0
1
0
true
0
0.125
0
0.125
0.625
0
0
0
null
1
1
1
0
1
1
1
1
1
0
1
0
0
0
0
0
1
0
0
1
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
13
6dd2b1fb20e0bfa3e682005711696fdb77563e53
6,393
py
Python
tests/test_magics.py
davidesarra/jupyter_spaces
3152b226e14f5c9b21ae9e997efca50ff10b7757
[ "MIT" ]
24
2018-05-24T16:50:43.000Z
2021-09-07T00:34:33.000Z
tests/test_magics.py
davidesarra/jupyter_spaces
3152b226e14f5c9b21ae9e997efca50ff10b7757
[ "MIT" ]
15
2020-04-20T08:45:04.000Z
2021-03-26T07:14:53.000Z
tests/test_magics.py
davidesarra/jupyter_spaces
3152b226e14f5c9b21ae9e997efca50ff10b7757
[ "MIT" ]
2
2018-07-02T16:03:07.000Z
2022-03-30T22:40:45.000Z
from pytest import raises def test_space_can_access_user_namespace_references(ip): ip.run_cell(raw_cell="x = 100") ip.run_cell_magic(magic_name="space", line="tomato", cell="x") def test_space_references_prioritized_over_user_namespace_references(ip): ip.run_cell(raw_cell="x = 100") ip.run_cell_magi...
39.462963
87
0.713906
1,033
6,393
4.072604
0.087125
0.067744
0.117661
0.109817
0.897076
0.878773
0.85952
0.803185
0.790112
0.757547
0
0.020784
0.134522
6,393
161
88
39.708075
0.739563
0
0
0.539823
0
0.026549
0.22071
0.014547
0
0
0
0
0.19469
1
0.212389
false
0
0.061947
0
0.274336
0.017699
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
7
a3048b47315de4a38a708e652e230bf44746bfeb
10,355
py
Python
snake_game.py
JehunYoo/SnakeRL
3635e2e5bcd6d3147cafa90e57471dbc5587d49a
[ "MIT" ]
null
null
null
snake_game.py
JehunYoo/SnakeRL
3635e2e5bcd6d3147cafa90e57471dbc5587d49a
[ "MIT" ]
null
null
null
snake_game.py
JehunYoo/SnakeRL
3635e2e5bcd6d3147cafa90e57471dbc5587d49a
[ "MIT" ]
null
null
null
<<<<<<< HEAD ''' Game Description valid coordinate : ([0, 380], [0, 380]) pygame 좌표가 x축 방향은 똑같은데 y축 방향이 반대에 주의! ''' import pygame from pygame.locals import * import random, time class Snake(): def __init__(self, x, y): self.x = x # head self.y = y # head self.length = 1 self.go = 1...
30.455882
101
0.561758
1,421
10,355
3.983814
0.104856
0.026497
0.034976
0.024731
0.988871
0.988871
0.988871
0.988871
0.988871
0.988871
0
0.028302
0.303911
10,355
340
102
30.455882
0.757075
0.05746
0
0.984375
0
0.027344
0.019558
0
0
0
0
0.005882
0.007813
0
null
null
0
0.023438
null
null
0.039063
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
1
0
0
0
0
0
0
0
0
8
096ca815f3ba365f32e9b9f794d729151f466436
13,337
py
Python
utils/cloud/cloud_client/api/packages_api.py
alexfdo/asr_eval
d1573cc3113ce9df1ae64c3b91b5f495e2cff9a3
[ "MIT" ]
3
2020-03-06T17:20:34.000Z
2021-09-09T09:18:48.000Z
utils/cloud/cloud_client/api/packages_api.py
alexfdo/asr_eval
d1573cc3113ce9df1ae64c3b91b5f495e2cff9a3
[ "MIT" ]
1
2020-02-03T18:25:08.000Z
2020-02-03T18:25:08.000Z
utils/cloud/cloud_client/api/packages_api.py
alexfdo/asr_eval
d1573cc3113ce9df1ae64c3b91b5f495e2cff9a3
[ "MIT" ]
1
2020-01-29T19:47:54.000Z
2020-01-29T19:47:54.000Z
# coding: utf-8 """ ASR documentation No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: 1.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import impor...
38.324713
129
0.610032
1,570
13,337
4.928662
0.101911
0.054795
0.062032
0.030757
0.925433
0.925433
0.915741
0.896743
0.896743
0.895193
0
0.018747
0.296094
13,337
347
130
38.435159
0.805496
0.316113
0
0.79558
1
0
0.20444
0.063991
0
0
0
0
0
1
0.038674
false
0
0.022099
0
0.116022
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
097748848d694a8ecad028ff57b9e7498b1f917a
10,488
py
Python
tests/ocd_backend/items/ra_nijmegen.py
openstate/open-cultuur-data
57cad9d221594cc8dddb34124e19dfbbde73e129
[ "CC-BY-4.0" ]
13
2015-02-27T01:46:31.000Z
2021-12-27T18:08:31.000Z
tests/ocd_backend/items/ra_nijmegen.py
openstate/open-archaeology-data
c16b36f7ac90f90e6ffa5c839783b6ff34969a08
[ "CC-BY-4.0" ]
68
2015-01-05T15:15:30.000Z
2022-03-11T23:13:05.000Z
tests/ocd_backend/items/ra_nijmegen.py
openstate/open-cultuur-data
57cad9d221594cc8dddb34124e19dfbbde73e129
[ "CC-BY-4.0" ]
10
2015-01-09T14:01:07.000Z
2018-04-13T14:27:07.000Z
import json import os from ocd_backend.items.ra_nijmegen import ( NijmegenGrintenItem, NijmegenDoornroosjeItem, NijmegenVierdaagseItem) from . import ItemTestCase class NijmegenGrintenItemTestCase(ItemTestCase): def setUp(self): super(NijmegenGrintenItemTestCase, self).setUp() self.PWD = os....
37.591398
77
0.624428
1,161
10,488
5.349699
0.115418
0.069554
0.052166
0.099984
0.893415
0.879408
0.875865
0.875865
0.875865
0.868459
0
0.009191
0.263444
10,488
278
78
37.726619
0.794822
0
0
0.846154
0
0
0.183352
0.073227
0
0
0
0
0.141026
1
0.141026
false
0
0.017094
0.012821
0.183761
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
09881cdd9093da7b0af71f2e7298a1f4174943ef
13,157
py
Python
SLIT/mk_SLIT_plot.py
aymgal/SLIT
cd41433a3302e3090617c15016bb6552f27804d7
[ "MIT" ]
null
null
null
SLIT/mk_SLIT_plot.py
aymgal/SLIT
cd41433a3302e3090617c15016bb6552f27804d7
[ "MIT" ]
null
null
null
SLIT/mk_SLIT_plot.py
aymgal/SLIT
cd41433a3302e3090617c15016bb6552f27804d7
[ "MIT" ]
null
null
null
import matplotlib.cm as cm import matplotlib.pyplot as plt import numpy as np from SLIT import Lens import scipy.signal as scp import scipy.misc as misc def plot_critical(kappa, Fkappa, n1,n2, size, extra= 1): det = 1./Lens.Jacobian_det(kappa, n1,n2)[extra/2:-extra/2., extra/2:-extra/2.] kernel = np.array(...
35.179144
147
0.570951
2,061
13,157
3.609898
0.074721
0.04328
0.035484
0.045161
0.885484
0.879301
0.864919
0.864785
0.850941
0.847312
0
0.053125
0.23744
13,157
374
148
35.179144
0.688428
0.016417
0
0.81686
0
0
0.040715
0
0
0
0
0
0
1
0.011628
false
0
0.017442
0
0.040698
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
09d5db0a99a3d24e0b1288336523d4c3ad21b405
2,103
py
Python
WriteToCSV.py
Michal3456/ermlab3
4b4f1e6775467c05875580fef4df336773b23209
[ "MIT" ]
null
null
null
WriteToCSV.py
Michal3456/ermlab3
4b4f1e6775467c05875580fef4df336773b23209
[ "MIT" ]
null
null
null
WriteToCSV.py
Michal3456/ermlab3
4b4f1e6775467c05875580fef4df336773b23209
[ "MIT" ]
null
null
null
# encoding: utf-8 # module WriteToCSV # from ./WriteToCSV.py # by written 2.00 # no doc # imports import csv import re # no Variables # class class WriteTiCSV: """ open_file_count_word() -> bool. """ # function @staticmethod def open_file_count_word(dict_words_quantity: dict) -> bool: #...
25.337349
110
0.503091
211
2,103
4.867299
0.36019
0.05258
0.099318
0.082765
0.836417
0.815969
0.815969
0.815969
0.815969
0.720545
0
0.003175
0.400856
2,103
82
111
25.646341
0.811905
0.266286
0
0.742857
0
0
0.085629
0
0
0
0
0
0
1
0.057143
false
0
0.057143
0
0.257143
0.057143
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
fece586f7c879565e293bd688e97ebed878c9afc
137
py
Python
jack/beanstalk/shortcuts.py
andreisavu/django-jack
7a20eeebe3cb6535c0d3734124acf7171713fdc5
[ "Apache-2.0" ]
10
2015-04-13T10:09:08.000Z
2021-12-17T01:29:11.000Z
jack/beanstalk/shortcuts.py
andreisavu/django-jack
7a20eeebe3cb6535c0d3734124acf7171713fdc5
[ "Apache-2.0" ]
null
null
null
jack/beanstalk/shortcuts.py
andreisavu/django-jack
7a20eeebe3cb6535c0d3734124acf7171713fdc5
[ "Apache-2.0" ]
3
2016-02-12T01:48:38.000Z
2021-12-17T01:29:10.000Z
from django.shortcuts import render_to_response def render_unavailable(): return render_to_response('beanstalk/unavailable.html')
19.571429
59
0.817518
17
137
6.294118
0.705882
0.149533
0.299065
0
0
0
0
0
0
0
0
0
0.109489
137
6
60
22.833333
0.877049
0
0
0
0
0
0.192593
0.192593
0
0
0
0
0
1
0.333333
true
0
0.333333
0.333333
1
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
1
1
0
0
8
28df32a590f831dc58732e958794fa48e5c4ce05
11,754
py
Python
tests/unit/test_word2vec.py
juliob29/BitcoinTalk-Insights
73033791698c67bb1f6268dc0b762832f0e097dd
[ "MIT" ]
null
null
null
tests/unit/test_word2vec.py
juliob29/BitcoinTalk-Insights
73033791698c67bb1f6268dc0b762832f0e097dd
[ "MIT" ]
13
2020-01-28T22:29:05.000Z
2022-02-09T23:52:43.000Z
tests/unit/test_word2vec.py
juliob29/BitcoinTalk-Insights
73033791698c67bb1f6268dc0b762832f0e097dd
[ "MIT" ]
null
null
null
""" Unit tests for the Word2Vec class. """ import os import gensim import unittest import psycopg2 from isoweek import Week from pathlib import Path from skill.skill import Crypto from skill.word2vec import Model from skill.storage import Storage from skill.bitcointalk import BitcoinTalk class Word2VecTestCase(unit...
138.282353
3,576
0.852646
868
11,754
11.506912
0.279954
0.010813
0.018022
0.020425
0.660292
0.65809
0.65809
0.65809
0.644073
0.644073
0
0.54246
0.106347
11,754
84
3,577
139.928571
0.408416
0.037519
0
0.235294
0
0.098039
0.880057
0.244698
0
1
0
0
0.078431
1
0.078431
false
0
0.196078
0
0.294118
0
0
0
1
null
0
0
0
0
0
0
0
0
1
0
1
0
0
0
1
1
1
0
0
0
0
0
1
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
8
e90141a0ecf7af89f8bdd4046f70b52f3a1c59b1
331
py
Python
solardatatools/__init__.py
tadatoshi/solar-data-tools
51b3e1ac2d1daefef88b8f110c42db42da3ba952
[ "BSD-2-Clause" ]
null
null
null
solardatatools/__init__.py
tadatoshi/solar-data-tools
51b3e1ac2d1daefef88b8f110c42db42da3ba952
[ "BSD-2-Clause" ]
null
null
null
solardatatools/__init__.py
tadatoshi/solar-data-tools
51b3e1ac2d1daefef88b8f110c42db42da3ba952
[ "BSD-2-Clause" ]
null
null
null
from solardatatools.data_transforms import standardize_time_axis from solardatatools.data_transforms import make_2d from solardatatools.data_transforms import fix_time_shifts from solardatatools.clear_day_detection import find_clear_days from solardatatools.dataio import get_pvdaq_data from solardatatools.plotting impo...
47.285714
64
0.909366
45
331
6.355556
0.488889
0.377622
0.230769
0.335664
0.398601
0
0
0
0
0
0
0.006515
0.072508
331
6
65
55.166667
0.925081
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
3aa99d611090a847ab67f1c2b086e2ebc3283e58
367
py
Python
pycessing/pycessing.py
kitao/pycessing
ab59dfbef7f52712e894f5b4d869c27f68bf3685
[ "MIT" ]
null
null
null
pycessing/pycessing.py
kitao/pycessing
ab59dfbef7f52712e894f5b4d869c27f68bf3685
[ "MIT" ]
null
null
null
pycessing/pycessing.py
kitao/pycessing
ab59dfbef7f52712e894f5b4d869c27f68bf3685
[ "MIT" ]
null
null
null
from sketch_runner import load_library # NOQA from sketch_runner import load_all_jars # NOQA from sketch_runner import load_jar # NOQA from sketch_runner import complete_path # NOQA from sketch_runner import reload_sketch # NOQA from sketch_runner import run_app # NOQA from app import App # NOQA # from sketch_i...
36.7
61
0.80654
56
367
5.035714
0.339286
0.248227
0.340426
0.468085
0.58156
0.212766
0
0
0
0
0
0
0.163488
367
9
62
40.777778
0.918567
0.253406
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
3aec019d39dd4990a71833138a1afd94240bc790
116
py
Python
gym-tic-tac-toe/gym_tic_tac_toe/envs/__init__.py
Akhilez/gyms
bf16cf7fa4024cf9f0124e73293ea7e37421478e
[ "MIT" ]
null
null
null
gym-tic-tac-toe/gym_tic_tac_toe/envs/__init__.py
Akhilez/gyms
bf16cf7fa4024cf9f0124e73293ea7e37421478e
[ "MIT" ]
null
null
null
gym-tic-tac-toe/gym_tic_tac_toe/envs/__init__.py
Akhilez/gyms
bf16cf7fa4024cf9f0124e73293ea7e37421478e
[ "MIT" ]
null
null
null
from gym_tic_tac_toe.envs.tic_tac_toe_env import TicTacToeEnv from gym_tic_tac_toe.envs.t3_v2 import TicTacToeEnvV2
38.666667
61
0.896552
22
116
4.272727
0.545455
0.191489
0.287234
0.276596
0.425532
0.425532
0
0
0
0
0
0.027778
0.068966
116
2
62
58
0.842593
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
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
3af4bbb0f43dcd060407da0cfc4ccbf66473f524
5,045
py
Python
test/units/service_framework_test.py
praktikos/praktikos-template-python
324c7640ee05469fba87a7ec64d6ac61675b259e
[ "MIT" ]
null
null
null
test/units/service_framework_test.py
praktikos/praktikos-template-python
324c7640ee05469fba87a7ec64d6ac61675b259e
[ "MIT" ]
null
null
null
test/units/service_framework_test.py
praktikos/praktikos-template-python
324c7640ee05469fba87a7ec64d6ac61675b259e
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from api.rdb.utils.service_framework import get_api_gateway_request # https://docs.aws.amazon.com/lambda/latest/dg/eventsources.html#eventsources-api-gateway-request # noinspection PyPep8,PyPep8,PyPep8 api_gateway_proxy_request_event_get = { "path": "/test/hello", "headers": { ...
39.414063
170
0.589296
531
5,045
5.514124
0.299435
0.030738
0.043033
0.030055
0.888661
0.862705
0.813525
0.786885
0.786885
0.786885
0
0.089406
0.232904
5,045
127
171
39.724409
0.667183
0.040238
0
0.810345
0
0.051724
0.586507
0.223924
0
0
0
0
0.017241
1
0.008621
false
0
0.008621
0
0.017241
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
c910af6873447b004fdd58ca734317e049889b33
336
py
Python
temporalio/bridge/proto/activity_result/__init__.py
cretz/temporal-sdk-python
431ca1967d365556a9cf5aa9aac00243b71059f8
[ "MIT" ]
55
2022-01-31T22:02:22.000Z
2022-03-30T11:17:21.000Z
temporalio/bridge/proto/activity_result/__init__.py
cretz/temporal-sdk-python
431ca1967d365556a9cf5aa9aac00243b71059f8
[ "MIT" ]
7
2022-02-04T14:08:46.000Z
2022-03-22T13:27:30.000Z
temporalio/bridge/proto/activity_result/__init__.py
cretz/temporal-sdk-python
431ca1967d365556a9cf5aa9aac00243b71059f8
[ "MIT" ]
4
2022-01-31T17:31:49.000Z
2022-03-29T01:04:46.000Z
from .activity_result_pb2 import ( ActivityExecutionResult, ActivityResolution, Cancellation, DoBackoff, Failure, Success, WillCompleteAsync, ) __all__ = [ "ActivityExecutionResult", "ActivityResolution", "Cancellation", "DoBackoff", "Failure", "Success", "WillCo...
16.8
34
0.660714
20
336
10.8
0.65
0.37963
0.490741
0.574074
0.861111
0.861111
0.861111
0
0
0
0
0.003906
0.238095
336
19
35
17.684211
0.839844
0
0
0
0
0
0.276786
0.068452
0
0
0
0
0
1
0
false
0
0.055556
0
0.055556
0
1
0
1
null
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
a30b2181125014ebeb41a0a5caaefb58593a434c
11,756
py
Python
commit_checker/download_security_classified_crbug_numbers.py
freingruber/JavaScript-Raider
d1c1fff2fcfc60f210b93dbe063216fa1a83c1d0
[ "Apache-2.0" ]
91
2022-01-24T07:32:34.000Z
2022-03-31T23:37:15.000Z
commit_checker/download_security_classified_crbug_numbers.py
zeusguy/JavaScript-Raider
d1c1fff2fcfc60f210b93dbe063216fa1a83c1d0
[ "Apache-2.0" ]
null
null
null
commit_checker/download_security_classified_crbug_numbers.py
zeusguy/JavaScript-Raider
d1c1fff2fcfc60f210b93dbe063216fa1a83c1d0
[ "Apache-2.0" ]
11
2022-01-24T14:21:12.000Z
2022-03-31T23:37:23.000Z
# Copyright 2022 @ReneFreingruber # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
65.311111
144
0.795509
1,701
11,756
5.427984
0.13933
0.201668
0.307809
0.339651
0.811112
0.79844
0.785877
0.78057
0.770822
0.762049
0
0.065172
0.070687
11,756
179
145
65.675978
0.779954
0.119684
0
0
0
0.722628
0.874544
0.012417
0
0
0
0
0
1
0.029197
false
0
0.043796
0
0.094891
0
0
0
0
null
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
11
a37c3d078d0c41f2c931c17db0983ad739358991
17,025
py
Python
morerandom.py
Wolframoviy/morerandom-py
3159aa3fa70db0c79e2a3fe2aed8803aa58fc966
[ "MIT" ]
null
null
null
morerandom.py
Wolframoviy/morerandom-py
3159aa3fa70db0c79e2a3fe2aed8803aa58fc966
[ "MIT" ]
null
null
null
morerandom.py
Wolframoviy/morerandom-py
3159aa3fa70db0c79e2a3fe2aed8803aa58fc966
[ "MIT" ]
null
null
null
import random def randbool(chance): res = random.randint(0,1000) if res >= chance: return False else: return True def randobj(dict): return dict[random.randint(0, len(dict)-1)] def randname(lang = None, gender = None): if lang == "en": if gender == "m": names =...
448.026316
5,346
0.595125
1,724
17,025
5.87703
0.321926
0.011548
0.012436
0.013423
0.980853
0.980853
0.980853
0.980853
0.980853
0.980853
0
0.001393
0.114537
17,025
37
5,347
460.135135
0.670713
0
0
0.393939
0
0
0.56438
0
0
0
0
0
0
1
0.090909
false
0
0.030303
0.030303
0.424242
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
a3a5c4b7d896d4ee0da3e7d1cb1b5a6b67fa8fa0
73,140
py
Python
tests/fast_tests/test_multi_fcnet.py
jesbu1/h-baselines
f6f775bb18de22527f2d01d73bd733ed2e435ba3
[ "MIT" ]
null
null
null
tests/fast_tests/test_multi_fcnet.py
jesbu1/h-baselines
f6f775bb18de22527f2d01d73bd733ed2e435ba3
[ "MIT" ]
null
null
null
tests/fast_tests/test_multi_fcnet.py
jesbu1/h-baselines
f6f775bb18de22527f2d01d73bd733ed2e435ba3
[ "MIT" ]
null
null
null
"""Tests for the policies in the hbaselines/multi_fcnet subdirectory.""" import unittest import numpy as np import tensorflow as tf from gym.spaces import Box from hbaselines.utils.tf_util import get_trainable_vars from hbaselines.multi_fcnet.td3 import MultiFeedForwardPolicy as \ TD3MultiFeedForwardPolicy from hb...
42.034483
79
0.537886
9,750
73,140
3.848615
0.019897
0.04637
0.038375
0.007995
0.983157
0.980999
0.970126
0.954029
0.91091
0.889218
0
0.049981
0.306276
73,140
1,739
80
42.058654
0.689568
0.066366
0
0.84064
0
0
0.340525
0.320764
0
0
0
0
0.070285
1
0.018093
false
0
0.006263
0
0.026444
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
6edf893416b6de9a97e703dfd9b23e442bdc67d9
29,434
py
Python
dlkit/abstract_osid/mapping/queries.py
UOC/dlkit
a9d265db67e81b9e0f405457464e762e2c03f769
[ "MIT" ]
2
2018-02-23T12:16:11.000Z
2020-10-08T17:54:24.000Z
dlkit/abstract_osid/mapping/queries.py
UOC/dlkit
a9d265db67e81b9e0f405457464e762e2c03f769
[ "MIT" ]
87
2017-04-21T18:57:15.000Z
2021-12-13T19:43:57.000Z
dlkit/abstract_osid/mapping/queries.py
UOC/dlkit
a9d265db67e81b9e0f405457464e762e2c03f769
[ "MIT" ]
1
2018-03-01T16:44:25.000Z
2018-03-01T16:44:25.000Z
"""Implementations of mapping abstract base class queries.""" # pylint: disable=invalid-name # Method names comply with OSID specification. # pylint: disable=no-init # Abstract classes do not define __init__. # pylint: disable=too-few-public-methods # Some interfaces are specified as 'markers' and include n...
28.438647
119
0.631549
3,339
29,434
5.426176
0.051512
0.065681
0.077271
0.061817
0.907606
0.888288
0.825698
0.744011
0.692847
0.686996
0
0
0.256676
29,434
1,034
120
28.466151
0.8281
0.587246
0
0.706827
0
0
0
0
0
0
0
0
0
1
0.281125
false
0.192771
0.004016
0
0.526104
0
0
0
0
null
0
0
0
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
9
42d9369c99af7adb8cfd02c0100c8ba5acd2c9f1
228
py
Python
solarforecast/__init__.py
arminalgln/solar
b23b0c1820f997c4ff1f99ffdb8a4ecc68007e5f
[ "MIT" ]
null
null
null
solarforecast/__init__.py
arminalgln/solar
b23b0c1820f997c4ff1f99ffdb8a4ecc68007e5f
[ "MIT" ]
null
null
null
solarforecast/__init__.py
arminalgln/solar
b23b0c1820f997c4ff1f99ffdb8a4ecc68007e5f
[ "MIT" ]
null
null
null
from .readingdata import FileInf from .readingdata import SolcastDataForecast from .forecastmodel import SolarF from .readingdata import EtapData from .readingdata import SolcastHistorical from .readingdata import OpenWeatherAPI
38
44
0.872807
24
228
8.291667
0.416667
0.376884
0.527638
0
0
0
0
0
0
0
0
0
0.100877
228
6
45
38
0.970732
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
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
7
2826d8cf86573d5302da420e8ef00f20a41e5782
6,624
py
Python
app/filterMarketData_test.py
kyoungd/material-stock-finder-app
60b4a274ddb304ae8257f6a53a0d91b65975b649
[ "MIT" ]
null
null
null
app/filterMarketData_test.py
kyoungd/material-stock-finder-app
60b4a274ddb304ae8257f6a53a0d91b65975b649
[ "MIT" ]
null
null
null
app/filterMarketData_test.py
kyoungd/material-stock-finder-app
60b4a274ddb304ae8257f6a53a0d91b65975b649
[ "MIT" ]
1
2022-03-26T06:50:59.000Z
2022-03-26T06:50:59.000Z
from unittest import mock, TestCase, main import pandas as pd import random import datetime from util import RedisTimeFrame from dbase import MarketDataDb class TestMarketData(TestCase): def setUp(self): self.app = MarketDataDb() self.symbol = 'TEST01' def tearDown(self): pass de...
80.780488
137
0.447162
1,165
6,624
2.539056
0.149356
0.070994
0.099391
0.073022
0.801893
0.801893
0.787018
0.787018
0.787018
0.787018
0
0.383232
0.252717
6,624
81
138
81.777778
0.214343
0.006793
0
0.591549
0
0
0.187804
0
0
0
0
0
0.070423
1
0.056338
false
0.014085
0.084507
0
0.15493
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
95a5ea494772e2c1be7ed55991eae84280b0cf54
8,250
py
Python
docker/docker-lambda/python/Word2pdf/app/testdata.py
BigMountainTiger/aws-cdk-examples
e954a44544ee9921c305e460a4582fb6f6c09bc2
[ "MIT" ]
2
2021-05-12T10:05:45.000Z
2021-09-26T21:32:25.000Z
docker/docker-lambda/python/Word2pdf/app/testdata.py
BigMountainTiger/aws-cdk-examples
e954a44544ee9921c305e460a4582fb6f6c09bc2
[ "MIT" ]
6
2020-09-28T21:57:19.000Z
2022-03-15T22:21:18.000Z
docker/docker-lambda/python/Word2pdf/app/testdata.py
BigMountainTiger/aws-cdk-examples
e954a44544ee9921c305e460a4582fb6f6c09bc2
[ "MIT" ]
null
null
null
def get_test_data(): return { "contact": { "name": "Paul Kempa", "company": "Baltimore Steel Factory" }, "invoice": { "items": [ { "quantity": 12, "description": "Item description No.0", "unitprice": 12000.3, "linetotal": 20 }, ...
25.943396
50
0.430545
630
8,250
5.634921
0.122222
0.215493
0.373521
0.402254
0.940563
0.933239
0.910986
0.910986
0.910986
0.910986
0
0.150955
0.429091
8,250
318
51
25.943396
0.60276
0
0
0.477987
0
0
0.371591
0
0
0
0
0
0
1
0.003145
true
0
0
0.003145
0.006289
0
0
0
0
null
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
10
252afafd97ab151c4fad12f140bd0aeb9bc78099
15,646
py
Python
presqt/targets/gitlab/tests/views/download/test_download.py
djordjetrajkovic/presqt
8424b61b1c5b8d29de74c7a333889d9e9eb7aee8
[ "Apache-2.0" ]
3
2019-01-29T19:45:25.000Z
2020-12-01T18:24:51.000Z
presqt/targets/gitlab/tests/views/download/test_download.py
djordjetrajkovic/presqt
8424b61b1c5b8d29de74c7a333889d9e9eb7aee8
[ "Apache-2.0" ]
419
2018-09-13T23:11:15.000Z
2021-09-22T17:49:00.000Z
presqt/targets/gitlab/tests/views/download/test_download.py
djordjetrajkovic/presqt
8424b61b1c5b8d29de74c7a333889d9e9eb7aee8
[ "Apache-2.0" ]
2
2020-04-10T08:19:41.000Z
2021-01-04T15:29:42.000Z
import io import json import shutil import zipfile from django.test import SimpleTestCase from rest_framework.reverse import reverse from rest_framework.test import APIClient from presqt.utilities import read_file from presqt.targets.utilities import shared_call_get_resource_zip from presqt.api_v1.utilities import has...
45.482558
116
0.639205
1,830
15,646
5.253552
0.104372
0.056168
0.02434
0.028396
0.877054
0.845642
0.832224
0.829623
0.825359
0.814437
0
0.021227
0.2593
15,646
343
117
45.61516
0.808353
0.173207
0
0.721393
0
0
0.19676
0.074595
0
0
0
0
0.21393
1
0.049751
false
0.019901
0.054726
0
0.109453
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
254a1e75993d0dd92aac408fc911ab82057d8dba
11,002
py
Python
3DShit.py
moaz-eldefrawy/Graphical-Linear-Transformation
ca2cf30fc22d33c51ac65f7e714bf4e59b54ffc4
[ "MIT" ]
null
null
null
3DShit.py
moaz-eldefrawy/Graphical-Linear-Transformation
ca2cf30fc22d33c51ac65f7e714bf4e59b54ffc4
[ "MIT" ]
3
2021-03-19T08:34:05.000Z
2022-01-13T01:52:08.000Z
3DShit.py
moaz-eldefrawy/Graphical-Linear-Transformation
ca2cf30fc22d33c51ac65f7e714bf4e59b54ffc4
[ "MIT" ]
1
2019-11-20T18:01:37.000Z
2019-11-20T18:01:37.000Z
from manimlib.imports import * import os import pyclbr from tkinter import * ##import numpy as np n = 0 def get_cube(b1,b2,b3,b4,h1,h2,h3,h4, **kwargs): # base s1 = Line(h1,h2, **kwargs) s2 = Line(h2,h3, **kwargs) s3 = Line(h3,h4, **kwargs) s4 = Line(h4,h1, **kwargs) # top s5 = Line(b1, b...
30.991549
108
0.459644
1,515
11,002
3.244884
0.09835
0.133849
0.061839
0.014646
0.868592
0.868592
0.868592
0.868592
0.858421
0.858421
0
0.091257
0.358571
11,002
354
109
31.079096
0.605356
0.183149
0
0.73224
0
0
0.031838
0.015793
0
0
0
0
0
1
0.027322
false
0
0.021858
0
0.076503
0.021858
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
c2547a4d681f18f341916973a5c674d975a3c901
165
py
Python
backend/home/admin.py
crowdbotics-apps/testing-django-app-31743
4361e3a1e84437a59bb330547e4d4dc16fb6fbe2
[ "FTL", "AML", "RSA-MD" ]
null
null
null
backend/home/admin.py
crowdbotics-apps/testing-django-app-31743
4361e3a1e84437a59bb330547e4d4dc16fb6fbe2
[ "FTL", "AML", "RSA-MD" ]
null
null
null
backend/home/admin.py
crowdbotics-apps/testing-django-app-31743
4361e3a1e84437a59bb330547e4d4dc16fb6fbe2
[ "FTL", "AML", "RSA-MD" ]
null
null
null
from django.contrib import admin from .models import Sample, Userdetails admin.site.register(Userdetails) admin.site.register(Sample) # Register your models here.
20.625
39
0.812121
22
165
6.090909
0.545455
0.238806
0.298507
0.41791
0
0
0
0
0
0
0
0
0.109091
165
7
40
23.571429
0.911565
0.157576
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
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
7
c2dc922722ff4c452cdca4f04e4a6646f287cf32
26,220
py
Python
tests/ope/test_dr_estimators.py
usaito/zr-obp
57b4bc79d21301703a2b7e6e0c284a308194a795
[ "Apache-2.0" ]
null
null
null
tests/ope/test_dr_estimators.py
usaito/zr-obp
57b4bc79d21301703a2b7e6e0c284a308194a795
[ "Apache-2.0" ]
null
null
null
tests/ope/test_dr_estimators.py
usaito/zr-obp
57b4bc79d21301703a2b7e6e0c284a308194a795
[ "Apache-2.0" ]
null
null
null
import re import pytest import numpy as np import torch from obp.types import BanditFeedback from obp.ope import ( DirectMethod, DoublyRobust, DoublyRobustWithShrinkage, SwitchDoublyRobust, SelfNormalizedDoublyRobust, ) from conftest import generate_action_dist # prepare instances dm = DirectMeth...
33.572343
160
0.625172
3,417
26,220
4.56892
0.053263
0.036126
0.013451
0.046246
0.906034
0.894312
0.883167
0.853062
0.807712
0.794005
0
0.028618
0.255034
26,220
780
161
33.615385
0.770645
0.044546
0
0.710375
0
0.005764
0.167868
0.034367
0
0
0
0
0.017291
1
0.017291
false
0
0.010086
0
0.027378
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
6c7c2ad93bfa581fdf940b462c82e8735b236465
2,885
py
Python
automata/neighbour_functions.py
javiruiz/cellular-automata
b83c41d5eacb6a3bb36324efa5d899e310e4a500
[ "Apache-2.0" ]
2
2019-11-08T23:34:29.000Z
2019-11-17T23:26:05.000Z
automata/neighbour_functions.py
javiruiz/cellular-automata
b83c41d5eacb6a3bb36324efa5d899e310e4a500
[ "Apache-2.0" ]
null
null
null
automata/neighbour_functions.py
javiruiz/cellular-automata
b83c41d5eacb6a3bb36324efa5d899e310e4a500
[ "Apache-2.0" ]
1
2019-11-08T23:35:08.000Z
2019-11-08T23:35:08.000Z
import numpy as np def side_neighbours(board, x, y, size_x, size_y): alive_neighbours = 0 if x != size_x - 1: alive_neighbours += board[x + 1][y] if x != 0: alive_neighbours += board[x - 1][y] if y != size_y - 1: alive_neighbours += board[x][y + 1] if y != 0: alive_...
41.214286
93
0.47279
484
2,885
2.710744
0.043388
0.28811
0.245427
0.280488
0.957317
0.957317
0.900152
0.897104
0.838415
0.838415
0
0.064703
0.341075
2,885
69
94
41.811594
0.62546
0
0
0.491803
0
0
0
0
0
0
0
0
0
1
0.04918
false
0
0.016393
0
0.114754
0
0
0
0
null
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
6c7ec498ed371b1657dd5b8076f3fc11d937fd2b
47,571
py
Python
model/road_transformer.py
wgcban/spin_roadmapper
2c1c8f22073d989753dc6f95d1f547198a76414b
[ "Apache-2.0" ]
24
2021-09-15T00:20:52.000Z
2022-03-27T05:01:23.000Z
model/road_transformer.py
wgcban/spin_roadmapper
2c1c8f22073d989753dc6f95d1f547198a76414b
[ "Apache-2.0" ]
2
2021-12-27T13:45:02.000Z
2022-03-25T13:33:20.000Z
model/road_transformer.py
wgcban/spin_roadmapper
2c1c8f22073d989753dc6f95d1f547198a76414b
[ "Apache-2.0" ]
3
2021-12-27T03:11:56.000Z
2022-03-10T10:24:42.000Z
from __future__ import print_function import math import pdb import numpy as np import torch import torch.nn as nn import torch.nn.functional as F #from model.glore import GloRe_Unit_2D, GloRe_Unit_SE_2D from model.SPIN import spin affine_par = True ############### Road Transformer ############### class BasicResnetB...
40.348601
164
0.592231
6,214
47,571
4.374155
0.050209
0.052242
0.034436
0.020014
0.83242
0.807145
0.787204
0.771421
0.762297
0.760237
0
0.05601
0.282777
47,571
1,178
165
40.382852
0.740643
0.101617
0
0.732411
0
0
0.002408
0
0
0
0
0
0.001153
1
0.040369
false
0
0.009227
0
0.092272
0.001153
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
6663c693aef1fba9be33c1808e96b0df3c6175ce
90
py
Python
rio_tiler_pds/cbers/aws/__init__.py
cogeotiff/rio-tiler-pds
52482c80baf7fd26cf06cd2af2961cca396b20e0
[ "BSD-3-Clause" ]
30
2020-07-21T23:32:14.000Z
2022-02-21T23:35:35.000Z
rio_tiler_pds/cbers/aws/__init__.py
cogeotiff/rio-tiler-pds
52482c80baf7fd26cf06cd2af2961cca396b20e0
[ "BSD-3-Clause" ]
36
2020-07-21T20:48:51.000Z
2021-10-06T08:15:00.000Z
rio_tiler_pds/cbers/aws/__init__.py
cogeotiff/rio-tiler-pds
52482c80baf7fd26cf06cd2af2961cca396b20e0
[ "BSD-3-Clause" ]
4
2020-07-23T06:19:30.000Z
2021-11-18T03:27:04.000Z
"""rio-tiler-pds.cbers""" from rio_tiler_pds.cbers.aws.cbers4 import CBERSReader # noqa
22.5
62
0.755556
14
90
4.714286
0.714286
0.242424
0.333333
0.484848
0
0
0
0
0
0
0
0.012346
0.1
90
3
63
30
0.802469
0.277778
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
7
6674345667a61c3fa1d4449402dbaaf5e0b6240e
4,287
py
Python
prun_table.py
artec-kk/Studth
52cfa9c61355852163e1e4b42832480f51fda410
[ "MIT" ]
3
2020-12-20T11:43:00.000Z
2020-12-20T17:32:19.000Z
prun_table.py
Nyanyan/VirtualRubiksCubeSolver
9096f1ebe48b880ade01ee8e22324c9017e41d4d
[ "MIT" ]
1
2021-04-19T09:08:02.000Z
2021-04-19T09:08:02.000Z
prun_table.py
Nyanyan/VirtualRubiksCubeSolver
9096f1ebe48b880ade01ee8e22324c9017e41d4d
[ "MIT" ]
1
2021-03-11T09:26:49.000Z
2021-03-11T09:26:49.000Z
from basic_functions import * import csv from collections import deque inf = 1000 def table_phase0(): trans_ep = [] with open('trans_ep_phase0.csv', mode='r') as f: for line in map(str.strip, f): trans_ep.append([int(i) for i in line.replace('\n', '').split(',')]) trans = [] with ...
37.938053
80
0.565664
625
4,287
3.7232
0.1152
0.055006
0.030941
0.051569
0.902879
0.896863
0.877954
0.877954
0.877954
0.847443
0
0.053722
0.279216
4,287
113
81
37.938053
0.699353
0
0
0.761905
0
0
0.050606
0.029384
0
0
0
0
0
1
0.019048
false
0
0.028571
0
0.047619
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
66bd86cd6dd1bc20bbc00c99834357180a14981b
422
py
Python
src/testcase/GN_Y201S/input_case/GN_Y201S_Delay_Timer.py
maiyajj/AutoTest_script-Appium_Connect
f9c2c42c281a9e2f984acb4a72dda0694b053f22
[ "Apache-2.0" ]
28
2017-11-10T00:19:16.000Z
2022-02-19T16:42:05.000Z
src/testcase/GN_Y201S/input_case/GN_Y201S_Delay_Timer.py
maiyajj/AutoTest_script-Appium_Connect
f9c2c42c281a9e2f984acb4a72dda0694b053f22
[ "Apache-2.0" ]
null
null
null
src/testcase/GN_Y201S/input_case/GN_Y201S_Delay_Timer.py
maiyajj/AutoTest_script-Appium_Connect
f9c2c42c281a9e2f984acb4a72dda0694b053f22
[ "Apache-2.0" ]
23
2017-08-22T06:12:19.000Z
2021-09-18T05:45:41.000Z
# coding=utf-8 try: from src.testcase.GN_Y201S.case.GN_Y201S_DELAY_TIMER.GN_Y201S_DELAY_TIMER_001 import * from src.testcase.GN_Y201S.case.GN_Y201S_DELAY_TIMER.GN_Y201S_DELAY_TIMER_002 import * from src.testcase.GN_Y201S.case.GN_Y201S_DELAY_TIMER.GN_Y201S_DELAY_TIMER_003 import * from src.testcase.GN_Y2...
46.888889
90
0.822275
74
422
4.256757
0.297297
0.266667
0.304762
0.431746
0.819048
0.819048
0.819048
0.819048
0.819048
0.819048
0
0.12963
0.104265
422
8
91
52.75
0.703704
0.028436
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.714286
0
0.714286
0.142857
0
0
0
null
1
1
1
1
1
1
1
1
1
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
13
dd0f4eb8c4f1dc20e0fd25780cbdd6e07f04d05b
5,488
py
Python
tests/test_metadata.py
awst-baum/c3s_sm
b94ebe98766bd4a48d663c2bf0c8b690abcb5cce
[ "MIT" ]
null
null
null
tests/test_metadata.py
awst-baum/c3s_sm
b94ebe98766bd4a48d663c2bf0c8b690abcb5cce
[ "MIT" ]
null
null
null
tests/test_metadata.py
awst-baum/c3s_sm
b94ebe98766bd4a48d663c2bf0c8b690abcb5cce
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from c3s_sm.metadata import C3S_daily_tsatt_nc, C3S_SM_TS_Attrs, C3S_dekmon_tsatt_nc def test_daily_metadata_default_active(): default_attr = C3S_SM_TS_Attrs('active') assert(default_attr.version == 'v0000') assert(default_attr.product_sensor_type == 'active') assert(default...
42.215385
107
0.674927
713
5,488
4.834502
0.152875
0.165941
0.207137
0.043516
0.89063
0.834059
0.795764
0.764433
0.723238
0.70148
0
0.03975
0.184038
5,488
130
108
42.215385
0.730013
0.003827
0
0.580645
0
0
0.187706
0.051592
0
0
0
0
0.55914
1
0.043011
false
0.043011
0.010753
0
0.053763
0
0
0
0
null
0
1
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
8
dd1925a25f05d0c1e383dff972c880006c02219d
6,210
py
Python
tests/test_consume_handler.py
LaVita-GmbH/celery-message-consumer
cbead6a9cb8774caa883e6338083e073e09427ad
[ "Apache-2.0" ]
40
2018-06-06T05:16:01.000Z
2022-03-29T11:21:31.000Z
tests/test_consume_handler.py
LaVita-GmbH/celery-message-consumer
cbead6a9cb8774caa883e6338083e073e09427ad
[ "Apache-2.0" ]
9
2018-10-03T05:40:45.000Z
2021-10-01T07:49:41.000Z
tests/test_consume_handler.py
LaVita-GmbH/celery-message-consumer
cbead6a9cb8774caa883e6338083e073e09427ad
[ "Apache-2.0" ]
15
2018-01-26T15:20:37.000Z
2022-03-01T13:38:53.000Z
import socket from flaky import flaky import mock from event_consumer import message_handler from event_consumer import handlers as ec from .base import BaseConsumerIntegrationTest class ConsumeMessageHandlerTest(BaseConsumerIntegrationTest): @flaky(max_runs=5, min_passes=5) def test_consume_basic(self): ...
33.031915
93
0.56876
756
6,210
4.521164
0.170635
0.036864
0.04447
0.058514
0.85986
0.837039
0.805734
0.805734
0.79725
0.79725
0
0.029576
0.335749
6,210
187
94
33.208556
0.79903
0.138647
0
0.741379
0
0
0.099808
0
0
0
0
0
0.146552
1
0.034483
false
0.034483
0.051724
0
0.094828
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
dd2d731db5a41e82c6c83e0e33cbab084191eea9
6,373
py
Python
tests/unit/bucket/bucket_test.py
abeja-inc/abeja-platform-cli
bed60642ee46656a5bfec5577d876e54c88bfd3f
[ "Apache-2.0" ]
2
2020-06-19T23:07:38.000Z
2021-06-03T10:44:39.000Z
tests/unit/bucket/bucket_test.py
abeja-inc/abeja-platform-cli
bed60642ee46656a5bfec5577d876e54c88bfd3f
[ "Apache-2.0" ]
20
2020-04-07T07:48:42.000Z
2020-09-07T09:18:43.000Z
tests/unit/bucket/bucket_test.py
abeja-inc/abeja-platform-cli
bed60642ee46656a5bfec5577d876e54c88bfd3f
[ "Apache-2.0" ]
1
2021-06-01T13:38:19.000Z
2021-06-01T13:38:19.000Z
from unittest import TestCase import requests import requests_mock from abejacli.bucket import ( generate_bucket_file_iter, generate_bucket_file_iter_by_id ) from abejacli.config import DATALAKE_ITEMS_PER_PAGE, ORGANIZATION_ENDPOINT FILE = { "expires": "2017-11-21T02:18:16+00:00", "metadata": { "x-ab...
45.198582
686
0.708928
668
6,373
6.508982
0.17515
0.022079
0.028979
0.033119
0.870745
0.844296
0.838316
0.822447
0.785189
0.74977
0
0.110291
0.170563
6,373
140
687
45.521429
0.712259
0.002981
0
0.483607
1
0.02459
0.461963
0.069145
0
0
0
0
0.040984
1
0.040984
false
0
0.040984
0
0.098361
0
0
0
0
null
0
0
0
1
1
1
1
1
1
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
7
dd468423d481de6165d78402654a7b7f01f919c3
7,352
py
Python
app/laboratorio/migrations/0001_initial.py
echosisdev/siecho
ce9dd5ce9090e9e96c2c6e149c84fb26894058f9
[ "MIT" ]
null
null
null
app/laboratorio/migrations/0001_initial.py
echosisdev/siecho
ce9dd5ce9090e9e96c2c6e149c84fb26894058f9
[ "MIT" ]
null
null
null
app/laboratorio/migrations/0001_initial.py
echosisdev/siecho
ce9dd5ce9090e9e96c2c6e149c84fb26894058f9
[ "MIT" ]
null
null
null
# Generated by Django 3.2.7 on 2021-10-06 21:18 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('core', '0001_initial'), ] operations = [ migrations.CreateModel( name='Exam...
80.791209
124
0.649075
872
7,352
5.286697
0.162844
0.115184
0.229501
0.269414
0.796746
0.796746
0.789588
0.781996
0.781996
0.698048
0
0.031909
0.207155
7,352
90
125
81.688889
0.758964
0.006121
0
0
1
0
0.125257
0.013142
0
0
0
0
0
1
0
false
0
0.024096
0
0.072289
0
0
0
0
null
0
1
1
0
1
1
1
1
1
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
8
dd4883ce326da35c2f6b5aa8b9c9f6620149c38c
8,593
py
Python
tests/test_season.py
paulgoetze/whattime
f45114e4dddfef91dfc2068a0ad41c5cb8d9c4b2
[ "MIT" ]
null
null
null
tests/test_season.py
paulgoetze/whattime
f45114e4dddfef91dfc2068a0ad41c5cb8d9c4b2
[ "MIT" ]
2
2021-04-27T21:43:24.000Z
2021-04-27T21:46:21.000Z
tests/test_season.py
paulgoetze/whattime
f45114e4dddfef91dfc2068a0ad41c5cb8d9c4b2
[ "MIT" ]
null
null
null
from whattime import Hemisphere, season_info # Spring: def test_is_spring_for_northern_hemisphere(months): """Test returns true for spring months on the northern hemisphere""" assert season_info(months.january, Hemisphere.NORTHERN).is_spring is False assert season_info(months.february, Hemisphere.NORTHE...
58.856164
80
0.803328
1,210
8,593
5.512397
0.028926
0.145427
0.230285
0.316642
0.990705
0.972714
0.957421
0.957421
0.918141
0.918141
0
0
0.120214
8,593
145
81
59.262069
0.882275
0.062376
0
0
0
0
0
0
0
0
0
0
0.914286
1
0.07619
false
0
0.009524
0
0.085714
0
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
9
dd50bfdbdf5736f319a03fdbf27e7f414b62b8f6
342
py
Python
platform/core/polyaxon/polyaxon/config_settings/commands/__init__.py
hackerwins/polyaxon
ff56a098283ca872abfbaae6ba8abba479ffa394
[ "Apache-2.0" ]
null
null
null
platform/core/polyaxon/polyaxon/config_settings/commands/__init__.py
hackerwins/polyaxon
ff56a098283ca872abfbaae6ba8abba479ffa394
[ "Apache-2.0" ]
null
null
null
platform/core/polyaxon/polyaxon/config_settings/commands/__init__.py
hackerwins/polyaxon
ff56a098283ca872abfbaae6ba8abba479ffa394
[ "Apache-2.0" ]
null
null
null
from polyaxon.config_settings.cors import * from polyaxon.config_settings.dirs import * from polyaxon.config_settings.k8s import * from polyaxon.config_settings.labels import * from polyaxon.config_settings.middlewares import * from polyaxon.config_settings.spawner import * from polyaxon.config_settings.stores import *...
34.2
50
0.836257
45
342
6.2
0.288889
0.301075
0.451613
0.65233
0.688172
0
0
0
0
0
0
0.003236
0.096491
342
9
51
38
0.899676
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
dd5694366c72c6dddc8a67197d3693774e6a58fa
217,450
py
Python
dlkit/abstract_osid/resource/sessions.py
UOC/dlkit
a9d265db67e81b9e0f405457464e762e2c03f769
[ "MIT" ]
2
2018-02-23T12:16:11.000Z
2020-10-08T17:54:24.000Z
dlkit/abstract_osid/resource/sessions.py
UOC/dlkit
a9d265db67e81b9e0f405457464e762e2c03f769
[ "MIT" ]
87
2017-04-21T18:57:15.000Z
2021-12-13T19:43:57.000Z
dlkit/abstract_osid/resource/sessions.py
UOC/dlkit
a9d265db67e81b9e0f405457464e762e2c03f769
[ "MIT" ]
1
2018-03-01T16:44:25.000Z
2018-03-01T16:44:25.000Z
"""Implementations of resource abstract base class sessions.""" # pylint: disable=invalid-name # Method names comply with OSID specification. # pylint: disable=no-init # Abstract classes do not define __init__. # pylint: disable=too-few-public-methods # Some interfaces are specified as 'markers' and include...
36.86218
190
0.653608
24,921
217,450
5.599133
0.026604
0.022001
0.043573
0.063181
0.921375
0.902333
0.880604
0.858947
0.83997
0.825816
0
0.000049
0.244534
217,450
5,898
191
36.86843
0.849351
0.726093
0
0.75413
0
0
0
0
0
0
0
0
0
1
0.295432
false
0.109815
0.000972
0
0.595724
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
1
0
1
0
0
1
0
0
10
dd8aa46169d081ca9180741e4dcc38e50ac7bf3e
3,198
py
Python
assets/data/edge_table_rebuild.py
jedipuppy/reversiAI
b1cf1880d0019a107eff412a85816383b0e57a90
[ "MIT" ]
null
null
null
assets/data/edge_table_rebuild.py
jedipuppy/reversiAI
b1cf1880d0019a107eff412a85816383b0e57a90
[ "MIT" ]
null
null
null
assets/data/edge_table_rebuild.py
jedipuppy/reversiAI
b1cf1880d0019a107eff412a85816383b0e57a90
[ "MIT" ]
null
null
null
edge_array = [0,100,-1,-30,130,-150,-1,-1,-1,10,10,-120,-10,160,-180,0,10,-180,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,120,-120,-100,30,-200,30,30,-200,20,30,-200,30,220,-230,40,20,-220,0,50,-30,-200,30,-30,30,30,-200,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,60,-160,-10,130,-190,0,40,-2...
78
2,311
0.453096
894
3,198
1.60962
0.060403
0.550382
0.740097
0.972898
0.5205
0.47672
0.352328
0.306463
0.269632
0.251564
0
0.374269
0.090994
3,198
41
2,312
78
0.120743
0
0
0.176471
0
0
0
0
0
0
0
0
0
1
0
false
0.058824
0
0
0
0.058824
0
0
1
null
1
1
1
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
8
660718d57acc1be8cf7af1d28c6e4fa502f38466
101
py
Python
utils/__init__.py
BogdanFloris/detecting-and-addressing-change
b11082ebd0fc421eca31c5ba82ddb52446fa56f5
[ "MIT" ]
2
2020-01-24T15:50:47.000Z
2021-04-16T21:21:25.000Z
utils/__init__.py
BogdanFloris/detecting-and-addressing-change
b11082ebd0fc421eca31c5ba82ddb52446fa56f5
[ "MIT" ]
null
null
null
utils/__init__.py
BogdanFloris/detecting-and-addressing-change
b11082ebd0fc421eca31c5ba82ddb52446fa56f5
[ "MIT" ]
null
null
null
from utils.constants import * # noqa: F401, F403 from utils.formatting import * # noqa: F401, F403
33.666667
50
0.722772
14
101
5.214286
0.571429
0.246575
0.383562
0.493151
0
0
0
0
0
0
0
0.144578
0.178218
101
2
51
50.5
0.73494
0.326733
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
7
6632535a9f9ec014dd4ec360bcfe4e4e8993981a
129
py
Python
zqy_utils/result_parser/__init__.py
qianyizhang/zqy-utils
2bbd1c6b3372814227a1e9061f34a0eae100b860
[ "MIT" ]
null
null
null
zqy_utils/result_parser/__init__.py
qianyizhang/zqy-utils
2bbd1c6b3372814227a1e9061f34a0eae100b860
[ "MIT" ]
null
null
null
zqy_utils/result_parser/__init__.py
qianyizhang/zqy-utils
2bbd1c6b3372814227a1e9061f34a0eae100b860
[ "MIT" ]
null
null
null
from .eval_recall import * # noqa from .eval_confusion import * # noqa from .table_renderer import * # noqa
32.25
42
0.627907
15
129
5.2
0.533333
0.384615
0.358974
0
0
0
0
0
0
0
0
0
0.302326
129
3
43
43
0.866667
0.108527
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
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
7
b0a7709db2320d6ed5e312e68e5aa251c139dae2
4,172
py
Python
src/bot/tests/launcher/test_launcher.py
ItsCalebJones/SpaceLaunchNow_API
09289068465c462557649172792ab0f41f833028
[ "Apache-2.0" ]
11
2017-06-26T05:01:31.000Z
2019-09-13T18:48:27.000Z
src/bot/tests/launcher/test_launcher.py
ItsCalebJones/SpaceLaunchNow_API
09289068465c462557649172792ab0f41f833028
[ "Apache-2.0" ]
14
2019-01-30T23:13:34.000Z
2019-10-08T10:43:36.000Z
src/bot/tests/launcher/test_launcher.py
ItsCalebJones/SpaceLaunchNow_API
09289068465c462557649172792ab0f41f833028
[ "Apache-2.0" ]
5
2018-04-24T16:52:59.000Z
2018-08-22T14:06:01.000Z
import unittest from rest_framework import status from api.models import * from api.tests.test__base import LLAPITests class LauncherTests(LLAPITests): @unittest.skipIf(settings.IS_LL, "Not supported in this configuration.") def test_v320_launcher(self): """ Ensure Launcher endpoints work a...
46.876404
85
0.661553
498
4,172
5.431727
0.146586
0.109797
0.119778
0.153789
0.949353
0.949353
0.949353
0.932348
0.932348
0.912754
0
0.019534
0.177852
4,172
88
86
47.409091
0.769096
0.041946
0
0.78125
0
0
0.185707
0.017418
0
0
0
0
0.484375
1
0.0625
false
0
0.0625
0
0.140625
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
1
0
0
0
0
0
0
0
0
0
8
b0e61e3c271ca8a58289e52c8145d6737bfa2b24
2,730
py
Python
examples/method_examples/grid_search_tuning.py
c60evaporator/param-tuning-utility
80625f875428badac37d8439195a9327a565b040
[ "BSD-3-Clause" ]
null
null
null
examples/method_examples/grid_search_tuning.py
c60evaporator/param-tuning-utility
80625f875428badac37d8439195a9327a565b040
[ "BSD-3-Clause" ]
null
null
null
examples/method_examples/grid_search_tuning.py
c60evaporator/param-tuning-utility
80625f875428badac37d8439195a9327a565b040
[ "BSD-3-Clause" ]
1
2022-01-06T05:13:07.000Z
2022-01-06T05:13:07.000Z
# %% grid_search_tuning(), no argument import parent_import from tune_easy import RFRegressorTuning import pandas as pd # Load dataset df_reg = pd.read_csv(f'../sample_data/osaka_metropolis_english.csv') TARGET_VARIABLE = 'approval_rate' # Target variable USE_EXPLANATORY = ['2_between_30to60', '3_male_ratio', '5_house...
43.333333
113
0.709158
349
2,730
5.223496
0.232092
0.049369
0.078991
0.048272
0.817883
0.791552
0.791552
0.791552
0.791552
0.791552
0
0.026979
0.171795
2,730
62
114
44.032258
0.779301
0.179121
0
0.76087
0
0
0.209324
0.058958
0
0
0
0
0
1
0
false
0
0.26087
0
0.26087
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
9ff03fa0e71ed501dc907ca677ca6f3f80044505
160,718
py
Python
rest-client/documents-converter-file-creation.py
bchekuri/python101
b025bb52c56ee69647310a6f883c88f80697a2d0
[ "MIT" ]
null
null
null
rest-client/documents-converter-file-creation.py
bchekuri/python101
b025bb52c56ee69647310a6f883c88f80697a2d0
[ "MIT" ]
null
null
null
rest-client/documents-converter-file-creation.py
bchekuri/python101
b025bb52c56ee69647310a6f883c88f80697a2d0
[ "MIT" ]
null
null
null
import base64 payload = "TU0AKk1NACoAALa1gD/gUDgkFg0HhEJhULhkNh0PiERiUTikCcEVjEZjUbjkdj0Qi8fkUjkklk0YkMnlUrlktjcpl0xmUzmcwmk3nE5jk2nU9n0/hM8oFDok5oVFpFJldHpVNp0dplPqVTiNRqlXrEHq1ZrlYrddsFPr9hslIsdltE/s9ptk4tdtuExt9xukqud1vEju95vk7vt/uWAwVLweFkt7w2JoOKxkvxuPiuIyGMyWTxOVy2FzGZwWbzl/z2fvmh0V40mlumn1Fw1Wrtmt11o2Gxsmz2lg22...
20,089.75
160,560
0.964883
5,527
160,718
28.055907
0.924733
0.001819
0.002399
0.003005
0.027008
0.027008
0.027008
0.027008
0.027008
0.027008
0
0.143325
0.000124
160,718
7
160,561
22,959.714286
0.821622
0
0
0
0
0.2
0.999054
0.998942
0
1
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
0
0
0
0
0
0
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
7
b013e26fe8db807ed6aae6d51f2a6b9a2c73236f
43
py
Python
tests/generic/generators.py
dubesar/model_bakery
a4ccef6d1f4ada60d488f509be4e797e8237d6d3
[ "Apache-2.0" ]
448
2015-01-01T15:12:05.000Z
2018-12-11T12:16:58.000Z
tests/generic/generators.py
dubesar/model_bakery
a4ccef6d1f4ada60d488f509be4e797e8237d6d3
[ "Apache-2.0" ]
161
2015-01-09T03:52:48.000Z
2018-12-11T22:06:52.000Z
tests/generic/generators.py
dubesar/model_bakery
a4ccef6d1f4ada60d488f509be4e797e8237d6d3
[ "Apache-2.0" ]
109
2015-01-15T00:36:52.000Z
2018-07-26T11:22:50.000Z
def gen_value_string(): return 'value'
14.333333
23
0.697674
6
43
4.666667
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.186047
43
2
24
21.5
0.8
0
0
0
0
0
0.116279
0
0
0
0
0
0
1
0.5
true
0
0
0.5
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
1
1
0
0
1
1
0
0
7
c6b341c44d2784468abdcf84a74b3da072386278
172
py
Python
src/rl_agents/runners/__init__.py
mateuspontesm/RL-Agents
70274b2b4b95402f03857818733fc0d52aa3e385
[ "BSD-3-Clause" ]
1
2020-10-30T15:40:01.000Z
2020-10-30T15:40:01.000Z
src/rl_agents/runners/__init__.py
mateuspontesm/RL-Agents
70274b2b4b95402f03857818733fc0d52aa3e385
[ "BSD-3-Clause" ]
null
null
null
src/rl_agents/runners/__init__.py
mateuspontesm/RL-Agents
70274b2b4b95402f03857818733fc0d52aa3e385
[ "BSD-3-Clause" ]
null
null
null
from rl_agents.runners.mab_runner import simple_mab_runner from rl_agents.runners.tab_runner import simple_tab_runner __all__ = ["simple_mab_runner", "simple_tab_runner"]
34.4
58
0.854651
27
172
4.851852
0.37037
0.206107
0.183206
0.290076
0
0
0
0
0
0
0
0
0.075581
172
4
59
43
0.823899
0
0
0
0
0
0.197674
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
7
c6c0de5e28abbfbdf5fe8a41f3ddfa1bcaa1110d
16,473
py
Python
src/ue4nlp/ue_estimator_msd.py
AIRI-Institute/uncertainty_transformers
982b5ae8b39cb484ce3559a72f95d18f30487e38
[ "MIT" ]
null
null
null
src/ue4nlp/ue_estimator_msd.py
AIRI-Institute/uncertainty_transformers
982b5ae8b39cb484ce3559a72f95d18f30487e38
[ "MIT" ]
null
null
null
src/ue4nlp/ue_estimator_msd.py
AIRI-Institute/uncertainty_transformers
982b5ae8b39cb484ce3559a72f95d18f30487e38
[ "MIT" ]
null
null
null
import torch from ue4nlp.dropconnect_mc import ( LinearDropConnectMC, activate_mc_dropconnect, convert_to_mc_dropconnect, hide_dropout, ) from ue4nlp.dropout_mc import DropoutMC, activate_mc_dropout, convert_to_mc_dropout from utils.utils_dropout import set_last_dropout, get_last_dropout, set_last_dropc...
35.967249
121
0.624962
1,958
16,473
4.93667
0.101634
0.030416
0.009311
0.023174
0.83023
0.814815
0.808194
0.795986
0.790606
0.788537
0
0.002802
0.26334
16,473
457
122
36.045952
0.793737
0.027378
0
0.728571
0
0
0.083068
0.033852
0
0
0
0.002188
0
1
0.088571
false
0.005714
0.034286
0.014286
0.197143
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
c6c5a02a46913bc7c4d40aaecf577b10f782b3bb
21,561
py
Python
fhir/resources/tests/test_allergyintolerance.py
mmabey/fhir.resources
cc73718e9762c04726cd7de240c8f2dd5313cbe1
[ "BSD-3-Clause" ]
null
null
null
fhir/resources/tests/test_allergyintolerance.py
mmabey/fhir.resources
cc73718e9762c04726cd7de240c8f2dd5313cbe1
[ "BSD-3-Clause" ]
null
null
null
fhir/resources/tests/test_allergyintolerance.py
mmabey/fhir.resources
cc73718e9762c04726cd7de240c8f2dd5313cbe1
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ Profile: http://hl7.org/fhir/StructureDefinition/AllergyIntolerance Release: R4 Version: 4.0.1 Build ID: 9346c8cc45 Last updated: 2019-11-01T09:29:23.356+11:00 """ import io import json import os import unittest import pytest from .. import allergyintolerance from ..fhirdate import FHIRDa...
40.758034
124
0.619313
2,214
21,561
5.912376
0.103433
0.181054
0.18029
0.225363
0.847441
0.840107
0.799236
0.782047
0.763636
0.756455
0
0.035481
0.254905
21,561
528
125
40.835227
0.779334
0.008441
0
0.571429
0
0
0.17229
0.021244
0
0
0
0
0.303823
1
0.026157
false
0
0.016097
0
0.046278
0
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
c6eeb9023482e10f5b4fa845aad6b92ecc185fdc
7,747
py
Python
tests/controllers/test_query_param_controller.py
mnaumanali94/PYTHON-SDK
97eceab462d86b8666ff1f74830d30cae5202a35
[ "MIT" ]
null
null
null
tests/controllers/test_query_param_controller.py
mnaumanali94/PYTHON-SDK
97eceab462d86b8666ff1f74830d30cae5202a35
[ "MIT" ]
null
null
null
tests/controllers/test_query_param_controller.py
mnaumanali94/PYTHON-SDK
97eceab462d86b8666ff1f74830d30cae5202a35
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ tests.controllers.test_query_param_controller This file was automatically generated for Stamplay by APIMATIC BETA v2.0 on 08/03/2016 """ import jsonpickle from tests.controllers.controller_test_base import * class QueryParamControllerTests(ControllerTestBase): @classmethod ...
41.427807
101
0.700529
933
7,747
5.630225
0.150054
0.054445
0.100514
0.092519
0.762421
0.762421
0.739577
0.71521
0.701504
0.701504
0
0.012631
0.213115
7,747
186
102
41.650538
0.849081
0.249387
0
0.52381
1
0
0.078408
0.006606
0
0
0
0.005376
0.321429
1
0.119048
false
0.107143
0.02381
0
0.154762
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
7
c6f2ff86711c334b3062d6097e2808b816b494be
1,907
py
Python
crawl_requests/req_api.py
shinalone/crawl_requests
cda58c3092a9986d7c507361fdb1a0dc97d37daa
[ "MIT" ]
null
null
null
crawl_requests/req_api.py
shinalone/crawl_requests
cda58c3092a9986d7c507361fdb1a0dc97d37daa
[ "MIT" ]
null
null
null
crawl_requests/req_api.py
shinalone/crawl_requests
cda58c3092a9986d7c507361fdb1a0dc97d37daa
[ "MIT" ]
null
null
null
#coding:utf-8 import random import requests def req_get(url :str,headers :dict,UA_pool :list,proxy_pool :list,**kwargs): session = requests.Session() try: res = session.get(url,headers=headers,**kwargs) return res except: try: if headers: headers.update...
33.45614
94
0.548506
215
1,907
4.790698
0.176744
0.058252
0.116505
0.163107
0.946602
0.946602
0.946602
0.946602
0.939806
0.939806
0
0.00077
0.318825
1,907
56
95
34.053571
0.792148
0.080755
0
0.869565
0
0
0.045767
0
0
0
0
0
0
1
0.043478
false
0
0.043478
0
0.217391
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
05a21014f8db5d36c7bfd9ecf3d0d5fc3f691fda
142,454
py
Python
omegapoint/schema.py
RossFabricant/omegapoint
b0a8c419a64395d62976dc39847b094b4f85d47c
[ "MIT" ]
6
2020-07-10T15:07:58.000Z
2021-08-12T23:13:48.000Z
omegapoint/schema.py
RossFabricant/omegapoint
b0a8c419a64395d62976dc39847b094b4f85d47c
[ "MIT" ]
null
null
null
omegapoint/schema.py
RossFabricant/omegapoint
b0a8c419a64395d62976dc39847b094b4f85d47c
[ "MIT" ]
1
2020-06-23T14:54:14.000Z
2020-06-23T14:54:14.000Z
import sgqlc.types import sgqlc.types.datetime schema = sgqlc.types.Schema() ######################################################################## # Scalars and Enumerations ######################################################################## class ActiveContributorType(sgqlc.types.Enum): __schema__ = s...
51.520434
182
0.736518
16,849
142,454
6.006647
0.041545
0.223801
0.150732
0.05059
0.832233
0.810179
0.778709
0.746369
0.705146
0.67992
0
0.000016
0.116199
142,454
2,764
183
51.539074
0.803838
0.000667
0
0.606772
0
0
0.139333
0.026181
0
0
0
0
0
1
0
false
0
0.000903
0
0.703837
0
0
0
0
null
1
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
8
05adb478c1ff818385bcb67844d5497a6a59d86c
4,108
py
Python
tests/rules/test_S3CrossAccountTrustRule.py
lpmi-13/cfripper
36bfdc45855112496977806e1a93d98d010399ed
[ "Apache-2.0" ]
null
null
null
tests/rules/test_S3CrossAccountTrustRule.py
lpmi-13/cfripper
36bfdc45855112496977806e1a93d98d010399ed
[ "Apache-2.0" ]
null
null
null
tests/rules/test_S3CrossAccountTrustRule.py
lpmi-13/cfripper
36bfdc45855112496977806e1a93d98d010399ed
[ "Apache-2.0" ]
null
null
null
from pytest import fixture from cfripper.config.config import Config from cfripper.model.enums import RuleGranularity, RuleMode, RuleRisk from cfripper.model.result import Failure from cfripper.rules import S3CrossAccountTrustRule from tests.utils import compare_lists_of_failures, get_cfmodel_from @fixture() def s3_...
37.345455
145
0.728092
460
4,108
6.121739
0.16087
0.073864
0.106179
0.163352
0.850852
0.848366
0.81392
0.774858
0.732955
0.732955
0
0.03831
0.199367
4,108
109
146
37.688073
0.817878
0
0
0.619048
0
0.035714
0.185735
0.125122
0
0
0
0
0.142857
1
0.107143
false
0
0.071429
0.035714
0.214286
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
05b4c7ce7bc4de4317288c29ca3169c18f3de527
3,096
py
Python
twrap/weight_init.py
itsnarsi/twrap
cc3128428e37fe0a363e5b18fd7fa0039a963365
[ "MIT" ]
null
null
null
twrap/weight_init.py
itsnarsi/twrap
cc3128428e37fe0a363e5b18fd7fa0039a963365
[ "MIT" ]
null
null
null
twrap/weight_init.py
itsnarsi/twrap
cc3128428e37fe0a363e5b18fd7fa0039a963365
[ "MIT" ]
null
null
null
# @Author: Narsi Reddy <narsi> # @Date: 2018-11-12T14:06:36-06:00 # @Last modified by: narsi # @Last modified time: 2019-01-27T20:55:47-06:00 import numpy as np import torch import torch.nn as nn import torch.nn.init as init ''' https://gist.github.com/jeasinema/ed9236ce743c8efaf30fa2ff732749f5 ''' def weight_init...
28.145455
66
0.537145
376
3,096
4.348404
0.210106
0.09419
0.111315
0.135168
0.73211
0.73211
0.717431
0.717431
0.717431
0.717431
0
0.039467
0.345284
3,096
109
67
28.40367
0.767144
0.062662
0
0.787234
0
0
0.002856
0
0
0
0
0
0
1
0.010638
false
0.12766
0.042553
0
0.053191
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
7
05d6ce801be5db3a01d3c29bb636678e2821bba7
98
py
Python
u24_lymphocyte/third_party/treeano/node_utils.py
ALSM-PhD/quip_classification
7347bfaa5cf11ae2d7a528fbcc43322a12c795d3
[ "BSD-3-Clause" ]
45
2015-04-26T04:45:51.000Z
2022-01-24T15:03:55.000Z
u24_lymphocyte/third_party/treeano/node_utils.py
ALSM-PhD/quip_classification
7347bfaa5cf11ae2d7a528fbcc43322a12c795d3
[ "BSD-3-Clause" ]
8
2018-07-20T20:54:51.000Z
2020-06-12T05:36:04.000Z
u24_lymphocyte/third_party/treeano/node_utils.py
ALSM-PhD/quip_classification
7347bfaa5cf11ae2d7a528fbcc43322a12c795d3
[ "BSD-3-Clause" ]
22
2018-05-21T23:57:20.000Z
2022-02-21T00:48:32.000Z
from . import core def copy_node(node): return core.node_from_data(core.node_to_data(node))
16.333333
55
0.755102
17
98
4.058824
0.529412
0.231884
0
0
0
0
0
0
0
0
0
0
0.142857
98
5
56
19.6
0.821429
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
7
05faf70d9ae3464ab3ce8fa6474b6773d08418b0
1,651
py
Python
tests/test_provider_circonus_labs_circonus.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
507
2017-07-26T02:58:38.000Z
2022-01-21T12:35:13.000Z
tests/test_provider_circonus_labs_circonus.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
135
2017-07-20T12:01:59.000Z
2021-10-04T22:25:40.000Z
tests/test_provider_circonus_labs_circonus.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
81
2018-02-20T17:55:28.000Z
2022-01-31T07:08:40.000Z
# tests/test_provider_circonus-labs_circonus.py # Automatically generated by tools/makecode.py (24-Sep-2021 15:13:59 UTC) def test_provider_import(): import terrascript.provider.circonus_labs.circonus def test_resource_import(): from terrascript.resource.circonus_labs.circonus import circonus_check fro...
33.693878
83
0.807389
209
1,651
6.167464
0.339713
0.158262
0.248254
0.242048
0.645462
0.615206
0.545384
0.545384
0.197828
0.101629
0
0.011111
0.127801
1,651
48
84
34.395833
0.884028
0.317989
0
0
1
0
0
0
0
0
0
0.020833
0
1
0.1875
true
0
1
0
1.1875
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
1
0
0
0
null
0
0
1
0
0
0
1
0
1
0
1
0
0
7
af339e145a8017a065e66456a0736a7ad0a5cd35
5,254
py
Python
PackGrid/Pack_AmmBeen.py
whitegreen/PackingDone
b7f1d2966f1d62a052ca9c96ce70b314d694c9f1
[ "MIT" ]
null
null
null
PackGrid/Pack_AmmBeen.py
whitegreen/PackingDone
b7f1d2966f1d62a052ca9c96ce70b314d694c9f1
[ "MIT" ]
null
null
null
PackGrid/Pack_AmmBeen.py
whitegreen/PackingDone
b7f1d2966f1d62a052ca9c96ce70b314d694c9f1
[ "MIT" ]
null
null
null
import IPGrid DM=4 P = [(-2, -2, -2, 0), (-2, -2, -1, 0), (-2, -2, -1, 1), (-2, -2, 0, 1), (-2, -2, 0, 2), (-2, -1, -1, 1), (-2, -1, 0, 1), (-2, -1, 0, 2), (-2, -1, 1, 1), (-2, -1, 1, 2), (-2, 0, 1, 2), (-2, 0, 2, 2), (-1, -2, -2, -1), (-1, -2, -2, 0), (-1, -2, -1, -1), (-1, -2, -1, 0), (-1, -2, -1, 1), (-1,...
87.566667
120
0.277122
1,225
5,254
1.188571
0.029388
0.29533
0.226648
0.17033
0.818681
0.784341
0.778846
0.739011
0.697115
0.659341
0
0.306723
0.275219
5,254
60
121
87.566667
0.07563
0.026837
0
0
0
0
0
0
0
0
0
0
0.071429
1
0
false
0
0.035714
0
0.035714
0
0
0
1
null
1
1
1
1
1
1
1
0
1
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
11
af3ef5328db70165281714feca8853de4e3aedbe
287
py
Python
OOP-Inheritance/person.py
bekzodbuyukov/Python
bafd81f5074672db4ea989c447c7fd2a4578d964
[ "MIT" ]
null
null
null
OOP-Inheritance/person.py
bekzodbuyukov/Python
bafd81f5074672db4ea989c447c7fd2a4578d964
[ "MIT" ]
null
null
null
OOP-Inheritance/person.py
bekzodbuyukov/Python
bafd81f5074672db4ea989c447c7fd2a4578d964
[ "MIT" ]
null
null
null
class Person: def __init__(self, first_name: str, last_name: str, age: int) -> None: self.first_name = first_name self.last_name = last_name self.age = age def __repr__(self) -> str: return f"{self.first_name} {self.last_name}, {self.age} y.o."
28.7
74
0.620209
43
287
3.767442
0.395349
0.222222
0.240741
0.209877
0.259259
0
0
0
0
0
0
0
0.250871
287
9
75
31.888889
0.753488
0
0
0
0
0
0.178322
0
0
0
0
0
0
1
0.285714
false
0
0
0.142857
0.571429
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
7
a5b138403103c4e87f2d548cbcae0ceb41d9a400
82,357
py
Python
SBMLDiagrams/editSBML.py
SunnyXu/SBMLDiagrams
a7a9dccf42f544d6f48bc097d4dc7ebf5f4e2d41
[ "MIT" ]
null
null
null
SBMLDiagrams/editSBML.py
SunnyXu/SBMLDiagrams
a7a9dccf42f544d6f48bc097d4dc7ebf5f4e2d41
[ "MIT" ]
50
2021-12-03T22:43:18.000Z
2022-03-30T22:15:09.000Z
SBMLDiagrams/editSBML.py
sys-bio/SBMLDiagrams
ff951ff987fadf61a25d239966134e7bbfa1ff1a
[ "MIT" ]
2
2022-01-30T00:47:44.000Z
2022-03-03T01:13:24.000Z
# -*- coding: utf-8 -*- # This script was written by Jin Xu and available on Github # https://github.com/SunnyXu/SBMLDiagrams """ Created on Mon Aug 23 13:25:34 2021 @author: Jin Xu """ #from numpy.core.fromnumeric import shape import pandas as pd import os from SBMLDiagrams import processSBML from SBMLDiagrams impor...
37.417992
2,267
0.609019
11,803
82,357
4.06134
0.062442
0.044247
0.049357
0.037154
0.828959
0.818487
0.80693
0.795498
0.781271
0.771132
0
0.044314
0.251964
82,357
2,201
2,268
37.417992
0.733792
0.349381
0
0.764254
0
0
0.171372
0
0
0
0
0
0
1
0.054825
false
0.007675
0.004386
0
0.114035
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
3c53991ac44ee6ae56e3cc82b381262ef9e97ab9
5,628
py
Python
easelenium/mouse.py
kirillstrelkov/easyselenium
99af15df42d3b4fe2c83a4a8d8d73b0f468539f7
[ "MIT" ]
1
2021-06-13T10:49:01.000Z
2021-06-13T10:49:01.000Z
easelenium/mouse.py
kirillstrelkov/easelenium
99af15df42d3b4fe2c83a4a8d8d73b0f468539f7
[ "MIT" ]
null
null
null
easelenium/mouse.py
kirillstrelkov/easelenium
99af15df42d3b4fe2c83a4a8d8d73b0f468539f7
[ "MIT" ]
1
2019-02-24T03:06:56.000Z
2019-02-24T03:06:56.000Z
class Mouse(object): def __init__(self, browser): self.browser = browser def left_click( self, element=None, by_id=None, by_xpath=None, by_link=None, by_partial_link=None, by_name=None, by_tag=None, by_css=None, by_class=No...
24.902655
83
0.515991
657
5,628
4.062405
0.070015
0.101161
0.087673
0.076433
0.905583
0.905583
0.905583
0.905583
0.905583
0.905583
0
0.002941
0.395878
5,628
225
84
25.013333
0.782059
0
0
0.805825
0
0
0.023099
0
0
0
0
0
0
1
0.033981
false
0
0
0
0.038835
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
3c9ad72ce752f6b5bae237d5f88c958104f5d8ad
201
py
Python
python/src/converters/__init__.py
vvucetic/keyvi
e6f02373350fea000aa3d20be9cc1d0ec09441f7
[ "Apache-2.0" ]
199
2017-12-29T13:36:53.000Z
2022-03-31T19:38:01.000Z
python/src/converters/__init__.py
vvucetic/keyvi
e6f02373350fea000aa3d20be9cc1d0ec09441f7
[ "Apache-2.0" ]
188
2017-11-03T18:22:46.000Z
2022-03-03T17:43:55.000Z
python/src/converters/__init__.py
vvucetic/keyvi
e6f02373350fea000aa3d20be9cc1d0ec09441f7
[ "Apache-2.0" ]
35
2017-11-02T19:18:34.000Z
2021-10-05T09:37:22.000Z
from .pykeyvi_autowrap_conversion_providers import * from autowrap.ConversionProvider import special_converters def register_converters(): special_converters.append(MatchIteratorPairConverter())
28.714286
59
0.860697
19
201
8.789474
0.684211
0.203593
0
0
0
0
0
0
0
0
0
0
0.084577
201
6
60
33.5
0.907609
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
true
0
0.5
0
0.75
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
0
0
7
b1caffcf4ef72abfec8b504afb8c6bf3d8e5acf8
370
py
Python
PythonExercicios/ex108 - Formatando moedas em Python/programa principal.py
laaisfmaia/Exercicios-do-Curso-de-Python
bdaaf682db9f058d51d4dd084dab0e095f7e74c3
[ "MIT" ]
null
null
null
PythonExercicios/ex108 - Formatando moedas em Python/programa principal.py
laaisfmaia/Exercicios-do-Curso-de-Python
bdaaf682db9f058d51d4dd084dab0e095f7e74c3
[ "MIT" ]
null
null
null
PythonExercicios/ex108 - Formatando moedas em Python/programa principal.py
laaisfmaia/Exercicios-do-Curso-de-Python
bdaaf682db9f058d51d4dd084dab0e095f7e74c3
[ "MIT" ]
null
null
null
import moeda n = float(input('Digite um preço: R$')) print(f'A metade de {moeda.moeda(n)} é {moeda.moeda(moeda.metade(n))}') print(f'O dobro de {moeda.moeda(n)} é {moeda.moeda(moeda.dobro(n))}') print(f'Aumentando 10% de {moeda.moeda(n)} temos {moeda.moeda(moeda.aumentar(n,10))}') print(f'Diminuindo 20% de {moeda.moed...
46.25
86
0.691892
67
370
3.820896
0.358209
0.46875
0.1875
0.203125
0.484375
0.484375
0.484375
0.484375
0
0
0
0.023739
0.089189
370
7
87
52.857143
0.735905
0
0
0
0
0.666667
0.786486
0.348649
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.666667
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
7
b1d3ad08f7e74a8dd7683b822ec07fdd04f68f8c
504
py
Python
HS08TEST.py
ankitpipalia/codechef-solutions
d10e7f15b74a11655b0e53953a8e2bc7efbf7377
[ "MIT" ]
1
2022-01-23T08:13:17.000Z
2022-01-23T08:13:17.000Z
HS08TEST.py
ankitpipalia/codechef-solutions
d10e7f15b74a11655b0e53953a8e2bc7efbf7377
[ "MIT" ]
null
null
null
HS08TEST.py
ankitpipalia/codechef-solutions
d10e7f15b74a11655b0e53953a8e2bc7efbf7377
[ "MIT" ]
null
null
null
<<<<<<< HEAD amount, balance = input().split(" ") amount = float(amount) balance = float(balance) charges = float(amount + 0.5) if amount % 5 == 0 and charges <= balance: print("%.2f" %(balance - charges)) else: ======= amount, balance = input().split(" ") amount = float(amount) balance = float(balance) charges = ...
25.2
48
0.634921
59
504
5.423729
0.254237
0.1625
0.13125
0.14375
0.81875
0.81875
0.81875
0.81875
0.81875
0.81875
0
0.082938
0.162698
504
20
49
25.2
0.675355
0
0
0.777778
0
0
0.027723
0
0
0
0
0
0
0
null
null
0
0
null
null
0.166667
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
1
0
0
0
0
0
0
0
0
8
b1d80ae236da43a2332116c3e32bfb46607392d5
3,374
py
Python
actions/postpone.py
dmakeienko/remind_me_bot
54c49abe4dc7674c02cf01390fb6f1551e951b07
[ "Apache-2.0" ]
13
2020-01-19T18:27:29.000Z
2022-02-07T21:15:24.000Z
actions/postpone.py
dmakeienko/remind_me_bot
54c49abe4dc7674c02cf01390fb6f1551e951b07
[ "Apache-2.0" ]
14
2020-06-16T07:18:11.000Z
2020-07-10T09:04:24.000Z
actions/postpone.py
dmakeienko/remind_me_bot
54c49abe4dc7674c02cf01390fb6f1551e951b07
[ "Apache-2.0" ]
6
2019-12-18T05:23:36.000Z
2021-09-20T20:56:08.000Z
from db.database import _update_time, _get_last_remind from datetime import datetime, timedelta from utils.constants import DATETIME_FORMAT, HOUR def postpone(bot, update, args): user_chat_id = update.message.chat_id user_message = ' '.join(args).split(" ") postpone_timedelta = user_message[0] postpone...
46.861111
128
0.696503
470
3,374
4.689362
0.138298
0.084392
0.08167
0.073503
0.876588
0.876588
0.817151
0.817151
0.817151
0.817151
0
0.004441
0.19917
3,374
71
129
47.521127
0.80792
0
0
0.709677
0
0
0.14997
0.034677
0
0
0
0
0
1
0.048387
false
0
0.048387
0
0.096774
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
b1ead9b6e35c20b386d4a1f486314f8b3f445b53
45
py
Python
Ultra Easy/second_element.py
dabockster/PythonExcercises
3fdf6f406e588d0e854abe57a684d2f639071586
[ "MIT" ]
1
2018-10-11T01:49:26.000Z
2018-10-11T01:49:26.000Z
Ultra Easy/second_element.py
dabockster/PythonExcercises
3fdf6f406e588d0e854abe57a684d2f639071586
[ "MIT" ]
null
null
null
Ultra Easy/second_element.py
dabockster/PythonExcercises
3fdf6f406e588d0e854abe57a684d2f639071586
[ "MIT" ]
null
null
null
arr = [0,1,2,3,4,5,6,7,8,9,10] print(arr[1])
15
30
0.533333
15
45
1.6
0.866667
0
0
0
0
0
0
0
0
0
0
0.317073
0.088889
45
3
31
15
0.268293
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
1
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
7
591a874f66c91bfa443b56554370f73c4a680124
178
py
Python
nbmetalog/get_dataframe_short_digest.py
mmore500/nbmetalog
670f8ad76a587d8848c81e4f790c31c96402f8b0
[ "MIT" ]
null
null
null
nbmetalog/get_dataframe_short_digest.py
mmore500/nbmetalog
670f8ad76a587d8848c81e4f790c31c96402f8b0
[ "MIT" ]
1
2021-09-02T16:08:58.000Z
2021-09-02T16:08:58.000Z
nbmetalog/get_dataframe_short_digest.py
mmore500/nbmetalog
670f8ad76a587d8848c81e4f790c31c96402f8b0
[ "MIT" ]
null
null
null
from . import _except_return_none from . import get_dataframe_full_digest @_except_return_none def get_dataframe_short_digest(df): return get_dataframe_full_digest(df)[:16]
25.428571
45
0.837079
27
178
4.962963
0.481481
0.268657
0.238806
0.328358
0
0
0
0
0
0
0
0.0125
0.101124
178
6
46
29.666667
0.825
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0.2
0.8
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
8
a709e401158df0557ac6e8a69ec4c4d484bdee19
32,901
py
Python
great_international/migrations/0102_add_new_investment_sector_model.py
uktrade/directory-cms
8c8d13ce29ea74ddce7a40f3dd29c8847145d549
[ "MIT" ]
6
2018-03-20T11:19:07.000Z
2021-10-05T07:53:11.000Z
great_international/migrations/0102_add_new_investment_sector_model.py
uktrade/directory-cms
8c8d13ce29ea74ddce7a40f3dd29c8847145d549
[ "MIT" ]
802
2018-02-05T14:16:13.000Z
2022-02-10T10:59:21.000Z
great_international/migrations/0102_add_new_investment_sector_model.py
uktrade/directory-cms
8c8d13ce29ea74ddce7a40f3dd29c8847145d549
[ "MIT" ]
6
2019-01-22T13:19:37.000Z
2019-07-01T10:35:26.000Z
# Generated by Django 2.2.24 on 2021-09-07 10:07 import core.model_fields from django.db import migrations, models import django.db.models.deletion import great_international.blocks.great_international import great_international.panels.great_international import modelcluster.fields import wagtail.core.blocks import wa...
189.086207
1,157
0.726331
4,220
32,901
5.477251
0.051185
0.065199
0.086787
0.060742
0.934888
0.921087
0.918448
0.914121
0.903738
0.903522
0
0.015713
0.123765
32,901
173
1,158
190.179191
0.786049
0.001398
0
0
1
0.065868
0.275439
0.047728
0
0
0
0
0
1
0
false
0
0.053892
0
0.071856
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
1
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
596e3dc0802785542397f0d9d5b0b5879035c950
20,538
py
Python
exapi/request_creators/binance/spot/trading/creator.py
astsu-dev/exapi
1ef39ccdd77e9ddb60ec6eaa16a2cc26e1ac3e12
[ "MIT" ]
null
null
null
exapi/request_creators/binance/spot/trading/creator.py
astsu-dev/exapi
1ef39ccdd77e9ddb60ec6eaa16a2cc26e1ac3e12
[ "MIT" ]
null
null
null
exapi/request_creators/binance/spot/trading/creator.py
astsu-dev/exapi
1ef39ccdd77e9ddb60ec6eaa16a2cc26e1ac3e12
[ "MIT" ]
null
null
null
"""Has binance trading request creator interface.""" from typing import Optional from yarl import URL from exapi.auth.binance import IBinanceAuth from exapi.request_creators.binance.spot.base import BinanceBaseSpotRequestCreator from exapi.request_creators.request import Request from exapi.requesters.typedefs import...
40.270588
97
0.546207
2,156
20,538
5.018089
0.074675
0.061004
0.031611
0.041593
0.865145
0.849986
0.843978
0.841667
0.841667
0.833534
0
0.00507
0.375791
20,538
509
98
40.349705
0.838846
0.285909
0
0.783688
0
0
0.038685
0
0
0
0
0
0
1
0.039007
false
0
0.028369
0
0.109929
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
59a0cca5392068f294385a1c88efc9c1ec4bd151
47
py
Python
vkwave/bots/core/dispatching/extensions/callback/__init__.py
krasnovmv/vkwave
e0db86cc16f97797765aadfb811ec87ff7945b1f
[ "MIT" ]
222
2020-03-30T18:09:20.000Z
2022-03-27T18:25:04.000Z
vkwave/bots/core/dispatching/extensions/callback/__init__.py
krasnovmv/vkwave
e0db86cc16f97797765aadfb811ec87ff7945b1f
[ "MIT" ]
62
2020-03-30T18:31:25.000Z
2021-12-21T17:00:44.000Z
vkwave/bots/core/dispatching/extensions/callback/__init__.py
krasnovmv/vkwave
e0db86cc16f97797765aadfb811ec87ff7945b1f
[ "MIT" ]
91
2020-03-30T18:34:49.000Z
2022-03-23T12:58:49.000Z
from ._aiohttp import AIOHTTPCallbackExtension
23.5
46
0.893617
4
47
10.25
1
0
0
0
0
0
0
0
0
0
0
0
0.085106
47
1
47
47
0.953488
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
1
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
7
59a85f1a58f8c6f217bb247a9651a39dba0eb4ba
6,080
py
Python
source/lib/probe.py
WinterWinds-Robotics/pymmw
3e2841f24a6cd98ccbee10a0ee7479f394417708
[ "MIT" ]
144
2019-06-10T03:03:31.000Z
2022-03-25T09:33:41.000Z
source/lib/probe.py
WinterWinds-Robotics/pymmw
3e2841f24a6cd98ccbee10a0ee7479f394417708
[ "MIT" ]
15
2019-12-11T00:03:04.000Z
2022-03-21T15:12:28.000Z
source/lib/probe.py
WinterWinds-Robotics/pymmw
3e2841f24a6cd98ccbee10a0ee7479f394417708
[ "MIT" ]
51
2019-06-11T14:12:29.000Z
2022-03-28T08:38:06.000Z
# # Copyright (c) 2019, Manfred Constapel # This file is licensed under the terms of the MIT license. # # # xds110 support # import sys import time import array from lib.ports import * from lib.utility import * from lib.shell import * # ------------------------------------------ XDS_USB = (0x0451, 0xbef3) # ----...
44.705882
115
0.530757
1,346
6,080
2.382615
0.100297
0.30184
0.314312
0.291862
0.736514
0.728407
0.725288
0.722794
0.720923
0.720923
0
0.482825
0.320066
6,080
135
116
45.037037
0.292937
0.074836
0
0.329787
0
0.340426
0.576217
0
0
0
0.002139
0
0
1
0.042553
false
0
0.06383
0
0.159574
0
0
0
0
null
1
1
1
0
1
1
1
1
1
0
1
0
0
0
0
0
1
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
11
ab7a797149c69e509799ce529a57a9f5aadedcf2
4,821
py
Python
config.py
guoxianru/proxy_pool_lite
f9d48cb03ed3bf923610203ba8c026794eadc307
[ "Apache-2.0" ]
null
null
null
config.py
guoxianru/proxy_pool_lite
f9d48cb03ed3bf923610203ba8c026794eadc307
[ "Apache-2.0" ]
null
null
null
config.py
guoxianru/proxy_pool_lite
f9d48cb03ed3bf923610203ba8c026794eadc307
[ "Apache-2.0" ]
1
2021-08-25T05:48:06.000Z
2021-08-25T05:48:06.000Z
# -*- coding: utf-8 -*- # @Author: GXR # @CreateTime: 2021-04-01 # @UpdateTime: 2021-12-10 # 代理池Redis设置 REDIS_HOST = "redis" REDIS_PORT = "6379" REDIS_DB = "0" # 代理池Redis-key REDIS_KEY_PROXY_FREE = "proxy_free" REDIS_KEY_PROXY_USEFUL = "proxy_useful" # 代理池检查线程数 THREAD_COUNT_PROXY_CHECK = 10 # 代理池刷新线程数 THREAD_COUNT_...
59.518519
135
0.704418
890
4,821
3.749438
0.137079
0.098891
0.089002
0.207672
0.860653
0.860653
0.860653
0.860653
0.860653
0.860653
0
0.223425
0.137523
4,821
80
136
60.2625
0.579125
0.044597
0
0
0
0.634615
0.865083
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
abacc73a6cd855145705390674cb931a47256f49
135
py
Python
hello-world-veronika-cj.py
egriswol/astr-119-section-assignments
6cbeb0397b6a1a9102e8efa771e8d9ed1d3fab18
[ "MIT" ]
2
2018-09-28T18:46:05.000Z
2018-09-28T19:00:27.000Z
hello-world-veronika-cj.py
egriswol/astr-119-section-assignments
6cbeb0397b6a1a9102e8efa771e8d9ed1d3fab18
[ "MIT" ]
67
2018-09-26T06:39:43.000Z
2018-10-03T15:32:12.000Z
hello-world-veronika-cj.py
egriswol/astr-119-section-assignments
6cbeb0397b6a1a9102e8efa771e8d9ed1d3fab18
[ "MIT" ]
62
2018-09-27T20:12:32.000Z
2018-10-03T23:53:47.000Z
#!/usr/bin/env python3 #This program will write: #Hello from Veronika Cabalova Joseph. print("Hello from Veronika Cabalova Joseph.")
22.5
45
0.762963
19
135
5.421053
0.736842
0.174757
0.330097
0.485437
0.601942
0
0
0
0
0
0
0.008547
0.133333
135
6
45
22.5
0.871795
0.607407
0
0
0
0
0.705882
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
7
abdd8acfdc5c5e885c6182c8ee575267b1c7f555
118
py
Python
optimtool/constrain/__init__.py
linjing-lab/optimtool
9ca298b91ba755b4dab4028879af2c5a06c2e6d6
[ "MIT" ]
3
2022-01-24T14:16:07.000Z
2022-02-18T20:02:50.000Z
optimtool/constrain/__init__.py
linjing-lab/optimtool
9ca298b91ba755b4dab4028879af2c5a06c2e6d6
[ "MIT" ]
null
null
null
optimtool/constrain/__init__.py
linjing-lab/optimtool
9ca298b91ba755b4dab4028879af2c5a06c2e6d6
[ "MIT" ]
null
null
null
from optimtool.constrain import equal from optimtool.constrain import unequal from optimtool.constrain import mixequal
39.333333
40
0.881356
15
118
6.933333
0.466667
0.375
0.634615
0.807692
0
0
0
0
0
0
0
0
0.09322
118
3
40
39.333333
0.971963
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
8
abf60e3a73f1b0c49155a95da368acff6204ed11
3,455
py
Python
day2.py
fredericmorin/adventofcode2017
460e804e2ef9c9e5e60b6dadb686f0896b3b16e5
[ "MIT" ]
null
null
null
day2.py
fredericmorin/adventofcode2017
460e804e2ef9c9e5e60b6dadb686f0896b3b16e5
[ "MIT" ]
null
null
null
day2.py
fredericmorin/adventofcode2017
460e804e2ef9c9e5e60b6dadb686f0896b3b16e5
[ "MIT" ]
null
null
null
def solve(input): lines = [] for line in input.split('\n'): elems = map(int, line.split('\t')) lines.append(elems) # print lines checksum = 0 for line in lines: mi = ma = line[0] for elem in line: mi = min(mi, elem) ma = max(ma, elem) checksum += ma - mi return checksum sample_...
37.967033
80
0.683647
702
3,455
3.353276
0.401709
0.011895
0.015293
0.014444
0.872557
0.850467
0.830926
0.830926
0.830926
0.830926
0
0.67449
0.247757
3,455
90
81
38.388889
0.231243
0.017945
0
0.657895
0
0
0.701637
0
0
0
0
0
0.026316
0
null
null
0
0.013158
null
null
0.026316
0
0
0
null
0
0
0
1
1
1
1
1
1
0
1
0
0
0
0
0
1
0
0
0
0
0
1
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
10
e64e907824de8ffeada773c15b39da729d294891
118
py
Python
apps/users/models/__init__.py
Sult/daf
a4da9e8c96f70577e2490c05e82bdf7d0de1a563
[ "MIT" ]
null
null
null
apps/users/models/__init__.py
Sult/daf
a4da9e8c96f70577e2490c05e82bdf7d0de1a563
[ "MIT" ]
null
null
null
apps/users/models/__init__.py
Sult/daf
a4da9e8c96f70577e2490c05e82bdf7d0de1a563
[ "MIT" ]
null
null
null
from apps.users.models.contact import * from apps.users.models.users import * import apps.users.models.user_functions
29.5
39
0.822034
18
118
5.333333
0.444444
0.28125
0.46875
0.395833
0
0
0
0
0
0
0
0
0.084746
118
3
40
39.333333
0.888889
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
8
053745c38729917a7a4c7d432ad75a5f646ebb67
19,239
py
Python
tests/test_listing.py
countermeasure/entomb
4eba79a66ca8d01ccd634f9d74928cb061b5efdb
[ "MIT" ]
null
null
null
tests/test_listing.py
countermeasure/entomb
4eba79a66ca8d01ccd634f9d74928cb061b5efdb
[ "MIT" ]
null
null
null
tests/test_listing.py
countermeasure/entomb
4eba79a66ca8d01ccd634f9d74928cb061b5efdb
[ "MIT" ]
null
null
null
import unittest import unittest.mock as mock import entomb.listing as listing from tests import ( constants, helpers, ) class TestListing(unittest.TestCase): """Tests for the listing module. """ def setUp(self): """Create temporary directories and files. """ helpers.set...
34.416816
78
0.342689
1,641
19,239
5.234613
0.078001
0.217928
0.116531
0.107567
0.943888
0.924331
0.909197
0.902445
0.902445
0.870896
0
0.038911
0.394875
19,239
558
79
34.478495
0.516836
0.02708
0
0.907869
0
0
0.240888
0.134493
0
0
0
0
0.028791
1
0.007678
false
0
0.007678
0
0.017274
0.042226
0
0
0
null
1
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
8
054c023ad1c078a248aabd3e51d5f14ba152a83d
76
py
Python
plugins/python/container/fn/__init__.py
proglang/servercodetest
f0acd5940a22be9a72a95494afb308bb3017ea64
[ "MIT" ]
null
null
null
plugins/python/container/fn/__init__.py
proglang/servercodetest
f0acd5940a22be9a72a95494afb308bb3017ea64
[ "MIT" ]
2
2020-06-05T16:24:37.000Z
2020-11-15T09:02:48.000Z
plugins/python/container/fn/__init__.py
proglang/servercodetest
f0acd5940a22be9a72a95494afb308bb3017ea64
[ "MIT" ]
1
2020-10-22T05:46:52.000Z
2020-10-22T05:46:52.000Z
from .execute import run as run_execute from .radon import run as run_radon
25.333333
39
0.815789
14
76
4.285714
0.428571
0.3
0.366667
0.466667
0
0
0
0
0
0
0
0
0.157895
76
2
40
38
0.9375
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
8
55aabec6f816c0859d7d0e94a44ea2be3a8f40a0
136
py
Python
plugins/carbon_black_cloud/icon_carbon_black_cloud/actions/__init__.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
46
2019-06-05T20:47:58.000Z
2022-03-29T10:18:01.000Z
plugins/carbon_black_cloud/icon_carbon_black_cloud/actions/__init__.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
386
2019-06-07T20:20:39.000Z
2022-03-30T17:35:01.000Z
plugins/carbon_black_cloud/icon_carbon_black_cloud/actions/__init__.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
43
2019-07-09T14:13:58.000Z
2022-03-28T12:04:46.000Z
# GENERATED BY KOMAND SDK - DO NOT EDIT from .get_agent_details.action import GetAgentDetails from .quarantine.action import Quarantine
34
53
0.830882
19
136
5.842105
0.789474
0.216216
0
0
0
0
0
0
0
0
0
0
0.125
136
3
54
45.333333
0.932773
0.272059
0
0
1
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
55abfa40e77238bdced81ca1c74f32570570d0fa
5,554
py
Python
torpido/wavelet/wavelets/db20.py
AP-Atul/Torpido
a646b4d6de7f2e2c96de4c64ce3113f53e3931c2
[ "Unlicense" ]
21
2020-12-23T07:13:10.000Z
2022-01-12T10:32:22.000Z
wavelet/wavelets/db20.py
AP-Atul/wavelets-ext
00ced22462c369584ebd32f9b5f357f092de0142
[ "MIT" ]
2
2020-12-30T10:45:42.000Z
2021-09-25T09:52:00.000Z
wavelet/wavelets/db20.py
AP-Atul/wavelets-ext
00ced22462c369584ebd32f9b5f357f092de0142
[ "MIT" ]
1
2021-02-06T21:39:41.000Z
2021-02-06T21:39:41.000Z
""" Daubechies 20 wavelet """ class Daubechies20: """ Properties ---------- asymmetric, orthogonal, bi-orthogonal All values are from http://wavelets.pybytes.com/wavelet/db20/ """ __name__ = "Daubechies Wavelet 20" __motherWaveletLength__ = 40 # length of the mother wavelet __tra...
28.777202
72
0.618293
422
5,554
8.109005
0.225118
0.00526
0.022209
0.024547
0.880187
0.880187
0.880187
0.880187
0.880187
0.880187
0
0.755076
0.290601
5,554
192
73
28.927083
0.113452
0.052575
0
0.906977
0
0
0.004022
0
0
0
0
0
0
1
0
false
0
0
0
0.046512
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
1
0
0
0
0
0
1
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
e99fd9aa9025c70ad7ae1c9caa8491347234b688
1,451
py
Python
ProjectApplication/grant_management/forms/utils.py
code-review-doctor/project-application
d85b40b69572efbcda24ce9c40803f76d8ffd192
[ "MIT" ]
5
2020-07-29T10:00:11.000Z
2022-02-19T11:00:34.000Z
ProjectApplication/grant_management/forms/utils.py
code-review-doctor/project-application
d85b40b69572efbcda24ce9c40803f76d8ffd192
[ "MIT" ]
471
2019-09-20T14:37:28.000Z
2022-03-25T14:16:34.000Z
ProjectApplication/grant_management/forms/utils.py
code-review-doctor/project-application
d85b40b69572efbcda24ce9c40803f76d8ffd192
[ "MIT" ]
5
2020-03-15T12:42:47.000Z
2022-02-15T18:06:52.000Z
from django.urls import reverse from django.utils.safestring import mark_safe from project_core.utils.utils import format_date def error_due_date_too_early(project): project_basic_information_edit = reverse('logged-grant_management-project-basic-information-update', k...
50.034483
110
0.684356
186
1,451
5.096774
0.225806
0.113924
0.218354
0.170886
0.799578
0.768987
0.768987
0.768987
0.768987
0.768987
0
0
0.219159
1,451
28
111
51.821429
0.836717
0
0
0.421053
0
0
0.474156
0.279807
0
0
0
0
0
1
0.157895
false
0
0.157895
0
0.473684
0
0
0
0
null
0
1
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
e9c2cb50020f44cd612aa908d4129a7fd8aed005
749
py
Python
tests/distancetest.py
sasilva1998/uPyArlo
f40567c2e92f17485991851a423c868419a8665c
[ "MIT" ]
null
null
null
tests/distancetest.py
sasilva1998/uPyArlo
f40567c2e92f17485991851a423c868419a8665c
[ "MIT" ]
null
null
null
tests/distancetest.py
sasilva1998/uPyArlo
f40567c2e92f17485991851a423c868419a8665c
[ "MIT" ]
2
2019-12-05T14:10:34.000Z
2020-09-16T17:12:04.000Z
from arlorobot import * import utime bot = ArloRobot() print("Reseteando encoder...") bot.clear_counts() print("Posiciones efectuadas por motor derecho: ", bot.read_right_counts()) bot.move(0, 100, 200) utime.sleep(4) print("Posiciones efectuadas por motor derecho: ", bot.read_right_counts()) bot.move(0, 50, 200) utim...
32.565217
75
0.751669
113
749
4.867257
0.221239
0.163636
0.272727
0.305455
0.843636
0.843636
0.843636
0.843636
0.843636
0.843636
0
0.057864
0.100134
749
22
76
34.045455
0.75816
0
0
0.619048
0
0
0.356475
0
0
0
0
0
0
1
0
false
0
0.095238
0
0.095238
0.333333
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
e9c31aac34313904ed5dfbf3f439c8ec4b3d3666
238
py
Python
nezzle/utils/__init__.py
dwgoon/nezzle
c69d111ae5e57ee2a7db85e14299c23d3b98a6d5
[ "MIT" ]
2
2021-10-06T08:54:02.000Z
2021-10-06T16:17:18.000Z
nezzle/utils/__init__.py
dwgoon/nezzle
c69d111ae5e57ee2a7db85e14299c23d3b98a6d5
[ "MIT" ]
null
null
null
nezzle/utils/__init__.py
dwgoon/nezzle
c69d111ae5e57ee2a7db85e14299c23d3b98a6d5
[ "MIT" ]
null
null
null
from nezzle.utils.etc import * from nezzle.utils.math import * from nezzle.utils.meta import * from nezzle.utils.networkx import * from nezzle.utils.triggerdict import * from nezzle.utils.search import * from nezzle.utils.module import *
29.75
38
0.794118
35
238
5.4
0.314286
0.37037
0.555556
0.666667
0
0
0
0
0
0
0
0
0.117647
238
7
39
34
0.9
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
e9d9dbbd606d73861ab3f902454068bdcecad8fa
11,651
py
Python
tests/autogen/input/ifort/9-1_linux_intel/l-input-test-1.py
michaelackermannaiub/py-fortranformat
edc530d5edde41f41939c716da8e1ef01fa8a6fe
[ "MIT" ]
null
null
null
tests/autogen/input/ifort/9-1_linux_intel/l-input-test-1.py
michaelackermannaiub/py-fortranformat
edc530d5edde41f41939c716da8e1ef01fa8a6fe
[ "MIT" ]
null
null
null
tests/autogen/input/ifort/9-1_linux_intel/l-input-test-1.py
michaelackermannaiub/py-fortranformat
edc530d5edde41f41939c716da8e1ef01fa8a6fe
[ "MIT" ]
null
null
null
import sys import os import unittest from nose.plugins.attrib import attr # To change this, re-run 'build-unittests.py' from fortranformat._input import input as _input from fortranformat._lexer import lexer as _lexer from fortranformat._parser import parser as _parser import unittest class LEditDescriptorBatch1Tes...
28.556373
64
0.543816
1,534
11,651
3.841591
0.063885
0.079416
0.119124
0.092652
0.869167
0.869167
0.869167
0.869167
0.869167
0.869167
0
0.022311
0.269076
11,651
408
65
28.556373
0.669681
0.003691
0
0.867403
0
0
0.098311
0
0
0
0
0
0.107735
1
0.107735
false
0
0.022099
0
0.132597
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
75af4046dd5c59cf9d02310f8cfdd3815d2d22b1
15,368
py
Python
pclinfmri/preproc/pilots.py
neurospin/preclinicfmri
637ba9f5f594ec837515e7364482f66c37ecf03f
[ "CECILL-B" ]
null
null
null
pclinfmri/preproc/pilots.py
neurospin/preclinicfmri
637ba9f5f594ec837515e7364482f66c37ecf03f
[ "CECILL-B" ]
null
null
null
pclinfmri/preproc/pilots.py
neurospin/preclinicfmri
637ba9f5f594ec837515e7364482f66c37ecf03f
[ "CECILL-B" ]
null
null
null
#! /usr/bin/env python ########################################################################## # NSAp - Copyright (C) CEA, 2013 # Distributed under the terms of the CeCILL-B license, as published by # the CEA-CNRS-INRIA. Refer to the LICENSE file or to # http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html # ...
27.740072
80
0.637949
1,779
15,368
5.349635
0.120292
0.038878
0.02732
0.023957
0.88841
0.88841
0.88841
0.880845
0.880845
0.880845
0
0.004154
0.232496
15,368
553
81
27.790235
0.802713
0.029672
0
0.792553
0
0
0.143824
0.06127
0
0
0
0
0
0
null
null
0
0.132979
null
null
0.095745
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
1
0
0
0
0
0
0
0
0
8
75d139e0f4d9738b2a686687ea1ed2045d32d53a
1,156
py
Python
File Compiler/Automate.py
Elysian01/Mini-Projects
1b952304582053fc3ff559477494c2a99c921c4b
[ "MIT" ]
1
2020-12-10T06:24:41.000Z
2020-12-10T06:24:41.000Z
File Compiler/Automate.py
Elysian01/Mini-Projects
1b952304582053fc3ff559477494c2a99c921c4b
[ "MIT" ]
null
null
null
File Compiler/Automate.py
Elysian01/Mini-Projects
1b952304582053fc3ff559477494c2a99c921c4b
[ "MIT" ]
null
null
null
<<<<<<< HEAD import os import subprocess try : if os.name == 'nt': # for Windows FileName = os.path.expanduser("~/Desktop") + "\\FileComipler" FileName2 = FileName + "\\lib" os.mkdir(FileName) os.mkdir(FileName2) command1 = "xcopy lib C:\\Users\\abhis\\Desktop\\FileCo...
30.421053
86
0.622837
122
1,156
5.868852
0.278689
0.159218
0.061453
0.100559
0.938547
0.938547
0.938547
0.938547
0.938547
0.938547
0
0.04387
0.230969
1,156
37
87
31.243243
0.76153
0.019896
0
0.903226
0
0
0.269027
0.146903
0
0
0
0
0
0
null
null
0.064516
0.129032
null
null
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
1
0
0
1
0
0
0
0
0
9
f95e972f37d013ba167b6015341ecf7bc9e60e44
124
py
Python
synth/__init__.py
billbrod/synthesis-examples
891c25c2396f556a93e2bd0dc12ca53731a434b9
[ "MIT" ]
null
null
null
synth/__init__.py
billbrod/synthesis-examples
891c25c2396f556a93e2bd0dc12ca53731a434b9
[ "MIT" ]
null
null
null
synth/__init__.py
billbrod/synthesis-examples
891c25c2396f556a93e2bd0dc12ca53731a434b9
[ "MIT" ]
null
null
null
from . import create_metamers from . import create_mad_images from . import utils from . import style from . import figures
20.666667
31
0.798387
18
124
5.333333
0.5
0.520833
0.333333
0
0
0
0
0
0
0
0
0
0.16129
124
5
32
24.8
0.923077
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
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
7
f9b55dc1d657760843951802ed28d01f053583c0
281
py
Python
Semana7/matriz8x8.py
BrayanTorres2/Algoritmosyprogramaci-n-Grupo2Ciclo4-
ad64b5a3d3d129efaa297617748a74872522d7a1
[ "MIT" ]
4
2021-09-27T17:20:56.000Z
2021-09-28T23:12:49.000Z
Semana7/matriz8x8.py
BrayanTorres2/Algoritmosyprogramaci-n-Grupo2Ciclo4-
ad64b5a3d3d129efaa297617748a74872522d7a1
[ "MIT" ]
null
null
null
Semana7/matriz8x8.py
BrayanTorres2/Algoritmosyprogramaci-n-Grupo2Ciclo4-
ad64b5a3d3d129efaa297617748a74872522d7a1
[ "MIT" ]
13
2021-07-26T16:38:57.000Z
2021-11-19T02:28:12.000Z
ajedrez=[[0,1,0,1,0,1,0,1],[1,0,1,0,1,0,1,0],[0,1,0,1,0,1,0,1],[1,0,1,0,1,0,1,0],[0,1,0,1,0,1,0,1],[1,0,1,0,1,0,1,0],[0,1,0,1,0,1,0,1],[1,0,1,0,1,0,1,0]] print(ajedrez[0][7]) c=0 for x in range(0,8): for y in range(0,8): if(ajedrez[x][y]==1): c+=1 print(c)
35.125
154
0.47331
92
281
1.445652
0.141304
0.421053
0.541353
0.601504
0.481203
0.481203
0.481203
0.481203
0.481203
0.481203
0
0.300412
0.135231
281
8
155
35.125
0.246914
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
0
0
1
null
1
1
1
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
f9e408994519f3ad3ec653f48f0705a34e618a02
894
py
Python
wrappers/arlexecute/visibility/operations.py
ska-telescope/algorithm-reference-library
1b2c8d6079249202864abf8c60cdea40f0f123cb
[ "Apache-2.0" ]
22
2016-12-14T11:20:07.000Z
2021-08-13T15:23:41.000Z
wrappers/arlexecute/visibility/operations.py
ska-telescope/algorithm-reference-library
1b2c8d6079249202864abf8c60cdea40f0f123cb
[ "Apache-2.0" ]
30
2017-06-27T09:15:38.000Z
2020-09-11T18:16:37.000Z
wrappers/arlexecute/visibility/operations.py
SKA-ScienceDataProcessor/algorithm-reference-library
1b2c8d6079249202864abf8c60cdea40f0f123cb
[ "Apache-2.0" ]
20
2017-07-02T03:45:49.000Z
2019-12-11T17:19:01.000Z
""" Visibility operations """ from processing_components.visibility.operations import append_visibility from processing_components.visibility.operations import sort_visibility from processing_components.visibility.operations import concatenate_visibility from processing_components.visibility.operations import sum_visi...
63.857143
88
0.914989
97
894
8.134021
0.237113
0.304183
0.334601
0.474018
0.833967
0.833967
0.707224
0.174905
0.174905
0
0
0
0.053691
894
14
89
63.857143
0.932624
0.02349
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
9
fb1ca6d817d02674ccfb0da1016d4d96161faab3
7,125
py
Python
2015/Day1/Part1.py
Grohiik/Advent_of_code
c9fc0f1b276a8833b8af6d1ad707e2fd545563e1
[ "MIT" ]
null
null
null
2015/Day1/Part1.py
Grohiik/Advent_of_code
c9fc0f1b276a8833b8af6d1ad707e2fd545563e1
[ "MIT" ]
null
null
null
2015/Day1/Part1.py
Grohiik/Advent_of_code
c9fc0f1b276a8833b8af6d1ad707e2fd545563e1
[ "MIT" ]
null
null
null
input = "((((()(()(((((((()))(((()((((()())(())()(((()((((((()((()(()(((()(()((())))()((()()())))))))))()((((((())((()))(((((()(((((((((()()))((()(())()((())((()(()))((()))()))()(((((()(((()()))()())((()((((())()())()((((())()(()(()(((()(())(()(())(((((((())()()(((())(()(()(()(())))(()((((())((()))(((()(()()(((((()()((...
593.75
7,010
0.008
16
7,125
3.5625
0.625
0.210526
0
0
0
0
0
0
0
0
0
0.000424
0.006737
7,125
12
7,011
593.75
0.00763
0
0
0
0
0
0.982459
0.982318
0
0
0
0
0
1
0
false
0
0
0
0
0.125
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
34b481f4fb64a4a63a5736260047c18768167db8
5,762
py
Python
hyperion/model/tests/test_amr_checks.py
bluescarni/hyperion
4a0d33fcbd3943b5bcfbd318f11e199d2498956d
[ "BSD-2-Clause" ]
2
2015-05-14T17:26:16.000Z
2019-03-13T17:33:18.000Z
hyperion/model/tests/test_amr_checks.py
bluescarni/hyperion
4a0d33fcbd3943b5bcfbd318f11e199d2498956d
[ "BSD-2-Clause" ]
null
null
null
hyperion/model/tests/test_amr_checks.py
bluescarni/hyperion
4a0d33fcbd3943b5bcfbd318f11e199d2498956d
[ "BSD-2-Clause" ]
null
null
null
from astropy.tests.helper import pytest import numpy as np from .. import Model from .test_helpers import random_id, get_test_dust from ...grid import AMRGrid @pytest.mark.parametrize(('direction'), ['x', 'y', 'z']) def test_amr_differing_widths(tmpdir, direction): # Widths of grids in same level are not the sa...
34.094675
179
0.633461
861
5,762
4.138211
0.138211
0.029189
0.053887
0.060623
0.860511
0.860511
0.860511
0.860511
0.8476
0.8476
0
0.050847
0.221798
5,762
168
180
34.297619
0.743756
0.032454
0
0.871795
0
0.025641
0.139497
0
0
0
0
0
0.068376
1
0.034188
false
0
0.042735
0
0.076923
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
9b62d5280c861399552f01c29019d6e2fc59db3d
135
py
Python
100.projects/links/www/router.py
wangpin34/learn-python
e8a17501dbda3ba6e7ca1eccbac89536409b3d79
[ "MIT" ]
null
null
null
100.projects/links/www/router.py
wangpin34/learn-python
e8a17501dbda3ba6e7ca1eccbac89536409b3d79
[ "MIT" ]
null
null
null
100.projects/links/www/router.py
wangpin34/learn-python
e8a17501dbda3ba6e7ca1eccbac89536409b3d79
[ "MIT" ]
null
null
null
from flask import request,render_template @app.route('/', methods=['GET', 'POST']) def home(): return render_template('home.html')
27
41
0.703704
18
135
5.166667
0.833333
0.301075
0
0
0
0
0
0
0
0
0
0
0.111111
135
5
42
27
0.775
0
0
0
0
0
0.125
0
0
0
0
0
0
1
0.25
true
0
0.25
0.25
0.75
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
1
1
0
0
7
9b7572140a6af887fdd47ad35682b2a813b94293
564
py
Python
omoide/migration_engine/operations/unite/__init__.py
TaXeH/Omoide
8ccc9d47e802433bb2de21ff930e6630658cd5e3
[ "MIT" ]
null
null
null
omoide/migration_engine/operations/unite/__init__.py
TaXeH/Omoide
8ccc9d47e802433bb2de21ff930e6630658cd5e3
[ "MIT" ]
null
null
null
omoide/migration_engine/operations/unite/__init__.py
TaXeH/Omoide
8ccc9d47e802433bb2de21ff930e6630658cd5e3
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from omoide.migration_engine.operations.unite import identity from omoide.migration_engine.operations.unite import persistent from omoide.migration_engine.operations.unite import raw_entities from omoide.migration_engine.operations.unite import preprocessing from omoide.migration_engine.operatio...
56.4
76
0.863475
74
564
6.391892
0.27027
0.169133
0.321353
0.422833
0.82241
0.82241
0.82241
0.338266
0
0
0
0.001898
0.065603
564
9
77
62.666667
0.895636
0.037234
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
1
1
1
1
1
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
9
9b99c62aa2fb3bf0ae8a2b025c558bd5145a8c0d
176
py
Python
laia/decoders/__init__.py
eivtho/PyLaia
2a7a6e2eeb9b5af68c0faed0c564b02063e72be0
[ "MIT" ]
89
2018-12-12T23:06:26.000Z
2022-02-03T09:04:21.000Z
laia/decoders/__init__.py
eivtho/PyLaia
2a7a6e2eeb9b5af68c0faed0c564b02063e72be0
[ "MIT" ]
30
2019-03-06T14:29:48.000Z
2022-03-16T14:53:43.000Z
laia/decoders/__init__.py
jpuigcerver/PyLaia
1b2e864247f1bfb8d95ac1910de9c52df71c017a
[ "MIT" ]
26
2018-12-13T17:48:19.000Z
2022-02-28T12:52:29.000Z
from laia.decoders.ctc_alignment import ctc_alignment from laia.decoders.ctc_greedy_decoder import CTCGreedyDecoder from laia.decoders.ctc_nbest_decoder import CTCNBestDecoder
44
61
0.897727
24
176
6.333333
0.458333
0.157895
0.315789
0.375
0
0
0
0
0
0
0
0
0.068182
176
3
62
58.666667
0.926829
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
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
32cc9564c7bb05da5b7c7aedc80965bffca20e71
31,749
py
Python
theano_models/dA/AutoEncoder.py
lzamparo/SdA_reduce
1dc11f23b395f316df5f41448542d2d5c2e619ff
[ "BSD-3-Clause" ]
null
null
null
theano_models/dA/AutoEncoder.py
lzamparo/SdA_reduce
1dc11f23b395f316df5f41448542d2d5c2e619ff
[ "BSD-3-Clause" ]
null
null
null
theano_models/dA/AutoEncoder.py
lzamparo/SdA_reduce
1dc11f23b395f316df5f41448542d2d5c2e619ff
[ "BSD-3-Clause" ]
null
null
null
import numpy as np import theano.tensor as T from theano import shared, config from theano.tensor.shared_randomstreams import RandomStreams class AutoEncoder(object): def __init__(self, numpy_rng=None, theano_rng=None, input=None, n_visible=784, n_hidden=500, W=None, bhid=None, bvis=Non...
44.779972
157
0.587168
4,031
31,749
4.489457
0.082362
0.017019
0.009946
0.01492
0.84141
0.828259
0.817649
0.810963
0.801901
0.78571
0
0.006
0.333333
31,749
709
158
44.779972
0.849003
0.075152
0
0.676923
0
0
0.040149
0.001517
0
0
0
0
0.003846
0
null
null
0
0.015385
null
null
0.007692
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
7
32de13d07920192eeaaa9e6883688f1e214ed9b5
12,714
py
Python
mayan/apps/documents/tests/test_document_views.py
atitaya1412/Mayan-EDMS
bda9302ba4b743e7d829ad118b8b836221888172
[ "Apache-2.0" ]
343
2015-01-05T14:19:35.000Z
2018-12-10T19:07:48.000Z
mayan/apps/documents/tests/test_document_views.py
atitaya1412/Mayan-EDMS
bda9302ba4b743e7d829ad118b8b836221888172
[ "Apache-2.0" ]
191
2015-01-03T00:48:19.000Z
2018-11-30T09:10:25.000Z
mayan/apps/documents/tests/test_document_views.py
atitaya1412/Mayan-EDMS
bda9302ba4b743e7d829ad118b8b836221888172
[ "Apache-2.0" ]
257
2019-05-14T10:26:37.000Z
2022-03-30T03:37:36.000Z
from django.test import override_settings from ..events import event_document_type_changed, event_document_viewed from ..permissions import ( permission_document_properties_edit, permission_document_view ) from .base import GenericDocumentViewTestCase from .mixins.document_mixins import DocumentViewTestMixin cl...
31.626866
101
0.68869
1,451
12,714
5.58856
0.059959
0.150943
0.108521
0.0624
0.932051
0.923295
0.923295
0.922432
0.909977
0.904181
0
0.010831
0.230219
12,714
401
102
31.705736
0.817717
0
0
0.742049
0
0
0.011326
0.001966
0
0
0
0
0.233216
1
0.081272
false
0
0.017668
0
0.106007
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
b5dbb250062e60fe2fec3123cfe97d971434e7c7
594
py
Python
Utilities/Time.py
Lucas-Uchiha/FuinhaBot
f9e17fbe9d728916fa165c127a1e895e7873c407
[ "MIT" ]
null
null
null
Utilities/Time.py
Lucas-Uchiha/FuinhaBot
f9e17fbe9d728916fa165c127a1e895e7873c407
[ "MIT" ]
null
null
null
Utilities/Time.py
Lucas-Uchiha/FuinhaBot
f9e17fbe9d728916fa165c127a1e895e7873c407
[ "MIT" ]
null
null
null
# Gerencia informações de data e hora from datetime import datetime class Time: @staticmethod def agora(): return datetime.timestamp(datetime.now()) @staticmethod def dia(): return datetime.now().strftime("%d") @staticmethod def mes(): return datetime.now().strftime("...
20.482759
50
0.611111
64
594
5.671875
0.4375
0.247934
0.23416
0.344353
0.143251
0
0
0
0
0
0
0
0.245791
594
28
51
21.214286
0.810268
0.058923
0
0.3
0
0
0.039497
0
0
0
0
0
0
1
0.3
true
0
0.05
0.3
0.7
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
1
1
0
0
7
bd29aa1762e8d90998171623db9ebd5d58930736
15,643
py
Python
aws-dev/awsdev8/venv/Lib/site-packages/amazondax/generated/Stubs.py
PacktPublishing/-AWS-Certified-Developer---Associate-Certification
3f76e3d3df6797705b5b30ae574fe678250d5e92
[ "MIT" ]
13
2020-02-02T13:53:50.000Z
2022-03-20T19:50:02.000Z
aws-dev/awsdev8/venv/Lib/site-packages/amazondax/generated/Stubs(1).py
PacktPublishing/-AWS-Certified-Developer---Associate-Certification
3f76e3d3df6797705b5b30ae574fe678250d5e92
[ "MIT" ]
2
2020-03-29T19:08:04.000Z
2021-06-02T00:57:44.000Z
aws-dev/awsdev8/venv/Lib/site-packages/amazondax/generated/Stubs(1).py
PacktPublishing/-AWS-Certified-Developer---Associate-Certification
3f76e3d3df6797705b5b30ae574fe678250d5e92
[ "MIT" ]
10
2019-12-25T20:42:37.000Z
2021-11-17T15:19:00.000Z
# # Copyright 2017 Amazon.com, Inc. or its affiliates. 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. A copy of the License # is located at # # http://aws.amazon.com/apache2.0/ # # or in the "lice...
40.110256
138
0.694943
1,570
15,643
6.76242
0.119108
0.099181
0.093812
0.054253
0.825186
0.808891
0.797683
0.773853
0.760196
0.742583
0
0.02554
0.224062
15,643
389
139
40.213368
0.849151
0.088091
0
0.761029
0
0
0.102227
0.058807
0
0
0
0
0
1
0.047794
false
0
0.003676
0
0.051471
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
1f820ba0b5d23e9c582b771d069724fec5bfa6e4
13,136
py
Python
graylog/apis/systemcluster_api.py
yumimobi/graylog.py
3118f4a49c91c2cbbd660523b0ab99e56fbfd861
[ "Apache-2.0" ]
10
2016-09-27T08:13:22.000Z
2018-09-04T13:15:42.000Z
graylog/apis/systemcluster_api.py
yumimobi/graylog.py
3118f4a49c91c2cbbd660523b0ab99e56fbfd861
[ "Apache-2.0" ]
1
2019-08-28T16:16:09.000Z
2019-08-28T16:16:09.000Z
graylog/apis/systemcluster_api.py
yumimobi/graylog.py
3118f4a49c91c2cbbd660523b0ab99e56fbfd861
[ "Apache-2.0" ]
5
2016-11-03T07:45:18.000Z
2021-08-19T14:21:49.000Z
# coding: utf-8 """ No descripton provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.1.1+01d50e5 Generated by: https://github.com/swagger-api/swagger-codegen.git Licensed under the Apache License, Version 2.0 (the "License"); you m...
37.531429
155
0.564099
1,385
13,136
5.168231
0.145848
0.067058
0.021794
0.030176
0.846186
0.814334
0.812378
0.77354
0.77354
0.765437
0
0.002732
0.359166
13,136
349
156
37.638968
0.847589
0.384896
0
0.729032
1
0
0.120022
0.03455
0
0
0
0
0
1
0.045161
false
0
0.045161
0
0.154839
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
1f9284a03ce8a2d26c4826d0023374c94f930301
22,461
py
Python
tests/camel_test_values.py
katapal/python-bandwidth
4477c4129ce856ccd41adbc94e951336b56d7898
[ "MIT" ]
18
2017-03-07T18:49:19.000Z
2020-11-04T14:27:37.000Z
tests/camel_test_values.py
katapal/python-bandwidth
4477c4129ce856ccd41adbc94e951336b56d7898
[ "MIT" ]
12
2016-11-14T21:43:46.000Z
2019-10-11T20:18:51.000Z
tests/camel_test_values.py
katapal/python-bandwidth
4477c4129ce856ccd41adbc94e951336b56d7898
[ "MIT" ]
13
2017-10-10T17:50:00.000Z
2020-08-13T13:14:22.000Z
before_array_dict = [ {"theRealCat": "unavailable", "code": "callback-http-failure-status", "nestedDeeply": { "stillNesting": { "yetStillNesting": { "wowSuchNest": True } } }, "details": [{"nextId": "ued-abc123", "nam...
47.486258
104
0.261208
1,052
22,461
5.454373
0.110266
0.100383
0.083653
0.10596
0.925932
0.925932
0.911642
0.881666
0.852039
0.852039
0
0.065793
0.62308
22,461
472
105
47.586864
0.611977
0
0
0.764454
0
0
0.263835
0.012021
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
1f92be7e17366c6452310a943e4ca8e5dfec4e38
40
py
Python
Avaliacion9.py
JoaozinhoProgramation/infosatc-lp-avaliativo-02
9049f69c3d66767e1b26bdd4f980eacbcede8713
[ "MIT" ]
null
null
null
Avaliacion9.py
JoaozinhoProgramation/infosatc-lp-avaliativo-02
9049f69c3d66767e1b26bdd4f980eacbcede8713
[ "MIT" ]
null
null
null
Avaliacion9.py
JoaozinhoProgramation/infosatc-lp-avaliativo-02
9049f69c3d66767e1b26bdd4f980eacbcede8713
[ "MIT" ]
null
null
null
n = [2,4,3,1,5,9,6,7,8] print(sorted(n))
20
23
0.55
13
40
1.692308
0.923077
0
0
0
0
0
0
0
0
0
0
0.243243
0.075
40
2
24
20
0.351351
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
1
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
7