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
b6b31e8256a11d3ae22f7859c3d2127f0a7ba4e7
588
py
Python
add-ten-odd-numbers.py
Omi0604/DCU-Einstein-
b35e2657b8e27904035e881021c9bdf9e51675bb
[ "MIT" ]
null
null
null
add-ten-odd-numbers.py
Omi0604/DCU-Einstein-
b35e2657b8e27904035e881021c9bdf9e51675bb
[ "MIT" ]
null
null
null
add-ten-odd-numbers.py
Omi0604/DCU-Einstein-
b35e2657b8e27904035e881021c9bdf9e51675bb
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 total = 0 n = int(input()) n = (n * (n % 2)) total = total + n n = int(input()) n = (n * (n % 2)) total = total + n n = int(input()) n = (n * (n % 2)) total = total + n n = int(input()) n = (n * (n % 2)) total = total + n n = int(input()) n = (n * (n % 2)) total = total + n n = int(input()...
12.782609
22
0.462585
108
588
2.518519
0.101852
0.213235
0.330882
0.367647
0.882353
0.882353
0.882353
0.882353
0.882353
0.882353
0
0.028571
0.285714
588
45
23
13.066667
0.619048
0.035714
0
0.9375
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.03125
0
0
0
null
1
1
1
1
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
10
fcc53c557e0c8d42430fc3705bf5595b5e329f24
7,083
py
Python
cfgov/ask_cfpb/migrations/0015_update_email_signup_options.py
higs4281/cfgov-refresh
a02b193fb2373d443265c21845adf8a196e05675
[ "CC0-1.0" ]
1
2019-11-26T20:18:22.000Z
2019-11-26T20:18:22.000Z
cfgov/ask_cfpb/migrations/0015_update_email_signup_options.py
higs4281/cfgov-refresh
a02b193fb2373d443265c21845adf8a196e05675
[ "CC0-1.0" ]
8
2021-03-11T00:55:51.000Z
2022-02-13T21:10:14.000Z
cfgov/ask_cfpb/migrations/0015_update_email_signup_options.py
higs4281/cfgov-refresh
a02b193fb2373d443265c21845adf8a196e05675
[ "CC0-1.0" ]
1
2019-12-28T14:04:07.000Z
2019-12-28T14:04:07.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models import wagtail.wagtailcore.fields import wagtail.wagtailsnippets.blocks import v1.blocks import v1.models.snippets import wagtail.wagtailcore.blocks class Migration(migrations.Migration): dependencies = [ ...
283.32
6,583
0.770295
955
7,083
5.646073
0.231414
0.216988
0.280415
0.177485
0.563056
0.519102
0.457901
0.405972
0.331973
0.309533
0
0.004726
0.073839
7,083
24
6,584
295.125
0.817226
0.002965
0
0
0
0.5
0.323371
0
0
0
0
0
0
1
0
false
0
0.388889
0
0.555556
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
8
fce8cf685129513bc5965c7454d43284cebad81d
5,756
py
Python
eval_hmdb.py
Ewenwan/DTPP
0a10dd8c61596d5326fbbe70dcac0eae59088c27
[ "BSD-2-Clause" ]
1
2019-05-07T01:00:18.000Z
2019-05-07T01:00:18.000Z
eval_hmdb.py
Ewenwan/DTPP
0a10dd8c61596d5326fbbe70dcac0eae59088c27
[ "BSD-2-Clause" ]
null
null
null
eval_hmdb.py
Ewenwan/DTPP
0a10dd8c61596d5326fbbe70dcac0eae59088c27
[ "BSD-2-Clause" ]
1
2019-09-18T05:27:50.000Z
2019-09-18T05:27:50.000Z
import argparse import sys import numpy as np import scipy.io as sio from pyActionRecog.utils.video_funcs import default_aggregation_func from pyActionRecog.utils.metrics import mean_class_accuracy, class_accuracy def get_score(score_files, xxxx = 0.4): crop_agg = "mean" score_npz_files = [np.load(x) for x i...
50.491228
177
0.759555
943
5,756
4.112407
0.11877
0.090768
0.09902
0.086643
0.901496
0.894533
0.884992
0.87442
0.869263
0.869263
0
0.058502
0.141765
5,756
114
178
50.491228
0.726518
0.417651
0
0.75
0
0
0.167572
0.121075
0
0
0
0
0
0
null
null
0
0.09375
null
null
0.03125
0
0
0
null
0
0
0
1
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
1
0
0
0
0
0
0
0
0
8
1e639588e7ad61966318c61bae353a50f286efae
119,373
py
Python
test_mpu65c816_native_16.py
tmr4/py65_65816
9e905ce1dc73463eabe131324a30e242b36765a3
[ "BSD-2-Clause" ]
2
2022-01-11T20:10:16.000Z
2022-01-12T07:43:50.000Z
test_mpu65c816_native_16.py
tmr4/py65_65816
9e905ce1dc73463eabe131324a30e242b36765a3
[ "BSD-2-Clause" ]
null
null
null
test_mpu65c816_native_16.py
tmr4/py65_65816
9e905ce1dc73463eabe131324a30e242b36765a3
[ "BSD-2-Clause" ]
null
null
null
import unittest import sys import devices.mpu65c816 # x tests class MPUTests(unittest.TestCase): """CMOS 65C816 Tests - Native Mode - 16 Bit""" def test_repr(self): mpu = self._make_mpu() self.assertTrue('65C816' in repr(mpu)) # Native Mode - 16 bit # ADC Absolute def test_adc_b...
37.397556
150
0.602875
16,688
119,373
4.124401
0.021273
0.202243
0.060615
0.114546
0.968458
0.961673
0.955411
0.947652
0.946068
0.942698
0
0.100694
0.266149
119,373
3,191
151
37.409276
0.684996
0.084969
0
0.859952
0
0
0.000276
0
0
0
0.095473
0.000313
0.366774
1
0.090289
false
0
0.001204
0.000803
0.093098
0
0
0
0
null
1
0
0
1
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
8
1e7deeaac14b4b83a97ab93772ad4ccfbd922132
28,592
py
Python
lms/tests/event/test_event_views.py
yankai14/event-management-telegram-bot-backend
c0b4b2294ab7d06100b221d9b41a8f52d500075d
[ "MIT" ]
null
null
null
lms/tests/event/test_event_views.py
yankai14/event-management-telegram-bot-backend
c0b4b2294ab7d06100b221d9b41a8f52d500075d
[ "MIT" ]
6
2021-06-28T07:23:15.000Z
2021-07-22T12:59:33.000Z
lms/tests/event/test_event_views.py
yankai14/event-management-telegram-bot-backend
c0b4b2294ab7d06100b221d9b41a8f52d500075d
[ "MIT" ]
null
null
null
import json import datetime from lms.signals import Signals from re import S from typing import OrderedDict from unittest.mock import MagicMock from django.utils import timezone from django.urls import reverse from rest_framework.test import APITestCase from rest_framework import status from lms.models.event_models imp...
35.695381
109
0.59744
2,592
28,592
6.450231
0.087191
0.044859
0.057779
0.062444
0.81859
0.784198
0.774568
0.750763
0.734733
0.719481
0
0.014423
0.27735
28,592
800
110
35.74
0.794744
0.846775
0
0.338235
0
0
0.080388
0
0
0
0
0.00125
0.102941
1
0.058824
false
0
0.220588
0
0.294118
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
94b9d0ca11a8b028dae2c4e9902577003226c142
14,823
py
Python
peleffy/tests/test_rotamers.py
frumpowy/peleffy
9b6110a9bf50bedd8e299271a8ff9c3b79339e63
[ "MIT" ]
9
2020-11-16T15:07:23.000Z
2022-03-10T12:48:20.000Z
peleffy/tests/test_rotamers.py
NBDsoftware/peleffy
d0ca27a366f74b097aac450451f2ad47a3a3f5c8
[ "MIT" ]
75
2020-11-02T18:49:08.000Z
2022-03-15T16:41:26.000Z
peleffy/tests/test_rotamers.py
NBDsoftware/peleffy
d0ca27a366f74b097aac450451f2ad47a3a3f5c8
[ "MIT" ]
5
2020-12-02T16:00:44.000Z
2021-09-08T11:11:30.000Z
""" This module contains the tests to check the peleffy's rotamer library builder. """ import pytest from peleffy.utils import get_data_file_path from peleffy.topology import Molecule class TestMolecularGraph(object): """ It wraps all tests that check the MolecularGraph class. """ def test_rotamer_...
38.803665
79
0.526951
1,906
14,823
3.88405
0.071354
0.099284
0.073484
0.047548
0.901391
0.893692
0.893692
0.880724
0.849791
0.849791
0
0.061873
0.354517
14,823
381
80
38.905512
0.711852
0.052958
0
0.904059
0
0
0.062338
0.006335
0
0
0
0
0.081181
1
0.01476
false
0
0.01107
0
0.02952
0
0
0
0
null
0
0
0
1
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
7
bfd51321e416d82e6449149b55525903a92332de
3,193
py
Python
src/p053-maximum-subarray/test_solution.py
bazadactyl/leetcode-solutions
2e332b8ec4c4724b074faa8e7a76e861082198bb
[ "Unlicense" ]
null
null
null
src/p053-maximum-subarray/test_solution.py
bazadactyl/leetcode-solutions
2e332b8ec4c4724b074faa8e7a76e861082198bb
[ "Unlicense" ]
null
null
null
src/p053-maximum-subarray/test_solution.py
bazadactyl/leetcode-solutions
2e332b8ec4c4724b074faa8e7a76e861082198bb
[ "Unlicense" ]
null
null
null
import unittest from solution import Solution class SolutionTestCase(unittest.TestCase): def test_example_1(self): nums = [-2, 1, -3, 4, -1, 2, 1, -5, 4] expected = 6 output = Solution().maxSubArray(nums) self.assertEqual(expected, output) def test_example_2(self): nu...
27.059322
46
0.5772
362
3,193
4.969613
0.127072
0.070039
0.250139
0.290161
0.795998
0.774875
0.735409
0.735409
0.735409
0.735409
0
0.072165
0.301284
3,193
117
47
27.290598
0.7342
0
0
0.442105
0
0
0.002505
0
0
0
0
0
0.189474
1
0.189474
false
0
0.021053
0
0.221053
0
0
0
0
null
0
1
1
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
0
0
0
0
0
0
7
44a1b1628f95f3a5c325b62a5de965e5f95c0bf3
98
py
Python
examples/wagsley/wagsley/schema/types/query.py
Blogsley/blogsley
0ca17397af5d53c2fac3affb5eacec2f8d941d37
[ "MIT" ]
null
null
null
examples/wagsley/wagsley/schema/types/query.py
Blogsley/blogsley
0ca17397af5d53c2fac3affb5eacec2f8d941d37
[ "MIT" ]
null
null
null
examples/wagsley/wagsley/schema/types/query.py
Blogsley/blogsley
0ca17397af5d53c2fac3affb5eacec2f8d941d37
[ "MIT" ]
null
null
null
from accounts.query import * from posts.query import * #from blogsley.django.media.query import *
24.5
42
0.785714
14
98
5.5
0.571429
0.428571
0.38961
0
0
0
0
0
0
0
0
0
0.122449
98
3
43
32.666667
0.895349
0.418367
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
7
44b6c918c54d93df9c7726a7e41d852e02637c93
171
py
Python
forgebox/test_nbdev.py
raynardj/forgebox
4ed057ecb1fd0e1b062e6ffb64cf2e4279cbf3ac
[ "MIT" ]
3
2020-02-05T08:55:22.000Z
2021-12-24T06:42:29.000Z
forgebox/test_nbdev.py
raynardj/forgebox
4ed057ecb1fd0e1b062e6ffb64cf2e4279cbf3ac
[ "MIT" ]
8
2020-08-25T10:28:53.000Z
2021-08-03T09:43:11.000Z
forgebox/test_nbdev.py
raynardj/forgebox
4ed057ecb1fd0e1b062e6ffb64cf2e4279cbf3ac
[ "MIT" ]
null
null
null
# AUTOGENERATED! DO NOT EDIT! File to edit: nbs/test_nbdev.ipynb (unless otherwise specified). __all__ = ['test_nbdev_func'] # Cell def test_nbdev_func(): return 42
21.375
94
0.736842
25
171
4.68
0.76
0.230769
0.222222
0
0
0
0
0
0
0
0
0.013889
0.157895
171
8
95
21.375
0.798611
0.567251
0
0
1
0
0.208333
0
0
0
0
0
0
1
0.333333
false
0
0
0.333333
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
1
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
7
44b80a7baf0879bdcb523f27f1c94b82870e62b2
1,731
py
Python
models/decoders.py
exnx/gcn-triplet-encoding
a26aaa87724b0003a08d5c2d8d1d3f96430df500
[ "MIT" ]
20
2020-08-10T15:46:35.000Z
2022-01-18T12:10:09.000Z
models/decoders.py
exnx/gcn-triplet-encoding
a26aaa87724b0003a08d5c2d8d1d3f96430df500
[ "MIT" ]
7
2020-09-08T17:16:12.000Z
2022-03-29T12:25:31.000Z
models/decoders.py
exnx/gcn-triplet-encoding
a26aaa87724b0003a08d5c2d8d1d3f96430df500
[ "MIT" ]
4
2020-09-05T07:45:08.000Z
2021-12-03T02:45:46.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Jan 8 18:45:02 2020 @author: dipu """ import torch.nn as nn def raster_decoder(): decoder = nn.Sequential( nn.Upsample(scale_factor =2, mode = 'nearest'), nn.ConvTranspose2d(32,16,3), nn.ReLU(), nn.Upsample(sc...
24.728571
59
0.50491
196
1,731
4.397959
0.209184
0.236659
0.083527
0.194896
0.839907
0.817865
0.817865
0.817865
0.735499
0.735499
0
0.0875
0.352975
1,731
69
60
25.086957
0.682143
0.054304
0
0.711111
0
0
0.034398
0
0
0
0
0
0
1
0.066667
false
0
0.022222
0
0.155556
0
0
0
0
null
1
0
1
1
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
9
44d12aeb002823c21c84507e08640524915ddf01
111
py
Python
odoo-13.0/addons/hr_attendance/tests/__init__.py
VaibhavBhujade/Blockchain-ERP-interoperability
b5190a037fb6615386f7cbad024d51b0abd4ba03
[ "MIT" ]
null
null
null
odoo-13.0/addons/hr_attendance/tests/__init__.py
VaibhavBhujade/Blockchain-ERP-interoperability
b5190a037fb6615386f7cbad024d51b0abd4ba03
[ "MIT" ]
null
null
null
odoo-13.0/addons/hr_attendance/tests/__init__.py
VaibhavBhujade/Blockchain-ERP-interoperability
b5190a037fb6615386f7cbad024d51b0abd4ba03
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from . import test_hr_attendance_constraints from . import test_hr_attendance_process
22.2
44
0.774775
15
111
5.333333
0.666667
0.25
0.35
0.4
0.65
0
0
0
0
0
0
0.010309
0.126126
111
4
45
27.75
0.814433
0.189189
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
0
0
0
7
44d366dffa7eb0e0249af0f789b8d155cc9fe83e
4,083
py
Python
test/ResultsAndPrizes/5x36(old)/test_5x36_results_for_several_draws.py
FearFactor1/SPA
a05aaa924c5bebb52cd508ebdf7fd3b81c49fac7
[ "Apache-2.0" ]
1
2019-12-05T06:50:54.000Z
2019-12-05T06:50:54.000Z
test/ResultsAndPrizes/5x36(old)/test_5x36_results_for_several_draws.py
FearFactor1/SPA
a05aaa924c5bebb52cd508ebdf7fd3b81c49fac7
[ "Apache-2.0" ]
null
null
null
test/ResultsAndPrizes/5x36(old)/test_5x36_results_for_several_draws.py
FearFactor1/SPA
a05aaa924c5bebb52cd508ebdf7fd3b81c49fac7
[ "Apache-2.0" ]
null
null
null
# 5из36(Старая) + Результаты нескольких тиражей def test_5x36_results_for_several_draws(app): app.ResultAndPrizes.open_page_results_and_prizes() app.ResultAndPrizes.click_results_for_several_draws() app.ResultAndPrizes.click_ok_for_several_draws_modal_window() app.ResultAndPrizes.button_get_report_win...
88.76087
113
0.752633
618
4,083
4.754045
0.169903
0.257318
0.302246
0.377808
0.810756
0.793737
0.793737
0.763104
0.763104
0.763104
0
0.114326
0.128092
4,083
46
114
88.76087
0.710955
0.011021
0
0.186047
0
0
0.187763
0
0
0
0
0
0.837209
1
0.023256
false
0
0
0
0.023256
0
0
0
0
null
1
1
1
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
1
0
0
0
0
0
0
0
0
0
10
44f2358bc38099a093b667b1a917e20d40b93796
68,546
py
Python
benchmarks/SimResults/_bigLittle_hrrs_spec_tugberk_heteroFair/cmp_sjeng/power.py
TugberkArkose/MLScheduler
e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061
[ "Unlicense" ]
null
null
null
benchmarks/SimResults/_bigLittle_hrrs_spec_tugberk_heteroFair/cmp_sjeng/power.py
TugberkArkose/MLScheduler
e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061
[ "Unlicense" ]
null
null
null
benchmarks/SimResults/_bigLittle_hrrs_spec_tugberk_heteroFair/cmp_sjeng/power.py
TugberkArkose/MLScheduler
e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061
[ "Unlicense" ]
null
null
null
power = {'BUSES': {'Area': 1.33155, 'Bus/Area': 1.33155, 'Bus/Gate Leakage': 0.00662954, 'Bus/Peak Dynamic': 0.0, 'Bus/Runtime Dynamic': 0.0, 'Bus/Subthreshold Leakage': 0.0691322, 'Bus/Subthreshold Leakage with power gating': 0.0259246, 'Gate...
74.995624
124
0.68179
8,082
68,546
5.77654
0.064835
0.12372
0.113096
0.093561
0.942338
0.934456
0.921047
0.89605
0.868397
0.849634
0
0.130919
0.224535
68,546
914
125
74.995624
0.74738
0
0
0.664114
0
0
0.658016
0.048142
0
0
0
0
0
1
0
false
0
0
0
0
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
78381d596a7cf174afef86fe3278172cf3cc1324
579
py
Python
tests/parser/grounding.backjump.3.test.py
veltri/DLV2
944aaef803aa75e7ec51d7e0c2b0d964687fdd0e
[ "Apache-2.0" ]
null
null
null
tests/parser/grounding.backjump.3.test.py
veltri/DLV2
944aaef803aa75e7ec51d7e0c2b0d964687fdd0e
[ "Apache-2.0" ]
null
null
null
tests/parser/grounding.backjump.3.test.py
veltri/DLV2
944aaef803aa75e7ec51d7e0c2b0d964687fdd0e
[ "Apache-2.0" ]
null
null
null
input = """ %This is an example where we can not eliminate the duplicates of the rules. %#maxint=8. p(X) | r(X) :- q(X,Y), q(A,B), s(X,A), s(Y,B). q(1,3). q(2,4). q(2,7). q(3,8). q(3,5). q(1,6). s(0,1). s(1,2). s(2,3). s(3,4). s(4,5). s(5,6). s(6,7). s(7,8). """ output = """ %This is an exampl...
12.319149
76
0.450777
150
579
1.74
0.22
0.030651
0.061303
0.114943
0.957854
0.957854
0.957854
0.957854
0.957854
0.957854
0
0.130337
0.231434
579
46
77
12.586957
0.45618
0
0
0.947368
0
0.052632
0.942272
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
1
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
7849208ac635f1befaae961bbbb424de916de039
13,414
py
Python
mealpy/human_based/QSA.py
ashishpatel26/mealpy
62160e61b8bd4b084e44b80fda720e6bd6332e03
[ "MIT" ]
1
2021-05-20T06:53:08.000Z
2021-05-20T06:53:08.000Z
mealpy/human_based/QSA.py
chenyuxiang0425/mealpy
69e8dc727e15527e31ac5ace1debe92a0bc7d828
[ "MIT" ]
null
null
null
mealpy/human_based/QSA.py
chenyuxiang0425/mealpy
69e8dc727e15527e31ac5ace1debe92a0bc7d828
[ "MIT" ]
1
2020-09-30T21:14:33.000Z
2020-09-30T21:14:33.000Z
#!/usr/bin/env python # ------------------------------------------------------------------------------------------------------% # Created by "Thieu Nguyen" at 10:21, 18/03/2020 % # ...
47.066667
127
0.553675
1,915
13,414
3.597911
0.090862
0.075762
0.05225
0.035123
0.835704
0.79971
0.785631
0.773004
0.766763
0.754136
0
0.03542
0.311764
13,414
284
128
47.232394
0.710897
0.095572
0
0.725664
0
0
0.009995
0
0
0
0
0
0
1
0.075221
false
0
0.017699
0
0.168142
0.022124
0
0
0
null
0
0
0
1
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
7
786270be520d714e95a833a9719b491def9ebb3c
6,918
py
Python
help scripts/experimentsMOGA.py
napa-jmm/CEGO
172d511133a608ca5bf265d9ebd2937b8a171b3e
[ "MIT" ]
6
2018-07-18T06:38:42.000Z
2021-11-17T21:01:40.000Z
help scripts/experimentsMOGA.py
napa-jmm/CEGO
172d511133a608ca5bf265d9ebd2937b8a171b3e
[ "MIT" ]
null
null
null
help scripts/experimentsMOGA.py
napa-jmm/CEGO
172d511133a608ca5bf265d9ebd2937b8a171b3e
[ "MIT" ]
6
2018-10-15T09:35:24.000Z
2021-05-08T13:40:19.000Z
# -*- coding: utf-8 -*- """ Created on Tue Mar 20 09:00:23 2018 @author: r.dewinter """ import numpy as np import matplotlib.pyplot as plt from hypervolume import hypervolume from paretofrontFeasible import paretofrontFeasible import os #plt.plot(objectivesMOGA[:,0],objectivesMOGA[:,1],'ro',c='r') ...
30.746667
69
0.631685
1,011
6,918
4.322453
0.104847
0.102975
0.12357
0.102975
0.844622
0.833181
0.833181
0.833181
0.833181
0.833181
0
0.046524
0.157994
6,918
225
70
30.746667
0.703691
0.049147
0
0.764706
0
0
0.014256
0
0
0
0
0
0
1
0
false
0
0.026738
0
0.026738
0.240642
0
0
0
null
0
0
0
1
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
7
787305328e7c39c07f84c3f6b91187470a94df1b
187
py
Python
gammaboard/tests/test_gammaboard.py
gammaboard/gammaboard
9a3bd289b4e8f0c933a08b225febb45966fcddd3
[ "MIT" ]
null
null
null
gammaboard/tests/test_gammaboard.py
gammaboard/gammaboard
9a3bd289b4e8f0c933a08b225febb45966fcddd3
[ "MIT" ]
13
2018-12-12T14:15:36.000Z
2019-08-27T15:18:14.000Z
gammaboard/tests/test_gammaboard.py
gammaboard/gammaboard
9a3bd289b4e8f0c933a08b225febb45966fcddd3
[ "MIT" ]
1
2019-04-15T12:50:49.000Z
2019-04-15T12:50:49.000Z
from gammaboard import * def test_open_dashboard(): """ TODO: test and close notebook automatically """ # process = open_dashboard() # process.terminate() pass
15.583333
47
0.641711
19
187
6.157895
0.789474
0.222222
0
0
0
0
0
0
0
0
0
0
0.256684
187
11
48
17
0.841727
0.486631
0
0
0
0
0
0
0
0
0
0.090909
0
1
0.333333
true
0.333333
0.333333
0
0.666667
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
1
1
1
0
0
0
0
7
7890f1b31bc412acaade19e74b82f7e962b2c917
172,776
py
Python
sapp/pipeline/tests/test_pysa_taint_parser.py
facebook/sapp
4b85d10a791d8e9c8ae83d1f62fbded24845f053
[ "MIT" ]
74
2020-12-18T20:04:30.000Z
2022-03-22T22:26:02.000Z
sapp/pipeline/tests/test_pysa_taint_parser.py
facebook/sapp
4b85d10a791d8e9c8ae83d1f62fbded24845f053
[ "MIT" ]
61
2020-12-21T21:33:05.000Z
2022-01-27T21:22:20.000Z
sapp/pipeline/tests/test_pysa_taint_parser.py
facebook/sapp
4b85d10a791d8e9c8ae83d1f62fbded24845f053
[ "MIT" ]
20
2021-04-08T01:28:53.000Z
2022-03-22T22:26:05.000Z
# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import io import unittest from typing import Iterable, Union from ...analysis_output import AnalysisOutput, Metadata from .. import ( P...
37.332757
88
0.281393
9,192
172,776
5.136858
0.02698
0.080817
0.089796
0.050998
0.966814
0.965162
0.960799
0.955144
0.94644
0.939218
0
0.041433
0.614316
172,776
4,627
89
37.340826
0.667152
0.011969
0
0.783831
0
0.003954
0.50082
0.014996
0
0
0
0.000216
0.012522
1
0.002636
false
0
0.001538
0
0.004833
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
1
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
8
78ac9a9d5d89f65ca395f33c0537ada5d6af12a0
96
py
Python
tests/__init__.py
markfink/korg
6a123031b69896f61fe0007f4a1d5f6f064b6ad9
[ "MIT" ]
null
null
null
tests/__init__.py
markfink/korg
6a123031b69896f61fe0007f4a1d5f6f064b6ad9
[ "MIT" ]
2
2020-01-18T10:32:13.000Z
2020-01-18T10:34:17.000Z
tests/__init__.py
markfink/korg
6a123031b69896f61fe0007f4a1d5f6f064b6ad9
[ "MIT" ]
null
null
null
import os def here(p): return os.path.abspath(os.path.join(os.path.dirname(__file__), p))
16
70
0.697917
17
96
3.705882
0.647059
0.285714
0
0
0
0
0
0
0
0
0
0
0.135417
96
5
71
19.2
0.759036
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
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
1
0
0
1
1
1
0
0
7
78cacfed10f46dc69a7f2e10fde0582841077022
214
py
Python
main.py
openhomeschool/sorter1
5a4224e85739b5d227de7b74c08dfc3c6f25a7b6
[ "MIT" ]
null
null
null
main.py
openhomeschool/sorter1
5a4224e85739b5d227de7b74c08dfc3c6f25a7b6
[ "MIT" ]
null
null
null
main.py
openhomeschool/sorter1
5a4224e85739b5d227de7b74c08dfc3c6f25a7b6
[ "MIT" ]
null
null
null
def sort(words): # write your code here... return print(sort( ['hi', 'bye'] )) print(sort( ['abc', 'def'] )) print(sort( ['hi', 'bye', 'def', 'abc'] )) print(sort( ['add', 'some', 'more', 'words', 'here!'] ))
21.4
56
0.528037
29
214
3.896552
0.517241
0.318584
0.19469
0.247788
0
0
0
0
0
0
0
0
0.158879
214
9
57
23.777778
0.627778
0.107477
0
0
0
0
0.228723
0
0
0
0
0.111111
0
1
0.166667
false
0
0
0.166667
0.333333
0.666667
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
1
0
0
0
0
0
0
1
0
1
0
8
15329a447268086d1c10f64723c1d182ed67d28a
16,143
py
Python
lccserver/tests/test_utils.py
waqasbhatti/lcc-server
b8256bf28aee42e628abe27f0203d6f5361fb84b
[ "MIT" ]
3
2018-08-24T04:01:36.000Z
2021-04-21T16:25:04.000Z
lccserver/tests/test_utils.py
waqasbhatti/lcc-server
b8256bf28aee42e628abe27f0203d6f5361fb84b
[ "MIT" ]
7
2018-08-24T11:50:20.000Z
2019-03-09T03:58:00.000Z
lccserver/tests/test_utils.py
waqasbhatti/lcc-server
b8256bf28aee42e628abe27f0203d6f5361fb84b
[ "MIT" ]
1
2020-06-01T07:55:16.000Z
2020-06-01T07:55:16.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- '''test_utils.py - Waqas Bhatti (wbhatti@astro.princeton.edu) - Aug 2018 License: MIT - see the LICENSE file for the full text. This tests the lccserver.utils module. ''' import lccserver.utils as lcu import multiprocessing as mp from concurrent.futures import as_comple...
27.784854
79
0.609924
1,905
16,143
5.044619
0.135433
0.017482
0.007492
0.022477
0.858065
0.847138
0.844329
0.83975
0.83975
0.830385
0
0.007742
0.231865
16,143
580
80
27.832759
0.767258
0.111503
0
0.771676
0
0
0.241998
0.015116
0
0
0
0
0.052023
1
0.057803
false
0.008671
0.031792
0
0.106936
0.052023
0
0
0
null
0
0
0
1
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
7
1588325c524b8ac318a55a7b399a336ccae7345f
1,124
py
Python
tests/data_test_K2/correct_json_colimators.py
xsuite/xcol
5ca9d49a3a09aeecfa5fc193631ad49f7f582408
[ "Apache-2.0" ]
null
null
null
tests/data_test_K2/correct_json_colimators.py
xsuite/xcol
5ca9d49a3a09aeecfa5fc193631ad49f7f582408
[ "Apache-2.0" ]
null
null
null
tests/data_test_K2/correct_json_colimators.py
xsuite/xcol
5ca9d49a3a09aeecfa5fc193631ad49f7f582408
[ "Apache-2.0" ]
null
null
null
from pathlib import Path import json import numpy as np import xobjects as xo import xcoll as xc with open(Path(Path.cwd(), 'collimators_B1'), 'r') as fid: collimators = [ x.strip() for x in fid.readlines()] for name in collimators: with open(Path(Path.cwd(), 'Collimators',name+'.json'), 'r') as fid: ...
34.060606
72
0.620107
182
1,124
3.796703
0.241758
0.034732
0.081042
0.138929
0.879884
0.879884
0.793054
0.793054
0.793054
0.793054
0
0.028857
0.198399
1,124
32
73
35.125
0.738069
0
0
0.758621
0
0
0.087189
0
0
0
0
0
0
1
0
false
0
0.172414
0
0.172414
0
0
0
0
null
0
0
0
1
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
7
01d27c0d0916d9e453ed46c48e1a524781dec69f
810
py
Python
tests/test_measurekey.py
minatoyuichiro/Blueqat
1be0150ca48bf40527936561d1bf4687dbf435b4
[ "Apache-2.0" ]
357
2019-02-24T07:21:03.000Z
2022-03-15T22:59:13.000Z
tests/test_measurekey.py
mdrft/blueqat
6c5f26b377bc3ce0d02adec8b9132d70870b3d95
[ "Apache-2.0" ]
35
2019-03-29T02:13:09.000Z
2021-10-15T02:19:06.000Z
tests/test_measurekey.py
mdrft/blueqat
6c5f26b377bc3ce0d02adec8b9132d70870b3d95
[ "Apache-2.0" ]
49
2019-03-09T13:19:40.000Z
2022-03-11T08:31:16.000Z
from blueqat import Circuit def test_key0(): assert Circuit().m(key="test")[0].run(shots=10, returns="samples") == [{"test": [0]} for _ in range(10)] def test_key1(): assert Circuit().x[0].m(key="test")[0].run(shots=10, returns="samples") == [{"test": [1]} for _ in range(10)] def test_keys(): assert Ci...
38.571429
156
0.582716
144
810
3.194444
0.194444
0.069565
0.045652
0.091304
0.815217
0.786957
0.713043
0.613043
0.513043
0.391304
0
0.069307
0.12716
810
20
157
40.5
0.58133
0
0
0
0
0
0.091358
0
0
0
0
0
0.454545
1
0.454545
true
0
0.090909
0
0.545455
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
1
0
0
0
1
0
0
7
01ed5b041e73a4cd37b04bd9d88472defdab6b4a
29
py
Python
quit/__init__.py
plewandowska777/QuIT
1e1ea4d57e16a6074c123ed01b22ad190384329c
[ "MIT" ]
null
null
null
quit/__init__.py
plewandowska777/QuIT
1e1ea4d57e16a6074c123ed01b22ad190384329c
[ "MIT" ]
1
2022-01-25T17:07:51.000Z
2022-01-25T17:07:51.000Z
quit/__init__.py
plewandowska777/QuIT
1e1ea4d57e16a6074c123ed01b22ad190384329c
[ "MIT" ]
null
null
null
def dummy(): return 2137
9.666667
15
0.62069
4
29
4.5
1
0
0
0
0
0
0
0
0
0
0
0.190476
0.275862
29
2
16
14.5
0.666667
0
0
0
0
0
0
0
0
0
0
0
0
1
0.5
true
0
0
0.5
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
1
1
0
0
1
1
0
0
7
01edb32b0a33b2b61637012bf80de2b59a87f082
12,655
py
Python
tests/test_unitest.py
Max1993Liu/wrapcache
af30bf3609d82b02060861aa739528005c0f527c
[ "MIT" ]
117
2016-01-03T14:41:33.000Z
2021-07-06T05:48:30.000Z
tests/test_unitest.py
Max1993Liu/wrapcache
af30bf3609d82b02060861aa739528005c0f527c
[ "MIT" ]
8
2016-01-07T04:47:56.000Z
2020-11-17T07:16:25.000Z
tests/test_unitest.py
Max1993Liu/wrapcache
af30bf3609d82b02060861aa739528005c0f527c
[ "MIT" ]
26
2016-01-04T08:48:22.000Z
2021-03-15T10:02:02.000Z
#-*-coding: utf-8 -*- import unittest, time import sys, random import wrapcache from wrapcache.adapter.MemoryAdapter import MemoryAdapter from wrapcache.adapter.RedisAdapter import RedisAdapter from wrapcache.database import LruCacheDB #########################Memory test class TestMemoryInstance: @wrapcache.wrap...
41.903974
194
0.653418
1,771
12,655
4.396386
0.055336
0.070511
0.090162
0.104803
0.923966
0.920755
0.920755
0.917544
0.89738
0.882225
0
0.02662
0.22821
12,655
302
195
41.903974
0.770554
0.019597
0
0.90708
0
0
0.146734
0.005362
0
0
0
0
0.252212
1
0.141593
false
0.017699
0.030973
0.026549
0.230089
0.022124
0
0
0
null
0
0
0
1
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
7
bf08f8e37e370304ef6370c0f8c39be1cc1154d6
34,516
py
Python
src/costmanagement/azext_costmanagement/vendored_sdks/costmanagement/operations/_view_operations.py
Mannan2812/azure-cli-extensions
e2b34efe23795f6db9c59100534a40f0813c3d95
[ "MIT" ]
207
2017-11-29T06:59:41.000Z
2022-03-31T10:00:53.000Z
src/costmanagement/azext_costmanagement/vendored_sdks/costmanagement/operations/_view_operations.py
Mannan2812/azure-cli-extensions
e2b34efe23795f6db9c59100534a40f0813c3d95
[ "MIT" ]
4,061
2017-10-27T23:19:56.000Z
2022-03-31T23:18:30.000Z
src/costmanagement/azext_costmanagement/vendored_sdks/costmanagement/operations/_view_operations.py
Mannan2812/azure-cli-extensions
e2b34efe23795f6db9c59100534a40f0813c3d95
[ "MIT" ]
802
2017-10-11T17:36:26.000Z
2022-03-31T22:24:32.000Z
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
50.609971
244
0.68067
3,632
34,516
6.33728
0.082048
0.043794
0.045966
0.039102
0.934744
0.934309
0.931529
0.930703
0.925099
0.914498
0
0.006052
0.219724
34,516
681
245
50.684288
0.848582
0.473635
0
0.821656
0
0
0.081636
0.025972
0
0
0
0
0
1
0.047771
false
0
0.028662
0
0.140127
0
0
0
0
null
0
0
0
1
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
7
bf30dd287dac5c72b954c133feb32342f600ed86
254,716
py
Python
triple_agent/tests/test_parse_timeline.py
andrewzwicky/TripleAgent
8d056df5c53a3d264dc778bad6771a0a2f62e7e7
[ "MIT" ]
3
2020-04-25T11:42:03.000Z
2020-07-08T16:38:26.000Z
triple_agent/tests/test_parse_timeline.py
andrewzwicky/TripleAgent
8d056df5c53a3d264dc778bad6771a0a2f62e7e7
[ "MIT" ]
17
2019-08-11T19:09:55.000Z
2021-03-30T17:12:28.000Z
triple_agent/tests/test_parse_timeline.py
andrewzwicky/TripleAgent
8d056df5c53a3d264dc778bad6771a0a2f62e7e7
[ "MIT" ]
null
null
null
from pathlib import Path from typing import List, Tuple, Optional import cv2 import pytest from triple_agent.parsing.timeline.parse_timeline import ( parse_screenshot, find_overlap_last_page_index, trim_overlapped_list, ) from triple_agent.classes.action_tests import ActionTest from triple_agent.classes.bo...
28.083352
86
0.323521
14,870
254,716
5.532482
0.032011
0.060096
0.093195
0.132263
0.931893
0.8955
0.860444
0.810169
0.776183
0.735815
0
0.134263
0.574196
254,716
9,069
87
28.086448
0.624254
0.000161
0
0.867293
0
0
0.086609
0.000298
0
0
0
0
0.001547
1
0.000331
false
0
0.001215
0
0.001547
0.005967
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
1
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
8
17424bb4fb5d98583bbc38888af5b4fd94f0888f
93
py
Python
from_root/utils/__init__.py
EduardKononov/from-root
eb80e93a31861217162705a4250a5f73c3821cbc
[ "MIT" ]
7
2021-03-26T13:11:48.000Z
2022-02-15T10:20:43.000Z
from_root/utils/__init__.py
EduardKononov/from-root
eb80e93a31861217162705a4250a5f73c3821cbc
[ "MIT" ]
null
null
null
from_root/utils/__init__.py
EduardKononov/from-root
eb80e93a31861217162705a4250a5f73c3821cbc
[ "MIT" ]
1
2021-07-20T12:56:48.000Z
2021-07-20T12:56:48.000Z
from from_root.utils.all_dirs_exists import * from from_root.utils.get_project_root import *
31
46
0.849462
16
93
4.5625
0.5625
0.219178
0.328767
0.465753
0
0
0
0
0
0
0
0
0.086022
93
2
47
46.5
0.858824
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
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
8
177cac7a5f7d726ae42917284e0047848e8c02a3
18,305
py
Python
ipyatom/test_repeat_density.py
chrisjsewell/ipyatom
a4cc9e1c7aecaf18eaa510bba2adb4ca3da63a2f
[ "MIT" ]
null
null
null
ipyatom/test_repeat_density.py
chrisjsewell/ipyatom
a4cc9e1c7aecaf18eaa510bba2adb4ca3da63a2f
[ "MIT" ]
null
null
null
ipyatom/test_repeat_density.py
chrisjsewell/ipyatom
a4cc9e1c7aecaf18eaa510bba2adb4ca3da63a2f
[ "MIT" ]
null
null
null
import numpy as np import pytest from ase.atoms import Atoms from ase.build import bulk as ase_bulk from ejplugins.utils import load_test_file from ipyatom.repeat_density import ejdata_to_dict, cubesliceplane, atoms_to_rdensity from ipyatom.transforms import add_repeat, apply_transforms, add_resize, add_slice from ipya...
40.230769
120
0.468834
3,102
18,305
2.6902
0.061896
0.359497
0.469143
0.589575
0.845656
0.818454
0.793289
0.782624
0.759976
0.749311
0
0.137142
0.288555
18,305
454
121
40.319383
0.503647
0.039115
0
0.770667
0
0
0.041676
0.001596
0
0
0
0
0.12
1
0.048
false
0
0.026667
0.002667
0.082667
0
0
0
0
null
1
1
1
1
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
10
bd7b8d410d6c50fb125b678ee72ceb44dc51cdae
3,102
py
Python
test/solver_component_test.py
SleepBook/pySpice
b1a468820379ce8aeaff91ddfa0113a0accb07f3
[ "MIT" ]
5
2016-10-17T02:11:45.000Z
2020-02-28T20:22:08.000Z
test/solver_component_test.py
SleepBook/pySpice
b1a468820379ce8aeaff91ddfa0113a0accb07f3
[ "MIT" ]
null
null
null
test/solver_component_test.py
SleepBook/pySpice
b1a468820379ce8aeaff91ddfa0113a0accb07f3
[ "MIT" ]
null
null
null
from nose.tools import * from pySpice.solver.stamp import * from pySpice.parser.parser import * import pySpice.global_data import numpy as np def test_stamp_resistor(): reload(pySpice.global_data) NETLIST_ROOT = 'data/sample_netlist/' parser(NETLIST_ROOT + 'stamp1.sp') MNA = np.zeros((pySpice.global_da...
38.296296
118
0.725016
474
3,102
4.447257
0.126582
0.166509
0.217742
0.142315
0.883302
0.844877
0.816888
0.816888
0.816888
0.804554
0
0.019308
0.115087
3,102
80
119
38.775
0.748634
0.073501
0
0.648148
0
0
0.062096
0
0
0
0
0
0.333333
1
0.055556
false
0
0.092593
0
0.148148
0
0
0
0
null
0
1
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
7
e5040218d946bd517ddfa949bb12db23c00e55a3
118
py
Python
utils/__init__.py
hentt30/EDA-titanic-dataset
3213a03b4c0e6569732e19a977be64cf9893def5
[ "MIT" ]
null
null
null
utils/__init__.py
hentt30/EDA-titanic-dataset
3213a03b4c0e6569732e19a977be64cf9893def5
[ "MIT" ]
null
null
null
utils/__init__.py
hentt30/EDA-titanic-dataset
3213a03b4c0e6569732e19a977be64cf9893def5
[ "MIT" ]
null
null
null
""" init for utils module """ from .trimmed import trimmed_mean from .trimmed import trimmed_std from .mad import mad
16.857143
33
0.771186
18
118
4.944444
0.555556
0.247191
0.382022
0.539326
0
0
0
0
0
0
0
0
0.152542
118
6
34
19.666667
0.89
0.177966
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
8
e5120ba18b24994ad061d3c275aeb01172b7a577
143
py
Python
vicarui/src/vicarui/analysis/fitting/__init__.py
joniumGit/moons
f5f8b7e23e707c8cf7e1081c4a1c0fcc22182d85
[ "MIT" ]
1
2021-07-16T06:30:37.000Z
2021-07-16T06:30:37.000Z
vicarui/src/vicarui/analysis/fitting/__init__.py
joniumGit/moons
f5f8b7e23e707c8cf7e1081c4a1c0fcc22182d85
[ "MIT" ]
null
null
null
vicarui/src/vicarui/analysis/fitting/__init__.py
joniumGit/moons
f5f8b7e23e707c8cf7e1081c4a1c0fcc22182d85
[ "MIT" ]
1
2021-05-26T03:53:41.000Z
2021-05-26T03:53:41.000Z
from .fitting import DataPacket from .second_degree import contrast_2nd_deg, integrate_2nd_deg, contrast_error_2nd_deg, integral_error_2nd_deg
47.666667
110
0.888112
22
143
5.272727
0.545455
0.206897
0.189655
0
0
0
0
0
0
0
0
0.030303
0.076923
143
2
111
71.5
0.848485
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
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
7
e557d9d613fc2b7c3de5673478003bd99319e90d
379
py
Python
1cac.py
Roseliannys17/grupo8_2167
19703972ac59f40b6bb4d5c0a7528119e8d94a2d
[ "MIT" ]
null
null
null
1cac.py
Roseliannys17/grupo8_2167
19703972ac59f40b6bb4d5c0a7528119e8d94a2d
[ "MIT" ]
null
null
null
1cac.py
Roseliannys17/grupo8_2167
19703972ac59f40b6bb4d5c0a7528119e8d94a2d
[ "MIT" ]
1
2021-11-22T03:39:57.000Z
2021-11-22T03:39:57.000Z
#Dado un string, escribir una funcion que cambie todos los espacios por guiones. string='Hola Mundo hola mundo HOLA MUNDO Hola Mundo hola mundo HOLA MUNDO Hola Mundo hola mundo HOLA MUNDO Hola Mundo hola mundo HOLA MUNDO Hola Mundo hola mundo HOLA MUNDO Hola Mundo hola mundo HOLA MUNDO Hola Mundo hola mundo HOLA MUNDO...
75.8
240
0.781003
63
379
4.666667
0.285714
0.642857
0.884354
1.22449
0.642857
0.642857
0.642857
0.642857
0.642857
0.642857
0
0
0.171504
379
4
241
94.75
0.936306
0.208443
0
0
0
0.333333
0.786441
0
0
0
0
0.25
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
1
1
1
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
0
0
1
1
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
8
e5917ad441193d527d099caa73575710536653e3
79
py
Python
qleet/simulators/__init__.py
AnimeshSinha1309/qaoa-optimizer
2a93a46bacc99f22f49e7b5121eb3aa9f12c0163
[ "Apache-2.0" ]
9
2021-09-26T18:43:43.000Z
2022-03-30T12:34:01.000Z
qleet/simulators/__init__.py
QLemma/qLEET
2a93a46bacc99f22f49e7b5121eb3aa9f12c0163
[ "Apache-2.0" ]
12
2021-09-19T13:29:33.000Z
2022-01-09T15:22:49.000Z
qleet/simulators/__init__.py
QLemma/qLEET
2a93a46bacc99f22f49e7b5121eb3aa9f12c0163
[ "Apache-2.0" ]
1
2022-03-14T03:02:24.000Z
2022-03-14T03:02:24.000Z
import qleet.simulators.pqc_trainer import qleet.simulators.circuit_simulators
26.333333
42
0.898734
10
79
6.9
0.6
0.318841
0.608696
0
0
0
0
0
0
0
0
0
0.050633
79
2
43
39.5
0.92
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
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
7
e5a6db18be790ecc1a424104eb91698be76ddabf
166
py
Python
Core/Exceptions/Search.py
hanif-ali/BlogBar
e24aa0835ac8869680bd904ad050fd7437ed97c7
[ "PostgreSQL" ]
null
null
null
Core/Exceptions/Search.py
hanif-ali/BlogBar
e24aa0835ac8869680bd904ad050fd7437ed97c7
[ "PostgreSQL" ]
null
null
null
Core/Exceptions/Search.py
hanif-ali/BlogBar
e24aa0835ac8869680bd904ad050fd7437ed97c7
[ "PostgreSQL" ]
1
2020-10-25T18:11:22.000Z
2020-10-25T18:11:22.000Z
from werkzeug.exceptions import BadRequestKeyError class InvalidGETRequest(BadRequestKeyError): pass class CampaignDoesNotExist(BadRequestKeyError): pass
16.6
50
0.825301
13
166
10.538462
0.692308
0.321168
0
0
0
0
0
0
0
0
0
0
0.13253
166
9
51
18.444444
0.951389
0
0
0.4
0
0
0
0
0
0
0
0
0
1
0
true
0.4
0.2
0
0.6
0
1
0
1
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
1
0
0
1
0
0
7
e5c5d1c82c3889cd36c60debee773af97134d527
89
py
Python
pypy/module/test_lib_pypy/pyrepl/__init__.py
akercheval/espy
f8317d2f01ba726ed4f03cab081176c32ae4cac4
[ "Apache-2.0", "OpenSSL" ]
4
2019-02-11T06:58:43.000Z
2020-03-15T14:12:32.000Z
pypy/module/test_lib_pypy/pyrepl/__init__.py
akercheval/espy
f8317d2f01ba726ed4f03cab081176c32ae4cac4
[ "Apache-2.0", "OpenSSL" ]
null
null
null
pypy/module/test_lib_pypy/pyrepl/__init__.py
akercheval/espy
f8317d2f01ba726ed4f03cab081176c32ae4cac4
[ "Apache-2.0", "OpenSSL" ]
null
null
null
import sys import lib_pypy.pyrepl sys.modules['pyrepl'] = sys.modules['lib_pypy.pyrepl']
22.25
54
0.775281
14
89
4.785714
0.428571
0.208955
0.38806
0
0
0
0
0
0
0
0
0
0.078652
89
3
55
29.666667
0.817073
0
0
0
0
0
0.235955
0
0
0
0
0
0
1
0
true
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
1
0
1
0
1
0
0
7
e5c68503425412f81cebe05fe31512438af3d279
36,215
py
Python
metal/models/capacity_api.py
displague/metal-python
96e64e9ac41025d85ff6f61693165e29e1c366db
[ "MIT" ]
null
null
null
metal/models/capacity_api.py
displague/metal-python
96e64e9ac41025d85ff6f61693165e29e1c366db
[ "MIT" ]
3
2021-09-27T05:10:36.000Z
2021-09-27T06:10:57.000Z
metal/models/capacity_api.py
displague/metal-python
96e64e9ac41025d85ff6f61693165e29e1c366db
[ "MIT" ]
null
null
null
# coding: utf-8 """ Metal API This is the API for Equinix Metal. The API allows you to programmatically interact with all of your Equinix Metal resources, including devices, networks, addresses, organizations, projects, and your user account. The official API docs are hosted at <https://metal.equinix.com/dev...
42.857988
312
0.59514
3,963
36,215
5.180419
0.059551
0.031953
0.047735
0.031564
0.950852
0.945251
0.944618
0.937068
0.932733
0.924208
0
0.012868
0.336932
36,215
844
313
42.908768
0.842086
0.495402
0
0.742547
0
0
0.164681
0.052303
0
0
0
0
0
1
0.03523
false
0
0.01355
0
0.084011
0
0
0
0
null
0
0
0
1
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
7
e5fc9c9f2ae31f5f6eb9c65e3b6b0811d84a613c
89
py
Python
hardware/tests/test_remove.py
y3rsh/opentrons
b446567910db218030fef40396ab2255cc074bba
[ "Apache-2.0" ]
235
2017-10-27T20:37:27.000Z
2022-03-30T14:09:49.000Z
hardware/tests/test_remove.py
y3rsh/opentrons
b446567910db218030fef40396ab2255cc074bba
[ "Apache-2.0" ]
8,425
2017-10-26T15:25:43.000Z
2022-03-31T23:54:26.000Z
hardware/tests/test_remove.py
y3rsh/opentrons
b446567910db218030fef40396ab2255cc074bba
[ "Apache-2.0" ]
130
2017-11-09T21:02:37.000Z
2022-03-15T18:01:24.000Z
"""A dummy test.""" def test_remove() -> None: """A dummy test.""" assert True
12.714286
26
0.539326
12
89
3.916667
0.666667
0.255319
0.425532
0
0
0
0
0
0
0
0
0
0.247191
89
6
27
14.833333
0.701493
0.303371
0
0
0
0
0
0
0
0
0
0
0.5
1
0.5
true
0
0
0
0.5
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
1
1
0
0
0
0
0
0
7
f9191366e93391df510ee0a953e79053dea7e68b
8,970
py
Python
ansiscape/__init__.py
cariad/ansiscape
07118b68729fcdc2198fc69c35bb1e9ef1bb5b80
[ "MIT" ]
null
null
null
ansiscape/__init__.py
cariad/ansiscape
07118b68729fcdc2198fc69c35bb1e9ef1bb5b80
[ "MIT" ]
30
2021-09-05T13:56:21.000Z
2021-10-05T11:14:11.000Z
ansiscape/__init__.py
cariad/ansiscape
07118b68729fcdc2198fc69c35bb1e9ef1bb5b80
[ "MIT" ]
null
null
null
from ansiscape.enums import InterpretationKey, NamedColor, SelectGraphicRendition from ansiscape.handlers import get_color_interpreter, get_interpreter_for_sgr from ansiscape.interpreters import register_interpreters from ansiscape.sequence import Sequence from ansiscape.types import Color, Interpretation, SequencePart...
30.824742
85
0.78796
927
8,970
7.381877
0.0863
0.231477
0.275464
0.317112
0.800088
0.780944
0.716645
0.576355
0.334356
0.081835
0
0.002281
0.120067
8,970
290
86
30.931034
0.86469
0
0
0.063694
0
0
0.003679
0
0
0
0
0
0
1
0.414013
false
0
0.038217
0.394904
0.866242
0
0
0
0
null
1
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
1
0
0
0
1
1
0
0
9
00f46f858f83b7ae790eff1489124903e170aabb
7,391
py
Python
tests/test_blockparser_table.py
tk0miya/pycmark-gfm
db31d034c592fa3139a7bc672b0eae7a6fefa7d9
[ "Apache-2.0" ]
1
2019-05-12T07:21:02.000Z
2019-05-12T07:21:02.000Z
tests/test_blockparser_table.py
tk0miya/pycmark-gfm
db31d034c592fa3139a7bc672b0eae7a6fefa7d9
[ "Apache-2.0" ]
null
null
null
tests/test_blockparser_table.py
tk0miya/pycmark-gfm
db31d034c592fa3139a7bc672b0eae7a6fefa7d9
[ "Apache-2.0" ]
null
null
null
""" test_blockparser_table ~~~~~~~~~~~~~~~~~~~~~~ :copyright: Copyright 2019 by Takeshi KOMIYA :license: Apache License 2.0, see LICENSE for details. """ from docutils import nodes from utils import publish, assert_node def test_example_191(): text = ("| foo | bar |\n" "| --- | --- |...
53.557971
112
0.375727
612
7,391
4.464052
0.107843
0.153734
0.153734
0.237189
0.846266
0.835652
0.832723
0.800878
0.747804
0.708638
0
0.023159
0.480043
7,391
137
113
53.948905
0.687744
0.019754
0
0.539823
0
0
0.069796
0
0
0
0
0
0.230089
1
0.070796
false
0
0.017699
0
0.088496
0
0
0
0
null
0
0
1
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
7
dab1327bc821333d4464e6555e5e28efc3f517b0
973
py
Python
articlenizer/tokenize.py
BeTKH/articlenizer
7f18a630c71fcb7c80c710b9ef3870e460f49cac
[ "MIT" ]
1
2022-01-04T11:58:36.000Z
2022-01-04T11:58:36.000Z
articlenizer/tokenize.py
BeTKH/articlenizer
7f18a630c71fcb7c80c710b9ef3870e460f49cac
[ "MIT" ]
null
null
null
articlenizer/tokenize.py
BeTKH/articlenizer
7f18a630c71fcb7c80c710b9ef3870e460f49cac
[ "MIT" ]
1
2022-02-15T17:09:37.000Z
2022-02-15T17:09:37.000Z
import re # TODO numbers such as 10,000 and stuff such as R&D TOKENIZATION_REGEX = re.compile(r'((?:10.1371.journal.[a-z]+.[a-z0-9\.]+)|https?\:\/\/[a-zA-Z0-9\-\.]+[\w\/\._\-\:~\?=#%]*[\w\/_\-\:~\?=#%]|ftp\:\/\/[a-zA-Z0-9\-\.]+[\w\/\._\-\:~\?=#%]*[\w\/_\-\:~\?=#%]|www\.[a-zA-Z0-9\-\.]+[\w\/\._\-\:~\?=#%]*|[a-zA-Z0-9\-...
64.866667
649
0.455293
189
973
2.296296
0.322751
0.103687
0.092166
0.080645
0.31106
0.260369
0.221198
0.186636
0.186636
0.145161
0
0.067797
0.090442
973
15
650
64.866667
0.422599
0.204522
0
0
0
0.25
0.819519
0.819519
0
0
0
0.066667
0
1
0.25
false
0
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1
1
null
0
0
1
0
0
1
0
0
0
0
1
0
0
7
dab420a0daff73401e49faeedb0fffeb0bd69f00
5,490
py
Python
remc/antlr_output/languageListener.py
horus-4ever/python-remc
1dac312634c9c8f4f60f4f01bdddfac45b34063e
[ "MIT" ]
null
null
null
remc/antlr_output/languageListener.py
horus-4ever/python-remc
1dac312634c9c8f4f60f4f01bdddfac45b34063e
[ "MIT" ]
null
null
null
remc/antlr_output/languageListener.py
horus-4ever/python-remc
1dac312634c9c8f4f60f4f01bdddfac45b34063e
[ "MIT" ]
null
null
null
# Generated from language.g4 by ANTLR 4.9.2 from antlr4 import * if __name__ is not None and "." in __name__: from .languageParser import languageParser else: from languageParser import languageParser # This class defines a complete listener for a parse tree produced by languageParser. class languageListener(P...
33.272727
88
0.74827
611
5,490
6.621931
0.166939
0.051903
0.086505
0.155709
0.843055
0.717004
0.708601
0.533366
0.37741
0
0
0.001129
0.193078
5,490
165
89
33.272727
0.91219
0.381785
0
0.453333
1
0
0.000301
0
0
0
0
0
0
1
0.453333
false
0.453333
0.04
0
0.506667
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
7
dad16fe3d479d836846f8a722b5df105ba4cdac5
5,839
py
Python
test/drafting.py
Larook/DRL_LUDO
93e81b45d69de369efd199095bb891aef2c390e7
[ "MIT" ]
null
null
null
test/drafting.py
Larook/DRL_LUDO
93e81b45d69de369efd199095bb891aef2c390e7
[ "MIT" ]
null
null
null
test/drafting.py
Larook/DRL_LUDO
93e81b45d69de369efd199095bb891aef2c390e7
[ "MIT" ]
null
null
null
import numpy as np def get_state_after_action(pieces_player_begin, state_begin, dice, action): """ knowing where are current player's pieces and whats the dice and action to take :return: state of the player after making the move """ import config tile_move_from = pieces_player_begin[action] ...
54.064815
1,219
0.484843
1,499
5,839
1.784523
0.063376
0.785794
1.164112
1.53271
0.524112
0.501308
0.485607
0.441495
0.404486
0.404486
0
0.281633
0.286693
5,839
107
1,220
54.570093
0.360624
0.618942
0
0
0
0
0.023343
0
0
0
0
0
0
1
0.083333
false
0
0.041667
0
0.229167
0.083333
0
0
1
null
1
1
1
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
97417176b64fa71141b1dbb19bea04548182f417
15,517
py
Python
pkgs/clean-pkg/src/genie/libs/clean/stages/nxos/tests/test_change_boot_variable.py
patrickboertje/genielibs
61c37aacf3dd0f499944555e4ff940f92f53dacb
[ "Apache-2.0" ]
1
2022-01-16T10:00:24.000Z
2022-01-16T10:00:24.000Z
pkgs/clean-pkg/src/genie/libs/clean/stages/nxos/tests/test_change_boot_variable.py
patrickboertje/genielibs
61c37aacf3dd0f499944555e4ff940f92f53dacb
[ "Apache-2.0" ]
null
null
null
pkgs/clean-pkg/src/genie/libs/clean/stages/nxos/tests/test_change_boot_variable.py
patrickboertje/genielibs
61c37aacf3dd0f499944555e4ff940f92f53dacb
[ "Apache-2.0" ]
null
null
null
import logging import unittest from unittest.mock import Mock from genie.libs.clean.stages.nxos.stages import ChangeBootVariable from genie.libs.clean.stages.tests.utils import CommonStageTests, create_test_device from pyats.aetest.steps import Steps from pyats.results import Passed, Failed from pyats.aetest.signals...
38.503722
107
0.612232
1,998
15,517
4.66967
0.153654
0.034298
0.016077
0.018006
0.893462
0.885316
0.877814
0.877385
0.875991
0.870418
0
0.056774
0.306438
15,517
402
108
38.599502
0.810165
0.211574
0
0.772727
0
0.099174
0.462088
0.071634
0
0
0
0
0.07438
1
0.070248
false
0.053719
0.033058
0
0.123967
0
0
0
0
null
0
0
0
1
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
1
0
0
0
0
0
8
97832efe7b0fee4fd8933fb98d2180c0c04aec7c
28,178
py
Python
tests/test_load_jchat.py
debrief/pepys-import
12d29c0e0f69e1119400334983947893e7679b6b
[ "Apache-2.0" ]
4
2021-05-14T08:22:47.000Z
2022-02-04T19:48:25.000Z
tests/test_load_jchat.py
debrief/pepys-import
12d29c0e0f69e1119400334983947893e7679b6b
[ "Apache-2.0" ]
1,083
2019-11-06T17:01:07.000Z
2022-03-25T10:26:51.000Z
tests/test_load_jchat.py
debrief/pepys-import
12d29c0e0f69e1119400334983947893e7679b6b
[ "Apache-2.0" ]
4
2019-11-06T12:00:45.000Z
2021-06-09T04:18:28.000Z
import os import unicodedata import unittest from datetime import datetime from importers.jchat_importer import JChatImporter from pepys_import.core.store.data_store import DataStore from pepys_import.file.file_processor import FileProcessor from tests.utils import check_errors_for_file_contents FILE_PATH = os.path.d...
40.896952
108
0.58968
3,273
28,178
4.961503
0.065383
0.110844
0.097543
0.097543
0.887247
0.862738
0.838722
0.833303
0.833303
0.828499
0
0.018945
0.305025
28,178
688
109
40.956395
0.810244
0.122613
0
0.751046
0
0.01046
0.193761
0.050288
0
0
0
0
0.230126
1
0.043933
false
0.002092
0.075314
0
0.121339
0
0
0
0
null
0
0
0
1
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
7
97b9fcb9b87594b5cd601955cd193fd8e0ac892f
6,846
py
Python
deeppixel/cam/sscam.py
ls-da3m0ns/DeepPixel
1739502363a1fae6fb8c5c502bfdb018e585c6f7
[ "MIT" ]
null
null
null
deeppixel/cam/sscam.py
ls-da3m0ns/DeepPixel
1739502363a1fae6fb8c5c502bfdb018e585c6f7
[ "MIT" ]
3
2021-09-08T03:07:00.000Z
2022-03-12T00:56:04.000Z
deeppixel/cam/sscam.py
ls-da3m0ns/DeepPixel
1739502363a1fae6fb8c5c502bfdb018e585c6f7
[ "MIT" ]
null
null
null
import torch import torch.nn.functional as F class SSCAM1(BaseCAM): """ SSCAM1, inherit from BaseCAM """ def __init__(self, model_dict): super().__init__(model_dict) def forward(self, input, class_idx=None, param_n=35, mean=0, sigma=2, retain_graph=False): b, c, h, w = input....
33.558824
132
0.560327
784
6,846
4.612245
0.153061
0.167312
0.168142
0.06969
0.938053
0.938053
0.915376
0.915376
0.915376
0.915376
0
0.009292
0.33976
6,846
204
133
33.558824
0.790708
0.079609
0
0.896552
0
0
0.004173
0
0
0
0
0
0
1
0.051724
false
0
0.017241
0.017241
0.137931
0
0
0
0
null
0
0
0
1
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
7
8ade034bb4e3c7ebaad6977b29ae5cc454ba85a7
109
py
Python
src/spyd/game/command/commands/__init__.py
DanSeraf/spyd
af893b7f9c67785613b25754eb2cf150523a9fe4
[ "Zlib" ]
4
2015-05-05T16:44:42.000Z
2020-10-27T09:45:23.000Z
src/spyd/game/command/commands/__init__.py
DanSeraf/spyd
af893b7f9c67785613b25754eb2cf150523a9fe4
[ "Zlib" ]
null
null
null
src/spyd/game/command/commands/__init__.py
DanSeraf/spyd
af893b7f9c67785613b25754eb2cf150523a9fe4
[ "Zlib" ]
2
2016-12-13T22:21:08.000Z
2020-03-14T16:44:20.000Z
from spyd.utils.import_all import import_all import_all(__file__, 'spyd.game.command.commands', ['__init__'])
54.5
64
0.807339
16
109
4.8125
0.625
0.350649
0.38961
0
0
0
0
0
0
0
0
0
0.055046
109
2
64
54.5
0.747573
0
0
0
0
0
0.309091
0.236364
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
7
c10f5f17c7a6be734760e4d0f28cbe1e4b1c7f22
16,108
py
Python
ckan/migration/versions/039_add_expired_id_and_dates.py
okfde/ckankrzn
df4c1ed624f6751ac2a8f03527ff19e448d27dfb
[ "Apache-2.0" ]
4
2017-06-12T15:18:30.000Z
2019-10-11T15:12:43.000Z
ckan/migration/versions/039_add_expired_id_and_dates.py
okfde/ckankrzn
df4c1ed624f6751ac2a8f03527ff19e448d27dfb
[ "Apache-2.0" ]
64
2017-05-14T22:15:53.000Z
2020-03-08T15:26:49.000Z
ckan/migration/versions/039_add_expired_id_and_dates.py
okfde/ckankrzn
df4c1ed624f6751ac2a8f03527ff19e448d27dfb
[ "Apache-2.0" ]
5
2017-04-06T21:18:38.000Z
2020-03-30T17:05:23.000Z
# encoding: utf-8 from migrate import * import uuid import datetime def upgrade(migrate_engine): id = uuid.uuid4() make_missing_revisions = ''' -- make sure all tables have an entry in the revision_table insert into revision values ('%(id)s' , '%(timestamp)s', 'admin', 'Admin: make sure every object has a...
72.558559
343
0.779054
2,430
16,108
4.917284
0.051029
0.082852
0.048205
0.036154
0.833626
0.798393
0.768767
0.724914
0.685246
0.670516
0
0.012884
0.147132
16,108
221
344
72.886878
0.856893
0.000931
0
0.379518
0
0.271084
0.945
0.178858
0
0
0
0
0.018072
1
0.006024
false
0
0.018072
0
0.024096
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
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
c12c3682cc8f6a00c43bdb0d4ed36012e031ebfa
195
py
Python
scripts/unet/create_exportable_tiles.py
SchiffFlieger/semantic-segmentation-master-thesis
f54b8321a9e0828e492bc6847acbff80c1a75d7c
[ "MIT" ]
1
2021-02-07T09:22:44.000Z
2021-02-07T09:22:44.000Z
scripts/unet/create_exportable_tiles.py
SchiffFlieger/semantic-segmentation-master-thesis
f54b8321a9e0828e492bc6847acbff80c1a75d7c
[ "MIT" ]
null
null
null
scripts/unet/create_exportable_tiles.py
SchiffFlieger/semantic-segmentation-master-thesis
f54b8321a9e0828e492bc6847acbff80c1a75d7c
[ "MIT" ]
null
null
null
from scripts.common.create_exportable_tiles import create_exportable_tile_table if __name__ == '__main__': create_exportable_tile_table(table_suffix="unet", tile_size=57.2, label_size=38.8)
39
86
0.825641
29
195
4.896552
0.689655
0.338028
0.28169
0.352113
0
0
0
0
0
0
0
0.03352
0.082051
195
4
87
48.75
0.759777
0
0
0
0
0
0.061538
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
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
1
0
1
0
0
0
0
7
c149df1bc64642d9bb20ce42beff16098ea0ab62
599
py
Python
ue/ue_05/problem_1.py
VoxelPi/compm
745019d4e0d156910f19ed9168949f150356a349
[ "MIT" ]
null
null
null
ue/ue_05/problem_1.py
VoxelPi/compm
745019d4e0d156910f19ed9168949f150356a349
[ "MIT" ]
4
2022-03-09T22:54:25.000Z
2022-03-29T21:33:49.000Z
ue/ue_05/problem_1.py
VoxelPi/compm
745019d4e0d156910f19ed9168949f150356a349
[ "MIT" ]
null
null
null
import numpy as np def gendot(A, B): (n, m) = A.shape (p, q) = B.shape assert(n*m == p*q) return np.sum(np.reshape(A, (n*m, 1)) * np.reshape(B, (n*m, 1))) A = np.array([[1, 2, 3, 4], [5, 6, 7, 8], [9, 10, 11, 12]]) B = np.array([[1, 0, 1, 0, 1, 0], [1, 0, 1, 0, 1, 0]]) print(gendot(A, B)) def genadd...
24.958333
68
0.459098
136
599
2.022059
0.242647
0.087273
0.109091
0.145455
0.821818
0.821818
0.821818
0.821818
0.821818
0.821818
0
0.128035
0.24374
599
23
69
26.043478
0.479029
0
0
0.588235
0
0
0
0
0
0
0
0
0.117647
1
0.117647
false
0
0.058824
0
0.294118
0.117647
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
c153a22d554e822c5dbca54ec199215395aae269
1,375
py
Python
tests/test_provider_kvrhdn_honeycombio.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
507
2017-07-26T02:58:38.000Z
2022-01-21T12:35:13.000Z
tests/test_provider_kvrhdn_honeycombio.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
135
2017-07-20T12:01:59.000Z
2021-10-04T22:25:40.000Z
tests/test_provider_kvrhdn_honeycombio.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
81
2018-02-20T17:55:28.000Z
2022-01-31T07:08:40.000Z
# tests/test_provider_kvrhdn_honeycombio.py # Automatically generated by tools/makecode.py (24-Sep-2021 15:18:50 UTC) def test_provider_import(): import terrascript.provider.kvrhdn.honeycombio def test_resource_import(): from terrascript.resource.kvrhdn.honeycombio import honeycombio_board from terrasc...
31.976744
82
0.796364
165
1,375
6.49697
0.406061
0.206157
0.193097
0.285448
0.569963
0.478545
0.478545
0.117537
0
0
0
0.012594
0.133818
1,375
42
83
32.738095
0.88749
0.371636
0
0
1
0
0
0
0
0
0
0.02381
0
1
0.230769
true
0
1
0
1.230769
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
1
0
0
0
null
0
0
1
0
0
1
1
0
1
0
1
0
0
9
c16732dde5b8ea3623976694d640f5d74f445c76
105
py
Python
app/home/models/__init__.py
Monxun/monxun-code
35ce6d4aaf3a8afa0b80dde1dae9a1e7603a1f84
[ "MIT" ]
null
null
null
app/home/models/__init__.py
Monxun/monxun-code
35ce6d4aaf3a8afa0b80dde1dae9a1e7603a1f84
[ "MIT" ]
null
null
null
app/home/models/__init__.py
Monxun/monxun-code
35ce6d4aaf3a8afa0b80dde1dae9a1e7603a1f84
[ "MIT" ]
null
null
null
from .home_models import * from .biz_models import * from .mus_models import * from .vbt_models import *
21
26
0.771429
16
105
4.8125
0.4375
0.623377
0.623377
0
0
0
0
0
0
0
0
0
0.152381
105
4
27
26.25
0.865169
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
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
7
c1790aa226329b81b657c1efacf09fa4c8764c4a
312
py
Python
python/ql/test/experimental/dataflow/ApiGraphs/test4.py
timoles/codeql
2d24387e9e300bf03be35694816b1e76ae88a50c
[ "MIT" ]
4,036
2020-04-29T00:09:57.000Z
2022-03-31T14:16:38.000Z
python/ql/test/experimental/dataflow/ApiGraphs/test4.py
timoles/codeql
2d24387e9e300bf03be35694816b1e76ae88a50c
[ "MIT" ]
2,970
2020-04-28T17:24:18.000Z
2022-03-31T22:40:46.000Z
python/ql/test/experimental/dataflow/ApiGraphs/test4.py
ScriptBox99/github-codeql
2ecf0d3264db8fb4904b2056964da469372a235c
[ "MIT" ]
794
2020-04-29T00:28:25.000Z
2022-03-30T08:21:46.000Z
import mypkg.foo as _foo #$ use=moduleImport("mypkg").getMember("foo") import mypkg.bar as _bar #$ use=moduleImport("mypkg").getMember("bar") print(_foo) #$ use=moduleImport("mypkg").getMember("foo") // <module 'mypkg.foo' ... print(_bar) #$ use=moduleImport("mypkg").getMember("bar") // <module 'mypkg.bar' ...
62.4
84
0.685897
40
312
5.25
0.25
0.285714
0.380952
0.552381
0.666667
0.666667
0
0
0
0
0
0
0.083333
312
4
85
78
0.734266
0.737179
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0.5
0
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
1
0
0
1
0
7
c1c8e0ec73fb213ba531269ddf69a3f77ce88757
45,686
py
Python
data_collection.py
Theskyspace/JoSSA-automation
b683451268fba34d70a32510f5a8bff3dc6de304
[ "Apache-2.0" ]
null
null
null
data_collection.py
Theskyspace/JoSSA-automation
b683451268fba34d70a32510f5a8bff3dc6de304
[ "Apache-2.0" ]
null
null
null
data_collection.py
Theskyspace/JoSSA-automation
b683451268fba34d70a32510f5a8bff3dc6de304
[ "Apache-2.0" ]
null
null
null
colleges = [ 'National Institute of Technology, Kurukshetra' , 'National Institute of Technology Raipur' , 'National Institute of Technology, Rourkela' , 'National Institute of Technology Calicut' , 'Indian Institute of Engineering Science and Technology, Shibpur' , 'National Institute of Technology Delhi' , 'National...
61.241287
220
0.787068
5,205
45,686
6.908549
0.045341
0.166857
0.129258
0.205095
0.967101
0.942462
0.90859
0.876804
0.855002
0.787035
0
0.009226
0.129296
45,686
746
221
61.241287
0.894718
0
0
0.93188
0
0.010899
0.919163
0.013736
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
de0ff8359ff0698915c38c018a40776da150c11e
4,046
py
Python
arxiv/canonical/services/tests/test_readable.py
arXiv/arxiv-canonical
a758ed88a568f23a834288aed4dcf7039c1340cf
[ "MIT" ]
5
2019-05-26T22:52:54.000Z
2021-11-05T12:27:11.000Z
arxiv/canonical/services/tests/test_readable.py
arXiv/arxiv-canonical
a758ed88a568f23a834288aed4dcf7039c1340cf
[ "MIT" ]
31
2019-06-24T13:51:25.000Z
2021-11-12T22:27:10.000Z
arxiv/canonical/services/tests/test_readable.py
arXiv/arxiv-canonical
a758ed88a568f23a834288aed4dcf7039c1340cf
[ "MIT" ]
4
2019-01-10T22:01:54.000Z
2021-11-05T12:26:58.000Z
import io from unittest import TestCase, mock from ..readable import BytesIOProxy class TestBytesIOProxy(TestCase): def setUp(self): """Create a new BytesIOProxy.""" self.test_content = b'test content' self.mock_read = mock.MagicMock() self.mock_read.return_value = self.test_conte...
47.046512
73
0.654968
469
4,046
5.509595
0.132196
0.116099
0.088235
0.073142
0.847136
0.823142
0.765093
0.733359
0.706269
0.706269
0
0.00197
0.247405
4,046
86
74
47.046512
0.846634
0.133712
0
0.645161
0
0
0.177681
0
0
0
0
0
0.387097
1
0.177419
false
0.177419
0.048387
0
0.241935
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
1
0
0
0
0
0
7
a9cf9532ce34fe32da63ac38544622129d8143d1
77
py
Python
train/treegen/preprocess/__init__.py
dngu7/honeycode
d7a00408f8370f3fea8ca1a94b239f3e4d842a7d
[ "MIT" ]
1
2021-03-25T10:11:21.000Z
2021-03-25T10:11:21.000Z
train/treegen/preprocess/__init__.py
dngu7/honeycode
d7a00408f8370f3fea8ca1a94b239f3e4d842a7d
[ "MIT" ]
null
null
null
train/treegen/preprocess/__init__.py
dngu7/honeycode
d7a00408f8370f3fea8ca1a94b239f3e4d842a7d
[ "MIT" ]
1
2020-11-20T00:13:16.000Z
2020-11-20T00:13:16.000Z
from preprocess import graph_loader from preprocess import local_graph_loader
38.5
41
0.909091
11
77
6.090909
0.545455
0.41791
0.597015
0
0
0
0
0
0
0
0
0
0.090909
77
2
41
38.5
0.957143
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
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
7
a9e2cdc30d31cd9ff7961adbfac292124af2b56d
5,324
py
Python
modules/cves/2022/CVE-2022-26318.py
cckuailong/pocsploit
fe4a3154e59d2bebd55ccfdf62f4f7efb21b5a2a
[ "MIT" ]
106
2022-03-18T06:51:09.000Z
2022-03-31T19:11:41.000Z
modules/cves/2022/CVE-2022-26318.py
cckuailong/pocsploit
fe4a3154e59d2bebd55ccfdf62f4f7efb21b5a2a
[ "MIT" ]
5
2022-03-27T07:37:32.000Z
2022-03-31T13:56:11.000Z
modules/cves/2022/CVE-2022-26318.py
cckuailong/pocsploit
fe4a3154e59d2bebd55ccfdf62f4f7efb21b5a2a
[ "MIT" ]
30
2022-03-21T01:27:08.000Z
2022-03-31T12:28:01.000Z
import socket import ssl import gzip from urllib.parse import urlparse from plugins.oob import gen_oob_domain, verify_request # Vuln Base Info def info(): return { "author": "cckuailong", "name": '''WatchGuard Unauth RCE''', "description": '''On WatchGuard Firebox and XTM appliances, an un...
51.192308
2,038
0.665665
926
5,324
3.785097
0.240821
0.662482
0.914123
1.150357
0.384308
0.344936
0.3398
0.3398
0.316976
0.309272
0
0.226641
0.135612
5,324
104
2,039
51.192308
0.534985
0.016529
0
0
0
0.063291
0.606959
0.435863
0
0
0
0
0
1
0.088608
false
0
0.075949
0.037975
0.253165
0.012658
0
0
0
null
1
1
1
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
e72aba29ed16bbe711a36191cfd2cdbda7ef4f99
118,597
py
Python
libs/PureCloudPlatformClientV2/apis/gamification_api.py
rocketbot-cl/genesysCloud
dd9d9b5ebb90a82bab98c0d88b9585c22c91f333
[ "MIT" ]
1
2021-10-08T20:46:45.000Z
2021-10-08T20:46:45.000Z
libs/PureCloudPlatformClientV2/apis/gamification_api.py
rocketbot-cl/genesysCloud
dd9d9b5ebb90a82bab98c0d88b9585c22c91f333
[ "MIT" ]
null
null
null
libs/PureCloudPlatformClientV2/apis/gamification_api.py
rocketbot-cl/genesysCloud
dd9d9b5ebb90a82bab98c0d88b9585c22c91f333
[ "MIT" ]
null
null
null
# coding: utf-8 """ GamificationApi.py Copyright 2016 SmartBear Software 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 requi...
41.700774
161
0.566642
11,757
118,597
5.509569
0.024581
0.037792
0.021073
0.019946
0.957531
0.94921
0.941429
0.934636
0.922703
0.915432
0
0.001941
0.352614
118,597
2,843
162
41.715441
0.841739
0.26902
0
0.841965
0
0
0.21652
0.064614
0
0
0
0
0
1
0.02324
false
0
0.004648
0
0.051129
0
0
0
0
null
0
0
0
1
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
7
e748de04723a8575b9a965c0fe6426c7e19cdad1
118
py
Python
microcoapy/__init__.py
ftylitak/microCoAPy
703f4c79d4cecf9da095cb6bc926f239800a219d
[ "Apache-2.0" ]
37
2019-10-16T10:07:55.000Z
2022-02-07T15:25:26.000Z
microcoapy/__init__.py
ftylitak/microCoAPy
703f4c79d4cecf9da095cb6bc926f239800a219d
[ "Apache-2.0" ]
6
2019-11-28T09:37:49.000Z
2022-02-04T11:45:14.000Z
microcoapy/__init__.py
ftylitak/microCoAPy
703f4c79d4cecf9da095cb6bc926f239800a219d
[ "Apache-2.0" ]
7
2020-11-10T13:25:17.000Z
2022-02-03T10:22:50.000Z
from .microcoapy import Coap from .coap_macros import COAP_CONTENT_FORMAT from .coap_macros import COAP_RESPONSE_CODE
29.5
44
0.872881
18
118
5.388889
0.5
0.309278
0.28866
0.412371
0.494845
0
0
0
0
0
0
0
0.101695
118
3
45
39.333333
0.915094
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
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
8
e79f23c0845b33b8672a9095174ea682adaa3cbd
11,328
py
Python
tests/components/cloud/test_http_api.py
cyrus19901/Homeassistant-updated
26ed3ac6187179739a8e0e98b4b7060272efb906
[ "Apache-2.0" ]
1
2020-08-06T00:03:02.000Z
2020-08-06T00:03:02.000Z
tests/components/cloud/test_http_api.py
icovada/home-assistant
25e6d694e1acab5a870890e594d0bbd48fc80135
[ "Apache-2.0" ]
null
null
null
tests/components/cloud/test_http_api.py
icovada/home-assistant
25e6d694e1acab5a870890e594d0bbd48fc80135
[ "Apache-2.0" ]
1
2019-09-15T04:45:12.000Z
2019-09-15T04:45:12.000Z
"""Tests for the HTTP API for the cloud component.""" import asyncio from unittest.mock import patch, MagicMock import pytest from homeassistant.bootstrap import async_setup_component from homeassistant.components.cloud import DOMAIN, auth_api @pytest.fixture def cloud_client(hass, test_client): """Fixture that...
33.219941
79
0.690237
1,454
11,328
5.127235
0.081843
0.084105
0.068813
0.0833
0.873508
0.854594
0.821328
0.778404
0.730651
0.640241
0
0.018903
0.187412
11,328
340
80
33.317647
0.790983
0.084393
0
0.646091
0
0
0.161707
0.051879
0
0
0
0
0.205761
1
0.123457
false
0.176955
0.020576
0
0.152263
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
1
0
0
0
0
0
7
e7b95a3d63e912757e682ffbf7cf207894c51cad
35,573
py
Python
export_readiness/migrations/0031_internationallandingpage_squashed_0050_auto_20190219_1633.py
kaedroho/dit-directory-cms
67c15eeed19e7b3583f1fce1969230ddf83b6813
[ "MIT" ]
6
2018-03-20T11:19:07.000Z
2021-10-05T07:53:11.000Z
export_readiness/migrations/0031_internationallandingpage_squashed_0050_auto_20190219_1633.py
kaedroho/dit-directory-cms
67c15eeed19e7b3583f1fce1969230ddf83b6813
[ "MIT" ]
802
2018-02-05T14:16:13.000Z
2022-02-10T10:59:21.000Z
export_readiness/migrations/0031_internationallandingpage_squashed_0050_auto_20190219_1633.py
kaedroho/dit-directory-cms
67c15eeed19e7b3583f1fce1969230ddf83b6813
[ "MIT" ]
6
2019-01-22T13:19:37.000Z
2019-07-01T10:35:26.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.18 on 2019-03-07 10:11 from __future__ import unicode_literals import core.model_fields import core.models import core.validators from django.db import migrations, models import django.db.models.deletion import modelcluster.fields class Migration(migrations.Migratio...
66.866541
1,037
0.644759
3,571
35,573
6.197984
0.078969
0.076582
0.046989
0.046989
0.842498
0.834455
0.811142
0.805404
0.794831
0.758641
0
0.017778
0.209372
35,573
531
1,038
66.992467
0.769173
0.00194
0
0.799235
1
0
0.334723
0.081575
0
0
0
0
0
1
0
false
0.001912
0.013384
0
0.021033
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
e7df70c258915d7e843436756251798bf210779e
5,689
py
Python
BugTracker-main/sendmail.py
Zusyaku/Termux-And-Lali-Linux-V2
b1a1b0841d22d4bf2cc7932b72716d55f070871e
[ "Apache-2.0" ]
2
2021-11-17T03:35:03.000Z
2021-12-08T06:00:31.000Z
BugTracker-main/sendmail.py
Zusyaku/Termux-And-Lali-Linux-V2
b1a1b0841d22d4bf2cc7932b72716d55f070871e
[ "Apache-2.0" ]
null
null
null
BugTracker-main/sendmail.py
Zusyaku/Termux-And-Lali-Linux-V2
b1a1b0841d22d4bf2cc7932b72716d55f070871e
[ "Apache-2.0" ]
2
2021-11-05T18:07:48.000Z
2022-02-24T21:25:07.000Z
import smtplib from email.mime.text import MIMEText from email.mime.multipart import MIMEMultipart from config import app # Sending confirmation email to the reporter class ReporterSendMail: def __init__(self, recipient_email, system, severity, steps, message): # Email and password for your SMTP server ...
87.523077
1,150
0.675163
829
5,689
4.604343
0.176116
0.03301
0.050301
0.029342
0.923238
0.91695
0.91695
0.91695
0.91695
0.91695
0
0.049028
0.168219
5,689
64
1,151
88.890625
0.757608
0.210933
0
0.666667
0
0.095238
0.636099
0.206218
0
0
0
0
0
1
0.047619
false
0.095238
0.095238
0
0.190476
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
9
8210502e1752e0803b33f19665f590cd658aa20b
213
py
Python
store_item_models/store_item_uses/models.py
reimibeta/django-store-item-models
0be5fad0df0b3ebc7283fc6369f0e769a4743987
[ "Apache-2.0" ]
null
null
null
store_item_models/store_item_uses/models.py
reimibeta/django-store-item-models
0be5fad0df0b3ebc7283fc6369f0e769a4743987
[ "Apache-2.0" ]
null
null
null
store_item_models/store_item_uses/models.py
reimibeta/django-store-item-models
0be5fad0df0b3ebc7283fc6369f0e769a4743987
[ "Apache-2.0" ]
null
null
null
# item use from store_item_models.store_item_uses.class_models.store_item_use import StoreItemUse # item use stock from store_item_models.store_item_uses.class_models.store_item_use_stock import StoreItemUseStock
42.6
97
0.892019
34
213
5.147059
0.323529
0.308571
0.342857
0.217143
0.628571
0.628571
0.628571
0.628571
0.628571
0.628571
0
0
0.070423
213
4
98
53.25
0.883838
0.107981
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
1
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
8
415c027dc1277d4f4c87bdbcc810f59cf45c0689
54
py
Python
convokit/emotion/__init__.py
calebchiam/cs6742-fork
14dc879849ada4c08059c21f8b9721c0c3dbcebf
[ "MIT" ]
null
null
null
convokit/emotion/__init__.py
calebchiam/cs6742-fork
14dc879849ada4c08059c21f8b9721c0c3dbcebf
[ "MIT" ]
null
null
null
convokit/emotion/__init__.py
calebchiam/cs6742-fork
14dc879849ada4c08059c21f8b9721c0c3dbcebf
[ "MIT" ]
1
2020-01-17T17:27:16.000Z
2020-01-17T17:27:16.000Z
from .emotion import * from .emotion import EmoTracker
27
31
0.814815
7
54
6.285714
0.571429
0.5
0.772727
0
0
0
0
0
0
0
0
0
0.12963
54
2
31
27
0.93617
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
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
7
41b26753c3bcb443658c19ec29606b3106462eab
68,630
py
Python
huaweicloud-sdk-gaussdb/huaweicloudsdkgaussdb/v3/gaussdb_async_client.py
huaweicloud/huaweicloud-sdk-python-v3
7a6270390fcbf192b3882bf763e7016e6026ef78
[ "Apache-2.0" ]
64
2020-06-12T07:05:07.000Z
2022-03-30T03:32:50.000Z
huaweicloud-sdk-gaussdb/huaweicloudsdkgaussdb/v3/gaussdb_async_client.py
huaweicloud/huaweicloud-sdk-python-v3
7a6270390fcbf192b3882bf763e7016e6026ef78
[ "Apache-2.0" ]
11
2020-07-06T07:56:54.000Z
2022-01-11T11:14:40.000Z
huaweicloud-sdk-gaussdb/huaweicloudsdkgaussdb/v3/gaussdb_async_client.py
huaweicloud/huaweicloud-sdk-python-v3
7a6270390fcbf192b3882bf763e7016e6026ef78
[ "Apache-2.0" ]
24
2020-06-08T11:42:13.000Z
2022-03-04T06:44:08.000Z
# coding: utf-8 from __future__ import absolute_import import datetime import re import importlib import six from huaweicloudsdkcore.client import Client, ClientBuilder from huaweicloudsdkcore.exceptions import exceptions from huaweicloudsdkcore.utils import http_utils from huaweicloudsdkcore.sdk_stream_request imp...
32.449173
123
0.639749
6,980
68,630
5.861748
0.045845
0.050446
0.088281
0.038714
0.900159
0.894855
0.88283
0.87039
0.848809
0.689112
0
0.000904
0.27472
68,630
2,114
124
32.464522
0.821078
0.118024
0
0.811489
0
0
0.122839
0.053223
0
0
0
0
0
1
0.050971
false
0.004854
0.008091
0
0.11246
0
0
0
0
null
0
0
0
1
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
7
68e4b16cf981c5743597b403dde38311368a0aea
750
py
Python
app/api/paystats.py
Saigesp/fastapi-test
6bfea3c34f49e3a87f1a8fb58071dbded6ccf376
[ "BSD-3-Clause" ]
null
null
null
app/api/paystats.py
Saigesp/fastapi-test
6bfea3c34f49e3a87f1a8fb58071dbded6ccf376
[ "BSD-3-Clause" ]
null
null
null
app/api/paystats.py
Saigesp/fastapi-test
6bfea3c34f49e3a87f1a8fb58071dbded6ccf376
[ "BSD-3-Clause" ]
null
null
null
from app.services.validation import validate_postal_code_id from app.selectors.paystats import ( get_paystats_by_age_gender_from_postal_code_id, get_paystats_by_time_gender_from_postal_code_id, ) async def get_paystats_by_age_gender(postal_code_id: int): validate_postal_code_id(postal_code_id) data = ...
28.846154
80
0.777333
114
750
4.508772
0.201754
0.330739
0.396887
0.210117
0.842412
0.747082
0.747082
0.747082
0.747082
0.583658
0
0
0.161333
750
25
81
30
0.81717
0
0
0.421053
0
0
0.056
0
0
0
0
0
0
1
0
false
0
0.105263
0
0.210526
0
0
0
0
null
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
6b59d740828fedae0fbca60cd3433629e2564ac1
10,203
py
Python
views/fetchplugin_dialog.py
endymecy/NDIToolbox
f7a0a642b4a778d9d0c131871f4bfb9822ecb3da
[ "BSD-4-Clause" ]
5
2017-02-28T16:16:06.000Z
2020-07-13T06:49:34.000Z
views/fetchplugin_dialog.py
endymecy/NDIToolbox
f7a0a642b4a778d9d0c131871f4bfb9822ecb3da
[ "BSD-4-Clause" ]
1
2018-08-19T19:08:14.000Z
2018-08-19T19:08:14.000Z
views/fetchplugin_dialog.py
endymecy/NDIToolbox
f7a0a642b4a778d9d0c131871f4bfb9822ecb3da
[ "BSD-4-Clause" ]
4
2017-10-25T20:17:15.000Z
2021-07-26T11:39:50.000Z
"""fetchplugin_idalog.py - dialog to configure remote fetch and inspection of NDIToolbox plugins Chris R. Coughlin (TRI/Austin, Inc.) """ __author__ = 'Chris R. Coughlin' from views import ui_defaults from controllers import fetchplugin_dialog_ctrl import wx class FetchPluginDialog(wx.Dialog): """Dia...
53.984127
100
0.616289
1,198
10,203
4.950751
0.113523
0.101163
0.048221
0.054628
0.890575
0.875569
0.858034
0.852807
0.816051
0.782499
0
0.002092
0.297364
10,203
189
101
53.984127
0.82522
0.068509
0
0.743243
0
0
0.047892
0
0
0
0
0
0
1
0.067568
false
0.047297
0.02027
0
0.101351
0
0
0
0
null
0
0
0
1
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
7
6b854f8a7254b12d22c3c71a84de744156f484c2
33,394
py
Python
user_agents.py
p1ay8y3ar/Bauman-Mytishchi-Campus-Wifi-Tool
8208be5f11a1437c9d806930886e4cb6c4ae4510
[ "MIT" ]
null
null
null
user_agents.py
p1ay8y3ar/Bauman-Mytishchi-Campus-Wifi-Tool
8208be5f11a1437c9d806930886e4cb6c4ae4510
[ "MIT" ]
null
null
null
user_agents.py
p1ay8y3ar/Bauman-Mytishchi-Campus-Wifi-Tool
8208be5f11a1437c9d806930886e4cb6c4ae4510
[ "MIT" ]
null
null
null
# try: # from fake_useragent import UserAgent # # ua =UserAgent(verify_ssl=False,use_cache_server=False,cache=False) #禁用ssl # print(ua.chrome) # # except Exception as e: # print(e) # # # re=[] # # count =0 # # while count!=300: # re.append(ua.random) # count+=1 # # print(re) user_agents=['Mozi...
1,451.913043
33,091
0.71974
6,726
33,394
3.555456
0.03479
0.092833
0.111023
0.199883
0.963536
0.958978
0.955716
0.949611
0.9466
0.944091
0
0.245578
0.102773
33,394
22
33,092
1,517.909091
0.552567
0.007786
0
0
0
300
0.962734
0.00761
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
1
0
0
0
1
1
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
12
6bc1b3e741bae2dce0d3ef56db36cfde2106cd53
181
py
Python
src/xapitrader/core/api/__init__.py
SarithT/xapitrader
0018bc37d9756a10c328def90d042ef39857cfb5
[ "MIT" ]
null
null
null
src/xapitrader/core/api/__init__.py
SarithT/xapitrader
0018bc37d9756a10c328def90d042ef39857cfb5
[ "MIT" ]
null
null
null
src/xapitrader/core/api/__init__.py
SarithT/xapitrader
0018bc37d9756a10c328def90d042ef39857cfb5
[ "MIT" ]
null
null
null
from xapitrader.core.api.APIConnector import APIConnector from xapitrader.core.api.APIStreamConnector import APIStreamConnector from xapitrader.core.api.JsonSocket import JsonSocket
60.333333
69
0.889503
21
181
7.666667
0.380952
0.26087
0.335404
0.391304
0
0
0
0
0
0
0
0
0.060773
181
3
70
60.333333
0.947059
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
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
8
d424f4f5eec4d84d66604e145429f8704a71f94f
6,854
py
Python
ep3/iam_example.py
rahulwinx1985/python-for-cloud
6a311998fbf3712cc682b335730aea83062406ab
[ "MIT" ]
3
2021-11-18T15:43:39.000Z
2022-01-23T14:09:57.000Z
ep3/iam_example.py
rahulwinx1985/python-for-cloud
6a311998fbf3712cc682b335730aea83062406ab
[ "MIT" ]
null
null
null
ep3/iam_example.py
rahulwinx1985/python-for-cloud
6a311998fbf3712cc682b335730aea83062406ab
[ "MIT" ]
27
2021-11-10T08:44:10.000Z
2022-03-30T08:19:46.000Z
import json import boto3 from botocore.exceptions import ClientError # Create IAM User def create_iam_user(user_name): try: iam_client = boto3.client('iam') response = iam_client.create_user(UserName=user_name) except ClientError as e: if e.response['Error']['Code'] == 'EntityAlreadyEx...
33.763547
92
0.620514
792
6,854
5.089646
0.113636
0.053585
0.041677
0.059539
0.803027
0.755396
0.736046
0.733069
0.72389
0.703548
0
0.007741
0.264955
6,854
203
93
33.763547
0.792378
0.105194
0
0.714286
0
0
0.196633
0.034652
0
0
0
0
0
1
0.071429
false
0
0.017857
0
0.125
0.14881
0
0
0
null
0
0
0
1
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
7
d45f6fe3eee5025cf0c403b9a4cab0d0aae39ac9
1,237
py
Python
skp_edu_docker/code/demo/api_basic_7_netconf_w2v.py
TensorMSA/hoyai_docker
12f0041e6306d8a6421585a4b51666bad30be442
[ "MIT" ]
8
2017-06-16T00:19:12.000Z
2020-08-13T03:15:57.000Z
skp_edu_docker/code/demo/api_basic_7_netconf_w2v.py
TensorMSA/tensormsa_docker
12f0041e6306d8a6421585a4b51666bad30be442
[ "MIT" ]
21
2017-06-09T10:15:14.000Z
2018-03-29T07:51:02.000Z
skp_edu_docker/code/demo/api_basic_7_netconf_w2v.py
TensorMSA/hoyai_docker
12f0041e6306d8a6421585a4b51666bad30be442
[ "MIT" ]
4
2017-10-25T09:59:53.000Z
2020-05-07T09:51:11.000Z
import requests import json, os url = "{0}:{1}".format(os.environ['HOSTNAME'] , "8000") nn_id = "nn00002" wf_ver_id = "1" # update source_info # set netconf_node in NN_WF_NODE_INFO resp = requests.put('http://' + url + '/api/v1/type/wf/state/netconf/detail/w2v/nnid/' + nn_id + '/ver/' + wf_ver_id + '/node/netconf_no...
33.432432
141
0.488278
147
1,237
3.891156
0.333333
0.027972
0.048951
0.027972
0.84965
0.84965
0.84965
0.84965
0.84965
0.84965
0
0.05303
0.359741
1,237
37
142
33.432432
0.669192
0.088116
0
0.740741
0
0
0.289146
0.081851
0
0
0
0
0
1
0
false
0
0.074074
0
0.074074
0.074074
0
0
0
null
0
0
0
1
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
7
d45f94ab19264256f7790828665c9a07ec75a8a3
171
py
Python
tests/test_gatherup.py
nmstoker/gatherup
38f3a78079c29fc61be30ee88c44755edbe5c784
[ "MIT" ]
9
2020-08-06T00:55:08.000Z
2022-01-05T06:33:58.000Z
tests/test_gatherup.py
domcross/gatherup
d06d5f3c06b5cb21de66ec2fe256b5efd588a76f
[ "MIT" ]
4
2020-08-06T00:29:11.000Z
2020-10-10T20:01:53.000Z
tests/test_gatherup.py
domcross/gatherup
d06d5f3c06b5cb21de66ec2fe256b5efd588a76f
[ "MIT" ]
1
2020-10-04T17:20:28.000Z
2020-10-04T17:20:28.000Z
from gatherup import * def test_indent_text_no_indent_specified(): assert indent_text('indent this text') == ' indent this text' # ADD SOME MEANINGFUL TESTS HERE!!!
24.428571
65
0.748538
24
171
5.083333
0.666667
0.163934
0.229508
0.295082
0
0
0
0
0
0
0
0
0.157895
171
6
66
28.5
0.847222
0.192982
0
0
0
0
0.264706
0
0
0
0
0
0.333333
1
0.333333
true
0
0.333333
0
0.666667
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
1
0
1
0
1
0
0
8
d47a81a9cbdca02c61be92d0489a361c9f4a7135
397
py
Python
tests/internal/free_tier_eligible/test_free_tier_eligible_false_auto.py
frolovv/aws.ec2.compare
582805823492f833d65c0441c4a14dce697c12aa
[ "Apache-2.0" ]
null
null
null
tests/internal/free_tier_eligible/test_free_tier_eligible_false_auto.py
frolovv/aws.ec2.compare
582805823492f833d65c0441c4a14dce697c12aa
[ "Apache-2.0" ]
null
null
null
tests/internal/free_tier_eligible/test_free_tier_eligible_false_auto.py
frolovv/aws.ec2.compare
582805823492f833d65c0441c4a14dce697c12aa
[ "Apache-2.0" ]
1
2021-12-15T11:58:22.000Z
2021-12-15T11:58:22.000Z
# Testing module free_tier_eligible.false import pytest import ec2_compare.internal.free_tier_eligible.false def test_get_internal_data_free_tier_eligible_false_get_instances_list(): assert len(ec2_compare.internal.free_tier_eligible.false.get_instances_list()) > 0 def test_get_internal_data_free_tier_eligible_fals...
39.7
84
0.866499
62
397
5.048387
0.322581
0.153355
0.306709
0.402556
0.827476
0.827476
0.827476
0.619808
0.619808
0.619808
0
0.013477
0.065491
397
9
85
44.111111
0.830189
0.098237
0
0
0
0
0
0
0
0
0
0
0.333333
1
0.333333
true
0
0.333333
0
0.666667
0
0
0
0
null
0
1
1
1
1
1
0
0
1
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
0
0
0
10
00f92333fb9ec9168a30330e2c29fc1a24de5076
1,932
py
Python
test/T_Negamax.py
jrinder42/Checkers-AI
63f409c19b52d7e17268b21abab5cfed15ca0642
[ "MIT" ]
null
null
null
test/T_Negamax.py
jrinder42/Checkers-AI
63f409c19b52d7e17268b21abab5cfed15ca0642
[ "MIT" ]
null
null
null
test/T_Negamax.py
jrinder42/Checkers-AI
63f409c19b52d7e17268b21abab5cfed15ca0642
[ "MIT" ]
null
null
null
# Testing Negamax Algorithm from Negamax import Negamax, Negamax_AB def test(): 'currently no error checking for valid user moves' N = Negamax() board = N.init_board() player = True while not N.game_over(board): if player: # black - AI print N.generate_black_moves(board) ...
31.16129
64
0.538302
263
1,932
3.764259
0.190114
0.064646
0.088889
0.129293
0.905051
0.905051
0.905051
0.905051
0.905051
0.905051
0
0.009346
0.335404
1,932
62
65
31.16129
0.761682
0.09265
0
0.808511
0
0
0.127794
0
0
0
0
0
0
0
null
null
0
0.021277
null
null
0.170213
0
0
0
null
0
0
0
1
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
1
0
0
0
0
0
0
0
0
8
2e4406d2935597e25c906d158e1d8ccd2a945e93
1,227
py
Python
cupyx/scipy/special/__init__.py
prkhrsrvstv1/cupy
ea86c8225b575af9d2855fb77a306cf86fd098ea
[ "MIT" ]
6,180
2016-11-01T14:22:30.000Z
2022-03-31T08:39:20.000Z
cupyx/scipy/special/__init__.py
prkhrsrvstv1/cupy
ea86c8225b575af9d2855fb77a306cf86fd098ea
[ "MIT" ]
6,281
2016-12-22T07:42:31.000Z
2022-03-31T19:57:02.000Z
cupyx/scipy/special/__init__.py
prkhrsrvstv1/cupy
ea86c8225b575af9d2855fb77a306cf86fd098ea
[ "MIT" ]
829
2017-02-23T05:46:12.000Z
2022-03-27T17:40:03.000Z
from cupyx.scipy.special._bessel import i0 # NOQA from cupyx.scipy.special._bessel import i1 # NOQA from cupyx.scipy.special._bessel import j0 # NOQA from cupyx.scipy.special._bessel import j1 # NOQA from cupyx.scipy.special._bessel import y0 # NOQA from cupyx.scipy.special._bessel import y1 # NOQA from cupyx.sc...
43.821429
69
0.798696
184
1,227
5.163043
0.179348
0.208421
0.324211
0.486316
0.813684
0.655789
0.621053
0.247368
0.105263
0
0
0.005618
0.129584
1,227
27
70
45.444444
0.883895
0.088835
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
1
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
7
2e83e5a2917d3edb55bb4fad2f172f89b90c7faa
117
py
Python
finny/views/__init__.py
hurrycane/finny
aff6e1c480426976cfee02b3c1d3e6ae9c196f81
[ "MIT" ]
null
null
null
finny/views/__init__.py
hurrycane/finny
aff6e1c480426976cfee02b3c1d3e6ae9c196f81
[ "MIT" ]
null
null
null
finny/views/__init__.py
hurrycane/finny
aff6e1c480426976cfee02b3c1d3e6ae9c196f81
[ "MIT" ]
null
null
null
from .restful_view import ResourceBuilder from .restful_view import Resource from .restful_view import ModelResource
29.25
41
0.871795
15
117
6.6
0.466667
0.333333
0.454545
0.636364
0
0
0
0
0
0
0
0
0.102564
117
3
42
39
0.942857
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
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
8
cf87c53a2a22f53e7de815e9542aee10e7c7812d
23,152
py
Python
sdk/python/pulumi_aws/s3/bucket_replication_config.py
chivandikwa/pulumi-aws
19c08bf9dcb90544450ffa4eec7bf6751058fde2
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_aws/s3/bucket_replication_config.py
chivandikwa/pulumi-aws
19c08bf9dcb90544450ffa4eec7bf6751058fde2
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_aws/s3/bucket_replication_config.py
chivandikwa/pulumi-aws
19c08bf9dcb90544450ffa4eec7bf6751058fde2
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
42.637201
246
0.611956
2,182
23,152
6.296975
0.111824
0.044833
0.02853
0.023654
0.850946
0.831805
0.822344
0.804876
0.801164
0.8
0
0.014246
0.287491
23,152
542
247
42.715867
0.818683
0.579259
0
0.530201
1
0
0.119147
0.063153
0
0
0
0
0
1
0.147651
false
0.006711
0.04698
0
0.281879
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
d84999daea04c3cd59781b5dba9b6be8e14234ea
11,789
py
Python
test/test_v1_event.py
thepabloaguilar/argocd-client
a6c4ff268a63ee6715f9f837b9225b798aa6bde2
[ "BSD-3-Clause" ]
1
2021-09-29T11:57:07.000Z
2021-09-29T11:57:07.000Z
test/test_v1_event.py
thepabloaguilar/argocd-client
a6c4ff268a63ee6715f9f837b9225b798aa6bde2
[ "BSD-3-Clause" ]
1
2020-09-09T00:28:57.000Z
2020-09-09T00:28:57.000Z
test/test_v1_event.py
thepabloaguilar/argocd-client
a6c4ff268a63ee6715f9f837b9225b798aa6bde2
[ "BSD-3-Clause" ]
2
2020-10-13T18:31:59.000Z
2021-02-15T12:52:33.000Z
# coding: utf-8 """ Consolidate Services Description of all APIs # noqa: E501 The version of the OpenAPI document: version not set Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest import datetime import argocd_client from argocd_client.model...
59.241206
168
0.676393
1,470
11,789
4.990476
0.189116
0.03108
0.041712
0.040894
0.815976
0.791303
0.791303
0.791303
0.791303
0.791303
0
0.020021
0.262787
11,789
198
169
59.540404
0.824071
0.009246
0
0.623529
1
0.105882
0.03092
0.009773
0
0
0
0
0
0
null
null
0.011765
0.035294
null
null
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
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
8
d86c45907b72f4c0156dfbfcbdb4ecb0efbe4a8c
140,320
py
Python
pyhaproxy/pegnode.py
alisson276/pyhaproxy
7d38c7134689423081544f63d1ebb72b1e387199
[ "MIT" ]
51
2015-11-25T08:31:43.000Z
2022-01-12T06:19:02.000Z
pyhaproxy/pegnode.py
alisson276/pyhaproxy
7d38c7134689423081544f63d1ebb72b1e387199
[ "MIT" ]
16
2015-12-18T05:27:59.000Z
2021-02-08T04:16:56.000Z
pyhaproxy/pegnode.py
alisson276/pyhaproxy
7d38c7134689423081544f63d1ebb72b1e387199
[ "MIT" ]
18
2016-01-07T10:30:28.000Z
2021-11-07T19:49:07.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from collections import defaultdict import re class TreeNode(object): def __init__(self, text, offset, elements=None): self.text = text self.offset = offset self.elements = elements or [] def __iter__(self): for el in self.element...
45.089974
126
0.464303
11,722
140,320
5.317608
0.018256
0.197648
0.119263
0.090482
0.921968
0.905171
0.890507
0.88085
0.835047
0.789325
0
0.041165
0.462628
140,320
3,111
127
45.104468
0.785489
0.000299
0
0.816694
0
0
0.014329
0.001839
0.000334
0
0
0
0
1
0.02571
false
0.003673
0.000668
0
0.074457
0
0
0
0
null
0
0
0
1
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
7
d89e10609fcdfb58feafb81fd98260efa8544c38
46,667
py
Python
BPBackendDjango/BPBackendDjango/Views/achievementviews.py
bp-momentum/BP-backend
f6b4b344c2c5fae3c8bb17874771aa49a48e97ef
[ "MIT" ]
3
2022-03-15T09:56:31.000Z
2022-03-15T09:56:59.000Z
BPBackendDjango/BPBackendDjango/Views/achievementviews.py
bp-momentum/BP-backend
f6b4b344c2c5fae3c8bb17874771aa49a48e97ef
[ "MIT" ]
38
2022-01-16T18:26:10.000Z
2022-03-14T23:14:40.000Z
BPBackendDjango/BPBackendDjango/Views/achievementviews.py
bp-momentum/BP-backend
f6b4b344c2c5fae3c8bb17874771aa49a48e97ef
[ "MIT" ]
null
null
null
from urllib import request from rest_framework.views import APIView from rest_framework.response import Response from ..Helperclasses.jwttoken import JwToken from ..Helperclasses.handlers import AchievementHandler, ErrorHandler, LanguageHandler from ..models import Achievement, DoneExercises, Friends, User, UserAchiev...
50.835512
294
0.482911
3,806
46,667
5.815292
0.059905
0.037952
0.050603
0.068314
0.93015
0.921339
0.915646
0.913794
0.907288
0.905119
0
0.012857
0.413333
46,667
918
295
50.835512
0.795566
0.034157
0
0.843256
0
0.009721
0.153725
0.016619
0
0
0
0.001089
0
1
0.00486
false
0
0.008505
0
0.065614
0
0
0
0
null
0
0
0
1
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
7
d8f551e28c10c64b7eeaf69d23999e1cd53dfddc
193
py
Python
model/loss.py
theLongLab/group-lasso-nn
6d7b9ffe2867b0efe99d6062bbb8b09ec12155c2
[ "MIT" ]
null
null
null
model/loss.py
theLongLab/group-lasso-nn
6d7b9ffe2867b0efe99d6062bbb8b09ec12155c2
[ "MIT" ]
null
null
null
model/loss.py
theLongLab/group-lasso-nn
6d7b9ffe2867b0efe99d6062bbb8b09ec12155c2
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import torch import torch.nn.functional as F def rmse(output: torch.Tensor, target: torch.Tensor) -> torch.Tensor: return torch.sqrt(F.mse_loss(output, target))
19.3
69
0.699482
29
193
4.62069
0.62069
0.246269
0
0
0
0
0
0
0
0
0
0.006098
0.150259
193
9
70
21.444444
0.810976
0.108808
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.5
0.25
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
1
0
0
1
1
1
0
0
7
2b0b1cad151586a748e966c409fdcd77263b2572
5,656
py
Python
MDAF/TestFunctions/Periodic.py
ejeanboris/MDAF_COMPLETE
e99c9762ea7304acc0a6795d33a55449a9800d89
[ "CC0-1.0" ]
1
2020-12-30T23:04:51.000Z
2020-12-30T23:04:51.000Z
MDAF/TestFunctions/Periodic.py
ejeanboris/MDAF_COMPLETE
e99c9762ea7304acc0a6795d33a55449a9800d89
[ "CC0-1.0" ]
null
null
null
MDAF/TestFunctions/Periodic.py
ejeanboris/MDAF_COMPLETE
e99c9762ea7304acc0a6795d33a55449a9800d89
[ "CC0-1.0" ]
null
null
null
import math def main(args): ''' >>> (main([0,0]) - 0.9)<0.001 True #_# dimmensions: 2 #_# upper: 10 #_# lower: -10 #_# minimum: [0,0] #_# opti: 0.9 #_# cm_angle: array([[1.75593580e+00], [2.65321236e-01], [4.87617228e-01], [2.59067658e-01], [1.31559946e+02], ...
145.025641
1,511
0.443069
633
5,656
3.900474
0.333333
0.015796
0.038882
0.022681
0.035237
0.019846
0.019846
0.019846
0.019846
0.019846
0
0.555436
0.342999
5,656
38
1,512
148.842105
0.108988
0.968352
0
0
0
0
0.038278
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1
1
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
7
2b1a03c768dfcf9e83f715b3d080881f4eeb9cbc
112,915
py
Python
generated/azure-cli/apim/tests/latest/test_apim_scenario.py
audevbot/autorest.devops.debug
a507fb6e2dd7826212537f27d583f203aac1c28f
[ "MIT" ]
null
null
null
generated/azure-cli/apim/tests/latest/test_apim_scenario.py
audevbot/autorest.devops.debug
a507fb6e2dd7826212537f27d583f203aac1c28f
[ "MIT" ]
null
null
null
generated/azure-cli/apim/tests/latest/test_apim_scenario.py
audevbot/autorest.devops.debug
a507fb6e2dd7826212537f27d583f203aac1c28f
[ "MIT" ]
null
null
null
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # -----------------------------------------------------------------...
57.230106
890
0.64042
12,292
112,915
5.857143
0.04027
0.109603
0.089686
0.168357
0.993402
0.993069
0.990361
0.988555
0.980166
0.969943
0
0.049465
0.193243
112,915
1,972
891
57.259128
0.740875
0.038808
0
0.778903
0
0.390717
0.759289
0.105144
0
0
0
0
0
0
null
null
0.005063
0.005063
null
null
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
1
1
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
11
2b60a0c5a3d9086b7a0de9c0f04fd2cf269cdd85
105
py
Python
test_cloud_mask.py
dahcase/gee_tools
4aa445e3a25ef2b9dd19762dc21ef5dcc9debc04
[ "MIT" ]
null
null
null
test_cloud_mask.py
dahcase/gee_tools
4aa445e3a25ef2b9dd19762dc21ef5dcc9debc04
[ "MIT" ]
null
null
null
test_cloud_mask.py
dahcase/gee_tools
4aa445e3a25ef2b9dd19762dc21ef5dcc9debc04
[ "MIT" ]
1
2022-01-13T23:39:05.000Z
2022-01-13T23:39:05.000Z
# coding=utf-8 from geetools.tests import test_cloud_mask import unittest unittest.main(test_cloud_mask)
21
42
0.847619
17
105
5
0.705882
0.211765
0.305882
0
0
0
0
0
0
0
0
0.010417
0.085714
105
5
43
21
0.875
0.114286
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
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
7
994475f5fa56263bed07d1a12e0ef5c08bacdbb0
104,848
py
Python
signing_today_client/api/bit4id_pathgroup_identities_api.py
signingtoday/signingtoday-sdk-python
ed267279622fb59f2ad8fa289157fc9cdf9d8a5b
[ "MIT" ]
null
null
null
signing_today_client/api/bit4id_pathgroup_identities_api.py
signingtoday/signingtoday-sdk-python
ed267279622fb59f2ad8fa289157fc9cdf9d8a5b
[ "MIT" ]
null
null
null
signing_today_client/api/bit4id_pathgroup_identities_api.py
signingtoday/signingtoday-sdk-python
ed267279622fb59f2ad8fa289157fc9cdf9d8a5b
[ "MIT" ]
null
null
null
# coding: utf-8 """ Signing Today API KlNpZ25pbmcgVG9kYXkqIGVuYWJsZXMgc2VhbWxlc3MgaW50ZWdyYXRpb24gb2YgZGlnaXRhbCBzaWduYXR1cmVzIGludG8gYW55CndlYnNpdGUgYnkgdGhlIHVzZSBvZiBlYXN5IHJlcXVlc3RzIHRvIG91ciBBUEkuIFRoaXMgaXMgdGhlIHNtYXJ0IHdheSBvZgphZGRpbmcgZGlnaXRhbCBzaWduYXR1cmUgc3VwcG9ydCB3aXRoIGEgZ3JlYXQgdXNlciBleHBl...
63.199518
9,710
0.681243
11,433
104,848
6.023441
0.025977
0.033689
0.053669
0.018587
0.845061
0.84178
0.83799
0.835521
0.831862
0.825705
0
0.024944
0.254769
104,848
1,658
9,711
63.237636
0.856417
0.55034
0
0.808094
0
0.010444
0.247761
0.051883
0
1
0
0
0
1
0.035248
false
0
0.006527
0
0.077024
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
9
9967102c9cf3b62a9bbb862fa8f93e3f99d4c08b
14,985
py
Python
tests/dhcpv4/process/test_v4_request_part1.py
isc-projects/forge
dfec8b41003d6b5a229f69ee93616e0e5cc6d71b
[ "0BSD" ]
22
2015-02-27T11:51:05.000Z
2022-02-28T12:39:29.000Z
tests/dhcpv4/process/test_v4_request_part1.py
isc-projects/forge
dfec8b41003d6b5a229f69ee93616e0e5cc6d71b
[ "0BSD" ]
16
2018-10-30T15:00:12.000Z
2019-01-11T17:55:13.000Z
tests/dhcpv4/process/test_v4_request_part1.py
isc-projects/forge
dfec8b41003d6b5a229f69ee93616e0e5cc6d71b
[ "0BSD" ]
11
2015-02-27T11:51:36.000Z
2021-03-30T08:33:54.000Z
"""DHCPv4 address request process""" # pylint: disable=invalid-name,line-too-long import pytest import misc import srv_control import srv_msg @pytest.mark.v4 @pytest.mark.request @pytest.mark.parametrize("backend", ['memfile', 'mysql', 'postgresql']) def test_v4_request_selecting_success_chaddr(backend): misc...
39.330709
81
0.749216
2,342
14,985
4.382152
0.044833
0.121017
0.109909
0.146254
0.98061
0.98061
0.980415
0.976518
0.975738
0.975738
0
0.092845
0.113046
14,985
380
82
39.434211
0.679332
0.004938
0
0.935065
0
0
0.183831
0.015096
0
0
0
0
0
1
0.022727
false
0.074675
0.012987
0
0.035714
0
0
0
0
null
0
0
0
1
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
1
0
0
0
0
0
8
99964465ed52f8ea2e2740c85c0247e6766a647e
626
py
Python
temboo/core/Library/Facebook/Actions/Video/Watches/__init__.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
7
2016-03-07T02:07:21.000Z
2022-01-21T02:22:41.000Z
temboo/core/Library/Facebook/Actions/Video/Watches/__init__.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
null
null
null
temboo/core/Library/Facebook/Actions/Video/Watches/__init__.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
8
2016-06-14T06:01:11.000Z
2020-04-22T09:21:44.000Z
from temboo.Library.Facebook.Actions.Video.Watches.CreateWatch import CreateWatch, CreateWatchInputSet, CreateWatchResultSet, CreateWatchChoreographyExecution from temboo.Library.Facebook.Actions.Video.Watches.DeleteWatch import DeleteWatch, DeleteWatchInputSet, DeleteWatchResultSet, DeleteWatchChoreographyExecution fr...
125.2
158
0.897764
52
626
10.807692
0.461538
0.071174
0.120996
0.177936
0.313167
0.313167
0.313167
0
0
0
0
0
0.044728
626
4
159
156.5
0.939799
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
1
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
9997c390cfe57ff734a3abaa8cf01806cc7291bc
101
py
Python
projects/training/n-squared.py
Valka7a/python-playground
f08d4374f2cec2e8b1afec3753854b1ec10ff480
[ "MIT" ]
null
null
null
projects/training/n-squared.py
Valka7a/python-playground
f08d4374f2cec2e8b1afec3753854b1ec10ff480
[ "MIT" ]
null
null
null
projects/training/n-squared.py
Valka7a/python-playground
f08d4374f2cec2e8b1afec3753854b1ec10ff480
[ "MIT" ]
null
null
null
numbers = [1, 2, 3, 4, 5, 6, 7] print [x ** 2 for x in numbers] print [x ** 2 for x in range(1, 8)]
20.2
35
0.534653
24
101
2.25
0.583333
0.222222
0.259259
0.37037
0.481481
0.481481
0
0
0
0
0
0.148649
0.267327
101
4
36
25.25
0.581081
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.666667
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
1
0
0
0
0
0
0
1
0
7
512c7092f437c38c3967b6ebc6d8158d3b8d1372
28,476
py
Python
unittests/myunittest.py
colinrcooper/filedups
7a2271c84df85f45c9f67ab18976bebe347bc256
[ "MIT" ]
null
null
null
unittests/myunittest.py
colinrcooper/filedups
7a2271c84df85f45c9f67ab18976bebe347bc256
[ "MIT" ]
null
null
null
unittests/myunittest.py
colinrcooper/filedups
7a2271c84df85f45c9f67ab18976bebe347bc256
[ "MIT" ]
null
null
null
import unittest from myunittest_settings import * import os,sys,inspect current_dir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe()))) parent_dir = os.path.dirname(current_dir) sys.path.insert(0, parent_dir) from find_dups import * class TestUM(unittest.TestCase): def setUp(self): ...
47.302326
526
0.662417
2,320
28,476
8.045259
0.085776
0.07431
0.028503
0.020573
0.808251
0.778677
0.767479
0.740423
0.726172
0.71176
0
0.049098
0.217517
28,476
602
527
47.302326
0.788574
0.038559
0
0.742366
0
0
0.222982
0.092687
0
0
0
0
0.103053
1
0.104962
false
0.001908
0.007634
0
0.114504
0
0
0
0
null
0
0
0
1
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
7
514b811494ead6936347ec7c6078f20ed38a45ed
18,499
py
Python
artifact_sdk/api/pkg/pkg_client.py
easyopsapis/easyops-api-python
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
[ "Apache-2.0" ]
5
2019-07-31T04:11:05.000Z
2021-01-07T03:23:20.000Z
artifact_sdk/api/pkg/pkg_client.py
easyopsapis/easyops-api-python
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
[ "Apache-2.0" ]
null
null
null
artifact_sdk/api/pkg/pkg_client.py
easyopsapis/easyops-api-python
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import os import sys import artifact_sdk.api.pkg.batch_update_package_permission_pb2 import artifact_sdk.api.pkg.create_pb2 import artifact_sdk.model.artifact.package_pb2 import artifact_sdk.api.pkg.delete_package_pb2 import artifact_sdk.api.pkg.get_package_detail_pb2 import artifact_sdk....
37.371717
222
0.616844
2,013
18,499
5.370094
0.076503
0.068178
0.044033
0.053469
0.874746
0.872988
0.86198
0.827382
0.785106
0.756337
0
0.006231
0.28861
18,499
494
223
37.447368
0.815198
0.205092
0
0.764151
0
0
0.074722
0.040588
0
0
0
0
0
1
0.037736
false
0
0.050314
0
0.125786
0
0
0
0
null
0
0
0
1
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
7
cfa1dbad3edd5596e9e07fcfb63ee21c2eb61e89
120
py
Python
mathsonmars/main/__init__.py
adriangrepo/mathsonmars
3c3dfeb5b23e29d1b4e21c3189972f298f69ce07
[ "MIT" ]
null
null
null
mathsonmars/main/__init__.py
adriangrepo/mathsonmars
3c3dfeb5b23e29d1b4e21c3189972f298f69ce07
[ "MIT" ]
null
null
null
mathsonmars/main/__init__.py
adriangrepo/mathsonmars
3c3dfeb5b23e29d1b4e21c3189972f298f69ce07
[ "MIT" ]
null
null
null
from flask import Blueprint main_view = Blueprint('main_view', __name__) from mathsonmars.main import mainview, errors
24
45
0.816667
16
120
5.75
0.625
0.282609
0.369565
0
0
0
0
0
0
0
0
0
0.116667
120
5
45
24
0.867925
0
0
0
0
0
0.07438
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0.666667
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
1
0
7
cfa9e111c581beaf78c04370495eb4fad2da5dd6
13
py
Python
f33a20ca-bdf3-4af6-b421-23fdae27107b/dccd6955-85e6-4083-8717-c7692b6a2e22.py
copyleftdev/top_contrib_lol
362a5849b04dc2b52a9b0da138d4e9a32eade207
[ "Apache-2.0" ]
null
null
null
f33a20ca-bdf3-4af6-b421-23fdae27107b/dccd6955-85e6-4083-8717-c7692b6a2e22.py
copyleftdev/top_contrib_lol
362a5849b04dc2b52a9b0da138d4e9a32eade207
[ "Apache-2.0" ]
null
null
null
f33a20ca-bdf3-4af6-b421-23fdae27107b/dccd6955-85e6-4083-8717-c7692b6a2e22.py
copyleftdev/top_contrib_lol
362a5849b04dc2b52a9b0da138d4e9a32eade207
[ "Apache-2.0" ]
null
null
null
[ORG 0x7C00]
6.5
12
0.692308
2
13
4.5
1
0
0
0
0
0
0
0
0
0
0
0.363636
0.153846
13
1
13
13
0.454545
0
0
0
0
0
0
0
0
0
0.461538
0
0
0
null
null
0
0
null
null
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
1
0
0
1
0
0
0
0
0
0
0
0
7
320b04e2e0c22a947b4bb91bb90a6d6d5babdf36
11,732
py
Python
tests/trestle/tasks/osco_to_oscal_test.py
aNebula/compliance-trestle
a2949e15b79bfc8ee13dd9822aa49e708548c62d
[ "Apache-2.0" ]
1
2021-03-10T13:29:22.000Z
2021-03-10T13:29:22.000Z
tests/trestle/tasks/osco_to_oscal_test.py
aNebula/compliance-trestle
a2949e15b79bfc8ee13dd9822aa49e708548c62d
[ "Apache-2.0" ]
null
null
null
tests/trestle/tasks/osco_to_oscal_test.py
aNebula/compliance-trestle
a2949e15b79bfc8ee13dd9822aa49e708548c62d
[ "Apache-2.0" ]
null
null
null
# -*- mode:python; coding:utf-8 -*- # Copyright (c) 2020 IBM Corp. 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 # # ...
43.132353
125
0.708234
1,653
11,732
4.913491
0.101633
0.042847
0.078552
0.054174
0.852992
0.828244
0.811253
0.81113
0.805836
0.805836
0
0.023179
0.150528
11,732
271
126
43.291513
0.791792
0.109274
0
0.827907
0
0.009302
0.22233
0.153444
0
0
0
0
0.195349
1
0.088372
false
0
0.032558
0
0.12093
0.009302
0
0
0
null
0
0
0
1
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
7
32261daacf218acb14e24363b9259887badbf398
1,640
py
Python
python/p008.py
lucaschen321/project-euler-solutions
721a1d6a82c082cc24197fec2500118848ee8433
[ "MIT" ]
null
null
null
python/p008.py
lucaschen321/project-euler-solutions
721a1d6a82c082cc24197fec2500118848ee8433
[ "MIT" ]
null
null
null
python/p008.py
lucaschen321/project-euler-solutions
721a1d6a82c082cc24197fec2500118848ee8433
[ "MIT" ]
null
null
null
# # Solution to Project Euler Problem 8 # by Lucas Chen # # Answer: 23514624000 # DIGITS = 13 NUM = "73167176531330624919225119674426574742355349194934969835203127745063262395783180169848018694788518438586156078911294949545950173795833195285320880551112540698747158523863050715693290963295227443043557668966489504452445...
60.740741
1,008
0.854878
87
1,640
16.022989
0.597701
0.017217
0
0
0
0
0
0
0
0
0
0.695622
0.108537
1,640
26
1,009
63.076923
0.257866
0.182927
0
0
0
0
0.759036
0.753012
0
1
0
0
0
1
0.076923
false
0
0
0
0.153846
0.076923
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
7
5c93ebd3810e581754093870d0105e6afe7ac76d
21,481
py
Python
devices.py
mvirkkunen/dwprog
c9458c4b8273e6bc8805a0a47b82fc185281c1b9
[ "MIT" ]
14
2017-03-01T02:26:11.000Z
2021-06-08T21:45:39.000Z
devices.py
nerdralph/dwprog
468f703eb8b8ab335e3e45836fc77212214611cd
[ "MIT" ]
4
2018-03-30T14:36:27.000Z
2018-04-21T04:03:54.000Z
devices.py
nerdralph/dwprog
468f703eb8b8ab335e3e45836fc77212214611cd
[ "MIT" ]
2
2018-04-20T22:11:46.000Z
2018-08-23T03:31:05.000Z
# Generated with generatedevices.py class Device: def __init__(self, **kwargs): for key in kwargs: setattr(self, key, kwargs[key]) devices = [ Device(devid="at90can128", name="AT90CAN128", signature=0x978103f, flash_size=0x20000, flash_pagesize=0x100, reg_dwdr=None, reg_spmcsr=0x37), D...
135.100629
153
0.781947
2,851
21,481
5.681165
0.103472
0.101192
0.11638
0.16892
0.70618
0.701488
0.701488
0.701488
0.693709
0.693709
0
0.17847
0.078441
21,481
158
154
135.955696
0.639725
0.001536
0
0
1
0
0.138487
0
0
0
0.156812
0
0
1
0.006452
false
0
0
0
0.012903
0
0
0
0
null
0
0
1
0
1
1
1
0
1
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
8fa170fdfe52be30079acc73869283ac93c53386
2,444
py
Python
tog/attacks.py
thomastjk/advdouble
1dd16af48e6cc3bcf9f38e2ac4a5abc58a4b1758
[ "MIT" ]
1
2021-08-01T06:35:01.000Z
2021-08-01T06:35:01.000Z
tog/attacks.py
thomastjk/advdouble
1dd16af48e6cc3bcf9f38e2ac4a5abc58a4b1758
[ "MIT" ]
null
null
null
tog/attacks.py
thomastjk/advdouble
1dd16af48e6cc3bcf9f38e2ac4a5abc58a4b1758
[ "MIT" ]
null
null
null
from attack_utils.target_utils import generate_attack_targets import numpy as np def tog_vanishing(victim, x_query, n_iter=10, eps=8/255., eps_iter=2/255.): eta = np.random.uniform(-eps, eps, size=x_query.shape) x_adv = np.clip(x_query + eta, 0.0, 1.0) for _ in range(n_iter): grad = victim...
44.436364
121
0.652209
395
2,444
3.75443
0.134177
0.064734
0.056642
0.053945
0.826703
0.757923
0.757923
0.757923
0.757923
0.757923
0
0.038339
0.231588
2,444
54
122
45.259259
0.751331
0
0
0.73913
1
0
0
0
0
0
0
0
0
1
0.086957
false
0
0.043478
0
0.217391
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
8fdaadbed269f800fcaeec79afadf5c05cdc9795
28,722
py
Python
Google/benchmarks/bert/implementations/bert-research-JAX-tpu-v4-2048/jax/layers/transformers_test.py
gglin001/training_results_v1.1
58fd4103f0f465bda6eb56a06a74b7bbccbbcf24
[ "Apache-2.0" ]
null
null
null
Google/benchmarks/bert/implementations/bert-research-JAX-tpu-v4-2048/jax/layers/transformers_test.py
gglin001/training_results_v1.1
58fd4103f0f465bda6eb56a06a74b7bbccbbcf24
[ "Apache-2.0" ]
null
null
null
Google/benchmarks/bert/implementations/bert-research-JAX-tpu-v4-2048/jax/layers/transformers_test.py
gglin001/training_results_v1.1
58fd4103f0f465bda6eb56a06a74b7bbccbbcf24
[ "Apache-2.0" ]
null
null
null
# Lint as: python3 # Copyright 2021 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 ...
42.11437
80
0.683727
3,626
28,722
5.068395
0.07722
0.04908
0.032212
0.021221
0.826205
0.793449
0.773207
0.753455
0.722385
0.700729
0
0.019601
0.225541
28,722
681
81
42.176211
0.8066
0.034642
0
0.703226
0
0
0.028744
0.007258
0
0
0
0
0.009677
1
0.016129
false
0
0.024194
0
0.043548
0
0
0
0
null
0
0
0
1
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
7
8febccaf8d552aad4e79fa7dbb83ba6ab02b36b6
149
py
Python
tests/test_simple_shell.py
jaden-git/simple-utils
8526ea9a8357665722627ab2c44da527c2884006
[ "Apache-2.0" ]
1
2021-03-08T09:54:05.000Z
2021-03-08T09:54:05.000Z
tests/test_simple_shell.py
jaden-git/simple-utils
8526ea9a8357665722627ab2c44da527c2884006
[ "Apache-2.0" ]
null
null
null
tests/test_simple_shell.py
jaden-git/simple-utils
8526ea9a8357665722627ab2c44da527c2884006
[ "Apache-2.0" ]
null
null
null
import simple_utils def test_dynamic_check_output(): assert simple_utils.shell.dynamic_check_output('cat assets/message.txt') == 'Hello World'
24.833333
93
0.791946
21
149
5.285714
0.761905
0.198198
0.324324
0
0
0
0
0
0
0
0
0
0.107383
149
5
94
29.8
0.834586
0
0
0
0
0
0.222973
0
0
0
0
0
0.333333
1
0.333333
true
0
0.333333
0
0.666667
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
0
0
7
8f0c1710b2a6ea940670b17d354459811d2e37e2
16,826
py
Python
utility_active.py
mikkelotzen/mikkel_tools
d3f4bc70f8863038b0216d47b0bd3cb830e63132
[ "BSD-3-Clause" ]
null
null
null
utility_active.py
mikkelotzen/mikkel_tools
d3f4bc70f8863038b0216d47b0bd3cb830e63132
[ "BSD-3-Clause" ]
null
null
null
utility_active.py
mikkelotzen/mikkel_tools
d3f4bc70f8863038b0216d47b0bd3cb830e63132
[ "BSD-3-Clause" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt import matplotlib.ticker as tick # Color from matplotlib.colors import LinearSegmentedColormap import cartopy.crs as ccrs projection = ccrs.Mollweide(central_longitude=0) import matplotlib.colors as colors color_zesty_cbf = [(0.0, 0.10980392156862745, 0.301960784...
41.648515
142
0.618507
2,691
16,826
3.634708
0.091044
0.007361
0.040078
0.031899
0.884061
0.854514
0.833044
0.81372
0.785911
0.736632
0
0.062045
0.207833
16,826
404
143
41.648515
0.671768
0.073101
0
0.738095
0
0
0.071553
0.018918
0
0
0
0
0
1
0.010204
false
0
0.020408
0
0.037415
0
0
0
0
null
0
0
0
1
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
7
56b35093e2b3e86d6799846ab396840e9a2e1743
14,179
py
Python
source_code_gen/fontgen.py
TechnoTanuki/Python_BMP
d6f7e7a4b74f7d6e8761d618c156d37c97726038
[ "MIT" ]
3
2022-02-24T15:46:43.000Z
2022-03-30T13:17:03.000Z
source_code_gen/fontgen.py
TechnoTanuki/Python_BMP
d6f7e7a4b74f7d6e8761d618c156d37c97726038
[ "MIT" ]
null
null
null
source_code_gen/fontgen.py
TechnoTanuki/Python_BMP
d6f7e7a4b74f7d6e8761d618c156d37c97726038
[ "MIT" ]
null
null
null
notice =""" Font Generator Program ----------------------------------- | Copyright 2022 by Joel C. Alcarez | | [joelalcarez1975@gmail.com] | |-----------------------------------| | We make absolutely no warranty | | of any kind, expressed or implied | |-----------------------------------| | Contact ...
60.33617
89
0.636646
2,327
14,179
3.874517
0.067469
0.454303
0.423248
0.354925
0.695763
0.59106
0.472826
0.30823
0.266526
0.225488
0
0.429264
0.127089
14,179
234
90
60.594017
0.299184
0.007546
0
0.026549
0
0
0.048831
0.013931
0
1
0.587959
0
0
1
0.017699
false
0
0
0.00885
0.030973
0.013274
0
0
0
null
1
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
7