Current Issue: The current regex for classifying military aircraft by operator is overzealous and producing a lot of false positives.
Problem: Right now, anything containing "air" in it is being flagged as military or something similar. This is not accurate.
Proposed Solution: We should be matching on complete terms like "Air Force", "Navy", etc., instead of partial string matches. This will significantly reduce false positives while maintaining accurate classification.
Example:
Should match: "United States Air Force", "Royal Navy", "Japan Air Self-Defense Force"
Should NOT match: "airplane", "airline", "aircraft" when context suggests civilian
**Current Issue:** The current regex for classifying military aircraft by operator is overzealous and producing a lot of false positives.
**Problem:** Right now, anything containing "air" in it is being flagged as military or something similar. This is not accurate.
**Proposed Solution:** We should be matching on complete terms like "Air Force", "Navy", etc., instead of partial string matches. This will significantly reduce false positives while maintaining accurate classification.
**Example:**
- Should match: "United States Air Force", "Royal Navy", "Japan Air Self-Defense Force"
- Should NOT match: "airplane", "airline", "aircraft" when context suggests civilian
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Current Issue: The current regex for classifying military aircraft by operator is overzealous and producing a lot of false positives.
Problem: Right now, anything containing "air" in it is being flagged as military or something similar. This is not accurate.
Proposed Solution: We should be matching on complete terms like "Air Force", "Navy", etc., instead of partial string matches. This will significantly reduce false positives while maintaining accurate classification.
Example: