About
FM Fact Label of every UVL model: computed in the background, shown in the file workbench, materialised as typed metrics, the number of features explore narrows by, and the characterisation of the corpus and its export in statistics' dashboard
Provides
FactLabelHubfileMetrics
FactlabelService
/factlabel/dataset/<int:dataset_id>.json/factlabel/view/<int:file_id>
dataset.view.scriptsdataset.view.sectionshubfile.workbench.contenthubfile.workbench.views
es
Commands
-
$
splent feature:factlabel generate [OPTIONS]Generate FactLabels for hubfiles. By default, only missing ones. Use --force to regenerate all.
-
$
splent feature:factlabel metrics-backfill [OPTIONS]Extract hubfile_metrics from existing Hubfile.factlabel_json payloads. By default, only processes hubfiles missing a row or with stale extractor_version. Use --force to re-process every hubfile with a fact label.
-
$
splent feature:factlabel metrics-statusShow how many hubfiles have extracted metrics vs. pending vs. errored.
-
$
splent feature:factlabel pendingShow how many hubfiles are missing FactLabels.
Run them in your workspace once the feature is installed in the selected product.
Configuration
| Setting | Default | What it does |
|---|---|---|
FACTLABEL_ANALYSIS_TIMEOUT |
300
|
No description yet. |
FACTLABEL_ANALYSIS_MEMORY_MB |
1536
|
No description yet. |
These are the defaults. A product changes them in its own pyproject.toml, under [tool.splent.config], or in .env.deploy in production.
Dependencies
In product lines
-
openhubs_spl
Optional in this line
Needs
hubfiledataset
Extension points
hooks/factlabel_actions.htmlhooks/factlabel_dataset_section.htmlhooks/factlabel_modal.htmlhooks/factlabel_panel.htmlhooks/factlabel_scripts.htmlhooks/factlabel_statistics_corpus.html
FactlabelService
FactLabelHubfileMetrics
Other features fill its hook slots. A refinement can override its templates and services or extend its models without forking it.
Compatibility
>=3.13
>=1.30.0
fmfactlabel==1.8.2beautifulsoup4==4.14.3