Repository navigation
Text keys, regional pruning, matrix keys, exchange formats and a field-ready wizard (0.3.0) - #13
Merged
Merged
Conversation
…d-ready wizard (0.3.0) Getting keys in and out - keyFromText()/parseTextKey() read keys written as plain text - pruneKey(), regionalKey() (GBIF or iNaturalist) and mergeKeys() - readSDD/writeSDD, readDELTA/writeDELTA, readLucid/writeLucid, readXper/writeXper and the SDD and Lucid key readers - keyToSpreadsheet() writes what keyFromSpreadsheet() reads Better keys - keyFromMatrix(): variable and unknown taxa go down both leads; character cost and season - vibrioKey() gains `variable` and defaults to "both" (92 couplets); vibrioMatrix() - generateTree() defaults to minsplit = 2, minbucket = 1, cp = 0 - keyQuality(), occurrenceWeights(); summary() reports mean and expected steps and efficiency Wizard - "I'm not sure", offline install (manifest and service worker), pick-any-character mode from a matrix, photo identification in the browser (photoModel) - order = "parsimony" is deprecated Photo keys - ONNX backend without PyTorch, saved embeddings, exportBrowserModel() - suggestSnigletNames() with claudeNamer() - inatPhotos(), benchmarkKey() and analysis/inat-benchmark Package - mecit(), keyFromMecit(), splitVariables() and simulateExpression() move to the companion package mecit; lme4, glmertree and partykit leave Suggests - License: GPL (>= 3) - R-CMD-check and coverage workflows replace .travis.yml - README claims checked against the code; webR page, codemeta.json, CONTRIBUTING.md, inst/CITATION and rOpenSci readiness notes Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
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.
Summary
Implements the roadmap recommendations and bumps the version to 0.3.0.
Getting keys in and out
keyFromText()/parseTextKey()read keys written as plain text (the classic "1a … 2 / 1b … Taxon" layouts, OCR repairs, an optionalllmfirst pass).pruneKey(),regionalKey()(GBIF or iNaturalist) andmergeKeys().keyToSpreadsheet()writes the CSV thatkeyFromSpreadsheet()reads.Better keys
keyFromMatrix(): variable and unknown taxa go down both leads;characterscarriesCost,SeasonandNeeds.keyQuality()andoccurrenceWeights();summary()reports mean steps, expected steps and efficiency.generateTree()now splits a one-row-per-taxon matrix by default.Wizard
offline = TRUE), a pick-any-character mode (matrix =), and photo identification in the browser (photoModel =).Photo keys
exportBrowserModel().suggestSnigletNames()withclaudeNamer().inatPhotos(),benchmarkKey()andanalysis/inat-benchmark.Package
.travis.yml.License: GPL (>= 3).webr/),codemeta.json,CONTRIBUTING.md,inst/CITATIONandropensci-readiness.md.Breaking changes
mecit(),keyFromMecit(),splitVariables()andsimulateExpression()are removed; they move to a companion package, mecit, which is not published yet.lme4,glmertreeandpartykitleave Suggests.vibrioKey()defaults tovariable = "both": 92 couplets instead of 73.vibrioKey(variable = "missing")returns the previous key.exportWizard(order = "parsimony")is deprecated.Testing
R CMD check --no-manualon the built tarball:Status: OK.CODECOV_TOKENrepository secret.Known gaps
model.jsonyet.keyFromMatrix()can put a very cheap, mostly-unknown character first and inflate the key.regionalKey(vibrioKey())fails because the vibrio labels are abbreviated.claudeNamer()is tested only against fake models; no request has been sent to the API.🤖 Generated with Claude Code