CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/npm-xmlhttprequest

tessl install tessl/npm-xmlhttprequest@1.8.0

XMLHttpRequest for Node.js that emulates the browser XMLHttpRequest object

Agent Success

Agent success rate when using this tile

75%

Improvement

Agent success rate improvement when using this tile compared to baseline

1.15x

Baseline

Agent success rate without this tile

65%

rubric.jsonevals/scenario-1/

{
  "context": "Assesses whether the solution uses the xmlhttprequest package to perform blocking HTTP calls for configuration bootstrap, including header handling and sequential synchronous execution without async fallbacks.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Imports client",
      "description": "Constructs requests using the package's XMLHttpRequest constructor from require('xmlhttprequest').XMLHttpRequest rather than alternative HTTP clients.",
      "max_score": 15
    },
    {
      "name": "Synchronous open",
      "description": "Invokes open with the third parameter set to false (or omitted in a way that defaults to false) to force the library's synchronous child-process backed request mode for each call.",
      "max_score": 30
    },
    {
      "name": "Header usage",
      "description": "Applies provided headers via setRequestHeader before send, relying on the package's header management rather than manual socket handling or ignored headers.",
      "max_score": 20
    },
    {
      "name": "Response reading",
      "description": "Reads status and responseText immediately after send completes (readyState DONE) to populate returned status/body or parsed data, instead of asynchronous event callbacks or other data sources.",
      "max_score": 20
    },
    {
      "name": "Ordered sync loop",
      "description": "Performs multiple calls by repeating the synchronous open/send flow sequentially (no Promises, callbacks, or async/await), ensuring later requests start only after the previous xmlhttprequest has finished.",
      "max_score": 15
    }
  ]
}

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
npmpkg:npm/xmlhttprequest@1.8.x
tile.json