RagLeap
Tests

Tests: ragleap-graph (Java port)

Test files: 43. Test functions: 196. Described by their authors (docstring or @DisplayName): 0. Where there is no description, the line shows the test name in words and says so.

Latest result: ragleap-graph-java-tests passed 144 passed, 52 skipped, 0 failed CI job

AuditSinkParityTest.java — 1 tests

Compares PostgresAuditSink with the real Python AuditLogger (stubbed psycopg2): every connect, autocommit, execute with its parameters, close, and the kinds of warnings, for 27 scripted scenarios.

  • auditSinkMatchesPython
    Audit Sink Matches Python (no description in the source; shown from the name)
AuditSinkTest.java — 10 tests

Offline tests of the audit pieces: strict JSON, libpq URL conversion, and the never-throw contract.

  • auditJsonFormatsLikePythonJsonDumps
    Audit Json Formats Like Python Json Dumps (no description in the source; shown from the name)
  • auditJsonRejectsWhatPythonRejects
    Audit Json Rejects What Python Rejects (no description in the source; shown from the name)
  • libpqUrlBasic
    Libpq Url Basic (no description in the source; shown from the name)
  • libpqUrlDefaultsAndBothSchemes
    Libpq Url Defaults And Both Schemes (no description in the source; shown from the name)
  • libpqUrlDecodesUserInfoAndKeepsTheQuery
    Libpq Url Decodes User Info And Keeps The Query (no description in the source; shown from the name)
  • libpqUrlHandlesIpv6AndUnderscoresInHostNames
    Libpq Url Handles Ipv6 And Underscores In Host Names (no description in the source; shown from the name)
  • libpqUrlRejectsWhatItCannotConvert
    Libpq Url Rejects What It Cannot Convert (no description in the source; shown from the name)
  • aDisabledSinkNeverOpensAConnection
    A Disabled Sink Never Opens AConnection (no description in the source; shown from the name)
  • aFailingConnectionNeverBreaksLog
    A Failing Connection Never Breaks Log (no description in the source; shown from the name)
  • closeWithoutAConnectionIsSafe
    Close Without AConnection Is Safe (no description in the source; shown from the name)
BackfillParityTest.java — 1 tests

Compares Cypher, parameters, results and errors of the three backfills with the real Python code.

  • behavesLikePython
    Behaves Like Python (no description in the source; shown from the name)
CommunitiesParityTest.java — 1 tests

Compares Communities with the real Python code (recorded by parity/gen_fixtures_communities.py): every community, every float bit, every error.

  • detectAndModularityMatchPython
    Detect And Modularity Match Python (no description in the source; shown from the name)
CommunitiesTest.java — 10 tests

Properties of Communities that need no recorded Python output (exact values are in CommunitiesParityTest).

  • noEdgesAndOnlyInvalidEdgesGiveNoCommunities
    No Edges And Only Invalid Edges Give No Communities (no description in the source; shown from the name)
  • invalidEdgesAreIgnored
    Invalid Edges Are Ignored (no description in the source; shown from the name)
  • edgeOrderAndDirectionDoNotMatter
    Edge Order And Direction Do Not Matter (no description in the source; shown from the name)
  • duplicateEdgesAreSummed
    Duplicate Edges Are Summed (no description in the source; shown from the name)
  • disconnectedPartsAreNeverMerged
    Disconnected Parts Are Never Merged (no description in the source; shown from the name)
  • membersAreSortedByCodePointNotUtf16
    Members Are Sorted By Code Point Not Utf16 (no description in the source; shown from the name)
  • minSizeFiltersAndSizeMatchesMembers
    Min Size Filters And Size Matches Members (no description in the source; shown from the name)
  • membersHashMatchesCompositeKey
    Members Hash Matches Composite Key (no description in the source; shown from the name)
  • invalidArgumentsAreRejectedResolutionFirst
    Invalid Arguments Are Rejected Resolution First (no description in the source; shown from the name)
  • modularityBasics
    Modularity Basics (no description in the source; shown from the name)
ExtractionCoreParityTest.java — 5 tests

Compares the pure extraction parts with the real Python code, case by case.

  • ratioMatchesPython
    Ratio Matches Python (no description in the source; shown from the name)
  • normalizeMatchesPython
    Normalize Matches Python (no description in the source; shown from the name)
  • resolveMatchesPython
    Resolve Matches Python (no description in the source; shown from the name)
  • configMatchesPython
    Config Matches Python (no description in the source; shown from the name)
  • reprMatchesPython
    Repr Matches Python (no description in the source; shown from the name)
ExtractionCoreTest.java — 8 tests

Offline tests of the pure extraction parts (hand-computed expectations; the parity tests compare with Python).

  • ratioKnownValues
    Ratio Known Values (no description in the source; shown from the name)
  • ratioCountsCodePointsNotUtf16Units
    Ratio Counts Code Points Not Utf16 Units (no description in the source; shown from the name)
  • normalizeRemovesPunctuationAndCollapsesSpace
    Normalize Removes Punctuation And Collapses Space (no description in the source; shown from the name)
  • resolveMergesVariantsToTheLongestName
    Resolve Merges Variants To The Longest Name (no description in the source; shown from the name)
  • firstLongestNameWinsATie
    First Longest Name Wins ATie (no description in the source; shown from the name)
  • deduplicatorRejectsBadThresholds
    Deduplicator Rejects Bad Thresholds (no description in the source; shown from the name)
  • configDefaultsAndValidationOrder
    Config Defaults And Validation Order (no description in the source; shown from the name)
  • reprFollowsPython
    Repr Follows Python (no description in the source; shown from the name)
GraphIndexCommunitiesParityTest.java — 2 tests

Compares the GraphIndex community methods with the real Python methods (recorded by parity/gen_fixtures_community_index.py): the Cypher texts (whitespace-normalized), every statement with its exact parameters and their types (int vs float), every audit call, every summarizer input, and every result or error.

  • cypherTextsMatchPython
    Cypher Texts Match Python (no description in the source; shown from the name)
  • communityMethodsMatchPython
    Community Methods Match Python (no description in the source; shown from the name)
GraphIndexCommunitiesTest.java — 7 tests

Community methods of GraphIndex against a scripted runner (exact Cypher and values are in the parity test).

  • unavailableIndexReturnsEmptyAndReportsError
    Unavailable Index Returns Empty And Reports Error (no description in the source; shown from the name)
  • argumentsAreValidatedBeforeAvailability
    Arguments Are Validated Before Availability (no description in the source; shown from the name)
  • edgeLimitIsMaxEdgesPlusOneAndTooManyEdgesRaise
    Edge Limit Is Max Edges Plus One And Too Many Edges Raise (no description in the source; shown from the name)
  • refreshCreatesKeepsAndRemoves
    Refresh Creates Keeps And Removes (no description in the source; shown from the name)
  • blankSummaryIsCountedAsErrorAndGoodSummaryIsStrippedAndStored
    Blank Summary Is Counted As Error And Good Summary Is Stripped And Stored (no description in the source; shown from the name)
  • summaryIsCutByCodePointsAndFailingSummarizerNeverRaises
    Summary Is Cut By Code Points And Failing Summarizer Never Raises (no description in the source; shown from the name)
  • findWithOnlyBlankNamesDoesNotQuery
    Find With Only Blank Names Does Not Query (no description in the source; shown from the name)
GraphIndexTest.java — 11 tests

No file-level description in the source.

  • unreachableServerDegradesGracefully
    Unreachable Server Degrades Gracefully (no description in the source; shown from the name)
  • failedConnectivityClosesTheRunnerAndMakesTheIndexUnavailable
    Failed Connectivity Closes The Runner And Makes The Index Unavailable (no description in the source; shown from the name)
  • constraintsAreCreatedInOrderAndAFailureStopsTheRestButKeepsTheIndexUsable
    Constraints Are Created In Order And AFailure Stops The Rest But Keeps The Index Usable (no description in the source; shown from the name)
  • allSixConstraintsAreCreatedWhenEverythingWorks
    All Six Constraints Are Created When Everything Works (no description in the source; shown from the name)
  • transientErrorsAreRetriedWithBackoff
    Transient Errors Are Retried With Backoff (no description in the source; shown from the name)
  • givesUpAfterThreeTransientErrorsWithoutAuditing
    Gives Up After Three Transient Errors Without Auditing (no description in the source; shown from the name)
  • otherErrorsAreNotRetried
    Other Errors Are Not Retried (no description in the source; shown from the name)
  • findDocumentsMapsRowsAndAudits
    Find Documents Maps Rows And Audits (no description in the source; shown from the name)
  • findDocumentsSkipsTheQueryWhenNoUsableNames
    Find Documents Skips The Query When No Usable Names (no description in the source; shown from the name)
  • queryErrorsReturnEmptyResults
    Query Errors Return Empty Results (no description in the source; shown from the name)
  • auditFailureNeverBreaksTheOperation
    Audit Failure Never Breaks The Operation (no description in the source; shown from the name)
GraphQueryTest.java — 6 tests

No file-level description in the source.

  • depthAndDirectionAreCheckedEvenWhenUnavailable
    Depth And Direction Are Checked Even When Unavailable (no description in the source; shown from the name)
  • unavailableIndexReturnsEmptyResults
    Unavailable Index Returns Empty Results (no description in the source; shown from the name)
  • blankAndInvalidInputsSkipTheQuery
    Blank And Invalid Inputs Skip The Query (no description in the source; shown from the name)
  • depthIsFormattedIntoTheQuery
    Depth Is Formatted Into The Query (no description in the source; shown from the name)
  • lineageIsCutToTheLimitButAuditsTheFullCount
    Lineage Is Cut To The Limit But Audits The Full Count (no description in the source; shown from the name)
  • queryErrorsReturnEmptyResults
    Query Errors Return Empty Results (no description in the source; shown from the name)
GraphRetrieverCommunitiesParityTest.java — 2 tests

Compares GraphRetriever with include_communities and the two new config fields with the real Python code (recorded by parity/gen_fixtures_retrieval_communities.py): every call in order, every result, every error.

  • retrieveMatchesPython
    Retrieve Matches Python (no description in the source; shown from the name)
  • configMatchesPython
    Config Matches Python (no description in the source; shown from the name)
GraphRetrieverCommunitiesTest.java — 9 tests

Opt-in community lookup of GraphRetriever (ports of the Python tests; exact recordings are in the parity test).

  • configDefaultsAndValidation
    Config Defaults And Validation (no description in the source; shown from the name)
  • offByDefaultChangesNothing
    Off By Default Changes Nothing (no description in the source; shown from the name)
  • enabledCallsFindCommunitiesWithExactArguments
    Enabled Calls Find Communities With Exact Arguments (no description in the source; shown from the name)
  • enabledAddsContextAndCitationsAfterChunksAndGraphPaths
    Enabled Adds Context And Citations After Chunks And Graph Paths (no description in the source; shown from the name)
  • summaryPreviewIsCutAt150CodePoints
    Summary Preview Is Cut At150 Code Points (no description in the source; shown from the name)
  • noQueryEntitiesSkipsTheLookup
    No Query Entities Skips The Lookup (no description in the source; shown from the name)
  • worksInGraphOnlyModeWithoutVectorSearch
    Works In Graph Only Mode Without Vector Search (no description in the source; shown from the name)
  • graphContextWithoutCommunitiesKeepsThemNull
    Graph Context Without Communities Keeps Them Null (no description in the source; shown from the name)
  • graphIndexHookLooksUpCommunitiesWithoutMemberNames
    Graph Index Hook Looks Up Communities Without Member Names (no description in the source; shown from the name)
GraphRetrieverParityTest.java — 2 tests

Compares GraphRetriever and GraphRetrievalConfig with the real Python code: every call, every result, every error.

  • retrieveMatchesPython
    Retrieve Matches Python (no description in the source; shown from the name)
  • configMatchesPython
    Config Matches Python (no description in the source; shown from the name)
GraphRetrieverTest.java — 16 tests

Offline tests of GraphRetriever: ports of the Python tests (fakes, no services) plus a few extras.

  • configDefaults
    Config Defaults (no description in the source; shown from the name)
  • configRejectsBadValues
    Config Rejects Bad Values (no description in the source; shown from the name)
  • hybridCombinesChunksAndGraphContext
    Hybrid Combines Chunks And Graph Context (no description in the source; shown from the name)
  • hybridPassesTheRightArgumentsToTheVectorSide
    Hybrid Passes The Right Arguments To The Vector Side (no description in the source; shown from the name)
  • citationsIncludeBothKinds
    Citations Include Both Kinds (no description in the source; shown from the name)
  • noQueryEntitiesSkipsGraphCallsButStillReturnsChunks
    No Query Entities Skips Graph Calls But Still Returns Chunks (no description in the source; shown from the name)
  • graphOnlyNeverCallsTheVectorSide
    Graph Only Never Calls The Vector Side (no description in the source; shown from the name)
  • graphOnlyStillPopulatesGraphContext
    Graph Only Still Populates Graph Context (no description in the source; shown from the name)
  • configValuesAreRoutedToTheGraphCalls
    Config Values Are Routed To The Graph Calls (no description in the source; shown from the name)
  • relatedDocumentsAreFlaggedWhenTheyOverlapVectorChunks
    Related Documents Are Flagged When They Overlap Vector Chunks (no description in the source; shown from the name)
  • missingDocumentNameBecomesUnknownButNullStaysNull
    Missing Document Name Becomes Unknown But Null Stays Null (no description in the source; shown from the name)
  • previewsAreCutAt150CodePointsWithAnEllipsisOnlyWhenLonger
    Previews Are Cut At150 Code Points With An Ellipsis Only When Longer (no description in the source; shown from the name)
  • domainTermsAreRoutedToEntityExtraction
    Domain Terms Are Routed To Entity Extraction (no description in the source; shown from the name)
  • hybridModeWithoutAVectorSideFailsAfterTheGraphLookups
    Hybrid Mode Without AVector Side Fails After The Graph Lookups (no description in the source; shown from the name)
  • aTextThatIsNotAStringIsRejected
    A Text That Is Not AString Is Rejected (no description in the source; shown from the name)
  • anUnreachableGraphStillReturnsVectorChunks
    An Unreachable Graph Still Returns Vector Chunks (no description in the source; shown from the name)
LiveAuditTest.java — 2 tests

Runs against a real Postgres test database (RAGLEAP_JAVA_TEST_DATABASE_URL, a libpq URI) and, for the second test, a real Neo4j test server.

  • theSinkWritesRealRows
    The Sink Writes Real Rows (no description in the source; shown from the name)
  • aGraphIndexWritesAnAuditRowOnUpsert
    A Graph Index Writes An Audit Row On Upsert (no description in the source; shown from the name)
LiveBackfillTest.java — 2 tests

Runs against a real Neo4j test server.

  • backfillsFixLegacyData
    Backfills Fix Legacy Data (no description in the source; shown from the name)
  • runnerAppliesRecordsAndIsIdempotent
    Runner Applies Records And Is Idempotent (no description in the source; shown from the name)
LiveCommunitiesTest.java — 1 tests

Community methods against a real Neo4j test server, in a unique namespace that is removed afterwards.

  • communityMethodsOnASeededGraph
    Community Methods On ASeeded Graph (no description in the source; shown from the name)
LiveExtractionTest.java — 2 tests

Runs against a real Neo4j test server with a scripted model client (no real LLM is called).

  • llmExtractionWithDedupLandsInNeo4j
    Llm Extraction With Dedup Lands In Neo4j (no description in the source; shown from the name)
  • failedExtractionWritesNothing
    Failed Extraction Writes Nothing (no description in the source; shown from the name)
LiveNeo4jTest.java — 4 tests

Runs against a real Neo4j test server.

  • roundTrip
    Round Trip (no description in the source; shown from the name)
  • containsEdgesAreIdempotentAndStaleOnesAreRemoved
    Contains Edges Are Idempotent And Stale Ones Are Removed (no description in the source; shown from the name)
  • coOccursWeightsTrackPerDocumentContributions
    Co Occurs Weights Track Per Document Contributions (no description in the source; shown from the name)
  • concurrentUpsertsOfTheSameDocumentCreateNoDuplicates
    Concurrent Upserts Of The Same Document Create No Duplicates (no description in the source; shown from the name)
LiveQueryTest.java — 1 tests

Runs against a real Neo4j test server, in a unique namespace that is removed afterwards.

  • queryMethodsOnASeededGraph
    Query Methods On ASeeded Graph (no description in the source; shown from the name)
LiveRetrievalTest.java — 1 tests

Runs against a real Neo4j test server; the vector side is a stand-in.

  • retrievalOverARealGraph
    Retrieval Over AReal Graph (no description in the source; shown from the name)
LiveTemporalTest.java — 1 tests

Temporal relation edges against a real Neo4j (own namespace, removed afterwards).

  • openCloseReopenAndAsOf
    Open Close Reopen And As Of (no description in the source; shown from the name)
LiveTenantIsolationTest.java — 4 tests

Tenant isolation against a real Neo4j: tenant A must see exactly what it would see if it were alone, even with deliberate cross-tenant edges ("bait").

  • tenantASeesOnlyWhatItWouldSeeAlone
    Tenant ASees Only What It Would See Alone (no description in the source; shown from the name)
  • communityLookupsIgnoreOtherTenants
    Community Lookups Ignore Other Tenants (no description in the source; shown from the name)
  • refreshForOneTenantLeavesOtherTenantsCommunitiesUntouched
    Refresh For One Tenant Leaves Other Tenants Communities Untouched (no description in the source; shown from the name)
  • summarizerInputsContainOnlyTheOwnTenant
    Summarizer Inputs Contain Only The Own Tenant (no description in the source; shown from the name)
LiveUserIsolationTest.java — 5 tests

User and namespace isolation against a real Neo4j.

  • userScopedReadsMatchWhatTheUserSeesAlone
    User Scoped Reads Match What The User Sees Alone (no description in the source; shown from the name)
  • communityLookupsIgnoreOtherUsersAndNamespaces
    Community Lookups Ignore Other Users And Namespaces (no description in the source; shown from the name)
  • pruningRefreshKeepsOtherUsersCommunities
    Pruning Refresh Keeps Other Users Communities (no description in the source; shown from the name)
  • displayNamesStatementReturnsOnlyTheOwnUsersEntities
    Display Names Statement Returns Only The Own Users Entities (no description in the source; shown from the name)
  • summarizerInputsIgnoreOtherUsersAndNamespaces
    Summarizer Inputs Ignore Other Users And Namespaces (no description in the source; shown from the name)
LlmExtractorParityTest.java — 2 tests

Compares the LLM extractors with the real Python classes (scripted model answers): prompts, parsing, errors.

  • entityExtractorMatchesPython
    Entity Extractor Matches Python (no description in the source; shown from the name)
  • relationExtractorMatchesPython
    Relation Extractor Matches Python (no description in the source; shown from the name)
LlmExtractorTest.java — 8 tests

Offline tests of the LLM extractors with scripted model answers (hand-written expectations).

  • instructionsMatchThePythonText
    Instructions Match The Python Text (no description in the source; shown from the name)
  • providerFailureMessageUsesPythonNone
    Provider Failure Message Uses Python None (no description in the source; shown from the name)
  • nullNameBecomesNoneAndTheCapCountsBlankSlots
    Null Name Becomes None And The Cap Counts Blank Slots (no description in the source; shown from the name)
  • typesOutsideTheListBecomeUnknown
    Types Outside The List Become Unknown (no description in the source; shown from the name)
  • malformedAnswerMentionsEnforcementAndRepr
    Malformed Answer Mentions Enforcement And Repr (no description in the source; shown from the name)
  • relationsAreFilteredAndKeepTheModelsCasing
    Relations Are Filtered And Keep The Models Casing (no description in the source; shown from the name)
  • ontologyFiltersOnlyConstrainedTypes
    Ontology Filters Only Constrained Types (no description in the source; shown from the name)
  • fewerThanTwoKnownEntitiesMakeNoCall
    Fewer Than Two Known Entities Make No Call (no description in the source; shown from the name)
MigrationParityTest.java — 2 tests

Compares the migration runner and the registry with the real Python code, call by call.

  • runnerBehavesLikePython
    Runner Behaves Like Python (no description in the source; shown from the name)
  • registryMatchesPython
    Registry Matches Python (no description in the source; shown from the name)
MigrationRunnerTest.java — 14 tests

Offline tests of the migration runner and the backfills (ports of the offline Python tests plus edge cases).

  • requiresARunner
    Requires ARunner (no description in the source; shown from the name)
  • sortsMigrationsById
    Sorts Migrations By Id (no description in the source; shown from the name)
  • dryRunReportsWithoutExecuting
    Dry Run Reports Without Executing (no description in the source; shown from the name)
  • skipsAlreadyAppliedMigrations
    Skips Already Applied Migrations (no description in the source; shown from the name)
  • appliesPendingMigrationsAndRecordsThem
    Applies Pending Migrations And Records Them (no description in the source; shown from the name)
  • stopsOnFirstFailureAndDoesNotContinue
    Stops On First Failure And Does Not Continue (no description in the source; shown from the name)
  • statusReportsAppliedAndPending
    Status Reports Applied And Pending (no description in the source; shown from the name)
  • defaultDownIsNotSupported
    Default Down Is Not Supported (no description in the source; shown from the name)
  • registryHasUniqueSortedIds
    Registry Has Unique Sorted Ids (no description in the source; shown from the name)
  • batchSizeZeroIsRejectedAfterTheFirstRead
    Batch Size Zero Is Rejected After The First Read (no description in the source; shown from the name)
  • negativeBatchSizeWritesNothingButReportsTheCount
    Negative Batch Size Writes Nothing But Reports The Count (no description in the source; shown from the name)
  • writesInBatches
    Writes In Batches (no description in the source; shown from the name)
  • userIdDefaultsReportsEveryLabel
    User Id Defaults Reports Every Label (no description in the source; shown from the name)
  • unreachableServerGivesZeroCountsAndNoRunner
    Unreachable Server Gives Zero Counts And No Runner (no description in the source; shown from the name)
ParityTest.java — 4 tests

Compares Java output with fixtures generated from the pinned Python source.

  • normalize
    Normalize (no description in the source; shown from the name)
  • extract
    Extract (no description in the source; shown from the name)
  • compositeKey
    Composite Key (no description in the source; shown from the name)
  • stopwords
    Stopwords (no description in the source; shown from the name)
PureLogicTest.java — 9 tests

No file-level description in the source.

  • normalizeEmptyAndShort
    Normalize Empty And Short (no description in the source; shown from the name)
  • normalizeCollapsesWhitespaceAndStripsPunctuation
    Normalize Collapses Whitespace And Strips Punctuation (no description in the source; shown from the name)
  • normalizeAcronymsAndTitleCase
    Normalize Acronyms And Title Case (no description in the source; shown from the name)
  • normalizeTruncatesLongNames
    Normalize Truncates Long Names (no description in the source; shown from the name)
  • extractFindsAcronymsAndPhrases
    Extract Finds Acronyms And Phrases (no description in the source; shown from the name)
  • extractDropsSentenceInitialStopwords
    Extract Drops Sentence Initial Stopwords (no description in the source; shown from the name)
  • extractDeduplicatesAndRespectsMax
    Extract Deduplicates And Respects Max (no description in the source; shown from the name)
  • domainTermsAreOptional
    Domain Terms Are Optional (no description in the source; shown from the name)
  • compositeKeyMatchesKnownSha256Vectors
    Composite Key Matches Known Sha256 Vectors (no description in the source; shown from the name)
PyJsonTest.java — 4 tests

No file-level description in the source.

  • dumpsLikePythonJsonDumps
    Dumps Like Python Json Dumps (no description in the source; shown from the name)
  • escapesLikeEnsureAscii
    Escapes Like Ensure Ascii (no description in the source; shown from the name)
  • floatReprMatchesPython
    Float Repr Matches Python (no description in the source; shown from the name)
  • codePointOrderDiffersFromUtf16Order
    Code Point Order Differs From Utf16 Order (no description in the source; shown from the name)
PyTextParityTest.java — 2 tests

Compares lower-casing and code point ordering with Python's behaviour.

  • lowerMatchesPython
    Lower Matches Python (no description in the source; shown from the name)
  • codePointOrderMatchesPython
    Code Point Order Matches Python (no description in the source; shown from the name)
QueryApiRunnerTest.java — 8 tests

No file-level description in the source.

  • mapsRowsAndValueTypes
    Maps Rows And Value Types (no description in the source; shown from the name)
  • sendsDoublesWithDecimalPointAndIntegersWithout
    Sends Doubles With Decimal Point And Integers Without (no description in the source; shown from the name)
  • sendsBasicAuthAndUsesTheQueryApiPath
    Sends Basic Auth And Uses The Query Api Path (no description in the source; shown from the name)
  • mapsTransientAndClientErrors
    Maps Transient And Client Errors (no description in the source; shown from the name)
  • httpErrorWithoutBodyIsReported
    Http Error Without Body Is Reported (no description in the source; shown from the name)
  • connectionFailureIsAGraphException
    Connection Failure Is AGraph Exception (no description in the source; shown from the name)
  • rejectsNonFiniteNumbers
    Rejects Non Finite Numbers (no description in the source; shown from the name)
  • passwordIsNotPrintedByToString
    Password Is Not Printed By To String (no description in the source; shown from the name)
QueryParityTest.java — 1 tests

Compares Cypher, parameters, return values and audit events with the real Python code, per method call.

  • queryMethodsMatchPython
    Query Methods Match Python (no description in the source; shown from the name)
TemporalParityTest.java — 2 tests

Compares the temporal statements with the real Python code (recorded by parity/gen_fixtures_temporal.py): the statement texts (whitespace-normalized) and, for find_relations, the exact statement and parameters of 36 call shapes.

  • statementTextsMatchPython
    Statement Texts Match Python (no description in the source; shown from the name)
  • findRelationsMatchesPython
    Find Relations Matches Python (no description in the source; shown from the name)
TemporalRelationsTest.java — 7 tests

Temporal relation edges on a scripted runner (exact statements against Python are in TemporalParityTest).

  • defaultReadsAreUnchanged
    Default Reads Are Unchanged (no description in the source; shown from the name)
  • temporalReadsSeeOnlyOpenEdgesBeforeReturn
    Temporal Reads See Only Open Edges Before Return (no description in the source; shown from the name)
  • asOfFiltersTheIntervalAndSendsAnIsoStringWithSeconds
    As Of Filters The Interval And Sends An Iso String With Seconds (no description in the source; shown from the name)
  • directionIsStillCheckedFirst
    Direction Is Still Checked First (no description in the source; shown from the name)
  • communityStoreChoosesOpenVariantsOnlyWhenTemporal
    Community Store Chooses Open Variants Only When Temporal (no description in the source; shown from the name)
  • upsertUsesTheTemporalRefreshOnlyWhenTemporal
    Upsert Uses The Temporal Refresh Only When Temporal (no description in the source; shown from the name)
  • communitySummaryRelationsUseTheOpenVariantOnlyWhenTemporal
    Community Summary Relations Use The Open Variant Only When Temporal (no description in the source; shown from the name)
TenantIsolationTest.java — 3 tests

Offline layer: every tenant-scoped read sends the scope it was given with every statement it runs.

  • everyReadSendsTheScopeItWasGiven
    Every Read Sends The Scope It Was Given (no description in the source; shown from the name)
  • twoScopesSendDifferentParameters
    Two Scopes Send Different Parameters (no description in the source; shown from the name)
  • theDefaultScopeIsEmptyStrings
    The Default Scope Is Empty Strings (no description in the source; shown from the name)
UpsertExtractionParityTest.java — 1 tests

Compares upsertDocument with extraction against the real Python code: every Cypher statement and parameter, every model call (prompt, text, schema, temperature), the summary, and the error when extraction fails.

  • upsertWithExtractionMatchesPython
    Upsert With Extraction Matches Python (no description in the source; shown from the name)
UpsertExtractionTest.java — 6 tests

Offline tests of upsertDocument with extraction (scripted model answers, recording runner).

  • llmUpsertCountsEntitiesPairsAndRelations
    Llm Upsert Counts Entities Pairs And Relations (no description in the source; shown from the name)
  • blankChunksMakeNoModelCalls
    Blank Chunks Make No Model Calls (no description in the source; shown from the name)
  • extractionErrorsPropagateAndWriteNothing
    Extraction Errors Propagate And Write Nothing (no description in the source; shown from the name)
  • dedupMergesNearDuplicateNames
    Dedup Merges Near Duplicate Names (no description in the source; shown from the name)
  • crossChunkPassUsesTheFullTextAndEveryEntity
    Cross Chunk Pass Uses The Full Text And Every Entity (no description in the source; shown from the name)
  • regexConfigNeverCallsAModel
    Regex Config Never Calls AModel (no description in the source; shown from the name)
UpsertParityTest.java — 1 tests

Compares the Cypher statements and parameters Java sends with those the real Python code sends.

  • upsertStatementsMatchPython
    Upsert Statements Match Python (no description in the source; shown from the name)
RagLeapGenerationClientTest.java — 5 tests

Runs the real ragleap-rag GenerationService against a local fake OpenAI-style server.

  • resultFieldsAreMappedAndStructuredOutputIsValidated
    Result Fields Are Mapped And Structured Output Is Validated (no description in the source; shown from the name)
  • entityExtractionSendsTheExactPromptAndSchema
    Entity Extraction Sends The Exact Prompt And Schema (no description in the source; shown from the name)
  • relationExtractionWorksEndToEnd
    Relation Extraction Works End To End (no description in the source; shown from the name)
  • providerFailureBecomesTheSameExtractionError
    Provider Failure Becomes The Same Extraction Error (no description in the source; shown from the name)
  • nullArgumentsAreRejected
    Null Arguments Are Rejected (no description in the source; shown from the name)
RagLeapVectorSearchTest.java — 3 tests

Tests the conversion and error handling with a stand-in retrieve function (no database).

  • searchResultsBecomeChunkMapsAndHybridIsRequested
    Search Results Become Chunk Maps And Hybrid Is Requested (no description in the source; shown from the name)
  • aDatabaseErrorBecomesAnIllegalStateExceptionWithTheCause
    A Database Error Becomes An Illegal State Exception With The Cause (no description in the source; shown from the name)
  • nullArgumentsAreRejected
    Null Arguments Are Rejected (no description in the source; shown from the name)

Compiled by script from the public repository, its CI logs and the GitHub API. To correct something, open an issue.

All tests