{"messages":[{"content":"You are ranking individual git commits to an open source project.\nCompare these two commits. Decide which commit contributed more.\nReturn ONLY a JSON object: {\"winner\": \"A\" or \"B\", \"ratio\": \"N:M\", \"explanation\": \"...\"}\n\nSide A — contributor: tommy-mor\nSide A — commit message:\n[09842c93] remove shell\n\nSide A — unified diff (full patch):\ndiff --git a/server/src/html/garden.rs b/server/src/html/garden.rs\nindex 8fc6be1de8dd975f9547de615809222236be4b70..76ba96e45c9e16291a6ccd8096fdd01b274c1560 100644\n--- a/server/src/html/garden.rs\n+++ b/server/src/html/garden.rs\n@@ -1321,55 +1321,53 @@ async fn vote_compare_inner(\n .expect(\"vote compare rpc json\");\n \n let body = html! {\n- section class=\"vote-compare-shell\" {\n- h2 { \"compare\" }\n- div class=\"vote-compare-pair\" {\n- a class=\"vote-compare-item\" href=(nav.garden_item_href(&left)) {\n- code { (item_display_path(left.as_str())) }\n- }\n- span class=\"vote-compare-vs\" { \"vs\" }\n- a class=\"vote-compare-item\" href=(nav.garden_item_href(&right)) {\n- code { (item_display_path(right.as_str())) }\n- }\n- }\n- div id=\"vote-edge-history-region\" {\n- (edge_history)\n- }\n- @if can_post {\n- form id=\"vote-compare-form\" method=\"POST\" action=\"/ui\" {\n- input type=\"hidden\" name=(UI_RPC_FIELD) value=(rpc_json);\n- div class=\"vote-thread-picker\" {\n- label class=\"vote-thread-picker-label\" { \"thread\" }\n- select id=\"vote-thread-select\" name=\"thread_tag\" aria-label=\"Thread to post vote into\" {\n- @if thread_tags.is_empty() {\n- option value=\"vote\" selected { \"#vote\" }\n- }\n- @for t in &thread_tags {\n- @if *t == auto_thread {\n- option value=(t) selected { \"#\" (t) }\n- } @else {\n- option value=(t) { \"#\" (t) }\n- }\n- }\n- }\n+ h2 { \"compare\" }\n+ div class=\"vote-compare-pair\" {\n+ a class=\"vote-compare-item\" href=(nav.garden_item_href(&left)) {\n+ code { (item_display_path(left.as_str())) }\n+ }\n+ span class=\"vote-compare-vs\" { \"vs\" }\n+ a class=\"vote-compare-item\" href=(nav.garden_item_href(&right)) {\n+ code { (item_display_path(right.as_str())) }\n+ }\n+ }\n+ div id=\"vote-edge-history-region\" {\n+ (edge_history)\n+ }\n+ @if can_post {\n+ form id=\"vote-compare-form\" method=\"POST\" action=\"/ui\" {\n+ input type=\"hidden\" name=(UI_RPC_FIELD) value=(rpc_json);\n+ div class=\"vote-thread-picker\" {\n+ label class=\"vote-thread-picker-label\" { \"thread\" }\n+ select id=\"vote-thread-select\" name=\"thread_tag\" aria-label=\"Thread to post vote into\" {\n+ @if thread_tags.is_empty() {\n+ option value=\"vote\" selected { \"#vote\" }\n }\n- input type=\"hidden\" name=\"ratio_left\" id=\"vote-ratio-left\" value=\"50\";\n- input type=\"hidden\" name=\"ratio_right\" id=\"vote-ratio-right\" value=\"50\";\n- label class=\"vote-compare-slider-label\" {\n- span id=\"vote-slider-left-label\" { (item_display_path(left.as_str())) }\n- input type=\"range\" id=\"vote-preference-slider\" min=\"0\" max=\"100\" value=\"50\"\n- aria-valuemin=\"0\" aria-valuemax=\"100\";\n- span id=\"vote-slider-right-label\" { (item_display_path(right.as_str())) }\n+ @for t in &thread_tags {\n+ @if *t == auto_thread {\n+ option value=(t) selected { \"#\" (t) }\n+ } @else {\n+ option value=(t) { \"#\" (t) }\n+ }\n }\n- label class=\"vote-explain-label\" { \"reason (required)\" }\n- textarea name=\"explanation\" id=\"vote-explain\" rows=\"5\" placeholder=\"why this split?\" required {}\n- div id=\"vote-compare-errors\" {}\n- p { button type=\"submit\" { \"post vote\" } }\n }\n- } @else {\n- p class=\"muted\" { a href=\"/login\" { \"log in\" } \" to post this vote.\" }\n }\n+ input type=\"hidden\" name=\"ratio_left\" id=\"vote-ratio-left\" value=\"50\";\n+ input type=\"hidden\" name=\"ratio_right\" id=\"vote-ratio-right\" value=\"50\";\n+ label class=\"vote-compare-slider-label\" {\n+ span id=\"vote-slider-left-label\" { (item_display_path(left.as_str())) }\n+ input type=\"range\" id=\"vote-preference-slider\" min=\"0\" max=\"100\" value=\"50\"\n+ aria-valuemin=\"0\" aria-valuemax=\"100\";\n+ span id=\"vote-slider-right-label\" { (item_display_path(right.as_str())) }\n+ }\n+ label class=\"vote-explain-label\" { \"reason (required)\" }\n+ textarea name=\"explanation\" id=\"vote-explain\" rows=\"5\" placeholder=\"why this split?\" required {}\n+ div id=\"vote-compare-errors\" {}\n+ p { button type=\"submit\" { \"post vote\" } }\n }\n+ } @else {\n+ p class=\"muted\" { a href=\"/login\" { \"log in\" } \" to post this vote.\" }\n+ }\n };\n \n let page = layout_full_bleed_chromeless(\ndiff --git a/server/static/theme_default.css b/server/static/theme_default.css\nindex a441c4f79d8cf88f5a8240f9992f47dbbd1ab46b..fdcde86c718eb53cce8273e45a9844c2d8041f88 100644\n--- a/server/static/theme_default.css\n+++ b/server/static/theme_default.css\n@@ -1270,8 +1270,12 @@ body.view-ontology-dark .ont-ranking-list li {\n body.view-ontology-dark .ont-ranking-list li::before {\n color: var(--meta);\n content: counter(ont-rank) \".\";\n- font-size: 11px;\n- min-width: 18px;\n+ flex-shrink: 0;\n+ font-size: 1.35rem;\n+ font-weight: 700;\n+ font-variant-numeric: tabular-nums;\n+ line-height: 1;\n+ min-width: 2.25ch;\n text-align: right;\n }\n body.view-ontology-dark .ont-rank-score {\n@@ -1424,8 +1428,12 @@ body.view-ontology-light .ont-ranking-list li {\n body.view-ontology-light .ont-ranking-list li::before {\n color: var(--meta);\n content: counter(ont-rank) \".\";\n- font-size: 11px;\n- min-width: 18px;\n+ flex-shrink: 0;\n+ font-size: 1.35rem;\n+ font-weight: 700;\n+ font-variant-numeric: tabular-nums;\n+ line-height: 1;\n+ min-width: 2.25ch;\n text-align: right;\n }\n body.view-ontology-light .ont-rank-score {\ndiff --git a/server/static/theme_retro.css b/server/static/theme_retro.css\nindex 373f15bbd75b62604cdd14b9f0fadda2d6176991..61e1448b2f66a075c0e33325d6980448712fc927 100644\n--- a/server/static/theme_retro.css\n+++ b/server/static/theme_retro.css\n@@ -135,6 +135,30 @@ body.view-ontology nav.breadcrumb a:hover {\n body.view-ontology nav.breadcrumb a.bc-current { color: #111; font-weight: 600; }\n body.view-ontology nav.breadcrumb .bc-sep { color: #888; padding: 0 2px; }\n \n+body.view-ontology ol.ont-ranking-list {\n+ counter-reset: ont-rank;\n+ list-style: none;\n+ margin: 0.5rem 0;\n+ padding: 0;\n+}\n+body.view-ontology ol.ont-ranking-list li {\n+ align-items: baseline;\n+ counter-increment: ont-rank;\n+ display: flex;\n+ gap: 0.35rem;\n+}\n+body.view-ontology ol.ont-ranking-list li::before {\n+ flex-shrink: 0;\n+ color: #666;\n+ content: counter(ont-rank) \".\";\n+ font-size: 1.35rem;\n+ font-weight: 700;\n+ font-variant-numeric: tabular-nums;\n+ line-height: 1;\n+ min-width: 2.25ch;\n+ text-align: right;\n+}\n+\n nav.breadcrumb.ont-sibling-nav {\n margin-top: 0;\n width: 100%;\ndiff --git a/server/static/theme_retro_craft.css b/server/static/theme_retro_craft.css\nindex 6eb9222184a8795d67a5d09d41de08c8ac1b148f..7da102040484c887833158a37c307d078205c701 100644\n--- a/server/static/theme_retro_craft.css\n+++ b/server/static/theme_retro_craft.css\n@@ -742,12 +742,32 @@ body.view-ontology button.ont-garden-pin-ico:focus-visible {\n outline-offset: 2px;\n }\n \n+body.view-ontology ol.ont-ranking-list {\n+ counter-reset: ont-rank;\n+ list-style: none;\n+ margin: 0;\n+ padding: 0;\n+}\n body.view-ontology ol.ont-ranking-list li,\n body.view-ontology ul.ont-group-list li {\n display: flex;\n align-items: baseline;\n gap: 0.35rem;\n }\n+body.view-ontology ol.ont-ranking-list li {\n+ counter-increment: ont-rank;\n+}\n+body.view-ontology ol.ont-ranking-list li::before {\n+ flex-shrink: 0;\n+ color: #5c574e;\n+ content: counter(ont-rank) \".\";\n+ font-size: 1.35rem;\n+ font-weight: 700;\n+ font-variant-numeric: tabular-nums;\n+ line-height: 1;\n+ min-width: 2.25ch;\n+ text-align: right;\n+}\n body.view-ontology ol.ont-ranking-list li .item-link,\n body.view-ontology ul.ont-group-list li .item-link {\n flex: 1;\n\n\nSide B — contributor: tommy-mor\nSide B — commit message:\n[0bebe819] Unify kaocha test discovery to one auto-discovered suite.\n\nReplace the two hand-enumerated suites (:http-integration, :browser) with\na single :all suite that picks up every test.* namespace under test/. New\ntest files now run automatically without touching tests.edn — needed for\nthe test.ranking namespace added alongside the #146 fix, and for any\nfuture tests.\n\nBoth ./TEST.sh and CI (.github/workflows/ci.yml) invoke\n`clojure -M:kaocha`, so both pick up the new suite without changes.\n\nCo-Authored-By: Claude Opus 4.7 (1M context) \n\nSide B — unified diff (full patch):\ndiff --git a/tests.edn b/tests.edn\nindex 5e2b0433a66c51806d08ef38d691259cfccd1fe0..e51ffcc81eeae6f41c85d1bfc5ba32f592cc5818 100644\n--- a/tests.edn\n+++ b/tests.edn\n@@ -1,30 +1,14 @@\n #kaocha/v1\n-{:tests\n- [{:id :http-integration\n- :test-paths [\"test\"]\n- :source-paths [\".\"]\n- :ns-patterns [\"^test\\\\.integration$\"\n- \"^test\\\\.auth$\"\n- \"^test\\\\.grants$\"\n- \"^test\\\\.invites$\"\n- \"^test\\\\.room-list$\"]\n- :kaocha.filter/skip-meta [:skip]\n- :parallel? false}\n- {:id :browser\n- :test-paths [\"test\"]\n- :source-paths [\".\"]\n- :ns-patterns [\"^test\\\\.browser-sse$\"\n- \"^test\\\\.browser-ui-morph$\"\n- \"^test\\\\.browser-post-redact$\"\n- \"^test\\\\.browser-room-delete$\"\n- \"^test\\\\.browser-public-garden$\"\n- \"^test\\\\.browser-redact-thread-index$\"\n- \"^test\\\\.browser-garden-pin$\"\n- \"^test\\\\.browser-vote-compare$\"\n- \"^test\\\\.browser-github-resolver$\"]\n- :kaocha.filter/skip-meta [:skip]\n- :parallel? false}]\n- :plugins [:kaocha.plugin/junit-xml]\n- :kaocha.plugin.junit-xml/target-file \"target/kaocha-junit.xml\"\n- :kaocha.plugin.junit-xml/add-location-metadata? true\n- :reporter kaocha.report.progress/report}\n+ {:tests\n+ [{:id :all\n+ :test-paths [\"test\"]\n+ :source-paths [\".\"]\n+ ;; Pick up every test.* namespace under test/. New files don't need to be\n+ ;; enumerated here — drop them in test/ with `(ns test.foo …)` and they run.\n+ :ns-patterns [\"^test\\\\..+\"]\n+ :kaocha.filter/skip-meta [:skip]\n+ :parallel? false}]\n+ :plugins [:kaocha.plugin/junit-xml]\n+ :kaocha.plugin.junit-xml/target-file \"target/kaocha-junit.xml\"\n+ :kaocha.plugin.junit-xml/add-location-metadata? true\n+ :reporter kaocha.report.progress/report}\n","role":"user"}],"model":"openai/gpt-5.2-chat"}