Brian Thorne

Results 125 issues of Brian Thorne

I quite like the look of [peewee](http://peewee.readthedocs.io/en/latest/index.html) although SqlAlchemy is the standard. For example we would define `models` for our tables: ``` class Project(BaseModel): access_token = pw.TextField() chunk_size = pw.BigIntegerField(constraints=[pw.SQL("DEFAULT...

help wanted
P4: nice to have
effort2: medium (day)
best practice

This service doesn't provide an api for client side filter of p-sig blocks, rather all candidate blocks are uploaded and the server [joins by block name](https://github.com/data61/anonlink-entity-service/blob/1b4a89ba2f639971eb8cf4288c45955a443d9d9b/backend/entityservice/tasks/comparing.py#L182). See the [blocklib tutorial](https://blocklib.readthedocs.io/en/latest/tutorial/tutorial_blocking.html#Generate-Final-Blocks)...

`blocklib` filters out records according to the blocking specification. It warns if all records are not included in a block after using a particular blocking schema, but as someone else...

Misc issues when trialing jaeger tracing. 1) I've seen the warning "invalid parent span" for the following tasks at various times (not always): - `entityservice.tasks.solver.solver_task`, - `entityservice.tasks.mark_run_complete.mark_run_complete` and - `entityservice.tasks.run.prerun_check`...

We should have a high level architecture diagram showing the communication between the various containers.

deployment
docs
best practice

Instead of including gcc and everything required to compile all our dependencies we could probably build a smaller image which would have a smaller attack surface. https://docs.docker.com/develop/develop-images/multistage-build/#before-multi-stage-builds

See https://github.com/n1analytics/entity-service/pull/349#discussion_r273343179

The outputs types permutation and similarity scores only work for 2 parties at the moment.

See https://docs.protari.d61.io/dev/setting-up/logging/#example-logging

effort2: medium (day)

If we are a misbehaving user do we get good error messages back from the rest api.