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
56d40bef780542eb88743c09c1fa854747fa3696
37,011
py
Python
fcsgg/modeling/heads/multiscale_head.py
liuhengyue/fcsgg
826c6e194270461a66ca5d048cb67f1ccf7ef387
[ "MIT" ]
9
2022-01-17T03:27:46.000Z
2022-03-26T09:35:59.000Z
fcsgg/modeling/heads/multiscale_head.py
liuhengyue/fcsgg
826c6e194270461a66ca5d048cb67f1ccf7ef387
[ "MIT" ]
3
2022-01-26T03:28:18.000Z
2022-02-03T04:19:29.000Z
fcsgg/modeling/heads/multiscale_head.py
liuhengyue/fcsgg
826c6e194270461a66ca5d048cb67f1ccf7ef387
[ "MIT" ]
null
null
null
""" Core implementations of detection heads in multi-scale. """ __author__ = "Hengyue Liu" __copyright__ = "Copyright (c) 2021 Futurewei Inc." __credits__ = [""] __license__ = "MIT License" __version__ = "0.1" __maintainer__ = "Hengyue Liu" __email__ = "onehothenry@gmail.com" import logging import numpy as np from col...
44.753325
123
0.568101
4,122
37,011
4.854682
0.065987
0.027985
0.040927
0.045875
0.884264
0.879166
0.867573
0.860926
0.85428
0.849483
0
0.003653
0.341736
37,011
827
124
44.753325
0.817715
0.077274
0
0.84522
0
0
0.022243
0.000621
0
0
0
0
0.027314
1
0.047041
false
0
0.030349
0
0.124431
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
8592dc91d5619a73422841e401fd7c656cde7e1f
1,894
py
Python
JIT/migrations/0026_auto_20200621_0131.py
Archikins/jumpintotech
85549c5d8746bd68d028e7966480f4e9de066c8b
[ "MIT" ]
null
null
null
JIT/migrations/0026_auto_20200621_0131.py
Archikins/jumpintotech
85549c5d8746bd68d028e7966480f4e9de066c8b
[ "MIT" ]
3
2021-03-30T14:08:27.000Z
2021-06-04T23:48:08.000Z
JIT/migrations/0026_auto_20200621_0131.py
Archikins/jumpintotech
85549c5d8746bd68d028e7966480f4e9de066c8b
[ "MIT" ]
null
null
null
# Generated by Django 3.0.5 on 2020-06-21 01:31 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('JIT', '0025_auto_20200621_0124'), ] operations = [ migrations.AddField( model_name='tiponoticia', name='public', ...
32.101695
79
0.56811
175
1,894
6.068571
0.28
0.076271
0.127119
0.177966
0.757062
0.757062
0.757062
0.757062
0.757062
0.757062
0
0.02352
0.304118
1,894
58
80
32.655172
0.775417
0.023759
0
0.692308
1
0
0.134272
0.012453
0
0
0
0
0
1
0
false
0
0.019231
0
0.076923
0
0
0
0
null
0
0
1
0
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
a4309ad8575d1f0671bce9469eb6c05d965e7b49
6,455
py
Python
tests/sparkbot.py
wipro0/Sparkbot
95061e876d5a6e2fa2b18bc48c55228c6ff6b192
[ "Apache-2.0" ]
1
2020-02-23T14:55:56.000Z
2020-02-23T14:55:56.000Z
tests/sparkbot.py
wipro0/Sparkbot
95061e876d5a6e2fa2b18bc48c55228c6ff6b192
[ "Apache-2.0" ]
null
null
null
tests/sparkbot.py
wipro0/Sparkbot
95061e876d5a6e2fa2b18bc48c55228c6ff6b192
[ "Apache-2.0" ]
null
null
null
import unittest from ciscosparkbot import SparkBot import requests_mock from .spark_mock import MockSparkAPI class SparkBotTests(unittest.TestCase): @requests_mock.mock() def setUp(self, m): m.get('https://api.ciscospark.com/v1/webhooks', json=MockSparkAPI.list_webhooks()) m.pos...
39.845679
74
0.58172
738
6,455
4.892954
0.154472
0.072002
0.088618
0.099695
0.845195
0.838826
0.824425
0.824425
0.824425
0.799502
0
0.008435
0.302091
6,455
161
75
40.093168
0.793119
0.046321
0
0.776923
0
0
0.197872
0.076596
0
0
0
0
0.084615
1
0.092308
false
0.007692
0.030769
0
0.138462
0.030769
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
a4a6b49241cdbacedc137e80e687d480fe08897d
93,431
py
Python
Python Files/assessment.py
Rimshay/Auto-Math-Assessment-Designer
ea6ecb7246b0333bb36af0abae875a7d49815944
[ "MIT" ]
null
null
null
Python Files/assessment.py
Rimshay/Auto-Math-Assessment-Designer
ea6ecb7246b0333bb36af0abae875a7d49815944
[ "MIT" ]
null
null
null
Python Files/assessment.py
Rimshay/Auto-Math-Assessment-Designer
ea6ecb7246b0333bb36af0abae875a7d49815944
[ "MIT" ]
null
null
null
from PyQt5 import QtCore, QtGui, QtWidgets from PyQt5.QtGui import * import textract import source import csv import sqlite3 import shutil import os import webbrowser import platform import subprocess import numpy as np import pandas as pd from ualreadyexist import * class Ui_NewAssessment(object): ...
48.359731
195
0.475442
9,104
93,431
4.820299
0.04866
0.034637
0.012442
0.016407
0.840101
0.817701
0.774565
0.770463
0.762556
0.761234
0
0.031885
0.399803
93,431
1,931
196
48.384775
0.750682
0.022316
0
0.814354
0
0.024911
0.191002
0.017794
0
0
0
0
0
1
0.004745
false
0
0.008897
0
0.015421
0.072361
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
f1148f03a43edc5e6c16cf40f680a9c24e05ec19
141
py
Python
cfpq_data/grammars/readwrite/__init__.py
viabzalov/CFPQ_Data
67239c876897d04ba2f4ef88a75fd4a38a494efa
[ "Apache-2.0" ]
8
2020-03-30T17:47:31.000Z
2022-01-27T13:36:39.000Z
cfpq_data/grammars/readwrite/__init__.py
viabzalov/CFPQ_Data
67239c876897d04ba2f4ef88a75fd4a38a494efa
[ "Apache-2.0" ]
27
2019-10-21T09:31:08.000Z
2021-11-07T03:19:15.000Z
cfpq_data/grammars/readwrite/__init__.py
viabzalov/CFPQ_Data
67239c876897d04ba2f4ef88a75fd4a38a494efa
[ "Apache-2.0" ]
14
2019-10-18T12:49:47.000Z
2021-08-03T14:20:17.000Z
from cfpq_data.grammars.readwrite.cfg import * from cfpq_data.grammars.readwrite.cnf import * from cfpq_data.grammars.readwrite.rsm import *
35.25
46
0.829787
21
141
5.428571
0.428571
0.210526
0.315789
0.526316
0.868421
0.614035
0
0
0
0
0
0
0.085106
141
3
47
47
0.883721
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
1
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
9
f115b2964c42b393b769510c1dd8502827d68bde
64
py
Python
features/__main__.py
ririw/kaggle-bimbo-pymc3
fbf016751e2459b9fa6c8d058aad9c75fca57731
[ "MIT" ]
null
null
null
features/__main__.py
ririw/kaggle-bimbo-pymc3
fbf016751e2459b9fa6c8d058aad9c75fca57731
[ "MIT" ]
null
null
null
features/__main__.py
ririw/kaggle-bimbo-pymc3
fbf016751e2459b9fa6c8d058aad9c75fca57731
[ "MIT" ]
null
null
null
from features import make_train_batch print(make_train_batch())
21.333333
37
0.859375
10
64
5.1
0.7
0.352941
0.54902
0
0
0
0
0
0
0
0
0
0.078125
64
3
38
21.333333
0.864407
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
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
0
1
0
7
f1199784f7eb9fbe66e86d8f2fce81be0ae1045b
259
py
Python
tests/test_yara.py
BA7JCM/RATDecoders
d675ba1c06e6dd8365149c9ee8a8db1a6e5e508e
[ "MIT" ]
905
2015-01-16T23:56:49.000Z
2022-03-28T14:00:58.000Z
tests/test_yara.py
BA7JCM/RATDecoders
d675ba1c06e6dd8365149c9ee8a8db1a6e5e508e
[ "MIT" ]
38
2015-01-26T08:46:50.000Z
2021-05-23T03:24:44.000Z
tests/test_yara.py
BA7JCM/RATDecoders
d675ba1c06e6dd8365149c9ee8a8db1a6e5e508e
[ "MIT" ]
319
2015-01-09T21:18:26.000Z
2022-03-10T01:41:53.000Z
# Just a simple compile import yara def test_yara_pe(): yara.compile(source='import "pe" rule a { condition: false }') def test_yara_dotnet(): yara.compile(source='import "dotnet" rule a { condition: false }') def test_yara_compile(): pass
17.266667
70
0.687259
37
259
4.648649
0.405405
0.122093
0.19186
0.267442
0.348837
0.348837
0.348837
0
0
0
0
0
0.189189
259
14
71
18.5
0.819048
0.081081
0
0
0
0
0.353448
0
0
0
0
0
0
1
0.428571
true
0.142857
0.428571
0
0.857143
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
1
1
0
1
0
0
7
2d01b8faa65abcee85528f546719f85e843e20ba
6,553
py
Python
seaice/tools/plotter/test/test_monthly_extent.py
andypbarrett/nsidc-seaice
167a16309f7eaadd5c613b54a7df26eb1f48c2f3
[ "MIT" ]
2
2020-08-27T08:40:22.000Z
2021-04-14T15:42:09.000Z
seaice/tools/plotter/test/test_monthly_extent.py
andypbarrett/nsidc-seaice
167a16309f7eaadd5c613b54a7df26eb1f48c2f3
[ "MIT" ]
null
null
null
seaice/tools/plotter/test/test_monthly_extent.py
andypbarrett/nsidc-seaice
167a16309f7eaadd5c613b54a7df26eb1f48c2f3
[ "MIT" ]
null
null
null
import unittest import numpy as np import pandas as pd import seaice.tools.plotter.monthly_extent as plt class Test_MissingAnchorPoints(unittest.TestCase): def test_gets_indices_of_data_adjacent_to_missing_data(self): x = np.array([1979., 1980., 1981., 1982., 1983., 1984., 1985., 1986., ...
46.475177
88
0.447734
925
6,553
3.12
0.128649
0.033264
0.024948
0.024948
0.926888
0.926888
0.926888
0.926888
0.914414
0.898475
0
0.407146
0.372196
6,553
140
89
46.807143
0.294361
0
0
0.785714
0
0
0.006714
0
0
0
0
0
0.091837
1
0.061224
false
0
0.040816
0
0.112245
0
0
0
0
null
0
0
0
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
9
2d46e2b1310c147d85ecf41a0b56fa86f3a1ad4b
2,371
py
Python
pynes/tests/ppu_test.py
timgates42/pyNES
e385c7189eca44b9a9e0e781b28c8562e0647b0b
[ "BSD-3-Clause" ]
1,046
2015-02-10T02:23:58.000Z
2022-03-16T02:42:02.000Z
pynes/tests/ppu_test.py
mcanthony/pyNES
5f6078c02ae1fe9c6fecb4a8490f82f8c721cf3b
[ "BSD-3-Clause" ]
30
2015-02-11T15:21:10.000Z
2022-03-11T23:12:26.000Z
pynes/tests/ppu_test.py
mcanthony/pyNES
5f6078c02ae1fe9c6fecb4a8490f82f8c721cf3b
[ "BSD-3-Clause" ]
132
2015-05-28T14:55:04.000Z
2021-12-09T18:58:45.000Z
import unittest from pynes.game import PPU class PPUTest(unittest.TestCase): def setUp(self): self.ppu = PPU() def tearDown(self): self.ppu = None def test_ppu_toogle_nmi(self): self.assertEquals(0b00000000, self.ppu.ctrl) self.ppu.nmi_enable = True self.assertE...
37.046875
60
0.694644
295
2,371
5.433898
0.115254
0.179039
0.194635
0.224579
0.854648
0.73612
0.726138
0.701185
0.533999
0.444167
0
0.093617
0.207086
2,371
63
61
37.634921
0.759043
0
0
0.461538
0
0
0
0
0
0
0
0
0.519231
1
0.153846
false
0
0.038462
0
0.211538
0
0
0
0
null
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
7
740c0e19256f8cd55d090dbbde99684273871f1e
13,544
py
Python
Parameter_inference_real_data/python/transformation.py
CardiacModelling/model-reduction-manifold-boundaries
88ccb24d0ec9d0742a4a93e820fec7fee1a65b61
[ "BSD-3-Clause" ]
null
null
null
Parameter_inference_real_data/python/transformation.py
CardiacModelling/model-reduction-manifold-boundaries
88ccb24d0ec9d0742a4a93e820fec7fee1a65b61
[ "BSD-3-Clause" ]
null
null
null
Parameter_inference_real_data/python/transformation.py
CardiacModelling/model-reduction-manifold-boundaries
88ccb24d0ec9d0742a4a93e820fec7fee1a65b61
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 # # Parameter transformations # from __future__ import division, print_function import numpy as np class Transformation(object): """ Transforms from model to search space (and back). """ def transform(self, parameters, which_model, noise=False): """ Transform fr...
36.213904
76
0.464117
1,159
13,544
5.288179
0.062985
0.438571
0.161527
0.27998
0.885626
0.885626
0.851036
0.848752
0.839452
0.83162
0
0.040877
0.427422
13,544
373
77
36.310992
0.749452
0.033225
0
0.906344
0
0
0.01261
0
0
0
0
0
0
1
0.006042
false
0.006042
0.006042
0
0.021148
0.003021
0
0
0
null
1
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
741173391445414f94453d508de8e0ef6dabf6e9
57,723
py
Python
tonclient/test/test_tvm.py
move-ton/ton-client-py
a9393a0e03b5da9bf5369a44c6873a3e720af229
[ "Apache-2.0" ]
28
2020-10-29T06:57:32.000Z
2022-03-20T12:26:14.000Z
tonclient/test/test_tvm.py
move-ton/ton-client-py
a9393a0e03b5da9bf5369a44c6873a3e720af229
[ "Apache-2.0" ]
1
2021-03-30T18:18:17.000Z
2021-04-04T15:35:10.000Z
tonclient/test/test_tvm.py
move-ton/ton-client-py
a9393a0e03b5da9bf5369a44c6873a3e720af229
[ "Apache-2.0" ]
8
2020-10-28T20:11:52.000Z
2022-01-12T12:28:02.000Z
import base64 import json import os import unittest from tonclient.errors import TonException from tonclient.test.helpers import send_grams, SAMPLES_DIR, async_core_client,\ sync_core_client from tonclient.types import Abi, DeploySet, CallSet, Signer, StateInitSource, \ AccountForExecutor, ParamsOfEncodeMessag...
250.969565
31,933
0.901374
2,446
57,723
21.156173
0.479967
0.002725
0.011807
0.016348
0.101163
0.095868
0.078863
0.077607
0.072467
0.067114
0
0.210551
0.042427
57,723
229
31,934
252.065502
0.725658
0.006029
0
0.47027
0
0.016216
0.840598
0.833676
0
1
0.127898
0
0.075676
1
0.032432
false
0
0.037838
0
0.081081
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1
0
0
0
0
0
0
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
7
74402ec9f968c9a590c5f3447dff5cd2190351ac
180
py
Python
meerkat_auth/test/__init__.py
fjelltopp/meerkat_auth
590f8971ade096366635b5cc129fc6ed98119f14
[ "MIT" ]
null
null
null
meerkat_auth/test/__init__.py
fjelltopp/meerkat_auth
590f8971ade096366635b5cc129fc6ed98119f14
[ "MIT" ]
5
2020-10-05T13:04:19.000Z
2021-09-30T11:00:12.000Z
meerkat_auth/test/__init__.py
fjelltopp/meerkat_auth
590f8971ade096366635b5cc129fc6ed98119f14
[ "MIT" ]
null
null
null
# from meerkat_auth.test.test_role import * # from meerkat_auth.test.test_user import * # from meerkat_auth.test.test_api import * # from meerkat_auth.test.test_authorise import *
36
48
0.8
28
180
4.857143
0.321429
0.323529
0.441176
0.558824
0.808824
0.639706
0
0
0
0
0
0
0.111111
180
4
49
45
0.85
0.95
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
1
1
1
1
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
8
74590f21bcb6e2cc4f5d96557ce40c4523241c5b
84,299
py
Python
sdk/lusid/api/calendars_api.py
mneedham/lusid-sdk-python-preview
f4494009d1a2f3431d931c813cab679bdbd92c84
[ "MIT" ]
null
null
null
sdk/lusid/api/calendars_api.py
mneedham/lusid-sdk-python-preview
f4494009d1a2f3431d931c813cab679bdbd92c84
[ "MIT" ]
null
null
null
sdk/lusid/api/calendars_api.py
mneedham/lusid-sdk-python-preview
f4494009d1a2f3431d931c813cab679bdbd92c84
[ "MIT" ]
null
null
null
# coding: utf-8 """ LUSID API FINBOURNE Technology # noqa: E501 The version of the OpenAPI document: 0.11.3192 Contact: info@finbourne.com Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import re # noqa: F401 # python 2 and python 3 compatibility lib...
56.690652
553
0.629699
10,516
84,299
4.841385
0.030905
0.053111
0.087445
0.037398
0.978414
0.97368
0.968279
0.962877
0.955256
0.949933
0
0.020644
0.283432
84,299
1,486
554
56.728802
0.822187
0.391772
0
0.722656
1
0.083333
0.323011
0.065881
0
0
0
0
0
1
0.027344
false
0
0.00651
0
0.061198
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
745ab8eceda81d4f587ebf21c5db2d4abf2f342f
108
py
Python
ChromProcess/Loading/experiment_conditions/__init__.py
Will-Robin/ChromProcess
05f57a4344e58f844ff8a01a12cf9e47afe4fcc4
[ "BSD-3-Clause" ]
null
null
null
ChromProcess/Loading/experiment_conditions/__init__.py
Will-Robin/ChromProcess
05f57a4344e58f844ff8a01a12cf9e47afe4fcc4
[ "BSD-3-Clause" ]
1
2022-01-21T16:14:05.000Z
2022-01-21T16:14:05.000Z
ChromProcess/Loading/experiment_conditions/__init__.py
Will-Robin/ChromProcess
05f57a4344e58f844ff8a01a12cf9e47afe4fcc4
[ "BSD-3-Clause" ]
1
2022-01-18T16:17:05.000Z
2022-01-18T16:17:05.000Z
from .conditions_from_csv import conditions_from_csv from .conditions_from_toml import conditions_from_toml
36
54
0.907407
16
108
5.625
0.3125
0.622222
0.4
0
0
0
0
0
0
0
0
0
0.074074
108
2
55
54
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
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
77a4c8c7d77e149ca7fe1824a72b9b02b59a1ba2
248
py
Python
dcm_spec_tools/tests/test_utils.py
mrbean-bremen/dicom-validator
56a6b57346e61e578589143d2752c4fd3f562dfb
[ "MIT" ]
5
2016-12-09T03:30:33.000Z
2019-07-01T14:06:02.000Z
dcm_spec_tools/tests/test_utils.py
mrbean-bremen/dicom-validator
56a6b57346e61e578589143d2752c4fd3f562dfb
[ "MIT" ]
3
2018-04-23T07:16:16.000Z
2021-01-24T18:13:48.000Z
dcm_spec_tools/tests/test_utils.py
mrbean-bremen/dicom-validator
56a6b57346e61e578589143d2752c4fd3f562dfb
[ "MIT" ]
null
null
null
import os def fixture_path(): return os.path.join(os.path.dirname(__file__), 'fixtures') def spec_fixture_path(): return os.path.join(fixture_path(), 'docbook') def json_fixture_path(): return os.path.join(fixture_path(), 'json')
17.714286
62
0.705645
36
248
4.555556
0.361111
0.335366
0.310976
0.347561
0.628049
0.628049
0.463415
0.463415
0
0
0
0
0.141129
248
13
63
19.076923
0.769953
0
0
0
0
0
0.076613
0
0
0
0
0
0
1
0.428571
true
0
0.142857
0.428571
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
1
1
0
0
7
77d5e9a71a84b9acb2b370f502e835e0ed42cb1e
110
py
Python
rlschool/metamaze/envs/__init__.py
HaojieSHI98/RLSchool
23c21c8028c8398a94dd7ed7aeb2624dc72f1160
[ "Apache-2.0" ]
169
2019-07-15T02:23:54.000Z
2021-10-31T08:31:19.000Z
rlschool/metamaze/envs/__init__.py
HaojieSHI98/RLSchool
23c21c8028c8398a94dd7ed7aeb2624dc72f1160
[ "Apache-2.0" ]
23
2019-07-22T05:11:13.000Z
2021-11-01T04:53:39.000Z
rlschool/metamaze/envs/__init__.py
HaojieSHI98/RLSchool
23c21c8028c8398a94dd7ed7aeb2624dc72f1160
[ "Apache-2.0" ]
48
2019-07-15T02:21:42.000Z
2021-09-16T06:40:51.000Z
from rlschool.metamaze.envs.maze_env import MetaMaze3D from rlschool.metamaze.envs.maze_env import MetaMaze2D
36.666667
54
0.872727
16
110
5.875
0.5625
0.255319
0.425532
0.510638
0.787234
0.787234
0.787234
0
0
0
0
0.019608
0.072727
110
2
55
55
0.901961
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
1
1
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
10
77f492600a33570411c1e0d070d99a7237100357
5,546
py
Python
pyramid_scaffold/sample_data/__init__.py
austincmatteson/pyramid-stocks
662a90588db12cf30d59f43278a716fee63d5f74
[ "MIT" ]
null
null
null
pyramid_scaffold/sample_data/__init__.py
austincmatteson/pyramid-stocks
662a90588db12cf30d59f43278a716fee63d5f74
[ "MIT" ]
3
2019-12-26T16:42:54.000Z
2021-06-01T22:23:24.000Z
pyramid_scaffold/sample_data/__init__.py
austincmatteson/pyramid-stocks
662a90588db12cf30d59f43278a716fee63d5f74
[ "MIT" ]
null
null
null
MOCK_ENTRIES = [{ "symbol": "GE", "companyName": "General Electric Company", "exchange": "New York Stock Exchange", "industry": "Industrial Products", "website": "http://www.ge.com", "description": "General Electric Co is a digital industrial company. It operates" " in various se...
39.056338
74
0.62784
582
5,546
5.9811
0.103093
0.086182
0.074691
0.0948
0.989371
0.989371
0.989371
0.989371
0.989371
0.989371
0
0
0.231158
5,546
141
75
39.333333
0.81637
0
0
0.914894
0
0
0.721241
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
0
0
0
0
1
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
bb0ec314df060a714405a1b0859235dc8e53699d
13,733
py
Python
src/postprocess/display_output.py
CMFell/phd_cnn_code
cb343bc379f5b06241cead64089a41ae5a6fe167
[ "MIT" ]
null
null
null
src/postprocess/display_output.py
CMFell/phd_cnn_code
cb343bc379f5b06241cead64089a41ae5a6fe167
[ "MIT" ]
null
null
null
src/postprocess/display_output.py
CMFell/phd_cnn_code
cb343bc379f5b06241cead64089a41ae5a6fe167
[ "MIT" ]
null
null
null
import cv2 import os import numpy as np import pandas as pd from pathlib import Path from PIL import Image, ImageTk import tkinter as tk def display_single_image_results(image_in, image_filename, res_list): # Create a window window = tk.Tk() window.title(Path(image_filename).stem) # Get the imag...
37.936464
159
0.611156
1,739
13,733
4.72858
0.116159
0.057522
0.07479
0.043901
0.834245
0.8278
0.804937
0.785845
0.761158
0.751064
0
0.027144
0.278381
13,733
361
160
38.041551
0.802624
0.073545
0
0.740458
0
0.003817
0.055963
0
0
0
0
0
0
1
0.053435
false
0
0.026718
0
0.087786
0.022901
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
bb172cc3c25555f796a123d656f33c66b487cc0c
2,116
py
Python
data.py
essien1990/Flask-Mysqldb
e0917b90c45a0aaf922bfa672ddb479cb450a02d
[ "MIT" ]
null
null
null
data.py
essien1990/Flask-Mysqldb
e0917b90c45a0aaf922bfa672ddb479cb450a02d
[ "MIT" ]
6
2020-06-05T22:57:03.000Z
2021-06-10T18:48:39.000Z
data.py
essien1990/Flask-Mysqldb
e0917b90c45a0aaf922bfa672ddb479cb450a02d
[ "MIT" ]
1
2021-12-16T17:09:52.000Z
2021-12-16T17:09:52.000Z
def Articles(): articles = [ { 'id': 1, 'title': 'Article One', 'body': 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut...
62.235294
358
0.649338
269
2,116
5.092937
0.297398
0.035037
0.040876
0.055474
0.840876
0.840876
0.840876
0.840876
0.840876
0.840876
0
0.023514
0.276465
2,116
33
359
64.121212
0.871326
0
0
0.125
0
0.125
0.747164
0
0
0
0
0
0
1
0.03125
false
0
0
0
0.0625
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
bb43cc296228e5df371c4f71dc501d09ccadf778
8,204
py
Python
test/control/process/test_interactive.py
HansBug/pji
449d171cea0c03f4c302da886988f36f70e34ee6
[ "Apache-2.0" ]
null
null
null
test/control/process/test_interactive.py
HansBug/pji
449d171cea0c03f4c302da886988f36f70e34ee6
[ "Apache-2.0" ]
null
null
null
test/control/process/test_interactive.py
HansBug/pji
449d171cea0c03f4c302da886988f36f70e34ee6
[ "Apache-2.0" ]
null
null
null
import time from threading import Thread import pytest from pji.control import interactive_process, ResourceLimit, InteractiveProcess, RunResultStatus # noinspection DuplicatedCode @pytest.mark.unittest class TestControlProcessInteractive: def test_interactive_process_simple(self): _before_start = time....
31.79845
95
0.534252
901
8,204
4.567148
0.114317
0.038882
0.041069
0.050547
0.892831
0.881896
0.87582
0.859295
0.859295
0.859295
0
0.033256
0.365919
8,204
257
96
31.922179
0.757785
0.003291
0
0.852941
0
0
0.06104
0
0
0
0
0
0.294118
1
0.063725
false
0.004902
0.019608
0
0.088235
0.058824
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
7048e211710fc18b48264702ef5bd2f7b068e8f0
194
py
Python
route53/xml_generators/__init__.py
jccastillocano/python-route53
db182f99f2b6028b134bc45669ea0380d50fd75e
[ "MIT" ]
null
null
null
route53/xml_generators/__init__.py
jccastillocano/python-route53
db182f99f2b6028b134bc45669ea0380d50fd75e
[ "MIT" ]
null
null
null
route53/xml_generators/__init__.py
jccastillocano/python-route53
db182f99f2b6028b134bc45669ea0380d50fd75e
[ "MIT" ]
null
null
null
from .created_hosted_zone import create_hosted_zone_writer from .change_resource_record_set import change_resource_record_set_writer from .created_health_check import create_health_check_writer
48.5
73
0.92268
29
194
5.586207
0.448276
0.135802
0.246914
0.283951
0
0
0
0
0
0
0
0
0.061856
194
3
74
64.666667
0.89011
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
706a452a1ebb8b63be881c45c8cf98f73c6ee346
4,717
py
Python
web/dvdrental/database_views/models.py
osmanirosado/dvdrental-adminsite
15abe206620b36745abc17cd4af4d2499f6ada05
[ "MIT" ]
null
null
null
web/dvdrental/database_views/models.py
osmanirosado/dvdrental-adminsite
15abe206620b36745abc17cd4af4d2499f6ada05
[ "MIT" ]
4
2021-04-08T21:56:00.000Z
2022-02-10T13:22:49.000Z
web/dvdrental/database_views/models.py
osmanirosado/dvdrental-adminsite
15abe206620b36745abc17cd4af4d2499f6ada05
[ "MIT" ]
null
null
null
from django.db import models class ActorInfo(models.Model): actor_id = models.IntegerField(blank=True, primary_key=True) first_name = models.CharField(max_length=45, blank=True, null=True) last_name = models.CharField(max_length=45, blank=True, null=True) film_info = models.TextField(blank=True, null=...
43.275229
100
0.698537
631
4,717
5.090333
0.14897
0.117684
0.141656
0.185243
0.856787
0.846513
0.815068
0.815068
0.788294
0.787049
0
0.015835
0.196735
4,717
108
101
43.675926
0.831882
0.083528
0
0.597701
0
0
0.071677
0.011134
0
0
0
0
0
1
0
false
0
0.011494
0
0.655172
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
7088892f4f83b2fb78cfdaf95cd8a08c5a95cfd7
150
py
Python
cirq-rigetti/cirq_rigetti/_version_test.py
LLcat1217/Cirq
b88069f7b01457e592ad69d6b413642ef11a56b8
[ "Apache-2.0" ]
1
2022-02-05T22:17:39.000Z
2022-02-05T22:17:39.000Z
cirq-rigetti/cirq_rigetti/_version_test.py
LLcat1217/Cirq
b88069f7b01457e592ad69d6b413642ef11a56b8
[ "Apache-2.0" ]
4
2022-01-16T14:12:15.000Z
2022-02-24T03:58:46.000Z
cirq-rigetti/cirq_rigetti/_version_test.py
LLcat1217/Cirq
b88069f7b01457e592ad69d6b413642ef11a56b8
[ "Apache-2.0" ]
null
null
null
# pylint: disable=wrong-or-nonexistent-copyright-notice import cirq_rigetti def test_version(): assert cirq_rigetti.__version__ == "0.15.0.dev"
21.428571
55
0.766667
21
150
5.142857
0.809524
0.203704
0
0
0
0
0
0
0
0
0
0.030075
0.113333
150
6
56
25
0.781955
0.353333
0
0
0
0
0.105263
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
560bcb537c6377d6282c8fe641a6de59f4a53459
1,872
py
Python
api/applications/migrations/0022_auto_20200331_1107.py
django-doctor/lite-api
1ba278ba22ebcbb977dd7c31dd3701151cd036bf
[ "MIT" ]
3
2019-05-15T09:30:39.000Z
2020-04-22T16:14:23.000Z
api/applications/migrations/0022_auto_20200331_1107.py
django-doctor/lite-api
1ba278ba22ebcbb977dd7c31dd3701151cd036bf
[ "MIT" ]
85
2019-04-24T10:39:35.000Z
2022-03-21T14:52:12.000Z
api/applications/migrations/0022_auto_20200331_1107.py
django-doctor/lite-api
1ba278ba22ebcbb977dd7c31dd3701151cd036bf
[ "MIT" ]
1
2021-01-17T11:12:19.000Z
2021-01-17T11:12:19.000Z
# Generated by Django 2.2.11 on 2020-03-31 11:07 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("applications", "0021_baseapplication_agreed_to_foi"), ] operations = [ migrations.AddField( model_name="openapplication", ...
36
117
0.620726
186
1,872
6.053763
0.274194
0.127886
0.16341
0.191829
0.852575
0.852575
0.815275
0.815275
0.78508
0.741563
0
0.026316
0.269231
1,872
51
118
36.705882
0.796784
0.024573
0
0.777778
1
0
0.196272
0.072368
0
0
0
0
0
1
0
false
0
0.022222
0
0.088889
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
562d4f798cac352a3e606fbd981fa61a3716babb
54,159
py
Python
test/generic/relations.py
gitter-badger/text-fabric
ac614e490d0779a6ad89dbf30b697cd6e736bd57
[ "MIT" ]
10
2017-10-30T22:38:00.000Z
2018-12-12T06:10:10.000Z
test/generic/relations.py
gitter-badger/text-fabric
ac614e490d0779a6ad89dbf30b697cd6e736bd57
[ "MIT" ]
37
2017-10-19T12:06:54.000Z
2018-12-13T10:18:23.000Z
test/generic/relations.py
gitter-badger/text-fabric
ac614e490d0779a6ad89dbf30b697cd6e736bd57
[ "MIT" ]
3
2018-02-28T12:37:21.000Z
2018-06-23T08:32:54.000Z
import sys import unittest from tf.fabric import Fabric # LOAD THE TEST CORPUS TF = Fabric('tf') api = TF.load('sign name') F = api.F S = api.S # MAKE CUSTOM SETS OF NODES Sign = set(range(1, F.otype.maxSlot + 1)) Node = set(range(1, F.otype.maxNode + 1)) sets = dict(Sign=Sign, Node=Node) # RUN A QUERY, OPTIONA...
40.78238
78
0.408409
5,818
54,159
3.800275
0.046236
0.172185
0.040706
0.029172
0.860787
0.84844
0.828584
0.81194
0.80796
0.794663
0
0.02487
0.279104
54,159
1,327
79
40.813112
0.541429
0.019978
0
0.823529
0
0
0.299964
0.00932
0
0
0
0
0.007949
1
0.005564
false
0
0.002385
0.000795
0.010334
0.000795
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
3b0c7a71294aef32ac40abaaad9dd371ffc16a72
6,407
py
Python
loldib/getratings/models/NA/na_nasus/na_nasus_jng.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
loldib/getratings/models/NA/na_nasus/na_nasus_jng.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
loldib/getratings/models/NA/na_nasus/na_nasus_jng.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
from getratings.models.ratings import Ratings class NA_Nasus_Jng_Aatrox(Ratings): pass class NA_Nasus_Jng_Ahri(Ratings): pass class NA_Nasus_Jng_Akali(Ratings): pass class NA_Nasus_Jng_Alistar(Ratings): pass class NA_Nasus_Jng_Amumu(Ratings): pass class NA_Nasus_Jng_Anivia(Ratings): pass ...
15.364508
46
0.761667
972
6,407
4.59465
0.151235
0.216301
0.370802
0.463502
0.797582
0.797582
0
0
0
0
0
0
0.173404
6,407
416
47
15.401442
0.843278
0
0
0.498195
0
0
0
0
0
0
0
0
0
1
0
true
0.498195
0.00361
0
0.501805
0
0
0
0
null
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
1
0
0
7
3b153425778774d12a62ab944bd2d03a17bf5404
4,537
py
Python
users/tests/test_views.py
schiederme/peering-manager
2d29427fd4f2b91a5208f31e1a7ad69eaf82924c
[ "Apache-2.0" ]
173
2020-08-08T15:38:08.000Z
2022-03-21T11:35:25.000Z
users/tests/test_views.py
schiederme/peering-manager
2d29427fd4f2b91a5208f31e1a7ad69eaf82924c
[ "Apache-2.0" ]
247
2017-12-26T12:55:34.000Z
2020-08-08T11:57:35.000Z
users/tests/test_views.py
schiederme/peering-manager
2d29427fd4f2b91a5208f31e1a7ad69eaf82924c
[ "Apache-2.0" ]
63
2017-10-13T06:46:05.000Z
2020-08-08T00:41:57.000Z
from django.urls import reverse from users.models import Token from utils.tests import ViewTestCase class UserTestCase(ViewTestCase): def setUp(self): super().setUp() self.token = Token.objects.create(user=self.user) def test_login_view(self): response = self.client.get(reverse("logi...
40.150442
84
0.659687
543
4,537
5.399632
0.110497
0.094134
0.141201
0.158254
0.912688
0.912688
0.884038
0.840723
0.783765
0.736357
0
0.013629
0.223716
4,537
112
85
40.508929
0.818853
0.133348
0
0.742857
0
0
0.075486
0.010747
0
0
0
0
0.342857
1
0.128571
false
0.042857
0.042857
0
0.185714
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
3b964d9eb650471a48dda912d6ab71c61f3cdf3b
45
py
Python
test2a.py
alibumaye81/topsy_new
c31d951b61bd0b33108ce891a7cdacfefafd72e1
[ "Apache-2.0" ]
null
null
null
test2a.py
alibumaye81/topsy_new
c31d951b61bd0b33108ce891a7cdacfefafd72e1
[ "Apache-2.0" ]
null
null
null
test2a.py
alibumaye81/topsy_new
c31d951b61bd0b33108ce891a7cdacfefafd72e1
[ "Apache-2.0" ]
null
null
null
print('Hello') print('Hello') print('Topsy')
11.25
14
0.666667
6
45
5
0.5
0.666667
1
0
0
0
0
0
0
0
0
0
0.066667
45
3
15
15
0.714286
0
0
0.666667
0
0
0.333333
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
d90bcfc570ab26490024925691e3f48692b4bc4c
343
py
Python
main/calc.py
pennowtech/CITests
d756a5f4ef53fdea2aaf02052fd1ff9d793a05f0
[ "MIT" ]
null
null
null
main/calc.py
pennowtech/CITests
d756a5f4ef53fdea2aaf02052fd1ff9d793a05f0
[ "MIT" ]
1
2019-11-26T23:23:58.000Z
2019-11-26T23:26:51.000Z
main/calc.py
linkedtechs/CITests
d756a5f4ef53fdea2aaf02052fd1ff9d793a05f0
[ "MIT" ]
null
null
null
""" Calculator library containing basic math operations. """ class Calculator: def add(self, first_term, second_term): return first_term + second_term def subtract(self, first_term, second_term): return first_term - second_term def divide(self, first_term, second_term): return fi...
22.866667
52
0.708455
44
343
5.25
0.363636
0.233766
0.38961
0.493506
0.649351
0.649351
0.649351
0.649351
0.649351
0.649351
0
0
0.215743
343
14
53
24.5
0.858736
0.151604
0
0
0
0
0
0
0
0
0
0
0
1
0.428571
false
0
0
0.428571
1
0
0
0
0
null
1
1
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
7
d926d754c5cf7a35f05fba9862f32fecc7f04ccc
128
py
Python
python/testData/completion/heavyStarPropagation/lib/_pkg0/_pkg0_0/_pkg0_0_1/_pkg0_0_1_1/_pkg0_0_1_1_0/_mod0_0_1_1_0_0.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/completion/heavyStarPropagation/lib/_pkg0/_pkg0_0/_pkg0_0_1/_pkg0_0_1_1/_pkg0_0_1_1_0/_mod0_0_1_1_0_0.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/completion/heavyStarPropagation/lib/_pkg0/_pkg0_0/_pkg0_0_1/_pkg0_0_1_1/_pkg0_0_1_1_0/_mod0_0_1_1_0_0.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
name0_0_1_1_0_0_0 = None name0_0_1_1_0_0_1 = None name0_0_1_1_0_0_2 = None name0_0_1_1_0_0_3 = None name0_0_1_1_0_0_4 = None
14.222222
24
0.820313
40
128
1.875
0.175
0.16
0.466667
0.533333
0.88
0.88
0.746667
0
0
0
0
0.318182
0.140625
128
9
25
14.222222
0.363636
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
1
null
0
1
1
1
1
1
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
0
0
0
0
0
0
0
9
d96a3b0ffc12be282f8517c56713e621eeff5a55
127
py
Python
ENTRY_MODULE/ConditionalStatementsAdvanced/LAB/04_Personal_Titles.py
sleepychild/ProgramingBasicsPython
d96dc4662adc1c8329b731b9c9b7fa4ecf69ec16
[ "MIT" ]
null
null
null
ENTRY_MODULE/ConditionalStatementsAdvanced/LAB/04_Personal_Titles.py
sleepychild/ProgramingBasicsPython
d96dc4662adc1c8329b731b9c9b7fa4ecf69ec16
[ "MIT" ]
1
2022-01-15T10:33:56.000Z
2022-01-15T10:33:56.000Z
ENTRY_MODULE/ConditionalStatementsAdvanced/LAB/04_Personal_Titles.py
sleepychild/ProgramingBasicsPython
d96dc4662adc1c8329b731b9c9b7fa4ecf69ec16
[ "MIT" ]
null
null
null
if float(input()) < 16 : print('Master' if input() == 'm' else 'Miss') else: print('Mr.' if input() == 'm' else 'Ms.')
25.4
49
0.519685
19
127
3.473684
0.578947
0.212121
0.242424
0.363636
0
0
0
0
0
0
0
0.020202
0.220472
127
4
50
31.75
0.646465
0
0
0
0
0
0.141732
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
d96d94940183cd1edffed965a5f1a2ed0e43d1af
6,475
py
Python
loader/samplers.py
Max-luo-song/fs-map-project
4e9d86e182d9a4b969e86b12d72f227e4fd4fd09
[ "Apache-2.0" ]
1
2021-08-20T06:22:57.000Z
2021-08-20T06:22:57.000Z
loader/samplers.py
Max-luo-song/fs-map-project
4e9d86e182d9a4b969e86b12d72f227e4fd4fd09
[ "Apache-2.0" ]
null
null
null
loader/samplers.py
Max-luo-song/fs-map-project
4e9d86e182d9a4b969e86b12d72f227e4fd4fd09
[ "Apache-2.0" ]
4
2021-08-20T06:23:02.000Z
2022-01-06T12:09:07.000Z
import torch import numpy as np # For segmentation class CategoriesSampler: def __init__(self, all_labels, label_stat, n_batch, n_cls, n_per): self.n_batch = n_batch # the number of iterations in the dataloader self.n_cls = n_cls self.n_per = n_per # sanity check the number of i...
39.242424
112
0.567104
887
6,475
3.961669
0.114994
0.044109
0.031303
0.02988
0.833523
0.833523
0.833523
0.833523
0.823278
0.823278
0
0.005122
0.33668
6,475
164
113
39.481707
0.813038
0.27305
0
0.745455
0
0
0.003441
0
0
0
0
0
0.027273
1
0.081818
false
0
0.018182
0.027273
0.154545
0.009091
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
7944dceebbcb826ba9c50a7f7916bbeca6b14436
272
py
Python
examples/where.py
nahid/py-jsonq
badfde55ab369e8daf1dcb36dfe782d808afe6a3
[ "MIT" ]
null
null
null
examples/where.py
nahid/py-jsonq
badfde55ab369e8daf1dcb36dfe782d808afe6a3
[ "MIT" ]
null
null
null
examples/where.py
nahid/py-jsonq
badfde55ab369e8daf1dcb36dfe782d808afe6a3
[ "MIT" ]
1
2019-09-20T01:27:33.000Z
2019-09-20T01:27:33.000Z
from pyjsonq.query import JsonQ e1 = JsonQ("./data.json").at("users").where("id", ">", 3).where("location", "=", "Barisal").get() print("result", e1) e2 = JsonQ("./data.json").at("users").where("id", ">", 3).where("location", "=", "Barisal").get() print("result", e2)
27.2
97
0.584559
37
272
4.297297
0.513514
0.113208
0.163522
0.188679
0.779874
0.779874
0.779874
0.779874
0.779874
0.779874
0
0.02439
0.095588
272
9
98
30.222222
0.621951
0
0
0
0
0
0.301471
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.4
0
0
0
null
0
0
1
0
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
0
0
0
0
0
0
0
0
0
7
7985f756beb32b088b8c92bc85f429e3c0e29df6
4,603
py
Python
tests/test_audios.py
Desenho2018-1/tatics-framework
46a9ea99eeb46fdc5a048c41fa478cbfaeb1ee85
[ "MIT" ]
4
2018-06-08T00:49:54.000Z
2021-08-06T04:45:04.000Z
tests/test_audios.py
Desenho2018-1/tatics-framework
46a9ea99eeb46fdc5a048c41fa478cbfaeb1ee85
[ "MIT" ]
28
2018-05-29T11:32:53.000Z
2019-10-22T18:30:55.000Z
tests/test_audios.py
rodrigocam/simian
157a7424f28bd0656a4e400817b561ffc987ddd5
[ "MIT" ]
2
2018-06-30T02:46:22.000Z
2020-04-30T15:17:04.000Z
import unittest import pygame from simian.audio.audios import Sound, Music from simian.audio.audio_manager import AudioManager class SoundTest(unittest.TestCase): def setUp(self): self.audio_manager = AudioManager() def test_should_create_sound(self): try: sound = Sound('sound.wa...
28.067073
66
0.620899
522
4,603
5.214559
0.08046
0.167524
0.217487
0.110213
0.873622
0.837619
0.796106
0.739162
0.702057
0.702057
0
0.002732
0.28438
4,603
163
67
28.239264
0.823619
0
0
0.742188
0
0
0.046274
0
0
0
0
0
0.265625
1
0.15625
false
0
0.03125
0
0.203125
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
79ad4de72e064ac3201e520cb29162f873e95096
1,865
py
Python
tabular data/regression/Benchmarks/4. gpu performances/plotFunctions/PlotMSEDiscr.py
RemilYoucef/SPLITSD4X
e7625a4d649e7d61bebcf193d956c5d73ee5e08b
[ "MIT" ]
2
2021-02-10T08:29:19.000Z
2021-04-29T14:33:31.000Z
tabular data/regression/Benchmarks/5. temperature forecast/plotFunctions/PlotMSEDiscr.py
RemilYoucef/SPLITSD4X
e7625a4d649e7d61bebcf193d956c5d73ee5e08b
[ "MIT" ]
null
null
null
tabular data/regression/Benchmarks/5. temperature forecast/plotFunctions/PlotMSEDiscr.py
RemilYoucef/SPLITSD4X
e7625a4d649e7d61bebcf193d956c5d73ee5e08b
[ "MIT" ]
null
null
null
''' Created on Mar 28, 2020 @author: anesbendimerad ''' from plotFunctions.PlotCurves import plotOneCase def plotMSEDiscFreq(case,path): resultsPath="FIGURES/MSE_Disc_Freq"+case+".png" title=case #cpt=0 #dividor=1 nbObjects=float(1) keys=["Generation_1","Generation_2","Generation_3","Generat...
39.680851
196
0.597855
252
1,865
4.337302
0.293651
0.087832
0.10979
0.117109
0.874657
0.874657
0.814273
0.814273
0.814273
0.814273
0
0.040027
0.196247
1,865
47
197
39.680851
0.689126
0.041287
0
0.787879
0
0
0.221597
0.024184
0
0
0
0
0
1
0.060606
false
0
0.030303
0
0.090909
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
79da709041d4bf7c39a4dc10e2e9b0cb7e824953
32,712
py
Python
SwiftFunction.py
SongBS/SwiftManager
2fdb7fe8987139b9b050c77a5d711bcdae2d1a62
[ "Apache-2.0" ]
null
null
null
SwiftFunction.py
SongBS/SwiftManager
2fdb7fe8987139b9b050c77a5d711bcdae2d1a62
[ "Apache-2.0" ]
null
null
null
SwiftFunction.py
SongBS/SwiftManager
2fdb7fe8987139b9b050c77a5d711bcdae2d1a62
[ "Apache-2.0" ]
null
null
null
#-*-coding:cp949-*- ''' Created on 2013. 6. 24. @author: sbs@gabia.com ''' import wx import os import pycurl import cStringIO import DialogClass import json def progress(download_t, download_d, upload_t, upload_d): print "Total to download", download_t print "Total downloaded", download_d print "Total ...
43.212682
184
0.559367
3,377
32,712
5.387622
0.066331
0.109652
0.14153
0.040178
0.876003
0.85814
0.832472
0.813455
0.795702
0.774321
0
0.005322
0.299248
32,712
756
185
43.269841
0.788378
0.031517
0
0.775128
0
0.005111
0.140276
0.025125
0
0
0
0
0
0
null
null
0.003407
0.010221
null
null
0.008518
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
8
8dbecd9aff2be8395087262041a1354fff2ecb75
6,066
py
Python
test/test_authorization_code_validator.py
danirod/dummyauth
f21ddda21dd3eed202d36399419f6e77d3a438ae
[ "0BSD" ]
1
2020-04-05T23:54:56.000Z
2020-04-05T23:54:56.000Z
test/test_authorization_code_validator.py
danirod/dummyauth
f21ddda21dd3eed202d36399419f6e77d3a438ae
[ "0BSD" ]
1
2019-10-01T20:48:21.000Z
2019-10-01T20:48:50.000Z
test/test_authorization_code_validator.py
danirod/dummyauth
f21ddda21dd3eed202d36399419f6e77d3a438ae
[ "0BSD" ]
null
null
null
import httpretty import sure from dummyauth.spider import AuthorizationCodeValidator from unittest import TestCase class AuthorizationCodeValidatorTestCase(TestCase): @httpretty.httprettified def test_spider_handles_valid_requests(self): httpretty.register_uri(httpretty.POST, 'http://auth.example.com/...
48.919355
85
0.600725
566
6,066
6.25265
0.114841
0.115852
0.086465
0.101724
0.901385
0.899124
0.899124
0.791184
0.759537
0.759537
0
0.001997
0.257171
6,066
123
86
49.317073
0.7834
0
0
0.745614
0
0
0.333168
0.029014
0
0
0
0
0.017544
1
0.070175
false
0
0.035088
0
0.114035
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
5c04db2f5adc13767d9fcc40cddbd980f094782f
3,471
py
Python
test/automaton_generation/test_universal_automaton_generation.py
rominf/pyffs
6c805fbfd7771727138b169b32484b53c0b0fad1
[ "MIT" ]
21
2018-07-17T13:21:11.000Z
2022-03-07T03:00:37.000Z
test/automaton_generation/test_universal_automaton_generation.py
rominf/pyffs
6c805fbfd7771727138b169b32484b53c0b0fad1
[ "MIT" ]
10
2016-09-23T20:30:18.000Z
2021-03-07T12:56:56.000Z
test/automaton_generation/test_universal_automaton_generation.py
antoinewdg/pyffs
6ac2b6cac67422cbfd34ad0896d6faf35be9ccb9
[ "MIT" ]
3
2018-08-21T12:08:36.000Z
2020-11-12T19:32:54.000Z
from pyffs.core import State from pyffs.automaton_generation import generate_universal_automaton def test_generate_automaton_0(): expected = [ [State(-1, 0), State(-1, 0), State(0, 1)], ] automaton = generate_universal_automaton(0) assert automaton.matrix == expected assert automaton.bit...
34.71
67
0.570153
526
3,471
3.581749
0.053232
0.278662
0.216561
0.297771
0.900212
0.855096
0.816348
0.788747
0.780255
0.780255
0
0.066325
0.270239
3,471
99
68
35.060606
0.677458
0
0
0.791209
1
0
0
0
0
0
0
0
0.054945
1
0.021978
false
0
0.021978
0
0.043956
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
11
5c29b26d3c9dc46bad24f09a2178d64f46afa8cf
3,733
py
Python
meterpreter/windows_x86/scode.py
cobranail/redteam
a21091ac0aef289b61dd05771fff7296fb7c4e7e
[ "MIT" ]
null
null
null
meterpreter/windows_x86/scode.py
cobranail/redteam
a21091ac0aef289b61dd05771fff7296fb7c4e7e
[ "MIT" ]
null
null
null
meterpreter/windows_x86/scode.py
cobranail/redteam
a21091ac0aef289b61dd05771fff7296fb7c4e7e
[ "MIT" ]
null
null
null
import ctypes import sys from ctypes import * buf=b"\x48\x31\xc9\x48\x81\xe9\xb1\xff\xff\xff\x48\x8d\x05\xef\xff\xff\xff\x48\xbb\xf8\x3d\x59\x54\x46\x6d\x59\x99\x48\x31\x58\x27\x48\x2d\xf8\xff\xff\xff\xe2\xf4\x04\x75\xda\xb0\xb6\x85\x95\x99\xf8\x3d\x18\x05\x07\x3d\x0b\xc8\xae\x75\x68\x86\x23\x25\xd2\xcb\x98\x75\xd2\x0...
138.259259
2,691
0.728101
810
3,733
3.307407
0.304938
0.036581
0.037327
0.024636
0.048899
0.029115
0.028742
0.020903
0.020903
0
0
0.270394
0.060809
3,733
26
2,692
143.576923
0.493725
0.031878
0
0.15
0
0.05
0.748473
0.745142
0
1
0.006108
0
0
1
0
false
0
0.15
0
0.15
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1
1
0
0
0
0
0
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
7
5c345fd079741039dc11bf1c143ba53b127e47ea
185
py
Python
nero/core/neural_types/__init__.py
romesco/NeRo
9392b996c92038ed9d99f2a9f86bb1dc17282dd4
[ "Apache-2.0" ]
1
2021-02-27T07:41:29.000Z
2021-02-27T07:41:29.000Z
nero/core/neural_types/__init__.py
romesco/NeRo
9392b996c92038ed9d99f2a9f86bb1dc17282dd4
[ "Apache-2.0" ]
1
2021-01-07T02:49:00.000Z
2021-01-09T04:53:30.000Z
nero/core/neural_types/__init__.py
romesco/NeRo
9392b996c92038ed9d99f2a9f86bb1dc17282dd4
[ "Apache-2.0" ]
null
null
null
from nero.core.neural_types.axes import * from nero.core.neural_types.comparison import * from nero.core.neural_types.elements import * from nero.core.neural_types.neural_type import *
37
48
0.827027
29
185
5.103448
0.344828
0.216216
0.324324
0.486486
0.743243
0.587838
0
0
0
0
0
0
0.086486
185
4
49
46.25
0.87574
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
308443da79a8fd622bc9a189b12ce40a0da5a8a7
43,282
py
Python
etl_base/etl_base/dags/sqlg_dag_SCM.py
buckylee2019/sqlg-airflow
37610a23b99bea8d9fdc8b066a01736ff2ff0c9d
[ "Apache-2.0" ]
null
null
null
etl_base/etl_base/dags/sqlg_dag_SCM.py
buckylee2019/sqlg-airflow
37610a23b99bea8d9fdc8b066a01736ff2ff0c9d
[ "Apache-2.0" ]
null
null
null
etl_base/etl_base/dags/sqlg_dag_SCM.py
buckylee2019/sqlg-airflow
37610a23b99bea8d9fdc8b066a01736ff2ff0c9d
[ "Apache-2.0" ]
1
2022-03-10T03:47:35.000Z
2022-03-10T03:47:35.000Z
# -*- coding: utf-8 -*- # Author : Jesse Wei # LastUpdate : 2020/10/04 # Impact : Jobs generated by SQLG # Message : Humanity towards others, we live by sharing. Fear can hold you prisoner, only hope can set you free. # from __future__ import print_function import logging import re import airfl...
35.681781
125
0.760293
6,602
43,282
4.403817
0.035747
0.022013
0.037456
0.045401
0.934374
0.929146
0.922027
0.915801
0.901734
0.867373
0
0.00656
0.13717
43,282
1,212
126
35.711221
0.771964
0.134952
0
0.602564
1
0
0.201361
0.147786
0
0
0
0
0
1
0.016317
false
0
0.017483
0
0.08042
0.001166
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
30bb60d30f58a95f80eba5ef5f41b73258fcd004
1,363
py
Python
src/api/config/config.py
nguyenhuunghi/author-manager
91d39c3fbbc63b2290c7c7138a18bee0258348f8
[ "MIT" ]
null
null
null
src/api/config/config.py
nguyenhuunghi/author-manager
91d39c3fbbc63b2290c7c7138a18bee0258348f8
[ "MIT" ]
null
null
null
src/api/config/config.py
nguyenhuunghi/author-manager
91d39c3fbbc63b2290c7c7138a18bee0258348f8
[ "MIT" ]
null
null
null
class Config(object): DEBUG = False TESTING = False SQLALCHEMY_TRACK_MODIFICATIONS = False class Production(Config): SQLALCHEMY_DATABASE_URI = '<Production DB URL>' class Development(Config): # psql postgresql://Nghi:nghi1996@localhost/postgres DEBUG = True SQLALCHEMY_DATABASE_URI = 'pos...
30.977273
84
0.730007
169
1,363
5.526627
0.295858
0.057816
0.042827
0.099572
0.797645
0.755889
0.755889
0.755889
0.755889
0.618844
0
0.053812
0.181952
1,363
43
85
31.697674
0.783857
0.094644
0
0.685714
0
0
0.284322
0.164907
0
0
0
0
0
1
0
false
0.114286
0
0
1
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
7
30c431499dc4bcd6bf5914680a8fce4d549de942
11,016
py
Python
architecture.py
tranic/histopathology_cancer_detection
6e9916cd73ebf8a5a1dfefe6f6c203a8e760c2db
[ "MIT" ]
4
2020-08-14T14:48:27.000Z
2021-06-15T17:01:34.000Z
architecture.py
tranic/dl_histopathology_cancer_detection
771932bfd4a0db2af733fe25953af324bc83771b
[ "MIT" ]
3
2020-07-21T19:24:45.000Z
2020-07-24T12:09:14.000Z
architecture.py
tranic/histopathology_cancer_detection
6e9916cd73ebf8a5a1dfefe6f6c203a8e760c2db
[ "MIT" ]
null
null
null
from torch import nn from torchvision import models import torch """ This file contains all CNN architectures as classes (non-pretrained and pretrained) inheriting from torch.nn.Module. """ class LeNet(nn.Module): def __init__(self): super(LeNet, self).__init__() self.ReLu = nn.ReLU(inplace=True...
29.853659
116
0.575345
1,411
11,016
4.35365
0.100638
0.014
0.03093
0.043301
0.838515
0.819795
0.762006
0.729123
0.708937
0.708937
0
0.057222
0.31309
11,016
368
117
29.934783
0.754592
0.071169
0
0.713115
0
0
0.00109
0
0
0
0
0
0
1
0.090164
false
0
0.012295
0
0.192623
0.004098
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
30c7911e775648584828421609b2ac504a7492e3
41
py
Python
decorators/__init__.py
jlorieau/useful_python
324fc2f5e93fa4aefeb420dbe7303c242818ccba
[ "MIT" ]
null
null
null
decorators/__init__.py
jlorieau/useful_python
324fc2f5e93fa4aefeb420dbe7303c242818ccba
[ "MIT" ]
null
null
null
decorators/__init__.py
jlorieau/useful_python
324fc2f5e93fa4aefeb420dbe7303c242818ccba
[ "MIT" ]
null
null
null
from .weakref_props import weakref_props
20.5
40
0.878049
6
41
5.666667
0.666667
0.705882
0
0
0
0
0
0
0
0
0
0
0.097561
41
1
41
41
0.918919
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
30dd6de53706cad98b28e14d85d90f506b5fc13c
16,490
py
Python
extra/game-mdungeon.py
dpteam/twitch-plays
82becef76d7a8254bfde959946640457f4342fb3
[ "MIT" ]
null
null
null
extra/game-mdungeon.py
dpteam/twitch-plays
82becef76d7a8254bfde959946640457f4342fb3
[ "MIT" ]
null
null
null
extra/game-mdungeon.py
dpteam/twitch-plays
82becef76d7a8254bfde959946640457f4342fb3
[ "MIT" ]
null
null
null
import win32api import win32con import time class Game: keymap = { # Comment out any button(s) that would be unused 'up': 0x30, 'down': 0x31, 'left': 0x32, 'right': 0x33, 'a': 0x34, 'b': 0x35, 'x': 0x36, 'y': 0x37, 'start': 0x38, 'select': 0x39, 'l': 0x41, 'r': 0x42, 'l+a': 0x00, 'l+r':...
29.499106
83
0.649363
2,460
16,490
4.242276
0.055285
0.21675
0.300115
0.19174
0.887792
0.885588
0.816405
0.811709
0.809218
0.790533
0
0.157807
0.197999
16,490
558
84
29.551971
0.631304
0.007216
0
0.702011
0
0
0.037148
0
0
0
0.061343
0
0
0
null
null
0
0.005484
null
null
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
1
0
0
0
0
0
0
0
0
11
30f9e09032e62f937d216a2289d92f6ff8e5c962
36,393
py
Python
tests/models/test_gifts.py
plastr/extrasolar-game
1aad5971556d498e3617afe75f27e2f4132d4668
[ "MIT", "Unlicense" ]
null
null
null
tests/models/test_gifts.py
plastr/extrasolar-game
1aad5971556d498e3617afe75f27e2f4132d4668
[ "MIT", "Unlicense" ]
null
null
null
tests/models/test_gifts.py
plastr/extrasolar-game
1aad5971556d498e3617afe75f27e2f4132d4668
[ "MIT", "Unlicense" ]
null
null
null
# Copyright (c) 2010-2011 Lazy 8 Studios, LLC. # All rights reserved. import re from front.tests import base from front.tests.base import PRODUCT_KEY_S1_GIFT, VOUCHER_KEY_S1_GIFT, PRODUCT_KEY_ALL_GIFT, VOUCHER_KEY_ALL_GIFT from front.tests.base import PRODUCT_KEY_S1, PRODUCT_KEY_ALL, VOUCHER_KEY_ALL, VOUCHER_KEY_S1 fro...
52.364029
120
0.683978
4,799
36,393
4.987289
0.078766
0.061419
0.034595
0.013788
0.817498
0.789504
0.759004
0.730509
0.710872
0.697042
0
0.007269
0.221279
36,393
694
121
52.439481
0.837262
0.239414
0
0.706897
0
0
0.093445
0.006573
0
0
0
0
0.342672
1
0.034483
false
0.036638
0.021552
0
0.060345
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
eb96e0546666e71ed158a5520e5f9eff31a050f4
151
py
Python
hknweb/events/forms/__init__.py
jyxzhang/hknweb
a01ffd8587859bf63c46213be6a0c8b87164a5c2
[ "MIT" ]
null
null
null
hknweb/events/forms/__init__.py
jyxzhang/hknweb
a01ffd8587859bf63c46213be6a0c8b87164a5c2
[ "MIT" ]
null
null
null
hknweb/events/forms/__init__.py
jyxzhang/hknweb
a01ffd8587859bf63c46213be6a0c8b87164a5c2
[ "MIT" ]
null
null
null
from hknweb.events.forms.event import EventForm, EventUpdateForm from hknweb.events.forms.attendance import AttendanceFormForm, AttendanceResponseForm
50.333333
85
0.880795
16
151
8.3125
0.6875
0.150376
0.240602
0.315789
0
0
0
0
0
0
0
0
0.066225
151
2
86
75.5
0.943262
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
6949b98c4ca077d235b10ad7b57a0de58d6e5811
211
py
Python
bblogger/__init__.py
lohmega/jamble
ca7d2788c584cfb1c86ae766d06f6a9d57a60974
[ "Apache-2.0" ]
null
null
null
bblogger/__init__.py
lohmega/jamble
ca7d2788c584cfb1c86ae766d06f6a9d57a60974
[ "Apache-2.0" ]
3
2020-05-27T13:00:45.000Z
2020-09-29T12:42:23.000Z
bblogger/__init__.py
lohmega/jamble
ca7d2788c584cfb1c86ae766d06f6a9d57a60974
[ "Apache-2.0" ]
null
null
null
from bblogger.ble import scan, BlueBerryClient from bblogger.deserialize import BlueBerryDeserializer from bblogger.defs import SENSORS, PASSCODE_STATUS, enum2str from bblogger.__version__ import __version__
26.375
60
0.862559
24
211
7.208333
0.583333
0.277457
0
0
0
0
0
0
0
0
0
0.005291
0.104265
211
7
61
30.142857
0.910053
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.25
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
7
696cae170c6faf2c21341a0a1ca3ef2d7f2af3f4
8,837
py
Python
test/test_defendant.py
khelsabeck/felony_records_nc
f0dfa065329727df0ce2976d812bcf4c37d0bb1b
[ "MIT" ]
null
null
null
test/test_defendant.py
khelsabeck/felony_records_nc
f0dfa065329727df0ce2976d812bcf4c37d0bb1b
[ "MIT" ]
null
null
null
test/test_defendant.py
khelsabeck/felony_records_nc
f0dfa065329727df0ce2976d812bcf4c37d0bb1b
[ "MIT" ]
null
null
null
from src.defendant import Defendant import pytest from datetime import date, datetime, timedelta import typing @pytest.fixture def d1(): d1 = Defendant("John", "Smith", date(2010,1, 1)) return d1 def test_initialization(): '''This tests an initialization with valid data.''' my_defendant = Defendant("J...
52.289941
129
0.72253
1,273
8,837
4.817753
0.080911
0.093266
0.039622
0.039133
0.886842
0.846894
0.812164
0.791293
0.762596
0.748899
0
0.024856
0.175965
8,837
169
130
52.289941
0.817358
0.143827
0
0.595588
0
0
0.213226
0.020307
0
0
0
0
0.404412
1
0.117647
false
0
0.029412
0
0.154412
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
1
0
0
0
0
0
0
0
0
0
7
15db3ddd354bc29ad39ca0a51369700305870329
86
py
Python
blob/hashers.py
artgromov/blob_storage
8d3946eb624041da8f8512a5e9afc47c59a80b27
[ "MIT" ]
null
null
null
blob/hashers.py
artgromov/blob_storage
8d3946eb624041da8f8512a5e9afc47c59a80b27
[ "MIT" ]
null
null
null
blob/hashers.py
artgromov/blob_storage
8d3946eb624041da8f8512a5e9afc47c59a80b27
[ "MIT" ]
null
null
null
import hashlib def sha256(data: bytes): return hashlib.sha256(data).hexdigest()
14.333333
43
0.732558
11
86
5.727273
0.727273
0.31746
0
0
0
0
0
0
0
0
0
0.082192
0.151163
86
5
44
17.2
0.780822
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
7
c605cc489a32643bc2a1e9bd1ed66ca8feb412a7
2,138
py
Python
brambling/migrations/0041_auto_20160104_2321.py
Shivanjain023/django-brambling
17539b82df37f22bd2b4293e73142b887c916344
[ "BSD-3-Clause" ]
8
2015-05-06T18:26:15.000Z
2018-02-07T22:18:32.000Z
brambling/migrations/0041_auto_20160104_2321.py
Shivanjain023/django-brambling
17539b82df37f22bd2b4293e73142b887c916344
[ "BSD-3-Clause" ]
578
2015-01-05T21:37:17.000Z
2018-02-14T16:43:50.000Z
brambling/migrations/0041_auto_20160104_2321.py
Shivanjain023/django-brambling
17539b82df37f22bd2b4293e73142b887c916344
[ "BSD-3-Clause" ]
1
2015-08-20T16:59:32.000Z
2015-08-20T16:59:32.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('brambling', '0040_auto_20151223_0821'), ] operations = [ migrations.RenameField( model_name='attendee', ...
33.936508
190
0.553789
202
2,138
5.628713
0.242574
0.07124
0.137203
0.158311
0.819701
0.819701
0.819701
0.779244
0.711522
0.711522
0
0.013459
0.304958
2,138
62
191
34.483871
0.751682
0.009822
0
0.857143
0
0
0.230733
0.010875
0
0
0
0
0
1
0
false
0
0.035714
0
0.089286
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
c64efa14652aa58df8fd24946d8d088bd0f32ef6
25,255
py
Python
sdk/python/pulumi_databricks/sql_global_config.py
pulumi/pulumi-databricks
43580d4adbd04b72558f368ff0eef3d03432ebc1
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_databricks/sql_global_config.py
pulumi/pulumi-databricks
43580d4adbd04b72558f368ff0eef3d03432ebc1
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_databricks/sql_global_config.py
pulumi/pulumi-databricks
43580d4adbd04b72558f368ff0eef3d03432ebc1
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from . import ...
58.869464
499
0.702594
3,045
25,255
5.617077
0.090312
0.038587
0.049988
0.031922
0.90166
0.892774
0.892774
0.885816
0.880145
0.876696
0
0.000649
0.207365
25,255
428
500
59.007009
0.853782
0.511542
0
0.777228
1
0
0.123498
0.030897
0
0
0
0
0
1
0.158416
false
0.004951
0.024752
0.014851
0.277228
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
d67522406aa24a1076bba2d473fe236567784e7b
5,524
py
Python
tests/layer/test_routes.py
EasyVizAR/edge-server
523d64da5a9579d7c99bede47985a7a09d33f9ec
[ "MIT" ]
null
null
null
tests/layer/test_routes.py
EasyVizAR/edge-server
523d64da5a9579d7c99bede47985a7a09d33f9ec
[ "MIT" ]
null
null
null
tests/layer/test_routes.py
EasyVizAR/edge-server
523d64da5a9579d7c99bede47985a7a09d33f9ec
[ "MIT" ]
1
2021-09-17T16:13:16.000Z
2021-09-17T16:13:16.000Z
import os from http import HTTPStatus import pytest from server.main import app @pytest.mark.asyncio async def test_layer_routes(): """ Test layer routes """ # Name of a field within the resource which we can change and test. test_field = "name" async with app.test_client() as client: ...
36.342105
87
0.63903
659
5,524
5.2261
0.144158
0.126016
0.099303
0.125436
0.809524
0.793844
0.745354
0.700058
0.663473
0.656214
0
0.005845
0.256698
5,524
151
88
36.582781
0.832927
0.081101
0
0.721154
0
0
0.049469
0
0
0
0
0
0.538462
1
0
false
0
0.038462
0
0.038462
0.009615
0
0
0
null
0
0
0
1
1
1
1
0
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
7
d6a32a88ac5f328e1d86fc50fe8044d1e5fbd88a
1,405
py
Python
chatbot/models.py
jazzyeagle/chatbot_website
47da27f85907b5f3f7ea94bffd343a6322b8f39a
[ "BSD-3-Clause" ]
null
null
null
chatbot/models.py
jazzyeagle/chatbot_website
47da27f85907b5f3f7ea94bffd343a6322b8f39a
[ "BSD-3-Clause" ]
null
null
null
chatbot/models.py
jazzyeagle/chatbot_website
47da27f85907b5f3f7ea94bffd343a6322b8f39a
[ "BSD-3-Clause" ]
1
2022-03-05T15:08:45.000Z
2022-03-05T15:08:45.000Z
from django.db import models from mainsite.models import User class Command(models.Model): class Meta: app_label = 'chatbot' name = models.TextField(unique=True) script = models.TextField() created_by = models.ForeignKey(User, on_delete=models.CASCADE, blank=True, null=True, relate...
36.025641
125
0.718149
173
1,405
5.635838
0.242775
0.107692
0.129231
0.153846
0.828718
0.828718
0.787692
0.751795
0.751795
0.751795
0
0
0.178648
1,405
38
126
36.973684
0.844887
0
0
0.464286
0
0
0.063345
0
0
0
0
0
0
1
0
false
0
0.071429
0
0.892857
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
7
d6b05c41072991ea28eea1c8953eb11e86727aec
193
py
Python
pyresp/tuplespace/bucket_concurrent_query.py
zachasme/pyresp
a363cef3435769ba86b86ac1d31576566ca3ddc9
[ "MIT" ]
3
2017-10-15T11:55:01.000Z
2018-11-04T19:29:34.000Z
pyresp/tuplespace/bucket_concurrent_query.py
zachasme/pyresp
a363cef3435769ba86b86ac1d31576566ca3ddc9
[ "MIT" ]
null
null
null
pyresp/tuplespace/bucket_concurrent_query.py
zachasme/pyresp
a363cef3435769ba86b86ac1d31576566ca3ddc9
[ "MIT" ]
null
null
null
from threading import Thread, Condition from . import TupleSpaceBucket, TupleSpaceConcurrentQuery class TupleSpaceBucketConcurrentQuery(TupleSpaceBucket, TupleSpaceConcurrentQuery): pass
27.571429
83
0.860104
14
193
11.857143
0.714286
0.493976
0
0
0
0
0
0
0
0
0
0
0.103627
193
6
84
32.166667
0.959538
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.25
0.5
0
0.75
0
1
0
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
8
d6cc3e27181b18c31794d88f4b3c951d26cbddfb
1,893
py
Python
Conjoint Analysis/data.py
victor7246/Academic-Projects
dd877fd68ea29e78bfcfe33978eac3f5c5813029
[ "MIT" ]
null
null
null
Conjoint Analysis/data.py
victor7246/Academic-Projects
dd877fd68ea29e78bfcfe33978eac3f5c5813029
[ "MIT" ]
null
null
null
Conjoint Analysis/data.py
victor7246/Academic-Projects
dd877fd68ea29e78bfcfe33978eac3f5c5813029
[ "MIT" ]
null
null
null
import pandas import numpy data = pandas.read_csv("data/data.csv") l = [] for i in range(len(data)): if data.iloc[i][0] is not numpy.nan: ''' l.append((i+1,data.iloc[i][0],data.iloc[i][1],apple,samsung,sony,cl,cm,ch,pl,pm,ph,sl,sm,sh,ml,mm,mh,pl,pm,ph,pvh,data.iloc[i][2])) ''' l.append((i+1,data.iloc[i][0],data.il...
75.72
141
0.577919
595
1,893
1.835294
0.090756
0.194139
0.18956
0.190476
0.819597
0.819597
0.819597
0.803114
0.79304
0.792125
0
0.196046
0.038035
1,893
24
142
78.875
0.403624
0
0
0
0
0
0.014823
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
0
0
0
1
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
ba3a68ad06555077d9ad0b79684141cb60a1b38f
1,539
py
Python
cpm_xfer.py
roberts7531/z80Computer
28623b04db6c936bc43dd01dde4b736ec99cae67
[ "CC0-1.0" ]
null
null
null
cpm_xfer.py
roberts7531/z80Computer
28623b04db6c936bc43dd01dde4b736ec99cae67
[ "CC0-1.0" ]
null
null
null
cpm_xfer.py
roberts7531/z80Computer
28623b04db6c936bc43dd01dde4b736ec99cae67
[ "CC0-1.0" ]
null
null
null
import serial from intelhex import IntelHex from time import sleep ser = serial.Serial('/dev/cu.usbserial-110', 115200) sleep(3) f=open("CPM211FilesPkg.txt","r") text = f.read() data ="A:DOWNLOAD DUMP.COM\r\nU0\r\n:21000039221502315702CDC101FEFFC21B0111F301CD9C01C351013E80321302210000E5CDA201E1DA5101477DE60FC24401CD72...
66.913043
1,067
0.875893
89
1,539
15.146067
0.539326
0.005935
0.02003
0.022255
0.046736
0.046736
0.046736
0.046736
0.046736
0.046736
0
0.493216
0.042235
1,539
22
1,068
69.954545
0.421303
0
0
0.157895
0
0
0.739753
0.695511
0
1
0
0
0
1
0
false
0
0.157895
0
0.157895
0.105263
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
7
ba493451f45eebc8b73994653b5df394e2852605
1,301
py
Python
leetcode.com/python/94_Binary_Tree_Inorder_Traversal.py
XSoyOscar/Algorithms
6e1626d4b0f7804494f0a651698966ad6fd0fe18
[ "MIT" ]
713
2019-11-19T16:11:25.000Z
2022-03-31T02:27:52.000Z
leetcode.com/python/94_Binary_Tree_Inorder_Traversal.py
arunsank/coding-interview-gym
8131e3a82795707e144fe55d765b6c15bdb97306
[ "MIT" ]
7
2020-01-16T17:07:18.000Z
2021-11-15T18:24:39.000Z
leetcode.com/python/94_Binary_Tree_Inorder_Traversal.py
arunsank/coding-interview-gym
8131e3a82795707e144fe55d765b6c15bdb97306
[ "MIT" ]
393
2019-11-18T17:55:45.000Z
2022-03-28T20:26:32.000Z
# Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None # Solution 1 class Solution(object): def inorderTraversal(self, root): """ :type root: TreeNode :rtype: List[int] ...
26.02
56
0.538816
125
1,301
5.576
0.32
0.189383
0.091822
0.114778
0.833572
0.826399
0.826399
0.826399
0.826399
0.826399
0
0.00489
0.371253
1,301
49
57
26.55102
0.847188
0.198309
0
0.88
0
0
0
0
0
0
0
0
0
1
0.08
false
0
0
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
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
ba4f15d22ecf454fb9f062f74edea5096623107e
229
py
Python
greenbot/bothelper.py
EMorf/greenbot
5528fcb9246109d6742a867b9668a408d43701d6
[ "MIT" ]
null
null
null
greenbot/bothelper.py
EMorf/greenbot
5528fcb9246109d6742a867b9668a408d43701d6
[ "MIT" ]
null
null
null
greenbot/bothelper.py
EMorf/greenbot
5528fcb9246109d6742a867b9668a408d43701d6
[ "MIT" ]
null
null
null
import collections class BotHelper: bot_name = "Unknown" @staticmethod def get_bot_name(): return BotHelper.bot_name @staticmethod def set_bot_name(bot_name): BotHelper.bot_name = bot_name
16.357143
37
0.681223
28
229
5.25
0.428571
0.333333
0.326531
0.190476
0
0
0
0
0
0
0
0
0.253275
229
13
38
17.615385
0.859649
0
0
0.222222
0
0
0.030568
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0.111111
0.666667
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
2417016372176b54fb5feaf7aa186f625e14dbe5
6,206
py
Python
yiyou/migrations/versions/af0f8de842ab_.py
aierweisi/yiyou
33a3879f45ce9a82f6dac6bd4e8e1ab345ac3be6
[ "MIT" ]
1
2019-11-28T11:01:08.000Z
2019-11-28T11:01:08.000Z
yiyou/migrations/versions/af0f8de842ab_.py
aierweisi/yiyou
33a3879f45ce9a82f6dac6bd4e8e1ab345ac3be6
[ "MIT" ]
null
null
null
yiyou/migrations/versions/af0f8de842ab_.py
aierweisi/yiyou
33a3879f45ce9a82f6dac6bd4e8e1ab345ac3be6
[ "MIT" ]
null
null
null
"""empty message Revision ID: af0f8de842ab Revises: Create Date: 2017-12-30 22:35:30.487327 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'af0f8de842ab' down_revision = None branch_labels = None depends_on = None def upgrade(): # ### commands auto gene...
40.298701
70
0.649533
780
6,206
5.119231
0.110256
0.136238
0.150263
0.205109
0.813423
0.774856
0.762334
0.752567
0.730528
0.705735
0
0.013374
0.144538
6,206
153
71
40.562092
0.738746
0.045601
0
0.57037
0
0
0.125722
0
0
0
0
0
0
1
0.014815
false
0.007407
0.014815
0
0.02963
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
242fe77c00f5bf1e6b6426aa53fb0476e663b194
36
py
Python
myname.py
salazarvic2-MAS/python-docs-hello-world
7c0436ffe2fa6294419fba2cfd8b644c31f6ef6a
[ "MIT" ]
null
null
null
myname.py
salazarvic2-MAS/python-docs-hello-world
7c0436ffe2fa6294419fba2cfd8b644c31f6ef6a
[ "MIT" ]
null
null
null
myname.py
salazarvic2-MAS/python-docs-hello-world
7c0436ffe2fa6294419fba2cfd8b644c31f6ef6a
[ "MIT" ]
null
null
null
def get_name(): return "Victor"
12
19
0.638889
5
36
4.4
1
0
0
0
0
0
0
0
0
0
0
0
0.222222
36
2
20
18
0.785714
0
0
0
0
0
0.166667
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
79f6daa150201071b3816249b61e6cdb8ca231cb
62,401
py
Python
services/core/ActuatorAgent/tests/test_actuator_rpc.py
Entek-Technical-Services/BEMOSS3.5
581a205b4129530474a5ceee93cb36ef62992d4c
[ "BSD-3-Clause" ]
73
2017-07-11T21:46:41.000Z
2022-03-11T03:35:25.000Z
services/core/ActuatorAgent/tests/test_actuator_rpc.py
Entek-Technical-Services/BEMOSS3.5
581a205b4129530474a5ceee93cb36ef62992d4c
[ "BSD-3-Clause" ]
19
2017-10-10T22:06:15.000Z
2022-03-28T21:03:33.000Z
services/core/ActuatorAgent/tests/test_actuator_rpc.py
Entek-Technical-Services/BEMOSS3.5
581a205b4129530474a5ceee93cb36ef62992d4c
[ "BSD-3-Clause" ]
36
2017-06-24T00:17:03.000Z
2022-03-31T13:58:36.000Z
# -*- coding: utf-8 -*- {{{ # vim: set fenc=utf-8 ft=python sw=4 ts=4 sts=4 et: # Copyright (c) 2015, Battelle Memorial Institute # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistri...
35.455114
79
0.665694
7,718
62,401
5.232573
0.067634
0.055268
0.024514
0.027188
0.839148
0.818324
0.800272
0.778705
0.761842
0.750303
0
0.010581
0.238217
62,401
1,759
80
35.47527
0.838985
0.148059
0
0.767906
0
0
0.167238
0.053062
0
0
0
0
0.119674
0
null
null
0
0.007253
null
null
0.074343
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
8
032b3bde681d942c2cc2a9c0479062ee25a714a4
344
py
Python
pySPACE/environments/live/communication/messenger.py
pyspace/pyspace
763e62c0e7fa7cfcb19ccee1a0333c4f7e68ae62
[ "BSD-3-Clause" ]
32
2015-02-20T09:03:09.000Z
2022-02-25T22:32:52.000Z
pySPACE/environments/live/communication/messenger.py
pyspace/pyspace
763e62c0e7fa7cfcb19ccee1a0333c4f7e68ae62
[ "BSD-3-Clause" ]
5
2015-05-18T15:08:40.000Z
2020-03-05T19:18:01.000Z
pySPACE/environments/live/communication/messenger.py
pyspace/pyspace
763e62c0e7fa7cfcb19ccee1a0333c4f7e68ae62
[ "BSD-3-Clause" ]
18
2015-09-28T07:16:38.000Z
2021-01-20T13:52:19.000Z
import abc class Messenger(object): __metaclass__ = abc.ABCMeta def __init__(self): pass @abc.abstractmethod def register(self): return @abc.abstractmethod def end_transmission(self): return @abc.abstractmethod def send_message(self,messa...
16.380952
35
0.593023
33
344
5.878788
0.545455
0.262887
0.309278
0.278351
0.309278
0
0
0
0
0
0
0
0.337209
344
21
36
16.380952
0.850877
0
0
0.428571
0
0
0
0
0
0
0
0
0
1
0.285714
false
0.071429
0.071429
0.214286
0.714286
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
7
3060c4ae4db9e7c5a7dcf28973a97c8f7d97c018
2,634
py
Python
tests/test_clipping.py
cchenzi/INE5420
b14b22b1400e21b4b722d427e1f1375778c5929c
[ "MIT" ]
2
2021-06-24T04:31:37.000Z
2021-06-24T19:35:15.000Z
tests/test_clipping.py
cchenzi/INE5420
b14b22b1400e21b4b722d427e1f1375778c5929c
[ "MIT" ]
null
null
null
tests/test_clipping.py
cchenzi/INE5420
b14b22b1400e21b4b722d427e1f1375778c5929c
[ "MIT" ]
1
2021-06-24T21:26:36.000Z
2021-06-24T21:26:36.000Z
import numpy as np import pytest from numpy.testing import assert_array_equal, assert_allclose from app.clipping import cohen_sutherland, liang_barsky def test_cohen_sutherland_both_out(): is_visible, _, _ = cohen_sutherland((-1.2, -1.2), (1.2, -1.2)) expected_result = False assert is_visible == expected_...
32.925
75
0.656036
406
2,634
3.945813
0.1133
0.11236
0.022472
0.024969
0.865793
0.80774
0.80774
0.80774
0.80774
0.697253
0
0.089127
0.186409
2,634
79
76
33.341772
0.658423
0.009871
0
0.551724
0
0
0
0
0
0
0
0
0.431034
1
0.172414
false
0
0.068966
0
0.241379
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
1
0
0
0
0
0
0
0
0
0
7
0653eb50eef4605592c9a553cacd35e657e3fb21
8,755
py
Python
tests/test_models.py
edornd/multimodal-icl
f79bfa73665db471c12ee9cb57bbee1bcabb0467
[ "MIT" ]
6
2021-12-08T05:58:18.000Z
2021-12-29T09:55:32.000Z
tests/test_models.py
edornd/multimodal-icl
f79bfa73665db471c12ee9cb57bbee1bcabb0467
[ "MIT" ]
null
null
null
tests/test_models.py
edornd/multimodal-icl
f79bfa73665db471c12ee9cb57bbee1bcabb0467
[ "MIT" ]
null
null
null
import logging from functools import partial import torch from torch import nn from inplace_abn.abn import InPlaceABN from saticl.models import create_decoder, create_encoder from saticl.models.icl import ICLSegmenter from saticl.tasks import Task LOG = logging.getLogger(__name__) def test_encoder_resnet_unet(): ...
41.103286
114
0.58458
1,100
8,755
4.516364
0.124545
0.038043
0.02818
0.036634
0.869767
0.863325
0.843398
0.819444
0.819444
0.819444
0
0.038222
0.303712
8,755
212
115
41.29717
0.776739
0.102113
0
0.796512
0
0
0.044371
0
0
0
0
0
0.174419
1
0.052326
false
0
0.046512
0
0.098837
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
236824b89f8b2a329751a496d5d4e46c2c86aa9e
9,877
py
Python
autoencoders/VAE.py
Loptt/pong-autoencoder
c5123bb2466f644f7513d807044e11a4a17aae22
[ "MIT" ]
null
null
null
autoencoders/VAE.py
Loptt/pong-autoencoder
c5123bb2466f644f7513d807044e11a4a17aae22
[ "MIT" ]
1
2021-03-19T03:06:46.000Z
2021-08-02T13:29:05.000Z
autoencoders/VAE.py
Loptt/pong-autoencoder
c5123bb2466f644f7513d807044e11a4a17aae22
[ "MIT" ]
null
null
null
import keras import tensorflow as tf from keras import layers, Input, Model from functools import reduce from keras.utils.vis_utils import plot_model from .sampling import Sampling from .internal import VAEBallTrackInternal, VAEBallTrackNoPaddleInternal, VAEInternal, VAEInternalPerceptual from .coord_conv import Coordi...
36.446494
112
0.623367
1,222
9,877
4.838789
0.126023
0.047353
0.035515
0.033486
0.801793
0.793675
0.788601
0.788601
0.788601
0.788601
0
0.00883
0.266174
9,877
270
113
36.581481
0.806981
0.04556
0
0.74
0
0
0.042799
0.009346
0
0
0
0
0
1
0.095
false
0
0.04
0.005
0.21
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
0032868b7467ee7374b196c4f9443eb1dbd23902
242
py
Python
app/api/v2/resources/auth.py
misatifelix/fast-food-fast-api
083fee0993e8d2d0152b4cd13c1ab558d0ba9283
[ "MIT" ]
2
2018-09-26T16:55:50.000Z
2020-03-10T08:56:35.000Z
app/api/v2/resources/auth.py
misatifelix/fast-food-fast-api
083fee0993e8d2d0152b4cd13c1ab558d0ba9283
[ "MIT" ]
1
2019-10-21T17:13:51.000Z
2019-10-21T17:13:51.000Z
app/api/v2/resources/auth.py
misatifelix/fast-food-fast-api
083fee0993e8d2d0152b4cd13c1ab558d0ba9283
[ "MIT" ]
null
null
null
from flask_restful import Resource class RegisterResource(Resource): def post(self): pass class LoginResource(Resource): def post(self): pass class LogoutResource(Resource): def post(self): pass
17.285714
34
0.652893
26
242
6.038462
0.5
0.210191
0.286624
0.363057
0.503185
0.356688
0
0
0
0
0
0
0.272727
242
13
35
18.615385
0.892045
0
0
0.6
0
0
0
0
0
0
0
0
0
1
0.3
false
0.3
0.1
0
0.7
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
1
0
0
1
0
0
7
cc566d05cebd86c4b889c225118123b306bb3b3c
2,974
py
Python
src/blogapp/migrations/0004_auto_20211226_1039.py
robertsmoto/sodavault
200e843be7abe6cc447647bba55c7c1309092e5e
[ "BSD-3-Clause" ]
null
null
null
src/blogapp/migrations/0004_auto_20211226_1039.py
robertsmoto/sodavault
200e843be7abe6cc447647bba55c7c1309092e5e
[ "BSD-3-Clause" ]
null
null
null
src/blogapp/migrations/0004_auto_20211226_1039.py
robertsmoto/sodavault
200e843be7abe6cc447647bba55c7c1309092e5e
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 3.2.3 on 2021-12-26 10:39 from django.db import migrations, models import utilities.utils_images class Migration(migrations.Migration): dependencies = [ ('blogapp', '0003_auto_20211011_0924'), ] operations = [ migrations.AddField( model_name='category',...
39.653333
162
0.61197
336
2,974
5.220238
0.214286
0.061574
0.08894
0.116306
0.851197
0.834664
0.792474
0.767389
0.767389
0.767389
0
0.061168
0.274378
2,974
74
163
40.189189
0.751622
0.015131
0
0.617647
1
0
0.199522
0.007858
0
0
0
0
0
1
0
false
0
0.029412
0
0.073529
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
cc5f79cf1227d225010345d2b852c5595753d8f5
1,246
py
Python
gfootball/test/common/state/test_angle.py
andrewchou/football
11aea4d6a92d94e0ec92db9bc7e2214f396f884d
[ "Apache-2.0" ]
null
null
null
gfootball/test/common/state/test_angle.py
andrewchou/football
11aea4d6a92d94e0ec92db9bc7e2214f396f884d
[ "Apache-2.0" ]
null
null
null
gfootball/test/common/state/test_angle.py
andrewchou/football
11aea4d6a92d94e0ec92db9bc7e2214f396f884d
[ "Apache-2.0" ]
null
null
null
import unittest from unittest import TestCase import numpy as np from gfootball.common.state.angle import relative_angle_bucket class AngleTestCase(TestCase): def test_relative_angle_bucket(self): self.assertEqual(0, relative_angle_bucket(delta_position=np.array([1.0, -.1]))) self.assertEqual(0, ...
47.923077
89
0.712681
188
1,246
4.478723
0.180851
0.033254
0.293349
0.313539
0.739905
0.739905
0.739905
0.739905
0.739905
0.73753
0
0.050093
0.134831
1,246
25
90
49.84
0.730983
0.006421
0
0
0
0
0.006472
0
0
0
0
0
0.578947
1
0.052632
false
0
0.210526
0
0.315789
0
0
0
0
null
0
1
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
8
aee836af32d5cee8fdb8ac311ddccdbf0f95b8ce
19,062
py
Python
objdetect_msgs/src/objdetect_msgs/msg/_DetectGridScores.py
MRSD2018/reefbot-1
a595ca718d0cda277726894a3105815cef000475
[ "MIT" ]
null
null
null
objdetect_msgs/src/objdetect_msgs/msg/_DetectGridScores.py
MRSD2018/reefbot-1
a595ca718d0cda277726894a3105815cef000475
[ "MIT" ]
null
null
null
objdetect_msgs/src/objdetect_msgs/msg/_DetectGridScores.py
MRSD2018/reefbot-1
a595ca718d0cda277726894a3105815cef000475
[ "MIT" ]
null
null
null
"""autogenerated by genpy from objdetect_msgs/DetectGridScores.msg. Do not edit.""" import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct import sensor_msgs.msg import genpy import objdetect_msgs.msg import std_msgs.msg class DetectGridScores(genpy.Message): _md5sum = "177d9...
35.763602
272
0.625433
2,700
19,062
4.260741
0.107407
0.076495
0.059284
0.044332
0.755911
0.751912
0.726182
0.723053
0.716273
0.707406
0
0.012231
0.232242
19,062
532
273
35.830827
0.77383
0.078691
0
0.806867
1
0.002146
0.15934
0.024766
0
0
0.000575
0
0
1
0.012876
false
0
0.015021
0
0.049356
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
9d90277b5d6a0a43ae86f051ea8f839ec2cbb0c6
68
py
Python
celertix/configs/__init__.py
BALAVIGNESHDOSTRIX/celertix-framework
a3d9a530431cbdecf9686fe34fbe3c8d3265327e
[ "MIT" ]
2
2020-12-19T14:17:25.000Z
2021-08-03T10:20:21.000Z
celertix/configs/__init__.py
BALAVIGNESHDOSTRIX/celertix-framework
a3d9a530431cbdecf9686fe34fbe3c8d3265327e
[ "MIT" ]
12
2021-02-08T21:02:14.000Z
2022-03-12T00:52:27.000Z
celertix/configs/__init__.py
BALAVIGNESHDOSTRIX/celertix-framework
a3d9a530431cbdecf9686fe34fbe3c8d3265327e
[ "MIT" ]
1
2021-04-08T15:32:32.000Z
2021-04-08T15:32:32.000Z
from . import celertix_dbconfig from . import celertix_module_config
34
36
0.867647
9
68
6.222222
0.666667
0.357143
0.642857
0
0
0
0
0
0
0
0
0
0.102941
68
2
36
34
0.918033
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
d19da063a4cd8370784e0f371920df5e37dfcfaf
18,222
py
Python
tests/unit/base/models/test_base.py
dutradda/falcon-swagger
aaba9175817b18662194dc67091e31ec70664012
[ "MIT" ]
14
2016-11-01T17:57:09.000Z
2021-03-09T12:43:38.000Z
tests/unit/base/models/test_base.py
dutradda/falcon-swagger
aaba9175817b18662194dc67091e31ec70664012
[ "MIT" ]
1
2016-11-30T13:08:56.000Z
2017-01-16T00:13:40.000Z
tests/unit/base/models/test_base.py
dutradda/falcon-swagger
aaba9175817b18662194dc67091e31ec70664012
[ "MIT" ]
5
2016-11-01T16:24:09.000Z
2018-06-06T01:20:57.000Z
# MIT License # Copyright (c) 2016 Diogo Dutra # 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, pu...
38.852878
105
0.510207
1,655
18,222
5.367976
0.118429
0.065849
0.007429
0.009905
0.802679
0.789847
0.761932
0.754615
0.74955
0.739757
0
0.011939
0.351882
18,222
468
106
38.935897
0.740305
0.058336
0
0.768116
0
0
0.135815
0
0
0
0
0
0.043478
1
0.038647
false
0
0.016908
0
0.065217
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
ae17fcc9b6182fe294fc511fff4c5eb6e688d2de
7,833
py
Python
app/backend/core/dataset/dataset_test.py
SummaLabs/DLS
2adba47430b456ad0f324e4c8883a896a23b3fbf
[ "MIT" ]
32
2017-09-04T17:40:39.000Z
2021-02-16T23:08:34.000Z
app/backend/core/dataset/dataset_test.py
AymanNabih/DLS
2adba47430b456ad0f324e4c8883a896a23b3fbf
[ "MIT" ]
3
2017-10-09T12:52:54.000Z
2020-06-29T02:48:38.000Z
app/backend/core/dataset/dataset_test.py
AymanNabih/DLS
2adba47430b456ad0f324e4c8883a896a23b3fbf
[ "MIT" ]
20
2017-10-07T17:29:50.000Z
2021-01-23T22:01:54.000Z
import shutil, tempfile import skimage.io as skimgio from input import Input, Schema, CategoricalColumnMetadata from img2d import Img2DColumn from dataset import Dataset, RecordWriter, RecordReader import unittest import os import numpy as np from input_test import create_test_data from input_test import categories d...
46.076471
133
0.686455
1,085
7,833
4.652535
0.115207
0.045959
0.034865
0.035658
0.842908
0.833399
0.804081
0.768621
0.768621
0.759707
0
0.018856
0.214605
7,833
170
134
46.076471
0.801691
0.052215
0
0.711409
0
0
0.039903
0
0
0
0
0
0.134228
1
0.067114
false
0
0.067114
0
0.154362
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
ae1e243513e231576c3137c7bc926a3beb4909f8
2,334
py
Python
scitwi/utils/attrs.py
vahndi/scitwi
e873ea8b21710fd7b9a1cec0da594ccef91c54a2
[ "MIT" ]
null
null
null
scitwi/utils/attrs.py
vahndi/scitwi
e873ea8b21710fd7b9a1cec0da594ccef91c54a2
[ "MIT" ]
null
null
null
scitwi/utils/attrs.py
vahndi/scitwi
e873ea8b21710fd7b9a1cec0da594ccef91c54a2
[ "MIT" ]
null
null
null
from datetime import datetime from scitwi.utils.misc import get_datetime def bool_attr(attr_dict: dict, attr_dict_key: str): """ :rtype: bool """ if attr_dict_key in attr_dict.keys(): return attr_dict[attr_dict_key] return None def datetime_attr(attr_dict: dict, attr_dict_key: str): ...
22.882353
82
0.655099
363
2,334
3.859504
0.07989
0.411135
0.274804
0.256959
0.907209
0.907209
0.882941
0.862241
0.785153
0.686652
0
0
0.239931
2,334
102
83
22.882353
0.789741
0.058269
0
0.627451
0
0
0
0
0
0
0
0
0
1
0.215686
false
0
0.039216
0
0.72549
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
1
0
0
0
0
1
0
0
11
ae4b4936ec99be0d71f2f8b4188d464db4ca1978
6,821
py
Python
loldib/getratings/models/NA/na_malzahar/na_malzahar_sup.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
loldib/getratings/models/NA/na_malzahar/na_malzahar_sup.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
loldib/getratings/models/NA/na_malzahar/na_malzahar_sup.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
from getratings.models.ratings import Ratings class NA_Malzahar_Sup_Aatrox(Ratings): pass class NA_Malzahar_Sup_Ahri(Ratings): pass class NA_Malzahar_Sup_Akali(Ratings): pass class NA_Malzahar_Sup_Alistar(Ratings): pass class NA_Malzahar_Sup_Amumu(Ratings): pass class NA_Malzahar_Sup_Anivia(...
16.357314
46
0.776133
972
6,821
5.020576
0.151235
0.197951
0.42418
0.509016
0.814139
0.814139
0
0
0
0
0
0
0.162879
6,821
416
47
16.396635
0.854641
0
0
0.498195
0
0
0
0
0
0
0
0
0
1
0
true
0.498195
0.00361
0
0.501805
0
0
0
0
null
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
1
0
0
7
ae94138b77eae87c6d2d4d80934603bce77497f2
42,873
py
Python
api/urls.py
manisharmagarg/qymatix
0dc240970359429ae5105db79f9aebf1a99ba6fd
[ "Apache-2.0" ]
null
null
null
api/urls.py
manisharmagarg/qymatix
0dc240970359429ae5105db79f9aebf1a99ba6fd
[ "Apache-2.0" ]
null
null
null
api/urls.py
manisharmagarg/qymatix
0dc240970359429ae5105db79f9aebf1a99ba6fd
[ "Apache-2.0" ]
null
null
null
# from django.conf.urls import patterns, url from django.urls import path, re_path from django.contrib.auth.decorators import login_required # from tokenapi.decorators import token_required from tokenapi.decorators import token_required from api import actionsapi from api import contactsapi from api import customersap...
107.992443
205
0.683437
5,734
42,873
4.982211
0.043076
0.020302
0.067383
0.073929
0.895302
0.862504
0.771143
0.721577
0.707645
0.690458
0
0.001483
0.056329
42,873
397
206
107.992443
0.704632
0.049752
0
0.007117
0
0.498221
0.50161
0.401559
0
0
0
0
0
1
0
false
0.003559
0.053381
0
0.053381
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
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
ae98d38374dc22d10e05086e15b3487b5807bbe3
299
py
Python
models/rec/__init__.py
BruceHan98/OCHTPS
5bee02bcbff36029cd47b4802178216f980a4298
[ "MIT" ]
null
null
null
models/rec/__init__.py
BruceHan98/OCHTPS
5bee02bcbff36029cd47b4802178216f980a4298
[ "MIT" ]
null
null
null
models/rec/__init__.py
BruceHan98/OCHTPS
5bee02bcbff36029cd47b4802178216f980a4298
[ "MIT" ]
null
null
null
from .rec_layer_new_with_tcn_big import DenseNet as DenseNet_with_TCN_big from .rec_layer_new_with_tcn_big import DenseNet as DenseNet_with_TCN_big from .rec_layer_new_with_tcn_big import DenseNet as DenseNet_with_TCN_big from .rec_layer_new_with_tcn_big import DenseNet as DenseNet_with_TCN_big
37.375
73
0.896321
56
299
4.214286
0.178571
0.237288
0.338983
0.254237
1
1
1
1
1
1
0
0
0.090301
299
7
74
42.714286
0.867647
0
0
1
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
1
1
1
1
1
1
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
14
ae9c5f841f49b16d3a7a89761212264bf529f80c
5,839
py
Python
tests/component/db/bigquery/test_load_config_options_variants.py
cwegrzyn/records-mover
e3b71d6c09d99d0bcd6a956b9d09d20f8abe98d2
[ "Apache-2.0" ]
36
2020-03-17T11:56:51.000Z
2022-01-19T16:03:32.000Z
tests/component/db/bigquery/test_load_config_options_variants.py
cwegrzyn/records-mover
e3b71d6c09d99d0bcd6a956b9d09d20f8abe98d2
[ "Apache-2.0" ]
60
2020-03-02T23:13:29.000Z
2021-05-19T15:05:42.000Z
tests/component/db/bigquery/test_load_config_options_variants.py
cwegrzyn/records-mover
e3b71d6c09d99d0bcd6a956b9d09d20f8abe98d2
[ "Apache-2.0" ]
4
2020-08-11T13:17:37.000Z
2021-11-05T21:11:52.000Z
import unittest from records_mover.records.delimited import complain_on_unhandled_hints from records_mover.db.bigquery.load_job_config_options import load_job_config from records_mover.records.load_plan import RecordsLoadPlan from records_mover.records.processing_instructions import ProcessingInstructions from records...
55.084906
89
0.600959
498
5,839
6.662651
0.184739
0.090115
0.047016
0.038577
0.848704
0.801085
0.769138
0.769138
0.769138
0.769138
0
0.00204
0.32831
5,839
105
90
55.609524
0.843957
0
0
0.714286
0
0
0.129303
0.032197
0
0
0
0
0.05102
1
0.05102
false
0
0.061224
0
0.122449
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
885939170e64c118508ceff8484f82d22800fb16
147
py
Python
Curso_Python.py/prueba15.py
elviscruz45/Python_avanzado
259c5f4dcccfe71fefcff86484f36672a22caefb
[ "MIT" ]
null
null
null
Curso_Python.py/prueba15.py
elviscruz45/Python_avanzado
259c5f4dcccfe71fefcff86484f36672a22caefb
[ "MIT" ]
null
null
null
Curso_Python.py/prueba15.py
elviscruz45/Python_avanzado
259c5f4dcccfe71fefcff86484f36672a22caefb
[ "MIT" ]
null
null
null
def funcion(): return 5 def generador(): yield 1,2,3,4,5,6,7,8,9 print(generador()) print(generador()) print(generador())
11.307692
27
0.578231
22
147
3.863636
0.681818
0.494118
0.447059
0.658824
0
0
0
0
0
0
0
0.09009
0.244898
147
12
28
12.25
0.675676
0
0
0.428571
0
0
0
0
0
0
0
0
0
1
0.285714
true
0
0
0.142857
0.428571
0.428571
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
1
0
0
1
0
1
0
8
ee634f42e477062cb6c8e19f0b9c2f60630103fc
777
py
Python
rss_skill/forms.py
frybin/Alexa-Python-Skill
b729d303524a7e7b72c9becb7b7044afea6597fc
[ "MIT" ]
null
null
null
rss_skill/forms.py
frybin/Alexa-Python-Skill
b729d303524a7e7b72c9becb7b7044afea6597fc
[ "MIT" ]
null
null
null
rss_skill/forms.py
frybin/Alexa-Python-Skill
b729d303524a7e7b72c9becb7b7044afea6597fc
[ "MIT" ]
null
null
null
from flask_wtf import FlaskForm from wtforms import StringField, SubmitField from wtforms.validators import DataRequired class AddFeedForm(FlaskForm): name = StringField('RSS Feed Name', validators=[DataRequired()]) link = StringField('RSS Feed Link', validators=[DataRequired()]) article_1 = StringField('R...
43.166667
74
0.728443
89
777
6.303371
0.269663
0.199643
0.256684
0.149733
0.727273
0.727273
0.727273
0.727273
0.727273
0.727273
0
0.012121
0.150579
777
17
75
45.705882
0.837879
0
0
0.533333
0
0
0.160875
0
0
0
0
0
0
1
0
false
0
0.2
0
1
0
0
0
0
null
0
1
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
7
ee7a9c0aedbf40eb5aba9956a8c82f50fb6eca73
116,189
py
Python
django_evolution/tests/db/sqlite3.py
beanbaginc/django-evolution
fb76e44a2361a69a440dca086c0cc67ac6a4300d
[ "BSD-3-Clause" ]
18
2015-02-08T14:48:02.000Z
2021-08-03T21:07:37.000Z
django_evolution/tests/db/sqlite3.py
beanbaginc/django-evolution
fb76e44a2361a69a440dca086c0cc67ac6a4300d
[ "BSD-3-Clause" ]
4
2015-01-07T01:15:08.000Z
2020-08-06T06:52:13.000Z
django_evolution/tests/db/sqlite3.py
beanbaginc/django-evolution
fb76e44a2361a69a440dca086c0cc67ac6a4300d
[ "BSD-3-Clause" ]
13
2015-01-07T01:06:21.000Z
2022-02-20T16:27:41.000Z
from __future__ import unicode_literals import re import django from django.db.backends.sqlite3.base import Database from django_evolution.tests.utils import (make_generate_index_name, make_generate_unique_constraint_name) django_version = django.VERSION[:2] sqlite_version...
39.081399
79
0.522915
11,088
116,189
5.162518
0.030393
0.114706
0.078509
0.042486
0.915552
0.905611
0.894763
0.879215
0.871842
0.863859
0
0.015381
0.354818
116,189
2,972
80
39.094549
0.748222
0.036191
0
0.857778
1
0
0.593034
0.087296
0
0
0
0
0
1
0.007111
false
0
0.002222
0
0.016889
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
c99956bdac59c64bb241706d5f973287f4bfdbc4
34,158
py
Python
bquery/tests/test_ctable.py
simon-castano/bquery
84bc138681ced2a8fdf2d3add49e4a72f3f35ed4
[ "BSD-3-Clause" ]
56
2015-01-08T15:35:13.000Z
2020-03-11T16:13:15.000Z
bquery/tests/test_ctable.py
simon-castano/bquery
84bc138681ced2a8fdf2d3add49e4a72f3f35ed4
[ "BSD-3-Clause" ]
62
2015-01-03T15:57:13.000Z
2021-08-11T11:36:49.000Z
bquery/tests/test_ctable.py
simon-castano/bquery
84bc138681ced2a8fdf2d3add49e4a72f3f35ed4
[ "BSD-3-Clause" ]
19
2015-01-03T11:49:13.000Z
2020-01-31T10:00:03.000Z
import os import random import itertools import tempfile import shutil import math import itertools as itt from contextlib import contextmanager import nose import numpy as np import bcolz as bz from numpy.testing import assert_array_equal from numpy.testing import assert_allclose from nose.tools import assert_list_eq...
31.774884
118
0.49353
4,138
34,158
3.898018
0.063074
0.03478
0.013763
0.017855
0.829076
0.794048
0.77204
0.76212
0.751457
0.746683
0
0.04953
0.374641
34,158
1,074
119
31.804469
0.705585
0.119269
0
0.735376
0
0
0.050853
0.006485
0
0
0
0
0.045961
1
0.047354
false
0
0.020891
0
0.072423
0.079387
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
c9a994c1410bce6782eb0e7284ec2acbe3cf6240
841
py
Python
website/index/models.py
FrederichRiver/neutrino3
c16c6ea824999c012252d0e281473a6ab13fd38e
[ "BSD-3-Clause" ]
1
2021-07-12T11:20:58.000Z
2021-07-12T11:20:58.000Z
website/index/models.py
FrederichRiver/neutrino3
c16c6ea824999c012252d0e281473a6ab13fd38e
[ "BSD-3-Clause" ]
null
null
null
website/index/models.py
FrederichRiver/neutrino3
c16c6ea824999c012252d0e281473a6ab13fd38e
[ "BSD-3-Clause" ]
null
null
null
from django.db import models class china_treasury_yield(models.Model): report_date = models.DateField(primary_key=True) two_year = models.FloatField(blank=True, null=True) five_year = models.FloatField(blank=True, null=True) ten_year = models.FloatField(blank=True, null=True) three_decade = models...
32.346154
59
0.722949
113
841
5.185841
0.265487
0.21843
0.286689
0.341297
0.87372
0.87372
0.87372
0.87372
0.87372
0.87372
0
0
0.175981
841
25
60
33.64
0.845599
0
0
0.736842
0
0
0.043995
0
0
0
0
0
0
1
0
false
0
0.052632
0
0.789474
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
c9cc546111e45c9d5a98fc8dfd3a784dde627b36
8,542
py
Python
archive_test.py
peterloron/archive
6ae75272285d05593f064c945c9c1e77d510e1a8
[ "MIT" ]
null
null
null
archive_test.py
peterloron/archive
6ae75272285d05593f064c945c9c1e77d510e1a8
[ "MIT" ]
null
null
null
archive_test.py
peterloron/archive
6ae75272285d05593f064c945c9c1e77d510e1a8
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import unittest import os import datetime import calendar import subprocess import shutil class TestArchive(unittest.TestCase): ROOT = os.getcwd() BACK95 = calendar.timegm((datetime.datetime.utcnow() - (datetime.timedelta(days=95))).timetuple()) BACK46 = cale...
50.247059
122
0.637556
1,180
8,542
4.607627
0.098305
0.145669
0.163693
0.184477
0.924591
0.9119
0.883208
0.86831
0.829134
0.756483
0
0.024195
0.182276
8,542
169
123
50.544379
0.753472
0.034652
0
0.5
0
0
0.186984
0
0
0
0
0
0.34127
1
0.031746
false
0.015873
0.047619
0
0.111111
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
a00847664142966315966adad00658d0073eddad
2,577
py
Python
src/conformity_migration_tool/logger.py
ronald-bautista/conformity-migration-tool
03b8a7a9fb99bb3f975d85db0a2c1ae1205cad2f
[ "MIT" ]
1
2022-03-24T19:54:13.000Z
2022-03-24T19:54:13.000Z
src/conformity_migration_tool/logger.py
ronald-bautista/conformity-migration-tool
03b8a7a9fb99bb3f975d85db0a2c1ae1205cad2f
[ "MIT" ]
null
null
null
src/conformity_migration_tool/logger.py
ronald-bautista/conformity-migration-tool
03b8a7a9fb99bb3f975d85db0a2c1ae1205cad2f
[ "MIT" ]
4
2022-01-27T21:16:18.000Z
2022-03-24T15:24:12.000Z
import logging class Logger: def info(self, msg: object, *args, file_only=False, **kwargs) -> None: ... def warn(self, msg: object, *args, file_only=False, **kwargs) -> None: ... def debug(self, msg: object, *args, file_only=False, **kwargs) -> None: ... def error(self, msg:...
35.791667
94
0.658906
325
2,577
5.055385
0.172308
0.11199
0.087036
0.103469
0.709069
0.709069
0.709069
0.709069
0.709069
0.643335
0
0.000489
0.207218
2,577
71
95
36.295775
0.80372
0.085759
0
0.595745
0
0
0.009354
0
0
0
0
0
0
1
0.340426
false
0
0.021277
0.042553
0.638298
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
7
a009fec97ec6f01cb9a7f3e879281e82ad662e92
155
py
Python
src/spaceone/monitoring/service/__init__.py
jihyungSong/plugin-aws-health
a3e43dff6c7c5c2e911bc5141807e124ee8be2fe
[ "Apache-2.0" ]
2
2020-06-22T01:48:21.000Z
2020-08-07T05:22:55.000Z
src/spaceone/monitoring/service/__init__.py
jihyungSong/plugin-aws-health
a3e43dff6c7c5c2e911bc5141807e124ee8be2fe
[ "Apache-2.0" ]
null
null
null
src/spaceone/monitoring/service/__init__.py
jihyungSong/plugin-aws-health
a3e43dff6c7c5c2e911bc5141807e124ee8be2fe
[ "Apache-2.0" ]
3
2020-09-09T03:34:25.000Z
2021-03-25T05:19:40.000Z
from spaceone.monitoring.service.monitoring_service import MonitoringService from spaceone.monitoring.service.data_source_service import DataSourceService
51.666667
77
0.909677
17
155
8.117647
0.529412
0.369565
0.318841
0.42029
0
0
0
0
0
0
0
0
0.051613
155
2
78
77.5
0.938776
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
4ecc88b6ae151b364560dd4dce99e61c7966107f
2,337
py
Python
tests/atom_expr_test.py
purdue-tlt/latex2sympy
f3e29fbf1e6979c6416844073863bbaa976927fc
[ "MIT" ]
11
2020-05-19T19:56:50.000Z
2022-03-31T08:31:56.000Z
tests/atom_expr_test.py
purdue-tlt/latex2sympy
f3e29fbf1e6979c6416844073863bbaa976927fc
[ "MIT" ]
14
2019-06-06T14:47:15.000Z
2022-03-28T14:40:41.000Z
tests/atom_expr_test.py
purdue-tlt/latex2sympy
f3e29fbf1e6979c6416844073863bbaa976927fc
[ "MIT" ]
4
2020-07-11T21:39:16.000Z
2021-05-10T11:10:12.000Z
from .context import assert_equal import pytest from sympy import Symbol, Integer, Pow # label, text, symbol_text symbols = [ ('letter', 'x', 'x'), ('greek letter', '\\lambda', 'lambda'), ('greek letter w/ space', '\\alpha ', 'alpha'), ('accented letter', '\\overline{x}', 'xbar') ] subscripts = [ ...
39.610169
139
0.693196
289
2,337
5.384083
0.179931
0.122108
0.207584
0.15874
0.802057
0.789203
0.789203
0.789203
0.760283
0.642674
0
0.006965
0.139923
2,337
58
140
40.293103
0.767164
0.01027
0
0.190476
0
0
0.159238
0
0
0
0
0
0.166667
1
0.142857
false
0
0.071429
0
0.214286
0
0
0
0
null
0
1
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
093d867bc78bab69dd379b27027066a010b3b665
200
py
Python
tests/utils.py
frainfreeze/sqlalchemy-filters-plus
1886cf39110504aee54330857b8317a31cd9606e
[ "BSD-3-Clause" ]
25
2021-03-28T18:28:01.000Z
2022-03-19T00:35:48.000Z
tests/utils.py
frainfreeze/sqlalchemy-filters-plus
1886cf39110504aee54330857b8317a31cd9606e
[ "BSD-3-Clause" ]
3
2021-09-20T16:37:39.000Z
2022-03-21T00:47:23.000Z
tests/utils.py
frainfreeze/sqlalchemy-filters-plus
1886cf39110504aee54330857b8317a31cd9606e
[ "BSD-3-Clause" ]
4
2021-08-28T02:54:16.000Z
2022-02-25T11:57:35.000Z
def compares_expressions(exp1, exp2) -> bool: def compile_exp(exp): return exp.compile(compile_kwargs={"literal_binds": True}) return str(compile_exp(exp1)) == str(compile_exp(exp2))
33.333333
66
0.705
27
200
5
0.518519
0.222222
0.192593
0
0
0
0
0
0
0
0
0.023669
0.155
200
5
67
40
0.775148
0
0
0
0
0
0.065
0
0
0
0
0
0
1
0.5
false
0
0
0.25
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
1
0
0
0
1
1
0
0
7
1185a813c87a602d02f8115a953688188f6b39a8
17,983
py
Python
zprev versions/firstderivs1.py
lefthandedroo/Cosmodels
c355d18021467cf92546cf2fc9cb1d1abe59b8d8
[ "MIT" ]
null
null
null
zprev versions/firstderivs1.py
lefthandedroo/Cosmodels
c355d18021467cf92546cf2fc9cb1d1abe59b8d8
[ "MIT" ]
null
null
null
zprev versions/firstderivs1.py
lefthandedroo/Cosmodels
c355d18021467cf92546cf2fc9cb1d1abe59b8d8
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Feb 15 13:23:25 2018 @author: BallBlueMeercat """ import numpy as np # Eq of state parameters for known fluids: w_r = 1/3 # radiation w_m = 0.0 # matter w_de = -1.0 # cosmological constant (dark energy?) def expgamma(v, t, gamma, H0): ""...
30.376689
76
0.421565
2,705
17,983
2.715712
0.043623
0.071876
0.040839
0.071467
0.94446
0.940512
0.940512
0.940512
0.935883
0.935883
0
0.025569
0.423678
17,983
592
77
30.376689
0.68323
0.520436
0
0.778351
0
0.061856
0.097905
0
0
0
0
0
0
1
0.061856
false
0
0.005155
0
0.128866
0.123711
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
11cf70b247c22683411349776adc6b297f4b5d0a
20,437
py
Python
Tests/test_integration/response_data_sort.py
duncanbackr/jit_analytics
9c81ff294459ccda5f3d3ace40dd5f5b44cfa4d1
[ "MIT" ]
null
null
null
Tests/test_integration/response_data_sort.py
duncanbackr/jit_analytics
9c81ff294459ccda5f3d3ace40dd5f5b44cfa4d1
[ "MIT" ]
null
null
null
Tests/test_integration/response_data_sort.py
duncanbackr/jit_analytics
9c81ff294459ccda5f3d3ace40dd5f5b44cfa4d1
[ "MIT" ]
null
null
null
import datetime mock_badge = [{'platformAvatar': 'https://yt3.ggpht.com/a/AATXAJyK4xg31xlsnsA6SWZM_4XFBqKCvSzFp48kyhOaTHs=s48-c-k-c0xffffffff-no-rj-mo', 'badge': 'newFan', 'fanID': 15213, 'authorDisplayName': 'kate ramsay', 'commentDatePosted': datetime.datetime(2015, 10, 24, 17, 53, 29), 'commentID': 25925, 'textDisp...
2,043.7
5,269
0.73274
2,729
20,437
5.444119
0.144742
0.043077
0.059231
0.072693
0.951067
0.948442
0.940163
0.937269
0.935451
0.935451
0
0.072921
0.102853
20,437
10
5,270
2,043.7
0.737388
0
0
0
0
9.8
0.716557
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
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
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
11d27e1b2e27346fdb81516797d014b964e4badd
103
py
Python
triangle_multiplicative_module/__init__.py
lucidrains/triangle-multiplicative-module
23a739a71ed2e381e660c7756a72408074746d2a
[ "MIT" ]
16
2021-07-19T17:54:55.000Z
2022-02-18T19:02:23.000Z
triangle_multiplicative_module/__init__.py
lucidrains/triangle-multiplicative-module
23a739a71ed2e381e660c7756a72408074746d2a
[ "MIT" ]
2
2021-07-22T03:34:07.000Z
2021-08-03T05:18:24.000Z
triangle_multiplicative_module/__init__.py
lucidrains/triangle-multiplicative-module
23a739a71ed2e381e660c7756a72408074746d2a
[ "MIT" ]
1
2021-07-23T01:11:15.000Z
2021-07-23T01:11:15.000Z
from triangle_multiplicative_module.triangle_multiplicative_module import TriangleMultiplicativeModule
51.5
102
0.951456
9
103
10.444444
0.666667
0.468085
0.595745
0
0
0
0
0
0
0
0
0
0.038835
103
1
103
103
0.949495
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
1
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
9
11d63a7525e2e81170955f16175d7636a2fe3eca
104
py
Python
emcee_install.py
bblais/Python-for-Science
abe28ddb5748ef9ecdceda77a01352e21d3a675b
[ "MIT" ]
null
null
null
emcee_install.py
bblais/Python-for-Science
abe28ddb5748ef9ecdceda77a01352e21d3a675b
[ "MIT" ]
null
null
null
emcee_install.py
bblais/Python-for-Science
abe28ddb5748ef9ecdceda77a01352e21d3a675b
[ "MIT" ]
null
null
null
#!/usr/bin/env python import os os.system('pip install emcee') os.system('pip install triangle_plot')
14.857143
38
0.740385
17
104
4.470588
0.705882
0.210526
0.289474
0.473684
0
0
0
0
0
0
0
0
0.115385
104
6
39
17.333333
0.826087
0.192308
0
0
0
0
0.512195
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
7
eea2406ad765d1796de9d6f27d8c4437b17ec5cf
241
py
Python
danube_delta/plugins/__init__.py
honzajavorek/danube-delta
da91bf8a9ed4018e4f5e6055b88ce81b32be6dc3
[ "MIT" ]
6
2017-04-25T09:15:07.000Z
2018-04-26T08:15:30.000Z
danube_delta/plugins/__init__.py
honzajavorek/danube-delta
da91bf8a9ed4018e4f5e6055b88ce81b32be6dc3
[ "MIT" ]
36
2016-03-03T07:48:56.000Z
2021-06-25T15:18:37.000Z
danube_delta/plugins/__init__.py
honzajavorek/danube-delta
da91bf8a9ed4018e4f5e6055b88ce81b32be6dc3
[ "MIT" ]
4
2016-08-26T08:37:46.000Z
2018-02-25T06:52:13.000Z
from . import ( code_blocks, headings, plain_summary, featured_image, media, tables, authors, outdated_article, ) PLUGINS = [ code_blocks, headings, plain_summary, featured_image, media, tables, authors, outdated_article ]
21.909091
72
0.73444
27
241
6.259259
0.555556
0.118343
0.213018
0.272189
0.899408
0.899408
0.899408
0.899408
0.899408
0.899408
0
0
0.178423
241
10
73
24.1
0.853535
0
0
0.25
0
0
0
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0
1
0
0
null
0
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
eeb5fa3d13a776296677e062d9e4e6743ddb17ae
46
py
Python
Blackjaw120/utils/oold_flag.py
Gitr007/CTFChalls
ccd4f8ce472e53b5cc518389807264418d008ea6
[ "Apache-2.0" ]
1
2019-01-21T21:02:00.000Z
2019-01-21T21:02:00.000Z
Blackjaw120/utils/oold_flag.py
Gitr007/CTFChalls
ccd4f8ce472e53b5cc518389807264418d008ea6
[ "Apache-2.0" ]
null
null
null
Blackjaw120/utils/oold_flag.py
Gitr007/CTFChalls
ccd4f8ce472e53b5cc518389807264418d008ea6
[ "Apache-2.0" ]
null
null
null
import sys # TODO : add new_flag.py file
11.5
31
0.652174
8
46
3.625
1
0
0
0
0
0
0
0
0
0
0
0
0.282609
46
3
32
15.333333
0.878788
0.586957
0
0
0
0
0
0
0
0
0
0.333333
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
1
0
1
0
1
0
0
7
0148eecf166abcfed60cf9a2beae4d149333792d
3,506
py
Python
est_bkg.py
jasminwash/hostgal
b87f100b783e50741654daca1fb48acb18a6efbf
[ "MIT" ]
null
null
null
est_bkg.py
jasminwash/hostgal
b87f100b783e50741654daca1fb48acb18a6efbf
[ "MIT" ]
null
null
null
est_bkg.py
jasminwash/hostgal
b87f100b783e50741654daca1fb48acb18a6efbf
[ "MIT" ]
null
null
null
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Thu Nov 15 20:12:52 2018 @author: Dartoon """ import numpy as np from astropy.visualization import SqrtStretch from astropy.stats import SigmaClip from photutils import Background2D, SExtractorBackground from astropy.visualization.mpl_normalize import Ima...
32.462963
74
0.646606
490
3,506
4.5
0.226531
0.010884
0.081633
0.051701
0.806349
0.806349
0.776417
0.776417
0.776417
0.776417
0
0.042522
0.221905
3,506
107
75
32.766355
0.765762
0.113805
0
0.879121
0
0
0.026239
0
0
0
0
0
0
1
0.021978
false
0
0.131868
0
0.175824
0.010989
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
014cd938df7acd797b5e1fe7fded15f5616f5467
139
py
Python
sb3_contrib/ppo_mask/__init__.py
glmcdona/stable-baselines3-contrib
91f9b1ed34fbaa9243a044ea67aa4c677663bfc2
[ "MIT" ]
null
null
null
sb3_contrib/ppo_mask/__init__.py
glmcdona/stable-baselines3-contrib
91f9b1ed34fbaa9243a044ea67aa4c677663bfc2
[ "MIT" ]
null
null
null
sb3_contrib/ppo_mask/__init__.py
glmcdona/stable-baselines3-contrib
91f9b1ed34fbaa9243a044ea67aa4c677663bfc2
[ "MIT" ]
null
null
null
from sb3_contrib.ppo_mask.policies import CnnPolicy, MlpPolicy # , MultiInputPolicy from sb3_contrib.ppo_mask.ppo_mask import MaskablePPO
46.333333
84
0.856115
19
139
6
0.578947
0.184211
0.245614
0.298246
0.368421
0
0
0
0
0
0
0.015873
0.093525
139
2
85
69.5
0.888889
0.129496
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
0169dc5e6ada8a0a13c034f84a918a3a99196f3a
178
py
Python
graphvl/db/init_db.py
verifid/graph-vl
7062e0e0fa7de3e1ce0598cd7c8f0e74e6355e9e
[ "MIT" ]
27
2020-04-04T12:08:48.000Z
2021-12-28T23:07:19.000Z
graphvl/db/init_db.py
verifid/graph-vl
7062e0e0fa7de3e1ce0598cd7c8f0e74e6355e9e
[ "MIT" ]
null
null
null
graphvl/db/init_db.py
verifid/graph-vl
7062e0e0fa7de3e1ce0598cd7c8f0e74e6355e9e
[ "MIT" ]
3
2021-01-22T19:03:15.000Z
2021-07-20T16:11:56.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from graphvl.db.base_class import Base from graphvl.db.session import engine def init_db(): Base.metadata.create_all(engine)
17.8
38
0.719101
28
178
4.464286
0.714286
0.176
0.208
0
0
0
0
0
0
0
0
0.006536
0.140449
178
9
39
19.777778
0.810458
0.235955
0
0
0
0
0
0
0
0
0
0
0
1
0.25
true
0
0.5
0
0.75
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
0
0
7
016d9d3f72dceea921c160eca82a212ad42275db
14,295
py
Python
src/hielen2/api/actions.py
fantamodeman/hielen2
b1b249f4bd7609b3977777f663ae242adf69cfe2
[ "MIT" ]
null
null
null
src/hielen2/api/actions.py
fantamodeman/hielen2
b1b249f4bd7609b3977777f663ae242adf69cfe2
[ "MIT" ]
null
null
null
src/hielen2/api/actions.py
fantamodeman/hielen2
b1b249f4bd7609b3977777f663ae242adf69cfe2
[ "MIT" ]
null
null
null
#!/usr/bin/env python # coding=utf-8 import hug import tempfile import falcon import os import time import json from hielen2 import db, conf import hielen2.source as sourceman from streaming_form_data import StreamingFormDataParser from streaming_form_data.targets import FileTarget, ValueTarget from himada.api import R...
35.20936
103
0.664498
1,747
14,295
5.364625
0.194619
0.032864
0.051643
0.070423
0.841656
0.82309
0.82309
0.82309
0.82309
0.811566
0
0.00473
0.24575
14,295
405
104
35.296296
0.864496
0.325149
0
0.84585
0
0
0.099006
0.005861
0
0
0
0.009877
0
1
0.027668
false
0.011858
0.059289
0
0.158103
0.063241
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
6d85e96296e63d9423bcdab0d9951464cb67ee32
140
py
Python
src/utils/evaluator.py
bekirufuk/long_doc_classification
5777ce7fc3cc7150c12ca58cc12cf2d691656219
[ "MIT" ]
null
null
null
src/utils/evaluator.py
bekirufuk/long_doc_classification
5777ce7fc3cc7150c12ca58cc12cf2d691656219
[ "MIT" ]
null
null
null
src/utils/evaluator.py
bekirufuk/long_doc_classification
5777ce7fc3cc7150c12ca58cc12cf2d691656219
[ "MIT" ]
null
null
null
from sklearn.metrics import accuracy_score def compute_metrics(references, predictions): return accuracy_score(references, predictions)
35
50
0.842857
16
140
7.1875
0.6875
0.226087
0
0
0
0
0
0
0
0
0
0
0.1
140
4
50
35
0.912698
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
7
6d9a00f8b3170bdc633e550bb59a89a3829368f8
60,621
py
Python
plot.py
TylerCools/thesis
8195ca3b8658bdd10f4ce38c6b50cd2bbedd3e57
[ "MIT" ]
null
null
null
plot.py
TylerCools/thesis
8195ca3b8658bdd10f4ce38c6b50cd2bbedd3e57
[ "MIT" ]
null
null
null
plot.py
TylerCools/thesis
8195ca3b8658bdd10f4ce38c6b50cd2bbedd3e57
[ "MIT" ]
null
null
null
from matplotlib import pyplot as plt # Task 1 # y1 = [0.4516509433962264, 0.7894204851752021, 0.8288409703504043, 0.8320417789757413, 0.8431603773584906, 0.8529312668463612, 0.9371630727762803, 0.9836590296495957, 0.996967654986523, 0.996967654986523, 0.996967654986523, 0.996967654986523, 0.996967654986523, 0.99696765...
1,165.788462
4,015
0.846736
6,131
60,621
8.369271
0.067689
0.06593
0.069457
0.131197
0.889597
0.883672
0.883672
0.879677
0.879677
0.873382
0
0.88627
0.051847
60,621
51
4,016
1,188.647059
0.006455
0.992511
0
0
0
0
0.183099
0.065728
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
1
0
0
0
1
1
1
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
11