#319 Haystack rule base and database validator

Matthew Lohbihler Thu 10 Sep 2015

I recently started working on a list of rules that follow from the Haystack tag descriptions. This was for a separate project, but i soon realized that this could be generally useful to the community, so i started working on software that can read a database and validate it again the rule base.

Rules are, for example, that "ahu" must be a marker, a record with "site" should also have a "geoState", and that a record with "weatherRef" must also have either "site" or "weatherPoint". I have so far identified over 300 such rules. (And interestingly, a default database that ships with a commercial product has rows that violate the rules.)

If anyone is interested in helping test this software, or wants to know anything about it, please respond here or contact me at [email protected].

Matthew Lohbihler Wed 7 Oct 2015

Many thanks to everyone who responded to the above post. The work - as it is - has been committed to a public repository at https://github.com/mlohbihler/haystack-validator.

Mike Jarmy Wed 7 Oct 2015

That looks really interesting, thanks Matthew

Kevin Kelley Wed 7 Oct 2015

Yes, this looks very good and seems useful, will try it out.

Login or Signup to reply.