Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
module-kit
command
Command module-kit is the authors' CLI of NovaTrail's module format: check checks a module, and warns of a picture that is not opaque; check-course checks a course; build builds a module's package as files; index builds the module index of a release of modules; diff compares a new version of a module with the published ones; and open writes the open views of a release of modules for the page of samples of canvas, all by the library of this module.
|
Command module-kit is the authors' CLI of NovaTrail's module format: check checks a module, and warns of a picture that is not opaque; check-course checks a course; build builds a module's package as files; index builds the module index of a release of modules; diff compares a new version of a module with the published ones; and open writes the open views of a release of modules for the page of samples of canvas, all by the library of this module. |
|
Package course reads a course of the module format and checks it as the format says: the file by the YAML rules, the format version it names, its schema and the rule of its grades.
|
Package course reads a course of the module format and checks it as the format says: the file by the YAML rules, the format version it names, its schema and the rule of its grades. |
|
internal
|
|
|
canonical
Package canonical writes the canonical text of a JSON value — of a package, a module index and an open view — and stops with an error on a value the format cannot hold.
|
Package canonical writes the canonical text of a JSON value — of a package, a module index and an open view — and stops with an error on a value the format cannot hold. |
|
formattree
Package formattree knows the layout of the folder of the module format, spec.Format: where its examples and test vectors lie, of which kind each case is, what a case folder holds, and which folders are laid out as a module and which files are files of a part on their own, as the format text lays them out.
|
Package formattree knows the layout of the folder of the module format, spec.Format: where its examples and test vectors lie, of which kind each case is, what a case folder holds, and which folders are laid out as a module and which files are files of a part on their own, as the format text lays them out. |
|
normal
Package normal normalizes a text as the check kinds of the module format and its leak check do, and reads a number in the notation that a kind takes: the steps 1 to 7 of a number and the units of step 6, the normal form of a choice of either notation, a time by its hours and minutes, and a number in notation as an exact rational.
|
Package normal normalizes a text as the check kinds of the module format and its leak check do, and reads a number in the notation that a kind takes: the steps 1 to 7 of a number and the units of step 6, the normal form of a choice of either notation, a time by its hours and minutes, and a number in notation as an exact rational. |
|
random
Package random is the generator of the format and its places of randomness, written from the constants of the format's text rather than taken from math/rand/v2, with an error on an argument outside a function's domain.
|
Package random is the generator of the format and its places of randomness, written from the constants of the format's text rather than taken from math/rand/v2, with an error on an argument outside a function's domain. |
|
sandbox
Package sandbox runs the Starlark of the format — the predicate of a check, the expressions of a template and its solver — in go.starlark.net at the version the format names, in its one dialect, with the format's limits of steps and module-kit's clocks, on the caller's goroutine and with its context.
|
Package sandbox runs the Starlark of the format — the predicate of a check, the expressions of a template and its solver — in go.starlark.net at the version the format names, in its one dialect, with the format's limits of steps and module-kit's clocks, on the caller's goroutine and with its context. |
|
schema
Package schema checks a value against the JSON Schema 2020-12 schemas of the format version the library reads, reporting every keyword that fails with its place, and builds the open view of a value from the marks x-open in the same schemas.
|
Package schema checks a value against the JSON Schema 2020-12 schemas of the format version the library reads, reporting every keyword that fails with its place, and builds the open view of a value from the marks x-open in the same schemas. |
|
semver
Package semver reads a version of a module, X.Y.Z, and orders two of them by Semantic Versioning 2.0.0, as the format writes a version: three decimal numerals with no leading zero, and no pre-release and no build metadata.
|
Package semver reads a version of a module, X.Y.Z, and orders two of them by Semantic Versioning 2.0.0, as the format writes a version: three decimal numerals with no leading zero, and no pre-release and no build metadata. |
|
vectors
Package vectors runs every example and test vector of the module format, spec.Format at the version go.mod requires, and the vectors of the observation and of the key of a task from paper, observation/v1/ and paper/v1/ of contracts.Vectors, against module-kit: an implementation that does not pass them does not conform.
|
Package vectors runs every example and test vector of the module format, spec.Format at the version go.mod requires, and the vectors of the observation and of the key of a task from paper, observation/v1/ and paper/v1/ of contracts.Vectors, against module-kit: an implementation that does not pass them does not conform. |
|
yaml
Package yaml reads a file of a module, YAML 1.2.2 under its Core schema, into a JSON value, and refuses a file that breaks a rule yaml.*, naming the rule and its place, or that is not YAML 1.2.2 at all.
|
Package yaml reads a file of a module, YAML 1.2.2 under its Core schema, into a JSON value, and refuses a file that breaks a rule yaml.*, naming the rule and its place, or that is not YAML 1.2.2 at all. |
|
Package leak finds the keys and the leak phrases of a task in a text: in the tutor's words before they reach the device, for api, and in the texts of a module that a learner sees before solving, for the check of a module, which holds task.no-leaks and lesson.no-leaks by it.
|
Package leak finds the keys and the leak phrases of a task in a text: in the tutor's words before they reach the device, for api, and in the texts of a module that a learner sees before solving, for the check of a module, which holds task.no-leaks and lesson.no-leaks by it. |
|
Package module reads an author's module and checks it as the module format says: its layout and the format version it names, each file by the YAML rules and against the schema of its part, and the format rules within each part, between parts and of the whole module — the tiers of the skill graph, the templates with every instance and solver, the leak check of the texts a learner sees before solving, and the page of a workbook.
|
Package module reads an author's module and checks it as the module format says: its layout and the format version it names, each file by the YAML rules and against the schema of its part, and the format rules within each part, between parts and of the whole module — the tiers of the skill graph, the templates with every instance and solver, the leak check of the texts a learner sees before solving, and the page of a workbook. |
|
Package moduleindex builds the module index of a release from the previous index, the release's packages, its tag and its withdrawals, refusing by the rules module-index.*; reads an index of any version of the format by the places every version keeps; and picks the version of a module for a new attempt: the newest by semver that is not withdrawn and lies in the format's window.
|
Package moduleindex builds the module index of a release from the previous index, the release's packages, its tag and its withdrawals, refusing by the rules module-index.*; reads an index of any version of the format by the places every version keeps; and picks the version of a module for a new attempt: the newest by semver that is not withdrawn and lies in the format's window. |
|
Package modulepackage builds the package of a checked module — its canonical view, the listing of its device part and its inventory, with their digests — and reads a package as files by the chain of digests from the digest an index gives: inventory, then parts, then files.
|
Package modulepackage builds the package of a checked module — its canonical view, the listing of its device part and its inventory, with their digests — and reads a package as files by the chain of digests from the digest an index gives: inventory, then parts, then files. |
|
Package moduleversion compares a new version of a module with its published ones: it finds the part of the version that the change asks for, by the format's table of changes and parts, and reports every change at its place.
|
Package moduleversion compares a new version of a module with its published ones: it finds the part of the version that the change asks for, by the format's table of changes and parts, and reports every change at its place. |
|
Package observation holds what module-kit does with an observation, novatrail.observation.v1: which one is valid, how the observations of two readers join into one, answer slot by answer slot, which verdict the observation gives with the options tapped beside it, and how the submission of an essay ends.
|
Package observation holds what module-kit does with an observation, novatrail.observation.v1: which one is valid, how the observations of two readers join into one, answer slot by answer slot, which verdict the observation gives with the options tapped beside it, and how the submission of an essay ends. |
|
Package openview builds the open view of a part of a module and of an instance of a template — what the learner's app receives: the part without its closed fields — from the marks x-open in the schemas of the format, and the digest of the open view of a task and of an instance.
|
Package openview builds the open view of a part of a module and of an instance of a template — what the learner's app receives: the part without its closed fields — from the marks x-open in the schemas of the format, and the digest of the open view of a task and of an instance. |
|
Package page lays out the page of a workbook: where each item of a task on a workbook stands, its number, the texts of its line and its boxes, in whole units of the page, from the items alone, by the numbers and the table of widths of format/page.yaml.
|
Package page lays out the page of a workbook: where each item of a task on a workbook stands, its number, the texts of its line and its boxes, in whole units of the page, from the items alone, by the numbers and the table of widths of format/page.yaml. |
|
Package paper is the key of a task from the learner's paper: the solver, which computes the answer of arithmetic and of an equation in one unknown from the formula AI read of the statement, exactly and without Starlark or the network; the rules an answer of AI holds before it is a key; and the item and the values by which the package observation judges the reading of the work against the key, as on a task of a module.
|
Package paper is the key of a task from the learner's paper: the solver, which computes the answer of arithmetic and of an equation in one unknown from the formula AI read of the statement, exactly and without Starlark or the network; the rules an answer of AI holds before it is a key; and the item and the values by which the package observation judges the reading of the work against the key, as on a task of a module. |
|
Package picture reads the pictures of a module for what the format asks of them but does not refuse: a picture SHOULD have an opaque background, and module-kit warns of one with a pixel that is not fully opaque.
|
Package picture reads the pictures of a module for what the format asks of them but does not refuse: a picture SHOULD have an opaque background, and module-kit warns of one with a pixel that is not fully opaque. |
|
Package template fills the templates of tasks: it counts the instances of a template, runs its solver on them, builds each one with its numbers, and picks the instance of an attempt from the attempt's seed.
|
Package template fills the templates of tasks: it counts the instances of a template, runs its solver on them, builds each one with its numbers, and picks the instance of an attempt from the attempt's seed. |
|
Package verdict gives the verdict of an answer slot and of an item on the values read in them, by the check kinds of the module format and their normalization, with the reason of a value that cannot be read and the trap of a wrong one.
|
Package verdict gives the verdict of an answer slot and of an item on the values read in them, by the check kinds of the module format and their normalization, with the reason of a value that cannot be read and the trap of a wrong one. |
Click to show internal directories.
Click to hide internal directories.