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
831783b7d8f53d0ee33ac2915339b8b55bfc7d04
100
py
Python
src/authentication/tests/test_request.py
pykulytsky/freelance-service
0f6e36093128ae3e63bd7dcf21959882eae7e683
[ "MIT" ]
null
null
null
src/authentication/tests/test_request.py
pykulytsky/freelance-service
0f6e36093128ae3e63bd7dcf21959882eae7e683
[ "MIT" ]
45
2021-01-18T14:01:20.000Z
2021-08-02T07:40:10.000Z
src/authentication/tests/test_request.py
pykulytsky/freelance-service
0f6e36093128ae3e63bd7dcf21959882eae7e683
[ "MIT" ]
1
2021-01-26T09:58:22.000Z
2021-01-26T09:58:22.000Z
import pytest pytestmark = [pytest.mark.django_db] def test_request(api): assert True
12.5
37
0.69
13
100
5.153846
0.923077
0
0
0
0
0
0
0
0
0
0
0
0.23
100
7
38
14.285714
0.87013
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
831fadfd0644ecb983b9990f81c0ac5c33f7c2bd
606
py
Python
src/models/temp.py
minority4u/image-classification-tf
c950df4ee07540133562f2c5b73f1e7ad21ddec6
[ "MIT" ]
null
null
null
src/models/temp.py
minority4u/image-classification-tf
c950df4ee07540133562f2c5b73f1e7ad21ddec6
[ "MIT" ]
null
null
null
src/models/temp.py
minority4u/image-classification-tf
c950df4ee07540133562f2c5b73f1e7ad21ddec6
[ "MIT" ]
null
null
null
from os import listdir from os.path import isfile, join def countLinesInPath(path,directory): count=0 for line in open(join(directory,path), encoding="utf8"): count+=1 return count def countLines(paths,directory): count=0 for path in paths: count=count+countLinesInPath(path,directory...
30.3
72
0.721122
80
606
5.35
0.4375
0.10514
0.135514
0.084112
0
0
0
0
0
0
0
0.007952
0.169967
606
20
73
30.3
0.842942
0
0
0.222222
0
0
0.087315
0.067545
0
0
0
0
0
1
0.222222
false
0
0.111111
0.111111
0.555556
0.055556
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
8328ead6829bc29b527a9de3d5e4c09af59ef4e6
122
py
Python
Module/func.py
SMCEBI-didactics/SiNWO-140122
c12c2e6170dd79a6d5409fb00663ba5832f74cb3
[ "MIT" ]
null
null
null
Module/func.py
SMCEBI-didactics/SiNWO-140122
c12c2e6170dd79a6d5409fb00663ba5832f74cb3
[ "MIT" ]
15
2021-12-21T01:20:16.000Z
2022-01-25T00:49:16.000Z
Module/func.py
SMCEBI-didactics/SiNWO-140122
c12c2e6170dd79a6d5409fb00663ba5832f74cb3
[ "MIT" ]
null
null
null
from time import time as t def f(x): """ """ return x**2 + x + 3 def time(): """ """ return t()
10.166667
26
0.409836
18
122
2.777778
0.611111
0
0
0
0
0
0
0
0
0
0
0.027027
0.393443
122
11
27
11.090909
0.648649
0
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0.2
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
8335f5b9e8d69003436f6b6807c81dac763e09c9
185
py
Python
server/tests.py
mirianfsilva/react-app-using-opencv-with-flask
8087eda6f5814010e4d76a163b4e0c99ab01ed39
[ "MIT" ]
4
2021-03-27T14:31:04.000Z
2022-03-29T23:23:13.000Z
server/tests.py
mirianfsilva/react-app-using-opencv-with-flask
8087eda6f5814010e4d76a163b4e0c99ab01ed39
[ "MIT" ]
null
null
null
server/tests.py
mirianfsilva/react-app-using-opencv-with-flask
8087eda6f5814010e4d76a163b4e0c99ab01ed39
[ "MIT" ]
1
2021-04-10T10:51:27.000Z
2021-04-10T10:51:27.000Z
import os import unittest import glob import matplotlib.pyplot as plt import numpy as np class TestFunction(unittest.TestCase): def test_mine(self): self.assertTrue(True)
16.818182
38
0.762162
26
185
5.384615
0.730769
0
0
0
0
0
0
0
0
0
0
0
0.178378
185
10
39
18.5
0.921053
0
0
0
0
0
0
0
0
0
0
0
0.125
1
0.125
false
0
0.625
0
0.875
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
8338d0091dfeedd5b74e2514a12c1b43eb8831fd
452
py
Python
oil_management/config/oil_management.py
ahishamali10/oil_management
74b9e8a29355cde7d2a309e088c9b8c376dbfa61
[ "MIT" ]
null
null
null
oil_management/config/oil_management.py
ahishamali10/oil_management
74b9e8a29355cde7d2a309e088c9b8c376dbfa61
[ "MIT" ]
null
null
null
oil_management/config/oil_management.py
ahishamali10/oil_management
74b9e8a29355cde7d2a309e088c9b8c376dbfa61
[ "MIT" ]
null
null
null
from __future__ import unicode_literals from frappe import _ def get_data(): return [ { "label": _("oil management"), "items": [ { "type": "doctype", "name": "Order Go", "onboard": 1, } ] }, { "label": _("Setup"), "items": [ { "type": "doctype", "name": "...
13.294118
39
0.442478
39
452
4.897436
0.641026
0.172775
0.235602
0.209424
0
0
0
0
0
0
0
0.010274
0.353982
452
33
40
13.69697
0.643836
0
0
0.266667
0
0
0.283186
0
0
0
0
0
0
1
0.033333
true
0
0.066667
0.033333
0.133333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
8348faa5f85f2559b212a64838f35223811e5a13
14,868
py
Python
tests/test_util_hooks.py
GuillaumeVandekerckhove/pydov
b51f77bf93d1f9e96dd39edf564d95426da04126
[ "MIT" ]
32
2017-03-17T16:36:40.000Z
2022-02-18T13:10:50.000Z
tests/test_util_hooks.py
GuillaumeVandekerckhove/pydov
b51f77bf93d1f9e96dd39edf564d95426da04126
[ "MIT" ]
240
2017-01-03T12:32:15.000Z
2022-03-30T11:52:02.000Z
tests/test_util_hooks.py
GuillaumeVandekerckhove/pydov
b51f77bf93d1f9e96dd39edf564d95426da04126
[ "MIT" ]
17
2017-01-09T21:00:36.000Z
2022-03-01T15:04:21.000Z
import copy import datetime import pytest from owslib.etree import etree from owslib.fes import PropertyIsEqualTo import pydov from pydov.search.boring import BoringSearch from pydov.util.hooks import (AbstractInjectHook, AbstractReadHook, Hooks, SimpleStatusHook) from tests.abstract imp...
34.49652
79
0.655165
1,834
14,868
5.080153
0.104689
0.075131
0.103037
0.109477
0.80176
0.751422
0.704948
0.604594
0.526994
0.518193
0
0.017561
0.256995
14,868
430
80
34.576744
0.825835
0.143866
0
0.630189
0
0
0.050994
0.003014
0
0
0
0
0.339623
1
0.14717
false
0
0.033962
0
0.211321
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
8369a1fda211d68339b3bd82f40ea6fa882c7028
4,029
py
Python
exercise/venv/lib/python3.7/site-packages/sqreen/frameworks/flask_framework.py
assuzzanne/my-sqreen
81ae0eab417a1dbc0ae6b1778ebfdd71591c3c5b
[ "MIT" ]
null
null
null
exercise/venv/lib/python3.7/site-packages/sqreen/frameworks/flask_framework.py
assuzzanne/my-sqreen
81ae0eab417a1dbc0ae6b1778ebfdd71591c3c5b
[ "MIT" ]
1
2021-06-02T00:27:34.000Z
2021-06-02T00:27:34.000Z
exercise/venv/lib/python3.7/site-packages/sqreen/frameworks/flask_framework.py
assuzzanne/notifications-dispatcher-api
81ae0eab417a1dbc0ae6b1778ebfdd71591c3c5b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (c) 2016, 2017, 2018, 2019 Sqreen. All rights reserved. # Please refer to our terms for more information: # # https://www.sqreen.io/terms.html # """ Flask specific WSGI HTTP Request / Response stuff """ from itertools import chain from logging import getLogger from traceback imp...
25.024845
77
0.648796
488
4,029
5.137295
0.309426
0.092142
0.055844
0.041883
0.122856
0.078181
0.064619
0
0
0
0
0.006417
0.265078
4,029
160
78
25.18125
0.840257
0.116158
0
0.224299
0
0
0.031188
0
0
0
0
0
0
1
0.224299
false
0
0.084112
0.130841
0.551402
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
55d132d34595f53cde95039b595c2aefc3f8f9b0
3,126
py
Python
zoom/model/zoom/zoom_param.py
PedalController/PluginsManager-Zoom
13569fa3d74db9c91aac723df503a20e6f281bde
[ "Apache-1.1" ]
1
2019-06-11T18:33:42.000Z
2019-06-11T18:33:42.000Z
zoom/model/zoom/zoom_param.py
PedalController/PluginsManager-Zoom
13569fa3d74db9c91aac723df503a20e6f281bde
[ "Apache-1.1" ]
5
2019-12-07T02:07:29.000Z
2021-02-15T18:49:15.000Z
zoom/model/zoom/zoom_param.py
PedalPi/PluginsManager-Zoom
13569fa3d74db9c91aac723df503a20e6f281bde
[ "Apache-1.1" ]
null
null
null
# Copyright 2017 SrMouraSilva # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing,...
32.226804
115
0.673704
396
3,126
5.255051
0.325758
0.038443
0.02691
0.025949
0.355598
0.33061
0.33061
0.33061
0.293128
0.293128
0
0.004673
0.246961
3,126
96
116
32.5625
0.879354
0.546385
0
0.222222
0
0.027778
0.107084
0.046952
0
0
0
0
0
1
0.305556
false
0
0.027778
0.166667
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
55e5e3382e92ec116c06227f2bb746261a06d83d
11,025
py
Python
data/tthfitter/config_writer.py
drdavis/aidapy
c69ce9d8edc6b2d7a83efdf5a2a1a76ff8393ec5
[ "MIT" ]
null
null
null
data/tthfitter/config_writer.py
drdavis/aidapy
c69ce9d8edc6b2d7a83efdf5a2a1a76ff8393ec5
[ "MIT" ]
null
null
null
data/tthfitter/config_writer.py
drdavis/aidapy
c69ce9d8edc6b2d7a83efdf5a2a1a76ff8393ec5
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ This file will create a config file for use with the TRExFitter/TtHFitter package *** REQUIRES PYTHON3 *** author: Doug Davis <ddavis@cern.ch> """ import sys import subprocess import aidapy.meta f = open('aida.config','w') print('Job: "myAIDAfit"', file=f) print(' CmeLabel: "13 TeV"', fi...
33.510638
72
0.637642
1,654
11,025
4.15659
0.122733
0.187636
0.368
0.061091
0.792582
0.730618
0.6992
0.654255
0.625745
0.539927
0
0.021326
0.140862
11,025
328
73
33.612805
0.704497
0.01941
0
0.485915
0
0
0.484447
0.070542
0
0
0
0
0
1
0
false
0
0.010563
0
0.010563
0.922535
0
0
0
null
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
55eb05fcc86dbdbdf47f3241fd9a7cc1fedd1e01
1,376
py
Python
incrowd/website/content_types.py
incrowdio/incrowd
711e99c55b9da815af7749a2930d4184e235fa68
[ "Apache-2.0" ]
4
2015-03-10T04:24:07.000Z
2016-09-18T16:41:12.000Z
incrowd/website/content_types.py
incrowdio/incrowd
711e99c55b9da815af7749a2930d4184e235fa68
[ "Apache-2.0" ]
27
2015-01-03T09:52:50.000Z
2021-06-10T20:37:08.000Z
incrowd/website/content_types.py
incrowdio/incrowd
711e99c55b9da815af7749a2930d4184e235fa68
[ "Apache-2.0" ]
2
2015-09-07T21:06:51.000Z
2016-03-10T11:31:57.000Z
from __future__ import unicode_literals import urlparse class ContentType(object): def detect(self, url, content_type): pass def render(self): return None class Video(ContentType): def detect(self, url, content_type): return 'video' class Image(ContentType): def detect(sel...
24.140351
49
0.59811
171
1,376
4.666667
0.239766
0.078947
0.114035
0.140351
0.666667
0.666667
0.632832
0.632832
0.467419
0.467419
0
0.005025
0.27689
1,376
56
50
24.571429
0.796985
0.014535
0
0.384615
0
0
0.049483
0
0
0
0
0
0
1
0.230769
false
0.025641
0.051282
0.102564
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
55f2dde3fd2c0543dc44287d45b459f9582e2546
136
py
Python
python/gdal_cookbook/cookbook_geometry/create_point.py
zeroam/TIL
43e3573be44c7f7aa4600ff8a34e99a65cbdc5d1
[ "MIT" ]
null
null
null
python/gdal_cookbook/cookbook_geometry/create_point.py
zeroam/TIL
43e3573be44c7f7aa4600ff8a34e99a65cbdc5d1
[ "MIT" ]
null
null
null
python/gdal_cookbook/cookbook_geometry/create_point.py
zeroam/TIL
43e3573be44c7f7aa4600ff8a34e99a65cbdc5d1
[ "MIT" ]
null
null
null
from osgeo import ogr point = ogr.Geometry(ogr.wkbPoint) point.AddPoint(1116651.439379124, 637392.6969887456) print(point.ExportToWkt())
34
52
0.816176
18
136
6.166667
0.777778
0
0
0
0
0
0
0
0
0
0
0.251969
0.066176
136
4
53
34
0.622047
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
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
55f6b343e6e316fd335dc135f98f97739e3656a9
25
py
Python
create_pyproj/defaults.py
byung-u/create_pyproj
10e3046cdff7bcab45ef8779cb70d149a16e4cf6
[ "MIT" ]
1
2019-09-30T13:36:53.000Z
2019-09-30T13:36:53.000Z
create_pyproj/defaults.py
byung-u/create_pyproj
10e3046cdff7bcab45ef8779cb70d149a16e4cf6
[ "MIT" ]
1
2017-03-11T14:08:22.000Z
2017-03-11T14:08:22.000Z
create_pyproj/defaults.py
byung-u/create_pyproj
10e3046cdff7bcab45ef8779cb70d149a16e4cf6
[ "MIT" ]
1
2017-10-27T05:31:12.000Z
2017-10-27T05:31:12.000Z
CONFIG_FILE = './rs.ini'
12.5
24
0.64
4
25
3.75
1
0
0
0
0
0
0
0
0
0
0
0
0.12
25
1
25
25
0.681818
0
0
0
0
0
0.32
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
361b7c8d1cf81630784bc3d49c96cbd434951195
297
py
Python
market_place_proj/app_users/mixins.py
grand-roman/market_place
219e9c6f108fc4edd7508e0f00078c0c78583f47
[ "BSD-2-Clause" ]
null
null
null
market_place_proj/app_users/mixins.py
grand-roman/market_place
219e9c6f108fc4edd7508e0f00078c0c78583f47
[ "BSD-2-Clause" ]
null
null
null
market_place_proj/app_users/mixins.py
grand-roman/market_place
219e9c6f108fc4edd7508e0f00078c0c78583f47
[ "BSD-2-Clause" ]
null
null
null
from django.utils.functional import cached_property from view_breadcrumbs import BaseBreadcrumbMixin class AuthBaseBreadcrumbMixin(BaseBreadcrumbMixin): """Миксин для генерации breadcrumbs.""" breadcrumbs = [] @cached_property def crumbs(self): return self.breadcrumbs
22.846154
51
0.76431
28
297
8
0.678571
0.125
0
0
0
0
0
0
0
0
0
0
0.16835
297
12
52
24.75
0.906883
0.111111
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0.142857
0.857143
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
362a35ba1b40a8f9c6edaf0ae71592f167ca4104
439
py
Python
etc/utils/strings.py
hariprasadraja/my_config
78231b0825b9728a8f6b92a92083c0de67708467
[ "BSD-2-Clause" ]
3
2018-11-28T10:58:01.000Z
2019-03-12T14:47:18.000Z
etc/utils/strings.py
hariprasadraja/bash-config
78231b0825b9728a8f6b92a92083c0de67708467
[ "BSD-2-Clause" ]
null
null
null
etc/utils/strings.py
hariprasadraja/bash-config
78231b0825b9728a8f6b92a92083c0de67708467
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python3 import fire class String(): """ performs operations on string """ """ strip removes leading and tailing spaces """ def strip(self, s: str): return s.strip() """ startswith return true, if the string starts with given prefix """ def startsw...
16.259259
66
0.599089
53
439
4.811321
0.603774
0.039216
0.062745
0
0
0
0
0
0
0
0
0.003165
0.280182
439
26
67
16.884615
0.803797
0.116173
0
0
0
0
0.033755
0
0
0
0
0
0
1
0.25
false
0
0.125
0.25
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
364b2cebd90c5dfed631f97e4588208ce1edcbb7
217
py
Python
pyeccodes/defs/grib1/localConcepts/ammc/name_def.py
ecmwf/pyeccodes
dce2c72d3adcc0cb801731366be53327ce13a00b
[ "Apache-2.0" ]
7
2020-04-14T09:41:17.000Z
2021-08-06T09:38:19.000Z
pyeccodes/defs/grib1/localConcepts/ammc/name_def.py
ecmwf/pyeccodes
dce2c72d3adcc0cb801731366be53327ce13a00b
[ "Apache-2.0" ]
null
null
null
pyeccodes/defs/grib1/localConcepts/ammc/name_def.py
ecmwf/pyeccodes
dce2c72d3adcc0cb801731366be53327ce13a00b
[ "Apache-2.0" ]
3
2020-04-30T12:44:48.000Z
2020-12-15T08:40:26.000Z
import pyeccodes.accessors as _ def load(h): def wrapped(h): indicatorOfParameter = h.get_l('indicatorOfParameter') if indicatorOfParameter == 1: return 'test' return wrapped
15.5
62
0.635945
22
217
6.181818
0.681818
0
0
0
0
0
0
0
0
0
0
0.00641
0.281106
217
13
63
16.692308
0.865385
0
0
0
0
0
0.110599
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0
0.714286
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
36577ba83ea3e81ad0385f237bca780f5f7070d3
849
py
Python
src/viewer/app/views/__init__.py
mappin/asxtrade
2b97ffcdefae642a49ce5bfcc131db17796f1691
[ "Apache-2.0" ]
null
null
null
src/viewer/app/views/__init__.py
mappin/asxtrade
2b97ffcdefae642a49ce5bfcc131db17796f1691
[ "Apache-2.0" ]
1
2021-04-13T05:00:40.000Z
2021-04-13T05:00:40.000Z
src/viewer/app/views/__init__.py
mappin/asxtrade
2b97ffcdefae642a49ce5bfcc131db17796f1691
[ "Apache-2.0" ]
null
null
null
""" Responsible for ensuring all imports as required by urls.py are done """ from app.views.core import show_all_stocks, show_increasing_eps_stocks, show_etfs, show_increasing_yield_stocks from app.views.search import mover_search, sector_search, company_search, dividend_search, market_cap_search, show_recent_sector fr...
70.75
145
0.872792
127
849
5.464567
0.417323
0.080692
0.138329
0
0
0
0
0
0
0
0
0
0.076561
849
11
146
77.181818
0.885204
0.080094
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
367919239ad1f2cf792ee4e543197b6d45e97ffb
752
py
Python
sotd/backend/__init__.py
huntermatthews/sot
765172223abe8a5c6b3970916313dac88d985922
[ "Apache-2.0" ]
null
null
null
sotd/backend/__init__.py
huntermatthews/sot
765172223abe8a5c6b3970916313dac88d985922
[ "Apache-2.0" ]
null
null
null
sotd/backend/__init__.py
huntermatthews/sot
765172223abe8a5c6b3970916313dac88d985922
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import division from __future__ import absolute_import from __future__ import print_function from __future__ import unicode_literals # from app.config import get_config from backend.mongodb import MongoDB as db def get_db(): """ Get a db object? or module going """ # ...
23.5
71
0.698138
119
752
4.226891
0.537815
0.079523
0.127237
0.075547
0.127237
0.127237
0.127237
0.127237
0
0
0
0.00346
0.231383
752
31
72
24.258065
0.866782
0.566489
0
0.222222
0
0
0
0
0
0
0
0
0
1
0.222222
true
0
0.555556
0
1
0.111111
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
1
0
1
0
0
0
0
3
367dc6a99d57bafdd6f6ed8d445cf8686bd8604a
332
py
Python
src/sentry/mediators/service_hooks/destroyer.py
uandco/sentry
5b8d45cb71c6617dac8e64265848623fbfce9c99
[ "BSD-3-Clause" ]
4
2019-05-27T13:55:07.000Z
2021-03-30T07:05:09.000Z
src/sentry/mediators/service_hooks/destroyer.py
uandco/sentry
5b8d45cb71c6617dac8e64265848623fbfce9c99
[ "BSD-3-Clause" ]
196
2019-06-10T08:34:10.000Z
2022-02-22T01:26:13.000Z
src/sentry/mediators/service_hooks/destroyer.py
uandco/sentry
5b8d45cb71c6617dac8e64265848623fbfce9c99
[ "BSD-3-Clause" ]
1
2020-08-10T07:55:40.000Z
2020-08-10T07:55:40.000Z
from __future__ import absolute_import from sentry.mediators import Mediator, Param class Destroyer(Mediator): service_hook = Param('sentry.models.ServiceHook') def call(self): self._destroy_service_hook() return self.service_hook def _destroy_service_hook(self): self.service_ho...
22.133333
53
0.731928
40
332
5.725
0.5
0.240175
0.157205
0
0
0
0
0
0
0
0
0
0.189759
332
14
54
23.714286
0.851301
0
0
0
0
0
0.075301
0.075301
0
0
0
0
0
1
0.222222
false
0
0.222222
0
0.777778
0
0
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
1
0
0
0
0
1
0
0
3
367fa99a6097540441f33e535fa64a1bc9461ff0
1,133
py
Python
flask_app/player.py
production-ml/the-hat-game
72aa667a305de05dfbd17e1c8743e112f5a3a3ec
[ "MIT" ]
9
2021-08-30T08:36:32.000Z
2021-12-27T17:04:26.000Z
flask_app/player.py
IlyaMoshonkin/the-hat-game
72aa667a305de05dfbd17e1c8743e112f5a3a3ec
[ "MIT" ]
21
2021-08-30T08:30:14.000Z
2022-01-24T06:46:50.000Z
flask_app/player.py
IlyaMoshonkin/the-hat-game
72aa667a305de05dfbd17e1c8743e112f5a3a3ec
[ "MIT" ]
5
2021-09-13T20:26:05.000Z
2021-12-26T17:21:34.000Z
class AbstractPlayer: def __init__(self): raise NotImplementedError() def explain(self, word, n_words): raise NotImplementedError() def guess(self, words, n_words): raise NotImplementedError() class LocalDummyPlayer(AbstractPlayer): def __init__(self): pass def e...
29.815789
90
0.682259
146
1,133
5.027397
0.321918
0.081744
0.108992
0.10218
0.290191
0.224796
0.160763
0.079019
0
0
0
0
0.220653
1,133
37
91
30.621622
0.831257
0
0
0.423077
0
0
0.090026
0
0
0
0
0
0
1
0.384615
false
0.038462
0
0.115385
0.692308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
3680a4469fcec8c7f53ee91b0771786a9c1a9204
244
py
Python
other tests/testing_methods _test.py
pavelwearevolt/Cross_Edit_TestsAutomatization
953691244d86c5832fe2a2705841711939a353a5
[ "Apache-2.0" ]
null
null
null
other tests/testing_methods _test.py
pavelwearevolt/Cross_Edit_TestsAutomatization
953691244d86c5832fe2a2705841711939a353a5
[ "Apache-2.0" ]
null
null
null
other tests/testing_methods _test.py
pavelwearevolt/Cross_Edit_TestsAutomatization
953691244d86c5832fe2a2705841711939a353a5
[ "Apache-2.0" ]
null
null
null
__author__ = 'pavelkosicin' import time from model.note import Note def test_search_song(app): app.song.search_song(query="song_B") def test_check_fields_value_default(app): app.song.check_fields_value_default(name="song_A")
12.842105
54
0.762295
37
244
4.594595
0.540541
0.082353
0.117647
0.270588
0
0
0
0
0
0
0
0
0.139344
244
18
55
13.555556
0.809524
0
0
0
0
0
0.101266
0
0
0
0
0
0
1
0.285714
false
0
0.285714
0
0.571429
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
369d023443f95a06d1ac5ba7c02097089c4eeef8
162
py
Python
19.04.2022/tupla/tuplasEx1.py
N0N4T0/python-codes
ac2b884f86749a8b179ff972cdb316ec4e005b32
[ "MIT" ]
null
null
null
19.04.2022/tupla/tuplasEx1.py
N0N4T0/python-codes
ac2b884f86749a8b179ff972cdb316ec4e005b32
[ "MIT" ]
null
null
null
19.04.2022/tupla/tuplasEx1.py
N0N4T0/python-codes
ac2b884f86749a8b179ff972cdb316ec4e005b32
[ "MIT" ]
null
null
null
# Acesso as elementos da tupla numeros = 1,2,3,5,7,11 print(numeros[0]) print(numeros[1]) print(numeros[2]) print(numeros[3]) print(numeros[4]) print(numeros[5])
18
30
0.716049
30
162
3.866667
0.5
0.62069
0
0
0
0
0
0
0
0
0
0.088435
0.092593
162
9
31
18
0.70068
0.17284
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.857143
0
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
1
0
3
36a2aa4bd6461263cbca463f437c48fefdc53deb
589
py
Python
TechInterviews/Python/anagrams_for.py
christieewen/Algorithms
e72e6d168f6b1f56c145f083ddb6c97f306b78b1
[ "MIT" ]
2
2015-01-10T01:40:20.000Z
2016-03-02T23:51:46.000Z
TechInterviews/Python/anagrams_for.py
christieewen/Algorithms
e72e6d168f6b1f56c145f083ddb6c97f306b78b1
[ "MIT" ]
null
null
null
TechInterviews/Python/anagrams_for.py
christieewen/Algorithms
e72e6d168f6b1f56c145f083ddb6c97f306b78b1
[ "MIT" ]
null
null
null
#Python 3.4.2 from nltk.corpus import words from itertools import permutations def anagrams_for(word): # TODO: # 1. generate permutations of word array (note: don't return itself) # 2. check if word is a real word using the syntax below: # if "word" in words.words(): # print word # example using itertool...
29.45
71
0.685908
89
589
4.449438
0.483146
0.090909
0.015152
0.080808
0
0
0
0
0
0
0
0.021322
0.203735
589
19
72
31
0.823028
0
0
0
1
0
0.021084
0
0
0
0
0.052632
0
0
null
null
0
0.2
null
null
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
1
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
3
36b10334eb06afccb69194160facd70a144e2cbc
775
py
Python
pava/implementation/natives/com/sun/media/sound/MidiOutDevice.py
laffra/pava
54d10cf7f8def2f96e254c0356623d08f221536f
[ "MIT" ]
4
2017-03-30T16:51:16.000Z
2020-10-05T12:25:47.000Z
pava/implementation/natives/com/sun/media/sound/MidiOutDevice.py
laffra/pava
54d10cf7f8def2f96e254c0356623d08f221536f
[ "MIT" ]
null
null
null
pava/implementation/natives/com/sun/media/sound/MidiOutDevice.py
laffra/pava
54d10cf7f8def2f96e254c0356623d08f221536f
[ "MIT" ]
null
null
null
def add_native_methods(clazz): def nOpen__int__(a0, a1): raise NotImplementedError() def nClose__long__(a0, a1): raise NotImplementedError() def nSendShortMessage__long__int__long__(a0, a1, a2, a3): raise NotImplementedError() def nSendLongMessage__long__byte____int__long__(a0...
33.695652
99
0.766452
85
775
5.835294
0.235294
0.084677
0.217742
0.169355
0.431452
0.060484
0
0
0
0
0
0.023364
0.171613
775
22
100
35.227273
0.749221
0
0
0.3125
0
0
0
0
0
0
0
0
0
1
0.375
false
0
0
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
36b1d5819cbb3b73d25aa1ab02343e582883e206
232
py
Python
hcap/settings/general/cors.py
fabiommendes/capacidade_hospitalar
4f675b574573eb3f51e6be8a927ea230bf2712c7
[ "MIT" ]
null
null
null
hcap/settings/general/cors.py
fabiommendes/capacidade_hospitalar
4f675b574573eb3f51e6be8a927ea230bf2712c7
[ "MIT" ]
31
2020-04-11T13:38:17.000Z
2021-09-22T18:51:11.000Z
hcap/settings/general/cors.py
fabiommendes/capacidade_hospitalar
4f675b574573eb3f51e6be8a927ea230bf2712c7
[ "MIT" ]
1
2020-04-08T17:04:39.000Z
2020-04-08T17:04:39.000Z
""" django: https://docs.djangoproject.com/en/3.0/ref/settings/#allowed-hosts https://docs.djangoproject.com/en/3.0/ref/settings/#internal-ips """ ALLOWED_HOSTS = "*" INTERNAL_IPS = ("127.0.0.1", "localhost", "172.18.0.1")
25.777778
69
0.672414
36
232
4.277778
0.527778
0.116883
0.285714
0.324675
0.519481
0.519481
0.519481
0.519481
0.519481
0
0
0.080952
0.094828
232
8
70
29
0.652381
0.62931
0
0
0
0
0.371795
0
0
0
0
0
0
1
0
false
0
0
0
0
0
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
36b5584f8ff812b616c77993935b2c5a0bd5f4dd
1,112
py
Python
home_application/models.py
scofield157/demo-test
806d5292993718141d8820710bd5b12bd8dc6c0f
[ "Apache-2.0" ]
null
null
null
home_application/models.py
scofield157/demo-test
806d5292993718141d8820710bd5b12bd8dc6c0f
[ "Apache-2.0" ]
null
null
null
home_application/models.py
scofield157/demo-test
806d5292993718141d8820710bd5b12bd8dc6c0f
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from django.db import models class Script(models.Model): """业务信息""" script_name = models.CharField(u'脚本名', max_length=50) script_text = models.CharField(u'脚本内容', max_length=500) script_input = models.CharField(u'默认参数', max_length=200, default=None, null=True) script_desc =...
42.769231
85
0.722122
161
1,112
4.857143
0.304348
0.138107
0.210997
0.267263
0.546036
0.530691
0.530691
0.35422
0.35422
0.120205
0
0.033333
0.136691
1,112
25
86
44.48
0.78125
0.030576
0
0
0
0
0.017807
0
0
0
0
0
0
1
0
false
0
0.058824
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
36d1826420fa559e4d2c273973d846c97bebda59
164
py
Python
Projetos/surf01.py
anderson-br-ti/python
d65d851f0934267dff9256dfdac09b100efb3b45
[ "MIT" ]
null
null
null
Projetos/surf01.py
anderson-br-ti/python
d65d851f0934267dff9256dfdac09b100efb3b45
[ "MIT" ]
null
null
null
Projetos/surf01.py
anderson-br-ti/python
d65d851f0934267dff9256dfdac09b100efb3b45
[ "MIT" ]
null
null
null
f = open('surf.txt') maior = 0 for linha in f: nome, pontos = linha.split() if float(pontos) > maior: maior = float(pontos) f.close() print (maior)
18.222222
32
0.603659
25
164
3.96
0.64
0.222222
0
0
0
0
0
0
0
0
0
0.008065
0.243902
164
8
33
20.5
0.790323
0
0
0
0
0
0.04878
0
0
0
0
0
0
1
0
false
0
0
0
0
0.125
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
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
7fd0027a649565ec9c3d17bdc7bfc6f6c414073d
122
py
Python
lib/galaxy/version.py
NordicESMhub/galaxy
ec3ffb7d8ec5dac9b179f4c9d39b8060b69d5492
[ "CC-BY-3.0" ]
1
2018-12-04T10:39:31.000Z
2018-12-04T10:39:31.000Z
lib/galaxy/version.py
NordicESMhub/galaxy
ec3ffb7d8ec5dac9b179f4c9d39b8060b69d5492
[ "CC-BY-3.0" ]
78
2019-01-18T08:12:49.000Z
2022-03-13T08:56:41.000Z
lib/galaxy/version.py
NordicESMhub/galaxy
ec3ffb7d8ec5dac9b179f4c9d39b8060b69d5492
[ "CC-BY-3.0" ]
9
2019-01-18T07:49:12.000Z
2021-06-26T22:21:09.000Z
VERSION_MAJOR = "21.09" VERSION_MINOR = "1.dev0" VERSION = VERSION_MAJOR + (f".{VERSION_MINOR}" if VERSION_MINOR else '')
30.5
72
0.721311
18
122
4.611111
0.555556
0.433735
0
0
0
0
0
0
0
0
0
0.056075
0.122951
122
3
73
40.666667
0.719626
0
0
0
0
0
0.221311
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
7fef8f3f2583b5a3f066f61668b9f06dc60078aa
4,636
py
Python
jolly-jellyfish/src/page_maker/migrations/0001_initial.py
Vthechamp22/summer-code-jam-2021
0a8bf1f22f6c73300891fd779da36efd8e1304c1
[ "MIT" ]
40
2020-08-02T07:38:22.000Z
2021-07-26T01:46:50.000Z
jolly-jellyfish/src/page_maker/migrations/0001_initial.py
Vthechamp22/summer-code-jam-2021
0a8bf1f22f6c73300891fd779da36efd8e1304c1
[ "MIT" ]
134
2020-07-31T12:15:45.000Z
2020-12-13T04:42:19.000Z
jolly-jellyfish/src/page_maker/migrations/0001_initial.py
Artemis21/summer-code-jam-2020
1323288cb1e75b3aa4141c2c6e378f9219cf73d0
[ "MIT" ]
101
2020-07-31T12:00:47.000Z
2021-11-01T09:06:58.000Z
# Generated by Django 3.1 on 2020-08-09 15:20 import datetime import django.core.validators import django.utils.timezone import page_maker.models from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ migrati...
63.506849
263
0.666523
523
4,636
5.690249
0.217973
0.048051
0.042339
0.056452
0.700941
0.700941
0.655914
0.655914
0.640457
0.620632
0
0.012668
0.199741
4,636
72
264
64.388889
0.789488
0.009275
0
0.515625
1
0
0.140928
0.013069
0
0
0
0
0
1
0
false
0
0.09375
0
0.15625
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3d162ce36fcb48e1a71c4c9c6587204530046bda
95
py
Python
lanksi/accounts/apps.py
lanceris/lanksi
166f1ac5ee72cddd612179985b3ad73d29f7c544
[ "MIT" ]
null
null
null
lanksi/accounts/apps.py
lanceris/lanksi
166f1ac5ee72cddd612179985b3ad73d29f7c544
[ "MIT" ]
1
2021-06-10T19:54:48.000Z
2021-06-10T19:54:48.000Z
lanksi/accounts/apps.py
lanceris/lanksi
166f1ac5ee72cddd612179985b3ad73d29f7c544
[ "MIT" ]
null
null
null
from django.apps import AppConfig class BankAccountsConfig(AppConfig): name = 'accounts'
15.833333
36
0.768421
10
95
7.3
0.9
0
0
0
0
0
0
0
0
0
0
0
0.157895
95
5
37
19
0.9125
0
0
0
0
0
0.084211
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
3d2abbb41a5977de80bf7348a03b276c286cfa2b
429
py
Python
app/utils/enums.py
Maxcutex/personal_ecommerce
be09fb20eae1b225523acde06f8e75effcc3676f
[ "MIT" ]
null
null
null
app/utils/enums.py
Maxcutex/personal_ecommerce
be09fb20eae1b225523acde06f8e75effcc3676f
[ "MIT" ]
2
2019-05-21T08:44:29.000Z
2021-04-30T20:46:08.000Z
app/utils/enums.py
Maxcutex/personal_ecommerce
be09fb20eae1b225523acde06f8e75effcc3676f
[ "MIT" ]
null
null
null
import enum class Channels(str, enum.Enum): web = "web" slack = "slack" mobile = "mobile" @classmethod def has_value(cls, value): return any(value == item.value for item in cls) class OrderStatus(str, enum.Enum): booked = "booked" collected = "collected" cancelled = "cancelle...
19.5
55
0.62704
54
429
4.944444
0.407407
0.052434
0.082397
0.164794
0.486891
0.486891
0.486891
0.486891
0.486891
0.486891
0
0
0.261072
429
21
56
20.428571
0.842271
0
0
0.4
0
0
0.088785
0
0
0
0
0
0
1
0.133333
false
0
0.066667
0.133333
0.866667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
3d358b113eb7a8f6992d656a45e4f259b8ee071c
1,261
py
Python
model/user.py
andyzt/convai_router_bot
a5cdbf3e635e3bd57571a918d5611c18876bad1d
[ "Apache-2.0" ]
3
2019-02-21T04:39:58.000Z
2019-11-16T16:23:47.000Z
model/user.py
andyzt/convai_router_bot
a5cdbf3e635e3bd57571a918d5611c18876bad1d
[ "Apache-2.0" ]
3
2021-06-08T20:12:27.000Z
2022-03-11T23:56:15.000Z
model/user.py
andyzt/convai_router_bot
a5cdbf3e635e3bd57571a918d5611c18876bad1d
[ "Apache-2.0" ]
3
2019-03-11T13:37:18.000Z
2019-12-09T13:53:33.000Z
from mongoengine import EmbeddedDocument, StringField, DynamicDocument, BooleanField, EmbeddedDocumentField, ReferenceField from .bot import Bot class UserPK(EmbeddedDocument): """Pair of platform and user id within this platform, that is used to uniquely identify the user within our system""" ...
31.525
124
0.689929
140
1,261
5.914286
0.378571
0.036232
0.036232
0.062802
0.096618
0
0
0
0
0
0
0
0.206979
1,261
39
125
32.333333
0.828
0.107058
0
0.173913
0
0
0.111007
0.046642
0
0
0
0
0
1
0.217391
false
0
0.086957
0.217391
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
3d5879df21b5b6d09ecd8d883cc0b25c95bbbb69
159
py
Python
Python/EXERCICIOS/Strings/Desafio024 - Strings.py
ccpn1988/Python
94c84aa6f3ef9d05d64c3d87212dfd67694f4544
[ "MIT" ]
null
null
null
Python/EXERCICIOS/Strings/Desafio024 - Strings.py
ccpn1988/Python
94c84aa6f3ef9d05d64c3d87212dfd67694f4544
[ "MIT" ]
null
null
null
Python/EXERCICIOS/Strings/Desafio024 - Strings.py
ccpn1988/Python
94c84aa6f3ef9d05d64c3d87212dfd67694f4544
[ "MIT" ]
null
null
null
# VALIDAR SE A CIDADE DIGITADA INICIA COM O NOME SANTO: cidade = str(input('Digite a cidade em que nasceu... ')).strip() print(cidade[:5].upper() == 'SANTO')
31.8
64
0.679245
25
159
4.32
0.8
0.12963
0
0
0
0
0
0
0
0
0
0.007407
0.150943
159
4
65
39.75
0.792593
0.333333
0
0
0
0
0.365385
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
3d597d29cb4d653d1dacf89455c47edb197882b1
2,500
py
Python
avaxpython/snow/engine/avalanche/state/serializer.py
jgeofil/avax-python
b09e78e3d7e1c35db5ae42e3918e960e775f2d45
[ "MIT" ]
25
2021-05-16T23:43:47.000Z
2022-03-29T03:08:30.000Z
avaxpython/snow/engine/avalanche/state/serializer.py
zefonseca/ava-python
9c72af7c720edfab9c73379a102cf6a11d864ebd
[ "MIT" ]
2
2021-04-26T11:43:22.000Z
2021-06-04T07:55:22.000Z
avaxpython/snow/engine/avalanche/state/serializer.py
jgeofil/avax-python
b09e78e3d7e1c35db5ae42e3918e960e775f2d45
[ "MIT" ]
4
2021-08-06T10:55:58.000Z
2022-03-29T08:03:05.000Z
# avax-python : Python tools for the exploration of the Avalanche AVAX network. # # Find tutorials and use cases at https://crypto.bi """ Copyright (C) 2021 - crypto.bi Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), t...
33.333333
463
0.714
337
2,500
5.278932
0.498516
0.049466
0.014615
0.026981
0.080944
0.043845
0
0
0
0
0
0.011242
0.2172
2,500
74
464
33.783784
0.897803
0.562
0
0.129032
0
0
0.034355
0
0
0
0
0
0
1
0.258065
false
0.064516
0.064516
0.096774
0.516129
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
e9ff92e8bfe2e7daec20d96d896b698a0d09c270
682
py
Python
tests/unit/corporate_actions/dividend.py
amaas-fintech/amaas-core-sdk-python
bd77884de6e5ab05d864638addeb4bb338a51183
[ "Apache-2.0" ]
null
null
null
tests/unit/corporate_actions/dividend.py
amaas-fintech/amaas-core-sdk-python
bd77884de6e5ab05d864638addeb4bb338a51183
[ "Apache-2.0" ]
8
2017-06-06T09:42:41.000Z
2018-01-16T10:16:16.000Z
tests/unit/corporate_actions/dividend.py
amaas-fintech/amaas-core-sdk-python
bd77884de6e5ab05d864638addeb4bb338a51183
[ "Apache-2.0" ]
8
2017-01-18T04:14:01.000Z
2017-12-01T08:03:10.000Z
from __future__ import absolute_import, division, print_function, unicode_literals from decimal import Decimal import unittest from amaascore.corporate_actions.dividend import Dividend from amaascore.tools.generate_corporate_action import generate_dividend class DividendTest(unittest.TestCase): def setUp(self)...
27.28
82
0.759531
80
682
6.1625
0.5
0.091278
0.068966
0
0
0
0
0
0
0
0
0
0.173021
682
24
83
28.416667
0.874113
0.057185
0
0
0
0
0.012481
0
0
0
0
0
0.0625
1
0.1875
false
0.0625
0.3125
0
0.5625
0.0625
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
18010bf4ab900edcef50aefe393c72e7d78291d5
70
py
Python
mmdet/datasets/samplers/__init__.py
Karybdis/mmdetection-mini
cf255db8037cfeecb7927268d018432f5771ab2e
[ "MIT" ]
834
2020-09-08T08:00:04.000Z
2022-03-29T01:25:55.000Z
mmdet/datasets/samplers/__init__.py
dongdongyee/mmdetection-mini
3858c8c2f071c064fe78ce24088a1c9815ae1a21
[ "MIT" ]
44
2020-09-16T14:21:58.000Z
2022-03-07T04:28:39.000Z
mmdet/datasets/samplers/__init__.py
dongdongyee/mmdetection-mini
3858c8c2f071c064fe78ce24088a1c9815ae1a21
[ "MIT" ]
161
2020-09-10T03:26:35.000Z
2022-03-22T11:25:04.000Z
from .group_sampler import GroupSampler __all__ = ['GroupSampler']
14
40
0.771429
7
70
7
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.142857
70
4
41
17.5
0.816667
0
0
0
0
0
0.173913
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
1835a9c816312411bd553d8cdf88d23cfe08046d
179
py
Python
djexperience/core/urls.py
rg3915/django-experience-2016
76adaa55c537f3b9fa48b601d4a97fd6e04371c0
[ "MIT" ]
1
2022-01-01T22:19:49.000Z
2022-01-01T22:19:49.000Z
djexperience/core/urls.py
rg3915/django-experience-2016
76adaa55c537f3b9fa48b601d4a97fd6e04371c0
[ "MIT" ]
null
null
null
djexperience/core/urls.py
rg3915/django-experience-2016
76adaa55c537f3b9fa48b601d4a97fd6e04371c0
[ "MIT" ]
null
null
null
from django.conf.urls import url from djexperience.core.views import home, about urlpatterns = [ url(r'^$', home, name='home'), url(r'^about/$', about, name='about'), ]
19.888889
47
0.653631
25
179
4.68
0.56
0.068376
0
0
0
0
0
0
0
0
0
0
0.162011
179
8
48
22.375
0.78
0
0
0
0
0
0.106145
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
184241cb36d4525ea0f3b050b203f1261a9aef2e
332
py
Python
boboleetcode/Play-Leetcode-master/0896-Monotonic-Array/py-0896/Solution3.py
yaominzh/CodeLrn2019
adc727d92904c5c5d445a2621813dfa99474206d
[ "Apache-2.0" ]
2
2021-03-25T05:26:55.000Z
2021-04-20T03:33:24.000Z
boboleetcode/Play-Leetcode-master/0896-Monotonic-Array/py-0896/Solution3.py
mcuallen/CodeLrn2019
adc727d92904c5c5d445a2621813dfa99474206d
[ "Apache-2.0" ]
6
2019-12-04T06:08:32.000Z
2021-05-10T20:22:47.000Z
boboleetcode/Play-Leetcode-master/0896-Monotonic-Array/py-0896/Solution3.py
mcuallen/CodeLrn2019
adc727d92904c5c5d445a2621813dfa99474206d
[ "Apache-2.0" ]
null
null
null
# Source : https://leetcode.com/problems/monotonic-array/ # Author : penpenps # Time : 2019-07-29 from typing import List # One-line solution # Time Complexity: O(n) # Space Complexity: O(1) class Solution: def isMonotonic(self, A: List[int]) -> bool: return not {(x>y) - (y>x) for x, y in zip(A, A[1:])...
25.538462
71
0.629518
53
332
3.943396
0.735849
0.105263
0
0
0
0
0
0
0
0
0
0.044944
0.195783
332
13
71
25.538462
0.737828
0.46988
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0.25
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
1846176713b21e215ded775ca0c2c12eaac86906
149
py
Python
Interview_Questions/palindrome_permutation.py
Mosuswalks/Python-Data-Structures
0f430941ecf1495b6536b89e1678fdaeed9879cb
[ "Apache-2.0" ]
null
null
null
Interview_Questions/palindrome_permutation.py
Mosuswalks/Python-Data-Structures
0f430941ecf1495b6536b89e1678fdaeed9879cb
[ "Apache-2.0" ]
null
null
null
Interview_Questions/palindrome_permutation.py
Mosuswalks/Python-Data-Structures
0f430941ecf1495b6536b89e1678fdaeed9879cb
[ "Apache-2.0" ]
null
null
null
# Question 1.4: # Given a string, write a function to check if it is a permutation of a palindrome. # # def palin_permu(string: str) -> bool:
18.625
83
0.677852
25
149
4
0.84
0
0
0
0
0
0
0
0
0
0
0.017391
0.228188
149
7
84
21.285714
0.852174
0.637584
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
3
185bdb428bce09809f7334c5e09bc0f2b8d66692
952
py
Python
AER_experimentalist/experiment_environment/tinkerforge_variable.py
musslick/DARTS-Cognitive-Modeling
f38e7e34f6f20c1626458de62503e8670e06be7c
[ "MIT" ]
null
null
null
AER_experimentalist/experiment_environment/tinkerforge_variable.py
musslick/DARTS-Cognitive-Modeling
f38e7e34f6f20c1626458de62503e8670e06be7c
[ "MIT" ]
null
null
null
AER_experimentalist/experiment_environment/tinkerforge_variable.py
musslick/DARTS-Cognitive-Modeling
f38e7e34f6f20c1626458de62503e8670e06be7c
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod import numpy as np from AER_experimentalist.experiment_environment.variable import Variable class Tinkerforge_Variable(Variable): _variable_label = "" _UID = "" _priority = 0 def __init__(self, variable_label="", UID="", name="", units="", priority="", value_range=...
31.733333
115
0.704832
121
952
5.247934
0.38843
0.08189
0.050394
0.066142
0.302362
0.302362
0.302362
0.302362
0.302362
0.302362
0
0.003984
0.209034
952
30
116
31.733333
0.839309
0.244748
0
0.117647
0
0
0
0
0
0
0
0
0
1
0.235294
false
0.058824
0.176471
0.058824
0.705882
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
186025395b4bb1e3998d44116d41c22408e47f4b
407
py
Python
main.py
technokowski/snowbot3000
5a963ac283e4099636212cf3099ba3a19d977796
[ "MIT" ]
null
null
null
main.py
technokowski/snowbot3000
5a963ac283e4099636212cf3099ba3a19d977796
[ "MIT" ]
2
2020-06-05T20:50:57.000Z
2021-06-10T21:28:36.000Z
main.py
technokowski/snowbot3000
5a963ac283e4099636212cf3099ba3a19d977796
[ "MIT" ]
null
null
null
from speaker import Speaker # This is just to test my custom class from speaker # I keep it because it's a milestone for me my_speak = Speaker() my_speak.speak('f yeah') my_speak.speak('I love this') my_speak.change_rate('175') my_speak.speak('f yeah') my_speak.speak('I love this') my_speak.change_voice('Fred') ...
18.5
51
0.734644
77
407
3.727273
0.415584
0.243902
0.292683
0.181185
0.512195
0.512195
0.512195
0.512195
0.512195
0.512195
0
0.008547
0.137592
407
21
52
19.380952
0.809117
0.223587
0
0.545455
0
0
0.223642
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
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
187ac4e568baedbea49c1b37817d1dea2b2a7478
232
py
Python
Custom/__init__.py
Grim-es/udon-pie-auto-completion
c2cd86554ed615cdbbb01e19fa40665eafdfaedc
[ "MIT" ]
null
null
null
Custom/__init__.py
Grim-es/udon-pie-auto-completion
c2cd86554ed615cdbbb01e19fa40665eafdfaedc
[ "MIT" ]
null
null
null
Custom/__init__.py
Grim-es/udon-pie-auto-completion
c2cd86554ed615cdbbb01e19fa40665eafdfaedc
[ "MIT" ]
null
null
null
from UdonPie import GameObject from UdonPie import Transform this_trans = Transform() this_gameObj = GameObject() Void = None def instantiate(arg1): ''' :param arg1: GameObject :type arg1: GameObject ''' pass
15.466667
30
0.693966
26
232
6.115385
0.615385
0.138365
0.213836
0
0
0
0
0
0
0
0
0.016575
0.219828
232
14
31
16.571429
0.861878
0.198276
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0.142857
0.285714
0
0.428571
0
1
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
1
0
0
0
0
0
3
43ec984c6b8b39f3e6fe9bff67ad5f06c0e4118a
397
py
Python
test/test_cassandra.py
claytonbrown/simhash-db-py
f9feca5b09cf094c65548c53ad596ab07cf41639
[ "MIT" ]
51
2015-01-12T02:10:29.000Z
2021-09-25T08:51:37.000Z
test/test_cassandra.py
claytonbrown/simhash-db-py
f9feca5b09cf094c65548c53ad596ab07cf41639
[ "MIT" ]
5
2015-01-15T15:42:37.000Z
2018-02-18T06:46:51.000Z
test/test_cassandra.py
claytonbrown/simhash-db-py
f9feca5b09cf094c65548c53ad596ab07cf41639
[ "MIT" ]
21
2015-05-01T15:06:39.000Z
2021-07-29T01:12:37.000Z
#! /usr/bin/env python '''Make sure the Cassandra client is sane''' import unittest from test import BaseTest from simhash_db import Client class CassandraTest(BaseTest, unittest.TestCase): '''Test the Cassandra client''' def make_client(self, name, num_blocks, num_bits): return Client('cassandra', ...
22.055556
62
0.720403
53
397
5.132075
0.566038
0.088235
0.132353
0.117647
0.147059
0
0
0
0
0
0
0
0.171285
397
17
63
23.352941
0.826748
0.216625
0
0
0
0
0.056667
0
0
0
0
0
0
1
0.125
false
0
0.375
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
0
0
0
1
1
1
0
0
3
43f90a7908973760adbb7426b09452f253e80ce9
185
py
Python
lambda-sqs-cdk/app.py
iobreaker/serverless-patterns
58991f19f6566637c336471a37ba7def49e8a9ad
[ "MIT-0" ]
2
2022-03-10T18:21:11.000Z
2022-03-15T11:08:39.000Z
lambda-sqs-cdk/app.py
iobreaker/serverless-patterns
58991f19f6566637c336471a37ba7def49e8a9ad
[ "MIT-0" ]
null
null
null
lambda-sqs-cdk/app.py
iobreaker/serverless-patterns
58991f19f6566637c336471a37ba7def49e8a9ad
[ "MIT-0" ]
null
null
null
#!/usr/bin/env python3 from aws_cdk import App from lambda_sqs_cdk.lambda_sqs_cdk_stack import LambdaSqsCdkStack app = App() LambdaSqsCdkStack(app, "LambdaSqsCdkStack") app.synth()
16.818182
65
0.8
26
185
5.461538
0.538462
0.422535
0.169014
0
0
0
0
0
0
0
0
0.006061
0.108108
185
10
66
18.5
0.854545
0.113514
0
0
0
0
0.104294
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
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
0
1
0
0
0
0
3
43fa48471bc89c5b89ae6b3e12e78d3b5ae5ad90
123
py
Python
nodejs-scrapper/cron_config_example.py
MichalSkoula/pi-dashboard-2
054b52f366ee20c2721b471b5f188e3063ee73ea
[ "MIT" ]
null
null
null
nodejs-scrapper/cron_config_example.py
MichalSkoula/pi-dashboard-2
054b52f366ee20c2721b471b5f188e3063ee73ea
[ "MIT" ]
null
null
null
nodejs-scrapper/cron_config_example.py
MichalSkoula/pi-dashboard-2
054b52f366ee20c2721b471b5f188e3063ee73ea
[ "MIT" ]
null
null
null
local_webserver = '/var/www/html' ssh = dict( host = '', username = '', password = '', remote_path = '' )
13.666667
33
0.512195
12
123
5.083333
1
0
0
0
0
0
0
0
0
0
0
0
0.292683
123
8
34
15.375
0.701149
0
0
0
0
0
0.105691
0
0
0
0
0
0
1
0
false
0.142857
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
a1280275f24d2fb6f2b13abc0332fffef382dbf0
391
py
Python
bestmoments/admin.py
randomowo/randomowo.ru
f00ddd1e6bfcd9cb30d2f164a4f2c0188e42f8f1
[ "MIT" ]
null
null
null
bestmoments/admin.py
randomowo/randomowo.ru
f00ddd1e6bfcd9cb30d2f164a4f2c0188e42f8f1
[ "MIT" ]
null
null
null
bestmoments/admin.py
randomowo/randomowo.ru
f00ddd1e6bfcd9cb30d2f164a4f2c0188e42f8f1
[ "MIT" ]
null
null
null
""" """ from django.contrib import admin from bestmoments.models import BestImage from bestmoments.models import WebmVideo class BestImageAdmin(admin.ModelAdmin): """ """ list_display = ["image"] class WebmVideoAdmin(admin.ModelAdmin): """ """ list_display = ["video"] admin.site.register(Bes...
19.55
46
0.721228
39
391
7.179487
0.487179
0.107143
0.15
0.192857
0
0
0
0
0
0
0
0
0.153453
391
19
47
20.578947
0.845921
0
0
0
0
0
0.027624
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.777778
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
a157457512e221d442d0f3fff8b98fd81b570965
49
py
Python
models/system_model_v3/sim_params.py
trangnv/geb-simulations-h20
df86e1ad1ff8e98cf2c3f6025d1626d260a3b125
[ "MIT" ]
7
2021-08-31T13:11:51.000Z
2022-02-10T09:05:16.000Z
models/system_model_v3/sim_params.py
trangnv/geb-simulations-h20
df86e1ad1ff8e98cf2c3f6025d1626d260a3b125
[ "MIT" ]
null
null
null
models/system_model_v3/sim_params.py
trangnv/geb-simulations-h20
df86e1ad1ff8e98cf2c3f6025d1626d260a3b125
[ "MIT" ]
8
2021-09-03T08:29:09.000Z
2021-12-04T04:20:49.000Z
SIMULATION_TIME_STEPS = 100 MONTE_CARLO_RUNS = 1
16.333333
27
0.836735
8
49
4.625
1
0
0
0
0
0
0
0
0
0
0
0.093023
0.122449
49
2
28
24.5
0.767442
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
a190ffa6c0020173d035c929c986626b78322d16
192
py
Python
cheap_orchestra/__init__.py
fpftech/cheap_orchestra
d90e5055ce334ccd3a059c1ab4012f679ab13086
[ "MIT" ]
null
null
null
cheap_orchestra/__init__.py
fpftech/cheap_orchestra
d90e5055ce334ccd3a059c1ab4012f679ab13086
[ "MIT" ]
null
null
null
cheap_orchestra/__init__.py
fpftech/cheap_orchestra
d90e5055ce334ccd3a059c1ab4012f679ab13086
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from .cheap_orchestra import * """Top-level package for Cheap Orchestra.""" __author__ = """André Portela""" __email__ = 'portela.eng@gmail.com' __version__ = '0.1.0'
24
44
0.677083
25
192
4.68
0.84
0.239316
0
0
0
0
0
0
0
0
0
0.023952
0.130208
192
7
45
27.428571
0.676647
0.109375
0
0
0
0
0.312
0.168
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
a1b344bdb3fe8489610bc87e8c8273deccc78742
169
py
Python
test/test_samples/unittest/test_invalid_import_failed.py
bergkvist/vscode-python-test-adapter
6abf2bd416b1f6c96c4dad98a0cdd9a0514788db
[ "MIT" ]
96
2018-10-23T20:49:30.000Z
2022-03-17T04:37:51.000Z
test/test_samples/unittest/test_invalid_import_failed.py
bergkvist/vscode-python-test-adapter
6abf2bd416b1f6c96c4dad98a0cdd9a0514788db
[ "MIT" ]
169
2018-09-07T21:15:07.000Z
2022-03-19T06:24:51.000Z
test/test_samples/unittest/test_invalid_import_failed.py
bergkvist/vscode-python-test-adapter
6abf2bd416b1f6c96c4dad98a0cdd9a0514788db
[ "MIT" ]
25
2018-09-14T15:02:34.000Z
2022-02-07T18:53:19.000Z
import unittest import some_non_existing_module class InvalidImportTests(unittest.TestCase): def test_with_invalid_import(self): self.assertEqual(3, 2 + 1)
24.142857
44
0.781065
22
169
5.727273
0.818182
0
0
0
0
0
0
0
0
0
0
0.020833
0.147929
169
6
45
28.166667
0.854167
0
0
0
0
0
0
0
0
0
0
0
0.2
1
0.2
false
0
0.8
0
1.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
0
0
1
0
0
0
0
3
a1de90589738f3678673bbfa0414d73f2f1c6c44
1,702
py
Python
Libraries/Python/CommonEnvironment/v1.0/CommonEnvironment/TypeInfo/FundamentalTypes/UnitTests/TimeTypeInfo_UnitTest.py
davidbrownell/v3-Common_Environment
8f42f256e573cbd83cbf9813db9958025ddf12f2
[ "BSL-1.0" ]
null
null
null
Libraries/Python/CommonEnvironment/v1.0/CommonEnvironment/TypeInfo/FundamentalTypes/UnitTests/TimeTypeInfo_UnitTest.py
davidbrownell/v3-Common_Environment
8f42f256e573cbd83cbf9813db9958025ddf12f2
[ "BSL-1.0" ]
1
2018-06-08T06:45:16.000Z
2018-06-08T06:45:16.000Z
Libraries/Python/CommonEnvironment/v1.0/CommonEnvironment/TypeInfo/FundamentalTypes/UnitTests/TimeTypeInfo_UnitTest.py
davidbrownell/v3-Common_Environment
8f42f256e573cbd83cbf9813db9958025ddf12f2
[ "BSL-1.0" ]
1
2018-06-08T04:15:17.000Z
2018-06-08T04:15:17.000Z
# ---------------------------------------------------------------------- # | # | TimeTypeInfo_UnitTest.py # | # | David Brownell <db@DavidBrownell.com> # | 2018-04-23 12:14:14 # | # ---------------------------------------------------------------------- # | # | Copyright David Brownell 2018-22. ...
38.681818
93
0.432432
117
1,702
6.102564
0.615385
0.008403
0.113445
0.033613
0
0
0
0
0
0
0
0.018206
0.128672
1,702
43
94
39.581395
0.46325
0.573443
0
0
0
0
0.018237
0
0
0
0
0
0.1875
1
0.0625
false
0.0625
0.375
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
3
a1ed5c7f92c6084c40feb28b8a93081e052d92dd
1,326
py
Python
src/services/package_service.py
c-w-m/mongo-quickstart
dc61993a07bfbdeb1e36c47dfbc210fe9177ed8e
[ "MIT" ]
26
2018-01-30T16:36:02.000Z
2020-07-05T02:33:44.000Z
src/services/package_service.py
c-w-m/mongo-quickstart
dc61993a07bfbdeb1e36c47dfbc210fe9177ed8e
[ "MIT" ]
null
null
null
src/services/package_service.py
c-w-m/mongo-quickstart
dc61993a07bfbdeb1e36c47dfbc210fe9177ed8e
[ "MIT" ]
23
2018-02-04T18:34:43.000Z
2021-03-29T13:09:46.000Z
from typing import Optional, List from data.downloads import Download from data.packages import Package from data.release_history import ReleaseHistory from data.users import User class PackageService: @classmethod def package_count(cls): return Package.objects().count() @classmethod def rel...
25.5
74
0.653092
142
1,326
5.978873
0.260563
0.13192
0.06596
0.122497
0
0
0
0
0
0
0
0
0.24736
1,326
51
75
26
0.850701
0
0
0.205128
0
0
0.0181
0
0
0
0
0
0
1
0.205128
false
0
0.128205
0.102564
0.564103
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
a1f397ac7ec0039362de4ff39f6ab448a18b2766
173
py
Python
tests/__init__.py
cia05rf/async-scrape
af0ecfd345ce8f34c07317b8681008e6caa114ad
[ "MIT" ]
null
null
null
tests/__init__.py
cia05rf/async-scrape
af0ecfd345ce8f34c07317b8681008e6caa114ad
[ "MIT" ]
null
null
null
tests/__init__.py
cia05rf/async-scrape
af0ecfd345ce8f34c07317b8681008e6caa114ad
[ "MIT" ]
null
null
null
import os import json #Create env variables with open("env.json", "r") as f: envs = json.loads(f.read()) for env, var in envs.items(): os.environ[env] = var
21.625
33
0.624277
29
173
3.724138
0.655172
0.111111
0
0
0
0
0
0
0
0
0
0
0.225434
173
8
34
21.625
0.80597
0.115607
0
0
0
0
0.058824
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
a1f94a700a0c5a8a3ab601f7a389f86b3d47bec5
1,657
py
Python
tests/flat_param_test.py
roypeters/spotlight
f23818cf7b49aa7a31200c1945ebc2d91656156e
[ "MIT" ]
9
2019-03-26T13:21:16.000Z
2021-03-21T08:55:49.000Z
tests/flat_param_test.py
roypeters/spotlight
f23818cf7b49aa7a31200c1945ebc2d91656156e
[ "MIT" ]
7
2019-03-28T17:32:03.000Z
2021-09-24T13:17:32.000Z
tests/flat_param_test.py
roypeters/spotlight
f23818cf7b49aa7a31200c1945ebc2d91656156e
[ "MIT" ]
4
2019-03-30T13:28:22.000Z
2020-06-15T13:15:44.000Z
from .validator_test import ValidatorTest class FlatParamTest(ValidatorTest): def setUp(self): self.rules = { "email": "email|max:4", "password": "min:8", "nested1.field": "min:5", "nested2.*": "min:5", "nested3.*.field": "min:5", "ne...
39.452381
82
0.578757
192
1,657
4.916667
0.25
0.190678
0.190678
0.254237
0.467161
0.350636
0.320975
0.127119
0.127119
0.127119
0
0.026963
0.238986
1,657
41
83
40.414634
0.721649
0
0
0
0
0
0.202173
0.015088
0
0
0
0
0.342857
1
0.085714
false
0.085714
0.028571
0
0.142857
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
1
0
0
0
0
0
3
b8127b149e6c9d8df79306d96492b32940fd20ed
5,969
py
Python
src/python/m5/util/smartdict.py
mandaltj/gem5_chips
b9c0c602241ffda7851c1afb32fa01f295bb98fd
[ "BSD-3-Clause" ]
17
2019-02-05T03:44:40.000Z
2022-03-31T07:34:08.000Z
src/python/m5/util/smartdict.py
mandaltj/gem5_chips
b9c0c602241ffda7851c1afb32fa01f295bb98fd
[ "BSD-3-Clause" ]
null
null
null
src/python/m5/util/smartdict.py
mandaltj/gem5_chips
b9c0c602241ffda7851c1afb32fa01f295bb98fd
[ "BSD-3-Clause" ]
12
2019-03-15T06:29:25.000Z
2022-02-01T19:37:31.000Z
# Copyright (c) 2005 The Regents of The University of Michigan # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: redistributions of source code must retain the above copyright # notice, this list ...
38.509677
76
0.68839
806
5,969
4.919355
0.342432
0.038588
0.06053
0.052711
0.252963
0.240858
0.231274
0.203531
0.05599
0.05599
0
0.002848
0.235215
5,969
154
77
38.75974
0.865717
0.518345
0
0.102564
0
0
0.006872
0
0
0
0
0
0
1
0.358974
false
0
0.025641
0.294872
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
629a01411a9780de6064c2b625bf3cac4f11d0c3
113
py
Python
backend/urls.py
ranwise/djangochannel
9c719d292b5c1d0fd008a16a64509a309bdd642e
[ "BSD-3-Clause" ]
45
2019-10-04T10:12:54.000Z
2022-03-29T18:12:34.000Z
backend/urls.py
ranwise/djangochannel
9c719d292b5c1d0fd008a16a64509a309bdd642e
[ "BSD-3-Clause" ]
6
2019-10-09T07:37:14.000Z
2022-01-27T16:41:16.000Z
backend/urls.py
ranwise/djangochannel
9c719d292b5c1d0fd008a16a64509a309bdd642e
[ "BSD-3-Clause" ]
35
2019-10-04T10:18:48.000Z
2022-01-14T22:40:38.000Z
from django.urls import path, include urlpatterns = [ # API path('', include('backend.api.v2.urls')), ]
16.142857
45
0.637168
14
113
5.142857
0.714286
0.305556
0
0
0
0
0
0
0
0
0
0.010989
0.19469
113
6
46
18.833333
0.78022
0.026549
0
0
0
0
0.175926
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
62a95c41489c547a9811bead890043358efeb5ca
254
py
Python
src/561.py
kkspeed/LeetCode
c39685c47d138d0be549cfadc5753c02daabe90e
[ "MIT" ]
null
null
null
src/561.py
kkspeed/LeetCode
c39685c47d138d0be549cfadc5753c02daabe90e
[ "MIT" ]
null
null
null
src/561.py
kkspeed/LeetCode
c39685c47d138d0be549cfadc5753c02daabe90e
[ "MIT" ]
null
null
null
""" LeetCode #561: https://leetcode.com/problems/array-partition-i/description/ """ class Solution(object): def arrayPairSum(self, nums): """ :type nums: List[int] :rtype: int """ return sum(sorted(nums)[::2])
21.166667
60
0.574803
28
254
5.214286
0.857143
0
0
0
0
0
0
0
0
0
0
0.020942
0.248032
254
11
61
23.090909
0.743456
0.429134
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
62acee89ce6539acaf73a5e87e295002f39f8b7d
506
py
Python
class3_exercise1.py
nokn0k/Net_AutomationScripts
06664d984c5be64a7fe080009b09c4fcaa6ec210
[ "Apache-2.0" ]
null
null
null
class3_exercise1.py
nokn0k/Net_AutomationScripts
06664d984c5be64a7fe080009b09c4fcaa6ec210
[ "Apache-2.0" ]
null
null
null
class3_exercise1.py
nokn0k/Net_AutomationScripts
06664d984c5be64a7fe080009b09c4fcaa6ec210
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 ARP = [ {'mac_addr': '0062.ec29.70fe', 'ip_addr': '10.220.88.1', 'interface': 'gi0/0/0'}, {'mac_addr': 'c89c.1dea.0eb6', 'ip_addr': '10.220.88.20', 'interface': 'gi0/0/0'}, {'mac_addr': 'a093.5141.b780', 'ip_addr': '10.220.88.22', 'interface': 'gi0/0/0'}, {'mac_addr': '0001.00ff.0001', 'ip_addr...
31.625
82
0.598814
92
506
3.184783
0.391304
0.119454
0.136519
0.187713
0.56314
0.430034
0.143345
0
0
0
0
0.224891
0.094862
506
15
83
33.733333
0.414847
0.041502
0
0
0
0
0.587992
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
0
0
0
null
0
0
1
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
62c1a718de84c7ae9e7878c8380a11f67141222a
1,561
py
Python
pfxbrick/pfxexceptions.py
fx-bricks/pfx-brick-py
dacd3c04fcbbecef7a6a5d9603ed8cf9a2eb3469
[ "MIT" ]
11
2018-04-26T22:53:44.000Z
2022-02-14T13:44:27.000Z
pfxbrick/pfxexceptions.py
fx-bricks/pfx-brick-py
dacd3c04fcbbecef7a6a5d9603ed8cf9a2eb3469
[ "MIT" ]
3
2021-01-14T18:48:48.000Z
2022-02-16T04:06:06.000Z
pfxbrick/pfxexceptions.py
fx-bricks/pfx-brick-py
dacd3c04fcbbecef7a6a5d9603ed8cf9a2eb3469
[ "MIT" ]
2
2018-05-20T11:30:53.000Z
2022-02-15T06:42:37.000Z
#! /usr/bin/env python3 # # Copyright (C) 2021 Fx Bricks Inc. # This file is part of the pfxbrick python module. # Permission is hereby granted, free of charge, to any person # obtaining a copy of this software and associated documentation # files (the "Software"), to deal in the Software without restriction, # includ...
31.22
75
0.777066
216
1,561
5.615741
0.555556
0.072547
0.059357
0
0
0
0
0
0
0
0
0.003858
0.169763
1,561
49
76
31.857143
0.932099
0.735426
0
0.357143
0
0
0
0
0
0
0
0
0
1
0
true
0.357143
0.285714
0
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
1
0
0
3
1a20e3032a2fcab17de308f00eb66876f7bad3b9
368
py
Python
app/repositories/student_event_repo.py
jattoabdul/vanhack-cms
ab2cb054e35765531833afd98051027d891baf10
[ "MIT" ]
null
null
null
app/repositories/student_event_repo.py
jattoabdul/vanhack-cms
ab2cb054e35765531833afd98051027d891baf10
[ "MIT" ]
null
null
null
app/repositories/student_event_repo.py
jattoabdul/vanhack-cms
ab2cb054e35765531833afd98051027d891baf10
[ "MIT" ]
null
null
null
from app.repositories.base_repo import BaseRepo from app.models.student_event import StudentEvent class StudentEventRepo(BaseRepo): def __init__(self): BaseRepo.__init__(self, StudentEvent) def new_student_event(self, event_id, student_id): student_event = StudentEvent(event_id=event_id, student_id=student_id...
28.307692
72
0.817935
50
368
5.6
0.4
0.214286
0.117857
0.192857
0.232143
0
0
0
0
0
0
0
0.105978
368
12
73
30.666667
0.851064
0
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0
0.666667
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
1a2dc7b66236813afd480fd169c473ed81432872
2,992
py
Python
src/web/browser.py
thirdshelf/qa-kom-framework
c04d05d4ef1aad580a0a1aeab601a3d0b2b5dbbb
[ "Apache-2.0" ]
null
null
null
src/web/browser.py
thirdshelf/qa-kom-framework
c04d05d4ef1aad580a0a1aeab601a3d0b2b5dbbb
[ "Apache-2.0" ]
1
2021-09-24T12:40:58.000Z
2021-10-04T12:42:14.000Z
src/web/browser.py
thirdshelf/qa-kom-framework
c04d05d4ef1aad580a0a1aeab601a3d0b2b5dbbb
[ "Apache-2.0" ]
null
null
null
from abc import ABC from selenium.webdriver import ActionChains from selenium.webdriver.common.alert import Alert from selenium.webdriver.remote.switch_to import SwitchTo from selenium.webdriver.remote.webelement import WebElement from ..drivers.driver_manager import DriverManager from ..general import Log from ..mix...
29.333333
71
0.635027
356
2,992
5.115169
0.264045
0.079077
0.107084
0.031301
0.072488
0
0
0
0
0
0
0.000454
0.263369
2,992
101
72
29.623762
0.825771
0
0
0.088608
0
0
0.029746
0
0
0
0
0
0
1
0.227848
false
0.012658
0.126582
0.113924
0.506329
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
c521015dd2683bc4d76079cc86d438d20cbf80f2
1,598
py
Python
Gds/src/fprime_gds/wxgui/tools/PexpectRunnerConsolImpl.py
chrisdonlan/fprime
0cab90e238cff1b50c20f1e148a44cf8827a5bf8
[ "Apache-2.0" ]
5
2019-10-22T03:41:02.000Z
2022-01-16T12:48:31.000Z
Gds/src/fprime_gds/wxgui/tools/PexpectRunnerConsolImpl.py
chrisdonlan/fprime
0cab90e238cff1b50c20f1e148a44cf8827a5bf8
[ "Apache-2.0" ]
27
2019-02-07T17:58:58.000Z
2019-08-13T00:46:24.000Z
Gds/src/fprime_gds/wxgui/tools/PexpectRunnerConsolImpl.py
chrisdonlan/fprime
0cab90e238cff1b50c20f1e148a44cf8827a5bf8
[ "Apache-2.0" ]
3
2020-09-05T18:17:21.000Z
2020-11-15T04:06:24.000Z
# -*- coding: utf-8 -*- import wx import PexpectRunnerConsolGUI ########################################################################### ## Class PexpectRunnerImp ########################################################################### class PexpectRunnerImpl ( PexpectRunnerConsolGUI.PexpectRunnerGUI ): def...
38.97561
152
0.680225
185
1,598
5.794595
0.443243
0.201493
0.064366
0.095149
0.351679
0.203358
0.097015
0
0
0
0
0.000723
0.133917
1,598
40
153
39.95
0.773844
0.251564
0
0.166667
0
0
0.030888
0
0
0
0
0.025
0
1
0.208333
false
0.041667
0.083333
0
0.333333
0.208333
0
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
1
0
0
1
0
0
0
0
0
0
0
3
c52209f52aeaa6fadbb768979e22f765f8b5f220
575
py
Python
classroom/reward_learner.py
norabelrose/whisper
79642bab696f3e166b6af61a447602e8e5d58270
[ "MIT" ]
null
null
null
classroom/reward_learner.py
norabelrose/whisper
79642bab696f3e166b6af61a447602e8e5d58270
[ "MIT" ]
null
null
null
classroom/reward_learner.py
norabelrose/whisper
79642bab696f3e166b6af61a447602e8e5d58270
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod from numpy.typing import ArrayLike from typing import SupportsFloat class RewardLearner(ABC): """ Abstract class for reward models. """ @abstractmethod def predict_reward(self, state, action, next_state) -> SupportsFloat: """ Predict the reward f...
28.75
82
0.66087
67
575
5.61194
0.447761
0.117021
0.119681
0.159574
0.12766
0
0
0
0
0
0
0
0.252174
575
20
83
28.75
0.874419
0.29913
0
0.25
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.375
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
0
1
0
1
0
0
3
c5520351e43e93132d8188fbb38bf988a5bd0a3b
383
py
Python
python/aop/proxy.py
Soontao/snippets
9f9460b2f887b1b2f9af2beeb102fbfb70e72c52
[ "MIT" ]
null
null
null
python/aop/proxy.py
Soontao/snippets
9f9460b2f887b1b2f9af2beeb102fbfb70e72c52
[ "MIT" ]
null
null
null
python/aop/proxy.py
Soontao/snippets
9f9460b2f887b1b2f9af2beeb102fbfb70e72c52
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import inspect import datetime # 默认处理 def defaultHandler(func,*args,**kwargs): print("function %s has been invoked "%func.__name__) result = func(*args,**kwargs) return result # 获取代理 def getProxy(func,handler=defaultHandler): def proxy(*args, **kwargs): result = handler...
20.157895
56
0.657963
46
383
5.391304
0.543478
0.16129
0.169355
0.16129
0.209677
0
0
0
0
0
0
0.003279
0.203655
383
18
57
21.277778
0.809836
0.08094
0
0.181818
0
0
0.083815
0
0
0
0
0
0
1
0.272727
false
0
0.181818
0
0.727273
0.090909
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
c55e2df9a0ff70dad14279e734c8d7e0a06c52a0
1,101
py
Python
app/controllers/cards_controller.py
AndreiBarbuOz/uibank-api-server
4a07c2773507ac61fb1c56bf44df4819e6a0015d
[ "MIT" ]
null
null
null
app/controllers/cards_controller.py
AndreiBarbuOz/uibank-api-server
4a07c2773507ac61fb1c56bf44df4819e6a0015d
[ "MIT" ]
10
2020-01-15T07:48:24.000Z
2021-06-02T00:56:24.000Z
app/controllers/cards_controller.py
AndreiBarbuOz/uibank-api-server
4a07c2773507ac61fb1c56bf44df4819e6a0015d
[ "MIT" ]
null
null
null
import connexion import six from app.models.bank_card import BankCard # noqa: E501 from app import util def add_bank_card(body, account_id): # noqa: E501 """Add a new bank card for an account Add a new card for the specified account # noqa: E501 :param body: Bank card details :type body: dict | b...
22.469388
77
0.669391
165
1,101
4.357576
0.260606
0.089013
0.041725
0.091794
0.518776
0.417246
0.417246
0.368567
0.368567
0.368567
0
0.028986
0.247956
1,101
48
78
22.9375
0.839372
0.555858
0
0.25
0
0
0.105528
0
0
0
0
0
0
1
0.25
false
0
0.333333
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
3d740332cdd18e5d9d524ee7f160abbd849d97cc
8,358
py
Python
ballet/validation/feature_api/checks.py
HDI-Project/fhub_core
9667a47fbd8b4caf2e92118dc5357f34aae2098b
[ "MIT" ]
19
2021-04-06T18:56:39.000Z
2022-03-15T00:23:00.000Z
ballet/validation/feature_api/checks.py
HDI-Project/ballet
9667a47fbd8b4caf2e92118dc5357f34aae2098b
[ "MIT" ]
52
2018-09-27T01:11:58.000Z
2021-03-24T19:11:18.000Z
ballet/validation/feature_api/checks.py
HDI-Project/ballet
9667a47fbd8b4caf2e92118dc5357f34aae2098b
[ "MIT" ]
3
2019-12-07T17:55:34.000Z
2021-02-02T17:58:39.000Z
import io from copy import deepcopy import dill as pickle import numpy as np from funcy import all, all_fn, isa, iterable from sklearn.model_selection import train_test_split from ballet.feature import Feature from ballet.util import RANDOM_STATE from ballet.validation.base import BaseCheck def _get_one_row(*args):...
35.415254
309
0.68258
1,126
8,358
4.968028
0.19627
0.058992
0.061673
0.072399
0.564176
0.477655
0.470325
0.448516
0.397211
0.378262
0
0.002657
0.234386
8,358
235
310
35.565957
0.871542
0.151591
0
0.345588
0
0.058824
0.234147
0.017622
0
0
0
0
0.073529
1
0.235294
false
0
0.066176
0.102941
0.536765
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
3d7ba7bbbcb6993c0d76b72c36619fb9d7dcebbc
143
py
Python
turing/settings/__init__.py
kwierman/turing
3db89c4093f99564c3b0eb858db54d5f5a05f3d6
[ "MIT" ]
null
null
null
turing/settings/__init__.py
kwierman/turing
3db89c4093f99564c3b0eb858db54d5f5a05f3d6
[ "MIT" ]
null
null
null
turing/settings/__init__.py
kwierman/turing
3db89c4093f99564c3b0eb858db54d5f5a05f3d6
[ "MIT" ]
null
null
null
import logging DEBUG=True try: from .local import * except ImportError: logging.warning("No local settings defined. Using Defaults")
15.888889
64
0.741259
18
143
5.888889
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.181818
143
8
65
17.875
0.905983
0
0
0
0
0
0.286713
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
3dab31f7e02152fd9e3bfe8de1eb58b073f34dd9
1,767
py
Python
plotly/validators/surface/colorbar/__init__.py
mprostock/plotly.py
3471c3dfbf783927c203c676422260586514b341
[ "MIT" ]
12
2020-04-18T18:10:22.000Z
2021-12-06T10:11:15.000Z
plotly/validators/surface/colorbar/__init__.py
Vesauza/plotly.py
e53e626d59495d440341751f60aeff73ff365c28
[ "MIT" ]
27
2020-04-28T21:23:12.000Z
2021-06-25T15:36:38.000Z
plotly/validators/surface/colorbar/__init__.py
Vesauza/plotly.py
e53e626d59495d440341751f60aeff73ff365c28
[ "MIT" ]
6
2020-04-18T23:07:08.000Z
2021-11-18T07:53:06.000Z
from ._ypad import YpadValidator from ._yanchor import YanchorValidator from ._y import YValidator from ._xpad import XpadValidator from ._xanchor import XanchorValidator from ._x import XValidator from ._title import TitleValidator from ._tickwidth import TickwidthValidator from ._tickvalssrc import TickvalssrcValidat...
42.071429
60
0.883984
164
1,767
9.27439
0.512195
0
0
0
0
0
0
0
0
0
0
0.001248
0.092813
1,767
41
61
43.097561
0.947598
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
3de220ccd38f6dfa8a8eb306a843e047fa2f04bf
75
py
Python
aiodeta/__init__.py
leits/aiodeta
f9b863ee0113c44741ed3ac1d237ab907be0432e
[ "MIT" ]
14
2021-08-18T15:41:08.000Z
2022-02-14T10:17:47.000Z
aiodeta/__init__.py
leits/aiodeta
f9b863ee0113c44741ed3ac1d237ab907be0432e
[ "MIT" ]
null
null
null
aiodeta/__init__.py
leits/aiodeta
f9b863ee0113c44741ed3ac1d237ab907be0432e
[ "MIT" ]
1
2021-10-01T10:49:18.000Z
2021-10-01T10:49:18.000Z
from .client import Deta __version__ = "0.1.0" __all__ = (Deta.__name__,)
15
26
0.706667
11
75
3.727273
0.818182
0
0
0
0
0
0
0
0
0
0
0.046875
0.146667
75
4
27
18.75
0.59375
0
0
0
0
0
0.066667
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
ad0024f8ac6262c8833fe03e620eeafde8601ffc
641
py
Python
tmp.py
borutar/Telegram-bot
c4b6fd86d544cbdb5b38deb2feb7f00594a7e79a
[ "MIT" ]
null
null
null
tmp.py
borutar/Telegram-bot
c4b6fd86d544cbdb5b38deb2feb7f00594a7e79a
[ "MIT" ]
null
null
null
tmp.py
borutar/Telegram-bot
c4b6fd86d544cbdb5b38deb2feb7f00594a7e79a
[ "MIT" ]
1
2020-11-11T06:15:51.000Z
2020-11-11T06:15:51.000Z
import math def calculate_price(total_quantity): price_per_quantity = 20 * total_quantity if total_quantity >=10 and total_quantity <15: price_per_quantity = 0.95* price_per_quantity elif total_quantity >=15 and total_quantity <20: price_per_quantity = 0.90* price_per_quantity elif total_quantity >=20 and tota...
35.611111
54
0.790952
103
641
4.563107
0.252427
0.204255
0.408511
0.180851
0.389362
0.389362
0.13617
0
0
0
0
0.075269
0.129485
641
18
55
35.611111
0.767025
0
0
0
0
0
0
0
0
0
0
0
0
1
0.066667
false
0
0.066667
0
0.2
0.066667
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
9a77309d6e221c2fd51c21fa542c5132d484b7fb
6,372
py
Python
lldb/test/API/functionalities/module_cache/debug_index/TestDebugIndexCache.py
LaudateCorpus1/llvm-project
ff2e0f0c1112558b3f30d8afec7c9882c33c79e3
[ "Apache-2.0" ]
605
2019-10-18T01:15:54.000Z
2022-03-31T14:31:04.000Z
lldb/test/API/functionalities/module_cache/debug_index/TestDebugIndexCache.py
LaudateCorpus1/llvm-project
ff2e0f0c1112558b3f30d8afec7c9882c33c79e3
[ "Apache-2.0" ]
3,180
2019-10-18T01:21:21.000Z
2022-03-31T23:25:41.000Z
lldb/test/API/functionalities/module_cache/debug_index/TestDebugIndexCache.py
LaudateCorpus1/llvm-project
ff2e0f0c1112558b3f30d8afec7c9882c33c79e3
[ "Apache-2.0" ]
275
2019-10-18T05:27:22.000Z
2022-03-30T09:04:21.000Z
import glob import json import lldb from lldbsuite.test.decorators import * from lldbsuite.test.lldbtest import * from lldbsuite.test import lldbutil import os import time class DebugIndexCacheTestcase(TestBase): mydir = TestBase.compute_mydir(__file__) def setUp(self): # Call super's setUp(). ...
44.873239
138
0.672003
802
6,372
5.219451
0.219451
0.028906
0.038223
0.037267
0.719302
0.701386
0.701386
0.701386
0.665552
0.572384
0
0.00294
0.252668
6,372
141
139
45.191489
0.876102
0.305712
0
0.405063
0
0.025316
0.213385
0.132396
0
0
0
0
0.253165
1
0.075949
false
0
0.101266
0
0.227848
0
0
0
0
null
0
0
0
0
1
1
1
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
9a83e95ce980ccc7b1f735cec879ea46e461c9ef
755
py
Python
ShopperMiles/providers/serializers.py
juansahe/shoppy
265e6e5d3cfc0bc05df3c793e9b4f5921ce78ae5
[ "MIT" ]
null
null
null
ShopperMiles/providers/serializers.py
juansahe/shoppy
265e6e5d3cfc0bc05df3c793e9b4f5921ce78ae5
[ "MIT" ]
null
null
null
ShopperMiles/providers/serializers.py
juansahe/shoppy
265e6e5d3cfc0bc05df3c793e9b4f5921ce78ae5
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals, absolute_import from rest_framework import serializers from .models import Promotion,Provider,Bond class PromotionSerializer(serializers.ModelSerializer): class Meta: model = Promotion fields = ('id', 'name', 'description' , 'img','...
30.2
126
0.690066
77
755
6.61039
0.506494
0.153242
0.182711
0.206287
0.235756
0
0
0
0
0
0
0.006349
0.165563
755
24
127
31.458333
0.801587
0.027815
0
0.2
0
0
0.223288
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
9a8e8479b92de3d8e2bd81b70f803107324db600
1,316
py
Python
crime.py
camhwilson/Crime
ebe50449100ff366ad32050f1136a9fb57c975c0
[ "MIT" ]
null
null
null
crime.py
camhwilson/Crime
ebe50449100ff366ad32050f1136a9fb57c975c0
[ "MIT" ]
null
null
null
crime.py
camhwilson/Crime
ebe50449100ff366ad32050f1136a9fb57c975c0
[ "MIT" ]
null
null
null
from dataclasses import dataclass from hashable_list import HashableList @dataclass class Overdose: overdose_dict: dict def __post_init__(self): self._id = self.overdose_dict['_id'] self.death_date_and_time = self.overdose_dict['death_date_and_time'] self.manner_of_death = self....
36.555556
76
0.655775
164
1,316
4.896341
0.310976
0.313823
0.398506
0.298879
0.049813
0
0
0
0
0
0
0.010924
0.234802
1,316
35
77
37.6
0.786495
0
0
0
0
0
0.160456
0
0
0
0
0
0
1
0.037037
false
0
0.074074
0
0.185185
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
9a9c28c72fdcbd4b780f7015d36485bddd31289d
3,018
py
Python
tests/advanced.py
seece/cbpp
b6771c7933fa07444e660eafda6f06cf60edce01
[ "MIT" ]
null
null
null
tests/advanced.py
seece/cbpp
b6771c7933fa07444e660eafda6f06cf60edce01
[ "MIT" ]
null
null
null
tests/advanced.py
seece/cbpp
b6771c7933fa07444e660eafda6f06cf60edce01
[ "MIT" ]
null
null
null
import sys import inspect from tests.testcase import * from processor import * class basicIfdef(Test): def setup(self): self.name = "test normal #ifdef feature" self.sourcefile = "tests/cb/ifdef.cb" class negationIfdef(Test): def setup(self): self.name = "test #ifndef feature" self.sourcefile = "tests/cb/i...
23.76378
76
0.736249
394
3,018
5.573604
0.21066
0.070128
0.120219
0.160291
0.605191
0.550546
0.465847
0.381148
0.137523
0.056466
0
0
0.134858
3,018
126
77
23.952381
0.841057
0
0
0.366667
0
0
0.262877
0.123623
0
0
0
0
0
1
0.255556
false
0
0.044444
0
0.555556
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
9aa040a4201100e5a922397c73e1479d18b2e976
9,200
py
Python
analysis/lib/online.py
jonhue/bachelors-thesis
17f760c5b1394a364a2fca1108e7a997201460aa
[ "MIT" ]
null
null
null
analysis/lib/online.py
jonhue/bachelors-thesis
17f760c5b1394a364a2fca1108e7a997201460aa
[ "MIT" ]
12
2021-09-08T11:45:09.000Z
2022-03-05T07:47:11.000Z
analysis/lib/online.py
jonhue/bachelors-thesis
17f760c5b1394a364a2fca1108e7a997201460aa
[ "MIT" ]
1
2021-10-14T12:01:49.000Z
2021-10-14T12:01:49.000Z
from typing import List, Tuple from soco.data_center.online import stop from soco.data_center.online.uni_dimensional import ( lazy_capacity_provisioning, memoryless, probabilistic, randomized, randomly_biased_greedy, ) from soco.data_center.online.multi_dimensional import ( horizon_control, ...
26.361032
88
0.646304
1,031
9,200
5.524733
0.099903
0.082865
0.063202
0.132374
0.802493
0.754916
0.730162
0.641854
0.597086
0.470154
0
0.008292
0.252826
9,200
348
89
26.436782
0.820338
0
0
0.5623
0
0
0.00413
0
0
0
0
0
0.009585
1
0.047923
false
0
0.019169
0
0.115016
0.003195
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
9ab6d60aecf7a7a21140cd3061ffe21153be6e6e
368
py
Python
_2015/elevator/test_elevator.py
dcsparkes/adventofcode
e8bf8cef1d8757ad8981dde8dc76f8f7ec396be5
[ "Unlicense" ]
null
null
null
_2015/elevator/test_elevator.py
dcsparkes/adventofcode
e8bf8cef1d8757ad8981dde8dc76f8f7ec396be5
[ "Unlicense" ]
null
null
null
_2015/elevator/test_elevator.py
dcsparkes/adventofcode
e8bf8cef1d8757ad8981dde8dc76f8f7ec396be5
[ "Unlicense" ]
null
null
null
import elevator import unittest class TestElevator(unittest.TestCase): def test_parenthesesCount_inputFile(self): self.assertEqual(74, elevator.parenthesesCount("input1.1.txt")) def test_parenthesesMismatch_inputFile(self): self.assertEqual(1795, elevator.parenthesesMismatch("input1.1.txt")) ...
26.285714
76
0.752717
39
368
6.794872
0.538462
0.05283
0.128302
0.211321
0
0
0
0
0
0
0
0.031546
0.138587
368
13
77
28.307692
0.804416
0
0
0
0
0
0.086957
0
0
0
0
0
0.222222
1
0.222222
false
0
0.222222
0
0.555556
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
9abe7f0b8f0e74fa198d28f2625620bfaf925399
508
py
Python
internet_engineer/Geogram/Geogram/map/migrations/0004_auto_20200131_1132.py
moghadas76/Geogram
0e70fbe153533c3cb9819f46ba29d74e0439da6a
[ "Apache-2.0" ]
2
2020-02-09T11:20:55.000Z
2021-12-15T13:35:13.000Z
internet_engineer/Geogram/Geogram/map/migrations/0004_auto_20200131_1132.py
moghadas76/Geogram
0e70fbe153533c3cb9819f46ba29d74e0439da6a
[ "Apache-2.0" ]
5
2021-03-18T23:18:20.000Z
2021-09-22T18:30:04.000Z
internet_engineer/Geogram/Geogram/map/migrations/0004_auto_20200131_1132.py
moghadas76/Geogram
0e70fbe153533c3cb9819f46ba29d74e0439da6a
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.0.1 on 2020-01-31 11:32 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('map', '0003_auto_20200129_1634'), ] operations = [ migrations.AlterField( model_name='profile', name='lang', ...
21.166667
47
0.551181
49
508
5.612245
0.693878
0.145455
0.181818
0.210909
0.290909
0.290909
0
0
0
0
0
0.091176
0.330709
508
23
48
22.086957
0.717647
0.088583
0
0.470588
1
0
0.101952
0.049892
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9abed1436870fdd228f176f4a78181a72ac154b6
140
py
Python
release/stubs.min/Tekla/Structures/ModelInternal_parts/dotIFC2X3_Product_t.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
release/stubs.min/Tekla/Structures/ModelInternal_parts/dotIFC2X3_Product_t.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
release/stubs.min/Tekla/Structures/ModelInternal_parts/dotIFC2X3_Product_t.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
class dotIFC2X3_Product_t(object): # no doc Description = None IFC2X3_OwnerHistory = None Name = None ObjectType = None
20
34
0.678571
16
140
5.75
0.8125
0
0
0
0
0
0
0
0
0
0
0.038835
0.264286
140
6
35
23.333333
0.854369
0.042857
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
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
0
0
1
0
0
3
9ad7d89a6e924b59dcbb5c4e1fe4e1367099ee52
23
py
Python
Lib/idlelib/idlever.py
deadsnakes/python3.3
4faaf44cd5478410ac3b977351c1965fa054b5e9
[ "PSF-2.0" ]
null
null
null
Lib/idlelib/idlever.py
deadsnakes/python3.3
4faaf44cd5478410ac3b977351c1965fa054b5e9
[ "PSF-2.0" ]
1
2018-01-05T20:15:40.000Z
2018-01-05T20:15:40.000Z
check-python33-manual/samples/standard_library_337/Lib/idlelib/idlever.py
DaveKaretnyk/parsing-utils2
40085bbd399fa605f2f2a4708d385a64ffc907de
[ "MIT" ]
null
null
null
IDLE_VERSION = "3.3.6"
11.5
22
0.652174
5
23
2.8
0.8
0
0
0
0
0
0
0
0
0
0
0.15
0.130435
23
1
23
23
0.55
0
0
0
0
0
0.217391
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
9adf024fb8a76dc3cc7ac855f1acd609e68a38a9
384
py
Python
project/db/models/course_type.py
samsonosiomwan/Devs-Prime-Api
7b43078bb1f848f17f85e8bb94292d1b776eee92
[ "MIT" ]
null
null
null
project/db/models/course_type.py
samsonosiomwan/Devs-Prime-Api
7b43078bb1f848f17f85e8bb94292d1b776eee92
[ "MIT" ]
1
2021-10-21T22:13:56.000Z
2021-10-21T22:13:57.000Z
project/db/models/course_type.py
Favourkass/Devsprime-api
2414a2541efeb76b6a7ebb26c2d05a3bfead153c
[ "MIT" ]
null
null
null
import uuid from django.db import models class CourseType(models.Model): id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False) name = models.CharField(max_length=255, blank=False, unique=True) created_at = models.DateTimeField(auto_now_add=True) updated_at = models.DateTimeField(...
29.538462
79
0.747396
53
384
5.207547
0.679245
0.057971
0.152174
0.181159
0.202899
0
0
0
0
0
0
0.012308
0.153646
384
12
80
32
0.836923
0
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0.111111
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
0
0
0
0
1
1
0
0
3
9af808c1d94dace6f2f5b630ab75edfbeb84c525
187
py
Python
IntelligentUAVPathPlanningSimulationSystem/core/main.py
wangwei39120157028/IntelligentUAVPathPlanningSimulationSystem-Drone
7ea4d9cc68b304ad9a54b4bbdf1de6e3514d3040
[ "BSD-3-Clause" ]
208
2021-03-07T12:20:44.000Z
2022-01-05T06:43:16.000Z
IntelligentUAVPathPlanningSimulationSystem/core/main.py
buaaguotong/IntelligentUAVPathPlanningSimulationSystem-Drone
9aa6e4e70333c4b38be91c9e261ec3cd988c7d1a
[ "BSD-3-Clause" ]
null
null
null
IntelligentUAVPathPlanningSimulationSystem/core/main.py
buaaguotong/IntelligentUAVPathPlanningSimulationSystem-Drone
9aa6e4e70333c4b38be91c9e261ec3cd988c7d1a
[ "BSD-3-Clause" ]
43
2021-03-07T13:33:54.000Z
2021-12-11T12:04:58.000Z
# -*- coding:utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(__file__))) from appUI.MainWindow import main if __name__ == "__main__": # main()
13.357143
59
0.668449
26
187
4.346154
0.653846
0.106195
0
0
0
0
0
0
0
0
0
0.006452
0.171123
187
13
60
14.384615
0.722581
0.106952
0
0
0
0
0.04878
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
b1038476e26026eaf2fd65dfb20f0159a0532fe0
14
py
Python
src/python/frontend/user_identifier.py
UV-CDAT/uvcmetrics
b29ac2b2698ba09061e3ca7b115abf3e114324e2
[ "BSD-3-Clause" ]
3
2017-03-03T21:28:06.000Z
2017-05-23T02:03:22.000Z
src/python/frontend/user_identifier.py
CDAT/uvcmetrics
b29ac2b2698ba09061e3ca7b115abf3e114324e2
[ "BSD-3-Clause" ]
192
2015-01-05T19:39:56.000Z
2017-01-17T22:28:34.000Z
src/python/frontend/user_identifier.py
UV-CDAT/uvcmetrics
b29ac2b2698ba09061e3ca7b115abf3e114324e2
[ "BSD-3-Clause" ]
6
2016-02-26T19:03:46.000Z
2017-07-12T16:55:33.000Z
user = 'Golaz'
14
14
0.642857
2
14
4.5
1
0
0
0
0
0
0
0
0
0
0
0
0.142857
14
1
14
14
0.75
0
0
0
0
0
0.333333
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
b11a4a67e7a089b51bc959a0638af6f154fcc5d8
1,224
py
Python
parsing/domain/rule.py
alexandrustoica/parsing.system
377b9bb76dc563e3e904118a2023d835acb7ef4b
[ "MIT" ]
null
null
null
parsing/domain/rule.py
alexandrustoica/parsing.system
377b9bb76dc563e3e904118a2023d835acb7ef4b
[ "MIT" ]
null
null
null
parsing/domain/rule.py
alexandrustoica/parsing.system
377b9bb76dc563e3e904118a2023d835acb7ef4b
[ "MIT" ]
null
null
null
from typing import List from parsing.domain.symbol import Symbol from parsing.domain.non_terminal import NonTerminal class Rule: def __init__(self, left: NonTerminal, right: List[Symbol]): self.left = left self.right = right def __str__(self) -> str: return "{} -> {}".format(str...
30.6
95
0.630719
153
1,224
4.810458
0.287582
0.043478
0.077446
0.057065
0.269022
0.089674
0
0
0
0
0
0.005308
0.230392
1,224
39
96
31.384615
0.776008
0
0
0.142857
0
0
0.015523
0
0
0
0
0
0
1
0.285714
false
0
0.107143
0.178571
0.678571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
b11a70a4cce51624668b03f18ab17f52e79a96e7
8,398
py
Python
TemplateV2.py
T0UGH/NBAComposer
3b2e7ecbe9cc859f437140e4b3bb78d8233b2112
[ "MIT" ]
null
null
null
TemplateV2.py
T0UGH/NBAComposer
3b2e7ecbe9cc859f437140e4b3bb78d8233b2112
[ "MIT" ]
null
null
null
TemplateV2.py
T0UGH/NBAComposer
3b2e7ecbe9cc859f437140e4b3bb78d8233b2112
[ "MIT" ]
2
2018-10-25T04:28:26.000Z
2018-11-24T13:16:00.000Z
import random tag_list = ['<time>', '<home_team_name>', '<home_team_score>', '<away_team_name>', '<away_star_score>', '<home_star_name>', '<home_star_score>', '<away_star_score>'] def choice_template(template_type: int) -> str: type_0_templates = [ "<time>,<away_team_name>队手感火热,在<away_star_na...
68.836066
154
0.72934
1,253
8,398
4.465283
0.140463
0.137265
0.100804
0.057194
0.634853
0.535478
0.494013
0.393208
0.30849
0.200894
0
0.012577
0.128959
8,398
121
155
69.404959
0.75229
0
0
0
0
0.382022
0.709812
0.692903
0
0
0
0
0
1
0.011236
false
0
0.011236
0
0.033708
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b11c71b1bc4edd1af0dd34b72ca37343967c9558
450
py
Python
1265_print_immutable_linked_list_in_reverse.py
claytonjwong/leetcode-py
16bbf8ac0ba5c80fe3ef67ade0d61a12991270a7
[ "MIT" ]
1
2020-07-15T14:16:23.000Z
2020-07-15T14:16:23.000Z
1265_print_immutable_linked_list_in_reverse.py
claytonjwong/leetcode-py
16bbf8ac0ba5c80fe3ef67ade0d61a12991270a7
[ "MIT" ]
null
null
null
1265_print_immutable_linked_list_in_reverse.py
claytonjwong/leetcode-py
16bbf8ac0ba5c80fe3ef67ade0d61a12991270a7
[ "MIT" ]
null
null
null
# # 1265. Print Immutable Linked List in Reverse # # Q: https://leetcode.com/problems/print-immutable-linked-list-in-reverse/ # A: https://leetcode.com/problems/print-immutable-linked-list-in-reverse/discuss/436558/Javascript-Python3-C%2B%2B-1-Liners # class Solution: def printLinkedListInReverse(self, head: 'Immu...
34.615385
124
0.717778
54
450
5.981481
0.592593
0.130031
0.185759
0.22291
0.455108
0.455108
0.352941
0.352941
0.352941
0.352941
0
0.036458
0.146667
450
12
125
37.5
0.804688
0.533333
0
0
0
0
0.083744
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
0.6
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
b14123be8943b49d73cb8050acc3fe02718b157d
397
py
Python
tasks/tasks6.py
dasa4ok/home_tasks
afa91a16f3332fcf46175807bb816550e2d78fe0
[ "MIT" ]
null
null
null
tasks/tasks6.py
dasa4ok/home_tasks
afa91a16f3332fcf46175807bb816550e2d78fe0
[ "MIT" ]
null
null
null
tasks/tasks6.py
dasa4ok/home_tasks
afa91a16f3332fcf46175807bb816550e2d78fe0
[ "MIT" ]
null
null
null
#6. Дан список чисел. Выведите все элементы списка, которые больше предыдущего элемента. def bigger_then_pred(values): number_that_bigger_then_pred = [] for index, value in enumerate(values): if value > values[index - 1]: number_that_bigger_then_pred.append(value) return number_tha...
44.111111
89
0.697733
59
397
4.423729
0.576271
0.191571
0.268199
0.229885
0.275862
0
0
0
0
0
0
0.034591
0.198992
397
9
90
44.111111
0.786164
0.219144
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.285714
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
b16099291932e8a7f38304341656cc4e6237a376
38
py
Python
utility/__init__.py
hongyuanChrisLi/StartupInsights
1c0f49d7f05c63af5d59ceb036b0b5af9190218a
[ "Apache-2.0" ]
null
null
null
utility/__init__.py
hongyuanChrisLi/StartupInsights
1c0f49d7f05c63af5d59ceb036b0b5af9190218a
[ "Apache-2.0" ]
null
null
null
utility/__init__.py
hongyuanChrisLi/StartupInsights
1c0f49d7f05c63af5d59ceb036b0b5af9190218a
[ "Apache-2.0" ]
null
null
null
# Error Codes ENV_VAR_NOT_FOUND = 201
12.666667
23
0.789474
7
38
3.857143
1
0
0
0
0
0
0
0
0
0
0
0.09375
0.157895
38
3
23
12.666667
0.75
0.289474
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
b181d60a2df18921e166276498146e37155547f4
340
py
Python
py_celery/main.py
shimakaze-git/docker_django_celery_vote
0b0899a9fb4d817ff5966e9d1f1f027755e585cf
[ "BSD-2-Clause" ]
null
null
null
py_celery/main.py
shimakaze-git/docker_django_celery_vote
0b0899a9fb4d817ff5966e9d1f1f027755e585cf
[ "BSD-2-Clause" ]
null
null
null
py_celery/main.py
shimakaze-git/docker_django_celery_vote
0b0899a9fb4d817ff5966e9d1f1f027755e585cf
[ "BSD-2-Clause" ]
null
null
null
import tasks print('<first task>') # ここでタスク起動 (runタスク) worker = tasks.run.delay() # 終わらぬなら終わるまで待とうホトトギス while not worker.ready(): pass # 返り値をだす print(worker.result) print('<second task>') # ここでタスク起動 (calcタスク) worker = tasks.calc.delay(100, 200) # 終わらぬなら終わるまで待とうホトトギス while not worker.ready(): pass # 返り値をだす p...
15.454545
35
0.717647
42
340
5.809524
0.52381
0.098361
0.221311
0.270492
0.532787
0.532787
0.532787
0.532787
0.532787
0.532787
0
0.020619
0.144118
340
21
36
16.190476
0.817869
0.264706
0
0.545455
0
0
0.102881
0
0
0
0
0
0
1
0
false
0.181818
0.090909
0
0.090909
0.363636
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
1
0
0
0
0
0
3
b187dabfbba05c1a221ff71f18cd34f741e8ae2e
3,711
py
Python
tests/unitary.py
cerealkill/pandapower_api
7131d33514de3e580d8b42c8c776dd036cf99c90
[ "MIT" ]
1
2021-02-09T15:41:03.000Z
2021-02-09T15:41:03.000Z
tests/unitary.py
cerealkill/pandapower_api
7131d33514de3e580d8b42c8c776dd036cf99c90
[ "MIT" ]
1
2020-06-09T15:21:13.000Z
2020-06-09T15:21:13.000Z
tests/unitary.py
cerealkill/pandapower_api
7131d33514de3e580d8b42c8c776dd036cf99c90
[ "MIT" ]
null
null
null
import unittest from api.controllers.simulation import SimulationController from api.server import rest class SimulationControllerTest(unittest.TestCase): def setUp(self): self.controller = SimulationController() def test_get_active_load_fails(self): with self.assertRaises(Exception): ...
41.696629
119
0.68553
501
3,711
4.892216
0.133733
0.137903
0.163199
0.182783
0.79233
0.738474
0.698082
0.662587
0.633619
0.479396
0
0.04
0.171382
3,711
88
120
42.170455
0.757073
0
0
0.348485
0
0
0.11156
0.017785
0
0
0
0
0.333333
1
0.257576
false
0
0.045455
0
0.333333
0
0
0
0
null
0
0
1
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
0
0
0
0
3
b18c0a2e551bdc2fe4b145522904b52fe4c879df
49
py
Python
QPtomographer/_version.py
Tomographer/QPtomographer
337f0ba1069c8cef30e80a6719e8df9ce1c68997
[ "MIT" ]
2
2019-05-22T01:59:01.000Z
2020-06-05T07:33:46.000Z
QPtomographer/_version.py
Tomographer/QPtomographer
337f0ba1069c8cef30e80a6719e8df9ce1c68997
[ "MIT" ]
null
null
null
QPtomographer/_version.py
Tomographer/QPtomographer
337f0ba1069c8cef30e80a6719e8df9ce1c68997
[ "MIT" ]
null
null
null
version = "1.0" version_maj = 1 version_min = 0
9.8
15
0.673469
9
49
3.444444
0.555556
0
0
0
0
0
0
0
0
0
0
0.102564
0.204082
49
4
16
12.25
0.692308
0
0
0
0
0
0.0625
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
b195616cbeacbf4da9c15ee7e5d96dda8c84b1f1
893
py
Python
paratransit/api/migrations/0012_auto_20170511_2201.py
NiJeLorg/paratransit_api
f3e1cfd922e58c6c539a9c11c29d04e4bdd701f2
[ "MIT" ]
null
null
null
paratransit/api/migrations/0012_auto_20170511_2201.py
NiJeLorg/paratransit_api
f3e1cfd922e58c6c539a9c11c29d04e4bdd701f2
[ "MIT" ]
null
null
null
paratransit/api/migrations/0012_auto_20170511_2201.py
NiJeLorg/paratransit_api
f3e1cfd922e58c6c539a9c11c29d04e4bdd701f2
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-05-11 22:01 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('api', '0011_dropoff_locations_pickup_locations'), ] operations = [ migrations.RenameF...
24.805556
59
0.566629
90
893
5.277778
0.455556
0.134737
0.218947
0.252632
0.452632
0.452632
0.452632
0.452632
0.227368
0
0
0.033168
0.324748
893
35
60
25.514286
0.754561
0.073908
0
0.535714
1
0
0.188107
0.04733
0
0
0
0
0
1
0
false
0
0.071429
0
0.178571
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
491391740af8f2916c3b36bdcaee8e689018c909
119
py
Python
vla.py
sushmitajaiswal/PythonPrograms
d4fb1b36953185e2f8dd866798ca6965a52563a9
[ "MIT" ]
null
null
null
vla.py
sushmitajaiswal/PythonPrograms
d4fb1b36953185e2f8dd866798ca6965a52563a9
[ "MIT" ]
null
null
null
vla.py
sushmitajaiswal/PythonPrograms
d4fb1b36953185e2f8dd866798ca6965a52563a9
[ "MIT" ]
null
null
null
def sum(*n): total=0 for n1 in n: total=total+n1 print("the sum=",total) sum() sum(10) sum(10,20) sum(10,20,30,40)
13.222222
24
0.630252
27
119
2.777778
0.518519
0.2
0.186667
0
0
0
0
0
0
0
0
0.168317
0.151261
119
9
25
13.222222
0.574257
0
0
0
0
0
0.066667
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.111111
0.111111
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
49183e861b392935a157f54e5494ac4546d36c3f
270
py
Python
config/__init__.py
rji-futures-lab/django-rmp-data
6580961dd965025f312127bdd788f2771463f0b5
[ "MIT" ]
null
null
null
config/__init__.py
rji-futures-lab/django-rmp-data
6580961dd965025f312127bdd788f2771463f0b5
[ "MIT" ]
67
2018-08-29T18:15:56.000Z
2020-06-05T18:57:59.000Z
config/__init__.py
rji-futures-lab/django-rmp-data
6580961dd965025f312127bdd788f2771463f0b5
[ "MIT" ]
6
2018-10-18T19:19:38.000Z
2021-09-15T17:21:52.000Z
""" Django configurations for the project. These configurations include: * settings: Project-wide settings, which may be customized per environment. * urls: Routes URLs to views (i.e., Python functions). * wsgi: The default Web Server Gateway Interface. """
33.75
79
0.72963
34
270
5.794118
0.852941
0
0
0
0
0
0
0
0
0
0
0
0.181481
270
8
80
33.75
0.891403
0.97037
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
49193782327e317d290d8556017ef0f469bd7aa1
95
py
Python
image/setup.py
00schen/asha
69af936803cc8f4a0f7ac3db8d31a15385077295
[ "MIT" ]
1
2022-03-13T19:12:48.000Z
2022-03-13T19:12:48.000Z
image/setup.py
00schen/asha
69af936803cc8f4a0f7ac3db8d31a15385077295
[ "MIT" ]
null
null
null
image/setup.py
00schen/asha
69af936803cc8f4a0f7ac3db8d31a15385077295
[ "MIT" ]
null
null
null
from setuptools import setup setup( name='rl', version='0.1.0', packages=['rl'], )
13.571429
28
0.589474
13
95
4.307692
0.769231
0
0
0
0
0
0
0
0
0
0
0.040541
0.221053
95
7
29
13.571429
0.716216
0
0
0
0
0
0.09375
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
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
4919d68e998cf74b2f4604abad23570c873e5e62
132
py
Python
src/rez/data/tests/packages/py_packages/late_binding/1.0/package.py
alexey-pelykh/rez
ad12105d89d658e4d2ea9249e537b3de90391f0e
[ "Apache-2.0" ]
null
null
null
src/rez/data/tests/packages/py_packages/late_binding/1.0/package.py
alexey-pelykh/rez
ad12105d89d658e4d2ea9249e537b3de90391f0e
[ "Apache-2.0" ]
null
null
null
src/rez/data/tests/packages/py_packages/late_binding/1.0/package.py
alexey-pelykh/rez
ad12105d89d658e4d2ea9249e537b3de90391f0e
[ "Apache-2.0" ]
1
2020-09-24T08:33:43.000Z
2020-09-24T08:33:43.000Z
name = 'late_binding' version = "1.0" @late() def tools(): return ["util"] def commands(): env.PATH.append("{root}/bin")
12
33
0.590909
18
132
4.277778
0.888889
0
0
0
0
0
0
0
0
0
0
0.018692
0.189394
132
10
34
13.2
0.700935
0
0
0
0
0
0.219697
0
0
0
0
0
0
1
0.285714
false
0
0
0.142857
0.428571
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
492d36fdc788257b9e150cd3169b18d497785c44
743
py
Python
section4/video1/union.py
PacktPublishing/Mastering-Python-3.x-3rd-Edition
addfb6b1ecbc788030be119318386e1261ba6f2a
[ "MIT" ]
6
2019-04-10T17:27:30.000Z
2021-11-08T13:10:37.000Z
section4/video1/union.py
PacktPublishing/Mastering-Python-3.x
526f2d02266fa6c0a5badf892f2db177b2f52f64
[ "MIT" ]
2
2021-06-01T23:45:41.000Z
2021-06-02T00:07:56.000Z
section4/video1/union.py
PacktPublishing/Mastering-Python-3.x
526f2d02266fa6c0a5badf892f2db177b2f52f64
[ "MIT" ]
8
2019-05-02T20:56:37.000Z
2021-09-02T08:55:06.000Z
from typing import Tuple, Iterable, Callable, Union Pair = Union[Tuple[int, int], Tuple[str, str]] Single = Union[int, str] def add(pair: Pair) -> Single: return pair[0] + pair[1] def even(a: Single) -> bool: if isinstance(a, str): return len(a) % 2 == 0 return a % 2 == 0 def map(func: Callab...
24.766667
85
0.596231
114
743
3.815789
0.315789
0.022989
0.02069
0.032184
0.17931
0.114943
0.114943
0.114943
0.114943
0
0
0.033898
0.205922
743
29
86
25.62069
0.70339
0
0
0
0
0
0.024226
0
0
0
0
0
0
1
0.222222
false
0
0.055556
0.166667
0.555556
0.111111
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
4932aeefdf644468b66298cf747426770bec1040
397
py
Python
trajminer/datasets/__init__.py
ybj94/trajminer
7355344be8fe763ba2583b6f508fefc3290c9849
[ "MIT" ]
37
2019-04-04T19:27:26.000Z
2021-12-22T07:10:13.000Z
trajminer/datasets/__init__.py
ybj94/trajminer
7355344be8fe763ba2583b6f508fefc3290c9849
[ "MIT" ]
26
2019-04-04T19:20:44.000Z
2021-12-22T07:56:53.000Z
trajminer/datasets/__init__.py
ybj94/trajminer
7355344be8fe763ba2583b6f508fefc3290c9849
[ "MIT" ]
9
2019-04-04T19:17:05.000Z
2019-11-05T15:06:21.000Z
"""This module contains utilities for loading well-known trajectory datasets. """ from .base import load_brightkite_checkins from .base import load_gowalla_checkins from .base import load_foursquare_checkins from .base import load_starkey_animals __all__ = ['load_brightkite_checkins', 'load_gowalla_checkins...
33.083333
77
0.768262
47
397
6.06383
0.446809
0.112281
0.196491
0.252632
0.273684
0
0
0
0
0
0
0
0.166247
397
11
78
36.090909
0.861027
0.186398
0
0
0
0
0.281646
0.218354
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
493e700d4809df5a0153af1779fc1bd380d79edc
366
py
Python
data/base_dataset.py
ArlenCHEN/SNE-RoadSeg
c070de732bef9380baebe8cd6d85adb4dc354d32
[ "MIT" ]
213
2020-08-10T03:28:36.000Z
2022-03-27T11:06:05.000Z
data/base_dataset.py
ArlenCHEN/SNE-RoadSeg
c070de732bef9380baebe8cd6d85adb4dc354d32
[ "MIT" ]
50
2020-08-18T14:15:53.000Z
2022-03-31T05:05:58.000Z
data/base_dataset.py
ArlenCHEN/SNE-RoadSeg
c070de732bef9380baebe8cd6d85adb4dc354d32
[ "MIT" ]
56
2020-08-24T04:12:36.000Z
2022-01-29T02:13:11.000Z
import torch.utils.data as data class BaseDataset(data.Dataset): def __init__(self): super(BaseDataset, self).__init__() def name(self): return 'BaseDataset' @staticmethod def modify_commandline_options(parser, is_train): return parser def initialize(self, opt): ...
18.3
53
0.644809
42
366
5.261905
0.619048
0.090498
0
0
0
0
0
0
0
0
0
0.003731
0.26776
366
19
54
19.263158
0.820896
0
0
0
0
0
0.030055
0
0
0
0
0
0
1
0.384615
false
0.076923
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
1
0
1
0
0
0
3
4943934f85267384b1b8a06c6edfa5dd9eff1a37
116
py
Python
app/demo_data/users.py
PythonVinkit/oma-sanakirja
0462e05e26385f48515a03ea3e070f8a5dbc72a7
[ "MIT" ]
null
null
null
app/demo_data/users.py
PythonVinkit/oma-sanakirja
0462e05e26385f48515a03ea3e070f8a5dbc72a7
[ "MIT" ]
null
null
null
app/demo_data/users.py
PythonVinkit/oma-sanakirja
0462e05e26385f48515a03ea3e070f8a5dbc72a7
[ "MIT" ]
null
null
null
from app.models.schemas import User opa = User(id=1, name='opa', email='optikkanen@gmail.com') demo_users = [opa]
19.333333
58
0.715517
19
116
4.315789
0.842105
0
0
0
0
0
0
0
0
0
0
0.009804
0.12069
116
5
59
23.2
0.794118
0
0
0
0
0
0.198276
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
49522de2dc5e50522c06dd38764eecf95b0f09d8
136
py
Python
kernel/scripts/generate_interrupts_idt.py
losfair/FlatMk-v0
6e78666e8982e41688c24828093ea6b73b76ea11
[ "MIT" ]
5
2020-01-11T22:38:34.000Z
2021-06-01T13:40:55.000Z
kernel/scripts/generate_interrupts_idt.py
losfair/FlatMk-v0
6e78666e8982e41688c24828093ea6b73b76ea11
[ "MIT" ]
null
null
null
kernel/scripts/generate_interrupts_idt.py
losfair/FlatMk-v0
6e78666e8982e41688c24828093ea6b73b76ea11
[ "MIT" ]
null
null
null
print("{") for i in range(32, 256): print("IDT[{}].set_handler_fn(core::mem::transmute(intr_{} as usize));".format(i, i)) print("}")
34
89
0.617647
22
136
3.681818
0.818182
0
0
0
0
0
0
0
0
0
0
0.040984
0.102941
136
4
90
34
0.622951
0
0
0
0
0
0.474453
0.372263
0
0
0
0
0
1
0
false
0
0
0
0
0.75
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
49658bcc9e32b671c8c395e5e70887991b943c44
168
py
Python
pdf_api/test.py
Rob192/pdf_api
b44cc3aebca2158c112fe27106b15d2b0b6ffdd6
[ "MIT" ]
null
null
null
pdf_api/test.py
Rob192/pdf_api
b44cc3aebca2158c112fe27106b15d2b0b6ffdd6
[ "MIT" ]
5
2021-06-08T21:59:34.000Z
2022-01-13T13:57:16.000Z
pdf_api/test.py
Rob192/pdf_api
b44cc3aebca2158c112fe27106b15d2b0b6ffdd6
[ "MIT" ]
1
2022-01-04T13:59:56.000Z
2022-01-04T13:59:56.000Z
from pathlib import Path import os text_file = Path(os.getcwd()) / 'pdf_api' /'api_uploaded_files' / 'test.txt' with open(text_file, 'rb') as f: output = f.read()
24
76
0.684524
28
168
3.928571
0.75
0.145455
0
0
0
0
0
0
0
0
0
0
0.160714
168
7
77
24
0.780142
0
0
0
0
0
0.207101
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
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
49672685e5e39cc785c5c980e20dcdb529637353
1,416
py
Python
projetosiniciantes/desenvolvimento2.py
lordvinick/Python
c03fd08d4c204104bf0196b0bd129427fd2067ae
[ "MIT" ]
null
null
null
projetosiniciantes/desenvolvimento2.py
lordvinick/Python
c03fd08d4c204104bf0196b0bd129427fd2067ae
[ "MIT" ]
null
null
null
projetosiniciantes/desenvolvimento2.py
lordvinick/Python
c03fd08d4c204104bf0196b0bd129427fd2067ae
[ "MIT" ]
null
null
null
# Escolha2 (passageira) print(f'''{nick} era gerente em uma loja de roupas no shopping da barra, numa noite de quinta feira,encerrando seu expediente, quando foi chamar um uber para ir pra casa, ela notou que seu celular, que mais cedo tinha colocado-o pra carregar, não estava conectado e a bateria dele estava nos 3%...
54.461538
99
0.753531
253
1,416
4.217391
0.577075
0.022493
0.028116
0
0
0
0
0
0
0
0
0.005998
0.175847
1,416
25
100
56.64
0.908312
0
0
0
0
0.047619
0.908284
0
0
0
0
0
0
0
null
null
0.095238
0
null
null
0.285714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
3