amirmv2006 / sortable-assignment

0 stars 0 forks source link

Problem with output format #1

Open overthink opened 8 years ago

overthink commented 8 years ago

Hi Amir,

I was trying to evaluate your solution but there is a problem with the output format. Please make sure each line in the output file is a Result object as described on http://sortable.com/challenge/, i.e.

{
  "product_name": String
  "listings": Array[Listing]
}

An example line in the output file should look like:

{"listings": [{"currency": "USD", "price": "189.00", "manufacturer": "CASIO", "title": "Casio EX-FC150 10.1MP High Speed Digital Camera with 5x Zoom with CMOS Shift Image Stabilization and 2.7 inch LCD (Red)"}, {"currency": "USD", "price": "189.00", "manufacturer": "CASIO", "title": "Casio Exilim EX-FC150 10.1MP High Speed Digital Camera with 5x Optical Zoom, CMOS Shift Image Stabilization & 2.7-inch LCD (Red)"}, {"currency": "USD", "price": "249.00", "manufacturer": "CASIO", "title": "Casio EX-FC150 10.1MP High Speed Digital Camera with 5x Zoom with CMOS Shift Image Stabilization and 2.7 inch LCD (Black)"}], "product_name": "Casio_Exilim_EX-FC150"}

Note: You can validate the format of your output with the following service:

curl -XPOST -F file=@/path/to/your/results.txt https://challenge-check.sortable.com/validate

If you are able to fix this up I'd be happy to take another look at your submission.

Thanks!

Mark (from sortable.com)

overthink commented 8 years ago

Hi Amir. Just checking in to see whether you are planning to address this. I also emailed you and haven't heard back. Thanks.