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
be9424e8c5ac4aa2751f22af8d832bb5b94a2398
473
py
Python
software/misc/get_r_string_samples_by_sample_group.py
Searchlight2/Searchlight2
87c85975be49c503f79063d72d321da21a6c6341
[ "MIT" ]
17
2018-12-11T13:36:12.000Z
2022-03-31T06:27:59.000Z
software/misc/get_r_string_samples_by_sample_group.py
Searchlight2/Searchlight2
87c85975be49c503f79063d72d321da21a6c6341
[ "MIT" ]
1
2019-11-26T11:00:57.000Z
2019-11-26T11:01:12.000Z
software/misc/get_r_string_samples_by_sample_group.py
Searchlight2/Searchlight2
87c85975be49c503f79063d72d321da21a6c6341
[ "MIT" ]
7
2020-05-21T16:35:41.000Z
2022-03-31T06:28:01.000Z
def get_r_string_samples_by_sample_group(order_list,samples_by_sample_groups): samples_by_sample_group_r_string = [] for sample_group in order_list: sample_group_samples = samples_by_sample_groups[sample_group] samples_by_sample_group_r_string.append("c(\"" + "\",\"".join(sample_group_samples)...
43
100
0.763214
68
473
4.647059
0.25
0.348101
0.379747
0.379747
0.588608
0.588608
0
0
0
0
0
0
0.128964
473
11
101
43
0.76699
0
0
0
0
0
0.097252
0.057082
0.142857
0
0
0
0
1
0.142857
false
0
0
0
0.285714
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
beb4cca05ea5c99772504d3859ccc221561db5ad
174
py
Python
arc/arc046/arc046a-2.py
c-yan/atcoder
940e49d576e6a2d734288fadaf368e486480a948
[ "MIT" ]
1
2019-08-21T00:49:34.000Z
2019-08-21T00:49:34.000Z
arc/arc046/arc046a-2.py
c-yan/atcoder
940e49d576e6a2d734288fadaf368e486480a948
[ "MIT" ]
null
null
null
arc/arc046/arc046a-2.py
c-yan/atcoder
940e49d576e6a2d734288fadaf368e486480a948
[ "MIT" ]
null
null
null
N = int(input()) c = 1 for i in range(1, 10): for j in range(1, 10): if c != N: c += 1 continue print(str(j) * i) exit()
15.818182
26
0.385057
28
174
2.392857
0.571429
0.059701
0.238806
0.298507
0
0
0
0
0
0
0
0.086022
0.465517
174
10
27
17.4
0.634409
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.111111
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
fe33c6a75f33237a90519296ecae4ca09d4a85ea
288
py
Python
chart_of_intervals.py
Lai-YT/webcam-applications
e478deb1a609bb331cb831b7365bfe81b8bc22f9
[ "MIT" ]
1
2021-10-17T03:08:37.000Z
2021-10-17T03:08:37.000Z
chart_of_intervals.py
Lai-YT/webcam-applications
e478deb1a609bb331cb831b7365bfe81b8bc22f9
[ "MIT" ]
18
2021-12-24T08:25:33.000Z
2022-03-31T15:19:02.000Z
chart_of_intervals.py
Lai-YT/webcam-applications
e478deb1a609bb331cb831b7365bfe81b8bc22f9
[ "MIT" ]
null
null
null
from typing import List import concentration.fuzzy.parse as parse from concentration.fuzzy.classes import Interval if __name__ == "__main__": intervals: List[Interval] = parse.read_intervals_from_json("intervals.json") parse.save_chart_of_intervals("intervals.jpg", intervals)
28.8
80
0.795139
37
288
5.810811
0.540541
0.167442
0
0
0
0
0
0
0
0
0
0
0.114583
288
9
81
32
0.843137
0
0
0
0
0
0.121528
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
fe39c526e7f26262119f273cb14cd3765f507b1d
98
py
Python
week_1_basics_n_setup/1_docker_sql/pipeline.py
meswaramoorthy/gcp-de-zoomcamp
1b01ea425404c7c101839cf363dbf556b67d86a0
[ "MIT" ]
null
null
null
week_1_basics_n_setup/1_docker_sql/pipeline.py
meswaramoorthy/gcp-de-zoomcamp
1b01ea425404c7c101839cf363dbf556b67d86a0
[ "MIT" ]
2
2022-02-22T06:40:10.000Z
2022-02-23T05:41:02.000Z
week_1_basics_n_setup/1_docker_sql/pipeline.py
meswaramoorthy/gcp-de-zoomcamp
1b01ea425404c7c101839cf363dbf556b67d86a0
[ "MIT" ]
null
null
null
import pandas as pd import sys print(sys.argv) day = sys.argv[1] print(f"Job Completed f{day}")
12.25
30
0.714286
19
98
3.684211
0.631579
0.2
0
0
0
0
0
0
0
0
0
0.012048
0.153061
98
8
30
12.25
0.831325
0
0
0
0
0
0.20202
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0.4
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
fe3bdcdfe43f26cc71140e82dd574f3dbaf2e5db
16,268
py
Python
extronlib_v3_4r7_0/ui.py
masx200/extron-Global-Scripter-ControlScript-
91d614e984d9fe985897d32b8ab39c69d691c457
[ "MulanPSL-1.0" ]
4
2020-09-11T09:29:00.000Z
2021-06-28T17:58:15.000Z
extronlib_v3_4r7_0/ui.py
masx200/extron-Global-Scripter-ControlScript-
91d614e984d9fe985897d32b8ab39c69d691c457
[ "MulanPSL-1.0" ]
null
null
null
extronlib_v3_4r7_0/ui.py
masx200/extron-Global-Scripter-ControlScript-
91d614e984d9fe985897d32b8ab39c69d691c457
[ "MulanPSL-1.0" ]
3
2021-02-02T17:09:47.000Z
2021-09-16T22:18:12.000Z
# pylint: disable=W0613, C0111, C0103, C0301 """ The ui package. version: 3.4r7.0 ExtronLibraray version: 3.4r7 ControlScript version: 3.4.6 GlobalScripter version: 2.3.1.3 Release date: 3.10.2019 Author: Roni Starc (roni.starc@gmail.com) ChangeLog: v2.0 - Fixed some mistakes, updated GS v2.8.r3, added ...
40.568579
307
0.606098
2,049
16,268
4.802343
0.196193
0.010671
0.014533
0.030488
0.595935
0.571138
0.548679
0.522561
0.512703
0.487398
0
0.012088
0.272806
16,268
401
308
40.568579
0.819696
0.761864
0
0.677419
0
0
0
0
0
0
0
0
0
1
0.236559
false
0.182796
0
0
0.688172
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
1
0
0
1
0
0
3
fe3fe0843097a04769d67fe70f570272a36ac8c8
716
py
Python
desktop/core/ext-py/djangorestframework_simplejwt-3.3/rest_framework_simplejwt/utils.py
rohankumardubey/hue
eb5429a7d03c36307ea3b13f49ce7b0ab0781087
[ "Apache-2.0" ]
5,079
2015-01-01T03:39:46.000Z
2022-03-31T07:38:22.000Z
desktop/core/ext-py/djangorestframework_simplejwt-3.3/rest_framework_simplejwt/utils.py
rohankumardubey/hue
eb5429a7d03c36307ea3b13f49ce7b0ab0781087
[ "Apache-2.0" ]
1,623
2015-01-01T08:06:24.000Z
2022-03-30T19:48:52.000Z
desktop/core/ext-py/djangorestframework_simplejwt-3.3/rest_framework_simplejwt/utils.py
rohankumardubey/hue
eb5429a7d03c36307ea3b13f49ce7b0ab0781087
[ "Apache-2.0" ]
2,033
2015-01-04T07:18:02.000Z
2022-03-28T19:55:47.000Z
from __future__ import unicode_literals from calendar import timegm from datetime import datetime from django.conf import settings from django.utils import six from django.utils.functional import lazy from django.utils.timezone import is_naive, make_aware, utc def make_utc(dt): if settings.USE_TZ and is_naive(d...
20.457143
59
0.75838
106
716
4.915094
0.377358
0.076775
0.086372
0.080614
0
0
0
0
0
0
0
0
0.153631
716
34
60
21.058824
0.859736
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.35
0.2
0.9
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
1
1
0
0
0
3
fe559c30810ee813d9ebea135ec36f425ba28402
2,244
py
Python
azurechan/utils.py
Inwazzin/Azur-Lane-Info-Bot
363b3679bcd4f9699e55d752e0a84fa644e21f64
[ "MIT" ]
2
2020-10-06T06:45:29.000Z
2021-01-06T03:25:18.000Z
azurechan/utils.py
Inwazzin/Azur-Lane-Info-Bot
363b3679bcd4f9699e55d752e0a84fa644e21f64
[ "MIT" ]
4
2020-08-29T23:32:21.000Z
2020-08-30T04:48:51.000Z
azurechan/utils.py
Inwazzin/Mimikk-Cogs
363b3679bcd4f9699e55d752e0a84fa644e21f64
[ "MIT" ]
1
2021-08-18T14:35:52.000Z
2021-08-18T14:35:52.000Z
from .imports import * def create_select_controls(reactions): """Creates Menu's Reaction Based Navigation""" async def select_page(ctx, pages, controls, message, page, timeout, emoji): # if can manage messages remove the react if message.channel.permissions_for(ctx.me).manage_messages: ...
41.555556
145
0.629234
299
2,244
4.598662
0.381271
0.034909
0.026182
0.040727
0.168
0.168
0.130182
0.130182
0.08
0.08
0
0.005108
0.214795
2,244
53
146
42.339623
0.774688
0.067736
0
0
0
0.032258
0.244242
0.132917
0
0
0
0
0
1
0.258065
false
0
0.032258
0.193548
0.612903
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
fe5bb8b91e0fc5cabcf34f205bef8e94706d812f
252
py
Python
LeetCodeSolutions/LeetCode_0049.py
lih627/python-algorithm-templates
a61fd583e33a769b44ab758990625d3381793768
[ "MIT" ]
24
2020-03-28T06:10:25.000Z
2021-11-23T05:01:29.000Z
LeetCodeSolutions/LeetCode_0049.py
lih627/python-algorithm-templates
a61fd583e33a769b44ab758990625d3381793768
[ "MIT" ]
null
null
null
LeetCodeSolutions/LeetCode_0049.py
lih627/python-algorithm-templates
a61fd583e33a769b44ab758990625d3381793768
[ "MIT" ]
8
2020-05-18T02:43:16.000Z
2021-05-24T18:11:38.000Z
class Solution: def groupAnagrams(self, strs: List[str]) -> List[List[str]]: from collections import defaultdict res = defaultdict(list) for _ in strs: res[tuple(sorted(_))].append(_) return res.values()
31.5
64
0.603175
28
252
5.321429
0.714286
0.09396
0
0
0
0
0
0
0
0
0
0
0.277778
252
7
65
36
0.818681
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
fe61f848ee775107746811de460e48b5249b5dce
1,752
py
Python
stubs.min/Autodesk/Revit/DB/__init___parts/ImportInstance.py
ricardyn/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
1
2021-02-02T13:39:16.000Z
2021-02-02T13:39:16.000Z
stubs.min/Autodesk/Revit/DB/__init___parts/ImportInstance.py
hdm-dt-fb/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
null
null
null
stubs.min/Autodesk/Revit/DB/__init___parts/ImportInstance.py
hdm-dt-fb/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
null
null
null
class ImportInstance(Instance,IDisposable): """ An element created during either import or link operation in Autodesk Revit. """ def Dispose(self): """ Dispose(self: Element,A_0: bool) """ pass def getBoundingBox(self,*args): """ getBoundingBox(self: Element,view: View) -> BoundingBoxXYZ """ pass de...
38.086957
215
0.711758
201
1,752
5.905473
0.378109
0.047178
0.030329
0.050548
0.222409
0.222409
0.222409
0.222409
0.222409
0.222409
0
0.000687
0.169521
1,752
45
216
38.933333
0.81512
0.569635
0
0.45
0
0
0
0
0
0
0
0
0
1
0.45
false
0.45
0.05
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
1
0
1
0
0
1
0
0
3
fe855a19de7a1313a0e71997bee94087c1dcc77e
103
py
Python
components/FCRN_DepthPrediction_vmd/tensorflow/__init__.py
huahuahuage/OpenMMD
77d0d1a772cec35d04becedbebdde8fdce40c720
[ "Apache-2.0" ]
2
2022-03-28T03:14:17.000Z
2022-03-28T03:23:40.000Z
components/FCRN_DepthPrediction_vmd/tensorflow/__init__.py
huahuahuage/OpenMMD
77d0d1a772cec35d04becedbebdde8fdce40c720
[ "Apache-2.0" ]
null
null
null
components/FCRN_DepthPrediction_vmd/tensorflow/__init__.py
huahuahuage/OpenMMD
77d0d1a772cec35d04becedbebdde8fdce40c720
[ "Apache-2.0" ]
2
2022-03-28T03:14:19.000Z
2022-03-28T03:25:39.000Z
import os com_path = os.path.join(os.getcwd(), "components", "FCRN_DepthPrediction_vmd", "tensorflow")
34.333333
92
0.757282
14
103
5.357143
0.785714
0
0
0
0
0
0
0
0
0
0
0
0.07767
103
3
92
34.333333
0.789474
0
0
0
0
0
0.423077
0.230769
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
fe875ad15cfef2a69161741e741c176af21164f5
161,755
py
Python
CStructures.py
pradeep-p-1999/automated-trading-and-alert-system-
c5050766f8cc321df17526f824246a35252e8bdf
[ "MIT" ]
1
2020-08-08T10:15:47.000Z
2020-08-08T10:15:47.000Z
CStructures.py
pradeep-p-1999/automated-trading-and-alert-system-
c5050766f8cc321df17526f824246a35252e8bdf
[ "MIT" ]
null
null
null
CStructures.py
pradeep-p-1999/automated-trading-and-alert-system-
c5050766f8cc321df17526f824246a35252e8bdf
[ "MIT" ]
1
2020-07-16T18:38:48.000Z
2020-07-16T18:38:48.000Z
# import TapClient import struct import struct from array import * from Exception import * from logging_config import * class MessageHeader(): def __init__(self,transcode): try: self._TransactionCode,self._MessageLength=0,0 except: logger.exception(PrintException()) @pro...
40.816301
1,265
0.669271
18,298
161,755
5.826648
0.07356
0.047554
0.06408
0.032115
0.50257
0.470033
0.446847
0.396132
0.371914
0.364035
0
0.053682
0.18222
161,755
3,962
1,266
40.826603
0.752306
0.008259
0
0.491832
0
0.000594
0.046218
0.00308
0.016929
0
0
0
0
1
0.316305
false
0.003564
0.001485
0.150579
0.345411
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
fe9bee0dc02b30444d711b49fcb6b2c5ecade9d5
11,082
py
Python
hail/python/hail/ir/base_ir.py
3vivekb/hail
82c9e0f3ec2154335f91f2219b84c0fb5dbac526
[ "MIT" ]
null
null
null
hail/python/hail/ir/base_ir.py
3vivekb/hail
82c9e0f3ec2154335f91f2219b84c0fb5dbac526
[ "MIT" ]
null
null
null
hail/python/hail/ir/base_ir.py
3vivekb/hail
82c9e0f3ec2154335f91f2219b84c0fb5dbac526
[ "MIT" ]
null
null
null
import abc from hail.utils.java import Env from .renderer import Renderer, PlainRenderer, Renderable def _env_bind(env, bindings): if bindings: if env: res = env.copy() res.update(bindings) return res else: return dict(bindings) else: re...
29.010471
110
0.612525
1,431
11,082
4.463312
0.143955
0.039142
0.025051
0.018788
0.528261
0.500078
0.451386
0.414279
0.377172
0.324566
0
0.001012
0.286771
11,082
381
111
29.086614
0.80706
0.066234
0
0.431227
0
0
0.014635
0.004322
0
0
0
0
0.022305
1
0.260223
false
0.003717
0.011152
0.137546
0.572491
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
feab6d45ccb00f02f4f7170f4cd10635d63ad9f2
199
py
Python
Story/urls.py
RAPTOR-XR/Meety-Version_2.0
c93e108995c8ffd687b2475c8fd9f9d93dbafcfb
[ "MIT" ]
null
null
null
Story/urls.py
RAPTOR-XR/Meety-Version_2.0
c93e108995c8ffd687b2475c8fd9f9d93dbafcfb
[ "MIT" ]
null
null
null
Story/urls.py
RAPTOR-XR/Meety-Version_2.0
c93e108995c8ffd687b2475c8fd9f9d93dbafcfb
[ "MIT" ]
null
null
null
from django.urls import path from Story.views import NewStory, ShowMedia urlpatterns = [ path('newstory/', NewStory, name='newstory'), path('showmedia/<stream_id>', ShowMedia, name='showmedia'), ]
28.428571
60
0.743719
24
199
6.125
0.541667
0
0
0
0
0
0
0
0
0
0
0
0.105528
199
7
61
28.428571
0.825843
0
0
0
0
0
0.235
0.105
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
feaeaa9f33644e2120aa691651dc21c4e47d320e
1,703
py
Python
pytorch_stylegan_encoder/models/losses.py
CSID-DGU/-2020-1-OSSP1-ninetynine-2
b1824254882eeea0ee44e4e60896b72c51ef1d2c
[ "MIT" ]
1
2020-06-21T13:45:26.000Z
2020-06-21T13:45:26.000Z
pytorch_stylegan_encoder/models/losses.py
CSID-DGU/-2020-1-OSSP1-ninetynine-2
b1824254882eeea0ee44e4e60896b72c51ef1d2c
[ "MIT" ]
null
null
null
pytorch_stylegan_encoder/models/losses.py
CSID-DGU/-2020-1-OSSP1-ninetynine-2
b1824254882eeea0ee44e4e60896b72c51ef1d2c
[ "MIT" ]
3
2020-09-02T03:18:45.000Z
2021-01-27T08:24:05.000Z
import torch class LatentLoss(torch.nn.Module): def __init__(self): super().__init__() self.l1_loss = L1Loss() self.log_cosh_loss = LogCoshLoss() self.l2_loss = torch.nn.MSELoss() def forward(self, real_features, generated_features, average_dlatents = None, dlatents = None)...
35.479167
110
0.626541
213
1,703
4.798122
0.441315
0.027397
0.03816
0.046967
0.251468
0.186888
0.139922
0.139922
0.107632
0.107632
0
0.017171
0.281856
1,703
47
111
36.234043
0.818479
0.351732
0
0.333333
0
0
0
0
0
0
0
0.021277
0
1
0.25
false
0
0.041667
0.041667
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
1
0
0
1
0
0
0
0
1
0
0
3
227ff38fa10cde39daa2d80e48dd7e544e633c93
247
py
Python
types/objects/comment.py
StepaTa/vkbottle
3b04a5343380cbabe782151e7cb1c1645a9fa9ce
[ "MIT" ]
null
null
null
types/objects/comment.py
StepaTa/vkbottle
3b04a5343380cbabe782151e7cb1c1645a9fa9ce
[ "MIT" ]
null
null
null
types/objects/comment.py
StepaTa/vkbottle
3b04a5343380cbabe782151e7cb1c1645a9fa9ce
[ "MIT" ]
null
null
null
import typing from ..base import BaseModel class Thread(BaseModel): can_post: bool = None count: int = None groups_can_post: bool = None items: typing.List = None show_reply_button: bool = None Thread.update_forward_refs()
17.642857
34
0.708502
34
247
4.941176
0.647059
0.142857
0.130952
0.178571
0
0
0
0
0
0
0
0
0.214575
247
13
35
19
0.865979
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.222222
0
0.888889
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
1
0
0
0
1
0
0
3
2282082eea4f75559c25bff760adc9b0c2cb2c96
155
py
Python
tests/unit/status/base_status/test_get_latest_backup.py
denssk/backup
292d5f1b1a3765ce0ea8d3cab8bd1ae0c583f72e
[ "Apache-2.0" ]
69
2016-06-29T16:13:55.000Z
2022-03-21T06:38:37.000Z
tests/unit/status/base_status/test_get_latest_backup.py
denssk/backup
292d5f1b1a3765ce0ea8d3cab8bd1ae0c583f72e
[ "Apache-2.0" ]
237
2016-09-28T02:12:34.000Z
2022-03-25T13:32:23.000Z
tests/unit/status/base_status/test_get_latest_backup.py
denssk/backup
292d5f1b1a3765ce0ea8d3cab8bd1ae0c583f72e
[ "Apache-2.0" ]
45
2017-01-04T21:20:27.000Z
2021-12-29T10:42:22.000Z
from twindb_backup.status.base_status import BaseStatus def test_latest_status_none(): status = BaseStatus() assert status.latest_backup is None
22.142857
55
0.793548
21
155
5.571429
0.619048
0
0
0
0
0
0
0
0
0
0
0
0.148387
155
6
56
25.833333
0.886364
0
0
0
0
0
0
0
0
0
0
0
0.25
1
0.25
false
0
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
228bfb3d69794cd3613d946346254ec917f916d7
939
py
Python
checkov/terraform/checks/resource/gcp/GoogleCloudDNSSECEnabled.py
rajivshah3/checkov
c6a6eca21bedae50574814c92973b65d2d963581
[ "Apache-2.0" ]
1
2020-07-26T17:56:20.000Z
2020-07-26T17:56:20.000Z
checkov/terraform/checks/resource/gcp/GoogleCloudDNSSECEnabled.py
rajivshah3/checkov
c6a6eca21bedae50574814c92973b65d2d963581
[ "Apache-2.0" ]
2
2020-11-10T19:32:53.000Z
2020-11-10T19:32:55.000Z
checkov/terraform/checks/resource/gcp/GoogleCloudDNSSECEnabled.py
rajivshah3/checkov
c6a6eca21bedae50574814c92973b65d2d963581
[ "Apache-2.0" ]
1
2021-11-28T09:51:01.000Z
2021-11-28T09:51:01.000Z
from checkov.terraform.checks.resource.base_resource_value_check import BaseResourceValueCheck from checkov.common.models.enums import CheckCategories class GoogleCloudDNSSECEnabled(BaseResourceValueCheck): """ Looks for DNSSEC state at dns_managed_zone: https://www.terraform.io/docs/providers/google/r/dn...
32.37931
106
0.732694
109
939
6.018349
0.550459
0.045732
0.064024
0
0
0
0
0
0
0
0
0.003871
0.174654
939
28
107
33.535714
0.842581
0.127796
0
0
0
0
0.136421
0.057572
0
0
0
0
0
1
0.25
false
0
0.125
0.1875
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
228e6229d69441ce573b294263e4e46e47fded42
936
py
Python
benchexec/tools/javac.py
MartinSpiessl/benchexec
7bd6c62b0fdc6eac0b6eedbe0315d0de3992c410
[ "Apache-2.0" ]
137
2016-01-12T08:00:43.000Z
2022-03-28T20:05:22.000Z
benchexec/tools/javac.py
MartinSpiessl/benchexec
7bd6c62b0fdc6eac0b6eedbe0315d0de3992c410
[ "Apache-2.0" ]
505
2015-12-15T09:57:34.000Z
2022-03-19T13:15:07.000Z
benchexec/tools/javac.py
MartinSpiessl/benchexec
7bd6c62b0fdc6eac0b6eedbe0315d0de3992c410
[ "Apache-2.0" ]
164
2015-12-17T20:17:29.000Z
2022-03-18T02:53:28.000Z
# This file is part of BenchExec, a framework for reliable benchmarking: # https://github.com/sosy-lab/benchexec # # SPDX-FileCopyrightText: 2007-2020 Dirk Beyer <https://www.sosy-lab.org> # # SPDX-License-Identifier: Apache-2.0 import benchexec.tools.template import benchexec.util as util class Tool(benchexec.tools...
29.25
84
0.662393
115
936
5.33913
0.6
0.039088
0.071661
0
0
0
0
0
0
0
0
0.013755
0.223291
936
31
85
30.193548
0.830812
0.311966
0
0
0
0
0.045814
0
0
0
0
0
0
1
0.235294
false
0
0.117647
0.235294
0.647059
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
22ac8277ba1424b1db0de125c2116e47d1fe9a34
230
py
Python
setup.py
ivaROS/ROSWrapper
c95c67885273ef815f4624c8b91db1d6430bc112
[ "BSD-3-Clause" ]
null
null
null
setup.py
ivaROS/ROSWrapper
c95c67885273ef815f4624c8b91db1d6430bc112
[ "BSD-3-Clause" ]
null
null
null
setup.py
ivaROS/ROSWrapper
c95c67885273ef815f4624c8b91db1d6430bc112
[ "BSD-3-Clause" ]
null
null
null
from setuptools import setup setup(name='ROSWrapper', version='1.0', description='Classes publishing/subscribing to the ROS topics for common data types', author='IVALab', packages=['ROSWrapper'], )
28.75
92
0.669565
26
230
5.923077
0.923077
0
0
0
0
0
0
0
0
0
0
0.011111
0.217391
230
7
93
32.857143
0.844444
0
0
0
0
0
0.430435
0.095652
0
0
0
0
0
1
0
true
0
0.142857
0
0.142857
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
22c8e9f1037dcf618ab815f3b7518a7375329f56
390
py
Python
quantecon/markov/__init__.py
zackhui/quant-econ
9fbd2371d3e83800299de86f357ffaf11cfcd53c
[ "BSD-3-Clause" ]
null
null
null
quantecon/markov/__init__.py
zackhui/quant-econ
9fbd2371d3e83800299de86f357ffaf11cfcd53c
[ "BSD-3-Clause" ]
null
null
null
quantecon/markov/__init__.py
zackhui/quant-econ
9fbd2371d3e83800299de86f357ffaf11cfcd53c
[ "BSD-3-Clause" ]
3
2018-06-14T04:42:50.000Z
2021-10-09T18:59:08.000Z
""" Markov Chain SubPackge API """ from .core import MarkovChain from .core import mc_compute_stationary, mc_sample_path #-Future Deprecation-# from .gth_solve import gth_solve from .random import random_markov_chain, random_stochastic_matrix, \ random_discrete_dp from .approximation import tauchen from .ddp im...
30
81
0.817949
52
390
5.865385
0.596154
0.072131
0.091803
0
0
0
0
0
0
0
0
0
0.125641
390
12
82
32.5
0.894428
0.120513
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.875
0
0.875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
22dad5b3baf8b99be8ff782103c90538dea42527
262
py
Python
tests/__init__.py
ardeego/stackx
1430615a0aa40ddd8054f2fc1ccfcaa564020065
[ "MIT" ]
null
null
null
tests/__init__.py
ardeego/stackx
1430615a0aa40ddd8054f2fc1ccfcaa564020065
[ "MIT" ]
null
null
null
tests/__init__.py
ardeego/stackx
1430615a0aa40ddd8054f2fc1ccfcaa564020065
[ "MIT" ]
null
null
null
"""Make this it's own package so unit tests run properly without having to mess with path variables, see: __ http://stackoverflow.com/questions/1896918/running-unittest-with-typical-test-directory-structure Note: run ``python -m unittest discover`` """
26.2
100
0.755725
37
262
5.297297
0.918919
0
0
0
0
0
0
0
0
0
0
0.030973
0.137405
262
9
101
29.111111
0.836283
0.965649
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
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
22e650453ca599ce55f4d5170ea63894fb3b4d1a
316
py
Python
bookstore/admin.py
kardandon/muni-Django-rest
1fdceac385b9491d734135caefb2e2c8586615ef
[ "MIT" ]
null
null
null
bookstore/admin.py
kardandon/muni-Django-rest
1fdceac385b9491d734135caefb2e2c8586615ef
[ "MIT" ]
null
null
null
bookstore/admin.py
kardandon/muni-Django-rest
1fdceac385b9491d734135caefb2e2c8586615ef
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import * # Register your models here. admin.site.register(User) admin.site.register(Star) admin.site.register(Watchlist) admin.site.register(Comment) admin.site.register(Book_List) admin.site.register(Publisher) admin.site.register(Author) admin.site.register(Category)
26.333333
32
0.816456
45
316
5.711111
0.422222
0.280156
0.529183
0
0
0
0
0
0
0
0
0
0.066456
316
12
33
26.333333
0.871186
0.082278
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
fe0437ab44a9466593d2713389688bd12b99b7a5
536
py
Python
random_generate_for_log.py
Richardhongyu/attack_code
b331b3a9a47bd70578842db5df0535620b9ed367
[ "MIT" ]
1
2019-11-26T14:16:42.000Z
2019-11-26T14:16:42.000Z
random_generate_for_log.py
Richardhongyu/attack_code
b331b3a9a47bd70578842db5df0535620b9ed367
[ "MIT" ]
null
null
null
random_generate_for_log.py
Richardhongyu/attack_code
b331b3a9a47bd70578842db5df0535620b9ed367
[ "MIT" ]
null
null
null
import random import numpy as np def Random_Attack(pixel_count): random_attack_results=[] for i in range(pixel_count): x = random.randint(0,2) y = random.randint(0,27) grey_value = random.randint(0,255) random_attack_results.append(x) random_a...
33.5
63
0.656716
68
536
4.867647
0.397059
0.326284
0.459215
0.226586
0
0
0
0
0
0
0
0.023018
0.270522
536
15
64
35.733333
0.823529
0
0
0
0
0
0
0
0
0
0
0
0
1
0.071429
false
0
0.142857
0
0.285714
0.071429
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
fe04cb753dabd76eaadc53383baba6ec11863103
327
py
Python
newton/rules/exit/buy_lower_exit.py
thermo2nd/newton_old
29da5063e1165e99604c4262c241168a8b4cf108
[ "MIT" ]
null
null
null
newton/rules/exit/buy_lower_exit.py
thermo2nd/newton_old
29da5063e1165e99604c4262c241168a8b4cf108
[ "MIT" ]
null
null
null
newton/rules/exit/buy_lower_exit.py
thermo2nd/newton_old
29da5063e1165e99604c4262c241168a8b4cf108
[ "MIT" ]
null
null
null
from newton.trade.tools import last_price from newton.rules.exit.base import Exit class BuyLowerExit(Exit): def __init__(self, exit_price, name=None): super().__init__(name=name) self.exit_price = exit_price def can_exit(self, trade): return self.exit_price > last_price(trade.currency...
27.25
64
0.721713
47
327
4.680851
0.468085
0.163636
0.177273
0
0
0
0
0
0
0
0
0
0.183486
327
11
65
29.727273
0.82397
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0.125
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
1
0
0
0
1
1
0
0
3
fe08889616ddfc82a68fadf62a02f41992c8d460
120
py
Python
login.py
lulu095/test000
60ac350377d49361686e1e38288543d2ce247e71
[ "MIT" ]
1
2019-06-19T06:44:37.000Z
2019-06-19T06:44:37.000Z
login.py
lulu095/test000
60ac350377d49361686e1e38288543d2ce247e71
[ "MIT" ]
null
null
null
login.py
lulu095/test000
60ac350377d49361686e1e38288543d2ce247e71
[ "MIT" ]
null
null
null
num1 = 1 num2 = 1 num3 = 200 num100 = 000000 num2 = 100 num4 = 000 num33 = 9998 age = 12 age1 = 123 hahah = 1320389
8.571429
15
0.633333
20
120
3.8
0.9
0
0
0
0
0
0
0
0
0
0
0.511628
0.283333
120
13
16
9.230769
0.372093
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
fe0b43379c93b4a5473e749173162a3d6dd09b84
12,016
py
Python
02_HybridModelling/01_Old_versions/utilitis_pic.py
ratnania/mhd
89f383695075aa26fc805ffbf6ba458f0cdd6f4e
[ "MIT" ]
5
2018-04-13T15:35:21.000Z
2019-10-29T09:39:13.000Z
02_HybridModelling/01_Old_versions/utilitis_pic.py
ratnania/mhd
89f383695075aa26fc805ffbf6ba458f0cdd6f4e
[ "MIT" ]
null
null
null
02_HybridModelling/01_Old_versions/utilitis_pic.py
ratnania/mhd
89f383695075aa26fc805ffbf6ba458f0cdd6f4e
[ "MIT" ]
1
2018-10-19T10:53:15.000Z
2018-10-19T10:53:15.000Z
from pyccel.decorators import types from pyccel.decorators import pure from pyccel.decorators import external_call #============================================================================== @pure @types('double[:]','double[:]','double[:]') def cross(a, b, r): r[0] = a[1]*b[2] - a[2]*b[1] r[1] = a[2]*b[0] ...
28.954217
150
0.480859
1,576
12,016
3.630076
0.100254
0.077609
0.072365
0.044747
0.768572
0.722251
0.711239
0.679252
0.646041
0.62087
0
0.022502
0.304677
12,016
414
151
29.024155
0.662238
0.229028
0
0.662338
0
0
0.069578
0
0
0
0
0.002415
0
1
0.038961
false
0
0.064935
0
0.108225
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
fe1ce3e2febeebf554b58d309af3e97c9dab0723
139
py
Python
other/codefestival_2016_qualA_b.py
ryosuke0825/atcoder_python
185cdbe7db44ecca1aaf357858d16d31ce515ddb
[ "MIT" ]
null
null
null
other/codefestival_2016_qualA_b.py
ryosuke0825/atcoder_python
185cdbe7db44ecca1aaf357858d16d31ce515ddb
[ "MIT" ]
null
null
null
other/codefestival_2016_qualA_b.py
ryosuke0825/atcoder_python
185cdbe7db44ecca1aaf357858d16d31ce515ddb
[ "MIT" ]
null
null
null
N = int(input()) A = list(map(int, input().split())) ans = 0 for i in range(N): if A[A[i]-1] == (i+1): ans += 1 print(ans//2)
15.444444
35
0.482014
28
139
2.392857
0.607143
0.238806
0
0
0
0
0
0
0
0
0
0.048077
0.251799
139
8
36
17.375
0.596154
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a3c7ddd4ff8ffb568d0a31fed66c13693b91177b
53,952
py
Python
custom/icds_reports/tests/test_fact_sheet_report.py
dannyroberts/commcare-hq
4b0b8ecbe851e46307d3a0e635d6d5d6e31c3598
[ "BSD-3-Clause" ]
null
null
null
custom/icds_reports/tests/test_fact_sheet_report.py
dannyroberts/commcare-hq
4b0b8ecbe851e46307d3a0e635d6d5d6e31c3598
[ "BSD-3-Clause" ]
null
null
null
custom/icds_reports/tests/test_fact_sheet_report.py
dannyroberts/commcare-hq
4b0b8ecbe851e46307d3a0e635d6d5d6e31c3598
[ "BSD-3-Clause" ]
null
null
null
from __future__ import absolute_import from __future__ import unicode_literals from datetime import datetime from django.test.testcases import TestCase from custom.icds_reports.views import FactSheetsReport from custom.icds_reports.utils import get_location_level class TestFactSheetReportMaternalAndChildNutritionICD...
39.067343
112
0.444766
4,479
53,952
5.185532
0.077026
0.048523
0.058125
0.04904
0.847068
0.808275
0.794454
0.699303
0.647163
0.596573
0
0.105393
0.422283
53,952
1,380
113
39.095652
0.63977
0
0
0.495733
0
0
0.3001
0.039813
0
0
0
0
0.055857
1
0.059736
false
0
0.004655
0
0.073701
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a3ce0035b8b1d74086b8e5c5735d9b00a5b54994
305
py
Python
001133SelfeduPy/Selfedu001133PyBegin_v05_if_01_20200415.py
SafonovMikhail/python_000577
739f764e80f1ca354386f00b8e9db1df8c96531d
[ "Apache-2.0" ]
null
null
null
001133SelfeduPy/Selfedu001133PyBegin_v05_if_01_20200415.py
SafonovMikhail/python_000577
739f764e80f1ca354386f00b8e9db1df8c96531d
[ "Apache-2.0" ]
null
null
null
001133SelfeduPy/Selfedu001133PyBegin_v05_if_01_20200415.py
SafonovMikhail/python_000577
739f764e80f1ca354386f00b8e9db1df8c96531d
[ "Apache-2.0" ]
null
null
null
# значения операторов сравнения print("2 > 1: ", 2 > 1) print("2 < 1: ", 2 < 1) print("2 == 1: ", 2 == 1) print("2 == 2: ", 2 == 2) print("2 != 2: ", 2 != 2) print("2 != 1: ", 2 != 1) result = 7 > 5 print(result) # сравнение строк print("Я" > "А") print("Кот" > "Код") print("Я" > "А") print("Я" > "А")
17.941176
31
0.478689
52
305
2.807692
0.288462
0.109589
0.191781
0.219178
0.369863
0.349315
0.349315
0.226027
0.226027
0.226027
0
0.110169
0.22623
305
16
32
19.0625
0.508475
0.147541
0
0.25
0
0
0.226563
0
0
0
0
0
0
1
0
false
0
0
0
0
0.916667
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
a3e43d95b31a6c1054a62097daeea7802fd53b36
195
py
Python
tools/bpmn/esws/helloworld/models.py
mlacayoemery/esws
1af5e99b8651edbc36588adcec969032081d6a77
[ "MIT" ]
null
null
null
tools/bpmn/esws/helloworld/models.py
mlacayoemery/esws
1af5e99b8651edbc36588adcec969032081d6a77
[ "MIT" ]
22
2019-08-08T13:14:54.000Z
2022-02-10T10:43:38.000Z
tools/bpmn/esws/helloworld/models.py
mlacayoemery/esws
1af5e99b8651edbc36588adcec969032081d6a77
[ "MIT" ]
null
null
null
from django.db import models from viewflow.models import Process class HelloWorldProcess(Process): text = models.CharField(max_length=150) approved = models.BooleanField(default=False)
24.375
49
0.789744
24
195
6.375
0.75
0
0
0
0
0
0
0
0
0
0
0.017751
0.133333
195
7
50
27.857143
0.887574
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
a3e8cc82d4d25ad37704c91e595c2f54138ccaa9
245
py
Python
src/Stele/analysis/full_spectrum_collection/full_absorbance.py
SherwinGroup/Stele
9bb7da0b406a801975e21c9f7ce05d369ae661e5
[ "MIT" ]
null
null
null
src/Stele/analysis/full_spectrum_collection/full_absorbance.py
SherwinGroup/Stele
9bb7da0b406a801975e21c9f7ce05d369ae661e5
[ "MIT" ]
null
null
null
src/Stele/analysis/full_spectrum_collection/full_absorbance.py
SherwinGroup/Stele
9bb7da0b406a801975e21c9f7ce05d369ae661e5
[ "MIT" ]
null
null
null
from .full_spectrum import FullSpectrum class FullAbsorbance(FullSpectrum): """ I'm imagining this will sew up absorption spectra, but I'm not at all sure how to do that at the moment. """ def __init__(self): pass
20.416667
78
0.673469
35
245
4.571429
0.885714
0.025
0
0
0
0
0
0
0
0
0
0
0.257143
245
11
79
22.272727
0.879121
0.42449
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0.25
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
1
0
1
0
0
1
0
0
3
a3f2f7325b9e262925d15f1061f1192e1590b65a
2,998
py
Python
test.py
funny-falcon/flunn
e452f093582e90623293bc5da2568a24d17fa8ef
[ "MIT" ]
3
2017-08-18T13:50:23.000Z
2021-05-25T07:17:10.000Z
test.py
funny-falcon/flynn
e452f093582e90623293bc5da2568a24d17fa8ef
[ "MIT" ]
null
null
null
test.py
funny-falcon/flynn
e452f093582e90623293bc5da2568a24d17fa8ef
[ "MIT" ]
null
null
null
# coding: utf-8 import flunn import collections import unittest # Abbrevations T = flunn.Tagging Undef = flunn.Undefined # OrderedDict is required due to non-deterministic hashing salt O = collections.OrderedDict def rangei(i): return (i for i in range(i)) expectations = [ (0, "00", None), ...
36.120482
80
0.493996
314
2,998
4.684713
0.452229
0.023793
0.008158
0.026513
0.167233
0.160435
0.104691
0.057104
0.057104
0
0
0.251619
0.330554
2,998
82
81
36.560976
0.481315
0.126084
0
0.060606
0
0
0.158621
0.016858
0
0
0
0.012195
0.030303
1
0.045455
false
0
0.045455
0.015152
0.121212
0.030303
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
3
430af51c1acc752ba9660b1bc79dee5978cca353
569
py
Python
parser/build_dataset/main.py
emanuelgsouza/eleicoes-parser
015d4419f146d009fcc81d4cc9f0a62c6f58840a
[ "MIT" ]
null
null
null
parser/build_dataset/main.py
emanuelgsouza/eleicoes-parser
015d4419f146d009fcc81d4cc9f0a62c6f58840a
[ "MIT" ]
null
null
null
parser/build_dataset/main.py
emanuelgsouza/eleicoes-parser
015d4419f146d009fcc81d4cc9f0a62c6f58840a
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from detalhe_votacao import buildVotacaoSecaoDataframe from boletim_urna import buildBoletimUrnaDataframe class FactoryDataframe: def __init__ (self, file, codMun, turno = 2): self.file = file self.cod_mun = codMun self.turno = turno def buildSecaoDataframe...
33.470588
96
0.720562
62
569
6.467742
0.387097
0.079801
0.104738
0.089776
0.209476
0.209476
0.209476
0.209476
0.209476
0.209476
0
0.004357
0.193322
569
16
97
35.5625
0.869281
0.036907
0
0
0
0
0
0
0
0
0
0
0
1
0.272727
false
0
0.181818
0.181818
0.727273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
4318fb0ffcae0f270b7a737ee58138db4bd664d2
289
py
Python
src/core/__init__.py
kbieganski/Core
8f49ef7047599abb69d595dd614c8269a83c6584
[ "MIT" ]
null
null
null
src/core/__init__.py
kbieganski/Core
8f49ef7047599abb69d595dd614c8269a83c6584
[ "MIT" ]
null
null
null
src/core/__init__.py
kbieganski/Core
8f49ef7047599abb69d595dd614c8269a83c6584
[ "MIT" ]
null
null
null
from .ast import * from .lexer import * from .parser import * from .printer import print_tree from .scoper import scope from .prim_typer import primitive_type from .resolver import resolve from .caster import cast from .type_propagator import propagate_types from .codegen import codegen
24.083333
44
0.813149
42
289
5.47619
0.52381
0.130435
0
0
0
0
0
0
0
0
0
0
0.141869
289
11
45
26.272727
0.927419
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
431cb94786543417260336569c71ea50c57593f1
662
py
Python
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/GL/ARB/texture_filter_minmax.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/GL/ARB/texture_filter_minmax.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/GL/ARB/texture_filter_minmax.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
'''Autogenerated by xml_generate script, do not edit!''' from OpenGL import platform as _p, arrays # Code generation uses this from OpenGL.raw.GL import _types as _cs # End users want this... from OpenGL.raw.GL._types import * from OpenGL.raw.GL import _errors from OpenGL.constant import Constant as _C import...
38.941176
123
0.799094
101
662
4.841584
0.485149
0.102249
0.079755
0.092025
0.333333
0
0
0
0
0
0
0.017182
0.120846
662
16
124
41.375
0.823024
0.151057
0
0
1
0
0.200743
0.200743
0
0
0.022305
0
0
1
0.090909
false
0
0.545455
0.090909
0.727273
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
1
0
1
0
0
3
43429d6f2a1628307512d7e45755272cd27c7d76
142
py
Python
tests/resolve_url/urls.py
shinshin86/django
5cc81cd9eb69f5f7a711412c02039b435c393135
[ "PSF-2.0", "BSD-3-Clause" ]
5,079
2015-01-01T03:39:46.000Z
2022-03-31T07:38:22.000Z
tests/resolve_url/urls.py
Blaahborgh/django
c591bc3ccece1514d6b419826c7fa36ada9d9213
[ "PSF-2.0", "BSD-3-Clause" ]
1,623
2015-01-01T08:06:24.000Z
2022-03-30T19:48:52.000Z
tests/resolve_url/urls.py
Blaahborgh/django
c591bc3ccece1514d6b419826c7fa36ada9d9213
[ "PSF-2.0", "BSD-3-Clause" ]
2,033
2015-01-04T07:18:02.000Z
2022-03-28T19:55:47.000Z
from django.conf.urls import url def some_view(request): pass urlpatterns = [ url(r'^some-url/$', some_view, name='some-view'), ]
12.909091
53
0.65493
21
142
4.333333
0.666667
0.263736
0
0
0
0
0
0
0
0
0
0
0.183099
142
10
54
14.2
0.784483
0
0
0
0
0
0.140845
0
0
0
0
0
0
1
0.166667
false
0.166667
0.166667
0
0.333333
0
1
0
0
null
1
0
0
0
0
0
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
3
434755eb78e8b241f2c390f4e7c42e00f490f2af
43
py
Python
howl/rule/__init__.py
volzotan/django-howl
3b11c530da95d152844934da09592619b3d4497f
[ "MIT" ]
null
null
null
howl/rule/__init__.py
volzotan/django-howl
3b11c530da95d152844934da09592619b3d4497f
[ "MIT" ]
null
null
null
howl/rule/__init__.py
volzotan/django-howl
3b11c530da95d152844934da09592619b3d4497f
[ "MIT" ]
null
null
null
default_app_config = 'rule.apps.RuleConfig'
43
43
0.837209
6
43
5.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.046512
43
1
43
43
0.829268
0
0
0
0
0
0.454545
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
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
3
43477a72539033e201a4e210284402c7f2e6516e
2,830
py
Python
constants.py
skilkis/GENX
049267ba7751013517d49939e4ce387484959500
[ "MIT" ]
2
2019-01-08T13:53:29.000Z
2019-02-05T06:17:18.000Z
constants.py
skilkis/GENX
049267ba7751013517d49939e4ce387484959500
[ "MIT" ]
null
null
null
constants.py
skilkis/GENX
049267ba7751013517d49939e4ce387484959500
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Provides all derived/non-derived inputs of to be used later in performance calculations """ from utils import Attribute __author__ = 'San Kilkis' __all__ = ['Constants', 'Attribute'] # working_dir = os.path.dirname(os.path.realpath(__file__)) # TODO consider making...
31.444444
120
0.645583
379
2,830
4.662269
0.490765
0.074703
0.020374
0.020374
0.139785
0.083758
0.083758
0.083758
0.083758
0.083758
0
0.023201
0.25371
2,830
89
121
31.797753
0.813447
0.592933
0
0.282051
0
0
0.034123
0
0
0
0
0.022472
0
1
0.282051
false
0
0.025641
0
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
1
0
0
3
4a2c175e28c0199dada5beec576fa45b9812dbc2
426
py
Python
save/manager.py
jchristman/PyDA
25a1091bfff369736e534424ddbdc426ba32a3a0
[ "BSD-3-Clause" ]
12
2015-11-24T22:43:14.000Z
2021-03-24T05:01:43.000Z
save/manager.py
jchristman/PyDA
25a1091bfff369736e534424ddbdc426ba32a3a0
[ "BSD-3-Clause" ]
1
2015-04-22T17:26:31.000Z
2015-04-22T17:48:38.000Z
save/manager.py
jchristman/PyDA
25a1091bfff369736e534424ddbdc426ba32a3a0
[ "BSD-3-Clause" ]
9
2015-03-05T17:43:47.000Z
2021-03-19T14:29:49.000Z
import os, cPickle class SaveManager: def __init__(self, save_path='save'): self.save_path = save_path def load(self, file_path): with open(file_path, 'rb') as f: return cPickle.load(f) #except Exception as e: print e.message; return None def save(self, file_path, obj)...
26.625
60
0.598592
61
426
4
0.47541
0.131148
0.098361
0.131148
0
0
0
0
0
0
0
0
0.295775
426
15
61
28.4
0.813333
0.119718
0
0
0
0
0.02139
0
0
0
0
0
0
1
0.272727
false
0.090909
0.090909
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
4a554692921924dfb435218381f8e820deddbe8c
162
py
Python
src/gwauth/constants.py
gravitationalwavedc/gwcloud_auth
83d2a4928aaf86884e0bfc0fff938106a7fcd132
[ "MIT" ]
null
null
null
src/gwauth/constants.py
gravitationalwavedc/gwcloud_auth
83d2a4928aaf86884e0bfc0fff938106a7fcd132
[ "MIT" ]
25
2020-06-01T05:18:30.000Z
2022-02-28T03:29:48.000Z
src/gwauth/constants.py
gravitationalwavedc/gwcloud_auth
83d2a4928aaf86884e0bfc0fff938106a7fcd132
[ "MIT" ]
null
null
null
""" Distributed under the MIT License. See LICENSE.txt for more info. """ # seconds after email verification will expire EMAIL_VERIFICATION_EXPIRY = 48 * 60 * 60
27
65
0.759259
23
162
5.26087
0.826087
0.280992
0
0
0
0
0
0
0
0
0
0.044118
0.160494
162
6
66
27
0.845588
0.685185
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4a67136b09d302546808874ef644ad09e4f47741
201,562
py
Python
Scripts/generated/protocolbuffers/FileSerialization_pb2.py
velocist/TS4CheatsInfo
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
[ "Apache-2.0" ]
null
null
null
Scripts/generated/protocolbuffers/FileSerialization_pb2.py
velocist/TS4CheatsInfo
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
[ "Apache-2.0" ]
null
null
null
Scripts/generated/protocolbuffers/FileSerialization_pb2.py
velocist/TS4CheatsInfo
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
[ "Apache-2.0" ]
null
null
null
# uncompyle6 version 3.7.4 # Python bytecode 3.7 (3394) # Decompiled from: Python 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:58:18) [MSC v.1900 64 bit (AMD64)] # Embedded file name: D:\dev\TS4\_deploy\Client\Releasex64\Python\Generated\protocolbuffers\FileSerialization_pb2.py # Compiled at: 2020-12-13 14:22:57 # Si...
29.821275
23,755
0.748896
26,869
201,562
5.373293
0.04388
0.065552
0.060343
0.042597
0.796447
0.755415
0.669036
0.620218
0.599861
0.583217
0
0.054591
0.126735
201,562
6,759
23,756
29.821275
0.765602
0.001707
0
0.817513
0
0.002403
0.230001
0.194273
0
0
0
0
0
1
0
false
0
0.002253
0
0.016672
0.001652
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4a68cae7086d92507eea20656c905789fad4639d
504
py
Python
blingalytics/utils/timezones.py
jpulec/blingalytics
9f2cc89b5f82dde52f2916800a031b92995df8dd
[ "MIT" ]
4
2015-04-01T06:02:49.000Z
2021-08-16T08:08:37.000Z
blingalytics/utils/timezones.py
adly/blingalytics
2e532108bda1cc7bd4a9a863c8c98546d249267c
[ "MIT" ]
null
null
null
blingalytics/utils/timezones.py
adly/blingalytics
2e532108bda1cc7bd4a9a863c8c98546d249267c
[ "MIT" ]
null
null
null
from datetime import timedelta, tzinfo ZERO = timedelta(0) HOUR = timedelta(hours=1) class UTCTimeZone(tzinfo): """Implementation of the UTC timezone.""" def utcoffset(self, dt): return ZERO def tzname(self, dt): return 'UTC' def dst(self, dt): return ZERO utc_tzinf...
21.913043
74
0.670635
65
504
5.138462
0.523077
0.053892
0.107784
0.095808
0
0
0
0
0
0
0
0.005115
0.224206
504
22
75
22.909091
0.849105
0.198413
0
0.153846
0
0
0.007634
0
0
0
0
0
0
1
0.307692
false
0
0.076923
0.230769
0.769231
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
4a6aa6dcae18920162c606f42796f01355fb242b
16,340
py
Python
insights/combiners/tests/test_selinux.py
mglantz/insights-core
6f20bbbe03f53ee786f483b2a28d256ff1ad0fd4
[ "Apache-2.0" ]
1
2020-02-19T06:36:22.000Z
2020-02-19T06:36:22.000Z
insights/combiners/tests/test_selinux.py
mglantz/insights-core
6f20bbbe03f53ee786f483b2a28d256ff1ad0fd4
[ "Apache-2.0" ]
10
2018-04-16T15:38:04.000Z
2018-05-15T18:43:02.000Z
insights/combiners/tests/test_selinux.py
mglantz/insights-core
6f20bbbe03f53ee786f483b2a28d256ff1ad0fd4
[ "Apache-2.0" ]
null
null
null
from ..selinux import SELinux from ...parsers.grub_conf import Grub1Config, Grub2Config from ...parsers.selinux_config import SelinuxConfig from ...parsers.sestatus import SEStatus from ...tests import context_wrap GRUB_DISABLED = 'grub_disabled' GRUB_NOT_ENFORCING = 'grub_not_enforcing' RUNTIME_DISABLED = 'sestatus_d...
41.15869
304
0.701958
2,348
16,340
4.708688
0.135434
0.01809
0.025326
0.023878
0.759226
0.711198
0.664707
0.647884
0.635673
0.626085
0
0.053009
0.180294
16,340
396
305
41.262626
0.772435
0.004774
0
0.453258
0
0.073654
0.755969
0.217881
0
0
0
0
0.011331
1
0.002833
false
0.005666
0.016997
0
0.01983
0.01983
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4a7bbfa738adfed92fff346f5b9b946970f13d8e
1,015
py
Python
config_click_to_typer/base_module.py
captainCapitalism/typer-oo-example
00b94948f52a582591c93b7b50c782a71dc744af
[ "MIT" ]
2
2021-09-15T18:04:39.000Z
2022-01-06T03:45:54.000Z
config_click_to_typer/base_module.py
captainCapitalism/typer-oo-example
00b94948f52a582591c93b7b50c782a71dc744af
[ "MIT" ]
null
null
null
config_click_to_typer/base_module.py
captainCapitalism/typer-oo-example
00b94948f52a582591c93b7b50c782a71dc744af
[ "MIT" ]
null
null
null
import abc import typer class BaseModule(abc.ABC): def __init__(self, address, is_capitalism): self.app = typer.Typer() self.address = address self.is_capitalism = is_capitalism self.register_command(self.hello) self.register_command(self.goodbye) self.register_c...
22.065217
62
0.648276
119
1,015
5.352941
0.260504
0.141287
0.178964
0.180534
0.185243
0.081633
0
0
0
0
0
0
0.253202
1,015
45
63
22.555556
0.840369
0
0
0.363636
0
0
0
0
0
0
0
0
0
1
0.242424
false
0.151515
0.060606
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
1
0
1
0
0
0
0
0
3
4a84a87ddd34c2e3788c1199884e245048188f7b
17,558
py
Python
run_bball.py
jypark0/mrtl
e9e72f4985038c5af49f767868e889cacdda8459
[ "MIT" ]
10
2020-07-08T19:12:37.000Z
2022-03-07T21:01:26.000Z
run_bball.py
jypark0/mrtl
e9e72f4985038c5af49f767868e889cacdda8459
[ "MIT" ]
1
2020-08-17T21:52:23.000Z
2020-08-17T21:52:23.000Z
run_bball.py
jypark0/mrtl
e9e72f4985038c5af49f767868e889cacdda8459
[ "MIT" ]
8
2020-08-14T03:03:55.000Z
2022-03-07T21:01:33.000Z
import argparse import copy import json import logging import os import torch import utils from config import config from cp_als import cp_decompose from data.basketball.dataset import BballRawDataset from train.basketball.multi import BasketballMulti from visualization import plot # Arguments Parse parser = argpars...
39.904545
109
0.647283
2,477
17,558
4.295115
0.084376
0.060062
0.073315
0.107529
0.798007
0.778175
0.722624
0.696212
0.673278
0.665852
0
0.011012
0.198371
17,558
439
110
39.995444
0.744867
0.040494
0
0.579096
0
0
0.149488
0.011664
0
0
0
0
0
1
0
false
0
0.033898
0
0.033898
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4a8ab10576d48cf344fdccc503476af38531857b
876
py
Python
Data/initDB.py
dashengyeah/LibraryMgr
8c7be2e8d6bd0eeb4494e14b3ccfda4613bfe7fd
[ "MIT" ]
null
null
null
Data/initDB.py
dashengyeah/LibraryMgr
8c7be2e8d6bd0eeb4494e14b3ccfda4613bfe7fd
[ "MIT" ]
null
null
null
Data/initDB.py
dashengyeah/LibraryMgr
8c7be2e8d6bd0eeb4494e14b3ccfda4613bfe7fd
[ "MIT" ]
null
null
null
from connectDB import connectDB from sqlcmds import * def createAll(conn): cursor = conn.cursor() cursor.execute(sql_create_users_table) cursor.execute(sql_create_admin_table) cursor.execute(sql_create_book_table) cursor.execute(sql_create_copy_table) cursor.execute(sql_create_syscfg_table) cursor.execute(sql_c...
24.333333
64
0.760274
122
876
5.213115
0.360656
0.224843
0.201258
0.207547
0.490566
0.278302
0.113208
0
0
0
0
0.007702
0.110731
876
36
65
24.333333
0.808729
0
0
0.193548
0
0
0.151653
0.077537
0
0
0
0
0
1
0.096774
false
0
0.064516
0
0.16129
0.032258
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4aa7a7eacf0258cf725244ffde89a77b4bba61ea
385
py
Python
true_house/activities/serializers/property.py
gAmadorH/true-house-be
ffa95ffa1767f0eb8e024dd5e70ae7fe63ccdd4b
[ "MIT" ]
null
null
null
true_house/activities/serializers/property.py
gAmadorH/true-house-be
ffa95ffa1767f0eb8e024dd5e70ae7fe63ccdd4b
[ "MIT" ]
null
null
null
true_house/activities/serializers/property.py
gAmadorH/true-house-be
ffa95ffa1767f0eb8e024dd5e70ae7fe63ccdd4b
[ "MIT" ]
null
null
null
# Django REST framework from rest_framework import serializers # Models from activities.models import Property class PropertySerializer(serializers.ModelSerializer): class Meta: model = Property fields = "__all__" class PropertyNestedSerializer(serializers.ModelSerializer): class Meta: ...
21.388889
60
0.714286
36
385
7.5
0.555556
0.096296
0.22963
0.259259
0.4
0.4
0.4
0
0
0
0
0
0.21039
385
17
61
22.647059
0.888158
0.072727
0
0.4
0
0
0.059322
0
0
0
0
0
0
1
0
false
0
0.2
0
0.6
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
4ab1e5b8ece8c3b51609faa451931c85ea60d1db
13,564
py
Python
pyrap/events.py
danielnyga/pyrap
c964c3044336913fe6768105aa771e0f47be2712
[ "MIT" ]
9
2017-07-21T23:44:12.000Z
2020-09-29T11:39:50.000Z
pyrap/events.py
danielnyga/pyrap
c964c3044336913fe6768105aa771e0f47be2712
[ "MIT" ]
null
null
null
pyrap/events.py
danielnyga/pyrap
c964c3044336913fe6768105aa771e0f47be2712
[ "MIT" ]
1
2019-03-07T12:14:07.000Z
2019-03-07T12:14:07.000Z
''' Created on Nov 23, 2015 @author: nyga ''' import dnutils from dnutils import out from dnutils.threads import current_thread, SuspendableThread, RLock from pyrap.base import session from pyrap.ptypes import Event from pyrap.communication import RWTListenOperation class RWTEvent(Event): def __init__(self...
30.480899
98
0.616116
1,470
13,564
5.420408
0.109524
0.087851
0.061998
0.147841
0.764809
0.735693
0.698042
0.670432
0.518198
0.418675
0
0.000606
0.269832
13,564
444
99
30.54955
0.803918
0.023371
0
0.467797
0
0
0.04935
0
0
0
0
0
0
1
0.332203
false
0
0.020339
0.159322
0.60678
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
1
0
0
0
1
0
0
0
3
4ab3d9a8380e9f6960c027f5574e8f08e828ce60
225
py
Python
leetCode/algorithms/easy/check_if_a_word_occurs_as_a_prefix_of_any_word_in_a_sentence.py
ferhatelmas/algo
a7149c7a605708bc01a5cd30bf5455644cefd04d
[ "WTFPL" ]
25
2015-01-21T16:39:18.000Z
2021-05-24T07:01:24.000Z
leetCode/algorithms/easy/check_if_a_word_occurs_as_a_prefix_of_any_word_in_a_sentence.py
gauravsingh58/algo
397859a53429e7a585e5f6964ad24146c6261326
[ "WTFPL" ]
2
2020-09-30T19:39:36.000Z
2020-10-01T17:15:16.000Z
leetCode/algorithms/easy/check_if_a_word_occurs_as_a_prefix_of_any_word_in_a_sentence.py
ferhatelmas/algo
a7149c7a605708bc01a5cd30bf5455644cefd04d
[ "WTFPL" ]
15
2015-01-21T16:39:27.000Z
2020-10-01T17:00:22.000Z
class Solution: def isPrefixOfWord(self, sentence: str, searchWord: str) -> int: for i, w in enumerate(sentence.split(" ")): if w.startswith(searchWord): return i + 1 return -1
32.142857
68
0.568889
26
225
4.923077
0.730769
0
0
0
0
0
0
0
0
0
0
0.013072
0.32
225
6
69
37.5
0.823529
0
0
0
0
0
0.004444
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
4ab816e6eaab9edd91233373da7df29509081b48
476
py
Python
notebook2/important_data_tips.py
joshavenue/python_notebook
8d46ba88ef4f05dea6801364bc134edb981df02e
[ "Unlicense" ]
null
null
null
notebook2/important_data_tips.py
joshavenue/python_notebook
8d46ba88ef4f05dea6801364bc134edb981df02e
[ "Unlicense" ]
null
null
null
notebook2/important_data_tips.py
joshavenue/python_notebook
8d46ba88ef4f05dea6801364bc134edb981df02e
[ "Unlicense" ]
null
null
null
print(", ".join(["spam", "eggs", "ham"])) #prints "spam, eggs, ham" print("Hello ME".replace("ME", "world")) #prints "Hello world" print("This is a sentence.".startswith("This")) # prints "True" print("This is a sentence.".endswith("sentence.")) # prints "True" print("This is a sentence.".upper()) # prints "THIS IS...
22.666667
50
0.636555
67
476
4.522388
0.343284
0.105611
0.145215
0.19802
0.264026
0.19802
0.19802
0
0
0
0
0
0.128151
476
20
51
23.8
0.73012
0.340336
0
0
0
0
0.439739
0
0
0
0
0
0
1
0
true
0
0
0
0
1
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
1
0
0
0
0
1
0
3
4ac74d877f5eb7fdaadf862373c4ef4e5e81fa5b
286
py
Python
core/primitive.py
ponyatov/datalang
e0a154111fb620873e4134db6aab1b43588c83bc
[ "MIT" ]
2
2021-01-12T09:57:58.000Z
2021-01-12T14:14:26.000Z
core/primitive.py
ponyatov/datalang
e0a154111fb620873e4134db6aab1b43588c83bc
[ "MIT" ]
null
null
null
core/primitive.py
ponyatov/datalang
e0a154111fb620873e4134db6aab1b43588c83bc
[ "MIT" ]
null
null
null
from .object import * ## primitive scalar type class Primitive(Object): ## most pritimives evaluates into itself def eval(self, env): return self ## symbol/name/atom class Sym(Primitive): ## evaluates via environment lookup def eval(self, env): return env[self.value]
23.833333
47
0.713287
38
286
5.368421
0.657895
0.068627
0.107843
0.137255
0.196078
0
0
0
0
0
0
0
0.185315
286
11
48
26
0.875536
0.381119
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0.2
0.4
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
1
0
0
0
1
1
0
0
3
4360bdf7a030626b8b845b4796484a66de4ea0f7
18,159
py
Python
openrtdynamics2/lang/core_blocks.py
OpenRTDynamics/PythonAPI_Experiments
1b7a114110089bc7721da604c5e344854ed555c3
[ "MIT" ]
null
null
null
openrtdynamics2/lang/core_blocks.py
OpenRTDynamics/PythonAPI_Experiments
1b7a114110089bc7721da604c5e344854ed555c3
[ "MIT" ]
null
null
null
openrtdynamics2/lang/core_blocks.py
OpenRTDynamics/PythonAPI_Experiments
1b7a114110089bc7721da604c5e344854ed555c3
[ "MIT" ]
null
null
null
from .block_prototypes import * from .signal_interface import SignalUserTemplate, wrap_signal, wrap_signal_list, unwrap_hash, unwrap_list, unwrap from . import system_context as dy from .diagram_core import datatypes as dt from typing import Dict, List """ Core functions which directly point to blocks (implement...
29.336026
181
0.65345
2,101
18,159
5.477868
0.129462
0.036493
0.055609
0.06256
0.457034
0.389695
0.35129
0.322009
0.305413
0.274828
0
0.011118
0.252051
18,159
618
182
29.383495
0.836254
0.426951
0
0.050847
0
0
0.015495
0
0
0
0
0
0
1
0.330508
false
0
0.042373
0.101695
0.711864
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
436680bbe4198405cd93a726fc295f07ee01b9eb
6,350
py
Python
modules/xia2/Wrappers/XDS/test_XDSIntegrateHelpers.py
jorgediazjr/dials-dev20191018
77d66c719b5746f37af51ad593e2941ed6fbba17
[ "BSD-3-Clause" ]
null
null
null
modules/xia2/Wrappers/XDS/test_XDSIntegrateHelpers.py
jorgediazjr/dials-dev20191018
77d66c719b5746f37af51ad593e2941ed6fbba17
[ "BSD-3-Clause" ]
null
null
null
modules/xia2/Wrappers/XDS/test_XDSIntegrateHelpers.py
jorgediazjr/dials-dev20191018
77d66c719b5746f37af51ad593e2941ed6fbba17
[ "BSD-3-Clause" ]
1
2020-02-04T15:39:06.000Z
2020-02-04T15:39:06.000Z
from xia2.Wrappers.XDS.XDSIntegrateHelpers import _parse_integrate_lp def test_parse_integrate_lp(tmpdir): integrate_lp = tmpdir.join("INTEGRATE.LP") with integrate_lp.open("wb") as f: f.write(integrate_lp_example_1) per_image_stats = _parse_integrate_lp(integrate_lp.strpath) assert per_image_...
50
84
0.567244
970
6,350
3.656701
0.372165
0.026501
0.029602
0.021427
0.239075
0.223005
0.215111
0.14914
0.11982
0.113899
0
0.407254
0.314016
6,350
126
85
50.396825
0.407025
0
0
0.140351
0
0.052632
0.811654
0.049134
0
0
0
0
0.035088
1
0.008772
false
0
0.008772
0
0.017544
0.008772
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
436ba10bd08fdf90440ac7d77187ac1763cae1f7
286
py
Python
snippets/py/var/var.py
snippetfinder/The-Quick-Snippet-Reference
4d2c38cb3687f31428539b6c9cdb11abdd4c6682
[ "BSL-1.0" ]
10
2022-01-13T15:56:14.000Z
2022-01-21T20:43:29.000Z
snippets/py/var/var.py
snippetfinder/The-Quick-Snippet-Reference
4d2c38cb3687f31428539b6c9cdb11abdd4c6682
[ "BSL-1.0" ]
1
2022-01-21T20:33:13.000Z
2022-01-22T20:26:57.000Z
snippets/py/var/var.py
snippetfinder/The-Quick-Snippet-Reference
4d2c38cb3687f31428539b6c9cdb11abdd4c6682
[ "BSL-1.0" ]
null
null
null
number = 10 decimal = 2.3 string = "Hello there." # ≡ array = [2.3, 'Hello there.', [1, 2], {"a": 1, 'b': 2}] dictionary = {"number": 2.3, 'list': [1, 2], "values": {'a': 1, "b": 2}} print(string) # Hello there. ≡ string = "Goodbye!" # ≡ print(string) # Goodbye! ≡
35.75
72
0.496503
44
286
3.318182
0.409091
0.041096
0.219178
0.232877
0
0
0
0
0
0
0
0.074074
0.244755
286
8
73
35.75
0.583333
0.122378
0
0.25
0
0
0.210526
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4371058c4879103ec22af57aa38aa0eb25a952ce
1,235
py
Python
exemplo_19_tipos_boolean.py
alef123vinicius/Estudo_python
30b121d611f94eb5df9fbb41ef7279546143221b
[ "Apache-2.0" ]
1
2021-02-10T14:59:44.000Z
2021-02-10T14:59:44.000Z
exemplo_19_tipos_boolean.py
alef123vinicius/Estudo_python
30b121d611f94eb5df9fbb41ef7279546143221b
[ "Apache-2.0" ]
null
null
null
exemplo_19_tipos_boolean.py
alef123vinicius/Estudo_python
30b121d611f94eb5df9fbb41ef7279546143221b
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Feb 10 15:19:12 2021 @author: alef """ """ boolean é uma especialização do tipo inteiro. veraddeiro é True e igual a 1, enquanto o falso é chamado de False e é ogual a zero. São considerados falsos: - False (falso) - None (nulo) - 0 (zero) - ''(string...
21.293103
91
0.68664
214
1,235
3.962617
0.46729
0.041274
0.010613
0.04717
0.152123
0
0
0
0
0
0
0.046324
0.195951
1,235
58
92
21.293103
0.807654
0.275304
0
0
0
0
0
0
0
0
0
0.017241
0
1
0
true
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
1
0
0
0
0
1
0
3
43785eb25a22d568ac2cca5911b72db2f728cd62
24
py
Python
transcrypt/modules/org/reactjs/dom.py
kochelmonster/Transcrypt
ab150cdea872e945950d53f1d276ce76e42619ce
[ "Apache-2.0" ]
2,200
2016-10-12T16:47:13.000Z
2022-03-30T16:40:35.000Z
transcrypt/modules/org/reactjs/dom.py
kochelmonster/Transcrypt
ab150cdea872e945950d53f1d276ce76e42619ce
[ "Apache-2.0" ]
672
2016-10-12T16:36:48.000Z
2022-03-25T00:57:04.000Z
transcrypt/modules/org/reactjs/dom.py
kochelmonster/Transcrypt
ab150cdea872e945950d53f1d276ce76e42619ce
[ "Apache-2.0" ]
230
2016-10-20T14:31:40.000Z
2022-03-16T15:57:15.000Z
render = ReactDOM.render
24
24
0.833333
3
24
6.666667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.083333
24
1
24
24
0.909091
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
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
3
43791dcfe28229f10a8c6d2b5ab970166a17f830
422
py
Python
tests/test_victorspx.py
stmobo/robotpy-ctre
7ef83ae6f6bc0d5ef793dfb6e96ac5d641320aeb
[ "Apache-2.0" ]
null
null
null
tests/test_victorspx.py
stmobo/robotpy-ctre
7ef83ae6f6bc0d5ef793dfb6e96ac5d641320aeb
[ "Apache-2.0" ]
null
null
null
tests/test_victorspx.py
stmobo/robotpy-ctre
7ef83ae6f6bc0d5ef793dfb6e96ac5d641320aeb
[ "Apache-2.0" ]
null
null
null
import pytest @pytest.fixture(scope='function') def victor(ctre): return ctre.WPI_VictorSPX(1) @pytest.fixture(scope='function') def cdata(victor, hal_data): return hal_data['CAN'][1] def test_victor_init(ctre, hal_data): assert 1 not in hal_data['CAN'] ctre.WPI_VictorSPX(1) assert 1 in hal_dat...
21.1
52
0.699052
65
422
4.384615
0.415385
0.147368
0.140351
0.182456
0.203509
0
0
0
0
0
0
0.016901
0.158768
422
19
53
22.210526
0.785915
0.085308
0
0.166667
0
0
0.106771
0
0
0
0
0
0.25
1
0.25
false
0
0.083333
0.166667
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
438d38f6f79dea81748c7cee7ab91b8d7169efb9
3,857
py
Python
ecommerce/settings.py
spaceofmiah/ecommerce
9dfc4ef94fc678400ba4d76a560991fbf426ad83
[ "MIT" ]
null
null
null
ecommerce/settings.py
spaceofmiah/ecommerce
9dfc4ef94fc678400ba4d76a560991fbf426ad83
[ "MIT" ]
null
null
null
ecommerce/settings.py
spaceofmiah/ecommerce
9dfc4ef94fc678400ba4d76a560991fbf426ad83
[ "MIT" ]
null
null
null
""" Django settings for ecommerce project. Generated by 'django-admin startproject' using Django 2.2.6. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os # ...
25.375
91
0.700026
434
3,857
6.112903
0.40553
0.078402
0.058047
0.065963
0.200151
0.175273
0.100641
0.100641
0.045232
0
0
0.015571
0.167488
3,857
152
92
25.375
0.810651
0.306456
0
0.02439
1
0
0.529101
0.418367
0
0
0
0
0
1
0
false
0.060976
0.012195
0
0.012195
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
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
43a773e12ea2e960f9a62fa1c2179a73d8c0dd35
23
py
Python
nlgeval/pycocoevalcap/rouge/__init__.py
h4ste/nlg-eval
d00db88e16d316c83ade3524868717377a7fc333
[ "Apache-2.0" ]
1,604
2019-09-18T16:36:50.000Z
2022-03-31T23:29:45.000Z
nlgeval/pycocoevalcap/rouge/__init__.py
h4ste/nlg-eval
d00db88e16d316c83ade3524868717377a7fc333
[ "Apache-2.0" ]
103
2017-08-10T12:25:42.000Z
2022-03-17T09:57:38.000Z
nlgeval/pycocoevalcap/rouge/__init__.py
h4ste/nlg-eval
d00db88e16d316c83ade3524868717377a7fc333
[ "Apache-2.0" ]
408
2015-03-25T21:16:02.000Z
2022-03-29T03:12:53.000Z
__author__ = 'vrama91'
11.5
22
0.73913
2
23
6.5
1
0
0
0
0
0
0
0
0
0
0
0.1
0.130435
23
1
23
23
0.55
0
0
0
0
0
0.304348
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
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
3
43a99a990bebab60cff03c8b29f7b7a8f8313b39
116
py
Python
ex111/utilidades/teste.py
Rprjunior/PraticandoPython
cad85e2f05703986b2ee47d8a475ac67c8909b88
[ "MIT" ]
null
null
null
ex111/utilidades/teste.py
Rprjunior/PraticandoPython
cad85e2f05703986b2ee47d8a475ac67c8909b88
[ "MIT" ]
null
null
null
ex111/utilidades/teste.py
Rprjunior/PraticandoPython
cad85e2f05703986b2ee47d8a475ac67c8909b88
[ "MIT" ]
null
null
null
from ex111.utilidades import moeda preco = float(input(f'Qual o valor da compra? R$')) moeda.resumo(preco, 15, 15)
23.2
51
0.732759
20
116
4.25
0.85
0
0
0
0
0
0
0
0
0
0
0.07
0.137931
116
4
52
29
0.78
0
0
0
0
0
0.224138
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
43b23af4f98cad6aaeb0fe3152d4ec6b30c9cbeb
21,516
py
Python
tests/unit/test_nodes.py
h2oai/gQuant
d82ebef2bb11b2849c67b6c0749b9cbc624b626c
[ "Apache-2.0" ]
1
2021-12-24T06:24:21.000Z
2021-12-24T06:24:21.000Z
tests/unit/test_nodes.py
h2oai/gQuant
d82ebef2bb11b2849c67b6c0749b9cbc624b626c
[ "Apache-2.0" ]
null
null
null
tests/unit/test_nodes.py
h2oai/gQuant
d82ebef2bb11b2849c67b6c0749b9cbc624b626c
[ "Apache-2.0" ]
2
2021-11-02T09:14:59.000Z
2022-01-05T21:43:47.000Z
''' Technical Indicator Node Unit Tests To run unittests: # Using standard library unittest python -m unittest -v python -m unittest tests/unit/test_nodes.py -v or python -m unittest discover <test_directory> python -m unittest discover -s <directory> -p 'test_*.py' # Using pytest # "conda install pytest" or "pip...
122.25
4,645
0.671919
4,353
21,516
3.291293
0.215254
0.008376
0.007678
0.008376
0.103371
0.078523
0.076639
0.068961
0.060166
0.057514
0
0.174467
0.081474
21,516
175
4,646
122.948571
0.550473
0.025795
0
0.328244
0
0.10687
0.530941
0.501696
0
0
0
0
0.076336
1
0.038168
false
0.007634
0.083969
0
0.129771
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
43b372d1f68bc88a0aa0da94ec38aebe1f792e7c
657
py
Python
maro/communication/__init__.py
VinayaSathyanarayana/maro
0ba55f36d89c235ef3af04efbac78b3885d8695d
[ "MIT" ]
1
2020-09-30T09:31:05.000Z
2020-09-30T09:31:05.000Z
maro/communication/__init__.py
VinayaSathyanarayana/maro
0ba55f36d89c235ef3af04efbac78b3885d8695d
[ "MIT" ]
null
null
null
maro/communication/__init__.py
VinayaSathyanarayana/maro
0ba55f36d89c235ef3af04efbac78b3885d8695d
[ "MIT" ]
null
null
null
# Copyright (c) Microsoft Corporation. # Licensed under the MIT license. from maro.communication.message import SessionMessage, Message, SessionType, TaskSessionStage, NotificationSessionStage from maro.communication.driver import AbsDriver, DriverType from maro.communication.driver.zmq_driver import ZmqDriver from ma...
46.928571
119
0.808219
66
657
7.939394
0.454545
0.091603
0.240458
0.103053
0
0
0
0
0
0
0
0
0.101979
657
13
120
50.538462
0.888136
0.103501
0
0
0
0
0.208191
0.040956
0
0
0
0
0
1
0
false
0
0.75
0
0.75
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
1
0
1
0
0
3
43b3a3ef227608ae591ba8b00c3ddd31c5755662
79
py
Python
python/lsst/__init__.py
tguillemLSST/eochar
a1b924c9f65c7434b5d5d497fa6c2436abebfcce
[ "BSD-3-Clause-LBNL" ]
3
2016-04-21T07:05:45.000Z
2020-08-05T08:37:37.000Z
python/lsst/__init__.py
tguillemLSST/eochar
a1b924c9f65c7434b5d5d497fa6c2436abebfcce
[ "BSD-3-Clause-LBNL" ]
70
2015-03-26T09:48:53.000Z
2020-04-22T16:29:43.000Z
python/lsst/__init__.py
tguillemLSST/eochar
a1b924c9f65c7434b5d5d497fa6c2436abebfcce
[ "BSD-3-Clause-LBNL" ]
5
2017-08-15T20:52:44.000Z
2022-03-25T12:54:07.000Z
import pkgutil#, lsstimport __path__ = pkgutil.extend_path(__path__, __name__)
26.333333
50
0.822785
9
79
5.777778
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.088608
79
2
51
39.5
0.722222
0.151899
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
43c1b96d6e4e3e444c5ffe1edcaa27150f3deb74
135
py
Python
05-data-classes/typing_namedtuple/nocheck_demo.py
SeirousLee/example-code-2e
81ec1669a4b8fd098db44a78a3d551287eec7bc9
[ "MIT" ]
990
2019-03-21T21:17:34.000Z
2022-03-31T00:55:07.000Z
05-data-classes/typing_namedtuple/nocheck_demo.py
FerMatPy/example-code-2e
980f75032685921e08d5200513a261e83ef5f858
[ "MIT" ]
17
2019-12-18T18:00:05.000Z
2022-01-12T14:23:47.000Z
05-data-classes/typing_namedtuple/nocheck_demo.py
FerMatPy/example-code-2e
980f75032685921e08d5200513a261e83ef5f858
[ "MIT" ]
276
2019-04-06T12:32:00.000Z
2022-03-29T11:50:47.000Z
import typing class Coordinate(typing.NamedTuple): lat: float lon: float trash = Coordinate('Ni!', None) # <1> print(trash)
15
38
0.674074
17
135
5.352941
0.764706
0
0
0
0
0
0
0
0
0
0
0.009174
0.192593
135
8
39
16.875
0.825688
0.022222
0
0
0
0
0.023077
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.666667
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
43d49ef685b3c1f43351f3b0023aaa9eb8dfbce9
325
py
Python
lesson01/monkey/lx6.py
herrywen-nanj/51reboot
1130c79a360e1b548a6eaad176eb60f8bed22f40
[ "Apache-2.0" ]
null
null
null
lesson01/monkey/lx6.py
herrywen-nanj/51reboot
1130c79a360e1b548a6eaad176eb60f8bed22f40
[ "Apache-2.0" ]
null
null
null
lesson01/monkey/lx6.py
herrywen-nanj/51reboot
1130c79a360e1b548a6eaad176eb60f8bed22f40
[ "Apache-2.0" ]
null
null
null
num1 = int(input("Please input num1: ")) num2 = int(input("Please input num2: ")) num3 = int(input("Please input num3: ")) num4 = int(input("Please input num4: ")) num5 = int(input("Please input num5: ")) num6 = int(input("Please input num6: ")) s = num1 + num2 + num3 + num4 + num5 + num6 print("sum: {}".forma...
19.117647
43
0.621538
47
325
4.297872
0.276596
0.237624
0.415842
0.564356
0
0
0
0
0
0
0
0.067669
0.181538
325
17
44
19.117647
0.691729
0
0
0
0
0
0.373457
0
0
0
0
0
0
1
0
false
0
0
0
0
0.125
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
78eb7d39ad014b7fe608d54f815a99d210be22e1
352,478
py
Python
NX01_master.py
LBJ-Wade/NX01
e562bbcc2e935bd89f0237948a3adbeeb7bb5a66
[ "MIT" ]
8
2016-10-03T18:48:13.000Z
2020-07-06T21:29:22.000Z
NX01_master.py
LBJ-Wade/NX01
e562bbcc2e935bd89f0237948a3adbeeb7bb5a66
[ "MIT" ]
1
2016-07-13T20:00:25.000Z
2016-07-14T13:40:42.000Z
NX01_master.py
LBJ-Wade/NX01
e562bbcc2e935bd89f0237948a3adbeeb7bb5a66
[ "MIT" ]
6
2015-12-10T22:06:13.000Z
2019-07-17T07:48:13.000Z
#!/usr/bin/env python """ Created by stevertaylor Copyright (c) 2014 Stephen R. Taylor Code contributions by Rutger van Haasteren (piccard) and Justin Ellis (PAL/PAL2). """ from __future__ import division import os, math, optparse, time, cProfile import json, sys, glob import cPickle as pickle from time import gmti...
41.172527
384
0.505881
41,086
352,478
4.218298
0.039697
0.045075
0.012463
0.012896
0.748519
0.703029
0.669321
0.626595
0.589904
0.558267
0
0.031699
0.367507
352,478
8,560
385
41.177336
0.745698
0.04556
0
0.713923
0
0.010297
0.103549
0.003709
0.000448
0
0
0
0
0
null
null
0.000448
0.008506
null
null
0.005671
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
6020491eb6fbaf4b41ed201617ddd105672dce3f
231
py
Python
jmm/utilities/functions/is_url.py
zqmillet/japanese_media_manager
7f7c9ba9f48e67c5f68f80b6fe09675aded05858
[ "MIT" ]
null
null
null
jmm/utilities/functions/is_url.py
zqmillet/japanese_media_manager
7f7c9ba9f48e67c5f68f80b6fe09675aded05858
[ "MIT" ]
null
null
null
jmm/utilities/functions/is_url.py
zqmillet/japanese_media_manager
7f7c9ba9f48e67c5f68f80b6fe09675aded05858
[ "MIT" ]
null
null
null
from urllib.parse import urlparse def is_url(url: str) -> bool: try: result = urlparse(url) return all([result.scheme, result.netloc]) except Exception: # pylint: disable=broad-except return False
25.666667
53
0.65368
29
231
5.172414
0.758621
0
0
0
0
0
0
0
0
0
0
0
0.246753
231
8
54
28.875
0.862069
0.121212
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
60250ec294d44e3a1141d3c792d21cc29b83c1a5
744
py
Python
tvdordrecht/webapp/sitemaps.py
allcaps/tvdordrecht.nl
a2ff1b5ade88378f1a72a7ab36d51965b06509b9
[ "MIT" ]
null
null
null
tvdordrecht/webapp/sitemaps.py
allcaps/tvdordrecht.nl
a2ff1b5ade88378f1a72a7ab36d51965b06509b9
[ "MIT" ]
1
2022-01-13T00:48:55.000Z
2022-01-13T00:48:55.000Z
tvdordrecht/webapp/sitemaps.py
allcaps/tvdordrecht.nl
a2ff1b5ade88378f1a72a7ab36d51965b06509b9
[ "MIT" ]
null
null
null
# -*- coding: UTF-8 -*- from django.contrib.sitemaps import Sitemap from .models import Menu, Page class BaseSitemap(Sitemap): changefreq = "weekly" priority = 0.9 def items(self): return ['/',] def location(self, obj): return obj class MenuSitemap(Sitemap): ...
20.666667
55
0.584677
83
744
5.216867
0.46988
0.117783
0.159353
0.214781
0.397229
0.17552
0.17552
0.17552
0
0
0
0.013566
0.306452
744
35
56
21.257143
0.825581
0.028226
0
0.434783
0
0
0.033528
0
0
0
0
0
0
1
0.26087
false
0
0.086957
0.26087
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
60398d8c995b4893bef267a86892e17a1289a282
211
py
Python
Python/app.python/aula12/aula12c.py
jacksontenorio8/python
a484f019960faa5aa29177eff44a1bb1e3f3b9d0
[ "MIT" ]
null
null
null
Python/app.python/aula12/aula12c.py
jacksontenorio8/python
a484f019960faa5aa29177eff44a1bb1e3f3b9d0
[ "MIT" ]
null
null
null
Python/app.python/aula12/aula12c.py
jacksontenorio8/python
a484f019960faa5aa29177eff44a1bb1e3f3b9d0
[ "MIT" ]
null
null
null
import requests def retorna_response(url): response = requests.get(url) return response.text if __name__ == '__main__': response = retorna_response('https://www.instagram.com/') print(response)
23.444444
61
0.71564
25
211
5.64
0.68
0.212766
0
0
0
0
0
0
0
0
0
0
0.161137
211
9
62
23.444444
0.79661
0
0
0
0
0
0.160377
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.428571
0.142857
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
604ace2c33252026868165931aa06d188b0b25c9
167
py
Python
docs/getting-started.py
kant/frictionless-py
09cc98e1966d6f97f4eecb47757f45f8a946c5e7
[ "MIT" ]
null
null
null
docs/getting-started.py
kant/frictionless-py
09cc98e1966d6f97f4eecb47757f45f8a946c5e7
[ "MIT" ]
null
null
null
docs/getting-started.py
kant/frictionless-py
09cc98e1966d6f97f4eecb47757f45f8a946c5e7
[ "MIT" ]
null
null
null
from scripts import docs docs.from_notebook( source="https://colab.research.google.com/drive/1VyDx6C3pxF3Vab8MxH_sI86OTSNmYuDJ", target="getting-started", )
20.875
87
0.772455
19
167
6.684211
0.894737
0
0
0
0
0
0
0
0
0
0
0.04698
0.107784
167
7
88
23.857143
0.805369
0
0
0
0
0
0.526946
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
6056d90e36b34ec241df5f72354d787b69d519a3
11,558
py
Python
Python_Scripts/S2009_2010_Speech_parser3.py
jmausolf/White_House_Speeches
b0590cc2362f2452a6d9bec977161095b5231e03
[ "MIT" ]
1
2021-04-19T10:19:27.000Z
2021-04-19T10:19:27.000Z
Python_Scripts/S2009_2010_Speech_parser3.py
jmausolf/White_House_Speeches
b0590cc2362f2452a6d9bec977161095b5231e03
[ "MIT" ]
null
null
null
Python_Scripts/S2009_2010_Speech_parser3.py
jmausolf/White_House_Speeches
b0590cc2362f2452a6d9bec977161095b5231e03
[ "MIT" ]
null
null
null
################################## ### ### ### Joshua G. Mausolf ### ### Computation Institute ### ### University of Chicago ### ### ### ################################## from Quality_Check_speech_parser import * from month import * from dateuti...
43.946768
1,686
0.592057
1,449
11,558
4.634921
0.162181
0.01221
0.071471
0.084872
0.682996
0.657534
0.650089
0.630584
0.627159
0.606909
0
0.028529
0.235767
11,558
262
1,687
44.114504
0.731801
0.338294
0
0.385135
0
0
0.124729
0.002976
0.006757
0
0
0
0
0
null
null
0.006757
0.040541
null
null
0.067568
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
605e33fa0f478c70acb2d837db135a3dc88d0b95
290
py
Python
module/netbox/__init__.py
mmasquelin/netbox-sync
a9f25a630756f71f26ad845bc5d8dad86e355931
[ "MIT" ]
null
null
null
module/netbox/__init__.py
mmasquelin/netbox-sync
a9f25a630756f71f26ad845bc5d8dad86e355931
[ "MIT" ]
null
null
null
module/netbox/__init__.py
mmasquelin/netbox-sync
a9f25a630756f71f26ad845bc5d8dad86e355931
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (c) 2020 - 2022 Ricardo Bartels. All rights reserved. # # netbox-sync.py # # This work is licensed under the terms of the MIT license. # For a copy, see file LICENSE.txt included in this # repository or visit: <https://opensource.org/licenses/MIT>.
32.222222
66
0.696552
44
290
4.590909
0.909091
0
0
0
0
0
0
0
0
0
0
0.037815
0.17931
290
8
67
36.25
0.810924
0.941379
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
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
606c106e2d512b8316a91c4bed427ed2d36a5e6e
120
py
Python
pages/Intro.py
sebastiandres/streamlit_game_of_life
9c0a284c3a30f6b2ebd483b6f6d48ca8ef17106f
[ "MIT" ]
null
null
null
pages/Intro.py
sebastiandres/streamlit_game_of_life
9c0a284c3a30f6b2ebd483b6f6d48ca8ef17106f
[ "MIT" ]
null
null
null
pages/Intro.py
sebastiandres/streamlit_game_of_life
9c0a284c3a30f6b2ebd483b6f6d48ca8ef17106f
[ "MIT" ]
null
null
null
import streamlit as st st.title("Intro") st.markdown(""" This is a test, considering a reference to a single file """)
17.142857
56
0.716667
20
120
4.3
0.8
0
0
0
0
0
0
0
0
0
0
0
0.158333
120
7
57
17.142857
0.851485
0
0
0
0
0
0.520661
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
606d67ae2b737339b7e0f4bac138dc0dcc21e00b
198
py
Python
djangobmf/contrib/position/apps.py
caputomarcos/django-bmf
0d07a7d3f6a3ecfaca6c9376e764add1715cfd33
[ "BSD-3-Clause" ]
1
2020-05-11T08:00:49.000Z
2020-05-11T08:00:49.000Z
djangobmf/contrib/position/apps.py
caputomarcos/django-bmf
0d07a7d3f6a3ecfaca6c9376e764add1715cfd33
[ "BSD-3-Clause" ]
null
null
null
djangobmf/contrib/position/apps.py
caputomarcos/django-bmf
0d07a7d3f6a3ecfaca6c9376e764add1715cfd33
[ "BSD-3-Clause" ]
null
null
null
from __future__ import unicode_literals from djangobmf.apps import ContribTemplate class PositionConfig(ContribTemplate): name = 'djangobmf.contrib.position' label = "djangobmf_position"
22
42
0.80303
20
198
7.65
0.7
0
0
0
0
0
0
0
0
0
0
0
0.136364
198
8
43
24.75
0.894737
0
0
0
0
0
0.222222
0.131313
0
0
0
0
0
1
0
false
0
0.4
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
606dcb9eb739ad6b1d60a476a8a577a0972ab4cb
727
py
Python
pyppeteer_fork/errors.py
Francesco149/pyppeteer
56c4dc64da91d0d3946118669419d241a8bee7d7
[ "MIT" ]
1
2021-07-21T12:02:00.000Z
2021-07-21T12:02:00.000Z
pyppeteer_fork/errors.py
Francesco149/pyppeteer
56c4dc64da91d0d3946118669419d241a8bee7d7
[ "MIT" ]
null
null
null
pyppeteer_fork/errors.py
Francesco149/pyppeteer
56c4dc64da91d0d3946118669419d241a8bee7d7
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """Exceptions for pyppeteer_fork package.""" import asyncio class PyppeteerError(Exception): # noqa: D204 """Base exception for pyppeteer_fork.""" pass class BrowserError(PyppeteerError): # noqa: D204 """Exception raised from browser.""" pass clas...
19.648649
55
0.679505
74
727
6.648649
0.5
0.097561
0.178862
0.152439
0
0
0
0
0
0
0
0.033898
0.188446
727
36
56
20.194444
0.8
0.459422
0
0.461538
0
0
0
0
0
0
0
0
0
1
0
true
0.461538
0.076923
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
1
0
0
3
606f34646015380d9e62f6ecc146326122b90a06
60
py
Python
test/output/004.py
EliRibble/pyfmt
e84a5531a7c06703eddd9dbc2072b0c8deae8c57
[ "MIT" ]
null
null
null
test/output/004.py
EliRibble/pyfmt
e84a5531a7c06703eddd9dbc2072b0c8deae8c57
[ "MIT" ]
null
null
null
test/output/004.py
EliRibble/pyfmt
e84a5531a7c06703eddd9dbc2072b0c8deae8c57
[ "MIT" ]
null
null
null
def main(): bar = [str(x) for x in xrange(10)] print(bar)
15
35
0.6
12
60
3
0.833333
0
0
0
0
0
0
0
0
0
0
0.041667
0.2
60
3
36
20
0.708333
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
607a37d50d59277577174f9f1212b41082a74d07
1,889
py
Python
final-project/src/__init__.py
andre-motta/sin21
03834ff28d68a0d107c4756e34afc653146fecaf
[ "Unlicense" ]
null
null
null
final-project/src/__init__.py
andre-motta/sin21
03834ff28d68a0d107c4756e34afc653146fecaf
[ "Unlicense" ]
4
2021-09-06T15:46:22.000Z
2021-09-06T15:47:38.000Z
final-project/src/__init__.py
andre-motta/sin21
03834ff28d68a0d107c4756e34afc653146fecaf
[ "Unlicense" ]
null
null
null
from aif360.algorithms.preprocessing.reweighing import Reweighing import pandas as pd import random,time,csv import numpy as np import math,copy,os from sklearn.linear_model import LogisticRegression from sklearn.tree import DecisionTreeRegressor,DecisionTreeClassifier from sklearn.model_selection import train_test_spl...
43.930233
92
0.871361
241
1,889
6.647303
0.348548
0.116729
0.067416
0.089888
0.272784
0.165418
0.097378
0
0
0
0
0.014577
0.092112
1,889
43
93
43.930233
0.919534
0.023822
0
0.051282
0
0
0.001085
0
0
0
0
0
0
1
0
true
0
0.923077
0
0.923077
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
607bf13295c96d47929be6824bc0c23d6dc18177
280
py
Python
evaluation/nor-flask_5.py
sdlab-naist/Teddy-plus
367aadbb30b80e1680156b88017f9bb2d78c539a
[ "0BSD" ]
null
null
null
evaluation/nor-flask_5.py
sdlab-naist/Teddy-plus
367aadbb30b80e1680156b88017f9bb2d78c539a
[ "0BSD" ]
65
2020-01-30T10:58:48.000Z
2020-04-30T03:37:58.000Z
evaluation/nor-flask_5.py
MUICT-SERU/SP2019-TEDDY
367aadbb30b80e1680156b88017f9bb2d78c539a
[ "ISC" ]
1
2021-01-15T08:18:23.000Z
2021-01-15T08:18:23.000Z
def _render(template, context, app): """Renders the template and fires the signal""" before_render_template.send(app, template=template, context=context) rv = template.render(context) template_rendered.send(app, template=template, context=context) return rv
31.111111
72
0.739286
35
280
5.8
0.428571
0.221675
0.147783
0.226601
0.364532
0.364532
0
0
0
0
0
0
0.157143
280
8
73
35
0.860169
0.146429
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
607c822563bc409416dc2620216cd5d26bf34d68
3,528
py
Python
sovtokenfees/sovtokenfees/test/helpers/helper_request.py
burdettadam/token-plugin
7d981d0edca174b00e20a0e46c125bbeca399bae
[ "Apache-2.0" ]
9
2018-10-26T04:59:51.000Z
2021-06-10T13:30:51.000Z
sovtokenfees/sovtokenfees/test/helpers/helper_request.py
burdettadam/token-plugin
7d981d0edca174b00e20a0e46c125bbeca399bae
[ "Apache-2.0" ]
29
2018-09-11T17:07:00.000Z
2021-04-16T20:22:19.000Z
sovtokenfees/sovtokenfees/test/helpers/helper_request.py
burdettadam/token-plugin
7d981d0edca174b00e20a0e46c125bbeca399bae
[ "Apache-2.0" ]
26
2018-09-11T16:49:40.000Z
2021-06-06T10:43:55.000Z
import json from indy.payment import add_request_fees, build_set_txn_fees_req, build_get_txn_fees_req from plenum.common.request import Request from sovtoken.test.helpers import HelperRequest from sovtokenfees.constants import FEES from sovtokenfees.test.constants import txn_type_to_alias from sovtokenfees.test.helpe...
40.090909
120
0.726757
478
3,528
5.031381
0.198745
0.06736
0.037422
0.043659
0.444075
0.396674
0.396674
0.282744
0.25738
0.23368
0
0.000698
0.188209
3,528
87
121
40.551724
0.839036
0.075113
0
0.092593
0
0
0.008125
0
0
0
0
0
0
1
0.203704
false
0
0.203704
0.111111
0.62963
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
60861f0033b916c4890bd4a1291955ba47eebe82
567
py
Python
py/atanet/sentiment/language/language.py
deletescape/atanet
0c88c769be22f6ee81ed833b7e82f7decb062a06
[ "MIT" ]
null
null
null
py/atanet/sentiment/language/language.py
deletescape/atanet
0c88c769be22f6ee81ed833b7e82f7decb062a06
[ "MIT" ]
null
null
null
py/atanet/sentiment/language/language.py
deletescape/atanet
0c88c769be22f6ee81ed833b7e82f7decb062a06
[ "MIT" ]
null
null
null
from enum import Enum class Language(Enum): English = 0 SimplifiedChinese = 1 German = 2 Italian = 3 French = 4 DefinedLanguageCodes = ['en', 'zh', 'de', 'fr', 'it'] def language_to_string(language: Language) -> str: if language == Language.English: return 'english' elif langua...
21.807692
53
0.62963
60
567
5.916667
0.483333
0.270423
0.225352
0
0
0
0
0
0
0
0
0.011962
0.262787
567
25
54
22.68
0.837321
0
0
0
0
0
0.075838
0
0
0
0
0
0
1
0.052632
false
0
0.052632
0
0.684211
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
6092f9b9cc92f6084d7e82daed62bcd048cc8a8b
3,207
py
Python
src/ska_mid_cbf_mcs/vcc/vcc_band_1_and_2.py
jamesjiang52/mid-cbf-mcs
072f8fdb91d77010e875f441e536fab842bf8319
[ "BSD-3-Clause" ]
null
null
null
src/ska_mid_cbf_mcs/vcc/vcc_band_1_and_2.py
jamesjiang52/mid-cbf-mcs
072f8fdb91d77010e875f441e536fab842bf8319
[ "BSD-3-Clause" ]
4
2021-05-20T05:19:23.000Z
2021-05-20T05:19:26.000Z
src/ska_mid_cbf_mcs/vcc/vcc_band_1_and_2.py
ska-telescope/mid-cbf-mcs
072f8fdb91d77010e875f441e536fab842bf8319
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # # This file is part of the Vcc project # # # # Distributed under the terms of the GPL license. # See LICENSE.txt for more info. # """ # Author: James Jiang James.Jiang@nrc-cnrc.gc.ca, # Herzberg Astronomy and Astrophysics, National Research Council of Canada # Copyright (c) 2019 National Rese...
26.504132
80
0.630496
337
3,207
5.884273
0.391691
0.075643
0.042864
0.073122
0.16944
0.043369
0.043369
0
0
0
0
0.015957
0.237917
3,207
120
81
26.725
0.795417
0.52323
0
0.0625
0
0
0.061448
0
0
0
0
0
0
1
0.125
false
0.0625
0.40625
0.03125
0.65625
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
1
0
1
0
0
3
609676b87bbcc39af416c47902b740c93818a722
149
py
Python
frappe/patches/v12_0/set_contact_title.py
shruti2323/frappe
d1e3d9bfa129a84fd799de82b6f9e73b892b5230
[ "MIT" ]
null
null
null
frappe/patches/v12_0/set_contact_title.py
shruti2323/frappe
d1e3d9bfa129a84fd799de82b6f9e73b892b5230
[ "MIT" ]
null
null
null
frappe/patches/v12_0/set_contact_title.py
shruti2323/frappe
d1e3d9bfa129a84fd799de82b6f9e73b892b5230
[ "MIT" ]
null
null
null
import frappe def execute(): frappe.reload_doc("contacts", "doctype", "contact") frappe.db.sql(""" UPDATE `tabContact` SET title = name """)
16.555556
52
0.66443
18
149
5.444444
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.154362
149
8
53
18.625
0.777778
0
0
0
0
0
0.436242
0
0
0
0
0
0
1
0.142857
true
0
0.142857
0
0.285714
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
60a366830dcdc1fcc262d50e32994e01e00b920c
983
py
Python
dicoms/management/commands/autoindex.py
DCAN-Labs/bids-tryworks
aa52ec3d7e9a95d07fcf559ef98351529ae972c6
[ "BSD-3-Clause" ]
null
null
null
dicoms/management/commands/autoindex.py
DCAN-Labs/bids-tryworks
aa52ec3d7e9a95d07fcf559ef98351529ae972c6
[ "BSD-3-Clause" ]
27
2020-06-26T23:04:08.000Z
2022-02-10T10:46:55.000Z
dicoms/management/commands/autoindex.py
DCAN-Labs/bids-tryworks
aa52ec3d7e9a95d07fcf559ef98351529ae972c6
[ "BSD-3-Clause" ]
null
null
null
from django.conf import settings from django.core.management.base import BaseCommand from dicoms.event_logger import start_logging_and_run_indexer from utils.docker_check import am_i_in_docker from utils.dir_watch import DicomWatcher, SessionWatcher if not am_i_in_docker(): from bids_tryworks.settings import BASE...
32.766667
86
0.756867
136
983
5.213235
0.536765
0.050776
0.090268
0.03103
0.183357
0.070522
0
0
0
0
0
0.003741
0.18413
983
29
87
33.896552
0.880299
0.182096
0
0
0
0
0
0
0
0
0
0.034483
0
1
0.0625
false
0
0.4375
0
0.5625
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
1
0
1
0
0
3
60aa6ed577eddd6ac4850331a16179dcb7ec1a80
1,810
py
Python
operational_analysis/toolkits/power_curve/parametric_optimize.py
eumiro/OpenOA
c0d3d4125e971dc5e48b41a4ab75767ace277457
[ "BSD-3-Clause" ]
null
null
null
operational_analysis/toolkits/power_curve/parametric_optimize.py
eumiro/OpenOA
c0d3d4125e971dc5e48b41a4ab75767ace277457
[ "BSD-3-Clause" ]
null
null
null
operational_analysis/toolkits/power_curve/parametric_optimize.py
eumiro/OpenOA
c0d3d4125e971dc5e48b41a4ab75767ace277457
[ "BSD-3-Clause" ]
null
null
null
import numpy as np """ Curve fitting routines curve + bounds optimization algorithm cost function """ def fit_parametric_power_curve(x, y, curve, optimization_algorithm, cost_function, bounds, return_params=False): """ Fit curve to filtered power-windspeed data. Args: x(list[float]): independen...
27.846154
118
0.673481
246
1,810
4.869919
0.365854
0.105175
0.062604
0.082638
0.058431
0.058431
0.058431
0.058431
0
0
0
0.006603
0.246961
1,810
64
119
28.28125
0.87234
0.605525
0
0
0
0
0
0
0
0
0
0
0
1
0.307692
false
0
0.076923
0.153846
0.769231
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
60c10a3b86f7a124a4eca8f85aa9379e14270a4b
386
py
Python
frontend/app.py
bmswens/Rainforest-Challenge-Submission
7d8953fd64df40b35fa9e3ded65ca4ddf65406e4
[ "MIT" ]
null
null
null
frontend/app.py
bmswens/Rainforest-Challenge-Submission
7d8953fd64df40b35fa9e3ded65ca4ddf65406e4
[ "MIT" ]
null
null
null
frontend/app.py
bmswens/Rainforest-Challenge-Submission
7d8953fd64df40b35fa9e3ded65ca4ddf65406e4
[ "MIT" ]
null
null
null
# 3rd party from flask import Flask # custom from matrix_completion import matrix_completion from estimation import estimation from translation import translation app = Flask(__name__) app.register_blueprint(matrix_completion, url_prefix="/matrix-completion") app.register_blueprint(estimation, url_prefix="/estimatio...
32.166667
74
0.839378
47
386
6.617021
0.340426
0.205788
0.192926
0
0
0
0
0
0
0
0
0.002825
0.082902
386
12
75
32.166667
0.875706
0.044041
0
0
0
0
0.111717
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0.375
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
60d6f2899fdae94b55059446c454d8565172b618
3,723
py
Python
azurelinuxagent/common/osutil/suse.py
vyos/vyos-walinuxagent
65170e76236c2e87da487f673b68ac7df2636f9a
[ "Apache-2.0" ]
2
2019-05-03T21:59:45.000Z
2021-01-19T07:17:03.000Z
azurelinuxagent/common/osutil/suse.py
vyos/vyos-walinuxagent
65170e76236c2e87da487f673b68ac7df2636f9a
[ "Apache-2.0" ]
null
null
null
azurelinuxagent/common/osutil/suse.py
vyos/vyos-walinuxagent
65170e76236c2e87da487f673b68ac7df2636f9a
[ "Apache-2.0" ]
1
2018-10-31T12:41:38.000Z
2018-10-31T12:41:38.000Z
# # Copyright 2014 Microsoft Corporation # # 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 ...
33.845455
88
0.717701
499
3,723
5.188377
0.284569
0.08343
0.076477
0.081112
0.479722
0.439938
0.414446
0.38007
0.371572
0.357667
0
0.009262
0.18802
3,723
109
89
34.155963
0.847172
0.160086
0
0.323529
0
0
0.136788
0
0
0
0
0
0
1
0.308824
false
0
0.220588
0.191176
0.823529
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
60f0b1d0deedefe57e0024d8964a0b8517381ac2
482
py
Python
pandagg/tree/_tree.py
leonardbinet/pandagg
5a5619e2190503da841e32782a4e55b35727d656
[ "MIT" ]
null
null
null
pandagg/tree/_tree.py
leonardbinet/pandagg
5a5619e2190503da841e32782a4e55b35727d656
[ "MIT" ]
null
null
null
pandagg/tree/_tree.py
leonardbinet/pandagg
5a5619e2190503da841e32782a4e55b35727d656
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import unicode_literals from future.utils import python_2_unicode_compatible from builtins import str as text from lighttree import Tree as OriginalTree @python_2_unicode_compatible class Tree(OriginalTree): def __str__(self): return "<{clas...
22.952381
74
0.705394
63
482
4.873016
0.52381
0.065147
0.091205
0.156352
0
0
0
0
0
0
0
0.012788
0.188797
482
20
75
24.1
0.772379
0.087137
0
0
0
0
0.041096
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0.166667
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
1
1
1
0
0
3
88136818ce6df382b5d00621aa733d9dbb3e52a2
268
py
Python
Gustavo Guanabara - Python Learning Exercises/ex019 - Method Import 4.py
TiagoPL/Python-Learning
20855433a8a050647ee9c5039aac1e50807324f8
[ "MIT" ]
null
null
null
Gustavo Guanabara - Python Learning Exercises/ex019 - Method Import 4.py
TiagoPL/Python-Learning
20855433a8a050647ee9c5039aac1e50807324f8
[ "MIT" ]
null
null
null
Gustavo Guanabara - Python Learning Exercises/ex019 - Method Import 4.py
TiagoPL/Python-Learning
20855433a8a050647ee9c5039aac1e50807324f8
[ "MIT" ]
null
null
null
from random import choice s1 = input('Name of the 1° student: ') s2 = input('Name of the 2° student: ') s3 = input('Name of the 3° student: ') s4 = input('Name of the 4° student: ') lista = [s1, s2, s3, s4] print(f'The student randomly choosed was: {choice(lista)}')
29.777778
59
0.656716
50
268
3.6
0.48
0.2
0.244444
0.311111
0
0
0
0
0
0
0
0.054795
0.182836
268
8
60
33.5
0.748858
0
0
0
0
0
0.541045
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.142857
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7155018a338ba5da2c2384067a8588d2daee9f0c
340
py
Python
_notify_state_change.py
drocco007/vox_commands
fc75ef6f9662e2830b8ab93129ef28f868def394
[ "MIT" ]
1
2017-03-07T09:35:37.000Z
2017-03-07T09:35:37.000Z
_notify_state_change.py
drocco007/vox_commands
fc75ef6f9662e2830b8ab93129ef28f868def394
[ "MIT" ]
1
2016-12-23T11:51:40.000Z
2016-12-27T22:05:43.000Z
_notify_state_change.py
drocco007/vox_commands
fc75ef6f9662e2830b8ab93129ef28f868def394
[ "MIT" ]
null
null
null
import zmq context = zmq.Context() socket = context.socket(zmq.PUB) # socket.bind("tcp://*:5557") socket.connect('tcp://vmhost:5555') def on_state_change(change_type, argument): # print __name__, 'on_state_change:', change_type, argument socket.send('{}{} {}'.format('\x01', change_type, argument)) def unload():...
20
61
0.694118
45
340
5
0.533333
0.133333
0.24
0.168889
0.275556
0.275556
0
0
0
0
0
0.033223
0.114706
340
16
62
21.25
0.714286
0.25
0
0
0
0
0.111111
0
0
0
0
0
0
1
0.25
false
0
0.125
0
0.375
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
7193f38abce82ee8cb6553eecd44621763fcbdef
14,617
py
Python
test/sasdataloader/test/utest_abs_reader.py
opendatafit/sasview
c470220eecfc9f6d8a0e27e2ea8919dcb1b38e39
[ "BSD-3-Clause" ]
null
null
null
test/sasdataloader/test/utest_abs_reader.py
opendatafit/sasview
c470220eecfc9f6d8a0e27e2ea8919dcb1b38e39
[ "BSD-3-Clause" ]
1
2021-09-20T13:20:35.000Z
2021-09-20T13:20:35.000Z
test/sasdataloader/test/utest_abs_reader.py
opendatafit/sasview
c470220eecfc9f6d8a0e27e2ea8919dcb1b38e39
[ "BSD-3-Clause" ]
null
null
null
""" Unit tests for data manipulations """ from __future__ import print_function import unittest import numpy as np from sas.sascalc.dataloader.loader import Loader from sas.sascalc.dataloader.readers.abs_reader import Reader as AbsReader from sas.sascalc.dataloader.readers.danse_reader import Reader as DANSEReader...
39.612466
126
0.62742
1,934
14,617
4.652534
0.143744
0.134252
0.223828
0.270949
0.774839
0.67515
0.545788
0.429984
0.367748
0.332741
0
0.046384
0.237463
14,617
368
127
39.720109
0.760901
0.063009
0
0.265873
0
0.003968
0.06131
0.001574
0
0
0
0
0.599206
1
0.06746
false
0
0.035714
0.003968
0.119048
0.003968
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
719c9ccf9dc19214a51bea8098681da1b48b371d
455
py
Python
pset_loops/loop_challenges/p2.py
mottaquikarim/pydev-psets
9749e0d216ee0a5c586d0d3013ef481cc21dee27
[ "MIT" ]
5
2019-04-08T20:05:37.000Z
2019-12-04T20:48:45.000Z
pset_loops/loop_challenges/p2.py
mottaquikarim/pydev-psets
9749e0d216ee0a5c586d0d3013ef481cc21dee27
[ "MIT" ]
8
2019-04-15T15:16:05.000Z
2022-02-12T10:33:32.000Z
pset_loops/loop_challenges/p2.py
mottaquikarim/pydev-psets
9749e0d216ee0a5c586d0d3013ef481cc21dee27
[ "MIT" ]
2
2019-04-10T00:14:42.000Z
2020-02-26T20:35:21.000Z
""" Prime Numbers I """ # Check if a number input by a user is prime or not. If it is NOT a prime number, print out that it is not a prime number. If it IS a prime number, print out that it is a prime number and give an example of two of its factors. Hint: Prime numbers must be greater than 1. # Example of output for...
30.333333
270
0.705495
93
455
3.44086
0.44086
0.09375
0.1875
0.103125
0.346875
0.24375
0.175
0.175
0
0
0
0.02
0.230769
455
14
271
32.5
0.894286
0.947253
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
71bacc23470297bdb62f4fc8efeec0fe3b0859eb
5,485
py
Python
client/verta/tests/monitoring/comparison/test_comparison.py
fool-sec-review/modeldb
44e7f3c1af6768c4c23a2d134f9a322fcf0320b5
[ "Apache-2.0" ]
624
2020-01-18T21:10:12.000Z
2022-03-23T12:11:06.000Z
client/verta/tests/monitoring/comparison/test_comparison.py
fool-sec-review/modeldb
44e7f3c1af6768c4c23a2d134f9a322fcf0320b5
[ "Apache-2.0" ]
651
2019-04-18T12:55:07.000Z
2022-03-31T23:45:09.000Z
client/verta/tests/monitoring/comparison/test_comparison.py
fool-sec-review/modeldb
44e7f3c1af6768c4c23a2d134f9a322fcf0320b5
[ "Apache-2.0" ]
118
2019-04-12T16:01:21.000Z
2022-03-05T16:29:41.000Z
# -*- coding: utf-8 -*- # for composite strategy # pylint: disable=no-value-for-parameter import hypothesis import hypothesis.strategies as st from verta._protos.public.common import CommonService_pb2 as _CommonService from verta.monitoring.comparison import ( _VertaComparison, EqualTo, NotEqualTo, G...
32.264706
81
0.716317
625
5,485
6.104
0.12
0.052425
0.091743
0.069201
0.784797
0.71481
0.71481
0.67654
0.67654
0.67654
0
0.000449
0.188514
5,485
169
82
32.455621
0.856661
0.015132
0
0.610169
0
0
0
0
0
0
0
0
0.338983
1
0.161017
false
0
0.033898
0
0.254237
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
71bb4a4cf12e6058640f144ec88bf80facec9419
114
py
Python
dentexchange/apps/authentication/constants.py
hellhound/dentexchange
58ae303e842404fc9e1860f294ec8044a332bef3
[ "BSD-3-Clause" ]
1
2017-11-09T23:09:51.000Z
2017-11-09T23:09:51.000Z
dentexchange/apps/authentication/constants.py
hellhound/dentexchange
58ae303e842404fc9e1860f294ec8044a332bef3
[ "BSD-3-Clause" ]
null
null
null
dentexchange/apps/authentication/constants.py
hellhound/dentexchange
58ae303e842404fc9e1860f294ec8044a332bef3
[ "BSD-3-Clause" ]
3
2015-08-11T16:58:47.000Z
2021-01-04T08:23:51.000Z
# -*- coding:utf-8 -*- FROM_PASSWORD_RECOVERY_EMAIL = 'password@mailinator.com' RECOVERY_EXPIRATION_TIME_DAYS = 1
28.5
56
0.780702
15
114
5.533333
0.866667
0
0
0
0
0
0
0
0
0
0
0.019231
0.087719
114
3
57
38
0.778846
0.175439
0
0
0
0
0.25
0.25
0
0
0
0
0
1
0
false
0.5
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
71bf69527e5562e6c19471a302fb9332bc8900e5
228
py
Python
pylonsapp/pylonsapp/tests/functional/test_basic.py
pombreda/formalchemy
613f721c6da432a12ed94012fad8e337fb5af958
[ "MIT" ]
20
2015-01-25T13:54:08.000Z
2021-03-09T16:54:53.000Z
pylonsapp/pylonsapp/tests/functional/test_basic.py
pombreda/formalchemy
613f721c6da432a12ed94012fad8e337fb5af958
[ "MIT" ]
11
2015-02-05T16:36:19.000Z
2020-11-13T11:41:19.000Z
pylonsapp/pylonsapp/tests/functional/test_basic.py
pombreda/formalchemy
613f721c6da432a12ed94012fad8e337fb5af958
[ "MIT" ]
12
2015-02-19T14:06:21.000Z
2021-07-30T08:44:45.000Z
from pylonsapp.tests import * class TestBasicController(TestController): def test_index(self): response = self.app.get(url(controller='basic', action='index')) response.mustcontain('This is the bar field')
28.5
72
0.710526
27
228
5.962963
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.171053
228
7
73
32.571429
0.851852
0
0
0
0
0
0.135965
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
e081a6b6b764e65a05328484f3ffbfb0b405c128
3,202
py
Python
exploits/staff/chat_admin.py
amreo/ructfe-2019
19064842acc57243f16143a85c06a5613378ebec
[ "MIT" ]
23
2019-11-23T19:53:10.000Z
2021-02-19T06:13:28.000Z
exploits/staff/chat_admin.py
amreo/ructfe-2019
19064842acc57243f16143a85c06a5613378ebec
[ "MIT" ]
1
2019-11-30T16:10:52.000Z
2019-12-01T15:23:39.000Z
exploits/staff/chat_admin.py
amreo/ructfe-2019
19064842acc57243f16143a85c06a5613378ebec
[ "MIT" ]
3
2019-11-24T09:35:43.000Z
2021-02-19T06:13:29.000Z
import sys import asyncio from user import User from api import Api from utils.generators import generate_random_text ip = sys.argv[1] url = f'http://{ip}:3000' async def read_messages_from_admin_scenario(chats): for chat in chats: user = User() chat_id = chat['id'] async with Api(url) a...
76.238095
2,196
0.206121
145
3,202
4.344828
0.372414
0.07619
0.057143
0.066667
0.171429
0.171429
0
0
0
0
0
0.007722
0.757339
3,202
41
2,197
78.097561
0.803089
0
0
0.066667
1
0
0.0203
0
0
0
0
0
0
1
0
false
0.033333
0.166667
0
0.2
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e09b49a258df960b224e74f7d092834087ecb5af
4,322
py
Python
tests/test_simple_json_codec.py
ktomkins1/NCAP-SDK
c5c7535eb95b3aaf111b5e61c30e7dd2539282d7
[ "MIT" ]
null
null
null
tests/test_simple_json_codec.py
ktomkins1/NCAP-SDK
c5c7535eb95b3aaf111b5e61c30e7dd2539282d7
[ "MIT" ]
null
null
null
tests/test_simple_json_codec.py
ktomkins1/NCAP-SDK
c5c7535eb95b3aaf111b5e61c30e7dd2539282d7
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ .. module:: test_network_interface :platform: Unix, Windows :synopsis: This module contains unit tests for the network_interface module. .. moduleauthor:: James Ethridge <jeethridge@gmail.com> """ # -*- coding: utf-8 -*- import unittest from ncaplite import ieee1451types as ieee145...
33.503876
74
0.539102
419
4,322
5.341289
0.267303
0.017873
0.029044
0.040214
0.639857
0.639857
0.621984
0.621984
0.621984
0.621984
0
0.086079
0.34683
4,322
128
75
33.765625
0.706695
0.009718
0
0.774194
0
0
0.133298
0
0
0
0.003136
0
0.032258
0
null
null
0.010753
0.043011
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
e0bd3775ef70112e7e1ab6c6d223fd993a4525b5
2,480
py
Python
tests/measure_tests/boolean_data_tests/sokal_sneath_dissimilarity_test.py
cenkbircanoglu/clustering
0a97fbf43e58e65e8d9eed30eecff00bcd47f093
[ "MIT" ]
23
2015-01-21T01:39:11.000Z
2019-08-27T09:43:39.000Z
tests/measure_tests/boolean_data_tests/sokal_sneath_dissimilarity_test.py
cenkbircanoglu/clustering
0a97fbf43e58e65e8d9eed30eecff00bcd47f093
[ "MIT" ]
1
2015-01-18T08:52:30.000Z
2015-01-18T08:52:30.000Z
tests/measure_tests/boolean_data_tests/sokal_sneath_dissimilarity_test.py
cenkbircanoglu/clustering
0a97fbf43e58e65e8d9eed30eecff00bcd47f093
[ "MIT" ]
6
2015-03-23T16:58:18.000Z
2019-03-12T06:31:56.000Z
# coding=utf-8 from unittest import TestCase from similarityPy.measure.boolean_data.sokal_sneath_dissimilarity import SokalSneathDissimilarity from tests import test_logger __author__ = 'cenk' class SokalSneathDissimilarityTest(TestCase): def test_algorithm(self): test_logger.debug("SokalSneathDissimi...
42.033898
103
0.682258
253
2,480
6.478261
0.272727
0.134228
0.292862
0.119585
0.716901
0.716901
0.648566
0.641245
0.641245
0.641245
0
0.020921
0.229032
2,480
58
104
42.758621
0.836297
0.004839
0
0.521739
0
0
0.10665
0.022709
0
0
0
0
0.217391
1
0.021739
false
0
0.065217
0
0.108696
0
0
0
0
null
0
1
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e0e69a14c4ac4706208081acaeaeef4852b03552
171
py
Python
ProgramFlow/sets/set_sd.py
kumarvgit/python3
318c5e7503fafc9c60082fa123e2930bd82a4ec9
[ "MIT" ]
null
null
null
ProgramFlow/sets/set_sd.py
kumarvgit/python3
318c5e7503fafc9c60082fa123e2930bd82a4ec9
[ "MIT" ]
null
null
null
ProgramFlow/sets/set_sd.py
kumarvgit/python3
318c5e7503fafc9c60082fa123e2930bd82a4ec9
[ "MIT" ]
null
null
null
morning = {'Java', 'C', 'Ruby', 'Lisp', 'C#'} afternoon = {'Python', 'C#', 'Java', 'C', 'Ruby'} print(morning ^ afternoon) print(morning.symmetric_difference(afternoon))
28.5
49
0.631579
20
171
5.35
0.5
0.093458
0.168224
0
0
0
0
0
0
0
0
0
0.111111
171
5
50
34.2
0.703947
0
0
0
0
0
0.187135
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
e0e8ade0a2e5704c9196efeb7df5087bc79275df
519
py
Python
hello.py
nhtnhan/cgi-lab
20ecdbdd1b3d5d1c319632d289c5b53fabbc5d05
[ "Apache-2.0" ]
null
null
null
hello.py
nhtnhan/cgi-lab
20ecdbdd1b3d5d1c319632d289c5b53fabbc5d05
[ "Apache-2.0" ]
null
null
null
hello.py
nhtnhan/cgi-lab
20ecdbdd1b3d5d1c319632d289c5b53fabbc5d05
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 import os import json # PRINT ENV VARS AS PLAIN TEXT # print("Content-Type: text/plain") # plain text # print() # print(os.environ) # PRINT ENV VARS AS JSON # print("Content-Type: application/json") # json is following # print() # print(json.dumps(dict(os.environ), indent = 2)) # PRINT ...
25.95
64
0.705202
78
519
4.615385
0.410256
0.1
0.133333
0.077778
0
0
0
0
0
0
0
0.004494
0.142582
519
19
65
27.315789
0.804494
0.61657
0
0
0
0
0.435484
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0.666667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
1
0
3
e0f4fb744f82066e0ef1afe407079c8f80378c28
1,691
py
Python
test/lib/test_math_util.py
raghu1121/SLM-Lab
58e98b6521f581515d04ebacff5226105237ed9b
[ "MIT" ]
null
null
null
test/lib/test_math_util.py
raghu1121/SLM-Lab
58e98b6521f581515d04ebacff5226105237ed9b
[ "MIT" ]
null
null
null
test/lib/test_math_util.py
raghu1121/SLM-Lab
58e98b6521f581515d04ebacff5226105237ed9b
[ "MIT" ]
null
null
null
from slm_lab.lib import math_util import numpy as np import pytest @pytest.mark.parametrize('vec,res', [ ([1, 1, 1], [False, False, False]), ([1, 1, 2], [False, False, True]), ([[1, 1], [1, 1], [1, 2]], [False, False, True]), ]) def test_is_outlier(vec, res): assert np.array_equal(math_util.is_outlier...
35.229167
113
0.56712
350
1,691
2.622857
0.148571
0.130719
0.091503
0.078431
0.738562
0.729847
0.603486
0.513072
0.400871
0.357298
0
0.253155
0.20343
1,691
47
114
35.978723
0.428359
0
0
0.121951
0
0
0.06919
0
0
0
0
0
0.073171
1
0.073171
false
0
0.073171
0
0.146341
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3