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
5429d121d23d9da8bb4f09cd5956e602f4aaf045
242
py
Python
mooc/007.py
hiyouga/PY-Learning
296f08e7964845c314874906039f244010d5422a
[ "MIT" ]
2
2017-12-09T14:41:29.000Z
2017-12-27T11:12:16.000Z
mooc/007.py
hiyouga/PY-Learning
296f08e7964845c314874906039f244010d5422a
[ "MIT" ]
null
null
null
mooc/007.py
hiyouga/PY-Learning
296f08e7964845c314874906039f244010d5422a
[ "MIT" ]
null
null
null
#string.py str1 = "Hello" str2 = 'John' print(type(str1)) print("\"Good\\Job\"") greet = "Hello John" print(greet[1]) print(greet[-4]) print(greet[0:3]) print("bad" + "apple") print("wt" + "d" * 5) print(len("pine")) print(type(str(123)))
14.235294
22
0.607438
39
242
3.769231
0.615385
0.204082
0
0
0
0
0
0
0
0
0
0.051643
0.119835
242
17
23
14.235294
0.638498
0.03719
0
0
0
0
0.150215
0
0
0
0
0
0
1
0
false
0
0
0
0
0.75
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
0
0
0
0
0
0
1
0
2
580d1ca3f458852d073cedbcbcc5a16d06e60546
1,991
py
Python
tests/test_vdw.py
lynnehansen/kallisto
d7be52e8b7fc9f28e78e5805ae4f4923bd7e60c2
[ "Apache-2.0" ]
34
2021-02-05T08:35:20.000Z
2022-03-17T08:14:30.000Z
tests/test_vdw.py
albernsrya/kallisto
edc686257a4c8a98a7ec0ca78a38948634bb8523
[ "Apache-2.0" ]
38
2021-02-05T08:25:47.000Z
2021-09-13T09:24:37.000Z
tests/test_vdw.py
albernsrya/kallisto
edc686257a4c8a98a7ec0ca78a38948634bb8523
[ "Apache-2.0" ]
19
2021-02-05T07:43:35.000Z
2022-02-25T07:09:20.000Z
# tests/test_eeq.py import numpy as np from kallisto.units import Bohr from tests.store import ch_radical def test_vdw_rahm(): charge = 0 vdwtype = "rahm" scale = 1 mol = ch_radical() vdw = mol.get_vdw(charge, vdwtype, scale) assert np.isclose(vdw[0], 3.29019696) assert np.isclose(vdw[1]...
22.885057
45
0.642893
297
1,991
4.175084
0.164983
0.103226
0.193548
0.232258
0.697581
0.639516
0.526613
0.526613
0.526613
0.526613
0
0.112704
0.229031
1,991
86
46
23.151163
0.695114
0.008538
0
0.597015
0
0
0.022312
0
0
0
0
0
0.238806
1
0.119403
false
0
0.044776
0
0.164179
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
0
0
0
2
582a9937e83db4d1f41bab238ff3e572015e2789
7,608
py
Python
pysnmp/TIME-AGGREGATE-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/TIME-AGGREGATE-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/TIME-AGGREGATE-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module TIME-AGGREGATE-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/TIME-AGGREGATE-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 21:09:20 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, ...
101.44
1,006
0.777603
767
7,608
7.710561
0.215124
0.015556
0.01116
0.01488
0.341731
0.220156
0.218803
0.209334
0.19141
0.142712
0
0.052354
0.078601
7,608
74
1,007
102.810811
0.791298
0.043375
0
0.126984
0
0
0.197689
0.016646
0
0
0
0
0
1
0
false
0
0.126984
0
0.269841
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
58347a240a8a31d83210a69cf5c1e9468d21ba33
274
py
Python
1-10/solution5.py
jmugz3/euler
03e61dee707c9a3b66b7c745d042754052d628c3
[ "MIT" ]
null
null
null
1-10/solution5.py
jmugz3/euler
03e61dee707c9a3b66b7c745d042754052d628c3
[ "MIT" ]
null
null
null
1-10/solution5.py
jmugz3/euler
03e61dee707c9a3b66b7c745d042754052d628c3
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """ 2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder. What is the smallest positive number that is evenly divisible by all of the numbers from 1 to 20? https://projecteuler.net/problem=5 """
22.833333
70
0.755474
49
274
4.22449
0.714286
0.048309
0.125604
0.154589
0.183575
0.183575
0
0
0
0
0
0.053097
0.175182
274
11
71
24.909091
0.862832
0.959854
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
58407f48cf85578ebf4880318fa90b25a2c0a5b7
1,421
py
Python
Python3/790.py
rakhi2001/ecom7
73790d44605fbd51e8f7e804b9808e364fcfc680
[ "MIT" ]
854
2018-11-09T08:06:16.000Z
2022-03-31T06:05:53.000Z
Python3/790.py
rakhi2001/ecom7
73790d44605fbd51e8f7e804b9808e364fcfc680
[ "MIT" ]
29
2019-06-02T05:02:25.000Z
2021-11-15T04:09:37.000Z
Python3/790.py
rakhi2001/ecom7
73790d44605fbd51e8f7e804b9808e364fcfc680
[ "MIT" ]
347
2018-12-23T01:57:37.000Z
2022-03-12T14:51:21.000Z
__________________________________________________________________________________________________ sample 28 ms submission class Solution: def numTilings(self, N: int) -> int: #dp[N]=dp[N-1]+dp[N-2] + 2*(dp[N-3]+dp[N-4]+...dp[1]+dp[0]) ...eq(1) #dp[N-1] =dp[N-2]+dp[N-3] + 2*(dp[N-4]+dp[N-5]+....dp[0...
31.577778
98
0.491203
182
1,421
2.21978
0.241758
0.096535
0.049505
0.044554
0.430693
0.341584
0.30198
0.232673
0.232673
0
0
0.104677
0.368051
1,421
44
99
32.295455
0.345212
0.144968
0
0.243243
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
585e603274849d22e73a99cfd305f233e841cca8
416
py
Python
src/GAMUTRawData/odmdata/qualifier.py
ODM2/h2outility
78801e2de68a309069a602f5253a35f57fbc8ffd
[ "BSD-3-Clause" ]
null
null
null
src/GAMUTRawData/odmdata/qualifier.py
ODM2/h2outility
78801e2de68a309069a602f5253a35f57fbc8ffd
[ "BSD-3-Clause" ]
30
2017-07-19T21:20:36.000Z
2021-12-13T19:40:25.000Z
src/GAMUTRawData/odmdata/qualifier.py
ODM2/h2outility
78801e2de68a309069a602f5253a35f57fbc8ffd
[ "BSD-3-Clause" ]
1
2017-07-20T20:51:15.000Z
2017-07-20T20:51:15.000Z
from sqlalchemy import Column, Integer, String from base import Base class Qualifier(Base): __tablename__ = 'Qualifiers' id = Column('QualifierID', Integer, primary_key=True) code = Column('QualifierCode', String, nullable=False) description = Column('QualifierDescription', String, nullable=False) def __...
27.733333
81
0.71875
48
416
6.041667
0.5625
0.096552
0.131034
0
0
0
0
0
0
0
0
0
0.137019
416
14
82
29.714286
0.807799
0
0
0
0
0
0.199519
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0.111111
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
58616026954c08b6de460c7b0554ba9d44e17fc4
438
py
Python
hooks/post_gen_project.py
Nick-AI/research-cookiecutter
fa0a079044ec81611763ea69711ed650b9b56309
[ "MIT" ]
null
null
null
hooks/post_gen_project.py
Nick-AI/research-cookiecutter
fa0a079044ec81611763ea69711ed650b9b56309
[ "MIT" ]
null
null
null
hooks/post_gen_project.py
Nick-AI/research-cookiecutter
fa0a079044ec81611763ea69711ed650b9b56309
[ "MIT" ]
null
null
null
help = """ Your project has been created! If you have not done so already, create a conda environment for your new project with: cd {{cookiecutter.repo_name}} conda create --name {{cookiecutter.repo_name}} python=3.x conda activate {{cookiecutter.repo_name}} conda env export > environment.yml Install your new proje...
23.052632
73
0.753425
69
438
4.73913
0.637681
0.146789
0.183486
0.152905
0
0
0
0
0
0
0
0.00271
0.157534
438
18
74
24.333333
0.883469
0
0
0
0
0
0.940639
0.178082
0
0
0
0
0
1
0
false
0
0
0
0
0.076923
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
58633afbf910e1b3353d5dde4f3038e50096f628
185
py
Python
TestApp/urls.py
deCraftsmen-io/decraftsmen_webapp_1
a41dc6fa393bae7872a59cfb5fc4b2f731c0ad9e
[ "Apache-2.0" ]
null
null
null
TestApp/urls.py
deCraftsmen-io/decraftsmen_webapp_1
a41dc6fa393bae7872a59cfb5fc4b2f731c0ad9e
[ "Apache-2.0" ]
6
2020-08-09T18:31:14.000Z
2021-09-22T19:33:23.000Z
TestApp/urls.py
deCraftsmen-io/decraftsmen_webapp_1
a41dc6fa393bae7872a59cfb5fc4b2f731c0ad9e
[ "Apache-2.0" ]
null
null
null
from django.urls import path from . import views app_name = 'TestApp' urlpatterns = [ path('', views.index, name='index'), path('hello/<name>/', views.hello, name='hello'), ]
18.5
53
0.648649
24
185
4.958333
0.5
0.151261
0
0
0
0
0
0
0
0
0
0
0.167568
185
9
54
20.555556
0.772727
0
0
0
0
0
0.162162
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
586587d329002e1b1d42ea50e1310a4e26397ac9
2,773
py
Python
doozerlib/util.py
sosiouxme/doozer
9658169207773f9c228ad011f611867a4a9d5a77
[ "Apache-2.0" ]
null
null
null
doozerlib/util.py
sosiouxme/doozer
9658169207773f9c228ad011f611867a4a9d5a77
[ "Apache-2.0" ]
null
null
null
doozerlib/util.py
sosiouxme/doozer
9658169207773f9c228ad011f611867a4a9d5a77
[ "Apache-2.0" ]
null
null
null
from __future__ import absolute_import, print_function, unicode_literals import click import copy import os import errno def stringify(val): """ Accepts either str or bytes and returns a str """ try: val = val.decode('utf-8') except (UnicodeDecodeError, AttributeError): pass re...
28.010101
80
0.663902
403
2,773
4.516129
0.305211
0.030769
0.042308
0.061538
0.382967
0.318132
0.313736
0.299451
0.299451
0.221978
0
0.001372
0.211684
2,773
98
81
28.295918
0.831199
0.268662
0
0.061224
0
0
0.034501
0
0
0
0
0.010204
0
1
0.244898
false
0.020408
0.102041
0
0.428571
0.122449
0
0
0
null
0
0
0
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
2
586c073bdf91860de881c5b40c848e939bdeb650
1,298
py
Python
WorldBank2015/Code/data_pipeline_src/sql.py
AshwinJoshi1996/Fraud-Corruption-Detection-Data-Science-Pipeline-DSSG2015
4b4f67131267a3fd5f2f6ca1060325b15cb0fb7f
[ "MIT" ]
11
2015-11-03T04:46:05.000Z
2022-03-04T03:48:45.000Z
WorldBank2015/Code/data_pipeline_src/sql.py
AshwinJoshi1996/Fraud-Corruption-Detection-Data-Science-Pipeline-DSSG2015
4b4f67131267a3fd5f2f6ca1060325b15cb0fb7f
[ "MIT" ]
null
null
null
WorldBank2015/Code/data_pipeline_src/sql.py
AshwinJoshi1996/Fraud-Corruption-Detection-Data-Science-Pipeline-DSSG2015
4b4f67131267a3fd5f2f6ca1060325b15cb0fb7f
[ "MIT" ]
11
2016-04-13T14:31:03.000Z
2021-04-04T00:51:56.000Z
import psycopg2 import ConfigParser import pandas as pd def read_sql(table_name): """Read table_name into a pandas dataframe""" con = connect() #read table from database data = pd.read_sql_query('select * from "' + table_name + '"',con=con) con.close() return data def write_sql(data,tab...
18.542857
156
0.661017
165
1,298
5.024242
0.357576
0.054282
0.039807
0.033776
0.096502
0
0
0
0
0
0
0.001969
0.217257
1,298
69
157
18.811594
0.813976
0.081664
0
0.2
0
0
0.194742
0
0
0
0
0
0
0
null
null
0.066667
0.1
null
null
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
586e9818ee132680b59d0e44db61caccf22a6da4
1,011
py
Python
tripitsh.py
Wilm0r/tripit-co2
afb461e425f8474b48f142cbb7e1da0bbd3daae9
[ "Apache-2.0" ]
2
2020-01-07T23:16:38.000Z
2020-01-08T00:59:30.000Z
tripitsh.py
Wilm0r/tripit-co2
afb461e425f8474b48f142cbb7e1da0bbd3daae9
[ "Apache-2.0" ]
null
null
null
tripitsh.py
Wilm0r/tripit-co2
afb461e425f8474b48f142cbb7e1da0bbd3daae9
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python2 # # Copyright 2008-2018 Concur Technologies, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required...
31.59375
75
0.745796
152
1,011
4.894737
0.598684
0.056452
0.034946
0.043011
0
0
0
0
0
0
0
0.015205
0.154303
1,011
31
76
32.612903
0.854971
0.582591
0
0
0
0
0.201474
0
0
0
0
0
0
0
null
null
0.25
0.25
null
null
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
58a411f32970ac09e3df7530ccfe5e4012696712
334
py
Python
app/constants/permission.py
nycrecords/intranet
33b11d21246eac983d82483483f9d5257b226e12
[ "MIT" ]
2
2018-07-12T19:14:13.000Z
2022-01-31T03:19:34.000Z
app/constants/permission.py
nycrecords/intranet
33b11d21246eac983d82483483f9d5257b226e12
[ "MIT" ]
19
2018-07-13T15:01:00.000Z
2021-03-31T19:01:30.000Z
app/constants/permission.py
nycrecords/intranet
33b11d21246eac983d82483483f9d5257b226e12
[ "MIT" ]
1
2019-04-10T19:46:00.000Z
2019-04-10T19:46:00.000Z
NONE = 0x000000000 # Posting Permissions CREATE_POST = 0x000000001 EDIT_POST = 0x000000002 DELETE_POST = 0x000000004 # Documents Permissions UPLOAD_DOCUMENT = 0x000000008 EDIT_DOCUMENT = 0x000000010 DELETE_DOCUMENT = 0x000000020 # User Account Permissions CREATE_USER = 0x000000040 EDIT_USER = 0x000000080 DELETE_USER...
20.875
29
0.835329
36
334
7.5
0.611111
0.125926
0
0
0
0
0
0
0
0
0
0.342466
0.125749
334
16
30
20.875
0.582192
0.197605
0
0
0
0
0
0
0
0
0.415094
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
2
5437c9ae37d741b2f99e3c0edac58396292d340f
1,157
py
Python
example/tasks/migrations/0002_auto_20191014_1413.py
morlandi/django-task
19c00fd2f73e60c0c11a33fe195546f567f29361
[ "MIT" ]
46
2017-11-02T22:23:14.000Z
2022-02-16T11:56:58.000Z
example/tasks/migrations/0002_auto_20191014_1413.py
morlandi/django-task
19c00fd2f73e60c0c11a33fe195546f567f29361
[ "MIT" ]
10
2018-08-28T06:56:14.000Z
2021-12-27T17:49:30.000Z
example/tasks/migrations/0002_auto_20191014_1413.py
morlandi/django-task
19c00fd2f73e60c0c11a33fe195546f567f29361
[ "MIT" ]
6
2018-02-01T12:26:02.000Z
2021-09-07T11:13:04.000Z
# Generated by Django 2.2.6 on 2019-10-14 14:13 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('tasks', '0001_initial'), ] operations = [ migrations.AlterField( model_name='countbeanstask', name='status', ...
48.208333
358
0.600691
111
1,157
6.18018
0.432432
0.058309
0.072886
0.084548
0.673469
0.673469
0.673469
0.673469
0.673469
0.673469
0
0.026511
0.184961
1,157
23
359
50.304348
0.700954
0.038894
0
0.470588
1
0
0.326126
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
0
0
0
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
2
543aeefc35cd47dd29b3ec91dc5bf40fb0bf252f
854
py
Python
access_course/serializers.py
monishnarwani/access_course
0f262f381768fbe8f1a77ca861d1c2efd57c76f7
[ "CNRI-Python", "RSA-MD", "OML" ]
null
null
null
access_course/serializers.py
monishnarwani/access_course
0f262f381768fbe8f1a77ca861d1c2efd57c76f7
[ "CNRI-Python", "RSA-MD", "OML" ]
null
null
null
access_course/serializers.py
monishnarwani/access_course
0f262f381768fbe8f1a77ca861d1c2efd57c76f7
[ "CNRI-Python", "RSA-MD", "OML" ]
null
null
null
""" Course Unit API Serializers. Representing course unit catalog data """ from rest_framework import serializers class UnitSerializer(serializers.Serializer): """ Serializer for Course Unit objects providing minimal data about the course unit. """ id = serializers.CharField(read_only=True) ...
30.5
84
0.748244
99
854
6.282828
0.323232
0.115756
0.173633
0.360129
0.625402
0.445338
0.263666
0
0
0
0
0
0.163934
854
27
85
31.62963
0.871148
0.258782
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.090909
0
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
0
1
0
0
2
545ea16872f45d3ed85f9b2bf12605e44c7ccdb1
299
py
Python
test_data_iterator.py
jdieter31/riemannian-nlp
75ef47608c81ec6e925fe24d16c67985e4b987c6
[ "MIT" ]
3
2020-02-02T09:02:12.000Z
2021-07-24T03:38:35.000Z
test_data_iterator.py
jdieter31/riemannian-nlp
75ef47608c81ec6e925fe24d16c67985e4b987c6
[ "MIT" ]
1
2019-06-18T23:25:38.000Z
2019-08-16T13:10:18.000Z
test_data_iterator.py
jdieter31/riemannian-nlp
75ef47608c81ec6e925fe24d16c67985e4b987c6
[ "MIT" ]
2
2020-01-02T07:14:37.000Z
2020-06-25T15:50:08.000Z
# coding: utf-8 from riemann.config.config_loader import initialize_config from riemann.data.data_loader import get_training_data from riemann.config.graph_sampling_config import GraphSamplingConfig initialize_config() g = get_training_data() iter = g.get_neighbor_iterator(GraphSamplingConfig())
29.9
68
0.852843
40
299
6.075
0.475
0.135802
0.139918
0
0
0
0
0
0
0
0
0.003636
0.080268
299
9
69
33.222222
0.88
0.043478
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
547032ead1c15a26f82ac8520fb449baaa1e2f28
2,945
py
Python
claripy/claripy/frontend_mixins/constraint_filter_mixin.py
Ruide/angr-dev
964dc80c758e25c698c2cbcc454ef5954c5fa0a0
[ "BSD-2-Clause" ]
null
null
null
claripy/claripy/frontend_mixins/constraint_filter_mixin.py
Ruide/angr-dev
964dc80c758e25c698c2cbcc454ef5954c5fa0a0
[ "BSD-2-Clause" ]
null
null
null
claripy/claripy/frontend_mixins/constraint_filter_mixin.py
Ruide/angr-dev
964dc80c758e25c698c2cbcc454ef5954c5fa0a0
[ "BSD-2-Clause" ]
null
null
null
class ConstraintFilterMixin(object): def _constraint_filter(self, constraints, **kwargs): if type(constraints) not in (tuple, list): raise ClaripyValueError("The extra_constraints argument should be a list of constraints.") if len(constraints) == 0: return constraints ...
43.308824
102
0.665195
337
2,945
5.649852
0.178042
0.210084
0.157563
0.103992
0.565126
0.527836
0.438025
0.405462
0.405462
0.405462
0
0.001317
0.226486
2,945
67
103
43.955224
0.834504
0.008489
0
0.346154
0
0
0.0305
0
0
0
0
0
0
1
0.192308
false
0
0.038462
0
0.519231
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
0
0
0
0
0
1
0
0
2
547cd589eeef1ae793ce510821a6d715cdcbafd6
1,076
py
Python
Library/books/models.py
alirezaryahi/Library-with-django-and-ajax
0a84a8cb2f8f62959422ec60df674b47ea77c9a4
[ "MIT" ]
1
2021-02-04T21:20:37.000Z
2021-02-04T21:20:37.000Z
Library/books/models.py
alirezaryahi/Library-with-django-and-ajax
0a84a8cb2f8f62959422ec60df674b47ea77c9a4
[ "MIT" ]
null
null
null
Library/books/models.py
alirezaryahi/Library-with-django-and-ajax
0a84a8cb2f8f62959422ec60df674b47ea77c9a4
[ "MIT" ]
null
null
null
from django.contrib.auth.models import User from django.db import models # Create your models here. class Book(models.Model): title = models.CharField(max_length=200) subject = models.ForeignKey('Subject', on_delete=models.CASCADE, blank=True, null=True) author = models.ForeignKey('Author', on_delete=mo...
29.888889
91
0.716543
135
1,076
5.562963
0.355556
0.083888
0.071904
0.095872
0.486019
0.446072
0.446072
0.339547
0.186418
0.186418
0
0.01
0.163569
1,076
35
92
30.742857
0.824444
0.022305
0
0.304348
0
0
0.020952
0
0
0
0
0
0
1
0.130435
false
0
0.086957
0.130435
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
54938ba6e55842347d11043478044ebfdc8316f3
566
py
Python
eb_create_environment/utils.py
zagaran/eb-create-environment
a535b0bb01fd27879b9d36e4ea17a7982049c638
[ "MIT" ]
1
2021-06-22T17:24:51.000Z
2021-06-22T17:24:51.000Z
eb_create_environment/utils.py
zagaran/eb-create-environment
a535b0bb01fd27879b9d36e4ea17a7982049c638
[ "MIT" ]
null
null
null
eb_create_environment/utils.py
zagaran/eb-create-environment
a535b0bb01fd27879b9d36e4ea17a7982049c638
[ "MIT" ]
null
null
null
import random import string def generate_secure_password(length=32): return "".join(random.choices(string.ascii_letters + string.digits, k=length)) def poll_options(options): while True: for index, option in enumerate(options): print(f"[{index+1}]: {option}") val = input("Selecti...
23.583333
82
0.591873
61
566
5.393443
0.655738
0.085106
0
0
0
0
0
0
0
0
0
0.010309
0.314488
566
23
83
24.608696
0.837629
0
0
0.157895
1
0
0.056537
0
0
0
0
0
0
1
0.105263
false
0.210526
0.105263
0.052632
0.315789
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
5496a76366e98b27d3ecb84cbdda56820cd0fbc3
1,900
py
Python
example/util.py
vvhitedog/spectavi
7cfdf44803883a7cfdaf450e496fd28d7a327354
[ "MIT" ]
null
null
null
example/util.py
vvhitedog/spectavi
7cfdf44803883a7cfdaf450e496fd28d7a327354
[ "MIT" ]
null
null
null
example/util.py
vvhitedog/spectavi
7cfdf44803883a7cfdaf450e496fd28d7a327354
[ "MIT" ]
null
null
null
import numpy as np from matplotlib import image as mimage from time import time class Timer(object): """A simple timer context-manager, taken from https://blog.usejournal.com/how-to-create-your-own-timing-context-manager-in-python-a0e944b48cf8 """ def __init__(self, description): self.descri...
26.027397
100
0.611053
246
1,900
4.634146
0.50813
0.039474
0.015789
0
0
0
0
0
0
0
0
0.024234
0.261579
1,900
72
101
26.388889
0.788311
0.38
0
0
0
0
0.035305
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0
0.518519
0.037037
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
5496e78df826795534f1fecd4d95fdcd6e1da137
56
py
Python
homework_06/models/__init__.py
GalliyRazotto/05-2021_Homeworks
f6700f73d46694ac130fd707b94f0bde8902de63
[ "Unlicense" ]
null
null
null
homework_06/models/__init__.py
GalliyRazotto/05-2021_Homeworks
f6700f73d46694ac130fd707b94f0bde8902de63
[ "Unlicense" ]
null
null
null
homework_06/models/__init__.py
GalliyRazotto/05-2021_Homeworks
f6700f73d46694ac130fd707b94f0bde8902de63
[ "Unlicense" ]
null
null
null
from .product import Product _all_ = ( "Product", )
11.2
28
0.642857
6
56
5.666667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.232143
56
5
29
11.2
0.790698
0
0
0
0
0
0.122807
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
0
0
0
2
54974fd19b7e7c6844d1b2427b53e056565908d3
2,217
py
Python
cpair/point.py
kiancross/cpair
ea436ab1c06d709fafd1181387bf12697dee6d0d
[ "MIT" ]
null
null
null
cpair/point.py
kiancross/cpair
ea436ab1c06d709fafd1181387bf12697dee6d0d
[ "MIT" ]
52
2021-06-12T21:49:01.000Z
2022-03-29T07:14:28.000Z
cpair/point.py
kiancross/cpair
ea436ab1c06d709fafd1181387bf12697dee6d0d
[ "MIT" ]
null
null
null
# # Copyright (C) 2021 Kian Cross # from typing import Any import math class Point: """ Class representing a point on a plane. """ def __init__(self, x: float, y: float): """ Constructs a 2d point. Args: x: The x-coordinate of the point. y: The y-co...
22.85567
66
0.535408
268
2,217
4.339552
0.283582
0.025795
0.034394
0.043852
0.315563
0.299226
0.257954
0.257954
0.185727
0.185727
0
0.005054
0.375282
2,217
96
67
23.09375
0.834657
0.430311
0
0.181818
0
0
0.087432
0
0
0
0
0
0
1
0.272727
false
0
0.090909
0
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
54977af648e7aaa2b9d8873f9b6a4e39d739b943
900
py
Python
nipype/__init__.py
FredLoney/nipype
ceaa28dcbfe29ca4373479c897da9fc958167ccd
[ "BSD-3-Clause" ]
null
null
null
nipype/__init__.py
FredLoney/nipype
ceaa28dcbfe29ca4373479c897da9fc958167ccd
[ "BSD-3-Clause" ]
null
null
null
nipype/__init__.py
FredLoney/nipype
ceaa28dcbfe29ca4373479c897da9fc958167ccd
[ "BSD-3-Clause" ]
null
null
null
""" Nipype provides imaging Python interfaces and an analysis pipeline. """ import os __version__ = '0.9.0.pre' """The major.minor.patch[.extra] version designator. An empty *extra* qualifier corresponds to a production release. Other *extra* qualifiers signify a development release. """ from .utils.config import Nip...
33.333333
78
0.742222
114
900
5.701754
0.666667
0.043077
0.046154
0
0
0
0
0
0
0
0
0.004021
0.171111
900
26
79
34.615385
0.867292
0.115556
0
0
0
0
0.014706
0
0
0
0
0
0
1
0
false
0
0.538462
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
54a5e9b8b7f1b86f7498369a1e7d804ffdca1df5
7,568
py
Python
sdk/python/pulumi_spotinst/tables.py
346/pulumi-spotinst
7a9805f2f5ce96174c8122225772baffb87252c3
[ "ECL-2.0", "Apache-2.0" ]
1
2019-06-28T00:48:35.000Z
2019-06-28T00:48:35.000Z
sdk/python/pulumi_spotinst/tables.py
346/pulumi-spotinst
7a9805f2f5ce96174c8122225772baffb87252c3
[ "ECL-2.0", "Apache-2.0" ]
1
2019-12-10T22:44:29.000Z
2019-12-10T22:44:29.000Z
sdk/python/pulumi_spotinst/tables.py
346/pulumi-spotinst
7a9805f2f5ce96174c8122225772baffb87252c3
[ "ECL-2.0", "Apache-2.0" ]
1
2019-07-21T11:19:13.000Z
2019-07-21T11:19:13.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** _SNAKE_TO_CAMEL_CASE_TABLE = { "availability_zones": "availabilityZones", "backend_services": "backendServices", "beanstalk...
44.517647
106
0.736654
600
7,568
8.875
0.388333
0.029296
0.011268
0.008263
0.016901
0.016901
0
0
0
0
0
0.001371
0.132664
7,568
169
107
44.781065
0.809872
0.023388
0
0
1
0
0.730472
0.265602
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
49a62ea03d936e60aaacdb3a7ae4a2c6a8e51de4
439
py
Python
uer/subencoders/avg_subencoder.py
nju-websoft/TSQA
d0b3f0c3a5e55a46fc5d281cae09597aa7f76e2e
[ "Apache-2.0" ]
12
2020-12-19T05:26:49.000Z
2022-03-30T13:20:46.000Z
uer/subencoders/avg_subencoder.py
nju-websoft/TSQA
d0b3f0c3a5e55a46fc5d281cae09597aa7f76e2e
[ "Apache-2.0" ]
null
null
null
uer/subencoders/avg_subencoder.py
nju-websoft/TSQA
d0b3f0c3a5e55a46fc5d281cae09597aa7f76e2e
[ "Apache-2.0" ]
null
null
null
import torch import torch.nn as nn import sys import torch.nn.functional as F class AvgSubencoder(nn.Module): def __init__(self, args, vocab_size): super(AvgSubencoder, self).__init__() self.embedding_layer = nn.Embedding(vocab_size, args.emb_size) def forward(self, ids): em...
29.266667
75
0.67426
60
439
4.666667
0.483333
0.117857
0.092857
0
0
0
0
0
0
0
0
0.002976
0.234624
439
14
76
31.357143
0.830357
0.072893
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
49a6dbf2f696ba6484f16b95526c5a559780bf9d
211
py
Python
Tugas-1/Soal-2.py
adi-chang/basic-python
3b64aa42cf4260ea03f1bd27e5b1131cef81f87a
[ "CC0-1.0" ]
null
null
null
Tugas-1/Soal-2.py
adi-chang/basic-python
3b64aa42cf4260ea03f1bd27e5b1131cef81f87a
[ "CC0-1.0" ]
null
null
null
Tugas-1/Soal-2.py
adi-chang/basic-python
3b64aa42cf4260ea03f1bd27e5b1131cef81f87a
[ "CC0-1.0" ]
null
null
null
jari_jari = float(input('Nilai Jari - Jari Lingkaran ? ')) luas_lingkaran = 22 / 7 * jari_jari * jari_jari; print('Luas Lingkaran dengan jari-jari {} cm adalah {:.2f} cm\u00b2'.format(jari_jari, luas_lingkaran))
70.333333
103
0.729858
32
211
4.625
0.46875
0.378378
0.162162
0
0
0
0
0
0
0
0
0.038043
0.127962
211
3
103
70.333333
0.766304
0
0
0
0
0
0.424528
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
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
0
0
2
49ac8fac003a8fbd0359026ae87e6d23fee97a97
4,192
py
Python
trigger.py
akaeme/TeamUp
6f911fa4980c681707d01cad801964af5b306b34
[ "MIT" ]
null
null
null
trigger.py
akaeme/TeamUp
6f911fa4980c681707d01cad801964af5b306b34
[ "MIT" ]
null
null
null
trigger.py
akaeme/TeamUp
6f911fa4980c681707d01cad801964af5b306b34
[ "MIT" ]
2
2018-07-09T11:03:38.000Z
2019-01-02T11:15:17.000Z
import requests # EventsManager Configuration # BEGIN r = requests.get('http://192.168.1.100:5002/eventsManager/v1.1/internal/') print('{:30} - {:>20}'.format('EventsManager ', r.json().__str__())) # END # Facebook Configuration # BEGIN r = requests.get('http://192.168.1.100:5003/facebook/v1.0/internal/') print('{:3...
38.458716
102
0.671279
608
4,192
4.509868
0.098684
0.098468
0.109409
0.12035
0.729395
0.723559
0.723559
0.619256
0.619256
0.568928
0
0.132885
0.07729
4,192
108
103
38.814815
0.576008
0.125239
0
0.326087
0
0
0.562914
0
0
0
0
0
0
1
0
false
0
0.021739
0
0.021739
0.326087
0
0
0
null
0
0
0
0
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
2
49af0695f68ebb502b11863fbefc2e9dcb7e7164
270
py
Python
wrappers/wrappers.py
furyhawk/linearRegression
7ef8e83aec3f7bcbb6cb5f358cfffb5b6bc90e3d
[ "MIT" ]
7
2021-09-18T08:05:06.000Z
2021-11-19T11:57:38.000Z
wrappers/wrappers.py
furyhawk/linearRegression
7ef8e83aec3f7bcbb6cb5f358cfffb5b6bc90e3d
[ "MIT" ]
null
null
null
wrappers/wrappers.py
furyhawk/linearRegression
7ef8e83aec3f7bcbb6cb5f358cfffb5b6bc90e3d
[ "MIT" ]
1
2022-03-08T13:43:51.000Z
2022-03-08T13:43:51.000Z
from sklearn.cross_decomposition import PLSRegression from sklearn.svm import SVC class PLSRegressionWrapper(PLSRegression): def transform(self, X): return super().transform(X) def fit_transform(self, X, Y): return self.fit(X, Y).transform(X)
24.545455
53
0.722222
35
270
5.514286
0.514286
0.11399
0.145078
0
0
0
0
0
0
0
0
0
0.181481
270
10
54
27
0.873303
0
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.285714
0.285714
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
0
0
0
2
49b62945fd9d7ca4c99d77237621e94adb2f01bf
99
py
Python
examples/example1.py
Time2003/lr5
5513d79dec6581d128d6d64c7f08e2a34463c843
[ "MIT" ]
null
null
null
examples/example1.py
Time2003/lr5
5513d79dec6581d128d6d64c7f08e2a34463c843
[ "MIT" ]
null
null
null
examples/example1.py
Time2003/lr5
5513d79dec6581d128d6d64c7f08e2a34463c843
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- a = 3 if a > 2: print("H") else: print("L")
12.375
23
0.484848
17
99
2.823529
0.882353
0
0
0
0
0
0
0
0
0
0
0.054054
0.252525
99
8
24
12.375
0.594595
0.434343
0
0
0
0
0.036364
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
49d4932ec710fe9f9918137265c10d5db4b4881b
243
py
Python
hackerrank/30 Days of Code/Day 2/Operators.py
JLJTECH/TutorialTesting
f2dbbd49a86b3b086d0fc156ac3369fb74727f86
[ "MIT" ]
null
null
null
hackerrank/30 Days of Code/Day 2/Operators.py
JLJTECH/TutorialTesting
f2dbbd49a86b3b086d0fc156ac3369fb74727f86
[ "MIT" ]
null
null
null
hackerrank/30 Days of Code/Day 2/Operators.py
JLJTECH/TutorialTesting
f2dbbd49a86b3b086d0fc156ac3369fb74727f86
[ "MIT" ]
null
null
null
# Enter your code here. Read input from STDIN. Print output to STDOUT m = float(raw_input()); t = m * input() /100; x = m * input() /100; totalCost = round(m + x + t); print ('The total meal cost is' " " + str(int(totalCost)) + " " 'dollars.')
40.5
75
0.621399
39
243
3.846154
0.717949
0.08
0.12
0
0
0
0
0
0
0
0
0.030769
0.197531
243
6
75
40.5
0.738462
0.27572
0
0
0
0
0.182857
0
0
0
0
0.166667
0
1
0
false
0
0
0
0
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
2
49da99c18c2596df713bdf6d09d24b79f4dba8ae
223
py
Python
torch_lib/data_worker.py
troncosoae/jetson-exp
0c1a46b969b95bb9c350f78955ae6ca7f41b43b5
[ "MIT" ]
null
null
null
torch_lib/data_worker.py
troncosoae/jetson-exp
0c1a46b969b95bb9c350f78955ae6ca7f41b43b5
[ "MIT" ]
null
null
null
torch_lib/data_worker.py
troncosoae/jetson-exp
0c1a46b969b95bb9c350f78955ae6ca7f41b43b5
[ "MIT" ]
null
null
null
import torch import numpy as np def suit4pytorch(X, Y): X = np.swapaxes(X, 1, 3) X_norm = X/255 X_torch = torch.from_numpy(X_norm).float() Y_torch = torch.from_numpy(Y).long() return X_torch, Y_torch
18.583333
46
0.659193
40
223
3.475
0.45
0.071942
0.201439
0.273381
0
0
0
0
0
0
0
0.034483
0.219731
223
11
47
20.272727
0.764368
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.25
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
0
0
0
0
0
2
49dc25d7d19610a1394ad5d57561c8b0ef571b64
10,432
py
Python
shopyo/modules/box__default/auth/tests/test_auth_functional.py
NicoPlyley/shopyo
422d1c4e4d6ff75555ece963ab801e6b29bedf9b
[ "MIT" ]
null
null
null
shopyo/modules/box__default/auth/tests/test_auth_functional.py
NicoPlyley/shopyo
422d1c4e4d6ff75555ece963ab801e6b29bedf9b
[ "MIT" ]
null
null
null
shopyo/modules/box__default/auth/tests/test_auth_functional.py
NicoPlyley/shopyo
422d1c4e4d6ff75555ece963ab801e6b29bedf9b
[ "MIT" ]
null
null
null
""" This file (test_auth_functional.py) contains the functional tests for the `auth` blueprint. These tests use GETs and POSTs to different endpoints to check for the proper behavior of the `auth` module """ from flask import url_for from flask import request import pytest import os import json import threading from m...
34.889632
79
0.647143
1,267
10,432
5.099448
0.142068
0.058814
0.03405
0.061755
0.766754
0.716762
0.683486
0.666151
0.622349
0.586287
0
0.007747
0.257573
10,432
298
80
35.006711
0.826469
0.058666
0
0.549784
0
0
0.169173
0.038253
0
0
0
0
0.268398
1
0.082251
false
0.073593
0.034632
0
0.12987
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
49e1596c7ffc5c4d7ffa6314ad53b283aa0ec83c
1,377
py
Python
Clase7 15-11-2021/Stack/E1_reversePolish.py
FabiTaparaQuispe/LabADAGrupoB
cb12f6408329ac94b47425615545e094e65b3875
[ "BSD-3-Clause" ]
null
null
null
Clase7 15-11-2021/Stack/E1_reversePolish.py
FabiTaparaQuispe/LabADAGrupoB
cb12f6408329ac94b47425615545e094e65b3875
[ "BSD-3-Clause" ]
null
null
null
Clase7 15-11-2021/Stack/E1_reversePolish.py
FabiTaparaQuispe/LabADAGrupoB
cb12f6408329ac94b47425615545e094e65b3875
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python ## Ejercicio 1 reverse Polish Notation ## Autor: Fabiola Tapara Quispe ## Description: Mediante el siguiente metodo recibe un string con datos y signos con operaciones basicas (+, -, *, /) usando una Pila como estructura. ## * Date: 15/11/21 def sum (a, b): return a + b def resta (a, b): ...
24.157895
151
0.538853
167
1,377
4.443114
0.491018
0.021563
0.043127
0.048518
0.345013
0.222372
0
0
0
0
0
0.037473
0.321714
1,377
56
152
24.589286
0.756959
0.219317
0
0.135135
0
0
0.096045
0
0
0
0
0.017857
0
1
0.135135
false
0
0
0.108108
0.27027
0.162162
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
1
0
0
0
2
49eb8f86be2f0a7fb189d7c89deb96c16f71db49
805
py
Python
spark_auto_mapper_fhir/value_sets/v2_0739.py
imranq2/SparkAutoMapper.FHIR
dd23b218fb0097d1edc2f3e688e8d6d4d7278bd2
[ "Apache-2.0" ]
1
2020-10-31T23:25:07.000Z
2020-10-31T23:25:07.000Z
spark_auto_mapper_fhir/value_sets/v2_0739.py
icanbwell/SparkAutoMapper.FHIR
98f368e781b46523142c7cb513c670d659a93c9b
[ "Apache-2.0" ]
null
null
null
spark_auto_mapper_fhir/value_sets/v2_0739.py
icanbwell/SparkAutoMapper.FHIR
98f368e781b46523142c7cb513c670d659a93c9b
[ "Apache-2.0" ]
null
null
null
from __future__ import annotations from spark_auto_mapper_fhir.fhir_types.uri import FhirUri from spark_auto_mapper_fhir.value_sets.generic_type import GenericTypeCode from spark_auto_mapper.type_definitions.defined_types import AutoMapperTextInputType # This file is auto-generated by generate_classes so do not edi...
32.2
85
0.760248
106
805
5.518868
0.537736
0.051282
0.066667
0.097436
0.25812
0.179487
0.179487
0
0
0
0
0.052786
0.152795
805
24
86
33.541667
0.804985
0.31677
0
0
0
0
0.092275
0
0
0
0
0
0
1
0.125
false
0
0.5
0
0.875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
b71a10c431fb34b4c2af939906845fdb3dbc1a7f
248
py
Python
lab02-vpc/__main__.py
KunalNK/pulumi-tutorials
2ebfd0ba1eb6c7538dc10dc2d893da2098dc6314
[ "Apache-2.0" ]
null
null
null
lab02-vpc/__main__.py
KunalNK/pulumi-tutorials
2ebfd0ba1eb6c7538dc10dc2d893da2098dc6314
[ "Apache-2.0" ]
null
null
null
lab02-vpc/__main__.py
KunalNK/pulumi-tutorials
2ebfd0ba1eb6c7538dc10dc2d893da2098dc6314
[ "Apache-2.0" ]
5
2021-08-18T18:16:20.000Z
2021-08-23T21:30:31.000Z
import pulumi import pulumi_aws as aws # Resource Block # Resource-1: Create VPC myvpc = aws.ec2.Vpc("myvpc", cidr_block="10.0.0.0/16", tags={ "Name": "myvpc", })
22.545455
45
0.455645
28
248
3.964286
0.607143
0.216216
0
0
0
0
0
0
0
0
0
0.06338
0.427419
248
10
46
24.8
0.71831
0.149194
0
0
0
0
0.120192
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
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
0
0
0
0
0
2
b72f6e1717a26a4cd16047621a88811ccc00453e
55
py
Python
virtual/lib/python3.8/site-packages/friendship/__init__.py
erastus-1/GramApp
d926a8a894b5dc673d077b35f9df867dab737372
[ "MIT" ]
1
2020-08-10T15:15:01.000Z
2020-08-10T15:15:01.000Z
virtual/lib/python3.8/site-packages/friendship/__init__.py
erastus-1/GramApp
d926a8a894b5dc673d077b35f9df867dab737372
[ "MIT" ]
6
2020-06-06T13:38:21.000Z
2022-03-12T00:33:41.000Z
virtual/lib/python3.8/site-packages/friendship/__init__.py
erastus-1/GramApp
d926a8a894b5dc673d077b35f9df867dab737372
[ "MIT" ]
1
2021-02-15T09:12:15.000Z
2021-02-15T09:12:15.000Z
__version__ = "1.9.1" VERSION = __version__.split(".")
18.333333
32
0.672727
7
55
4.142857
0.571429
0
0
0
0
0
0
0
0
0
0
0.061224
0.109091
55
2
33
27.5
0.530612
0
0
0
0
0
0.109091
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
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
2
b73fc1d2a0edf5bceaf45111c067f487f00f7d2f
4,133
py
Python
CxType/source_code_settings.py
binqsoft/CxPy
f2f452f2653d9a8e072f56bc0bf6e908670f39c6
[ "MIT" ]
6
2017-12-12T12:05:47.000Z
2019-09-14T12:10:02.000Z
CxType/source_code_settings.py
binqsoft/CxPy
f2f452f2653d9a8e072f56bc0bf6e908670f39c6
[ "MIT" ]
null
null
null
CxType/source_code_settings.py
binqsoft/CxPy
f2f452f2653d9a8e072f56bc0bf6e908670f39c6
[ "MIT" ]
4
2017-12-12T12:05:50.000Z
2019-09-14T12:10:03.000Z
# coding=utf-8 from common import Common from source_location_type import SourceLocationType from credentials import Credentials from array_of_scan_path import ArrayOfScanPath from source_control_settings import SourceControlSettings from local_code_container import LocalCodeContainer from source_filter_patterns impor...
55.851351
122
0.696588
455
4,133
5.894505
0.208791
0.0522
0.067114
0.049217
0.383669
0.246831
0.226324
0.08352
0
0
0
0.00258
0.249698
4,133
73
123
56.616438
0.862302
0.025647
0
0.030769
0
0
0.031817
0.00522
0
0
0
0
0
0
null
null
0.092308
0.107692
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
3f766db7f175c589f1ac423ecbbc565ea3d1c84b
2,610
py
Python
view.py
macie/flaneur
5777fade5d2110b57e893b73aa66e08ac1c88477
[ "MIT" ]
null
null
null
view.py
macie/flaneur
5777fade5d2110b57e893b73aa66e08ac1c88477
[ "MIT" ]
null
null
null
view.py
macie/flaneur
5777fade5d2110b57e893b73aa66e08ac1c88477
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ A view module. """ from response import Response class View(object): """ A View object. """ def __init__(self): pass def delete(self, request): """ HTTP DELETE method implementation. Args: request: A Reque...
21.932773
65
0.512261
229
2,610
5.820961
0.218341
0.074269
0.07877
0.162791
0.624906
0.624906
0.533383
0.533383
0.533383
0.533383
0
0.011061
0.411111
2,610
118
66
22.118644
0.856213
0.375096
0
0.4
0
0
0.060811
0
0
0
0
0
0
1
0.333333
false
0.033333
0.033333
0
0.533333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
3f790b538f1258c5998f30e81d665cc718749c17
426
py
Python
peak_volumes.py
Static-Void-Academy/M0_C3
8912faeeddf21eac63eb743860f25551de54c4b8
[ "MIT" ]
null
null
null
peak_volumes.py
Static-Void-Academy/M0_C3
8912faeeddf21eac63eb743860f25551de54c4b8
[ "MIT" ]
null
null
null
peak_volumes.py
Static-Void-Academy/M0_C3
8912faeeddf21eac63eb743860f25551de54c4b8
[ "MIT" ]
3
2020-04-06T01:24:43.000Z
2021-05-30T07:39:44.000Z
# M0_C4 - Peak Volumes def get_peak_volumes(volumes): # Write your code here return "not implemented" #### DO NOT TOUCH CODE BELOW THIS LINE #### if __name__ == '__main__': """This code is for manual testing and is provided for your convenience.""" test_volumes = input("Input space-separated list of v...
30.428571
79
0.694836
61
426
4.606557
0.655738
0.117438
0.099644
0
0
0
0
0
0
0
0
0.005831
0.194836
426
13
80
32.769231
0.813411
0.176056
0
0
0
0
0.235741
0
0
0
0
0.076923
0
1
0.166667
false
0
0
0.166667
0.333333
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
1
0
0
0
2
3f7cfc6cc53ecd1f196adb9def25f64aa7edf977
1,025
py
Python
ejercicios/E13.py
mariajosearias/Esctructura-de-control-selectivas
323d3a2c3f9a65cccef64799bd002064dbc817ba
[ "MIT" ]
null
null
null
ejercicios/E13.py
mariajosearias/Esctructura-de-control-selectivas
323d3a2c3f9a65cccef64799bd002064dbc817ba
[ "MIT" ]
null
null
null
ejercicios/E13.py
mariajosearias/Esctructura-de-control-selectivas
323d3a2c3f9a65cccef64799bd002064dbc817ba
[ "MIT" ]
null
null
null
""" Entradas dia-->int mes-->int Salidas singno zodiacal-->float """ dia = int (input ('Digite el numero de dia: ')) mes = int (input ("Digite el numero de mes: ")) if (dia>=21 and mes==3) or (dia<=20 and mes==4): print ('Aries') if (dia>=24 and mes==9) or (dia<=23 and mes==10): print ('Libra') if (dia>=21 and...
29.285714
50
0.57561
194
1,025
3.041237
0.242268
0.244068
0.094915
0.130508
0.525424
0.081356
0
0
0
0
0
0.094317
0.193171
1,025
35
51
29.285714
0.619105
0.058537
0
0
0
0
0.132568
0
0
0
0
0
0
1
0
false
0
0
0
0
0.481481
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
0
0
0
0
0
0
1
0
2
3f84c4a542c1d50c15838236723a5abc6613355a
542
py
Python
experiments-xml/prettyprint.py
CherryKitty/PROTON-OC
a116103aed3f2286db40b092c2d797a59e8b1a39
[ "MIT" ]
3
2020-02-23T10:33:55.000Z
2021-04-16T08:11:29.000Z
experiments-xml/prettyprint.py
Deh18/PROTON-OC
09f74038adadee13dfb61d3264fe0171a2db6612
[ "MIT" ]
46
2020-04-24T15:50:19.000Z
2021-09-13T09:53:47.000Z
experiments-xml/prettyprint.py
Deh18/PROTON-OC
09f74038adadee13dfb61d3264fe0171a2db6612
[ "MIT" ]
1
2021-12-25T01:36:48.000Z
2021-12-25T01:36:48.000Z
#pretty print method def indent(elem, level=0): i = "\n" + level*" " j = "\n" + (level-1)*" " if len(elem): if not elem.text or not elem.text.strip(): elem.text = i + " " if not elem.tail or not elem.tail.strip(): elem.tail = i for subelem in elem: ...
28.526316
62
0.51107
79
542
3.506329
0.316456
0.259928
0.238267
0.140794
0.422383
0.422383
0.422383
0.422383
0.422383
0.422383
0
0.008621
0.357934
542
18
63
30.111111
0.787356
0.035055
0
0.25
0
0
0.019194
0
0
0
0
0
0
1
0.0625
false
0
0
0
0.125
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3f868d74dbfe02f355c889996316b41b4a76d640
2,200
py
Python
old/pepper1/src/test/parser/test_operators.py
andybalaam/pepper
f0d12379c7c6e2d82003c0c1d6130bfac685e1c3
[ "MIT" ]
2
2018-12-19T16:32:46.000Z
2019-01-10T09:00:33.000Z
old/pepper1/src/test/parser/test_operators.py
andybalaam/pepper
f0d12379c7c6e2d82003c0c1d6130bfac685e1c3
[ "MIT" ]
null
null
null
old/pepper1/src/test/parser/test_operators.py
andybalaam/pepper
f0d12379c7c6e2d82003c0c1d6130bfac685e1c3
[ "MIT" ]
null
null
null
# Copyright (C) 2012 Andy Balaam and The Pepper Developers # Released under the MIT License. See the file COPYING.txt for details. from assert_parser_result import assert_parser_result def test_operator_plus(): assert_parser_result( r""" 0001:0001 SYMBOL(a) 0001:0002 PLUS(+) 0001:0003 SYMBO...
15.172414
72
0.528182
259
2,200
4.362934
0.258687
0.074336
0.127434
0.100885
0.586726
0.586726
0.483186
0.330089
0.19292
0.19292
0
0.143871
0.295455
2,200
144
73
15.277778
0.585161
0.057727
0
0.774194
0
0
0
0
0
0
0
0
0.225806
1
0.193548
true
0
0.032258
0
0.225806
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
3f961f547877c592b5fe72f2cae89fbf22d12aae
238
py
Python
redlightmanager/core/exceptions.py
TaherAbbasi/redlightmanager
3e18949e381682e23572321a9831189e3865a8c9
[ "MIT" ]
null
null
null
redlightmanager/core/exceptions.py
TaherAbbasi/redlightmanager
3e18949e381682e23572321a9831189e3865a8c9
[ "MIT" ]
null
null
null
redlightmanager/core/exceptions.py
TaherAbbasi/redlightmanager
3e18949e381682e23572321a9831189e3865a8c9
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # This work is licensed under the MIT License. # To view a copy of this license, visit https://www.gnu.org/licenses/ # Written by Taher Abbasi # Email: abbasi.taher@gmail.com class WrongSide(Exception): pass
23.8
69
0.705882
37
238
4.540541
0.891892
0
0
0
0
0
0
0
0
0
0
0.005076
0.172269
238
10
70
23.8
0.847716
0.789916
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
2
3f99ff46112498ca33a98335381f230250f45b75
4,638
py
Python
dibs/tests/daemon/recovery_client.py
emin63/dibs
419b2fad041aee40647429d3c1faac52c92c25a3
[ "MIT" ]
null
null
null
dibs/tests/daemon/recovery_client.py
emin63/dibs
419b2fad041aee40647429d3c1faac52c92c25a3
[ "MIT" ]
null
null
null
dibs/tests/daemon/recovery_client.py
emin63/dibs
419b2fad041aee40647429d3c1faac52c92c25a3
[ "MIT" ]
null
null
null
#!/usr/bin/python __doc__ = """ This testcase verifies that recovery works properly. This file creates a directory for the client, initializes the required DIBS stuff in that directory, stores some files with two peers, recovers the stored files using the recover_all command, and checks if the stored files were recov...
32.661972
203
0.686503
617
4,638
4.920583
0.257699
0.100791
0.145586
0.084321
0.522727
0.393281
0.306983
0.284585
0.236825
0.236825
0
0.009893
0.150065
4,638
141
204
32.893617
0.760274
0.018758
0
0.287234
0
0.021277
0.434323
0.073047
0
0
0
0
0
0
null
null
0.053191
0.021277
null
null
0.148936
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
3fa4c991c1553314395e68638676a4fe9d149b33
4,043
py
Python
04Cuarto/Sistemas_y_proteccion_de_sistemas_informaticos_SPSI/Practica5/src/view_app/Window.py
elsudano/Facultad
8ff2c5904f0a38a3a0682e040da4439f2bc872f2
[ "MIT" ]
2
2017-02-20T09:26:42.000Z
2021-11-21T21:56:35.000Z
04Cuarto/Sistemas_y_proteccion_de_sistemas_informaticos_SPSI/Practica5/src/view_app/Window.py
elsudano/Facultad
8ff2c5904f0a38a3a0682e040da4439f2bc872f2
[ "MIT" ]
1
2016-10-06T16:59:39.000Z
2017-09-21T08:04:51.000Z
04Cuarto/Sistemas_y_proteccion_de_sistemas_informaticos_SPSI/Practica5/src/view_app/Window.py
elsudano/Facultad
8ff2c5904f0a38a3a0682e040da4439f2bc872f2
[ "MIT" ]
4
2016-10-06T16:41:01.000Z
2019-11-21T12:37:20.000Z
#!/usr/bin/python # -*- coding: UTF-8 -*- """Ventana principal del programa. Con esto se pretende abstraer la parte de la vista del programa así pues, se genera un controlador que se encarga de todas las vistas del programa. """ try: import Tkinter as gui_library except ImportError: import tkinter as gui_libra...
30.628788
85
0.600049
502
4,043
4.671315
0.346614
0.080597
0.060981
0.028998
0.147548
0.073348
0.073348
0.073348
0.073348
0.073348
0
0.00571
0.30695
4,043
131
86
30.862595
0.831192
0.514469
0
0.1
0
0
0.021411
0
0
0
0
0.007634
0
1
0.25
false
0
0.075
0
0.525
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
3fac0a1fd64e75727c57ac3b4c9a8f43c24f1fe4
7,454
py
Python
src/bitpay/models/invoice/refund.py
ppatidar2021/python-bitpay-client
b0bd6ef6f2ce2950fb42e6583113e225639a4340
[ "MIT" ]
null
null
null
src/bitpay/models/invoice/refund.py
ppatidar2021/python-bitpay-client
b0bd6ef6f2ce2950fb42e6583113e225639a4340
[ "MIT" ]
null
null
null
src/bitpay/models/invoice/refund.py
ppatidar2021/python-bitpay-client
b0bd6ef6f2ce2950fb42e6583113e225639a4340
[ "MIT" ]
null
null
null
""" Refund """ from .refund_params import RefundParams from ...utils import key_utils class Refund: """ Refund an invoice """ __guid = None __refund_email = None __amount = None __currency = None __token = None __id = None __request_date = None __status = None __params...
24.60066
83
0.553931
803
7,454
4.790785
0.084682
0.058227
0.099818
0.066545
0.309852
0.145828
0.082142
0.030153
0.020795
0
0
0.000834
0.356721
7,454
302
84
24.682119
0.80146
0.234907
0
0
0
0
0.033869
0.004716
0
0
0
0
0
1
0.269841
false
0.007937
0.015873
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
3fb3cb058741bd00337bc936fd8ca55e7ea4e085
20,043
py
Python
pysnmp-with-texts/Juniper-IPV6-PROFILE-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/Juniper-IPV6-PROFILE-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/Juniper-IPV6-PROFILE-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module Juniper-IPV6-PROFILE-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Juniper-IPV6-PROFILE-MIB # Produced by pysmi-0.3.4 at Wed May 1 14:03:09 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7....
167.025
1,896
0.796438
2,274
20,043
7.018909
0.190413
0.009273
0.072364
0.043418
0.356243
0.23169
0.213646
0.211265
0.169664
0.169664
0
0.067485
0.089158
20,043
119
1,897
168.428571
0.806803
0.017063
0
0.045872
0
0.137615
0.402143
0.086228
0
0
0
0
0
1
0
false
0
0.091743
0
0.091743
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3fba093cf57e7b415bb798d4a1592171dc2516af
234
py
Python
hub/urls.py
NexClipper/exporterhub-be
5c8eea9a9d38d3f16cfdf498db2278c1564e3449
[ "Apache-2.0" ]
3
2020-11-23T09:18:50.000Z
2021-01-07T08:52:04.000Z
hub/urls.py
NexClipper/exporterhub-be
5c8eea9a9d38d3f16cfdf498db2278c1564e3449
[ "Apache-2.0" ]
null
null
null
hub/urls.py
NexClipper/exporterhub-be
5c8eea9a9d38d3f16cfdf498db2278c1564e3449
[ "Apache-2.0" ]
1
2020-11-24T10:14:06.000Z
2020-11-24T10:14:06.000Z
from django.urls import path from .views import MainView, CategoryView, RepositoryView urlpatterns = [ path('', MainView.as_view()), path('category', CategoryView.as_view()), path('exporter', RepositoryView.as_view()), ]
26
57
0.713675
26
234
6.307692
0.538462
0.109756
0.121951
0
0
0
0
0
0
0
0
0
0.141026
234
8
58
29.25
0.81592
0
0
0
0
0
0.068376
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3fbdab8a83492e15710bc5e5a11f78d5d9a2b56b
750
py
Python
nbdevtest101/core.py
mathewhall100/nbdevtest101
3745dec5addf4c65c8e747d46d55ab731ad137a5
[ "Apache-2.0" ]
null
null
null
nbdevtest101/core.py
mathewhall100/nbdevtest101
3745dec5addf4c65c8e747d46d55ab731ad137a5
[ "Apache-2.0" ]
2
2021-09-28T00:27:32.000Z
2022-02-26T06:24:39.000Z
nbdevtest101/core.py
mathewhall100/nbdevtest101
3745dec5addf4c65c8e747d46d55ab731ad137a5
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED! DO NOT EDIT! File to edit: 00_core.ipynb (unless otherwise specified). __all__ = ['say_hello', 'HelloSayer', 'bubble_scatter'] # Cell import numpy as np import matplotlib.pyplot as plt # Cell def say_hello(to): "Say hello to anybody" return f'Hello {to}!' # Cell class HelloSayer: "Say h...
25
87
0.677333
125
750
3.944
0.488
0.097363
0.097363
0.105477
0
0
0
0
0
0
0
0.029508
0.186667
750
30
88
25
0.778689
0.312
0
0
1
0
0.240711
0
0
0
0
0
0
1
0.210526
false
0
0.105263
0.052632
0.421053
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
3fbf71bbc095dc9f2f18cadb481257b2c711e957
4,837
py
Python
ros/src/waypoint_updater/waypoint_updater.py
prasoongupta/autonomous_driving-system_integration
c027d2a3f7a4e590a9b8565b908a0bb9bb23a502
[ "MIT" ]
null
null
null
ros/src/waypoint_updater/waypoint_updater.py
prasoongupta/autonomous_driving-system_integration
c027d2a3f7a4e590a9b8565b908a0bb9bb23a502
[ "MIT" ]
null
null
null
ros/src/waypoint_updater/waypoint_updater.py
prasoongupta/autonomous_driving-system_integration
c027d2a3f7a4e590a9b8565b908a0bb9bb23a502
[ "MIT" ]
null
null
null
#!/usr/bin/env python import rospy from geometry_msgs.msg import PoseStamped from styx_msgs.msg import Lane, Waypoint from std_msgs.msg import Int32 from scipy.spatial import KDTree import math import numpy as np ''' This node will publish waypoints from the car's current position to some `x` distance ahead. As menti...
33.590278
122
0.719247
730
4,837
4.615068
0.283562
0.05046
0.031167
0.030276
0.060552
0.035025
0.020778
0.020778
0
0
0
0.011854
0.180277
4,837
143
123
33.825175
0.837831
0.15216
0
0
0
0
0.035311
0
0
0
0
0.013986
0
0
null
null
0.011364
0.079545
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
2
3fc48890b9c94b1e478c3e9ba7181630b4e3c533
6,542
py
Python
actinia_stac_plugin/core/stac_redis_interface.py
mmacata/actinia-stac-plugin
3a8d20b06af332e3eaafa3134bb365530554a5cb
[ "Apache-2.0" ]
null
null
null
actinia_stac_plugin/core/stac_redis_interface.py
mmacata/actinia-stac-plugin
3a8d20b06af332e3eaafa3134bb365530554a5cb
[ "Apache-2.0" ]
null
null
null
actinia_stac_plugin/core/stac_redis_interface.py
mmacata/actinia-stac-plugin
3a8d20b06af332e3eaafa3134bb365530554a5cb
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Copyright (c) 2018-2021 mundialis GmbH & Co. KG 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...
34.797872
79
0.664629
791
6,542
5.237674
0.223767
0.314989
0.213372
0.070963
0.470432
0.389814
0.370987
0.343471
0.284094
0.226406
0
0.005271
0.274992
6,542
188
80
34.797872
0.868227
0.394986
0
0.5
0
0
0.07894
0.036369
0
0
0
0
0
1
0.0875
false
0
0.025
0
0.275
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3fc65a2b33beeaf4b192e751980c2ffee8daae01
1,832
py
Python
configuration/test/test_belief_observation_space.py
eeshakumar/hythe
52ca795c8370ddfb2aa6fb87ff3f63a85c55f913
[ "MIT" ]
null
null
null
configuration/test/test_belief_observation_space.py
eeshakumar/hythe
52ca795c8370ddfb2aa6fb87ff3f63a85c55f913
[ "MIT" ]
null
null
null
configuration/test/test_belief_observation_space.py
eeshakumar/hythe
52ca795c8370ddfb2aa6fb87ff3f63a85c55f913
[ "MIT" ]
null
null
null
import numpy as np import os import unittest from bark.runtime.viewer.matplotlib_viewer import MPViewer from bark.runtime.commons.parameters import ParameterServer from hythe.libs.observer.belief_observer import BeliefObserver from bark.runtime.scenario.scenario_generation.configurable_scenario_generation \ import C...
43.619048
106
0.825328
214
1,832
6.747664
0.439252
0.044321
0.041551
0.031856
0.106648
0.106648
0.106648
0.106648
0.106648
0.106648
0
0.001238
0.117904
1,832
42
107
43.619048
0.892327
0
0
0.058824
0
0
0.078014
0.07365
0
0
0
0
0.029412
1
0.029412
false
0
0.470588
0
0.529412
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
3fe2086f9adbe52416c4850eda9575e4da179b9e
4,900
py
Python
forca/modulo/tratamento_de_strings/coisas_estéticas.py
murilo-henrique060/tentando-criar-um-jogo-da-forca
9904302d06dbe3048d9b4b873d3fd96879fa4e83
[ "MIT" ]
null
null
null
forca/modulo/tratamento_de_strings/coisas_estéticas.py
murilo-henrique060/tentando-criar-um-jogo-da-forca
9904302d06dbe3048d9b4b873d3fd96879fa4e83
[ "MIT" ]
null
null
null
forca/modulo/tratamento_de_strings/coisas_estéticas.py
murilo-henrique060/tentando-criar-um-jogo-da-forca
9904302d06dbe3048d9b4b873d3fd96879fa4e83
[ "MIT" ]
null
null
null
def linha(simb='=',tam=42): """[Cria uma linha] Args: simb (str, optional): [O símbolo que Vai Formar a linha]. Defaults to '='. tam (int, optional): [Tamanho da Linha]. Defaults to 42. Criado por: Murilo_Henrique060 """ print(f'{simb}'*tam) def cabeçalho(simb='=',txt='ESCRE...
42.241379
139
0.373673
438
4,900
4.130137
0.36758
0.055279
0.022112
0.043118
0.121614
0.090658
0.043118
0.043118
0.043118
0
0
0.019599
0.531429
4,900
116
140
42.241379
0.768293
0.223265
0
0.271605
0
0.024691
0.70558
0.007313
0
0
0
0
0
1
0.074074
false
0
0.012346
0
0.135802
0.098765
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3feb9fcb2cae463c5dfbf5931196622825a4bee4
632
py
Python
Methods/Slot/SlotWind/comp_surface_wind.py
Superomeg4/pyleecan
2b695b5f39e77475a07aa0ea89489fb0a9659337
[ "Apache-2.0" ]
2
2020-06-29T13:48:37.000Z
2021-06-15T07:34:05.000Z
Methods/Slot/SlotWind/comp_surface_wind.py
Superomeg4/pyleecan
2b695b5f39e77475a07aa0ea89489fb0a9659337
[ "Apache-2.0" ]
null
null
null
Methods/Slot/SlotWind/comp_surface_wind.py
Superomeg4/pyleecan
2b695b5f39e77475a07aa0ea89489fb0a9659337
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """@package Methods.Machine.SlotWind.comp_surface_wind Slot Winding Computation of surface (Numerical) method @date Created on Wed Jul 25 14:22:33 2018 @copyright (C) 2014-2015 EOMYS ENGINEERING. @author pierre_b """ def comp_surface_wind(self): """Compute the Slot winding surface (by nume...
21.793103
67
0.656646
86
632
4.732558
0.72093
0.081081
0.07371
0
0
0
0
0
0
0
0
0.05071
0.219937
632
28
68
22.571429
0.774848
0.71519
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
3fed90681639089557ec046d17781cdb6ea98e61
1,983
py
Python
objectModel/Python/cdm/persistence/cdmfolder/projections/operation_add_attribute_group_persistence.py
dhoffland/CDM
e2c7718a4755e2c0b112b579bde009fd3a5bf37a
[ "CC-BY-4.0", "MIT" ]
1
2020-10-17T14:07:55.000Z
2020-10-17T14:07:55.000Z
objectModel/Python/cdm/persistence/cdmfolder/projections/operation_add_attribute_group_persistence.py
dhoffland/CDM
e2c7718a4755e2c0b112b579bde009fd3a5bf37a
[ "CC-BY-4.0", "MIT" ]
5
2021-07-05T15:32:15.000Z
2022-01-04T16:51:11.000Z
objectModel/Python/cdm/persistence/cdmfolder/projections/operation_add_attribute_group_persistence.py
lukeenterprise/CDM
96c1da8b4bafe132eaee7243d9b7c6e42e87fc18
[ "CC-BY-4.0", "MIT" ]
null
null
null
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. from typing import TYPE_CHECKING from cdm.enums import CdmObjectType from cdm.enums.cdm_operation_type import OperationTypeConvertor, CdmOperationType from cdm.per...
39.66
164
0.768533
208
1,983
7.129808
0.418269
0.033041
0.080243
0.038436
0.157788
0.157788
0.157788
0.107889
0.107889
0.107889
0
0
0.167423
1,983
49
165
40.469388
0.898243
0.136662
0
0.137931
0
0
0.133294
0.086318
0
0
0
0.020408
0
1
0.068966
false
0
0.275862
0
0.517241
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
2
3fee75fd8745048dfd6036824d24f63f21a760e5
367
py
Python
python/collage/workloads/baselines/pytorch/gpt2.py
cmu-catalyst/collage
663d6df941f559f372c87ff9207bf7905e3eaca0
[ "Apache-2.0" ]
32
2021-12-09T07:55:32.000Z
2022-03-29T12:20:52.000Z
python/collage/workloads/baselines/pytorch/gpt2.py
cmu-catalyst/collage
663d6df941f559f372c87ff9207bf7905e3eaca0
[ "Apache-2.0" ]
null
null
null
python/collage/workloads/baselines/pytorch/gpt2.py
cmu-catalyst/collage
663d6df941f559f372c87ff9207bf7905e3eaca0
[ "Apache-2.0" ]
1
2021-12-17T11:25:17.000Z
2021-12-17T11:25:17.000Z
from transformers import GPT2Tokenizer, GPT2Model, GPT2Config import torch import torch.nn as nn import tvm from tvm import relay # Currently, due to some complication in benchmarking, we ignore attention layer in the end. def get_gpt2_model(): configuration = GPT2Config(torchscript=True) model = GPT2Model(co...
26.214286
92
0.776567
48
367
5.895833
0.6875
0.077739
0
0
0
0
0
0
0
0
0
0.019672
0.168937
367
13
93
28.230769
0.908197
0.245232
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0.5
0
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
3ff32fbafac5de9c8a68a511bcfd87da09703728
171
py
Python
Length_of_last_Word/code.py
Giko20/LeatCode-Algoes
48dfcba2ace2a28f26762c28c2adeb8c6229b2f5
[ "MIT" ]
null
null
null
Length_of_last_Word/code.py
Giko20/LeatCode-Algoes
48dfcba2ace2a28f26762c28c2adeb8c6229b2f5
[ "MIT" ]
null
null
null
Length_of_last_Word/code.py
Giko20/LeatCode-Algoes
48dfcba2ace2a28f26762c28c2adeb8c6229b2f5
[ "MIT" ]
null
null
null
# code '''python''' class Solution(object): def lengthOfLastWord(self, s): self.s=s string = self.s.strip().split(' ')[-1] return len(string)
19
46
0.561404
21
171
4.571429
0.714286
0.15625
0
0
0
0
0
0
0
0
0
0.007874
0.25731
171
8
47
21.375
0.748032
0.070175
0
0
0
0
0.006536
0
0
0
0
0
0
1
0.2
false
0
0
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3ff4622aca6c41064016afd8e796c2961eb62965
3,605
py
Python
Archive/Python-Examples/BQL_Basic_Examples/(2) - Multiple-Data_Input_Examples.py
liaskast/Jupyter-Notebook-Portfolio-Optimization
11f2bec801f4abea04a98cc1ee4d66a1cf466899
[ "Apache-2.0" ]
1
2020-07-26T14:12:35.000Z
2020-07-26T14:12:35.000Z
Archive/Python-Examples/BQL_Basic_Examples/(2) - Multiple-Data_Input_Examples.py
liaskast/Black-Litterman-Portfolio-Optimization
11f2bec801f4abea04a98cc1ee4d66a1cf466899
[ "Apache-2.0" ]
null
null
null
Archive/Python-Examples/BQL_Basic_Examples/(2) - Multiple-Data_Input_Examples.py
liaskast/Black-Litterman-Portfolio-Optimization
11f2bec801f4abea04a98cc1ee4d66a1cf466899
[ "Apache-2.0" ]
null
null
null
#Example 1: Requesting a Single Data Item #============================================================================= ''' bq.data: Defines the data item to include in the request. `bq.data. + field(arguments)` bql.Request(): Generates the request. `bql.Request(security or universe, data items)` bq.execute(): Exe...
29.072581
90
0.688211
539
3,605
4.558442
0.179963
0.05291
0.03256
0.030932
0.741555
0.682947
0.669109
0.657713
0.657713
0.657713
0
0.012741
0.150902
3,605
123
91
29.308943
0.789938
0.658807
0
0.8
0
0
0.090059
0
0
0
0
0
0
1
0
false
0
0.114286
0
0.114286
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3ff6b048467626385c0ee1d6b050f74af4537b8a
609
py
Python
tests/ODBPy/TestUtils.py
ulikoehler/ODBPy
b8cf1bcb0d1d0593e24d087b83ff3ae0c354e71d
[ "Apache-2.0" ]
25
2018-01-19T11:27:10.000Z
2022-03-10T12:37:22.000Z
tests/ODBPy/TestUtils.py
chuangll/ODB-forPython
b9896d977ddc51ca9b93dde4e0b96f54730871e2
[ "Apache-2.0" ]
null
null
null
tests/ODBPy/TestUtils.py
chuangll/ODB-forPython
b9896d977ddc51ca9b93dde4e0b96f54730871e2
[ "Apache-2.0" ]
16
2017-12-30T06:58:06.000Z
2022-02-22T09:47:08.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from nose.tools import assert_equal, assert_true, assert_false, raises, assert_is_none from ODBPy.Utils import * class TestUtils(object): def test_try_parse_number(self): assert_equal("01", try_parse_number("01")) assert_equal(0, try_parse_number("0"))...
29
86
0.674877
90
609
4.222222
0.377778
0.092105
0.147368
0.134211
0
0
0
0
0
0
0
0.028513
0.19376
609
20
87
30.45
0.745418
0.070608
0
0
0
0
0.01421
0
0
0
0
0
0.642857
1
0.214286
false
0
0.142857
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
0
0
0
0
0
0
2
b202e512eb6c5bfe41c3d9ad71228d5fb655d5a5
3,325
py
Python
sdk/batch/microsoft-azure-batch/tools/publish.py
ppartarr/azure-sdk-for-java
e3c832f87cf65219dd7b500ab25a998c38dab8a3
[ "MIT" ]
1,350
2015-01-17T05:22:05.000Z
2022-03-29T21:00:37.000Z
sdk/batch/microsoft-azure-batch/tools/publish.py
ppartarr/azure-sdk-for-java
e3c832f87cf65219dd7b500ab25a998c38dab8a3
[ "MIT" ]
16,834
2015-01-07T02:19:09.000Z
2022-03-31T23:29:10.000Z
sdk/batch/microsoft-azure-batch/tools/publish.py
ppartarr/azure-sdk-for-java
e3c832f87cf65219dd7b500ab25a998c38dab8a3
[ "MIT" ]
1,586
2015-01-02T01:50:28.000Z
2022-03-31T11:25:34.000Z
#!/usr/bin/python import sys import os import fnmatch import shutil import re def main(argv): # validation if len(argv) < 4: print "Usage: " + get_usage() exit(1) # figure out source dir folder = os.path.dirname(os.path.realpath(__file__)) if len(argv) == 5: folder = argv[4...
32.920792
123
0.586767
440
3,325
4.377273
0.297727
0.011423
0.01298
0.020768
0.296469
0.296469
0.287124
0.271547
0.257009
0.257009
0
0.006982
0.267669
3,325
100
124
33.25
0.783984
0.045113
0
0.202532
0
0.012658
0.234997
0.034428
0
0
0
0
0.025316
0
null
null
0.063291
0.063291
null
null
0.101266
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
b20fa633681e63f4a198312cbffcf0a6166d7d8d
30,445
py
Python
openquake.hazardlib/openquake/hazardlib/gsim/frankel_1996.py
rainzhop/ConvNetQuake
a3e6de3f7992eac72f1b9883fec36b8c7fdefd48
[ "MIT" ]
null
null
null
openquake.hazardlib/openquake/hazardlib/gsim/frankel_1996.py
rainzhop/ConvNetQuake
a3e6de3f7992eac72f1b9883fec36b8c7fdefd48
[ "MIT" ]
null
null
null
openquake.hazardlib/openquake/hazardlib/gsim/frankel_1996.py
rainzhop/ConvNetQuake
a3e6de3f7992eac72f1b9883fec36b8c7fdefd48
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # vim: tabstop=4 shiftwidth=4 softtabstop=4 # # Copyright (C) 2014-2016 GEM Foundation # # OpenQuake is free software: you can redistribute it and/or modify it # under the terms of the GNU Affero General Public License as published # by the Free Software Foundation, either version 3 of the Licen...
75.922693
149
0.475973
6,998
30,445
2.056016
0.060303
0.006464
0.004726
0.003753
0.515013
0.391646
0.366833
0.276272
0.257645
0.196692
0
0.38178
0.211496
30,445
400
150
76.1125
0.217571
0.144293
0
0.049587
0
0
0.010722
0.000819
0
0
0
0
0.004132
1
0.024793
false
0
0.028926
0
0.165289
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b7460f1a904c9645c3c4da68ec7fab704c43b3e4
1,471
py
Python
lex_bfs/lex_bfs.py
SzymczakJ/graph_algorithms
3243d6ffccb2c17eeb8aad2b861ba294582b2221
[ "MIT" ]
null
null
null
lex_bfs/lex_bfs.py
SzymczakJ/graph_algorithms
3243d6ffccb2c17eeb8aad2b861ba294582b2221
[ "MIT" ]
null
null
null
lex_bfs/lex_bfs.py
SzymczakJ/graph_algorithms
3243d6ffccb2c17eeb8aad2b861ba294582b2221
[ "MIT" ]
null
null
null
class Node: def __init__(self, idx): self.idx = idx self.out = set() # zbiór sąsiadów def connect_to(self, v): self.out.add(v) def lex_bfs(graph): lex_order = [1] lex_unvisited_list = [] first_vertex_neighbours = set() others = set() for i in range(2, ...
31.297872
63
0.592114
178
1,471
4.561798
0.224719
0.221675
0.295567
0.108374
0.108374
0.073892
0
0
0
0
0
0.006042
0.324949
1,471
46
64
31.978261
0.811682
0.009517
0
0.146341
0
0
0
0
0
0
0
0
0
1
0.073171
false
0
0
0
0.121951
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b750a51a210578acb9c985710043d359077b01e0
744
py
Python
{{cookiecutter.package_name}}/{{cookiecutter.package_name}}/__main__.py
thazelart/cookiecutter-python3
b46457c96a6e507cae85bdca216864c8522a1132
[ "Apache-2.0" ]
null
null
null
{{cookiecutter.package_name}}/{{cookiecutter.package_name}}/__main__.py
thazelart/cookiecutter-python3
b46457c96a6e507cae85bdca216864c8522a1132
[ "Apache-2.0" ]
4
2019-05-28T06:19:02.000Z
2019-05-28T08:54:35.000Z
{{cookiecutter.package_name}}/{{cookiecutter.package_name}}/__main__.py
thazelart/cookiecutter-python3
b46457c96a6e507cae85bdca216864c8522a1132
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 from utils.logger import Logger from utils import args import logging import sys #--------------------------------------------------------------------# # GLOBAL VARIABLES # #--------------------------------------------------------------------# ...
32.347826
70
0.319892
45
744
5.111111
0.711111
0.078261
0
0
0
0
0
0
0
0
0
0.001808
0.25672
744
22
71
33.818182
0.414105
0.650538
0
0
0
0
0.138776
0
0
0
0
0
0
1
0
false
0
0.444444
0
0.444444
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
b75fa7406948bdd12cd0137983d8d9773d17ca5b
963
py
Python
shapes/triangle.py
ashirka/programming-2021-19fpl
d4a233ac874a9e0397b6e61559b678da8b55b274
[ "MIT" ]
null
null
null
shapes/triangle.py
ashirka/programming-2021-19fpl
d4a233ac874a9e0397b6e61559b678da8b55b274
[ "MIT" ]
null
null
null
shapes/triangle.py
ashirka/programming-2021-19fpl
d4a233ac874a9e0397b6e61559b678da8b55b274
[ "MIT" ]
null
null
null
""" Programming for linguists Implementation of the class Triangle """ from shapes.shape import Shape class Triangle(Shape): """ A class for triangles """ def __init__(self, uid: int, first_side: int, second_side: int, third_side: int): super().__init__(uid) self.first_side = first_s...
27.514286
95
0.628245
122
963
4.704918
0.270492
0.078397
0.076655
0.08885
0.327526
0.146341
0
0
0
0
0
0.004317
0.278297
963
34
96
28.323529
0.821583
0.237799
0
0
0
0
0
0
0
0
0
0
0
1
0.230769
false
0
0.076923
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
b76339e84c4e33099b034d6c04b867a85eb108ce
24,011
py
Python
2018-evaluation-script/program/task1_eval.py
yolochai/scisumm-corpus
3aa7f89afbe051d7202575b46e8f7449f7a088b0
[ "CC-BY-4.0" ]
198
2015-05-03T06:35:05.000Z
2022-03-21T19:12:20.000Z
2018-evaluation-script/program/task1_eval.py
yolochai/scisumm-corpus
3aa7f89afbe051d7202575b46e8f7449f7a088b0
[ "CC-BY-4.0" ]
24
2016-03-05T17:28:14.000Z
2021-07-28T08:14:57.000Z
2018-evaluation-script/program/task1_eval.py
yolochai/scisumm-corpus
3aa7f89afbe051d7202575b46e8f7449f7a088b0
[ "CC-BY-4.0" ]
89
2015-04-01T14:19:19.000Z
2022-03-19T18:47:56.000Z
import os import sys import json, csv from bs4 import BeautifulSoup import xml.etree.ElementTree as ET from copy import copy def dictify(r,root=True): if root: return {r.tag : dictify(r, False)} d=copy(r.attrib) if r.text: d["_text"]=r.text for x in r.findall("./*"): if x.tag n...
47.452569
182
0.579443
3,011
24,011
4.320159
0.052806
0.067651
0.063961
0.065959
0.790283
0.737239
0.617312
0.601015
0.595172
0.580643
0
0.008849
0.289284
24,011
505
183
47.546535
0.753413
0.081504
0
0.526807
0
0.013986
0.131309
0.01038
0
0
0
0
0
0
null
null
0
0.013986
null
null
0.081585
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
b7777587a7ffc3bb9ae0d0b5706006f956d2c103
198
py
Python
python lab 5 & 6/l5q5.py
gonewithharshwinds/itt-lab
257eb0d38b09eac7991b490ec64c068ef51d7fb2
[ "MIT" ]
1
2022-01-06T00:07:36.000Z
2022-01-06T00:07:36.000Z
python lab 5 & 6/l5q5.py
gonewithharshwinds/itt-lab
257eb0d38b09eac7991b490ec64c068ef51d7fb2
[ "MIT" ]
null
null
null
python lab 5 & 6/l5q5.py
gonewithharshwinds/itt-lab
257eb0d38b09eac7991b490ec64c068ef51d7fb2
[ "MIT" ]
null
null
null
#!/usr/bin/python3 def recsum(n): return n if n<=1 else n+recsum(n-1) n = int(input("Enter your number\t")) if n < 0: print("Enter a positive number") else: print("The sum is",recsum(n))
28.285714
51
0.631313
38
198
3.289474
0.605263
0.168
0
0
0
0
0
0
0
0
0
0.024845
0.186869
198
7
52
28.285714
0.751553
0.085859
0
0
0
0
0.297143
0
0
0
0
0
0
1
0.166667
false
0
0
0.166667
0.166667
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
2
b77868d81c0ea97c59ea8c2ab05ef49728477d50
324
py
Python
constants.py
mnanchev/restful_password_generator
31b58f4cccae35e8c9aacf3817425e73c20ca41c
[ "MIT" ]
null
null
null
constants.py
mnanchev/restful_password_generator
31b58f4cccae35e8c9aacf3817425e73c20ca41c
[ "MIT" ]
1
2021-12-30T10:11:23.000Z
2022-01-05T16:56:16.000Z
constants.py
mnanchev/restful_password_generator
31b58f4cccae35e8c9aacf3817425e73c20ca41c
[ "MIT" ]
null
null
null
import os ROOT_DIR = os.path.dirname(os.path.abspath(__file__)) TEMP_FILE_FOLDER = os.path.join(ROOT_DIR, "mock_objects") NOT_AVAILABLE = "Provider is not available at the moment.\n Please try again later" REQUIRED_KEYS = ["secret", "password", "is_password_protected", "creator_id"] NOT_EXISTING = "Secret does not exi...
40.5
83
0.771605
50
324
4.7
0.7
0.076596
0
0
0
0
0
0
0
0
0
0
0.108025
324
7
84
46.285714
0.813149
0
0
0
0
0
0.441358
0.064815
0
0
0
0
0
1
0
false
0.166667
0.166667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
b782498edfd5443806a6c80e3b4fe91b8e2b1cc9
1,065
py
Python
PaddleSpeech/DeepASR/data_utils/augmentor/trans_delay.py
suytingwan/models
ccdbfe77d071cc19b55fb9f4b738912e35d982ef
[ "Apache-2.0" ]
5
2021-09-28T13:28:01.000Z
2021-12-21T07:25:44.000Z
PaddleSpeech/DeepASR/data_utils/augmentor/trans_delay.py
suytingwan/models
ccdbfe77d071cc19b55fb9f4b738912e35d982ef
[ "Apache-2.0" ]
2
2019-06-26T03:21:49.000Z
2019-09-19T09:43:42.000Z
PaddleSpeech/DeepASR/data_utils/augmentor/trans_delay.py
suytingwan/models
ccdbfe77d071cc19b55fb9f4b738912e35d982ef
[ "Apache-2.0" ]
4
2021-08-11T08:25:10.000Z
2021-10-16T07:41:59.000Z
from __future__ import absolute_import from __future__ import division from __future__ import print_function import numpy as np import math class TransDelay(object): """ Delay label, and copy first label value in the front. Attributes: _delay_time : the delay frame num of label """ ...
28.026316
100
0.597183
129
1,065
4.666667
0.395349
0.134552
0.129568
0.089701
0.106312
0.106312
0.106312
0.106312
0
0
0
0.008253
0.317371
1,065
37
101
28.783784
0.819807
0.295775
0
0
0
0
0
0
0
0
0
0
0.0625
1
0.125
false
0
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
0
1
0
1
0
0
2
b786d0cafa78e484c1fd05b38ccb301fdda76ecb
730
py
Python
LiaoXueFeng/multiple_inheritance.py
MiracleWong/PythonBasic
cb8ec59dc646842b41966ea4ea4b1ee66a342eee
[ "MIT" ]
null
null
null
LiaoXueFeng/multiple_inheritance.py
MiracleWong/PythonBasic
cb8ec59dc646842b41966ea4ea4b1ee66a342eee
[ "MIT" ]
null
null
null
LiaoXueFeng/multiple_inheritance.py
MiracleWong/PythonBasic
cb8ec59dc646842b41966ea4ea4b1ee66a342eee
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- __author__ = 'MiracleWong' # AOOP 之 多重继承 # 地址:https://www.liaoxuefeng.com/wiki/1016959663602400/1017502939956896 class Animal(object): pass # 大类: class Mammal(Animal): pass class Bird(Animal): pass class Runnable(object): def run(self): prin...
12.586207
71
0.660274
84
730
5.690476
0.571429
0.150628
0.062762
0.121339
0
0
0
0
0
0
0
0.057292
0.210959
730
58
72
12.586207
0.772569
0.183562
0
0.37037
0
0
0.050761
0
0
0
0
0
0
1
0.074074
false
0.37037
0
0
0.518519
0.074074
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
b788c22ed38039b42cdaae5c7f4d4ab053a70d11
722
py
Python
python/search/async_search_client.py
Ericizepic/discordfs
03c8e252fa47378260cdde08dc15cef94bd9fd5a
[ "MIT" ]
9
2021-05-09T23:45:55.000Z
2021-11-30T03:46:23.000Z
python/search/async_search_client.py
Vyom88/haystackfs
9d0db49dc7d314bbbc1ebc38c7174f9bbbcb4523
[ "MIT" ]
6
2021-05-21T03:09:44.000Z
2021-12-03T16:44:42.000Z
python/search/async_search_client.py
Vyom88/haystackfs
9d0db49dc7d314bbbc1ebc38c7174f9bbbcb4523
[ "MIT" ]
6
2021-07-12T23:52:48.000Z
2021-10-29T19:37:30.000Z
"""A small abstract class to ensure implementations for basic functions exist.""" from abc import ABC, abstractmethod class AsyncSearchClient(ABC): """Basic Requirements for any Search Client in this project.""" @abstractmethod def initialize(self, *args, **kwargs): """Initialize clients.""" ...
26.740741
81
0.631579
85
722
5.341176
0.423529
0.070485
0.123348
0.171806
0.255507
0.255507
0.255507
0.202643
0.202643
0.202643
0
0
0.254848
722
26
82
27.769231
0.843866
0.211911
0
0.571429
0
0
0
0
0
0
0
0
0
1
0.071429
false
0.285714
0.071429
0
0.214286
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
1
0
0
0
0
0
2
b789458d564f6ed6753c9bc73d646d9d69d0e2db
270
py
Python
tests/test_openwebinar.py
OpenWebinarsNet/Taller-publica-un-paquete-en-Pypi
48b19457a6d0bf948bd499e952d4b2a294a70ee8
[ "MIT" ]
null
null
null
tests/test_openwebinar.py
OpenWebinarsNet/Taller-publica-un-paquete-en-Pypi
48b19457a6d0bf948bd499e952d4b2a294a70ee8
[ "MIT" ]
null
null
null
tests/test_openwebinar.py
OpenWebinarsNet/Taller-publica-un-paquete-en-Pypi
48b19457a6d0bf948bd499e952d4b2a294a70ee8
[ "MIT" ]
2
2021-11-21T14:03:51.000Z
2022-03-26T22:57:03.000Z
from openwebinars.Openwebinar import Openwebinar def test_openwebinar(): taller_a = 'TallerA' openwebinar = Openwebinar(taller_a) assert str(openwebinar) == taller_a taller_b = 1 openwebinar = Openwebinar(taller_b) assert str(openwebinar) == ''
27
48
0.722222
30
270
6.3
0.433333
0.359788
0.285714
0
0
0
0
0
0
0
0
0.004566
0.188889
270
10
49
27
0.858447
0
0
0
0
0
0.02583
0
0
0
0
0
0.25
1
0.125
false
0
0.125
0
0.25
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b78c7452803534b6c58cdfe403ef6bbab0174516
3,112
py
Python
datasets/biccn-yao_integrated_transcriptomic_and_epigenomic_atlas/scripts/create_biccn_ontology_table.py
rcannood/single-cell-curation
721ac0519f1af8d59fe711907fb9b0b1883e2296
[ "MIT" ]
8
2021-03-17T23:42:41.000Z
2022-03-08T13:08:55.000Z
datasets/biccn-yao_integrated_transcriptomic_and_epigenomic_atlas/scripts/create_biccn_ontology_table.py
rcannood/single-cell-curation
721ac0519f1af8d59fe711907fb9b0b1883e2296
[ "MIT" ]
156
2021-02-23T18:17:42.000Z
2022-03-31T20:49:46.000Z
datasets/biccn-yao_integrated_transcriptomic_and_epigenomic_atlas/scripts/create_biccn_ontology_table.py
rcannood/single-cell-curation
721ac0519f1af8d59fe711907fb9b0b1883e2296
[ "MIT" ]
8
2021-03-22T17:07:31.000Z
2022-03-08T11:07:48.000Z
import scanpy as sc import pandas as pd import os, sys working_dir = sys.argv[1] outfile = sys.argv[2] dataset_files = [os.path.join( working_dir, i) for i in os.listdir(working_dir)] datasets = [sc.read(i, 'r') for i in dataset_files] class_df = pd.concat(axis=0, objs=[ i.obs[[ 'BICCN_class_label', 'BICCN_subclass...
69.155556
128
0.728792
474
3,112
4.371308
0.219409
0.182432
0.234556
0.229247
0.718629
0.518822
0.440637
0.440637
0.187259
0.11583
0
0.056036
0.071015
3,112
44
129
70.727273
0.660671
0.098008
0
0
0
0
0.475375
0.172734
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
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
0
0
0
2
b7969f8e0ff4bed4dc2eb0576a50bfe1b8280be5
112
py
Python
Iniciante/uri1011/uri1011.py
GCCDV/URI
73a25c3dc12bda7e12335988e73181fe196fecfe
[ "MIT" ]
null
null
null
Iniciante/uri1011/uri1011.py
GCCDV/URI
73a25c3dc12bda7e12335988e73181fe196fecfe
[ "MIT" ]
null
null
null
Iniciante/uri1011/uri1011.py
GCCDV/URI
73a25c3dc12bda7e12335988e73181fe196fecfe
[ "MIT" ]
1
2022-03-29T04:16:02.000Z
2022-03-29T04:16:02.000Z
raio = float(input()) pi = 3.14159 VOLUME = (4 / 3) * pi * (raio**3) print("VOLUME = {:.3f}".format(VOLUME))
14
39
0.553571
17
112
3.647059
0.647059
0
0
0
0
0
0
0
0
0
0
0.10989
0.1875
112
7
40
16
0.571429
0
0
0
0
0
0.133929
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
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
0
0
2
b79bc9aa4416150857653067a293f073a7cf6fc1
223
py
Python
Python/ex015_aluguel_carro.py
maurovasconcelos/Ola-Mundo
526c6c271fbe916c4f9f22153828e4d8c726a544
[ "MIT" ]
1
2021-02-16T17:36:53.000Z
2021-02-16T17:36:53.000Z
Python/ex015_aluguel_carro.py
maurovasconcelos/Ola-Mundo
526c6c271fbe916c4f9f22153828e4d8c726a544
[ "MIT" ]
null
null
null
Python/ex015_aluguel_carro.py
maurovasconcelos/Ola-Mundo
526c6c271fbe916c4f9f22153828e4d8c726a544
[ "MIT" ]
null
null
null
dias = float(input('Quantos dias o carro foi alugado? ')) km = float(input('Quantos Km rodados? ')) dias = dias * 60 # Da pra fazer melhor km = km * 0.15 print('O valor a pagar pelo aluguel é de {:.2f}'.format(dias + km))
27.875
67
0.659193
39
223
3.769231
0.692308
0.136054
0.231293
0
0
0
0
0
0
0
0
0.033149
0.188341
223
7
68
31.857143
0.779006
0.085202
0
0
0
0
0.467662
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
0
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
2
b7a30f753855c92fa95d9be1816c78eac963ac5b
8,440
py
Python
startup/gui/viewer.py
timlehr/gaffer
354acd6af7500e0bd1ce19d7c417929e2f0a919e
[ "BSD-3-Clause" ]
null
null
null
startup/gui/viewer.py
timlehr/gaffer
354acd6af7500e0bd1ce19d7c417929e2f0a919e
[ "BSD-3-Clause" ]
null
null
null
startup/gui/viewer.py
timlehr/gaffer
354acd6af7500e0bd1ce19d7c417929e2f0a919e
[ "BSD-3-Clause" ]
null
null
null
########################################################################## # # Copyright (c) 2014, John Haddon. 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 so...
45.621622
180
0.728555
822
8,440
7.447689
0.328467
0.14211
0.18262
0.164489
0.369324
0.278504
0.076772
0.065338
0.065338
0.065338
0
0.003958
0.131872
8,440
184
181
45.869565
0.831582
0.215166
0
0.096774
0
0
0.347805
0.146487
0
0
0
0
0
1
0.053763
false
0
0.16129
0
0.247312
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
0
0
0
2
b7c2657e645eb87096a2abb99baad147e08cba7b
1,022
py
Python
dataVisualizer/data_containers/results_matrix.py
stovorov/PharmacyDataVisualiser
4241ad1915f5dcd914d4ee99d1b6e8309c47e415
[ "MIT" ]
1
2020-07-09T08:32:24.000Z
2020-07-09T08:32:24.000Z
dataVisualizer/data_containers/results_matrix.py
stovorov/PharmacyDataVisualiser
4241ad1915f5dcd914d4ee99d1b6e8309c47e415
[ "MIT" ]
null
null
null
dataVisualizer/data_containers/results_matrix.py
stovorov/PharmacyDataVisualiser
4241ad1915f5dcd914d4ee99d1b6e8309c47e415
[ "MIT" ]
null
null
null
"""Stores implementations of input data parsers""" from typing import List import pandas as pd from dataVisualizer.data_containers.compound import Compound from dataVisualizer.exceptions import NotFound class DataMatrix: """Represents Data Matrix""" def __init__(self, compounds: List[Compound], data: pd.Da...
30.969697
78
0.669276
125
1,022
5.376
0.416
0.077381
0.017857
0.029762
0.056548
0
0
0
0
0
0
0.001266
0.227006
1,022
32
79
31.9375
0.849367
0.168297
0
0
0
0
0.042735
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
b7c9b179895734b121e903a1ade101324e2edf28
429
py
Python
backend/achievement/serializers.py
AroraShreshth/officialWebsite
927fec11bbc4c0d64619c597afca6448075ab430
[ "MIT" ]
null
null
null
backend/achievement/serializers.py
AroraShreshth/officialWebsite
927fec11bbc4c0d64619c597afca6448075ab430
[ "MIT" ]
null
null
null
backend/achievement/serializers.py
AroraShreshth/officialWebsite
927fec11bbc4c0d64619c597afca6448075ab430
[ "MIT" ]
null
null
null
from rest_framework import serializers from . import models from backend.members.serializers import MemberSerializer class AchievementSerializer(serializers.ModelSerializer): """Serialize Achievement model""" members = MemberSerializer(read_only=True, many=True) class Meta: model = models.Achiev...
28.6
67
0.717949
44
429
6.886364
0.568182
0.052805
0
0
0
0
0
0
0
0
0
0
0.177156
429
14
68
30.642857
0.858357
0.062937
0
0
0
0
0.080808
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
b7cf869d6c33be8d2a73ee5af33927f30205694f
2,076
py
Python
client/verta/verta/_swagger/_public/uac/model/UacResources.py
stefan-petrov-toptal/modeldb
a8a9b9da6ed964c91351230b2f0d2703c75794de
[ "Apache-2.0" ]
835
2017-02-08T20:14:24.000Z
2020-03-12T17:37:49.000Z
client/verta/verta/_swagger/_public/uac/model/UacResources.py
stefan-petrov-toptal/modeldb
a8a9b9da6ed964c91351230b2f0d2703c75794de
[ "Apache-2.0" ]
651
2019-04-18T12:55:07.000Z
2022-03-31T23:45:09.000Z
client/verta/verta/_swagger/_public/uac/model/UacResources.py
stefan-petrov-toptal/modeldb
a8a9b9da6ed964c91351230b2f0d2703c75794de
[ "Apache-2.0" ]
170
2017-02-13T14:49:22.000Z
2020-02-19T17:59:12.000Z
# THIS FILE IS AUTO-GENERATED. DO NOT EDIT from verta._swagger.base_type import BaseType class UacResources(BaseType): def __init__(self, service=None, resource_ids=None, role_service_resource_type=None, authz_service_resource_type=None, modeldb_service_resource_type=None): required = { "service": False, ...
39.923077
157
0.759634
242
2,076
6.223141
0.206612
0.179283
0.227092
0.091633
0.203851
0.136786
0.10093
0.075697
0.075697
0.075697
0
0
0.162331
2,076
51
158
40.705882
0.866015
0.019268
0
0.125
1
0
0.160767
0.120944
0
0
0
0
0
1
0.05
false
0
0.125
0
0.225
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b7da3e3e22b8cd47c97b39b00a00be17e0f141a4
14,606
py
Python
truthfulqa/metrics.py
sylinrl/TruthfulQA
55e8debf7251a012e88a8498dd891b821a863345
[ "Apache-2.0" ]
40
2021-09-01T13:02:01.000Z
2022-03-24T11:40:39.000Z
truthfulqa/metrics.py
sylinrl/TruthfulQA
55e8debf7251a012e88a8498dd891b821a863345
[ "Apache-2.0" ]
1
2021-12-17T20:50:18.000Z
2021-12-17T20:50:18.000Z
truthfulqa/metrics.py
sylinrl/TruthfulQA
55e8debf7251a012e88a8498dd891b821a863345
[ "Apache-2.0" ]
6
2021-09-13T03:25:10.000Z
2022-02-15T19:38:50.000Z
from .utilities import format_ft_comp, format_end2end_prompt, split_multi_answer from .configs import ANSWER_COL, INCORRECT_COL from datasets import load_metric import openai import numpy as np import pandas as pd import warnings from t5.evaluation import metrics from time import sleep import logging logger = logging....
43.861862
116
0.574079
1,847
14,606
4.403357
0.103952
0.056068
0.075741
0.026558
0.799951
0.735891
0.692241
0.673675
0.631747
0.609984
0
0.016554
0.309325
14,606
332
117
43.993976
0.789651
0.105642
0
0.625
0
0
0.107488
0
0
0
0
0
0
1
0.017857
false
0
0.044643
0
0.080357
0.008929
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b7e82f441f7f0fc76ef52233961a1543a2ae9566
13,701
py
Python
python/istio_api/mesh/v1alpha1/network_pb2.py
timonwong/istio-api
9e2d15c4e3d3c613775c5967ef7b9c46fc4b31aa
[ "Apache-2.0" ]
390
2016-12-16T21:47:51.000Z
2022-03-31T17:51:45.000Z
python/istio_api/mesh/v1alpha1/network_pb2.py
timonwong/istio-api
9e2d15c4e3d3c613775c5967ef7b9c46fc4b31aa
[ "Apache-2.0" ]
1,724
2016-12-16T19:57:40.000Z
2022-03-29T22:16:38.000Z
python/istio_api/mesh/v1alpha1/network_pb2.py
timonwong/istio-api
9e2d15c4e3d3c613775c5967ef7b9c46fc4b31aa
[ "Apache-2.0" ]
492
2016-12-16T18:43:29.000Z
2022-03-26T23:55:02.000Z
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: mesh/v1alpha1/network.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from ...
44.628664
1,225
0.773812
1,670
13,701
6.008383
0.11976
0.031892
0.047439
0.051126
0.678094
0.625075
0.5882
0.523022
0.486446
0.463723
0
0.040117
0.103058
13,701
306
1,226
44.77451
0.776385
0.044595
0
0.575092
1
0.003663
0.23327
0.175449
0
0
0
0
0
1
0
false
0
0.018315
0
0.018315
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b7ea365839412d6532415a9b49bc4669c95f3553
381
py
Python
selection_sort.py
vikashchy/ds_python
538c5c2ef2d610b89e997ac96cc5649062d6d154
[ "Apache-2.0" ]
1
2021-02-06T14:32:15.000Z
2021-02-06T14:32:15.000Z
selection_sort.py
vikashchy/ds_python
538c5c2ef2d610b89e997ac96cc5649062d6d154
[ "Apache-2.0" ]
null
null
null
selection_sort.py
vikashchy/ds_python
538c5c2ef2d610b89e997ac96cc5649062d6d154
[ "Apache-2.0" ]
null
null
null
def selection_sort(elements): for i in range(len(elements) - 1): min_index = i for j in range(i + 1, len(elements)): if elements[min_index] > elements[j]: min_index = j elements[i], elements[min_index] = elements[min_index], elements[i] return elements ele =...
29.307692
75
0.590551
57
381
3.824561
0.421053
0.183486
0.220183
0.330275
0
0
0
0
0
0
0
0.058182
0.278215
381
12
76
31.75
0.734545
0
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0
0
0.2
0.1
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
0
0
2
b7f20dc44c4f73f1b2040795dc75f78681550251
1,019
py
Python
HaH/api/admin.py
DMaryanskiy/Test_HaH
e4d24be9ef3362a67b67532bca5e14d20d8cf789
[ "BSD-3-Clause" ]
null
null
null
HaH/api/admin.py
DMaryanskiy/Test_HaH
e4d24be9ef3362a67b67532bca5e14d20d8cf789
[ "BSD-3-Clause" ]
null
null
null
HaH/api/admin.py
DMaryanskiy/Test_HaH
e4d24be9ef3362a67b67532bca5e14d20d8cf789
[ "BSD-3-Clause" ]
null
null
null
from django.contrib import admin from .models import ( Products, Category, Favourite, Purchase, Order, User ) @admin.register(Products) class ProductsAdmin(admin.ModelAdmin): list_display = ( "pk", "title", "category", "price", ...
17.271186
39
0.544652
87
1,019
6.310345
0.367816
0.142077
0.20765
0.284153
0.393443
0.189435
0.189435
0.189435
0.189435
0
0
0
0.327772
1,019
58
40
17.568966
0.80146
0
0
0.346154
0
0
0.083415
0
0
0
0
0
0
1
0
false
0
0.038462
0
0.269231
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
0
0
0
2
b7fd995c400a594d5db49ca726335b772872af17
364
py
Python
calc/calculations/addition.py
DikshaAGowda/DemonstratingOOP
a35315a670a15e11ba1a7615077aeb7cbd2e960c
[ "MIT" ]
null
null
null
calc/calculations/addition.py
DikshaAGowda/DemonstratingOOP
a35315a670a15e11ba1a7615077aeb7cbd2e960c
[ "MIT" ]
null
null
null
calc/calculations/addition.py
DikshaAGowda/DemonstratingOOP
a35315a670a15e11ba1a7615077aeb7cbd2e960c
[ "MIT" ]
null
null
null
"""Addition Class""" from calc.calculations.calculation import Calculation class Addition(Calculation): """ calculation addition class""" def get_result(self): """get the addition results""" sum_of_values = 0.0 for value in self.values: sum_of_values = value + sum_o...
30.333333
54
0.637363
43
364
5.186047
0.488372
0.089686
0.197309
0
0
0
0
0
0
0
0
0.007576
0.274725
364
12
55
30.333333
0.837121
0.181319
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.571429
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
4d03331dada8add353640c45d38ee46a196a10ab
438
py
Python
old/MLP_ECSA7-main/data.py
sanjin94/HFMpred
f39e11754811d77a7208964da1d753dff48af239
[ "MIT" ]
null
null
null
old/MLP_ECSA7-main/data.py
sanjin94/HFMpred
f39e11754811d77a7208964da1d753dff48af239
[ "MIT" ]
null
null
null
old/MLP_ECSA7-main/data.py
sanjin94/HFMpred
f39e11754811d77a7208964da1d753dff48af239
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt import csv import pandas as pd import numpy as np # room d137b # file = open("data_raw/_d137b.csv") read = csv.reader(file, delimiter=';') _read = pd.DataFrame(list(read)).to_numpy() data_start = 1 data_end = 511 e2_q = _read[:, 1][data_start:data_end].astype(np.float) * -1 e2_ti = _re...
25.764706
61
0.721461
77
438
3.87013
0.454545
0.120805
0.130872
0.161074
0.291946
0.291946
0.291946
0
0
0
0
0.043928
0.116438
438
16
62
27.375
0.726098
0.022831
0
0
0
0
0.04717
0
0
0
0
0
0
1
0
false
0
0.307692
0
0.307692
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
0
0
0
2
4d049694bf2dad21cf20cde14dba997551ae089c
287
py
Python
not_in_document/main.py
andrewgryan/bokeh-playground
aeab70627a5ccd7f210c354098d30bdf92bb553f
[ "BSD-3-Clause" ]
3
2018-10-01T18:37:44.000Z
2019-11-15T10:56:28.000Z
not_in_document/main.py
andrewgryan/bokeh-playground
aeab70627a5ccd7f210c354098d30bdf92bb553f
[ "BSD-3-Clause" ]
null
null
null
not_in_document/main.py
andrewgryan/bokeh-playground
aeab70627a5ccd7f210c354098d30bdf92bb553f
[ "BSD-3-Clause" ]
1
2019-01-17T07:21:48.000Z
2019-01-17T07:21:48.000Z
import bokeh.plotting import bokeh.models def main(): figure = bokeh.plotting.figure() figure.circle([1, 2, 3], [1, 2, 3]) layout = bokeh.layouts.column(figure) bokeh.plotting.curdoc().add_root(layout) if __name__ == '__main__' or __name__.startswith("bk"): main()
23.916667
55
0.672474
39
287
4.615385
0.564103
0.216667
0.211111
0
0
0
0
0
0
0
0
0.025105
0.167247
287
11
56
26.090909
0.728033
0
0
0
0
0
0.034843
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0
0.333333
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4d0c41b61197561e147e47ff2f342487980058bc
385
py
Python
tests/utils/test_system.py
PyCN/pulsar
fee44e871954aa6ca36d00bb5a3739abfdb89b26
[ "BSD-3-Clause" ]
1,410
2015-01-02T14:55:07.000Z
2022-03-28T17:22:06.000Z
tests/utils/test_system.py
PyCN/pulsar
fee44e871954aa6ca36d00bb5a3739abfdb89b26
[ "BSD-3-Clause" ]
194
2015-01-22T06:18:24.000Z
2020-10-20T21:21:58.000Z
tests/utils/test_system.py
PyCN/pulsar
fee44e871954aa6ca36d00bb5a3739abfdb89b26
[ "BSD-3-Clause" ]
168
2015-01-31T10:29:55.000Z
2022-03-14T10:22:24.000Z
'''Tests the tools and utilities in pulsar.utils.''' import unittest from pulsar.utils.system import platform, get_maxfd class TestSystem(unittest.TestCase): @unittest.skipUnless(platform.is_posix, 'Posix platform required') def testPlatform(self): self.assertFalse(platform.is_windows) def test...
24.0625
70
0.716883
48
385
5.645833
0.625
0.081181
0
0
0
0
0
0
0
0
0
0
0.181818
385
15
71
25.666667
0.860317
0.119481
0
0
0
0
0.069069
0
0
0
0
0
0.222222
1
0.222222
false
0
0.222222
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
4d10d909a42773602206108975a19f7a50f38c52
178
py
Python
Exercicios_Resolvidos/Parte 1/Semana 7/3_d.py
EmersonAires/Introducao_a_ciencia_da_computacao_com_Python
152f95410a638d84adf97367be17ec67fdb8bf3c
[ "MIT" ]
null
null
null
Exercicios_Resolvidos/Parte 1/Semana 7/3_d.py
EmersonAires/Introducao_a_ciencia_da_computacao_com_Python
152f95410a638d84adf97367be17ec67fdb8bf3c
[ "MIT" ]
null
null
null
Exercicios_Resolvidos/Parte 1/Semana 7/3_d.py
EmersonAires/Introducao_a_ciencia_da_computacao_com_Python
152f95410a638d84adf97367be17ec67fdb8bf3c
[ "MIT" ]
null
null
null
tab = 1 while tab <= 10: print("Tabuada do", tab, ":", end="\t") i = 1 while i <= 10: print(tab*i, end = "\t") i = i + 1 print() tab = tab + 1
19.777778
43
0.410112
28
178
2.607143
0.357143
0.109589
0.136986
0
0
0
0
0
0
0
0
0.073395
0.38764
178
9
44
19.777778
0.59633
0
0
0
0
0
0.083799
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4d1d09df1aa0f5db23afc6a79262afc05be4b977
268
py
Python
sso/user/apps.py
uktrade/sso
f4fb527cfe12955c079251031261f2407956bad3
[ "MIT" ]
1
2017-06-02T09:09:02.000Z
2017-06-02T09:09:02.000Z
sso/user/apps.py
uktrade/sso
f4fb527cfe12955c079251031261f2407956bad3
[ "MIT" ]
372
2016-10-25T17:10:18.000Z
2022-03-30T14:53:55.000Z
sso/user/apps.py
uktrade/sso
f4fb527cfe12955c079251031261f2407956bad3
[ "MIT" ]
3
2016-11-10T17:13:39.000Z
2019-12-06T16:54:46.000Z
from django.apps import AppConfig from django.db.models.signals import pre_save class UserConfig(AppConfig): name = 'sso.user' def ready(self): from sso.user import signals pre_save.connect(receiver=signals.create_uuid, sender='user.User')
22.333333
74
0.723881
37
268
5.162162
0.621622
0.104712
0
0
0
0
0
0
0
0
0
0
0.182836
268
11
75
24.363636
0.872146
0
0
0
0
0
0.063433
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
4d363f9d880c85d3cb9502c5bd7feaaa0554d5fd
2,120
py
Python
db.py
TalentedMUSE/hetero_binocular
0a588d0e5b93fba057933e13b97690554c846711
[ "Apache-2.0" ]
null
null
null
db.py
TalentedMUSE/hetero_binocular
0a588d0e5b93fba057933e13b97690554c846711
[ "Apache-2.0" ]
null
null
null
db.py
TalentedMUSE/hetero_binocular
0a588d0e5b93fba057933e13b97690554c846711
[ "Apache-2.0" ]
null
null
null
import pymysql import csv import math import os wind_corr = {'south': '南风', 'southeast': '东南风', 'southwest': '西南风', 'west': '西风', 'northwest': '西北风', 'north': '北风', 'northeast': '东北风', 'east': '东风'} cities = ['西安', '宝鸡', '咸阳', '渭南', '铜川', '汉中', '商洛', '榆林', '安康', '延安'] nums = [43, 13, 6, 7, 2, 13, 4, 8, 15, 9]...
35.333333
224
0.591038
306
2,120
3.944444
0.428105
0.034797
0.06628
0.024855
0.263463
0.263463
0.263463
0.263463
0.263463
0.192212
0
0.034862
0.228774
2,120
60
225
35.333333
0.703364
0.125472
0
0
0
0
0.259714
0
0
0
0
0
0
1
0
false
0.1
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
2
4d41c01b740436626feb8521eeb0a83d582d30da
430
py
Python
vdgo_backend/bypass/migrations/0011_auto_20210622_1523.py
Aruta1ru/web-vdgo
1c26649300b6cbb770117a7a9daccd949da8a265
[ "MIT" ]
null
null
null
vdgo_backend/bypass/migrations/0011_auto_20210622_1523.py
Aruta1ru/web-vdgo
1c26649300b6cbb770117a7a9daccd949da8a265
[ "MIT" ]
null
null
null
vdgo_backend/bypass/migrations/0011_auto_20210622_1523.py
Aruta1ru/web-vdgo
1c26649300b6cbb770117a7a9daccd949da8a265
[ "MIT" ]
null
null
null
# Generated by Django 3.0.10 on 2021-06-22 12:23 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('bypass', '0010_auto_20210622_1509'), ] operations = [ migrations.AlterModelOptions( name='vdgoobject', options={'or...
23.888889
116
0.623256
45
430
5.822222
0.822222
0.083969
0
0
0
0
0
0
0
0
0
0.098462
0.244186
430
17
117
25.294118
0.707692
0.106977
0
0
1
0
0.282723
0.060209
0
0
0
0
0
1
0
false
0.090909
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
4d533c62b7e65264269f4de8eca4235f4df205b6
288
py
Python
customer/urls.py
musojonpython/my_taxi
3ded68bd4aaba6ee4e91910fc4a0884d3ab56825
[ "MIT" ]
2
2021-01-25T09:31:43.000Z
2021-01-25T17:33:19.000Z
customer/urls.py
musojonpython/my_taxi
3ded68bd4aaba6ee4e91910fc4a0884d3ab56825
[ "MIT" ]
null
null
null
customer/urls.py
musojonpython/my_taxi
3ded68bd4aaba6ee4e91910fc4a0884d3ab56825
[ "MIT" ]
1
2020-10-06T14:40:28.000Z
2020-10-06T14:40:28.000Z
from django.urls import path from .views import FilterOrdersAPIView from rest_framework.urlpatterns import format_suffix_patterns urlpatterns = [ path('see/order/status/', FilterOrdersAPIView.as_view(), name='see order status') ] urlpatterns = format_suffix_patterns(urlpatterns)
24
85
0.805556
34
288
6.647059
0.558824
0.106195
0.176991
0.274336
0
0
0
0
0
0
0
0
0.111111
288
11
86
26.181818
0.882813
0
0
0
0
0
0.115385
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
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
0
0
0
2
4d553d7eaeb7c1df1bec21c57a4ddcf683ad1fc6
867
py
Python
tests/etl/workflow/treatment_component/test_treatment_component.py
PDCMFinder/pdcm-etl
df0006e4ad5ca2ddf9c1387e28a0b7fb24f195de
[ "Apache-2.0" ]
1
2022-01-28T16:01:59.000Z
2022-01-28T16:01:59.000Z
tests/etl/workflow/treatment_component/test_treatment_component.py
PDCMFinder/pdcm-etl
df0006e4ad5ca2ddf9c1387e28a0b7fb24f195de
[ "Apache-2.0" ]
37
2022-02-09T18:19:13.000Z
2022-03-29T12:14:19.000Z
tests/etl/workflow/treatment_component/test_treatment_component.py
PDCMFinder/pdcm-etl
df0006e4ad5ca2ddf9c1387e28a0b7fb24f195de
[ "Apache-2.0" ]
null
null
null
from etl.jobs.transformation.treatment_component_transformer_job import transform_treatment_component from tests.etl.workflow.treatment_component.expected_outputs import expected_treatments_components from tests.etl.workflow.treatment_component.input_data import treatment_and_component_helper, treatment from tests.util...
61.928571
107
0.88812
113
867
6.274336
0.300885
0.203103
0.118477
0.152327
0.520451
0.416079
0.115656
0
0
0
0
0
0.070358
867
13
108
66.692308
0.879653
0
0
0
0
0
0
0
0
0
0
0
0.2
1
0.1
false
0
0.4
0
0.5
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
0
0
0
1
0
0
0
0
2
4d573fe812cc246252a9a3497219e55b92db9676
6,599
py
Python
generate.py
quchunguang/selectmovie
2fd6a6197903cca43d4441187257472650d106fe
[ "MIT" ]
1
2021-12-18T11:19:08.000Z
2021-12-18T11:19:08.000Z
generate.py
quchunguang/selectmovie
2fd6a6197903cca43d4441187257472650d106fe
[ "MIT" ]
null
null
null
generate.py
quchunguang/selectmovie
2fd6a6197903cca43d4441187257472650d106fe
[ "MIT" ]
1
2021-12-18T11:19:05.000Z
2021-12-18T11:19:05.000Z
# coding: utf-8 import os import urllib2 import json import socket # Pair of your host name and base path. # # Ignore generate the file list and trying to using the exist filelist_file, # if your host name not list in it or the bash_path not exist. # # It is useful when using generate data file from other...
29.070485
163
0.58721
842
6,599
4.538005
0.31829
0.011515
0.01832
0.018843
0.052342
0.030882
0.015703
0.015703
0
0
0
0.014694
0.278072
6,599
226
164
29.199115
0.786734
0.079103
0
0.123077
1
0
0.159875
0
0
0
0
0
0
0
null
null
0
0.030769
null
null
0.053846
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
4d5d968eb65e1b4d87cbbdb8d92ac4603e571309
801
py
Python
src/python/main.py
guionardo/code-battle
e12084a4e9f550adab74a58d9f96b64ed44cb835
[ "MIT" ]
null
null
null
src/python/main.py
guionardo/code-battle
e12084a4e9f550adab74a58d9f96b64ed44cb835
[ "MIT" ]
null
null
null
src/python/main.py
guionardo/code-battle
e12084a4e9f550adab74a58d9f96b64ed44cb835
[ "MIT" ]
null
null
null
import os import random import time import requests random.seed(time.time()) ITERATIONS = int(os.getenv('ITERATIONS', '1000000')) def generate_random_int(): return random.randint(0, 1024) def generate_random_float(): return random.random() def request(url): ri = str(generate_random_int()) respon...
18.627907
52
0.621723
104
801
4.567308
0.451923
0.206316
0.143158
0
0
0
0
0
0
0
0
0.039604
0.243446
801
42
53
19.071429
0.744224
0
0
0
1
0
0.117353
0
0
0
0
0
0
1
0.137931
false
0
0.137931
0.068966
0.344828
0.068966
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4d6b21e0aa3ccb3eae1a262bb346e59687d1d07c
216
py
Python
dev/dev.py
emadehsan/climetlab
82d3911565179f66ae19d17d96e94fc7456e7725
[ "Apache-2.0" ]
182
2020-07-24T14:44:32.000Z
2022-03-31T12:25:28.000Z
dev/dev.py
emadehsan/climetlab
82d3911565179f66ae19d17d96e94fc7456e7725
[ "Apache-2.0" ]
30
2020-07-22T10:29:12.000Z
2022-03-31T13:55:04.000Z
dev/dev.py
emadehsan/climetlab
82d3911565179f66ae19d17d96e94fc7456e7725
[ "Apache-2.0" ]
32
2020-09-12T14:02:11.000Z
2022-02-17T08:18:37.000Z
import climetlab as cml url = "https://www.cpc.ncep.noaa.gov/products/precip/CWlink/daily_ao_index/monthly.ao.index.b50.current.ascii" s = cml.load_source("url", url, reader="fix_width_format") print(s.to_pandas())
36
110
0.768519
37
216
4.324324
0.837838
0.0875
0
0
0
0
0
0
0
0
0
0.009901
0.064815
216
5
111
43.2
0.782178
0
0
0
0
0.25
0.560185
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4d73e8e29f38fc67fda3b9f6badf0d206966e4c9
1,487
py
Python
test.py
WojciechMula/simd-byte-lookup
870eccb54b6ad8888619cceecc3d5ea6a12d213b
[ "BSD-2-Clause" ]
21
2018-10-18T19:14:05.000Z
2021-11-19T23:27:24.000Z
test.py
WojciechMula/simd-byte-lookup
870eccb54b6ad8888619cceecc3d5ea6a12d213b
[ "BSD-2-Clause" ]
1
2020-05-09T20:12:37.000Z
2020-05-09T20:12:37.000Z
test.py
WojciechMula/simd-byte-lookup
870eccb54b6ad8888619cceecc3d5ea6a12d213b
[ "BSD-2-Clause" ]
2
2019-08-14T10:44:10.000Z
2020-11-04T00:50:39.000Z
import sys from lib.generate import generate TEST_PROGRAM = """ // Program generated automatically #include <immintrin.h> #include <cstdint> #include <cstdlib> #include <cstdio> // %(VALUES_LIST)s static bool expected_value[256] = {%(EXPECTED_LIST)s}; %(FUNCTION_BODY)s bool test() { for (int i=0; i < 256; i++) ...
21.242857
81
0.60121
188
1,487
4.526596
0.420213
0.070505
0.06698
0.058754
0.072855
0
0
0
0
0
0
0.024545
0.260256
1,487
69
82
21.550725
0.749091
0
0
0
1
0
0.517497
0.028937
0
0
0
0
0
0
null
null
0
0.040816
null
null
0.081633
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
4d88e5535ba29dfcfed0dfe9b74f5c51374abc7f
1,606
py
Python
hubbot/config.py
Heufneutje/Hubbot_Twisted
2236b5b32596b08afea8af66f8123bf1cea6239e
[ "MIT" ]
null
null
null
hubbot/config.py
Heufneutje/Hubbot_Twisted
2236b5b32596b08afea8af66f8123bf1cea6239e
[ "MIT" ]
null
null
null
hubbot/config.py
Heufneutje/Hubbot_Twisted
2236b5b32596b08afea8af66f8123bf1cea6239e
[ "MIT" ]
null
null
null
import yaml _required = ["servers"] class Config(object): def __init__(self, configFile): self.configFile = configFile self._configData = {} def readConfig(self): try: with open(self.configFile, "r") as config: configData = yaml.safe_load(config) e...
29.740741
116
0.638232
172
1,606
5.75
0.296512
0.169869
0.08089
0.072801
0.163802
0.163802
0.163802
0.119312
0.119312
0.119312
0
0
0.268369
1,606
53
117
30.301887
0.841702
0
0
0.225
0
0
0.072229
0
0
0
0
0
0
1
0.25
false
0
0.025
0.1
0.55
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
4dad455353eca8f64e88b57e73bc6f5f960d2ebd
443
py
Python
binaryTree/node_depths.py
weilincheng/LeetCode-practice
6e105bf381661d9f737d724c2dd42aa9cf9a5588
[ "MIT" ]
null
null
null
binaryTree/node_depths.py
weilincheng/LeetCode-practice
6e105bf381661d9f737d724c2dd42aa9cf9a5588
[ "MIT" ]
null
null
null
binaryTree/node_depths.py
weilincheng/LeetCode-practice
6e105bf381661d9f737d724c2dd42aa9cf9a5588
[ "MIT" ]
null
null
null
# O(n) time | O(h) space - where n is the number of nodes in the Binary Tree # and h is the height of the Binary Tree def nodeDepths(root, depth = 0): if root is None: return 0 return depth + nodeDepths(root.left, depth + 1) + nodeDepths(root.right, depth + 1) # This is the class of the input binary tree. clas...
31.642857
84
0.659142
73
443
3.945205
0.465753
0.052083
0.090278
0
0
0
0
0
0
0
0
0.012085
0.252822
443
13
85
34.076923
0.858006
0.354402
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
4dd0d75bfb88361dd30d31fd958589df96e3a9ea
2,076
py
Python
dataviewer.py
felit/data-visualize
023f70890a39209e5f9088627053950508dfc566
[ "MIT" ]
1
2019-12-10T05:06:21.000Z
2019-12-10T05:06:21.000Z
dataviewer.py
felit/data-visualize
023f70890a39209e5f9088627053950508dfc566
[ "MIT" ]
null
null
null
dataviewer.py
felit/data-visualize
023f70890a39209e5f9088627053950508dfc566
[ "MIT" ]
1
2018-09-27T13:09:48.000Z
2018-09-27T13:09:48.000Z
# -*- coding:utf8 -*- from flask import Flask from flask import jsonify from flask import render_template from flask import request app = Flask(__name__) from data_adapter import * import psycopg2 from models.datasource import DataSource @app.route('/config') def config(): return render_template('react_test.html...
22.322581
119
0.683526
253
2,076
5.44664
0.328063
0.069666
0.145138
0.065312
0.181422
0
0
0
0
0
0
0.01558
0.165222
2,076
92
120
22.565217
0.779573
0.02842
0
0.032787
0
0
0.198708
0.036264
0
0
0
0
0
1
0.196721
false
0.032787
0.131148
0.131148
0.508197
0.016393
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
4dddb87d947fb8905280cb416daa74c892503f4a
2,053
py
Python
tests/uri_encoding.py
naokazuterada/MarkdownTOC
b61546d001661d9385423556a62c21c36abc6857
[ "MIT" ]
299
2015-01-16T23:58:12.000Z
2022-03-12T03:26:17.000Z
tests/uri_encoding.py
naokazuterada/MarkdownTOC
b61546d001661d9385423556a62c21c36abc6857
[ "MIT" ]
137
2015-01-14T22:43:21.000Z
2021-05-25T10:27:12.000Z
tests/uri_encoding.py
naokazuterada/MarkdownTOC
b61546d001661d9385423556a62c21c36abc6857
[ "MIT" ]
77
2015-01-23T17:51:36.000Z
2022-03-16T02:19:38.000Z
# coding:utf-8 from base import TestBase class TestUriEncoding(TestBase): """Test for attributes \'uri_encoding\'""" # for debug # def tearDown(self): # pass uri_encoding_text = """ <!-- MarkdownTOC autolink="true" lowercase="only_ascii" {0} --> <!-- /MarkdownTOC --> # Camión, último # Es...
33.112903
94
0.57282
298
2,053
3.812081
0.251678
0.110915
0.171655
0.198063
0.711268
0.692782
0.602113
0.602113
0.602113
0.602113
0
0.078184
0.227472
2,053
61
95
33.655738
0.638083
0.055528
0
0.391304
0
0.130435
0.435392
0.26985
0
0
0
0
0.326087
1
0.065217
false
0
0.021739
0
0.130435
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4de0a6a0142b91e58ba6e737a0f7151e4a0c7929
6,284
py
Python
test_read_mars_data.py
2e0byo/mars-parser
7ca65ad4951bead3e52291daae9843cdaa4d75bd
[ "MIT" ]
null
null
null
test_read_mars_data.py
2e0byo/mars-parser
7ca65ad4951bead3e52291daae9843cdaa4d75bd
[ "MIT" ]
null
null
null
test_read_mars_data.py
2e0byo/mars-parser
7ca65ad4951bead3e52291daae9843cdaa4d75bd
[ "MIT" ]
null
null
null
import pytest import numpy as np from read_mars_data import parse_header, parse_body, parse_number, read_ascii_data from datetime import datetime from pathlib import Path cases = [["12", 12], ["12.0008", 12.0008], ["----", None], ["1e78", 1e78]] @pytest.mark.parametrize("x,y", cases) def test_parse_number(x, y): ...
37.855422
741
0.466582
800
6,284
3.63375
0.28
0.016512
0.016512
0.018576
0.367389
0.313725
0.313725
0.297214
0.297214
0.297214
0
0.386176
0.32543
6,284
165
742
38.084848
0.299599
0
0
0.012821
0
0.019231
0.483291
0.065722
0
0
0
0
0.102564
1
0.025641
false
0
0.032051
0
0.057692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2