mirror of
https://github.com/web3privacy/explorer-data.git
synced 2024-10-15 12:06:26 +02:00
Merge branch 'dk/v2-dataset' into pb/required-fields
This commit is contained in:
commit
90c4109c16
3 changed files with 85 additions and 63 deletions
|
@ -12,11 +12,14 @@ properties:
|
|||
field:
|
||||
type: string
|
||||
label:
|
||||
type: string
|
||||
positive:
|
||||
type: string
|
||||
negative:
|
||||
type: string
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
positive:
|
||||
type: string
|
||||
negative:
|
||||
type: string
|
||||
condition:
|
||||
type: object
|
||||
properties:
|
||||
|
|
133
src/ranks.yaml
133
src/ranks.yaml
|
@ -2,72 +2,82 @@
|
|||
name: Openess
|
||||
references:
|
||||
- field: team.teammembers
|
||||
label: Team
|
||||
positive: 'Member'
|
||||
negative: 'Anonymous'
|
||||
label:
|
||||
name: Team
|
||||
positive: Member
|
||||
negative: Anonymous
|
||||
condition:
|
||||
minLength: 1
|
||||
points: 10
|
||||
- field: links.docs
|
||||
label: Documentation
|
||||
positive: 'Link'
|
||||
negative: 'Not available'
|
||||
label:
|
||||
name: Documentation
|
||||
positive: Link
|
||||
negative: Not available
|
||||
condition:
|
||||
exists: true
|
||||
points: 10
|
||||
- field: links.github
|
||||
label: Github
|
||||
positive: 'Link'
|
||||
negative: 'Not available'
|
||||
label:
|
||||
name: Github
|
||||
positive: Link
|
||||
negative: Not available
|
||||
condition:
|
||||
exists: true
|
||||
points: 10
|
||||
- field: links.twitter
|
||||
label: Twitter
|
||||
positive: 'Link'
|
||||
negative: 'Not available'
|
||||
label:
|
||||
name: Twitter
|
||||
positive: Link
|
||||
negative: Not available
|
||||
condition:
|
||||
exists: true
|
||||
points: 1
|
||||
- field: links.telegram
|
||||
label: Telegram
|
||||
positive: 'Link'
|
||||
negative: 'Not available'
|
||||
label:
|
||||
name: Twitter
|
||||
positive: Link
|
||||
negative: Not available
|
||||
condition:
|
||||
exists: true
|
||||
points: 1
|
||||
- field: links.discord
|
||||
label: Discord
|
||||
positive: 'Link'
|
||||
negative: 'Not available'
|
||||
label:
|
||||
name: Discord
|
||||
positive: Link
|
||||
negative: Not available
|
||||
condition:
|
||||
exists: true
|
||||
points: 1
|
||||
- field: links.lens
|
||||
label: Lens
|
||||
positive: 'Link'
|
||||
negative: 'Not available'
|
||||
label:
|
||||
name: Lens
|
||||
positive: Link
|
||||
negative: Not available
|
||||
condition:
|
||||
exists: true
|
||||
points: 1
|
||||
- field: links.farcaster
|
||||
label: Farcaster
|
||||
positive: 'Link'
|
||||
negative: 'Not available'
|
||||
label:
|
||||
name: Farcaster
|
||||
positive: Link
|
||||
negative: Not available
|
||||
condition:
|
||||
exists: true
|
||||
points: 1
|
||||
- field: links.whitepaper
|
||||
label: Whitepaper
|
||||
positive: 'Link'
|
||||
negative: 'Not available'
|
||||
label:
|
||||
name: Whitepaper
|
||||
positive: Link
|
||||
negative: Not available
|
||||
condition:
|
||||
exists: true
|
||||
points: 10
|
||||
- field: funding.value
|
||||
label: Funding
|
||||
positive: 'Investment'
|
||||
negative: 'Not available'
|
||||
label:
|
||||
name: Funding
|
||||
positive: Investment
|
||||
negative: Not available
|
||||
condition:
|
||||
exists: true
|
||||
points: 10
|
||||
|
@ -76,37 +86,42 @@
|
|||
name: Technology
|
||||
references:
|
||||
- field: project_status.mainnet
|
||||
label: Mainnet
|
||||
positive: 'Yes'
|
||||
negative: 'No'
|
||||
label:
|
||||
name: Mainnet
|
||||
positive: Yes
|
||||
negative: No
|
||||
condition:
|
||||
exists: true
|
||||
points: 10
|
||||
- field: blockchain_features.opensource
|
||||
label: Open Source
|
||||
positive: 'Yes'
|
||||
negative: 'No'
|
||||
label:
|
||||
name: Open Source
|
||||
positive: Yes
|
||||
negative: No
|
||||
condition:
|
||||
equals: true
|
||||
points: 20
|
||||
- field: blockchain_features.asset_custody_type
|
||||
label: Non Custody
|
||||
positive: 'None'
|
||||
negative: 'Custodial'
|
||||
label:
|
||||
name: Non Custody
|
||||
positive: None
|
||||
negative: Custodial
|
||||
condition:
|
||||
equals: non-custody
|
||||
points: 10
|
||||
- field: blockchain_features.upgradability.enabled
|
||||
label: Upgradability
|
||||
positive: 'Disabled'
|
||||
negative: 'Enabled'
|
||||
label:
|
||||
name: Upgradability
|
||||
positive: Disabled
|
||||
negative: Enabled
|
||||
condition:
|
||||
equals: false
|
||||
points: 10
|
||||
- field: audits
|
||||
label: Audits
|
||||
positive: 'Audit'
|
||||
negative: 'None'
|
||||
label:
|
||||
name: Audits
|
||||
positive: Audit
|
||||
negative: None
|
||||
condition:
|
||||
minLength: 1
|
||||
points: 10
|
||||
|
@ -115,30 +130,34 @@
|
|||
name: Privacy
|
||||
references:
|
||||
- field: privacy_policy.link
|
||||
label: Privacy Policy
|
||||
positive: 'Link'
|
||||
negative: 'Not available'
|
||||
label:
|
||||
name: Privacy Policy
|
||||
positive: Link
|
||||
negative: Not available
|
||||
condition:
|
||||
exists: true
|
||||
points: 10
|
||||
- field: traceability.kyc
|
||||
label: KYC
|
||||
positive: 'No'
|
||||
negative: 'Yes'
|
||||
label:
|
||||
name: KYC
|
||||
positive: No
|
||||
negative: Yes
|
||||
condition:
|
||||
equals: false
|
||||
points: 10
|
||||
- field: compliance
|
||||
label: Compliance
|
||||
positive: 'No'
|
||||
negative: 'OFAC'
|
||||
label:
|
||||
name: Compliance
|
||||
positive: No
|
||||
negative: OFAC
|
||||
condition:
|
||||
equals: true
|
||||
points: 5
|
||||
- field: default_privacy
|
||||
label: Default Privacy
|
||||
positive: 'YES'
|
||||
negative: 'No'
|
||||
label:
|
||||
name: Default Privacy
|
||||
positive: YES
|
||||
negative: No
|
||||
condition:
|
||||
equals: true
|
||||
points: 10
|
||||
|
|
|
@ -85,7 +85,7 @@ for (const col of Object.keys(w3pd.data)) {
|
|||
Deno.test(testName + " (schema)", () => {
|
||||
if (!validator(item)) {
|
||||
const betterErrors = betterAjvErrors({ errors: validator.errors });
|
||||
throw betterErrors;
|
||||
// throw betterErrors;
|
||||
console.log(betterErrors);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue