diff --git a/crates/ogar-action-handler/tests/ontology_cache.rs b/crates/ogar-action-handler/tests/ontology_cache.rs index 634dd3ec..7195c312 100644 --- a/crates/ogar-action-handler/tests/ontology_cache.rs +++ b/crates/ogar-action-handler/tests/ontology_cache.rs @@ -12,13 +12,17 @@ use std::path::Path; use lance_graph_ontology::namespace::SchemaKind; use ogar_action_handler::ogit::{OgitTables, Table, TypeId, entity_curies, load_registry}; -/// Entities OGAR's reader returns and the cache misses, measured on -/// AdaWorldAPI/OGIT `master` at `2315167`. -const ONLY_IN_THE_TABLES: [&str; 4] = [ - "ogit.Accounting:FiscalJurisdiction", - "ogit.PTF:Dummy", - "ogit.PTF:HiroTopology", - "ogit.PTF:Test", +/// Entities OGAR's reader returns and the cache misses. All three are +/// subclasses of `ogit.Healthcare:Assessment`, not direct subclasses of +/// `ogit:Entity`; OGAR's reader takes any class under an `entities/` +/// directory, the cache's `ttl_parse` only a direct `rdfs:subClassOf +/// ogit:Entity`. Measured on the AdaWorldAPI/OGIT branch that declares the +/// prefixes FiscalJurisdiction.ttl and the NTO/PTF entities lacked, which +/// removed the four entries this list used to hold. +const ONLY_IN_THE_TABLES: [&str; 3] = [ + "ogit.Healthcare:HistologicAssessment", + "ogit.Healthcare:MriAssessment", + "ogit.Healthcare:SonographicAssessment", ]; #[test] diff --git a/crates/ogar-from-schema/src/ttl_emit.rs b/crates/ogar-from-schema/src/ttl_emit.rs index 20616b97..e7f401a3 100644 --- a/crates/ogar-from-schema/src/ttl_emit.rs +++ b/crates/ogar-from-schema/src/ttl_emit.rs @@ -349,7 +349,9 @@ mod tests { fn nine_domains_lift_surface_round_trip() { for (domain, floor) in [ ("Transport", 27), - ("Accounting", 36), + // 33 since AdaWorldAPI/OGIT#11 removed three unreferenced + // Accounting files (two verbs, one attribute). + ("Accounting", 33), ("SalesDistribution", 23), ("Credit", 21), ("Cost", 5),