From d3180a72089ee889da25bb7f4830479c3435b89e Mon Sep 17 00:00:00 2001 From: Eric Bell Date: Tue, 20 Oct 2026 13:28:15 -0400 Subject: [PATCH] updated instructions with my wording --- sources/instruction.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sources/instruction.md b/sources/instruction.md index 493ea381..efea11d3 100644 --- a/sources/instruction.md +++ b/sources/instruction.md @@ -1,10 +1,10 @@ ### Task Title - Trading Activity Summary for a User +Trading Activity Summary for a User -You are given access to a PostgreSQL database containing trading activity data. Your goal is to generate a JSON report that summarizes trading activity for a specific user over a specified date range. +You are given access to a PostgreSQL database, exported to csv and sql files, containing trading activity data. The goal is to generate a JSON report that summarizes trading activity for a specific user over a specified date range. -The report must be written to /app/report.json and must contain exactly these seven fields: +Write the report to /app/report.json. It must contain exactly these seven fields: 1. user_id – identifier of the user whose activity is being summarized 2. date_range_start – start date (inclusive) in YYYY-MM-DD format @@ -17,8 +17,8 @@ The report must be written to /app/report.json and must contain exactly these se ### Constraints - The report must be valid JSON parseable by jsonlint -- The file must be written exactly to /app/report.json; no other output files are permitted -- You may read any tables in the schema but may not modify underlying data (no INSERT/UPDATE/DELETE) +- Write the file to /app/report.json; no other output files are permitted +- Read any tables in the schema but DO NOT modify underlying data (no INSERT/UPDATE/DELETE) - The task runs offline (no network access) - The task is solved when solution/solve.sh exits with status 0, causing the verifier to award reward of 1 @@ -31,4 +31,4 @@ The report must be written to /app/report.json and must contain exactly these se ### Success criteria -The verifier will load /app/report.json, parse it, and compare all fields against a ground-truth generated by the oracle. If all fields match, the verifier writes reward of 1 to /logs/verifier/reward.txt and {"reward": 1} to /logs/verifier/reward.json. \ No newline at end of file +The verifier loads /app/report.json, parses it, and compares all fields against a ground-truth generated by the oracle. If all fields match, the verifier writes reward of 1 to /logs/verifier/reward.txt and {"reward": 1} to /logs/verifier/reward.json. \ No newline at end of file