conversations
listlengths
2
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "Prepare for next release cycle.\n" }, { "from": "human", "value": "(defproject onyx-app/lein-template \"0.13.5.0\"\n :description \"Onyx Leiningen application template\"\n :url \"https://github.com/onyx-platform/onyx-template\"\n :license {:name \"MIT License\"\n...
clojure
chosen
[ { "from": "system", "value": "Update Kalium and Clojure to latest stable version\n" }, { "from": "human", "value": "(defproject caesium \"0.3.0\"\n :description \"libsodium for clojure\"\n :url \"https://github.com/lvh/caesium\"\n :license {:name \"Eclipse Public License\"\n :url \...
clojure
chosen
[ { "from": "system", "value": "Use a different topic so we don't collide with the 'real' tests.\n" }, { "from": "human", "value": "(ns messaging.init\n (:require [immutant.messaging :as msg]))\n\n(msg/start \"/topic/gravy\")\n\n(let [p (promise)\n l (msg/listen \"/topic/gravy\" (fn [v] (del...
clojure
chosen
[ { "from": "system", "value": "Add a note about moving figwheel configuration\n" }, { "from": "human", "value": "(ns comic-reader.main\n (:require [figwheel.client :as fw]\n [comic-reader.session :as session]\n [comic-reader.pages.sites :as sites]\n [comic-reader...
clojure
chosen
[ { "from": "system", "value": "Add factorial and days_in_month tests\n" }, { "from": "human", "value": "(ns luaclj.core-test\n (:require [clojure.test :refer :all]\n [luaclj.library :refer :all]\n [luaclj.core :refer :all]))\n(comment\n (parse-lua (slurp \"resources/test/b...
clojure
chosen
[ { "from": "system", "value": "Make sure `lein run` works\n" }, { "from": "human", "value": "(ns jcf.integration-test\n (:require [clojure.java.io :as io]\n [clojure.java.shell :refer [sh]]\n [clojure.string :as str]\n [clojure.test :refer :all]\n [lei...
clojure
chosen
[ { "from": "system", "value": "Use rand-nth instead of first and shuffle in robot-name/generate-name\n" }, { "from": "human", "value": "(ns robot-name)\n\n(def ^:private letters (map char (range 65 91)))\n(defn- generate-name []\n (format \"%s%03d\" (apply str (repeatedly 2 #(first (shuffle lett...
clojure
chosen
[ { "from": "system", "value": "Update dependencies to latest versions\n" }, { "from": "human", "value": "(defproject hello \"compojure\"\n :description \"JSON/Database tests\"\n :url \"http://example.com/FIXME\"\n :dependencies [[org.clojure/clojure \"1.5.1\"]\n [compojure \"1....
clojure
chosen
[ { "from": "system", "value": "Upgrade Clojure and ClojureScript dependencies\n" }, { "from": "human", "value": "(defproject cats \"0.5.0-SNAPSHOT\"\n :description \"Category Theory abstractions for Clojure\"\n :url \"https://github.com/funcool/cats\"\n :license {:name \"BSD (2 Clause)\"\n ...
clojure
chosen
[ { "from": "system", "value": "Enable running via ring for dev\n" }, { "from": "human", "value": "(defproject clj-gamification \"0.1.0-SNAPSHOT\"\n :description \"FIXME: write description\"\n :url \"http://example.com/FIXME\"\n :dependencies [[org.clojure/clojure \"1.5.1\"]\n [...
clojure
chosen
[ { "from": "system", "value": "Prepare for next development iteration (0.1.4-SNAPSHOT)\n" }, { "from": "human", "value": "(defproject jungerer \"0.1.3\"\n :description \"Clojure network/graph library wrapping JUNG\"\n :url \"https://github.com/totakke/jungerer\"\n :license {:name \"The BSD 3-C...
clojure
chosen
[ { "from": "system", "value": "Change version number to 0.1.9-SNAPSHOT\n" }, { "from": "human", "value": "(defproject io.aviso/twixt \"0.1.9\"\n :description \"An extensible asset pipeline for Clojure web applications\"\n :url \"https://github.com/AvisoNovate/twixt\"\n :license {:name \"Apache...
clojure
chosen
[ { "from": "system", "value": "Prepare for next release cycle.\n" }, { "from": "human", "value": "(defproject onyx-app/lein-template \"0.8.2.1\"\n :description \"Onyx Leiningen application template\"\n :url \"https://github.com/onyx-platform/onyx-template\"\n :license {:name \"Eclipse Public L...
clojure
chosen
[ { "from": "system", "value": "Modify to use release version `clj-sub-command`\n" }, { "from": "human", "value": "(defproject cljam \"0.1.0-SNAPSHOT\"\n :description \"A DNA Sequence Alignment/Map (SAM) library for Clojure\"\n :url \"http://example.com/FIXME\"\n :license {:name \"Eclipse Publi...
clojure
chosen
[ { "from": "system", "value": "Prepare for next release cycle.\n" }, { "from": "human", "value": "(defproject onyx-app/lein-template \"0.14.0.0\"\n :description \"Onyx Leiningen application template\"\n :url \"https://github.com/onyx-platform/onyx-template\"\n :license {:name \"MIT License\"\n...
clojure
chosen
[ { "from": "system", "value": "Prepare for next release cycle.\n" }, { "from": "human", "value": "(defproject org.onyxplatform/onyx-peer-http-query \"0.10.0.0-beta2\"\n :description \"An Onyx health and query HTTP server\"\n :url \"https://github.com/onyx-platform/onyx-peer-http-query\"\n :lic...
clojure
chosen
[ { "from": "system", "value": "Update Ring dependency to 1.6.0-beta4\n" }, { "from": "human", "value": "(defproject compojure \"1.5.1\"\n :description \"A concise routing library for Ring\"\n :url \"https://github.com/weavejester/compojure\"\n :license {:name \"Eclipse Public License\"\n ...
clojure
chosen
[ { "from": "system", "value": "Update to latest Jade4J\nJade4J now available from Maven Central\n" }, { "from": "human", "value": "(defproject io.aviso/twixt \"0.1.6\"\n :description \"An extensible asset pipeline for Clojure web applications\"\n :url \"https://github.com/AvisoNovate/twixt\"\n ...
clojure
chosen
[ { "from": "system", "value": "Bump to 0.3.0-SNAPSHOT for forward development.\n\n[ci skip]\n" }, { "from": "human", "value": "(defproject me.frmr.tools/dstt \"0.2.0\"\n :description \"Damn Simple Test Tool, a simple and rudamentary load testing library.\"\n :url \"https://github.com/farmdawgna...
clojure
chosen
[ { "from": "system", "value": "Prepare for next release cycle.\n" }, { "from": "human", "value": "(defproject onyx-app/lein-template \"0.13.0.0-beta1\"\n :description \"Onyx Leiningen application template\"\n :url \"https://github.com/onyx-platform/onyx-template\"\n :license {:name \"MIT Licen...
clojure
chosen
[ { "from": "system", "value": "Add Clojure 1.8 profile for testing\n" }, { "from": "human", "value": "(defproject prismatic/fnhouse \"0.2.2-SNAPSHOT\"\n :description \"Transform lightly-annotated functions into a full-fledged web service\"\n :license {:name \"Eclipse Public License - v 1.0\"\n ...
clojure
chosen
[ { "from": "system", "value": "Fix lein version in dep dependencies and use `:inline-dep`\n\ninstead of `:source-dep`\n" }, { "from": "human", "value": "(defproject thomasa/mranderson \"0.5.2-SNAPSHOT\"\n :description \"Dependency inlining and shadowing tool.\"\n :url \"https://github.com/bened...
clojure
chosen
[ { "from": "system", "value": "Update clojurescript, core.async and remove figwheel config.\n" }, { "from": "human", "value": "(defproject tetris \"0.1.0-SNAPSHOT\"\n :description \"Tetris implementation in ClojureScript.\"\n :url \"http://tetris.temochka.com/\"\n :license {:name \"Eclipse Pub...
clojure
chosen
[ { "from": "system", "value": "Add midje plugin to dev profile\n" }, { "from": "human", "value": "(defproject d-cent \"0.0.1-SNAPSHOT\"\n :description \"Cool new project to do things and stuff\"\n :dependencies [[org.clojure/clojure \"1.4.0\"]]\n :profiles {:dev {:dependencies [[midje \"1.5.1\...
clojure
chosen
[ { "from": "system", "value": "Update Medley dependency to latest version 0.3.0\n" }, { "from": "human", "value": "(defproject io.aviso/rook \"0.1.10-SNAPSHOT\"\n :description \"Ruby on Rails-style resource mapping for Clojure/Compojure web apps\"\n :url \"https://github.com/AvisoNovate/rook\"\...
clojure
chosen
[ { "from": "system", "value": "Test against multiple Clojure versions.\n" }, { "from": "human", "value": "(defproject protobuf \"0.6.1-beta2\"\n :description \"Clojure-protobuf provides a clojure interface to Google's protocol buffers.\"\n :license {:name \"Eclipse Public License\"\n ...
clojure
chosen
[ { "from": "system", "value": "Update dependency org.onyxplatform/onyx to version 0.7.3-20150828_160954-g51b5cf8.\n\nAutomatic commit by lein-traffic-control.\n" }, { "from": "human", "value": "(defproject org.onyxplatform/onyx-kafka \"0.7.3-SNAPSHOT\"\n :description \"Onyx plugin for Kafka\"\n ...
clojure
chosen
[ { "from": "system", "value": "Update to be inline with Precipice\n" }, { "from": "human", "value": "(defproject net.uncontended/beehive \"0.6.0-SNAPSHOT\"\n :description \"Beehive is a Clojure facade for the Precipice library.\"\n :url \"https://github.com/tbrooks8/Beehive\"\n :license {:name...
clojure
chosen
[ { "from": "system", "value": "Use re-seq to fix splitting up words in camel->kebab converter\n" }, { "from": "human", "value": "(ns app-macros.util.string\n (:require [clojure.string :as str]))\n\n(defn camel->kebab\n \"Converts from camel case (e.g. Foo or FooBar) to kebab case\n (e.g. foo ...
clojure
chosen
[ { "from": "system", "value": "Fix broadcast of new users\n" }, { "from": "human", "value": "(ns braid.server.events\n (:require\n [braid.server.db :as db]\n [braid.server.db.group :as group]\n [braid.server.db.thread :as thread]\n [braid.server.db.user :as user]\n [braid.server.s...
clojure
chosen
[ { "from": "system", "value": "Rework site-dev to allow running network tests\n" }, { "from": "human", "value": "(ns comic-reader.site-dev\n (:require [clojure.java.io :refer [as-file resource]]\n [clojure.test :refer [run-tests]]\n [clojure.tools.namespace.repl :refer [ref...
clojure
chosen
[ { "from": "system", "value": "Load protocol specs as needed from resources\n\nDon't keep protocol specs in memory all the time. Load them when\nneeded from resources.\n" }, { "from": "human", "value": "(ns clj-chrome-devtools.protocol-definitions\n \"Loads CDP protocol definition JSON files for...
clojure
chosen
[ { "from": "system", "value": "Create a grid of lights\n" }, { "from": "human", "value": "(ns solver.core\n (:gen-class))\n\n(defn -main\n \"I don't do a whole lot ... yet.\"\n [& args]\n (println \"Hello, World!\"))\n" }, { "from": "gpt", "value": "(ns solver.core\n (:gen-class)...
clojure
chosen
[ { "from": "system", "value": "Tidy using statements in unit tests\n\nRather than (:use [a]) (:use [b]) use (:use [a] [b])\n" }, { "from": "human", "value": "(ns {{name}}.web_unit\n (:use [{{name}}.web])\n (:use [clojure.test])\n (:use midje.sweet))\n\n\n(defn request [method resource]\n (rou...
clojure
chosen
[ { "from": "system", "value": "Use a macro for generating proc-fns and print the resulting output.\n" }, { "from": "human", "value": ";;;\n;;; Copyright 2015 Ruediger Gad\n;;;\n;;; This software is released under the terms of the Eclipse Public License \n;;; (EPL) 1.0. You can find a copy o...
clojure
chosen
[ { "from": "system", "value": "Comment runner to verify circle ci errors\n" }, { "from": "human", "value": "(ns discuss.tests\n \"Test runner to execute all tests.\"\n (:require [doo.runner :refer-macros [doo-tests]]\n [discuss.components.clipboard-test]\n [discuss.referen...
clojure
chosen
[ { "from": "system", "value": "Allow addition of defrecords to Isla env.\n\n* These define 'types' that may be instantiated with `thing is a thingy`.\n* This instantiation creates the record for that type (which has slots and maybe methods)." }, { "from": "human", "value": "(ns isla.library\n (:...
clojure
chosen
[ { "from": "system", "value": "Revert to starting swank conditionally, when the CIRCLE_SWANK env variable is set\n" }, { "from": "human", "value": "(ns circle.init\n (:require circle.env) ;; env needs to be loaded before any circle source files containing tests \n (:require circle.swank)\n (:r...
clojure
chosen
[ { "from": "system", "value": "Revert \"Use apply str instead of join\"\n\nThis reverts commit 25517ae46d3f370137f1bcc871d646f8a02c743c.\n" }, { "from": "human", "value": "(ns github-changelog.util\n (:require [clojure.string :refer [ends-with?]]))\n\n(defn str-map [f & sqs] (apply str (apply ma...
clojure
chosen
[ { "from": "system", "value": "Add some logging to startup.\n" }, { "from": "human", "value": "(ns kixi.event.producer\n (:require [clj-kafka.core :as kafka]\n [clj-kafka.producer :as p]\n [kixi.event.zookeeper :as zk]\n [clojure.tools.logging :as log]\n [c...
clojure
chosen
[ { "from": "system", "value": "Add unless macro examples (7.1.2)\n" }, { "from": "human", "value": "(ns clojure-walkthrough.cjia.ch07-xx)\n; 7.1: Macro basic\n\n; 7.1.1: Textual substitution\n\n(def a-ref (ref 0))\n\n(dosync\n (ref-set a-ref 1)) ; 1\n\n;; You could implement this using the macros...
clojure
chosen
[ { "from": "system", "value": "Add Schema to dev def. Perf profile\n" }, { "from": "human", "value": "(defproject metosin/spec-tools \"0.1.0-SNAPSHOT\"\n :description \"Common utilities for clojure.spec\"\n :url \"https://github.com/metosin/spec-tools\"\n :license {:name \"Eclipse Public Licen...
clojure
chosen
[ { "from": "system", "value": "Add Clojure 1.5 profile and repositories.\n" }, { "from": "human", "value": "(defproject stencil \"0.3.0\"\n :description \"Mustache in Clojure\"\n :dependencies [[org.clojure/clojure \"1.3.0\"]\n [scout \"0.1.0\"]\n [quoin \"0.1.0\...
clojure
chosen
[ { "from": "system", "value": "Upgrade clj-auth to 2.0.1, fixes basic auth for user\n" }, { "from": "human", "value": "(defproject cider-ci_storage \"2.0.0\"\n :description \"Cider-CI Storage\"\n :license {:name \"GNU AFFERO GENERAL PUBLIC LICENSE Version 3\"\n :url \"http://www.gnu....
clojure
chosen
[ { "from": "system", "value": "Prepare for next release cycle.\n" }, { "from": "human", "value": "(defproject org.onyxplatform/onyx-metrics \"0.8.1.0-alpha9\"\n :description \"Instrument Onyx workflows\"\n :url \"https://github.com/MichaelDrogalis/onyx\"\n :license {:name \"Eclipse Public Lice...
clojure
chosen
[ { "from": "system", "value": "Add first test for services and transaction log.\n" }, { "from": "human", "value": "(ns uxbox.tests.test-txlog\n \"A txlog and services abstraction generic tests.\"\n (:require [clojure.test :as t]\n [uxbox.tests.helpers :as th]))\n\n(t/use-fixtures :ea...
clojure
chosen
[ { "from": "system", "value": "Refactor user-join-group! event to just user user-join-group-txn\n" }, { "from": "human", "value": "(ns braid.server.events\n (:require\n [braid.server.db :as db]\n [braid.server.db.group :as group]\n [braid.server.db.thread :as thread]\n [braid.server....
clojure
chosen
[ { "from": "system", "value": "Add login operation to API\n" }, { "from": "human", "value": "(ns madouc.handlers.api\n (:require [ring.util.http-response :as http-resp]\n [compojure.api.sweet :refer :all]\n [madouc.db :as db]))\n\n(defapi handler-old\n (context \"/api\" []...
clojure
chosen
[ { "from": "system", "value": "Update Ring-Codec dependency to 1.1.3\n" }, { "from": "human", "value": "(defproject ring/ring-core \"1.9.0\"\n :description \"Ring core libraries.\"\n :url \"https://github.com/ring-clojure/ring\"\n :scm {:dir \"..\"}\n :license {:name \"The MIT License\"\n ...
clojure
chosen
[ { "from": "system", "value": "Add sonartype snapshot repo, as [org.clojure/core.rrb-vector \"0.0.9\"] throws ArrayOutOfBoundsException whereas 0.0.10-SNAPSHOT doesn't" }, { "from": "human", "value": "(defproject rm-hull/wireframes \"0.0.1\"\n :description \"A lightweight 3D wireframe renderer f...
clojure
chosen
[ { "from": "system", "value": "Handle web requests asynchronously using Aleph and core.async\n" }, { "from": "human", "value": "(ns clstreams.webapi\n (:require [bidi.ring :as bidi]\n [clstreams.webapi.component :refer [new-aleph]]\n [ring.middleware.json :refer [wrap-json-...
clojure
chosen
[ { "from": "system", "value": "Add proper roles for tab elements\n" }, { "from": "human", "value": "(ns my-money.components.tab-bar\n (:require [clojure.string :as string]\n [my-money.app.controller.events :as ec]))\n\n(defn tab [e! active-value value type]\n [:label.btn.btn-primary\...
clojure
chosen
[ { "from": "system", "value": "Fix error from remote read when key not found\n" }, { "from": "human", "value": "(ns chatom.parser\n (:require [om.next.server :as om])\n (:refer-clojure :exclude [read]))\n\n(defn dispatch [_ k _] k)\n\n(defmulti read dispatch)\n\n(defmulti mutate dispatch)\n\n(d...
clojure
chosen
[ { "from": "system", "value": "Move sequence realization to with-open\n" }, { "from": "human", "value": "(ns hu.ssh.github-changelog.dependencies.bundler\n (:require\n [clojure.string :refer [split-lines]]\n [clojure.java.io :as io]))\n\n(defn- get-specs [reader]\n (->> (line-seq reader)\...
clojure
chosen
[ { "from": "system", "value": "Add a 'render fn for deftemplate --> strings.\n\nThis keeps liberator happier.\n" }, { "from": "human", "value": "(ns aspire.templates\n (:require [net.cgrand.enlive-html :as en]\n [hiccup.core :as hc]))\n\n(en/deftemplate index \"public/index.html\"\n ...
clojure
chosen
[ { "from": "system", "value": "Remove obsolete condition, already guarded by an assert." }, { "from": "human", "value": "(ns decl-ui.reader-tags\n (:require [decl-ui.callbacks :as callbacks]\n [decl-ui.bindings :refer [IUnresolvedBinding]]\n [reagent.ratom :refer [cursor]])...
clojure
chosen
[ { "from": "system", "value": "Add reflections as a dependency\n\nAnd update boot dep\n" }, { "from": "human", "value": "(set-env!\n :source-paths #{\"src\"}\n :dependencies '[[org.clojure/clojure \"1.6.0\" :scope \"provided\"]\n [boot/core \"2.0.0-rc12\" :scope \...
clojure
chosen
[ { "from": "system", "value": "Extend repo fn with 2-arity version" }, { "from": "human", "value": "(ns hu.ssh.github-changelog\n (:require\n [environ.core :refer [env]]\n [tentacles.core :as core]\n [tentacles.repos :as repos]\n [tentacles.pulls :as pulls]\n [clj-semver.core :as ...
clojure
chosen
[ { "from": "system", "value": "Prepare for next release cycle.\n" }, { "from": "human", "value": "(defproject onyx-app/lein-template \"0.9.7.0-alpha20\"\n :description \"Onyx Leiningen application template\"\n :url \"https://github.com/onyx-platform/onyx-template\"\n :license {:name \"MIT Lice...
clojure
chosen
[ { "from": "system", "value": "Add create-buffer and create-buffer-source to audio-utils.web-audio\n" }, { "from": "human", "value": "(ns audio-utils.web-audio)\n\n(defn audio-context []\n (or (new js/window.AudioContext)\n (new js/window.webkitAudioContext)))\n" }, { "from": "gpt",...
clojure
chosen
[ { "from": "system", "value": "Add github link to footer\n" }, { "from": "human", "value": "; @title default title\n; @format html5\n\n[:head\n [:meta {:charset (:charset site)}]\n [:meta {:name \"viewport\"\n :content \"width=device-width, initiali-scale=1.0, user-scalable=yes\"}]\n\...
clojure
chosen
[ { "from": "system", "value": "Add a test to see if things are URIs\n" }, { "from": "human", "value": "(ns icecap.handlers.http-test\n (:require [clojure.core.async :as a]\n [manifold.deferred :as d]\n [icecap.handlers.core :refer [execute]]\n [icecap.schema :ref...
clojure
chosen
[ { "from": "system", "value": "Test should not chekcs collection order\n" }, { "from": "human", "value": "(ns carambar.cache-test\n (:require [midje.sweet :refer :all]\n [carambar.cache :refer :all]))\n\n\n(fact (add-entry {:name \"/path/test.jar\" :values []}) => (contains {:name \"/...
clojure
chosen
[ { "from": "system", "value": "Make migrations non verbose on tests.\n" }, { "from": "human", "value": "(ns uxbox.tests.helpers\n (:require [clojure.test :as t]\n [mount.core :as mount]\n [suricatta.core :as sc]\n [uxbox.persistence :as up]\n [uxbox....
clojure
chosen
[ { "from": "system", "value": "Change spec for node children.\n" }, { "from": "human", "value": "(ns evermind.domain.core\n (:require [clojure.spec.alpha :as s]\n [clojure.spec.gen.alpha :as gen]))\n\n(s/def ::node\n (s/keys :req-un []\n :opt-un [::parent ::children]))\n\n(s...
clojure
chosen
[ { "from": "system", "value": "Allow non ILifecycle components in defsystem\n" }, { "from": "human", "value": "(ns com.palletops.leaven\n \"A component composition library.\"\n (:require\n [com.palletops.leaven.protocols :as protocols\n :refer [ILifecycle IStatus]]))\n\n(defn start\n \"St...
clojure
chosen
[ { "from": "system", "value": "Make parent dir(s) when writing to a handle\n" }, { "from": "human", "value": "(ns grimoire.api.fs.write\n \"Filesystem datastore implementation of the Grimoire API.\"\n (:refer-clojure :exclude [isa?])\n (:require [grimoire.things :refer :all]\n [grim...
clojure
chosen
[ { "from": "system", "value": "Hide modal by ESC pressing.\n" }, { "from": "human", "value": "(ns hatnik.web.client.form\n (:require [om.core :as om :include-macros true]\n [om.dom :as dom :include-macros true]\n [hatnik.web.client.form-components :as widget]\n [...
clojure
chosen
[ { "from": "system", "value": "Allow tools.nrepl to be a transitive dep of wildfly lib [IMMUTANT-536]\n\nIt's in lein's :base profile, which results in its \"test\" scope in the\ngenerated pom unless we remove it.\n\nSee https://github.com/technomancy/leiningen/issues/1771\n" }, { "from": "human", ...
clojure
chosen
[ { "from": "system", "value": "Exit if all config vars not found\n" }, { "from": "human", "value": "(ns clojuredocs.main\n (:require [ring.adapter.jetty :as jetty]\n [aleph.http :as ah]\n [clojuredocs.env :as env]\n [clojuredocs.entry :as entry]\n [som...
clojure
chosen
[ { "from": "system", "value": "Bump major version due to move to shadow-cljs\n" }, { "from": "human", "value": "(defproject re-frame/lein-template \"0.3.24-SNAPSHOT\"\n :description \"Leiningen template for a Reagent web app that implements the re-frame pattern.\"\n :url \"https://github.com/Da...
clojure
chosen
[ { "from": "system", "value": "Prepare for next release cycle.\n" }, { "from": "human", "value": "(defproject onyx-app/lein-template \"0.9.10.0-beta7\"\n :description \"Onyx Leiningen application template\"\n :url \"https://github.com/onyx-platform/onyx-template\"\n :license {:name \"MIT Licen...
clojure
chosen
[ { "from": "system", "value": "Prepare for next release cycle.\n" }, { "from": "human", "value": "(defproject onyx-app/lein-template \"0.10.0.0-beta7\"\n :description \"Onyx Leiningen application template\"\n :url \"https://github.com/onyx-platform/onyx-template\"\n :license {:name \"MIT Licen...
clojure
chosen
[ { "from": "system", "value": "Use correct version of http-kit\n" }, { "from": "human", "value": "(defproject clj-tutorials \"0.1.0-SNAPSHOT\"\n :description \"FIXME: write description\"\n :url \"http://example.com/FIXME\"\n :license {:name \"Eclipse Public License\"\n :url \"http:/...
clojure
chosen
[ { "from": "system", "value": "Prepare for next release cycle.\n" }, { "from": "human", "value": "(defproject onyx-app/lein-template \"0.12.0.0-beta2\"\n :description \"Onyx Leiningen application template\"\n :url \"https://github.com/onyx-platform/onyx-template\"\n :license {:name \"MIT Licen...
clojure
chosen
[ { "from": "system", "value": "Update nippy dependency to 2.9.0\n" }, { "from": "human", "value": "(defproject buddy/buddy-sign \"0.6.0\"\n :description \"High level message signing for Clojure\"\n :url \"https://github.com/funcool/buddy-sign\"\n :license {:name \"Apache 2.0\"\n :ur...
clojure
chosen
[ { "from": "system", "value": "Update dependencies and version info.\n" }, { "from": "human", "value": ";(defproject cli4clj \"1.4.0\"\n(defproject cli4clj \"1.4.1-SNAPSHOT\"\n :description \"Create simple interactive CLIs for Clojure applications.\"\n :url \"https://github.com/ruedigergad/cli4...
clojure
chosen
[ { "from": "system", "value": "Move logging dependencies to :dev profile\n" }, { "from": "human", "value": "(defproject com.farmlogs.conduit \"0.1.0-SNAPSHOT\"\n :description \"FIXME: write description\"\n :url \"http://example.com/FIXME\"\n :license {:name \"Eclipse Public License\"\n ...
clojure
chosen
[ { "from": "system", "value": "Update lein cloverage patch version\n" }, { "from": "human", "value": "(defproject dependable \"0.1.0-SNAPSHOT\"\n :description \"Dependency resolution for the impatient.\"\n :url \"http://example.com/FIXME\"\n :license {:name \"Ecli...
clojure
chosen
[ { "from": "system", "value": "Update to most recent version of Clojure.\n" }, { "from": "human", "value": "(defproject inet.data \"0.5.2-SNAPSHOT\"\n :description \"Represent and manipulate various Internet entities as data.\"\n :url \"http://github.com/llasram/inet.data\"\n :license {:name \...
clojure
chosen
[ { "from": "system", "value": "Test stuff in REPL they said.\n" }, { "from": "human", "value": "(ns lambda-blog.templates.tags\n (:require [lambda-blog.templates.bits :refer [panel text-centered]]\n [lambda-blog.templates.page :refer [page]]\n [lambda-blog.utils :refer [pat...
clojure
chosen
[ { "from": "system", "value": "Update ClojureScript version to 1.7.28.\n" }, { "from": "human", "value": "(defproject {{name}} \"0.1.0-SNAPSHOT\"\n :description \"FIXME: write this!\"\n :url \"http://example.com/FIXME\"\n :dependencies [[org.clojure/clojure \"1.7.0\"]\n [org.cl...
clojure
chosen
[ { "from": "system", "value": "Add optional reference attributes for SAM.\n" }, { "from": "human", "value": "(ns cljam.io.sam.util.refs\n \"Utility functions for SAM references.\")\n(defn make-refs\n \"Return a reference sequence from the sam header.\"\n [hdr]\n (for [sq (:SQ hdr)]\n {:nam...
clojure
chosen
[ { "from": "system", "value": "Exclude `contains?` to avoid warnings\n" }, { "from": "human", "value": "(ns extracter.files\n (:require [clojure.java.io :as io]))\n\n(defn contains?\n [^java.util.regex.Pattern re ^String s]\n (boolean (re-find re s)))\n\n(defn fact?\n \"Returns true if the gi...
clojure
chosen
[ { "from": "system", "value": "Add tests for protocol-related stuff.\n\nCan't come up with a test that actually fails, but something in the\njiraph STM layer does fail.\n" }, { "from": "human", "value": "(ns useful.datatypes-test\n (:use clojure.test useful.datatypes))\n\n(defrecord Test [a b c]...
clojure
chosen
[ { "from": "system", "value": "Fix make-site-entry test for changed name of test site\n" }, { "from": "human", "value": "(ns comic-reader.site-scraper-test\n (:require [clojure.java.io :as io]\n [clojure.test :as t]\n [comic-reader.site-scraper :as sut])\n (:import comic_r...
clojure
chosen
[ { "from": "system", "value": "Fix documentation typo in content-type middleware\n" }, { "from": "human", "value": "(ns ring.middleware.content-type\n \"Middleware for automatically adding a content type to response maps.\"\n (:require [ring.util.mime-type :refer [ext-mime-type]]\n [...
clojure
chosen
[ { "from": "system", "value": "Return time elapsed as a float.\n" }, { "from": "human", "value": "(ns cmr.opendap.util)\n\n(defn bool\n [arg]\n (if (contains? #{true :true \"true\" \"TRUE\" \"t\" \"T\" 1} arg)\n true\n false))\n\n(defn remove-empty\n [coll]\n (remove #(or (nil? %) (empt...
clojure
chosen
[ { "from": "system", "value": "Set the default print function for tests in V8.\n" }, { "from": "human", "value": "(ns test-runner\n (:require [cljs.core-test :as core-test]\n [cljs.reader-test :as reader-test]\n [clojure.string-test :as string-test]))\n\n(core-test/test-stu...
clojure
chosen
[ { "from": "system", "value": "Bus: Add `subscribe-all' to receive *all* messages\n" }, { "from": "human", "value": "(ns pepa.bus\n (:require [com.stuartsierra.component :as component]\n [clojure.core.async :as async :refer [>!!]]))\n\n;;; pepa.bus is a simple application-wide notific...
clojure
chosen
[ { "from": "system", "value": "Extend protocols to google maps classes" }, { "from": "human", "value": "(ns gtfve.utils.google-maps\n (:require-macros [cljs.core.async.macros :refer [go go-loop]])\n (:require [cljs.core.async :as async :refer [put! chan <! close!]]))\n\n(defonce Maps google.map...
clojure
chosen
[ { "from": "system", "value": "Change ceiling test to be deterministic\n" }, { "from": "human", "value": "(ns backtype.storm.util-test\n (:import [backtype.storm Config])\n (:import [backtype.storm.utils Utils])\n (:import [com.netflix.curator.retry ExponentialBackoffRetry])\n (:use [backtype...
clojure
chosen
[ { "from": "system", "value": "Remove clojure 1.5 and 1.6 proofiles from tests.\n\nBecause of test.check.\n" }, { "from": "human", "value": "{:dev\n {:aliases {\"test-all\" [\"with-profile\" \"dev,1.7:dev,1.6:dev,1.5:dev\" \"test\"]}\n :dependencies [[com.nimbusds/nimbus-jose-jwt \"4.13.1\"]]\n\...
clojure
chosen
[ { "from": "system", "value": "Add test under clojure 1.8\n" }, { "from": "human", "value": "{:dev\n {:dependencies [[org.clojure/tools.namespace \"0.2.11\"]\n [criterium \"0.4.3\"]]\n :source-paths [\"dev\"]\n :codeina {:sources [\"src\"]\n :reader :clojure\n ...
clojure
chosen
[ { "from": "system", "value": "Make sure test fails if 1.x not available\n" }, { "from": "human", "value": "(ns xa.init\n (:require [immutant.xa :as xa]\n [immutant.web :as web]\n [clojure.java.jdbc :as sql]))\n\n(defonce ds (xa/datasource \"foo\" {:adapter \"h2\" :database...
clojure
chosen
[ { "from": "system", "value": "Fix movement of test entity\n" }, { "from": "human", "value": "(ns chocolatier.engine.entities\n ;; NOTE to use protocols from another ns, import them explicitely by\n ;; name and not their methods\n ;; Use them in this ns by refering to the name\n (:require [ch...
clojure
chosen
[ { "from": "system", "value": "Add some ajax functions that need to be tested.\n" }, { "from": "human", "value": "(ns pp-client.util)\n\n;;------------------------------------------------------------------------------\n;; Util Functions\n;;---------------------------------------------------------...
clojure
chosen
[ { "from": "system", "value": "Remove session counter example for now.\n" }, { "from": "human", "value": "(ns demo.web\n (:require [clojure.pprint :refer [pprint]]\n [immutant.web :as web]\n [immutant.web.javax :as javax]\n [ring.middl...
clojure
chosen
[ { "from": "system", "value": "Update getting started example to use map resolvers\n" }, { "from": "human", "value": "(ns com.wsscode.pathom.book.connect.getting-started\n (:require [com.wsscode.pathom.core :as p]\n [com.wsscode.pathom.connect :as pc]\n [com.wsscode.pathom....
clojure
chosen
[ { "from": "system", "value": "Make the base page hiccup template better\n" }, { "from": "human", "value": "(ns comic-reader.server\n (:gen-class)\n (:require [comic-reader.sites :as sites]\n [comic-reader.scrape :as scrape]\n [ring.util.response :as response]\n ...
clojure
chosen