Repository navigation
Conversation
- tests/test_csv2sef.py: unit tests for headers, conversions, historical notation (caves, below scale, trace), flags, aliases, long layout, database exports, the Halifax example and the metadata template (PTC/PGC, alias and unit_change lines). - tests/known_values.csv + test_known_values.py: 134 conversions checked against published factors and tables (List 1966, WMO). Rows marked to_check (Beaufort and Smithsonian equivalents) are reported, not failed, until the expected values are confirmed; a crash always fails. Run `python tests/test_known_values.py --report` for a row-by-row table. - tools/coverage_report.py: lists conversions with no test. - .github/workflows/tests.yml: installs csv2sef, runs the tests and converts the examples on every pull request and push to main (Python 3.14). - Require cdrutilities >= 1.0.2 (Paris inches and clearness-of-sky fix). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CC13ToxZ7NuJEZJX9urApc
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.
notation (caves, below scale, trace), flags, aliases, long layout, database
exports, the Halifax example and the metadata template (PTC/PGC, alias and
unit_change lines).
against published factors and tables (List 1966, WMO). Rows marked
to_check (Beaufort and Smithsonian equivalents) are reported, not failed,
until the expected values are confirmed; a crash always fails.
Run
python tests/test_known_values.py --reportfor a row-by-row table.the examples on every pull request and push to main (Python 3.14).
Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01CC13ToxZ7NuJEZJX9urApc