Version 8.8.0

All pages

Policy

The rules Solid Memo's code follows: public policy (none), published rules from outside the project, and the project's own rules, written as data the code checks.

No public policy applies

Solid Memo, a volunteer project, implements no law, regulation or government policy: no public organization built it, had it built or asked it to carry one out. If that changes, this page names the policy and the code that implements it. What the app does with personal data is in privacy.md.

Rules from outside the project

The code follows each rule below as published, or with the listed departures. The formats Solid Memo reads and writes are in standards.md.

RuleVersionPublished atImplemented inChecked by
SM-2, the SuperMemo 2 scheduling algorithm1990SuperMemosm2.ts (srs.md)sm2.test.ts, row by row against srs.md's worked examples
FSRS-6, the Free Spaced Repetition Scheduler6, as fsrs-rs v6.6.2Open Spaced Repetitionfsrs.ts (srs.md)fsrs.test.ts, row by row against srs.md's FSRS-6 worked examples, and against fsrs-rs's published test vectors
Unicode CLDR plural rulesthe browser's CLDRUnicode CLDRIntl.PluralRules in i18n.tsx (i18n.md)i18n.test.tsx: every plural message gives exactly its language's categories
BCP 47 language tagsRFC 5646, RFC 4647IETFlanguageTag.ts, locale.ts (vocab.md)languageTag.test.ts, locale.test.ts
Unicode normalization form CUAX #15Unicodethe deck library check and search (deck-library.md, search.ts)deckLibrary.test.ts, search.test.ts
DCAT-AP, the EU's profile of DCAT3.0.1SEMICthe vendored shapes in packages/lib/vocab/vendor/ (validation.md)npm run library:check, and the pySHACL cross-check in CI (shacl_crosscheck.py)

SM-2

Woźniak, P. A. (1990). Optimization of learning. Master's thesis, University of Technology in Poznań. SuperMemo publishes the description as Application of a computer to improve the results obtained in working with the SuperMemo method. Solid Memo uses the ease factor and interval formulas as published:

Its three recorded departures from the description:

The answer scales and a course's multiple-choice answers map onto the same grades, without changing the algorithm (srs.md).

FSRS-6

FSRS-6, by Jarrett Ye and the Open Spaced Repetition project, is described in The Algorithm. Solid Memo reimplements FSRS-6's formulas and 21 default parameters as the reference implementation, fsrs-rs v6.6.2 (BSD-3-Clause), gives them, copying no code. What FSRS-6 leaves to the app is fixed (srs.md):

CLDR plural rules

A plural message gives one form per plural category of its language ("1 card", "2 cards"). The Unicode CLDR plural rules set the categories and which numbers fall in each (by language). The app asks the browser's Intl.PluralRules instead of shipping them, so the CLDR version is the browser's. The tests use Node.js's copy; the journeys (strings.ts) pick each form in the browser they drive, as the app does.

The project's own rules

These rules are machine-readable data in this repository, beside the code that applies them.

RuleWhere it is writtenWhat applies it
The shape of every document in a pod and in the librarySHACL shapes in ns/shapes/ (shapes.md)the app in the browser and npm run library:check (rdf-validate-shacl), and pySHACL in CI (validation.md)
The meaning of every Solid Memo termthe vocabulary in ns/vocab/ (vocab.md)the constants generated from it, kept in step by npm run generate:check
What a library deck version must state, beyond the shapes: its place, series, publisher, previous version and licenselibraryRules.ts (deck-library.md)npm run library:check, and the Studio's check for the library
What the repository's library asks of a deck: a title, description and keywords in every language the app speaks (LIBRARY_LANGUAGES, from LOCALES in locale.ts), each card picture described in English and the card's other languages, the theme EDUCrepoPolicy in curationRules.tsthe Studio's check for the library; npm run library:check for the languages and picture descriptions of each deck's newest version, and the library deck shapes for the rest
What a page may load and runthe Content Security Policy in apps/web/index.html (markdown.md)the browser; build.test.ts checks it

Every published version of a shape or deck is frozen: a change is a new version beside it (shapes.md, deck-library.md). A rule the published shapes don't state, such as a library deck version naming its license, goes into the library rules, not an edited shape.

No outside policy is based on this code; one that is would be based on the code in this repository.