<commit_before>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Proggr.Controllers
{
    public class ErrorsController : ControllerBase
    {
        public ActionResult Index()
        {
            return View();
        }

        public ActionResult NotFound()
        {
            Response.StatusCode = 404;
            return View();
        }

        public ActionResult MustBeLoggedIn()
        {
            return View();
        }

        public ActionResult AuthError()
        {
            return View();
        }
    }
}
<commit_msg>add http error codes to error actions<commit_after>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Proggr.Controllers
{
    public class ErrorsController : ControllerBase
    {
        public ActionResult Index()
        {
            Response.StatusCode = 412;
            return View();
        }

        public ActionResult NotFound()
        {
            Response.StatusCode = 404;
            return View();
        }

        public ActionResult MustBeLoggedIn()
        {
            Response.StatusCode = 401;
            return View();
        }

        public ActionResult AuthError()
        {
            Response.StatusCode = 401;
            return View();
        }
    }
}

{'fraction_non_alphanumeric': 0.0815884476534296, 'fraction_numerical': 0.010830324909747292, 'mean_word_length': 1.670520231213873, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4812406', 'n_tokens_mistral': 364, 'n_tokens_neox': 353, 'n_words': 88}