Skip to content

Correct the README's install and HPO instructions, and the citation metadata - #23

Merged
ludgerpaehler merged 1 commit into
mainfrom
docs/readme-fixes
Oct 11, 2026
Merged

ludgerpaehler merged 1 commit into
mainfrom
docs/readme-fixes

Conversation

@ludgerpaehler

Copy link
Copy Markdown
Collaborator

Summary

A pass over README.md and CITATION.cff after #15–#22.

README

  • The setup never showed the clone command, and cd koopman-rl names the wrong directory: the repository clones as KoopmanRL.
  • uv venv --python 3.10 && uv venv recreated .venv a second time. It now activates the environment instead.
  • HPO examples: as written they could not finish on another machine.
    • --storage_dir defaults to /home/lpaehler/..., and the best configuration is written there only at the end of the study (skvi_optuna_opt.py:126, sakc_optuna_opt.py:114).
    • --cpu_cores_per_trial defaults to 28, and Ray cannot schedule a trial that asks for more cores than the machine has.
    • The examples now set both flags, and a sentence explains why.
  • SAKC is now named as in the code and configurations/: Soft Actor Koopman-Critic.
  • Added: a link to the documentation site, koopmanrl.koopman_tensor.generate_tensor with --regressor, the three reproduction JSON files in configurations/, and a Citation section for arXiv:2403.02290 (title and authors checked against arXiv).

CITATION.cff

  • Wen Sun's given and family names were swapped, in both places.
  • url pointed to github.com/dynamicslabs/... (a typo). It now points to the documentation site.
  • The file was invalid against the CFF 1.2.0 schema (references[0].journal was {name: tbd}), which breaks GitHub's "Cite this repository". The reference now cites the arXiv preprint.

Not in this PR

  • The hard-coded default --storage_dir in koopmanrl/{skvi,sakc}_optuna_opt.py is a code issue. This PR only documents how to work around it.
  • The docs site, the reproduction guides and the AGENTS.md files get their own PRs.

Test plan

  • Every command shown: uv run -m <module> --help resolves, and the flags exist.
  • uvx --from cffconvert cffconvert --validate: valid. It failed before this change.
  • uv run pre-commit run --files README.md CITATION.cff

🤖 Generated with Claude Code

…etadata

README:
* Show the clone command; the clone directory is KoopmanRL, not koopman-rl.
* `uv venv --python 3.10 && uv venv` created the environment twice;
  activate it instead.
* The HPO examples could not finish elsewhere: --storage_dir defaults to a
  path on the authors' machine, where the best configuration is written at
  the end of the study, and --cpu_cores_per_trial defaults to 28, which Ray
  cannot schedule on a smaller machine. The examples now set both.
* Name SAKC as the package does (Soft Actor Koopman-Critic), link the
  documentation site, list generate_tensor and its --regressor option, and
  mention the three reproduction JSON files in configurations/.
* Add a Citation section (arXiv:2403.02290).

CITATION.cff:
* Wen Sun's given and family names were swapped (twice).
* `url` pointed to github.com/dynamicslabs (typo); it now points to the
  documentation site.
* The paper reference failed schema validation (`journal` must be a
  string); it now cites the arXiv preprint. `cffconvert --validate` passes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ludgerpaehler
ludgerpaehler merged commit a510fab into main Oct 11, 2026
2 checks passed
@ludgerpaehler
ludgerpaehler deleted the docs/readme-fixes branch October 11, 2026 05:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant