Files
ersatztv/scripts
timothy 4ce590662a docs(807): record what happens on a cyclic schema, measured both ways
The resolver has no cycle guard and that is deliberate, but the reasoning was
nowhere, so the next reader would either add a redundant guard or wonder.

Measured 2026-08-23:

- `_properties_and_required` raises `RecursionError` on a dict that contains
  itself by object identity. That input cannot come from `json.load` — JSON has
  no back-references — and the failure is a loud red rather than a silent wrong
  answer, so it needs no defence.
- The cycle a real document CAN express is a mutual `$ref`. `_request_reachable`
  handles it: A -> B -> A resolves to {A, B} and terminates, because of its
  `seen` set. This resolver never follows `$ref` at all, which is what makes the
  first case the only one available.

Stated where the recursion is, since "why is there no cycle guard here" is
answerable only by knowing both halves.
2026-08-23 01:36:32 +02:00
..
2024-01-15 10:29:07 -06:00
2024-01-16 13:28:46 -06:00