cleeistaken / hcibenchapi Goto Github PK
View Code? Open in Web Editor NEWHCIBench Python 3 API example
HCIBench Python 3 API example
return data and isinstance(data, dict) and data['status'] == '200'
(when called from your 13.1 example - check to see if test is done)
fails when I run it.
The first two conditionals are true, but the third fails with an error
return data['status'] == '200'
KeyError: 'status'
I separated out the code a little and printed the returned data, it looks like this:
{'data': '200'}
Which is weird, because during other calls to it, the following is produced
{'status': '200'}
I'm not sure if this is a transitional issue (the VMs aren't up and running yet when
this is called the first time). Or perhaps the API is returning the wrong thing on purpose?
Not sure, but I put a temp hack in to work around it. Just wanted to file the bug here.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.