AlignmentResearch / KataGoVisualizer

MIT License
3 stars 1 forks source link

Score margin plots #38

Closed kellinpelrine closed 1 year ago

kellinpelrine commented 1 year ago

Not sure about the y axis label "Score margin (adv. perspective)", if anyone has a better idea let me know please.

Adding plots to overleaf in appendix E.1.

review-notebook-app[bot] commented 1 year ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

netlify[bot] commented 1 year ago

Deploy Preview for goattack ready!

Name Link
Latest commit e7338b199a445a75301e96b66bdd64c2e80dc8f9
Latest deploy log https://app.netlify.com/sites/goattack/deploys/63d75943e87e8e000af2f5c7
Deploy Preview https://deploy-preview-38--goattack.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

review-notebook-app[bot] commented 1 year ago

View / edit / reply to this conversation on ReviewNB

AdamGleave commented on 2023-01-03T01:58:55Z ----------------------------------------------------------------

Line #73.        elif 'scorediff' in wr_or_scorediff:

This is slightly brittle in that if wr_or_scorediff == 'scorediff_advwon' or some similar typo it'll just silently fail as if it was equal to 'scorediff'.There's also no error handling for if wr_or_scorediff is something totally bogus like 'foobar' . You could make it wr_or_scorediff in ('scorediff', 'scorediff_advwin', 'scorediff_advlose'): and then have a catch-all else that raises an exception?


_kellinpelrine commented on 2023-01-03T02:48:47Z_ ----------------------------------------------------------------

There's already an assert statement at the beginning (line 53) that will throw an error if wr_or_scorediff is wrong, i.e.

assert wr_or_scorediff in ['wr','scorediff','scorediff_advwin','scorediff_advlose']

Does this cover what you have in mind or still better to do it differently?

_AdamGleave commented on 2023-01-03T02:54:31Z_ ----------------------------------------------------------------

Ah, missed that, yeah how you have it now is fine then.