Skip to content

Rosetta 0.1.6

Choose a tag to compare

@Nataniel0212 Nataniel0212 released this 28 Oct 16:00
· 4 commits to main since this release

pip install --upgrade rosetta-eclab

Fix: a missing current is named I, not Ece

  • In the public files, impedance records and records with a potential set point hold the measured current I (202/202 and 319/320 distinct files). Where such a file names no current and only one column is missing, Rosetta now names a moving column I.
  • Outside impedance records this applies only to files without a dq, (Q-Qo) or Pwe column; with one, the current is checked by formula as before. A column whose size follows the time step is not named I: it may be the per-point charge dq, as in the one exception (galvani's bio_logic4.mpr).
  • Ece is ruled out there. It is also ruled out in impedance records without a counter-electrode impedance quantity: all 25 public impedance records with Ece have one.
  • If the column can be that missing current but I does not fit, Rosetta abstains instead of giving another name.
  • galvani knows the current in every public file, so outside --self-check this matters only if a format change hides it. The Ece rules also apply to a genuinely unknown column when it is the only one.

Fix: several unknown columns no longer all get the same name

  • With more than one unknown column, name elimination gave every one of them the name of the one missing sibling. In 12 recent public files with impedance steps, 47 unknown columns (THD, NSD and NSR Ece, energy columns and the real |Ece h7|) were all named |Ece h7| at confidence 0.9, and --self-check on them answered |Ece h7| for 361 of 594 hidden columns. 0.1.5 does the same.
  • Rules that infer a column from what the file lacks (name elimination, a single missing sibling, the missing current, the (Q-Qo) veto) now apply only when one column is unknown. In --self-check, elimination still names the slot that hiding a column opens, but never a gap the whole file already has.
  • On the 36 public files with columns galvani does not know, names that differ from the answer key fall from 43 to 17, and --self-check names 603 columns correctly instead of 325, with 90 wrong names instead of 502. The cost: of the 12 right |Ece h7| answers, 7 now get ABSTAIN and 5 get a wrong name (Pwe) from the statistics vote, at confidence 0.30–0.42.

Found on hold-out 7

  • With every column hidden in turn, <I> was the most common miss: it was named Ece 31 times and got ABSTAIN 47 times.
  • With the fix, hiding every column of the 880 distinct public files in turn (constant and duplicate columns skipped) gives 96.2 % correct and 108 wrong names, against 94.7 % and 151 before. Every change is a current now named correctly.
  • Hold-out 7 had already been used once, so this is not a blind result. Details are in results/open_runs.md.

Also in this release

  • The statistics vote may not name (Q-Qo) where the file holds no current (I, dq or Pwe). All 694 distinct public files with (Q-Qo) hold one of them.
  • Hold-out 7 has 594 files from 221 openly licensed records in 24 repositories. It was frozen before the run, and each arm was run once:
    • Rosetta named 156/193 columns, with 14 wrong names and 1/19 decoys named.
    • Opus 5.5 named 176/193, with 13 wrong and 5/19.
  • pytest tests works in a fresh clone, and counts in the README and documents were corrected.

The golden check now covers 1527 answers, 334 of them new from hold-out 7. Against 0.1.5, nine answers differ, all now right: 7 currents named I, and the out-of-vocabulary <I> decoys of hold-outs 6 and 7 now get ABSTAIN. Six tests were added.