Hierarchical Document Scoring Using Canonical Paths and Weights

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing automated techniques for evaluating hierarchical documents, such as software code, fail to account for their structural hierarchy and importance of elements, leading to missed structural errors and inability to adapt to user-specific needs.

Innovation Solution

Generate a canonical representation of each hierarchical path within a document, assign weights based on path importance, calculate scores for errors and compliance with user-defined rules, and combine these scores to produce a composite evaluation metric.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If manual evaluation is used to detect errors in hierarchical documents, then evaluation accuracy is improved, but evaluation time and resource consumption increase significantly

Engineering Contradiction:
Improveerror detection accuracyVSAvoidevaluation time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent segments the hierarchical document into multiple hierarchical paths, each representing a specific navigation route from root to leaf nodes. By dividing the evaluation task into path-level segments, the system can process each path independently and efficiently, reducing overall evaluation time while maintaining comprehensive error detection across the entire document structure.

Inventive Principle:
Principle #1Segmentation

2Productivity

If existing automated techniques are used to evaluate documents, then evaluation speed is improved, but structural errors are missed due to failure to account for hierarchical structure

Engineering Contradiction:
Improveevaluation speedVSAvoidstructural error detection accuracy
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

The patent introduces a hierarchical dimension to the evaluation process by representing the document as a tree structure with multiple hierarchical paths. This dimensional transformation allows the system to capture structural relationships and dependencies that flat automated techniques miss, enabling detection of structural errors while maintaining evaluation speed through systematic path-based processing.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

3Ease of operation

If uniform evaluation is applied to all document elements, then evaluation process simplicity is improved, but importance of different elements cannot be accounted for

Engineering Contradiction:
Improveevaluation process simplicityVSAvoidelement importance assessment accuracy
Core Design Contradiction:
Ease of operationVSMeasurement precision

Solution Approach 1:

The patent applies local quality by assigning different weights to different hierarchical paths based on their importance. Each path receives a weight that reflects its significance to the overall document quality, allowing the evaluation process to focus more heavily on critical paths while still maintaining a systematic and relatively simple evaluation framework that processes all paths uniformly according to their assigned weights.

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS20260030433A1Enhanced automatic evaluation of hierarchical documents
Publication Date: 2026.01.29 INTUIT INC
  • US20260030433A1 patent drawing
  • US20260030433A1 patent drawing
  • US20260030433A1 patent drawing

AI summary

Aspects of the present disclosure relate to automated evaluation of hierarchical documents. Embodiments include generating a canonical representation of each hierarchical path within a document; assigning weights to each hierarchical path within the document based on the canonical representation of the hierarchical path; calculating a first score for each hierarchical path within the document based on: a corresponding weight for the hierarchical path; and identifying one or more errors within the hierarchical path based on the canonical representation of the hierarchical path; calculating a second score for each hierarchical path within the document based on: the corresponding weight for the hierarchical path; and determining whether a value within the canonical representation of the hierarchical path complies with a rule; and calculating a composite score for the document based on the first score and the second score for each hierarchical path within the document.