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
76d4b9d4643322713c59c30a22d968f034c3d591
2,361
py
Python
test/test_aes.py
haruhi-dl/haruhi-dl
0526e2add4c263209cad55347efa9a2dfe6c3fa6
[ "Unlicense" ]
32
2021-01-18T03:52:17.000Z
2022-02-17T20:43:39.000Z
test/test_aes.py
haruhi-dl/haruhi-dl
0526e2add4c263209cad55347efa9a2dfe6c3fa6
[ "Unlicense" ]
12
2021-02-06T08:12:08.000Z
2021-12-11T23:17:41.000Z
test/test_aes.py
haruhi-dl/haruhi-dl
0526e2add4c263209cad55347efa9a2dfe6c3fa6
[ "Unlicense" ]
6
2021-01-29T16:46:31.000Z
2022-01-20T18:40:03.000Z
#!/usr/bin/env python from __future__ import unicode_literals # Allow direct execution import os import sys import unittest sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) from haruhi_dl.aes import aes_decrypt, aes_encrypt, aes_cbc_decrypt, aes_cbc_encrypt, aes_decrypt_text from haruh...
36.890625
102
0.671326
339
2,361
4.448378
0.368732
0.047745
0.074271
0.047745
0.451592
0.351459
0.302387
0.259947
0.259947
0.193634
0
0.063158
0.195256
2,361
63
103
37.47619
0.730526
0.051249
0
0.212766
0
0.085106
0.171658
0.143496
0
0
0.003576
0
0.106383
1
0.106383
false
0.085106
0.148936
0
0.276596
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
76d6a858fdb2f760a40ddaceed8b3a0b06e85a87
14,566
py
Python
layouts/layout_simulation_procedure.py
KEHUIYAO/coral-sampling-tool
731cc22fbf5e4045e894b894547ad52c270e3fb1
[ "MIT" ]
5
2022-03-29T04:41:22.000Z
2022-03-29T12:17:35.000Z
layouts/layout_simulation_procedure.py
KEHUIYAO/coral-sampling-tool
731cc22fbf5e4045e894b894547ad52c270e3fb1
[ "MIT" ]
null
null
null
layouts/layout_simulation_procedure.py
KEHUIYAO/coral-sampling-tool
731cc22fbf5e4045e894b894547ad52c270e3fb1
[ "MIT" ]
null
null
null
import dash_core_components as dcc import dash_html_components as html import dash_bootstrap_components as dbc def generate_simulation_procedure(): return html.Div([ # instruction button to notify the user how to use the simulation tool dcc.Markdown(children='''There are three panels on the right:...
49.376271
1,301
0.506316
1,535
14,566
4.662541
0.183713
0.032276
0.041498
0.054492
0.33324
0.288948
0.251642
0.208048
0.164594
0.11094
0
0.017056
0.392215
14,566
295
1,302
49.376271
0.79137
0.106755
0
0.23445
1
0.028708
0.365263
0.045256
0
0
0
0
0
1
0.014354
false
0
0.014354
0.004785
0.043062
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
76d73eb99aeff1e081d5c5783ce96e09453f8979
4,046
py
Python
tests/unit/detection/test_detection_notebooks.py
titipakorn/computervision-recipes
815435763c0cdce991b7511fd8d39f71c64ccea8
[ "MIT" ]
2
2020-03-03T15:29:50.000Z
2022-02-21T12:45:24.000Z
tests/unit/detection/test_detection_notebooks.py
titipakorn/computervision-recipes
815435763c0cdce991b7511fd8d39f71c64ccea8
[ "MIT" ]
null
null
null
tests/unit/detection/test_detection_notebooks.py
titipakorn/computervision-recipes
815435763c0cdce991b7511fd8d39f71c64ccea8
[ "MIT" ]
2
2020-05-06T14:07:00.000Z
2022-03-21T19:54:32.000Z
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. # This test is based on the test suite implemented for Recommenders project # https://github.com/Microsoft/Recommenders/tree/master/tests import papermill as pm import pytest import scrapbook as sb from utils_cv.common.data...
29.532847
75
0.686357
525
4,046
4.935238
0.24381
0.043227
0.04863
0.045928
0.672327
0.63296
0.563489
0.563489
0.500193
0.500193
0
0.017578
0.226644
4,046
136
76
29.75
0.810483
0.086752
0
0.625
0
0
0.04665
0.020071
0
0
0
0
0.107143
1
0.044643
false
0
0.044643
0
0.089286
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
76d787aa0fb3effb59ce8288a064c7de0d40a573
524
py
Python
configs/HDR/hdr/retinanet_r50_fpn_1x_coco_hdr_minmax_glob_gamma_2.py
ismailkocdemir/mmdetection
4ac7e76dc66be7c97a8ca2c5f8a8e71434e3d823
[ "Apache-2.0" ]
null
null
null
configs/HDR/hdr/retinanet_r50_fpn_1x_coco_hdr_minmax_glob_gamma_2.py
ismailkocdemir/mmdetection
4ac7e76dc66be7c97a8ca2c5f8a8e71434e3d823
[ "Apache-2.0" ]
null
null
null
configs/HDR/hdr/retinanet_r50_fpn_1x_coco_hdr_minmax_glob_gamma_2.py
ismailkocdemir/mmdetection
4ac7e76dc66be7c97a8ca2c5f8a8e71434e3d823
[ "Apache-2.0" ]
null
null
null
_base_ = [ '../retinanet_r50_fpn_1x_coco.py', '../../_base_/datasets/hdr_detection_minmax_glob_gamma.py', ] # optimizer # lr is set for a batch size of 8 optimizer = dict(type='SGD', lr=0.0005, momentum=0.9, weight_decay=0.0001) optimizer_config = dict(grad_clip=None) # dict(grad_clip=dict(max_norm=35, norm_t...
26.2
88
0.694656
80
524
4.275
0.6875
0.046784
0.070175
0
0
0
0
0
0
0
0
0.067568
0.152672
524
19
89
27.578947
0.702703
0.198473
0
0
0
0
0.279518
0.209639
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
76d7b41b848ee61c162f4bba8b9bb68353d44d98
45
py
Python
dj_twitter_clone_app/core_config/settings/staging.py
ivanprytula/dj_demo_app
49ca506b22d3d99608e192b28787e185b39d3c24
[ "MIT" ]
null
null
null
dj_twitter_clone_app/core_config/settings/staging.py
ivanprytula/dj_demo_app
49ca506b22d3d99608e192b28787e185b39d3c24
[ "MIT" ]
null
null
null
dj_twitter_clone_app/core_config/settings/staging.py
ivanprytula/dj_demo_app
49ca506b22d3d99608e192b28787e185b39d3c24
[ "MIT" ]
null
null
null
"""Placeholder/template for staging envs."""
22.5
44
0.733333
5
45
6.6
1
0
0
0
0
0
0
0
0
0
0
0
0.088889
45
1
45
45
0.804878
0.844444
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
76d842d33f2db656494e8fb701c74c89d920202e
182
py
Python
tests/test_command.py
vandana-11/cognito
4f92229511b265578def8e34d30575292070e584
[ "BSD-3-Clause" ]
null
null
null
tests/test_command.py
vandana-11/cognito
4f92229511b265578def8e34d30575292070e584
[ "BSD-3-Clause" ]
null
null
null
tests/test_command.py
vandana-11/cognito
4f92229511b265578def8e34d30575292070e584
[ "BSD-3-Clause" ]
null
null
null
from cognito.check import Check from cognito.table import Table import os import pytest import pandas as pd import numpy as np from os import path from sklearn import preprocessing
20.222222
33
0.82967
30
182
5.033333
0.5
0.145695
0
0
0
0
0
0
0
0
0
0
0.159341
182
8
34
22.75
0.986928
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
4
76da4334b5fdeaaf4557e3c74b65d210265f77b8
14,585
py
Python
report_writer/report_writer.py
DoubleBridges/door-order-parser
cd652922006d84a34143ded325e79d141343521d
[ "MIT" ]
null
null
null
report_writer/report_writer.py
DoubleBridges/door-order-parser
cd652922006d84a34143ded325e79d141343521d
[ "MIT" ]
null
null
null
report_writer/report_writer.py
DoubleBridges/door-order-parser
cd652922006d84a34143ded325e79d141343521d
[ "MIT" ]
null
null
null
from reportlab.lib.units import inch from reportlab.platypus import SimpleDocTemplate, Spacer from reportlab.rl_config import defaultPageSize from reportlab.lib.units import inch from reportlab.platypus.flowables import Flowable def generate_order(job, path, door_style, doors=[], drawers=[]): PAGE_HEIGHT = defaul...
37.590206
134
0.53459
1,679
14,585
4.458606
0.130435
0.078814
0.028052
0.029923
0.684077
0.65175
0.626236
0.600454
0.563452
0.499466
0
0.045902
0.351731
14,585
387
135
37.687339
0.745849
0.051217
0
0.472303
0
0.005831
0.095066
0.007898
0
0
0
0
0
1
0.017493
false
0
0.014577
0
0.034985
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
76dba06432c777d52082f512eea09a2187e28998
201
py
Python
app/retweet_graphs_v2/prep/migrate_daily_bot_probabilities.py
s2t2/tweet-analyzer-py
0a398fc47101a2d602d8c4116c970f1076a58f27
[ "MIT" ]
5
2020-04-02T12:03:57.000Z
2020-10-18T19:29:15.000Z
app/retweet_graphs_v2/prep/migrate_daily_bot_probabilities.py
s2t2/tweet-analyzer-py
0a398fc47101a2d602d8c4116c970f1076a58f27
[ "MIT" ]
22
2020-03-31T02:00:34.000Z
2021-06-30T17:59:01.000Z
app/retweet_graphs_v2/prep/migrate_daily_bot_probabilities.py
s2t2/tweet-analyzer-py
0a398fc47101a2d602d8c4116c970f1076a58f27
[ "MIT" ]
3
2020-04-04T16:08:08.000Z
2020-10-20T01:32:46.000Z
from app.bq_service import BigQueryService if __name__ == "__main__": bq_service = BigQueryService() bq_service.migrate_daily_bot_probabilities_table() print("MIGRATION SUCCESSFUL!")
16.75
54
0.756219
22
201
6.227273
0.772727
0.19708
0
0
0
0
0
0
0
0
0
0
0.159204
201
11
55
18.272727
0.810651
0
0
0
0
0
0.145729
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
76dbfabe1368ceb4eba242e1e280877abf784832
12,063
py
Python
colosseum/mdps/minigrid_doorkey/minigrid_doorkey.py
MichelangeloConserva/Colosseum
b0711fd9ce75520deb74cda75c148984a8e4152f
[ "MIT" ]
null
null
null
colosseum/mdps/minigrid_doorkey/minigrid_doorkey.py
MichelangeloConserva/Colosseum
b0711fd9ce75520deb74cda75c148984a8e4152f
[ "MIT" ]
null
null
null
colosseum/mdps/minigrid_doorkey/minigrid_doorkey.py
MichelangeloConserva/Colosseum
b0711fd9ce75520deb74cda75c148984a8e4152f
[ "MIT" ]
null
null
null
from copy import deepcopy from dataclasses import asdict, dataclass from enum import IntEnum from colosseum.utils.random_vars import deterministic, get_dist try: from functools import cached_property except: from backports.cached_property import cached_property from typing import Any, Dict, List, Tuple, Type...
36.554545
151
0.608555
1,363
12,063
5.181952
0.168745
0.015857
0.024919
0.037378
0.281892
0.2397
0.202322
0.188022
0.177262
0.169333
0
0.008232
0.305148
12,063
329
152
36.665654
0.834407
0.114068
0
0.141176
0
0.003922
0.021845
0.014786
0
0
0
0
0.007843
1
0.05098
false
0
0.05098
0.023529
0.223529
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
76dc3dcc93cf6f1c271c8e612a3e064f4f02ee56
3,258
py
Python
tests/bugs/core_6266_test.py
reevespaul/firebird-qa
98f16f425aa9ab8ee63b86172f959d63a2d76f21
[ "MIT" ]
null
null
null
tests/bugs/core_6266_test.py
reevespaul/firebird-qa
98f16f425aa9ab8ee63b86172f959d63a2d76f21
[ "MIT" ]
null
null
null
tests/bugs/core_6266_test.py
reevespaul/firebird-qa
98f16f425aa9ab8ee63b86172f959d63a2d76f21
[ "MIT" ]
null
null
null
#coding:utf-8 # # id: bugs.core_6266 # title: Deleting records from MON$ATTACHMENTS using ORDER BY clause doesn't close the corresponding attachments # decription: # Old title: Don't close attach while deleting record from MON$ATTACHMENTS using ORDER BY clause. # ...
31.028571
170
0.645795
465
3,258
4.380645
0.389247
0.027491
0.053019
0.045164
0.350515
0.334806
0.300442
0.265096
0.265096
0.265096
0
0.032514
0.225905
3,258
104
171
31.326923
0.775178
0.832413
0
0
0
0
0.175
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
76de48d1a553599d42928e5621ab909ebe023773
1,276
py
Python
scripts/senate_crawler.py
tompsh/tompsh.github.io
3283ee2de46730adf14ef4f6bd2963b345500562
[ "BSD-2-Clause" ]
null
null
null
scripts/senate_crawler.py
tompsh/tompsh.github.io
3283ee2de46730adf14ef4f6bd2963b345500562
[ "BSD-2-Clause" ]
null
null
null
scripts/senate_crawler.py
tompsh/tompsh.github.io
3283ee2de46730adf14ef4f6bd2963b345500562
[ "BSD-2-Clause" ]
null
null
null
from bs4 import BeautifulSoup import logging import pandas as pd import csv import re import requests from urllib.parse import urljoin logging.basicConfig(format="%(asctime)s %(levelname)s:%(message)s", level=logging.INFO) def get_html(url): return requests.get(url).text class SenateCrawler: def __init__(...
27.73913
87
0.590125
156
1,276
4.705128
0.512821
0.040872
0.053134
0
0
0
0
0
0
0
0
0.006522
0.278997
1,276
45
88
28.355556
0.791304
0
0
0
0
0
0.145768
0.050157
0
0
0
0
0
1
0.111111
false
0
0.194444
0.027778
0.361111
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
76de86f0d428be6f17b7c61c98178730bcc214cf
4,173
py
Python
backend-project/small_eod/autocomplete/tests/test_views.py
merito/small_eod
ab19b82f374cd7c4b21d8f9412657dbe7f7f03e2
[ "MIT" ]
64
2019-12-30T11:24:03.000Z
2021-06-24T01:04:56.000Z
backend-project/small_eod/autocomplete/tests/test_views.py
merito/small_eod
ab19b82f374cd7c4b21d8f9412657dbe7f7f03e2
[ "MIT" ]
465
2018-06-13T21:43:43.000Z
2022-01-04T23:33:56.000Z
backend-project/small_eod/autocomplete/tests/test_views.py
merito/small_eod
ab19b82f374cd7c4b21d8f9412657dbe7f7f03e2
[ "MIT" ]
72
2018-12-02T19:47:03.000Z
2022-01-04T22:54:49.000Z
from test_plus.test import TestCase from ...administrative_units.factories import AdministrativeUnitFactory from ...cases.factories import CaseFactory from ...channels.factories import ChannelFactory from ...events.factories import EventFactory from ...features.factories import FeatureFactory, FeatureOptionFactory fro...
32.1
88
0.749101
404
4,173
7.636139
0.183168
0.05705
0.135494
0.185413
0.554295
0.367585
0.321556
0.321556
0.321556
0.321556
0
0.000283
0.151929
4,173
129
89
32.348837
0.871433
0
0
0.505263
0
0
0.075725
0.03307
0
0
0
0
0.231579
1
0.115789
false
0
0.126316
0
0.6
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
76dead288194d6b5e50fd079f21d614687299cb8
1,085
py
Python
src/lennybot/model/plan.py
raynigon/lenny-bot
d906a25dc28d9102829d3d6265d300f65406db02
[ "Apache-2.0" ]
1
2021-12-15T14:03:54.000Z
2021-12-15T14:03:54.000Z
src/lennybot/model/plan.py
raynigon/lenny-bot
d906a25dc28d9102829d3d6265d300f65406db02
[ "Apache-2.0" ]
1
2021-12-15T14:02:57.000Z
2021-12-15T17:44:26.000Z
src/lennybot/model/plan.py
raynigon/lennybot
79bee9a834f885a0da2484b239cf6efaf9cb9e4e
[ "Apache-2.0" ]
null
null
null
from typing import Any, List from ..actions.iaction import IAction from ..model.state import LennyBotState class LennyBotPlan: def __init__(self, state: LennyBotState, actions: List[IAction]) -> None: self._state = state self._actions = actions @property def applications(self) -> List...
25.232558
77
0.621198
115
1,085
5.730435
0.278261
0.08346
0.050076
0.068285
0.336874
0.30349
0.30349
0.30349
0.30349
0.30349
0
0
0.297696
1,085
42
78
25.833333
0.864829
0
0
0.387097
0
0
0
0
0
0
0
0
0
1
0.193548
false
0
0.096774
0.064516
0.548387
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
76ded3c51388324a8e665394e6561d69d52c808d
6,101
py
Python
laceworksdk/api/container_registries.py
kiddinn/python-sdk
23a33313f97337fddea155bcb19c8d5270fc8013
[ "MIT" ]
10
2021-03-20T18:12:16.000Z
2022-02-14T21:33:23.000Z
laceworksdk/api/container_registries.py
kiddinn/python-sdk
23a33313f97337fddea155bcb19c8d5270fc8013
[ "MIT" ]
10
2021-02-22T23:31:32.000Z
2022-03-25T14:11:27.000Z
laceworksdk/api/container_registries.py
kiddinn/python-sdk
23a33313f97337fddea155bcb19c8d5270fc8013
[ "MIT" ]
7
2021-06-18T18:17:12.000Z
2022-03-25T13:52:14.000Z
# -*- coding: utf-8 -*- """ Lacework Container Registries API wrapper. """ import logging logger = logging.getLogger(__name__) class ContainerRegistriesAPI(object): """ Lacework Container Registries API. """ def __init__(self, session): """ Initializes the ContainerRegistriesAPI obj...
28.914692
97
0.591051
669
6,101
5.324365
0.152466
0.090679
0.067378
0.061763
0.70438
0.650477
0.609208
0.576081
0.561202
0.54941
0
0.003688
0.333388
6,101
210
98
29.052381
0.872142
0.433208
0
0.325
0
0
0.164622
0.076346
0
0
0
0
0
1
0.1
false
0
0.0125
0
0.225
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
76dfdcc4b341cedf794e7489e27908f2ae58e24b
10,024
py
Python
mllib/nlp/seq2seq.py
pmaxit/dlnotebooks
5e5a161bbd9d0753850029be29e1488b8858ecd5
[ "Apache-2.0" ]
null
null
null
mllib/nlp/seq2seq.py
pmaxit/dlnotebooks
5e5a161bbd9d0753850029be29e1488b8858ecd5
[ "Apache-2.0" ]
null
null
null
mllib/nlp/seq2seq.py
pmaxit/dlnotebooks
5e5a161bbd9d0753850029be29e1488b8858ecd5
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED! DO NOT EDIT! File to edit: nbs/01_seq2seq.ipynb (unless otherwise specified). __all__ = ['Encoder', 'NewDecoder', 'Seq2Seq'] # Cell from torch import nn from torch import optim import torch import torch.nn.functional as F from torch.nn.utils.rnn import pack_padded_sequence, pad_packed_sequence # Ce...
32.025559
120
0.621409
1,303
10,024
4.537222
0.23561
0.012179
0.01184
0.010149
0.207037
0.139716
0.101996
0.092862
0.064107
0.064107
0
0.013053
0.289206
10,024
312
121
32.128205
0.816702
0.189346
0
0.142105
1
0
0.023146
0
0
0
0
0
0
1
0.068421
false
0
0.047368
0.005263
0.178947
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
76dff496b7787e808a82fccd90d499cb2d9e785d
1,994
py
Python
tests/flows/test_consent.py
mrkday/SATOSA
43fd13273d7633b1d496d9c9aaef97c472ebd448
[ "Apache-2.0" ]
92
2017-11-08T08:01:27.000Z
2022-03-14T09:44:09.000Z
tests/flows/test_consent.py
mrkday/SATOSA
43fd13273d7633b1d496d9c9aaef97c472ebd448
[ "Apache-2.0" ]
155
2017-10-31T15:11:06.000Z
2022-03-11T16:59:23.000Z
tests/flows/test_consent.py
mrkday/SATOSA
43fd13273d7633b1d496d9c9aaef97c472ebd448
[ "Apache-2.0" ]
73
2017-11-05T13:53:40.000Z
2022-03-23T15:34:00.000Z
import json import re import responses from werkzeug.test import Client from werkzeug.wrappers import Response from satosa.proxy_server import make_app from satosa.satosa_config import SATOSAConfig class TestConsent: def test_full_flow(self, satosa_config_dict, consent_module_config): api_url = "https:/...
41.541667
112
0.660481
243
1,994
5.144033
0.312757
0.0672
0.0768
0.0432
0.3608
0.2464
0.2224
0.1136
0
0
0
0.013619
0.22668
1,994
47
113
42.425532
0.797017
0.056169
0
0.133333
0
0
0.142933
0.012267
0
0
0
0
0.133333
1
0.033333
false
0
0.233333
0
0.3
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
76e06c68d3769fb919b634d12c79af9d79a056b9
18,072
py
Python
qnarre/models/transfo_xl.py
quantapix/qnarre.com
f51d5945c20ef8182c4aa11f1b407d064c190c70
[ "MIT" ]
null
null
null
qnarre/models/transfo_xl.py
quantapix/qnarre.com
f51d5945c20ef8182c4aa11f1b407d064c190c70
[ "MIT" ]
null
null
null
qnarre/models/transfo_xl.py
quantapix/qnarre.com
f51d5945c20ef8182c4aa11f1b407d064c190c70
[ "MIT" ]
null
null
null
# Copyright 2022 Quantapix Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
42.224299
98
0.529714
2,664
18,072
3.412538
0.116742
0.01375
0.02145
0.00792
0.452315
0.390606
0.348367
0.305687
0.277857
0.263117
0
0.015772
0.333389
18,072
427
99
42.323185
0.738856
0.049801
0
0.349333
0
0
0.005714
0
0
0
0
0
0.016
1
0.050667
false
0
0.029333
0.002667
0.138667
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
76e0ef3752aa275816b6ecc85b1a2c5f0647c59d
3,429
py
Python
src/align/face_align_celeba.py
Dou-Yu-xuan/pykinship
f81f6667fa08a08fe726736d05476168b2a3e2f0
[ "MIT" ]
12
2020-02-19T02:50:49.000Z
2022-03-31T19:39:35.000Z
src/align/face_align_celeba.py
Dou-Yu-xuan/pykinship
f81f6667fa08a08fe726736d05476168b2a3e2f0
[ "MIT" ]
68
2020-03-23T00:07:28.000Z
2022-03-28T10:02:16.000Z
src/align/face_align_celeba.py
Dou-Yu-xuan/pykinship
f81f6667fa08a08fe726736d05476168b2a3e2f0
[ "MIT" ]
3
2020-02-11T19:07:08.000Z
2020-11-04T18:48:00.000Z
import argparse import glob import os import pickle from pathlib import Path import numpy as np from PIL import Image from tqdm import tqdm from src.align.align_trans import get_reference_facial_points, warp_and_crop_face # sys.path.append("../../") from src.align.detector import detect_faces if __name__ == "__main...
32.657143
90
0.585885
417
3,429
4.647482
0.326139
0.06192
0.026316
0.024768
0.158927
0.110423
0.110423
0.110423
0.110423
0.110423
0
0.006163
0.290172
3,429
104
91
32.971154
0.790058
0.131234
0
0.122222
0
0
0.169474
0.037062
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0.033333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
76e2fbbb9481d029109c5c955ed7a3309fc9c83a
117
py
Python
extract.py
rmalav15/voice-data-extract
e021428afe2706cae0e5339e96bba7f8b033117d
[ "MIT" ]
null
null
null
extract.py
rmalav15/voice-data-extract
e021428afe2706cae0e5339e96bba7f8b033117d
[ "MIT" ]
null
null
null
extract.py
rmalav15/voice-data-extract
e021428afe2706cae0e5339e96bba7f8b033117d
[ "MIT" ]
null
null
null
from srtvoiceext import extract if __name__ == '__main__': ext = extract('video.mkv', 'subtitles.srt', 'outdir')
29.25
57
0.700855
14
117
5.285714
0.928571
0
0
0
0
0
0
0
0
0
0
0
0.145299
117
4
57
29.25
0.74
0
0
0
0
0
0.305085
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
76e301801e70d562cc3a1d9777a610e89dc8d94b
632
py
Python
bacon/readonly_collections.py
aholkner/bacon
edf3810dcb211942d392a8637945871399b0650d
[ "MIT" ]
37
2015-01-29T17:42:11.000Z
2021-12-14T22:11:33.000Z
bacon/readonly_collections.py
aholkner/bacon
edf3810dcb211942d392a8637945871399b0650d
[ "MIT" ]
3
2015-08-13T17:38:05.000Z
2020-09-25T17:21:31.000Z
bacon/readonly_collections.py
aholkner/bacon
edf3810dcb211942d392a8637945871399b0650d
[ "MIT" ]
7
2015-02-12T17:54:35.000Z
2022-01-31T14:50:09.000Z
import collections class ReadOnlyDict(collections.MutableMapping): def __init__(self, store): self.store = store def __getitem__(self, key): return self.store[key] def __setitem__(self, key, value): raise TypeError('Cannot modify ReadOnlyDict') def __delitem__(self, ke...
25.28
53
0.642405
70
632
5.342857
0.357143
0.168449
0.096257
0.139037
0.219251
0.219251
0
0
0
0
0
0
0.253165
632
25
54
25.28
0.792373
0
0
0.111111
0
0
0.132701
0
0
0
0
0
0
1
0.444444
false
0
0.055556
0.277778
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
76e38e9aaa4e8905b66b235b95aefae36be7dc3f
25,699
py
Python
rpg_game/gui.py
ricott1/twissh
8cbed5eef8e3326a92855cdc2cfea3f4ce214d8d
[ "MIT" ]
null
null
null
rpg_game/gui.py
ricott1/twissh
8cbed5eef8e3326a92855cdc2cfea3f4ce214d8d
[ "MIT" ]
null
null
null
rpg_game/gui.py
ricott1/twissh
8cbed5eef8e3326a92855cdc2cfea3f4ce214d8d
[ "MIT" ]
null
null
null
# encoding: utf-8 import urwid import time, os, copy from rpg_game.utils import log, mod, distance from rpg_game.constants import * from urwid import raw_display SIZE = lambda scr=raw_display.Screen(): scr.get_cols_rows() MIN_HEADER_HEIGHT = 3 MAX_MENU_WIDTH = 48 FOOTER_HEIGHT = 4 PALETTE = [ ("line",...
37.90413
210
0.575742
3,124
25,699
4.542574
0.131242
0.021986
0.022761
0.027623
0.360087
0.282292
0.232119
0.181805
0.169262
0.114721
0
0.008818
0.28075
25,699
677
211
37.960118
0.758007
0.032219
0
0.288104
0
0.007435
0.115273
0.018265
0
0
0
0
0
1
0.124535
false
0.022305
0.009294
0.013011
0.202602
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
76e3aa393f7a0908df3e197db3a2c2ed201ee19d
4,851
py
Python
lale/lib/autogen/linear_regression.py
gbdrt/lale
291f824a6b96f088e787979ca768f50d7758424e
[ "Apache-2.0" ]
null
null
null
lale/lib/autogen/linear_regression.py
gbdrt/lale
291f824a6b96f088e787979ca768f50d7758424e
[ "Apache-2.0" ]
null
null
null
lale/lib/autogen/linear_regression.py
gbdrt/lale
291f824a6b96f088e787979ca768f50d7758424e
[ "Apache-2.0" ]
null
null
null
from numpy import inf, nan from sklearn.linear_model import LinearRegression as Op from lale.docstrings import set_docstrings from lale.operators import make_operator class LinearRegressionImpl: def __init__(self, **hyperparams): self._hyperparams = hyperparams self._wrapped_model = Op(**self._hy...
35.408759
151
0.508555
438
4,851
5.468037
0.317352
0.037578
0.058455
0.060125
0.386221
0.31023
0.270564
0.270564
0.270564
0.23048
0
0.004677
0.338899
4,851
136
152
35.669118
0.742127
0
0
0.302326
0
0.007752
0.40301
0
0
0
0
0
0
1
0.023256
false
0
0.03876
0.007752
0.085271
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
76e51515f0db0f6532d593373bce97eb6eda37bb
12,689
py
Python
Models.py
jmj23/Kaggle-Pneumothorax
96153af30468c5bcb49875dd374ac44ed1b4e2fb
[ "MIT" ]
null
null
null
Models.py
jmj23/Kaggle-Pneumothorax
96153af30468c5bcb49875dd374ac44ed1b4e2fb
[ "MIT" ]
null
null
null
Models.py
jmj23/Kaggle-Pneumothorax
96153af30468c5bcb49875dd374ac44ed1b4e2fb
[ "MIT" ]
2
2019-07-12T15:03:41.000Z
2019-08-07T21:24:49.000Z
import numpy as np from keras.applications.inception_v3 import InceptionV3 from keras.initializers import RandomNormal from keras.layers import (BatchNormalization, Conv2D, Conv2DTranspose, Conv3D, Cropping2D, Dense, Flatten, GlobalAveragePooling2D, Input, Lambda, Max...
41.877888
99
0.585625
1,664
12,689
4.335337
0.138822
0.033962
0.050457
0.026615
0.828805
0.821042
0.821042
0.821042
0.821042
0.821042
0
0.043793
0.27118
12,689
302
100
42.016556
0.736267
0.173773
0
0.857143
0
0
0.123259
0
0
0
0
0
0.02765
1
0.018433
false
0
0.02765
0
0.064516
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
76e58be1ebfa1f5a2978f0298b22ab49d27824a1
386
py
Python
initdb.py
dasmerlon/flunky-bot
19dff5a74bee6685e806f98c3f877216ef454a5d
[ "MIT" ]
null
null
null
initdb.py
dasmerlon/flunky-bot
19dff5a74bee6685e806f98c3f877216ef454a5d
[ "MIT" ]
null
null
null
initdb.py
dasmerlon/flunky-bot
19dff5a74bee6685e806f98c3f877216ef454a5d
[ "MIT" ]
null
null
null
#!/bin/env python """Drop and create a new database with schema.""" from sqlalchemy_utils.functions import database_exists, create_database, drop_database from flunkybot.db import engine, base from flunkybot.models import * # noqa db_url = engine.url if database_exists(db_url): drop_database(db_url) create_datab...
22.705882
86
0.790155
58
386
5.034483
0.465517
0.068493
0.089041
0
0
0
0
0
0
0
0
0
0.11658
386
16
87
24.125
0.856305
0.168394
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
0
0
0
0
0
0
0
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
76e62dfaead6e340b719c28d88044ea601c31718
1,309
py
Python
setup.py
awesome-archive/webspider
072e9944db8fe05cbb47f8ea6d1a327c2a8929b1
[ "MIT" ]
null
null
null
setup.py
awesome-archive/webspider
072e9944db8fe05cbb47f8ea6d1a327c2a8929b1
[ "MIT" ]
null
null
null
setup.py
awesome-archive/webspider
072e9944db8fe05cbb47f8ea6d1a327c2a8929b1
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import os from setuptools import find_packages, setup from app import __version__ # get the dependencies and installs here = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(here, 'requirements.txt')) as f: all_requirements = f.read().split('\n') set...
34.447368
86
0.6822
169
1,309
4.911243
0.502959
0.060241
0.078313
0.077108
0.093976
0.06747
0
0
0
0
0
0.000944
0.190985
1,309
37
87
35.378378
0.782814
0.05806
0
0
0
0
0.464228
0.282927
0
0
0
0
0
1
0
false
0
0.096774
0
0.096774
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
76e72292730408078c92e31d3a0592b902469f3c
6,038
py
Python
Doc/conf.py
python-doc-tw/cpython-tw
9b83e9ffbdd2f3fc56de8dcdc8c4651feeb5a281
[ "PSF-2.0" ]
null
null
null
Doc/conf.py
python-doc-tw/cpython-tw
9b83e9ffbdd2f3fc56de8dcdc8c4651feeb5a281
[ "PSF-2.0" ]
null
null
null
Doc/conf.py
python-doc-tw/cpython-tw
9b83e9ffbdd2f3fc56de8dcdc8c4651feeb5a281
[ "PSF-2.0" ]
null
null
null
# # Python documentation build configuration file # # This file is execfile()d with the current directory set to its containing dir. # # The contents of this file are pickled, so don't put values in the namespace # that aren't pickleable (module imports are okay, they're removed automatically). import sys, os, time sy...
29.598039
82
0.661809
757
6,038
5.174373
0.410832
0.034465
0.018381
0.003064
0.015828
0.015828
0
0
0
0
0
0.004799
0.171746
6,038
203
83
29.743842
0.778444
0.406757
0
0
0
0
0.427273
0.059091
0
0
0
0
0
1
0
false
0
0.020833
0
0.020833
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
76e8aa5b3dcd6d5941acd4ac1423725bbe5688e5
2,178
py
Python
basic_stats.py/basic_stats.py
RahmB/basic_stats
b286fc84faa6dab17aa8d1e04d85fbf29a41ee12
[ "MIT" ]
null
null
null
basic_stats.py/basic_stats.py
RahmB/basic_stats
b286fc84faa6dab17aa8d1e04d85fbf29a41ee12
[ "MIT" ]
null
null
null
basic_stats.py/basic_stats.py
RahmB/basic_stats
b286fc84faa6dab17aa8d1e04d85fbf29a41ee12
[ "MIT" ]
null
null
null
# Import the matplotlib module here. No other modules should be used. # Import plotting library import matplotlib.pyplot as plt #import.... from os import * # Import Numpy import numpy as np def mean(my_list): # This is the defintion in the head. i = 0 my_sum = 0 for number in my_list: my_sum ...
22
77
0.565657
328
2,178
3.621951
0.268293
0.161616
0.050505
0.050505
0.189394
0.183502
0.079966
0.048822
0.048822
0.048822
0
0.020889
0.318641
2,178
99
78
22
0.77965
0.085859
0
0.233766
0
0
0.125
0
0
0
0
0
0
1
0.090909
false
0
0.038961
0
0.207792
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
76e91ea24b8b713b4825e3c31ae941d3409f7123
4,987
py
Python
src/catkin_pkg/cli/tag_changelog.py
delftrobotics-forks/catkin_pkg
122eae0971f13a6080b72af6bb0eb52656c00bea
[ "BSD-3-Clause" ]
2
2018-12-11T16:35:20.000Z
2019-01-23T16:42:17.000Z
usr/lib/python2.7/dist-packages/catkin_pkg/cli/tag_changelog.py
Roboy/roboy_managing_node_fpga
64ffe5aec2f2c98a051bb1a881849c195b8d052c
[ "BSD-3-Clause" ]
1
2020-08-25T11:24:44.000Z
2020-09-22T14:01:26.000Z
src/catkin_pkg/cli/tag_changelog.py
plusone-robotics/catkin_pkg
9d68332b97db07f77a8b56bb5afaf89ec2536dfa
[ "BSD-3-Clause" ]
4
2019-04-30T23:34:51.000Z
2021-07-04T07:55:34.000Z
"""This script renames the forthcoming section in changelog files with the upcoming version and the current date""" from __future__ import print_function import argparse import datetime import docutils.core import os import re import sys from catkin_pkg.changelog import CHANGELOG_FILENAME, get_changelog_from_path fr...
43.745614
166
0.687989
611
4,987
5.430442
0.265139
0.067511
0.025618
0.030139
0.098553
0.06962
0.031344
0.031344
0
0
0
0.002802
0.212753
4,987
113
167
44.132743
0.842333
0.076599
0
0.077778
0
0
0.13017
0
0
0
0
0
0
1
0.044444
false
0.011111
0.122222
0
0.2
0.077778
0
0
0
null
0
0
0
0
0
0
0
0
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
76eaa983d4b2d01d9a4e9daae5b69684ff9a0e05
1,199
py
Python
tests/optims/distributed_adamw_test.py
AswinRetnakumar/Machina
6519935ca4553192ac99fc1c7c1e7cab9dd72693
[ "MIT" ]
302
2019-03-13T10:21:29.000Z
2022-03-25T10:01:46.000Z
tests/optims/distributed_adamw_test.py
AswinRetnakumar/Machina
6519935ca4553192ac99fc1c7c1e7cab9dd72693
[ "MIT" ]
50
2019-03-13T09:45:00.000Z
2021-12-23T18:32:00.000Z
tests/optims/distributed_adamw_test.py
AswinRetnakumar/Machina
6519935ca4553192ac99fc1c7c1e7cab9dd72693
[ "MIT" ]
55
2019-03-17T01:59:57.000Z
2022-03-28T01:13:40.000Z
import os import unittest import torch import torch.distributed as dist from torch.multiprocessing import Process import torch.nn as nn from machina.optims import DistributedAdamW def init_processes(rank, world_size, function, backend='tcp'): os.environ['MASTER_ADDR'] = '127.0.0.1' os.env...
26.065217
50
0.559633
129
1,199
5.062016
0.465116
0.11026
0.099541
0
0
0
0
0
0
0
0
0.021795
0.349458
1,199
45
51
26.644444
0.815385
0
0
0
0
0
0.032527
0
0
0
0
0
0
1
0.085714
false
0
0.2
0
0.314286
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
76eba1361f488fe5c5dadbe9595a11b254abd926
870
py
Python
rsqueakvm/model/__init__.py
shiplift/RSqueakOnABoat
ac449758ddb7aef1721e65a13171547761dd6e39
[ "BSD-3-Clause" ]
44
2015-02-08T09:38:46.000Z
2017-11-15T01:19:40.000Z
rsqueakvm/model/__init__.py
shiplift/RSqueakOnABoat
ac449758ddb7aef1721e65a13171547761dd6e39
[ "BSD-3-Clause" ]
112
2015-02-08T09:34:40.000Z
2017-04-10T19:06:30.000Z
rsqueakvm/model/__init__.py
shiplift/RSqueakOnABoat
ac449758ddb7aef1721e65a13171547761dd6e39
[ "BSD-3-Clause" ]
7
2015-04-08T11:49:10.000Z
2017-01-19T06:36:27.000Z
""" Squeak model. W_Object W_SmallInteger W_MutableSmallInteger W_AbstractObjectWithIdentityHash W_AbstractFloat W_Float W_MutableFloat W_Character W_PointersObject W_AbstractObjectWithClassReference ...
28.064516
46
0.625287
74
870
7.094595
0.418919
0.173333
0.24
0.274286
0
0
0
0
0
0
0
0
0.341379
870
30
47
29
0.91623
0.713793
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
76ebc2ee4ceeeeacb1f5e2ff455580aa77112974
6,352
py
Python
Multi-Task-Learning-PyTorch-master/losses/loss_functions.py
nikola3794/edge-evaluation-PASCAL-MT-tmp
d3bc7164608a20eb6351c1d41219213927ae6239
[ "MIT" ]
null
null
null
Multi-Task-Learning-PyTorch-master/losses/loss_functions.py
nikola3794/edge-evaluation-PASCAL-MT-tmp
d3bc7164608a20eb6351c1d41219213927ae6239
[ "MIT" ]
null
null
null
Multi-Task-Learning-PyTorch-master/losses/loss_functions.py
nikola3794/edge-evaluation-PASCAL-MT-tmp
d3bc7164608a20eb6351c1d41219213927ae6239
[ "MIT" ]
null
null
null
# This code is referenced from # https://github.com/facebookresearch/astmt/ # # Copyright (c) Facebook, Inc. and its affiliates. # All rights reserved. # # License: Attribution-NonCommercial 4.0 International import torch import torch.nn as nn import torch.nn.functional as F from torch.nn.modules.module import Modu...
32.080808
121
0.62012
842
6,352
4.442993
0.191211
0.035285
0.036087
0.030473
0.511895
0.461909
0.437316
0.428228
0.381716
0.359262
0
0.01257
0.273615
6,352
197
122
32.243655
0.798223
0.098709
0
0.48
0
0
0.021292
0
0
0
0
0
0.032
1
0.096
false
0
0.04
0
0.248
0.016
0
0
0
null
0
0
0
0
0
0
0
0
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
76ebcd294c425806f2a19ba5ab050dfad80e8987
826
py
Python
trabalho-numerico/tridimensional.py
heissonwillen/tcm
71da46489f12e64b50436b17447721cb8f7eaf09
[ "MIT" ]
null
null
null
trabalho-numerico/tridimensional.py
heissonwillen/tcm
71da46489f12e64b50436b17447721cb8f7eaf09
[ "MIT" ]
null
null
null
trabalho-numerico/tridimensional.py
heissonwillen/tcm
71da46489f12e64b50436b17447721cb8f7eaf09
[ "MIT" ]
null
null
null
from mpl_toolkits.mplot3d import Axes3D import matplotlib.pyplot as plt from matplotlib import cm import numpy as np import os import contorno from constantes import INTERVALOS, PASSOS, TAMANHO_BARRA, DELTA_T, DELTA_X z_temp = contorno.p_3 TAMANHO_BARRA = 2 x = np.linspace(0.0, TAMANHO_BARRA, INTERVALOS+1) y = np.lin...
22.944444
82
0.692494
160
826
3.43125
0.39375
0.021858
0.021858
0.043716
0
0
0
0
0
0
0
0.02845
0.14891
826
35
83
23.6
0.752489
0
0
0
0
0
0.012107
0
0
0
0
0
0
1
0
false
0.111111
0.259259
0
0.259259
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
76edfc1706c920930c1bc7aab823c6e785689aff
1,406
py
Python
leetcode/0006_ZigZag_Conversion/zigzag_conversion.py
zyeak/leetcode
5d7bf16bd755224223c71e8e6df81c1ff49daadc
[ "MIT" ]
null
null
null
leetcode/0006_ZigZag_Conversion/zigzag_conversion.py
zyeak/leetcode
5d7bf16bd755224223c71e8e6df81c1ff49daadc
[ "MIT" ]
null
null
null
leetcode/0006_ZigZag_Conversion/zigzag_conversion.py
zyeak/leetcode
5d7bf16bd755224223c71e8e6df81c1ff49daadc
[ "MIT" ]
null
null
null
# solution 1: class Solution1: def convert(self, s: str, numRows: int) -> str: if numRows == 1 or numRows >= len(s): return s L = [''] * numRows index, step = 0, 1 for x in s: L[index] += x if index == 0: step = 1 ...
31.244444
92
0.516358
191
1,406
3.743456
0.408377
0.055944
0.046154
0.041958
0.092308
0.092308
0.092308
0.092308
0.092308
0
0
0.025641
0.389758
1,406
45
93
31.244444
0.807692
0.289474
0
0.129032
0
0
0.0222
0
0
0
0
0
0
1
0.064516
false
0
0
0
0.258065
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
76ef2321c51f2dff2461f9538c87721e5bf560d2
2,013
py
Python
FakeNewsClassifierWithLSTM.py
pratikasarkar/nlp
275c80ab10f6dc4b4553bbcc5e5c8a4d00ff9fea
[ "Unlicense" ]
null
null
null
FakeNewsClassifierWithLSTM.py
pratikasarkar/nlp
275c80ab10f6dc4b4553bbcc5e5c8a4d00ff9fea
[ "Unlicense" ]
null
null
null
FakeNewsClassifierWithLSTM.py
pratikasarkar/nlp
275c80ab10f6dc4b4553bbcc5e5c8a4d00ff9fea
[ "Unlicense" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Thu Feb 11 13:42:45 2021 @author: ASUS """ import pandas as pd df = pd.read_csv(r'D:\nlp\fake-news-data\train.csv') df = df.dropna() X = df.drop('label',axis = 1) y = df['label'] import tensorflow as tf from tensorflow.keras.layers import Embedding, Dense, LSTM from tensorflo...
27.958333
103
0.752608
313
2,013
4.667732
0.469649
0.03833
0.052019
0.043806
0
0
0
0
0
0
0
0.019864
0.12469
2,013
71
104
28.352113
0.809308
0.076006
0
0
0
0
0.056818
0.016775
0
0
0
0
0
1
0
false
0
0.276596
0
0.276596
0.021277
0
0
0
null
0
0
0
0
0
0
0
0
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
76f0f94143a86c5bd1bdfebcc7fe3a026073720d
860
py
Python
SVM/SVM_12_Quiz.py
rohit517/Intro-to-machine-learning-Udacity
d0b2cc6cac1cb3408b274225cecd4afcea4ee30f
[ "MIT" ]
null
null
null
SVM/SVM_12_Quiz.py
rohit517/Intro-to-machine-learning-Udacity
d0b2cc6cac1cb3408b274225cecd4afcea4ee30f
[ "MIT" ]
null
null
null
SVM/SVM_12_Quiz.py
rohit517/Intro-to-machine-learning-Udacity
d0b2cc6cac1cb3408b274225cecd4afcea4ee30f
[ "MIT" ]
null
null
null
import sys from class_vis import prettyPicture from prep_terrain_data import makeTerrainData import matplotlib.pyplot as plt import copy import numpy as np import pylab as pl features_train, labels_train, features_test, labels_test = makeTerrainData() ########################## SVM ###################...
25.294118
77
0.696512
117
860
5.008547
0.564103
0.044369
0.064846
0.081911
0
0
0
0
0
0
0
0
0.175581
860
33
78
26.060606
0.826516
0.27093
0
0
0
0
0.01165
0
0
0
0
0
0
1
0.0625
false
0
0.5625
0.0625
0.6875
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
76f17efadc147bee33131952c1b99b7ec42d46c2
1,890
py
Python
tests/test_auto_scan_logsigmoid.py
yeliang2258/Paddle2ONNX
5eeef77f2f90d1e2a45dacf6eb1cc5f35f6224a4
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
tests/test_auto_scan_logsigmoid.py
yeliang2258/Paddle2ONNX
5eeef77f2f90d1e2a45dacf6eb1cc5f35f6224a4
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
tests/test_auto_scan_logsigmoid.py
yeliang2258/Paddle2ONNX
5eeef77f2f90d1e2a45dacf6eb1cc5f35f6224a4
[ "ECL-2.0", "Apache-2.0" ]
1
2022-01-29T04:35:49.000Z
2022-01-29T04:35:49.000Z
# Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License" # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
26.619718
74
0.635979
234
1,890
4.982906
0.589744
0.051458
0.022298
0.027444
0.075472
0
0
0
0
0
0
0.021676
0.267725
1,890
70
75
27
0.820809
0.351323
0
0
0
0
0.086505
0
0
0
0
0
0
1
0.090909
false
0
0.181818
0
0.393939
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
76f217cfd33281d5ca8af791540db7576b28df64
4,408
py
Python
oasislmf/utils/concurrency.py
bbetov-corelogic/OasisLMF
fcb9a595ec6eb30c2ed3b9b67152c2f27fc0082b
[ "BSD-3-Clause" ]
null
null
null
oasislmf/utils/concurrency.py
bbetov-corelogic/OasisLMF
fcb9a595ec6eb30c2ed3b9b67152c2f27fc0082b
[ "BSD-3-Clause" ]
null
null
null
oasislmf/utils/concurrency.py
bbetov-corelogic/OasisLMF
fcb9a595ec6eb30c2ed3b9b67152c2f27fc0082b
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals from builtins import open from builtins import str from future import standard_library standard_library.install_aliases() try: from queue i...
23.078534
103
0.595735
530
4,408
4.783019
0.241509
0.033136
0.078107
0.049704
0.314793
0.26075
0.192505
0.192505
0.176331
0.078895
0
0.002646
0.313975
4,408
190
104
23.2
0.835648
0.207123
0
0.142857
0
0
0.012191
0
0
0
0
0
0
1
0.116071
false
0
0.133929
0
0.3125
0.008929
0
0
0
null
0
0
0
0
0
0
0
0
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
76f2637d428beecc1c55ba4761f8ecce6c4c4884
26,267
py
Python
runtime/python/Lib/site-packages/isort/output.py
hwaipy/InteractionFreeNode
88642b68430f57b028fd0f276a5709f89279e30d
[ "MIT" ]
4
2021-10-20T12:39:09.000Z
2022-02-26T15:02:08.000Z
runtime/python/Lib/site-packages/isort/output.py
hwaipy/InteractionFreeNode
88642b68430f57b028fd0f276a5709f89279e30d
[ "MIT" ]
20
2021-05-03T18:02:23.000Z
2022-03-12T12:01:04.000Z
runtime/python/Lib/site-packages/isort/output.py
hwaipy/InteractionFreeNode
88642b68430f57b028fd0f276a5709f89279e30d
[ "MIT" ]
3
2021-08-28T14:22:36.000Z
2021-10-06T18:59:41.000Z
import copy import itertools from functools import partial from typing import Any, Iterable, List, Optional, Set, Tuple, Type from isort.format import format_simplified from . import parse, sorting, wrap from .comments import add_to_line as with_comments from .identify import STATEMENT_DECLARATIONS from .settings imp...
40.91433
100
0.516199
2,439
26,267
5.272653
0.082411
0.034992
0.031104
0.023328
0.477916
0.384059
0.331882
0.288802
0.214075
0.204355
0
0.001991
0.407317
26,267
641
101
40.978159
0.824062
0.019682
0
0.377495
0
0
0.034796
0.00832
0
0
0
0
0
1
0.016334
false
0
0.30127
0.00363
0.344828
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
76f317598810c56fd2ed005b83b2ae2293df83ae
24,928
py
Python
vixen/project.py
amoeba/vixen
a2b450fa918e23da644b1818807577139a0ae6e8
[ "BSD-3-Clause" ]
10
2017-09-19T11:00:11.000Z
2021-08-12T08:56:15.000Z
vixen/project.py
amoeba/vixen
a2b450fa918e23da644b1818807577139a0ae6e8
[ "BSD-3-Clause" ]
22
2018-01-14T11:22:14.000Z
2020-04-08T00:01:29.000Z
vixen/project.py
amoeba/vixen
a2b450fa918e23da644b1818807577139a0ae6e8
[ "BSD-3-Clause" ]
3
2018-01-24T16:55:01.000Z
2019-06-17T04:26:33.000Z
import datetime import io import json_tricks import logging import os from os.path import (abspath, basename, dirname, exists, expanduser, join, realpath, relpath, splitext) import re import shutil import sys from traits.api import (Any, Dict, Enum, HasTraits, Instance, List, Long, ...
33.193076
81
0.565709
3,098
24,928
4.38541
0.131375
0.017003
0.017812
0.007213
0.230973
0.152804
0.126527
0.102532
0.072648
0.058958
0
0.003705
0.328747
24,928
750
82
33.237333
0.808223
0.098644
0
0.201426
0
0
0.048846
0
0
0
0
0
0
1
0.092692
false
0.001783
0.040998
0.005348
0.254902
0.005348
0
0
0
null
0
0
0
0
0
0
0
0
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
76f36db1130141ba9e8823d77aa6984660a91f95
5,659
py
Python
prance/util/translator.py
elemental-lf/prance
d4bb6d2edf00ef18540a140025df8ad75d01fc16
[ "MIT" ]
null
null
null
prance/util/translator.py
elemental-lf/prance
d4bb6d2edf00ef18540a140025df8ad75d01fc16
[ "MIT" ]
null
null
null
prance/util/translator.py
elemental-lf/prance
d4bb6d2edf00ef18540a140025df8ad75d01fc16
[ "MIT" ]
null
null
null
"""This submodule contains a JSON reference translator.""" __author__ = 'Štěpán Tomsa' __copyright__ = 'Copyright © 2021 Štěpán Tomsa' __license__ = 'MIT' __all__ = () import prance.util.url as _url def _reference_key(ref_url, item_path): """ Return a portion of the dereferenced URL. format - ref-url_o...
36.044586
88
0.621841
698
5,659
4.842407
0.290831
0.023077
0.040828
0.019231
0.050296
0.016568
0
0
0
0
0
0.002015
0.298463
5,659
156
89
36.275641
0.849118
0.351652
0
0.069444
0
0
0.051245
0
0.013889
0
0
0
0
1
0.097222
false
0
0.083333
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
76f3d0ad2bb9ab5227cf466b13a6b3829002cac1
800
py
Python
src/tests/stream.py
LakshyaaSoni/dropSQL
da07ad3edf2d55f0521a385ad10678fc353b4b2b
[ "MIT" ]
35
2017-11-27T22:24:46.000Z
2022-01-16T23:50:01.000Z
src/tests/stream.py
LakshyaaSoni/dropSQL
da07ad3edf2d55f0521a385ad10678fc353b4b2b
[ "MIT" ]
null
null
null
src/tests/stream.py
LakshyaaSoni/dropSQL
da07ad3edf2d55f0521a385ad10678fc353b4b2b
[ "MIT" ]
2
2018-02-20T06:06:12.000Z
2021-10-16T18:30:15.000Z
from io import StringIO from unittest import TestCase from dropSQL.parser.streams import * class StreamTestCase(TestCase): def test(self): s = '12' cs = Characters(StringIO(s)) ch = cs.peek().ok() self.assertEqual(ch, '1') ch = cs.peek().ok() self.assertEqual(ch,...
20
37
0.51125
100
800
4.09
0.3
0.220049
0.166259
0.185819
0.584352
0.579462
0.466993
0.466993
0.466993
0.466993
0
0.016791
0.33
800
39
38
20.512821
0.746269
0
0
0.535714
0
0
0.01
0
0
0
0
0
0.392857
1
0.035714
false
0
0.107143
0
0.178571
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
76f498ab6421077add9a6f59a90898f50d7b050c
3,501
py
Python
tests/test_bugs.py
mmibrah2/OpenQL
8fd4ccb0fa342f777b827235748fa5f6592b0c25
[ "Apache-2.0" ]
null
null
null
tests/test_bugs.py
mmibrah2/OpenQL
8fd4ccb0fa342f777b827235748fa5f6592b0c25
[ "Apache-2.0" ]
null
null
null
tests/test_bugs.py
mmibrah2/OpenQL
8fd4ccb0fa342f777b827235748fa5f6592b0c25
[ "Apache-2.0" ]
null
null
null
import os import filecmp import unittest import numpy as np from openql import openql as ql from utils import file_compare curdir = os.path.dirname(os.path.realpath(__file__)) output_dir = os.path.join(curdir, 'test_output') class Test_bugs(unittest.TestCase): @classmethod def setUp(self): ql.initiali...
32.719626
83
0.622394
498
3,501
4.190763
0.389558
0.023
0.031624
0.038333
0.172976
0.114039
0.092956
0.081457
0.081457
0.034499
0
0.017228
0.253927
3,501
106
84
33.028302
0.781776
0.295344
0
0.0625
0
0
0.086779
0
0
0
0
0
0.015625
1
0.046875
false
0
0.09375
0
0.15625
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
76f6512f7d0f9be2b22c77b6be1aa4a85a8c2498
1,530
py
Python
utils/setAddress.py
wedvjin/rs485-moist-sensor
90930a34d0e6ec977f6083e70cc4bd931d7453fb
[ "Apache-2.0" ]
1
2019-03-04T13:24:42.000Z
2019-03-04T13:24:42.000Z
utils/setAddress.py
wedvjin/rs485-moist-sensor
90930a34d0e6ec977f6083e70cc4bd931d7453fb
[ "Apache-2.0" ]
null
null
null
utils/setAddress.py
wedvjin/rs485-moist-sensor
90930a34d0e6ec977f6083e70cc4bd931d7453fb
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python """Looks for sensor on the bus and changes it's address to the one specified on command line""" import argparse import minimalmodbus import serial from time import sleep parser = argparse.ArgumentParser() parser.add_argument('address', metavar='ADDR', type=int, choices=range(1, 248), help='An ad...
27.321429
105
0.733333
207
1,530
5.352657
0.483092
0.027076
0.07852
0.086643
0.268051
0.268051
0.16426
0
0
0
0
0.02439
0.142484
1,530
56
106
27.321429
0.820122
0.022222
0
0.142857
0
0
0.182857
0
0
0
0
0
0
0
null
null
0.02381
0.095238
null
null
0.214286
0
0
0
null
0
0
0
0
0
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
76f7444b8365ea513820f85545f6a315ea621999
6,577
py
Python
python/ray/tune/tests/test_tune_save_restore.py
mgelbart/ray
4cec2286572e368a4bd64aae467751a384eff62d
[ "Apache-2.0" ]
22
2018-05-08T05:52:34.000Z
2020-04-01T10:09:55.000Z
python/ray/tune/tests/test_tune_save_restore.py
mgelbart/ray
4cec2286572e368a4bd64aae467751a384eff62d
[ "Apache-2.0" ]
73
2021-09-25T07:11:39.000Z
2022-03-26T07:10:59.000Z
python/ray/tune/tests/test_tune_save_restore.py
mgelbart/ray
4cec2286572e368a4bd64aae467751a384eff62d
[ "Apache-2.0" ]
10
2018-04-27T10:50:59.000Z
2020-02-24T02:41:43.000Z
# coding: utf-8 import os import pickle import shutil import tempfile import unittest import ray from ray import tune from ray.rllib import _register_all from ray.tune import Trainable from ray.tune.utils import validate_save_restore class SerialTuneRelativeLocalDirTest(unittest.TestCase): local_mode = True ...
35.360215
85
0.635092
794
6,577
4.952141
0.200252
0.113937
0.122075
0.06409
0.495168
0.428789
0.338759
0.29705
0.247457
0.210071
0
0.005209
0.270336
6,577
185
86
35.551351
0.814128
0.039684
0
0.287671
0
0
0.0682
0.026646
0
0
0
0
0.089041
1
0.123288
false
0.006849
0.082192
0.013699
0.280822
0.013699
0
0
0
null
0
0
0
0
0
0
0
0
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
76f7e1b302002b518c986240747a14b0f7bf282f
4,291
py
Python
src/manifest.py
silent1mezzo/lightsaber
e470be7fb84b810fe846ff0ede78d06bf69cd5e3
[ "MIT" ]
13
2020-08-12T12:04:19.000Z
2022-03-12T03:53:07.000Z
src/manifest.py
silent1mezzo/lightsaber
e470be7fb84b810fe846ff0ede78d06bf69cd5e3
[ "MIT" ]
46
2020-09-03T06:00:18.000Z
2022-03-25T10:03:53.000Z
src/manifest.py
silent1mezzo/lightsaber
e470be7fb84b810fe846ff0ede78d06bf69cd5e3
[ "MIT" ]
3
2021-08-11T19:12:37.000Z
2021-11-09T15:19:59.000Z
MANIFEST = { "hilt": { "h1": { "offsets": {"blade": 0, "button": {"x": (8, 9), "y": (110, 111)}}, "colours": { "primary": (216, 216, 216), # d8d8d8 "secondary": (141, 141, 141), # 8d8d8d "tertiary": (180, 97, 19), # b46113 ...
37.313043
89
0.381496
384
4,291
4.260417
0.346354
0.017115
0.09291
0.038509
0.42176
0.343521
0.253056
0.229829
0.137531
0.137531
0
0.154055
0.399441
4,291
114
90
37.640351
0.480792
0.058495
0
0.292035
0
0
0.296462
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
76f83e45ce6ee12f802b7d17751ac89ea6359f61
21,788
py
Python
tests/gpuarray/test_basic_ops.py
canyon289/Theano-PyMC
1a9b04bfe480b758ddfa54ba49c88bee3bec419c
[ "BSD-3-Clause" ]
1
2020-12-30T19:12:52.000Z
2020-12-30T19:12:52.000Z
tests/gpuarray/test_basic_ops.py
canyon289/Theano-PyMC
1a9b04bfe480b758ddfa54ba49c88bee3bec419c
[ "BSD-3-Clause" ]
null
null
null
tests/gpuarray/test_basic_ops.py
canyon289/Theano-PyMC
1a9b04bfe480b758ddfa54ba49c88bee3bec419c
[ "BSD-3-Clause" ]
1
2020-08-15T17:09:10.000Z
2020-08-15T17:09:10.000Z
import numpy as np import pytest import theano import theano.tensor as tt # Don't import test classes otherwise they get tested as part of the file from tests import unittest_tools as utt from tests.gpuarray.config import mode_with_gpu, mode_without_gpu, test_ctx_name from tests.tensor.test_basic import ( TestAll...
32.962179
88
0.575867
2,989
21,788
4.056541
0.126798
0.028866
0.019052
0.024742
0.488495
0.445361
0.40066
0.378227
0.339381
0.331299
0
0.027783
0.296264
21,788
660
89
33.012121
0.762995
0.067927
0
0.358779
0
0
0.04584
0.004688
0
0
0
0
0.129771
1
0.055344
false
0
0.030534
0.001908
0.125954
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
76f8632c56e75a6a31f710898b1568e855cfd849
9,238
py
Python
apps/interactor/tests/commander/commands/test_animations.py
Djelibeybi/photons
bc0aa91771d8e88fd3c691fb58f18cb876f292ec
[ "MIT" ]
51
2020-07-03T08:34:48.000Z
2022-03-16T10:56:08.000Z
apps/interactor/tests/commander/commands/test_animations.py
delfick/photons
bc0aa91771d8e88fd3c691fb58f18cb876f292ec
[ "MIT" ]
81
2020-07-03T08:13:59.000Z
2022-03-31T23:02:54.000Z
apps/interactor/tests/commander/commands/test_animations.py
Djelibeybi/photons
bc0aa91771d8e88fd3c691fb58f18cb876f292ec
[ "MIT" ]
8
2020-07-24T23:48:20.000Z
2021-05-24T17:20:16.000Z
# coding: spec from interactor.commander.store import store, load_commands from photons_app.mimic.event import Events from photons_app import helpers as hp from photons_canvas.points.simple_messages import Set64 from unittest import mock import pytest @pytest.fixture() def store_clone(): load_commands() r...
31.209459
112
0.544923
904
9,238
5.512168
0.173673
0.05298
0.115593
0.125226
0.589203
0.553482
0.514148
0.476018
0.476018
0.44692
0
0.018894
0.306776
9,238
295
113
31.315254
0.759213
0.01115
0
0.408889
0
0.004444
0.230508
0
0
0
0
0
0.244444
0
null
null
0
0.026667
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
76f93238491c8f0f67d7813df6d0b4a6c7ed0a80
245
py
Python
.ipython/profile_pytube/startup/init.py
showa-yojyo/dotfiles
994cc7df0643d69f62cb59550bdd48a42751c345
[ "MIT" ]
null
null
null
.ipython/profile_pytube/startup/init.py
showa-yojyo/dotfiles
994cc7df0643d69f62cb59550bdd48a42751c345
[ "MIT" ]
3
2018-03-27T14:10:18.000Z
2018-03-30T14:06:11.000Z
.ipython/profile_pytube/startup/init.py
showa-yojyo/dotfiles
994cc7df0643d69f62cb59550bdd48a42751c345
[ "MIT" ]
null
null
null
from pytube import YouTube def download_video(watch_url): yt = YouTube(watch_url) (yt.streams .filter(progressive=True, file_extension='mp4') .order_by('resolution') .desc() .first() .download())
22.272727
55
0.608163
27
245
5.333333
0.814815
0.111111
0.138889
0
0
0
0
0
0
0
0
0.005556
0.265306
245
10
56
24.5
0.794444
0
0
0
0
0
0.053061
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.222222
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
76fb80b4170accbe860db8c0999717d64544977e
5,741
py
Python
ament_tools/setup_arguments.py
richmattes/ament_tools
2a25cdcc273fcd73e81e8a47fe892a0b5963307d
[ "Apache-2.0" ]
1
2020-05-19T14:33:49.000Z
2020-05-19T14:33:49.000Z
ros2_mod_ws/install/lib/python3.7/site-packages/ament_tools/setup_arguments.py
mintforpeople/robobo-ros2-ios-port
1a5650304bd41060925ebba41d6c861d5062bfae
[ "Apache-2.0" ]
null
null
null
ros2_mod_ws/install/lib/python3.7/site-packages/ament_tools/setup_arguments.py
mintforpeople/robobo-ros2-ios-port
1a5650304bd41060925ebba41d6c861d5062bfae
[ "Apache-2.0" ]
null
null
null
# Copyright 2015 Open Source Robotics Foundation, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
35.006098
79
0.656854
743
5,741
4.951548
0.293405
0.024735
0.01794
0.019027
0.163088
0.081
0.060342
0.060342
0.060342
0.060342
0
0.002858
0.268594
5,741
163
80
35.220859
0.873303
0.38077
0
0.157303
0
0
0.083529
0.019118
0
0
0
0
0.067416
1
0.05618
false
0.033708
0.134831
0
0.235955
0.011236
0
0
0
null
0
0
0
0
0
0
0
0
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
76fc510648fa61f30ccc12c1c9b02c19d255e9c6
870
py
Python
tests/functional/test_soft_round_inverse.py
tallamjr/NeuralCompression
21d05ec0d9f8c52d8742fde36f569b4dad2842a5
[ "MIT" ]
233
2021-07-19T18:50:21.000Z
2022-03-30T22:06:40.000Z
tests/functional/test_soft_round_inverse.py
tallamjr/NeuralCompression
21d05ec0d9f8c52d8742fde36f569b4dad2842a5
[ "MIT" ]
79
2021-07-22T13:33:45.000Z
2022-02-09T16:38:42.000Z
tests/functional/test_soft_round_inverse.py
tallamjr/NeuralCompression
21d05ec0d9f8c52d8742fde36f569b4dad2842a5
[ "MIT" ]
21
2021-07-29T18:27:59.000Z
2022-02-28T02:32:53.000Z
# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import torch from neuralcompression.functional import soft_round, soft_round_inverse def test_soft_round_inverse(): x = torch.linspac...
24.857143
71
0.61954
131
870
3.992366
0.458015
0.120459
0.152964
0.097514
0.206501
0.152964
0.152964
0.152964
0
0
0
0.082555
0.262069
870
34
72
25.588235
0.732087
0.195402
0
0.238095
0
0
0
0
0
0
0
0
0.142857
1
0.047619
false
0
0.095238
0
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
76fce814c3b3e855b82681563736510cd9476acb
1,738
py
Python
dizoo/pybullet/config/hopper_ppo_default_config.py
konnase/DI-engine
f803499cad191e9277b10e194132d74757bcfc8e
[ "Apache-2.0" ]
2
2021-07-30T15:55:45.000Z
2021-07-30T16:35:10.000Z
dizoo/pybullet/config/hopper_ppo_default_config.py
konnase/DI-engine
f803499cad191e9277b10e194132d74757bcfc8e
[ "Apache-2.0" ]
null
null
null
dizoo/pybullet/config/hopper_ppo_default_config.py
konnase/DI-engine
f803499cad191e9277b10e194132d74757bcfc8e
[ "Apache-2.0" ]
null
null
null
from easydict import EasyDict hopper_ppo_default_config = dict( env=dict( env_id='HopperMuJoCoEnv-v0', norm_obs=dict(use_norm=False, ), norm_reward=dict(use_norm=False, ), collector_env_num=8, evaluator_env_num=10, use_act_scale=True, n_evaluator_episode=10, ...
27.15625
77
0.596663
205
1,738
4.702439
0.434146
0.074689
0.06639
0.091286
0.235477
0.070539
0
0
0
0
0
0.037985
0.303222
1,738
63
78
27.587302
0.758051
0
0
0.213115
0
0
0.052359
0.018412
0
0
0
0
0
1
0
false
0
0.04918
0
0.04918
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
76fcfe8188f93389658caff72e97003d25b756ad
1,519
py
Python
cisco_sdwan_policy/List/Application.py
ljm625/cisco_sdwan_policy_python
1dd1361a7c4e8ee36df6176f54583081b4ad800a
[ "MIT" ]
11
2019-11-07T02:22:34.000Z
2022-03-04T17:47:02.000Z
cisco_sdwan_policy/List/Application.py
ljm625/cisco_sdwan_policy_python
1dd1361a7c4e8ee36df6176f54583081b4ad800a
[ "MIT" ]
null
null
null
cisco_sdwan_policy/List/Application.py
ljm625/cisco_sdwan_policy_python
1dd1361a7c4e8ee36df6176f54583081b4ad800a
[ "MIT" ]
6
2019-11-07T02:22:41.000Z
2020-07-30T01:58:51.000Z
import json from cisco_sdwan_policy.BaseObject import BaseObject class Application(BaseObject): def __init__(self,name,app_list,is_app_family,id=None,reference=None,**kwargs): self.type = "appList" self.id = id self.name = name self.references = reference self.app_family=...
29.784314
85
0.579987
173
1,519
4.942197
0.300578
0.064327
0.05614
0.044444
0.049123
0
0
0
0
0
0
0.002814
0.298223
1,519
50
86
30.38
0.79925
0
0
0.04878
0
0
0.110599
0.0158
0
0
0
0
0
1
0.121951
false
0
0.04878
0.04878
0.292683
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
76fe32cf212234521487302570fb1379460db739
1,575
py
Python
supervisor/docker/dns.py
zeehio/supervisor
b2f2806465001b4f6500601fa4c6516a404d53b8
[ "Apache-2.0" ]
null
null
null
supervisor/docker/dns.py
zeehio/supervisor
b2f2806465001b4f6500601fa4c6516a404d53b8
[ "Apache-2.0" ]
null
null
null
supervisor/docker/dns.py
zeehio/supervisor
b2f2806465001b4f6500601fa4c6516a404d53b8
[ "Apache-2.0" ]
null
null
null
"""DNS docker object.""" import logging from ..const import ENV_TIME from ..coresys import CoreSysAttributes from .interface import DockerInterface _LOGGER: logging.Logger = logging.getLogger(__name__) DNS_DOCKER_NAME: str = "hassio_dns" class DockerDNS(DockerInterface, CoreSysAttributes): """Docker Supervisor...
26.25
87
0.576508
169
1,575
5.195266
0.408284
0.055809
0.044419
0.038724
0.095672
0
0
0
0
0
0
0.000923
0.312381
1,575
59
88
26.694915
0.809788
0.133968
0
0.105263
0
0
0.049242
0
0
0
0
0
0
1
0.078947
false
0
0.105263
0
0.289474
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
76fe3680ef2ec070b0bf345c1f776ebc38adabdb
2,927
py
Python
nuitka/codegen/OperatorCodes.py
hclivess/Nuitka
9c7ec9696e69a3901b25d5bce720c921d45c931b
[ "Apache-2.0" ]
null
null
null
nuitka/codegen/OperatorCodes.py
hclivess/Nuitka
9c7ec9696e69a3901b25d5bce720c921d45c931b
[ "Apache-2.0" ]
1
2019-03-01T11:33:40.000Z
2019-03-01T11:33:40.000Z
nuitka/codegen/OperatorCodes.py
hclivess/Nuitka
9c7ec9696e69a3901b25d5bce720c921d45c931b
[ "Apache-2.0" ]
1
2019-03-26T16:56:21.000Z
2019-03-26T16:56:21.000Z
# Copyright 2019, Kay Hayen, mailto:kay.hayen@gmail.com # # Part of "Nuitka", an optimizing Python compiler that is compatible and # integrates with CPython, but also works on its own. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in complianc...
35.26506
92
0.65767
339
2,927
5.536873
0.587021
0.031966
0.030368
0.017048
0
0
0
0
0
0
0
0.007881
0.219679
2,927
82
93
35.695122
0.813923
0.524428
0
0
0
0
0.465237
0.181213
0
0
0
0
0
1
0
false
0
0.025641
0
0.025641
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
76ffe18f535cd4c67dd1eed479466fb1bd48b6ea
6,130
py
Python
python_modules/dagster-graphql/dagster_graphql/implementation/external.py
rpatil524/dagster
6f918d94cbd543ab752ab484a65e3a40fd441716
[ "Apache-2.0" ]
1
2021-01-31T19:16:29.000Z
2021-01-31T19:16:29.000Z
python_modules/dagster-graphql/dagster_graphql/implementation/external.py
rpatil524/dagster
6f918d94cbd543ab752ab484a65e3a40fd441716
[ "Apache-2.0" ]
null
null
null
python_modules/dagster-graphql/dagster_graphql/implementation/external.py
rpatil524/dagster
6f918d94cbd543ab752ab484a65e3a40fd441716
[ "Apache-2.0" ]
null
null
null
import sys from dagster import check from dagster.config.validate import validate_config_from_snap from dagster.core.host_representation import ExternalPipeline, PipelineSelector, RepositorySelector from dagster.core.workspace.context import BaseWorkspaceRequestContext from dagster.utils.error import serializable_erro...
36.272189
99
0.746656
625
6,130
6.9792
0.1776
0.057772
0.032095
0.021091
0.307428
0.235442
0.161623
0.161623
0.15039
0.117148
0
0
0.191028
6,130
168
100
36.488095
0.879613
0.011256
0
0.185484
0
0
0.037135
0.008087
0
0
0
0
0
1
0.064516
false
0
0.145161
0.008065
0.290323
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
76fffdbfafd70ccdff333934ec210a4753dad75a
1,552
py
Python
tests/test_utils/test_pywriting_utils.py
heylohousing/quickbase-client
46e4eea3a5c7a2720560e5688eb4f0fbdb607206
[ "MIT" ]
null
null
null
tests/test_utils/test_pywriting_utils.py
heylohousing/quickbase-client
46e4eea3a5c7a2720560e5688eb4f0fbdb607206
[ "MIT" ]
null
null
null
tests/test_utils/test_pywriting_utils.py
heylohousing/quickbase-client
46e4eea3a5c7a2720560e5688eb4f0fbdb607206
[ "MIT" ]
null
null
null
import os from tempfile import TemporaryDirectory from quickbase_client.utils.pywriting_utils import BasicPyFileWriter from quickbase_client.utils.pywriting_utils import PyPackageWriter class TestBasicFileWriter: def test_outputs_lines(self): w = BasicPyFileWriter() w.add_line('import abc') ...
31.673469
79
0.595361
214
1,552
4.098131
0.313084
0.063854
0.04561
0.078677
0.377423
0.36146
0.239453
0.139111
0.139111
0
0
0.005291
0.26933
1,552
48
80
32.333333
0.768078
0
0
0.153846
0
0
0.102448
0
0
0
0
0
0.307692
1
0.102564
false
0
0.179487
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a00e63d1006dbef16f6c53de45b2f52bfe52dea
7,268
py
Python
model/resnet.py
DrMMZ/RetinaNet
0b8491076f2ad344e101f724a2f5b8305adb2d52
[ "MIT" ]
7
2021-07-07T02:59:58.000Z
2021-12-09T04:48:49.000Z
model/resnet.py
DrMMZ/ResFPN
3acd6c629419a9f66da5386f3fd3deb9e8c929ff
[ "MIT" ]
3
2021-11-25T07:21:03.000Z
2022-01-17T18:56:29.000Z
model/resnet.py
DrMMZ/RetinaNet
0b8491076f2ad344e101f724a2f5b8305adb2d52
[ "MIT" ]
2
2021-12-09T01:48:36.000Z
2022-01-08T15:54:58.000Z
""" Residual Networks (ResNet) """ # adapted from # https://github.com/fchollet/deep-learning-models/blob/master/resnet50.py import tensorflow as tf def identity_block( input_tensor, filters, stage, block, train_bn=False ): """ Builds an identity shortcut...
35.802956
81
0.624381
1,028
7,268
4.284047
0.156615
0.0604
0.0797
0.073115
0.755223
0.736603
0.694596
0.684832
0.631244
0.623978
0
0.04479
0.247386
7,268
202
82
35.980198
0.760329
0.346863
0
0.557895
0
0
0.045057
0
0
0
0
0
0.010526
1
0.031579
false
0
0.010526
0
0.073684
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0a00e9db3835c97e792fd5d157869c740791d2ab
1,060
py
Python
src/main/python/rds_log_cat/parser/mysql57.py
Scout24/rds-log-cat
00147dc2e3ec6fc894fccd5a9cbf7faa71cf7e78
[ "MIT" ]
1
2019-11-07T10:44:28.000Z
2019-11-07T10:44:28.000Z
src/main/python/rds_log_cat/parser/mysql57.py
Scout24/rds-log-cat
00147dc2e3ec6fc894fccd5a9cbf7faa71cf7e78
[ "MIT" ]
2
2017-04-25T13:36:44.000Z
2018-03-12T20:34:21.000Z
src/main/python/rds_log_cat/parser/mysql57.py
ImmobilienScout24/rds-log-cat
00147dc2e3ec6fc894fccd5a9cbf7faa71cf7e78
[ "MIT" ]
1
2021-01-27T19:08:09.000Z
2021-01-27T19:08:09.000Z
from rds_log_cat.parser.parser import Parser, LineParserException class Mysql57(Parser): def __init__(self): Parser.__init__(self) def compose_timestamp(self, datetime, timezone): if len(datetime) != 27: raise LineParserException('wrong length of datetime - wrong date is: ' + dat...
31.176471
102
0.592453
120
1,060
5.05
0.541667
0.118812
0.042904
0.062706
0
0
0
0
0
0
0
0.012016
0.293396
1,060
33
103
32.121212
0.797063
0.049057
0
0
0
0
0.147358
0
0
0
0
0
0
1
0.130435
false
0
0.043478
0
0.304348
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a01272b6dc30ae670eab0e73c74a21ff812e409
16,090
py
Python
corpustools/neighdens/neighborhood_density.py
PhonologicalCorpusTools/CorpusTools
ff5a7c06e2f7a478c5a239de7a78ef7eb5f4a45e
[ "BSD-3-Clause" ]
97
2015-07-06T18:58:43.000Z
2022-03-10T23:00:07.000Z
corpustools/neighdens/neighborhood_density.py
PhonologicalCorpusTools/CorpusTools
ff5a7c06e2f7a478c5a239de7a78ef7eb5f4a45e
[ "BSD-3-Clause" ]
443
2015-03-10T21:24:39.000Z
2022-03-22T22:20:13.000Z
corpustools/neighdens/neighborhood_density.py
PhonologicalCorpusTools/CorpusTools
ff5a7c06e2f7a478c5a239de7a78ef7eb5f4a45e
[ "BSD-3-Clause" ]
22
2015-07-19T18:56:24.000Z
2020-09-17T17:58:12.000Z
from functools import partial from corpustools.corpus.classes import Word from corpustools.symbolsim.edit_distance import edit_distance from corpustools.symbolsim.khorsi import khorsi from corpustools.symbolsim.phono_edit_distance import phono_edit_distance from corpustools.symbolsim.phono_align import Aligner from co...
44.203297
131
0.627968
1,992
16,090
4.853916
0.127008
0.064536
0.01117
0.025856
0.691799
0.630055
0.570586
0.527355
0.478229
0.456821
0
0.005364
0.293226
16,090
364
132
44.203297
0.844706
0.219888
0
0.53304
0
0
0.019187
0
0
0
0
0
0
1
0.048458
false
0
0.030837
0.013216
0.15859
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
0a017ba6441979fea8dcb4bd6912e6e472b2970d
456
py
Python
brokenChains/migrations/0003_auto_20181106_1819.py
bunya017/brokenChains
3e20c834efd7f0ade8e3abe7acf547c093f76758
[ "MIT" ]
1
2018-12-07T09:15:57.000Z
2018-12-07T09:15:57.000Z
brokenChains/migrations/0003_auto_20181106_1819.py
bunya017/brokenChains
3e20c834efd7f0ade8e3abe7acf547c093f76758
[ "MIT" ]
null
null
null
brokenChains/migrations/0003_auto_20181106_1819.py
bunya017/brokenChains
3e20c834efd7f0ade8e3abe7acf547c093f76758
[ "MIT" ]
null
null
null
# Generated by Django 2.1.1 on 2018-11-06 17:19 from django.conf import settings from django.db import migrations class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('brokenChains', '0002_auto_20181106_1723'), ] operations ...
22.8
66
0.64693
48
456
6
0.770833
0.069444
0
0
0
0
0
0
0
0
0
0.089855
0.243421
456
19
67
24
0.744928
0.098684
0
0
1
0
0.119804
0.056235
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0a039f10e8309cc703a9629baacf52288c510305
5,046
py
Python
ex05-td/ex05-td.py
vijaykumarprabhu/rl-course
cc9db0236bd1908e0fa54eae1b2fcfd609ec0ae4
[ "MIT" ]
null
null
null
ex05-td/ex05-td.py
vijaykumarprabhu/rl-course
cc9db0236bd1908e0fa54eae1b2fcfd609ec0ae4
[ "MIT" ]
null
null
null
ex05-td/ex05-td.py
vijaykumarprabhu/rl-course
cc9db0236bd1908e0fa54eae1b2fcfd609ec0ae4
[ "MIT" ]
1
2020-05-26T20:11:21.000Z
2020-05-26T20:11:21.000Z
import gym import numpy as np from itertools import product import matplotlib.pyplot as plt def print_policy(Q, env): """ This is a helper function to print a nice policy from the Q function""" moves = [u'←', u'↓',u'→', u'↑'] if not hasattr(env, 'desc'): env = env.env dims = env.desc.shape ...
32.346154
104
0.561038
813
5,046
3.418204
0.210332
0.011515
0.010795
0.008636
0.479669
0.434329
0.398345
0.392587
0.34005
0.314861
0
0.030384
0.256441
5,046
155
105
32.554839
0.708955
0.118113
0
0.474576
0
0
0.037305
0
0
0
0
0.006452
0
1
0.059322
false
0
0.042373
0
0.135593
0.050847
0
0
0
null
0
0
0
0
0
0
0
0
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
0a03afbc022ab3ed1e3b4074455a3f3fdefc3a2e
1,189
py
Python
app/modules/ai_lab/migrations/0003_ailabcasestudy.py
nickmoreton/nhsx-website
2397d1308376c02b75323d30e6bc916af0daac9d
[ "MIT" ]
50
2019-04-04T17:50:00.000Z
2021-08-05T15:08:37.000Z
app/modules/ai_lab/migrations/0003_ailabcasestudy.py
nickmoreton/nhsx-website
2397d1308376c02b75323d30e6bc916af0daac9d
[ "MIT" ]
434
2019-04-04T18:25:32.000Z
2022-03-31T18:23:37.000Z
app/modules/ai_lab/migrations/0003_ailabcasestudy.py
nhsx-mirror/nhsx-website
2133b4e275ca35ff77f7d6874e809f139ec4bf86
[ "MIT" ]
23
2019-04-04T09:52:07.000Z
2021-04-11T07:41:47.000Z
# Generated by Django 3.0.4 on 2020-07-14 11:00 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ("core", "0026_auto_20200713_1535"), ("ai_lab", "0002_ailabusecase"), ] operations = [ migrations.Cre...
29
68
0.444071
91
1,189
5.659341
0.626374
0.062136
0.081553
0.128155
0.116505
0.116505
0
0
0
0
0
0.054348
0.458368
1,189
40
69
29.725
0.745342
0.037847
0
0.147059
1
0
0.127846
0.02014
0
0
0
0
0
1
0
false
0
0.058824
0
0.147059
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
0a03cda07d112635217a5bbdc7ec5274c0658a7a
3,258
py
Python
requests/UpdateWorkbookConnectionRequest.py
divinorum-webb/python-tableau-api
9d3f130d63b15307ad2b23e2273b52790b8d9018
[ "Apache-2.0" ]
1
2019-06-08T22:19:40.000Z
2019-06-08T22:19:40.000Z
requests/UpdateWorkbookConnectionRequest.py
divinorum-webb/python-tableau-api
9d3f130d63b15307ad2b23e2273b52790b8d9018
[ "Apache-2.0" ]
null
null
null
requests/UpdateWorkbookConnectionRequest.py
divinorum-webb/python-tableau-api
9d3f130d63b15307ad2b23e2273b52790b8d9018
[ "Apache-2.0" ]
null
null
null
from .BaseRequest import BaseRequest class UpdateWorkbookConnectionRequest(BaseRequest): """ Update workbook connection request for sending API requests to Tableau Server. :param ts_connection: The Tableau Server connection object. :type ts_connection: class :param server_add...
36.2
107
0.634131
331
3,258
5.885196
0.214502
0.046715
0.061088
0.079569
0.297228
0.11191
0.081109
0.081109
0.081109
0.081109
0
0
0.305402
3,258
89
108
36.606742
0.860804
0.261203
0
0.285714
0
0
0.030796
0
0
0
0
0
0
1
0.126984
false
0.15873
0.015873
0.063492
0.269841
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
0a04207ceaf45ab945588b6a283b882bf8a8d0e4
1,116
py
Python
frappe/website/doctype/website_route_meta/test_website_route_meta.py
oryxsolutions/frappe
d193ea22d17ca40d57432040a8afad72287d9e23
[ "MIT" ]
null
null
null
frappe/website/doctype/website_route_meta/test_website_route_meta.py
oryxsolutions/frappe
d193ea22d17ca40d57432040a8afad72287d9e23
[ "MIT" ]
null
null
null
frappe/website/doctype/website_route_meta/test_website_route_meta.py
oryxsolutions/frappe
d193ea22d17ca40d57432040a8afad72287d9e23
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (c) 2019, Frappe Technologies and Contributors # License: MIT. See LICENSE import unittest import frappe from frappe.utils import set_request from frappe.website.serve import get_response test_dependencies = ["Blog Post"] class TestWebsiteRouteMeta(unittest.TestCase): def test_m...
27.219512
96
0.689964
152
1,116
4.960526
0.486842
0.04244
0.034483
0.045093
0.05305
0
0
0
0
0
0
0.011518
0.144265
1,116
40
97
27.9
0.77801
0.145161
0
0
0
0
0.216245
0
0
0
0
0
0.125
1
0.083333
false
0
0.166667
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
0
0
0
0
0
1
0
0a061597dffbdc657df9899df8da9b8cc5a53c7e
644
py
Python
test/unittests/test_AgRunoff.py
rajadain/gwlf-e
ba2fb9dbc08a3d7a4ced4b83b6f0f1307814e2a3
[ "Apache-2.0" ]
null
null
null
test/unittests/test_AgRunoff.py
rajadain/gwlf-e
ba2fb9dbc08a3d7a4ced4b83b6f0f1307814e2a3
[ "Apache-2.0" ]
null
null
null
test/unittests/test_AgRunoff.py
rajadain/gwlf-e
ba2fb9dbc08a3d7a4ced4b83b6f0f1307814e2a3
[ "Apache-2.0" ]
null
null
null
import numpy as np from .VariableUnitTest import VariableUnitTest from gwlfe.MultiUse_Fxns.Runoff import AgRunoff class TestAgRunoff(VariableUnitTest): # @skip("not ready") def test_AgRunoff(self): z = self.z np.testing.assert_array_almost_equal( AgRunoff.AgRunoff_f(z.NYrs, z.Day...
37.882353
118
0.630435
95
644
4.147368
0.431579
0.030457
0.030457
0.076142
0.390863
0.390863
0.390863
0.390863
0.390863
0.390863
0
0.014523
0.251553
644
16
119
40.25
0.802905
0.02795
0
0
0
0
0
0
0
0
0
0
0.090909
1
0.090909
false
0
0.272727
0
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a0650316e52ee5d4a9ff4c95b3303130df01427
3,397
py
Python
lingvo/tasks/car/car_layers_test.py
Harshs27/lingvo
bd396e651488b2e2c4a7416be077b4a0226c87c8
[ "Apache-2.0" ]
2,611
2018-10-16T20:14:10.000Z
2022-03-31T14:48:41.000Z
lingvo/tasks/car/car_layers_test.py
Harshs27/lingvo
bd396e651488b2e2c4a7416be077b4a0226c87c8
[ "Apache-2.0" ]
249
2018-10-27T06:02:29.000Z
2022-03-30T18:00:39.000Z
lingvo/tasks/car/car_layers_test.py
Harshs27/lingvo
bd396e651488b2e2c4a7416be077b4a0226c87c8
[ "Apache-2.0" ]
436
2018-10-25T05:31:45.000Z
2022-03-31T07:26:03.000Z
# Lint as: python3 # Copyright 2019 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless ...
40.927711
80
0.637916
405
3,397
5.123457
0.37284
0.068916
0.052048
0.040482
0.226988
0.128193
0
0
0
0
0
0.023622
0.252281
3,397
82
81
41.426829
0.793307
0.206064
0
0
0
0
0.018304
0
0
0
0
0
0.086207
1
0.034483
false
0
0.068966
0
0.12069
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
0a06508cf532e568943c2d6f9f6d327c4504fc73
56
py
Python
starry/_core/ops/lib/include/oblate/tests/test_derivs.py
rodluger/starry
da7fee48c5ef94278f0047be0579e2f13492cdd5
[ "MIT" ]
116
2018-02-23T19:47:15.000Z
2022-02-21T04:43:46.000Z
starry/_core/ops/lib/include/oblate/tests/test_derivs.py
rodluger/starry
da7fee48c5ef94278f0047be0579e2f13492cdd5
[ "MIT" ]
224
2018-02-26T00:41:51.000Z
2022-03-29T10:38:16.000Z
starry/_core/ops/lib/include/oblate/tests/test_derivs.py
rodluger/starry
da7fee48c5ef94278f0047be0579e2f13492cdd5
[ "MIT" ]
25
2018-02-26T18:14:36.000Z
2021-11-30T01:00:56.000Z
import oblate import numpy as np import pytest # TODO!
9.333333
18
0.767857
9
56
4.777778
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.196429
56
5
19
11.2
0.955556
0.089286
0
0
0
0
0
0
0
0
0
0.2
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
1
0
1
0
1
0
0
6
0a066d9e3ce3fc69b55dd82dd4922f5e05e9b7a2
2,167
py
Python
take_snapshot.py
ITCave/sniff-for-changes-in-directory
59a06c1ca85033273845e8266038bfeacfc9f64d
[ "MIT" ]
null
null
null
take_snapshot.py
ITCave/sniff-for-changes-in-directory
59a06c1ca85033273845e8266038bfeacfc9f64d
[ "MIT" ]
null
null
null
take_snapshot.py
ITCave/sniff-for-changes-in-directory
59a06c1ca85033273845e8266038bfeacfc9f64d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # @Filename : take_snapshot.py # @Date : 2019-07-15-13-44 # @Project: ITC-sniff-for-changes-in-directory # @Author: Piotr Wołoszyn # @Website: http://itcave.eu # @Email: contact@itcave.eu # @License: MIT # @Copyright (C) 2019 ITGO Piotr Wołoszyn # Generic imports import os import pickle import...
28.513158
113
0.662206
299
2,167
4.655518
0.488294
0.045977
0.050287
0.025862
0.03592
0
0
0
0
0
0
0.010101
0.22335
2,167
75
114
28.893333
0.816993
0.37748
0
0
0
0
0.137529
0
0
0
0
0
0
1
0.068966
false
0
0.172414
0
0.275862
0.034483
0
0
0
null
0
0
0
0
0
0
0
0
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
0a0800535a188f21223ec11106f263b7159026d7
7,221
py
Python
nuitka/nodes/GlobalsLocalsNodes.py
juanfra684/Nuitka
0e276895fadabefb598232f2ccf8cc7736c9a85b
[ "Apache-2.0" ]
1
2020-04-13T18:56:02.000Z
2020-04-13T18:56:02.000Z
nuitka/nodes/GlobalsLocalsNodes.py
juanfra684/Nuitka
0e276895fadabefb598232f2ccf8cc7736c9a85b
[ "Apache-2.0" ]
1
2020-07-11T17:53:56.000Z
2020-07-11T17:53:56.000Z
nuitka/nodes/GlobalsLocalsNodes.py
juanfra684/Nuitka
0e276895fadabefb598232f2ccf8cc7736c9a85b
[ "Apache-2.0" ]
null
null
null
# Copyright 2020, Kay Hayen, mailto:kay.hayen@gmail.com # # Part of "Nuitka", an optimizing Python compiler that is compatible and # integrates with CPython, but also works on its own. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in complianc...
34.222749
102
0.655034
710
7,221
6.471831
0.330986
0.054842
0.039173
0.033079
0.387813
0.270076
0.257454
0.244614
0.244614
0.203264
0
0.002313
0.281678
7,221
210
103
34.385714
0.883555
0.212851
0
0.442623
0
0
0.048496
0.024956
0
0
0
0.004762
0.016393
1
0.155738
false
0
0.032787
0.065574
0.418033
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
0a096c14b2ddf561ce6b9429ac126077a454bd8e
6,298
py
Python
tests/chainerx_tests/unit_tests/test_scalar.py
yuhonghong66/chainer
15d475f54fc39587abd7264808c5e4b33782df9e
[ "MIT" ]
1
2019-02-12T23:10:16.000Z
2019-02-12T23:10:16.000Z
tests/chainerx_tests/unit_tests/test_scalar.py
nolfwin/chainer
8d776fcc1e848cb9d3800a6aab356eb91ae9d088
[ "MIT" ]
2
2019-05-14T15:45:01.000Z
2019-05-15T07:12:49.000Z
tests/chainerx_tests/unit_tests/test_scalar.py
nolfwin/chainer
8d776fcc1e848cb9d3800a6aab356eb91ae9d088
[ "MIT" ]
1
2018-05-28T22:43:34.000Z
2018-05-28T22:43:34.000Z
import math import pytest import chainerx def _check_cast_scalar_equals_data(scalar, data): assert bool(scalar) == bool(data) assert int(scalar) == int(data) assert float(scalar) == float(data) all_scalar_values = [ -2, 1, -1.5, 2.3, True, False, float('inf'), float('nan')] @pytest.mark.parametr...
27.991111
74
0.634963
794
6,298
4.947103
0.11335
0.015275
0.038187
0.022403
0.464613
0.352088
0.278259
0.250255
0.242617
0.197047
0
0.111222
0.204827
6,298
224
75
28.116071
0.673123
0.03128
0
0.137363
0
0
0.019209
0.005089
0
0
0.063208
0.004464
0.192308
1
0.054945
false
0
0.016484
0
0.071429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a0991a62637e4100b857f9f5423321dcccd74d3
8,265
py
Python
app.py
Tiemoue/SnakeGame
69124d38227502928924cc7dc6c57b41ade5d97c
[ "Apache-2.0" ]
null
null
null
app.py
Tiemoue/SnakeGame
69124d38227502928924cc7dc6c57b41ade5d97c
[ "Apache-2.0" ]
null
null
null
app.py
Tiemoue/SnakeGame
69124d38227502928924cc7dc6c57b41ade5d97c
[ "Apache-2.0" ]
null
null
null
import sys import pygame from app_window import App_window from button import Button from snake import Snake from food import Food from settings import WIDTH, HEIGHT, FONT, BG_COL, QUIT_BUTTON_COLOUR, PLAY_BUTTON_COLOUR, BLACK, FPS, RED class App: def __init__(self): pygame.init() self.clock = pyg...
35.320513
105
0.461101
809
8,265
4.566131
0.143387
0.02653
0.055225
0.041419
0.613969
0.520845
0.471034
0.455333
0.441256
0.387114
0
0.027164
0.452148
8,265
233
106
35.472103
0.788648
0.019238
0
0.455959
0
0
0.012968
0
0
0
0
0
0
1
0.108808
false
0
0.036269
0
0.150259
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
0a0a3ed9310efb11ad8dbed4a513b033dd037f31
4,697
py
Python
pupa/importers/bills.py
datamade/pupa
7c7d2937dfa0c8347e47661a6ed42fd28a9e16d4
[ "BSD-3-Clause" ]
3
2015-11-21T10:39:44.000Z
2019-11-17T16:34:53.000Z
pupa/importers/bills.py
datamade/pupa
7c7d2937dfa0c8347e47661a6ed42fd28a9e16d4
[ "BSD-3-Clause" ]
1
2015-11-23T19:43:48.000Z
2015-11-23T19:45:06.000Z
pupa/importers/bills.py
datamade/pupa
7c7d2937dfa0c8347e47661a6ed42fd28a9e16d4
[ "BSD-3-Clause" ]
5
2015-11-22T09:23:14.000Z
2019-11-17T16:34:57.000Z
from pupa.utils import fix_bill_id from opencivicdata.legislative.models import (Bill, RelatedBill, BillAbstract, BillTitle, BillIdentifier, BillAction, BillActionRelatedEntity, BillSponsorship, BillSource, BillDocument, ...
48.42268
99
0.569087
434
4,697
5.852535
0.278802
0.066142
0.044882
0.049606
0.180315
0.155906
0.155906
0.09685
0
0
0
0.000958
0.333617
4,697
96
100
48.927083
0.810543
0.041729
0
0
0
0
0.179938
0.028247
0
0
0
0
0
1
0.0625
false
0
0.2
0
0.3625
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
0a0a44a50d18d71919437c3d704deabe9ca4ee0b
2,099
py
Python
utilities/classify_ensemble.py
Hazel1994/Paraphrase-detection-on-Quora-and-MSRP
bd464d0d16c57d5f95d91b78add6d9720128826a
[ "MIT" ]
2
2019-09-09T05:12:16.000Z
2019-11-25T06:02:13.000Z
utilities/classify_ensemble.py
Hazel1994/Paraphrase-detection-on-Quora-and-MSRP
bd464d0d16c57d5f95d91b78add6d9720128826a
[ "MIT" ]
null
null
null
utilities/classify_ensemble.py
Hazel1994/Paraphrase-detection-on-Quora-and-MSRP
bd464d0d16c57d5f95d91b78add6d9720128826a
[ "MIT" ]
1
2019-09-22T14:51:38.000Z
2019-09-22T14:51:38.000Z
from sklearn.metrics import f1_score,accuracy_score import numpy as np from utilities.tools import load_model import pandas as pd def predict_MSRP_test_data(n_models,nb_words,nlp_f,test_data_1,test_data_2,test_labels): models=[] n_h_features=nlp_f.shape[1] print('loading the models...') for i in range...
31.80303
88
0.685088
342
2,099
3.947368
0.248538
0.118519
0.066667
0.053333
0.768889
0.73037
0.653333
0.611852
0.611852
0.611852
0
0.024971
0.179609
2,099
66
89
31.80303
0.759001
0.021915
0
0.571429
0
0
0.125244
0.010234
0
0
0
0
0
1
0.040816
false
0
0.081633
0
0.122449
0.183673
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0a0ae7fb6e8c16bf95848129bac7852b529505c4
6,799
py
Python
koino/plot/clusters.py
tritas/koino
21ecc30fdb76727b9b4b3cf695a39f6e860a52d6
[ "BSD-3-Clause" ]
null
null
null
koino/plot/clusters.py
tritas/koino
21ecc30fdb76727b9b4b3cf695a39f6e860a52d6
[ "BSD-3-Clause" ]
null
null
null
koino/plot/clusters.py
tritas/koino
21ecc30fdb76727b9b4b3cf695a39f6e860a52d6
[ "BSD-3-Clause" ]
null
null
null
# coding=utf-8 import logging import traceback from os import makedirs from os.path import exists, join from textwrap import fill import matplotlib.patheffects as PathEffects import matplotlib.pyplot as plt import numpy as np import seaborn as sns from koino.plot import big_square, default_alpha from matplotlib import...
31.188073
88
0.633034
982
6,799
4.237271
0.280041
0.032444
0.015381
0.018505
0.174958
0.137467
0.116799
0.090363
0.029801
0.029801
0
0.019639
0.251066
6,799
217
89
31.331797
0.797526
0.181644
0
0.176471
0
0
0.088513
0
0
0
0
0.004608
0.039216
1
0.019608
false
0
0.078431
0
0.104575
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
0a0c72972354861b109e6305d555a377963ca24f
63
py
Python
python/testData/stubs/FullyQualifiedTypingNamedTuple.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/stubs/FullyQualifiedTypingNamedTuple.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/stubs/FullyQualifiedTypingNamedTuple.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
import typing nt = typing.NamedTuple("name", [("field", str)])
21
48
0.666667
8
63
5.25
0.875
0
0
0
0
0
0
0
0
0
0
0
0.111111
63
3
48
21
0.75
0
0
0
0
0
0.140625
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
0a0e5c306cd6cb5140e3d9096d9aec435b5e905a
637
py
Python
src/plat/index_news_remove.py
jack139/cnnc
c32611ec01af50bedb67dcd4c8a28e4b0c7a9aef
[ "BSD-2-Clause" ]
null
null
null
src/plat/index_news_remove.py
jack139/cnnc
c32611ec01af50bedb67dcd4c8a28e4b0c7a9aef
[ "BSD-2-Clause" ]
null
null
null
src/plat/index_news_remove.py
jack139/cnnc
c32611ec01af50bedb67dcd4c8a28e4b0c7a9aef
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # import web import time from bson.objectid import ObjectId from config import setting import helper db = setting.db_web # 删除聊天规则 url = ('/plat/index_news_remove') class handler: def GET(self): if not helper.logged(helper.PRIV_USER, 'TALKBOT'): ...
19.90625
69
0.629513
85
637
4.541176
0.552941
0.069948
0.067358
0.072539
0.15544
0.15544
0.15544
0
0
0
0
0.002037
0.229199
637
31
70
20.548387
0.784114
0.078493
0
0
0
0
0.103093
0.039519
0
0
0
0
0
1
0.058824
false
0
0.294118
0
0.529412
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
0a0fca50d08846d8ef07b169b960d9c55f0826dc
3,504
py
Python
esppy/windows/score.py
PetreStegaroiu/python-esppy
d43781e94ad9236916901eeb3737d0b1b18d797a
[ "Apache-2.0" ]
null
null
null
esppy/windows/score.py
PetreStegaroiu/python-esppy
d43781e94ad9236916901eeb3737d0b1b18d797a
[ "Apache-2.0" ]
null
null
null
esppy/windows/score.py
PetreStegaroiu/python-esppy
d43781e94ad9236916901eeb3737d0b1b18d797a
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # encoding: utf-8 # # Copyright SAS Institute # # Licensed under the Apache License, Version 2.0 (the License); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required b...
31.854545
90
0.656393
406
3,504
5.497537
0.431034
0.080645
0.107527
0.040323
0.081541
0.025986
0
0
0
0
0
0.002695
0.258847
3,504
109
91
32.146789
0.856758
0.442637
0
0
0
0
0.031783
0
0
0
0
0
0
1
0.090909
false
0
0.242424
0
0.424242
0.030303
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a10152195fb9a20741a86fb44035860fed300f4
12,017
py
Python
Packs/Pwned/Integrations/PwnedV2/PwnedV2.py
diCagri/content
c532c50b213e6dddb8ae6a378d6d09198e08fc9f
[ "MIT" ]
799
2016-08-02T06:43:14.000Z
2022-03-31T11:10:11.000Z
Packs/Pwned/Integrations/PwnedV2/PwnedV2.py
diCagri/content
c532c50b213e6dddb8ae6a378d6d09198e08fc9f
[ "MIT" ]
9,317
2016-08-07T19:00:51.000Z
2022-03-31T21:56:04.000Z
Packs/Pwned/Integrations/PwnedV2/PwnedV2.py
diCagri/content
c532c50b213e6dddb8ae6a378d6d09198e08fc9f
[ "MIT" ]
1,297
2016-08-04T13:59:00.000Z
2022-03-31T23:43:06.000Z
from CommonServerPython import * ''' IMPORTS ''' import re import requests # Disable insecure warnings requests.packages.urllib3.disable_warnings() ''' GLOBALS/PARAMS ''' VENDOR = 'Have I Been Pwned? V2' MAX_RETRY_ALLOWED = demisto.params().get('max_retry_time', -1) API_KEY = demisto.params().get('api_key') USE_SS...
34.042493
120
0.659732
1,549
12,017
4.834732
0.16204
0.023368
0.022032
0.016024
0.386567
0.32047
0.272266
0.245961
0.150354
0.130057
0
0.004422
0.228426
12,017
352
121
34.139205
0.803279
0.124906
0
0.138393
0
0
0.159155
0.035194
0.008929
0
0
0
0
1
0.071429
false
0
0.013393
0.008929
0.160714
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
0a1109b1ce78a5e3058c1f4aa17021228f40ef11
817
py
Python
moshmosh/extensions/pipelines.py
Aloxaf/moshmosh
0cef4e3e574adabc7821a657bceba1254ca20f99
[ "MIT" ]
114
2019-07-12T19:00:20.000Z
2021-12-02T17:28:36.000Z
moshmosh/extensions/pipelines.py
Aloxaf/moshmosh
0cef4e3e574adabc7821a657bceba1254ca20f99
[ "MIT" ]
19
2019-07-12T18:34:59.000Z
2022-01-01T03:37:03.000Z
moshmosh/extensions/pipelines.py
Aloxaf/moshmosh
0cef4e3e574adabc7821a657bceba1254ca20f99
[ "MIT" ]
7
2019-07-14T23:15:44.000Z
2021-12-27T21:15:17.000Z
from moshmosh.extension import Extension from moshmosh.ast_compat import ast class PipelineVisitor(ast.NodeTransformer): """ `a | f -> f(a)`, recursively """ def __init__(self, activation): self.activation = activation def visit_BinOp(self, n: ast.BinOp): if n.lineno in self.activ...
27.233333
71
0.597307
93
817
5.096774
0.408602
0.118143
0.046414
0
0
0
0
0
0
0
0
0
0.294982
817
29
72
28.172414
0.822917
0.034272
0
0
0
0
0.010349
0
0
0
0
0
0
1
0.190476
false
0
0.095238
0.047619
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a1121422d09eb0d72dfd59abaf853f521226d5b
3,641
py
Python
postpatch.py
mr-ma/basic-self-checksumming
ce3a0306fd96cc54476266bbf612d54201d2b46a
[ "MIT" ]
1
2020-11-25T21:54:28.000Z
2020-11-25T21:54:28.000Z
postpatch.py
mr-ma/basic-self-checksumming
ce3a0306fd96cc54476266bbf612d54201d2b46a
[ "MIT" ]
null
null
null
postpatch.py
mr-ma/basic-self-checksumming
ce3a0306fd96cc54476266bbf612d54201d2b46a
[ "MIT" ]
null
null
null
import argparse import os import r2pipe import struct import mmap import base64 from shutil import copyfile import pprint pp = pprint.PrettyPrinter(indent=4) def precompute_hash(r2, offset, size): print('Precomputing hash') h = 0 print("r2 command to get the function body in base64:\np6e {}@{}".format(siz...
35.009615
124
0.649272
449
3,641
5.169265
0.340757
0.013787
0.016803
0.027143
0.098234
0.030159
0
0
0
0
0
0.01527
0.226586
3,641
103
125
35.349515
0.808949
0.055754
0
0.05814
0
0
0.204314
0
0
0
0
0
0
1
0.046512
false
0
0.093023
0
0.162791
0.151163
0
0
0
null
0
0
0
0
0
0
0
0
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
0a114ea68c2fa1e2738f0d3ff99019e72e2ea941
1,074
py
Python
sitewebapp/migrations/0011_auto_20210130_0150.py
deucaleon18/debsoc-nitdgp-website
41bd6ade7f4af143ef34aff01848f830cc533add
[ "MIT" ]
2
2020-12-05T05:34:56.000Z
2020-12-09T10:27:43.000Z
sitewebapp/migrations/0011_auto_20210130_0150.py
deucaleon18/debsoc-nitdgp-website
41bd6ade7f4af143ef34aff01848f830cc533add
[ "MIT" ]
3
2021-06-28T16:47:23.000Z
2021-06-28T16:48:51.000Z
sitewebapp/migrations/0011_auto_20210130_0150.py
deucaleon18/debsoc-nitdgp-website
41bd6ade7f4af143ef34aff01848f830cc533add
[ "MIT" ]
9
2021-01-29T17:06:30.000Z
2021-08-21T18:23:26.000Z
# Generated by Django 2.2.15 on 2021-01-29 20:20 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('sitewebapp', '0010_auditionanswers_auditionquestions_audtionrounds_candidates'), ] operations = [ migratio...
34.645161
148
0.634078
102
1,074
6.558824
0.54902
0.047833
0.06278
0.098655
0.19133
0.19133
0.19133
0.19133
0.19133
0.19133
0
0.025862
0.243948
1,074
30
149
35.8
0.79803
0.042831
0
0.125
1
0
0.196881
0.106238
0
0
0
0
0
1
0
false
0
0.083333
0
0.208333
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
0a12c052ef27cc1782214e2d795d2be846ea918a
6,420
py
Python
venv/lib/python3.6/site-packages/ansible_collections/community/azure/plugins/modules/azure_rm_availabilityset_info.py
usegalaxy-no/usegalaxy
75dad095769fe918eb39677f2c887e681a747f3a
[ "MIT" ]
1
2020-01-22T13:11:23.000Z
2020-01-22T13:11:23.000Z
venv/lib/python3.6/site-packages/ansible_collections/community/azure/plugins/modules/azure_rm_availabilityset_info.py
usegalaxy-no/usegalaxy
75dad095769fe918eb39677f2c887e681a747f3a
[ "MIT" ]
12
2020-02-21T07:24:52.000Z
2020-04-14T09:54:32.000Z
venv/lib/python3.6/site-packages/ansible_collections/community/azure/plugins/modules/azure_rm_availabilityset_info.py
usegalaxy-no/usegalaxy
75dad095769fe918eb39677f2c887e681a747f3a
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright: (c) 2016, Julien Stroheker <juliens@microsoft.com> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = {'metadata_ve...
28.789238
132
0.588006
657
6,420
5.581431
0.304414
0.038996
0.041996
0.035451
0.184347
0.142351
0.120535
0.0949
0.0949
0.065994
0
0.005796
0.328193
6,420
222
133
28.918919
0.844424
0.055919
0
0.295181
0
0
0.522121
0.078376
0
0
0
0
0
1
0.03012
false
0.012048
0.018072
0
0.072289
0.006024
0
0
0
null
0
0
0
0
0
0
0
0
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
0a1466d8bab50ddcdbbd51b7ac94f3df778f4c3c
40,433
py
Python
tests/v3_api/common.py
sowmyav27/rancher
a277d958cfcafca22f5da26b3a4582edd9cfd2af
[ "Apache-2.0" ]
null
null
null
tests/v3_api/common.py
sowmyav27/rancher
a277d958cfcafca22f5da26b3a4582edd9cfd2af
[ "Apache-2.0" ]
null
null
null
tests/v3_api/common.py
sowmyav27/rancher
a277d958cfcafca22f5da26b3a4582edd9cfd2af
[ "Apache-2.0" ]
null
null
null
import inspect import json import os import random import subprocess import time import requests import ast import paramiko import rancher from rancher import ApiError from lib.aws import AmazonWebServices DEFAULT_TIMEOUT = 120 DEFAULT_MULTI_CLUSTER_APP_TIMEOUT = 300 CATTLE_TEST_URL = os.environ.get('CATTLE_TEST_URL'...
34.946413
113
0.635471
4,938
40,433
4.968206
0.094978
0.015693
0.014837
0.011617
0.491012
0.428158
0.366119
0.334447
0.291077
0.265601
0
0.009046
0.261841
40,433
1,157
114
34.946413
0.81294
0.011402
0
0.401879
0
0
0.08711
0.011812
0
0
0
0
0.08977
1
0.090814
false
0.005219
0.014614
0.008351
0.169102
0.02714
0
0
0
null
0
0
0
0
0
0
0
0
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
0a148b5d990f7bb1b408caafa5a8cdf6862a40c6
1,195
py
Python
LeetCode/Python3/String/20. Valid Parentheses.py
WatsonWangZh/CodingPractice
dc057dd6ea2fc2034e14fd73e07e73e6364be2ae
[ "MIT" ]
11
2019-09-01T22:36:00.000Z
2021-11-08T08:57:20.000Z
LeetCode/Python3/String/20. Valid Parentheses.py
WatsonWangZh/LeetCodePractice
dc057dd6ea2fc2034e14fd73e07e73e6364be2ae
[ "MIT" ]
null
null
null
LeetCode/Python3/String/20. Valid Parentheses.py
WatsonWangZh/LeetCodePractice
dc057dd6ea2fc2034e14fd73e07e73e6364be2ae
[ "MIT" ]
2
2020-05-27T14:58:52.000Z
2020-05-27T15:04:17.000Z
# Given a string containing just the characters '(', ')', '{', '}', '[' and ']', # determine if the input string is valid. # An input string is valid if: # Open brackets must be closed by the same type of brackets. # Open brackets must be closed in the correct order. # Note that an empty string is also considered val...
21.727273
81
0.512134
144
1,195
4.194444
0.458333
0.09106
0.107616
0.119205
0.187086
0.107616
0.107616
0.107616
0.107616
0.107616
0
0.008274
0.29205
1,195
54
82
22.12963
0.705674
0.441004
0
0
0
0
0.051948
0
0
0
0
0
0
1
0.1
false
0
0
0
0.25
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
0a14fdb015437094dc2620963de3edb83ccea376
1,706
py
Python
backend/ibutsu_server/controllers/health_controller.py
rsnyman/ibutsu-server
3d190a3ab2f3cd206b7c5509ba21f95ce5bbdfcc
[ "MIT" ]
10
2020-07-07T07:00:00.000Z
2022-03-30T12:21:44.000Z
backend/ibutsu_server/controllers/health_controller.py
rsnyman/ibutsu-server
3d190a3ab2f3cd206b7c5509ba21f95ce5bbdfcc
[ "MIT" ]
133
2020-07-06T20:10:45.000Z
2022-03-31T15:19:19.000Z
backend/ibutsu_server/controllers/health_controller.py
rsnyman/ibutsu-server
3d190a3ab2f3cd206b7c5509ba21f95ce5bbdfcc
[ "MIT" ]
9
2020-07-06T17:33:29.000Z
2022-03-07T00:08:00.000Z
from flask import current_app from sqlalchemy.exc import InterfaceError from sqlalchemy.exc import OperationalError try: from ibutsu_server.db.model import Result IS_CONNECTED = True except ImportError: IS_CONNECTED = False def get_health(token_info=None, user=None): """Get a health report :rty...
32.188679
97
0.649472
200
1,706
5.44
0.4
0.077206
0.069853
0.095588
0.292279
0.251838
0.172794
0.172794
0.172794
0.172794
0
0.022321
0.212192
1,706
52
98
32.807692
0.787202
0.121923
0
0.064516
0
0
0.279725
0
0
0
0
0
0
1
0.096774
false
0
0.16129
0
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
0a14ffa87c6cf8cc2785c57c735fc9bf74a8348d
9,200
py
Python
src/python/tsnecuda/TSNE.py
rappdw/tsne-cuda
1249948704b0ae1847ebe614801f8a326050b0f4
[ "BSD-3-Clause" ]
1
2019-11-06T21:56:26.000Z
2019-11-06T21:56:26.000Z
src/python/tsnecuda/TSNE.py
amitadate/tsne-cuda
efa209834879bba88814e74d7062539f4de07cc2
[ "BSD-3-Clause" ]
null
null
null
src/python/tsnecuda/TSNE.py
amitadate/tsne-cuda
efa209834879bba88814e74d7062539f4de07cc2
[ "BSD-3-Clause" ]
null
null
null
"""Bindings for the Barnes Hut TSNE algorithm with fast nearest neighbors Refs: References [1] van der Maaten, L.J.P.; Hinton, G.E. Visualizing High-Dimensional Data Using t-SNE. Journal of Machine Learning Research 9:2579-2605, 2008. [2] van der Maaten, L.J.P. t-Distributed Stochastic Neighbor Embedding http://homepa...
42.790698
135
0.595978
1,077
9,200
4.905292
0.225627
0.06095
0.045429
0.0318
0.343744
0.154079
0.059057
0.046943
0.02915
0.020822
0
0.016682
0.309348
9,200
214
136
42.990654
0.814762
0.213152
0
0.174194
0
0
0.087073
0
0
0
0
0
0
1
0.019355
false
0
0.025806
0
0.064516
0.019355
0
0
0
null
0
0
0
0
0
0
0
0
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
0a15bb92f32c4317216e7f1662783bb4852671eb
105
py
Python
school/admin/__init__.py
leyyin/university-SE
7cc3625bda787d2e79ab22f30d6f6e732ca9abb3
[ "MIT" ]
3
2015-03-12T15:50:58.000Z
2015-05-04T12:55:19.000Z
school/admin/__init__.py
leyyin/university-SE
7cc3625bda787d2e79ab22f30d6f6e732ca9abb3
[ "MIT" ]
2
2015-05-01T18:24:04.000Z
2015-05-15T15:58:47.000Z
school/admin/__init__.py
leyyin/university-SE
7cc3625bda787d2e79ab22f30d6f6e732ca9abb3
[ "MIT" ]
null
null
null
# contains any CRUD not related to strictly editing users info and courses info from .views import admin
35
79
0.809524
17
105
5
0.941176
0
0
0
0
0
0
0
0
0
0
0
0.171429
105
2
80
52.5
0.977011
0.733333
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
0a1872d6c1f83595585a8fcb3b624041de25bbab
22,787
py
Python
python/helpers/pydev/pydevd_file_utils.py
kirmerzlikin/intellij-community
b5f5b5f38904b32c459203633e4ea17dc2736827
[ "Apache-2.0" ]
1
2019-08-02T21:11:19.000Z
2019-08-02T21:11:19.000Z
python/helpers/pydev/pydevd_file_utils.py
kirmerzlikin/intellij-community
b5f5b5f38904b32c459203633e4ea17dc2736827
[ "Apache-2.0" ]
null
null
null
python/helpers/pydev/pydevd_file_utils.py
kirmerzlikin/intellij-community
b5f5b5f38904b32c459203633e4ea17dc2736827
[ "Apache-2.0" ]
null
null
null
r''' This module provides utilities to get the absolute filenames so that we can be sure that: - The case of a file will match the actual file in the filesystem (otherwise breakpoints won't be hit). - Providing means for the user to make path conversions when doing a remote debugging session in ...
38.169179
167
0.642647
2,981
22,787
4.678296
0.1684
0.016779
0.029829
0.033558
0.397462
0.296501
0.230819
0.209881
0.173742
0.147641
0
0.004848
0.275903
22,787
596
168
38.233221
0.840364
0.276122
0
0.366848
0
0.002717
0.082678
0.016966
0
0
0
0
0.005435
1
0.067935
false
0.002717
0.032609
0.008152
0.222826
0.008152
0
0
0
null
0
0
0
0
0
0
0
0
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
0a19d381c903a0542a3789f5f4dbe06b87e43247
5,481
py
Python
src/networking/SessionsManager.py
OfekHarel/Orion-Connection-Software
2e767e31f94574bf464e24eaeed87f36b3247ca6
[ "MIT" ]
1
2021-05-18T10:16:05.000Z
2021-05-18T10:16:05.000Z
src/networking/SessionsManager.py
OfekHarel/Orion-Connection-Software
2e767e31f94574bf464e24eaeed87f36b3247ca6
[ "MIT" ]
null
null
null
src/networking/SessionsManager.py
OfekHarel/Orion-Connection-Software
2e767e31f94574bf464e24eaeed87f36b3247ca6
[ "MIT" ]
null
null
null
import os import socket from random import randint from src import Constants from src.Constants import Network from src.networking import NetworkPackets, Actions from src.networking.Client import Client from src.utils.DH_Encryption import Encryption from src.utils.Enum import Enum class SessionManager: """ T...
35.590909
106
0.550447
576
5,481
5.109375
0.276042
0.061162
0.092762
0.057085
0.236833
0.178389
0.149507
0.134557
0.134557
0.095821
0
0.00367
0.353768
5,481
153
107
35.823529
0.827216
0.050538
0
0.173554
0
0
0.019926
0
0
0
0
0
0
1
0.049587
false
0.008264
0.07438
0
0.289256
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
0a1a359a4636f368d0f28057e4bf1af274c7fb79
3,332
py
Python
influxdb_service_sdk/model/container/resource_requirements_pb2.py
easyopsapis/easyops-api-python
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
[ "Apache-2.0" ]
5
2019-07-31T04:11:05.000Z
2021-01-07T03:23:20.000Z
influxdb_service_sdk/model/container/resource_requirements_pb2.py
easyopsapis/easyops-api-python
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
[ "Apache-2.0" ]
null
null
null
influxdb_service_sdk/model/container/resource_requirements_pb2.py
easyopsapis/easyops-api-python
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: resource_requirements.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from googl...
40.144578
380
0.801921
396
3,332
6.358586
0.325758
0.02224
0.035743
0.038126
0.305798
0.289118
0.289118
0.250993
0.250993
0.250993
0
0.024228
0.095738
3,332
82
381
40.634146
0.811484
0.076831
0
0.258065
1
0.016129
0.165526
0.121538
0
0
0
0
0
1
0
false
0
0.096774
0
0.096774
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
0a1b13a3f3b068eb65d58c46e8bda2b6889a1fef
12,738
py
Python
tests/test_http_client.py
bhch/async-stripe
75d934a8bb242f664e7be30812c12335cf885287
[ "MIT", "BSD-3-Clause" ]
8
2021-05-29T08:57:58.000Z
2022-02-19T07:09:25.000Z
tests/test_http_client.py
bhch/async-stripe
75d934a8bb242f664e7be30812c12335cf885287
[ "MIT", "BSD-3-Clause" ]
5
2021-05-31T10:18:36.000Z
2022-01-25T11:39:03.000Z
tests/test_http_client.py
bhch/async-stripe
75d934a8bb242f664e7be30812c12335cf885287
[ "MIT", "BSD-3-Clause" ]
1
2021-05-29T13:27:10.000Z
2021-05-29T13:27:10.000Z
from __future__ import absolute_import, division, print_function import pytest import json import asyncio import stripe import urllib3 from stripe import six, util from async_stripe.http_client import TornadoAsyncHTTPClient pytestmark = pytest.mark.asyncio VALID_API_METHODS = ("get", "post", "delete") class Str...
33.968
87
0.637777
1,559
12,738
4.939064
0.167415
0.050649
0.054026
0.033766
0.505974
0.457922
0.392468
0.359221
0.308182
0.277792
0
0.019128
0.265348
12,738
374
88
34.058824
0.803697
0.040038
0
0.292593
0
0
0.060735
0.006303
0
0
0
0.002674
0.137037
1
0.118519
false
0.007407
0.033333
0.007407
0.218519
0.011111
0
0
0
null
0
0
0
0
0
0
0
0
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
0a1ba6256767aa29fb3040084aca24a7cb8fa6a0
1,685
py
Python
http/static/jsonvis.py
cheeseywhiz/cheeseywhiz
51f6651ddbaeebd14d9ce77776bc4cf3a95511c4
[ "MIT" ]
null
null
null
http/static/jsonvis.py
cheeseywhiz/cheeseywhiz
51f6651ddbaeebd14d9ce77776bc4cf3a95511c4
[ "MIT" ]
null
null
null
http/static/jsonvis.py
cheeseywhiz/cheeseywhiz
51f6651ddbaeebd14d9ce77776bc4cf3a95511c4
[ "MIT" ]
null
null
null
"""\ Provides html file visualization of a json dataset """ import json import subprocess class JsonVis: def _open_list(self): self.instructions.append(('open_list', None)) def _list_item(self, data): self.instructions.append(('list_item', str(data))) def _horiz_rule(self): self....
28.083333
77
0.570326
192
1,685
4.828125
0.354167
0.06041
0.09493
0.084142
0.114347
0
0
0
0
0
0
0
0.32819
1,685
59
78
28.559322
0.818905
0.173294
0
0.15
0
0
0.037821
0
0
0
0
0
0
1
0.175
false
0
0.05
0
0.3
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
0a1ba6be1f357556fe2a856981f28ab99cb28a6a
1,104
py
Python
sim2d_game_analyzer/MainWindow.py
goncamateus/sim2d_game_analyzer
3e264df75896b8856163478535fdeeeef2d66b2f
[ "MIT" ]
1
2020-06-16T05:53:24.000Z
2020-06-16T05:53:24.000Z
sim2d_game_analyzer/MainWindow.py
goncamateus/sim2d_game_analyzer
3e264df75896b8856163478535fdeeeef2d66b2f
[ "MIT" ]
null
null
null
sim2d_game_analyzer/MainWindow.py
goncamateus/sim2d_game_analyzer
3e264df75896b8856163478535fdeeeef2d66b2f
[ "MIT" ]
null
null
null
import sys from PyQt5 import QtGui from PyQt5.QtCore import QEvent, QPoint, Qt from PyQt5.QtGui import QIcon from PyQt5.QtWidgets import (QApplication, QDialog, QGroupBox, QMainWindow, QTabWidget, QVBoxLayout, QWidget) from sim2d_game_analyzer.fmdb_tab import FMDBTab class MainWindow(QM...
27.6
75
0.663043
124
1,104
5.717742
0.524194
0.050776
0.071932
0.050776
0
0
0
0
0
0
0
0.026128
0.237319
1,104
39
76
28.307692
0.815914
0
0
0
0
0
0.064312
0.032609
0
0
0
0
0
1
0.032258
false
0
0.193548
0
0.419355
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a1bf05862b9f835d8a239dbc4e6161e02b46036
12,543
py
Python
cmd/extractor.py
Grammarian/sicle
94d826477d269c4c3534d83fa2e940de1d923140
[ "Apache-2.0" ]
null
null
null
cmd/extractor.py
Grammarian/sicle
94d826477d269c4c3534d83fa2e940de1d923140
[ "Apache-2.0" ]
null
null
null
cmd/extractor.py
Grammarian/sicle
94d826477d269c4c3534d83fa2e940de1d923140
[ "Apache-2.0" ]
null
null
null
# pip install openpyxl # pip install cuid import os.path import json import datetime from openpyxl import load_workbook import cuid # https://github.com/necaris/cuid.py - create uuid's in the format that graphcool expects SOURCE_XLSX = "./data/CLP_combined.xlsx" EXTRACT_OUTPUT_DIR = "../server/extract" SCHOOL_TITL...
42.090604
118
0.64817
1,539
12,543
5.050682
0.192982
0.005403
0.009263
0.01904
0.192976
0.138942
0.117587
0.091599
0.072302
0.072302
0
0.005038
0.224508
12,543
297
119
42.232323
0.794078
0.119349
0
0.12037
0
0
0.259518
0.002125
0
0
0
0
0
1
0.115741
false
0
0.027778
0.013889
0.236111
0.009259
0
0
0
null
0
0
0
0
0
0
0
0
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
0a1c12c2f6792d992cfb44ac67b60bca865f920c
6,148
py
Python
fHDHR/origin/origin_channels.py
crackers8199/fHDHR_USTVGO
50e284fe004c8b60b07dbe29fa3fb4f69a7b3cfa
[ "WTFPL" ]
null
null
null
fHDHR/origin/origin_channels.py
crackers8199/fHDHR_USTVGO
50e284fe004c8b60b07dbe29fa3fb4f69a7b3cfa
[ "WTFPL" ]
null
null
null
fHDHR/origin/origin_channels.py
crackers8199/fHDHR_USTVGO
50e284fe004c8b60b07dbe29fa3fb4f69a7b3cfa
[ "WTFPL" ]
null
null
null
import os import sys from lxml import html import pathlib import json import m3u8 from seleniumwire import webdriver from selenium.common.exceptions import TimeoutException, NoSuchElementException from selenium.webdriver.firefox.options import Options as FirefoxOptions IFRAME_CSS_SELECTOR = '.iframe-container>iframe'...
33.78022
134
0.609141
666
6,148
5.430931
0.304805
0.024883
0.021565
0.037324
0.089301
0.032624
0.032624
0.032624
0.032624
0.032624
0
0.01393
0.287736
6,148
181
135
33.966851
0.812058
0.018705
0
0.116788
0
0.014599
0.132592
0.055924
0
0
0
0
0
1
0.087591
false
0
0.065693
0
0.248175
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
0a1c4786888ba534eda7784354ef48e759ceac1e
40
py
Python
version.py
XioNoX/ansible-junos-stdlib-old
92f33b3bbe6d2cc36d9f2028bb7c792f25ddce80
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
version.py
XioNoX/ansible-junos-stdlib-old
92f33b3bbe6d2cc36d9f2028bb7c792f25ddce80
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
version.py
XioNoX/ansible-junos-stdlib-old
92f33b3bbe6d2cc36d9f2028bb7c792f25ddce80
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
VERSION = "1.4.0" DATE = "2016-Sept-21"
13.333333
21
0.6
8
40
3
1
0
0
0
0
0
0
0
0
0
0
0.264706
0.15
40
2
22
20
0.441176
0
0
0
0
0
0.425
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
0a1cc533cda21da8b86ba8309652b8179ef12637
1,371
py
Python
Episode11-Menu/Pygame/explosion.py
Inksaver/Shmup_With_Pygame_Love2D_Monogame
84838516d9dd9d6639b1b699dca546bfdfec73dc
[ "CC0-1.0" ]
1
2022-02-01T04:05:04.000Z
2022-02-01T04:05:04.000Z
Episode11-Menu/Pygame/explosion.py
Inksaver/Shmup_With_Pygame_Love2D_Monogame
84838516d9dd9d6639b1b699dca546bfdfec73dc
[ "CC0-1.0" ]
null
null
null
Episode11-Menu/Pygame/explosion.py
Inksaver/Shmup_With_Pygame_Love2D_Monogame
84838516d9dd9d6639b1b699dca546bfdfec73dc
[ "CC0-1.0" ]
null
null
null
import pygame import shared class Explosion(): def __init__(self, images:list, centre:tuple, key:str) -> None: ''' Class variables. key: 'sm', 'lg', 'player ''' self.images = images # list of 8 images self.centre = centre # use for all frames self.key = key # key used later self.image = ...
41.545455
84
0.644055
206
1,371
4.228155
0.383495
0.061998
0.064294
0.036739
0.165327
0.130884
0.075775
0
0
0
0
0.016569
0.251641
1,371
33
85
41.545455
0.832359
0.326039
0
0.214286
0
0
0
0
0
0
0
0
0
1
0.107143
false
0.142857
0.071429
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
1
0
0
0
0
0
1
0a1e22f8f6e931aec05c9d718e0438f67bfcceaf
6,950
py
Python
funcx_endpoint/funcx_endpoint/strategies/base.py
arokem/funcX
bd45b93f6c5a1676735b6f8246312d6b468a4b20
[ "Apache-1.1" ]
1
2021-01-18T21:36:22.000Z
2021-01-18T21:36:22.000Z
funcx_endpoint/funcx_endpoint/strategies/base.py
Loonride/funcX
95ae788eac14397a5ec042f0a2ad05c14030b807
[ "Apache-1.1" ]
null
null
null
funcx_endpoint/funcx_endpoint/strategies/base.py
Loonride/funcX
95ae788eac14397a5ec042f0a2ad05c14030b807
[ "Apache-1.1" ]
null
null
null
import sys import threading import logging import time logger = logging.getLogger("interchange.strategy.base") class BaseStrategy(object): """Implements threshold-interval based flow control. The overall goal is to trap the flow of apps from the workflow, measure it and redirect it the appropriate execu...
32.325581
93
0.608633
841
6,950
4.895363
0.254459
0.018946
0.02429
0.027204
0.50838
0.50838
0.50838
0.504494
0.504494
0.483119
0
0.002077
0.307338
6,950
214
94
32.476636
0.853137
0.457266
0
0.589744
0
0
0.053842
0.007562
0
0
0
0.004673
0
1
0.141026
false
0
0.051282
0
0.24359
0.025641
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0a1e3877d30a492ceb0b5445e7d1d835bd228d55
7,409
py
Python
hw3 cnn and vis/gradcam.py
mtang1001/ML-Exploration
6fec422eca127210e948945e6d15526947bfae8e
[ "Apache-2.0" ]
null
null
null
hw3 cnn and vis/gradcam.py
mtang1001/ML-Exploration
6fec422eca127210e948945e6d15526947bfae8e
[ "Apache-2.0" ]
null
null
null
hw3 cnn and vis/gradcam.py
mtang1001/ML-Exploration
6fec422eca127210e948945e6d15526947bfae8e
[ "Apache-2.0" ]
null
null
null
import torch import torchvision import matplotlib import matplotlib.pyplot as plt from PIL import Image from captum.attr import GuidedGradCam, GuidedBackprop from captum.attr import LayerActivation, LayerConductance, LayerGradCam from data_utils import * from image_utils import * from captum_utils import * import nump...
41.623596
137
0.626535
948
7,409
4.728903
0.251055
0.023422
0.022753
0.013384
0.337497
0.293553
0.26277
0.252063
0.229757
0.229757
0
0.01096
0.187205
7,409
177
138
41.858757
0.733477
0.341342
0
0.351064
0
0
0.082833
0.052821
0
0
0
0.00565
0
1
0
false
0
0.138298
0
0.138298
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
0a1e494933ae306f17bb20205df33acd66dcd6cb
3,713
py
Python
src/genotypes.py
k8lion/admmdarts
4953e401cb74ba9f8da3ed0b9d4c5e88da9fc776
[ "Apache-2.0" ]
null
null
null
src/genotypes.py
k8lion/admmdarts
4953e401cb74ba9f8da3ed0b9d4c5e88da9fc776
[ "Apache-2.0" ]
null
null
null
src/genotypes.py
k8lion/admmdarts
4953e401cb74ba9f8da3ed0b9d4c5e88da9fc776
[ "Apache-2.0" ]
null
null
null
from collections import namedtuple Genotype = namedtuple('Genotype', 'normal normal_concat reduce reduce_concat') PRIMITIVES = [ 'none', 'max_pool_3x3', 'avg_pool_3x3', 'skip_connect', 'sep_conv_3x3', 'sep_conv_5x5', 'dil_conv_3x3', 'dil_conv_5x5' ] CRBPRIMITIVES = [ 'max_pool_3x3...
34.700935
116
0.546458
543
3,713
3.3186
0.071823
0.170921
0.166482
0.091565
0.831299
0.772475
0.718091
0.54939
0.45283
0.398446
0
0.116984
0.235659
3,713
106
117
35.028302
0.51797
0
0
0.55102
0
0
0.395637
0
0
0
0
0
0
1
0
false
0
0.010204
0
0.010204
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3