Upload documents to the Knowledge Base. All fields marked with (*) are compulsory. First, select the project type. Next, select the document category. Then, drag and drop or upload the document. All uploaded files are automatically indexed, deduplicated, and securely stored in the Knowledge Base.
UPLOAD METADATA (applied to all files in the next upload)— all fields required
Drop files here or click to browse
PDF · DOCX · XLSX · XLS · MPP · TXT · Images (PNG, JPG, GIF) — scanned PDFs via AI OCR · max 50 MB
PDFDOCXXLSXXLSMPPTXTPNG/JPG
Uploading to server…
Extracting text and analysing risks
Validated Format Repository
Centralised storage for all documents that have successfully passed validation checks. Only documents meeting system criteria are stored here.
VALIDATED REPOSITORY
0
VALIDATED DOCS
0
FILE TYPES
0
CATEGORIES
—
LAST UPLOADED
REPOSITORY DOCUMENTS
All Approved & Active
DOCUMENT NAME
DOCUMENT TYPE
SOURCE / ORIGIN
UPLOAD DATE
VALIDATION STATUS
VERSION
No validated documents yet. Upload documents via the Documents tab.
Keyword Search
Search by keyword by selecting a keyword from the predefined list or by entering a keyword or phrase directly into the search bar.
PREDEFINED KEYWORDS — click any keyword to search
FREE-TEXT SEARCH — enter your own keyword or phrase
RISK REGISTER
SCORE
RISK
OWNER
STATUS
MITIGATION
REVIEW DATE
PRIORITY
ACTIONS
Identified Risks
Each identified risk is linked to its root causes. Causal Relationship Strength measures how directly a risk factor drives the risk based on the keyword search and retrieved similar projects.
Strong causal link ≥80%
Moderate causal link 50–79%
Weak causal link <50%
🔍
Upload documents to identify and analyse risks, or
to see this tab in action.
Admins manage accounts only — each user's data stays private to them
Users
USERNAME
ROLE
TRIAL USAGE
CREATED
NLP Engine Reference
Engine Protocol
ACTIVENO VECTORS
Controlled Research Test Document · Version 1.0
NLP MODEL TEST PROTOCOL
—
Document Control
Protocol ID
—
Protocol Version
1.0
Status
Active / Production
Model under test
—
Baseline method
—
Purpose and Scope
This protocol specifies the controlled evaluation procedure for — as the active NLP engine within KAIRIAS for retrieving keywords, identifying and assessing risk-related information in infrastructure project documents. It establishes dataset controls, test conditions, evaluation metrics, acceptance criteria, reproducibility requirements and reporting arrangements to be applied before engine-selection conclusions are made.
The protocol is designed to support a defensible comparison with other candidate NLP engines. Results generated under this protocol should be reported separately from the protocol itself and should not be inserted retrospectively into the acceptance criteria.
The test will decide whether the pretrained model is suitable for the initial system, whether configuration changes are sufficient, or whether a controlled fine-tuning experiment is justified.
1. Test Objectives
Measure the model's ability to identify explicit and context-dependent risk statements in construction project documents.
Quantify performance using Precision, Recall, F1-score and IoU Accuracy.
Assess classification performance across the predefined risk categories.
Evaluate false positives, false negatives and systematic error patterns.
Assess retrieval stability, inference efficiency and result reproducibility under controlled conditions.
Generate comparable evidence for NLP engine selection decisions within KAIRIAS.
2. Model Under Test
Model
—
Architecture
—
Evaluation role
Active NLP engine — KAIRIAS production
Primary task
Keyword retrieval, Risk identification and assessment from construction document text
Input
Infrastructure project text from uploaded Knowledge Base documents
Output
Matched risk categories with confidence scores (0–100%)
Implementation
Python-based NLP environment
3. Dataset and Ground Truth
The evaluation dataset shall comprise construction project documents representative of the intended application. Candidate sources include project reports, risk registers, environmental assessments, construction method statements, design documentation and project management records uploaded to the KAIRIAS Knowledge Base.
3.1 Annotation requirements
Labels are derived from the KAIRIAS predefined list of 17 risk types
3.2 Data separation and leakage control
Dataset Control
Requirement
Test unit
A traceable paragraph or short passage with project, document, page, section, and passage identifiers.
Benchmark queries
17 predefined queries, one per risk type
Leakage control
Query text does not duplicate uploaded document content verbatim
Negative Examples
Passages without a valid risk must be retained so that false-positive behaviour can be measured.
Session isolation
Each session is an independent context
4. Execution Procedure
Confirm the NLP_ENGINE setting in .env matches the engine under test.
Activate the virtual environment and start the KAIRIAS server: python main.py from the System 2 directory.
Open http://localhost:8000 and verify the Engine ID badge in the header matches the intended engine.
Upload the evaluation document set to the Knowledge Base via the Upload tab.
Navigate to Semantic Search and execute each of the 17 benchmark queries in sequence.
Record all query results, similarity scores and matched taxonomy categories from each query.
Use the Model Evaluation tab to run and record the automated benchmark suite.
Export session results using the Export function before restarting the server.
Repeat for each candidate engine using the same Knowledge Base without modification.
5. Experimental Environment and Reproducibility
Item
Record at Test Execution
Operating system
Windows 10 Enterprise
Python version
3.12
NLP libraries
sentence-transformers, torch, transformers
Model checkpoint
—
API framework
FastAPI + uvicorn, port 8000
NLP_ENGINE setting
—
Run identifier
KAIRIAS session timestamp
6. Test Cases
ID
Test Case
Expected Behaviour
—T01
Keyword / phrase retrieval
Relevant keywords / phrase is retrieved or detected
—T02
Explicit risk statement
Relevant risk is detected and assigned to the correct category.
—T03
Implicit / context-dependent risk
Model identifies risk where sufficient contextual evidence exists in the document chunk.
—T04
Non-risk project statement
Model does not incorrectly label routine factual text as risk (false positive control).
—T05
Risk category classification
Detected risk is assigned to the correct ground-truth category.
—T06
Multi-risk document passage
Model behaviour for passages containing more than one risk category is recorded.
—T07
Long / complex document
Model processes all 500-word chunks according to the documented chunking rules.
—T08
Different document types
Performance remains measurable across PDF, DOCX, XLSX and TXT source types.
—T09
Repeatability
Identical queries on the same Knowledge Base produce reproducible results within the same server session.
—T10
Cross-project robustness
Report the main metrics separately for every project and document type
—T11
Negated / conditional wording
Model distinguishes actual risk expressions from negated or purely hypothetical wording.
7. Evaluation Metrics
The following metrics shall be calculated from model.
Metric
Formula
Description
Keyword / phrase Precision
TP / (TP + FP)
Proportion of predicted positive risks that are correct.
Recall
TP / (TP + FN)
Proportion of actual risks identified.
Precision
TP / (TP + FP)
Proportion of identified and assessed risks that are correct
F1-score
2 x P x R / (P + R)
Harmonic mean of Precision and Recall. Primary quality KPI.
Accuracy
TP / (TP + FP + FN)
Intersection-over-Union. Avoids TN-inflation on imbalanced taxonomies.
Confidence
mean(query_sim) x 100
Mean query similarity. Falls back to score/25 if query_similarity absent.
Retrieval rate
retrieved / total
Proportion of queries returning at least one relevant document chunk.
Source-support rate
Accepted / cited reviewed
Detects outputs that cannot be verified from the source.
For multi-class classification, per-category results and macro averages should be reported. A confusion matrix shall be retained for error analysis. Inference time may be recorded as a secondary operational metric.
8. Predefined Acceptance Criteria
Acceptance thresholds must be fixed before the final test is run. The values below are example research thresholds.
Criterion
Proposed Threshold
Decision Rule
Precision
>=0.80
Pass if threshold is achieved on the benchmark query set.
Recall
>=0.70
Pass if threshold is achieved with FN estimate applied.
F1-score
>=0.75
Pass if threshold is achieved on the benchmark query set.
Retrieval rate
>=0.90
Pass if 90% or more of benchmark queries return relevant results.
Reproducibility
Consistent within session
No material variation between repeated identical queries in the same session.
Cross-project performance
No unexplained failure
Report all groups and investigate low-performing groups rather than relying only on the overall mean.
Operational performance
Target confirmed
Runtime and memory must support the intended document volume and reviewer workflow.
Processing stability
No critical failures
All required test cases complete without server error.
9. Test Procedure
Freeze the protocol, benchmark query set, risk taxonomy and acceptance criteria.
Upload a representative construction document set to the KAIRIAS Knowledge Base.
Navigate to Model Evaluation and select Run Benchmark in KAIRIAS.
Record the NLP engine name, software versions and hardware configuration.
Execute all benchmark queries against the held Knowledge Base.
Freeze the model configuration before recording final benchmark results.
Preserve raw results from the KAIRIAS Model Evaluation history panel.
Calculate Precision, Recall, F1 and Accuracy from TP/FP/FN counts.
Conduct structured error analysis on FP and FN cases without altering the reported configuration.
Document results, deviations, limitations and pass/fail outcome against each predefined criterion.
10. Error Analysis
False positives, false negatives and misclassified categories shall be reviewed and grouped by likely cause. Relevant categories include:
Ambiguous risk wording or insufficient surrounding context
Domain terminology gaps in the model's pre-training corpus
Negated or conditional risk expressions
Chunk boundary truncation of multi-sentence risk statements
"Continued rainfall may delay earthworks and increase pavement construction costs."
The annotation protocol must specify whether this is labelled as schedule risk, cost risk, both categories, or a hierarchical/multi-label instance. The model must be assessed against that predetermined rule.
11. Comparative Testing Controls
When — is compared with other KAIRIAS-compatible engines (YAKE, TF-IDF, BERT-base, RoBERTa, T5), the comparison shall use the same Knowledge Base, the same benchmark query set and common evaluation definitions wherever technically appropriate. Engine-specific behaviour shall be documented separately. No engine shall receive access to expected taxonomy labels during benchmark configuration.
12. Results Recording Template
Measure
Result
Acceptance Criterion
Status
Precision
Pending
>=0.80
Pending
Recall
Pending
>=0.70
Pending
F1-score
Pending
>=0.75
Pending
Accuracy (Jaccard)
Pending
Report where appropriate
Pending
Retrieval rate
Pending
>=0.90
Pending
Confidence
Pending
Record
Pending
Reproducibility
Pending
Consistent within session
Pending
Processing stability
Pending
No critical failures
Pending
13. Final Decision and Sign-off
Following completion of testing, — shall be classified as meeting, partially meeting or not meeting the predefined requirements. Engine selection shall consider the full evidence including predictive performance, error characteristics, reproducibility, inference speed and suitability for the intended infrastructure risk-identification task.
Role
Name
Signature
Date
Tester / Researcher
Reviewer / Supervisor
Approval / Record
Edit Risk
⭐
Upgrade to KAIRIAS Paid
Paid accounts get unlimited KAIRIAS Assess runs with AI-generated FMEA and unlimited
AI OCR uploads. Contact your KAIRIAS administrator to upgrade your account.