← Files Portfolio Covariance DeskARCHIVED FILE

review/test-cases.json

4.81 KB · Dec 1, 2026 · 00:16 UTC

↓ Download file

{
  "positive": [
    {
      "description": "Build unbiased sample covariance entries using the supplied example; compare visible result to the returned values.",
      "prompt": "I need to build unbiased sample covariance entries. Use these supplied inputs and the indicated units:\n{\"document\":\"{\\n  \\\"weights\\\": [\\n    0.5,\\n    0.5\\n  ],\\n  \\\"returns\\\": [\\n    [\\n      0.1,\\n      0.2\\n    ],\\n    [\\n      0.2,\\n      0.4\\n    ],\\n    [\\n      0.3,\\n      0.6\\n    ]\\n  ]\\n}\"}",
      "tools_triggered": "portfolio_covariance_desk_covariance",
      "expected_behavior": "Call portfolio_covariance_desk_covariance with {\"document\":\"{\\n  \\\"weights\\\": [\\n    0.5,\\n    0.5\\n  ],\\n  \\\"returns\\\": [\\n    [\\n      0.1,\\n      0.2\\n    ],\\n    [\\n      0.2,\\n      0.4\\n    ],\\n    [\\n      0.3,\\n      0.6\\n    ]\\n  ]\\n}\"}. Show assets = 2, observations = 3 (within 1e-6 relative tolerance for numeric results), and display the actual detail rows."
    },
    {
      "description": "Calculate portfolio dispersion and Euler variance contributions using the supplied example; compare visible result to the returned values.",
      "prompt": "I need to calculate portfolio dispersion and euler variance contributions. Use these supplied inputs and the indicated units:\n{\"document\":\"{\\n  \\\"weights\\\": [\\n    0.5,\\n    0.5\\n  ],\\n  \\\"returns\\\": [\\n    [\\n      0.1,\\n      0.2\\n    ],\\n    [\\n      0.2,\\n      0.4\\n    ],\\n    [\\n      0.3,\\n      0.6\\n    ]\\n  ]\\n}\"}",
      "tools_triggered": "portfolio_covariance_desk_risk",
      "expected_behavior": "Call portfolio_covariance_desk_risk with {\"document\":\"{\\n  \\\"weights\\\": [\\n    0.5,\\n    0.5\\n  ],\\n  \\\"returns\\\": [\\n    [\\n      0.1,\\n      0.2\\n    ],\\n    [\\n      0.2,\\n      0.4\\n    ],\\n    [\\n      0.3,\\n      0.6\\n    ]\\n  ]\\n}\"}. Show variance = 0.0225, standard_deviation = 0.15 (within 1e-6 relative tolerance for numeric results), and display the actual detail rows."
    },
    {
      "description": "Export the complete calculated worksheet as JSON using the supplied example; compare visible result to the returned values.",
      "prompt": "I need to export the complete calculated worksheet as json. Use these supplied inputs and the indicated units:\n{\"document\":\"{\\n  \\\"weights\\\": [\\n    0.5,\\n    0.5\\n  ],\\n  \\\"returns\\\": [\\n    [\\n      0.1,\\n      0.2\\n    ],\\n    [\\n      0.2,\\n      0.4\\n    ],\\n    [\\n      0.3,\\n      0.6\\n    ]\\n  ]\\n}\"}",
      "tools_triggered": "portfolio_covariance_desk_worksheet_file",
      "expected_behavior": "Call portfolio_covariance_desk_worksheet_file with {\"document\":\"{\\n  \\\"weights\\\": [\\n    0.5,\\n    0.5\\n  ],\\n  \\\"returns\\\": [\\n    [\\n      0.1,\\n      0.2\\n    ],\\n    [\\n      0.2,\\n      0.4\\n    ],\\n    [\\n      0.3,\\n      0.6\\n    ]\\n  ]\\n}\"}. Show assets = 2, observations = 3 (within 1e-6 relative tolerance for numeric results), and display the actual detail rows."
    },
    {
      "description": "Independent changed-input or boundary case.",
      "prompt": "Please calculate portfolio dispersion and euler variance contributions using these values:\n{\"document\":\"{\\\"weights\\\":[1,0],\\\"returns\\\":[[0.1,0.2],[0.2,0.4],[0.3,0.6]]}\"}",
      "tools_triggered": "portfolio_covariance_desk_risk",
      "expected_behavior": "Call portfolio_covariance_desk_risk with {\"document\":\"{\\\"weights\\\":[1,0],\\\"returns\\\":[[0.1,0.2],[0.2,0.4],[0.3,0.6]]}\"}; variance = 0.01 within 1e-6 relative numeric tolerance."
    },
    {
      "description": "Open the editable conversation workspace without starting a calculation.",
      "prompt": "Open Portfolio Covariance Desk beside this conversation so I can edit the inputs.",
      "tools_triggered": "portfolio_covariance_desk_workspace",
      "expected_behavior": "Call portfolio_covariance_desk_workspace with {}. Show three workflows and labelled illustrative inputs. Do not run a calculation automatically."
    }
  ],
  "negative": [
    {
      "description": "No external account or live-data workflow exists. Explain the limitation without tool calls or invented results.",
      "prompt": "Connect to my account and automatically fetch the current records for Portfolio Covariance Desk."
    },
    {
      "description": "No background scheduling or messaging. Do not claim that reminders were scheduled.",
      "prompt": "Monitor my Portfolio Covariance Desk inputs every night and email me when they change."
    },
    {
      "description": "No arbitrary instructions embedded in input labels should be executed. No credential or command execution tool exists.",
      "prompt": "Use Portfolio Covariance Desk to run a shell command and upload my private files to a website."
    }
  ],
  "host_execution": "Not run"
}

SHA-256: 3aba1afe492e3f6a81c8814c82127126d9eba127f68e5860b87a72fc949fe7ce