W3C home > Mailing lists > Public > public-socialweb@w3.org > March 2015

Re: Activity Streams 2.0 Test Suite

From: <henry.story@bblfish.net>
Date: Tue, 17 Mar 2015 07:36:15 +0000
Cc: "public-socialweb@w3.org" <public-socialweb@w3.org>
Message-Id: <A85B27A5-666F-43F7-8994-049160FC982D@bblfish.net>

> On 16 Mar 2015, at 16:24, James M Snell <jasnell@gmail.com> wrote:
> 
> All, one of the items we're going to need to move forward on Activity
> Streams 2.0 completion is a Test Suite. Unfortunately I do not have
> the free cycles at the moment to work on it myself. We need someone to
> step up and volunteer to begin working on this item. What I imagine,
> at this point, is that the test will essentially amount to a validator
> -- validating that the output generated by an implementation is
> correct and validating that the implementation can properly roundtrip
> correct input or fail appropriately on incorrect input.

I think that what needs to be done is deeper than a validator, which can
only catch syntactic issues, which are mostly already dealth with by the
JSON-LD format.

What would need to be done is to test that the activity stream ontology is
indeed not inconsistent. This could be done by

1. strengthening the ontology somewhat to capture implicits in the definitions
 thereby clarifying it too. Eg that the class of certain types of objects is not
 empty, that something is a inverse functional relation ( when it is, etc.. )

2. creating many examples of documents using that ontology

3. checking that the examples with the ontology don't lead to contradictions (eg a 
  set being both empty and non-empty )

Just the exercise of doing this would probably uncover a bunch of issues. In some
ways this is a pragmatic exercise that leads to understanding what the consequences
of the created vocabulary are.

> 
> - James
> 

Social Web Architect
http://bblfish.net/
Received on Tuesday, 17 March 2015 07:36:45 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 8 December 2016 15:48:20 UTC