So I just committed this: http://svn.apache.org/viewvc?view=revision&revision=1496642
Which changes the pattern index from: Map<String,Device> to Map<String,List<Device>> The new list can now accept multiple devices which share the same pattern and properly match on them. So with this last change, im seeing very good result parity between some of the clients im testing with. ________________________________ From: eberhard speer jr. <[email protected]> To: "[email protected]" <[email protected]> Sent: Tuesday, June 25, 2013 5:29 PM Subject: Test results -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, finished the tests and things are looking really good ! 19,722 user-agent strings for devices in the current resources. 15,557 (79%) : DeviceMapClient DeviceId matches OpenDDR DeviceId 1,802 : DeviceMapClient says "desktopDevice", OpenDDR has a DeviceId 1,905 : DeviceMapClient says "unknown", OpenDDR has a DeviceId (most of them are Nokias) 458 : Different but very similar DeviceIds Two examples of the 458 : - - NokiaE90 and NokiaE-90 - - HTC HD2 and HD2 It turns out that, apart from what Reza pointed out, the resource data contains : - - "Some devices share a pattern. Right now a pattern can only point to 1 device." - - identical devices with a different DeviceId - - these identical devices can have different but 'idempotent' values in the Builder data source You can find the new result data-set, same structure as before here : http://www.ducis.net/static/result_20130626.zip Import it in a db, run some queries on it like : WHERE (DMap <> 'desktopDevice') -- (DMap = 'unknown') -- DMap <> OpenDdr and you'll see the above. esjr -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJRyguxAAoJEOxywXcFLKYcCCgIAJuHozlAn3obsfmAZyudPkjS aE/x/qZfw2J6d+OxNK/k7RnwrPbbBcJOORA5cL9pQ9Jb35Qew1V6bLNQNz9yM0WZ k0102S/XPvcvrlj+7dLi2DK1BafKwNUpwtGneYa9+i/bLcUDYBn4PPX1xjNa+t83 +y4zfo33TNqeHdzqzR3wueAOBdtK9kmSKxAbjqr8r4iMZCeZPIK0nMLaqQ0qibL2 3LRxOukKLDIPWw+YOkKuEgs9YfhVwTrcT18Q6LaNttLNrOg88axpp3BHoLYkzPRX nT0nLfYCcapJ5TTGZZr87WZ3twLyY7VOs8+r8mf9S6Hq2GaXSQpUnMpDxWOa/zQ= =dPi2 -----END PGP SIGNATURE-----
