-
Notifications
You must be signed in to change notification settings - Fork 4
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
[Issue]: Output file Diff check not catching changes #481
Comments
I cannot reproduce the issue with the info given. Something is different. Help? Two examples of differences from the "CPF Comparison doc" in the "1a compare" sheet:
I downloaded the 2024-07-01 and 2024-10-01 directories from the google drive folder. Google conveniently zips them. I run it, no differences. Then I unzipped and opened "CPF1ABroadbandInfrastructureTemplate (3).xlsx" (I assume this is "1a") with LibreOffice.
So I wonder if the wrong thing was uploaded to 2024-10-01? They both look like 2024-07-01. |
@boxydog thanks so much for reviewing this and hmmm that's really odd. perhaps I added the wrong files to the folder.... I've just downloaded again from what our partners sent and added the current files to the folder here - does the dif check catch the differences now? |
It does not. However, again, when I download the files from the folder you just provided and open 1A, the first column is "Field ID " with a space. Is that not your experience as well? You've labeled two things as October: one without a space (from your comparison sheet), and one with a space (from two folders now). Which one is right? |
A related question: can we fetch the October documents ourselves? Maybe someone sent you the wrong files. I did a quick web search, and it wasn't obvious to me where to get them. |
Why is this issue important?
This quarter when we did a cpf diff check on output files, it did not catch any differences when there were a number of changes. The changes were exclusively related to spacing and indentation, but we still expected the diff check to catch these items.
Current State
See the CPF Comparison doc to see the changes we expected the diff check to catch. (you will need to scroll to the bottom of each tab for the most recent comparison, and a flag of "FALSE" when the fields don't match. We expect all times it shows as "FALSE" to be represented in the dif check but it did not catch anything.
Expected State
We expect all discrepancies between files (including spaces and indentations) to be caught in the diff check.
To test this:
a.
poetry run python -m src.lib.output_template_comparator 2024_10_01.zip 2024_07_01.zip
Implementation Plan
The following functions need to be added...
Relevant Code Snippets
No response
The text was updated successfully, but these errors were encountered: