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
14ccad4dd054c93c0d3d986bede0043a928bd241
1,296
py
Python
Python/easy/e308.py
tlgs/dailyprogrammer
6e7d3352616fa54a8e9caf8564a9cfb951eb0af9
[ "Unlicense" ]
4
2017-10-18T02:17:02.000Z
2022-02-02T01:19:02.000Z
Python/easy/e308.py
tlseabra/dailyprogrammer
6e7d3352616fa54a8e9caf8564a9cfb951eb0af9
[ "Unlicense" ]
4
2016-01-24T20:30:02.000Z
2017-01-18T16:01:23.000Z
Python/easy/e308.py
tlgs/dailyprogrammer
6e7d3352616fa54a8e9caf8564a9cfb951eb0af9
[ "Unlicense" ]
null
null
null
# 27/03/2017 grid = ["########=####/#", "# | #", "# # #", "# # #", "####### #", "# _ #", "###############"] grid = [[c for c in grid[y]] for y in range(0, len(grid))] coords = [(1, 1), (1, 2), (1, 3), (5, 6), (4, 2), (1, 1)...
32.4
116
0.346451
203
1,296
2.182266
0.187192
0.259594
0.189616
0.126411
0.51693
0.474041
0.474041
0.325056
0.261851
0.261851
0
0.065
0.382716
1,296
40
117
32.4
0.48875
0.007716
0
0.166667
0
0
0.100389
0
0
0
0
0
0
1
0.033333
false
0
0
0
0.033333
0.033333
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0913ae5c60f25c2367a0a256904b80585ab6218f
107
py
Python
helloworld.py
CptShock/AuroraModules
4503326384ed34312be9d1d0f52242f1f8774eeb
[ "MIT" ]
null
null
null
helloworld.py
CptShock/AuroraModules
4503326384ed34312be9d1d0f52242f1f8774eeb
[ "MIT" ]
null
null
null
helloworld.py
CptShock/AuroraModules
4503326384ed34312be9d1d0f52242f1f8774eeb
[ "MIT" ]
null
null
null
import willie @willie.module.commands('helloworld') def helloworld(bot, trigger): bot.say('Hello World!')
21.4
37
0.757009
14
107
5.785714
0.785714
0
0
0
0
0
0
0
0
0
0
0
0.084112
107
5
38
21.4
0.826531
0
0
0
0
0
0.203704
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
091a77df20302ee0084a7654b18b1ee22befce44
10,761
py
Python
tests/python/unittest/test_tir_schedule_reorder.py
mozga-intel/tvm
544724439efb9a795c92bd7ec9f7929e41c843c6
[ "Zlib", "Unlicense", "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0" ]
2
2021-08-12T17:27:40.000Z
2021-11-17T10:56:52.000Z
tests/python/unittest/test_tir_schedule_reorder.py
mozga-intel/tvm
544724439efb9a795c92bd7ec9f7929e41c843c6
[ "Zlib", "Unlicense", "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0" ]
null
null
null
tests/python/unittest/test_tir_schedule_reorder.py
mozga-intel/tvm
544724439efb9a795c92bd7ec9f7929e41c843c6
[ "Zlib", "Unlicense", "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0" ]
5
2020-11-13T19:26:25.000Z
2022-01-25T07:55:16.000Z
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
36.477966
100
0.596785
1,793
10,761
3.451757
0.10039
0.095977
0.085797
0.046534
0.781386
0.749071
0.694458
0.684602
0.666828
0.658103
0
0.076026
0.243379
10,761
294
101
36.602041
0.684107
0.08633
0
0.706667
0
0
0.012943
0
0
0
0
0
0.017778
1
0.097778
false
0
0.026667
0
0.124444
0
0
0
0
null
0
0
0
0
1
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
3
092674e879b31c20a26f011613096d4dc4f31c66
6,087
py
Python
db-server/dbcon/migrations/0003_auto_20210528_1824.py
JannisBush/xs-leaks-browser-web
15ed76a87c1c30e15cd7d0b070e2853d17d322bc
[ "MIT" ]
null
null
null
db-server/dbcon/migrations/0003_auto_20210528_1824.py
JannisBush/xs-leaks-browser-web
15ed76a87c1c30e15cd7d0b070e2853d17d322bc
[ "MIT" ]
null
null
null
db-server/dbcon/migrations/0003_auto_20210528_1824.py
JannisBush/xs-leaks-browser-web
15ed76a87c1c30e15cd7d0b070e2853d17d322bc
[ "MIT" ]
null
null
null
# Generated by Django 3.2.3 on 2021-05-28 18:24 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('dbcon', '0002_auto_20210528_1657'), ] operations = [ migrations.CreateModel( name='WindowProper...
34.196629
332
0.56366
508
6,087
6.470472
0.187008
0.087618
0.182537
0.202921
0.624277
0.590508
0.590508
0.541831
0.47125
0.47125
0
0.008248
0.322819
6,087
177
333
34.389831
0.78918
0.007393
0
0.678363
1
0
0.230464
0.037583
0
0
0
0
0
1
0
false
0
0.011696
0
0.02924
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0943cfc8135a3bb71a09d09e25620f917fe70afb
214
py
Python
iniciante/python/1065-pares-entre-cinco-numeros.py
tfn10/beecrowd
1ebf19ca9a253eb326160f03145d20be33064969
[ "MIT" ]
null
null
null
iniciante/python/1065-pares-entre-cinco-numeros.py
tfn10/beecrowd
1ebf19ca9a253eb326160f03145d20be33064969
[ "MIT" ]
null
null
null
iniciante/python/1065-pares-entre-cinco-numeros.py
tfn10/beecrowd
1ebf19ca9a253eb326160f03145d20be33064969
[ "MIT" ]
null
null
null
def pares(): valores_pares = i = 0 while i < 5: numero = int(input()) if numero % 2 == 0: valores_pares += 1 i += 1 print(f'{valores_pares} valores pares') pares()
17.833333
43
0.495327
28
214
3.678571
0.535714
0.466019
0.330097
0
0
0
0
0
0
0
0
0.044776
0.373832
214
11
44
19.454545
0.723881
0
0
0
0
0
0.135514
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.111111
0.111111
1
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
3
0956e4d8a270a96cc599cfb8d6f452460d727b5e
33,225
py
Python
experiments/bin_plot_11.02.21-BPE_Pressure_Deflection_20X.py
sean-mackenzie/gdpyt-analysis
b03931ee431862573aaf449a6b5db2aea00bf998
[ "MIT" ]
null
null
null
experiments/bin_plot_11.02.21-BPE_Pressure_Deflection_20X.py
sean-mackenzie/gdpyt-analysis
b03931ee431862573aaf449a6b5db2aea00bf998
[ "MIT" ]
null
null
null
experiments/bin_plot_11.02.21-BPE_Pressure_Deflection_20X.py
sean-mackenzie/gdpyt-analysis
b03931ee431862573aaf449a6b5db2aea00bf998
[ "MIT" ]
null
null
null
# test bin, analyze, and plot functions # imports import os from os.path import join from os import listdir import matplotlib.pyplot as plt # imports import numpy as np import pandas as pd from scipy.optimize import curve_fit import filter import analyze from correction import correct from utils import fit, function...
41.53125
282
0.521234
4,199
33,225
3.870445
0.105263
0.021228
0.016798
0.017721
0.773566
0.737755
0.713881
0.663672
0.645274
0.611002
0
0.02392
0.324304
33,225
800
283
41.53125
0.7
0.134296
0
0.638
0
0.006
0.131203
0.079174
0
0
0
0
0
1
0
false
0
0.024
0
0.024
0.006
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
095da7ac1ee3bb3c7e99bc92ba4533a90fbb1f68
30,916
py
Python
steelpy/sections/shapes/elliptical.py
svortega/steelpy
bef35eb8ab8728fc29f57b7070b5f3bac0b0e840
[ "MIT" ]
4
2021-09-28T12:52:01.000Z
2022-02-24T22:30:22.000Z
steelpy/sections/shapes/elliptical.py
svortega/steelpy
bef35eb8ab8728fc29f57b7070b5f3bac0b0e840
[ "MIT" ]
null
null
null
steelpy/sections/shapes/elliptical.py
svortega/steelpy
bef35eb8ab8728fc29f57b7070b5f3bac0b0e840
[ "MIT" ]
null
null
null
# # Copyright (c) 2019-2021 steelpy # # Python stdlib imports import math # # package imports #import steelpy.units.control as units #from steelpy.sectionproperty.shapes.iomodule import (find_section_dimensions, # get_dimension) # --------------------------------...
30.369352
97
0.463773
3,713
30,916
3.689469
0.108268
0.008468
0.028907
0.031535
0.759544
0.73509
0.713337
0.692313
0.676181
0.67056
0
0.055677
0.391157
30,916
1,018
98
30.369352
0.672103
0.286615
0
0.592857
0
0.002381
0.042052
0
0
0
0
0
0
1
0.064286
false
0.009524
0.002381
0
0.083333
0.07619
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
117c691c6a557333c578f4422d646db9e4b678e2
250
py
Python
resources/lib/basictypes/__init__.py
torstehu/Transmission-XBMC
10f319deb0d9e5839e62f86c8c6ed5a9175d26fc
[ "MIT" ]
22
2015-02-04T19:58:02.000Z
2021-07-29T05:25:08.000Z
resources/lib/basictypes/__init__.py
torstehu/Transmission-XBMC
10f319deb0d9e5839e62f86c8c6ed5a9175d26fc
[ "MIT" ]
14
2015-01-07T00:08:28.000Z
2019-10-24T00:27:48.000Z
resources/lib/basictypes/__init__.py
torstehu/Transmission-XBMC
10f319deb0d9e5839e62f86c8c6ed5a9175d26fc
[ "MIT" ]
15
2015-02-26T15:01:04.000Z
2020-12-02T09:14:44.000Z
"""Common data-modeling Python types The idea of the basictypes package is to provide types which provide enough metadata to allow an application to use introspection to perform much of the housekeeping required to create business applications. """
27.777778
48
0.816
37
250
5.513514
0.756757
0.04902
0
0
0
0
0
0
0
0
0
0
0.152
250
8
49
31.25
0.962264
0.968
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
11885e09fd100e5de0c9a68d822775785e83b592
770
py
Python
utils/__init__.py
uthcode/baysourashtra
7e783aa93bf7efed2c51591ff9fe823f5dcc9087
[ "BSD-2-Clause" ]
null
null
null
utils/__init__.py
uthcode/baysourashtra
7e783aa93bf7efed2c51591ff9fe823f5dcc9087
[ "BSD-2-Clause" ]
null
null
null
utils/__init__.py
uthcode/baysourashtra
7e783aa93bf7efed2c51591ff9fe823f5dcc9087
[ "BSD-2-Clause" ]
null
null
null
import jinja2 veg_cost = 10.00 non_veg_cost = 10.00 JINJA_ENVIRONMENT = jinja2.Environment( # templates directory is relative to app root. loader=jinja2.FileSystemLoader('templates'), extensions=['jinja2.ext.autoescape'], autoescape=True) form_template = JINJA_ENVIRONMENT.get_template('form.html') pay_templa...
38.5
73
0.819481
99
770
6.060606
0.363636
0.24
0.32
0.36
0.466667
0
0
0
0
0
0
0.01683
0.074026
770
19
74
40.526316
0.824684
0.057143
0
0
0
0
0.175414
0.029006
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
118b651d417b56bed08ffea9aba459b2a74a089a
123,352
py
Python
pysnmp-with-texts/CPQCMC-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/CPQCMC-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/CPQCMC-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 CPQCMC-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CPQCMC-MIB # Produced by pysmi-0.3.4 at Wed May 1 12:27:17 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:...
189.190184
10,874
0.762412
15,219
123,352
6.179447
0.050266
0.008932
0.087756
0.010293
0.673975
0.584486
0.565357
0.548206
0.5419
0.534159
0
0.06926
0.095321
123,352
651
10,875
189.480799
0.773482
0.002546
0
0
0
0.200311
0.305408
0.003137
0
0
0
0
0
1
0
false
0.01087
0.012422
0
0.012422
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
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
11b766c7a40c6e154952a3bbf86ba51335395f56
198
py
Python
src/sst/elements/ember/test/generateNidListRange.py
sudhanshu2/sst-elements
d658e5e4b26e5725488f9e93528506ddb22072ee
[ "BSD-3-Clause" ]
58
2015-10-05T15:22:27.000Z
2022-03-31T01:58:36.000Z
src/sst/elements/ember/test/generateNidListRange.py
sudhanshu2/sst-elements
d658e5e4b26e5725488f9e93528506ddb22072ee
[ "BSD-3-Clause" ]
1,453
2015-10-07T14:51:06.000Z
2022-03-31T22:22:28.000Z
src/sst/elements/ember/test/generateNidListRange.py
sudhanshu2/sst-elements
d658e5e4b26e5725488f9e93528506ddb22072ee
[ "BSD-3-Clause" ]
109
2015-10-16T22:03:10.000Z
2022-03-22T23:21:32.000Z
def generate( args ): args = args.split(',') start = int(args[0]) length = int(args[1]) #print 'generate', start, length return str(start) + '-' + str( start + length - 1 )
28.285714
55
0.545455
25
198
4.32
0.48
0.148148
0
0
0
0
0
0
0
0
0
0.020833
0.272727
198
6
56
33
0.729167
0.156566
0
0
1
0
0.012121
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
11bd6f5fda2dd434109e2a16405953b1c33d9579
1,692
py
Python
neptune/internal/channels/channels.py
wuchangsheng951/neptune-client
7061eda03958f6bba293b6798a3b2081d434769c
[ "Apache-2.0" ]
null
null
null
neptune/internal/channels/channels.py
wuchangsheng951/neptune-client
7061eda03958f6bba293b6798a3b2081d434769c
[ "Apache-2.0" ]
null
null
null
neptune/internal/channels/channels.py
wuchangsheng951/neptune-client
7061eda03958f6bba293b6798a3b2081d434769c
[ "Apache-2.0" ]
null
null
null
# # Copyright (c) 2019, Neptune Labs Sp. z o.o. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agr...
24.171429
89
0.660165
224
1,692
4.790179
0.482143
0.055918
0.039143
0.029823
0
0
0
0
0
0
0
0.006173
0.234043
1,692
69
90
24.521739
0.821759
0.333924
0
0.076923
0
0
0.151215
0.026103
0
0
0
0
0
1
0.205128
false
0
0.076923
0.179487
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
11c0cda7e97f290b8b279cd3cf5d9aa0dedc4fef
2,134
py
Python
hubbot/moduleinterface.py
HubbeKing/Hubbot_Twisted
3398eadfdf11d15e3d92223992c29ac35822032c
[ "MIT" ]
2
2015-04-05T16:15:31.000Z
2015-07-23T06:25:24.000Z
hubbot/moduleinterface.py
HubbeKing/Hubbot_Twisted
3398eadfdf11d15e3d92223992c29ac35822032c
[ "MIT" ]
8
2015-01-08T08:05:50.000Z
2017-02-03T09:57:24.000Z
hubbot/moduleinterface.py
HubbeKing/Hubbot_Twisted
3398eadfdf11d15e3d92223992c29ac35822032c
[ "MIT" ]
null
null
null
from enum import Enum class ModuleAccessLevel(Enum): ANYONE = 0 ADMINS = 1 class ModuleInterface(object): """ The interface modules should inherit and implement in order to function with the ModuleHandler. triggers - command words that cause the module to trigger. accepted_types - message t...
32.830769
138
0.659325
272
2,134
5.125
0.386029
0.05165
0.05165
0.022956
0.213773
0.096126
0.060258
0
0
0
0
0.001953
0.280225
2,134
64
139
33.34375
0.905599
0.581068
0
0.208333
0
0
0.038407
0
0
0
0
0
0
1
0.208333
false
0.125
0.041667
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
11c486c37e7bdacf8a48fb570c1ee34048aef190
7,187
py
Python
espy/algorithms/channel_noise_simulator.py
Yomikron/espy
375ae45089165b7221c10a79ad85517f83529577
[ "MIT" ]
1
2020-10-03T08:32:45.000Z
2020-10-03T08:32:45.000Z
espy/algorithms/channel_noise_simulator.py
Yomikron/espy
375ae45089165b7221c10a79ad85517f83529577
[ "MIT" ]
null
null
null
espy/algorithms/channel_noise_simulator.py
Yomikron/espy
375ae45089165b7221c10a79ad85517f83529577
[ "MIT" ]
null
null
null
import numpy class channel_noise_simulator: """Class to hold usefull funktions to simulate noise in a channel""" def __init__(self): return # _____________create bits___________________ def create_random_bits_list(self, len): """create a random len bits long bitstring """ bi...
36.29798
115
0.535411
903
7,187
4.006645
0.116279
0.058043
0.042289
0.033168
0.768657
0.747374
0.718076
0.679657
0.629906
0.609453
0
0.032093
0.375678
7,187
197
116
36.482234
0.774237
0.316126
0
0.614754
0
0
0.018287
0
0
0
0
0
0
1
0.081967
false
0
0.008197
0.008197
0.180328
0.016393
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
11d80c9b8c035da6018db84d05cccf5325dc0fbb
2,595
py
Python
mars/tensor/reduction/__init__.py
sighingnow/mars
c7897fbd144d230fff5edabc1494fb3ff44aa0d2
[ "Apache-2.0" ]
null
null
null
mars/tensor/reduction/__init__.py
sighingnow/mars
c7897fbd144d230fff5edabc1494fb3ff44aa0d2
[ "Apache-2.0" ]
null
null
null
mars/tensor/reduction/__init__.py
sighingnow/mars
c7897fbd144d230fff5edabc1494fb3ff44aa0d2
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright 1999-2018 Alibaba Group Holding Ltd. # # 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-...
37.608696
83
0.771869
314
2,595
6.356688
0.474522
0.084669
0.013026
0.016032
0
0
0
0
0
0
0
0.005877
0.147592
2,595
68
84
38.161765
0.896474
0.235838
0
0
0
0
0.027439
0
0
0
0
0
0
1
0.021277
true
0
0.595745
0
0.617021
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
11e20a2aa7bb87c04301b23e9dcfd55aeb546973
663
py
Python
Week 6/Programming Assignment 3 - Functions.py
joe733/Joy-Of-Computing-Using-Python-2019
0a729c805d79d3091c7a8531904b158867a3f4a9
[ "MIT" ]
null
null
null
Week 6/Programming Assignment 3 - Functions.py
joe733/Joy-Of-Computing-Using-Python-2019
0a729c805d79d3091c7a8531904b158867a3f4a9
[ "MIT" ]
null
null
null
Week 6/Programming Assignment 3 - Functions.py
joe733/Joy-Of-Computing-Using-Python-2019
0a729c805d79d3091c7a8531904b158867a3f4a9
[ "MIT" ]
null
null
null
''' Given an integer number n, define a function named printDict() which can print a dictionary where the keys are numbers between 1 and n (both included) and the values are square of keys. The function printDict() doesn't take any argument. >>Input Format: The first line contains the number n. >>Output Format: Print...
26.52
185
0.708899
117
663
4.017094
0.589744
0.070213
0.085106
0
0
0
0
0
0
0
0
0.03125
0.179487
663
24
186
27.625
0.832721
0.832579
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.25
0.75
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
1
0
0
0
0
0
1
0
3
11f8b404fdd34d37b28f3134775aec852df66abd
2,052
py
Python
thualign/utils/hook.py
bryant1410/Mask-Align
329690919d6885a8fcdf13beef6cf98ff6a2d51a
[ "BSD-3-Clause" ]
27
2021-05-11T07:24:59.000Z
2022-03-25T05:23:45.000Z
thualign/utils/hook.py
bryant1410/Mask-Align
329690919d6885a8fcdf13beef6cf98ff6a2d51a
[ "BSD-3-Clause" ]
11
2021-10-02T05:56:01.000Z
2022-03-30T02:32:36.000Z
thualign/utils/hook.py
bryant1410/Mask-Align
329690919d6885a8fcdf13beef6cf98ff6a2d51a
[ "BSD-3-Clause" ]
11
2021-06-04T05:23:39.000Z
2022-03-19T19:40:55.000Z
# coding=utf-8 # Copyright 2021-Present The THUAlign Authors import torch import numpy as np from .summary import scalar from .misc import get_global_step def print_grad(x, name="x"): if type(x) == torch.Tensor: x.register_hook(lambda x: print("Norm - {} {}:{}\n {}".format(name, list(x.shape), torch.norm...
33.096774
122
0.653509
291
2,052
4.402062
0.237113
0.212334
0.046838
0.056206
0.520687
0.469165
0.469165
0.350507
0.256831
0.256831
0
0.005521
0.205653
2,052
62
123
33.096774
0.780368
0.0346
0
0.408163
0
0
0.063259
0
0
0
0
0.016129
0
1
0.163265
false
0.061224
0.081633
0
0.306122
0.122449
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
0
0
0
3
11fd80f587d5b158869efd47a0af863271c09bff
236
py
Python
code/matplotlib/test.py
qiudebo/13learn
32b6ab0c6f6abd5873e3445b31a86f602520d473
[ "MIT" ]
1
2019-03-07T09:02:27.000Z
2019-03-07T09:02:27.000Z
code/matplotlib/test.py
qiudebo/13learn
32b6ab0c6f6abd5873e3445b31a86f602520d473
[ "MIT" ]
null
null
null
code/matplotlib/test.py
qiudebo/13learn
32b6ab0c6f6abd5873e3445b31a86f602520d473
[ "MIT" ]
null
null
null
# *-* coding:utf-8 *-* import numpy as np import matplotlib.pyplot as plt import matplotlib from matplotlib import style import os from os import path from matplotlib.font_manager import fontManager # 图表坐标系
11.8
48
0.699153
31
236
5.290323
0.580645
0.195122
0
0
0
0
0
0
0
0
0
0.00565
0.25
236
19
49
12.421053
0.920904
0.110169
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
ee93ea0629a0f1aa4d853a37408d91b6dbf95585
3,001
py
Python
proxysql_tools/galera/galera_node.py
akuzminsky/proxysql-tools
155618320f5b82e88e2e96a1c6bc31d637599a5c
[ "Apache-2.0" ]
26
2017-04-20T19:28:40.000Z
2022-01-10T12:40:08.000Z
proxysql_tools/galera/galera_node.py
akuzminsky/proxysql-tools
155618320f5b82e88e2e96a1c6bc31d637599a5c
[ "Apache-2.0" ]
63
2017-02-06T05:12:28.000Z
2018-03-27T16:46:02.000Z
proxysql_tools/galera/galera_node.py
akuzminsky/proxysql-tools
155618320f5b82e88e2e96a1c6bc31d637599a5c
[ "Apache-2.0" ]
6
2017-04-10T18:58:01.000Z
2018-02-19T05:05:40.000Z
"""Module describes GaleraNode class""" from contextlib import contextmanager import pymysql from pymysql.cursors import DictCursor from proxysql_tools import execute class GaleraNodeState(object): # pylint: disable=too-few-public-methods """State of Galera node http://bit.ly/2r1tUGB """ PRIMARY = 1 JO...
29.421569
76
0.628457
367
3,001
5.002725
0.33515
0.045752
0.034858
0.037582
0.030501
0
0
0
0
0
0
0.005977
0.275242
3,001
101
77
29.712871
0.838161
0.336888
0
0.076923
0
0
0.081994
0.013296
0
0
0
0
0
1
0.211538
false
0.057692
0.076923
0.057692
0.596154
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
eeaf2cce280884723c4645f7c1ddebca9931a830
737
py
Python
hyperion/helpers/__init__.py
hyperion-ml/hyperion
c4c9eee0acab1ba572843373245da12d00dfffaa
[ "Apache-2.0" ]
14
2021-12-19T04:24:15.000Z
2022-03-18T03:24:04.000Z
hyperion/helpers/__init__.py
hyperion-ml/hyperion
c4c9eee0acab1ba572843373245da12d00dfffaa
[ "Apache-2.0" ]
null
null
null
hyperion/helpers/__init__.py
hyperion-ml/hyperion
c4c9eee0acab1ba572843373245da12d00dfffaa
[ "Apache-2.0" ]
5
2021-12-14T20:41:27.000Z
2022-02-24T14:18:11.000Z
""" Copyright 2018 Johns Hopkins University (Author: Jesus Villalba) Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0) """ from .vector_reader import VectorReader from .vector_class_reader import VectorClassReader from .trial_data_reader import TrialDataReader from .multi_test_trial_data_reader import Multi...
38.789474
71
0.858887
89
737
6.820225
0.47191
0.177924
0.098847
0.103789
0.092257
0.092257
0
0
0
0
0
0.014948
0.092266
737
18
72
40.944444
0.892377
0.459973
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
eeff706a51ac50787d46957a49c99e765e554ee3
346
py
Python
HLTrigger/Configuration/python/HLT_75e33/tasks/pfClusteringECALTask_cfi.py
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
1
2021-11-30T16:24:46.000Z
2021-11-30T16:24:46.000Z
HLTrigger/Configuration/python/HLT_75e33/tasks/pfClusteringECALTask_cfi.py
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
4
2021-11-29T13:57:56.000Z
2022-03-29T06:28:36.000Z
HLTrigger/Configuration/python/HLT_75e33/tasks/pfClusteringECALTask_cfi.py
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
1
2021-11-30T16:16:05.000Z
2021-11-30T16:16:05.000Z
import FWCore.ParameterSet.Config as cms from ..modules.particleFlowClusterECALUncorrected_cfi import * from ..modules.particleFlowRecHitECAL_cfi import * from ..tasks.particleFlowClusterECALTask_cfi import * pfClusteringECALTask = cms.Task( particleFlowClusterECALTask, particleFlowClusterECALUncorrected, ...
28.833333
62
0.83526
27
346
10.592593
0.555556
0.094406
0.090909
0
0
0
0
0
0
0
0
0
0.106936
346
11
63
31.454545
0.925566
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.444444
0
0.444444
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
e10d61d375a3fdd0b7e1f48f9f60d3c13b01a4bd
182
py
Python
ImgOperator/Oporation.py
keyofdeath/AugmentedReality
dfd30e17c9af5a4c392ae618d9f1f0fbf8a4e5b6
[ "MIT" ]
null
null
null
ImgOperator/Oporation.py
keyofdeath/AugmentedReality
dfd30e17c9af5a4c392ae618d9f1f0fbf8a4e5b6
[ "MIT" ]
null
null
null
ImgOperator/Oporation.py
keyofdeath/AugmentedReality
dfd30e17c9af5a4c392ae618d9f1f0fbf8a4e5b6
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- class Oporation(): def __init__(self): pass def apply(self, img): pass if __name__ == "__main__": pass
12.133333
26
0.543956
22
182
3.954545
0.818182
0
0
0
0
0
0
0
0
0
0
0.007813
0.296703
182
15
27
12.133333
0.671875
0.230769
0
0.428571
0
0
0.057554
0
0
0
0
0
0
1
0.285714
false
0.428571
0
0
0.428571
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
e11e9809119ecc56162386ae45395665f4f60647
935
py
Python
promort/clinical_annotations_manager/migrations/0018_auto_20211128_1525.py
mdrio/ProMort
34dd205d3a92d479991ac1d4fb3a6944fa2b5005
[ "MIT" ]
3
2016-12-28T08:12:51.000Z
2020-07-08T21:03:48.000Z
promort/clinical_annotations_manager/migrations/0018_auto_20211128_1525.py
mdrio/ProMort
34dd205d3a92d479991ac1d4fb3a6944fa2b5005
[ "MIT" ]
37
2016-11-11T09:57:45.000Z
2022-03-31T16:04:53.000Z
promort/clinical_annotations_manager/migrations/0018_auto_20211128_1525.py
mdrio/ProMort
34dd205d3a92d479991ac1d4fb3a6944fa2b5005
[ "MIT" ]
4
2016-04-22T07:49:40.000Z
2021-09-22T08:09:44.000Z
# Generated by Django 3.1.13 on 2021-11-28 15:25 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('clinical_annotations_manager', '0017_auto_20210424_1321'), ] operations = [ migrations.RenameField( model_name='coreannotation', ...
27.5
68
0.604278
90
935
5.911111
0.455556
0.157895
0.195489
0.225564
0.515038
0.515038
0.515038
0.515038
0.515038
0.515038
0
0.04893
0.300535
935
33
69
28.333333
0.764526
0.049198
0
0.592593
1
0
0.291995
0.081172
0
0
0
0
0
1
0
false
0
0.037037
0
0.148148
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e1212265f1423f143cfecfc1ae76c86260facb20
359
py
Python
week4_2.py
SwapnilNair/Algorithms
9ea3f37da01e261cc14411aebde41f47e4a07909
[ "MIT" ]
null
null
null
week4_2.py
SwapnilNair/Algorithms
9ea3f37da01e261cc14411aebde41f47e4a07909
[ "MIT" ]
null
null
null
week4_2.py
SwapnilNair/Algorithms
9ea3f37da01e261cc14411aebde41f47e4a07909
[ "MIT" ]
null
null
null
def DFSInit(adjMAT): (rows,cols) = adjMAT.shape (visited,parents) = ({},{}) for i in range rows: visited[i] = False parents[i] = -1 return (visited,parents) def DFS(adjMAT,visited,parent,v): visited[v] = True for k in neighbours(v): if (not visited[k]): parent[k] = v (visited,parent) = DFS(adjMAT,visit...
22.4375
50
0.660167
54
359
4.388889
0.425926
0.219409
0.135021
0.185654
0
0
0
0
0
0
0
0.003344
0.167131
359
15
51
23.933333
0.789298
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
e123fcc2437c86e9221902445d76b51604c3d01f
85
py
Python
scripts/resources/config.py
KoMaTo3/Biominator
655ed921cce7d1f720ab1f6fda981eb53d2cf2a7
[ "MIT" ]
null
null
null
scripts/resources/config.py
KoMaTo3/Biominator
655ed921cce7d1f720ab1f6fda981eb53d2cf2a7
[ "MIT" ]
null
null
null
scripts/resources/config.py
KoMaTo3/Biominator
655ed921cce7d1f720ab1f6fda981eb53d2cf2a7
[ "MIT" ]
1
2021-08-02T17:33:25.000Z
2021-08-02T17:33:25.000Z
config_platform = 'win32' #config_platform = 'android' #config_platform = 'linux'
21.25
29
0.729412
9
85
6.555556
0.555556
0.711864
0
0
0
0
0
0
0
0
0
0.027397
0.141176
85
3
30
28.333333
0.780822
0.611765
0
0
0
0
0.178571
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
011fcb0799ead069e69fe481d6176a6413f374d1
536
py
Python
src/straitjacket/__main__.py
pombredanne/gitlab.com-mbarkhau-straitjacket
b9d1c3c74cefdb934468c50fc66670cb3058ba82
[ "MIT" ]
null
null
null
src/straitjacket/__main__.py
pombredanne/gitlab.com-mbarkhau-straitjacket
b9d1c3c74cefdb934468c50fc66670cb3058ba82
[ "MIT" ]
null
null
null
src/straitjacket/__main__.py
pombredanne/gitlab.com-mbarkhau-straitjacket
b9d1c3c74cefdb934468c50fc66670cb3058ba82
[ "MIT" ]
null
null
null
#!/usr/bin/env python # This file is part of the straitjacket project # https://gitlab.com/mbarkhau/straitjacket # # Copyright (c) 2018 Manuel Barkhau (mbarkhau@gmail.com) - MIT License # SPDX-License-Identifier: MIT try: import backtrace # To enable pretty tracebacks: # echo "export ENABLE_BACKTRACE=1;...
20.615385
75
0.708955
72
536
5.097222
0.777778
0
0
0
0
0
0
0
0
0
0
0.013636
0.179104
536
25
76
21.44
0.820455
0.527985
0
0
0
0
0.032653
0
0
0
0
0
0
1
0
true
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
1
1
1
0
0
0
0
3
012569c03c82164248aab701f5adab2e9d10484f
669
py
Python
peek_plugin_base/agent/PluginAgentEntryHookABC.py
Synerty/peek_plugin_base
aa8a09a52bd5e1f95e4b61907f5de3b661fc9780
[ "MIT" ]
null
null
null
peek_plugin_base/agent/PluginAgentEntryHookABC.py
Synerty/peek_plugin_base
aa8a09a52bd5e1f95e4b61907f5de3b661fc9780
[ "MIT" ]
null
null
null
peek_plugin_base/agent/PluginAgentEntryHookABC.py
Synerty/peek_plugin_base
aa8a09a52bd5e1f95e4b61907f5de3b661fc9780
[ "MIT" ]
1
2016-12-12T15:05:18.000Z
2016-12-12T15:05:18.000Z
from typing import Optional from peek_plugin_base.PluginCommonEntryHookABC import PluginCommonEntryHookABC from peek_plugin_base.agent.PeekAgentPlatformHookABC import PeekAgentPlatformHookABC class PluginAgentEntryHookABC(PluginCommonEntryHookABC): def __init__(self, pluginName: str, pluginRootDir: str, platfor...
33.45
99
0.792227
57
669
9.052632
0.421053
0.031008
0.054264
0.069767
0
0
0
0
0
0
0
0
0.149477
669
19
100
35.210526
0.906854
0
0
0.153846
0
0
0
0
0
0
0
0
0
1
0.230769
false
0
0.230769
0.153846
0.692308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
012d101108f0fb611dec83718d928a6210a8c778
286
py
Python
contrib/cookiecutter/ckan_extension/{{cookiecutter.project}}/ckanext/{{cookiecutter.project_shortname}}/logic/schema.py
gg2/ckan
d61a533cc330b6050f4957573f58ec912695ed0a
[ "BSD-3-Clause" ]
2,805
2015-01-02T18:13:15.000Z
2022-03-31T03:35:01.000Z
contrib/cookiecutter/ckan_extension/{{cookiecutter.project}}/ckanext/{{cookiecutter.project_shortname}}/logic/schema.py
gg2/ckan
d61a533cc330b6050f4957573f58ec912695ed0a
[ "BSD-3-Clause" ]
3,801
2015-01-02T11:05:36.000Z
2022-03-31T19:24:37.000Z
contrib/cookiecutter/ckan_extension/{{cookiecutter.project}}/ckanext/{{cookiecutter.project_shortname}}/logic/schema.py
gg2/ckan
d61a533cc330b6050f4957573f58ec912695ed0a
[ "BSD-3-Clause" ]
1,689
2015-01-02T19:46:43.000Z
2022-03-28T14:59:43.000Z
import ckan.plugins.toolkit as tk def {{cookiecutter.project_shortname}}_get_sum(): not_empty = tk.get_validator("not_empty") convert_int = tk.get_validator("convert_int") return { "left": [not_empty, convert_int], "right": [not_empty, convert_int] }
23.833333
49
0.674825
37
286
4.864865
0.540541
0.177778
0.25
0.3
0
0
0
0
0
0
0
0
0.195804
286
11
50
26
0.782609
0
0
0
0
0
0.101399
0
0
0
0
0
0
0
null
null
0
0.125
null
null
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
1
0
0
0
0
0
0
0
0
3
013e7a5a4af4776fd8cfb1e9ab0c06c488269328
1,035
py
Python
bblfsh_sonar_checks/checks/java/RSPEC-1215.py
stg-tud/sonar-checks
f4cf4e8b2d98d9d36d7ec8bd196a6cab7dad2ebc
[ "Apache-2.0" ]
3
2018-10-02T12:02:37.000Z
2019-04-04T09:18:37.000Z
bblfsh_sonar_checks/checks/java/RSPEC-1215.py
stg-tud/sonar-checks
f4cf4e8b2d98d9d36d7ec8bd196a6cab7dad2ebc
[ "Apache-2.0" ]
6
2018-08-17T14:43:57.000Z
2019-01-08T12:20:03.000Z
bblfsh_sonar_checks/checks/java/RSPEC-1215.py
stg-tud/sonar-checks
f4cf4e8b2d98d9d36d7ec8bd196a6cab7dad2ebc
[ "Apache-2.0" ]
3
2018-08-23T22:35:41.000Z
2020-04-18T11:29:45.000Z
import bblfsh_sonar_checks.utils as utils import bblfsh def check(uast): findings = [] fin_calls = bblfsh.filter(uast, "//MethodInvocation//" "Identifier[@roleCall and @roleReceiver and @Name='System']/parent::MethodInvocation/" "Identifier[@roleCall and @roleCallee and @Name='gc']/pa...
39.807692
126
0.674396
114
1,035
5.947368
0.359649
0.19469
0.250737
0.272861
0.693215
0.693215
0.693215
0.693215
0.60472
0.60472
0
0
0.170048
1,035
25
127
41.4
0.78929
0
0
0.352941
0
0
0.5343
0.244444
0
0
0
0
0
1
0.058824
false
0
0.117647
0
0.235294
0
0
0
0
null
0
1
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
3
0141ae71c838a1cd96574bfc5c7d89f36e6b377b
2,710
py
Python
boundary/plugin_manifest.py
jdgwartney/boundary-api-cli
f17bc252e3958656514042360c9f96fd50ab496c
[ "Apache-2.0" ]
null
null
null
boundary/plugin_manifest.py
jdgwartney/boundary-api-cli
f17bc252e3958656514042360c9f96fd50ab496c
[ "Apache-2.0" ]
null
null
null
boundary/plugin_manifest.py
jdgwartney/boundary-api-cli
f17bc252e3958656514042360c9f96fd50ab496c
[ "Apache-2.0" ]
null
null
null
# # Copyright 2015 BMC Software, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
23.77193
74
0.628044
327
2,710
5.152905
0.357798
0.142433
0.149555
0.14362
0.115134
0
0
0
0
0
0
0.00408
0.276384
2,710
113
75
23.982301
0.855176
0.313653
0
0.25
0
0
0.071297
0
0
0
0
0
0
1
0.321429
false
0
0.035714
0.196429
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
01425d473826e80fd60c9c11e512433bbbde4a52
786
py
Python
math/iteration_power.py
dimascapella/Python
00fd621fb48b7ac937c008192c63433e1a37d4a1
[ "MIT" ]
1
2021-10-02T22:19:50.000Z
2021-10-02T22:19:50.000Z
math/iteration_power.py
dimascapella/Python
00fd621fb48b7ac937c008192c63433e1a37d4a1
[ "MIT" ]
null
null
null
math/iteration_power.py
dimascapella/Python
00fd621fb48b7ac937c008192c63433e1a37d4a1
[ "MIT" ]
null
null
null
def iteration_power(number: int, exp: int) -> int: """ Perpangkatan dengan metode iteratif atau perulangan rumus matematika: number^exp >>> iteration_power(2, 5) 32 >>> iteration_power(100, 0) 1 >>> iteration_power(0, 100) 0 >>> iteration_power(1, 100) 1 """ result = ...
21.833333
55
0.633588
105
786
4.571429
0.352381
0.2625
0.208333
0.208333
0.2875
0.2875
0.2875
0.2875
0.2
0
0
0.068493
0.256997
786
35
56
22.457143
0.753425
0.400763
0
0
0
0
0.019231
0
0
0
0
0
0
1
0.083333
false
0
0.083333
0
0.25
0.333333
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
016c332b89475b69aaf2bfec8c0909037a555ea5
101
py
Python
yaml_query/tests/test.py
majidaldo/yaml2table
70bcf6ce610a5c62e101b1e88e5846fb780d12e0
[ "MIT" ]
1
2019-03-02T11:09:14.000Z
2019-03-02T11:09:14.000Z
yaml_query/tests/test.py
majidaldo/yaml2table
70bcf6ce610a5c62e101b1e88e5846fb780d12e0
[ "MIT" ]
1
2019-05-21T12:40:18.000Z
2019-05-21T12:40:18.000Z
yaml_query/tests/test.py
majidaldo/yaml2table
70bcf6ce610a5c62e101b1e88e5846fb780d12e0
[ "MIT" ]
null
null
null
select_test = \ """ select * from yaml """ def test('test.yaml','from ): return
10.1
30
0.49505
11
101
4.454545
0.545455
0
0
0
0
0
0
0
0
0
0
0
0.336634
101
9
31
11.222222
0.731343
0
0
0
0
0
0.138462
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
0174924a2fc36bce434b4187c18902a6f9b3b8be
167
py
Python
m3c/__init__.py
rkingan/m3c
2a2b0e30b38c0929ff0d847ce1d84bbc518c84c1
[ "Apache-2.0" ]
1
2021-03-17T06:15:21.000Z
2021-03-17T06:15:21.000Z
m3c/__init__.py
rkingan/m3c
2a2b0e30b38c0929ff0d847ce1d84bbc518c84c1
[ "Apache-2.0" ]
1
2021-03-04T22:11:35.000Z
2021-03-04T22:11:35.000Z
m3c/__init__.py
rkingan/m3c
2a2b0e30b38c0929ff0d847ce1d84bbc518c84c1
[ "Apache-2.0" ]
1
2021-03-17T06:14:54.000Z
2021-03-17T06:14:54.000Z
r""" Library routines for minimally 3-connected graph generation. This program requires cython. """ import pyximport pyximport.install(language_level=3)
15.181818
61
0.742515
20
167
6.15
0.9
0
0
0
0
0
0
0
0
0
0
0.014599
0.179641
167
10
62
16.7
0.883212
0.54491
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
01757c752529456b375b72701eadd20bae91df43
77
py
Python
main.py
felamaslen/neural-net
a2b9657b0f8bde4f3c47533c06cb9ce505c27504
[ "MIT" ]
null
null
null
main.py
felamaslen/neural-net
a2b9657b0f8bde4f3c47533c06cb9ce505c27504
[ "MIT" ]
null
null
null
main.py
felamaslen/neural-net
a2b9657b0f8bde4f3c47533c06cb9ce505c27504
[ "MIT" ]
null
null
null
#!/usr/bin/python3 from environment import Environment env = Environment()
12.833333
35
0.766234
9
77
6.555556
0.777778
0
0
0
0
0
0
0
0
0
0
0.014925
0.12987
77
5
36
15.4
0.865672
0.220779
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
017aecd9b8a447856efe5f796b874ad86a39421a
114
py
Python
login.py
lij321/test
a8d95ef00adfe9cf4ac3a5aba7a6bddac9496f00
[ "MIT" ]
null
null
null
login.py
lij321/test
a8d95ef00adfe9cf4ac3a5aba7a6bddac9496f00
[ "MIT" ]
null
null
null
login.py
lij321/test
a8d95ef00adfe9cf4ac3a5aba7a6bddac9496f00
[ "MIT" ]
null
null
null
a = 2 print(a) b = "hello" print(b) c = 123123 print(c) d = c print(d) def fun() print("*"*5) fun()
5.181818
16
0.491228
21
114
2.666667
0.52381
0
0
0
0
0
0
0
0
0
0
0.1
0.298246
114
21
17
5.428571
0.6
0
0
0
0
0
0.053097
0
0
0
0
0
0
0
null
null
0
0
null
null
0.454545
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
3
6d6730aaa6c8e9a22c005ee24f816f9635b6f645
846
py
Python
___Language___/Python/Iter/Zip and Unzip & range.py
JUD210/Study-Note
2add9db3f11d99370f49878f0c19e9caa60d2d02
[ "MIT" ]
null
null
null
___Language___/Python/Iter/Zip and Unzip & range.py
JUD210/Study-Note
2add9db3f11d99370f49878f0c19e9caa60d2d02
[ "MIT" ]
null
null
null
___Language___/Python/Iter/Zip and Unzip & range.py
JUD210/Study-Note
2add9db3f11d99370f49878f0c19e9caa60d2d02
[ "MIT" ]
null
null
null
a = [1, 2, 3] b = [4, 5] r = ((x, y) for x in a for y in b) print(r) # <generator object <genexpr> at 0x00000182580A0B88> print(*r) # (1, 4) (1, 5) (2, 4) (2, 5) (3, 4) (3, 5) r = [(x, y) for x in a for y in b] print(r) # [(1, 4), (1, 5), (2, 4), (2, 5), (3, 4), (3, 5)] print(*r) # (1, 4) (1, 5) (2, 4) (2, 5) (3, 4)...
18
76
0.447991
178
846
2.129213
0.191011
0.031662
0.047493
0.05277
0.55409
0.55409
0.55409
0.55409
0.490765
0.490765
0
0.292237
0.223404
846
46
77
18.391304
0.284627
0.399527
0
0.294118
0
0
0.01636
0
0
0
0
0
0
1
0
false
0
0
0
0
0.588235
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
1
0
3
6d7818d9f0ccd5fa132f2fc7ca9e42ae0543e804
418
py
Python
Desafios/desafio074.py
VanessaCML/python
56133b9000ba89154f37038e11a3c2d1aa6d1094
[ "MIT" ]
null
null
null
Desafios/desafio074.py
VanessaCML/python
56133b9000ba89154f37038e11a3c2d1aa6d1094
[ "MIT" ]
null
null
null
Desafios/desafio074.py
VanessaCML/python
56133b9000ba89154f37038e11a3c2d1aa6d1094
[ "MIT" ]
null
null
null
from random import randint n = randint(1, 10), randint(1, 10), randint(1, 10), randint(1, 10), randint(1, 10) print(f'Os números sorteados foram: ', end='') for num in n: print(num, end=' ') print(f'\nO menor número é {min(n)} e o maior é {max(n)}.') '''from random import randint a = tuple(randint(1, 5) for i in ...
29.857143
85
0.633971
80
418
3.3125
0.3875
0.181132
0.188679
0.256604
0.407547
0.407547
0.188679
0.188679
0.188679
0.188679
0
0.052174
0.174641
418
13
86
32.153846
0.715942
0
0
0
0
0
0.302326
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.5
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
6d8450f26d5588ebce57c49ddf9e64dd0749e520
642
py
Python
tests/conftest.py
avallbona/periskop-python
c3c6c229b0369f85eb029b876b466cd1dc732de6
[ "Apache-2.0" ]
null
null
null
tests/conftest.py
avallbona/periskop-python
c3c6c229b0369f85eb029b876b466cd1dc732de6
[ "Apache-2.0" ]
null
null
null
tests/conftest.py
avallbona/periskop-python
c3c6c229b0369f85eb029b876b466cd1dc732de6
[ "Apache-2.0" ]
null
null
null
import pytest from periskop_client.collector import ExceptionCollector from periskop_client.exporter import ExceptionExporter from periskop_client.models import HTTPContext @pytest.fixture def collector(): return ExceptionCollector() @pytest.fixture def exporter(collector): return ExceptionExporter(collect...
24.692308
78
0.775701
72
642
6.722222
0.5
0.07438
0.11157
0
0
0
0
0
0
0
0
0.003584
0.130841
642
25
79
25.68
0.863799
0
0
0.1875
0
0
0.065421
0
0
0
0
0
0
1
0.25
false
0
0.25
0.25
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
6d85b388f58394ef642e4a4ff3a0545dd1522f19
210
py
Python
mkauthlist/__init__.py
alexji/mkauthlist
83141de319e0136694adaf352d4aa45856e4e6cb
[ "MIT" ]
3
2016-10-26T20:45:11.000Z
2020-07-13T15:26:09.000Z
mkauthlist/__init__.py
alexji/mkauthlist
83141de319e0136694adaf352d4aa45856e4e6cb
[ "MIT" ]
30
2016-11-17T18:36:09.000Z
2021-09-26T19:39:25.000Z
mkauthlist/__init__.py
alexji/mkauthlist
83141de319e0136694adaf352d4aa45856e4e6cb
[ "MIT" ]
5
2016-10-26T20:41:13.000Z
2021-08-09T18:08:22.000Z
#!/usr/bin/env python """ Nothing to see here. """ __author__ = "Alex Drlica-Wagner" __email__ = "kadrlica@fnal.gov" from ._version import get_versions __version__ = get_versions()['version'] del get_versions
19.090909
39
0.742857
28
210
5
0.785714
0.235714
0.257143
0
0
0
0
0
0
0
0
0
0.119048
210
10
40
21
0.756757
0.195238
0
0
0
0
0.26087
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
1
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
3
6d91397d3546dc3ff75a8d69783f07af371234a0
92
py
Python
python/keepsake/version.py
jsemric/keepsake
d9a7922556748e9e913e83c48e5378b7324eeac7
[ "Apache-2.0" ]
810
2021-02-09T09:26:26.000Z
2022-03-25T14:06:13.000Z
python/keepsake/version.py
jsemric/keepsake
d9a7922556748e9e913e83c48e5378b7324eeac7
[ "Apache-2.0" ]
347
2021-02-08T07:24:29.000Z
2022-03-31T23:05:29.000Z
python/keepsake/version.py
jsemric/keepsake
d9a7922556748e9e913e83c48e5378b7324eeac7
[ "Apache-2.0" ]
43
2020-10-30T19:55:42.000Z
2021-01-18T22:41:49.000Z
# This file is auto-generated by the root Makefile. Do not edit manually. version = "0.4.2"
30.666667
73
0.728261
17
92
3.941176
1
0
0
0
0
0
0
0
0
0
0
0.039474
0.173913
92
2
74
46
0.842105
0.771739
0
0
1
0
0.263158
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6d9378d9b319b99b6e1afb11cfc507c9397585f5
850
py
Python
pedrec/models/validation/validation_results.py
noboevbo/PedRec
891d19bd6a2c7a7d71c2e41d37e7b4c4bfc7762e
[ "MIT" ]
1
2022-03-09T01:24:10.000Z
2022-03-09T01:24:10.000Z
pedrec/models/validation/validation_results.py
noboevbo/PedRec
891d19bd6a2c7a7d71c2e41d37e7b4c4bfc7762e
[ "MIT" ]
null
null
null
pedrec/models/validation/validation_results.py
noboevbo/PedRec
891d19bd6a2c7a7d71c2e41d37e7b4c4bfc7762e
[ "MIT" ]
null
null
null
from dataclasses import dataclass from pedrec.models.validation.env_position_validation_results import EnvPositionValidationResults from pedrec.models.validation.orientation_validation_results import OrientationValidationResults from pedrec.models.validation.pose_2d_validation_conf_results import Pose2DValidationConfR...
44.736842
97
0.864706
82
850
8.719512
0.378049
0.06993
0.111888
0.181818
0.159441
0.117483
0.117483
0
0
0
0
0.015625
0.096471
850
18
98
47.222222
0.915365
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.4
0
0.933333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
6d962c11a5c61d5996c5f2c03daff662679e7bac
802
py
Python
tests/pydevtest/configuration.py
cyverse/irods
4ea33f5f0e220b6e5d257a49b45e10d07ec02d75
[ "BSD-3-Clause" ]
null
null
null
tests/pydevtest/configuration.py
cyverse/irods
4ea33f5f0e220b6e5d257a49b45e10d07ec02d75
[ "BSD-3-Clause" ]
7
2019-12-02T17:55:49.000Z
2019-12-02T17:55:59.000Z
tests/pydevtest/configuration.py
benlazarine/irods
83f3c4a6f8f7fc6422a1e73a297b97796a961322
[ "BSD-3-Clause" ]
1
2019-12-02T05:44:10.000Z
2019-12-02T05:44:10.000Z
import socket import os RUN_IN_TOPOLOGY = False TOPOLOGY_FROM_RESOURCE_SERVER = False HOSTNAME_1 = HOSTNAME_2 = HOSTNAME_3 = socket.gethostname() USE_SSL = False ICAT_HOSTNAME = socket.gethostname() PREEXISTING_ADMIN_PASSWORD = 'rods' # TODO: allow for arbitrary number of remote zones class FEDERATION(object): ...
27.655172
60
0.721945
109
802
4.990826
0.587156
0.0625
0.047794
0.051471
0.055147
0
0
0
0
0
0
0.056231
0.179551
802
28
61
28.642857
0.770517
0.05985
0
0
0
0
0.121011
0.034574
0
0
0
0.035714
0
1
0
false
0.130435
0.086957
0
0.73913
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
1
0
0
1
0
0
3
6da32e6cd2adeaeeda5464d4479428f2607e090e
6,025
py
Python
tools/kernelCollection.py
pelperscience/arctic-connectivity
946e90c5310682d7e2499e2ca9e2fd5ace71535c
[ "MIT" ]
null
null
null
tools/kernelCollection.py
pelperscience/arctic-connectivity
946e90c5310682d7e2499e2ca9e2fd5ace71535c
[ "MIT" ]
null
null
null
tools/kernelCollection.py
pelperscience/arctic-connectivity
946e90c5310682d7e2499e2ca9e2fd5ace71535c
[ "MIT" ]
1
2021-04-19T09:07:18.000Z
2021-04-19T09:07:18.000Z
"""Kernels for advecting particles in Parcels""" from parcels import (JITParticle, Variable) import numpy as np class unbeachableBoundedParticle(JITParticle): # Beaching dynamics from https://github.com/OceanParcels/Parcelsv2.0PaperNorthSeaScripts # beached : 0 sea, 1 beached, 2 after non-beach...
47.070313
107
0.62639
766
6,025
4.926893
0.165796
0.09274
0.119237
0.072337
0.755167
0.731055
0.706147
0.675146
0.656068
0.621357
0
0.053876
0.242158
6,025
128
108
47.070313
0.772668
0.141245
0
0.56044
0
0.010989
0.026602
0
0
0
0
0
0
1
0.131868
false
0
0.021978
0
0.252747
0.010989
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6db74195c5d18cb9a54d288ebf31902460b40819
184
py
Python
make-csv.py
mlizbeth/AdobeCSV
ba312dc4c4886690162a011f2286edf6307d9eec
[ "MIT" ]
null
null
null
make-csv.py
mlizbeth/AdobeCSV
ba312dc4c4886690162a011f2286edf6307d9eec
[ "MIT" ]
null
null
null
make-csv.py
mlizbeth/AdobeCSV
ba312dc4c4886690162a011f2286edf6307d9eec
[ "MIT" ]
null
null
null
import tabula import pandas import re df = tabula.read_pdf('1.pdf', encoding='utf-8', pages='1-2') temp = pandas.concat(df) temp.to_csv('output.csv', encoding='utf-8', index=False)
18.4
60
0.706522
32
184
4
0.625
0.171875
0.1875
0
0
0
0
0
0
0
0
0.030488
0.108696
184
9
61
20.444444
0.75
0
0
0
0
0
0.152174
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
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
1
0
0
0
0
3
6dd33faaac1adbba5f15256fc7b0c70224c621b6
2,049
py
Python
django/goal/management/commands/yoga_acrobatics.py
mnieber/shared-goal
3ccdec341a3d542dbc108ad5375c309322f91d96
[ "Apache-2.0" ]
null
null
null
django/goal/management/commands/yoga_acrobatics.py
mnieber/shared-goal
3ccdec341a3d542dbc108ad5375c309322f91d96
[ "Apache-2.0" ]
null
null
null
django/goal/management/commands/yoga_acrobatics.py
mnieber/shared-goal
3ccdec341a3d542dbc108ad5375c309322f91d96
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- text = """ From a brisk Portland walk to a warm AcroYoga welcome, you make your way to the Oregon Convention center for the 6th annual Divine Play AcroYoga Fest. Greeted by the smiling faces of AcroYoga friends from around the globe, you enter the convention center that has been transformed int...
128.0625
635
0.804295
327
2,049
5.039755
0.590214
0.012136
0.012136
0
0
0
0
0
0
0
0
0.004091
0.164959
2,049
15
636
136.6
0.959088
0.010249
0
0
0
0.444444
0.992103
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6de6437b9eb9aad573e7603f12fc20fde1da7c86
1,556
py
Python
Fujitsu/benchmarks/resnet/implementations/mxnet/3rdparty/tvm/python/tvm/relay/ir_pass.py
mengkai94/training_results_v0.6
43dc3e250f8da47b5f8833197d74cb8cf1004fc9
[ "Apache-2.0" ]
64
2021-05-02T14:42:34.000Z
2021-05-06T01:35:03.000Z
Fujitsu/benchmarks/resnet/implementations/mxnet/3rdparty/tvm/python/tvm/relay/ir_pass.py
mengkai94/training_results_v0.6
43dc3e250f8da47b5f8833197d74cb8cf1004fc9
[ "Apache-2.0" ]
23
2019-07-29T05:21:52.000Z
2020-08-31T18:51:42.000Z
Fujitsu/benchmarks/resnet/implementations/mxnet/3rdparty/tvm/python/tvm/relay/ir_pass.py
mengkai94/training_results_v0.6
43dc3e250f8da47b5f8833197d74cb8cf1004fc9
[ "Apache-2.0" ]
51
2019-07-12T05:10:25.000Z
2021-07-28T16:19:06.000Z
# pylint: disable=no-else-return, # pylint: disable=unidiomatic-typecheck """The set of passes for Relay. Exposes an interface for configuring the passes and scripting them in Python. """ from . import _ir_pass from . import _make # pylint: disable=invalid-name def infer_type(env, expr): """Infer the type of expr...
21.611111
80
0.663882
205
1,556
4.863415
0.385366
0.042126
0.090271
0.075226
0.151454
0.132397
0.064193
0
0
0
0
0
0.236504
1,556
71
81
21.915493
0.839226
0.625321
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0.583333
0.166667
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
1
0
0
1
0
0
3
6deb6d330aaf8d29b182de5c7897bdd6db860a19
1,131
py
Python
alipay/aop/api/domain/AlipayUserApplepayProvisioningbundleCreateModel.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
213
2018-08-27T16:49:32.000Z
2021-12-29T04:34:12.000Z
alipay/aop/api/domain/AlipayUserApplepayProvisioningbundleCreateModel.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
29
2018-09-29T06:43:00.000Z
2021-09-02T03:27:32.000Z
alipay/aop/api/domain/AlipayUserApplepayProvisioningbundleCreateModel.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
59
2018-08-27T16:59:26.000Z
2022-03-25T10:08:15.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * class AlipayUserApplepayProvisioningbundleCreateModel(object): def __init__(self): self._alipay_user_identifier = None @property def alipay_user_identifier(self): return self._...
27.585366
95
0.679929
125
1,131
5.792
0.312
0.207182
0.414365
0.232044
0.279006
0.20442
0.20442
0.138122
0
0
0
0.001167
0.242263
1,131
40
96
28.275
0.843641
0.037135
0
0
0
0
0.094009
0.081106
0
0
0
0
0
1
0.185185
false
0
0.074074
0.037037
0.444444
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0986be93de5e19a40fbe8a633387c2a5d595dfcd
743
py
Python
Lib/fontParts/fontshell/groups.py
sanjaymsh/fontParts
dda5b23336d0d04f2ba5ffa371813991de20635d
[ "MIT" ]
66
2019-01-17T13:50:12.000Z
2022-03-19T15:57:43.000Z
Lib/fontParts/fontshell/groups.py
sanjaymsh/fontParts
dda5b23336d0d04f2ba5ffa371813991de20635d
[ "MIT" ]
311
2016-03-03T19:52:56.000Z
2019-01-15T12:44:59.000Z
Lib/fontParts/fontshell/groups.py
sanjaymsh/fontParts
dda5b23336d0d04f2ba5ffa371813991de20635d
[ "MIT" ]
28
2019-02-21T01:54:19.000Z
2022-03-10T09:29:48.000Z
import defcon from fontParts.base import BaseGroups from fontParts.fontshell.base import RBaseObject class RGroups(RBaseObject, BaseGroups): wrapClass = defcon.Groups def _get_side1KerningGroups(self): return self.naked().getRepresentation("defcon.groups.kerningSide1Groups") def _get_side2Kerni...
24.766667
81
0.687752
84
743
5.97619
0.380952
0.125498
0.119522
0.113546
0.191235
0.191235
0.191235
0
0
0
0
0.006745
0.201884
743
29
82
25.62069
0.839798
0
0
0
0
0
0.086137
0.086137
0
0
0
0
0
1
0.368421
false
0
0.157895
0.263158
0.894737
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
098fee842d82cc948b6c9f93b60c7045d4780bd9
728
py
Python
kevin/tests/leet/test_is_anagram.py
kalyons11/kevin
4e222fcd8ee7f2a275390f532c2fa5fef39060e8
[ "MIT" ]
1
2017-08-03T04:21:14.000Z
2017-08-03T04:21:14.000Z
kevin/tests/leet/test_is_anagram.py
kalyons11/kevin
4e222fcd8ee7f2a275390f532c2fa5fef39060e8
[ "MIT" ]
null
null
null
kevin/tests/leet/test_is_anagram.py
kalyons11/kevin
4e222fcd8ee7f2a275390f532c2fa5fef39060e8
[ "MIT" ]
null
null
null
""" https://leetcode.com/explore/challenge/card/february-leetcoding-challenge-2021/585/week-2-february-8th-february-14th/3636/ """ from unittest import TestCase from kevin.leet.is_anagram import Solution class TestIsAnagram(TestCase): def _base_test_is_anagram(self, s: str, t: str, expected: bool): sol ...
30.333333
122
0.711538
102
728
4.784314
0.460784
0.165984
0.186475
0.139344
0.297131
0.256148
0
0
0
0
0
0.024671
0.164835
728
23
123
31.652174
0.777961
0.167582
0
0
0
0
0.038462
0
0
0
0
0
0.076923
1
0.307692
false
0
0.153846
0
0.538462
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
1
0
0
0
0
1
0
0
3
09ac2b5717a3ef6ea6635a621c9002423711917f
567
py
Python
main/views/admin/resource/resource_form.py
tiberiucorbu/av-website
f26f44a367d718316442506b130a7034697670b8
[ "MIT" ]
null
null
null
main/views/admin/resource/resource_form.py
tiberiucorbu/av-website
f26f44a367d718316442506b130a7034697670b8
[ "MIT" ]
null
null
null
main/views/admin/resource/resource_form.py
tiberiucorbu/av-website
f26f44a367d718316442506b130a7034697670b8
[ "MIT" ]
null
null
null
import urllib from flask.ext import wtf from google.appengine.ext import blobstore import flask import wtforms import auth import config import model import util from main import app from views import ListField class ResourceForm(wtf.Form): name = wtforms.TextField('Name', [wtforms.validators.optional()]) des...
23.625
67
0.761905
67
567
6.41791
0.462687
0.15814
0.232558
0
0
0
0
0
0
0
0
0
0.135802
567
23
68
24.652174
0.877551
0
0
0
0
0
0.056437
0
0
0
0
0
0
1
0
false
0
0.611111
0
0.888889
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
61d97f5628d2abd62e404cfbc733bffb759d4399
578
py
Python
pyvlova/op/__init__.py
ModelTC/pyvlova
080437c80bd995776507f5c9f4975a0420391cb0
[ "Apache-2.0" ]
1
2021-11-11T03:11:49.000Z
2021-11-11T03:11:49.000Z
pyvlova/op/__init__.py
ModelTC/pyvlova
080437c80bd995776507f5c9f4975a0420391cb0
[ "Apache-2.0" ]
null
null
null
pyvlova/op/__init__.py
ModelTC/pyvlova
080437c80bd995776507f5c9f4975a0420391cb0
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Jiang Shenghu # SPDX-License-Identifier: Apache-2.0 from .base import calc_mode, OpParameter, BaseOp, CombinedOp, SequenceOp, PolyOp, PolyTVMOp, ArgumentedOp from .binary import BinaryChannelwise, BinaryElementwise, ElementwiseAdd, ChannelwiseAdd from .conv import PlainConv2d, Conv2d from .flatten impo...
48.166667
105
0.83391
66
578
7.272727
0.69697
0.041667
0
0
0
0
0
0
0
0
0
0.023256
0.107266
578
11
106
52.545455
0.906977
0.110727
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
112764de9310b70428119b01d10bce95807ae690
146
py
Python
developing/misc/pyc_remove.py
Pyro4Bot-RoboLab/PYRobot
917ec23f2abf483a29f652cd2b43e1eaa49b82be
[ "MIT" ]
null
null
null
developing/misc/pyc_remove.py
Pyro4Bot-RoboLab/PYRobot
917ec23f2abf483a29f652cd2b43e1eaa49b82be
[ "MIT" ]
null
null
null
developing/misc/pyc_remove.py
Pyro4Bot-RoboLab/PYRobot
917ec23f2abf483a29f652cd2b43e1eaa49b82be
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import subprocess try: subprocess.call(["pyclean", ".."]) except: print("error") else: print("*.pyc borrados")
16.222222
38
0.630137
17
146
5.411765
0.882353
0
0
0
0
0
0
0
0
0
0
0.008197
0.164384
146
8
39
18.25
0.745902
0.143836
0
0
0
0
0.225806
0
0
0
0
0
0
1
0
true
0
0.142857
0
0.142857
0.285714
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
113811b7392e34ddcf1e436f360166b207ecddaa
110
py
Python
test/end-to-end/Exceptions/Python/main.py
HighSchoolHacking/GLS-Draft
9e418b6290e7c8e3f2da87668784bdba1cde5a76
[ "MIT" ]
30
2019-10-29T12:47:50.000Z
2022-02-12T06:41:39.000Z
test/end-to-end/Exceptions/Python/main.py
HighSchoolHacking/GLS-Draft
9e418b6290e7c8e3f2da87668784bdba1cde5a76
[ "MIT" ]
247
2017-09-21T17:11:18.000Z
2019-10-08T12:59:07.000Z
test/end-to-end/Exceptions/Python/main.py
HighSchoolHacking/GLS-Draft
9e418b6290e7c8e3f2da87668784bdba1cde5a76
[ "MIT" ]
17
2017-10-01T16:53:20.000Z
2018-11-28T07:20:35.000Z
try: raise Exception("Oh no!") except Exception as error: print("Found an error.") finally: # ...
15.714286
29
0.609091
14
110
4.785714
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.236364
110
6
30
18.333333
0.797619
0.027273
0
0
0
0
0.2
0
0
0
0
0
0
0
null
null
0
0
null
null
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
1139994dfca82c0d5bed3e1fbb5c0366367aef00
61
py
Python
pywinutiltools/__init__.py
riag/pywinutiltools
b9d6c503056a1b3bda2c11ba3d44b614d7fa3d66
[ "Apache-2.0" ]
null
null
null
pywinutiltools/__init__.py
riag/pywinutiltools
b9d6c503056a1b3bda2c11ba3d44b614d7fa3d66
[ "Apache-2.0" ]
null
null
null
pywinutiltools/__init__.py
riag/pywinutiltools
b9d6c503056a1b3bda2c11ba3d44b614d7fa3d66
[ "Apache-2.0" ]
null
null
null
__version__ = '0.1.0' from pywinutiltools import powershell
15.25
37
0.786885
8
61
5.5
0.875
0
0
0
0
0
0
0
0
0
0
0.056604
0.131148
61
3
38
20.333333
0.773585
0
0
0
0
0
0.081967
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
1141f89341ca353d6dbfeb8221fc843fe2604f27
161
py
Python
30os.py
Ulyssesss/Learn-Python
03f0b0ff52158ea239e89e8604c2744fe9a6e341
[ "Apache-2.0" ]
1
2017-08-27T15:36:25.000Z
2017-08-27T15:36:25.000Z
30os.py
Ulyssesss/learn-python
03f0b0ff52158ea239e89e8604c2744fe9a6e341
[ "Apache-2.0" ]
null
null
null
30os.py
Ulyssesss/learn-python
03f0b0ff52158ea239e89e8604c2744fe9a6e341
[ "Apache-2.0" ]
null
null
null
import os print(os.name) print(os.uname()) print(os.environ) print(os.environ.get('PATH')) p = os.path.join('.', 'test_dir') print(p) os.mkdir(p) os.rmdir(p)
12.384615
33
0.664596
30
161
3.533333
0.466667
0.264151
0.264151
0
0
0
0
0
0
0
0
0
0.099379
161
12
34
13.416667
0.731034
0
0
0
0
0
0.080745
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0.555556
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
1
0
3
1158d418252770d703fe7353848a40cef1ae5f4a
375
py
Python
mmseg/models/segmentors/__init__.py
yoyoyoohh/SAR_build_extract_v2
7e2d21ead8e65b263d18d1059e5ce8ff2df4fbe6
[ "Apache-2.0" ]
null
null
null
mmseg/models/segmentors/__init__.py
yoyoyoohh/SAR_build_extract_v2
7e2d21ead8e65b263d18d1059e5ce8ff2df4fbe6
[ "Apache-2.0" ]
null
null
null
mmseg/models/segmentors/__init__.py
yoyoyoohh/SAR_build_extract_v2
7e2d21ead8e65b263d18d1059e5ce8ff2df4fbe6
[ "Apache-2.0" ]
null
null
null
''' Author: Shuailin Chen Created Date: 2021-08-08 Last Modified: 2021-08-28 content: ''' from .base import BaseSegmentor from .cascade_encoder_decoder import CascadeEncoderDecoder from .encoder_decoder import EncoderDecoder from .semi import Semi from .semi_v2 import SemiV2 from .reco import ReCo # __all__ = ['Base...
25
72
0.794667
46
375
6.304348
0.543478
0.041379
0.137931
0
0
0
0
0
0
0
0
0.054545
0.12
375
14
73
26.785714
0.824242
0.432
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
feba40485701a796594c2cefbf0eb0f130554446
5,527
py
Python
src/entities.py
loretoparisi/keyphrase_extraction_python
0d330e03e3d64c0aeeafe3898e2cb54ae3909309
[ "MIT" ]
3
2020-05-28T23:33:18.000Z
2021-04-20T16:25:16.000Z
src/entities.py
loretoparisi/keyphraseextraction
0d330e03e3d64c0aeeafe3898e2cb54ae3909309
[ "MIT" ]
null
null
null
src/entities.py
loretoparisi/keyphraseextraction
0d330e03e3d64c0aeeafe3898e2cb54ae3909309
[ "MIT" ]
null
null
null
# keyphrase_extraction_python # Code adapted from https://bdewilde.github.io/blog/2014/09/23/intro-to-automatic-keyphrase-extraction/ # @author Loreto Parisi (loretoparisi at gmail dot com) # Copyright (c) 2021 Loreto Parisi (loretoparisi at gmail dot com) # import os from keyphraseextraction.EntitiesRanker import Ent...
263.190476
4,844
0.802244
956
5,527
4.624477
0.388075
0.020357
0.033929
0.011762
0.137299
0.091834
0.03981
0.023072
0
0
0
0.0026
0.164827
5,527
20
4,845
276.35
0.955156
0.059888
0
0
0
0.1
0.935235
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.1
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
fec3a949844734e6e1d093051c5a890bbda821c7
2,123
py
Python
pyxrd/generic/gtk_tools/dummy_gtk.py
PyXRD/pyxrd
26bacdf64f3153fa74b8caa62e219b76d91a55c1
[ "BSD-2-Clause" ]
27
2018-06-15T15:28:18.000Z
2022-03-10T12:23:50.000Z
pyxrd/generic/gtk_tools/dummy_gtk.py
PyXRD/pyxrd
26bacdf64f3153fa74b8caa62e219b76d91a55c1
[ "BSD-2-Clause" ]
22
2018-06-14T08:29:16.000Z
2021-07-05T13:33:44.000Z
pyxrd/generic/gtk_tools/dummy_gtk.py
PyXRD/pyxrd
26bacdf64f3153fa74b8caa62e219b76d91a55c1
[ "BSD-2-Clause" ]
8
2019-04-13T13:03:51.000Z
2021-06-19T09:29:11.000Z
# coding=UTF-8 # ex:ts=4:sw=4:et # Copyright (c) 2013, Mathijs Dumon # All rights reserved. # Complete license can be found in the LICENSE file. from mvc.support.utils import get_new_uuid __all__ = [ "gobject", "GtkTreeIter", "GenericTreeModel" "TREE_MODEL_LIST_ONLY" ] TREE_MODEL_LIST_ONLY = 0x00 T...
24.125
79
0.64861
268
2,123
4.772388
0.354478
0.05473
0.078186
0.065676
0.102424
0.102424
0.102424
0.070367
0
0
0
0.008761
0.247292
2,123
87
80
24.402299
0.791615
0.090438
0
0.160714
0
0
0.040104
0
0
0
0.004167
0.011494
0
1
0.25
false
0.107143
0.017857
0.089286
0.446429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
1
0
0
0
0
0
3
fec4c6a8347b1fc3aa1743613cffcddde08a96e7
282
py
Python
author/forms.py
vindeolal/pari
8c69d15101480c3e803d6d74f8007cefee20c350
[ "BSD-3-Clause" ]
null
null
null
author/forms.py
vindeolal/pari
8c69d15101480c3e803d6d74f8007cefee20c350
[ "BSD-3-Clause" ]
null
null
null
author/forms.py
vindeolal/pari
8c69d15101480c3e803d6d74f8007cefee20c350
[ "BSD-3-Clause" ]
null
null
null
from django import forms from wagtail.wagtailimages.widgets import AdminImageChooser from .models import Author class AuthorAdminForm(forms.ModelForm): class Meta: model = Author # TODO: Ability to add author image exclude = ['image', 'slug', 'bio']
21.692308
59
0.698582
32
282
6.15625
0.71875
0
0
0
0
0
0
0
0
0
0
0
0.223404
282
12
60
23.5
0.899543
0.117021
0
0
0
0
0.048583
0
0
0
0
0.083333
0
1
0
false
0
0.428571
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
1
0
0
3
fecfe1fa4e3d08c9fe08027593afadf22c46cd06
77
py
Python
challenger_bot/car_controllers.py
twobackfromtheend/challenger
01d131487209029df342e68075e8aae133c4e632
[ "MIT" ]
null
null
null
challenger_bot/car_controllers.py
twobackfromtheend/challenger
01d131487209029df342e68075e8aae133c4e632
[ "MIT" ]
null
null
null
challenger_bot/car_controllers.py
twobackfromtheend/challenger
01d131487209029df342e68075e8aae133c4e632
[ "MIT" ]
null
null
null
from enum import Enum class CarController(Enum): AGENT = 0 DS4 = 1
11
26
0.649351
11
77
4.545455
0.818182
0
0
0
0
0
0
0
0
0
0
0.054545
0.285714
77
6
27
12.833333
0.854545
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
fed2c2d4aec7004e80be2313c37139fcca65a956
2,548
py
Python
Abstract_Factory/furniture_factory.py
edgardeng/design-patterns-in-python
3b18fa8eabf2f8bc20c20103cc837ea90606c2d9
[ "MIT" ]
null
null
null
Abstract_Factory/furniture_factory.py
edgardeng/design-patterns-in-python
3b18fa8eabf2f8bc20c20103cc837ea90606c2d9
[ "MIT" ]
null
null
null
Abstract_Factory/furniture_factory.py
edgardeng/design-patterns-in-python
3b18fa8eabf2f8bc20c20103cc837ea90606c2d9
[ "MIT" ]
null
null
null
""" 抽象工厂 代码实例 Abstract Factory Code Demo 家具工厂 """ from __future__ import annotations from abc import ABC, abstractmethod class Chair(ABC): """ product interface 1: Chair """ @abstractmethod def sit_on(self) -> str: pass class Sofa(ABC): """ product interface 2: Sofa """ ...
20.715447
101
0.647174
275
2,548
5.883636
0.243636
0.024722
0.033375
0.037083
0.346106
0.262052
0.2089
0.2089
0.2089
0.192831
0
0.001044
0.248038
2,548
122
102
20.885246
0.843424
0.213893
0
0.377358
0
0
0.188751
0.048675
0
0
0
0
0
1
0.245283
false
0.075472
0.037736
0.075472
0.603774
0.150943
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
feff087e708d7e8a5a4958be9a839fcf35b5f29c
9,497
py
Python
create.py
bangph/zenodo
32c824a09b51e107f818a6b4059813442b738406
[ "Apache-1.1" ]
null
null
null
create.py
bangph/zenodo
32c824a09b51e107f818a6b4059813442b738406
[ "Apache-1.1" ]
null
null
null
create.py
bangph/zenodo
32c824a09b51e107f818a6b4059813442b738406
[ "Apache-1.1" ]
null
null
null
# -*- coding: utf-8 -*- import requests import json import os import sys from config import Config # Create a new deposition with file and upload to zenodo.org (current only upload 1 zipped file). # Author: Bang Pham Huu - email: b.phamhuu@jacobs-university.de # License: Apache License 2.0 # API examples: http://deve...
92.203883
4,874
0.727914
1,376
9,497
4.981105
0.351744
0.026262
0.012839
0.011088
0.15159
0.117158
0.092647
0.092647
0.067114
0.028888
0
0.006497
0.157208
9,497
102
4,875
93.107843
0.849825
0.121617
0
0.19697
0
0.030303
0.741752
0.131975
0
0
0
0
0
0
null
null
0
0.075758
null
null
0.19697
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
3a1885f0677a14a1891309a93236f7063464cd18
59
py
Python
1/kdh/8_11719.py
KNU-CS09/Baekjoon
77253565dd23004668ca3f548a196e78142a1e29
[ "MIT" ]
null
null
null
1/kdh/8_11719.py
KNU-CS09/Baekjoon
77253565dd23004668ca3f548a196e78142a1e29
[ "MIT" ]
8
2018-05-30T07:48:49.000Z
2018-06-15T00:10:05.000Z
1/kdh/8_11719.py
KNU-CS09/Baekjoon
77253565dd23004668ca3f548a196e78142a1e29
[ "MIT" ]
null
null
null
import sys for line in sys.stdin: print(line.strip('\n'))
14.75
24
0.694915
11
59
3.727273
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.135593
59
4
24
14.75
0.803922
0
0
0
0
0
0.033333
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
3a3f675d5867725b1501cabd6dddf5daf17dadcb
81
py
Python
tests/fixtures.py
jsam/datagears
d2400f20069898a959fbe182931faba1c90b7181
[ "BSD-3-Clause" ]
3
2020-11-09T00:05:59.000Z
2021-03-31T11:30:22.000Z
tests/fixtures.py
jsam/datagears
d2400f20069898a959fbe182931faba1c90b7181
[ "BSD-3-Clause" ]
28
2020-11-12T14:56:21.000Z
2022-03-07T11:07:08.000Z
tests/fixtures.py
jsam/datagears
d2400f20069898a959fbe182931faba1c90b7181
[ "BSD-3-Clause" ]
1
2021-04-03T14:35:19.000Z
2021-04-03T14:35:19.000Z
from typing import Any, TypeVar, Union T = TypeVar("T") Fixture = Union[Any, T]
16.2
38
0.691358
13
81
4.307692
0.615385
0
0
0
0
0
0
0
0
0
0
0
0.17284
81
4
39
20.25
0.835821
0
0
0
0
0
0.012346
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
3a4fa0fbeb9e3e8d30b601bdce89951fd2780182
200
py
Python
src/__init__.py
Irreq/deer-assistant
782b910b22e4b014a9f873efa6e9ce15d87cb6fd
[ "MIT" ]
null
null
null
src/__init__.py
Irreq/deer-assistant
782b910b22e4b014a9f873efa6e9ce15d87cb6fd
[ "MIT" ]
null
null
null
src/__init__.py
Irreq/deer-assistant
782b910b22e4b014a9f873efa6e9ce15d87cb6fd
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # File name: __init__.py # Description: Basic format for Python scripts # Author: irreq (irreq@protonmail.com) # Date: 17/12/2021 """Documentation"""
18.181818
46
0.68
27
200
4.888889
0.962963
0
0
0
0
0
0
0
0
0
0
0.05848
0.145
200
10
47
20
0.71345
0.895
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
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
3
28ad0f0179a3742f7c1f97d4cddbbd9f363e2503
317
py
Python
applications/tensorflow2/image_classification/custom_exceptions.py
payoto/graphcore_examples
46d2b7687b829778369fc6328170a7b14761e5c6
[ "MIT" ]
260
2019-11-18T01:50:00.000Z
2022-03-28T23:08:53.000Z
applications/tensorflow2/image_classification/custom_exceptions.py
payoto/graphcore_examples
46d2b7687b829778369fc6328170a7b14761e5c6
[ "MIT" ]
27
2020-01-28T23:07:50.000Z
2022-02-14T15:37:06.000Z
applications/tensorflow2/image_classification/custom_exceptions.py
payoto/graphcore_examples
46d2b7687b829778369fc6328170a7b14761e5c6
[ "MIT" ]
56
2019-11-18T02:13:12.000Z
2022-02-28T14:36:09.000Z
# Copyright (c) 2021 Graphcore Ltd. All rights reserved. class UnsupportedFormat(TypeError): pass class DimensionError(ValueError): pass class MissingArgumentException(ValueError): pass class InvalidPrecisionException(NameError): pass class UnallowedConfigurationError(ValueError): pass
14.409091
56
0.766562
28
317
8.678571
0.642857
0.148148
0.156379
0
0
0
0
0
0
0
0
0.015209
0.170347
317
21
57
15.095238
0.908745
0.170347
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
28d590362e6d333b96ff2c651e32928f8afa09b6
648
py
Python
MachineLearning/TP1/normalEqn.py
piwithy/ENSTA_MACHINE_LEARNING
8a58b230f150ca7ceaf340086f15d0d3535d2859
[ "MIT" ]
null
null
null
MachineLearning/TP1/normalEqn.py
piwithy/ENSTA_MACHINE_LEARNING
8a58b230f150ca7ceaf340086f15d0d3535d2859
[ "MIT" ]
null
null
null
MachineLearning/TP1/normalEqn.py
piwithy/ENSTA_MACHINE_LEARNING
8a58b230f150ca7ceaf340086f15d0d3535d2859
[ "MIT" ]
null
null
null
import numpy as np def normalEqn(X, y): """ Computes the closed-form solution to linear regression normalEqn(X,y) computes the closed-form solution to linear regression using the normal equations. """ # Initialize some useful values theta = 0 # ====================== YOUR CODE HERE...
29.454545
73
0.533951
77
648
4.493506
0.519481
0.078035
0.112717
0.182081
0.447977
0.447977
0.447977
0.33526
0.33526
0.33526
0
0.002016
0.234568
648
21
74
30.857143
0.695565
0.677469
0
0
0
0
0
0
0
0
0
0.047619
0
1
0.2
false
0
0.2
0
0.6
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
3
28df76087575912d756ab52c6d82de2be53f0e03
25
py
Python
fonts/__init__.py
pro585code/RaspDroid-SeverSide
fbb333ee7261eab6eda41a22fd7940050d38e95a
[ "MIT" ]
1
2018-04-02T08:06:51.000Z
2018-04-02T08:06:51.000Z
fonts/__init__.py
pro585code/RaspDroid-SeverSide
fbb333ee7261eab6eda41a22fd7940050d38e95a
[ "MIT" ]
null
null
null
fonts/__init__.py
pro585code/RaspDroid-SeverSide
fbb333ee7261eab6eda41a22fd7940050d38e95a
[ "MIT" ]
null
null
null
__author__ = 'youngsoul'
12.5
24
0.76
2
25
7.5
1
0
0
0
0
0
0
0
0
0
0
0
0.12
25
1
25
25
0.681818
0
0
0
0
0
0.36
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
28f0e82e65909ac9229f1cff0b49f457ea701eb2
437
py
Python
config/atlas/pybullet_simulation.py
junhyeokahn/PnC
388440f7db7b2aedf1e397d0130d806090865c35
[ "MIT" ]
25
2019-01-31T13:51:34.000Z
2022-02-08T13:19:01.000Z
config/atlas/pybullet_simulation.py
junhyeokahn/PnC
388440f7db7b2aedf1e397d0130d806090865c35
[ "MIT" ]
5
2020-06-01T20:48:46.000Z
2022-02-08T11:42:02.000Z
config/atlas/pybullet_simulation.py
junhyeokahn/PnC
388440f7db7b2aedf1e397d0130d806090865c35
[ "MIT" ]
9
2018-11-20T22:37:50.000Z
2021-09-14T17:17:27.000Z
import numpy as np class Config(object): CONTROLLER_DT = 0.001 N_SUBSTEP = 1 CAMERA_DT = 0.05 KP = 0. KD = 0. INITIAL_POS_WORLD_TO_BASEJOINT = [0, 0, 1.5 - 0.761] INITIAL_QUAT_WORLD_TO_BASEJOINT = [0., 0., 0., 1.] # INITIAL_QUAT_WORLD_TO_BASEJOINT = [0., 0., 0.7071, 0.7071] PRINT...
21.85
64
0.638444
69
437
3.73913
0.536232
0.03876
0.186047
0.197674
0.302326
0.232558
0.232558
0.232558
0
0
0
0.110769
0.256293
437
19
65
23
0.683077
0.132723
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.071429
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
e9171c4c3b78638b68ad72a1da6d6bf9e35de5b7
192
py
Python
src/010_fib/pyx_fib2.py
xupingmao/benchmark
2c5963ff23481f0d84857d3fba7088dcd853e84b
[ "MIT" ]
null
null
null
src/010_fib/pyx_fib2.py
xupingmao/benchmark
2c5963ff23481f0d84857d3fba7088dcd853e84b
[ "MIT" ]
null
null
null
src/010_fib/pyx_fib2.py
xupingmao/benchmark
2c5963ff23481f0d84857d3fba7088dcd853e84b
[ "MIT" ]
null
null
null
# -*- coding:utf-8 -*- # @author xupingmao # @since 2022/01/26 16:35:51 # @modified 2022/01/26 16:36:46 # @filename pyx_fib2.py import pyximport pyximport.install() import fib2 fib2.run()
13.714286
31
0.6875
31
192
4.225806
0.741935
0.091603
0.122137
0.152672
0
0
0
0
0
0
0
0.195122
0.145833
192
13
32
14.769231
0.603659
0.609375
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.75
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
e92092ee0bd5b57ef3ef347fa503334c3de7c2eb
107
py
Python
quicktest/test.py
0xf0f/quicktest
f776682664224c647785eb618118ffc9d0ae7bce
[ "MIT" ]
null
null
null
quicktest/test.py
0xf0f/quicktest
f776682664224c647785eb618118ffc9d0ae7bce
[ "MIT" ]
null
null
null
quicktest/test.py
0xf0f/quicktest
f776682664224c647785eb618118ffc9d0ae7bce
[ "MIT" ]
null
null
null
class Test: def __init__(self): self.name = 'Unnamed Test' self.method = lambda: None
17.833333
34
0.588785
13
107
4.538462
0.769231
0
0
0
0
0
0
0
0
0
0
0
0.308411
107
5
35
21.4
0.797297
0
0
0
0
0
0.113208
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
e92711fa1ca75c35543618270ccc6195a4a68224
405
py
Python
herramientas/zapador/tests/test_zapadorapp.py
ZR-TECDI/Framework_ZR
0fa994d4b3cbf19affab84695705d022adae872c
[ "MIT" ]
4
2019-09-07T19:31:27.000Z
2020-06-13T21:41:45.000Z
herramientas/zapador/tests/test_zapadorapp.py
ZR-TECDI/Framework_ZR
0fa994d4b3cbf19affab84695705d022adae872c
[ "MIT" ]
21
2019-09-09T00:55:40.000Z
2021-08-09T20:50:56.000Z
herramientas/zapador/tests/test_zapadorapp.py
ZR-TECDI/Framework_ZR
0fa994d4b3cbf19affab84695705d022adae872c
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import unittest from zapador.zapadorapp import ZapadorApp class TestZapadorApp(unittest.TestCase): """TestCase for ZapadorApp. """ def setUp(self): self.app = ZapadorApp() def test_name(self): self.assertEqual(self.app.name, 'zapador') ...
17.608696
50
0.639506
46
405
5.434783
0.586957
0.104
0
0
0
0
0
0
0
0
0
0.003185
0.224691
405
22
51
18.409091
0.792994
0.177778
0
0
0
0
0.046012
0
0
0
0
0
0.090909
1
0.272727
false
0.090909
0.181818
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
e93f38da5ed3a009f6a3652e049e26a1133dc4bb
1,191
py
Python
webhook/event.py
opolis/exchange
16da33e83b01fb001ea546d106a333bacecd5278
[ "MIT" ]
10
2019-06-30T02:09:51.000Z
2022-03-30T09:33:12.000Z
webhook/event.py
opolis/exchange
16da33e83b01fb001ea546d106a333bacecd5278
[ "MIT" ]
4
2020-07-17T02:23:03.000Z
2021-09-01T05:35:05.000Z
webhook/event.py
opolis/exchange
16da33e83b01fb001ea546d106a333bacecd5278
[ "MIT" ]
4
2019-12-16T13:29:12.000Z
2022-03-09T20:33:30.000Z
# Generate a dynamo event for local testing. # Usage: python webhook/event.py COIN tx.json # where coin is BTC or ETH import json import sys from string import Template TEMPLATE=''' { "Records": [ { "eventID": "c4ca4238a0b923820dcc509a6f75849b", "eventName": "INSERT", "eventVersion": "1.1", ...
23.352941
111
0.539043
124
1,191
5.169355
0.645161
0.028081
0.021841
0
0
0
0
0
0
0
0
0.110081
0.275399
1,191
50
112
23.82
0.632677
0.093199
0
0
1
0.02381
0.685874
0.170074
0
0
0
0
0
0
null
null
0
0.071429
null
null
0.02381
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
1
0
0
0
0
0
0
0
0
3
3a7b3ddfd15d9107a1788b191b7a624481f0a19b
387
py
Python
rickroll/db.py
mvolfik/rickroll
8eeae3a20529d8fc76299401dd52c853a17b9375
[ "MIT" ]
4
2020-03-16T18:42:37.000Z
2021-04-19T11:31:38.000Z
rickroll/db.py
mvolfik/rickroll
8eeae3a20529d8fc76299401dd52c853a17b9375
[ "MIT" ]
1
2021-04-20T14:20:31.000Z
2021-04-20T14:20:31.000Z
rickroll/db.py
mvolfik/rickroll
8eeae3a20529d8fc76299401dd52c853a17b9375
[ "MIT" ]
null
null
null
from flask_sqlalchemy import SQLAlchemy db = SQLAlchemy() class Rickroll(db.Model): __tablename__ = "rickrolls" url = db.Column(db.String, primary_key=True) title = db.Column(db.String, nullable=False) imgurl = db.Column(db.String, nullable=False) redirecturl = db.Column(db.String, nullable=False...
29.769231
64
0.723514
51
387
5.372549
0.490196
0.145985
0.182482
0.233577
0.317518
0.317518
0
0
0
0
0
0.003058
0.155039
387
12
65
32.25
0.834862
0
0
0
0
0
0.023256
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.888889
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
3a8208f4d5d2cb176ee96bbeee3854dc686f580d
1,285
py
Python
setup.py
WhyNotHugo/ocaclient
c3c80823974306be1a1bd913a6ac519289f140a7
[ "0BSD" ]
null
null
null
setup.py
WhyNotHugo/ocaclient
c3c80823974306be1a1bd913a6ac519289f140a7
[ "0BSD" ]
2
2019-10-18T15:36:00.000Z
2021-07-29T15:26:14.000Z
setup.py
WhyNotHugo/ocaclient
c3c80823974306be1a1bd913a6ac519289f140a7
[ "0BSD" ]
null
null
null
#!/usr/bin/env python from setuptools import setup setup( name="ocaclient", description="A very simple client for OCA's web services.", author="Hugo Osvaldo Barrera", author_email="hugo@barrera.io", url="https://github.com/WhyNotHugo/ocaclient", license="MIT", packages=["ocaclient"], i...
32.125
71
0.592996
131
1,285
5.748092
0.656489
0.151394
0.199203
0.207171
0
0
0
0
0
0
0
0.014553
0.251362
1,285
39
72
32.948718
0.768191
0.015564
0
0.055556
0
0
0.582278
0
0
0
0
0
0
1
0
true
0
0.027778
0
0.027778
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
3ab2d864138d2c38564efe9ee3e6c6a1483fd1b8
26,493
py
Python
pyboto3/cloudwatchevents.py
gehad-shaat/pyboto3
4a0c2851a8bc04fb1c71c36086f7bb257e48181d
[ "MIT" ]
91
2016-12-31T11:38:37.000Z
2021-09-16T19:33:23.000Z
pyboto3/cloudwatchevents.py
gehad-shaat/pyboto3
4a0c2851a8bc04fb1c71c36086f7bb257e48181d
[ "MIT" ]
7
2017-01-02T18:54:23.000Z
2020-08-11T13:54:02.000Z
pyboto3/cloudwatchevents.py
gehad-shaat/pyboto3
4a0c2851a8bc04fb1c71c36086f7bb257e48181d
[ "MIT" ]
26
2016-12-31T13:11:00.000Z
2022-03-03T21:01:12.000Z
''' The MIT License (MIT) Copyright (c) 2016 WavyCloud Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, p...
39.248889
503
0.632695
3,313
26,493
5.042258
0.151826
0.011075
0.007183
0.009339
0.64771
0.633463
0.616702
0.605388
0.594313
0.577312
0
0.003186
0.301023
26,493
674
504
39.307122
0.898909
0.872457
0
0.5
0
0
0
0
0
0
0
0
0
1
0.5
false
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
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
3ae1339bbba91c59559d1de679a03bbbab5e74d8
696
py
Python
roda_core/monitoring/constants.py
matitalatina/roda
9eb8cb972625a5804bb96bf700b7e5c1aa7bb43b
[ "MIT" ]
null
null
null
roda_core/monitoring/constants.py
matitalatina/roda
9eb8cb972625a5804bb96bf700b7e5c1aa7bb43b
[ "MIT" ]
null
null
null
roda_core/monitoring/constants.py
matitalatina/roda
9eb8cb972625a5804bb96bf700b7e5c1aa7bb43b
[ "MIT" ]
null
null
null
TYRE_POSITION_FRONT_LEFT = 'FL' TYRE_POSITION_FRONT_RIGHT = 'FR' TYRE_POSITION_REAR_LEFT = 'RL' TYRE_POSITION_REAR_RIGHT = 'RR' TYRE_POSITION_FRONT_LEFT_LABEL = 'Front Left' TYRE_POSITION_FRONT_RIGHT_LABEL = 'Front Right' TYRE_POSITION_REAR_LEFT_LABEL = 'Rear Left' TYRE_POSITION_REAR_RIGHT_LABEL = 'Rear Right' TYRE_P...
36.631579
65
0.818966
103
696
4.92233
0.262136
0.378698
0.268245
0.16568
0.477318
0
0
0
0
0
0
0
0.093391
696
19
66
36.631579
0.803487
0
0
0
0
0
0.147776
0.054519
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
aaef795e92481ea8bc05bd9a0111f9dcb05766fa
1,050
py
Python
pyforms/terminal/Controls/ControlProgress.py
sunj1/my_pyforms
d92c37cbddb3ff34fe1ace3874e0116c09e7c0cf
[ "MIT" ]
null
null
null
pyforms/terminal/Controls/ControlProgress.py
sunj1/my_pyforms
d92c37cbddb3ff34fe1ace3874e0116c09e7c0cf
[ "MIT" ]
null
null
null
pyforms/terminal/Controls/ControlProgress.py
sunj1/my_pyforms
d92c37cbddb3ff34fe1ace3874e0116c09e7c0cf
[ "MIT" ]
null
null
null
from pyforms.terminal.Controls.ControlBase import ControlBase class ControlProgress(ControlBase): _min = 0 _max = 100 def __init__(self, label = "%p%", defaultValue = 0, min = 0, max = 100, helptext=None): self._updateSlider = True self._min = min self._max = max ControlBa...
29.166667
91
0.651429
119
1,050
5.571429
0.344538
0.067873
0.180995
0.076923
0.251885
0
0
0
0
0
0
0.011016
0.221905
1,050
36
92
29.166667
0.80049
0.069524
0
0.130435
0
0
0.042989
0
0
0
0
0
0
1
0.347826
false
0
0.043478
0.173913
0.565217
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
1
0
0
0
1
0
0
0
3
aaf572154f2a81efdcfd603ade92d44b104f191a
447
py
Python
tests/test_pod.py
RecursionSpace/OpenPod
92fefd23ea76aadee3b7b243d1a65c1170e6a2e4
[ "MIT" ]
1
2022-02-18T06:30:32.000Z
2022-02-18T06:30:32.000Z
tests/test_pod.py
RecursionSpace/OpenPod
92fefd23ea76aadee3b7b243d1a65c1170e6a2e4
[ "MIT" ]
null
null
null
tests/test_pod.py
RecursionSpace/OpenPod
92fefd23ea76aadee3b7b243d1a65c1170e6a2e4
[ "MIT" ]
null
null
null
''' Unit test for pod.py ''' import sys # import unittest sys.path.insert(0, "openpod/") # import hub # class TestHub(unittest.TestCase): # ''' # General tests for the hub.py file # ''' # def test_xbee_flag_set_true(self): # ''' # Check if the xbee flag is set to true. # ''' ...
20.318182
48
0.572707
57
447
4.333333
0.614035
0.161943
0
0
0
0
0
0
0
0
0
0.003195
0.299776
447
21
49
21.285714
0.785942
0.818792
0
0
0
0
0.131148
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
aafbfa92f93c9f58e8240f5878af61409b3fd957
186
py
Python
schemas/base.py
sr-vazkez/ecommerce-fastapi
a2e6557b1be60a88a7f453e7fa92b1726c17abef
[ "MIT" ]
null
null
null
schemas/base.py
sr-vazkez/ecommerce-fastapi
a2e6557b1be60a88a7f453e7fa92b1726c17abef
[ "MIT" ]
null
null
null
schemas/base.py
sr-vazkez/ecommerce-fastapi
a2e6557b1be60a88a7f453e7fa92b1726c17abef
[ "MIT" ]
null
null
null
from pydantic import BaseModel class UserBase(BaseModel): email: str class BaseComplaint(BaseModel): title : str description : str photo_url : str amount: float
16.909091
31
0.693548
21
186
6.095238
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.247312
186
11
32
16.909091
0.914286
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.125
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
3
c9142f4d85ee1d19814195d7c84432db4ac0fc5a
395
py
Python
binarysearch.io/subsequence_strings.py
mishrakeshav/Competitive-Programming
b25dcfeec0fb9a9c71bf3a05644b619f4ca83dd2
[ "MIT" ]
2
2020-06-25T21:10:32.000Z
2020-12-10T06:53:45.000Z
binarysearch.io/subsequence_strings.py
mishrakeshav/Competitive-Programming
b25dcfeec0fb9a9c71bf3a05644b619f4ca83dd2
[ "MIT" ]
null
null
null
binarysearch.io/subsequence_strings.py
mishrakeshav/Competitive-Programming
b25dcfeec0fb9a9c71bf3a05644b619f4ca83dd2
[ "MIT" ]
3
2020-05-15T14:17:09.000Z
2021-07-25T13:18:20.000Z
class Solution: def solve(self, s1, s2): # Write your code here i = 0 if s1 == "": return True if s1 == s2: return True final = len(s1)-1 for s in s2: if s == s1[i]: i += 1 if i == final: ...
21.944444
30
0.339241
43
395
3.116279
0.534884
0.223881
0
0
0
0
0
0
0
0
0
0.066667
0.582278
395
18
31
21.944444
0.745455
0.050633
0
0.214286
0
0
0
0
0
0
0
0.055556
0
1
0.071429
false
0
0
0
0.428571
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
3
c91d40250b2fc4f7e82dd1a8d60827d5793580a1
1,434
py
Python
root/python/PythonTutorial/Py3CookBook/ch01/1.14.Sorting_Objects_Without_Native_Comparison_Support.py
ChyiYaqing/chyidlTutorial
77e7f6f84f21537a58a8a8a42e31cf2e3dd31996
[ "MIT" ]
5
2018-10-17T05:57:39.000Z
2021-07-05T15:38:24.000Z
root/python/PythonTutorial/Py3CookBook/ch01/1.14.Sorting_Objects_Without_Native_Comparison_Support.py
ChyiYaqing/chyidlTutorial
77e7f6f84f21537a58a8a8a42e31cf2e3dd31996
[ "MIT" ]
2
2021-04-14T00:48:43.000Z
2021-04-14T02:20:50.000Z
root/python/PythonTutorial/Py3CookBook/ch01/1.14.Sorting_Objects_Without_Native_Comparison_Support.py
ChyiYaqing/chyidlTutorial
77e7f6f84f21537a58a8a8a42e31cf2e3dd31996
[ "MIT" ]
3
2019-03-02T14:36:19.000Z
2022-03-18T10:12:09.000Z
#! /usr/bin/env python3 # -*- coding: utf-8 -*- # # 1.14.Sorting_Objects_Without_Native_Comparison_Support.py # ch01 # # 🎂"Here's to the crazy ones. The misfits. The rebels. # The troublemakers. The round pegs in the square holes. # The ones who see things differently. They're not found # of rules. And they have no re...
29.875
74
0.719665
235
1,434
4.319149
0.629787
0.035468
0.029557
0.037438
0
0
0
0
0
0
0
0.022222
0.1841
1,434
47
75
30.510638
0.84359
0.738494
0
0
0
0
0.043732
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0.111111
0.555556
0.222222
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
c9514b67cfdb5c34cd28df5a8faffbf1abcc80d7
240
py
Python
Ch5 - Python Crash Course/Code/5.13_create_and_write_on_a_file.py
1110sillabo/ProgrammingDigitalHumanitiesBook
9ce1bef19e28fc3c1775e1135d9d177820e69f08
[ "MIT" ]
2
2020-12-25T19:31:37.000Z
2021-02-25T15:57:13.000Z
Ch5 - Python Crash Course/Code/5.13_create_and_write_on_a_file.py
1110sillabo/ProgrammingDigitalHumanitiesBook
9ce1bef19e28fc3c1775e1135d9d177820e69f08
[ "MIT" ]
null
null
null
Ch5 - Python Crash Course/Code/5.13_create_and_write_on_a_file.py
1110sillabo/ProgrammingDigitalHumanitiesBook
9ce1bef19e28fc3c1775e1135d9d177820e69f08
[ "MIT" ]
1
2020-07-09T15:48:56.000Z
2020-07-09T15:48:56.000Z
# Create the file with open('dataresults.txt', 'a') as file: file.write('These are the results of our experiment') file.write('\n') # Add new line with \n file.write('Account X has N followers on social Z') file.write('\n')
34.285714
57
0.658333
40
240
3.95
0.675
0.227848
0.126582
0
0
0
0
0
0
0
0
0
0.2
240
6
58
40
0.822917
0.15
0
0.4
0
0
0.477612
0
0
0
0
0
0
1
0
true
0
0
0
0
0
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
1
0
0
0
0
0
0
3
c97b6edc3fae383e01d5129a8c9d5c4554fe8094
77
py
Python
source/grammar/openqasm_reference_parser/exceptions.py
shiyunon/openqasm
6bc6ff11e67cd1b9cec989f6369981e13baa0717
[ "Apache-2.0" ]
603
2018-07-11T03:45:15.000Z
2022-03-30T17:19:10.000Z
source/grammar/openqasm_reference_parser/exceptions.py
shiyunon/openqasm
6bc6ff11e67cd1b9cec989f6369981e13baa0717
[ "Apache-2.0" ]
240
2018-07-17T18:38:44.000Z
2022-03-30T05:57:29.000Z
source/grammar/openqasm_reference_parser/exceptions.py
shiyunon/openqasm
6bc6ff11e67cd1b9cec989f6369981e13baa0717
[ "Apache-2.0" ]
195
2018-07-12T17:13:02.000Z
2022-03-29T15:38:32.000Z
__all__ = ["Qasm3ParserError"] class Qasm3ParserError(Exception): pass
12.833333
34
0.74026
6
77
8.833333
0.833333
0
0
0
0
0
0
0
0
0
0
0.030769
0.155844
77
5
35
15.4
0.784615
0
0
0
0
0
0.207792
0
0
0
0
0
0
1
0
false
0.333333
0
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
c97ee8643d6e8ce17f709c4a4b0f77884e04afe7
2,616
py
Python
test/utils/devices/temperature_control_mock_test.py
kieransukachevin/AlkalinityTitrator
09b642ee1368278b7b4fc180bed50ff538a0938a
[ "MIT" ]
null
null
null
test/utils/devices/temperature_control_mock_test.py
kieransukachevin/AlkalinityTitrator
09b642ee1368278b7b4fc180bed50ff538a0938a
[ "MIT" ]
31
2021-06-29T17:53:56.000Z
2021-08-19T21:59:03.000Z
test/utils/devices/temperature_control_mock_test.py
kieransukachevin/AlkalinityTitrator
09b642ee1368278b7b4fc180bed50ff538a0938a
[ "MIT" ]
4
2021-02-12T23:21:17.000Z
2021-11-15T16:55:38.000Z
import time import titration.utils.devices.board_mock as board import titration.utils.devices.temperature_control_mock as temperature_control import titration.utils.devices.temperature_probe_mock as temperature_probe def test_temperature_control_create(): sensor = temperature_probe.Temperature_Probe( boa...
32.7
86
0.776376
304
2,616
6.388158
0.125
0.240989
0.07415
0.102987
0.80484
0.697734
0.697734
0.697734
0.697734
0.697734
0
0.011146
0.142584
2,616
79
87
33.113924
0.854659
0
0
0.481481
0
0
0
0
0
0
0
0
0.018519
1
0.148148
false
0
0.074074
0
0.222222
0.074074
0
0
0
null
1
0
0
1
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
3
a324d7744448f859aceefe32dccfa9fa7e4fd32d
1,094
py
Python
koans/about_lists.py
uottawapython/UOPy-koans-day-1
c2fed293f2809958ac6b37392205f195fb2c1552
[ "MIT" ]
null
null
null
koans/about_lists.py
uottawapython/UOPy-koans-day-1
c2fed293f2809958ac6b37392205f195fb2c1552
[ "MIT" ]
null
null
null
koans/about_lists.py
uottawapython/UOPy-koans-day-1
c2fed293f2809958ac6b37392205f195fb2c1552
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Based on AboutArrays in the Ruby Koans # from runner.koan import * class AboutLists(Koan): def test_accessing_list_elements(self): noms = ['peanut', 'butter', 'and', 'jelly'] self.assertEqual(__, noms[0]) self.assertEqual(__, noms[3]) ...
24.863636
51
0.555759
128
1,094
4.476563
0.398438
0.340314
0.431065
0.139616
0.394415
0.284468
0.284468
0.284468
0.284468
0.205934
0
0.030151
0.272395
1,094
43
52
25.44186
0.689698
0.148995
0
0.142857
0
0
0.068807
0
0
0
0
0
0.619048
1
0.142857
false
0
0.047619
0
0.238095
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
1
0
0
0
0
0
0
0
0
0
3
a3349a0a06eaa31e0fe0605851369794bc927b46
304
py
Python
faculty_sync/screens/loading.py
Matt-Haugh/faculty-sync
56bac90badfe6812f44bad13f56715e4e16f4e57
[ "Apache-2.0" ]
6
2019-02-08T10:36:07.000Z
2021-11-30T06:04:56.000Z
faculty_sync/screens/loading.py
Matt-Haugh/faculty-sync
56bac90badfe6812f44bad13f56715e4e16f4e57
[ "Apache-2.0" ]
32
2018-04-29T13:54:39.000Z
2019-01-18T16:14:54.000Z
faculty_sync/screens/loading.py
Matt-Haugh/faculty-sync
56bac90badfe6812f44bad13f56715e4e16f4e57
[ "Apache-2.0" ]
3
2020-01-09T17:03:31.000Z
2021-04-04T10:37:25.000Z
SEQUENCE = ["|", "/", "-", "\\", "|", "/", "-", "\\"] class LoadingIndicator(object): def __init__(self): self._index = 0 def current(self): return SEQUENCE[self._index] def next(self): self._index = (self._index + 1) % len(SEQUENCE) return self.current()
21.714286
55
0.523026
30
304
5.033333
0.466667
0.238411
0.172185
0
0
0
0
0
0
0
0
0.008929
0.263158
304
13
56
23.384615
0.665179
0
0
0
0
0
0.032895
0
0
0
0
0
0
1
0.333333
false
0
0
0.111111
0.666667
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
a33788982b32013db954cae6a4ca37731f119199
14,013
py
Python
tests/conftest.py
primal100/stripe-subscriptions
05b3c9a1253cf09e7ef17ef4c2ed872e16812641
[ "MIT" ]
null
null
null
tests/conftest.py
primal100/stripe-subscriptions
05b3c9a1253cf09e7ef17ef4c2ed872e16812641
[ "MIT" ]
null
null
null
tests/conftest.py
primal100/stripe-subscriptions
05b3c9a1253cf09e7ef17ef4c2ed872e16812641
[ "MIT" ]
null
null
null
import os import sys import pytest import stripe from stripe.error import InvalidRequestError from datetime import datetime, timedelta import subscriptions from subscriptions import UserProtocol, User from typing import Optional, Any, List, Dict api_key = '' python_version = sys.version_info ci_string = f'{os.name}...
36.303109
146
0.61393
1,411
14,013
5.749114
0.107016
0.052885
0.061637
0.040064
0.820883
0.730523
0.704512
0.652983
0.620316
0.582347
0
0.008396
0.277528
14,013
385
147
36.397403
0.792868
0
0
0.605769
0
0
0.174909
0.008563
0
0
0
0
0
1
0.108974
false
0.009615
0.028846
0.064103
0.25
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a363985311cf34163088d9504b86af53665fff3b
4,100
py
Python
X_airbnb_revisited/airbnb_pricer/airbnb/compile_airbnb_data.py
djsegal/metis
54b84108a58d3e95679b519eb361e6916a693709
[ "MIT" ]
1
2020-06-22T12:21:15.000Z
2020-06-22T12:21:15.000Z
X_airbnb_revisited/airbnb_pricer/airbnb/compile_airbnb_data.py
djsegal/metis
54b84108a58d3e95679b519eb361e6916a693709
[ "MIT" ]
null
null
null
X_airbnb_revisited/airbnb_pricer/airbnb/compile_airbnb_data.py
djsegal/metis
54b84108a58d3e95679b519eb361e6916a693709
[ "MIT" ]
null
null
null
import pandas as pd import geopandas def compile_airbnb_data(cur_link_table): cur_tables = [] for cur_row in cur_link_table.itertuples(): tmp_table = cur_row.table.copy() tmp_table["month"] = cur_row.month tmp_table["year"] = cur_row.year tmp_table["datetime"] = cur_row.dateti...
28.873239
99
0.680732
585
4,100
4.415385
0.194872
0.327913
0.267131
0.363144
0.56988
0.538908
0.324042
0.277584
0.277584
0.264808
0
0.005921
0.176098
4,100
141
100
29.078014
0.758733
0
0
0.235294
0
0
0.140732
0.013659
0
0
0
0
0
1
0.011765
false
0
0.023529
0
0.047059
0.211765
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a381e95a1144267ab224a12d1699c2c646d65b6c
543
py
Python
Python/Doubly Linked List/DLNode.py
ooweihanchenoo/basicPrograms
da09d6c36191d3f1ad4249267aa309d613d742c8
[ "MIT" ]
null
null
null
Python/Doubly Linked List/DLNode.py
ooweihanchenoo/basicPrograms
da09d6c36191d3f1ad4249267aa309d613d742c8
[ "MIT" ]
null
null
null
Python/Doubly Linked List/DLNode.py
ooweihanchenoo/basicPrograms
da09d6c36191d3f1ad4249267aa309d613d742c8
[ "MIT" ]
null
null
null
class DLNode: def __init__(self, init_data): self.data = init_data self.next = None self.previous = None def get_data(self): return self.data def get_next(self): return self.next def get_previous(self): return self.previous def ...
22.625
41
0.567219
68
543
4.264706
0.191176
0.137931
0.144828
0
0
0
0
0
0
0
0
0
0.357274
543
23
42
23.608696
0.830946
0
0
0
0
0
0
0
0
0
0
0
0
1
0.411765
false
0
0
0.176471
0.647059
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
a38288ed2aa0d5afe91206283b0d8add595a5816
270
py
Python
scanpy/datasets/__init__.py
mkmkryu/scanpy2
f3db32a142dc31c1b628380db1c969a6d0b9dc3a
[ "BSD-3-Clause" ]
1,171
2017-01-17T14:01:02.000Z
2022-03-31T23:02:57.000Z
scanpy/datasets/__init__.py
mkmkryu/scanpy2
f3db32a142dc31c1b628380db1c969a6d0b9dc3a
[ "BSD-3-Clause" ]
1,946
2017-01-22T10:19:04.000Z
2022-03-31T17:13:03.000Z
scanpy/datasets/__init__.py
mkmkryu/scanpy2
f3db32a142dc31c1b628380db1c969a6d0b9dc3a
[ "BSD-3-Clause" ]
499
2017-01-21T11:39:29.000Z
2022-03-23T13:57:35.000Z
"""Builtin Datasets. """ from ._datasets import ( blobs, burczynski06, krumsiek11, moignard15, paul15, toggleswitch, pbmc68k_reduced, pbmc3k, pbmc3k_processed, visium_sge, ) from ._ebi_expression_atlas import ebi_expression_atlas
16.875
55
0.692593
26
270
6.846154
0.730769
0.146067
0.202247
0
0
0
0
0
0
0
0
0.057692
0.22963
270
15
56
18
0.798077
0.062963
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.153846
0
0.153846
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
6e5ae6f59793c60c50d8bbf67838f0259fdd7ac3
5,548
py
Python
src/libspec/arm/scripts/ast/nodes.py
agustingianni/retools
0df67fe6f21895644936c5896a33770431d86a1d
[ "MIT" ]
80
2017-08-08T08:42:12.000Z
2022-03-03T13:12:05.000Z
src/libspec/arm/scripts/ast/nodes.py
agustingianni/retools
0df67fe6f21895644936c5896a33770431d86a1d
[ "MIT" ]
16
2017-08-02T14:17:07.000Z
2021-04-30T10:17:01.000Z
src/libspec/arm/scripts/ast/nodes.py
agustingianni/retools
0df67fe6f21895644936c5896a33770431d86a1d
[ "MIT" ]
6
2017-10-02T07:47:46.000Z
2020-08-18T22:03:48.000Z
class BaseNode(object): def accept(self, visitor): return visitor.accept(self) class BooleanValue(BaseNode): def __init__(self, value): self.value = value def __str__(self): return str("true" if self.value else "false") class Identifier(BaseNode): def __init__(self, name): ...
26.545455
115
0.624369
656
5,548
4.92378
0.117378
0.134365
0.077399
0.118885
0.405263
0.260991
0.232817
0.162848
0.147368
0.147368
0
0.003842
0.249279
5,548
208
116
26.673077
0.771669
0.015681
0
0.394737
0
0
0.053785
0.00792
0
0
0
0
0
1
0.335526
false
0
0
0.177632
0.697368
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
6e78bb91a9048d607cfd3b7044f6a360977d6147
201
py
Python
webservice/server/server/summ_eval/server/cli/__init__.py
mymusise/emnlp19-moverscore
0fa2195fa1f63579b9a1daddf2f839bf7364fb80
[ "MIT" ]
141
2019-09-04T11:39:10.000Z
2022-03-29T17:19:53.000Z
webservice/server/server/summ_eval/server/cli/__init__.py
mymusise/emnlp19-moverscore
0fa2195fa1f63579b9a1daddf2f839bf7364fb80
[ "MIT" ]
21
2019-09-16T21:35:50.000Z
2022-02-24T07:16:00.000Z
webservice/server/server/summ_eval/server/cli/__init__.py
mymusise/emnlp19-moverscore
0fa2195fa1f63579b9a1daddf2f839bf7364fb80
[ "MIT" ]
24
2019-12-05T07:01:27.000Z
2022-01-17T16:36:19.000Z
def main(): from summ_eval.server import EvalServer from summ_eval.server.helper import get_run_args args = get_run_args() server = EvalServer(args) server.start() server.join()
28.714286
52
0.706468
28
201
4.857143
0.5
0.117647
0.176471
0.264706
0
0
0
0
0
0
0
0
0.20398
201
7
53
28.714286
0.85
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.428571
0
1
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6e9be669748c7d81411aebbcd32e35d976482ac7
225
py
Python
chess/piece/pawn.py
foxfluff/chess-py
075ec025364e5e6146547ce9651dc7d4f2d55b66
[ "MIT" ]
null
null
null
chess/piece/pawn.py
foxfluff/chess-py
075ec025364e5e6146547ce9651dc7d4f2d55b66
[ "MIT" ]
null
null
null
chess/piece/pawn.py
foxfluff/chess-py
075ec025364e5e6146547ce9651dc7d4f2d55b66
[ "MIT" ]
null
null
null
from ._piece import chess_piece class pawn(chess_piece): def avaliable_moves(self): raise NotImplementedError @staticmethod def legal_moves(): return [[x, 1] for x in range(-1, 2)] + [[0, 2]]
17.307692
56
0.631111
30
225
4.566667
0.733333
0.145985
0
0
0
0
0
0
0
0
0
0.029762
0.253333
225
12
57
18.75
0.785714
0
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0.142857
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
6e9c9f5b35c75c75396e2cd45d484d6987c9523f
16,711
py
Python
test/test_algos/test_opt_algorithm/test_racos/test_racos.py
IcarusWizard/ZOOpt
cea6d886517541c0cfa0504d22674a1955b240d3
[ "MIT" ]
403
2017-04-19T03:01:12.000Z
2022-02-27T04:31:27.000Z
test/test_algos/test_opt_algorithm/test_racos/test_racos.py
IcarusWizard/ZOOpt
cea6d886517541c0cfa0504d22674a1955b240d3
[ "MIT" ]
15
2017-05-07T10:09:32.000Z
2020-11-18T11:33:00.000Z
test/test_algos/test_opt_algorithm/test_racos/test_racos.py
IcarusWizard/ZOOpt
cea6d886517541c0cfa0504d22674a1955b240d3
[ "MIT" ]
97
2017-04-19T03:52:21.000Z
2022-03-03T13:05:02.000Z
from zoopt.algos.opt_algorithms.racos.racos_common import RacosCommon from zoopt.algos.opt_algorithms.racos.sracos import SRacos from zoopt import Solution, Objective, Dimension, Parameter, Opt, ExpOpt, ValueType, Dimension2 import numpy as np def ackley(solution): """ Ackley function for continuous optimizat...
45.783562
122
0.564478
2,567
16,711
3.564862
0.07051
0.033439
0.026554
0.018359
0.781445
0.758059
0.703858
0.684843
0.659163
0.636652
0
0.10275
0.290647
16,711
364
123
45.909341
0.669226
0.110646
0
0.554054
0
0
0.001091
0
0
0
0
0
0.111486
1
0.060811
false
0
0.013514
0
0.094595
0.02027
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6eab350a98ed942e03239ef5f5278f7e00b1b77c
127
py
Python
rolz_bot/database.py
Reriiru/rolz_org_to_discord
caf860585c551d85729b2d9661e8d801750a7aa5
[ "MIT" ]
1
2021-04-15T04:14:55.000Z
2021-04-15T04:14:55.000Z
rolz_bot/database.py
Reriiru/rolz_org_to_discord
caf860585c551d85729b2d9661e8d801750a7aa5
[ "MIT" ]
null
null
null
rolz_bot/database.py
Reriiru/rolz_org_to_discord
caf860585c551d85729b2d9661e8d801750a7aa5
[ "MIT" ]
2
2017-11-05T02:34:35.000Z
2017-11-20T06:00:06.000Z
from pymongo import MongoClient from settings import MONGO_URL client = MongoClient(MONGO_URL) db = client.rolz_database
21.166667
32
0.80315
17
127
5.823529
0.647059
0.161616
0
0
0
0
0
0
0
0
0
0
0.15748
127
5
33
25.4
0.925234
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
6ec94c89616a9e20e56c9b48999ccace746a52ad
125
py
Python
shared/secrets.example.py
Mo-Talha/Nomad
5e26aaa3acd0fc138cc525864cccc186b3933a8b
[ "MIT" ]
null
null
null
shared/secrets.example.py
Mo-Talha/Nomad
5e26aaa3acd0fc138cc525864cccc186b3933a8b
[ "MIT" ]
1
2016-12-12T20:34:20.000Z
2016-12-12T20:34:20.000Z
shared/secrets.example.py
Mo-Talha/Nomad
5e26aaa3acd0fc138cc525864cccc186b3933a8b
[ "MIT" ]
null
null
null
MONGO_HOST = 'localhost' MONGO_PORT = 27017 MONGO_DATABASE = 'nomad' REDIS_HOST = 'localhost' REDIS_PORT = 6379 REDIS_DB = 0
17.857143
24
0.76
18
125
4.944444
0.611111
0.292135
0
0
0
0
0
0
0
0
0
0.093458
0.144
125
7
25
17.857143
0.738318
0
0
0
0
0
0.18254
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
42ce3edec5182f330be417f3855ef8f70bd8cef5
263
py
Python
tableauserverclient/models/target.py
zuarbase/server-client-python
1e5e02a550727d72fa90c3d8e4caa4c5f416dc74
[ "CC0-1.0", "MIT" ]
470
2016-09-14T23:38:48.000Z
2022-03-31T07:59:53.000Z
tableauserverclient/models/target.py
jorwoods/server-client-python
fefd6f18d8a6617829c6323879d2c3ed77a4cda6
[ "CC0-1.0", "MIT" ]
772
2016-09-09T18:15:44.000Z
2022-03-31T22:01:08.000Z
tableauserverclient/models/target.py
jorwoods/server-client-python
fefd6f18d8a6617829c6323879d2c3ed77a4cda6
[ "CC0-1.0", "MIT" ]
346
2016-09-10T00:05:00.000Z
2022-03-30T18:55:47.000Z
"""Target class meant to abstract mappings to other objects""" class Target: def __init__(self, id_, target_type): self.id = id_ self.type = target_type def __repr__(self): return "<Target#{id}, {type}>".format(**self.__dict__)
23.909091
62
0.634981
34
263
4.441176
0.5
0.07947
0
0
0
0
0
0
0
0
0
0
0.231939
263
10
63
26.3
0.747525
0.212928
0
0
0
0
0.104478
0
0
0
0
0
0
1
0.333333
false
0
0
0.166667
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
42d1a7cbed4db82143d8aa8b66480ad64bec67de
552
py
Python
server/entities/livro.py
marcia-santos/simpleBookstore
acf58087f43efda84d5c08163137ccf627e8901f
[ "MIT" ]
null
null
null
server/entities/livro.py
marcia-santos/simpleBookstore
acf58087f43efda84d5c08163137ccf627e8901f
[ "MIT" ]
null
null
null
server/entities/livro.py
marcia-santos/simpleBookstore
acf58087f43efda84d5c08163137ccf627e8901f
[ "MIT" ]
null
null
null
from entities.entityBase import * class Livro(EntityBase): __tablename__ = 'livro' id = sqlalchemy.Column(sqlalchemy.Integer,primary_key=True) isbn = sqlalchemy.Column(sqlalchemy.String(length=20)) titulo = sqlalchemy.Column(sqlalchemy.String(length=255)) autor = sqlalchemy.Column(sqlalchemy.String...
42.461538
63
0.766304
58
552
7.206897
0.465517
0.30622
0.497608
0.236842
0.287081
0.196172
0
0
0
0
0
0.016598
0.126812
552
12
64
46
0.850622
0
0
0
0
0
0.009058
0
0
0
0
0
0
1
0
false
0
0.090909
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
42d7dcd7e05baa7e1c15fa0eaae992a7ce417ec2
326
py
Python
app/authentication/urls.py
GiorgosXonikis/RestaurantReviews-RestAPI
9b7f6d514c2473fbfd5a12eb3015e3c645e140c3
[ "MIT" ]
null
null
null
app/authentication/urls.py
GiorgosXonikis/RestaurantReviews-RestAPI
9b7f6d514c2473fbfd5a12eb3015e3c645e140c3
[ "MIT" ]
null
null
null
app/authentication/urls.py
GiorgosXonikis/RestaurantReviews-RestAPI
9b7f6d514c2473fbfd5a12eb3015e3c645e140c3
[ "MIT" ]
null
null
null
from django.urls import path from .views import (PasswordResetView, PasswordResetValidationView) urlpatterns = [ path('password-reset/', PasswordResetView.as_view(), name='password_reset'), path('password-reset/validate/', PasswordResetValidationView.as_view(), name='password_reset-validat...
36.222222
108
0.730061
31
326
7.548387
0.483871
0.222222
0.145299
0.153846
0.196581
0
0
0
0
0
0
0
0.147239
326
9
109
36.222222
0.841727
0
0
0
0
0
0.232416
0.143731
0
0
0
0
0
1
0
false
0.571429
0.285714
0
0.285714
0
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
1
0
0
0
0
0
3