/ontology → entity-types

Prediction

Description

A model-generated prediction about a PermitCase (risk_score, first_pass_probability, expected_review_days). Versioned via capability_id.

Instances
0
Properties
8

Declared Properties

PropertyTypeConstraintsDescription
Risk Score
risk_score
decimalrequiredindexed0-1, higher = more likely to face blockers.
e.g. 0.42
First-Pass Prob.
first_pass_probability
decimalrequiredindexed0-1, probability of issue without revisions.
e.g. 0.58
Predicted Days (med)
predicted_days_median
integerindexedMedian predicted review days.
e.g. 67
Predicted Days (p90)
predicted_days_p90
integer90th pct predicted review days.
e.g. 125
Top Blockers
top_predicted_blockers
jsonArray of likely correction categories.
e.g. ["setback","egress"]
Model Version
model_version
stringrequiredindexedcapability slug + version of producer.
e.g. permit_risk_v0.3
Generated At
generated_at
datetimerequiredindexedTimestamp of prediction.
e.g. 2024-06-13
Permit Case
permit_case_id
stringrequiredindexedLinked PermitCase UUID.

Outgoing Edges (10)

ASSOCIATED_WITH_ACTOR
A PermitCase/Decision is associated with an Actor (architect/contractor).
CO_OCCURS_WITH
Statistical co-occurrence of two entities (most often two Corrections).
GOVERNED_BY
An entity is governed by a code section.
IMPACTED_BY_POLICY
An entity is governed by a Policy (zoning rule, historic overlay, etc).
LOCATED_IN
Entity is spatially located in another entity (AHJ, ZoningDistrict, Neighborhood, or Property).
PRECEDED
A entity preceded B in a timeline.
PROJECTED_FROM
Entity was projected from a fixture or raw doc.
SIMILAR_TO
Statistical similarity (project↔project, AHJ↔AHJ).
VIOLATES
An entity violates a code section.
WAS_GRADED
A Prediction was graded once the actual Outcome was known.

Incoming Edges (7)

APPROVED_AFTER
A Decision came after a prior Decision/event in a chain.
CO_OCCURS_WITH
Statistical co-occurrence of two entities (most often two Corrections).
CONDITIONED_ON
An approval Decision was conditioned on something.
HAS_PREDICTION
A PermitCase has zero or more Predictions (one per model version).
PRECEDED
A entity preceded B in a timeline.
REQUIRES
A code section requires an entity / configuration.
SIMILAR_TO
Statistical similarity (project↔project, AHJ↔AHJ).