Spaces:
Sleeping
Sleeping
Aryanshh commited on
Commit ·
27b68d3
1
Parent(s): 9585d50
chore: Final cleanup of legacy artifacts and caches
Browse files- .hypothesis/constants/03f95c9381513230 +0 -4
- .hypothesis/constants/0b6377447afcf9ae +0 -4
- .hypothesis/constants/6ad84fe56c3b5cab +0 -4
- .hypothesis/constants/da39a3ee5e6b4b0d +0 -4
- .hypothesis/constants/e5e4cb03270dca71 +0 -4
- .hypothesis/constants/e971c3c831b5a383 +0 -4
- .hypothesis/tmp/tmp2flft7b7 +0 -0
- .hypothesis/tmp/tmp5hn3ef93 +0 -0
- .hypothesis/tmp/tmpdodja48c +0 -0
- .hypothesis/unicode_data/15.0.0/charmap.json.gz +0 -0
- .hypothesis/unicode_data/15.0.0/codec-utf-8.json.gz +0 -0
- data/emails.json +0 -334
- tests/sanity_check.py +0 -33
.hypothesis/constants/03f95c9381513230
DELETED
|
@@ -1,4 +0,0 @@
|
|
| 1 |
-
# file: C:\Users\aryan\Desktop\Meta_Scaler\email_triage\tasks.py
|
| 2 |
-
# hypothesis_version: 6.151.11
|
| 3 |
-
|
| 4 |
-
[0.0, 0.015, 0.02, 0.025, 0.05, 0.1, 1.0, 'categorize', 'easy', 'hard', 'medium', 'prioritize', 'reply']
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.hypothesis/constants/0b6377447afcf9ae
DELETED
|
@@ -1,4 +0,0 @@
|
|
| 1 |
-
# file: C:\Users\aryan\Desktop\Meta_Scaler\email_triage\reward.py
|
| 2 |
-
# hypothesis_version: 6.151.11
|
| 3 |
-
|
| 4 |
-
[-0.1, -0.05, 0.0, 0.015, 0.02, 0.025, 0.05, 0.1, 1.0, ', ', 'archive', 'categorize', 'correct_category', 'correct_priority', 'duplicate_penalty', 'easy', 'hard', 'medium', 'no reward components', 'prioritize', 'reply', 'reply_quality', 'urgent']
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.hypothesis/constants/6ad84fe56c3b5cab
DELETED
|
@@ -1,4 +0,0 @@
|
|
| 1 |
-
# file: C:\Users\aryan\Desktop\Meta_Scaler\email_triage\models.py
|
| 2 |
-
# hypothesis_version: 6.151.11
|
| 3 |
-
|
| 4 |
-
[0.0, 1.0, 'archive', 'categorize', 'escalate', 'prioritize', 'reply', 'skip']
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.hypothesis/constants/da39a3ee5e6b4b0d
DELETED
|
@@ -1,4 +0,0 @@
|
|
| 1 |
-
# file: C:\Users\aryan\Desktop\Meta_Scaler\email_triage\__init__.py
|
| 2 |
-
# hypothesis_version: 6.151.11
|
| 3 |
-
|
| 4 |
-
[]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.hypothesis/constants/e5e4cb03270dca71
DELETED
|
@@ -1,4 +0,0 @@
|
|
| 1 |
-
# file: C:\Users\aryan\Desktop\Meta_Scaler\email_triage\env.py
|
| 2 |
-
# hypothesis_version: 6.151.11
|
| 3 |
-
|
| 4 |
-
[0.0, 'actions_taken', 'categorize', 'category', 'current_index', 'data', 'easy', 'emails.json', 'episode_actions', 'error', 'escalate', 'escalation_reason', 'final_score', 'ground_truth', 'inbox', 'inbox_size', 'invalid action', 'max_steps', 'prioritize', 'priority', 'r', 'reply', 'reply_body', 'seed', 'step_count', 'task_name', 'unknown email id', 'utf-8']
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.hypothesis/constants/e971c3c831b5a383
DELETED
|
@@ -1,4 +0,0 @@
|
|
| 1 |
-
# file: C:\Users\aryan\Desktop\Meta_Scaler\email_triage\server.py
|
| 2 |
-
# hypothesis_version: 6.151.11
|
| 3 |
-
|
| 4 |
-
['/health', '/reset', '/state', '/step', 'OpenEnv Email Triage', 'easy', 'ok', 'status']
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.hypothesis/tmp/tmp2flft7b7
DELETED
|
Binary file (60 Bytes)
|
|
|
.hypothesis/tmp/tmp5hn3ef93
DELETED
|
Binary file (60 Bytes)
|
|
|
.hypothesis/tmp/tmpdodja48c
DELETED
|
Binary file (60 Bytes)
|
|
|
.hypothesis/unicode_data/15.0.0/charmap.json.gz
DELETED
|
Binary file (21.7 kB)
|
|
|
.hypothesis/unicode_data/15.0.0/codec-utf-8.json.gz
DELETED
|
Binary file (60 Bytes)
|
|
|
data/emails.json
DELETED
|
@@ -1,334 +0,0 @@
|
|
| 1 |
-
[
|
| 2 |
-
{
|
| 3 |
-
"id": "email-001",
|
| 4 |
-
"subject": "Q3 Budget Review Meeting - Thursday 2pm",
|
| 5 |
-
"sender": "sarah.chen@acmecorp.com",
|
| 6 |
-
"body": "Hi team,\n\nI'd like to schedule a Q3 budget review meeting for this Thursday at 2pm in Conference Room B. Please come prepared with your department's spending reports and any forecast adjustments for Q4.\n\nAgenda:\n1. Q3 actuals vs. budget\n2. Q4 forecast adjustments\n3. Headcount planning\n\nPlease confirm your attendance by EOD Wednesday.\n\nBest,\nSarah",
|
| 7 |
-
"timestamp": "2024-11-04T09:15:00Z",
|
| 8 |
-
"category": "business",
|
| 9 |
-
"priority": 3,
|
| 10 |
-
"required_keywords": ["confirmed", "attend", "budget"],
|
| 11 |
-
"labels": ["meeting", "finance", "team"]
|
| 12 |
-
},
|
| 13 |
-
{
|
| 14 |
-
"id": "email-002",
|
| 15 |
-
"subject": "Password Reset Request - Ticket #45821",
|
| 16 |
-
"sender": "helpdesk@support.acmecorp.com",
|
| 17 |
-
"body": "Hello,\n\nWe received a password reset request for your account (jdoe@acmecorp.com). To reset your password, please click the link below within the next 24 hours:\n\nhttps://support.acmecorp.com/reset?token=abc123\n\nIf you did not request this reset, please contact IT security immediately at security@acmecorp.com.\n\nIT Help Desk",
|
| 18 |
-
"timestamp": "2024-11-04T10:02:00Z",
|
| 19 |
-
"category": "support",
|
| 20 |
-
"priority": 2,
|
| 21 |
-
"required_keywords": ["reset", "confirmed", "received"],
|
| 22 |
-
"labels": ["helpdesk", "account", "ticket"]
|
| 23 |
-
},
|
| 24 |
-
{
|
| 25 |
-
"id": "email-003",
|
| 26 |
-
"subject": "🎉 You've WON a $500 Amazon Gift Card! Claim NOW",
|
| 27 |
-
"sender": "prizes@lucky-winners-2024.net",
|
| 28 |
-
"body": "CONGRATULATIONS! You have been selected as our LUCKY WINNER!\n\nYou have won a $500 Amazon Gift Card. To claim your prize, simply click the link below and enter your credit card details for shipping verification:\n\nhttp://claim-prize-now.xyz/winner\n\nOffer expires in 24 hours! Don't miss out!\n\nLucky Winners Team",
|
| 29 |
-
"timestamp": "2024-11-04T08:30:00Z",
|
| 30 |
-
"category": "spam",
|
| 31 |
-
"priority": 1,
|
| 32 |
-
"required_keywords": [],
|
| 33 |
-
"labels": ["promotional", "external"]
|
| 34 |
-
},
|
| 35 |
-
{
|
| 36 |
-
"id": "email-004",
|
| 37 |
-
"subject": "CRITICAL: Production Database Down - Immediate Action Required",
|
| 38 |
-
"sender": "alerts@monitoring.acmecorp.com",
|
| 39 |
-
"body": "ALERT: Production database cluster (db-prod-01) is DOWN.\n\nTime detected: 2024-11-04 11:45 UTC\nAffected services: Order processing, customer portal, payment gateway\nError: Connection timeout on all nodes\n\nThis is affecting ALL customers. Revenue impact estimated at $12,000/minute.\n\nImmediate action required. On-call engineer: please acknowledge and begin incident response.\n\nMonitoring System",
|
| 40 |
-
"timestamp": "2024-11-04T11:45:00Z",
|
| 41 |
-
"category": "urgent",
|
| 42 |
-
"priority": 5,
|
| 43 |
-
"required_keywords": ["acknowledged", "investigating", "incident"],
|
| 44 |
-
"labels": ["alert", "infrastructure", "outage"]
|
| 45 |
-
},
|
| 46 |
-
{
|
| 47 |
-
"id": "email-005",
|
| 48 |
-
"subject": "Project Phoenix - Weekly Status Update",
|
| 49 |
-
"sender": "mike.torres@acmecorp.com",
|
| 50 |
-
"body": "Hi all,\n\nHere's the weekly status update for Project Phoenix:\n\n✅ Completed this week:\n- API integration with payment provider (Sprint 7)\n- Load testing completed - results attached\n- UAT sign-off from Finance team\n\n🔄 In progress:\n- Final security audit (ETA: Nov 8)\n- Documentation updates\n\n⚠️ Blockers:\n- Waiting on legal review of new T&C (requested Oct 28)\n\nOn track for Nov 15 launch.\n\nMike",
|
| 51 |
-
"timestamp": "2024-11-04T14:00:00Z",
|
| 52 |
-
"category": "business",
|
| 53 |
-
"priority": 3,
|
| 54 |
-
"required_keywords": ["update", "noted", "acknowledged"],
|
| 55 |
-
"labels": ["project", "status", "weekly"]
|
| 56 |
-
},
|
| 57 |
-
{
|
| 58 |
-
"id": "email-006",
|
| 59 |
-
"subject": "How do I export my data to CSV?",
|
| 60 |
-
"sender": "alice.johnson@clientco.com",
|
| 61 |
-
"body": "Hello Support,\n\nI've been trying to export my account data to CSV format but I can't find the option anywhere in the dashboard. I've looked in Settings > Data and in the Reports section but there's no export button.\n\nI need this for a compliance audit due this Friday. Could you please help me find this feature or let me know if it's available?\n\nThank you,\nAlice Johnson\nClientCo",
|
| 62 |
-
"timestamp": "2024-11-04T13:20:00Z",
|
| 63 |
-
"category": "support",
|
| 64 |
-
"priority": 2,
|
| 65 |
-
"required_keywords": ["export", "csv", "instructions"],
|
| 66 |
-
"labels": ["helpdesk", "feature", "data"]
|
| 67 |
-
},
|
| 68 |
-
{
|
| 69 |
-
"id": "email-007",
|
| 70 |
-
"subject": "Exclusive Deal: 70% OFF All Software Licenses This Week Only!",
|
| 71 |
-
"sender": "deals@softwaredeals-promo.com",
|
| 72 |
-
"body": "Don't miss our BIGGEST SALE of the year!\n\n70% OFF all software licenses - this week only!\n\n✓ Antivirus Suite - was $99, now $29\n✓ Office Productivity Pack - was $199, now $59\n✓ Cloud Backup 1TB - was $79, now $23\n\nUse code MEGA70 at checkout.\n\nShop now: http://softwaredeals-promo.com/mega-sale\n\nUnsubscribe: http://softwaredeals-promo.com/unsub",
|
| 73 |
-
"timestamp": "2024-11-04T07:00:00Z",
|
| 74 |
-
"category": "spam",
|
| 75 |
-
"priority": 1,
|
| 76 |
-
"required_keywords": [],
|
| 77 |
-
"labels": ["promotional", "external"]
|
| 78 |
-
},
|
| 79 |
-
{
|
| 80 |
-
"id": "email-008",
|
| 81 |
-
"subject": "URGENT: Security Breach Detected - All Staff Must Act Now",
|
| 82 |
-
"sender": "security@acmecorp.com",
|
| 83 |
-
"body": "URGENT SECURITY NOTICE\n\nOur security team has detected unauthorized access to the employee VPN. Multiple accounts have been compromised.\n\nIMPEDIATE ACTIONS REQUIRED FOR ALL STAFF:\n1. Change your VPN password NOW at https://vpn.acmecorp.com/change-password\n2. Enable two-factor authentication if not already active\n3. Report any suspicious activity to security@acmecorp.com\n4. Do NOT open any unexpected email attachments until further notice\n\nThis is not a drill. Failure to act within 2 hours may result in account suspension.\n\nIT Security Team",
|
| 84 |
-
"timestamp": "2024-11-04T12:30:00Z",
|
| 85 |
-
"category": "urgent",
|
| 86 |
-
"priority": 5,
|
| 87 |
-
"required_keywords": ["acknowledged", "password", "changed", "secured"],
|
| 88 |
-
"labels": ["security", "alert", "all-staff"]
|
| 89 |
-
},
|
| 90 |
-
{
|
| 91 |
-
"id": "email-009",
|
| 92 |
-
"subject": "New Client Onboarding - Acme Corp Partnership",
|
| 93 |
-
"sender": "partnerships@acmecorp.com",
|
| 94 |
-
"body": "Hi Team,\n\nExcited to announce that GlobalTech Inc. has signed our enterprise agreement. Onboarding begins next Monday.\n\nKey contacts:\n- Technical lead: raj.patel@globaltech.com\n- Account manager: lisa.wu@globaltech.com\n\nAction items:\n- IT: provision accounts by Friday\n- Sales: send welcome package\n- Support: schedule kickoff call for Monday 10am\n\nThis is a $2M annual contract - let's make a great first impression!\n\nPartnerships Team",
|
| 95 |
-
"timestamp": "2024-11-04T15:30:00Z",
|
| 96 |
-
"category": "business",
|
| 97 |
-
"priority": 4,
|
| 98 |
-
"required_keywords": ["onboarding", "confirmed", "scheduled"],
|
| 99 |
-
"labels": ["client", "partnership", "onboarding"]
|
| 100 |
-
},
|
| 101 |
-
{
|
| 102 |
-
"id": "email-010",
|
| 103 |
-
"subject": "Login error: 'Invalid credentials' even with correct password",
|
| 104 |
-
"sender": "bob.smith@retailplus.com",
|
| 105 |
-
"body": "Hi,\n\nI'm getting an 'Invalid credentials' error when trying to log in, but I'm 100% sure my password is correct. I just reset it 10 minutes ago and I'm still getting the same error.\n\nBrowser: Chrome 119\nOS: Windows 11\nAccount: bob.smith@retailplus.com\n\nI've tried:\n- Clearing cache and cookies\n- Incognito mode\n- Different browser (Firefox)\n\nStill not working. Please help urgently as I have a client demo in 2 hours.\n\nBob",
|
| 106 |
-
"timestamp": "2024-11-04T16:00:00Z",
|
| 107 |
-
"category": "support",
|
| 108 |
-
"priority": 3,
|
| 109 |
-
"required_keywords": ["login", "resolved", "credentials", "fixed"],
|
| 110 |
-
"labels": ["helpdesk", "login", "bug"]
|
| 111 |
-
},
|
| 112 |
-
|
| 113 |
-
{
|
| 114 |
-
"id": "email-011",
|
| 115 |
-
"subject": "Re: Contract Renewal - Proposal Attached",
|
| 116 |
-
"sender": "contracts@legalteam.acmecorp.com",
|
| 117 |
-
"body": "Hi,\n\nPlease find attached the revised contract renewal proposal for FY2025. Key changes from last year:\n\n1. 8% price increase across all tiers (market adjustment)\n2. New SLA terms: 99.9% uptime guarantee (up from 99.5%)\n3. Added data residency clause for EU customers\n4. Extended payment terms: Net-45 (was Net-30)\n\nPlease review and provide feedback by November 15. Legal needs at least 2 weeks to finalize before the Dec 1 renewal deadline.\n\nBest regards,\nContracts Team",
|
| 118 |
-
"timestamp": "2024-11-05T09:00:00Z",
|
| 119 |
-
"category": "business",
|
| 120 |
-
"priority": 4,
|
| 121 |
-
"required_keywords": ["reviewed", "approved", "feedback"],
|
| 122 |
-
"labels": ["contract", "legal", "renewal"]
|
| 123 |
-
},
|
| 124 |
-
{
|
| 125 |
-
"id": "email-012",
|
| 126 |
-
"subject": "Feature Request: Dark Mode for Dashboard",
|
| 127 |
-
"sender": "priya.nair@startup.io",
|
| 128 |
-
"body": "Hello,\n\nI wanted to submit a feature request for a dark mode option in the dashboard. Many of our team members work late hours and the bright white interface causes eye strain.\n\nThis is a commonly requested feature - I found 47 upvotes on your community forum for this request (thread #2891).\n\nWould love to know if this is on your roadmap. Happy to provide more detailed UX feedback if helpful.\n\nThanks,\nPriya",
|
| 129 |
-
"timestamp": "2024-11-05T10:15:00Z",
|
| 130 |
-
"category": "support",
|
| 131 |
-
"priority": 1,
|
| 132 |
-
"required_keywords": ["roadmap", "feature", "noted"],
|
| 133 |
-
"labels": ["feature-request", "ux", "feedback"]
|
| 134 |
-
},
|
| 135 |
-
{
|
| 136 |
-
"id": "email-013",
|
| 137 |
-
"subject": "You have unclaimed rewards points expiring soon!",
|
| 138 |
-
"sender": "rewards@shopmore-loyalty.com",
|
| 139 |
-
"body": "Hi Valued Customer,\n\nYou have 2,450 rewards points expiring on November 30!\n\nDon't let them go to waste. Redeem now for:\n- $24.50 cash back\n- Free shipping on your next order\n- Exclusive member discounts\n\nClick here to redeem: http://shopmore-loyalty.com/redeem\n\nHappy Shopping!\nShopMore Rewards Team",
|
| 140 |
-
"timestamp": "2024-11-05T08:00:00Z",
|
| 141 |
-
"category": "spam",
|
| 142 |
-
"priority": 1,
|
| 143 |
-
"required_keywords": [],
|
| 144 |
-
"labels": ["promotional", "loyalty", "external"]
|
| 145 |
-
},
|
| 146 |
-
{
|
| 147 |
-
"id": "email-014",
|
| 148 |
-
"subject": "DEADLINE TODAY: Submit Q4 Compliance Reports by 5pm",
|
| 149 |
-
"sender": "compliance@acmecorp.com",
|
| 150 |
-
"body": "REMINDER - FINAL NOTICE\n\nAll department heads must submit Q4 compliance reports by 5:00 PM TODAY (November 5).\n\nThis is a regulatory requirement. Late submissions will result in:\n- Automatic escalation to the Board\n- Potential regulatory fines\n- Audit flags for your department\n\nSubmit via the compliance portal: https://compliance.acmecorp.com/q4-reports\n\nIf you have already submitted, please disregard this notice.\n\nCompliance Office",
|
| 151 |
-
"timestamp": "2024-11-05T08:45:00Z",
|
| 152 |
-
"category": "urgent",
|
| 153 |
-
"priority": 5,
|
| 154 |
-
"required_keywords": ["submitted", "compliance", "completed"],
|
| 155 |
-
"labels": ["compliance", "deadline", "regulatory"]
|
| 156 |
-
},
|
| 157 |
-
{
|
| 158 |
-
"id": "email-015",
|
| 159 |
-
"subject": "API Rate Limiting Issue - Degraded Performance",
|
| 160 |
-
"sender": "alerts@monitoring.acmecorp.com",
|
| 161 |
-
"body": "WARNING: API rate limiting triggered on production endpoints.\n\nAffected endpoints:\n- /api/v2/orders (429 errors: 340/min)\n- /api/v2/inventory (429 errors: 120/min)\n\nRoot cause: Suspected runaway batch job from client ID 8821 (MegaRetail Corp)\n\nCurrent impact: ~15% of API requests failing\nStarted: 2024-11-05 11:20 UTC\n\nRecommended action: Throttle client 8821 and investigate batch job configuration.\n\nMonitoring System",
|
| 162 |
-
"timestamp": "2024-11-05T11:25:00Z",
|
| 163 |
-
"category": "urgent",
|
| 164 |
-
"priority": 4,
|
| 165 |
-
"required_keywords": ["throttled", "investigating", "resolved"],
|
| 166 |
-
"labels": ["alert", "api", "performance"]
|
| 167 |
-
},
|
| 168 |
-
{
|
| 169 |
-
"id": "email-016",
|
| 170 |
-
"subject": "Quarterly Business Review - Slides Draft",
|
| 171 |
-
"sender": "emma.wilson@acmecorp.com",
|
| 172 |
-
"body": "Hi,\n\nAttached is the draft QBR presentation for next week's board meeting. I've incorporated the Q3 metrics and the new product roadmap slides.\n\nCould you review slides 12-18 (financial projections) and let me know if the numbers align with what Finance shared last week? I want to make sure we're consistent before the CEO reviews it on Friday.\n\nAlso, do we have the updated NPS scores from Customer Success? I left a placeholder on slide 22.\n\nThanks,\nEmma",
|
| 173 |
-
"timestamp": "2024-11-05T14:00:00Z",
|
| 174 |
-
"category": "business",
|
| 175 |
-
"priority": 3,
|
| 176 |
-
"required_keywords": ["reviewed", "confirmed", "numbers"],
|
| 177 |
-
"labels": ["presentation", "board", "review"]
|
| 178 |
-
},
|
| 179 |
-
{
|
| 180 |
-
"id": "email-017",
|
| 181 |
-
"subject": "Billing discrepancy on invoice #INV-2024-0892",
|
| 182 |
-
"sender": "finance@clientco.com",
|
| 183 |
-
"body": "Hello,\n\nWe've identified a discrepancy on invoice #INV-2024-0892 dated October 31, 2024.\n\nInvoiced amount: $8,450.00\nExpected amount: $7,200.00\nDifference: $1,250.00\n\nThe extra charge appears to be for 'Premium Support Add-on' which we did not authorize or request. Please review and issue a corrected invoice or credit note at your earliest convenience.\n\nOur payment terms are Net-30, so this needs resolution before November 30.\n\nRegards,\nFinance Team, ClientCo",
|
| 184 |
-
"timestamp": "2024-11-05T15:30:00Z",
|
| 185 |
-
"category": "support",
|
| 186 |
-
"priority": 3,
|
| 187 |
-
"required_keywords": ["invoice", "corrected", "credit", "resolved"],
|
| 188 |
-
"labels": ["billing", "finance", "dispute"]
|
| 189 |
-
},
|
| 190 |
-
{
|
| 191 |
-
"id": "email-018",
|
| 192 |
-
"subject": "Congratulations! Your LinkedIn profile appeared in 47 searches",
|
| 193 |
-
"sender": "notifications@linkedin-updates.net",
|
| 194 |
-
"body": "Hi there,\n\nYour LinkedIn profile appeared in 47 searches this week!\n\nSee who's looking at your profile and unlock premium insights:\n→ View all 47 searchers\n→ See full profile viewers\n→ Get InMail credits\n\nUpgrade to Premium for just $39.99/month.\n\nClick here: http://linkedin-updates.net/premium-offer\n\n(This is not an official LinkedIn communication)",
|
| 195 |
-
"timestamp": "2024-11-05T07:30:00Z",
|
| 196 |
-
"category": "spam",
|
| 197 |
-
"priority": 1,
|
| 198 |
-
"required_keywords": [],
|
| 199 |
-
"labels": ["promotional", "phishing", "external"]
|
| 200 |
-
},
|
| 201 |
-
{
|
| 202 |
-
"id": "email-019",
|
| 203 |
-
"subject": "Server Certificate Expiring in 48 Hours - Action Required",
|
| 204 |
-
"sender": "security@acmecorp.com",
|
| 205 |
-
"body": "CERTIFICATE EXPIRY WARNING\n\nThe SSL/TLS certificate for api.acmecorp.com will expire in 48 hours.\n\nCertificate details:\n- Domain: api.acmecorp.com\n- Expiry: 2024-11-07 14:23:00 UTC\n- Issuer: DigiCert\n\nIf not renewed, ALL API clients will receive certificate errors and connections will fail. This will cause a complete service outage.\n\nAction required: DevOps team must renew certificate immediately via the cert management portal.\n\nSecurity Team",
|
| 206 |
-
"timestamp": "2024-11-05T14:23:00Z",
|
| 207 |
-
"category": "urgent",
|
| 208 |
-
"priority": 5,
|
| 209 |
-
"required_keywords": ["renewed", "certificate", "resolved", "updated"],
|
| 210 |
-
"labels": ["security", "certificate", "devops"]
|
| 211 |
-
},
|
| 212 |
-
{
|
| 213 |
-
"id": "email-020",
|
| 214 |
-
"subject": "Can't upload files larger than 10MB",
|
| 215 |
-
"sender": "tom.baker@mediahouse.com",
|
| 216 |
-
"body": "Hi Support,\n\nWe're having trouble uploading video files to the platform. Any file over 10MB fails with the error: 'Upload failed: file size exceeds limit'.\n\nHowever, according to your pricing page, our Business plan supports files up to 500MB. We're on the Business plan (account #BH-4421).\n\nThis is blocking our entire video production workflow. We have 3 client deliverables due this week.\n\nPlease advise.\n\nTom Baker\nMedia House",
|
| 217 |
-
"timestamp": "2024-11-05T16:45:00Z",
|
| 218 |
-
"category": "support",
|
| 219 |
-
"priority": 3,
|
| 220 |
-
"required_keywords": ["upload", "limit", "fixed", "resolved"],
|
| 221 |
-
"labels": ["helpdesk", "bug", "upload"]
|
| 222 |
-
},
|
| 223 |
-
|
| 224 |
-
{
|
| 225 |
-
"id": "email-021",
|
| 226 |
-
"subject": "Re: Partnership Proposal - Follow-up from Last Week's Call",
|
| 227 |
-
"sender": "david.kim@techventures.com",
|
| 228 |
-
"body": "Hi,\n\nFollowing up on our call last Thursday regarding the co-marketing partnership proposal.\n\nAs discussed, we're proposing:\n- Joint webinar series (4 sessions, Q1 2025)\n- Co-branded case study featuring our mutual client, RetailMax\n- Cross-promotional newsletter features (50k combined subscribers)\n\nWe'd need a decision by November 20 to hit the Q1 timeline. I've attached the full proposal deck and draft MOU for your review.\n\nLooking forward to moving this forward.\n\nDavid Kim\nTechVentures",
|
| 229 |
-
"timestamp": "2024-11-06T09:30:00Z",
|
| 230 |
-
"category": "business",
|
| 231 |
-
"priority": 3,
|
| 232 |
-
"required_keywords": ["proposal", "reviewed", "decision", "partnership"],
|
| 233 |
-
"labels": ["partnership", "marketing", "proposal"]
|
| 234 |
-
},
|
| 235 |
-
{
|
| 236 |
-
"id": "email-022",
|
| 237 |
-
"subject": "2FA not working - locked out of account",
|
| 238 |
-
"sender": "chen.wei@enterprise-client.com",
|
| 239 |
-
"body": "Hello,\n\nI'm completely locked out of my account. My two-factor authentication app was on my old phone which I no longer have access to. I've tried the backup codes but they're not working either.\n\nI need access urgently - I'm the primary admin for our company account (enterprise-client.com, 250 users) and I need to approve a critical security policy change before our audit tomorrow morning.\n\nAccount email: chen.wei@enterprise-client.com\nCompany: Enterprise Client Corp\nAccount tier: Enterprise\n\nPlease help ASAP.\n\nChen Wei",
|
| 240 |
-
"timestamp": "2024-11-06T10:00:00Z",
|
| 241 |
-
"category": "support",
|
| 242 |
-
"priority": 3,
|
| 243 |
-
"required_keywords": ["access", "restored", "verified", "unlocked"],
|
| 244 |
-
"labels": ["helpdesk", "account", "2fa", "locked"]
|
| 245 |
-
},
|
| 246 |
-
{
|
| 247 |
-
"id": "email-023",
|
| 248 |
-
"subject": "Your account has been suspended - Verify identity to restore",
|
| 249 |
-
"sender": "security-noreply@acmecorp-verify.net",
|
| 250 |
-
"body": "Dear Customer,\n\nYour account has been temporarily suspended due to suspicious activity.\n\nTo restore your account, you must verify your identity within 24 hours:\n\n1. Click here: http://acmecorp-verify.net/restore\n2. Enter your username and password\n3. Provide your credit card for identity verification\n\nFailure to verify will result in permanent account deletion.\n\nAcmeCorp Security Team\n\n(Note: This email was sent from acmecorp-verify.net, not acmecorp.com)",
|
| 251 |
-
"timestamp": "2024-11-06T08:00:00Z",
|
| 252 |
-
"category": "spam",
|
| 253 |
-
"priority": 1,
|
| 254 |
-
"required_keywords": [],
|
| 255 |
-
"labels": ["phishing", "external", "suspicious"]
|
| 256 |
-
},
|
| 257 |
-
{
|
| 258 |
-
"id": "email-024",
|
| 259 |
-
"subject": "CRITICAL: Payment Processing Down - Customers Cannot Checkout",
|
| 260 |
-
"sender": "alerts@monitoring.acmecorp.com",
|
| 261 |
-
"body": "CRITICAL ALERT: Payment processing service is DOWN.\n\nTime: 2024-11-06 11:00 UTC\nAffected: Stripe integration, PayPal gateway, all checkout flows\nError: Payment service returning 503 on all endpoints\nImpact: 100% of checkout attempts failing\n\nRevenue impact: ~$8,500/minute based on current traffic\nCustomers affected: ~2,300 active sessions\n\nThis requires IMMEDIATE escalation to the payments team and Stripe support.\n\nOn-call: Please acknowledge within 5 minutes.\n\nMonitoring System",
|
| 262 |
-
"timestamp": "2024-11-06T11:00:00Z",
|
| 263 |
-
"category": "urgent",
|
| 264 |
-
"priority": 5,
|
| 265 |
-
"required_keywords": ["acknowledged", "escalated", "investigating", "payments"],
|
| 266 |
-
"labels": ["alert", "payments", "outage", "critical"]
|
| 267 |
-
},
|
| 268 |
-
{
|
| 269 |
-
"id": "email-025",
|
| 270 |
-
"subject": "Vendor Invoice Approval - $45,000 AWS Infrastructure",
|
| 271 |
-
"sender": "procurement@acmecorp.com",
|
| 272 |
-
"body": "Hi,\n\nPlease review and approve the attached AWS infrastructure invoice for Q4:\n\nVendor: Amazon Web Services\nInvoice #: AWS-2024-Q4-0091\nAmount: $45,000.00\nPeriod: October 2024\nBudget line: IT Infrastructure (approved budget: $50,000/month)\n\nThis is within the approved budget. Standard approval required before the Nov 10 payment deadline.\n\nPlease approve in the procurement portal or reply with approval.\n\nProcurement Team",
|
| 273 |
-
"timestamp": "2024-11-06T13:00:00Z",
|
| 274 |
-
"category": "business",
|
| 275 |
-
"priority": 2,
|
| 276 |
-
"required_keywords": ["approved", "invoice", "confirmed"],
|
| 277 |
-
"labels": ["procurement", "finance", "approval"]
|
| 278 |
-
},
|
| 279 |
-
{
|
| 280 |
-
"id": "email-026",
|
| 281 |
-
"subject": "Integration broken after your latest update",
|
| 282 |
-
"sender": "dev@partnerapp.io",
|
| 283 |
-
"body": "Hi,\n\nYour API update deployed on November 5 broke our integration. Specifically:\n\n- The /api/v2/webhooks endpoint now returns 404\n- The authentication header format changed without notice (we're getting 401s)\n- The response schema for /api/v2/events changed (missing 'metadata' field)\n\nWe have 12,000 active users affected. This is causing data sync failures across all our customers.\n\nWe need:\n1. Immediate rollback OR hotfix\n2. Migration guide for the new auth format\n3. Updated API documentation\n\nThis is blocking our entire platform.\n\nDev Team, PartnerApp",
|
| 284 |
-
"timestamp": "2024-11-06T14:30:00Z",
|
| 285 |
-
"category": "support",
|
| 286 |
-
"priority": 3,
|
| 287 |
-
"required_keywords": ["fix", "documentation", "migration", "resolved"],
|
| 288 |
-
"labels": ["api", "integration", "bug", "partner"]
|
| 289 |
-
},
|
| 290 |
-
{
|
| 291 |
-
"id": "email-027",
|
| 292 |
-
"subject": "Make $5,000/week from home - No experience needed!",
|
| 293 |
-
"sender": "opportunities@work-from-home-profits.biz",
|
| 294 |
-
"body": "Hi Friend,\n\nAre you tired of your 9-to-5? Want to earn $5,000 or more per week from the comfort of your home?\n\nOur proven system has helped thousands of people achieve financial freedom!\n\n✓ No experience required\n✓ Work just 2-3 hours per day\n✓ Start earning within 48 hours\n✓ 100% legitimate (we promise!)\n\nJoin now for just $97: http://work-from-home-profits.biz/join\n\nLimited spots available!\n\nYour Financial Freedom Team",
|
| 295 |
-
"timestamp": "2024-11-06T07:00:00Z",
|
| 296 |
-
"category": "spam",
|
| 297 |
-
"priority": 1,
|
| 298 |
-
"required_keywords": [],
|
| 299 |
-
"labels": ["scam", "promotional", "external"]
|
| 300 |
-
},
|
| 301 |
-
{
|
| 302 |
-
"id": "email-028",
|
| 303 |
-
"subject": "Disk Space Critical: /var/log at 98% - Immediate Cleanup Required",
|
| 304 |
-
"sender": "alerts@monitoring.acmecorp.com",
|
| 305 |
-
"body": "CRITICAL DISK ALERT\n\nServer: prod-app-03\nMount: /var/log\nUsage: 98% (49.2GB / 50GB)\nStatus: CRITICAL\n\nAt current log generation rate, disk will be full in approximately 2 hours. When full:\n- Application will crash (cannot write logs)\n- Database writes may fail\n- Service will become unavailable\n\nImmediate action required:\n1. Archive and compress old logs\n2. Increase disk allocation OR\n3. Configure log rotation\n\nSysAdmin on-call: please respond immediately.\n\nMonitoring System",
|
| 306 |
-
"timestamp": "2024-11-06T15:00:00Z",
|
| 307 |
-
"category": "urgent",
|
| 308 |
-
"priority": 4,
|
| 309 |
-
"required_keywords": ["acknowledged", "cleanup", "resolved", "disk"],
|
| 310 |
-
"labels": ["alert", "infrastructure", "disk", "server"]
|
| 311 |
-
},
|
| 312 |
-
{
|
| 313 |
-
"id": "email-029",
|
| 314 |
-
"subject": "Annual Performance Review Schedule - Manager Action Required",
|
| 315 |
-
"sender": "hr@acmecorp.com",
|
| 316 |
-
"body": "Dear Managers,\n\nThe annual performance review cycle begins November 18. Please complete the following by the deadlines listed:\n\n1. Self-assessment forms sent to your direct reports: Nov 11\n2. Complete peer review nominations in HR portal: Nov 13\n3. Submit your manager assessments: Nov 25\n4. Schedule 1:1 review meetings with each report: Nov 18 - Dec 6\n\nAll reviews must be completed before the Dec 8 calibration sessions.\n\nPlease log into the HR portal to begin: https://hr.acmecorp.com/reviews\n\nHR Team",
|
| 317 |
-
"timestamp": "2024-11-06T09:00:00Z",
|
| 318 |
-
"category": "business",
|
| 319 |
-
"priority": 2,
|
| 320 |
-
"required_keywords": ["scheduled", "completed", "reviews"],
|
| 321 |
-
"labels": ["hr", "performance", "management"]
|
| 322 |
-
},
|
| 323 |
-
{
|
| 324 |
-
"id": "email-030",
|
| 325 |
-
"subject": "Claim Your FREE iPhone 16 Pro - Survey Complete!",
|
| 326 |
-
"sender": "rewards@survey-winners-hub.com",
|
| 327 |
-
"body": "Dear Participant,\n\nThank you for completing our online survey! As promised, you have been selected to receive a FREE iPhone 16 Pro.\n\nTo claim your prize:\n1. Click the link below within 48 hours\n2. Pay only $4.99 shipping and handling\n3. Enter your credit card details\n\nClaim here: http://survey-winners-hub.com/claim-iphone\n\nThis offer is exclusively for survey participants. Don't miss out!\n\nSurvey Rewards Team",
|
| 328 |
-
"timestamp": "2024-11-06T16:00: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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
tests/sanity_check.py
DELETED
|
@@ -1,33 +0,0 @@
|
|
| 1 |
-
from netzero_nav.env import AtlasEcoEnv
|
| 2 |
-
from netzero_nav.models import Action, ActionType, PartType, TransportMode
|
| 3 |
-
|
| 4 |
-
def test_env():
|
| 5 |
-
env = AtlasEcoEnv(task="easy")
|
| 6 |
-
obs = env.reset()
|
| 7 |
-
assert obs.step == 0
|
| 8 |
-
assert obs.cash_balance == 10000.0
|
| 9 |
-
|
| 10 |
-
# Test ordering
|
| 11 |
-
action = Action(
|
| 12 |
-
action_type=ActionType.ORDER_PARTS,
|
| 13 |
-
part_type=PartType.CHIPS,
|
| 14 |
-
quantity=10,
|
| 15 |
-
mode=TransportMode.SEA
|
| 16 |
-
)
|
| 17 |
-
obs, reward, done, info = env.step(action)
|
| 18 |
-
assert len(obs.active_shipments) == 1
|
| 19 |
-
assert obs.cash_balance < 10000.0
|
| 20 |
-
|
| 21 |
-
# Test reward range
|
| 22 |
-
from netzero_nav.tasks import EasyGrader
|
| 23 |
-
final_state = {
|
| 24 |
-
"carbon_total": 500.0,
|
| 25 |
-
"carbon_quota": 1000.0,
|
| 26 |
-
"pending_orders": []
|
| 27 |
-
}
|
| 28 |
-
score = EasyGrader().score(final_state)
|
| 29 |
-
assert 0.01 <= score <= 0.99
|
| 30 |
-
print(f"Test Passed. Final score sample: {score}")
|
| 31 |
-
|
| 32 |
-
if __name__ == "__main__":
|
| 33 |
-
test_env()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|