Commit 24bb3e44 authored by Joachim Schunk's avatar Joachim Schunk
Browse files

use new calc-scheme in devcard

parent fccce89b
Pipeline #107173 passed with stages
in 2 minutes and 22 seconds
......@@ -8,6 +8,7 @@
[reagent.core :as reagent]))
(defonce exercise-data
;; data/calc-old-scheme
data/calc-exercise)
(defmethod ce-core/receive-options :calculation [element]
......
......@@ -410,7 +410,7 @@
:mcs2019-10-10T08-50-49-G__182
{:number {:significand "9.0000", :order-of-magnitude "0"}}}}))
(def calc-exercise
(def calc-old-scheme
(reagent/atom {:title "Zweifache Aufgabe",
:id "20180605T153201-atom54218"
:type :exercise,
......@@ -444,6 +444,41 @@
:correct-points 2,
:incorrect-points 0}]}}))
(def calc-exercise
(reagent/atom {:title "Zweifache Aufgabe",
:id "20180605T153201-atom54218",
:type :exercise,
:core
{:shuffled true,
:with-oom true,
:with-units true,
:type :calculation,
:task-description
[{:id "ce2018-06-05T13-28-36-G__55",
:value "Zweifache Aufgabe",
:type :heading,
:section "6"}
{:id "ce2018-06-05T13-28-58-G__60",
:value
"<p>Berechnen Sie 1. etwas mit dem Ergebnis $§5 \\, m \\Omega§$ ... und 2. mit dem Ergebnis $§3 \\cdot 10^{1} \\, \\mu g^{2}§$!</p>",
:type :section}],
:calculations
[{:id "ae2018-06-05T13-30-36-G__69",
:name "calc_1",
:number {:significand "5", :order-of-magnitude "0"},
:units [{:prefix "m", :unit "Ω", :expo "1"}],
:correct-points 2,
:incorrect-points 0,
:error-relative 1}
{:id "ae2018-06-05T13-31-29-G__79",
:name "calc_2",
:number {:significand "3", :order-of-magnitude "1"},
:units [{:prefix "µ", :unit "g", :expo "2"}],
:correct-points 2,
:incorrect-points 0,
:error-relative 1}]},
:_schemas {:exercise-calculation "20220124-01-initial-version"}}))
(def simpletext-exercise-words
(reagent/atom
{:type :exercise
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment