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
c862cc8467bd7e489f5a6229b8441ad05ef1b1a6
20,515
py
Python
django_comments_xtd/tests/models.py
lyoniionly/django-comments-xtd
bc62a7359b9b460185e0fe4a7a1958bc9ef5599c
[ "BSD-2-Clause" ]
null
null
null
django_comments_xtd/tests/models.py
lyoniionly/django-comments-xtd
bc62a7359b9b460185e0fe4a7a1958bc9ef5599c
[ "BSD-2-Clause" ]
null
null
null
django_comments_xtd/tests/models.py
lyoniionly/django-comments-xtd
bc62a7359b9b460185e0fe4a7a1958bc9ef5599c
[ "BSD-2-Clause" ]
null
null
null
from datetime import datetime from django.db import models from django.db.models import permalink from django.contrib.contenttypes.models import ContentType from django.contrib.sites.models import Site from django.test import TestCase as DjangoTestCase from django_comments_xtd.models import (XtdComment, ...
46.625
80
0.497295
2,344
20,515
4.164249
0.076365
0.05942
0.077451
0.032271
0.777687
0.748899
0.73097
0.725643
0.716013
0.703616
0
0.050349
0.413307
20,515
439
81
46.731207
0.760635
0.150865
0
0.678344
0
0
0.041181
0.001328
0
0
0
0
0.191083
1
0.089172
false
0
0.022293
0.006369
0.191083
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
0
0
0
0
0
0
5
c862ff0586dafe12df4bfd251af96f7087dbad08
900
py
Python
app/api/v1/routes.py
kwanj-k/storemanager-API
e51511545a717341a7b1eb100eb3eab625a8b011
[ "MIT" ]
1
2019-05-08T08:39:08.000Z
2019-05-08T08:39:08.000Z
app/api/v1/routes.py
kwanj-k/storemanager-API
e51511545a717341a7b1eb100eb3eab625a8b011
[ "MIT" ]
2
2019-10-21T17:56:01.000Z
2019-10-29T07:36:39.000Z
app/api/v1/routes.py
kwanj-k/storemanager-API
e51511545a717341a7b1eb100eb3eab625a8b011
[ "MIT" ]
null
null
null
""" This file contains all the version one routes """ # Third party imports from flask import Blueprint, request from flask_restplus import Api, Resource, fields # Local application imports from .views.products_views import v1 as pro_routes from .views.sales_views import v1 as sales_routes from .views.stores_views i...
26.470588
67
0.73
124
900
5.104839
0.41129
0.056872
0.063191
0.07109
0
0
0
0
0
0
0
0.013141
0.154444
900
33
68
27.272727
0.81866
0.102222
0
0
0
0
0.156446
0
0
0
0
0
0
1
0
false
0
0.272727
0
0.272727
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c8643e92fdc3cc522b5000bf37f329ece9e89e82
5,605
py
Python
tests/test_region_aggregation.py
IAMconsortium/nomenclature
15973d86d91e38424fe30719d44a1f23526c6eea
[ "Apache-2.0" ]
9
2021-06-10T15:11:23.000Z
2022-02-02T16:22:01.000Z
tests/test_region_aggregation.py
IAMconsortium/nomenclature
15973d86d91e38424fe30719d44a1f23526c6eea
[ "Apache-2.0" ]
83
2021-06-22T09:04:29.000Z
2022-03-21T16:29:54.000Z
tests/test_region_aggregation.py
IAMconsortium/nomenclature
15973d86d91e38424fe30719d44a1f23526c6eea
[ "Apache-2.0" ]
3
2021-06-17T10:44:48.000Z
2021-09-16T15:30:03.000Z
from pathlib import Path import jsonschema import pydantic import pytest from nomenclature.processor.region import ( ModelMappingCollisionError, RegionAggregationMapping, RegionProcessor, ) from conftest import TEST_DATA_DIR TEST_FOLDER_REGION_MAPPING = TEST_DATA_DIR / "region_aggregation" def test_map...
33.562874
88
0.615165
586
5,605
5.568259
0.196246
0.022066
0.03034
0.055777
0.435182
0.393503
0.331903
0.189396
0.131781
0.131781
0
0.004658
0.272257
5,605
166
89
33.76506
0.795293
0.063872
0
0.294964
0
0.014388
0.308647
0.163008
0
0
0
0
0.021583
1
0.043165
false
0
0.043165
0
0.086331
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c8645ddbacbee9365d7d4fed6a9839538bcee96a
828
py
Python
bin/util/ckan-datasets-in-group.py
timrdf/csv2rdf4lod-automation-prod
d7e096fda18aea6236b6245b1e4a221101611640
[ "Apache-2.0" ]
56
2015-01-15T13:11:28.000Z
2021-11-16T14:50:48.000Z
bin/util/ckan-datasets-in-group.py
timrdf/csv2rdf4lod-automation-prod
d7e096fda18aea6236b6245b1e4a221101611640
[ "Apache-2.0" ]
10
2015-02-17T19:19:39.000Z
2021-12-10T21:04:37.000Z
bin/util/ckan-datasets-in-group.py
timrdf/csv2rdf4lod-automation-prod
d7e096fda18aea6236b6245b1e4a221101611640
[ "Apache-2.0" ]
13
2015-08-25T18:48:35.000Z
2021-12-13T15:28:16.000Z
#!/usr/bin/env python # #3> <> prov:specializationOf <https://github.com/timrdf/csv2rdf4lod-automation/blob/master/bin/util/ckan-datasets-in-group.py>; #3> prov:wasDerivedFrom <https://raw.github.com/timrdf/DataFAQs/master/packages/faqt.python/faqt/faqt.py>, #3> <https://github.com/timrdf/...
41.4
127
0.729469
116
828
5.034483
0.508621
0.047945
0.077055
0.068493
0
0
0
0
0
0
0
0.010855
0.109903
828
19
128
43.578947
0.781547
0.605072
0
0
0
0
0.141066
0
0
0
0
0
0
0
null
null
0
0.125
null
null
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c86486b7aff3805a872796537a88993f82f85be5
191
py
Python
CaloOnlineTools/EcalTools/python/ecalExclusiveTrigFilter_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
CaloOnlineTools/EcalTools/python/ecalExclusiveTrigFilter_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
CaloOnlineTools/EcalTools/python/ecalExclusiveTrigFilter_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
import FWCore.ParameterSet.Config as cms ecalExclusiveTrigFilter = cms.EDFilter("EcalExclusiveTrigFilter", # Global trigger tag l1GlobalReadoutRecord = cms.string("gtDigis") )
21.222222
65
0.759162
17
191
8.529412
0.823529
0
0
0
0
0
0
0
0
0
0
0.006211
0.157068
191
8
66
23.875
0.89441
0.094241
0
0
0
0
0.175439
0.134503
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c8657a8c0a88d1cd1bd12e0d16b56dc5546e1b6c
2,300
py
Python
render_object.py
VanGy-code/3D-House-Blender
8a9d91b1f3cc3988c0dcd7079223f2e541f9ec71
[ "MIT" ]
null
null
null
render_object.py
VanGy-code/3D-House-Blender
8a9d91b1f3cc3988c0dcd7079223f2e541f9ec71
[ "MIT" ]
null
null
null
render_object.py
VanGy-code/3D-House-Blender
8a9d91b1f3cc3988c0dcd7079223f2e541f9ec71
[ "MIT" ]
1
2021-11-22T00:50:45.000Z
2021-11-22T00:50:45.000Z
import bpy import os import json import numpy as np from decimal import Decimal from mathutils import Vector, Matrix import argparse import numpy as np import sys sys.path.append(os.path.dirname(__file__)) sys.path.append(os.path.dirname(__file__)+'/tools') from tools.utils import * from tools.blender_interface import...
41.818182
112
0.694348
341
2,300
4.478006
0.354839
0.045842
0.039293
0.049771
0.27112
0.228553
0.228553
0.18926
0.1611
0.1611
0
0.058452
0.174348
2,300
55
113
41.818182
0.745656
0.005217
0
0.047619
0
0
0.139047
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c866107dba038466832105575d5f0486fb0c0c27
1,281
py
Python
resources/tests/test_users.py
pacofvf/agency_performance_model
1692d7e11ac3141715845d2a4ecf416563539f89
[ "MIT" ]
2
2018-01-10T05:51:31.000Z
2018-01-18T21:25:45.000Z
resources/tests/test_users.py
pacofvf/pivot_table_api
1692d7e11ac3141715845d2a4ecf416563539f89
[ "MIT" ]
null
null
null
resources/tests/test_users.py
pacofvf/pivot_table_api
1692d7e11ac3141715845d2a4ecf416563539f89
[ "MIT" ]
null
null
null
#!/usr/bin/python import unittest import json import base64 from mock import patch import api class UserTests(unittest.TestCase): def setUp(self): api.app.testing = True self.app = api.app.test_client() def test_user_creation(self): with patch('models.db.session'): respons...
33.710526
103
0.565183
133
1,281
5.345865
0.406015
0.067511
0.036568
0.053446
0.495077
0.495077
0.495077
0.495077
0.495077
0.495077
0
0.017798
0.298205
1,281
37
104
34.621622
0.773081
0.01249
0
0.333333
0
0
0.137658
0
0
0
0
0
0.2
0
null
null
0.033333
0.166667
null
null
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c86659332f0223beeafc6e01030a75e258e463d5
2,717
py
Python
mapel/elections/features/clustering.py
kaszperro/mapel
d4e6486ee97f5d5a5a737c581ba3f9f874ebcef3
[ "MIT" ]
null
null
null
mapel/elections/features/clustering.py
kaszperro/mapel
d4e6486ee97f5d5a5a737c581ba3f9f874ebcef3
[ "MIT" ]
null
null
null
mapel/elections/features/clustering.py
kaszperro/mapel
d4e6486ee97f5d5a5a737c581ba3f9f874ebcef3
[ "MIT" ]
null
null
null
import numpy as np def clustering_v1(experiment, num_clusters=20): from scipy.cluster.hierarchy import dendrogram, linkage, fcluster import scipy.spatial.distance as ssd # skip the paths SKIP = ['UNID', 'ANID', 'STID', 'ANUN', 'STUN', 'STAN', 'Mallows', 'Urn', 'I...
33.54321
79
0.606183
375
2,717
4.298667
0.274667
0.049628
0.050248
0.042184
0.30273
0.198511
0.165012
0.109181
0.073201
0.073201
0
0.022582
0.250276
2,717
80
80
33.9625
0.768778
0.382407
0
0.105263
0
0
0.061743
0
0
0
0
0
0
1
0.052632
false
0
0.105263
0
0.210526
0.026316
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c86693ef8ab98f83a2f7c7800edbe9c593122043
561
py
Python
day15-1.py
kenleung5e28/advent-of-code-2021
f6de211f0d4f3bafa19572bf28e3407f0fab6d58
[ "MIT" ]
null
null
null
day15-1.py
kenleung5e28/advent-of-code-2021
f6de211f0d4f3bafa19572bf28e3407f0fab6d58
[ "MIT" ]
null
null
null
day15-1.py
kenleung5e28/advent-of-code-2021
f6de211f0d4f3bafa19572bf28e3407f0fab6d58
[ "MIT" ]
null
null
null
import math grid = [] with open('input-day15.txt') as file: for line in file: line = line.rstrip() grid.append([int(s) for s in line]) n = len(grid) costs = [[math.inf] * n for _ in range(n)] costs[0][0] = 0 queue = [(0, 0)] while len(queue) > 0: x1, y1 = queue.pop(0) for dx, dy in [(1, 0), (0, 1), (-1,...
24.391304
51
0.504456
108
561
2.611111
0.342593
0.035461
0.021277
0.028369
0
0
0
0
0
0
0
0.066667
0.278075
561
23
52
24.391304
0.62963
0
0
0
0
0
0.02669
0
0
0
0
0
0
1
0
false
0
0.05
0
0.05
0.05
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c8669721869b7d885f2345a687dcb60a71f978c7
2,930
py
Python
OSMTagFinder/thesaurus/relatedterm.py
geometalab/OSMTagFinder
9ffe854a2bebbd7f96facd7e236434e761fee884
[ "MIT" ]
20
2015-01-18T19:57:40.000Z
2020-06-15T22:06:42.000Z
OSMTagFinder/thesaurus/relatedterm.py
geometalab/OSMTagFinder
9ffe854a2bebbd7f96facd7e236434e761fee884
[ "MIT" ]
4
2015-01-18T22:16:15.000Z
2021-03-31T18:32:22.000Z
OSMTagFinder/thesaurus/relatedterm.py
geometalab/OSMTagFinder
9ffe854a2bebbd7f96facd7e236434e761fee884
[ "MIT" ]
2
2019-01-16T15:43:41.000Z
2020-06-15T22:03:31.000Z
# -*- coding: utf-8 -*- ''' Created on 16.11.2014 @author: Simon Gwerder ''' from utilities.configloader import ConfigLoader from rdfgraph import RDFGraph class RelatedTerm: rdfGraph = RDFGraph() cl = ConfigLoader() termSchemeName = cl.getThesaurusString('TERM_SCHEME_NAME') termSchemeTitle = cl.g...
34.880952
146
0.713652
267
2,930
7.797753
0.329588
0.126801
0.067243
0.0317
0
0
0
0
0
0
0
0.005471
0.189079
2,930
83
147
35.301205
0.870791
0.033788
0
0.12963
0
0
0.027315
0
0
0
0
0
0
1
0.222222
false
0
0.037037
0
0.537037
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
c86731656ffa6ef2b38ba405b2722abcba4b7c94
1,217
py
Python
Algorithms/Sorting and Searching/sorting/merge sort/merge-sort-return-list.py
bulentsiyah/Python-Basics-Algorithms-Data-Structures-Object-Oriented-Programming-Job-Interview-Questions
3a67bdac1525495e6874c5bde61882848f60381d
[ "MIT" ]
14
2021-01-23T11:28:16.000Z
2021-12-07T16:08:23.000Z
Algorithms/Sorting and Searching/sorting/merge sort/merge-sort-return-list.py
bulentsiyah/Python-Basics-Algorithms-Data-Structures-Object-Oriented-Programming-Job-Interview-Questions
3a67bdac1525495e6874c5bde61882848f60381d
[ "MIT" ]
null
null
null
Algorithms/Sorting and Searching/sorting/merge sort/merge-sort-return-list.py
bulentsiyah/Python-Basics-Algorithms-Data-Structures-Object-Oriented-Programming-Job-Interview-Questions
3a67bdac1525495e6874c5bde61882848f60381d
[ "MIT" ]
2
2021-02-03T12:28:19.000Z
2021-09-14T09:50:08.000Z
arr: list = [54,26,93,17,77,31,44,55,20] def merge_sort(arr: list): result: list = helper(arr, 0, len(arr) - 1) for i in range(len(arr)): arr[i] = result[i] def helper(arr: list, start: int, end: int) -> list: if start > end: return [] elif start == end: return [arr[start...
24.836735
61
0.474117
154
1,217
3.733766
0.266234
0.048696
0.015652
0.05913
0.114783
0.114783
0.062609
0.062609
0
0
0
0.040486
0.391126
1,217
48
62
25.354167
0.735493
0
0
0.394737
0
0
0
0
0
0
0
0
0
1
0.078947
false
0
0
0
0.184211
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c867bd2b7a6b9e73aa95e644913f2d2ac179784c
3,406
py
Python
cve-manager/cve_manager/handler/task_handler/callback/cve_scan.py
seandong37tt4qu/jeszhengq
32b3737ab45e89e8c5b71cdce871cefd2c938fa8
[ "MulanPSL-1.0" ]
null
null
null
cve-manager/cve_manager/handler/task_handler/callback/cve_scan.py
seandong37tt4qu/jeszhengq
32b3737ab45e89e8c5b71cdce871cefd2c938fa8
[ "MulanPSL-1.0" ]
null
null
null
cve-manager/cve_manager/handler/task_handler/callback/cve_scan.py
seandong37tt4qu/jeszhengq
32b3737ab45e89e8c5b71cdce871cefd2c938fa8
[ "MulanPSL-1.0" ]
null
null
null
#!/usr/bin/python3 # ****************************************************************************** # Copyright (c) Huawei Technologies Co., Ltd. 2021-2022. All rights reserved. # licensed under the Mulan PSL v2. # You can use this software according to the terms and conditions of the Mulan PSL v2. # You may obtain a c...
40.547619
98
0.625954
458
3,406
4.412664
0.310044
0.083127
0.058882
0.044532
0.361702
0.335972
0.335972
0.335972
0.335972
0.335972
0
0.006442
0.225191
3,406
83
99
41.036145
0.759379
0.3165
0
0.333333
0
0.083333
0.113595
0
0
0
0
0
0
1
0.138889
false
0
0.083333
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c867e56be1f71eb568a6e918ed29a6d7c65c450d
58
py
Python
mean-var-std/main.py
PedroEduardoSS/Data-Analisys-projects
f06c2d7091a9a61509525019f2f0375e21698f6a
[ "MIT" ]
null
null
null
mean-var-std/main.py
PedroEduardoSS/Data-Analisys-projects
f06c2d7091a9a61509525019f2f0375e21698f6a
[ "MIT" ]
null
null
null
mean-var-std/main.py
PedroEduardoSS/Data-Analisys-projects
f06c2d7091a9a61509525019f2f0375e21698f6a
[ "MIT" ]
null
null
null
from mean_var_std import * calculate([0,1,2,3,4,5,6,7,8])
19.333333
30
0.689655
15
58
2.533333
1
0
0
0
0
0
0
0
0
0
0
0.169811
0.086207
58
3
30
19.333333
0.54717
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
c86aa619ebc8f014032a97d24de5e8f90b466d18
2,416
py
Python
tests/result/test_gatling.py
LaudateCorpus1/perfsize
710d6a5ae0918002e736f3aba8cd5cacb2b11326
[ "Apache-2.0" ]
5
2021-08-02T22:44:32.000Z
2022-01-07T20:53:48.000Z
tests/result/test_gatling.py
intuit/perfsize
710d6a5ae0918002e736f3aba8cd5cacb2b11326
[ "Apache-2.0" ]
1
2022-02-24T08:05:51.000Z
2022-02-24T08:05:51.000Z
tests/result/test_gatling.py
LaudateCorpus1/perfsize
710d6a5ae0918002e736f3aba8cd5cacb2b11326
[ "Apache-2.0" ]
1
2022-02-24T08:05:41.000Z
2022-02-24T08:05:41.000Z
from datetime import datetime from decimal import Decimal from perfsize.perfsize import ( lt, lte, gt, gte, eq, neq, Condition, Result, Run, Config, Plan, StepManager, EnvironmentManager, LoadManager, ResultManager, Reporter, Workflow, ) from perfsize....
33.09589
77
0.591474
250
2,416
5.616
0.464
0.059829
0.029915
0.02849
0.076923
0.076923
0.039886
0
0
0
0
0.032895
0.307947
2,416
72
78
33.555556
0.806818
0.101407
0
0.060606
0
0
0.168513
0.051708
0
0
0
0
0
1
0.015152
false
0
0.181818
0
0.212121
0.030303
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c86bfc31df7a20be6ab83d39b12b217359bfd5df
3,904
py
Python
__main__.py
GbaCretin/dmf2mlm
8a0d3d219aecb9aa14a66537e2deb02651bdfe7d
[ "MIT" ]
2
2021-06-13T15:55:55.000Z
2021-09-14T08:21:53.000Z
__main__.py
GbaCretin/dmf2mlm
8a0d3d219aecb9aa14a66537e2deb02651bdfe7d
[ "MIT" ]
6
2022-03-22T10:02:35.000Z
2022-03-31T19:28:13.000Z
__main__.py
GbaCretin/dmf2mlm
8a0d3d219aecb9aa14a66537e2deb02651bdfe7d
[ "MIT" ]
null
null
null
from src import dmf,mzs,utils,sfx from pathlib import Path import argparse def print_info(mlm_sdata): if len(mlm_sdata.songs) <= 0: return for i in range(len(mlm_sdata.songs[0].channels)): channel = mlm_sdata.songs[0].channels[i] print("\n================[ {0:01X} ]================".format(i)) if channel == N...
30.984127
144
0.649846
592
3,904
4.109797
0.258446
0.036169
0.039457
0.023017
0.228524
0.166872
0.125771
0.102754
0.054254
0.026305
0
0.015858
0.160092
3,904
126
145
30.984127
0.726136
0.015625
0
0.15534
0
0
0.1848
0.021864
0
0
0
0
0
1
0.019417
false
0
0.029126
0
0.048544
0.281553
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c06e2030a941664f4cc84a738c586a21db2c9695
1,169
py
Python
python/8.Making-a-POST-Request.py
17nikhil/codecademy
58fbd652691c9df8139544965ebb0e9748142538
[ "Apache-2.0" ]
null
null
null
python/8.Making-a-POST-Request.py
17nikhil/codecademy
58fbd652691c9df8139544965ebb0e9748142538
[ "Apache-2.0" ]
null
null
null
python/8.Making-a-POST-Request.py
17nikhil/codecademy
58fbd652691c9df8139544965ebb0e9748142538
[ "Apache-2.0" ]
1
2018-10-03T14:36:31.000Z
2018-10-03T14:36:31.000Z
# Using the Requests library, you can make a POST request by using the requests.post() method. You aren't just GETting data with a POST - you can pass your own data into the request as well, like so: # # requests.post("http://placekitten.com/", data="myDataToPost") # We're going to make the same request as the one show...
53.136364
271
0.726262
203
1,169
4.182266
0.497537
0.056537
0.037691
0.028269
0.106007
0
0
0
0
0
0
0.013292
0.163388
1,169
21
272
55.666667
0.854806
0.846022
0
0
0
0
0.319444
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
c06f05eaa2d985c3d75a5edbcfcca422b525cddf
2,630
py
Python
python/zephyr/models/__init__.py
r-pad/zephyr
c8f45e207c11bfc2b21df169db65a7df892d2848
[ "MIT" ]
18
2021-05-27T04:40:38.000Z
2022-02-08T19:46:31.000Z
python/zephyr/models/__init__.py
r-pad/zephyr
c8f45e207c11bfc2b21df169db65a7df892d2848
[ "MIT" ]
null
null
null
python/zephyr/models/__init__.py
r-pad/zephyr
c8f45e207c11bfc2b21df169db65a7df892d2848
[ "MIT" ]
2
2021-11-07T12:42:00.000Z
2022-03-01T12:51:54.000Z
import numpy as np import torch import torch.nn as nn import torch.nn.functional as F import time from functools import partial from .linear import MLP, LogReg from .pointnet import PointNet from .pointnet2 import PointNet2SSG from .pointnet3 import PointNet3SSG from .dgcnn import DGCNN # from .masked_co...
43.114754
107
0.646388
330
2,630
4.942424
0.20303
0.11588
0.103617
0.098099
0.674433
0.648069
0.621091
0.601471
0.601471
0.543838
0
0.010251
0.258175
2,630
60
108
43.833333
0.82573
0.087452
0
0.333333
0
0
0.039417
0
0
0
0
0
0
1
0.019608
false
0
0.254902
0
0.294118
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c070571b2741261b60b7d7b775818838f5089fed
1,938
py
Python
golpy/main.py
dkuska/golpy
a7bc73693090c252fa5ac587fe0d6c77472d9e9c
[ "MIT" ]
1
2021-01-06T09:19:19.000Z
2021-01-06T09:19:19.000Z
golpy/main.py
dkuska/golpy
a7bc73693090c252fa5ac587fe0d6c77472d9e9c
[ "MIT" ]
null
null
null
golpy/main.py
dkuska/golpy
a7bc73693090c252fa5ac587fe0d6c77472d9e9c
[ "MIT" ]
null
null
null
import golpy.controller.controller as controller import golpy.view.view as view import golpy.model.gamemodel as model import golpy.eventmanager.eventmanager as eventm import golpy.config as config import log.log as log import argparse def pass_args(): """ Takes Argument from the command line and returns an Argum...
46.142857
134
0.697626
250
1,938
5.26
0.364
0.041065
0.077567
0.045627
0.123194
0
0
0
0
0
0
0.006423
0.196594
1,938
41
135
47.268293
0.83815
0.034056
0
0
0
0.03125
0.244504
0
0
0
0
0
0
1
0.0625
false
0.0625
0.21875
0
0.3125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
c07059d11303ea7e0150379f0e66db3230da9433
2,899
py
Python
tests/orca_unit_testing/test_series_str.py
jiajiaxu123/Orca
e86189e70c1d0387816bb98b8047a6232fbda9df
[ "Apache-2.0" ]
20
2019-12-02T11:49:12.000Z
2021-12-24T19:34:32.000Z
tests/orca_unit_testing/test_series_str.py
jiajiaxu123/Orca
e86189e70c1d0387816bb98b8047a6232fbda9df
[ "Apache-2.0" ]
null
null
null
tests/orca_unit_testing/test_series_str.py
jiajiaxu123/Orca
e86189e70c1d0387816bb98b8047a6232fbda9df
[ "Apache-2.0" ]
5
2019-12-02T12:16:22.000Z
2021-10-22T02:27:47.000Z
import unittest import orca from setup.settings import * from pandas.util.testing import * class SeriesStrTest(unittest.TestCase): def setUp(self): self.PRECISION = 5 @classmethod def setUpClass(cls): # connect to a DolphinDB server orca.connect(HOST, PORT, "admin", "123456") @p...
43.924242
118
0.675405
449
2,899
4.164811
0.191537
0.064171
0.172727
0.213369
0.55615
0.512299
0.51123
0.395722
0.250267
0.208556
0
0.013861
0.153846
2,899
65
119
44.6
0.748471
0.061745
0
0.085106
0
0
0.016937
0
0
0
0
0.015385
0.382979
1
0.276596
false
0
0.085106
0.085106
0.468085
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
0
0
0
3
c0712a7efbb3bde035967d1fd7d0d7a42cb89f4b
278
py
Python
inputs/in4.py
mabbaszade/transportation-problem
64ab4db7f836513c388073b5e2e9c64d7c439fde
[ "MIT" ]
null
null
null
inputs/in4.py
mabbaszade/transportation-problem
64ab4db7f836513c388073b5e2e9c64d7c439fde
[ "MIT" ]
null
null
null
inputs/in4.py
mabbaszade/transportation-problem
64ab4db7f836513c388073b5e2e9c64d7c439fde
[ "MIT" ]
null
null
null
ITERATION_NUM = 10 MAX_POPULATION = 500 CROSSOVER_RATE = 1 MUTATION_RATE = 1 supplies = { 'S1': 20, 'S2': 15, 'S3': 40 } demands = { 'D1': 20, 'D2': 30, 'D3': 25 } cost = [[2, 3, 1], [5, 4, 8], [5, 6, 8] ]
12.636364
21
0.406475
36
278
3.027778
0.833333
0.091743
0
0
0
0
0
0
0
0
0
0.209877
0.417266
278
21
22
13.238095
0.462963
0
0
0
0
0
0.046693
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c0712de2126b7958548be086996c8304d5bf2f45
89
py
Python
Project/Connect/apps.py
AashishKhanal69/PeakyBlinders_ADC7_PartII
a4474c02be4ee8f8405b51df2f1d215e56ac192d
[ "bzip2-1.0.6" ]
null
null
null
Project/Connect/apps.py
AashishKhanal69/PeakyBlinders_ADC7_PartII
a4474c02be4ee8f8405b51df2f1d215e56ac192d
[ "bzip2-1.0.6" ]
null
null
null
Project/Connect/apps.py
AashishKhanal69/PeakyBlinders_ADC7_PartII
a4474c02be4ee8f8405b51df2f1d215e56ac192d
[ "bzip2-1.0.6" ]
null
null
null
from django.apps import AppConfig class ConnectConfig(AppConfig): name = 'Connect'
14.833333
33
0.752809
10
89
6.7
0.9
0
0
0
0
0
0
0
0
0
0
0
0.168539
89
5
34
17.8
0.905405
0
0
0
0
0
0.078652
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
c072ef7683ac75d9de6d4b4eb8e1ab74898e3920
914
py
Python
spatial/edge.py
jbschwartz/spatial
04dc619ae024ebb4f516cd6483f835421c7d84b1
[ "MIT" ]
1
2022-01-02T22:03:09.000Z
2022-01-02T22:03:09.000Z
spatial/edge.py
jbschwartz/spatial
04dc619ae024ebb4f516cd6483f835421c7d84b1
[ "MIT" ]
null
null
null
spatial/edge.py
jbschwartz/spatial
04dc619ae024ebb4f516cd6483f835421c7d84b1
[ "MIT" ]
null
null
null
from functools import cached_property from .vector3 import Vector3 class Edge: """An edge created by two points.""" def __init__(self, start: Vector3, end: Vector3) -> None: self.start = start self.end = end def __eq__(self, other: object) -> bool: """Return True if this edge is...
26.114286
67
0.591904
115
914
4.608696
0.347826
0.084906
0.045283
0.060377
0
0
0
0
0
0
0
0.007899
0.30744
914
34
68
26.882353
0.829384
0.167396
0
0.2
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.1
0
0.65
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c07358522633a4b5223edee437652e807e46cb27
1,054
py
Python
timer.py
ryanleesmith/race-timer
3a058e3689c9435751b06909d5b7a14db618d2da
[ "MIT" ]
null
null
null
timer.py
ryanleesmith/race-timer
3a058e3689c9435751b06909d5b7a14db618d2da
[ "MIT" ]
null
null
null
timer.py
ryanleesmith/race-timer
3a058e3689c9435751b06909d5b7a14db618d2da
[ "MIT" ]
null
null
null
from gps import * import math import time import json import threading gpsd = None poller = None class Poller(threading.Thread): def __init__(self): threading.Thread.__init__(self) global gpsd gpsd = gps(mode=WATCH_ENABLE|WATCH_NEWSTYLE) self.current_value = None self.run...
23.422222
80
0.555028
118
1,054
4.864407
0.483051
0.052265
0.04878
0
0
0
0
0
0
0
0
0.009957
0.333017
1,054
44
81
23.954545
0.806543
0.051233
0
0.058824
0
0
0.047141
0
0
0
0
0
0
1
0.088235
false
0
0.147059
0
0.264706
0.029412
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c073994563fd9d56aecce3609828c1cbf0a8170a
31,133
py
Python
vkwave/bots/addons/easy/easy_handlers.py
amishakov/vkwave
377d470fc4b84b64516fffcabc6d682bf86b5d7f
[ "MIT" ]
null
null
null
vkwave/bots/addons/easy/easy_handlers.py
amishakov/vkwave
377d470fc4b84b64516fffcabc6d682bf86b5d7f
[ "MIT" ]
null
null
null
vkwave/bots/addons/easy/easy_handlers.py
amishakov/vkwave
377d470fc4b84b64516fffcabc6d682bf86b5d7f
[ "MIT" ]
null
null
null
import json import random import warnings from typing import Any, Callable, Dict, List, Union, Type, Optional, NoReturn from pydantic import PrivateAttr from vkwave.bots import BotEvent, BotType, EventTypeFilter, UserEvent from vkwave.bots.core import BaseFilter from vkwave.bots.core.dispatching.filters.builtin impor...
37.195938
335
0.615039
3,392
31,133
5.470224
0.107311
0.049798
0.050121
0.025653
0.708165
0.686607
0.654056
0.644193
0.62533
0.62533
0
0.011421
0.285678
31,133
836
336
37.240431
0.822564
0.019561
0
0.718287
0
0
0.016382
0.002964
0
0
0
0
0
1
0.049423
false
0
0.028007
0.01318
0.163097
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c074c692de4483f97d3f233f58a66ad3a9239b2d
1,337
py
Python
src/scs_core/osio/data/message_body.py
seoss/scs_core
0d4323c5697a39eb44a887f179ba5dca3716c1d2
[ "MIT" ]
3
2019-03-12T01:59:58.000Z
2020-09-12T07:27:42.000Z
src/scs_core/osio/data/message_body.py
seoss/scs_core
0d4323c5697a39eb44a887f179ba5dca3716c1d2
[ "MIT" ]
1
2018-04-20T07:58:38.000Z
2021-03-27T08:52:45.000Z
src/scs_core/osio/data/message_body.py
seoss/scs_core
0d4323c5697a39eb44a887f179ba5dca3716c1d2
[ "MIT" ]
4
2017-09-29T13:08:43.000Z
2019-10-09T09:13:58.000Z
""" Created on 7 Nov 2016 @author: Bruno Beloff (bruno.beloff@southcoastscience.com) example: 25 June 2016 17:44:28 BST: {"datum":{"conc":92,"dens":184},"measured-at":"2016-06-25T17:41:01+01:00"} """ from collections import OrderedDict from scs_core.data.json import JSONable # ------------------------------------...
25.711538
118
0.324607
88
1,337
4.772727
0.613636
0.095238
0
0
0
0
0
0
0
0
0
0.036199
0.173523
1,337
51
119
26.215686
0.343891
0.592371
0
0
0
0
0.050607
0.04251
0
0
0
0
0
1
0.285714
false
0
0.142857
0.142857
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
c078fecfd19302ee3b513baaaa01bf856eb712e7
24,154
py
Python
pysnmp/CISCO-FC-PM-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/CISCO-FC-PM-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/CISCO-FC-PM-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module CISCO-FC-PM-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-FC-PM-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 17:40:52 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27...
137.238636
3,967
0.770928
2,569
24,154
7.247567
0.083301
0.008916
0.012729
0.016972
0.359418
0.335893
0.167678
0.167678
0.167678
0.164456
0
0.069463
0.079159
24,154
175
3,968
138.022857
0.767647
0.013414
0
0.023952
0
0
0.17006
0.056085
0
0
0
0
0
1
0
false
0
0.053892
0
0.053892
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c078ff18aa77981230542dee77a093f9d2cdb667
13,841
py
Python
layer_manager/models.py
lueho/BRIT
1eae630c4da6f072aa4e2139bc406db4f4756391
[ "MIT" ]
null
null
null
layer_manager/models.py
lueho/BRIT
1eae630c4da6f072aa4e2139bc406db4f4756391
[ "MIT" ]
4
2022-03-29T20:52:31.000Z
2022-03-29T20:52:31.000Z
layer_manager/models.py
lueho/BRIT
1eae630c4da6f072aa4e2139bc406db4f4756391
[ "MIT" ]
null
null
null
import django.contrib.gis.db.models as gis_models from django.apps import apps from django.db import models, connection from django.urls import reverse from distributions.models import TemporalDistribution, Timestep from inventories.models import Scenario, InventoryAlgorithm from materials.models import SampleSeries, ...
40.589443
134
0.627556
1,502
13,841
5.613848
0.198402
0.044355
0.016603
0.024905
0.206001
0.158563
0.11741
0.093216
0.060721
0.048387
0
0.003841
0.285312
13,841
340
135
40.708824
0.848565
0.147027
0
0.109649
0
0
0.072821
0.01277
0
0
0
0.008824
0
1
0.078947
false
0.004386
0.035088
0.017544
0.328947
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c07be394b73091661999efe65e37d5d6f073209b
4,205
py
Python
src/evaluation/regression.py
lyonva/Nue
90680de00b0c76f6bfdbed71b785671e7c3a3f54
[ "Apache-2.0" ]
null
null
null
src/evaluation/regression.py
lyonva/Nue
90680de00b0c76f6bfdbed71b785671e7c3a3f54
[ "Apache-2.0" ]
null
null
null
src/evaluation/regression.py
lyonva/Nue
90680de00b0c76f6bfdbed71b785671e7c3a3f54
[ "Apache-2.0" ]
null
null
null
from evaluation import MetricScorer from .formulas import mar, sa, sd, sdar, effect_size, mmre, mdmre, pred25, pred40 from baseline import MARP0 class MAR(MetricScorer): def setConstants(self): self.name = "mar" self.problem = "regression" self.greater_is_better = False self.lo...
31.616541
81
0.617122
545
4,205
4.625688
0.095413
0.0357
0.06426
0.0714
0.90004
0.894486
0.694962
0.694962
0.694962
0.694962
0
0.020518
0.292985
4,205
133
82
31.616541
0.827447
0.085375
0
0.720721
0
0
0.034663
0
0
0
0
0
0
1
0.162162
false
0
0.027027
0.081081
0.351351
0
0
0
0
null
0
0
0
1
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
c07ca44e33380193eabc6f8bec1ebe24f8d013c9
8,212
py
Python
bin/CAD/Abaqus/AbaqusGeometry.py
lefevre-fraser/openmeta-mms
08f3115e76498df1f8d70641d71f5c52cab4ce5f
[ "MIT" ]
null
null
null
bin/CAD/Abaqus/AbaqusGeometry.py
lefevre-fraser/openmeta-mms
08f3115e76498df1f8d70641d71f5c52cab4ce5f
[ "MIT" ]
null
null
null
bin/CAD/Abaqus/AbaqusGeometry.py
lefevre-fraser/openmeta-mms
08f3115e76498df1f8d70641d71f5c52cab4ce5f
[ "MIT" ]
null
null
null
""" AbaqusGeometry.py For use with Abaqus 6.13-1 (Python 2.6.2). Created by Ozgur Yapar <oyapar@isis.vanderbilt.edu> Robert Boyles <rboyles@isis.vanderbilt.edu> - Includes modules which take care of geometrical operations in the part and assembly level. """ import re import mat...
53.673203
121
0.565392
853
8,212
5.443142
0.33177
0.010554
0.008615
0.012923
0.183502
0.155503
0.146888
0.12255
0.12255
0.12255
0
0.011276
0.352046
8,212
153
122
53.673203
0.861304
0.353385
0
0.12381
0
0
0.006761
0
0
0
0
0
0
1
0.085714
false
0.009524
0.057143
0
0.247619
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c07dacc643d713f89a754dcc9e2a89ae590b2576
2,143
py
Python
analysis/11-compress-jacobians.py
lmjohns3/cube-experiment
ab6d1a9df95efebc369d184ab1c748d73d5c3313
[ "MIT" ]
null
null
null
analysis/11-compress-jacobians.py
lmjohns3/cube-experiment
ab6d1a9df95efebc369d184ab1c748d73d5c3313
[ "MIT" ]
null
null
null
analysis/11-compress-jacobians.py
lmjohns3/cube-experiment
ab6d1a9df95efebc369d184ab1c748d73d5c3313
[ "MIT" ]
null
null
null
import climate import glob import gzip import io import lmj.cubes import logging import numpy as np import os import pandas as pd import pickle import theanets def compress(source, k, activation, **kwargs): fns = sorted(glob.glob(os.path.join(source, '*', '*_jac.csv.gz'))) logging.info('%s: found %d jacobians...
30.614286
76
0.591227
314
2,143
3.961783
0.423567
0.026527
0.016077
0.025723
0.033762
0
0
0
0
0
0
0.022797
0.24265
2,143
69
77
31.057971
0.743685
0.027532
0
0
0
0
0.147454
0
0
0
0
0
0
1
0.055556
false
0
0.203704
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c07f103a6a6e92a6245209f932b8d90c064fd018
21,369
py
Python
commerce/views.py
zlkca/ehetuan-api
da84cd4429bd33e8fe191327ec267bf105f41453
[ "MIT" ]
1
2020-05-27T18:17:01.000Z
2020-05-27T18:17:01.000Z
commerce/views.py
zlkca/ehetuan-api
da84cd4429bd33e8fe191327ec267bf105f41453
[ "MIT" ]
6
2020-06-05T18:14:56.000Z
2021-09-07T23:53:08.000Z
commerce/views.py
zlkca/ehetuan-api
da84cd4429bd33e8fe191327ec267bf105f41453
[ "MIT" ]
null
null
null
import json import os import logging from datetime import datetime from django.db.models import Q,Count from django.http import JsonResponse from django.views.generic import View from django.views.decorators.csrf import csrf_exempt from django.utils.decorators import method_decorator from django.conf import settings fr...
36.15736
126
0.530675
2,240
21,369
4.959375
0.1125
0.05509
0.049509
0.024485
0.494734
0.434423
0.394815
0.299037
0.273382
0.231794
0
0.003437
0.346436
21,369
590
127
36.218644
0.791995
0.094904
0
0.411392
0
0
0.077881
0.00109
0
0
0
0
0
1
0.061181
false
0.004219
0.033755
0
0.202532
0.008439
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c07fe33cae576add35e02a5f464a4a05467459e8
5,666
py
Python
api/views.py
huatxu/erasmusbackend
d8f86ee857a292a133106e75e9c920b905b5b10d
[ "MIT" ]
null
null
null
api/views.py
huatxu/erasmusbackend
d8f86ee857a292a133106e75e9c920b905b5b10d
[ "MIT" ]
null
null
null
api/views.py
huatxu/erasmusbackend
d8f86ee857a292a133106e75e9c920b905b5b10d
[ "MIT" ]
null
null
null
from django.shortcuts import render from api.models import Comida, Cerveza, Titulo, TipoComida from django.http import Http404 from rest_framework.views import APIView from rest_framework.response import Response from rest_framework import serializers import csv import os class CervezaSerializer(serializers.ModelSer...
39.901408
300
0.55683
563
5,666
5.474245
0.246892
0.057106
0.074951
0.029202
0.249838
0.170019
0.170019
0.153147
0.112914
0.112914
0
0.006157
0.312037
5,666
142
301
39.901408
0.784248
0.015355
0
0.290598
0
0
0.16958
0.022346
0
0
0
0
0
1
0.051282
false
0.017094
0.08547
0.008547
0.282051
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c081b2d11a5b435dcb1b7be483e436c803475836
232
gyp
Python
binding.gyp
sony/node-win-usbdev
bcdbd277419f1e34b1778390ec1624ccce63068d
[ "Apache-2.0" ]
3
2017-06-28T12:00:36.000Z
2021-11-08T12:34:26.000Z
binding.gyp
sony/node-win-usbdev
bcdbd277419f1e34b1778390ec1624ccce63068d
[ "Apache-2.0" ]
1
2018-02-16T04:32:55.000Z
2018-02-16T04:32:55.000Z
binding.gyp
sony/node-win-usbdev
bcdbd277419f1e34b1778390ec1624ccce63068d
[ "Apache-2.0" ]
3
2017-07-31T23:19:07.000Z
2022-03-25T17:02:51.000Z
{ "targets": [ { "target_name": "usb_dev", "sources": [ "usb_dev.cc" ], "include_dirs" : [ "<!(node -e \"require('nan')\")" ], "libraries": [ "-lsetupapi" ] } ] }
15.466667
42
0.37069
18
232
4.611111
0.888889
0.144578
0
0
0
0
0
0
0
0
0
0
0.396552
232
14
43
16.571429
0.585714
0
0
0
0
0
0.385281
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
c083ad9611b00848cfe7baab07a7e05df20d4b0d
1,011
py
Python
insert_table.py
Cassiel60/python
3f451e398a8705a5859d347d5fcdcfd9a5671e1c
[ "MIT" ]
null
null
null
insert_table.py
Cassiel60/python
3f451e398a8705a5859d347d5fcdcfd9a5671e1c
[ "MIT" ]
null
null
null
insert_table.py
Cassiel60/python
3f451e398a8705a5859d347d5fcdcfd9a5671e1c
[ "MIT" ]
1
2019-12-19T00:34:02.000Z
2019-12-19T00:34:02.000Z
''' table AD contains RS,ADID;table Parkinson contains RS,PDID;table variant contains ADID, PDID insert table variant one way: below two way: by merge ''' import sys ,re import pandas as pd varfil1=r'C:\Users\BAIOMED07\Desktop\AD_Database_20170629.xls' varfil2=r'C:\Users\BAIOMED07\Desktop\parkinson_TOTAL.xls' varfil...
25.275
87
0.723046
177
1,011
4.056497
0.463277
0.008357
0.029248
0.066852
0.0961
0
0
0
0
0
0
0.063527
0.096934
1,011
39
88
25.923077
0.722892
0.05638
0
0
0
0
0.299371
0.187421
0
0
0
0
0
0
null
null
0
0.083333
null
null
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c08a254cca4494b2d1aa73495456b23d2cb83ea5
390
py
Python
1_Ejemplo_practico_ECG/utils.py
IEEE-UPIBI/Comunicacion-Serial-Python-Arduino
806916a5d47e8d29933e1402296e2ca6d5d5a79e
[ "MIT" ]
null
null
null
1_Ejemplo_practico_ECG/utils.py
IEEE-UPIBI/Comunicacion-Serial-Python-Arduino
806916a5d47e8d29933e1402296e2ca6d5d5a79e
[ "MIT" ]
1
2021-04-23T23:20:42.000Z
2021-04-23T23:20:42.000Z
2_Ejemplo_practico_SensorMPU6050/utils.py
IEEE-UPIBI/Comunicacion-Serial-Python-Arduino
806916a5d47e8d29933e1402296e2ca6d5d5a79e
[ "MIT" ]
null
null
null
import serial import time ### FUNCTIONS #### #### SERIAL COMMUNICATION #### def arduino_communication(COM="COM5",BAUDRATE=9600,TIMEOUT=1): """ Initalizes connection with Arduino Board """ try: arduino = serial.Serial(COM, BAUDRATE , timeout=TIMEOUT) time.sleep(2) except: ...
16.956522
64
0.628205
42
390
5.809524
0.690476
0
0
0
0
0
0
0
0
0
0
0.023973
0.251282
390
22
65
17.727273
0.811644
0.189744
0
0
0
0
0.123711
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0
0.444444
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c08b025b2f074208a6371fa035f6cf38f392405a
3,595
py
Python
trav_lib/visualize.py
thwhitfield/trav_lib
46185f5545d958eba1538c769a98d07908dd0d19
[ "MIT" ]
null
null
null
trav_lib/visualize.py
thwhitfield/trav_lib
46185f5545d958eba1538c769a98d07908dd0d19
[ "MIT" ]
null
null
null
trav_lib/visualize.py
thwhitfield/trav_lib
46185f5545d958eba1538c769a98d07908dd0d19
[ "MIT" ]
null
null
null
"""Classes and functions used for data visualization""" import pandas as pd import numpy as np import seaborn as sns import matplotlib.pyplot as plt def plot_correlation_matrix_heat_map(df,label,qty_fields=10): df = pd.concat([df[label],df.drop(label,axis=1)],axis=1) correlation_matrix = df.corr() index =...
35.594059
97
0.662309
574
3,595
4.026132
0.364112
0.019039
0.011683
0.02077
0.098659
0.043271
0.043271
0.043271
0
0
0
0.026899
0.234771
3,595
101
98
35.594059
0.813159
0.41363
0
0
0
0
0.050324
0
0
0
0
0.009901
0
1
0.041667
false
0
0.083333
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c08cb3b6fdb628373adc1c5e8da4f386b0294fba
1,828
py
Python
test/test_configeditor.py
ta-assistant/Admin-CLI
1c03ede0e09d8ddc270646937aa7af463c55f1f5
[ "MIT" ]
1
2021-07-22T15:43:02.000Z
2021-07-22T15:43:02.000Z
test/test_configeditor.py
ta-assistant/Admin-CLI
1c03ede0e09d8ddc270646937aa7af463c55f1f5
[ "MIT" ]
28
2021-05-15T08:18:21.000Z
2021-08-02T06:12:30.000Z
test/test_configeditor.py
ta-assistant/TA-CLI
1c03ede0e09d8ddc270646937aa7af463c55f1f5
[ "MIT" ]
null
null
null
import unittest import os, sys, inspect, json currentdir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe()))) parentdir = os.path.dirname(currentdir) sys.path.insert(0, parentdir) from lib.file_management.configeditor import ConfigEditor from lib.file_management.file_management_lib import DirMana...
25.041096
86
0.561816
180
1,828
5.6
0.405556
0.035714
0.029762
0.053571
0.151786
0.110119
0.110119
0
0
0
0
0.014786
0.297046
1,828
73
87
25.041096
0.76965
0.031729
0
0
0
0
0.091239
0
0
0
0
0
0.085106
1
0.12766
false
0
0.085106
0
0.276596
0.021277
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c08e3ff69724d52b478b9cfd81ca7910c42f6c6e
7,390
py
Python
chemreg/compound/migrations/0001_vega_sprint.py
Chemical-Curation/chemcurator
bcd7fab84e407f06502e6873c38820724d4e54e7
[ "MIT" ]
1
2020-10-05T18:02:24.000Z
2020-10-05T18:02:24.000Z
chemreg/compound/migrations/0001_vega_sprint.py
Chemical-Curation/chemcurator_django
bcd7fab84e407f06502e6873c38820724d4e54e7
[ "MIT" ]
207
2020-01-30T19:17:44.000Z
2021-02-24T19:45:29.000Z
chemreg/compound/migrations/0001_vega_sprint.py
Chemical-Curation/chemcurator_django
bcd7fab84e407f06502e6873c38820724d4e54e7
[ "MIT" ]
null
null
null
# Generated by Django 3.0.3 on 2020-11-18 06:06 import chemreg.common.utils import chemreg.common.validators import chemreg.compound.models import chemreg.compound.utils from django.conf import settings from django.db import migrations, models import django.db.models.deletion def fwd_create_illdefined_querystructure...
38.092784
85
0.472666
545
7,390
6.190826
0.240367
0.026082
0.041494
0.065205
0.561648
0.561648
0.561648
0.528156
0.505335
0.469769
0
0.007203
0.436401
7,390
193
86
38.290155
0.802881
0.006089
0
0.565934
1
0
0.121885
0.046711
0
0
0
0
0
1
0.010989
false
0
0.038462
0
0.071429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c08e8f408c1440f68bb49f4c21e145acaad7cc8e
3,466
py
Python
TwitterCode/crawler.py
aghriss/CS5502_project
68403f38ef26067360cb22404cdabe0d0543097a
[ "MIT" ]
null
null
null
TwitterCode/crawler.py
aghriss/CS5502_project
68403f38ef26067360cb22404cdabe0d0543097a
[ "MIT" ]
null
null
null
TwitterCode/crawler.py
aghriss/CS5502_project
68403f38ef26067360cb22404cdabe0d0543097a
[ "MIT" ]
null
null
null
''' Twitter Crawler to get tweets and user data ''' import tweepy import json import os import time def get_counts_quantile(tweets): counts = [] for t in tweets: counts.append() def save_tweet(result): """Function to save tweepy result status""" pass def save_user(result_set): """Functi...
32.698113
103
0.611656
430
3,466
4.727907
0.269767
0.027546
0.017708
0.019675
0.225283
0.212494
0.212494
0.212494
0.157403
0.062961
0
0.010313
0.272649
3,466
105
104
33.009524
0.796113
0.057992
0
0.164384
0
0
0.08567
0.007088
0
0
0
0
0.027397
1
0.178082
false
0.027397
0.054795
0
0.328767
0.041096
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c08e9da0f8073946d9eb1f38656fc0912b347134
2,206
py
Python
instruments/swap.py
neoyung/IrLib
942793c49a477c9f5747410be74daf868391f289
[ "MIT" ]
1
2021-10-04T03:15:50.000Z
2021-10-04T03:15:50.000Z
instruments/swap.py
neoyung/IrLib
942793c49a477c9f5747410be74daf868391f289
[ "MIT" ]
null
null
null
instruments/swap.py
neoyung/IrLib
942793c49a477c9f5747410be74daf868391f289
[ "MIT" ]
null
null
null
from irLib.instruments.instrument import instrument from irLib.helpers.schedule import period from irLib.instruments.legs import fixLeg, floatLeg class swap(instrument): def __init__(self, tradeDate, spotLag=period(0, 'day'), position='long', *legs): super().__init__(tradeDate, spotLag, position) ...
41.622642
145
0.655938
234
2,206
6.115385
0.273504
0.055905
0.016771
0.025157
0.033543
0
0
0
0
0
0
0.002998
0.24388
2,206
52
146
42.423077
0.854916
0
0
0.047619
0
0
0.046238
0
0
0
0
0
0.047619
1
0.119048
false
0
0.071429
0.02381
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c08f4ab3e25ce0f369e7d00947095aeb1fb9b437
21,083
py
Python
skhubness/neighbors/lsh.py
VarIr/scikit-hubness
6eaeedda2c4b52bb7bf2553b3c5b04a076287ae3
[ "BSD-3-Clause" ]
33
2019-08-05T12:29:19.000Z
2022-03-08T18:48:28.000Z
skhubness/neighbors/lsh.py
AndreasPhilippi/scikit-hubness
6eaeedda2c4b52bb7bf2553b3c5b04a076287ae3
[ "BSD-3-Clause" ]
84
2019-07-12T09:05:42.000Z
2022-03-31T08:50:15.000Z
skhubness/neighbors/lsh.py
AndreasPhilippi/scikit-hubness
6eaeedda2c4b52bb7bf2553b3c5b04a076287ae3
[ "BSD-3-Clause" ]
9
2019-09-26T11:03:04.000Z
2021-07-01T08:43:11.000Z
# -*- coding: utf-8 -*- # SPDX-License-Identifier: BSD-3-Clause # PEP 563: Postponed Evaluation of Annotations from __future__ import annotations from functools import partial import multiprocessing as mp from typing import Tuple, Union import warnings import numpy as np from sklearn.base import BaseEstimator from s...
39.481273
120
0.54774
2,343
21,083
4.784464
0.160905
0.035326
0.025691
0.013113
0.572792
0.532649
0.525335
0.506601
0.476717
0.451115
0
0.006763
0.368828
21,083
533
121
39.555347
0.83565
0.258834
0
0.449511
0
0
0.077839
0
0
0
0
0
0
1
0.026059
false
0
0.061889
0
0.13355
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c09039628dfca0497559485ef917b2eee5612ab1
11,859
py
Python
virtualreality/calibration/manual_color_mask_calibration.py
sahasam/hobo_vr
0cf5824c91719055156ec23cf8dda2d921be948a
[ "MIT" ]
null
null
null
virtualreality/calibration/manual_color_mask_calibration.py
sahasam/hobo_vr
0cf5824c91719055156ec23cf8dda2d921be948a
[ "MIT" ]
null
null
null
virtualreality/calibration/manual_color_mask_calibration.py
sahasam/hobo_vr
0cf5824c91719055156ec23cf8dda2d921be948a
[ "MIT" ]
null
null
null
""" pyvr calibrate. Usage: pyvr calibrate [options] Options: -h, --help -c, --camera <camera> Source of the camera to use for calibration [default: 0] -r, --resolution <res> Input resolution in width and height [default: -1x-1] -n, --n_masks <n_masks> Number of masks to calibrate [de...
35.827795
114
0.646935
1,559
11,859
4.667094
0.146889
0.039307
0.054426
0.063222
0.434717
0.400082
0.343595
0.316795
0.296042
0.258384
0
0.017665
0.245805
11,859
330
115
35.936364
0.795841
0.093094
0
0.179916
0
0
0.121814
0.004029
0
0
0.000375
0
0
1
0.050209
false
0
0.037657
0
0.117155
0.033473
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c091621b5f0a091f64683171c4c8e2bb52a88c66
155
py
Python
lambda_handlers/validators/__init__.py
renovate-tests/lambda-handlers
0b14013f19b597524a8d50f7ea8813ee726c584c
[ "Apache-2.0" ]
null
null
null
lambda_handlers/validators/__init__.py
renovate-tests/lambda-handlers
0b14013f19b597524a8d50f7ea8813ee726c584c
[ "Apache-2.0" ]
null
null
null
lambda_handlers/validators/__init__.py
renovate-tests/lambda-handlers
0b14013f19b597524a8d50f7ea8813ee726c584c
[ "Apache-2.0" ]
null
null
null
from .jsonschema_validator import JSONSchemaValidator as jsonschema # noqa from .marshmallow_validator import MarshmallowValidator as marshmallow # noqa
51.666667
78
0.858065
16
155
8.1875
0.5625
0.229008
0
0
0
0
0
0
0
0
0
0
0.116129
155
2
79
77.5
0.956204
0.058065
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
c091c64c9f6b764d68bafb5d1ad27be880d8e240
227
py
Python
xonsh/aliases/dir.py
yjpark/dotfiles
ae9ad72eb2e2a4d3da4c600d24782720229d1a4b
[ "MIT" ]
7
2015-12-18T04:33:01.000Z
2019-09-17T06:09:51.000Z
xonsh/aliases/dir.py
yjpark/dotfiles
ae9ad72eb2e2a4d3da4c600d24782720229d1a4b
[ "MIT" ]
1
2016-05-12T15:32:47.000Z
2016-05-12T15:32:47.000Z
xonsh/aliases/dir.py
yjpark/dotfiles
ae9ad72eb2e2a4d3da4c600d24782720229d1a4b
[ "MIT" ]
4
2016-11-29T04:06:19.000Z
2019-12-26T14:32:46.000Z
aliases['cd-'] = 'cd -' aliases['cl'] = 'cd (ls -1Ft | head -1)' aliases['..'] = 'cd ..' aliases['...'] = 'cd ../..' aliases['....'] = 'cd ../../..' aliases['.....'] = 'cd ../../../..' aliases['......'] = 'cd ../../../../..'
22.7
40
0.339207
20
227
3.85
0.35
0.701299
0.831169
0.935065
0.584416
0.584416
0.584416
0.584416
0
0
0
0.010363
0.14978
227
9
41
25.222222
0.388601
0
0
0
0
0
0.46696
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
7
c09416ca42570e30634d8a60a3175bf1c430d092
1,894
py
Python
database.py
tzoch/dropbox-bot
2bf36e2d4146bf8c00169362f9767ed059643787
[ "MIT" ]
3
2016-03-08T04:43:22.000Z
2020-08-25T20:07:28.000Z
database.py
tzoch/dropbox-bot
2bf36e2d4146bf8c00169362f9767ed059643787
[ "MIT" ]
null
null
null
database.py
tzoch/dropbox-bot
2bf36e2d4146bf8c00169362f9767ed059643787
[ "MIT" ]
null
null
null
#! /usr/bin/python ''' Class to handle database connections and queries for Dropbox Mirror Bot ''' import sqlite3 class Database(object): def __init__(self, database=":memory:"): self._database = database c = self.cursor() query = '''CREATE TABLE IF NOT EXISTS dropbox_submissions ( ...
30.063492
70
0.577614
208
1,894
5.100962
0.346154
0.090481
0.061263
0.06032
0.265787
0.177191
0.126296
0
0
0
0
0.006168
0.315206
1,894
62
71
30.548387
0.811874
0.077614
0
0.266667
0
0
0.347174
0
0
0
0
0
0
1
0.155556
false
0
0.022222
0.022222
0.288889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c09416d25e79ddab37c35127443d972589822576
796
py
Python
tests/starter/test_starter_admin_email.py
elifesciences/elife-bot
d3a102c8030e4b7ec83cbd45e5f839dba4f9ffd9
[ "MIT" ]
17
2015-02-10T07:10:29.000Z
2021-05-14T22:24:45.000Z
tests/starter/test_starter_admin_email.py
elifesciences/elife-bot
d3a102c8030e4b7ec83cbd45e5f839dba4f9ffd9
[ "MIT" ]
459
2015-03-31T18:24:23.000Z
2022-03-30T19:44:40.000Z
tests/starter/test_starter_admin_email.py
elifesciences/elife-bot
d3a102c8030e4b7ec83cbd45e5f839dba4f9ffd9
[ "MIT" ]
9
2015-04-18T16:57:31.000Z
2020-10-30T11:49:13.000Z
import unittest from mock import patch from starter.starter_AdminEmail import starter_AdminEmail from tests.activity.classes_mock import FakeLogger from tests.classes_mock import FakeLayer1 import tests.settings_mock as settings_mock class TestStarterAdminEmail(unittest.TestCase): def setUp(self): self.fa...
34.608696
81
0.761307
100
796
5.85
0.32
0.082051
0.082051
0.061538
0.37265
0.37265
0.37265
0.37265
0.249573
0.249573
0
0.01037
0.15201
796
22
82
36.181818
0.856296
0
0
0.222222
0
0
0.055276
0.055276
0
0
0
0
0.111111
1
0.166667
false
0
0.333333
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
c09430f692b1d375bbff6b77320ac21d3531ed34
15,963
py
Python
tests/commit/math/test__tensors.py
eliasdjo/PhiFlow
dc88dca696d25a5ea5793aa48fae390469f0d829
[ "MIT" ]
null
null
null
tests/commit/math/test__tensors.py
eliasdjo/PhiFlow
dc88dca696d25a5ea5793aa48fae390469f0d829
[ "MIT" ]
null
null
null
tests/commit/math/test__tensors.py
eliasdjo/PhiFlow
dc88dca696d25a5ea5793aa48fae390469f0d829
[ "MIT" ]
null
null
null
from unittest import TestCase import numpy as np import phi from phi import math from phi.math import channel, batch from phi.math._shape import CHANNEL_DIM, BATCH_DIM, shape_stack, spatial from phi.math._tensors import TensorStack, CollapsedTensor, wrap, tensor, cached from phi.math.backend import Backend BACKENDS ...
40.930769
178
0.58811
2,173
15,963
4.213069
0.099862
0.144184
0.055707
0.0142
0.472966
0.400983
0.330639
0.272419
0.222283
0.15325
0
0.030413
0.256405
15,963
389
179
41.03599
0.740859
0.007267
0
0.209726
0
0
0.032759
0
0
0
0
0
0.413374
1
0.142857
false
0.012158
0.024316
0.006079
0.18845
0.021277
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
c094fb0ecd2841945312d32ccd2105e21bce1b3b
1,202
py
Python
index/admin.py
KolibriSolutions/BepMarketplace
c47d252fd744cde6b927e37c34d7a103c6162be5
[ "BSD-3-Clause" ]
1
2019-06-29T15:24:24.000Z
2019-06-29T15:24:24.000Z
index/admin.py
KolibriSolutions/BepMarketplace
c47d252fd744cde6b927e37c34d7a103c6162be5
[ "BSD-3-Clause" ]
2
2020-01-12T17:47:33.000Z
2020-01-12T17:47:45.000Z
index/admin.py
KolibriSolutions/BepMarketplace
c47d252fd744cde6b927e37c34d7a103c6162be5
[ "BSD-3-Clause" ]
2
2019-06-29T15:24:26.000Z
2020-01-08T15:15:03.000Z
# Bep Marketplace ELE # Copyright (c) 2016-2021 Kolibri Solutions # License: See LICENSE file or https://github.com/KolibriSolutions/BepMarketplace/blob/master/LICENSE # from django.contrib import admin from django.shortcuts import reverse from django.utils.html import format_html from .models import Track, Broadca...
33.388889
102
0.757903
139
1,202
6.402878
0.503597
0.060674
0.114607
0.060674
0.08764
0.08764
0
0
0
0
0
0.007547
0.118136
1,202
35
103
34.342857
0.832075
0.135607
0
0
0
0
0.163601
0.021297
0
0
0
0
0
1
0.047619
false
0
0.190476
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c0955acbb8e9da3cf689449a7886da397be4ac74
9,025
py
Python
stacks/firecares_web.py
FireCARES/firecares-ansible
f650798a7a343626402f6d46782651a2f7a5f086
[ "MIT" ]
1
2017-02-12T13:38:57.000Z
2017-02-12T13:38:57.000Z
stacks/firecares_web.py
FireCARES/firecares-ansible
f650798a7a343626402f6d46782651a2f7a5f086
[ "MIT" ]
16
2015-10-21T13:00:54.000Z
2021-09-23T23:21:07.000Z
stacks/firecares_web.py
FireCARES/firecares-ansible
f650798a7a343626402f6d46782651a2f7a5f086
[ "MIT" ]
4
2015-08-19T00:52:54.000Z
2017-02-13T08:14:10.000Z
from datetime import datetime from pytz import timezone from troposphere import Ref, Template, Parameter, GetAZs, Output, Join, GetAtt, autoscaling, ec2, elasticloadbalancing as elb t = Template() t.add_description("Create FireCARES Webserver Load Balancer, Auto-Scaling group and Celery beat VM") base_ami = "ami-7646...
29.493464
125
0.582493
931
9,025
5.589689
0.27927
0.013067
0.05246
0.053036
0.416218
0.405842
0.385473
0.349923
0.33359
0.33359
0
0.068249
0.253186
9,025
305
126
29.590164
0.703858
0
0
0.521127
0
0.003521
0.320776
0.024155
0
0
0
0
0
0
null
null
0
0.010563
null
null
0.003521
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c095ea2cd17b98f861280b8dd90e12ab34027235
513
py
Python
solutions/unitReview/gcd.py
mrparkonline/python3_while
3b24be84d16230e2b923276dca4c943f4c5ad26d
[ "MIT" ]
null
null
null
solutions/unitReview/gcd.py
mrparkonline/python3_while
3b24be84d16230e2b923276dca4c943f4c5ad26d
[ "MIT" ]
null
null
null
solutions/unitReview/gcd.py
mrparkonline/python3_while
3b24be84d16230e2b923276dca4c943f4c5ad26d
[ "MIT" ]
null
null
null
# GCD Program from math import gcd # input num1 = int(input('Enter a number: ')) num2 = int(input('Enter another number: ')) # processing & output divisor = 1 upper_limit = min(num1, num2) gcd_answer = 0 #print(num1, 'and', num2, 'share these factors:') print('GCD of', num1, 'and', num2, 'is:') while divisor <= up...
22.304348
51
0.651072
76
513
4.328947
0.447368
0.082067
0.079027
0
0
0
0
0
0
0
0
0.041565
0.202729
513
23
52
22.304348
0.762836
0.20078
0
0
0
0
0.162963
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
0.230769
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c096a0804783d5b361fcbd0253a74c4dbbc3423f
447
py
Python
topk/gen_count.py
ririripley/recipes
04267c68a7424326b4aa8dd14b1a879b59ab887c
[ "BSD-3-Clause" ]
1,418
2015-01-07T09:40:09.000Z
2022-03-29T08:37:02.000Z
topk/gen_count.py
algoideas/recipes
77bc5cb180e49edb31983938386ef23f752e2d2f
[ "BSD-3-Clause" ]
22
2015-02-17T17:31:18.000Z
2022-02-08T07:00:29.000Z
topk/gen_count.py
algoideas/recipes
77bc5cb180e49edb31983938386ef23f752e2d2f
[ "BSD-3-Clause" ]
854
2015-01-03T11:56:10.000Z
2022-03-31T08:50:28.000Z
#!/usr/bin/python import random word_len = 5 alphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789' output = open('word_count', 'w') words = set() N = 1000*1000 for x in xrange(N): arr = [random.choice(alphabet) for i in range(word_len)] words.add(''.join(arr)) print len(words) for word...
20.318182
75
0.686801
63
447
4.825397
0.555556
0.144737
0
0
0
0
0
0
0
0
0
0.055851
0.158837
447
21
76
21.285714
0.75266
0.035794
0
0
0
0
0.179487
0.144522
0
0
0
0
0
0
null
null
0
0.066667
null
null
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c09740c69f29292cd8143f6167d141bb98d730a6
728
py
Python
notification/views.py
ChristopherOloo/KilimoQAPortal
c905a42282bbce70b5477862185ad332185307ce
[ "MIT" ]
67
2022-01-05T18:59:23.000Z
2022-03-18T13:13:39.000Z
notification/views.py
ChristopherOloo/KilimoQAPortal
c905a42282bbce70b5477862185ad332185307ce
[ "MIT" ]
3
2022-01-10T10:03:23.000Z
2022-03-11T16:58:38.000Z
notification/views.py
ChristopherOloo/KilimoQAPortal
c905a42282bbce70b5477862185ad332185307ce
[ "MIT" ]
4
2022-01-08T17:39:19.000Z
2022-02-28T07:40:16.000Z
from django.shortcuts import render from .models import PrivRepNotification,Notification from django.http import JsonResponse, HttpResponseRedirect, HttpResponse def read_All_Notifications(request): notifics = Notification.objects.filter(noti_receiver=request.user).order_by('-date_created') for objs in noti...
26.962963
96
0.747253
80
728
6.6625
0.5125
0.037523
0.037523
0
0
0
0
0
0
0
0
0.004918
0.162088
728
26
97
28
0.868852
0.042582
0
0
0
0
0.086455
0.037464
0
0
0
0
0
1
0.133333
false
0
0.2
0
0.466667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c0984d7ef444e29454bfa97d1cc9a76bb27bd524
1,243
py
Python
sortedListToBST.py
pflun/learningAlgorithms
3101e989488dfc8a56f1bf256a1c03a837fe7d97
[ "MIT" ]
null
null
null
sortedListToBST.py
pflun/learningAlgorithms
3101e989488dfc8a56f1bf256a1c03a837fe7d97
[ "MIT" ]
null
null
null
sortedListToBST.py
pflun/learningAlgorithms
3101e989488dfc8a56f1bf256a1c03a837fe7d97
[ "MIT" ]
null
null
null
# Definition for singly-linked list. class ListNode(object): def __init__(self, x): self.val = x self.next = None # Definition for a binary tree node. class TreeNode(object): def __init__(self, x): self.val = x self.left = None self.right = None class Solution(object): ...
21.067797
55
0.584875
162
1,243
4.419753
0.32716
0.027933
0.036313
0.047486
0.083799
0.083799
0.083799
0.083799
0.083799
0
0
0.028169
0.314562
1,243
58
56
21.431034
0.812207
0.055511
0
0.086957
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.021739
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c099053af9b9ff299e9a4615defe7551e4d4dfdc
1,105
py
Python
train.py
divyanshrm/Polyth-Net-Classification-of-Polythene-Bags-Using-Deep-Dearning
f52c0887cb12cf1322a37d1042917be5d679c725
[ "MIT" ]
null
null
null
train.py
divyanshrm/Polyth-Net-Classification-of-Polythene-Bags-Using-Deep-Dearning
f52c0887cb12cf1322a37d1042917be5d679c725
[ "MIT" ]
null
null
null
train.py
divyanshrm/Polyth-Net-Classification-of-Polythene-Bags-Using-Deep-Dearning
f52c0887cb12cf1322a37d1042917be5d679c725
[ "MIT" ]
null
null
null
import tensorflow as tf import tensorflow.keras as k import numpy as np from load_and_augment import load_and_augment_data from modelconfig import modelconfig from compile_model import compile_model_adam import compile_model if __name__=='__main__': path=r'/content/drive/My Drive/data' testing_path=r'/c...
42.5
143
0.729412
156
1,105
4.884615
0.467949
0.062992
0.055118
0.047244
0.062992
0.062992
0
0
0
0
0
0.024973
0.166516
1,105
25
144
44.2
0.802389
0
0
0
0
0
0.134259
0.021296
0
0
0
0
0
1
0
false
0
0.304348
0
0.304348
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
c09b58cc8746669f100104bd829d92eb5454df67
1,548
py
Python
fb2_get_list.py
kawaiigamer/python-tools
68fd75299657811fef36339732c80539ccad386e
[ "Unlicense" ]
null
null
null
fb2_get_list.py
kawaiigamer/python-tools
68fd75299657811fef36339732c80539ccad386e
[ "Unlicense" ]
null
null
null
fb2_get_list.py
kawaiigamer/python-tools
68fd75299657811fef36339732c80539ccad386e
[ "Unlicense" ]
null
null
null
import os import glob import codecs from typing import List def dirs(root_dit: str) -> List[str]: return next(os.walk(root_dit))[1] def select_directory_from_list(directories: List[str]) -> str: for i in range(0, len(directories)): print("(%d) %s" % (i, directories[i])) while True: try:...
29.207547
75
0.554264
194
1,548
4.221649
0.371134
0.067155
0.07326
0.056166
0.056166
0
0
0
0
0
0
0.013699
0.292636
1,548
52
76
29.769231
0.734247
0
0
0.097561
0
0
0.142119
0
0
0
0
0
0
1
0.097561
false
0
0.097561
0.02439
0.292683
0.146341
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c09c7f0c8e41ed1996a2664259286c39cad5f12c
2,403
py
Python
simplecaptcha/fields.py
Kromey/django-simplecaptcha
ad462f8742be19b1e87103f097853d41e21d0e0a
[ "MIT" ]
5
2015-11-12T06:31:08.000Z
2017-03-09T06:45:46.000Z
simplecaptcha/fields.py
Kromey/django-simplecaptcha
ad462f8742be19b1e87103f097853d41e21d0e0a
[ "MIT" ]
null
null
null
simplecaptcha/fields.py
Kromey/django-simplecaptcha
ad462f8742be19b1e87103f097853d41e21d0e0a
[ "MIT" ]
null
null
null
import time from django import forms from django.core.exceptions import ValidationError from .widgets import CaptchaWidget from .settings import DURATION class CaptchaField(forms.MultiValueField): """A field that contains and validates a simple catcha question WARNING: If you use this field directly in y...
35.338235
90
0.650853
305
2,403
5.072131
0.465574
0.036199
0.024564
0.036199
0
0
0
0
0
0
0
0.002904
0.283396
2,403
67
91
35.865672
0.89547
0.458593
0
0.096774
0
0
0.052588
0
0
0
0
0
0
1
0.129032
false
0.032258
0.16129
0
0.451613
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c09e72d5be2ef0cef0c360e31efc8610a74ed555
4,940
py
Python
skills_taxonomy_v2/analysis/sentence_classifier/notebooks/Skills Classifier 1.0 - Doccano Baseline Classifier.py
india-kerle/skills-taxonomy-v2
a71366dfea3c35580dbafddba9470f83795805ae
[ "MIT" ]
3
2021-11-21T17:21:12.000Z
2021-12-10T21:19:57.000Z
skills_taxonomy_v2/analysis/sentence_classifier/notebooks/Skills Classifier 1.0 - Doccano Baseline Classifier.py
india-kerle/skills-taxonomy-v2
a71366dfea3c35580dbafddba9470f83795805ae
[ "MIT" ]
16
2021-10-06T11:20:35.000Z
2022-02-02T11:44:28.000Z
skills_taxonomy_v2/analysis/sentence_classifier/notebooks/Skills Classifier 1.0 - Doccano Baseline Classifier.py
india-kerle/skills-taxonomy-v2
a71366dfea3c35580dbafddba9470f83795805ae
[ "MIT" ]
1
2021-10-04T12:27:20.000Z
2021-10-04T12:27:20.000Z
# --- # jupyter: # jupytext: # cell_metadata_filter: -all # comment_magics: true # formats: ipynb,py:light # text_representation: # extension: .py # format_name: light # format_version: '1.5' # jupytext_version: 1.11.3 # kernelspec: # display_name: Python 3 (ipykernel) # ...
26.417112
130
0.696964
716
4,940
4.554469
0.27933
0.022999
0.030359
0.025759
0.291015
0.275682
0.258203
0.232444
0.232444
0.232444
0
0.012435
0.186032
4,940
186
131
26.55914
0.798558
0.204251
0
0.205607
0
0
0.087697
0.045138
0
0
0
0
0
1
0.009346
false
0
0.065421
0
0.084112
0.121495
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c0a105c9215ae6c27a0f573e79372161fa79223f
3,054
py
Python
exhibitor/migrations/0001_initial.py
Make-Munich/SaBoT
cabc7e2f5e0f7166d94d2ef683f75d8d3be02834
[ "MIT" ]
19
2016-04-09T10:13:26.000Z
2020-06-21T23:14:16.000Z
exhibitor/migrations/0001_initial.py
Make-Munich/SaBoT
cabc7e2f5e0f7166d94d2ef683f75d8d3be02834
[ "MIT" ]
13
2017-01-14T20:42:45.000Z
2019-08-10T22:48:44.000Z
exhibitor/migrations/0001_initial.py
Make-Munich/SaBoT
cabc7e2f5e0f7166d94d2ef683f75d8d3be02834
[ "MIT" ]
9
2016-04-09T12:52:48.000Z
2018-08-16T19:08:16.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-01-11 13:45 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migratio...
57.622642
216
0.655206
331
3,054
5.924471
0.413897
0.061703
0.045895
0.044875
0.344212
0.332483
0.281999
0.263131
0.263131
0.263131
0
0.012505
0.214473
3,054
52
217
58.730769
0.804919
0.022266
0
0.25
1
0
0.226953
0.031847
0
0
0
0
0
1
0
false
0
0.090909
0
0.181818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c0a1254294cd0330d5440776840a312ac8bb2711
1,455
py
Python
pyatlas/tests/programatic_apikey_pytests.py
jasonmimick/pyatlas
4b0198d0c6f87691175d79629b2689f02e58ec8b
[ "Apache-2.0" ]
null
null
null
pyatlas/tests/programatic_apikey_pytests.py
jasonmimick/pyatlas
4b0198d0c6f87691175d79629b2689f02e58ec8b
[ "Apache-2.0" ]
null
null
null
pyatlas/tests/programatic_apikey_pytests.py
jasonmimick/pyatlas
4b0198d0c6f87691175d79629b2689f02e58ec8b
[ "Apache-2.0" ]
null
null
null
import pytest import pprint import string import random import os from pyatlas import AtlasClient #from testutils import * @pytest.fixture def public_key(): return "NGKMIHEO" @pytest.fixture def private_key(): return "66bcc7de-b0de-4d8d-9695-ef97637c6895" @pytest.fixture def client(public_key, private_key): r...
25.982143
103
0.707904
189
1,455
5.253968
0.306878
0.166163
0.096677
0.08862
0.052367
0
0
0
0
0
0
0.027049
0.136082
1,455
55
104
26.454545
0.762928
0.019931
0
0.139535
0
0
0.257203
0.100492
0
0
0
0
0.023256
1
0.209302
false
0
0.139535
0.116279
0.534884
0.162791
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
c0a2cc928103a456829c10c8f15fb433031cebc9
6,036
py
Python
etils/epath/abstract_path.py
google/etils
ff4c222cd6ce2f416d66a3cd64b39125f5ad25de
[ "Apache-2.0" ]
13
2021-12-14T19:18:53.000Z
2022-03-30T17:09:20.000Z
etils/epath/abstract_path.py
google/etils
ff4c222cd6ce2f416d66a3cd64b39125f5ad25de
[ "Apache-2.0" ]
2
2022-01-07T01:34:33.000Z
2022-01-12T01:35:33.000Z
etils/epath/abstract_path.py
google/etils
ff4c222cd6ce2f416d66a3cd64b39125f5ad25de
[ "Apache-2.0" ]
1
2022-01-04T14:34:30.000Z
2022-01-04T14:34:30.000Z
# Copyright 2022 The etils Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
28.338028
98
0.650431
788
6,036
4.942893
0.304569
0.086264
0.068293
0.073684
0.181515
0.147625
0.125802
0.114506
0.077535
0.024647
0
0.006373
0.220179
6,036
212
99
28.471698
0.821117
0.362989
0
0.330357
0
0
0.046588
0
0
0
0
0
0
1
0.223214
false
0
0.0625
0.008929
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
c0a387ecd74cdd18e1dae76a145f773dea75a7b7
262
py
Python
src/syntax/statements/__init__.py
andaviaco/tronido
08a1619a0e8c10f35ed6710eb6e1f72dc5b87421
[ "MIT" ]
null
null
null
src/syntax/statements/__init__.py
andaviaco/tronido
08a1619a0e8c10f35ed6710eb6e1f72dc5b87421
[ "MIT" ]
null
null
null
src/syntax/statements/__init__.py
andaviaco/tronido
08a1619a0e8c10f35ed6710eb6e1f72dc5b87421
[ "MIT" ]
null
null
null
from .ifstat import IfStat from .returnstat import ReturnStat from .whilestat import WhileStat from .breakstat import BreakStat from .switchstat import SwitchStat from .casestat import CaseStat from .forstat import ForStat from .continuestat import ContinueStat
29.111111
38
0.847328
32
262
6.9375
0.3125
0
0
0
0
0
0
0
0
0
0
0
0.122137
262
8
39
32.75
0.965217
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
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
4
c0a3c20650d9f2b0b50513762c0375912b29d194
2,594
py
Python
tests/test_action_guest_process_start.py
lingfish/stackstorm-vsphere
49199f5ebdc05b70b7504962e104642b0c30ba30
[ "Apache-2.0" ]
null
null
null
tests/test_action_guest_process_start.py
lingfish/stackstorm-vsphere
49199f5ebdc05b70b7504962e104642b0c30ba30
[ "Apache-2.0" ]
2
2019-03-25T18:03:02.000Z
2019-03-26T13:13:59.000Z
tests/test_action_guest_process_start.py
lingfish/stackstorm-vsphere
49199f5ebdc05b70b7504962e104642b0c30ba30
[ "Apache-2.0" ]
1
2021-03-05T10:12:21.000Z
2021-03-05T10:12:21.000Z
# Licensed to the StackStorm, Inc ('StackStorm') under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use th...
43.233333
74
0.658443
286
2,594
5.842657
0.524476
0.029922
0.032316
0.01915
0
0
0
0
0
0
0
0.013677
0.267155
2,594
59
75
43.966102
0.865334
0.338088
0
0
0
0
0.075882
0.036471
0
0
0
0
0.085714
1
0.028571
false
0.028571
0.085714
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c0a3f676d422bbdd29b5d1ae6fd198e164330819
4,192
py
Python
src/soda/mutator.py
UCLA-VAST/soda
1b3994ded643d82ebc2fce7b1eb1d13c70800897
[ "MIT" ]
9
2020-05-09T19:52:46.000Z
2021-09-15T13:45:27.000Z
src/soda/mutator.py
UCLA-VAST/soda
1b3994ded643d82ebc2fce7b1eb1d13c70800897
[ "MIT" ]
1
2021-07-26T08:51:49.000Z
2021-07-26T08:51:49.000Z
src/soda/mutator.py
UCLA-VAST/soda
1b3994ded643d82ebc2fce7b1eb1d13c70800897
[ "MIT" ]
1
2020-10-28T03:06:44.000Z
2020-10-28T03:06:44.000Z
from typing import ( Iterable, Mapping, MutableMapping, Optional, Tuple, TypeVar, Union, ) import collections import logging import operator import types from haoda import ir from soda import tensor import soda.visitor _logger = logging.getLogger().getChild(__name__) def shift(obj, offs...
32.246154
80
0.669132
610
4,192
4.554098
0.247541
0.028078
0.017279
0.014399
0.197264
0.159827
0.140389
0.095032
0.095032
0.042117
0
0.000311
0.232586
4,192
129
81
32.496124
0.863227
0.340649
0
0.136986
0
0
0.079821
0
0
0
0
0
0
1
0.068493
false
0
0.109589
0
0.287671
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c0a4975e4ff94754e10e515af8e9f52525f2cf81
485
py
Python
tests/skillmap_parser_test.py
niyue/skillmap
ca1011d5f822134ad1d7c5f7f243da30a0731170
[ "MIT" ]
69
2022-02-27T13:05:20.000Z
2022-03-31T23:12:48.000Z
tests/skillmap_parser_test.py
chandrab/skillmap
6d07dc5392b0fd66d310db8cb85051cf9e0e93df
[ "MIT" ]
1
2022-02-27T22:44:36.000Z
2022-03-02T01:15:52.000Z
tests/skillmap_parser_test.py
chandrab/skillmap
6d07dc5392b0fd66d310db8cb85051cf9e0e93df
[ "MIT" ]
2
2022-02-27T23:37:15.000Z
2022-03-14T12:32:22.000Z
from skillmap.skillmap_parser import SkillMapParser def test_parse_toml(): parser = SkillMapParser() skill_map = parser.parse('tests/url_shortener.toml') assert skill_map assert skill_map['skillmap']['name'] == "url shortener" assert skill_map['groups']['webui']['name'] == "web ui" assert skil...
40.416667
93
0.682474
59
485
5.40678
0.40678
0.15047
0.219436
0.188088
0.347962
0.269592
0.269592
0.269592
0
0
0
0
0.129897
485
11
94
44.090909
0.755924
0
0
0
0
0
0.321649
0.049485
0
0
0
0
0.555556
1
0.111111
false
0
0.111111
0
0.222222
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
1
0
0
0
0
0
0
0
0
0
3
c0a71acf6116e8faa1f0455b3919ee53b2e3be9c
2,923
py
Python
htdocs/plotting/auto/scripts/p66.py
jamayfieldjr/iem
275b77a65f3b12e26e6cbdb230786b9c7d2b9c9a
[ "MIT" ]
1
2019-10-07T17:01:24.000Z
2019-10-07T17:01:24.000Z
htdocs/plotting/auto/scripts/p66.py
jamayfieldjr/iem
275b77a65f3b12e26e6cbdb230786b9c7d2b9c9a
[ "MIT" ]
null
null
null
htdocs/plotting/auto/scripts/p66.py
jamayfieldjr/iem
275b77a65f3b12e26e6cbdb230786b9c7d2b9c9a
[ "MIT" ]
null
null
null
"""Consec days""" import calendar from pandas.io.sql import read_sql from pyiem.plot.use_agg import plt from pyiem.util import get_autoplot_context, get_dbconn PDICT = {'above': 'Temperature At or Above (AOA) Threshold', 'below': 'Temperature Below Threshold'} PDICT2 = {'high': 'High Temperature', ...
34.388235
75
0.584673
384
2,923
4.372396
0.445313
0.020846
0.021441
0.028588
0
0
0
0
0
0
0
0.034372
0.253507
2,923
84
76
34.797619
0.735105
0.02258
0
0
0
0
0.352589
0
0
0
0
0
0
1
0.029851
false
0
0.059701
0
0.119403
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c0a82c8edb06be2ad657e3733a1e2ee863cd955f
32
py
Python
resolwe/rest/__init__.py
plojyon/resolwe
1bee6f0860fdd087534adf1680e9350d79ab97cf
[ "Apache-2.0" ]
27
2015-12-07T18:29:12.000Z
2022-03-16T08:01:47.000Z
resolwe/rest/__init__.py
plojyon/resolwe
1bee6f0860fdd087534adf1680e9350d79ab97cf
[ "Apache-2.0" ]
681
2015-12-01T11:52:24.000Z
2022-03-21T07:43:37.000Z
resolwe/rest/__init__.py
plojyon/resolwe
1bee6f0860fdd087534adf1680e9350d79ab97cf
[ "Apache-2.0" ]
28
2015-12-01T08:32:57.000Z
2021-12-14T00:04:16.000Z
"""Resolwe REST API helpers."""
16
31
0.65625
4
32
5.25
1
0
0
0
0
0
0
0
0
0
0
0
0.125
32
1
32
32
0.75
0.78125
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
c0a873492ea0286949973b05633bb259a0fc0b1d
422
py
Python
requests/requests-custom_authentication.py
all3g/pieces
bc378fd22ddc700891fe7f34ab0d5b341141e434
[ "CNRI-Python" ]
34
2016-10-31T02:05:24.000Z
2018-11-08T14:33:13.000Z
requests/requests-custom_authentication.py
join-us/python-programming
bc378fd22ddc700891fe7f34ab0d5b341141e434
[ "CNRI-Python" ]
2
2017-05-11T03:00:31.000Z
2017-11-01T23:37:37.000Z
requests/requests-custom_authentication.py
join-us/python-programming
bc378fd22ddc700891fe7f34ab0d5b341141e434
[ "CNRI-Python" ]
21
2016-08-19T09:05:45.000Z
2018-11-08T14:33:16.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- from requests.auth import AuthBase class PizzaAuth(AuthBase): """Attaches HTTP Pizza Authentication to the given Request object.""" def __init__(self, username): # setup any auth-related data here. self.username = username def __call__(self, r): ...
24.823529
73
0.64455
53
422
4.981132
0.716981
0.136364
0
0
0
0
0
0
0
0
0
0.003135
0.244076
422
16
74
26.375
0.824451
0.393365
0
0
0
0
0.02834
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
c0a93dc0b3c06bf5e6cdc0aa43def476e965448d
866
py
Python
csv_test.py
mii012345/deep-learning
660785157446583eefeefa9d5dc25927aab6a9e4
[ "MIT" ]
3
2017-06-04T06:59:38.000Z
2017-06-05T14:01:48.000Z
csv_test.py
mii012345/deep-learning
660785157446583eefeefa9d5dc25927aab6a9e4
[ "MIT" ]
null
null
null
csv_test.py
mii012345/deep-learning
660785157446583eefeefa9d5dc25927aab6a9e4
[ "MIT" ]
null
null
null
import csv import numpy as np import pickle with open('data (2).csv','r') as f: csv = csv.reader(f) csvlist = [] for i in csv: csvlist.append(i) #6行目から mas = [] for i in range(364): i+=6 a = 0 b = 0 c = 0 date = csvlist[i][0] weather = csvlist[i][1] ...
24.055556
207
0.489607
153
866
2.764706
0.333333
0.094563
0.099291
0.07565
0.234043
0.20331
0
0
0
0
0
0.150338
0.316397
866
35
208
24.742857
0.564189
0.005774
0
0
0
0
0.121212
0
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0.033333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c0ab2b2d4a6d03d592483deeff8d92956a06c0e7
287
py
Python
src/test_main.py
HenrikPilz/BMEcatConverter
28c6840fc70a3f04e3eae5fc7be32c7bc779c1da
[ "BSD-3-Clause" ]
1
2021-03-14T08:20:51.000Z
2021-03-14T08:20:51.000Z
src/test_main.py
HenrikPilz/BMEcatConverter
28c6840fc70a3f04e3eae5fc7be32c7bc779c1da
[ "BSD-3-Clause" ]
1
2021-11-29T09:56:18.000Z
2021-12-01T22:01:13.000Z
src/test_main.py
HenrikPilz/BMEcatConverter
28c6840fc70a3f04e3eae5fc7be32c7bc779c1da
[ "BSD-3-Clause" ]
2
2021-08-30T08:14:34.000Z
2021-09-28T15:10:23.000Z
import os import test import unittest def tests(): if not os.path.exists("../test_output"): os.makedirs(os.path.join(os.path.dirname(__file__), "../test_output"), exist_ok=True) unittest.main(test) # if __name__ == '__main__': # Datenmodultests tests()
19.133333
94
0.648084
37
287
4.621622
0.567568
0.105263
0
0
0
0
0
0
0
0
0
0
0.198606
287
14
95
20.5
0.743478
0.146341
0
0
0
0
0.122807
0
0
0
0
0
0
1
0.125
true
0
0.375
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
c0ab90f34a7bc1c416809bd67bdc787e6a30c4a3
99
py
Python
problem/01000~09999/02857/2857.py3.py
njw1204/BOJ-AC
1de41685725ae4657a7ff94e413febd97a888567
[ "MIT" ]
1
2019-04-19T16:37:44.000Z
2019-04-19T16:37:44.000Z
problem/01000~09999/02857/2857.py3.py
njw1204/BOJ-AC
1de41685725ae4657a7ff94e413febd97a888567
[ "MIT" ]
1
2019-04-20T11:42:44.000Z
2019-04-20T11:42:44.000Z
problem/01000~09999/02857/2857.py3.py
njw1204/BOJ-AC
1de41685725ae4657a7ff94e413febd97a888567
[ "MIT" ]
3
2019-04-19T16:37:47.000Z
2021-10-25T00:45:00.000Z
a=1 for i in range(5): if 'FBI' in input(): print(i+1,end=' ') a=0 if a: print('HE GOT AWAY!')
16.5
27
0.555556
23
99
2.391304
0.695652
0
0
0
0
0
0
0
0
0
0
0.051282
0.212121
99
6
27
16.5
0.653846
0
0
0
0
0
0.16
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c0abaf869bbe93d0c4be20bb53db1ca7697f6d3d
1,971
py
Python
ntm/ntm.py
clemkoa/ntm
723d4ebea63f8f9439fd1c56f36e3cb680c8a277
[ "MIT" ]
41
2020-05-19T05:48:04.000Z
2021-11-24T11:31:08.000Z
ntm/ntm.py
clemkoa/ntm
723d4ebea63f8f9439fd1c56f36e3cb680c8a277
[ "MIT" ]
3
2021-06-07T09:00:59.000Z
2021-12-30T17:21:07.000Z
ntm/ntm.py
clemkoa/ntm
723d4ebea63f8f9439fd1c56f36e3cb680c8a277
[ "MIT" ]
4
2020-12-31T17:39:42.000Z
2021-12-29T14:11:43.000Z
import torch from torch import nn import torch.nn.functional as F from ntm.controller import Controller from ntm.memory import Memory from ntm.head import ReadHead, WriteHead class NTM(nn.Module): def __init__(self, vector_length, hidden_size, memory_size, lstm_controller=True): super(NTM, self).__init__(...
50.538462
118
0.742263
274
1,971
4.970803
0.193431
0.070485
0.057269
0.044053
0.246696
0.193833
0.061674
0.061674
0
0
0
0.006127
0.171994
1,971
38
119
51.868421
0.828431
0.005074
0
0
0
0
0
0
0
0
0
0
0
1
0.09375
false
0
0.1875
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c0af4a37c3b086f10b2224f1101fb1be4a7fdce1
3,468
py
Python
facebook_business/adobjects/adkeywordstats.py
enricapq/facebook-python-business-sdk
49c569ac5cf812b1bcb533520c35896b0436fa4c
[ "CNRI-Python" ]
null
null
null
facebook_business/adobjects/adkeywordstats.py
enricapq/facebook-python-business-sdk
49c569ac5cf812b1bcb533520c35896b0436fa4c
[ "CNRI-Python" ]
null
null
null
facebook_business/adobjects/adkeywordstats.py
enricapq/facebook-python-business-sdk
49c569ac5cf812b1bcb533520c35896b0436fa4c
[ "CNRI-Python" ]
1
2018-09-24T14:04:48.000Z
2018-09-24T14:04:48.000Z
# Copyright 2014 Facebook, Inc. # You are hereby granted a non-exclusive, worldwide, royalty-free license to # use, copy, modify, and distribute this software in source code or binary # form for use in connection with the web services and APIs provided by # Facebook. # As with any software that integrates with the Fa...
35.387755
79
0.684544
421
3,468
5.47981
0.410926
0.033377
0.043346
0.037711
0.038145
0.018639
0
0
0
0
0
0.001495
0.228662
3,468
97
80
35.752577
0.860935
0.30421
0
0.032787
0
0
0.264855
0.038692
0
0
0
0
0
1
0.04918
false
0
0.081967
0.016393
0.213115
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c0b3ae1a797739b59abdda1942df55aaa68ec172
1,198
py
Python
DQM/TrackingMonitorSource/python/StandaloneTrackMonitor_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
DQM/TrackingMonitorSource/python/StandaloneTrackMonitor_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
DQM/TrackingMonitorSource/python/StandaloneTrackMonitor_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
import FWCore.ParameterSet.Config as cms from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer standaloneTrackMonitor = DQMEDAnalyzer('StandaloneTrackMonitor', moduleName = cms.untracked.string("StandaloneTrackMonitor"), folderName = cms.untracked.string("highPurityTracks"), vertexTag ...
59.9
104
0.687813
116
1,198
7.094828
0.439655
0.18955
0.121507
0.076549
0.048603
0
0
0
0
0
0
0.025694
0.187813
1,198
19
105
63.052632
0.820144
0
0
0
0
0
0.15192
0.082638
0
0
0
0
0
1
0
false
0
0.105263
0
0.105263
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c0b40331943eedccfdcfa2dfe402031536f745fe
7,266
py
Python
tests/test_spatialvector.py
jungr-ait/spatialmath-python
140d499e733ed9775762df90d36e4b2c4c2fc6eb
[ "MIT" ]
183
2020-04-24T02:49:36.000Z
2022-03-31T16:13:38.000Z
tests/test_spatialvector.py
jungr-ait/spatialmath-python
140d499e733ed9775762df90d36e4b2c4c2fc6eb
[ "MIT" ]
29
2020-05-21T04:13:33.000Z
2022-02-15T12:46:17.000Z
tests/test_spatialvector.py
jungr-ait/spatialmath-python
140d499e733ed9775762df90d36e4b2c4c2fc6eb
[ "MIT" ]
39
2020-05-06T11:22:55.000Z
2022-03-21T14:15:16.000Z
import unittest import numpy.testing as nt import numpy as np from spatialmath.spatialvector import * class TestSpatialVector(unittest.TestCase): def test_list_powers(self): x = SpatialVelocity.Empty() self.assertEqual(len(x), 0) x.append(SpatialVelocity([1, 2, 3, 4, 5, 6])) self...
32.58296
90
0.579136
922
7,266
4.52603
0.098698
0.287563
0.181165
0.019171
0.790319
0.790319
0.788162
0.771867
0.749341
0.749341
0
0.04906
0.267823
7,266
223
91
32.58296
0.735338
0.035921
0
0.690476
0
0
0.011294
0
0
0
0
0
0.660714
1
0.047619
false
0.011905
0.02381
0
0.077381
0
0
0
0
null
1
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
1
0
0
0
0
0
0
0
0
0
8
c0b679addf1f8188d5d6b4db7a0f798d7c5b295a
3,048
py
Python
python/meta-regex.py
tbedford/code-snippets
9afe36c2726829f14fa5ec11acb8214bed704938
[ "MIT" ]
null
null
null
python/meta-regex.py
tbedford/code-snippets
9afe36c2726829f14fa5ec11acb8214bed704938
[ "MIT" ]
null
null
null
python/meta-regex.py
tbedford/code-snippets
9afe36c2726829f14fa5ec11acb8214bed704938
[ "MIT" ]
1
2018-10-09T02:03:12.000Z
2018-10-09T02:03:12.000Z
# \s Returns a match where the string contains a white space character # \S Returns a match where the string DOES NOT contain a white space character import re s1 = ''' --- slug: python-non-greedy-regexes title: Python non-greedy regexes summary: How to make Python regexes a little less greedy using the `?` modifier....
26.973451
392
0.686024
519
3,048
4.023121
0.391137
0.015326
0.015805
0.01341
0.236111
0.21408
0.178161
0.1341
0.12069
0.083333
0
0.010791
0.179134
3,048
112
393
27.214286
0.823741
0.059383
0
0.413333
0
0.12
0.949703
0.074048
0
0
0
0
0
1
0.013333
false
0
0.026667
0
0.066667
0.04
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c0b773458653a85f2fb1e0a33ea41844604c6b4f
3,006
py
Python
xdl-algorithm-solution/DIN_WITH_MOGUJIE_DATA/script/train.py
xiaobaoding/x-deeplearning
1280043aba15ff57ac5e973bcce2489c698380d2
[ "Apache-2.0" ]
null
null
null
xdl-algorithm-solution/DIN_WITH_MOGUJIE_DATA/script/train.py
xiaobaoding/x-deeplearning
1280043aba15ff57ac5e973bcce2489c698380d2
[ "Apache-2.0" ]
null
null
null
xdl-algorithm-solution/DIN_WITH_MOGUJIE_DATA/script/train.py
xiaobaoding/x-deeplearning
1280043aba15ff57ac5e973bcce2489c698380d2
[ "Apache-2.0" ]
null
null
null
#coding=utf-8 # Copyright (C) 2016-2018 Alibaba Group Holding Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required...
30.06
112
0.663007
407
3,006
4.739558
0.434889
0.031104
0.044064
0.016589
0
0
0
0
0
0
0
0.010284
0.191284
3,006
99
113
30.363636
0.783217
0.240186
0
0.034483
0
0.017241
0.183985
0
0
0
0
0
0
1
0.051724
false
0.017241
0.206897
0.017241
0.275862
0.017241
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c0b94e63b8ef518a54d1b8787a0fbfafc3083387
53
py
Python
script/__init__.py
KaoruNishikawa/nanten_tools
f5af30a40e8d558ae247c8e864fdea5edc0f5fb7
[ "MIT" ]
null
null
null
script/__init__.py
KaoruNishikawa/nanten_tools
f5af30a40e8d558ae247c8e864fdea5edc0f5fb7
[ "MIT" ]
null
null
null
script/__init__.py
KaoruNishikawa/nanten_tools
f5af30a40e8d558ae247c8e864fdea5edc0f5fb7
[ "MIT" ]
null
null
null
__version__ = "0.1.0" __author__ = "Kaoru Nishikawa"
17.666667
30
0.716981
7
53
4.285714
0.857143
0
0
0
0
0
0
0
0
0
0
0.065217
0.132075
53
2
31
26.5
0.586957
0
0
0
0
0
0.377358
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
2
c0ba497faffdf2c98170646061c1181fdbd7ee74
1,542
py
Python
feature_extract/config.py
bradysalz/MinVAD
4d4a396b381bbb4714b434f60e09fb2fa7d3c474
[ "MIT" ]
null
null
null
feature_extract/config.py
bradysalz/MinVAD
4d4a396b381bbb4714b434f60e09fb2fa7d3c474
[ "MIT" ]
2
2016-12-09T21:16:28.000Z
2016-12-09T21:29:10.000Z
feature_extract/config.py
bradysalz/MinVAD
4d4a396b381bbb4714b434f60e09fb2fa7d3c474
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Mon Nov 21 18:51:11 2016 @author: brady """ #################### TRAINING #################### # POS DIRS TRAIN_CLEAN = r'C:\Users\brady\GitHub\MinVAD\data\train\positive\clean' TRAIN_0DB = r'C:\Users\brady\GitHub\MinVAD\data\train\positive\0db' TRAIN_5DB = r'C:\Users\brady\GitHu...
41.675676
106
0.732815
245
1,542
4.477551
0.208163
0.02917
0.102097
0.175023
0.628988
0.628988
0.628988
0.628988
0.603464
0.083865
0
0.034698
0.065499
1,542
37
107
41.675676
0.726579
0.080415
0
0
0
0
0.676714
0.676714
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c0ba62a6a723e9a0a8608f8d14f5550d2b17eba4
6,735
py
Python
kuka_arm/scripts/IK_server.py
congthanh184/RoboND-Kinematics-Project
4c14ad5a9461fa5cdf465a04f8f11ff296b00760
[ "MIT" ]
null
null
null
kuka_arm/scripts/IK_server.py
congthanh184/RoboND-Kinematics-Project
4c14ad5a9461fa5cdf465a04f8f11ff296b00760
[ "MIT" ]
null
null
null
kuka_arm/scripts/IK_server.py
congthanh184/RoboND-Kinematics-Project
4c14ad5a9461fa5cdf465a04f8f11ff296b00760
[ "MIT" ]
null
null
null
#!/usr/bin/env python # Copyright (C) 2017 Udacity Inc. # # This file is part of Robotic Arm: Pick and Place project for Udacity # Robotics nano-degree program # # All Rights Reserved. # Author: Harsh Pandya # import modules import rospy import tf from kuka_arm.srv import * from trajectory_msgs.msg import JointTraje...
35.634921
119
0.621678
959
6,735
4.211679
0.25756
0.023768
0.020054
0.028472
0.118346
0.074771
0.037633
0.037633
0.037633
0.037633
0
0.055858
0.263697
6,735
188
120
35.824468
0.758621
0.176986
0
0.019231
0
0
0.027712
0
0
0
0
0
0
0
null
null
0
0.076923
null
null
0.019231
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c0bafd320c0a8a62b60bbf8a3554bd41b71dc5db
12,205
py
Python
bin/ADFRsuite/lib/python2.7/site-packages/radical/utils/profile.py
AngelRuizMoreno/Jupyter_Dock_devel
6d23bc174d5294d1e9909a0a1f9da0713042339e
[ "MIT" ]
null
null
null
bin/ADFRsuite/lib/python2.7/site-packages/radical/utils/profile.py
AngelRuizMoreno/Jupyter_Dock_devel
6d23bc174d5294d1e9909a0a1f9da0713042339e
[ "MIT" ]
null
null
null
bin/ADFRsuite/lib/python2.7/site-packages/radical/utils/profile.py
AngelRuizMoreno/Jupyter_Dock_devel
6d23bc174d5294d1e9909a0a1f9da0713042339e
[ "MIT" ]
1
2021-11-04T21:48:14.000Z
2021-11-04T21:48:14.000Z
import os import csv import glob import time import threading from .misc import name2env as ru_name2env from .misc import get_hostname as ru_get_hostname from .misc import get_hostip as ru_get_hostip from .read_json import read_json as ru_read_json # ---------------------------------...
28.990499
84
0.498484
1,393
12,205
4.242642
0.235463
0.00643
0.005584
0.005415
0.108799
0.091371
0.054484
0.054484
0.054484
0.031472
0
0.003731
0.319295
12,205
420
85
29.059524
0.707631
0.240475
0
0.19
0
0
0.06953
0.01161
0
0
0
0.004762
0.01
0
null
null
0.01
0.05
null
null
0.02
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c0bb7b8a74c23f921be8c3f93658d3fa62727ccc
5,214
py
Python
input_fn.py
ilyakhov/pytorch-word2vec
bb9b0ed408a12e3652d2d897330292b7b93c7997
[ "MIT" ]
12
2019-05-22T13:08:42.000Z
2021-07-11T07:12:37.000Z
input_fn.py
ilyakhov/pytorch-word2vec
bb9b0ed408a12e3652d2d897330292b7b93c7997
[ "MIT" ]
null
null
null
input_fn.py
ilyakhov/pytorch-word2vec
bb9b0ed408a12e3652d2d897330292b7b93c7997
[ "MIT" ]
1
2021-02-20T09:04:19.000Z
2021-02-20T09:04:19.000Z
import numpy as np import torch from torch.utils.data import Dataset class CBOWDataSet(Dataset): def __init__(self, corpus, pipeline='hier_softmax', nodes_index=None, turns_index=None, vocab_size=None, neg_samples=None, ...
36.71831
77
0.575374
617
5,214
4.687196
0.176661
0.044952
0.038728
0.034578
0.414592
0.36065
0.301521
0.301521
0.277317
0.245505
0
0.006869
0.329881
5,214
141
78
36.978723
0.820263
0.186038
0
0.376344
0
0
0.072016
0
0
0
0
0
0.043011
1
0.053763
false
0
0.032258
0.010753
0.16129
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c0bc31b78e193431b864fc09c2a40bbe17627b76
301
py
Python
1 ano/logica-de-programacao/condicionais/peso-animais-maior-menor.py
Biguelini/Atividades-Tecnico-em-Informatica
468e9ac05a666143d8752d053854ecc22bcc8b79
[ "MIT" ]
4
2021-04-27T01:00:32.000Z
2021-09-24T16:25:48.000Z
1 ano/logica-de-programacao/condicionais/peso-animais-maior-menor.py
Biguelini/Atividades-Tecnico-em-Informatica
468e9ac05a666143d8752d053854ecc22bcc8b79
[ "MIT" ]
null
null
null
1 ano/logica-de-programacao/condicionais/peso-animais-maior-menor.py
Biguelini/Atividades-Tecnico-em-Informatica
468e9ac05a666143d8752d053854ecc22bcc8b79
[ "MIT" ]
1
2021-05-12T18:28:06.000Z
2021-05-12T18:28:06.000Z
peso1 = float(input('Digite o peso do primeiro animal... ')) peso2 = float(input('Digite o peso do segundo animal... ')) if peso1 > peso2: print('O primeiro animal é mais pesado') elif peso1 < peso2: print('O segundo animal é mais pesado') else: print('Os dois animais têm o mesmo peso')
30.1
60
0.681063
47
301
4.361702
0.489362
0.097561
0.156098
0.165854
0.22439
0.22439
0
0
0
0
0
0.024793
0.196013
301
9
61
33.444444
0.822314
0
0
0
0
0
0.544851
0
0
0
0
0
0
1
0
false
0
0
0
0
0.375
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c0bd2f1bb8af7bb26fd427d057716fce6e53b345
607
py
Python
uniform_distribution.py
khinthandarkyaw98/Python_Practice
9b431129c79315a57dae81048a22bf85c4b5132c
[ "MIT" ]
null
null
null
uniform_distribution.py
khinthandarkyaw98/Python_Practice
9b431129c79315a57dae81048a22bf85c4b5132c
[ "MIT" ]
null
null
null
uniform_distribution.py
khinthandarkyaw98/Python_Practice
9b431129c79315a57dae81048a22bf85c4b5132c
[ "MIT" ]
null
null
null
# uniform_distribution # used to describe the probability where every event has equal chances of # occuring """ E.g. Generation of random numbers. It has three parameters. a - lower bound - default 0.0 b - upper bound - default 1.0 size = The shape of the returned array """ # 2x3 uniform distribution...
20.233333
75
0.70346
87
607
4.896552
0.643678
0.133803
0.070423
0.098592
0
0
0
0
0
0
0
0.02537
0.220758
607
29
76
20.931034
0.875264
0.589786
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
c0c0cf39ce27029feb9aa7a105da2d19af17d25d
1,563
py
Python
delivery/services/external_program_service.py
mariya/arteria-delivery
ec2fd79cfc6047a44dd251183b971535e9afd0dc
[ "MIT" ]
null
null
null
delivery/services/external_program_service.py
mariya/arteria-delivery
ec2fd79cfc6047a44dd251183b971535e9afd0dc
[ "MIT" ]
18
2016-11-10T14:32:54.000Z
2019-10-14T07:07:54.000Z
delivery/services/external_program_service.py
mariya/arteria-delivery
ec2fd79cfc6047a44dd251183b971535e9afd0dc
[ "MIT" ]
6
2016-10-18T12:16:46.000Z
2019-09-11T11:38:17.000Z
from tornado.process import Subprocess from tornado import gen from subprocess import PIPE from delivery.models.execution import ExecutionResult, Execution class ExternalProgramService(object): """ A service for running external programs """ @staticmethod def run(cmd): """ Run...
29.490566
82
0.621881
185
1,563
5.172973
0.345946
0.043887
0.040752
0.022989
0.194357
0.194357
0.121212
0.121212
0.121212
0.121212
0
0.001794
0.286628
1,563
52
83
30.057692
0.856502
0.294946
0
0.130435
0
0
0.010352
0
0
0
0
0
0
1
0.130435
false
0
0.173913
0
0.478261
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c0c468474802f951d70f92ebb743554a56f1d46b
1,577
py
Python
Estructuras de control/ejercicio12.py
mariapdm/talleres_de_algoritmos
fc9ad8f8ad2c3cb4f4ae0a7fad2e36824bba2afb
[ "MIT" ]
null
null
null
Estructuras de control/ejercicio12.py
mariapdm/talleres_de_algoritmos
fc9ad8f8ad2c3cb4f4ae0a7fad2e36824bba2afb
[ "MIT" ]
null
null
null
Estructuras de control/ejercicio12.py
mariapdm/talleres_de_algoritmos
fc9ad8f8ad2c3cb4f4ae0a7fad2e36824bba2afb
[ "MIT" ]
null
null
null
""" Datos de entrada nota_examen_ matematicas-->nem-->float nota_ta1_matematicas-->ntm--> nota_ta2_matematicas-->nttm--> nota_ta3_matematicas-->ntttm--> nota_examen_fisica-->nef-->float nota_ta1_fisica-->ntf-->float nota_ta2_fisica-->nttf-->float nota_examen_quimica-->neq-->float nota_ta1_quimica-->ntq-->float nota_ta2...
38.463415
70
0.726062
268
1,577
4.175373
0.216418
0.098302
0.167113
0.186774
0.355675
0.355675
0.355675
0.355675
0.264522
0.264522
0
0.024788
0.104629
1,577
41
71
38.463415
0.767705
0.338618
0
0
0
0
0.583172
0
0
0
0
0
0
1
0
false
0
0
0
0
0.210526
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c0c491c66e363814a85776c34ddeffc5e419a0b3
9,667
py
Python
xraydb/materials.py
chemmatcars/XModFit
7d1298448d1908d78797fd67ce0a00ecfaf17629
[ "MIT" ]
null
null
null
xraydb/materials.py
chemmatcars/XModFit
7d1298448d1908d78797fd67ce0a00ecfaf17629
[ "MIT" ]
null
null
null
xraydb/materials.py
chemmatcars/XModFit
7d1298448d1908d78797fd67ce0a00ecfaf17629
[ "MIT" ]
null
null
null
import os import numpy as np from collections import namedtuple from .chemparser import chemparse from .xray import mu_elam, atomic_mass from .utils import get_homedir _materials = None Material = namedtuple('Material', ('formula', 'density', 'name', 'categories')) def get_user_materialsfile(): """return name fo...
31.90429
91
0.58529
1,149
9,667
4.835509
0.227154
0.017279
0.016199
0.023398
0.325414
0.284557
0.237041
0.210043
0.182145
0.166307
0
0.029648
0.316127
9,667
302
92
32.009934
0.81077
0.396607
0
0.404255
0
0
0.062338
0
0
0
0
0
0
1
0.06383
false
0.007092
0.042553
0
0.177305
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c0c62d4eee91d75a65403ff152657c9c03089c57
1,069
py
Python
client.py
simondlevy/sockets
f49dd677b6508859f01c9c54101b38e802d6370e
[ "MIT" ]
null
null
null
client.py
simondlevy/sockets
f49dd677b6508859f01c9c54101b38e802d6370e
[ "MIT" ]
null
null
null
client.py
simondlevy/sockets
f49dd677b6508859f01c9c54101b38e802d6370e
[ "MIT" ]
1
2018-06-12T03:32:26.000Z
2018-06-12T03:32:26.000Z
#!/usr/bin/env python3 ''' Server script for simple client/server example Copyright (C) Simon D. Levy 2021 MIT License ''' from threading import Thread from time import sleep import socket from struct import unpack from header import ADDR, PORT def comms(data): ''' Communications thread ''' # Conn...
18.431034
65
0.613658
148
1,069
4.418919
0.574324
0.013761
0.012232
0.018349
0
0
0
0
0
0
0
0.03251
0.280636
1,069
57
66
18.754386
0.817945
0.335828
0
0.086957
0
0
0.036765
0
0
0
0
0
0
1
0.086957
false
0
0.217391
0
0.304348
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c0c65039eac0d1c182008b9f53dbb8727df88022
151
py
Python
home/views.py
kerol/kerolgaodotcom
7993bb5f40dd1f6b3ebdef4d90728cd77651c026
[ "BSD-3-Clause" ]
1
2016-03-02T02:49:00.000Z
2016-03-02T02:49:00.000Z
home/views.py
kerol/kerolgaodotcom
7993bb5f40dd1f6b3ebdef4d90728cd77651c026
[ "BSD-3-Clause" ]
null
null
null
home/views.py
kerol/kerolgaodotcom
7993bb5f40dd1f6b3ebdef4d90728cd77651c026
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf8 -*- from django.shortcuts import render # Create your views here. def index(request): return render(request, 'about.html')
15.1
40
0.682119
19
151
5.421053
0.894737
0
0
0
0
0
0
0
0
0
0
0.00813
0.18543
151
9
41
16.777778
0.829268
0.298013
0
0
0
0
0.098039
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
6
c0c6c96cefa40fab2593e89ee811e26649ffff4f
15,126
py
Python
old/compute_T.py
azhan137/cylinder_t_matrix
73a496c07dbbb02896b2baf727d452765da9aac3
[ "MIT" ]
1
2022-03-18T11:52:36.000Z
2022-03-18T11:52:36.000Z
old/compute_T.py
AmosEgel/cylinder_t_matrix
78f6607993af5babdda384969c45cf3ac6461257
[ "MIT" ]
null
null
null
old/compute_T.py
AmosEgel/cylinder_t_matrix
78f6607993af5babdda384969c45cf3ac6461257
[ "MIT" ]
1
2020-12-07T13:11:00.000Z
2020-12-07T13:11:00.000Z
import numpy as np from numpy.polynomial import legendre from smuthi import spherical_functions as sf import bessel_functions as bf ##Codebase for computing the T-matrix and its derivative with respect to height and radius for a cylindrical scatterer # with circular cross-section in spherical coordinates. # # inputs: ...
52.703833
248
0.628719
2,550
15,126
3.514902
0.132157
0.053107
0.040165
0.005355
0.425639
0.373201
0.314627
0.230838
0.19826
0.165904
0
0.046327
0.235092
15,126
286
249
52.888112
0.728349
0.221671
0
0.088235
0
0
0.007345
0
0
0
0
0
0
1
0.029412
false
0
0.029412
0.005882
0.105882
0.011765
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c0c7d98ec94365b9cf9f0e166a19f7b2371bc3ed
982
py
Python
run_tests.py
aquarioos/dvik-print
b897936168dab51c9e0f9fd84993065428896be4
[ "MIT" ]
1
2018-09-19T22:27:32.000Z
2018-09-19T22:27:32.000Z
run_tests.py
aquarioos/dvik-print
b897936168dab51c9e0f9fd84993065428896be4
[ "MIT" ]
null
null
null
run_tests.py
aquarioos/dvik-print
b897936168dab51c9e0f9fd84993065428896be4
[ "MIT" ]
null
null
null
# -*- coding: utf8 -*- from __future__ import division, absolute_import, print_function import os import sys import datetime as dt import dvik_print as dvp if __name__ == '__main__': print(sys.version) O = { 'lista': ['el1', 'el2', 1, 2, 3, 4, None, False], 'zbiór': {1, 2, 1, 2, 'a', 'a', 'b...
26.540541
98
0.566191
124
982
4.290323
0.653226
0.011278
0.033835
0
0
0
0
0
0
0
0
0.065278
0.266802
982
36
99
27.277778
0.673611
0.165988
0
0
0
0
0.135468
0
0
0
0
0
0
1
0
false
0
0.217391
0
0.217391
0.130435
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c0c85207554af0054a2d3560e6e8d9cb080608eb
6,200
py
Python
nwb_conversion_tools/datainterfaces/ecephys/basesortingextractorinterface.py
miketrumpis/nwb-conversion-tools
4d5c270b70eb4f1c09f98a6c04b51ccdf20336c1
[ "BSD-3-Clause" ]
null
null
null
nwb_conversion_tools/datainterfaces/ecephys/basesortingextractorinterface.py
miketrumpis/nwb-conversion-tools
4d5c270b70eb4f1c09f98a6c04b51ccdf20336c1
[ "BSD-3-Clause" ]
null
null
null
nwb_conversion_tools/datainterfaces/ecephys/basesortingextractorinterface.py
miketrumpis/nwb-conversion-tools
4d5c270b70eb4f1c09f98a6c04b51ccdf20336c1
[ "BSD-3-Clause" ]
null
null
null
"""Authors: Cody Baker and Ben Dichter.""" from abc import ABC from pathlib import Path import spikeextractors as se import numpy as np from pynwb import NWBFile, NWBHDF5IO from pynwb.ecephys import SpikeEventSeries from jsonschema import validate from ...basedatainterface import BaseDataInterface from ...utils.json_sc...
42.465753
119
0.647581
659
6,200
5.895296
0.306525
0.032432
0.02574
0.031918
0.114028
0.088031
0.038095
0.038095
0.038095
0.038095
0
0.001753
0.264032
6,200
145
120
42.758621
0.84966
0.30629
0
0.058824
0
0
0.088169
0.0211
0
0
0
0
0
1
0.047059
false
0
0.141176
0
0.235294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c0c8cb69c19ab4dd40d043117a7822abefc679ef
1,711
py
Python
buildscripts/resmokelib/testing/testcases/cpp_libfuzzer_test.py
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
buildscripts/resmokelib/testing/testcases/cpp_libfuzzer_test.py
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
buildscripts/resmokelib/testing/testcases/cpp_libfuzzer_test.py
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
"""The libfuzzertest.TestCase for C++ libfuzzer tests.""" import datetime import os from buildscripts.resmokelib import core from buildscripts.resmokelib import utils from buildscripts.resmokelib.testing.fixtures import interface as fixture_interface from buildscripts.resmokelib.testing.testcases import interface c...
38.022222
100
0.707189
200
1,711
5.81
0.445
0.090361
0.089501
0.055077
0.060241
0.060241
0
0
0
0
0
0.016703
0.195207
1,711
44
101
38.886364
0.82716
0.143776
0
0
0
0
0.151934
0.073895
0
0
0
0
0
1
0.068966
false
0
0.206897
0
0.413793
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c0c904cad48edbd6699de73edf6362e41250b47a
509
py
Python
app/exceptions.py
syedwaseemjan/RiskManager
c788daf533b125740ccd1fb09acebe023ca286b7
[ "MIT" ]
null
null
null
app/exceptions.py
syedwaseemjan/RiskManager
c788daf533b125740ccd1fb09acebe023ca286b7
[ "MIT" ]
null
null
null
app/exceptions.py
syedwaseemjan/RiskManager
c788daf533b125740ccd1fb09acebe023ca286b7
[ "MIT" ]
null
null
null
class RiskManagerError(Exception): """Base application error class.""" def __init__(self, msg): self.msg = msg class RiskDoesNotExist(RiskManagerError): def __init__(self): super(RiskDoesNotExist, self).__init__( "No risk record found for the provided ID. Are you sure you hav...
25.45
99
0.681729
59
509
5.610169
0.59322
0.063444
0.099698
0
0
0
0
0
0
0
0
0
0.222004
509
19
100
26.789474
0.835859
0.147348
0
0
0
0
0.198582
0
0
0
0
0
0
1
0.3
false
0
0
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
c0c9967167f2ebbfb12ea4280bc6aa6f0ee2cebd
1,278
py
Python
data_curation/genome_annotations/preprocess_SEA.py
talkowski-lab/rCNV2
fcc1142d8c13b58d18a37fe129e9bb4d7bd6641d
[ "MIT" ]
7
2021-01-28T15:46:46.000Z
2022-02-07T06:50:40.000Z
data_curation/genome_annotations/preprocess_SEA.py
talkowski-lab/rCNV2
fcc1142d8c13b58d18a37fe129e9bb4d7bd6641d
[ "MIT" ]
1
2021-03-02T01:33:53.000Z
2021-03-02T01:33:53.000Z
data_curation/genome_annotations/preprocess_SEA.py
talkowski-lab/rCNV2
fcc1142d8c13b58d18a37fe129e9bb4d7bd6641d
[ "MIT" ]
3
2021-02-21T19:49:12.000Z
2021-12-22T15:56:21.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (c) 2020 Ryan L. Collins <rlcollins@g.harvard.edu> # and the Talkowski Laboratory # Distributed under terms of the MIT license. """ Parse simple SEA super-enhancer BED by cell types """ import argparse import csv import subprocess def main(): """ ...
26.081633
89
0.622066
151
1,278
5.152318
0.635762
0.020566
0.043702
0
0
0
0
0
0
0
0
0.006073
0.226917
1,278
48
90
26.625
0.781377
0.21831
0
0
0
0
0.098039
0
0
0
0
0
0
1
0.043478
false
0
0.130435
0
0.173913
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c0cba6784c6a4d07543a90ca7bc4b5a773c81fe7
2,461
py
Python
src/transforms/imageCropDivide/dev/generate_nodenk.py
MrLixm/Foundry_Nuke
078115043b6a4c09bdcf1b5031e995ef296bd604
[ "Apache-2.0" ]
null
null
null
src/transforms/imageCropDivide/dev/generate_nodenk.py
MrLixm/Foundry_Nuke
078115043b6a4c09bdcf1b5031e995ef296bd604
[ "Apache-2.0" ]
null
null
null
src/transforms/imageCropDivide/dev/generate_nodenk.py
MrLixm/Foundry_Nuke
078115043b6a4c09bdcf1b5031e995ef296bd604
[ "Apache-2.0" ]
null
null
null
""" python>3 """ import os.path import re from pathlib import Path VERSION = 7 BASE = r""" set cut_paste_input [stack 0] version 12.2 v5 push $cut_paste_input Group { name imageCropDivide tile_color 0x5c3d84ff note_font_size 25 note_font_color 0xffffffff selected true xpos 411 ypos -125 addUserKnob {20 User} ...
25.905263
213
0.683056
336
2,461
4.78869
0.410714
0.067122
0.029832
0.064636
0.12803
0.10317
0.048477
0.048477
0
0
0
0.029829
0.169037
2,461
94
214
26.180851
0.756968
0.017473
0
0.084507
0
0.028169
0.5467
0.022831
0
0
0.008302
0
0.014085
1
0.028169
false
0
0.042254
0
0.098592
0.042254
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c0cd5d7d340b27b3217620ef4b12a1391841820b
2,294
py
Python
workflow/tests/test_experiment_qc.py
JAMKuttan/chipseq_analysis
f8e4853bfdb4de8540026ae0b23235d72a1114ad
[ "MIT" ]
null
null
null
workflow/tests/test_experiment_qc.py
JAMKuttan/chipseq_analysis
f8e4853bfdb4de8540026ae0b23235d72a1114ad
[ "MIT" ]
null
null
null
workflow/tests/test_experiment_qc.py
JAMKuttan/chipseq_analysis
f8e4853bfdb4de8540026ae0b23235d72a1114ad
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import pytest import os import pandas as pd from io import StringIO import experiment_qc test_output_path = os.path.dirname(os.path.abspath(__file__)) + \ '/../output/experimentQC/' DESIGN_STRING = """sample_id\texperiment_id\tbiosample\tfactor\ttreatment\treplicate\tcontrol_id...
30.586667
107
0.773322
353
2,294
4.764873
0.23796
0.092747
0.108205
0.128419
0.560642
0.545184
0.473246
0.473246
0.473246
0.473246
0
0.01784
0.095902
2,294
74
108
31
0.793153
0.009154
0
0.32
0
0
0.25044
0.215669
0
0
0
0
0.26
1
0.2
false
0
0.1
0
0.32
0.12
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c0d13bb4fa90665ac270a6c1d4953230e7cffcc2
371
py
Python
sensors/routing.py
edisondotme/motoPi
18ddd46d97a4db0918fd2c3cc1ffc60600158124
[ "MIT" ]
2
2021-05-10T22:04:36.000Z
2022-01-10T03:23:04.000Z
sensors/routing.py
edisondotme/motoPi
18ddd46d97a4db0918fd2c3cc1ffc60600158124
[ "MIT" ]
1
2017-02-13T08:18:49.000Z
2017-02-14T07:11:18.000Z
sensors/routing.py
edisondotme/motoPi
18ddd46d97a4db0918fd2c3cc1ffc60600158124
[ "MIT" ]
1
2021-05-10T22:04:57.000Z
2021-05-10T22:04:57.000Z
from channels.routing import route from .consumers import ws_message, ws_connect, ws_disconnect # TODO: Edit this to make proper use of channels.routing.route() or not channel_routing = { # route("websocket.receive", ws_message, path=r"^/chat/"), "websocket.connect": ws_connect, "websocket.receive": ws_mes...
30.916667
72
0.74124
49
371
5.44898
0.530612
0.101124
0.134831
0.187266
0
0
0
0
0
0
0
0
0.142857
371
11
73
33.727273
0.839623
0.339623
0
0
0
0
0.233766
0
0
0
0
0.090909
0
1
0
false
0
0.285714
0
0.285714
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
2
c0d1e420d8a5ef2c04e4e14f531037003c9ed4f0
3,626
py
Python
native_client_sdk/src/build_tools/tests/test_generate_make.py
junmin-zhu/chromium-rivertrail
eb1a57aca71fe68d96e48af8998dcfbe45171ee1
[ "BSD-3-Clause" ]
5
2018-03-10T13:08:42.000Z
2021-07-26T15:02:11.000Z
native_client_sdk/src/build_tools/tests/test_generate_make.py
quisquous/chromium
b25660e05cddc9d0c3053b3514f07037acc69a10
[ "BSD-3-Clause" ]
1
2015-07-21T08:02:01.000Z
2015-07-21T08:02:01.000Z
native_client_sdk/src/build_tools/tests/test_generate_make.py
jianglong0156/chromium.src
d496dfeebb0f282468827654c2b3769b3378c087
[ "BSD-3-Clause" ]
6
2016-11-14T10:13:35.000Z
2021-01-23T15:29:53.000Z
#!/usr/bin/env python # Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import copy import datetime import os import posixpath import subprocess import sys import unittest SCRIPT_DIR = os.path.dirname(o...
29.008
79
0.671539
461
3,626
5.145336
0.340564
0.037943
0.075885
0.094857
0.39629
0.356239
0.312816
0.226391
0.151349
0.085582
0
0.008457
0.184777
3,626
124
80
29.241935
0.793978
0.068395
0
0.180851
0
0
0.169582
0.013638
0
0
0
0.008065
0.074468
1
0.12766
false
0
0.085106
0
0.255319
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c0d2686a32c098e3878691628a43110629043f78
1,089
py
Python
main.py
YasunoriMATSUOKA/photo-hunt
e3ca9e8f42c8a6c6b02c9fdcee9ea44a30d18f66
[ "MIT" ]
null
null
null
main.py
YasunoriMATSUOKA/photo-hunt
e3ca9e8f42c8a6c6b02c9fdcee9ea44a30d18f66
[ "MIT" ]
null
null
null
main.py
YasunoriMATSUOKA/photo-hunt
e3ca9e8f42c8a6c6b02c9fdcee9ea44a30d18f66
[ "MIT" ]
null
null
null
from PhotoHunt import PhotoHunt # Todo: 各URLあたり1~2個の未検出、誤検出等の課題はあるが、概ね意図通り動作する状態となった url_list = [ "https://www.saizeriya.co.jp/entertainment/images/1710/body.png", "https://www.saizeriya.co.jp/entertainment/images/1801/body.png", "https://www.saizeriya.co.jp/entertainment/images/1804/body.png", "https:...
47.347826
69
0.733701
153
1,089
5.196078
0.24183
0.130818
0.277987
0.310692
0.759748
0.759748
0.759748
0.709434
0.709434
0
0
0.054271
0.086318
1,089
22
70
49.5
0.744724
0.045914
0
0
0
0
0.777242
0
0
0
0
0.045455
0
1
0
false
0
0.052632
0
0.052632
0
0
0
0
null
0
1
1
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
8
c0d317f2e8f8665da9e599f1dc02201ed251fea1
568
py
Python
Curso_em_Video_py3/ex069.py
Rodrigo98Matos/Projetos_py
6428e2c09d28fd8a717743f4434bc788e7d7d3cc
[ "MIT" ]
1
2021-05-11T12:39:43.000Z
2021-05-11T12:39:43.000Z
Curso_em_Video_py3/ex069.py
Rodrigo98Matos/Projetos_py
6428e2c09d28fd8a717743f4434bc788e7d7d3cc
[ "MIT" ]
null
null
null
Curso_em_Video_py3/ex069.py
Rodrigo98Matos/Projetos_py
6428e2c09d28fd8a717743f4434bc788e7d7d3cc
[ "MIT" ]
null
null
null
a = b = c = 0 while True: flag = '' i = -1 s = '' while i < 0: i = int(input('idade:\t')) while s != 'M' and s != 'F': s = str(input('Sexo [M] [F]:\t')).strip().upper()[0] if i > 18: a += 1 if s == 'M': b += 1 elif i < 20: c += 1 while flag != ...
27.047619
100
0.452465
93
568
2.763441
0.451613
0.015564
0.085603
0.093385
0.108949
0
0
0
0
0
0
0.042667
0.339789
568
20
101
28.4
0.642667
0
0
0
0
0.05
0.285211
0
0
0
0
0
0
1
0
false
0
0
0
0
0.05
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0