updated instructions with my wording
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
|
||||
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.
|
||||
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.
|
||||
Reference in New Issue
Block a user