content
stringlengths
1
103k
path
stringlengths
8
216
filename
stringlengths
2
179
language
stringclasses
15 values
size_bytes
int64
2
189k
quality_score
float64
0.5
0.95
complexity
float64
0
1
documentation_ratio
float64
0
1
repository
stringclasses
5 values
stars
int64
0
1k
created_date
stringdate
2023-07-10 19:21:08
2025-07-09 19:11:45
license
stringclasses
4 values
is_test
bool
2 classes
file_hash
stringlengths
32
32
available:\n - original\n - original_white\n - dark_green\n - magenta\n - egyptian_blue\n - dark\n
dataset_sample\yaml\ruby\color_themes.yml
color_themes.yml
YAML
97
0.5
0
0
python-kit
0
2024-11-12T00:26:55.767799
BSD-3-Clause
false
2cfaf852d27e1fcb368132b6b23b4f7d
prelude: |\n max, min = 1000.0, -1000.0\n a = Complex(rand(max)+min, rand(max)+min)\n b = Complex(rand(max)+min, rand(max)+min)\nbenchmark:\n complex_float_add: c = a + b\nloop_count: 1000000\n
dataset_sample\yaml\ruby\complex_float_add.yml
complex_float_add.yml
YAML
190
0.7
0
0
python-kit
797
2023-08-08T04:39:15.597686
GPL-3.0
false
4902220eb50571d738afb6466fc1ca0c
prelude: |\n max, min = 1000.0, -1000.0\n a = Complex(rand(max)+min, rand(max)+min)\n b = Complex(rand(max)+min, rand(max)+min)\nbenchmark:\n complex_float_div: c = a / b\nloop_count: 1000000\n
dataset_sample\yaml\ruby\complex_float_div.yml
complex_float_div.yml
YAML
190
0.7
0
0
react-lib
591
2023-10-17T12:43:02.948780
Apache-2.0
false
3ae94e7851c583f225e6660c4258782b
prelude: |\n max, min = 1000.0, -1000.0\n a = Complex(rand(max)+min, rand(max)+min)\n b = Complex(rand(max)+min, rand(max)+min)\nbenchmark:\n complex_float_mul: c = a * b\nloop_count: 1000000\n
dataset_sample\yaml\ruby\complex_float_mul.yml
complex_float_mul.yml
YAML
190
0.7
0
0
awesome-app
630
2025-04-22T21:09:12.961348
GPL-3.0
false
005427a5b392c2b9784bae13a1742932
prelude: |\n max, min = 1000.0, -1000.0\n a = Complex(rand(max)+min, rand(max)+min)\n b = Complex(rand(max)+min, rand(max)+min)\nbenchmark:\n complex_float_new: c = Complex(a, b)\nloop_count: 1000000\n
dataset_sample\yaml\ruby\complex_float_new.yml
complex_float_new.yml
YAML
198
0.7
0
0
vue-tools
470
2023-08-09T04:03:20.095071
BSD-3-Clause
false
e558d8f40f074e697b2df5818f1ca364
prelude: |\n max, min = 1000.0, -1000.0\n a = Complex(rand(max)+min, rand(max)+min)\n b = Complex(rand(max)+min, rand(max)+min)\nbenchmark:\n complex_float_power: c = a ** b\nloop_count: 1000000\n
dataset_sample\yaml\ruby\complex_float_power.yml
complex_float_power.yml
YAML
193
0.7
0
0
awesome-app
330
2024-01-06T09:46:25.828719
MIT
false
a6c3cac6440469626d487225b20ba15f
prelude: |\n max, min = 1000.0, -1000.0\n a = Complex(rand(max)+min, rand(max)+min)\n b = Complex(rand(max)+min, rand(max)+min)\nbenchmark:\n complex_float_sub: c = a - b\nloop_count: 1000000\n
dataset_sample\yaml\ruby\complex_float_sub.yml
complex_float_sub.yml
YAML
190
0.7
0
0
node-utils
471
2024-06-17T22:06:17.756963
GPL-3.0
false
5c50d4ed3ce039bdaba9ca8f9601b26e
version: 2.1\n\ndefaults: &defaults\n environment: &environment\n CIRCLE_TEST_REPORTS: /tmp/test-results\n CIRCLE_ARTIFACTS: /tmp/test-artifacts\n BUNDLE_JOBS: 4\n BUNDLE_RETRY: 3\n BUNDLE_PATH: ~/spree/vendor/bundle\n DB_HOST: localhost\n DB: postgres # default value, this will speed up bundle in...
dataset_sample\yaml\ruby\config.yml
config.yml
YAML
4,687
0.95
0.005263
0.021739
python-kit
643
2024-03-02T13:52:35.351204
MIT
false
6b8a249a7aeeb967b58271df41ff14dc
services:\n rails:\n image: quay.io/forem/forem:development\n container_name: forem_rails\n ports:\n - "3000:3000"\n depends_on:\n - bundle\n - db\n - redis\n - yarn\n healthcheck:\n test: ["CMD", "curl" , "-f", "http://localhost:3000/"]\n interval: 30s\n timeout:...
dataset_sample\yaml\ruby\container-compose.yml
container-compose.yml
YAML
4,399
0.8
0
0
vue-tools
528
2023-10-02T16:17:48.115008
MIT
false
7e68a3efa519bc697a00cf684a4c9ef8
# This is needed for the GitHub Action\nproject_id_env: CROWDIN_PROJECT_ID\napi_token_env: CROWDIN_PERSONAL_TOKEN\n\nskip_untranslated_strings: 1\ncommit_message: '[ci skip]'\npreserve_hierarchy: true\nfiles:\n - source: /app/javascript/mastodon/locales/en.json\n translation: /app/javascript/mastodon/locales/%two_l...
dataset_sample\yaml\ruby\crowdin.yml
crowdin.yml
YAML
870
0.8
0.05
0.052632
react-lib
649
2024-01-20T13:02:38.742264
GPL-3.0
false
f058bd4bb7f464c78c7159ca304ae59c
<%\nrerun = File.file?('rerun.txt') ? IO.read('rerun.txt') : ""\nrerun_opts = rerun.to_s.strip.empty? ? "--format #{ENV['CUCUMBER_FORMAT'] || 'progress'} features" : "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} #{rerun}"\nstd_opts = "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} --strict --tags ~@wip"\nignored_tags...
dataset_sample\yaml\ruby\cucumber.yml
cucumber.yml
YAML
614
0.8
0
0
awesome-app
165
2023-09-22T10:05:22.792482
Apache-2.0
false
ba20714460452f8fcd89f35675fe8345
#######################################################################\n############### DO NOT TOUCH ANYTHING BELOW THIS ######################\n#######################################################################\n\ndefaults:\n version:\n number: "1.0.0-dev" # Do not touch unless doing a release, do not backpo...
dataset_sample\yaml\ruby\defaults.yml
defaults.yml
YAML
4,725
0.95
0
0.014423
react-lib
274
2025-02-23T04:24:36.159302
Apache-2.0
false
750d7aad4d27e96e8087310e6744d5fd
version: 2\nupdates:\n- package-ecosystem: bundler\n directory: "/core"\n schedule:\n interval: daily\n open-pull-requests-limit: 10\n- package-ecosystem: bundler\n directory: "/cli"\n schedule:\n interval: daily\n open-pull-requests-limit: 10\n- package-ecosystem: bundler\n directory: "/api"\n schedule:\...
dataset_sample\yaml\ruby\dependabot.yml
dependabot.yml
YAML
820
0.7
0
0
awesome-app
980
2023-11-29T16:48:13.141076
Apache-2.0
false
472f4d4d2a33a3a123cd5bad71376430
# don't run unmaintained test on any dependencies in Gemfile\n# We need to add this file to exclude unmaintained errors due to the dependency to the "colored" gem\ntests:\n unmaintained: skip\n
dataset_sample\yaml\ruby\dependencyci.yml
dependencyci.yml
YAML
190
0.8
0
0.5
awesome-app
31
2024-11-02T05:07:59.302041
BSD-3-Clause
false
e2eaf7da0c46cd72fe329e77fd70332d
site_settings:\n tagging_enabled: true\n verbose_discourse_connect_logging: true\n\nseed: 1\nstart_date: 2020-01-01\nauth_plugin_enabled: true\nallow_anonymous_to_impersonate: false\n\ncategory:\n count: 30\ngroup:\n count: 15\npost:\n include_images: false\n max_likes_count: 10\npost_revisions:\n count: 50\ntag...
dataset_sample\yaml\ruby\dev_defaults.yml
dev_defaults.yml
YAML
796
0.8
0
0.1
vue-tools
582
2023-11-12T11:57:51.910472
MIT
false
db37f0bdb1df4010080dec949fcd76cf
version: '7.1'\n\n# Define default environment variables to pass\n# to Docker Compose\nenvironment:\n RAILS_ENV: development\n\ncompose:\n files:\n - docker-compose.yml\n project_name: forem\n\ninteraction:\n # This command spins up a Rails container with the required dependencies (such as databases),\n # and o...
dataset_sample\yaml\ruby\dip.yml
dip.yml
YAML
2,222
0.95
0.024096
0.138889
python-kit
465
2024-12-16T19:38:34.315168
MIT
false
c9f245631555cb8b0102a4e41386c2de
services:\n ms:\n build:\n context: .\n dockerfile: ./Dockerfile\n args:\n BUNDLER_ARGS: --jobs=8\n image: metasploit:dev\n environment:\n DATABASE_URL: postgres://postgres@db:5432/msf_dev?pool=200&timeout=5\n volumes:\n - .:/usr/src/metasploit-framework\n
dataset_sample\yaml\ruby\docker-compose.override.yml
docker-compose.override.yml
YAML
289
0.8
0
0
react-lib
651
2023-08-02T15:12:14.373011
GPL-3.0
false
0367231f82fded554e69c0502a74ac23
version: "3"\n\nx-uffizzi:\n ingress:\n service: rails\n port: 3000\n\nservices:\n rails:\n image: "${APP_IMAGE}"\n container_name: forem_rails\n ports:\n - "3000:3000"\n depends_on:\n - db\n - redis\n environment:\n RAILS_ENV: development\n DATABASE_URL: postgresql://for...
dataset_sample\yaml\ruby\docker-compose.uffizzi.yml
docker-compose.uffizzi.yml
YAML
1,991
0.8
0
0
react-lib
951
2024-09-11T19:07:40.774433
Apache-2.0
false
f8a1a5183ede6ab09e5a32b3ab0ef23e
services:\n ms:\n image: metasploitframework/metasploit-framework:latest\n environment:\n DATABASE_URL: postgres://postgres@db:5432/msf?pool=200&timeout=5\n links:\n - db\n ports:\n - 4444:4444\n volumes:\n - $HOME/.msf4:/home/msf/.msf4\n\n db:\n image: postgres:10-alpine\n vo...
dataset_sample\yaml\ruby\docker-compose.yml
docker-compose.yml
YAML
449
0.8
0
0
react-lib
349
2025-06-07T23:37:15.350252
GPL-3.0
false
21aaca9b84738aac04d3954ca08be948
# Disabled by default to prevent the agent starting up when not required\n# To enable, set your ELASTIC_APM_SERVER_URL and ELASTIC_APM_SECRET_TOKEN in your .env\n# Additional configuration options can be set below, as per the docs: https://www.elastic.co/guide/en/apm/agent/ruby/current/configuration.html#configuration\...
dataset_sample\yaml\ruby\elastic_apm.yml
elastic_apm.yml
YAML
390
0.95
0
0.75
python-kit
213
2023-11-26T19:07:32.952989
Apache-2.0
false
73a212ec2a166ed00843a5c1b56cc2b2
prelude: |\n num = (1..).lazy.take(100)\n ary2 = [[1,2]].cycle.lazy.take(10)\n ary10 = [[*1..10]].cycle.lazy.take(10)\n ary20 = [[*1..20]].cycle.lazy.take(10)\n ary50 = [[*1..50]].cycle.lazy.take(10)\n ary100 = [[*1..100]].cycle.lazy.take(10)\n\nbenchmark:\n num3: num.flat_map {|x| x}.take(3).to_a\n num10: num....
dataset_sample\yaml\ruby\enum_lazy_flat_map.yml
enum_lazy_flat_map.yml
YAML
566
0.7
0
0
vue-tools
599
2024-12-15T16:37:11.073279
MIT
false
e44e18a9946fb3e32ef20bce4ff23a96
prelude: |\n a = (1..3).lazy\n b = a.map {|x| x}\n\nbenchmark:\n first_ary: a.zip(["a", "b", "c"]).first\n first_nonary: a.zip("a".."c").first\n first_noarg: a.zip.first\n\n take3_ary: a.zip(["a", "b", "c"]).take(3).force\n take3_nonary: a.zip("a".."c").take(3).force\n take3_noarg: a.zip.take(3).force\n\n chai...
dataset_sample\yaml\ruby\enum_lazy_zip.yml
enum_lazy_zip.yml
YAML
618
0.7
0
0
vue-tools
69
2024-01-25T19:42:50.603264
MIT
false
623d5a85c43920e1b88fe93a8fd64c24
prelude: |\n set2 = 2.times.to_a.shuffle.to_set\n set10 = 10.times.to_a.shuffle.to_set\n set100 = 100.times.to_a.shuffle.to_set\n set1000 = 1000.times.to_a.shuffle.to_set\n set10000 = 10000.times.to_a.shuffle.to_set\n\nbenchmark:\n set2.min: set2.min\n set10.min: set10.min\n set100.min: set100.min\n set1000.mi...
dataset_sample\yaml\ruby\enum_minmax.yml
enum_minmax.yml
YAML
652
0.7
0
0
react-lib
900
2024-02-21T09:09:18.842671
GPL-3.0
false
1b909c615e07ad9ce108016b5f709220
prelude: |\n set2 = 2.times.to_a.shuffle.to_set\n set10 = 10.times.to_a.shuffle.to_set\n set100 = 100.times.to_a.shuffle.to_set\n set1000 = 1000.times.to_a.shuffle.to_set\n set10000 = 10000.times.to_a.shuffle.to_set\n\nbenchmark:\n set2.sort_by: set2.sort_by { 0 }\n set10.sort_by: set10.sort_by { 0 }\n set100.s...
dataset_sample\yaml\ruby\enum_sort.yml
enum_sort.yml
YAML
442
0.7
0
0
react-lib
830
2024-02-21T18:29:33.045808
MIT
false
fb2baded82197c021f5e1936485b53d7
prelude: |\n array_length = 2\n fixnum_array2 = array_length.times.to_a.map {rand(10000)}\n float_array2 = array_length.times.to_a.map {rand(10000.0).to_f}\n string_array2 = array_length.times.to_a.map {"r" * rand(1..10000)}\n mix_array2 = array_length.times.to_a.map {if rand(1..100) <= 50 then rand(1..10000).to_f...
dataset_sample\yaml\ruby\enum_sort_by.yml
enum_sort_by.yml
YAML
2,793
0.7
0.075472
0
python-kit
245
2024-06-02T23:26:07.105273
Apache-2.0
false
528487ab213b358a8aae3195b7d7713a
prelude: |\n # frozen_string_literal: true\n require 'erb'\nbenchmark:\n - script: ERB::Util.html_escape("")\n loop_count: 20000000\n - script: ERB::Util.html_escape("abcde")\n loop_count: 20000000\n - script: ERB::Util.html_escape("abcd<")\n loop_count: 20000000\n - script: ERB::Util.html_escape("'&\"<>...
dataset_sample\yaml\ruby\erb_escape_html.yml
erb_escape_html.yml
YAML
1,107
0.95
0.064516
0.032258
vue-tools
488
2025-02-24T15:09:34.087840
GPL-3.0
false
615dffd95878df47970e60765bbdd9cb
# DO NOT change the order of features EVER\n############################################\n# name: the name to be used internally in the code\n# display_name: the name to be used in the UI\n# enabled: whether the feature is enabled by default\n# help_url: the url to the help center article\n# chatwoot_internal: whether ...
dataset_sample\yaml\ruby\features.yml
features.yml
YAML
4,458
0.8
0.005952
0.047619
python-kit
166
2024-09-07T23:25:42.972018
Apache-2.0
false
743ce0ea179a30a1cb1c493531dad806
prelude: |\n def make_link(previous)\n Fiber.new do\n while message = previous.resume\n Fiber.yield(message)\n end\n end\n end\n\n def make_chain(length = 1000, &block)\n chain = Fiber.new(&block)\n\n (length - 1).times do\n chain = make_link(chain)\n end\n\n return chain\n e...
dataset_sample\yaml\ruby\fiber_chain.yml
fiber_chain.yml
YAML
581
0.85
0.138889
0
awesome-app
922
2024-09-08T13:27:22.150723
Apache-2.0
false
a239c4dd110d3ea6ffe4546c140d4b96
prelude: |\n th = Thread.current\n th[:key] = :val\nbenchmark:\n key?: th.key?(:key)\n []: th[:key]\n keys: th.keys\nloop_count: 1_000_000\n
dataset_sample\yaml\ruby\fiber_locals.yml
fiber_locals.yml
YAML
137
0.7
0
0
react-lib
585
2023-08-01T02:08:40.934329
GPL-3.0
false
08779edeeed889dd3c561e983afa7139
repository: jekyll\nlabels:\n - good first issue\n - help-wanted\n - first-time-only\ntemplate: .github/first-timers-issue-template.md\n
dataset_sample\yaml\ruby\first-timers.yml
first-timers.yml
YAML
133
0.7
0
0
awesome-app
765
2024-05-09T04:27:47.891004
BSD-3-Clause
false
41e4f4ec6bfb4f452289079b29ef1871
prelude: |\n flo = 4.2\nbenchmark:\n to_f: |\n flo.to_f\n abs: |\n flo.abs\n magnitude: |\n flo.magnitude\n -@: |\n -flo\n zero?: |\n flo.zero?\nloop_count: 20000000\n
dataset_sample\yaml\ruby\float_methods.yml
float_methods.yml
YAML
174
0.7
0
0
react-lib
223
2024-01-13T20:58:24.116902
GPL-3.0
false
25df89043e4971297c17529b3005927a
prelude: |\n flo = 4.2\nbenchmark:\n negative?: |\n flo.negative?\n positive?: |\n flo.positive?\nloop_count: 20000000\n
dataset_sample\yaml\ruby\float_neg_posi.yml
float_neg_posi.yml
YAML
121
0.7
0
0
react-lib
928
2025-02-02T14:46:41.189596
BSD-3-Clause
false
988d17072bb5d76356fa97f8df3509c0
prelude: |\n floats = [*0.0.step(1.0, 0.0001)]\n\nbenchmark:\n to_s: floats.each {|f| f.to_s}\n\nloop_count: 1000\n
dataset_sample\yaml\ruby\float_to_s.yml
float_to_s.yml
YAML
110
0.7
0
0
react-lib
435
2023-11-18T13:57:17.863185
GPL-3.0
false
d3c80f06d482e42baee53bdfaf590733
# These are supported funding model platforms\n\n# github: jekyll\nopen_collective: jekyll\ntidelift: rubygems/jekyll\n
dataset_sample\yaml\ruby\FUNDING.yml
FUNDING.yml
YAML
114
0.8
0
0.5
vue-tools
772
2023-12-03T03:46:37.131496
Apache-2.0
false
c9aa66450e10c3b7e81ea86d0c61bceb
prelude: |\n # frozen_string_literal: true\n hash = 10.times.to_h do |i|\n [i, i]\n end\n dyn_sym = "dynamic_symbol".to_sym\n binary = RubyVM::InstructionSequence.compile("# frozen_string_literal: true\n'iseq_load'").to_binary\n iseq_literal_string = RubyVM::InstructionSequence.load_from_binary(binary).eval\n\...
dataset_sample\yaml\ruby\hash_aref_str_lit.yml
hash_aref_str_lit.yml
YAML
622
0.8
0
0.052632
node-utils
500
2025-05-30T20:18:36.964067
Apache-2.0
false
049d9b545158ad768d557c143cfc9faa
prelude: |\n h = Hash.new { :foo }\nbenchmark:\n default_aref: h[1]\n default_method: h.default(1)\nloop_count: 1000000\n
dataset_sample\yaml\ruby\hash_defaults.yml
hash_defaults.yml
YAML
118
0.7
0
0
react-lib
133
2024-05-24T00:30:21.562124
BSD-3-Clause
false
2d8bc51ece16ef22da50b6a6679c0a38
prelude: |\n small_hash = { a: 1 }\n larger_hash = 20.times.map { |i| [('a'.ord + i).chr.to_sym, i] }.to_h\n\nbenchmark:\n dup_small: small_hash.dup\n dup_larger: larger_hash.dup\nloop_count: 10000\n
dataset_sample\yaml\ruby\hash_dup.yml
hash_dup.yml
YAML
195
0.7
0
0
python-kit
727
2023-12-11T18:59:24.110311
GPL-3.0
false
73c72d2719538d348648cb758dfa018a
prelude: |\n hash1 = 1_000_000.times.to_h { [rand, true]}\n hash2 = hash1.dup\n hash2.keys[1..100_000].each { hash2.delete _1 }\n hash2.delete hash2.first[0]\n\nbenchmark:\n hash1: hash1.first\n hash2: hash2.first\n\nloop_count: 100_000\n
dataset_sample\yaml\ruby\hash_first.yml
hash_first.yml
YAML
233
0.7
0
0
python-kit
537
2024-10-15T07:19:05.732526
Apache-2.0
false
a8fa733316b0b516b6005248f53c642b
prelude: |\n obj = Object.new\n hash = { obj => true }\nbenchmark: hash.key?(obj)\nloop_count: 30000000\n
dataset_sample\yaml\ruby\hash_key.yml
hash_key.yml
YAML
102
0.7
0
0
python-kit
0
2024-11-05T23:19:51.005093
MIT
false
4da3f37f2b17107caf64428bb0668551
prelude: |\n has_hash_with_capa = Hash.instance_method(:initialize).parameters.include?([:key, :capacity])\n strings_1k = 1_000.times.map { |i| -i.to_s.freeze }\n strings_100k = 100_000.times.map { |i| -i.to_s.freeze }\nbenchmark:\n new: Hash.new\n new_with_capa_1k: |\n h = has_hash_with_capa ? Hash.new(capacit...
dataset_sample\yaml\ruby\hash_new.yml
hash_new.yml
YAML
542
0.7
0
0
react-lib
649
2023-11-20T09:42:53.215197
GPL-3.0
false
3b779d2aa20021350d07644d325005fe
# i18n-tasks finds and manages missing and unused translations: https://github.com/glebm/i18n-tasks\n\n# The "main" locale.\nbase_locale: en\ndata:\n read:\n - config/locales/%{locale}.yml\n - config/locales/**/*.%{locale}.yml\n\n write:\n - ['{devise, simple_form, doorkeeper}.*', 'config/locales/\1.%{locale...
dataset_sample\yaml\ruby\i18n-tasks.yml
i18n-tasks.yml
YAML
2,340
0.95
0
0.029851
python-kit
644
2024-04-25T11:21:58.893362
BSD-3-Clause
false
c3df636224681f3c392c51cab7a910c7
I18n/RailsI18n:\n Enabled: true\n Exclude:\n - 'config/**/*'\n - 'db/**/*'\n - 'lib/**/*'\n - 'spec/**/*'\nI18n/GetText:\n Enabled: false\n\nI18n/RailsI18n/DecorateStringFormattingUsingInterpolation:\n Enabled: false\n
dataset_sample\yaml\ruby\i18n.yml
i18n.yml
YAML
222
0.8
0
0
python-kit
97
2024-10-30T12:01:21.864735
BSD-3-Clause
false
0a8b79839dda9507ab0028d7c008ea8c
swagger: "2.0"\ninfo:\n description: This is the API documentation for Chatwoot server.\n version: 1.0.0\n title: Chatwoot\n termsOfService: https://www.chatwoot.com/terms-of-service/\n contact:\n email: hello@chatwoot.com\n license:\n name: MIT License\n url: https://opensource.org/licenses/MIT\nhost: a...
dataset_sample\yaml\ruby\index.yml
index.yml
YAML
2,176
0.8
0.012346
0
awesome-app
967
2025-02-17T01:39:18.316449
MIT
false
5f84db6e132ae8266e110d2f99991c2a
# This file contains all the installation wide configuration which controls various settings in Chatwoot\n# This is internal config and should not be modified by the user directly in database\n# Chatwoot might override and modify these values during the upgrade process\n# Configs which can be modified by the user are a...
dataset_sample\yaml\ruby\installation_config.yml
installation_config.yml
YAML
12,048
0.8
0.127726
0.127036
vue-tools
145
2023-09-25T19:34:59.188569
BSD-3-Clause
false
249b5b1b8d7cea0dd28186907c7766ad
---\ninherit_from:\n - '../.rubocop.yml'\n\nInternalAffairs:\n Enabled: true\n\n# This cop only checks for directives defined in `config/default.yml`\n# whic does not apply here.\nInternalAffairs/UndefinedConfig:\n Enabled: false\n
dataset_sample\yaml\ruby\internal_affairs.yml
internal_affairs.yml
YAML
223
0.8
0.090909
0.222222
react-lib
554
2025-03-14T02:45:09.251146
GPL-3.0
false
b71931f263e38322515bdd45a3fe411b
prelude: |\n require 'irb/color'\n code = <<~'CODE'\n def self.foo # bar\n :"erb #{ERB.new("<%= self %>", trim_mode: ?-).result}"\n end\n CODE\nbenchmark:\n irb_color_complete: |\n IRB::Color.colorize_code(code, complete: true)\n irb_color_incomplete: |\n IRB::Color.colorize_code(code, complete: f...
dataset_sample\yaml\ruby\irb_color.yml
irb_color.yml
YAML
335
0.95
0.076923
0
react-lib
614
2023-09-08T08:31:48.365412
Apache-2.0
false
78245f5e95899f848cff52b2ec532883
prelude: |\n # frozen_string_literal: true\n require 'rbconfig'\n irb_f = [File.join(File.dirname(RbConfig.ruby), 'irb'), '-f']\nbenchmark:\n irb_exec: |\n IO.popen(irb_f, 'w') do |io|\n io.write('exit')\n end\nloop_count: 30\n
dataset_sample\yaml\ruby\irb_exec.yml
irb_exec.yml
YAML
232
0.95
0
0.1
node-utils
231
2024-03-03T21:47:00.467616
Apache-2.0
false
1c49a1a0122d2ce87710547b164b807b
prelude: |\n symbol = RubyVM::InstructionSequence.compile(":foo; :bar; :baz; :egg; :spam").to_binary\n\n define_method = RubyVM::InstructionSequence.compile(%{\n def foo; end\n def bar; end\n def baz; end\n def egg; end\n def spam; end\n }).to_binary\n\n all = RubyVM::InstructionSequence.compile(%{\n...
dataset_sample\yaml\ruby\iseq_load_from_binary.yml
iseq_load_from_binary.yml
YAML
755
0.85
0.48
0
node-utils
656
2024-12-19T17:27:39.561297
BSD-3-Clause
false
d20792f3bd831729e9c5c7f25e91c14f
prelude: |\n class Embedded\n def initialize\n @a = 1\n @b = 1\n @c = 1\n end\n end\n\n class Extended\n def initialize\n @a = 1\n @b = 1\n @c = 1\n @d = 1\n @e = 1\n @f = 1\n end\n end\nbenchmark:\n embedded: Embedded.new\n extended: Extended.new\nloop_cou...
dataset_sample\yaml\ruby\ivar_extend.yml
ivar_extend.yml
YAML
313
0.85
0.173913
0
node-utils
318
2023-10-24T14:57:29.276787
MIT
false
f571e915fb57eb213e66f659bef1435c
prelude: "object = Object.new"\nbenchmark:\n clone: "object.clone"\n clone_true: "object.clone(freeze: true)"\n clone_false: "object.clone(freeze: false)"\nloop_count: 10000\n
dataset_sample\yaml\ruby\kernel_clone.yml
kernel_clone.yml
YAML
172
0.7
0
0
react-lib
31
2024-10-07T15:37:43.835962
MIT
false
fca0f7c2ce818287f4e4f4314e0cf340
benchmark:\n float: "Float(42)"\n float_true: "Float(42, exception: true)"\n float_false: "Float(42, exception: false)"\nloop_count: 10000\n
dataset_sample\yaml\ruby\kernel_float.yml
kernel_float.yml
YAML
138
0.7
0
0
node-utils
848
2024-07-26T04:01:26.245789
MIT
false
bdcc2d46631ecf921966ca96a0173bf7
prelude: |\n obj = Object.new\n x = nil\nbenchmark:\n kernel_tap: obj.tap { |o| x = o }\nloop_count: 20000000\n
dataset_sample\yaml\ruby\kernel_tap.yml
kernel_tap.yml
YAML
108
0.7
0
0
node-utils
2
2024-10-18T06:02:43.635252
Apache-2.0
false
8df1ed800e49c1ce099b34a440d9be3a
benchmark:\n kernel_then: 1.then { |i| i + 1 }\n kernel_then_enum: 1.then\n kernel_yield_self: 1.yield_self { |i| i + 1 }\n kernel_yield_self_enum: 1.yield_self\nloop_count: 20000000\n
dataset_sample\yaml\ruby\kernel_then.yml
kernel_then.yml
YAML
182
0.7
0
0
react-lib
343
2025-06-22T10:43:25.984438
MIT
false
013fb12f946e7c4b3ee10f39175b697b
prelude: |\n h = {a: 1}\n def kw(a: 1) a end\n def kws(**kw) kw end\nbenchmark:\n kw_to_kw: "kw(a: 1)"\n kw_splat_to_kw: "kw(**h)"\n kw_to_kw_splat: "kws(a: 1)"\n kw_splat_to_kw_splat: "kws(**h)"\n kw_and_splat_to_kw: "kw(a: 1, **h)"\n kw_splats_to_kw: "kw(**h, **h)"\n kw_and_splat_to_kw_splat: "kws(a: 1, **h...
dataset_sample\yaml\ruby\keyword_arguments.yml
keyword_arguments.yml
YAML
353
0.85
0.153846
0
node-utils
214
2024-04-02T06:47:11.416918
Apache-2.0
false
6d701bd81e8e5fb25af184a849a9f6b3
Documentation:\n- changed-files:\n - all-globs-to-all-files: doc/**\n\nBackport:\n- base-branch: 'ruby_3_\d'\n
dataset_sample\yaml\ruby\labeler.yml
labeler.yml
YAML
105
0.8
0
0
vue-tools
990
2023-07-27T20:36:02.872452
MIT
false
54f51a0c26f6629d55238a3b5e1da80b
---\nLayout/FirstHashElementIndentation:\n EnforcedStyle: consistent\n\nLayout/LineLength:\n Max: 300 # Default of 120 causes a duplicate entry in generated todo file\n
dataset_sample\yaml\ruby\layout.yml
layout.yml
YAML
164
0.8
0
0
awesome-app
336
2025-05-25T17:31:20.237760
BSD-3-Clause
false
7a8935cbb9c0d351c79255abbd32f7cd
skip_output:\n - meta\n - success\n\npre-commit:\n parallel: true\n skip:\n - merge\n - rebase\n commands:\n rubocop:\n glob: "*.rb"\n run: bundle exec rubocop --force-exclusion {staged_files}\n syntax_tree:\n glob: "*.{rb,rake}"\n run: bundle exec stree check Gemfile {staged_files}...
dataset_sample\yaml\ruby\lefthook.yml
lefthook.yml
YAML
2,292
0.8
0
0.027027
node-utils
952
2024-02-27T02:45:33.574565
BSD-3-Clause
false
8a933a181473ec82f7979baafc6fe832
available:\n ar: "العربية"\n art-nvi: "Na'vi"\n bg: "български език"\n br: "Brezhoneg"\n bs: "bosanski jezik"\n ca: "Català"\n cs: "Čeština"\n cy: "Cymraeg"\n da: "Dansk"\n de: "Deutsch"\n de_formal: "Deutsch (Sie)"\n de_moo: "Deutsch (Kuh)"\n de-CH: "Deutsch (Schwiizerdütsch)"\n el: "Ελληνικά"\n en: "En...
dataset_sample\yaml\ruby\locale_settings.yml
locale_settings.yml
YAML
2,634
0.7
0
0
node-utils
913
2023-07-26T16:22:16.317589
BSD-3-Clause
false
5fdf1f08febb5861264957088e7ac090
prelude: |\n smallint_array = 1000.times.map { |x| x }\n bigint32_array = 1000.times.map { |x| x + 2**32 }\n bigint64_array = 1000.times.map { |x| x + 2**64 }\n\n smallint_dump = Marshal.dump(smallint_array)\n bigint32_dump = Marshal.dump(bigint32_array)\n bigint64_dump = Marshal.dump(bigint64_array)\nbenchmark:\...
dataset_sample\yaml\ruby\marshal_dump_load_integer.yml
marshal_dump_load_integer.yml
YAML
740
0.7
0
0
awesome-app
998
2023-10-05T20:06:49.546378
BSD-3-Clause
false
0d2039c21932f3e4b84954b48d185a71
prelude: |\n a = [nil] * 3\n b = Class.new{attr_writer :a, :b, :c}.new\n c = d = e = f = g = h = i = nil\nbenchmark:\n array2_2: "c = (a[0], a[1] = 1, 2)"\n array2_3: "c = (a[0], a[1] = 1, 2, 3)"\n array3_2: "c = (a[0], a[1], a[2] = 1, 2)"\n array3_3: "c = (a[0], a[1], a[2] = 1, 2, 3)"\n attr2_2: "c = (b.a, b.b...
dataset_sample\yaml\ruby\masgn.yml
masgn.yml
YAML
2,060
0.7
0
0
react-lib
782
2025-05-04T02:16:29.971565
MIT
false
5b910204675edf9b0db31bdea7c7fbb9
---\nshared:\n experimental_features: <%= ENV.fetch('EXPERIMENTAL_FEATURES', nil) %>\n self_destruct_value: <%= ENV.fetch('SELF_DESTRUCT', nil) %>\n software_update_url: <%= ENV.fetch('UPDATE_CHECK_URL', 'https://api.joinmastodon.org/update-check') %>\n source:\n base_url: <%= ENV.fetch('SOURCE_BASE_URL', nil) %...
dataset_sample\yaml\ruby\mastodon.yml
mastodon.yml
YAML
695
0.8
0
0
node-utils
428
2024-11-27T16:47:19.225631
GPL-3.0
false
6b298282fd198132aac0ac3fd9b91925
prelude: |\n named_module = Kernel\n\n module FakeName\n def self.name\n "NotMyame".freeze\n end\n end\n\n MOD_NAME = Module.instance_method(:name)\n\nbenchmark:\n fastpath: MOD_NAME.bind_call(Kernel)\n slowpath: MOD_NAME.bind_call(FakeName)\n\nloop_count: 100_000\n
dataset_sample\yaml\ruby\method_bind_call.yml
method_bind_call.yml
YAML
267
0.85
0.0625
0
python-kit
880
2024-09-10T19:51:32.577336
BSD-3-Clause
false
9114781b34ba2132298a0a71aff32c1a
---\nMetrics/AbcSize:\n Exclude:\n - lib/mastodon/cli/*.rb\n\nMetrics/BlockLength:\n Enabled: false\n\nMetrics/ClassLength:\n Enabled: false\n\nMetrics/CyclomaticComplexity:\n Exclude:\n - lib/mastodon/cli/*.rb\n\nMetrics/MethodLength:\n Enabled: false\n\nMetrics/ModuleLength:\n Enabled: false\n\nMetrics/Pa...
dataset_sample\yaml\ruby\metrics.yml
metrics.yml
YAML
339
0.8
0
0
awesome-app
534
2024-07-07T13:44:54.223345
GPL-3.0
false
baf39551f96d153849a2e5c8cc190d25
# EXTENSIONS => CONTENT TYPE\ncsh: application/x-csh\nx_t: model/vnd.parasolid.transmit.text\nkpt: application/vnd.kde.kpresenter\nvst: application/vnd.visio\nksp: application/vnd.kde.kspread\nfsc: application/vnd.fsc.weblaunch\nvcs: text/x-vcalendar\nhvs: application/vnd.yamaha.hv-script\nseml: application/vnd.sealed....
dataset_sample\yaml\ruby\mime.yml
mime.yml
YAML
10,628
0.8
0.002577
0.002577
python-kit
599
2024-03-07T08:31:51.352640
Apache-2.0
false
ff52668a3c4caf4c5cb9c4f94f697240
prelude: |\n class SimpleClass; end\n class MediumClass\n 10.times { include Module.new }\n end\n class LargeClass\n 100.times { include Module.new }\n end\n class HugeClass\n 300.times { include Module.new }\n end\n SimpleObj = SimpleClass.new\n MediumObj = MediumClass.new\n LargeObj = LargeClass.ne...
dataset_sample\yaml\ruby\module_eqq.yml
module_eqq.yml
YAML
676
0.85
0.148148
0
python-kit
645
2025-03-30T03:08:19.050769
MIT
false
f4dc64708499d35ad704f1a2a6671c02
#\n# This file configures the New Relic Agent. New Relic monitors Ruby, Java,\n# .NET, PHP, Python, Node, and Go applications with deep visibility and low\n# overhead. For more information, visit www.newrelic.com.\n#\n#\n# For full documentation of agent configuration options, please refer to\n# https://docs.newrelic...
dataset_sample\yaml\ruby\newrelic.yml
newrelic.yml
YAML
2,791
0.95
0.047619
0.480769
node-utils
642
2025-01-18T08:57:41.164475
Apache-2.0
false
defdf93b75d4c65d99f88527540dd58d
prelude: |\n def a = nil\nbenchmark:\n to_i: |\n nil.to_i\n to_f: |\n nil.to_f\n splat: |\n a(*nil)\nloop_count: 100000\n
dataset_sample\yaml\ruby\nilclass.yml
nilclass.yml
YAML
124
0.85
0.1
0
python-kit
421
2025-05-27T19:42:44.004977
Apache-2.0
false
2baae6ac2b89fce24a3d6e5a9c9a1a02
prelude: |\n class Niller; def nil?; true; end; end\n xnil, notnil = nil, Object.new\n niller = Niller.new\nbenchmark:\n - xnil.nil?\n - notnil.nil?\n - niller.nil?\nloop_count: 10000000\n
dataset_sample\yaml\ruby\nil_p.yml
nil_p.yml
YAML
185
0.85
0.222222
0
awesome-app
696
2025-06-17T02:02:59.282115
GPL-3.0
false
b053927bea7167a091162dc9961ef8e5
# Configuration for probot-no-response - https://github.com/probot/no-response\n\n# Number of days of inactivity before an Issue is closed for lack of response\ndaysUntilClose: 14\n# Label requiring a response\nresponseRequiredLabel: more-information-needed\n# Comment to post when closing an Issue for lack of response....
dataset_sample\yaml\ruby\no-response.yml
no-response.yml
YAML
644
0.8
0.333333
0.363636
vue-tools
618
2025-03-18T21:59:17.672026
BSD-3-Clause
false
8ec40bc7fabf5f76a9bc97f7d0494bf7
prelude: |\n int = 42\n flo = 4.2\nbenchmark:\n real?: |\n int.real?\n integer?: |\n flo.integer?\n finite?: |\n int.finite?\n infinite?: |\n int.infinite?\n integer_real: |\n int.real\n float_real: |\n flo.real\n integr_imag: |\n int.imag\n float_imag: |\n flo.imag\n integer_conj: |\...
dataset_sample\yaml\ruby\numeric_methods.yml
numeric_methods.yml
YAML
449
0.7
0
0
awesome-app
40
2024-05-28T19:54:52.478909
BSD-3-Clause
false
634ba4bf319c0ab502d4b791d787e7ba
benchmark:\n - 0.zero?\n - 1.zero?\n - 0r.zero?\n - 1r.zero?\n - 0i.zero?\n - 1i.zero?\nloop_count: 50000000\n
dataset_sample\yaml\ruby\num_zero_p.yml
num_zero_p.yml
YAML
108
0.7
0
0
awesome-app
371
2025-06-09T10:07:38.516165
BSD-3-Clause
false
7f3662b08151013896c551df382291bd
prelude: |\n class Eight\n 8.times { include(Module.new) }\n end\n class ThirtyTwo\n 32.times { include(Module.new) }\n end\n class SixtyFour\n 64.times { include(Module.new) }\n end\n class OneTwentyEight\n 128.times { include(Module.new) }\n end\n class OnePositional\n def initialize a; end\n ...
dataset_sample\yaml\ruby\object_allocate.yml
object_allocate.yml
YAML
1,217
0.95
0.333333
0.020833
awesome-app
696
2025-05-14T09:10:15.380557
BSD-3-Clause
false
9210f95b076cc502734f963d5b5b0aef
prelude: |\n require 'objspace'\n require 'tempfile'\n $objs = 1_000.times.map { Object.new }\n $strings = 1_000.times.map { |i| "string #{i}" }\n $file = Tempfile.new('heap')\n $dev_null = File.open(File::NULL, 'w+')\n\nbenchmark:\n dump_all_string: "ObjectSpace.dump_all(output: :string)"\n dump_all_file: "Obj...
dataset_sample\yaml\ruby\objspace_dump_all.yml
objspace_dump_all.yml
YAML
421
0.95
0
0
python-kit
532
2023-11-18T06:11:24.182381
BSD-3-Clause
false
10dd1c43b94e1e867314cca573e3d49d
openapi: 3.0.1\n# We start by defining the specification version, the title, description, and version number. When a query is run in ChatGPT, it will look at the description that is defined in the info section to determine if the plugin is relevant for the user query.\ninfo:\n title: DEV Community\n description: Reco...
dataset_sample\yaml\ruby\openapi.yml
openapi.yml
YAML
5,284
0.95
0.017857
0.009009
python-kit
271
2024-07-12T17:21:04.821884
GPL-3.0
false
471648fa0f6ebfe856bf0c36cad7514c
databases:\n primary:\n # Database URL (defaults to app database)\n # url: <%= ENV["DATABASE_URL"] %>\n\n # Add more databases\n # other:\n # url: <%= ENV["OTHER_DATABASE_URL"] %>\n\n# Minimum time for long running queries\n# long_running_query_sec: 60\n\n# Minimum average time for slow queries\n# slow_quer...
dataset_sample\yaml\ruby\pghero.yml
pghero.yml
YAML
982
0.8
0.121951
0.9
react-lib
434
2024-08-16T12:12:19.616401
BSD-3-Clause
false
b9f68cfb6196216b7cb97fc373084bb8
steps:\n - command: ./scripts/build_containers.sh\n label: ":hammer: Build containers!"\n key: build-containers\n plugins:\n - docker-login#v2.0.1:\n username: forem+buildkite\n password-env: QUAY_LOGIN_PASSWORD\n server: quay.io\n
dataset_sample\yaml\ruby\pipeline.containers.yml
pipeline.containers.yml
YAML
264
0.8
0
0
vue-tools
174
2023-10-26T19:07:22.057853
BSD-3-Clause
false
6e04b291bd4d65f887f91c9d107720d4
prelude: |\n def call(*val)\n case val\n in [String => body]\n [200, {}, [body]]\n in [Integer => status]\n [status, {}, [""]]\n in [Integer, String] => response\n [response[0], {}, [response[1]]]\n in [Integer, Hash, String] => response\n [response[0], response[1], [...
dataset_sample\yaml\ruby\pm_array.yml
pm_array.yml
YAML
474
0.85
0.052632
0
react-lib
353
2024-03-06T15:39:31.886241
Apache-2.0
false
5fed7a1ffe32be54c8cdfd4734f8396b
type: lib/benchmark_driver/runner/ractor\nprelude: |\n FLOATS = [*0.0.step(1.0, 0.001)]\nbenchmark:\n ractor_float_to_s: |\n FLOATS.each {|f| f.to_s}\nloop_count: 100\nractor: 2\n
dataset_sample\yaml\ruby\ractor_float_to_s.yml
ractor_float_to_s.yml
YAML
176
0.7
0
0
node-utils
335
2024-12-11T21:34:26.555735
GPL-3.0
false
1445c72af32a1798c5d7a1405a1039e2
type: lib/benchmark_driver/runner/ractor\nbenchmark:\n ractor_fstring_random: |\n i = 0\n str = "same".dup\n while i < 2000000\n -(i.to_s.freeze)\n i += 1\n end\n ractor_fstring_same: |\n i = 0\n str = "same".dup\n while i < 2000000\n -str\n i += 1\n end\nloop_count: 1\nrac...
dataset_sample\yaml\ruby\ractor_string_fstring.yml
ractor_string_fstring.yml
YAML
310
0.7
0.111111
0
awesome-app
910
2023-11-02T04:39:57.171632
GPL-3.0
false
d075508814be04e9e875f606540c86e4
---\nRails/BulkChangeTable:\n Enabled: false # Conflicts with strong_migrations features\n\nRails/Delegate:\n Enabled: false\n\nRails/FilePath:\n EnforcedStyle: arguments\n\nRails/HttpStatus:\n EnforcedStyle: numeric\n\nRails/NegateInclude:\n Enabled: false\n\nRails/RakeEnvironment:\n Exclude: # Tasks are doing l...
dataset_sample\yaml\ruby\rails.yml
rails.yml
YAML
552
0.8
0
0
react-lib
997
2024-08-31T02:58:49.110774
BSD-3-Clause
false
f04964852ee7f17ea4de5d525340708d
prelude: |\n first = 2**100\n last = 2**1000\n mid = (first + last) / 2\n r = first..last\n\nbenchmark:\n first: r.bsearch { |x| x >= first }\n mid: r.bsearch { |x| x >= mid }\n last: r.bsearch { |x| x >= last }\n
dataset_sample\yaml\ruby\range_bsearch_bignum.yml
range_bsearch_bignum.yml
YAML
210
0.7
0
0
vue-tools
770
2024-10-04T22:22:16.091882
Apache-2.0
false
0d5c8a3730c6e23e10c482ce959e5a57
prelude: |\n re = (1..)\n rb = (..0)\n\nbenchmark:\n 'endless 10**0': re.bsearch { |x| x >= 1 }\n 'endless 10**1': re.bsearch { |x| x >= 10 }\n 'endless 10**2': re.bsearch { |x| x >= 100 }\n 'endless 10**3': re.bsearch { |x| x >= 1000 }\n 'endless 10**4': re.bsearch { |x| x >= 10000 }\n 'endless 10**5': re.bsea...
dataset_sample\yaml\ruby\range_bsearch_endpointless.yml
range_bsearch_endpointless.yml
YAML
1,057
0.7
0
0
node-utils
516
2023-11-17T21:31:40.030089
MIT
false
dee6eb4591eb0c588f0eccb90c4afee6
prelude: |\n first = 1\n last = 10000\n mid = (first + last) / 2\n r = first..last\n\nbenchmark:\n first: r.bsearch { |x| x >= first }\n mid: r.bsearch { |x| x >= mid }\n last: r.bsearch { |x| x >= last }\n
dataset_sample\yaml\ruby\range_bsearch_fixnum.yml
range_bsearch_fixnum.yml
YAML
203
0.7
0
0
vue-tools
836
2024-02-12T23:38:34.842323
Apache-2.0
false
82abe8ff0f8ab64729824aedbd35327b
prelude: |\n r_1 = 1..1\n r_1k = 1..1000\n r_1m = 1..1000000\n r_str = 'a'..'z'\n\nbenchmark:\n 'int 1': r_1.count\n 'int 1K': r_1k.count\n 'int 1M': r_1m.count\n string: r_str.count\n
dataset_sample\yaml\ruby\range_count.yml
range_count.yml
YAML
181
0.7
0
0
python-kit
483
2024-10-03T12:56:24.395597
Apache-2.0
false
f6dd3ab481d3349074a1164b738e0a1a
benchmark:\n - (1..1_000_000).last(100)\n - (1..1_000_000).last(1000)\n - (1..1_000_000).last(10000)\n
dataset_sample\yaml\ruby\range_last.yml
range_last.yml
YAML
101
0.7
0
0
react-lib
893
2025-07-03T15:37:10.053556
BSD-3-Clause
false
3f7b2f1046257175d6558465bffcce60
prelude: |\n class Range\n unless method_defined?(:overlap?)\n def overlap?(other)\n other.begin == self.begin || cover?(other.begin) || other.cover?(self.begin)\n end\n end\n end\n\nbenchmark:\n - (2..3).overlap?(1..1)\n - (2..3).overlap?(2..4)\n - (2..3).overlap?(4..5)\n - (2..3).overlap?...
dataset_sample\yaml\ruby\range_overlap.yml
range_overlap.yml
YAML
449
0.85
0.105263
0
vue-tools
290
2023-11-11T08:37:33.820167
GPL-3.0
false
bcddd4a8740301c2e9ba8eca16285fc4
prelude: |\n rf_1 = 0..1\n rf_1k = 0..1000\n rf_1m = 0..1000000\n big = 2**1000\n rb_1 = big..big+1\n rb_1k = big..big+1000\n rb_1m = big..big+1000000\n\nbenchmark:\n "Fixnum 1": rf_1.reverse_each { _1 }\n "Fixnum 1K": rf_1k.reverse_each { _1 }\n "Fixnum 1M": rf_1m.reverse_each { _1 }\n "Bignum 1": rb_1.reve...
dataset_sample\yaml\ruby\range_reverse_each.yml
range_reverse_each.yml
YAML
405
0.7
0
0
node-utils
564
2024-10-27T08:27:35.423196
BSD-3-Clause
false
8c9611c5038e999132c180e7c5f6790a
---\nlike:\n position: 1\n name: Like\n icon: sparkle-heart\nunicorn:\n position: 2\n name: Unicorn\n icon: multi-unicorn\nexploding_head:\n position: 3\n name: Exploding Head\n icon: exploding-head\nraised_hands:\n position: 4\n name: Raised Hands\n icon: raised-hands\nfire:\n position: 5\n name: Fire\n ...
dataset_sample\yaml\ruby\reactions.yml
reactions.yml
YAML
569
0.7
0
0
awesome-app
816
2023-12-26T21:54:47.296509
MIT
false
b4ed71a5e0fff8b59f4a0c8ab58b31be
prelude: |\n f = File\n pwd = Dir.pwd\n Dir.mkdir('b') unless f.directory?('b')\n f.write('b/a', '') unless f.file?('b/a')\n\n relative = 'b/a'\n absolute = File.join(pwd, relative)\n dir = 'b'\n file = 'a'\n\n relative_dir = 'b/c'\n absolute_dir = File.join(pwd, relative_dir)\n file_dir = 'c'\nteardown: |\n...
dataset_sample\yaml\ruby\realpath.yml
realpath.yml
YAML
1,229
0.85
0
0
vue-tools
113
2024-03-17T08:51:05.083933
Apache-2.0
false
6a239e912862bc4fadec666551eb81f9
prelude: |\n str = "a" * 1000\n re = Regexp.new(str)\n\nbenchmark:\n string: Regexp.new(str)\n regexp: Regexp.new(re)\n
dataset_sample\yaml\ruby\regexp_new.yml
regexp_new.yml
YAML
116
0.7
0
0
awesome-app
805
2024-09-21T01:05:45.391229
BSD-3-Clause
false
5083a6b56cfaddb360df12bedd6cc1cf
prelude: |\n require "fileutils"\n\n def prepare\n num_files = 10000\n\n basename = File.dirname($0)\n data_dir = File.join(basename, "bm_require.data")\n\n # skip if all of files exists\n if File.exist?(File.join(data_dir, "c#{num_files}.rb"))\n return\n end\n\n FileUtils.mkdir_p(data_dir)\...
dataset_sample\yaml\ruby\require.yml
require.yml
YAML
597
0.95
0.125
0.041667
node-utils
941
2025-04-30T14:06:07.068279
MIT
false
a550f3ab8b37b662b8d6f1a640de001f
prelude: |\n require "fileutils"\n\n def prepare\n num_files = 10000\n\n basename = File.dirname($0)\n data_dir = File.join(basename, "bm_require.data")\n\n # skip if all of files exists\n if File.exist?(File.join(data_dir, "c#{num_files}.rb"))\n return\n end\n\n FileUtils.mkdir_p(data_dir)\...
dataset_sample\yaml\ruby\require_thread.yml
require_thread.yml
YAML
708
0.95
0.125
0.032258
react-lib
444
2024-01-13T05:41:52.187414
MIT
false
8e64474ad3247dba921bf1f2e605b18f
moderator:\n name: Moderator\n position: 10\n permissions:\n - view_dashboard\n - view_audit_log\n - manage_users\n - manage_reports\n - manage_taxonomies\nadmin:\n name: Admin\n position: 100\n permissions:\n - view_dashboard\n - view_audit_log\n - manage_users\n - manage_user_access\n...
dataset_sample\yaml\ruby\roles.yml
roles.yml
YAML
666
0.7
0
0
python-kit
101
2024-10-27T03:39:43.876828
BSD-3-Clause
false
c86da5d201df952ca3193f529e321b21
# Documentation\n- source: /doc/(.+?/)_index\.md/ # doc/administration/_index.md\n public: '\1' # administration/\n- source: /doc/(.+?)\.md/ # doc/administration/page.md\n public: '\1/' # administration/page/\n
dataset_sample\yaml\ruby\route-map.yml
route-map.yml
YAML
253
0.8
0
0.2
node-utils
673
2024-11-10T08:31:14.080306
GPL-3.0
false
bf7aa4caca3c3467c8bb8b6e37499c01
---\nRSpec/ExampleLength:\n CountAsOne: ['array', 'heredoc', 'method_call']\n Max: 20 # Override default of 5\n\nRSpec/MultipleExpectations:\n Max: 10 # Overrides default of 1\n\nRSpec/MultipleMemoizedHelpers:\n Max: 20 # Overrides default of 5\n\nRSpec/NamedSubject:\n EnforcedStyle: named_only\n\nRSpec/NestedGrou...
dataset_sample\yaml\ruby\rspec.yml
rspec.yml
YAML
584
0.8
0
0
react-lib
21
2024-09-25T17:38:26.989069
Apache-2.0
false
7def67f08c8f8c2db6bb3ea292a1855a
feeds_import:\n description: "Imports feed items as articles (runs hourly on the 20th minute after the hour)"\n cron: "20 * * * *"\n class: "Feeds::ImportArticlesWorker"\nlog_worker_queue_stats:\n description: "Records Sidekiq stats in Datadog (runs every 10 minutes)"\n cron: "*/10 * * * *"\n class: "Metrics::Rec...
dataset_sample\yaml\ruby\schedule.yml
schedule.yml
YAML
6,703
0.95
0.210227
0
node-utils
877
2025-06-03T14:16:29.497976
BSD-3-Clause
false
9ef7e6e895a41e8d20697da9947ad3c6
common: &defaults\n name: <%= ENV.fetch('SCOUT_NAME', '') %>\n key: <%= ENV.fetch('SCOUT_KEY', '') %>\n monitor: <%= ENV['SCOUT_KEY'].present? && ENV.fetch('SCOUT_MONITOR', true) %>\n\ntest:\n monitor: <%= ENV['SCOUT_KEY'].present? && ENV.fetch('SCOUT_MONITOR', true) %>\n\nproduction:\n <<: *defaults\n
dataset_sample\yaml\ruby\scout_apm.yml
scout_apm.yml
YAML
300
0.7
0
0
python-kit
48
2024-03-21T14:30:28.021779
Apache-2.0
false
bb0014fee98c9383e6e2d2c7b8cc77a2
# Be sure to restart your server when you modify this file.\n\n# Your secret key is used for verifying the integrity of signed cookies.\n# If you change this key, all old signed cookies will become invalid!\n\n# Make sure the secret is at least 30 characters and all random,\n# no regular words or you'll be exposed to d...
dataset_sample\yaml\ruby\secrets.yml
secrets.yml
YAML
967
0.8
0.083333
0.625
vue-tools
814
2024-04-04T22:42:33.564772
Apache-2.0
false
747d6dc05460f32f7ef10907afbbe38a
titleOnly: true\ntypes:\n - Feature\n - Fix\n - Docs\n - Style\n - Refactor\n - Perf\n - Test\n - Build\n - Chore\n - Revert\n
dataset_sample\yaml\ruby\semantic.yml
semantic.yml
YAML
124
0.7
0
0
react-lib
929
2023-09-28T05:34:13.602434
GPL-3.0
false
c3637cc4608c4d2500ac5d34b7924470
# This file contains default values, and does not need to be edited. All\n# important settings can be changed from the admin interface.\n\ndefaults: &defaults\n site_title: Mastodon\n site_short_description: ''\n site_description: ''\n site_extended_description: ''\n site_terms: ''\n site_contact_username: ''\n ...
dataset_sample\yaml\ruby\settings.yml
settings.yml
YAML
1,380
0.95
0
0.033898
python-kit
641
2025-05-30T00:34:18.364552
MIT
false
631cee87f9daef8b64dd523889699323