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
3beead2f1bbb20ab82ab1046d2b7a0401212b9f2
626
py
Python
app.py
relh/cathhacks
a7f3f779caec8b02b27e09ab02b003c6e46a53d3
[ "MIT" ]
null
null
null
app.py
relh/cathhacks
a7f3f779caec8b02b27e09ab02b003c6e46a53d3
[ "MIT" ]
null
null
null
app.py
relh/cathhacks
a7f3f779caec8b02b27e09ab02b003c6e46a53d3
[ "MIT" ]
null
null
null
#!/usr/bin/env python import time import json import random import re from bottle import route, hook, response, run, static_file @route('/') def index(): return static_file('index.html', root = '.') @route('/maptweets.js') def index_css(): return static_file('maptweets.js', root = '.') @route('/cross.jpg') d...
21.586207
66
0.648562
90
626
4.4
0.422222
0.151515
0.20202
0.171717
0.287879
0.287879
0.151515
0
0
0
0
0.011321
0.153355
626
28
67
22.357143
0.735849
0.031949
0
0.190476
0
0
0.185124
0
0
0
0
0
0
1
0.238095
true
0
0.238095
0.238095
0.714286
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
1
1
0
0
6
3bf06db6b595a9d1a5a4cb7a067a7c955758c1d4
1,749
py
Python
session01_Decorators/test_printtime.py
morales-gregorio/Python-Module-of-the-Week
2c68e20be3e174be9b91c92ac872806dd982e7d2
[ "MIT" ]
15
2017-06-22T11:57:38.000Z
2022-03-31T13:34:07.000Z
session01_Decorators/test_printtime.py
morales-gregorio/Python-Module-of-the-Week
2c68e20be3e174be9b91c92ac872806dd982e7d2
[ "MIT" ]
3
2019-10-16T10:32:55.000Z
2020-01-09T09:24:48.000Z
session01_Decorators/test_printtime.py
morales-gregorio/Python-Module-of-the-Week
2c68e20be3e174be9b91c92ac872806dd982e7d2
[ "MIT" ]
6
2016-10-07T12:50:24.000Z
2019-11-28T11:15:04.000Z
#!/usr/bin/env python3 import sys def test_we_can_import_module(): import printtime def test_decorator_exists(): import printtime printtime.printtime def test_wrapped_function_is_callable(): import printtime @printtime.printtime def f(): pass assert callable(f) def test_function_can_be...
20.337209
55
0.628931
248
1,749
4.129032
0.229839
0.351563
0.234375
0.322266
0.701172
0.666016
0.585938
0.386719
0.280273
0.193359
0
0.045249
0.241852
1,749
85
56
20.576471
0.726998
0.012007
0
0.409836
0
0
0.012739
0
0
0
0
0
0.065574
1
0.327869
false
0.098361
0.229508
0.04918
0.557377
0.344262
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
6
ce124b2f132aba4a07da1b3bf301f0dd4fc77b5a
23,989
py
Python
airmozilla/search/tests/test_views.py
RAMilewski/airmozilla
70d52295294fd319e60b046bf75baf971cd00f98
[ "BSD-3-Clause" ]
1
2019-08-17T21:22:08.000Z
2019-08-17T21:22:08.000Z
airmozilla/search/tests/test_views.py
RAMilewski/airmozilla
70d52295294fd319e60b046bf75baf971cd00f98
[ "BSD-3-Clause" ]
4
2021-03-19T15:38:56.000Z
2021-09-08T02:47:16.000Z
airmozilla/search/tests/test_views.py
Acidburn0zzz/airmozilla
7b03af6d6efe9af00a6070f5327e10fb755c3766
[ "BSD-3-Clause" ]
null
null
null
import datetime import urllib from django.test import TestCase from django.utils.timezone import utc from django.contrib.auth.models import User from funfactory.urlresolvers import reverse from nose.tools import eq_, ok_ from airmozilla.search.models import LoggedSearch from airmozilla.main.models import Event, User...
38.3824
77
0.61449
2,898
23,989
4.949275
0.092478
0.106672
0.113784
0.089312
0.825978
0.812103
0.787632
0.763717
0.740779
0.725929
0
0.014517
0.264871
23,989
624
78
38.44391
0.798809
0.04798
0
0.678643
0
0
0.12426
0.005788
0
0
0
0
0.035928
1
0.03992
false
0.001996
0.017964
0
0.063872
0
0
0
0
null
0
0
0
1
1
1
1
1
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
6
ce2232a01897505144fe6b01b927ec8f8c501c90
244
py
Python
pyaedt/third_party/ironpython/plumbum/path/__init__.py
beliaev-maksim/pyaedt
c549de1d0c80f3598afc5475817a332bb6d6df57
[ "MIT" ]
1,918
2015-01-05T22:51:02.000Z
2022-03-30T16:59:59.000Z
pyaedt/third_party/ironpython/plumbum/path/__init__.py
beliaev-maksim/pyaedt
c549de1d0c80f3598afc5475817a332bb6d6df57
[ "MIT" ]
406
2015-01-07T19:04:52.000Z
2022-03-31T19:48:02.000Z
pyaedt/third_party/ironpython/plumbum/path/__init__.py
beliaev-maksim/pyaedt
c549de1d0c80f3598afc5475817a332bb6d6df57
[ "MIT" ]
171
2015-02-07T19:36:23.000Z
2022-03-29T11:33:13.000Z
# -*- coding: utf-8 -*- from plumbum.path.base import FSUser, Path, RelativePath from plumbum.path.local import LocalPath, LocalWorkdir from plumbum.path.remote import RemotePath, RemoteWorkdir from plumbum.path.utils import copy, delete, move
40.666667
57
0.795082
33
244
5.878788
0.606061
0.226804
0.309278
0
0
0
0
0
0
0
0
0.004608
0.110656
244
5
58
48.8
0.889401
0.086066
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
cbf038579f14e439d0af607b0a71c78d679cefc7
148
py
Python
test/foolib/util.py
xkortex/protosanity
1acdeeb8862bbdfe4e304eecccbad815ae6f44b3
[ "MIT" ]
null
null
null
test/foolib/util.py
xkortex/protosanity
1acdeeb8862bbdfe4e304eecccbad815ae6f44b3
[ "MIT" ]
null
null
null
test/foolib/util.py
xkortex/protosanity
1acdeeb8862bbdfe4e304eecccbad815ae6f44b3
[ "MIT" ]
null
null
null
import time try: ns = time.time_ns() time_ns = time.time_ns except AttributeError: def time_ns(): return int(time.time() * 1e9)
18.5
37
0.635135
22
148
4.090909
0.454545
0.266667
0.222222
0.266667
0
0
0
0
0
0
0
0.018018
0.25
148
7
38
21.142857
0.792793
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0.142857
0.428571
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
6
cbf9288ea09cab4d0c6ff229f50fd6b6380d8df7
336
py
Python
src/UQpy/sampling/mcmc/__init__.py
SURGroup/UncertaintyQuantification
a94c8db47d07134ea2b3b0a3ca53ca818532c3e6
[ "MIT" ]
null
null
null
src/UQpy/sampling/mcmc/__init__.py
SURGroup/UncertaintyQuantification
a94c8db47d07134ea2b3b0a3ca53ca818532c3e6
[ "MIT" ]
null
null
null
src/UQpy/sampling/mcmc/__init__.py
SURGroup/UncertaintyQuantification
a94c8db47d07134ea2b3b0a3ca53ca818532c3e6
[ "MIT" ]
null
null
null
from UQpy.sampling.mcmc.MetropolisHastings import MetropolisHastings from UQpy.sampling.mcmc.ModifiedMetropolisHastings import ModifiedMetropolisHastings from UQpy.sampling.mcmc.Stretch import Stretch from UQpy.sampling.mcmc.DRAM import DRAM from UQpy.sampling.mcmc.DREAM import DREAM from UQpy.sampling.mcmc.baseclass.M...
48
84
0.872024
43
336
6.813953
0.255814
0.163823
0.327645
0.409556
0
0
0
0
0
0
0
0
0.071429
336
6
85
56
0.939103
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
020e8941cd56265583abad09817c2ee903f85a24
36
py
Python
my_classes/.history/ModulesPackages_PackageNamespaces/example3b/main_20210726185238.py
minefarmer/deep-Dive-1
b0675b853180c5b5781888266ea63a3793b8d855
[ "Unlicense" ]
null
null
null
my_classes/.history/ModulesPackages_PackageNamespaces/example3b/main_20210726185238.py
minefarmer/deep-Dive-1
b0675b853180c5b5781888266ea63a3793b8d855
[ "Unlicense" ]
null
null
null
my_classes/.history/ModulesPackages_PackageNamespaces/example3b/main_20210726185238.py
minefarmer/deep-Dive-1
b0675b853180c5b5781888266ea63a3793b8d855
[ "Unlicense" ]
null
null
null
import sys import importer module
6
15
0.805556
5
36
5.8
0.8
0
0
0
0
0
0
0
0
0
0
0
0.194444
36
5
16
7.2
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
02485969f5c51c0dbfbbf6bf72feffd113ce646a
24
py
Python
exercises/flatten-array/flatten_array.py
RJTK/python
f9678d629735f75354bbd543eb7f10220a498dae
[ "MIT" ]
1
2021-05-15T19:59:04.000Z
2021-05-15T19:59:04.000Z
exercises/flatten-array/flatten_array.py
RJTK/python
f9678d629735f75354bbd543eb7f10220a498dae
[ "MIT" ]
null
null
null
exercises/flatten-array/flatten_array.py
RJTK/python
f9678d629735f75354bbd543eb7f10220a498dae
[ "MIT" ]
2
2018-03-03T08:32:12.000Z
2019-08-22T11:55:53.000Z
def flatten(): pass
8
14
0.583333
3
24
4.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.291667
24
2
15
12
0.823529
0
0
0
0
0
0
0
0
0
0
0
0
1
0.5
true
0.5
0
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
1
0
0
0
0
0
6
024d47a8fa396d0358535b3e13dfb7d49e9f4338
15,042
py
Python
sdl2/test/audio_test.py
zmarvel/py-sdl2
fa91007e6eebcbf5838f08cfe8d0b9d5cdf3ab83
[ "CC0-1.0" ]
null
null
null
sdl2/test/audio_test.py
zmarvel/py-sdl2
fa91007e6eebcbf5838f08cfe8d0b9d5cdf3ab83
[ "CC0-1.0" ]
null
null
null
sdl2/test/audio_test.py
zmarvel/py-sdl2
fa91007e6eebcbf5838f08cfe8d0b9d5cdf3ab83
[ "CC0-1.0" ]
null
null
null
import os import sys import ctypes import unittest from sdl2 import SDL_Init, SDL_Quit, SDL_InitSubSystem, SDL_QuitSubSystem, \ SDL_INIT_AUDIO from sdl2 import audio class SDLAudioTest(unittest.TestCase): __tags__ = ["sdl"] @classmethod def setUpClass(cls): SDL_Init(0) def audio_cb(u...
44.901493
76
0.705425
1,792
15,042
5.646763
0.094308
0.098824
0.125902
0.095464
0.80087
0.76302
0.754521
0.734756
0.278684
0.129954
0
0.022014
0.199707
15,042
334
77
45.035928
0.818575
0.035767
0
0.33452
0
0
0.054302
0
0
0
0
0
0.423488
1
0.131673
false
0.074733
0.021352
0
0.160142
0
0
0
0
null
0
0
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
1
0
0
0
0
0
6
0264162f580417fac78ea9f6105681f8bfea68c8
3,693
py
Python
3_inference/code/src/atlas_utils/acl_logger.py
Ascend-Huawei/AVOD
ea62372517bbfa9d4020bc5ab2739ee182c63c56
[ "BSD-2-Clause" ]
null
null
null
3_inference/code/src/atlas_utils/acl_logger.py
Ascend-Huawei/AVOD
ea62372517bbfa9d4020bc5ab2739ee182c63c56
[ "BSD-2-Clause" ]
null
null
null
3_inference/code/src/atlas_utils/acl_logger.py
Ascend-Huawei/AVOD
ea62372517bbfa9d4020bc5ab2739ee182c63c56
[ "BSD-2-Clause" ]
1
2021-08-19T09:51:25.000Z
2021-08-19T09:51:25.000Z
# Copyright 2017 The TensorFlow Authors. 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 applica...
29.544
78
0.656377
538
3,693
4.29368
0.202602
0.046753
0.062338
0.055411
0.864935
0.864935
0.864935
0.864935
0.864935
0.864935
0
0.007015
0.227999
3,693
124
79
29.782258
0.803227
0.464121
0
0.693878
0
0
0.008565
0
0
0
0
0
0
1
0.081633
false
0
0.061224
0
0.142857
0.040816
0
0
0
null
0
0
0
1
1
1
1
1
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
6
027e39bfb75a99251b26506235f55b3992d0390b
23,884
py
Python
openrk/solver.py
samuelshaner/OpenRK
6c382cd26c4c3f035e50a14f9bb59a91a8bbe682
[ "MIT" ]
null
null
null
openrk/solver.py
samuelshaner/OpenRK
6c382cd26c4c3f035e50a14f9bb59a91a8bbe682
[ "MIT" ]
null
null
null
openrk/solver.py
samuelshaner/OpenRK
6c382cd26c4c3f035e50a14f9bb59a91a8bbe682
[ "MIT" ]
null
null
null
__author__ = 'Samuel Shaner' __email__ = 'shaner@mit.edu' # Import modules import numpy as np import checkvalue as cv import openrk from material import TransientMaterial class Solver(object): def __init__(self): self._A_shape = None self._AM_shape = None self._M_shape = None self...
46.376699
127
0.482289
3,044
23,884
3.503614
0.052562
0.074824
0.052508
0.06301
0.852602
0.829723
0.799156
0.785091
0.763713
0.724801
0
0.015271
0.40232
23,884
515
128
46.376699
0.731839
0.075155
0
0.462908
0
0
0.04518
0
0
0
0
0
0
1
0.04451
false
0
0.011869
0.023739
0.086053
0
0
0
0
null
0
0
0
1
1
1
1
1
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
6
5a1180c32dc69b0280a9cd197a659f900bb0767e
117
py
Python
GFelem.py
Ei5baer/Number-theory-based-Object-Oriented-Examples-
271616251e9d64fd6b7fdcacc6209afcb143cf25
[ "MIT" ]
null
null
null
GFelem.py
Ei5baer/Number-theory-based-Object-Oriented-Examples-
271616251e9d64fd6b7fdcacc6209afcb143cf25
[ "MIT" ]
null
null
null
GFelem.py
Ei5baer/Number-theory-based-Object-Oriented-Examples-
271616251e9d64fd6b7fdcacc6209afcb143cf25
[ "MIT" ]
null
null
null
class GFelem(): def __init__ (val, prm, self): assert (self.m_prime = prm) assert (self.m_val)
29.25
36
0.57265
16
117
3.8125
0.625
0.327869
0.360656
0
0
0
0
0
0
0
0
0
0.299145
117
4
37
29.25
0.743902
0
0
0
0
0
0
0
0
0
0
0
0.5
0
null
null
0
0
null
null
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
1
0
0
0
0
0
0
0
0
6
5a1bc9b65543b71d50febdea3b7338f0404fa861
3,722
py
Python
boost/tools/build/v2/test/core_arguments.py
randolphwong/mcsema
eb5b376736e7f57ff0a61f7e4e5a436bbb874720
[ "BSD-3-Clause" ]
11
2016-04-12T16:29:29.000Z
2021-06-28T11:01:57.000Z
boost/tools/build/v2/test/core_arguments.py
randolphwong/mcsema
eb5b376736e7f57ff0a61f7e4e5a436bbb874720
[ "BSD-3-Clause" ]
3
2018-10-31T19:35:14.000Z
2019-06-04T17:11:27.000Z
boost/tools/build/v2/test/core_arguments.py
randolphwong/mcsema
eb5b376736e7f57ff0a61f7e4e5a436bbb874720
[ "BSD-3-Clause" ]
9
2015-09-09T02:38:32.000Z
2021-01-30T00:24:24.000Z
#!/usr/bin/python # Copyright 2001 Dave Abrahams # Copyright 2011 Steven Watanabe # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) import BoostBuild import os t = BoostBuild.Tester(pass_toolset=0, pass_d0=False) t.write...
33.836364
89
0.610962
719
3,722
3.008345
0.10153
0.114656
0.09154
0.102173
0.841424
0.840037
0.840037
0.840037
0.840037
0.840037
0
0.062541
0.170876
3,722
109
90
34.146789
0.638367
0.077646
0
0.267606
0
0.098592
0.583577
0
0
0
0
0
0
1
0
false
0.014085
0.028169
0
0.028169
0
0
0
0
null
0
0
0
1
1
1
1
1
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
6
ce46fda60692b72463d68b80f22d6d765a609752
24
py
Python
Code/Python2.7/Kattis/31sevenwonders.py
nicholasz2510/General
e2783cad4da7f9b50c952c2b91ef311d22b1d56f
[ "MIT" ]
1
2019-11-21T15:56:03.000Z
2019-11-21T15:56:03.000Z
Code/Python2.7/Kattis/31sevenwonders.py
nicholasz2510/General
e2783cad4da7f9b50c952c2b91ef311d22b1d56f
[ "MIT" ]
12
2019-11-21T21:00:57.000Z
2022-02-27T01:46:56.000Z
Code/Python2.7/Kattis/31sevenwonders.py
nicholasz2510/General
e2783cad4da7f9b50c952c2b91ef311d22b1d56f
[ "MIT" ]
1
2019-11-21T20:49:18.000Z
2019-11-21T20:49:18.000Z
from sys import stdin
6
21
0.75
4
24
4.5
1
0
0
0
0
0
0
0
0
0
0
0
0.25
24
3
22
8
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
cea4b16d5e2ce22cf74b68fad2eaac60e4b4c44e
20,032
py
Python
tests/threat_intelligence/test_victim_interface.py
kdeltared/tcex
818c0d09256764f871e42d9ca5916f92d941d882
[ "Apache-2.0" ]
18
2017-01-09T22:17:49.000Z
2022-01-24T20:46:42.000Z
tests/threat_intelligence/test_victim_interface.py
kdeltared/tcex
818c0d09256764f871e42d9ca5916f92d941d882
[ "Apache-2.0" ]
84
2017-04-11T13:47:49.000Z
2022-03-21T20:12:57.000Z
tests/threat_intelligence/test_victim_interface.py
kdeltared/tcex
818c0d09256764f871e42d9ca5916f92d941d882
[ "Apache-2.0" ]
43
2017-01-05T20:40:26.000Z
2022-03-31T19:18:02.000Z
"""Test the TcEx Threat Intel Module.""" # standard library import os from .ti_helpers import TestThreatIntelligence, TIHelper class TestVictim(TestThreatIntelligence): """Test TcEx Threat Groups.""" owner = os.getenv('TC_OWNER') ti = None ti_helper = None tcex = None def setup_method(self)...
41.38843
99
0.644569
2,779
20,032
4.350846
0.04462
0.061533
0.116119
0.107187
0.902407
0.832355
0.788272
0.77628
0.743032
0.692829
0
0.009969
0.233876
20,032
483
100
41.47412
0.777872
0.082169
0
0.591837
0
0
0.086933
0
0
0
0
0
0.25656
1
0.113703
false
0
0.005831
0
0.134111
0
0
0
0
null
0
0
0
1
1
1
1
1
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
6
ceb46f7b8b87885e84b4c51fcb3c8b10fed95e03
96
py
Python
glx/font/__init__.py
NeilGirdhar/glx
643abc73e05f94ea56a00deb927a3978f01184f2
[ "MIT" ]
3
2018-04-18T02:42:36.000Z
2020-09-06T15:48:17.000Z
glx/font/__init__.py
NeilGirdhar/glx
643abc73e05f94ea56a00deb927a3978f01184f2
[ "MIT" ]
1
2020-07-12T22:36:45.000Z
2020-07-13T14:20:32.000Z
glx/font/__init__.py
NeilGirdhar/glx
643abc73e05f94ea56a00deb927a3978f01184f2
[ "MIT" ]
1
2021-04-27T14:53:34.000Z
2021-04-27T14:53:34.000Z
from .atlas import * from .code_lookup import * from .display_list import * from .font import *
19.2
27
0.75
14
96
5
0.571429
0.428571
0
0
0
0
0
0
0
0
0
0
0.166667
96
4
28
24
0.875
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
0ca5f26d121180444b848ed317478ef7a1e9a301
233
py
Python
src/util/error.py
tubone24/tech_blog_spider
f91feea445d87d31e81bd920c7d386e42c495aee
[ "MIT" ]
null
null
null
src/util/error.py
tubone24/tech_blog_spider
f91feea445d87d31e81bd920c7d386e42c495aee
[ "MIT" ]
7
2021-06-25T07:50:21.000Z
2021-11-06T04:44:55.000Z
src/util/error.py
rcy1314/spider-feed
fbab76c8e221053f611cadd4d27642ef8725e76d
[ "MIT" ]
1
2022-02-10T21:05:13.000Z
2022-02-10T21:05:13.000Z
class EmptyLastPublishedRecordError(BaseException): pass class DeclarationDuplicateInstanceError(BaseException): pass class NoPublishDateError(BaseException): pass class NoEntrySummaryError(BaseException): pass
15.533333
55
0.802575
16
233
11.6875
0.4375
0.363636
0.352941
0
0
0
0
0
0
0
0
0
0.145923
233
14
56
16.642857
0.939698
0
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
0
1
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
6
0cd63e38fbaba43bae0862128a6fbb0acdb6b4a9
51
py
Python
pymock/matcher/matcher.py
diddi-/pymock
53acd56a0e239bdc521e02a12bab81c4ec65115c
[ "MIT" ]
1
2020-12-17T11:20:41.000Z
2020-12-17T11:20:41.000Z
pymock/matcher/matcher.py
diddi-/pymock
53acd56a0e239bdc521e02a12bab81c4ec65115c
[ "MIT" ]
null
null
null
pymock/matcher/matcher.py
diddi-/pymock
53acd56a0e239bdc521e02a12bab81c4ec65115c
[ "MIT" ]
null
null
null
from abc import ABC class Matcher(ABC): pass
8.5
19
0.686275
8
51
4.375
0.75
0
0
0
0
0
0
0
0
0
0
0
0.254902
51
5
20
10.2
0.921053
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
6
0ce1ca500f6c544a2c3427d07e6d39a00990b04d
2,853
py
Python
scripts/dynamics.py
korzhimanov/vlasov-solver
ffaeb5ae5a0f756a933d6e353b026e4df98c15c9
[ "MIT" ]
6
2016-09-22T04:17:52.000Z
2021-04-17T00:13:33.000Z
scripts/dynamics.py
korzhimanov/vlasov-solver
ffaeb5ae5a0f756a933d6e353b026e4df98c15c9
[ "MIT" ]
null
null
null
scripts/dynamics.py
korzhimanov/vlasov-solver
ffaeb5ae5a0f756a933d6e353b026e4df98c15c9
[ "MIT" ]
4
2016-11-23T02:28:23.000Z
2020-09-29T01:03:54.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- import numpy as np import gzip import matplotlib.pyplot as plt from init import sail as inp data_size = inp.MAX_Z energy_data_size = 100000 prefix = 'output' fig = plt.figure(figsize=(16, 12)) fd = gzip.open('{0}/conc0.gz'.format(prefix), 'rb') a = np.frombuffer(fd.read(),...
25.473214
84
0.662461
522
2,853
3.521073
0.180077
0.065288
0.054407
0.059848
0.847116
0.847116
0.847116
0.847116
0.836235
0.816104
0
0.053776
0.113565
2,853
111
85
25.702703
0.672993
0.013319
0
0.533333
0
0
0.07047
0
0
0
0
0
0
1
0
false
0
0.088889
0
0.088889
0
0
0
0
null
0
0
0
1
1
1
1
1
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
6
0b65eaa2c7fd4fdac06b8c6d21ff27f376234c8d
222
py
Python
src/decisionengine/framework/tests/PublisherWithMissingConsumes.py
moibenko/decisionengine
4c458e0c225ec2ce1e82d56e752724983331b7d1
[ "Apache-2.0" ]
9
2018-06-11T20:06:50.000Z
2020-10-01T17:02:02.000Z
src/decisionengine/framework/tests/PublisherWithMissingConsumes.py
moibenko/decisionengine
4c458e0c225ec2ce1e82d56e752724983331b7d1
[ "Apache-2.0" ]
551
2018-06-25T21:06:37.000Z
2022-03-31T13:47:32.000Z
src/decisionengine/framework/tests/PublisherWithMissingConsumes.py
goodenou/decisionengine
b203e2c493cf501562accf1013c6257c348711b7
[ "Apache-2.0" ]
70
2018-06-11T20:07:01.000Z
2022-02-10T16:18:24.000Z
# SPDX-FileCopyrightText: 2017 Fermi Research Alliance, LLC # SPDX-License-Identifier: Apache-2.0 from decisionengine.framework.modules import Publisher class PublisherWithMissingConsumes(Publisher.Publisher): pass
24.666667
59
0.81982
24
222
7.583333
0.875
0
0
0
0
0
0
0
0
0
0
0.030303
0.108108
222
8
60
27.75
0.888889
0.418919
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
6
0b73ad8e4b5dbc4e6e7da5684ee60e6d0edab980
102
py
Python
Chapter 01/Chap01_Example1.179.py
Anancha/Programming-Techniques-using-Python
e80c329d2a27383909d358741a5cab03cb22fd8b
[ "MIT" ]
null
null
null
Chapter 01/Chap01_Example1.179.py
Anancha/Programming-Techniques-using-Python
e80c329d2a27383909d358741a5cab03cb22fd8b
[ "MIT" ]
null
null
null
Chapter 01/Chap01_Example1.179.py
Anancha/Programming-Techniques-using-Python
e80c329d2a27383909d358741a5cab03cb22fd8b
[ "MIT" ]
null
null
null
print(str(3)) # -- st1 print(str(3.2)) # -- st2 print(str(3+2j)) # -- st3 print(str('Four')) # -- st4
20.4
27
0.529412
18
102
3
0.555556
0.592593
0.5
0
0
0
0
0
0
0
0
0.104651
0.156863
102
4
28
25.5
0.523256
0.264706
0
0
0
0
0.057143
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
6
f0721145b9e4e12e50e2e738061ab8c8ea69c68f
41
py
Python
automatminer/featurization/__init__.py
sgbaird/automatminer
9a3996e37672b547f10645b53b816ee670940d56
[ "BSD-3-Clause-LBNL" ]
92
2018-11-28T17:36:42.000Z
2022-03-26T07:45:22.000Z
automatminer/featurization/__init__.py
sgbaird/automatminer
9a3996e37672b547f10645b53b816ee670940d56
[ "BSD-3-Clause-LBNL" ]
249
2018-11-30T22:09:15.000Z
2022-01-06T22:25:12.000Z
automatminer/featurization/__init__.py
sgbaird/automatminer
9a3996e37672b547f10645b53b816ee670940d56
[ "BSD-3-Clause-LBNL" ]
41
2018-11-21T22:33:52.000Z
2022-03-03T02:24:32.000Z
from .core import AutoFeaturizer # noqa
20.5
40
0.780488
5
41
6.4
1
0
0
0
0
0
0
0
0
0
0
0
0.170732
41
1
41
41
0.941176
0.097561
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
b2ba7bb61b01a7724340524a89ecefd80c342bfc
137
py
Python
src/testproject/decorator/__init__.py
bbornhau/python-opensdk
f6f6baf202598c9d234b3314f8e44fbd10a0f427
[ "Apache-2.0" ]
38
2021-02-04T06:38:13.000Z
2022-03-25T05:41:28.000Z
src/testproject/decorator/__init__.py
bbornhau/python-opensdk
f6f6baf202598c9d234b3314f8e44fbd10a0f427
[ "Apache-2.0" ]
47
2020-07-08T05:13:03.000Z
2021-02-01T10:17:58.000Z
src/testproject/decorator/__init__.py
bbornhau/python-opensdk
f6f6baf202598c9d234b3314f8e44fbd10a0f427
[ "Apache-2.0" ]
17
2021-02-28T23:46:17.000Z
2022-01-26T05:02:59.000Z
from .report import report from .report_assertion_errors import report_assertion_errors __all__ = ["report", "report_assertion_errors"]
27.4
60
0.832117
17
137
6.117647
0.352941
0.432692
0.605769
0
0
0
0
0
0
0
0
0
0.094891
137
4
61
34.25
0.83871
0
0
0
0
0
0.211679
0.167883
0
0
0
0
0.666667
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
1
0
0
0
0
6
b2c4e1bb01186a6e90b0a5737b3c63ead9d751f9
218
py
Python
cBugReport_foAnalyzeException_STATUS_BREAKPOINT.py
SkyLined/cBugId
fde6d3eff9d73c71fe6ac81c975c1a3e43afad3c
[ "CC-BY-4.0" ]
22
2016-08-11T14:50:55.000Z
2021-06-06T09:39:26.000Z
cBugReport_foAnalyzeException_STATUS_BREAKPOINT.py
SkyLined/cBugId
fde6d3eff9d73c71fe6ac81c975c1a3e43afad3c
[ "CC-BY-4.0" ]
19
2016-09-07T05:54:40.000Z
2020-07-02T07:46:38.000Z
cBugReport_foAnalyzeException_STATUS_BREAKPOINT.py
SkyLined/cBugId
fde6d3eff9d73c71fe6ac81c975c1a3e43afad3c
[ "CC-BY-4.0" ]
11
2016-09-03T22:42:50.000Z
2018-10-01T18:28:59.000Z
def cBugReport_foAnalyzeException_STATUS_BREAKPOINT(oBugReport, oProcess, oThread, oException): oProcess.oCdbWrapper.oASanErrorDetector.fAddInformationToBugReport(oBugReport, oProcess, oThread); return oBugReport;
54.5
100
0.866972
18
218
10.333333
0.722222
0.193548
0.268817
0
0
0
0
0
0
0
0
0
0.06422
218
3
101
72.666667
0.911765
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
1
0
1
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
6
b2d124a43b026c88c9414543ed38cfcf9dc43167
94
py
Python
survae/tests/nn/__init__.py
alisiahkoohi/survae_flows
e1747b05524c7ab540a211ed360ab3e67bc3e96d
[ "MIT" ]
262
2020-07-05T20:57:44.000Z
2022-03-28T02:24:43.000Z
survae/tests/nn/__init__.py
alisiahkoohi/survae_flows
e1747b05524c7ab540a211ed360ab3e67bc3e96d
[ "MIT" ]
17
2020-08-15T05:43:34.000Z
2022-01-31T12:24:21.000Z
survae/tests/nn/__init__.py
alisiahkoohi/survae_flows
e1747b05524c7ab540a211ed360ab3e67bc3e96d
[ "MIT" ]
35
2020-08-24T06:55:37.000Z
2022-02-11T05:17:58.000Z
from .base import ModuleTest from .layers import * from .blocks import * from .nets import *
15.666667
28
0.744681
13
94
5.384615
0.538462
0.285714
0
0
0
0
0
0
0
0
0
0
0.180851
94
5
29
18.8
0.909091
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
b2dad32c37460e3f1982869aa119bc40893ac773
119
py
Python
statistics/__init__.py
mec-correcaotextual/dataset_agnostic_segmentation
201bf0aa137692855f3eb7a3ec1aa1f5535abadf
[ "MIT" ]
36
2018-01-07T18:26:25.000Z
2022-02-01T17:17:38.000Z
statistics/__init__.py
mec-correcaotextual/dataset_agnostic_segmentation
201bf0aa137692855f3eb7a3ec1aa1f5535abadf
[ "MIT" ]
3
2018-09-06T14:19:04.000Z
2019-06-04T13:50:27.000Z
statistics/__init__.py
mec-correcaotextual/dataset_agnostic_segmentation
201bf0aa137692855f3eb7a3ec1aa1f5535abadf
[ "MIT" ]
12
2018-02-20T11:42:48.000Z
2022-02-01T22:44:34.000Z
from statistics.phocs import update_phoc_stats from statistics.segmentation import update_segmentation_stats, train_viz
59.5
72
0.907563
16
119
6.4375
0.625
0.271845
0
0
0
0
0
0
0
0
0
0
0.067227
119
2
72
59.5
0.927928
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
b2debd917f2d49d72bad77e7a016092146edf694
91
py
Python
src/api/algorithm/__init__.py
moevm/nosql1h19-text-graph
410f156ad4f232f8aa060d43692ab020610ddfd4
[ "MIT" ]
null
null
null
src/api/algorithm/__init__.py
moevm/nosql1h19-text-graph
410f156ad4f232f8aa060d43692ab020610ddfd4
[ "MIT" ]
null
null
null
src/api/algorithm/__init__.py
moevm/nosql1h19-text-graph
410f156ad4f232f8aa060d43692ab020610ddfd4
[ "MIT" ]
null
null
null
from .abstract import * from .dictionary import * from .dummy import * from .diff import *
18.2
25
0.736264
12
91
5.583333
0.5
0.447761
0
0
0
0
0
0
0
0
0
0
0.175824
91
4
26
22.75
0.893333
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
3327e1e4b56f8c17769ea0bbc3f3263813bb2f5d
43,249
py
Python
unrolled-lutnet/training-software/binarization_utils.py
awai54st/LUTNet
81b044f31d1131bee1a7fae41fc4d2fb102ea73a
[ "BSD-2-Clause" ]
38
2019-10-28T10:06:33.000Z
2022-02-21T21:38:39.000Z
unrolled-lutnet/training-software/binarization_utils.py
awai54st/LUTNet
81b044f31d1131bee1a7fae41fc4d2fb102ea73a
[ "BSD-2-Clause" ]
null
null
null
unrolled-lutnet/training-software/binarization_utils.py
awai54st/LUTNet
81b044f31d1131bee1a7fae41fc4d2fb102ea73a
[ "BSD-2-Clause" ]
13
2019-10-28T10:17:48.000Z
2021-08-10T21:37:11.000Z
import numpy as np import pickle import matplotlib.pyplot as plt import matplotlib import tensorflow as tf import keras from keras.models import Sequential, Model from keras.layers import Dense, Convolution2D, Activation, Flatten, MaxPooling2D,Input,Dropout,GlobalAveragePooling2D from keras import backend as K from ke...
57.511968
318
0.710791
7,703
43,249
3.826951
0.034143
0.079107
0.032973
0.053631
0.912344
0.895892
0.874182
0.853659
0.830015
0.827199
0
0.06425
0.107517
43,249
751
319
57.588549
0.699474
0.084256
0
0.608025
0
0
0.002732
0
0
0
0
0
0
1
0.032407
false
0
0.027778
0.007716
0.089506
0
0
0
0
null
0
0
0
1
1
1
1
1
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
6
336a90b40ce1c467393981e85055986485aadb2a
59,133
py
Python
sloth/parsers/SLComp18Lexer.py
katelaan/sloth
f487911c4e6850253c592cf65280390f39e24a87
[ "MIT" ]
2
2018-07-09T10:10:52.000Z
2021-04-02T14:56:00.000Z
sloth/parsers/SLComp18Lexer.py
katelaan/sloth
f487911c4e6850253c592cf65280390f39e24a87
[ "MIT" ]
null
null
null
sloth/parsers/SLComp18Lexer.py
katelaan/sloth
f487911c4e6850253c592cf65280390f39e24a87
[ "MIT" ]
null
null
null
# Generated from SLComp18.g4 by ANTLR 4.7.1 from antlr4 import * from io import StringIO from typing.io import TextIO import sys def serializedATN(): with StringIO() as buf: buf.write("\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2u") buf.write("\u05fc\b\1\4\2\t\2\4\3\t\3\4\4\t\4\4\5\t\5\4\6...
68.204152
103
0.596959
12,522
59,133
2.791407
0.160597
0.113235
0.03888
0.040053
0.339274
0.198518
0.165389
0.154145
0.151742
0.147251
0
0.335891
0.14048
59,133
866
104
68.28291
0.351828
0.000693
0
0.018846
1
0.624264
0.662097
0.598717
0
0
0
0
0.023557
1
0.002356
false
0
0.004711
0
0.154299
0.001178
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
1
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
68342bbdcc383b2bdae1b8fab18cac5348cba88e
5,503
py
Python
tests/unit_tests/test_power.py
ecoen66/imcsdk
b10eaa926a5ee57cea7182ae0adc8dd1c818b0ab
[ "Apache-2.0" ]
31
2016-06-14T07:23:59.000Z
2021-09-12T17:17:26.000Z
tests/unit_tests/test_power.py
sthagen/imcsdk
1831eaecb5960ca03a8624b1579521749762b932
[ "Apache-2.0" ]
109
2016-05-25T03:56:56.000Z
2021-10-18T02:58:12.000Z
tests/unit_tests/test_power.py
sthagen/imcsdk
1831eaecb5960ca03a8624b1579521749762b932
[ "Apache-2.0" ]
67
2016-05-17T05:53:56.000Z
2022-03-24T15:52:53.000Z
# Copyright 2016 Cisco Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing...
43.330709
91
0.735417
824
5,503
4.643204
0.165049
0.032933
0.046001
0.031364
0.792734
0.777313
0.763722
0.716153
0.697857
0.664924
0
0.0125
0.185899
5,503
126
92
43.674603
0.841518
0.333273
0
0.789474
0
0
0.049519
0
0
0
0
0
0.118421
1
0.052632
false
0.052632
0.078947
0
0.131579
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
6
6839b5ca5516e6736274a7ed230a96a79b96d759
12,203
py
Python
project/models.py
felixzheng02/pypkpd
9e7f41aa7e33ba50cec3482f14e7be08a4bc23e7
[ "MIT" ]
9
2021-06-17T08:11:31.000Z
2021-06-22T08:05:27.000Z
project/models.py
Caiya-Zhang/pypkpd
9e7f41aa7e33ba50cec3482f14e7be08a4bc23e7
[ "MIT" ]
null
null
null
project/models.py
Caiya-Zhang/pypkpd
9e7f41aa7e33ba50cec3482f14e7be08a4bc23e7
[ "MIT" ]
2
2021-06-18T07:16:08.000Z
2021-09-25T04:43:28.000Z
""" ## This python script defines main structural models needed. #' Author: Caiya Zhang, Yuchen Zheng """ import numpy as np from project.feval import feval #' Structural model: one-compartment, oral absorption, multiple bolus dose, parameterized using KE. #' #' This is a structural model function that...
37.780186
495
0.674342
1,728
12,203
4.667245
0.103588
0.040794
0.023435
0.021203
0.912089
0.903162
0.886671
0.86832
0.860012
0.838438
0
0.006375
0.177333
12,203
322
496
37.897516
0.796992
0.628698
0
0.581818
0
0
0.076438
0
0
0
0
0.003106
0
1
0.163636
false
0
0.036364
0
0.363636
0
0
0
0
null
0
0
0
1
1
1
1
1
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
6
684088102380d19a6477e957d049e3effea04947
19
py
Python
trackerino/__init__.py
decaruju/trackerino
b8a621bf8e01c67342f5970b186169e033a430fe
[ "MIT" ]
null
null
null
trackerino/__init__.py
decaruju/trackerino
b8a621bf8e01c67342f5970b186169e033a430fe
[ "MIT" ]
null
null
null
trackerino/__init__.py
decaruju/trackerino
b8a621bf8e01c67342f5970b186169e033a430fe
[ "MIT" ]
null
null
null
from .db import DB
9.5
18
0.736842
4
19
3.5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.210526
19
1
19
19
0.933333
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
684c3405735a93d945bffa1eb40a3b4256545464
2,340
py
Python
PyAlgorithm/testing/selection_unittest.py
allenliuzihao/PyAlgorithm
0468f1fc90795d7524e8674aecbfbd2214b256a7
[ "MIT" ]
null
null
null
PyAlgorithm/testing/selection_unittest.py
allenliuzihao/PyAlgorithm
0468f1fc90795d7524e8674aecbfbd2214b256a7
[ "MIT" ]
null
null
null
PyAlgorithm/testing/selection_unittest.py
allenliuzihao/PyAlgorithm
0468f1fc90795d7524e8674aecbfbd2214b256a7
[ "MIT" ]
null
null
null
import unittest import random import sys sys.path.append("../Selection_Algorithm") from deterministic_selection import d_select, randomized_selection class DeterministicSelectionTestCase(unittest.TestCase): def test_deterministic_selection_one_element(self): a = [1] k = 1 self.assertEqual(d_select(a, k), 1, ...
36.5625
122
0.750427
338
2,340
5.035503
0.180473
0.116334
0.094007
0.13631
0.79436
0.753231
0.711516
0.711516
0.711516
0.711516
0
0.04693
0.144017
2,340
64
123
36.5625
0.802796
0
0
0.625
0
0
0.216147
0.009398
0
0
0
0
0.166667
0
null
null
0
0.083333
null
null
0
0
0
0
null
0
0
0
0
1
1
1
1
1
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
6
68915d1439b148c22306fb30c1f358d139c9bb5c
131,328
py
Python
sudoku/gui.py
danya02/slon-2019-games
cdfb0eeb1114f22bc3d537130c9b450c4f9d7123
[ "MIT" ]
null
null
null
sudoku/gui.py
danya02/slon-2019-games
cdfb0eeb1114f22bc3d537130c9b450c4f9d7123
[ "MIT" ]
null
null
null
sudoku/gui.py
danya02/slon-2019-games
cdfb0eeb1114f22bc3d537130c9b450c4f9d7123
[ "MIT" ]
null
null
null
#!/usr/bin/python3 import pygame import threading import tkinter import tkinter.filedialog import traceback import gzip pygame.init() # from https://stackoverflow.com/a/312464/5936187 def chunks(l, n): """Yield successive n-sized chunks from l.""" for i in range(0, len(l), n): yield l[i:i + n] class ...
350.208
115,669
0.714509
28,682
131,328
3.26093
0.181891
0.003764
0.000962
0.002587
0.036715
0.032685
0.029926
0.02689
0.022688
0.019245
0
0.209281
0.037128
131,328
374
115,670
351.144385
0.530367
0.002284
0
0.283186
0
0.309735
0.603763
0.598794
0
0
0
0
0
1
0.067847
false
0
0.017699
0
0.120944
0.00295
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1
0
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
d79d64da8f19398a2ac28824c20b12aa1f99c88a
134
py
Python
saleor/blog/views.py
nittesh31/karat-farms-server
4d53ef51c6b282029a49ce1d74fb5cf0ba07a6ae
[ "CC-BY-4.0" ]
null
null
null
saleor/blog/views.py
nittesh31/karat-farms-server
4d53ef51c6b282029a49ce1d74fb5cf0ba07a6ae
[ "CC-BY-4.0" ]
null
null
null
saleor/blog/views.py
nittesh31/karat-farms-server
4d53ef51c6b282029a49ce1d74fb5cf0ba07a6ae
[ "CC-BY-4.0" ]
1
2021-02-10T14:41:11.000Z
2021-02-10T14:41:11.000Z
from django.template.response import TemplateResponse def blog(request): return TemplateResponse(request, "blog/index.html", {})
33.5
59
0.776119
15
134
6.933333
0.8
0
0
0
0
0
0
0
0
0
0
0
0.11194
134
4
59
33.5
0.87395
0
0
0
0
0
0.111111
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
6
d7d66d8aaa57101a363dfc955bc09d29740c3dec
71
py
Python
src/__init__.py
grayondream/algorithm-forth
c2c21419ec7c42b10f229ab41ac10edf7afbe956
[ "Apache-2.0" ]
null
null
null
src/__init__.py
grayondream/algorithm-forth
c2c21419ec7c42b10f229ab41ac10edf7afbe956
[ "Apache-2.0" ]
null
null
null
src/__init__.py
grayondream/algorithm-forth
c2c21419ec7c42b10f229ab41ac10edf7afbe956
[ "Apache-2.0" ]
null
null
null
import src.basic import src.search import src.sort import src.string
17.75
18
0.802817
12
71
4.75
0.5
0.631579
0
0
0
0
0
0
0
0
0
0
0.140845
71
4
19
17.75
0.934426
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
0bee0b0b6b60e00b937addb3c120950eba991932
5,546
py
Python
osmchadjango/changeset/tests/test_whitelist_views.py
jbronn/osmcha-django
0de03fa081205f3a43114c5eb25211217f2dc0af
[ "BSD-2-Clause" ]
27
2015-09-06T00:39:39.000Z
2021-12-09T10:30:52.000Z
osmchadjango/changeset/tests/test_whitelist_views.py
jbronn/osmcha-django
0de03fa081205f3a43114c5eb25211217f2dc0af
[ "BSD-2-Clause" ]
494
2015-09-10T19:39:38.000Z
2022-03-29T08:07:37.000Z
osmchadjango/changeset/tests/test_whitelist_views.py
jbronn/osmcha-django
0de03fa081205f3a43114c5eb25211217f2dc0af
[ "BSD-2-Clause" ]
17
2015-08-10T22:58:56.000Z
2021-09-24T17:03:16.000Z
from django.urls import reverse from social_django.models import UserSocialAuth from rest_framework.test import APITestCase from ...users.models import User from ..models import UserWhitelist class TestWhitelistUserView(APITestCase): def setUp(self): self.user = User.objects.create_user( use...
40.188406
87
0.635593
605
5,546
5.700826
0.133884
0.100029
0.073065
0.117715
0.828646
0.815889
0.756451
0.741084
0.699913
0.66512
0
0.021786
0.246845
5,546
137
88
40.481752
0.803926
0.032816
0
0.647059
0
0
0.121664
0.039186
0
0
0
0
0.193277
1
0.067227
false
0.07563
0.042017
0
0.12605
0
0
0
0
null
0
0
0
1
1
1
1
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
1
0
0
0
0
0
6
0bf1a35e40a194820550663548e77f7befa538d4
198
py
Python
cycl/utils.py
alekseyev/cycl
344859da4c231b582c23992fe1fdffc000c78e52
[ "MIT" ]
null
null
null
cycl/utils.py
alekseyev/cycl
344859da4c231b582c23992fe1fdffc000c78e52
[ "MIT" ]
null
null
null
cycl/utils.py
alekseyev/cycl
344859da4c231b582c23992fe1fdffc000c78e52
[ "MIT" ]
null
null
null
import secrets import string ALPHABET = string.ascii_letters + string.digits PASSWORD_LENGTH = 16 def gen_password(): return "".join(secrets.choice(ALPHABET) for i in range(PASSWORD_LENGTH))
19.8
76
0.772727
27
198
5.518519
0.703704
0.187919
0
0
0
0
0
0
0
0
0
0.011696
0.136364
198
9
77
22
0.859649
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0.5
0.333333
0.166667
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
1
1
0
0
6
042eaea8355441a278d0b3f22390d9932a84bdf0
40
py
Python
__init__.py
catplotlib/Relabel
f16180a849293f5322134a071071ff9f2d04f864
[ "MIT" ]
3
2020-06-11T16:08:07.000Z
2020-08-01T06:45:16.000Z
__init__.py
catplotlib/Relabel
f16180a849293f5322134a071071ff9f2d04f864
[ "MIT" ]
null
null
null
__init__.py
catplotlib/Relabel
f16180a849293f5322134a071071ff9f2d04f864
[ "MIT" ]
null
null
null
from relabel.relabel import change_name
20
39
0.875
6
40
5.666667
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.1
40
1
40
40
0.944444
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
0459b8d1dcc659ae4206659ab87324eab52651ba
36
py
Python
ML Notebooks/00--Practice Work/on pycharm/pandas1.py
Sahil-Chavan/ML_Playground
cd6b12db7f64e58aae88d7672343aa0406347bb1
[ "Unlicense" ]
null
null
null
ML Notebooks/00--Practice Work/on pycharm/pandas1.py
Sahil-Chavan/ML_Playground
cd6b12db7f64e58aae88d7672343aa0406347bb1
[ "Unlicense" ]
9
2020-09-30T20:07:30.000Z
2021-02-21T18:39:16.000Z
ML Notebooks/00--Practice Work/on pycharm/pandas1.py
Sahil-Chavan/ML_Playground
cd6b12db7f64e58aae88d7672343aa0406347bb1
[ "Unlicense" ]
null
null
null
print('Hi there love this course')
12
34
0.722222
6
36
4.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.166667
36
2
35
18
0.866667
0
0
0
0
0
0.714286
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
6
045eaac94c6d020f1e4cdf0ee27caa5d86e0bb75
29
py
Python
tejas/schemas/__init__.py
ProjektTejas/tejas-service
82e2effbc3725115fac903ff807c4cd765659367
[ "MIT" ]
null
null
null
tejas/schemas/__init__.py
ProjektTejas/tejas-service
82e2effbc3725115fac903ff807c4cd765659367
[ "MIT" ]
null
null
null
tejas/schemas/__init__.py
ProjektTejas/tejas-service
82e2effbc3725115fac903ff807c4cd765659367
[ "MIT" ]
null
null
null
from .msg import Msg, TaskId
14.5
28
0.758621
5
29
4.4
0.8
0
0
0
0
0
0
0
0
0
0
0
0.172414
29
1
29
29
0.916667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
0b0576ca4453f52d42e31e1a6335934efe341e59
11,557
py
Python
tests/test_validate_input.py
pr/dos
4f16183031966cab79c69e105e5ab080a828229e
[ "MIT" ]
1
2020-03-02T03:03:37.000Z
2020-03-02T03:03:37.000Z
tests/test_validate_input.py
pr/dos
4f16183031966cab79c69e105e5ab080a828229e
[ "MIT" ]
null
null
null
tests/test_validate_input.py
pr/dos
4f16183031966cab79c69e105e5ab080a828229e
[ "MIT" ]
null
null
null
from http import HTTPStatus from dos import prop, prop_wrapper, validators from dos.flask_wrappers import validate_input def test_validate_input(): input_schema = { "basic_string": prop.String(), "basic_boolean": prop.Boolean() } given_request = { "basic_string": "test string", ...
27.321513
127
0.635286
1,292
11,557
5.356811
0.087461
0.066753
0.048548
0.060685
0.879497
0.849588
0.840919
0.83355
0.784569
0.739055
0
0.010916
0.25491
11,557
423
128
27.321513
0.792823
0
0
0.549839
0
0
0.257917
0.02933
0
0
0
0
0.135048
1
0.067524
false
0
0.009646
0
0.07717
0
0
0
0
null
0
0
0
1
1
1
1
1
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
6
0b1843e1abf43bce69a9df45be599e4ce31d6d89
141
py
Python
tests/collection/__init__.py
caputomarcos/mongorest
57d6b28d75e18afed5cef7160522958153b5be15
[ "BSD-3-Clause" ]
16
2015-04-18T02:51:09.000Z
2020-12-15T18:05:16.000Z
tests/collection/__init__.py
caputomarcos/mongorest
57d6b28d75e18afed5cef7160522958153b5be15
[ "BSD-3-Clause" ]
8
2015-11-24T23:06:03.000Z
2016-07-21T17:57:59.000Z
tests/collection/__init__.py
caputomarcos/mongorest
57d6b28d75e18afed5cef7160522958153b5be15
[ "BSD-3-Clause" ]
2
2015-12-04T13:45:32.000Z
2016-06-11T13:44:53.000Z
# -*- encoding: UTF-8 -*- from __future__ import absolute_import, unicode_literals from .collection import * from .collection_meta import *
23.5
56
0.765957
17
141
5.941176
0.647059
0.277228
0
0
0
0
0
0
0
0
0
0.008197
0.134752
141
5
57
28.2
0.819672
0.163121
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
9bdb1172a9de99b3cea0043cbd4adb5285fcbe1c
10,821
py
Python
tests/stats_test.py
fareedmirza/silverpieces
930edb9d962cb322a19e66aa3cc29eebe6d1d037
[ "MIT" ]
1
2019-07-17T04:30:37.000Z
2019-07-17T04:30:37.000Z
tests/stats_test.py
fareedmirza/silverpieces
930edb9d962cb322a19e66aa3cc29eebe6d1d037
[ "MIT" ]
5
2019-07-17T03:49:19.000Z
2019-07-18T04:41:20.000Z
tests/stats_test.py
fareedmirza/silverpieces
930edb9d962cb322a19e66aa3cc29eebe6d1d037
[ "MIT" ]
3
2020-03-01T22:15:52.000Z
2020-07-29T05:44:54.000Z
import logging logging.getLogger().setLevel(logging.DEBUG) logging.debug('hi from the logger!') import unittest import os import sys import yaml import xarray as xr root_pkg_dir = os.path.join(os.path.dirname(__file__),'..') sys.path.append(root_pkg_dir) from silverpieces.functions import * from utilities import * ...
42.940476
158
0.545144
1,371
10,821
4.153173
0.134209
0.079031
0.099579
0.065859
0.817352
0.800843
0.774851
0.764665
0.761503
0.761503
0
0.05894
0.346179
10,821
251
159
43.111554
0.745866
0.143517
0
0.684211
0
0
0.1921
0
0
0
0
0
0.147368
1
0.042105
false
0
0.047368
0
0.094737
0.042105
0
0
0
null
0
0
0
1
1
1
1
1
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
6
500fe86ee8620e963916c20a78d42d0c4b60fa60
120
py
Python
application/modules/api_error.py
Alveo/transcriber-segmentor
af296ab93994daab8cc924684f7901deb2948eca
[ "BSD-3-Clause" ]
null
null
null
application/modules/api_error.py
Alveo/transcriber-segmentor
af296ab93994daab8cc924684f7901deb2948eca
[ "BSD-3-Clause" ]
null
null
null
application/modules/api_error.py
Alveo/transcriber-segmentor
af296ab93994daab8cc924684f7901deb2948eca
[ "BSD-3-Clause" ]
2
2017-10-31T05:24:09.000Z
2018-05-21T03:16:30.000Z
from flask import jsonify def api_error(message): return jsonify({'error': True, 'code': 400, 'message': message})
24
68
0.7
16
120
5.1875
0.75
0
0
0
0
0
0
0
0
0
0
0.029412
0.15
120
4
69
30
0.784314
0
0
0
0
0
0.133333
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
6
5028b0b5e4b937dcf99ee595e9753b98a7412186
171
py
Python
tavern/testutils/pytesthook/__init__.py
dkmalav/tavern
e8ecab9bc876523997d61c57d572c330c08124a2
[ "MIT" ]
null
null
null
tavern/testutils/pytesthook/__init__.py
dkmalav/tavern
e8ecab9bc876523997d61c57d572c330c08124a2
[ "MIT" ]
null
null
null
tavern/testutils/pytesthook/__init__.py
dkmalav/tavern
e8ecab9bc876523997d61c57d572c330c08124a2
[ "MIT" ]
null
null
null
from .hooks import pytest_collect_file, pytest_addoption from .util import add_parser_options __all__ = ["pytest_addoption", "pytest_collect_file", "add_parser_options"]
34.2
75
0.830409
23
171
5.565217
0.521739
0.203125
0.265625
0
0
0
0
0
0
0
0
0
0.087719
171
4
76
42.75
0.820513
0
0
0
0
0
0.309942
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
6
503b840c51869de8ca11a160ed2d10b9a3cfcfac
27,604
py
Python
src/tfchain/tests/types/transactions.py
GlenDC/threefold-wallet-electron
440662a793d98781eb3bbf415ba8a482abed0288
[ "MIT" ]
null
null
null
src/tfchain/tests/types/transactions.py
GlenDC/threefold-wallet-electron
440662a793d98781eb3bbf415ba8a482abed0288
[ "MIT" ]
201
2019-05-20T15:06:05.000Z
2019-07-16T12:48:59.000Z
src/tfchain/tests/types/transactions.py
GlenDC/threefold-wallet-electron
440662a793d98781eb3bbf415ba8a482abed0288
[ "MIT" ]
1
2019-12-20T21:45:39.000Z
2019-12-20T21:45:39.000Z
from tfchain.types.transactions.Base import TransactionBaseClass, TransactionVersion from tfchain.types.transactions.Standard import TransactionV1 # from tfchain.types.transactions.Minting import TransactionV128, TransactionV129 # from tfchain.types.transactions.ThreeBot import BotTransactionBaseClass, TransactionV144,...
151.67033
1,344
0.849949
1,748
27,604
13.200229
0.184211
0.018202
0.011311
0.019763
0.39161
0.36552
0.329592
0.294401
0.228179
0.215654
0
0.375029
0.049196
27,604
181
1,345
152.508287
0.504115
0.517824
0
0.275862
0
0.155172
0.717698
0.717698
0
0
0
0
0.017241
1
0.034483
false
0
0.103448
0
0.137931
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
505b729cbda0d87453be80ca873ba78d1d32c972
192
py
Python
tests/test_module.py
brownjl/hue2mqtt-python
8bbeed59fd7bb18c42131590e6d25544db3091fa
[ "MIT" ]
5
2021-07-18T16:41:18.000Z
2022-02-03T14:42:15.000Z
tests/test_module.py
brownjl/hue2mqtt-python
8bbeed59fd7bb18c42131590e6d25544db3091fa
[ "MIT" ]
3
2021-09-16T23:56:29.000Z
2022-03-29T21:08:54.000Z
tests/test_module.py
brownjl/hue2mqtt-python
8bbeed59fd7bb18c42131590e6d25544db3091fa
[ "MIT" ]
2
2021-07-25T16:08:22.000Z
2021-09-17T15:05:10.000Z
"""Test that the hue2mqtt imports as expected.""" import hue2mqtt def test_module() -> None: """Test that the module behaves as expected.""" assert hue2mqtt.__version__ is not None
21.333333
51
0.708333
26
192
5.038462
0.615385
0.122137
0.167939
0
0
0
0
0
0
0
0
0.019231
0.1875
192
8
52
24
0.820513
0.442708
0
0
0
0
0
0
0
0
0
0
0.333333
1
0.333333
true
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
0
0
6
4a13557a115409a096ed41e7cf7dcfe04a4118ed
134
py
Python
app/eventFrameAttributeTemplates/__init__.py
DeschutesBrewery/brewerypi
5459dfc6b1ed415920c13a8a7c9a2d3d3c82099f
[ "MIT" ]
27
2017-11-27T05:01:05.000Z
2020-11-14T19:52:26.000Z
app/eventFrameAttributeTemplates/__init__.py
DeschutesBrewery/brewerypi
5459dfc6b1ed415920c13a8a7c9a2d3d3c82099f
[ "MIT" ]
259
2017-11-23T00:43:26.000Z
2020-11-03T01:07:30.000Z
app/eventFrameAttributeTemplates/__init__.py
DeschutesBrewery/brewerypi
5459dfc6b1ed415920c13a8a7c9a2d3d3c82099f
[ "MIT" ]
8
2018-10-29T04:39:29.000Z
2020-10-01T22:18:12.000Z
from flask import Blueprint eventFrameAttributeTemplates = Blueprint("eventFrameAttributeTemplates", __name__) from . import routes
22.333333
82
0.843284
11
134
9.909091
0.636364
0.678899
0
0
0
0
0
0
0
0
0
0
0.104478
134
5
83
26.8
0.908333
0
0
0
0
0
0.208955
0.208955
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0.666667
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
1
0
6
4a19488b7518e11550f4c9050ea8bb16561262f8
379
py
Python
src/time_functions.py
joseph-mccarthy/night-sky-pi
045b54c8ae8d551e951cd35bc40a94d3a4171975
[ "MIT" ]
null
null
null
src/time_functions.py
joseph-mccarthy/night-sky-pi
045b54c8ae8d551e951cd35bc40a94d3a4171975
[ "MIT" ]
null
null
null
src/time_functions.py
joseph-mccarthy/night-sky-pi
045b54c8ae8d551e951cd35bc40a94d3a4171975
[ "MIT" ]
null
null
null
from datetime import datetime, timedelta def _get_now() -> datetime: return datetime.now() def get_today() -> datetime: return _get_now() def get_tomorrow() -> datetime: return _get_now() + timedelta(1) def get_yesterday() -> datetime: return _get_now() - timedelta(1) def get_dates() -> tuple():...
18.95
57
0.6781
48
379
5.041667
0.291667
0.123967
0.210744
0.247934
0.297521
0.297521
0.297521
0.297521
0
0
0
0.006452
0.182058
379
19
58
19.947368
0.774194
0
0
0
0
0
0
0
0
0
0
0
0
1
0.454545
true
0
0.090909
0.454545
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
1
1
0
0
6
c58a9f003241e7dfa809b3f532c464dbf8a51330
15,550
py
Python
pybind/nos/v7_1_0/vcenter/credentials/__init__.py
shivharis/pybind
4e1c6d54b9fd722ccec25546ba2413d79ce337e6
[ "Apache-2.0" ]
null
null
null
pybind/nos/v7_1_0/vcenter/credentials/__init__.py
shivharis/pybind
4e1c6d54b9fd722ccec25546ba2413d79ce337e6
[ "Apache-2.0" ]
null
null
null
pybind/nos/v7_1_0/vcenter/credentials/__init__.py
shivharis/pybind
4e1c6d54b9fd722ccec25546ba2413d79ce337e6
[ "Apache-2.0" ]
1
2021-11-05T22:15:42.000Z
2021-11-05T22:15:42.000Z
from operator import attrgetter import pyangbind.lib.xpathhelper as xpathhelper from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType from pyangbind.lib.base import PybindBase from d...
63.729508
627
0.702637
2,126
15,550
4.929445
0.088429
0.043893
0.048092
0.021374
0.78416
0.759351
0.749046
0.738836
0.738836
0.726622
0
0.005825
0.138842
15,550
243
628
63.99177
0.77679
0.139614
0
0.425676
0
0.047297
0.36722
0.163522
0
0
0
0
0
1
0.101351
false
0.087838
0.054054
0
0.283784
0
0
0
0
null
0
0
0
0
1
1
1
1
1
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
6
c5a8273f07ad0d000c743170fca0936bb86aa55f
44
py
Python
autorop/turnkey/__init__.py
mariuszskon/autorop
5735073008f722fab00f3866ef4a05f04620593b
[ "MIT" ]
15
2020-10-03T05:20:31.000Z
2022-03-20T06:19:29.000Z
autorop/turnkey/__init__.py
mariuszskon/autorop
5735073008f722fab00f3866ef4a05f04620593b
[ "MIT" ]
8
2020-10-02T09:51:39.000Z
2021-04-24T03:14:18.000Z
autorop/turnkey/__init__.py
mariuszskon/autorop
5735073008f722fab00f3866ef4a05f04620593b
[ "MIT" ]
2
2021-04-16T06:33:49.000Z
2021-09-03T09:21:10.000Z
from autorop.turnkey.Classic import Classic
22
43
0.863636
6
44
6.333333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.090909
44
1
44
44
0.95
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
c5d0c0cc85771f44bb44b15e859febcd3280018c
10,463
py
Python
trading_mechanisms/utils.py
xenophonlabs/dydx-trader-rewards
9d04847621518102786c62a8f298ef206078e931
[ "MIT" ]
1
2022-03-31T22:40:40.000Z
2022-03-31T22:40:40.000Z
trading_mechanisms/utils.py
xenophonlabs/dydx-trader-rewards
9d04847621518102786c62a8f298ef206078e931
[ "MIT" ]
null
null
null
trading_mechanisms/utils.py
xenophonlabs/dydx-trader-rewards
9d04847621518102786c62a8f298ef206078e931
[ "MIT" ]
null
null
null
import sympy as sp import numpy as np def dist(v1, v2): """ Root-mean-squared-error between vector 1 and vector 2 """ return (sum([(v1[i]-v2[i])**2 for i in range(len(v1))])/len(v1))**(1/2) def cur_mkt_score(ds, fs): """ Given a bunch of participants' open-interests and fees, calculate the...
34.760797
123
0.65746
1,766
10,463
3.663647
0.108154
0.042658
0.032458
0.025966
0.8949
0.882535
0.870634
0.870634
0.861824
0.852396
0
0.025459
0.219153
10,463
300
124
34.876667
0.766463
0.283093
0
0.629139
0
0
0.027801
0
0
0
0
0
0
1
0.13245
false
0
0.013245
0.006623
0.291391
0
0
0
0
null
0
0
0
1
1
1
1
1
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
6
c5d8c1bd9a51dbb2de30acf5ad43d2d9d52cbacc
99
py
Python
Inheritance/project_vehicle/cross_motorcycle.py
vasetousa/OOP
e4fedc497dd149c9800613ea11846e0e770d122c
[ "MIT" ]
null
null
null
Inheritance/project_vehicle/cross_motorcycle.py
vasetousa/OOP
e4fedc497dd149c9800613ea11846e0e770d122c
[ "MIT" ]
null
null
null
Inheritance/project_vehicle/cross_motorcycle.py
vasetousa/OOP
e4fedc497dd149c9800613ea11846e0e770d122c
[ "MIT" ]
null
null
null
from project_restaurant.motorcycle import Motorcycle class CrossMotorcycle(Motorcycle): pass
16.5
52
0.828283
10
99
8.1
0.8
0
0
0
0
0
0
0
0
0
0
0
0.131313
99
5
53
19.8
0.94186
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
6
c5df486575526fe52939ef55112f233d1aeb588e
35
py
Python
examples/Python.py
JStearsman/hello-worlds
314ce36b4e7f38c357b87a6957afd1773b5f4ec5
[ "Unlicense" ]
81
2017-10-01T14:07:28.000Z
2021-12-20T15:47:33.000Z
examples/Python.py
JStearsman/hello-worlds
314ce36b4e7f38c357b87a6957afd1773b5f4ec5
[ "Unlicense" ]
333
2017-10-01T13:37:50.000Z
2021-05-27T21:48:55.000Z
examples/Python.py
JStearsman/hello-worlds
314ce36b4e7f38c357b87a6957afd1773b5f4ec5
[ "Unlicense" ]
739
2017-10-01T13:42:46.000Z
2021-12-24T11:39:49.000Z
# Hello World print("Hello World")
11.666667
20
0.714286
5
35
5
0.6
0.8
0
0
0
0
0
0
0
0
0
0
0.142857
35
2
21
17.5
0.833333
0.314286
0
0
0
0
0.5
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
1
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
6
c5e26ab1885ff44c8f7a2a72d09007ae1c99220b
34
py
Python
lingua_franca/lang/parse_sl.py
NeonDaniel/lingua-franca
eee95702016b4013b0d81dc74da98cd2d2f53358
[ "Apache-2.0" ]
191
2022-01-18T10:24:01.000Z
2022-03-31T10:12:22.000Z
lingua_franca/lang/parse_sl.py
NeonDaniel/lingua-franca
eee95702016b4013b0d81dc74da98cd2d2f53358
[ "Apache-2.0" ]
188
2019-08-06T02:00:17.000Z
2022-03-31T21:50:22.000Z
lingua_franca/lang/parse_sl.py
NeonDaniel/lingua-franca
eee95702016b4013b0d81dc74da98cd2d2f53358
[ "Apache-2.0" ]
71
2019-04-16T18:12:22.000Z
2022-03-27T07:37:18.000Z
# TODO implement parsing function
17
33
0.823529
4
34
7
1
0
0
0
0
0
0
0
0
0
0
0
0.147059
34
1
34
34
0.965517
0.911765
0
null
0
null
0
0
null
0
0
1
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
1
0
0
0
1
0
0
0
0
0
0
6
a86d396825351f266364ed56bab343a8de26987c
9,804
py
Python
huaweicloud-sdk-kms/huaweicloudsdkkms/v1/__init__.py
Adek06/huaweicloud-sdk-python-v3
3d13b27d089e04a1ae567cd649b3c5509e0391d2
[ "Apache-2.0" ]
null
null
null
huaweicloud-sdk-kms/huaweicloudsdkkms/v1/__init__.py
Adek06/huaweicloud-sdk-python-v3
3d13b27d089e04a1ae567cd649b3c5509e0391d2
[ "Apache-2.0" ]
null
null
null
huaweicloud-sdk-kms/huaweicloudsdkkms/v1/__init__.py
Adek06/huaweicloud-sdk-python-v3
3d13b27d089e04a1ae567cd649b3c5509e0391d2
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 from __future__ import absolute_import # import KmsClient from huaweicloudsdkkms.v1.kms_client import KmsClient from huaweicloudsdkkms.v1.kms_async_client import KmsAsyncClient # import models into sdk package from huaweicloudsdkkms.v1.model.action_resources import ActionResources from huaweicloudsdkk...
81.024793
118
0.917075
1,109
9,804
7.827773
0.165915
0.273356
0.299389
0.358023
0.520793
0.492224
0.371386
0.161272
0.037093
0
0
0.012215
0.048042
9,804
120
119
81.7
0.917926
0.006222
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
a8745b236ed9503f3e13dd36194b2e432f378461
26
py
Python
sketchy/terminal/plot/__init__.py
mbhall88/sketchy
5ed26d28f104710f6d425053eae41fd0e99f8760
[ "MIT" ]
null
null
null
sketchy/terminal/plot/__init__.py
mbhall88/sketchy
5ed26d28f104710f6d425053eae41fd0e99f8760
[ "MIT" ]
null
null
null
sketchy/terminal/plot/__init__.py
mbhall88/sketchy
5ed26d28f104710f6d425053eae41fd0e99f8760
[ "MIT" ]
null
null
null
from .commands import plot
26
26
0.846154
4
26
5.5
1
0
0
0
0
0
0
0
0
0
0
0
0.115385
26
1
26
26
0.956522
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
a88c843d683c7faf9d9c2b6004aad779cdb2c244
7,958
py
Python
tests/test_client.py
mmorita44/py3pocket
4fcc11fe6108136a40d09c51784f2f52663b9752
[ "MIT" ]
null
null
null
tests/test_client.py
mmorita44/py3pocket
4fcc11fe6108136a40d09c51784f2f52663b9752
[ "MIT" ]
null
null
null
tests/test_client.py
mmorita44/py3pocket
4fcc11fe6108136a40d09c51784f2f52663b9752
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import unittest from unittest.mock import patch, MagicMock from py3pocket import Client, authorize, PocketError from requests import Session class StubClient(Client): def __init__(self): self._Client__consumer_key = '' self._Client__access_token = '' self._Client_...
37.186916
118
0.615733
923
7,958
5.100758
0.12026
0.070093
0.083263
0.107052
0.800977
0.793118
0.748726
0.742353
0.720051
0.680969
0
0.016631
0.236869
7,958
213
119
37.361502
0.758604
0.025886
0
0.557971
0
0
0.105904
0
0
0
0
0
0.181159
1
0.130435
false
0.021739
0.028986
0
0.181159
0
0
0
0
null
0
0
0
1
1
1
1
1
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
6
763477ea33aacbeeb0b065cc8b5b545a767f9b09
4,458
py
Python
src/HABApp/rule/interfaces/_http.py
DerOetzi/HABApp
a123fbfa9928ebb3cda9a84f6984dcba593c8236
[ "Apache-2.0" ]
44
2018-12-13T08:46:44.000Z
2022-03-07T03:23:21.000Z
src/HABApp/rule/interfaces/_http.py
DerOetzi/HABApp
a123fbfa9928ebb3cda9a84f6984dcba593c8236
[ "Apache-2.0" ]
156
2019-03-02T20:53:31.000Z
2022-03-23T13:13:58.000Z
src/HABApp/rule/interfaces/_http.py
DerOetzi/HABApp
a123fbfa9928ebb3cda9a84f6984dcba593c8236
[ "Apache-2.0" ]
18
2019-03-08T07:13:21.000Z
2022-03-22T19:52:31.000Z
from typing import Any, Optional, Mapping import aiohttp from HABApp.core.const import loop from HABApp.core.const.json import dump_json CLIENT: Optional[aiohttp.ClientSession] = None async def create_client(): global CLIENT assert CLIENT is None CLIENT = aiohttp.ClientSession(json_serialize=dump_jso...
41.663551
116
0.666891
581
4,458
5.067126
0.173838
0.027514
0.048913
0.058084
0.820992
0.804688
0.804688
0.793478
0.793478
0.750679
0
0
0.236205
4,458
106
117
42.056604
0.864611
0.601839
0
0.3
0
0
0.019974
0
0
0
0
0
0.2
1
0.166667
false
0
0.166667
0
0.5
0
0
0
0
null
0
0
0
1
1
1
1
1
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
6
76525abeb85609dc6e6e792fcf64af01f9585241
7,174
py
Python
cirq-core/cirq/transformers/align_test.py
LLcat1217/Cirq
b88069f7b01457e592ad69d6b413642ef11a56b8
[ "Apache-2.0" ]
1
2022-02-05T22:17:39.000Z
2022-02-05T22:17:39.000Z
cirq-core/cirq/transformers/align_test.py
LLcat1217/Cirq
b88069f7b01457e592ad69d6b413642ef11a56b8
[ "Apache-2.0" ]
4
2022-01-16T14:12:15.000Z
2022-02-24T03:58:46.000Z
cirq-core/cirq/transformers/align_test.py
LLcat1217/Cirq
b88069f7b01457e592ad69d6b413642ef11a56b8
[ "Apache-2.0" ]
null
null
null
# Copyright 2022 The Cirq Developers # # 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
34
92
0.56203
902
7,174
4.314856
0.13082
0.120761
0.165468
0.084789
0.804985
0.801644
0.779034
0.767729
0.701439
0.6426
0
0.024696
0.27753
7,174
210
93
34.161905
0.72622
0.077641
0
0.60989
0
0
0.03559
0
0
0
0
0
0.049451
1
0.038462
false
0
0.005495
0
0.043956
0
0
0
0
null
0
0
0
1
1
1
1
1
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
6
768f45d6fb5cfd61633a14782802132aeb222136
23
py
Python
coremltools/converters/nnssa/frontend/tensorflow/__init__.py
Gerzer/coremltools
47e2010a68668bd1960dca040f5f87c0e66a0cbd
[ "BSD-3-Clause" ]
65
2019-10-02T09:56:22.000Z
2022-03-16T22:41:14.000Z
coremltools/converters/nnssa/frontend/tensorflow/__init__.py
Gerzer/coremltools
47e2010a68668bd1960dca040f5f87c0e66a0cbd
[ "BSD-3-Clause" ]
51
2020-01-13T07:54:13.000Z
2022-03-17T09:11:56.000Z
coremltools/converters/nnssa/frontend/tensorflow/__init__.py
Gerzer/coremltools
47e2010a68668bd1960dca040f5f87c0e66a0cbd
[ "BSD-3-Clause" ]
16
2020-03-06T09:26:03.000Z
2022-02-05T05:35:05.000Z
from .load import load
11.5
22
0.782609
4
23
4.5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.173913
23
1
23
23
0.947368
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
76937959c03da9eacfab1fca3d3550768d1bf128
1,064
py
Python
SRC/currency_package/Wallets2.py
asmith785/Package_Project
0b0f62ac23596aa0679f40786a356e54005bb32e
[ "MIT" ]
null
null
null
SRC/currency_package/Wallets2.py
asmith785/Package_Project
0b0f62ac23596aa0679f40786a356e54005bb32e
[ "MIT" ]
null
null
null
SRC/currency_package/Wallets2.py
asmith785/Package_Project
0b0f62ac23596aa0679f40786a356e54005bb32e
[ "MIT" ]
null
null
null
# %% class WalletEuro: coversion_rates = {"usd" :1.16, "gbp": 0.86, "yen": 131.79, "franc": 1.06} #shows euro conversion rates for each each currency starting at $1 def __init__(self,currency_amount): self.currency_amount = currency_amount self.currency_type = "euro" def convert_currency(...
29.555556
85
0.706767
133
1,064
5.383459
0.300752
0.167598
0.150838
0.145251
0.726257
0.726257
0.726257
0.726257
0.592179
0.592179
0
0.041128
0.200188
1,064
35
86
30.4
0.800235
0.162594
0
0.555556
0
0
0.040678
0
0
0
0
0.028571
0
1
0.222222
false
0
0
0
0.555556
0
0
0
0
null
0
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
1
0
0
6
76af71697aef6d538fbc86715d9a3775ffc07870
35
py
Python
effects.py
OrionDark7/pyweek26
daa767a412194360fda568f1885d6ca219db85db
[ "MIT" ]
null
null
null
effects.py
OrionDark7/pyweek26
daa767a412194360fda568f1885d6ca219db85db
[ "MIT" ]
null
null
null
effects.py
OrionDark7/pyweek26
daa767a412194360fda568f1885d6ca219db85db
[ "MIT" ]
1
2018-11-21T22:00:19.000Z
2018-11-21T22:00:19.000Z
import pygame, entities, structures
35
35
0.857143
4
35
7.5
1
0
0
0
0
0
0
0
0
0
0
0
0.085714
35
1
35
35
0.9375
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
76c8aa0547062a8d5c4fcac66f1616a0813e237b
11,557
py
Python
annotater/memetext/tests/test_new_test_annotation.py
stricoff92/annotater
8ca471477e2d567945e14f09d3d763d379e7587e
[ "MIT" ]
null
null
null
annotater/memetext/tests/test_new_test_annotation.py
stricoff92/annotater
8ca471477e2d567945e14f09d3d763d379e7587e
[ "MIT" ]
null
null
null
annotater/memetext/tests/test_new_test_annotation.py
stricoff92/annotater
8ca471477e2d567945e14f09d3d763d379e7587e
[ "MIT" ]
null
null
null
from io import BytesIO from decimal import Decimal from dateutil import parser as dateutil_parser from unittest import mock from django.urls import reverse from rest_framework import status from django.conf import settings import jwt from freezegun import freeze_time from .base import BaseTestCase from website.const...
44.621622
94
0.693606
1,403
11,557
5.384177
0.11618
0.125761
0.098226
0.077972
0.805798
0.79865
0.794943
0.772836
0.772836
0.772836
0
0.012593
0.20983
11,557
258
95
44.794574
0.814608
0.003634
0
0.663717
0
0
0.078707
0.006429
0
0
0
0
0.137168
1
0.057522
false
0
0.057522
0
0.119469
0
0
0
0
null
0
0
0
1
1
1
1
1
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
6
4f53e3781f95f1292fe2919cc8148b76aebebea4
10,160
py
Python
python/tests/test-4-qfunction.py
DiffeoInvariant/libCEED
fef6d6185073a4ded914e81d25fd2b60cc92d311
[ "BSD-2-Clause" ]
null
null
null
python/tests/test-4-qfunction.py
DiffeoInvariant/libCEED
fef6d6185073a4ded914e81d25fd2b60cc92d311
[ "BSD-2-Clause" ]
1
2019-01-10T19:51:55.000Z
2019-01-10T19:51:55.000Z
python/tests/test-4-qfunction.py
DiffeoInvariant/libCEED
fef6d6185073a4ded914e81d25fd2b60cc92d311
[ "BSD-2-Clause" ]
1
2021-03-30T23:13:18.000Z
2021-03-30T23:13:18.000Z
# Copyright (c) 2017, Lawrence Livermore National Security, LLC. Produced at # the Lawrence Livermore National Laboratory. LLNL-CODE-734707. All Rights # reserved. See files LICENSE and NOTICE for details. # # This file is part of CEED, a collection of benchmarks, miniapps, software # libraries and APIs for efficient h...
31.65109
85
0.55689
1,352
10,160
3.99926
0.147929
0.044757
0.042168
0.026447
0.781025
0.76142
0.74681
0.722582
0.706122
0.670427
0
0.017516
0.202067
10,160
320
86
31.75
0.649439
0.268701
0
0.830846
0
0
0.049147
0.022475
0
0
0
0
0.044776
1
0.039801
false
0
0.029851
0
0.074627
0.024876
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
4f6183c328fe971913ecc88594bf95c7bc6d27cd
29
py
Python
tools/ucdcompiler/__init__.py
al45tair/libucd
6cbc5c4646b01b536e8914c6d9c7884a2bf1aba0
[ "MIT" ]
null
null
null
tools/ucdcompiler/__init__.py
al45tair/libucd
6cbc5c4646b01b536e8914c6d9c7884a2bf1aba0
[ "MIT" ]
null
null
null
tools/ucdcompiler/__init__.py
al45tair/libucd
6cbc5c4646b01b536e8914c6d9c7884a2bf1aba0
[ "MIT" ]
null
null
null
from .main import build_data
14.5
28
0.827586
5
29
4.6
1
0
0
0
0
0
0
0
0
0
0
0
0.137931
29
1
29
29
0.92
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
4f868985c30231fbd283523dd7890465a343568c
27,469
py
Python
app/models/utils.py
jobsta/albumapp-flask
2bac8c4ff3557782f72a984b229dfa2d499b6beb
[ "MIT" ]
5
2020-08-31T14:08:14.000Z
2022-03-05T02:37:35.000Z
app/models/utils.py
jobsta/albumapp-flask
2bac8c4ff3557782f72a984b229dfa2d499b6beb
[ "MIT" ]
null
null
null
app/models/utils.py
jobsta/albumapp-flask
2bac8c4ff3557782f72a984b229dfa2d499b6beb
[ "MIT" ]
1
2021-05-28T10:41:05.000Z
2021-05-28T10:41:05.000Z
import datetime import decimal def create_album_report_template(): # use a predefined report definition so you don't have to start from scratch in this demo app, # for a real word app you would probably start with an empty report if nothing was saved previously from app.models import db report_defin...
97.407801
431
0.570024
2,502
27,469
6.101119
0.111111
0.034851
0.026204
0.032755
0.846708
0.834392
0.819522
0.816377
0.816377
0.805634
0
0.038272
0.230478
27,469
281
432
97.754448
0.68384
0.011977
0
0.520599
0
0
0.485181
0.036088
0
0
0
0
0
1
0.011236
false
0
0.018727
0
0.041199
0.037453
0
0
0
null
0
0
0
1
1
1
1
1
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
6
4f9956300cc3c9876a6c6a57e6d17fd64ebc4475
20,488
py
Python
src/test/python/_tests_definitions.py
stefano-bragaglia/DePYsible
6b53ede459a10f5e24da89d3ebaa05f08ec7af12
[ "BSD-2-Clause" ]
4
2018-09-24T23:51:05.000Z
2021-01-06T09:13:52.000Z
src/test/python/_tests_definitions.py
stefano-bragaglia/DefeasiblePython
6b53ede459a10f5e24da89d3ebaa05f08ec7af12
[ "BSD-2-Clause" ]
1
2020-05-26T01:14:44.000Z
2020-05-27T07:54:15.000Z
src/test/python/_tests_definitions.py
stefano-bragaglia/DePYsible
6b53ede459a10f5e24da89d3ebaa05f08ec7af12
[ "BSD-2-Clause" ]
null
null
null
from unittest import TestCase from arpeggio import NoMatch from assertpy import assert_that from assertpy import fail from depysible.domain.definitions import Atom from depysible.domain.definitions import Literal from depysible.domain.definitions import Rule from depysible.domain.definitions import RuleType class T...
35.94386
114
0.500146
2,536
20,488
3.682177
0.046136
0.066395
0.076462
0.06072
0.938424
0.893339
0.852538
0.840116
0.807882
0.780788
0
0.029062
0.323165
20,488
569
115
36.00703
0.644335
0.010884
0
0.631579
0
0.006316
0.117842
0
0
0
0
0
0.162105
1
0.151579
false
0
0.016842
0
0.174737
0
0
0
0
null
0
0
0
1
1
1
1
1
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
6
96f9f763f001edc54c216af1644b2fe6a1e11982
129
py
Python
python/mccc3j1.py
ThePeeps191/dmoj-solutions
7137e945f3f595c481ad4d29e1dc3a77d8b26e55
[ "MIT" ]
1
2022-01-23T16:02:14.000Z
2022-01-23T16:02:14.000Z
python/mccc3j1.py
ThePeeps191/dmoj-solutions
7137e945f3f595c481ad4d29e1dc3a77d8b26e55
[ "MIT" ]
5
2022-01-23T00:16:49.000Z
2022-01-30T04:37:45.000Z
python/mccc3j1.py
ThePeeps191/dmoj-solutions
7137e945f3f595c481ad4d29e1dc3a77d8b26e55
[ "MIT" ]
1
2022-01-23T00:03:47.000Z
2022-01-23T00:03:47.000Z
N, i, j = int(input()), int(input()), int(input()) dif1, dif2 = abs(N - i ** 2), abs(N - j ** 2) print(1 if dif1 < dif2 else 2)
25.8
50
0.527132
26
129
2.615385
0.5
0.352941
0.323529
0.470588
0
0
0
0
0
0
0
0.079208
0.217054
129
5
51
25.8
0.594059
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0.333333
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
6
8c2d2d177215f1b6216e43abf0867be197ccf8a2
138
py
Python
app/db/__init__.py
Klafyvel/porygon-ftp
40b9c7a1318d703fa3037559b072c918c38dc496
[ "MIT" ]
24
2015-10-25T22:33:35.000Z
2022-02-16T22:44:20.000Z
app/db/__init__.py
Klafyvel/porygon-ftp
40b9c7a1318d703fa3037559b072c918c38dc496
[ "MIT" ]
3
2015-04-04T12:26:16.000Z
2015-10-26T20:20:11.000Z
app/db/__init__.py
Klafyvel/porygon-ftp
40b9c7a1318d703fa3037559b072c918c38dc496
[ "MIT" ]
7
2015-10-25T22:35:44.000Z
2021-11-26T19:02:03.000Z
def get_backend(name): from importlib import import_module return import_module('{}.{}'.format(__name__, name), package=__name__)
34.5
74
0.73913
17
138
5.352941
0.647059
0.263736
0
0
0
0
0
0
0
0
0
0
0.130435
138
3
75
46
0.758333
0
0
0
0
0
0.036232
0
0
0
0
0
0
1
0.333333
false
0
0.666667
0
1.333333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
6
8c361db6fa905748eb51114dd8ad9a73b6ba59bc
39
py
Python
kawaiiapi/__init__.py
Keksiuwu/kawaii-api
ce96e4bf882510d87bba577f258887f0ad20fd63
[ "MIT" ]
null
null
null
kawaiiapi/__init__.py
Keksiuwu/kawaii-api
ce96e4bf882510d87bba577f258887f0ad20fd63
[ "MIT" ]
null
null
null
kawaiiapi/__init__.py
Keksiuwu/kawaii-api
ce96e4bf882510d87bba577f258887f0ad20fd63
[ "MIT" ]
1
2021-11-28T18:16:07.000Z
2021-11-28T18:16:07.000Z
from kawaiiapi.kawaiiapi import kawaii
19.5
38
0.871795
5
39
6.8
0.8
0
0
0
0
0
0
0
0
0
0
0
0.102564
39
1
39
39
0.971429
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
4fb61632585c41f7bf7e525eaf371ebfd200b879
28
py
Python
new_python_test/main/test.py
ecosml-dev/new-python-test
cbe188539000e6863575da1ffe523d33b0fabc54
[ "MIT" ]
null
null
null
new_python_test/main/test.py
ecosml-dev/new-python-test
cbe188539000e6863575da1ffe523d33b0fabc54
[ "MIT" ]
null
null
null
new_python_test/main/test.py
ecosml-dev/new-python-test
cbe188539000e6863575da1ffe523d33b0fabc54
[ "MIT" ]
null
null
null
print "Hello package world"
14
27
0.785714
4
28
5.5
1
0
0
0
0
0
0
0
0
0
0
0
0.142857
28
1
28
28
0.916667
0
0
0
0
0
0.678571
0
0
0
0
0
0
0
null
null
0
0
null
null
1
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
6
4ff00ab0c2677f785fd9c0a047723f3316eb1d9e
141
py
Python
uiflow_custom_block_generator/__init__.py
3110/uiflow-custom-block-generator
66ac171c002071391ae96d8544adce44026d1998
[ "MIT" ]
null
null
null
uiflow_custom_block_generator/__init__.py
3110/uiflow-custom-block-generator
66ac171c002071391ae96d8544adce44026d1998
[ "MIT" ]
null
null
null
uiflow_custom_block_generator/__init__.py
3110/uiflow-custom-block-generator
66ac171c002071391ae96d8544adce44026d1998
[ "MIT" ]
null
null
null
from uiflow_custom_block_generator.uiflow_custom_block_generator import UiFlowCustomBlockGenerator __all__ = ["UiFlowCustomBlockGenerator"]
35.25
98
0.900709
13
141
9
0.615385
0.205128
0.290598
0.444444
0
0
0
0
0
0
0
0
0.056738
141
3
99
47
0.879699
0
0
0
0
0
0.184397
0.184397
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
6
8c8c96c0e7b09e205524c98f3562a37360374393
2,598
py
Python
examples/fft_test.py
dbstein/field_ops
70359a1be37d911b879746e5c61d6d10da1c0f3b
[ "Apache-2.0" ]
null
null
null
examples/fft_test.py
dbstein/field_ops
70359a1be37d911b879746e5c61d6d10da1c0f3b
[ "Apache-2.0" ]
null
null
null
examples/fft_test.py
dbstein/field_ops
70359a1be37d911b879746e5c61d6d10da1c0f3b
[ "Apache-2.0" ]
null
null
null
import numpy as np import numexpr as ne import numba import time print('--- Testing 3D FFTS ---') n = 1024 LL = 3 A = np.random.rand(n,n,n) @numba.njit(parallel=True) def ccopy(x, y): for i in numba.prange(n): for j in range(n): for k in range(n): y[i,j,k] = x[i,j,k] C = np.empty(A.shape, dtype=complex) c...
23.405405
72
0.651655
519
2,598
3.246628
0.163776
0.04451
0.091395
0.078338
0.814837
0.800593
0.760831
0.725816
0.705045
0.705045
0
0.022487
0.161278
2,598
110
73
23.618182
0.750803
0.045035
0
0.578313
0
0
0.402424
0.01697
0
0
0
0
0
1
0.084337
false
0
0.048193
0
0.180723
0.204819
0
0
0
null
0
0
0
1
1
1
1
1
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
6
8cd0d9f673bc818a420a8ddaa834dae4d7f55c42
108
py
Python
kube/tools/timekeeping.py
nearmap/kubefs
e2f6c019f04e436d031874e40c59ba0ee61d8c58
[ "MIT" ]
3
2021-05-31T06:45:37.000Z
2021-10-05T22:36:37.000Z
kube/tools/timekeeping.py
nearmap/kubefs
e2f6c019f04e436d031874e40c59ba0ee61d8c58
[ "MIT" ]
8
2021-09-06T00:43:13.000Z
2021-10-01T00:22:53.000Z
kube/tools/timekeeping.py
nearmap/kubefs
e2f6c019f04e436d031874e40c59ba0ee61d8c58
[ "MIT" ]
null
null
null
from datetime import datetime, timezone def date_now() -> datetime: return datetime.now(timezone.utc)
18
39
0.75
14
108
5.714286
0.642857
0
0
0
0
0
0
0
0
0
0
0
0.157407
108
5
40
21.6
0.879121
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
true
0
0.333333
0.333333
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
1
0
0
0
6
50f2c37beddc4bab7fcca5fd31439fca6760aa1d
7,512
py
Python
Tests/test_github_update.py
KwiatQIM/Quantum-Tomography
e10d03b9dc5c8c1bb61a081db1aef70a4b2bb6ca
[ "MIT" ]
11
2020-06-23T13:44:30.000Z
2021-10-22T02:55:14.000Z
Tests/test_github_update.py
KwiatQIM/Quantum-Tomography
e10d03b9dc5c8c1bb61a081db1aef70a4b2bb6ca
[ "MIT" ]
3
2020-06-23T00:09:46.000Z
2021-09-12T23:25:05.000Z
Tests/test_github_update.py
KwiatQIM/Quantum-Tomography
e10d03b9dc5c8c1bb61a081db1aef70a4b2bb6ca
[ "MIT" ]
4
2020-08-11T09:11:17.000Z
2021-11-06T05:47:47.000Z
from __future__ import print_function from TestRun import runTests from test_properties import Test_Properties from test_functions import Test_Functions import unittest import warnings warnings.filterwarnings("ignore") """ Copyright 2020 University of Illinois Board of Trustees. Licensed under the terms of an MIT lic...
38.92228
107
0.646965
921
7,512
4.988056
0.140065
0.124075
0.078581
0.124075
0.844145
0.844145
0.844145
0.842621
0.835873
0.834349
0
0.051724
0.281949
7,512
193
108
38.92228
0.799963
0.003328
0
0.690909
0
0
0.014886
0
0
0
0
0
0.115152
1
0.115152
false
0
0.036364
0
0.157576
0.006061
0
0
0
null
0
0
0
1
1
1
1
1
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
6
0f9ca6b3483da180665f621f1f8102016be1062d
238
py
Python
lwh/23MessageBoard/app/views.py
saurabh896/python-1
f8d3aedf4c0fe6e24dfa3269ea7e642c9f7dd9b7
[ "MIT" ]
3,976
2015-01-01T15:49:39.000Z
2022-03-31T03:47:56.000Z
lwh/23MessageBoard/app/views.py
dwh65416396/python
1a7e3edd1cd3422cc0eaa55471a0b42e004a9a1a
[ "MIT" ]
97
2015-01-11T02:59:46.000Z
2022-03-16T14:01:56.000Z
lwh/23MessageBoard/app/views.py
dwh65416396/python
1a7e3edd1cd3422cc0eaa55471a0b42e004a9a1a
[ "MIT" ]
3,533
2015-01-01T06:19:30.000Z
2022-03-28T13:14:54.000Z
from app import app from flask import render_template @app.route('/') def index(): return render_template('index.html') @app.route('/postmessage',methods=["POST",]) def postMessage(): return render_template('handlemessage.html')
23.8
48
0.731092
30
238
5.7
0.5
0.245614
0.233918
0
0
0
0
0
0
0
0
0
0.113445
238
10
48
23.8
0.810427
0
0
0
0
0
0.188285
0
0
0
0
0
0
1
0.25
true
0
0.25
0.25
0.75
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
1
1
0
0
6
0fe6518828b01b29d5cd2af2ddc6735f0490730a
75
py
Python
apps/post/queries/__init__.py
rmdes/tanzawa
d53baa10bd6c217cd18628437a88a43e3bd02b70
[ "Apache-2.0" ]
25
2021-06-13T03:38:44.000Z
2022-03-15T15:53:31.000Z
apps/post/queries/__init__.py
rmdes/tanzawa
d53baa10bd6c217cd18628437a88a43e3bd02b70
[ "Apache-2.0" ]
59
2021-06-12T23:35:06.000Z
2022-03-24T21:40:24.000Z
apps/post/queries/__init__.py
rmdes/tanzawa
d53baa10bd6c217cd18628437a88a43e3bd02b70
[ "Apache-2.0" ]
null
null
null
from ._t_post import get_t_post_by_uuid __all__ = ("get_t_post_by_uuid",)
18.75
39
0.8
15
75
3.066667
0.533333
0.326087
0.347826
0.434783
0.608696
0
0
0
0
0
0
0
0.106667
75
3
40
25
0.686567
0
0
0
0
0
0.24
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
6
e899d871041eac715ef89eada5ef81d4e554a952
16,120
py
Python
dfirtrack_main/tests/system/test_system_datatables_processing.py
stuhli/dfirtrack
9260c91e4367b36d4cb1ae7efe4e2d2452f58e6e
[ "Apache-2.0" ]
273
2018-04-18T22:09:15.000Z
2021-06-04T09:15:48.000Z
dfirtrack_main/tests/system/test_system_datatables_processing.py
stuhli/dfirtrack
9260c91e4367b36d4cb1ae7efe4e2d2452f58e6e
[ "Apache-2.0" ]
75
2018-08-31T11:05:37.000Z
2021-06-08T14:15:07.000Z
dfirtrack_main/tests/system/test_system_datatables_processing.py
stuhli/dfirtrack
9260c91e4367b36d4cb1ae7efe4e2d2452f58e6e
[ "Apache-2.0" ]
61
2018-11-12T22:55:48.000Z
2021-06-06T15:16:16.000Z
import datetime import json import urllib.parse import pytz from django.contrib.auth.models import User from django.test import TestCase from dfirtrack_main.models import ( Analysisstatus, Case, System, Systemstatus, Tag, Tagcolor, ) class SystemDatatablesProcessingTestCase(TestCase): ""...
34.741379
88
0.526489
1,567
16,120
5.220804
0.077856
0.039115
0.037648
0.051338
0.868842
0.849774
0.813837
0.799169
0.78829
0.78829
0
0.023694
0.337593
16,120
463
89
34.816415
0.742461
0.077543
0
0.658263
0
0
0.219153
0.00923
0
0
0
0
0.067227
1
0.042017
false
0.039216
0.019608
0
0.064426
0
0
0
0
null
0
0
0
1
1
1
1
1
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
6
e8c1032c53c0a638d026da9ec40c551c8016ec65
219
py
Python
0x0A-python-inheritance/100-my_int.py
johncoleman83/bootcampschool-higher_level_programming
a83c3b7092cfe893c87e495f8d8eec9228c9b808
[ "MIT" ]
null
null
null
0x0A-python-inheritance/100-my_int.py
johncoleman83/bootcampschool-higher_level_programming
a83c3b7092cfe893c87e495f8d8eec9228c9b808
[ "MIT" ]
null
null
null
0x0A-python-inheritance/100-my_int.py
johncoleman83/bootcampschool-higher_level_programming
a83c3b7092cfe893c87e495f8d8eec9228c9b808
[ "MIT" ]
1
2020-09-25T17:54:36.000Z
2020-09-25T17:54:36.000Z
#!/usr/bin/python3 class MyInt(int): """class to override int comparrisons""" def __eq__(self, other): return int(self) != int(other) def __ne__(self, other): return int(self) == int(other)
24.333333
44
0.611872
29
219
4.344828
0.517241
0.142857
0.238095
0.285714
0.47619
0.47619
0.47619
0
0
0
0
0.005952
0.232877
219
8
45
27.375
0.744048
0.237443
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0
0.4
1
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
6
e8d01638867545d34fd63987dd2f11b13ba8290c
157
py
Python
intents/SetAge/intent.py
artex-development/Patt-Discord-Bot
3aa32fc8b645812bbf51c7ddd7f361314776267e
[ "Apache-2.0" ]
3
2018-04-06T05:59:06.000Z
2018-04-13T16:04:42.000Z
intents/SetAge/intent.py
artex-development/Patt
3aa32fc8b645812bbf51c7ddd7f361314776267e
[ "Apache-2.0" ]
1
2017-07-12T01:35:44.000Z
2017-07-15T09:05:04.000Z
intents/SetAge/intent.py
artex-development/Patt
3aa32fc8b645812bbf51c7ddd7f361314776267e
[ "Apache-2.0" ]
2
2017-10-10T00:06:22.000Z
2017-11-25T22:53:47.000Z
import aiohttp import discord import utils as u class Intent(u.Intent): @staticmethod async def handle(context: u.IntentContext): pass
15.7
47
0.694268
20
157
5.45
0.75
0
0
0
0
0
0
0
0
0
0
0
0.242038
157
9
48
17.444444
0.915966
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.142857
0.428571
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
6
2cdbec303c9c06c9d6605f431270c5618f1ca9a3
130
py
Python
blackjack_components/Dealer.py
rosshughduncan/Python-games
b56b12a24b690bf69664eab9512b0ce0783156ae
[ "MIT" ]
null
null
null
blackjack_components/Dealer.py
rosshughduncan/Python-games
b56b12a24b690bf69664eab9512b0ce0783156ae
[ "MIT" ]
null
null
null
blackjack_components/Dealer.py
rosshughduncan/Python-games
b56b12a24b690bf69664eab9512b0ce0783156ae
[ "MIT" ]
null
null
null
from .Player import Player class Dealer(Player): def __init__(self, chips, name): Player.__init__(self, chips, name)
21.666667
42
0.692308
17
130
4.823529
0.588235
0.195122
0.317073
0.414634
0
0
0
0
0
0
0
0
0.2
130
5
43
26
0.788462
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
6
2ce2ea2a9fb4e71b4ed0f2a96142d969e2993b95
136
py
Python
test/test_utils.py
Funk66/ledger
b06f39281b81cebb75a6c5f92fa3b8e47b65800c
[ "MIT" ]
null
null
null
test/test_utils.py
Funk66/ledger
b06f39281b81cebb75a6c5f92fa3b8e47b65800c
[ "MIT" ]
3
2021-11-16T06:38:48.000Z
2021-11-16T06:43:18.000Z
test/test_utils.py
Funk66/ledger
b06f39281b81cebb75a6c5f92fa3b8e47b65800c
[ "MIT" ]
null
null
null
from datetime import date from ledger.utils import isodate def test_isodate(): assert date(2020, 2, 20) == isodate('2020-02-20')
17
53
0.713235
21
136
4.571429
0.666667
0
0
0
0
0
0
0
0
0
0
0.132743
0.169118
136
7
54
19.428571
0.716814
0
0
0
0
0
0.073529
0
0
0
0
0
0.25
1
0.25
true
0
0.5
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
0
0
6
fa4538c6bca4667f956821f85deb21ed41e5d823
8,062
py
Python
src/prod-stag-migrations/versions/7d327a0fb0cf_.py
andela/andela-societies-backend
b8382f308449a08e5c7bda46c6deabe597cc2e25
[ "MIT" ]
1
2018-09-13T16:33:20.000Z
2018-09-13T16:33:20.000Z
src/prod-stag-migrations/versions/7d327a0fb0cf_.py
jonathankamau/andela-societies-backend
b8382f308449a08e5c7bda46c6deabe597cc2e25
[ "MIT" ]
6
2019-03-11T17:50:27.000Z
2019-08-26T11:00:40.000Z
src/prod-stag-migrations/versions/7d327a0fb0cf_.py
jonathankamau/andela-societies-backend
b8382f308449a08e5c7bda46c6deabe597cc2e25
[ "MIT" ]
9
2019-01-09T12:23:12.000Z
2021-05-28T04:58:31.000Z
"""empty message Revision ID: 7d327a0fb0cf Revises: Create Date: 2018-07-24 17:10:37.313600 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '7d327a0fb0cf' down_revision = None branch_labels = None depends_on = None def upgrade(): # ### commands auto gene...
44.541436
77
0.664971
1,000
8,062
5.252
0.096
0.140137
0.178599
0.220868
0.834158
0.822734
0.783511
0.723724
0.682788
0.671935
0
0.00459
0.135202
8,062
180
78
44.788889
0.748709
0.035103
0
0.549383
0
0
0.191165
0.003875
0
0
0
0
0
1
0.012346
false
0
0.012346
0
0.024691
0
0
0
0
null
0
0
1
1
1
1
1
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
6
fa57931570a290975ede0202fc956c6652a2aef7
24
py
Python
ithkuil/__init__.py
absentabyss/ithkuil
2f10841189550c19d7f951c87e0b020969356cda
[ "MIT" ]
20
2016-03-01T04:21:21.000Z
2021-04-28T06:52:30.000Z
ithkuil/__init__.py
absentabyss/ithkuil
2f10841189550c19d7f951c87e0b020969356cda
[ "MIT" ]
5
2016-01-07T16:22:25.000Z
2019-12-26T01:49:16.000Z
ithkuil/__init__.py
absentabyss/ithkuil
2f10841189550c19d7f951c87e0b020969356cda
[ "MIT" ]
6
2017-05-08T20:46:43.000Z
2020-05-09T23:54:56.000Z
from . import morphology
24
24
0.833333
3
24
6.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.125
24
1
24
24
0.952381
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
d71683f56fed6ba960efe7a660c637527d38306a
4,772
py
Python
tests/visualization_test.py
TUT-ARG/sed_vis
41ae82ce4191caf1c3d9cdd985c53b135d7550a0
[ "MIT" ]
79
2016-03-07T01:35:55.000Z
2022-03-31T02:52:08.000Z
sed_vis/tests/visualization_test.py
jim-schwoebel/sound_event_detection
24cd385d23da6382ab92c37587d9478e4324cda0
[ "ECL-2.0", "Apache-2.0" ]
6
2017-10-11T09:41:29.000Z
2021-10-15T23:55:34.000Z
tests/visualization_test.py
TUT-ARG/sed_vis
41ae82ce4191caf1c3d9cdd985c53b135d7550a0
[ "MIT" ]
27
2016-05-21T15:59:52.000Z
2021-12-03T07:06:31.000Z
#!/usr/bin/env python import sed_vis import dcase_util import os mode = 'probability' current_path = os.path.dirname(os.path.realpath(__file__)) if mode == 'dcase2016': audio_container = dcase_util.containers.AudioContainer().load( os.path.join(current_path, 'data', 'a001.wav') ) event_lists = { ...
32.243243
84
0.644384
539
4,772
5.445269
0.191095
0.034753
0.097104
0.07155
0.841227
0.841227
0.841227
0.841227
0.841227
0.820443
0
0.027367
0.234283
4,772
148
85
32.243243
0.775862
0.063495
0
0.645161
0
0
0.120968
0.021281
0
0
0
0
0
1
0
false
0
0.024194
0
0.024194
0
0
0
0
null
0
0
0
1
1
1
1
1
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
6
d76faa8b20b6d93bfdaa10eb42e16dc09198164a
2,416
py
Python
python/ql/test/library-tests/frameworks/yaml/Decoding.py
angie1148/codeql
ab3cad749cabe762437d2eb0aab554acea6ce84d
[ "MIT" ]
643
2018-08-03T11:16:54.000Z
2020-04-27T23:10:55.000Z
python/ql/test/library-tests/frameworks/yaml/Decoding.py
angie1148/codeql
ab3cad749cabe762437d2eb0aab554acea6ce84d
[ "MIT" ]
1,880
2018-08-03T11:28:32.000Z
2020-04-28T13:18:51.000Z
python/ql/test/library-tests/frameworks/yaml/Decoding.py
ScriptBox99/github-codeql
2ecf0d3264db8fb4904b2056964da469372a235c
[ "MIT" ]
218
2018-08-03T11:16:58.000Z
2020-04-24T02:24:00.000Z
import yaml # Unsafe: yaml.load(payload) # $decodeInput=payload decodeOutput=yaml.load(..) decodeFormat=YAML decodeMayExecuteInput yaml.load(stream=payload) # $decodeInput=payload decodeOutput=yaml.load(..) decodeFormat=YAML decodeMayExecuteInput yaml.load(payload, yaml.Loader) # $decodeInput=payload decodeOutput=y...
61.948718
131
0.696606
234
2,416
7.102564
0.111111
0.11071
0.306859
0.347774
0.876655
0.847774
0.746089
0.495187
0.439832
0.31769
0
0
0.064983
2,416
38
132
63.578947
0.735724
0.61755
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.055556
0
0.055556
0
0
0
0
null
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
6
d7900fa4cf7605801289921d5cbcea7fead689f2
20,293
py
Python
model/fusionDataset.py
chiang9/NLP-Chinese_couplet_generation
c569433bb87db7f765f688ca8c69589aa9d26558
[ "MIT" ]
1
2021-12-03T05:56:51.000Z
2021-12-03T05:56:51.000Z
model/fusionDataset.py
chiang9/NLP-Chinese_couplet_generation
c569433bb87db7f765f688ca8c69589aa9d26558
[ "MIT" ]
null
null
null
model/fusionDataset.py
chiang9/NLP-Chinese_couplet_generation
c569433bb87db7f765f688ca8c69589aa9d26558
[ "MIT" ]
null
null
null
__author__ = "Shihao Lin" __time__ = "2021/11/30" __version__= "4.0" from tqdm import tqdm import torch,re import jieba import jieba.posseg as pseg import paddle from pypinyin import pinyin, Style from torch.utils.data import Dataset class FusionDataset(Dataset): def __init__(self,X,tokenizer,glyph2ix,pinyin2ix...
45.095556
129
0.52422
2,526
20,293
3.885194
0.068884
0.067658
0.051355
0.047687
0.973303
0.971979
0.971979
0.96505
0.96505
0.962503
0
0.013604
0.366087
20,293
450
130
45.095556
0.749145
0.521461
0
0.171271
0
0
0.015119
0
0
0
0
0
0
1
0.027624
false
0
0.038674
0.01105
0.099448
0
0
0
0
null
0
0
0
1
1
1
1
1
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
6
ad2977121d04251e090618a073584c4c6949cbfa
2,839
py
Python
tests/test_html.py
elisong/pycmd
3d65ee6f914797cce6ce444ae2b51b705dee3d4b
[ "MIT" ]
null
null
null
tests/test_html.py
elisong/pycmd
3d65ee6f914797cce6ce444ae2b51b705dee3d4b
[ "MIT" ]
null
null
null
tests/test_html.py
elisong/pycmd
3d65ee6f914797cce6ce444ae2b51b705dee3d4b
[ "MIT" ]
null
null
null
import subprocess from pathlib import Path from pycmd.utils import Console class TestHTML: def test_no_table_found(self): html_file = "tests/data/no_table.html" result = subprocess.run(["python", "-m", "pycmd.html", html_file], capture_output=True) assert Console.escape(result.stdout) == ...
47.316667
114
0.652342
414
2,839
4.229469
0.137681
0.135922
0.066819
0.07767
0.884066
0.872073
0.866362
0.866362
0.843518
0.843518
0
0.009235
0.199014
2,839
59
115
48.118644
0.760774
0
0
0.5
0
0
0.251497
0.159915
0
0
0
0
0.26
1
0.14
false
0
0.06
0
0.22
0
0
0
0
null
0
0
0
1
1
1
1
1
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
6
ad6204e8e25ba39d0fdbc5bb182a544e58cdba71
64
py
Python
src/reconstruction_methods/lasso.py
canbakiskan/cython-omp
a26f8cf8eca62ea7b0ad2272610a8f616eb0f9f3
[ "Apache-2.0" ]
null
null
null
src/reconstruction_methods/lasso.py
canbakiskan/cython-omp
a26f8cf8eca62ea7b0ad2272610a8f616eb0f9f3
[ "Apache-2.0" ]
null
null
null
src/reconstruction_methods/lasso.py
canbakiskan/cython-omp
a26f8cf8eca62ea7b0ad2272610a8f616eb0f9f3
[ "Apache-2.0" ]
null
null
null
def lasso_numba(): pass def lasso_batch_numba(): pass
9.142857
24
0.65625
9
64
4.333333
0.555556
0.410256
0
0
0
0
0
0
0
0
0
0
0.25
64
6
25
10.666667
0.8125
0
0
0.5
0
0
0
0
0
0
0
0
0
1
0.5
true
0.5
0
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
1
0
0
0
0
0
6
a8db10da0366c9cb337cf9e2f8964ef74d81175a
86
py
Python
blog/admin.py
yeraydiazdiaz/nonrel-blog
fc5179561a15ada8cd30fd178aa5356d38d937ff
[ "BSD-3-Clause" ]
null
null
null
blog/admin.py
yeraydiazdiaz/nonrel-blog
fc5179561a15ada8cd30fd178aa5356d38d937ff
[ "BSD-3-Clause" ]
null
null
null
blog/admin.py
yeraydiazdiaz/nonrel-blog
fc5179561a15ada8cd30fd178aa5356d38d937ff
[ "BSD-3-Clause" ]
null
null
null
from django.contrib import admin from blog.models import * admin.site.register(Post)
17.2
32
0.802326
13
86
5.307692
0.769231
0.318841
0
0
0
0
0
0
0
0
0
0
0.116279
86
4
33
21.5
0.907895
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
d128806ab27e4031667dc1fb190f4635f1ae6864
119
py
Python
dadata/exceptions.py
f213/dadata-client
dbd619d752a96bc0d48be51e07b53e8f9a795079
[ "MIT" ]
8
2018-06-11T13:35:30.000Z
2021-11-12T12:17:52.000Z
dadata/exceptions.py
f213/dadata-client
dbd619d752a96bc0d48be51e07b53e8f9a795079
[ "MIT" ]
74
2018-06-12T17:29:15.000Z
2020-05-18T02:13:36.000Z
dadata/exceptions.py
f213/dadata-client
dbd619d752a96bc0d48be51e07b53e8f9a795079
[ "MIT" ]
2
2018-06-12T16:05:37.000Z
2018-08-05T21:39:18.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals class DadataPaymentRequired(BaseException): pass
17
43
0.747899
12
119
7
1
0
0
0
0
0
0
0
0
0
0
0.009901
0.151261
119
6
44
19.833333
0.821782
0.176471
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
6
66fbc24134464e61d4da8474c659a3d2e0442373
143
py
Python
laxpy/__init__.py
brycefrank/laxpy
faa995ee786f44cfd09cb24fd6670ba427901105
[ "MIT" ]
5
2018-11-19T09:47:21.000Z
2022-01-26T17:55:19.000Z
laxpy/__init__.py
brycefrank/laxpy
faa995ee786f44cfd09cb24fd6670ba427901105
[ "MIT" ]
3
2018-11-19T17:11:11.000Z
2020-09-09T18:01:54.000Z
laxpy/__init__.py
brycefrank/laxpy
faa995ee786f44cfd09cb24fd6670ba427901105
[ "MIT" ]
2
2019-04-27T01:22:35.000Z
2020-04-19T15:52:36.000Z
from __future__ import absolute_import __version__ = '0.2.2' from laxpy import file from laxpy import tree from laxpy.query import IndexedLAS
20.428571
38
0.818182
22
143
4.909091
0.545455
0.25
0.277778
0
0
0
0
0
0
0
0
0.02439
0.13986
143
7
39
20.428571
0.853659
0
0
0
0
0
0.034722
0
0
0
0
0
0
1
0
false
0
0.8
0
0.8
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
6
0f0279903aafafcf39d1a6cedd7f020b5b53a078
38
py
Python
layers/__init__.py
YusukeSuzuki/castanea2
69337b5c3034d2b8106df7591eb354749b2d40ce
[ "MIT" ]
null
null
null
layers/__init__.py
YusukeSuzuki/castanea2
69337b5c3034d2b8106df7591eb354749b2d40ce
[ "MIT" ]
null
null
null
layers/__init__.py
YusukeSuzuki/castanea2
69337b5c3034d2b8106df7591eb354749b2d40ce
[ "MIT" ]
null
null
null
# __init__.py from .conv2d import *
7.6
21
0.684211
5
38
4.4
1
0
0
0
0
0
0
0
0
0
0
0.033333
0.210526
38
4
22
9.5
0.7
0.289474
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
0f124968fdb1ce7c2b670729e6147882b0f3a178
149
py
Python
mmdet/version.py
Gugan0905/steel-defect-detection
fd2f177ec0f04d319d1f47d93d44dc11d283b833
[ "Apache-2.0" ]
2
2021-06-29T05:51:30.000Z
2021-10-17T17:42:47.000Z
mmdet/version.py
Gugan0905/steel-defect-detection
fd2f177ec0f04d319d1f47d93d44dc11d283b833
[ "Apache-2.0" ]
null
null
null
mmdet/version.py
Gugan0905/steel-defect-detection
fd2f177ec0f04d319d1f47d93d44dc11d283b833
[ "Apache-2.0" ]
null
null
null
# GENERATED VERSION FILE # TIME: Tue Jul 21 13:51:13 2020 __version__ = '2.3.0rc0+c8f250d' short_version = '2.3.0rc0' version_info = (2, 3, "0rc0")
21.285714
32
0.691275
26
149
3.730769
0.615385
0.061856
0.185567
0.268041
0
0
0
0
0
0
0
0.222222
0.154362
149
6
33
24.833333
0.547619
0.355705
0
0
1
0
0.301075
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
0f62c80a1d191f4d2aed880e21f468134cb6a0eb
260
py
Python
backend/registry/models/__init__.py
Don-King-Kong/mrmap
f58a77bf979142876c38b98de0b7514c475b9905
[ "MIT" ]
10
2021-03-12T17:46:38.000Z
2022-03-11T10:59:01.000Z
backend/registry/models/__init__.py
Don-King-Kong/mrmap
f58a77bf979142876c38b98de0b7514c475b9905
[ "MIT" ]
214
2021-03-10T19:24:17.000Z
2022-03-15T07:34:24.000Z
backend/registry/models/__init__.py
Don-King-Kong/mrmap
f58a77bf979142876c38b98de0b7514c475b9905
[ "MIT" ]
9
2021-03-16T19:47:54.000Z
2022-03-11T11:01:22.000Z
from .conformity import * # noqa from .document import * # noqa from .harvest import * # noqa from .mapcontext import * # noqa from .metadata import * # noqa from .monitoring import * # noqa from .security import * # noqa from .service import * # noqa
28.888889
33
0.692308
32
260
5.625
0.34375
0.444444
0.544444
0
0
0
0
0
0
0
0
0
0.215385
260
8
34
32.5
0.882353
0.15
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
0f6501e719a7a890172402b4bd6ae16358ca1b2f
2,699
py
Python
_unittests/ut_metrics/test_metrics.py
sdpython/lightmlboard
15e3f9522e2b5f5ef9d358d2d42b9c1f271fc143
[ "MIT" ]
null
null
null
_unittests/ut_metrics/test_metrics.py
sdpython/lightmlboard
15e3f9522e2b5f5ef9d358d2d42b9c1f271fc143
[ "MIT" ]
1
2018-04-19T19:58:08.000Z
2021-12-29T10:58:07.000Z
_unittests/ut_metrics/test_metrics.py
sdpython/lightmlboard
15e3f9522e2b5f5ef9d358d2d42b9c1f271fc143
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ @brief test log(time=1s) """ import unittest from pyquickhelper.pycode import ExtTestCase from lightmlboard.competition import Competition class TestMetrics(ExtTestCase): def test_mse(self): compet = Competition(0, link="/compet", name="compet1", ...
42.171875
85
0.531678
354
2,699
3.89548
0.138418
0.04641
0.04351
0.034808
0.812183
0.807832
0.794779
0.771574
0.759246
0.748368
0
0.07628
0.290848
2,699
63
86
42.84127
0.644201
0.019266
0
0.5
0
0
0.146268
0
0
0
0
0
0.22
1
0.06
false
0
0.06
0
0.14
0
0
0
0
null
0
0
0
1
1
1
1
1
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
6
0f7981afcd5855d715bbf1e4cb50b68d3db6025f
60
py
Python
src/blueprints/multilingual/__init__.py
PseuToPy/PseuToPy-web
fe0d43b0c91b6ae115ba06cb5453df4ad7ca1292
[ "MIT" ]
1
2020-10-04T08:59:00.000Z
2020-10-04T08:59:00.000Z
src/blueprints/multilingual/__init__.py
PseuToPy/PseuToPy-api
fe0d43b0c91b6ae115ba06cb5453df4ad7ca1292
[ "MIT" ]
4
2020-06-19T12:59:18.000Z
2021-01-31T08:13:41.000Z
src/blueprints/multilingual/__init__.py
PseuToPy/PseuToPy-web
fe0d43b0c91b6ae115ba06cb5453df4ad7ca1292
[ "MIT" ]
null
null
null
from src.blueprints.multilingual.routes import multilingual
30
59
0.883333
7
60
7.571429
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.066667
60
1
60
60
0.946429
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
1
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
1
0
6
7e1f20856183b95732bc52d24350f260a844eb41
8,082
py
Python
polliwog/polyline/test_slice_by_plane.py
lace/polliwog
7744ce171738e4739e391fcff4f4689d9f177196
[ "BSD-2-Clause" ]
18
2019-05-03T02:08:12.000Z
2022-03-24T11:49:59.000Z
polliwog/polyline/test_slice_by_plane.py
lace/polliwog
7744ce171738e4739e391fcff4f4689d9f177196
[ "BSD-2-Clause" ]
76
2019-04-03T15:24:01.000Z
2022-03-01T14:07:04.000Z
polliwog/polyline/test_slice_by_plane.py
lace/polliwog
7744ce171738e4739e391fcff4f4689d9f177196
[ "BSD-2-Clause" ]
3
2019-11-04T16:22:07.000Z
2022-03-09T08:50:52.000Z
import numpy as np from polliwog import Plane import pytest from vg.compat import v2 as vg from ._slice_by_plane import slice_open_polyline_by_plane point_on_plane = np.array([1.0, 2.0, 3.0]) plane_normal = vg.normalize(np.array([3.0, 4.0, 5.0])) plane = Plane(point_on_plane=point_on_plane, unit_normal=plane_normal) ...
28.258741
88
0.682133
1,144
8,082
4.467657
0.092657
0.022305
0.020544
0.085502
0.800626
0.767756
0.758951
0.732538
0.70945
0.685384
0
0.023483
0.214922
8,082
285
89
28.357895
0.782033
0.012126
0
0.51269
0
0
0.062899
0
0
0
0
0
0.060914
1
0.126904
false
0
0.030457
0.005076
0.172589
0
0
0
0
null
0
0
0
1
1
1
1
1
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
6