From cd55101b24b9d4533a74b8929a17b08be0f127ab Mon Sep 17 00:00:00 2001 From: Not_Leonian <75620009+NotLeonian@users.noreply.github.com> Date: Wed, 1 Jul 2026 17:31:54 +0900 Subject: [PATCH 1/9] =?UTF-8?q?.editorconfig=20=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .editorconfig | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..16369bf8 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,29 @@ +root = true + +[*] +indent_style = space +indent_size = 4 + +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +# Common binary files +[*.{png,jpg,jpeg,gif,webp,ico,pdf,zip,gz,tar,7z,jar,war,class,exe,dll,so,dylib,woff,woff2,ttf,eot}] +end_of_line = unset +charset = unset +trim_trailing_whitespace = unset +insert_final_newline = unset + +# Markdown +[*.{md,mdx}] +indent_size = 2 +trim_trailing_whitespace = false + +# Generated Python and C / C++ binary files +[*.{a,lib,o,obj,pyc,pyo,pyd}] +end_of_line = unset +charset = unset +trim_trailing_whitespace = unset +insert_final_newline = unset From 77d2031654e762af8ee2cb8c88519c816575feeb Mon Sep 17 00:00:00 2001 From: Not_Leonian <75620009+NotLeonian@users.noreply.github.com> Date: Wed, 1 Jul 2026 17:32:09 +0900 Subject: [PATCH 2/9] =?UTF-8?q?.gitattributes=20=E3=82=92=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitattributes | 61 ++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 54 insertions(+), 7 deletions(-) diff --git a/.gitattributes b/.gitattributes index c33bd9c4..04dcb73a 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,10 +1,57 @@ * text=auto eol=lf -*.bundle binary -*.gif binary -*.ico binary -*.jpg binary -*.jpeg binary -*.png binary -*.woff binary +# Common binary files +*.png binary +*.jpg binary +*.jpeg binary +*.gif binary +*.webp binary +*.ico binary +*.pdf binary +*.zip binary +*.gz binary +*.tar binary +*.7z binary +*.jar binary +*.war binary +*.class binary +*.exe binary +*.dll binary +*.so binary +*.dylib binary +*.woff binary *.woff2 binary +*.ttf binary +*.eot binary + +# Markdown +*.md text diff=markdown whitespace=-blank-at-eol +*.mdx text diff=markdown whitespace=-blank-at-eol + +# Python +*.py text diff=python +*.pyi text diff=python +*.pyw text diff=python + +# C / C++ +*.c text diff=cpp +*.cc text diff=cpp +*.cpp text diff=cpp +*.cxx text diff=cpp +*.h text diff=cpp +*.hh text diff=cpp +*.hpp text diff=cpp +*.hxx text diff=cpp +*.ipp text diff=cpp +*.tpp text diff=cpp +*.ixx text diff=cpp +*.cppm text diff=cpp + +# Generated Python and C / C++ binary files +*.a binary +*.lib binary +*.o binary +*.obj binary +*.pyc binary +*.pyo binary +*.pyd binary From 74fd45cad879f6b55ffd544e224e10d7697caef4 Mon Sep 17 00:00:00 2001 From: Not_Leonian <75620009+NotLeonian@users.noreply.github.com> Date: Wed, 1 Jul 2026 17:53:04 +0900 Subject: [PATCH 3/9] =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .editorconfig | 12 ++++++++++++ .gitattributes | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/.editorconfig b/.editorconfig index 16369bf8..9941426e 100644 --- a/.editorconfig +++ b/.editorconfig @@ -27,3 +27,15 @@ end_of_line = unset charset = unset trim_trailing_whitespace = unset insert_final_newline = unset + +# Shell +[*.{sh,bash,zsh}] +indent_size = 2 + +# YAML +[*.{yml,yaml}] +indent_size = 2 + +# Generated JSON schema files +[*.schema.json] +indent_size = 2 diff --git a/.gitattributes b/.gitattributes index 04dcb73a..c5c6e98a 100644 --- a/.gitattributes +++ b/.gitattributes @@ -55,3 +55,50 @@ *.pyc binary *.pyo binary *.pyd binary + +# Shell +*.sh text diff=bash +*.bash text diff=bash +*.zsh text diff=bash + +# Java +*.java text diff=java + +# Go +*.go text diff=golang + +# Rust +*.rs text diff=rust + +# Awk +*.awk text + +# HTML +*.html text diff=html + +# CSS +*.css text diff=css +*.scss text diff=css + +# JavaScript +*.js text + +# JSON +*.json text + +# YAML +*.yml text +*.yaml text + +# Configuration and lock files +*.toml text +*.lock text + +# Git bundle files +*.bundle binary + +# Test fixtures +*.hello text -eol +*.in text -eol +*.out text -eol +*.txt text=auto -eol From 93b0e6833ce03d67975316cd76f2113f84074068 Mon Sep 17 00:00:00 2001 From: Not_Leonian <75620009+NotLeonian@users.noreply.github.com> Date: Wed, 1 Jul 2026 17:56:53 +0900 Subject: [PATCH 4/9] =?UTF-8?q?=E7=A9=BA=E7=99=BD=E5=B9=85=E3=82=92?= =?UTF-8?q?=E8=AA=BF=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitattributes | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitattributes b/.gitattributes index c5c6e98a..571b5de2 100644 --- a/.gitattributes +++ b/.gitattributes @@ -62,16 +62,16 @@ *.zsh text diff=bash # Java -*.java text diff=java +*.java text diff=java # Go -*.go text diff=golang +*.go text diff=golang # Rust -*.rs text diff=rust +*.rs text diff=rust # Awk -*.awk text +*.awk text # HTML *.html text diff=html @@ -84,7 +84,7 @@ *.js text # JSON -*.json text +*.json text # YAML *.yml text From 799ba426fabcc8b0dc63c561934bc30ed33c990d Mon Sep 17 00:00:00 2001 From: Not_Leonian <75620009+NotLeonian@users.noreply.github.com> Date: Wed, 1 Jul 2026 18:13:37 +0900 Subject: [PATCH 5/9] =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .editorconfig | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.editorconfig b/.editorconfig index 9941426e..d1aeab2e 100644 --- a/.editorconfig +++ b/.editorconfig @@ -39,3 +39,17 @@ indent_size = 2 # Generated JSON schema files [*.schema.json] indent_size = 2 + +# Git bundle files +[*.bundle] +end_of_line = unset +charset = unset +trim_trailing_whitespace = unset +insert_final_newline = unset + +# Test fixtures +[*.{hello,in,out,txt}] +end_of_line = unset +charset = unset +trim_trailing_whitespace = unset +insert_final_newline = unset From 1a076f84845f593b35fe299699aeeaef4b13e433 Mon Sep 17 00:00:00 2001 From: Not_Leonian <75620009+NotLeonian@users.noreply.github.com> Date: Wed, 1 Jul 2026 18:39:01 +0900 Subject: [PATCH 6/9] =?UTF-8?q?=E5=8A=A0=E7=AD=86=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitattributes | 3 + integration_test_data/.gitattributes | 95 +++++++++++++++++++ .../.gitattributes | 61 +++++++++++- 3 files changed, 156 insertions(+), 3 deletions(-) diff --git a/.gitattributes b/.gitattributes index 571b5de2..248e71b4 100644 --- a/.gitattributes +++ b/.gitattributes @@ -102,3 +102,6 @@ *.in text -eol *.out text -eol *.txt text=auto -eol + +# Vendored documentation assets +src/competitive_verifier_resources/jekyll/assets/vendor/** linguist-vendored -text -eol diff --git a/integration_test_data/.gitattributes b/integration_test_data/.gitattributes index ff9f7dda..aae0f9ff 100644 --- a/integration_test_data/.gitattributes +++ b/integration_test_data/.gitattributes @@ -1,3 +1,98 @@ * text=auto eol=lf +# Common binary files +*.png binary +*.jpg binary +*.jpeg binary +*.gif binary +*.webp binary +*.ico binary +*.pdf binary +*.zip binary +*.gz binary +*.tar binary +*.7z binary +*.jar binary +*.war binary +*.class binary +*.exe binary +*.dll binary +*.so binary +*.dylib binary +*.woff binary +*.woff2 binary +*.ttf binary +*.eot binary + +# Markdown +*.md text diff=markdown whitespace=-blank-at-eol +*.mdx text diff=markdown whitespace=-blank-at-eol + +# Python +*.py text diff=python +*.pyi text diff=python +*.pyw text diff=python + +# C / C++ +*.c text diff=cpp +*.cc text diff=cpp +*.cpp text diff=cpp +*.cxx text diff=cpp +*.h text diff=cpp +*.hh text diff=cpp +*.hpp text diff=cpp +*.hxx text diff=cpp +*.ipp text diff=cpp +*.tpp text diff=cpp +*.ixx text diff=cpp +*.cppm text diff=cpp + +# Generated Python and C / C++ binary files +*.a binary +*.lib binary +*.o binary +*.obj binary +*.pyc binary +*.pyo binary +*.pyd binary + +# Java +*.java text diff=java + +# Go +*.go text diff=golang + +# Rust +*.rs text diff=rust + +# Awk +*.awk text + +# HTML +*.html text diff=html + +# CSS +*.css text diff=css +*.scss text diff=css + +# JavaScript +*.js text + +# JSON +*.json text + +# YAML +*.yml text +*.yaml text + +# Configuration and lock files +*.toml text + +# Git bundle files *.bundle binary + +# Test fixtures +*.hello text -eol +*.in text -eol +*.out text -eol +*.txt text=auto -eol diff --git a/src/competitive_verifier_resources/.gitattributes b/src/competitive_verifier_resources/.gitattributes index f0f52beb..eb663d72 100644 --- a/src/competitive_verifier_resources/.gitattributes +++ b/src/competitive_verifier_resources/.gitattributes @@ -1,6 +1,61 @@ * text=auto eol=lf -*.jpg binary -*.png binary -*.woff binary +# Common binary files +*.png binary +*.jpg binary +*.jpeg binary +*.gif binary +*.webp binary +*.ico binary +*.pdf binary +*.zip binary +*.gz binary +*.tar binary +*.7z binary +*.jar binary +*.war binary +*.class binary +*.exe binary +*.dll binary +*.so binary +*.dylib binary +*.woff binary *.woff2 binary +*.ttf binary +*.eot binary + +# Markdown +*.md text diff=markdown whitespace=-blank-at-eol +*.mdx text diff=markdown whitespace=-blank-at-eol + +# Python +*.py text diff=python +*.pyi text diff=python +*.pyw text diff=python + +# Generated Python binary files +*.pyc binary +*.pyo binary +*.pyd binary + +# HTML +*.html text diff=html + +# CSS +*.css text diff=css +*.scss text diff=css + +# JavaScript +*.js text + +# JSON +*.json text + +# Test fixtures +*.hello text -eol +*.in text -eol +*.out text -eol +*.txt text=auto -eol + +# Vendored documentation assets +jekyll/assets/vendor/** linguist-vendored -text -eol From a06a5a59130bfebf22bd689907a161d574043835 Mon Sep 17 00:00:00 2001 From: Not_Leonian <75620009+NotLeonian@users.noreply.github.com> Date: Wed, 1 Jul 2026 18:44:18 +0900 Subject: [PATCH 7/9] =?UTF-8?q?=E9=81=A9=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../docs/static/_includes/header-title.html | 2 +- .../docs/static/_includes/highlight_additional.html | 2 +- .../docs/static/_includes/installer.template.html | 2 +- .../docs/static/_includes/toppage_footer.html | 2 +- .competitive-verifier/docs/static/installer.js | 10 +++++----- .vscode/launch.json | 2 +- examples/awk/aplusb.awk | 2 +- examples/awk/aplusb2.awk | 2 +- examples/cpp/segment_tree.hpp | 4 ++-- examples/external/verify_files.json | 2 +- examples/go/helloworld_test.go | 12 ++++++------ examples/prev-result.json | 2 +- integration_test_data/CompileFailure/verify.json | 2 +- integration_test_data/GoData/config.toml | 2 +- integration_test_data/GoData/helloworld_test.go | 12 ++++++------ .../HandMadeDocs/docs/static/foo/bar.js | 2 +- integration_test_data/HandMadeDocs/libdoc/plain.html | 2 +- integration_test_data/HandMadeDocs/result.json | 2 +- integration_test_data/HandMadeDocs/verify.json | 2 +- integration_test_data/IncludeExclude/config.toml | 2 +- .../UserDefinedAndPythonData/awk/aplusb.awk | 2 +- .../UserDefinedAndPythonData/awk/aplusb_direct.awk | 2 +- .../docs_settings/static/_includes/head-custom.html | 2 +- .../UserDefinedAndPythonData/python/success1.py | 2 +- .../jekyll/_includes/code.html | 2 +- .../jekyll/_includes/code_and_testcases.html | 2 +- .../jekyll/_includes/document_body.html | 2 +- .../jekyll/_includes/head-custom.html | 2 +- .../jekyll/_includes/head-custom2.html | 2 +- .../jekyll/_includes/highlight/highlight_header.html | 2 +- .../jekyll/_includes/highlight_additional.html | 2 +- .../jekyll/_includes/mathjax/mathjax.html | 2 +- .../jekyll/_includes/mathjax/mathjax2.html | 2 +- .../jekyll/_includes/mathjax/mathjax3.html | 2 +- .../jekyll/_includes/multidoc_body.html | 2 +- .../jekyll/_includes/site_description.html | 2 +- .../jekyll/_includes/toppage_body.html | 2 +- .../jekyll/_includes/toppage_footer.html | 2 +- .../jekyll/_layouts/page.html | 2 +- .../jekyll/assets/css/code.scss | 4 ++-- .../jekyll/assets/css/default.scss | 2 +- .../jekyll/assets/js/mathjax-config.js | 2 +- .../jekyll-theme-minimal/_layouts/default.html | 2 +- 43 files changed, 59 insertions(+), 59 deletions(-) diff --git a/.competitive-verifier/docs/static/_includes/header-title.html b/.competitive-verifier/docs/static/_includes/header-title.html index d01f0743..8cac119f 100644 --- a/.competitive-verifier/docs/static/_includes/header-title.html +++ b/.competitive-verifier/docs/static/_includes/header-title.html @@ -6,4 +6,4 @@

{{ site.title | default: site.github.repo {% if site.email %}

 {{ site.email }}

-{% endif %} \ No newline at end of file +{% endif %} diff --git a/.competitive-verifier/docs/static/_includes/highlight_additional.html b/.competitive-verifier/docs/static/_includes/highlight_additional.html index cde547f6..1c0ee8c8 100644 --- a/.competitive-verifier/docs/static/_includes/highlight_additional.html +++ b/.competitive-verifier/docs/static/_includes/highlight_additional.html @@ -1 +1 @@ - \ No newline at end of file + diff --git a/.competitive-verifier/docs/static/_includes/installer.template.html b/.competitive-verifier/docs/static/_includes/installer.template.html index 46680095..f7352bd1 100644 --- a/.competitive-verifier/docs/static/_includes/installer.template.html +++ b/.competitive-verifier/docs/static/_includes/installer.template.html @@ -78,4 +78,4 @@ aria-label="Copied!">Copy - \ No newline at end of file + diff --git a/.competitive-verifier/docs/static/_includes/toppage_footer.html b/.competitive-verifier/docs/static/_includes/toppage_footer.html index 099153fb..2f8985c7 100644 --- a/.competitive-verifier/docs/static/_includes/toppage_footer.html +++ b/.competitive-verifier/docs/static/_includes/toppage_footer.html @@ -1,2 +1,2 @@

Others

-
\ No newline at end of file +
diff --git a/.competitive-verifier/docs/static/installer.js b/.competitive-verifier/docs/static/installer.js index 01611792..8df187a6 100644 --- a/.competitive-verifier/docs/static/installer.js +++ b/.competitive-verifier/docs/static/installer.js @@ -404,14 +404,14 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 2147483647 - + - name: Download verify_files.json and all artifacts id: all-artifacts uses: competitive-verifier/actions/download-verify-artifact@v2 with: download-all: true artifact-root: .artifacts/ - + - name: Extract bundled shell: bash run: | @@ -424,7 +424,7 @@ jobs: fi env: SRCDIR: .artifacts/Bundled-\${{ runner.os }} - + - name: Set up competitive-verifier uses: competitive-verifier/actions/setup@v2 with: @@ -602,7 +602,7 @@ jobs: outputCreateActionLink.href = createUrl const editUrl = `${repoRoot}/edit/${inputBranch.value}/.github/workflows/verify.yml`; - (async function () { + (async () => { const editResponse = await fetch(`https://api.github.com/repos/${repoUser}/${repoName}/contents/.github/workflows/verify.yml`) if (editResponse.ok) outputCreateActionLink.href = editUrl @@ -646,7 +646,7 @@ jobs: if (repsitory.endsWith('.git')) { repsitory = repsitory.substring(0, repsitory.length - 4) } - let found = repsitory.match(/github.com\/([^\/]+)\/([^\/]+)$/) + let found = repsitory.match(/github.com\/([^/]+)\/([^\/]+)$/) if (!found) { found = repsitory.match(/^([^\/]+)\/([^\/]+)$/) } diff --git a/.vscode/launch.json b/.vscode/launch.json index 20e3b00f..1af0245f 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -57,4 +57,4 @@ "console": "integratedTerminal" }, ] -} \ No newline at end of file +} diff --git a/examples/awk/aplusb.awk b/examples/awk/aplusb.awk index 1d5a4392..8ce2415a 100644 --- a/examples/awk/aplusb.awk +++ b/examples/awk/aplusb.awk @@ -1,4 +1,4 @@ # competitive-verifier: TITLE Calculate "A + B" function add(a, b) { return a + b; -} \ No newline at end of file +} diff --git a/examples/awk/aplusb2.awk b/examples/awk/aplusb2.awk index 88f768e4..f4eff287 100644 --- a/examples/awk/aplusb2.awk +++ b/examples/awk/aplusb2.awk @@ -1,2 +1,2 @@ # competitive-verifier: LOCALCASE //examples/data/aplusb -$0=$1+$2 \ No newline at end of file +$0=$1+$2 diff --git a/examples/cpp/segment_tree.hpp b/examples/cpp/segment_tree.hpp index 83e13cd5..b22dfc83 100644 --- a/examples/cpp/segment_tree.hpp +++ b/examples/cpp/segment_tree.hpp @@ -4,7 +4,7 @@ #include "examples/cpp/monoids.hpp" /** - * @brief a Segment Tree (generalized with monoids) + * @brief a Segment Tree (generalized with monoids) * @tparam Monoid is a monoid; commutativity is not required * @see https://en.wikipedia.org/wiki/Segment_tree */ @@ -50,4 +50,4 @@ struct segment_tree { typedef segment_tree plus_segment_tree; typedef segment_tree max_segment_tree; -typedef segment_tree min_segment_tree; \ No newline at end of file +typedef segment_tree min_segment_tree; diff --git a/examples/external/verify_files.json b/examples/external/verify_files.json index 97f37561..7d8bfd61 100644 --- a/examples/external/verify_files.json +++ b/examples/external/verify_files.json @@ -117,4 +117,4 @@ } } } -} \ No newline at end of file +} diff --git a/examples/go/helloworld_test.go b/examples/go/helloworld_test.go index 6b03ca9a..48cd6e96 100644 --- a/examples/go/helloworld_test.go +++ b/examples/go/helloworld_test.go @@ -3,13 +3,13 @@ package main import ( - "./helloworld" - "testing" + "./helloworld" + "testing" ) func TestHelloWorld(t *testing.T) { - want := "Hello World" - if got := helloworld.GetHelloWorld(); got != want { - t.Errorf("helloworld.GetHelloWorld() = %v, want %v", got, want) - } + want := "Hello World" + if got := helloworld.GetHelloWorld(); got != want { + t.Errorf("helloworld.GetHelloWorld() = %v, want %v", got, want) + } } diff --git a/examples/prev-result.json b/examples/prev-result.json index caefb5d9..5e057d65 100644 --- a/examples/prev-result.json +++ b/examples/prev-result.json @@ -1109,4 +1109,4 @@ "newest": true } } -} \ No newline at end of file +} diff --git a/integration_test_data/CompileFailure/verify.json b/integration_test_data/CompileFailure/verify.json index 25ea500f..8fd71687 100644 --- a/integration_test_data/CompileFailure/verify.json +++ b/integration_test_data/CompileFailure/verify.json @@ -19,4 +19,4 @@ ] } } -} \ No newline at end of file +} diff --git a/integration_test_data/GoData/config.toml b/integration_test_data/GoData/config.toml index 59de12c9..557a4dc8 100644 --- a/integration_test_data/GoData/config.toml +++ b/integration_test_data/GoData/config.toml @@ -1,3 +1,3 @@ [languages.go] compile = "env GO111MODULE=off go build -o {tempdir}/{path} {basedir}/{path}" -execute = "{tempdir}/{path}" \ No newline at end of file +execute = "{tempdir}/{path}" diff --git a/integration_test_data/GoData/helloworld_test.go b/integration_test_data/GoData/helloworld_test.go index 6b03ca9a..48cd6e96 100644 --- a/integration_test_data/GoData/helloworld_test.go +++ b/integration_test_data/GoData/helloworld_test.go @@ -3,13 +3,13 @@ package main import ( - "./helloworld" - "testing" + "./helloworld" + "testing" ) func TestHelloWorld(t *testing.T) { - want := "Hello World" - if got := helloworld.GetHelloWorld(); got != want { - t.Errorf("helloworld.GetHelloWorld() = %v, want %v", got, want) - } + want := "Hello World" + if got := helloworld.GetHelloWorld(); got != want { + t.Errorf("helloworld.GetHelloWorld() = %v, want %v", got, want) + } } diff --git a/integration_test_data/HandMadeDocs/docs/static/foo/bar.js b/integration_test_data/HandMadeDocs/docs/static/foo/bar.js index 24b93b48..a5b97098 100644 --- a/integration_test_data/HandMadeDocs/docs/static/foo/bar.js +++ b/integration_test_data/HandMadeDocs/docs/static/foo/bar.js @@ -1 +1 @@ -console.log('foo') \ No newline at end of file +console.log('foo') diff --git a/integration_test_data/HandMadeDocs/libdoc/plain.html b/integration_test_data/HandMadeDocs/libdoc/plain.html index 10b775ae..49c7f6d2 100644 --- a/integration_test_data/HandMadeDocs/libdoc/plain.html +++ b/integration_test_data/HandMadeDocs/libdoc/plain.html @@ -3,4 +3,4 @@ Document

Hello

- \ No newline at end of file + diff --git a/integration_test_data/HandMadeDocs/result.json b/integration_test_data/HandMadeDocs/result.json index 253cd346..80b0c759 100644 --- a/integration_test_data/HandMadeDocs/result.json +++ b/integration_test_data/HandMadeDocs/result.json @@ -2,4 +2,4 @@ "$schema": "../../schema/verify_result.schema.json", "total_seconds": 0, "files": {} -} \ No newline at end of file +} diff --git a/integration_test_data/HandMadeDocs/verify.json b/integration_test_data/HandMadeDocs/verify.json index 41d13f6b..34821973 100644 --- a/integration_test_data/HandMadeDocs/verify.json +++ b/integration_test_data/HandMadeDocs/verify.json @@ -111,4 +111,4 @@ ] } } -} \ No newline at end of file +} diff --git a/integration_test_data/IncludeExclude/config.toml b/integration_test_data/IncludeExclude/config.toml index fb8c6bad..8ffe0677 100644 --- a/integration_test_data/IncludeExclude/config.toml +++ b/integration_test_data/IncludeExclude/config.toml @@ -1,4 +1,4 @@ [languages.txt] compile = "true" execute = "true" -list_dependencies = "" \ No newline at end of file +list_dependencies = "" diff --git a/integration_test_data/UserDefinedAndPythonData/awk/aplusb.awk b/integration_test_data/UserDefinedAndPythonData/awk/aplusb.awk index 1d5a4392..8ce2415a 100644 --- a/integration_test_data/UserDefinedAndPythonData/awk/aplusb.awk +++ b/integration_test_data/UserDefinedAndPythonData/awk/aplusb.awk @@ -1,4 +1,4 @@ # competitive-verifier: TITLE Calculate "A + B" function add(a, b) { return a + b; -} \ No newline at end of file +} diff --git a/integration_test_data/UserDefinedAndPythonData/awk/aplusb_direct.awk b/integration_test_data/UserDefinedAndPythonData/awk/aplusb_direct.awk index c3c86024..e209f4c1 100644 --- a/integration_test_data/UserDefinedAndPythonData/awk/aplusb_direct.awk +++ b/integration_test_data/UserDefinedAndPythonData/awk/aplusb_direct.awk @@ -1,2 +1,2 @@ # competitive-verifier: PROBLEM https://judge.yosupo.jp/problem/aplusb -$0=$1 + $2 \ No newline at end of file +$0=$1 + $2 diff --git a/integration_test_data/UserDefinedAndPythonData/docs_settings/static/_includes/head-custom.html b/integration_test_data/UserDefinedAndPythonData/docs_settings/static/_includes/head-custom.html index ee297941..7d96c179 100644 --- a/integration_test_data/UserDefinedAndPythonData/docs_settings/static/_includes/head-custom.html +++ b/integration_test_data/UserDefinedAndPythonData/docs_settings/static/_includes/head-custom.html @@ -1,4 +1,4 @@ {% include mathjax/mathjax.html %} {% include head-custom2.html %} -{% include highlight/highlight_header.html %} \ No newline at end of file +{% include highlight/highlight_header.html %} diff --git a/integration_test_data/UserDefinedAndPythonData/python/success1.py b/integration_test_data/UserDefinedAndPythonData/python/success1.py index 0634b7fb..9c4af685 100644 --- a/integration_test_data/UserDefinedAndPythonData/python/success1.py +++ b/integration_test_data/UserDefinedAndPythonData/python/success1.py @@ -23,4 +23,4 @@ def main() -> None: # `https://example.com/top_back # 'https://example.com/single' # "https://example.com/double" -# `https://example.com/back` \ No newline at end of file +# `https://example.com/back` diff --git a/src/competitive_verifier_resources/jekyll/_includes/code.html b/src/competitive_verifier_resources/jekyll/_includes/code.html index 85f2519a..19b1a320 100644 --- a/src/competitive_verifier_resources/jekyll/_includes/code.html +++ b/src/competitive_verifier_resources/jekyll/_includes/code.html @@ -17,4 +17,4 @@ {%- else -%}
:x: There is no code.
-{%- endif -%} \ No newline at end of file +{%- endif -%} diff --git a/src/competitive_verifier_resources/jekyll/_includes/code_and_testcases.html b/src/competitive_verifier_resources/jekyll/_includes/code_and_testcases.html index 294565c3..87d1c45b 100644 --- a/src/competitive_verifier_resources/jekyll/_includes/code_and_testcases.html +++ b/src/competitive_verifier_resources/jekyll/_includes/code_and_testcases.html @@ -33,4 +33,4 @@

{{ include.title | default: 'Code' }}

{%- endfor -%} -{%- endif -%} \ No newline at end of file +{%- endif -%} diff --git a/src/competitive_verifier_resources/jekyll/_includes/document_body.html b/src/competitive_verifier_resources/jekyll/_includes/document_body.html index 7850e09e..135075dd 100644 --- a/src/competitive_verifier_resources/jekyll/_includes/document_body.html +++ b/src/competitive_verifier_resources/jekyll/_includes/document_body.html @@ -1,2 +1,2 @@ {%- include dependencies.html data=include.data -%} -{%- include code_and_testcases.html data=include.data -%} \ No newline at end of file +{%- include code_and_testcases.html data=include.data -%} diff --git a/src/competitive_verifier_resources/jekyll/_includes/head-custom.html b/src/competitive_verifier_resources/jekyll/_includes/head-custom.html index 4ffaf5a2..341adc35 100644 --- a/src/competitive_verifier_resources/jekyll/_includes/head-custom.html +++ b/src/competitive_verifier_resources/jekyll/_includes/head-custom.html @@ -12,4 +12,4 @@ {% include highlight/highlight_header.html %} {% include mathjax/mathjax.html %} -{% include head-custom2.html %} \ No newline at end of file +{% include head-custom2.html %} diff --git a/src/competitive_verifier_resources/jekyll/_includes/head-custom2.html b/src/competitive_verifier_resources/jekyll/_includes/head-custom2.html index 579e52fb..19d16426 100644 --- a/src/competitive_verifier_resources/jekyll/_includes/head-custom2.html +++ b/src/competitive_verifier_resources/jekyll/_includes/head-custom2.html @@ -1 +1 @@ - \ No newline at end of file + diff --git a/src/competitive_verifier_resources/jekyll/_includes/highlight/highlight_header.html b/src/competitive_verifier_resources/jekyll/_includes/highlight/highlight_header.html index 3e97ae7a..911d15d5 100644 --- a/src/competitive_verifier_resources/jekyll/_includes/highlight/highlight_header.html +++ b/src/competitive_verifier_resources/jekyll/_includes/highlight/highlight_header.html @@ -6,4 +6,4 @@ {% include highlight_additional.html %} - \ No newline at end of file + diff --git a/src/competitive_verifier_resources/jekyll/_includes/highlight_additional.html b/src/competitive_verifier_resources/jekyll/_includes/highlight_additional.html index f0a7487a..d5a29230 100644 --- a/src/competitive_verifier_resources/jekyll/_includes/highlight_additional.html +++ b/src/competitive_verifier_resources/jekyll/_includes/highlight_additional.html @@ -1 +1 @@ - \ No newline at end of file + diff --git a/src/competitive_verifier_resources/jekyll/_includes/mathjax/mathjax.html b/src/competitive_verifier_resources/jekyll/_includes/mathjax/mathjax.html index 6c05afab..09e7a708 100644 --- a/src/competitive_verifier_resources/jekyll/_includes/mathjax/mathjax.html +++ b/src/competitive_verifier_resources/jekyll/_includes/mathjax/mathjax.html @@ -2,4 +2,4 @@ {%- include mathjax/mathjax2.html -%} {%- else -%} {%- include mathjax/mathjax3.html -%} -{%- endif -%} \ No newline at end of file +{%- endif -%} diff --git a/src/competitive_verifier_resources/jekyll/_includes/mathjax/mathjax2.html b/src/competitive_verifier_resources/jekyll/_includes/mathjax/mathjax2.html index 7c85fe81..94b743ab 100644 --- a/src/competitive_verifier_resources/jekyll/_includes/mathjax/mathjax2.html +++ b/src/competitive_verifier_resources/jekyll/_includes/mathjax/mathjax2.html @@ -1,3 +1,3 @@ -{% include mathjax/mathjax3.html %} \ No newline at end of file +{% include mathjax/mathjax3.html %} diff --git a/src/competitive_verifier_resources/jekyll/_includes/mathjax/mathjax3.html b/src/competitive_verifier_resources/jekyll/_includes/mathjax/mathjax3.html index 0f836fb6..f291a818 100644 --- a/src/competitive_verifier_resources/jekyll/_includes/mathjax/mathjax3.html +++ b/src/competitive_verifier_resources/jekyll/_includes/mathjax/mathjax3.html @@ -1,2 +1,2 @@ - \ No newline at end of file + diff --git a/src/competitive_verifier_resources/jekyll/_includes/multidoc_body.html b/src/competitive_verifier_resources/jekyll/_includes/multidoc_body.html index 65d98d67..30f08494 100644 --- a/src/competitive_verifier_resources/jekyll/_includes/multidoc_body.html +++ b/src/competitive_verifier_resources/jekyll/_includes/multidoc_body.html @@ -24,4 +24,4 @@ {%- capture page_title -%}{{code.path | xml_escape }}{%- endcapture -%} {%- endif -%} {%- include code_and_testcases.html data=code title=page_title header=header test_cases_tag='h3' -%} -{%- endfor -%} \ No newline at end of file +{%- endfor -%} diff --git a/src/competitive_verifier_resources/jekyll/_includes/site_description.html b/src/competitive_verifier_resources/jekyll/_includes/site_description.html index 258da2f0..d3c38057 100644 --- a/src/competitive_verifier_resources/jekyll/_includes/site_description.html +++ b/src/competitive_verifier_resources/jekyll/_includes/site_description.html @@ -5,4 +5,4 @@ {{- site.description -}} {%- else -%} {{- site.github.project_tagline -}} -{%- endif -%} \ No newline at end of file +{%- endif -%} diff --git a/src/competitive_verifier_resources/jekyll/_includes/toppage_body.html b/src/competitive_verifier_resources/jekyll/_includes/toppage_body.html index 438c61ce..1e6f86e4 100644 --- a/src/competitive_verifier_resources/jekyll/_includes/toppage_body.html +++ b/src/competitive_verifier_resources/jekyll/_includes/toppage_body.html @@ -19,4 +19,4 @@

{{ category.name }}

{%- endfor -%} {%- endfor -%} -{%- endfor -%} \ No newline at end of file +{%- endfor -%} diff --git a/src/competitive_verifier_resources/jekyll/_includes/toppage_footer.html b/src/competitive_verifier_resources/jekyll/_includes/toppage_footer.html index fb079469..f694bbee 100644 --- a/src/competitive_verifier_resources/jekyll/_includes/toppage_footer.html +++ b/src/competitive_verifier_resources/jekyll/_includes/toppage_footer.html @@ -1 +1 @@ - \ No newline at end of file + diff --git a/src/competitive_verifier_resources/jekyll/_layouts/page.html b/src/competitive_verifier_resources/jekyll/_layouts/page.html index ab52aff5..0f408ea1 100644 --- a/src/competitive_verifier_resources/jekyll/_layouts/page.html +++ b/src/competitive_verifier_resources/jekyll/_layouts/page.html @@ -4,4 +4,4 @@
{{- content -}} -
\ No newline at end of file + diff --git a/src/competitive_verifier_resources/jekyll/assets/css/code.scss b/src/competitive_verifier_resources/jekyll/assets/css/code.scss index a761a589..10e1a02b 100644 --- a/src/competitive_verifier_resources/jekyll/assets/css/code.scss +++ b/src/competitive_verifier_resources/jekyll/assets/css/code.scss @@ -25,7 +25,7 @@ .hljs { padding: 0; display: block; - + &.disable { display: none; } @@ -67,4 +67,4 @@ &.selected { background-color: #cce; } -} \ No newline at end of file +} diff --git a/src/competitive_verifier_resources/jekyll/assets/css/default.scss b/src/competitive_verifier_resources/jekyll/assets/css/default.scss index 69b7c4d7..e3763cf1 100644 --- a/src/competitive_verifier_resources/jekyll/assets/css/default.scss +++ b/src/competitive_verifier_resources/jekyll/assets/css/default.scss @@ -31,4 +31,4 @@ h1 a:focus { .testcases-table .col:not(.col1):not(.col2) { text-align: center; -} \ No newline at end of file +} diff --git a/src/competitive_verifier_resources/jekyll/assets/js/mathjax-config.js b/src/competitive_verifier_resources/jekyll/assets/js/mathjax-config.js index b0b2c8ec..28d81456 100644 --- a/src/competitive_verifier_resources/jekyll/assets/js/mathjax-config.js +++ b/src/competitive_verifier_resources/jekyll/assets/js/mathjax-config.js @@ -32,4 +32,4 @@ load: ['input/asciimath', '[tex]/noerrors'] } }; -})(); \ No newline at end of file +})(); diff --git a/src/competitive_verifier_resources/jekyll_theme_overrides/jekyll-theme-minimal/_layouts/default.html b/src/competitive_verifier_resources/jekyll_theme_overrides/jekyll-theme-minimal/_layouts/default.html index b5d3fe5b..75ba8dd8 100644 --- a/src/competitive_verifier_resources/jekyll_theme_overrides/jekyll-theme-minimal/_layouts/default.html +++ b/src/competitive_verifier_resources/jekyll_theme_overrides/jekyll-theme-minimal/_layouts/default.html @@ -51,4 +51,4 @@

{{ site.title | default: site.github.repo - \ No newline at end of file + From 6454dc6fed750fee835e7e6042dfbbfe1ff31bec Mon Sep 17 00:00:00 2001 From: Not_Leonian <75620009+NotLeonian@users.noreply.github.com> Date: Wed, 1 Jul 2026 18:50:44 +0900 Subject: [PATCH 8/9] =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .competitive-verifier/docs/static/installer.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.competitive-verifier/docs/static/installer.js b/.competitive-verifier/docs/static/installer.js index 8df187a6..0602dc71 100644 --- a/.competitive-verifier/docs/static/installer.js +++ b/.competitive-verifier/docs/static/installer.js @@ -1,4 +1,4 @@ -(async function () { +(async () => { /** * @param {string[]} lines * @return {string} string with head space @@ -31,7 +31,7 @@ * @return {string} yaml array */ function parallelIndexMatrix(size) { - if (isNaN(size)) { + if (Number.isNaN(size)) { throw new Error('Parallel size must be integer.') } else if (size < 1) { throw new Error('Parallel size must be positive.') @@ -212,11 +212,11 @@ ' run: dotnet tool install -g CompetitiveVerifierCsResolver', '# required only if you have unit test.', '- name: Unit test', - ' run: dotnet test $UNITTEST_CSPROJ --logger "CompetitiveVerifier;OutDirectory=${{runner.temp}}/VerifierCsUnitTestResult" --no-build -c Release', + ` run: dotnet test $UNITTEST_CSPROJ --logger "CompetitiveVerifier;OutDirectory=\${{runner.temp}}/VerifierCsUnitTestResult" --no-build -c Release`, ' env:', ' UNITTEST_CSPROJ: YourUnittest.csproj', '- name: Resolve', - ' run: dotnet run --project $VERIFY_CSPROJ --no-launch-profile --no-build -c Release | tee ${{runner.temp}}/problems.json', + ` run: dotnet run --project $VERIFY_CSPROJ --no-launch-profile --no-build -c Release | tee \${{runner.temp}}/problems.json`, ' env:', ' VERIFY_CSPROJ: YourVerify.csproj', '- name: cs-resolve', @@ -227,8 +227,8 @@ ' # Specify patterns', includeParam, excludeParam, - ' unittest-result: ${{runner.temp}}/VerifierCsUnitTestResult/*.csv', - ' problems: ${{runner.temp}}/problems.json', + ` unittest-result: \${{runner.temp}}/VerifierCsUnitTestResult/*.csv`, + ` problems: \${{runner.temp}}/problems.json`, ) initializeForVerification.push(...setup) From 6ccfeac96c94d0e7c04db27c9525cea47db4af2a Mon Sep 17 00:00:00 2001 From: Not_Leonian <75620009+NotLeonian@users.noreply.github.com> Date: Wed, 1 Jul 2026 18:58:38 +0900 Subject: [PATCH 9/9] =?UTF-8?q?=E3=81=95=E3=82=89=E3=81=AB=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .competitive-verifier/docs/static/installer.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.competitive-verifier/docs/static/installer.js b/.competitive-verifier/docs/static/installer.js index 0602dc71..44aefded 100644 --- a/.competitive-verifier/docs/static/installer.js +++ b/.competitive-verifier/docs/static/installer.js @@ -23,7 +23,7 @@ function yamlTextProperty(name, text) { const arr = text.split(/\r?\n/) arr.splice(0, 0, `${name}: |`) - return arr.join('\n' + inputStringHeadSpace) + return arr.join(`\n${inputStringHeadSpace}`) } /** @@ -100,7 +100,7 @@ function buildActionYaml() { try { const branch = inputBranch.value.trim() - const parallelSize = parseInt(inputParallelSize.value.trim()) + const parallelSize = parseInt(inputParallelSize.value.trim(), 10) const configToml = inputConfigToml.value.trim() const include = inputInclude.value.trim() const exclude = inputExclude.value.trim() @@ -304,7 +304,7 @@ jobs: ` if (initializeForResolving.length > 0) { - actionYaml += stepDefinition([" # Initialize your own environment for resolving.", ...initializeForResolving]) + "\n" + actionYaml += `${stepDefinition([" # Initialize your own environment for resolving.", ...initializeForResolving])}\n` } actionYaml += ` @@ -329,7 +329,7 @@ jobs: runs-on: ubuntu-latest needs: [setup] env: - SPLIT_SIZE: "${parseInt(inputParallelSize.value.trim())}" + SPLIT_SIZE: "${parallelSize}" strategy: matrix: # prettier-ignore @@ -364,7 +364,7 @@ jobs: cache-pip: true ` if (initializeForVerification.length > 0) { - actionYaml += stepDefinition([" # Initialize your own environment for verification.", ...initializeForVerification]) + "\n" + actionYaml += `${stepDefinition([" # Initialize your own environment for verification.", ...initializeForVerification])}\n` } actionYaml += ` @@ -612,8 +612,8 @@ jobs: const badgeVerifyRaw = document.getElementById('badge-verify-raw') const badgeVerifyLink = document.getElementById('badge-verify-link') const badgeVerifyImg = document.getElementById('badge-verify-img') - const link = repoRoot + "/actions" - const img = repoRoot + "/actions/workflows/verify.yml/badge.svg" + const link = `${repoRoot}/actions` + const img = `${repoRoot}/actions/workflows/verify.yml/badge.svg` badgeVerifyRaw.value = `[![Actions Status](${img})](${link})` badgeVerifyLink.href = link badgeVerifyImg.src = img @@ -646,9 +646,9 @@ jobs: if (repsitory.endsWith('.git')) { repsitory = repsitory.substring(0, repsitory.length - 4) } - let found = repsitory.match(/github.com\/([^/]+)\/([^\/]+)$/) + let found = repsitory.match(/github.com\/([^/]+)\/([^/]+)$/) if (!found) { - found = repsitory.match(/^([^\/]+)\/([^\/]+)$/) + found = repsitory.match(/^([^/]+)\/([^/]+)$/) } return found }