Skip to content
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

Cleanup junk fields #2

Open
marsrobertson opened this issue Feb 4, 2024 · 0 comments
Open

Cleanup junk fields #2

marsrobertson opened this issue Feb 4, 2024 · 0 comments

Comments

@marsrobertson
Copy link
Member

CO

H

image

Probably something with regex looking for numbers

					const justificationKeys = Object.keys(evalData).filter((key) =>
						key.match(/(.+?)(\d+)(?: Value| Comment)?/)
					);
					const maxIndices = {};
					justificationKeys.forEach((fullKey) => {
						const match = fullKey.match(/(.+?)(\d+)(?: Value| Comment)?/);
						if (match) {
marsrobertson pushed a commit that referenced this issue Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant