Skip to content

super-collective/evidence

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Evidence

Explores approaches for storing work evidence of Polkadot Collectives in a public and transparent way. The motivation is to offer the general tokenholders an easy way to verify the work of the Collectives.

Structure

This repo uses a relational data schema through symlinks. All evidence report file can be found in the evidence directory. They follow the naming scheme n.evidence with n being a 32-bit unsigned decimal integer.

The information is augmented by the sub-folder by_date and by_reporter. Those allow structured access to the evidence reports without additional tooling.

The full folder structure is as follows:

- evidence
  - *.evidence # All evidence reports
  - by_date
    - YEAR
      - MONTH
        - DAY
          - *.evidence # Symlinks
  - by_reporter
    - NAME
      - *.evidence # Symlinks

Adding Evidence

You can either manually create the .evidence YAML files according to the schema file, or use the collective-cli for a more stream-lined process. The command is:

collective new evidence

This will walk you through some fundamental questions (some of which are cached) and the creates a new evidence report file. You are still expected to fill out any remaining information manually.

To just try out the process, you can append example like so:

collective new evidence example

Be sure to configure the JSON schema into your editor to get documentation and hints about the fields. The schema can be obtained from the collective-cli via:

collective schema evidence -o evidence_schema.json

Updating the Indices

This should be done by CI, but to manually do it you can run:

collective index evidence

and may need to add --reindex if indexed information was changed.

About

Template for Collective Evidence reports.

Topics

Resources

Stars

Watchers

Forks