-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add playground #22
Conversation
Overall readability score: 19.97/100 (🔴 -0.45)
View detailed metrics🟢 - Shows an increase in readability
Averages:
View metric targets
|
README.md
Outdated
@@ -94,6 +94,7 @@ jobs: | |||
| `build` | build the dist file. You are required to run this locally in order to build the dist before opening a PR. | | |||
| `run:local:report` | Run the action on two local folders, for testing and development. The first argument is the old ("base branch") folder and the sedcond argument is the new ("head branch") folder. For example `yarn run:local:report ./test-data/old ./test-data/new` | | |||
| `run:local:debugfile` | Show what the program parses from a single file, after stripping all non-wanted items from the file, and before rating the readability. For example `yarn run:local:debugfile ./test-data/new/test-document.md` | | |||
| `playground:dev` | Open the playground in local development mode for testing readability scores | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the decrease in readability is because this sentence doesn't end with a period
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added periods to them all and the score didn't change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure what decreased the score then 😕
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Its a small amount of content so I think the sore can be sway easily by the addition or removal of a few lines.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is awesome!!! 🚀 🚀 🚀
This PR adds a local development playground which shows the various metric scores.
To run, make sure you
yarn
and then runyarn playground:dev
Changes:
glob
).