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
79a3e65e81ed7dc72deaed6f3ea314bc9066e4d4
3,680
py
Python
tests/unit/test_serializer.py
StenAkeStrid/django-js-urls
1d8c015e83c898c0ff8068b8f577fb1983e287ed
[ "MIT" ]
3
2019-06-12T13:23:12.000Z
2021-06-13T10:22:56.000Z
tests/unit/test_serializer.py
StenAkeStrid/django-js-urls
1d8c015e83c898c0ff8068b8f577fb1983e287ed
[ "MIT" ]
2
2021-06-01T22:43:34.000Z
2022-02-10T00:17:19.000Z
tests/unit/test_serializer.py
StenAkeStrid/django-js-urls
1d8c015e83c898c0ff8068b8f577fb1983e287ed
[ "MIT" ]
1
2021-12-09T07:46:11.000Z
2021-12-09T07:46:11.000Z
import json import unittest.mock import django import pytest from js_urls.serializer import get_urls_as_json class TestGetUrlsAsJsonHelper: @unittest.mock.patch('js_urls.conf.settings.URLS', ['dummy', ]) def test_can_serialize_specific_urls_that_do_not_have_arguments(self): output_dict = json.loads(...
53.333333
98
0.73288
511
3,680
4.847358
0.138943
0.088817
0.043601
0.062979
0.834477
0.821558
0.821558
0.807428
0.760194
0.722648
0
0.005923
0.128261
3,680
68
99
54.117647
0.766209
0
0
0.277778
0
0
0.284783
0.193478
0
0
0
0
0.203704
1
0.203704
false
0
0.092593
0
0.314815
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
1
0
0
0
0
0
0
0
7
79b393d342ee8a628786979d1fedc5e0c53b65d9
62,172
py
Python
sdk/python/pulumi_signalfx/list_chart.py
pulumi/pulumi-signalfx
0b0701eda3b9e4c5c590f3547f8cfc5d1ff8b456
[ "ECL-2.0", "Apache-2.0" ]
2
2020-05-09T17:37:04.000Z
2021-10-08T06:43:07.000Z
sdk/python/pulumi_signalfx/list_chart.py
pulumi/pulumi-signalfx
0b0701eda3b9e4c5c590f3547f8cfc5d1ff8b456
[ "ECL-2.0", "Apache-2.0" ]
61
2019-11-25T17:04:45.000Z
2022-03-31T15:44:52.000Z
sdk/python/pulumi_signalfx/list_chart.py
pulumi/pulumi-signalfx
0b0701eda3b9e4c5c590f3547f8cfc5d1ff8b456
[ "ECL-2.0", "Apache-2.0" ]
2
2020-05-08T06:44:20.000Z
2020-11-24T12:22:55.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from . import ...
53.002558
373
0.661021
7,548
62,172
5.250265
0.046237
0.089379
0.08678
0.040526
0.955639
0.947892
0.936536
0.932423
0.92937
0.910444
0
0.001396
0.228013
62,172
1,172
374
53.047782
0.824277
0.395033
0
0.87988
1
0
0.122235
0.047821
0
0
0
0
0
1
0.165165
false
0.001502
0.010511
0
0.274775
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
79d45afd1b4490d6b8941ca6b19d1c7d2b68fb9a
2,886
py
Python
tests/path/tsk_path_spec.py
Defense-Cyber-Crime-Center/dfvfs
da2ccbc4c989ced5ad651057bd8f5a4b18af6d37
[ "Apache-2.0" ]
2
2016-02-18T12:46:26.000Z
2022-03-13T03:05:05.000Z
tests/path/tsk_path_spec.py
Defense-Cyber-Crime-Center/dfvfs
da2ccbc4c989ced5ad651057bd8f5a4b18af6d37
[ "Apache-2.0" ]
null
null
null
tests/path/tsk_path_spec.py
Defense-Cyber-Crime-Center/dfvfs
da2ccbc4c989ced5ad651057bd8f5a4b18af6d37
[ "Apache-2.0" ]
5
2016-12-18T08:05:39.000Z
2019-11-19T21:18:00.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- """Tests for the TSK path specification implementation.""" import unittest from tests.path import test_lib from dfvfs.path import tsk_path_spec class TSKPathSpecTest(test_lib.PathSpecTestCase): """Tests for the TSK path specification implementation.""" def testInitiali...
28.294118
74
0.68711
364
2,886
5.195055
0.142857
0.186145
0.075621
0.139609
0.868852
0.835537
0.835537
0.787943
0.787943
0.787943
0
0.002993
0.189536
2,886
101
75
28.574257
0.805472
0.082814
0
0.721311
0
0
0.089524
0
0
0
0
0
0.262295
1
0.032787
false
0
0.04918
0
0.098361
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
8dfee8fb4ff1193d6f75a9480034fa4d43b86fce
88,623
py
Python
nfv/nfv-tests/nfv_unit_tests/tests/test_fw_update_strategy.py
riddopic/nfv
e5ced4ade4916910646bcf8018dfabadef447fc2
[ "Apache-2.0" ]
2
2020-02-07T19:01:36.000Z
2022-02-23T01:41:46.000Z
nfv/nfv-tests/nfv_unit_tests/tests/test_fw_update_strategy.py
riddopic/nfv
e5ced4ade4916910646bcf8018dfabadef447fc2
[ "Apache-2.0" ]
1
2021-01-14T12:02:25.000Z
2021-01-14T12:02:25.000Z
nfv/nfv-tests/nfv_unit_tests/tests/test_fw_update_strategy.py
riddopic/nfv
e5ced4ade4916910646bcf8018dfabadef447fc2
[ "Apache-2.0" ]
2
2021-01-13T08:39:21.000Z
2022-02-09T00:21:55.000Z
# # Copyright (c) 2020 Wind River Systems, Inc. # # SPDX-License-Identifier: Apache-2.0 # import mock import uuid from nfv_vim import nfvi from nfv_vim.strategy._strategy import FwUpdateStrategy from nfv_vim.objects import HOST_PERSONALITY from nfv_vim.objects import SW_UPDATE_ALARM_RESTRICTION from nfv_vim.objects...
42.668753
126
0.481613
8,213
88,623
4.936808
0.023012
0.048735
0.073398
0.074385
0.963622
0.957258
0.951093
0.941671
0.931189
0.923889
0
0.021439
0.38314
88,623
2,076
127
42.689306
0.720239
0.044074
0
0.839074
0
0
0.268601
0.018841
0
0
0
0
0.001188
1
0.013658
false
0
0.005344
0
0.02019
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
5c20fff74848b5288bd615dbc4ecda28d1fd3560
10,754
py
Python
melodic/lib/python2.7/dist-packages/diagnostic_msgs/srv/_AddDiagnostics.py
Dieptranivsr/Ros_Diep
d790e75e6f5da916701b11a2fdf3e03b6a47086b
[ "MIT" ]
1
2021-11-08T12:24:24.000Z
2021-11-08T12:24:24.000Z
devel/lib/python3/dist-packages/diagnostic_msgs/srv/_AddDiagnostics.py
hyu-nani/ydlidar_ws
56316db999c057c4315a20ba8277826d6a043120
[ "MIT" ]
1
2021-07-08T10:26:06.000Z
2021-07-08T10:31:11.000Z
devel/lib/python3/dist-packages/diagnostic_msgs/srv/_AddDiagnostics.py
hyu-nani/ydlidar_ws
56316db999c057c4315a20ba8277826d6a043120
[ "MIT" ]
null
null
null
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from diagnostic_msgs/AddDiagnosticsRequest.msg. Do not edit.""" import codecs import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct class AddDiagnosticsRequest(genpy.Message): _md5sum = "c26cf6e1...
35.609272
145
0.66989
1,456
10,754
4.8125
0.168956
0.027401
0.021978
0.021693
0.736406
0.736406
0.72185
0.72185
0.72185
0.72185
0
0.014758
0.218709
10,754
301
146
35.727575
0.81921
0.226799
0
0.754902
1
0.009804
0.256883
0.025385
0
0
0.002526
0
0
1
0.073529
false
0
0.039216
0
0.25
0
0
0
0
null
0
0
0
0
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
7
30b8d6dcf1eceff8d04ce40bb0fcd75a8c2176b8
390
py
Python
pytest_pgsql/__init__.py
mathiasose/pytest-pgsql
5e076db146699c3b683b49e4a31323c4c23054de
[ "BSD-3-Clause" ]
61
2017-11-28T15:47:51.000Z
2022-01-26T11:35:44.000Z
pytest_pgsql/__init__.py
mathiasose/pytest-pgsql
5e076db146699c3b683b49e4a31323c4c23054de
[ "BSD-3-Clause" ]
18
2017-11-29T21:59:38.000Z
2021-08-16T17:21:37.000Z
pytest_pgsql/__init__.py
mathiasose/pytest-pgsql
5e076db146699c3b683b49e4a31323c4c23054de
[ "BSD-3-Clause" ]
7
2017-12-02T06:31:44.000Z
2021-03-15T03:20:57.000Z
"""pytest_pgsql""" from pytest_pgsql.version import __version__ # flake8: noqa from pytest_pgsql.time import SQLAlchemyFreezegun from pytest_pgsql.time import freeze_time from pytest_pgsql.database import PostgreSQLTestDBBase from pytest_pgsql.database import PostgreSQLTestDB from pytest_pgsql.database import Transact...
43.333333
60
0.876923
49
390
6.673469
0.367347
0.269113
0.321101
0.211009
0.41896
0
0
0
0
0
0
0.002801
0.084615
390
8
61
48.75
0.913165
0.066667
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
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
a505e3a11be78f1247ba5a06125b4dafa233f289
132
py
Python
recommend/__init__.py
mythologic/recommend
91db79acb006e3060525dcf2eca6ecfa6b9c68a8
[ "MIT" ]
3
2019-10-31T22:01:53.000Z
2019-11-30T19:18:57.000Z
recommend/__init__.py
mythologic/recommend
91db79acb006e3060525dcf2eca6ecfa6b9c68a8
[ "MIT" ]
null
null
null
recommend/__init__.py
mythologic/recommend
91db79acb006e3060525dcf2eca6ecfa6b9c68a8
[ "MIT" ]
5
2019-11-05T16:50:15.000Z
2019-11-05T16:52:49.000Z
from .utils import load_candy from .utils import ItemVectorizer from .utils import NearestNeighbors from .main import NNRecommender
26.4
35
0.848485
17
132
6.529412
0.529412
0.243243
0.405405
0
0
0
0
0
0
0
0
0
0.121212
132
4
36
33
0.956897
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
eb75b4705ce5da205beb91b13c699d5744b3cebb
3,281
py
Python
helpers/seq2seq.py
r-luo/QA-Summary
219dbbd306a85f73c126ad73ef7421c5450afbfc
[ "MIT" ]
null
null
null
helpers/seq2seq.py
r-luo/QA-Summary
219dbbd306a85f73c126ad73ef7421c5450afbfc
[ "MIT" ]
null
null
null
helpers/seq2seq.py
r-luo/QA-Summary
219dbbd306a85f73c126ad73ef7421c5450afbfc
[ "MIT" ]
null
null
null
import torch import torch.nn as nn class Seq2SeqEncoder(nn.Module): def __init__( self, hidden_dim, embedding_weights, embedding_args={}, rnn_module='lstm', rnn_module_args={}, batch_first=True, embedding_padding_index=0, ): vocab_size = ...
30.95283
88
0.567205
348
3,281
5.002874
0.163793
0.129236
0.067203
0.066628
0.83745
0.83745
0.83745
0.83745
0.83745
0.83745
0
0.005155
0.349589
3,281
105
89
31.247619
0.810684
0.016763
0
0.821053
0
0
0.006828
0
0
0
0
0
0
1
0.042105
false
0
0.021053
0
0.105263
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
eb8c796903e890c42b4a2361b0b269215b1b01e3
1,538
py
Python
herbarium_data/migrations/0005_auto_20170622_1757.py
qubs/data-api
e85146409003b3725717829a0d72a8565683cc73
[ "Apache-2.0" ]
null
null
null
herbarium_data/migrations/0005_auto_20170622_1757.py
qubs/data-api
e85146409003b3725717829a0d72a8565683cc73
[ "Apache-2.0" ]
9
2020-06-05T17:26:19.000Z
2022-03-11T23:15:41.000Z
herbarium_data/migrations/0005_auto_20170622_1757.py
qubs/data-centre
e85146409003b3725717829a0d72a8565683cc73
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-06-22 17:57 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('herbarium_data', '0004_auto_20170622_1746'), ] operations = [ migrations.RunSQL("AL...
53.034483
100
0.73472
182
1,538
6.005495
0.291209
0.166514
0.249771
0.309241
0.728271
0.728271
0.728271
0.728271
0.680695
0.680695
0
0.026025
0.175553
1,538
28
101
54.928571
0.835962
0.044213
0
0
1
0
0.596455
0.219496
0
0
0
0
0
1
0
false
0
0.095238
0
0.238095
0
0
0
0
null
0
1
1
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
ccf23f4225435fe6903563205304a264e7b81b4d
11,690
py
Python
python/app/wechat_subscriptions/test.py
lsieun/web_scraping
ab69c2add7d8cec92d76529039dca7a067d4af9a
[ "Apache-2.0" ]
null
null
null
python/app/wechat_subscriptions/test.py
lsieun/web_scraping
ab69c2add7d8cec92d76529039dca7a067d4af9a
[ "Apache-2.0" ]
null
null
null
python/app/wechat_subscriptions/test.py
lsieun/web_scraping
ab69c2add7d8cec92d76529039dca7a067d4af9a
[ "Apache-2.0" ]
null
null
null
target_url = "https://mp.weixin.qq.com/s?__biz=MjM5MDgzMDgwMw==&mid=2651745661&idx=1&sn=e8ee00203a44015f7072429b1e01db4a&chksm=bd4414c18a339dd711f0c0c69dfa41947a8091f79d529b4d2408db53f492accf6ae402771b58&scene=4&subscene=126&ascene=0&devicetype=iOS11.4&version=16070022&nettype=WIFI&abtest_cookie=AwABAAoACwAMAAcAPoseAG...
123.052632
1,150
0.846108
1,506
11,690
6.428951
0.195883
0.024788
0.026441
0.018798
0.806135
0.804276
0.802107
0.802107
0.798595
0.798595
0
0.259737
0.031394
11,690
95
1,151
123.052632
0.595337
0.118135
0
0.109091
0
0.327273
0.884189
0.366394
0
0
0
0
0
1
0
false
0.272727
0.054545
0
0.054545
0.127273
0
0
0
null
0
0
0
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
1
0
0
0
0
0
12
15defa7948910af6336ef4825cc780244dc83d08
2,318
py
Python
src/simulation_study/test_sim_study.py
maxschae/prog-econ-project
d5aa7e2ba093242054996933c025aa64dca5e286
[ "MIT" ]
null
null
null
src/simulation_study/test_sim_study.py
maxschae/prog-econ-project
d5aa7e2ba093242054996933c025aa64dca5e286
[ "MIT" ]
null
null
null
src/simulation_study/test_sim_study.py
maxschae/prog-econ-project
d5aa7e2ba093242054996933c025aa64dca5e286
[ "MIT" ]
null
null
null
import pytest from sim_study import fix_simulation_params @pytest.fixture def setup_fix_simulation_params(): out = {} out["n"] = 500 out["M"] = 100 out["model"] = "linear" out["discrete"] = False out["cutoff"] = 0 out["tau"] = 0.75 out["noise_var"] = 1 return out def test_fix_si...
33.594203
69
0.657895
272
2,318
5.154412
0.132353
0.352354
0.514979
0.496434
0.855207
0.840228
0.840228
0.811698
0.797432
0.797432
0
0.009615
0.237274
2,318
68
70
34.088235
0.783371
0
0
0.54386
0
0
0.072045
0
0
0
0
0
0
1
0.087719
false
0
0.035088
0
0.140351
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
0
0
0
0
0
0
0
0
0
0
9
c6538897053ed3aeacfa9ac8fcde5f1e82ede46d
5,513
py
Python
Taller_Algoritmos_07/Stiven.py
Angelio01/algoritmos_programacion-
63cb4cd4cfa01f504bf9ed927dcebf2466d6f60d
[ "MIT" ]
null
null
null
Taller_Algoritmos_07/Stiven.py
Angelio01/algoritmos_programacion-
63cb4cd4cfa01f504bf9ed927dcebf2466d6f60d
[ "MIT" ]
null
null
null
Taller_Algoritmos_07/Stiven.py
Angelio01/algoritmos_programacion-
63cb4cd4cfa01f504bf9ed927dcebf2466d6f60d
[ "MIT" ]
1
2021-10-29T19:40:32.000Z
2021-10-29T19:40:32.000Z
import turtle stiven=turtle.Turtle() stiven.ht() stiven.pensize(1) stiven.speed(100) stiven.pu() stiven.setposition(-600,-150) stiven.pd() #Letra s stiven.begin_fill() stiven.color("black") stiven.right(90) stiven.forward(75) stiven.left(90) stiven.forward(25) stiven.right(90) stiven.forward(15) stiven.left(90) stiven...
17.669872
29
0.758208
898
5,513
4.652561
0.082405
0.388942
0.402106
0.277405
0.848731
0.800144
0.792245
0.770943
0.760172
0.760172
0
0.119365
0.074551
5,513
312
30
17.669872
0.69953
0.003446
0
0.862295
0
0
0.00091
0
0
0
0
0
0
1
0
false
0
0.003279
0
0.003279
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
d68805f227907d43a1d81b70d9792b8cfb5baa4e
100
py
Python
sdcdup/models/__init__.py
WillieMaddox/Airbus_SDC_dup
09be904cf3c8050086f07538f5e2954282de5d62
[ "MIT" ]
null
null
null
sdcdup/models/__init__.py
WillieMaddox/Airbus_SDC_dup
09be904cf3c8050086f07538f5e2954282de5d62
[ "MIT" ]
null
null
null
sdcdup/models/__init__.py
WillieMaddox/Airbus_SDC_dup
09be904cf3c8050086f07538f5e2954282de5d62
[ "MIT" ]
null
null
null
from .dupnet import load_checkpoint from .dupnet import save_checkpoint from .dupnet import DupCNN
20
35
0.84
14
100
5.857143
0.5
0.365854
0.585366
0.634146
0
0
0
0
0
0
0
0
0.13
100
4
36
25
0.942529
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
0
0
0
7
d6cc6a65f7290beb87dcb8e953b6e8e06f4d2c7d
7,746
py
Python
software/analyzerGUI/icons.py
MarcelMG/F373_recording_device
f174a7be2616f81b03a5404ef0d7a2891205c478
[ "BSD-3-Clause" ]
1
2022-01-21T13:43:14.000Z
2022-01-21T13:43:14.000Z
software/analyzerGUI/icons.py
MarcelMG/F373_recording_device
f174a7be2616f81b03a5404ef0d7a2891205c478
[ "BSD-3-Clause" ]
null
null
null
software/analyzerGUI/icons.py
MarcelMG/F373_recording_device
f174a7be2616f81b03a5404ef0d7a2891205c478
[ "BSD-3-Clause" ]
null
null
null
## GUI icons ## arrow_right_base64 = b'iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAALD0lEQVR4nOVbf1AU1x3/vN272zv5ccd6HogoRqVFqSEJjWmKM9q0mSAGmpQkldGMdswR61gaO1rUjFCIEX8gaWKMY5mJMyTGEjMZiImaScCGTBytKUGCFuOkQFqNVe44aiJwB/v6B+zNY9nd2wM0MPnM7Ozbfd/33vf7ed/3fW933wLfc5Db3aAoihEAJgOIYtqnALoAeLxeb/ft1OeWEiCKIg8gDUA6gHsAJAOYT...
1,936.5
3,881
0.966822
234
7,746
31.987179
0.978632
0.00187
0
0
0
0
0
0
0
0
0
0.156432
0.00142
7,746
3
3,882
2,582
0.811248
0.001162
0
0
0
1
0.993403
0.993403
0
1
0
0
0
1
0
false
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
0
0
0
0
0
1
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
8
ba49857387b3fbb0efca961468315e8f39334c4c
137
py
Python
tests/test_nihao.py
TechOpsX/nihao-pypi
98a4e9a11a8a0f62fba41943e76e57e5c17a1472
[ "MIT" ]
null
null
null
tests/test_nihao.py
TechOpsX/nihao-pypi
98a4e9a11a8a0f62fba41943e76e57e5c17a1472
[ "MIT" ]
null
null
null
tests/test_nihao.py
TechOpsX/nihao-pypi
98a4e9a11a8a0f62fba41943e76e57e5c17a1472
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Test ApiGW""" from nihao_pypi.nihao import nihao_pypi def test_nihao(): assert nihao_pypi() == '你好Pypi'
17.125
39
0.649635
19
137
4.473684
0.631579
0.317647
0
0
0
0
0
0
0
0
0
0.008772
0.167883
137
7
40
19.571429
0.736842
0.240876
0
0
0
0
0.061224
0
0
0
0
0
0.333333
1
0.333333
true
0
0.333333
0
0.666667
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
0
0
7
bab8b799cb0a65f77a67180bf81437c9b38a7830
169
py
Python
pcap3103/using_modules/helpers.py
owaishanif786/python
212d626e10bebf161ee123459dc5f0384d9540ac
[ "MIT" ]
null
null
null
pcap3103/using_modules/helpers.py
owaishanif786/python
212d626e10bebf161ee123459dc5f0384d9540ac
[ "MIT" ]
null
null
null
pcap3103/using_modules/helpers.py
owaishanif786/python
212d626e10bebf161ee123459dc5f0384d9540ac
[ "MIT" ]
null
null
null
NAME = 'Little Wolf' def extract_upper(phrase): return list(filter(str.isupper, phrase)) def extract_lower(phrase): return list(filter(str.islower, phrase))
16.9
44
0.721893
23
169
5.217391
0.608696
0.166667
0.266667
0.366667
0.416667
0
0
0
0
0
0
0
0.153846
169
9
45
18.777778
0.839161
0
0
0
0
0
0.065868
0
0
0
0
0
0
1
0.4
false
0
0
0.4
0.8
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
7
bad23be7c78b7bc60d217f9df437414deb7741d6
4,434
py
Python
tests/test_logger.py
tack41/programs-python-utilities
6fd6d9de456f2758d74e8335d1c7a6d792215031
[ "MIT" ]
null
null
null
tests/test_logger.py
tack41/programs-python-utilities
6fd6d9de456f2758d74e8335d1c7a6d792215031
[ "MIT" ]
null
null
null
tests/test_logger.py
tack41/programs-python-utilities
6fd6d9de456f2758d74e8335d1c7a6d792215031
[ "MIT" ]
null
null
null
import sys,os,subprocess import pathlib import unittest script_dir = pathlib.Path(__file__).parent.resolve() script_name = pathlib.Path(__file__).name script_name_stem = pathlib.Path(__file__).stem parent_dir = script_dir.parent.resolve() sys.path.append(str(parent_dir)) from logger import Logger class TestLogger(un...
31.671429
116
0.666892
614
4,434
4.693811
0.136808
0.048577
0.06662
0.070784
0.842471
0.825815
0.825815
0.825815
0.814018
0.799445
0
0.010989
0.179071
4,434
140
117
31.671429
0.780769
0.014208
0
0.767677
0
0.040404
0.261549
0.043208
0
0
0
0
0.161616
1
0.040404
false
0
0.040404
0
0.10101
0.080808
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
bad4c09dc71e7c72e12ed91658c7c25578105e99
158
py
Python
model/__init__.py
genwch/jmapp
760fef05286a31b1f8216b4f5af9ed6941a35106
[ "MIT" ]
null
null
null
model/__init__.py
genwch/jmapp
760fef05286a31b1f8216b4f5af9ed6941a35106
[ "MIT" ]
null
null
null
model/__init__.py
genwch/jmapp
760fef05286a31b1f8216b4f5af9ed6941a35106
[ "MIT" ]
null
null
null
from .login import * from .register import * from .job import * from .apply import * from .offer import * from .profile import * from .apply_profile import *
19.75
28
0.734177
22
158
5.227273
0.363636
0.521739
0.26087
0
0
0
0
0
0
0
0
0
0.177215
158
7
29
22.571429
0.884615
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
2406c9b0f6c20484091c596d2d44732a5a0f157f
173
py
Python
orbitkit/util/util_str.py
clown-0726/orbitkit
233c4a8a7b4fda3bbdb1631de4fd4fbdf79c7b6f
[ "MIT" ]
3
2021-07-27T10:39:56.000Z
2021-07-28T00:09:03.000Z
orbitkit/util/util_str.py
clown-0726/orbitkit
233c4a8a7b4fda3bbdb1631de4fd4fbdf79c7b6f
[ "MIT" ]
null
null
null
orbitkit/util/util_str.py
clown-0726/orbitkit
233c4a8a7b4fda3bbdb1631de4fd4fbdf79c7b6f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- EMPTY_STR = "" def is_empty(word): return bool(word == EMPTY_STR) def is_empty_strip(word): return bool(str(word).strip() == EMPTY_STR)
14.416667
47
0.630058
26
173
3.961538
0.423077
0.23301
0.213592
0.252427
0.349515
0
0
0
0
0
0
0.007143
0.190751
173
11
48
15.727273
0.728571
0.121387
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0
0.4
0.8
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
7
241081ad065d76de7e767bacfc72fd0d146e390b
9,374
py
Python
mono-chain/gaussian.py
robineriksson/bnn-regression
1efd1e6e87feb468ab65e4c786412a9d02f45e71
[ "Apache-2.0" ]
null
null
null
mono-chain/gaussian.py
robineriksson/bnn-regression
1efd1e6e87feb468ab65e4c786412a9d02f45e71
[ "Apache-2.0" ]
null
null
null
mono-chain/gaussian.py
robineriksson/bnn-regression
1efd1e6e87feb468ab65e4c786412a9d02f45e71
[ "Apache-2.0" ]
1
2021-03-29T12:42:17.000Z
2021-03-29T12:42:17.000Z
import numpy as np import numpy.random as rng import scipy.stats import scipy.misc #from itertools import izip #import helper class Gaussian: """Implements a gaussian pdf. Focus is on efficient multiplication, division and sampling.""" def __init__(self, m=None, P=None, U=None, S=None, Pm=None): ""...
27.816024
111
0.518029
1,324
9,374
3.623867
0.114804
0.02501
0.043768
0.060442
0.877657
0.877657
0.877657
0.877657
0.877657
0.877657
0
0.007399
0.365586
9,374
337
112
27.816024
0.799395
0.198528
0
0.89604
0
0
0.011731
0
0
0
0
0
0.059406
1
0.094059
false
0
0.019802
0
0.207921
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
24292f42305a06b398aebeef08057bd1d953f81e
10,027
py
Python
ontask/connection/views/admin.py
pinheiroo27/ontask_b
23fee8caf4e1c5694a710a77f3004ca5d9effeac
[ "MIT" ]
33
2017-12-02T04:09:24.000Z
2021-11-07T08:41:57.000Z
ontask/connection/views/admin.py
pinheiroo27/ontask_b
23fee8caf4e1c5694a710a77f3004ca5d9effeac
[ "MIT" ]
189
2017-11-16T04:06:29.000Z
2022-03-11T23:35:59.000Z
ontask/connection/views/admin.py
pinheiroo27/ontask_b
23fee8caf4e1c5694a710a77f3004ca5d9effeac
[ "MIT" ]
30
2017-11-30T03:35:44.000Z
2022-01-31T03:08:08.000Z
# -*- coding: utf-8 -*- """Common functions to handle connections.""" from typing import Optional from django import http from django.contrib.auth.decorators import user_passes_test from django.shortcuts import render from django.template.loader import render_to_string from django.urls import reverse from django.util...
30.201807
79
0.660118
1,206
10,027
5.331675
0.121891
0.064697
0.054743
0.064697
0.873561
0.827683
0.808709
0.808709
0.793935
0.787558
0
0.00013
0.23327
10,027
331
80
30.293051
0.836238
0.212227
0
0.751196
0
0
0.120509
0.072908
0
0
0
0
0
1
0.057416
false
0.062201
0.052632
0
0.22488
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
2456f4c79b6a70488c3aa64598ba012db75acc6c
3,634
py
Python
pushEngine/views.py
dhdiagram4011/reservation-aoo-project
17845dbd8c7d24294b235190fc00d724445d846f
[ "MIT" ]
1
2020-05-24T07:01:12.000Z
2020-05-24T07:01:12.000Z
pushEngine/views.py
dhdiagram4011/reservation-aoo-project
17845dbd8c7d24294b235190fc00d724445d846f
[ "MIT" ]
4
2020-05-24T06:51:54.000Z
2021-01-24T05:33:47.000Z
pushEngine/views.py
dhdiagram4011/reservation-aoo-project
17845dbd8c7d24294b235190fc00d724445d846f
[ "MIT" ]
null
null
null
from django.shortcuts import render from django.http import HttpResponse from .models import MsgPush from .forms import * from django.views.generic import ListView, View ## Class Type View class MsgPushRepage(View): #web browser url path /push/sendev/ def get(self,request): form = MsgPushForm(request.GET)...
42.752941
118
0.54678
348
3,634
5.597701
0.298851
0.067762
0.052361
0.030801
0.822382
0.789528
0.789528
0.789528
0.789528
0.789528
0
0.069433
0.310402
3,634
84
119
43.261905
0.707901
0.018712
0
0.712329
0
0
0.263276
0.044394
0
0
0
0
0
1
0.041096
false
0
0.068493
0
0.178082
0.027397
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
79fba1fa5172499382bf19fd3d8feef8bf3ebafa
105
py
Python
tests/parser/anon_vars_in_plan_query.1.bk.test.py
veltri/DLV2
944aaef803aa75e7ec51d7e0c2b0d964687fdd0e
[ "Apache-2.0" ]
null
null
null
tests/parser/anon_vars_in_plan_query.1.bk.test.py
veltri/DLV2
944aaef803aa75e7ec51d7e0c2b0d964687fdd0e
[ "Apache-2.0" ]
null
null
null
tests/parser/anon_vars_in_plan_query.1.bk.test.py
veltri/DLV2
944aaef803aa75e7ec51d7e0c2b0d964687fdd0e
[ "Apache-2.0" ]
null
null
null
input = """ bk(a,b). bk(b,c). bk(m,m). bk(x,y). """ output = """ bk(a,b). bk(b,c). bk(m,m). bk(x,y). """
8.076923
12
0.409524
26
105
1.653846
0.346154
0.139535
0.186047
0.27907
0.744186
0.744186
0.744186
0.744186
0.744186
0.744186
0
0
0.152381
105
12
13
8.75
0.483146
0
0
0.833333
0
0
0.704762
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
1
null
0
1
1
0
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
12
0320a7a18797936d082b135c6fe7c7528e86dc57
22,034
py
Python
bombbomb/api/integrations_api.py
bombbomb/bombbomb-python-openapi
d1623cb06e58fdc83b04603a589e9d30e7eb3fdf
[ "Apache-2.0" ]
null
null
null
bombbomb/api/integrations_api.py
bombbomb/bombbomb-python-openapi
d1623cb06e58fdc83b04603a589e9d30e7eb3fdf
[ "Apache-2.0" ]
null
null
null
bombbomb/api/integrations_api.py
bombbomb/bombbomb-python-openapi
d1623cb06e58fdc83b04603a589e9d30e7eb3fdf
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 """ BombBomb We make it easy to build relationships using simple videos. # noqa: E501 OpenAPI spec version: 2.0.831 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import re # noqa: F401 # python 2 and python 3 com...
40.355311
236
0.61691
2,533
22,034
5.161469
0.08409
0.052012
0.021417
0.027536
0.928943
0.903396
0.894753
0.88328
0.866223
0.854367
0
0.017455
0.295362
22,034
545
237
40.429358
0.824617
0.057684
0
0.747368
1
0
0.174012
0.055421
0
0
0
0
0
0
null
null
0
0.014035
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
1
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
9
cef813cc27e17bb08d6cab2a2e4da49e79dc4c4a
143
py
Python
gym_kafka/util/__init__.py
constant-c/gym-kafka
32cb58a4a37acc9444ad8700d1c6ff124e8a98a8
[ "MIT" ]
null
null
null
gym_kafka/util/__init__.py
constant-c/gym-kafka
32cb58a4a37acc9444ad8700d1c6ff124e8a98a8
[ "MIT" ]
null
null
null
gym_kafka/util/__init__.py
constant-c/gym-kafka
32cb58a4a37acc9444ad8700d1c6ff124e8a98a8
[ "MIT" ]
1
2020-03-03T13:10:46.000Z
2020-03-03T13:10:46.000Z
from gym_kafka.util.gym_factory import GymFactory from gym_kafka.util.kafka_api import KafkaAPI, MSGStore from gym_kafka.util.parsers import *
35.75
55
0.853147
23
143
5.086957
0.478261
0.179487
0.307692
0.410256
0
0
0
0
0
0
0
0
0.090909
143
3
56
47.666667
0.9
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
88dfeeefab867540d180df5ca10ebcdf83e9a15c
72
py
Python
Term2/Session 12/3-while-loop.py
theseana/apondaone
7cbf3572a86c73220329804fee1f3d03842ae902
[ "MIT" ]
null
null
null
Term2/Session 12/3-while-loop.py
theseana/apondaone
7cbf3572a86c73220329804fee1f3d03842ae902
[ "MIT" ]
null
null
null
Term2/Session 12/3-while-loop.py
theseana/apondaone
7cbf3572a86c73220329804fee1f3d03842ae902
[ "MIT" ]
null
null
null
if True: print("It's IF!!!") while True: print("It's WHILE!!!")
14.4
26
0.527778
12
72
3.166667
0.5
0.473684
0.578947
0.631579
0
0
0
0
0
0
0
0
0.222222
72
5
26
14.4
0.678571
0
0
0
0
0
0.315068
0
0
0
0
0
0
1
0
true
0
0
0
0
0.5
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
7
003772710e305465cb412e6b0aef197a5d4aa2f3
381
py
Python
Modulo_5/semana_1/rebanar/vs.py
AutodidactaMx/cocid_python
11628f465ff362807a692c79ede26bf30dd8e26a
[ "MIT" ]
null
null
null
Modulo_5/semana_1/rebanar/vs.py
AutodidactaMx/cocid_python
11628f465ff362807a692c79ede26bf30dd8e26a
[ "MIT" ]
null
null
null
Modulo_5/semana_1/rebanar/vs.py
AutodidactaMx/cocid_python
11628f465ff362807a692c79ede26bf30dd8e26a
[ "MIT" ]
1
2022-03-04T00:57:18.000Z
2022-03-04T00:57:18.000Z
import numpy as np a1 = np.array([[10, 11, 12, 13, 14], [15, 16, 17, 18, 19], [20, 21, 22, 23, 24], [25, 26, 27, 28, 29]]) print(a1[1,2:4]) # [17 18] a2 = np.array([[10, 11, 12, 13, 14], [15, 16, 17, 18, 19], [20, 21, 22, 23, 24], ...
23.8125
37
0.372703
65
381
2.184615
0.476923
0.112676
0.126761
0.15493
0.732394
0.732394
0.732394
0.732394
0.732394
0.732394
0
0.432314
0.39895
381
15
38
25.4
0.187773
0.044619
0
0.545455
0
0
0
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
0.181818
0
0
0
null
0
0
0
0
1
1
1
1
1
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
cca15fa9652c77bb81c8b6a788b80f1216f1375d
71
py
Python
patch_classification/get_batches_from_image.py
annusgit/forestcoverUnet
8ba4eafc6e5d637d3b08fa20d029e25173f96074
[ "MIT" ]
25
2018-09-13T09:37:14.000Z
2021-12-07T07:12:56.000Z
patch_classification/get_batches_from_image.py
annusgit/forestcoverUnet
8ba4eafc6e5d637d3b08fa20d029e25173f96074
[ "MIT" ]
null
null
null
patch_classification/get_batches_from_image.py
annusgit/forestcoverUnet
8ba4eafc6e5d637d3b08fa20d029e25173f96074
[ "MIT" ]
6
2018-09-04T15:26:26.000Z
2021-09-14T12:42:43.000Z
from __future__ import print_function from __future__ import division
17.75
37
0.873239
9
71
5.888889
0.666667
0.377358
0.603774
0
0
0
0
0
0
0
0
0
0.126761
71
4
38
17.75
0.854839
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0.5
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
1
0
8
ccbd3044b4418ad8c5b61a9b861187c1d928483b
8,855
py
Python
bandipy/experiment.py
PenelopeCorsica/privacy-preserving-bandits
b62f99a0871698375b092a9c548b1fa0210bdbb2
[ "MIT" ]
19
2019-09-11T09:32:18.000Z
2022-01-31T14:50:28.000Z
bandipy/experiment.py
mmalekzadeh/privacy-preserving-bandits
3b1c797094ca73315ec0c950bdc9c3f7dc37500b
[ "MIT" ]
4
2020-11-13T18:37:33.000Z
2022-02-10T01:46:34.000Z
bandipy/experiment.py
PenelopeCorsica/privacy-preserving-bandits
b62f99a0871698375b092a9c548b1fa0210bdbb2
[ "MIT" ]
4
2019-10-04T11:25:59.000Z
2022-03-01T19:07:18.000Z
import numpy as np ###____________ Experiment Interface ____________### class Experiment(): def __init__(self, env, agent): self.env = env self.agent = agent self.con_act_rew_hist = list() self.cumulative_reward = 0.0 self.cumulative_regret = 0.0 def run_bandit(sel...
38.837719
107
0.58227
1,031
8,855
4.586809
0.107662
0.062804
0.044407
0.037217
0.80757
0.786847
0.758723
0.754494
0.734193
0.726369
0
0.016377
0.317335
8,855
227
108
39.008811
0.765922
0.08786
0
0.746835
0
0
0.000755
0
0
0
0
0
0
1
0.088608
false
0.006329
0.006329
0
0.151899
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
ccc552fd874deb45adce2de0012c8df36e122205
217
py
Python
docs/multiple-tests/capitalized/src/example.py
codacy/codacy-prospector
85272adaf8022c0270ddaa826433343bc53e1376
[ "Apache-2.0" ]
null
null
null
docs/multiple-tests/capitalized/src/example.py
codacy/codacy-prospector
85272adaf8022c0270ddaa826433343bc53e1376
[ "Apache-2.0" ]
41
2019-12-18T07:17:52.000Z
2022-03-25T06:13:16.000Z
docs/multiple-tests/capitalized/src/example.py
codacy/codacy-prospector
85272adaf8022c0270ddaa826433343bc53e1376
[ "Apache-2.0" ]
null
null
null
def non_capitalized(): """ compute the MACD (Moving Average Convergence/Divergence) using ... """ def capitalized(): """ Compute the MACD (Moving Average Convergence/Divergence) using ... """
21.7
70
0.635945
21
217
6.52381
0.52381
0.262774
0.306569
0.364964
0.934307
0.934307
0.934307
0.934307
0.934307
0
0
0
0.225806
217
9
71
24.111111
0.815476
0.612903
0
0
0
0
0
0
0
0
0
0
0
1
1
true
0
0
0
1
0
1
0
0
null
1
1
1
1
1
1
1
1
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
0
0
0
0
12
aeed02724e7122b4082f0783a3b2fb1e9f967641
4,181
py
Python
worldloader/example_empty_world/worlddata/models.py
luyijun/evennia_worldloader
79f3618a12265101ef5ff8c9182780874cfeb534
[ "BSD-3-Clause" ]
1
2016-04-03T02:26:21.000Z
2016-04-03T02:26:21.000Z
worldloader/example_empty_world/worlddata/models.py
luyijun/evennia_worldloader
79f3618a12265101ef5ff8c9182780874cfeb534
[ "BSD-3-Clause" ]
null
null
null
worldloader/example_empty_world/worlddata/models.py
luyijun/evennia_worldloader
79f3618a12265101ef5ff8c9182780874cfeb534
[ "BSD-3-Clause" ]
null
null
null
from django.db import models #------------------------------------------------------------ # # store all rooms # #------------------------------------------------------------ class world_rooms(models.Model): "Store all unique rooms." key = models.CharField(max_length=255, primary_key=True) name = models....
34.270492
62
0.606075
462
4,181
5.354978
0.095238
0.212207
0.254648
0.339531
0.881568
0.782538
0.782538
0.782538
0.782538
0.782538
0
0.029897
0.16001
4,181
121
63
34.553719
0.674544
0.227458
0
0.72
0
0
0.119653
0
0
0
0
0
0
1
0
false
0
0.013333
0
0.733333
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
1
0
0
11
4e0a44e04b805f97109641170c79a3ab55bb8a45
5,529
py
Python
tests/test_password_hasher.py
ethanwtai/ukbrest
c7303e57659ed787f002d2a53a54ca3a3f631a9b
[ "MIT" ]
34
2018-04-17T03:02:38.000Z
2022-03-22T18:38:46.000Z
tests/test_password_hasher.py
ethanwtai/ukbrest
c7303e57659ed787f002d2a53a54ca3a3f631a9b
[ "MIT" ]
7
2019-08-07T10:46:34.000Z
2021-06-23T13:30:59.000Z
tests/test_password_hasher.py
ethanwtai/ukbrest
c7303e57659ed787f002d2a53a54ca3a3f631a9b
[ "MIT" ]
16
2018-08-26T08:08:05.000Z
2021-09-08T22:30:06.000Z
import os import unittest from shutil import copyfile from ruamel.yaml import YAML from ukbrest.common.utils.auth import PasswordHasher from tests.utils import get_repository_path class WSGIFunctions(unittest.TestCase): def load_data(self, filepath): yaml = YAML() with open(filepath, 'r') as f: ...
34.12963
103
0.646772
671
5,529
5.053651
0.126677
0.124742
0.060159
0.053082
0.872899
0.843409
0.840755
0.833972
0.800059
0.785314
0
0.01855
0.249231
5,529
161
104
34.341615
0.798362
0.025683
0
0.705882
0
0
0.105273
0.02888
0
0
0
0
0.323529
1
0.088235
false
0.401961
0.058824
0
0.166667
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
9da43d1fd70f000fb20a9fced0ffebc5bd45e8ad
3,531
py
Python
tests/integration/cartography/intel/azure/test_tag.py
Cloudanix/cartography
653d3cccbb9318e876fd558d386593e3612f4f78
[ "Apache-2.0" ]
null
null
null
tests/integration/cartography/intel/azure/test_tag.py
Cloudanix/cartography
653d3cccbb9318e876fd558d386593e3612f4f78
[ "Apache-2.0" ]
11
2020-12-21T02:51:11.000Z
2022-03-15T14:30:43.000Z
tests/integration/cartography/intel/azure/test_tag.py
Cloudanix/cartography
653d3cccbb9318e876fd558d386593e3612f4f78
[ "Apache-2.0" ]
1
2021-02-05T08:08:47.000Z
2021-02-05T08:08:47.000Z
from cartography.intel.azure import tag from tests.data.azure.tag import DESCRIBE_RESOURCE_GROUPS from tests.data.azure.tag import DESCRIBE_TAGS TEST_SUBSCRIPTION_ID = '00-00-00-00' TEST_UPDATE_TAG = 123456789 def test_load_resource_groups(neo4j_session): tag.load_resource_groups( neo4j_session, ...
26.350746
104
0.623336
395
3,531
5.334177
0.149367
0.062648
0.062648
0.041766
0.8785
0.864262
0.813004
0.77029
0.77029
0.719981
0
0.050977
0.261116
3,531
133
105
26.548872
0.756612
0
0
0.714286
0
0.043956
0.238328
0.224739
0
0
0
0
0.043956
1
0.043956
false
0
0.032967
0
0.076923
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
9daf3da1b961a63a63a100f5278e1e30074a67db
42
py
Python
mcp2515/__init__.py
JonETJakobsson/mcp2515-micropython
25cc375f49d8938dd1010e7c91b9bbb763067e12
[ "MIT" ]
null
null
null
mcp2515/__init__.py
JonETJakobsson/mcp2515-micropython
25cc375f49d8938dd1010e7c91b9bbb763067e12
[ "MIT" ]
null
null
null
mcp2515/__init__.py
JonETJakobsson/mcp2515-micropython
25cc375f49d8938dd1010e7c91b9bbb763067e12
[ "MIT" ]
null
null
null
from . import can from . import address
14
22
0.714286
6
42
5
0.666667
0.666667
0
0
0
0
0
0
0
0
0
0
0.238095
42
2
23
21
0.9375
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
9dc4f886184611b36238b95dae66a2c915b4ca04
187
py
Python
tests/parser/functions.3.test.py
veltri/DLV2
944aaef803aa75e7ec51d7e0c2b0d964687fdd0e
[ "Apache-2.0" ]
null
null
null
tests/parser/functions.3.test.py
veltri/DLV2
944aaef803aa75e7ec51d7e0c2b0d964687fdd0e
[ "Apache-2.0" ]
null
null
null
tests/parser/functions.3.test.py
veltri/DLV2
944aaef803aa75e7ec51d7e0c2b0d964687fdd0e
[ "Apache-2.0" ]
null
null
null
input = """ ok(X) :- p(f(X)), q(f(X)). q(X) :- p(X). p(f(a)). p(f(b,a)). p(g(c)). """ output = """ ok(X) :- p(f(X)), q(f(X)). q(X) :- p(X). p(f(a)). p(f(b,a)). p(g(c)). """
11
27
0.304813
46
187
1.23913
0.23913
0.210526
0.210526
0.175439
0.807018
0.807018
0.807018
0.807018
0.807018
0.807018
0
0
0.224599
187
16
28
11.6875
0.393103
0
0
0.857143
0
0
0.822857
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
1
null
1
1
1
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
13
9dfb9aa57da5685792d998c9a67307a52530075f
25,705
py
Python
sandbox/lib/jumpscale/JumpscaleLibs/clients/goldchain/tests/14_atomicswap_redeem.py
threefoldtech/threebot_prebuilt
1f0e1c65c14cef079cd80f73927d7c8318755c48
[ "Apache-2.0" ]
null
null
null
sandbox/lib/jumpscale/JumpscaleLibs/clients/goldchain/tests/14_atomicswap_redeem.py
threefoldtech/threebot_prebuilt
1f0e1c65c14cef079cd80f73927d7c8318755c48
[ "Apache-2.0" ]
null
null
null
sandbox/lib/jumpscale/JumpscaleLibs/clients/goldchain/tests/14_atomicswap_redeem.py
threefoldtech/threebot_prebuilt
1f0e1c65c14cef079cd80f73927d7c8318755c48
[ "Apache-2.0" ]
null
null
null
from Jumpscale import j import pytest from JumpscaleLibs.clients.goldchain.stub.ExplorerClientStub import GoldChainExplorerGetClientStub from JumpscaleLibs.clients.goldchain.test_utils import cleanup def main(self): """ to run: kosmos 'j.clients.goldchain.test(name="atomicswap_redeem")' """ cl...
244.809524
5,987
0.827504
1,671
25,705
12.71155
0.211849
0.008757
0.012711
0.016383
0.787816
0.7768
0.731086
0.725578
0.706746
0.702462
0
0.342217
0.030772
25,705
104
5,988
247.163462
0.510356
0.034196
0
0.313433
0
0.119403
0.924209
0.916989
0
0
0
0
0.014925
1
0.014925
false
0
0.059701
0
0.074627
0
0
0
1
null
0
0
0
0
1
1
1
1
1
0
1
0
0
0
1
1
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
11
d1897d4875a27bd001bc824ba7c89e67303cec0c
659,225
py
Python
cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_mpls_te_cfg.py
tkamata-test/ydk-py
b637e7853a8edbbd31fbc05afa3aa4110b31c5f9
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_mpls_te_cfg.py
tkamata-test/ydk-py
b637e7853a8edbbd31fbc05afa3aa4110b31c5f9
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_mpls_te_cfg.py
tkamata-test/ydk-py
b637e7853a8edbbd31fbc05afa3aa4110b31c5f9
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
import re import collections from enum import Enum from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLI...
58.035478
593
0.563214
56,458
659,225
6.350756
0.017234
0.077222
0.096527
0.104722
0.929251
0.919311
0.906345
0.883701
0.853254
0.798684
0
0.014228
0.299112
659,225
11,358
594
58.040588
0.761784
0
0
0.608836
0
0.008956
0.520993
0.446663
0
0
0
0
0
1
0
false
0.000403
0.000805
0
0.000805
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
d1d82b864cfb192cf0fff8eab19bf7de0072b126
148
py
Python
src/ltkit/__init__.py
ptr-yudai/ltkit
a0f82712c7391a2ed2d06d2a80be982256cae5fa
[ "MIT" ]
1
2016-05-05T17:05:54.000Z
2016-05-05T17:05:54.000Z
src/ltkit/__init__.py
ptr-yudai/ltkit
a0f82712c7391a2ed2d06d2a80be982256cae5fa
[ "MIT" ]
1
2016-05-05T17:31:35.000Z
2016-05-06T08:37:32.000Z
src/ltkit/__init__.py
ptr-yudai/ltkit
a0f82712c7391a2ed2d06d2a80be982256cae5fa
[ "MIT" ]
null
null
null
import module.message import mod_screenshot import network.server import network.client import panel.client.post import panel.client.questionnaire
18.5
33
0.864865
20
148
6.35
0.55
0.204724
0.267717
0
0
0
0
0
0
0
0
0
0.087838
148
7
34
21.142857
0.940741
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
ae5cfd61ac03d51b4c5a1366eeecabf71f3e7593
86
py
Python
tests/test_version.py
Kludex/fastapi-2fa
e0db1b9f6b9719c2a405d5d9d598b26ba73b54c5
[ "MIT" ]
1
2021-01-05T11:49:07.000Z
2021-01-05T11:49:07.000Z
tests/test_version.py
Kludex/fastapi-2fa
e0db1b9f6b9719c2a405d5d9d598b26ba73b54c5
[ "MIT" ]
null
null
null
tests/test_version.py
Kludex/fastapi-2fa
e0db1b9f6b9719c2a405d5d9d598b26ba73b54c5
[ "MIT" ]
null
null
null
import fastapi_2fa def test_version(): assert fastapi_2fa.__version__ == "0.1.0"
17.2
45
0.732558
13
86
4.307692
0.692308
0.357143
0
0
0
0
0
0
0
0
0
0.068493
0.151163
86
4
46
21.5
0.69863
0
0
0
0
0
0.05814
0
0
0
0
0
0.333333
1
0.333333
true
0
0.333333
0
0.666667
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
0
0
7
881d3cc5098b4e5431f690d0da78ab29e202d3d8
59,200
py
Python
strongdm/svc.py
strongdm/strongdm-sdk-python
6abe6fa5b2a6f268bc6983cdfe96a8481b734c97
[ "Apache-2.0" ]
3
2020-10-22T04:54:22.000Z
2022-03-24T20:26:03.000Z
strongdm/svc.py
strongdm/strongdm-sdk-python
6abe6fa5b2a6f268bc6983cdfe96a8481b734c97
[ "Apache-2.0" ]
1
2021-12-02T17:08:36.000Z
2021-12-06T23:55:29.000Z
strongdm/svc.py
strongdm/strongdm-sdk-python
6abe6fa5b2a6f268bc6983cdfe96a8481b734c97
[ "Apache-2.0" ]
3
2020-04-28T22:07:27.000Z
2021-01-21T19:13:31.000Z
# Copyright 2020 StrongDM Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing,...
39.205298
169
0.575101
5,949
59,200
5.513027
0.062195
0.099033
0.058511
0.074915
0.844894
0.811019
0.800988
0.770833
0.770833
0.770833
0
0.003618
0.355743
59,200
1,509
170
39.231279
0.856293
0.073581
0
0.817102
0
0
0.014959
0.003923
0
0
0
0
0
1
0.050673
false
0
0.026128
0
0.119557
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
88302bec4064c13e6372436a3f120e782d9d0104
122
py
Python
finrl/model/WorldModel/__init__.py
Adwaver4157/WorldModel_for_FinRL
0aa0a984aadffe0f6f2e83e55678c0e9304fba05
[ "MIT" ]
1
2021-05-15T13:13:25.000Z
2021-05-15T13:13:25.000Z
finrl/model/WorldModel/__init__.py
Adwaver4157/WorldModel_for_FinRL
0aa0a984aadffe0f6f2e83e55678c0e9304fba05
[ "MIT" ]
null
null
null
finrl/model/WorldModel/__init__.py
Adwaver4157/WorldModel_for_FinRL
0aa0a984aadffe0f6f2e83e55678c0e9304fba05
[ "MIT" ]
null
null
null
from finrl.model.WorldModel.world_model import WorldModel from finrl.model.WorldModel.policies import CnnPolicy, MlpPolicy
61
64
0.877049
16
122
6.625
0.5625
0.169811
0.264151
0.45283
0
0
0
0
0
0
0
0
0.065574
122
2
64
61
0.929825
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
885a54224fb9afa2802464a9c43d70892e9ceb53
171
py
Python
mher/common/__init__.py
YangRui2015/Modular_HER
77acca83d6849d140ab893ec1b472b71e1da08d4
[ "MIT" ]
13
2020-10-31T15:01:44.000Z
2021-11-30T06:51:15.000Z
mher/common/__init__.py
YangRui2015/Modular_HER
77acca83d6849d140ab893ec1b472b71e1da08d4
[ "MIT" ]
1
2021-06-22T14:25:07.000Z
2021-06-23T11:47:37.000Z
mher/common/__init__.py
YangRui2015/Modular_HER
77acca83d6849d140ab893ec1b472b71e1da08d4
[ "MIT" ]
2
2020-11-24T03:26:32.000Z
2021-05-14T01:20:57.000Z
# flake8: noqa F403 from mher.common.console_util import * from mher.common.dataset import Dataset from mher.common.math_util import * from mher.common.misc_util import *
28.5
39
0.807018
27
171
5
0.444444
0.237037
0.414815
0.266667
0.355556
0
0
0
0
0
0
0.02649
0.116959
171
5
40
34.2
0.86755
0.099415
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
887d8e0de2ae6f532fef1c3002eaa75e7115348f
8,254
py
Python
tests/test_discover.py
pyansys/example-coverage
3fa25ab2a4887f66266efee6c1f54b44bdbfe6c9
[ "MIT" ]
2
2022-01-05T05:33:25.000Z
2022-01-26T13:25:58.000Z
tests/test_discover.py
pyansys/example-coverage
3fa25ab2a4887f66266efee6c1f54b44bdbfe6c9
[ "MIT" ]
1
2021-08-19T04:56:53.000Z
2021-08-19T04:56:53.000Z
tests/test_discover.py
pyansys/example-coverage
3fa25ab2a4887f66266efee6c1f54b44bdbfe6c9
[ "MIT" ]
null
null
null
import os import sys import io import pytest from ansys.tools.example_coverage import create_report THIS_PATH = os.path.dirname(os.path.abspath(__file__)) ASSETS_DIRECTORY = os.path.join(THIS_PATH, 'assets') class CaptureStdOut(): """Capture standard output with a context manager.""" def __init__(self): ...
37.689498
109
0.48219
802
8,254
4.769327
0.157107
0.025098
0.036601
0.047582
0.83268
0.825098
0.782745
0.764706
0.752157
0.73281
0
0.016298
0.293797
8,254
218
110
37.862385
0.639904
0.145869
0
0.729927
0
0
0.515873
0.196248
0
0
0
0
0.131387
1
0.124088
false
0
0.036496
0
0.175182
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
31f6568971efb95b041cc36ac5cd574f71007b78
56
py
Python
stockmarkettools/__init__.py
ayush4921/stockmarkettools
e83f95720ca2c94fc678d3445c0c17168f0edfa5
[ "MIT" ]
null
null
null
stockmarkettools/__init__.py
ayush4921/stockmarkettools
e83f95720ca2c94fc678d3445c0c17168f0edfa5
[ "MIT" ]
null
null
null
stockmarkettools/__init__.py
ayush4921/stockmarkettools
e83f95720ca2c94fc678d3445c0c17168f0edfa5
[ "MIT" ]
null
null
null
from stockmarkettools.get_stock_all import get_stock_all
56
56
0.928571
9
56
5.333333
0.666667
0.333333
0.458333
0
0
0
0
0
0
0
0
0
0.053571
56
1
56
56
0.90566
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
ee5081b70d9c1a0424120342545477c96bd77dc3
27,823
py
Python
sdk/python/pulumi_oci/artifacts/generic_artifact.py
EladGabay/pulumi-oci
6841e27d4a1a7e15c672306b769912efbfd3ba99
[ "ECL-2.0", "Apache-2.0" ]
5
2021-08-17T11:14:46.000Z
2021-12-31T02:07:03.000Z
sdk/python/pulumi_oci/artifacts/generic_artifact.py
pulumi-oci/pulumi-oci
6841e27d4a1a7e15c672306b769912efbfd3ba99
[ "ECL-2.0", "Apache-2.0" ]
1
2021-09-06T11:21:29.000Z
2021-09-06T11:21:29.000Z
sdk/python/pulumi_oci/artifacts/generic_artifact.py
pulumi-oci/pulumi-oci
6841e27d4a1a7e15c672306b769912efbfd3ba99
[ "ECL-2.0", "Apache-2.0" ]
2
2021-08-24T23:31:30.000Z
2022-01-02T19:26:54.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
52.005607
347
0.668296
3,425
27,823
5.245547
0.067153
0.05939
0.053768
0.05143
0.865579
0.835244
0.811477
0.798508
0.78053
0.726261
0
0.008624
0.216476
27,823
534
348
52.102996
0.815505
0.444668
0
0.550336
1
0
0.100501
0.003178
0
0
0
0
0
1
0.16443
false
0.003356
0.016779
0
0.285235
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
c9a9738e5ce5fd8a52228a8cfbb52aeac4e0363d
46
py
Python
atest/testdata/variables/get_file_lib.py
phil-davis/robotframework
4d4ce686cbe01e293bb86ea6ff34330e8c45fc43
[ "ECL-2.0", "Apache-2.0" ]
7,073
2015-01-01T17:19:16.000Z
2022-03-31T22:01:29.000Z
atest/testdata/variables/get_file_lib.py
phil-davis/robotframework
4d4ce686cbe01e293bb86ea6ff34330e8c45fc43
[ "ECL-2.0", "Apache-2.0" ]
2,412
2015-01-02T09:29:05.000Z
2022-03-31T13:10:46.000Z
atest/testdata/variables/get_file_lib.py
phil-davis/robotframework
4d4ce686cbe01e293bb86ea6ff34330e8c45fc43
[ "ECL-2.0", "Apache-2.0" ]
2,298
2015-01-03T02:47:15.000Z
2022-03-31T02:00:16.000Z
def get_open_file(): return open(__file__)
23
25
0.73913
7
46
4
0.714286
0.571429
0
0
0
0
0
0
0
0
0
0
0.152174
46
2
25
23
0.717949
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
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
1
1
0
0
8
a0223a13721c24a70244b0b465de5a15a250c4b3
31,445
py
Python
fhirclient/models/bundle_tests.py
JamesSkane/smart_resources
85c362542b85ebc43ec00cd04915b114ee95f9c0
[ "Apache-2.0" ]
null
null
null
fhirclient/models/bundle_tests.py
JamesSkane/smart_resources
85c362542b85ebc43ec00cd04915b114ee95f9c0
[ "Apache-2.0" ]
null
null
null
fhirclient/models/bundle_tests.py
JamesSkane/smart_resources
85c362542b85ebc43ec00cd04915b114ee95f9c0
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Generated from FHIR 0.5.0.5149 on 2015-07-06. # 2015, SMART Health IT. import os import io import unittest import json from . import bundle from .fhirdate import FHIRDate class BundleTests(unittest.TestCase): def instantiate_from(self, filename): datad...
69.262115
158
0.691461
4,279
31,445
5.056555
0.072681
0.222535
0.272219
0.28063
0.901789
0.88515
0.870315
0.807182
0.793178
0.786384
0
0.116932
0.136779
31,445
453
159
69.415011
0.680187
0.003594
0
0.358354
1
0.002421
0.196163
0.032433
0
0
0
0
0.801453
1
0.050847
false
0
0.014528
0
0.070218
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
1
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
11
4e9b58ac687bf89d02ce72ac68ad183f8539015e
41
py
Python
test_web_directory/test_package/b/mod.py
ParikhKadam/httpimport
47786966477c03b12298fd6f23fd8ce9d23b9140
[ "Apache-2.0" ]
196
2017-08-23T15:44:14.000Z
2022-03-29T14:27:02.000Z
test_web_directory/test_package/b/mod.py
ParikhKadam/httpimport
47786966477c03b12298fd6f23fd8ce9d23b9140
[ "Apache-2.0" ]
34
2017-12-17T16:57:49.000Z
2022-01-29T20:07:19.000Z
test_web_directory/test_package/b/mod.py
ParikhKadam/httpimport
47786966477c03b12298fd6f23fd8ce9d23b9140
[ "Apache-2.0" ]
42
2017-10-16T22:08:45.000Z
2022-03-02T16:05:17.000Z
def module_name(): return 'Module B'
13.666667
21
0.658537
6
41
4.333333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.219512
41
2
22
20.5
0.8125
0
0
0
0
0
0.195122
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
4ea2dbe767a973f65e907f10ccd776620681c7e5
1,405
py
Python
src/tests/test_logout_pass.py
chickenPopcorn/food-truck-inc
ed45fe4be9a4256a24d75e540c66e0605c6f3329
[ "MIT" ]
1
2016-10-17T01:10:02.000Z
2016-10-17T01:10:02.000Z
src/tests/test_logout_pass.py
chickenPopcorn/food-truck-inc
ed45fe4be9a4256a24d75e540c66e0605c6f3329
[ "MIT" ]
11
2016-10-16T11:36:11.000Z
2016-12-28T03:15:01.000Z
src/tests/test_logout_pass.py
chickenPopcorn/food-truck-inc
ed45fe4be9a4256a24d75e540c66e0605c6f3329
[ "MIT" ]
1
2016-10-17T01:10:03.000Z
2016-10-17T01:10:03.000Z
import os, sys sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) from app import app from blueprint_test_case import BaseTestCase class FlaskTestCase(BaseTestCase): # Ensure login behaves correctly with correct credentials def test_correct_customer_login(self): # lo...
35.125
77
0.620641
155
1,405
5.522581
0.335484
0.056075
0.084112
0.135514
0.827103
0.78972
0.78972
0.78972
0.78972
0.78972
0
0.011834
0.278292
1,405
40
78
35.125
0.832347
0.123132
0
0.551724
0
0
0.114575
0
0
0
0
0
0.275862
1
0.068966
false
0.068966
0.103448
0
0.206897
0.034483
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
11806ba1078474ca84366a588e7af57e0d1d649d
216
py
Python
handy_graph/__init__.py
fuvty/handy_graph
6d3c81aeb1993d2248c149ac567e5f6d9cb04981
[ "Apache-2.0" ]
1
2022-02-08T12:20:19.000Z
2022-02-08T12:20:19.000Z
handy_graph/__init__.py
fuvty/handy_graph
6d3c81aeb1993d2248c149ac567e5f6d9cb04981
[ "Apache-2.0" ]
null
null
null
handy_graph/__init__.py
fuvty/handy_graph
6d3c81aeb1993d2248c149ac567e5f6d9cb04981
[ "Apache-2.0" ]
null
null
null
# networkx from handy_graph.nx.AdjacentDict import * from handy_graph.nx.GraphFileIO import * from handy_graph.nx.Interface import * from handy_graph.nx.Relabel import * from handy_graph.common.GreedyGather import *
30.857143
45
0.824074
31
216
5.580645
0.387097
0.260116
0.404624
0.369942
0.381503
0
0
0
0
0
0
0
0.101852
216
7
45
30.857143
0.891753
0.037037
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
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
11a269fff8fcdcbcc439553b3db99986e145c582
4,657
py
Python
BigWorld/RibbonCollection.py
kagurazakasanae/wows_replay_parser
8b9067b82fd898a35f0f7c54d05b7cf4919ac11d
[ "MIT" ]
4
2020-03-16T16:07:39.000Z
2021-12-28T00:09:28.000Z
BigWorld/RibbonCollection.py
kagurazakasanae/wows_replay_parser
8b9067b82fd898a35f0f7c54d05b7cf4919ac11d
[ "MIT" ]
null
null
null
BigWorld/RibbonCollection.py
kagurazakasanae/wows_replay_parser
8b9067b82fd898a35f0f7c54d05b7cf4919ac11d
[ "MIT" ]
1
2020-07-16T22:44:35.000Z
2020-07-16T22:44:35.000Z
from BigWorld.BaseCollection import * from BigWorld.RibbonType import * class RibbonCollection(BaseCollection): def getMap(self): return {0:RIBBON_MAIN_CALIBER, 1:RIBBON_TORPEDO, 2:RIBBON_BOMB, 3:RIBBON_PLANE, 4:RIBBON_CRIT, 5:RIBBON_FRAG, ...
37.556452
232
0.651707
533
4,657
5.275797
0.148218
0.081792
0.133001
0.05761
0.886913
0.831081
0.789829
0.789829
0.773115
0.713727
0
0.049955
0.282156
4,657
123
233
37.861789
0.791206
0
0
0.763636
0
0
0
0
0
0
0
0
0
1
0.054545
false
0
0.018182
0.027273
0.136364
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
11e30f157a0b775d0e970d5f30e1499b6b560162
7,030
py
Python
tests/test_container.py
bdraco/pyhaversion
87851f8fe868c1a5d5cdcdd56a1064031d37e220
[ "MIT" ]
4
2020-12-30T23:34:37.000Z
2021-11-08T09:13:45.000Z
tests/test_container.py
bdraco/pyhaversion
87851f8fe868c1a5d5cdcdd56a1064031d37e220
[ "MIT" ]
27
2019-08-27T08:05:18.000Z
2022-03-18T06:05:49.000Z
tests/test_container.py
bdraco/pyhaversion
87851f8fe868c1a5d5cdcdd56a1064031d37e220
[ "MIT" ]
9
2019-07-02T06:19:46.000Z
2021-11-04T16:18:42.000Z
"""Tests for Container.""" import json from unittest.mock import patch import aiohttp import pytest from pyhaversion import HaVersion from pyhaversion.consts import HaVersionChannel, HaVersionSource from pyhaversion.exceptions import HaVersionInputException from tests.common import fixture from .const import ( ...
30.565217
84
0.629303
667
7,030
6.512744
0.097451
0.046041
0.03453
0.04558
0.909761
0.903775
0.892726
0.882136
0.882136
0.882136
0
0.008609
0.272973
7,030
229
85
30.69869
0.841323
0.002845
0
0.764103
0
0
0.169242
0.147487
0
0
0
0
0.046154
1
0
false
0
0.046154
0
0.046154
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
11fec301f0428bf29cf5ced6dd3d1661af4758cb
5,037
py
Python
chat_wars_database/app/business_core/migrations/0003_auto_20191230_2115.py
ricardochaves/chat-wars-database
597f192fb6ddf290c6c7477cf8c7d0ca654925f6
[ "MIT" ]
1
2019-12-30T19:16:52.000Z
2019-12-30T19:16:52.000Z
chat_wars_database/app/business_core/migrations/0003_auto_20191230_2115.py
ricardochaves/chat-wars-database
597f192fb6ddf290c6c7477cf8c7d0ca654925f6
[ "MIT" ]
null
null
null
chat_wars_database/app/business_core/migrations/0003_auto_20191230_2115.py
ricardochaves/chat-wars-database
597f192fb6ddf290c6c7477cf8c7d0ca654925f6
[ "MIT" ]
null
null
null
# Generated by Django 3.0.1 on 2019-12-30 21:15 from django.db import migrations from django.db import models class Migration(migrations.Migration): dependencies = [("business_core", "0002_exchangeitems")] operations = [ migrations.DeleteModel(name="ExchangeItems"), migrations.AddField( ...
41.975
120
0.616835
537
5,037
5.635009
0.145251
0.076669
0.212822
0.249835
0.86649
0.86649
0.854924
0.842366
0.828156
0.828156
0
0.007754
0.257495
5,037
119
121
42.327731
0.801337
0.008934
0
0.681416
1
0
0.121443
0.004409
0
0
0
0
0
1
0
false
0
0.017699
0
0.044248
0
0
0
0
null
0
1
1
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
9
ee97be4410a480071e2228af213a71dbdeec4043
3,278
py
Python
peer/chaincode_shim_pb2_grpc.py
jeffgarratt/fabric-prototype
46cfc67a1d74d1f38f498d3409327692fb733fd0
[ "CC-BY-4.0" ]
6
2017-10-16T13:46:46.000Z
2020-02-28T07:48:51.000Z
peer/chaincode_shim_pb2_grpc.py
jeffgarratt/fabric-prototype
46cfc67a1d74d1f38f498d3409327692fb733fd0
[ "CC-BY-4.0" ]
18
2017-10-02T16:31:51.000Z
2020-02-24T21:39:20.000Z
peer/chaincode_shim_pb2_grpc.py
jeffgarratt/fabric-prototype
46cfc67a1d74d1f38f498d3409327692fb733fd0
[ "CC-BY-4.0" ]
4
2019-02-01T14:46:21.000Z
2021-06-01T05:49:11.000Z
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc from peer import chaincode_shim_pb2 as peer_dot_chaincode__shim__pb2 class ChaincodeSupportStub(object): """Interface that provides support to chaincode execution. ChaincodeContext provides the context necessary for the server to r...
35.247312
95
0.765101
359
3,278
6.657382
0.24234
0.054393
0.066946
0.075314
0.833891
0.824268
0.824268
0.758159
0.758159
0.758159
0
0.003643
0.162599
3,278
92
96
35.630435
0.867031
0.250153
0
0.52
1
0
0.08575
0.034048
0
0
0
0
0
1
0.12
false
0.04
0.04
0
0.24
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
eeb3dcabf9443e3e638604b7c362f78dd794de47
2,701
py
Python
Segmentation/builders/frontend_builder.py
ardywibowo/LBD
1c56917fa0797c98ef1233879849c9ec536fe896
[ "MIT" ]
null
null
null
Segmentation/builders/frontend_builder.py
ardywibowo/LBD
1c56917fa0797c98ef1233879849c9ec536fe896
[ "MIT" ]
null
null
null
Segmentation/builders/frontend_builder.py
ardywibowo/LBD
1c56917fa0797c98ef1233879849c9ec536fe896
[ "MIT" ]
null
null
null
import tensorflow as tf from tensorflow.contrib import slim from frontends import resnet_v2 from frontends import mobilenet_v2 from frontends import inception_v4 from frontends import xception import os def build_frontend_bayesian(inputs, first_pass, batch_size, frontend, is_training=True, pretrained_dir="models", p...
64.309524
186
0.76268
357
2,701
5.420168
0.210084
0.087855
0.062016
0.033075
0.85478
0.826873
0.793798
0.793798
0.793798
0.736951
0
0.016017
0.144761
2,701
42
187
64.309524
0.821645
0
0
0.514286
0
0
0.128793
0
0
0
0
0
0
1
0.057143
false
0.057143
0.2
0
0.314286
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
e12b9f797e7ce35e83f026d3ff504b499e6bec40
2,410
py
Python
src/norm_functions.py
javiferfer/Cross-subject-EEG-emotion-recognition-through-NN
3dbb665167b9f42d608a2917a2987a05bbf335f7
[ "MIT" ]
6
2021-04-17T20:48:14.000Z
2021-11-02T13:07:14.000Z
src/norm_functions.py
javiferfer/Cross-subject-EEG-emotion-recognition-through-NN
3dbb665167b9f42d608a2917a2987a05bbf335f7
[ "MIT" ]
null
null
null
src/norm_functions.py
javiferfer/Cross-subject-EEG-emotion-recognition-through-NN
3dbb665167b9f42d608a2917a2987a05bbf335f7
[ "MIT" ]
4
2021-02-26T07:24:56.000Z
2021-10-20T15:42:10.000Z
import numpy as np no_sessions = 3 no_participants = 15 no_channels = 62 no_features = 5 def normalization(data, no_videos): bandpower_seed_normalization = [] # Number of features no_features = int(len(data[0])/no_channels) for i in range(no_participants): for j in range(no_sessions): ...
40.847458
100
0.571369
285
2,410
4.526316
0.154386
0.099225
0.20155
0.055814
0.908527
0.908527
0.908527
0.908527
0.908527
0.874419
0
0.006373
0.348963
2,410
58
101
41.551724
0.815806
0.015353
0
0.744186
0
0
0
0
0
0
0
0
0
1
0.046512
false
0
0.023256
0
0.116279
0
0
0
0
null
0
1
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
014e80ae692e50a4f8893fd77deda3b8f47a9fd6
14
py
Python
tests/var/add.py
Mieschendahl/assignment-final-stub
19eea657fcc4f8a455c42028f34b918628514cc0
[ "MIT" ]
11
2021-02-02T02:32:50.000Z
2021-12-30T12:55:41.000Z
tests/var/add.py
Mieschendahl/assignment-final-stub
19eea657fcc4f8a455c42028f34b918628514cc0
[ "MIT" ]
75
2021-01-27T10:53:10.000Z
2021-06-30T10:59:49.000Z
tests/var/add.py
Mieschendahl/assignment-final-stub
19eea657fcc4f8a455c42028f34b918628514cc0
[ "MIT" ]
6
2022-03-13T13:10:25.000Z
2022-03-28T22:18:12.000Z
print(40 + 2)
7
13
0.571429
3
14
2.666667
1
0
0
0
0
0
0
0
0
0
0
0.272727
0.214286
14
1
14
14
0.454545
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
1
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
7
015bea5bc4cd3d032863dde1a8b7181512d9fed9
3,818
py
Python
tests/tests/test_fields/test_number_fields.py
intellineers/django-bridger
ed097984a99df7da40a4d01bd00c56e3c6083056
[ "BSD-3-Clause" ]
2
2020-03-17T00:53:23.000Z
2020-07-16T07:00:33.000Z
tests/tests/test_fields/test_number_fields.py
intellineers/django-bridger
ed097984a99df7da40a4d01bd00c56e3c6083056
[ "BSD-3-Clause" ]
76
2019-12-05T01:15:57.000Z
2021-09-07T16:47:27.000Z
tests/tests/test_fields/test_number_fields.py
intellineers/django-bridger
ed097984a99df7da40a4d01bd00c56e3c6083056
[ "BSD-3-Clause" ]
1
2020-02-05T15:09:47.000Z
2020-02-05T15:09:47.000Z
from decimal import Decimal import pytest from rest_framework.exceptions import ValidationError from bridger.serializers import DecimalField, FloatField, IntegerField from bridger.serializers.fields.types import BridgerType from ...models import ModelTest class TestIntegerField: def setup_method(self): ...
32.355932
106
0.60791
437
3,818
5.118993
0.15103
0.092535
0.080465
0.076442
0.807331
0.805096
0.768887
0.768887
0.75637
0.726866
0
0.014452
0.256941
3,818
117
107
32.632479
0.774057
0
0
0.706522
0
0
0.089576
0
0
0
0
0
0.141304
1
0.206522
false
0
0.065217
0
0.304348
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
1
0
0
0
0
0
0
0
8
6d8182230c9fbadb0b6ebd607e7e054c7a44226c
41,507
py
Python
contrail-opserver/test/test_log.py
toha10/contrail-analytics
f5c84afd13ecb10062f960d02b2c4f10a5c3f11b
[ "Apache-2.0" ]
null
null
null
contrail-opserver/test/test_log.py
toha10/contrail-analytics
f5c84afd13ecb10062f960d02b2c4f10a5c3f11b
[ "Apache-2.0" ]
2
2018-12-04T02:20:52.000Z
2018-12-22T06:16:30.000Z
contrail-opserver/test/test_log.py
toha10/contrail-analytics
f5c84afd13ecb10062f960d02b2c4f10a5c3f11b
[ "Apache-2.0" ]
1
2018-12-04T02:07:47.000Z
2018-12-04T02:07:47.000Z
import sys import json import gevent from gevent import monkey monkey.patch_all() import unittest from flexmock import flexmock from opserver.log import LogQuerier from opserver.opserver_util import OpServerUtils from multiprocessing import Process test_num = 0 query_list = [] query_result = { 1: [ {u'Category': Non...
128.108025
5,751
0.717373
5,630
41,507
5.11492
0.058792
0.048859
0.118658
0.084801
0.879571
0.853422
0.840921
0.826892
0.821474
0.811369
0
0.048457
0.094611
41,507
323
5,752
128.504644
0.717829
0.01301
0
0.598485
0
0.079545
0.722871
0.414461
0
0
0
0
0.204545
1
0.060606
false
0
0.034091
0.003788
0.117424
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
1
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
6dc967ea4e08c63d8b0454b56c430c16a0b1ed3b
3,639
py
Python
test/test_sqa14.py
OceansAus/cosima-cookbook
ac2d674bf7639558e125d390457fcf6692b92b7a
[ "Apache-2.0" ]
30
2017-03-30T14:22:43.000Z
2019-04-08T10:27:14.000Z
test/test_sqa14.py
COSIMA/cosima-cookbook
ac2d674bf7639558e125d390457fcf6692b92b7a
[ "Apache-2.0" ]
170
2019-04-18T04:02:13.000Z
2022-03-24T04:12:42.000Z
test/test_sqa14.py
COSIMA/cosima-cookbook
ac2d674bf7639558e125d390457fcf6692b92b7a
[ "Apache-2.0" ]
16
2019-05-31T01:42:41.000Z
2021-11-19T02:41:12.000Z
import pytest from cosima_cookbook.database import * def test_empty_file(session_db): session, db = session_db exp = NCExperiment(experiment="a", root_dir="b") file = NCFile() file.experiment = exp session.add(exp) session.commit() assert session.query(NCFile).count() == 1 assert s...
24.755102
74
0.656774
457
3,639
5.153173
0.155361
0.147771
0.214013
0.09172
0.878132
0.774522
0.729512
0.729512
0.706157
0.706157
0
0.014761
0.199505
3,639
146
75
24.924658
0.793683
0.039022
0
0.747368
0
0
0.036952
0
0
0
0
0
0.305263
1
0.063158
false
0
0.021053
0
0.084211
0
0
0
0
null
0
1
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
6df06734f61b756d4cfd5ace0282ad75862f51f3
96,315
py
Python
metadata_sync/metadata/_xml_metadata.py
alex-ip/metadata_sync
a6b9de7e1fe1d3bae8669ec41cd09407e3e0afbc
[ "Apache-2.0" ]
null
null
null
metadata_sync/metadata/_xml_metadata.py
alex-ip/metadata_sync
a6b9de7e1fe1d3bae8669ec41cd09407e3e0afbc
[ "Apache-2.0" ]
null
null
null
metadata_sync/metadata/_xml_metadata.py
alex-ip/metadata_sync
a6b9de7e1fe1d3bae8669ec41cd09407e3e0afbc
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python """XML Metadata module Author: Alex Ip (alex.ip@ga.gov.au) """ import xml.dom.minidom import logging import os import re import unicodedata from _metadata import Metadata logger = logging.getLogger(__name__) logger.setLevel(logging.INFO) # Initial logging level for this module class XMLMeta...
50.718799
3,488
0.52836
8,544
96,315
5.854284
0.104401
0.146104
0.075571
0.023551
0.738519
0.719487
0.704952
0.690538
0.659409
0.641696
0
0.027461
0.368208
96,315
1,898
3,489
50.745522
0.794531
0.035882
0
0.784615
0
0.030769
0.892215
0.277845
0
0
0
0.001581
0.003989
0
null
null
0
0.003419
null
null
0.00057
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
1
0
0
0
0
1
0
0
1
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
7
6dfc98ee871bcd82c488d32efe43598920fb511e
311
py
Python
Compliant_control/gym-panda/HFMC/gym_panda/envs/__init__.py
martihmy/Compliant_control
485f627fa83d59f414f41bd57c5d37528ef5f1ec
[ "Apache-2.0" ]
null
null
null
Compliant_control/gym-panda/HFMC/gym_panda/envs/__init__.py
martihmy/Compliant_control
485f627fa83d59f414f41bd57c5d37528ef5f1ec
[ "Apache-2.0" ]
null
null
null
Compliant_control/gym-panda/HFMC/gym_panda/envs/__init__.py
martihmy/Compliant_control
485f627fa83d59f414f41bd57c5d37528ef5f1ec
[ "Apache-2.0" ]
null
null
null
""" from gym_panda.envs.AC_Env import AdmittanceEnv from gym_panda.envs.AC_Env import Normalised_Env """ from gym_panda.envs.HFMC_Env import HFMC_Env from gym_panda.envs.HFMC_Env import Normalised_HFMC_Env """ from gym_panda.envs.VIC_Env import VIC_Env from gym_panda.envs.VIC_Env import Normalised_VIC_Env """
28.272727
55
0.832797
55
311
4.363636
0.2
0.175
0.3
0.4
0.783333
0.783333
0.75
0.525
0
0
0
0
0.090032
311
10
56
31.1
0.848057
0.308682
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
1
1
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
09c1ea94bd4c8d39be58c37d2a252e6e53355e33
106
py
Python
python/test/__init__.py
modelop/fastscore-sdk
2206a4b9294cd83b6b8c2470193070bdc35a9061
[ "Apache-2.0" ]
2
2018-06-05T19:14:30.000Z
2019-02-06T17:15:10.000Z
python/test/__init__.py
modelop/fastscore-sdk
2206a4b9294cd83b6b8c2470193070bdc35a9061
[ "Apache-2.0" ]
2
2018-02-20T21:58:43.000Z
2018-10-07T10:10:54.000Z
python/test/__init__.py
modelop/fastscore-sdk
2206a4b9294cd83b6b8c2470193070bdc35a9061
[ "Apache-2.0" ]
1
2017-12-29T20:38:06.000Z
2017-12-29T20:38:06.000Z
from . import test_connect from . import test_model_manage from . import test_engine from . import config
21.2
31
0.811321
16
106
5.125
0.5
0.487805
0.512195
0
0
0
0
0
0
0
0
0
0.150943
106
4
32
26.5
0.911111
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
09c876a025048bd21db86ed57f508d874bc570c6
9,397
py
Python
2015/2015_03.py
hnorm/Advent-Of-Code
a9c2180fcc9f41b3079cadc7d098b53f803c5d35
[ "MIT" ]
null
null
null
2015/2015_03.py
hnorm/Advent-Of-Code
a9c2180fcc9f41b3079cadc7d098b53f803c5d35
[ "MIT" ]
null
null
null
2015/2015_03.py
hnorm/Advent-Of-Code
a9c2180fcc9f41b3079cadc7d098b53f803c5d35
[ "MIT" ]
null
null
null
directions = "^><^>>>^<^v<v^^vv^><<^<><<vv^<>^<^v>^vv<>v><vv^^<>>^^^v<<vv><<^>^<^v<^>^v><<<v^<v<<<v<<vv<v<^><^>><>v>v^<<v^^<^v<><^>^<<^^^>v>>v^^<v>>^>vv><v>>^>>v^>^v>^<^^v>^>^^v<v>^^<v<>>v^^v><^><^<<>v^<^<^v<v>v^>>>v^v^>^<>^v<^^vv<v>^>^<>^^<vv^<><<v<^<^^>vv<>^>v<^>^v>v^>^v<>^><>><vv<>v^v<><>v^v>>>>v^^>^><^^<v<^><^<v>>^...
149.15873
8,207
0.269128
1,682
9,397
1.501784
0.01962
0.733967
0.857482
0.897862
0.936263
0.926366
0.918052
0.904196
0.893112
0.821853
0
0.003263
0.054273
9,397
63
8,208
149.15873
0.280972
0
0
0.816327
0
0.020408
0.872632
0.871675
0
0
0
0
0
1
0.040816
false
0
0.020408
0
0.102041
0.020408
0
0
1
null
1
1
1
1
1
1
1
1
1
0
0
0
0
0
1
1
1
0
0
1
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
16
61d59f4c45be60ac586e7fa75e46a21ebfe5f361
49,481
py
Python
create_figures.py
cmbaker00/optimal-test-allocation
b8ad23a0bde7b360ed8e01af6beac5ba441d6322
[ "MIT" ]
null
null
null
create_figures.py
cmbaker00/optimal-test-allocation
b8ad23a0bde7b360ed8e01af6beac5ba441d6322
[ "MIT" ]
null
null
null
create_figures.py
cmbaker00/optimal-test-allocation
b8ad23a0bde7b360ed8e01af6beac5ba441d6322
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt from SimpleModelsModule import TestOptimisation import param_values as scenario import plotting_code import itertools import matplotlib.ticker as mtick if __name__ == "__main__": test_figure_area = False tat_figure = False kretzschmar_figure = False on...
53.377562
184
0.529052
4,639
49,481
5.249623
0.051304
0.070956
0.045333
0.011169
0.860715
0.835955
0.816778
0.803967
0.784174
0.764793
0
0.021856
0.399891
49,481
927
185
53.377562
0.798276
0.081708
0
0.734234
0
0.001502
0.073457
0.016914
0
0
0
0
0
1
0
false
0.001502
0.010511
0
0.010511
0.028529
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
61de0b4c894a0e4e818313f1ad2c364bf9a4a28c
120
py
Python
malcolm/comms/pva/__init__.py
dls-controls/github-publish-test
25f6ce1af28eff9930f65e4f2c9fb0474e0b570c
[ "Apache-2.0" ]
null
null
null
malcolm/comms/pva/__init__.py
dls-controls/github-publish-test
25f6ce1af28eff9930f65e4f2c9fb0474e0b570c
[ "Apache-2.0" ]
null
null
null
malcolm/comms/pva/__init__.py
dls-controls/github-publish-test
25f6ce1af28eff9930f65e4f2c9fb0474e0b570c
[ "Apache-2.0" ]
null
null
null
from malcolm.comms.pva.pvaclientcomms import PvaClientComms from malcolm.comms.pva.pvaservercomms import PvaServerComms
40
59
0.883333
14
120
7.571429
0.5
0.207547
0.301887
0.358491
0
0
0
0
0
0
0
0
0.066667
120
2
60
60
0.946429
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
61f9a3bd91ee3c22c63212af28181cdd96f45e7e
47
py
Python
src/mcs_tests/test_tobedeleted.py
Project-PmPy/pmpy
9e4a7d62e09ac020638bc8c1b955ad73beef2ed7
[ "MIT" ]
null
null
null
src/mcs_tests/test_tobedeleted.py
Project-PmPy/pmpy
9e4a7d62e09ac020638bc8c1b955ad73beef2ed7
[ "MIT" ]
null
null
null
src/mcs_tests/test_tobedeleted.py
Project-PmPy/pmpy
9e4a7d62e09ac020638bc8c1b955ad73beef2ed7
[ "MIT" ]
null
null
null
print(type(2)) print(type(2.1)) print(type([]))
15.666667
16
0.638298
9
47
3.333333
0.444444
0.9
0.666667
0
0
0
0
0
0
0
0
0.066667
0.042553
47
3
17
15.666667
0.6
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
1
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
7
1151c508ec1dd51713e18b60c6e345b3b66f2e45
31,485
py
Python
tests/integration/type_casting_test.py
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
61
2020-07-06T17:11:46.000Z
2022-03-12T14:42:51.000Z
tests/integration/type_casting_test.py
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
1
2021-02-25T01:30:29.000Z
2021-11-09T11:13:14.000Z
tests/integration/type_casting_test.py
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
6
2020-07-15T12:33:13.000Z
2021-11-07T06:55:00.000Z
# Copyright (c) 2019 Graphcore Ltd. All rights reserved. import numpy as np import popart import pytest import test_util as tu import torch import onnx from onnx import helper, numpy_helper, version_converter from onnx import AttributeProto, TensorProto, GraphProto from onnx.backend.base import Backend from onnx import...
39.955584
122
0.633032
4,142
31,485
4.669242
0.078947
0.049328
0.050103
0.038159
0.826008
0.826008
0.824716
0.824716
0.813702
0.813702
0
0.023278
0.271399
31,485
787
123
40.006353
0.819791
0.241258
0
0.751073
0
0
0.147465
0.015558
0
0
0
0
0.141631
1
0.019313
false
0
0.021459
0
0.040773
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
fedc673ddbc0b9ca0dc8b385f8a4974260cbfd0b
5,003
py
Python
alfabeto.py
Graciella-Favoreto/Cinematica_em_Biomecanica
8d1373e1eb7368df89c03d74cb84a91434bcf73f
[ "MIT" ]
null
null
null
alfabeto.py
Graciella-Favoreto/Cinematica_em_Biomecanica
8d1373e1eb7368df89c03d74cb84a91434bcf73f
[ "MIT" ]
1
2022-01-10T12:52:13.000Z
2022-01-10T12:52:13.000Z
alfabeto.py
Graciella-Favoreto/Reconhecimento_Gestos_Alfabeto_Libras
8d1373e1eb7368df89c03d74cb84a91434bcf73f
[ "MIT" ]
null
null
null
A = ['polegar esticado vertical: afastado do indicador', 'indicador dobrado: proximo ao medio', 'medio dobrado: proximo ao anelar', 'anelar dobrado: proximo ao minimo', 'minimo dobrado: proximo ao anelar'] B = ['polegar dobrado: afastado do indicador', 'indicador esticado vertical: proximo ao medio', 'medio esticado v...
161.387097
248
0.758545
666
5,003
5.698198
0.121622
0.15415
0.177075
0.151515
0.886693
0.886693
0.883004
0.876943
0.854545
0.846113
0
0
0.145313
5,003
30
249
166.766667
0.887512
0.085149
0
0
0
0
0.872467
0
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
1
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
28bd8d978e8d0aadd7e9006c1b1a31f1d436b736
131
py
Python
tally_ho/libs/utils/time.py
crononauta/tally-ho
ba2207bfaef27bee3ff13a393983ca493f767238
[ "Apache-2.0" ]
12
2015-09-07T17:12:42.000Z
2021-12-29T07:51:18.000Z
tally_ho/libs/utils/time.py
crononauta/tally-ho
ba2207bfaef27bee3ff13a393983ca493f767238
[ "Apache-2.0" ]
122
2018-09-18T04:05:39.000Z
2022-01-17T10:12:48.000Z
tally_ho/libs/utils/time.py
crononauta/tally-ho
ba2207bfaef27bee3ff13a393983ca493f767238
[ "Apache-2.0" ]
13
2015-06-06T17:32:34.000Z
2020-09-10T12:58:07.000Z
from datetime import datetime from django.utils.timezone import utc def now(): return datetime.utcnow().replace(tzinfo=utc)
16.375
48
0.763359
18
131
5.555556
0.722222
0
0
0
0
0
0
0
0
0
0
0
0.145038
131
7
49
18.714286
0.892857
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
true
0
0.5
0.25
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
1
1
0
0
7
28f6c6fc40f909dbbed4aa094b333ab6bf088e3b
15,756
py
Python
midprice_profit_label/profit_evaluate/profit_evaluate_2010/overall_viz.py
anakinanakin/neural-network-on-finance-data
1842606294ca3d5dafa7387d6db95a1c21d323eb
[ "MIT" ]
1
2021-05-11T09:11:53.000Z
2021-05-11T09:11:53.000Z
midprice_profit_label/profit_evaluate/profit_evaluate_2010/overall_viz.py
anakinanakin/neural-network-on-finance-data
1842606294ca3d5dafa7387d6db95a1c21d323eb
[ "MIT" ]
null
null
null
midprice_profit_label/profit_evaluate/profit_evaluate_2010/overall_viz.py
anakinanakin/neural-network-on-finance-data
1842606294ca3d5dafa7387d6db95a1c21d323eb
[ "MIT" ]
1
2020-07-28T03:59:31.000Z
2020-07-28T03:59:31.000Z
import sys import numpy as np import pandas as pd import matplotlib.pyplot as plt from matplotlib.pyplot import figure from statistics import mean, median total_return = np.load('total_return.npy') trade_time = np.load('trade_time.npy') def sharpe_ratio(total_return, trade_time, data_type): for k in range(20): i...
26.086093
97
0.69161
2,666
15,756
3.88147
0.058515
0.073927
0.038268
0.034016
0.921144
0.910901
0.898241
0.895439
0.855818
0.835814
0
0.039652
0.130871
15,756
603
98
26.129353
0.716007
0.075273
0
0.815
0
0
0.0869
0.001447
0
0
0
0
0
1
0.0225
false
0
0.015
0
0.045
0.005
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
e909a177667ffa1fe4c626dfd2bc79cada75d434
72
py
Python
src/pyc/__main__.py
ahojukka5/pyc
9c75dd76073d70b155c77624edd32d87c7911276
[ "MIT" ]
2
2021-02-07T06:20:34.000Z
2021-02-07T06:22:54.000Z
src/pyc/__main__.py
ahojukka5/pyc
9c75dd76073d70b155c77624edd32d87c7911276
[ "MIT" ]
null
null
null
src/pyc/__main__.py
ahojukka5/pyc
9c75dd76073d70b155c77624edd32d87c7911276
[ "MIT" ]
null
null
null
import sys from .cli import compile_and_run sys.exit(compile_and_run())
18
32
0.819444
13
72
4.230769
0.615385
0.363636
0.472727
0
0
0
0
0
0
0
0
0
0.097222
72
3
33
24
0.846154
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
1
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
e925c2dcf746121cf0e780e2c04c07f305b5b8a9
5,428
py
Python
calib/corner_kernels.py
Algomorph/cvcalib
4ed638ea523b6d1059556a135576c7afa3a4b07f
[ "Apache-2.0" ]
28
2016-07-15T09:03:57.000Z
2022-02-07T11:13:26.000Z
calib/corner_kernels.py
Algomorph/calib_video_opencv
4ed638ea523b6d1059556a135576c7afa3a4b07f
[ "Apache-2.0" ]
58
2018-12-19T16:57:38.000Z
2019-06-06T19:52:36.000Z
calib/corner_kernels.py
Algomorph/calib_video_opencv
4ed638ea523b6d1059556a135576c7afa3a4b07f
[ "Apache-2.0" ]
10
2016-12-31T00:07:12.000Z
2022-03-10T21:49:25.000Z
import numpy as np KERN_UL = np.array([[5, 11, 20, 29, 37, 0, 0, 0, 0, 0, 0], [11, 23, 40, 60, 77, 0, 0, 0, 0, 0, 0], [20, 40, 71, 106, 134, 0, 0, 0, 0, 0, 0], [29, 60, 106, 158, 201, 0, 0, 0, 0, 0, 0], [37, 77, 134, 201, 255, 0, 0, 0, 0, ...
53.215686
83
0.299005
1,059
5,428
1.508026
0.044381
0.894177
1.243582
1.527865
0.852849
0.852849
0.852849
0.852849
0.848466
0.848466
0
0.432736
0.475497
5,428
101
84
53.742574
0.128205
0
0
0.836957
0
0
0
0
0
0
0
0
0
1
0
false
0
0.01087
0
0.01087
0
0
0
1
null
1
1
1
1
1
1
1
1
1
0
1
0
0
0
0
0
1
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
13
3af1fa9551b876029cdf6e617e30544bc2c33838
7,850
py
Python
test/test_more_bisect.py
kkew3/more_bisect
7c9f0508bf2e617a0e761d1571fc3c0f7549927f
[ "MIT" ]
null
null
null
test/test_more_bisect.py
kkew3/more_bisect
7c9f0508bf2e617a0e761d1571fc3c0f7549927f
[ "MIT" ]
null
null
null
test/test_more_bisect.py
kkew3/more_bisect
7c9f0508bf2e617a0e761d1571fc3c0f7549927f
[ "MIT" ]
null
null
null
import pytest import more_bisect def test__validate_args(): a, lo, hi = more_bisect._validate_args([1, 2], None, None, None) assert lo == 0 assert hi == 2 assert a[0] == 1 and a[1] == 2 with pytest.raises(IndexError): _ = a[2] a, lo, hi = more_bisect._validate_args([('a', 1), ('a', 2...
32.983193
79
0.564586
1,561
7,850
2.653427
0.033953
0.197972
0.220183
0.024143
0.952921
0.915983
0.905843
0.860454
0.831
0.808064
0
0.110079
0.259363
7,850
237
80
33.122363
0.602339
0
0
0.656716
0
0
0.00051
0
0
0
0
0
0.442786
1
0.079602
false
0
0.00995
0.004975
0.094527
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
1
0
0
0
0
0
0
0
0
0
8
aaef5ba0e1d7c701e2f60dc486c01cbba6968c20
3,841
py
Python
setup.py
symblai/symbl-python-sdk
948fa0d52583d47eba091ed0fcc0ba1e28ec9bf3
[ "Apache-2.0" ]
4
2021-09-25T15:25:00.000Z
2022-01-11T14:05:56.000Z
setup.py
symblai/symbl-python-sdk
948fa0d52583d47eba091ed0fcc0ba1e28ec9bf3
[ "Apache-2.0" ]
1
2021-11-25T11:12:10.000Z
2021-11-25T11:12:10.000Z
setup.py
symblai/symbl-python-sdk
948fa0d52583d47eba091ed0fcc0ba1e28ec9bf3
[ "Apache-2.0" ]
3
2021-08-23T06:33:55.000Z
2022-01-11T14:05:59.000Z
# coding: utf-8 """ symbl.ai APIs <h1>Symbl's APIs for external consumers.</h1> <h2>Language Insights API</h2> Symbl's Language Insights API provides an interface for applications to perform the analysis on the raw text and get insights from it. The API automatically detects sentence boundaries and punctuates...
109.742857
1,669
0.764645
618
3,841
4.739482
0.297735
0.013657
0.020485
0.008194
0.751792
0.732673
0.724479
0.724479
0.691021
0.651417
0
0.01749
0.151523
3,841
34
1,670
112.970588
0.881252
0.447279
0
0
0
0.066667
0.858031
0.085564
0
0
0
0
0
1
0
true
0
0.133333
0
0.133333
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
1
1
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
8
c910964f9db2ff548dd894106ff595bde988ecc7
53
py
Python
psm/icecore/__init__.py
amoodie/PRYSM
99cf02145e3df0aad8b4d9103ab6c081d97bff1f
[ "MIT" ]
21
2015-07-20T21:37:14.000Z
2022-02-14T04:10:11.000Z
psm/icecore/__init__.py
amoodie/PRYSM
99cf02145e3df0aad8b4d9103ab6c081d97bff1f
[ "MIT" ]
8
2015-10-08T16:37:04.000Z
2019-01-04T21:02:09.000Z
psm/icecore/__init__.py
amoodie/PRYSM
99cf02145e3df0aad8b4d9103ab6c081d97bff1f
[ "MIT" ]
13
2015-01-30T10:05:14.000Z
2022-02-05T21:56:21.000Z
import psm.icecore.archive import psm.icecore.sensor
17.666667
26
0.849057
8
53
5.625
0.625
0.4
0.711111
0
0
0
0
0
0
0
0
0
0.075472
53
2
27
26.5
0.918367
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
c96e977bede9349c7995b84266ee94da1c3aff91
14,451
py
Python
regreg/paths/tests/test_lasso.py
vishalbelsare/regreg
d1b62cc43cdd83331f2b0817b0ae099d5ef97966
[ "BSD-2-Clause" ]
11
2016-02-25T01:53:03.000Z
2020-11-30T00:59:46.000Z
regreg/paths/tests/test_lasso.py
vishalbelsare/regreg
d1b62cc43cdd83331f2b0817b0ae099d5ef97966
[ "BSD-2-Clause" ]
21
2015-09-17T19:18:09.000Z
2021-04-28T06:15:02.000Z
regreg/paths/tests/test_lasso.py
vishalbelsare/regreg
d1b62cc43cdd83331f2b0817b0ae099d5ef97966
[ "BSD-2-Clause" ]
8
2016-03-24T00:03:03.000Z
2019-08-25T23:40:42.000Z
import numpy as np from .. import lasso, strong_rules, warm_start from ..basil import basil_inner_loop, basil from ...tests.decorators import set_seed_for_test @set_seed_for_test() def test_path(n=200,p=50): ''' run a basic path algorithm ''' X = np.random.standard_normal((n,p)) Y = np.random.sta...
37.244845
106
0.487786
1,618
14,451
4.203337
0.084672
0.098809
0.077636
0.106749
0.866196
0.847081
0.818556
0.797971
0.780768
0.749008
0
0.05072
0.399696
14,451
387
107
37.341085
0.733256
0.059373
0
0.821306
0
0
0.005899
0
0
0
0
0
0.024055
1
0.037801
false
0
0.013746
0
0.051546
0.006873
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
a3126e080521b27301510e90642fb2815a1b4efa
164,830
py
Python
HwTestReport.py
stingbo/selenium_python_test
9da8a6e01beb3dcfbbf3fee47dd747dc8b5e5966
[ "MIT" ]
26
2020-12-18T08:03:28.000Z
2022-01-27T02:11:51.000Z
HwTestReport.py
stingbo/selenium_python_test
9da8a6e01beb3dcfbbf3fee47dd747dc8b5e5966
[ "MIT" ]
1
2021-11-25T11:07:22.000Z
2022-01-19T10:39:13.000Z
HwTestReport.py
stingbo/selenium_python_test
9da8a6e01beb3dcfbbf3fee47dd747dc8b5e5966
[ "MIT" ]
7
2021-03-03T12:42:55.000Z
2021-08-05T09:14:19.000Z
#!/usr/bin/env python3 # coding=utf-8 __version__ = "0.1" import datetime import importlib import sys import unittest from xml.sax import saxutils # 支持 python2 and python3 python3 = (sys.version_info[0] > 2) if python3: import io as StringIO else: import StringIO importlib.reload(sys) sys.setdefaulten...
83.247475
51,622
0.803046
8,869
164,830
14.858947
0.186154
0.002368
0.001518
0.00258
0.971218
0.969883
0.968539
0.967811
0.966286
0.965755
0
0.078582
0.118789
164,830
1,979
51,623
83.28954
0.828709
0.031724
0
0.818458
0
0.043716
0.848661
0.691942
0
1
0
0.001011
0
1
0.021251
false
0.035823
0.004857
0.002429
0.067395
0.001214
0
0
1
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
0
0
0
0
1
0
0
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
12
a31af76d5a53cc3cbe59f9464455bbb3e93651e0
3,051
py
Python
polliwog/line/test_line_intersect.py
algrs/polliwog
faa6531e8e2f7d0b52e928d64a4c1914199c4023
[ "BSD-2-Clause" ]
null
null
null
polliwog/line/test_line_intersect.py
algrs/polliwog
faa6531e8e2f7d0b52e928d64a4c1914199c4023
[ "BSD-2-Clause" ]
null
null
null
polliwog/line/test_line_intersect.py
algrs/polliwog
faa6531e8e2f7d0b52e928d64a4c1914199c4023
[ "BSD-2-Clause" ]
null
null
null
import numpy as np from .line_intersect import line_intersect2, line_intersect3 def test_line_intersect2(): p0, q0 = np.array([[0.0, 3.0], [4.0, 11.0]]) p1, q1 = np.array([[-2.0, 8.0], [6.0, 4.0]]) np.testing.assert_array_equal(line_intersect2(p0, q0, p1, q1), [1.6, 6.2]) def test_line_intersect2_duplic...
36.759036
88
0.588332
633
3,051
2.696682
0.091627
0.042179
0.044523
0.068541
0.857059
0.777387
0.757469
0.739309
0.714118
0.663152
0
0.187925
0.180269
3,051
82
89
37.207317
0.494602
0.038676
0
0.25
0
0
0
0
0
0
0
0
0.230769
1
0.230769
true
0
0.038462
0
0.269231
0
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
1
1
0
0
0
0
0
0
9
a369d96a87f229db0991f69e07470e49b5275ed3
43,716
py
Python
obp/ope/estimators_slate.py
Tanvikapoor14/zr-obp
51eba00f0dda5c26c1fa6826f544c60de485da52
[ "Apache-2.0" ]
null
null
null
obp/ope/estimators_slate.py
Tanvikapoor14/zr-obp
51eba00f0dda5c26c1fa6826f544c60de485da52
[ "Apache-2.0" ]
null
null
null
obp/ope/estimators_slate.py
Tanvikapoor14/zr-obp
51eba00f0dda5c26c1fa6826f544c60de485da52
[ "Apache-2.0" ]
null
null
null
# Copyright (c) Yuta Saito, Yusuke Narita, and ZOZO Technologies, Inc. All rights reserved. # Licensed under the Apache 2.0 License. """Off-Policy Estimators for Slate/Ranking Policies.""" from abc import ABCMeta from abc import abstractmethod from dataclasses import dataclass from typing import Dict from typing impor...
39.24237
239
0.650082
5,257
43,716
5.207723
0.067339
0.060197
0.030317
0.042444
0.886218
0.867772
0.859773
0.847354
0.839391
0.835227
0
0.006902
0.260934
43,716
1,113
240
39.277628
0.840447
0.568785
0
0.793349
0
0
0.003511
0
0
0
0
0
0
1
0.042755
false
0
0.028504
0
0.154394
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
6e678d1ca600ccf2b1b89f797f78a8fba0778072
1,246
py
Python
Server/core/pnetserver.py
PNet-Communications/PNet
3274ba511e09dea0a05c63999a1c0da9bc081303
[ "Apache-2.0" ]
null
null
null
Server/core/pnetserver.py
PNet-Communications/PNet
3274ba511e09dea0a05c63999a1c0da9bc081303
[ "Apache-2.0" ]
null
null
null
Server/core/pnetserver.py
PNet-Communications/PNet
3274ba511e09dea0a05c63999a1c0da9bc081303
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python import socket from pathlib import Path import keyboard from getpass import getpass pwd = Path("key.txt") if pwd.is_file(): s = socket.socket() hostip = socket.gethostbyname(socket.gethostname()) host = socket.gethostname() port = 9090 s.bind((host,port)) ...
25.958333
60
0.583467
141
1,246
5.134752
0.397163
0.093923
0.035912
0.052486
0.718232
0.718232
0.718232
0.718232
0.718232
0.718232
0
0.011338
0.292135
1,246
48
61
25.958333
0.809524
0.012841
0
0.702703
0
0
0.172358
0
0
0
0
0
0
1
0
false
0.081081
0.108108
0
0.108108
0.162162
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
7
6e680e3238315926616c50adf544fb1e816b70d8
1,435
py
Python
temporalio/bridge/proto/bridge/__init__.py
cretz/temporal-sdk-python
431ca1967d365556a9cf5aa9aac00243b71059f8
[ "MIT" ]
55
2022-01-31T22:02:22.000Z
2022-03-30T11:17:21.000Z
temporalio/bridge/proto/bridge/__init__.py
cretz/temporal-sdk-python
431ca1967d365556a9cf5aa9aac00243b71059f8
[ "MIT" ]
7
2022-02-04T14:08:46.000Z
2022-03-22T13:27:30.000Z
temporalio/bridge/proto/bridge/__init__.py
cretz/temporal-sdk-python
431ca1967d365556a9cf5aa9aac00243b71059f8
[ "MIT" ]
4
2022-01-31T17:31:49.000Z
2022-03-29T01:04:46.000Z
from .bridge_pb2 import ( CompleteActivityTaskRequest, CompleteActivityTaskResponse, CompleteWorkflowActivationRequest, CompleteWorkflowActivationResponse, CreateClientRequest, CreateWorkerRequest, FetchBufferedLogsRequest, FetchBufferedLogsResponse, InitResponse, InitTelemetryRe...
28.7
41
0.774216
49
1,435
22.571429
0.55102
0.099458
0.159132
0.220615
0.980109
0.980109
0.980109
0.980109
0.980109
0.980109
0
0.00083
0.160279
1,435
49
42
29.285714
0.917012
0
0
0
0
0
0.3777
0.323345
0
0
0
0
0
1
0
false
0
0.020833
0
0.020833
0
0
0
1
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
8
6e6bd2c417ec8bbe4c80b362190d353d960fffc9
12,139
py
Python
tests/unit/html_elements_test_io/html_elements_6_functions_io.py
MickyHCorbett/MorfLess
9761197d7767c250cc27262e1ab41adf21c59333
[ "MIT" ]
null
null
null
tests/unit/html_elements_test_io/html_elements_6_functions_io.py
MickyHCorbett/MorfLess
9761197d7767c250cc27262e1ab41adf21c59333
[ "MIT" ]
null
null
null
tests/unit/html_elements_test_io/html_elements_6_functions_io.py
MickyHCorbett/MorfLess
9761197d7767c250cc27262e1ab41adf21c59333
[ "MIT" ]
null
null
null
# import libraries.constants as ct import libraries.globals as gb import libraries.schematics as sch from collections import OrderedDict # test_values_1 = [\ { 'remark': 'Test Case 1:pcom_insert_quote_box_command - HEADER placement, empty syntax', 'syntax': '', 'custom_class': '', 'placement': ct.PCOM_...
24.424547
182
0.60285
1,447
12,139
4.893573
0.083621
0.054371
0.049428
0.070612
0.933625
0.891823
0.85454
0.82912
0.793956
0.760768
0
0.004377
0.228355
12,139
496
183
24.47379
0.751575
0
0
0.762667
0
0.021333
0.648266
0.092115
0
0
0
0
0.066667
1
0
false
0
0.010667
0
0.010667
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
42b553d0ee2c231e4a6c9d5f4d6eb496c202a390
214
py
Python
tiny_router/__init__.py
nekonoshiri/tiny-router
3bb808bcc9f9eb368ee390179dfc5e9d48cf8600
[ "MIT" ]
null
null
null
tiny_router/__init__.py
nekonoshiri/tiny-router
3bb808bcc9f9eb368ee390179dfc5e9d48cf8600
[ "MIT" ]
null
null
null
tiny_router/__init__.py
nekonoshiri/tiny-router
3bb808bcc9f9eb368ee390179dfc5e9d48cf8600
[ "MIT" ]
null
null
null
from .exceptions import MethodNotAllowed as MethodNotAllowed from .exceptions import ResourceNotFound as ResourceNotFound from .exceptions import RouteNotFound as RouteNotFound from .router import Router as Router
42.8
60
0.869159
24
214
7.75
0.333333
0.225806
0.322581
0
0
0
0
0
0
0
0
0
0.11215
214
4
61
53.5
0.978947
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
42b86bec71cb812a2c306eea76367497f61de011
10,015
py
Python
django/electric_power_sale/migrations/0006_auto_20220309_0900.py
zcjwin/hasura-django-auth
fd052bb05f051ee7fdaecf9433d5f6d7db580ca9
[ "MIT" ]
null
null
null
django/electric_power_sale/migrations/0006_auto_20220309_0900.py
zcjwin/hasura-django-auth
fd052bb05f051ee7fdaecf9433d5f6d7db580ca9
[ "MIT" ]
1
2022-03-21T03:04:31.000Z
2022-03-21T03:04:31.000Z
django/electric_power_sale/migrations/0006_auto_20220309_0900.py
zcjwin/hasura-django-auth
fd052bb05f051ee7fdaecf9433d5f6d7db580ca9
[ "MIT" ]
null
null
null
# Generated by Django 3.2.12 on 2022-03-09 09:00 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import electric_power_sale.models class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL),...
72.572464
199
0.656615
1,181
10,015
5.316681
0.121931
0.115624
0.111483
0.138239
0.839943
0.836439
0.820513
0.806816
0.806816
0.797579
0
0.022319
0.199201
10,015
137
200
73.10219
0.760599
0.004593
0
0.648855
1
0
0.155012
0.021571
0
0
0
0
0
1
0
false
0
0.030534
0
0.053435
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
42dcb5755e55744e0fa7d78c77a8e24f869943e8
104
py
Python
crawler/crawler/services/config/__init__.py
amosproj/amos-ss2020-metadata-hub
f8434b27b306332c117a8dd20a8a55a3104d0f89
[ "MIT" ]
9
2020-04-23T14:22:48.000Z
2022-02-25T21:35:05.000Z
crawler/crawler/services/config/__init__.py
amosproj/amos-ss2020-metadata-hub
f8434b27b306332c117a8dd20a8a55a3104d0f89
[ "MIT" ]
42
2020-04-24T17:59:33.000Z
2022-02-16T01:09:23.000Z
crawler/crawler/services/config/__init__.py
amosproj/amos-ss2020-metadata-hub
f8434b27b306332c117a8dd20a8a55a3104d0f89
[ "MIT" ]
2
2020-08-17T11:19:44.000Z
2021-04-30T08:32:05.000Z
from .typedef import Config from .parser import ConfigParser from .parser import ConfigParsingException
26
42
0.855769
12
104
7.416667
0.583333
0.224719
0.359551
0
0
0
0
0
0
0
0
0
0.115385
104
3
43
34.666667
0.967391
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
42f116c1a97ae3aa32e40cfcb80b11e23697abb4
13,917
py
Python
models/blocks.py
salmank255/ROADSlowFast
e939d8f79fe3eb6f3dd32e967a34530d00f45c8e
[ "Apache-2.0" ]
null
null
null
models/blocks.py
salmank255/ROADSlowFast
e939d8f79fe3eb6f3dd32e967a34530d00f45c8e
[ "Apache-2.0" ]
null
null
null
models/blocks.py
salmank255/ROADSlowFast
e939d8f79fe3eb6f3dd32e967a34530d00f45c8e
[ "Apache-2.0" ]
null
null
null
import torch.nn as nn import torch class RCU(nn.Module): def __init__(self, planes, kernel_size=1, stride=1, bias=False): super(RCU, self).__init__() # Module for recurrent part self.conv_whh = nn.Conv3d( planes, planes, kernel_size=kernel_size, stride=stride, bias=bias) de...
33.615942
115
0.556873
1,815
13,917
4.131129
0.057851
0.059749
0.060016
0.03921
0.856095
0.825687
0.82382
0.804348
0.745799
0.721392
0
0.03668
0.322196
13,917
413
116
33.697337
0.758189
0.03176
0
0.700617
0
0
0.002823
0
0
0
0
0
0
1
0.055556
false
0
0.006173
0
0.135802
0.006173
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
6e4abd7743e424c5e80cf44c349878bc63ec184f
119
py
Python
Python practice/Mit opencourceware(2.7)/first.py
chiranjeevbitp/Python27new
d366efee57857402bae16cabf1df94c657490750
[ "bzip2-1.0.6" ]
null
null
null
Python practice/Mit opencourceware(2.7)/first.py
chiranjeevbitp/Python27new
d366efee57857402bae16cabf1df94c657490750
[ "bzip2-1.0.6" ]
null
null
null
Python practice/Mit opencourceware(2.7)/first.py
chiranjeevbitp/Python27new
d366efee57857402bae16cabf1df94c657490750
[ "bzip2-1.0.6" ]
null
null
null
y= raw_input('enter a nuber: ') print type(y) print y y =float(raw_input('enter a nuber: ')) print type(y) print y
19.833333
39
0.663866
23
119
3.347826
0.391304
0.207792
0.337662
0.363636
0.909091
0.909091
0.909091
0.909091
0.909091
0.909091
0
0
0.184874
119
6
40
19.833333
0.793814
0
0
0.666667
0
0
0.26087
0
0
0
0
0
0
0
null
null
0
0
null
null
0.666667
1
0
0
null
1
1
1
1
1
1
1
1
1
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
13
281123b336b60f59823e227e281fa1cdbffc3b7f
1,813
py
Python
backend/benefit/applications/migrations/0016_benefit_amount.py
jannetasa/yjdh
5d86a56c722dfbcee03110f66c7e7ddbea966db9
[ "MIT" ]
2
2021-05-10T09:28:35.000Z
2021-05-17T12:15:34.000Z
backend/benefit/applications/migrations/0016_benefit_amount.py
jannetasa/yjdh
5d86a56c722dfbcee03110f66c7e7ddbea966db9
[ "MIT" ]
931
2021-05-21T15:24:35.000Z
2022-03-31T20:07:40.000Z
backend/benefit/applications/migrations/0016_benefit_amount.py
jannetasa/yjdh
5d86a56c722dfbcee03110f66c7e7ddbea966db9
[ "MIT" ]
6
2021-07-06T11:07:02.000Z
2022-02-07T12:42:21.000Z
# Generated by Django 3.2.4 on 2021-08-24 06:41 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("applications", "0015_application_batch_api"), ] operations = [ migrations.AddField( model_name="application", name="...
31.258621
97
0.530061
163
1,813
5.730061
0.319018
0.077088
0.098501
0.115632
0.830835
0.830835
0.704497
0.704497
0.704497
0.704497
0
0.024434
0.390513
1,813
57
98
31.807018
0.820814
0.024821
0
0.862745
1
0
0.245753
0.0906
0
0
0
0
0
1
0
false
0
0.019608
0
0.078431
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
28152a5fdc8a3b60562186083ccfc2b96e0d5890
241
py
Python
scripts/item/consume_2436741.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
54
2019-04-16T23:24:48.000Z
2021-12-18T11:41:50.000Z
scripts/item/consume_2436741.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
3
2019-05-19T15:19:41.000Z
2020-04-27T16:29:16.000Z
scripts/item/consume_2436741.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
49
2020-11-25T23:29:16.000Z
2022-03-26T16:20:24.000Z
# Created by MechAviv # Chinese Text Damage Skin (30 Day) | (2436741) if sm.addDamageSkin(2436741): sm.chat("'Chinese Text Damage Skin (30 Day)' Damage Skin has been added to your account's damage skin collection.") sm.consumeItem()
48.2
120
0.726141
36
241
4.861111
0.638889
0.228571
0.194286
0.24
0.297143
0.297143
0
0
0
0
0
0.09
0.170124
241
5
121
48.2
0.785
0.26971
0
0
0
0.333333
0.603448
0
0
0
0
0
0
1
0
true
0
0
0
0
0
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
1
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
7
95467f48eee829b2cc2f0ddb435cc116a07d9b51
3,409
py
Python
api/tests/test_company_upload.py
matchd-ch/matchd-backend
84be4aab1b4708cae50a8988301b15df877c8db0
[ "Apache-2.0" ]
1
2022-03-03T09:55:57.000Z
2022-03-03T09:55:57.000Z
api/tests/test_company_upload.py
matchd-ch/matchd-backend
84be4aab1b4708cae50a8988301b15df877c8db0
[ "Apache-2.0" ]
7
2022-02-09T10:44:53.000Z
2022-03-28T03:29:43.000Z
api/tests/test_company_upload.py
matchd-ch/matchd-backend
84be4aab1b4708cae50a8988301b15df877c8db0
[ "Apache-2.0" ]
null
null
null
import pytest from django.contrib.auth.models import AnonymousUser from db.models import AttachmentKey @pytest.mark.django_db def test_upload_company_image(login, user_employee, upload, file_image_jpg, attachments_for_user): login(user_employee) data, errors = upload(user_employee, AttachmentKey.COMPANY_AVA...
35.884211
98
0.736286
457
3,409
5.258206
0.107221
0.104869
0.05618
0.093633
0.908448
0.877653
0.865169
0.841448
0.822722
0.799417
0
0.002505
0.180405
3,409
94
99
36.265957
0.857552
0
0
0.763889
0
0
0.043121
0
0
0
0
0
0.472222
1
0.083333
false
0
0.041667
0
0.125
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
1
0
0
0
0
0
0
0
0
0
8
959e5d8edc5f41df17eb1794debd929404789e8e
15,528
py
Python
tests/unittests/test_team.py
ZPascal/grafana_api_sdk
97c347790200e8e9a2aafd47e322297aa97b964c
[ "Apache-2.0" ]
2
2022-02-01T20:18:48.000Z
2022-02-02T01:22:14.000Z
tests/unittests/test_team.py
ZPascal/grafana_api_sdk
97c347790200e8e9a2aafd47e322297aa97b964c
[ "Apache-2.0" ]
5
2022-01-12T06:55:54.000Z
2022-03-26T13:35:50.000Z
tests/unittests/test_team.py
ZPascal/grafana_api_sdk
97c347790200e8e9a2aafd47e322297aa97b964c
[ "Apache-2.0" ]
null
null
null
from unittest import TestCase from unittest.mock import MagicMock, Mock, patch from src.grafana_api.model import APIModel, TeamObject from src.grafana_api.team import Team class TeamTestCase(TestCase): @patch("src.grafana_api.api.Api.call_the_api") def test_search_team(self, call_the_api_mock): model...
33.830065
85
0.642903
1,958
15,528
4.797753
0.036772
0.067064
0.095806
0.089419
0.967213
0.964765
0.964765
0.956249
0.956249
0.956249
0
0.003639
0.239052
15,528
458
86
33.90393
0.791385
0
0
0.666667
0
0
0.094024
0.069552
0
0
0
0
0.089286
1
0.089286
false
0.089286
0.011905
0
0.104167
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
251b9cbf15005781ce5a7a3824d7cf3c522c2e7b
98,693
py
Python
tests/EVM/test_EVMSIGNEXTEND.py
mroll/manticore
d731562f7761ed9437cce406b24c815303de370c
[ "Apache-2.0" ]
null
null
null
tests/EVM/test_EVMSIGNEXTEND.py
mroll/manticore
d731562f7761ed9437cce406b24c815303de370c
[ "Apache-2.0" ]
null
null
null
tests/EVM/test_EVMSIGNEXTEND.py
mroll/manticore
d731562f7761ed9437cce406b24c815303de370c
[ "Apache-2.0" ]
null
null
null
import struct import unittest import json from manticore.platforms import evm from manticore.core import state from manticore.core.smtlib import Operators, ConstraintSet import os class EVMTest_SIGNEXTEND(unittest.TestCase): _multiprocess_can_split_ = True maxDiff=None def _execute(self, new_vm): ...
42.779801
143
0.574235
8,049
98,693
6.88657
0.022363
0.044019
0.026303
0.058452
0.982537
0.982537
0.982537
0.982537
0.982537
0.982537
0
0.243578
0.349569
98,693
2,306
144
42.798352
0.619912
0.044319
0
0.893987
0
0
0.065147
0.025808
0
0
0.070543
0
0.128165
0
null
null
0
0.003692
null
null
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
1
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
9
255025d2ef4d9bfa9b734e532b8743f4da26379e
131
py
Python
app/component/topic/__init__.py
melphi/kafkaform
391c4c70b6aff9fd5ad703dcf4b6e863e92d53b6
[ "MIT" ]
null
null
null
app/component/topic/__init__.py
melphi/kafkaform
391c4c70b6aff9fd5ad703dcf4b6e863e92d53b6
[ "MIT" ]
null
null
null
app/component/topic/__init__.py
melphi/kafkaform
391c4c70b6aff9fd5ad703dcf4b6e863e92d53b6
[ "MIT" ]
null
null
null
from app.component.topic.parser import * from app.component.topic.resolver import * from app.component.topic.transitioner import *
32.75
46
0.816794
18
131
5.944444
0.444444
0.196262
0.448598
0.588785
0.504673
0
0
0
0
0
0
0
0.091603
131
3
47
43.666667
0.89916
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
255d6a66001eb4f8ec32511b7a33445aae76a23d
428
py
Python
src/SocialNetwork_API/arango_services/__init__.py
HoangNguyenHuy/SocialNetwork
495062d9b85cfdaa3df41002c2c4a88ab4b53446
[ "MIT" ]
null
null
null
src/SocialNetwork_API/arango_services/__init__.py
HoangNguyenHuy/SocialNetwork
495062d9b85cfdaa3df41002c2c4a88ab4b53446
[ "MIT" ]
null
null
null
src/SocialNetwork_API/arango_services/__init__.py
HoangNguyenHuy/SocialNetwork
495062d9b85cfdaa3df41002c2c4a88ab4b53446
[ "MIT" ]
null
null
null
from SocialNetwork_API.arango_services.base import ArangoBaseService from SocialNetwork_API.arango_services.user import ArangoUserService from SocialNetwork_API.arango_services.data import ArangoDataService from SocialNetwork_API.arango_services.post import ArangoPostService from SocialNetwork_API.arango_services.comme...
61.142857
76
0.915888
48
428
7.916667
0.375
0.268421
0.315789
0.410526
0.536842
0
0
0
0
0
0
0
0.056075
428
6
77
71.333333
0.940594
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
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
c29abc49da3942a3aff816611782e8048de3110b
37,967
py
Python
pyboto3/applicationautoscaling.py
thecraftman/pyboto3
653a0db2b00b06708334431da8f169d1f7c7734f
[ "MIT" ]
null
null
null
pyboto3/applicationautoscaling.py
thecraftman/pyboto3
653a0db2b00b06708334431da8f169d1f7c7734f
[ "MIT" ]
null
null
null
pyboto3/applicationautoscaling.py
thecraftman/pyboto3
653a0db2b00b06708334431da8f169d1f7c7734f
[ "MIT" ]
null
null
null
''' The MIT License (MIT) Copyright (c) 2016 WavyCloud Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, p...
61.435275
786
0.711644
4,784
37,967
5.637542
0.10138
0.022358
0.037968
0.025213
0.747608
0.728884
0.718873
0.715017
0.698702
0.688246
0
0.015381
0.231148
37,967
617
787
61.534846
0.908533
0.910949
0
0.5
0
0
0
0
0
0
0
0
0
1
0.5
false
0.5
0
0
0.5
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
7
c2ab8003f1b753b5e1411f66ffb6ad6ccf0e3554
167
py
Python
kolibri/core/__init__.py
rtibbles/kolibri
7efdf0497738c793f281013f9913f8ecc1a55f10
[ "MIT" ]
1
2021-11-09T11:30:12.000Z
2021-11-09T11:30:12.000Z
kolibri/core/__init__.py
rtibbles/kolibri
7efdf0497738c793f281013f9913f8ecc1a55f10
[ "MIT" ]
7
2016-06-23T16:01:02.000Z
2018-12-01T22:15:13.000Z
kolibri/core/__init__.py
aronasorman/kolibri
940672bc849cd0b26d7d84ee08a34f072c4f6cd6
[ "MIT" ]
1
2021-06-01T23:15:26.000Z
2021-06-01T23:15:26.000Z
"""TODO: Write something about this module (everything in the docstring enters the docs) """ from __future__ import print_function, unicode_literals, absolute_import
27.833333
72
0.808383
22
167
5.818182
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.125749
167
5
73
33.4
0.876712
0.508982
0
0
0
0
0
0
0
0
0
0.2
0
1
0
true
0
1
0
1
1
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
1
0
1
0
1
1
0
7
c2c24d3bdfe2dbff47146a874fac5e05d2815336
6,766
py
Python
logical/examples/examples_from_gate_to_serial_annealer/one_way_equal_dwave.py
malcolmregan/GateCircuit-to-AnnealerEmbedding
33a1a4ea2ebd707ade0677e0df468d5120a861db
[ "Apache-2.0" ]
null
null
null
logical/examples/examples_from_gate_to_serial_annealer/one_way_equal_dwave.py
malcolmregan/GateCircuit-to-AnnealerEmbedding
33a1a4ea2ebd707ade0677e0df468d5120a861db
[ "Apache-2.0" ]
null
null
null
logical/examples/examples_from_gate_to_serial_annealer/one_way_equal_dwave.py
malcolmregan/GateCircuit-to-AnnealerEmbedding
33a1a4ea2ebd707ade0677e0df468d5120a861db
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python3 import dimod ################################################################################ ## NOT - target: q0_0 ## ################################################################################ if 'q0_0' not in globals(): q0_0=0 bqm = dimod.BinaryQuadraticModel({'q0_0' : -4, 'outq0_0' : -...
38.443182
316
0.495123
976
6,766
3.202869
0.055328
0.071017
0.028151
0.049904
0.903391
0.871721
0.834293
0.791107
0.757198
0.728407
0
0.100522
0.150163
6,766
175
317
38.662857
0.44313
0.034732
0
0.732824
0
0
0.250139
0
0
0
0
0
0
1
0
false
0
0.007634
0
0.007634
0.343511
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
c2d7c15490cba5848ac44c0604efb2729042a2e1
633
py
Python
src/entities/projectiles/projectile_base.py
Oasixer/drive-and-survive
134ca725efed16fdd31df0bb76c520cd15d7b1ed
[ "MIT" ]
1
2019-02-24T23:37:34.000Z
2019-02-24T23:37:34.000Z
src/entities/projectiles/projectile_base.py
Oasixer/drive-and-survive
134ca725efed16fdd31df0bb76c520cd15d7b1ed
[ "MIT" ]
null
null
null
src/entities/projectiles/projectile_base.py
Oasixer/drive-and-survive
134ca725efed16fdd31df0bb76c520cd15d7b1ed
[ "MIT" ]
null
null
null
from entities.entity_base import Entity class Projectile(Entity): def __init__(self, position, velocity, sprite, movement="normal", duration=None): pass ''' class Bomb(Projectile): def __init__(self, position, velocity): sprite = None Projectile.__init__(position, velocity, sprite) ...
24.346154
85
0.679305
66
633
6.075758
0.318182
0.279302
0.38404
0.189526
0.703242
0.703242
0.620948
0.620948
0.620948
0.620948
0
0
0.219589
633
26
86
24.346154
0.811741
0
0
0
0
0
0.035294
0
0
0
0
0
0
1
0.25
false
0.25
0.25
0
0.75
0
0
0
0
null
1
1
1
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
8
6c5521b1ed1905de6d3de3673bb25d276dcb9ae4
124
py
Python
demo.py
WowCZ/strac
a55195a04ea4f1a4051fdcf11e83777b47ca83e1
[ "Apache-2.0" ]
null
null
null
demo.py
WowCZ/strac
a55195a04ea4f1a4051fdcf11e83777b47ca83e1
[ "Apache-2.0" ]
null
null
null
demo.py
WowCZ/strac
a55195a04ea4f1a4051fdcf11e83777b47ca83e1
[ "Apache-2.0" ]
null
null
null
import os os.system('sbatch -p cpu -n 1 -c 2 -o env1_parallel_log/LOG0 -e env1_parallel_log/ERR env1_parallel_log/run0.sh')
41.333333
113
0.774194
26
124
3.461538
0.730769
0.4
0.5
0
0
0
0
0
0
0
0
0.063636
0.112903
124
2
114
62
0.754545
0
0
0
0
0.5
0.806452
0.548387
0
0
0
0
0
1
0
true
0
0.5
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
1
1
1
null
0
0
0
0
0
0
1
0
1
0
0
0
0
9