Skip to content

New test to port #38

Description

@LionelZoubritzky-IGN

On geocontext, PR ignfab/geocontext#207 added a new behavior and e2e test:

testName: "should find that Sivom swimming pool in Mondeville is the nearest pool to the LUX cinema in Caen, and that the walking distance is 29 minutes",
userInput: "Quel est le temps de marche exact entre le cinéma LUX, situé au sud-est de Caen, et la piscine la plus proche ?",
toolMode: "mcp",
requiredToolCalls: ["geocode", "gpf_search_types", "gpf_describe_type", "gpf_get_features", "distance"],
expectedResponseFragments: ["Sivom", "Mondeville"],
assertScenarioResult: ({ normalizedFinalMessage }) => {
  expect(containsNumberInRange(normalizedFinalMessage, 25, 35)).toBe(true);
},

Can it be ported in geocontext-test?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions