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
e7dbfa3534c103b51f102189f319e15ea8011535
7,178
py
Python
helpers.py
jyh764790374/R-Net-in-CNTK
2eac05cb45bc52635bb4698729805d7e12af436e
[ "Unlicense" ]
17
2018-07-27T07:09:18.000Z
2021-02-27T17:08:36.000Z
helpers.py
jyh764790374/R-Net-in-CNTK-MS-MARCO-
2eac05cb45bc52635bb4698729805d7e12af436e
[ "Unlicense" ]
null
null
null
helpers.py
jyh764790374/R-Net-in-CNTK-MS-MARCO-
2eac05cb45bc52635bb4698729805d7e12af436e
[ "Unlicense" ]
2
2018-10-17T02:51:06.000Z
2018-10-21T11:47:54.000Z
import numpy as np import cntk as C from cntk.layers.blocks import _INFERRED def OptimizedRnnStack(hidden_dim, num_layers=1, recurrent_op='gru', bidirectional=False, use_cudnn=True, name=''): if use_cudnn: W = C.parameter(_INFERRED + (hidden_dim,), init=C.glorot_uniform()) def func(x): ...
41.976608
132
0.639454
1,120
7,178
3.891964
0.157143
0.053682
0.041294
0.057811
0.417986
0.333333
0.284698
0.257857
0.219775
0.194999
0
0.009417
0.215938
7,178
171
133
41.976608
0.765103
0.104347
0
0.057143
0
0
0.013035
0
0
0
0
0
0
1
0.214286
false
0
0.042857
0.085714
0.485714
0.028571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
99be8e0ad90bd5d8dfd03aaa447d0efe4fc69820
267
py
Python
FusionIIIT/applications/gymkhana/migrations/0014_merge_20200606_1238.py
sabhishekpratap5/sonarcubeTest2
9bd8105e457f6feb8c38fa94b335e54783fca99e
[ "bzip2-1.0.6" ]
2
2020-06-17T11:59:08.000Z
2020-07-10T12:17:35.000Z
FusionIIIT/applications/gymkhana/migrations/0014_merge_20200606_1238.py
sabhishekpratap5/sonarcubeTest2
9bd8105e457f6feb8c38fa94b335e54783fca99e
[ "bzip2-1.0.6" ]
19
2019-09-08T06:01:14.000Z
2020-05-21T09:08:20.000Z
FusionIIIT/applications/gymkhana/migrations/0014_merge_20200606_1238.py
sabhishekpratap5/sonarcubeTest2
9bd8105e457f6feb8c38fa94b335e54783fca99e
[ "bzip2-1.0.6" ]
14
2019-08-31T12:25:42.000Z
2022-01-12T08:05:33.000Z
# Generated by Django 3.0.6 on 2020-06-06 12:38 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('gymkhana', '0005_auto_20200605_0937'), ('gymkhana', '0013_event_info'), ] operations = [ ]
17.8
48
0.640449
32
267
5.1875
0.84375
0
0
0
0
0
0
0
0
0
0
0.171569
0.235955
267
14
49
19.071429
0.642157
0.168539
0
0
1
0
0.245455
0.104545
0
0
0
0
0
1
0
false
0
0.125
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
99c06645644d0ffeca98076ebecceb6c2c273402
2,044
py
Python
clusters/server/tests/day_test.py
ashsawh/stocks
3f8f0b10d606062ef3abb5160836eb23696f48b0
[ "Apache-2.0" ]
1
2019-07-29T20:23:39.000Z
2019-07-29T20:23:39.000Z
clusters/server/tests/day_test.py
ashsawh/stocks
3f8f0b10d606062ef3abb5160836eb23696f48b0
[ "Apache-2.0" ]
null
null
null
clusters/server/tests/day_test.py
ashsawh/stocks
3f8f0b10d606062ef3abb5160836eb23696f48b0
[ "Apache-2.0" ]
null
null
null
import unittest from src.factory import DayFactory, TransactionsFactory from src.value_objects import Stock, StockTransaction, CashTransaction from src.day import Day class DayTest(unittest.TestCase): def setUp(self): self.D0: Day = DayFactory().create("D0", ["AAPL 100", "GOOG 200", "SP500 175.75"], 1000)...
32.444444
103
0.631115
261
2,044
4.781609
0.252874
0.076923
0.091346
0.084135
0.14984
0.106571
0.038462
0
0
0
0
0.084659
0.231409
2,044
62
104
32.967742
0.709739
0
0
0
0
0
0.10274
0
0
0
0
0
0.170213
1
0.212766
false
0
0.085106
0
0.319149
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
99c08d33e58da9e15438ec52e98fb7ac7d97d9d5
2,832
py
Python
src/export_quantized.py
mbuckler/squeezeDet-low-precision
2c5c700d9e7c36cb611bb905e209f718dfbf177a
[ "BSD-2-Clause" ]
2
2019-08-07T21:18:03.000Z
2020-07-26T16:27:31.000Z
src/export_quantized.py
mbuckler/squeezeDet-low-precision
2c5c700d9e7c36cb611bb905e209f718dfbf177a
[ "BSD-2-Clause" ]
null
null
null
src/export_quantized.py
mbuckler/squeezeDet-low-precision
2c5c700d9e7c36cb611bb905e209f718dfbf177a
[ "BSD-2-Clause" ]
null
null
null
# Author: Mark Buckler """Quantization""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import cv2 from datetime import datetime import os.path import sys import time import numpy as np from six.moves import xrange import tensorflow as tf from config i...
29.810526
82
0.641243
363
2,832
4.812672
0.363636
0.041214
0.045793
0.038924
0.230109
0.204923
0.204923
0.169433
0.169433
0.169433
0
0.013731
0.254237
2,832
94
83
30.12766
0.813447
0.106992
0
0.151515
0
0
0.093213
0.013491
0
0
0
0.010638
0.015152
1
0.030303
false
0
0.257576
0
0.30303
0.060606
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
99c67008a5b97aeb98ea7d651117dafc25583098
531
py
Python
scripts/generate_story_map.py
afit/rimworld-save-migrator
a142dcef807e58a471b8bd840e4c4416ced73173
[ "MIT" ]
3
2018-07-02T23:36:52.000Z
2019-01-21T17:16:35.000Z
scripts/generate_story_map.py
afit/rimworld-save-migrator
a142dcef807e58a471b8bd840e4c4416ced73173
[ "MIT" ]
null
null
null
scripts/generate_story_map.py
afit/rimworld-save-migrator
a142dcef807e58a471b8bd840e4c4416ced73173
[ "MIT" ]
null
null
null
#!/usr/bin/python # Look at the story mappings from rimworld.log # cat rimworld.log | grep backstory | sort -u > stories.txt # RimWorld handles the mappings, but pollutes its log when it does so. f = open( 'stories.txt' ) print 'mappings = {' for l in f.readlines(): x = l.strip().split(' ') if 'Giving rand...
24.136364
73
0.563089
77
531
3.883117
0.675325
0.073579
0.046823
0
0
0
0
0
0
0
0
0.014963
0.244821
531
21
74
25.285714
0.730673
0.354049
0
0
0
0
0.20944
0
0
0
0
0
0
0
null
null
0
0
null
null
0.363636
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
99cc57d801b28345067bcc1957c433411f4b1448
3,915
py
Python
HackyEaster/he2022/level8/ch37/solve37_unlink.py
tbrup/ctf-writeups
dfac11abb3051af657ed3384c3c389c14a40c10e
[ "MIT" ]
null
null
null
HackyEaster/he2022/level8/ch37/solve37_unlink.py
tbrup/ctf-writeups
dfac11abb3051af657ed3384c3c389c14a40c10e
[ "MIT" ]
null
null
null
HackyEaster/he2022/level8/ch37/solve37_unlink.py
tbrup/ctf-writeups
dfac11abb3051af657ed3384c3c389c14a40c10e
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # This exploit template was generated via: # $ pwn template --host 46.101.107.117 --port 2208 ./eggo from pwn import * # Set up pwntools for the correct architecture exe = context.binary = ELF('./eggo') # libc = ELF('./libc-2.33.so') # Many built-in settings can be contr...
29
150
0.614304
595
3,915
4.035294
0.347899
0.062474
0.06414
0.070804
0.206581
0.137026
0.137026
0.137026
0.137026
0.137026
0
0.051415
0.160409
3,915
134
151
29.216418
0.679039
0.547382
0
0.226415
1
0
0.111307
0.012367
0
0
0.012956
0
0
1
0.056604
false
0
0.018868
0
0.169811
0.113208
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
99ce937a922710b30381f8493591068886a8598c
25,467
gyp
Python
groups/bsl/bslmf/bslmf.gyp
zhanzju/bsl
1bb79982cff9bbaa3fb6d038604f04283ba76f07
[ "MIT" ]
1
2015-11-06T05:25:03.000Z
2015-11-06T05:25:03.000Z
groups/bsl/bslmf/bslmf.gyp
zhanzju/bsl
1bb79982cff9bbaa3fb6d038604f04283ba76f07
[ "MIT" ]
null
null
null
groups/bsl/bslmf/bslmf.gyp
zhanzju/bsl
1bb79982cff9bbaa3fb6d038604f04283ba76f07
[ "MIT" ]
null
null
null
{ 'variables': { 'bslmf_sources': [ 'bslmf_addconst.cpp', 'bslmf_addcv.cpp', 'bslmf_addlvaluereference.cpp', 'bslmf_addpointer.cpp', 'bslmf_addreference.cpp', 'bslmf_addrvaluereference.cpp', 'bslmf_addvolatile.cpp', 'bslmf_arraytopointer.cpp', 'bslmf_assert.cp...
34.64898
77
0.539247
2,229
25,467
5.834455
0.061463
0.049981
0.074971
0.104883
0.504114
0.411842
0.411842
0.411842
0.411842
0.408074
0
0.000054
0.269918
25,467
734
78
34.696185
0.699403
0.005301
0
0.350205
0
0
0.589048
0.308026
0
0
0
0
0.00684
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
99cf8bd15e6bfe4f73e426de65fa4c30ca3db7fc
573
py
Python
campaigns/migrations/0010_auto_20181117_2234.py
alimahdiyar/Developing-Community-Web
a663a687e0f286f197d4a7bf347f67cd130275f7
[ "MIT" ]
2
2018-06-02T12:30:00.000Z
2018-07-19T14:41:39.000Z
campaigns/migrations/0010_auto_20181117_2234.py
Developing-Community/Developing-Community-Web
a663a687e0f286f197d4a7bf347f67cd130275f7
[ "MIT" ]
5
2021-06-08T19:09:00.000Z
2022-03-11T23:25:14.000Z
campaigns/migrations/0010_auto_20181117_2234.py
Developing-Community/web
a663a687e0f286f197d4a7bf347f67cd130275f7
[ "MIT" ]
2
2018-05-27T14:58:34.000Z
2018-05-27T15:03:04.000Z
# Generated by Django 2.0.9 on 2018-11-17 22:34 import campaigns.models from django.db import migrations import sorl.thumbnail.fields class Migration(migrations.Migration): dependencies = [ ('campaigns', '0009_auto_20181116_1943'), ] operations = [ migrations.AlterField( mod...
27.285714
189
0.685864
67
573
5.686567
0.656716
0.07874
0.099738
0
0
0
0
0
0
0
0
0.068132
0.205934
573
20
190
28.65
0.769231
0.078534
0
0
1
0
0.129278
0.043726
0
0
0
0
0
1
0
false
0
0.214286
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
99d12e7d29fef5924937d4cc8ce631b58a0747b3
740
py
Python
tests/testoctal.py
antoniovilarinholopes/converttodecimal
8fe58c4b7409d83ed66fb4b99f8953acf47bad88
[ "MIT" ]
null
null
null
tests/testoctal.py
antoniovilarinholopes/converttodecimal
8fe58c4b7409d83ed66fb4b99f8953acf47bad88
[ "MIT" ]
null
null
null
tests/testoctal.py
antoniovilarinholopes/converttodecimal
8fe58c4b7409d83ed66fb4b99f8953acf47bad88
[ "MIT" ]
null
null
null
import unittest import baseconverter as bctr class TestOctal(unittest.TestCase): tests = [] results = [] base = 8 def test(self): for conv, result in zip(self.tests, self.results): self.assertEqual(conv.convert(), result) converter = bctr.DecimalBaseConverter("8",self.base) with self.assert...
28.461538
73
0.697297
85
740
6.070588
0.435294
0.052326
0.19186
0.065891
0.189922
0.189922
0.189922
0.189922
0.189922
0
0
0.011551
0.181081
740
25
74
29.6
0.839934
0
0
0.1
0
0
0.024324
0
0
0
0
0
0.15
1
0.1
false
0
0.1
0
0.4
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
99d87c84c1f650596334fdedf093088152cfe4fd
1,069
py
Python
isaactest/tests/questionnaire.py
jsharkey13/isaac-selenium-testing
fc57ec57179cf7d9f0bb5ef46d759792b2af3bc8
[ "MIT" ]
null
null
null
isaactest/tests/questionnaire.py
jsharkey13/isaac-selenium-testing
fc57ec57179cf7d9f0bb5ef46d759792b2af3bc8
[ "MIT" ]
1
2016-01-15T11:28:06.000Z
2016-01-25T17:09:18.000Z
isaactest/tests/questionnaire.py
jsharkey13/isaac-selenium-testing
fc57ec57179cf7d9f0bb5ef46d759792b2af3bc8
[ "MIT" ]
1
2019-05-14T16:53:49.000Z
2019-05-14T16:53:49.000Z
from ..utils.log import log, INFO, ERROR, PASS from ..utils.isaac import kill_irritating_popup, disable_irritating_popup from ..utils.i_selenium import assert_tab from ..tests import TestWithDependency __all__ = ["questionnaire"] ##### # Test : Questionnaire Popup ##### @TestWithDependency("QUESTIONNAIRE", ["LOGIN"]...
36.862069
95
0.707203
144
1,069
5.125
0.506944
0.081301
0.051491
0
0
0
0
0
0
0
0
0.004662
0.197381
1,069
28
96
38.178571
0.855478
0.255379
0
0
0
0
0.283465
0
0
0
0
0
0.125
1
0.0625
false
0.125
0.25
0
0.4375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
99db77b0d0571155bd78aac43f3d762eb5c8d3d3
1,494
py
Python
problem_solving/python/algorithms/implementation/cavity_map.py
kcc3/hackerrank-solutions
f862b44b840bd447d99dc148f6bb5e2f5bfb8a86
[ "MIT" ]
null
null
null
problem_solving/python/algorithms/implementation/cavity_map.py
kcc3/hackerrank-solutions
f862b44b840bd447d99dc148f6bb5e2f5bfb8a86
[ "MIT" ]
null
null
null
problem_solving/python/algorithms/implementation/cavity_map.py
kcc3/hackerrank-solutions
f862b44b840bd447d99dc148f6bb5e2f5bfb8a86
[ "MIT" ]
1
2020-06-04T09:23:19.000Z
2020-06-04T09:23:19.000Z
def cavity_map(grid): """Hackerrank Problem: https://www.hackerrank.com/challenges/cavity-map/problem You are given a square map as a matrix of integer strings. Each cell of the map has a value denoting its depth. We will call a cell of the map a cavity if and only if this cell is not on the border of the ...
33.954545
119
0.615127
259
1,494
3.490347
0.416988
0.060841
0.053097
0.044248
0.108407
0.068584
0.057522
0
0
0
0
0.043192
0.287149
1,494
44
120
33.954545
0.805634
0
0
0
0
0
0.046468
0
0
0
0
0
0
0
null
null
0
0
null
null
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
99e0f1004b2ba5a8602f4459d12c69e706b39a07
23,795
py
Python
opslib/icsec2.py
movermeyer/opslib
157be1342cf24297ef6b79cbe320207e610c9c81
[ "Apache-2.0" ]
1
2015-06-10T17:47:56.000Z
2015-06-10T17:47:56.000Z
opslib/icsec2.py
movermeyer/opslib
157be1342cf24297ef6b79cbe320207e610c9c81
[ "Apache-2.0" ]
null
null
null
opslib/icsec2.py
movermeyer/opslib
157be1342cf24297ef6b79cbe320207e610c9c81
[ "Apache-2.0" ]
2
2016-02-29T23:48:57.000Z
2018-03-05T17:26:35.000Z
""" IcsEc2: Library for EC2 ----------------------- +--------------------+------------+--+ | This is the IcsEc2 common library. | +--------------------+------------+--+ """ from operator import attrgetter from time import time, mktime, sleep, gmtime, strftime, strptime from boto.ec2 import get_region from boto.ec2.c...
32.155405
79
0.586005
2,863
23,795
4.725463
0.114565
0.074654
0.017296
0.022175
0.507798
0.436396
0.38399
0.360041
0.317392
0.290191
0
0.004877
0.327884
23,795
739
80
32.198917
0.841055
0.007985
0
0.322464
0
0
0.083786
0.003625
0
0
0
0.002706
0
0
null
null
0
0.025362
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
99ed550f29778c36dd9474368aebbf80d7e96b69
7,570
py
Python
apps/graphs/bandwidth_performance_graph.py
cucl-srg/Measuring-Burstiness
b9024bf606362d5587773a0c5b892fcb97a3d577
[ "Apache-2.0" ]
1
2022-03-21T02:26:27.000Z
2022-03-21T02:26:27.000Z
apps/graphs/bandwidth_performance_graph.py
cucl-srg/Measuring-Burstiness
b9024bf606362d5587773a0c5b892fcb97a3d577
[ "Apache-2.0" ]
null
null
null
apps/graphs/bandwidth_performance_graph.py
cucl-srg/Measuring-Burstiness
b9024bf606362d5587773a0c5b892fcb97a3d577
[ "Apache-2.0" ]
1
2020-08-10T16:46:05.000Z
2020-08-10T16:46:05.000Z
import argparse import matplotlib import scipy.stats matplotlib.use("Agg") import sys import matplotlib.pyplot as plt import numpy as np import os sys.path.insert(0, '/root/jcw78/process_pcap_traces/') import graph_utils graph_utils.latexify(space_below_graph=0.4) def tensorflow(folder, name_map): # In tensorflow...
35.707547
122
0.604359
926
7,570
4.769978
0.235421
0.028526
0.038714
0.030564
0.264433
0.228209
0.22187
0.166855
0.151913
0.121349
0
0.006975
0.299207
7,570
211
123
35.876777
0.825636
0.107662
0
0.217105
0
0
0.082294
0.012626
0
0
0
0
0
0
null
null
0
0.052632
null
null
0.059211
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
99f8789335127ad626aebedbfb8f6b1f855bca1b
18,797
py
Python
irida_import/tests/integration/test_irida_import_int.py
phac-nml/irida-galaxy-importer
8b85bad43272d523f6b0cf50d9fcce355d3b966e
[ "Apache-2.0" ]
6
2015-11-24T21:51:54.000Z
2022-03-09T15:08:52.000Z
irida_import/tests/integration/test_irida_import_int.py
phac-nml/irida-galaxy-importer
8b85bad43272d523f6b0cf50d9fcce355d3b966e
[ "Apache-2.0" ]
16
2016-11-22T14:20:15.000Z
2021-12-20T21:28:28.000Z
irida_import/tests/integration/test_irida_import_int.py
phac-nml/irida-galaxy-importer
8b85bad43272d523f6b0cf50d9fcce355d3b966e
[ "Apache-2.0" ]
2
2019-07-12T20:10:30.000Z
2019-09-26T20:52:17.000Z
import socket import getpass import inspect import time import sys import logging import os import configparser import pytest import subprocess from tempfile import mkdtemp from selenium import webdriver from selenium.common.exceptions import NoSuchElementException from selenium.common.exceptions import StaleElementRef...
42.915525
116
0.628239
2,213
18,797
5.116132
0.196114
0.035329
0.057057
0.06377
0.33298
0.270889
0.233969
0.215598
0.186804
0.15439
0
0.011421
0.264031
18,797
437
117
43.01373
0.806997
0.117466
0
0.195719
0
0.003058
0.171578
0.059177
0
0
0
0
0.006116
1
0.073395
false
0.079511
0.094801
0
0.266055
0.009174
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
99fe11a820f272f49a922eba7ff98cc3f28aaa1e
14,822
py
Python
code/sumContext.py
NIEHS/P-MACD
82fa36f6ccbdccb63985d28b0c41c9084b9e2b18
[ "MIT" ]
2
2021-06-02T20:34:27.000Z
2021-09-06T22:36:10.000Z
code/sumContext.py
NIEHS/P-MACD
82fa36f6ccbdccb63985d28b0c41c9084b9e2b18
[ "MIT" ]
null
null
null
code/sumContext.py
NIEHS/P-MACD
82fa36f6ccbdccb63985d28b0c41c9084b9e2b18
[ "MIT" ]
2
2021-04-03T00:31:13.000Z
2022-01-31T15:40:29.000Z
## This code was developed and authored by Les Klimczak, Ph.D. ## Unauthorized commercial reuse of the code and removal of this notice ## are prohibited. ## This research was supported by the Intramural Research Program of the NIH, ## National Institute of Environmental Health Sciences. import os, re, sys, copy, nump...
32.362445
253
0.672716
1,887
14,822
5.215156
0.189189
0.007316
0.013413
0.006402
0.233005
0.201301
0.142973
0.114114
0.081089
0.065847
0
0.02684
0.152881
14,822
457
254
32.43326
0.756929
0.151599
0
0.249201
0
0
0.085497
0.007351
0
0
0
0
0
0
null
null
0.003195
0.003195
null
null
0.035144
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
99fe12ff4c35b26e29c870cb2838c857b4760a02
6,757
py
Python
app/environments/routes.py
Jeoffreybauvin/puppenc
8c4f0bea9208dc7628e9e0813f20d26543caa9bb
[ "Apache-2.0" ]
5
2017-03-24T21:43:12.000Z
2021-12-13T12:04:35.000Z
app/environments/routes.py
Jeoffreybauvin/puppenc
8c4f0bea9208dc7628e9e0813f20d26543caa9bb
[ "Apache-2.0" ]
12
2017-04-03T16:04:14.000Z
2019-05-22T14:32:45.000Z
app/environments/routes.py
Jeoffreybauvin/puppenc
8c4f0bea9208dc7628e9e0813f20d26543caa9bb
[ "Apache-2.0" ]
2
2017-04-15T17:13:47.000Z
2021-06-01T04:04:28.000Z
from flask_restful import Resource from flask import jsonify, request from app.puppenc import api, db, app, auth, PuppencResource from app.decorators import * from app.environments.models import Environment from app.environments.schema import EnvironmentSchema class Environments(PuppencResource): def __init__(se...
37.960674
139
0.540033
690
6,757
5.204348
0.22029
0.06015
0.071011
0.028404
0.613478
0.588415
0.538847
0.507937
0.507937
0.507937
0
0.043946
0.366879
6,757
177
140
38.175141
0.795465
0.519609
0
0.4
0
0
0
0
0
0
0
0
0
1
0.142857
false
0.085714
0.171429
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
82011fa86716754e2702eaa340eb8b60c131cddc
470
py
Python
validation-api/definitions/path.py
DILCISBoard/py-ip-validator
1a00f7205d3676cf24c993076614fcbeb50cf8d7
[ "Apache-2.0" ]
2
2018-11-20T12:17:57.000Z
2019-09-28T21:01:38.000Z
validation-api/definitions/path.py
DILCISBoard/py-ip-validator
1a00f7205d3676cf24c993076614fcbeb50cf8d7
[ "Apache-2.0" ]
2
2020-06-15T09:28:44.000Z
2020-06-18T10:30:26.000Z
validation-api/definitions/path.py
DILCISBoard/py-ip-validator
1a00f7205d3676cf24c993076614fcbeb50cf8d7
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # coding=UTF-8 # # METS Validator Portal # Copyright (C) 2017 # All rights reserved. # # This code is distributed under the terms of the GNU General Public # License, Version 3. See the text file "COPYING" for further details # about the terms of this license. class Path: #URL path = "" def m...
18.076923
69
0.680851
70
470
4.457143
0.757143
0.051282
0.064103
0
0
0
0
0
0
0
0
0.016438
0.223404
470
25
70
18.8
0.838356
0.73617
0
0
0
0
0.072727
0
0
0
0
0
0
1
0.166667
false
0.166667
0
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
8201c67d288e4465f79cc1d4182769abefabbba6
966
py
Python
pieces/queen.py
eelviral/Chess-Game-Project
bd11a727221250f6c3dbc86a370742040f51be0a
[ "MIT" ]
null
null
null
pieces/queen.py
eelviral/Chess-Game-Project
bd11a727221250f6c3dbc86a370742040f51be0a
[ "MIT" ]
null
null
null
pieces/queen.py
eelviral/Chess-Game-Project
bd11a727221250f6c3dbc86a370742040f51be0a
[ "MIT" ]
null
null
null
from piece import Piece from .rook import Rook from .bishop import Bishop class Queen(Piece): def __init__(self, white): super().__init__(white) self.rook = Rook(white) self.bishop = Bishop(white) def can_move(self, board, start, end) -> bool: """ Determines if queen c...
32.2
68
0.63354
129
966
4.550388
0.271318
0.061329
0.07155
0.057922
0.306644
0.064736
0
0
0
0
0
0
0.266046
966
29
69
33.310345
0.827927
0.059006
0
0
0
0
0
0
0
0
0
0
0
1
0.190476
false
0
0.142857
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
82037678cf731a27de7b80202c8ec58995f0f61d
1,795
py
Python
jungle_book/auth/jwt.py
EmilTheSadCat/jungle-book-app
9b92ba8b889943ce3636a88d538a59ee339869f1
[ "MIT" ]
null
null
null
jungle_book/auth/jwt.py
EmilTheSadCat/jungle-book-app
9b92ba8b889943ce3636a88d538a59ee339869f1
[ "MIT" ]
null
null
null
jungle_book/auth/jwt.py
EmilTheSadCat/jungle-book-app
9b92ba8b889943ce3636a88d538a59ee339869f1
[ "MIT" ]
null
null
null
import jwt from flask import request, jsonify from datetime import datetime from dateutil.relativedelta import relativedelta from functools import wraps from jungle_book.user.models import User algorithm = "HS256" key = "secret" # TODO put this into env variables NOW = datetime.now() SIX_MONTHS_LATER = NOW + relative...
23.311688
65
0.627855
220
1,795
5.036364
0.372727
0.072202
0.075812
0.030686
0.090253
0.041516
0
0
0
0
0
0.01063
0.266295
1,795
76
66
23.618421
0.830676
0.086351
0
0.038462
0
0
0.077208
0
0
0
0
0.013158
0
1
0.115385
false
0
0.115385
0
0.423077
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
8211154aa4a5a84d14ec8e9f4d95147e8b41f6f1
3,038
py
Python
scripts/write_to_influxdb.py
sync-or-swim/sos-journaler
f98897b47a8025e74fae4b427af95e07363a64c8
[ "MIT" ]
null
null
null
scripts/write_to_influxdb.py
sync-or-swim/sos-journaler
f98897b47a8025e74fae4b427af95e07363a64c8
[ "MIT" ]
27
2020-01-29T05:50:52.000Z
2020-12-20T04:53:01.000Z
scripts/write_to_influxdb.py
BryceBeagle/sync-or-swim
f98897b47a8025e74fae4b427af95e07363a64c8
[ "MIT" ]
null
null
null
from argparse import ArgumentParser from influxdb import InfluxDBClient import datetime import geohash def main(): parser = ArgumentParser( description="Writes some example FIXM data to InfluxDB") parser.add_argument("--hostname", type=str, default="localhost", help="The hostn...
38.455696
77
0.571099
355
3,038
4.830986
0.442254
0.026239
0.049563
0.058309
0.0793
0.0793
0.050146
0
0
0
0
0.019057
0.343647
3,038
78
78
38.948718
0.841023
0.274194
0
0
0
0
0.190585
0
0
0
0
0
0
1
0.020408
false
0.061224
0.081633
0
0.102041
0.020408
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
8218206b49510d2a8ddd9239bbd0591e170620c6
482
py
Python
examples/osb/app/model/comment.py
medecau/lamson
e78520b857384462b9eecdedfc0f8c2e57cdd00a
[ "BSD-3-Clause" ]
null
null
null
examples/osb/app/model/comment.py
medecau/lamson
e78520b857384462b9eecdedfc0f8c2e57cdd00a
[ "BSD-3-Clause" ]
null
null
null
examples/osb/app/model/comment.py
medecau/lamson
e78520b857384462b9eecdedfc0f8c2e57cdd00a
[ "BSD-3-Clause" ]
null
null
null
from lamson import queue def attach_headers(message, user_id, post_name, domain): """Headers are used later by the index.py handler to figure out where the message finally goes.""" message['X-Post-Name'] = post_name message['X-Post-User-ID'] = user_id message['X-Post-Domain'] = domain def defer_...
30.125
73
0.697095
76
482
4.289474
0.526316
0.055215
0.110429
0
0
0
0
0
0
0
0
0
0.182573
482
15
74
32.133333
0.827411
0.03527
0
0
0
0
0.204986
0
0
0
0
0
0
0
null
null
0
0.111111
null
null
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
821984511dee58e92708aa60fa96d6d0d20fe0cf
2,918
py
Python
mqtt_interface/mqtt_library/mqtt_client_py3.py
bopopescu/docker_images_a
348d0982c5962f2ae34d10183ed9522b7a6fe286
[ "MIT" ]
2
2018-02-21T03:46:51.000Z
2019-12-24T16:40:51.000Z
mqtt_interface/mqtt_library/mqtt_client_py3.py
bopopescu/docker_images_a
348d0982c5962f2ae34d10183ed9522b7a6fe286
[ "MIT" ]
7
2020-07-16T19:54:08.000Z
2022-03-02T03:29:07.000Z
mqtt_interface/mqtt_library/mqtt_client_py3.py
bopopescu/docker_images_a
348d0982c5962f2ae34d10183ed9522b7a6fe286
[ "MIT" ]
2
2018-04-16T07:02:35.000Z
2020-07-23T21:57:19.000Z
import paho.mqtt.client as mqtt import ssl import redis import time class MQTT_CLIENT(object): def __init__(self,redis_site_data,server,port,user_name,password_key): self.server = server self.port = port self.redis_site_data = redis_site_data self.client = mqtt.Client(clien...
32.422222
150
0.561343
349
2,918
4.472779
0.292264
0.108905
0.066624
0.021781
0.098655
0.038437
0.038437
0.038437
0.038437
0.038437
0
0.011911
0.338245
2,918
90
151
32.422222
0.796479
0.007882
0
0.090909
0
0
0.07344
0.049911
0
0
0
0
0
1
0.106061
false
0.060606
0.090909
0
0.30303
0.060606
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
8219bdf4aa36724d7acd9da5d6d73731f34ef6cd
979
py
Python
pyminer/network/filters.py
rbrecheisen/pyminer
c1b088cd9eddf0347b5c3e9354991374c7344a33
[ "Apache-2.0" ]
null
null
null
pyminer/network/filters.py
rbrecheisen/pyminer
c1b088cd9eddf0347b5c3e9354991374c7344a33
[ "Apache-2.0" ]
1
2015-05-15T12:06:25.000Z
2015-10-18T15:43:34.000Z
pyminer/network/filters.py
rbrecheisen/pyminer
c1b088cd9eddf0347b5c3e9354991374c7344a33
[ "Apache-2.0" ]
null
null
null
__author__ = 'Ralph' import pandas as pd from base import Node from base import InputPort from base import OutputPort class Filter(Node): def __init__(self, name): super(Filter, self).__init__(name) self.add_input_port( InputPort(name='input', data_type=pd.DataFrame)) self....
20.395833
62
0.659857
116
979
5.232759
0.396552
0.039539
0.069193
0.062603
0
0
0
0
0
0
0
0
0.235955
979
48
63
20.395833
0.811497
0
0
0.137931
0
0
0.071429
0
0
0
0
0
0
1
0.137931
false
0.068966
0.137931
0
0.448276
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
822032599db3ee1487dab68a324fbb6a098cbc67
6,292
py
Python
src/gui_L087 (for C1_PRO_X18 camera) PARFOCAL_DEMO/sweep.py
Kurokesu/SCF4-SDK
264437a9597885f4eae57e8a717ea2b15a04172e
[ "MIT" ]
13
2019-11-20T08:53:53.000Z
2021-12-21T14:05:37.000Z
src/gui_L087 (for C1_PRO_X18 camera) PARFOCAL_DEMO/sweep.py
Kurokesu/SCF4-SDK
264437a9597885f4eae57e8a717ea2b15a04172e
[ "MIT" ]
19
2020-08-09T05:24:03.000Z
2021-07-01T07:07:37.000Z
src/gui_L087 (for C1_PRO_X18 camera) PARFOCAL_DEMO/sweep.py
Kurokesu/SCF4-SDK
264437a9597885f4eae57e8a717ea2b15a04172e
[ "MIT" ]
3
2020-03-30T12:51:55.000Z
2021-08-09T11:22:29.000Z
import cv2 import os import serial import sys import scf4_tools import time import threading import camera import numpy as np from scipy.interpolate import interp1d from tqdm import tqdm CHB_MOVE = 7 CHA_MOVE = 6 CHB_PI = 4 CHA_PI = 3 def parse_data(data): out_x = [] out_y = [] for i in...
23.833333
90
0.687381
1,043
6,292
3.981783
0.21093
0.127859
0.143992
0.221527
0.627498
0.574524
0.538888
0.522755
0.522273
0.507826
0
0.064709
0.177209
6,292
263
91
23.923954
0.737493
0.124285
0
0.372671
0
0
0.175237
0
0
0
0
0
0
1
0.012422
false
0
0.068323
0.006211
0.093168
0.223602
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8226308b8a2c2e852acb6dff9db13ef1f87ee5ed
1,409
py
Python
app/routers/backlog.py
cristianwebber/FastApiTest
fe3c782bc4a3e9ff1e9ef5a38f20043f9577bd5e
[ "Apache-2.0" ]
null
null
null
app/routers/backlog.py
cristianwebber/FastApiTest
fe3c782bc4a3e9ff1e9ef5a38f20043f9577bd5e
[ "Apache-2.0" ]
null
null
null
app/routers/backlog.py
cristianwebber/FastApiTest
fe3c782bc4a3e9ff1e9ef5a38f20043f9577bd5e
[ "Apache-2.0" ]
null
null
null
from typing import List from fastapi import APIRouter from .. import database, schemas, models, oauth2 from sqlalchemy.orm import Session from fastapi import APIRouter, Depends, status from ..repository import backlog router = APIRouter(prefix="/backlog", tags=["Backlog"]) get_db = database.get_db @router.get("/", r...
24.719298
69
0.71895
194
1,409
5.046392
0.247423
0.089888
0.081716
0.097038
0.458631
0.392237
0.392237
0.392237
0.392237
0.392237
0
0.014226
0.151881
1,409
56
70
25.160714
0.805021
0
0
0.414634
0
0
0.022776
0
0
0
0
0
0
1
0.121951
false
0
0.146341
0.121951
0.390244
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
8227635dd4b63240fd4ce82b0583156b4ea9480c
510
py
Python
Tools/quantize-models.py
mihaip/solving-bee
bd45fa8414e6553e7a974b07bea4bad46183da71
[ "Apache-2.0" ]
2
2020-11-17T14:52:50.000Z
2021-04-04T20:43:40.000Z
Tools/quantize-models.py
mihaip/solving-bee
bd45fa8414e6553e7a974b07bea4bad46183da71
[ "Apache-2.0" ]
null
null
null
Tools/quantize-models.py
mihaip/solving-bee
bd45fa8414e6553e7a974b07bea4bad46183da71
[ "Apache-2.0" ]
1
2021-04-04T23:40:21.000Z
2021-04-04T23:40:21.000Z
#!/usr/local/bin/python3 import coremltools.models import coremltools.models.neural_network import os.path models_dir = os.path.join(os.path.dirname(__file__), "..", "Solving Bee", "Resources") for model_name in ["LettersModel", "BoardModel"]: model_path = os.path.join(models_dir, f"{model_name}.mlmodel") mod...
39.230769
108
0.77451
70
510
5.371429
0.5
0.180851
0.12234
0.159574
0
0
0
0
0
0
0
0.023861
0.096078
510
12
109
42.5
0.791757
0.045098
0
0
0
0
0.131687
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
8229233dd2ae5f0912a4213d1c4e8a168847a08a
3,679
py
Python
botpumpkin/discord/context.py
Anthrasite/BotPumpkin
99267a9cb3d263f5cd302ee548c49c59fafcce3f
[ "MIT" ]
null
null
null
botpumpkin/discord/context.py
Anthrasite/BotPumpkin
99267a9cb3d263f5cd302ee548c49c59fafcce3f
[ "MIT" ]
24
2021-03-08T00:28:13.000Z
2021-04-09T22:26:26.000Z
botpumpkin/discord/context.py
Anthrasite/BotPumpkin
99267a9cb3d263f5cd302ee548c49c59fafcce3f
[ "MIT" ]
null
null
null
"""A collection of utility functions for performing typing and error checking on discord.ext.commands.Context objects.""" from typing import List, Optional, Union # Third party imports import discord from discord.ext import commands # First party imports import botpumpkin.discord.guild as guild_util # *** get_guild...
36.068627
155
0.662136
437
3,679
5.514874
0.171625
0.043154
0.068465
0.063071
0.431535
0.375519
0.274689
0.243568
0.243568
0.243568
0
0
0.186192
3,679
101
156
36.425743
0.804943
0.544441
0
0
0
0
0.073041
0.014608
0
0
0
0
0
1
0.192308
false
0
0.153846
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
8231f730c04eb4d6e810e9c69386be194b173415
16,027
py
Python
main.py
PlumpMath/Panda3DCraft
7bf5b658af7809249c6bc78d059506e738546812
[ "MIT" ]
1
2021-08-07T14:05:27.000Z
2021-08-07T14:05:27.000Z
main.py
PlumpMath/Panda3DCraft
7bf5b658af7809249c6bc78d059506e738546812
[ "MIT" ]
null
null
null
main.py
PlumpMath/Panda3DCraft
7bf5b658af7809249c6bc78d059506e738546812
[ "MIT" ]
1
2021-08-15T14:50:47.000Z
2021-08-15T14:50:47.000Z
from panda3d.core import * from direct.gui.DirectGui import * from direct.showbase.ShowBase import ShowBase from noise import snoise2 import os import random from Block import * loadPrcFile('config/general.prc') if __debug__: loadPrcFile('config/dev.prc') base = ShowBase() octavesElev = 5 octavesRough = 2 octav...
45.274011
217
0.608099
2,043
16,027
4.715125
0.190406
0.014118
0.078895
0.10381
0.432368
0.396242
0.346517
0.339147
0.335929
0.335929
0
0.043198
0.225806
16,027
353
218
45.402266
0.733156
0.023835
0
0.141414
0
0.037037
0.08328
0.001535
0
0
0
0
0
0
null
null
0.003367
0.023569
null
null
0.03367
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
8240d9157af0d451e4630f0ef6ada12168952405
1,957
py
Python
tests/test_models/test_task_error.py
wikimedia/analytics-wikimetrics
1d2036657b06ccd16ecfc76edd3f9a6119ff75f4
[ "MIT" ]
6
2015-01-28T05:59:08.000Z
2018-01-09T07:48:57.000Z
tests/test_models/test_task_error.py
wikimedia/analytics-wikimetrics
1d2036657b06ccd16ecfc76edd3f9a6119ff75f4
[ "MIT" ]
2
2020-05-09T16:36:43.000Z
2020-05-09T16:52:35.000Z
tests/test_models/test_task_error.py
wikimedia/analytics-wikimetrics
1d2036657b06ccd16ecfc76edd3f9a6119ff75f4
[ "MIT" ]
1
2016-01-13T07:19:44.000Z
2016-01-13T07:19:44.000Z
import celery from nose.tools import assert_equal, assert_true from datetime import datetime from wikimetrics.models import TaskErrorStore, ReportStore from ..fixtures import DatabaseTest class TaskErrorStoreTest(DatabaseTest): def setUp(self): DatabaseTest.setUp(self) self.report = ReportStore(...
39.938776
83
0.66326
239
1,957
5.330544
0.276151
0.094976
0.10989
0.056515
0.417582
0.356358
0.191523
0.191523
0.191523
0.191523
0
0.01321
0.226367
1,957
48
84
40.770833
0.828269
0.085335
0
0.210526
0
0
0.063866
0
0
0
0
0
0.342105
0
null
null
0
0.131579
null
null
0.026316
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
82416465e002cce6e0e1cf4af62bd2ddea23d8ff
545
py
Python
apps/puzzles/migrations/0004_metapuzzle_description.py
madjaqk/puzzle_master_v2
e50b0f02abbf32aebe9583152bd9a5b43f5da7d7
[ "MIT" ]
null
null
null
apps/puzzles/migrations/0004_metapuzzle_description.py
madjaqk/puzzle_master_v2
e50b0f02abbf32aebe9583152bd9a5b43f5da7d7
[ "MIT" ]
8
2020-02-07T04:11:07.000Z
2022-02-10T07:04:57.000Z
apps/puzzles/migrations/0004_metapuzzle_description.py
madjaqk/puzzle_master_v2
e50b0f02abbf32aebe9583152bd9a5b43f5da7d7
[ "MIT" ]
null
null
null
# Generated by Django 2.0 on 2017-12-20 04:27 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('puzzles', '0003_auto_20171219_2002'), ] operations = [ migrations.AddField( model_name='metapuzzle', name='description...
27.25
168
0.647706
61
545
5.704918
0.868852
0
0
0
0
0
0
0
0
0
0
0.084577
0.262385
545
19
169
28.684211
0.781095
0.078899
0
0
1
0.076923
0.344
0.046
0
0
0
0
0
1
0
false
0
0.076923
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8245c0a9780a132093308307ffdd47c661336825
20,282
py
Python
study_analyzer.py
CogStack/SemEHR-kconnect
8cfd48e358294e588575e24ccbb566f4f508b5d5
[ "Apache-2.0" ]
64
2018-04-23T02:59:45.000Z
2022-03-28T22:48:38.000Z
study_analyzer.py
CogStack/SemEHR-kconnect
8cfd48e358294e588575e24ccbb566f4f508b5d5
[ "Apache-2.0" ]
2
2018-07-16T10:33:38.000Z
2019-02-22T16:22:17.000Z
study_analyzer.py
CogStack/SemEHR-kconnect
8cfd48e358294e588575e24ccbb566f4f508b5d5
[ "Apache-2.0" ]
17
2018-06-05T17:36:55.000Z
2022-03-09T04:04:11.000Z
import ontotextapi as onto import utils import json from os.path import isfile, join, split import joblib as jl import cohortanalysis as cohort from ann_post_rules import AnnRuleExecutor import sys import xml.etree.ElementTree as ET import concept_mapping import urllib3 import logging class StudyConcept(object): ...
43.805616
121
0.601124
2,420
20,282
4.714876
0.115702
0.044435
0.034268
0.011919
0.375986
0.274759
0.198422
0.16284
0.143558
0.124189
0
0.003982
0.306528
20,282
462
122
43.900433
0.807252
0.047776
0
0.184987
0
0
0.097611
0.014777
0
0
0
0
0
0
null
null
0
0.032172
null
null
0.018767
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4138061cddec526c0c1ef724b4f3f7ed6a87b8dc
17,315
py
Python
server/src/textannotations.py
sandernaert/brat
6468258fcb0f83e092169d8c7e88a036077aab5c
[ "CC-BY-3.0" ]
1
2017-09-25T20:53:58.000Z
2017-09-25T20:53:58.000Z
server/src/textannotations.py
sandernaert/brat
6468258fcb0f83e092169d8c7e88a036077aab5c
[ "CC-BY-3.0" ]
null
null
null
server/src/textannotations.py
sandernaert/brat
6468258fcb0f83e092169d8c7e88a036077aab5c
[ "CC-BY-3.0" ]
null
null
null
from projectconfig import TypeHierarchyNode, ProjectConfiguration from annotation import Annotations,TextLevelAnnotation, SimpleAnnotations from message import Messager from ApplicationScope import getAnnObject class NoTextLevelConf(Exception): def __init__(self): Exception.__init__(self) def __str__(s...
38.222958
119
0.583483
2,040
17,315
4.771569
0.104412
0.019725
0.023423
0.021574
0.486439
0.437949
0.39059
0.333984
0.321759
0.303781
0
0.005166
0.306844
17,315
452
120
38.307522
0.805866
0.147733
0
0.468391
0
0
0.038002
0.004284
0
0
0
0.002212
0
0
null
null
0
0.045977
null
null
0.002874
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
41406dd0b9bde817da5cd6498dd268425faf759a
4,553
py
Python
test/unit/configuration/test_configuration_from_main.py
Sam-Martin/graph-notebook
e7a8cefb93891ea19d6df4f17fe0acca3e223ae9
[ "ISC", "Apache-2.0", "CC0-1.0" ]
378
2020-11-02T23:44:37.000Z
2022-03-31T17:07:16.000Z
test/unit/configuration/test_configuration_from_main.py
Sam-Martin/graph-notebook
e7a8cefb93891ea19d6df4f17fe0acca3e223ae9
[ "ISC", "Apache-2.0", "CC0-1.0" ]
124
2020-11-07T14:35:28.000Z
2022-03-29T21:07:09.000Z
test/unit/configuration/test_configuration_from_main.py
Sam-Martin/graph-notebook
e7a8cefb93891ea19d6df4f17fe0acca3e223ae9
[ "ISC", "Apache-2.0", "CC0-1.0" ]
76
2020-11-04T03:52:08.000Z
2022-03-31T17:17:06.000Z
""" Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 """ import os import unittest from graph_notebook.configuration.generate_config import AuthModeEnum, Configuration from graph_notebook.configuration.get_config import get_config class TestGenerateConfiguration...
56.9125
118
0.679113
566
4,553
5.157244
0.231449
0.076739
0.04111
0.049332
0.646454
0.632751
0.591984
0.55841
0.541966
0.526208
0
0.004783
0.219416
4,553
79
119
57.632911
0.816545
0.097079
0
0.322034
1
0
0.259819
0.184191
0
0
0
0
0.101695
1
0.152542
false
0
0.067797
0
0.237288
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4144ac6c76ba124c7f21052971d1bc054211eeab
447
py
Python
reads/migrations/0008_auto_20171119_0744.py
mguarascio/runnerreads-com
3bc877cf24370cf881a98a1c5915693464bc69e8
[ "MIT" ]
null
null
null
reads/migrations/0008_auto_20171119_0744.py
mguarascio/runnerreads-com
3bc877cf24370cf881a98a1c5915693464bc69e8
[ "MIT" ]
null
null
null
reads/migrations/0008_auto_20171119_0744.py
mguarascio/runnerreads-com
3bc877cf24370cf881a98a1c5915693464bc69e8
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2017-11-19 12:44 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('reads', '0007_auto_20171115_2224'), ] operations = [ migrations.AlterField(...
21.285714
52
0.612975
50
447
5.28
0.82
0
0
0
0
0
0
0
0
0
0
0.11315
0.268456
447
20
53
22.35
0.69419
0.152125
0
0
1
0
0.095745
0.06117
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4146262f3d74196d4ad2779199fd0a16f247abbd
930
py
Python
full_metal/models.py
nightwarriorftw/alchemist
38634da50370edc07c1bae09ff05a66e92f2f8c0
[ "MIT" ]
null
null
null
full_metal/models.py
nightwarriorftw/alchemist
38634da50370edc07c1bae09ff05a66e92f2f8c0
[ "MIT" ]
null
null
null
full_metal/models.py
nightwarriorftw/alchemist
38634da50370edc07c1bae09ff05a66e92f2f8c0
[ "MIT" ]
null
null
null
from django.db import models from django.db.models.fields import related class MarketingCampaign(models.Model): """Store the information of marketing campaign.""" title = models.CharField(max_length=50) created_at = models.DateTimeField(auto_now_add=True) updated_at = models.DateTimeField(auto_no...
34.444444
102
0.711828
117
930
5.470085
0.42735
0.05
0.13125
0.15625
0.39375
0.39375
0.29375
0.29375
0.29375
0.29375
0
0.005195
0.172043
930
27
103
34.444444
0.825974
0.088172
0
0.352941
0
0
0.095465
0
0
0
0
0
0
1
0.117647
false
0
0.117647
0.058824
0.941176
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
4146c32ffd539838b9529d72258302c84167df28
1,216
py
Python
pantofola_search/tools/kickass_fetcher.py
phingage/pantofola.io
f41036d2e568a45f328e2a7ca81d76a27cd134dc
[ "WTFPL" ]
1
2018-06-09T22:20:00.000Z
2018-06-09T22:20:00.000Z
pantofola_search/tools/kickass_fetcher.py
phingage/pantofola.io
f41036d2e568a45f328e2a7ca81d76a27cd134dc
[ "WTFPL" ]
4
2020-02-11T22:01:16.000Z
2021-06-10T17:38:56.000Z
pantofola_search/tools/kickass_fetcher.py
phingage/pantofola.io
f41036d2e568a45f328e2a7ca81d76a27cd134dc
[ "WTFPL" ]
null
null
null
__author__ = 'armanini' import httplib, requests, re from urlparse import urlparse class KickAssFetcher(object): def __init__(self): self.search_url = "http://kickass.to/usearch/" self.title_re = re.compile(r'(?P<imdb_id>tt\d{7})', flags=re.IGNORECASE + re.MULTILINE) def search(self, torrent...
25.87234
95
0.589638
145
1,216
4.744828
0.482759
0.034884
0.037791
0
0
0
0
0
0
0
0
0.03517
0.29852
1,216
47
96
25.87234
0.771395
0
0
0.085714
0
0
0.129006
0.032868
0
0
0
0
0
0
null
null
0
0.057143
null
null
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
41538b4330b560554f0aa682385fd505950bc0e9
1,128
py
Python
test_app.py
jeshan/hypothesis-test-python-versions
8bb26275937dc02a2a996aa2c09e9c48a3f87419
[ "BSD-2-Clause" ]
null
null
null
test_app.py
jeshan/hypothesis-test-python-versions
8bb26275937dc02a2a996aa2c09e9c48a3f87419
[ "BSD-2-Clause" ]
null
null
null
test_app.py
jeshan/hypothesis-test-python-versions
8bb26275937dc02a2a996aa2c09e9c48a3f87419
[ "BSD-2-Clause" ]
null
null
null
from subprocess import call from tempfile import NamedTemporaryFile from hypothesis import settings, note from hypothesis.stateful import RuleBasedStateMachine, rule from hypothesis.strategies import sampled_from def versions(): """ generates only minor versions available on Docker Hub """ # TODO: treat as s...
33.176471
93
0.696809
139
1,128
5.597122
0.561151
0.053985
0
0
0
0
0
0
0
0
0
0.009956
0.198582
1,128
33
94
34.181818
0.850664
0.126773
0
0
0
0
0.203476
0.023517
0
0
0
0.030303
0.043478
1
0.086957
false
0
0.217391
0
0.391304
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
415db15c97efdf73489f6ae6ea62535109579cca
3,883
py
Python
lib/ezdxf/__init__.py
tapnair/DXFer
8ec957d80c2f251bb78440147d1478106f99b3eb
[ "MIT" ]
4
2019-03-31T00:41:13.000Z
2021-07-31T05:09:07.000Z
lib/ezdxf/__init__.py
tapnair/DXFer
8ec957d80c2f251bb78440147d1478106f99b3eb
[ "MIT" ]
null
null
null
lib/ezdxf/__init__.py
tapnair/DXFer
8ec957d80c2f251bb78440147d1478106f99b3eb
[ "MIT" ]
5
2018-03-29T06:28:07.000Z
2021-07-31T05:09:08.000Z
# Purpose: ezdxf package # Created: 10.03.2011 # Copyright (C) 2011, Manfred Moitzi # License: MIT License from __future__ import unicode_literals version = (0, 8, 2) # also update VERSION in setup.py VERSION = "%d.%d.%d" % version __version__ = VERSION __author__ = "mozman <mozman@gmx.at>" import sys if sys.version...
35.3
112
0.701262
510
3,883
5.276471
0.34902
0.053512
0.042363
0.046823
0.167224
0.154589
0.12709
0.042363
0.042363
0.042363
0
0.055342
0.194952
3,883
109
113
35.623853
0.805502
0.43111
0
0.072727
0
0
0.08409
0
0
0
0
0
0
1
0.090909
false
0
0.345455
0
0.527273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
415dfc81e1ad703ea86b474b35a040d48a33ce28
646
py
Python
books/masteringPython/cp11/cp11_manual_trace.py
Bingwen-Hu/hackaway
69727d76fd652390d9660e9ea4354ba5cc76dd5c
[ "BSD-2-Clause" ]
null
null
null
books/masteringPython/cp11/cp11_manual_trace.py
Bingwen-Hu/hackaway
69727d76fd652390d9660e9ea4354ba5cc76dd5c
[ "BSD-2-Clause" ]
null
null
null
books/masteringPython/cp11/cp11_manual_trace.py
Bingwen-Hu/hackaway
69727d76fd652390d9660e9ea4354ba5cc76dd5c
[ "BSD-2-Clause" ]
null
null
null
# manual trace import sys import trace as trace_module import contextlib @contextlib.contextmanager def trace(count=False, trace=True, timing=True): tracer = trace_module.Trace( count=count, trace=trace, timing=timing) sys.settrace(tracer.globaltrace) yield tracer sys.settrace(None) result = tracer.results() ...
19.575758
55
0.750774
84
646
5.678571
0.357143
0.056604
0.113208
0.169811
0
0
0
0
0
0
0
0
0.130031
646
33
56
19.575758
0.848754
0.018576
0
0.12
0
0
0.036335
0
0
0
0
0
0
1
0.12
false
0
0.12
0
0.24
0.12
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
416352a765ad965b8902ff0ad42dd03f68d57af2
3,542
py
Python
code/tfidf.py
yekang/ccf_sougou
1c65cd78407f14646bbf52140051fc5f239c31d3
[ "MIT" ]
null
null
null
code/tfidf.py
yekang/ccf_sougou
1c65cd78407f14646bbf52140051fc5f239c31d3
[ "MIT" ]
null
null
null
code/tfidf.py
yekang/ccf_sougou
1c65cd78407f14646bbf52140051fc5f239c31d3
[ "MIT" ]
null
null
null
from sklearn.feature_extraction.text import TfidfVectorizer from sklearn.feature_extraction.text import TfidfVectorizer,CountVectorizer from sklearn.externals import joblib as jl import data_preprocess def tfidf_feature(): gender_label_cleaned_list=[] age_label_cleaned_list=[] education_label_cleaned...
49.887324
88
0.732919
482
3,542
4.896266
0.105809
0.167797
0.160169
0.071186
0.742797
0.736864
0.696186
0.583051
0.554237
0.487712
0
0.002065
0.179842
3,542
71
88
49.887324
0.810327
0.118295
0
0.474576
0
0
0.020388
0
0
0
0
0
0
1
0.033898
false
0
0.067797
0
0.135593
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4168384f50e5cc2f231cecb8b748342434bfed92
554
py
Python
LOGGING/logger.py
Couso99/EEG-Environment
d67de00c08c5892baebe5bf993cac0a5db6e70b1
[ "MIT" ]
null
null
null
LOGGING/logger.py
Couso99/EEG-Environment
d67de00c08c5892baebe5bf993cac0a5db6e70b1
[ "MIT" ]
null
null
null
LOGGING/logger.py
Couso99/EEG-Environment
d67de00c08c5892baebe5bf993cac0a5db6e70b1
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ @author: %(Mikel Val Calvo)s @email: %(mikel1982mail@gmail.com) @institution: %(Dpto. de Inteligencia Artificial, Universidad Nacional de Educación a Distancia (UNED)) @DOI: 10.5281/zenodo.3759306 """ class logger(): # Inicializa la aplicación GUI def __init__(self, gui): ...
29.157895
103
0.666065
71
554
5.112676
0.732394
0.057851
0
0
0
0
0
0
0
0
0
0.041284
0.212996
554
18
104
30.777778
0.791284
0.606498
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
416ba491b8205e861203d98c397a2176ef1e5e99
6,451
py
Python
app/src/original.py
chrisjim316/Amazon-Alexa-Hack
8180520b3feb9ef8dc55aa69119b21436ee109d6
[ "MIT" ]
null
null
null
app/src/original.py
chrisjim316/Amazon-Alexa-Hack
8180520b3feb9ef8dc55aa69119b21436ee109d6
[ "MIT" ]
null
null
null
app/src/original.py
chrisjim316/Amazon-Alexa-Hack
8180520b3feb9ef8dc55aa69119b21436ee109d6
[ "MIT" ]
null
null
null
from __future__ import print_function import json import urllib2 # properties needed to interact with the api apiToken = //intentionally obfuscated seToken = //intentionally obfuscated baseUrl = 'https://www.secretescapes.com/v3' numberOfRooms = 1 APP_ID = "amzn1.ask.skill.258c1e36-afd4-4d5b-8f50-fbab4ed83475" def la...
31.622549
118
0.637421
709
6,451
5.629055
0.310296
0.020296
0.036081
0.024054
0.238537
0.200952
0.150088
0.150088
0.102481
0.102481
0
0.005897
0.237638
6,451
203
119
31.778325
0.805612
0.072082
0
0.189781
0
0.007299
0.25301
0.009344
0
0
0
0
0
0
null
null
0
0.021898
null
null
0.036496
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
416ecd1bf60b2f5dfac4a13faf4ce1dc4d266fd7
603
py
Python
ebl/tests/transliteration/test_atf.py
ElectronicBabylonianLiterature/dictionary
5977a57314cf57f94f75cd12520f178b1d6a6555
[ "MIT" ]
4
2020-04-12T14:24:51.000Z
2020-10-15T15:48:15.000Z
ebl/tests/transliteration/test_atf.py
ElectronicBabylonianLiterature/dictionary
5977a57314cf57f94f75cd12520f178b1d6a6555
[ "MIT" ]
200
2019-12-04T09:53:20.000Z
2022-03-30T20:11:31.000Z
ebl/tests/transliteration/test_atf.py
ElectronicBabylonianLiterature/dictionary
5977a57314cf57f94f75cd12520f178b1d6a6555
[ "MIT" ]
1
2021-09-06T16:22:39.000Z
2021-09-06T16:22:39.000Z
import pytest from ebl.transliteration.domain.atf import to_sub_index, sub_index_to_int SUB_INDICES = [ (None, "ₓ"), (1, ""), (2, "₂"), (3, "₃"), (4, "₄"), (5, "₅"), (6, "₆"), (7, "₇"), (8, "₈"), (9, "₉"), (0, "₀"), (1024, "₁₀₂₄"), ] @pytest.mark.parametrize("number,e...
20.793103
73
0.60199
87
603
3.908046
0.367816
0.211765
0.088235
0.114706
0.358824
0.170588
0.170588
0
0
0
0
0.059671
0.19403
603
28
74
21.535714
0.639918
0
0
0
0
0
0.08126
0
0
0
0
0
0.090909
1
0.090909
false
0
0.090909
0
0.181818
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
416fdbf082852439f1fed8fca80d233764759242
1,381
py
Python
regcore/migrations/0015_auto_20210429_1708.py
cgodwin1/regulations-core
1afad359f33655946d93da069bf58bb12ec4805e
[ "CC0-1.0" ]
1
2021-04-14T06:08:10.000Z
2021-04-14T06:08:10.000Z
regcore/migrations/0015_auto_20210429_1708.py
cgodwin1/regulations-core
1afad359f33655946d93da069bf58bb12ec4805e
[ "CC0-1.0" ]
2
2021-02-16T18:23:56.000Z
2021-04-26T14:27:17.000Z
regcore/migrations/0015_auto_20210429_1708.py
cgodwin1/regulations-core
1afad359f33655946d93da069bf58bb12ec4805e
[ "CC0-1.0" ]
2
2020-12-07T16:46:30.000Z
2021-02-23T14:28:35.000Z
# Generated by Django 3.2 on 2021-04-29 17:08 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('regcore', '0014_auto_20160504_0101'), ] operations = [ migrations.AlterField( model_name='document', name='level', ...
31.386364
114
0.534395
117
1,381
6.188034
0.538462
0.082873
0.103591
0.120166
0.435083
0.366022
0.234807
0.234807
0.234807
0.234807
0
0.034632
0.33092
1,381
43
115
32.116279
0.748918
0.031137
0
0.351351
1
0
0.107784
0.017216
0
0
0
0
0
1
0
false
0
0.027027
0
0.108108
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
417ee4d8de3b41665d6dba7dbc8fa1ba85341638
1,903
py
Python
resource/v2.py
NuenoB/TheTeleop
57e3f745d391743fac408fb44bf20ffad945aa19
[ "BSD-3-Clause" ]
null
null
null
resource/v2.py
NuenoB/TheTeleop
57e3f745d391743fac408fb44bf20ffad945aa19
[ "BSD-3-Clause" ]
null
null
null
resource/v2.py
NuenoB/TheTeleop
57e3f745d391743fac408fb44bf20ffad945aa19
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'AddBag.ui' # # Created: Mon Nov 30 10:24:59 2015 # by: PyQt4 UI code generator 4.10.4 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui try: _fromUtf8 = QtCore.QString.fromUtf8 except Attribu...
36.596154
79
0.687861
224
1,903
5.75
0.397321
0.086957
0.062112
0.086957
0.212733
0.127329
0.127329
0.127329
0.127329
0.127329
0
0.05
0.190751
1,903
51
80
37.313725
0.786364
0.110878
0
0.166667
1
0
0.051693
0
0
0
0
0
0
1
0.138889
false
0
0.027778
0.083333
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
418199c796f2780deea7cf4549a397f4a304c2c1
3,299
py
Python
bookqlub_api/tests/test_user_schema.py
danifujii/bookqlub
c6543df63ccc4f403a86121224b26b12d587553b
[ "MIT" ]
null
null
null
bookqlub_api/tests/test_user_schema.py
danifujii/bookqlub
c6543df63ccc4f403a86121224b26b12d587553b
[ "MIT" ]
26
2020-06-27T19:16:13.000Z
2022-02-27T05:48:21.000Z
bookqlub_api/tests/test_user_schema.py
danifujii/bookqlub
c6543df63ccc4f403a86121224b26b12d587553b
[ "MIT" ]
null
null
null
import bcrypt import jwt from bookqlub_api import utils from bookqlub_api.schema import models from tests import base_test class TestUserSchema(base_test.BaseTestSchema): mutation = """ mutation CreateUser($full_name: String!, $username: String!, $pass: String!) { createUser(fullName: $full...
36.252747
92
0.61746
354
3,299
5.638418
0.251412
0.038577
0.063126
0.066132
0.471944
0.410822
0.360721
0.333166
0.287074
0.287074
0
0.004376
0.237951
3,299
90
93
36.655556
0.789578
0.037587
0
0.289855
0
0
0.260801
0.006938
0
0
0
0
0.15942
1
0.086957
false
0.231884
0.072464
0
0.231884
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
41846f748394eaaab9d178f6abb98d1845018fdd
395
py
Python
app/core/migrations/0003_auto_20201129_1357.py
bondeveloper/maischool
16bf2afe99d26caa067b7912e88839639cf2191e
[ "MIT" ]
null
null
null
app/core/migrations/0003_auto_20201129_1357.py
bondeveloper/maischool
16bf2afe99d26caa067b7912e88839639cf2191e
[ "MIT" ]
null
null
null
app/core/migrations/0003_auto_20201129_1357.py
bondeveloper/maischool
16bf2afe99d26caa067b7912e88839639cf2191e
[ "MIT" ]
null
null
null
# Generated by Django 3.1.3 on 2020-11-29 13:57 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0002_auto_20201129_1325'), ] operations = [ migrations.AlterField( model_name='attachment', name='file', ...
20.789474
60
0.602532
42
395
5.547619
0.833333
0
0
0
0
0
0
0
0
0
0
0.109155
0.281013
395
18
61
21.944444
0.711268
0.113924
0
0
1
0
0.149425
0.066092
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
41850d2f20a25e9d6a0751208d08a9bcdd244bde
3,429
py
Python
knowledge/migrations/0001_initial.py
darth-dodo/hustlers-den
74c375da1b82c6ad4d4f2b763bc8e47a3f73417d
[ "MIT" ]
3
2019-07-27T08:42:27.000Z
2020-04-02T14:26:35.000Z
knowledge/migrations/0001_initial.py
darth-dodo/hustlers-den
74c375da1b82c6ad4d4f2b763bc8e47a3f73417d
[ "MIT" ]
34
2019-08-14T19:05:56.000Z
2022-02-10T10:54:45.000Z
knowledge/migrations/0001_initial.py
darth-dodo/hustlers-den
74c375da1b82c6ad4d4f2b763bc8e47a3f73417d
[ "MIT" ]
null
null
null
# Generated by Django 2.0.6 on 2018-06-10 06:46 import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name="Category", fields=[ ...
36.870968
83
0.449694
257
3,429
5.817121
0.29572
0.032107
0.084281
0.100334
0.616054
0.616054
0.567893
0.459532
0.459532
0.459532
0
0.016087
0.438029
3,429
92
84
37.271739
0.75973
0.013123
0
0.658824
1
0
0.114134
0.007096
0
0
0
0
0
1
0
false
0
0.023529
0
0.070588
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
41894b431af0af154e50d2e462dae772eb97b482
1,349
py
Python
Programs/day_12.py
Yunram/python_training
be3fbab05511716757ecdacef827a16329a85e90
[ "Apache-2.0" ]
null
null
null
Programs/day_12.py
Yunram/python_training
be3fbab05511716757ecdacef827a16329a85e90
[ "Apache-2.0" ]
null
null
null
Programs/day_12.py
Yunram/python_training
be3fbab05511716757ecdacef827a16329a85e90
[ "Apache-2.0" ]
null
null
null
import random def generate_number(): return random.randint(1, 101) def user_number(): return int(input("Make a guess: ")) def compare(random_number, user_guess): if random_number == user_guess: return "Wow, you win." elif random_number > user_guess: return f"{user_guess} is Too Low" ...
29.326087
77
0.630096
185
1,349
4.405405
0.324324
0.110429
0.117791
0.154601
0.381595
0.320245
0.206135
0.112883
0.112883
0.112883
0
0.016495
0.280949
1,349
45
78
29.977778
0.823711
0
0
0.111111
1
0
0.271715
0
0
0
0
0
0
1
0.111111
false
0
0.027778
0.055556
0.277778
0.194444
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
418c971816ed357865734aae67a50b1c996358f8
592
py
Python
tests/test_planning_graph_planner.py
debbynirwan/planning-graph
2eb376fc29973e92d123adfd15640935214d3b40
[ "Apache-2.0" ]
5
2021-03-05T14:42:40.000Z
2022-02-02T20:23:33.000Z
tests/test_planning_graph_planner.py
debbynirwan/planning-graph
2eb376fc29973e92d123adfd15640935214d3b40
[ "Apache-2.0" ]
null
null
null
tests/test_planning_graph_planner.py
debbynirwan/planning-graph
2eb376fc29973e92d123adfd15640935214d3b40
[ "Apache-2.0" ]
2
2021-08-23T12:21:48.000Z
2021-12-27T16:27:44.000Z
from planning_graph.planning_graph_planner import GraphPlanner from planning_graph.planning_graph import PlanningGraph class TestGraphPlanner: def test_plan(self): planning_graph = PlanningGraph( 'domain/dock-worker-robot-domain.pddl', 'domain/dock-worker-robot-problem.pddl') ...
32.888889
62
0.711149
71
592
5.690141
0.492958
0.225248
0.133663
0.123762
0.148515
0
0
0
0
0
0
0.008584
0.212838
592
17
63
34.823529
0.858369
0
0
0
0
0
0.123311
0.123311
0
0
0
0
0.153846
1
0.076923
false
0
0.153846
0
0.307692
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
41937960edb49006b8dce4b16d90c212ae69d8f7
672
py
Python
tests/wasp1/AllAnswerSets/choice_28.test.py
bernardocuteri/wasp
05c8f961776dbdbf7afbf905ee00fc262eba51ad
[ "Apache-2.0" ]
19
2015-12-03T08:53:45.000Z
2022-03-31T02:09:43.000Z
tests/wasp1/AllAnswerSets/choice_28.test.py
bernardocuteri/wasp
05c8f961776dbdbf7afbf905ee00fc262eba51ad
[ "Apache-2.0" ]
80
2017-11-25T07:57:32.000Z
2018-06-10T19:03:30.000Z
tests/wasp1/AllAnswerSets/choice_28.test.py
bernardocuteri/wasp
05c8f961776dbdbf7afbf905ee00fc262eba51ad
[ "Apache-2.0" ]
6
2015-01-15T07:51:48.000Z
2020-06-18T14:47:48.000Z
input = """ % Similar to choice.12. % Triggers a bug if we have positive possibly true atoms and no final % totalised satisfied check for rules and constraints (nor anything % equivalent). % Using positive PTs, a, b and c are never PTs. c :- a,b. a :- c, not b. b :- c, not a. % Both d and e are positive PTs. % If we...
24
75
0.64881
128
672
3.40625
0.46875
0.018349
0.022936
0.036697
0
0
0
0
0
0
0
0.003781
0.212798
672
27
76
24.888889
0.820416
0
0
0.095238
0
0.047619
0.952381
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
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
41938ce4b42c56cae2f2acd965aaf210dc6bfc5f
415
py
Python
origins/migrations/0055_alter_activenomen_options.py
dennereed/paleocore
d6da6c39cde96050ee4b9e7213ec1200530cbeee
[ "MIT" ]
1
2021-02-05T19:50:13.000Z
2021-02-05T19:50:13.000Z
origins/migrations/0055_alter_activenomen_options.py
dennereed/paleocore
d6da6c39cde96050ee4b9e7213ec1200530cbeee
[ "MIT" ]
59
2020-06-17T22:21:51.000Z
2022-02-10T05:00:01.000Z
origins/migrations/0055_alter_activenomen_options.py
dennereed/paleocore
d6da6c39cde96050ee4b9e7213ec1200530cbeee
[ "MIT" ]
2
2020-07-01T14:11:09.000Z
2020-08-10T17:27:26.000Z
# Generated by Django 3.2.5 on 2021-07-29 21:01 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('origins', '0054_activenomen'), ] operations = [ migrations.AlterModelOptions( name='activenomen', options={'ordering': ['nam...
23.055556
115
0.614458
42
415
5.97619
0.785714
0.087649
0
0
0
0
0
0
0
0
0
0.061093
0.250602
415
17
116
24.411765
0.745981
0.108434
0
0
1
0
0.277174
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
41a206702b125bc76a8512deb0a07371c7d2b9ff
1,922
py
Python
tools/create_transaction_volumes_csv.py
alphagov/backdrop-transactions-explorer-collector
60aeac8ddaebf46d24e662d907ffa6bdc9d2dfe7
[ "MIT" ]
null
null
null
tools/create_transaction_volumes_csv.py
alphagov/backdrop-transactions-explorer-collector
60aeac8ddaebf46d24e662d907ffa6bdc9d2dfe7
[ "MIT" ]
2
2015-07-22T11:15:08.000Z
2015-07-22T12:10:52.000Z
tools/create_transaction_volumes_csv.py
alphagov/backdrop-transactions-explorer-collector
60aeac8ddaebf46d24e662d907ffa6bdc9d2dfe7
[ "MIT" ]
2
2019-08-29T11:35:44.000Z
2021-04-10T19:42:13.000Z
#!/usr/bin/env python import argparse import csv import os import sys from distutils import dir_util import unicodecsv # from lib.filters import digest from helper import create_parser from helper import create_directory from helper import map_services_to_csv_data from service import Service path_prefix = '/' asset...
28.686567
79
0.663371
236
1,922
5.220339
0.360169
0.036526
0.068994
0.046266
0.147727
0
0
0
0
0
0
0.000683
0.238293
1,922
66
80
29.121212
0.840847
0.026535
0
0
0
0
0.196362
0.027287
0
0
0
0
0
0
null
null
0
0.212766
null
null
0.021277
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
41a45c2a64fe8ee34481934f5986ff7aa8e03131
6,886
py
Python
bentoctl_aws_ec2/ec2/ec2_cloudformation_template.py
jjmachan/aws-ec2-deploy
e8a20816a84656502d9c6eb03e944e739efa0c1f
[ "Apache-2.0" ]
5
2021-06-22T10:21:00.000Z
2021-08-16T12:57:35.000Z
ec2/ec2_cloudformation_template.py
bentoml/aws-ec2-deploy
6d453fd1afbdb07a080d9d38dcc89f9f6768603a
[ "Apache-2.0" ]
15
2021-08-05T10:29:56.000Z
2022-03-04T01:35:47.000Z
bentoctl_aws_ec2/ec2/ec2_cloudformation_template.py
jjmachan/aws-ec2-deploy
e8a20816a84656502d9c6eb03e944e739efa0c1f
[ "Apache-2.0" ]
5
2021-06-22T14:39:48.000Z
2022-03-25T09:19:03.000Z
EC2_CLOUDFORMATION_TEMPLATE = """\ AWSTemplateFormatVersion: 2010-09-09 Transform: AWS::Serverless-2016-10-31 Description: BentoML load balanced template Parameters: AmazonLinux2LatestAmiId: Type: AWS::SSM::Parameter::Value<AWS::EC2::Image::Id> Default: {ami_id} Resources: SecurityGroupResource:...
31.587156
78
0.523671
479
6,886
7.463466
0.39666
0.037203
0.033566
0.008951
0.187692
0.158881
0.158881
0.158881
0.158881
0.113566
0
0.032139
0.408074
6,886
217
79
31.732719
0.844946
0
0
0.376884
0
0
0.994627
0.189951
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
41b0f6b2f2c3b8ff76594cc3ca1e5683847bdfa3
3,324
py
Python
venv/Lib/site-packages/tests/unit/driver/test_base_generic_driver.py
melihteke/ebook_study
4848ea42e37ee1d6ec777bfc33f49984653ace34
[ "MIT" ]
null
null
null
venv/Lib/site-packages/tests/unit/driver/test_base_generic_driver.py
melihteke/ebook_study
4848ea42e37ee1d6ec777bfc33f49984653ace34
[ "MIT" ]
null
null
null
venv/Lib/site-packages/tests/unit/driver/test_base_generic_driver.py
melihteke/ebook_study
4848ea42e37ee1d6ec777bfc33f49984653ace34
[ "MIT" ]
null
null
null
from pathlib import Path import pytest import scrapli from scrapli.response import MultiResponse, Response TEST_DATA_DIR = f"{Path(scrapli.__file__).parents[1]}/tests/test_data/" def test_pre_send_command_exception(sync_cisco_iosxe_conn): with pytest.raises(TypeError) as exc: sync_cisco_iosxe_conn._pre...
36.933333
139
0.737365
440
3,324
5.181818
0.220455
0.090789
0.141228
0.181579
0.624561
0.524123
0.476754
0.435088
0.413596
0.413596
0
0.003983
0.169073
3,324
89
140
37.348315
0.821506
0.016245
0
0.318841
0
0.028986
0.187883
0.033966
0
0
0
0
0.26087
1
0.115942
false
0
0.057971
0
0.173913
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
41b2fdd3fcfe0d572fb266442a0cede294698396
1,157
py
Python
pacote-download/Ex115a.py
nkonai/Curso-em-video-Python
c05a60b3daa7d448e1e7f0d4d23f62df5d2c8df2
[ "MIT" ]
null
null
null
pacote-download/Ex115a.py
nkonai/Curso-em-video-Python
c05a60b3daa7d448e1e7f0d4d23f62df5d2c8df2
[ "MIT" ]
null
null
null
pacote-download/Ex115a.py
nkonai/Curso-em-video-Python
c05a60b3daa7d448e1e7f0d4d23f62df5d2c8df2
[ "MIT" ]
null
null
null
print('-'*30) print('MENU PRINCIPAL'.center(30)) print('-'*30) print('\033[1;33m1\033[m - \033[1;34mVer pessoas cadastradas\033[m') print('\033[1;33m2\033[m - \033[1;34mCadastrar nova pessoa\033[m') print('\033[1;33m3\033[m - \033[1;34mSair do sistema\033[m') print('-'*30) def leiaopcao(msg): while True: ...
31.27027
68
0.475367
139
1,157
3.956835
0.366906
0.114545
0.109091
0.109091
0.047273
0
0
0
0
0
0
0.14479
0.361279
1,157
36
69
32.138889
0.599459
0
0
0.393939
0
0.090909
0.292388
0
0
0
0
0
0
1
0.030303
false
0
0
0
0.060606
0.545455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
41c6f084ce0e27af11e57d81c680c580e271abf4
3,899
py
Python
data/feature_extraction.py
mlcruw/covid-news-analyzer
76c6a906de20633ff0e325f1ebe669c1e0eac325
[ "MIT" ]
8
2020-04-11T23:13:58.000Z
2021-05-06T02:39:45.000Z
data/feature_extraction.py
mlcruw/covid-news-analyzer
76c6a906de20633ff0e325f1ebe669c1e0eac325
[ "MIT" ]
null
null
null
data/feature_extraction.py
mlcruw/covid-news-analyzer
76c6a906de20633ff0e325f1ebe669c1e0eac325
[ "MIT" ]
1
2020-05-26T01:56:24.000Z
2020-05-26T01:56:24.000Z
import gensim from gensim.models import Word2Vec from sklearn.feature_extraction.text import CountVectorizer, TfidfVectorizer import numpy as np class FeatureExtractor: """ Description =========== Tranforms text to features """ def __init__(self, X_train, X_val, feat='none'): feat...
41.042105
161
0.588356
522
3,899
4.149425
0.216475
0.074792
0.037396
0.032318
0.475531
0.434441
0.419668
0.388735
0.333333
0.313019
0
0.012681
0.292126
3,899
94
162
41.478723
0.772101
0.22929
0
0.245283
0
0
0.031967
0
0
0
0
0.010638
0
1
0.09434
false
0
0.075472
0
0.264151
0.056604
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
41c855c0455a1e213ee8f4c1aed1a04581517581
16,416
py
Python
bundestagger/bundestag/models.py
stefanw/Bundestagger
14787cf18622d0330a94696981bd28eaa8ba0f3a
[ "MIT" ]
3
2018-03-27T10:29:31.000Z
2021-02-28T21:35:27.000Z
bundestagger/bundestag/models.py
stefanw/Bundestagger
14787cf18622d0330a94696981bd28eaa8ba0f3a
[ "MIT" ]
null
null
null
bundestagger/bundestag/models.py
stefanw/Bundestagger
14787cf18622d0330a94696981bd28eaa8ba0f3a
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import datetime from difflib import SequenceMatcher import re from django.db import models from django.db.models import Q from django.conf import settings from django.core.urlresolvers import reverse from django.conf import settings import django.dispatch from django.template.defaultfilters imp...
36.15859
249
0.596308
1,978
16,416
4.812942
0.159252
0.033088
0.019118
0.02521
0.342332
0.292122
0.213445
0.160609
0.134139
0.082668
0
0.008856
0.2846
16,416
454
250
36.15859
0.801771
0.010904
0
0.223757
0
0.008287
0.079098
0.010349
0
0
0
0
0
0
null
null
0.002762
0.033149
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
41c945a668d50c919e3c2f44477e14432d43dec2
1,292
py
Python
appengine/swarming/test_env.py
stefb965/luci-py
e0a8a5640c4104e5c90781d833168aa8a8d1f24d
[ "Apache-2.0" ]
1
2017-10-30T15:08:10.000Z
2017-10-30T15:08:10.000Z
appengine/swarming/test_env.py
stefb965/luci-py
e0a8a5640c4104e5c90781d833168aa8a8d1f24d
[ "Apache-2.0" ]
1
2022-03-02T11:45:18.000Z
2022-03-02T11:45:18.000Z
appengine/swarming/test_env.py
stefb965/luci-py
e0a8a5640c4104e5c90781d833168aa8a8d1f24d
[ "Apache-2.0" ]
1
2021-07-23T15:32:55.000Z
2021-07-23T15:32:55.000Z
# Copyright 2013 The LUCI Authors. All rights reserved. # Use of this source code is governed under the Apache License, Version 2.0 # that can be found in the LICENSE file. import os import sys # swarming/ APP_DIR = os.path.dirname(os.path.realpath(os.path.abspath(__file__))) def init_symlinks(root): """Adds supp...
28.711111
76
0.681889
204
1,292
4.230392
0.495098
0.062572
0.034762
0.048667
0.04635
0.04635
0
0
0
0
0
0.010763
0.208978
1,292
44
77
29.363636
0.833659
0.412539
0
0.086957
0
0
0.039456
0
0
0
0
0.022727
0
1
0.086957
false
0
0.130435
0
0.26087
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
68b8e7dbe442c7b6fd61ce801dacded91cd54f52
1,057
py
Python
tests/runtests.py
joshuagl/in-toto
9fb038fd7f3521df4ba358180de1e2bd2b8d2430
[ "Apache-2.0" ]
1
2020-02-02T23:29:15.000Z
2020-02-02T23:29:15.000Z
tests/runtests.py
MikailSeremet/in-toto
2052ba55c5351c690ee66807ca332deee44cf1cf
[ "Apache-2.0" ]
null
null
null
tests/runtests.py
MikailSeremet/in-toto
2052ba55c5351c690ee66807ca332deee44cf1cf
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python """ <Program Name> runtests.py <Author> Santiago Torres <santiago@nyu.edu> Lukas Puehringer <lukas.puehringer@nyu.edu> <Started> May 23, 2016 <Copyright> See LICENSE for licensing information. <Purpose> Script to search, load and run in-toto tests using the Python `unittest` fram...
21.14
74
0.69631
143
1,057
5.062937
0.664336
0.033149
0.04558
0
0
0
0
0
0
0
0
0.01397
0.187323
1,057
49
75
21.571429
0.828871
0.471145
0
0
0
0
0.081784
0
0
0
0
0
0
1
0.055556
false
0.055556
0.222222
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
68b95b6093337df79dd5bbb71ce078550e408fb4
709
py
Python
internet_SpeedTest/main.py
Mark-Kinyua/python_public
25c4eff3a6f93c35a949f94a2f9c3df3202a3113
[ "MIT" ]
null
null
null
internet_SpeedTest/main.py
Mark-Kinyua/python_public
25c4eff3a6f93c35a949f94a2f9c3df3202a3113
[ "MIT" ]
null
null
null
internet_SpeedTest/main.py
Mark-Kinyua/python_public
25c4eff3a6f93c35a949f94a2f9c3df3202a3113
[ "MIT" ]
null
null
null
import speedtest # Lets test Zuku. # Its getting frustrating now.... test = speedtest.Speedtest() print("Loading server list...") test.get_servers() # Get list of servers print("Getting best server...") best = test.get_best_server() print(f"Found: {best['host']} located in : {best['country']}") print("Performing ...
25.321429
90
0.712271
101
709
4.910891
0.405941
0.048387
0.056452
0.064516
0.076613
0.076613
0
0
0
0
0
0.030695
0.126939
709
27
91
26.259259
0.770598
0.156559
0
0
0
0
0.496622
0
0
0
0
0
0
1
0
false
0
0.0625
0
0.0625
0.5625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
68bb1ca8c41ec71774a259dc4b023dd208cc1eb5
5,208
py
Python
timemarker/timer.py
davidr/python-timemarker
16fc4d4f9d6b534b94005169c977ed143f4f9dc5
[ "MIT" ]
null
null
null
timemarker/timer.py
davidr/python-timemarker
16fc4d4f9d6b534b94005169c977ed143f4f9dc5
[ "MIT" ]
1
2017-10-31T03:54:26.000Z
2017-11-01T03:01:43.000Z
timemarker/timer.py
davidr/python-timemarker
16fc4d4f9d6b534b94005169c977ed143f4f9dc5
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import logging from operator import itemgetter from typing import List, Tuple, Callable, Dict # TODO(davidr) is it faster to do this here or to save the function as an attribute of the # class instance? from timeit import default_timer from collections import defaultdict _logger = logging.ge...
31.756098
100
0.594278
652
5,208
4.516871
0.29908
0.029881
0.020374
0.014261
0.089643
0.065874
0
0
0
0
0
0.005027
0.312404
5,208
163
101
31.95092
0.817369
0.251152
0
0
0
0
0.103822
0
0
0
0
0.01227
0
1
0.082353
false
0
0.058824
0.011765
0.223529
0.023529
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
68bc0a2004e16535e83b92fe67c14274b4673fe7
353
py
Python
service/config.py
ssunqf/mana
eff753f83b2129e3537dc3cee3952cb61f55fea0
[ "BSD-3-Clause" ]
null
null
null
service/config.py
ssunqf/mana
eff753f83b2129e3537dc3cee3952cb61f55fea0
[ "BSD-3-Clause" ]
null
null
null
service/config.py
ssunqf/mana
eff753f83b2129e3537dc3cee3952cb61f55fea0
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3.6 # -*- coding: utf-8 -*- import os from datetime import timedelta basedir = os.path.abspath(os.path.dirname(__file__)) class Config(object): SECRET_KEY = 'private key' SEND_FILE_MAX_AGE_DEFAULT = timedelta(hours=1) CACHE_TYPE = 'redis' CACHE_DEFAULT_TIMEOUT = 240 * 60 * 60 ...
22.0625
52
0.70255
50
353
4.68
0.76
0.051282
0
0
0
0
0
0
0
0
0
0.037801
0.175637
353
16
53
22.0625
0.766323
0.127479
0
0
0
0
0.081433
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.888889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
68c4c2351edd365a050e5485ec101ebf7af1067c
3,214
py
Python
model/baa99_basemodel.py
USC3DLAB/learning-based-optimization
2f1563462de7920f6ba2624987ae1f419e05591e
[ "Apache-2.0" ]
null
null
null
model/baa99_basemodel.py
USC3DLAB/learning-based-optimization
2f1563462de7920f6ba2624987ae1f419e05591e
[ "Apache-2.0" ]
null
null
null
model/baa99_basemodel.py
USC3DLAB/learning-based-optimization
2f1563462de7920f6ba2624987ae1f419e05591e
[ "Apache-2.0" ]
4
2019-04-05T00:06:14.000Z
2021-04-29T03:32:47.000Z
# ___________________________________________________________________________ # # Pyomo: Python Optimization Modeling Objects # Copyright 2017 National Technology and Engineering Solutions of Sandia, LLC # Under the terms of Contract DE-NA0003525 with National Technology and # Engineering Solutions of Sandia, LLC...
26.783333
84
0.698195
412
3,214
5.063107
0.56068
0.030201
0.083893
0.08629
0.049856
0.049856
0.049856
0.049856
0
0
0
0.227273
0.199129
3,214
119
85
27.008403
0.583139
0.34692
0
0.026667
0
0
0
0
0
0
0
0
0
1
0
false
0
0.013333
0
0.013333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
68c9c5b05677eeb8639ae06e7dceaa64258bc6fc
645
py
Python
database/tables/transaction.py
gyani91/data-engineering
cdf389b42c8b715e5d8db8ac2feaf42919a8668b
[ "MIT" ]
null
null
null
database/tables/transaction.py
gyani91/data-engineering
cdf389b42c8b715e5d8db8ac2feaf42919a8668b
[ "MIT" ]
null
null
null
database/tables/transaction.py
gyani91/data-engineering
cdf389b42c8b715e5d8db8ac2feaf42919a8668b
[ "MIT" ]
null
null
null
from sqlalchemy import Column, Integer, String, Date from run import db class Transaction(db.Model): __tablename__ = "transaction" id = Column(Integer, primary_key=True, autoincrement=True) itemid = Column(String) locationid = Column(String) transactiondate = Column(Date) transferquantity = Co...
30.714286
78
0.708527
64
645
6.9375
0.4375
0.087838
0
0
0
0
0
0
0
0
0
0
0.207752
645
20
79
32.25
0.868885
0
0
0
0
0
0.04186
0
0
0
0
0
0
1
0.125
false
0
0.125
0.0625
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
68d613cc70f67605e1ded6567d3363c8e7b337d4
501
py
Python
Python for zombies/Rest 0.py
ElptsJunior/Python
7347b38947b439afa392764aafe0a55f808530dd
[ "MIT" ]
null
null
null
Python for zombies/Rest 0.py
ElptsJunior/Python
7347b38947b439afa392764aafe0a55f808530dd
[ "MIT" ]
null
null
null
Python for zombies/Rest 0.py
ElptsJunior/Python
7347b38947b439afa392764aafe0a55f808530dd
[ "MIT" ]
null
null
null
'''start = 0 end = int ( input(' insert an value for conting')) # criando uma variavel indice que recebe o valor inteiro digitado# while start <= end : if end % 2 == 0: print (start) start = start +1 print('this number is par') else: print('this number is impar') ''' start = 0 end = int ...
20.04
66
0.616766
71
501
4.352113
0.450704
0.12945
0.058252
0.07767
0.692557
0.692557
0.692557
0.692557
0.692557
0.692557
0
0.016575
0.277445
501
24
67
20.875
0.837017
0.712575
0
0
0
0
0.207407
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
0
0
0
null
0
0
0
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
1
68d73f2fd34917de7803f28010db6b89758be818
443
py
Python
scripts/check_internet_con.py
prathimacode-hub/python-scripts-bible
7643f6324c9f771f573f254289d912d812fe2494
[ "MIT" ]
null
null
null
scripts/check_internet_con.py
prathimacode-hub/python-scripts-bible
7643f6324c9f771f573f254289d912d812fe2494
[ "MIT" ]
null
null
null
scripts/check_internet_con.py
prathimacode-hub/python-scripts-bible
7643f6324c9f771f573f254289d912d812fe2494
[ "MIT" ]
1
2021-05-14T10:18:09.000Z
2021-05-14T10:18:09.000Z
# Filename : check_internet_con.py # Author : Abhijit Kumar # Created : 29 Dec 2017 # Description : Just checks internet connection is works or not. #!/usr/bin/python3 import urllib2 def checkInternetConnectivity(): try: urllib2.urlopen("http://google.com", timeout=2) print("Working con...
21.095238
66
0.68623
51
443
5.921569
0.843137
0
0
0
0
0
0
0
0
0
0
0.031429
0.209932
443
20
67
22.15
0.831429
0.374718
0
0
0
0
0.199262
0
0
0
0
0
0
1
0.125
true
0
0.125
0
0.25
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
68d811e1eb8d333e27beb3d574db367c7c6dade8
326
py
Python
backend/src/baserow/contrib/database/api/fields/errors.py
OpenSourceMarketing/Baserow
5778059fde594a3b1838f7a964bc5060ab45bbad
[ "MIT" ]
null
null
null
backend/src/baserow/contrib/database/api/fields/errors.py
OpenSourceMarketing/Baserow
5778059fde594a3b1838f7a964bc5060ab45bbad
[ "MIT" ]
7
2021-03-19T12:07:13.000Z
2022-02-10T14:47:21.000Z
backend/src/baserow/contrib/database/api/fields/errors.py
OpenSourceMarketing/Baserow
5778059fde594a3b1838f7a964bc5060ab45bbad
[ "MIT" ]
null
null
null
from rest_framework.status import HTTP_404_NOT_FOUND ERROR_FIELD_DOES_NOT_EXIST = ( 'ERROR_FIELD_DOES_NOT_EXIST', HTTP_404_NOT_FOUND, 'The requested field does not exist.' ) ERROR_CANNOT_DELETE_PRIMARY_FIELD = 'ERROR_CANNOT_DELETE_PRIMARY_FIELD' ERROR_CANNOT_CHANGE_FIELD_TYPE = 'ERROR_CANNOT_CHANGE_FIELD_...
29.636364
71
0.837423
49
326
4.938776
0.408163
0.181818
0.14876
0.210744
0.706612
0.285124
0.285124
0
0
0
0
0.02069
0.110429
326
10
72
32.6
0.813793
0
0
0
0
0
0.380368
0.273006
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
68e4fa47e5e77d8c29f364b8fa74a2d2eaa11de8
476
py
Python
ex/ex113.py
Ozcry/PythonExercicio
b4d4a4fbd6467d1ced0815677ecbd78c2613c4c9
[ "MIT" ]
null
null
null
ex/ex113.py
Ozcry/PythonExercicio
b4d4a4fbd6467d1ced0815677ecbd78c2613c4c9
[ "MIT" ]
null
null
null
ex/ex113.py
Ozcry/PythonExercicio
b4d4a4fbd6467d1ced0815677ecbd78c2613c4c9
[ "MIT" ]
null
null
null
'''Reescreva a função leiaInt() que fizemos no DESAFIO 104, incluindo agora a possibilidade da digitação de um número de tipo inválido. Aproveite e crie também uma função leiaFloot() com a mesma funcionalidade.''' from utilidadesCeV import moeda, texto n1 = moeda.leiainteiro('\033[34mDigite um Inteiro:\033[m ') n2 = mo...
52.888889
120
0.754202
76
476
4.723684
0.684211
0.033426
0.050139
0
0
0
0
0
0
0
0
0.075061
0.132353
476
8
121
59.5
0.794189
0.434874
0
0
0
0.166667
0.509506
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
68e86e12af161f52f04fd90498184998e3306c7b
5,519
py
Python
dispatch/events/emitter.py
Alphadelta14/python-newdispatch
9d386ae0aa56af1bca38d9f732ff718a6642779c
[ "MIT" ]
1
2015-06-08T01:43:37.000Z
2015-06-08T01:43:37.000Z
dispatch/events/emitter.py
Alphadelta14/python-newdispatch
9d386ae0aa56af1bca38d9f732ff718a6642779c
[ "MIT" ]
null
null
null
dispatch/events/emitter.py
Alphadelta14/python-newdispatch
9d386ae0aa56af1bca38d9f732ff718a6642779c
[ "MIT" ]
null
null
null
import functools import sys from event import EventData, EventCancelled, EventDeferred class Emitter(object): def on(self, event, callback=None): """Hook to an event Parameters ---------- event : str Event to attach to callback : func(EventData) C...
29.672043
79
0.494111
542
5,519
4.95941
0.232472
0.040179
0.050595
0.057292
0.390997
0.282738
0.238095
0.191964
0.166667
0.166667
0
0.002212
0.426708
5,519
185
80
29.832432
0.847345
0.01522
0
0.4125
0
0
0.0059
0
0
0
0
0
0
0
null
null
0.025
0.0375
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
68fb355cda715a722270422ee795218d8af71a03
3,824
py
Python
seed.py
thereals0beit/aria2-batch-downloader
22503c4c4c0cf6dbe74c83de1c2932bb4753598f
[ "MIT" ]
2
2017-03-30T22:49:28.000Z
2019-05-16T07:39:31.000Z
seed.py
thereals0beit/aria2-batch-downloader
22503c4c4c0cf6dbe74c83de1c2932bb4753598f
[ "MIT" ]
null
null
null
seed.py
thereals0beit/aria2-batch-downloader
22503c4c4c0cf6dbe74c83de1c2932bb4753598f
[ "MIT" ]
5
2015-09-05T00:48:51.000Z
2020-08-19T02:32:28.000Z
#!/usr/bin/env python import sys import subprocess import urllib2 import base64 import re import os.path from bs4 import BeautifulSoup, NavigableString USERNAME = "YOUR_USERNAME" PASSWORD = "YOUR_PASSWORD" def startAndWaitForAria(chdir, url): if os.path.exists(chdir) is not True: print "Path {0} does not exist, ...
28.325926
174
0.695868
522
3,824
5.084291
0.377395
0.015825
0.015072
0.016956
0.125848
0.057272
0.057272
0.057272
0.057272
0.03165
0
0.01518
0.173117
3,824
135
175
28.325926
0.824162
0.122646
0
0.206186
0
0
0.174925
0.007463
0
0
0
0
0
0
null
null
0.030928
0.072165
null
null
0.134021
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
68fc81206a378d15958f90dac2d8f1cdad2053ed
396
py
Python
python/ql/test/query-tests/Classes/should-be-context-manager/should_be_context_manager.py
vadi2/codeql
a806a4f08696d241ab295a286999251b56a6860c
[ "MIT" ]
4,036
2020-04-29T00:09:57.000Z
2022-03-31T14:16:38.000Z
python/ql/test/query-tests/Classes/should-be-context-manager/should_be_context_manager.py
vadi2/codeql
a806a4f08696d241ab295a286999251b56a6860c
[ "MIT" ]
2,970
2020-04-28T17:24:18.000Z
2022-03-31T22:40:46.000Z
python/ql/test/query-tests/Classes/should-be-context-manager/should_be_context_manager.py
ScriptBox99/github-codeql
2ecf0d3264db8fb4904b2056964da469372a235c
[ "MIT" ]
794
2020-04-29T00:28:25.000Z
2022-03-30T08:21:46.000Z
#Should be context manager class MegaDel(object): def __del__(self): a = self.x + self.y if a: print(a) if sys._getframe().f_lineno > 100: print("Hello") sum = 0 for a in range(100): sum += a print(sum) class MiniDel(object): ...
18
42
0.494949
50
396
3.72
0.58
0.096774
0.107527
0
0
0
0
0
0
0
0
0.029167
0.393939
396
22
43
18
0.745833
0.063131
0
0.125
0
0
0.013477
0
0
0
0
0
0
1
0.1875
false
0.0625
0
0
0.3125
0.1875
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ec04ace165066b72928eb9637889dba57eabd704
498
py
Python
dumbtils/_c1.py
paaksing/dumbtils
6d19bf5daa4f87b0f732ebbbec90a7327b672da9
[ "MIT" ]
null
null
null
dumbtils/_c1.py
paaksing/dumbtils
6d19bf5daa4f87b0f732ebbbec90a7327b672da9
[ "MIT" ]
null
null
null
dumbtils/_c1.py
paaksing/dumbtils
6d19bf5daa4f87b0f732ebbbec90a7327b672da9
[ "MIT" ]
null
null
null
import sys import signal from functools import partial def handler(counters, signum, *args): print(f"C1 received signal {signum}") counters["i"] += 1 if counters["i"] == 10: sys.exit() def main(): counters = {"i": 0} if sys.platform.startswith("linux"): signal.signal(signal.SIGAL...
19.92
66
0.626506
60
498
5.066667
0.533333
0.157895
0.118421
0
0
0
0
0
0
0
0
0.013123
0.23494
498
24
67
20.75
0.784777
0
0
0
0
0
0.086345
0
0
0
0
0
0
1
0.111111
false
0.055556
0.166667
0
0.277778
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ec0bb06346d0c766db6b7559f79689b68488b806
523
py
Python
utils/redis.py
lq411122/fast-methods
0bca39c37abc4c9dac9a194e635641848c128b1b
[ "MIT" ]
null
null
null
utils/redis.py
lq411122/fast-methods
0bca39c37abc4c9dac9a194e635641848c128b1b
[ "MIT" ]
null
null
null
utils/redis.py
lq411122/fast-methods
0bca39c37abc4c9dac9a194e635641848c128b1b
[ "MIT" ]
null
null
null
import redis REDIS_CACHE = { "host": '192.168.196.129', "port": '6379', "db": 0, "password": '' } class RedisClient(redis.StrictRedis): """ Singleton pattern """ _instance = {} def __init__(self, server): redis.StrictRedis.__init__(self, **server) def __new__(cls, *...
17.433333
75
0.596558
59
523
4.915254
0.542373
0.072414
0.096552
0.124138
0
0
0
0
0
0
0
0.043367
0.250478
523
29
76
18.034483
0.696429
0.032505
0
0
0
0
0.07582
0
0
0
0
0
0
1
0.125
false
0.0625
0.0625
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ec0c6262fe29bd601bf3b54997ca27eee3386b1b
1,785
py
Python
dissertation/code/mouse-data/DecodeMouseData.py
spanners/dissertation
e7f0cbf681d2341ecb2e00d40557e4e34f8b7209
[ "MIT" ]
2
2015-09-09T16:53:46.000Z
2019-04-03T01:19:48.000Z
dissertation/code/mouse-data/DecodeMouseData.py
spanners/dissertation
e7f0cbf681d2341ecb2e00d40557e4e34f8b7209
[ "MIT" ]
null
null
null
dissertation/code/mouse-data/DecodeMouseData.py
spanners/dissertation
e7f0cbf681d2341ecb2e00d40557e4e34f8b7209
[ "MIT" ]
null
null
null
#!/usr/bin/python2.7 import json import sys class DecodeMouseData(object): def decode(self, jsonString): return json.loads(jsonString) def getNumberOfClicks(self, jsonString): return len(self.decode(jsonString)) def getSessionDuration(self, jsonString): decoded = self.decode(jso...
31.315789
75
0.60056
177
1,785
6.011299
0.39548
0.078947
0.037594
0.011278
0.099624
0.039474
0.039474
0
0
0
0
0.017228
0.284594
1,785
56
76
31.875
0.815975
0.042577
0
0.046512
0
0
0.03222
0
0.023256
0
0
0
0
0
null
null
0
0.046512
null
null
0.069767
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ec109640aff1646df46aa0a6708a27349d22a4e5
1,731
py
Python
tests/test_2_cnv_annotation.py
jakob-he/TADA
8db4e0af19b4a32c7071c175a21bbafe3b02cb31
[ "MIT" ]
3
2021-12-24T18:40:14.000Z
2022-03-05T22:22:38.000Z
tests/test_2_cnv_annotation.py
jakob-he/TADA
8db4e0af19b4a32c7071c175a21bbafe3b02cb31
[ "MIT" ]
1
2020-11-30T09:49:08.000Z
2021-05-14T12:28:04.000Z
tests/test_2_cnv_annotation.py
jakob-he/TADA
8db4e0af19b4a32c7071c175a21bbafe3b02cb31
[ "MIT" ]
2
2021-12-07T17:25:55.000Z
2021-12-24T18:40:16.000Z
"""Test the annotation of CNVs""" import io import sys import unittest import pickle import pathlib import yaml import tadacnv.lib.utils as utils import tadacnv.lib.preprocessing as preprocessing from tadacnv.annotate_cnvs import annotate class CnvAnnotationTest(unittest.TestCase): """Test class for the annota...
41.214286
292
0.697285
223
1,731
5.282511
0.44843
0.055178
0.025467
0.032258
0.134126
0.091681
0.091681
0.091681
0.091681
0.091681
0
0.00636
0.182553
1,731
41
293
42.219512
0.826148
0.058925
0
0
0
0
0.264069
0.029066
0
0
0
0
0.074074
1
0.037037
false
0
0.333333
0
0.407407
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
ec1cb933ea83bd23033b713c50c654940e1a7f32
1,771
py
Python
runtimes/alibi-explain/mlserver_alibi_explain/explainers/white_box_runtime.py
alexander-manley/MLServer
42eac4715f208f028a8920c984ab296830d90f08
[ "ECL-2.0", "Apache-2.0", "BSD-2-Clause", "BSD-3-Clause" ]
191
2020-06-16T18:07:27.000Z
2022-03-29T05:56:23.000Z
runtimes/alibi-explain/mlserver_alibi_explain/explainers/white_box_runtime.py
alexander-manley/MLServer
42eac4715f208f028a8920c984ab296830d90f08
[ "ECL-2.0", "Apache-2.0", "BSD-2-Clause", "BSD-3-Clause" ]
347
2020-08-21T02:22:04.000Z
2022-03-31T12:27:26.000Z
runtimes/alibi-explain/mlserver_alibi_explain/explainers/white_box_runtime.py
alexander-manley/MLServer
42eac4715f208f028a8920c984ab296830d90f08
[ "ECL-2.0", "Apache-2.0", "BSD-2-Clause", "BSD-3-Clause" ]
56
2020-06-22T14:29:25.000Z
2022-03-25T21:58:48.000Z
from abc import ABC from typing import Any, Type from alibi.api.interfaces import Explainer from mlserver import ModelSettings from mlserver_alibi_explain.common import AlibiExplainSettings from mlserver_alibi_explain.runtime import AlibiExplainRuntimeBase class AlibiExplainWhiteBoxRuntime(ABC, AlibiExplainRuntimeB...
37.680851
82
0.722191
208
1,771
5.918269
0.389423
0.090983
0.058489
0.038993
0.061738
0.061738
0
0
0
0
0
0
0.219085
1,771
46
83
38.5
0.890094
0.226426
0
0
0
0
0.003729
0
0
0
0
0.021739
0.038462
1
0.038462
false
0
0.230769
0
0.346154
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
ec1ec45da4dd0341da0c46ea4e27eea53aabbec2
676
py
Python
H01/Semaphore.py
scottyyf/MultiWorker
4abd361c3053140be6453d6e6e30f5c31a189e79
[ "Apache-2.0" ]
null
null
null
H01/Semaphore.py
scottyyf/MultiWorker
4abd361c3053140be6453d6e6e30f5c31a189e79
[ "Apache-2.0" ]
null
null
null
H01/Semaphore.py
scottyyf/MultiWorker
4abd361c3053140be6453d6e6e30f5c31a189e79
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ File: h03.py Author: Scott Yang(Scott) Email: yangyingfa@skybility.com Copyright: Copyright (c) 2021, Skybility Software Co.,Ltd. All rights reserved. Description: """ import threading import time semaphore = threading.Semaphore(10) def run(n): semaphore.acquire...
18.777778
79
0.640533
89
676
4.752809
0.696629
0.047281
0.094563
0
0
0
0
0
0
0
0
0.024254
0.207101
676
35
80
19.314286
0.764925
0.350592
0
0
0
0
0.097902
0
0
0
0
0
0
1
0.111111
false
0.055556
0.111111
0
0.222222
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ec22caa7cd01e65afec1f8798f9973d911f36787
3,824
py
Python
seymour/accounts/models.py
lerouxb/seymour
124a93da67b6d6757b738469673232739ff0a4dc
[ "MIT" ]
null
null
null
seymour/accounts/models.py
lerouxb/seymour
124a93da67b6d6757b738469673232739ff0a4dc
[ "MIT" ]
null
null
null
seymour/accounts/models.py
lerouxb/seymour
124a93da67b6d6757b738469673232739ff0a4dc
[ "MIT" ]
null
null
null
import datetime from django.db import models, connection from seymour.feeds.models import Feed, Item, AccountFeed class Account(models.Model): openid = models.CharField('openid', max_length=255, null=True) firstname = models.CharField('first name', max_length=100, null=True) lastname = models.CharField('l...
37.490196
131
0.613494
459
3,824
4.949891
0.313725
0.028169
0.021127
0.028169
0.139085
0.021127
0
0
0
0
0
0.006637
0.290795
3,824
101
132
37.861386
0.831121
0.080021
0
0.140845
0
0
0.127304
0.028514
0
0
0
0.009901
0
1
0.084507
false
0.15493
0.098592
0
0.450704
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ec2449d25cfbee043e9bd16a7015de541580d5ac
1,098
py
Python
examples/spring_mass/mcmc_verify/spring_mass_mcmc.py
HarshilShrivastava/SMCPy
e3c958023aab3f3143e70de5a52e3c195e536dd1
[ "NASA-1.3" ]
1
2020-02-11T22:37:43.000Z
2020-02-11T22:37:43.000Z
examples/spring_mass/mcmc_verify/spring_mass_mcmc.py
HarshilShrivastava/SMCPy
e3c958023aab3f3143e70de5a52e3c195e536dd1
[ "NASA-1.3" ]
null
null
null
examples/spring_mass/mcmc_verify/spring_mass_mcmc.py
HarshilShrivastava/SMCPy
e3c958023aab3f3143e70de5a52e3c195e536dd1
[ "NASA-1.3" ]
null
null
null
import numpy as np from smcpy.smc.smc_sampler import SMCSampler from smcpy.mcmc.mcmc_sampler import MCMCSampler import sys sys.path.append('../') from spring_mass_model import SpringMassModel # Initialize model state0 = [0., 0.] #initial conditions measure_t_grid = np.arange(0., 5., 0.2) #tim...
27.45
79
0.696721
167
1,098
4.407186
0.467066
0.054348
0.032609
0.029891
0.084239
0
0
0
0
0
0
0.038544
0.149362
1,098
39
80
28.153846
0.749465
0.100182
0
0
0
0
0.071502
0
0
0
0
0
0
0
null
null
0
0.2
null
null
0.08
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ec24678a1a7f721fdf069408e673247022f3c8a5
4,463
py
Python
dqn/AutoEncoder/simple_replay_memory.py
NoListen/ERL
6216cccd5144fc3514db890d343fd4187f275c81
[ "MIT" ]
16
2017-07-03T06:48:17.000Z
2021-09-02T04:42:04.000Z
dqn/AutoEncoder/simple_replay_memory.py
NoListen/ERL
6216cccd5144fc3514db890d343fd4187f275c81
[ "MIT" ]
1
2018-01-08T15:26:52.000Z
2018-01-08T18:37:35.000Z
dqn/AutoEncoder/simple_replay_memory.py
NoListen/ERL
6216cccd5144fc3514db890d343fd4187f275c81
[ "MIT" ]
4
2017-07-26T22:34:01.000Z
2020-04-11T15:04:02.000Z
""" This if for autoencoder not the RL-agent to learn Just Serve as one buffer """ import os import random import logging import numpy as np from dqn.utils import save_npy, load_npy # At first fill the replay buffer, then sample to learn. import numpy as np class SimpleDataSet(object): """A replay memory consis...
33.810606
99
0.588618
580
4,463
4.412069
0.284483
0.042204
0.050801
0.026573
0.125049
0.091442
0.036733
0.024228
0.024228
0.024228
0
0.013025
0.311898
4,463
131
100
34.068702
0.820254
0.332064
0
0.063492
0
0
0.018459
0
0
0
0
0.015267
0
1
0.095238
false
0
0.095238
0
0.269841
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
ec2c1d965129d29e1fe37c940c1a59e29fefae6c
3,276
py
Python
dimension_reduction_techniques/n_49300.py
benstear/vae-scRNA
5fb4d0fd38810d86bd69130b911817432cb6facc
[ "MIT" ]
null
null
null
dimension_reduction_techniques/n_49300.py
benstear/vae-scRNA
5fb4d0fd38810d86bd69130b911817432cb6facc
[ "MIT" ]
null
null
null
dimension_reduction_techniques/n_49300.py
benstear/vae-scRNA
5fb4d0fd38810d86bd69130b911817432cb6facc
[ "MIT" ]
1
2022-01-30T17:54:30.000Z
2022-01-30T17:54:30.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Oct 17 19:57:23 2018 @author: dawnstear """ from sklearn.manifold import TSNE from sklearn.decomposition import PCA import pandas as pd from matplotlib.pyplot import scatter, figure, subplot, savefig import matplotlib.pyplot as plt from sklearn.utils i...
31.2
148
0.657509
443
3,276
4.690745
0.306998
0.100577
0.043792
0.047161
0.361886
0.299326
0.299326
0.283927
0.166025
0.092878
0
0.04589
0.108669
3,276
104
149
31.5
0.665753
0.129121
0
0
0
0
0.279592
0.169388
0
0
0
0
0
1
0
false
0
0.615385
0
0.615385
0.153846
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
ec4317b372f61389880e4f9eb445952855478c5e
1,126
py
Python
app/errors/__init__.py
vnappmob/vapi
ab7e8ecdb459227084c8f1dd65e18f5d668b1c43
[ "MIT" ]
null
null
null
app/errors/__init__.py
vnappmob/vapi
ab7e8ecdb459227084c8f1dd65e18f5d668b1c43
[ "MIT" ]
null
null
null
app/errors/__init__.py
vnappmob/vapi
ab7e8ecdb459227084c8f1dd65e18f5d668b1c43
[ "MIT" ]
null
null
null
"""app/errors.py""" from flask import render_template, Blueprint, make_response, jsonify from werkzeug.http import HTTP_STATUS_CODES bp = Blueprint('errors', __name__) #pylint: disable=C def error_response(status_code, message=None): """error_response""" payload = { 'error': str(status_code)...
22.52
68
0.675844
143
1,126
5.097902
0.27972
0.124829
0.116598
0.130316
0
0
0
0
0
0
0
0.062432
0.189165
1,126
49
69
22.979592
0.736035
0.134103
0
0
0
0
0.036403
0
0
0
0
0
0
1
0.206897
false
0
0.068966
0
0.482759
0.068966
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
ec437c281a42860d829cd0668161ff24325efb64
363
py
Python
products/migrations/0003_rename_uodated_at_product_updated_at.py
flyguy21206/Price-Comparison-Group3-BE-1
7e03e1fc99892baf0da714bde1767a5e1060a714
[ "MIT" ]
null
null
null
products/migrations/0003_rename_uodated_at_product_updated_at.py
flyguy21206/Price-Comparison-Group3-BE-1
7e03e1fc99892baf0da714bde1767a5e1060a714
[ "MIT" ]
1
2021-07-26T00:06:07.000Z
2021-07-26T00:06:07.000Z
products/migrations/0003_rename_uodated_at_product_updated_at.py
flyguy21206/Price-Comparison-Group3-BE-1
7e03e1fc99892baf0da714bde1767a5e1060a714
[ "MIT" ]
null
null
null
# Generated by Django 3.2.4 on 2021-07-14 20:25 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('products', '0002_comments'), ] operations = [ migrations.RenameField( model_name='product', old_name='uodated_at', ...
19.105263
47
0.584022
39
363
5.282051
0.820513
0
0
0
0
0
0
0
0
0
0
0.075099
0.30303
363
18
48
20.166667
0.73913
0.123967
0
0
1
0
0.151899
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ec545f5cfc4fcdee419e0c7a9b54b019429904f9
6,268
py
Python
test/phase_descriptor_test.py
frankalicious/openhtf
f74740065eac9b1af96638f100b816ec773f084b
[ "Apache-2.0" ]
null
null
null
test/phase_descriptor_test.py
frankalicious/openhtf
f74740065eac9b1af96638f100b816ec773f084b
[ "Apache-2.0" ]
null
null
null
test/phase_descriptor_test.py
frankalicious/openhtf
f74740065eac9b1af96638f100b816ec773f084b
[ "Apache-2.0" ]
null
null
null
# Copyright 2016 Google Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agre...
32.989474
80
0.757339
842
6,268
5.390736
0.228029
0.062789
0.021811
0.023794
0.255343
0.192553
0.131527
0.094735
0.043181
0.02115
0
0.006307
0.139917
6,268
189
81
33.164021
0.835652
0.139598
0
0.084034
0
0
0.079881
0.025569
0
0
0
0
0.243697
1
0.201681
false
0.016807
0.05042
0.042017
0.361345
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
6b4e1b1bc987c52d6c0e7593fd09888aadeb2e7c
2,562
py
Python
apps/pet/models.py
glenjasper/cobija-web
9a623daae9fba1b423b8fd690a25139ed8d06d7c
[ "MIT" ]
null
null
null
apps/pet/models.py
glenjasper/cobija-web
9a623daae9fba1b423b8fd690a25139ed8d06d7c
[ "MIT" ]
null
null
null
apps/pet/models.py
glenjasper/cobija-web
9a623daae9fba1b423b8fd690a25139ed8d06d7c
[ "MIT" ]
null
null
null
from django.db import models from auditlog.registry import auditlog from apps.core.models import ( TypePet, PetSize, PetColor, ) from apps.partner.models import Partner class Pet(models.Model): MAN = 1 WOMAN = 2 SEX_CHOICES = ( (MAN, 'Male'), (WOMAN, 'Female'), ) name = ...
44.172414
149
0.684621
309
2,562
5.495146
0.271845
0.142521
0.079505
0.070082
0.491755
0.468198
0.432862
0.327444
0.276796
0.276796
0
0.00293
0.200625
2,562
57
150
44.947368
0.826172
0.023029
0
0.170213
0
0
0.102041
0
0
0
0
0
0
1
0.021277
false
0
0.085106
0.021277
0.659574
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
6b51ed2276c15330f34681cdb67ebc37a03da0b9
19,172
py
Python
instalation.py
hizulu/distributed-messaging-ZeroMQ-Pipeline
801fc36db4d6d6db32c8303d555173ff6b509a1d
[ "MIT" ]
null
null
null
instalation.py
hizulu/distributed-messaging-ZeroMQ-Pipeline
801fc36db4d6d6db32c8303d555173ff6b509a1d
[ "MIT" ]
null
null
null
instalation.py
hizulu/distributed-messaging-ZeroMQ-Pipeline
801fc36db4d6d6db32c8303d555173ff6b509a1d
[ "MIT" ]
null
null
null
from DatabaseConnection import DatabaseConnection import string import random class Instalation: def __init__(self, dbhost, dbname, dbusername, dbpass): self.dbName = dbname # self.dbName = env.DB_NAME self.db = DatabaseConnection( dbhost, dbusername, dbpass, dbname) def ...
38.344
223
0.566086
2,106
19,172
4.982906
0.130579
0.035639
0.027158
0.013627
0.49352
0.460644
0.38584
0.339718
0.329903
0.299314
0
0.011011
0.308366
19,172
499
224
38.420842
0.780392
0.053046
0
0.421182
0
0.029557
0.600706
0.052187
0
0
0
0
0
1
0.049261
false
0.004926
0.007389
0
0.091133
0.115764
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6b52404b34e800022dd365893740527732762f87
1,846
py
Python
board.py
Jonathantm0000/CSC_120_Tic_Tac_Toe
0cd3931356ad666069e035725eefaf7c62a5147e
[ "MIT" ]
null
null
null
board.py
Jonathantm0000/CSC_120_Tic_Tac_Toe
0cd3931356ad666069e035725eefaf7c62a5147e
[ "MIT" ]
null
null
null
board.py
Jonathantm0000/CSC_120_Tic_Tac_Toe
0cd3931356ad666069e035725eefaf7c62a5147e
[ "MIT" ]
null
null
null
rows = [['-', '-', '-'], ['-', '-', '-'], ['-', '-', '-']] turn = 'o' def printboard(): for x in range(len(rows)): print(rows[x]) def placexo(move1, move2, xoturn): if rows[move1-1][move2-1] == '-': rows[move1-1][move2-1] = xoturn else: print("that...
29.774194
58
0.514626
257
1,846
3.696498
0.210117
0.042105
0.109474
0.218947
0.623158
0.565263
0.565263
0.565263
0.287368
0.209474
0
0.051958
0.280607
1,846
61
59
30.262295
0.663404
0
0
0.36
0
0
0.169014
0
0
0
0
0
0
1
0.06
false
0
0
0
0.06
0.32
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6b53c82a899931d14d8bb93ef6af1dd5a044eb99
1,267
py
Python
Desafios/desafio033.py
VanessaCML/python
56133b9000ba89154f37038e11a3c2d1aa6d1094
[ "MIT" ]
null
null
null
Desafios/desafio033.py
VanessaCML/python
56133b9000ba89154f37038e11a3c2d1aa6d1094
[ "MIT" ]
null
null
null
Desafios/desafio033.py
VanessaCML/python
56133b9000ba89154f37038e11a3c2d1aa6d1094
[ "MIT" ]
null
null
null
'''n1 = int(input('Digite um número: ')) n2 = int(input('Digite outro: ')) n3 = int(input('Digite mais um número: ')) maior = n1 if n2 > n1 and n2 > n3: maior = n2 if n3 > n1 and n3 > n2: maior = n3 menor = n1 if n2 < n1 and n2 < 3: menor = n2 if n3 < n1 and n3 < n2: menor = n3 print(f'O maior é {maior}...
26.395833
63
0.633781
204
1,267
3.921569
0.196078
0.12
0.21
0.1125
0.6275
0.4675
0.22
0.1825
0.1825
0.1825
0
0.042146
0.176006
1,267
47
64
26.957447
0.724138
0.320442
0
0
0
0
0.420601
0
0
0
0
0
0
1
0
false
0
0
0
0
0.285714
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6b5777218307549903cb2345128d7e8e433b52f0
20,289
py
Python
opencoverage/clients/scm/gitlab.py
everfighter/opencoverage
7a01c2d11d1ad70aa41cca8c7b050af996a54b8a
[ "MIT" ]
1
2021-03-19T06:20:49.000Z
2021-03-19T06:20:49.000Z
opencoverage/clients/scm/gitlab.py
everfighter/opencoverage
7a01c2d11d1ad70aa41cca8c7b050af996a54b8a
[ "MIT" ]
null
null
null
opencoverage/clients/scm/gitlab.py
everfighter/opencoverage
7a01c2d11d1ad70aa41cca8c7b050af996a54b8a
[ "MIT" ]
null
null
null
import time from datetime import datetime, timedelta, timezone from typing import ( Any, AsyncIterator, Dict, List, Optional, cast, ) import aiohttp_client import jwt import pydantic from cryptography.hazmat.backends import default_backend from opencoverage.settings import Settings from openco...
33.315271
115
0.555818
2,153
20,289
5.067348
0.191825
0.022915
0.014299
0.010999
0.398808
0.341613
0.291201
0.262786
0.233731
0.219432
0
0.021665
0.319779
20,289
608
116
33.370066
0.768857
0
0
0.277978
0
0
0.106471
0.048554
0
0
0
0
0
0
null
null
0
0.039711
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
6b5fc469401c2f362fdf002998b116a3986b767e
708
py
Python
backend/schemas.py
gfoo/EcoPart-demo
d358df3187c442a0dacf455d49e274e2e9184a48
[ "Unlicense" ]
null
null
null
backend/schemas.py
gfoo/EcoPart-demo
d358df3187c442a0dacf455d49e274e2e9184a48
[ "Unlicense" ]
null
null
null
backend/schemas.py
gfoo/EcoPart-demo
d358df3187c442a0dacf455d49e274e2e9184a48
[ "Unlicense" ]
null
null
null
from datetime import datetime from pydantic import BaseModel class BaseObject(BaseModel): class Config: orm_mode = True class Profile(BaseObject): name: str class Ship(BaseObject): name: str class Cruise(BaseObject): name: str class IdentifiedObject(BaseObject): id: int class ...
13.111111
35
0.69774
73
708
6.726027
0.410959
0.057026
0.09776
0.13442
0
0
0
0
0
0
0
0
0.228814
708
53
36
13.358491
0.899267
0
0
0.2
0
0
0
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.9
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
6b65f49db99507614c35cf503467297c30872685
1,717
py
Python
code/generate.py
karl-joan/text2art-gan
86370667f9a62bab95968abe1990dcaa4760b333
[ "MIT" ]
5
2021-10-30T13:40:41.000Z
2022-03-20T04:48:45.000Z
code/generate.py
karl-joan/text2art-gan
86370667f9a62bab95968abe1990dcaa4760b333
[ "MIT" ]
null
null
null
code/generate.py
karl-joan/text2art-gan
86370667f9a62bab95968abe1990dcaa4760b333
[ "MIT" ]
2
2021-09-06T03:45:04.000Z
2022-03-13T03:23:49.000Z
import argparse import os from datetime import datetime from attngan import attngan from cyclegan import cyclegan def parse_args(): parser = argparse.ArgumentParser(description="Generate art from text") parser.add_argument("caption", help="text to generate from", type=str, metavar="\"caption\"") parser.ad...
49.057143
161
0.633081
219
1,717
4.885845
0.383562
0.058879
0.111215
0.029907
0.147664
0.102804
0
0
0
0
0
0.003287
0.114153
1,717
34
162
50.5
0.700197
0
0
0
1
0
0.366919
0.06523
0
0
0
0
0
1
0.037037
false
0
0.185185
0
0.259259
0.185185
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6b66098a0ef59f405b36110fd1c33e17ce0c92bd
182
py
Python
config.py
harshmalik9423/python-sockets-projects
6519cf65126af7c12683c29155200c9427941cc9
[ "MIT" ]
null
null
null
config.py
harshmalik9423/python-sockets-projects
6519cf65126af7c12683c29155200c9427941cc9
[ "MIT" ]
null
null
null
config.py
harshmalik9423/python-sockets-projects
6519cf65126af7c12683c29155200c9427941cc9
[ "MIT" ]
null
null
null
# # config.py # SERVER_HOSTNAME = "eecs325.local" SERVER_PORT = 80 SERVER_MAX_CONN_QUEUE = 5 # Number of connection requests to queue. BUFFER_SIZE = 4096 MESSAGE_ENCODING = "utf8"
16.545455
67
0.758242
26
182
5.038462
0.884615
0
0
0
0
0
0
0
0
0
0
0.071429
0.153846
182
10
68
18.2
0.779221
0.269231
0
0
0
0
0.132813
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
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6b690cd5a48b3af4a8181ceed479f3b9df620a02
973
py
Python
scipy_central/thumbs/models.py
wqshi/test
63dc0c684ec749cd03e9c071176f30f439188f14
[ "BSD-3-Clause" ]
7
2016-02-03T12:44:33.000Z
2020-08-26T09:22:23.000Z
scipy_central/thumbs/models.py
wqshi/test
63dc0c684ec749cd03e9c071176f30f439188f14
[ "BSD-3-Clause" ]
19
2015-01-20T11:27:22.000Z
2017-09-23T22:26:18.000Z
scipy_central/thumbs/models.py
wqshi/test
63dc0c684ec749cd03e9c071176f30f439188f14
[ "BSD-3-Clause" ]
9
2015-01-03T02:56:33.000Z
2021-02-20T10:45:11.000Z
from django.db import models class Thumbs(models.Model): """ Class for handling thumbs up/thumbs down voting """ # Who is voting? Null for anonymous users. person = models.ForeignKey('scipy_central.Person', null=True, blank=True) # submission: if voting for a submission, otherwise Null. s...
32.433333
77
0.65776
122
973
5.163934
0.508197
0.07619
0.1
0.133333
0
0
0
0
0
0
0
0.00411
0.249743
973
29
78
33.551724
0.858904
0.373073
0
0.181818
0
0
0.110544
0.076531
0
0
0
0
0
1
0
false
0
0.090909
0
0.818182
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
6b69c34c228a53e48fd9981e515b4c0a974719ff
260
py
Python
sysroot/usr/lib/python3/dist-packages/ssh_import_id/version.py
219-design/sysroot_qt5.15.0_binaries_armv6zk_rpizero_bullseye_gcc10.3
60545a4471090a4c9ffcf207fb5a71831bfc3bb2
[ "MIT" ]
null
null
null
sysroot/usr/lib/python3/dist-packages/ssh_import_id/version.py
219-design/sysroot_qt5.15.0_binaries_armv6zk_rpizero_bullseye_gcc10.3
60545a4471090a4c9ffcf207fb5a71831bfc3bb2
[ "MIT" ]
null
null
null
sysroot/usr/lib/python3/dist-packages/ssh_import_id/version.py
219-design/sysroot_qt5.15.0_binaries_armv6zk_rpizero_bullseye_gcc10.3
60545a4471090a4c9ffcf207fb5a71831bfc3bb2
[ "MIT" ]
null
null
null
# This file is part of ssh-import-id. See LICENSE file for more info. _LAST_RELEASE = "5.10" _PACKAGED_VERSION = '5.10-1' VERSION = _LAST_RELEASE if not _PACKAGED_VERSION.startswith("@@"): VERSION = _PACKAGED_VERSION # vi: ts=4 expandtab syntax=python
21.666667
69
0.734615
40
260
4.525
0.725
0.248619
0
0
0
0
0
0
0
0
0
0.03653
0.157692
260
11
70
23.636364
0.789954
0.384615
0
0
0
0
0.076433
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6b73e119d61f8d0b2839a62674b1f7bc89fb2f58
2,641
py
Python
220_contains_duplicate_iii.py
gengwg/leetcode
0af5256ec98149ef5863f3bba78ed1e749650f6e
[ "Apache-2.0" ]
2
2018-04-24T19:17:40.000Z
2018-04-24T19:33:52.000Z
220_contains_duplicate_iii.py
gengwg/leetcode
0af5256ec98149ef5863f3bba78ed1e749650f6e
[ "Apache-2.0" ]
null
null
null
220_contains_duplicate_iii.py
gengwg/leetcode
0af5256ec98149ef5863f3bba78ed1e749650f6e
[ "Apache-2.0" ]
3
2020-06-17T05:48:52.000Z
2021-01-02T06:08:25.000Z
# -*- coding: utf-8 -*- # 220. Contains Duplicate III # # Given an array of integers, # find out whether there are two distinct indices i and j in the array # such that the absolute difference between nums[i] and nums[j] is at most t # and the absolute difference between i and j is at most k. import collections cla...
31.440476
108
0.523287
376
2,641
3.662234
0.367021
0.065359
0.04793
0.079884
0.214234
0.198257
0.122731
0.122731
0.122731
0.122731
0
0.031836
0.333964
2,641
83
109
31.819277
0.749289
0.180613
0
0.30303
0
0
0.006182
0
0
0
0
0
0
0
null
null
0
0.030303
null
null
0.060606
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
6b759d3b1a6d1d1a23a8d58955f7fb20ffc91c12
3,630
py
Python
Principles-of-Computing/project-4-planner-for-yahtzee.py
ugaliguy/Python-at-Rice
b145a4475bdd3e9250f88a01dff894945d9b3e4b
[ "MIT" ]
null
null
null
Principles-of-Computing/project-4-planner-for-yahtzee.py
ugaliguy/Python-at-Rice
b145a4475bdd3e9250f88a01dff894945d9b3e4b
[ "MIT" ]
null
null
null
Principles-of-Computing/project-4-planner-for-yahtzee.py
ugaliguy/Python-at-Rice
b145a4475bdd3e9250f88a01dff894945d9b3e4b
[ "MIT" ]
2
2020-11-09T16:06:28.000Z
2020-12-07T07:42:47.000Z
""" Planner for Yahtzee Simplifications: only allow discard and roll, only score against upper level """ # Used to increase the timeout, if necessary import codeskulptor codeskulptor.set_timeout(20) def gen_all_sequences(outcomes, length): """ Iterative function that enumerates the set of all sequ...
25.928571
96
0.614601
488
3,630
4.366803
0.239754
0.061004
0.046457
0.028156
0.098076
0.030971
0.030971
0.030971
0.030971
0
0
0.006457
0.317355
3,630
139
97
26.115108
0.853511
0.030854
0
0
0
0
0.024182
0
0
0
0
0
0
0
null
null
0
0.018182
null
null
0.018182
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
6b8915baff1af0575cc4e24b0853c4cc6b8ad2a0
14,873
py
Python
examples/CCS811UnitTest.py
Ekkehard/RBPiCCS811
ca09d56b86afc92d253bdb630ddb815d04099edb
[ "Apache-2.0" ]
null
null
null
examples/CCS811UnitTest.py
Ekkehard/RBPiCCS811
ca09d56b86afc92d253bdb630ddb815d04099edb
[ "Apache-2.0" ]
null
null
null
examples/CCS811UnitTest.py
Ekkehard/RBPiCCS811
ca09d56b86afc92d253bdb630ddb815d04099edb
[ "Apache-2.0" ]
null
null
null
# Python Implementation: CCS811UnitTest ## # @file CCS811UnitTest.py # # @version 1.0.1 # # @par Purpose # This module provides the Unit Test for the CCS811 module. It has been # separated from the CCS811 module to conserve some resources, as this code is # intended to also run on an Raspberry Pi Pico MCU. O...
40.636612
80
0.408122
1,259
14,873
4.758539
0.27085
0.015189
0.016525
0.012018
0.317476
0.280087
0.253213
0.253213
0.252545
0.241696
0
0.028237
0.511867
14,873
365
81
40.747945
0.79697
0.138506
0
0.501845
0
0
0.128052
0.004397
0
0
0
0
0
1
0.02583
false
0.01845
0.02583
0.01476
0.095941
0.173432
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6b8bb153d1b8da0157b44ec53267ac54fdb21350
1,706
py
Python
snakebids/admin.py
LouFel/snakebids
6fdf64fb65471868b9cc9d55fd77654096c07686
[ "MIT" ]
null
null
null
snakebids/admin.py
LouFel/snakebids
6fdf64fb65471868b9cc9d55fd77654096c07686
[ "MIT" ]
2
2022-02-11T22:08:36.000Z
2022-02-11T22:08:47.000Z
snakebids/admin.py
kaitj/snakebids
f205ab279223e9f5bb87ba170fe29d8324bc7484
[ "MIT" ]
null
null
null
"""Script to generate a Snakebids project.""" import argparse import os from pathlib import Path from cookiecutter.main import cookiecutter import snakebids from snakebids.app import SnakeBidsApp from snakebids.cli import add_dynamic_args def create_app(_): cookiecutter(os.path.join(snakebids.__path__[0], "pro...
28.433333
88
0.715709
209
1,706
5.660287
0.373206
0.063398
0.023669
0.035503
0
0
0
0
0
0
0
0.000718
0.184056
1,706
59
89
28.915254
0.849138
0.078546
0
0.097561
1
0
0.244715
0
0
0
0
0
0
1
0.097561
false
0
0.170732
0
0.292683
0.02439
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6b8c93d8422ed7233811fd0f7290cad989fa723c
4,500
py
Python
estimateHR_unittest.py
RingoYen85/HeartRateMonitor
8bbecfd0969c1a91b8a5c3117869ac248c31cf17
[ "MIT" ]
null
null
null
estimateHR_unittest.py
RingoYen85/HeartRateMonitor
8bbecfd0969c1a91b8a5c3117869ac248c31cf17
[ "MIT" ]
null
null
null
estimateHR_unittest.py
RingoYen85/HeartRateMonitor
8bbecfd0969c1a91b8a5c3117869ac248c31cf17
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Fri Sep 23 21:54:45 2016 @author: ringoyen """ import numpy as np import unittest class tester(unittest.TestCase): def test_low_pass_filter(self): """ Unit Test for a moving averager (convolution) to serve as a low pass filter to remove noise :retur...
31.690141
112
0.607556
687
4,500
3.780204
0.234352
0.007701
0.040046
0.007701
0.284559
0.236812
0.165191
0.146323
0.109357
0.038506
0
0.077353
0.284667
4,500
142
113
31.690141
0.729419
0.223556
0
0.051724
0
0
0.079494
0
0
0
0
0
0.206897
1
0.068966
false
0.12069
0.137931
0
0.224138
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1