rubyforgood/human-essentials
Languages
Human Essentials is an inventory management system for diaper, incontinence, and period-supply banks. It supports them in distributing to partners, tracking inventory, and reporting stats and analytics.
Harness | Input / Output Cost | ||||||
|---|---|---|---|---|---|---|---|
1 | 8 / 30 | $0.03 | $0.44/$1.32 | 4m08s |
Key Takeaways
- This 30-task result provides a directional benchmark outcome for Deepseek V4 Flash 0731 with Mini-SWE-agent.
- Average latency was 247.59 seconds per test, with a cost of $0.03 per test.
Cost Analysis
Average Token Use / Test
Cost is the clearest tradeoff in this comparison. DeepSeek V4 Flash 0731 leads at 26.67% for $0.03 per test. No other model in this comparison is cheaper.
Latency Analysis
Average Response Time / Test
DeepSeek V4 Flash 0731 is both the most accurate and fastest model in this comparison at 26.67% and 4m 8s.
Tasks with failures
| Models | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| DeepSeek V4 Flash 0731 |
Task detail
aecd7fcIssue statement
Product drive detail pages need a CSV representation so staff can export participant donations. A signed-in user requesting a product drive as CSV should receive a CSV download named for the drive and current date. It must contain the columns Donation Id, Product Drive Participant, Storage Location, Quantity, and In Kind Value, and include only donations associated with the requested product drive.
View Hidden Tests
diff --git a/spec/requests/hidden_product_drive_csv_spec.rb b/spec/requests/hidden_product_drive_csv_spec.rbnew file mode 100644--- /dev/null+++ b/spec/requests/hidden_product_drive_csv_spec.rb@@ -0,0 +1,31 @@+require "spec_helper"+require "csv"++RSpec.describe "Product drive participant CSV export", type: :request do+ let(:organization) { create(:organization) }+ let(:user) { create(:user, organization: organization) }+ before { sign_in(user) }++ it "returns the requested drive donations as CSV" do+ drive = create(:product_drive, organization: organization, name: "Winter Drive")+ participant = create(:product_drive_participant, organization: organization, business_name: "Included Partner")+ other = create(:product_drive_participant, organization: organization, business_name: "Excluded Partner")+ donation = create(:donation, organization: organization, product_drive: drive, product_drive_participant: participant)+ create(:donation, organization: organization, product_drive: create(:product_drive, organization: organization), product_drive_participant: other)++ get product_drive_path(drive, format: :csv)++ expect(response).to be_successful+ expect(response.media_type).to eq("text/csv")+ rows = CSV.parse(response.body)+ expect(rows.first).to eq(["Donation Id", "Product Drive Participant", "Storage Location", "Quantity", "In Kind Value"])+ expect(rows.flatten).to include(donation.id.to_s, "Included Partner")+ expect(response.body).not_to include("Excluded Partner")+ end++ it "uses a descriptive download filename" do+ drive = create(:product_drive, organization: organization, name: "School Drive")+ get product_drive_path(drive, format: :csv)+ expect(response.headers.fetch("Content-Disposition")).to include("Product-Drive-Participants-School Drive-#{Time.zone.today}.csv")+ end+end