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

Improve book comparison script #51

Open
anematode opened this issue Feb 3, 2022 · 0 comments
Open

Improve book comparison script #51

anematode opened this issue Feb 3, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@anematode
Copy link
Collaborator

anematode commented Feb 3, 2022

Currently, the output of ./scripts/compare_books.py is an eyesore:

Timoothy:gatm timoothy$ python2 ./scripts/compare_books.py | grep "02" -A 1
Chapter 02 It's a Snap, Problem 8: Notice that $E\snap E\snap E=I$ (see Figure~\ref{fig:eper3}). We saw that $E$ has a \textbf{period} of $3$ when acting upon itself. Which elements have a period of
ANSWER KEY: Problem 8: Notice that $E\snap E\snap E=I$ (See Figure~\ref{fig:eper3}). We see that $E$ has a \textbf{period} of $3$ when acting upon itself. Which elements have a period of
--
Chapter 02 It's a Snap, Problem 9: Answer the following with the one-, two-, and four-post snap groups $S_1$, $S_2$ and $S_4$. These are just the analogous groups for connections between rows of one, two, and four posts.
ANSWER KEY: Problem 9: Answer the following with the one-, two-, and four-post snap groups $S_1$, $S_2$ and $S_4$. These are just the analogous groups for connections between one, two, and four posts.
--
Chapter 02 It's a Snap, Problem 9.c: Make a group table of these elements. For four posts, instead of creating a table, give the number of entries that the table would have.
ANSWER KEY: Problem 9.c: Make a group table of these elements. For four posts, instead of creating a massive table, give the number of elements that the table would have.

In particular, you need to scan each line to see where the differences are, and the lines aren't even lined up. Ideally the lines would be lined up and a diff shown.

@anematode anematode added the enhancement New feature or request label Feb 3, 2022
@anematode anematode self-assigned this Feb 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant