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
784e5bf0a0b8655d9a0a603fb8012750676dd86a
1,450
py
Python
trafficgen/benignGenerator/DataGen/wordpressautonew/LoginWordPressData.py
cyberdeception/deepdig
482061bc5039181a95631fcb8515d990eb2e16a9
[ "Apache-2.0" ]
5
2020-03-07T21:28:51.000Z
2022-03-11T06:03:46.000Z
trafficgen/benignGenerator/DataGen/wordpressautonew/LoginWordPressData.py
cyberdeception/deepdig
482061bc5039181a95631fcb8515d990eb2e16a9
[ "Apache-2.0" ]
null
null
null
trafficgen/benignGenerator/DataGen/wordpressautonew/LoginWordPressData.py
cyberdeception/deepdig
482061bc5039181a95631fcb8515d990eb2e16a9
[ "Apache-2.0" ]
4
2019-10-18T18:32:35.000Z
2021-07-16T11:52:38.000Z
import unittest from selenium import webdriver from selenium.common.exceptions import TimeoutException from selenium.webdriver.support.ui import WebDriverWait import time from BaseWordpressData import BaseWordPressData class LoginWordPressData(BaseWordPressData): def __init__(self,type, dataDict,browser): ...
28.431373
78
0.671034
174
1,450
5.45977
0.471264
0.063158
0.047368
0.069474
0.090526
0.090526
0.063158
0
0
0
0
0.00457
0.245517
1,450
50
79
29
0.863803
0.206897
0
0
0
0
0.063269
0
0
0
0
0
0
1
0.08
false
0.12
0.24
0
0.36
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
78505ac1a273f3c03ae2bd2074823ab5e86e19af
4,688
py
Python
src/utils/options.py
JiachengLi1995/FastRec
88174f8beb822c6b5b348c888de184d48d9d013c
[ "MIT" ]
null
null
null
src/utils/options.py
JiachengLi1995/FastRec
88174f8beb822c6b5b348c888de184d48d9d013c
[ "MIT" ]
null
null
null
src/utils/options.py
JiachengLi1995/FastRec
88174f8beb822c6b5b348c888de184d48d9d013c
[ "MIT" ]
null
null
null
from src.datasets import DATASETS from src.dataloaders import DATALOADERS from src.models import MODELS from src.trainers import TRAINERS import argparse parser = argparse.ArgumentParser(description='SASRec') ################ # Test ################ parser.add_argument('--load_pretrained_weights', type=str, default=...
50.956522
132
0.706485
640
4,688
5.003125
0.234375
0.120862
0.228295
0.033729
0.333854
0.205809
0.157402
0.157402
0.157402
0.131168
0
0.019981
0.092577
4,688
91
133
51.516484
0.732722
0.03477
0
0
0
0.018868
0.334501
0.056996
0
0
0
0
0
1
0
false
0
0.09434
0
0.09434
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7850cdbf5aa5b5cdc836f3b7b8695fc3dc13997b
124
py
Python
mainapp/StaffView.py
Facele55/E-Commerce
20103ee09a3c349eb3a0fffeb16b7fc86c5cabbc
[ "Apache-2.0" ]
null
null
null
mainapp/StaffView.py
Facele55/E-Commerce
20103ee09a3c349eb3a0fffeb16b7fc86c5cabbc
[ "Apache-2.0" ]
null
null
null
mainapp/StaffView.py
Facele55/E-Commerce
20103ee09a3c349eb3a0fffeb16b7fc86c5cabbc
[ "Apache-2.0" ]
null
null
null
from django.shortcuts import render def staff_home(request): return render(request, 'staff_template/staff_home.html')
20.666667
60
0.790323
17
124
5.588235
0.705882
0.189474
0
0
0
0
0
0
0
0
0
0
0.120968
124
5
61
24.8
0.87156
0
0
0
0
0
0.241935
0.241935
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
6
7852009b941cee12bd32debb6b11c9f5ed52309b
3,416
py
Python
progress_job_iterator.py
Ariel96cs/SimpleMapReduceFramework
7cf482f94b1ed1e6436a7b229dfe09c3c0906d56
[ "MIT" ]
null
null
null
progress_job_iterator.py
Ariel96cs/SimpleMapReduceFramework
7cf482f94b1ed1e6436a7b229dfe09c3c0906d56
[ "MIT" ]
null
null
null
progress_job_iterator.py
Ariel96cs/SimpleMapReduceFramework
7cf482f94b1ed1e6436a7b229dfe09c3c0906d56
[ "MIT" ]
null
null
null
import message_tools as mt import time class ProgressTaskIterator: def __init__(self, job_id, task, status_handler, file_sys_addr): ''' Tengo que poner a esperar a que inserten en la tabla block de status_db_url los bloques correspodientes a la tarea de task. lo que tengo que esper...
40.188235
116
0.602459
461
3,416
4.262473
0.286334
0.032061
0.039186
0.040712
0.292621
0.23257
0.147074
0.105344
0.076845
0.05598
0
0.0068
0.311183
3,416
84
117
40.666667
0.828304
0.318794
0
0.190476
0
0
0.060606
0
0
0
0
0.02381
0
1
0.071429
false
0
0.047619
0.02381
0.166667
0.02381
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
7852458867e37b272e2b2586e35216cc3c5811b9
137
py
Python
module.py
supperhappie/web_scraper
334cc877d06fe0083f52fca84de7fb906a0ff5f7
[ "MIT" ]
null
null
null
module.py
supperhappie/web_scraper
334cc877d06fe0083f52fca84de7fb906a0ff5f7
[ "MIT" ]
null
null
null
module.py
supperhappie/web_scraper
334cc877d06fe0083f52fca84de7fb906a0ff5f7
[ "MIT" ]
null
null
null
from math import * print(ceil(4.2)) print(sum([0.1,0.1,0.1,0.1,0.1,0.1,0.1,0.1,0.1])) print(fsum([0.1,0.1,0.1,0.1,0.1,0.1,0.1,0.1,0.1]))
27.4
50
0.569343
47
137
1.659574
0.234043
0.461538
0.615385
0.820513
0.461538
0.461538
0.461538
0.461538
0.461538
0.461538
0
0.292308
0.051095
137
5
50
27.4
0.307692
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0.75
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
1
0
0
0
0
1
0
9
7853fc867b9268e27df1fa9c7f6378f0521175e4
7,310
py
Python
untitled.py
czyczyyzc/MyMaskRCNN
e5a451fd05c593ae05d6e596813fc63aad7af2de
[ "MIT" ]
1
2020-10-16T08:10:12.000Z
2020-10-16T08:10:12.000Z
untitled.py
czyczyyzc/MyMaskRCNN
e5a451fd05c593ae05d6e596813fc63aad7af2de
[ "MIT" ]
null
null
null
untitled.py
czyczyyzc/MyMaskRCNN
e5a451fd05c593ae05d6e596813fc63aad7af2de
[ "MIT" ]
null
null
null
BACKBONE = "resnet101" BACKBONE_STRIDES = [4, 8, 16, 32, 64] POST_NMS_ROIS_TRAINING = 2000 POST_NMS_ROIS_INFERENCE = 1000 RPN_NMS_THRESHOLD = 0.7 POOL_SIZE = 7 MASK_POOL_SIZE = 14 TRAIN_BN = False # Defaulting to False since bat...
41.067416
126
0.583174
1,073
7,310
3.603914
0.16589
0.090509
0.049134
0.050427
0.471683
0.359969
0.331006
0.285751
0.250323
0.225498
0
0.031344
0.314774
7,310
178
127
41.067416
0.740667
0.042818
0
0.168067
0
0
0.001297
0
0
0
0
0
0
1
0.058824
false
0
0.02521
0.008403
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7854206db388f69d88e15202d41b4806273c060f
6,198
py
Python
skm_tea/engine/trainer.py
StanfordMIMI/skm-tea
5678bfcebad4fdc30de62b319d96ec1775e1671c
[ "MIT" ]
26
2021-08-28T06:57:50.000Z
2022-02-17T06:33:41.000Z
skm_tea/engine/trainer.py
StanfordMIMI/skm-tea
5678bfcebad4fdc30de62b319d96ec1775e1671c
[ "MIT" ]
6
2021-10-20T16:04:12.000Z
2022-03-15T20:16:52.000Z
skm_tea/engine/trainer.py
StanfordMIMI/skm-tea
5678bfcebad4fdc30de62b319d96ec1775e1671c
[ "MIT" ]
4
2021-11-15T08:32:41.000Z
2022-02-23T18:54:30.000Z
import logging import os import pytorch_lightning as pl from meddlr.config.config import CfgNode from meddlr.engine.trainer import convert_cfg_time_to_iter as _convert_cfg_time_to_iter from meddlr.engine.trainer import format_as_iter from meddlr.utils import env from meddlr.utils.env import supports_wandb from pytorch...
38.02454
99
0.666989
737
6,198
5.369064
0.303935
0.019459
0.029568
0.020217
0.146828
0.054334
0.013141
0
0
0
0
0.004532
0.252339
6,198
162
100
38.259259
0.849374
0.111649
0
0.041322
0
0
0.095046
0.030092
0
0
0
0.006173
0.016529
1
0.049587
false
0
0.123967
0
0.231405
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
78542c8e023300ee416e5d670aa78aae94c4eae7
1,189
py
Python
uw_canvas/tests/test_quizzes.py
uw-it-aca/uw-restclients-canvas
2c54d7676649ec18129817992890878ace1ec6c6
[ "Apache-2.0" ]
1
2019-11-26T21:38:50.000Z
2019-11-26T21:38:50.000Z
uw_canvas/tests/test_quizzes.py
uw-it-aca/uw-restclients-canvas
2c54d7676649ec18129817992890878ace1ec6c6
[ "Apache-2.0" ]
135
2017-04-04T23:11:26.000Z
2021-05-28T17:00:20.000Z
uw_canvas/tests/test_quizzes.py
uw-it-aca/uw-restclients-canvas
2c54d7676649ec18129817992890878ace1ec6c6
[ "Apache-2.0" ]
2
2020-05-20T20:36:55.000Z
2022-03-05T00:23:44.000Z
# Copyright 2021 UW-IT, University of Washington # SPDX-License-Identifier: Apache-2.0 from unittest import TestCase from uw_canvas.utilities import fdao_canvas_override from uw_canvas.quizzes import Quizzes from uw_canvas.models import Quiz @fdao_canvas_override class CanvasTestQuizzes(TestCase): def test_quizz...
32.135135
76
0.660219
148
1,189
5.108108
0.459459
0.126984
0.047619
0.042328
0.121693
0.121693
0.121693
0.121693
0
0
0
0.032644
0.227082
1,189
36
77
33.027778
0.789989
0.068966
0
0.074074
0
0
0.13587
0.019928
0
0
0
0
0.222222
1
0.111111
false
0
0.148148
0
0.296296
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
78556b4b51cbe376c3830238e0401b6707b4b355
87
py
Python
decision_record/record/apps.py
scotthsieh0503/decision-record
a868f5c8b94d621453b330eefad1045b7afb55d4
[ "MIT" ]
3
2020-02-05T06:42:15.000Z
2020-02-17T14:39:58.000Z
yet-another-timelogger/record/apps.py
MarkWh1te/yet-another-timelogger
b3518db9b85ee45a547bc2556e3700f7aab695c6
[ "MIT" ]
17
2020-03-24T17:30:33.000Z
2022-03-11T23:58:34.000Z
record/apps.py
souper-streetwise/charity_data
6d91d4b3d635dad868a5eabab94bbb20eea3d082
[ "MIT" ]
1
2020-06-13T02:25:42.000Z
2020-06-13T02:25:42.000Z
from django.apps import AppConfig class RecordConfig(AppConfig): name = 'record'
14.5
33
0.747126
10
87
6.5
0.9
0
0
0
0
0
0
0
0
0
0
0
0.172414
87
5
34
17.4
0.902778
0
0
0
0
0
0.068966
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
785857077b4350d54dda9d398a5eaff19132e288
820
py
Python
tabular/tests/unittests/models/test_tabular_nn_fastai.py
zhiqiangdon/autogluon
71ee7ef0f05d8f0aad112d8c1719174aa33194d9
[ "Apache-2.0" ]
4,462
2019-12-09T17:41:07.000Z
2022-03-31T22:00:41.000Z
tabular/tests/unittests/models/test_tabular_nn_fastai.py
zhiqiangdon/autogluon
71ee7ef0f05d8f0aad112d8c1719174aa33194d9
[ "Apache-2.0" ]
1,408
2019-12-09T17:48:59.000Z
2022-03-31T20:24:12.000Z
tabular/tests/unittests/models/test_tabular_nn_fastai.py
zhiqiangdon/autogluon
71ee7ef0f05d8f0aad112d8c1719174aa33194d9
[ "Apache-2.0" ]
623
2019-12-10T02:04:18.000Z
2022-03-20T17:11:01.000Z
from autogluon.tabular.models.fastainn.tabular_nn_fastai import NNFastAiTabularModel def test_tabular_nn_fastai_binary(fit_helper): fit_args = dict( hyperparameters={NNFastAiTabularModel: {}}, ) dataset_name = 'adult' fit_helper.fit_and_validate_dataset(dataset_name=dataset_name, fit_args=fit...
30.37037
85
0.765854
100
820
5.81
0.26
0.108434
0.123924
0.082616
0.795181
0.757315
0.757315
0.757315
0.757315
0.416523
0
0
0.14878
820
26
86
31.538462
0.832378
0
0
0.473684
0
0
0.021978
0
0
0
0
0
0
1
0.157895
false
0
0.052632
0
0.210526
0
0
0
0
null
0
0
0
0
1
1
1
1
0
0
0
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
4
785958f309382a011e6f540a7d611fcf8a976c4a
2,082
py
Python
kernel/Settings.py
flopezag/fiware-scrum-reports
56773c2b1d0603f019f08ca7b66fc091e2b975a0
[ "Apache-2.0" ]
null
null
null
kernel/Settings.py
flopezag/fiware-scrum-reports
56773c2b1d0603f019f08ca7b66fc091e2b975a0
[ "Apache-2.0" ]
6
2018-09-04T08:49:29.000Z
2018-09-05T10:31:32.000Z
kernel/Settings.py
flopezag/fiware-scrum-reports
56773c2b1d0603f019f08ca7b66fc091e2b975a0
[ "Apache-2.0" ]
null
null
null
import os from xml.etree import ElementTree as ET from datetime import datetime from collections import namedtuple __author__ = "Manuel Escriche < mev@tid.es>" class Settings: def __init__(self): self._dashboard = dict() self._review = dict() self.home = os.path.split(os.path.dirname(os.p...
33.047619
112
0.628242
241
2,082
5.26556
0.390041
0.052009
0.063042
0.088258
0.130024
0.073286
0.073286
0
0
0
0
0.0031
0.225264
2,082
62
113
33.580645
0.783633
0.020173
0
0.086957
0
0
0.143839
0.010309
0
0
0
0
0
1
0.108696
false
0.086957
0.086957
0.086957
0.304348
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
7859d6c0896c5f80478ef39ac42a3fbaba78584d
4,554
py
Python
diofant/solvers/utils.py
rajkk1/diofant
6b361334569e4ec2e8c7d30dc324387a4ad417c2
[ "BSD-3-Clause" ]
null
null
null
diofant/solvers/utils.py
rajkk1/diofant
6b361334569e4ec2e8c7d30dc324387a4ad417c2
[ "BSD-3-Clause" ]
null
null
null
diofant/solvers/utils.py
rajkk1/diofant
6b361334569e4ec2e8c7d30dc324387a4ad417c2
[ "BSD-3-Clause" ]
null
null
null
"""General utility functions for solvers.""" import warnings from ..core import (expand_mul, expand_multinomial, nan, oo, preorder_traversal, zoo) from ..core.sympify import sympify from ..simplify.simplify import posify, simplify __all__ = 'checksol', def checksol(f, sol, **flags): r"""Ch...
32.070423
85
0.538428
566
4,554
4.265018
0.35689
0.027341
0.020713
0.032312
0.04971
0
0
0
0
0
0
0.010839
0.371981
4,554
141
86
32.297872
0.833217
0.359025
0
0.223684
0
0
0.042075
0
0
0
0
0
0.013158
1
0.013158
false
0
0.052632
0
0.197368
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
786031bca4e4c25f1b895df6dc07e93096ae9dfe
148
py
Python
Python/read/read.py
BackEndTea/Learning
ccbf8fdbb8fb23643898d73e64fe7442ab46b791
[ "MIT" ]
1
2018-10-31T10:36:34.000Z
2018-10-31T10:36:34.000Z
Python/read/read.py
BackEndTea/Learning
ccbf8fdbb8fb23643898d73e64fe7442ab46b791
[ "MIT" ]
null
null
null
Python/read/read.py
BackEndTea/Learning
ccbf8fdbb8fb23643898d73e64fe7442ab46b791
[ "MIT" ]
2
2021-05-06T11:18:25.000Z
2021-12-04T07:56:29.000Z
with open('file.csv', 'r') as f: a = [i for i in f] print(a) with open('file.csv', 'r') as f: a = [i[1: -2] for i in f] print(a)
14.8
32
0.472973
32
148
2.1875
0.4375
0.228571
0.342857
0.428571
0.971429
0.971429
0.6
0.6
0.6
0
0
0.019608
0.310811
148
9
33
16.444444
0.666667
0
0
0.666667
0
0
0.122449
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
1
1
1
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
78607ee463c1efbeda346568d754d388788b0a46
16,798
py
Python
client/admin.py
AhmedElmawary/erp
c998787c62194e26e10e3cbc61e35935e901e56d
[ "MIT" ]
null
null
null
client/admin.py
AhmedElmawary/erp
c998787c62194e26e10e3cbc61e35935e901e56d
[ "MIT" ]
null
null
null
client/admin.py
AhmedElmawary/erp
c998787c62194e26e10e3cbc61e35935e901e56d
[ "MIT" ]
null
null
null
import os from django.template.response import TemplateResponse from _helpers.common import make_list_of_lists from app_user.models import ClosingPeriod from datetime import datetime from django.utils import timezone from django.core.paginator import Paginator from django.db.models.query import QuerySet from django.te...
35.816631
238
0.589177
1,692
16,798
5.529551
0.160165
0.028858
0.027362
0.016032
0.416097
0.354853
0.345019
0.345019
0.337751
0.318298
0
0.003626
0.294023
16,798
468
239
35.893162
0.785311
0.001131
0
0.379397
0
0
0.154318
0.040055
0
0
0
0
0
1
0.052764
false
0
0.065327
0.005025
0.20603
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7862362c2a685a044c14e4b97a8f43d0e7baa1f5
1,352
py
Python
hackerearth/Algorithms/Largest Windmill/solution.py
ATrain951/01.python-com_Qproject
c164dd093954d006538020bdf2e59e716b24d67c
[ "MIT" ]
4
2020-07-24T01:59:50.000Z
2021-07-24T15:14:08.000Z
hackerearth/Algorithms/Largest Windmill/solution.py
ATrain951/01.python-com_Qproject
c164dd093954d006538020bdf2e59e716b24d67c
[ "MIT" ]
null
null
null
hackerearth/Algorithms/Largest Windmill/solution.py
ATrain951/01.python-com_Qproject
c164dd093954d006538020bdf2e59e716b24d67c
[ "MIT" ]
null
null
null
""" # Sample code to perform I/O: name = input() # Reading input from STDIN print('Hi, %s.' % name) # Writing output to STDOUT # Warning: Printing unwanted or ill-formatted data to output will cause the test cases to fail """ # Write your code here from collections import defaultdict, deque ...
23.719298
94
0.517751
204
1,352
3.426471
0.362745
0.030043
0.034335
0.04721
0.11588
0.048641
0
0
0
0
0
0.016685
0.335059
1,352
56
95
24.142857
0.760845
0.196746
0
0.044444
0
0
0
0
0
0
0
0.017857
0
1
0
false
0
0.022222
0
0.022222
0.044444
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
786303dad3d68e212f04a894e451f0bed72ebf96
949
py
Python
mountainproject/util/util.py
calebwang/mountainproject
6a986d33a1e44710308e66eea77b66167a0ef2a7
[ "MIT" ]
null
null
null
mountainproject/util/util.py
calebwang/mountainproject
6a986d33a1e44710308e66eea77b66167a0ef2a7
[ "MIT" ]
null
null
null
mountainproject/util/util.py
calebwang/mountainproject
6a986d33a1e44710308e66eea77b66167a0ef2a7
[ "MIT" ]
null
null
null
import itertools def chunk(iterable, n): it = iter(iterable) cls = list chunk = cls(itertools.islice(it, n)) while chunk: yield chunk chunk = cls(itertools.islice(it, n)) def map_chunk(iterable, n, f_chunk): """ Map over iterable in chunks of size n, applying f_chunk to each chunk, and then fla...
24.333333
83
0.700738
145
949
4.37931
0.358621
0.062992
0.066142
0.089764
0.204724
0.173228
0
0
0
0
0
0.00266
0.207587
949
38
84
24.973684
0.841755
0.150685
0
0.074074
0
0
0
0
0
0
0
0
0
1
0.148148
false
0
0.037037
0.037037
0.296296
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
78634d639d85d08c0ec70e8b376d62a31e283863
6,622
py
Python
code/release/normalize_to_vcd.py
williamgibb/la-data-graphing
dba49e4dcc65256566474f9c8ff407c164d188c2
[ "ECL-1.0" ]
null
null
null
code/release/normalize_to_vcd.py
williamgibb/la-data-graphing
dba49e4dcc65256566474f9c8ff407c164d188c2
[ "ECL-1.0" ]
null
null
null
code/release/normalize_to_vcd.py
williamgibb/la-data-graphing
dba49e4dcc65256566474f9c8ff407c164d188c2
[ "ECL-1.0" ]
null
null
null
# # This script is Copyrighted (c) 2012 by William Gibb and # licensed under the OSI Educational Community License version 1.0 # # Please see the LICENSE.txt file for a full reading of the appopriate # license. # import sys import os import csv import optparse import string import logging import re imp...
31.235849
114
0.614467
905
6,622
4.41105
0.297238
0.037575
0.012024
0.018788
0.117986
0.102705
0.037074
0.037074
0.037074
0.018537
0
0.008808
0.262761
6,622
212
115
31.235849
0.80889
0.078828
0
0.133333
0
0.006667
0.228408
0.007673
0
0
0
0
0
0
null
null
0
0.053333
null
null
0.006667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
78652027358f752a4fa3b5d361b4256d3dc48763
5,372
py
Python
src/psypose/MEVA/scripts/eval_vae.py
scraplab/psypose
81753e29b78023b8a7c48356ec54c67b7182c183
[ "MIT" ]
null
null
null
src/psypose/MEVA/scripts/eval_vae.py
scraplab/psypose
81753e29b78023b8a7c48356ec54c67b7182c183
[ "MIT" ]
1
2021-10-13T16:27:34.000Z
2021-10-13T16:27:34.000Z
src/psypose/MEVA/scripts/eval_vae.py
scraplab/psypose
81753e29b78023b8a7c48356ec54c67b7182c183
[ "MIT" ]
null
null
null
import glob import os import sys import pdb import os.path as osp sys.path.append(os.getcwd()) import math import pickle as pk import argparse import time from torch import optim from torch.utils.tensorboard import SummaryWriter from tqdm import tqdm import joblib from khrylib.utils import * from meva.utils.config im...
36.794521
136
0.648734
748
5,372
4.332888
0.256684
0.044431
0.023758
0.020056
0.139463
0.074668
0.060475
0.048133
0.048133
0.048133
0
0.019311
0.238459
5,372
145
137
37.048276
0.772916
0.04933
0
0.017544
0
0
0.053884
0.022222
0
0
0
0
0
1
0
false
0
0.192982
0
0.192982
0.017544
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
786642d4839cecf971d110875afa5237e48ae23f
475
py
Python
exercise1_6.py
ccie8030/pynet
84be459c6cb50a025a801e3d4b9bd237c698776a
[ "Apache-2.0" ]
1
2016-01-30T03:36:15.000Z
2016-01-30T03:36:15.000Z
exercise1_6.py
ccie8030/pynet
84be459c6cb50a025a801e3d4b9bd237c698776a
[ "Apache-2.0" ]
null
null
null
exercise1_6.py
ccie8030/pynet
84be459c6cb50a025a801e3d4b9bd237c698776a
[ "Apache-2.0" ]
null
null
null
import yaml import json def main(): yaml_file = 'my_yaml.yml' json_file = 'my_json.json' net_dict = {'ip_addr' : '192.168.1.214', 'model' : 'wlc', 'manufacturer' : 'Cisco', 'model': '2504'} net_list = ['test_strings','1','2','3', net_dict, 'python', 'neteng'] with open(yaml_file, "...
18.269231
104
0.581053
71
475
3.676056
0.549296
0.08046
0.05364
0.061303
0
0
0
0
0
0
0
0.046832
0.235789
475
25
105
19
0.672176
0
0
0
0
0
0.225053
0
0
0
0
0
0
1
0.083333
false
0
0.166667
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
786662f7fd60f019ba19ea1741f61dafe91fb64a
1,978
py
Python
Structral Similarity/stsim_2.py
Michelle0903/Performance-Comparison-of-Structural-Similarity-Metrics
c2c409eefe335e4946ca895ad1d22b4930263819
[ "MIT" ]
null
null
null
Structral Similarity/stsim_2.py
Michelle0903/Performance-Comparison-of-Structural-Similarity-Metrics
c2c409eefe335e4946ca895ad1d22b4930263819
[ "MIT" ]
null
null
null
Structral Similarity/stsim_2.py
Michelle0903/Performance-Comparison-of-Structural-Similarity-Metrics
c2c409eefe335e4946ca895ad1d22b4930263819
[ "MIT" ]
null
null
null
from perceptual.metric_copy import Metric import cv2 import os import glob import heapq import torch import time from torch.utils.data import Dataset, DataLoader data_dir = "/Users/yuxiao/Desktop/data/Corbis128BigExperiment_gray/" data = glob.glob(data_dir + "*.tiff") class ImgData(Dataset): def __init__(self, k...
22.224719
86
0.570779
252
1,978
4.313492
0.400794
0.041398
0.033119
0.027599
0
0
0
0
0
0
0
0.022048
0.289181
1,978
88
87
22.477273
0.751067
0.030334
0
0
0
0
0.051724
0.028736
0
0
0
0
0
1
0.081967
false
0
0.131148
0.032787
0.295082
0.016393
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7866925166859dc7a69b09e9e27d0bf72413316f
1,040
py
Python
Bag/testbag.py
yeyuning1/DataStructures
c302db3b14ee131e7090a8cc088519b863880336
[ "MIT" ]
null
null
null
Bag/testbag.py
yeyuning1/DataStructures
c302db3b14ee131e7090a8cc088519b863880336
[ "MIT" ]
null
null
null
Bag/testbag.py
yeyuning1/DataStructures
c302db3b14ee131e7090a8cc088519b863880336
[ "MIT" ]
null
null
null
""" File: testbag.py Author: Yeyuning A tester program for bag implementations. """ from Bag.arraybag import ArrayBag from Bag.linkedbag import LinkedBag # def test(bagType): # lyst = [2013, 61, 1973] # print('The list of items added is:', lyst) # b1 = bagType(lyst) # print("Expect 3:", len(b1)) # ...
25.365854
50
0.575962
140
1,040
4.221429
0.407143
0.22335
0.13198
0.054146
0
0
0
0
0
0
0
0.062096
0.256731
1,040
40
51
26
0.702458
0.857692
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
786736d9f2365d02c0ef89f14817a4203397cc30
165
py
Python
plotsearch/apps.py
City-of-Helsinki/mvj
6f786047805a968317ecc37b38c2262ada2c3805
[ "MIT" ]
1
2021-01-12T08:14:10.000Z
2021-01-12T08:14:10.000Z
plotsearch/apps.py
City-of-Helsinki/mvj
6f786047805a968317ecc37b38c2262ada2c3805
[ "MIT" ]
249
2017-04-18T14:00:13.000Z
2022-03-30T12:18:03.000Z
plotsearch/apps.py
City-of-Helsinki/mvj
6f786047805a968317ecc37b38c2262ada2c3805
[ "MIT" ]
7
2017-04-18T08:43:54.000Z
2021-07-28T07:29:30.000Z
from django.apps import AppConfig class PlotsearchConfig(AppConfig): name = "plotsearch" def ready(self): import plotsearch.signals # noqa: F401
18.333333
47
0.70303
18
165
6.444444
0.833333
0
0
0
0
0
0
0
0
0
0
0.023256
0.218182
165
8
48
20.625
0.875969
0.060606
0
0
0
0
0.065359
0
0
0
0
0
0
1
0.2
false
0
0.4
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
7867596a29dbeb64fbd242bc6c8c7720e3a87739
509
py
Python
src/codebase/controllers/default.py
ooclab/ga.service
894b4703628b2ce93790db31939009783e8e7b09
[ "MIT" ]
1
2019-09-20T04:32:52.000Z
2019-09-20T04:32:52.000Z
src/codebase/controllers/default.py
ooclab/ga.service
894b4703628b2ce93790db31939009783e8e7b09
[ "MIT" ]
1
2019-02-01T04:57:27.000Z
2019-02-01T04:57:27.000Z
src/codebase/controllers/default.py
ooclab/ga.service
894b4703628b2ce93790db31939009783e8e7b09
[ "MIT" ]
1
2019-01-14T06:51:17.000Z
2019-01-14T06:51:17.000Z
# pylint: disable=W0221,W0223 import os from codebase.web import APIRequestHandler class HealthHandler(APIRequestHandler): def get(self): self.write("ok") class SpecHandler(APIRequestHandler): """ 提供 SwaggerUI YAML 文档 """ def get(self): path = os.path.abspath(os.path.join(os....
20.36
82
0.650295
63
509
5.174603
0.619048
0.07362
0.06135
0.104294
0
0
0
0
0
0
0
0.019802
0.206287
509
24
83
21.208333
0.787129
0.096267
0
0.181818
0
0
0.081081
0
0
0
0
0
0
1
0.181818
false
0
0.181818
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
786b2cbe165ff3efeddb8ce434ec54fe8e4cbb38
2,189
py
Python
Projecto1/basico/Exercicio3.py
CarlosMacaneta/Basic-Python
13034a23ca4cb45eab1226c6b719476d713803b9
[ "MIT" ]
1
2021-05-13T11:09:16.000Z
2021-05-13T11:09:16.000Z
Projecto1/basico/Exercicio3.py
CarlosMacaneta/Basic-Python
13034a23ca4cb45eab1226c6b719476d713803b9
[ "MIT" ]
null
null
null
Projecto1/basico/Exercicio3.py
CarlosMacaneta/Basic-Python
13034a23ca4cb45eab1226c6b719476d713803b9
[ "MIT" ]
null
null
null
import os.path import random def gerar_id(): return "AZ" + str(random.randrange(1, 1000)) def designar_arq(): return gerar_id() + ".txt" def formulario(fich): fich.write("Id: " + gerar_id() + "\n") fich.write("Nome: " + input("Nome: ").capitalize() + "\n") fich.write("Perfil: Docente\n") f...
23.042105
69
0.583828
283
2,189
4.40636
0.282686
0.079391
0.057739
0.067362
0.038492
0.038492
0.038492
0
0
0
0
0.003752
0.269529
2,189
94
70
23.287234
0.77611
0
0
0.171429
0
0
0.125171
0
0
0
0
0
0
1
0.142857
false
0.071429
0.028571
0.028571
0.257143
0.057143
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
786ea20db76f036afee97045dee5cd524ee74858
166
py
Python
Exercicios/ex012.py
GabrielMazzuchello/Curso-Em-Video
2bf7847f23980e0ce63312997318a43000246bfa
[ "MIT" ]
2
2021-11-13T13:52:56.000Z
2022-03-29T18:10:27.000Z
Exercicios/ex012.py
GabrielMazzuchello/Curso-Em-Video
2bf7847f23980e0ce63312997318a43000246bfa
[ "MIT" ]
null
null
null
Exercicios/ex012.py
GabrielMazzuchello/Curso-Em-Video
2bf7847f23980e0ce63312997318a43000246bfa
[ "MIT" ]
null
null
null
v = float(input('qual e o valor do seu produto? R$:')) d = v / 100 * 5 print('o valor do produto de R$:{} agora com 5% de desconto ficou R$:{:.2f}'.format(v, (v-d)))
41.5
94
0.60241
34
166
2.941176
0.647059
0.12
0.16
0
0
0
0
0
0
0
0
0.044444
0.186747
166
3
95
55.333333
0.696296
0
0
0
0
0
0.614458
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
787089ab58a2c573c193c13a1c54f7ae8051fe13
1,692
py
Python
graphql/backend/tests/test_compileddocument.py
ThanksBoomerang/graphql-core-legacy
6e2fbccdec655ce9122b84d3808c14242c4e6b96
[ "MIT" ]
8
2020-03-23T21:34:02.000Z
2021-11-12T11:27:45.000Z
graphql/backend/tests/test_compileddocument.py
ThanksBoomerang/graphql-core-legacy
6e2fbccdec655ce9122b84d3808c14242c4e6b96
[ "MIT" ]
17
2020-03-14T22:22:29.000Z
2022-03-16T19:26:37.000Z
graphql/backend/tests/test_compileddocument.py
ThanksBoomerang/graphql-core-legacy
6e2fbccdec655ce9122b84d3808c14242c4e6b96
[ "MIT" ]
17
2020-03-23T12:06:23.000Z
2022-02-13T05:33:32.000Z
from ...language.base import parse from ...utils.ast_to_code import ast_to_code from ..compiled import GraphQLCompiledDocument from .schema import schema def test_compileddocument_from_module_dict(): # type: () -> None document_string = "{ hello }" document_ast = parse(document_string) document = Grap...
28.2
79
0.708038
191
1,692
6
0.225131
0.183246
0.153578
0.122164
0.448517
0.448517
0.380454
0.380454
0.380454
0.380454
0
0.000732
0.19208
1,692
59
80
28.677966
0.837601
0.019504
0
0.304348
0
0
0.27657
0.055556
0
0
0
0
0.217391
1
0.043478
false
0
0.173913
0
0.26087
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
78715707268ed203ef8de172b23e49fc52b02ddc
9,568
py
Python
pid/eco/views.py
PlanetaryResources/pid
ecb146cc26c6ade2863bcdc6d271ead3cbcbbe40
[ "Apache-2.0" ]
3
2019-06-14T18:05:22.000Z
2020-01-22T17:38:17.000Z
pid/eco/views.py
PlanetaryResources/pid
ecb146cc26c6ade2863bcdc6d271ead3cbcbbe40
[ "Apache-2.0" ]
null
null
null
pid/eco/views.py
PlanetaryResources/pid
ecb146cc26c6ade2863bcdc6d271ead3cbcbbe40
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """Design views.""" from flask import Blueprint, request, jsonify, render_template, make_response from flask_login import login_required, current_user from .forms import CreateECOForm from .models import ECO from pid.common.models import Project, Approver from pid.mail import send_email from pid...
35.969925
110
0.639946
1,179
9,568
4.969466
0.15352
0.028674
0.016726
0.03277
0.371906
0.315071
0.249872
0.177846
0.138932
0.129374
0
0.003513
0.226484
9,568
265
111
36.10566
0.788137
0.02916
0
0.269565
0
0.004348
0.134196
0.029342
0
0
0
0.003774
0
1
0.047826
false
0
0.034783
0
0.13913
0.056522
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7872f59905b7d2b01c5c5e396418732a9653183b
3,485
py
Python
psono/restapi/serializers/create_membership.py
dirigeant/psono-server
a18c5b3c4d8bbbe4ecf1615b210d99fb77752205
[ "Apache-2.0", "CC0-1.0" ]
48
2018-04-19T15:50:58.000Z
2022-01-23T15:58:11.000Z
psono/restapi/serializers/create_membership.py
dirigeant/psono-server
a18c5b3c4d8bbbe4ecf1615b210d99fb77752205
[ "Apache-2.0", "CC0-1.0" ]
9
2018-09-13T14:56:18.000Z
2020-01-17T16:44:33.000Z
psono/restapi/serializers/create_membership.py
dirigeant/psono-server
a18c5b3c4d8bbbe4ecf1615b210d99fb77752205
[ "Apache-2.0", "CC0-1.0" ]
11
2019-09-20T11:53:47.000Z
2021-07-18T22:41:31.000Z
from django.utils.translation import ugettext_lazy as _ from rest_framework import serializers, exceptions from ..fields import UUIDField, BooleanField from ..models import User, User_Group_Membership import re class CreateMembershipSerializer(serializers.Serializer): user_id = UUIDField(required=True) grou...
33.190476
145
0.663415
421
3,485
5.31829
0.232779
0.053595
0.12059
0.132649
0.640464
0.591782
0.552479
0.517642
0.517642
0.472086
0
0.004909
0.240172
3,485
104
146
33.509615
0.840634
0.030416
0
0.408451
0
0
0.127924
0.007699
0
0
0
0
0
1
0.126761
false
0
0.070423
0
0.478873
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
78736c505d7315485f6b5015659e5139ab914041
7,158
py
Python
stanza_wrapper/stanza_wrapper.py
Filter-Bubble/stanza_wrapper
04388869cbbe419132628422663e4c7c987cf1d0
[ "Apache-2.0" ]
null
null
null
stanza_wrapper/stanza_wrapper.py
Filter-Bubble/stanza_wrapper
04388869cbbe419132628422663e4c7c987cf1d0
[ "Apache-2.0" ]
null
null
null
stanza_wrapper/stanza_wrapper.py
Filter-Bubble/stanza_wrapper
04388869cbbe419132628422663e4c7c987cf1d0
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from . import __version__ import logging import stanza from KafNafParserPy import * from lxml.etree import XMLSyntaxError from io import BytesIO import sys from itertools import groupby from operator import itemgetter from xml.sax.saxutils import escape logger = logging.getLogger(__name__) thi...
34.248804
86
0.58955
937
7,158
4.225187
0.232657
0.023996
0.025006
0.018186
0.214953
0.168477
0.151048
0.126295
0.092448
0.067189
0
0.00464
0.307488
7,158
208
87
34.413462
0.794029
0.066778
0
0.16875
0
0
0.052813
0.008102
0
0
0
0.004808
0
1
0.04375
false
0
0.0625
0
0.15
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
78745512b8e1db248b6cccfe158e400723701d66
138
py
Python
measure/_measure.py
jedhsu/measure
34dfffa51d6fc348bd324bc490a682103b5b5b99
[ "Apache-2.0" ]
null
null
null
measure/_measure.py
jedhsu/measure
34dfffa51d6fc348bd324bc490a682103b5b5b99
[ "Apache-2.0" ]
null
null
null
measure/_measure.py
jedhsu/measure
34dfffa51d6fc348bd324bc490a682103b5b5b99
[ "Apache-2.0" ]
null
null
null
""" *Measure* The measure type. """ from abc import ABCMeta __all__ = ["Measure"] class Measure: __metaclass__ = ABCMeta
8.625
27
0.630435
14
138
5.642857
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.253623
138
15
28
9.2
0.76699
0.202899
0
0
0
0
0.074468
0
0
0
0
0
0
1
0
false
0
0.25
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
78747f79066b20c85ec7068912df47ccb366ae61
2,749
py
Python
micro_center_price_monitor/price_checker.py
Nintendude64/micro-center-price-monitor
5aee275ef2e6a65d1fd69aa07956225bad7f30ac
[ "MIT" ]
null
null
null
micro_center_price_monitor/price_checker.py
Nintendude64/micro-center-price-monitor
5aee275ef2e6a65d1fd69aa07956225bad7f30ac
[ "MIT" ]
null
null
null
micro_center_price_monitor/price_checker.py
Nintendude64/micro-center-price-monitor
5aee275ef2e6a65d1fd69aa07956225bad7f30ac
[ "MIT" ]
null
null
null
from micro_center_price_monitor.scraper import MicroCenterScraper from micro_center_price_monitor.mail import Email import datetime, time class PriceChecker: """ PriceChecker: Manages execution flow for: -> Retrieving search results list -> Selected wanted product -> Monitori...
39.84058
123
0.559112
285
2,749
5.280702
0.414035
0.055814
0.045183
0.026578
0.077076
0
0
0
0
0
0
0.001152
0.368498
2,749
68
124
40.426471
0.865783
0.237177
0
0
0
0
0.141176
0
0
0
0
0
0
1
0.028571
false
0
0.085714
0
0.142857
0.171429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
78756479e1ce298be3ad0fcb9bbe4e75724a401d
3,613
py
Python
yakbak/diff.py
shiroyuki/2019-cfp
90c20ad01c19ddf17b0bfd1f96b264c715456c01
[ "BSD-3-Clause" ]
null
null
null
yakbak/diff.py
shiroyuki/2019-cfp
90c20ad01c19ddf17b0bfd1f96b264c715456c01
[ "BSD-3-Clause" ]
6
2019-04-27T16:48:33.000Z
2019-08-06T20:28:23.000Z
yakbak/diff.py
shiroyuki/2019-cfp
90c20ad01c19ddf17b0bfd1f96b264c715456c01
[ "BSD-3-Clause" ]
2
2019-08-06T15:23:57.000Z
2019-08-21T23:16:01.000Z
# Per Google's recommendation [1], this is copied from [2], with # the line ending match adjusted to find spans of whitespace. # # The original [2] is used under the Apache License, Version 2.0: # # Diff Match and Patch # Copyright 2018 The diff-match-patch Authors. # https://github.com/google/diff-match-patch # ...
35.772277
122
0.681705
511
3,613
4.800391
0.41683
0.022014
0.028536
0.02446
0.16062
0.141867
0.141867
0.075826
0.075826
0.075826
0
0.034752
0.219485
3,613
100
123
36.13
0.835106
0.618323
0
0
0
0
0.014041
0
0
0
0
0
0
1
0.081081
false
0
0.054054
0
0.243243
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
78758a785c0289c32fa159acab530e62fdfcc65f
24,304
py
Python
mayan/apps/documents/tests/test_document_file_views.py
nattangwiwat/Mayan-EDMS-recitation
fcf16afb56eae812fb99144d65ae1ae6749de0b7
[ "Apache-2.0" ]
343
2015-01-05T14:19:35.000Z
2018-12-10T19:07:48.000Z
mayan/apps/documents/tests/test_document_file_views.py
nattangwiwat/Mayan-EDMS-recitation
fcf16afb56eae812fb99144d65ae1ae6749de0b7
[ "Apache-2.0" ]
191
2015-01-03T00:48:19.000Z
2018-11-30T09:10:25.000Z
mayan/apps/documents/tests/test_document_file_views.py
nattangwiwat/Mayan-EDMS-recitation
fcf16afb56eae812fb99144d65ae1ae6749de0b7
[ "Apache-2.0" ]
257
2019-05-14T10:26:37.000Z
2022-03-30T03:37:36.000Z
from mayan.apps.converter.layers import layer_saved_transformations from mayan.apps.converter.permissions import ( permission_transformation_delete, permission_transformation_edit ) from mayan.apps.converter.tests.mixins import LayerTestMixin from mayan.apps.documents.tests.literals import TEST_MULTI_PAGE_TIFF from...
33.615491
94
0.697704
2,687
24,304
5.852624
0.046892
0.146509
0.137352
0.082666
0.895714
0.877337
0.849421
0.843698
0.835114
0.818962
0
0.008451
0.225889
24,304
722
95
33.66205
0.827416
0.003127
0
0.727273
0
0
0
0
0
0
0
0
0.208333
1
0.060606
false
0
0.022727
0
0.092803
0.032197
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
78768458d1d5d8763041828ce894b1405751ca58
5,872
py
Python
pyjobs_web/pyjobsweb/controllers/jobs.py
pyjobs/web
183742ae571ee83d4fe4b34f1f0ce9f2204c449e
[ "MIT" ]
8
2016-01-29T13:06:26.000Z
2020-11-02T07:23:57.000Z
pyjobs_web/pyjobsweb/controllers/jobs.py
pyjobs/web
183742ae571ee83d4fe4b34f1f0ce9f2204c449e
[ "MIT" ]
18
2016-02-11T08:17:13.000Z
2022-03-02T14:53:38.000Z
pyjobs_web/pyjobsweb/controllers/jobs.py
pyjobs/web
183742ae571ee83d4fe4b34f1f0ce9f2204c449e
[ "MIT" ]
5
2016-02-05T08:57:12.000Z
2018-01-15T08:19:43.000Z
# -*- coding: utf-8 -*- import json import logging from elasticsearch_dsl import Q, SF from sqlalchemy.orm.exc import NoResultFound from tg.decorators import expose, redirect, paginate from tg.exceptions import HTTPNotFound from pyjobsweb.model import JobAlchemy from pyjobsweb.model import JobElastic from pyjobsweb.m...
28.504854
76
0.552282
580
5,872
5.367241
0.312069
0.025699
0.038548
0.013492
0.212014
0.147767
0.130421
0.130421
0.116929
0.116929
0
0.010893
0.358992
5,872
205
77
28.643902
0.816153
0.041383
0
0.345238
0
0.005952
0.075965
0.024017
0
0
0
0
0
0
null
null
0.005952
0.071429
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
7877594dfebd86d5488c351f1f1c7312d5340ea1
2,143
py
Python
market/checkout/urls.py
katomaso/django-market
84c4fa10aefbd792a956cef3d727623ca78cb5fd
[ "MIT" ]
null
null
null
market/checkout/urls.py
katomaso/django-market
84c4fa10aefbd792a956cef3d727623ca78cb5fd
[ "MIT" ]
null
null
null
market/checkout/urls.py
katomaso/django-market
84c4fa10aefbd792a956cef3d727623ca78cb5fd
[ "MIT" ]
null
null
null
# coding: utf-8 from django.utils.translation import gettext as _ from market.core.urls import api from urljects import U, slug, url from market.checkout.views import cart, checkout, order, payment action = slug.replace("slug", "action") def active(user): """Check if the user is active with verified email.""" ...
44.645833
109
0.679421
284
2,143
5.038732
0.415493
0.030748
0.018868
0.016771
0.092243
0.092243
0.092243
0
0
0
0
0.000561
0.168455
2,143
47
110
45.595745
0.802469
0.25385
0
0
0
0
0.245891
0.034134
0
0
0
0.021277
0
1
0.038462
false
0
0.192308
0
0.269231
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
78778c152bb481987b9b0fa41ad4c6ca47520ed9
126
py
Python
apps/notifications/forms.py
TransparentHealth/smh-organization
ca32d1cbb7600e8b22e43e06edab83c323a2404d
[ "Apache-2.0" ]
3
2019-03-03T22:41:00.000Z
2020-04-16T04:07:07.000Z
apps/notifications/forms.py
TransparentHealth/smh_app
ca32d1cbb7600e8b22e43e06edab83c323a2404d
[ "Apache-2.0" ]
112
2019-03-04T14:20:50.000Z
2020-04-29T21:32:07.000Z
apps/notifications/forms.py
TransparentHealth/smh-organization
ca32d1cbb7600e8b22e43e06edab83c323a2404d
[ "Apache-2.0" ]
2
2019-08-01T13:08:28.000Z
2019-12-06T15:53:25.000Z
from django import forms class DismissNotificationForm(forms.Form): pk = forms.IntegerField(required=True, min_value=1)
21
55
0.785714
16
126
6.125
0.875
0
0
0
0
0
0
0
0
0
0
0.009091
0.126984
126
5
56
25.2
0.881818
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
7878b2bddcace81614a809f86447f1bedc047ddf
92
py
Python
pji/entry/__init__.py
HansBug/pji
449d171cea0c03f4c302da886988f36f70e34ee6
[ "Apache-2.0" ]
null
null
null
pji/entry/__init__.py
HansBug/pji
449d171cea0c03f4c302da886988f36f70e34ee6
[ "Apache-2.0" ]
null
null
null
pji/entry/__init__.py
HansBug/pji
449d171cea0c03f4c302da886988f36f70e34ee6
[ "Apache-2.0" ]
null
null
null
from .cli import cli from .runner import DispatchRunner from .script import load_pji_script
23
35
0.836957
14
92
5.357143
0.571429
0
0
0
0
0
0
0
0
0
0
0
0.130435
92
3
36
30.666667
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
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
787af07ddabb27f12cabf735e06b4adc1ae9725b
4,498
py
Python
tukey/api/nova.py
Li-Ko/tukey_portal
8dc395ef1a1ebaa806d23c88ce51460e6c202921
[ "Apache-2.0" ]
null
null
null
tukey/api/nova.py
Li-Ko/tukey_portal
8dc395ef1a1ebaa806d23c88ce51460e6c202921
[ "Apache-2.0" ]
null
null
null
tukey/api/nova.py
Li-Ko/tukey_portal
8dc395ef1a1ebaa806d23c88ce51460e6c202921
[ "Apache-2.0" ]
null
null
null
from collections import Sequence from django.conf import settings from openstack_dashboard.api import nova from openstack_dashboard.api.base import Quota from openstack_dashboard.api.nova import flavor_list from openstack_dashboard.api.nova import novaclient from openstack_dashboard.api.nova import server_list from o...
38.118644
83
0.611827
571
4,498
4.639229
0.281961
0.045678
0.058135
0.066063
0.223103
0.170253
0.100793
0.08607
0.052095
0.052095
0
0.005207
0.274122
4,498
117
84
38.444444
0.806126
0.126723
0
0
0
0
0.130144
0.005401
0
0
0
0.008547
0
1
0.120482
false
0
0.144578
0.072289
0.39759
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
787b63dc0fd0b28ae87da2a327123d0389504e2a
4,881
py
Python
blockchain/toycoin/block.py
tkuriyama/toycoin
aace6c2f2b55ddb2003dcbffff8b923ea6a47670
[ "MIT" ]
2
2021-07-14T07:45:26.000Z
2021-08-11T19:28:42.000Z
blockchain/toycoin/block.py
tkuriyama/toycoin
aace6c2f2b55ddb2003dcbffff8b923ea6a47670
[ "MIT" ]
null
null
null
blockchain/toycoin/block.py
tkuriyama/toycoin
aace6c2f2b55ddb2003dcbffff8b923ea6a47670
[ "MIT" ]
null
null
null
"""Construct blocks. A block consists of a collection of transactions (of some limited number), plus additional metadata in a header. Blocks are generated with a proof-of-work hash. """ import math # type: ignore from toycoin import hash, merkle, transaction, utils # type: ignore from typing import List, Optional, Tu...
28.881657
80
0.597828
589
4,881
4.85399
0.2309
0.036376
0.01539
0.01574
0.06086
0.04687
0.012592
0
0
0
0
0.010315
0.225364
4,881
168
81
29.053571
0.745834
0.202008
0
0.02381
1
0
0.067049
0
0
0
0
0
0.011905
1
0.142857
false
0
0.035714
0
0.452381
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
787c3c6f3e40d9b934038220ef7e2d375b00740c
1,172
py
Python
uptimer/uptimer.py
sourcepirate/uptimer
07ec5586cc1f57676073a8b3098f705ca9c843ec
[ "MIT" ]
1
2021-10-10T16:17:00.000Z
2021-10-10T16:17:00.000Z
uptimer/uptimer.py
sourcepirate/uptimer
07ec5586cc1f57676073a8b3098f705ca9c843ec
[ "MIT" ]
null
null
null
uptimer/uptimer.py
sourcepirate/uptimer
07ec5586cc1f57676073a8b3098f705ca9c843ec
[ "MIT" ]
null
null
null
"""Main module.""" import logging from datetime import datetime from urllib.parse import urlparse from typing import Any, Dict, List import requests def check_domain(domain_url: str) -> Dict[str, Any]: try: current_time = datetime.now() session = requests.Session() response = session.ge...
27.255814
65
0.595563
123
1,172
5.520325
0.406504
0.132548
0.088365
0.05891
0.244477
0.244477
0.244477
0.244477
0.244477
0.244477
0
0.006031
0.292662
1,172
42
66
27.904762
0.813028
0.010239
0
0.352941
0
0
0.093588
0
0
0
0
0
0
1
0.058824
false
0.029412
0.147059
0
0.294118
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
787c830352c3b6240940e7f3f6a544c89fc5bdf9
1,071
py
Python
tests/python_frontend/arithmetic_conversions_test.py
jnice-81/dace
5211794a2d17b7189037ac485ab0b292fb02aa0d
[ "BSD-3-Clause" ]
227
2019-03-15T23:39:06.000Z
2022-03-30T07:49:08.000Z
tests/python_frontend/arithmetic_conversions_test.py
jnice-81/dace
5211794a2d17b7189037ac485ab0b292fb02aa0d
[ "BSD-3-Clause" ]
834
2019-07-31T22:49:31.000Z
2022-03-28T14:01:32.000Z
tests/python_frontend/arithmetic_conversions_test.py
jnice-81/dace
5211794a2d17b7189037ac485ab0b292fb02aa0d
[ "BSD-3-Clause" ]
64
2019-03-19T05:40:37.000Z
2022-03-11T15:02:42.000Z
# Copyright 2019-2021 ETH Zurich and the DaCe authors. All rights reserved. import dace import numpy as np @dace.program def add(A: dace.complex64[5, 5], B: dace.float64[5, 5]): return A + B def test_add(): A = np.random.randint(0, high=10, size=(5, 5), dtype=np.uint64).astype(np.complex64) B = np.random...
23.282609
88
0.633053
183
1,071
3.584699
0.306011
0.02439
0.064024
0.033537
0.152439
0.067073
0.067073
0.067073
0
0
0
0.079625
0.202614
1,071
45
89
23.8
0.688525
0.068161
0
0.096774
0
0
0.008032
0
0
0
0
0
0.096774
1
0.193548
false
0
0.064516
0.096774
0.354839
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
787d2f3c3a6fd4faa65d2cb284cf88e6378a574b
1,484
py
Python
archai/algos/divnas/divnas_exp_runner.py
cclauss/archai
a5fb8f937f7f1319e3204120803b2a045e9f768b
[ "MIT" ]
344
2020-06-12T22:12:56.000Z
2022-03-29T06:48:20.000Z
archai/algos/divnas/divnas_exp_runner.py
cclauss/archai
a5fb8f937f7f1319e3204120803b2a045e9f768b
[ "MIT" ]
29
2020-06-13T19:56:49.000Z
2022-03-30T20:26:48.000Z
archai/algos/divnas/divnas_exp_runner.py
cclauss/archai
a5fb8f937f7f1319e3204120803b2a045e9f768b
[ "MIT" ]
68
2020-06-12T19:32:43.000Z
2022-03-05T06:58:40.000Z
# Copyright (c) Microsoft Corporation. # Licensed under the MIT license. from typing import Type from overrides import overrides from archai.common.common import get_conf from archai.nas.exp_runner import ExperimentRunner from archai.nas.arch_trainer import ArchTrainer, TArchTrainer from archai.algos.darts.bilevel_a...
29.098039
70
0.715633
149
1,484
7
0.389262
0.057526
0.037392
0
0
0
0
0
0
0
0
0
0.207547
1,484
50
71
29.68
0.886905
0.045822
0
0.2
0
0
0.048936
0
0
0
0
0
0
1
0.085714
false
0
0.314286
0.028571
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
7880e8c114adeeed696cf6d28a33365f19d2d6f6
7,612
py
Python
Seeder/settings/base.py
WebarchivCZ/Seeder
1958c5d3f6bdcbbdb2c81dcb6abc7f689125b6a8
[ "MIT" ]
8
2017-08-16T19:18:57.000Z
2022-01-24T10:08:19.000Z
Seeder/settings/base.py
WebarchivCZ/Seeder
1958c5d3f6bdcbbdb2c81dcb6abc7f689125b6a8
[ "MIT" ]
242
2017-02-03T19:15:52.000Z
2022-03-25T08:02:52.000Z
Seeder/settings/base.py
WebarchivCZ/Seeder
1958c5d3f6bdcbbdb2c81dcb6abc7f689125b6a8
[ "MIT" ]
2
2019-03-06T12:36:29.000Z
2019-07-08T12:52:20.000Z
""" Django settings for Seeder project. For more information on this file, see https://docs.djangoproject.com/en/1.7/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.7/ref/settings/ """ # Build paths inside the project like this: os.path.join(BASE_DIR, ...) imp...
25.373333
97
0.638203
786
7,612
5.996183
0.428753
0.044133
0.037131
0.017823
0.168682
0.161468
0.106726
0.106726
0.051347
0.051347
0
0.014234
0.206253
7,612
299
98
25.458194
0.765806
0.201787
0
0.066327
0
0.010204
0.510113
0.288296
0
0
0
0
0
1
0
false
0.010204
0.020408
0
0.020408
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
788255405425a8b525763b34fd49429697be3d01
915
py
Python
main.py
sonmezerekrem/pytool
181a35ef6d45eba90c5f22cb812aa9fb713443cf
[ "MIT" ]
null
null
null
main.py
sonmezerekrem/pytool
181a35ef6d45eba90c5f22cb812aa9fb713443cf
[ "MIT" ]
null
null
null
main.py
sonmezerekrem/pytool
181a35ef6d45eba90c5f22cb812aa9fb713443cf
[ "MIT" ]
null
null
null
import argparse from src import passwordops from src import fileops parser = argparse.ArgumentParser( formatter_class=argparse.ArgumentDefaultsHelpFormatter) parser.add_argument("--password", help="Password operations") parser.add_argument("--file", help="File operations") parser.add_argument("--network", help="...
29.516129
75
0.727869
116
915
5.698276
0.344828
0.121029
0.090772
0.113464
0.255673
0.173979
0
0
0
0
0
0
0.138798
915
30
76
30.5
0.838832
0
0
0
0
0
0.19235
0
0
0
0
0
0
1
0
false
0.28
0.12
0
0.12
0.04
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
788278de32ad2471d9489fe9c2247f9241b25b2a
262
py
Python
thenewboston_node/business_logic/models/mixins/metadata.py
nishp77/thenewboston-node
158b1f1739b2c6c9c21c80e9da854ca141f1cf8f
[ "MIT" ]
30
2021-03-05T22:08:17.000Z
2021-09-23T02:45:45.000Z
thenewboston_node/business_logic/models/mixins/metadata.py
nishp77/thenewboston-node
158b1f1739b2c6c9c21c80e9da854ca141f1cf8f
[ "MIT" ]
148
2021-03-05T23:37:50.000Z
2021-11-02T02:18:58.000Z
thenewboston_node/business_logic/models/mixins/metadata.py
nishp77/thenewboston-node
158b1f1739b2c6c9c21c80e9da854ca141f1cf8f
[ "MIT" ]
14
2021-03-05T21:58:46.000Z
2021-10-15T17:27:52.000Z
from dataclasses import dataclass from thenewboston_node.core.utils.dataclass import cover_docstring, revert_docstring from .serializable import SerializableMixin @revert_docstring @dataclass @cover_docstring class MetadataMixin(SerializableMixin): pass
20.153846
84
0.854962
28
262
7.821429
0.571429
0.127854
0
0
0
0
0
0
0
0
0
0
0.103053
262
12
85
21.833333
0.931915
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.125
0.375
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
0
0
0
4
78833315feaedc364d2bfb0b40ea41f96410349e
369
py
Python
myCompany/dashboard/containers/dashboard.py
Rom4eg/myCompany
31846a861d8b0560191e2e1d9791f101b88874df
[ "MIT" ]
null
null
null
myCompany/dashboard/containers/dashboard.py
Rom4eg/myCompany
31846a861d8b0560191e2e1d9791f101b88874df
[ "MIT" ]
null
null
null
myCompany/dashboard/containers/dashboard.py
Rom4eg/myCompany
31846a861d8b0560191e2e1d9791f101b88874df
[ "MIT" ]
null
null
null
import datetime from dashboard.mixins import DashboardMixin class DashboardContainer(object): title = "" date = None content = "" url = ""; author = "" def __init__(self, title, content, date, url, author): self.title = title self.content = content self.date = date ...
20.5
58
0.598916
39
369
5.564103
0.461538
0.082949
0
0
0
0
0
0
0
0
0
0
0.303523
369
17
59
21.705882
0.844358
0
0
0
0
0
0
0
0
0
0
0
0
1
0.071429
false
0
0.142857
0
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
78848f7ee34a7d0fca0d77ac1f78fbe0189d64c4
2,437
py
Python
tools/internal/tizenrt_testresult_collector.py
JoshWorld/RT-OCF
fd41fc4ccd0b3a56e6a2a1bee3e164a559a0fd45
[ "Apache-2.0" ]
15
2018-03-07T12:53:30.000Z
2021-07-26T07:08:13.000Z
tools/internal/tizenrt_testresult_collector.py
JoshWorld/RT-OCF
fd41fc4ccd0b3a56e6a2a1bee3e164a559a0fd45
[ "Apache-2.0" ]
2
2018-01-19T06:38:20.000Z
2018-04-09T06:34:28.000Z
tools/internal/tizenrt_testresult_collector.py
JoshWorld/RT-OCF
fd41fc4ccd0b3a56e6a2a1bee3e164a559a0fd45
[ "Apache-2.0" ]
4
2018-01-18T09:53:00.000Z
2020-08-30T13:09:14.000Z
#!/usr/bin/env python import glob import serial import sys from internal.common import Result import time WIFI_SSID = 'ZEROROOT' WIFI_PASSWORD = 'zeroroot' class TestResultCollector: def __init__(self, usb_device=None): if usb_device is None: usb_device = self.get_usb_tty_number() sel...
30.08642
88
0.608535
305
2,437
4.659016
0.295082
0.038001
0.025334
0.042224
0.101337
0.035186
0
0
0
0
0
0.014748
0.27657
2,437
80
89
30.4625
0.791265
0.008207
0
0.064516
0
0
0.108444
0.009106
0
0
0
0
0.048387
1
0.193548
false
0.032258
0.080645
0.048387
0.451613
0.032258
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
78859d3a0ec32800a98db67e89c1c45c1d8a70f3
216
py
Python
liaoxuefeng.com/023-PartialFunction.py
snownothing/Python
9b9e909b66db1c1eccfa41225919acdcd59ab4e3
[ "MIT" ]
null
null
null
liaoxuefeng.com/023-PartialFunction.py
snownothing/Python
9b9e909b66db1c1eccfa41225919acdcd59ab4e3
[ "MIT" ]
null
null
null
liaoxuefeng.com/023-PartialFunction.py
snownothing/Python
9b9e909b66db1c1eccfa41225919acdcd59ab4e3
[ "MIT" ]
null
null
null
# !/usr/bin/env python # coding: utf-8 print int('123', base = 8) def int2(x, base = 2): return int(x, base) print int2('10010') import functools int2 = functools.partial(int, base = 2) print int2('10010')
13.5
39
0.643519
35
216
3.971429
0.571429
0.071942
0.201439
0
0
0
0
0
0
0
0
0.12
0.189815
216
15
40
14.4
0.674286
0.157407
0
0.285714
0
0
0.072626
0
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.428571
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
3
78888d554122d723a2a040946bd993cce961a9e0
2,685
py
Python
metalearn/metalearn/data_environments/sklearn_regression.py
cosmicBboy/ml-research
04fd31f68e7a44152caf6eaaf66ab59f136dd8f5
[ "MIT" ]
8
2018-03-04T21:14:27.000Z
2021-11-16T11:50:12.000Z
metalearn/metalearn/data_environments/sklearn_regression.py
cosmicBboy/ml-research
04fd31f68e7a44152caf6eaaf66ab59f136dd8f5
[ "MIT" ]
24
2018-08-01T04:39:35.000Z
2020-08-18T13:21:56.000Z
metalearn/metalearn/data_environments/sklearn_regression.py
cosmicBboy/ml-research
04fd31f68e7a44152caf6eaaf66ab59f136dd8f5
[ "MIT" ]
4
2020-01-22T04:21:44.000Z
2021-06-25T10:11:22.000Z
"""Module for sampling from a distribution of regression environments.""" from collections import OrderedDict from functools import partial import sklearn.datasets from .data_environment import DataEnvironment from ..data_types import FeatureType, TargetType, DataSourceType def envs(n=5, test_size=None, random_sta...
38.913043
73
0.603352
248
2,685
6.326613
0.310484
0.187381
0.049713
0.063098
0.458891
0.458891
0.428936
0.312938
0.312938
0.312938
0
0.004921
0.318808
2,685
68
74
39.485294
0.852925
0.058845
0
0.57377
0
0
0.036683
0
0
0
0
0.014706
0
1
0.016393
false
0
0.081967
0.016393
0.114754
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
7888949bd7f932e7b291514995f398653ef1a039
9,561
py
Python
tethys_apps/cli/services_commands.py
quyendong/tethys
99bcb524d5b2021b88d5fa15b7ed6b8acb460997
[ "BSD-2-Clause" ]
1
2020-10-08T20:38:33.000Z
2020-10-08T20:38:33.000Z
tethys_apps/cli/services_commands.py
quyendong/tethys
99bcb524d5b2021b88d5fa15b7ed6b8acb460997
[ "BSD-2-Clause" ]
1
2018-04-14T19:40:54.000Z
2018-04-14T19:40:54.000Z
tethys_apps/cli/services_commands.py
quyendong/tethys
99bcb524d5b2021b88d5fa15b7ed6b8acb460997
[ "BSD-2-Clause" ]
1
2021-09-07T14:47:11.000Z
2021-09-07T14:47:11.000Z
from __future__ import print_function from django.core.exceptions import ObjectDoesNotExist from django.db.utils import IntegrityError from django.forms.models import model_to_dict from .cli_colors import BOLD, pretty_output, FG_RED, FG_GREEN from .cli_helpers import add_geoserver_rest_to_endpoint from builtins impor...
41.751092
117
0.590315
1,082
9,561
5.021257
0.141405
0.044174
0.055954
0.031474
0.63372
0.594883
0.558071
0.534143
0.521627
0.477821
0
0.011614
0.315553
9,561
228
118
41.934211
0.818612
0.033469
0
0.502703
0
0.021622
0.16248
0.012616
0
0
0
0
0
1
0.032432
false
0.032432
0.064865
0
0.102703
0.016216
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
788a11df4d7eb86501d6c98b081b63c1da73fda6
6,078
py
Python
graphAttack/gaUtilities/neuralNetwork.py
jgolebiowski/graphAttack
ec8488444b44d0bd54498bf917ee42d821643ee8
[ "MIT" ]
51
2017-08-16T13:04:43.000Z
2022-03-30T09:10:30.000Z
graphAttack/gaUtilities/neuralNetwork.py
jgolebiowski/graphAttack
ec8488444b44d0bd54498bf917ee42d821643ee8
[ "MIT" ]
null
null
null
graphAttack/gaUtilities/neuralNetwork.py
jgolebiowski/graphAttack
ec8488444b44d0bd54498bf917ee42d821643ee8
[ "MIT" ]
12
2017-09-27T01:10:02.000Z
2021-05-05T09:44:56.000Z
"""Neural networks utilities""" import numpy as np from ..coreDataContainers import Variable from ..operations.activationOperations import * from ..operations.costOperations import * from ..operations.twoInputOperations import * from ..operations.singleInputOperations import * from ..operations.convolutionOperation imp...
36.614458
106
0.618954
523
6,078
7.193117
0.269598
0.100478
0.031898
0.045189
0.345561
0.307283
0.279107
0.167996
0.130782
0.091972
0
0.007392
0.30997
6,078
165
107
36.836364
0.889604
0.270155
0
0.231707
0
0
0.000956
0
0
0
0
0
0
1
0.02439
false
0
0.121951
0
0.170732
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
788c4b05fc916695f80ef1ea25828672d59aa6d7
28,835
py
Python
unity/MMutils.py
kreimanlab/WhenPigsFlyContext
4d03bb29f3be3e96c2b9d1945dc08c381abae513
[ "MIT" ]
13
2021-04-07T15:39:24.000Z
2022-03-08T19:01:20.000Z
unity/MMutils.py
kreimanlab/WhenPigsFlyContext
4d03bb29f3be3e96c2b9d1945dc08c381abae513
[ "MIT" ]
1
2021-11-13T17:18:03.000Z
2021-12-03T02:05:33.000Z
unity/MMutils.py
kreimanlab/WhenPigsFlyContext
4d03bb29f3be3e96c2b9d1945dc08c381abae513
[ "MIT" ]
1
2021-04-18T18:14:51.000Z
2021-04-18T18:14:51.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sun Nov 1 17:14:58 2020 @author: mengmi """ import IPython.display # cd into virtualhome repo import sys sys.path.append('../simulation/') from unity_simulator.comm_unity import UnityCommunication import PIL import numpy as np from collections import defa...
37.69281
157
0.594902
3,435
28,835
4.893741
0.1377
0.012849
0.010113
0.009102
0.466865
0.41749
0.392683
0.365021
0.350446
0.325164
0
0.026204
0.283995
28,835
764
158
37.742147
0.787998
0.11167
0
0.455185
0
0
0.053735
0
0
0
0
0
0
1
0.072056
false
0
0.019332
0.005272
0.175747
0.00703
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
788e61041c9a49c346500289a402234d7ce95ad1
6,820
py
Python
jobs.py
jeinarsson/josync
03cd5690f72d1dffb46f5668c3539fd7da2ae9a9
[ "MIT" ]
null
null
null
jobs.py
jeinarsson/josync
03cd5690f72d1dffb46f5668c3539fd7da2ae9a9
[ "MIT" ]
2
2015-01-13T23:01:22.000Z
2015-08-13T10:55:43.000Z
jobs.py
jeinarsson/josync
03cd5690f72d1dffb46f5668c3539fd7da2ae9a9
[ "MIT" ]
null
null
null
import utils import json import os import logging import subprocess as sp import re import datetime logger = logging.getLogger(__name__) class Job(object): """Parent class for backup jobs.""" def __init__(self,params): super(Job, self).__init__() logger.debug("Entering Job constructor.") ...
36.084656
114
0.590469
787
6,820
4.959339
0.251588
0.029977
0.019985
0.030746
0.125288
0.042531
0.029208
0.029208
0.029208
0
0
0.007103
0.298094
6,820
188
115
36.276596
0.808022
0.059238
0
0.133858
0
0
0.151131
0.003598
0
0
0
0
0
0
null
null
0
0.055118
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
788eb0842dabcf5bdcfbc33b4a3c93db411e4720
316
py
Python
test/testConnectDB.py
dantegg/pythonWeather
ceda06e0fb2fe68695b56f8bf0d206099d8779d9
[ "MIT" ]
null
null
null
test/testConnectDB.py
dantegg/pythonWeather
ceda06e0fb2fe68695b56f8bf0d206099d8779d9
[ "MIT" ]
null
null
null
test/testConnectDB.py
dantegg/pythonWeather
ceda06e0fb2fe68695b56f8bf0d206099d8779d9
[ "MIT" ]
null
null
null
#coding:utf-8 import sys sys.path.append("..") from connectDB import connectDB testDB = connectDB testWeatherRecord = { "collectTime": '2016-10-16', "ctemp":'22' } testconnection = testDB.connectMongo() testDB.saveWeather(testWeatherRecord,testconnection) testDB.printWeather(testconnection)
18.588235
52
0.727848
31
316
7.419355
0.677419
0.173913
0
0
0
0
0
0
0
0
0
0.040892
0.148734
316
17
53
18.588235
0.814126
0.037975
0
0
0
0
0.098684
0
0
0
0
0
0
1
0
false
0
0.181818
0
0.181818
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
789058adc310f2219139e2b3fcb62604800cf282
1,249
py
Python
babybuddy/migrations/0003_add_refresh_help_text.py
Gitoffomalawn/babybuddy
3fc147c2f16167858284e2bbec657b1756157fd3
[ "BSD-2-Clause" ]
922
2017-10-26T13:15:40.000Z
2020-02-05T19:06:13.000Z
babybuddy/migrations/0003_add_refresh_help_text.py
Gitoffomalawn/babybuddy
3fc147c2f16167858284e2bbec657b1756157fd3
[ "BSD-2-Clause" ]
109
2017-10-26T14:00:30.000Z
2020-02-05T23:37:11.000Z
babybuddy/migrations/0003_add_refresh_help_text.py
Gitoffomalawn/babybuddy
3fc147c2f16167858284e2bbec657b1756157fd3
[ "BSD-2-Clause" ]
87
2017-10-26T13:15:54.000Z
2020-01-25T12:49:46.000Z
# Generated by Django 2.0.5 on 2018-07-15 14:16 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("babybuddy", "0002_add_settings"), ] operations = [ migrations.AlterField( model_name="settings", nam...
33.756757
109
0.491593
123
1,249
4.934959
0.585366
0.252059
0.266886
0.242175
0
0
0
0
0
0
0
0.083979
0.380304
1,249
36
110
34.694444
0.700258
0.036029
0
0.066667
1
0
0.172213
0.018303
0
0
0
0
0
1
0
false
0
0.066667
0
0.166667
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
78907edec7992fb491f3918fa2ca9ac505827ceb
1,553
py
Python
gender-age/test.py
hazxone/insightface
215e0b602c05be204051225cf84d3691a8672b31
[ "MIT" ]
null
null
null
gender-age/test.py
hazxone/insightface
215e0b602c05be204051225cf84d3691a8672b31
[ "MIT" ]
null
null
null
gender-age/test.py
hazxone/insightface
215e0b602c05be204051225cf84d3691a8672b31
[ "MIT" ]
null
null
null
import face_model import argparse import cv2 import sys import numpy as np import datetime import os import csv parser = argparse.ArgumentParser(description='face model test') # general parser.add_argument('--image-size', default='112,112', help='') parser.add_argument('--image', default='Tom_Hanks_54745.png', help=''...
31.693878
119
0.692853
241
1,553
4.323651
0.39834
0.043186
0.081574
0.048944
0.107486
0.071017
0.049904
0
0
0
0
0.033809
0.142949
1,553
49
120
31.693878
0.749061
0.281391
0
0
0
0
0.229091
0.053636
0
0
0
0
0
0
null
null
0
0.275862
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
7890861cf35effbd978b1f446fe1133e0f69c410
12,683
py
Python
analysis/analysis/seg_stats.py
asaran/sawyer-demos_human-audio
b9f1d1df152234569a95b525441e2afba43f54bf
[ "MIT" ]
null
null
null
analysis/analysis/seg_stats.py
asaran/sawyer-demos_human-audio
b9f1d1df152234569a95b525441e2afba43f54bf
[ "MIT" ]
null
null
null
analysis/analysis/seg_stats.py
asaran/sawyer-demos_human-audio
b9f1d1df152234569a95b525441e2afba43f54bf
[ "MIT" ]
null
null
null
# Analyze the ground truth hand annotated audio features with error presence/segment presence. (Level II) # [What kind of mistake types there are? What are the types of audio that are labeled there?] # TODO: bar plots indicating how frequent errors/segment types are # TODO: What is the distribution of human audio typ...
46.457875
119
0.498305
1,588
12,683
3.775189
0.120907
0.066555
0.04804
0.032027
0.640867
0.567473
0.542619
0.484404
0.468057
0.432027
0
0.008047
0.412126
12,683
273
120
46.457875
0.796003
0.184578
0
0.283871
0
0
0.085487
0.018166
0
0
0
0.003663
0.058065
1
0.03871
false
0
0.032258
0
0.083871
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7890995ad59e5c3bbb5109c842b33e0e62a5d810
1,255
py
Python
exceptions.py
SynStratos/Fitness_Pose_Machine
006576f36b2e5c9b592a1585a91791a0af950814
[ "MIT" ]
3
2020-06-18T21:43:07.000Z
2021-12-18T22:43:44.000Z
exceptions.py
SynStratos/Fitness_Pose_Machine
006576f36b2e5c9b592a1585a91791a0af950814
[ "MIT" ]
null
null
null
exceptions.py
SynStratos/Fitness_Pose_Machine
006576f36b2e5c9b592a1585a91791a0af950814
[ "MIT" ]
null
null
null
class BadRepetitionException(Exception): """ exception raised for a bad repetition """ def __init__(self, *args): super(BadRepetitionException, self).__init__(*args) class NoneRepetitionException(Exception): """ exception raised for repetition ended without movements """ def __...
27.282609
84
0.690837
127
1,255
6.448819
0.354331
0.131868
0.175824
0.10989
0.239316
0.07326
0
0
0
0
0
0
0.207968
1,255
46
85
27.282609
0.823944
0.27012
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
7890d4f24ed4a643bfc95b0ced319e559f2a1e26
4,786
py
Python
AVSD_Baseline/Feature_Extraction/extract_i3d_rgb_features.py
hudaAlamri/DSTC7-Audio-Visual-Scene-Aware-Dialog-AVSD-Challenge
6a5ee8542132ad6634ee02896d7c935b8c447d78
[ "MIT" ]
51
2018-06-04T11:34:58.000Z
2022-03-09T09:18:08.000Z
AVSD_Baseline/Feature_Extraction/extract_i3d_rgb_features.py
TwentyBN/DSTC7-Audio-Visual-Scene-Aware-Dialog-AVSD-Challenge
61ea13cd680fc4743ad20e010c6d3047e03b993c
[ "MIT" ]
4
2018-08-17T12:40:34.000Z
2020-01-09T19:00:56.000Z
AVSD_Baseline/Feature_Extraction/extract_i3d_rgb_features.py
hudaAlamri/DSTC7-Audio-Visual-Scene-Aware-Dialog-AVSD-Challenge
6a5ee8542132ad6634ee02896d7c935b8c447d78
[ "MIT" ]
13
2018-06-01T19:50:44.000Z
2020-12-04T03:37:48.000Z
"""I3D feature extration using a tensorflow model. Copyright 2018 Mitsubishi Electric Research Labs """ from __future__ import absolute_import from __future__ import division from __future__ import print_function import h5py import numpy as np import tensorflow as tf import time import os import scipy.io as sio im...
39.553719
120
0.602382
621
4,786
4.397746
0.320451
0.023068
0.043574
0.019773
0.089345
0.063713
0.023435
0.023435
0
0
0
0.024569
0.285625
4,786
120
121
39.883333
0.774203
0.020059
0
0
0
0
0.097009
0.013889
0
0
0
0
0
1
0.019608
false
0
0.186275
0
0.205882
0.029412
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7891d89406deccb9af158b35a76ea6e08c700edb
1,037
py
Python
code/add_country_lat_lon.py
ParhamP/Global-Trade-Network
106d3e55fba04e72feda2844d092745ce170e55d
[ "BSD-3-Clause" ]
2
2021-08-22T10:02:08.000Z
2021-11-09T11:30:31.000Z
code/add_country_lat_lon.py
ParhamP/Global-Trade-Network
106d3e55fba04e72feda2844d092745ce170e55d
[ "BSD-3-Clause" ]
null
null
null
code/add_country_lat_lon.py
ParhamP/Global-Trade-Network
106d3e55fba04e72feda2844d092745ce170e55d
[ "BSD-3-Clause" ]
null
null
null
import csv import collections # iterator and counter libraries with open("../MIT_WT_datafiles/country_names.csv", 'r') as cntry, open("../MIT_WT_datafiles/country_lat_lon_from_google.csv", 'r') as ll, open("../MIT_WT_datafiles/cntry_lat_lon_combined.csv", 'w') as output: reader = csv.reader(cntry) #,delimiter='...
35.758621
208
0.66731
157
1,037
4.305732
0.414013
0.035503
0.088757
0.079882
0.221893
0.147929
0.147929
0.147929
0.147929
0.147929
0
0.021324
0.140791
1,037
28
209
37.035714
0.737374
0.175506
0
0
0
0
0.198113
0.158019
0
0
0
0
0
1
0
false
0
0.105263
0
0.105263
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
7895a56533a856d00ddcc556bf216b2bb9177e04
6,354
py
Python
ermaket/api/system/auth.py
SqrtMinusOne/ERMaket_Experiment
c4a7b61651edd15a619d9b690e2aaeaab4de282d
[ "Apache-2.0" ]
null
null
null
ermaket/api/system/auth.py
SqrtMinusOne/ERMaket_Experiment
c4a7b61651edd15a619d9b690e2aaeaab4de282d
[ "Apache-2.0" ]
null
null
null
ermaket/api/system/auth.py
SqrtMinusOne/ERMaket_Experiment
c4a7b61651edd15a619d9b690e2aaeaab4de282d
[ "Apache-2.0" ]
null
null
null
import logging from sqlalchemy.orm.exc import NoResultFound from werkzeug.security import generate_password_hash from ermaket.api.database import DBConn from ermaket.api.models import Models, NamesConverter from ermaket.api.system.hierarchy import AccessRight, PrebuiltPageType from ermaket.utils import Singleton fro...
34.532609
77
0.583727
728
6,354
4.917582
0.178571
0.022346
0.026816
0.038547
0.303073
0.236592
0.187989
0.179888
0.143017
0.117877
0
0
0.319326
6,354
183
78
34.721311
0.827746
0
0
0.236025
1
0
0.044696
0
0
0
0
0
0
1
0.093168
false
0.086957
0.049689
0.006211
0.254658
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
7895bdd07a7517b3b9e9dfa70984e814010bc677
114
py
Python
winter/routing/query_parameters/query_parameter.py
EvgenySmekalin/winter
24b6a02f958478547a4a120324823743a1f7e1a1
[ "MIT" ]
9
2019-01-24T11:50:19.000Z
2019-07-05T07:58:46.000Z
winter/routing/query_parameters/query_parameter.py
EvgenySmekalin/winter
24b6a02f958478547a4a120324823743a1f7e1a1
[ "MIT" ]
100
2019-01-29T08:11:38.000Z
2020-04-03T12:00:42.000Z
winter/routing/query_parameters/query_parameter.py
EvgenySmekalin/winter
24b6a02f958478547a4a120324823743a1f7e1a1
[ "MIT" ]
8
2020-07-16T13:56:50.000Z
2021-12-27T03:33:23.000Z
import dataclasses @dataclasses.dataclass class QueryParameter: name: str map_to: str explode: bool
12.666667
22
0.72807
13
114
6.307692
0.846154
0
0
0
0
0
0
0
0
0
0
0
0.219298
114
8
23
14.25
0.921348
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.833333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
4
7897d25e3d9c9fe5aa2e8cfd3788a5de8d96e834
2,791
py
Python
pylti1p3/launch_data_storage/base.py
edubadges/pylti1.3
46534384b79076d254ff3e94676ae6155e77a05e
[ "MIT" ]
62
2019-08-13T11:24:36.000Z
2022-03-11T16:24:55.000Z
pylti1p3/launch_data_storage/base.py
edubadges/pylti1.3
46534384b79076d254ff3e94676ae6155e77a05e
[ "MIT" ]
58
2019-08-13T13:27:27.000Z
2022-03-28T11:00:56.000Z
pylti1p3/launch_data_storage/base.py
edubadges/pylti1.3
46534384b79076d254ff3e94676ae6155e77a05e
[ "MIT" ]
35
2019-10-11T18:26:02.000Z
2022-03-29T08:33:00.000Z
import typing as t from abc import ABCMeta, abstractmethod if t.TYPE_CHECKING: from ..request import Request _T_DISABLED_SESSION_ID = t.TypeVar('_T_DISABLED_SESSION_ID', bound='DisableSessionId') T = t.TypeVar('T') class LaunchDataStorage(t.Generic[T]): __metaclass__ = ABCMeta _request = None # type: t...
29.691489
86
0.627732
336
2,791
4.848214
0.1875
0.127072
0.104359
0.077348
0.218539
0.111725
0.081031
0.045427
0
0
0
0.000976
0.265855
2,791
93
87
30.010753
0.794046
0.183805
0
0.169492
0
0
0.025255
0.009747
0
0
0
0
0
1
0.237288
false
0.016949
0.050847
0.033898
0.525424
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
789a940855a4fdec7e550813b2608db3bb1d258c
2,096
py
Python
sphinxcontrib/confluencebuilder/translator/shared.py
richardhofman6/sphinxcontrib-confluencebuilder
617fbb99b13751feafe793773268da87a3448849
[ "BSD-2-Clause" ]
null
null
null
sphinxcontrib/confluencebuilder/translator/shared.py
richardhofman6/sphinxcontrib-confluencebuilder
617fbb99b13751feafe793773268da87a3448849
[ "BSD-2-Clause" ]
null
null
null
sphinxcontrib/confluencebuilder/translator/shared.py
richardhofman6/sphinxcontrib-confluencebuilder
617fbb99b13751feafe793773268da87a3448849
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ sphinxcontrib.confluencebuilder.translator.shared ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :copyright: Copyright 2016-2018 by the contributors (see AUTHORS file). :license: BSD, see LICENSE.txt for details. """ from __future__ import (absolute_import, print_functio...
34.360656
82
0.694179
239
2,096
5.891213
0.468619
0.039773
0.044744
0.03267
0.201705
0.046875
0.046875
0.046875
0
0
0
0.006548
0.198473
2,096
60
83
34.933333
0.831548
0.351622
0
0.1875
0
0
0.024943
0
0
0
0
0
0
1
0.25
false
0.125
0.15625
0
0.53125
0.03125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
789bdd5e34a470287b773e590ecc610782669894
545
py
Python
pyro/CaseInsensitiveList.py
dmdemoura/pyro
cf4b6651a9e5d603abb6e0b8c0b3bbaf407c0b08
[ "MIT" ]
null
null
null
pyro/CaseInsensitiveList.py
dmdemoura/pyro
cf4b6651a9e5d603abb6e0b8c0b3bbaf407c0b08
[ "MIT" ]
null
null
null
pyro/CaseInsensitiveList.py
dmdemoura/pyro
cf4b6651a9e5d603abb6e0b8c0b3bbaf407c0b08
[ "MIT" ]
null
null
null
from collections import UserList class CaseInsensitiveList(UserList): """ Simple list type for storing and comparing strings case-insensitively """ def __contains__(self, item: object) -> bool: if isinstance(item, str): return any(item.casefold() == x.casefold() for x in s...
30.277778
75
0.607339
63
545
5.190476
0.539683
0.097859
0.085627
0.116208
0
0
0
0
0
0
0
0
0.289908
545
17
76
32.058824
0.844961
0.126606
0
0.181818
0
0
0
0
0
0
0
0
0
1
0.181818
false
0
0.090909
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
789ccecbc53bbdded880ac33de58a7bbeecb50e7
1,062
py
Python
pinnwand/cli.py
aether-space/pinnwand
427c8fe68486f2afa0832abbe584595e51848c03
[ "BSD-3-Clause" ]
null
null
null
pinnwand/cli.py
aether-space/pinnwand
427c8fe68486f2afa0832abbe584595e51848c03
[ "BSD-3-Clause" ]
null
null
null
pinnwand/cli.py
aether-space/pinnwand
427c8fe68486f2afa0832abbe584595e51848c03
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python import sys from datetime import datetime, timedelta from pinnwand.models import Base, engine, session, Paste def main(): args = sys.argv[1:] if args: if args[0] == "init_db": Base.metadata.create_all(engine) if args[0] == "add": paste = Paste("<...
25.285714
90
0.548964
125
1,062
4.576
0.448
0.062937
0.061189
0.06993
0.262238
0.087413
0
0
0
0
0
0.01084
0.305085
1,062
41
91
25.902439
0.764228
0.018832
0
0.185185
0
0
0.072046
0
0
0
0
0
0
1
0.037037
false
0
0.111111
0
0.148148
0.074074
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
789e80d561984bf5a1ebb8afe7abe71ef6eeb87f
296
py
Python
utils.py
debater-coder/py-simple-tracer
ac8ccfd1830be9072502fb27faced180ed893390
[ "MIT" ]
null
null
null
utils.py
debater-coder/py-simple-tracer
ac8ccfd1830be9072502fb27faced180ed893390
[ "MIT" ]
null
null
null
utils.py
debater-coder/py-simple-tracer
ac8ccfd1830be9072502fb27faced180ed893390
[ "MIT" ]
null
null
null
import numpy as np def lerp(a, b, t): return a * (1 - t) + b * t def normalize(vector): return vector / np.linalg.norm(vector) def random_unit_vector(): point = np.random.rand(3) while np.dot(point, point) >= 1: point = np.random.rand(3) return normalize(point)
17.411765
42
0.614865
47
296
3.829787
0.468085
0.022222
0.144444
0.188889
0.2
0
0
0
0
0
0
0.017937
0.246622
296
16
43
18.5
0.789238
0
0
0.2
0
0
0
0
0
0
0
0
0
1
0.3
false
0
0.1
0.2
0.7
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
789fa2729424c49d88156fb0210d7cb6917ce60b
357
py
Python
examples/grid_numbers.py
lebalz/smartphone-connector
303cbdb851416c1da7329e7bae2ee4a12aa7f5b0
[ "MIT" ]
1
2021-01-24T01:22:12.000Z
2021-01-24T01:22:12.000Z
examples/grid_numbers.py
lebalz/smartphone-connector
303cbdb851416c1da7329e7bae2ee4a12aa7f5b0
[ "MIT" ]
1
2020-09-14T17:12:53.000Z
2020-09-14T17:12:53.000Z
examples/grid_numbers.py
lebalz/smartphone-connector
303cbdb851416c1da7329e7bae2ee4a12aa7f5b0
[ "MIT" ]
1
2020-09-14T12:51:48.000Z
2020-09-14T12:51:48.000Z
import os import sys from pprint import pprint sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) from smartphone_connector import Connector from examples.server_address import SERVER_ADDRESS device = Connector(SERVER_ADDRESS, 'FooBar') device.set_grid([1, 2, 3, 4], base_color='blue') ...
25.5
82
0.77591
54
357
4.944444
0.555556
0.067416
0
0
0
0
0
0
0
0
0
0.018519
0.092437
357
13
83
27.461538
0.805556
0
0
0
0
0
0.033613
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
78a2c697223c67940447a26395bef5e289aebf8d
736
py
Python
tests/actions/_action.py
zduey/shap
1bb8203f2d43f7552396a5f26167a258cbdc505c
[ "MIT" ]
16,097
2016-12-01T20:01:26.000Z
2022-03-31T20:27:40.000Z
tests/actions/_action.py
zduey/shap
1bb8203f2d43f7552396a5f26167a258cbdc505c
[ "MIT" ]
2,217
2017-09-18T20:06:45.000Z
2022-03-31T21:00:25.000Z
tests/actions/_action.py
zduey/shap
1bb8203f2d43f7552396a5f26167a258cbdc505c
[ "MIT" ]
2,634
2017-06-29T21:30:46.000Z
2022-03-30T07:30:36.000Z
""" Unit tests for the Exact explainer. """ # pylint: disable=missing-function-docstring import numpy as np import pandas as pd import shap def test_create_and_run(): X = pd.DataFrame({"feature1": np.ones(5), "feature2": np.ones(5)}) class IncreaseFeature1(shap.actions.Action): """ Sample action. ...
23.741935
70
0.601902
91
736
4.659341
0.549451
0.09434
0.033019
0
0
0
0
0
0
0
0
0.025926
0.266304
736
30
71
24.533333
0.759259
0.139946
0
0
0
0
0.106624
0
0
0
0
0
0.111111
1
0.222222
false
0
0.166667
0.055556
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
78a3b061984d25f892de9e2d172a18884e735177
1,781
py
Python
fastquotes/fund/history.py
YangzhenZhao/fastquotes
1faba9f7fc7801a11359001e08cefa9cfbc41d64
[ "MIT" ]
4
2020-11-18T11:25:00.000Z
2021-04-08T01:02:49.000Z
fastquotes/fund/history.py
YangzhenZhao/fastquotes
1faba9f7fc7801a11359001e08cefa9cfbc41d64
[ "MIT" ]
null
null
null
fastquotes/fund/history.py
YangzhenZhao/fastquotes
1faba9f7fc7801a11359001e08cefa9cfbc41d64
[ "MIT" ]
1
2020-11-18T11:25:01.000Z
2020-11-18T11:25:01.000Z
import json from datetime import datetime from typing import Optional import requests from ..const import CUSTOM_HEADER def get_dividend(msg: str) -> Optional[float]: if not msg: return None left, right = 0, len(msg) - 1 while not msg[left].isdigit() or not msg[right].isdigit(): if not m...
30.706897
83
0.590679
233
1,781
4.309013
0.347639
0.076693
0.059761
0.033865
0.085657
0
0
0
0
0
0
0.015748
0.286917
1,781
57
84
31.245614
0.774803
0
0
0
0
0
0.083661
0
0
0
0
0
0
1
0.061224
false
0
0.102041
0
0.244898
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
78a4817896a145e970020819125dee94a1bc26c2
1,221
py
Python
Code/venv/src/Unit Testing/test_register.py
WebMetadataRetrieval/15-Web_Metadata_Retrieval
96a9c8869ccc5429c4de9e97d37705bbb9e19c5b
[ "Apache-2.0" ]
null
null
null
Code/venv/src/Unit Testing/test_register.py
WebMetadataRetrieval/15-Web_Metadata_Retrieval
96a9c8869ccc5429c4de9e97d37705bbb9e19c5b
[ "Apache-2.0" ]
38
2021-04-01T18:09:31.000Z
2021-05-08T17:27:03.000Z
Code/venv/src/Unit Testing/test_register.py
WebMetadataRetrieval/15-Web_Metadata_Retrieval
96a9c8869ccc5429c4de9e97d37705bbb9e19c5b
[ "Apache-2.0" ]
3
2021-04-16T07:25:11.000Z
2022-01-29T10:24:33.000Z
from django.conf import settings from django.test import TestCase from django.contrib.auth import get_user_model # Create your tests here. User = get_user_model() class RegistrationTestCase(TestCase): # Setup for our Tests def setUp(self): user_a = User(email='abcd@invalid.com') user_a_pw =...
30.525
72
0.670762
161
1,221
4.826087
0.42236
0.057915
0.036036
0.042471
0.039897
0
0
0
0
0
0
0.01179
0.235872
1,221
39
73
31.307692
0.821008
0.164619
0
0
0
0
0.092977
0
0
0
0
0
0.125
1
0.125
false
0.125
0.125
0
0.291667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
78a496b2a0070c4f4f9eaf3fbeda74f89fbfda56
110
py
Python
gdbcat/__init__.py
mcdeid/gdb-cat
2a861eaa3ee0360f26266397f47c2a5c16c0281f
[ "MIT" ]
null
null
null
gdbcat/__init__.py
mcdeid/gdb-cat
2a861eaa3ee0360f26266397f47c2a5c16c0281f
[ "MIT" ]
null
null
null
gdbcat/__init__.py
mcdeid/gdb-cat
2a861eaa3ee0360f26266397f47c2a5c16c0281f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Wed Sep 25 15:06:49 2019 @author: smcdeid """ from .cat import Gdbcat
13.75
35
0.627273
18
110
3.833333
1
0
0
0
0
0
0
0
0
0
0
0.146067
0.190909
110
8
36
13.75
0.629213
0.690909
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
78a63407fdf170dd04e91df753c26e7db2382f0f
6,405
py
Python
python-example/test_tittle_collor_and_font.py
eugene-petrash/selenium-webdriver-full-tutorial
a83f77982b28c2228b48e531f34ae6ff24808039
[ "Apache-2.0" ]
null
null
null
python-example/test_tittle_collor_and_font.py
eugene-petrash/selenium-webdriver-full-tutorial
a83f77982b28c2228b48e531f34ae6ff24808039
[ "Apache-2.0" ]
null
null
null
python-example/test_tittle_collor_and_font.py
eugene-petrash/selenium-webdriver-full-tutorial
a83f77982b28c2228b48e531f34ae6ff24808039
[ "Apache-2.0" ]
null
null
null
import pytest from selenium import webdriver from selenium.webdriver.common.by import By import regex # pip install regex @pytest.fixture def driver(request): wd = webdriver.Chrome() wd.implicitly_wait(2) request.addfinalizer(wd.quit) return wd def test_tittle_collor_and_font(driver): driver.get...
62.794118
156
0.779859
1,023
6,405
4.347996
0.100684
0.098921
0.093076
0.125674
0.898606
0.889164
0.880396
0.848471
0.75607
0.713804
0
0.002868
0.129118
6,405
101
157
63.415842
0.79455
0.090554
0
0.138889
0
0.013889
0.108737
0.044115
0
0
0
0
0.291667
1
0.027778
false
0
0.055556
0
0.097222
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
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
78a7a55aa4340aef048d0c56e138e8fbbb85d556
102
py
Python
net_automation/apps.py
Nikolas-01/Lesson_21-
025ff91547465a57e6a8d5911896fcdfb8c7e3f8
[ "MIT" ]
null
null
null
net_automation/apps.py
Nikolas-01/Lesson_21-
025ff91547465a57e6a8d5911896fcdfb8c7e3f8
[ "MIT" ]
4
2021-03-30T14:19:21.000Z
2021-09-22T19:33:36.000Z
net_automation/apps.py
Nikolas-01/Lesson_21-
025ff91547465a57e6a8d5911896fcdfb8c7e3f8
[ "MIT" ]
null
null
null
from django.apps import AppConfig class NetAutomationConfig(AppConfig): name = 'net_automation'
17
37
0.784314
11
102
7.181818
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.147059
102
5
38
20.4
0.908046
0
0
0
0
0
0.137255
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
78a897b7f40cac7c3cf59971f4394a4765aa060b
599
py
Python
dacy/tests/test_download.py
MalteHB/DaCy
1c3d348b14368c772d13344d35dc076b01d5bf07
[ "Apache-2.0" ]
1
2021-07-24T19:14:34.000Z
2021-07-24T19:14:34.000Z
dacy/tests/test_download.py
MalteHB/DaCy
1c3d348b14368c772d13344d35dc076b01d5bf07
[ "Apache-2.0" ]
null
null
null
dacy/tests/test_download.py
MalteHB/DaCy
1c3d348b14368c772d13344d35dc076b01d5bf07
[ "Apache-2.0" ]
null
null
null
import urllib import os from dacy.download import models_url from dacy.load import load def test_urls(): for m, url in models_url.items(): print(m) req = urllib.request.Request(url, method="HEAD") f = urllib.request.urlopen(req) assert f.status == 200 print("\t Status:", f....
24.958333
56
0.599332
89
599
3.955056
0.516854
0.045455
0
0
0
0
0
0
0
0
0
0.022831
0.268781
599
23
57
26.043478
0.780822
0
0
0
0
0
0.148581
0.040067
0
0
0
0
0.105263
1
0.105263
false
0
0.210526
0
0.315789
0.157895
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
78ab84fbfc0799cfbe7822b26a69af440075f9ad
19,503
py
Python
flowsa/USDA_CoA_Cropland.py
ericmbell1/flowsa
d251301864289a4de42dda118c9c6da41bcf4cf0
[ "CC0-1.0" ]
null
null
null
flowsa/USDA_CoA_Cropland.py
ericmbell1/flowsa
d251301864289a4de42dda118c9c6da41bcf4cf0
[ "CC0-1.0" ]
null
null
null
flowsa/USDA_CoA_Cropland.py
ericmbell1/flowsa
d251301864289a4de42dda118c9c6da41bcf4cf0
[ "CC0-1.0" ]
null
null
null
# USDA_CoA_Cropland.py (flowsa) # !/usr/bin/env python3 # coding=utf-8 import json import numpy as np import pandas as pd from flowsa.common import * from flowsa.flowbyfunctions import assign_fips_location_system, sector_disaggregation def CoA_Cropland_URL_helper(build_url, config, args): """This helper function...
53.57967
153
0.654463
2,651
19,503
4.64089
0.179555
0.008778
0.021946
0.024872
0.284727
0.252621
0.190198
0.141266
0.126961
0.110461
0
0.009008
0.220171
19,503
363
154
53.727273
0.799921
0.290878
0
0.153846
0
0.010256
0.276331
0.038541
0
0
0
0
0
1
0.041026
false
0
0.051282
0
0.133333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
78abd190bf2a63aa7b7a97ea20a03a84acf5f2f9
1,032
py
Python
Regular_Expressions/Regular_Expressions.py
Jadams29/Coding_Problems
780af79cfa3933922a06b571e13322ff517b87ef
[ "MIT" ]
null
null
null
Regular_Expressions/Regular_Expressions.py
Jadams29/Coding_Problems
780af79cfa3933922a06b571e13322ff517b87ef
[ "MIT" ]
null
null
null
Regular_Expressions/Regular_Expressions.py
Jadams29/Coding_Problems
780af79cfa3933922a06b571e13322ff517b87ef
[ "MIT" ]
null
null
null
# Regular Expressions (RegEx) are used to # 1. Search for a specific string in a large amount of data # 2. Verify that a string has the proper format (Email, Phone #) # 3. Find a string and replace it with another string # 4. Format data into the proper form for importing for example import re if re.search("ape", "T...
23.454545
89
0.689922
171
1,032
4.163743
0.438596
0.02809
0.042135
0.046348
0.172753
0.101124
0.101124
0.067416
0.067416
0
0
0.007212
0.193798
1,032
44
90
23.454545
0.848558
0.349806
0
0.291667
0
0
0.206325
0
0
0
0
0
0
1
0
false
0
0.041667
0
0.041667
0.416667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
78ad4b986a8ab80a87cd7b6fae6377801b600a11
29
py
Python
test_functions/kafka_function.py
vudung45/ProtoK
ca0a84c46bcd02cf50f1e8565a00ae602a10b3c7
[ "MIT" ]
1
2021-07-15T11:29:56.000Z
2021-07-15T11:29:56.000Z
test_functions/kafka_function.py
vudung45/ProtoK
ca0a84c46bcd02cf50f1e8565a00ae602a10b3c7
[ "MIT" ]
null
null
null
test_functions/kafka_function.py
vudung45/ProtoK
ca0a84c46bcd02cf50f1e8565a00ae602a10b3c7
[ "MIT" ]
null
null
null
def kafka(msg): print(msg)
7.25
15
0.655172
5
29
3.8
0.8
0
0
0
0
0
0
0
0
0
0
0
0.172414
29
4
16
7.25
0.791667
0
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0
0.5
0.5
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
0
0
0
0
0
1
0
5
78ae8759ea2b129373c29e7f5013918d787344a7
10,347
py
Python
doc/jupyter_execute/notebooks/protocol_examples.py
edshee/seldon-core
78c10fbca16a5e2a0c25b9673aa3deb220070e26
[ "Apache-2.0" ]
null
null
null
doc/jupyter_execute/notebooks/protocol_examples.py
edshee/seldon-core
78c10fbca16a5e2a0c25b9673aa3deb220070e26
[ "Apache-2.0" ]
null
null
null
doc/jupyter_execute/notebooks/protocol_examples.py
edshee/seldon-core
78c10fbca16a5e2a0c25b9673aa3deb220070e26
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # coding: utf-8 # # Basic Examples with Different Protocols # # ## Prerequisites # # * A kubernetes cluster with kubectl configured # * curl # * grpcurl # * pygmentize # # ## Examples # # * [Seldon Protocol](#Seldon-Protocol-Model) # * [Tensorflow Protocol](#Tensorflow-Protocol-Model...
35.313993
912
0.663381
1,502
10,347
4.503329
0.208389
0.039917
0.033117
0.047605
0.616795
0.592697
0.547901
0.508131
0.475754
0.458752
0
0.049096
0.155504
10,347
292
913
35.434932
0.724994
0.182082
0
0.352941
0
0.152941
0.645604
0.15301
0.011765
0
0
0
0.082353
1
0.011765
false
0
0.105882
0
0.117647
0.129412
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
78b114541d2883d76b5e6615c0019a1dbcd48b43
1,129
py
Python
src/experiments/models/index_emb_classifier.py
clemens33/thesis
c94e066c2fe22881a7465eb9c3859bd02138748e
[ "MIT" ]
null
null
null
src/experiments/models/index_emb_classifier.py
clemens33/thesis
c94e066c2fe22881a7465eb9c3859bd02138748e
[ "MIT" ]
null
null
null
src/experiments/models/index_emb_classifier.py
clemens33/thesis
c94e066c2fe22881a7465eb9c3859bd02138748e
[ "MIT" ]
null
null
null
import torch from torch import nn from tabnet_lightning import TabNetClassifier class IndexEmbTabNetClassifier(TabNetClassifier): """test model implementation using index based embeddings""" def __init__(self, **kwargs): super(IndexEmbTabNetClassifier, self).__init__(**kwargs) self.index_em...
28.225
98
0.635075
142
1,129
4.838028
0.359155
0.049491
0.061135
0.069869
0.212518
0.125182
0.125182
0.020378
0.020378
0.020378
0
0.034091
0.220549
1,129
39
99
28.948718
0.746591
0.426041
0
0
0
0
0.016051
0
0
0
0
0
0
1
0.166667
false
0
0.25
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
78b122bff610d3b425a22d6e2a005f675785a7e9
11,595
py
Python
ballgameActorCritic.py
ranok92/toySocialNav
06b935621c088605f0d395c01ae73e2f37a2e7e4
[ "MIT" ]
1
2021-05-26T01:41:13.000Z
2021-05-26T01:41:13.000Z
ballgameActorCritic.py
ranok92/toySocialNav
06b935621c088605f0d395c01ae73e2f37a2e7e4
[ "MIT" ]
null
null
null
ballgameActorCritic.py
ranok92/toySocialNav
06b935621c088605f0d395c01ae73e2f37a2e7e4
[ "MIT" ]
null
null
null
import ballenv_pygame as BE #from flat_game import ballgamepyg as BE import numpy as np from itertools import count from collections import namedtuple import torch import torch.nn as nn import torch.nn.functional as F import torch.optim as optim from torch.distributions import Categorical import datetime from matplotli...
29.206549
170
0.601811
1,502
11,595
4.515979
0.235686
0.014153
0.013268
0.017691
0.214507
0.145953
0.120301
0.086392
0.07681
0.056317
0
0.031511
0.277447
11,595
396
171
29.280303
0.778109
0.20345
0
0.209402
0
0
0.025584
0.014077
0.004274
0
0
0
0
0
null
null
0
0.051282
null
null
0.017094
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
78b1ddaf10061b10db5d28ce24732f514b36c95b
616
py
Python
MOD/game_stats.py
divineflatus/MOD
988299e0e75d8f8fa7893c22ab0db707f02a8f1d
[ "MIT" ]
null
null
null
MOD/game_stats.py
divineflatus/MOD
988299e0e75d8f8fa7893c22ab0db707f02a8f1d
[ "MIT" ]
null
null
null
MOD/game_stats.py
divineflatus/MOD
988299e0e75d8f8fa7893c22ab0db707f02a8f1d
[ "MIT" ]
null
null
null
import pygame #Class to store game statistics class GameStats(): def __init__(self, mod_settings): #Initialize MOD settings self.mod_settings = mod_settings #Number of lives available self.ninjas_left = self.mod_settings.ninja_limit #Starts inactive until 'Pla...
24.64
57
0.641234
73
616
5.178082
0.520548
0.174603
0.15873
0.095238
0.206349
0.206349
0.206349
0.206349
0
0
0
0.00463
0.298701
616
24
58
25.666667
0.87037
0.280844
0
0.181818
0
0
0
0
0
0
0
0
0
1
0.181818
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
78b3b7b20fc77d21a6acfb8879b55256c9895bc0
101
py
Python
data.py
alexhong121/py_pt
78f11f2a2fed54154017371a97de563a8fffcd81
[ "MIT" ]
null
null
null
data.py
alexhong121/py_pt
78f11f2a2fed54154017371a97de563a8fffcd81
[ "MIT" ]
null
null
null
data.py
alexhong121/py_pt
78f11f2a2fed54154017371a97de563a8fffcd81
[ "MIT" ]
null
null
null
# 檢查變數的型態是否正確 isinstance(7,int) print(isinstance(7,int)) # True a=7 print(type(a)) # <class 'int'>
14.428571
31
0.673267
16
101
4.25
0.5625
0.323529
0.411765
0
0
0
0
0
0
0
0
0.034091
0.128713
101
7
32
14.428571
0.738636
0.306931
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
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
0
0
0
0
1
0
5
78b58b48b827ca39fceb691318d6f8b6d3109a50
1,985
py
Python
RealDataset_SocialChemical/datasets/dataset.py
GKAT-NeurIPS2021/GKAT_Experiments
38eda546bfedfaf5a86999309c30595d9fe83cc7
[ "MIT" ]
3
2021-07-29T05:20:45.000Z
2022-01-07T01:24:44.000Z
RealDataset_SocialChemical/datasets/dataset.py
GKAT-NeurIPS2021/GKAT_Experiments
38eda546bfedfaf5a86999309c30595d9fe83cc7
[ "MIT" ]
null
null
null
RealDataset_SocialChemical/datasets/dataset.py
GKAT-NeurIPS2021/GKAT_Experiments
38eda546bfedfaf5a86999309c30595d9fe83cc7
[ "MIT" ]
null
null
null
import numpy as np class GraphDataset: def __init__(self, data): self.data = data def __getitem__(self, index): return self.data[index] def __len__(self): return len(self.data) def get_targets(self): targets = [d.y.item() for d in self.data] return np.array(t...
29.191176
98
0.580353
291
1,985
3.766323
0.264605
0.072993
0.032847
0.047445
0.239051
0.183394
0.051095
0
0
0
0
0.004438
0.318892
1,985
67
99
29.626866
0.806213
0.29068
0
0.294118
0
0
0
0
0
0
0
0
0
1
0.294118
false
0
0.029412
0.147059
0.588235
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
78b6dc301c1b043d7640e21cef75902cf0f201a3
1,373
py
Python
tests/grammar/test_sql_file.py
Daniihh/sqlpyparser
aad1d613c02d4f8fa6b833c060a683cf7e194b1c
[ "MIT" ]
28
2016-02-13T10:20:21.000Z
2022-03-10T02:41:58.000Z
tests/grammar/test_sql_file.py
Daniihh/sqlpyparser
aad1d613c02d4f8fa6b833c060a683cf7e194b1c
[ "MIT" ]
22
2016-02-15T15:55:09.000Z
2017-09-12T13:49:17.000Z
tests/grammar/test_sql_file.py
Daniihh/sqlpyparser
aad1d613c02d4f8fa6b833c060a683cf7e194b1c
[ "MIT" ]
16
2016-02-15T16:41:23.000Z
2021-05-18T04:51:52.000Z
# -*- encoding:utf-8 -*- from __future__ import absolute_import, division, print_function, unicode_literals import unittest from mysqlparse.grammar.sql_file import sql_file_syntax class SqlFileSyntaxTest(unittest.TestCase): def test_multiple_statements(self): sql_file = sql_file_syntax.parseString(""" ...
35.205128
82
0.674436
186
1,373
4.736559
0.360215
0.07151
0.096481
0.099886
0.496027
0.31101
0.31101
0.31101
0.231555
0.231555
0
0.04243
0.24472
1,373
38
83
36.131579
0.807136
0.016023
0
0.296296
0
0
0.547072
0
0
0
0
0
0.185185
1
0.037037
false
0
0.111111
0
0.185185
0.037037
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
78b76294cbc37248ab04281f09991a89a57a24b6
2,061
py
Python
barchart2.py
ahealy19/F-IDE-2016
82fd4664fc105174cbe2f1a57e2a099fbf3c81d8
[ "Apache-2.0" ]
2
2017-10-13T09:16:01.000Z
2018-01-23T04:03:19.000Z
barchart2.py
ahealy19/F-IDE-2016
82fd4664fc105174cbe2f1a57e2a099fbf3c81d8
[ "Apache-2.0" ]
null
null
null
barchart2.py
ahealy19/F-IDE-2016
82fd4664fc105174cbe2f1a57e2a099fbf3c81d8
[ "Apache-2.0" ]
null
null
null
import numpy as np from pandas import DataFrame import matplotlib.pyplot as plt import os """ plots the results for each solver and strategy on the test set as a stacked barchart Andrew Healy, Aug. 2016 """ fig = plt.figure(figsize=(10,5)) ax = fig.add_subplot(1,1,1) df = DataFrame.from_csv('data_for_second_barcha...
28.232877
96
0.663755
381
2,061
3.55643
0.351706
0.020664
0.023616
0.032472
0.15941
0.109963
0.089299
0.089299
0.073801
0.073801
0
0.053132
0.13246
2,061
73
97
28.232877
0.704698
0.042213
0
0.043478
0
0
0.12898
0.015111
0
0
0
0
0
1
0
false
0
0.086957
0
0.086957
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
78b8980c397285a3ee6cf5a9943a92060add2e64
727
py
Python
Procedural Paradigm/exercises/week-7-basic/HitungJarak.py
morenzoe/IF1210_Dasar_Pemrograman
6bfd5300c18bfb9c6ba80f6108e2206aa9cbf015
[ "BSD-3-Clause" ]
null
null
null
Procedural Paradigm/exercises/week-7-basic/HitungJarak.py
morenzoe/IF1210_Dasar_Pemrograman
6bfd5300c18bfb9c6ba80f6108e2206aa9cbf015
[ "BSD-3-Clause" ]
null
null
null
Procedural Paradigm/exercises/week-7-basic/HitungJarak.py
morenzoe/IF1210_Dasar_Pemrograman
6bfd5300c18bfb9c6ba80f6108e2206aa9cbf015
[ "BSD-3-Clause" ]
1
2022-02-21T05:03:26.000Z
2022-02-21T05:03:26.000Z
# Program HitungJarak # Menghitung jarak (s) berdasarkan kecepatan (v) dan waktu tempuh (t), yaitu: s = v * t # KAMUS # s : float # v : float # t : float # ALGORITMA v = float(input()) # menerima input kecepatan dalam m/s t = float (input()) # menerima input waktu dalam s s = v * t # menghitung jarak dalam m print...
21.382353
88
0.671252
106
727
4.603774
0.264151
0.122951
0.02459
0.135246
0.659836
0.659836
0.540984
0.540984
0.540984
0.540984
0
0
0.220083
727
34
89
21.382353
0.86067
0.397524
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
78b92735f679218e246415e9c15eb48e474ed578
4,414
py
Python
os_xml_automation/text_manipulation/_text_manipulation_mapper.py
osfunapps/os-xml-automation-py
2e339642fcfa11a9b71c231c652e6e3aa3849354
[ "MIT" ]
1
2020-10-25T10:30:40.000Z
2020-10-25T10:30:40.000Z
os_xml_automation/text_manipulation/_text_manipulation_mapper.py
osfunapps/os-xml-automation-py
2e339642fcfa11a9b71c231c652e6e3aa3849354
[ "MIT" ]
null
null
null
os_xml_automation/text_manipulation/_text_manipulation_mapper.py
osfunapps/os-xml-automation-py
2e339642fcfa11a9b71c231c652e6e3aa3849354
[ "MIT" ]
null
null
null
import os_xml_handler.xml_handler as xh from os_xml_automation import shared_res as shared_res from os_xml_automation import shared_tools as shared_tools from os_xml_automation.text_manipulation import _res as res # manipulate the files by the text mapper def manipulate(xml_path, xml, place_holder_map): file_nod...
55.873418
187
0.783643
730
4,414
4.250685
0.136986
0.051885
0.053174
0.063165
0.584273
0.547212
0.47728
0.457944
0.419594
0.380922
0
0.000538
0.157227
4,414
78
188
56.589744
0.833602
0.097644
0
0.037736
0
0
0.001258
0
0
0
0
0
0
1
0.056604
false
0
0.113208
0
0.188679
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
78b964ea1f80a7b69e03614379bba228f287598a
2,304
py
Python
src/lib/mine/task/task_manager.py
rdw20170120/workstation
ed19aa930a83885c2a8cb58eb0bb5afe58f95df3
[ "MIT" ]
null
null
null
src/lib/mine/task/task_manager.py
rdw20170120/workstation
ed19aa930a83885c2a8cb58eb0bb5afe58f95df3
[ "MIT" ]
2
2021-04-06T18:07:32.000Z
2021-06-02T01:50:40.000Z
src/lib/mine/task/task_manager.py
rdw20170120/workstation
ed19aa930a83885c2a8cb58eb0bb5afe58f95df3
[ "MIT" ]
null
null
null
#!/usr/bin/env false """Manage tasks.""" # Internal packages (absolute references, distributed with Python) from logging import getLogger # External packages (absolute references, NOT distributed with Python) # Library modules (absolute references, NOT packaged, in project) from task.exception import Abort from task...
31.135135
78
0.613715
265
2,304
5.011321
0.30566
0.073795
0.063253
0.037651
0.253765
0.178464
0.178464
0.139307
0.139307
0.139307
0
0
0.290799
2,304
73
79
31.561644
0.81273
0.129774
0
0.166667
0
0
0.131272
0
0
0
0
0
0
1
0.111111
false
0
0.092593
0.037037
0.259259
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
78bb9f6fead8743af1a26622df014e1a85ee9267
5,002
py
Python
domonic/CDN.py
Jordan-Cottle/domonic
05d70af0d1564d3ba80c860bb5f5bfe089293b18
[ "MIT" ]
1
2022-03-09T03:39:04.000Z
2022-03-09T03:39:04.000Z
domonic/CDN.py
Jordan-Cottle/domonic
05d70af0d1564d3ba80c860bb5f5bfe089293b18
[ "MIT" ]
null
null
null
domonic/CDN.py
Jordan-Cottle/domonic
05d70af0d1564d3ba80c860bb5f5bfe089293b18
[ "MIT" ]
null
null
null
""" domonic.CDN ==================================== Refs to some useful .js and .css libs. use for prototyping. wget anything in later and create your own local references once ur happy TODO - integrity/cross origin/module? WARNING/NOTE - dont use. this isn't released or documented. just ide...
43.877193
118
0.686325
765
5,002
4.398693
0.329412
0.020802
0.065379
0.075186
0.253492
0.227043
0.217831
0.104309
0.104309
0.104309
0
0.071797
0.147941
5,002
113
119
44.265487
0.717738
0.256897
0
0.108108
0
0.513514
0.640301
0.024482
0
0
0
0.00885
0
1
0.054054
false
0
0
0.027027
0.945946
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
78bc6d363f695604891dee0584bdb38942f09a51
2,519
py
Python
robosuite/scripts/Final_Copy/utils.py
spatric5/robosuite
9e6b9691eb949fbf33a23fbe8a8c6faea61c50b6
[ "MIT" ]
null
null
null
robosuite/scripts/Final_Copy/utils.py
spatric5/robosuite
9e6b9691eb949fbf33a23fbe8a8c6faea61c50b6
[ "MIT" ]
null
null
null
robosuite/scripts/Final_Copy/utils.py
spatric5/robosuite
9e6b9691eb949fbf33a23fbe8a8c6faea61c50b6
[ "MIT" ]
null
null
null
from mpi4py import MPI import numpy as np import torch # sync_networks across the different cores def sync_networks(network): """ netowrk is the network you want to sync """ comm = MPI.COMM_WORLD flat_params, params_shape = _get_flat_params(network) comm.Bcast(flat_params, root=0) # set th...
35.985714
91
0.692735
354
2,519
4.649718
0.189266
0.09113
0.043742
0.058323
0.382746
0.326245
0.163426
0.120899
0.052248
0
0
0.002017
0.212783
2,519
69
92
36.507246
0.828038
0.115522
0
0.18
0
0
0
0
0
0
0
0
0
1
0.12
false
0
0.06
0
0.22
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
78bcb186211d7461ff0a6ae1e7dbc5b9a2291c4d
873
py
Python
ovaas/models.py
OVaaS/ovaas2-backend
db51304161760e2b81b9a497634dded59123bc7d
[ "Apache-2.0" ]
null
null
null
ovaas/models.py
OVaaS/ovaas2-backend
db51304161760e2b81b9a497634dded59123bc7d
[ "Apache-2.0" ]
2
2021-11-02T12:43:18.000Z
2021-11-12T08:31:35.000Z
ovaas/models.py
OVaaS/ovaas2-backend
db51304161760e2b81b9a497634dded59123bc7d
[ "Apache-2.0" ]
null
null
null
from django.db import models from django.contrib.auth import get_user_model # Create your models here. User = get_user_model() class GUIType(models.TextChoices): img = "image_upload", "Image Upload" draw = "draw", "Draw" class Demo(models.Model): name_ja = models.CharField(max_length=128) name_en =...
31.178571
72
0.750286
117
873
5.401709
0.410256
0.166139
0.199367
0.265823
0.371835
0.158228
0.158228
0.158228
0.158228
0
0
0.025435
0.14433
873
27
73
32.333333
0.820616
0.027491
0
0.105263
0
0
0.03778
0
0
0
0
0
0
1
0
false
0
0.105263
0
0.947368
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
78bd0b2e66f0e85648681b291bc8a89574b81f25
187
py
Python
app/admin.py
alanwu4321/Submission_Platform
daf45a14b97ac7e86d4d3ab63153713fd019f11c
[ "MIT" ]
null
null
null
app/admin.py
alanwu4321/Submission_Platform
daf45a14b97ac7e86d4d3ab63153713fd019f11c
[ "MIT" ]
null
null
null
app/admin.py
alanwu4321/Submission_Platform
daf45a14b97ac7e86d4d3ab63153713fd019f11c
[ "MIT" ]
null
null
null
from django.contrib import admin from app.models import User,Admin,UserFile # Register your models here. admin.site.register(User) admin.site.register(Admin) admin.site.register(UserFile)
31.166667
42
0.823529
28
187
5.5
0.464286
0.175325
0.331169
0
0
0
0
0
0
0
0
0
0.080214
187
6
43
31.166667
0.895349
0.139037
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.4
0
0.4
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
78bd42c19113c497e1993e92b673e02423c0f0b9
9,143
py
Python
src/apd/aggregation/cli.py
MatthewWilkes/apd.aggregation
427fa908f45332d623295f92e1ccfdaf545d6997
[ "BSD-3-Clause" ]
null
null
null
src/apd/aggregation/cli.py
MatthewWilkes/apd.aggregation
427fa908f45332d623295f92e1ccfdaf545d6997
[ "BSD-3-Clause" ]
11
2020-11-23T21:36:48.000Z
2022-03-12T00:48:58.000Z
src/apd/aggregation/cli.py
MatthewWilkes/apd.aggregation
427fa908f45332d623295f92e1ccfdaf545d6997
[ "BSD-3-Clause" ]
1
2020-08-09T01:47:59.000Z
2020-08-09T01:47:59.000Z
import asyncio import functools import importlib.util import logging import signal import sys import typing as t import uuid import aiohttp import click from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker from . import collect from .actions.runner import DataProcessor from .actions.source imp...
32.30742
90
0.665099
1,185
9,143
5.031224
0.243882
0.020127
0.021134
0.028682
0.376887
0.340658
0.330594
0.330594
0.330594
0.322375
0
0.001818
0.217872
9,143
282
91
32.421986
0.831912
0.138029
0
0.394495
0
0
0.156815
0.022439
0
0
0
0
0
1
0.045872
false
0.009174
0.091743
0
0.151376
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
78be57289fc53eb405e7499adae1ebb913de3e39
3,019
py
Python
tests/cluster_test/kmeans_test.py
alisoltanirad/Reason
9062dc8e365efa424706a309de5cfb90ab497e9a
[ "MIT" ]
1
2020-12-21T21:26:27.000Z
2020-12-21T21:26:27.000Z
tests/cluster_test/kmeans_test.py
alisoltanirad/Reason
9062dc8e365efa424706a309de5cfb90ab497e9a
[ "MIT" ]
10
2020-12-26T18:55:43.000Z
2021-01-10T09:15:32.000Z
tests/cluster_test/kmeans_test.py
alisoltanirad/reason
9062dc8e365efa424706a309de5cfb90ab497e9a
[ "MIT" ]
null
null
null
import pytest import pandas as pd from reason.cluster import KMeansClusterer @pytest.fixture def df(): x = {'feature1': [2, 7], 'feature2': [3, 6]} df = pd.DataFrame(data=x) return df def test_object_creation(): KMeansClusterer() def test_fit_featureset(): data = [{'feature1': 2, 'feature2': 3}...
25.584746
75
0.676714
360
3,019
5.527778
0.175
0.066834
0.169849
0.198995
0.624623
0.544221
0.507035
0.421608
0.31005
0.253769
0
0.019704
0.19311
3,019
117
76
25.803419
0.797209
0
0
0.494737
0
0
0.050017
0
0
0
0
0
0.021053
1
0.221053
false
0
0.031579
0.010526
0.273684
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
78c0b5cce43db211f820b2e27ad74c24b5509ab2
1,081
py
Python
core/models/Candidato.py
roimpacta/exemplos
cbfe7c81fc14932697c02eb63bec7d7e4a2c5d5a
[ "Apache-2.0" ]
null
null
null
core/models/Candidato.py
roimpacta/exemplos
cbfe7c81fc14932697c02eb63bec7d7e4a2c5d5a
[ "Apache-2.0" ]
null
null
null
core/models/Candidato.py
roimpacta/exemplos
cbfe7c81fc14932697c02eb63bec7d7e4a2c5d5a
[ "Apache-2.0" ]
null
null
null
from django.db import models #TODO candidatura class Candidato(models.Model): nome = models.CharField(max_length = 120, null=True) ra = models.CharField(max_length = 80, null=True) email = models.CharField(max_length = 80, null=True) celular = models.CharField(max_length = 11, null=True) codigo_...
38.607143
108
0.716004
136
1,081
5.580882
0.404412
0.084321
0.118577
0.158103
0.367589
0.367589
0.367589
0.185771
0
0
0
0.013333
0.167438
1,081
28
109
38.607143
0.83
0.06383
0
0
0
0
0.067527
0
0
0
0
0.035714
0
1
0.052632
false
0
0.210526
0.052632
0.947368
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
2
78c30ded833df096d4b427f36eaa87d10cc3bfa0
242
py
Python
frictionless/checks/__init__.py
kant/frictionless-py
09cc98e1966d6f97f4eecb47757f45f8a946c5e7
[ "MIT" ]
null
null
null
frictionless/checks/__init__.py
kant/frictionless-py
09cc98e1966d6f97f4eecb47757f45f8a946c5e7
[ "MIT" ]
null
null
null
frictionless/checks/__init__.py
kant/frictionless-py
09cc98e1966d6f97f4eecb47757f45f8a946c5e7
[ "MIT" ]
null
null
null
from .baseline import BaselineCheck from .checksum import ChecksumCheck from .heuristic import DuplicateRowCheck, DeviatedValueCheck, TruncatedValueCheck from .regulation import BlacklistedValueCheck, SequentialValueCheck, RowConstraintCheck
48.4
87
0.884298
20
242
10.7
0.7
0
0
0
0
0
0
0
0
0
0
0
0.082645
242
4
88
60.5
0.963964
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
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
0
0
0
5
78c41a1434c06c1642f44349fdd1eea2106f0e22
17,447
py
Python
backend/integration/tests.py
Tim6FTN/UKS
3cf19f014cdc7845bf0b808b97c4e05dc49b062e
[ "MIT" ]
1
2021-01-10T12:34:59.000Z
2021-01-10T12:34:59.000Z
backend/integration/tests.py
Tim6FTN/UKS
3cf19f014cdc7845bf0b808b97c4e05dc49b062e
[ "MIT" ]
37
2021-01-07T22:31:25.000Z
2021-02-20T10:59:46.000Z
backend/integration/tests.py
Tim6FTN/UKS
3cf19f014cdc7845bf0b808b97c4e05dc49b062e
[ "MIT" ]
null
null
null
from unittest.mock import MagicMock, Mock import six from django.contrib.auth.models import User from django.core.exceptions import SuspiciousOperation from django.test import SimpleTestCase, Client, TransactionTestCase from django.urls import reverse, resolve from branch.models import Branch from integration.views i...
43.400498
118
0.638161
1,907
17,447
5.636602
0.157315
0.057773
0.058331
0.090148
0.654293
0.611871
0.574658
0.527956
0.49065
0.393618
0
0.029433
0.217172
17,447
402
119
43.400498
0.757578
0
0
0.397727
0
0.025568
0.410993
0.034904
0
0
0
0
0.0625
1
0.0625
false
0.011364
0.03125
0
0.102273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
78c4a426cafffab51634f30f2aa6fb1438ab7cd4
628
py
Python
TopQuarkAnalysis/TopJetCombination/python/TtSemiLepHypHitFit_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
TopQuarkAnalysis/TopJetCombination/python/TtSemiLepHypHitFit_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
TopQuarkAnalysis/TopJetCombination/python/TtSemiLepHypHitFit_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
import FWCore.ParameterSet.Config as cms # # produce hitFit hypothesis with all necessary # ingredients # ## std sequence to perform kinematic fit import TopQuarkAnalysis.TopHitFit.TtSemiLepHitFitProducer_Muons_cfi hitFitTtSemiLepEventHypothesis = TopQuarkAnalysis.TopHitFit.TtSemiLepHitFitProducer_Muons_cfi.hitFitTt...
29.904762
122
0.851911
56
628
9.410714
0.625
0.060721
0.182163
0.201139
0.212524
0
0
0
0
0
0
0
0.095541
628
20
123
31.4
0.927817
0.221338
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
78c52171bb8eb9ca8c41c0f6116afa3c336f5adc
272
py
Python
tests/urls.py
TreZc0/donation-tracker
3a833a5eba3c0b7cedd8249b44b1435f526095ba
[ "Apache-2.0" ]
39
2016-01-04T04:13:27.000Z
2022-01-18T19:17:24.000Z
tests/urls.py
TreZc0/donation-tracker
3a833a5eba3c0b7cedd8249b44b1435f526095ba
[ "Apache-2.0" ]
140
2015-11-01T01:19:54.000Z
2022-03-10T13:00:33.000Z
tests/urls.py
TreZc0/donation-tracker
3a833a5eba3c0b7cedd8249b44b1435f526095ba
[ "Apache-2.0" ]
35
2016-01-20T12:42:21.000Z
2022-01-20T07:06:47.000Z
import ajax_select.urls from django.contrib import admin from django.urls import include, path import tracker.urls urlpatterns = [ path('tracker/', include(tracker.urls)), path('admin/lookups/', include(ajax_select.urls)), path('admin/', admin.site.urls), ]
22.666667
54
0.724265
36
272
5.416667
0.388889
0.102564
0.14359
0
0
0
0
0
0
0
0
0
0.136029
272
11
55
24.727273
0.829787
0
0
0
0
0
0.102941
0
0
0
0
0
0
1
0
false
0
0.444444
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1