Conversation
| model += " (v#{ua[:version]})" if ua.key?(:version) | ||
| report << model unless model.empty? | ||
| report << "* TBD : v3.6.0" | ||
| report << "* TBD : v3.6.1" |
There was a problem hiding this comment.
Bug description from Claude:
ua_md hard-codes "* TBD : v3.6.0" while ua_summary uses the passed-in SDK :version; two independent version sources.
Claude appears to be confounding:
- the TBD gem version (now v3.6.1)
- the OpenStudio SDK/CLI version
... they're totally unrelated.
|
Apart from the TBD vs SDK version confusion, Claude did a great job at identifying a dozen or so bugs. These were mostly typos and/or the fruit of inconsistent copy/paste operations at the time (e.g. when extending the list of admissible edge types). Although they definitely needed fixing, TBD had enough safeguards and fallbacks to avoid potential crashes stemming from these typos. Yet glad to have fixed them, as they would have yielded incorrect values in rare cases. Thanks to @phylroy at CanmetEnergy! All tests are green (including these). |
Using Claude, CanmetEnergy has recently generated a Python version of TBD (py-tbd).
In the process, a number of bugs (mainly typos) have been identified in the original TBD Ruby gem.
Fixing ...