Summary and review on first 32 days
Taking Building with the Claude API. Notes from today
- Improve test cases in graders by having prompt ask for some solution criteria be included for each test case eg.
Example code modifications generate_data() and grade_by_model():
```json[ { "task": "Description of task", "format": "json" or "python" or "regex", "solution_criteria": "Key criteria for evaluating the solution" },Criteria you should use to evaluate the solution:<criteria>{test_case["solution_criteria"]}</criteria>This should now be in response "solution_criteria": "The regex should correctly capture three groups: timestamp (ISO 8601 format), log level (ERROR, WARN, INFO, DEBUG), and message content. Should handle various message lengths and special characters." },
Treehouse Build & Launch an App in 30 Minutes with Cursor
- Cursor is fork of VSCode integrated with AI features
- If you want to create a simple full stack notetaking apps, you use npm run dev to run an out-of-box nextjs app
- You can use Cursor to config Firebase to add to app – it can create env files, etc. to integrate Google sign-in component
Re-reading The Second Machine Age and reading Empire of AI
- Really bummed about how things don’t have to be this way and so many of the predictions/warnings in the Second Machine Age came to pass
Leave a Reply