Skip to main content

Checks

Run checks is on the Scraping page for staff. Other people do not see the link, and the page itself is not available to them.

Checks do not sign in to Arizona Game and Fish and do not open a browser. They re-read HTML that a scrape already saved.

Run a check​

  1. Select one saved copy.
  2. Choose Run All Checks, Bonus Point Check, Applications Check, Account Check, or License Check.

Bonus Point Check reads the bonus-point page and shows the genus rows, or the error if the page could not be read. Applications Check reads the draw list and each detail page and shows the draws, the PointGuard line, and any review warnings. Account Check reads Manage, the dashboard customer id, and the change-address form when that file was saved, and lists the same profile fields as the account page. License Check reads the license table, including the valid dates, and marks each Valid row. A row that parsed cleanly says OK.

The draw and license checks also say Complete list, or Incomplete list with the reasons, such as a row that could not be read or a draw without a detail page. Loading an incomplete list keeps the saved draws or licenses it cannot confirm. Nothing is removed.

View Details on a draw opens the same dialog as the Applications page, filled from that saved copy, so you can check the party, the choices, and the drawn hunt before saving anything.

Load into the named account writes the parsed draws, profile, or licenses onto the account named in that copy. Any staff user can do this, including for an account that belongs to someone else. It uses the same rules as a scrape and does not sign in. Each attempt is recorded: who loaded it, which account, which copy, and whether it succeeded. A failure is shown on the page and recorded. The record does not include the page text, a password, or a texted code. The message after loading draws counts new, updated, unchanged, and removed draws, and any warning about kept rows is shown below it. A copy from a failed scrape also shows the error from that scrape. An account copy with no Customer ID is refused, and the stored profile stays.

Add a bonus-point example to the tests​

Add to test fixtures is on a bonus-point result. Enter a case name. That saves the page and the expected rows or error as a test case. It does not create a test by itself, and it does not commit the files. A page with no checker has no add action.