Re: replacing earl:inferred with aggregation logic (Issue #7a)

Hi Carlos,

Carlos Iglesias wrote:
>> Here is how a simple logic for combining test modes could look like:
>>  #1. if all sub-tests were carried out in "manual" mode, then the test
>> mode of the combined test is "manual".
>>  #2. if all sub-tests were carried out in "automatic" mode, then the
>> test mode of the combined test is "automatic".
>>  # 3. any combination of "manual", "automatic", or "semi-automatic"
>> concludes that the test mode is "semi-automatic".
>  
> I think we can create simple rules that cover every combination, 
> something like:
>  
> IF all sub-tests were carried out in the same mode
>     the test mode of the combined test is the same.

Good approach.


> ELSE
>    IF there is at least a mixed (or undisclosed) mode
>         the test mode of the combined test is mixed

Good point, my proposal did not address "undisclosed". I'm not sure how 
much precedence this value should have in the logic.


>    ELSE
>        IF there is at least a manual mode
>             the test mode is manual

This means that "automatic" + "manual" = "manual" ...bug or feature? ;)


>        ELSE
>            IF there is at least a semiautomatic mode
>                the test mode is semiautomatic
>            ELSE
>                IF there is at least a automatic mode
>                    the test mode is automatic

I think this nesting of IF...ELSE is rather confusing, I hope we can 
reduce the rules to a small set that is easy to overview. Here is 
another attempt of the rules:

#1. if all sub-tests were carried out in the same test mode, then the 
test mode of the combined test is same.

#2. if the test mode of any of the sub-tests is "undisclosed", then the 
test mode of the combined test is also "undisclosed".

#3. for all other test mode combinations of sub-tests, the test mode of 
the combined test is "semi-automatic".


Does this cover all the combinations? Is the outcome what we want 
(especially the strong effect of "undisclosed" and "semi-automatic")?


Regards,
   Shadi


-- 
Shadi Abou-Zahra     Web Accessibility Specialist for Europe |
Chair & Staff Contact for the Evaluation and Repair Tools WG |
World Wide Web Consortium (W3C)           http://www.w3.org/ |
Web Accessibility Initiative (WAI),   http://www.w3.org/WAI/ |
WAI-TIES Project,                http://www.w3.org/WAI/TIES/ |
Evaluation and Repair Tools WG,    http://www.w3.org/WAI/ER/ |
2004, Route des Lucioles - 06560,  Sophia-Antipolis - France |
Voice: +33(0)4 92 38 50 64          Fax: +33(0)4 92 38 78 22 |

Received on Wednesday, 5 September 2007 10:16:11 UTC