<commit_before>package atlas

import (
	"io/ioutil"
)

// FetchResult downloads result for a given measurement
func (c *Client) FetchResult(url string) (string, error) {
	opts := make(map[string]string)

	c.mergeGlobalOptions(opts)
	req := c.prepareRequest("FETCH", url, opts)

	//log.Printf("req: %#v", req)
	resp, err := c.call(req)
	err = c.handleAPIResponsese(resp)<commit_msg>Don't want the key for public results.<commit_after>package atlas

import (
	"io/ioutil"
)

// FetchResult downloads result for a given measurement
func (c *Client) FetchResult(url string) (string, error) {
	opts := make(map[string]string)

	c.mergeGlobalOptions(opts)

	// Remove our key for fetching the results
	delete(opts, "key")

	req := c.prepareRequest("FETCH", url, opts)

	//log.Printf("req: %#v", req)
	resp, err := c.call(req)
	err = c.handleAPIResponsese(resp)
{'fraction_non_alphanumeric': 0.14637002341920374, 'fraction_numerical': 0.0, 'mean_word_length': 4.8561643835616435, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6661478', 'n_tokens_mistral': 313, 'n_tokens_neox': 302, 'n_words': 80}