Skip to content

Do we need to check if @newjudgements have been used? #108

Open
@nickhaf

Description

@nickhaf

@aaronpeikert :

If I've seen correctly, we currently don't check if the @newjudgements implemented by us or the user are actually used.
Suppose I'm a coder and want to code the Language of each record, so I build a newjudgement for it:

@newjudgement("Lang" ...)

How can I get reminded each time I build a record to actually make this newjudgement?

I already played around with it a bit, one possibility would be to add a new argument to @newjudgement called required. If it is set to true, this @newjudgement has to be made on it's respective level. So we would need some kind of list with all judgements available for the different levels, and compare that list with the judgements made for Record(), Study() ... each time Record(), Study() ... is called. However, this got a bit bulky, so I wasn't sure if we a) actually want that feature, and b) how to best implement it.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions