Path Bias code should count circuit destructions as failures
Right now, the path bias code counts any circuit that succeeds as a success. However, this is incorrect. Circuits can still be tagged after they succeed, by embedding the tag in a RELAY_BEGIN or RELAY_RESOLVE.
Clients should therefore decrement a guard's success count and increment the failure count for any circuit that is destroyed after successful construction, but hasn't successfully carried any streams.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information