@cognivia/cli
v0.3.0
Published
Run Cognivia's learning diagnostics from the terminal. Point it at any learning or quiz app's answer export and get back the Learning Genome, per-item diagnosis, and a session report.
Maintainers
Readme
@cognivia/cli
Run Cognivia's learning diagnostics from a terminal or a data pipeline. Point it at any learning or quiz app's answer export and get back the Learning Genome and a session report.
npm i -g @cognivia/cli
cognivia diagnose --demo # bundled sample data, no key
cognivia diagnose --input answers.json # your export
cognivia memory-state <learnerId> # hosted API (needs COGNIVIA_API_KEY)
cognivia report <learnerId> # a learner's stored state as a readable report
cognivia content items --input items.json # item -> misconception maps
cognivia content prerequisites --input pre.json # concept -> prerequisite mapscontent maps sharpen diagnose on your own items and concepts; they need a
self-serve live key. items.json: [{ item_ref, distractors: { "wrong option": "misconception" } }].
pre.json: [{ concept, requires: ["prerequisite concept"] }].
With COGNIVIA_API_KEY set it calls the hosted API; otherwise it computes locally.
MIT · Manik Maurya
