Skip to content

Commit 0164f4b

Browse files
authored
Merge pull request anthropics#193 from anthropics/kenaizawa/writing_effective_tools
feat: writing effective tools blog post
2 parents afb6dad + e205ca8 commit 0164f4b

File tree

2 files changed

+971
-0
lines changed

2 files changed

+971
-0
lines changed

tool_evaluation/evaluation.xml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<evaluation>
2+
<task>
3+
<prompt>Calculate the compound interest on $10,000 invested at 5% annual interest rate, compounded monthly for 3 years. What is the final amount in dollars (rounded to 2 decimal places)?</prompt>
4+
<response>11614.72</response>
5+
</task>
6+
<task>
7+
<prompt>A projectile is launched at a 45-degree angle with an initial velocity of 50 m/s. Calculate the total distance (in meters) it has traveled from the launch point after 2 seconds, assuming g=9.8 m/s². Round to 2 decimal places.</prompt>
8+
<response>87.25</response>
9+
</task>
10+
<task>
11+
<prompt>A sphere has a volume of 500 cubic meters. Calculate its surface area in square meters. Round to 2 decimal places.</prompt>
12+
<response>304.65</response>
13+
</task>
14+
<task>
15+
<prompt>Calculate the population standard deviation of this dataset: [12, 15, 18, 22, 25, 30, 35]. Round to 2 decimal places.</prompt>
16+
<response>7.61</response>
17+
</task>
18+
<task>
19+
<prompt>Calculate the pH of a solution with a hydrogen ion concentration of 3.5 × 10^-5 M. Round to 2 decimal places.</prompt>
20+
<response>4.46</response>
21+
</task>
22+
<task>
23+
<prompt>Calculate the monthly payment for a $200,000 mortgage at 4.5% annual interest rate for 30 years (360 months). Use the standard mortgage payment formula. Round to 2 decimal places.</prompt>
24+
<response>1013.37</response>
25+
</task>
26+
<task>
27+
<prompt>Calculate the energy in joules of a photon with wavelength 550 nanometers. Use h = 6.626 × 10^-34 J·s and c = 3 × 10^8 m/s. Express the answer in scientific notation with 2 significant figures after the decimal (e.g., 3.61e-19).</prompt>
28+
<response>3.61e-19</response>
29+
</task>
30+
<task>
31+
<prompt>Find the larger real root of the quadratic equation 3x² - 7x + 2 = 0. Give the exact value.</prompt>
32+
<response>2</response>
33+
</task>
34+
</evaluation>

0 commit comments

Comments
 (0)