Repository navigation
docs(readme): purge em/en-dashes from prose - #17
Merged
Merged
Conversation
Replace U+2014 em-dashes and one U+2013 en-dash in README prose with colons, commas, or parentheses. Code and CLI examples are untouched; fork-hygiene files (LICENCE.md, README_upstream.md, CHANGES.md) are not modified.
numpy's 2.x type stubs use the PEP 695 `type` statement, which mypy
rejects under `python_version = "3.10"` ("Type statement is only
supported in Python 3.12 and greater"), failing the Lint job. mypy is
already at the latest stable (2.x), so bumping the pin does not help;
the target version is what drives stub parsing. The package nominally
declares `requires-python = ">=3.9"`, but its numpy floor already
requires a modern interpreter, and CI lints on 3.12, so targeting 3.12
matches the real runtime without losing the import-and-syntax gate.
frapercan
added a commit
that referenced
this pull request
Jun 24, 2026
Makes cafaeval CI green by aligning it to the Python the project actually uses. ## Change - CI matrix `["3.10", "3.11", "3.12"]` -> `["3.12"]`. - `requires-python` `>=3.9` -> `>=3.12` (the PROTEA stack is py3.12; consistent with the mypy target set in #17). ## Why (parity context) The red check was `Tests + parity (py3.10)`, failing at `actual.index.equals(expected.index)` with **56 vs 56 rows**, i.e. a row-**order** difference before any value comparison, caused by unpinned pandas/numpy resolving differently on py3.10. It is **not** a metric divergence: the parity suite is bit-/ULP-exact on py3.12 (verified locally, 0 hard failures), which is the only interpreter the stack runs on. No parity logic or pins were touched.
frapercan
added a commit
that referenced
this pull request
Jun 24, 2026
Promotes develop's sparse evaluation work to main so the branch PROTEA installs (`@main`) actually uses it. main had drifted: it only carried today's docs/CI commits (#17, #18) while the sparse perf landed on develop and was never promoted. ## Brings to main - **#16** `perf(eval)`: predictions stored as `scipy.sparse` CSR, never materialising the dense N x T matrix (11.9 -> 7.0 GB). - **#15** `perf(graph)`: sparse CSR GO DAG adjacency + O(1) `deque` topological sort (about 3x faster build, ~3x less RAM). ## Verified (py3.12, the only interpreter the stack uses) - ruff + mypy clean. - Parity suite `CAFAEVAL_PARITY_PHASE=B pytest tests/diff`: 7 passed, 6 xfailed, **0 hard failures** (the sparse path stays bit-/ULP-exact vs the dense fallback and the upstream oracle). ## Conflict resolution Only README.md conflicted (both branches edited the optimisation table): took develop's rows (they document the C1/C3 sparse kernels) and re-applied the em-dash purge from #17. pyproject auto-merged (`requires-python >=3.12` from #18 + the scipy/pyarrow sparse-era deps). Follow-up: bump PROTEA's `poetry.lock` cafaeval pin so the platform consumes this.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Style-only README polish (no framing changes).
Changes (line: old -> new)
(primary — always cite)->(primary: always cite)module granularity — see->module granularity, seeFmax, Smin, ... optimal thresholds-> wrapped in parenthesesFork (B1–B7)(U+2013 en-dash) ->Fork (B1-B7)inn_tau— moving->inn_tau: movingtest_oracle_parity.py —Afor->test_oracle_parity.py:AforScope
Verification