-
Notifications
You must be signed in to change notification settings - Fork 303
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
Hillsborough County Open311 test fails #826
Comments
For the record - this bug manifested in the app for HART service area with some issue categories being split into a "Transit" category, and other issues being split into an "Other" category in the issue category drop-down spinner list. Because HART has their own SeeClickFix account and controls all the issue categories, all categories should show up under the "Transit" category. |
* Be more explicit in build variant to select * Display the pin feed as a fragment rather than as an activity * Fix OneBusAway#404 - Add social functionality via Embedded Social (OneBusAway#744) The Microsoft Embedded Social SDK (which OneBusAway now links to as part of this patch) falls under the MIT license: ~~~ The MIT License (MIT) Copyright (c) 2016 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ~~~ * Update "What's New" to prepare for release * Bump version to prepare for release * Fix OneBusAway#826 - Add "passenger" as transit-related heuristic for Open311 services * Update "What's New" to include bug fixes * Add link to Open311 implementation details description * Display the popular and recent activity feeds as fragments rather than activities * Replace the NavDrawer with an Up arrow in the SignIn activity * Reorder and refactor references to the Popular Feed fragment
Re-opening - this test is failing again. |
Heuristic matching is a headache. Looks like HART is prefixing all of it's issues with "HART" now, so let's use that in the heuristic: However, looks like the heuristic isn't picking up the arrival time record, as this test is failing too:
|
Actually, if we use "HART" in the stop heuristic, then it won't pick up the arrival time heuristic (hence the above), so that doesn't work... |
I'm just going to drop |
Summary:
If you run the unit tests,
ReportProblemOpen311Test.testHillsboroughCounty()
fails with:It looks like HART changed their Open311 service types (i.e., issue categories) so now only 3 are identified as "transit-related" based on heuristic keyword matching (a word-around because SeeClickFix doesn't support explicit groups or keywords in their Open311 API). Our threshold for identifying deployments like HART where all services are transit-related is 4 (defined in
ReportConstants.NUM_TRANSIT_SERVICES_THRESHOLD
).Steps to reproduce:
Run the unit tests
Expected behavior:
All tests should pass
Observed behavior:
ReportProblemOpen311Test.testHillsboroughCounty()
failsDevice and Android version:
Reprod on Samsung Galaxy S8+ with Android 8.0 beta
The text was updated successfully, but these errors were encountered: