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
e013586bd218f04045d3a4fd69b710a764bfdb0d
415
py
Python
checkout/migrations/0015_alter_order_artwork.py
Daph1986/postfly_jouw_online_drukkerij
76aaf017c4f03953d62733db55016a5fcd9deff2
[ "W3C" ]
null
null
null
checkout/migrations/0015_alter_order_artwork.py
Daph1986/postfly_jouw_online_drukkerij
76aaf017c4f03953d62733db55016a5fcd9deff2
[ "W3C" ]
9
2021-11-04T09:28:25.000Z
2021-11-29T12:02:05.000Z
checkout/migrations/0015_alter_order_artwork.py
Daph1986/postfly_jouw_online_drukkerij
76aaf017c4f03953d62733db55016a5fcd9deff2
[ "W3C" ]
5
2021-12-08T09:48:50.000Z
2022-02-12T23:44:52.000Z
# Generated by Django 3.2.6 on 2021-11-17 13:58 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('checkout', '0014_alter_order_artwork'), ] operations = [ migrations.AlterField( model_name='order', name='artwork', ...
21.842105
77
0.595181
46
415
5.26087
0.804348
0
0
0
0
0
0
0
0
0
0
0.062706
0.26988
415
18
78
23.055556
0.735974
0.108434
0
0
1
0
0.163043
0.065217
0
0
0
0
0
1
0
false
0
0.083333
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e0160faf01fbee9b1a05ca863380533975c1755c
603
py
Python
djangocms_versioning_filer/plugins/picture/models.py
webbyfox/djangocms-versioning-filer
75a2c00dac8607c4f365c3d40cd36e0da6908824
[ "BSD-3-Clause" ]
null
null
null
djangocms_versioning_filer/plugins/picture/models.py
webbyfox/djangocms-versioning-filer
75a2c00dac8607c4f365c3d40cd36e0da6908824
[ "BSD-3-Clause" ]
10
2019-08-13T13:50:59.000Z
2022-03-11T13:00:05.000Z
djangocms_versioning_filer/plugins/picture/models.py
webbyfox/djangocms-versioning-filer
75a2c00dac8607c4f365c3d40cd36e0da6908824
[ "BSD-3-Clause" ]
9
2018-09-28T12:43:27.000Z
2020-10-13T09:06:47.000Z
from django.db import models from django.utils.functional import cached_property from django.utils.translation import ugettext_lazy as _ from djangocms_picture.models import AbstractPicture from djangocms_versioning_filer.fields import ImageGrouperField class VersionedPicture(AbstractPicture): file_grouper = Im...
26.217391
63
0.733002
69
603
6.173913
0.550725
0.103286
0.070423
0
0
0
0
0
0
0
0
0
0.202322
603
22
64
27.409091
0.885655
0
0
0
0
0
0.021559
0
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
e019efdfdeda2e50cacb63537f905800ae01ddec
6,359
py
Python
build/mktargets.py
Arthur-wang/openh264
4ebf8266a1f69f841748f49912f7a23fd6c74260
[ "BSD-2-Clause" ]
1
2015-03-26T13:43:29.000Z
2015-03-26T13:43:29.000Z
build/mktargets.py
Arthur-wang/openh264
4ebf8266a1f69f841748f49912f7a23fd6c74260
[ "BSD-2-Clause" ]
null
null
null
build/mktargets.py
Arthur-wang/openh264
4ebf8266a1f69f841748f49912f7a23fd6c74260
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/python import sys import argparse import os parser = argparse.ArgumentParser(description="Make helper parser") parser.add_argument("--directory", dest="directory", required=True) parser.add_argument("--library", dest="library", help="Make a library") parser.add_argument("--binary", dest="binary", help="Make...
32.778351
140
0.597106
980
6,359
3.741837
0.139796
0.081811
0.030543
0.017453
0.511317
0.412872
0.306518
0.306518
0.259613
0.207527
0
0.007029
0.172197
6,359
193
141
32.948187
0.68959
0.002516
0
0.221519
0
0.006329
0.285557
0.074424
0
0
0
0
0
0
null
null
0
0.018987
null
null
0.006329
0
0
0
null
0
0
0
0
0
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
e01b7dfa8481484017efadb7a1e14545efa3a90d
669
py
Python
test/unit/test_secrets.py
Justintime50/gatekeeper
cfc5b39e843b205e07564061472a1f39a9298873
[ "MIT" ]
null
null
null
test/unit/test_secrets.py
Justintime50/gatekeeper
cfc5b39e843b205e07564061472a1f39a9298873
[ "MIT" ]
5
2020-03-02T18:13:12.000Z
2020-09-15T19:55:05.000Z
test/unit/test_secrets.py
Justintime50/gatekeeper
cfc5b39e843b205e07564061472a1f39a9298873
[ "MIT" ]
null
null
null
from roverio import secrets def test_secrets_no_gitignore(): """This test isn't great but asserts against something that should hopefully stay pretty constant - `setup.py`. """ result = secrets.Secrets.search_for_secrets('roverio', 22) assert 'File: roverio/sequential_renamer.py\nSecret: IMG_2462...
33.45
103
0.732436
92
669
5.152174
0.51087
0.044304
0.059072
0.084388
0.556962
0.556962
0.556962
0.556962
0.556962
0.556962
0
0.037567
0.164425
669
19
104
35.210526
0.810376
0.324365
0
0
0
0
0.368794
0.245863
0
0
0
0
0.285714
1
0.285714
false
0
0.142857
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
e01bafb7550a33ddaf4f3cdc6e8d14f832b7c86b
2,697
py
Python
influxdb_client/client/flux_table.py
Rajpratik71/influxdb-client-python
ae537018b638600552b3ac11f1b070c048719910
[ "MIT" ]
1
2021-06-04T20:32:50.000Z
2021-06-04T20:32:50.000Z
influxdb_client/client/flux_table.py
mikeldiezs/influxdb-client-python
0c1d1d9ff92dd2b3b4a9b6aa1e8f5b1c02fd48ab
[ "MIT" ]
null
null
null
influxdb_client/client/flux_table.py
mikeldiezs/influxdb-client-python
0c1d1d9ff92dd2b3b4a9b6aa1e8f5b1c02fd48ab
[ "MIT" ]
null
null
null
""" Flux employs a basic data model built from basic data types. The data model consists of tables, records, columns. """ class FluxStructure: """The data model consists of tables, records, columns.""" pass class FluxTable(FluxStructure): """A table is set of records with a common set of columns and a...
27.520408
106
0.59696
330
2,697
4.654545
0.251515
0.052083
0.039063
0.026042
0.136719
0.136719
0.136719
0.136719
0.082031
0.082031
0
0
0.273637
2,697
97
107
27.804124
0.784074
0.284761
0
0.088889
0
0
0.041667
0
0
0
0
0
0
1
0.333333
false
0.022222
0
0
0.688889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
e01d5a0e1872e8fee090e1d585efda6152922300
1,217
py
Python
wipi/controller/__init__.py
vencik/wipi
f09c2376a6a749a529ee670b11b69673db2e640e
[ "BSD-3-Clause" ]
null
null
null
wipi/controller/__init__.py
vencik/wipi
f09c2376a6a749a529ee670b11b69673db2e640e
[ "BSD-3-Clause" ]
null
null
null
wipi/controller/__init__.py
vencik/wipi
f09c2376a6a749a529ee670b11b69673db2e640e
[ "BSD-3-Clause" ]
null
null
null
from typing import List, Dict, Iterator, Type import json import re from importlib import import_module from sys import argv from wipi.util import cc2sc from .interface import Controller _controllers: List[Controller] = [] def add(controller: Controller) -> None: """ Add another controller instance :p...
23.862745
71
0.658998
131
1,217
6.038168
0.40458
0.049305
0.03287
0
0
0
0
0
0
0
0
0.005285
0.222679
1,217
50
72
24.34
0.830867
0.179129
0
0
0
0
0.040212
0
0
0
0
0
0
1
0.12
false
0
0.32
0
0.48
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
e01efd91c2bf46b70e0fb133a4b9c2df56c60c48
34,937
py
Python
hikari/api/event_factory.py
sabidib/hikari
e1e112a1b2938890e4abd38eb07b559fda7eedbb
[ "MIT" ]
1
2021-09-05T18:15:24.000Z
2021-09-05T18:15:24.000Z
hikari/api/event_factory.py
sabidib/hikari
e1e112a1b2938890e4abd38eb07b559fda7eedbb
[ "MIT" ]
11
2020-10-12T14:35:06.000Z
2021-10-20T16:26:15.000Z
hikari/api/event_factory.py
sabidib/hikari
e1e112a1b2938890e4abd38eb07b559fda7eedbb
[ "MIT" ]
1
2021-06-23T07:26:48.000Z
2021-06-23T07:26:48.000Z
# -*- coding: utf-8 -*- # cython: language_level=3 # Copyright (c) 2020 Nekokatt # Copyright (c) 2021 davfsa # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including w...
33.690453
119
0.635429
3,583
34,937
6.072286
0.072844
0.047019
0.077217
0.066967
0.760123
0.716597
0.688376
0.647332
0.599439
0.54934
0
0.000395
0.275067
34,937
1,036
120
33.722973
0.858649
0.528179
0
0.517647
0
0
0.001035
0
0
0
0
0
0
1
0.184314
false
0
0.098039
0
0.290196
0
0
0
0
null
0
0
0
0
1
0
0
0
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
e01f9d46be46e5166ea23cc9cd60eb116ce8d1f2
814
py
Python
djangobmf/contrib/team/forms.py
dmatthes/django-bmf
3a97167de7841b13f1ddd23b33ae65e98dc49dfd
[ "BSD-3-Clause" ]
1
2020-05-11T08:00:49.000Z
2020-05-11T08:00:49.000Z
djangobmf/contrib/team/forms.py
dmatthes/django-bmf
3a97167de7841b13f1ddd23b33ae65e98dc49dfd
[ "BSD-3-Clause" ]
null
null
null
djangobmf/contrib/team/forms.py
dmatthes/django-bmf
3a97167de7841b13f1ddd23b33ae65e98dc49dfd
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python # ex:set fileencoding=utf-8: from __future__ import unicode_literals from django.forms import ModelForm from django.forms.models import inlineformset_factory from djangobmf.forms import BMFForm from .models import Team from .models import TeamMember class TeamUpdateForm(ModelForm): class Met...
20.871795
80
0.713759
84
814
6.809524
0.440476
0.062937
0.052448
0.08042
0.206294
0.118881
0
0
0
0
0
0.003101
0.207617
814
38
81
21.421053
0.883721
0.052826
0
0.434783
0
0
0.018205
0
0
0
0
0
0
1
0
false
0
0.26087
0
0.608696
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
e02045408d7745e3cef289f96eb08cf9526783f0
1,123
py
Python
sudoku/model/cellbasic.py
tateishi/py-sudoku
3af656b2ebe128543ed2bb9c613a6844eda868ca
[ "MIT" ]
null
null
null
sudoku/model/cellbasic.py
tateishi/py-sudoku
3af656b2ebe128543ed2bb9c613a6844eda868ca
[ "MIT" ]
null
null
null
sudoku/model/cellbasic.py
tateishi/py-sudoku
3af656b2ebe128543ed2bb9c613a6844eda868ca
[ "MIT" ]
null
null
null
from __future__ import annotations from typing import Set from dataclasses import dataclass, field @dataclass class CellBasic: fixed: bool = False number: int = 0 memo: Set[int] = field(default_factory=set) def __str__(self): if self.fixed: return f'{self.number}' else: ...
26.116279
70
0.616207
144
1,123
4.680556
0.298611
0.133531
0.08457
0.035608
0.118694
0.118694
0.118694
0.118694
0.118694
0.118694
0
0.008516
0.268032
1,123
42
71
26.738095
0.811436
0
0
0.212121
0
0
0.054319
0.0187
0
0
0
0
0
1
0.212121
false
0
0.090909
0.090909
0.69697
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
e02a1a319ee762a486a1a2a16fdf0eed3916ab42
248
py
Python
data_collection/clean_es_tec.py
Fireblossom/master_thesis_code
15738e63306e4c105992190e1685731dc3f14b5b
[ "MIT" ]
null
null
null
data_collection/clean_es_tec.py
Fireblossom/master_thesis_code
15738e63306e4c105992190e1685731dc3f14b5b
[ "MIT" ]
null
null
null
data_collection/clean_es_tec.py
Fireblossom/master_thesis_code
15738e63306e4c105992190e1685731dc3f14b5b
[ "MIT" ]
null
null
null
from langdetect import detect f = open('tec.txt', 'w', encoding="utf8") with open('Jan9-2012-tweets-clean.txt', 'r', encoding="utf8") as file: for line in file: if detect(line.split('\t')[1]) == 'en': f.write(line) f.close()
35.428571
70
0.600806
39
248
3.820513
0.74359
0.161074
0
0
0
0
0
0
0
0
0
0.04
0.193548
248
7
71
35.428571
0.705
0
0
0
0
0
0.188755
0.104418
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e02d1ccb80cd966bc70294b333cbfe79f0f3ace7
380
py
Python
penin/core/mdns/__init__.py
fabaff/penin
6a93984357b4478907746225bfadea0bfc8b681c
[ "Apache-2.0" ]
4
2019-06-04T04:14:42.000Z
2021-04-02T17:25:28.000Z
penin/core/mdns/__init__.py
fabaff/penin
6a93984357b4478907746225bfadea0bfc8b681c
[ "Apache-2.0" ]
null
null
null
penin/core/mdns/__init__.py
fabaff/penin
6a93984357b4478907746225bfadea0bfc8b681c
[ "Apache-2.0" ]
null
null
null
"""Support for discovering local devices and services.""" from netdisco.discovery import NetworkDiscovery def discover_devices(): """Discover local devices and services.""" data = {} netdis = NetworkDiscovery() netdis.scan() for device_type in netdis.discover(): data[device_type] = netdi...
21.111111
57
0.692105
43
380
6
0.55814
0.116279
0.116279
0.178295
0
0
0
0
0
0
0
0
0.202632
380
17
58
22.352941
0.851485
0.231579
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.333333
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
0
0
0
1
e02ed97b0e4fc71c24ba04ad6510668624689779
2,530
py
Python
selloff.py
iacolippo/Math-models-allegiance-parties
49599a8d72d9004e3c1ebff234231c047c1c33f6
[ "BSD-2-Clause", "Unlicense" ]
1
2015-05-06T17:16:50.000Z
2015-05-06T17:16:50.000Z
selloff.py
iacolippo/Math-models-allegiance-parties
49599a8d72d9004e3c1ebff234231c047c1c33f6
[ "BSD-2-Clause", "Unlicense" ]
null
null
null
selloff.py
iacolippo/Math-models-allegiance-parties
49599a8d72d9004e3c1ebff234231c047c1c33f6
[ "BSD-2-Clause", "Unlicense" ]
null
null
null
'''This program simulates Sell off model described in "Mathematical modeling of allegiance to political parties", Iacopo Poli, 2015 Copyright (C) 2015 - Iacopo Poli This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by ...
30.853659
80
0.667194
402
2,530
4.181592
0.422886
0.054134
0.057109
0.089233
0.199881
0.091612
0.058299
0
0
0
0
0.053957
0.23083
2,530
81
81
31.234568
0.809866
0.152569
0
0
0
0
0.09322
0
0
0
0
0
0
0
null
null
0
0.086957
null
null
0.130435
0
0
0
null
0
0
0
0
0
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
e03052cde25e6c82808a72d16b69033e05557289
671
py
Python
examples/uploads/upload_batch_of_items.py
dataloop-ai/sdk_examples
422d5629df5af343d2dc275e9570bb83c4e2f49d
[ "MIT" ]
10
2020-05-21T06:25:35.000Z
2022-01-07T20:34:03.000Z
examples/uploads/upload_batch_of_items.py
dataloop-ai/sdk_examples
422d5629df5af343d2dc275e9570bb83c4e2f49d
[ "MIT" ]
22
2019-11-17T17:25:16.000Z
2022-03-10T15:14:28.000Z
examples/uploads/upload_batch_of_items.py
dataloop-ai/sdk_examples
422d5629df5af343d2dc275e9570bb83c4e2f49d
[ "MIT" ]
8
2020-03-05T16:23:55.000Z
2021-12-27T11:10:42.000Z
def main(): """ :return: """ import dtlpy as dl # Get project and dataset project = dl.projects.get(project_name='Curling') dataset = project.datasets.get(dataset_name='Practice') # upload specific files dataset.items.upload(local_path=['/home/project/images/John Morris.jpg', ...
31.952381
76
0.564829
73
671
5.082192
0.506849
0.118598
0.183288
0.123989
0.237197
0.237197
0.237197
0.237197
0
0
0
0
0.315946
671
20
77
33.55
0.808279
0.125186
0
0.2
0
0
0.290493
0.130282
0
0
0
0
0
1
0.1
false
0
0.1
0
0.2
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e03175eae01551dab78de70a0f50336941151013
325
py
Python
A_mathematics/G_prime_factors.py
sangeetasingh17/DSA
05eef2415e3d8c8604625cf589a79533159c78ef
[ "MIT" ]
1
2021-03-13T20:28:39.000Z
2021-03-13T20:28:39.000Z
A_mathematics/G_prime_factors.py
yashsehgal/DSA
bbf5a2e5cf4efe08a7a1c0981a3241366ece9995
[ "MIT" ]
null
null
null
A_mathematics/G_prime_factors.py
yashsehgal/DSA
bbf5a2e5cf4efe08a7a1c0981a3241366ece9995
[ "MIT" ]
null
null
null
def method1(n: int) -> int: divisors = [d for d in range(2, n // 2 + 1) if n % d == 0] return [d for d in divisors if all(d % od != 0 for od in divisors if od != d)] if __name__ == "__main__": """ from timeit import timeit print(timeit(lambda: method1(20), number=10000)) # 0.028740440000547096 ...
29.545455
82
0.590769
53
325
3.471698
0.509434
0.043478
0.054348
0.076087
0
0
0
0
0
0
0
0.136929
0.258462
325
10
83
32.5
0.626556
0
0
0
0
0
0.038462
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
e032bcd198d1d934cc9996d974116d1883ea6788
1,351
py
Python
indico/modules/events/surveys/views.py
salevajo/indico
6f9cbabc20d1641caea907099388ae2b04965cf8
[ "MIT" ]
1
2021-12-27T17:51:27.000Z
2021-12-27T17:51:27.000Z
indico/modules/events/surveys/views.py
salevajo/indico
6f9cbabc20d1641caea907099388ae2b04965cf8
[ "MIT" ]
5
2021-04-08T19:26:47.000Z
2022-01-24T16:30:18.000Z
indico/modules/events/surveys/views.py
salevajo/indico
6f9cbabc20d1641caea907099388ae2b04965cf8
[ "MIT" ]
2
2019-02-24T17:29:10.000Z
2021-04-08T19:23:27.000Z
# This file is part of Indico. # Copyright (C) 2002 - 2021 CERN # # Indico is free software; you can redistribute it and/or # modify it under the terms of the MIT License; see the # LICENSE file for more details. from indico.modules.events.management.views import WPEventManagement from indico.modules.events.views impo...
32.166667
89
0.774981
148
1,351
6.932432
0.466216
0.126706
0.111111
0.105263
0.274854
0.274854
0.169591
0.169591
0.169591
0.120858
0
0.006891
0.140637
1,351
41
90
32.95122
0.87683
0.148038
0
0.304348
0
0
0.193182
0.128497
0
0
0
0
0
1
0.043478
false
0.043478
0.130435
0.043478
0.956522
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
e0350cfa101d2b9332efc3c475e72f19676e0f41
9,833
py
Python
Controller.py
johnpaulguzman/Algorithm-Analyzer
e93abfb51f2f67b6df1af8d95cc6855ad7de69f2
[ "MIT" ]
null
null
null
Controller.py
johnpaulguzman/Algorithm-Analyzer
e93abfb51f2f67b6df1af8d95cc6855ad7de69f2
[ "MIT" ]
null
null
null
Controller.py
johnpaulguzman/Algorithm-Analyzer
e93abfb51f2f67b6df1af8d95cc6855ad7de69f2
[ "MIT" ]
null
null
null
from Experimenter import Experimenter from DataProcessor import DataProcessor from GUI import GUI from Messages import Messages import os class Controller: def __init__(self): self.experimenter = Experimenter() self.dataProcessor = DataProcessor() self.gui = GUI() self.gui.addListen...
53.440217
193
0.557205
923
9,833
5.83532
0.248104
0.055886
0.044189
0.053658
0.234126
0.198663
0.152618
0.132009
0.091534
0.080394
0
0.00325
0.311502
9,833
184
194
53.440217
0.792319
0.023797
0
0.094828
0
0
0.11788
0.015127
0
0
0
0.005435
0
0
null
null
0.008621
0.043103
null
null
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
1
0
0
0
0
0
0
0
0
1
e03875ed083afec8a2c9b68cb91f1ea7d3509bc6
17,777
py
Python
3d/floating_bar_scorec/floating_bar.py
AntoninoScala/air-water-vv
06b6579cc308795dc56acfd30873747f74231589
[ "MIT" ]
5
2017-11-15T16:18:47.000Z
2021-07-18T02:32:48.000Z
3d/floating_bar_scorec/floating_bar.py
AntoninoScala/air-water-vv
06b6579cc308795dc56acfd30873747f74231589
[ "MIT" ]
41
2015-06-03T17:53:17.000Z
2017-07-26T09:15:07.000Z
3d/floating_bar_scorec/floating_bar.py
AntoninoScala/air-water-vv
06b6579cc308795dc56acfd30873747f74231589
[ "MIT" ]
21
2017-10-27T14:37:54.000Z
2020-02-10T10:31:36.000Z
""" Bar floating in half-filled tank """ from math import * from proteus import * import numpy import proteus.MeshTools from proteus import Domain from proteus.Profiling import logEvent from proteus.default_n import * from proteus.ctransportCoefficients import smoothedHeaviside from proteus.ctransportCoefficients impor...
37.268344
165
0.571581
2,298
17,777
4.277198
0.17537
0.014651
0.013124
0.011395
0.299013
0.253027
0.210601
0.180486
0.144776
0.120053
0
0.052366
0.275975
17,777
476
166
37.346639
0.711289
0.120549
0
0.105978
0
0.002717
0.067945
0.00143
0
0
0
0
0.008152
0
null
null
0
0.040761
null
null
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
1
0
0
0
0
0
0
0
0
1
e039025b909a6c65c69b13e173819cd18eaa4934
895
py
Python
apps/product/migrations/0015_auto_20210722_1952.py
TheRK420/ecommerce
fe95ffb3215db965ede91dabbe6f167ebac8abaa
[ "MIT" ]
null
null
null
apps/product/migrations/0015_auto_20210722_1952.py
TheRK420/ecommerce
fe95ffb3215db965ede91dabbe6f167ebac8abaa
[ "MIT" ]
null
null
null
apps/product/migrations/0015_auto_20210722_1952.py
TheRK420/ecommerce
fe95ffb3215db965ede91dabbe6f167ebac8abaa
[ "MIT" ]
null
null
null
# Generated by Django 3.0.14 on 2021-07-22 14:22 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('product', '0014_auto_20210722_0032'), ] operations = [ migrations.RemoveField( model_name='product', name='dimensio...
27.121212
82
0.576536
90
895
5.588889
0.466667
0.071571
0.127237
0.159046
0.560636
0.560636
0.485089
0.485089
0.485089
0.485089
0
0.066129
0.307263
895
32
83
27.96875
0.745161
0.051397
0
0.538462
1
0
0.102715
0.027155
0
0
0
0
0
1
0
false
0
0.038462
0
0.153846
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
e03b5f30e2439518bb770e5dff52c3981adff341
2,904
py
Python
src/rules/sf_uniprot.py
samesense/mahdi_epi
ec002df1d6b0dbdd4be8675e48971ed604ee9014
[ "MIT" ]
4
2018-06-05T06:13:04.000Z
2020-11-16T03:03:14.000Z
src/rules/sf_uniprot.py
samesense/mahdi_epi
ec002df1d6b0dbdd4be8675e48971ed604ee9014
[ "MIT" ]
25
2018-05-25T11:46:06.000Z
2018-05-29T10:57:07.000Z
src/rules/sf_uniprot.py
samesense/mahdi_epi
ec002df1d6b0dbdd4be8675e48971ed604ee9014
[ "MIT" ]
null
null
null
"""Handle neutral uniprot variants for FATHMM. I onlyget have codons here, so you are in the neutral dataset if you fall in the codon. """ up_ftp = 'ftp.uniprot.org/pub/databases/uniprot/current_release/knowledgebase/genome_annotation_tracks/UP000005640_9606_beds/UP000005640_9606_variants.bed' rule dl_uniprot_hu...
40.901408
155
0.571625
377
2,904
4.320955
0.312997
0.092081
0.077348
0.111725
0.340086
0.297115
0.2124
0.03806
0.03806
0.03806
0
0.036067
0.30303
2,904
70
156
41.485714
0.768775
0.01343
0
0.135593
0
0.033898
0.291284
0.236484
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
1
e03cc820538cc7a16528b44c6c8b65c8bd9de012
3,521
py
Python
tfidf_cv_lowestRMSE.py
hanhanwu/Hanhan-Spark-Python
a04c33100742acffa2ad11d1937ea05c44688427
[ "MIT" ]
45
2016-03-18T07:57:53.000Z
2022-03-20T07:14:15.000Z
tfidf_cv_lowestRMSE.py
hanhanwu/Hanhan-Spark-Python
a04c33100742acffa2ad11d1937ea05c44688427
[ "MIT" ]
null
null
null
tfidf_cv_lowestRMSE.py
hanhanwu/Hanhan-Spark-Python
a04c33100742acffa2ad11d1937ea05c44688427
[ "MIT" ]
16
2016-07-07T16:47:46.000Z
2020-05-04T17:38:40.000Z
__author__ = 'hanhanw' import sys from pyspark import SparkConf, SparkContext from pyspark.sql.context import SQLContext from pyspark.mllib.regression import LabeledPoint, LinearRegressionWithSGD from pyspark.mllib.linalg import SparseVector from pyspark.mllib.feature import Normalizer import re import operator import...
34.861386
116
0.670548
490
3,521
4.591837
0.283673
0.039111
0.042667
0.015111
0.283556
0.264
0.264
0.231111
0.231111
0.231111
0
0.015988
0.218404
3,521
100
117
35.21
0.801599
0.048566
0
0.049383
0
0
0.051704
0.011058
0
0
0
0
0.012346
0
null
null
0
0.111111
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
e0400034176ab4c4c967a1a637431410b47224a6
762
py
Python
stanfordnlp/preprocessing/deep_clean.py
Off-Top-App/off-top-python
af51a7da0e52d6ad978835cb05986d7c2a917861
[ "bzip2-1.0.6" ]
3
2019-12-01T23:09:12.000Z
2020-12-22T03:02:37.000Z
stanfordnlp/preprocessing/deep_clean.py
Off-Top-App/off-top-python
af51a7da0e52d6ad978835cb05986d7c2a917861
[ "bzip2-1.0.6" ]
5
2020-03-05T17:17:12.000Z
2020-06-16T07:02:27.000Z
stanfordnlp/preprocessing/deep_clean.py
Off-Top-App/off-top-python
af51a7da0e52d6ad978835cb05986d7c2a917861
[ "bzip2-1.0.6" ]
1
2020-05-18T12:57:14.000Z
2020-05-18T12:57:14.000Z
import os import sys import re import nltk from nltk.tokenize import word_tokenize from nltk.tokenize import sent_tokenize import unicodedata #nltk.download() #python -m nltk.downloader all #Default location - C:\Users\smika\AppData\Roaming\nltk_data output= open('deep-clean-output18.txt', 'w', encoding="utf8") globa...
23.8125
61
0.631234
99
762
4.818182
0.606061
0.08805
0.067086
0.092243
0
0
0
0
0
0
0
0.012027
0.23622
762
31
62
24.580645
0.80756
0.135171
0
0
0
0
0.08689
0.035061
0
0
0
0
0
1
0.043478
false
0
0.304348
0
0.347826
0.086957
0
0
0
null
0
0
0
0
0
0
0
0
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
e05271c0b0478cc72dd2d3c468e2146a39600deb
722
py
Python
examples/riscv_ext/isa.py
cdonovick/peak-examples
9d0799f1afafc801619a5cb15acd69603c49bb17
[ "MIT" ]
null
null
null
examples/riscv_ext/isa.py
cdonovick/peak-examples
9d0799f1afafc801619a5cb15acd69603c49bb17
[ "MIT" ]
null
null
null
examples/riscv_ext/isa.py
cdonovick/peak-examples
9d0799f1afafc801619a5cb15acd69603c49bb17
[ "MIT" ]
null
null
null
from types import SimpleNamespace from hwtypes.adt import Enum, Product, TaggedUnion, Sum from hwtypes.adt_util import rebind_type from peak import family_closure from . import family from ..riscv import isa @family_closure(family) def ISA_fc(family): ns = isa.ISA_fc(family) class E(Product): rd =...
18.512821
105
0.627424
107
722
4.168224
0.429907
0.053812
0.06278
0
0
0
0
0
0
0
0
0
0.270083
722
38
106
19
0.8463
0.016621
0
0
0
0
0
0
0
0
0
0
0
1
0.041667
false
0
0.25
0
0.75
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
e054689bee77148229962d3677a9a8f8abdf1449
9,413
py
Python
UNET_UNIT/train_loop.py
BradleyBrown19/UNET-UNIT
cdd0d0ab763feb255059263a52e7e513f80b11da
[ "Apache-2.0" ]
4
2020-01-28T04:49:52.000Z
2020-12-27T03:26:12.000Z
UNET_UNIT/train_loop.py
BradleyBrown19/UNET-UNIT
cdd0d0ab763feb255059263a52e7e513f80b11da
[ "Apache-2.0" ]
3
2020-02-21T11:13:14.000Z
2022-02-26T08:28:09.000Z
UNET_UNIT/train_loop.py
BradleyBrown19/UNET-UNIT
cdd0d0ab763feb255059263a52e7e513f80b11da
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED! DO NOT EDIT! File to edit: TrainLoop.ipynb (unless otherwise specified). __all__ = ['UNET_UNIT', 'GANModule', 'GANLoss', 'GANTrainer', 'FixedGANSwitcher'] # Cell #export from fastai import * from fastai.vision import * from fastai.callbacks import * from fastai.utils.mem import * from fastai.vision.g...
43.985981
139
0.671943
1,438
9,413
4.16064
0.157858
0.032759
0.029417
0.010864
0.222464
0.154772
0.122012
0.079559
0.045128
0.027745
0
0.008903
0.212472
9,413
214
140
43.985981
0.798192
0.129927
0
0.108434
1
0.012048
0.125876
0
0
0
0
0
0
1
0.114458
false
0
0.084337
0.006024
0.26506
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
e054ab4168202128eea588ab81a8f0a407d3a06a
1,005
py
Python
py_pdf_term/candidates/_candidates/filters/term/propernoun/japanese.py
kumachan-mis/py-pdf-term
282505826ce8c626003e753068d15738d772ce46
[ "MIT" ]
null
null
null
py_pdf_term/candidates/_candidates/filters/term/propernoun/japanese.py
kumachan-mis/py-pdf-term
282505826ce8c626003e753068d15738d772ce46
[ "MIT" ]
1
2021-08-02T13:02:12.000Z
2021-08-02T13:02:12.000Z
py_pdf_term/candidates/_candidates/filters/term/propernoun/japanese.py
kumachan-mis/py-pdf-term
282505826ce8c626003e753068d15738d772ce46
[ "MIT" ]
null
null
null
from py_pdf_term._common.data import Term from py_pdf_term.tokenizer import Token from py_pdf_term.tokenizer.langs import JapaneseTokenClassifier from ..base import BaseJapaneseCandidateTermFilter class JapaneseProperNounFilter(BaseJapaneseCandidateTermFilter): def __init__(self) -> None: self._classifie...
35.892857
70
0.656716
112
1,005
5.544643
0.401786
0.064412
0.064412
0.10306
0.244767
0
0
0
0
0
0
0
0.265672
1,005
27
71
37.222222
0.841463
0
0
0
0
0
0.00995
0
0
0
0
0
0
1
0.190476
false
0
0.190476
0.095238
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
e05bdc9d4200192618f7f02671d9c1857907077b
208
py
Python
Taller #4/Ej8.py
DavidIbanez2/Algoritmos_Programacion
2599de634273dd831504ba877c62e15aa972b872
[ "MIT" ]
null
null
null
Taller #4/Ej8.py
DavidIbanez2/Algoritmos_Programacion
2599de634273dd831504ba877c62e15aa972b872
[ "MIT" ]
null
null
null
Taller #4/Ej8.py
DavidIbanez2/Algoritmos_Programacion
2599de634273dd831504ba877c62e15aa972b872
[ "MIT" ]
null
null
null
while(True): try: n = int(input()) if(n==2002): print("Acesso Permitido") break else: print("Senha Invalida") except EOFError: break
20.8
37
0.451923
20
208
4.7
0.85
0
0
0
0
0
0
0
0
0
0
0.033898
0.432692
208
10
38
20.8
0.762712
0
0
0.2
0
0
0.143541
0
0
0
0
0
0
1
0
false
0
0
0
0
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
e066216c54c2e19a29127454870175a0c40f5285
4,127
py
Python
docs/python/_includes/example_client.py
yeosujin/azure-sdk-korean
be4cf523bea76ec007ea425550d7e2d6026187c0
[ "MIT" ]
302
2018-11-08T23:34:54.000Z
2022-03-22T23:19:07.000Z
docs/python/_includes/example_client.py
yeosujin/azure-sdk-korean
be4cf523bea76ec007ea425550d7e2d6026187c0
[ "MIT" ]
2,451
2018-11-15T16:08:23.000Z
2022-03-31T17:11:51.000Z
docs/python/_includes/example_client.py
yeosujin/azure-sdk-korean
be4cf523bea76ec007ea425550d7e2d6026187c0
[ "MIT" ]
229
2018-12-14T02:34:44.000Z
2022-03-20T04:43:49.000Z
"""Example client using some of the most common API patterns """ import models import azure.core.pipeline.transport as transports class Thing(object): """A simple model type representing a Thing. :ivar name: The name of the thing. :vartype name: str :ivar size: The size of the thing. :vartype s...
33.552846
100
0.625878
481
4,127
5.266112
0.307692
0.035531
0.023687
0.020529
0.154362
0.131465
0.106593
0.106593
0.070272
0.070272
0
0.007997
0.272837
4,127
122
101
33.827869
0.836055
0.49794
0
0.111111
0
0
0.030495
0
0
0
0
0.008197
0
1
0.222222
false
0
0.055556
0.027778
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
e06f0b286e6e940a5bb2e3eaa6f32766a89e1064
8,013
py
Python
sahara/api/v11.py
redhat-openstack/sahara
67165c96eceb1ce3b087870934d394602f5dd959
[ "Apache-2.0" ]
null
null
null
sahara/api/v11.py
redhat-openstack/sahara
67165c96eceb1ce3b087870934d394602f5dd959
[ "Apache-2.0" ]
null
null
null
sahara/api/v11.py
redhat-openstack/sahara
67165c96eceb1ce3b087870934d394602f5dd959
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2013 Mirantis Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
32.975309
77
0.755647
1,303
8,013
4.330008
0.118189
0.105282
0.078341
0.042538
0.628855
0.579404
0.460829
0.387274
0.310883
0.216235
0
0.001398
0.107326
8,013
242
78
33.11157
0.787362
0.098091
0
0.164557
0
0
0.194753
0.126319
0
0
0
0
0
1
0.164557
false
0
0.063291
0.101266
0.392405
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
1
0
0
0
1
e078a7655f39833a93f73b2a50735b7ef5f3570c
4,060
py
Python
ztools/ztools/utils/progressbar.py
zoumingzhe/ztools
1f4d1c17f418486fcdd36e648015b7909210745a
[ "MIT" ]
3
2019-05-02T07:08:15.000Z
2021-03-10T04:55:03.000Z
ztools/ztools/utils/progressbar.py
zoumingzhe/ztools
1f4d1c17f418486fcdd36e648015b7909210745a
[ "MIT" ]
null
null
null
ztools/ztools/utils/progressbar.py
zoumingzhe/ztools
1f4d1c17f418486fcdd36e648015b7909210745a
[ "MIT" ]
1
2019-05-13T07:26:33.000Z
2019-05-13T07:26:33.000Z
#!/usr/bin/env python3 # coding=utf-8 # ---------------------------------------------------------------------------------------------------- # 类 progressbar # ---------------------------------------------------------------------------------------------------- # 变更履历: # 2021-02-27 | Zou Mingzhe | Ver0.3 | 1.删除 Versio...
41.010101
111
0.366995
339
4,060
4.333333
0.300885
0.061266
0.047651
0.030633
0.382573
0.353982
0.328114
0.328114
0.328114
0.328114
0
0.027989
0.287192
4,060
98
112
41.428571
0.475812
0.475123
0
0.519231
0
0
0.028307
0
0
0
0
0
0
1
0.076923
false
0
0.019231
0
0.153846
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
0eb9dc51f02341127531c2bdd17f219c4e28316a
1,334
py
Python
src/madi/detectors/isolation_forest_detector.py
ssoudan/madi
6cd47a3fbd32f0b02759ed8658ec5ca1d1ba50b6
[ "Apache-2.0" ]
null
null
null
src/madi/detectors/isolation_forest_detector.py
ssoudan/madi
6cd47a3fbd32f0b02759ed8658ec5ca1d1ba50b6
[ "Apache-2.0" ]
null
null
null
src/madi/detectors/isolation_forest_detector.py
ssoudan/madi
6cd47a3fbd32f0b02759ed8658ec5ca1d1ba50b6
[ "Apache-2.0" ]
null
null
null
# Lint as: python3 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required ...
39.235294
78
0.727886
179
1,334
5.368715
0.581006
0.062435
0.027055
0.033299
0
0
0
0
0
0
0
0.010195
0.191154
1,334
33
79
40.424242
0.880445
0.533733
0
0
0
0
0.016722
0
0
0
0
0
0
1
0.153846
false
0
0.307692
0
0.692308
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
0ebbbb13e15299e1ecc9f0478a9dfb66efa47403
748
py
Python
setup.py
openstack/xstatic-angular-material
943f5f9ea9e760cd13463ba3c6324a447a45d70b
[ "MIT" ]
4
2018-08-02T12:11:27.000Z
2019-01-28T22:13:38.000Z
setup.py
openstack/xstatic-angular-material
943f5f9ea9e760cd13463ba3c6324a447a45d70b
[ "MIT" ]
null
null
null
setup.py
openstack/xstatic-angular-material
943f5f9ea9e760cd13463ba3c6324a447a45d70b
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages from xstatic.pkg import angular_material as xs # The README.txt file should be written in reST so that PyPI can use # it to generate your project's PyPI page. long_description = open('README.rst').read() setup( name=xs.PACKAGE_NAME, version=xs.PACKAGE_VERSION, d...
28.769231
68
0.741979
98
748
5.510204
0.591837
0.083333
0.096296
0
0
0
0
0
0
0
0
0
0.161765
748
25
69
29.92
0.861244
0.143048
0
0
1
0
0.043887
0
0
0
0
0
0
1
0
false
0
0.095238
0
0.095238
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
0ebbc745cbd28778954ccf81e98888b239dcbe4d
1,251
py
Python
api/migrations/0014_weixinaccount.py
chenxiaoli/auth21
a2b15ecb883416e011da03d6ec066459fa28f693
[ "MIT" ]
null
null
null
api/migrations/0014_weixinaccount.py
chenxiaoli/auth21
a2b15ecb883416e011da03d6ec066459fa28f693
[ "MIT" ]
null
null
null
api/migrations/0014_weixinaccount.py
chenxiaoli/auth21
a2b15ecb883416e011da03d6ec066459fa28f693
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-09-26 15:27 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('api', '0013_auto_20170915_1717'), ] operations = [ migrations.CreateModel( ...
39.09375
140
0.583533
131
1,251
5.381679
0.587786
0.093617
0.113475
0.13617
0.22695
0.22695
0.133333
0.133333
0.133333
0
0
0.050811
0.260592
1,251
31
141
40.354839
0.711351
0.054357
0
0
1
0
0.161017
0.019492
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
0ec46b7404a98de4c35f6a4086ff7368258db63d
2,202
py
Python
pred_vae.py
hugochan/K-Competitive-Autoencoder-for-Text-Analytics
5433de649028a4e021b8ad17cd0ec5da8c726031
[ "BSD-3-Clause" ]
133
2017-05-30T20:28:24.000Z
2022-03-10T01:27:43.000Z
pred_vae.py
hugochan/K-Competitive-Autoencoder-for-Text-Analytics
5433de649028a4e021b8ad17cd0ec5da8c726031
[ "BSD-3-Clause" ]
34
2017-09-04T08:04:50.000Z
2022-02-10T01:12:17.000Z
pred_vae.py
hugochan/K-Competitive-Autoencoder-for-Text-Analytics
5433de649028a4e021b8ad17cd0ec5da8c726031
[ "BSD-3-Clause" ]
49
2017-07-08T09:30:17.000Z
2021-07-30T04:37:29.000Z
''' Created on Jan, 2017 @author: hugo ''' from __future__ import absolute_import import argparse import numpy as np from autoencoder.core.vae import VarAutoEncoder, load_vae_model from autoencoder.core.deepae import DeepAutoEncoder from autoencoder.preprocessing.preprocessing import load_corpus, doc2vec from autoen...
32.382353
110
0.663034
317
2,202
4.425868
0.318612
0.053457
0.048468
0.037063
0.086244
0.068425
0.068425
0.068425
0
0
0
0.007932
0.198456
2,202
67
111
32.865672
0.786969
0.334696
0
0
0
0
0.125535
0
0
0
0
0
0
0
null
null
0
0.258065
null
null
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
1
0
0
0
0
0
0
0
0
1
0ec673c23aaf121450ab331d0002856faadbda46
975
py
Python
kloppy_spark/utils/kloppy_helpers.py
deepsports-io/kloppy-spark
47bf1ed8b258e7354075d3ba6373cbc4cbd33a75
[ "BSD-3-Clause" ]
null
null
null
kloppy_spark/utils/kloppy_helpers.py
deepsports-io/kloppy-spark
47bf1ed8b258e7354075d3ba6373cbc4cbd33a75
[ "BSD-3-Clause" ]
2
2020-12-22T21:33:27.000Z
2020-12-28T13:06:32.000Z
kloppy_spark/utils/kloppy_helpers.py
deepsports-io/kloppy-spark
47bf1ed8b258e7354075d3ba6373cbc4cbd33a75
[ "BSD-3-Clause" ]
null
null
null
import numpy as np def fix_kloppy_dataframe(pdf): pdf["end_timestamp"] = pdf["end_timestamp"].astype(np.float64) pdf["end_coordinates_x"] = pdf["end_coordinates_x"].astype(np.float64) pdf["end_coordinates_y"] = pdf["end_coordinates_y"].astype(np.float64) pdf["result"] = pdf["result"].astype(str) p...
44.318182
81
0.68
144
975
4.3125
0.291667
0.057971
0.10467
0.086957
0.10306
0.10306
0
0
0
0
0
0.010883
0.151795
975
21
82
46.428571
0.740024
0
0
0
0
0
0.389744
0.067692
0
0
0
0
0
1
0.052632
false
0.105263
0.052632
0
0.157895
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
0ec6b6baf03a27d25e080f3705521328c3eab938
565
py
Python
code/prime_subset_sums/sol_249.py
bhavinjawade/project-euler-solutions
56bf6a282730ed4b9b875fa081cf4509d9939d98
[ "Apache-2.0" ]
2
2020-07-16T08:16:32.000Z
2020-10-01T07:16:48.000Z
code/prime_subset_sums/sol_249.py
Psingh12354/project-euler-solutions
56bf6a282730ed4b9b875fa081cf4509d9939d98
[ "Apache-2.0" ]
null
null
null
code/prime_subset_sums/sol_249.py
Psingh12354/project-euler-solutions
56bf6a282730ed4b9b875fa081cf4509d9939d98
[ "Apache-2.0" ]
1
2021-05-07T18:06:08.000Z
2021-05-07T18:06:08.000Z
# -*- coding: utf-8 -*- ''' File name: code\prime_subset_sums\sol_249.py Author: Vaidic Joshi Date created: Oct 20, 2018 Python Version: 3.x ''' # Solution to Project Euler Problem #249 :: Prime Subset Sums # # For more information see: # https://projecteuler.net/problem=249 # Problem Statement '''...
20.925926
77
0.672566
86
565
4.383721
0.767442
0.058355
0.079576
0
0
0
0
0
0
0
0
0.067114
0.20885
565
26
78
21.730769
0.776286
0.539823
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0ec6fb59b1f41fba9e91033d0fe36196f8b89472
686
py
Python
example/downloadACSBG.py
tianxie1995/socio-fetcher
6fbac04f58dc7684472ac6c6ae9ba7730bfcca7d
[ "BSD-3-Clause" ]
1
2019-08-02T17:48:06.000Z
2019-08-02T17:48:06.000Z
example/downloadACSBG.py
tianxie1995/socio-fetcher
6fbac04f58dc7684472ac6c6ae9ba7730bfcca7d
[ "BSD-3-Clause" ]
null
null
null
example/downloadACSBG.py
tianxie1995/socio-fetcher
6fbac04f58dc7684472ac6c6ae9ba7730bfcca7d
[ "BSD-3-Clause" ]
null
null
null
from socioFetcher import Config, Downloader myConfig = Config() myConfig.ACS.API_KEY = "YOUR_ACS_KEY" myConfig.ACS.YEAR = [ "2017", "2018"] myConfig.ACS.FIELDS = [ { "data": "acs", "id": "B25002_002E", "desc": "Total Occupied Household", "availability": { "subcategory": "acs5", "subject"...
23.655172
61
0.59621
74
686
5.445946
0.635135
0.081886
0.044665
0.168734
0.193548
0
0
0
0
0
0
0.056881
0.205539
686
29
62
23.655172
0.682569
0
0
0.275862
0
0
0.312955
0
0
0
0
0
0
1
0
false
0
0.034483
0
0.034483
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
0
0
0
1
0ed0a031e490c10682d9e2f28f4d7bc279736520
1,115
py
Python
backend/GDVoteSys/apps/migrations/0011_auto_20210119_1447.py
isatisroot/GDTPS
92a599751d46c1a36149de3e283d8c63aa66d1f9
[ "Xnet", "X11" ]
null
null
null
backend/GDVoteSys/apps/migrations/0011_auto_20210119_1447.py
isatisroot/GDTPS
92a599751d46c1a36149de3e283d8c63aa66d1f9
[ "Xnet", "X11" ]
null
null
null
backend/GDVoteSys/apps/migrations/0011_auto_20210119_1447.py
isatisroot/GDTPS
92a599751d46c1a36149de3e283d8c63aa66d1f9
[ "Xnet", "X11" ]
null
null
null
# Generated by Django 3.0.6 on 2021-01-19 06:47 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('apps', '0010_onsitemeeting_meno'), ] operations = [ migrations.CreateModel( name='GB', ...
30.972222
114
0.532735
105
1,115
5.52381
0.571429
0.075862
0.048276
0.075862
0
0
0
0
0
0
0
0.025266
0.325561
1,115
35
115
31.857143
0.746011
0.040359
0
0.068966
1
0
0.117041
0.021536
0
0
0
0
0
1
0
false
0
0.068966
0
0.172414
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
0ed388365d4a971b898be73227df5f33e212e48c
2,861
py
Python
schemas/subject.py
BrainCOGS/lightserv
a47bfb911f095030d811b755acb458c71f18baa2
[ "BSD-3-Clause" ]
null
null
null
schemas/subject.py
BrainCOGS/lightserv
a47bfb911f095030d811b755acb458c71f18baa2
[ "BSD-3-Clause" ]
null
null
null
schemas/subject.py
BrainCOGS/lightserv
a47bfb911f095030d811b755acb458c71f18baa2
[ "BSD-3-Clause" ]
null
null
null
"""This module defines tables in the schema U19_subject""" import datajoint as dj import os, sys if os.environ.get('FLASK_MODE') == 'TEST': dj.config['database.host'] = 'datajoint00.pni.princeton.edu' dj.config['database.port'] = 3306 dj.config['database.user'] = os.environ['DJ_DB_TEST_USER'] dj.conf...
32.885057
115
0.514156
295
2,861
4.901695
0.416949
0.062932
0.129322
0.136929
0.177732
0.127939
0
0
0
0
0
0.053279
0.317721
2,861
86
116
33.267442
0.6875
0.018175
0
0.260274
0
0
0.652158
0.044952
0
0
0
0
0
1
0
false
0.013699
0.041096
0
0.191781
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0ed8ad0657faa6aa668fb1fd5c9735773834abe6
308
py
Python
factorialNumber.py
ajaykhanna123/Python-Thunder
16809095e73e7242e394d8ee85f190b94c08c669
[ "MIT" ]
null
null
null
factorialNumber.py
ajaykhanna123/Python-Thunder
16809095e73e7242e394d8ee85f190b94c08c669
[ "MIT" ]
null
null
null
factorialNumber.py
ajaykhanna123/Python-Thunder
16809095e73e7242e394d8ee85f190b94c08c669
[ "MIT" ]
null
null
null
''' Probem Task : Factorial of a number Problem Link : https://www.geeksforgeeks.org/factorial-in-python/ ''' */ # Python code to demonstrate naive method # to compute factorial n = 23 fact = 1 for i in range(1,n+1): fact = fact * i print ("The factorial of 23 is : ",end="") print (fact)
18.117647
69
0.642857
47
308
4.212766
0.659574
0.111111
0
0
0
0
0
0
0
0
0
0.029289
0.224026
308
16
70
19.25
0.799163
0.198052
0
0
0
0
0.2
0
0
0
0
0
0
0
null
null
0
0
null
null
0.285714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0ed94cf208e27f37e19b13cc1fab0e429eb292a1
12,047
py
Python
utils/pylib/constants.py
datle1/tf-vrouter
aa2e4b8bf6980aef19a3a9fb30da9c51086f0f8c
[ "BSD-2-Clause" ]
1
2022-01-20T03:23:49.000Z
2022-01-20T03:23:49.000Z
utils/pylib/constants.py
datle1/tf-vrouter
aa2e4b8bf6980aef19a3a9fb30da9c51086f0f8c
[ "BSD-2-Clause" ]
null
null
null
utils/pylib/constants.py
datle1/tf-vrouter
aa2e4b8bf6980aef19a3a9fb30da9c51086f0f8c
[ "BSD-2-Clause" ]
null
null
null
import socket # TODO: This should be auto generated in future SANDESH_OPER_ADD = 0 SANDESH_OPER_GET = 1 SANDESH_OPER_DEL = 2 SANDESH_OPER_DUMP = 3 SANDESH_OPER_RESPONSE = 4 SANDESH_OPER_RESET = 5 VIF_TYPE_HOST = 0 VIF_TYPE_AGENT = 1 VIF_TYPE_PHYSICAL = 2 VIF_TYPE_VIRTUAL = 3 VIF_TYPE_XEN_LL_HOST = 4 VIF_TYPE_GATEWAY...
24.094
71
0.832821
2,297
12,047
3.793644
0.251633
0.050952
0.032132
0.014689
0.060363
0.025935
0.021804
0.021804
0.021804
0.021804
0
0.114651
0.124678
12,047
499
72
24.142285
0.711712
0.074458
0
0.014851
1
0
0
0
0
0
0.097267
0.002004
0
1
0
false
0
0.002475
0
0.002475
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
0ed9b20b06daa624d8cd22f890369ba291318af7
1,093
py
Python
src/zibalzeep/xsd/elements/builtins.py
imanashoorii/zibal-zeep
9ff7b229b0759597823da41d1dbf48c6e7b5b383
[ "MIT" ]
null
null
null
src/zibalzeep/xsd/elements/builtins.py
imanashoorii/zibal-zeep
9ff7b229b0759597823da41d1dbf48c6e7b5b383
[ "MIT" ]
null
null
null
src/zibalzeep/xsd/elements/builtins.py
imanashoorii/zibal-zeep
9ff7b229b0759597823da41d1dbf48c6e7b5b383
[ "MIT" ]
null
null
null
from __future__ import division from zibalzeep.xsd.const import xsd_ns from zibalzeep.xsd.elements.base import Base class Schema(Base): name = "schema" attr_name = "schema" qname = xsd_ns("schema") def clone(self, qname, min_occurs=1, max_occurs=1): return self.__class__() def parse_kwa...
27.325
78
0.653248
128
1,093
5.40625
0.335938
0.056358
0.069364
0.072254
0
0
0
0
0
0
0
0.00369
0.256176
1,093
39
79
28.025641
0.847478
0
0
0
0
0
0.016468
0
0
0
0
0
0
1
0.178571
false
0
0.142857
0.071429
0.678571
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
0eda02006597e3feb45afce413413dbf3df38a95
1,171
py
Python
tests/conftest.py
xdrus/aws-hello-world
5aa3f0d7afab9e300ea3bca6f5dd19aa92115cea
[ "MIT" ]
null
null
null
tests/conftest.py
xdrus/aws-hello-world
5aa3f0d7afab9e300ea3bca6f5dd19aa92115cea
[ "MIT" ]
null
null
null
tests/conftest.py
xdrus/aws-hello-world
5aa3f0d7afab9e300ea3bca6f5dd19aa92115cea
[ "MIT" ]
null
null
null
"""Shared fictures and tests configuration.""" import pytest import urllib.request import urllib.error def pytest_addoption(parser): """Add options to configure tests behaiviour.""" parser.addoption("--url", action="store", help="URL to check") @pytest.fixture(scope="module") def url(request): """ ...
22.519231
77
0.669513
156
1,171
5.012821
0.480769
0.049872
0.069054
0.092072
0.182864
0.148338
0
0
0
0
0
0
0.22374
1,171
51
78
22.960784
0.860286
0.368915
0
0.142857
0
0
0.158921
0
0
0
0
0
0
1
0.190476
false
0
0.142857
0
0.52381
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
0eddec4007f87b8c9461701f7d923e6898ea57e3
1,933
py
Python
core/utils/shikimori/api_builder.py
AnyKeyShik/Bismark
e957cf492c610162f2b9a168a484c825ed2861e4
[ "MIT" ]
2
2020-01-08T14:05:29.000Z
2020-03-02T02:46:17.000Z
core/utils/shikimori/api_builder.py
AnyKeyShik/Bismarck
e957cf492c610162f2b9a168a484c825ed2861e4
[ "MIT" ]
11
2019-04-14T22:46:15.000Z
2020-05-12T19:11:04.000Z
core/utils/shikimori/api_builder.py
AnyKeyShik/Bismark
e957cf492c610162f2b9a168a484c825ed2861e4
[ "MIT" ]
2
2020-02-11T15:14:43.000Z
2020-04-07T06:01:38.000Z
# -*- coding: utf-8 -*- # Copyright (c) 2020. # # Created by AnyKeyShik Rarity # # Telegram: @AnyKeyShik # GitHub: https://github.com/AnyKeyShik # E-mail: nikitag594@gmail.com import urllib.parse from time import sleep import requests class TooManyRequestsException(Exception): pass class Unexpected...
23.864198
76
0.63373
221
1,933
5.180995
0.361991
0.034935
0.031441
0.052402
0.136245
0.136245
0.136245
0.073362
0.073362
0.073362
0
0.011913
0.261769
1,933
80
77
24.1625
0.79047
0.087429
0
0.313725
0
0
0.00057
0
0
0
0
0
0
1
0.235294
false
0.039216
0.058824
0.019608
0.54902
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0ee1264ea596fcdc56dc09460a8eddb1fc7e4483
2,355
py
Python
pycerberus/i18n.py
FelixSchwarz/pycerberus
d38376a52e61516023a3de61d43ef3d225161c7e
[ "MIT" ]
null
null
null
pycerberus/i18n.py
FelixSchwarz/pycerberus
d38376a52e61516023a3de61d43ef3d225161c7e
[ "MIT" ]
4
2018-10-21T16:00:59.000Z
2019-09-14T21:05:32.000Z
pycerberus/i18n.py
FelixSchwarz/pycerberus
d38376a52e61516023a3de61d43ef3d225161c7e
[ "MIT" ]
null
null
null
# -*- coding: UTF-8 -*- # This file is a part of pycerberus. # The source code contained in this file is licensed under the MIT license. # See LICENSE.txt in the main project directory, for more information. # SPDX-License-Identifier: MIT from __future__ import absolute_import, print_function, unicode_literals import...
33.169014
102
0.669214
288
2,355
5.15625
0.392361
0.036364
0.022222
0.028283
0.117845
0.087542
0.087542
0.047138
0
0
0
0.001661
0.233121
2,355
70
103
33.642857
0.818937
0.147771
0
0
0
0
0.068603
0
0
0
0
0
0
1
0.2
false
0
0.111111
0.088889
0.577778
0.022222
0
0
0
null
0
0
0
0
0
0
0
0
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
0ee69ee816f434f7752119f4d4d3e86d17308758
10,943
py
Python
sdk/python/pulumi_kubernetes/storage/v1beta1/StorageClass.py
hazsetata/pulumi-kubernetes
e3aa3027fa3bb268c496af174b59a9913ae8094e
[ "Apache-2.0" ]
null
null
null
sdk/python/pulumi_kubernetes/storage/v1beta1/StorageClass.py
hazsetata/pulumi-kubernetes
e3aa3027fa3bb268c496af174b59a9913ae8094e
[ "Apache-2.0" ]
null
null
null
sdk/python/pulumi_kubernetes/storage/v1beta1/StorageClass.py
hazsetata/pulumi-kubernetes
e3aa3027fa3bb268c496af174b59a9913ae8094e
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by pulumigen. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Dict, List, Mapping, Optional, Tuple, Union from ... import _utilities, _tables from ... i...
56.994792
422
0.69862
1,289
10,943
5.770365
0.198604
0.041409
0.030116
0.025545
0.555929
0.49395
0.465985
0.432643
0.409788
0.392579
0
0.00244
0.213653
10,943
191
423
57.293194
0.861941
0.449328
0
0.144144
1
0
0.161497
0.048663
0
0
0
0
0
1
0.126126
false
0.009009
0.063063
0.018018
0.315315
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
0ee6b3b1dc0dc7eb8d479805aedbf20e74a0908a
2,882
py
Python
embedding/elmo_embeddings.py
mihaela-bornea/low-shot-text-classification
02936ae1b0719729727bdcf02c44748065b84b3f
[ "Apache-2.0" ]
7
2020-03-05T11:48:37.000Z
2021-03-04T12:28:12.000Z
embedding/elmo_embeddings.py
mihaela-bornea/low-shot-text-classification
02936ae1b0719729727bdcf02c44748065b84b3f
[ "Apache-2.0" ]
1
2020-02-27T06:47:17.000Z
2020-03-03T01:00:18.000Z
embedding/elmo_embeddings.py
mihaela-bornea/low-shot-text-classification
02936ae1b0719729727bdcf02c44748065b84b3f
[ "Apache-2.0" ]
3
2020-03-05T11:48:45.000Z
2020-09-30T23:19:58.000Z
''' Wrapper for elmo embeddings ''' import torch from allennlp.modules.elmo import Elmo, batch_to_ids from embedding.embeddings_cache import EmbeddingsCache default_options_file = "https://s3-us-west-2.amazonaws.com/allennlp/models/elmo/2x4096_512_2048cnn_2xhighway/elmo_2x4096_512_2048cnn_2xhighway_options.json" defa...
36.948718
156
0.664122
377
2,882
4.872679
0.331565
0.070768
0.021775
0.043549
0.16331
0.139358
0.111051
0.111051
0.111051
0.111051
0
0.040528
0.238029
2,882
78
157
36.948718
0.795993
0.281402
0
0.153846
0
0.051282
0.141787
0
0
0
0
0
0
1
0.179487
false
0
0.076923
0.128205
0.435897
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
1
0
0
0
1
0eebe5df235377d1faae7ce5a0dd6cecbe937dba
835
py
Python
definitions/patches/llvm36/FreeBSD/patch-utils_llvm-build_llvmbuild_main.py
VerKnowSys/sofin-definitions
9ca5a00fda2acd510e59d39b50bd74c930edcc26
[ "BSD-2-Clause" ]
1
2021-12-07T12:36:18.000Z
2021-12-07T12:36:18.000Z
definitions/patches/llvm36/FreeBSD/patch-utils_llvm-build_llvmbuild_main.py
VerKnowSys/sofin-definitions
9ca5a00fda2acd510e59d39b50bd74c930edcc26
[ "BSD-2-Clause" ]
1
2019-01-10T15:36:52.000Z
2019-01-10T15:36:53.000Z
definitions/patches/llvm36/FreeBSD/patch-utils_llvm-build_llvmbuild_main.py
VerKnowSys/sofin-definitions
9ca5a00fda2acd510e59d39b50bd74c930edcc26
[ "BSD-2-Clause" ]
null
null
null
--- utils/llvm-build/llvmbuild/main.py.orig +++ utils/llvm-build/llvmbuild/main.py @@ -718,7 +718,18 @@ # We handle a few special cases of target names here for historical # reasons, as these are the names configure currently comes up with. - native_target_name = { 'x86' : 'X86', + native_target_name ...
36.304348
73
0.473054
84
835
4.619048
0.619048
0.123711
0.072165
0.118557
0.149485
0.149485
0
0
0
0
0
0.078505
0.359281
835
22
74
37.954545
0.646729
0
0
0
0
0
0.198571
0
0
0
0
0
0
0
null
null
0
0
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
0eedf8f51754403db77a0ac6706f16d85a051e09
573
py
Python
leetcode/easy/ugly_number/py/solution.py
lilsweetcaligula/Online-Judges
48454a8e6b5b86f80e89eca1b396480df8960cfd
[ "MIT" ]
null
null
null
leetcode/easy/ugly_number/py/solution.py
lilsweetcaligula/Online-Judges
48454a8e6b5b86f80e89eca1b396480df8960cfd
[ "MIT" ]
null
null
null
leetcode/easy/ugly_number/py/solution.py
lilsweetcaligula/Online-Judges
48454a8e6b5b86f80e89eca1b396480df8960cfd
[ "MIT" ]
null
null
null
class Solution(object): def isUgly(self, num): """ :type num: int :rtype: bool """ if num < 1: return False bad_factors = (2, 3, 5, ) stack = [num] while len(stack) > 0: x = stack.pop() if x ...
22.92
46
0.364747
57
573
3.578947
0.578947
0.132353
0.098039
0
0
0
0
0
0
0
0
0.026923
0.546248
573
24
47
23.875
0.757692
0.04712
0
0.125
0
0
0
0
0
0
0
0
0
1
0.0625
false
0
0
0
0.3125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
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
0ef2174b9319f842e2059b0e8419beec864f2c9b
1,216
py
Python
comments/views.py
etovrodeya/hotel_project2
0f81856b48baeae1b63f994f796cedd68ad10b03
[ "MIT" ]
1
2020-07-29T20:16:17.000Z
2020-07-29T20:16:17.000Z
comments/views.py
etovrodeya/hotel_project2
0f81856b48baeae1b63f994f796cedd68ad10b03
[ "MIT" ]
null
null
null
comments/views.py
etovrodeya/hotel_project2
0f81856b48baeae1b63f994f796cedd68ad10b03
[ "MIT" ]
null
null
null
from django.shortcuts import render,get_object_or_404 from django.contrib.auth.decorators import login_required from django.views.decorators.csrf import csrf_protect from django.http import HttpResponseRedirect from comments.models import Comment from comments.forms import CommentReviewForm from django.contrib import a...
39.225806
83
0.73602
138
1,216
6.391304
0.398551
0.056689
0.086168
0.031746
0.099773
0.099773
0.099773
0
0
0
0
0.005848
0.15625
1,216
30
84
40.533333
0.853801
0
0
0
0
0
0.125822
0
0
0
0
0
0
1
0.111111
false
0
0.259259
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0ef64f89c3599d2cf95e3e5c374dfce6e07a0243
3,426
py
Python
coveralls/cli.py
styleseat/coveralls-python
17f52d2fa2477d9c4ffcb0fc9275b8a1155fd086
[ "MIT" ]
191
2017-02-17T11:27:57.000Z
2021-01-12T16:00:20.000Z
coveralls/cli.py
styleseat/coveralls-python
17f52d2fa2477d9c4ffcb0fc9275b8a1155fd086
[ "MIT" ]
123
2017-02-13T19:58:26.000Z
2021-01-13T07:12:47.000Z
coveralls/cli.py
styleseat/coveralls-python
17f52d2fa2477d9c4ffcb0fc9275b8a1155fd086
[ "MIT" ]
130
2017-02-17T11:26:28.000Z
2021-01-12T08:11:53.000Z
""" Publish coverage results online via coveralls.io. Puts your coverage results on coveralls.io for everyone to see. This tool makes custom reports for data generated by coverage.py package and sends it to the coveralls.io service API. All Python files in your coverage analysis are posted to this service along with...
32.018692
78
0.627262
398
3,426
5.339196
0.432161
0.029647
0.021176
0.016941
0.029176
0
0
0
0
0
0
0.003573
0.26474
3,426
106
79
32.320755
0.840016
0.413018
0
0.115385
1
0
0.150275
0
0
0
0
0
0
1
0.019231
false
0
0.115385
0
0.211538
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
0efb99273fbb9c5214d9ef6723fd0606cbad5166
2,088
py
Python
saleor/graphql/attribute/schema.py
enesustundag/saleor
95ce4b577ca06110f4702e61f554e9d165ef5fd4
[ "CC-BY-4.0" ]
1
2020-03-14T02:07:53.000Z
2020-03-14T02:07:53.000Z
saleor/graphql/attribute/schema.py
enesustundag/saleor
95ce4b577ca06110f4702e61f554e9d165ef5fd4
[ "CC-BY-4.0" ]
5
2021-06-10T20:57:04.000Z
2022-03-12T01:04:33.000Z
saleor/graphql/attribute/schema.py
enesustundag/saleor
95ce4b577ca06110f4702e61f554e9d165ef5fd4
[ "CC-BY-4.0" ]
1
2021-06-07T10:16:35.000Z
2021-06-07T10:16:35.000Z
import graphene from ..core.fields import FilterInputConnectionField from ..translations.mutations import AttributeTranslate, AttributeValueTranslate from .bulk_mutations import AttributeBulkDelete, AttributeValueBulkDelete from .filters import AttributeFilterInput from .mutations import ( AttributeCreate, Att...
36
85
0.763889
187
2,088
8.374332
0.368984
0.09834
0.060664
0
0
0
0
0
0
0
0
0
0.164751
2,088
57
86
36.631579
0.897936
0.021552
0
0.042553
0
0
0.069118
0
0
0
0
0
0
1
0.042553
false
0
0.191489
0.042553
0.595745
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
0efc1c73fc20c67a6acaafe8586d5296aa618047
2,215
py
Python
Python Programming Track/1. Introduction to Python/ch3_exercises.py
MuhammadAlBarham/datacamp
65c180163b1ad235c79d85d4926e586a15a5f78f
[ "MIT" ]
7
2020-09-14T00:26:19.000Z
2022-02-08T20:53:52.000Z
Python Programming Track/1. Introduction to Python/ch3_exercises.py
MuhammadAlBarham/datacamp
65c180163b1ad235c79d85d4926e586a15a5f78f
[ "MIT" ]
null
null
null
Python Programming Track/1. Introduction to Python/ch3_exercises.py
MuhammadAlBarham/datacamp
65c180163b1ad235c79d85d4926e586a15a5f78f
[ "MIT" ]
8
2021-01-12T15:23:20.000Z
2022-03-17T12:06:00.000Z
# Exercise_1 # Create variables var1 and var2 var1 = [1, 2, 3, 4] var2 = True # Print out type of var1 print(type(var1)) # Print out length of var1 print(len(var1)) # Convert var2 to an integer: out2 out2 = int(var2) -------------------------------------------------- # Exercise_2 # Create lists fi...
19.954955
59
0.551693
301
2,215
4.009967
0.352159
0.06628
0.014913
0.017399
0.107705
0.069594
0.061309
0.061309
0.061309
0.061309
0
0.061224
0.203612
2,215
110
60
20.136364
0.623016
0.414447
0
0.268293
0
0
0.026957
0
0
0
0
0
0
0
null
null
0
0.04878
null
null
0.317073
0
0
0
null
0
0
0
0
0
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
0efd1324a1c9c31c55797aee3a65e1637422876e
4,593
py
Python
pelican-plugins/m/dot.py
Serkan-devel/m.css
e19d318bbccb121d171fe66544814455de9ea5bc
[ "MIT" ]
null
null
null
pelican-plugins/m/dot.py
Serkan-devel/m.css
e19d318bbccb121d171fe66544814455de9ea5bc
[ "MIT" ]
null
null
null
pelican-plugins/m/dot.py
Serkan-devel/m.css
e19d318bbccb121d171fe66544814455de9ea5bc
[ "MIT" ]
null
null
null
# # This file is part of m.css. # # Copyright © 2017, 2018, 2019 Vladimír Vondruš <mosra@centrum.cz> # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including...
39.594828
128
0.66253
619
4,593
4.880452
0.321486
0.020854
0.016551
0.017213
0.302218
0.278385
0.259186
0.238001
0.238001
0.238001
0
0.00842
0.224254
4,593
115
129
39.93913
0.83918
0.397779
0
0.222222
0
0
0.094976
0
0
0
0
0
0
1
0.126984
false
0
0.126984
0.063492
0.507937
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
0effbec85eea7d54ad2362bf0d2d05314798ee66
3,106
py
Python
api_tests/identifiers/views/test_identifier_detail.py
fabmiz/osf.io
8d86af3f0a6e5388bd5b18383e68e27b65a66247
[ "Apache-2.0" ]
null
null
null
api_tests/identifiers/views/test_identifier_detail.py
fabmiz/osf.io
8d86af3f0a6e5388bd5b18383e68e27b65a66247
[ "Apache-2.0" ]
18
2020-03-24T15:26:02.000Z
2022-03-08T21:30:39.000Z
api_tests/identifiers/views/test_identifier_detail.py
fabmiz/osf.io
8d86af3f0a6e5388bd5b18383e68e27b65a66247
[ "Apache-2.0" ]
1
2019-07-16T00:14:49.000Z
2019-07-16T00:14:49.000Z
import pytest from urlparse import urlparse from api.base.settings.defaults import API_BASE from osf.models import Identifier from osf_tests.factories import ( RegistrationFactory, AuthUserFactory, IdentifierFactory, NodeFactory, ) @pytest.mark.django_db class TestIdentifierDetail: @pytest.fixtur...
36.541176
132
0.726014
339
3,106
6.342183
0.19469
0.065116
0.066977
0.075349
0.365581
0.246512
0.246512
0.15907
0.114419
0.068837
0
0.002328
0.170316
3,106
84
133
36.97619
0.831975
0.132325
0
0.163636
0
0
0.098251
0.017864
0
0
0
0
0.181818
1
0.2
false
0
0.090909
0.127273
0.472727
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
1
0
0
0
1
0effea715b85057bf1c082a4012253dd1e0a1a76
39,123
py
Python
Python/Product/Pyvot/Pyvot/test/TestXl.py
mikiec84/PTVS
6cbeadd70a4438d6e6ea4d22a465d678eacf5eb2
[ "Apache-2.0" ]
3
2015-04-09T03:57:26.000Z
2016-07-25T10:00:34.000Z
Python/Product/Pyvot/Pyvot/test/TestXl.py
anstkosh/PTVS
1854ab3d6397e66765697bb63d898aec16d0406e
[ "Apache-2.0" ]
2
2019-06-05T18:13:41.000Z
2019-06-05T20:13:16.000Z
Python/Product/Pyvot/Pyvot/test/TestXl.py
RaymonGulati1/PTVS
ee1d09f2a94be4e21016f7579205bb65ec82c616
[ "Apache-2.0" ]
2
2018-03-02T19:55:14.000Z
2019-02-14T22:37:28.000Z
# PyVot # Copyright(c) Microsoft Corporation # 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 # # THIS CODE IS PROVIDED ON AN ...
43.958427
151
0.646244
5,355
39,123
4.537628
0.150514
0.091362
0.044446
0.025557
0.364542
0.295197
0.219063
0.176921
0.15478
0.123709
0
0.024173
0.238683
39,123
890
152
43.958427
0.79164
0.136672
0
0.266559
0
0.001616
0.067491
0.002596
0
0
0
0
0.305331
0
null
null
0.001616
0.042003
null
null
0.029079
0
0
0
null
0
0
0
0
0
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
160422ccc770d053b6c55a27e5ce52bf69ab3476
206
py
Python
examples/classification/no_classification.py
DVIC-ALFRED/xarm-hand-control
55e487424daeb18577c5a45e471e50bcc411680d
[ "MIT" ]
null
null
null
examples/classification/no_classification.py
DVIC-ALFRED/xarm-hand-control
55e487424daeb18577c5a45e471e50bcc411680d
[ "MIT" ]
null
null
null
examples/classification/no_classification.py
DVIC-ALFRED/xarm-hand-control
55e487424daeb18577c5a45e471e50bcc411680d
[ "MIT" ]
null
null
null
import cv2 import xarm_hand_control.processing.process as xhcpp VIDEO_PATH = "/dev/video0" def main(): cap = cv2.VideoCapture(VIDEO_PATH) xhcpp.loop(cap) if __name__ == "__main__": main()
13.733333
52
0.699029
28
206
4.714286
0.714286
0.136364
0
0
0
0
0
0
0
0
0
0.017857
0.184466
206
14
53
14.714286
0.767857
0
0
0
0
0
0.092233
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.375
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
16087700ee5b6f813ebbf5748be60140dc7c5fc7
305
py
Python
src/osmo/config_osmo.py
jumperavocado/staketaxcsv
5e1b0420b7897f35e70d10f385c9e9e972f70560
[ "MIT" ]
140
2021-12-11T23:37:46.000Z
2022-03-29T23:04:36.000Z
src/osmo/config_osmo.py
jumperavocado/staketaxcsv
5e1b0420b7897f35e70d10f385c9e9e972f70560
[ "MIT" ]
80
2021-12-17T15:13:47.000Z
2022-03-31T13:33:53.000Z
src/osmo/config_osmo.py
hodgerpodger/staketaxcsv
d341fc8e54225aafd5401e89daaf9b71cdb1e1a4
[ "MIT" ]
52
2021-12-12T00:37:17.000Z
2022-03-29T23:25:09.000Z
from common import ExporterTypes as et from common.config import config class localconfig(config): limit = 30000 # max txs # Treat LP deposits/withdrawals as "transfers"/"omit"/"trades" (ignored for koinly) lp_treatment = et.LP_TREATMENT_DEFAULT ibc_addresses = {} exponents = {}
23.461538
87
0.714754
38
305
5.631579
0.736842
0.093458
0
0
0
0
0
0
0
0
0
0.020492
0.2
305
12
88
25.416667
0.856557
0.291803
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.285714
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1609b5603aea947cfea64a00e41fd443a5e2180b
7,496
py
Python
dask/dataframe/tests/test_rolling.py
rolando-contribute/dask
a7e7ef16475e0486f3d3e8e80016f9a23f62c710
[ "BSD-3-Clause" ]
null
null
null
dask/dataframe/tests/test_rolling.py
rolando-contribute/dask
a7e7ef16475e0486f3d3e8e80016f9a23f62c710
[ "BSD-3-Clause" ]
null
null
null
dask/dataframe/tests/test_rolling.py
rolando-contribute/dask
a7e7ef16475e0486f3d3e8e80016f9a23f62c710
[ "BSD-3-Clause" ]
null
null
null
from distutils.version import LooseVersion import pandas as pd import pandas.util.testing as tm import pytest import numpy as np import dask.dataframe as dd from dask.async import get_sync from dask.utils import raises, ignoring def eq(p, d): if isinstance(d, dd.DataFrame): tm.assert_frame_equal(p, d.com...
41.186813
82
0.629536
1,181
7,496
3.874682
0.110076
0.073427
0.043269
0.033654
0.621285
0.529283
0.424607
0.360577
0.329108
0.284091
0
0.042117
0.185966
7,496
181
83
41.414365
0.707801
0.021878
0
0.285714
0
0
0.048744
0
0
0
0
0
0.108844
0
null
null
0
0.068027
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
160aaf86edb7469fd465c997990f2e24d36e4ba7
1,345
py
Python
mat_e_est.py
iansantana00/Python-Course
43852aa64c93099342ab4765b0fe8729a959449e
[ "MIT" ]
2
2022-01-13T15:55:58.000Z
2022-02-11T23:18:34.000Z
mat_e_est.py
iansantana00/Python-Course
43852aa64c93099342ab4765b0fe8729a959449e
[ "MIT" ]
null
null
null
mat_e_est.py
iansantana00/Python-Course
43852aa64c93099342ab4765b0fe8729a959449e
[ "MIT" ]
null
null
null
import math import statistics # math.prod - retorna o produto de um container numérico nuns_v1 = [2, 3, 6, 8] nuns_v2 = (2, 3, 6, 8) nuns_v3 = {2, 3, 6, 8} print(math.prod(nuns_v1)) print(math.prod(nuns_v2)) print(math.prod(nuns_v3)) # math.isqrt - retorna o valor da raiaz quadrada inteira print(mat...
23.189655
73
0.670632
218
1,345
4.091743
0.399083
0.110987
0.01009
0.013453
0.017937
0
0
0
0
0
0
0.103765
0.190335
1,345
57
74
23.596491
0.715335
0.335316
0
0
0
0
0.01816
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
0.533333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
1610cd92a06cb9959bcf98c2769a8c772fde159b
1,160
py
Python
user_app/migrations/0009_auto_20180719_0453.py
arpitmisraw/Effervescence18-Website
3c510f066986af80aaced566b32c5040310d3107
[ "MIT" ]
2
2018-06-27T20:46:16.000Z
2018-08-02T11:02:26.000Z
user_app/migrations/0009_auto_20180719_0453.py
arpitmisraw/Effervescence18-Website
3c510f066986af80aaced566b32c5040310d3107
[ "MIT" ]
3
2020-06-05T18:15:37.000Z
2021-06-10T20:20:29.000Z
user_app/migrations/0009_auto_20180719_0453.py
arpitmisraw/Effervescence18-Website
3c510f066986af80aaced566b32c5040310d3107
[ "MIT" ]
1
2019-08-01T12:06:35.000Z
2019-08-01T12:06:35.000Z
# Generated by Django 2.0.2 on 2018-07-19 04:53 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('user_app', '0008_auto_20...
33.142857
138
0.62069
124
1,160
5.637097
0.5
0.04578
0.060086
0.094421
0.134478
0.134478
0.134478
0.134478
0.134478
0.134478
0
0.036088
0.259483
1,160
34
139
34.117647
0.777648
0.038793
0
0.178571
1
0
0.10602
0.020665
0
0
0
0
0
1
0
false
0
0.107143
0
0.214286
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
1611119719e72607dcd6d9c577d051341a43d074
15,930
py
Python
tests/models/programdb/design_electric/design_electric_unit_test.py
weibullguy/ramstk
3ec41d7e2933045a7a8028aed6c6b04365495095
[ "BSD-3-Clause" ]
4
2018-08-26T09:11:36.000Z
2019-05-24T12:01:02.000Z
tests/models/programdb/design_electric/design_electric_unit_test.py
weibullguy/ramstk
3ec41d7e2933045a7a8028aed6c6b04365495095
[ "BSD-3-Clause" ]
52
2018-08-24T12:51:22.000Z
2020-12-28T04:59:42.000Z
tests/models/programdb/design_electric/design_electric_unit_test.py
weibullguy/ramstk
3ec41d7e2933045a7a8028aed6c6b04365495095
[ "BSD-3-Clause" ]
1
2018-10-11T07:57:55.000Z
2018-10-11T07:57:55.000Z
# pylint: skip-file # type: ignore # -*- coding: utf-8 -*- # # tests.models.programdb.design_electric.design_electric_unit_test.py is part of # The RAMSTK # Project # # All rights reserved. # Copyright since 2007 Doyle "weibullguy" Rowland doyle.rowland <AT> reliaqual <DOT> com """Test class for testi...
41.484375
88
0.702009
1,930
15,930
5.373575
0.129534
0.069521
0.089673
0.111368
0.660592
0.540931
0.412207
0.332176
0.288497
0.272491
0
0.023619
0.215945
15,930
383
89
41.592689
0.806725
0.095669
0
0.265993
0
0
0.125324
0.03972
0
0
0
0
0.484848
1
0.030303
false
0.003367
0.020202
0
0.121212
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
1612d213715a9702eab81c038164568f65ab2463
1,090
py
Python
daddictsScraper.py
mayanez/search-aggregator
7d1b143ebb28e06cc16b3756a0a5734fccaaf15f
[ "MIT" ]
7
2015-03-17T12:20:37.000Z
2022-01-31T13:13:42.000Z
daddictsScraper.py
mayanez/search-aggregator
7d1b143ebb28e06cc16b3756a0a5734fccaaf15f
[ "MIT" ]
null
null
null
daddictsScraper.py
mayanez/search-aggregator
7d1b143ebb28e06cc16b3756a0a5734fccaaf15f
[ "MIT" ]
5
2015-12-09T05:17:02.000Z
2022-01-31T13:13:43.000Z
import requests import urllib from KickassAPI import Torrent from bs4 import BeautifulSoup from urlparse import urlparse class DAddictsScraper(object): def __init__(self): self.url = "http://www.d-addicts.com/forum/torrents.php" self.params = { "search" : "" } def search(self, query): self.params["se...
26.585366
120
0.682569
139
1,090
5.151079
0.453237
0.062849
0.044693
0
0
0
0
0
0
0
0
0.005495
0.165138
1,090
41
121
26.585366
0.781319
0.033028
0
0
0
0
0.089524
0
0
0
0
0
0
0
null
null
0
0.166667
null
null
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
1
0
0
0
0
0
0
0
0
1
16219243f4979627eacd626567a7234c7fed94c1
810
py
Python
basic_hebb_network.py
ayushsaklani/hebb_network_basic_neural_net
aea7f64d6d39272e59faa326a9dc34837a192733
[ "MIT" ]
null
null
null
basic_hebb_network.py
ayushsaklani/hebb_network_basic_neural_net
aea7f64d6d39272e59faa326a9dc34837a192733
[ "MIT" ]
null
null
null
basic_hebb_network.py
ayushsaklani/hebb_network_basic_neural_net
aea7f64d6d39272e59faa326a9dc34837a192733
[ "MIT" ]
null
null
null
import numpy as np from random import randint X=np.array([[1,1,1,-1,1,-1,1,1,1],[1,1,1,1,-1,1,1,1,1]]) Y=np.array([[1],[-1]]) #print X[0],X[1],Y[0],Y[1] # setting up random weights weights=np.zeros((9)) #print weights def update_weight(X,Y,weights): for i in range(2): weights=weights+X[i]*Y[i] ...
20.25
61
0.623457
147
810
3.367347
0.306122
0.072727
0.09697
0.121212
0.234343
0.149495
0.036364
0.036364
0.036364
0.036364
0
0.052215
0.219753
810
39
62
20.769231
0.731013
0.095062
0
0
0
0
0.098765
0
0
0
0
0
0
0
null
null
0
0.076923
null
null
0.192308
0
0
0
null
0
0
0
0
0
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
16254fa8d9b8ae327e7ca7ecb2106f053a3a01d1
1,411
py
Python
scripts/update_postgres_adjustments_cache.py
alexanu/atpy
3f4b5cfe7de7633ef053d2feaddae421806a9799
[ "MIT" ]
24
2018-03-22T06:22:11.000Z
2022-03-14T09:04:44.000Z
scripts/update_postgres_adjustments_cache.py
alexanu/atpy
3f4b5cfe7de7633ef053d2feaddae421806a9799
[ "MIT" ]
null
null
null
scripts/update_postgres_adjustments_cache.py
alexanu/atpy
3f4b5cfe7de7633ef053d2feaddae421806a9799
[ "MIT" ]
9
2018-03-22T06:22:11.000Z
2020-09-19T16:47:13.000Z
#!/bin/python3 """ Script that updates the bars/splits/dividends/fundamentals cache """ import argparse import logging import os import psycopg2 import atpy.data.iqfeed.util as iqutil from atpy.data.cache.postgres_cache import insert_df_json, create_json_data from atpy.data.iqfeed.iqfeed_level_1_provider import get_...
34.414634
150
0.759745
183
1,411
5.639344
0.513661
0.042636
0.027132
0
0
0
0
0
0
0
0
0.005776
0.141035
1,411
40
151
35.275
0.84571
0.05528
0
0
0
0
0.162264
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
162db8c07ec58360e15b13522976c4b6eab7144d
16,322
py
Python
cdp/profiler.py
eNcacz/python-chrome-devtools-protocol
22a36b7964dc1be86ce907e06d01c3bc8727816e
[ "MIT" ]
null
null
null
cdp/profiler.py
eNcacz/python-chrome-devtools-protocol
22a36b7964dc1be86ce907e06d01c3bc8727816e
[ "MIT" ]
null
null
null
cdp/profiler.py
eNcacz/python-chrome-devtools-protocol
22a36b7964dc1be86ce907e06d01c3bc8727816e
[ "MIT" ]
null
null
null
# DO NOT EDIT THIS FILE! # # This file is generated from the CDP specification. If you need to make # changes, edit the generator and regenerate all of the modules. # # CDP domain: Profiler from __future__ import annotations from cdp.util import event_class, T_JSON_DICT from dataclasses import dataclass import enum im...
30.508411
127
0.653413
2,063
16,322
5.024721
0.140087
0.033282
0.059907
0.030098
0.410091
0.376809
0.332722
0.284102
0.259502
0.252074
0
0.000243
0.24274
16,322
534
128
30.565543
0.83843
0.268227
0
0.354938
1
0
0.094518
0.028929
0
0
0
0
0
1
0.101852
false
0
0.021605
0.037037
0.358025
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
16306d2eb72283e1a00e885fc99127bcb9e5339d
7,879
py
Python
front/tests/mathematical_object_creation.py
Gawaboumga/OEMS
1e60fa1f350f4cf1ca2e48072e0b4228eeb15024
[ "MIT" ]
null
null
null
front/tests/mathematical_object_creation.py
Gawaboumga/OEMS
1e60fa1f350f4cf1ca2e48072e0b4228eeb15024
[ "MIT" ]
10
2020-02-11T23:18:38.000Z
2022-03-11T23:32:40.000Z
front/tests/mathematical_object_creation.py
Gawaboumga/OEMS
1e60fa1f350f4cf1ca2e48072e0b4228eeb15024
[ "MIT" ]
null
null
null
from rest_framework import status from django.test import TestCase, override_settings from django.urls import reverse from oems.settings import TEST_MEDIA_ROOT from api import models from front import forms from front.tests import utils @override_settings(MEDIA_ROOT=TEST_MEDIA_ROOT) class MathematicalObjectCreationTe...
47.751515
133
0.709481
845
7,879
6.357396
0.12071
0.184289
0.073716
0.067014
0.776247
0.716679
0.674609
0.632725
0.585629
0.510424
0
0.01015
0.187207
7,879
164
134
48.042683
0.828701
0
0
0.580882
0
0
0.095697
0.075517
0
0
0
0
0.301471
1
0.058824
false
0
0.051471
0
0.117647
0
0
0
0
null
0
0
0
0
1
0
0
0
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
163bd77e79aaaee35f8330ce53cdcbee36ca0fae
2,670
py
Python
nilearn/plotting/__init__.py
jnecus/nilearn
e929256b8b0ad9f92a221499d217506b816ec28e
[ "BSD-2-Clause" ]
null
null
null
nilearn/plotting/__init__.py
jnecus/nilearn
e929256b8b0ad9f92a221499d217506b816ec28e
[ "BSD-2-Clause" ]
null
null
null
nilearn/plotting/__init__.py
jnecus/nilearn
e929256b8b0ad9f92a221499d217506b816ec28e
[ "BSD-2-Clause" ]
null
null
null
""" Plotting code for nilearn """ # Original Authors: Chris Filo Gorgolewski, Gael Varoquaux import os import sys ############################################################################### # Make sure that we don't get DISPLAY problems when running without X on # unices def _set_mpl_backend(): # We are doing...
42.380952
81
0.650187
328
2,670
4.914634
0.378049
0.033499
0.027295
0.022333
0.292804
0.258065
0.23201
0.19603
0.19603
0.084367
0
0
0.222846
2,670
62
82
43.064516
0.776867
0.164794
0
0.046512
0
0
0.19543
0.042295
0
0
0
0
0
1
0.023256
false
0
0.348837
0
0.395349
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
163bd8ab3d7cc5ad848278d3504cc842af3a3d22
3,304
py
Python
app/lpd/tests/utility_scripts/adc_clock_delay_configure.py
stfc-aeg/lpd-detector
7bc0d9700a3d3992a4541f05e1434aba0d056dcc
[ "Apache-2.0" ]
null
null
null
app/lpd/tests/utility_scripts/adc_clock_delay_configure.py
stfc-aeg/lpd-detector
7bc0d9700a3d3992a4541f05e1434aba0d056dcc
[ "Apache-2.0" ]
20
2018-10-04T07:36:22.000Z
2020-05-18T13:10:42.000Z
app/lpd/tests/utility_scripts/adc_clock_delay_configure.py
stfc-aeg/lpd-detector
7bc0d9700a3d3992a4541f05e1434aba0d056dcc
[ "Apache-2.0" ]
null
null
null
''' Author: ckd27546 Created: 19 November 12 ''' import argparse class AdcClockDelayConfigure(): def __init__(self, Reserved=0, DelayAdjust=0): ''' AdcClockDelayConfigure allows the user to specify up to both of the different parts of the Filter Control Slow Control Section ...
35.913043
296
0.636501
382
3,304
5.447644
0.387435
0.019222
0.024988
0.030274
0.01826
0
0
0
0
0
0
0.02397
0.280266
3,304
92
297
35.913043
0.851135
0.131053
0
0
0
0.047619
0.286768
0.010242
0
0
0
0
0
0
null
null
0
0.02381
null
null
0.047619
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
164136814d9e22a9765816a2165ac847dbf9b5dd
1,279
py
Python
circle_ci_test_dev/unit_test/mouse/mouse_test.py
JE-Chen/Python_JEAutoControl
477bf9612e28e9ab6d0a8e269db2f699e50a3744
[ "MIT" ]
9
2020-10-12T06:33:36.000Z
2021-09-13T07:07:36.000Z
test/unit_test/mouse/mouse_test.py
JE-Chen/Python_JEAutoControl
477bf9612e28e9ab6d0a8e269db2f699e50a3744
[ "MIT" ]
null
null
null
test/unit_test/mouse/mouse_test.py
JE-Chen/Python_JEAutoControl
477bf9612e28e9ab6d0a8e269db2f699e50a3744
[ "MIT" ]
null
null
null
import sys import time from je_auto_control import position from je_auto_control import set_position from je_auto_control import press_mouse from je_auto_control import release_mouse from je_auto_control import click_mouse from je_auto_control import mouse_table from je_auto_control import AutoControlMouseException t...
26.645833
53
0.802971
169
1,279
5.857988
0.218935
0.042424
0.070707
0.120202
0.647475
0.60101
0.453535
0.453535
0.453535
0.453535
0
0.05022
0.112588
1,279
47
54
27.212766
0.822026
0
0
0.428571
0
0
0.072713
0
0
0
0
0
0
1
0
true
0
0.214286
0
0.214286
0.190476
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
16442a6c38cb7b3b06a797d571b75c2cefc01682
2,915
py
Python
checkio/Home/House password/test_house_password.py
KenMercusLai/checkio
c7702221e1bc0b0b30425859ffa6c09722949d65
[ "MIT" ]
39
2015-02-09T13:24:12.000Z
2019-05-16T17:51:19.000Z
checkio/Home/House password/test_house_password.py
KenMercusLai/checkio
c7702221e1bc0b0b30425859ffa6c09722949d65
[ "MIT" ]
1
2019-10-21T16:18:14.000Z
2019-10-21T16:18:14.000Z
checkio/Home/House password/test_house_password.py
KenMercusLai/checkio
c7702221e1bc0b0b30425859ffa6c09722949d65
[ "MIT" ]
22
2015-01-30T18:00:05.000Z
2021-05-22T02:57:23.000Z
import unittest from house_password import checkio class Tests(unittest.TestCase): TESTS = { "Basics": [ {"input": "ULFFunH8ni", "answer": True}, {"input": "aaaaaaaaaaaaaaaaaaaaa", "answer": False}, {"input": "aA1", "answer": False}, {"input": "awzbdzkfz", ...
37.857143
70
0.488851
202
2,915
7
0.326733
0.171146
0.248939
0.03819
0.158416
0.158416
0.042433
0
0
0
0
0.062371
0.334477
2,915
76
71
38.355263
0.666495
0.005489
0
0.115942
0
0
0.363479
0.088367
0
0
0
0
0.028986
1
0.028986
false
0.014493
0.028986
0
0.086957
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1646556b0d53b2f0b79346dd25eda46eb661bdfd
2,296
py
Python
recipes/Python/52553_RoadRunner_recursively_updates_contents/recipe-52553.py
tdiprima/code
61a74f5f93da087d27c70b2efe779ac6bd2a3b4f
[ "MIT" ]
2,023
2017-07-29T09:34:46.000Z
2022-03-24T08:00:45.000Z
recipes/Python/52553_RoadRunner_recursively_updates_contents/recipe-52553.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
32
2017-09-02T17:20:08.000Z
2022-02-11T17:49:37.000Z
recipes/Python/52553_RoadRunner_recursively_updates_contents/recipe-52553.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
780
2017-07-28T19:23:28.000Z
2022-03-25T20:39:41.000Z
#!/usr/bin/env python # $Id. RoadRunner.py Thu Apr 5 10:49:48 EST 2001 JuanCarlos.Leon $ import os import string import re import sys _files_lst=[] def pluggit(readlines,regx,addstrng): """ Append a string to desire regex pattern """ lst=readlines cregex=re.compile(regx) for eachLine in lst: m...
25.511111
86
0.656359
337
2,296
4.379822
0.382789
0.04065
0.020325
0.01897
0.033875
0.033875
0.033875
0
0
0
0
0.008791
0.207317
2,296
89
87
25.797753
0.802198
0.089721
0
0.045455
0
0
0.160609
0.010314
0
0
0
0
0
0
null
null
0
0.060606
null
null
0.060606
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1646bf571f3185277bc68cc36605a6c71acb667f
270
py
Python
audit_management/urls.py
BuildForSDG/Team-004-Backend
d0d0882d2d392edd8e47e07b234b0919db246773
[ "MIT" ]
2
2020-05-11T23:38:33.000Z
2020-05-26T22:35:45.000Z
audit_management/urls.py
BuildForSDG/Team-004-Backend
d0d0882d2d392edd8e47e07b234b0919db246773
[ "MIT" ]
35
2020-05-17T14:03:26.000Z
2021-06-10T19:20:22.000Z
audit_management/urls.py
BuildForSDG/Team-004-Backend
d0d0882d2d392edd8e47e07b234b0919db246773
[ "MIT" ]
3
2020-05-02T20:34:58.000Z
2020-06-07T13:52:49.000Z
from django.urls import path from rest_framework.routers import DefaultRouter from audit_management import views router = DefaultRouter() app_name = 'audit_management' urlpatterns = [ path('', views.ListFinancingAuditView.as_view(), name='finance_audit_list') ]
20.769231
79
0.788889
32
270
6.4375
0.65625
0.145631
0
0
0
0
0
0
0
0
0
0
0.122222
270
12
80
22.5
0.869198
0
0
0
0
0
0.125926
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1656b030ddb23efa4520d953575fd8222c36e68c
4,211
py
Python
Serial_analysis.py
VIP-LES/Data-Analysis
cc94c8bca86c61588511228ed8f986ea47cd3dc6
[ "MIT" ]
null
null
null
Serial_analysis.py
VIP-LES/Data-Analysis
cc94c8bca86c61588511228ed8f986ea47cd3dc6
[ "MIT" ]
1
2017-10-04T15:38:11.000Z
2017-10-10T01:59:50.000Z
Serial_analysis.py
VIP-LES/Data-Analysis
cc94c8bca86c61588511228ed8f986ea47cd3dc6
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Fri Oct 4 10:50:25 2019 @author: Richard """ import numpy as np import matplotlib.pyplot as plt import scipy as sp import pandas as pd import pynmea2 def get_sec(time): #helper function to convert serial output time string into int, just for testing convenience """Get Seco...
49.541176
164
0.614818
608
4,211
4.121711
0.363487
0.043895
0.03352
0.017957
0.254988
0.182761
0.182761
0.171588
0.120511
0.03352
0
0.024437
0.261458
4,211
85
165
49.541176
0.78135
0.427452
0
0.117647
0
0
0.044416
0.010575
0
0
0
0.011765
0
1
0.098039
false
0.019608
0.098039
0
0.254902
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
1657596223fe7b2cf80d3b3a3cacbd0b06bd4107
7,782
py
Python
AppServer/lib/django-1.4/tests/regressiontests/localflavor/mx/tests.py
loftwah/appscale
586fc1347ebc743d7a632de698f4dbfb09ae38d6
[ "Apache-2.0" ]
790
2015-01-03T02:13:39.000Z
2020-05-10T19:53:57.000Z
AppServer/lib/django-1.4/tests/regressiontests/localflavor/mx/tests.py
nlake44/appscale
6944af660ca4cb772c9b6c2332ab28e5ef4d849f
[ "Apache-2.0" ]
1,361
2015-01-08T23:09:40.000Z
2020-04-14T00:03:04.000Z
AppServer/lib/django-1.4/tests/regressiontests/localflavor/mx/tests.py
nlake44/appscale
6944af660ca4cb772c9b6c2332ab28e5ef4d849f
[ "Apache-2.0" ]
155
2015-01-08T22:59:31.000Z
2020-04-08T08:01:53.000Z
# -*- coding: utf-8 -*- from __future__ import absolute_import from django.contrib.localflavor.mx.forms import (MXZipCodeField, MXRFCField, MXStateSelect, MXCURPField) from django.test import SimpleTestCase from .forms import MXPersonProfileForm class MXLocalFlavorTests(SimpleTestCase): def setUp(self): ...
39.105528
133
0.645335
812
7,782
6.102217
0.275862
0.144299
0.216145
0.014531
0.440565
0.432896
0.41998
0.406054
0.406054
0.406054
0
0.092105
0.208944
7,782
198
134
39.30303
0.712801
0.026985
0
0.4
0
0
0.555467
0.196849
0
0
0
0
0.061111
1
0.044444
false
0
0.022222
0
0.072222
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
16596d182fb6a5330287be444f27b3a795474d81
10,234
py
Python
tests/pouw/nods/decentralized/test_committee_candidate.py
projectpai/pouw-main-iteration
e2505f63e11bbf80648c8cbe56b6d6f3e3a8546e
[ "MIT" ]
11
2020-06-22T05:31:18.000Z
2022-03-29T16:50:21.000Z
tests/pouw/nods/decentralized/test_committee_candidate.py
AIIJJII/pouw-main-iteration
e2505f63e11bbf80648c8cbe56b6d6f3e3a8546e
[ "MIT" ]
3
2020-06-23T18:20:09.000Z
2021-07-06T23:28:24.000Z
tests/pouw/nods/decentralized/test_committee_candidate.py
AIIJJII/pouw-main-iteration
e2505f63e11bbf80648c8cbe56b6d6f3e3a8546e
[ "MIT" ]
3
2020-09-02T11:03:16.000Z
2022-03-29T16:50:00.000Z
import random import time import uuid import mock import pytest import yaml from mock import MagicMock, PropertyMock import pai.pouw.nodes.decentralized.committee_candidate from pai.pouw.constants import CLIENT_TASK_CHANNEL, WAIT_TIME_AFTER_MINIMAL_NUMBER_OF_NODES_HAS_REGISTERED, \ MIN_MEMBERS_NUM, NUMBER_OF_DATA...
29.836735
139
0.758941
1,301
10,234
5.518063
0.12452
0.06129
0.069648
0.063519
0.790918
0.73325
0.657195
0.632957
0.586293
0.571249
0
0.009297
0.159175
10,234
342
140
29.923977
0.824985
0
0
0.615385
0
0
0.04788
0.007817
0
0
0
0
0.117647
1
0.113122
false
0
0.049774
0
0.162896
0
0
0
0
null
0
0
0
0
1
0
0
0
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
165bd2b1de0e1846c8787197d4a4155dd516c73d
3,629
py
Python
tests/test_single_slider.py
dashio-connect/python-dashio
36ff84b07511deef4587ddd38bdb8d8ca800f264
[ "MIT" ]
null
null
null
tests/test_single_slider.py
dashio-connect/python-dashio
36ff84b07511deef4587ddd38bdb8d8ca800f264
[ "MIT" ]
null
null
null
tests/test_single_slider.py
dashio-connect/python-dashio
36ff84b07511deef4587ddd38bdb8d8ca800f264
[ "MIT" ]
null
null
null
import json import unittest from dashio import SliderSingleBar from dashio.iotcontrol.enums import Color, Icon, SliderBarType def _get_cfg_dict(cfg_str): json_str = cfg_str.rpartition('\t')[2] return json.loads(json_str) class TestSliderSingleBar(unittest.TestCase): def test_slider_single_bar_control_...
47.12987
122
0.736842
498
3,629
4.96988
0.146586
0.087677
0.06303
0.092121
0.657374
0.611313
0.447677
0.447677
0.447677
0.376162
0
0.010837
0.160926
3,629
76
123
47.75
0.80197
0
0
0.241379
0
0
0.153761
0
0
0
0
0
0.206897
1
0.224138
false
0
0.068966
0
0.327586
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
165c35800783ce066d8889cd418feab40b9e735c
10,684
py
Python
glue/core/tests/test_data_combo_helper.py
scalet98/glue
ff949ad52e205c20561f48c05f870b2abb39e0b0
[ "BSD-3-Clause" ]
1
2019-12-17T07:58:35.000Z
2019-12-17T07:58:35.000Z
glue/core/tests/test_data_combo_helper.py
scalet98/glue
ff949ad52e205c20561f48c05f870b2abb39e0b0
[ "BSD-3-Clause" ]
null
null
null
glue/core/tests/test_data_combo_helper.py
scalet98/glue
ff949ad52e205c20561f48c05f870b2abb39e0b0
[ "BSD-3-Clause" ]
null
null
null
from __future__ import absolute_import, division, print_function import pytest from mock import MagicMock from glue.core import Data, DataCollection from glue.core.component_id import ComponentID from glue.external.echo.selection import SelectionCallbackProperty from glue.core.state_objects import State from glue.cor...
27.394872
144
0.670161
1,346
10,684
5.188707
0.13893
0.087343
0.135309
0.170103
0.679553
0.66051
0.594215
0.55126
0.499857
0.473368
0
0.017868
0.198521
10,684
389
145
27.465296
0.797734
0.097903
0
0.629808
0
0.009615
0.1198
0.025478
0
0
0
0
0.283654
1
0.052885
false
0
0.043269
0
0.110577
0.004808
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
0
0
0
1
165d72c2ec346ad1ddaeed005444b8014c1b759f
3,372
py
Python
responsibleai/responsibleai/_interfaces.py
PYTHON01100100/responsible-ai-widgets
07ff0ca27b6f278d0e27172386cccbd7d909d88c
[ "MIT" ]
1
2021-09-11T14:43:23.000Z
2021-09-11T14:43:23.000Z
responsibleai/responsibleai/_interfaces.py
PYTHON01100100/responsible-ai-widgets
07ff0ca27b6f278d0e27172386cccbd7d909d88c
[ "MIT" ]
null
null
null
responsibleai/responsibleai/_interfaces.py
PYTHON01100100/responsible-ai-widgets
07ff0ca27b6f278d0e27172386cccbd7d909d88c
[ "MIT" ]
null
null
null
# Copyright (c) Microsoft Corporation # Licensed under the MIT License. from enum import Enum from typing import Any, Dict, List, Union class TaskType(str, Enum): CLASSIFICATION = 'classification' REGRESSION = 'regression' class Dataset: task_type: TaskType predicted_y: List features: List[List...
22.039216
74
0.711744
365
3,372
6.460274
0.328767
0.026718
0.025445
0.016115
0
0
0
0
0
0
0
0
0.213523
3,372
152
75
22.184211
0.88914
0.06376
0
0.054054
0
0
0.035305
0.015267
0
0
0
0
0
1
0
false
0
0.063063
0
1.045045
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
1660a03d5ced6a8b2ccc77b382229ee85dc90e82
1,687
py
Python
deltasigma/tests/test_zinc.py
michi7x7/python-deltasigma
029e97eb6de748744f62840114ae6725ec5a721b
[ "OLDAP-2.6", "Python-2.0" ]
43
2015-01-11T14:42:21.000Z
2022-01-06T13:07:06.000Z
deltasigma/tests/test_zinc.py
thomasrussellmurphy/python-deltasigma
826ccbcfaadc0597e62f55b2d0eda39b26f7c4c1
[ "OLDAP-2.6", "Python-2.0" ]
33
2015-06-04T10:47:36.000Z
2022-01-07T10:20:44.000Z
deltasigma/tests/test_zinc.py
thomasrussellmurphy/python-deltasigma
826ccbcfaadc0597e62f55b2d0eda39b26f7c4c1
[ "OLDAP-2.6", "Python-2.0" ]
39
2015-02-10T06:55:58.000Z
2022-01-20T19:23:44.000Z
# -*- coding: utf-8 -*- # test_zinc.py # This module provides the tests for the zinc function. # Copyright 2014 Giuseppe Venturini # This file is part of python-deltasigma. # # python-deltasigma is a 1:1 Python replacement of Richard Schreier's # MATLAB delta sigma toolbox (aka "delsigma"), upon which it is heavily ba...
38.340909
78
0.599289
268
1,687
3.764925
0.518657
0.017839
0.035679
0.041625
0
0
0
0
0
0
0
0.227755
0.273859
1,687
43
79
39.232558
0.595918
0.417309
0
0
0
0
0
0
0
0
0
0
0.052632
1
0.105263
false
0
0.157895
0
0.315789
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1665b8c6c3e57c09cbea01903c39403f0be85d80
35,053
py
Python
AutotestWebD/all_urls/adminUrl.py
yangjourney/sosotest
2e88099a829749910ca325253c9b1a2e368d21a0
[ "MIT" ]
422
2019-08-18T05:04:20.000Z
2022-03-31T06:49:19.000Z
AutotestWebD/all_urls/adminUrl.py
LinSongJian1985/sosotest
091863dee531b5726650bb63efd6f169267cbeb4
[ "MIT" ]
10
2019-10-24T09:55:38.000Z
2021-09-29T17:28:43.000Z
AutotestWebD/all_urls/adminUrl.py
LinSongJian1985/sosotest
091863dee531b5726650bb63efd6f169267cbeb4
[ "MIT" ]
202
2019-08-18T05:04:27.000Z
2022-03-30T05:57:18.000Z
from django.conf.urls import url from apps.myadmin.views import login, user, team, role, teamUserRelation, userRole, adminUser, businessLine, \ interfaceModule, interfacePermission, moduleManage, source, changeLog, businessLineModule, configService, \ jiraModule, modulePlatform, jiraBusinessLine, jiraBusiness...
94.99458
189
0.81294
3,355
35,053
8.267362
0.121013
0.040379
0.111043
0.02055
0.264376
0.067383
0.05033
0.043336
0.036125
0.013628
0
0
0.064902
35,053
369
190
94.99458
0.846208
0.042193
0
0
0
0
0.521935
0.486606
0
0
0
0
0
1
0
false
0.003571
0.007143
0
0.007143
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1666159a8055d7d78e765097a4bb7acec7a9106d
4,126
py
Python
coded-lstm-generator.py
ppramesi/JOANNA
db03aad134a3ce751184d53e2bef427ecec18044
[ "MIT" ]
3
2015-12-24T00:29:27.000Z
2017-07-07T14:00:08.000Z
coded-lstm-generator.py
ppramesi/JOANNA
db03aad134a3ce751184d53e2bef427ecec18044
[ "MIT" ]
null
null
null
coded-lstm-generator.py
ppramesi/JOANNA
db03aad134a3ce751184d53e2bef427ecec18044
[ "MIT" ]
3
2016-05-10T06:35:28.000Z
2018-06-18T16:41:23.000Z
from keras.layers.core import TimeDistributedDense, Merge from keras.layers.recurrent import LSTM, GRU from keras.layers.advanced_activations import PReLU, LeakyReLU from keras.preprocessing import sequence from keras.optimizers import RMSprop from keras.models import Sequential from keras.layers.core import Dens...
47.976744
172
0.722976
557
4,126
5.274686
0.253142
0.044248
0.065351
0.057182
0.452689
0.413887
0.399592
0.326753
0.326753
0.264806
0
0.033067
0.120456
4,126
85
173
48.541176
0.776522
0.006544
0
0.135135
0
0
0.089459
0
0
0
0
0
0
0
null
null
0
0.243243
null
null
0.027027
0
0
0
null
0
0
0
0
0
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
16662273a6e263098a94c9a7b999a953a9617bd2
3,124
py
Python
linepy/e2ee.py
cxg1st/SelfBot-
a29adfdb376832dca23ff72bceb28c8ebf0787ad
[ "BSD-3-Clause" ]
3
2020-11-12T11:26:35.000Z
2021-09-01T06:25:08.000Z
linepy/e2ee.py
cxg1st/SelfBot-
a29adfdb376832dca23ff72bceb28c8ebf0787ad
[ "BSD-3-Clause" ]
null
null
null
linepy/e2ee.py
cxg1st/SelfBot-
a29adfdb376832dca23ff72bceb28c8ebf0787ad
[ "BSD-3-Clause" ]
3
2020-10-28T06:38:31.000Z
2020-11-08T16:35:58.000Z
# -*- coding: utf-8 -*- from urllib.parse import quote, unquote, urlencode from collections import namedtuple #from Crypto.Cipher import AES import base64, hashlib, os #import axolotl_curve25519 as Curve25519 KeyPairCurve = namedtuple('KeyPair', ['private_key', 'public_key', 'nonce']) AESKeyAndIV = namedtuple('AESKey'...
37.638554
80
0.68662
379
3,124
5.408971
0.255937
0.046829
0.039512
0.026829
0.245854
0.19122
0.150244
0.150244
0.150244
0.136585
0
0.028072
0.213188
3,124
82
81
38.097561
0.80594
0.028489
0
0.15873
0
0
0.025734
0.009568
0
0
0
0
0
1
0.222222
false
0
0.047619
0
0.492063
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
166902a4d80af7139df6aac034351c330df6db2e
289
py
Python
iapcompython/exe_4_5.py
edmilsonlibanio/Ola-Mundo-Python
33fb08da5878f2784983c623df04d2bbdfb30f25
[ "MIT" ]
null
null
null
iapcompython/exe_4_5.py
edmilsonlibanio/Ola-Mundo-Python
33fb08da5878f2784983c623df04d2bbdfb30f25
[ "MIT" ]
null
null
null
iapcompython/exe_4_5.py
edmilsonlibanio/Ola-Mundo-Python
33fb08da5878f2784983c623df04d2bbdfb30f25
[ "MIT" ]
null
null
null
# Execute o programa 4.4 e experimente alguns valores. Verifique se os resultados foram os mesmos do programa 4.2. # Abaixo cópia do programa 4.4. idade = int(input('Digite a idade do seu carro: ')) if idade <= 3: print('O seu carro é novo!') else: print('O seu carro é velho!')
28.9
114
0.692042
51
289
3.921569
0.627451
0.135
0.1
0.14
0.15
0
0
0
0
0
0
0.030435
0.204152
289
9
115
32.111111
0.83913
0.491349
0
0
0
0
0.472222
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1672b190989c612e8ec5404fdb4bb34e15da5ac2
797
py
Python
Data Structures/Trees/diameter_of_a_binary_tree_solution.py
michal0janczyk/udacity_data_structures_and_algorithms_nanodegree
3ec4bb94158d4dee59056703e63cb0fab07cb18c
[ "Unlicense" ]
1
2021-09-27T10:18:14.000Z
2021-09-27T10:18:14.000Z
Data Structures/Trees/diameter_of_a_binary_tree_solution.py
michal0janczyk/udacity_data_structures_and_algorithms_nanodegree
3ec4bb94158d4dee59056703e63cb0fab07cb18c
[ "Unlicense" ]
null
null
null
Data Structures/Trees/diameter_of_a_binary_tree_solution.py
michal0janczyk/udacity_data_structures_and_algorithms_nanodegree
3ec4bb94158d4dee59056703e63cb0fab07cb18c
[ "Unlicense" ]
null
null
null
def diameter_of_binary_tree(root): return diameter_of_binary_tree_func(root)[1] def diameter_of_binary_tree_func(root): """ Diameter for a particular BinaryTree Node will be: 1. Either diameter of left subtree 2. Or diameter of a right subtree 3. Sum of left-height and right-hei...
34.652174
75
0.72522
112
797
4.848214
0.294643
0.128913
0.14733
0.184162
0.28361
0.235727
0.132597
0
0
0
0
0.011076
0.207026
797
23
76
34.652174
0.848101
0.264743
0
0
0
0
0
0
0
0
0
0
0
1
0.181818
false
0
0
0.090909
0.454545
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
0
0
0
1
16775288bb291335ab353408d6b46604ea918c93
2,624
py
Python
.leetcode/107.binary-tree-level-order-traversal-ii.py
KuiyuanFu/PythonLeetCode
8962df2fa838eb7ae48fa59de272ba55a89756d8
[ "MIT" ]
null
null
null
.leetcode/107.binary-tree-level-order-traversal-ii.py
KuiyuanFu/PythonLeetCode
8962df2fa838eb7ae48fa59de272ba55a89756d8
[ "MIT" ]
null
null
null
.leetcode/107.binary-tree-level-order-traversal-ii.py
KuiyuanFu/PythonLeetCode
8962df2fa838eb7ae48fa59de272ba55a89756d8
[ "MIT" ]
null
null
null
# @lc app=leetcode id=107 lang=python3 # # [107] Binary Tree Level Order Traversal II # # https://leetcode.com/problems/binary-tree-level-order-traversal-ii/description/ # # algorithms # Medium (55.61%) # Likes: 2161 # Dislikes: 246 # Total Accepted: 421.5K # Total Submissions: 755.9K # Testcase Example: '[3,9,2...
20.030534
81
0.565549
330
2,624
4.460606
0.357576
0.012228
0.01087
0.016304
0.203804
0.194293
0.152174
0.025815
0
0
0
0.047988
0.261433
2,624
131
82
20.030534
0.711558
0.425305
0
0.297872
0
0
0.13491
0.015994
0
0
0
0
0
1
0.021277
false
0.042553
0.021277
0
0.085106
0.510638
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
167b09659703ca57d59e5764946c2242a2b808c7
2,055
py
Python
Chapter1/buylowsellhigh.py
buiksat/Learn-Algorithmic-Trading
b85807483dd869f2b6912556a99842f05b646e31
[ "MIT" ]
449
2019-12-13T09:53:41.000Z
2022-03-30T23:06:44.000Z
Chapter1/buylowsellhigh.py
zecaclasher/Learn-Algorithmic-Trading
e938502980d3bf8d560f260437b4bb162e1b1bfd
[ "MIT" ]
10
2020-05-14T20:18:07.000Z
2022-02-11T15:13:19.000Z
Chapter1/buylowsellhigh.py
zecaclasher/Learn-Algorithmic-Trading
e938502980d3bf8d560f260437b4bb162e1b1bfd
[ "MIT" ]
178
2019-12-15T02:56:31.000Z
2022-03-31T19:21:32.000Z
from pandas_datareader import data start_date = '2014-01-01' end_date = '2018-01-01' goog_data = data.DataReader('GOOG', 'yahoo', start_date, end_date) import numpy as np import pandas as pd goog_data_signal = pd.DataFrame(index=goog_data.index) goog_data_signal['price'] = goog_data['Adj Close'] goog_data_signal['da...
38.055556
147
0.7309
315
2,055
4.552381
0.222222
0.167364
0.263598
0.144351
0.546722
0.467225
0.467225
0.386332
0.37099
0.319386
0
0.038668
0.093917
2,055
54
148
38.055556
0.731472
0.016545
0
0.108108
0
0
0.105941
0
0
0
0
0
0
1
0
false
0
0.108108
0
0.108108
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
167bbd9d71db1465f643c7529e8ddb628106eaf2
12,170
py
Python
swiftbrowser/views/objects.py
OLRC/django-swiftbrowser
cfc6fa44f8eeda5e66db81cce39b5340fc5a898a
[ "Apache-2.0" ]
1
2021-09-06T12:31:27.000Z
2021-09-06T12:31:27.000Z
swiftbrowser/views/objects.py
OLRC/django-swiftbrowser
cfc6fa44f8eeda5e66db81cce39b5340fc5a898a
[ "Apache-2.0" ]
null
null
null
swiftbrowser/views/objects.py
OLRC/django-swiftbrowser
cfc6fa44f8eeda5e66db81cce39b5340fc5a898a
[ "Apache-2.0" ]
null
null
null
""" Standalone webinterface for Openstack Swift. """ # -*- coding: utf-8 -*- #pylint:disable=E1101 import time import urlparse import hmac from hashlib import sha1 from swiftclient import client from django.shortcuts import render_to_response from django.template import RequestContext from django.contrib import messag...
33.526171
78
0.61479
1,345
12,170
5.367286
0.173234
0.042942
0.037678
0.039479
0.472919
0.432608
0.390082
0.353512
0.315002
0.315002
0
0.009776
0.277157
12,170
362
79
33.618785
0.810845
0.070583
0
0.424354
0
0
0.110854
0.020096
0
0
0
0
0
0
null
null
0
0.059041
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
167dec563d5ae0b8fadeb784198e717fae86170f
549
py
Python
mundo_2_#12.py
lucas-arcanjo/Se_aprofundando_em_Python
59d3371d360669781c52124cd395f98063b83f3c
[ "MIT" ]
null
null
null
mundo_2_#12.py
lucas-arcanjo/Se_aprofundando_em_Python
59d3371d360669781c52124cd395f98063b83f3c
[ "MIT" ]
null
null
null
mundo_2_#12.py
lucas-arcanjo/Se_aprofundando_em_Python
59d3371d360669781c52124cd395f98063b83f3c
[ "MIT" ]
null
null
null
#Aula 12 #Condição Aninhada nome = str(input('Olá, qual é o seu nome? ')) print ('Seja Bem-Vindo {}!'.format(nome)) nota1 = int(input('{}, Qual foi 1º nota da sua Ac1? '.format(nome))) nota2 = int(input('E da Ac2? ')) nota3 = int(input('E da Ac3? ')) nota4 = int(input('E da Ac4? ')) resultado = ((nota1 + nota2 + n...
36.6
90
0.626594
85
549
4.047059
0.576471
0.093023
0.078488
0.09593
0
0
0
0
0
0
0
0.042316
0.182149
549
15
91
36.6
0.723831
0.043716
0
0
0
0
0.396947
0
0
0
0
0
0
1
0
false
0.090909
0
0
0
0.272727
0
0
0
null
0
0
0
0
0
0
0
0
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
1682f681b7143ef936951ca59532976af8e70f0c
861
py
Python
kuropoly/asgi.py
anyiv/Kuropoly-Team-DC
727a614884272ff521d141193c58d4a54c15be03
[ "MIT" ]
1
2021-04-11T13:51:07.000Z
2021-04-11T13:51:07.000Z
kuropoly/asgi.py
anyiv/Kuropoly-Team-DC
727a614884272ff521d141193c58d4a54c15be03
[ "MIT" ]
null
null
null
kuropoly/asgi.py
anyiv/Kuropoly-Team-DC
727a614884272ff521d141193c58d4a54c15be03
[ "MIT" ]
null
null
null
""" ASGI config for kuropoly project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/asgi/ """ import os import django from django.core.asgi import get_asgi_application from channels.auth imp...
26.90625
78
0.771196
100
861
6.51
0.52
0.032258
0.082949
0.076805
0
0
0
0
0
0
0
0.002695
0.138211
861
32
79
26.90625
0.874663
0.400697
0
0
0
0
0.102564
0.043393
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
168628251fc594803701b3d2d15cb0f1014a066b
653
py
Python
python/Lab 3/3-2/3-2.py
bitxer/ICT1002
b7c88788b81c1b3e31fc8d61dc757d23ba773675
[ "MIT" ]
1
2021-11-30T11:54:37.000Z
2021-11-30T11:54:37.000Z
python/Lab 3/3-2/3-2.py
bitxer/ICT1002
b7c88788b81c1b3e31fc8d61dc757d23ba773675
[ "MIT" ]
null
null
null
python/Lab 3/3-2/3-2.py
bitxer/ICT1002
b7c88788b81c1b3e31fc8d61dc757d23ba773675
[ "MIT" ]
2
2020-11-20T12:55:41.000Z
2020-11-25T13:15:42.000Z
############################ # Module: ICT1002 # # Language: Python2 # # Lab Exercise 3-2 # # Done By: bitxer # ############################ def letter_count(x): char = set(x) count = {} for c in char: count[c] = x.count(c) return count def double_count(x, y): ...
21.766667
46
0.502297
85
653
3.694118
0.470588
0.076433
0.057325
0
0
0
0
0
0
0
0
0.016949
0.277182
653
30
47
21.766667
0.648305
0.14242
0
0
0
0
0.028807
0
0
0
0
0
0
0
null
null
0
0.052632
null
null
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
168a622a13018819ffaff1ff7118555339e4938e
7,180
py
Python
python/auto_summary/AutoSummary.py
josephlewis42/personal_codebase
aa0fff9a908ab90bc78d24aa69d1b91163c35314
[ "Unlicense" ]
3
2015-11-24T17:06:58.000Z
2018-05-01T14:03:57.000Z
python/auto_summary/AutoSummary.py
josephlewis42/personal_codebase
aa0fff9a908ab90bc78d24aa69d1b91163c35314
[ "Unlicense" ]
null
null
null
python/auto_summary/AutoSummary.py
josephlewis42/personal_codebase
aa0fff9a908ab90bc78d24aa69d1b91163c35314
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- '''Provides An Automated Summary of a document. Copyright 2011 Joseph Lewis <joehms22 [at] gmail com> Originally Made: 2011-09-21 Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met...
28.379447
91
0.719777
1,098
7,180
4.623862
0.338798
0.009454
0.008864
0.009454
0.090999
0.069726
0.049242
0.049242
0.038605
0.026787
0
0.009647
0.191504
7,180
252
92
28.492063
0.864944
0.073816
0
0.150442
0
0
0.205398
0
0
0
0
0.003968
0
0
null
null
0.00885
0.026549
null
null
0.035398
0
0
0
null
0
0
0
0
0
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
168bc9191633061ebc6fa62de6d53abcc5227892
6,134
py
Python
train.py
MyWorkShop/VQA-Key-Matching
8ba8143655f98cfc1ef54c79cb9382d7f2a6838b
[ "MIT" ]
null
null
null
train.py
MyWorkShop/VQA-Key-Matching
8ba8143655f98cfc1ef54c79cb9382d7f2a6838b
[ "MIT" ]
null
null
null
train.py
MyWorkShop/VQA-Key-Matching
8ba8143655f98cfc1ef54c79cb9382d7f2a6838b
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- import os from tr_read import data from model import model, embedding import tensorflow as tf import numpy as np # Config RESIZE_SIZE = 256 BATCH_SIZE = 128 NUM_GPU = 4 path_to_save = './model_pre_train.ckpt' def get_model( image, question, answer, phase_t...
34.077778
72
0.579067
724
6,134
4.618785
0.240331
0.021531
0.046053
0.029904
0.27811
0.23445
0.155801
0.145036
0.100179
0.100179
0
0.019383
0.318715
6,134
179
73
34.268156
0.780809
0.022498
0
0.217687
0
0
0.026377
0.003673
0
0
0
0
0
0
null
null
0
0.034014
null
null
0.040816
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
168db68307f3ea4b698f68b910246af341ee4fa8
3,985
py
Python
mitmproxy/tls.py
ianklatzco/mitmproxy
2455632a9ca94e11bcc90c90a8eb862f67b143b9
[ "MIT" ]
24,939
2015-01-01T17:13:21.000Z
2022-03-31T17:50:04.000Z
mitmproxy/tls.py
ianklatzco/mitmproxy
2455632a9ca94e11bcc90c90a8eb862f67b143b9
[ "MIT" ]
3,655
2015-01-02T12:31:43.000Z
2022-03-31T20:24:57.000Z
mitmproxy/tls.py
dna2fork/mitmproxy
1e9707307815144a3106c3b5056111971ad07c6d
[ "MIT" ]
3,712
2015-01-06T06:47:06.000Z
2022-03-31T10:33:27.000Z
import io from dataclasses import dataclass from typing import List, Optional, Tuple from kaitaistruct import KaitaiStream from OpenSSL import SSL from mitmproxy import connection from mitmproxy.contrib.kaitaistruct import tls_client_hello from mitmproxy.net import check from mitmproxy.proxy import context class Cl...
35.580357
105
0.660226
483
3,985
5.281574
0.302277
0.060368
0.04704
0.0588
0.216778
0.173265
0.157585
0.131713
0.131713
0.089377
0
0.003686
0.251192
3,985
111
106
35.900901
0.851206
0.176412
0
0.233333
0
0
0.032426
0.008807
0
0
0.003203
0
0
1
0.1
false
0
0.15
0.016667
0.55
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
169416004b49e3096dcd842f2c5f9ae4efc47909
389
py
Python
tests/executors/encoders/image/test_tfkeras.py
xubiuit/jina
4ab91693c2d51a35eca3cf6c187034e0568b0ac9
[ "Apache-2.0" ]
null
null
null
tests/executors/encoders/image/test_tfkeras.py
xubiuit/jina
4ab91693c2d51a35eca3cf6c187034e0568b0ac9
[ "Apache-2.0" ]
null
null
null
tests/executors/encoders/image/test_tfkeras.py
xubiuit/jina
4ab91693c2d51a35eca3cf6c187034e0568b0ac9
[ "Apache-2.0" ]
null
null
null
import unittest from jina.executors.encoders.image.tfkeras import KerasImageEncoder from tests.executors.encoders.image import ImageTestCase class MyTestCase(ImageTestCase): def _get_encoder(self, metas): self.target_output_dim = 1280 self.input_dim = 96 return KerasImageEncoder(channel_a...
24.3125
67
0.750643
46
389
6.043478
0.673913
0.122302
0.158273
0
0
0
0
0
0
0
0
0.021672
0.169666
389
15
68
25.933333
0.839009
0
0
0
0
0
0.020566
0
0
0
0
0
0
1
0.1
false
0
0.3
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
169a6b55e0620ab5655332ed5a3c472cdce924a6
2,183
py
Python
libs/yowsup/yowsup/yowsup/layers/protocol_groups/protocolentities/iq_groups_list.py
akshitpradhan/TomHack
837226e7b38de1140c19bc2d478eeb9e379ed1fd
[ "MIT" ]
22
2017-07-14T20:01:17.000Z
2022-03-08T14:22:39.000Z
libs/yowsup/yowsup/yowsup/layers/protocol_groups/protocolentities/iq_groups_list.py
akshitpradhan/TomHack
837226e7b38de1140c19bc2d478eeb9e379ed1fd
[ "MIT" ]
6
2017-07-14T21:03:50.000Z
2021-06-10T19:08:32.000Z
libs/yowsup/yowsup/yowsup/layers/protocol_groups/protocolentities/iq_groups_list.py
akshitpradhan/TomHack
837226e7b38de1140c19bc2d478eeb9e379ed1fd
[ "MIT" ]
13
2017-07-14T20:13:14.000Z
2020-11-12T08:06:05.000Z
from yowsup.common import YowConstants from yowsup.structs import ProtocolEntity, ProtocolTreeNode from .iq_groups import GroupsIqProtocolEntity class ListGroupsIqProtocolEntity(GroupsIqProtocolEntity): ''' <iq id="{{id}}"" type="get" to="g.us" xmlns="w:g2"> <"{{participating | owning}}"></"{{participat...
41.980769
161
0.650939
220
2,183
6.186364
0.309091
0.033064
0.037472
0.020573
0.191036
0.191036
0.191036
0.191036
0.191036
0.191036
0
0.001152
0.204764
2,183
51
162
42.803922
0.782834
0.364178
0
0
0
0
0.043077
0
0
0
0
0
0.041667
1
0.166667
false
0
0.125
0
0.541667
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
169cfae0a53aef19f43afcdbc8bc8be48e6c0000
2,139
py
Python
salomon_exp/SimCLR-1/model.py
IsraelAbebe/cassava_disease_classification
0706dfc3b4e67fa4fbcabb4c327828ae14b4e671
[ "MIT" ]
1
2020-05-17T01:09:05.000Z
2020-05-17T01:09:05.000Z
salomon_exp/SimCLR-1/model.py
IsraelAbebe/cassava_disease_classification
0706dfc3b4e67fa4fbcabb4c327828ae14b4e671
[ "MIT" ]
null
null
null
salomon_exp/SimCLR-1/model.py
IsraelAbebe/cassava_disease_classification
0706dfc3b4e67fa4fbcabb4c327828ae14b4e671
[ "MIT" ]
1
2021-05-05T07:48:56.000Z
2021-05-05T07:48:56.000Z
import os import torch from modules import SimCLR, LARS def load_model(args, loader, reload_model=False): model = SimCLR(args) if reload_model: model_fp = os.path.join( args.model_path, "checkpoint_{}.tar".format(args.epoch_num) ) model.load_state_dict(torch.load(model_fp,...
33.952381
107
0.638616
274
2,139
4.872263
0.441606
0.026966
0.014981
0.020974
0
0
0
0
0
0
0
0.017089
0.261337
2,139
62
108
34.5
0.826582
0.179991
0
0.044444
0
0.022222
0.098511
0
0
0
0
0.016129
0
1
0.044444
false
0
0.133333
0
0.2
0.022222
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
169eda0c07979f08ae7c31a9ceeefdfa266e7894
1,434
py
Python
jfr_playoff/dto.py
emkael/jfrteamy-playoff
592105b9ee6a9c6f3d9bd7358bc5ab18f8ded0c8
[ "BSD-2-Clause" ]
1
2017-03-02T12:58:18.000Z
2017-03-02T12:58:18.000Z
jfr_playoff/dto.py
emkael/jfrteamy-playoff
592105b9ee6a9c6f3d9bd7358bc5ab18f8ded0c8
[ "BSD-2-Clause" ]
36
2017-08-08T00:19:54.000Z
2020-01-22T21:10:35.000Z
jfr_playoff/dto.py
emkael/jfrteamy-playoff
592105b9ee6a9c6f3d9bd7358bc5ab18f8ded0c8
[ "BSD-2-Clause" ]
1
2018-02-22T23:19:39.000Z
2018-02-22T23:19:39.000Z
import sys def coalesce(*arg): for el in arg: if el is not None: return el return None class Team(object): name = None possible_name = None score = 0.0 place = None known_teams = 0 selected_team = -1 def __init__(self): self.place = [] self.nam...
22.40625
91
0.55788
179
1,434
4.27933
0.290503
0.052219
0.043081
0.06658
0.117493
0
0
0
0
0
0
0.007071
0.309623
1,434
63
92
22.761905
0.766667
0
0
0.1
0
0
0.076709
0
0
0
0
0
0
1
0.12
false
0
0.02
0.08
0.76
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
16ad2a4ec5c5c8ae265206874022e1af37a6a172
1,615
py
Python
renting/rentomatic/models.py
walterpk78/test_rent
e8611b6d8a65c458676d9d1059877585face6757
[ "MIT" ]
null
null
null
renting/rentomatic/models.py
walterpk78/test_rent
e8611b6d8a65c458676d9d1059877585face6757
[ "MIT" ]
null
null
null
renting/rentomatic/models.py
walterpk78/test_rent
e8611b6d8a65c458676d9d1059877585face6757
[ "MIT" ]
null
null
null
from __future__ import unicode_literals from django.db import models from django.core.validators import MinValueValidator, MaxValueValidator from .constants import TRANSPORT_TYPE, MAX_CASH_AMOUNT from django.db.models import Sum, Count, Max, Q class TransportManager(models.Manager): def list(self, agency_id, filt...
42.5
118
0.694118
192
1,615
5.65625
0.4375
0.058932
0.066298
0.088398
0.192449
0.12523
0.069982
0.069982
0
0
0
0.01182
0.214241
1,615
37
119
43.648649
0.843972
0
0
0.137931
0
0
0.017957
0
0
0
0
0
0
1
0.034483
false
0.034483
0.172414
0
0.896552
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
16b00010ee9ee64e3fdc662c7e9216ef7a86cb86
50,361
py
Python
scripts/extract_network_health.py
worr/sysops-api
e67dcdb7adf2ba82dc5215a73ccf6b592978e93f
[ "Apache-2.0" ]
40
2015-01-24T19:00:05.000Z
2022-03-03T01:30:20.000Z
scripts/extract_network_health.py
worr/sysops-api
e67dcdb7adf2ba82dc5215a73ccf6b592978e93f
[ "Apache-2.0" ]
null
null
null
scripts/extract_network_health.py
worr/sysops-api
e67dcdb7adf2ba82dc5215a73ccf6b592978e93f
[ "Apache-2.0" ]
12
2015-02-03T17:02:27.000Z
2020-07-24T03:23:37.000Z
#!/usr/bin/python2.6 # filesource \$HeadURL: svn+ssh://csvn@esv4-sysops-svn.corp.linkedin.com/export/content/sysops-svn/cfengine/trunk/generic_cf-agent_policies/config-general/manage_usr_local_utilities/extract_network_health.py $ # version \$Revision: 78161 $ # modifiedby \$LastChangedBy: msvoboda $ # last...
50.818365
275
0.543734
5,272
50,361
4.990326
0.115137
0.077654
0.076894
0.076628
0.566726
0.499411
0.441902
0.41062
0.349006
0.306853
0
0.007093
0.311292
50,361
990
276
50.869697
0.751442
0.063422
0
0.380353
0
0.010076
0.221433
0.04962
0
0
0
0
0
0
null
null
0.003778
0.017632
null
null
0.065491
0
0
0
null
0
0
0
0
0
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
16c079b35170fb9cbc6fdb0a135ccc6c7c93bea3
8,326
py
Python
blogproject/blog/tests/test_templatetags.py
MrWolffy/django-tutorial
4b00e35092d47e9a04a7019c3f803c5b09630ec6
[ "MIT" ]
null
null
null
blogproject/blog/tests/test_templatetags.py
MrWolffy/django-tutorial
4b00e35092d47e9a04a7019c3f803c5b09630ec6
[ "MIT" ]
null
null
null
blogproject/blog/tests/test_templatetags.py
MrWolffy/django-tutorial
4b00e35092d47e9a04a7019c3f803c5b09630ec6
[ "MIT" ]
null
null
null
from datetime import timedelta from django.apps import apps from django.contrib.auth.models import User from django.template import Context, Template from django.test import TestCase from django.urls import reverse from django.utils import timezone from ..models import Category, Post, Tag from ..templatetags.blog_ext...
39.089202
84
0.599928
961
8,326
4.986472
0.132154
0.080134
0.027129
0.045075
0.754591
0.712855
0.644825
0.592863
0.570952
0.561978
0
0.011158
0.257266
8,326
213
85
39.089202
0.763745
0.007086
0
0.460317
0
0
0.152795
0.048754
0
0
0
0
0.121693
1
0.05291
false
0.005291
0.047619
0
0.10582
0
0
0
0
null
0
0
0
0
1
0
0
0
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
16c2e2cc6ea6e3c6f3954c3923015a2d15cc1569
887
py
Python
problem-solving/Day of the Programmer/Solution.py
Abedp/hackerrank-solutions
3dde344c5ef0cb08eca5b34cd0775050d92fd673
[ "MIT" ]
null
null
null
problem-solving/Day of the Programmer/Solution.py
Abedp/hackerrank-solutions
3dde344c5ef0cb08eca5b34cd0775050d92fd673
[ "MIT" ]
null
null
null
problem-solving/Day of the Programmer/Solution.py
Abedp/hackerrank-solutions
3dde344c5ef0cb08eca5b34cd0775050d92fd673
[ "MIT" ]
1
2021-10-05T13:02:32.000Z
2021-10-05T13:02:32.000Z
#!/bin/python3 import math import os import random import re import sys # # Complete the 'dayOfProgrammer' function below. # # The function is expected to return a STRING. # The function accepts INTEGER year as parameter. # def dayOfProgrammer(year): # Write your code here if year>1918: if year %100 ...
20.627907
49
0.574972
121
887
4.140496
0.479339
0.05988
0.107784
0.077844
0.261477
0.241517
0.241517
0.175649
0.175649
0.175649
0
0.077409
0.286359
887
42
50
21.119048
0.71406
0.196167
0
0.307692
0
0
0.08227
0
0
0
0
0.02381
0
1
0.038462
false
0
0.192308
0
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1